From b2cb20634e3bb1f1012452d8eb214feee6ff8250 Mon Sep 17 00:00:00 2001 From: Sercan Yemen <117369+srcn@users.noreply.github.com> Date: Thu, 4 May 2023 11:37:40 +0300 Subject: [PATCH] First pass through updating standalone components. --- package-lock.json | 3606 +++++++++++------ package.json | 71 +- src/@fuse/animations/expand-collapse.ts | 16 +- src/@fuse/animations/fade.ts | 180 +- src/@fuse/animations/public-api.ts | 2 +- src/@fuse/animations/shake.ts | 38 +- src/@fuse/animations/slide.ts | 144 +- src/@fuse/animations/zoom.ts | 36 +- src/@fuse/components/alert/alert.component.ts | 27 +- src/@fuse/components/alert/alert.module.ts | 22 - src/@fuse/components/alert/alert.service.ts | 2 +- src/@fuse/components/alert/public-api.ts | 1 - src/@fuse/components/card/card.component.ts | 9 +- src/@fuse/components/card/card.module.ts | 18 - src/@fuse/components/card/public-api.ts | 1 - .../components/drawer/drawer.component.ts | 30 +- src/@fuse/components/drawer/drawer.module.ts | 18 - src/@fuse/components/drawer/drawer.service.ts | 2 +- src/@fuse/components/drawer/public-api.ts | 1 - .../fullscreen/fullscreen.component.ts | 9 +- .../fullscreen/fullscreen.module.ts | 24 - src/@fuse/components/fullscreen/public-api.ts | 1 - .../highlight/highlight.component.ts | 9 +- .../components/highlight/highlight.module.ts | 18 - .../components/highlight/highlight.service.ts | 25 +- src/@fuse/components/highlight/public-api.ts | 1 - .../loading-bar/loading-bar.component.ts | 19 +- .../loading-bar/loading-bar.module.ts | 20 - .../components/loading-bar/public-api.ts | 1 - .../components/masonry/masonry.component.ts | 5 +- .../components/masonry/masonry.module.ts | 18 - src/@fuse/components/masonry/public-api.ts | 1 - .../components/basic/basic.component.ts | 19 +- .../components/branch/branch.component.ts | 22 +- .../components/divider/divider.component.ts | 14 +- .../components/spacer/spacer.component.ts | 14 +- .../horizontal/horizontal.component.ts | 14 +- .../navigation/navigation.module.ts | 55 - .../navigation/navigation.service.ts | 4 +- src/@fuse/components/navigation/public-api.ts | 1 - .../components/aside/aside.component.ts | 32 +- .../components/basic/basic.component.ts | 20 +- .../collapsable/collapsable.component.ts | 39 +- .../components/divider/divider.component.ts | 16 +- .../components/group/group.component.ts | 23 +- .../components/spacer/spacer.component.ts | 16 +- .../navigation/vertical/vertical.component.ts | 80 +- .../directives/scroll-reset/public-api.ts | 1 - .../scroll-reset/scroll-reset.directive.ts | 12 +- .../scroll-reset/scroll-reset.module.ts | 14 - src/@fuse/directives/scrollbar/public-api.ts | 1 - .../scrollbar/scrollbar.directive.ts | 35 +- .../directives/scrollbar/scrollbar.module.ts | 14 - src/@fuse/fuse.module.ts | 14 +- .../lib/mock-api/mock-api.interceptor.ts | 25 +- src/@fuse/lib/mock-api/mock-api.module.ts | 16 +- .../lib/mock-api/mock-api.request-handler.ts | 6 +- src/@fuse/lib/mock-api/mock-api.service.ts | 13 +- src/@fuse/lib/mock-api/mock-api.utils.ts | 3 +- .../pipes/find-by-key/find-by-key.module.ts | 14 - .../pipes/find-by-key/find-by-key.pipe.ts | 5 +- src/@fuse/services/config/config.module.ts | 8 +- src/@fuse/services/config/config.service.ts | 6 +- .../confirmation/confirmation.module.ts | 16 +- .../confirmation/confirmation.service.ts | 18 +- .../confirmation/dialog/dialog.component.ts | 11 +- .../services/loading/loading.interceptor.ts | 12 +- src/@fuse/services/loading/loading.module.ts | 8 +- src/@fuse/services/loading/loading.service.ts | 4 +- .../media-watcher/media-watcher.module.ts | 4 +- .../media-watcher/media-watcher.service.ts | 17 +- .../services/platform/platform.module.ts | 4 +- .../services/platform/platform.service.ts | 4 +- .../splash-screen/splash-screen.module.ts | 4 +- .../splash-screen/splash-screen.service.ts | 9 +- src/@fuse/services/utils/utils.module.ts | 4 +- src/@fuse/services/utils/utils.service.ts | 6 +- src/@fuse/styles/user-themes.scss | 2 +- src/@fuse/tailwind/plugins/icon-size.js | 18 +- src/@fuse/tailwind/plugins/theming.js | 68 +- src/@fuse/tailwind/plugins/utilities.js | 34 +- .../tailwind/utils/generate-contrasts.js | 2 +- src/@fuse/tailwind/utils/generate-palette.js | 14 +- src/@fuse/tailwind/utils/json-to-sass-map.js | 4 +- src/@fuse/validators/validators.ts | 3 +- src/app/app.component.ts | 5 +- src/app/app.module.ts | 46 - src/app/app.resolvers.ts | 10 +- src/app/app.routing.ts | 2 +- src/app/core/auth/auth.interceptor.ts | 11 +- src/app/core/auth/auth.module.ts | 12 +- src/app/core/auth/auth.service.ts | 20 +- src/app/core/auth/auth.utils.ts | 6 +- src/app/core/auth/guards/auth.guard.ts | 10 +- src/app/core/auth/guards/noAuth.guard.ts | 10 +- src/app/core/config/app.config.ts | 18 +- src/app/core/core.module.ts | 6 +- src/app/core/icons/icons.module.ts | 4 +- src/app/core/navigation/navigation.service.ts | 11 +- .../core/transloco/transloco.http-loader.ts | 6 +- src/app/core/transloco/transloco.module.ts | 25 +- src/app/core/user/user.service.ts | 16 +- .../common/languages/languages.component.ts | 24 +- .../common/languages/languages.module.ts | 24 - .../common/messages/messages.component.ts | 82 +- .../layout/common/messages/messages.module.ts | 30 - .../common/messages/messages.service.ts | 44 +- .../notifications/notifications.component.ts | 82 +- .../notifications/notifications.module.ts | 30 - .../notifications/notifications.service.ts | 44 +- .../common/quick-chat/quick-chat.component.ts | 46 +- .../common/quick-chat/quick-chat.module.ts | 32 - .../common/quick-chat/quick-chat.service.ts | 19 +- .../layout/common/search/search.component.ts | 37 +- src/app/layout/common/search/search.module.ts | 25 +- .../common/settings/settings.component.ts | 25 +- .../layout/common/settings/settings.module.ts | 28 - .../common/shortcuts/shortcuts.component.ts | 89 +- .../common/shortcuts/shortcuts.module.ts | 38 - .../common/shortcuts/shortcuts.service.ts | 34 +- src/app/layout/common/user/user.component.ts | 24 +- src/app/layout/common/user/user.module.ts | 26 - src/app/layout/layout.component.ts | 50 +- src/app/layout/layout.module.ts | 28 +- .../layout/layouts/empty/empty.component.ts | 7 +- src/app/layout/layouts/empty/empty.module.ts | 22 - .../horizontal/centered/centered.component.ts | 31 +- .../horizontal/centered/centered.module.ts | 36 +- .../enterprise/enterprise.component.ts | 32 +- .../enterprise/enterprise.module.ts | 38 +- .../horizontal/material/material.component.ts | 31 +- .../horizontal/material/material.module.ts | 36 +- .../horizontal/modern/modern.component.ts | 32 +- .../horizontal/modern/modern.module.ts | 38 +- .../vertical/classic/classic.component.ts | 32 +- .../vertical/classic/classic.module.ts | 38 +- .../vertical/classy/classy.component.ts | 37 +- .../layouts/vertical/classy/classy.module.ts | 38 +- .../vertical/compact/compact.component.ts | 32 +- .../vertical/compact/compact.module.ts | 38 +- .../layouts/vertical/dense/dense.component.ts | 32 +- .../layouts/vertical/dense/dense.module.ts | 38 +- .../futuristic/futuristic.component.ts | 37 +- .../vertical/futuristic/futuristic.module.ts | 38 +- .../layouts/vertical/thin/thin.component.ts | 32 +- .../layouts/vertical/thin/thin.module.ts | 38 +- src/app/mock-api/apps/academy/api.ts | 15 +- src/app/mock-api/apps/academy/data.ts | 108 +- src/app/mock-api/apps/chat/api.ts | 29 +- src/app/mock-api/apps/chat/data.ts | 1379 ++++--- src/app/mock-api/apps/contacts/api.ts | 72 +- src/app/mock-api/apps/contacts/data.ts | 1702 ++++---- .../mock-api/apps/ecommerce/inventory/api.ts | 56 +- .../mock-api/apps/ecommerce/inventory/data.ts | 190 +- src/app/mock-api/apps/file-manager/api.ts | 11 +- src/app/mock-api/apps/file-manager/data.ts | 44 +- src/app/mock-api/apps/help-center/api.ts | 37 +- src/app/mock-api/apps/help-center/data.ts | 140 +- src/app/mock-api/apps/mailbox/api.ts | 71 +- src/app/mock-api/apps/mailbox/data.ts | 838 ++-- src/app/mock-api/apps/notes/api.ts | 72 +- src/app/mock-api/apps/notes/data.ts | 204 +- src/app/mock-api/apps/scrumboard/api.ts | 107 +- src/app/mock-api/apps/scrumboard/data.ts | 124 +- src/app/mock-api/apps/tasks/api.ts | 80 +- src/app/mock-api/apps/tasks/data.ts | 350 +- src/app/mock-api/common/auth/api.ts | 55 +- src/app/mock-api/common/messages/api.ts | 28 +- src/app/mock-api/common/messages/data.ts | 20 +- src/app/mock-api/common/navigation/api.ts | 29 +- src/app/mock-api/common/navigation/data.ts | 458 +-- src/app/mock-api/common/notifications/api.ts | 28 +- src/app/mock-api/common/notifications/data.ts | 20 +- src/app/mock-api/common/search/api.ts | 26 +- src/app/mock-api/common/shortcuts/api.ts | 16 +- src/app/mock-api/common/shortcuts/data.ts | 18 +- src/app/mock-api/common/user/api.ts | 7 +- src/app/mock-api/common/user/data.ts | 2 +- src/app/mock-api/dashboards/analytics/api.ts | 4 +- src/app/mock-api/dashboards/analytics/data.ts | 810 ++-- src/app/mock-api/dashboards/crypto/api.ts | 4 +- src/app/mock-api/dashboards/crypto/data.ts | 610 +-- src/app/mock-api/dashboards/finance/api.ts | 4 +- src/app/mock-api/dashboards/finance/data.ts | 512 +-- src/app/mock-api/dashboards/project/api.ts | 4 +- src/app/mock-api/dashboards/project/data.ts | 132 +- src/app/mock-api/index.ts | 22 +- src/app/mock-api/pages/activities/api.ts | 4 +- src/app/mock-api/pages/activities/data.ts | 22 +- src/app/mock-api/ui/icons/api.ts | 28 +- src/app/mock-api/ui/icons/data.ts | 6 +- .../admin/apps/academy/academy.component.ts | 5 +- .../admin/apps/academy/academy.module.ts | 25 +- .../admin/apps/academy/academy.resolvers.ts | 39 +- .../admin/apps/academy/academy.routing.ts | 20 +- .../admin/apps/academy/academy.service.ts | 24 +- .../apps/academy/details/details.component.ts | 35 +- .../admin/apps/academy/list/list.component.ts | 35 +- .../modules/admin/apps/chat/chat.component.ts | 5 +- .../modules/admin/apps/chat/chat.module.ts | 29 +- .../modules/admin/apps/chat/chat.resolvers.ts | 45 +- .../modules/admin/apps/chat/chat.routing.ts | 20 +- .../modules/admin/apps/chat/chat.service.ts | 48 +- .../admin/apps/chat/chats/chats.component.ts | 29 +- .../contact-info/contact-info.component.ts | 7 +- .../conversation/conversation.component.ts | 32 +- .../empty-conversation.component.ts | 5 +- .../apps/chat/new-chat/new-chat.component.ts | 14 +- .../apps/chat/profile/profile.component.ts | 17 +- .../admin/apps/contacts/contacts.component.ts | 5 +- .../admin/apps/contacts/contacts.guards.ts | 6 +- .../admin/apps/contacts/contacts.module.ts | 35 +- .../admin/apps/contacts/contacts.resolvers.ts | 39 +- .../admin/apps/contacts/contacts.routing.ts | 22 +- .../admin/apps/contacts/contacts.service.ts | 113 +- .../contacts/details/details.component.ts | 126 +- .../apps/contacts/list/list.component.ts | 51 +- .../admin/apps/ecommerce/ecommerce.module.ts | 23 +- .../admin/apps/ecommerce/ecommerce.routing.ts | 14 +- .../inventory/inventory.component.ts | 5 +- .../inventory/inventory.resolvers.ts | 43 +- .../ecommerce/inventory/inventory.service.ts | 102 +- .../inventory/list/inventory.component.ts | 96 +- .../file-manager/details/details.component.ts | 17 +- .../file-manager/file-manager.component.ts | 5 +- .../apps/file-manager/file-manager.guards.ts | 6 +- .../apps/file-manager/file-manager.module.ts | 21 +- .../file-manager/file-manager.resolvers.ts | 66 +- .../apps/file-manager/file-manager.routing.ts | 32 +- .../apps/file-manager/file-manager.service.ts | 19 +- .../apps/file-manager/list/list.component.ts | 25 +- .../apps/help-center/faqs/faqs.component.ts | 14 +- .../guides/category/category.component.ts | 16 +- .../guides/guide/guide.component.ts | 12 +- .../help-center/guides/guides.component.ts | 13 +- .../apps/help-center/help-center.component.ts | 15 +- .../apps/help-center/help-center.module.ts | 31 +- .../apps/help-center/help-center.resolvers.ts | 12 +- .../apps/help-center/help-center.routing.ts | 38 +- .../apps/help-center/help-center.service.ts | 41 +- .../help-center/support/support.component.ts | 23 +- .../apps/mailbox/compose/compose.component.ts | 22 +- .../apps/mailbox/details/details.component.ts | 111 +- .../empty-details/empty-details.component.ts | 5 +- .../admin/apps/mailbox/list/list.component.ts | 30 +- .../admin/apps/mailbox/mailbox.component.ts | 13 +- .../admin/apps/mailbox/mailbox.constants.ts | 24 +- .../admin/apps/mailbox/mailbox.module.ts | 39 +- .../admin/apps/mailbox/mailbox.resolvers.ts | 55 +- .../admin/apps/mailbox/mailbox.routing.ts | 52 +- .../admin/apps/mailbox/mailbox.service.ts | 112 +- .../mailbox/settings/settings.component.ts | 42 +- .../apps/mailbox/sidebar/sidebar.component.ts | 65 +- .../apps/notes/details/details.component.ts | 41 +- .../apps/notes/labels/labels.component.ts | 21 +- .../admin/apps/notes/list/list.component.ts | 32 +- .../admin/apps/notes/notes.component.ts | 5 +- .../modules/admin/apps/notes/notes.module.ts | 27 +- .../modules/admin/apps/notes/notes.routing.ts | 10 +- .../modules/admin/apps/notes/notes.service.ts | 57 +- .../board/add-card/add-card.component.ts | 18 +- .../board/add-list/add-list.component.ts | 13 +- .../apps/scrumboard/board/board.component.ts | 46 +- .../scrumboard/boards/boards.component.ts | 17 +- .../apps/scrumboard/card/card.component.ts | 12 +- .../card/details/details.component.ts | 50 +- .../apps/scrumboard/scrumboard.component.ts | 5 +- .../apps/scrumboard/scrumboard.models.ts | 15 +- .../apps/scrumboard/scrumboard.module.ts | 43 +- .../apps/scrumboard/scrumboard.resolvers.ts | 68 +- .../apps/scrumboard/scrumboard.routing.ts | 20 +- .../apps/scrumboard/scrumboard.service.ts | 141 +- .../apps/tasks/details/details.component.ts | 110 +- .../admin/apps/tasks/list/list.component.ts | 50 +- .../admin/apps/tasks/tasks.component.ts | 5 +- .../modules/admin/apps/tasks/tasks.guards.ts | 6 +- .../modules/admin/apps/tasks/tasks.module.ts | 33 +- .../admin/apps/tasks/tasks.resolvers.ts | 37 +- .../modules/admin/apps/tasks/tasks.routing.ts | 24 +- .../modules/admin/apps/tasks/tasks.service.ts | 127 +- .../analytics/analytics.component.ts | 334 +- .../dashboards/analytics/analytics.module.ts | 15 +- .../analytics/analytics.resolvers.ts | 4 +- .../dashboards/analytics/analytics.routing.ts | 6 +- .../dashboards/analytics/analytics.service.ts | 9 +- .../dashboards/crypto/crypto.component.ts | 99 +- .../admin/dashboards/crypto/crypto.module.ts | 15 +- .../dashboards/crypto/crypto.resolvers.ts | 4 +- .../admin/dashboards/crypto/crypto.routing.ts | 6 +- .../admin/dashboards/crypto/crypto.service.ts | 9 +- .../dashboards/finance/finance.component.ts | 43 +- .../dashboards/finance/finance.module.ts | 15 +- .../dashboards/finance/finance.resolvers.ts | 4 +- .../dashboards/finance/finance.routing.ts | 6 +- .../dashboards/finance/finance.service.ts | 9 +- .../dashboards/project/project.component.ts | 219 +- .../dashboards/project/project.module.ts | 17 +- .../dashboards/project/project.resolvers.ts | 4 +- .../dashboards/project/project.routing.ts | 6 +- .../dashboards/project/project.service.ts | 9 +- .../admin/docs/changelog/changelog.module.ts | 11 +- .../admin/docs/changelog/changelog.routing.ts | 4 +- .../modules/admin/docs/changelog/changelog.ts | 359 +- .../docs/guides/authentication/jwt/jwt.ts | 6 +- .../component-theming/component-theming.ts | 7 +- .../multi-language/multi-language.ts | 6 +- .../page-layouts/page-layouts.ts | 6 +- .../splash-screen/splash-screen.ts | 8 +- .../customization/tailwindcss/tailwindcss.ts | 6 +- .../theme-layouts/theme-layouts.ts | 9 +- .../guides/customization/theming/theming.ts | 8 +- .../component-structure.ts | 9 +- .../development/deployment/deployment.ts | 8 +- .../directory-structure.ts | 75 +- .../development/starter-kit/starter-kit.ts | 6 +- .../guides/development/updating/updating.ts | 6 +- .../installation/installation.ts | 8 +- .../introduction/introduction.ts | 6 +- .../prerequisites/prerequisites.ts | 7 +- .../guides/getting-started/serving/serving.ts | 8 +- .../admin/docs/guides/guides.component.ts | 69 +- .../admin/docs/guides/guides.module.ts | 59 +- .../admin/docs/guides/guides.routing.ts | 96 +- .../pages/activities/activities.component.ts | 13 +- .../pages/activities/activities.module.ts | 13 +- .../pages/activities/activities.resolvers.ts | 4 +- .../pages/activities/activities.routing.ts | 6 +- .../pages/activities/activities.service.ts | 11 +- .../authentication/authentication.module.ts | 14 +- .../confirmation-required.component.ts | 5 +- .../confirmation-required.module.ts | 51 +- .../confirmation-required.component.ts | 5 +- .../confirmation-required.component.ts | 5 +- .../confirmation-required.component.ts | 5 +- .../modern/confirmation-required.component.ts | 5 +- .../confirmation-required.component.ts | 5 +- .../confirmation-required.component.ts | 5 +- .../classic/forgot-password.component.ts | 20 +- .../forgot-password/forgot-password.module.ts | 51 +- .../forgot-password.component.ts | 20 +- .../fullscreen/forgot-password.component.ts | 20 +- .../forgot-password.component.ts | 20 +- .../modern/forgot-password.component.ts | 20 +- .../forgot-password.component.ts | 20 +- .../split-screen/forgot-password.component.ts | 20 +- .../classic/reset-password.component.ts | 25 +- .../reset-password.component.ts | 25 +- .../fullscreen/reset-password.component.ts | 25 +- .../reset-password.component.ts | 25 +- .../modern/reset-password.component.ts | 25 +- .../reset-password/reset-password.module.ts | 55 +- .../reset-password.component.ts | 25 +- .../split-screen/reset-password.component.ts | 25 +- .../sign-in/classic/sign-in.component.ts | 22 +- .../fullscreen-reversed/sign-in.component.ts | 22 +- .../sign-in/fullscreen/sign-in.component.ts | 22 +- .../modern-reversed/sign-in.component.ts | 22 +- .../sign-in/modern/sign-in.component.ts | 22 +- .../authentication/sign-in/sign-in.module.ts | 55 +- .../sign-in.component.ts | 22 +- .../sign-in/split-screen/sign-in.component.ts | 22 +- .../sign-out/classic/sign-out.component.ts | 11 +- .../fullscreen-reversed/sign-out.component.ts | 11 +- .../sign-out/fullscreen/sign-out.component.ts | 11 +- .../modern-reversed/sign-out.component.ts | 11 +- .../sign-out/modern/sign-out.component.ts | 11 +- .../sign-out/sign-out.module.ts | 45 +- .../sign-out.component.ts | 11 +- .../split-screen/sign-out.component.ts | 11 +- .../sign-up/classic/sign-up.component.ts | 24 +- .../fullscreen-reversed/sign-up.component.ts | 24 +- .../sign-up/fullscreen/sign-up.component.ts | 24 +- .../modern-reversed/sign-up.component.ts | 24 +- .../sign-up/modern/sign-up.component.ts | 24 +- .../authentication/sign-up/sign-up.module.ts | 55 +- .../sign-up.component.ts | 24 +- .../sign-up/split-screen/sign-up.component.ts | 24 +- .../classic/unlock-session.component.ts | 25 +- .../unlock-session.component.ts | 25 +- .../fullscreen/unlock-session.component.ts | 25 +- .../unlock-session.component.ts | 25 +- .../modern/unlock-session.component.ts | 25 +- .../unlock-session.component.ts | 25 +- .../split-screen/unlock-session.component.ts | 25 +- .../unlock-session/unlock-session.module.ts | 55 +- .../classic/coming-soon.component.ts | 24 +- .../pages/coming-soon/coming-soon.module.ts | 55 +- .../coming-soon.component.ts | 24 +- .../fullscreen/coming-soon.component.ts | 24 +- .../modern-reversed/coming-soon.component.ts | 24 +- .../modern/coming-soon.component.ts | 24 +- .../coming-soon.component.ts | 24 +- .../split-screen/coming-soon.component.ts | 24 +- .../error/error-404/error-404.component.ts | 5 +- .../pages/error/error-404/error-404.module.ts | 8 +- .../error/error-404/error-404.routing.ts | 4 +- .../error/error-500/error-500.component.ts | 5 +- .../pages/error/error-500/error-500.module.ts | 8 +- .../error/error-500/error-500.routing.ts | 4 +- .../printable/compact/compact.component.ts | 5 +- .../printable/compact/compact.module.ts | 12 +- .../printable/compact/compact.routing.ts | 4 +- .../printable/modern/modern.component.ts | 3 +- .../invoice/printable/modern/modern.module.ts | 8 +- .../printable/modern/modern.routing.ts | 4 +- .../maintenance/maintenance.component.ts | 3 +- .../pages/maintenance/maintenance.module.ts | 8 +- .../pages/maintenance/maintenance.routing.ts | 4 +- .../pages/pricing/modern/modern.component.ts | 8 +- .../pages/pricing/modern/modern.module.ts | 15 +- .../pages/pricing/modern/modern.routing.ts | 4 +- .../pages/pricing/simple/simple.component.ts | 8 +- .../pages/pricing/simple/simple.module.ts | 15 +- .../pages/pricing/simple/simple.routing.ts | 4 +- .../pages/pricing/single/single.component.ts | 7 +- .../pages/pricing/single/single.module.ts | 15 +- .../pages/pricing/single/single.routing.ts | 4 +- .../pages/pricing/table/table.component.ts | 8 +- .../admin/pages/pricing/table/table.module.ts | 15 +- .../pages/pricing/table/table.routing.ts | 4 +- .../admin/pages/profile/profile.component.ts | 15 +- .../admin/pages/profile/profile.module.ts | 15 +- .../admin/pages/profile/profile.routing.ts | 4 +- .../settings/account/account.component.ts | 17 +- .../notifications/notifications.component.ts | 12 +- .../plan-billing/plan-billing.component.ts | 27 +- .../settings/security/security.component.ts | 15 +- .../pages/settings/settings.component.ts | 33 +- .../admin/pages/settings/settings.module.ts | 35 +- .../admin/pages/settings/settings.routing.ts | 4 +- .../pages/settings/team/team.component.ts | 35 +- .../advanced-search.component.ts | 31 +- .../advanced-search/advanced-search.module.ts | 19 +- .../ui/animations/animations.component.ts | 49 +- .../admin/ui/animations/animations.module.ts | 19 +- .../modules/admin/ui/cards/cards.component.ts | 27 +- .../modules/admin/ui/cards/cards.module.ts | 19 +- .../admin/ui/colors/colors.component.ts | 5 +- .../modules/admin/ui/colors/colors.module.ts | 19 +- .../confirmation-dialog.component.ts | 30 +- .../confirmation-dialog.module.ts | 19 +- .../admin/ui/datatable/datatable.component.ts | 3 +- .../admin/ui/datatable/datatable.module.ts | 15 +- .../admin/ui/forms/fields/fields.component.ts | 17 +- .../admin/ui/forms/fields/fields.module.ts | 21 +- .../ui/forms/layouts/layouts.component.ts | 14 +- .../admin/ui/forms/layouts/layouts.module.ts | 17 +- .../ui/forms/wizards/wizards.component.ts | 35 +- .../admin/ui/forms/wizards/wizards.module.ts | 17 +- .../components/alert/alert.component.ts | 14 +- .../components/card/card.component.ts | 10 +- .../components/drawer/drawer.component.ts | 13 +- .../fullscreen/fullscreen.component.ts | 7 +- .../highlight/highlight.component.ts | 7 +- .../loading-bar/loading-bar.component.ts | 23 +- .../components/masonry/masonry.component.ts | 17 +- .../navigation/navigation.component.ts | 25 +- .../scroll-reset/scroll-reset.component.ts | 7 +- .../scrollbar/scrollbar.component.ts | 7 +- .../fuse-components.component.ts | 77 +- .../fuse-components/fuse-components.module.ts | 65 +- .../fuse-components.routing.ts | 84 +- .../libraries/mock-api/mock-api.component.ts | 8 +- .../find-by-key/find-by-key.component.ts | 7 +- .../services/config/config.component.ts | 7 +- .../confirmation/confirmation.component.ts | 9 +- .../media-watcher/media-watcher.component.ts | 7 +- .../splash-screen/splash-screen.component.ts | 7 +- .../must-match/must-match.component.ts | 7 +- .../modules/admin/ui/icons/icons.component.ts | 26 +- .../modules/admin/ui/icons/icons.module.ts | 23 +- .../modules/admin/ui/icons/icons.resolvers.ts | 4 +- .../modules/admin/ui/icons/icons.service.ts | 9 +- .../material-components.component.ts | 289 +- .../material-components.module.ts | 17 +- .../common/languages/languages.component.ts | 7 +- .../common/messages/messages.component.ts | 7 +- .../notifications/notifications.component.ts | 7 +- .../common/overview/overview.component.ts | 7 +- .../common/quick-chat/quick-chat.component.ts | 7 +- .../common/search/search.component.ts | 7 +- .../common/shortcuts/shortcuts.component.ts | 7 +- .../common/user/user.component.ts | 7 +- .../other-components.component.ts | 49 +- .../other-components.module.ts | 33 +- .../other-components.routing.ts | 44 +- .../apex-charts/apex-charts.component.ts | 6 +- .../quill-editor/quill-editor.component.ts | 6 +- .../content-scroll/fullwidth.component.ts | 8 +- .../normal-scroll/fullwidth.component.ts | 7 +- .../page-scroll/fullwidth.component.ts | 8 +- .../left-sidebar-1.component.ts | 10 +- .../normal-scroll/left-sidebar-1.component.ts | 9 +- .../page-scroll/left-sidebar-1.component.ts | 10 +- .../left-sidebar-2.component.ts | 15 +- .../normal-scroll/left-sidebar-2.component.ts | 14 +- .../page-scroll/left-sidebar-2.component.ts | 15 +- .../right-sidebar-1.component.ts | 10 +- .../right-sidebar-1.component.ts | 9 +- .../page-scroll/right-sidebar-1.component.ts | 10 +- .../right-sidebar-2.component.ts | 15 +- .../right-sidebar-2.component.ts | 14 +- .../page-scroll/right-sidebar-2.component.ts | 15 +- .../demo-placeholder.component.ts | 3 +- .../demo-placeholder.module.ts | 14 - .../demo-sidebar/demo-sidebar.component.ts | 69 +- .../demo-sidebar/demo-sidebar.module.ts | 17 +- .../layout-overview.component.ts | 13 +- .../layout-overview/layout-overview.module.ts | 19 +- .../empty/normal-scroll/empty.component.ts | 3 +- .../empty/page-scroll/empty.component.ts | 5 +- .../overview/overview.component.ts | 5 +- .../ui/page-layouts/page-layouts.module.ts | 685 ++-- .../content-scroll/fullwidth-1.component.ts | 8 +- .../normal-scroll/fullwidth-1.component.ts | 7 +- .../page-scroll/fullwidth-1.component.ts | 8 +- .../content-scroll/fullwidth-2.component.ts | 9 +- .../normal-scroll/fullwidth-2.component.ts | 8 +- .../page-scroll/fullwidth-2.component.ts | 9 +- .../left-sidebar-1.component.ts | 13 +- .../normal-scroll/left-sidebar-1.component.ts | 13 +- .../page-scroll/left-sidebar-1.component.ts | 14 +- .../left-sidebar-2.component.ts | 14 +- .../inner-scroll/left-sidebar-2.component.ts | 15 +- .../normal-scroll/left-sidebar-2.component.ts | 14 +- .../page-scroll/left-sidebar-2.component.ts | 15 +- .../left-sidebar-3.component.ts | 14 +- .../normal-scroll/left-sidebar-3.component.ts | 14 +- .../page-scroll/left-sidebar-3.component.ts | 15 +- .../right-sidebar-1.component.ts | 13 +- .../right-sidebar-1.component.ts | 13 +- .../page-scroll/right-sidebar-1.component.ts | 14 +- .../right-sidebar-2.component.ts | 14 +- .../inner-scroll/right-sidebar-2.component.ts | 15 +- .../right-sidebar-2.component.ts | 14 +- .../page-scroll/right-sidebar-2.component.ts | 15 +- .../right-sidebar-3.component.ts | 14 +- .../right-sidebar-3.component.ts | 14 +- .../page-scroll/right-sidebar-3.component.ts | 15 +- .../ui/tailwindcss/tailwindcss.component.ts | 3 +- .../ui/tailwindcss/tailwindcss.module.ts | 15 +- .../ui/typography/typography.component.ts | 6 +- .../admin/ui/typography/typography.module.ts | 19 +- .../confirmation-required.component.ts | 5 +- .../confirmation-required.module.ts | 15 +- .../confirmation-required.routing.ts | 4 +- .../forgot-password.component.ts | 39 +- .../forgot-password/forgot-password.module.ts | 17 +- .../forgot-password.routing.ts | 4 +- .../reset-password.component.ts | 44 +- .../reset-password/reset-password.module.ts | 17 +- .../reset-password/reset-password.routing.ts | 4 +- .../modules/auth/sign-in/sign-in.component.ts | 33 +- .../modules/auth/sign-in/sign-in.module.ts | 17 +- .../modules/auth/sign-in/sign-in.routing.ts | 4 +- .../auth/sign-out/sign-out.component.ts | 18 +- .../modules/auth/sign-out/sign-out.module.ts | 15 +- .../modules/auth/sign-out/sign-out.routing.ts | 4 +- .../modules/auth/sign-up/sign-up.component.ts | 35 +- .../modules/auth/sign-up/sign-up.module.ts | 17 +- .../modules/auth/sign-up/sign-up.routing.ts | 4 +- .../unlock-session.component.ts | 45 +- .../unlock-session/unlock-session.module.ts | 17 +- .../unlock-session/unlock-session.routing.ts | 4 +- .../modules/landing/home/home.component.ts | 7 +- src/app/modules/landing/home/home.module.ts | 13 +- src/app/modules/landing/home/home.routing.ts | 4 +- src/app/shared/shared.module.ts | 19 - src/assets/icons/feather.svg | 1 - src/assets/icons/heroicons-outline.svg | 2 +- src/assets/icons/heroicons-solid.svg | 2 +- src/main.ts | 42 +- tailwind.config.js | 3 +- 573 files changed, 14143 insertions(+), 11263 deletions(-) delete mode 100644 src/@fuse/components/alert/alert.module.ts delete mode 100644 src/@fuse/components/card/card.module.ts delete mode 100644 src/@fuse/components/drawer/drawer.module.ts delete mode 100644 src/@fuse/components/fullscreen/fullscreen.module.ts delete mode 100644 src/@fuse/components/highlight/highlight.module.ts delete mode 100644 src/@fuse/components/loading-bar/loading-bar.module.ts delete mode 100644 src/@fuse/components/masonry/masonry.module.ts delete mode 100644 src/@fuse/components/navigation/navigation.module.ts delete mode 100644 src/@fuse/directives/scroll-reset/scroll-reset.module.ts delete mode 100644 src/@fuse/directives/scrollbar/scrollbar.module.ts delete mode 100644 src/@fuse/pipes/find-by-key/find-by-key.module.ts delete mode 100644 src/app/app.module.ts delete mode 100644 src/app/layout/common/languages/languages.module.ts delete mode 100644 src/app/layout/common/messages/messages.module.ts delete mode 100644 src/app/layout/common/notifications/notifications.module.ts delete mode 100644 src/app/layout/common/quick-chat/quick-chat.module.ts delete mode 100644 src/app/layout/common/settings/settings.module.ts delete mode 100644 src/app/layout/common/shortcuts/shortcuts.module.ts delete mode 100644 src/app/layout/common/user/user.module.ts delete mode 100644 src/app/layout/layouts/empty/empty.module.ts delete mode 100644 src/app/modules/admin/ui/page-layouts/common/demo-placeholder/demo-placeholder.module.ts delete mode 100644 src/app/shared/shared.module.ts diff --git a/package-lock.json b/package-lock.json index 3ae8143a..034609ab 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,64 +1,75 @@ { "name": "fuse-angular", - "version": "17.2.0", + "version": "18.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "fuse-angular", - "version": "17.2.0", + "version": "18.0.0", "license": "https://themeforest.net/licenses/standard", "dependencies": { - "@angular/animations": "15.1.1", - "@angular/cdk": "15.1.1", - "@angular/common": "15.1.1", - "@angular/compiler": "15.1.1", - "@angular/core": "15.1.1", - "@angular/forms": "15.1.1", - "@angular/material": "15.1.1", - "@angular/material-luxon-adapter": "15.1.1", - "@angular/platform-browser": "15.1.1", - "@angular/platform-browser-dynamic": "15.1.1", - "@angular/router": "15.1.1", - "@ngneat/transloco": "4.2.2", - "apexcharts": "3.36.3", + "@angular/animations": "15.2.9", + "@angular/cdk": "15.2.9", + "@angular/common": "15.2.9", + "@angular/compiler": "15.2.9", + "@angular/core": "15.2.9", + "@angular/forms": "15.2.9", + "@angular/material": "15.2.9", + "@angular/material-luxon-adapter": "15.2.9", + "@angular/platform-browser": "15.2.9", + "@angular/platform-browser-dynamic": "15.2.9", + "@angular/router": "15.2.9", + "@ngneat/transloco": "4.2.6", + "apexcharts": "3.40.0", "crypto-js": "3.3.0", - "highlight.js": "11.7.0", + "highlight.js": "11.8.0", "lodash-es": "4.17.21", - "luxon": "3.2.1", - "ng-apexcharts": "1.7.4", - "ngx-quill": "20.0.1", + "luxon": "3.3.0", + "ng-apexcharts": "1.7.6", + "ngx-quill": "21.0.0", "perfect-scrollbar": "1.5.5", "quill": "1.3.7", - "rxjs": "7.8.0", - "tslib": "2.4.1", - "zone.js": "0.12.0" + "rxjs": "7.8.1", + "tslib": "2.5.0", + "zone.js": "0.13.0" }, "devDependencies": { - "@angular-devkit/build-angular": "15.1.2", - "@angular/cli": "15.1.2", - "@angular/compiler-cli": "15.1.1", - "@tailwindcss/line-clamp": "0.4.2", + "@angular-devkit/build-angular": "15.2.8", + "@angular/cli": "15.2.8", + "@angular/compiler-cli": "15.2.9", "@tailwindcss/typography": "0.5.9", - "@types/chroma-js": "2.1.4", + "@types/chroma-js": "2.4.0", "@types/crypto-js": "3.1.47", "@types/highlight.js": "10.1.0", "@types/jasmine": "4.3.1", - "@types/lodash": "4.14.191", - "@types/lodash-es": "4.17.6", - "@types/luxon": "3.2.0", - "autoprefixer": "10.4.13", + "@types/lodash": "4.14.194", + "@types/lodash-es": "4.17.7", + "@types/luxon": "3.3.0", + "autoprefixer": "10.4.14", "chroma-js": "2.4.2", - "jasmine-core": "4.5.0", - "karma": "6.4.1", - "karma-chrome-launcher": "3.1.1", + "jasmine-core": "4.6.0", + "karma": "6.4.2", + "karma-chrome-launcher": "3.2.0", "karma-coverage": "2.2.0", "karma-jasmine": "5.1.0", "karma-jasmine-html-reporter": "2.0.0", "lodash": "4.17.21", - "postcss": "8.4.21", - "tailwindcss": "3.2.4", - "typescript": "4.9.4" + "postcss": "8.4.23", + "tailwindcss": "3.3.2", + "typescript": "4.9.5" + } + }, + "node_modules/@alloc/quick-lru": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.2.0.tgz", + "integrity": "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/@ampproject/remapping": { @@ -75,12 +86,12 @@ } }, "node_modules/@angular-devkit/architect": { - "version": "0.1501.2", - "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.1501.2.tgz", - "integrity": "sha512-AfORVGLN0FBIUXO3FkfGOKu+Gz6oJjF8Bu8cPn27duiI0wszxGNY3fATKwbSg7JcKx1oQS/G7RjyC5OiTA6a0Q==", + "version": "0.1502.8", + "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.1502.8.tgz", + "integrity": "sha512-rTltw2ABHrcKc8EGimALvXmrDTP5hlNbEy6nYolJoXEI9EwHgriWrVLVPs3OEF+/ed47dbJi9EGOXUOgzgpB5A==", "dev": true, "dependencies": { - "@angular-devkit/core": "15.1.2", + "@angular-devkit/core": "15.2.8", "rxjs": "6.6.7" }, "engines": { @@ -108,38 +119,39 @@ "dev": true }, "node_modules/@angular-devkit/build-angular": { - "version": "15.1.2", - "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-15.1.2.tgz", - "integrity": "sha512-8udBKfHo3c/hOuh6VB11UKQZcqbolcNW2smtM9HJMm3fcykvyFEIitoCyl/tgraST+14/kA4aiINdl4EQ4BanQ==", + "version": "15.2.8", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-15.2.8.tgz", + "integrity": "sha512-TGDnXhhOG6h6TOrWWzfnkha7wYBOXi7iJc1o1w1VKCayE3T6TZZdF847aK66vL9KG7AKYVdGhWEGw2WBHUBUpg==", "dev": true, "dependencies": { "@ampproject/remapping": "2.2.0", - "@angular-devkit/architect": "0.1501.2", - "@angular-devkit/build-webpack": "0.1501.2", - "@angular-devkit/core": "15.1.2", + "@angular-devkit/architect": "0.1502.8", + "@angular-devkit/build-webpack": "0.1502.8", + "@angular-devkit/core": "15.2.8", "@babel/core": "7.20.12", - "@babel/generator": "7.20.7", + "@babel/generator": "7.20.14", "@babel/helper-annotate-as-pure": "7.18.6", + "@babel/helper-split-export-declaration": "7.18.6", "@babel/plugin-proposal-async-generator-functions": "7.20.7", "@babel/plugin-transform-async-to-generator": "7.20.7", "@babel/plugin-transform-runtime": "7.19.6", "@babel/preset-env": "7.20.2", - "@babel/runtime": "7.20.7", + "@babel/runtime": "7.20.13", "@babel/template": "7.20.7", "@discoveryjs/json-ext": "0.5.7", - "@ngtools/webpack": "15.1.2", + "@ngtools/webpack": "15.2.8", "ansi-colors": "4.1.3", "autoprefixer": "10.4.13", "babel-loader": "9.1.2", "babel-plugin-istanbul": "6.1.1", - "browserslist": "4.21.4", + "browserslist": "4.21.5", "cacache": "17.0.4", "chokidar": "3.5.3", "copy-webpack-plugin": "11.0.0", "critters": "0.0.16", "css-loader": "6.7.3", - "esbuild-wasm": "0.16.17", - "glob": "8.0.3", + "esbuild-wasm": "0.17.8", + "glob": "8.1.0", "https-proxy-agent": "5.0.1", "inquirer": "8.2.4", "jsonc-parser": "3.2.0", @@ -148,26 +160,26 @@ "less-loader": "11.1.0", "license-webpack-plugin": "4.0.2", "loader-utils": "3.2.1", - "magic-string": "0.27.0", + "magic-string": "0.29.0", "mini-css-extract-plugin": "2.7.2", - "open": "8.4.0", + "open": "8.4.1", "ora": "5.4.1", - "parse5-html-rewriting-stream": "6.0.1", + "parse5-html-rewriting-stream": "7.0.0", "piscina": "3.2.0", "postcss": "8.4.21", "postcss-loader": "7.0.2", "resolve-url-loader": "5.0.0", "rxjs": "6.6.7", - "sass": "1.57.1", + "sass": "1.58.1", "sass-loader": "13.2.0", "semver": "7.3.8", "source-map-loader": "4.0.1", "source-map-support": "0.5.21", - "terser": "5.16.1", + "terser": "5.16.3", "text-table": "0.2.0", "tree-kill": "1.2.2", - "tslib": "2.4.1", - "webpack": "5.75.0", + "tslib": "2.5.0", + "webpack": "5.76.1", "webpack-dev-middleware": "6.0.1", "webpack-dev-server": "4.11.1", "webpack-merge": "5.8.0", @@ -179,7 +191,7 @@ "yarn": ">= 1.13.0" }, "optionalDependencies": { - "esbuild": "0.16.17" + "esbuild": "0.17.8" }, "peerDependencies": { "@angular/compiler-cli": "^15.0.0", @@ -255,6 +267,39 @@ "semver": "bin/semver.js" } }, + "node_modules/@angular-devkit/build-angular/node_modules/autoprefixer": { + "version": "10.4.13", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.13.tgz", + "integrity": "sha512-49vKpMqcZYsJjwotvt4+h/BCjJVnhGwcLpDt5xkcaOG3eLrG/HUYLagrihYsQ+qrIBgIzX1Rw7a6L8I/ZA1Atg==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/autoprefixer" + } + ], + "dependencies": { + "browserslist": "^4.21.4", + "caniuse-lite": "^1.0.30001426", + "fraction.js": "^4.2.0", + "normalize-range": "^0.1.2", + "picocolors": "^1.0.0", + "postcss-value-parser": "^4.2.0" + }, + "bin": { + "autoprefixer": "bin/autoprefixer" + }, + "engines": { + "node": "^10 || ^12 || >=14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, "node_modules/@angular-devkit/build-angular/node_modules/brace-expansion": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", @@ -265,9 +310,9 @@ } }, "node_modules/@angular-devkit/build-angular/node_modules/glob": { - "version": "8.0.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-8.0.3.tgz", - "integrity": "sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", + "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", "dev": true, "dependencies": { "fs.realpath": "^1.0.0", @@ -283,10 +328,22 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/@angular-devkit/build-angular/node_modules/magic-string": { + "version": "0.29.0", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.29.0.tgz", + "integrity": "sha512-WcfidHrDjMY+eLjlU+8OvwREqHwpgCeKVBUpQ3OhYYuvfaYCUgcbuBzappNzZvg/v8onU3oQj+BYpkOJe9Iw4Q==", + "dev": true, + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.4.13" + }, + "engines": { + "node": ">=12" + } + }, "node_modules/@angular-devkit/build-angular/node_modules/minimatch": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz", - "integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==", + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", "dev": true, "dependencies": { "brace-expansion": "^2.0.1" @@ -295,6 +352,30 @@ "node": ">=10" } }, + "node_modules/@angular-devkit/build-angular/node_modules/postcss": { + "version": "8.4.21", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.21.tgz", + "integrity": "sha512-tP7u/Sn/dVxK2NnruI4H9BG+x+Wxz6oeZ1cJ8P6G/PZY0IKk4k/63TDsQf2kQq3+qoJeLm2kIBUNlZe3zgb4Zg==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + } + ], + "dependencies": { + "nanoid": "^3.3.4", + "picocolors": "^1.0.0", + "source-map-js": "^1.0.2" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, "node_modules/@angular-devkit/build-angular/node_modules/rxjs": { "version": "6.6.7", "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz", @@ -337,12 +418,12 @@ } }, "node_modules/@angular-devkit/build-webpack": { - "version": "0.1501.2", - "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.1501.2.tgz", - "integrity": "sha512-FzslFvjuAabwtz2wMTCeemYCJA4NqRECz+WEsEZbtwESBMmKdaqmpbdW9ypsepB2iC7eIbHK43R95XAM75utTw==", + "version": "0.1502.8", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.1502.8.tgz", + "integrity": "sha512-jWtNv+S03FFLDe/C8SPCcRvkz3bSb2R+919IT086Q9axIPQ1VowOEwzt2k3qXPSSrC7GSYuASM+X92dB47NTQQ==", "dev": true, "dependencies": { - "@angular-devkit/architect": "0.1501.2", + "@angular-devkit/architect": "0.1502.8", "rxjs": "6.6.7" }, "engines": { @@ -374,9 +455,9 @@ "dev": true }, "node_modules/@angular-devkit/core": { - "version": "15.1.2", - "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-15.1.2.tgz", - "integrity": "sha512-wkLZYvTZt30Ge6Z83Gxsr6mO1TIHCu3SImdE0zwW63EdU9o1NYkU74z1D9VUZ9Up7uHi1cHs/dssbxUuZ4eWOA==", + "version": "15.2.8", + "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-15.2.8.tgz", + "integrity": "sha512-Lo4XrbDMtXarKnMrFgWLmQdSX+3QPNAg4otG8cmp/U4jJyjV4dAYKEAsb1sCNGUSM4h4v09EQU/5ugVjDU29lQ==", "dev": true, "dependencies": { "ajv": "8.12.0", @@ -418,14 +499,14 @@ "dev": true }, "node_modules/@angular-devkit/schematics": { - "version": "15.1.2", - "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-15.1.2.tgz", - "integrity": "sha512-HjJPm+4SS5TdAHHvdpXLv25wsvwVOn5RYs0A9MazTndlm80ct3PKeYUgakNDRFjRj8uORNlJMKmQIIhUSDjFsw==", + "version": "15.2.8", + "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-15.2.8.tgz", + "integrity": "sha512-w6EUGC96kVsH9f8sEzajzbONMawezyVBiSo+JYp5r25rQArAz/a+KZntbuETWHQ0rQOEsKmUNKxwmr11BaptSQ==", "dev": true, "dependencies": { - "@angular-devkit/core": "15.1.2", + "@angular-devkit/core": "15.2.8", "jsonc-parser": "3.2.0", - "magic-string": "0.27.0", + "magic-string": "0.29.0", "ora": "5.4.1", "rxjs": "6.6.7" }, @@ -435,6 +516,18 @@ "yarn": ">= 1.13.0" } }, + "node_modules/@angular-devkit/schematics/node_modules/magic-string": { + "version": "0.29.0", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.29.0.tgz", + "integrity": "sha512-WcfidHrDjMY+eLjlU+8OvwREqHwpgCeKVBUpQ3OhYYuvfaYCUgcbuBzappNzZvg/v8onU3oQj+BYpkOJe9Iw4Q==", + "dev": true, + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.4.13" + }, + "engines": { + "node": ">=12" + } + }, "node_modules/@angular-devkit/schematics/node_modules/rxjs": { "version": "6.6.7", "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz", @@ -454,9 +547,9 @@ "dev": true }, "node_modules/@angular/animations": { - "version": "15.1.1", - "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-15.1.1.tgz", - "integrity": "sha512-oQrbO7uDsw1VcqhuSqvwQQPxEUjmssMM3nDbFUrs6A0MX7XIuhGnkB7mN35M6ZSd0Chj9DMzgbrYToPg1LoLHQ==", + "version": "15.2.9", + "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-15.2.9.tgz", + "integrity": "sha512-GQujLhI0cQFcl4Q8y0oSYKSRnW23GIeSL+Arl4eFufziJ9hGAAQNuesaNs/7i+9UlTHDMkPH3kd5ScXuYYz6wg==", "dependencies": { "tslib": "^2.3.0" }, @@ -464,13 +557,13 @@ "node": "^14.20.0 || ^16.13.0 || >=18.10.0" }, "peerDependencies": { - "@angular/core": "15.1.1" + "@angular/core": "15.2.9" } }, "node_modules/@angular/cdk": { - "version": "15.1.1", - "resolved": "https://registry.npmjs.org/@angular/cdk/-/cdk-15.1.1.tgz", - "integrity": "sha512-99zaW+EqS/pJh2BLxC+L+/mAyaC3oncRUqRL4WWLENZI2lqD6mCe/kRYDL57WbSZaI54Of38u9GhkBVA/0rn7A==", + "version": "15.2.9", + "resolved": "https://registry.npmjs.org/@angular/cdk/-/cdk-15.2.9.tgz", + "integrity": "sha512-koaM07N1AIQ5oHU27l0/FoQSSoYAwlAYwVZ4Di3bYrJsTBNCN2Xsby7wI8gZxdepMnV4Fe9si382BDBov+oO4Q==", "dependencies": { "tslib": "^2.3.0" }, @@ -484,15 +577,15 @@ } }, "node_modules/@angular/cli": { - "version": "15.1.2", - "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-15.1.2.tgz", - "integrity": "sha512-h42k410W6PPnz9KjX8dCtruMqf1mHgIf7UWrLa8icKpk03U2SIgoJzaXgY/spSHiMGIdDnY1dAYKWV0GQS4zEg==", + "version": "15.2.8", + "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-15.2.8.tgz", + "integrity": "sha512-3VlTfm6DUZfFHBY43vQSAaqmFTxy3VtRd/iDBCHcEPhHwYLWBvNwReJuJfNja8O105QQ6DBiYVBExEBtPmjQ4w==", "dev": true, "dependencies": { - "@angular-devkit/architect": "0.1501.2", - "@angular-devkit/core": "15.1.2", - "@angular-devkit/schematics": "15.1.2", - "@schematics/angular": "15.1.2", + "@angular-devkit/architect": "0.1502.8", + "@angular-devkit/core": "15.2.8", + "@angular-devkit/schematics": "15.2.8", + "@schematics/angular": "15.2.8", "@yarnpkg/lockfile": "1.1.0", "ansi-colors": "4.1.3", "ini": "3.0.1", @@ -500,9 +593,9 @@ "jsonc-parser": "3.2.0", "npm-package-arg": "10.1.0", "npm-pick-manifest": "8.0.1", - "open": "8.4.0", + "open": "8.4.1", "ora": "5.4.1", - "pacote": "15.0.8", + "pacote": "15.1.0", "resolve": "1.22.1", "semver": "7.3.8", "symbol-observable": "4.0.0", @@ -518,9 +611,9 @@ } }, "node_modules/@angular/common": { - "version": "15.1.1", - "resolved": "https://registry.npmjs.org/@angular/common/-/common-15.1.1.tgz", - "integrity": "sha512-P4f2rK/YBQQT4clQrcQ9goLf53RS63Q1x2d1dvz7Syr3gcOUyxO7NZQ7Au5afzvbIKZ5Okd+X0+TCGV4q9wQjw==", + "version": "15.2.9", + "resolved": "https://registry.npmjs.org/@angular/common/-/common-15.2.9.tgz", + "integrity": "sha512-LM9/UHG2dRrOzlu2KovrFwWIziFMjRxHzSP3Igw6Symw/wIl0kXGq8Fn6RpFP78zmLqnv+IQOoRiby9MCXsI4g==", "dependencies": { "tslib": "^2.3.0" }, @@ -528,14 +621,14 @@ "node": "^14.20.0 || ^16.13.0 || >=18.10.0" }, "peerDependencies": { - "@angular/core": "15.1.1", + "@angular/core": "15.2.9", "rxjs": "^6.5.3 || ^7.4.0" } }, "node_modules/@angular/compiler": { - "version": "15.1.1", - "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-15.1.1.tgz", - "integrity": "sha512-A35iXLTTDEej4F2tm5t1flA+5Tv+jYAkQx+d0xvH6LDiWvsiDsOe5OjP8L2LD8dejwWl/JYUz2TH0JZcvw0uqA==", + "version": "15.2.9", + "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-15.2.9.tgz", + "integrity": "sha512-MoKugbjk+E0wRBj12uvIyDLELlVLonnqjA2+XiF+7FxALIeyds3/qQeEoMmYIqAbN3NnTT5pV92RxWwG4tHFwA==", "dependencies": { "tslib": "^2.3.0" }, @@ -543,7 +636,7 @@ "node": "^14.20.0 || ^16.13.0 || >=18.10.0" }, "peerDependencies": { - "@angular/core": "15.1.1" + "@angular/core": "15.2.9" }, "peerDependenciesMeta": { "@angular/core": { @@ -552,9 +645,9 @@ } }, "node_modules/@angular/compiler-cli": { - "version": "15.1.1", - "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-15.1.1.tgz", - "integrity": "sha512-sBYvh6Y08aKuZPAVwzT1YGVfG63xeXElEfAfq6No9FLUHDo83QB9fU7ovXnu1RJFJiVIy16DHjmTpAmgvlomGA==", + "version": "15.2.9", + "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-15.2.9.tgz", + "integrity": "sha512-zsbI8G2xHOeYWI0hjFzrI//ZhZV9il/uQW5dAimfwJp06KZDeXZ3PdwY9JQslf6F+saLwOObxy6QMrIVvfjy9w==", "dev": true, "dependencies": { "@babel/core": "7.19.3", @@ -577,7 +670,7 @@ "node": "^14.20.0 || ^16.13.0 || >=18.10.0" }, "peerDependencies": { - "@angular/compiler": "15.1.1", + "@angular/compiler": "15.2.9", "typescript": ">=4.8.2 <5.0" } }, @@ -621,9 +714,9 @@ } }, "node_modules/@angular/core": { - "version": "15.1.1", - "resolved": "https://registry.npmjs.org/@angular/core/-/core-15.1.1.tgz", - "integrity": "sha512-nsz+IXdkQanAGhqA2vcwTrGGyw5zIm3TgtYQ/JqK185qkmlhsQfSRvdSPsFPhmIFYp9ngZVUbkhY3D4P3gDzIg==", + "version": "15.2.9", + "resolved": "https://registry.npmjs.org/@angular/core/-/core-15.2.9.tgz", + "integrity": "sha512-w46Z1yUXCQfKV7XfnamOoLA2VD0MVUUYVrUjO73mHSskDXSXxfZAEHO9kfUS71Cj35PvhP3mbkqWscpea2WeYg==", "dependencies": { "tslib": "^2.3.0" }, @@ -632,13 +725,13 @@ }, "peerDependencies": { "rxjs": "^6.5.3 || ^7.4.0", - "zone.js": "~0.11.4 || ~0.12.0" + "zone.js": "~0.11.4 || ~0.12.0 || ~0.13.0" } }, "node_modules/@angular/forms": { - "version": "15.1.1", - "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-15.1.1.tgz", - "integrity": "sha512-1c/oZD+eSbGzDCcmC+hOqkPH+AzLOiGHxII5QiOOj8so8M958UBrsFBwrnLz06d9OK5Z4IrR4UL2JJspZNbpjw==", + "version": "15.2.9", + "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-15.2.9.tgz", + "integrity": "sha512-sk0pC2EFi2Ohg5J0q0NYptbT+2WOkoiERSMYA39ncDvlSZBWsNlxpkbGUSck7NIxjK2QfcVN1ldGbHlZTFvtqg==", "dependencies": { "tslib": "^2.3.0" }, @@ -646,16 +739,16 @@ "node": "^14.20.0 || ^16.13.0 || >=18.10.0" }, "peerDependencies": { - "@angular/common": "15.1.1", - "@angular/core": "15.1.1", - "@angular/platform-browser": "15.1.1", + "@angular/common": "15.2.9", + "@angular/core": "15.2.9", + "@angular/platform-browser": "15.2.9", "rxjs": "^6.5.3 || ^7.4.0" } }, "node_modules/@angular/material": { - "version": "15.1.1", - "resolved": "https://registry.npmjs.org/@angular/material/-/material-15.1.1.tgz", - "integrity": "sha512-QhyTJv9CnimXKXb4LCH93ovJVAdnoHyElwspl80PcfAV/6A6VrRQAflFoul0WL4WPrV50DG7TWYiEwHPpblbCw==", + "version": "15.2.9", + "resolved": "https://registry.npmjs.org/@angular/material/-/material-15.2.9.tgz", + "integrity": "sha512-emuFF/7+91Jq+6kVCl3FiVoFLtAZoh+woFQWNuK8nhx0HmD4ckLFI8d9a6ERYR3zRuKhq5deSRE2kYsfpjrrsQ==", "dependencies": { "@material/animation": "15.0.0-canary.684e33d25.0", "@material/auto-init": "15.0.0-canary.684e33d25.0", @@ -708,7 +801,7 @@ }, "peerDependencies": { "@angular/animations": "^15.0.0 || ^16.0.0", - "@angular/cdk": "15.1.1", + "@angular/cdk": "15.2.9", "@angular/common": "^15.0.0 || ^16.0.0", "@angular/core": "^15.0.0 || ^16.0.0", "@angular/forms": "^15.0.0 || ^16.0.0", @@ -717,22 +810,22 @@ } }, "node_modules/@angular/material-luxon-adapter": { - "version": "15.1.1", - "resolved": "https://registry.npmjs.org/@angular/material-luxon-adapter/-/material-luxon-adapter-15.1.1.tgz", - "integrity": "sha512-J3yYt3zfP4oNBedDPvP6JD6w3uUzwGkYDOkptbrYmy7SpH9Zyut84jcF++gjkFJqFB9tyCJxB/d/sSzEMJUOBQ==", + "version": "15.2.9", + "resolved": "https://registry.npmjs.org/@angular/material-luxon-adapter/-/material-luxon-adapter-15.2.9.tgz", + "integrity": "sha512-w05ncGb3TrT4UP4h/ef9fQYoTSlI6ud9UQI/KIOHzsEvoXIj56P3lLyCXNgtisnd/Xb7SQcJ1On7gi+6W1UStg==", "dependencies": { "tslib": "^2.3.0" }, "peerDependencies": { "@angular/core": "^15.0.0 || ^16.0.0", - "@angular/material": "15.1.1", + "@angular/material": "15.2.9", "luxon": "^3.0.0" } }, "node_modules/@angular/platform-browser": { - "version": "15.1.1", - "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-15.1.1.tgz", - "integrity": "sha512-U1MXowvyigmMpffsnMQI6e9gX7tA6Su7unY0pjN5u9wRYJIkEbKuFyVijguQ83bt+JK3ZBHXD0dvskYnscGUzg==", + "version": "15.2.9", + "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-15.2.9.tgz", + "integrity": "sha512-ufCHeSX+U6d43YOMkn3igwfqtlozoCXADcbyfUEG8m2y9XASobqmCKvdSk/zfl62oyiA8msntWBJVBE2l4xKXg==", "dependencies": { "tslib": "^2.3.0" }, @@ -740,9 +833,9 @@ "node": "^14.20.0 || ^16.13.0 || >=18.10.0" }, "peerDependencies": { - "@angular/animations": "15.1.1", - "@angular/common": "15.1.1", - "@angular/core": "15.1.1" + "@angular/animations": "15.2.9", + "@angular/common": "15.2.9", + "@angular/core": "15.2.9" }, "peerDependenciesMeta": { "@angular/animations": { @@ -751,9 +844,9 @@ } }, "node_modules/@angular/platform-browser-dynamic": { - "version": "15.1.1", - "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-15.1.1.tgz", - "integrity": "sha512-iCbvYduSGtyBWuQfTzm/MDZy7Rd5MNsjpknEtJ45nbjZzv9EL1tGo6qufaTgPXHP8Nbfcco/4UO9w84Gp5irLA==", + "version": "15.2.9", + "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-15.2.9.tgz", + "integrity": "sha512-ZIYDM6MShblb8OyV1m4+18lJJ2LCeICmeg2uSbpFYptYBSOClrTiYOOFVDJvn7HLvNzljLs16XPrgyaYVqNpcw==", "dependencies": { "tslib": "^2.3.0" }, @@ -761,16 +854,16 @@ "node": "^14.20.0 || ^16.13.0 || >=18.10.0" }, "peerDependencies": { - "@angular/common": "15.1.1", - "@angular/compiler": "15.1.1", - "@angular/core": "15.1.1", - "@angular/platform-browser": "15.1.1" + "@angular/common": "15.2.9", + "@angular/compiler": "15.2.9", + "@angular/core": "15.2.9", + "@angular/platform-browser": "15.2.9" } }, "node_modules/@angular/router": { - "version": "15.1.1", - "resolved": "https://registry.npmjs.org/@angular/router/-/router-15.1.1.tgz", - "integrity": "sha512-5l1+6MzeJW01BeO8ZNfYe/TEVzxIHDKHWUrsmGE6oQW01LezG5LUjwR1T23YeR8G5zzRs/p+AU72wTn/aPGQHg==", + "version": "15.2.9", + "resolved": "https://registry.npmjs.org/@angular/router/-/router-15.2.9.tgz", + "integrity": "sha512-UCbh5DLSDhybv0xKYT7kGQMfOVdyhHIHOZz5EYVebbhste6S+W1LE57vTHq7QtxJsyKBa/WSkaUkCLXD6ntCAg==", "dependencies": { "tslib": "^2.3.0" }, @@ -778,9 +871,9 @@ "node": "^14.20.0 || ^16.13.0 || >=18.10.0" }, "peerDependencies": { - "@angular/common": "15.1.1", - "@angular/core": "15.1.1", - "@angular/platform-browser": "15.1.1", + "@angular/common": "15.2.9", + "@angular/core": "15.2.9", + "@angular/platform-browser": "15.2.9", "rxjs": "^6.5.3 || ^7.4.0" } }, @@ -850,9 +943,9 @@ } }, "node_modules/@babel/generator": { - "version": "7.20.7", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.20.7.tgz", - "integrity": "sha512-7wqMOJq8doJMZmP4ApXTzLxSr7+oO2jroJURrVEp6XShrQUObV8Tq/D0NCcoYg2uHqUrjzO0zwBjoYzelxK+sw==", + "version": "7.20.14", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.20.14.tgz", + "integrity": "sha512-AEmuXHdcD3A52HHXxaTmYlb8q/xMEhoRP67B3T4Oq7lbmSoqroMZzjnGj3+i1io3pdnF8iBYVu4Ilj+c4hBxYg==", "dev": true, "dependencies": { "@babel/types": "^7.20.7", @@ -2391,9 +2484,9 @@ } }, "node_modules/@babel/runtime": { - "version": "7.20.7", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.20.7.tgz", - "integrity": "sha512-UF0tvkUtxwAgZ5W/KrkHf0Rn0fdnLDU9ScxBrEVNUprE/MzirjK4MJUX1/BVDv00Sv8cljtukVK1aky++X1SjQ==", + "version": "7.20.13", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.20.13.tgz", + "integrity": "sha512-gt3PKXs0DBoL9xCvOIIZ2NEqAGZqHjAnmVbfQtB620V0uReIQutpel14KcneZuer7UioY8ALKZ7iocavvzTNFA==", "dev": true, "dependencies": { "regenerator-runtime": "^0.13.11" @@ -2470,9 +2563,9 @@ } }, "node_modules/@esbuild/android-arm": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.16.17.tgz", - "integrity": "sha512-N9x1CMXVhtWEAMS7pNNONyA14f71VPQN9Cnavj1XQh6T7bskqiLLrSca4O0Vr8Wdcga943eThxnVp3JLnBMYtw==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.17.8.tgz", + "integrity": "sha512-0/rb91GYKhrtbeglJXOhAv9RuYimgI8h623TplY2X+vA4EXnk3Zj1fXZreJ0J3OJJu1bwmb0W7g+2cT/d8/l/w==", "cpu": [ "arm" ], @@ -2486,9 +2579,9 @@ } }, "node_modules/@esbuild/android-arm64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.16.17.tgz", - "integrity": "sha512-MIGl6p5sc3RDTLLkYL1MyL8BMRN4tLMRCn+yRJJmEDvYZ2M7tmAf80hx1kbNEUX2KJ50RRtxZ4JHLvCfuB6kBg==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.17.8.tgz", + "integrity": "sha512-oa/N5j6v1svZQs7EIRPqR8f+Bf8g6HBDjD/xHC02radE/NjKHK7oQmtmLxPs1iVwYyvE+Kolo6lbpfEQ9xnhxQ==", "cpu": [ "arm64" ], @@ -2502,9 +2595,9 @@ } }, "node_modules/@esbuild/android-x64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.16.17.tgz", - "integrity": "sha512-a3kTv3m0Ghh4z1DaFEuEDfz3OLONKuFvI4Xqczqx4BqLyuFaFkuaG4j2MtA6fuWEFeC5x9IvqnX7drmRq/fyAQ==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.17.8.tgz", + "integrity": "sha512-bTliMLqD7pTOoPg4zZkXqCDuzIUguEWLpeqkNfC41ODBHwoUgZ2w5JBeYimv4oP6TDVocoYmEhZrCLQTrH89bg==", "cpu": [ "x64" ], @@ -2518,9 +2611,9 @@ } }, "node_modules/@esbuild/darwin-arm64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.16.17.tgz", - "integrity": "sha512-/2agbUEfmxWHi9ARTX6OQ/KgXnOWfsNlTeLcoV7HSuSTv63E4DqtAc+2XqGw1KHxKMHGZgbVCZge7HXWX9Vn+w==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.17.8.tgz", + "integrity": "sha512-ghAbV3ia2zybEefXRRm7+lx8J/rnupZT0gp9CaGy/3iolEXkJ6LYRq4IpQVI9zR97ID80KJVoUlo3LSeA/sMAg==", "cpu": [ "arm64" ], @@ -2534,9 +2627,9 @@ } }, "node_modules/@esbuild/darwin-x64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.16.17.tgz", - "integrity": "sha512-2By45OBHulkd9Svy5IOCZt376Aa2oOkiE9QWUK9fe6Tb+WDr8hXL3dpqi+DeLiMed8tVXspzsTAvd0jUl96wmg==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.17.8.tgz", + "integrity": "sha512-n5WOpyvZ9TIdv2V1K3/iIkkJeKmUpKaCTdun9buhGRWfH//osmUjlv4Z5mmWdPWind/VGcVxTHtLfLCOohsOXw==", "cpu": [ "x64" ], @@ -2550,9 +2643,9 @@ } }, "node_modules/@esbuild/freebsd-arm64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.16.17.tgz", - "integrity": "sha512-mt+cxZe1tVx489VTb4mBAOo2aKSnJ33L9fr25JXpqQqzbUIw/yzIzi+NHwAXK2qYV1lEFp4OoVeThGjUbmWmdw==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.17.8.tgz", + "integrity": "sha512-a/SATTaOhPIPFWvHZDoZYgxaZRVHn0/LX1fHLGfZ6C13JqFUZ3K6SMD6/HCtwOQ8HnsNaEeokdiDSFLuizqv5A==", "cpu": [ "arm64" ], @@ -2566,9 +2659,9 @@ } }, "node_modules/@esbuild/freebsd-x64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.16.17.tgz", - "integrity": "sha512-8ScTdNJl5idAKjH8zGAsN7RuWcyHG3BAvMNpKOBaqqR7EbUhhVHOqXRdL7oZvz8WNHL2pr5+eIT5c65kA6NHug==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.17.8.tgz", + "integrity": "sha512-xpFJb08dfXr5+rZc4E+ooZmayBW6R3q59daCpKZ/cDU96/kvDM+vkYzNeTJCGd8rtO6fHWMq5Rcv/1cY6p6/0Q==", "cpu": [ "x64" ], @@ -2582,9 +2675,9 @@ } }, "node_modules/@esbuild/linux-arm": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.16.17.tgz", - "integrity": "sha512-iihzrWbD4gIT7j3caMzKb/RsFFHCwqqbrbH9SqUSRrdXkXaygSZCZg1FybsZz57Ju7N/SHEgPyaR0LZ8Zbe9gQ==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.17.8.tgz", + "integrity": "sha512-6Ij8gfuGszcEwZpi5jQIJCVIACLS8Tz2chnEBfYjlmMzVsfqBP1iGmHQPp7JSnZg5xxK9tjCc+pJ2WtAmPRFVA==", "cpu": [ "arm" ], @@ -2598,9 +2691,9 @@ } }, "node_modules/@esbuild/linux-arm64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.16.17.tgz", - "integrity": "sha512-7S8gJnSlqKGVJunnMCrXHU9Q8Q/tQIxk/xL8BqAP64wchPCTzuM6W3Ra8cIa1HIflAvDnNOt2jaL17vaW+1V0g==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.17.8.tgz", + "integrity": "sha512-v3iwDQuDljLTxpsqQDl3fl/yihjPAyOguxuloON9kFHYwopeJEf1BkDXODzYyXEI19gisEsQlG1bM65YqKSIww==", "cpu": [ "arm64" ], @@ -2614,9 +2707,9 @@ } }, "node_modules/@esbuild/linux-ia32": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.16.17.tgz", - "integrity": "sha512-kiX69+wcPAdgl3Lonh1VI7MBr16nktEvOfViszBSxygRQqSpzv7BffMKRPMFwzeJGPxcio0pdD3kYQGpqQ2SSg==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.17.8.tgz", + "integrity": "sha512-8svILYKhE5XetuFk/B6raFYIyIqydQi+GngEXJgdPdI7OMKUbSd7uzR02wSY4kb53xBrClLkhH4Xs8P61Q2BaA==", "cpu": [ "ia32" ], @@ -2630,9 +2723,9 @@ } }, "node_modules/@esbuild/linux-loong64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.16.17.tgz", - "integrity": "sha512-dTzNnQwembNDhd654cA4QhbS9uDdXC3TKqMJjgOWsC0yNCbpzfWoXdZvp0mY7HU6nzk5E0zpRGGx3qoQg8T2DQ==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.17.8.tgz", + "integrity": "sha512-B6FyMeRJeV0NpyEOYlm5qtQfxbdlgmiGdD+QsipzKfFky0K5HW5Td6dyK3L3ypu1eY4kOmo7wW0o94SBqlqBSA==", "cpu": [ "loong64" ], @@ -2646,9 +2739,9 @@ } }, "node_modules/@esbuild/linux-mips64el": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.16.17.tgz", - "integrity": "sha512-ezbDkp2nDl0PfIUn0CsQ30kxfcLTlcx4Foz2kYv8qdC6ia2oX5Q3E/8m6lq84Dj/6b0FrkgD582fJMIfHhJfSw==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.17.8.tgz", + "integrity": "sha512-CCb67RKahNobjm/eeEqeD/oJfJlrWyw29fgiyB6vcgyq97YAf3gCOuP6qMShYSPXgnlZe/i4a8WFHBw6N8bYAA==", "cpu": [ "mips64el" ], @@ -2662,9 +2755,9 @@ } }, "node_modules/@esbuild/linux-ppc64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.16.17.tgz", - "integrity": "sha512-dzS678gYD1lJsW73zrFhDApLVdM3cUF2MvAa1D8K8KtcSKdLBPP4zZSLy6LFZ0jYqQdQ29bjAHJDgz0rVbLB3g==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.17.8.tgz", + "integrity": "sha512-bytLJOi55y55+mGSdgwZ5qBm0K9WOCh0rx+vavVPx+gqLLhxtSFU0XbeYy/dsAAD6xECGEv4IQeFILaSS2auXw==", "cpu": [ "ppc64" ], @@ -2678,9 +2771,9 @@ } }, "node_modules/@esbuild/linux-riscv64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.16.17.tgz", - "integrity": "sha512-ylNlVsxuFjZK8DQtNUwiMskh6nT0vI7kYl/4fZgV1llP5d6+HIeL/vmmm3jpuoo8+NuXjQVZxmKuhDApK0/cKw==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.17.8.tgz", + "integrity": "sha512-2YpRyQJmKVBEHSBLa8kBAtbhucaclb6ex4wchfY0Tj3Kg39kpjeJ9vhRU7x4mUpq8ISLXRXH1L0dBYjAeqzZAw==", "cpu": [ "riscv64" ], @@ -2694,9 +2787,9 @@ } }, "node_modules/@esbuild/linux-s390x": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.16.17.tgz", - "integrity": "sha512-gzy7nUTO4UA4oZ2wAMXPNBGTzZFP7mss3aKR2hH+/4UUkCOyqmjXiKpzGrY2TlEUhbbejzXVKKGazYcQTZWA/w==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.17.8.tgz", + "integrity": "sha512-QgbNY/V3IFXvNf11SS6exkpVcX0LJcob+0RWCgV9OiDAmVElnxciHIisoSix9uzYzScPmS6dJFbZULdSAEkQVw==", "cpu": [ "s390x" ], @@ -2710,9 +2803,9 @@ } }, "node_modules/@esbuild/linux-x64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.16.17.tgz", - "integrity": "sha512-mdPjPxfnmoqhgpiEArqi4egmBAMYvaObgn4poorpUaqmvzzbvqbowRllQ+ZgzGVMGKaPkqUmPDOOFQRUFDmeUw==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.17.8.tgz", + "integrity": "sha512-mM/9S0SbAFDBc4OPoyP6SEOo5324LpUxdpeIUUSrSTOfhHU9hEfqRngmKgqILqwx/0DVJBzeNW7HmLEWp9vcOA==", "cpu": [ "x64" ], @@ -2726,9 +2819,9 @@ } }, "node_modules/@esbuild/netbsd-x64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.16.17.tgz", - "integrity": "sha512-/PzmzD/zyAeTUsduZa32bn0ORug+Jd1EGGAUJvqfeixoEISYpGnAezN6lnJoskauoai0Jrs+XSyvDhppCPoKOA==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.17.8.tgz", + "integrity": "sha512-eKUYcWaWTaYr9zbj8GertdVtlt1DTS1gNBWov+iQfWuWyuu59YN6gSEJvFzC5ESJ4kMcKR0uqWThKUn5o8We6Q==", "cpu": [ "x64" ], @@ -2742,9 +2835,9 @@ } }, "node_modules/@esbuild/openbsd-x64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.16.17.tgz", - "integrity": "sha512-2yaWJhvxGEz2RiftSk0UObqJa/b+rIAjnODJgv2GbGGpRwAfpgzyrg1WLK8rqA24mfZa9GvpjLcBBg8JHkoodg==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.17.8.tgz", + "integrity": "sha512-Vc9J4dXOboDyMXKD0eCeW0SIeEzr8K9oTHJU+Ci1mZc5njPfhKAqkRt3B/fUNU7dP+mRyralPu8QUkiaQn7iIg==", "cpu": [ "x64" ], @@ -2758,9 +2851,9 @@ } }, "node_modules/@esbuild/sunos-x64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.16.17.tgz", - "integrity": "sha512-xtVUiev38tN0R3g8VhRfN7Zl42YCJvyBhRKw1RJjwE1d2emWTVToPLNEQj/5Qxc6lVFATDiy6LjVHYhIPrLxzw==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.17.8.tgz", + "integrity": "sha512-0xvOTNuPXI7ft1LYUgiaXtpCEjp90RuBBYovdd2lqAFxje4sEucurg30M1WIm03+3jxByd3mfo+VUmPtRSVuOw==", "cpu": [ "x64" ], @@ -2774,9 +2867,9 @@ } }, "node_modules/@esbuild/win32-arm64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.16.17.tgz", - "integrity": "sha512-ga8+JqBDHY4b6fQAmOgtJJue36scANy4l/rL97W+0wYmijhxKetzZdKOJI7olaBaMhWt8Pac2McJdZLxXWUEQw==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.17.8.tgz", + "integrity": "sha512-G0JQwUI5WdEFEnYNKzklxtBheCPkuDdu1YrtRrjuQv30WsYbkkoixKxLLv8qhJmNI+ATEWquZe/N0d0rpr55Mg==", "cpu": [ "arm64" ], @@ -2790,9 +2883,9 @@ } }, "node_modules/@esbuild/win32-ia32": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.16.17.tgz", - "integrity": "sha512-WnsKaf46uSSF/sZhwnqE4L/F89AYNMiD4YtEcYekBt9Q7nj0DiId2XH2Ng2PHM54qi5oPrQ8luuzGszqi/veig==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.17.8.tgz", + "integrity": "sha512-Fqy63515xl20OHGFykjJsMnoIWS+38fqfg88ClvPXyDbLtgXal2DTlhb1TfTX34qWi3u4I7Cq563QcHpqgLx8w==", "cpu": [ "ia32" ], @@ -2806,9 +2899,9 @@ } }, "node_modules/@esbuild/win32-x64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.16.17.tgz", - "integrity": "sha512-y+EHuSchhL7FjHgvQL/0fnnFmO4T1bhvWANX6gcnqTjtnKWbTvUMCpGnv2+t+31d7RzyEAYAd4u2fnIhHL6N/Q==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.17.8.tgz", + "integrity": "sha512-1iuezdyDNngPnz8rLRDO2C/ZZ/emJLb72OsZeqQ6gL6Avko/XCXZw+NuxBSNhBAP13Hie418V7VMt9et1FMvpg==", "cpu": [ "x64" ], @@ -2827,6 +2920,102 @@ "integrity": "sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==", "dev": true }, + "node_modules/@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "dev": true, + "dependencies": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@isaacs/cliui/node_modules/ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", + "dev": true + }, + "node_modules/@isaacs/cliui/node_modules/string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dev": true, + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@isaacs/cliui/node_modules/strip-ansi": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.0.1.tgz", + "integrity": "sha512-cXNxvT8dFNRVfhVME3JAe98mkXDYN2O1l7jmcwMnOslDeESg1rF/OZMtK0nRAhiari1unG5cD4jG3rapUAkLbw==", + "dev": true, + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, "node_modules/@istanbuljs/load-nyc-config": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", @@ -2866,9 +3055,9 @@ } }, "node_modules/@jridgewell/resolve-uri": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.0.7.tgz", - "integrity": "sha512-8cXDaBBHOr2pQ7j77Y6Vp5VDT2sIqWyWQ56TjEq4ih/a4iST3dItRe8Q9fp0rrIl9DoKhWQtUQz/YpOxLkXbNA==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz", + "integrity": "sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==", "dev": true, "engines": { "node": ">=6.0.0" @@ -2884,9 +3073,9 @@ } }, "node_modules/@jridgewell/source-map": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.2.tgz", - "integrity": "sha512-m7O9o2uR8k2ObDysZYzdfhb08VuEml5oWGiosa1VdaPZ/A6QyPkAJuwN0Q1lhULOf6B7MtQmHENS743hWtCrgw==", + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.3.tgz", + "integrity": "sha512-b+fsZXeLYi9fEULmfBrhxn4IrPlINf8fiNarzTof004v3lFdntdwa9PF7vFJqm3mg7s+ScJMxXaE3Acp1irZcg==", "dev": true, "dependencies": { "@jridgewell/gen-mapping": "^0.3.0", @@ -2894,9 +3083,9 @@ } }, "node_modules/@jridgewell/source-map/node_modules/@jridgewell/gen-mapping": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz", - "integrity": "sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==", + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", + "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", "dev": true, "dependencies": { "@jridgewell/set-array": "^1.0.1", @@ -2914,13 +3103,13 @@ "dev": true }, "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.15", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.15.tgz", - "integrity": "sha512-oWZNOULl+UbhsgB51uuZzglikfIKSUBO/M9W2OfEjn7cmqoAiCgmv9lyACTUacZwBz0ITnJ2NqjU8Tx0DHL88g==", + "version": "0.3.18", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.18.tgz", + "integrity": "sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA==", "dev": true, "dependencies": { - "@jridgewell/resolve-uri": "^3.0.3", - "@jridgewell/sourcemap-codec": "^1.4.10" + "@jridgewell/resolve-uri": "3.1.0", + "@jridgewell/sourcemap-codec": "1.4.14" } }, "node_modules/@leichtgewicht/ip-codec": { @@ -3681,9 +3870,9 @@ } }, "node_modules/@ngneat/transloco": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/@ngneat/transloco/-/transloco-4.2.2.tgz", - "integrity": "sha512-IyLNUiC0O4aCRtvZ5D6KER9KP3UWoONJTAT7hhtBNWuLNNwamV29tlq08cYuMOKpp8i+YUWf9vTcRNeHsIQgYg==", + "version": "4.2.6", + "resolved": "https://registry.npmjs.org/@ngneat/transloco/-/transloco-4.2.6.tgz", + "integrity": "sha512-dh1pivJFSRLlF4fSAuwSWG2pwdhLHQ7FiDbVcJQIm3q0c6io5SqfRCi2WiFw+R0dys5RXNFX0PBr9spgYFdpdw==", "dependencies": { "@ngneat/transloco-utils": "^3.0.1", "flat": "5.0.2", @@ -3694,6 +3883,8 @@ }, "peerDependencies": { "@angular/core": ">=13.0.0", + "fs-extra": ">=9.1.0", + "glob": ">=7.1.7", "rxjs": ">=6.0.0" } }, @@ -3707,9 +3898,9 @@ } }, "node_modules/@ngtools/webpack": { - "version": "15.1.2", - "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-15.1.2.tgz", - "integrity": "sha512-IxKPqyA5hiwUioAAptFaETF2TifH6cTGOc7qKYFxFgzK+llZtEBcNj3w9zrL5uCFnPHWDZqdIDhH3/WM4zBmkw==", + "version": "15.2.8", + "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-15.2.8.tgz", + "integrity": "sha512-BJexeT4FxMtToVBGa3wdl6rrkYXgilP0kkSH4Qzu4MPlLPbeBSr4XQalQriewlpC2uzG0r2SJfrAe2eDhtSykA==", "dev": true, "engines": { "node": "^14.20.0 || ^16.13.0 || >=18.10.0", @@ -3770,14 +3961,13 @@ } }, "node_modules/@npmcli/git": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/@npmcli/git/-/git-4.0.3.tgz", - "integrity": "sha512-8cXNkDIbnXPVbhXMmQ7/bklCAjtmPaXfI9aEM4iH+xSuEHINLMHhlfESvVwdqmHJRJkR48vNJTSUvoF6GRPSFA==", + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@npmcli/git/-/git-4.0.4.tgz", + "integrity": "sha512-5yZghx+u5M47LghaybLCkdSyFzV/w4OuH12d96HO389Ik9CDsLaDZJVynSGGVJOLn6gy/k7Dz5XYcplM3uxXRg==", "dev": true, "dependencies": { "@npmcli/promise-spawn": "^6.0.0", "lru-cache": "^7.4.4", - "mkdirp": "^1.0.4", "npm-pick-manifest": "^8.0.0", "proc-log": "^3.0.0", "promise-inflight": "^1.0.1", @@ -3790,18 +3980,18 @@ } }, "node_modules/@npmcli/git/node_modules/lru-cache": { - "version": "7.14.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.1.tgz", - "integrity": "sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==", + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", "dev": true, "engines": { "node": ">=12" } }, "node_modules/@npmcli/git/node_modules/which": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/which/-/which-3.0.0.tgz", - "integrity": "sha512-nla//68K9NU6yRiwDY/Q8aU6siKlSs64aEC7+IV56QoAuyQT2ovsJcgGYGyqMOmI/CGN1BOR6mM5EN0FBO+zyQ==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/which/-/which-3.0.1.tgz", + "integrity": "sha512-XA1b62dzQzLfaEOSQFTCOd5KFf/1VSzZo7/7TUjnya6u0vGGKzU96UQBZTAThCb2j4/xjBAyii1OhRLJEivHvg==", "dev": true, "dependencies": { "isexe": "^2.0.0" @@ -3814,9 +4004,9 @@ } }, "node_modules/@npmcli/installed-package-contents": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@npmcli/installed-package-contents/-/installed-package-contents-2.0.1.tgz", - "integrity": "sha512-GIykAFdOVK31Q1/zAtT5MbxqQL2vyl9mvFJv+OGu01zxbhL3p0xc8gJjdNGX1mWmUT43aEKVO2L6V/2j4TOsAA==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@npmcli/installed-package-contents/-/installed-package-contents-2.0.2.tgz", + "integrity": "sha512-xACzLPhnfD51GKvTOOuNX2/V4G4mz9/1I2MfDoye9kBM3RYe5g2YbscsaGoTlaWqkxeiapBWyseULVKpSVHtKQ==", "dev": true, "dependencies": { "npm-bundled": "^3.0.0", @@ -3865,9 +4055,9 @@ } }, "node_modules/@npmcli/promise-spawn/node_modules/which": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/which/-/which-3.0.0.tgz", - "integrity": "sha512-nla//68K9NU6yRiwDY/Q8aU6siKlSs64aEC7+IV56QoAuyQT2ovsJcgGYGyqMOmI/CGN1BOR6mM5EN0FBO+zyQ==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/which/-/which-3.0.1.tgz", + "integrity": "sha512-XA1b62dzQzLfaEOSQFTCOd5KFf/1VSzZo7/7TUjnya6u0vGGKzU96UQBZTAThCb2j4/xjBAyii1OhRLJEivHvg==", "dev": true, "dependencies": { "isexe": "^2.0.0" @@ -3880,9 +4070,9 @@ } }, "node_modules/@npmcli/run-script": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/@npmcli/run-script/-/run-script-6.0.0.tgz", - "integrity": "sha512-ql+AbRur1TeOdl1FY+RAwGW9fcr4ZwiVKabdvm93mujGREVuVLbdkXRJDrkTXSdCjaxYydr1wlA2v67jxWG5BQ==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/@npmcli/run-script/-/run-script-6.0.1.tgz", + "integrity": "sha512-Yi04ZSold8jcbBJD/ahKMJSQCQifH8DAbMwkBvoLaTpGFxzHC3B/5ZyoVR69q/4xedz84tvi9DJOJjNe17h+LA==", "dev": true, "dependencies": { "@npmcli/node-gyp": "^3.0.0", @@ -3896,9 +4086,9 @@ } }, "node_modules/@npmcli/run-script/node_modules/which": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/which/-/which-3.0.0.tgz", - "integrity": "sha512-nla//68K9NU6yRiwDY/Q8aU6siKlSs64aEC7+IV56QoAuyQT2ovsJcgGYGyqMOmI/CGN1BOR6mM5EN0FBO+zyQ==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/which/-/which-3.0.1.tgz", + "integrity": "sha512-XA1b62dzQzLfaEOSQFTCOd5KFf/1VSzZo7/7TUjnya6u0vGGKzU96UQBZTAThCb2j4/xjBAyii1OhRLJEivHvg==", "dev": true, "dependencies": { "isexe": "^2.0.0" @@ -3910,14 +4100,24 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, + "node_modules/@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "dev": true, + "optional": true, + "engines": { + "node": ">=14" + } + }, "node_modules/@schematics/angular": { - "version": "15.1.2", - "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-15.1.2.tgz", - "integrity": "sha512-PcAbjbWvaW3yKvcGCqHrlHm4BTwGuqr58czCASc49Hy6tJba+dRblYatzB0D1tzdJOTsa684Ghg7knCN86fHeg==", + "version": "15.2.8", + "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-15.2.8.tgz", + "integrity": "sha512-F49IEzCFxQlpaMIgTO/wF1l/CLQKif7VaiDdyiTKOeT22IMmyd61FUmWDyZYfCBqMlvBmvDGx64HaHWes1HYCg==", "dev": true, "dependencies": { - "@angular-devkit/core": "15.1.2", - "@angular-devkit/schematics": "15.1.2", + "@angular-devkit/core": "15.2.8", + "@angular-devkit/schematics": "15.2.8", "jsonc-parser": "3.2.0" }, "engines": { @@ -3926,13 +4126,13 @@ "yarn": ">= 1.13.0" } }, - "node_modules/@tailwindcss/line-clamp": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/@tailwindcss/line-clamp/-/line-clamp-0.4.2.tgz", - "integrity": "sha512-HFzAQuqYCjyy/SX9sLGB1lroPzmcnWv1FHkIpmypte10hptf4oPUfucryMKovZh2u0uiS9U5Ty3GghWfEJGwVw==", + "node_modules/@sigstore/protobuf-specs": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@sigstore/protobuf-specs/-/protobuf-specs-0.1.0.tgz", + "integrity": "sha512-a31EnjuIDSX8IXBUib3cYLDRlPMU36AWX4xS8ysLaNu4ZzUesDiPt83pgrW2X1YLMe5L2HbDyaKK5BrL4cNKaQ==", "dev": true, - "peerDependencies": { - "tailwindcss": ">=2.0.0 || >=3.0.0 || >=3.0.0-alpha.1" + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/@tailwindcss/typography": { @@ -3959,6 +4159,52 @@ "node": ">= 10" } }, + "node_modules/@tufjs/canonical-json": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@tufjs/canonical-json/-/canonical-json-1.0.0.tgz", + "integrity": "sha512-QTnf++uxunWvG2z3UFNzAoQPHxnSXOwtaI3iJ+AohhV+5vONuArPjJE7aPXPVXfXJsqrVbZBu9b81AJoSd09IQ==", + "dev": true, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@tufjs/models": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@tufjs/models/-/models-1.0.4.tgz", + "integrity": "sha512-qaGV9ltJP0EO25YfFUPhxRVK0evXFIAGicsVXuRim4Ed9cjPxYhNnNJ49SFmbeLgtxpslIkX317IgpfcHPVj/A==", + "dev": true, + "dependencies": { + "@tufjs/canonical-json": "1.0.0", + "minimatch": "^9.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@tufjs/models/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/@tufjs/models/node_modules/minimatch": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.0.tgz", + "integrity": "sha512-0jJj8AvgKqWN05mrwuqi8QYKx1WmYSUoKSxu5Qhs9prezTz10sxAHGNZe9J9cqIJzta8DWsleh2KaVaLl6Ru2w==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/@types/body-parser": { "version": "1.19.2", "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.2.tgz", @@ -3979,9 +4225,9 @@ } }, "node_modules/@types/chroma-js": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/@types/chroma-js/-/chroma-js-2.1.4.tgz", - "integrity": "sha512-l9hWzP7cp7yleJUI7P2acmpllTJNYf5uU6wh50JzSIZt3fFHe+w2FM6w9oZGBTYzjjm2qHdnQvI+fF/JF/E5jQ==", + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/@types/chroma-js/-/chroma-js-2.4.0.tgz", + "integrity": "sha512-JklMxityrwjBTjGY2anH8JaTx3yjRU3/sEHSblLH1ba5lqcSh1LnImXJZO5peJfXyqKYWjHTGy4s5Wz++hARrw==", "dev": true }, "node_modules/@types/component-emitter": { @@ -4028,9 +4274,9 @@ "dev": true }, "node_modules/@types/eslint": { - "version": "8.4.10", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.4.10.tgz", - "integrity": "sha512-Sl/HOqN8NKPmhWo2VBEPm0nvHnu2LL3v9vKo8MEq0EtbJ4eVzGPl41VNPvn5E1i5poMk4/XD8UriLHpJvEP/Nw==", + "version": "8.37.0", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.37.0.tgz", + "integrity": "sha512-Piet7dG2JBuDIfohBngQ3rCt7MgO9xCO4xIMKxBThCq5PNRB91IjlJ10eJVwfoNtvTErmxLzwBZ7rHZtbOMmFQ==", "dev": true, "dependencies": { "@types/estree": "*", @@ -4108,24 +4354,24 @@ "dev": true }, "node_modules/@types/lodash": { - "version": "4.14.191", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.191.tgz", - "integrity": "sha512-BdZ5BCCvho3EIXw6wUCXHe7rS53AIDPLE+JzwgT+OsJk53oBfbSmZZ7CX4VaRoN78N+TJpFi9QPlfIVNmJYWxQ==", + "version": "4.14.194", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.194.tgz", + "integrity": "sha512-r22s9tAS7imvBt2lyHC9B8AGwWnXaYb1tY09oyLkXDs4vArpYJzw09nj8MLx5VfciBPGIb+ZwG0ssYnEPJxn/g==", "dev": true }, "node_modules/@types/lodash-es": { - "version": "4.17.6", - "resolved": "https://registry.npmjs.org/@types/lodash-es/-/lodash-es-4.17.6.tgz", - "integrity": "sha512-R+zTeVUKDdfoRxpAryaQNRKk3105Rrgx2CFRClIgRGaqDTdjsm8h6IYA8ir584W3ePzkZfst5xIgDwYrlh9HLg==", + "version": "4.17.7", + "resolved": "https://registry.npmjs.org/@types/lodash-es/-/lodash-es-4.17.7.tgz", + "integrity": "sha512-z0ptr6UI10VlU6l5MYhGwS4mC8DZyYer2mCoyysZtSF7p26zOX8UpbrV0YpNYLGS8K4PUFIyEr62IMFFjveSiQ==", "dev": true, "dependencies": { "@types/lodash": "*" } }, "node_modules/@types/luxon": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/@types/luxon/-/luxon-3.2.0.tgz", - "integrity": "sha512-lGmaGFoaXHuOLXFvuju2bfvZRqxAqkHPx9Y9IQdQABrinJJshJwfNCKV+u7rR3kJbiqfTF/NhOkcxxAFrObyaA==", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/@types/luxon/-/luxon-3.3.0.tgz", + "integrity": "sha512-uKRI5QORDnrGFYgcdAVnHvEIvEZ8noTpP/Bg+HeUzZghwinDlIS87DEenV5r1YoOF9G4x600YsUXLWZ19rmTmg==", "dev": true }, "node_modules/@types/mime": { @@ -4390,9 +4636,9 @@ } }, "node_modules/acorn": { - "version": "7.4.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", - "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", + "version": "8.8.2", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.2.tgz", + "integrity": "sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==", "dev": true, "bin": { "acorn": "bin/acorn" @@ -4410,26 +4656,6 @@ "acorn": "^8" } }, - "node_modules/acorn-node": { - "version": "1.8.2", - "resolved": "https://registry.npmjs.org/acorn-node/-/acorn-node-1.8.2.tgz", - "integrity": "sha512-8mt+fslDufLYntIoPAaIMUe/lrbrehIiwmR3t2k9LljIzoigEPF27eLk2hy8zSGzmR/ogr7zbRKINMo1u0yh5A==", - "dev": true, - "dependencies": { - "acorn": "^7.0.0", - "acorn-walk": "^7.0.0", - "xtend": "^4.0.2" - } - }, - "node_modules/acorn-walk": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.2.0.tgz", - "integrity": "sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==", - "dev": true, - "engines": { - "node": ">=0.4.0" - } - }, "node_modules/adjust-sourcemap-loader": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/adjust-sourcemap-loader/-/adjust-sourcemap-loader-4.0.0.tgz", @@ -4470,19 +4696,28 @@ } }, "node_modules/agentkeepalive": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.2.1.tgz", - "integrity": "sha512-Zn4cw2NEqd+9fiSVWMscnjyQ1a8Yfoc5oBajLeo5w+YBHgDUcEBY2hS4YpTz6iN5f/2zQiktcuM6tS8x1p9dpA==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.3.0.tgz", + "integrity": "sha512-7Epl1Blf4Sy37j4v9f9FjICCh4+KAQOyXgHEwlyBiAQLbhKdq/i2QQU3amQalS/wPhdPzDXPL5DMR5bkn+YeWg==", "dev": true, "dependencies": { "debug": "^4.1.0", - "depd": "^1.1.2", + "depd": "^2.0.0", "humanize-ms": "^1.2.1" }, "engines": { "node": ">= 8.0.0" } }, + "node_modules/agentkeepalive/node_modules/depd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", + "dev": true, + "engines": { + "node": ">= 0.8" + } + }, "node_modules/aggregate-error": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", @@ -4593,6 +4828,12 @@ "node": ">=4" } }, + "node_modules/any-promise": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz", + "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==", + "dev": true + }, "node_modules/anymatch": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", @@ -4607,9 +4848,9 @@ } }, "node_modules/apexcharts": { - "version": "3.36.3", - "resolved": "https://registry.npmjs.org/apexcharts/-/apexcharts-3.36.3.tgz", - "integrity": "sha512-8/FXEs0ohXMff07Gv28XjhPwEJphIUdq2/wii/pcvi54Tw6z1mjrV8ydN8rlWi/ve8BAPBefJkLmRWv7UOBsLw==", + "version": "3.40.0", + "resolved": "https://registry.npmjs.org/apexcharts/-/apexcharts-3.40.0.tgz", + "integrity": "sha512-dSi3BUfCJkFd67uFp+xffrJVd3lDT7AAUUyRp0qPYiglJ76CeZLddVhM3FAk1P9GCzf8VewqGYUPCYQvXm+b9A==", "dependencies": { "svg.draggable.js": "^2.2.2", "svg.easing.js": "^2.0.0", @@ -4660,9 +4901,9 @@ "dev": true }, "node_modules/autoprefixer": { - "version": "10.4.13", - "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.13.tgz", - "integrity": "sha512-49vKpMqcZYsJjwotvt4+h/BCjJVnhGwcLpDt5xkcaOG3eLrG/HUYLagrihYsQ+qrIBgIzX1Rw7a6L8I/ZA1Atg==", + "version": "10.4.14", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.14.tgz", + "integrity": "sha512-FQzyfOsTlwVzjHxKEqRIAdJx9niO6VCBCoEwax/VLSoQF29ggECcPuBqUMZ+u8jCZOPSy8b8/8KnuFbp0SaFZQ==", "dev": true, "funding": [ { @@ -4675,8 +4916,8 @@ } ], "dependencies": { - "browserslist": "^4.21.4", - "caniuse-lite": "^1.0.30001426", + "browserslist": "^4.21.5", + "caniuse-lite": "^1.0.30001464", "fraction.js": "^4.2.0", "normalize-range": "^0.1.2", "picocolors": "^1.0.0", @@ -4940,9 +5181,9 @@ } }, "node_modules/browserslist": { - "version": "4.21.4", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.4.tgz", - "integrity": "sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw==", + "version": "4.21.5", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.5.tgz", + "integrity": "sha512-tUkiguQGW7S3IhB7N+c2MV/HZPSCPAAiYBZXLsBhFB/PCy6ZKKsZrmBayHV9fdGV/ARIfJ14NkxKzRDjvp7L6w==", "dev": true, "funding": [ { @@ -4955,10 +5196,10 @@ } ], "dependencies": { - "caniuse-lite": "^1.0.30001400", - "electron-to-chromium": "^1.4.251", - "node-releases": "^2.0.6", - "update-browserslist-db": "^1.0.9" + "caniuse-lite": "^1.0.30001449", + "electron-to-chromium": "^1.4.284", + "node-releases": "^2.0.8", + "update-browserslist-db": "^1.0.10" }, "bin": { "browserslist": "cli.js" @@ -5126,9 +5367,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001431", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001431.tgz", - "integrity": "sha512-zBUoFU0ZcxpvSt9IU66dXVT/3ctO1cy4y9cscs1szkPlcWb6pasYM144GqrUygUbT+k7cmUCW61cvskjcv0enQ==", + "version": "1.0.30001482", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001482.tgz", + "integrity": "sha512-F1ZInsg53cegyjroxLNW9DmrEQ1SuGRTO1QlpA0o2/6OpQ0gFeDRoq1yFmnr8Sakn9qwwt9DmbxHB6w167OSuQ==", "dev": true, "funding": [ { @@ -5138,6 +5379,10 @@ { "type": "tidelift", "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" } ] }, @@ -5312,6 +5557,15 @@ "integrity": "sha512-3tlv/dIP7FWvj3BsbHrGLJ6l/oKh1O3TcgBqMn+yyCagOxc23fyzDS6HypQbgxWbkpDnf52p1LuR4eWDQ/K9WQ==", "dev": true }, + "node_modules/commander": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", + "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", + "dev": true, + "engines": { + "node": ">= 6" + } + }, "node_modules/commondir": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", @@ -5890,12 +6144,6 @@ "node": ">= 0.4" } }, - "node_modules/defined": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz", - "integrity": "sha512-Y2caI5+ZwS5c3RiNDJ6u53VhQHv+hHKwhkI1iHvceKUHw9Df6EK2zRLfjejRgMuCuxK7PfSWIMwWecceVvThjQ==", - "dev": true - }, "node_modules/delegates": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", @@ -5936,23 +6184,6 @@ "integrity": "sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==", "dev": true }, - "node_modules/detective": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/detective/-/detective-5.2.1.tgz", - "integrity": "sha512-v9XE1zRnz1wRtgurGu0Bs8uHKFSTdteYZNbIPFVhUZ39L/S79ppMpdmVOZAnoz1jfEFodc48n6MX483Xo3t1yw==", - "dev": true, - "dependencies": { - "acorn-node": "^1.8.2", - "defined": "^1.0.0", - "minimist": "^1.2.6" - }, - "bin": { - "detective": "bin/detective.js" - }, - "engines": { - "node": ">=0.8.0" - } - }, "node_modules/di": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/di/-/di-0.0.1.tgz", @@ -6068,6 +6299,12 @@ "url": "https://github.com/fb55/domutils?sponsor=1" } }, + "node_modules/eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", + "dev": true + }, "node_modules/ee-first": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", @@ -6075,9 +6312,9 @@ "dev": true }, "node_modules/electron-to-chromium": { - "version": "1.4.271", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.271.tgz", - "integrity": "sha512-BCPBtK07xR1/uY2HFDtl3wK2De66AW4MSiPlLrnPNxKC/Qhccxd59W73654S3y6Rb/k3hmuGJOBnhjfoutetXA==", + "version": "1.4.382", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.382.tgz", + "integrity": "sha512-czMavlW52VIPgutbVL9JnZIZuFijzsG1ww/1z2Otu1r1q+9Qe2bTsH3My3sZarlvwyqHM6+mnZfEnt2Vr4dsIg==", "dev": true }, "node_modules/emoji-regex": { @@ -6157,9 +6394,9 @@ } }, "node_modules/enhanced-resolve": { - "version": "5.10.0", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.10.0.tgz", - "integrity": "sha512-T0yTFjdpldGY8PmuXXR0PyQ1ufZpEGiHVrp7zHKB7jdR4qlmZHhONVM5AQOAWXuF/w3dnHbEQVrNptJgt7F+cQ==", + "version": "5.13.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.13.0.tgz", + "integrity": "sha512-eyV8f0y1+bzyfh8xAwW/WTSZpLbjhqc4ne9eGSH4Zo2ejdyiNG9pU6mf9DG8a7+Auk6MFTlNOT4Y2y/9k8GKVg==", "dev": true, "dependencies": { "graceful-fs": "^4.2.4", @@ -6227,9 +6464,9 @@ "dev": true }, "node_modules/esbuild": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.16.17.tgz", - "integrity": "sha512-G8LEkV0XzDMNwXKgM0Jwu3nY3lSTwSGY6XbxM9cr9+s0T/qSV1q1JVPBGzm3dcjhCic9+emZDmMffkwgPeOeLg==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.17.8.tgz", + "integrity": "sha512-g24ybC3fWhZddZK6R3uD2iF/RIPnRpwJAqLov6ouX3hMbY4+tKolP0VMF3zuIYCaXun+yHwS5IPQ91N2BT191g==", "dev": true, "hasInstallScript": true, "optional": true, @@ -6240,34 +6477,34 @@ "node": ">=12" }, "optionalDependencies": { - "@esbuild/android-arm": "0.16.17", - "@esbuild/android-arm64": "0.16.17", - "@esbuild/android-x64": "0.16.17", - "@esbuild/darwin-arm64": "0.16.17", - "@esbuild/darwin-x64": "0.16.17", - "@esbuild/freebsd-arm64": "0.16.17", - "@esbuild/freebsd-x64": "0.16.17", - "@esbuild/linux-arm": "0.16.17", - "@esbuild/linux-arm64": "0.16.17", - "@esbuild/linux-ia32": "0.16.17", - "@esbuild/linux-loong64": "0.16.17", - "@esbuild/linux-mips64el": "0.16.17", - "@esbuild/linux-ppc64": "0.16.17", - "@esbuild/linux-riscv64": "0.16.17", - "@esbuild/linux-s390x": "0.16.17", - "@esbuild/linux-x64": "0.16.17", - "@esbuild/netbsd-x64": "0.16.17", - "@esbuild/openbsd-x64": "0.16.17", - "@esbuild/sunos-x64": "0.16.17", - "@esbuild/win32-arm64": "0.16.17", - "@esbuild/win32-ia32": "0.16.17", - "@esbuild/win32-x64": "0.16.17" + "@esbuild/android-arm": "0.17.8", + "@esbuild/android-arm64": "0.17.8", + "@esbuild/android-x64": "0.17.8", + "@esbuild/darwin-arm64": "0.17.8", + "@esbuild/darwin-x64": "0.17.8", + "@esbuild/freebsd-arm64": "0.17.8", + "@esbuild/freebsd-x64": "0.17.8", + "@esbuild/linux-arm": "0.17.8", + "@esbuild/linux-arm64": "0.17.8", + "@esbuild/linux-ia32": "0.17.8", + "@esbuild/linux-loong64": "0.17.8", + "@esbuild/linux-mips64el": "0.17.8", + "@esbuild/linux-ppc64": "0.17.8", + "@esbuild/linux-riscv64": "0.17.8", + "@esbuild/linux-s390x": "0.17.8", + "@esbuild/linux-x64": "0.17.8", + "@esbuild/netbsd-x64": "0.17.8", + "@esbuild/openbsd-x64": "0.17.8", + "@esbuild/sunos-x64": "0.17.8", + "@esbuild/win32-arm64": "0.17.8", + "@esbuild/win32-ia32": "0.17.8", + "@esbuild/win32-x64": "0.17.8" } }, "node_modules/esbuild-wasm": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/esbuild-wasm/-/esbuild-wasm-0.16.17.tgz", - "integrity": "sha512-Tn7NuMqRcM+T/qCOxbQRq0qrwWl1sUWp6ARfJRakE8Bepew6zata4qrKgH2YqovNC5e/2fcTa7o+VL/FAOZC1Q==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/esbuild-wasm/-/esbuild-wasm-0.17.8.tgz", + "integrity": "sha512-zCmpxv95E0FuCmvdw1K836UHnj4EdiQnFfjTby35y3LAjRPtXMj3sbHDRHjbD8Mqg5lTwq3knacr/1qIFU51CQ==", "dev": true, "bin": { "esbuild": "bin/esbuild" @@ -6765,6 +7002,34 @@ } } }, + "node_modules/foreground-child": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", + "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", + "dev": true, + "dependencies": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/foreground-child/node_modules/signal-exit": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.0.1.tgz", + "integrity": "sha512-uUWsN4aOxJAS8KOuf3QMyFtgm1pkb6I+KRZbRF/ghdf5T7sM+B1lLLzPDxswUjkmHyxQAVzEgG35E3NzDM9GVw==", + "dev": true, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/forwarded": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", @@ -7048,9 +7313,9 @@ "dev": true }, "node_modules/highlight.js": { - "version": "11.7.0", - "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.7.0.tgz", - "integrity": "sha512-1rRqesRFhMO/PRF+G86evnyJkCgaZFOI+Z6kdj15TA18funfoqJXvgPCLSf0SWq3SRfg1j3HlDs8o4s3EGq1oQ==", + "version": "11.8.0", + "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.8.0.tgz", + "integrity": "sha512-MedQhoqVdr0U6SSnWPzfiadUcDHfN/Wzq25AkXiQv9oiOO/sG0S7XkvpFIqWBl9Yq1UYyYOOVORs5UW2XlPyzg==", "engines": { "node": ">=12.0.0" } @@ -7068,9 +7333,9 @@ } }, "node_modules/hosted-git-info/node_modules/lru-cache": { - "version": "7.14.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.1.tgz", - "integrity": "sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==", + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", "dev": true, "engines": { "node": ">=12" @@ -7125,9 +7390,9 @@ "dev": true }, "node_modules/http-cache-semantics": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz", - "integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz", + "integrity": "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==", "dev": true }, "node_modules/http-deceiver": { @@ -7312,12 +7577,12 @@ } }, "node_modules/ignore-walk": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-6.0.0.tgz", - "integrity": "sha512-bTf9UWe/UP1yxG3QUrj/KOvEhTAUWPcv+WvbFZ28LcqznXabp7Xu6o9y1JEC18+oqODuS7VhTpekV5XvFwsxJg==", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-6.0.3.tgz", + "integrity": "sha512-C7FfFoTA+bI10qfeydT8aZbvr91vAEU+2W5BZUlzPec47oNb07SsOfwYrtxuvOYdUApPP/Qlh4DtAO51Ekk2QA==", "dev": true, "dependencies": { - "minimatch": "^5.0.1" + "minimatch": "^9.0.0" }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" @@ -7333,15 +7598,18 @@ } }, "node_modules/ignore-walk/node_modules/minimatch": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", - "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.0.tgz", + "integrity": "sha512-0jJj8AvgKqWN05mrwuqi8QYKx1WmYSUoKSxu5Qhs9prezTz10sxAHGNZe9J9cqIJzta8DWsleh2KaVaLl6Ru2w==", "dev": true, "dependencies": { "brace-expansion": "^2.0.1" }, "engines": { - "node": ">=10" + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, "node_modules/image-size": { @@ -7358,9 +7626,9 @@ } }, "node_modules/immutable": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.2.2.tgz", - "integrity": "sha512-fTMKDwtbvO5tldky9QZ2fMX7slR0mYpY5nbnFWYp0fOzDhHqhgIw9KoYgxLWsoNTS9ZHGauHj18DTyEw6BK3Og==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.3.0.tgz", + "integrity": "sha512-0AOCmOip+xgJwEVTQj1EfiDDOkPmuyllDuTuEX+DDXUgapLAsBIfkg3sxCYyCEA8mQqZrrxPUGjcOQ2JS3WLkg==", "dev": true }, "node_modules/import-fresh": { @@ -7577,9 +7845,9 @@ } }, "node_modules/is-core-module": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.9.0.tgz", - "integrity": "sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A==", + "version": "2.12.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.12.0.tgz", + "integrity": "sha512-RECHCBCd/viahWmwj6enj19sKbHfJrddi/6cBDsNTKbNq0f7VeaUkBo60BqzvPqo/W54ChS62Z5qyun7cfOMqQ==", "dev": true, "dependencies": { "has": "^1.0.3" @@ -7887,10 +8155,28 @@ "node": ">=8" } }, + "node_modules/jackspeak": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.2.0.tgz", + "integrity": "sha512-r5XBrqIJfwRIjRt/Xr5fv9Wh09qyhHfKnYddDlpM+ibRR20qrYActpCAgU6U+d53EOEjzkvxPMVHSlgR7leXrQ==", + "dev": true, + "dependencies": { + "@isaacs/cliui": "^8.0.2" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + }, + "optionalDependencies": { + "@pkgjs/parseargs": "^0.11.0" + } + }, "node_modules/jasmine-core": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-4.5.0.tgz", - "integrity": "sha512-9PMzyvhtocxb3aXJVOPqBDswdgyAeSB81QnLop4npOpbqnheaTEwPc9ZloQeVswugPManznQBjD8kWDTjlnHuw==", + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-4.6.0.tgz", + "integrity": "sha512-O236+gd0ZXS8YAjFx8xKaJ94/erqUliEkJTDedyE7iHvv4ZVqi+q+8acJxu05/WJDKm512EUNn809In37nWlAQ==", "dev": true }, "node_modules/jest-worker": { @@ -7931,6 +8217,15 @@ "url": "https://github.com/chalk/supports-color?sponsor=1" } }, + "node_modules/jiti": { + "version": "1.18.2", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.18.2.tgz", + "integrity": "sha512-QAdOptna2NYiSSpv0O/BwoHBSmz4YhpzJHyi+fnMRTXFjp7B8i/YG5Z8IfusxB1ufjcD2Sre1F3R+nX3fvy7gg==", + "dev": true, + "bin": { + "jiti": "bin/jiti.js" + } + }, "node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", @@ -8012,9 +8307,9 @@ ] }, "node_modules/karma": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/karma/-/karma-6.4.1.tgz", - "integrity": "sha512-Cj57NKOskK7wtFWSlMvZf459iX+kpYIPXmkNUzP2WAFcA7nhr/ALn5R7sw3w+1udFDcpMx/tuB8d5amgm3ijaA==", + "version": "6.4.2", + "resolved": "https://registry.npmjs.org/karma/-/karma-6.4.2.tgz", + "integrity": "sha512-C6SU/53LB31BEgRg+omznBEMY4SjHU3ricV6zBcAe1EeILKkeScr+fZXtaI5WyDbkVowJxxAI6h73NcFPmXolQ==", "dev": true, "dependencies": { "@colors/colors": "1.5.0", @@ -8050,9 +8345,9 @@ } }, "node_modules/karma-chrome-launcher": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/karma-chrome-launcher/-/karma-chrome-launcher-3.1.1.tgz", - "integrity": "sha512-hsIglcq1vtboGPAN+DGCISCFOxW+ZVnIqhDQcCMqqCp+4dmJ0Qpq5QAjkbA0X2L9Mi6OBkHi2Srrbmm7pUKkzQ==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/karma-chrome-launcher/-/karma-chrome-launcher-3.2.0.tgz", + "integrity": "sha512-rE9RkUPI7I9mAxByQWkGJFXfFD6lE4gC5nPuZdobf/QdTEJI6EU4yIay/cfU/xV4ZxlM5JiTv7zWYgA64NpS5Q==", "dev": true, "dependencies": { "which": "^1.2.1" @@ -8309,9 +8604,9 @@ } }, "node_modules/lilconfig": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.0.6.tgz", - "integrity": "sha512-9JROoBW7pobfsx+Sq2JsASvCo6Pfo6WWoUW79HuB1BCoBXD4PLWJPqDF6fNj67pqBYTbAHkE57M1kS/+L1neOg==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.1.0.tgz", + "integrity": "sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==", "dev": true, "engines": { "node": ">=10" @@ -8500,9 +8795,9 @@ } }, "node_modules/luxon": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/luxon/-/luxon-3.2.1.tgz", - "integrity": "sha512-QrwPArQCNLAKGO/C+ZIilgIuDnEnKx5QYODdDtbFaxzsbZcc/a7WFq7MhsVYgRlwawLtvOUESTlfJ+hc/USqPg==", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/luxon/-/luxon-3.3.0.tgz", + "integrity": "sha512-An0UCfG/rSiqtAIiBPO0Y9/zAnHUZxAMiCpTd5h2smgsj7GGmcenvrvww2cqNA8/4A5ZrD1gJpHN2mIHZQF+Mg==", "engines": { "node": ">=12" } @@ -8653,9 +8948,9 @@ } }, "node_modules/make-fetch-happen/node_modules/lru-cache": { - "version": "7.14.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.1.tgz", - "integrity": "sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==", + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", "dev": true, "engines": { "node": ">=12" @@ -9089,11 +9384,28 @@ "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==", "dev": true }, - "node_modules/nanoid": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz", - "integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==", + "node_modules/mz": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz", + "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==", "dev": true, + "dependencies": { + "any-promise": "^1.0.0", + "object-assign": "^4.0.1", + "thenify-all": "^1.0.0" + } + }, + "node_modules/nanoid": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz", + "integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], "bin": { "nanoid": "bin/nanoid.cjs" }, @@ -9158,23 +9470,23 @@ "dev": true }, "node_modules/ng-apexcharts": { - "version": "1.7.4", - "resolved": "https://registry.npmjs.org/ng-apexcharts/-/ng-apexcharts-1.7.4.tgz", - "integrity": "sha512-XpykR8qos14i2ly/QrmGkQIUQfqaZAe2+7tDg5An1akws3VwYg6O643g9LwdTIG3YeWlkKtt4zxYJpEJF3uLUg==", + "version": "1.7.6", + "resolved": "https://registry.npmjs.org/ng-apexcharts/-/ng-apexcharts-1.7.6.tgz", + "integrity": "sha512-XzW0gLRG9x9ntJ+Ena3dbrGB6lLPuIgVP21Qcv82zbebnYncG9aOyQk48fd2P56jDychanAVTYrNUuK0pMUM1g==", "dependencies": { "tslib": "^2.0.0" }, "peerDependencies": { "@angular/common": ">=13.0.0", "@angular/core": ">=13.0.0", - "apexcharts": "^3.36.0", + "apexcharts": "^3.40.0", "rxjs": "^6.5.3 || ^7.4.0" } }, "node_modules/ngx-quill": { - "version": "20.0.1", - "resolved": "https://registry.npmjs.org/ngx-quill/-/ngx-quill-20.0.1.tgz", - "integrity": "sha512-X02Me3RYuQgoOHXzYrkdi4aaDHPkyTZTUib+2amKxAMpM9LEOh/QYrFjudreQJtih6rhV6kRorO5AS4UueX9Mw==", + "version": "21.0.0", + "resolved": "https://registry.npmjs.org/ngx-quill/-/ngx-quill-21.0.0.tgz", + "integrity": "sha512-LESpKu84GpH46XS3M/hRxdLTbj4aiVyy5Wojrj4/RoB3BGoG/YRRYzaqyrGfZyqH0LGS6cqYTpVfxTZNMCXEsQ==", "dependencies": { "tslib": "^2.3.0" }, @@ -9182,7 +9494,7 @@ "node": ">= 16" }, "peerDependencies": { - "@angular/core": "^14.0.0 || ^15.0.0", + "@angular/core": "^15.0.0", "quill": "^1.3.7", "rxjs": "^7.0.0" } @@ -9255,9 +9567,9 @@ } }, "node_modules/node-releases": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.6.tgz", - "integrity": "sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg==", + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.10.tgz", + "integrity": "sha512-5GFldHPXVG/YZmFzJvKK2zDSzPKhEp0+ZR5SVaoSag9fsL5YgHbUHDfnG5494ISANDcK4KwPXAx2xqVEydmd7w==", "dev": true }, "node_modules/nopt": { @@ -9321,9 +9633,9 @@ } }, "node_modules/npm-install-checks": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-6.0.0.tgz", - "integrity": "sha512-SBU9oFglRVZnfElwAtF14NivyulDqF1VKqqwNsFW9HDcbHMAPHpRSsVFgKuwFGq/hVvWZExz62Th0kvxn/XE7Q==", + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-6.1.1.tgz", + "integrity": "sha512-dH3GmQL4vsPtld59cOn8uY0iOqRmqKvV+DLGwNXV/Q7MDgD2QfOADWd/mFXcIE5LVhYYGjA3baz6W9JneqnuCw==", "dev": true, "dependencies": { "semver": "^7.1.1" @@ -9333,9 +9645,9 @@ } }, "node_modules/npm-normalize-package-bin": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-3.0.0.tgz", - "integrity": "sha512-g+DPQSkusnk7HYXr75NtzkIP4+N81i3RPsGFidF3DzHd9MT9wWngmqoeg/fnHFz5MNdtG4w03s+QnhewSLTT2Q==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-3.0.1.tgz", + "integrity": "sha512-dMxCf+zZ+3zeQZXKxmyuCKlIDPGuv8EF940xbkC4kQVDTtqoh6rJFO+JTKSA6/Rwi0getWmtuy4Itup0AMcaDQ==", "dev": true, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" @@ -9384,13 +9696,13 @@ } }, "node_modules/npm-registry-fetch": { - "version": "14.0.3", - "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-14.0.3.tgz", - "integrity": "sha512-YaeRbVNpnWvsGOjX2wk5s85XJ7l1qQBGAp724h8e2CZFFhMSuw9enom7K1mWVUtvXO1uUSFIAPofQK0pPN0ZcA==", + "version": "14.0.5", + "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-14.0.5.tgz", + "integrity": "sha512-kIDMIo4aBm6xg7jOttupWZamsZRkAqMqwqqbVXnUqstY5+tapvv6bkH/qMR76jdgV+YljEUCyWx3hRYMrJiAgA==", "dev": true, "dependencies": { "make-fetch-happen": "^11.0.0", - "minipass": "^4.0.0", + "minipass": "^5.0.0", "minipass-fetch": "^3.0.0", "minipass-json-stream": "^1.0.1", "minizlib": "^2.1.2", @@ -9402,29 +9714,28 @@ } }, "node_modules/npm-registry-fetch/node_modules/lru-cache": { - "version": "7.14.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.1.tgz", - "integrity": "sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==", + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", "dev": true, "engines": { "node": ">=12" } }, "node_modules/npm-registry-fetch/node_modules/make-fetch-happen": { - "version": "11.0.2", - "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-11.0.2.tgz", - "integrity": "sha512-5n/Pq41w/uZghpdlXAY5kIM85RgJThtTH/NYBRAZ9VUOBWV90USaQjwGrw76fZP3Lj5hl/VZjpVvOaRBMoL/2w==", + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-11.1.1.tgz", + "integrity": "sha512-rLWS7GCSTcEujjVBs2YqG7Y4643u8ucvCJeSRqiLYhesrDuzeuFIk37xREzAsfQaqzl8b9rNCE4m6J8tvX4Q8w==", "dev": true, "dependencies": { "agentkeepalive": "^4.2.1", "cacache": "^17.0.0", - "http-cache-semantics": "^4.1.0", + "http-cache-semantics": "^4.1.1", "http-proxy-agent": "^5.0.0", "https-proxy-agent": "^5.0.0", "is-lambda": "^1.0.1", "lru-cache": "^7.7.1", - "minipass": "^4.0.0", - "minipass-collect": "^1.0.2", + "minipass": "^5.0.0", "minipass-fetch": "^3.0.0", "minipass-flush": "^1.0.5", "minipass-pipeline": "^1.2.4", @@ -9437,13 +9748,22 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, + "node_modules/npm-registry-fetch/node_modules/minipass": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", + "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, "node_modules/npm-registry-fetch/node_modules/minipass-fetch": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.1.tgz", - "integrity": "sha512-t9/wowtf7DYkwz8cfMSt0rMwiyNIBXf5CKZ3S5ZMqRqMYT0oLTp0x1WorMI9WTwvaPg21r1JbFxJMum8JrLGfw==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.3.tgz", + "integrity": "sha512-n5ITsTkDqYkYJZjcRWzZt9qnZKCT7nKCosJhHoj7S7zD+BP4jVbWs+odsniw5TA3E0sLomhTKOKjF86wf11PuQ==", "dev": true, "dependencies": { - "minipass": "^4.0.0", + "minipass": "^5.0.0", "minipass-sized": "^1.0.3", "minizlib": "^2.1.2" }, @@ -9593,9 +9913,9 @@ } }, "node_modules/open": { - "version": "8.4.0", - "resolved": "https://registry.npmjs.org/open/-/open-8.4.0.tgz", - "integrity": "sha512-XgFPPM+B28FtCCgSb9I+s9szOC1vZRSwgWsRUA5ylIxRTgKozqjOCrVOqGsYABPYK5qnfqClxZTFBa8PKt2v6Q==", + "version": "8.4.1", + "resolved": "https://registry.npmjs.org/open/-/open-8.4.1.tgz", + "integrity": "sha512-/4b7qZNhv6Uhd7jjnREh1NjnPxlTq+XNWPG88Ydkj5AILcA5m3ajvcg57pB24EQjKv0dK62XnDqk9c/hkIG5Kg==", "dev": true, "dependencies": { "define-lazy-prop": "^2.0.0", @@ -9778,9 +10098,9 @@ } }, "node_modules/pacote": { - "version": "15.0.8", - "resolved": "https://registry.npmjs.org/pacote/-/pacote-15.0.8.tgz", - "integrity": "sha512-UlcumB/XS6xyyIMwg/WwMAyUmga+RivB5KgkRwA1hZNtrx+0Bt41KxHCvg1kr0pZ/ZeD8qjhW4fph6VaYRCbLw==", + "version": "15.1.0", + "resolved": "https://registry.npmjs.org/pacote/-/pacote-15.1.0.tgz", + "integrity": "sha512-FFcjtIl+BQNfeliSm7MZz5cpdohvUV1yjGnqgVM4UnVF7JslRY0ImXAygdaCDV0jjUADEWu4y5xsDV8brtrTLg==", "dev": true, "dependencies": { "@npmcli/git": "^4.0.0", @@ -9798,6 +10118,7 @@ "promise-retry": "^2.0.1", "read-package-json": "^6.0.0", "read-package-json-fast": "^3.0.0", + "sigstore": "^1.0.0", "ssri": "^10.0.0", "tar": "^6.1.11" }, @@ -9860,7 +10181,7 @@ "version": "7.1.2", "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.1.2.tgz", "integrity": "sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==", - "optional": true, + "devOptional": true, "dependencies": { "entities": "^4.4.0" }, @@ -9869,20 +10190,30 @@ } }, "node_modules/parse5-html-rewriting-stream": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/parse5-html-rewriting-stream/-/parse5-html-rewriting-stream-6.0.1.tgz", - "integrity": "sha512-vwLQzynJVEfUlURxgnf51yAJDQTtVpNyGD8tKi2Za7m+akukNHxCcUQMAa/mUGLhCeicFdpy7Tlvj8ZNKadprg==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/parse5-html-rewriting-stream/-/parse5-html-rewriting-stream-7.0.0.tgz", + "integrity": "sha512-mazCyGWkmCRWDI15Zp+UiCqMp/0dgEmkZRvhlsqqKYr4SsVm/TvnSpD9fCvqCA2zoWJcfRym846ejWBBHRiYEg==", "dev": true, "dependencies": { - "parse5": "^6.0.1", - "parse5-sax-parser": "^6.0.1" + "entities": "^4.3.0", + "parse5": "^7.0.0", + "parse5-sax-parser": "^7.0.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" } }, - "node_modules/parse5-html-rewriting-stream/node_modules/parse5": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz", - "integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==", - "dev": true + "node_modules/parse5-html-rewriting-stream/node_modules/entities": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", + "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", + "dev": true, + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } }, "node_modules/parse5-htmlparser2-tree-adapter": { "version": "6.0.1", @@ -9900,25 +10231,22 @@ "dev": true }, "node_modules/parse5-sax-parser": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/parse5-sax-parser/-/parse5-sax-parser-6.0.1.tgz", - "integrity": "sha512-kXX+5S81lgESA0LsDuGjAlBybImAChYRMT+/uKCEXFBFOeEhS52qUCydGhU3qLRD8D9DVjaUo821WK7DM4iCeg==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/parse5-sax-parser/-/parse5-sax-parser-7.0.0.tgz", + "integrity": "sha512-5A+v2SNsq8T6/mG3ahcz8ZtQ0OUFTatxPbeidoMB7tkJSGDY3tdfl4MHovtLQHkEn5CGxijNWRQHhRQ6IRpXKg==", "dev": true, "dependencies": { - "parse5": "^6.0.1" + "parse5": "^7.0.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" } }, - "node_modules/parse5-sax-parser/node_modules/parse5": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz", - "integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==", - "dev": true - }, "node_modules/parse5/node_modules/entities": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/entities/-/entities-4.4.0.tgz", "integrity": "sha512-oYp7156SP8LkeGD0GF85ad1X9Ai79WtRsZ2gxJqtBuzH+98YUV6jkHEKlZkMbcrjJjIVJNIDP/3WL9wQkoPbWA==", - "optional": true, + "devOptional": true, "engines": { "node": ">=0.12" }, @@ -9967,6 +10295,40 @@ "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", "dev": true }, + "node_modules/path-scurry": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.7.0.tgz", + "integrity": "sha512-UkZUeDjczjYRE495+9thsgcVgsaCPkaw80slmfVFgllxY+IO8ubTsOpFVjDPROBqJdHfVPUFRHPBV/WciOVfWg==", + "dev": true, + "dependencies": { + "lru-cache": "^9.0.0", + "minipass": "^5.0.0" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/path-scurry/node_modules/lru-cache": { + "version": "9.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-9.1.1.tgz", + "integrity": "sha512-65/Jky17UwSb0BuB9V+MyDpsOtXKmYwzhyl+cOa9XUiI4uV2Ouy/2voFP3+al0BjZbJgMBD8FojMpAf+Z+qn4A==", + "dev": true, + "engines": { + "node": "14 || >=16.14" + } + }, + "node_modules/path-scurry/node_modules/minipass": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", + "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, "node_modules/path-to-regexp": { "version": "0.1.7", "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", @@ -10007,12 +10369,21 @@ "node_modules/pify": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", "dev": true, "engines": { "node": ">=0.10.0" } }, + "node_modules/pirates": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.5.tgz", + "integrity": "sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ==", + "dev": true, + "engines": { + "node": ">= 6" + } + }, "node_modules/piscina": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/piscina/-/piscina-3.2.0.tgz", @@ -10040,9 +10411,9 @@ } }, "node_modules/postcss": { - "version": "8.4.21", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.21.tgz", - "integrity": "sha512-tP7u/Sn/dVxK2NnruI4H9BG+x+Wxz6oeZ1cJ8P6G/PZY0IKk4k/63TDsQf2kQq3+qoJeLm2kIBUNlZe3zgb4Zg==", + "version": "8.4.23", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.23.tgz", + "integrity": "sha512-bQ3qMcpF6A/YjR55xtoTr0jGOlnPOKAIMdOWiv0EIT6HVPEaJiJB4NLljSbiHoC2RX7DN5Uvjtpbg1NPdwv1oA==", "dev": true, "funding": [ { @@ -10052,10 +10423,14 @@ { "type": "tidelift", "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" } ], "dependencies": { - "nanoid": "^3.3.4", + "nanoid": "^3.3.6", "picocolors": "^1.0.0", "source-map-js": "^1.0.2" }, @@ -10064,9 +10439,9 @@ } }, "node_modules/postcss-import": { - "version": "14.1.0", - "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-14.1.0.tgz", - "integrity": "sha512-flwI+Vgm4SElObFVPpTIT7SU7R3qk2L7PyduMcokiaVKuWv9d/U+Gm/QAd8NDLuykTWTkcrjOeD2Pp1rMeBTGw==", + "version": "15.1.0", + "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-15.1.0.tgz", + "integrity": "sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==", "dev": true, "dependencies": { "postcss-value-parser": "^4.0.0", @@ -10074,16 +10449,16 @@ "resolve": "^1.1.7" }, "engines": { - "node": ">=10.0.0" + "node": ">=14.0.0" }, "peerDependencies": { "postcss": "^8.0.0" } }, "node_modules/postcss-js": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-4.0.0.tgz", - "integrity": "sha512-77QESFBwgX4irogGVPgQ5s07vLvFqWr228qZY+w6lW599cRlK/HmnlivnnVUxkjHnCu4J16PDMHcH+e+2HbvTQ==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-4.0.1.tgz", + "integrity": "sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==", "dev": true, "dependencies": { "camelcase-css": "^2.0.1" @@ -10096,20 +10471,20 @@ "url": "https://opencollective.com/postcss/" }, "peerDependencies": { - "postcss": "^8.3.3" + "postcss": "^8.4.21" } }, "node_modules/postcss-load-config": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-3.1.4.tgz", - "integrity": "sha512-6DiM4E7v4coTE4uzA8U//WhtPwyhiim3eyjEMFCnUpzbrkK9wJHgKDT2mR+HbtSrd/NubVaYTOpSpjUl8NQeRg==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-4.0.1.tgz", + "integrity": "sha512-vEJIc8RdiBRu3oRAI0ymerOn+7rPuMvRXslTvZUKZonDHFIczxztIyJ1urxM1x9JXEikvpWWTUUqal5j/8QgvA==", "dev": true, "dependencies": { "lilconfig": "^2.0.5", - "yaml": "^1.10.2" + "yaml": "^2.1.1" }, "engines": { - "node": ">= 10" + "node": ">= 14" }, "funding": { "type": "opencollective", @@ -10128,6 +10503,15 @@ } } }, + "node_modules/postcss-load-config/node_modules/yaml": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.2.2.tgz", + "integrity": "sha512-CBKFWExMn46Foo4cldiChEzn7S7SRV+wqiluAb6xmueD/fGyRHIhX8m14vVGgeFWjN540nKCNVj6P21eQjgTuA==", + "dev": true, + "engines": { + "node": ">= 14" + } + }, "node_modules/postcss-loader": { "version": "7.0.2", "resolved": "https://registry.npmjs.org/postcss-loader/-/postcss-loader-7.0.2.tgz", @@ -10210,12 +10594,12 @@ } }, "node_modules/postcss-nested": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.0.0.tgz", - "integrity": "sha512-0DkamqrPcmkBDsLn+vQDIrtkSbNkv5AD/M322ySo9kqFkCIYklym2xEmWkwo+Y3/qZo34tzEPNUw4y7yMCdv5w==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.0.1.tgz", + "integrity": "sha512-mEp4xPMi5bSWiMbsgoPfcP74lsWLHkQbZc3sY+jWYd65CUwXrUaTp0fmNpa01ZcETKlIgUdFN/MpS2xZtqL9dQ==", "dev": true, "dependencies": { - "postcss-selector-parser": "^6.0.10" + "postcss-selector-parser": "^6.0.11" }, "engines": { "node": ">=12.0" @@ -10228,6 +10612,19 @@ "postcss": "^8.2.14" } }, + "node_modules/postcss-nested/node_modules/postcss-selector-parser": { + "version": "6.0.12", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.12.tgz", + "integrity": "sha512-NdxGCAZdRrwVI1sy59+Wzrh+pMMHxapGnpfenDVlMEXoOcvt4pGE0JLK9YY2F5dLxcFYA/YbVQKhcGU+FtSYQg==", + "dev": true, + "dependencies": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/postcss-selector-parser": { "version": "6.0.10", "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.10.tgz", @@ -10375,18 +10772,6 @@ } ] }, - "node_modules/quick-lru": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz", - "integrity": "sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/quill": { "version": "1.3.7", "resolved": "https://registry.npmjs.org/quill/-/quill-1.3.7.tgz", @@ -10454,19 +10839,19 @@ "node_modules/read-cache": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz", - "integrity": "sha1-5mTvMRYRZsl1HNvo28+GtftY93Q=", + "integrity": "sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==", "dev": true, "dependencies": { "pify": "^2.3.0" } }, "node_modules/read-package-json": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/read-package-json/-/read-package-json-6.0.0.tgz", - "integrity": "sha512-b/9jxWJ8EwogJPpv99ma+QwtqB7FSl3+V6UXS7Aaay8/5VwMY50oIFooY1UKXMWpfNCM6T/PoGqa5GD1g9xf9w==", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/read-package-json/-/read-package-json-6.0.3.tgz", + "integrity": "sha512-4QbpReW4kxFgeBQ0vPAqh2y8sXEB3D4t3jsXbJKIhBiF80KT6XRo45reqwtftju5J6ru1ax06A2Gb/wM1qCOEQ==", "dev": true, "dependencies": { - "glob": "^8.0.1", + "glob": "^10.2.2", "json-parse-even-better-errors": "^3.0.0", "normalize-package-data": "^5.0.0", "npm-normalize-package-bin": "^3.0.0" @@ -10507,19 +10892,22 @@ } }, "node_modules/read-package-json/node_modules/glob": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", - "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", + "version": "10.2.2", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.2.2.tgz", + "integrity": "sha512-Xsa0BcxIC6th9UwNjZkhrMtNo/MnyRL8jGCP+uEwhA5oFOCY1f2s1/oNKY47xQ0Bg5nkjsfAEIej1VeH62bDDQ==", "dev": true, "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^5.0.1", - "once": "^1.3.0" + "foreground-child": "^3.1.0", + "jackspeak": "^2.0.3", + "minimatch": "^9.0.0", + "minipass": "^5.0.0", + "path-scurry": "^1.7.0" + }, + "bin": { + "glob": "dist/cjs/src/bin.js" }, "engines": { - "node": ">=12" + "node": ">=16 || 14 >=14.17" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -10535,15 +10923,27 @@ } }, "node_modules/read-package-json/node_modules/minimatch": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", - "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.0.tgz", + "integrity": "sha512-0jJj8AvgKqWN05mrwuqi8QYKx1WmYSUoKSxu5Qhs9prezTz10sxAHGNZe9J9cqIJzta8DWsleh2KaVaLl6Ru2w==", "dev": true, "dependencies": { "brace-expansion": "^2.0.1" }, "engines": { - "node": ">=10" + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/read-package-json/node_modules/minipass": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", + "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", + "dev": true, + "engines": { + "node": ">=8" } }, "node_modules/readable-stream": { @@ -10928,9 +11328,9 @@ } }, "node_modules/rxjs": { - "version": "7.8.0", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.0.tgz", - "integrity": "sha512-F2+gxDshqmIub1KdvZkaEfGDwLNpPvk9Fs6LD/MyQxNgMds/WH9OdDDXOmxUZpME+iSK3rQCctkL0DYyytUqMg==", + "version": "7.8.1", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", + "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", "dependencies": { "tslib": "^2.1.0" } @@ -10953,9 +11353,9 @@ "integrity": "sha512-LRneZZRXNgjzwG4bDQdOTSbze3fHm1EAKN/8bePxnlEZiBmkYEDggaHbuvHI9/hoqHbGfsEA7tWS9GhYHZBBsw==" }, "node_modules/sass": { - "version": "1.57.1", - "resolved": "https://registry.npmjs.org/sass/-/sass-1.57.1.tgz", - "integrity": "sha512-O2+LwLS79op7GI0xZ8fqzF7X2m/m8WFfI02dHOdsK5R2ECeS5F62zrwg/relM1rjSLy7Vd/DiMNIvPrQGsA0jw==", + "version": "1.58.1", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.58.1.tgz", + "integrity": "sha512-bnINi6nPXbP1XNRaranMFEBZWUfdW/AF16Ql5+ypRxfTvCRTTKrLsMIakyDcayUt2t/RZotmL4kgJwNH5xO+bg==", "dev": true, "dependencies": { "chokidar": ">=3.0.0 <4.0.0", @@ -11166,9 +11566,9 @@ } }, "node_modules/serialize-javascript": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", - "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.1.tgz", + "integrity": "sha512-owoXEFjWRllis8/M1Q+Cw5k8ZH40e3zhp/ovX+Xr/vi1qj6QesbyXXViFbpNvWvPNAD62SutwEXavefrLJWj7w==", "dev": true, "dependencies": { "randombytes": "^2.1.0" @@ -11313,6 +11713,84 @@ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" }, + "node_modules/sigstore": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/sigstore/-/sigstore-1.4.0.tgz", + "integrity": "sha512-N7TRpSbFjY/TrFDg6yGAQSYBrQ5s6qmPiq4pD6fkv1LoyfMsLG0NwZWG2s5q+uttLHgyVyTa0Rogx2P78rN8kQ==", + "dev": true, + "dependencies": { + "@sigstore/protobuf-specs": "^0.1.0", + "make-fetch-happen": "^11.0.1", + "tuf-js": "^1.1.3" + }, + "bin": { + "sigstore": "bin/sigstore.js" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/sigstore/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true, + "engines": { + "node": ">=12" + } + }, + "node_modules/sigstore/node_modules/make-fetch-happen": { + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-11.1.1.tgz", + "integrity": "sha512-rLWS7GCSTcEujjVBs2YqG7Y4643u8ucvCJeSRqiLYhesrDuzeuFIk37xREzAsfQaqzl8b9rNCE4m6J8tvX4Q8w==", + "dev": true, + "dependencies": { + "agentkeepalive": "^4.2.1", + "cacache": "^17.0.0", + "http-cache-semantics": "^4.1.1", + "http-proxy-agent": "^5.0.0", + "https-proxy-agent": "^5.0.0", + "is-lambda": "^1.0.1", + "lru-cache": "^7.7.1", + "minipass": "^5.0.0", + "minipass-fetch": "^3.0.0", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.3", + "promise-retry": "^2.0.1", + "socks-proxy-agent": "^7.0.0", + "ssri": "^10.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/sigstore/node_modules/minipass": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", + "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/sigstore/node_modules/minipass-fetch": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.3.tgz", + "integrity": "sha512-n5ITsTkDqYkYJZjcRWzZt9qnZKCT7nKCosJhHoj7S7zD+BP4jVbWs+odsniw5TA3E0sLomhTKOKjF86wf11PuQ==", + "dev": true, + "dependencies": { + "minipass": "^5.0.0", + "minipass-sized": "^1.0.3", + "minizlib": "^2.1.2" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + }, + "optionalDependencies": { + "encoding": "^0.1.13" + } + }, "node_modules/smart-buffer": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", @@ -11470,9 +11948,9 @@ } }, "node_modules/spdx-correct": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz", - "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz", + "integrity": "sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==", "dev": true, "dependencies": { "spdx-expression-parse": "^3.0.0", @@ -11496,9 +11974,9 @@ } }, "node_modules/spdx-license-ids": { - "version": "3.0.12", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.12.tgz", - "integrity": "sha512-rr+VVSXtRhO4OHbXUiAF7xW3Bo9DuuF6C5jH+q/x15j2jniycgKbxU09Hr0WqlSLUs4i4ltHGXqTe7VHclYWyA==", + "version": "3.0.13", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.13.tgz", + "integrity": "sha512-XkD+zwiqXHikFZm4AX/7JSCXA98U5Db4AFd5XUg/+9UNtnH75+Z9KxtpYiJZx36mUDVOwH83pl7yvCer6ewM3w==", "dev": true }, "node_modules/spdy": { @@ -11612,6 +12090,21 @@ "node": ">=8" } }, + "node_modules/string-width-cjs": { + "name": "string-width", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/strip-ansi": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", @@ -11623,6 +12116,19 @@ "node": ">=8" } }, + "node_modules/strip-ansi-cjs": { + "name": "strip-ansi", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/strip-final-newline": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", @@ -11632,6 +12138,62 @@ "node": ">=6" } }, + "node_modules/sucrase": { + "version": "3.32.0", + "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.32.0.tgz", + "integrity": "sha512-ydQOU34rpSyj2TGyz4D2p8rbktIOZ8QY9s+DGLvFU1i5pWJE8vkpruCjGCMHsdXwnD7JDcS+noSwM/a7zyNFDQ==", + "dev": true, + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.2", + "commander": "^4.0.0", + "glob": "7.1.6", + "lines-and-columns": "^1.1.6", + "mz": "^2.7.0", + "pirates": "^4.0.1", + "ts-interface-checker": "^0.1.9" + }, + "bin": { + "sucrase": "bin/sucrase", + "sucrase-node": "bin/sucrase-node" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/sucrase/node_modules/@jridgewell/gen-mapping": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", + "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", + "dev": true, + "dependencies": { + "@jridgewell/set-array": "^1.0.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.9" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/sucrase/node_modules/glob": { + "version": "7.1.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", + "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", + "dev": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/supports-color": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", @@ -11748,52 +12310,43 @@ } }, "node_modules/tailwindcss": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.2.4.tgz", - "integrity": "sha512-AhwtHCKMtR71JgeYDaswmZXhPcW9iuI9Sp2LvZPo9upDZ7231ZJ7eA9RaURbhpXGVlrjX4cFNlB4ieTetEb7hQ==", + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.2.tgz", + "integrity": "sha512-9jPkMiIBXvPc2KywkraqsUfbfj+dHDb+JPWtSJa9MLFdrPyazI7q6WX2sUrm7R9eVR7qqv3Pas7EvQFzxKnI6w==", "dev": true, "dependencies": { + "@alloc/quick-lru": "^5.2.0", "arg": "^5.0.2", "chokidar": "^3.5.3", - "color-name": "^1.1.4", - "detective": "^5.2.1", "didyoumean": "^1.2.2", "dlv": "^1.1.3", "fast-glob": "^3.2.12", "glob-parent": "^6.0.2", "is-glob": "^4.0.3", - "lilconfig": "^2.0.6", + "jiti": "^1.18.2", + "lilconfig": "^2.1.0", "micromatch": "^4.0.5", "normalize-path": "^3.0.0", "object-hash": "^3.0.0", "picocolors": "^1.0.0", - "postcss": "^8.4.18", - "postcss-import": "^14.1.0", - "postcss-js": "^4.0.0", - "postcss-load-config": "^3.1.4", - "postcss-nested": "6.0.0", - "postcss-selector-parser": "^6.0.10", + "postcss": "^8.4.23", + "postcss-import": "^15.1.0", + "postcss-js": "^4.0.1", + "postcss-load-config": "^4.0.1", + "postcss-nested": "^6.0.1", + "postcss-selector-parser": "^6.0.11", "postcss-value-parser": "^4.2.0", - "quick-lru": "^5.1.1", - "resolve": "^1.22.1" + "resolve": "^1.22.2", + "sucrase": "^3.32.0" }, "bin": { "tailwind": "lib/cli.js", "tailwindcss": "lib/cli.js" }, "engines": { - "node": ">=12.13.0" - }, - "peerDependencies": { - "postcss": "^8.0.9" + "node": ">=14.0.0" } }, - "node_modules/tailwindcss/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, "node_modules/tailwindcss/node_modules/glob-parent": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", @@ -11806,6 +12359,36 @@ "node": ">=10.13.0" } }, + "node_modules/tailwindcss/node_modules/postcss-selector-parser": { + "version": "6.0.12", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.12.tgz", + "integrity": "sha512-NdxGCAZdRrwVI1sy59+Wzrh+pMMHxapGnpfenDVlMEXoOcvt4pGE0JLK9YY2F5dLxcFYA/YbVQKhcGU+FtSYQg==", + "dev": true, + "dependencies": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/tailwindcss/node_modules/resolve": { + "version": "1.22.2", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.2.tgz", + "integrity": "sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==", + "dev": true, + "dependencies": { + "is-core-module": "^2.11.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/tapable": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", @@ -11857,9 +12440,9 @@ } }, "node_modules/terser": { - "version": "5.16.1", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.16.1.tgz", - "integrity": "sha512-xvQfyfA1ayT0qdK47zskQgRZeWLoOQ8JQ6mIgRGVNwZKdQMU+5FkCBjmv4QjcrTzyZquRw2FVtlJSRUmMKQslw==", + "version": "5.16.3", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.16.3.tgz", + "integrity": "sha512-v8wWLaS/xt3nE9dgKEWhNUFP6q4kngO5B8eYFUuebsu7Dw/UNAnpUod6UHo04jSSkv8TzKHjZDSd7EXdDQAl8Q==", "dev": true, "dependencies": { "@jridgewell/source-map": "^0.3.2", @@ -11875,16 +12458,16 @@ } }, "node_modules/terser-webpack-plugin": { - "version": "5.3.6", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.6.tgz", - "integrity": "sha512-kfLFk+PoLUQIbLmB1+PZDMRSZS99Mp+/MHqDNmMA6tOItzRt+Npe3E+fsMs5mfcM0wCtrrdU387UnV+vnSffXQ==", + "version": "5.3.7", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.7.tgz", + "integrity": "sha512-AfKwIktyP7Cu50xNjXF/6Qb5lBNzYaWpU6YfoX3uZicTx0zTy0stDDCsvjDapKsSDvOeWo5MEq4TmdBy2cNoHw==", "dev": true, "dependencies": { - "@jridgewell/trace-mapping": "^0.3.14", + "@jridgewell/trace-mapping": "^0.3.17", "jest-worker": "^27.4.5", "schema-utils": "^3.1.1", - "serialize-javascript": "^6.0.0", - "terser": "^5.14.1" + "serialize-javascript": "^6.0.1", + "terser": "^5.16.5" }, "engines": { "node": ">= 10.13.0" @@ -11924,6 +12507,12 @@ "url": "https://github.com/sponsors/epoberezkin" } }, + "node_modules/terser-webpack-plugin/node_modules/commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true + }, "node_modules/terser-webpack-plugin/node_modules/json-schema-traverse": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", @@ -11931,9 +12520,9 @@ "dev": true }, "node_modules/terser-webpack-plugin/node_modules/schema-utils": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", - "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.2.tgz", + "integrity": "sha512-pvjEHOgWc9OWA/f/DE3ohBWTD6EleVLf7iFUkoSwAxttdBhB9QUebQgxER2kWueOvRJXPHNnyrvvh9eZINB8Eg==", "dev": true, "dependencies": { "@types/json-schema": "^7.0.8", @@ -11948,16 +12537,22 @@ "url": "https://opencollective.com/webpack" } }, - "node_modules/terser/node_modules/acorn": { - "version": "8.8.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.1.tgz", - "integrity": "sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA==", + "node_modules/terser-webpack-plugin/node_modules/terser": { + "version": "5.17.1", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.17.1.tgz", + "integrity": "sha512-hVl35zClmpisy6oaoKALOpS0rDYLxRFLHhRuDlEGTKey9qHjS1w9GMORjuwIMt70Wan4lwsLYyWDVnWgF+KUEw==", "dev": true, + "dependencies": { + "@jridgewell/source-map": "^0.3.2", + "acorn": "^8.5.0", + "commander": "^2.20.0", + "source-map-support": "~0.5.20" + }, "bin": { - "acorn": "bin/acorn" + "terser": "bin/terser" }, "engines": { - "node": ">=0.4.0" + "node": ">=10" } }, "node_modules/terser/node_modules/commander": { @@ -11986,6 +12581,27 @@ "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=", "dev": true }, + "node_modules/thenify": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz", + "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==", + "dev": true, + "dependencies": { + "any-promise": "^1.0.0" + } + }, + "node_modules/thenify-all": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz", + "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==", + "dev": true, + "dependencies": { + "thenify": ">= 3.1.0 < 4" + }, + "engines": { + "node": ">=0.8" + } + }, "node_modules/through": { "version": "2.3.8", "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", @@ -12049,10 +12665,90 @@ "tree-kill": "cli.js" } }, + "node_modules/ts-interface-checker": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz", + "integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==", + "dev": true + }, "node_modules/tslib": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.1.tgz", - "integrity": "sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==" + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", + "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" + }, + "node_modules/tuf-js": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/tuf-js/-/tuf-js-1.1.5.tgz", + "integrity": "sha512-inqodgxdsmuxrtQVbu6tPNgRKWD1Boy3VB6GO7KczJZpAHiTukwhSzXUSzvDcw5pE2Jo8ua+e1ykpHv7VdPVlQ==", + "dev": true, + "dependencies": { + "@tufjs/models": "1.0.4", + "make-fetch-happen": "^11.1.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/tuf-js/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true, + "engines": { + "node": ">=12" + } + }, + "node_modules/tuf-js/node_modules/make-fetch-happen": { + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-11.1.1.tgz", + "integrity": "sha512-rLWS7GCSTcEujjVBs2YqG7Y4643u8ucvCJeSRqiLYhesrDuzeuFIk37xREzAsfQaqzl8b9rNCE4m6J8tvX4Q8w==", + "dev": true, + "dependencies": { + "agentkeepalive": "^4.2.1", + "cacache": "^17.0.0", + "http-cache-semantics": "^4.1.1", + "http-proxy-agent": "^5.0.0", + "https-proxy-agent": "^5.0.0", + "is-lambda": "^1.0.1", + "lru-cache": "^7.7.1", + "minipass": "^5.0.0", + "minipass-fetch": "^3.0.0", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.3", + "promise-retry": "^2.0.1", + "socks-proxy-agent": "^7.0.0", + "ssri": "^10.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/tuf-js/node_modules/minipass": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", + "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/tuf-js/node_modules/minipass-fetch": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.3.tgz", + "integrity": "sha512-n5ITsTkDqYkYJZjcRWzZt9qnZKCT7nKCosJhHoj7S7zD+BP4jVbWs+odsniw5TA3E0sLomhTKOKjF86wf11PuQ==", + "dev": true, + "dependencies": { + "minipass": "^5.0.0", + "minipass-sized": "^1.0.3", + "minizlib": "^2.1.2" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + }, + "optionalDependencies": { + "encoding": "^0.1.13" + } }, "node_modules/type-fest": { "version": "0.21.3", @@ -12086,9 +12782,9 @@ "dev": true }, "node_modules/typescript": { - "version": "4.9.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.4.tgz", - "integrity": "sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg==", + "version": "4.9.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", + "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", "dev": true, "bin": { "tsc": "bin/tsc", @@ -12200,9 +12896,9 @@ } }, "node_modules/update-browserslist-db": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.9.tgz", - "integrity": "sha512-/xsqn21EGVdXI3EXSum1Yckj3ZVZugqyOZQ/CxYPBD/R+ko9NSUScf8tFF4dOKY+2pvSSJA/S+5B8s4Zr4kyvg==", + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.11.tgz", + "integrity": "sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA==", "dev": true, "funding": [ { @@ -12212,6 +12908,10 @@ { "type": "tidelift", "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" } ], "dependencies": { @@ -12219,7 +12919,7 @@ "picocolors": "^1.0.0" }, "bin": { - "browserslist-lint": "cli.js" + "update-browserslist-db": "cli.js" }, "peerDependencies": { "browserslist": ">= 4.21.0" @@ -12328,9 +13028,9 @@ } }, "node_modules/webpack": { - "version": "5.75.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.75.0.tgz", - "integrity": "sha512-piaIaoVJlqMsPtX/+3KTTO6jfvrSYgauFVdt8cr9LTHKmcq/AMd4mhzsiP7ZF/PGRNPGA8336jldh9l2Kt2ogQ==", + "version": "5.76.1", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.76.1.tgz", + "integrity": "sha512-4+YIK4Abzv8172/SGqObnUjaIHjLEuUasz9EwQj/9xmPPkYJy2Mh03Q/lJfSD3YLzbxy5FeTq5Uw0323Oh6SJQ==", "dev": true, "dependencies": { "@types/eslint-scope": "^3.7.3", @@ -12516,18 +13216,6 @@ } } }, - "node_modules/webpack/node_modules/acorn": { - "version": "8.8.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.1.tgz", - "integrity": "sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA==", - "dev": true, - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, "node_modules/webpack/node_modules/ajv": { "version": "6.12.6", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", @@ -12551,9 +13239,9 @@ "dev": true }, "node_modules/webpack/node_modules/schema-utils": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", - "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.2.tgz", + "integrity": "sha512-pvjEHOgWc9OWA/f/DE3ohBWTD6EleVLf7iFUkoSwAxttdBhB9QUebQgxER2kWueOvRJXPHNnyrvvh9eZINB8Eg==", "dev": true, "dependencies": { "@types/json-schema": "^7.0.8", @@ -12637,6 +13325,57 @@ "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, + "node_modules/wrap-ansi-cjs": { + "name": "wrap-ansi", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, "node_modules/wrap-ansi/node_modules/ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", @@ -12693,15 +13432,6 @@ } } }, - "node_modules/xtend": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", - "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", - "dev": true, - "engines": { - "node": ">=0.4" - } - }, "node_modules/y18n": { "version": "5.0.8", "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", @@ -12763,15 +13493,21 @@ } }, "node_modules/zone.js": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/zone.js/-/zone.js-0.12.0.tgz", - "integrity": "sha512-XtC+I5dXU14HrzidAKBNMqneIVUykLEAA1x+v4KVrd6AUPWlwYORF8KgsVqvgdHiKZ4BkxxjvYi/ksEixTPR0Q==", + "version": "0.13.0", + "resolved": "https://registry.npmjs.org/zone.js/-/zone.js-0.13.0.tgz", + "integrity": "sha512-7m3hNNyswsdoDobCkYNAy5WiUulkMd3+fWaGT9ij6iq3Zr/IwJo4RMCYPSDjT+r7tnPErmY9sZpKhWQ8S5k6XQ==", "dependencies": { "tslib": "^2.3.0" } } }, "dependencies": { + "@alloc/quick-lru": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.2.0.tgz", + "integrity": "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==", + "dev": true + }, "@ampproject/remapping": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.0.tgz", @@ -12783,12 +13519,12 @@ } }, "@angular-devkit/architect": { - "version": "0.1501.2", - "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.1501.2.tgz", - "integrity": "sha512-AfORVGLN0FBIUXO3FkfGOKu+Gz6oJjF8Bu8cPn27duiI0wszxGNY3fATKwbSg7JcKx1oQS/G7RjyC5OiTA6a0Q==", + "version": "0.1502.8", + "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.1502.8.tgz", + "integrity": "sha512-rTltw2ABHrcKc8EGimALvXmrDTP5hlNbEy6nYolJoXEI9EwHgriWrVLVPs3OEF+/ed47dbJi9EGOXUOgzgpB5A==", "dev": true, "requires": { - "@angular-devkit/core": "15.1.2", + "@angular-devkit/core": "15.2.8", "rxjs": "6.6.7" }, "dependencies": { @@ -12810,39 +13546,40 @@ } }, "@angular-devkit/build-angular": { - "version": "15.1.2", - "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-15.1.2.tgz", - "integrity": "sha512-8udBKfHo3c/hOuh6VB11UKQZcqbolcNW2smtM9HJMm3fcykvyFEIitoCyl/tgraST+14/kA4aiINdl4EQ4BanQ==", + "version": "15.2.8", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-15.2.8.tgz", + "integrity": "sha512-TGDnXhhOG6h6TOrWWzfnkha7wYBOXi7iJc1o1w1VKCayE3T6TZZdF847aK66vL9KG7AKYVdGhWEGw2WBHUBUpg==", "dev": true, "requires": { "@ampproject/remapping": "2.2.0", - "@angular-devkit/architect": "0.1501.2", - "@angular-devkit/build-webpack": "0.1501.2", - "@angular-devkit/core": "15.1.2", + "@angular-devkit/architect": "0.1502.8", + "@angular-devkit/build-webpack": "0.1502.8", + "@angular-devkit/core": "15.2.8", "@babel/core": "7.20.12", - "@babel/generator": "7.20.7", + "@babel/generator": "7.20.14", "@babel/helper-annotate-as-pure": "7.18.6", + "@babel/helper-split-export-declaration": "7.18.6", "@babel/plugin-proposal-async-generator-functions": "7.20.7", "@babel/plugin-transform-async-to-generator": "7.20.7", "@babel/plugin-transform-runtime": "7.19.6", "@babel/preset-env": "7.20.2", - "@babel/runtime": "7.20.7", + "@babel/runtime": "7.20.13", "@babel/template": "7.20.7", "@discoveryjs/json-ext": "0.5.7", - "@ngtools/webpack": "15.1.2", + "@ngtools/webpack": "15.2.8", "ansi-colors": "4.1.3", "autoprefixer": "10.4.13", "babel-loader": "9.1.2", "babel-plugin-istanbul": "6.1.1", - "browserslist": "4.21.4", + "browserslist": "4.21.5", "cacache": "17.0.4", "chokidar": "3.5.3", "copy-webpack-plugin": "11.0.0", "critters": "0.0.16", "css-loader": "6.7.3", - "esbuild": "0.16.17", - "esbuild-wasm": "0.16.17", - "glob": "8.0.3", + "esbuild": "0.17.8", + "esbuild-wasm": "0.17.8", + "glob": "8.1.0", "https-proxy-agent": "5.0.1", "inquirer": "8.2.4", "jsonc-parser": "3.2.0", @@ -12851,26 +13588,26 @@ "less-loader": "11.1.0", "license-webpack-plugin": "4.0.2", "loader-utils": "3.2.1", - "magic-string": "0.27.0", + "magic-string": "0.29.0", "mini-css-extract-plugin": "2.7.2", - "open": "8.4.0", + "open": "8.4.1", "ora": "5.4.1", - "parse5-html-rewriting-stream": "6.0.1", + "parse5-html-rewriting-stream": "7.0.0", "piscina": "3.2.0", "postcss": "8.4.21", "postcss-loader": "7.0.2", "resolve-url-loader": "5.0.0", "rxjs": "6.6.7", - "sass": "1.57.1", + "sass": "1.58.1", "sass-loader": "13.2.0", "semver": "7.3.8", "source-map-loader": "4.0.1", "source-map-support": "0.5.21", - "terser": "5.16.1", + "terser": "5.16.3", "text-table": "0.2.0", "tree-kill": "1.2.2", - "tslib": "2.4.1", - "webpack": "5.75.0", + "tslib": "2.5.0", + "webpack": "5.76.1", "webpack-dev-middleware": "6.0.1", "webpack-dev-server": "4.11.1", "webpack-merge": "5.8.0", @@ -12908,6 +13645,20 @@ } } }, + "autoprefixer": { + "version": "10.4.13", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.13.tgz", + "integrity": "sha512-49vKpMqcZYsJjwotvt4+h/BCjJVnhGwcLpDt5xkcaOG3eLrG/HUYLagrihYsQ+qrIBgIzX1Rw7a6L8I/ZA1Atg==", + "dev": true, + "requires": { + "browserslist": "^4.21.4", + "caniuse-lite": "^1.0.30001426", + "fraction.js": "^4.2.0", + "normalize-range": "^0.1.2", + "picocolors": "^1.0.0", + "postcss-value-parser": "^4.2.0" + } + }, "brace-expansion": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", @@ -12918,9 +13669,9 @@ } }, "glob": { - "version": "8.0.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-8.0.3.tgz", - "integrity": "sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", + "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", "dev": true, "requires": { "fs.realpath": "^1.0.0", @@ -12930,15 +13681,35 @@ "once": "^1.3.0" } }, + "magic-string": { + "version": "0.29.0", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.29.0.tgz", + "integrity": "sha512-WcfidHrDjMY+eLjlU+8OvwREqHwpgCeKVBUpQ3OhYYuvfaYCUgcbuBzappNzZvg/v8onU3oQj+BYpkOJe9Iw4Q==", + "dev": true, + "requires": { + "@jridgewell/sourcemap-codec": "^1.4.13" + } + }, "minimatch": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz", - "integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==", + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", "dev": true, "requires": { "brace-expansion": "^2.0.1" } }, + "postcss": { + "version": "8.4.21", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.21.tgz", + "integrity": "sha512-tP7u/Sn/dVxK2NnruI4H9BG+x+Wxz6oeZ1cJ8P6G/PZY0IKk4k/63TDsQf2kQq3+qoJeLm2kIBUNlZe3zgb4Zg==", + "dev": true, + "requires": { + "nanoid": "^3.3.4", + "picocolors": "^1.0.0", + "source-map-js": "^1.0.2" + } + }, "rxjs": { "version": "6.6.7", "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz", @@ -12972,12 +13743,12 @@ } }, "@angular-devkit/build-webpack": { - "version": "0.1501.2", - "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.1501.2.tgz", - "integrity": "sha512-FzslFvjuAabwtz2wMTCeemYCJA4NqRECz+WEsEZbtwESBMmKdaqmpbdW9ypsepB2iC7eIbHK43R95XAM75utTw==", + "version": "0.1502.8", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.1502.8.tgz", + "integrity": "sha512-jWtNv+S03FFLDe/C8SPCcRvkz3bSb2R+919IT086Q9axIPQ1VowOEwzt2k3qXPSSrC7GSYuASM+X92dB47NTQQ==", "dev": true, "requires": { - "@angular-devkit/architect": "0.1501.2", + "@angular-devkit/architect": "0.1502.8", "rxjs": "6.6.7" }, "dependencies": { @@ -12999,9 +13770,9 @@ } }, "@angular-devkit/core": { - "version": "15.1.2", - "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-15.1.2.tgz", - "integrity": "sha512-wkLZYvTZt30Ge6Z83Gxsr6mO1TIHCu3SImdE0zwW63EdU9o1NYkU74z1D9VUZ9Up7uHi1cHs/dssbxUuZ4eWOA==", + "version": "15.2.8", + "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-15.2.8.tgz", + "integrity": "sha512-Lo4XrbDMtXarKnMrFgWLmQdSX+3QPNAg4otG8cmp/U4jJyjV4dAYKEAsb1sCNGUSM4h4v09EQU/5ugVjDU29lQ==", "dev": true, "requires": { "ajv": "8.12.0", @@ -13029,18 +13800,27 @@ } }, "@angular-devkit/schematics": { - "version": "15.1.2", - "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-15.1.2.tgz", - "integrity": "sha512-HjJPm+4SS5TdAHHvdpXLv25wsvwVOn5RYs0A9MazTndlm80ct3PKeYUgakNDRFjRj8uORNlJMKmQIIhUSDjFsw==", + "version": "15.2.8", + "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-15.2.8.tgz", + "integrity": "sha512-w6EUGC96kVsH9f8sEzajzbONMawezyVBiSo+JYp5r25rQArAz/a+KZntbuETWHQ0rQOEsKmUNKxwmr11BaptSQ==", "dev": true, "requires": { - "@angular-devkit/core": "15.1.2", + "@angular-devkit/core": "15.2.8", "jsonc-parser": "3.2.0", - "magic-string": "0.27.0", + "magic-string": "0.29.0", "ora": "5.4.1", "rxjs": "6.6.7" }, "dependencies": { + "magic-string": { + "version": "0.29.0", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.29.0.tgz", + "integrity": "sha512-WcfidHrDjMY+eLjlU+8OvwREqHwpgCeKVBUpQ3OhYYuvfaYCUgcbuBzappNzZvg/v8onU3oQj+BYpkOJe9Iw4Q==", + "dev": true, + "requires": { + "@jridgewell/sourcemap-codec": "^1.4.13" + } + }, "rxjs": { "version": "6.6.7", "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz", @@ -13059,32 +13839,32 @@ } }, "@angular/animations": { - "version": "15.1.1", - "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-15.1.1.tgz", - "integrity": "sha512-oQrbO7uDsw1VcqhuSqvwQQPxEUjmssMM3nDbFUrs6A0MX7XIuhGnkB7mN35M6ZSd0Chj9DMzgbrYToPg1LoLHQ==", + "version": "15.2.9", + "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-15.2.9.tgz", + "integrity": "sha512-GQujLhI0cQFcl4Q8y0oSYKSRnW23GIeSL+Arl4eFufziJ9hGAAQNuesaNs/7i+9UlTHDMkPH3kd5ScXuYYz6wg==", "requires": { "tslib": "^2.3.0" } }, "@angular/cdk": { - "version": "15.1.1", - "resolved": "https://registry.npmjs.org/@angular/cdk/-/cdk-15.1.1.tgz", - "integrity": "sha512-99zaW+EqS/pJh2BLxC+L+/mAyaC3oncRUqRL4WWLENZI2lqD6mCe/kRYDL57WbSZaI54Of38u9GhkBVA/0rn7A==", + "version": "15.2.9", + "resolved": "https://registry.npmjs.org/@angular/cdk/-/cdk-15.2.9.tgz", + "integrity": "sha512-koaM07N1AIQ5oHU27l0/FoQSSoYAwlAYwVZ4Di3bYrJsTBNCN2Xsby7wI8gZxdepMnV4Fe9si382BDBov+oO4Q==", "requires": { "parse5": "^7.1.2", "tslib": "^2.3.0" } }, "@angular/cli": { - "version": "15.1.2", - "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-15.1.2.tgz", - "integrity": "sha512-h42k410W6PPnz9KjX8dCtruMqf1mHgIf7UWrLa8icKpk03U2SIgoJzaXgY/spSHiMGIdDnY1dAYKWV0GQS4zEg==", + "version": "15.2.8", + "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-15.2.8.tgz", + "integrity": "sha512-3VlTfm6DUZfFHBY43vQSAaqmFTxy3VtRd/iDBCHcEPhHwYLWBvNwReJuJfNja8O105QQ6DBiYVBExEBtPmjQ4w==", "dev": true, "requires": { - "@angular-devkit/architect": "0.1501.2", - "@angular-devkit/core": "15.1.2", - "@angular-devkit/schematics": "15.1.2", - "@schematics/angular": "15.1.2", + "@angular-devkit/architect": "0.1502.8", + "@angular-devkit/core": "15.2.8", + "@angular-devkit/schematics": "15.2.8", + "@schematics/angular": "15.2.8", "@yarnpkg/lockfile": "1.1.0", "ansi-colors": "4.1.3", "ini": "3.0.1", @@ -13092,9 +13872,9 @@ "jsonc-parser": "3.2.0", "npm-package-arg": "10.1.0", "npm-pick-manifest": "8.0.1", - "open": "8.4.0", + "open": "8.4.1", "ora": "5.4.1", - "pacote": "15.0.8", + "pacote": "15.1.0", "resolve": "1.22.1", "semver": "7.3.8", "symbol-observable": "4.0.0", @@ -13102,25 +13882,25 @@ } }, "@angular/common": { - "version": "15.1.1", - "resolved": "https://registry.npmjs.org/@angular/common/-/common-15.1.1.tgz", - "integrity": "sha512-P4f2rK/YBQQT4clQrcQ9goLf53RS63Q1x2d1dvz7Syr3gcOUyxO7NZQ7Au5afzvbIKZ5Okd+X0+TCGV4q9wQjw==", + "version": "15.2.9", + "resolved": "https://registry.npmjs.org/@angular/common/-/common-15.2.9.tgz", + "integrity": "sha512-LM9/UHG2dRrOzlu2KovrFwWIziFMjRxHzSP3Igw6Symw/wIl0kXGq8Fn6RpFP78zmLqnv+IQOoRiby9MCXsI4g==", "requires": { "tslib": "^2.3.0" } }, "@angular/compiler": { - "version": "15.1.1", - "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-15.1.1.tgz", - "integrity": "sha512-A35iXLTTDEej4F2tm5t1flA+5Tv+jYAkQx+d0xvH6LDiWvsiDsOe5OjP8L2LD8dejwWl/JYUz2TH0JZcvw0uqA==", + "version": "15.2.9", + "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-15.2.9.tgz", + "integrity": "sha512-MoKugbjk+E0wRBj12uvIyDLELlVLonnqjA2+XiF+7FxALIeyds3/qQeEoMmYIqAbN3NnTT5pV92RxWwG4tHFwA==", "requires": { "tslib": "^2.3.0" } }, "@angular/compiler-cli": { - "version": "15.1.1", - "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-15.1.1.tgz", - "integrity": "sha512-sBYvh6Y08aKuZPAVwzT1YGVfG63xeXElEfAfq6No9FLUHDo83QB9fU7ovXnu1RJFJiVIy16DHjmTpAmgvlomGA==", + "version": "15.2.9", + "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-15.2.9.tgz", + "integrity": "sha512-zsbI8G2xHOeYWI0hjFzrI//ZhZV9il/uQW5dAimfwJp06KZDeXZ3PdwY9JQslf6F+saLwOObxy6QMrIVvfjy9w==", "dev": true, "requires": { "@babel/core": "7.19.3", @@ -13169,25 +13949,25 @@ } }, "@angular/core": { - "version": "15.1.1", - "resolved": "https://registry.npmjs.org/@angular/core/-/core-15.1.1.tgz", - "integrity": "sha512-nsz+IXdkQanAGhqA2vcwTrGGyw5zIm3TgtYQ/JqK185qkmlhsQfSRvdSPsFPhmIFYp9ngZVUbkhY3D4P3gDzIg==", + "version": "15.2.9", + "resolved": "https://registry.npmjs.org/@angular/core/-/core-15.2.9.tgz", + "integrity": "sha512-w46Z1yUXCQfKV7XfnamOoLA2VD0MVUUYVrUjO73mHSskDXSXxfZAEHO9kfUS71Cj35PvhP3mbkqWscpea2WeYg==", "requires": { "tslib": "^2.3.0" } }, "@angular/forms": { - "version": "15.1.1", - "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-15.1.1.tgz", - "integrity": "sha512-1c/oZD+eSbGzDCcmC+hOqkPH+AzLOiGHxII5QiOOj8so8M958UBrsFBwrnLz06d9OK5Z4IrR4UL2JJspZNbpjw==", + "version": "15.2.9", + "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-15.2.9.tgz", + "integrity": "sha512-sk0pC2EFi2Ohg5J0q0NYptbT+2WOkoiERSMYA39ncDvlSZBWsNlxpkbGUSck7NIxjK2QfcVN1ldGbHlZTFvtqg==", "requires": { "tslib": "^2.3.0" } }, "@angular/material": { - "version": "15.1.1", - "resolved": "https://registry.npmjs.org/@angular/material/-/material-15.1.1.tgz", - "integrity": "sha512-QhyTJv9CnimXKXb4LCH93ovJVAdnoHyElwspl80PcfAV/6A6VrRQAflFoul0WL4WPrV50DG7TWYiEwHPpblbCw==", + "version": "15.2.9", + "resolved": "https://registry.npmjs.org/@angular/material/-/material-15.2.9.tgz", + "integrity": "sha512-emuFF/7+91Jq+6kVCl3FiVoFLtAZoh+woFQWNuK8nhx0HmD4ckLFI8d9a6ERYR3zRuKhq5deSRE2kYsfpjrrsQ==", "requires": { "@material/animation": "15.0.0-canary.684e33d25.0", "@material/auto-init": "15.0.0-canary.684e33d25.0", @@ -13240,33 +14020,33 @@ } }, "@angular/material-luxon-adapter": { - "version": "15.1.1", - "resolved": "https://registry.npmjs.org/@angular/material-luxon-adapter/-/material-luxon-adapter-15.1.1.tgz", - "integrity": "sha512-J3yYt3zfP4oNBedDPvP6JD6w3uUzwGkYDOkptbrYmy7SpH9Zyut84jcF++gjkFJqFB9tyCJxB/d/sSzEMJUOBQ==", + "version": "15.2.9", + "resolved": "https://registry.npmjs.org/@angular/material-luxon-adapter/-/material-luxon-adapter-15.2.9.tgz", + "integrity": "sha512-w05ncGb3TrT4UP4h/ef9fQYoTSlI6ud9UQI/KIOHzsEvoXIj56P3lLyCXNgtisnd/Xb7SQcJ1On7gi+6W1UStg==", "requires": { "tslib": "^2.3.0" } }, "@angular/platform-browser": { - "version": "15.1.1", - "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-15.1.1.tgz", - "integrity": "sha512-U1MXowvyigmMpffsnMQI6e9gX7tA6Su7unY0pjN5u9wRYJIkEbKuFyVijguQ83bt+JK3ZBHXD0dvskYnscGUzg==", + "version": "15.2.9", + "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-15.2.9.tgz", + "integrity": "sha512-ufCHeSX+U6d43YOMkn3igwfqtlozoCXADcbyfUEG8m2y9XASobqmCKvdSk/zfl62oyiA8msntWBJVBE2l4xKXg==", "requires": { "tslib": "^2.3.0" } }, "@angular/platform-browser-dynamic": { - "version": "15.1.1", - "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-15.1.1.tgz", - "integrity": "sha512-iCbvYduSGtyBWuQfTzm/MDZy7Rd5MNsjpknEtJ45nbjZzv9EL1tGo6qufaTgPXHP8Nbfcco/4UO9w84Gp5irLA==", + "version": "15.2.9", + "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-15.2.9.tgz", + "integrity": "sha512-ZIYDM6MShblb8OyV1m4+18lJJ2LCeICmeg2uSbpFYptYBSOClrTiYOOFVDJvn7HLvNzljLs16XPrgyaYVqNpcw==", "requires": { "tslib": "^2.3.0" } }, "@angular/router": { - "version": "15.1.1", - "resolved": "https://registry.npmjs.org/@angular/router/-/router-15.1.1.tgz", - "integrity": "sha512-5l1+6MzeJW01BeO8ZNfYe/TEVzxIHDKHWUrsmGE6oQW01LezG5LUjwR1T23YeR8G5zzRs/p+AU72wTn/aPGQHg==", + "version": "15.2.9", + "resolved": "https://registry.npmjs.org/@angular/router/-/router-15.2.9.tgz", + "integrity": "sha512-UCbh5DLSDhybv0xKYT7kGQMfOVdyhHIHOZz5EYVebbhste6S+W1LE57vTHq7QtxJsyKBa/WSkaUkCLXD6ntCAg==", "requires": { "tslib": "^2.3.0" } @@ -13323,9 +14103,9 @@ } }, "@babel/generator": { - "version": "7.20.7", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.20.7.tgz", - "integrity": "sha512-7wqMOJq8doJMZmP4ApXTzLxSr7+oO2jroJURrVEp6XShrQUObV8Tq/D0NCcoYg2uHqUrjzO0zwBjoYzelxK+sw==", + "version": "7.20.14", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.20.14.tgz", + "integrity": "sha512-AEmuXHdcD3A52HHXxaTmYlb8q/xMEhoRP67B3T4Oq7lbmSoqroMZzjnGj3+i1io3pdnF8iBYVu4Ilj+c4hBxYg==", "dev": true, "requires": { "@babel/types": "^7.20.7", @@ -14394,9 +15174,9 @@ } }, "@babel/runtime": { - "version": "7.20.7", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.20.7.tgz", - "integrity": "sha512-UF0tvkUtxwAgZ5W/KrkHf0Rn0fdnLDU9ScxBrEVNUprE/MzirjK4MJUX1/BVDv00Sv8cljtukVK1aky++X1SjQ==", + "version": "7.20.13", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.20.13.tgz", + "integrity": "sha512-gt3PKXs0DBoL9xCvOIIZ2NEqAGZqHjAnmVbfQtB620V0uReIQutpel14KcneZuer7UioY8ALKZ7iocavvzTNFA==", "dev": true, "requires": { "regenerator-runtime": "^0.13.11" @@ -14455,156 +15235,156 @@ "dev": true }, "@esbuild/android-arm": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.16.17.tgz", - "integrity": "sha512-N9x1CMXVhtWEAMS7pNNONyA14f71VPQN9Cnavj1XQh6T7bskqiLLrSca4O0Vr8Wdcga943eThxnVp3JLnBMYtw==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.17.8.tgz", + "integrity": "sha512-0/rb91GYKhrtbeglJXOhAv9RuYimgI8h623TplY2X+vA4EXnk3Zj1fXZreJ0J3OJJu1bwmb0W7g+2cT/d8/l/w==", "dev": true, "optional": true }, "@esbuild/android-arm64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.16.17.tgz", - "integrity": "sha512-MIGl6p5sc3RDTLLkYL1MyL8BMRN4tLMRCn+yRJJmEDvYZ2M7tmAf80hx1kbNEUX2KJ50RRtxZ4JHLvCfuB6kBg==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.17.8.tgz", + "integrity": "sha512-oa/N5j6v1svZQs7EIRPqR8f+Bf8g6HBDjD/xHC02radE/NjKHK7oQmtmLxPs1iVwYyvE+Kolo6lbpfEQ9xnhxQ==", "dev": true, "optional": true }, "@esbuild/android-x64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.16.17.tgz", - "integrity": "sha512-a3kTv3m0Ghh4z1DaFEuEDfz3OLONKuFvI4Xqczqx4BqLyuFaFkuaG4j2MtA6fuWEFeC5x9IvqnX7drmRq/fyAQ==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.17.8.tgz", + "integrity": "sha512-bTliMLqD7pTOoPg4zZkXqCDuzIUguEWLpeqkNfC41ODBHwoUgZ2w5JBeYimv4oP6TDVocoYmEhZrCLQTrH89bg==", "dev": true, "optional": true }, "@esbuild/darwin-arm64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.16.17.tgz", - "integrity": "sha512-/2agbUEfmxWHi9ARTX6OQ/KgXnOWfsNlTeLcoV7HSuSTv63E4DqtAc+2XqGw1KHxKMHGZgbVCZge7HXWX9Vn+w==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.17.8.tgz", + "integrity": "sha512-ghAbV3ia2zybEefXRRm7+lx8J/rnupZT0gp9CaGy/3iolEXkJ6LYRq4IpQVI9zR97ID80KJVoUlo3LSeA/sMAg==", "dev": true, "optional": true }, "@esbuild/darwin-x64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.16.17.tgz", - "integrity": "sha512-2By45OBHulkd9Svy5IOCZt376Aa2oOkiE9QWUK9fe6Tb+WDr8hXL3dpqi+DeLiMed8tVXspzsTAvd0jUl96wmg==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.17.8.tgz", + "integrity": "sha512-n5WOpyvZ9TIdv2V1K3/iIkkJeKmUpKaCTdun9buhGRWfH//osmUjlv4Z5mmWdPWind/VGcVxTHtLfLCOohsOXw==", "dev": true, "optional": true }, "@esbuild/freebsd-arm64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.16.17.tgz", - "integrity": "sha512-mt+cxZe1tVx489VTb4mBAOo2aKSnJ33L9fr25JXpqQqzbUIw/yzIzi+NHwAXK2qYV1lEFp4OoVeThGjUbmWmdw==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.17.8.tgz", + "integrity": "sha512-a/SATTaOhPIPFWvHZDoZYgxaZRVHn0/LX1fHLGfZ6C13JqFUZ3K6SMD6/HCtwOQ8HnsNaEeokdiDSFLuizqv5A==", "dev": true, "optional": true }, "@esbuild/freebsd-x64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.16.17.tgz", - "integrity": "sha512-8ScTdNJl5idAKjH8zGAsN7RuWcyHG3BAvMNpKOBaqqR7EbUhhVHOqXRdL7oZvz8WNHL2pr5+eIT5c65kA6NHug==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.17.8.tgz", + "integrity": "sha512-xpFJb08dfXr5+rZc4E+ooZmayBW6R3q59daCpKZ/cDU96/kvDM+vkYzNeTJCGd8rtO6fHWMq5Rcv/1cY6p6/0Q==", "dev": true, "optional": true }, "@esbuild/linux-arm": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.16.17.tgz", - "integrity": "sha512-iihzrWbD4gIT7j3caMzKb/RsFFHCwqqbrbH9SqUSRrdXkXaygSZCZg1FybsZz57Ju7N/SHEgPyaR0LZ8Zbe9gQ==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.17.8.tgz", + "integrity": "sha512-6Ij8gfuGszcEwZpi5jQIJCVIACLS8Tz2chnEBfYjlmMzVsfqBP1iGmHQPp7JSnZg5xxK9tjCc+pJ2WtAmPRFVA==", "dev": true, "optional": true }, "@esbuild/linux-arm64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.16.17.tgz", - "integrity": "sha512-7S8gJnSlqKGVJunnMCrXHU9Q8Q/tQIxk/xL8BqAP64wchPCTzuM6W3Ra8cIa1HIflAvDnNOt2jaL17vaW+1V0g==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.17.8.tgz", + "integrity": "sha512-v3iwDQuDljLTxpsqQDl3fl/yihjPAyOguxuloON9kFHYwopeJEf1BkDXODzYyXEI19gisEsQlG1bM65YqKSIww==", "dev": true, "optional": true }, "@esbuild/linux-ia32": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.16.17.tgz", - "integrity": "sha512-kiX69+wcPAdgl3Lonh1VI7MBr16nktEvOfViszBSxygRQqSpzv7BffMKRPMFwzeJGPxcio0pdD3kYQGpqQ2SSg==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.17.8.tgz", + "integrity": "sha512-8svILYKhE5XetuFk/B6raFYIyIqydQi+GngEXJgdPdI7OMKUbSd7uzR02wSY4kb53xBrClLkhH4Xs8P61Q2BaA==", "dev": true, "optional": true }, "@esbuild/linux-loong64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.16.17.tgz", - "integrity": "sha512-dTzNnQwembNDhd654cA4QhbS9uDdXC3TKqMJjgOWsC0yNCbpzfWoXdZvp0mY7HU6nzk5E0zpRGGx3qoQg8T2DQ==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.17.8.tgz", + "integrity": "sha512-B6FyMeRJeV0NpyEOYlm5qtQfxbdlgmiGdD+QsipzKfFky0K5HW5Td6dyK3L3ypu1eY4kOmo7wW0o94SBqlqBSA==", "dev": true, "optional": true }, "@esbuild/linux-mips64el": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.16.17.tgz", - "integrity": "sha512-ezbDkp2nDl0PfIUn0CsQ30kxfcLTlcx4Foz2kYv8qdC6ia2oX5Q3E/8m6lq84Dj/6b0FrkgD582fJMIfHhJfSw==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.17.8.tgz", + "integrity": "sha512-CCb67RKahNobjm/eeEqeD/oJfJlrWyw29fgiyB6vcgyq97YAf3gCOuP6qMShYSPXgnlZe/i4a8WFHBw6N8bYAA==", "dev": true, "optional": true }, "@esbuild/linux-ppc64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.16.17.tgz", - "integrity": "sha512-dzS678gYD1lJsW73zrFhDApLVdM3cUF2MvAa1D8K8KtcSKdLBPP4zZSLy6LFZ0jYqQdQ29bjAHJDgz0rVbLB3g==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.17.8.tgz", + "integrity": "sha512-bytLJOi55y55+mGSdgwZ5qBm0K9WOCh0rx+vavVPx+gqLLhxtSFU0XbeYy/dsAAD6xECGEv4IQeFILaSS2auXw==", "dev": true, "optional": true }, "@esbuild/linux-riscv64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.16.17.tgz", - "integrity": "sha512-ylNlVsxuFjZK8DQtNUwiMskh6nT0vI7kYl/4fZgV1llP5d6+HIeL/vmmm3jpuoo8+NuXjQVZxmKuhDApK0/cKw==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.17.8.tgz", + "integrity": "sha512-2YpRyQJmKVBEHSBLa8kBAtbhucaclb6ex4wchfY0Tj3Kg39kpjeJ9vhRU7x4mUpq8ISLXRXH1L0dBYjAeqzZAw==", "dev": true, "optional": true }, "@esbuild/linux-s390x": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.16.17.tgz", - "integrity": "sha512-gzy7nUTO4UA4oZ2wAMXPNBGTzZFP7mss3aKR2hH+/4UUkCOyqmjXiKpzGrY2TlEUhbbejzXVKKGazYcQTZWA/w==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.17.8.tgz", + "integrity": "sha512-QgbNY/V3IFXvNf11SS6exkpVcX0LJcob+0RWCgV9OiDAmVElnxciHIisoSix9uzYzScPmS6dJFbZULdSAEkQVw==", "dev": true, "optional": true }, "@esbuild/linux-x64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.16.17.tgz", - "integrity": "sha512-mdPjPxfnmoqhgpiEArqi4egmBAMYvaObgn4poorpUaqmvzzbvqbowRllQ+ZgzGVMGKaPkqUmPDOOFQRUFDmeUw==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.17.8.tgz", + "integrity": "sha512-mM/9S0SbAFDBc4OPoyP6SEOo5324LpUxdpeIUUSrSTOfhHU9hEfqRngmKgqILqwx/0DVJBzeNW7HmLEWp9vcOA==", "dev": true, "optional": true }, "@esbuild/netbsd-x64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.16.17.tgz", - "integrity": "sha512-/PzmzD/zyAeTUsduZa32bn0ORug+Jd1EGGAUJvqfeixoEISYpGnAezN6lnJoskauoai0Jrs+XSyvDhppCPoKOA==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.17.8.tgz", + "integrity": "sha512-eKUYcWaWTaYr9zbj8GertdVtlt1DTS1gNBWov+iQfWuWyuu59YN6gSEJvFzC5ESJ4kMcKR0uqWThKUn5o8We6Q==", "dev": true, "optional": true }, "@esbuild/openbsd-x64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.16.17.tgz", - "integrity": "sha512-2yaWJhvxGEz2RiftSk0UObqJa/b+rIAjnODJgv2GbGGpRwAfpgzyrg1WLK8rqA24mfZa9GvpjLcBBg8JHkoodg==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.17.8.tgz", + "integrity": "sha512-Vc9J4dXOboDyMXKD0eCeW0SIeEzr8K9oTHJU+Ci1mZc5njPfhKAqkRt3B/fUNU7dP+mRyralPu8QUkiaQn7iIg==", "dev": true, "optional": true }, "@esbuild/sunos-x64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.16.17.tgz", - "integrity": "sha512-xtVUiev38tN0R3g8VhRfN7Zl42YCJvyBhRKw1RJjwE1d2emWTVToPLNEQj/5Qxc6lVFATDiy6LjVHYhIPrLxzw==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.17.8.tgz", + "integrity": "sha512-0xvOTNuPXI7ft1LYUgiaXtpCEjp90RuBBYovdd2lqAFxje4sEucurg30M1WIm03+3jxByd3mfo+VUmPtRSVuOw==", "dev": true, "optional": true }, "@esbuild/win32-arm64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.16.17.tgz", - "integrity": "sha512-ga8+JqBDHY4b6fQAmOgtJJue36scANy4l/rL97W+0wYmijhxKetzZdKOJI7olaBaMhWt8Pac2McJdZLxXWUEQw==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.17.8.tgz", + "integrity": "sha512-G0JQwUI5WdEFEnYNKzklxtBheCPkuDdu1YrtRrjuQv30WsYbkkoixKxLLv8qhJmNI+ATEWquZe/N0d0rpr55Mg==", "dev": true, "optional": true }, "@esbuild/win32-ia32": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.16.17.tgz", - "integrity": "sha512-WnsKaf46uSSF/sZhwnqE4L/F89AYNMiD4YtEcYekBt9Q7nj0DiId2XH2Ng2PHM54qi5oPrQ8luuzGszqi/veig==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.17.8.tgz", + "integrity": "sha512-Fqy63515xl20OHGFykjJsMnoIWS+38fqfg88ClvPXyDbLtgXal2DTlhb1TfTX34qWi3u4I7Cq563QcHpqgLx8w==", "dev": true, "optional": true }, "@esbuild/win32-x64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.16.17.tgz", - "integrity": "sha512-y+EHuSchhL7FjHgvQL/0fnnFmO4T1bhvWANX6gcnqTjtnKWbTvUMCpGnv2+t+31d7RzyEAYAd4u2fnIhHL6N/Q==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.17.8.tgz", + "integrity": "sha512-1iuezdyDNngPnz8rLRDO2C/ZZ/emJLb72OsZeqQ6gL6Avko/XCXZw+NuxBSNhBAP13Hie418V7VMt9et1FMvpg==", "dev": true, "optional": true }, @@ -14614,6 +15394,71 @@ "integrity": "sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==", "dev": true }, + "@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "dev": true, + "requires": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "dev": true + }, + "ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "dev": true + }, + "emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", + "dev": true + }, + "string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dev": true, + "requires": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + } + }, + "strip-ansi": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.0.1.tgz", + "integrity": "sha512-cXNxvT8dFNRVfhVME3JAe98mkXDYN2O1l7jmcwMnOslDeESg1rF/OZMtK0nRAhiari1unG5cD4jG3rapUAkLbw==", + "dev": true, + "requires": { + "ansi-regex": "^6.0.1" + } + }, + "wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "dev": true, + "requires": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + } + } + } + }, "@istanbuljs/load-nyc-config": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", @@ -14644,9 +15489,9 @@ } }, "@jridgewell/resolve-uri": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.0.7.tgz", - "integrity": "sha512-8cXDaBBHOr2pQ7j77Y6Vp5VDT2sIqWyWQ56TjEq4ih/a4iST3dItRe8Q9fp0rrIl9DoKhWQtUQz/YpOxLkXbNA==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz", + "integrity": "sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==", "dev": true }, "@jridgewell/set-array": { @@ -14656,9 +15501,9 @@ "dev": true }, "@jridgewell/source-map": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.2.tgz", - "integrity": "sha512-m7O9o2uR8k2ObDysZYzdfhb08VuEml5oWGiosa1VdaPZ/A6QyPkAJuwN0Q1lhULOf6B7MtQmHENS743hWtCrgw==", + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.3.tgz", + "integrity": "sha512-b+fsZXeLYi9fEULmfBrhxn4IrPlINf8fiNarzTof004v3lFdntdwa9PF7vFJqm3mg7s+ScJMxXaE3Acp1irZcg==", "dev": true, "requires": { "@jridgewell/gen-mapping": "^0.3.0", @@ -14666,9 +15511,9 @@ }, "dependencies": { "@jridgewell/gen-mapping": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz", - "integrity": "sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==", + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", + "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", "dev": true, "requires": { "@jridgewell/set-array": "^1.0.1", @@ -14685,13 +15530,13 @@ "dev": true }, "@jridgewell/trace-mapping": { - "version": "0.3.15", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.15.tgz", - "integrity": "sha512-oWZNOULl+UbhsgB51uuZzglikfIKSUBO/M9W2OfEjn7cmqoAiCgmv9lyACTUacZwBz0ITnJ2NqjU8Tx0DHL88g==", + "version": "0.3.18", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.18.tgz", + "integrity": "sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA==", "dev": true, "requires": { - "@jridgewell/resolve-uri": "^3.0.3", - "@jridgewell/sourcemap-codec": "^1.4.10" + "@jridgewell/resolve-uri": "3.1.0", + "@jridgewell/sourcemap-codec": "1.4.14" } }, "@leichtgewicht/ip-codec": { @@ -15452,9 +16297,9 @@ } }, "@ngneat/transloco": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/@ngneat/transloco/-/transloco-4.2.2.tgz", - "integrity": "sha512-IyLNUiC0O4aCRtvZ5D6KER9KP3UWoONJTAT7hhtBNWuLNNwamV29tlq08cYuMOKpp8i+YUWf9vTcRNeHsIQgYg==", + "version": "4.2.6", + "resolved": "https://registry.npmjs.org/@ngneat/transloco/-/transloco-4.2.6.tgz", + "integrity": "sha512-dh1pivJFSRLlF4fSAuwSWG2pwdhLHQ7FiDbVcJQIm3q0c6io5SqfRCi2WiFw+R0dys5RXNFX0PBr9spgYFdpdw==", "requires": { "@ngneat/transloco-utils": "^3.0.1", "flat": "5.0.2", @@ -15474,9 +16319,9 @@ } }, "@ngtools/webpack": { - "version": "15.1.2", - "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-15.1.2.tgz", - "integrity": "sha512-IxKPqyA5hiwUioAAptFaETF2TifH6cTGOc7qKYFxFgzK+llZtEBcNj3w9zrL5uCFnPHWDZqdIDhH3/WM4zBmkw==", + "version": "15.2.8", + "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-15.2.8.tgz", + "integrity": "sha512-BJexeT4FxMtToVBGa3wdl6rrkYXgilP0kkSH4Qzu4MPlLPbeBSr4XQalQriewlpC2uzG0r2SJfrAe2eDhtSykA==", "dev": true }, "@nodelib/fs.scandir": { @@ -15515,14 +16360,13 @@ } }, "@npmcli/git": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/@npmcli/git/-/git-4.0.3.tgz", - "integrity": "sha512-8cXNkDIbnXPVbhXMmQ7/bklCAjtmPaXfI9aEM4iH+xSuEHINLMHhlfESvVwdqmHJRJkR48vNJTSUvoF6GRPSFA==", + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@npmcli/git/-/git-4.0.4.tgz", + "integrity": "sha512-5yZghx+u5M47LghaybLCkdSyFzV/w4OuH12d96HO389Ik9CDsLaDZJVynSGGVJOLn6gy/k7Dz5XYcplM3uxXRg==", "dev": true, "requires": { "@npmcli/promise-spawn": "^6.0.0", "lru-cache": "^7.4.4", - "mkdirp": "^1.0.4", "npm-pick-manifest": "^8.0.0", "proc-log": "^3.0.0", "promise-inflight": "^1.0.1", @@ -15532,15 +16376,15 @@ }, "dependencies": { "lru-cache": { - "version": "7.14.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.1.tgz", - "integrity": "sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==", + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", "dev": true }, "which": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/which/-/which-3.0.0.tgz", - "integrity": "sha512-nla//68K9NU6yRiwDY/Q8aU6siKlSs64aEC7+IV56QoAuyQT2ovsJcgGYGyqMOmI/CGN1BOR6mM5EN0FBO+zyQ==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/which/-/which-3.0.1.tgz", + "integrity": "sha512-XA1b62dzQzLfaEOSQFTCOd5KFf/1VSzZo7/7TUjnya6u0vGGKzU96UQBZTAThCb2j4/xjBAyii1OhRLJEivHvg==", "dev": true, "requires": { "isexe": "^2.0.0" @@ -15549,9 +16393,9 @@ } }, "@npmcli/installed-package-contents": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@npmcli/installed-package-contents/-/installed-package-contents-2.0.1.tgz", - "integrity": "sha512-GIykAFdOVK31Q1/zAtT5MbxqQL2vyl9mvFJv+OGu01zxbhL3p0xc8gJjdNGX1mWmUT43aEKVO2L6V/2j4TOsAA==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@npmcli/installed-package-contents/-/installed-package-contents-2.0.2.tgz", + "integrity": "sha512-xACzLPhnfD51GKvTOOuNX2/V4G4mz9/1I2MfDoye9kBM3RYe5g2YbscsaGoTlaWqkxeiapBWyseULVKpSVHtKQ==", "dev": true, "requires": { "npm-bundled": "^3.0.0", @@ -15584,9 +16428,9 @@ }, "dependencies": { "which": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/which/-/which-3.0.0.tgz", - "integrity": "sha512-nla//68K9NU6yRiwDY/Q8aU6siKlSs64aEC7+IV56QoAuyQT2ovsJcgGYGyqMOmI/CGN1BOR6mM5EN0FBO+zyQ==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/which/-/which-3.0.1.tgz", + "integrity": "sha512-XA1b62dzQzLfaEOSQFTCOd5KFf/1VSzZo7/7TUjnya6u0vGGKzU96UQBZTAThCb2j4/xjBAyii1OhRLJEivHvg==", "dev": true, "requires": { "isexe": "^2.0.0" @@ -15595,9 +16439,9 @@ } }, "@npmcli/run-script": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/@npmcli/run-script/-/run-script-6.0.0.tgz", - "integrity": "sha512-ql+AbRur1TeOdl1FY+RAwGW9fcr4ZwiVKabdvm93mujGREVuVLbdkXRJDrkTXSdCjaxYydr1wlA2v67jxWG5BQ==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/@npmcli/run-script/-/run-script-6.0.1.tgz", + "integrity": "sha512-Yi04ZSold8jcbBJD/ahKMJSQCQifH8DAbMwkBvoLaTpGFxzHC3B/5ZyoVR69q/4xedz84tvi9DJOJjNe17h+LA==", "dev": true, "requires": { "@npmcli/node-gyp": "^3.0.0", @@ -15608,9 +16452,9 @@ }, "dependencies": { "which": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/which/-/which-3.0.0.tgz", - "integrity": "sha512-nla//68K9NU6yRiwDY/Q8aU6siKlSs64aEC7+IV56QoAuyQT2ovsJcgGYGyqMOmI/CGN1BOR6mM5EN0FBO+zyQ==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/which/-/which-3.0.1.tgz", + "integrity": "sha512-XA1b62dzQzLfaEOSQFTCOd5KFf/1VSzZo7/7TUjnya6u0vGGKzU96UQBZTAThCb2j4/xjBAyii1OhRLJEivHvg==", "dev": true, "requires": { "isexe": "^2.0.0" @@ -15618,21 +16462,28 @@ } } }, + "@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "dev": true, + "optional": true + }, "@schematics/angular": { - "version": "15.1.2", - "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-15.1.2.tgz", - "integrity": "sha512-PcAbjbWvaW3yKvcGCqHrlHm4BTwGuqr58czCASc49Hy6tJba+dRblYatzB0D1tzdJOTsa684Ghg7knCN86fHeg==", + "version": "15.2.8", + "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-15.2.8.tgz", + "integrity": "sha512-F49IEzCFxQlpaMIgTO/wF1l/CLQKif7VaiDdyiTKOeT22IMmyd61FUmWDyZYfCBqMlvBmvDGx64HaHWes1HYCg==", "dev": true, "requires": { - "@angular-devkit/core": "15.1.2", - "@angular-devkit/schematics": "15.1.2", + "@angular-devkit/core": "15.2.8", + "@angular-devkit/schematics": "15.2.8", "jsonc-parser": "3.2.0" } }, - "@tailwindcss/line-clamp": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/@tailwindcss/line-clamp/-/line-clamp-0.4.2.tgz", - "integrity": "sha512-HFzAQuqYCjyy/SX9sLGB1lroPzmcnWv1FHkIpmypte10hptf4oPUfucryMKovZh2u0uiS9U5Ty3GghWfEJGwVw==", + "@sigstore/protobuf-specs": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@sigstore/protobuf-specs/-/protobuf-specs-0.1.0.tgz", + "integrity": "sha512-a31EnjuIDSX8IXBUib3cYLDRlPMU36AWX4xS8ysLaNu4ZzUesDiPt83pgrW2X1YLMe5L2HbDyaKK5BrL4cNKaQ==", "dev": true }, "@tailwindcss/typography": { @@ -15653,6 +16504,42 @@ "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", "dev": true }, + "@tufjs/canonical-json": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@tufjs/canonical-json/-/canonical-json-1.0.0.tgz", + "integrity": "sha512-QTnf++uxunWvG2z3UFNzAoQPHxnSXOwtaI3iJ+AohhV+5vONuArPjJE7aPXPVXfXJsqrVbZBu9b81AJoSd09IQ==", + "dev": true + }, + "@tufjs/models": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@tufjs/models/-/models-1.0.4.tgz", + "integrity": "sha512-qaGV9ltJP0EO25YfFUPhxRVK0evXFIAGicsVXuRim4Ed9cjPxYhNnNJ49SFmbeLgtxpslIkX317IgpfcHPVj/A==", + "dev": true, + "requires": { + "@tufjs/canonical-json": "1.0.0", + "minimatch": "^9.0.0" + }, + "dependencies": { + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0" + } + }, + "minimatch": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.0.tgz", + "integrity": "sha512-0jJj8AvgKqWN05mrwuqi8QYKx1WmYSUoKSxu5Qhs9prezTz10sxAHGNZe9J9cqIJzta8DWsleh2KaVaLl6Ru2w==", + "dev": true, + "requires": { + "brace-expansion": "^2.0.1" + } + } + } + }, "@types/body-parser": { "version": "1.19.2", "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.2.tgz", @@ -15673,9 +16560,9 @@ } }, "@types/chroma-js": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/@types/chroma-js/-/chroma-js-2.1.4.tgz", - "integrity": "sha512-l9hWzP7cp7yleJUI7P2acmpllTJNYf5uU6wh50JzSIZt3fFHe+w2FM6w9oZGBTYzjjm2qHdnQvI+fF/JF/E5jQ==", + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/@types/chroma-js/-/chroma-js-2.4.0.tgz", + "integrity": "sha512-JklMxityrwjBTjGY2anH8JaTx3yjRU3/sEHSblLH1ba5lqcSh1LnImXJZO5peJfXyqKYWjHTGy4s5Wz++hARrw==", "dev": true }, "@types/component-emitter": { @@ -15722,9 +16609,9 @@ "dev": true }, "@types/eslint": { - "version": "8.4.10", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.4.10.tgz", - "integrity": "sha512-Sl/HOqN8NKPmhWo2VBEPm0nvHnu2LL3v9vKo8MEq0EtbJ4eVzGPl41VNPvn5E1i5poMk4/XD8UriLHpJvEP/Nw==", + "version": "8.37.0", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.37.0.tgz", + "integrity": "sha512-Piet7dG2JBuDIfohBngQ3rCt7MgO9xCO4xIMKxBThCq5PNRB91IjlJ10eJVwfoNtvTErmxLzwBZ7rHZtbOMmFQ==", "dev": true, "requires": { "@types/estree": "*", @@ -15801,24 +16688,24 @@ "dev": true }, "@types/lodash": { - "version": "4.14.191", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.191.tgz", - "integrity": "sha512-BdZ5BCCvho3EIXw6wUCXHe7rS53AIDPLE+JzwgT+OsJk53oBfbSmZZ7CX4VaRoN78N+TJpFi9QPlfIVNmJYWxQ==", + "version": "4.14.194", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.194.tgz", + "integrity": "sha512-r22s9tAS7imvBt2lyHC9B8AGwWnXaYb1tY09oyLkXDs4vArpYJzw09nj8MLx5VfciBPGIb+ZwG0ssYnEPJxn/g==", "dev": true }, "@types/lodash-es": { - "version": "4.17.6", - "resolved": "https://registry.npmjs.org/@types/lodash-es/-/lodash-es-4.17.6.tgz", - "integrity": "sha512-R+zTeVUKDdfoRxpAryaQNRKk3105Rrgx2CFRClIgRGaqDTdjsm8h6IYA8ir584W3ePzkZfst5xIgDwYrlh9HLg==", + "version": "4.17.7", + "resolved": "https://registry.npmjs.org/@types/lodash-es/-/lodash-es-4.17.7.tgz", + "integrity": "sha512-z0ptr6UI10VlU6l5MYhGwS4mC8DZyYer2mCoyysZtSF7p26zOX8UpbrV0YpNYLGS8K4PUFIyEr62IMFFjveSiQ==", "dev": true, "requires": { "@types/lodash": "*" } }, "@types/luxon": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/@types/luxon/-/luxon-3.2.0.tgz", - "integrity": "sha512-lGmaGFoaXHuOLXFvuju2bfvZRqxAqkHPx9Y9IQdQABrinJJshJwfNCKV+u7rR3kJbiqfTF/NhOkcxxAFrObyaA==", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/@types/luxon/-/luxon-3.3.0.tgz", + "integrity": "sha512-uKRI5QORDnrGFYgcdAVnHvEIvEZ8noTpP/Bg+HeUzZghwinDlIS87DEenV5r1YoOF9G4x600YsUXLWZ19rmTmg==", "dev": true }, "@types/mime": { @@ -16080,9 +16967,9 @@ } }, "acorn": { - "version": "7.4.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", - "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", + "version": "8.8.2", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.2.tgz", + "integrity": "sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==", "dev": true }, "acorn-import-assertions": { @@ -16091,23 +16978,6 @@ "integrity": "sha512-m7VZ3jwz4eK6A4Vtt8Ew1/mNbP24u0FhdyfA7fSvnJR6LMdfOYnmuIrrJAgrYfYJ10F/otaHTtrtrtmHdMNzEw==", "dev": true }, - "acorn-node": { - "version": "1.8.2", - "resolved": "https://registry.npmjs.org/acorn-node/-/acorn-node-1.8.2.tgz", - "integrity": "sha512-8mt+fslDufLYntIoPAaIMUe/lrbrehIiwmR3t2k9LljIzoigEPF27eLk2hy8zSGzmR/ogr7zbRKINMo1u0yh5A==", - "dev": true, - "requires": { - "acorn": "^7.0.0", - "acorn-walk": "^7.0.0", - "xtend": "^4.0.2" - } - }, - "acorn-walk": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.2.0.tgz", - "integrity": "sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==", - "dev": true - }, "adjust-sourcemap-loader": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/adjust-sourcemap-loader/-/adjust-sourcemap-loader-4.0.0.tgz", @@ -16141,14 +17011,22 @@ } }, "agentkeepalive": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.2.1.tgz", - "integrity": "sha512-Zn4cw2NEqd+9fiSVWMscnjyQ1a8Yfoc5oBajLeo5w+YBHgDUcEBY2hS4YpTz6iN5f/2zQiktcuM6tS8x1p9dpA==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.3.0.tgz", + "integrity": "sha512-7Epl1Blf4Sy37j4v9f9FjICCh4+KAQOyXgHEwlyBiAQLbhKdq/i2QQU3amQalS/wPhdPzDXPL5DMR5bkn+YeWg==", "dev": true, "requires": { "debug": "^4.1.0", - "depd": "^1.1.2", + "depd": "^2.0.0", "humanize-ms": "^1.2.1" + }, + "dependencies": { + "depd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", + "dev": true + } } }, "aggregate-error": { @@ -16222,6 +17100,12 @@ "color-convert": "^1.9.0" } }, + "any-promise": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz", + "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==", + "dev": true + }, "anymatch": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", @@ -16233,9 +17117,9 @@ } }, "apexcharts": { - "version": "3.36.3", - "resolved": "https://registry.npmjs.org/apexcharts/-/apexcharts-3.36.3.tgz", - "integrity": "sha512-8/FXEs0ohXMff07Gv28XjhPwEJphIUdq2/wii/pcvi54Tw6z1mjrV8ydN8rlWi/ve8BAPBefJkLmRWv7UOBsLw==", + "version": "3.40.0", + "resolved": "https://registry.npmjs.org/apexcharts/-/apexcharts-3.40.0.tgz", + "integrity": "sha512-dSi3BUfCJkFd67uFp+xffrJVd3lDT7AAUUyRp0qPYiglJ76CeZLddVhM3FAk1P9GCzf8VewqGYUPCYQvXm+b9A==", "requires": { "svg.draggable.js": "^2.2.2", "svg.easing.js": "^2.0.0", @@ -16283,13 +17167,13 @@ "dev": true }, "autoprefixer": { - "version": "10.4.13", - "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.13.tgz", - "integrity": "sha512-49vKpMqcZYsJjwotvt4+h/BCjJVnhGwcLpDt5xkcaOG3eLrG/HUYLagrihYsQ+qrIBgIzX1Rw7a6L8I/ZA1Atg==", + "version": "10.4.14", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.14.tgz", + "integrity": "sha512-FQzyfOsTlwVzjHxKEqRIAdJx9niO6VCBCoEwax/VLSoQF29ggECcPuBqUMZ+u8jCZOPSy8b8/8KnuFbp0SaFZQ==", "dev": true, "requires": { - "browserslist": "^4.21.4", - "caniuse-lite": "^1.0.30001426", + "browserslist": "^4.21.5", + "caniuse-lite": "^1.0.30001464", "fraction.js": "^4.2.0", "normalize-range": "^0.1.2", "picocolors": "^1.0.0", @@ -16490,15 +17374,15 @@ } }, "browserslist": { - "version": "4.21.4", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.4.tgz", - "integrity": "sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw==", + "version": "4.21.5", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.5.tgz", + "integrity": "sha512-tUkiguQGW7S3IhB7N+c2MV/HZPSCPAAiYBZXLsBhFB/PCy6ZKKsZrmBayHV9fdGV/ARIfJ14NkxKzRDjvp7L6w==", "dev": true, "requires": { - "caniuse-lite": "^1.0.30001400", - "electron-to-chromium": "^1.4.251", - "node-releases": "^2.0.6", - "update-browserslist-db": "^1.0.9" + "caniuse-lite": "^1.0.30001449", + "electron-to-chromium": "^1.4.284", + "node-releases": "^2.0.8", + "update-browserslist-db": "^1.0.10" } }, "buffer": { @@ -16618,9 +17502,9 @@ "dev": true }, "caniuse-lite": { - "version": "1.0.30001431", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001431.tgz", - "integrity": "sha512-zBUoFU0ZcxpvSt9IU66dXVT/3ctO1cy4y9cscs1szkPlcWb6pasYM144GqrUygUbT+k7cmUCW61cvskjcv0enQ==", + "version": "1.0.30001482", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001482.tgz", + "integrity": "sha512-F1ZInsg53cegyjroxLNW9DmrEQ1SuGRTO1QlpA0o2/6OpQ0gFeDRoq1yFmnr8Sakn9qwwt9DmbxHB6w167OSuQ==", "dev": true }, "chalk": { @@ -16750,6 +17634,12 @@ "integrity": "sha512-3tlv/dIP7FWvj3BsbHrGLJ6l/oKh1O3TcgBqMn+yyCagOxc23fyzDS6HypQbgxWbkpDnf52p1LuR4eWDQ/K9WQ==", "dev": true }, + "commander": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", + "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", + "dev": true + }, "commondir": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", @@ -17189,12 +18079,6 @@ "object-keys": "^1.0.12" } }, - "defined": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz", - "integrity": "sha512-Y2caI5+ZwS5c3RiNDJ6u53VhQHv+hHKwhkI1iHvceKUHw9Df6EK2zRLfjejRgMuCuxK7PfSWIMwWecceVvThjQ==", - "dev": true - }, "delegates": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", @@ -17225,17 +18109,6 @@ "integrity": "sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==", "dev": true }, - "detective": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/detective/-/detective-5.2.1.tgz", - "integrity": "sha512-v9XE1zRnz1wRtgurGu0Bs8uHKFSTdteYZNbIPFVhUZ39L/S79ppMpdmVOZAnoz1jfEFodc48n6MX483Xo3t1yw==", - "dev": true, - "requires": { - "acorn-node": "^1.8.2", - "defined": "^1.0.0", - "minimist": "^1.2.6" - } - }, "di": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/di/-/di-0.0.1.tgz", @@ -17327,6 +18200,12 @@ "domhandler": "^4.2.0" } }, + "eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", + "dev": true + }, "ee-first": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", @@ -17334,9 +18213,9 @@ "dev": true }, "electron-to-chromium": { - "version": "1.4.271", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.271.tgz", - "integrity": "sha512-BCPBtK07xR1/uY2HFDtl3wK2De66AW4MSiPlLrnPNxKC/Qhccxd59W73654S3y6Rb/k3hmuGJOBnhjfoutetXA==", + "version": "1.4.382", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.382.tgz", + "integrity": "sha512-czMavlW52VIPgutbVL9JnZIZuFijzsG1ww/1z2Otu1r1q+9Qe2bTsH3My3sZarlvwyqHM6+mnZfEnt2Vr4dsIg==", "dev": true }, "emoji-regex": { @@ -17403,9 +18282,9 @@ "dev": true }, "enhanced-resolve": { - "version": "5.10.0", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.10.0.tgz", - "integrity": "sha512-T0yTFjdpldGY8PmuXXR0PyQ1ufZpEGiHVrp7zHKB7jdR4qlmZHhONVM5AQOAWXuF/w3dnHbEQVrNptJgt7F+cQ==", + "version": "5.13.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.13.0.tgz", + "integrity": "sha512-eyV8f0y1+bzyfh8xAwW/WTSZpLbjhqc4ne9eGSH4Zo2ejdyiNG9pU6mf9DG8a7+Auk6MFTlNOT4Y2y/9k8GKVg==", "dev": true, "requires": { "graceful-fs": "^4.2.4", @@ -17461,40 +18340,40 @@ "dev": true }, "esbuild": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.16.17.tgz", - "integrity": "sha512-G8LEkV0XzDMNwXKgM0Jwu3nY3lSTwSGY6XbxM9cr9+s0T/qSV1q1JVPBGzm3dcjhCic9+emZDmMffkwgPeOeLg==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.17.8.tgz", + "integrity": "sha512-g24ybC3fWhZddZK6R3uD2iF/RIPnRpwJAqLov6ouX3hMbY4+tKolP0VMF3zuIYCaXun+yHwS5IPQ91N2BT191g==", "dev": true, "optional": true, "requires": { - "@esbuild/android-arm": "0.16.17", - "@esbuild/android-arm64": "0.16.17", - "@esbuild/android-x64": "0.16.17", - "@esbuild/darwin-arm64": "0.16.17", - "@esbuild/darwin-x64": "0.16.17", - "@esbuild/freebsd-arm64": "0.16.17", - "@esbuild/freebsd-x64": "0.16.17", - "@esbuild/linux-arm": "0.16.17", - "@esbuild/linux-arm64": "0.16.17", - "@esbuild/linux-ia32": "0.16.17", - "@esbuild/linux-loong64": "0.16.17", - "@esbuild/linux-mips64el": "0.16.17", - "@esbuild/linux-ppc64": "0.16.17", - "@esbuild/linux-riscv64": "0.16.17", - "@esbuild/linux-s390x": "0.16.17", - "@esbuild/linux-x64": "0.16.17", - "@esbuild/netbsd-x64": "0.16.17", - "@esbuild/openbsd-x64": "0.16.17", - "@esbuild/sunos-x64": "0.16.17", - "@esbuild/win32-arm64": "0.16.17", - "@esbuild/win32-ia32": "0.16.17", - "@esbuild/win32-x64": "0.16.17" + "@esbuild/android-arm": "0.17.8", + "@esbuild/android-arm64": "0.17.8", + "@esbuild/android-x64": "0.17.8", + "@esbuild/darwin-arm64": "0.17.8", + "@esbuild/darwin-x64": "0.17.8", + "@esbuild/freebsd-arm64": "0.17.8", + "@esbuild/freebsd-x64": "0.17.8", + "@esbuild/linux-arm": "0.17.8", + "@esbuild/linux-arm64": "0.17.8", + "@esbuild/linux-ia32": "0.17.8", + "@esbuild/linux-loong64": "0.17.8", + "@esbuild/linux-mips64el": "0.17.8", + "@esbuild/linux-ppc64": "0.17.8", + "@esbuild/linux-riscv64": "0.17.8", + "@esbuild/linux-s390x": "0.17.8", + "@esbuild/linux-x64": "0.17.8", + "@esbuild/netbsd-x64": "0.17.8", + "@esbuild/openbsd-x64": "0.17.8", + "@esbuild/sunos-x64": "0.17.8", + "@esbuild/win32-arm64": "0.17.8", + "@esbuild/win32-ia32": "0.17.8", + "@esbuild/win32-x64": "0.17.8" } }, "esbuild-wasm": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/esbuild-wasm/-/esbuild-wasm-0.16.17.tgz", - "integrity": "sha512-Tn7NuMqRcM+T/qCOxbQRq0qrwWl1sUWp6ARfJRakE8Bepew6zata4qrKgH2YqovNC5e/2fcTa7o+VL/FAOZC1Q==", + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/esbuild-wasm/-/esbuild-wasm-0.17.8.tgz", + "integrity": "sha512-zCmpxv95E0FuCmvdw1K836UHnj4EdiQnFfjTby35y3LAjRPtXMj3sbHDRHjbD8Mqg5lTwq3knacr/1qIFU51CQ==", "dev": true }, "escalade": { @@ -17872,6 +18751,24 @@ "integrity": "sha512-wtphSXy7d4/OR+MvIFbCVBDzZ5520qV8XfPklSN5QtxuMUJZ+b0Wnst1e1lCDocfzuCkHqj8k0FpZqO+UIaKNA==", "dev": true }, + "foreground-child": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", + "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", + "dev": true, + "requires": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + }, + "dependencies": { + "signal-exit": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.0.1.tgz", + "integrity": "sha512-uUWsN4aOxJAS8KOuf3QMyFtgm1pkb6I+KRZbRF/ghdf5T7sM+B1lLLzPDxswUjkmHyxQAVzEgG35E3NzDM9GVw==", + "dev": true + } + } + }, "forwarded": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", @@ -18078,9 +18975,9 @@ "dev": true }, "highlight.js": { - "version": "11.7.0", - "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.7.0.tgz", - "integrity": "sha512-1rRqesRFhMO/PRF+G86evnyJkCgaZFOI+Z6kdj15TA18funfoqJXvgPCLSf0SWq3SRfg1j3HlDs8o4s3EGq1oQ==" + "version": "11.8.0", + "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.8.0.tgz", + "integrity": "sha512-MedQhoqVdr0U6SSnWPzfiadUcDHfN/Wzq25AkXiQv9oiOO/sG0S7XkvpFIqWBl9Yq1UYyYOOVORs5UW2XlPyzg==" }, "hosted-git-info": { "version": "6.1.1", @@ -18092,9 +18989,9 @@ }, "dependencies": { "lru-cache": { - "version": "7.14.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.1.tgz", - "integrity": "sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==", + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", "dev": true } } @@ -18150,9 +19047,9 @@ "dev": true }, "http-cache-semantics": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz", - "integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz", + "integrity": "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==", "dev": true }, "http-deceiver": { @@ -18281,12 +19178,12 @@ "dev": true }, "ignore-walk": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-6.0.0.tgz", - "integrity": "sha512-bTf9UWe/UP1yxG3QUrj/KOvEhTAUWPcv+WvbFZ28LcqznXabp7Xu6o9y1JEC18+oqODuS7VhTpekV5XvFwsxJg==", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-6.0.3.tgz", + "integrity": "sha512-C7FfFoTA+bI10qfeydT8aZbvr91vAEU+2W5BZUlzPec47oNb07SsOfwYrtxuvOYdUApPP/Qlh4DtAO51Ekk2QA==", "dev": true, "requires": { - "minimatch": "^5.0.1" + "minimatch": "^9.0.0" }, "dependencies": { "brace-expansion": { @@ -18299,9 +19196,9 @@ } }, "minimatch": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", - "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.0.tgz", + "integrity": "sha512-0jJj8AvgKqWN05mrwuqi8QYKx1WmYSUoKSxu5Qhs9prezTz10sxAHGNZe9J9cqIJzta8DWsleh2KaVaLl6Ru2w==", "dev": true, "requires": { "brace-expansion": "^2.0.1" @@ -18317,9 +19214,9 @@ "optional": true }, "immutable": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.2.2.tgz", - "integrity": "sha512-fTMKDwtbvO5tldky9QZ2fMX7slR0mYpY5nbnFWYp0fOzDhHqhgIw9KoYgxLWsoNTS9ZHGauHj18DTyEw6BK3Og==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.3.0.tgz", + "integrity": "sha512-0AOCmOip+xgJwEVTQj1EfiDDOkPmuyllDuTuEX+DDXUgapLAsBIfkg3sxCYyCEA8mQqZrrxPUGjcOQ2JS3WLkg==", "dev": true }, "import-fresh": { @@ -18486,9 +19383,9 @@ } }, "is-core-module": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.9.0.tgz", - "integrity": "sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A==", + "version": "2.12.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.12.0.tgz", + "integrity": "sha512-RECHCBCd/viahWmwj6enj19sKbHfJrddi/6cBDsNTKbNq0f7VeaUkBo60BqzvPqo/W54ChS62Z5qyun7cfOMqQ==", "dev": true, "requires": { "has": "^1.0.3" @@ -18703,10 +19600,20 @@ "istanbul-lib-report": "^3.0.0" } }, + "jackspeak": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.2.0.tgz", + "integrity": "sha512-r5XBrqIJfwRIjRt/Xr5fv9Wh09qyhHfKnYddDlpM+ibRR20qrYActpCAgU6U+d53EOEjzkvxPMVHSlgR7leXrQ==", + "dev": true, + "requires": { + "@isaacs/cliui": "^8.0.2", + "@pkgjs/parseargs": "^0.11.0" + } + }, "jasmine-core": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-4.5.0.tgz", - "integrity": "sha512-9PMzyvhtocxb3aXJVOPqBDswdgyAeSB81QnLop4npOpbqnheaTEwPc9ZloQeVswugPManznQBjD8kWDTjlnHuw==", + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-4.6.0.tgz", + "integrity": "sha512-O236+gd0ZXS8YAjFx8xKaJ94/erqUliEkJTDedyE7iHvv4ZVqi+q+8acJxu05/WJDKm512EUNn809In37nWlAQ==", "dev": true }, "jest-worker": { @@ -18737,6 +19644,12 @@ } } }, + "jiti": { + "version": "1.18.2", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.18.2.tgz", + "integrity": "sha512-QAdOptna2NYiSSpv0O/BwoHBSmz4YhpzJHyi+fnMRTXFjp7B8i/YG5Z8IfusxB1ufjcD2Sre1F3R+nX3fvy7gg==", + "dev": true + }, "js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", @@ -18798,9 +19711,9 @@ "dev": true }, "karma": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/karma/-/karma-6.4.1.tgz", - "integrity": "sha512-Cj57NKOskK7wtFWSlMvZf459iX+kpYIPXmkNUzP2WAFcA7nhr/ALn5R7sw3w+1udFDcpMx/tuB8d5amgm3ijaA==", + "version": "6.4.2", + "resolved": "https://registry.npmjs.org/karma/-/karma-6.4.2.tgz", + "integrity": "sha512-C6SU/53LB31BEgRg+omznBEMY4SjHU3ricV6zBcAe1EeILKkeScr+fZXtaI5WyDbkVowJxxAI6h73NcFPmXolQ==", "dev": true, "requires": { "@colors/colors": "1.5.0", @@ -18868,9 +19781,9 @@ } }, "karma-chrome-launcher": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/karma-chrome-launcher/-/karma-chrome-launcher-3.1.1.tgz", - "integrity": "sha512-hsIglcq1vtboGPAN+DGCISCFOxW+ZVnIqhDQcCMqqCp+4dmJ0Qpq5QAjkbA0X2L9Mi6OBkHi2Srrbmm7pUKkzQ==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/karma-chrome-launcher/-/karma-chrome-launcher-3.2.0.tgz", + "integrity": "sha512-rE9RkUPI7I9mAxByQWkGJFXfFD6lE4gC5nPuZdobf/QdTEJI6EU4yIay/cfU/xV4ZxlM5JiTv7zWYgA64NpS5Q==", "dev": true, "requires": { "which": "^1.2.1" @@ -19015,9 +19928,9 @@ } }, "lilconfig": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.0.6.tgz", - "integrity": "sha512-9JROoBW7pobfsx+Sq2JsASvCo6Pfo6WWoUW79HuB1BCoBXD4PLWJPqDF6fNj67pqBYTbAHkE57M1kS/+L1neOg==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.1.0.tgz", + "integrity": "sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==", "dev": true }, "lines-and-columns": { @@ -19163,9 +20076,9 @@ } }, "luxon": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/luxon/-/luxon-3.2.1.tgz", - "integrity": "sha512-QrwPArQCNLAKGO/C+ZIilgIuDnEnKx5QYODdDtbFaxzsbZcc/a7WFq7MhsVYgRlwawLtvOUESTlfJ+hc/USqPg==" + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/luxon/-/luxon-3.3.0.tgz", + "integrity": "sha512-An0UCfG/rSiqtAIiBPO0Y9/zAnHUZxAMiCpTd5h2smgsj7GGmcenvrvww2cqNA8/4A5ZrD1gJpHN2mIHZQF+Mg==" }, "magic-string": { "version": "0.27.0", @@ -19285,9 +20198,9 @@ } }, "lru-cache": { - "version": "7.14.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.1.tgz", - "integrity": "sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==", + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", "dev": true }, "minimatch": { @@ -19623,10 +20536,21 @@ "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==", "dev": true }, + "mz": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz", + "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==", + "dev": true, + "requires": { + "any-promise": "^1.0.0", + "object-assign": "^4.0.1", + "thenify-all": "^1.0.0" + } + }, "nanoid": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz", - "integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==", + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz", + "integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==", "dev": true }, "needle": { @@ -19676,17 +20600,17 @@ "dev": true }, "ng-apexcharts": { - "version": "1.7.4", - "resolved": "https://registry.npmjs.org/ng-apexcharts/-/ng-apexcharts-1.7.4.tgz", - "integrity": "sha512-XpykR8qos14i2ly/QrmGkQIUQfqaZAe2+7tDg5An1akws3VwYg6O643g9LwdTIG3YeWlkKtt4zxYJpEJF3uLUg==", + "version": "1.7.6", + "resolved": "https://registry.npmjs.org/ng-apexcharts/-/ng-apexcharts-1.7.6.tgz", + "integrity": "sha512-XzW0gLRG9x9ntJ+Ena3dbrGB6lLPuIgVP21Qcv82zbebnYncG9aOyQk48fd2P56jDychanAVTYrNUuK0pMUM1g==", "requires": { "tslib": "^2.0.0" } }, "ngx-quill": { - "version": "20.0.1", - "resolved": "https://registry.npmjs.org/ngx-quill/-/ngx-quill-20.0.1.tgz", - "integrity": "sha512-X02Me3RYuQgoOHXzYrkdi4aaDHPkyTZTUib+2amKxAMpM9LEOh/QYrFjudreQJtih6rhV6kRorO5AS4UueX9Mw==", + "version": "21.0.0", + "resolved": "https://registry.npmjs.org/ngx-quill/-/ngx-quill-21.0.0.tgz", + "integrity": "sha512-LESpKu84GpH46XS3M/hRxdLTbj4aiVyy5Wojrj4/RoB3BGoG/YRRYzaqyrGfZyqH0LGS6cqYTpVfxTZNMCXEsQ==", "requires": { "tslib": "^2.3.0" } @@ -19741,9 +20665,9 @@ "optional": true }, "node-releases": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.6.tgz", - "integrity": "sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg==", + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.10.tgz", + "integrity": "sha512-5GFldHPXVG/YZmFzJvKK2zDSzPKhEp0+ZR5SVaoSag9fsL5YgHbUHDfnG5494ISANDcK4KwPXAx2xqVEydmd7w==", "dev": true }, "nopt": { @@ -19789,18 +20713,18 @@ } }, "npm-install-checks": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-6.0.0.tgz", - "integrity": "sha512-SBU9oFglRVZnfElwAtF14NivyulDqF1VKqqwNsFW9HDcbHMAPHpRSsVFgKuwFGq/hVvWZExz62Th0kvxn/XE7Q==", + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-6.1.1.tgz", + "integrity": "sha512-dH3GmQL4vsPtld59cOn8uY0iOqRmqKvV+DLGwNXV/Q7MDgD2QfOADWd/mFXcIE5LVhYYGjA3baz6W9JneqnuCw==", "dev": true, "requires": { "semver": "^7.1.1" } }, "npm-normalize-package-bin": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-3.0.0.tgz", - "integrity": "sha512-g+DPQSkusnk7HYXr75NtzkIP4+N81i3RPsGFidF3DzHd9MT9wWngmqoeg/fnHFz5MNdtG4w03s+QnhewSLTT2Q==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-3.0.1.tgz", + "integrity": "sha512-dMxCf+zZ+3zeQZXKxmyuCKlIDPGuv8EF940xbkC4kQVDTtqoh6rJFO+JTKSA6/Rwi0getWmtuy4Itup0AMcaDQ==", "dev": true }, "npm-package-arg": { @@ -19837,13 +20761,13 @@ } }, "npm-registry-fetch": { - "version": "14.0.3", - "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-14.0.3.tgz", - "integrity": "sha512-YaeRbVNpnWvsGOjX2wk5s85XJ7l1qQBGAp724h8e2CZFFhMSuw9enom7K1mWVUtvXO1uUSFIAPofQK0pPN0ZcA==", + "version": "14.0.5", + "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-14.0.5.tgz", + "integrity": "sha512-kIDMIo4aBm6xg7jOttupWZamsZRkAqMqwqqbVXnUqstY5+tapvv6bkH/qMR76jdgV+YljEUCyWx3hRYMrJiAgA==", "dev": true, "requires": { "make-fetch-happen": "^11.0.0", - "minipass": "^4.0.0", + "minipass": "^5.0.0", "minipass-fetch": "^3.0.0", "minipass-json-stream": "^1.0.1", "minizlib": "^2.1.2", @@ -19852,26 +20776,25 @@ }, "dependencies": { "lru-cache": { - "version": "7.14.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.1.tgz", - "integrity": "sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==", + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", "dev": true }, "make-fetch-happen": { - "version": "11.0.2", - "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-11.0.2.tgz", - "integrity": "sha512-5n/Pq41w/uZghpdlXAY5kIM85RgJThtTH/NYBRAZ9VUOBWV90USaQjwGrw76fZP3Lj5hl/VZjpVvOaRBMoL/2w==", + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-11.1.1.tgz", + "integrity": "sha512-rLWS7GCSTcEujjVBs2YqG7Y4643u8ucvCJeSRqiLYhesrDuzeuFIk37xREzAsfQaqzl8b9rNCE4m6J8tvX4Q8w==", "dev": true, "requires": { "agentkeepalive": "^4.2.1", "cacache": "^17.0.0", - "http-cache-semantics": "^4.1.0", + "http-cache-semantics": "^4.1.1", "http-proxy-agent": "^5.0.0", "https-proxy-agent": "^5.0.0", "is-lambda": "^1.0.1", "lru-cache": "^7.7.1", - "minipass": "^4.0.0", - "minipass-collect": "^1.0.2", + "minipass": "^5.0.0", "minipass-fetch": "^3.0.0", "minipass-flush": "^1.0.5", "minipass-pipeline": "^1.2.4", @@ -19881,14 +20804,20 @@ "ssri": "^10.0.0" } }, + "minipass": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", + "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", + "dev": true + }, "minipass-fetch": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.1.tgz", - "integrity": "sha512-t9/wowtf7DYkwz8cfMSt0rMwiyNIBXf5CKZ3S5ZMqRqMYT0oLTp0x1WorMI9WTwvaPg21r1JbFxJMum8JrLGfw==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.3.tgz", + "integrity": "sha512-n5ITsTkDqYkYJZjcRWzZt9qnZKCT7nKCosJhHoj7S7zD+BP4jVbWs+odsniw5TA3E0sLomhTKOKjF86wf11PuQ==", "dev": true, "requires": { "encoding": "^0.1.13", - "minipass": "^4.0.0", + "minipass": "^5.0.0", "minipass-sized": "^1.0.3", "minizlib": "^2.1.2" } @@ -19995,9 +20924,9 @@ } }, "open": { - "version": "8.4.0", - "resolved": "https://registry.npmjs.org/open/-/open-8.4.0.tgz", - "integrity": "sha512-XgFPPM+B28FtCCgSb9I+s9szOC1vZRSwgWsRUA5ylIxRTgKozqjOCrVOqGsYABPYK5qnfqClxZTFBa8PKt2v6Q==", + "version": "8.4.1", + "resolved": "https://registry.npmjs.org/open/-/open-8.4.1.tgz", + "integrity": "sha512-/4b7qZNhv6Uhd7jjnREh1NjnPxlTq+XNWPG88Ydkj5AILcA5m3ajvcg57pB24EQjKv0dK62XnDqk9c/hkIG5Kg==", "dev": true, "requires": { "define-lazy-prop": "^2.0.0", @@ -20126,9 +21055,9 @@ } }, "pacote": { - "version": "15.0.8", - "resolved": "https://registry.npmjs.org/pacote/-/pacote-15.0.8.tgz", - "integrity": "sha512-UlcumB/XS6xyyIMwg/WwMAyUmga+RivB5KgkRwA1hZNtrx+0Bt41KxHCvg1kr0pZ/ZeD8qjhW4fph6VaYRCbLw==", + "version": "15.1.0", + "resolved": "https://registry.npmjs.org/pacote/-/pacote-15.1.0.tgz", + "integrity": "sha512-FFcjtIl+BQNfeliSm7MZz5cpdohvUV1yjGnqgVM4UnVF7JslRY0ImXAygdaCDV0jjUADEWu4y5xsDV8brtrTLg==", "dev": true, "requires": { "@npmcli/git": "^4.0.0", @@ -20146,6 +21075,7 @@ "promise-retry": "^2.0.1", "read-package-json": "^6.0.0", "read-package-json-fast": "^3.0.0", + "sigstore": "^1.0.0", "ssri": "^10.0.0", "tar": "^6.1.11" } @@ -20190,7 +21120,7 @@ "version": "7.1.2", "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.1.2.tgz", "integrity": "sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==", - "optional": true, + "devOptional": true, "requires": { "entities": "^4.4.0" }, @@ -20199,24 +21129,25 @@ "version": "4.4.0", "resolved": "https://registry.npmjs.org/entities/-/entities-4.4.0.tgz", "integrity": "sha512-oYp7156SP8LkeGD0GF85ad1X9Ai79WtRsZ2gxJqtBuzH+98YUV6jkHEKlZkMbcrjJjIVJNIDP/3WL9wQkoPbWA==", - "optional": true + "devOptional": true } } }, "parse5-html-rewriting-stream": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/parse5-html-rewriting-stream/-/parse5-html-rewriting-stream-6.0.1.tgz", - "integrity": "sha512-vwLQzynJVEfUlURxgnf51yAJDQTtVpNyGD8tKi2Za7m+akukNHxCcUQMAa/mUGLhCeicFdpy7Tlvj8ZNKadprg==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/parse5-html-rewriting-stream/-/parse5-html-rewriting-stream-7.0.0.tgz", + "integrity": "sha512-mazCyGWkmCRWDI15Zp+UiCqMp/0dgEmkZRvhlsqqKYr4SsVm/TvnSpD9fCvqCA2zoWJcfRym846ejWBBHRiYEg==", "dev": true, "requires": { - "parse5": "^6.0.1", - "parse5-sax-parser": "^6.0.1" + "entities": "^4.3.0", + "parse5": "^7.0.0", + "parse5-sax-parser": "^7.0.0" }, "dependencies": { - "parse5": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz", - "integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==", + "entities": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", + "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", "dev": true } } @@ -20239,20 +21170,12 @@ } }, "parse5-sax-parser": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/parse5-sax-parser/-/parse5-sax-parser-6.0.1.tgz", - "integrity": "sha512-kXX+5S81lgESA0LsDuGjAlBybImAChYRMT+/uKCEXFBFOeEhS52qUCydGhU3qLRD8D9DVjaUo821WK7DM4iCeg==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/parse5-sax-parser/-/parse5-sax-parser-7.0.0.tgz", + "integrity": "sha512-5A+v2SNsq8T6/mG3ahcz8ZtQ0OUFTatxPbeidoMB7tkJSGDY3tdfl4MHovtLQHkEn5CGxijNWRQHhRQ6IRpXKg==", "dev": true, "requires": { - "parse5": "^6.0.1" - }, - "dependencies": { - "parse5": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz", - "integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==", - "dev": true - } + "parse5": "^7.0.0" } }, "parseurl": { @@ -20284,6 +21207,30 @@ "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", "dev": true }, + "path-scurry": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.7.0.tgz", + "integrity": "sha512-UkZUeDjczjYRE495+9thsgcVgsaCPkaw80slmfVFgllxY+IO8ubTsOpFVjDPROBqJdHfVPUFRHPBV/WciOVfWg==", + "dev": true, + "requires": { + "lru-cache": "^9.0.0", + "minipass": "^5.0.0" + }, + "dependencies": { + "lru-cache": { + "version": "9.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-9.1.1.tgz", + "integrity": "sha512-65/Jky17UwSb0BuB9V+MyDpsOtXKmYwzhyl+cOa9XUiI4uV2Ouy/2voFP3+al0BjZbJgMBD8FojMpAf+Z+qn4A==", + "dev": true + }, + "minipass": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", + "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", + "dev": true + } + } + }, "path-to-regexp": { "version": "0.1.7", "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", @@ -20315,7 +21262,13 @@ "pify": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", + "dev": true + }, + "pirates": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.5.tgz", + "integrity": "sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ==", "dev": true }, "piscina": { @@ -20340,20 +21293,20 @@ } }, "postcss": { - "version": "8.4.21", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.21.tgz", - "integrity": "sha512-tP7u/Sn/dVxK2NnruI4H9BG+x+Wxz6oeZ1cJ8P6G/PZY0IKk4k/63TDsQf2kQq3+qoJeLm2kIBUNlZe3zgb4Zg==", + "version": "8.4.23", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.23.tgz", + "integrity": "sha512-bQ3qMcpF6A/YjR55xtoTr0jGOlnPOKAIMdOWiv0EIT6HVPEaJiJB4NLljSbiHoC2RX7DN5Uvjtpbg1NPdwv1oA==", "dev": true, "requires": { - "nanoid": "^3.3.4", + "nanoid": "^3.3.6", "picocolors": "^1.0.0", "source-map-js": "^1.0.2" } }, "postcss-import": { - "version": "14.1.0", - "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-14.1.0.tgz", - "integrity": "sha512-flwI+Vgm4SElObFVPpTIT7SU7R3qk2L7PyduMcokiaVKuWv9d/U+Gm/QAd8NDLuykTWTkcrjOeD2Pp1rMeBTGw==", + "version": "15.1.0", + "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-15.1.0.tgz", + "integrity": "sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==", "dev": true, "requires": { "postcss-value-parser": "^4.0.0", @@ -20362,22 +21315,30 @@ } }, "postcss-js": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-4.0.0.tgz", - "integrity": "sha512-77QESFBwgX4irogGVPgQ5s07vLvFqWr228qZY+w6lW599cRlK/HmnlivnnVUxkjHnCu4J16PDMHcH+e+2HbvTQ==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-4.0.1.tgz", + "integrity": "sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==", "dev": true, "requires": { "camelcase-css": "^2.0.1" } }, "postcss-load-config": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-3.1.4.tgz", - "integrity": "sha512-6DiM4E7v4coTE4uzA8U//WhtPwyhiim3eyjEMFCnUpzbrkK9wJHgKDT2mR+HbtSrd/NubVaYTOpSpjUl8NQeRg==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-4.0.1.tgz", + "integrity": "sha512-vEJIc8RdiBRu3oRAI0ymerOn+7rPuMvRXslTvZUKZonDHFIczxztIyJ1urxM1x9JXEikvpWWTUUqal5j/8QgvA==", "dev": true, "requires": { "lilconfig": "^2.0.5", - "yaml": "^1.10.2" + "yaml": "^2.1.1" + }, + "dependencies": { + "yaml": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.2.2.tgz", + "integrity": "sha512-CBKFWExMn46Foo4cldiChEzn7S7SRV+wqiluAb6xmueD/fGyRHIhX8m14vVGgeFWjN540nKCNVj6P21eQjgTuA==", + "dev": true + } } }, "postcss-loader": { @@ -20427,12 +21388,24 @@ } }, "postcss-nested": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.0.0.tgz", - "integrity": "sha512-0DkamqrPcmkBDsLn+vQDIrtkSbNkv5AD/M322ySo9kqFkCIYklym2xEmWkwo+Y3/qZo34tzEPNUw4y7yMCdv5w==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.0.1.tgz", + "integrity": "sha512-mEp4xPMi5bSWiMbsgoPfcP74lsWLHkQbZc3sY+jWYd65CUwXrUaTp0fmNpa01ZcETKlIgUdFN/MpS2xZtqL9dQ==", "dev": true, "requires": { - "postcss-selector-parser": "^6.0.10" + "postcss-selector-parser": "^6.0.11" + }, + "dependencies": { + "postcss-selector-parser": { + "version": "6.0.12", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.12.tgz", + "integrity": "sha512-NdxGCAZdRrwVI1sy59+Wzrh+pMMHxapGnpfenDVlMEXoOcvt4pGE0JLK9YY2F5dLxcFYA/YbVQKhcGU+FtSYQg==", + "dev": true, + "requires": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + } + } } }, "postcss-selector-parser": { @@ -20537,12 +21510,6 @@ "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", "dev": true }, - "quick-lru": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz", - "integrity": "sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==", - "dev": true - }, "quill": { "version": "1.3.7", "resolved": "https://registry.npmjs.org/quill/-/quill-1.3.7.tgz", @@ -20603,19 +21570,19 @@ "read-cache": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz", - "integrity": "sha1-5mTvMRYRZsl1HNvo28+GtftY93Q=", + "integrity": "sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==", "dev": true, "requires": { "pify": "^2.3.0" } }, "read-package-json": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/read-package-json/-/read-package-json-6.0.0.tgz", - "integrity": "sha512-b/9jxWJ8EwogJPpv99ma+QwtqB7FSl3+V6UXS7Aaay8/5VwMY50oIFooY1UKXMWpfNCM6T/PoGqa5GD1g9xf9w==", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/read-package-json/-/read-package-json-6.0.3.tgz", + "integrity": "sha512-4QbpReW4kxFgeBQ0vPAqh2y8sXEB3D4t3jsXbJKIhBiF80KT6XRo45reqwtftju5J6ru1ax06A2Gb/wM1qCOEQ==", "dev": true, "requires": { - "glob": "^8.0.1", + "glob": "^10.2.2", "json-parse-even-better-errors": "^3.0.0", "normalize-package-data": "^5.0.0", "npm-normalize-package-bin": "^3.0.0" @@ -20631,16 +21598,16 @@ } }, "glob": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", - "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", + "version": "10.2.2", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.2.2.tgz", + "integrity": "sha512-Xsa0BcxIC6th9UwNjZkhrMtNo/MnyRL8jGCP+uEwhA5oFOCY1f2s1/oNKY47xQ0Bg5nkjsfAEIej1VeH62bDDQ==", "dev": true, "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^5.0.1", - "once": "^1.3.0" + "foreground-child": "^3.1.0", + "jackspeak": "^2.0.3", + "minimatch": "^9.0.0", + "minipass": "^5.0.0", + "path-scurry": "^1.7.0" } }, "json-parse-even-better-errors": { @@ -20650,13 +21617,19 @@ "dev": true }, "minimatch": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", - "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.0.tgz", + "integrity": "sha512-0jJj8AvgKqWN05mrwuqi8QYKx1WmYSUoKSxu5Qhs9prezTz10sxAHGNZe9J9cqIJzta8DWsleh2KaVaLl6Ru2w==", "dev": true, "requires": { "brace-expansion": "^2.0.1" } + }, + "minipass": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", + "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", + "dev": true } } }, @@ -20958,9 +21931,9 @@ } }, "rxjs": { - "version": "7.8.0", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.0.tgz", - "integrity": "sha512-F2+gxDshqmIub1KdvZkaEfGDwLNpPvk9Fs6LD/MyQxNgMds/WH9OdDDXOmxUZpME+iSK3rQCctkL0DYyytUqMg==", + "version": "7.8.1", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", + "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", "requires": { "tslib": "^2.1.0" } @@ -20983,9 +21956,9 @@ "integrity": "sha512-LRneZZRXNgjzwG4bDQdOTSbze3fHm1EAKN/8bePxnlEZiBmkYEDggaHbuvHI9/hoqHbGfsEA7tWS9GhYHZBBsw==" }, "sass": { - "version": "1.57.1", - "resolved": "https://registry.npmjs.org/sass/-/sass-1.57.1.tgz", - "integrity": "sha512-O2+LwLS79op7GI0xZ8fqzF7X2m/m8WFfI02dHOdsK5R2ECeS5F62zrwg/relM1rjSLy7Vd/DiMNIvPrQGsA0jw==", + "version": "1.58.1", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.58.1.tgz", + "integrity": "sha512-bnINi6nPXbP1XNRaranMFEBZWUfdW/AF16Ql5+ypRxfTvCRTTKrLsMIakyDcayUt2t/RZotmL4kgJwNH5xO+bg==", "dev": true, "requires": { "chokidar": ">=3.0.0 <4.0.0", @@ -21131,9 +22104,9 @@ } }, "serialize-javascript": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", - "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.1.tgz", + "integrity": "sha512-owoXEFjWRllis8/M1Q+Cw5k8ZH40e3zhp/ovX+Xr/vi1qj6QesbyXXViFbpNvWvPNAD62SutwEXavefrLJWj7w==", "dev": true, "requires": { "randombytes": "^2.1.0" @@ -21259,6 +22232,66 @@ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" }, + "sigstore": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/sigstore/-/sigstore-1.4.0.tgz", + "integrity": "sha512-N7TRpSbFjY/TrFDg6yGAQSYBrQ5s6qmPiq4pD6fkv1LoyfMsLG0NwZWG2s5q+uttLHgyVyTa0Rogx2P78rN8kQ==", + "dev": true, + "requires": { + "@sigstore/protobuf-specs": "^0.1.0", + "make-fetch-happen": "^11.0.1", + "tuf-js": "^1.1.3" + }, + "dependencies": { + "lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true + }, + "make-fetch-happen": { + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-11.1.1.tgz", + "integrity": "sha512-rLWS7GCSTcEujjVBs2YqG7Y4643u8ucvCJeSRqiLYhesrDuzeuFIk37xREzAsfQaqzl8b9rNCE4m6J8tvX4Q8w==", + "dev": true, + "requires": { + "agentkeepalive": "^4.2.1", + "cacache": "^17.0.0", + "http-cache-semantics": "^4.1.1", + "http-proxy-agent": "^5.0.0", + "https-proxy-agent": "^5.0.0", + "is-lambda": "^1.0.1", + "lru-cache": "^7.7.1", + "minipass": "^5.0.0", + "minipass-fetch": "^3.0.0", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.3", + "promise-retry": "^2.0.1", + "socks-proxy-agent": "^7.0.0", + "ssri": "^10.0.0" + } + }, + "minipass": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", + "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", + "dev": true + }, + "minipass-fetch": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.3.tgz", + "integrity": "sha512-n5ITsTkDqYkYJZjcRWzZt9qnZKCT7nKCosJhHoj7S7zD+BP4jVbWs+odsniw5TA3E0sLomhTKOKjF86wf11PuQ==", + "dev": true, + "requires": { + "encoding": "^0.1.13", + "minipass": "^5.0.0", + "minipass-sized": "^1.0.3", + "minizlib": "^2.1.2" + } + } + } + }, "smart-buffer": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", @@ -21381,9 +22414,9 @@ } }, "spdx-correct": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz", - "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz", + "integrity": "sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==", "dev": true, "requires": { "spdx-expression-parse": "^3.0.0", @@ -21407,9 +22440,9 @@ } }, "spdx-license-ids": { - "version": "3.0.12", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.12.tgz", - "integrity": "sha512-rr+VVSXtRhO4OHbXUiAF7xW3Bo9DuuF6C5jH+q/x15j2jniycgKbxU09Hr0WqlSLUs4i4ltHGXqTe7VHclYWyA==", + "version": "3.0.13", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.13.tgz", + "integrity": "sha512-XkD+zwiqXHikFZm4AX/7JSCXA98U5Db4AFd5XUg/+9UNtnH75+Z9KxtpYiJZx36mUDVOwH83pl7yvCer6ewM3w==", "dev": true }, "spdy": { @@ -21496,6 +22529,17 @@ "strip-ansi": "^6.0.1" } }, + "string-width-cjs": { + "version": "npm:string-width@4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + }, "strip-ansi": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", @@ -21504,12 +22548,63 @@ "ansi-regex": "^5.0.1" } }, + "strip-ansi-cjs": { + "version": "npm:strip-ansi@6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + } + }, "strip-final-newline": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", "dev": true }, + "sucrase": { + "version": "3.32.0", + "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.32.0.tgz", + "integrity": "sha512-ydQOU34rpSyj2TGyz4D2p8rbktIOZ8QY9s+DGLvFU1i5pWJE8vkpruCjGCMHsdXwnD7JDcS+noSwM/a7zyNFDQ==", + "dev": true, + "requires": { + "@jridgewell/gen-mapping": "^0.3.2", + "commander": "^4.0.0", + "glob": "7.1.6", + "lines-and-columns": "^1.1.6", + "mz": "^2.7.0", + "pirates": "^4.0.1", + "ts-interface-checker": "^0.1.9" + }, + "dependencies": { + "@jridgewell/gen-mapping": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", + "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", + "dev": true, + "requires": { + "@jridgewell/set-array": "^1.0.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.9" + } + }, + "glob": { + "version": "7.1.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", + "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + } + } + }, "supports-color": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", @@ -21595,42 +22690,36 @@ "dev": true }, "tailwindcss": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.2.4.tgz", - "integrity": "sha512-AhwtHCKMtR71JgeYDaswmZXhPcW9iuI9Sp2LvZPo9upDZ7231ZJ7eA9RaURbhpXGVlrjX4cFNlB4ieTetEb7hQ==", + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.2.tgz", + "integrity": "sha512-9jPkMiIBXvPc2KywkraqsUfbfj+dHDb+JPWtSJa9MLFdrPyazI7q6WX2sUrm7R9eVR7qqv3Pas7EvQFzxKnI6w==", "dev": true, "requires": { + "@alloc/quick-lru": "^5.2.0", "arg": "^5.0.2", "chokidar": "^3.5.3", - "color-name": "^1.1.4", - "detective": "^5.2.1", "didyoumean": "^1.2.2", "dlv": "^1.1.3", "fast-glob": "^3.2.12", "glob-parent": "^6.0.2", "is-glob": "^4.0.3", - "lilconfig": "^2.0.6", + "jiti": "^1.18.2", + "lilconfig": "^2.1.0", "micromatch": "^4.0.5", "normalize-path": "^3.0.0", "object-hash": "^3.0.0", "picocolors": "^1.0.0", - "postcss": "^8.4.18", - "postcss-import": "^14.1.0", - "postcss-js": "^4.0.0", - "postcss-load-config": "^3.1.4", - "postcss-nested": "6.0.0", - "postcss-selector-parser": "^6.0.10", + "postcss": "^8.4.23", + "postcss-import": "^15.1.0", + "postcss-js": "^4.0.1", + "postcss-load-config": "^4.0.1", + "postcss-nested": "^6.0.1", + "postcss-selector-parser": "^6.0.11", "postcss-value-parser": "^4.2.0", - "quick-lru": "^5.1.1", - "resolve": "^1.22.1" + "resolve": "^1.22.2", + "sucrase": "^3.32.0" }, "dependencies": { - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, "glob-parent": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", @@ -21639,6 +22728,27 @@ "requires": { "is-glob": "^4.0.3" } + }, + "postcss-selector-parser": { + "version": "6.0.12", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.12.tgz", + "integrity": "sha512-NdxGCAZdRrwVI1sy59+Wzrh+pMMHxapGnpfenDVlMEXoOcvt4pGE0JLK9YY2F5dLxcFYA/YbVQKhcGU+FtSYQg==", + "dev": true, + "requires": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + } + }, + "resolve": { + "version": "1.22.2", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.2.tgz", + "integrity": "sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==", + "dev": true, + "requires": { + "is-core-module": "^2.11.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + } } } }, @@ -21685,9 +22795,9 @@ } }, "terser": { - "version": "5.16.1", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.16.1.tgz", - "integrity": "sha512-xvQfyfA1ayT0qdK47zskQgRZeWLoOQ8JQ6mIgRGVNwZKdQMU+5FkCBjmv4QjcrTzyZquRw2FVtlJSRUmMKQslw==", + "version": "5.16.3", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.16.3.tgz", + "integrity": "sha512-v8wWLaS/xt3nE9dgKEWhNUFP6q4kngO5B8eYFUuebsu7Dw/UNAnpUod6UHo04jSSkv8TzKHjZDSd7EXdDQAl8Q==", "dev": true, "requires": { "@jridgewell/source-map": "^0.3.2", @@ -21696,12 +22806,6 @@ "source-map-support": "~0.5.20" }, "dependencies": { - "acorn": { - "version": "8.8.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.1.tgz", - "integrity": "sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA==", - "dev": true - }, "commander": { "version": "2.20.3", "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", @@ -21711,16 +22815,16 @@ } }, "terser-webpack-plugin": { - "version": "5.3.6", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.6.tgz", - "integrity": "sha512-kfLFk+PoLUQIbLmB1+PZDMRSZS99Mp+/MHqDNmMA6tOItzRt+Npe3E+fsMs5mfcM0wCtrrdU387UnV+vnSffXQ==", + "version": "5.3.7", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.7.tgz", + "integrity": "sha512-AfKwIktyP7Cu50xNjXF/6Qb5lBNzYaWpU6YfoX3uZicTx0zTy0stDDCsvjDapKsSDvOeWo5MEq4TmdBy2cNoHw==", "dev": true, "requires": { - "@jridgewell/trace-mapping": "^0.3.14", + "@jridgewell/trace-mapping": "^0.3.17", "jest-worker": "^27.4.5", "schema-utils": "^3.1.1", - "serialize-javascript": "^6.0.0", - "terser": "^5.14.1" + "serialize-javascript": "^6.0.1", + "terser": "^5.16.5" }, "dependencies": { "ajv": { @@ -21735,6 +22839,12 @@ "uri-js": "^4.2.2" } }, + "commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true + }, "json-schema-traverse": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", @@ -21742,15 +22852,27 @@ "dev": true }, "schema-utils": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", - "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.2.tgz", + "integrity": "sha512-pvjEHOgWc9OWA/f/DE3ohBWTD6EleVLf7iFUkoSwAxttdBhB9QUebQgxER2kWueOvRJXPHNnyrvvh9eZINB8Eg==", "dev": true, "requires": { "@types/json-schema": "^7.0.8", "ajv": "^6.12.5", "ajv-keywords": "^3.5.2" } + }, + "terser": { + "version": "5.17.1", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.17.1.tgz", + "integrity": "sha512-hVl35zClmpisy6oaoKALOpS0rDYLxRFLHhRuDlEGTKey9qHjS1w9GMORjuwIMt70Wan4lwsLYyWDVnWgF+KUEw==", + "dev": true, + "requires": { + "@jridgewell/source-map": "^0.3.2", + "acorn": "^8.5.0", + "commander": "^2.20.0", + "source-map-support": "~0.5.20" + } } } }, @@ -21771,6 +22893,24 @@ "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=", "dev": true }, + "thenify": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz", + "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==", + "dev": true, + "requires": { + "any-promise": "^1.0.0" + } + }, + "thenify-all": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz", + "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==", + "dev": true, + "requires": { + "thenify": ">= 3.1.0 < 4" + } + }, "through": { "version": "2.3.8", "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", @@ -21819,10 +22959,75 @@ "integrity": "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==", "dev": true }, + "ts-interface-checker": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz", + "integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==", + "dev": true + }, "tslib": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.1.tgz", - "integrity": "sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==" + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", + "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" + }, + "tuf-js": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/tuf-js/-/tuf-js-1.1.5.tgz", + "integrity": "sha512-inqodgxdsmuxrtQVbu6tPNgRKWD1Boy3VB6GO7KczJZpAHiTukwhSzXUSzvDcw5pE2Jo8ua+e1ykpHv7VdPVlQ==", + "dev": true, + "requires": { + "@tufjs/models": "1.0.4", + "make-fetch-happen": "^11.1.0" + }, + "dependencies": { + "lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true + }, + "make-fetch-happen": { + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-11.1.1.tgz", + "integrity": "sha512-rLWS7GCSTcEujjVBs2YqG7Y4643u8ucvCJeSRqiLYhesrDuzeuFIk37xREzAsfQaqzl8b9rNCE4m6J8tvX4Q8w==", + "dev": true, + "requires": { + "agentkeepalive": "^4.2.1", + "cacache": "^17.0.0", + "http-cache-semantics": "^4.1.1", + "http-proxy-agent": "^5.0.0", + "https-proxy-agent": "^5.0.0", + "is-lambda": "^1.0.1", + "lru-cache": "^7.7.1", + "minipass": "^5.0.0", + "minipass-fetch": "^3.0.0", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.3", + "promise-retry": "^2.0.1", + "socks-proxy-agent": "^7.0.0", + "ssri": "^10.0.0" + } + }, + "minipass": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", + "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", + "dev": true + }, + "minipass-fetch": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.3.tgz", + "integrity": "sha512-n5ITsTkDqYkYJZjcRWzZt9qnZKCT7nKCosJhHoj7S7zD+BP4jVbWs+odsniw5TA3E0sLomhTKOKjF86wf11PuQ==", + "dev": true, + "requires": { + "encoding": "^0.1.13", + "minipass": "^5.0.0", + "minipass-sized": "^1.0.3", + "minizlib": "^2.1.2" + } + } + } }, "type-fest": { "version": "0.21.3", @@ -21847,9 +23052,9 @@ "dev": true }, "typescript": { - "version": "4.9.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.4.tgz", - "integrity": "sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg==", + "version": "4.9.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", + "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", "dev": true }, "ua-parser-js": { @@ -21917,9 +23122,9 @@ "dev": true }, "update-browserslist-db": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.9.tgz", - "integrity": "sha512-/xsqn21EGVdXI3EXSum1Yckj3ZVZugqyOZQ/CxYPBD/R+ko9NSUScf8tFF4dOKY+2pvSSJA/S+5B8s4Zr4kyvg==", + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.11.tgz", + "integrity": "sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA==", "dev": true, "requires": { "escalade": "^3.1.1", @@ -22011,9 +23216,9 @@ } }, "webpack": { - "version": "5.75.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.75.0.tgz", - "integrity": "sha512-piaIaoVJlqMsPtX/+3KTTO6jfvrSYgauFVdt8cr9LTHKmcq/AMd4mhzsiP7ZF/PGRNPGA8336jldh9l2Kt2ogQ==", + "version": "5.76.1", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.76.1.tgz", + "integrity": "sha512-4+YIK4Abzv8172/SGqObnUjaIHjLEuUasz9EwQj/9xmPPkYJy2Mh03Q/lJfSD3YLzbxy5FeTq5Uw0323Oh6SJQ==", "dev": true, "requires": { "@types/eslint-scope": "^3.7.3", @@ -22042,12 +23247,6 @@ "webpack-sources": "^3.2.3" }, "dependencies": { - "acorn": { - "version": "8.8.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.1.tgz", - "integrity": "sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA==", - "dev": true - }, "ajv": { "version": "6.12.6", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", @@ -22067,9 +23266,9 @@ "dev": true }, "schema-utils": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", - "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.2.tgz", + "integrity": "sha512-pvjEHOgWc9OWA/f/DE3ohBWTD6EleVLf7iFUkoSwAxttdBhB9QUebQgxER2kWueOvRJXPHNnyrvvh9eZINB8Eg==", "dev": true, "requires": { "@types/json-schema": "^7.0.8", @@ -22236,6 +23435,43 @@ } } }, + "wrap-ansi-cjs": { + "version": "npm:wrap-ansi@7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + } + } + }, "wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", @@ -22247,12 +23483,6 @@ "integrity": "sha512-wBuoj1BDpC6ZQ1B7DWQBYVLphPWkm8i9Y0/3YdHjHKHiohOJ1ws+3OccDWtH+PoC9DZD5WOTrJvNbWvjS6JWaA==", "dev": true }, - "xtend": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", - "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", - "dev": true - }, "y18n": { "version": "5.0.8", "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", @@ -22301,9 +23531,9 @@ "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==" }, "zone.js": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/zone.js/-/zone.js-0.12.0.tgz", - "integrity": "sha512-XtC+I5dXU14HrzidAKBNMqneIVUykLEAA1x+v4KVrd6AUPWlwYORF8KgsVqvgdHiKZ4BkxxjvYi/ksEixTPR0Q==", + "version": "0.13.0", + "resolved": "https://registry.npmjs.org/zone.js/-/zone.js-0.13.0.tgz", + "integrity": "sha512-7m3hNNyswsdoDobCkYNAy5WiUulkMd3+fWaGT9ij6iq3Zr/IwJo4RMCYPSDjT+r7tnPErmY9sZpKhWQ8S5k6XQ==", "requires": { "tslib": "^2.3.0" } diff --git a/package.json b/package.json index d9b2972b..644c51cd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fuse-angular", - "version": "17.2.0", + "version": "18.0.0", "description": "Fuse - Angular Admin Template and Starter Project", "author": "https://themeforest.net/user/srcn", "license": "https://themeforest.net/licenses/standard", @@ -13,55 +13,54 @@ "test": "ng test" }, "dependencies": { - "@angular/animations": "15.1.1", - "@angular/cdk": "15.1.1", - "@angular/common": "15.1.1", - "@angular/compiler": "15.1.1", - "@angular/core": "15.1.1", - "@angular/forms": "15.1.1", - "@angular/material": "15.1.1", - "@angular/material-luxon-adapter": "15.1.1", - "@angular/platform-browser": "15.1.1", - "@angular/platform-browser-dynamic": "15.1.1", - "@angular/router": "15.1.1", - "@ngneat/transloco": "4.2.2", - "apexcharts": "3.36.3", + "@angular/animations": "15.2.9", + "@angular/cdk": "15.2.9", + "@angular/common": "15.2.9", + "@angular/compiler": "15.2.9", + "@angular/core": "15.2.9", + "@angular/forms": "15.2.9", + "@angular/material": "15.2.9", + "@angular/material-luxon-adapter": "15.2.9", + "@angular/platform-browser": "15.2.9", + "@angular/platform-browser-dynamic": "15.2.9", + "@angular/router": "15.2.9", + "@ngneat/transloco": "4.2.6", + "apexcharts": "3.40.0", "crypto-js": "3.3.0", - "highlight.js": "11.7.0", + "highlight.js": "11.8.0", "lodash-es": "4.17.21", - "luxon": "3.2.1", - "ng-apexcharts": "1.7.4", - "ngx-quill": "20.0.1", + "luxon": "3.3.0", + "ng-apexcharts": "1.7.6", + "ngx-quill": "21.0.0", "perfect-scrollbar": "1.5.5", "quill": "1.3.7", - "rxjs": "7.8.0", - "tslib": "2.4.1", - "zone.js": "0.12.0" + "rxjs": "7.8.1", + "tslib": "2.5.0", + "zone.js": "0.13.0" }, "devDependencies": { - "@angular-devkit/build-angular": "15.1.2", - "@angular/cli": "15.1.2", - "@angular/compiler-cli": "15.1.1", - "@tailwindcss/line-clamp": "0.4.2", + "@angular-devkit/build-angular": "15.2.8", + "@angular/cli": "15.2.8", + "@angular/compiler-cli": "15.2.9", "@tailwindcss/typography": "0.5.9", - "@types/chroma-js": "2.1.4", + "@types/chroma-js": "2.4.0", "@types/crypto-js": "3.1.47", "@types/highlight.js": "10.1.0", "@types/jasmine": "4.3.1", - "@types/lodash": "4.14.191", - "@types/lodash-es": "4.17.6", - "@types/luxon": "3.2.0", - "autoprefixer": "10.4.13", + "@types/lodash": "4.14.194", + "@types/lodash-es": "4.17.7", + "@types/luxon": "3.3.0", + "autoprefixer": "10.4.14", "chroma-js": "2.4.2", - "jasmine-core": "4.5.0", - "karma": "6.4.1", - "karma-chrome-launcher": "3.1.1", + "jasmine-core": "4.6.0", + "karma": "6.4.2", + "karma-chrome-launcher": "3.2.0", "karma-coverage": "2.2.0", "karma-jasmine": "5.1.0", "karma-jasmine-html-reporter": "2.0.0", "lodash": "4.17.21", - "postcss": "8.4.21", - "tailwindcss": "3.2.4", - "typescript": "4.9.4" + "postcss": "8.4.23", + "tailwindcss": "3.3.2", + "typescript": "4.9.5" } } diff --git a/src/@fuse/animations/expand-collapse.ts b/src/@fuse/animations/expand-collapse.ts index 60b63903..d0b93210 100644 --- a/src/@fuse/animations/expand-collapse.ts +++ b/src/@fuse/animations/expand-collapse.ts @@ -8,12 +8,12 @@ const expandCollapse = trigger('expandCollapse', [ state('void, collapsed', style({ - height: '0' - }) + height: '0', + }), ), state('*, expanded', - style('*') + style('*'), ), // Prevent the transition if the state is false @@ -24,11 +24,11 @@ const expandCollapse = trigger('expandCollapse', animate('{{timings}}'), { params: { - timings: `${FuseAnimationDurations.entering} ${FuseAnimationCurves.deceleration}` - } - } - ) - ] + timings: `${FuseAnimationDurations.entering} ${FuseAnimationCurves.deceleration}`, + }, + }, + ), + ], ); export { expandCollapse }; diff --git a/src/@fuse/animations/fade.ts b/src/@fuse/animations/fade.ts index a2982b70..d14cc2f1 100644 --- a/src/@fuse/animations/fade.ts +++ b/src/@fuse/animations/fade.ts @@ -8,14 +8,14 @@ const fadeIn = trigger('fadeIn', [ state('void', style({ - opacity: 0 - }) + opacity: 0, + }), ), state('*', style({ - opacity: 1 - }) + opacity: 1, + }), ), // Prevent the transition if the state is false @@ -25,11 +25,11 @@ const fadeIn = trigger('fadeIn', transition('void => *', animate('{{timings}}'), { params: { - timings: `${FuseAnimationDurations.entering} ${FuseAnimationCurves.deceleration}` - } - } - ) - ] + timings: `${FuseAnimationDurations.entering} ${FuseAnimationCurves.deceleration}`, + }, + }, + ), + ], ); // ----------------------------------------------------------------------------------------------------- @@ -40,15 +40,15 @@ const fadeInTop = trigger('fadeInTop', state('void', style({ opacity : 0, - transform: 'translate3d(0, -100%, 0)' - }) + transform: 'translate3d(0, -100%, 0)', + }), ), state('*', style({ opacity : 1, - transform: 'translate3d(0, 0, 0)' - }) + transform: 'translate3d(0, 0, 0)', + }), ), // Prevent the transition if the state is false @@ -58,11 +58,11 @@ const fadeInTop = trigger('fadeInTop', transition('void => *', animate('{{timings}}'), { params: { - timings: `${FuseAnimationDurations.entering} ${FuseAnimationCurves.deceleration}` - } - } - ) - ] + timings: `${FuseAnimationDurations.entering} ${FuseAnimationCurves.deceleration}`, + }, + }, + ), + ], ); // ----------------------------------------------------------------------------------------------------- @@ -73,15 +73,15 @@ const fadeInBottom = trigger('fadeInBottom', state('void', style({ opacity : 0, - transform: 'translate3d(0, 100%, 0)' - }) + transform: 'translate3d(0, 100%, 0)', + }), ), state('*', style({ opacity : 1, - transform: 'translate3d(0, 0, 0)' - }) + transform: 'translate3d(0, 0, 0)', + }), ), // Prevent the transition if the state is false @@ -91,11 +91,11 @@ const fadeInBottom = trigger('fadeInBottom', transition('void => *', animate('{{timings}}'), { params: { - timings: `${FuseAnimationDurations.entering} ${FuseAnimationCurves.deceleration}` - } - } - ) - ] + timings: `${FuseAnimationDurations.entering} ${FuseAnimationCurves.deceleration}`, + }, + }, + ), + ], ); // ----------------------------------------------------------------------------------------------------- @@ -106,15 +106,15 @@ const fadeInLeft = trigger('fadeInLeft', state('void', style({ opacity : 0, - transform: 'translate3d(-100%, 0, 0)' - }) + transform: 'translate3d(-100%, 0, 0)', + }), ), state('*', style({ opacity : 1, - transform: 'translate3d(0, 0, 0)' - }) + transform: 'translate3d(0, 0, 0)', + }), ), // Prevent the transition if the state is false @@ -124,11 +124,11 @@ const fadeInLeft = trigger('fadeInLeft', transition('void => *', animate('{{timings}}'), { params: { - timings: `${FuseAnimationDurations.entering} ${FuseAnimationCurves.deceleration}` - } - } - ) - ] + timings: `${FuseAnimationDurations.entering} ${FuseAnimationCurves.deceleration}`, + }, + }, + ), + ], ); // ----------------------------------------------------------------------------------------------------- @@ -139,15 +139,15 @@ const fadeInRight = trigger('fadeInRight', state('void', style({ opacity : 0, - transform: 'translate3d(100%, 0, 0)' - }) + transform: 'translate3d(100%, 0, 0)', + }), ), state('*', style({ opacity : 1, - transform: 'translate3d(0, 0, 0)' - }) + transform: 'translate3d(0, 0, 0)', + }), ), // Prevent the transition if the state is false @@ -157,11 +157,11 @@ const fadeInRight = trigger('fadeInRight', transition('void => *', animate('{{timings}}'), { params: { - timings: `${FuseAnimationDurations.entering} ${FuseAnimationCurves.deceleration}` - } - } - ) - ] + timings: `${FuseAnimationDurations.entering} ${FuseAnimationCurves.deceleration}`, + }, + }, + ), + ], ); // ----------------------------------------------------------------------------------------------------- @@ -171,14 +171,14 @@ const fadeOut = trigger('fadeOut', [ state('*', style({ - opacity: 1 - }) + opacity: 1, + }), ), state('void', style({ - opacity: 0 - }) + opacity: 0, + }), ), // Prevent the transition if the state is false @@ -188,11 +188,11 @@ const fadeOut = trigger('fadeOut', transition('* => void', animate('{{timings}}'), { params: { - timings: `${FuseAnimationDurations.exiting} ${FuseAnimationCurves.acceleration}` - } - } - ) - ] + timings: `${FuseAnimationDurations.exiting} ${FuseAnimationCurves.acceleration}`, + }, + }, + ), + ], ); // ----------------------------------------------------------------------------------------------------- @@ -203,15 +203,15 @@ const fadeOutTop = trigger('fadeOutTop', state('*', style({ opacity : 1, - transform: 'translate3d(0, 0, 0)' - }) + transform: 'translate3d(0, 0, 0)', + }), ), state('void', style({ opacity : 0, - transform: 'translate3d(0, -100%, 0)' - }) + transform: 'translate3d(0, -100%, 0)', + }), ), // Prevent the transition if the state is false @@ -221,11 +221,11 @@ const fadeOutTop = trigger('fadeOutTop', transition('* => void', animate('{{timings}}'), { params: { - timings: `${FuseAnimationDurations.exiting} ${FuseAnimationCurves.acceleration}` - } - } - ) - ] + timings: `${FuseAnimationDurations.exiting} ${FuseAnimationCurves.acceleration}`, + }, + }, + ), + ], ); // ----------------------------------------------------------------------------------------------------- @@ -236,15 +236,15 @@ const fadeOutBottom = trigger('fadeOutBottom', state('*', style({ opacity : 1, - transform: 'translate3d(0, 0, 0)' - }) + transform: 'translate3d(0, 0, 0)', + }), ), state('void', style({ opacity : 0, - transform: 'translate3d(0, 100%, 0)' - }) + transform: 'translate3d(0, 100%, 0)', + }), ), // Prevent the transition if the state is false @@ -254,11 +254,11 @@ const fadeOutBottom = trigger('fadeOutBottom', transition('* => void', animate('{{timings}}'), { params: { - timings: `${FuseAnimationDurations.exiting} ${FuseAnimationCurves.acceleration}` - } - } - ) - ] + timings: `${FuseAnimationDurations.exiting} ${FuseAnimationCurves.acceleration}`, + }, + }, + ), + ], ); // ----------------------------------------------------------------------------------------------------- @@ -269,15 +269,15 @@ const fadeOutLeft = trigger('fadeOutLeft', state('*', style({ opacity : 1, - transform: 'translate3d(0, 0, 0)' - }) + transform: 'translate3d(0, 0, 0)', + }), ), state('void', style({ opacity : 0, - transform: 'translate3d(-100%, 0, 0)' - }) + transform: 'translate3d(-100%, 0, 0)', + }), ), // Prevent the transition if the state is false @@ -287,11 +287,11 @@ const fadeOutLeft = trigger('fadeOutLeft', transition('* => void', animate('{{timings}}'), { params: { - timings: `${FuseAnimationDurations.exiting} ${FuseAnimationCurves.acceleration}` - } - } - ) - ] + timings: `${FuseAnimationDurations.exiting} ${FuseAnimationCurves.acceleration}`, + }, + }, + ), + ], ); // ----------------------------------------------------------------------------------------------------- @@ -302,15 +302,15 @@ const fadeOutRight = trigger('fadeOutRight', state('*', style({ opacity : 1, - transform: 'translate3d(0, 0, 0)' - }) + transform: 'translate3d(0, 0, 0)', + }), ), state('void', style({ opacity : 0, - transform: 'translate3d(100%, 0, 0)' - }) + transform: 'translate3d(100%, 0, 0)', + }), ), // Prevent the transition if the state is false @@ -320,11 +320,11 @@ const fadeOutRight = trigger('fadeOutRight', transition('* => void', animate('{{timings}}'), { params: { - timings: `${FuseAnimationDurations.exiting} ${FuseAnimationCurves.acceleration}` - } - } - ) - ] + timings: `${FuseAnimationDurations.exiting} ${FuseAnimationCurves.acceleration}`, + }, + }, + ), + ], ); export { fadeIn, fadeInTop, fadeInBottom, fadeInLeft, fadeInRight, fadeOut, fadeOutTop, fadeOutBottom, fadeOutLeft, fadeOutRight }; diff --git a/src/@fuse/animations/public-api.ts b/src/@fuse/animations/public-api.ts index 3e7cd5a5..d475fbc0 100644 --- a/src/@fuse/animations/public-api.ts +++ b/src/@fuse/animations/public-api.ts @@ -11,5 +11,5 @@ export const fuseAnimations = [ shake, slideInTop, slideInBottom, slideInLeft, slideInRight, slideOutTop, slideOutBottom, slideOutLeft, slideOutRight, - zoomIn, zoomOut + zoomIn, zoomOut, ]; diff --git a/src/@fuse/animations/shake.ts b/src/@fuse/animations/shake.ts index 2742345b..e66f8f79 100644 --- a/src/@fuse/animations/shake.ts +++ b/src/@fuse/animations/shake.ts @@ -16,58 +16,58 @@ const shake = trigger('shake', keyframes([ style({ transform: 'translate3d(0, 0, 0)', - offset : 0 + offset : 0, }), style({ transform: 'translate3d(-10px, 0, 0)', - offset : 0.1 + offset : 0.1, }), style({ transform: 'translate3d(10px, 0, 0)', - offset : 0.2 + offset : 0.2, }), style({ transform: 'translate3d(-10px, 0, 0)', - offset : 0.3 + offset : 0.3, }), style({ transform: 'translate3d(10px, 0, 0)', - offset : 0.4 + offset : 0.4, }), style({ transform: 'translate3d(-10px, 0, 0)', - offset : 0.5 + offset : 0.5, }), style({ transform: 'translate3d(10px, 0, 0)', - offset : 0.6 + offset : 0.6, }), style({ transform: 'translate3d(-10px, 0, 0)', - offset : 0.7 + offset : 0.7, }), style({ transform: 'translate3d(10px, 0, 0)', - offset : 0.8 + offset : 0.8, }), style({ transform: 'translate3d(-10px, 0, 0)', - offset : 0.9 + offset : 0.9, }), style({ transform: 'translate3d(0, 0, 0)', - offset : 1 - }) - ]) - ) + offset : 1, + }), + ]), + ), ], { params: { - timings: '0.8s cubic-bezier(0.455, 0.03, 0.515, 0.955)' - } - } - ) - ] + timings: '0.8s cubic-bezier(0.455, 0.03, 0.515, 0.955)', + }, + }, + ), + ], ); export { shake }; diff --git a/src/@fuse/animations/slide.ts b/src/@fuse/animations/slide.ts index 08a80ba7..a38c1466 100644 --- a/src/@fuse/animations/slide.ts +++ b/src/@fuse/animations/slide.ts @@ -8,14 +8,14 @@ const slideInTop = trigger('slideInTop', [ state('void', style({ - transform: 'translate3d(0, -100%, 0)' - }) + transform: 'translate3d(0, -100%, 0)', + }), ), state('*', style({ - transform: 'translate3d(0, 0, 0)' - }) + transform: 'translate3d(0, 0, 0)', + }), ), // Prevent the transition if the state is false @@ -25,11 +25,11 @@ const slideInTop = trigger('slideInTop', transition('void => *', animate('{{timings}}'), { params: { - timings: `${FuseAnimationDurations.entering} ${FuseAnimationCurves.deceleration}` - } - } - ) - ] + timings: `${FuseAnimationDurations.entering} ${FuseAnimationCurves.deceleration}`, + }, + }, + ), + ], ); // ----------------------------------------------------------------------------------------------------- @@ -39,14 +39,14 @@ const slideInBottom = trigger('slideInBottom', [ state('void', style({ - transform: 'translate3d(0, 100%, 0)' - }) + transform: 'translate3d(0, 100%, 0)', + }), ), state('*', style({ - transform: 'translate3d(0, 0, 0)' - }) + transform: 'translate3d(0, 0, 0)', + }), ), // Prevent the transition if the state is false @@ -56,11 +56,11 @@ const slideInBottom = trigger('slideInBottom', transition('void => *', animate('{{timings}}'), { params: { - timings: `${FuseAnimationDurations.entering} ${FuseAnimationCurves.deceleration}` - } - } - ) - ] + timings: `${FuseAnimationDurations.entering} ${FuseAnimationCurves.deceleration}`, + }, + }, + ), + ], ); // ----------------------------------------------------------------------------------------------------- @@ -70,14 +70,14 @@ const slideInLeft = trigger('slideInLeft', [ state('void', style({ - transform: 'translate3d(-100%, 0, 0)' - }) + transform: 'translate3d(-100%, 0, 0)', + }), ), state('*', style({ - transform: 'translate3d(0, 0, 0)' - }) + transform: 'translate3d(0, 0, 0)', + }), ), // Prevent the transition if the state is false @@ -87,11 +87,11 @@ const slideInLeft = trigger('slideInLeft', transition('void => *', animate('{{timings}}'), { params: { - timings: `${FuseAnimationDurations.entering} ${FuseAnimationCurves.deceleration}` - } - } - ) - ] + timings: `${FuseAnimationDurations.entering} ${FuseAnimationCurves.deceleration}`, + }, + }, + ), + ], ); // ----------------------------------------------------------------------------------------------------- @@ -101,14 +101,14 @@ const slideInRight = trigger('slideInRight', [ state('void', style({ - transform: 'translate3d(100%, 0, 0)' - }) + transform: 'translate3d(100%, 0, 0)', + }), ), state('*', style({ - transform: 'translate3d(0, 0, 0)' - }) + transform: 'translate3d(0, 0, 0)', + }), ), // Prevent the transition if the state is false @@ -118,11 +118,11 @@ const slideInRight = trigger('slideInRight', transition('void => *', animate('{{timings}}'), { params: { - timings: `${FuseAnimationDurations.entering} ${FuseAnimationCurves.deceleration}` - } - } - ) - ] + timings: `${FuseAnimationDurations.entering} ${FuseAnimationCurves.deceleration}`, + }, + }, + ), + ], ); // ----------------------------------------------------------------------------------------------------- @@ -132,14 +132,14 @@ const slideOutTop = trigger('slideOutTop', [ state('*', style({ - transform: 'translate3d(0, 0, 0)' - }) + transform: 'translate3d(0, 0, 0)', + }), ), state('void', style({ - transform: 'translate3d(0, -100%, 0)' - }) + transform: 'translate3d(0, -100%, 0)', + }), ), // Prevent the transition if the state is false @@ -149,11 +149,11 @@ const slideOutTop = trigger('slideOutTop', transition('* => void', animate('{{timings}}'), { params: { - timings: `${FuseAnimationDurations.exiting} ${FuseAnimationCurves.acceleration}` - } - } - ) - ] + timings: `${FuseAnimationDurations.exiting} ${FuseAnimationCurves.acceleration}`, + }, + }, + ), + ], ); // ----------------------------------------------------------------------------------------------------- @@ -163,14 +163,14 @@ const slideOutBottom = trigger('slideOutBottom', [ state('*', style({ - transform: 'translate3d(0, 0, 0)' - }) + transform: 'translate3d(0, 0, 0)', + }), ), state('void', style({ - transform: 'translate3d(0, 100%, 0)' - }) + transform: 'translate3d(0, 100%, 0)', + }), ), // Prevent the transition if the state is false @@ -180,11 +180,11 @@ const slideOutBottom = trigger('slideOutBottom', transition('* => void', animate('{{timings}}'), { params: { - timings: `${FuseAnimationDurations.exiting} ${FuseAnimationCurves.acceleration}` - } - } - ) - ] + timings: `${FuseAnimationDurations.exiting} ${FuseAnimationCurves.acceleration}`, + }, + }, + ), + ], ); // ----------------------------------------------------------------------------------------------------- @@ -194,14 +194,14 @@ const slideOutLeft = trigger('slideOutLeft', [ state('*', style({ - transform: 'translate3d(0, 0, 0)' - }) + transform: 'translate3d(0, 0, 0)', + }), ), state('void', style({ - transform: 'translate3d(-100%, 0, 0)' - }) + transform: 'translate3d(-100%, 0, 0)', + }), ), // Prevent the transition if the state is false @@ -211,11 +211,11 @@ const slideOutLeft = trigger('slideOutLeft', transition('* => void', animate('{{timings}}'), { params: { - timings: `${FuseAnimationDurations.exiting} ${FuseAnimationCurves.acceleration}` - } - } - ) - ] + timings: `${FuseAnimationDurations.exiting} ${FuseAnimationCurves.acceleration}`, + }, + }, + ), + ], ); // ----------------------------------------------------------------------------------------------------- @@ -225,14 +225,14 @@ const slideOutRight = trigger('slideOutRight', [ state('*', style({ - transform: 'translate3d(0, 0, 0)' - }) + transform: 'translate3d(0, 0, 0)', + }), ), state('void', style({ - transform: 'translate3d(100%, 0, 0)' - }) + transform: 'translate3d(100%, 0, 0)', + }), ), // Prevent the transition if the state is false @@ -242,11 +242,11 @@ const slideOutRight = trigger('slideOutRight', transition('* => void', animate('{{timings}}'), { params: { - timings: `${FuseAnimationDurations.exiting} ${FuseAnimationCurves.acceleration}` - } - } - ) - ] + timings: `${FuseAnimationDurations.exiting} ${FuseAnimationCurves.acceleration}`, + }, + }, + ), + ], ); export { slideInTop, slideInBottom, slideInLeft, slideInRight, slideOutTop, slideOutBottom, slideOutLeft, slideOutRight }; diff --git a/src/@fuse/animations/zoom.ts b/src/@fuse/animations/zoom.ts index c9742515..fee79143 100644 --- a/src/@fuse/animations/zoom.ts +++ b/src/@fuse/animations/zoom.ts @@ -10,15 +10,15 @@ const zoomIn = trigger('zoomIn', state('void', style({ opacity : 0, - transform: 'scale(0.5)' - }) + transform: 'scale(0.5)', + }), ), state('*', style({ opacity : 1, - transform: 'scale(1)' - }) + transform: 'scale(1)', + }), ), // Prevent the transition if the state is false @@ -28,11 +28,11 @@ const zoomIn = trigger('zoomIn', transition('void => *', animate('{{timings}}'), { params: { - timings: `${FuseAnimationDurations.entering} ${FuseAnimationCurves.deceleration}` - } - } - ) - ] + timings: `${FuseAnimationDurations.entering} ${FuseAnimationCurves.deceleration}`, + }, + }, + ), + ], ); // ----------------------------------------------------------------------------------------------------- @@ -44,15 +44,15 @@ const zoomOut = trigger('zoomOut', state('*', style({ opacity : 1, - transform: 'scale(1)' - }) + transform: 'scale(1)', + }), ), state('void', style({ opacity : 0, - transform: 'scale(0.5)' - }) + transform: 'scale(0.5)', + }), ), // Prevent the transition if the state is false @@ -62,11 +62,11 @@ const zoomOut = trigger('zoomOut', transition('* => void', animate('{{timings}}'), { params: { - timings: `${FuseAnimationDurations.exiting} ${FuseAnimationCurves.acceleration}` - } - } - ) - ] + timings: `${FuseAnimationDurations.exiting} ${FuseAnimationCurves.acceleration}`, + }, + }, + ), + ], ); export { zoomIn, zoomOut }; diff --git a/src/@fuse/components/alert/alert.component.ts b/src/@fuse/components/alert/alert.component.ts index 4abe0502..6ab3e134 100644 --- a/src/@fuse/components/alert/alert.component.ts +++ b/src/@fuse/components/alert/alert.component.ts @@ -1,10 +1,13 @@ -import { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, HostBinding, Input, OnChanges, OnDestroy, OnInit, Output, SimpleChanges, ViewEncapsulation } from '@angular/core'; -import { filter, Subject, takeUntil } from 'rxjs'; import { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion'; +import { NgIf } from '@angular/common'; +import { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, HostBinding, Input, OnChanges, OnDestroy, OnInit, Output, SimpleChanges, ViewEncapsulation } from '@angular/core'; +import { MatButtonModule } from '@angular/material/button'; +import { MatIconModule } from '@angular/material/icon'; import { fuseAnimations } from '@fuse/animations'; -import { FuseAlertAppearance, FuseAlertType } from '@fuse/components/alert/alert.types'; import { FuseAlertService } from '@fuse/components/alert/alert.service'; +import { FuseAlertAppearance, FuseAlertType } from '@fuse/components/alert/alert.types'; import { FuseUtilsService } from '@fuse/services/utils/utils.service'; +import { filter, Subject, takeUntil } from 'rxjs'; @Component({ selector : 'fuse-alert', @@ -13,7 +16,9 @@ import { FuseUtilsService } from '@fuse/services/utils/utils.service'; encapsulation : ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, animations : fuseAnimations, - exportAs : 'fuseAlert' + exportAs : 'fuseAlert', + standalone : true, + imports : [NgIf, MatIconModule, MatButtonModule], }) export class FuseAlertComponent implements OnChanges, OnInit, OnDestroy { @@ -39,7 +44,7 @@ export class FuseAlertComponent implements OnChanges, OnInit, OnDestroy constructor( private _changeDetectorRef: ChangeDetectorRef, private _fuseAlertService: FuseAlertService, - private _fuseUtilsService: FuseUtilsService + private _fuseUtilsService: FuseUtilsService, ) { } @@ -69,7 +74,7 @@ export class FuseAlertComponent implements OnChanges, OnInit, OnDestroy 'fuse-alert-type-info' : this.type === 'info', 'fuse-alert-type-success' : this.type === 'success', 'fuse-alert-type-warning' : this.type === 'warning', - 'fuse-alert-type-error' : this.type === 'error' + 'fuse-alert-type-error' : this.type === 'error', }; /* eslint-enable @typescript-eslint/naming-convention */ } @@ -119,9 +124,10 @@ export class FuseAlertComponent implements OnChanges, OnInit, OnDestroy this._fuseAlertService.onDismiss .pipe( filter(name => this.name === name), - takeUntil(this._unsubscribeAll) + takeUntil(this._unsubscribeAll), ) - .subscribe(() => { + .subscribe(() => + { // Dismiss the alert this.dismiss(); @@ -131,9 +137,10 @@ export class FuseAlertComponent implements OnChanges, OnInit, OnDestroy this._fuseAlertService.onShow .pipe( filter(name => this.name === name), - takeUntil(this._unsubscribeAll) + takeUntil(this._unsubscribeAll), ) - .subscribe(() => { + .subscribe(() => + { // Show the alert this.show(); diff --git a/src/@fuse/components/alert/alert.module.ts b/src/@fuse/components/alert/alert.module.ts deleted file mode 100644 index beecabdd..00000000 --- a/src/@fuse/components/alert/alert.module.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { NgModule } from '@angular/core'; -import { CommonModule } from '@angular/common'; -import { MatButtonModule } from '@angular/material/button'; -import { MatIconModule } from '@angular/material/icon'; -import { FuseAlertComponent } from '@fuse/components/alert/alert.component'; - -@NgModule({ - declarations: [ - FuseAlertComponent - ], - imports : [ - CommonModule, - MatButtonModule, - MatIconModule - ], - exports : [ - FuseAlertComponent - ] -}) -export class FuseAlertModule -{ -} diff --git a/src/@fuse/components/alert/alert.service.ts b/src/@fuse/components/alert/alert.service.ts index a04dbe5c..dfebd996 100644 --- a/src/@fuse/components/alert/alert.service.ts +++ b/src/@fuse/components/alert/alert.service.ts @@ -2,7 +2,7 @@ import { Injectable } from '@angular/core'; import { Observable, ReplaySubject } from 'rxjs'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class FuseAlertService { diff --git a/src/@fuse/components/alert/public-api.ts b/src/@fuse/components/alert/public-api.ts index fdf984ae..9144d500 100644 --- a/src/@fuse/components/alert/public-api.ts +++ b/src/@fuse/components/alert/public-api.ts @@ -1,4 +1,3 @@ export * from '@fuse/components/alert/alert.component'; -export * from '@fuse/components/alert/alert.module'; export * from '@fuse/components/alert/alert.service'; export * from '@fuse/components/alert/alert.types'; diff --git a/src/@fuse/components/card/card.component.ts b/src/@fuse/components/card/card.component.ts index 9d3962a2..84c6b2fb 100644 --- a/src/@fuse/components/card/card.component.ts +++ b/src/@fuse/components/card/card.component.ts @@ -1,5 +1,6 @@ -import { Component, HostBinding, Input, OnChanges, SimpleChanges, ViewEncapsulation } from '@angular/core'; import { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion'; +import { NgIf } from '@angular/common'; +import { Component, HostBinding, Input, OnChanges, SimpleChanges, ViewEncapsulation } from '@angular/core'; import { fuseAnimations } from '@fuse/animations'; import { FuseCardFace } from '@fuse/components/card/card.types'; @@ -9,7 +10,9 @@ import { FuseCardFace } from '@fuse/components/card/card.types'; styleUrls : ['./card.component.scss'], encapsulation: ViewEncapsulation.None, animations : fuseAnimations, - exportAs : 'fuseCard' + exportAs : 'fuseCard', + standalone : true, + imports : [NgIf], }) export class FuseCardComponent implements OnChanges { @@ -43,7 +46,7 @@ export class FuseCardComponent implements OnChanges 'fuse-card-expanded' : this.expanded, 'fuse-card-face-back' : this.flippable && this.face === 'back', 'fuse-card-face-front': this.flippable && this.face === 'front', - 'fuse-card-flippable' : this.flippable + 'fuse-card-flippable' : this.flippable, }; /* eslint-enable @typescript-eslint/naming-convention */ } diff --git a/src/@fuse/components/card/card.module.ts b/src/@fuse/components/card/card.module.ts deleted file mode 100644 index c600e30c..00000000 --- a/src/@fuse/components/card/card.module.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { NgModule } from '@angular/core'; -import { CommonModule } from '@angular/common'; -import { FuseCardComponent } from '@fuse/components/card/card.component'; - -@NgModule({ - declarations: [ - FuseCardComponent - ], - imports : [ - CommonModule - ], - exports : [ - FuseCardComponent - ] -}) -export class FuseCardModule -{ -} diff --git a/src/@fuse/components/card/public-api.ts b/src/@fuse/components/card/public-api.ts index ee2ca6e8..9d8c31e7 100644 --- a/src/@fuse/components/card/public-api.ts +++ b/src/@fuse/components/card/public-api.ts @@ -1,2 +1 @@ export * from '@fuse/components/card/card.component'; -export * from '@fuse/components/card/card.module'; diff --git a/src/@fuse/components/drawer/drawer.component.ts b/src/@fuse/components/drawer/drawer.component.ts index db2aae69..8fcf7403 100644 --- a/src/@fuse/components/drawer/drawer.component.ts +++ b/src/@fuse/components/drawer/drawer.component.ts @@ -1,16 +1,17 @@ -import { Component, ElementRef, EventEmitter, HostBinding, HostListener, Input, OnChanges, OnDestroy, OnInit, Output, Renderer2, SimpleChanges, ViewEncapsulation } from '@angular/core'; import { animate, AnimationBuilder, AnimationPlayer, style } from '@angular/animations'; -import { FuseDrawerMode, FuseDrawerPosition } from '@fuse/components/drawer/drawer.types'; -import { FuseDrawerService } from '@fuse/components/drawer/drawer.service'; -import { FuseUtilsService } from '@fuse/services/utils/utils.service'; import { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion'; +import { Component, ElementRef, EventEmitter, HostBinding, HostListener, Input, OnChanges, OnDestroy, OnInit, Output, Renderer2, SimpleChanges, ViewEncapsulation } from '@angular/core'; +import { FuseDrawerService } from '@fuse/components/drawer/drawer.service'; +import { FuseDrawerMode, FuseDrawerPosition } from '@fuse/components/drawer/drawer.types'; +import { FuseUtilsService } from '@fuse/services/utils/utils.service'; @Component({ selector : 'fuse-drawer', templateUrl : './drawer.component.html', styleUrls : ['./drawer.component.scss'], encapsulation: ViewEncapsulation.None, - exportAs : 'fuseDrawer' + exportAs : 'fuseDrawer', + standalone : true, }) export class FuseDrawerComponent implements OnChanges, OnInit, OnDestroy { @@ -45,10 +46,11 @@ export class FuseDrawerComponent implements OnChanges, OnInit, OnDestroy private _elementRef: ElementRef, private _renderer2: Renderer2, private _fuseDrawerService: FuseDrawerService, - private _fuseUtilsService: FuseUtilsService + private _fuseUtilsService: FuseUtilsService, ) { - this._handleOverlayClick = (): void => { + this._handleOverlayClick = (): void => + { this.close(); }; } @@ -69,7 +71,7 @@ export class FuseDrawerComponent implements OnChanges, OnInit, OnDestroy 'fuse-drawer-hover' : this._hovered, [`fuse-drawer-mode-${this.mode}`] : true, 'fuse-drawer-opened' : this.opened, - [`fuse-drawer-position-${this.position}`]: true + [`fuse-drawer-position-${this.position}`]: true, }; /* eslint-enable @typescript-eslint/naming-convention */ } @@ -80,7 +82,7 @@ export class FuseDrawerComponent implements OnChanges, OnInit, OnDestroy @HostBinding('style') get styleList(): any { return { - 'visibility': this.opened ? 'visible' : 'hidden' + 'visibility': this.opened ? 'visible' : 'hidden', }; } @@ -173,7 +175,8 @@ export class FuseDrawerComponent implements OnChanges, OnInit, OnDestroy // Enable the animations after a delay // The delay must be bigger than the current transition-duration // to make sure nothing will be animated while the mode is changing - setTimeout(() => { + setTimeout(() => + { this._enableAnimations(); }, 500); } @@ -345,7 +348,7 @@ export class FuseDrawerComponent implements OnChanges, OnInit, OnDestroy // Create enter animation and attach it to the player this._player = this._animationBuilder.build([ style({opacity: 0}), - animate('300ms cubic-bezier(0.25, 0.8, 0.25, 1)', style({opacity: 1})) + animate('300ms cubic-bezier(0.25, 0.8, 0.25, 1)', style({opacity: 1})), ]).create(this._overlay); // Play the animation @@ -369,14 +372,15 @@ export class FuseDrawerComponent implements OnChanges, OnInit, OnDestroy // Create the leave animation and attach it to the player this._player = this._animationBuilder.build([ - animate('300ms cubic-bezier(0.25, 0.8, 0.25, 1)', style({opacity: 0})) + animate('300ms cubic-bezier(0.25, 0.8, 0.25, 1)', style({opacity: 0})), ]).create(this._overlay); // Play the animation this._player.play(); // Once the animation is done... - this._player.onDone(() => { + this._player.onDone(() => + { // If the overlay still exists... if ( this._overlay ) diff --git a/src/@fuse/components/drawer/drawer.module.ts b/src/@fuse/components/drawer/drawer.module.ts deleted file mode 100644 index d8383a07..00000000 --- a/src/@fuse/components/drawer/drawer.module.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { NgModule } from '@angular/core'; -import { CommonModule } from '@angular/common'; -import { FuseDrawerComponent } from '@fuse/components/drawer/drawer.component'; - -@NgModule({ - declarations: [ - FuseDrawerComponent - ], - imports : [ - CommonModule - ], - exports : [ - FuseDrawerComponent - ] -}) -export class FuseDrawerModule -{ -} diff --git a/src/@fuse/components/drawer/drawer.service.ts b/src/@fuse/components/drawer/drawer.service.ts index 7de348aa..678b0146 100644 --- a/src/@fuse/components/drawer/drawer.service.ts +++ b/src/@fuse/components/drawer/drawer.service.ts @@ -2,7 +2,7 @@ import { Injectable } from '@angular/core'; import { FuseDrawerComponent } from '@fuse/components/drawer/drawer.component'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class FuseDrawerService { diff --git a/src/@fuse/components/drawer/public-api.ts b/src/@fuse/components/drawer/public-api.ts index 2439ec12..306b7d42 100644 --- a/src/@fuse/components/drawer/public-api.ts +++ b/src/@fuse/components/drawer/public-api.ts @@ -1,4 +1,3 @@ export * from '@fuse/components/drawer/drawer.component'; -export * from '@fuse/components/drawer/drawer.module'; export * from '@fuse/components/drawer/drawer.service'; export * from '@fuse/components/drawer/drawer.types'; diff --git a/src/@fuse/components/fullscreen/fullscreen.component.ts b/src/@fuse/components/fullscreen/fullscreen.component.ts index 38ec191d..258267b7 100644 --- a/src/@fuse/components/fullscreen/fullscreen.component.ts +++ b/src/@fuse/components/fullscreen/fullscreen.component.ts @@ -1,5 +1,8 @@ +import { DOCUMENT, NgTemplateOutlet } from '@angular/common'; import { ChangeDetectionStrategy, Component, Inject, Input, OnInit, TemplateRef, ViewEncapsulation } from '@angular/core'; -import { DOCUMENT } from '@angular/common'; +import { MatButtonModule } from '@angular/material/button'; +import { MatIconModule } from '@angular/material/icon'; +import { MatTooltipModule } from '@angular/material/tooltip'; import { FSDocument, FSDocumentElement } from '@fuse/components/fullscreen/fullscreen.types'; @Component({ @@ -7,7 +10,9 @@ import { FSDocument, FSDocumentElement } from '@fuse/components/fullscreen/fulls templateUrl : './fullscreen.component.html', encapsulation : ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, - exportAs : 'fuseFullscreen' + exportAs : 'fuseFullscreen', + standalone : true, + imports : [MatButtonModule, MatTooltipModule, NgTemplateOutlet, MatIconModule], }) export class FuseFullscreenComponent implements OnInit { diff --git a/src/@fuse/components/fullscreen/fullscreen.module.ts b/src/@fuse/components/fullscreen/fullscreen.module.ts deleted file mode 100644 index 2237f2af..00000000 --- a/src/@fuse/components/fullscreen/fullscreen.module.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { NgModule } from '@angular/core'; -import { MatButtonModule } from '@angular/material/button'; -import { MatIconModule } from '@angular/material/icon'; -import { MatTooltipModule } from '@angular/material/tooltip'; -import { FuseFullscreenComponent } from '@fuse/components/fullscreen/fullscreen.component'; -import { CommonModule } from '@angular/common'; - -@NgModule({ - declarations: [ - FuseFullscreenComponent - ], - imports : [ - MatButtonModule, - MatIconModule, - MatTooltipModule, - CommonModule - ], - exports : [ - FuseFullscreenComponent - ] -}) -export class FuseFullscreenModule -{ -} diff --git a/src/@fuse/components/fullscreen/public-api.ts b/src/@fuse/components/fullscreen/public-api.ts index e6264e3c..03aee0fc 100644 --- a/src/@fuse/components/fullscreen/public-api.ts +++ b/src/@fuse/components/fullscreen/public-api.ts @@ -1,3 +1,2 @@ export * from '@fuse/components/fullscreen/fullscreen.component'; -export * from '@fuse/components/fullscreen/fullscreen.module'; export * from '@fuse/components/fullscreen/fullscreen.types'; diff --git a/src/@fuse/components/highlight/highlight.component.ts b/src/@fuse/components/highlight/highlight.component.ts index 13923796..a45da103 100644 --- a/src/@fuse/components/highlight/highlight.component.ts +++ b/src/@fuse/components/highlight/highlight.component.ts @@ -1,3 +1,4 @@ +import { NgClass } from '@angular/common'; import { AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, EmbeddedViewRef, Input, OnChanges, Renderer2, SecurityContext, SimpleChanges, TemplateRef, ViewChild, ViewContainerRef, ViewEncapsulation } from '@angular/core'; import { DomSanitizer } from '@angular/platform-browser'; import { FuseHighlightService } from '@fuse/components/highlight/highlight.service'; @@ -8,7 +9,9 @@ import { FuseHighlightService } from '@fuse/components/highlight/highlight.servi styleUrls : ['./highlight.component.scss'], encapsulation : ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, - exportAs : 'fuseHighlight' + exportAs : 'fuseHighlight', + standalone : true, + imports : [NgClass], }) export class FuseHighlightComponent implements OnChanges, AfterViewInit { @@ -28,7 +31,7 @@ export class FuseHighlightComponent implements OnChanges, AfterViewInit private _elementRef: ElementRef, private _renderer2: Renderer2, private _fuseHighlightService: FuseHighlightService, - private _viewContainerRef: ViewContainerRef + private _viewContainerRef: ViewContainerRef, ) { } @@ -123,7 +126,7 @@ export class FuseHighlightComponent implements OnChanges, AfterViewInit // Render and insert the template this._viewRef = this._viewContainerRef.createEmbeddedView(this.templateRef, { highlightedCode: this.highlightedCode, - lang : this.lang + lang : this.lang, }); // Detect the changes diff --git a/src/@fuse/components/highlight/highlight.module.ts b/src/@fuse/components/highlight/highlight.module.ts deleted file mode 100644 index a61149d1..00000000 --- a/src/@fuse/components/highlight/highlight.module.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { NgModule } from '@angular/core'; -import { CommonModule } from '@angular/common'; -import { FuseHighlightComponent } from '@fuse/components/highlight/highlight.component'; - -@NgModule({ - declarations: [ - FuseHighlightComponent - ], - imports : [ - CommonModule - ], - exports : [ - FuseHighlightComponent - ] -}) -export class FuseHighlightModule -{ -} diff --git a/src/@fuse/components/highlight/highlight.service.ts b/src/@fuse/components/highlight/highlight.service.ts index bb627bc2..95fb945a 100644 --- a/src/@fuse/components/highlight/highlight.service.ts +++ b/src/@fuse/components/highlight/highlight.service.ts @@ -2,7 +2,7 @@ import { Injectable } from '@angular/core'; import hljs from 'highlight.js'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class FuseHighlightService { @@ -61,19 +61,20 @@ export class FuseHighlightService // Iterate through the lines lines.filter(line => line.length) - .forEach((line, index) => { + .forEach((line, index) => + { - // Always get the indentation of the first line so we can - // have something to compare with - if ( index === 0 ) - { - indentation = line.search(/\S|$/); - return; - } + // Always get the indentation of the first line so we can + // have something to compare with + if ( index === 0 ) + { + indentation = line.search(/\S|$/); + return; + } - // Look at all the remaining lines to figure out the smallest indentation. - indentation = Math.min(line.search(/\S|$/), indentation); - }); + // Look at all the remaining lines to figure out the smallest indentation. + indentation = Math.min(line.search(/\S|$/), indentation); + }); // Iterate through the lines one more time, remove the extra // indentation, join them together and return it diff --git a/src/@fuse/components/highlight/public-api.ts b/src/@fuse/components/highlight/public-api.ts index 15c2edc1..66d766e1 100644 --- a/src/@fuse/components/highlight/public-api.ts +++ b/src/@fuse/components/highlight/public-api.ts @@ -1,3 +1,2 @@ export * from '@fuse/components/highlight/highlight.component'; -export * from '@fuse/components/highlight/highlight.module'; export * from '@fuse/components/highlight/highlight.service'; diff --git a/src/@fuse/components/loading-bar/loading-bar.component.ts b/src/@fuse/components/loading-bar/loading-bar.component.ts index 74c03465..3c0c939b 100644 --- a/src/@fuse/components/loading-bar/loading-bar.component.ts +++ b/src/@fuse/components/loading-bar/loading-bar.component.ts @@ -1,14 +1,18 @@ -import { Component, Input, OnChanges, OnDestroy, OnInit, SimpleChanges, ViewEncapsulation } from '@angular/core'; import { coerceBooleanProperty } from '@angular/cdk/coercion'; -import { Subject, takeUntil } from 'rxjs'; +import { NgIf } from '@angular/common'; +import { Component, Input, OnChanges, OnDestroy, OnInit, SimpleChanges, ViewEncapsulation } from '@angular/core'; +import { MatProgressBarModule } from '@angular/material/progress-bar'; import { FuseLoadingService } from '@fuse/services/loading'; +import { Subject, takeUntil } from 'rxjs'; @Component({ selector : 'fuse-loading-bar', templateUrl : './loading-bar.component.html', styleUrls : ['./loading-bar.component.scss'], encapsulation: ViewEncapsulation.None, - exportAs : 'fuseLoadingBar' + exportAs : 'fuseLoadingBar', + standalone : true, + imports : [NgIf, MatProgressBarModule], }) export class FuseLoadingBarComponent implements OnChanges, OnInit, OnDestroy { @@ -52,19 +56,22 @@ export class FuseLoadingBarComponent implements OnChanges, OnInit, OnDestroy // Subscribe to the service this._fuseLoadingService.mode$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((value) => { + .subscribe((value) => + { this.mode = value; }); this._fuseLoadingService.progress$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((value) => { + .subscribe((value) => + { this.progress = value; }); this._fuseLoadingService.show$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((value) => { + .subscribe((value) => + { this.show = value; }); diff --git a/src/@fuse/components/loading-bar/loading-bar.module.ts b/src/@fuse/components/loading-bar/loading-bar.module.ts deleted file mode 100644 index b371b8ac..00000000 --- a/src/@fuse/components/loading-bar/loading-bar.module.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { NgModule } from '@angular/core'; -import { CommonModule } from '@angular/common'; -import { MatProgressBarModule } from '@angular/material/progress-bar'; -import { FuseLoadingBarComponent } from '@fuse/components/loading-bar/loading-bar.component'; - -@NgModule({ - declarations: [ - FuseLoadingBarComponent - ], - imports : [ - CommonModule, - MatProgressBarModule - ], - exports : [ - FuseLoadingBarComponent - ] -}) -export class FuseLoadingBarModule -{ -} diff --git a/src/@fuse/components/loading-bar/public-api.ts b/src/@fuse/components/loading-bar/public-api.ts index 471ccd33..4a272ee4 100644 --- a/src/@fuse/components/loading-bar/public-api.ts +++ b/src/@fuse/components/loading-bar/public-api.ts @@ -1,2 +1 @@ export * from '@fuse/components/loading-bar/loading-bar.component'; -export * from '@fuse/components/loading-bar/loading-bar.module'; diff --git a/src/@fuse/components/masonry/masonry.component.ts b/src/@fuse/components/masonry/masonry.component.ts index 6737ab97..4c86020f 100644 --- a/src/@fuse/components/masonry/masonry.component.ts +++ b/src/@fuse/components/masonry/masonry.component.ts @@ -1,3 +1,4 @@ +import { NgTemplateOutlet } from '@angular/common'; import { AfterViewInit, Component, Input, OnChanges, SimpleChanges, TemplateRef, ViewEncapsulation } from '@angular/core'; import { fuseAnimations } from '@fuse/animations'; import { FuseMediaWatcherService } from '@fuse/services/media-watcher'; @@ -7,7 +8,9 @@ import { FuseMediaWatcherService } from '@fuse/services/media-watcher'; templateUrl : './masonry.component.html', encapsulation: ViewEncapsulation.None, animations : fuseAnimations, - exportAs : 'fuseMasonry' + exportAs : 'fuseMasonry', + standalone : true, + imports : [NgTemplateOutlet], }) export class FuseMasonryComponent implements OnChanges, AfterViewInit { diff --git a/src/@fuse/components/masonry/masonry.module.ts b/src/@fuse/components/masonry/masonry.module.ts deleted file mode 100644 index 651c5510..00000000 --- a/src/@fuse/components/masonry/masonry.module.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { NgModule } from '@angular/core'; -import { CommonModule } from '@angular/common'; -import { FuseMasonryComponent } from '@fuse/components/masonry/masonry.component'; - -@NgModule({ - declarations: [ - FuseMasonryComponent - ], - imports : [ - CommonModule - ], - exports : [ - FuseMasonryComponent - ] -}) -export class FuseMasonryModule -{ -} diff --git a/src/@fuse/components/masonry/public-api.ts b/src/@fuse/components/masonry/public-api.ts index e074c48c..ea222316 100644 --- a/src/@fuse/components/masonry/public-api.ts +++ b/src/@fuse/components/masonry/public-api.ts @@ -1,2 +1 @@ export * from '@fuse/components/masonry/masonry.component'; -export * from '@fuse/components/masonry/masonry.module'; diff --git a/src/@fuse/components/navigation/horizontal/components/basic/basic.component.ts b/src/@fuse/components/navigation/horizontal/components/basic/basic.component.ts index af49292a..57d2585d 100644 --- a/src/@fuse/components/navigation/horizontal/components/basic/basic.component.ts +++ b/src/@fuse/components/navigation/horizontal/components/basic/basic.component.ts @@ -1,15 +1,21 @@ +import { NgClass, NgIf, NgTemplateOutlet } from '@angular/common'; import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input, OnDestroy, OnInit } from '@angular/core'; -import { IsActiveMatchOptions } from '@angular/router'; -import { Subject, takeUntil } from 'rxjs'; +import { MatIconModule } from '@angular/material/icon'; +import { MatMenuModule } from '@angular/material/menu'; +import { MatTooltipModule } from '@angular/material/tooltip'; +import { IsActiveMatchOptions, RouterLink, RouterLinkActive } from '@angular/router'; import { FuseHorizontalNavigationComponent } from '@fuse/components/navigation/horizontal/horizontal.component'; import { FuseNavigationService } from '@fuse/components/navigation/navigation.service'; import { FuseNavigationItem } from '@fuse/components/navigation/navigation.types'; import { FuseUtilsService } from '@fuse/services/utils/utils.service'; +import { Subject, takeUntil } from 'rxjs'; @Component({ selector : 'fuse-horizontal-navigation-basic-item', templateUrl : './basic.component.html', - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone : true, + imports : [NgClass, NgIf, RouterLink, RouterLinkActive, MatTooltipModule, NgTemplateOutlet, MatMenuModule, MatIconModule], }) export class FuseHorizontalNavigationBasicItemComponent implements OnInit, OnDestroy { @@ -26,7 +32,7 @@ export class FuseHorizontalNavigationBasicItemComponent implements OnInit, OnDes constructor( private _changeDetectorRef: ChangeDetectorRef, private _fuseNavigationService: FuseNavigationService, - private _fuseUtilsService: FuseUtilsService + private _fuseUtilsService: FuseUtilsService, ) { // Set the equivalent of {exact: false} as default for active match options. @@ -61,8 +67,9 @@ export class FuseHorizontalNavigationBasicItemComponent implements OnInit, OnDes // Subscribe to onRefreshed on the navigation component this._fuseHorizontalNavigationComponent.onRefreshed.pipe( - takeUntil(this._unsubscribeAll) - ).subscribe(() => { + takeUntil(this._unsubscribeAll), + ).subscribe(() => + { // Mark for check this._changeDetectorRef.markForCheck(); diff --git a/src/@fuse/components/navigation/horizontal/components/branch/branch.component.ts b/src/@fuse/components/navigation/horizontal/components/branch/branch.component.ts index 69464d8a..8578d087 100644 --- a/src/@fuse/components/navigation/horizontal/components/branch/branch.component.ts +++ b/src/@fuse/components/navigation/horizontal/components/branch/branch.component.ts @@ -1,15 +1,22 @@ -import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input, OnDestroy, OnInit, ViewChild } from '@angular/core'; import { BooleanInput } from '@angular/cdk/coercion'; -import { MatMenu } from '@angular/material/menu'; -import { Subject, takeUntil } from 'rxjs'; +import { NgClass, NgFor, NgIf, NgTemplateOutlet } from '@angular/common'; +import { ChangeDetectionStrategy, ChangeDetectorRef, Component, forwardRef, Input, OnDestroy, OnInit, ViewChild } from '@angular/core'; +import { MatIconModule } from '@angular/material/icon'; +import { MatMenu, MatMenuModule } from '@angular/material/menu'; +import { MatTooltipModule } from '@angular/material/tooltip'; +import { FuseHorizontalNavigationBasicItemComponent } from '@fuse/components/navigation/horizontal/components/basic/basic.component'; +import { FuseHorizontalNavigationDividerItemComponent } from '@fuse/components/navigation/horizontal/components/divider/divider.component'; import { FuseHorizontalNavigationComponent } from '@fuse/components/navigation/horizontal/horizontal.component'; import { FuseNavigationService } from '@fuse/components/navigation/navigation.service'; import { FuseNavigationItem } from '@fuse/components/navigation/navigation.types'; +import { Subject, takeUntil } from 'rxjs'; @Component({ selector : 'fuse-horizontal-navigation-branch-item', templateUrl : './branch.component.html', - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone : true, + imports : [NgIf, NgClass, MatMenuModule, NgTemplateOutlet, NgFor, FuseHorizontalNavigationBasicItemComponent, forwardRef(() => FuseHorizontalNavigationBranchItemComponent), FuseHorizontalNavigationDividerItemComponent, MatTooltipModule, MatIconModule], }) export class FuseHorizontalNavigationBranchItemComponent implements OnInit, OnDestroy { @@ -30,7 +37,7 @@ export class FuseHorizontalNavigationBranchItemComponent implements OnInit, OnDe */ constructor( private _changeDetectorRef: ChangeDetectorRef, - private _fuseNavigationService: FuseNavigationService + private _fuseNavigationService: FuseNavigationService, ) { } @@ -49,8 +56,9 @@ export class FuseHorizontalNavigationBranchItemComponent implements OnInit, OnDe // Subscribe to onRefreshed on the navigation component this._fuseHorizontalNavigationComponent.onRefreshed.pipe( - takeUntil(this._unsubscribeAll) - ).subscribe(() => { + takeUntil(this._unsubscribeAll), + ).subscribe(() => + { // Mark for check this._changeDetectorRef.markForCheck(); diff --git a/src/@fuse/components/navigation/horizontal/components/divider/divider.component.ts b/src/@fuse/components/navigation/horizontal/components/divider/divider.component.ts index 06fb7087..52052b87 100644 --- a/src/@fuse/components/navigation/horizontal/components/divider/divider.component.ts +++ b/src/@fuse/components/navigation/horizontal/components/divider/divider.component.ts @@ -1,13 +1,16 @@ +import { NgClass } from '@angular/common'; import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input, OnDestroy, OnInit } from '@angular/core'; -import { Subject, takeUntil } from 'rxjs'; import { FuseHorizontalNavigationComponent } from '@fuse/components/navigation/horizontal/horizontal.component'; import { FuseNavigationService } from '@fuse/components/navigation/navigation.service'; import { FuseNavigationItem } from '@fuse/components/navigation/navigation.types'; +import { Subject, takeUntil } from 'rxjs'; @Component({ selector : 'fuse-horizontal-navigation-divider-item', templateUrl : './divider.component.html', - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone : true, + imports : [NgClass], }) export class FuseHorizontalNavigationDividerItemComponent implements OnInit, OnDestroy { @@ -22,7 +25,7 @@ export class FuseHorizontalNavigationDividerItemComponent implements OnInit, OnD */ constructor( private _changeDetectorRef: ChangeDetectorRef, - private _fuseNavigationService: FuseNavigationService + private _fuseNavigationService: FuseNavigationService, ) { } @@ -41,8 +44,9 @@ export class FuseHorizontalNavigationDividerItemComponent implements OnInit, OnD // Subscribe to onRefreshed on the navigation component this._fuseHorizontalNavigationComponent.onRefreshed.pipe( - takeUntil(this._unsubscribeAll) - ).subscribe(() => { + takeUntil(this._unsubscribeAll), + ).subscribe(() => + { // Mark for check this._changeDetectorRef.markForCheck(); diff --git a/src/@fuse/components/navigation/horizontal/components/spacer/spacer.component.ts b/src/@fuse/components/navigation/horizontal/components/spacer/spacer.component.ts index f05107d5..85ddc3f4 100644 --- a/src/@fuse/components/navigation/horizontal/components/spacer/spacer.component.ts +++ b/src/@fuse/components/navigation/horizontal/components/spacer/spacer.component.ts @@ -1,13 +1,16 @@ +import { NgClass } from '@angular/common'; import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input, OnDestroy, OnInit } from '@angular/core'; -import { Subject, takeUntil } from 'rxjs'; import { FuseHorizontalNavigationComponent } from '@fuse/components/navigation/horizontal/horizontal.component'; import { FuseNavigationService } from '@fuse/components/navigation/navigation.service'; import { FuseNavigationItem } from '@fuse/components/navigation/navigation.types'; +import { Subject, takeUntil } from 'rxjs'; @Component({ selector : 'fuse-horizontal-navigation-spacer-item', templateUrl : './spacer.component.html', - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone : true, + imports : [NgClass], }) export class FuseHorizontalNavigationSpacerItemComponent implements OnInit, OnDestroy { @@ -22,7 +25,7 @@ export class FuseHorizontalNavigationSpacerItemComponent implements OnInit, OnDe */ constructor( private _changeDetectorRef: ChangeDetectorRef, - private _fuseNavigationService: FuseNavigationService + private _fuseNavigationService: FuseNavigationService, ) { } @@ -41,8 +44,9 @@ export class FuseHorizontalNavigationSpacerItemComponent implements OnInit, OnDe // Subscribe to onRefreshed on the navigation component this._fuseHorizontalNavigationComponent.onRefreshed.pipe( - takeUntil(this._unsubscribeAll) - ).subscribe(() => { + takeUntil(this._unsubscribeAll), + ).subscribe(() => + { // Mark for check this._changeDetectorRef.markForCheck(); diff --git a/src/@fuse/components/navigation/horizontal/horizontal.component.ts b/src/@fuse/components/navigation/horizontal/horizontal.component.ts index 96cbd6e9..440108cd 100644 --- a/src/@fuse/components/navigation/horizontal/horizontal.component.ts +++ b/src/@fuse/components/navigation/horizontal/horizontal.component.ts @@ -1,9 +1,13 @@ +import { NgFor, NgIf } from '@angular/common'; import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input, OnChanges, OnDestroy, OnInit, SimpleChanges, ViewEncapsulation } from '@angular/core'; -import { ReplaySubject, Subject } from 'rxjs'; import { fuseAnimations } from '@fuse/animations'; -import { FuseNavigationItem } from '@fuse/components/navigation/navigation.types'; import { FuseNavigationService } from '@fuse/components/navigation/navigation.service'; +import { FuseNavigationItem } from '@fuse/components/navigation/navigation.types'; import { FuseUtilsService } from '@fuse/services/utils/utils.service'; +import { ReplaySubject, Subject } from 'rxjs'; +import { FuseHorizontalNavigationBasicItemComponent } from './components/basic/basic.component'; +import { FuseHorizontalNavigationBranchItemComponent } from './components/branch/branch.component'; +import { FuseHorizontalNavigationSpacerItemComponent } from './components/spacer/spacer.component'; @Component({ selector : 'fuse-horizontal-navigation', @@ -12,7 +16,9 @@ import { FuseUtilsService } from '@fuse/services/utils/utils.service'; animations : fuseAnimations, encapsulation : ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, - exportAs : 'fuseHorizontalNavigation' + exportAs : 'fuseHorizontalNavigation', + standalone : true, + imports : [NgFor, NgIf, FuseHorizontalNavigationBasicItemComponent, FuseHorizontalNavigationBranchItemComponent, FuseHorizontalNavigationSpacerItemComponent], }) export class FuseHorizontalNavigationComponent implements OnChanges, OnInit, OnDestroy { @@ -28,7 +34,7 @@ export class FuseHorizontalNavigationComponent implements OnChanges, OnInit, OnD constructor( private _changeDetectorRef: ChangeDetectorRef, private _fuseNavigationService: FuseNavigationService, - private _fuseUtilsService: FuseUtilsService + private _fuseUtilsService: FuseUtilsService, ) { } diff --git a/src/@fuse/components/navigation/navigation.module.ts b/src/@fuse/components/navigation/navigation.module.ts deleted file mode 100644 index d93c6b7b..00000000 --- a/src/@fuse/components/navigation/navigation.module.ts +++ /dev/null @@ -1,55 +0,0 @@ -import { NgModule } from '@angular/core'; -import { CommonModule } from '@angular/common'; -import { RouterModule } from '@angular/router'; -import { MatButtonModule } from '@angular/material/button'; -import { MatDividerModule } from '@angular/material/divider'; -import { MatIconModule } from '@angular/material/icon'; -import { MatMenuModule } from '@angular/material/menu'; -import { MatTooltipModule } from '@angular/material/tooltip'; -import { FuseScrollbarModule } from '@fuse/directives/scrollbar/public-api'; -import { FuseHorizontalNavigationBasicItemComponent } from '@fuse/components/navigation/horizontal/components/basic/basic.component'; -import { FuseHorizontalNavigationBranchItemComponent } from '@fuse/components/navigation/horizontal/components/branch/branch.component'; -import { FuseHorizontalNavigationDividerItemComponent } from '@fuse/components/navigation/horizontal/components/divider/divider.component'; -import { FuseHorizontalNavigationSpacerItemComponent } from '@fuse/components/navigation/horizontal/components/spacer/spacer.component'; -import { FuseHorizontalNavigationComponent } from '@fuse/components/navigation/horizontal/horizontal.component'; -import { FuseVerticalNavigationAsideItemComponent } from '@fuse/components/navigation/vertical/components/aside/aside.component'; -import { FuseVerticalNavigationBasicItemComponent } from '@fuse/components/navigation/vertical/components/basic/basic.component'; -import { FuseVerticalNavigationCollapsableItemComponent } from '@fuse/components/navigation/vertical/components/collapsable/collapsable.component'; -import { FuseVerticalNavigationDividerItemComponent } from '@fuse/components/navigation/vertical/components/divider/divider.component'; -import { FuseVerticalNavigationGroupItemComponent } from '@fuse/components/navigation/vertical/components/group/group.component'; -import { FuseVerticalNavigationSpacerItemComponent } from '@fuse/components/navigation/vertical/components/spacer/spacer.component'; -import { FuseVerticalNavigationComponent } from '@fuse/components/navigation/vertical/vertical.component'; - -@NgModule({ - declarations: [ - FuseHorizontalNavigationBasicItemComponent, - FuseHorizontalNavigationBranchItemComponent, - FuseHorizontalNavigationDividerItemComponent, - FuseHorizontalNavigationSpacerItemComponent, - FuseHorizontalNavigationComponent, - FuseVerticalNavigationAsideItemComponent, - FuseVerticalNavigationBasicItemComponent, - FuseVerticalNavigationCollapsableItemComponent, - FuseVerticalNavigationDividerItemComponent, - FuseVerticalNavigationGroupItemComponent, - FuseVerticalNavigationSpacerItemComponent, - FuseVerticalNavigationComponent - ], - imports : [ - CommonModule, - RouterModule, - MatButtonModule, - MatDividerModule, - MatIconModule, - MatMenuModule, - MatTooltipModule, - FuseScrollbarModule - ], - exports : [ - FuseHorizontalNavigationComponent, - FuseVerticalNavigationComponent - ] -}) -export class FuseNavigationModule -{ -} diff --git a/src/@fuse/components/navigation/navigation.service.ts b/src/@fuse/components/navigation/navigation.service.ts index 3c5bea80..f6ec30ed 100644 --- a/src/@fuse/components/navigation/navigation.service.ts +++ b/src/@fuse/components/navigation/navigation.service.ts @@ -2,7 +2,7 @@ import { Injectable } from '@angular/core'; import { FuseNavigationItem } from '@fuse/components/navigation/navigation.types'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class FuseNavigationService { @@ -160,7 +160,7 @@ export class FuseNavigationService getItemParent( id: string, navigation: FuseNavigationItem[], - parent: FuseNavigationItem[] | FuseNavigationItem + parent: FuseNavigationItem[] | FuseNavigationItem, ): FuseNavigationItem[] | FuseNavigationItem | null { for ( const item of navigation ) diff --git a/src/@fuse/components/navigation/public-api.ts b/src/@fuse/components/navigation/public-api.ts index 032e3ef6..3127dcd8 100644 --- a/src/@fuse/components/navigation/public-api.ts +++ b/src/@fuse/components/navigation/public-api.ts @@ -1,5 +1,4 @@ export * from '@fuse/components/navigation/horizontal/horizontal.component'; export * from '@fuse/components/navigation/vertical/vertical.component'; -export * from '@fuse/components/navigation/navigation.module'; export * from '@fuse/components/navigation/navigation.service'; export * from '@fuse/components/navigation/navigation.types'; diff --git a/src/@fuse/components/navigation/vertical/components/aside/aside.component.ts b/src/@fuse/components/navigation/vertical/components/aside/aside.component.ts index de4c5152..b3475c02 100644 --- a/src/@fuse/components/navigation/vertical/components/aside/aside.component.ts +++ b/src/@fuse/components/navigation/vertical/components/aside/aside.component.ts @@ -1,15 +1,25 @@ -import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core'; -import { NavigationEnd, Router } from '@angular/router'; import { BooleanInput } from '@angular/cdk/coercion'; -import { filter, Subject, takeUntil } from 'rxjs'; -import { FuseVerticalNavigationComponent } from '@fuse/components/navigation/vertical/vertical.component'; +import { NgClass, NgFor, NgIf } from '@angular/common'; +import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core'; +import { MatIconModule } from '@angular/material/icon'; +import { MatTooltipModule } from '@angular/material/tooltip'; +import { NavigationEnd, Router } from '@angular/router'; import { FuseNavigationService } from '@fuse/components/navigation/navigation.service'; import { FuseNavigationItem } from '@fuse/components/navigation/navigation.types'; +import { FuseVerticalNavigationBasicItemComponent } from '@fuse/components/navigation/vertical/components/basic/basic.component'; +import { FuseVerticalNavigationCollapsableItemComponent } from '@fuse/components/navigation/vertical/components/collapsable/collapsable.component'; +import { FuseVerticalNavigationDividerItemComponent } from '@fuse/components/navigation/vertical/components/divider/divider.component'; +import { FuseVerticalNavigationGroupItemComponent } from '@fuse/components/navigation/vertical/components/group/group.component'; +import { FuseVerticalNavigationSpacerItemComponent } from '@fuse/components/navigation/vertical/components/spacer/spacer.component'; +import { FuseVerticalNavigationComponent } from '@fuse/components/navigation/vertical/vertical.component'; +import { filter, Subject, takeUntil } from 'rxjs'; @Component({ selector : 'fuse-vertical-navigation-aside-item', templateUrl : './aside.component.html', - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone : true, + imports : [NgClass, MatTooltipModule, NgIf, MatIconModule, NgFor, FuseVerticalNavigationBasicItemComponent, FuseVerticalNavigationCollapsableItemComponent, FuseVerticalNavigationDividerItemComponent, FuseVerticalNavigationGroupItemComponent, FuseVerticalNavigationSpacerItemComponent], }) export class FuseVerticalNavigationAsideItemComponent implements OnChanges, OnInit, OnDestroy { @@ -34,7 +44,7 @@ export class FuseVerticalNavigationAsideItemComponent implements OnChanges, OnIn constructor( private _changeDetectorRef: ChangeDetectorRef, private _router: Router, - private _fuseNavigationService: FuseNavigationService + private _fuseNavigationService: FuseNavigationService, ) { } @@ -70,9 +80,10 @@ export class FuseVerticalNavigationAsideItemComponent implements OnChanges, OnIn this._router.events .pipe( filter((event): event is NavigationEnd => event instanceof NavigationEnd), - takeUntil(this._unsubscribeAll) + takeUntil(this._unsubscribeAll), ) - .subscribe((event: NavigationEnd) => { + .subscribe((event: NavigationEnd) => + { // Mark if active this._markIfActive(event.urlAfterRedirects); @@ -83,8 +94,9 @@ export class FuseVerticalNavigationAsideItemComponent implements OnChanges, OnIn // Subscribe to onRefreshed on the navigation component this._fuseVerticalNavigationComponent.onRefreshed.pipe( - takeUntil(this._unsubscribeAll) - ).subscribe(() => { + takeUntil(this._unsubscribeAll), + ).subscribe(() => + { // Mark for check this._changeDetectorRef.markForCheck(); diff --git a/src/@fuse/components/navigation/vertical/components/basic/basic.component.ts b/src/@fuse/components/navigation/vertical/components/basic/basic.component.ts index 5cf689a3..cf774d71 100644 --- a/src/@fuse/components/navigation/vertical/components/basic/basic.component.ts +++ b/src/@fuse/components/navigation/vertical/components/basic/basic.component.ts @@ -1,15 +1,20 @@ +import { NgClass, NgIf, NgTemplateOutlet } from '@angular/common'; import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input, OnDestroy, OnInit } from '@angular/core'; -import { IsActiveMatchOptions } from '@angular/router'; -import { Subject, takeUntil } from 'rxjs'; -import { FuseVerticalNavigationComponent } from '@fuse/components/navigation/vertical/vertical.component'; +import { MatIconModule } from '@angular/material/icon'; +import { MatTooltipModule } from '@angular/material/tooltip'; +import { IsActiveMatchOptions, RouterLink, RouterLinkActive } from '@angular/router'; import { FuseNavigationService } from '@fuse/components/navigation/navigation.service'; import { FuseNavigationItem } from '@fuse/components/navigation/navigation.types'; +import { FuseVerticalNavigationComponent } from '@fuse/components/navigation/vertical/vertical.component'; import { FuseUtilsService } from '@fuse/services/utils/utils.service'; +import { Subject, takeUntil } from 'rxjs'; @Component({ selector : 'fuse-vertical-navigation-basic-item', templateUrl : './basic.component.html', - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone : true, + imports : [NgClass, NgIf, RouterLink, RouterLinkActive, MatTooltipModule, NgTemplateOutlet, MatIconModule], }) export class FuseVerticalNavigationBasicItemComponent implements OnInit, OnDestroy { @@ -26,7 +31,7 @@ export class FuseVerticalNavigationBasicItemComponent implements OnInit, OnDestr constructor( private _changeDetectorRef: ChangeDetectorRef, private _fuseNavigationService: FuseNavigationService, - private _fuseUtilsService: FuseUtilsService + private _fuseUtilsService: FuseUtilsService, ) { // Set the equivalent of {exact: false} as default for active match options. @@ -61,8 +66,9 @@ export class FuseVerticalNavigationBasicItemComponent implements OnInit, OnDestr // Subscribe to onRefreshed on the navigation component this._fuseVerticalNavigationComponent.onRefreshed.pipe( - takeUntil(this._unsubscribeAll) - ).subscribe(() => { + takeUntil(this._unsubscribeAll), + ).subscribe(() => + { // Mark for check this._changeDetectorRef.markForCheck(); diff --git a/src/@fuse/components/navigation/vertical/components/collapsable/collapsable.component.ts b/src/@fuse/components/navigation/vertical/components/collapsable/collapsable.component.ts index 963a2ee7..e3e3cad2 100644 --- a/src/@fuse/components/navigation/vertical/components/collapsable/collapsable.component.ts +++ b/src/@fuse/components/navigation/vertical/components/collapsable/collapsable.component.ts @@ -1,17 +1,26 @@ -import { ChangeDetectionStrategy, ChangeDetectorRef, Component, HostBinding, Input, OnDestroy, OnInit } from '@angular/core'; -import { NavigationEnd, Router } from '@angular/router'; import { BooleanInput } from '@angular/cdk/coercion'; -import { filter, Subject, takeUntil } from 'rxjs'; +import { NgClass, NgFor, NgIf } from '@angular/common'; +import { ChangeDetectionStrategy, ChangeDetectorRef, Component, forwardRef, HostBinding, Input, OnDestroy, OnInit } from '@angular/core'; +import { MatIconModule } from '@angular/material/icon'; +import { MatTooltipModule } from '@angular/material/tooltip'; +import { NavigationEnd, Router } from '@angular/router'; import { fuseAnimations } from '@fuse/animations'; -import { FuseVerticalNavigationComponent } from '@fuse/components/navigation/vertical/vertical.component'; import { FuseNavigationService } from '@fuse/components/navigation/navigation.service'; import { FuseNavigationItem } from '@fuse/components/navigation/navigation.types'; +import { FuseVerticalNavigationBasicItemComponent } from '@fuse/components/navigation/vertical/components/basic/basic.component'; +import { FuseVerticalNavigationDividerItemComponent } from '@fuse/components/navigation/vertical/components/divider/divider.component'; +import { FuseVerticalNavigationGroupItemComponent } from '@fuse/components/navigation/vertical/components/group/group.component'; +import { FuseVerticalNavigationSpacerItemComponent } from '@fuse/components/navigation/vertical/components/spacer/spacer.component'; +import { FuseVerticalNavigationComponent } from '@fuse/components/navigation/vertical/vertical.component'; +import { filter, Subject, takeUntil } from 'rxjs'; @Component({ selector : 'fuse-vertical-navigation-collapsable-item', templateUrl : './collapsable.component.html', animations : fuseAnimations, - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone : true, + imports : [NgClass, MatTooltipModule, NgIf, MatIconModule, NgFor, FuseVerticalNavigationBasicItemComponent, forwardRef(() => FuseVerticalNavigationCollapsableItemComponent), FuseVerticalNavigationDividerItemComponent, FuseVerticalNavigationGroupItemComponent, FuseVerticalNavigationSpacerItemComponent], }) export class FuseVerticalNavigationCollapsableItemComponent implements OnInit, OnDestroy { @@ -34,7 +43,7 @@ export class FuseVerticalNavigationCollapsableItemComponent implements OnInit, O constructor( private _changeDetectorRef: ChangeDetectorRef, private _router: Router, - private _fuseNavigationService: FuseNavigationService + private _fuseNavigationService: FuseNavigationService, ) { } @@ -51,7 +60,7 @@ export class FuseVerticalNavigationCollapsableItemComponent implements OnInit, O /* eslint-disable @typescript-eslint/naming-convention */ return { 'fuse-vertical-navigation-item-collapsed': this.isCollapsed, - 'fuse-vertical-navigation-item-expanded' : this.isExpanded + 'fuse-vertical-navigation-item-expanded' : this.isExpanded, }; /* eslint-enable @typescript-eslint/naming-convention */ } @@ -86,7 +95,8 @@ export class FuseVerticalNavigationCollapsableItemComponent implements OnInit, O // Listen for the onCollapsableItemCollapsed from the service this._fuseVerticalNavigationComponent.onCollapsableItemCollapsed .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((collapsedItem) => { + .subscribe((collapsedItem) => + { // Check if the collapsed item is null if ( collapsedItem === null ) @@ -106,7 +116,8 @@ export class FuseVerticalNavigationCollapsableItemComponent implements OnInit, O { this._fuseVerticalNavigationComponent.onCollapsableItemExpanded .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((expandedItem) => { + .subscribe((expandedItem) => + { // Check if the expanded item is null if ( expandedItem === null ) @@ -141,9 +152,10 @@ export class FuseVerticalNavigationCollapsableItemComponent implements OnInit, O this._router.events .pipe( filter((event): event is NavigationEnd => event instanceof NavigationEnd), - takeUntil(this._unsubscribeAll) + takeUntil(this._unsubscribeAll), ) - .subscribe((event: NavigationEnd) => { + .subscribe((event: NavigationEnd) => + { // If the item has a children that has a matching url with the current url, expand... if ( this._hasActiveChild(this.item, event.urlAfterRedirects) ) @@ -163,8 +175,9 @@ export class FuseVerticalNavigationCollapsableItemComponent implements OnInit, O // Subscribe to onRefreshed on the navigation component this._fuseVerticalNavigationComponent.onRefreshed.pipe( - takeUntil(this._unsubscribeAll) - ).subscribe(() => { + takeUntil(this._unsubscribeAll), + ).subscribe(() => + { // Mark for check this._changeDetectorRef.markForCheck(); diff --git a/src/@fuse/components/navigation/vertical/components/divider/divider.component.ts b/src/@fuse/components/navigation/vertical/components/divider/divider.component.ts index 15255b38..ed51cb38 100644 --- a/src/@fuse/components/navigation/vertical/components/divider/divider.component.ts +++ b/src/@fuse/components/navigation/vertical/components/divider/divider.component.ts @@ -1,13 +1,16 @@ +import { NgClass } from '@angular/common'; import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input, OnDestroy, OnInit } from '@angular/core'; -import { Subject, takeUntil } from 'rxjs'; -import { FuseVerticalNavigationComponent } from '@fuse/components/navigation/vertical/vertical.component'; import { FuseNavigationService } from '@fuse/components/navigation/navigation.service'; import { FuseNavigationItem } from '@fuse/components/navigation/navigation.types'; +import { FuseVerticalNavigationComponent } from '@fuse/components/navigation/vertical/vertical.component'; +import { Subject, takeUntil } from 'rxjs'; @Component({ selector : 'fuse-vertical-navigation-divider-item', templateUrl : './divider.component.html', - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone : true, + imports : [NgClass], }) export class FuseVerticalNavigationDividerItemComponent implements OnInit, OnDestroy { @@ -22,7 +25,7 @@ export class FuseVerticalNavigationDividerItemComponent implements OnInit, OnDes */ constructor( private _changeDetectorRef: ChangeDetectorRef, - private _fuseNavigationService: FuseNavigationService + private _fuseNavigationService: FuseNavigationService, ) { } @@ -41,8 +44,9 @@ export class FuseVerticalNavigationDividerItemComponent implements OnInit, OnDes // Subscribe to onRefreshed on the navigation component this._fuseVerticalNavigationComponent.onRefreshed.pipe( - takeUntil(this._unsubscribeAll) - ).subscribe(() => { + takeUntil(this._unsubscribeAll), + ).subscribe(() => + { // Mark for check this._changeDetectorRef.markForCheck(); diff --git a/src/@fuse/components/navigation/vertical/components/group/group.component.ts b/src/@fuse/components/navigation/vertical/components/group/group.component.ts index 290daeec..2fd2af99 100644 --- a/src/@fuse/components/navigation/vertical/components/group/group.component.ts +++ b/src/@fuse/components/navigation/vertical/components/group/group.component.ts @@ -1,14 +1,22 @@ -import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input, OnDestroy, OnInit } from '@angular/core'; import { BooleanInput } from '@angular/cdk/coercion'; -import { Subject, takeUntil } from 'rxjs'; -import { FuseVerticalNavigationComponent } from '@fuse/components/navigation/vertical/vertical.component'; +import { NgClass, NgFor, NgIf } from '@angular/common'; +import { ChangeDetectionStrategy, ChangeDetectorRef, Component, forwardRef, Input, OnDestroy, OnInit } from '@angular/core'; +import { MatIconModule } from '@angular/material/icon'; import { FuseNavigationService } from '@fuse/components/navigation/navigation.service'; import { FuseNavigationItem } from '@fuse/components/navigation/navigation.types'; +import { FuseVerticalNavigationBasicItemComponent } from '@fuse/components/navigation/vertical/components/basic/basic.component'; +import { FuseVerticalNavigationCollapsableItemComponent } from '@fuse/components/navigation/vertical/components/collapsable/collapsable.component'; +import { FuseVerticalNavigationDividerItemComponent } from '@fuse/components/navigation/vertical/components/divider/divider.component'; +import { FuseVerticalNavigationSpacerItemComponent } from '@fuse/components/navigation/vertical/components/spacer/spacer.component'; +import { FuseVerticalNavigationComponent } from '@fuse/components/navigation/vertical/vertical.component'; +import { Subject, takeUntil } from 'rxjs'; @Component({ selector : 'fuse-vertical-navigation-group-item', templateUrl : './group.component.html', - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone : true, + imports : [NgClass, NgIf, MatIconModule, NgFor, FuseVerticalNavigationBasicItemComponent, FuseVerticalNavigationCollapsableItemComponent, FuseVerticalNavigationDividerItemComponent, forwardRef(() => FuseVerticalNavigationGroupItemComponent), FuseVerticalNavigationSpacerItemComponent], }) export class FuseVerticalNavigationGroupItemComponent implements OnInit, OnDestroy { @@ -28,7 +36,7 @@ export class FuseVerticalNavigationGroupItemComponent implements OnInit, OnDestr */ constructor( private _changeDetectorRef: ChangeDetectorRef, - private _fuseNavigationService: FuseNavigationService + private _fuseNavigationService: FuseNavigationService, ) { } @@ -47,8 +55,9 @@ export class FuseVerticalNavigationGroupItemComponent implements OnInit, OnDestr // Subscribe to onRefreshed on the navigation component this._fuseVerticalNavigationComponent.onRefreshed.pipe( - takeUntil(this._unsubscribeAll) - ).subscribe(() => { + takeUntil(this._unsubscribeAll), + ).subscribe(() => + { // Mark for check this._changeDetectorRef.markForCheck(); diff --git a/src/@fuse/components/navigation/vertical/components/spacer/spacer.component.ts b/src/@fuse/components/navigation/vertical/components/spacer/spacer.component.ts index 925bfc1c..99da6bc0 100644 --- a/src/@fuse/components/navigation/vertical/components/spacer/spacer.component.ts +++ b/src/@fuse/components/navigation/vertical/components/spacer/spacer.component.ts @@ -1,13 +1,16 @@ +import { NgClass } from '@angular/common'; import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input, OnDestroy, OnInit } from '@angular/core'; -import { Subject, takeUntil } from 'rxjs'; -import { FuseVerticalNavigationComponent } from '@fuse/components/navigation/vertical/vertical.component'; import { FuseNavigationService } from '@fuse/components/navigation/navigation.service'; import { FuseNavigationItem } from '@fuse/components/navigation/navigation.types'; +import { FuseVerticalNavigationComponent } from '@fuse/components/navigation/vertical/vertical.component'; +import { Subject, takeUntil } from 'rxjs'; @Component({ selector : 'fuse-vertical-navigation-spacer-item', templateUrl : './spacer.component.html', - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone : true, + imports : [NgClass], }) export class FuseVerticalNavigationSpacerItemComponent implements OnInit, OnDestroy { @@ -22,7 +25,7 @@ export class FuseVerticalNavigationSpacerItemComponent implements OnInit, OnDest */ constructor( private _changeDetectorRef: ChangeDetectorRef, - private _fuseNavigationService: FuseNavigationService + private _fuseNavigationService: FuseNavigationService, ) { } @@ -41,8 +44,9 @@ export class FuseVerticalNavigationSpacerItemComponent implements OnInit, OnDest // Subscribe to onRefreshed on the navigation component this._fuseVerticalNavigationComponent.onRefreshed.pipe( - takeUntil(this._unsubscribeAll) - ).subscribe(() => { + takeUntil(this._unsubscribeAll), + ).subscribe(() => + { // Mark for check this._changeDetectorRef.markForCheck(); diff --git a/src/@fuse/components/navigation/vertical/vertical.component.ts b/src/@fuse/components/navigation/vertical/vertical.component.ts index 7a19c7be..2fc552ac 100644 --- a/src/@fuse/components/navigation/vertical/vertical.component.ts +++ b/src/@fuse/components/navigation/vertical/vertical.component.ts @@ -1,15 +1,21 @@ -import { AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, EventEmitter, HostBinding, HostListener, Inject, Input, OnChanges, OnDestroy, OnInit, Output, QueryList, Renderer2, SimpleChanges, ViewChild, ViewChildren, ViewEncapsulation } from '@angular/core'; import { animate, AnimationBuilder, AnimationPlayer, style } from '@angular/animations'; -import { DOCUMENT } from '@angular/common'; -import { NavigationEnd, Router } from '@angular/router'; +import { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion'; import { ScrollStrategy, ScrollStrategyOptions } from '@angular/cdk/overlay'; -import { delay, filter, merge, ReplaySubject, Subject, Subscription, takeUntil } from 'rxjs'; +import { DOCUMENT, NgFor, NgIf } from '@angular/common'; +import { AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, EventEmitter, HostBinding, HostListener, Inject, Input, OnChanges, OnDestroy, OnInit, Output, QueryList, Renderer2, SimpleChanges, ViewChild, ViewChildren, ViewEncapsulation } from '@angular/core'; +import { NavigationEnd, Router } from '@angular/router'; import { fuseAnimations } from '@fuse/animations'; -import { FuseNavigationItem, FuseVerticalNavigationAppearance, FuseVerticalNavigationMode, FuseVerticalNavigationPosition } from '@fuse/components/navigation/navigation.types'; import { FuseNavigationService } from '@fuse/components/navigation/navigation.service'; +import { FuseNavigationItem, FuseVerticalNavigationAppearance, FuseVerticalNavigationMode, FuseVerticalNavigationPosition } from '@fuse/components/navigation/navigation.types'; +import { FuseVerticalNavigationAsideItemComponent } from '@fuse/components/navigation/vertical/components/aside/aside.component'; +import { FuseVerticalNavigationBasicItemComponent } from '@fuse/components/navigation/vertical/components/basic/basic.component'; +import { FuseVerticalNavigationCollapsableItemComponent } from '@fuse/components/navigation/vertical/components/collapsable/collapsable.component'; +import { FuseVerticalNavigationDividerItemComponent } from '@fuse/components/navigation/vertical/components/divider/divider.component'; +import { FuseVerticalNavigationGroupItemComponent } from '@fuse/components/navigation/vertical/components/group/group.component'; +import { FuseVerticalNavigationSpacerItemComponent } from '@fuse/components/navigation/vertical/components/spacer/spacer.component'; import { FuseScrollbarDirective } from '@fuse/directives/scrollbar/scrollbar.directive'; import { FuseUtilsService } from '@fuse/services/utils/utils.service'; -import { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion'; +import { delay, filter, merge, ReplaySubject, Subject, Subscription, takeUntil } from 'rxjs'; @Component({ selector : 'fuse-vertical-navigation', @@ -18,7 +24,9 @@ import { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion'; animations : fuseAnimations, encapsulation : ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, - exportAs : 'fuseVerticalNavigation' + exportAs : 'fuseVerticalNavigation', + standalone : true, + imports : [FuseScrollbarDirective, NgFor, NgIf, FuseVerticalNavigationAsideItemComponent, FuseVerticalNavigationBasicItemComponent, FuseVerticalNavigationCollapsableItemComponent, FuseVerticalNavigationDividerItemComponent, FuseVerticalNavigationGroupItemComponent, FuseVerticalNavigationSpacerItemComponent], }) export class FuseVerticalNavigationComponent implements OnChanges, OnInit, AfterViewInit, OnDestroy { @@ -72,13 +80,15 @@ export class FuseVerticalNavigationComponent implements OnChanges, OnInit, After private _router: Router, private _scrollStrategyOptions: ScrollStrategyOptions, private _fuseNavigationService: FuseNavigationService, - private _fuseUtilsService: FuseUtilsService + private _fuseUtilsService: FuseUtilsService, ) { - this._handleAsideOverlayClick = (): void => { + this._handleAsideOverlayClick = (): void => + { this.closeAside(); }; - this._handleOverlayClick = (): void => { + this._handleOverlayClick = (): void => + { this.close(); }; } @@ -102,7 +112,7 @@ export class FuseVerticalNavigationComponent implements OnChanges, OnInit, After 'fuse-vertical-navigation-mode-side' : this.mode === 'side', 'fuse-vertical-navigation-opened' : this.opened, 'fuse-vertical-navigation-position-left' : this.position === 'left', - 'fuse-vertical-navigation-position-right' : this.position === 'right' + 'fuse-vertical-navigation-position-right' : this.position === 'right', }; /* eslint-enable @typescript-eslint/naming-convention */ } @@ -113,7 +123,7 @@ export class FuseVerticalNavigationComponent implements OnChanges, OnInit, After @HostBinding('style') get styleList(): any { return { - 'visibility': this.opened ? 'visible' : 'hidden' + 'visibility': this.opened ? 'visible' : 'hidden', }; } @@ -142,16 +152,18 @@ export class FuseVerticalNavigationComponent implements OnChanges, OnInit, After this._fuseScrollbarDirectivesSubscription = merge( this.onCollapsableItemCollapsed, - this.onCollapsableItemExpanded + this.onCollapsableItemExpanded, ) .pipe( takeUntil(this._unsubscribeAll), - delay(250) + delay(250), ) - .subscribe(() => { + .subscribe(() => + { // Loop through the scrollbars and update them - fuseScrollbarDirectives.forEach((fuseScrollbarDirective) => { + fuseScrollbarDirectives.forEach((fuseScrollbarDirective) => + { fuseScrollbarDirective.update(); }); }); @@ -253,7 +265,8 @@ export class FuseVerticalNavigationComponent implements OnChanges, OnInit, After // Enable the animations after a delay // The delay must be bigger than the current transition-duration // to make sure nothing will be animated while the mode changing - setTimeout(() => { + setTimeout(() => + { this._enableAnimations(); }, 500); } @@ -308,9 +321,10 @@ export class FuseVerticalNavigationComponent implements OnChanges, OnInit, After this._router.events .pipe( filter(event => event instanceof NavigationEnd), - takeUntil(this._unsubscribeAll) + takeUntil(this._unsubscribeAll), ) - .subscribe(() => { + .subscribe(() => + { // If the mode is 'over' and the navigation is opened... if ( this.mode === 'over' && this.opened ) @@ -339,8 +353,10 @@ export class FuseVerticalNavigationComponent implements OnChanges, OnInit, After // adding the '.cdk-global-scrollblock' to the html element breaks the navigation's position. // This fixes the problem by reading the 'top' value from the html element and adding it as a // 'marginTop' to the navigation itself. - this._mutationObserver = new MutationObserver((mutations) => { - mutations.forEach((mutation) => { + this._mutationObserver = new MutationObserver((mutations) => + { + mutations.forEach((mutation) => + { const mutationTarget = mutation.target as HTMLElement; if ( mutation.attributeName === 'class' ) { @@ -358,10 +374,11 @@ export class FuseVerticalNavigationComponent implements OnChanges, OnInit, After }); this._mutationObserver.observe(this._document.documentElement, { attributes : true, - attributeFilter: ['class'] + attributeFilter: ['class'], }); - setTimeout(() => { + setTimeout(() => + { // Return if 'navigation content' element does not exist if ( !this._navigationContentEl ) @@ -386,7 +403,8 @@ export class FuseVerticalNavigationComponent implements OnChanges, OnInit, After else { // Go through all the scrollbar directives - this._fuseScrollbarDirectives.forEach((fuseScrollbarDirective) => { + this._fuseScrollbarDirectives.forEach((fuseScrollbarDirective) => + { // Skip if not enabled if ( !fuseScrollbarDirective.isEnabled() ) @@ -624,7 +642,7 @@ export class FuseVerticalNavigationComponent implements OnChanges, OnInit, After // Create the enter animation and attach it to the player this._player = this._animationBuilder.build([ - animate('300ms cubic-bezier(0.25, 0.8, 0.25, 1)', style({opacity: 1})) + animate('300ms cubic-bezier(0.25, 0.8, 0.25, 1)', style({opacity: 1})), ]).create(this._overlay); // Play the animation @@ -648,14 +666,15 @@ export class FuseVerticalNavigationComponent implements OnChanges, OnInit, After // Create the leave animation and attach it to the player this._player = this._animationBuilder.build([ - animate('300ms cubic-bezier(0.25, 0.8, 0.25, 1)', style({opacity: 0})) + animate('300ms cubic-bezier(0.25, 0.8, 0.25, 1)', style({opacity: 0})), ]).create(this._overlay); // Play the animation this._player.play(); // Once the animation is done... - this._player.onDone(() => { + this._player.onDone(() => + { // If the overlay still exists... if ( this._overlay ) @@ -699,7 +718,7 @@ export class FuseVerticalNavigationComponent implements OnChanges, OnInit, After this._player = this._animationBuilder .build([ - animate('300ms cubic-bezier(0.25, 0.8, 0.25, 1)', style({opacity: 1})) + animate('300ms cubic-bezier(0.25, 0.8, 0.25, 1)', style({opacity: 1})), ]).create(this._asideOverlay); // Play the animation @@ -725,14 +744,15 @@ export class FuseVerticalNavigationComponent implements OnChanges, OnInit, After this._player = this._animationBuilder .build([ - animate('300ms cubic-bezier(0.25, 0.8, 0.25, 1)', style({opacity: 0})) + animate('300ms cubic-bezier(0.25, 0.8, 0.25, 1)', style({opacity: 0})), ]).create(this._asideOverlay); // Play the animation this._player.play(); // Once the animation is done... - this._player.onDone(() => { + this._player.onDone(() => + { // If the aside overlay still exists... if ( this._asideOverlay ) diff --git a/src/@fuse/directives/scroll-reset/public-api.ts b/src/@fuse/directives/scroll-reset/public-api.ts index c394b43c..a5192a0c 100644 --- a/src/@fuse/directives/scroll-reset/public-api.ts +++ b/src/@fuse/directives/scroll-reset/public-api.ts @@ -1,2 +1 @@ export * from '@fuse/directives/scroll-reset/scroll-reset.directive'; -export * from '@fuse/directives/scroll-reset/scroll-reset.module'; diff --git a/src/@fuse/directives/scroll-reset/scroll-reset.directive.ts b/src/@fuse/directives/scroll-reset/scroll-reset.directive.ts index ab8bae1e..7aa45bf4 100644 --- a/src/@fuse/directives/scroll-reset/scroll-reset.directive.ts +++ b/src/@fuse/directives/scroll-reset/scroll-reset.directive.ts @@ -3,8 +3,9 @@ import { NavigationEnd, Router } from '@angular/router'; import { filter, Subject, takeUntil } from 'rxjs'; @Directive({ - selector: '[fuseScrollReset]', - exportAs: 'fuseScrollReset' + selector : '[fuseScrollReset]', + exportAs : 'fuseScrollReset', + standalone: true, }) export class FuseScrollResetDirective implements OnInit, OnDestroy { @@ -15,7 +16,7 @@ export class FuseScrollResetDirective implements OnInit, OnDestroy */ constructor( private _elementRef: ElementRef, - private _router: Router + private _router: Router, ) { } @@ -32,8 +33,9 @@ export class FuseScrollResetDirective implements OnInit, OnDestroy // Subscribe to NavigationEnd event this._router.events.pipe( filter(event => event instanceof NavigationEnd), - takeUntil(this._unsubscribeAll) - ).subscribe(() => { + takeUntil(this._unsubscribeAll), + ).subscribe(() => + { // Reset the element's scroll position to the top this._elementRef.nativeElement.scrollTop = 0; diff --git a/src/@fuse/directives/scroll-reset/scroll-reset.module.ts b/src/@fuse/directives/scroll-reset/scroll-reset.module.ts deleted file mode 100644 index 48715be3..00000000 --- a/src/@fuse/directives/scroll-reset/scroll-reset.module.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { NgModule } from '@angular/core'; -import { FuseScrollResetDirective } from '@fuse/directives/scroll-reset/scroll-reset.directive'; - -@NgModule({ - declarations: [ - FuseScrollResetDirective - ], - exports : [ - FuseScrollResetDirective - ] -}) -export class FuseScrollResetModule -{ -} diff --git a/src/@fuse/directives/scrollbar/public-api.ts b/src/@fuse/directives/scrollbar/public-api.ts index c74ff507..5e80e778 100644 --- a/src/@fuse/directives/scrollbar/public-api.ts +++ b/src/@fuse/directives/scrollbar/public-api.ts @@ -1,2 +1 @@ export * from '@fuse/directives/scrollbar/scrollbar.directive'; -export * from '@fuse/directives/scrollbar/scrollbar.module'; diff --git a/src/@fuse/directives/scrollbar/scrollbar.directive.ts b/src/@fuse/directives/scrollbar/scrollbar.directive.ts index 03865f18..3a106284 100644 --- a/src/@fuse/directives/scrollbar/scrollbar.directive.ts +++ b/src/@fuse/directives/scrollbar/scrollbar.directive.ts @@ -1,18 +1,19 @@ -import { Directive, ElementRef, Input, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core'; -import { Router } from '@angular/router'; import { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion'; import { Platform } from '@angular/cdk/platform'; -import { debounceTime, fromEvent, Subject, takeUntil } from 'rxjs'; -import PerfectScrollbar from 'perfect-scrollbar'; -import { merge } from 'lodash-es'; +import { Directive, ElementRef, Input, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core'; +import { Router } from '@angular/router'; import { ScrollbarGeometry, ScrollbarPosition } from '@fuse/directives/scrollbar/scrollbar.types'; +import { merge } from 'lodash-es'; +import PerfectScrollbar from 'perfect-scrollbar'; +import { debounceTime, fromEvent, Subject, takeUntil } from 'rxjs'; /** * Wrapper directive for the Perfect Scrollbar: https://github.com/mdbootstrap/perfect-scrollbar */ @Directive({ - selector: '[fuseScrollbar]', - exportAs: 'fuseScrollbar' + selector : '[fuseScrollbar]', + exportAs : 'fuseScrollbar', + standalone: true, }) export class FuseScrollbarDirective implements OnChanges, OnInit, OnDestroy { @@ -34,7 +35,7 @@ export class FuseScrollbarDirective implements OnChanges, OnInit, OnDestroy constructor( private _elementRef: ElementRef, private _platform: Platform, - private _router: Router + private _router: Router, ) { } @@ -101,11 +102,13 @@ export class FuseScrollbarDirective implements OnChanges, OnInit, OnDestroy } // Destroy and re-init the PerfectScrollbar to update its options - setTimeout(() => { + setTimeout(() => + { this._destroy(); }); - setTimeout(() => { + setTimeout(() => + { this._init(); }); } @@ -120,9 +123,10 @@ export class FuseScrollbarDirective implements OnChanges, OnInit, OnDestroy fromEvent(window, 'resize') .pipe( takeUntil(this._unsubscribeAll), - debounceTime(150) + debounceTime(150), ) - .subscribe(() => { + .subscribe(() => + { // Update the PerfectScrollbar this.update(); @@ -203,14 +207,14 @@ export class FuseScrollbarDirective implements OnChanges, OnInit, OnDestroy { scrollbarPosition = new ScrollbarPosition( this._ps.reach.x || 0, - this._ps.reach.y || 0 + this._ps.reach.y || 0, ); } else { scrollbarPosition = new ScrollbarPosition( this._elementRef.nativeElement.scrollLeft, - this._elementRef.nativeElement.scrollTop + this._elementRef.nativeElement.scrollTop, ); } @@ -388,7 +392,8 @@ export class FuseScrollbarDirective implements OnChanges, OnInit, OnDestroy const cosParameter = (oldValue - value) / 2; - const step = (newTimestamp: number): void => { + const step = (newTimestamp: number): void => + { scrollCount += Math.PI / (speed / (newTimestamp - oldTimestamp)); newValue = Math.round(value + cosParameter + cosParameter * Math.cos(scrollCount)); diff --git a/src/@fuse/directives/scrollbar/scrollbar.module.ts b/src/@fuse/directives/scrollbar/scrollbar.module.ts deleted file mode 100644 index 628645b6..00000000 --- a/src/@fuse/directives/scrollbar/scrollbar.module.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { NgModule } from '@angular/core'; -import { FuseScrollbarDirective } from '@fuse/directives/scrollbar/scrollbar.directive'; - -@NgModule({ - declarations: [ - FuseScrollbarDirective - ], - exports : [ - FuseScrollbarDirective - ] -}) -export class FuseScrollbarModule -{ -} diff --git a/src/@fuse/fuse.module.ts b/src/@fuse/fuse.module.ts index 91390c11..277e4d27 100644 --- a/src/@fuse/fuse.module.ts +++ b/src/@fuse/fuse.module.ts @@ -15,7 +15,7 @@ import { FuseUtilsModule } from '@fuse/services/utils/utils.module'; FuseMediaWatcherModule, FusePlatformModule, FuseSplashScreenModule, - FuseUtilsModule + FuseUtilsModule, ], providers: [ { @@ -24,17 +24,17 @@ import { FuseUtilsModule } from '@fuse/services/utils/utils.module'; useValue: { doctype: true, theme : false, - version: true - } + version: true, + }, }, { // Use the 'fill' appearance on Angular Material form fields by default provide : MAT_FORM_FIELD_DEFAULT_OPTIONS, useValue: { - appearance: 'fill' - } - } - ] + appearance: 'fill', + }, + }, + ], }) export class FuseModule { diff --git a/src/@fuse/lib/mock-api/mock-api.interceptor.ts b/src/@fuse/lib/mock-api/mock-api.interceptor.ts index e94bdf1d..6e389daf 100644 --- a/src/@fuse/lib/mock-api/mock-api.interceptor.ts +++ b/src/@fuse/lib/mock-api/mock-api.interceptor.ts @@ -1,11 +1,11 @@ -import { Inject, Injectable } from '@angular/core'; import { HttpErrorResponse, HttpEvent, HttpHandler, HttpInterceptor, HttpRequest, HttpResponse } from '@angular/common/http'; -import { delay, Observable, of, switchMap, throwError } from 'rxjs'; +import { Inject, Injectable } from '@angular/core'; import { FUSE_MOCK_API_DEFAULT_DELAY } from '@fuse/lib/mock-api/mock-api.constants'; import { FuseMockApiService } from '@fuse/lib/mock-api/mock-api.service'; +import { delay, Observable, of, switchMap, throwError } from 'rxjs'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class FuseMockApiInterceptor implements HttpInterceptor { @@ -14,7 +14,7 @@ export class FuseMockApiInterceptor implements HttpInterceptor */ constructor( @Inject(FUSE_MOCK_API_DEFAULT_DELAY) private _defaultDelay: number, - private _fuseMockApiService: FuseMockApiService + private _fuseMockApiService: FuseMockApiService, ) { } @@ -29,9 +29,9 @@ export class FuseMockApiInterceptor implements HttpInterceptor { // Try to get the request handler const { - handler, - urlParams - } = this._fuseMockApiService.findHandler(request.method.toUpperCase(), request.url); + handler, + urlParams, + } = this._fuseMockApiService.findHandler(request.method.toUpperCase(), request.url); // Pass through if the request handler does not exist if ( !handler ) @@ -48,7 +48,8 @@ export class FuseMockApiInterceptor implements HttpInterceptor // Subscribe to the response function observable return handler.response.pipe( delay(handler.delay ?? this._defaultDelay ?? 0), - switchMap((response) => { + switchMap((response) => + { // If there is no response data, // throw an error response @@ -57,7 +58,7 @@ export class FuseMockApiInterceptor implements HttpInterceptor response = new HttpErrorResponse({ error : 'NOT FOUND', status : 404, - statusText: 'NOT FOUND' + statusText: 'NOT FOUND', }); return throwError(response); @@ -66,7 +67,7 @@ export class FuseMockApiInterceptor implements HttpInterceptor // Parse the response data const data = { status: response[0], - body : response[1] + body : response[1], }; // If the status code is in between 200 and 300, @@ -76,7 +77,7 @@ export class FuseMockApiInterceptor implements HttpInterceptor response = new HttpResponse({ body : data.body, status : data.status, - statusText: 'OK' + statusText: 'OK', }); return of(response); @@ -87,7 +88,7 @@ export class FuseMockApiInterceptor implements HttpInterceptor response = new HttpErrorResponse({ error : data.body.error, status : data.status, - statusText: 'ERROR' + statusText: 'ERROR', }); return throwError(response); diff --git a/src/@fuse/lib/mock-api/mock-api.module.ts b/src/@fuse/lib/mock-api/mock-api.module.ts index 1450a66a..724b56f2 100644 --- a/src/@fuse/lib/mock-api/mock-api.module.ts +++ b/src/@fuse/lib/mock-api/mock-api.module.ts @@ -1,5 +1,5 @@ -import { APP_INITIALIZER, ModuleWithProviders, NgModule } from '@angular/core'; import { HTTP_INTERCEPTORS } from '@angular/common/http'; +import { APP_INITIALIZER, ModuleWithProviders, NgModule } from '@angular/core'; import { FUSE_MOCK_API_DEFAULT_DELAY } from '@fuse/lib/mock-api/mock-api.constants'; import { FuseMockApiInterceptor } from '@fuse/lib/mock-api/mock-api.interceptor'; @@ -8,9 +8,9 @@ import { FuseMockApiInterceptor } from '@fuse/lib/mock-api/mock-api.interceptor' { provide : HTTP_INTERCEPTORS, useClass: FuseMockApiInterceptor, - multi : true - } - ] + multi : true, + }, + ], }) export class FuseMockApiModule { @@ -30,13 +30,13 @@ export class FuseMockApiModule provide : APP_INITIALIZER, deps : [...mockApiServices], useFactory: () => (): any => null, - multi : true + multi : true, }, { provide : FUSE_MOCK_API_DEFAULT_DELAY, - useValue: config?.delay ?? 0 - } - ] + useValue: config?.delay ?? 0, + }, + ], }; } } diff --git a/src/@fuse/lib/mock-api/mock-api.request-handler.ts b/src/@fuse/lib/mock-api/mock-api.request-handler.ts index 668c7b08..239f332f 100644 --- a/src/@fuse/lib/mock-api/mock-api.request-handler.ts +++ b/src/@fuse/lib/mock-api/mock-api.request-handler.ts @@ -1,6 +1,6 @@ import { HttpRequest } from '@angular/common/http'; -import { Observable, of, take, throwError } from 'rxjs'; import { FuseMockApiReplyCallback } from '@fuse/lib/mock-api/mock-api.types'; +import { Observable, of, take, throwError } from 'rxjs'; export class FuseMockApiHandler { @@ -17,7 +17,7 @@ export class FuseMockApiHandler */ constructor( public url: string, - public delay?: number + public delay?: number, ) { } @@ -55,7 +55,7 @@ export class FuseMockApiHandler // Execute the reply callback const replyResult = this._reply({ request : this.request, - urlParams: this.urlParams + urlParams: this.urlParams, }); // If the result of the reply callback is an observable... diff --git a/src/@fuse/lib/mock-api/mock-api.service.ts b/src/@fuse/lib/mock-api/mock-api.service.ts index 30a06524..80ce0fb3 100644 --- a/src/@fuse/lib/mock-api/mock-api.service.ts +++ b/src/@fuse/lib/mock-api/mock-api.service.ts @@ -1,10 +1,10 @@ import { Injectable } from '@angular/core'; -import { compact, fromPairs } from 'lodash-es'; import { FuseMockApiHandler } from '@fuse/lib/mock-api/mock-api.request-handler'; import { FuseMockApiMethods } from '@fuse/lib/mock-api/mock-api.types'; +import { compact, fromPairs } from 'lodash-es'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class FuseMockApiService { @@ -16,7 +16,7 @@ export class FuseMockApiService 'put' : new Map(), 'head' : new Map(), 'jsonp' : new Map(), - 'options': new Map() + 'options': new Map(), }; /** @@ -42,7 +42,7 @@ export class FuseMockApiService // Prepare the return object const matchingHandler: { handler: FuseMockApiHandler | undefined; urlParams: { [key: string]: string } } = { handler : undefined, - urlParams: {} + urlParams: {}, }; // Split the url @@ -52,7 +52,8 @@ export class FuseMockApiService const handlers = this._handlers[method.toLowerCase()]; // Iterate through the handlers - handlers.forEach((handler, handlerUrl) => { + handlers.forEach((handler, handlerUrl) => + { // Skip if there is already a matching handler if ( matchingHandler.handler ) @@ -80,7 +81,7 @@ export class FuseMockApiService // Extract and assign the parameters matchingHandler.urlParams = fromPairs(compact(handlerUrlParts.map((handlerUrlPart, index) => - handlerUrlPart.startsWith(':') ? [handlerUrlPart.substring(1), urlParts[index]] : undefined + handlerUrlPart.startsWith(':') ? [handlerUrlPart.substring(1), urlParts[index]] : undefined, ))); } }); diff --git a/src/@fuse/lib/mock-api/mock-api.utils.ts b/src/@fuse/lib/mock-api/mock-api.utils.ts index 91af6a8f..ba3c5b81 100644 --- a/src/@fuse/lib/mock-api/mock-api.utils.ts +++ b/src/@fuse/lib/mock-api/mock-api.utils.ts @@ -26,7 +26,8 @@ export class FuseMockApiUtils d += performance.now(); } - return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, (c) => { + return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, (c) => + { const r = (d + Math.random() * 16) % 16 | 0; d = Math.floor(d / 16); return (c === 'x' ? r : (r & 0x3 | 0x8)).toString(16); diff --git a/src/@fuse/pipes/find-by-key/find-by-key.module.ts b/src/@fuse/pipes/find-by-key/find-by-key.module.ts deleted file mode 100644 index ead34778..00000000 --- a/src/@fuse/pipes/find-by-key/find-by-key.module.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { NgModule } from '@angular/core'; -import { FuseFindByKeyPipe } from '@fuse/pipes/find-by-key/find-by-key.pipe'; - -@NgModule({ - declarations: [ - FuseFindByKeyPipe - ], - exports : [ - FuseFindByKeyPipe - ] -}) -export class FuseFindByKeyPipeModule -{ -} diff --git a/src/@fuse/pipes/find-by-key/find-by-key.pipe.ts b/src/@fuse/pipes/find-by-key/find-by-key.pipe.ts index ef56d410..4a7a9a9d 100644 --- a/src/@fuse/pipes/find-by-key/find-by-key.pipe.ts +++ b/src/@fuse/pipes/find-by-key/find-by-key.pipe.ts @@ -4,8 +4,9 @@ import { Pipe, PipeTransform } from '@angular/core'; * Finds an object from given source using the given key - value pairs */ @Pipe({ - name: 'fuseFindByKey', - pure: false + name : 'fuseFindByKey', + pure : false, + standalone: true, }) export class FuseFindByKeyPipe implements PipeTransform { diff --git a/src/@fuse/services/config/config.module.ts b/src/@fuse/services/config/config.module.ts index 4416a4ce..767d2c33 100644 --- a/src/@fuse/services/config/config.module.ts +++ b/src/@fuse/services/config/config.module.ts @@ -1,6 +1,6 @@ import { ModuleWithProviders, NgModule } from '@angular/core'; -import { FuseConfigService } from '@fuse/services/config/config.service'; import { FUSE_APP_CONFIG } from '@fuse/services/config/config.constants'; +import { FuseConfigService } from '@fuse/services/config/config.service'; @NgModule() export class FuseConfigModule @@ -24,9 +24,9 @@ export class FuseConfigModule providers: [ { provide : FUSE_APP_CONFIG, - useValue: config - } - ] + useValue: config, + }, + ], }; } } diff --git a/src/@fuse/services/config/config.service.ts b/src/@fuse/services/config/config.service.ts index cfdd2105..bc9787c2 100644 --- a/src/@fuse/services/config/config.service.ts +++ b/src/@fuse/services/config/config.service.ts @@ -1,10 +1,10 @@ import { Inject, Injectable } from '@angular/core'; -import { BehaviorSubject, Observable } from 'rxjs'; -import { merge } from 'lodash-es'; import { FUSE_APP_CONFIG } from '@fuse/services/config/config.constants'; +import { merge } from 'lodash-es'; +import { BehaviorSubject, Observable } from 'rxjs'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class FuseConfigService { diff --git a/src/@fuse/services/confirmation/confirmation.module.ts b/src/@fuse/services/confirmation/confirmation.module.ts index ce143296..02804170 100644 --- a/src/@fuse/services/confirmation/confirmation.module.ts +++ b/src/@fuse/services/confirmation/confirmation.module.ts @@ -1,24 +1,22 @@ +import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; import { MatButtonModule } from '@angular/material/button'; import { MatDialogModule } from '@angular/material/dialog'; import { MatIconModule } from '@angular/material/icon'; import { FuseConfirmationService } from '@fuse/services/confirmation/confirmation.service'; import { FuseConfirmationDialogComponent } from '@fuse/services/confirmation/dialog/dialog.component'; -import { CommonModule } from '@angular/common'; @NgModule({ - declarations: [ - FuseConfirmationDialogComponent - ], - imports : [ + imports : [ MatButtonModule, MatDialogModule, MatIconModule, - CommonModule + CommonModule, + FuseConfirmationDialogComponent, + ], + providers: [ + FuseConfirmationService, ], - providers : [ - FuseConfirmationService - ] }) export class FuseConfirmationModule { diff --git a/src/@fuse/services/confirmation/confirmation.service.ts b/src/@fuse/services/confirmation/confirmation.service.ts index b22ccae5..7d40641e 100644 --- a/src/@fuse/services/confirmation/confirmation.service.ts +++ b/src/@fuse/services/confirmation/confirmation.service.ts @@ -1,8 +1,8 @@ import { Injectable } from '@angular/core'; import { MatDialog, MatDialogRef } from '@angular/material/dialog'; -import { merge } from 'lodash-es'; -import { FuseConfirmationDialogComponent } from '@fuse/services/confirmation/dialog/dialog.component'; import { FuseConfirmationConfig } from '@fuse/services/confirmation/confirmation.types'; +import { FuseConfirmationDialogComponent } from '@fuse/services/confirmation/dialog/dialog.component'; +import { merge } from 'lodash-es'; @Injectable() export class FuseConfirmationService @@ -13,27 +13,27 @@ export class FuseConfirmationService icon : { show : true, name : 'heroicons_outline:exclamation', - color: 'warn' + color: 'warn', }, actions : { confirm: { show : true, label: 'Confirm', - color: 'warn' + color: 'warn', }, cancel : { show : true, - label: 'Cancel' - } + label: 'Cancel', + }, }, - dismissible: false + dismissible: false, }; /** * Constructor */ constructor( - private _matDialog: MatDialog + private _matDialog: MatDialog, ) { } @@ -52,7 +52,7 @@ export class FuseConfirmationService autoFocus : false, disableClose: !userConfig.dismissible, data : userConfig, - panelClass : 'fuse-confirmation-dialog-panel' + panelClass : 'fuse-confirmation-dialog-panel', }); } } diff --git a/src/@fuse/services/confirmation/dialog/dialog.component.ts b/src/@fuse/services/confirmation/dialog/dialog.component.ts index d429a098..995da16b 100644 --- a/src/@fuse/services/confirmation/dialog/dialog.component.ts +++ b/src/@fuse/services/confirmation/dialog/dialog.component.ts @@ -1,5 +1,8 @@ +import { NgClass, NgIf } from '@angular/common'; import { Component, Inject, ViewEncapsulation } from '@angular/core'; -import { MAT_DIALOG_DATA } from '@angular/material/dialog'; +import { MatButtonModule } from '@angular/material/button'; +import { MAT_DIALOG_DATA, MatDialogModule } from '@angular/material/dialog'; +import { MatIconModule } from '@angular/material/icon'; import { FuseConfirmationConfig } from '@fuse/services/confirmation/confirmation.types'; @Component({ @@ -20,9 +23,11 @@ import { FuseConfirmationConfig } from '@fuse/services/confirmation/confirmation } } } - ` + `, ], - encapsulation: ViewEncapsulation.None + encapsulation: ViewEncapsulation.None, + standalone : true, + imports : [NgIf, MatButtonModule, MatDialogModule, MatIconModule, NgClass], }) export class FuseConfirmationDialogComponent { diff --git a/src/@fuse/services/loading/loading.interceptor.ts b/src/@fuse/services/loading/loading.interceptor.ts index 886243f2..2022c526 100644 --- a/src/@fuse/services/loading/loading.interceptor.ts +++ b/src/@fuse/services/loading/loading.interceptor.ts @@ -1,7 +1,7 @@ -import { Injectable } from '@angular/core'; import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http'; -import { finalize, Observable } from 'rxjs'; +import { Injectable } from '@angular/core'; import { FuseLoadingService } from '@fuse/services/loading/loading.service'; +import { finalize, Observable } from 'rxjs'; @Injectable() export class FuseLoadingInterceptor implements HttpInterceptor @@ -12,12 +12,13 @@ export class FuseLoadingInterceptor implements HttpInterceptor * Constructor */ constructor( - private _fuseLoadingService: FuseLoadingService + private _fuseLoadingService: FuseLoadingService, ) { // Subscribe to the auto this._fuseLoadingService.auto$ - .subscribe((value) => { + .subscribe((value) => + { this.handleRequestsAutomatically = value; }); } @@ -40,7 +41,8 @@ export class FuseLoadingInterceptor implements HttpInterceptor this._fuseLoadingService._setLoadingStatus(true, req.url); return next.handle(req).pipe( - finalize(() => { + finalize(() => + { // Set the status to false if there are any errors or the request is completed this._fuseLoadingService._setLoadingStatus(false, req.url); })); diff --git a/src/@fuse/services/loading/loading.module.ts b/src/@fuse/services/loading/loading.module.ts index 778ddfd3..e35ada64 100644 --- a/src/@fuse/services/loading/loading.module.ts +++ b/src/@fuse/services/loading/loading.module.ts @@ -1,5 +1,5 @@ -import { NgModule } from '@angular/core'; import { HTTP_INTERCEPTORS } from '@angular/common/http'; +import { NgModule } from '@angular/core'; import { FuseLoadingInterceptor } from '@fuse/services/loading/loading.interceptor'; @NgModule({ @@ -7,9 +7,9 @@ import { FuseLoadingInterceptor } from '@fuse/services/loading/loading.intercept { provide : HTTP_INTERCEPTORS, useClass: FuseLoadingInterceptor, - multi : true - } - ] + multi : true, + }, + ], }) export class FuseLoadingModule { diff --git a/src/@fuse/services/loading/loading.service.ts b/src/@fuse/services/loading/loading.service.ts index 84049f22..9adb6ba3 100644 --- a/src/@fuse/services/loading/loading.service.ts +++ b/src/@fuse/services/loading/loading.service.ts @@ -1,9 +1,9 @@ -import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; +import { Injectable } from '@angular/core'; import { BehaviorSubject, Observable } from 'rxjs'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class FuseLoadingService { diff --git a/src/@fuse/services/media-watcher/media-watcher.module.ts b/src/@fuse/services/media-watcher/media-watcher.module.ts index 3e5133e0..b8344fc9 100644 --- a/src/@fuse/services/media-watcher/media-watcher.module.ts +++ b/src/@fuse/services/media-watcher/media-watcher.module.ts @@ -3,8 +3,8 @@ import { FuseMediaWatcherService } from '@fuse/services/media-watcher/media-watc @NgModule({ providers: [ - FuseMediaWatcherService - ] + FuseMediaWatcherService, + ], }) export class FuseMediaWatcherModule { diff --git a/src/@fuse/services/media-watcher/media-watcher.service.ts b/src/@fuse/services/media-watcher/media-watcher.service.ts index 2066f065..fff4d838 100644 --- a/src/@fuse/services/media-watcher/media-watcher.service.ts +++ b/src/@fuse/services/media-watcher/media-watcher.service.ts @@ -1,8 +1,8 @@ -import { Injectable } from '@angular/core'; import { BreakpointObserver, BreakpointState } from '@angular/cdk/layout'; -import { map, Observable, ReplaySubject, switchMap } from 'rxjs'; -import { fromPairs } from 'lodash-es'; +import { Injectable } from '@angular/core'; import { FuseConfigService } from '@fuse/services/config'; +import { fromPairs } from 'lodash-es'; +import { map, Observable, ReplaySubject, switchMap } from 'rxjs'; @Injectable() export class FuseMediaWatcherService @@ -14,13 +14,14 @@ export class FuseMediaWatcherService */ constructor( private _breakpointObserver: BreakpointObserver, - private _fuseConfigService: FuseConfigService + private _fuseConfigService: FuseConfigService, ) { this._fuseConfigService.config$.pipe( map(config => fromPairs(Object.entries(config.screens).map(([alias, screen]) => ([alias, `(min-width: ${screen})`])))), switchMap(screens => this._breakpointObserver.observe(Object.values(screens)).pipe( - map((state) => { + map((state) => + { // Prepare the observable values and set their defaults const matchingAliases: string[] = []; @@ -44,10 +45,10 @@ export class FuseMediaWatcherService // Execute the observable this._onMediaChange.next({ matchingAliases, - matchingQueries + matchingQueries, }); - }) - )) + }), + )), ).subscribe(); } diff --git a/src/@fuse/services/platform/platform.module.ts b/src/@fuse/services/platform/platform.module.ts index ae3d0f54..a6c8e1d6 100644 --- a/src/@fuse/services/platform/platform.module.ts +++ b/src/@fuse/services/platform/platform.module.ts @@ -3,8 +3,8 @@ import { FusePlatformService } from '@fuse/services/platform/platform.service'; @NgModule({ providers: [ - FusePlatformService - ] + FusePlatformService, + ], }) export class FusePlatformModule { diff --git a/src/@fuse/services/platform/platform.service.ts b/src/@fuse/services/platform/platform.service.ts index 9c350eb7..9b0d4e9c 100644 --- a/src/@fuse/services/platform/platform.service.ts +++ b/src/@fuse/services/platform/platform.service.ts @@ -1,8 +1,8 @@ -import { Injectable } from '@angular/core'; import { Platform } from '@angular/cdk/platform'; +import { Injectable } from '@angular/core'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class FusePlatformService { diff --git a/src/@fuse/services/splash-screen/splash-screen.module.ts b/src/@fuse/services/splash-screen/splash-screen.module.ts index 913d595d..be4ff164 100644 --- a/src/@fuse/services/splash-screen/splash-screen.module.ts +++ b/src/@fuse/services/splash-screen/splash-screen.module.ts @@ -3,8 +3,8 @@ import { FuseSplashScreenService } from '@fuse/services/splash-screen/splash-scr @NgModule({ providers: [ - FuseSplashScreenService - ] + FuseSplashScreenService, + ], }) export class FuseSplashScreenModule { diff --git a/src/@fuse/services/splash-screen/splash-screen.service.ts b/src/@fuse/services/splash-screen/splash-screen.service.ts index 5743f4c5..3ebf72c4 100644 --- a/src/@fuse/services/splash-screen/splash-screen.service.ts +++ b/src/@fuse/services/splash-screen/splash-screen.service.ts @@ -1,5 +1,5 @@ -import { Inject, Injectable } from '@angular/core'; import { DOCUMENT } from '@angular/common'; +import { Inject, Injectable } from '@angular/core'; import { NavigationEnd, Router } from '@angular/router'; import { filter, take } from 'rxjs'; @@ -11,16 +11,17 @@ export class FuseSplashScreenService */ constructor( @Inject(DOCUMENT) private _document: any, - private _router: Router + private _router: Router, ) { // Hide it on the first NavigationEnd event this._router.events .pipe( filter(event => event instanceof NavigationEnd), - take(1) + take(1), ) - .subscribe(() => { + .subscribe(() => + { this.hide(); }); } diff --git a/src/@fuse/services/utils/utils.module.ts b/src/@fuse/services/utils/utils.module.ts index 9f974f33..6abc1afc 100644 --- a/src/@fuse/services/utils/utils.module.ts +++ b/src/@fuse/services/utils/utils.module.ts @@ -3,8 +3,8 @@ import { FuseUtilsService } from '@fuse/services/utils/utils.service'; @NgModule({ providers: [ - FuseUtilsService - ] + FuseUtilsService, + ], }) export class FuseUtilsModule { diff --git a/src/@fuse/services/utils/utils.service.ts b/src/@fuse/services/utils/utils.service.ts index 0c307ee6..46db6748 100644 --- a/src/@fuse/services/utils/utils.service.ts +++ b/src/@fuse/services/utils/utils.service.ts @@ -2,7 +2,7 @@ import { Injectable } from '@angular/core'; import { IsActiveMatchOptions } from '@angular/router'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class FuseUtilsService { @@ -26,7 +26,7 @@ export class FuseUtilsService paths : 'exact', fragment : 'ignored', matrixParams: 'ignored', - queryParams : 'exact' + queryParams : 'exact', }; } @@ -39,7 +39,7 @@ export class FuseUtilsService paths : 'subset', fragment : 'ignored', matrixParams: 'ignored', - queryParams : 'subset' + queryParams : 'subset', }; } diff --git a/src/@fuse/styles/user-themes.scss b/src/@fuse/styles/user-themes.scss index d082ce46..2735bdac 100644 --- a/src/@fuse/styles/user-themes.scss +++ b/src/@fuse/styles/user-themes.scss @@ -1 +1 @@ -$user-themes: (default: (selector: ".theme-default", primary: (50: #eef2ff, 100: #e0e7ff, 200: #c7d2fe, 300: #a5b4fc, 400: #818cf8, 500: #6366f1, 600: #4f46e5, 700: #4338ca, 800: #3730a3, 900: #312e81, DEFAULT: #4f46e5, contrast: (50: #312e81, 100: #312e81, 200: #312e81, 300: #312e81, 400: #312e81, 500: #FFFFFF, 600: #FFFFFF, 700: #FFFFFF, 800: #FFFFFF, 900: #FFFFFF, DEFAULT: #FFFFFF)), accent: (50: #f8fafc, 100: #f1f5f9, 200: #e2e8f0, 300: #cbd5e1, 400: #94a3b8, 500: #64748b, 600: #475569, 700: #334155, 800: #1e293b, 900: #0f172a, DEFAULT: #1e293b, contrast: (50: #0f172a, 100: #0f172a, 200: #0f172a, 300: #0f172a, 400: #0f172a, 500: #FFFFFF, 600: #FFFFFF, 700: #FFFFFF, 800: #FFFFFF, 900: #FFFFFF, DEFAULT: #FFFFFF)), warn: (50: #fef2f2, 100: #fee2e2, 200: #fecaca, 300: #fca5a5, 400: #f87171, 500: #ef4444, 600: #dc2626, 700: #b91c1c, 800: #991b1b, 900: #7f1d1d, DEFAULT: #dc2626, contrast: (50: #7f1d1d, 100: #7f1d1d, 200: #7f1d1d, 300: #7f1d1d, 400: #7f1d1d, 500: #fef2f2, 600: #FFFFFF, 700: #FFFFFF, 800: #FFFFFF, 900: #FFFFFF, DEFAULT: #FFFFFF))), brand: (selector: ".theme-brand", primary: (50: #eff5fe, 100: #e2ecfd, 200: #c4dafa, 300: #a1c6f8, 400: #74b0f5, 500: #2196f3, 600: #1e88dc, 700: #1a78c3, 800: #1766a6, 900: #125183, DEFAULT: #2196f3, contrast: (50: #125183, 100: #125183, 200: #125183, 300: #125183, 400: #125183, 500: #FFFFFF, 600: #FFFFFF, 700: #FFFFFF, 800: #FFFFFF, 900: #FFFFFF, DEFAULT: #FFFFFF)), accent: (50: #f8fafc, 100: #f1f5f9, 200: #e2e8f0, 300: #cbd5e1, 400: #94a3b8, 500: #64748b, 600: #475569, 700: #334155, 800: #1e293b, 900: #0f172a, DEFAULT: #1e293b, contrast: (50: #0f172a, 100: #0f172a, 200: #0f172a, 300: #0f172a, 400: #0f172a, 500: #FFFFFF, 600: #FFFFFF, 700: #FFFFFF, 800: #FFFFFF, 900: #FFFFFF, DEFAULT: #FFFFFF)), warn: (50: #fef2f2, 100: #fee2e2, 200: #fecaca, 300: #fca5a5, 400: #f87171, 500: #ef4444, 600: #dc2626, 700: #b91c1c, 800: #991b1b, 900: #7f1d1d, DEFAULT: #dc2626, contrast: (50: #7f1d1d, 100: #7f1d1d, 200: #7f1d1d, 300: #7f1d1d, 400: #7f1d1d, 500: #fef2f2, 600: #FFFFFF, 700: #FFFFFF, 800: #FFFFFF, 900: #FFFFFF, DEFAULT: #FFFFFF))), teal: (selector: ".theme-teal", primary: (50: #f0fdfa, 100: #ccfbf1, 200: #99f6e4, 300: #5eead4, 400: #2dd4bf, 500: #14b8a6, 600: #0d9488, 700: #0f766e, 800: #115e59, 900: #134e4a, DEFAULT: #0d9488, contrast: (50: #134e4a, 100: #134e4a, 200: #134e4a, 300: #134e4a, 400: #134e4a, 500: #134e4a, 600: #FFFFFF, 700: #FFFFFF, 800: #FFFFFF, 900: #FFFFFF, DEFAULT: #FFFFFF)), accent: (50: #f8fafc, 100: #f1f5f9, 200: #e2e8f0, 300: #cbd5e1, 400: #94a3b8, 500: #64748b, 600: #475569, 700: #334155, 800: #1e293b, 900: #0f172a, DEFAULT: #1e293b, contrast: (50: #0f172a, 100: #0f172a, 200: #0f172a, 300: #0f172a, 400: #0f172a, 500: #FFFFFF, 600: #FFFFFF, 700: #FFFFFF, 800: #FFFFFF, 900: #FFFFFF, DEFAULT: #FFFFFF)), warn: (50: #fef2f2, 100: #fee2e2, 200: #fecaca, 300: #fca5a5, 400: #f87171, 500: #ef4444, 600: #dc2626, 700: #b91c1c, 800: #991b1b, 900: #7f1d1d, DEFAULT: #dc2626, contrast: (50: #7f1d1d, 100: #7f1d1d, 200: #7f1d1d, 300: #7f1d1d, 400: #7f1d1d, 500: #fef2f2, 600: #FFFFFF, 700: #FFFFFF, 800: #FFFFFF, 900: #FFFFFF, DEFAULT: #FFFFFF))), rose: (selector: ".theme-rose", primary: (50: #fff1f2, 100: #ffe4e6, 200: #fecdd3, 300: #fda4af, 400: #fb7185, 500: #f43f5e, 600: #e11d48, 700: #be123c, 800: #9f1239, 900: #881337, DEFAULT: #f43f5e, contrast: (50: #881337, 100: #881337, 200: #881337, 300: #881337, 400: #881337, 500: #FFFFFF, 600: #FFFFFF, 700: #FFFFFF, 800: #FFFFFF, 900: #FFFFFF, DEFAULT: #FFFFFF)), accent: (50: #f8fafc, 100: #f1f5f9, 200: #e2e8f0, 300: #cbd5e1, 400: #94a3b8, 500: #64748b, 600: #475569, 700: #334155, 800: #1e293b, 900: #0f172a, DEFAULT: #1e293b, contrast: (50: #0f172a, 100: #0f172a, 200: #0f172a, 300: #0f172a, 400: #0f172a, 500: #FFFFFF, 600: #FFFFFF, 700: #FFFFFF, 800: #FFFFFF, 900: #FFFFFF, DEFAULT: #FFFFFF)), warn: (50: #fef2f2, 100: #fee2e2, 200: #fecaca, 300: #fca5a5, 400: #f87171, 500: #ef4444, 600: #dc2626, 700: #b91c1c, 800: #991b1b, 900: #7f1d1d, DEFAULT: #dc2626, contrast: (50: #7f1d1d, 100: #7f1d1d, 200: #7f1d1d, 300: #7f1d1d, 400: #7f1d1d, 500: #fef2f2, 600: #FFFFFF, 700: #FFFFFF, 800: #FFFFFF, 900: #FFFFFF, DEFAULT: #FFFFFF))), purple: (selector: ".theme-purple", primary: (50: #faf5ff, 100: #f3e8ff, 200: #e9d5ff, 300: #d8b4fe, 400: #c084fc, 500: #a855f7, 600: #9333ea, 700: #7e22ce, 800: #6b21a8, 900: #581c87, DEFAULT: #9333ea, contrast: (50: #581c87, 100: #581c87, 200: #581c87, 300: #581c87, 400: #581c87, 500: #FFFFFF, 600: #FFFFFF, 700: #FFFFFF, 800: #FFFFFF, 900: #FFFFFF, DEFAULT: #FFFFFF)), accent: (50: #f8fafc, 100: #f1f5f9, 200: #e2e8f0, 300: #cbd5e1, 400: #94a3b8, 500: #64748b, 600: #475569, 700: #334155, 800: #1e293b, 900: #0f172a, DEFAULT: #1e293b, contrast: (50: #0f172a, 100: #0f172a, 200: #0f172a, 300: #0f172a, 400: #0f172a, 500: #FFFFFF, 600: #FFFFFF, 700: #FFFFFF, 800: #FFFFFF, 900: #FFFFFF, DEFAULT: #FFFFFF)), warn: (50: #fef2f2, 100: #fee2e2, 200: #fecaca, 300: #fca5a5, 400: #f87171, 500: #ef4444, 600: #dc2626, 700: #b91c1c, 800: #991b1b, 900: #7f1d1d, DEFAULT: #dc2626, contrast: (50: #7f1d1d, 100: #7f1d1d, 200: #7f1d1d, 300: #7f1d1d, 400: #7f1d1d, 500: #fef2f2, 600: #FFFFFF, 700: #FFFFFF, 800: #FFFFFF, 900: #FFFFFF, DEFAULT: #FFFFFF))), amber: (selector: ".theme-amber", primary: (50: #fffbeb, 100: #fef3c7, 200: #fde68a, 300: #fcd34d, 400: #fbbf24, 500: #f59e0b, 600: #d97706, 700: #b45309, 800: #92400e, 900: #78350f, DEFAULT: #f59e0b, contrast: (50: #78350f, 100: #78350f, 200: #78350f, 300: #78350f, 400: #78350f, 500: #78350f, 600: #FFFFFF, 700: #FFFFFF, 800: #FFFFFF, 900: #FFFFFF, DEFAULT: #78350f)), accent: (50: #f8fafc, 100: #f1f5f9, 200: #e2e8f0, 300: #cbd5e1, 400: #94a3b8, 500: #64748b, 600: #475569, 700: #334155, 800: #1e293b, 900: #0f172a, DEFAULT: #1e293b, contrast: (50: #0f172a, 100: #0f172a, 200: #0f172a, 300: #0f172a, 400: #0f172a, 500: #FFFFFF, 600: #FFFFFF, 700: #FFFFFF, 800: #FFFFFF, 900: #FFFFFF, DEFAULT: #FFFFFF)), warn: (50: #fef2f2, 100: #fee2e2, 200: #fecaca, 300: #fca5a5, 400: #f87171, 500: #ef4444, 600: #dc2626, 700: #b91c1c, 800: #991b1b, 900: #7f1d1d, DEFAULT: #dc2626, contrast: (50: #7f1d1d, 100: #7f1d1d, 200: #7f1d1d, 300: #7f1d1d, 400: #7f1d1d, 500: #fef2f2, 600: #FFFFFF, 700: #FFFFFF, 800: #FFFFFF, 900: #FFFFFF, DEFAULT: #FFFFFF)))); \ No newline at end of file +$user-themes: (default: (selector: ".theme-default", primary: (50: #eef2ff, 100: #e0e7ff, 200: #c7d2fe, 300: #a5b4fc, 400: #818cf8, 500: #6366f1, 600: #4f46e5, 700: #4338ca, 800: #3730a3, 900: #312e81, 950: #1e1b4b, DEFAULT: #4f46e5, contrast: (50: #1e1b4b, 100: #1e1b4b, 200: #1e1b4b, 300: #1e1b4b, 400: #1e1b4b, 500: #FFFFFF, 600: #FFFFFF, 700: #FFFFFF, 800: #FFFFFF, 900: #FFFFFF, 950: #FFFFFF, DEFAULT: #FFFFFF)), accent: (50: #f8fafc, 100: #f1f5f9, 200: #e2e8f0, 300: #cbd5e1, 400: #94a3b8, 500: #64748b, 600: #475569, 700: #334155, 800: #1e293b, 900: #0f172a, 950: #020617, DEFAULT: #1e293b, contrast: (50: #020617, 100: #020617, 200: #020617, 300: #020617, 400: #020617, 500: #FFFFFF, 600: #FFFFFF, 700: #FFFFFF, 800: #FFFFFF, 900: #FFFFFF, 950: #FFFFFF, DEFAULT: #FFFFFF)), warn: (50: #fef2f2, 100: #fee2e2, 200: #fecaca, 300: #fca5a5, 400: #f87171, 500: #ef4444, 600: #dc2626, 700: #b91c1c, 800: #991b1b, 900: #7f1d1d, 950: #450a0a, DEFAULT: #dc2626, contrast: (50: #450a0a, 100: #450a0a, 200: #450a0a, 300: #450a0a, 400: #450a0a, 500: #fef2f2, 600: #FFFFFF, 700: #FFFFFF, 800: #FFFFFF, 900: #FFFFFF, 950: #FFFFFF, DEFAULT: #FFFFFF))), brand: (selector: ".theme-brand", primary: (50: #eff5fe, 100: #e2ecfd, 200: #c4dafa, 300: #a1c6f8, 400: #74b0f5, 500: #2196f3, 600: #1e88dc, 700: #1a78c3, 800: #1766a6, 900: #125183, DEFAULT: #2196f3, contrast: (50: #125183, 100: #125183, 200: #125183, 300: #125183, 400: #125183, 500: #FFFFFF, 600: #FFFFFF, 700: #FFFFFF, 800: #FFFFFF, 900: #FFFFFF, DEFAULT: #FFFFFF)), accent: (50: #f8fafc, 100: #f1f5f9, 200: #e2e8f0, 300: #cbd5e1, 400: #94a3b8, 500: #64748b, 600: #475569, 700: #334155, 800: #1e293b, 900: #0f172a, 950: #020617, DEFAULT: #1e293b, contrast: (50: #020617, 100: #020617, 200: #020617, 300: #020617, 400: #020617, 500: #FFFFFF, 600: #FFFFFF, 700: #FFFFFF, 800: #FFFFFF, 900: #FFFFFF, 950: #FFFFFF, DEFAULT: #FFFFFF)), warn: (50: #fef2f2, 100: #fee2e2, 200: #fecaca, 300: #fca5a5, 400: #f87171, 500: #ef4444, 600: #dc2626, 700: #b91c1c, 800: #991b1b, 900: #7f1d1d, 950: #450a0a, DEFAULT: #dc2626, contrast: (50: #450a0a, 100: #450a0a, 200: #450a0a, 300: #450a0a, 400: #450a0a, 500: #fef2f2, 600: #FFFFFF, 700: #FFFFFF, 800: #FFFFFF, 900: #FFFFFF, 950: #FFFFFF, DEFAULT: #FFFFFF))), teal: (selector: ".theme-teal", primary: (50: #f0fdfa, 100: #ccfbf1, 200: #99f6e4, 300: #5eead4, 400: #2dd4bf, 500: #14b8a6, 600: #0d9488, 700: #0f766e, 800: #115e59, 900: #134e4a, 950: #042f2e, DEFAULT: #0d9488, contrast: (50: #042f2e, 100: #042f2e, 200: #042f2e, 300: #042f2e, 400: #042f2e, 500: #042f2e, 600: #042f2e, 700: #FFFFFF, 800: #FFFFFF, 900: #FFFFFF, 950: #FFFFFF, DEFAULT: #042f2e)), accent: (50: #f8fafc, 100: #f1f5f9, 200: #e2e8f0, 300: #cbd5e1, 400: #94a3b8, 500: #64748b, 600: #475569, 700: #334155, 800: #1e293b, 900: #0f172a, 950: #020617, DEFAULT: #1e293b, contrast: (50: #020617, 100: #020617, 200: #020617, 300: #020617, 400: #020617, 500: #FFFFFF, 600: #FFFFFF, 700: #FFFFFF, 800: #FFFFFF, 900: #FFFFFF, 950: #FFFFFF, DEFAULT: #FFFFFF)), warn: (50: #fef2f2, 100: #fee2e2, 200: #fecaca, 300: #fca5a5, 400: #f87171, 500: #ef4444, 600: #dc2626, 700: #b91c1c, 800: #991b1b, 900: #7f1d1d, 950: #450a0a, DEFAULT: #dc2626, contrast: (50: #450a0a, 100: #450a0a, 200: #450a0a, 300: #450a0a, 400: #450a0a, 500: #fef2f2, 600: #FFFFFF, 700: #FFFFFF, 800: #FFFFFF, 900: #FFFFFF, 950: #FFFFFF, DEFAULT: #FFFFFF))), rose: (selector: ".theme-rose", primary: (50: #fff1f2, 100: #ffe4e6, 200: #fecdd3, 300: #fda4af, 400: #fb7185, 500: #f43f5e, 600: #e11d48, 700: #be123c, 800: #9f1239, 900: #881337, 950: #4c0519, DEFAULT: #f43f5e, contrast: (50: #4c0519, 100: #4c0519, 200: #4c0519, 300: #4c0519, 400: #4c0519, 500: #4c0519, 600: #FFFFFF, 700: #FFFFFF, 800: #FFFFFF, 900: #FFFFFF, 950: #FFFFFF, DEFAULT: #4c0519)), accent: (50: #f8fafc, 100: #f1f5f9, 200: #e2e8f0, 300: #cbd5e1, 400: #94a3b8, 500: #64748b, 600: #475569, 700: #334155, 800: #1e293b, 900: #0f172a, 950: #020617, DEFAULT: #1e293b, contrast: (50: #020617, 100: #020617, 200: #020617, 300: #020617, 400: #020617, 500: #FFFFFF, 600: #FFFFFF, 700: #FFFFFF, 800: #FFFFFF, 900: #FFFFFF, 950: #FFFFFF, DEFAULT: #FFFFFF)), warn: (50: #fef2f2, 100: #fee2e2, 200: #fecaca, 300: #fca5a5, 400: #f87171, 500: #ef4444, 600: #dc2626, 700: #b91c1c, 800: #991b1b, 900: #7f1d1d, 950: #450a0a, DEFAULT: #dc2626, contrast: (50: #450a0a, 100: #450a0a, 200: #450a0a, 300: #450a0a, 400: #450a0a, 500: #fef2f2, 600: #FFFFFF, 700: #FFFFFF, 800: #FFFFFF, 900: #FFFFFF, 950: #FFFFFF, DEFAULT: #FFFFFF))), purple: (selector: ".theme-purple", primary: (50: #faf5ff, 100: #f3e8ff, 200: #e9d5ff, 300: #d8b4fe, 400: #c084fc, 500: #a855f7, 600: #9333ea, 700: #7e22ce, 800: #6b21a8, 900: #581c87, 950: #3b0764, DEFAULT: #9333ea, contrast: (50: #3b0764, 100: #3b0764, 200: #3b0764, 300: #3b0764, 400: #3b0764, 500: #FFFFFF, 600: #FFFFFF, 700: #FFFFFF, 800: #FFFFFF, 900: #FFFFFF, 950: #FFFFFF, DEFAULT: #FFFFFF)), accent: (50: #f8fafc, 100: #f1f5f9, 200: #e2e8f0, 300: #cbd5e1, 400: #94a3b8, 500: #64748b, 600: #475569, 700: #334155, 800: #1e293b, 900: #0f172a, 950: #020617, DEFAULT: #1e293b, contrast: (50: #020617, 100: #020617, 200: #020617, 300: #020617, 400: #020617, 500: #FFFFFF, 600: #FFFFFF, 700: #FFFFFF, 800: #FFFFFF, 900: #FFFFFF, 950: #FFFFFF, DEFAULT: #FFFFFF)), warn: (50: #fef2f2, 100: #fee2e2, 200: #fecaca, 300: #fca5a5, 400: #f87171, 500: #ef4444, 600: #dc2626, 700: #b91c1c, 800: #991b1b, 900: #7f1d1d, 950: #450a0a, DEFAULT: #dc2626, contrast: (50: #450a0a, 100: #450a0a, 200: #450a0a, 300: #450a0a, 400: #450a0a, 500: #fef2f2, 600: #FFFFFF, 700: #FFFFFF, 800: #FFFFFF, 900: #FFFFFF, 950: #FFFFFF, DEFAULT: #FFFFFF))), amber: (selector: ".theme-amber", primary: (50: #fffbeb, 100: #fef3c7, 200: #fde68a, 300: #fcd34d, 400: #fbbf24, 500: #f59e0b, 600: #d97706, 700: #b45309, 800: #92400e, 900: #78350f, 950: #451a03, DEFAULT: #f59e0b, contrast: (50: #451a03, 100: #451a03, 200: #451a03, 300: #451a03, 400: #451a03, 500: #451a03, 600: #451a03, 700: #FFFFFF, 800: #FFFFFF, 900: #FFFFFF, 950: #FFFFFF, DEFAULT: #451a03)), accent: (50: #f8fafc, 100: #f1f5f9, 200: #e2e8f0, 300: #cbd5e1, 400: #94a3b8, 500: #64748b, 600: #475569, 700: #334155, 800: #1e293b, 900: #0f172a, 950: #020617, DEFAULT: #1e293b, contrast: (50: #020617, 100: #020617, 200: #020617, 300: #020617, 400: #020617, 500: #FFFFFF, 600: #FFFFFF, 700: #FFFFFF, 800: #FFFFFF, 900: #FFFFFF, 950: #FFFFFF, DEFAULT: #FFFFFF)), warn: (50: #fef2f2, 100: #fee2e2, 200: #fecaca, 300: #fca5a5, 400: #f87171, 500: #ef4444, 600: #dc2626, 700: #b91c1c, 800: #991b1b, 900: #7f1d1d, 950: #450a0a, DEFAULT: #dc2626, contrast: (50: #450a0a, 100: #450a0a, 200: #450a0a, 300: #450a0a, 400: #450a0a, 500: #fef2f2, 600: #FFFFFF, 700: #FFFFFF, 800: #FFFFFF, 900: #FFFFFF, 950: #FFFFFF, DEFAULT: #FFFFFF)))); \ No newline at end of file diff --git a/src/@fuse/tailwind/plugins/icon-size.js b/src/@fuse/tailwind/plugins/icon-size.js index 7933b5f1..7c862477 100644 --- a/src/@fuse/tailwind/plugins/icon-size.js +++ b/src/@fuse/tailwind/plugins/icon-size.js @@ -3,7 +3,7 @@ const plugin = require('tailwindcss/plugin'); module.exports = plugin( ({ matchUtilities, - theme + theme, }) => { matchUtilities( @@ -17,12 +17,12 @@ module.exports = plugin( lineHeight: value, [`svg`] : { width : value, - height: value - } - }) + height: value, + }, + }), }, { - values: theme('iconSize') + values: theme('iconSize'), }); }, { @@ -43,8 +43,8 @@ module.exports = plugin( 18 : '4.5rem', 20 : '5rem', 22 : '5.5rem', - 24 : '6rem' - } - } - } + 24 : '6rem', + }, + }, + }, ); diff --git a/src/@fuse/tailwind/plugins/theming.js b/src/@fuse/tailwind/plugins/theming.js index f2d6bf6c..3f2135d4 100644 --- a/src/@fuse/tailwind/plugins/theming.js +++ b/src/@fuse/tailwind/plugins/theming.js @@ -26,9 +26,9 @@ const normalizeTheme = (theme) => paletteName, { ...palette, - DEFAULT: palette['DEFAULT'] || palette[500] - } - ] + DEFAULT: palette['DEFAULT'] || palette[500], + }, + ], )); }; @@ -38,7 +38,7 @@ const normalizeTheme = (theme) => const theming = plugin.withOptions((options) => ({ addComponents, e, - theme + theme, }) => { /** @@ -48,7 +48,7 @@ const theming = plugin.withOptions((options) => ({ */ const userThemes = _.fromPairs(_.map(options.themes, (theme, themeName) => [ themeName, - _.defaults({}, theme, options.themes['default']) + _.defaults({}, theme, options.themes['default']), ])); /** @@ -57,7 +57,7 @@ const theming = plugin.withOptions((options) => ({ */ let themes = _.fromPairs(_.map(userThemes, (theme, themeName) => [ themeName, - normalizeTheme(theme) + normalizeTheme(theme), ])); /** @@ -73,12 +73,12 @@ const theming = plugin.withOptions((options) => ({ ...palette, contrast: _.fromPairs(_.map(generateContrasts(palette), (color, hue) => [ hue, - _.get(userThemes[themeName], [`on-${paletteName}`, hue]) || color - ])) - } + _.get(userThemes[themeName], [`on-${paletteName}`, hue]) || color, + ])), + }, ])), - ['primary', 'accent', 'warn'] - ) + ['primary', 'accent', 'warn'], + ), ])); /** @@ -89,8 +89,8 @@ const theming = plugin.withOptions((options) => ({ themeName, { selector: `".theme-${themeName}"`, - ...theme - } + ...theme, + }, ])); /* Generate the SASS map using the themes object */ @@ -134,15 +134,15 @@ const theming = plugin.withOptions((options) => ({ _.fromPairs(_.flatten(_.map(flattenColorPalette(_.fromPairs(_.flatten(_.map(normalizeTheme(theme), (palette, paletteName) => [ [ e(paletteName), - palette + palette, ], [ `on-${e(paletteName)}`, - _.fromPairs(_.map(generateContrasts(palette), (color, hue) => [hue, _.get(theme, [`on-${paletteName}`, hue]) || color])) - ] - ]) - ))), (value, key) => [[`--fuse-${e(key)}`, value], [`--fuse-${e(key)}-rgb`, chroma(value).rgb().join(',')]]))) - ])) + _.fromPairs(_.map(generateContrasts(palette), (color, hue) => [hue, _.get(theme, [`on-${paletteName}`, hue]) || color])), + ], + ]), + ))), (value, key) => [[`--fuse-${e(key)}`, value], [`--fuse-${e(key)}-rgb`, chroma(value).rgb().join(',')]]))), + ])), ); /** @@ -185,8 +185,8 @@ const theming = plugin.withOptions((options) => ({ /* Generate custom properties from customProps */ ..._.fromPairs(_.flatten(_.map(background, (value, key) => [[`--fuse-${e(key)}`, value], [`--fuse-${e(key)}-rgb`, chroma(value).rgb().join(',')]]))), - ..._.fromPairs(_.flatten(_.map(foreground, (value, key) => [[`--fuse-${e(key)}`, value], [`--fuse-${e(key)}-rgb`, chroma(value).rgb().join(',')]]))) - } + ..._.fromPairs(_.flatten(_.map(foreground, (value, key) => [[`--fuse-${e(key)}`, value], [`--fuse-${e(key)}-rgb`, chroma(value).rgb().join(',')]]))), + }, }; }); @@ -211,8 +211,8 @@ const theming = plugin.withOptions((options) => ({ */ colors: _.fromPairs(_.flatten(_.map(_.keys(flattenColorPalette(normalizeTheme(options.themes.default))), (name) => [ [name, `rgba(var(--fuse-${name}-rgb), )`], - [`on-${name}`, `rgba(var(--fuse-on-${name}-rgb), )`] - ]))) + [`on-${name}`, `rgba(var(--fuse-on-${name}-rgb), )`], + ]))), }, fuse : { customProps: { @@ -223,7 +223,7 @@ const theming = plugin.withOptions((options) => ({ 'bg-default' : colors.slate[100], 'bg-dialog' : '#FFFFFF', 'bg-hover' : chroma(colors.slate[400]).alpha(0.12).css(), - 'bg-status-bar': colors.slate[300] + 'bg-status-bar': colors.slate[300], }, dark : { 'bg-app-bar' : colors.slate[900], @@ -231,8 +231,8 @@ const theming = plugin.withOptions((options) => ({ 'bg-default' : colors.slate[900], 'bg-dialog' : colors.slate[800], 'bg-hover' : 'rgba(255, 255, 255, 0.05)', - 'bg-status-bar': colors.slate[900] - } + 'bg-status-bar': colors.slate[900], + }, }, foreground: { light: { @@ -243,7 +243,7 @@ const theming = plugin.withOptions((options) => ({ 'border' : colors.slate[200], 'divider' : colors.slate[200], 'icon' : colors.slate[500], - 'mat-icon' : colors.slate[500] + 'mat-icon' : colors.slate[500], }, dark : { 'text-default' : '#FFFFFF', @@ -253,14 +253,14 @@ const theming = plugin.withOptions((options) => ({ 'border' : chroma(colors.slate[100]).alpha(0.12).css(), 'divider' : chroma(colors.slate[100]).alpha(0.12).css(), 'icon' : colors.slate[400], - 'mat-icon' : colors.slate[400] - } - } - } - } - } + 'mat-icon' : colors.slate[400], + }, + }, + }, + }, + }, }; - } + }, ); module.exports = theming; diff --git a/src/@fuse/tailwind/plugins/utilities.js b/src/@fuse/tailwind/plugins/utilities.js index 4b1afb9d..e4ef8b40 100644 --- a/src/@fuse/tailwind/plugins/utilities.js +++ b/src/@fuse/tailwind/plugins/utilities.js @@ -1,7 +1,7 @@ const plugin = require('tailwindcss/plugin'); module.exports = plugin(({ - addComponents + addComponents, }) => { /* @@ -13,55 +13,55 @@ module.exports = plugin(({ { '.mat-icon' : { '--tw-text-opacity': '1', - color : 'rgba(var(--fuse-mat-icon-rgb), var(--tw-text-opacity))' + color : 'rgba(var(--fuse-mat-icon-rgb), var(--tw-text-opacity))', }, '.text-default' : { '--tw-text-opacity': '1 !important', - color : 'rgba(var(--fuse-text-default-rgb), var(--tw-text-opacity)) !important' + color : 'rgba(var(--fuse-text-default-rgb), var(--tw-text-opacity)) !important', }, '.text-secondary' : { '--tw-text-opacity': '1 !important', - color : 'rgba(var(--fuse-text-secondary-rgb), var(--tw-text-opacity)) !important' + color : 'rgba(var(--fuse-text-secondary-rgb), var(--tw-text-opacity)) !important', }, '.text-hint' : { '--tw-text-opacity': '1 !important', - color : 'rgba(var(--fuse-text-hint-rgb), var(--tw-text-opacity)) !important' + color : 'rgba(var(--fuse-text-hint-rgb), var(--tw-text-opacity)) !important', }, '.text-disabled' : { '--tw-text-opacity': '1 !important', - color : 'rgba(var(--fuse-text-disabled-rgb), var(--tw-text-opacity)) !important' + color : 'rgba(var(--fuse-text-disabled-rgb), var(--tw-text-opacity)) !important', }, '.divider' : { - color: 'var(--fuse-divider) !important' + color: 'var(--fuse-divider) !important', }, '.bg-card' : { '--tw-bg-opacity': '1 !important', - backgroundColor : 'rgba(var(--fuse-bg-card-rgb), var(--tw-bg-opacity)) !important' + backgroundColor : 'rgba(var(--fuse-bg-card-rgb), var(--tw-bg-opacity)) !important', }, '.bg-default' : { '--tw-bg-opacity': '1 !important', - backgroundColor : 'rgba(var(--fuse-bg-default-rgb), var(--tw-bg-opacity)) !important' + backgroundColor : 'rgba(var(--fuse-bg-default-rgb), var(--tw-bg-opacity)) !important', }, '.bg-dialog' : { '--tw-bg-opacity': '1 !important', - backgroundColor : 'rgba(var(--fuse-bg-dialog-rgb), var(--tw-bg-opacity)) !important' + backgroundColor : 'rgba(var(--fuse-bg-dialog-rgb), var(--tw-bg-opacity)) !important', }, '.ring-bg-default': { '--tw-ring-opacity': '1 !important', - '--tw-ring-color' : 'rgba(var(--fuse-bg-default-rgb), var(--tw-ring-opacity)) !important' + '--tw-ring-color' : 'rgba(var(--fuse-bg-default-rgb), var(--tw-ring-opacity)) !important', }, '.ring-bg-card' : { '--tw-ring-opacity': '1 !important', - '--tw-ring-color' : 'rgba(var(--fuse-bg-card-rgb), var(--tw-ring-opacity)) !important' - } - } + '--tw-ring-color' : 'rgba(var(--fuse-bg-card-rgb), var(--tw-ring-opacity)) !important', + }, + }, ); addComponents( { '.bg-hover': { - backgroundColor: 'var(--fuse-bg-hover) !important' - } - } + backgroundColor: 'var(--fuse-bg-hover) !important', + }, + }, ); }); diff --git a/src/@fuse/tailwind/utils/generate-contrasts.js b/src/@fuse/tailwind/utils/generate-contrasts.js index fd98c3c8..2d7df415 100644 --- a/src/@fuse/tailwind/utils/generate-contrasts.js +++ b/src/@fuse/tailwind/utils/generate-contrasts.js @@ -23,7 +23,7 @@ const generateContrasts = (palette) => // Generate the contrasting colors return _.fromPairs(_.map(palette, ((color, hue) => [ hue, - chroma.contrast(color, darkColor) > chroma.contrast(color, lightColor) ? darkColor : lightColor + chroma.contrast(color, darkColor) > chroma.contrast(color, lightColor) ? darkColor : lightColor, ] ))); }; diff --git a/src/@fuse/tailwind/utils/generate-palette.js b/src/@fuse/tailwind/utils/generate-palette.js index e2a8c90c..8af41002 100644 --- a/src/@fuse/tailwind/utils/generate-palette.js +++ b/src/@fuse/tailwind/utils/generate-palette.js @@ -22,7 +22,7 @@ const generatePalette = (config) => 600: null, 700: null, 800: null, - 900: null + 900: null, }; // If a single color is provided, @@ -58,14 +58,14 @@ const generatePalette = (config) => colors.unshift( chroma.scale(['white', palette[500]]) .domain([0, 1]) - .mode("lrgb") - .colors(50)[1] + .mode('lrgb') + .colors(50)[1], ); colors.push( chroma.scale(['black', palette[500]]) .domain([0, 1]) - .mode("lrgb") - .colors(10)[1] + .mode('lrgb') + .colors(10)[1], ); // Prepare the domains array @@ -74,7 +74,7 @@ const generatePalette = (config) => ...Object.entries(palette) .filter(([key, value]) => value) .map(([key]) => parseInt(key) / 1000), - 1 + 1, ]; // Generate the color scale @@ -93,7 +93,7 @@ const generatePalette = (config) => 600: scale(0.6).hex(), 700: scale(0.7).hex(), 800: scale(0.8).hex(), - 900: scale(0.9).hex() + 900: scale(0.9).hex(), }; }; diff --git a/src/@fuse/tailwind/utils/json-to-sass-map.js b/src/@fuse/tailwind/utils/json-to-sass-map.js index f7f193f7..de88736a 100644 --- a/src/@fuse/tailwind/utils/json-to-sass-map.js +++ b/src/@fuse/tailwind/utils/json-to-sass-map.js @@ -13,13 +13,13 @@ module.exports = (data) => { let scss = ''; - if ( typeof chunk === "object" && !Array.isArray(chunk) ) + if ( typeof chunk === 'object' && !Array.isArray(chunk) ) { _.mapKeys(chunk, (value, key) => { scss += key + ': '; - if ( typeof value === "object" ) + if ( typeof value === 'object' ) { if ( Array.isArray(value) ) { diff --git a/src/@fuse/validators/validators.ts b/src/@fuse/validators/validators.ts index 5fb1f60f..4aa6050b 100644 --- a/src/@fuse/validators/validators.ts +++ b/src/@fuse/validators/validators.ts @@ -20,7 +20,8 @@ export class FuseValidators */ static mustMatch(controlPath: string, matchingControlPath: string): ValidatorFn { - return (formGroup: AbstractControl): ValidationErrors | null => { + return (formGroup: AbstractControl): ValidationErrors | null => + { // Get the control and matching control const control = formGroup.get(controlPath); diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 0103342d..23712759 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -1,9 +1,12 @@ import { Component } from '@angular/core'; +import { RouterOutlet } from '@angular/router'; @Component({ selector : 'app-root', templateUrl: './app.component.html', - styleUrls : ['./app.component.scss'] + styleUrls : ['./app.component.scss'], + standalone : true, + imports : [RouterOutlet], }) export class AppComponent { diff --git a/src/app/app.module.ts b/src/app/app.module.ts deleted file mode 100644 index 6f840144..00000000 --- a/src/app/app.module.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { NgModule } from '@angular/core'; -import { BrowserModule } from '@angular/platform-browser'; -import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; -import { ExtraOptions, PreloadAllModules, RouterModule } from '@angular/router'; -import { FuseModule } from '@fuse'; -import { FuseConfigModule } from '@fuse/services/config'; -import { FuseMockApiModule } from '@fuse/lib/mock-api'; -import { CoreModule } from 'app/core/core.module'; -import { appConfig } from 'app/core/config/app.config'; -import { mockApiServices } from 'app/mock-api'; -import { LayoutModule } from 'app/layout/layout.module'; -import { AppComponent } from 'app/app.component'; -import { appRoutes } from 'app/app.routing'; - -const routerConfig: ExtraOptions = { - preloadingStrategy : PreloadAllModules, - scrollPositionRestoration: 'enabled' -}; - -@NgModule({ - declarations: [ - AppComponent - ], - imports : [ - BrowserModule, - BrowserAnimationsModule, - RouterModule.forRoot(appRoutes, routerConfig), - - // Fuse, FuseConfig & FuseMockAPI - FuseModule, - FuseConfigModule.forRoot(appConfig), - FuseMockApiModule.forRoot(mockApiServices), - - // Core module of your application - CoreModule, - - // Layout module of your application - LayoutModule - ], - bootstrap : [ - AppComponent - ] -}) -export class AppModule -{ -} diff --git a/src/app/app.resolvers.ts b/src/app/app.resolvers.ts index 6da08ee2..af96dbee 100644 --- a/src/app/app.resolvers.ts +++ b/src/app/app.resolvers.ts @@ -1,14 +1,14 @@ import { Injectable } from '@angular/core'; import { ActivatedRouteSnapshot, Resolve, RouterStateSnapshot } from '@angular/router'; -import { forkJoin, Observable } from 'rxjs'; -import { MessagesService } from 'app/layout/common/messages/messages.service'; import { NavigationService } from 'app/core/navigation/navigation.service'; +import { MessagesService } from 'app/layout/common/messages/messages.service'; import { NotificationsService } from 'app/layout/common/notifications/notifications.service'; import { QuickChatService } from 'app/layout/common/quick-chat/quick-chat.service'; import { ShortcutsService } from 'app/layout/common/shortcuts/shortcuts.service'; +import { forkJoin, Observable } from 'rxjs'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class InitialDataResolver implements Resolve { @@ -20,7 +20,7 @@ export class InitialDataResolver implements Resolve private _navigationService: NavigationService, private _notificationsService: NotificationsService, private _quickChatService: QuickChatService, - private _shortcutsService: ShortcutsService + private _shortcutsService: ShortcutsService, ) { } @@ -43,7 +43,7 @@ export class InitialDataResolver implements Resolve this._messagesService.getAll(), this._notificationsService.getAll(), this._quickChatService.getChats(), - this._shortcutsService.getAll() + this._shortcutsService.getAll(), ]); } } diff --git a/src/app/app.routing.ts b/src/app/app.routing.ts index caef9e16..4c3f9b0e 100644 --- a/src/app/app.routing.ts +++ b/src/app/app.routing.ts @@ -1,8 +1,8 @@ import { Route } from '@angular/router'; +import { InitialDataResolver } from 'app/app.resolvers'; import { AuthGuard } from 'app/core/auth/guards/auth.guard'; import { NoAuthGuard } from 'app/core/auth/guards/noAuth.guard'; import { LayoutComponent } from 'app/layout/layout.component'; -import { InitialDataResolver } from 'app/app.resolvers'; // @formatter:off /* eslint-disable max-len */ diff --git a/src/app/core/auth/auth.interceptor.ts b/src/app/core/auth/auth.interceptor.ts index ae99e96a..f5781ab0 100644 --- a/src/app/core/auth/auth.interceptor.ts +++ b/src/app/core/auth/auth.interceptor.ts @@ -1,8 +1,8 @@ -import { Injectable } from '@angular/core'; import { HttpErrorResponse, HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http'; -import { catchError, Observable, throwError } from 'rxjs'; +import { Injectable } from '@angular/core'; import { AuthService } from 'app/core/auth/auth.service'; import { AuthUtils } from 'app/core/auth/auth.utils'; +import { catchError, Observable, throwError } from 'rxjs'; @Injectable() export class AuthInterceptor implements HttpInterceptor @@ -36,13 +36,14 @@ export class AuthInterceptor implements HttpInterceptor if ( this._authService.accessToken && !AuthUtils.isTokenExpired(this._authService.accessToken) ) { newReq = req.clone({ - headers: req.headers.set('Authorization', 'Bearer ' + this._authService.accessToken) + headers: req.headers.set('Authorization', 'Bearer ' + this._authService.accessToken), }); } // Response return next.handle(newReq).pipe( - catchError((error) => { + catchError((error) => + { // Catch "401 Unauthorized" responses if ( error instanceof HttpErrorResponse && error.status === 401 ) @@ -55,7 +56,7 @@ export class AuthInterceptor implements HttpInterceptor } return throwError(error); - }) + }), ); } } diff --git a/src/app/core/auth/auth.module.ts b/src/app/core/auth/auth.module.ts index 0ff1f2ad..287d31a6 100644 --- a/src/app/core/auth/auth.module.ts +++ b/src/app/core/auth/auth.module.ts @@ -1,20 +1,20 @@ -import { NgModule } from '@angular/core'; import { HTTP_INTERCEPTORS, HttpClientModule } from '@angular/common/http'; -import { AuthService } from 'app/core/auth/auth.service'; +import { NgModule } from '@angular/core'; import { AuthInterceptor } from 'app/core/auth/auth.interceptor'; +import { AuthService } from 'app/core/auth/auth.service'; @NgModule({ imports : [ - HttpClientModule + HttpClientModule, ], providers: [ AuthService, { provide : HTTP_INTERCEPTORS, useClass: AuthInterceptor, - multi : true - } - ] + multi : true, + }, + ], }) export class AuthModule { diff --git a/src/app/core/auth/auth.service.ts b/src/app/core/auth/auth.service.ts index f7194b50..c5e3db33 100644 --- a/src/app/core/auth/auth.service.ts +++ b/src/app/core/auth/auth.service.ts @@ -1,8 +1,8 @@ -import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; -import { catchError, Observable, of, switchMap, throwError } from 'rxjs'; +import { Injectable } from '@angular/core'; import { AuthUtils } from 'app/core/auth/auth.utils'; import { UserService } from 'app/core/user/user.service'; +import { catchError, Observable, of, switchMap, throwError } from 'rxjs'; @Injectable() export class AuthService @@ -14,7 +14,7 @@ export class AuthService */ constructor( private _httpClient: HttpClient, - private _userService: UserService + private _userService: UserService, ) { } @@ -74,7 +74,8 @@ export class AuthService } return this._httpClient.post('api/auth/sign-in', credentials).pipe( - switchMap((response: any) => { + switchMap((response: any) => + { // Store the access token in the local storage this.accessToken = response.accessToken; @@ -87,7 +88,7 @@ export class AuthService // Return a new observable with the response return of(response); - }) + }), ); } @@ -98,14 +99,15 @@ export class AuthService { // Sign in using the token return this._httpClient.post('api/auth/sign-in-with-token', { - accessToken: this.accessToken + accessToken: this.accessToken, }).pipe( catchError(() => // Return false - of(false) + of(false), ), - switchMap((response: any) => { + switchMap((response: any) => + { // Replace the access token with the new one if it's available on // the response object. @@ -127,7 +129,7 @@ export class AuthService // Return true return of(true); - }) + }), ); } diff --git a/src/app/core/auth/auth.utils.ts b/src/app/core/auth/auth.utils.ts index 5f20ea07..233fe799 100644 --- a/src/app/core/auth/auth.utils.ts +++ b/src/app/core/auth/auth.utils.ts @@ -67,7 +67,7 @@ export class AuthUtils if ( str.length % 4 === 1 ) { throw new Error( - '\'atob\' failed: The string to be decoded is not correctly encoded.' + '\'atob\' failed: The string to be decoded is not correctly encoded.', ); } @@ -107,8 +107,8 @@ export class AuthUtils { return decodeURIComponent( Array.prototype.map - .call(this._b64decode(str), (c: any) => '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2)) - .join('') + .call(this._b64decode(str), (c: any) => '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2)) + .join(''), ); } diff --git a/src/app/core/auth/guards/auth.guard.ts b/src/app/core/auth/guards/auth.guard.ts index 34e365af..9025b2c0 100644 --- a/src/app/core/auth/guards/auth.guard.ts +++ b/src/app/core/auth/guards/auth.guard.ts @@ -1,14 +1,16 @@ import { inject } from '@angular/core'; import { CanActivateChildFn, CanActivateFn, Router } from '@angular/router'; -import { of, switchMap } from 'rxjs'; import { AuthService } from 'app/core/auth/auth.service'; +import { of, switchMap } from 'rxjs'; -export const AuthGuard: CanActivateFn | CanActivateChildFn = (route, state) => { +export const AuthGuard: CanActivateFn | CanActivateChildFn = (route, state) => +{ const router: Router = inject(Router); // Check the authentication status return inject(AuthService).check().pipe( - switchMap((authenticated) => { + switchMap((authenticated) => + { // If the user is not authenticated... if ( !authenticated ) @@ -22,6 +24,6 @@ export const AuthGuard: CanActivateFn | CanActivateChildFn = (route, state) => { // Allow the access return of(true); - }) + }), ); }; diff --git a/src/app/core/auth/guards/noAuth.guard.ts b/src/app/core/auth/guards/noAuth.guard.ts index 282eb2ce..66ca2e73 100644 --- a/src/app/core/auth/guards/noAuth.guard.ts +++ b/src/app/core/auth/guards/noAuth.guard.ts @@ -1,14 +1,16 @@ import { inject } from '@angular/core'; import { CanActivateChildFn, CanActivateFn, Router } from '@angular/router'; -import { of, switchMap } from 'rxjs'; import { AuthService } from 'app/core/auth/auth.service'; +import { of, switchMap } from 'rxjs'; -export const NoAuthGuard: CanActivateFn | CanActivateChildFn = (route, state) => { +export const NoAuthGuard: CanActivateFn | CanActivateChildFn = (route, state) => +{ const router: Router = inject(Router); // Check the authentication status return inject(AuthService).check().pipe( - switchMap((authenticated) => { + switchMap((authenticated) => + { // If the user is authenticated... if ( authenticated ) @@ -18,6 +20,6 @@ export const NoAuthGuard: CanActivateFn | CanActivateChildFn = (route, state) => // Allow the access return of(true); - }) + }), ); }; diff --git a/src/app/core/config/app.config.ts b/src/app/core/config/app.config.ts index 0d46121c..05bd010c 100644 --- a/src/app/core/config/app.config.ts +++ b/src/app/core/config/app.config.ts @@ -39,33 +39,33 @@ export const appConfig: AppConfig = { sm: '600px', md: '960px', lg: '1280px', - xl: '1440px' + xl: '1440px', }, theme : 'theme-default', themes : [ { id : 'theme-default', - name: 'Default' + name: 'Default', }, { id : 'theme-brand', - name: 'Brand' + name: 'Brand', }, { id : 'theme-teal', - name: 'Teal' + name: 'Teal', }, { id : 'theme-rose', - name: 'Rose' + name: 'Rose', }, { id : 'theme-purple', - name: 'Purple' + name: 'Purple', }, { id : 'theme-amber', - name: 'Amber' - } - ] + name: 'Amber', + }, + ], }; diff --git a/src/app/core/core.module.ts b/src/app/core/core.module.ts index 83fcb1ad..d13f1393 100644 --- a/src/app/core/core.module.ts +++ b/src/app/core/core.module.ts @@ -7,8 +7,8 @@ import { TranslocoCoreModule } from 'app/core/transloco/transloco.module'; imports: [ AuthModule, IconsModule, - TranslocoCoreModule - ] + TranslocoCoreModule, + ], }) export class CoreModule { @@ -16,7 +16,7 @@ export class CoreModule * Constructor */ constructor( - @Optional() @SkipSelf() parentModule?: CoreModule + @Optional() @SkipSelf() parentModule?: CoreModule, ) { // Do not allow multiple injections diff --git a/src/app/core/icons/icons.module.ts b/src/app/core/icons/icons.module.ts index 789b02bd..69e4555f 100644 --- a/src/app/core/icons/icons.module.ts +++ b/src/app/core/icons/icons.module.ts @@ -1,6 +1,6 @@ import { NgModule } from '@angular/core'; -import { DomSanitizer } from '@angular/platform-browser'; import { MatIconRegistry } from '@angular/material/icon'; +import { DomSanitizer } from '@angular/platform-browser'; @NgModule() export class IconsModule @@ -10,7 +10,7 @@ export class IconsModule */ constructor( private _domSanitizer: DomSanitizer, - private _matIconRegistry: MatIconRegistry + private _matIconRegistry: MatIconRegistry, ) { // Register icon sets diff --git a/src/app/core/navigation/navigation.service.ts b/src/app/core/navigation/navigation.service.ts index 68627d61..4d46b456 100644 --- a/src/app/core/navigation/navigation.service.ts +++ b/src/app/core/navigation/navigation.service.ts @@ -1,10 +1,10 @@ -import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; -import { Observable, ReplaySubject, tap } from 'rxjs'; +import { Injectable } from '@angular/core'; import { Navigation } from 'app/core/navigation/navigation.types'; +import { Observable, ReplaySubject, tap } from 'rxjs'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class NavigationService { @@ -39,9 +39,10 @@ export class NavigationService get(): Observable { return this._httpClient.get('api/common/navigation').pipe( - tap((navigation) => { + tap((navigation) => + { this._navigation.next(navigation); - }) + }), ); } } diff --git a/src/app/core/transloco/transloco.http-loader.ts b/src/app/core/transloco/transloco.http-loader.ts index 166469db..90cc5d52 100644 --- a/src/app/core/transloco/transloco.http-loader.ts +++ b/src/app/core/transloco/transloco.http-loader.ts @@ -1,10 +1,10 @@ -import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; -import { Observable } from 'rxjs'; +import { Injectable } from '@angular/core'; import { Translation, TranslocoLoader } from '@ngneat/transloco'; +import { Observable } from 'rxjs'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class TranslocoHttpLoader implements TranslocoLoader { diff --git a/src/app/core/transloco/transloco.module.ts b/src/app/core/transloco/transloco.module.ts index 928683b1..0f0ee804 100644 --- a/src/app/core/transloco/transloco.module.ts +++ b/src/app/core/transloco/transloco.module.ts @@ -1,10 +1,10 @@ -import { Translation, TRANSLOCO_CONFIG, TRANSLOCO_LOADER, translocoConfig, TranslocoModule, TranslocoService } from '@ngneat/transloco'; import { APP_INITIALIZER, NgModule } from '@angular/core'; +import { Translation, TRANSLOCO_CONFIG, TRANSLOCO_LOADER, translocoConfig, TranslocoModule, TranslocoService } from '@ngneat/transloco'; import { TranslocoHttpLoader } from 'app/core/transloco/transloco.http-loader'; @NgModule({ exports : [ - TranslocoModule + TranslocoModule, ], providers: [ { @@ -14,36 +14,37 @@ import { TranslocoHttpLoader } from 'app/core/transloco/transloco.http-loader'; availableLangs : [ { id : 'en', - label: 'English' + label: 'English', }, { id : 'tr', - label: 'Turkish' - } + label: 'Turkish', + }, ], defaultLang : 'en', fallbackLang : 'en', reRenderOnLangChange: true, - prodMode : true - }) + prodMode : true, + }), }, { // Provide the default Transloco loader provide : TRANSLOCO_LOADER, - useClass: TranslocoHttpLoader + useClass: TranslocoHttpLoader, }, { // Preload the default language before the app starts to prevent empty/jumping content provide : APP_INITIALIZER, deps : [TranslocoService], - useFactory: (translocoService: TranslocoService): any => (): Promise => { + useFactory: (translocoService: TranslocoService): any => (): Promise => + { const defaultLang = translocoService.getDefaultLang(); translocoService.setActiveLang(defaultLang); return translocoService.load(defaultLang).toPromise(); }, - multi : true - } - ] + multi : true, + }, + ], }) export class TranslocoCoreModule { diff --git a/src/app/core/user/user.service.ts b/src/app/core/user/user.service.ts index 1f5c14c6..41382e91 100644 --- a/src/app/core/user/user.service.ts +++ b/src/app/core/user/user.service.ts @@ -1,10 +1,10 @@ -import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; -import { map, Observable, ReplaySubject, tap } from 'rxjs'; +import { Injectable } from '@angular/core'; import { User } from 'app/core/user/user.types'; +import { map, Observable, ReplaySubject, tap } from 'rxjs'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class UserService { @@ -47,9 +47,10 @@ export class UserService get(): Observable { return this._httpClient.get('api/common/user').pipe( - tap((user) => { + tap((user) => + { this._user.next(user); - }) + }), ); } @@ -61,9 +62,10 @@ export class UserService update(user: User): Observable { return this._httpClient.patch('api/common/user', {user}).pipe( - map((response) => { + map((response) => + { this._user.next(response); - }) + }), ); } } diff --git a/src/app/layout/common/languages/languages.component.ts b/src/app/layout/common/languages/languages.component.ts index 127f257e..184c9b28 100644 --- a/src/app/layout/common/languages/languages.component.ts +++ b/src/app/layout/common/languages/languages.component.ts @@ -1,14 +1,19 @@ +import { NgFor, NgTemplateOutlet } from '@angular/common'; import { ChangeDetectionStrategy, ChangeDetectorRef, Component, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core'; -import { take } from 'rxjs'; -import { AvailableLangs, TranslocoService } from '@ngneat/transloco'; +import { MatButtonModule } from '@angular/material/button'; +import { MatMenuModule } from '@angular/material/menu'; import { FuseNavigationService, FuseVerticalNavigationComponent } from '@fuse/components/navigation'; +import { AvailableLangs, TranslocoService } from '@ngneat/transloco'; +import { take } from 'rxjs'; @Component({ selector : 'languages', templateUrl : './languages.component.html', encapsulation : ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, - exportAs : 'languages' + exportAs : 'languages', + standalone : true, + imports : [MatButtonModule, MatMenuModule, NgTemplateOutlet, NgFor], }) export class LanguagesComponent implements OnInit, OnDestroy { @@ -22,7 +27,7 @@ export class LanguagesComponent implements OnInit, OnDestroy constructor( private _changeDetectorRef: ChangeDetectorRef, private _fuseNavigationService: FuseNavigationService, - private _translocoService: TranslocoService + private _translocoService: TranslocoService, ) { } @@ -40,7 +45,8 @@ export class LanguagesComponent implements OnInit, OnDestroy this.availableLangs = this._translocoService.getAvailableLangs(); // Subscribe to language changes - this._translocoService.langChanges$.subscribe((activeLang) => { + this._translocoService.langChanges$.subscribe((activeLang) => + { // Get the active lang this.activeLang = activeLang; @@ -52,7 +58,7 @@ export class LanguagesComponent implements OnInit, OnDestroy // Set the country iso codes for languages for flags this.flagCodes = { 'en': 'us', - 'tr': 'tr' + 'tr': 'tr', }; } @@ -125,7 +131,8 @@ export class LanguagesComponent implements OnInit, OnDestroy if ( projectDashboardItem ) { this._translocoService.selectTranslate('Project').pipe(take(1)) - .subscribe((translation) => { + .subscribe((translation) => + { // Set the title projectDashboardItem.title = translation; @@ -140,7 +147,8 @@ export class LanguagesComponent implements OnInit, OnDestroy if ( analyticsDashboardItem ) { this._translocoService.selectTranslate('Analytics').pipe(take(1)) - .subscribe((translation) => { + .subscribe((translation) => + { // Set the title analyticsDashboardItem.title = translation; diff --git a/src/app/layout/common/languages/languages.module.ts b/src/app/layout/common/languages/languages.module.ts deleted file mode 100644 index 4393a9a8..00000000 --- a/src/app/layout/common/languages/languages.module.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { NgModule } from '@angular/core'; -import { MatButtonModule } from '@angular/material/button'; -import { MatIconModule } from '@angular/material/icon'; -import { MatMenuModule } from '@angular/material/menu'; -import { LanguagesComponent } from 'app/layout/common/languages/languages.component'; -import { SharedModule } from 'app/shared/shared.module'; - -@NgModule({ - declarations: [ - LanguagesComponent - ], - imports : [ - MatButtonModule, - MatIconModule, - MatMenuModule, - SharedModule - ], - exports : [ - LanguagesComponent - ] -}) -export class LanguagesModule -{ -} diff --git a/src/app/layout/common/messages/messages.component.ts b/src/app/layout/common/messages/messages.component.ts index d68ceb4c..a9efdeb6 100644 --- a/src/app/layout/common/messages/messages.component.ts +++ b/src/app/layout/common/messages/messages.component.ts @@ -1,17 +1,23 @@ -import { ChangeDetectionStrategy, ChangeDetectorRef, Component, OnDestroy, OnInit, TemplateRef, ViewChild, ViewContainerRef, ViewEncapsulation } from '@angular/core'; import { Overlay, OverlayRef } from '@angular/cdk/overlay'; import { TemplatePortal } from '@angular/cdk/portal'; -import { MatButton } from '@angular/material/button'; -import { Subject, takeUntil } from 'rxjs'; -import { Message } from 'app/layout/common/messages/messages.types'; +import { DatePipe, NgClass, NgFor, NgIf, NgTemplateOutlet } from '@angular/common'; +import { ChangeDetectionStrategy, ChangeDetectorRef, Component, OnDestroy, OnInit, TemplateRef, ViewChild, ViewContainerRef, ViewEncapsulation } from '@angular/core'; +import { MatButton, MatButtonModule } from '@angular/material/button'; +import { MatIconModule } from '@angular/material/icon'; +import { MatTooltipModule } from '@angular/material/tooltip'; +import { RouterLink } from '@angular/router'; import { MessagesService } from 'app/layout/common/messages/messages.service'; +import { Message } from 'app/layout/common/messages/messages.types'; +import { Subject, takeUntil } from 'rxjs'; @Component({ selector : 'messages', templateUrl : './messages.component.html', encapsulation : ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, - exportAs : 'messages' + exportAs : 'messages', + standalone : true, + imports : [MatButtonModule, NgIf, MatIconModule, MatTooltipModule, NgFor, NgClass, NgTemplateOutlet, RouterLink, DatePipe], }) export class MessagesComponent implements OnInit, OnDestroy { @@ -30,7 +36,7 @@ export class MessagesComponent implements OnInit, OnDestroy private _changeDetectorRef: ChangeDetectorRef, private _messagesService: MessagesService, private _overlay: Overlay, - private _viewContainerRef: ViewContainerRef + private _viewContainerRef: ViewContainerRef, ) { } @@ -47,7 +53,8 @@ export class MessagesComponent implements OnInit, OnDestroy // Subscribe to message changes this._messagesService.messages$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((messages: Message[]) => { + .subscribe((messages: Message[]) => + { // Load the messages this.messages = messages; @@ -165,39 +172,40 @@ export class MessagesComponent implements OnInit, OnDestroy backdropClass : 'fuse-backdrop-on-mobile', scrollStrategy : this._overlay.scrollStrategies.block(), positionStrategy: this._overlay.position() - .flexibleConnectedTo(this._messagesOrigin._elementRef.nativeElement) - .withLockedPosition(true) - .withPush(true) - .withPositions([ - { - originX : 'start', - originY : 'bottom', - overlayX: 'start', - overlayY: 'top' - }, - { - originX : 'start', - originY : 'top', - overlayX: 'start', - overlayY: 'bottom' - }, - { - originX : 'end', - originY : 'bottom', - overlayX: 'end', - overlayY: 'top' - }, - { - originX : 'end', - originY : 'top', - overlayX: 'end', - overlayY: 'bottom' - } - ]) + .flexibleConnectedTo(this._messagesOrigin._elementRef.nativeElement) + .withLockedPosition(true) + .withPush(true) + .withPositions([ + { + originX : 'start', + originY : 'bottom', + overlayX: 'start', + overlayY: 'top', + }, + { + originX : 'start', + originY : 'top', + overlayX: 'start', + overlayY: 'bottom', + }, + { + originX : 'end', + originY : 'bottom', + overlayX: 'end', + overlayY: 'top', + }, + { + originX : 'end', + originY : 'top', + overlayX: 'end', + overlayY: 'bottom', + }, + ]), }); // Detach the overlay from the portal on backdrop click - this._overlayRef.backdropClick().subscribe(() => { + this._overlayRef.backdropClick().subscribe(() => + { this._overlayRef.detach(); }); } diff --git a/src/app/layout/common/messages/messages.module.ts b/src/app/layout/common/messages/messages.module.ts deleted file mode 100644 index 8e1c070a..00000000 --- a/src/app/layout/common/messages/messages.module.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { NgModule } from '@angular/core'; -import { RouterModule } from '@angular/router'; -import { OverlayModule } from '@angular/cdk/overlay'; -import { PortalModule } from '@angular/cdk/portal'; -import { MatButtonModule } from '@angular/material/button'; -import { MatIconModule } from '@angular/material/icon'; -import { MatTooltipModule } from '@angular/material/tooltip'; -import { MessagesComponent } from 'app/layout/common/messages/messages.component'; -import { SharedModule } from 'app/shared/shared.module'; - -@NgModule({ - declarations: [ - MessagesComponent - ], - imports : [ - RouterModule, - OverlayModule, - PortalModule, - MatButtonModule, - MatIconModule, - MatTooltipModule, - SharedModule - ], - exports : [ - MessagesComponent - ] -}) -export class MessagesModule -{ -} diff --git a/src/app/layout/common/messages/messages.service.ts b/src/app/layout/common/messages/messages.service.ts index d61b8852..83293895 100644 --- a/src/app/layout/common/messages/messages.service.ts +++ b/src/app/layout/common/messages/messages.service.ts @@ -1,10 +1,10 @@ -import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; -import { map, Observable, ReplaySubject, switchMap, take, tap } from 'rxjs'; +import { Injectable } from '@angular/core'; import { Message } from 'app/layout/common/messages/messages.types'; +import { map, Observable, ReplaySubject, switchMap, take, tap } from 'rxjs'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class MessagesService { @@ -39,9 +39,10 @@ export class MessagesService getAll(): Observable { return this._httpClient.get('api/common/messages').pipe( - tap((messages) => { + tap((messages) => + { this._messages.next(messages); - }) + }), ); } @@ -55,15 +56,16 @@ export class MessagesService return this.messages$.pipe( take(1), switchMap(messages => this._httpClient.post('api/common/messages', {message}).pipe( - map((newMessage) => { + map((newMessage) => + { // Update the messages with the new message this._messages.next([...messages, newMessage]); // Return the new message from observable return newMessage; - }) - )) + }), + )), ); } @@ -79,9 +81,10 @@ export class MessagesService take(1), switchMap(messages => this._httpClient.patch('api/common/messages', { id, - message + message, }).pipe( - map((updatedMessage: Message) => { + map((updatedMessage: Message) => + { // Find the index of the updated message const index = messages.findIndex(item => item.id === id); @@ -94,8 +97,8 @@ export class MessagesService // Return the updated message return updatedMessage; - }) - )) + }), + )), ); } @@ -109,7 +112,8 @@ export class MessagesService return this.messages$.pipe( take(1), switchMap(messages => this._httpClient.delete('api/common/messages', {params: {id}}).pipe( - map((isDeleted: boolean) => { + map((isDeleted: boolean) => + { // Find the index of the deleted message const index = messages.findIndex(item => item.id === id); @@ -122,8 +126,8 @@ export class MessagesService // Return the deleted status return isDeleted; - }) - )) + }), + )), ); } @@ -135,10 +139,12 @@ export class MessagesService return this.messages$.pipe( take(1), switchMap(messages => this._httpClient.get('api/common/messages/mark-all-as-read').pipe( - map((isUpdated: boolean) => { + map((isUpdated: boolean) => + { // Go through all messages and set them as read - messages.forEach((message, index) => { + messages.forEach((message, index) => + { messages[index].read = true; }); @@ -147,8 +153,8 @@ export class MessagesService // Return the updated status return isUpdated; - }) - )) + }), + )), ); } } diff --git a/src/app/layout/common/notifications/notifications.component.ts b/src/app/layout/common/notifications/notifications.component.ts index d0439457..6fb9da4e 100644 --- a/src/app/layout/common/notifications/notifications.component.ts +++ b/src/app/layout/common/notifications/notifications.component.ts @@ -1,17 +1,23 @@ -import { ChangeDetectionStrategy, ChangeDetectorRef, Component, OnDestroy, OnInit, TemplateRef, ViewChild, ViewContainerRef, ViewEncapsulation } from '@angular/core'; import { Overlay, OverlayRef } from '@angular/cdk/overlay'; import { TemplatePortal } from '@angular/cdk/portal'; -import { MatButton } from '@angular/material/button'; -import { Subject, takeUntil } from 'rxjs'; -import { Notification } from 'app/layout/common/notifications/notifications.types'; +import { DatePipe, NgClass, NgFor, NgIf, NgTemplateOutlet } from '@angular/common'; +import { ChangeDetectionStrategy, ChangeDetectorRef, Component, OnDestroy, OnInit, TemplateRef, ViewChild, ViewContainerRef, ViewEncapsulation } from '@angular/core'; +import { MatButton, MatButtonModule } from '@angular/material/button'; +import { MatIconModule } from '@angular/material/icon'; +import { MatTooltipModule } from '@angular/material/tooltip'; +import { RouterLink } from '@angular/router'; import { NotificationsService } from 'app/layout/common/notifications/notifications.service'; +import { Notification } from 'app/layout/common/notifications/notifications.types'; +import { Subject, takeUntil } from 'rxjs'; @Component({ selector : 'notifications', templateUrl : './notifications.component.html', encapsulation : ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, - exportAs : 'notifications' + exportAs : 'notifications', + standalone : true, + imports : [MatButtonModule, NgIf, MatIconModule, MatTooltipModule, NgFor, NgClass, NgTemplateOutlet, RouterLink, DatePipe], }) export class NotificationsComponent implements OnInit, OnDestroy { @@ -30,7 +36,7 @@ export class NotificationsComponent implements OnInit, OnDestroy private _changeDetectorRef: ChangeDetectorRef, private _notificationsService: NotificationsService, private _overlay: Overlay, - private _viewContainerRef: ViewContainerRef + private _viewContainerRef: ViewContainerRef, ) { } @@ -47,7 +53,8 @@ export class NotificationsComponent implements OnInit, OnDestroy // Subscribe to notification changes this._notificationsService.notifications$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((notifications: Notification[]) => { + .subscribe((notifications: Notification[]) => + { // Load the notifications this.notifications = notifications; @@ -165,39 +172,40 @@ export class NotificationsComponent implements OnInit, OnDestroy backdropClass : 'fuse-backdrop-on-mobile', scrollStrategy : this._overlay.scrollStrategies.block(), positionStrategy: this._overlay.position() - .flexibleConnectedTo(this._notificationsOrigin._elementRef.nativeElement) - .withLockedPosition(true) - .withPush(true) - .withPositions([ - { - originX : 'start', - originY : 'bottom', - overlayX: 'start', - overlayY: 'top' - }, - { - originX : 'start', - originY : 'top', - overlayX: 'start', - overlayY: 'bottom' - }, - { - originX : 'end', - originY : 'bottom', - overlayX: 'end', - overlayY: 'top' - }, - { - originX : 'end', - originY : 'top', - overlayX: 'end', - overlayY: 'bottom' - } - ]) + .flexibleConnectedTo(this._notificationsOrigin._elementRef.nativeElement) + .withLockedPosition(true) + .withPush(true) + .withPositions([ + { + originX : 'start', + originY : 'bottom', + overlayX: 'start', + overlayY: 'top', + }, + { + originX : 'start', + originY : 'top', + overlayX: 'start', + overlayY: 'bottom', + }, + { + originX : 'end', + originY : 'bottom', + overlayX: 'end', + overlayY: 'top', + }, + { + originX : 'end', + originY : 'top', + overlayX: 'end', + overlayY: 'bottom', + }, + ]), }); // Detach the overlay from the portal on backdrop click - this._overlayRef.backdropClick().subscribe(() => { + this._overlayRef.backdropClick().subscribe(() => + { this._overlayRef.detach(); }); } diff --git a/src/app/layout/common/notifications/notifications.module.ts b/src/app/layout/common/notifications/notifications.module.ts deleted file mode 100644 index 468b7c19..00000000 --- a/src/app/layout/common/notifications/notifications.module.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { NgModule } from '@angular/core'; -import { RouterModule } from '@angular/router'; -import { OverlayModule } from '@angular/cdk/overlay'; -import { PortalModule } from '@angular/cdk/portal'; -import { MatButtonModule } from '@angular/material/button'; -import { MatIconModule } from '@angular/material/icon'; -import { MatTooltipModule } from '@angular/material/tooltip'; -import { NotificationsComponent } from 'app/layout/common/notifications/notifications.component'; -import { SharedModule } from 'app/shared/shared.module'; - -@NgModule({ - declarations: [ - NotificationsComponent - ], - imports : [ - RouterModule, - OverlayModule, - PortalModule, - MatButtonModule, - MatIconModule, - MatTooltipModule, - SharedModule - ], - exports : [ - NotificationsComponent - ] -}) -export class NotificationsModule -{ -} diff --git a/src/app/layout/common/notifications/notifications.service.ts b/src/app/layout/common/notifications/notifications.service.ts index bea1ecdc..391bb8ab 100644 --- a/src/app/layout/common/notifications/notifications.service.ts +++ b/src/app/layout/common/notifications/notifications.service.ts @@ -1,10 +1,10 @@ -import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; -import { map, Observable, ReplaySubject, switchMap, take, tap } from 'rxjs'; +import { Injectable } from '@angular/core'; import { Notification } from 'app/layout/common/notifications/notifications.types'; +import { map, Observable, ReplaySubject, switchMap, take, tap } from 'rxjs'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class NotificationsService { @@ -39,9 +39,10 @@ export class NotificationsService getAll(): Observable { return this._httpClient.get('api/common/notifications').pipe( - tap((notifications) => { + tap((notifications) => + { this._notifications.next(notifications); - }) + }), ); } @@ -55,15 +56,16 @@ export class NotificationsService return this.notifications$.pipe( take(1), switchMap(notifications => this._httpClient.post('api/common/notifications', {notification}).pipe( - map((newNotification) => { + map((newNotification) => + { // Update the notifications with the new notification this._notifications.next([...notifications, newNotification]); // Return the new notification from observable return newNotification; - }) - )) + }), + )), ); } @@ -79,9 +81,10 @@ export class NotificationsService take(1), switchMap(notifications => this._httpClient.patch('api/common/notifications', { id, - notification + notification, }).pipe( - map((updatedNotification: Notification) => { + map((updatedNotification: Notification) => + { // Find the index of the updated notification const index = notifications.findIndex(item => item.id === id); @@ -94,8 +97,8 @@ export class NotificationsService // Return the updated notification return updatedNotification; - }) - )) + }), + )), ); } @@ -109,7 +112,8 @@ export class NotificationsService return this.notifications$.pipe( take(1), switchMap(notifications => this._httpClient.delete('api/common/notifications', {params: {id}}).pipe( - map((isDeleted: boolean) => { + map((isDeleted: boolean) => + { // Find the index of the deleted notification const index = notifications.findIndex(item => item.id === id); @@ -122,8 +126,8 @@ export class NotificationsService // Return the deleted status return isDeleted; - }) - )) + }), + )), ); } @@ -135,10 +139,12 @@ export class NotificationsService return this.notifications$.pipe( take(1), switchMap(notifications => this._httpClient.get('api/common/notifications/mark-all-as-read').pipe( - map((isUpdated: boolean) => { + map((isUpdated: boolean) => + { // Go through all notifications and set them as read - notifications.forEach((notification, index) => { + notifications.forEach((notification, index) => + { notifications[index].read = true; }); @@ -147,8 +153,8 @@ export class NotificationsService // Return the updated status return isUpdated; - }) - )) + }), + )), ); } } diff --git a/src/app/layout/common/quick-chat/quick-chat.component.ts b/src/app/layout/common/quick-chat/quick-chat.component.ts index b8babd7c..58cb74c0 100644 --- a/src/app/layout/common/quick-chat/quick-chat.component.ts +++ b/src/app/layout/common/quick-chat/quick-chat.component.ts @@ -1,16 +1,24 @@ -import { AfterViewInit, Component, ElementRef, HostBinding, HostListener, Inject, NgZone, OnDestroy, OnInit, Renderer2, ViewChild, ViewEncapsulation } from '@angular/core'; -import { DOCUMENT } from '@angular/common'; import { ScrollStrategy, ScrollStrategyOptions } from '@angular/cdk/overlay'; -import { Subject, takeUntil } from 'rxjs'; +import { TextFieldModule } from '@angular/cdk/text-field'; +import { DatePipe, DOCUMENT, NgClass, NgFor, NgIf, NgTemplateOutlet } from '@angular/common'; +import { AfterViewInit, Component, ElementRef, HostBinding, HostListener, Inject, NgZone, OnDestroy, OnInit, Renderer2, ViewChild, ViewEncapsulation } from '@angular/core'; +import { MatButtonModule } from '@angular/material/button'; +import { MatFormFieldModule } from '@angular/material/form-field'; +import { MatIconModule } from '@angular/material/icon'; +import { MatInputModule } from '@angular/material/input'; +import { FuseScrollbarDirective } from '@fuse/directives/scrollbar'; import { QuickChatService } from 'app/layout/common/quick-chat/quick-chat.service'; import { Chat } from 'app/layout/common/quick-chat/quick-chat.types'; +import { Subject, takeUntil } from 'rxjs'; @Component({ selector : 'quick-chat', templateUrl : './quick-chat.component.html', styleUrls : ['./quick-chat.component.scss'], encapsulation: ViewEncapsulation.None, - exportAs : 'quickChat' + exportAs : 'quickChat', + standalone : true, + imports : [NgClass, NgIf, MatIconModule, MatButtonModule, FuseScrollbarDirective, NgFor, NgTemplateOutlet, MatFormFieldModule, MatInputModule, TextFieldModule, DatePipe], }) export class QuickChatComponent implements OnInit, AfterViewInit, OnDestroy { @@ -33,7 +41,7 @@ export class QuickChatComponent implements OnInit, AfterViewInit, OnDestroy private _renderer2: Renderer2, private _ngZone: NgZone, private _quickChatService: QuickChatService, - private _scrollStrategyOptions: ScrollStrategyOptions + private _scrollStrategyOptions: ScrollStrategyOptions, ) { } @@ -48,7 +56,7 @@ export class QuickChatComponent implements OnInit, AfterViewInit, OnDestroy @HostBinding('class') get classList(): any { return { - 'quick-chat-opened': this.opened + 'quick-chat-opened': this.opened, }; } @@ -62,9 +70,11 @@ export class QuickChatComponent implements OnInit, AfterViewInit, OnDestroy private _resizeMessageInput(): void { // This doesn't need to trigger Angular's change detection by itself - this._ngZone.runOutsideAngular(() => { + this._ngZone.runOutsideAngular(() => + { - setTimeout(() => { + setTimeout(() => + { // Set the height to 'auto' so we can correctly read the scrollHeight this.messageInput.nativeElement.style.height = 'auto'; @@ -87,21 +97,24 @@ export class QuickChatComponent implements OnInit, AfterViewInit, OnDestroy // Chat this._quickChatService.chat$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((chat: Chat) => { + .subscribe((chat: Chat) => + { this.chat = chat; }); // Chats this._quickChatService.chats$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((chats: Chat[]) => { + .subscribe((chats: Chat[]) => + { this.chats = chats; }); // Selected chat this._quickChatService.chat$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((chat: Chat) => { + .subscribe((chat: Chat) => + { this.selectedChat = chat; }); } @@ -117,8 +130,10 @@ export class QuickChatComponent implements OnInit, AfterViewInit, OnDestroy // adding the '.cdk-global-scrollblock' to the html element breaks the navigation's position. // This fixes the problem by reading the 'top' value from the html element and adding it as a // 'marginTop' to the navigation itself. - this._mutationObserver = new MutationObserver((mutations) => { - mutations.forEach((mutation) => { + this._mutationObserver = new MutationObserver((mutations) => + { + mutations.forEach((mutation) => + { const mutationTarget = mutation.target as HTMLElement; if ( mutation.attributeName === 'class' ) { @@ -136,7 +151,7 @@ export class QuickChatComponent implements OnInit, AfterViewInit, OnDestroy }); this._mutationObserver.observe(this._document.documentElement, { attributes : true, - attributeFilter: ['class'] + attributeFilter: ['class'], }); } @@ -260,7 +275,8 @@ export class QuickChatComponent implements OnInit, AfterViewInit, OnDestroy this._scrollStrategy.enable(); // Add an event listener to the overlay - this._overlay.addEventListener('click', () => { + this._overlay.addEventListener('click', () => + { this.close(); }); } diff --git a/src/app/layout/common/quick-chat/quick-chat.module.ts b/src/app/layout/common/quick-chat/quick-chat.module.ts deleted file mode 100644 index dca7895e..00000000 --- a/src/app/layout/common/quick-chat/quick-chat.module.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { NgModule } from '@angular/core'; -import { RouterModule } from '@angular/router'; -import { MatButtonModule } from '@angular/material/button'; -import { MatFormFieldModule } from '@angular/material/form-field'; -import { MatIconModule } from '@angular/material/icon'; -import { MatInputModule } from '@angular/material/input'; -import { FuseDrawerModule } from '@fuse/components/drawer'; -import { FuseScrollbarModule } from '@fuse/directives/scrollbar'; -import { SharedModule } from 'app/shared/shared.module'; -import { QuickChatComponent } from 'app/layout/common/quick-chat/quick-chat.component'; - -@NgModule({ - declarations: [ - QuickChatComponent - ], - imports : [ - RouterModule, - MatButtonModule, - MatFormFieldModule, - MatIconModule, - MatInputModule, - FuseDrawerModule, - FuseScrollbarModule, - SharedModule - ], - exports : [ - QuickChatComponent - ] -}) -export class QuickChatModule -{ -} diff --git a/src/app/layout/common/quick-chat/quick-chat.service.ts b/src/app/layout/common/quick-chat/quick-chat.service.ts index 60e1bfef..f1a597f4 100644 --- a/src/app/layout/common/quick-chat/quick-chat.service.ts +++ b/src/app/layout/common/quick-chat/quick-chat.service.ts @@ -1,10 +1,10 @@ -import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; -import { BehaviorSubject, map, Observable, of, switchMap, tap, throwError } from 'rxjs'; +import { Injectable } from '@angular/core'; import { Chat } from 'app/layout/common/quick-chat/quick-chat.types'; +import { BehaviorSubject, map, Observable, of, switchMap, tap, throwError } from 'rxjs'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class QuickChatService { @@ -48,9 +48,10 @@ export class QuickChatService getChats(): Observable { return this._httpClient.get('api/apps/chat/chats').pipe( - tap((response: Chat[]) => { + tap((response: Chat[]) => + { this._chats.next(response); - }) + }), ); } @@ -62,7 +63,8 @@ export class QuickChatService getChatById(id: string): Observable { return this._httpClient.get('api/apps/chat/chat', {params: {id}}).pipe( - map((chat) => { + map((chat) => + { // Update the chat this._chat.next(chat); @@ -70,7 +72,8 @@ export class QuickChatService // Return the chat return chat; }), - switchMap((chat) => { + switchMap((chat) => + { if ( !chat ) { @@ -78,7 +81,7 @@ export class QuickChatService } return of(chat); - }) + }), ); } } diff --git a/src/app/layout/common/search/search.component.ts b/src/app/layout/common/search/search.component.ts index 2edd1077..b935d722 100644 --- a/src/app/layout/common/search/search.component.ts +++ b/src/app/layout/common/search/search.component.ts @@ -1,16 +1,25 @@ -import { Component, ElementRef, EventEmitter, HostBinding, Input, OnChanges, OnDestroy, OnInit, Output, Renderer2, SimpleChanges, ViewChild, ViewEncapsulation } from '@angular/core'; -import { UntypedFormControl } from '@angular/forms'; +import { NgClass, NgFor, NgIf, NgTemplateOutlet } from '@angular/common'; import { HttpClient } from '@angular/common/http'; -import { MatAutocomplete } from '@angular/material/autocomplete'; -import { debounceTime, filter, map, Subject, takeUntil } from 'rxjs'; +import { Component, ElementRef, EventEmitter, HostBinding, Input, OnChanges, OnDestroy, OnInit, Output, Renderer2, SimpleChanges, ViewChild, ViewEncapsulation } from '@angular/core'; +import { FormsModule, ReactiveFormsModule, UntypedFormControl } from '@angular/forms'; +import { MatAutocomplete, MatAutocompleteModule } from '@angular/material/autocomplete'; +import { MatButtonModule } from '@angular/material/button'; +import { MatOptionModule } from '@angular/material/core'; +import { MatFormFieldModule } from '@angular/material/form-field'; +import { MatIconModule } from '@angular/material/icon'; +import { MatInputModule } from '@angular/material/input'; +import { RouterLink } from '@angular/router'; import { fuseAnimations } from '@fuse/animations/public-api'; +import { debounceTime, filter, map, Subject, takeUntil } from 'rxjs'; @Component({ selector : 'search', templateUrl : './search.component.html', encapsulation: ViewEncapsulation.None, exportAs : 'fuseSearch', - animations : fuseAnimations + animations : fuseAnimations, + standalone : true, + imports : [NgIf, MatButtonModule, MatIconModule, FormsModule, MatAutocompleteModule, ReactiveFormsModule, MatOptionModule, NgFor, RouterLink, NgTemplateOutlet, MatFormFieldModule, MatInputModule, NgClass], }) export class SearchComponent implements OnChanges, OnInit, OnDestroy { @@ -31,7 +40,7 @@ export class SearchComponent implements OnChanges, OnInit, OnDestroy constructor( private _elementRef: ElementRef, private _httpClient: HttpClient, - private _renderer2: Renderer2 + private _renderer2: Renderer2, ) { } @@ -48,7 +57,7 @@ export class SearchComponent implements OnChanges, OnInit, OnDestroy return { 'search-appearance-bar' : this.appearance === 'bar', 'search-appearance-basic': this.appearance === 'basic', - 'search-opened' : this.opened + 'search-opened' : this.opened, }; } @@ -65,7 +74,8 @@ export class SearchComponent implements OnChanges, OnInit, OnDestroy if ( value ) { // Give Angular time to complete the change detection cycle - setTimeout(() => { + setTimeout(() => + { // Focus to the input element value.nativeElement.focus(); @@ -114,7 +124,8 @@ export class SearchComponent implements OnChanges, OnInit, OnDestroy .pipe( debounceTime(this.debounce), takeUntil(this._unsubscribeAll), - map((value) => { + map((value) => + { // Set the resultSets to null if there is no value or // the length of the value is smaller than the minLength @@ -129,11 +140,13 @@ export class SearchComponent implements OnChanges, OnInit, OnDestroy }), // Filter out undefined/null/false statements and also // filter out the values that are smaller than minLength - filter(value => value && value.length >= this.minLength) + filter(value => value && value.length >= this.minLength), ) - .subscribe((value) => { + .subscribe((value) => + { this._httpClient.post('api/common/search', {query: value}) - .subscribe((resultSets: any) => { + .subscribe((resultSets: any) => + { // Store the result sets this.resultSets = resultSets; diff --git a/src/app/layout/common/search/search.module.ts b/src/app/layout/common/search/search.module.ts index a099faf1..122f940f 100644 --- a/src/app/layout/common/search/search.module.ts +++ b/src/app/layout/common/search/search.module.ts @@ -1,37 +1,34 @@ -import { NgModule } from '@angular/core'; -import { RouterModule } from '@angular/router'; import { BlockScrollStrategy, Overlay } from '@angular/cdk/overlay'; +import { NgModule } from '@angular/core'; import { MAT_AUTOCOMPLETE_SCROLL_STRATEGY, MatAutocompleteModule } from '@angular/material/autocomplete'; import { MatButtonModule } from '@angular/material/button'; import { MatFormFieldModule } from '@angular/material/form-field'; import { MatIconModule } from '@angular/material/icon'; import { MatInputModule } from '@angular/material/input'; -import { SharedModule } from 'app/shared/shared.module'; +import { RouterModule } from '@angular/router'; + import { SearchComponent } from 'app/layout/common/search/search.component'; @NgModule({ - declarations: [ - SearchComponent - ], - imports : [ + imports : [ RouterModule.forChild([]), MatAutocompleteModule, MatButtonModule, MatFormFieldModule, MatIconModule, MatInputModule, - SharedModule + SearchComponent, ], - exports : [ - SearchComponent + exports : [ + SearchComponent, ], - providers : [ + providers: [ { provide : MAT_AUTOCOMPLETE_SCROLL_STRATEGY, useFactory: (overlay: Overlay) => (): BlockScrollStrategy => overlay.scrollStrategies.block(), - deps : [Overlay] - } - ] + deps : [Overlay], + }, + ], }) export class SearchModule { diff --git a/src/app/layout/common/settings/settings.component.ts b/src/app/layout/common/settings/settings.component.ts index 52ff44a0..47d8778c 100644 --- a/src/app/layout/common/settings/settings.component.ts +++ b/src/app/layout/common/settings/settings.component.ts @@ -1,9 +1,14 @@ +import { NgClass, NgFor } from '@angular/common'; import { Component, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core'; +import { MatButtonModule } from '@angular/material/button'; +import { MatIconModule } from '@angular/material/icon'; +import { MatTooltipModule } from '@angular/material/tooltip'; import { Router } from '@angular/router'; -import { Subject, takeUntil } from 'rxjs'; +import { FuseDrawerComponent } from '@fuse/components/drawer'; import { FuseConfigService } from '@fuse/services/config'; import { AppConfig, Scheme, Theme, Themes } from 'app/core/config/app.config'; import { Layout } from 'app/layout/layout.types'; +import { Subject, takeUntil } from 'rxjs'; @Component({ selector : 'settings', @@ -23,9 +28,11 @@ import { Layout } from 'app/layout/layout.types'; right: 0 !important; } } - ` + `, ], - encapsulation: ViewEncapsulation.None + encapsulation: ViewEncapsulation.None, + standalone : true, + imports : [MatIconModule, FuseDrawerComponent, MatButtonModule, NgFor, NgClass, MatTooltipModule], }) export class SettingsComponent implements OnInit, OnDestroy { @@ -41,7 +48,7 @@ export class SettingsComponent implements OnInit, OnDestroy */ constructor( private _router: Router, - private _fuseConfigService: FuseConfigService + private _fuseConfigService: FuseConfigService, ) { } @@ -58,7 +65,8 @@ export class SettingsComponent implements OnInit, OnDestroy // Subscribe to config changes this._fuseConfigService.config$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((config: AppConfig) => { + .subscribe((config: AppConfig) => + { // Store the config this.config = config; @@ -89,10 +97,11 @@ export class SettingsComponent implements OnInit, OnDestroy // Clear the 'layout' query param to allow layout changes this._router.navigate([], { queryParams : { - layout: null + layout: null, }, - queryParamsHandling: 'merge' - }).then(() => { + queryParamsHandling: 'merge', + }).then(() => + { // Set the config this._fuseConfigService.config = {layout}; diff --git a/src/app/layout/common/settings/settings.module.ts b/src/app/layout/common/settings/settings.module.ts deleted file mode 100644 index 1ee5d4bb..00000000 --- a/src/app/layout/common/settings/settings.module.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { NgModule } from '@angular/core'; -import { CommonModule } from '@angular/common'; -import { RouterModule } from '@angular/router'; -import { MatIconModule } from '@angular/material/icon'; -import { MatTooltipModule } from '@angular/material/tooltip'; -import { FuseDrawerModule } from '@fuse/components/drawer'; -import { SettingsComponent } from 'app/layout/common/settings/settings.component'; -import { MatButtonModule } from '@angular/material/button'; - -@NgModule({ - declarations: [ - SettingsComponent - ], - imports : [ - CommonModule, - RouterModule, - MatIconModule, - MatTooltipModule, - FuseDrawerModule, - MatButtonModule - ], - exports : [ - SettingsComponent - ] -}) -export class SettingsModule -{ -} diff --git a/src/app/layout/common/shortcuts/shortcuts.component.ts b/src/app/layout/common/shortcuts/shortcuts.component.ts index 8931d0a3..892a98d1 100644 --- a/src/app/layout/common/shortcuts/shortcuts.component.ts +++ b/src/app/layout/common/shortcuts/shortcuts.component.ts @@ -1,18 +1,27 @@ -import { ChangeDetectionStrategy, ChangeDetectorRef, Component, OnDestroy, OnInit, TemplateRef, ViewChild, ViewContainerRef, ViewEncapsulation } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; import { Overlay, OverlayRef } from '@angular/cdk/overlay'; import { TemplatePortal } from '@angular/cdk/portal'; -import { MatButton } from '@angular/material/button'; -import { Subject, takeUntil } from 'rxjs'; -import { Shortcut } from 'app/layout/common/shortcuts/shortcuts.types'; +import { NgClass, NgFor, NgIf, NgTemplateOutlet } from '@angular/common'; +import { ChangeDetectionStrategy, ChangeDetectorRef, Component, OnDestroy, OnInit, TemplateRef, ViewChild, ViewContainerRef, ViewEncapsulation } from '@angular/core'; +import { FormsModule, ReactiveFormsModule, UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; +import { MatButton, MatButtonModule } from '@angular/material/button'; +import { MatFormFieldModule } from '@angular/material/form-field'; +import { MatIconModule } from '@angular/material/icon'; +import { MatInputModule } from '@angular/material/input'; +import { MatSlideToggleModule } from '@angular/material/slide-toggle'; +import { MatTooltipModule } from '@angular/material/tooltip'; +import { RouterLink } from '@angular/router'; import { ShortcutsService } from 'app/layout/common/shortcuts/shortcuts.service'; +import { Shortcut } from 'app/layout/common/shortcuts/shortcuts.types'; +import { Subject, takeUntil } from 'rxjs'; @Component({ selector : 'shortcuts', templateUrl : './shortcuts.component.html', encapsulation : ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, - exportAs : 'shortcuts' + exportAs : 'shortcuts', + standalone : true, + imports : [MatButtonModule, MatIconModule, NgIf, MatTooltipModule, NgFor, NgClass, NgTemplateOutlet, RouterLink, FormsModule, ReactiveFormsModule, MatFormFieldModule, MatInputModule, MatSlideToggleModule], }) export class ShortcutsComponent implements OnInit, OnDestroy { @@ -33,7 +42,7 @@ export class ShortcutsComponent implements OnInit, OnDestroy private _formBuilder: UntypedFormBuilder, private _shortcutsService: ShortcutsService, private _overlay: Overlay, - private _viewContainerRef: ViewContainerRef + private _viewContainerRef: ViewContainerRef, ) { } @@ -54,13 +63,14 @@ export class ShortcutsComponent implements OnInit, OnDestroy description: [''], icon : ['', Validators.required], link : ['', Validators.required], - useRouter : ['', Validators.required] + useRouter : ['', Validators.required], }); // Get the shortcuts this._shortcutsService.shortcuts$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((shortcuts: Shortcut[]) => { + .subscribe((shortcuts: Shortcut[]) => + { // Load the shortcuts this.shortcuts = shortcuts; @@ -219,39 +229,40 @@ export class ShortcutsComponent implements OnInit, OnDestroy backdropClass : 'fuse-backdrop-on-mobile', scrollStrategy : this._overlay.scrollStrategies.block(), positionStrategy: this._overlay.position() - .flexibleConnectedTo(this._shortcutsOrigin._elementRef.nativeElement) - .withLockedPosition(true) - .withPush(true) - .withPositions([ - { - originX : 'start', - originY : 'bottom', - overlayX: 'start', - overlayY: 'top' - }, - { - originX : 'start', - originY : 'top', - overlayX: 'start', - overlayY: 'bottom' - }, - { - originX : 'end', - originY : 'bottom', - overlayX: 'end', - overlayY: 'top' - }, - { - originX : 'end', - originY : 'top', - overlayX: 'end', - overlayY: 'bottom' - } - ]) + .flexibleConnectedTo(this._shortcutsOrigin._elementRef.nativeElement) + .withLockedPosition(true) + .withPush(true) + .withPositions([ + { + originX : 'start', + originY : 'bottom', + overlayX: 'start', + overlayY: 'top', + }, + { + originX : 'start', + originY : 'top', + overlayX: 'start', + overlayY: 'bottom', + }, + { + originX : 'end', + originY : 'bottom', + overlayX: 'end', + overlayY: 'top', + }, + { + originX : 'end', + originY : 'top', + overlayX: 'end', + overlayY: 'bottom', + }, + ]), }); // Detach the overlay from the portal on backdrop click - this._overlayRef.backdropClick().subscribe(() => { + this._overlayRef.backdropClick().subscribe(() => + { this._overlayRef.detach(); }); } diff --git a/src/app/layout/common/shortcuts/shortcuts.module.ts b/src/app/layout/common/shortcuts/shortcuts.module.ts deleted file mode 100644 index f3f5ee9c..00000000 --- a/src/app/layout/common/shortcuts/shortcuts.module.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { NgModule } from '@angular/core'; -import { CommonModule } from '@angular/common'; -import { ReactiveFormsModule } from '@angular/forms'; -import { RouterModule } from '@angular/router'; -import { OverlayModule } from '@angular/cdk/overlay'; -import { PortalModule } from '@angular/cdk/portal'; -import { MatButtonModule } from '@angular/material/button'; -import { MatFormFieldModule } from '@angular/material/form-field'; -import { MatIconModule } from '@angular/material/icon'; -import { MatInputModule } from '@angular/material/input'; -import { MatSlideToggleModule } from '@angular/material/slide-toggle'; -import { MatTooltipModule } from '@angular/material/tooltip'; -import { ShortcutsComponent } from 'app/layout/common/shortcuts/shortcuts.component'; - -@NgModule({ - declarations: [ - ShortcutsComponent - ], - imports : [ - CommonModule, - ReactiveFormsModule, - RouterModule, - OverlayModule, - PortalModule, - MatButtonModule, - MatFormFieldModule, - MatIconModule, - MatInputModule, - MatSlideToggleModule, - MatTooltipModule - ], - exports : [ - ShortcutsComponent - ] -}) -export class ShortcutsModule -{ -} diff --git a/src/app/layout/common/shortcuts/shortcuts.service.ts b/src/app/layout/common/shortcuts/shortcuts.service.ts index 88d8575f..202b6988 100644 --- a/src/app/layout/common/shortcuts/shortcuts.service.ts +++ b/src/app/layout/common/shortcuts/shortcuts.service.ts @@ -1,10 +1,10 @@ -import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; -import { map, Observable, ReplaySubject, switchMap, take, tap } from 'rxjs'; +import { Injectable } from '@angular/core'; import { Shortcut } from 'app/layout/common/shortcuts/shortcuts.types'; +import { map, Observable, ReplaySubject, switchMap, take, tap } from 'rxjs'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class ShortcutsService { @@ -39,9 +39,10 @@ export class ShortcutsService getAll(): Observable { return this._httpClient.get('api/common/shortcuts').pipe( - tap((shortcuts) => { + tap((shortcuts) => + { this._shortcuts.next(shortcuts); - }) + }), ); } @@ -55,15 +56,16 @@ export class ShortcutsService return this.shortcuts$.pipe( take(1), switchMap(shortcuts => this._httpClient.post('api/common/shortcuts', {shortcut}).pipe( - map((newShortcut) => { + map((newShortcut) => + { // Update the shortcuts with the new shortcut this._shortcuts.next([...shortcuts, newShortcut]); // Return the new shortcut from observable return newShortcut; - }) - )) + }), + )), ); } @@ -79,9 +81,10 @@ export class ShortcutsService take(1), switchMap(shortcuts => this._httpClient.patch('api/common/shortcuts', { id, - shortcut + shortcut, }).pipe( - map((updatedShortcut: Shortcut) => { + map((updatedShortcut: Shortcut) => + { // Find the index of the updated shortcut const index = shortcuts.findIndex(item => item.id === id); @@ -94,8 +97,8 @@ export class ShortcutsService // Return the updated shortcut return updatedShortcut; - }) - )) + }), + )), ); } @@ -109,7 +112,8 @@ export class ShortcutsService return this.shortcuts$.pipe( take(1), switchMap(shortcuts => this._httpClient.delete('api/common/shortcuts', {params: {id}}).pipe( - map((isDeleted: boolean) => { + map((isDeleted: boolean) => + { // Find the index of the deleted shortcut const index = shortcuts.findIndex(item => item.id === id); @@ -122,8 +126,8 @@ export class ShortcutsService // Return the deleted status return isDeleted; - }) - )) + }), + )), ); } } diff --git a/src/app/layout/common/user/user.component.ts b/src/app/layout/common/user/user.component.ts index 865e037d..d544789e 100644 --- a/src/app/layout/common/user/user.component.ts +++ b/src/app/layout/common/user/user.component.ts @@ -1,16 +1,23 @@ -import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core'; -import { Router } from '@angular/router'; import { BooleanInput } from '@angular/cdk/coercion'; -import { Subject, takeUntil } from 'rxjs'; -import { User } from 'app/core/user/user.types'; +import { NgClass, NgIf } from '@angular/common'; +import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core'; +import { MatButtonModule } from '@angular/material/button'; +import { MatDividerModule } from '@angular/material/divider'; +import { MatIconModule } from '@angular/material/icon'; +import { MatMenuModule } from '@angular/material/menu'; +import { Router } from '@angular/router'; import { UserService } from 'app/core/user/user.service'; +import { User } from 'app/core/user/user.types'; +import { Subject, takeUntil } from 'rxjs'; @Component({ selector : 'user', templateUrl : './user.component.html', encapsulation : ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, - exportAs : 'user' + exportAs : 'user', + standalone : true, + imports : [MatButtonModule, MatMenuModule, NgIf, MatIconModule, NgClass, MatDividerModule], }) export class UserComponent implements OnInit, OnDestroy { @@ -29,7 +36,7 @@ export class UserComponent implements OnInit, OnDestroy constructor( private _changeDetectorRef: ChangeDetectorRef, private _router: Router, - private _userService: UserService + private _userService: UserService, ) { } @@ -46,7 +53,8 @@ export class UserComponent implements OnInit, OnDestroy // Subscribe to user changes this._userService.user$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((user: User) => { + .subscribe((user: User) => + { this.user = user; // Mark for check @@ -84,7 +92,7 @@ export class UserComponent implements OnInit, OnDestroy // Update the user this._userService.update({ ...this.user, - status + status, }).subscribe(); } diff --git a/src/app/layout/common/user/user.module.ts b/src/app/layout/common/user/user.module.ts deleted file mode 100644 index 5cd0d06b..00000000 --- a/src/app/layout/common/user/user.module.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { NgModule } from '@angular/core'; -import { MatButtonModule } from '@angular/material/button'; -import { MatDividerModule } from '@angular/material/divider'; -import { MatIconModule } from '@angular/material/icon'; -import { MatMenuModule } from '@angular/material/menu'; -import { UserComponent } from 'app/layout/common/user/user.component'; -import { SharedModule } from 'app/shared/shared.module'; - -@NgModule({ - declarations: [ - UserComponent - ], - imports : [ - MatButtonModule, - MatDividerModule, - MatIconModule, - MatMenuModule, - SharedModule - ], - exports : [ - UserComponent - ] -}) -export class UserModule -{ -} diff --git a/src/app/layout/layout.component.ts b/src/app/layout/layout.component.ts index ad9b62cd..84c3d69e 100644 --- a/src/app/layout/layout.component.ts +++ b/src/app/layout/layout.component.ts @@ -1,19 +1,33 @@ +import { DOCUMENT, NgIf } from '@angular/common'; import { Component, Inject, OnDestroy, OnInit, Renderer2, ViewEncapsulation } from '@angular/core'; -import { DOCUMENT } from '@angular/common'; import { ActivatedRoute, NavigationEnd, Router } from '@angular/router'; -import { combineLatest, filter, map, Subject, takeUntil } from 'rxjs'; import { FuseConfigService } from '@fuse/services/config'; import { FuseMediaWatcherService } from '@fuse/services/media-watcher'; import { FusePlatformService } from '@fuse/services/platform'; import { FUSE_VERSION } from '@fuse/version'; -import { Layout } from 'app/layout/layout.types'; import { AppConfig } from 'app/core/config/app.config'; +import { Layout } from 'app/layout/layout.types'; +import { combineLatest, filter, map, Subject, takeUntil } from 'rxjs'; +import { SettingsComponent } from './common/settings/settings.component'; +import { EmptyLayoutComponent } from './layouts/empty/empty.component'; +import { CenteredLayoutComponent } from './layouts/horizontal/centered/centered.component'; +import { EnterpriseLayoutComponent } from './layouts/horizontal/enterprise/enterprise.component'; +import { MaterialLayoutComponent } from './layouts/horizontal/material/material.component'; +import { ModernLayoutComponent } from './layouts/horizontal/modern/modern.component'; +import { ClassicLayoutComponent } from './layouts/vertical/classic/classic.component'; +import { ClassyLayoutComponent } from './layouts/vertical/classy/classy.component'; +import { CompactLayoutComponent } from './layouts/vertical/compact/compact.component'; +import { DenseLayoutComponent } from './layouts/vertical/dense/dense.component'; +import { FuturisticLayoutComponent } from './layouts/vertical/futuristic/futuristic.component'; +import { ThinLayoutComponent } from './layouts/vertical/thin/thin.component'; @Component({ selector : 'layout', templateUrl : './layout.component.html', styleUrls : ['./layout.component.scss'], - encapsulation: ViewEncapsulation.None + encapsulation: ViewEncapsulation.None, + standalone : true, + imports : [NgIf, EmptyLayoutComponent, CenteredLayoutComponent, EnterpriseLayoutComponent, MaterialLayoutComponent, ModernLayoutComponent, ClassicLayoutComponent, ClassyLayoutComponent, CompactLayoutComponent, DenseLayoutComponent, FuturisticLayoutComponent, ThinLayoutComponent, SettingsComponent], }) export class LayoutComponent implements OnInit, OnDestroy { @@ -33,7 +47,7 @@ export class LayoutComponent implements OnInit, OnDestroy private _router: Router, private _fuseConfigService: FuseConfigService, private _fuseMediaWatcherService: FuseMediaWatcherService, - private _fusePlatformService: FusePlatformService + private _fusePlatformService: FusePlatformService, ) { } @@ -50,14 +64,15 @@ export class LayoutComponent implements OnInit, OnDestroy // Set the theme and scheme based on the configuration combineLatest([ this._fuseConfigService.config$, - this._fuseMediaWatcherService.onMediaQueryChange$(['(prefers-color-scheme: dark)', '(prefers-color-scheme: light)']) + this._fuseMediaWatcherService.onMediaQueryChange$(['(prefers-color-scheme: dark)', '(prefers-color-scheme: light)']), ]).pipe( takeUntil(this._unsubscribeAll), - map(([config, mql]) => { + map(([config, mql]) => + { const options = { scheme: config.scheme, - theme : config.theme + theme : config.theme, }; // If the scheme is set to 'auto'... @@ -68,8 +83,9 @@ export class LayoutComponent implements OnInit, OnDestroy } return options; - }) - ).subscribe((options) => { + }), + ).subscribe((options) => + { // Store the options this.scheme = options.scheme; @@ -83,7 +99,8 @@ export class LayoutComponent implements OnInit, OnDestroy // Subscribe to config changes this._fuseConfigService.config$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((config: AppConfig) => { + .subscribe((config: AppConfig) => + { // Store the config this.config = config; @@ -95,8 +112,9 @@ export class LayoutComponent implements OnInit, OnDestroy // Subscribe to NavigationEnd event this._router.events.pipe( filter(event => event instanceof NavigationEnd), - takeUntil(this._unsubscribeAll) - ).subscribe(() => { + takeUntil(this._unsubscribeAll), + ).subscribe(() => + { // Update the layout this._updateLayout(); @@ -167,7 +185,8 @@ export class LayoutComponent implements OnInit, OnDestroy // Also, this will allow overriding the layout in any time so we // can have different layouts for different routes. const paths = route.pathFromRoot; - paths.forEach((path) => { + paths.forEach((path) => + { // Check if there is a 'layout' data if ( path.routeConfig && path.routeConfig.data && path.routeConfig.data.layout ) @@ -200,7 +219,8 @@ export class LayoutComponent implements OnInit, OnDestroy private _updateTheme(): void { // Find the class name for the previously selected theme and remove it - this._document.body.classList.forEach((className: string) => { + this._document.body.classList.forEach((className: string) => + { if ( className.startsWith('theme-') ) { this._document.body.classList.remove(className, className.split('-')[1]); diff --git a/src/app/layout/layout.module.ts b/src/app/layout/layout.module.ts index 88211cab..95729ef9 100644 --- a/src/app/layout/layout.module.ts +++ b/src/app/layout/layout.module.ts @@ -1,6 +1,6 @@ import { NgModule } from '@angular/core'; import { LayoutComponent } from 'app/layout/layout.component'; -import { EmptyLayoutModule } from 'app/layout/layouts/empty/empty.module'; + import { CenteredLayoutModule } from 'app/layout/layouts/horizontal/centered/centered.module'; import { EnterpriseLayoutModule } from 'app/layout/layouts/horizontal/enterprise/enterprise.module'; import { MaterialLayoutModule } from 'app/layout/layouts/horizontal/material/material.module'; @@ -11,41 +11,31 @@ import { CompactLayoutModule } from 'app/layout/layouts/vertical/compact/compact import { DenseLayoutModule } from 'app/layout/layouts/vertical/dense/dense.module'; import { FuturisticLayoutModule } from 'app/layout/layouts/vertical/futuristic/futuristic.module'; import { ThinLayoutModule } from 'app/layout/layouts/vertical/thin/thin.module'; -import { SettingsModule } from 'app/layout/common/settings/settings.module'; -import { SharedModule } from 'app/shared/shared.module'; const layoutModules = [ - // Empty - EmptyLayoutModule, - // Horizontal navigation CenteredLayoutModule, EnterpriseLayoutModule, MaterialLayoutModule, ModernLayoutModule, - // Vertical navigation ClassicLayoutModule, ClassyLayoutModule, CompactLayoutModule, DenseLayoutModule, FuturisticLayoutModule, - ThinLayoutModule + ThinLayoutModule, ]; @NgModule({ - declarations: [ - LayoutComponent - ], - imports : [ - SharedModule, - SettingsModule, - ...layoutModules - ], - exports : [ + imports: [ + ...layoutModules, LayoutComponent, - ...layoutModules - ] + ], + exports: [ + LayoutComponent, + ...layoutModules, + ], }) export class LayoutModule { diff --git a/src/app/layout/layouts/empty/empty.component.ts b/src/app/layout/layouts/empty/empty.component.ts index 328c62ac..035f822f 100644 --- a/src/app/layout/layouts/empty/empty.component.ts +++ b/src/app/layout/layouts/empty/empty.component.ts @@ -1,10 +1,15 @@ +import { NgIf } from '@angular/common'; import { Component, OnDestroy, ViewEncapsulation } from '@angular/core'; +import { RouterOutlet } from '@angular/router'; +import { FuseLoadingBarComponent } from '@fuse/components/loading-bar'; import { Subject } from 'rxjs'; @Component({ selector : 'empty-layout', templateUrl : './empty.component.html', - encapsulation: ViewEncapsulation.None + encapsulation: ViewEncapsulation.None, + standalone : true, + imports : [FuseLoadingBarComponent, NgIf, RouterOutlet], }) export class EmptyLayoutComponent implements OnDestroy { diff --git a/src/app/layout/layouts/empty/empty.module.ts b/src/app/layout/layouts/empty/empty.module.ts deleted file mode 100644 index 12153080..00000000 --- a/src/app/layout/layouts/empty/empty.module.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { NgModule } from '@angular/core'; -import { RouterModule } from '@angular/router'; -import { FuseLoadingBarModule } from '@fuse/components/loading-bar'; -import { SharedModule } from 'app/shared/shared.module'; -import { EmptyLayoutComponent } from 'app/layout/layouts/empty/empty.component'; - -@NgModule({ - declarations: [ - EmptyLayoutComponent - ], - imports : [ - RouterModule, - FuseLoadingBarModule, - SharedModule - ], - exports : [ - EmptyLayoutComponent - ] -}) -export class EmptyLayoutModule -{ -} diff --git a/src/app/layout/layouts/horizontal/centered/centered.component.ts b/src/app/layout/layouts/horizontal/centered/centered.component.ts index 628fa1f7..6ce4b145 100644 --- a/src/app/layout/layouts/horizontal/centered/centered.component.ts +++ b/src/app/layout/layouts/horizontal/centered/centered.component.ts @@ -1,15 +1,28 @@ +import { NgIf } from '@angular/common'; import { Component, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; -import { Subject, takeUntil } from 'rxjs'; +import { MatButtonModule } from '@angular/material/button'; +import { MatIconModule } from '@angular/material/icon'; +import { ActivatedRoute, Router, RouterOutlet } from '@angular/router'; +import { FuseFullscreenComponent } from '@fuse/components/fullscreen'; +import { FuseLoadingBarComponent } from '@fuse/components/loading-bar'; +import { FuseHorizontalNavigationComponent, FuseNavigationService, FuseVerticalNavigationComponent } from '@fuse/components/navigation'; import { FuseMediaWatcherService } from '@fuse/services/media-watcher'; -import { FuseNavigationService, FuseVerticalNavigationComponent } from '@fuse/components/navigation'; -import { Navigation } from 'app/core/navigation/navigation.types'; import { NavigationService } from 'app/core/navigation/navigation.service'; +import { Navigation } from 'app/core/navigation/navigation.types'; +import { LanguagesComponent } from 'app/layout/common/languages/languages.component'; +import { MessagesComponent } from 'app/layout/common/messages/messages.component'; +import { NotificationsComponent } from 'app/layout/common/notifications/notifications.component'; +import { SearchComponent } from 'app/layout/common/search/search.component'; +import { ShortcutsComponent } from 'app/layout/common/shortcuts/shortcuts.component'; +import { UserComponent } from 'app/layout/common/user/user.component'; +import { Subject, takeUntil } from 'rxjs'; @Component({ selector : 'centered-layout', templateUrl : './centered.component.html', - encapsulation: ViewEncapsulation.None + encapsulation: ViewEncapsulation.None, + standalone : true, + imports : [FuseLoadingBarComponent, NgIf, FuseVerticalNavigationComponent, FuseHorizontalNavigationComponent, MatButtonModule, MatIconModule, LanguagesComponent, FuseFullscreenComponent, SearchComponent, ShortcutsComponent, MessagesComponent, NotificationsComponent, UserComponent, RouterOutlet], }) export class CenteredLayoutComponent implements OnInit, OnDestroy { @@ -25,7 +38,7 @@ export class CenteredLayoutComponent implements OnInit, OnDestroy private _router: Router, private _navigationService: NavigationService, private _fuseMediaWatcherService: FuseMediaWatcherService, - private _fuseNavigationService: FuseNavigationService + private _fuseNavigationService: FuseNavigationService, ) { } @@ -54,14 +67,16 @@ export class CenteredLayoutComponent implements OnInit, OnDestroy // Subscribe to navigation data this._navigationService.navigation$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((navigation: Navigation) => { + .subscribe((navigation: Navigation) => + { this.navigation = navigation; }); // Subscribe to media changes this._fuseMediaWatcherService.onMediaChange$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe(({matchingAliases}) => { + .subscribe(({matchingAliases}) => + { // Check if the screen is small this.isScreenSmall = !matchingAliases.includes('md'); diff --git a/src/app/layout/layouts/horizontal/centered/centered.module.ts b/src/app/layout/layouts/horizontal/centered/centered.module.ts index cc4bc461..846ea8ed 100644 --- a/src/app/layout/layouts/horizontal/centered/centered.module.ts +++ b/src/app/layout/layouts/horizontal/centered/centered.module.ts @@ -1,47 +1,29 @@ -import { NgModule } from '@angular/core'; import { HttpClientModule } from '@angular/common/http'; -import { RouterModule } from '@angular/router'; +import { NgModule } from '@angular/core'; import { MatButtonModule } from '@angular/material/button'; import { MatDividerModule } from '@angular/material/divider'; import { MatIconModule } from '@angular/material/icon'; import { MatMenuModule } from '@angular/material/menu'; -import { FuseFullscreenModule } from '@fuse/components/fullscreen'; -import { FuseLoadingBarModule } from '@fuse/components/loading-bar'; -import { FuseNavigationModule } from '@fuse/components/navigation'; -import { LanguagesModule } from 'app/layout/common/languages/languages.module'; -import { MessagesModule } from 'app/layout/common/messages/messages.module'; -import { NotificationsModule } from 'app/layout/common/notifications/notifications.module'; +import { RouterModule } from '@angular/router'; + import { SearchModule } from 'app/layout/common/search/search.module'; -import { ShortcutsModule } from 'app/layout/common/shortcuts/shortcuts.module'; -import { UserModule } from 'app/layout/common/user/user.module'; -import { SharedModule } from 'app/shared/shared.module'; + import { CenteredLayoutComponent } from 'app/layout/layouts/horizontal/centered/centered.component'; @NgModule({ - declarations: [ - CenteredLayoutComponent - ], - imports : [ + imports: [ HttpClientModule, RouterModule, MatButtonModule, MatDividerModule, MatIconModule, MatMenuModule, - FuseFullscreenModule, - FuseLoadingBarModule, - FuseNavigationModule, - LanguagesModule, - MessagesModule, - NotificationsModule, SearchModule, - ShortcutsModule, - UserModule, - SharedModule + CenteredLayoutComponent, + ], + exports: [ + CenteredLayoutComponent, ], - exports : [ - CenteredLayoutComponent - ] }) export class CenteredLayoutModule { diff --git a/src/app/layout/layouts/horizontal/enterprise/enterprise.component.ts b/src/app/layout/layouts/horizontal/enterprise/enterprise.component.ts index 2942a801..65f7747c 100644 --- a/src/app/layout/layouts/horizontal/enterprise/enterprise.component.ts +++ b/src/app/layout/layouts/horizontal/enterprise/enterprise.component.ts @@ -1,15 +1,29 @@ +import { NgIf } from '@angular/common'; import { Component, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; -import { Subject, takeUntil } from 'rxjs'; +import { MatButtonModule } from '@angular/material/button'; +import { MatIconModule } from '@angular/material/icon'; +import { ActivatedRoute, Router, RouterOutlet } from '@angular/router'; +import { FuseFullscreenComponent } from '@fuse/components/fullscreen'; +import { FuseLoadingBarComponent } from '@fuse/components/loading-bar'; +import { FuseHorizontalNavigationComponent, FuseNavigationService, FuseVerticalNavigationComponent } from '@fuse/components/navigation'; import { FuseMediaWatcherService } from '@fuse/services/media-watcher'; -import { FuseNavigationService, FuseVerticalNavigationComponent } from '@fuse/components/navigation'; -import { Navigation } from 'app/core/navigation/navigation.types'; import { NavigationService } from 'app/core/navigation/navigation.service'; +import { Navigation } from 'app/core/navigation/navigation.types'; +import { LanguagesComponent } from 'app/layout/common/languages/languages.component'; +import { MessagesComponent } from 'app/layout/common/messages/messages.component'; +import { NotificationsComponent } from 'app/layout/common/notifications/notifications.component'; +import { QuickChatComponent } from 'app/layout/common/quick-chat/quick-chat.component'; +import { SearchComponent } from 'app/layout/common/search/search.component'; +import { ShortcutsComponent } from 'app/layout/common/shortcuts/shortcuts.component'; +import { UserComponent } from 'app/layout/common/user/user.component'; +import { Subject, takeUntil } from 'rxjs'; @Component({ selector : 'enterprise-layout', templateUrl : './enterprise.component.html', - encapsulation: ViewEncapsulation.None + encapsulation: ViewEncapsulation.None, + standalone : true, + imports : [FuseLoadingBarComponent, NgIf, FuseVerticalNavigationComponent, MatButtonModule, MatIconModule, LanguagesComponent, FuseFullscreenComponent, SearchComponent, ShortcutsComponent, MessagesComponent, NotificationsComponent, UserComponent, FuseHorizontalNavigationComponent, RouterOutlet, QuickChatComponent], }) export class EnterpriseLayoutComponent implements OnInit, OnDestroy { @@ -25,7 +39,7 @@ export class EnterpriseLayoutComponent implements OnInit, OnDestroy private _router: Router, private _navigationService: NavigationService, private _fuseMediaWatcherService: FuseMediaWatcherService, - private _fuseNavigationService: FuseNavigationService + private _fuseNavigationService: FuseNavigationService, ) { } @@ -54,14 +68,16 @@ export class EnterpriseLayoutComponent implements OnInit, OnDestroy // Subscribe to navigation data this._navigationService.navigation$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((navigation: Navigation) => { + .subscribe((navigation: Navigation) => + { this.navigation = navigation; }); // Subscribe to media changes this._fuseMediaWatcherService.onMediaChange$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe(({matchingAliases}) => { + .subscribe(({matchingAliases}) => + { // Check if the screen is small this.isScreenSmall = !matchingAliases.includes('md'); diff --git a/src/app/layout/layouts/horizontal/enterprise/enterprise.module.ts b/src/app/layout/layouts/horizontal/enterprise/enterprise.module.ts index 24215695..7f18562b 100644 --- a/src/app/layout/layouts/horizontal/enterprise/enterprise.module.ts +++ b/src/app/layout/layouts/horizontal/enterprise/enterprise.module.ts @@ -1,49 +1,29 @@ -import { NgModule } from '@angular/core'; import { HttpClientModule } from '@angular/common/http'; -import { RouterModule } from '@angular/router'; +import { NgModule } from '@angular/core'; import { MatButtonModule } from '@angular/material/button'; import { MatDividerModule } from '@angular/material/divider'; import { MatIconModule } from '@angular/material/icon'; import { MatMenuModule } from '@angular/material/menu'; -import { FuseFullscreenModule } from '@fuse/components/fullscreen'; -import { FuseLoadingBarModule } from '@fuse/components/loading-bar'; -import { FuseNavigationModule } from '@fuse/components/navigation'; -import { LanguagesModule } from 'app/layout/common/languages/languages.module'; -import { MessagesModule } from 'app/layout/common/messages/messages.module'; -import { NotificationsModule } from 'app/layout/common/notifications/notifications.module'; -import { QuickChatModule } from 'app/layout/common/quick-chat/quick-chat.module'; +import { RouterModule } from '@angular/router'; + import { SearchModule } from 'app/layout/common/search/search.module'; -import { ShortcutsModule } from 'app/layout/common/shortcuts/shortcuts.module'; -import { UserModule } from 'app/layout/common/user/user.module'; -import { SharedModule } from 'app/shared/shared.module'; + import { EnterpriseLayoutComponent } from 'app/layout/layouts/horizontal/enterprise/enterprise.component'; @NgModule({ - declarations: [ - EnterpriseLayoutComponent - ], - imports : [ + imports: [ HttpClientModule, RouterModule, MatButtonModule, MatDividerModule, MatIconModule, MatMenuModule, - FuseFullscreenModule, - FuseLoadingBarModule, - FuseNavigationModule, - LanguagesModule, - MessagesModule, - NotificationsModule, - QuickChatModule, SearchModule, - ShortcutsModule, - UserModule, - SharedModule + EnterpriseLayoutComponent, + ], + exports: [ + EnterpriseLayoutComponent, ], - exports : [ - EnterpriseLayoutComponent - ] }) export class EnterpriseLayoutModule { diff --git a/src/app/layout/layouts/horizontal/material/material.component.ts b/src/app/layout/layouts/horizontal/material/material.component.ts index c9481630..9f5a0dc4 100644 --- a/src/app/layout/layouts/horizontal/material/material.component.ts +++ b/src/app/layout/layouts/horizontal/material/material.component.ts @@ -1,15 +1,28 @@ +import { NgIf } from '@angular/common'; import { Component, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; -import { Subject, takeUntil } from 'rxjs'; +import { MatButtonModule } from '@angular/material/button'; +import { MatIconModule } from '@angular/material/icon'; +import { ActivatedRoute, Router, RouterOutlet } from '@angular/router'; +import { FuseFullscreenComponent } from '@fuse/components/fullscreen'; +import { FuseLoadingBarComponent } from '@fuse/components/loading-bar'; +import { FuseHorizontalNavigationComponent, FuseNavigationService, FuseVerticalNavigationComponent } from '@fuse/components/navigation'; import { FuseMediaWatcherService } from '@fuse/services/media-watcher'; -import { FuseNavigationService, FuseVerticalNavigationComponent } from '@fuse/components/navigation'; -import { Navigation } from 'app/core/navigation/navigation.types'; import { NavigationService } from 'app/core/navigation/navigation.service'; +import { Navigation } from 'app/core/navigation/navigation.types'; +import { LanguagesComponent } from 'app/layout/common/languages/languages.component'; +import { MessagesComponent } from 'app/layout/common/messages/messages.component'; +import { NotificationsComponent } from 'app/layout/common/notifications/notifications.component'; +import { SearchComponent } from 'app/layout/common/search/search.component'; +import { ShortcutsComponent } from 'app/layout/common/shortcuts/shortcuts.component'; +import { UserComponent } from 'app/layout/common/user/user.component'; +import { Subject, takeUntil } from 'rxjs'; @Component({ selector : 'material-layout', templateUrl : './material.component.html', - encapsulation: ViewEncapsulation.None + encapsulation: ViewEncapsulation.None, + standalone : true, + imports : [FuseLoadingBarComponent, NgIf, FuseVerticalNavigationComponent, MatButtonModule, MatIconModule, LanguagesComponent, FuseFullscreenComponent, SearchComponent, ShortcutsComponent, MessagesComponent, NotificationsComponent, UserComponent, FuseHorizontalNavigationComponent, RouterOutlet], }) export class MaterialLayoutComponent implements OnInit, OnDestroy { @@ -25,7 +38,7 @@ export class MaterialLayoutComponent implements OnInit, OnDestroy private _router: Router, private _navigationService: NavigationService, private _fuseMediaWatcherService: FuseMediaWatcherService, - private _fuseNavigationService: FuseNavigationService + private _fuseNavigationService: FuseNavigationService, ) { } @@ -54,14 +67,16 @@ export class MaterialLayoutComponent implements OnInit, OnDestroy // Subscribe to navigation data this._navigationService.navigation$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((navigation: Navigation) => { + .subscribe((navigation: Navigation) => + { this.navigation = navigation; }); // Subscribe to media changes this._fuseMediaWatcherService.onMediaChange$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe(({matchingAliases}) => { + .subscribe(({matchingAliases}) => + { // Check if the screen is small this.isScreenSmall = !matchingAliases.includes('md'); diff --git a/src/app/layout/layouts/horizontal/material/material.module.ts b/src/app/layout/layouts/horizontal/material/material.module.ts index e2147ac8..e253a06c 100644 --- a/src/app/layout/layouts/horizontal/material/material.module.ts +++ b/src/app/layout/layouts/horizontal/material/material.module.ts @@ -1,47 +1,29 @@ -import { NgModule } from '@angular/core'; import { HttpClientModule } from '@angular/common/http'; -import { RouterModule } from '@angular/router'; +import { NgModule } from '@angular/core'; import { MatButtonModule } from '@angular/material/button'; import { MatDividerModule } from '@angular/material/divider'; import { MatIconModule } from '@angular/material/icon'; import { MatMenuModule } from '@angular/material/menu'; -import { FuseFullscreenModule } from '@fuse/components/fullscreen'; -import { FuseLoadingBarModule } from '@fuse/components/loading-bar'; -import { FuseNavigationModule } from '@fuse/components/navigation'; -import { LanguagesModule } from 'app/layout/common/languages/languages.module'; -import { MessagesModule } from 'app/layout/common/messages/messages.module'; -import { NotificationsModule } from 'app/layout/common/notifications/notifications.module'; +import { RouterModule } from '@angular/router'; + import { SearchModule } from 'app/layout/common/search/search.module'; -import { ShortcutsModule } from 'app/layout/common/shortcuts/shortcuts.module'; -import { UserModule } from 'app/layout/common/user/user.module'; -import { SharedModule } from 'app/shared/shared.module'; + import { MaterialLayoutComponent } from 'app/layout/layouts/horizontal/material/material.component'; @NgModule({ - declarations: [ - MaterialLayoutComponent - ], - imports : [ + imports: [ HttpClientModule, RouterModule, MatButtonModule, MatDividerModule, MatIconModule, MatMenuModule, - FuseFullscreenModule, - FuseLoadingBarModule, - FuseNavigationModule, - LanguagesModule, - MessagesModule, - NotificationsModule, SearchModule, - ShortcutsModule, - UserModule, - SharedModule + MaterialLayoutComponent, + ], + exports: [ + MaterialLayoutComponent, ], - exports : [ - MaterialLayoutComponent - ] }) export class MaterialLayoutModule { diff --git a/src/app/layout/layouts/horizontal/modern/modern.component.ts b/src/app/layout/layouts/horizontal/modern/modern.component.ts index 1e7b8af7..13522d5e 100644 --- a/src/app/layout/layouts/horizontal/modern/modern.component.ts +++ b/src/app/layout/layouts/horizontal/modern/modern.component.ts @@ -1,15 +1,29 @@ +import { NgIf } from '@angular/common'; import { Component, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; -import { Subject, takeUntil } from 'rxjs'; +import { MatButtonModule } from '@angular/material/button'; +import { MatIconModule } from '@angular/material/icon'; +import { ActivatedRoute, Router, RouterOutlet } from '@angular/router'; +import { FuseFullscreenComponent } from '@fuse/components/fullscreen'; +import { FuseLoadingBarComponent } from '@fuse/components/loading-bar'; +import { FuseHorizontalNavigationComponent, FuseNavigationService, FuseVerticalNavigationComponent } from '@fuse/components/navigation'; import { FuseMediaWatcherService } from '@fuse/services/media-watcher'; -import { FuseNavigationService, FuseVerticalNavigationComponent } from '@fuse/components/navigation'; -import { Navigation } from 'app/core/navigation/navigation.types'; import { NavigationService } from 'app/core/navigation/navigation.service'; +import { Navigation } from 'app/core/navigation/navigation.types'; +import { LanguagesComponent } from 'app/layout/common/languages/languages.component'; +import { MessagesComponent } from 'app/layout/common/messages/messages.component'; +import { NotificationsComponent } from 'app/layout/common/notifications/notifications.component'; +import { QuickChatComponent } from 'app/layout/common/quick-chat/quick-chat.component'; +import { SearchComponent } from 'app/layout/common/search/search.component'; +import { ShortcutsComponent } from 'app/layout/common/shortcuts/shortcuts.component'; +import { UserComponent } from 'app/layout/common/user/user.component'; +import { Subject, takeUntil } from 'rxjs'; @Component({ selector : 'modern-layout', templateUrl : './modern.component.html', - encapsulation: ViewEncapsulation.None + encapsulation: ViewEncapsulation.None, + standalone : true, + imports : [FuseLoadingBarComponent, NgIf, FuseVerticalNavigationComponent, FuseHorizontalNavigationComponent, MatButtonModule, MatIconModule, LanguagesComponent, FuseFullscreenComponent, SearchComponent, ShortcutsComponent, MessagesComponent, NotificationsComponent, UserComponent, RouterOutlet, QuickChatComponent], }) export class ModernLayoutComponent implements OnInit, OnDestroy { @@ -25,7 +39,7 @@ export class ModernLayoutComponent implements OnInit, OnDestroy private _router: Router, private _navigationService: NavigationService, private _fuseMediaWatcherService: FuseMediaWatcherService, - private _fuseNavigationService: FuseNavigationService + private _fuseNavigationService: FuseNavigationService, ) { } @@ -54,14 +68,16 @@ export class ModernLayoutComponent implements OnInit, OnDestroy // Subscribe to navigation data this._navigationService.navigation$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((navigation: Navigation) => { + .subscribe((navigation: Navigation) => + { this.navigation = navigation; }); // Subscribe to media changes this._fuseMediaWatcherService.onMediaChange$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe(({matchingAliases}) => { + .subscribe(({matchingAliases}) => + { // Check if the screen is small this.isScreenSmall = !matchingAliases.includes('md'); diff --git a/src/app/layout/layouts/horizontal/modern/modern.module.ts b/src/app/layout/layouts/horizontal/modern/modern.module.ts index 3ec2f681..4f3fc826 100644 --- a/src/app/layout/layouts/horizontal/modern/modern.module.ts +++ b/src/app/layout/layouts/horizontal/modern/modern.module.ts @@ -1,49 +1,29 @@ -import { NgModule } from '@angular/core'; import { HttpClientModule } from '@angular/common/http'; -import { RouterModule } from '@angular/router'; +import { NgModule } from '@angular/core'; import { MatButtonModule } from '@angular/material/button'; import { MatDividerModule } from '@angular/material/divider'; import { MatIconModule } from '@angular/material/icon'; import { MatMenuModule } from '@angular/material/menu'; -import { FuseFullscreenModule } from '@fuse/components/fullscreen'; -import { FuseLoadingBarModule } from '@fuse/components/loading-bar'; -import { FuseNavigationModule } from '@fuse/components/navigation'; -import { LanguagesModule } from 'app/layout/common/languages/languages.module'; -import { MessagesModule } from 'app/layout/common/messages/messages.module'; -import { NotificationsModule } from 'app/layout/common/notifications/notifications.module'; -import { QuickChatModule } from 'app/layout/common/quick-chat/quick-chat.module'; +import { RouterModule } from '@angular/router'; + import { SearchModule } from 'app/layout/common/search/search.module'; -import { ShortcutsModule } from 'app/layout/common/shortcuts/shortcuts.module'; -import { UserModule } from 'app/layout/common/user/user.module'; -import { SharedModule } from 'app/shared/shared.module'; + import { ModernLayoutComponent } from 'app/layout/layouts/horizontal/modern/modern.component'; @NgModule({ - declarations: [ - ModernLayoutComponent - ], - imports : [ + imports: [ HttpClientModule, RouterModule, MatButtonModule, MatDividerModule, MatIconModule, MatMenuModule, - FuseFullscreenModule, - FuseLoadingBarModule, - FuseNavigationModule, - LanguagesModule, - MessagesModule, - NotificationsModule, - QuickChatModule, SearchModule, - ShortcutsModule, - UserModule, - SharedModule + ModernLayoutComponent, + ], + exports: [ + ModernLayoutComponent, ], - exports : [ - ModernLayoutComponent - ] }) export class ModernLayoutModule { diff --git a/src/app/layout/layouts/vertical/classic/classic.component.ts b/src/app/layout/layouts/vertical/classic/classic.component.ts index 7dca1dc2..1c9ac26a 100644 --- a/src/app/layout/layouts/vertical/classic/classic.component.ts +++ b/src/app/layout/layouts/vertical/classic/classic.component.ts @@ -1,15 +1,29 @@ +import { NgIf } from '@angular/common'; import { Component, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; -import { Subject, takeUntil } from 'rxjs'; -import { FuseMediaWatcherService } from '@fuse/services/media-watcher'; +import { MatButtonModule } from '@angular/material/button'; +import { MatIconModule } from '@angular/material/icon'; +import { ActivatedRoute, Router, RouterOutlet } from '@angular/router'; +import { FuseFullscreenComponent } from '@fuse/components/fullscreen'; +import { FuseLoadingBarComponent } from '@fuse/components/loading-bar'; import { FuseNavigationService, FuseVerticalNavigationComponent } from '@fuse/components/navigation'; -import { Navigation } from 'app/core/navigation/navigation.types'; +import { FuseMediaWatcherService } from '@fuse/services/media-watcher'; import { NavigationService } from 'app/core/navigation/navigation.service'; +import { Navigation } from 'app/core/navigation/navigation.types'; +import { LanguagesComponent } from 'app/layout/common/languages/languages.component'; +import { MessagesComponent } from 'app/layout/common/messages/messages.component'; +import { NotificationsComponent } from 'app/layout/common/notifications/notifications.component'; +import { QuickChatComponent } from 'app/layout/common/quick-chat/quick-chat.component'; +import { SearchComponent } from 'app/layout/common/search/search.component'; +import { ShortcutsComponent } from 'app/layout/common/shortcuts/shortcuts.component'; +import { UserComponent } from 'app/layout/common/user/user.component'; +import { Subject, takeUntil } from 'rxjs'; @Component({ selector : 'classic-layout', templateUrl : './classic.component.html', - encapsulation: ViewEncapsulation.None + encapsulation: ViewEncapsulation.None, + standalone : true, + imports : [FuseLoadingBarComponent, FuseVerticalNavigationComponent, MatButtonModule, MatIconModule, LanguagesComponent, FuseFullscreenComponent, SearchComponent, ShortcutsComponent, MessagesComponent, NotificationsComponent, UserComponent, NgIf, RouterOutlet, QuickChatComponent], }) export class ClassicLayoutComponent implements OnInit, OnDestroy { @@ -25,7 +39,7 @@ export class ClassicLayoutComponent implements OnInit, OnDestroy private _router: Router, private _navigationService: NavigationService, private _fuseMediaWatcherService: FuseMediaWatcherService, - private _fuseNavigationService: FuseNavigationService + private _fuseNavigationService: FuseNavigationService, ) { } @@ -54,14 +68,16 @@ export class ClassicLayoutComponent implements OnInit, OnDestroy // Subscribe to navigation data this._navigationService.navigation$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((navigation: Navigation) => { + .subscribe((navigation: Navigation) => + { this.navigation = navigation; }); // Subscribe to media changes this._fuseMediaWatcherService.onMediaChange$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe(({matchingAliases}) => { + .subscribe(({matchingAliases}) => + { // Check if the screen is small this.isScreenSmall = !matchingAliases.includes('md'); diff --git a/src/app/layout/layouts/vertical/classic/classic.module.ts b/src/app/layout/layouts/vertical/classic/classic.module.ts index 520bc5c4..86402a90 100644 --- a/src/app/layout/layouts/vertical/classic/classic.module.ts +++ b/src/app/layout/layouts/vertical/classic/classic.module.ts @@ -1,49 +1,29 @@ -import { NgModule } from '@angular/core'; import { HttpClientModule } from '@angular/common/http'; -import { RouterModule } from '@angular/router'; +import { NgModule } from '@angular/core'; import { MatButtonModule } from '@angular/material/button'; import { MatDividerModule } from '@angular/material/divider'; import { MatIconModule } from '@angular/material/icon'; import { MatMenuModule } from '@angular/material/menu'; -import { FuseFullscreenModule } from '@fuse/components/fullscreen'; -import { FuseLoadingBarModule } from '@fuse/components/loading-bar'; -import { FuseNavigationModule } from '@fuse/components/navigation'; -import { LanguagesModule } from 'app/layout/common/languages/languages.module'; -import { MessagesModule } from 'app/layout/common/messages/messages.module'; -import { NotificationsModule } from 'app/layout/common/notifications/notifications.module'; -import { QuickChatModule } from 'app/layout/common/quick-chat/quick-chat.module'; +import { RouterModule } from '@angular/router'; + import { SearchModule } from 'app/layout/common/search/search.module'; -import { ShortcutsModule } from 'app/layout/common/shortcuts/shortcuts.module'; -import { UserModule } from 'app/layout/common/user/user.module'; -import { SharedModule } from 'app/shared/shared.module'; + import { ClassicLayoutComponent } from 'app/layout/layouts/vertical/classic/classic.component'; @NgModule({ - declarations: [ - ClassicLayoutComponent - ], - imports : [ + imports: [ HttpClientModule, RouterModule, MatButtonModule, MatDividerModule, MatIconModule, MatMenuModule, - FuseFullscreenModule, - FuseLoadingBarModule, - FuseNavigationModule, - LanguagesModule, - MessagesModule, - NotificationsModule, - QuickChatModule, SearchModule, - ShortcutsModule, - UserModule, - SharedModule + ClassicLayoutComponent, + ], + exports: [ + ClassicLayoutComponent, ], - exports : [ - ClassicLayoutComponent - ] }) export class ClassicLayoutModule { diff --git a/src/app/layout/layouts/vertical/classy/classy.component.ts b/src/app/layout/layouts/vertical/classy/classy.component.ts index 7f63d2a8..4c5c7c47 100644 --- a/src/app/layout/layouts/vertical/classy/classy.component.ts +++ b/src/app/layout/layouts/vertical/classy/classy.component.ts @@ -1,17 +1,31 @@ +import { NgIf } from '@angular/common'; import { Component, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; -import { Subject, takeUntil } from 'rxjs'; -import { FuseMediaWatcherService } from '@fuse/services/media-watcher'; +import { MatButtonModule } from '@angular/material/button'; +import { MatIconModule } from '@angular/material/icon'; +import { ActivatedRoute, Router, RouterOutlet } from '@angular/router'; +import { FuseFullscreenComponent } from '@fuse/components/fullscreen'; +import { FuseLoadingBarComponent } from '@fuse/components/loading-bar'; import { FuseNavigationService, FuseVerticalNavigationComponent } from '@fuse/components/navigation'; -import { Navigation } from 'app/core/navigation/navigation.types'; +import { FuseMediaWatcherService } from '@fuse/services/media-watcher'; import { NavigationService } from 'app/core/navigation/navigation.service'; -import { User } from 'app/core/user/user.types'; +import { Navigation } from 'app/core/navigation/navigation.types'; import { UserService } from 'app/core/user/user.service'; +import { User } from 'app/core/user/user.types'; +import { LanguagesComponent } from 'app/layout/common/languages/languages.component'; +import { MessagesComponent } from 'app/layout/common/messages/messages.component'; +import { NotificationsComponent } from 'app/layout/common/notifications/notifications.component'; +import { QuickChatComponent } from 'app/layout/common/quick-chat/quick-chat.component'; +import { SearchComponent } from 'app/layout/common/search/search.component'; +import { ShortcutsComponent } from 'app/layout/common/shortcuts/shortcuts.component'; +import { UserComponent } from 'app/layout/common/user/user.component'; +import { Subject, takeUntil } from 'rxjs'; @Component({ selector : 'classy-layout', templateUrl : './classy.component.html', - encapsulation: ViewEncapsulation.None + encapsulation: ViewEncapsulation.None, + standalone : true, + imports : [FuseLoadingBarComponent, FuseVerticalNavigationComponent, NotificationsComponent, UserComponent, NgIf, MatIconModule, MatButtonModule, LanguagesComponent, FuseFullscreenComponent, SearchComponent, ShortcutsComponent, MessagesComponent, RouterOutlet, QuickChatComponent], }) export class ClassyLayoutComponent implements OnInit, OnDestroy { @@ -29,7 +43,7 @@ export class ClassyLayoutComponent implements OnInit, OnDestroy private _navigationService: NavigationService, private _userService: UserService, private _fuseMediaWatcherService: FuseMediaWatcherService, - private _fuseNavigationService: FuseNavigationService + private _fuseNavigationService: FuseNavigationService, ) { } @@ -58,21 +72,24 @@ export class ClassyLayoutComponent implements OnInit, OnDestroy // Subscribe to navigation data this._navigationService.navigation$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((navigation: Navigation) => { + .subscribe((navigation: Navigation) => + { this.navigation = navigation; }); // Subscribe to the user service this._userService.user$ .pipe((takeUntil(this._unsubscribeAll))) - .subscribe((user: User) => { + .subscribe((user: User) => + { this.user = user; }); // Subscribe to media changes this._fuseMediaWatcherService.onMediaChange$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe(({matchingAliases}) => { + .subscribe(({matchingAliases}) => + { // Check if the screen is small this.isScreenSmall = !matchingAliases.includes('md'); diff --git a/src/app/layout/layouts/vertical/classy/classy.module.ts b/src/app/layout/layouts/vertical/classy/classy.module.ts index c6c809ed..a50f32af 100644 --- a/src/app/layout/layouts/vertical/classy/classy.module.ts +++ b/src/app/layout/layouts/vertical/classy/classy.module.ts @@ -1,49 +1,29 @@ -import { NgModule } from '@angular/core'; import { HttpClientModule } from '@angular/common/http'; -import { RouterModule } from '@angular/router'; +import { NgModule } from '@angular/core'; import { MatButtonModule } from '@angular/material/button'; import { MatDividerModule } from '@angular/material/divider'; import { MatIconModule } from '@angular/material/icon'; import { MatMenuModule } from '@angular/material/menu'; -import { FuseNavigationModule } from '@fuse/components/navigation'; -import { FuseLoadingBarModule } from '@fuse/components/loading-bar'; -import { FuseFullscreenModule } from '@fuse/components/fullscreen/fullscreen.module'; -import { LanguagesModule } from 'app/layout/common/languages/languages.module'; -import { MessagesModule } from 'app/layout/common/messages/messages.module'; -import { NotificationsModule } from 'app/layout/common/notifications/notifications.module'; -import { QuickChatModule } from 'app/layout/common/quick-chat/quick-chat.module'; +import { RouterModule } from '@angular/router'; + import { SearchModule } from 'app/layout/common/search/search.module'; -import { ShortcutsModule } from 'app/layout/common/shortcuts/shortcuts.module'; -import { UserModule } from 'app/layout/common/user/user.module'; -import { SharedModule } from 'app/shared/shared.module'; + import { ClassyLayoutComponent } from 'app/layout/layouts/vertical/classy/classy.component'; @NgModule({ - declarations: [ - ClassyLayoutComponent - ], - imports : [ + imports: [ HttpClientModule, RouterModule, MatButtonModule, MatDividerModule, MatIconModule, MatMenuModule, - FuseFullscreenModule, - FuseLoadingBarModule, - FuseNavigationModule, - LanguagesModule, - MessagesModule, - NotificationsModule, - QuickChatModule, SearchModule, - ShortcutsModule, - UserModule, - SharedModule + ClassyLayoutComponent, + ], + exports: [ + ClassyLayoutComponent, ], - exports : [ - ClassyLayoutComponent - ] }) export class ClassyLayoutModule { diff --git a/src/app/layout/layouts/vertical/compact/compact.component.ts b/src/app/layout/layouts/vertical/compact/compact.component.ts index ec71501e..0db56159 100644 --- a/src/app/layout/layouts/vertical/compact/compact.component.ts +++ b/src/app/layout/layouts/vertical/compact/compact.component.ts @@ -1,15 +1,29 @@ +import { NgIf } from '@angular/common'; import { Component, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; -import { Subject, takeUntil } from 'rxjs'; -import { FuseMediaWatcherService } from '@fuse/services/media-watcher'; +import { MatButtonModule } from '@angular/material/button'; +import { MatIconModule } from '@angular/material/icon'; +import { ActivatedRoute, Router, RouterOutlet } from '@angular/router'; +import { FuseFullscreenComponent } from '@fuse/components/fullscreen'; +import { FuseLoadingBarComponent } from '@fuse/components/loading-bar'; import { FuseNavigationService, FuseVerticalNavigationComponent } from '@fuse/components/navigation'; -import { Navigation } from 'app/core/navigation/navigation.types'; +import { FuseMediaWatcherService } from '@fuse/services/media-watcher'; import { NavigationService } from 'app/core/navigation/navigation.service'; +import { Navigation } from 'app/core/navigation/navigation.types'; +import { LanguagesComponent } from 'app/layout/common/languages/languages.component'; +import { MessagesComponent } from 'app/layout/common/messages/messages.component'; +import { NotificationsComponent } from 'app/layout/common/notifications/notifications.component'; +import { QuickChatComponent } from 'app/layout/common/quick-chat/quick-chat.component'; +import { SearchComponent } from 'app/layout/common/search/search.component'; +import { ShortcutsComponent } from 'app/layout/common/shortcuts/shortcuts.component'; +import { UserComponent } from 'app/layout/common/user/user.component'; +import { Subject, takeUntil } from 'rxjs'; @Component({ selector : 'compact-layout', templateUrl : './compact.component.html', - encapsulation: ViewEncapsulation.None + encapsulation: ViewEncapsulation.None, + standalone : true, + imports : [FuseLoadingBarComponent, MatButtonModule, MatIconModule, LanguagesComponent, FuseFullscreenComponent, SearchComponent, ShortcutsComponent, MessagesComponent, NotificationsComponent, UserComponent, NgIf, RouterOutlet, QuickChatComponent, FuseVerticalNavigationComponent], }) export class CompactLayoutComponent implements OnInit, OnDestroy { @@ -25,7 +39,7 @@ export class CompactLayoutComponent implements OnInit, OnDestroy private _router: Router, private _navigationService: NavigationService, private _fuseMediaWatcherService: FuseMediaWatcherService, - private _fuseNavigationService: FuseNavigationService + private _fuseNavigationService: FuseNavigationService, ) { } @@ -54,14 +68,16 @@ export class CompactLayoutComponent implements OnInit, OnDestroy // Subscribe to navigation data this._navigationService.navigation$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((navigation: Navigation) => { + .subscribe((navigation: Navigation) => + { this.navigation = navigation; }); // Subscribe to media changes this._fuseMediaWatcherService.onMediaChange$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe(({matchingAliases}) => { + .subscribe(({matchingAliases}) => + { // Check if the screen is small this.isScreenSmall = !matchingAliases.includes('md'); diff --git a/src/app/layout/layouts/vertical/compact/compact.module.ts b/src/app/layout/layouts/vertical/compact/compact.module.ts index 1cbe123f..4a333ece 100644 --- a/src/app/layout/layouts/vertical/compact/compact.module.ts +++ b/src/app/layout/layouts/vertical/compact/compact.module.ts @@ -1,49 +1,29 @@ -import { NgModule } from '@angular/core'; import { HttpClientModule } from '@angular/common/http'; -import { RouterModule } from '@angular/router'; +import { NgModule } from '@angular/core'; import { MatButtonModule } from '@angular/material/button'; import { MatDividerModule } from '@angular/material/divider'; import { MatIconModule } from '@angular/material/icon'; import { MatMenuModule } from '@angular/material/menu'; -import { FuseFullscreenModule } from '@fuse/components/fullscreen'; -import { FuseLoadingBarModule } from '@fuse/components/loading-bar'; -import { FuseNavigationModule } from '@fuse/components/navigation'; -import { LanguagesModule } from 'app/layout/common/languages/languages.module'; -import { MessagesModule } from 'app/layout/common/messages/messages.module'; -import { NotificationsModule } from 'app/layout/common/notifications/notifications.module'; -import { QuickChatModule } from 'app/layout/common/quick-chat/quick-chat.module'; +import { RouterModule } from '@angular/router'; + import { SearchModule } from 'app/layout/common/search/search.module'; -import { ShortcutsModule } from 'app/layout/common/shortcuts/shortcuts.module'; -import { UserModule } from 'app/layout/common/user/user.module'; -import { SharedModule } from 'app/shared/shared.module'; + import { CompactLayoutComponent } from 'app/layout/layouts/vertical/compact/compact.component'; @NgModule({ - declarations: [ - CompactLayoutComponent - ], - imports : [ + imports: [ HttpClientModule, RouterModule, MatButtonModule, MatDividerModule, MatIconModule, MatMenuModule, - FuseFullscreenModule, - FuseLoadingBarModule, - FuseNavigationModule, - LanguagesModule, - MessagesModule, - NotificationsModule, - QuickChatModule, SearchModule, - ShortcutsModule, - UserModule, - SharedModule + CompactLayoutComponent, + ], + exports: [ + CompactLayoutComponent, ], - exports : [ - CompactLayoutComponent - ] }) export class CompactLayoutModule { diff --git a/src/app/layout/layouts/vertical/dense/dense.component.ts b/src/app/layout/layouts/vertical/dense/dense.component.ts index 58525cdd..abd05a46 100644 --- a/src/app/layout/layouts/vertical/dense/dense.component.ts +++ b/src/app/layout/layouts/vertical/dense/dense.component.ts @@ -1,15 +1,29 @@ +import { NgIf } from '@angular/common'; import { Component, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; -import { Subject, takeUntil } from 'rxjs'; -import { FuseMediaWatcherService } from '@fuse/services/media-watcher'; +import { MatButtonModule } from '@angular/material/button'; +import { MatIconModule } from '@angular/material/icon'; +import { ActivatedRoute, Router, RouterOutlet } from '@angular/router'; +import { FuseFullscreenComponent } from '@fuse/components/fullscreen'; +import { FuseLoadingBarComponent } from '@fuse/components/loading-bar'; import { FuseNavigationService, FuseVerticalNavigationComponent } from '@fuse/components/navigation'; -import { Navigation } from 'app/core/navigation/navigation.types'; +import { FuseMediaWatcherService } from '@fuse/services/media-watcher'; import { NavigationService } from 'app/core/navigation/navigation.service'; +import { Navigation } from 'app/core/navigation/navigation.types'; +import { LanguagesComponent } from 'app/layout/common/languages/languages.component'; +import { MessagesComponent } from 'app/layout/common/messages/messages.component'; +import { NotificationsComponent } from 'app/layout/common/notifications/notifications.component'; +import { QuickChatComponent } from 'app/layout/common/quick-chat/quick-chat.component'; +import { SearchComponent } from 'app/layout/common/search/search.component'; +import { ShortcutsComponent } from 'app/layout/common/shortcuts/shortcuts.component'; +import { UserComponent } from 'app/layout/common/user/user.component'; +import { Subject, takeUntil } from 'rxjs'; @Component({ selector : 'dense-layout', templateUrl : './dense.component.html', - encapsulation: ViewEncapsulation.None + encapsulation: ViewEncapsulation.None, + standalone : true, + imports : [FuseLoadingBarComponent, FuseVerticalNavigationComponent, MatButtonModule, MatIconModule, LanguagesComponent, FuseFullscreenComponent, SearchComponent, ShortcutsComponent, MessagesComponent, NotificationsComponent, UserComponent, NgIf, RouterOutlet, QuickChatComponent], }) export class DenseLayoutComponent implements OnInit, OnDestroy { @@ -26,7 +40,7 @@ export class DenseLayoutComponent implements OnInit, OnDestroy private _router: Router, private _navigationService: NavigationService, private _fuseMediaWatcherService: FuseMediaWatcherService, - private _fuseNavigationService: FuseNavigationService + private _fuseNavigationService: FuseNavigationService, ) { } @@ -55,14 +69,16 @@ export class DenseLayoutComponent implements OnInit, OnDestroy // Subscribe to navigation data this._navigationService.navigation$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((navigation: Navigation) => { + .subscribe((navigation: Navigation) => + { this.navigation = navigation; }); // Subscribe to media changes this._fuseMediaWatcherService.onMediaChange$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe(({matchingAliases}) => { + .subscribe(({matchingAliases}) => + { // Check if the screen is small this.isScreenSmall = !matchingAliases.includes('md'); diff --git a/src/app/layout/layouts/vertical/dense/dense.module.ts b/src/app/layout/layouts/vertical/dense/dense.module.ts index bd43d29a..5bb6aedb 100644 --- a/src/app/layout/layouts/vertical/dense/dense.module.ts +++ b/src/app/layout/layouts/vertical/dense/dense.module.ts @@ -1,49 +1,29 @@ -import { NgModule } from '@angular/core'; import { HttpClientModule } from '@angular/common/http'; -import { RouterModule } from '@angular/router'; +import { NgModule } from '@angular/core'; import { MatButtonModule } from '@angular/material/button'; import { MatDividerModule } from '@angular/material/divider'; import { MatIconModule } from '@angular/material/icon'; import { MatMenuModule } from '@angular/material/menu'; -import { FuseFullscreenModule } from '@fuse/components/fullscreen'; -import { FuseLoadingBarModule } from '@fuse/components/loading-bar'; -import { FuseNavigationModule } from '@fuse/components/navigation'; -import { LanguagesModule } from 'app/layout/common/languages/languages.module'; -import { MessagesModule } from 'app/layout/common/messages/messages.module'; -import { NotificationsModule } from 'app/layout/common/notifications/notifications.module'; -import { QuickChatModule } from 'app/layout/common/quick-chat/quick-chat.module'; +import { RouterModule } from '@angular/router'; + import { SearchModule } from 'app/layout/common/search/search.module'; -import { ShortcutsModule } from 'app/layout/common/shortcuts/shortcuts.module'; -import { UserModule } from 'app/layout/common/user/user.module'; -import { SharedModule } from 'app/shared/shared.module'; + import { DenseLayoutComponent } from 'app/layout/layouts/vertical/dense/dense.component'; @NgModule({ - declarations: [ - DenseLayoutComponent - ], - imports : [ + imports: [ HttpClientModule, RouterModule, MatButtonModule, MatDividerModule, MatIconModule, MatMenuModule, - FuseFullscreenModule, - FuseLoadingBarModule, - FuseNavigationModule, - LanguagesModule, - MessagesModule, - NotificationsModule, - QuickChatModule, SearchModule, - ShortcutsModule, - UserModule, - SharedModule + DenseLayoutComponent, + ], + exports: [ + DenseLayoutComponent, ], - exports : [ - DenseLayoutComponent - ] }) export class DenseLayoutModule { diff --git a/src/app/layout/layouts/vertical/futuristic/futuristic.component.ts b/src/app/layout/layouts/vertical/futuristic/futuristic.component.ts index b9dae5b9..1e29cfe1 100644 --- a/src/app/layout/layouts/vertical/futuristic/futuristic.component.ts +++ b/src/app/layout/layouts/vertical/futuristic/futuristic.component.ts @@ -1,17 +1,31 @@ +import { NgIf } from '@angular/common'; import { Component, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; -import { Subject, takeUntil } from 'rxjs'; -import { FuseMediaWatcherService } from '@fuse/services/media-watcher'; +import { MatButtonModule } from '@angular/material/button'; +import { MatIconModule } from '@angular/material/icon'; +import { ActivatedRoute, Router, RouterOutlet } from '@angular/router'; +import { FuseFullscreenComponent } from '@fuse/components/fullscreen'; +import { FuseLoadingBarComponent } from '@fuse/components/loading-bar'; import { FuseNavigationService, FuseVerticalNavigationComponent } from '@fuse/components/navigation'; -import { Navigation } from 'app/core/navigation/navigation.types'; +import { FuseMediaWatcherService } from '@fuse/services/media-watcher'; import { NavigationService } from 'app/core/navigation/navigation.service'; -import { User } from 'app/core/user/user.types'; +import { Navigation } from 'app/core/navigation/navigation.types'; import { UserService } from 'app/core/user/user.service'; +import { User } from 'app/core/user/user.types'; +import { LanguagesComponent } from 'app/layout/common/languages/languages.component'; +import { MessagesComponent } from 'app/layout/common/messages/messages.component'; +import { NotificationsComponent } from 'app/layout/common/notifications/notifications.component'; +import { QuickChatComponent } from 'app/layout/common/quick-chat/quick-chat.component'; +import { SearchComponent } from 'app/layout/common/search/search.component'; +import { ShortcutsComponent } from 'app/layout/common/shortcuts/shortcuts.component'; +import { UserComponent } from 'app/layout/common/user/user.component'; +import { Subject, takeUntil } from 'rxjs'; @Component({ selector : 'futuristic-layout', templateUrl : './futuristic.component.html', - encapsulation: ViewEncapsulation.None + encapsulation: ViewEncapsulation.None, + standalone : true, + imports : [FuseLoadingBarComponent, FuseVerticalNavigationComponent, UserComponent, MatButtonModule, MatIconModule, LanguagesComponent, FuseFullscreenComponent, SearchComponent, ShortcutsComponent, MessagesComponent, NotificationsComponent, NgIf, RouterOutlet, QuickChatComponent], }) export class FuturisticLayoutComponent implements OnInit, OnDestroy { @@ -29,7 +43,7 @@ export class FuturisticLayoutComponent implements OnInit, OnDestroy private _navigationService: NavigationService, private _userService: UserService, private _fuseMediaWatcherService: FuseMediaWatcherService, - private _fuseNavigationService: FuseNavigationService + private _fuseNavigationService: FuseNavigationService, ) { } @@ -58,21 +72,24 @@ export class FuturisticLayoutComponent implements OnInit, OnDestroy // Subscribe to navigation data this._navigationService.navigation$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((navigation: Navigation) => { + .subscribe((navigation: Navigation) => + { this.navigation = navigation; }); // Subscribe to the user service this._userService.user$ .pipe((takeUntil(this._unsubscribeAll))) - .subscribe((user: User) => { + .subscribe((user: User) => + { this.user = user; }); // Subscribe to media changes this._fuseMediaWatcherService.onMediaChange$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe(({matchingAliases}) => { + .subscribe(({matchingAliases}) => + { // Check if the screen is small this.isScreenSmall = !matchingAliases.includes('md'); diff --git a/src/app/layout/layouts/vertical/futuristic/futuristic.module.ts b/src/app/layout/layouts/vertical/futuristic/futuristic.module.ts index c3ca9592..cbc51986 100644 --- a/src/app/layout/layouts/vertical/futuristic/futuristic.module.ts +++ b/src/app/layout/layouts/vertical/futuristic/futuristic.module.ts @@ -1,49 +1,29 @@ -import { NgModule } from '@angular/core'; import { HttpClientModule } from '@angular/common/http'; -import { RouterModule } from '@angular/router'; +import { NgModule } from '@angular/core'; import { MatButtonModule } from '@angular/material/button'; import { MatDividerModule } from '@angular/material/divider'; import { MatIconModule } from '@angular/material/icon'; import { MatMenuModule } from '@angular/material/menu'; -import { FuseFullscreenModule } from '@fuse/components/fullscreen'; -import { FuseLoadingBarModule } from '@fuse/components/loading-bar'; -import { FuseNavigationModule } from '@fuse/components/navigation'; -import { LanguagesModule } from 'app/layout/common/languages/languages.module'; -import { MessagesModule } from 'app/layout/common/messages/messages.module'; -import { NotificationsModule } from 'app/layout/common/notifications/notifications.module'; -import { QuickChatModule } from 'app/layout/common/quick-chat/quick-chat.module'; +import { RouterModule } from '@angular/router'; + import { SearchModule } from 'app/layout/common/search/search.module'; -import { ShortcutsModule } from 'app/layout/common/shortcuts/shortcuts.module'; -import { UserModule } from 'app/layout/common/user/user.module'; -import { SharedModule } from 'app/shared/shared.module'; + import { FuturisticLayoutComponent } from 'app/layout/layouts/vertical/futuristic/futuristic.component'; @NgModule({ - declarations: [ - FuturisticLayoutComponent - ], - imports : [ + imports: [ HttpClientModule, RouterModule, MatButtonModule, MatDividerModule, MatIconModule, MatMenuModule, - FuseFullscreenModule, - FuseLoadingBarModule, - FuseNavigationModule, - LanguagesModule, - MessagesModule, - NotificationsModule, - QuickChatModule, SearchModule, - ShortcutsModule, - UserModule, - SharedModule + FuturisticLayoutComponent, + ], + exports: [ + FuturisticLayoutComponent, ], - exports : [ - FuturisticLayoutComponent - ] }) export class FuturisticLayoutModule { diff --git a/src/app/layout/layouts/vertical/thin/thin.component.ts b/src/app/layout/layouts/vertical/thin/thin.component.ts index 12f29fa6..2b987842 100644 --- a/src/app/layout/layouts/vertical/thin/thin.component.ts +++ b/src/app/layout/layouts/vertical/thin/thin.component.ts @@ -1,15 +1,29 @@ +import { NgIf } from '@angular/common'; import { Component, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; -import { Subject, takeUntil } from 'rxjs'; -import { FuseMediaWatcherService } from '@fuse/services/media-watcher'; +import { MatButtonModule } from '@angular/material/button'; +import { MatIconModule } from '@angular/material/icon'; +import { ActivatedRoute, Router, RouterOutlet } from '@angular/router'; +import { FuseFullscreenComponent } from '@fuse/components/fullscreen'; +import { FuseLoadingBarComponent } from '@fuse/components/loading-bar'; import { FuseNavigationService, FuseVerticalNavigationComponent } from '@fuse/components/navigation'; -import { Navigation } from 'app/core/navigation/navigation.types'; +import { FuseMediaWatcherService } from '@fuse/services/media-watcher'; import { NavigationService } from 'app/core/navigation/navigation.service'; +import { Navigation } from 'app/core/navigation/navigation.types'; +import { LanguagesComponent } from 'app/layout/common/languages/languages.component'; +import { MessagesComponent } from 'app/layout/common/messages/messages.component'; +import { NotificationsComponent } from 'app/layout/common/notifications/notifications.component'; +import { QuickChatComponent } from 'app/layout/common/quick-chat/quick-chat.component'; +import { SearchComponent } from 'app/layout/common/search/search.component'; +import { ShortcutsComponent } from 'app/layout/common/shortcuts/shortcuts.component'; +import { UserComponent } from 'app/layout/common/user/user.component'; +import { Subject, takeUntil } from 'rxjs'; @Component({ selector : 'thin-layout', templateUrl : './thin.component.html', - encapsulation: ViewEncapsulation.None + encapsulation: ViewEncapsulation.None, + standalone : true, + imports : [FuseLoadingBarComponent, FuseVerticalNavigationComponent, MatButtonModule, MatIconModule, LanguagesComponent, FuseFullscreenComponent, SearchComponent, ShortcutsComponent, MessagesComponent, NotificationsComponent, UserComponent, NgIf, RouterOutlet, QuickChatComponent], }) export class ThinLayoutComponent implements OnInit, OnDestroy { @@ -25,7 +39,7 @@ export class ThinLayoutComponent implements OnInit, OnDestroy private _router: Router, private _navigationService: NavigationService, private _fuseMediaWatcherService: FuseMediaWatcherService, - private _fuseNavigationService: FuseNavigationService + private _fuseNavigationService: FuseNavigationService, ) { } @@ -54,14 +68,16 @@ export class ThinLayoutComponent implements OnInit, OnDestroy // Subscribe to navigation data this._navigationService.navigation$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((navigation: Navigation) => { + .subscribe((navigation: Navigation) => + { this.navigation = navigation; }); // Subscribe to media changes this._fuseMediaWatcherService.onMediaChange$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe(({matchingAliases}) => { + .subscribe(({matchingAliases}) => + { // Check if the screen is small this.isScreenSmall = !matchingAliases.includes('md'); diff --git a/src/app/layout/layouts/vertical/thin/thin.module.ts b/src/app/layout/layouts/vertical/thin/thin.module.ts index 93bca447..bc4c927d 100644 --- a/src/app/layout/layouts/vertical/thin/thin.module.ts +++ b/src/app/layout/layouts/vertical/thin/thin.module.ts @@ -1,49 +1,29 @@ -import { NgModule } from '@angular/core'; import { HttpClientModule } from '@angular/common/http'; -import { RouterModule } from '@angular/router'; +import { NgModule } from '@angular/core'; import { MatButtonModule } from '@angular/material/button'; import { MatDividerModule } from '@angular/material/divider'; import { MatIconModule } from '@angular/material/icon'; import { MatMenuModule } from '@angular/material/menu'; -import { FuseFullscreenModule } from '@fuse/components/fullscreen'; -import { FuseLoadingBarModule } from '@fuse/components/loading-bar'; -import { FuseNavigationModule } from '@fuse/components/navigation'; -import { LanguagesModule } from 'app/layout/common/languages/languages.module'; -import { MessagesModule } from 'app/layout/common/messages/messages.module'; -import { NotificationsModule } from 'app/layout/common/notifications/notifications.module'; -import { QuickChatModule } from 'app/layout/common/quick-chat/quick-chat.module'; +import { RouterModule } from '@angular/router'; + import { SearchModule } from 'app/layout/common/search/search.module'; -import { ShortcutsModule } from 'app/layout/common/shortcuts/shortcuts.module'; -import { UserModule } from 'app/layout/common/user/user.module'; -import { SharedModule } from 'app/shared/shared.module'; + import { ThinLayoutComponent } from 'app/layout/layouts/vertical/thin/thin.component'; @NgModule({ - declarations: [ - ThinLayoutComponent - ], - imports : [ + imports: [ HttpClientModule, RouterModule, MatButtonModule, MatDividerModule, MatIconModule, MatMenuModule, - FuseFullscreenModule, - FuseLoadingBarModule, - FuseNavigationModule, - LanguagesModule, - MessagesModule, - NotificationsModule, - QuickChatModule, SearchModule, - ShortcutsModule, - UserModule, - SharedModule + ThinLayoutComponent, + ], + exports: [ + ThinLayoutComponent, ], - exports : [ - ThinLayoutComponent - ] }) export class ThinLayoutModule { diff --git a/src/app/mock-api/apps/academy/api.ts b/src/app/mock-api/apps/academy/api.ts index ed843342..2f3fc2de 100644 --- a/src/app/mock-api/apps/academy/api.ts +++ b/src/app/mock-api/apps/academy/api.ts @@ -1,10 +1,10 @@ import { Injectable } from '@angular/core'; -import { cloneDeep } from 'lodash-es'; import { FuseMockApiService } from '@fuse/lib/mock-api/mock-api.service'; import { categories as categoriesData, courses as coursesData, demoCourseSteps as demoCourseStepsData } from 'app/mock-api/apps/academy/data'; +import { cloneDeep } from 'lodash-es'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class AcademyMockApi { @@ -35,7 +35,8 @@ export class AcademyMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onGet('api/apps/academy/categories') - .reply(() => { + .reply(() => + { // Clone the categories const categories = cloneDeep(this._categories); @@ -51,7 +52,8 @@ export class AcademyMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onGet('api/apps/academy/courses') - .reply(() => { + .reply(() => + { // Clone the courses const courses = cloneDeep(this._courses); @@ -64,7 +66,8 @@ export class AcademyMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onGet('api/apps/academy/courses/course') - .reply(({request}) => { + .reply(({request}) => + { // Get the id from the params const id = request.params.get('id'); @@ -82,7 +85,7 @@ export class AcademyMockApi return [ 200, - course + course, ]; }); } diff --git a/src/app/mock-api/apps/academy/data.ts b/src/app/mock-api/apps/academy/data.ts index 21dfad88..8f0d64da 100644 --- a/src/app/mock-api/apps/academy/data.ts +++ b/src/app/mock-api/apps/academy/data.ts @@ -3,23 +3,23 @@ export const categories = [ { id : '9a67dff7-3c38-4052-a335-0cef93438ff6', title: 'Web', - slug : 'web' + slug : 'web', }, { id : 'a89672f5-e00d-4be4-9194-cb9d29f82165', title: 'Firebase', - slug : 'firebase' + slug : 'firebase', }, { id : '02f42092-bb23-4552-9ddb-cfdcc235d48f', title: 'Cloud', - slug : 'cloud' + slug : 'cloud', }, { id : '5648a630-979f-4403-8c41-fc9790dea8cd', title: 'Android', - slug : 'android' - } + slug : 'android', + }, ]; export const courses = [ { @@ -34,8 +34,8 @@ export const courses = [ featured : true, progress : { currentStep: 3, - completed : 2 - } + completed : 2, + }, }, { id : 'f924007a-2ee9-470b-a316-8d21ed78277f', @@ -49,8 +49,8 @@ export const courses = [ featured : true, progress : { currentStep: 5, - completed : 3 - } + completed : 3, + }, }, { id : '0c06e980-abb5-4ba7-ab65-99a228cab36b', @@ -64,8 +64,8 @@ export const courses = [ featured : false, progress : { currentStep: 10, - completed : 1 - } + completed : 1, + }, }, { id : '1b9a9acc-9a36-403e-a1e7-b11780179e38', @@ -79,8 +79,8 @@ export const courses = [ featured : false, progress : { currentStep: 4, - completed : 3 - } + completed : 3, + }, }, { id : '55eb415f-3f4e-4853-a22b-f0ae91331169', @@ -94,8 +94,8 @@ export const courses = [ featured : false, progress : { currentStep: 6, - completed : 0 - } + completed : 0, + }, }, { id : 'fad2ab23-1011-4028-9a54-e52179ac4a50', @@ -109,8 +109,8 @@ export const courses = [ featured : false, progress : { currentStep: 6, - completed : 0 - } + completed : 0, + }, }, { id : 'c4bc107b-edc4-47a7-a7a8-4fb09732e794', @@ -124,8 +124,8 @@ export const courses = [ featured : false, progress : { currentStep: 0, - completed : 0 - } + completed : 0, + }, }, { id : '1449f945-d032-460d-98e3-406565a22293', @@ -139,8 +139,8 @@ export const courses = [ featured : false, progress : { currentStep: 3, - completed : 1 - } + completed : 1, + }, }, { id : 'f05e08ab-f3e3-4597-a032-6a4b69816f24', @@ -154,8 +154,8 @@ export const courses = [ featured : false, progress : { currentStep: 0, - completed : 1 - } + completed : 1, + }, }, { id : '181728f4-87c8-45c5-b9cc-92265bcd2f4d', @@ -169,8 +169,8 @@ export const courses = [ featured : false, progress : { currentStep: 0, - completed : 0 - } + completed : 0, + }, }, { id : 'fcbfedbf-6187-4b3b-89d3-1a7cb4e11616', @@ -184,8 +184,8 @@ export const courses = [ featured : false, progress : { currentStep: 0, - completed : 0 - } + completed : 0, + }, }, { id : '5213f6a1-1dd7-4b1d-b6e9-ffb7af534f28', @@ -199,8 +199,8 @@ export const courses = [ featured : false, progress : { currentStep: 0, - completed : 0 - } + completed : 0, + }, }, { id : '02992ac9-d1a3-4167-b70e-8a1d5b5ba253', @@ -214,8 +214,8 @@ export const courses = [ featured : false, progress : { currentStep: 8, - completed : 2 - } + completed : 2, + }, }, { id : '2139512f-41fb-4a4a-841a-0b4ac034f9b4', @@ -229,8 +229,8 @@ export const courses = [ featured : false, progress : { currentStep: 0, - completed : 0 - } + completed : 0, + }, }, { id : '65e0a0e0-d8c0-4117-a3cb-eb74f8e28809', @@ -244,8 +244,8 @@ export const courses = [ featured : false, progress : { currentStep: 0, - completed : 0 - } + completed : 0, + }, }, { id : 'c202ebc9-9be3-433a-9d38-7003b3ed7b7a', @@ -259,8 +259,8 @@ export const courses = [ featured : false, progress : { currentStep: 0, - completed : 0 - } + completed : 0, + }, }, { id : '980ae7da-9f77-4e30-aa98-1b1ea594e775', @@ -274,8 +274,8 @@ export const courses = [ featured : false, progress : { currentStep: 0, - completed : 0 - } + completed : 0, + }, }, { id : 'c9748ea9-4117-492c-bdb2-55085b515978', @@ -289,9 +289,9 @@ export const courses = [ featured : false, progress : { currentStep: 2, - completed : 0 - } - } + completed : 0, + }, + }, ]; export const demoCourseContent = `

@@ -654,66 +654,66 @@ export const demoCourseSteps = [ order : 0, title : 'Introduction', subtitle: 'Introducing the library and how it works', - content : `

Introduction

${demoCourseContent}` + content : `

Introduction

${demoCourseContent}`, }, { order : 1, title : 'Get the sample code', subtitle: 'Where to find the sample code and how to access it', - content : `

Get the sample code

${demoCourseContent}` + content : `

Get the sample code

${demoCourseContent}`, }, { order : 2, title : 'Create a Firebase project and Set up your app', subtitle: 'How to create a basic Firebase project and how to run it locally', - content : `

Create a Firebase project and Set up your app

${demoCourseContent}` + content : `

Create a Firebase project and Set up your app

${demoCourseContent}`, }, { order : 3, title : 'Install the Firebase Command Line Interface', subtitle: 'Setting up the Firebase CLI to access command line tools', - content : `

Install the Firebase Command Line Interface

${demoCourseContent}` + content : `

Install the Firebase Command Line Interface

${demoCourseContent}`, }, { order : 4, title : 'Deploy and run the web app', subtitle: 'How to build, push and run the project remotely', - content : `

Deploy and run the web app

${demoCourseContent}` + content : `

Deploy and run the web app

${demoCourseContent}`, }, { order : 5, title : 'The Functions Directory', subtitle: 'Introducing the Functions and Functions Directory', - content : `

The Functions Directory

${demoCourseContent}` + content : `

The Functions Directory

${demoCourseContent}`, }, { order : 6, title : 'Import the Cloud Functions and Firebase Admin modules', subtitle: 'Create your first Function and run it to administer your app', - content : `

Import the Cloud Functions and Firebase Admin modules

${demoCourseContent}` + content : `

Import the Cloud Functions and Firebase Admin modules

${demoCourseContent}`, }, { order : 7, title : 'Welcome New Users', subtitle: 'How to create a welcome message for the new users', - content : `

Welcome New Users

${demoCourseContent}` + content : `

Welcome New Users

${demoCourseContent}`, }, { order : 8, title : 'Images moderation', subtitle: 'How to moderate images; crop, resize, optimize', - content : `

Images moderation

${demoCourseContent}` + content : `

Images moderation

${demoCourseContent}`, }, { order : 9, title : 'New Message Notifications', subtitle: 'How to create and push a notification to a user', - content : `

New Message Notifications

${demoCourseContent}` + content : `

New Message Notifications

${demoCourseContent}`, }, { order : 10, title : 'Congratulations!', subtitle: 'Nice work, you have created your first application', - content : `

Congratulations!

${demoCourseContent}` - } + content : `

Congratulations!

${demoCourseContent}`, + }, ]; diff --git a/src/app/mock-api/apps/chat/api.ts b/src/app/mock-api/apps/chat/api.ts index db2286d5..41abd706 100644 --- a/src/app/mock-api/apps/chat/api.ts +++ b/src/app/mock-api/apps/chat/api.ts @@ -1,10 +1,10 @@ import { Injectable } from '@angular/core'; -import { assign, cloneDeep, omit } from 'lodash-es'; import { FuseMockApiService } from '@fuse/lib/mock-api'; import { chats as chatsData, contacts as contactsData, messages as messagesData, profile as profileData } from 'app/mock-api/apps/chat/data'; +import { assign, cloneDeep, omit } from 'lodash-es'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class ChatMockApi { @@ -31,8 +31,8 @@ export class ChatMockApi ...message, chatId : chat.id, contactId: message.contactId === 'me' ? this._profile.id : chat.contactId, - isMine : message.contactId === 'me' - })) + isMine : message.contactId === 'me', + })), })); } @@ -50,7 +50,8 @@ export class ChatMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onGet('api/apps/chat/chats') - .reply(() => { + .reply(() => + { // Clone the chats const chats = cloneDeep(this._chats); @@ -64,7 +65,8 @@ export class ChatMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onGet('api/apps/chat/chat') - .reply(({request}) => { + .reply(({request}) => + { // Get the chat id const id = request.params.get('id'); @@ -84,7 +86,8 @@ export class ChatMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPatch('api/apps/chat/chat') - .reply(({request}) => { + .reply(({request}) => + { // Get the id and chat const id = request.body.id; @@ -94,7 +97,8 @@ export class ChatMockApi let updatedChat = null; // Find the chat and update it - this._chats.forEach((item, index, chats) => { + this._chats.forEach((item, index, chats) => + { if ( item.id === id ) { @@ -115,7 +119,8 @@ export class ChatMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onGet('api/apps/chat/contacts') - .reply(() => { + .reply(() => + { // Clone the contacts let contacts = cloneDeep(this._contacts); @@ -135,7 +140,8 @@ export class ChatMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onGet('api/apps/chat/contact') - .reply(({request}) => { + .reply(({request}) => + { // Get the contact id const id = request.params.get('id'); @@ -155,7 +161,8 @@ export class ChatMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onGet('api/apps/chat/profile') - .reply(() => { + .reply(() => + { // Clone the profile const profile = cloneDeep(this._profile); diff --git a/src/app/mock-api/apps/chat/data.ts b/src/app/mock-api/apps/chat/data.ts index 15852d69..3d08e0ee 100644 --- a/src/app/mock-api/apps/chat/data.ts +++ b/src/app/mock-api/apps/chat/data.ts @@ -17,10 +17,10 @@ const _attachments = { 'assets/images/cards/05-320x200.jpg', 'assets/images/cards/06-320x200.jpg', 'assets/images/cards/07-320x200.jpg', - 'assets/images/cards/08-320x200.jpg' + 'assets/images/cards/08-320x200.jpg', ], docs : [], - links: [] + links: [], }; /** @@ -35,176 +35,251 @@ export const messages = [ chatId : '', contactId: 'me', value : 'Hi!', - createdAt: now.minus({week: 1}).set({hour: 18, minute: 56}).toISO() + createdAt: now.minus({week: 1}).set({ + hour : 18, + minute: 56, + }).toISO(), }, { id : 'eb82cf4b-fa93-4bf4-a88a-99e987ddb7ea', chatId : '', contactId: '', value : 'Hey, dude!', - createdAt: now.minus({week: 1}).set({hour: 19, minute: 4}).toISO() + createdAt: now.minus({week: 1}).set({ + hour : 19, + minute: 4, + }).toISO(), }, { id : '3cf9b2a6-ae54-47db-97b2-ee139a8f84e5', chatId : '', contactId: '', value : 'Long time no see.', - createdAt: now.minus({week: 1}).set({hour: 19, minute: 4}).toISO() + createdAt: now.minus({week: 1}).set({ + hour : 19, + minute: 4, + }).toISO(), }, { id : '2ab91b0f-fafb-45f3-88df-7efaff29134b', chatId : '', contactId: 'me', value : 'Yeah, man... Things were quite busy for me and my family.', - createdAt: now.minus({week: 1}).set({hour: 19, minute: 6}).toISO() + createdAt: now.minus({week: 1}).set({ + hour : 19, + minute: 6, + }).toISO(), }, { id : '10e81481-378f-49ac-b06b-7c59dcc639ae', chatId : '', contactId: '', value : 'What\'s up? Anything I can help with?', - createdAt: now.minus({week: 1}).set({hour: 19, minute: 6}).toISO() + createdAt: now.minus({week: 1}).set({ + hour : 19, + minute: 6, + }).toISO(), }, { id : '3b334e72-6605-4ebd-a4f6-3850067048de', chatId : '', contactId: 'me', value : 'We\'ve been on the move, changed 3 places over 4 months', - createdAt: now.minus({week: 1}).set({hour: 19, minute: 7}).toISO() + createdAt: now.minus({week: 1}).set({ + hour : 19, + minute: 7, + }).toISO(), }, { id : '25998113-3a96-4dd0-a7b9-4d2bb58db3f3', chatId : '', contactId: '', value : 'Wow! That\'s crazy! 🤯 What happened?', - createdAt: now.minus({week: 1}).set({hour: 19, minute: 7}).toISO() + createdAt: now.minus({week: 1}).set({ + hour : 19, + minute: 7, + }).toISO(), }, { id : '30adb3da-0e4f-487e-aec2-6d9f31e097f6', chatId : '', contactId: 'me', value : 'You know I got a job in that big software company. First move was because of that.', - createdAt: now.minus({week: 1}).set({hour: 19, minute: 8}).toISO() + createdAt: now.minus({week: 1}).set({ + hour : 19, + minute: 8, + }).toISO(), }, { id : 'c0d6fd6e-d294-4845-8751-e84b8f2c4d3b', chatId : '', contactId: 'me', value : 'Then they decided to re-locate me after a month', - createdAt: now.minus({week: 1}).set({hour: 19, minute: 8}).toISO() + createdAt: now.minus({week: 1}).set({ + hour : 19, + minute: 8, + }).toISO(), }, { id : '8d3c442b-62fa-496f-bffa-210ff5c1866b', chatId : '', contactId: 'me', value : 'Which was an absolute pain because we just set up everything, house, kids school and all that.', - createdAt: now.minus({week: 1}).set({hour: 19, minute: 8}).toISO() + createdAt: now.minus({week: 1}).set({ + hour : 19, + minute: 8, + }).toISO(), }, { id : '3cf26ef0-e81f-4698-ac39-487454413332', chatId : '', contactId: 'me', value : 'So we moved the second time.', - createdAt: now.minus({week: 1}).set({hour: 19, minute: 9}).toISO() + createdAt: now.minus({week: 1}).set({ + hour : 19, + minute: 9, + }).toISO(), }, { id : '415151b9-9ee9-40a4-a4ad-2d88146bc71b', chatId : '', contactId: '', value : 'It\'s crazy!', - createdAt: now.minus({week: 1}).set({hour: 19, minute: 9}).toISO() + createdAt: now.minus({week: 1}).set({ + hour : 19, + minute: 9, + }).toISO(), }, { id : '3a2d3a0e-839b-46e7-86ae-ca0826ecda7c', chatId : '', contactId: 'me', value : 'Then this virus thing happened and just after a week we moved in, they decided the whole department will be working remotely.', - createdAt: now.minus({week: 1}).set({hour: 19, minute: 10}).toISO() + createdAt: now.minus({week: 1}).set({ + hour : 19, + minute: 10, + }).toISO(), }, { id : '5329c20d-6754-47ec-af8c-660c72be3528', chatId : '', contactId: 'me', value : 'And then we decided to move back our first location because, you know, everything was already setup so that\'s the third time.', - createdAt: now.minus({week: 1}).set({hour: 19, minute: 10}).toISO() + createdAt: now.minus({week: 1}).set({ + hour : 19, + minute: 10, + }).toISO(), }, { id : '415151b9-9ee9-40a4-a4ad-2d88146bc71b', chatId : '', contactId: '', value : 'Ohh dude, I\'m really sorry you had to go through all that in such a short period of time', - createdAt: now.minus({week: 1}).set({hour: 19, minute: 11}).toISO() + createdAt: now.minus({week: 1}).set({ + hour : 19, + minute: 11, + }).toISO(), }, { id : 'ea7662d5-7b72-4c19-ad6c-f80320541001', chatId : '', contactId: '', value : '😕', - createdAt: now.minus({week: 1}).set({hour: 19, minute: 11}).toISO() + createdAt: now.minus({week: 1}).set({ + hour : 19, + minute: 11, + }).toISO(), }, { id : '3a2d3a0e-839b-46e7-86ae-ca0826ecda7c', chatId : '', contactId: 'me', value : 'Thanks, man! It was good catching up with you.', - createdAt: now.minus({week: 1}).set({hour: 19, minute: 11}).toISO() + createdAt: now.minus({week: 1}).set({ + hour : 19, + minute: 11, + }).toISO(), }, { id : '5329c20d-6754-47ec-af8c-660c72be3528', chatId : '', contactId: '', value : 'Yeah dude. Hit me again next week so we can grab a coffee, remotely!', - createdAt: now.minus({week: 1}).set({hour: 19, minute: 12}).toISO() + createdAt: now.minus({week: 1}).set({ + hour : 19, + minute: 12, + }).toISO(), }, { id : '5329c20d-6754-47ec-af8c-660c72be3528', chatId : '', contactId: 'me', value : ':) Sure, man! See you next week!', - createdAt: now.minus({week: 1}).set({hour: 19, minute: 12}).toISO() + createdAt: now.minus({week: 1}).set({ + hour : 19, + minute: 12, + }).toISO(), }, { id : '5329c20d-6754-47ec-af8c-660c72be3528', chatId : '', contactId: '', value : 'See you later!', - createdAt: now.minus({week: 1}).set({hour: 19, minute: 12}).toISO() + createdAt: now.minus({week: 1}).set({ + hour : 19, + minute: 12, + }).toISO(), }, { id : 'bab8ca0e-b8e5-4375-807b-1c91fca25a5d', chatId : '', contactId: 'me', value : 'Hey! Are you available right now? How about if we grab that coffee today? Remotely, of course :)', - createdAt: now.set({hour: 12, minute: 45}).toISO() + createdAt: now.set({ + hour : 12, + minute: 45, + }).toISO(), }, { id : '8445a84d-599d-4e2d-a31c-5f4f29ad2b4c', chatId : '', contactId: '', value : 'Hi!', - createdAt: now.set({hour: 12, minute: 56}).toISO() + createdAt: now.set({ + hour : 12, + minute: 56, + }).toISO(), }, { id : '9f506742-50da-4350-af9d-61e53392fa08', chatId : '', contactId: '', value : 'Sure thing! I\'m gonna call you in 5, is it okay?', - createdAt: now.set({hour: 12, minute: 56}).toISO() + createdAt: now.set({ + hour : 12, + minute: 56, + }).toISO(), }, { id : 'ca8523d8-faed-45f7-af09-f6bd5c3f3875', chatId : '', contactId: 'me', value : 'Awesome! Call me in 5 minutes..', - createdAt: now.set({hour: 12, minute: 58}).toISO() + createdAt: now.set({ + hour : 12, + minute: 58, + }).toISO(), }, { id : '39944b00-1ffe-4ffb-8ca6-13c292812e06', chatId : '', contactId: '', value : '👍🏻', - createdAt: now.set({hour: 13, minute: 0}).toISO() - } + createdAt: now.set({ + hour : 13, + minute: 0, + }).toISO(), + }, ]; export const chats = [ { @@ -213,7 +288,7 @@ export const chats = [ unreadCount : 2, muted : false, lastMessage : 'See you tomorrow!', - lastMessageAt: '26/04/2021' + lastMessageAt: '26/04/2021', }, { id : '4459a3f0-b65e-4df2-8c37-6ec72fcc4b31', @@ -221,7 +296,7 @@ export const chats = [ unreadCount : 0, muted : false, lastMessage : 'See you tomorrow!', - lastMessageAt: '26/04/2021' + lastMessageAt: '26/04/2021', }, { id : 'f73a5a34-a723-4b35-8439-5289e0164c83', @@ -229,7 +304,7 @@ export const chats = [ unreadCount : 1, muted : false, lastMessage : 'See you tomorrow!', - lastMessageAt: '26/04/2021' + lastMessageAt: '26/04/2021', }, { id : '747f101c-0371-4ca3-9f20-cb913a80fe89', @@ -237,7 +312,7 @@ export const chats = [ unreadCount : 0, muted : true, lastMessage : 'See you tomorrow!', - lastMessageAt: '26/04/2021' + lastMessageAt: '26/04/2021', }, { id : 'b3facfc4-dfc2-4ac2-b55d-cb70b3e68419', @@ -245,7 +320,7 @@ export const chats = [ unreadCount : 0, muted : false, lastMessage : 'See you tomorrow!', - lastMessageAt: '26/04/2021' + lastMessageAt: '26/04/2021', }, { id : 'e3127982-9e53-4611-ac27-eb70c84be4aa', @@ -253,7 +328,7 @@ export const chats = [ unreadCount : 0, muted : false, lastMessage : 'See you tomorrow!', - lastMessageAt: '26/04/2021' + lastMessageAt: '26/04/2021', }, { id : 'a30351f3-bfa6-4ce3-b13a-82748fe0edee', @@ -261,7 +336,7 @@ export const chats = [ unreadCount : 0, muted : false, lastMessage : 'See you tomorrow!', - lastMessageAt: '26/04/2021' + lastMessageAt: '26/04/2021', }, { id : '5636c0ba-fa47-42ca-9160-27340583041e', @@ -269,7 +344,7 @@ export const chats = [ unreadCount : 0, muted : false, lastMessage : 'See you tomorrow!', - lastMessageAt: '26/04/2021' + lastMessageAt: '26/04/2021', }, { id : 'feddd91a-51af-48d8-99b0-cd99ee060a36', @@ -277,7 +352,7 @@ export const chats = [ unreadCount : 0, muted : false, lastMessage : 'See you tomorrow!', - lastMessageAt: '26/04/2021' + lastMessageAt: '26/04/2021', }, { id : '89421c2f-1751-4040-b09b-4a4268db47b9', @@ -285,14 +360,14 @@ export const chats = [ unreadCount : 0, muted : true, lastMessage : 'See you tomorrow!', - lastMessageAt: '26/04/2021' + lastMessageAt: '26/04/2021', }, { id : 'ffbbfdb4-0485-44aa-8521-5ce1eda3fd2f', contactId : '81fdc48c-5572-4123-8a73-71b7892120de', muted : false, lastMessage : 'See you tomorrow!', - lastMessageAt: '26/04/2021' + lastMessageAt: '26/04/2021', }, { id : 'a477baea-df90-4e2f-b108-7791bcd50bc8', @@ -300,7 +375,7 @@ export const chats = [ unreadCount : 0, muted : false, lastMessage : 'See you tomorrow!', - lastMessageAt: '26/04/2021' + lastMessageAt: '26/04/2021', }, { id : '450840c8-aa0b-47a4-b6ca-b864ad9a3a88', @@ -308,7 +383,7 @@ export const chats = [ unreadCount : 0, muted : false, lastMessage : 'See you tomorrow!', - lastMessageAt: '26/04/2021' + lastMessageAt: '26/04/2021', }, { id : '427270f0-841c-47f9-912c-3fd8139db5e6', @@ -316,7 +391,7 @@ export const chats = [ unreadCount : 0, muted : false, lastMessage : 'See you tomorrow!', - lastMessageAt: '26/04/2021' + lastMessageAt: '26/04/2021', }, { id : '491b2918-e71e-4017-919e-0ba009afd003', @@ -324,8 +399,8 @@ export const chats = [ unreadCount : 0, muted : false, lastMessage : 'See you tomorrow!', - lastMessageAt: '26/04/2021' - } + lastMessageAt: '26/04/2021', + }, ]; export const contacts = [ { @@ -337,31 +412,31 @@ export const contacts = [ emails : [ { email: 'dejesusmichael@mail.org', - label: 'Personal' + label: 'Personal', }, { email: 'michael.dejesus@vitricomp.io', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'bs', phoneNumber: '984 531 2468', - label : 'Mobile' + label : 'Mobile', }, { country : 'bs', phoneNumber: '806 470 2693', - label : 'Work' - } + label : 'Work', + }, ], title : 'Track Service Worker', company : 'Vitricomp', birthday : '1975-01-10T12:00:00.000Z', - address : '279 Independence Avenue, Calvary, Guam, PO4127' + address : '279 Independence Avenue, Calvary, Guam, PO4127', }, - attachments: _attachments + attachments: _attachments, }, { id : 'beec5287-ed50-4504-858a-5dc3f8ce6935', @@ -372,26 +447,26 @@ export const contacts = [ emails : [ { email: 'denamolina@mail.us', - label: 'Personal' + label: 'Personal', }, { email: 'molina.dena@envire.tv', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'io', phoneNumber: '934 537 3180', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Weather Analyst', company : 'Envire', birthday : '1994-12-05T12:00:00.000Z', - address : '856 Woodside Avenue, Alfarata, Iowa, PO4992' + address : '856 Woodside Avenue, Alfarata, Iowa, PO4992', }, - attachments: _attachments + attachments: _attachments, }, { id : '9d3f0e7f-dcbd-4e56-a5e8-87b8154e9edf', @@ -402,26 +477,26 @@ export const contacts = [ emails : [ { email: 'bernardlangley@mail.com', - label: 'Personal' + label: 'Personal', }, { email: 'langley.bernard@boilcat.name', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'md', phoneNumber: '893 548 2862', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Electromedical Equipment Technician', company : 'Boilcat', birthday : '1988-05-26T12:00:00.000Z', - address : '943 Adler Place, Hamilton, South Dakota, PO5592' + address : '943 Adler Place, Hamilton, South Dakota, PO5592', }, - attachments: _attachments + attachments: _attachments, }, { id : '42a5da95-5e6d-42fd-a09d-de755d123a47', @@ -432,35 +507,35 @@ export const contacts = [ emails : [ { email: 'mclaughlinsteele@mail.me', - label: 'Personal' + label: 'Personal', }, { email: 'steele.mclaughlin@accel.info', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'va', phoneNumber: '830 484 3813', - label : 'Mobile' + label : 'Mobile', }, { country : 'va', phoneNumber: '999 475 2789', - label : 'Work' + label : 'Work', }, { country : 'va', phoneNumber: '933 406 3598', - label : 'Home' - } + label : 'Home', + }, ], company : 'Accel', birthday : '1968-08-13T12:00:00.000Z', - address : '334 Sandford Street, Savage, Virgin Islands, PO1858' + address : '334 Sandford Street, Savage, Virgin Islands, PO1858', }, - attachments: _attachments + attachments: _attachments, }, { id : 'a7806ced-03f1-4197-8b30-00bdd463366b', @@ -471,27 +546,27 @@ export const contacts = [ emails : [ { email: 'marshcochran@mail.biz', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'tz', phoneNumber: '864 401 3980', - label : 'Mobile' + label : 'Mobile', }, { country : 'tz', phoneNumber: '956 546 2589', - label : 'Work' - } + label : 'Work', + }, ], title : 'Fundraising Director', company : 'Xsports', birthday : '1983-12-22T12:00:00.000Z', - address : '487 Hamilton Walk, Bergoo, American Samoa, PO5616' + address : '487 Hamilton Walk, Bergoo, American Samoa, PO5616', }, - attachments: _attachments + attachments: _attachments, }, { id : 'f4ad15d9-5a24-463a-88ea-6189d6bb3a53', @@ -502,36 +577,36 @@ export const contacts = [ emails : [ { email: 'parrishaustin@mail.co.uk', - label: 'Personal' + label: 'Personal', }, { email: 'austin.parrish@insource.net', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'lv', phoneNumber: '834 426 3574', - label : 'Mobile' + label : 'Mobile', }, { country : 'lv', phoneNumber: '816 573 3694', - label : 'Work' + label : 'Work', }, { country : 'lv', phoneNumber: '967 515 2009', - label : 'Home' - } + label : 'Home', + }, ], title : 'Motor Winder', company : 'Insource', birthday : '1963-08-24T12:00:00.000Z', - address : '610 Harbor Lane, Cascades, Minnesota, PO8639' + address : '610 Harbor Lane, Cascades, Minnesota, PO8639', }, - attachments: _attachments + attachments: _attachments, }, { id : '780d0111-5e5c-4694-8d1d-0ea421971fbf', @@ -542,27 +617,27 @@ export const contacts = [ emails : [ { email: 'lavernedodson@mail.ca', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'ar', phoneNumber: '964 417 2318', - label : 'Mobile' + label : 'Mobile', }, { country : 'ar', phoneNumber: '830 410 2506', - label : 'Work' - } + label : 'Work', + }, ], title : 'Television News Producer', company : 'Lovepad', birthday : '1973-09-25T12:00:00.000Z', - address : '428 Newport Street, Neahkahnie, Arkansas, PO8324' + address : '428 Newport Street, Neahkahnie, Arkansas, PO8324', }, - attachments: _attachments + attachments: _attachments, }, { id : 'bf172879-423a-4fd6-8df3-6d1938bbfe1f', @@ -573,36 +648,36 @@ export const contacts = [ emails : [ { email: 'edwardsmckenzie@mail.org', - label: 'Personal' + label: 'Personal', }, { email: 'mckenzie.edwards@bugsall.io', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'pe', phoneNumber: '934 519 2903', - label : 'Mobile' + label : 'Mobile', }, { country : 'pe', phoneNumber: '989 489 3662', - label : 'Work' + label : 'Work', }, { country : 'pe', phoneNumber: '813 461 2790', - label : 'Home' - } + label : 'Home', + }, ], title : 'Legal Assistant', company : 'Bugsall', birthday : '1988-07-27T12:00:00.000Z', - address : '384 Polhemus Place, Dalton, Palau, PO6038' + address : '384 Polhemus Place, Dalton, Palau, PO6038', }, - attachments: _attachments + attachments: _attachments, }, { id : '1eaa3213-ece2-4ba6-8e15-eb36ca388f50', @@ -613,26 +688,26 @@ export const contacts = [ emails : [ { email: 'trudyberg@mail.us', - label: 'Personal' + label: 'Personal', }, { email: 'berg.trudy@satiance.tv', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'ls', phoneNumber: '912 539 2770', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Meteorologist', company : 'Satiance', birthday : '1989-12-15T12:00:00.000Z', - address : '945 Jerome Avenue, Riceville, North Carolina, PO1625' + address : '945 Jerome Avenue, Riceville, North Carolina, PO1625', }, - attachments: _attachments + attachments: _attachments, }, { id : 'abd9e78b-9e96-428f-b3ff-4d934c401bee', @@ -643,31 +718,31 @@ export const contacts = [ emails : [ { email: 'elsiemelendez@mail.com', - label: 'Personal' + label: 'Personal', }, { email: 'melendez.elsie@chillium.name', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'tg', phoneNumber: '907 515 3007', - label : 'Mobile' + label : 'Mobile', }, { country : 'tg', phoneNumber: '967 534 2803', - label : 'Work' - } + label : 'Work', + }, ], title : 'Fundraising Director', company : 'Chillium', birthday : '1980-06-28T12:00:00.000Z', - address : '428 Varanda Place, Veyo, Oklahoma, PO6188' + address : '428 Varanda Place, Veyo, Oklahoma, PO6188', }, - attachments: _attachments + attachments: _attachments, }, { id : 'efae92cc-3bd1-4c6a-a395-b6760c69bd55', @@ -678,32 +753,32 @@ export const contacts = [ emails : [ { email: 'lambunderwood@mail.me', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'pf', phoneNumber: '855 517 2767', - label : 'Mobile' + label : 'Mobile', }, { country : 'pf', phoneNumber: '906 442 3593', - label : 'Work' + label : 'Work', }, { country : 'pf', phoneNumber: '905 402 2121', - label : 'Home' - } + label : 'Home', + }, ], title : 'Legal Assistant', company : 'Exotechno', birthday : '1990-07-26T12:00:00.000Z', - address : '609 Greenpoint Avenue, Beason, Vermont, PO5229' + address : '609 Greenpoint Avenue, Beason, Vermont, PO5229', }, - attachments: _attachments + attachments: _attachments, }, { id : 'bde636a7-c3d2-4bff-939a-aab11df1516b', @@ -714,32 +789,32 @@ export const contacts = [ emails : [ { email: 'tessavaldez@mail.info', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'dz', phoneNumber: '892 430 2631', - label : 'Mobile' + label : 'Mobile', }, { country : 'dz', phoneNumber: '997 525 2354', - label : 'Work' + label : 'Work', }, { country : 'dz', phoneNumber: '907 472 2857', - label : 'Home' - } + label : 'Home', + }, ], title : 'Banker Mason', company : 'Securia', birthday : '1994-01-10T12:00:00.000Z', - address : '183 Crosby Avenue, Blanco, Mississippi, PO3463' + address : '183 Crosby Avenue, Blanco, Mississippi, PO3463', }, - attachments: _attachments + attachments: _attachments, }, { id : '6519600a-5eaa-45f8-8bed-c46fddb3b26a', @@ -750,31 +825,31 @@ export const contacts = [ emails : [ { email: 'mcleodwagner@mail.biz', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'at', phoneNumber: '977 590 2773', - label : 'Mobile' + label : 'Mobile', }, { country : 'at', phoneNumber: '828 496 3813', - label : 'Work' + label : 'Work', }, { country : 'at', phoneNumber: '831 432 2512', - label : 'Home' - } + label : 'Home', + }, ], company : 'Inrt', birthday : '1980-12-03T12:00:00.000Z', - address : '736 Glen Street, Kaka, West Virginia, PO9350' + address : '736 Glen Street, Kaka, West Virginia, PO9350', }, - attachments: _attachments + attachments: _attachments, }, { id : '6d80a6f6-2884-4ac4-9c73-06b82c220017', @@ -785,36 +860,36 @@ export const contacts = [ emails : [ { email: 'kristiehall@mail.co.uk', - label: 'Personal' + label: 'Personal', }, { email: 'hall.kristie@austech.net', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'tn', phoneNumber: '841 530 3641', - label : 'Mobile' + label : 'Mobile', }, { country : 'tn', phoneNumber: '941 410 3743', - label : 'Work' + label : 'Work', }, { country : 'tn', phoneNumber: '938 599 3850', - label : 'Home' - } + label : 'Home', + }, ], title : 'Electromedical Equipment Technician', company : 'Austech', birthday : '1975-08-31T12:00:00.000Z', - address : '547 Revere Place, Hoehne, New Hampshire, PO2125' + address : '547 Revere Place, Hoehne, New Hampshire, PO2125', }, - attachments: _attachments + attachments: _attachments, }, { id : '35190d23-036e-44ef-b545-cc744c626edd', @@ -825,32 +900,32 @@ export const contacts = [ emails : [ { email: 'shannonkennedy@mail.ca', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'gb', phoneNumber: '899 508 2992', - label : 'Mobile' + label : 'Mobile', }, { country : 'gb', phoneNumber: '834 499 3354', - label : 'Work' + label : 'Work', }, { country : 'gb', phoneNumber: '834 526 3388', - label : 'Home' - } + label : 'Home', + }, ], title : 'Gas Meter Mechanic', company : 'Eventix', birthday : '1994-09-07T12:00:00.000Z', - address : '480 Chase Court, Edinburg, Kansas, PO5357' + address : '480 Chase Court, Edinburg, Kansas, PO5357', }, - attachments: _attachments + attachments: _attachments, }, { id : 'b018c194-68ec-4915-ab56-e9f3bd2d98db', @@ -861,36 +936,36 @@ export const contacts = [ emails : [ { email: 'marthaswanson@mail.org', - label: 'Personal' + label: 'Personal', }, { email: 'swanson.martha@sequitur.io', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'gb', phoneNumber: '844 480 3309', - label : 'Mobile' + label : 'Mobile', }, { country : 'gb', phoneNumber: '981 591 3239', - label : 'Work' + label : 'Work', }, { country : 'gb', phoneNumber: '923 484 3147', - label : 'Home' - } + label : 'Home', + }, ], title : 'Short Story Writer', company : 'Sequitur', birthday : '1993-12-31T12:00:00.000Z', - address : '595 Howard Place, Convent, Rhode Island, PO6993' + address : '595 Howard Place, Convent, Rhode Island, PO6993', }, - attachments: _attachments + attachments: _attachments, }, { id : 'b7c355e9-e003-467e-82d2-4f6978c1a696', @@ -901,26 +976,26 @@ export const contacts = [ emails : [ { email: 'jacklynmorgan@mail.us', - label: 'Personal' + label: 'Personal', }, { email: 'morgan.jacklyn@shopabout.tv', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'so', phoneNumber: '974 542 2061', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Animal Sitter', company : 'Shopabout', birthday : '1976-09-30T12:00:00.000Z', - address : '971 Conover Street, Statenville, Louisiana, PO6622' + address : '971 Conover Street, Statenville, Louisiana, PO6622', }, - attachments: _attachments + attachments: _attachments, }, { id : 'cfa07b7c-93d1-42e7-9592-493d9efc78ae', @@ -931,31 +1006,31 @@ export const contacts = [ emails : [ { email: 'tonyabowers@mail.com', - label: 'Personal' + label: 'Personal', }, { email: 'bowers.tonya@tourmania.name', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'tv', phoneNumber: '922 585 2914', - label : 'Mobile' + label : 'Mobile', }, { country : 'tv', phoneNumber: '913 538 2961', - label : 'Work' - } + label : 'Work', + }, ], title : 'Track Service Worker', company : 'Tourmania', birthday : '1976-06-14T12:00:00.000Z', - address : '197 Marconi Place, Welda, Delaware, PO6061' + address : '197 Marconi Place, Welda, Delaware, PO6061', }, - attachments: _attachments + attachments: _attachments, }, { id : '00feeb63-c83a-4655-a37e-a07da10cfa1c', @@ -966,32 +1041,32 @@ export const contacts = [ emails : [ { email: 'latonyacruz@mail.me', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'tm', phoneNumber: '981 508 2080', - label : 'Mobile' + label : 'Mobile', }, { country : 'tm', phoneNumber: '817 425 2052', - label : 'Work' + label : 'Work', }, { country : 'tm', phoneNumber: '939 434 3805', - label : 'Home' - } + label : 'Home', + }, ], title : 'Motor Winder', company : 'Zilch', birthday : '1967-11-28T12:00:00.000Z', - address : '775 Dahill Road, Iberia, California, PO2169' + address : '775 Dahill Road, Iberia, California, PO2169', }, - attachments: _attachments + attachments: _attachments, }, { id : '142abf21-e635-4a7d-9330-e57f66adcdbe', @@ -1002,32 +1077,32 @@ export const contacts = [ emails : [ { email: 'evangelinamcclain@mail.info', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'ck', phoneNumber: '992 583 3187', - label : 'Mobile' + label : 'Mobile', }, { country : 'ck', phoneNumber: '881 472 3297', - label : 'Work' + label : 'Work', }, { country : 'ck', phoneNumber: '846 477 3596', - label : 'Home' - } + label : 'Home', + }, ], title : 'Congressional Representative', company : 'Straloy', birthday : '1976-02-15T12:00:00.000Z', - address : '305 Columbia Street, Dupuyer, Puerto Rico, PO8744' + address : '305 Columbia Street, Dupuyer, Puerto Rico, PO8744', }, - attachments: _attachments + attachments: _attachments, }, { id : 'e4f255a3-b5dd-45a7-975f-c399604a399a', @@ -1038,27 +1113,27 @@ export const contacts = [ emails : [ { email: 'herringgonzales@mail.biz', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'ai', phoneNumber: '995 411 2513', - label : 'Mobile' + label : 'Mobile', }, { country : 'ai', phoneNumber: '839 492 2760', - label : 'Work' - } + label : 'Work', + }, ], title : 'Gas Meter Mechanic', company : 'Cubix', birthday : '1995-02-16T12:00:00.000Z', - address : '195 Brooklyn Road, Jeff, Marshall Islands, PO2943' + address : '195 Brooklyn Road, Jeff, Marshall Islands, PO2943', }, - attachments: _attachments + attachments: _attachments, }, { id : 'ab4f712d-d712-41a8-b567-be4c66c349a3', @@ -1069,27 +1144,27 @@ export const contacts = [ emails : [ { email: 'alycecash@mail.co.uk', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'ht', phoneNumber: '969 499 3077', - label : 'Mobile' + label : 'Mobile', }, { country : 'ht', phoneNumber: '907 513 2784', - label : 'Work' - } + label : 'Work', + }, ], title : 'Weather Analyst', company : 'Qnekt', birthday : '1973-12-19T12:00:00.000Z', - address : '964 Henry Street, Eureka, Indiana, PO1035' + address : '964 Henry Street, Eureka, Indiana, PO1035', }, - attachments: _attachments + attachments: _attachments, }, { id : '5d067800-c301-46c6-a7f7-28dc89d9a554', @@ -1100,26 +1175,26 @@ export const contacts = [ emails : [ { email: 'kristinepacheco@mail.net', - label: 'Personal' + label: 'Personal', }, { email: 'pacheco.kristine@vurbo.ca', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'mm', phoneNumber: '977 516 2492', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Short Story Writer', company : 'Vurbo', birthday : '1985-10-22T12:00:00.000Z', - address : '622 Dodworth Street, Rose, Arizona, PO9530' + address : '622 Dodworth Street, Rose, Arizona, PO9530', }, - attachments: _attachments + attachments: _attachments, }, { id : 'c500255a-1173-47d0-a0e4-4944d48fc12a', @@ -1130,22 +1205,22 @@ export const contacts = [ emails : [ { email: 'englishhaney@mail.org', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'lb', phoneNumber: '989 567 3834', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Meteorologist', company : 'Photobin', birthday : '1969-09-05T12:00:00.000Z', - address : '579 Pooles Lane, Belleview, Montana, PO4106' + address : '579 Pooles Lane, Belleview, Montana, PO4106', }, - attachments: _attachments + attachments: _attachments, }, { id : 'b62359fd-f2a8-46e6-904e-31052d1cd675', @@ -1156,26 +1231,26 @@ export const contacts = [ emails : [ { email: 'josephstrickland@mail.io', - label: 'Personal' + label: 'Personal', }, { email: 'strickland.joseph@bytrex.us', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'jo', phoneNumber: '990 450 2729', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Hotel Manager', company : 'Bytrex', birthday : '1991-09-08T12:00:00.000Z', - address : '844 Ellery Street, Hondah, Texas, PO1272' + address : '844 Ellery Street, Hondah, Texas, PO1272', }, - attachments: _attachments + attachments: _attachments, }, { id : '16b9e696-ea95-4dd8-86c4-3caf705a1dc6', @@ -1186,22 +1261,22 @@ export const contacts = [ emails : [ { email: 'nunezfaulkner@mail.tv', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'xk', phoneNumber: '909 552 3327', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Hotel Manager', company : 'Buzzopia', birthday : '1982-01-23T12:00:00.000Z', - address : '614 Herkimer Court, Darrtown, Nebraska, PO9308' + address : '614 Herkimer Court, Darrtown, Nebraska, PO9308', }, - attachments: _attachments + attachments: _attachments, }, { id : '19662ecf-0686-4aad-a46c-24b552eb2ff5', @@ -1212,22 +1287,22 @@ export const contacts = [ emails : [ { email: 'juanamorrow@mail.com', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'ee', phoneNumber: '868 438 3943', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Meteorologist', company : 'Lyria', birthday : '1992-03-29T12:00:00.000Z', - address : '663 Drew Street, Juntura, Georgia, PO9857' + address : '663 Drew Street, Juntura, Georgia, PO9857', }, - attachments: _attachments + attachments: _attachments, }, { id : '26dfe954-8bf3-45ee-b285-1d0a88c8d3ea', @@ -1238,22 +1313,22 @@ export const contacts = [ emails : [ { email: 'laragaines@mail.name', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'mr', phoneNumber: '891 498 2043', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Electromedical Equipment Technician', company : 'Acruex', birthday : '1961-06-07T12:00:00.000Z', - address : '762 Troutman Street, Drummond, Oregon, PO6973' + address : '762 Troutman Street, Drummond, Oregon, PO6973', }, - attachments: _attachments + attachments: _attachments, }, { id : 'd6462af2-c488-4de7-9b26-3845bd2983f9', @@ -1264,32 +1339,32 @@ export const contacts = [ emails : [ { email: 'johnstonriddle@mail.me', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'bt', phoneNumber: '979 541 2691', - label : 'Mobile' + label : 'Mobile', }, { country : 'bt', phoneNumber: '909 407 3887', - label : 'Work' + label : 'Work', }, { country : 'bt', phoneNumber: '864 557 3128', - label : 'Home' - } + label : 'Home', + }, ], title : 'Hotel Manager', company : 'Xleen', birthday : '1972-09-13T12:00:00.000Z', - address : '674 Bryant Street, Grahamtown, Federated States Of Micronesia, PO2757' + address : '674 Bryant Street, Grahamtown, Federated States Of Micronesia, PO2757', }, - attachments: _attachments + attachments: _attachments, }, { id : 'a1723c04-69fe-4573-a135-6645658afe76', @@ -1300,26 +1375,26 @@ export const contacts = [ emails : [ { email: 'vargasgardner@mail.info', - label: 'Personal' + label: 'Personal', }, { email: 'gardner.vargas@cosmosis.biz', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'bi', phoneNumber: '855 456 2754', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Bindery Machine Operator', company : 'Cosmosis', birthday : '1979-10-21T12:00:00.000Z', - address : '869 Seton Place, Chemung, Maine, PO8109' + address : '869 Seton Place, Chemung, Maine, PO8109', }, - attachments: _attachments + attachments: _attachments, }, { id : '823e6166-c0c8-4373-9270-8a0d17489a08', @@ -1330,32 +1405,32 @@ export const contacts = [ emails : [ { email: 'mccallday@mail.co.uk', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'se', phoneNumber: '993 504 3286', - label : 'Mobile' + label : 'Mobile', }, { country : 'se', phoneNumber: '924 434 2238', - label : 'Work' + label : 'Work', }, { country : 'se', phoneNumber: '816 466 2634', - label : 'Home' - } + label : 'Home', + }, ], title : 'Historiographer', company : 'Nipaz', birthday : '1964-03-05T12:00:00.000Z', - address : '854 Hanover Place, Harleigh, New Jersey, PO9459' + address : '854 Hanover Place, Harleigh, New Jersey, PO9459', }, - attachments: _attachments + attachments: _attachments, }, { id : '2c37ed00-427a-46d7-8f8f-d711c768d1ee', @@ -1366,27 +1441,27 @@ export const contacts = [ emails : [ { email: 'silvafoster@mail.net', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'bn', phoneNumber: '916 511 3837', - label : 'Mobile' + label : 'Mobile', }, { country : 'bn', phoneNumber: '949 564 3247', - label : 'Work' - } + label : 'Work', + }, ], title : 'Insurance Analyst', company : 'Extrawear', birthday : '1980-04-29T12:00:00.000Z', - address : '137 Bridge Street, Sisquoc, District Of Columbia, PO4105' + address : '137 Bridge Street, Sisquoc, District Of Columbia, PO4105', }, - attachments: _attachments + attachments: _attachments, }, { id : '944764c0-b261-4428-9188-bbd3022d66a8', @@ -1397,36 +1472,36 @@ export const contacts = [ emails : [ { email: 'cathrynsnider@mail.ca', - label: 'Personal' + label: 'Personal', }, { email: 'snider.cathryn@phormula.org', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'na', phoneNumber: '896 471 3036', - label : 'Mobile' + label : 'Mobile', }, { country : 'na', phoneNumber: '851 491 3567', - label : 'Work' + label : 'Work', }, { country : 'na', phoneNumber: '805 487 2016', - label : 'Home' - } + label : 'Home', + }, ], title : 'Short Story Writer', company : 'Phormula', birthday : '1981-06-09T12:00:00.000Z', - address : '528 Glenmore Avenue, Elrama, Illinois, PO2952' + address : '528 Glenmore Avenue, Elrama, Illinois, PO2952', }, - attachments: _attachments + attachments: _attachments, }, { id : 'f2b3c756-5ad2-4d4b-aee5-b32c91457128', @@ -1437,27 +1512,27 @@ export const contacts = [ emails : [ { email: 'mooneycantrell@mail.io', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'bh', phoneNumber: '915 577 3020', - label : 'Mobile' + label : 'Mobile', }, { country : 'bh', phoneNumber: '923 431 3594', - label : 'Work' - } + label : 'Work', + }, ], title : 'Fundraising Director', company : 'Crustatia', birthday : '1968-12-07T12:00:00.000Z', - address : '277 Coventry Road, Fairforest, Nevada, PO6031' + address : '277 Coventry Road, Fairforest, Nevada, PO6031', }, - attachments: _attachments + attachments: _attachments, }, { id : '54b1c201-4b2b-4be0-ad70-a6413e9628cd', @@ -1468,22 +1543,22 @@ export const contacts = [ emails : [ { email: 'saundramurphy@mail.us', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'mt', phoneNumber: '902 529 2999', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Dental Laboratory Worker', company : 'Zilencio', birthday : '1983-11-07T12:00:00.000Z', - address : '557 Monroe Street, Mayfair, Maryland, PO7200' + address : '557 Monroe Street, Mayfair, Maryland, PO7200', }, - attachments: _attachments + attachments: _attachments, }, { id : 'faf979c7-a13b-445a-b30a-08845f5fa90e', @@ -1494,27 +1569,27 @@ export const contacts = [ emails : [ { email: 'enidsparks@mail.tv', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'bh', phoneNumber: '813 410 3258', - label : 'Mobile' + label : 'Mobile', }, { country : 'bh', phoneNumber: '877 501 2767', - label : 'Work' - } + label : 'Work', + }, ], title : 'Historiographer', company : 'Skybold', birthday : '1984-05-04T12:00:00.000Z', - address : '219 Village Court, Keyport, Alabama, PO7776' + address : '219 Village Court, Keyport, Alabama, PO7776', }, - attachments: _attachments + attachments: _attachments, }, { id : '2bfa2be5-7688-48d5-b5ac-dc0d9ac97f14', @@ -1525,27 +1600,27 @@ export const contacts = [ emails : [ { email: 'nadiamcknight@mail.com', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'tk', phoneNumber: '943 511 2203', - label : 'Mobile' + label : 'Mobile', }, { country : 'tk', phoneNumber: '817 578 2993', - label : 'Work' - } + label : 'Work', + }, ], title : 'Legal Assistant', company : 'Pearlesex', birthday : '1973-10-06T12:00:00.000Z', - address : '448 Berriman Street, Reinerton, Washington, PO6704' + address : '448 Berriman Street, Reinerton, Washington, PO6704', }, - attachments: _attachments + attachments: _attachments, }, { id : '77a4383b-b5a5-4943-bc46-04c3431d1566', @@ -1556,26 +1631,26 @@ export const contacts = [ emails : [ { email: 'bestblackburn@mail.name', - label: 'Personal' + label: 'Personal', }, { email: 'blackburn.best@beadzza.me', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'gl', phoneNumber: '814 498 3701', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Hotel Manager', company : 'Beadzza', birthday : '1987-06-07T12:00:00.000Z', - address : '578 Tampa Court, Wescosville, Ohio, PO4108' + address : '578 Tampa Court, Wescosville, Ohio, PO4108', }, - attachments: _attachments + attachments: _attachments, }, { id : '8bb0f597-673a-47ca-8c77-2f83219cb9af', @@ -1586,32 +1661,32 @@ export const contacts = [ emails : [ { email: 'duncancarver@mail.info', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'jm', phoneNumber: '968 547 2111', - label : 'Mobile' + label : 'Mobile', }, { country : 'jm', phoneNumber: '968 433 3120', - label : 'Work' + label : 'Work', }, { country : 'jm', phoneNumber: '905 425 2777', - label : 'Home' - } + label : 'Home', + }, ], title : 'Historiographer', company : 'Hotcakes', birthday : '1980-09-15T12:00:00.000Z', - address : '931 Bristol Street, Why, South Carolina, PO9700' + address : '931 Bristol Street, Why, South Carolina, PO9700', }, - attachments: _attachments + attachments: _attachments, }, { id : 'c318e31f-1d74-49c5-8dae-2bc5805e2fdb', @@ -1622,32 +1697,32 @@ export const contacts = [ emails : [ { email: 'martinrichards@mail.biz', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'mg', phoneNumber: '902 500 2668', - label : 'Mobile' + label : 'Mobile', }, { country : 'mg', phoneNumber: '947 559 2919', - label : 'Work' + label : 'Work', }, { country : 'mg', phoneNumber: '934 434 3768', - label : 'Home' - } + label : 'Home', + }, ], title : 'Dental Laboratory Worker', company : 'Overfork', birthday : '1977-04-12T12:00:00.000Z', - address : '268 Hutchinson Court, Drytown, Florida, PO3041' + address : '268 Hutchinson Court, Drytown, Florida, PO3041', }, - attachments: _attachments + attachments: _attachments, }, { id : '0a8bc517-631a-4a93-aacc-000fa2e8294c', @@ -1658,22 +1733,22 @@ export const contacts = [ emails : [ { email: 'candicemunoz@mail.co.uk', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'fm', phoneNumber: '838 562 2769', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Legal Assistant', company : 'Eclipto', birthday : '1976-09-09T12:00:00.000Z', - address : '946 Remsen Street, Caroline, New Mexico, PO3247' + address : '946 Remsen Street, Caroline, New Mexico, PO3247', }, - attachments: _attachments + attachments: _attachments, }, { id : 'a4c9945a-757b-40b0-8942-d20e0543cabd', @@ -1684,27 +1759,27 @@ export const contacts = [ emails : [ { email: 'vickiemosley@mail.net', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'tr', phoneNumber: '939 555 3054', - label : 'Mobile' + label : 'Mobile', }, { country : 'tr', phoneNumber: '852 486 2053', - label : 'Work' - } + label : 'Work', + }, ], title : 'Bindery Machine Operator', company : 'Strozen', birthday : '1989-06-21T12:00:00.000Z', - address : '397 Vandalia Avenue, Rockingham, Michigan, PO8089' + address : '397 Vandalia Avenue, Rockingham, Michigan, PO8089', }, - attachments: _attachments + attachments: _attachments, }, { id : 'b8258ccf-48b5-46a2-9c95-e0bd7580c645', @@ -1715,27 +1790,27 @@ export const contacts = [ emails : [ { email: 'tinaharris@mail.ca', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'gp', phoneNumber: '933 464 2431', - label : 'Mobile' + label : 'Mobile', }, { country : 'gp', phoneNumber: '894 535 3609', - label : 'Work' - } + label : 'Work', + }, ], title : 'Short Story Writer', company : 'Gallaxia', birthday : '1976-09-10T12:00:00.000Z', - address : '821 Beverly Road, Tyro, Colorado, PO4248' + address : '821 Beverly Road, Tyro, Colorado, PO4248', }, - attachments: _attachments + attachments: _attachments, }, { id : 'f004ea79-98fc-436c-9ba5-6cfe32fe583d', @@ -1746,31 +1821,31 @@ export const contacts = [ emails : [ { email: 'holtmanning@mail.org', - label: 'Personal' + label: 'Personal', }, { email: 'manning.holt@idetica.io', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'nz', phoneNumber: '822 531 2600', - label : 'Mobile' + label : 'Mobile', }, { country : 'nz', phoneNumber: '922 549 2094', - label : 'Work' - } + label : 'Work', + }, ], title : 'Fundraising Director', company : 'Idetica', birthday : '1973-11-08T12:00:00.000Z', - address : '364 Porter Avenue, Delshire, Missouri, PO8911' + address : '364 Porter Avenue, Delshire, Missouri, PO8911', }, - attachments: _attachments + attachments: _attachments, }, { id : '8b69fe2d-d7cc-4a3d-983d-559173e37d37', @@ -1781,26 +1856,26 @@ export const contacts = [ emails : [ { email: 'mistyramsey@mail.us', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'kp', phoneNumber: '990 457 2106', - label : 'Mobile' + label : 'Mobile', }, { country : 'kp', phoneNumber: '918 550 2946', - label : 'Work' - } + label : 'Work', + }, ], company : 'Grupoli', birthday : '1969-08-10T12:00:00.000Z', - address : '101 Sackett Street, Naomi, Tennessee, PO6335' + address : '101 Sackett Street, Naomi, Tennessee, PO6335', }, - attachments: _attachments + attachments: _attachments, }, { id : 'cdcc62e4-1520-4ccc-803d-52868c7e01ba', @@ -1811,32 +1886,32 @@ export const contacts = [ emails : [ { email: 'deealvarado@mail.tv', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'nu', phoneNumber: '855 445 2483', - label : 'Mobile' + label : 'Mobile', }, { country : 'nu', phoneNumber: '858 415 2860', - label : 'Work' + label : 'Work', }, { country : 'nu', phoneNumber: '968 587 2752', - label : 'Home' - } + label : 'Home', + }, ], title : 'Dental Laboratory Worker', company : 'Tsunamia', birthday : '1996-06-17T12:00:00.000Z', - address : '956 Pierrepont Street, Crumpler, Hawaii, PO3299' + address : '956 Pierrepont Street, Crumpler, Hawaii, PO3299', }, - attachments: _attachments + attachments: _attachments, }, { id : 'e2946946-b4b5-4fd7-bab4-62c38cdff2f1', @@ -1847,22 +1922,22 @@ export const contacts = [ emails : [ { email: 'samanthajacobson@mail.com', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'es', phoneNumber: '879 591 3327', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Dental Laboratory Worker', company : 'Emoltra', birthday : '1972-02-04T12:00:00.000Z', - address : '384 Love Lane, Dyckesville, New York, PO4115' + address : '384 Love Lane, Dyckesville, New York, PO4115', }, - attachments: _attachments + attachments: _attachments, }, { id : 'fdc77706-6ba2-4397-b2f8-a9a0b6495153', @@ -1873,27 +1948,27 @@ export const contacts = [ emails : [ { email: 'rhealandry@mail.name', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'jp', phoneNumber: '906 579 3698', - label : 'Mobile' + label : 'Mobile', }, { country : 'jp', phoneNumber: '841 475 2681', - label : 'Work' - } + label : 'Work', + }, ], title : 'Electromedical Equipment Technician', company : 'Comtent', birthday : '1988-05-22T12:00:00.000Z', - address : '725 Arlington Avenue, Mathews, Wyoming, PO4562' + address : '725 Arlington Avenue, Mathews, Wyoming, PO4562', }, - attachments: _attachments + attachments: _attachments, }, { id : '12148fa2-e0a4-49fb-b3c5-daeecdb5180a', @@ -1904,36 +1979,36 @@ export const contacts = [ emails : [ { email: 'olgarhodes@mail.me', - label: 'Personal' + label: 'Personal', }, { email: 'rhodes.olga@moreganic.info', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'tl', phoneNumber: '971 514 3366', - label : 'Mobile' + label : 'Mobile', }, { country : 'tl', phoneNumber: '807 480 2033', - label : 'Work' + label : 'Work', }, { country : 'tl', phoneNumber: '810 528 3783', - label : 'Home' - } + label : 'Home', + }, ], title : 'Pastry Baker', company : 'Moreganic', birthday : '1971-08-13T12:00:00.000Z', - address : '253 Beard Street, Staples, Massachusetts, PO8089' + address : '253 Beard Street, Staples, Massachusetts, PO8089', }, - attachments: _attachments + attachments: _attachments, }, { id : '07dd64eb-8b8f-4765-a16c-8db083c45096', @@ -1944,32 +2019,32 @@ export const contacts = [ emails : [ { email: 'lorrainepennington@mail.biz', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'fm', phoneNumber: '932 404 3308', - label : 'Mobile' + label : 'Mobile', }, { country : 'fm', phoneNumber: '979 550 3200', - label : 'Work' + label : 'Work', }, { country : 'fm', phoneNumber: '868 557 3568', - label : 'Home' - } + label : 'Home', + }, ], title : 'Electromedical Equipment Technician', company : 'Marvane', birthday : '1967-06-10T12:00:00.000Z', - address : '962 Whitney Avenue, Sussex, North Dakota, PO5796' + address : '962 Whitney Avenue, Sussex, North Dakota, PO5796', }, - attachments: _attachments + attachments: _attachments, }, { id : '81fdc48c-5572-4123-8a73-71b7892120de', @@ -1980,26 +2055,26 @@ export const contacts = [ emails : [ { email: 'earlenerosales@mail.co.uk', - label: 'Personal' + label: 'Personal', }, { email: 'rosales.earlene@softmicro.net', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'ki', phoneNumber: '927 589 3619', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Historiographer', company : 'Softmicro', birthday : '1960-11-13T12:00:00.000Z', - address : '981 Kingston Avenue, Topaz, Connecticut, PO6866' + address : '981 Kingston Avenue, Topaz, Connecticut, PO6866', }, - attachments: _attachments + attachments: _attachments, }, { id : 'f8bbf6be-d49a-41a3-bb80-3d51df84c12b', @@ -2010,36 +2085,36 @@ export const contacts = [ emails : [ { email: 'marciahatfield@mail.ca', - label: 'Personal' + label: 'Personal', }, { email: 'hatfield.marcia@datagen.org', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'no', phoneNumber: '883 432 3718', - label : 'Mobile' + label : 'Mobile', }, { country : 'no', phoneNumber: '934 516 2135', - label : 'Work' + label : 'Work', }, { country : 'no', phoneNumber: '923 596 3843', - label : 'Home' - } + label : 'Home', + }, ], title : 'Track Service Worker', company : 'Datagen', birthday : '1980-02-26T12:00:00.000Z', - address : '802 Preston Court, Waikele, Pennsylvania, PO7421' + address : '802 Preston Court, Waikele, Pennsylvania, PO7421', }, - attachments: _attachments + attachments: _attachments, }, { id : 'cd482941-3eaf-4560-ac37-56a9296025df', @@ -2050,22 +2125,22 @@ export const contacts = [ emails : [ { email: 'lilianaayala@mail.io', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'bd', phoneNumber: '936 590 2412', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Insurance Analyst', company : 'Pharmex', birthday : '1988-04-27T12:00:00.000Z', - address : '935 Guider Avenue, Kipp, Wisconsin, PO5282' + address : '935 Guider Avenue, Kipp, Wisconsin, PO5282', }, - attachments: _attachments + attachments: _attachments, }, { id : '22f18d47-ff8d-440e-888d-a1747c093052', @@ -2076,32 +2151,32 @@ export const contacts = [ emails : [ { email: 'aliceharding@mail.us', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'sx', phoneNumber: '881 472 3113', - label : 'Mobile' + label : 'Mobile', }, { country : 'sx', phoneNumber: '974 548 3124', - label : 'Work' + label : 'Work', }, { country : 'sx', phoneNumber: '800 518 3615', - label : 'Home' - } + label : 'Home', + }, ], title : 'Track Service Worker', company : 'Futurity', birthday : '1985-09-17T12:00:00.000Z', - address : '387 Holt Court, Thomasville, Alaska, PO2867' + address : '387 Holt Court, Thomasville, Alaska, PO2867', }, - attachments: _attachments + attachments: _attachments, }, { id : 'a9a9f382-e4c3-42fb-9fe9-65aa534732b5', @@ -2112,31 +2187,31 @@ export const contacts = [ emails : [ { email: 'franciscaperkins@mail.tv', - label: 'Personal' + label: 'Personal', }, { email: 'perkins.francisca@overplex.com', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'au', phoneNumber: '830 430 3437', - label : 'Mobile' + label : 'Mobile', }, { country : 'au', phoneNumber: '868 538 2886', - label : 'Work' - } + label : 'Work', + }, ], title : 'Dental Laboratory Worker', company : 'Overplex', birthday : '1966-08-14T12:00:00.000Z', - address : '733 Delmonico Place, Belvoir, Virginia, PO7102' + address : '733 Delmonico Place, Belvoir, Virginia, PO7102', }, - attachments: _attachments + attachments: _attachments, }, { id : '0222b24b-c288-48d1-b356-0f087fa172f8', @@ -2147,36 +2222,36 @@ export const contacts = [ emails : [ { email: 'warrengates@mail.name', - label: 'Personal' + label: 'Personal', }, { email: 'gates.warren@qualitex.me', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'gt', phoneNumber: '847 513 2248', - label : 'Mobile' + label : 'Mobile', }, { country : 'gt', phoneNumber: '866 591 3665', - label : 'Work' + label : 'Work', }, { country : 'gt', phoneNumber: '877 539 3840', - label : 'Home' - } + label : 'Home', + }, ], title : 'Banker Mason', company : 'Qualitex', birthday : '1977-02-23T12:00:00.000Z', - address : '713 Fane Court, Lemoyne, Kentucky, PO3601' + address : '713 Fane Court, Lemoyne, Kentucky, PO3601', }, - attachments: _attachments + attachments: _attachments, }, { id : '0630f1ca-cdb9-405d-b134-68f733334089', @@ -2187,31 +2262,31 @@ export const contacts = [ emails : [ { email: 'maryannmcintyre@mail.info', - label: 'Personal' + label: 'Personal', }, { email: 'mcintyre.maryann@aquafire.biz', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'bf', phoneNumber: '861 419 2752', - label : 'Mobile' + label : 'Mobile', }, { country : 'bf', phoneNumber: '935 553 3031', - label : 'Work' - } + label : 'Work', + }, ], title : 'Fundraising Director', company : 'Aquafire', birthday : '1963-04-07T12:00:00.000Z', - address : '698 Brooklyn Avenue, Dixonville, Utah, PO2712' + address : '698 Brooklyn Avenue, Dixonville, Utah, PO2712', }, - attachments: _attachments + attachments: _attachments, }, { id : '999c24f3-7bb8-4a01-85ca-2fca7863c57e', @@ -2222,36 +2297,36 @@ export const contacts = [ emails : [ { email: 'sharonmarshall@mail.co.uk', - label: 'Personal' + label: 'Personal', }, { email: 'marshall.sharon@utara.net', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'fo', phoneNumber: '947 441 2999', - label : 'Mobile' + label : 'Mobile', }, { country : 'fo', phoneNumber: '984 441 2615', - label : 'Work' + label : 'Work', }, { country : 'fo', phoneNumber: '824 541 2714', - label : 'Home' - } + label : 'Home', + }, ], title : 'Legal Assistant', company : 'Utara', birthday : '1960-01-26T12:00:00.000Z', - address : '923 Ivan Court, Hatteras, Idaho, PO7573' + address : '923 Ivan Court, Hatteras, Idaho, PO7573', }, - attachments: _attachments + attachments: _attachments, }, { id : '7e8e1f1e-d19f-45c7-86bd-6fef599dae71', @@ -2262,36 +2337,36 @@ export const contacts = [ emails : [ { email: 'margowitt@mail.ca', - label: 'Personal' + label: 'Personal', }, { email: 'witt.margo@norsul.org', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'ao', phoneNumber: '992 596 3391', - label : 'Mobile' + label : 'Mobile', }, { country : 'ao', phoneNumber: '950 489 2505', - label : 'Work' + label : 'Work', }, { country : 'ao', phoneNumber: '891 540 2231', - label : 'Home' - } + label : 'Home', + }, ], title : 'Television News Producer', company : 'Norsul', birthday : '1975-08-31T12:00:00.000Z', - address : '539 Rockaway Avenue, Whitmer, Guam, PO4871' + address : '539 Rockaway Avenue, Whitmer, Guam, PO4871', }, - attachments: _attachments + attachments: _attachments, }, { id : 'bedcb6a2-da83-4631-866a-77d10d239477', @@ -2302,22 +2377,22 @@ export const contacts = [ emails : [ { email: 'alvaradoturner@mail.io', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'lv', phoneNumber: '961 537 3956', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Fundraising Director', company : 'Geologix', birthday : '1985-12-08T12:00:00.000Z', - address : '233 Willmohr Street, Cressey, Iowa, PO1962' + address : '233 Willmohr Street, Cressey, Iowa, PO1962', }, - attachments: _attachments + attachments: _attachments, }, { id : '66f9de1b-f842-4d4c-bb59-f97e91db0462', @@ -2328,36 +2403,36 @@ export const contacts = [ emails : [ { email: 'maldonadorodriquez@mail.us', - label: 'Personal' + label: 'Personal', }, { email: 'rodriquez.maldonado@zentility.tv', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'et', phoneNumber: '811 502 3398', - label : 'Mobile' + label : 'Mobile', }, { country : 'et', phoneNumber: '877 402 2443', - label : 'Work' + label : 'Work', }, { country : 'et', phoneNumber: '949 536 3451', - label : 'Home' - } + label : 'Home', + }, ], title : 'Dental Laboratory Worker', company : 'Zentility', birthday : '1993-06-01T12:00:00.000Z', - address : '916 Cobek Court, Morningside, South Dakota, PO2019' + address : '916 Cobek Court, Morningside, South Dakota, PO2019', }, - attachments: _attachments + attachments: _attachments, }, { id : '9cb0ea57-3461-4182-979b-593b0c1ec6c3', @@ -2368,36 +2443,36 @@ export const contacts = [ emails : [ { email: 'tranduke@mail.com', - label: 'Personal' + label: 'Personal', }, { email: 'duke.tran@splinx.name', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'si', phoneNumber: '837 503 2254', - label : 'Mobile' + label : 'Mobile', }, { country : 'si', phoneNumber: '893 405 3190', - label : 'Work' + label : 'Work', }, { country : 'si', phoneNumber: '931 402 3874', - label : 'Home' - } + label : 'Home', + }, ], title : 'Legal Assistant', company : 'Splinx', birthday : '1976-04-27T12:00:00.000Z', - address : '405 Canarsie Road, Richville, Virgin Islands, PO2744' + address : '405 Canarsie Road, Richville, Virgin Islands, PO2744', }, - attachments: _attachments + attachments: _attachments, }, { id : '2fb89a90-5622-4b5b-8df3-d49b85905392', @@ -2408,32 +2483,32 @@ export const contacts = [ emails : [ { email: 'estelalyons@mail.me', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'vg', phoneNumber: '864 459 3205', - label : 'Mobile' + label : 'Mobile', }, { country : 'vg', phoneNumber: '886 524 2880', - label : 'Work' + label : 'Work', }, { country : 'vg', phoneNumber: '815 484 3420', - label : 'Home' - } + label : 'Home', + }, ], title : 'Animal Sitter', company : 'Gonkle', birthday : '1968-03-11T12:00:00.000Z', - address : '540 Metrotech Courtr, Garfield, American Samoa, PO2290' + address : '540 Metrotech Courtr, Garfield, American Samoa, PO2290', }, - attachments: _attachments + attachments: _attachments, }, { id : '8141dd08-3a6e-4770-912c-59d0ed06dde6', @@ -2444,26 +2519,26 @@ export const contacts = [ emails : [ { email: 'madeleinefletcher@mail.info', - label: 'Personal' + label: 'Personal', }, { email: 'fletcher.madeleine@genmom.biz', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'uy', phoneNumber: '898 554 3354', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Fundraising Director', company : 'Genmom', birthday : '1970-07-15T12:00:00.000Z', - address : '825 Cherry Street, Foscoe, Minnesota, PO7290' + address : '825 Cherry Street, Foscoe, Minnesota, PO7290', }, - attachments: _attachments + attachments: _attachments, }, { id : '7585015c-ada2-4f88-998d-9646865d1ad2', @@ -2474,32 +2549,32 @@ export const contacts = [ emails : [ { email: 'meyerroach@mail.co.uk', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'uz', phoneNumber: '891 543 2053', - label : 'Mobile' + label : 'Mobile', }, { country : 'uz', phoneNumber: '842 564 3671', - label : 'Work' + label : 'Work', }, { country : 'uz', phoneNumber: '992 491 3514', - label : 'Home' - } + label : 'Home', + }, ], title : 'Electromedical Equipment Technician', company : 'Zentime', birthday : '1968-10-16T12:00:00.000Z', - address : '315 Albemarle Road, Allison, Arkansas, PO6008' + address : '315 Albemarle Road, Allison, Arkansas, PO6008', }, - attachments: _attachments + attachments: _attachments, }, { id : '32c73a6a-67f2-48a9-b2a1-b23da83187bb', @@ -2510,31 +2585,31 @@ export const contacts = [ emails : [ { email: 'boltonobrien@mail.net', - label: 'Personal' + label: 'Personal', }, { email: 'obrien.bolton@enersol.ca', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'tn', phoneNumber: '860 472 2458', - label : 'Mobile' + label : 'Mobile', }, { country : 'tn', phoneNumber: '887 499 3580', - label : 'Work' - } + label : 'Work', + }, ], title : 'Banker Mason', company : 'Enersol', birthday : '1968-09-08T12:00:00.000Z', - address : '818 Aviation Road, Geyserville, Palau, PO9655' + address : '818 Aviation Road, Geyserville, Palau, PO9655', }, - attachments: _attachments + attachments: _attachments, }, { id : '114642a2-ccb7-4cb1-ad2b-5e9b6a0c1d2e', @@ -2545,32 +2620,32 @@ export const contacts = [ emails : [ { email: 'barberjohnson@mail.org', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'az', phoneNumber: '928 567 2521', - label : 'Mobile' + label : 'Mobile', }, { country : 'az', phoneNumber: '898 515 2048', - label : 'Work' + label : 'Work', }, { country : 'az', phoneNumber: '935 495 3348', - label : 'Home' - } + label : 'Home', + }, ], title : 'Talent Manager', company : 'Zounds', birthday : '1967-03-02T12:00:00.000Z', - address : '386 Vernon Avenue, Dragoon, North Carolina, PO4559' + address : '386 Vernon Avenue, Dragoon, North Carolina, PO4559', }, - attachments: _attachments + attachments: _attachments, }, { id : '310ece7d-dbb0-45d6-9e69-14c24e50fe3d', @@ -2581,27 +2656,27 @@ export const contacts = [ emails : [ { email: 'cervanteskramer@mail.io', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'vg', phoneNumber: '998 498 2507', - label : 'Mobile' + label : 'Mobile', }, { country : 'vg', phoneNumber: '856 477 3445', - label : 'Work' - } + label : 'Work', + }, ], title : 'Motor Winder', company : 'Xeronk', birthday : '1992-09-04T12:00:00.000Z', - address : '238 Rochester Avenue, Lydia, Oklahoma, PO3914' + address : '238 Rochester Avenue, Lydia, Oklahoma, PO3914', }, - attachments: _attachments + attachments: _attachments, }, { id : 'dcc673f6-de59-4715-94ed-8f64663d449b', @@ -2612,32 +2687,32 @@ export const contacts = [ emails : [ { email: 'megansuarez@mail.us', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'bb', phoneNumber: '875 422 2053', - label : 'Mobile' + label : 'Mobile', }, { country : 'bb', phoneNumber: '861 487 2597', - label : 'Work' + label : 'Work', }, { country : 'bb', phoneNumber: '873 414 3953', - label : 'Home' - } + label : 'Home', + }, ], title : 'Bindery Machine Operator', company : 'Cemention', birthday : '1984-09-08T12:00:00.000Z', - address : '112 Tillary Street, Camptown, Vermont, PO8827' + address : '112 Tillary Street, Camptown, Vermont, PO8827', }, - attachments: _attachments + attachments: _attachments, }, { id : '3e4ca731-d39b-4ad9-b6e0-f84e67f4b74a', @@ -2648,31 +2723,31 @@ export const contacts = [ emails : [ { email: 'ofeliaratliff@mail.tv', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'vu', phoneNumber: '978 546 3699', - label : 'Mobile' + label : 'Mobile', }, { country : 'vu', phoneNumber: '892 551 2229', - label : 'Work' + label : 'Work', }, { country : 'vu', phoneNumber: '949 495 3479', - label : 'Home' - } + label : 'Home', + }, ], company : 'Buzzmaker', birthday : '1988-11-11T12:00:00.000Z', - address : '951 Hampton Avenue, Bartonsville, Mississippi, PO4232' + address : '951 Hampton Avenue, Bartonsville, Mississippi, PO4232', }, - attachments: _attachments + attachments: _attachments, }, { id : '2012d4a5-19e4-444d-aaff-1d8b1d853650', @@ -2683,32 +2758,32 @@ export const contacts = [ emails : [ { email: 'laurelparker@mail.com', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'lu', phoneNumber: '805 502 3677', - label : 'Mobile' + label : 'Mobile', }, { country : 'lu', phoneNumber: '925 527 2973', - label : 'Work' + label : 'Work', }, { country : 'lu', phoneNumber: '975 495 2977', - label : 'Home' - } + label : 'Home', + }, ], title : 'Fundraising Director', company : 'Omnigog', birthday : '1987-05-17T12:00:00.000Z', - address : '157 Woodhull Street, Rutherford, West Virginia, PO6646' + address : '157 Woodhull Street, Rutherford, West Virginia, PO6646', }, - attachments: _attachments + attachments: _attachments, }, { id : '012b8219-74bf-447c-af2c-66904d90a956', @@ -2719,26 +2794,26 @@ export const contacts = [ emails : [ { email: 'tracydelacruz@mail.name', - label: 'Personal' + label: 'Personal', }, { email: 'delacruz.tracy@shepard.me', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'co', phoneNumber: '974 428 2886', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Bindery Machine Operator', company : 'Shepard', birthday : '1963-08-10T12:00:00.000Z', - address : '604 Merit Court, Wyano, New Hampshire, PO1641' + address : '604 Merit Court, Wyano, New Hampshire, PO1641', }, - attachments: _attachments + attachments: _attachments, }, { id : '8b1befd2-66a7-4981-ae52-77f01b382d18', @@ -2749,36 +2824,36 @@ export const contacts = [ emails : [ { email: 'jeannettestanton@mail.info', - label: 'Personal' + label: 'Personal', }, { email: 'stanton.jeannette@zentury.biz', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'dz', phoneNumber: '947 561 3783', - label : 'Mobile' + label : 'Mobile', }, { country : 'dz', phoneNumber: '917 463 3737', - label : 'Work' + label : 'Work', }, { country : 'dz', phoneNumber: '835 510 2059', - label : 'Home' - } + label : 'Home', + }, ], title : 'Hotel Manager', company : 'Zentury', birthday : '1975-09-02T12:00:00.000Z', - address : '100 Menahan Street, Snyderville, Kansas, PO1006' + address : '100 Menahan Street, Snyderville, Kansas, PO1006', }, - attachments: _attachments + attachments: _attachments, }, { id : '844668c3-5e20-4fed-9e3a-7d274f696e61', @@ -2789,26 +2864,26 @@ export const contacts = [ emails : [ { email: 'johnniecleveland@mail.co.uk', - label: 'Personal' + label: 'Personal', }, { email: 'cleveland.johnnie@viasia.net', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'au', phoneNumber: '947 468 2942', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Fundraising Director', company : 'Viasia', birthday : '1986-03-15T12:00:00.000Z', - address : '283 Albany Avenue, Jennings, Rhode Island, PO1646' + address : '283 Albany Avenue, Jennings, Rhode Island, PO1646', }, - attachments: _attachments + attachments: _attachments, }, { id : '5a01e870-8be1-45a5-b58a-ec09c06e8f28', @@ -2819,27 +2894,27 @@ export const contacts = [ emails : [ { email: 'stacihyde@mail.ca', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'id', phoneNumber: '944 525 2944', - label : 'Mobile' + label : 'Mobile', }, { country : 'id', phoneNumber: '877 500 2506', - label : 'Work' - } + label : 'Work', + }, ], title : 'Banker Mason', company : 'Zilla', birthday : '1975-04-22T12:00:00.000Z', - address : '560 Dooley Street, Ellerslie, Louisiana, PO1005' + address : '560 Dooley Street, Ellerslie, Louisiana, PO1005', }, - attachments: _attachments + attachments: _attachments, }, { id : '5ac1f193-f150-45f9-bfe4-b7b4e1a83ff9', @@ -2850,32 +2925,32 @@ export const contacts = [ emails : [ { email: 'angelagallagher@mail.org', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'et', phoneNumber: '996 514 3856', - label : 'Mobile' + label : 'Mobile', }, { country : 'et', phoneNumber: '903 539 2049', - label : 'Work' + label : 'Work', }, { country : 'et', phoneNumber: '938 463 3685', - label : 'Home' - } + label : 'Home', + }, ], title : 'Electromedical Equipment Technician', company : 'Zenolux', birthday : '1965-08-02T12:00:00.000Z', - address : '445 Remsen Avenue, Ruckersville, Delaware, PO2712' + address : '445 Remsen Avenue, Ruckersville, Delaware, PO2712', }, - attachments: _attachments + attachments: _attachments, }, { id : '995df091-d78a-4bb7-840c-ba6a7d14a1bd', @@ -2886,27 +2961,27 @@ export const contacts = [ emails : [ { email: 'hutchinsonlevy@mail.io', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'et', phoneNumber: '970 546 3452', - label : 'Mobile' + label : 'Mobile', }, { country : 'et', phoneNumber: '894 438 2430', - label : 'Work' - } + label : 'Work', + }, ], title : 'Congressional Representative', company : 'Zytrek', birthday : '1978-03-22T12:00:00.000Z', - address : '911 Lois Avenue, Epworth, California, PO6557' + address : '911 Lois Avenue, Epworth, California, PO6557', }, - attachments: _attachments + attachments: _attachments, }, { id : '7184be71-a28f-4f2b-8c45-15f78cf2f825', @@ -2917,22 +2992,22 @@ export const contacts = [ emails : [ { email: 'alissanelson@mail.us', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'lu', phoneNumber: '893 600 2639', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Bindery Machine Operator', company : 'Emtrak', birthday : '1993-10-19T12:00:00.000Z', - address : '514 Sutter Avenue, Shindler, Puerto Rico, PO3862' + address : '514 Sutter Avenue, Shindler, Puerto Rico, PO3862', }, - attachments: _attachments + attachments: _attachments, }, { id : '325d508c-ca49-42bf-b0d5-c4a6b8da3d5c', @@ -2943,22 +3018,22 @@ export const contacts = [ emails : [ { email: 'oliverhead@mail.tv', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'bn', phoneNumber: '977 528 3294', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Meteorologist', company : 'Rameon', birthday : '1967-01-05T12:00:00.000Z', - address : '569 Clermont Avenue, Movico, Marshall Islands, PO7293' + address : '569 Clermont Avenue, Movico, Marshall Islands, PO7293', }, - attachments: _attachments + attachments: _attachments, }, { id : 'c674b6e1-b846-4bba-824b-0b4df0cdec48', @@ -2969,42 +3044,42 @@ export const contacts = [ emails : [ { email: 'duranbarr@mail.com', - label: 'Personal' + label: 'Personal', }, { email: 'barr.duran@hinway.name', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'sr', phoneNumber: '857 457 2508', - label : 'Mobile' + label : 'Mobile', }, { country : 'sr', phoneNumber: '887 522 2146', - label : 'Work' + label : 'Work', }, { country : 'sr', phoneNumber: '947 574 3174', - label : 'Home' - } + label : 'Home', + }, ], title : 'Insurance Analyst', company : 'Hinway', birthday : '1977-11-06T12:00:00.000Z', - address : '103 Chestnut Avenue, Glenbrook, Indiana, PO2578' + address : '103 Chestnut Avenue, Glenbrook, Indiana, PO2578', }, - attachments: _attachments - } + attachments: _attachments, + }, ]; export const profile: any = { id : 'cfaad35d-07a3-4447-a6c3-d8c3d54fd5df', name : 'Brian Hughes', email : 'hughes.brian@company.com', avatar: 'assets/images/avatars/brian-hughes.jpg', - about : 'Hi there! I\'m using FuseChat.' + about : 'Hi there! I\'m using FuseChat.', }; diff --git a/src/app/mock-api/apps/contacts/api.ts b/src/app/mock-api/apps/contacts/api.ts index 25508945..5d06bf43 100644 --- a/src/app/mock-api/apps/contacts/api.ts +++ b/src/app/mock-api/apps/contacts/api.ts @@ -1,11 +1,11 @@ import { Injectable } from '@angular/core'; -import { from, map } from 'rxjs'; -import { assign, cloneDeep } from 'lodash-es'; import { FuseMockApiService, FuseMockApiUtils } from '@fuse/lib/mock-api'; import { contacts as contactsData, countries as countriesData, tags as tagsData } from 'app/mock-api/apps/contacts/data'; +import { assign, cloneDeep } from 'lodash-es'; +import { from, map } from 'rxjs'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class ContactsMockApi { @@ -36,7 +36,8 @@ export class ContactsMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onGet('api/apps/contacts/all') - .reply(() => { + .reply(() => + { // Clone the contacts const contacts = cloneDeep(this._contacts); @@ -53,7 +54,8 @@ export class ContactsMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onGet('api/apps/contacts/search') - .reply(({request}) => { + .reply(({request}) => + { // Get the search query const query = request.params.get('query'); @@ -80,7 +82,8 @@ export class ContactsMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onGet('api/apps/contacts/contact') - .reply(({request}) => { + .reply(({request}) => + { // Get the id from the params const id = request.params.get('id'); @@ -100,7 +103,8 @@ export class ContactsMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPost('api/apps/contacts/contact') - .reply(() => { + .reply(() => + { // Generate a new contact const newContact = { @@ -111,12 +115,12 @@ export class ContactsMockApi phoneNumbers: [], job : { title : '', - company: '' + company: '', }, birthday : null, address : null, notes : null, - tags : [] + tags : [], }; // Unshift the new contact @@ -131,7 +135,8 @@ export class ContactsMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPatch('api/apps/contacts/contact') - .reply(({request}) => { + .reply(({request}) => + { // Get the id and contact const id = request.body.id; @@ -141,7 +146,8 @@ export class ContactsMockApi let updatedContact = null; // Find the contact and update it - this._contacts.forEach((item, index, contacts) => { + this._contacts.forEach((item, index, contacts) => + { if ( item.id === id ) { @@ -162,13 +168,15 @@ export class ContactsMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onDelete('api/apps/contacts/contact') - .reply(({request}) => { + .reply(({request}) => + { // Get the id const id = request.params.get('id'); // Find the contact and delete it - this._contacts.forEach((item, index) => { + this._contacts.forEach((item, index) => + { if ( item.id === id ) { @@ -199,7 +207,8 @@ export class ContactsMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPost('api/apps/contacts/tag') - .reply(({request}) => { + .reply(({request}) => + { // Get the tag const newTag = cloneDeep(request.body.tag); @@ -219,7 +228,8 @@ export class ContactsMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPatch('api/apps/contacts/tag') - .reply(({request}) => { + .reply(({request}) => + { // Get the id and tag const id = request.body.id; @@ -229,7 +239,8 @@ export class ContactsMockApi let updatedTag = null; // Find the tag and update it - this._tags.forEach((item, index, tags) => { + this._tags.forEach((item, index, tags) => + { if ( item.id === id ) { @@ -250,13 +261,15 @@ export class ContactsMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onDelete('api/apps/contacts/tag') - .reply(({request}) => { + .reply(({request}) => + { // Get the id const id = request.params.get('id'); // Find the tag and delete it - this._tags.forEach((item, index) => { + this._tags.forEach((item, index) => + { if ( item.id === id ) { @@ -268,7 +281,8 @@ export class ContactsMockApi const contactsWithTag = this._contacts.filter(contact => contact.tags.indexOf(id) > -1); // Iterate through them and delete the tag - contactsWithTag.forEach((contact) => { + contactsWithTag.forEach((contact) => + { contact.tags.splice(contact.tags.indexOf(id), 1); }); @@ -288,18 +302,21 @@ export class ContactsMockApi const readAsDataURL = (file: File): Promise => // Return a new promise - new Promise((resolve, reject) => { + new Promise((resolve, reject) => + { // Create a new reader const reader = new FileReader(); // Resolve the promise on success - reader.onload = (): void => { + reader.onload = (): void => + { resolve(reader.result); }; // Reject the promise on error - reader.onerror = (e): void => { + reader.onerror = (e): void => + { reject(e); }; @@ -310,7 +327,8 @@ export class ContactsMockApi this._fuseMockApiService .onPost('api/apps/contacts/avatar') - .reply(({request}) => { + .reply(({request}) => + { // Get the id and avatar const id = request.body.id; @@ -326,10 +344,12 @@ export class ContactsMockApi // the src attribute of the img tag works with both image urls // and encoded images. return from(readAsDataURL(avatar)).pipe( - map((path) => { + map((path) => + { // Find the contact and update it - this._contacts.forEach((item, index, contacts) => { + this._contacts.forEach((item, index, contacts) => + { if ( item.id === id ) { @@ -343,7 +363,7 @@ export class ContactsMockApi // Return the response return [200, updatedContact]; - }) + }), ); }); } diff --git a/src/app/mock-api/apps/contacts/data.ts b/src/app/mock-api/apps/contacts/data.ts index c1dbdcc6..e701922f 100644 --- a/src/app/mock-api/apps/contacts/data.ts +++ b/src/app/mock-api/apps/contacts/data.ts @@ -8,24 +8,24 @@ export const contacts = [ emails : [ { email: 'dejesusmichael@mail.org', - label: 'Personal' + label: 'Personal', }, { email: 'michael.dejesus@vitricomp.io', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'bs', phoneNumber: '984 531 2468', - label : 'Mobile' + label : 'Mobile', }, { country : 'bs', phoneNumber: '806 470 2693', - label : 'Work' - } + label : 'Work', + }, ], title : 'Track Service Worker', company : 'Vitricomp', @@ -33,8 +33,8 @@ export const contacts = [ address : '279 Independence Avenue, Calvary, Guam, PO4127', notes : '

Do incididunt cillum duis eu pariatur enim proident minim officia amet proident consequat consequat qui consequat magna magna occaecat aliquip culpa pariatur velit nisi nostrud irure eu ullamco exercitation sint.

Cillum deserunt laborum laborum quis nisi enim et aliquip labore excepteur in excepteur labore amet in ipsum ipsum nostrud deserunt lorem nisi voluptate dolor minim enim ut eu cupidatat enim.

', tags : [ - '56ddbd47-4078-4ddd-8448-73c5e88d5f59' - ] + '56ddbd47-4078-4ddd-8448-73c5e88d5f59', + ], }, { id : 'beec5287-ed50-4504-858a-5dc3f8ce6935', @@ -44,19 +44,19 @@ export const contacts = [ emails : [ { email: 'denamolina@mail.us', - label: 'Personal' + label: 'Personal', }, { email: 'molina.dena@envire.tv', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'io', phoneNumber: '934 537 3180', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Weather Analyst', company : 'Envire', @@ -64,8 +64,8 @@ export const contacts = [ address : '856 Woodside Avenue, Alfarata, Iowa, PO4992', notes : '

Consequat duis ullamco sint elit pariatur esse dolore nostrud consequat lorem duis sunt veniam ipsum exercitation eiusmod consequat nisi quis voluptate quis officia irure fugiat ex duis eu amet ex.

Irure est nisi dolor culpa sunt nulla irure lorem adipisicing non do consequat deserunt et ea eu non reprehenderit fugiat ex elit nulla sunt quis voluptate enim nulla aliquip veniam.

', tags : [ - '56ddbd47-4078-4ddd-8448-73c5e88d5f59' - ] + '56ddbd47-4078-4ddd-8448-73c5e88d5f59', + ], }, { id : '9d3f0e7f-dcbd-4e56-a5e8-87b8154e9edf', @@ -75,19 +75,19 @@ export const contacts = [ emails : [ { email: 'bernardlangley@mail.com', - label: 'Personal' + label: 'Personal', }, { email: 'langley.bernard@boilcat.name', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'md', phoneNumber: '893 548 2862', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Electromedical Equipment Technician', company : 'Boilcat', @@ -95,8 +95,8 @@ export const contacts = [ address : '943 Adler Place, Hamilton, South Dakota, PO5592', notes : '

Est amet in adipisicing ex excepteur ullamco est lorem adipisicing veniam reprehenderit elit commodo cillum commodo eu officia fugiat id reprehenderit sunt mollit eiusmod dolor fugiat ad do esse aliquip.

Mollit amet adipisicing enim est est commodo sint et eu nulla in laboris ipsum aliqua elit aliqua adipisicing ea nulla nulla consectetur velit laborum labore ullamco eu sit consectetur velit.

', tags : [ - 'c31e9e5d-e0cb-4574-a13f-8a6ee5ff8309' - ] + 'c31e9e5d-e0cb-4574-a13f-8a6ee5ff8309', + ], }, { id : '42a5da95-5e6d-42fd-a09d-de755d123a47', @@ -106,37 +106,37 @@ export const contacts = [ emails : [ { email: 'mclaughlinsteele@mail.me', - label: 'Personal' + label: 'Personal', }, { email: 'steele.mclaughlin@accel.info', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'va', phoneNumber: '830 484 3813', - label : 'Mobile' + label : 'Mobile', }, { country : 'va', phoneNumber: '999 475 2789', - label : 'Work' + label : 'Work', }, { country : 'va', phoneNumber: '933 406 3598', - label : 'Home' - } + label : 'Home', + }, ], company : 'Accel', birthday : '1968-08-13T12:00:00.000Z', address : '334 Sandford Street, Savage, Virgin Islands, PO1858', notes : '

Consequat eu aliquip dolor non consequat laborum ad non labore cillum consectetur quis dolore do ea nulla incididunt proident ea eiusmod in do qui eiusmod et irure dolor ea adipisicing.

Reprehenderit occaecat nostrud ad aliquip commodo amet velit id ut minim dolor mollit mollit in eiusmod voluptate lorem nisi labore culpa elit proident laborum ipsum occaecat esse sint nostrud esse.

', tags : [ - '56ddbd47-4078-4ddd-8448-73c5e88d5f59' - ] + '56ddbd47-4078-4ddd-8448-73c5e88d5f59', + ], }, { id : 'a7806ced-03f1-4197-8b30-00bdd463366b', @@ -146,20 +146,20 @@ export const contacts = [ emails : [ { email: 'marshcochran@mail.biz', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'tz', phoneNumber: '864 401 3980', - label : 'Mobile' + label : 'Mobile', }, { country : 'tz', phoneNumber: '956 546 2589', - label : 'Work' - } + label : 'Work', + }, ], title : 'Fundraising Director', company : 'Xsports', @@ -167,8 +167,8 @@ export const contacts = [ address : '487 Hamilton Walk, Bergoo, American Samoa, PO5616', notes : '

Id eiusmod deserunt amet lorem commodo consequat nostrud magna aliquip ex et pariatur labore non elit ad ad nulla culpa reprehenderit enim magna aliqua enim pariatur occaecat sint do lorem.

Adipisicing ut est nulla nisi cupidatat consequat aliqua et esse in voluptate amet eiusmod ut esse ea do irure commodo aute culpa amet consequat id adipisicing et incididunt ut duis.

', tags : [ - '2026ce08-d08f-4b4f-9506-b10cdb5b104f' - ] + '2026ce08-d08f-4b4f-9506-b10cdb5b104f', + ], }, { id : 'f4ad15d9-5a24-463a-88ea-6189d6bb3a53', @@ -178,29 +178,29 @@ export const contacts = [ emails : [ { email: 'parrishaustin@mail.co.uk', - label: 'Personal' + label: 'Personal', }, { email: 'austin.parrish@insource.net', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'lv', phoneNumber: '834 426 3574', - label : 'Mobile' + label : 'Mobile', }, { country : 'lv', phoneNumber: '816 573 3694', - label : 'Work' + label : 'Work', }, { country : 'lv', phoneNumber: '967 515 2009', - label : 'Home' - } + label : 'Home', + }, ], title : 'Motor Winder', company : 'Insource', @@ -208,8 +208,8 @@ export const contacts = [ address : '610 Harbor Lane, Cascades, Minnesota, PO8639', notes : '

Cillum enim eiusmod dolor aliqua ipsum exercitation sint aliqua lorem dolore id velit sint velit labore cupidatat minim cupidatat elit est magna eu proident eiusmod non pariatur est esse pariatur.

Sint do enim officia velit pariatur excepteur commodo adipisicing labore elit velit velit id exercitation excepteur veniam reprehenderit sint nulla duis ad incididunt cillum in in labore laboris magna esse.

', tags : [ - 'c31e9e5d-e0cb-4574-a13f-8a6ee5ff8309' - ] + 'c31e9e5d-e0cb-4574-a13f-8a6ee5ff8309', + ], }, { id : '780d0111-5e5c-4694-8d1d-0ea421971fbf', @@ -219,20 +219,20 @@ export const contacts = [ emails : [ { email: 'lavernedodson@mail.ca', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'ar', phoneNumber: '964 417 2318', - label : 'Mobile' + label : 'Mobile', }, { country : 'ar', phoneNumber: '830 410 2506', - label : 'Work' - } + label : 'Work', + }, ], title : 'Television News Producer', company : 'Lovepad', @@ -240,8 +240,8 @@ export const contacts = [ address : '428 Newport Street, Neahkahnie, Arkansas, PO8324', notes : '

Incididunt lorem proident est anim amet nulla do nulla ea anim ullamco ea amet voluptate laboris do elit elit consequat in esse in dolor enim irure ut irure ad commodo.

Aliqua dolore nulla sunt ad nostrud aute labore occaecat non amet nulla adipisicing sint eu lorem velit sint do sint adipisicing esse adipisicing anim culpa quis dolor non magna ea.

', tags : [ - 'a8991c76-2fda-4bbd-a718-df13d6478847' - ] + 'a8991c76-2fda-4bbd-a718-df13d6478847', + ], }, { id : 'bf172879-423a-4fd6-8df3-6d1938bbfe1f', @@ -251,29 +251,29 @@ export const contacts = [ emails : [ { email: 'edwardsmckenzie@mail.org', - label: 'Personal' + label: 'Personal', }, { email: 'mckenzie.edwards@bugsall.io', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'pe', phoneNumber: '934 519 2903', - label : 'Mobile' + label : 'Mobile', }, { country : 'pe', phoneNumber: '989 489 3662', - label : 'Work' + label : 'Work', }, { country : 'pe', phoneNumber: '813 461 2790', - label : 'Home' - } + label : 'Home', + }, ], title : 'Legal Assistant', company : 'Bugsall', @@ -281,8 +281,8 @@ export const contacts = [ address : '384 Polhemus Place, Dalton, Palau, PO6038', notes : '

Eu veniam consectetur eiusmod anim sint anim consectetur do consectetur aliqua cillum proident fugiat do in aliqua ipsum id consequat commodo qui officia adipisicing ullamco occaecat laboris proident incididunt exercitation.

Velit ullamco magna aute proident irure ut magna ullamco labore dolor deserunt deserunt tempor fugiat ex ullamco do sunt veniam reprehenderit officia elit duis sint ut proident pariatur est reprehenderit.

', tags : [ - '3eaab175-ec0d-4db7-bc3b-efc633c769be' - ] + '3eaab175-ec0d-4db7-bc3b-efc633c769be', + ], }, { id : '1eaa3213-ece2-4ba6-8e15-eb36ca388f50', @@ -292,19 +292,19 @@ export const contacts = [ emails : [ { email: 'trudyberg@mail.us', - label: 'Personal' + label: 'Personal', }, { email: 'berg.trudy@satiance.tv', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'ls', phoneNumber: '912 539 2770', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Meteorologist', company : 'Satiance', @@ -312,8 +312,8 @@ export const contacts = [ address : '945 Jerome Avenue, Riceville, North Carolina, PO1625', notes : '

Excepteur ullamco aute aliqua reprehenderit ullamco do anim ut ut veniam et ut et ut commodo aliqua consequat occaecat fugiat dolor labore proident ipsum ad culpa est cillum aliqua reprehenderit.

Amet aliqua sint laboris in aute nostrud voluptate tempor ea tempor laborum tempor culpa dolore aliqua nulla dolore ad enim id cupidatat nostrud nostrud amet non velit id fugiat lorem.

', tags : [ - '65930b5a-5d2a-4303-b11f-865d69e6fdb5' - ] + '65930b5a-5d2a-4303-b11f-865d69e6fdb5', + ], }, { id : 'abd9e78b-9e96-428f-b3ff-4d934c401bee', @@ -323,24 +323,24 @@ export const contacts = [ emails : [ { email: 'elsiemelendez@mail.com', - label: 'Personal' + label: 'Personal', }, { email: 'melendez.elsie@chillium.name', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'tg', phoneNumber: '907 515 3007', - label : 'Mobile' + label : 'Mobile', }, { country : 'tg', phoneNumber: '967 534 2803', - label : 'Work' - } + label : 'Work', + }, ], title : 'Fundraising Director', company : 'Chillium', @@ -348,8 +348,8 @@ export const contacts = [ address : '428 Varanda Place, Veyo, Oklahoma, PO6188', notes : '

Laboris commodo consequat duis dolor ullamco nisi sunt ipsum nisi elit dolore aute sint tempor qui ad sit aliqua laboris consequat dolore aliqua est deserunt irure cillum tempor ut veniam.

Eiusmod nulla ex esse in deserunt consectetur non qui cillum reprehenderit magna sit ipsum lorem aute consequat sint magna id laboris velit adipisicing non ipsum ipsum sint velit ex non.

', tags : [ - '3eaab175-ec0d-4db7-bc3b-efc633c769be' - ] + '3eaab175-ec0d-4db7-bc3b-efc633c769be', + ], }, { id : 'efae92cc-3bd1-4c6a-a395-b6760c69bd55', @@ -359,25 +359,25 @@ export const contacts = [ emails : [ { email: 'lambunderwood@mail.me', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'pf', phoneNumber: '855 517 2767', - label : 'Mobile' + label : 'Mobile', }, { country : 'pf', phoneNumber: '906 442 3593', - label : 'Work' + label : 'Work', }, { country : 'pf', phoneNumber: '905 402 2121', - label : 'Home' - } + label : 'Home', + }, ], title : 'Legal Assistant', company : 'Exotechno', @@ -385,8 +385,8 @@ export const contacts = [ address : '609 Greenpoint Avenue, Beason, Vermont, PO5229', notes : '

Exercitation tempor laboris dolor deserunt nulla et nisi ullamco minim duis sint nulla sint deserunt irure excepteur nostrud ipsum duis enim sit exercitation eiusmod tempor commodo excepteur mollit cupidatat fugiat.

Deserunt est dolore nulla laborum consequat veniam elit lorem do exercitation incididunt ea ad laboris lorem ipsum ex incididunt nostrud ipsum laborum et nostrud minim aute velit incididunt quis quis.

', tags : [ - '3eaab175-ec0d-4db7-bc3b-efc633c769be' - ] + '3eaab175-ec0d-4db7-bc3b-efc633c769be', + ], }, { id : 'bde636a7-c3d2-4bff-939a-aab11df1516b', @@ -396,25 +396,25 @@ export const contacts = [ emails : [ { email: 'tessavaldez@mail.info', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'dz', phoneNumber: '892 430 2631', - label : 'Mobile' + label : 'Mobile', }, { country : 'dz', phoneNumber: '997 525 2354', - label : 'Work' + label : 'Work', }, { country : 'dz', phoneNumber: '907 472 2857', - label : 'Home' - } + label : 'Home', + }, ], title : 'Banker Mason', company : 'Securia', @@ -422,8 +422,8 @@ export const contacts = [ address : '183 Crosby Avenue, Blanco, Mississippi, PO3463', notes : '

Mollit qui amet in esse ipsum nostrud cupidatat occaecat proident aliquip non mollit commodo ex labore enim culpa dolor aute occaecat cillum sit excepteur tempor culpa nostrud nulla qui commodo.

Labore nulla id excepteur non velit adipisicing tempor reprehenderit cillum sint do consectetur laboris ut proident pariatur quis aute ad dolor quis labore labore nostrud sunt elit proident enim aliqua.

', tags : [ - 'cbde2486-5033-4e09-838e-e901b108cd41' - ] + 'cbde2486-5033-4e09-838e-e901b108cd41', + ], }, { id : '6519600a-5eaa-45f8-8bed-c46fddb3b26a', @@ -433,33 +433,33 @@ export const contacts = [ emails : [ { email: 'mcleodwagner@mail.biz', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'at', phoneNumber: '977 590 2773', - label : 'Mobile' + label : 'Mobile', }, { country : 'at', phoneNumber: '828 496 3813', - label : 'Work' + label : 'Work', }, { country : 'at', phoneNumber: '831 432 2512', - label : 'Home' - } + label : 'Home', + }, ], company : 'Inrt', birthday : '1980-12-03T12:00:00.000Z', address : '736 Glen Street, Kaka, West Virginia, PO9350', notes : '

Laboris consequat est anim quis quis eiusmod ipsum non quis fugiat anim culpa non elit mollit pariatur veniam nisi irure velit dolore dolor proident nisi deserunt culpa nisi et laborum.

Eiusmod eu esse ipsum voluptate excepteur ipsum et proident cupidatat sint sunt aliquip lorem culpa esse et dolor fugiat sit est id consectetur sint et ea pariatur occaecat nulla irure.

', tags : [ - '56ddbd47-4078-4ddd-8448-73c5e88d5f59' - ] + '56ddbd47-4078-4ddd-8448-73c5e88d5f59', + ], }, { id : '6d80a6f6-2884-4ac4-9c73-06b82c220017', @@ -469,29 +469,29 @@ export const contacts = [ emails : [ { email: 'kristiehall@mail.co.uk', - label: 'Personal' + label: 'Personal', }, { email: 'hall.kristie@austech.net', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'tn', phoneNumber: '841 530 3641', - label : 'Mobile' + label : 'Mobile', }, { country : 'tn', phoneNumber: '941 410 3743', - label : 'Work' + label : 'Work', }, { country : 'tn', phoneNumber: '938 599 3850', - label : 'Home' - } + label : 'Home', + }, ], title : 'Electromedical Equipment Technician', company : 'Austech', @@ -499,8 +499,8 @@ export const contacts = [ address : '547 Revere Place, Hoehne, New Hampshire, PO2125', notes : '

Duis incididunt minim nisi sit qui dolor aliquip quis ipsum id amet occaecat sit ullamco minim velit est eiusmod anim proident consectetur non reprehenderit ea reprehenderit dolore in nisi eiusmod.

Ut commodo aliqua non ut proident velit et commodo voluptate eu mollit dolor veniam ipsum velit aute esse est adipisicing id aliqua nostrud nostrud nisi enim officia eiusmod in enim.

', tags : [ - '56ddbd47-4078-4ddd-8448-73c5e88d5f59' - ] + '56ddbd47-4078-4ddd-8448-73c5e88d5f59', + ], }, { id : '35190d23-036e-44ef-b545-cc744c626edd', @@ -510,25 +510,25 @@ export const contacts = [ emails : [ { email: 'shannonkennedy@mail.ca', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'gb', phoneNumber: '899 508 2992', - label : 'Mobile' + label : 'Mobile', }, { country : 'gb', phoneNumber: '834 499 3354', - label : 'Work' + label : 'Work', }, { country : 'gb', phoneNumber: '834 526 3388', - label : 'Home' - } + label : 'Home', + }, ], title : 'Gas Meter Mechanic', company : 'Eventix', @@ -536,8 +536,8 @@ export const contacts = [ address : '480 Chase Court, Edinburg, Kansas, PO5357', notes : '

Lorem ex amet anim anim qui consequat ullamco consectetur et voluptate in velit dolore culpa pariatur amet enim ut non magna duis qui excepteur esse ullamco velit fugiat aute dolor.

Reprehenderit ullamco veniam sit laborum nulla sunt excepteur eiusmod anim eu ullamco tempor est qui adipisicing sit fugiat voluptate minim non incididunt quis ipsum et exercitation officia laborum incididunt nostrud.

', tags : [ - 'a8991c76-2fda-4bbd-a718-df13d6478847' - ] + 'a8991c76-2fda-4bbd-a718-df13d6478847', + ], }, { id : 'b018c194-68ec-4915-ab56-e9f3bd2d98db', @@ -547,29 +547,29 @@ export const contacts = [ emails : [ { email: 'marthaswanson@mail.org', - label: 'Personal' + label: 'Personal', }, { email: 'swanson.martha@sequitur.io', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'gb', phoneNumber: '844 480 3309', - label : 'Mobile' + label : 'Mobile', }, { country : 'gb', phoneNumber: '981 591 3239', - label : 'Work' + label : 'Work', }, { country : 'gb', phoneNumber: '923 484 3147', - label : 'Home' - } + label : 'Home', + }, ], title : 'Short Story Writer', company : 'Sequitur', @@ -577,8 +577,8 @@ export const contacts = [ address : '595 Howard Place, Convent, Rhode Island, PO6993', notes : '

Lorem nostrud cillum non cillum nisi eu labore anim ipsum consequat consectetur sunt ipsum ipsum ad culpa laborum in ea exercitation quis voluptate velit id elit labore cillum cillum consectetur.

Ullamco ullamco nostrud aute pariatur nulla officia proident magna laborum dolor reprehenderit ullamco in reprehenderit veniam aliqua elit magna voluptate amet ut minim in labore irure culpa consequat sit pariatur.

', tags : [ - 'a8991c76-2fda-4bbd-a718-df13d6478847' - ] + 'a8991c76-2fda-4bbd-a718-df13d6478847', + ], }, { id : 'b7c355e9-e003-467e-82d2-4f6978c1a696', @@ -588,19 +588,19 @@ export const contacts = [ emails : [ { email: 'jacklynmorgan@mail.us', - label: 'Personal' + label: 'Personal', }, { email: 'morgan.jacklyn@shopabout.tv', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'so', phoneNumber: '974 542 2061', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Animal Sitter', company : 'Shopabout', @@ -608,8 +608,8 @@ export const contacts = [ address : '971 Conover Street, Statenville, Louisiana, PO6622', notes : '

Pariatur fugiat labore aliquip aute in adipisicing veniam et consequat magna nulla laboris eiusmod eu esse cupidatat ipsum amet sint est anim lorem consequat eiusmod sit aliquip consequat nisi duis.

Est esse excepteur non amet reprehenderit cillum ullamco ex excepteur laboris excepteur dolor magna enim consequat lorem commodo ipsum elit ea veniam non quis id nisi esse tempor enim ut.

', tags : [ - '3eaab175-ec0d-4db7-bc3b-efc633c769be' - ] + '3eaab175-ec0d-4db7-bc3b-efc633c769be', + ], }, { id : 'cfa07b7c-93d1-42e7-9592-493d9efc78ae', @@ -619,24 +619,24 @@ export const contacts = [ emails : [ { email: 'tonyabowers@mail.com', - label: 'Personal' + label: 'Personal', }, { email: 'bowers.tonya@tourmania.name', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'tv', phoneNumber: '922 585 2914', - label : 'Mobile' + label : 'Mobile', }, { country : 'tv', phoneNumber: '913 538 2961', - label : 'Work' - } + label : 'Work', + }, ], title : 'Track Service Worker', company : 'Tourmania', @@ -644,8 +644,8 @@ export const contacts = [ address : '197 Marconi Place, Welda, Delaware, PO6061', notes : '

Aliqua ea dolor est enim ipsum esse pariatur tempor nulla excepteur aliquip irure fugiat reprehenderit adipisicing ex tempor proident voluptate dolore ea dolore nostrud id incididunt culpa in do occaecat.

Aute fugiat magna velit enim in duis duis elit ipsum excepteur reprehenderit do ipsum qui cillum aliquip ut occaecat do ea et adipisicing cupidatat voluptate non elit ad aliqua ad.

', tags : [ - '2026ce08-d08f-4b4f-9506-b10cdb5b104f' - ] + '2026ce08-d08f-4b4f-9506-b10cdb5b104f', + ], }, { id : '00feeb63-c83a-4655-a37e-a07da10cfa1c', @@ -655,25 +655,25 @@ export const contacts = [ emails : [ { email: 'latonyacruz@mail.me', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'tm', phoneNumber: '981 508 2080', - label : 'Mobile' + label : 'Mobile', }, { country : 'tm', phoneNumber: '817 425 2052', - label : 'Work' + label : 'Work', }, { country : 'tm', phoneNumber: '939 434 3805', - label : 'Home' - } + label : 'Home', + }, ], title : 'Motor Winder', company : 'Zilch', @@ -681,8 +681,8 @@ export const contacts = [ address : '775 Dahill Road, Iberia, California, PO2169', notes : '

Ut occaecat tempor deserunt proident enim ex ullamco ex aliquip mollit aute reprehenderit in occaecat anim aliquip ea laboris anim laboris do non aute aute ea laboris magna sunt sit.

Ullamco in in minim culpa eiusmod amet consequat consequat magna nisi cillum occaecat irure officia voluptate et eu duis officia nostrud culpa non eiusmod anim sint et anim enim voluptate.

', tags : [ - 'c31e9e5d-e0cb-4574-a13f-8a6ee5ff8309' - ] + 'c31e9e5d-e0cb-4574-a13f-8a6ee5ff8309', + ], }, { id : '142abf21-e635-4a7d-9330-e57f66adcdbe', @@ -692,25 +692,25 @@ export const contacts = [ emails : [ { email: 'evangelinamcclain@mail.info', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'ck', phoneNumber: '992 583 3187', - label : 'Mobile' + label : 'Mobile', }, { country : 'ck', phoneNumber: '881 472 3297', - label : 'Work' + label : 'Work', }, { country : 'ck', phoneNumber: '846 477 3596', - label : 'Home' - } + label : 'Home', + }, ], title : 'Congressional Representative', company : 'Straloy', @@ -718,8 +718,8 @@ export const contacts = [ address : '305 Columbia Street, Dupuyer, Puerto Rico, PO8744', notes : '

Proident nulla culpa magna nostrud do aliqua ullamco sit culpa ullamco eu amet culpa laborum enim fugiat non ad quis esse pariatur exercitation lorem incididunt exercitation aliquip labore minim adipisicing.

Sint ea voluptate tempor irure consequat aute laboris exercitation id minim voluptate aliquip tempor occaecat elit incididunt laboris enim labore sit aute sunt cillum ipsum ad laboris nostrud dolor excepteur.

', tags : [ - '2026ce08-d08f-4b4f-9506-b10cdb5b104f' - ] + '2026ce08-d08f-4b4f-9506-b10cdb5b104f', + ], }, { id : 'e4f255a3-b5dd-45a7-975f-c399604a399a', @@ -729,20 +729,20 @@ export const contacts = [ emails : [ { email: 'herringgonzales@mail.biz', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'ai', phoneNumber: '995 411 2513', - label : 'Mobile' + label : 'Mobile', }, { country : 'ai', phoneNumber: '839 492 2760', - label : 'Work' - } + label : 'Work', + }, ], title : 'Gas Meter Mechanic', company : 'Cubix', @@ -750,8 +750,8 @@ export const contacts = [ address : '195 Brooklyn Road, Jeff, Marshall Islands, PO2943', notes : '

Ex nulla nisi do cillum consequat amet incididunt eu minim eu ut excepteur ad anim minim aliquip ullamco fugiat labore esse aliquip ea incididunt incididunt nisi officia consectetur dolore minim.

Et dolor consectetur anim deserunt laborum eu lorem et in nisi et officia nostrud fugiat deserunt aute irure ullamco officia fugiat voluptate exercitation ut deserunt officia nostrud tempor velit pariatur.

', tags : [ - '56ddbd47-4078-4ddd-8448-73c5e88d5f59' - ] + '56ddbd47-4078-4ddd-8448-73c5e88d5f59', + ], }, { id : 'ab4f712d-d712-41a8-b567-be4c66c349a3', @@ -761,20 +761,20 @@ export const contacts = [ emails : [ { email: 'alycecash@mail.co.uk', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'ht', phoneNumber: '969 499 3077', - label : 'Mobile' + label : 'Mobile', }, { country : 'ht', phoneNumber: '907 513 2784', - label : 'Work' - } + label : 'Work', + }, ], title : 'Weather Analyst', company : 'Qnekt', @@ -782,8 +782,8 @@ export const contacts = [ address : '964 Henry Street, Eureka, Indiana, PO1035', notes : '

Non proident pariatur nostrud dolor incididunt occaecat amet officia sunt magna anim dolor labore culpa ut laborum id incididunt officia amet mollit anim ea proident laboris non incididunt incididunt sint.

Nulla minim consectetur nostrud magna anim irure consectetur labore cupidatat laborum reprehenderit et et adipisicing in qui elit ipsum reprehenderit esse nisi non ipsum exercitation sunt eu elit velit fugiat.

', tags : [ - 'c31e9e5d-e0cb-4574-a13f-8a6ee5ff8309' - ] + 'c31e9e5d-e0cb-4574-a13f-8a6ee5ff8309', + ], }, { id : '5d067800-c301-46c6-a7f7-28dc89d9a554', @@ -793,19 +793,19 @@ export const contacts = [ emails : [ { email: 'kristinepacheco@mail.net', - label: 'Personal' + label: 'Personal', }, { email: 'pacheco.kristine@vurbo.ca', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'mm', phoneNumber: '977 516 2492', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Short Story Writer', company : 'Vurbo', @@ -813,8 +813,8 @@ export const contacts = [ address : '622 Dodworth Street, Rose, Arizona, PO9530', notes : '

Lorem laboris excepteur magna pariatur occaecat voluptate pariatur cillum exercitation anim enim elit laborum reprehenderit laboris ad velit ut ipsum irure id ullamco minim sint ipsum occaecat esse tempor ea.

Pariatur non labore cillum consectetur aute voluptate sint adipisicing nisi laborum culpa nisi elit et amet dolor incididunt velit ex laboris ea reprehenderit eiusmod qui esse veniam labore ea sit.

', tags : [ - '2026ce08-d08f-4b4f-9506-b10cdb5b104f' - ] + '2026ce08-d08f-4b4f-9506-b10cdb5b104f', + ], }, { id : 'c500255a-1173-47d0-a0e4-4944d48fc12a', @@ -824,15 +824,15 @@ export const contacts = [ emails : [ { email: 'englishhaney@mail.org', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'lb', phoneNumber: '989 567 3834', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Meteorologist', company : 'Photobin', @@ -840,8 +840,8 @@ export const contacts = [ address : '579 Pooles Lane, Belleview, Montana, PO4106', notes : '

Incididunt labore sunt ullamco in deserunt dolore labore voluptate adipisicing eu id duis eiusmod elit ea ad cillum culpa excepteur labore fugiat excepteur ea culpa labore sit id dolor ullamco.

Eu eu ex dolore proident nostrud et minim lorem nulla lorem nulla duis velit voluptate nisi cillum anim minim amet dolore officia id cillum in cupidatat ipsum veniam velit dolor.

', tags : [ - '56ddbd47-4078-4ddd-8448-73c5e88d5f59' - ] + '56ddbd47-4078-4ddd-8448-73c5e88d5f59', + ], }, { id : 'b62359fd-f2a8-46e6-904e-31052d1cd675', @@ -851,19 +851,19 @@ export const contacts = [ emails : [ { email: 'josephstrickland@mail.io', - label: 'Personal' + label: 'Personal', }, { email: 'strickland.joseph@bytrex.us', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'jo', phoneNumber: '990 450 2729', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Hotel Manager', company : 'Bytrex', @@ -871,8 +871,8 @@ export const contacts = [ address : '844 Ellery Street, Hondah, Texas, PO1272', notes : '

Excepteur consequat magna laborum dolore ut laborum ea excepteur ad officia mollit exercitation sunt tempor amet ex ipsum aliquip cillum mollit amet laborum voluptate ipsum sit esse duis eiusmod adipisicing.

Non tempor ad pariatur adipisicing excepteur est pariatur aute et velit lorem ut est eu voluptate pariatur ea consectetur excepteur sunt reprehenderit id irure aliqua tempor anim id voluptate culpa.

', tags : [ - '3eaab175-ec0d-4db7-bc3b-efc633c769be' - ] + '3eaab175-ec0d-4db7-bc3b-efc633c769be', + ], }, { id : '16b9e696-ea95-4dd8-86c4-3caf705a1dc6', @@ -882,15 +882,15 @@ export const contacts = [ emails : [ { email: 'nunezfaulkner@mail.tv', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'xk', phoneNumber: '909 552 3327', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Hotel Manager', company : 'Buzzopia', @@ -898,8 +898,8 @@ export const contacts = [ address : '614 Herkimer Court, Darrtown, Nebraska, PO9308', notes : '

Culpa labore ullamco veniam est ullamco ipsum culpa excepteur esse esse aliqua nulla ullamco nulla amet consequat tempor aute exercitation do eu do ullamco elit excepteur est anim nisi excepteur.

Cillum eiusmod cupidatat officia ipsum ullamco adipisicing cillum adipisicing sint exercitation non enim consectetur est esse tempor fugiat sit eiusmod in exercitation enim quis duis dolor amet consequat pariatur dolor.

', tags : [ - 'a8991c76-2fda-4bbd-a718-df13d6478847' - ] + 'a8991c76-2fda-4bbd-a718-df13d6478847', + ], }, { id : '19662ecf-0686-4aad-a46c-24b552eb2ff5', @@ -909,15 +909,15 @@ export const contacts = [ emails : [ { email: 'juanamorrow@mail.com', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'ee', phoneNumber: '868 438 3943', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Meteorologist', company : 'Lyria', @@ -925,8 +925,8 @@ export const contacts = [ address : '663 Drew Street, Juntura, Georgia, PO9857', notes : '

Mollit et amet qui incididunt officia anim est in consectetur qui anim qui labore ea mollit veniam adipisicing ex magna commodo mollit adipisicing sunt commodo laboris labore aliquip deserunt est.

Cupidatat ut cillum anim reprehenderit ea magna enim fugiat proident anim esse lorem lorem commodo cupidatat pariatur qui commodo nulla aliqua nisi labore in adipisicing minim excepteur do eu amet.

', tags : [ - 'cbde2486-5033-4e09-838e-e901b108cd41' - ] + 'cbde2486-5033-4e09-838e-e901b108cd41', + ], }, { id : '26dfe954-8bf3-45ee-b285-1d0a88c8d3ea', @@ -936,15 +936,15 @@ export const contacts = [ emails : [ { email: 'laragaines@mail.name', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'mr', phoneNumber: '891 498 2043', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Electromedical Equipment Technician', company : 'Acruex', @@ -952,8 +952,8 @@ export const contacts = [ address : '762 Troutman Street, Drummond, Oregon, PO6973', notes : '

Laboris dolor incididunt eiusmod deserunt officia labore eu est nulla velit id ex veniam qui fugiat velit irure reprehenderit dolor proident aliquip culpa nisi magna occaecat do nostrud cillum lorem.

Sit consequat laboris culpa quis laborum lorem ullamco occaecat labore duis ea et consequat pariatur reprehenderit excepteur excepteur exercitation sunt enim amet adipisicing laborum incididunt dolor aliquip culpa ea laboris.

', tags : [ - '65930b5a-5d2a-4303-b11f-865d69e6fdb5' - ] + '65930b5a-5d2a-4303-b11f-865d69e6fdb5', + ], }, { id : 'd6462af2-c488-4de7-9b26-3845bd2983f9', @@ -963,25 +963,25 @@ export const contacts = [ emails : [ { email: 'johnstonriddle@mail.me', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'bt', phoneNumber: '979 541 2691', - label : 'Mobile' + label : 'Mobile', }, { country : 'bt', phoneNumber: '909 407 3887', - label : 'Work' + label : 'Work', }, { country : 'bt', phoneNumber: '864 557 3128', - label : 'Home' - } + label : 'Home', + }, ], title : 'Hotel Manager', company : 'Xleen', @@ -989,8 +989,8 @@ export const contacts = [ address : '674 Bryant Street, Grahamtown, Federated States Of Micronesia, PO2757', notes : '

Velit consequat elit anim qui eu elit aliquip consectetur aliqua cupidatat lorem laboris dolor qui ad laborum adipisicing adipisicing consequat et nostrud ullamco consequat dolore deserunt irure do aliquip non.

Ipsum commodo voluptate qui ex ullamco amet do ex dolore quis cupidatat ut anim sunt dolore excepteur anim do dolor aliqua ex aute esse eiusmod sint laborum consequat laboris cillum.

', tags : [ - 'a8991c76-2fda-4bbd-a718-df13d6478847' - ] + 'a8991c76-2fda-4bbd-a718-df13d6478847', + ], }, { id : 'a1723c04-69fe-4573-a135-6645658afe76', @@ -1000,19 +1000,19 @@ export const contacts = [ emails : [ { email: 'vargasgardner@mail.info', - label: 'Personal' + label: 'Personal', }, { email: 'gardner.vargas@cosmosis.biz', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'bi', phoneNumber: '855 456 2754', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Bindery Machine Operator', company : 'Cosmosis', @@ -1020,8 +1020,8 @@ export const contacts = [ address : '869 Seton Place, Chemung, Maine, PO8109', notes : '

Amet non anim ex ullamco pariatur ullamco laboris eiusmod ut magna nisi amet incididunt sunt anim nisi qui ut ex sunt adipisicing consequat deserunt qui mollit duis anim quis veniam.

Magna ut id duis qui ea proident quis officia lorem commodo et et proident dolore qui quis incididunt nulla incididunt ut aliqua veniam est adipisicing adipisicing reprehenderit ad velit incididunt.

', tags : [ - 'cbde2486-5033-4e09-838e-e901b108cd41' - ] + 'cbde2486-5033-4e09-838e-e901b108cd41', + ], }, { id : '823e6166-c0c8-4373-9270-8a0d17489a08', @@ -1031,25 +1031,25 @@ export const contacts = [ emails : [ { email: 'mccallday@mail.co.uk', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'se', phoneNumber: '993 504 3286', - label : 'Mobile' + label : 'Mobile', }, { country : 'se', phoneNumber: '924 434 2238', - label : 'Work' + label : 'Work', }, { country : 'se', phoneNumber: '816 466 2634', - label : 'Home' - } + label : 'Home', + }, ], title : 'Historiographer', company : 'Nipaz', @@ -1057,8 +1057,8 @@ export const contacts = [ address : '854 Hanover Place, Harleigh, New Jersey, PO9459', notes : '

Ea occaecat nisi cillum officia in velit ipsum reprehenderit ex fugiat fugiat ad velit pariatur ullamco sint in elit quis aute id cupidatat nostrud quis culpa aliquip id officia excepteur.

Ea ut consequat sit ullamco do pariatur quis officia ad ipsum quis nisi in nulla incididunt esse pariatur amet qui ullamco consectetur dolor voluptate sit qui mollit reprehenderit reprehenderit amet.

', tags : [ - '65930b5a-5d2a-4303-b11f-865d69e6fdb5' - ] + '65930b5a-5d2a-4303-b11f-865d69e6fdb5', + ], }, { id : '2c37ed00-427a-46d7-8f8f-d711c768d1ee', @@ -1068,20 +1068,20 @@ export const contacts = [ emails : [ { email: 'silvafoster@mail.net', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'bn', phoneNumber: '916 511 3837', - label : 'Mobile' + label : 'Mobile', }, { country : 'bn', phoneNumber: '949 564 3247', - label : 'Work' - } + label : 'Work', + }, ], title : 'Insurance Analyst', company : 'Extrawear', @@ -1089,8 +1089,8 @@ export const contacts = [ address : '137 Bridge Street, Sisquoc, District Of Columbia, PO4105', notes : '

Ipsum velit est do velit do deserunt cupidatat officia duis laborum veniam sunt in ex reprehenderit esse ex ad aute anim duis ut sunt reprehenderit occaecat ut nostrud eu minim.

Aliqua consequat adipisicing adipisicing aliquip voluptate fugiat eu amet nostrud id proident non nisi fugiat velit nostrud ea officia non laboris magna cillum exercitation culpa eiusmod mollit fugiat et lorem.

', tags : [ - 'cbde2486-5033-4e09-838e-e901b108cd41' - ] + 'cbde2486-5033-4e09-838e-e901b108cd41', + ], }, { id : '944764c0-b261-4428-9188-bbd3022d66a8', @@ -1100,29 +1100,29 @@ export const contacts = [ emails : [ { email: 'cathrynsnider@mail.ca', - label: 'Personal' + label: 'Personal', }, { email: 'snider.cathryn@phormula.org', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'na', phoneNumber: '896 471 3036', - label : 'Mobile' + label : 'Mobile', }, { country : 'na', phoneNumber: '851 491 3567', - label : 'Work' + label : 'Work', }, { country : 'na', phoneNumber: '805 487 2016', - label : 'Home' - } + label : 'Home', + }, ], title : 'Short Story Writer', company : 'Phormula', @@ -1130,8 +1130,8 @@ export const contacts = [ address : '528 Glenmore Avenue, Elrama, Illinois, PO2952', notes : '

Ea enim exercitation lorem excepteur officia nulla culpa culpa nisi veniam quis non duis exercitation labore commodo et occaecat reprehenderit ex velit exercitation commodo cupidatat amet veniam mollit magna consectetur.

Voluptate consectetur eu id eiusmod anim reprehenderit incididunt duis veniam tempor cillum ea esse tempor do laborum dolore sint ea duis incididunt in do aliqua voluptate incididunt officia excepteur do.

', tags : [ - '56ddbd47-4078-4ddd-8448-73c5e88d5f59' - ] + '56ddbd47-4078-4ddd-8448-73c5e88d5f59', + ], }, { id : 'f2b3c756-5ad2-4d4b-aee5-b32c91457128', @@ -1141,20 +1141,20 @@ export const contacts = [ emails : [ { email: 'mooneycantrell@mail.io', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'bh', phoneNumber: '915 577 3020', - label : 'Mobile' + label : 'Mobile', }, { country : 'bh', phoneNumber: '923 431 3594', - label : 'Work' - } + label : 'Work', + }, ], title : 'Fundraising Director', company : 'Crustatia', @@ -1162,8 +1162,8 @@ export const contacts = [ address : '277 Coventry Road, Fairforest, Nevada, PO6031', notes : '

Lorem mollit dolore nostrud sunt id anim veniam labore duis eiusmod duis fugiat aliqua occaecat do labore culpa consectetur consectetur sunt amet tempor incididunt tempor esse sunt id elit non.

Laborum mollit ullamco quis ad culpa nisi sit nisi veniam minim adipisicing sint eiusmod velit amet minim aliquip nulla eiusmod nulla laboris quis proident in adipisicing aute et ea anim.

', tags : [ - '2026ce08-d08f-4b4f-9506-b10cdb5b104f' - ] + '2026ce08-d08f-4b4f-9506-b10cdb5b104f', + ], }, { id : '54b1c201-4b2b-4be0-ad70-a6413e9628cd', @@ -1173,15 +1173,15 @@ export const contacts = [ emails : [ { email: 'saundramurphy@mail.us', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'mt', phoneNumber: '902 529 2999', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Dental Laboratory Worker', company : 'Zilencio', @@ -1189,8 +1189,8 @@ export const contacts = [ address : '557 Monroe Street, Mayfair, Maryland, PO7200', notes : '

Fugiat mollit sunt aliquip consectetur ipsum ut aliqua id ex laboris labore id elit nulla irure id aute pariatur do officia proident eiusmod proident reprehenderit dolor non dolor laborum nulla.

Pariatur reprehenderit incididunt voluptate enim aliqua laborum anim veniam pariatur irure exercitation non dolore velit et ex culpa lorem ipsum mollit eu sint duis aliquip elit amet consectetur velit minim.

', tags : [ - '56ddbd47-4078-4ddd-8448-73c5e88d5f59' - ] + '56ddbd47-4078-4ddd-8448-73c5e88d5f59', + ], }, { id : 'faf979c7-a13b-445a-b30a-08845f5fa90e', @@ -1200,20 +1200,20 @@ export const contacts = [ emails : [ { email: 'enidsparks@mail.tv', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'bh', phoneNumber: '813 410 3258', - label : 'Mobile' + label : 'Mobile', }, { country : 'bh', phoneNumber: '877 501 2767', - label : 'Work' - } + label : 'Work', + }, ], title : 'Historiographer', company : 'Skybold', @@ -1221,8 +1221,8 @@ export const contacts = [ address : '219 Village Court, Keyport, Alabama, PO7776', notes : '

Velit enim anim est aliqua consequat exercitation velit quis magna est incididunt ipsum minim minim nulla adipisicing ad eiusmod id veniam eiusmod sit elit est pariatur velit ea laborum anim.

Ad lorem ea nisi irure id consequat ullamco nisi nostrud dolore officia ipsum veniam velit minim pariatur culpa culpa esse minim adipisicing sit labore commodo aute excepteur non do in.

', tags : [ - 'cbde2486-5033-4e09-838e-e901b108cd41' - ] + 'cbde2486-5033-4e09-838e-e901b108cd41', + ], }, { id : '2bfa2be5-7688-48d5-b5ac-dc0d9ac97f14', @@ -1232,20 +1232,20 @@ export const contacts = [ emails : [ { email: 'nadiamcknight@mail.com', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'tk', phoneNumber: '943 511 2203', - label : 'Mobile' + label : 'Mobile', }, { country : 'tk', phoneNumber: '817 578 2993', - label : 'Work' - } + label : 'Work', + }, ], title : 'Legal Assistant', company : 'Pearlesex', @@ -1253,8 +1253,8 @@ export const contacts = [ address : '448 Berriman Street, Reinerton, Washington, PO6704', notes : '

Esse sint lorem exercitation velit tempor tempor voluptate nulla proident excepteur magna tempor consectetur aliquip qui nisi mollit cupidatat est adipisicing ipsum sint et excepteur sit labore velit dolore labore.

Duis nisi adipisicing lorem do excepteur magna consequat labore magna ut consectetur eu enim occaecat id nulla laboris minim officia est id nisi mollit ullamco irure ut dolore esse aliqua.

', tags : [ - 'cbde2486-5033-4e09-838e-e901b108cd41' - ] + 'cbde2486-5033-4e09-838e-e901b108cd41', + ], }, { id : '77a4383b-b5a5-4943-bc46-04c3431d1566', @@ -1264,19 +1264,19 @@ export const contacts = [ emails : [ { email: 'bestblackburn@mail.name', - label: 'Personal' + label: 'Personal', }, { email: 'blackburn.best@beadzza.me', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'gl', phoneNumber: '814 498 3701', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Hotel Manager', company : 'Beadzza', @@ -1284,8 +1284,8 @@ export const contacts = [ address : '578 Tampa Court, Wescosville, Ohio, PO4108', notes : '

Lorem do deserunt nulla nostrud incididunt et laboris labore eu nisi ut ullamco veniam deserunt do non labore commodo amet aliquip exercitation ea occaecat amet non eiusmod ut minim fugiat.

Esse eu ex irure pariatur qui cillum labore nulla quis officia consequat commodo consequat fugiat culpa nostrud labore eu adipisicing magna irure aliquip est amet irure eiusmod esse reprehenderit mollit.

', tags : [ - '3eaab175-ec0d-4db7-bc3b-efc633c769be' - ] + '3eaab175-ec0d-4db7-bc3b-efc633c769be', + ], }, { id : '8bb0f597-673a-47ca-8c77-2f83219cb9af', @@ -1295,25 +1295,25 @@ export const contacts = [ emails : [ { email: 'duncancarver@mail.info', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'jm', phoneNumber: '968 547 2111', - label : 'Mobile' + label : 'Mobile', }, { country : 'jm', phoneNumber: '968 433 3120', - label : 'Work' + label : 'Work', }, { country : 'jm', phoneNumber: '905 425 2777', - label : 'Home' - } + label : 'Home', + }, ], title : 'Historiographer', company : 'Hotcakes', @@ -1321,8 +1321,8 @@ export const contacts = [ address : '931 Bristol Street, Why, South Carolina, PO9700', notes : '

Dolore laboris aute officia reprehenderit cupidatat aliquip duis labore aliquip officia est nostrud nisi voluptate eiusmod ad aute et ea cillum aliqua elit ipsum officia cillum laborum minim labore sit.

Exercitation labore ut pariatur occaecat ullamco non occaecat aliqua amet nostrud aliquip ipsum ad do ullamco enim laborum commodo minim elit ut quis laboris elit laborum proident sunt ullamco sit.

', tags : [ - '56ddbd47-4078-4ddd-8448-73c5e88d5f59' - ] + '56ddbd47-4078-4ddd-8448-73c5e88d5f59', + ], }, { id : 'c318e31f-1d74-49c5-8dae-2bc5805e2fdb', @@ -1332,25 +1332,25 @@ export const contacts = [ emails : [ { email: 'martinrichards@mail.biz', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'mg', phoneNumber: '902 500 2668', - label : 'Mobile' + label : 'Mobile', }, { country : 'mg', phoneNumber: '947 559 2919', - label : 'Work' + label : 'Work', }, { country : 'mg', phoneNumber: '934 434 3768', - label : 'Home' - } + label : 'Home', + }, ], title : 'Dental Laboratory Worker', company : 'Overfork', @@ -1358,8 +1358,8 @@ export const contacts = [ address : '268 Hutchinson Court, Drytown, Florida, PO3041', notes : '

Eu ipsum nisi eu lorem cupidatat mollit exercitation elit ea culpa enim qui culpa ad aliqua exercitation tempor nulla excepteur fugiat ipsum quis amet occaecat adipisicing ullamco duis dolore occaecat.

Non eu et elit ea labore lorem adipisicing voluptate incididunt ut officia aute minim incididunt lorem qui adipisicing mollit magna nisi consectetur cillum sit exercitation eiusmod qui eu nisi sunt.

', tags : [ - 'a8991c76-2fda-4bbd-a718-df13d6478847' - ] + 'a8991c76-2fda-4bbd-a718-df13d6478847', + ], }, { id : '0a8bc517-631a-4a93-aacc-000fa2e8294c', @@ -1369,15 +1369,15 @@ export const contacts = [ emails : [ { email: 'candicemunoz@mail.co.uk', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'fm', phoneNumber: '838 562 2769', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Legal Assistant', company : 'Eclipto', @@ -1385,8 +1385,8 @@ export const contacts = [ address : '946 Remsen Street, Caroline, New Mexico, PO3247', notes : '

Amet dolore elit irure in commodo in et eu eu nulla labore elit sunt et nisi quis officia nostrud et mollit dolor aute fugiat sunt reprehenderit quis sint minim ipsum.

Laboris ut sunt nisi aute incididunt reprehenderit mollit culpa velit exercitation reprehenderit irure id sunt officia magna est ea labore consectetur incididunt cillum qui tempor ea ullamco quis pariatur aliquip.

', tags : [ - '56ddbd47-4078-4ddd-8448-73c5e88d5f59' - ] + '56ddbd47-4078-4ddd-8448-73c5e88d5f59', + ], }, { id : 'a4c9945a-757b-40b0-8942-d20e0543cabd', @@ -1396,20 +1396,20 @@ export const contacts = [ emails : [ { email: 'vickiemosley@mail.net', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'tr', phoneNumber: '939 555 3054', - label : 'Mobile' + label : 'Mobile', }, { country : 'tr', phoneNumber: '852 486 2053', - label : 'Work' - } + label : 'Work', + }, ], title : 'Bindery Machine Operator', company : 'Strozen', @@ -1417,8 +1417,8 @@ export const contacts = [ address : '397 Vandalia Avenue, Rockingham, Michigan, PO8089', notes : '

Velit sunt sunt commodo ex amet laboris voluptate eu lorem aliqua minim occaecat cupidatat aliqua ipsum nisi velit id reprehenderit exercitation velit fugiat minim nisi deserunt voluptate anim cillum commodo.

Cillum velit nostrud cupidatat ex sit culpa deserunt cillum cupidatat cillum aute cupidatat exercitation ullamco sunt incididunt non magna sint lorem et incididunt laborum culpa qui sint sunt duis fugiat.

', tags : [ - 'cbde2486-5033-4e09-838e-e901b108cd41' - ] + 'cbde2486-5033-4e09-838e-e901b108cd41', + ], }, { id : 'b8258ccf-48b5-46a2-9c95-e0bd7580c645', @@ -1428,20 +1428,20 @@ export const contacts = [ emails : [ { email: 'tinaharris@mail.ca', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'gp', phoneNumber: '933 464 2431', - label : 'Mobile' + label : 'Mobile', }, { country : 'gp', phoneNumber: '894 535 3609', - label : 'Work' - } + label : 'Work', + }, ], title : 'Short Story Writer', company : 'Gallaxia', @@ -1449,8 +1449,8 @@ export const contacts = [ address : '821 Beverly Road, Tyro, Colorado, PO4248', notes : '

Incididunt non est consequat qui sit sunt aliquip sit quis minim laboris ullamco est culpa velit culpa cupidatat veniam incididunt non quis elit reprehenderit et officia cillum magna aliqua occaecat.

Cupidatat amet incididunt id pariatur minim veniam id dolor nisi labore cillum ea officia cupidatat do culpa aliqua consequat deserunt aliquip sit ea excepteur eiusmod labore tempor reprehenderit commodo exercitation.

', tags : [ - '56ddbd47-4078-4ddd-8448-73c5e88d5f59' - ] + '56ddbd47-4078-4ddd-8448-73c5e88d5f59', + ], }, { id : 'f004ea79-98fc-436c-9ba5-6cfe32fe583d', @@ -1460,24 +1460,24 @@ export const contacts = [ emails : [ { email: 'holtmanning@mail.org', - label: 'Personal' + label: 'Personal', }, { email: 'manning.holt@idetica.io', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'nz', phoneNumber: '822 531 2600', - label : 'Mobile' + label : 'Mobile', }, { country : 'nz', phoneNumber: '922 549 2094', - label : 'Work' - } + label : 'Work', + }, ], title : 'Fundraising Director', company : 'Idetica', @@ -1485,8 +1485,8 @@ export const contacts = [ address : '364 Porter Avenue, Delshire, Missouri, PO8911', notes : '

Velit fugiat minim sit nisi esse laboris ad velit proident non et cillum labore sint excepteur nisi eu amet voluptate duis duis id enim ea anim adipisicing consectetur id consectetur.

Ex eiusmod id magna in non lorem sunt sunt officia do adipisicing officia mollit occaecat sunt laborum aliquip adipisicing ullamco in sit proident et quis incididunt pariatur fugiat mollit anim.

', tags : [ - '65930b5a-5d2a-4303-b11f-865d69e6fdb5' - ] + '65930b5a-5d2a-4303-b11f-865d69e6fdb5', + ], }, { id : '8b69fe2d-d7cc-4a3d-983d-559173e37d37', @@ -1496,28 +1496,28 @@ export const contacts = [ emails : [ { email: 'mistyramsey@mail.us', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'kp', phoneNumber: '990 457 2106', - label : 'Mobile' + label : 'Mobile', }, { country : 'kp', phoneNumber: '918 550 2946', - label : 'Work' - } + label : 'Work', + }, ], company : 'Grupoli', birthday : '1969-08-10T12:00:00.000Z', address : '101 Sackett Street, Naomi, Tennessee, PO6335', notes : '

Ut cupidatat sint minim consectetur cupidatat aute ut anim consequat fugiat laboris quis sint sit nulla irure nulla officia eiusmod consequat ex quis ad ex ullamco et ut labore tempor.

Deserunt minim dolore voluptate aute aliqua est elit mollit ut ut consequat in esse est do ex officia nostrud aute id fugiat reprehenderit quis cillum fugiat id fugiat minim tempor.

', tags : [ - 'cbde2486-5033-4e09-838e-e901b108cd41' - ] + 'cbde2486-5033-4e09-838e-e901b108cd41', + ], }, { id : 'cdcc62e4-1520-4ccc-803d-52868c7e01ba', @@ -1527,25 +1527,25 @@ export const contacts = [ emails : [ { email: 'deealvarado@mail.tv', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'nu', phoneNumber: '855 445 2483', - label : 'Mobile' + label : 'Mobile', }, { country : 'nu', phoneNumber: '858 415 2860', - label : 'Work' + label : 'Work', }, { country : 'nu', phoneNumber: '968 587 2752', - label : 'Home' - } + label : 'Home', + }, ], title : 'Dental Laboratory Worker', company : 'Tsunamia', @@ -1553,8 +1553,8 @@ export const contacts = [ address : '956 Pierrepont Street, Crumpler, Hawaii, PO3299', notes : '

Esse excepteur ad aliquip amet elit reprehenderit ut nostrud magna ex esse dolore magna excepteur irure esse incididunt sunt enim laborum ex mollit magna elit quis ullamco aute minim veniam.

Duis id ullamco laboris elit ea ea dolore tempor est eu esse aliqua quis quis ut laborum mollit cillum proident deserunt fugiat ipsum elit exercitation quis mollit eiusmod officia non.

', tags : [ - '56ddbd47-4078-4ddd-8448-73c5e88d5f59' - ] + '56ddbd47-4078-4ddd-8448-73c5e88d5f59', + ], }, { id : 'e2946946-b4b5-4fd7-bab4-62c38cdff2f1', @@ -1564,15 +1564,15 @@ export const contacts = [ emails : [ { email: 'samanthajacobson@mail.com', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'es', phoneNumber: '879 591 3327', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Dental Laboratory Worker', company : 'Emoltra', @@ -1580,8 +1580,8 @@ export const contacts = [ address : '384 Love Lane, Dyckesville, New York, PO4115', notes : '

Consectetur eu et ea anim magna occaecat anim labore velit nulla non magna laboris duis sit adipisicing commodo laboris consequat id quis aliqua est culpa quis in ex est culpa.

Sunt qui excepteur reprehenderit nostrud voluptate eu laborum laborum id esse occaecat irure esse elit magna tempor ad est elit non labore tempor laborum deserunt voluptate cupidatat excepteur sunt sint.

', tags : [ - 'a8991c76-2fda-4bbd-a718-df13d6478847' - ] + 'a8991c76-2fda-4bbd-a718-df13d6478847', + ], }, { id : 'fdc77706-6ba2-4397-b2f8-a9a0b6495153', @@ -1591,20 +1591,20 @@ export const contacts = [ emails : [ { email: 'rhealandry@mail.name', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'jp', phoneNumber: '906 579 3698', - label : 'Mobile' + label : 'Mobile', }, { country : 'jp', phoneNumber: '841 475 2681', - label : 'Work' - } + label : 'Work', + }, ], title : 'Electromedical Equipment Technician', company : 'Comtent', @@ -1612,8 +1612,8 @@ export const contacts = [ address : '725 Arlington Avenue, Mathews, Wyoming, PO4562', notes : '

Eiusmod ullamco laboris tempor reprehenderit culpa non sunt ea consequat velit id ipsum commodo eiusmod exercitation laboris aliqua magna reprehenderit culpa tempor mollit pariatur consectetur amet aliqua cillum voluptate exercitation.

Qui cillum consectetur qui proident adipisicing id qui esse aute velit excepteur pariatur ea excepteur sunt velit nostrud esse mollit sint ex irure sunt aliquip velit consequat minim do officia.

', tags : [ - 'c31e9e5d-e0cb-4574-a13f-8a6ee5ff8309' - ] + 'c31e9e5d-e0cb-4574-a13f-8a6ee5ff8309', + ], }, { id : '12148fa2-e0a4-49fb-b3c5-daeecdb5180a', @@ -1623,29 +1623,29 @@ export const contacts = [ emails : [ { email: 'olgarhodes@mail.me', - label: 'Personal' + label: 'Personal', }, { email: 'rhodes.olga@moreganic.info', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'tl', phoneNumber: '971 514 3366', - label : 'Mobile' + label : 'Mobile', }, { country : 'tl', phoneNumber: '807 480 2033', - label : 'Work' + label : 'Work', }, { country : 'tl', phoneNumber: '810 528 3783', - label : 'Home' - } + label : 'Home', + }, ], title : 'Pastry Baker', company : 'Moreganic', @@ -1653,8 +1653,8 @@ export const contacts = [ address : '253 Beard Street, Staples, Massachusetts, PO8089', notes : '

Proident est est et in commodo incididunt anim fugiat laboris pariatur eu enim dolor eiusmod dolor voluptate officia eiusmod excepteur culpa aute do do anim pariatur irure incididunt incididunt est.

Sint duis mollit dolor laborum ex non esse consequat anim et qui est nostrud incididunt fugiat anim veniam sunt cupidatat ut voluptate commodo non ex tempor ullamco magna culpa culpa.

', tags : [ - '65930b5a-5d2a-4303-b11f-865d69e6fdb5' - ] + '65930b5a-5d2a-4303-b11f-865d69e6fdb5', + ], }, { id : '07dd64eb-8b8f-4765-a16c-8db083c45096', @@ -1664,25 +1664,25 @@ export const contacts = [ emails : [ { email: 'lorrainepennington@mail.biz', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'fm', phoneNumber: '932 404 3308', - label : 'Mobile' + label : 'Mobile', }, { country : 'fm', phoneNumber: '979 550 3200', - label : 'Work' + label : 'Work', }, { country : 'fm', phoneNumber: '868 557 3568', - label : 'Home' - } + label : 'Home', + }, ], title : 'Electromedical Equipment Technician', company : 'Marvane', @@ -1690,8 +1690,8 @@ export const contacts = [ address : '962 Whitney Avenue, Sussex, North Dakota, PO5796', notes : '

Nulla nisi officia quis aliquip voluptate mollit ut anim eu et quis tempor incididunt consectetur exercitation cupidatat in nisi exercitation est culpa nostrud sit elit sit sunt do ipsum eu.

Enim voluptate ad ullamco tempor voluptate culpa et ut ullamco eu consequat est esse excepteur est nostrud velit enim culpa dolore non quis occaecat eiusmod velit ex mollit tempor labore.

', tags : [ - 'c31e9e5d-e0cb-4574-a13f-8a6ee5ff8309' - ] + 'c31e9e5d-e0cb-4574-a13f-8a6ee5ff8309', + ], }, { id : '81fdc48c-5572-4123-8a73-71b7892120de', @@ -1701,19 +1701,19 @@ export const contacts = [ emails : [ { email: 'earlenerosales@mail.co.uk', - label: 'Personal' + label: 'Personal', }, { email: 'rosales.earlene@softmicro.net', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'ki', phoneNumber: '927 589 3619', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Historiographer', company : 'Softmicro', @@ -1721,8 +1721,8 @@ export const contacts = [ address : '981 Kingston Avenue, Topaz, Connecticut, PO6866', notes : '

Adipisicing fugiat magna eiusmod consectetur id commodo incididunt ullamco ut sint minim nulla in do aute in sit pariatur irure dolor magna pariatur ad officia excepteur duis ullamco dolor sunt.

Dolor laborum proident voluptate eu esse lorem adipisicing enim consectetur veniam nisi pariatur aliquip sit laborum sunt adipisicing anim labore eiusmod nostrud irure irure nisi ipsum dolor aliquip ex exercitation.

', tags : [ - '3eaab175-ec0d-4db7-bc3b-efc633c769be' - ] + '3eaab175-ec0d-4db7-bc3b-efc633c769be', + ], }, { id : 'f8bbf6be-d49a-41a3-bb80-3d51df84c12b', @@ -1732,29 +1732,29 @@ export const contacts = [ emails : [ { email: 'marciahatfield@mail.ca', - label: 'Personal' + label: 'Personal', }, { email: 'hatfield.marcia@datagen.org', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'no', phoneNumber: '883 432 3718', - label : 'Mobile' + label : 'Mobile', }, { country : 'no', phoneNumber: '934 516 2135', - label : 'Work' + label : 'Work', }, { country : 'no', phoneNumber: '923 596 3843', - label : 'Home' - } + label : 'Home', + }, ], title : 'Track Service Worker', company : 'Datagen', @@ -1762,8 +1762,8 @@ export const contacts = [ address : '802 Preston Court, Waikele, Pennsylvania, PO7421', notes : '

Aliqua sint aute in cillum deserunt enim fugiat tempor est pariatur irure commodo commodo deserunt eu nulla laboris enim occaecat incididunt voluptate enim est reprehenderit qui anim veniam sint adipisicing.

Commodo veniam occaecat ex et laborum minim fugiat sunt commodo velit dolor labore excepteur fugiat ipsum eiusmod in esse ex nulla deserunt minim consectetur in est sunt eu commodo fugiat.

', tags : [ - '65930b5a-5d2a-4303-b11f-865d69e6fdb5' - ] + '65930b5a-5d2a-4303-b11f-865d69e6fdb5', + ], }, { id : 'cd482941-3eaf-4560-ac37-56a9296025df', @@ -1773,15 +1773,15 @@ export const contacts = [ emails : [ { email: 'lilianaayala@mail.io', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'bd', phoneNumber: '936 590 2412', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Insurance Analyst', company : 'Pharmex', @@ -1789,8 +1789,8 @@ export const contacts = [ address : '935 Guider Avenue, Kipp, Wisconsin, PO5282', notes : '

Magna et culpa cillum sint labore consequat aute aliqua amet ea consequat ut ullamco nisi commodo lorem enim amet dolor sit nisi dolor do sit lorem cillum esse reprehenderit ut.

Quis veniam anim nulla adipisicing veniam fugiat elit duis pariatur anim irure adipisicing elit labore eu aute exercitation qui exercitation commodo exercitation ipsum tempor non et ex eu aute proident.

', tags : [ - 'a8991c76-2fda-4bbd-a718-df13d6478847' - ] + 'a8991c76-2fda-4bbd-a718-df13d6478847', + ], }, { id : '22f18d47-ff8d-440e-888d-a1747c093052', @@ -1800,25 +1800,25 @@ export const contacts = [ emails : [ { email: 'aliceharding@mail.us', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'sx', phoneNumber: '881 472 3113', - label : 'Mobile' + label : 'Mobile', }, { country : 'sx', phoneNumber: '974 548 3124', - label : 'Work' + label : 'Work', }, { country : 'sx', phoneNumber: '800 518 3615', - label : 'Home' - } + label : 'Home', + }, ], title : 'Track Service Worker', company : 'Futurity', @@ -1826,8 +1826,8 @@ export const contacts = [ address : '387 Holt Court, Thomasville, Alaska, PO2867', notes : '

Adipisicing exercitation dolor nisi ipsum nostrud anim dolore sint veniam consequat lorem sit ex commodo nostrud occaecat elit magna magna commodo incididunt laborum ad irure pariatur et sit ullamco adipisicing.

Ullamco in dolore amet est quis consectetur fugiat non nisi incididunt id laborum adipisicing dolor proident velit ut quis aliquip dolore id anim sit adipisicing nisi incididunt enim amet pariatur.

', tags : [ - 'cbde2486-5033-4e09-838e-e901b108cd41' - ] + 'cbde2486-5033-4e09-838e-e901b108cd41', + ], }, { id : 'a9a9f382-e4c3-42fb-9fe9-65aa534732b5', @@ -1837,24 +1837,24 @@ export const contacts = [ emails : [ { email: 'franciscaperkins@mail.tv', - label: 'Personal' + label: 'Personal', }, { email: 'perkins.francisca@overplex.com', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'au', phoneNumber: '830 430 3437', - label : 'Mobile' + label : 'Mobile', }, { country : 'au', phoneNumber: '868 538 2886', - label : 'Work' - } + label : 'Work', + }, ], title : 'Dental Laboratory Worker', company : 'Overplex', @@ -1862,8 +1862,8 @@ export const contacts = [ address : '733 Delmonico Place, Belvoir, Virginia, PO7102', notes : '

Voluptate nisi adipisicing ex magna mollit non cillum dolor in magna duis exercitation irure elit duis eiusmod deserunt lorem nulla sunt laboris quis voluptate ullamco labore adipisicing quis minim ipsum.

Id ut esse elit proident mollit nulla exercitation magna voluptate sit eiusmod labore velit commodo exercitation dolore anim est eiusmod occaecat et consequat eiusmod culpa ipsum deserunt lorem non incididunt.

', tags : [ - '2026ce08-d08f-4b4f-9506-b10cdb5b104f' - ] + '2026ce08-d08f-4b4f-9506-b10cdb5b104f', + ], }, { id : '0222b24b-c288-48d1-b356-0f087fa172f8', @@ -1873,29 +1873,29 @@ export const contacts = [ emails : [ { email: 'warrengates@mail.name', - label: 'Personal' + label: 'Personal', }, { email: 'gates.warren@qualitex.me', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'gt', phoneNumber: '847 513 2248', - label : 'Mobile' + label : 'Mobile', }, { country : 'gt', phoneNumber: '866 591 3665', - label : 'Work' + label : 'Work', }, { country : 'gt', phoneNumber: '877 539 3840', - label : 'Home' - } + label : 'Home', + }, ], title : 'Banker Mason', company : 'Qualitex', @@ -1903,8 +1903,8 @@ export const contacts = [ address : '713 Fane Court, Lemoyne, Kentucky, PO3601', notes : '

Sint tempor consectetur ullamco ullamco consequat exercitation ea occaecat eiusmod cupidatat anim pariatur nisi pariatur excepteur ut labore anim excepteur sit eu consequat do enim pariatur et dolore in irure.

Commodo ut non minim sunt nisi tempor culpa duis anim ipsum qui irure lorem est voluptate voluptate officia occaecat lorem labore elit officia laboris mollit et eiusmod esse laborum nisi.

', tags : [ - 'cbde2486-5033-4e09-838e-e901b108cd41' - ] + 'cbde2486-5033-4e09-838e-e901b108cd41', + ], }, { id : '0630f1ca-cdb9-405d-b134-68f733334089', @@ -1914,24 +1914,24 @@ export const contacts = [ emails : [ { email: 'maryannmcintyre@mail.info', - label: 'Personal' + label: 'Personal', }, { email: 'mcintyre.maryann@aquafire.biz', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'bf', phoneNumber: '861 419 2752', - label : 'Mobile' + label : 'Mobile', }, { country : 'bf', phoneNumber: '935 553 3031', - label : 'Work' - } + label : 'Work', + }, ], title : 'Fundraising Director', company : 'Aquafire', @@ -1939,8 +1939,8 @@ export const contacts = [ address : '698 Brooklyn Avenue, Dixonville, Utah, PO2712', notes : '

Pariatur velit ea ad quis elit pariatur consectetur eiusmod veniam non incididunt ex ex et nulla voluptate fugiat esse sit dolore voluptate in dolor nulla laborum irure consequat sit pariatur.

Dolore ex officia incididunt pariatur ea amet sunt enim aute labore cupidatat laboris eiusmod enim lorem labore nostrud ea consectetur et eu sunt exercitation dolore consequat fugiat anim in exercitation.

', tags : [ - 'a8991c76-2fda-4bbd-a718-df13d6478847' - ] + 'a8991c76-2fda-4bbd-a718-df13d6478847', + ], }, { id : '999c24f3-7bb8-4a01-85ca-2fca7863c57e', @@ -1950,29 +1950,29 @@ export const contacts = [ emails : [ { email: 'sharonmarshall@mail.co.uk', - label: 'Personal' + label: 'Personal', }, { email: 'marshall.sharon@utara.net', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'fo', phoneNumber: '947 441 2999', - label : 'Mobile' + label : 'Mobile', }, { country : 'fo', phoneNumber: '984 441 2615', - label : 'Work' + label : 'Work', }, { country : 'fo', phoneNumber: '824 541 2714', - label : 'Home' - } + label : 'Home', + }, ], title : 'Legal Assistant', company : 'Utara', @@ -1980,8 +1980,8 @@ export const contacts = [ address : '923 Ivan Court, Hatteras, Idaho, PO7573', notes : '

Est duis sint ullamco nulla do tempor do dolore laboris in sint ad duis est eu consequat nisi esse irure tempor sunt pariatur qui mollit ipsum quis esse ex ipsum.

Dolore anim irure quis ipsum adipisicing sint et incididunt aute nisi minim aliquip consectetur duis tempor laborum nostrud exercitation do mollit irure anim lorem non excepteur commodo laborum dolore dolor.

', tags : [ - '3eaab175-ec0d-4db7-bc3b-efc633c769be' - ] + '3eaab175-ec0d-4db7-bc3b-efc633c769be', + ], }, { id : '7e8e1f1e-d19f-45c7-86bd-6fef599dae71', @@ -1991,29 +1991,29 @@ export const contacts = [ emails : [ { email: 'margowitt@mail.ca', - label: 'Personal' + label: 'Personal', }, { email: 'witt.margo@norsul.org', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'ao', phoneNumber: '992 596 3391', - label : 'Mobile' + label : 'Mobile', }, { country : 'ao', phoneNumber: '950 489 2505', - label : 'Work' + label : 'Work', }, { country : 'ao', phoneNumber: '891 540 2231', - label : 'Home' - } + label : 'Home', + }, ], title : 'Television News Producer', company : 'Norsul', @@ -2021,8 +2021,8 @@ export const contacts = [ address : '539 Rockaway Avenue, Whitmer, Guam, PO4871', notes : '

Sunt quis officia elit laborum excepteur consequat amet cillum labore deserunt cillum cillum labore exercitation minim laboris anim incididunt voluptate minim duis enim eu duis veniam labore nisi culpa duis.

Pariatur irure sunt et commodo reprehenderit consectetur duis et ullamco fugiat occaecat culpa enim incididunt officia minim aliqua sit amet do dolore pariatur fugiat et adipisicing labore dolor id dolore.

', tags : [ - '56ddbd47-4078-4ddd-8448-73c5e88d5f59' - ] + '56ddbd47-4078-4ddd-8448-73c5e88d5f59', + ], }, { id : 'bedcb6a2-da83-4631-866a-77d10d239477', @@ -2032,15 +2032,15 @@ export const contacts = [ emails : [ { email: 'alvaradoturner@mail.io', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'lv', phoneNumber: '961 537 3956', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Fundraising Director', company : 'Geologix', @@ -2048,8 +2048,8 @@ export const contacts = [ address : '233 Willmohr Street, Cressey, Iowa, PO1962', notes : '

In amet voluptate ad eiusmod cupidatat nulla sunt eu amet occaecat qui cillum occaecat tempor minim nostrud ullamco amet elit aliquip est nisi officia lorem occaecat ea lorem officia veniam.

Nulla tempor id excepteur irure do do veniam eiusmod esse ipsum sint dolore commodo enim officia nulla nulla proident in dolor et aliquip sit nulla sit proident duis aute deserunt.

', tags : [ - '56ddbd47-4078-4ddd-8448-73c5e88d5f59' - ] + '56ddbd47-4078-4ddd-8448-73c5e88d5f59', + ], }, { id : '66f9de1b-f842-4d4c-bb59-f97e91db0462', @@ -2059,29 +2059,29 @@ export const contacts = [ emails : [ { email: 'maldonadorodriquez@mail.us', - label: 'Personal' + label: 'Personal', }, { email: 'rodriquez.maldonado@zentility.tv', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'et', phoneNumber: '811 502 3398', - label : 'Mobile' + label : 'Mobile', }, { country : 'et', phoneNumber: '877 402 2443', - label : 'Work' + label : 'Work', }, { country : 'et', phoneNumber: '949 536 3451', - label : 'Home' - } + label : 'Home', + }, ], title : 'Dental Laboratory Worker', company : 'Zentility', @@ -2089,8 +2089,8 @@ export const contacts = [ address : '916 Cobek Court, Morningside, South Dakota, PO2019', notes : '

Laboris consequat labore nisi aute voluptate minim amet nulla elit tempor dolor nulla do et consequat esse dolore fugiat laboris deserunt velit minim laboris voluptate enim ut non laboris nisi.

Magna pariatur voluptate veniam nostrud irure magna pariatur ut quis reprehenderit voluptate aute duis sunt laboris consequat lorem eu pariatur nulla incididunt quis lorem consectetur ex lorem commodo magna dolore.

', tags : [ - 'c31e9e5d-e0cb-4574-a13f-8a6ee5ff8309' - ] + 'c31e9e5d-e0cb-4574-a13f-8a6ee5ff8309', + ], }, { id : '9cb0ea57-3461-4182-979b-593b0c1ec6c3', @@ -2100,29 +2100,29 @@ export const contacts = [ emails : [ { email: 'tranduke@mail.com', - label: 'Personal' + label: 'Personal', }, { email: 'duke.tran@splinx.name', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'si', phoneNumber: '837 503 2254', - label : 'Mobile' + label : 'Mobile', }, { country : 'si', phoneNumber: '893 405 3190', - label : 'Work' + label : 'Work', }, { country : 'si', phoneNumber: '931 402 3874', - label : 'Home' - } + label : 'Home', + }, ], title : 'Legal Assistant', company : 'Splinx', @@ -2130,8 +2130,8 @@ export const contacts = [ address : '405 Canarsie Road, Richville, Virgin Islands, PO2744', notes : '

Occaecat do excepteur non ipsum labore consequat id eu sunt minim aliquip elit occaecat velit ut aute cupidatat irure ex eiusmod fugiat ea ea cupidatat nulla dolor labore consectetur amet.

Mollit enim dolore deserunt tempor aliqua velit nostrud nostrud id consectetur lorem in enim excepteur nisi laborum ex commodo sint ea et culpa lorem esse culpa ad officia do amet.

', tags : [ - '3eaab175-ec0d-4db7-bc3b-efc633c769be' - ] + '3eaab175-ec0d-4db7-bc3b-efc633c769be', + ], }, { id : '2fb89a90-5622-4b5b-8df3-d49b85905392', @@ -2141,25 +2141,25 @@ export const contacts = [ emails : [ { email: 'estelalyons@mail.me', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'vg', phoneNumber: '864 459 3205', - label : 'Mobile' + label : 'Mobile', }, { country : 'vg', phoneNumber: '886 524 2880', - label : 'Work' + label : 'Work', }, { country : 'vg', phoneNumber: '815 484 3420', - label : 'Home' - } + label : 'Home', + }, ], title : 'Animal Sitter', company : 'Gonkle', @@ -2167,8 +2167,8 @@ export const contacts = [ address : '540 Metrotech Courtr, Garfield, American Samoa, PO2290', notes : '

Ullamco dolore ipsum exercitation officia dolore sit consequat nisi consequat occaecat et ipsum veniam anim tempor pariatur sunt in adipisicing aliqua non dolor laborum veniam nisi dolore quis sunt incididunt.

Incididunt ullamco sunt magna reprehenderit velit dolor qui anim eiusmod nostrud commodo exercitation velit incididunt exercitation nulla ad aute eiusmod est amet exercitation est nostrud sit esse esse ad irure.

', tags : [ - '2026ce08-d08f-4b4f-9506-b10cdb5b104f' - ] + '2026ce08-d08f-4b4f-9506-b10cdb5b104f', + ], }, { id : '8141dd08-3a6e-4770-912c-59d0ed06dde6', @@ -2178,19 +2178,19 @@ export const contacts = [ emails : [ { email: 'madeleinefletcher@mail.info', - label: 'Personal' + label: 'Personal', }, { email: 'fletcher.madeleine@genmom.biz', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'uy', phoneNumber: '898 554 3354', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Fundraising Director', company : 'Genmom', @@ -2198,8 +2198,8 @@ export const contacts = [ address : '825 Cherry Street, Foscoe, Minnesota, PO7290', notes : '

Fugiat in exercitation nostrud labore labore irure ex magna ex aliquip veniam sit irure irure deserunt occaecat tempor cillum aliqua dolore ea tempor dolore laboris est amet quis consequat quis.

Esse officia velit consectetur ullamco ea pariatur mollit sit consectetur sint mollit commodo anim anim ea amet consectetur eiusmod aliqua excepteur elit laborum magna non fugiat nisi pariatur ut velit.

', tags : [ - '56ddbd47-4078-4ddd-8448-73c5e88d5f59' - ] + '56ddbd47-4078-4ddd-8448-73c5e88d5f59', + ], }, { id : '7585015c-ada2-4f88-998d-9646865d1ad2', @@ -2209,25 +2209,25 @@ export const contacts = [ emails : [ { email: 'meyerroach@mail.co.uk', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'uz', phoneNumber: '891 543 2053', - label : 'Mobile' + label : 'Mobile', }, { country : 'uz', phoneNumber: '842 564 3671', - label : 'Work' + label : 'Work', }, { country : 'uz', phoneNumber: '992 491 3514', - label : 'Home' - } + label : 'Home', + }, ], title : 'Electromedical Equipment Technician', company : 'Zentime', @@ -2235,8 +2235,8 @@ export const contacts = [ address : '315 Albemarle Road, Allison, Arkansas, PO6008', notes : '

Eiusmod deserunt aliqua dolore ipsum cillum veniam minim dolore nulla aute aliqua voluptate labore sint cillum excepteur nulla nostrud do cupidatat eu adipisicing reprehenderit deserunt elit qui mollit adipisicing eu.

Proident commodo magna eu voluptate eiusmod aliqua laborum eu ea elit quis ullamco ullamco magna minim enim amet dolore sit lorem aliqua officia amet officia non magna enim cillum sit.

', tags : [ - 'c31e9e5d-e0cb-4574-a13f-8a6ee5ff8309' - ] + 'c31e9e5d-e0cb-4574-a13f-8a6ee5ff8309', + ], }, { id : '32c73a6a-67f2-48a9-b2a1-b23da83187bb', @@ -2246,24 +2246,24 @@ export const contacts = [ emails : [ { email: 'boltonobrien@mail.net', - label: 'Personal' + label: 'Personal', }, { email: 'obrien.bolton@enersol.ca', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'tn', phoneNumber: '860 472 2458', - label : 'Mobile' + label : 'Mobile', }, { country : 'tn', phoneNumber: '887 499 3580', - label : 'Work' - } + label : 'Work', + }, ], title : 'Banker Mason', company : 'Enersol', @@ -2271,8 +2271,8 @@ export const contacts = [ address : '818 Aviation Road, Geyserville, Palau, PO9655', notes : '

Cupidatat lorem tempor commodo do eu ea dolor eiusmod do nisi occaecat fugiat labore non esse aliquip ullamco laboris adipisicing pariatur nostrud enim minim do fugiat culpa exercitation lorem duis.

Pariatur cupidatat tempor est et nostrud in amet aliquip sint nulla amet ea lorem irure sint sit ea aliquip voluptate id laboris fugiat cillum cillum dolore deserunt fugiat ad tempor.

', tags : [ - 'a8991c76-2fda-4bbd-a718-df13d6478847' - ] + 'a8991c76-2fda-4bbd-a718-df13d6478847', + ], }, { id : '114642a2-ccb7-4cb1-ad2b-5e9b6a0c1d2e', @@ -2282,25 +2282,25 @@ export const contacts = [ emails : [ { email: 'barberjohnson@mail.org', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'az', phoneNumber: '928 567 2521', - label : 'Mobile' + label : 'Mobile', }, { country : 'az', phoneNumber: '898 515 2048', - label : 'Work' + label : 'Work', }, { country : 'az', phoneNumber: '935 495 3348', - label : 'Home' - } + label : 'Home', + }, ], title : 'Talent Manager', company : 'Zounds', @@ -2308,8 +2308,8 @@ export const contacts = [ address : '386 Vernon Avenue, Dragoon, North Carolina, PO4559', notes : '

Esse amet ex duis esse aliqua non tempor ullamco dolore et aliquip nisi pariatur qui laborum id consequat tempor sint eiusmod exercitation velit aliquip occaecat tempor nisi aute magna sint.

Deserunt veniam voluptate dolore eiusmod eu consequat dolor sit pariatur laboris anim excepteur consequat nulla officia exercitation magna sint ea excepteur qui eu officia pariatur culpa sint elit nulla officia.

', tags : [ - '56ddbd47-4078-4ddd-8448-73c5e88d5f59' - ] + '56ddbd47-4078-4ddd-8448-73c5e88d5f59', + ], }, { id : '310ece7d-dbb0-45d6-9e69-14c24e50fe3d', @@ -2319,20 +2319,20 @@ export const contacts = [ emails : [ { email: 'cervanteskramer@mail.io', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'vg', phoneNumber: '998 498 2507', - label : 'Mobile' + label : 'Mobile', }, { country : 'vg', phoneNumber: '856 477 3445', - label : 'Work' - } + label : 'Work', + }, ], title : 'Motor Winder', company : 'Xeronk', @@ -2340,8 +2340,8 @@ export const contacts = [ address : '238 Rochester Avenue, Lydia, Oklahoma, PO3914', notes : '

Excepteur do ullamco voluptate deserunt tempor ullamco enim non incididunt adipisicing sunt sint sit qui occaecat occaecat id laboris et duis amet reprehenderit cupidatat aliquip dolore ea eu ea nulla.

Cillum nulla deserunt laboris eu sint dolor non laboris cupidatat aute nisi amet mollit ipsum cillum excepteur consequat tempor exercitation consequat nostrud ipsum qui excepteur eiusmod nostrud laboris pariatur sint.

', tags : [ - 'a8991c76-2fda-4bbd-a718-df13d6478847' - ] + 'a8991c76-2fda-4bbd-a718-df13d6478847', + ], }, { id : 'dcc673f6-de59-4715-94ed-8f64663d449b', @@ -2351,25 +2351,25 @@ export const contacts = [ emails : [ { email: 'megansuarez@mail.us', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'bb', phoneNumber: '875 422 2053', - label : 'Mobile' + label : 'Mobile', }, { country : 'bb', phoneNumber: '861 487 2597', - label : 'Work' + label : 'Work', }, { country : 'bb', phoneNumber: '873 414 3953', - label : 'Home' - } + label : 'Home', + }, ], title : 'Bindery Machine Operator', company : 'Cemention', @@ -2377,8 +2377,8 @@ export const contacts = [ address : '112 Tillary Street, Camptown, Vermont, PO8827', notes : '

Pariatur tempor laborum deserunt commodo eiusmod adipisicing amet anim irure fugiat laboris velit do velit elit aute deserunt officia fugiat nulla ullamco est elit veniam officia sit veniam velit commodo.

Laboris duis eu adipisicing esse fugiat voluptate enim sint in voluptate lorem laboris eiusmod commodo nostrud dolor qui incididunt non fugiat culpa aliquip minim voluptate lorem sint sunt velit eiusmod.

', tags : [ - '65930b5a-5d2a-4303-b11f-865d69e6fdb5' - ] + '65930b5a-5d2a-4303-b11f-865d69e6fdb5', + ], }, { id : '3e4ca731-d39b-4ad9-b6e0-f84e67f4b74a', @@ -2388,33 +2388,33 @@ export const contacts = [ emails : [ { email: 'ofeliaratliff@mail.tv', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'vu', phoneNumber: '978 546 3699', - label : 'Mobile' + label : 'Mobile', }, { country : 'vu', phoneNumber: '892 551 2229', - label : 'Work' + label : 'Work', }, { country : 'vu', phoneNumber: '949 495 3479', - label : 'Home' - } + label : 'Home', + }, ], company : 'Buzzmaker', birthday : '1988-11-11T12:00:00.000Z', address : '951 Hampton Avenue, Bartonsville, Mississippi, PO4232', notes : '

Ad lorem id irure aute ipsum ex occaecat commodo dolore eu dolor exercitation anim quis officia deserunt lorem sunt officia eu sit aliquip laborum id duis aliqua quis aute magna.

Do do lorem est amet aliqua ex excepteur nisi cupidatat esse consequat ipsum in ad eiusmod proident cupidatat dolore anim ut pariatur sint do elit incididunt officia adipisicing amet eu.

', tags : [ - 'a8991c76-2fda-4bbd-a718-df13d6478847' - ] + 'a8991c76-2fda-4bbd-a718-df13d6478847', + ], }, { id : '2012d4a5-19e4-444d-aaff-1d8b1d853650', @@ -2424,25 +2424,25 @@ export const contacts = [ emails : [ { email: 'laurelparker@mail.com', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'lu', phoneNumber: '805 502 3677', - label : 'Mobile' + label : 'Mobile', }, { country : 'lu', phoneNumber: '925 527 2973', - label : 'Work' + label : 'Work', }, { country : 'lu', phoneNumber: '975 495 2977', - label : 'Home' - } + label : 'Home', + }, ], title : 'Fundraising Director', company : 'Omnigog', @@ -2450,8 +2450,8 @@ export const contacts = [ address : '157 Woodhull Street, Rutherford, West Virginia, PO6646', notes : '

Duis laboris consectetur et anim eiusmod laborum aute mollit ut officia ipsum dolore eiusmod ex eu elit officia est amet aliquip ullamco veniam proident id aliquip duis qui voluptate fugiat.

Sunt aliquip nulla amet sint culpa laboris quis proident qui veniam excepteur ullamco irure non eu occaecat est enim ut velit dolore sit tempor cillum reprehenderit proident velit lorem ad.

', tags : [ - '2026ce08-d08f-4b4f-9506-b10cdb5b104f' - ] + '2026ce08-d08f-4b4f-9506-b10cdb5b104f', + ], }, { id : '012b8219-74bf-447c-af2c-66904d90a956', @@ -2461,19 +2461,19 @@ export const contacts = [ emails : [ { email: 'tracydelacruz@mail.name', - label: 'Personal' + label: 'Personal', }, { email: 'delacruz.tracy@shepard.me', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'co', phoneNumber: '974 428 2886', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Bindery Machine Operator', company : 'Shepard', @@ -2481,8 +2481,8 @@ export const contacts = [ address : '604 Merit Court, Wyano, New Hampshire, PO1641', notes : '

Dolor anim fugiat aliquip eiusmod lorem nisi adipisicing ea deserunt est quis non sit nulla voluptate deserunt magna eiusmod irure labore fugiat consectetur laboris velit voluptate exercitation aute magna sit.

Sunt ullamco quis qui ea ullamco quis sit ex nisi deserunt fugiat qui culpa minim proident dolor veniam lorem nulla amet do dolor proident sunt ex incididunt ipsum cillum non.

', tags : [ - 'c31e9e5d-e0cb-4574-a13f-8a6ee5ff8309' - ] + 'c31e9e5d-e0cb-4574-a13f-8a6ee5ff8309', + ], }, { id : '8b1befd2-66a7-4981-ae52-77f01b382d18', @@ -2492,29 +2492,29 @@ export const contacts = [ emails : [ { email: 'jeannettestanton@mail.info', - label: 'Personal' + label: 'Personal', }, { email: 'stanton.jeannette@zentury.biz', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'dz', phoneNumber: '947 561 3783', - label : 'Mobile' + label : 'Mobile', }, { country : 'dz', phoneNumber: '917 463 3737', - label : 'Work' + label : 'Work', }, { country : 'dz', phoneNumber: '835 510 2059', - label : 'Home' - } + label : 'Home', + }, ], title : 'Hotel Manager', company : 'Zentury', @@ -2522,8 +2522,8 @@ export const contacts = [ address : '100 Menahan Street, Snyderville, Kansas, PO1006', notes : '

Sint anim sint tempor proident irure proident exercitation dolor enim in sint non occaecat tempor mollit dolore ea labore ipsum sunt in incididunt proident excepteur id in velit et quis.

Amet mollit ut nostrud cupidatat ut culpa irure in ex occaecat aute aliqua tempor incididunt elit nulla irure aliqua ea do amet ex elit incididunt minim eu fugiat elit pariatur.

', tags : [ - '56ddbd47-4078-4ddd-8448-73c5e88d5f59' - ] + '56ddbd47-4078-4ddd-8448-73c5e88d5f59', + ], }, { id : '844668c3-5e20-4fed-9e3a-7d274f696e61', @@ -2533,19 +2533,19 @@ export const contacts = [ emails : [ { email: 'johnniecleveland@mail.co.uk', - label: 'Personal' + label: 'Personal', }, { email: 'cleveland.johnnie@viasia.net', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'au', phoneNumber: '947 468 2942', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Fundraising Director', company : 'Viasia', @@ -2553,8 +2553,8 @@ export const contacts = [ address : '283 Albany Avenue, Jennings, Rhode Island, PO1646', notes : '

Id est dolore nostrud consectetur ullamco aliquip dolore nisi consectetur cupidatat consectetur ut lorem exercitation laborum est culpa qui aliquip fugiat fugiat laborum minim sint sit laborum elit consectetur occaecat.

Cillum eu aliquip ex enim dolore enim ea pariatur elit voluptate in eu magna eu voluptate est cupidatat aliqua cupidatat ex eu dolor voluptate velit fugiat ipsum labore labore aliqua.

', tags : [ - '65930b5a-5d2a-4303-b11f-865d69e6fdb5' - ] + '65930b5a-5d2a-4303-b11f-865d69e6fdb5', + ], }, { id : '5a01e870-8be1-45a5-b58a-ec09c06e8f28', @@ -2564,20 +2564,20 @@ export const contacts = [ emails : [ { email: 'stacihyde@mail.ca', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'id', phoneNumber: '944 525 2944', - label : 'Mobile' + label : 'Mobile', }, { country : 'id', phoneNumber: '877 500 2506', - label : 'Work' - } + label : 'Work', + }, ], title : 'Banker Mason', company : 'Zilla', @@ -2585,8 +2585,8 @@ export const contacts = [ address : '560 Dooley Street, Ellerslie, Louisiana, PO1005', notes : '

Pariatur esse ex laborum ex dolor laborum proident enim consectetur occaecat magna adipisicing magna dolore officia aute et dolor aliquip enim adipisicing culpa reprehenderit aliqua officia qui pariatur aliquip occaecat.

Excepteur est nisi officia eiusmod et duis mollit labore minim duis officia lorem ipsum duis deserunt cupidatat excepteur nostrud incididunt non cillum fugiat adipisicing anim consectetur nostrud aliquip labore cupidatat.

', tags : [ - '56ddbd47-4078-4ddd-8448-73c5e88d5f59' - ] + '56ddbd47-4078-4ddd-8448-73c5e88d5f59', + ], }, { id : '5ac1f193-f150-45f9-bfe4-b7b4e1a83ff9', @@ -2596,25 +2596,25 @@ export const contacts = [ emails : [ { email: 'angelagallagher@mail.org', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'et', phoneNumber: '996 514 3856', - label : 'Mobile' + label : 'Mobile', }, { country : 'et', phoneNumber: '903 539 2049', - label : 'Work' + label : 'Work', }, { country : 'et', phoneNumber: '938 463 3685', - label : 'Home' - } + label : 'Home', + }, ], title : 'Electromedical Equipment Technician', company : 'Zenolux', @@ -2622,8 +2622,8 @@ export const contacts = [ address : '445 Remsen Avenue, Ruckersville, Delaware, PO2712', notes : '

Pariatur do nisi labore culpa minim aliquip excepteur voluptate id id aute eu aliquip adipisicing nulla laboris consectetur dolore ullamco ut exercitation fugiat excepteur veniam ex cillum cupidatat ad adipisicing.

Dolor culpa dolor magna incididunt voluptate sunt amet dolor cillum ut nostrud nisi quis ex pariatur enim dolore sunt sunt cupidatat id non lorem magna esse amet commodo minim id.

', tags : [ - 'cbde2486-5033-4e09-838e-e901b108cd41' - ] + 'cbde2486-5033-4e09-838e-e901b108cd41', + ], }, { id : '995df091-d78a-4bb7-840c-ba6a7d14a1bd', @@ -2633,20 +2633,20 @@ export const contacts = [ emails : [ { email: 'hutchinsonlevy@mail.io', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'et', phoneNumber: '970 546 3452', - label : 'Mobile' + label : 'Mobile', }, { country : 'et', phoneNumber: '894 438 2430', - label : 'Work' - } + label : 'Work', + }, ], title : 'Congressional Representative', company : 'Zytrek', @@ -2654,8 +2654,8 @@ export const contacts = [ address : '911 Lois Avenue, Epworth, California, PO6557', notes : '

Veniam deserunt aliquip culpa commodo et est ea cillum ea pariatur reprehenderit dolore adipisicing voluptate dolor eiusmod tempor exercitation reprehenderit nostrud labore nostrud do nulla commodo officia qui culpa ea.

Velit deserunt do ut esse tempor minim cupidatat amet qui consequat enim duis elit veniam sunt sit aliquip irure cillum irure sunt officia incididunt cupidatat commodo amet non qui anim.

', tags : [ - '65930b5a-5d2a-4303-b11f-865d69e6fdb5' - ] + '65930b5a-5d2a-4303-b11f-865d69e6fdb5', + ], }, { id : '7184be71-a28f-4f2b-8c45-15f78cf2f825', @@ -2665,15 +2665,15 @@ export const contacts = [ emails : [ { email: 'alissanelson@mail.us', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'lu', phoneNumber: '893 600 2639', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Bindery Machine Operator', company : 'Emtrak', @@ -2681,8 +2681,8 @@ export const contacts = [ address : '514 Sutter Avenue, Shindler, Puerto Rico, PO3862', notes : '

Ullamco ut aute reprehenderit velit incididunt veniam consequat ut ipsum sint laborum duis officia pariatur mollit enim nulla reprehenderit dolor aliquip labore ex aute in sunt dolor nulla reprehenderit dolor.

Ad enim ex non minim commodo culpa culpa ex est anim aute adipisicing proident ut ex et aliquip amet exercitation lorem tempor laborum quis reprehenderit veniam proident ullamco id eiusmod.

', tags : [ - '3eaab175-ec0d-4db7-bc3b-efc633c769be' - ] + '3eaab175-ec0d-4db7-bc3b-efc633c769be', + ], }, { id : '325d508c-ca49-42bf-b0d5-c4a6b8da3d5c', @@ -2692,15 +2692,15 @@ export const contacts = [ emails : [ { email: 'oliverhead@mail.tv', - label: 'Personal' - } + label: 'Personal', + }, ], phoneNumbers: [ { country : 'bn', phoneNumber: '977 528 3294', - label : 'Mobile' - } + label : 'Mobile', + }, ], title : 'Meteorologist', company : 'Rameon', @@ -2708,8 +2708,8 @@ export const contacts = [ address : '569 Clermont Avenue, Movico, Marshall Islands, PO7293', notes : '

Duis laborum magna ipsum officia cillum ea ut commodo anim exercitation incididunt id ipsum nisi consectetur aute officia culpa anim in veniam ad officia consequat qui ullamco ea laboris ad.

Ad ea excepteur ea veniam nostrud est labore ea consectetur laboris cupidatat aute pariatur aute mollit dolor do deserunt nisi mollit fugiat qui officia ullamco est officia est ullamco consequat.

', tags : [ - '65930b5a-5d2a-4303-b11f-865d69e6fdb5' - ] + '65930b5a-5d2a-4303-b11f-865d69e6fdb5', + ], }, { id : 'c674b6e1-b846-4bba-824b-0b4df0cdec48', @@ -2719,29 +2719,29 @@ export const contacts = [ emails : [ { email: 'duranbarr@mail.com', - label: 'Personal' + label: 'Personal', }, { email: 'barr.duran@hinway.name', - label: 'Work' - } + label: 'Work', + }, ], phoneNumbers: [ { country : 'sr', phoneNumber: '857 457 2508', - label : 'Mobile' + label : 'Mobile', }, { country : 'sr', phoneNumber: '887 522 2146', - label : 'Work' + label : 'Work', }, { country : 'sr', phoneNumber: '947 574 3174', - label : 'Home' - } + label : 'Home', + }, ], title : 'Insurance Analyst', company : 'Hinway', @@ -2749,9 +2749,9 @@ export const contacts = [ address : '103 Chestnut Avenue, Glenbrook, Indiana, PO2578', notes : '

Ad ipsum occaecat dolore ullamco labore ex sint est pariatur aliquip ea do esse do est dolore duis excepteur esse irure eiusmod pariatur elit nostrud laboris ad ex nostrud nostrud.

Occaecat proident magna elit ullamco ea incididunt fugiat est nulla reprehenderit in veniam esse qui minim aliqua tempor excepteur dolor et tempor occaecat in veniam esse qui exercitation laborum esse.

', tags : [ - 'a8991c76-2fda-4bbd-a718-df13d6478847' - ] - } + 'a8991c76-2fda-4bbd-a718-df13d6478847', + ], + }, ]; export const countries = [ { @@ -2759,1674 +2759,1674 @@ export const countries = [ iso : 'af', name : 'Afghanistan', code : '+93', - flagImagePos: '-1px -3180px' + flagImagePos: '-1px -3180px', }, { id : '6c6b5c5c-97d5-4881-b5e1-e05b8f739ee7', iso : 'al', name : 'Albania', code : '+355', - flagImagePos: '-1px -1310px' + flagImagePos: '-1px -1310px', }, { id : 'd1f3941f-075e-4777-a5fd-8b196d98cd5a', iso : 'dz', name : 'Algeria', code : '+213', - flagImagePos: '-1px -681px' + flagImagePos: '-1px -681px', }, { id : '0dc3d1b8-f7f3-4c3d-8493-0d8b5a679910', iso : 'as', name : 'American Samoa', code : '+1', - flagImagePos: '-1px -2058px' + flagImagePos: '-1px -2058px', }, { id : 'e2e88578-b410-499f-aa59-9bb8da13c781', iso : 'ad', name : 'Andorra', code : '+376', - flagImagePos: '-1px -766px' + flagImagePos: '-1px -766px', }, { id : '4446885b-b391-4b84-866f-2b36603053c4', iso : 'ao', name : 'Angola', code : '+244', - flagImagePos: '-1px -2636px' + flagImagePos: '-1px -2636px', }, { id : '07024099-a3db-4881-a628-24e8c0ba2508', iso : 'ai', name : 'Anguilla', code : '+1', - flagImagePos: '-1px -2687px' + flagImagePos: '-1px -2687px', }, { id : '26be08bc-d87a-4134-9fb0-73b6a5b47cea', iso : 'ag', name : 'Antigua & Barbuda', code : '+1', - flagImagePos: '-1px -1140px' + flagImagePos: '-1px -1140px', }, { id : '53c77399-494e-49df-9e3a-587b536c033e', iso : 'ar', name : 'Argentina', code : '+54', - flagImagePos: '-1px -3282px' + flagImagePos: '-1px -3282px', }, { id : '9f5753c4-e9e4-4975-86b4-9eb9f4f484de', iso : 'am', name : 'Armenia', code : '+374', - flagImagePos: '-1px -205px' + flagImagePos: '-1px -205px', }, { id : 'f1bbb833-5c47-4e17-b8c3-1d492107dc86', iso : 'aw', name : 'Aruba', code : '+297', - flagImagePos: '-1px -1021px' + flagImagePos: '-1px -1021px', }, { id : 'dc7e3322-8bd5-4c49-932d-a8e50bd1f9ad', iso : 'ac', name : 'Ascension Island', code : '+247', - flagImagePos: '-1px -86px' + flagImagePos: '-1px -86px', }, { id : '4505ba35-afa5-47ef-a6c7-9b57f1dcd187', iso : 'au', name : 'Australia', code : '+61', - flagImagePos: '-1px -2279px' + flagImagePos: '-1px -2279px', }, { id : '57b3cd1f-d5d6-403b-8137-fbeeacaf136a', iso : 'at', name : 'Austria', code : '+43', - flagImagePos: '-1px -1735px' + flagImagePos: '-1px -1735px', }, { id : '11cbde08-3c33-422c-bf4b-85561595ffb5', iso : 'az', name : 'Azerbaijan', code : '+994', - flagImagePos: '-1px -1599px' + flagImagePos: '-1px -1599px', }, { id : '48c1e060-e685-4e91-8de8-725f42576e6c', iso : 'bs', name : 'Bahamas', code : '+1', - flagImagePos: '-1px -460px' + flagImagePos: '-1px -460px', }, { id : 'ee23ffb8-9540-4630-948e-ceba52fa54ce', iso : 'bh', name : 'Bahrain', code : '+973', - flagImagePos: '-1px -1956px' + flagImagePos: '-1px -1956px', }, { id : 'b5f37cb6-7870-4ed9-8f92-3864bd870062', iso : 'bd', name : 'Bangladesh', code : '+880', - flagImagePos: '-1px -2364px' + flagImagePos: '-1px -2364px', }, { id : '92de9080-f709-493e-a9fa-d23b3d4093d4', iso : 'bb', name : 'Barbados', code : '+1', - flagImagePos: '-1px -2075px' + flagImagePos: '-1px -2075px', }, { id : 'a2f4ff04-86b8-4bc0-952f-686bfe99c07f', iso : 'by', name : 'Belarus', code : '+375', - flagImagePos: '-1px -1412px' + flagImagePos: '-1px -1412px', }, { id : '2025b6b3-1287-4b4c-8b13-36deb44e5751', iso : 'be', name : 'Belgium', code : '+32', - flagImagePos: '-1px -1px' + flagImagePos: '-1px -1px', }, { id : '70d82950-3eca-496f-866d-d99c136260e5', iso : 'bz', name : 'Belize', code : '+501', - flagImagePos: '-1px -613px' + flagImagePos: '-1px -613px', }, { id : 'dc0bedf5-e197-46b4-af21-c2e495b15768', iso : 'bj', name : 'Benin', code : '+229', - flagImagePos: '-1px -1684px' + flagImagePos: '-1px -1684px', }, { id : 'aeee4f9d-99a1-4c6b-826c-f3c0ff707dce', iso : 'bm', name : 'Bermuda', code : '+1', - flagImagePos: '-1px -2585px' + flagImagePos: '-1px -2585px', }, { id : '73b80fa7-50d0-4fd5-8d26-24baade525a2', iso : 'bt', name : 'Bhutan', code : '+975', - flagImagePos: '-1px -2483px' + flagImagePos: '-1px -2483px', }, { id : '571bf396-810b-4fc4-9ffc-c9e4db9d3bef', iso : 'bo', name : 'Bolivia', code : '+591', - flagImagePos: '-1px -2177px' + flagImagePos: '-1px -2177px', }, { id : 'cbfbf28b-b79b-4b7d-a2e9-37a2000aa15b', iso : 'ba', name : 'Bosnia & Herzegovina', code : '+387', - flagImagePos: '-1px -2092px' + flagImagePos: '-1px -2092px', }, { id : 'f929da82-915c-4ac8-ba13-aa1b44174c71', iso : 'bw', name : 'Botswana', code : '+267', - flagImagePos: '-1px -3724px' + flagImagePos: '-1px -3724px', }, { id : '2dea0689-0548-400c-a58f-ebcd6373cd07', iso : 'br', name : 'Brazil', code : '+55', - flagImagePos: '-1px -1004px' + flagImagePos: '-1px -1004px', }, { id : 'd2c2c16f-15f8-467b-8c42-a02babe5362b', iso : 'io', name : 'British Indian Ocean Territory', code : '+246', - flagImagePos: '-1px -86px' + flagImagePos: '-1px -86px', }, { id : '1d90db23-ca7c-4d23-a995-9b2a8021f4ad', iso : 'vg', name : 'British Virgin Islands', code : '+1', - flagImagePos: '-1px -1854px' + flagImagePos: '-1px -1854px', }, { id : 'f16aebb2-cdae-4af2-aba5-f66f34d6ac3a', iso : 'bn', name : 'Brunei', code : '+673', - flagImagePos: '-1px -2228px' + flagImagePos: '-1px -2228px', }, { id : '499d6ee6-8f8b-4a5b-bb92-9cce9d1c6546', iso : 'bg', name : 'Bulgaria', code : '+359', - flagImagePos: '-1px -3537px' + flagImagePos: '-1px -3537px', }, { id : '67e2986b-98d0-44c3-b08f-6cbba8b14ff8', iso : 'bf', name : 'Burkina Faso', code : '+226', - flagImagePos: '-1px -953px' + flagImagePos: '-1px -953px', }, { id : 'fea611f2-4aa3-427f-86e1-657e8aef24a8', iso : 'bi', name : 'Burundi', code : '+257', - flagImagePos: '-1px -2551px' + flagImagePos: '-1px -2551px', }, { id : '3b959360-3d04-4018-afdf-a392afa1881d', iso : 'kh', name : 'Cambodia', code : '+855', - flagImagePos: '-1px -290px' + flagImagePos: '-1px -290px', }, { id : '9336ba3b-01be-4b84-82b5-f02395856ac5', iso : 'cm', name : 'Cameroon', code : '+237', - flagImagePos: '-1px -2806px' + flagImagePos: '-1px -2806px', }, { id : '36a159b0-f33e-4481-85b0-751bdd9ea79d', iso : 'ca', name : 'Canada', code : '+1', - flagImagePos: '-1px -1803px' + flagImagePos: '-1px -1803px', }, { id : 'a3038010-382e-436e-b61d-e4b923aa1cb3', iso : 'cv', name : 'Cape Verde', code : '+238', - flagImagePos: '-1px -3639px' + flagImagePos: '-1px -3639px', }, { id : 'dd898165-12a9-4c90-a3e4-012149c0feac', iso : 'bq', name : 'Caribbean Netherlands', code : '+599', - flagImagePos: '-1px -3741px' + flagImagePos: '-1px -3741px', }, { id : 'a1f30091-26da-481a-a84f-2638b2d7c14d', iso : 'ky', name : 'Cayman Islands', code : '+1', - flagImagePos: '-1px -375px' + flagImagePos: '-1px -375px', }, { id : '469b4a79-8a1a-4428-b7bd-4665202b7292', iso : 'cf', name : 'Central African Republic', code : '+236', - flagImagePos: '-1px -2466px' + flagImagePos: '-1px -2466px', }, { id : 'a9c2fa4b-c22a-41bd-9735-b4adeadab7f7', iso : 'td', name : 'Chad', code : '+235', - flagImagePos: '-1px -1055px' + flagImagePos: '-1px -1055px', }, { id : 'f0825f0d-e086-49e0-846e-9e4784bf872c', iso : 'cl', name : 'Chile', code : '+56', - flagImagePos: '-1px -1752px' + flagImagePos: '-1px -1752px', }, { id : '89d3f07d-446e-459d-b168-595af96d708f', iso : 'cn', name : 'China', code : '+86', - flagImagePos: '-1px -1072px' + flagImagePos: '-1px -1072px', }, { id : '903801ce-2f83-4df8-a380-9dc6df6c35cf', iso : 'co', name : 'Colombia', code : '+57', - flagImagePos: '-1px -409px' + flagImagePos: '-1px -409px', }, { id : '55d7d2be-8273-4770-844c-1ef87524cd27', iso : 'km', name : 'Comoros', code : '+269', - flagImagePos: '-1px -1871px' + flagImagePos: '-1px -1871px', }, { id : 'a5b00b2f-01de-4c0d-914f-fe05c92c8f43', iso : 'cg', name : 'Congo - Brazzaville', code : '+242', - flagImagePos: '-1px -2398px' + flagImagePos: '-1px -2398px', }, { id : '58e07572-21b9-4630-a17c-a51c0ade4b8a', iso : 'cd', name : 'Congo - Kinshasa', code : '+243', - flagImagePos: '-1px -1990px' + flagImagePos: '-1px -1990px', }, { id : '5a09d08e-b6ab-4084-8350-1d97d504c222', iso : 'ck', name : 'Cook Islands', code : '+682', - flagImagePos: '-1px -3112px' + flagImagePos: '-1px -3112px', }, { id : '760f2b33-0822-4ad9-83cf-b497dcf273bb', iso : 'cr', name : 'Costa Rica', code : '+506', - flagImagePos: '-1px -2857px' + flagImagePos: '-1px -2857px', }, { id : '489db55f-6316-4f43-a1c7-a0921e16743a', iso : 'ci', name : 'Côte d’Ivoire', code : '+225', - flagImagePos: '-1px -2194px' + flagImagePos: '-1px -2194px', }, { id : '398c1d99-7ee4-44cd-9c2a-067acba2c8fb', iso : 'hr', name : 'Croatia', code : '+385', - flagImagePos: '-1px -1174px' + flagImagePos: '-1px -1174px', }, { id : '572da7dc-8463-4797-ad84-7fcf8f53bb80', iso : 'cu', name : 'Cuba', code : '+53', - flagImagePos: '-1px -987px' + flagImagePos: '-1px -987px', }, { id : '572674e5-b0d4-4206-8310-70f4656e65e2', iso : 'cw', name : 'Curaçao', code : '+599', - flagImagePos: '-1px -3758px' + flagImagePos: '-1px -3758px', }, { id : 'ac1e2a9d-a888-427e-9ad3-a0cbb27e603a', iso : 'cy', name : 'Cyprus', code : '+357', - flagImagePos: '-1px -732px' + flagImagePos: '-1px -732px', }, { id : '075ce3fd-83e7-472a-89cb-8b5e224102c4', iso : 'cz', name : 'Czechia', code : '+420', - flagImagePos: '-1px -3095px' + flagImagePos: '-1px -3095px', }, { id : '4cde631a-97e9-4fc2-9465-9d9a433ca5c1', iso : 'dk', name : 'Denmark', code : '+45', - flagImagePos: '-1px -1820px' + flagImagePos: '-1px -1820px', }, { id : '1b9c40a6-bf03-4759-b6ab-8edefafd8b44', iso : 'dj', name : 'Djibouti', code : '+253', - flagImagePos: '-1px -2874px' + flagImagePos: '-1px -2874px', }, { id : 'f5eec2ba-1a0b-465c-b3e5-9bd8458d0704', iso : 'dm', name : 'Dominica', code : '+1', - flagImagePos: '-1px -3350px' + flagImagePos: '-1px -3350px', }, { id : 'cb6921fc-df2a-4a97-8a34-4d901ac1e994', iso : 'do', name : 'Dominican Republic', code : '+1', - flagImagePos: '-1px -2007px' + flagImagePos: '-1px -2007px', }, { id : '7d6641f1-ef97-4bee-b1b8-0f54fea35aeb', iso : 'ec', name : 'Ecuador', code : '+593', - flagImagePos: '-1px -1531px' + flagImagePos: '-1px -1531px', }, { id : 'dfeb30b9-b4b8-4931-9334-c3961b7843a6', iso : 'eg', name : 'Egypt', code : '+20', - flagImagePos: '-1px -3027px' + flagImagePos: '-1px -3027px', }, { id : '7d9f7158-7206-491f-a614-6a3e7e6af354', iso : 'sv', name : 'El Salvador', code : '+503', - flagImagePos: '-1px -2160px' + flagImagePos: '-1px -2160px', }, { id : 'bcdbebc2-a51d-4891-93b0-52b463d0841d', iso : 'gq', name : 'Equatorial Guinea', code : '+240', - flagImagePos: '-1px -1973px' + flagImagePos: '-1px -1973px', }, { id : '53c2c225-f321-406f-b377-7c8b6720bcb4', iso : 'er', name : 'Eritrea', code : '+291', - flagImagePos: '-1px -936px' + flagImagePos: '-1px -936px', }, { id : 'ba0e995a-17a8-48ff-88e6-54ff8207b038', iso : 'ee', name : 'Estonia', code : '+372', - flagImagePos: '-1px -3333px' + flagImagePos: '-1px -3333px', }, { id : 'abe9af9b-91da-4bba-9adf-a496bf414719', iso : 'sz', name : 'Eswatini', code : '+268', - flagImagePos: '-1px -3129px' + flagImagePos: '-1px -3129px', }, { id : 'e993ecc8-732a-4446-8ab1-144c084f3192', iso : 'et', name : 'Ethiopia', code : '+251', - flagImagePos: '-1px -3367px' + flagImagePos: '-1px -3367px', }, { id : '6c7aae9d-e18d-4d09-8467-7bb99d925768', iso : 'fk', name : 'Falkland Islands (Islas Malvinas)', code : '+500', - flagImagePos: '-1px -3809px' + flagImagePos: '-1px -3809px', }, { id : '92e704eb-9573-4d91-b932-2b1eddaacb3e', iso : 'fo', name : 'Faroe Islands', code : '+298', - flagImagePos: '-1px -1429px' + flagImagePos: '-1px -1429px', }, { id : '561c079c-69c2-4e62-b947-5cd76783a67c', iso : 'fj', name : 'Fiji', code : '+679', - flagImagePos: '-1px -2500px' + flagImagePos: '-1px -2500px', }, { id : '3f31a88e-c7ed-47fa-9aae-2058be7cbe09', iso : 'fi', name : 'Finland', code : '+358', - flagImagePos: '-1px -2568px' + flagImagePos: '-1px -2568px', }, { id : '4c8ba1fc-0203-4a8f-8321-4dda4a0c6732', iso : 'fr', name : 'France', code : '+33', - flagImagePos: '-1px -324px' + flagImagePos: '-1px -324px', }, { id : '198074d5-67a2-4fd3-b13d-429a394b6371', iso : 'gf', name : 'French Guiana', code : '+594', - flagImagePos: '-1px -324px' + flagImagePos: '-1px -324px', }, { id : '2f5ff3d1-745e-48a1-b4e8-a377b22af812', iso : 'pf', name : 'French Polynesia', code : '+689', - flagImagePos: '-1px -2262px' + flagImagePos: '-1px -2262px', }, { id : 'a8b80121-5529-4cfe-83fb-6b1f6c81abcb', iso : 'ga', name : 'Gabon', code : '+241', - flagImagePos: '-1px -1157px' + flagImagePos: '-1px -1157px', }, { id : 'c9bc7d57-7883-4f63-bc6e-5dcc3db8612d', iso : 'gm', name : 'Gambia', code : '+220', - flagImagePos: '-1px -817px' + flagImagePos: '-1px -817px', }, { id : '1fc146d8-cebe-4ef1-bb0f-30bd0870ccf9', iso : 'ge', name : 'Georgia', code : '+995', - flagImagePos: '-1px -1123px' + flagImagePos: '-1px -1123px', }, { id : 'e74ac4b1-0b4b-4630-bac0-2e53e270b363', iso : 'de', name : 'Germany', code : '+49', - flagImagePos: '-1px -3452px' + flagImagePos: '-1px -3452px', }, { id : 'adda89c9-4b47-4552-85c4-668f2cef2dbd', iso : 'gh', name : 'Ghana', code : '+233', - flagImagePos: '-1px -2891px' + flagImagePos: '-1px -2891px', }, { id : '962a059b-a5ac-4e2f-9405-5c418cadb6b0', iso : 'gi', name : 'Gibraltar', code : '+350', - flagImagePos: '-1px -341px' + flagImagePos: '-1px -341px', }, { id : '0acd0dae-0f39-4c23-be1d-c0295539d8c4', iso : 'gr', name : 'Greece', code : '+30', - flagImagePos: '-1px -188px' + flagImagePos: '-1px -188px', }, { id : '7529a6e4-8a6a-4c27-885e-ff0c5e15e515', iso : 'gl', name : 'Greenland', code : '+299', - flagImagePos: '-1px -2347px' + flagImagePos: '-1px -2347px', }, { id : '416ba85d-f860-48dc-9c60-32602c07e266', iso : 'gd', name : 'Grenada', code : '+1', - flagImagePos: '-1px -3316px' + flagImagePos: '-1px -3316px', }, { id : 'f43f1f96-1fb1-4e5e-b818-71e60e501fd4', iso : 'gp', name : 'Guadeloupe', code : '+590', - flagImagePos: '-1px -511px' + flagImagePos: '-1px -511px', }, { id : 'e29122da-20cf-4d24-bc68-93f9c3296730', iso : 'gu', name : 'Guam', code : '+1', - flagImagePos: '-1px -3265px' + flagImagePos: '-1px -3265px', }, { id : '8a24ff28-dcae-4846-b0c1-18cfcb04de06', iso : 'gt', name : 'Guatemala', code : '+502', - flagImagePos: '-1px -1208px' + flagImagePos: '-1px -1208px', }, { id : 'b617a005-be15-49c8-9533-c0376681a564', iso : 'gn', name : 'Guinea', code : '+224', - flagImagePos: '-1px -3520px' + flagImagePos: '-1px -3520px', }, { id : 'd9913e74-e340-4a4f-bf4b-aaaf1747364b', iso : 'gw', name : 'Guinea-Bissau', code : '+245', - flagImagePos: '-1px -2602px' + flagImagePos: '-1px -2602px', }, { id : 'c8245da4-cd4f-4818-a41e-42afec6faa9a', iso : 'gy', name : 'Guyana', code : '+592', - flagImagePos: '-1px -1038px' + flagImagePos: '-1px -1038px', }, { id : 'c598961d-3040-4dbb-8934-6d8eb4b9be97', iso : 'ht', name : 'Haiti', code : '+509', - flagImagePos: '-1px -392px' + flagImagePos: '-1px -392px', }, { id : 'f51aadf1-3c7a-4d24-b8fb-69c7e05243e4', iso : 'hn', name : 'Honduras', code : '+504', - flagImagePos: '-1px -2959px' + flagImagePos: '-1px -2959px', }, { id : 'a621dbe5-fb11-4f7f-9a8d-2330bd20c563', iso : 'hk', name : 'Hong Kong', code : '+852', - flagImagePos: '-1px -3707px' + flagImagePos: '-1px -3707px', }, { id : 'a113fe26-d409-4ab7-b27c-0e8ac112071f', iso : 'hu', name : 'Hungary', code : '+36', - flagImagePos: '-1px -902px' + flagImagePos: '-1px -902px', }, { id : '6430b612-4071-4614-bfdb-408fbb0b8fa4', iso : 'is', name : 'Iceland', code : '+354', - flagImagePos: '-1px -2704px' + flagImagePos: '-1px -2704px', }, { id : '4cce1334-df1f-4b11-9f15-a4faaac3d0db', iso : 'in', name : 'India', code : '+91', - flagImagePos: '-1px -2245px' + flagImagePos: '-1px -2245px', }, { id : '54969b2f-6aa9-4a58-850d-b4779ef3038e', iso : 'id', name : 'Indonesia', code : '+62', - flagImagePos: '-1px -2653px' + flagImagePos: '-1px -2653px', }, { id : 'cb631628-5854-44d2-9dbc-47cdf9c9ea5e', iso : 'ir', name : 'Iran', code : '+98', - flagImagePos: '-1px -2738px' + flagImagePos: '-1px -2738px', }, { id : '21a50cc1-954c-49c2-8296-696f1f57b79e', iso : 'iq', name : 'Iraq', code : '+964', - flagImagePos: '-1px -851px' + flagImagePos: '-1px -851px', }, { id : '3e17cb8a-9c44-4c75-b417-556546ceebff', iso : 'ie', name : 'Ireland', code : '+353', - flagImagePos: '-1px -2670px' + flagImagePos: '-1px -2670px', }, { id : '0a15f5a3-7571-478a-9fcd-6cbd6563e08c', iso : 'il', name : 'Israel', code : '+972', - flagImagePos: '-1px -426px' + flagImagePos: '-1px -426px', }, { id : '2cbab786-d79b-4ea1-ab26-0553c5e423d3', iso : 'it', name : 'Italy', code : '+39', - flagImagePos: '-1px -154px' + flagImagePos: '-1px -154px', }, { id : '33a67cd8-0858-46c3-b833-4fd395d2daa4', iso : 'jm', name : 'Jamaica', code : '+1', - flagImagePos: '-1px -2296px' + flagImagePos: '-1px -2296px', }, { id : '5edf8bb6-6a29-44ee-b5f2-7d7cbf61f971', iso : 'jp', name : 'Japan', code : '+81', - flagImagePos: '-1px -528px' + flagImagePos: '-1px -528px', }, { id : '879b69bb-3f8f-484f-a767-7fdeef6bae15', iso : 'jo', name : 'Jordan', code : '+962', - flagImagePos: '-1px -1905px' + flagImagePos: '-1px -1905px', }, { id : '4217e52c-2835-4c7b-87d3-e290c4fa6074', iso : 'kz', name : 'Kazakhstan', code : '+7', - flagImagePos: '-1px -1565px' + flagImagePos: '-1px -1565px', }, { id : '934b172d-4427-47f6-8648-6411652be23d', iso : 'ke', name : 'Kenya', code : '+254', - flagImagePos: '-1px -3605px' + flagImagePos: '-1px -3605px', }, { id : '2358e177-3956-4bcf-a954-56275e90e28d', iso : 'ki', name : 'Kiribati', code : '+686', - flagImagePos: '-1px -477px' + flagImagePos: '-1px -477px', }, { id : '98e8fae8-cd1b-419f-813b-ee348b51d843', iso : 'xk', name : 'Kosovo', code : '+383', - flagImagePos: '-1px -3860px' + flagImagePos: '-1px -3860px', }, { id : '5376f774-4fcb-47dc-b118-e48d34b030ef', iso : 'kw', name : 'Kuwait', code : '+965', - flagImagePos: '-1px -3435px' + flagImagePos: '-1px -3435px', }, { id : '9bc380c4-5840-4d26-a615-310cd817ae94', iso : 'kg', name : 'Kyrgyzstan', code : '+996', - flagImagePos: '-1px -2143px' + flagImagePos: '-1px -2143px', }, { id : '3278e7f0-176b-4352-9e38-df59b052b91f', iso : 'la', name : 'Laos', code : '+856', - flagImagePos: '-1px -562px' + flagImagePos: '-1px -562px', }, { id : 'e2ba5fad-f531-467c-b195-a6cd90136e19', iso : 'lv', name : 'Latvia', code : '+371', - flagImagePos: '-1px -2619px' + flagImagePos: '-1px -2619px', }, { id : '49f74ca5-9ff1-44af-8e9c-59e1c4704e83', iso : 'lb', name : 'Lebanon', code : '+961', - flagImagePos: '-1px -1616px' + flagImagePos: '-1px -1616px', }, { id : 'd94b6d96-17c1-4de8-abc3-3e14873b62c0', iso : 'ls', name : 'Lesotho', code : '+266', - flagImagePos: '-1px -3010px' + flagImagePos: '-1px -3010px', }, { id : 'e35005f8-285e-4fe5-9cda-def721d9cc7b', iso : 'lr', name : 'Liberia', code : '+231', - flagImagePos: '-1px -2823px' + flagImagePos: '-1px -2823px', }, { id : '60788779-78f0-4b2b-8ad8-c7e4bbde10b5', iso : 'ly', name : 'Libya', code : '+218', - flagImagePos: '-1px -137px' + flagImagePos: '-1px -137px', }, { id : 'f24ad4ea-454a-4d40-a1f1-db188ec0b75e', iso : 'li', name : 'Liechtenstein', code : '+423', - flagImagePos: '-1px -1276px' + flagImagePos: '-1px -1276px', }, { id : 'f6709b72-4150-4cde-a37b-e6eb95f5bd1d', iso : 'lt', name : 'Lithuania', code : '+370', - flagImagePos: '-1px -1446px' + flagImagePos: '-1px -1446px', }, { id : '0d0c1a84-f645-4ffe-87d2-9a7bb4f88bbc', iso : 'lu', name : 'Luxembourg', code : '+352', - flagImagePos: '-1px -1922px' + flagImagePos: '-1px -1922px', }, { id : '5b3fdebe-a4ed-47c6-88c3-d867d3a79bf0', iso : 'mo', name : 'Macao', code : '+853', - flagImagePos: '-1px -3554px' + flagImagePos: '-1px -3554px', }, { id : '6a84f456-bc77-4b76-8651-e2a0994f3278', iso : 'mg', name : 'Madagascar', code : '+261', - flagImagePos: '-1px -1667px' + flagImagePos: '-1px -1667px', }, { id : '2a5d5baf-1db7-4606-a330-227834c77098', iso : 'mw', name : 'Malawi', code : '+265', - flagImagePos: '-1px -2942px' + flagImagePos: '-1px -2942px', }, { id : 'f2b32090-6d8d-40db-ba50-a63037926508', iso : 'my', name : 'Malaysia', code : '+60', - flagImagePos: '-1px -2517px' + flagImagePos: '-1px -2517px', }, { id : '51c7830c-0c76-44ed-bcdf-be75688e1d0c', iso : 'mv', name : 'Maldives', code : '+960', - flagImagePos: '-1px -800px' + flagImagePos: '-1px -800px', }, { id : 'ea7a2274-0542-4bbb-b629-aa63bef97442', iso : 'ml', name : 'Mali', code : '+223', - flagImagePos: '-1px -3469px' + flagImagePos: '-1px -3469px', }, { id : '6f70796e-8f64-4a1a-ac2a-990d7d502db3', iso : 'mt', name : 'Malta', code : '+356', - flagImagePos: '-1px -2041px' + flagImagePos: '-1px -2041px', }, { id : 'c60f429e-0d4f-42cf-96f9-e7dc4fdcd5ee', iso : 'mh', name : 'Marshall Islands', code : '+692', - flagImagePos: '-1px -1463px' + flagImagePos: '-1px -1463px', }, { id : 'e8afae89-e5b0-4551-bbd4-bbfcee50c8ad', iso : 'mq', name : 'Martinique', code : '+596', - flagImagePos: '-1px -239px' + flagImagePos: '-1px -239px', }, { id : '361afc7c-ee94-464b-b5cb-f059ecd79e99', iso : 'mr', name : 'Mauritania', code : '+222', - flagImagePos: '-1px -307px' + flagImagePos: '-1px -307px', }, { id : 'bce43b5e-d2f7-47ca-b5c9-9ae72ba67bda', iso : 'mu', name : 'Mauritius', code : '+230', - flagImagePos: '-1px -2993px' + flagImagePos: '-1px -2993px', }, { id : 'd153dc32-4821-4f05-a5c8-564d003da5e1', iso : 'mx', name : 'Mexico', code : '+52', - flagImagePos: '-1px -2755px' + flagImagePos: '-1px -2755px', }, { id : '80f9f386-231f-4d96-b950-5f6b6edbeb63', iso : 'fm', name : 'Micronesia', code : '+691', - flagImagePos: '-1px -2313px' + flagImagePos: '-1px -2313px', }, { id : 'a1d89e32-4b91-4519-b0d9-7d61299394ef', iso : 'md', name : 'Moldova', code : '+373', - flagImagePos: '-1px -3690px' + flagImagePos: '-1px -3690px', }, { id : '0afeb22c-c106-479b-af45-1380fb8b404c', iso : 'mc', name : 'Monaco', code : '+377', - flagImagePos: '-1px -1191px' + flagImagePos: '-1px -1191px', }, { id : 'a18d0204-7c4a-425c-a33e-cbfac01be162', iso : 'mn', name : 'Mongolia', code : '+976', - flagImagePos: '-1px -3503px' + flagImagePos: '-1px -3503px', }, { id : '260479fc-0410-4ccd-a963-e06c9f059bdb', iso : 'me', name : 'Montenegro', code : '+382', - flagImagePos: '-1px -2976px' + flagImagePos: '-1px -2976px', }, { id : 'a66872f1-ba90-420f-8f55-f0fbb10abce1', iso : 'ms', name : 'Montserrat', code : '+1', - flagImagePos: '-1px -749px' + flagImagePos: '-1px -749px', }, { id : '8fd1ba13-cb1a-488d-b715-01724d56d9dd', iso : 'ma', name : 'Morocco', code : '+212', - flagImagePos: '-1px -3214px' + flagImagePos: '-1px -3214px', }, { id : '5d26fba4-6d15-4cd4-a23f-9034d952e580', iso : 'mz', name : 'Mozambique', code : '+258', - flagImagePos: '-1px -834px' + flagImagePos: '-1px -834px', }, { id : 'f9c12031-14dc-495f-b150-28dddce17e3f', iso : 'mm', name : 'Myanmar (Burma)', code : '+95', - flagImagePos: '-1px -18px' + flagImagePos: '-1px -18px', }, { id : '6e21e956-2740-4058-a758-3b249f628a7b', iso : 'na', name : 'Namibia', code : '+264', - flagImagePos: '-1px -2534px' + flagImagePos: '-1px -2534px', }, { id : '4a07dd5a-9341-4b06-969f-4bcd9c32e2a0', iso : 'nr', name : 'Nauru', code : '+674', - flagImagePos: '-1px -2330px' + flagImagePos: '-1px -2330px', }, { id : '9d7121ce-1445-4c84-9401-ddc703d9dedb', iso : 'np', name : 'Nepal', code : '+977', - flagImagePos: '-1px -120px' + flagImagePos: '-1px -120px', }, { id : '31fbb24d-7c38-4ca8-b385-48d76a0685e3', iso : 'nl', name : 'Netherlands', code : '+31', - flagImagePos: '-1px -1888px' + flagImagePos: '-1px -1888px', }, { id : '18071cc2-c457-4b4f-9217-2519a0b52c25', iso : 'nc', name : 'New Caledonia', code : '+687', - flagImagePos: '-1px -1650px' + flagImagePos: '-1px -1650px', }, { id : 'c4b0e7d1-08b2-421b-8ff6-913020cbf271', iso : 'nz', name : 'New Zealand', code : '+64', - flagImagePos: '-1px -2024px' + flagImagePos: '-1px -2024px', }, { id : '25719230-2c64-4525-96c4-d4427dd2e40b', iso : 'ni', name : 'Nicaragua', code : '+505', - flagImagePos: '-1px -171px' + flagImagePos: '-1px -171px', }, { id : 'a1090a0b-7f89-4d75-8c92-e460da9103ab', iso : 'ne', name : 'Niger', code : '+227', - flagImagePos: '-1px -715px' + flagImagePos: '-1px -715px', }, { id : '6869e4bb-32b8-43ff-84d1-67d9ee832e1f', iso : 'ng', name : 'Nigeria', code : '+234', - flagImagePos: '-1px -3418px' + flagImagePos: '-1px -3418px', }, { id : '52b3ae35-196a-4e22-81e2-67b816a32d0e', iso : 'nu', name : 'Niue', code : '+683', - flagImagePos: '-1px -2840px' + flagImagePos: '-1px -2840px', }, { id : '9f4e45d4-c7e1-4ba9-84d0-e712e7213c95', iso : 'nf', name : 'Norfolk Island', code : '+672', - flagImagePos: '-1px -256px' + flagImagePos: '-1px -256px', }, { id : '2db1b02c-631e-40a0-94d8-f1e567b1f705', iso : 'kp', name : 'North Korea', code : '+850', - flagImagePos: '-1px -2415px' + flagImagePos: '-1px -2415px', }, { id : '92621b3f-55f5-42bb-8604-d0302e355e31', iso : 'mk', name : 'North Macedonia', code : '+389', - flagImagePos: '-1px -1769px' + flagImagePos: '-1px -1769px', }, { id : '3cee8ab2-5cb3-43ea-b8ab-7016187d33e9', iso : 'mp', name : 'Northern Mariana Islands', code : '+1', - flagImagePos: '-1px -919px' + flagImagePos: '-1px -919px', }, { id : '77683fad-f106-4a94-a629-9562650edb35', iso : 'no', name : 'Norway', code : '+47', - flagImagePos: '-1px -1089px' + flagImagePos: '-1px -1089px', }, { id : '09090411-ef9b-44f3-aeb9-65b5e338b8d6', iso : 'om', name : 'Oman', code : '+968', - flagImagePos: '-1px -3384px' + flagImagePos: '-1px -3384px', }, { id : '18d4f06b-233b-4398-a9f8-6b4a4eaf6c71', iso : 'pk', name : 'Pakistan', code : '+92', - flagImagePos: '-1px -2772px' + flagImagePos: '-1px -2772px', }, { id : 'b1da5023-aab9-431c-921c-4f3e12b1aa7a', iso : 'pw', name : 'Palau', code : '+680', - flagImagePos: '-1px -273px' + flagImagePos: '-1px -273px', }, { id : 'e6442ab2-ac99-4a02-9d7c-fd878e50de8a', iso : 'ps', name : 'Palestine', code : '+970', - flagImagePos: '-1px -1548px' + flagImagePos: '-1px -1548px', }, { id : '6bb10fb5-8b4a-4136-a82e-6be6c017ab76', iso : 'pa', name : 'Panama', code : '+507', - flagImagePos: '-1px -1106px' + flagImagePos: '-1px -1106px', }, { id : 'b070a014-2ce4-4939-a868-951bd1e70923', iso : 'pg', name : 'Papua New Guinea', code : '+675', - flagImagePos: '-1px -1939px' + flagImagePos: '-1px -1939px', }, { id : '5e23c743-ce7d-4abc-9dd4-44a700b29090', iso : 'py', name : 'Paraguay', code : '+595', - flagImagePos: '-1px -3231px' + flagImagePos: '-1px -3231px', }, { id : '1a83f99d-91b3-438d-a576-5bf0f05fdd12', iso : 'pe', name : 'Peru', code : '+51', - flagImagePos: '-1px -1225px' + flagImagePos: '-1px -1225px', }, { id : '667c9699-46b9-40f9-a41f-2c52826bb3cb', iso : 'ph', name : 'Philippines', code : '+63', - flagImagePos: '-1px -2432px' + flagImagePos: '-1px -2432px', }, { id : 'b84030ab-3193-4aa2-aef2-d4d21997e536', iso : 'pl', name : 'Poland', code : '+48', - flagImagePos: '-1px -1514px' + flagImagePos: '-1px -1514px', }, { id : 'e26d0064-6173-42ab-b761-bf8c639199fa', iso : 'pt', name : 'Portugal', code : '+351', - flagImagePos: '-1px -664px' + flagImagePos: '-1px -664px', }, { id : '0fd9770d-2a91-4b81-8633-f465bc151e16', iso : 'pr', name : 'Puerto Rico', code : '+1', - flagImagePos: '-1px -596px' + flagImagePos: '-1px -596px', }, { id : 'f866eeeb-e64f-4123-ab63-c16e0a00d029', iso : 'qa', name : 'Qatar', code : '+974', - flagImagePos: '-1px -579px' + flagImagePos: '-1px -579px', }, { id : 'c3a3fb54-5731-4a28-96bd-4190cfeeaff0', iso : 're', name : 'Réunion', code : '+262', - flagImagePos: '-1px -324px' + flagImagePos: '-1px -324px', }, { id : 'a6a48809-7e33-42c8-a25a-56ccdd7ccdfe', iso : 'ro', name : 'Romania', code : '+40', - flagImagePos: '-1px -885px' + flagImagePos: '-1px -885px', }, { id : '9556d1e9-3d02-4c5b-a0ce-97a2fd55c74a', iso : 'ru', name : 'Russia', code : '+7', - flagImagePos: '-1px -868px' + flagImagePos: '-1px -868px', }, { id : '6f7f0a97-e8b5-455d-bace-6953de7324eb', iso : 'rw', name : 'Rwanda', code : '+250', - flagImagePos: '-1px -3673px' + flagImagePos: '-1px -3673px', }, { id : 'e251cad5-7655-48f7-9892-6edf04a14fd7', iso : 'ws', name : 'Samoa', code : '+685', - flagImagePos: '-1px -3163px' + flagImagePos: '-1px -3163px', }, { id : 'f1cfec8c-a960-43b3-8e11-2cad72b4fff8', iso : 'sm', name : 'San Marino', code : '+378', - flagImagePos: '-1px -2908px' + flagImagePos: '-1px -2908px', }, { id : 'c5301260-13dc-4012-9678-2b57a5e409ae', iso : 'st', name : 'São Tomé & Príncipe', code : '+239', - flagImagePos: '-1px -3299px' + flagImagePos: '-1px -3299px', }, { id : '02599f80-225a-451b-8c25-03b8993f88ac', iso : 'sa', name : 'Saudi Arabia', code : '+966', - flagImagePos: '-1px -52px' + flagImagePos: '-1px -52px', }, { id : 'a54c3469-9668-4063-bfa0-04c450b43d3e', iso : 'sn', name : 'Senegal', code : '+221', - flagImagePos: '-1px -2925px' + flagImagePos: '-1px -2925px', }, { id : '687ea07b-a7df-4778-b802-b040676fa56c', iso : 'rs', name : 'Serbia', code : '+381', - flagImagePos: '-1px -3401px' + flagImagePos: '-1px -3401px', }, { id : 'd010fb25-7044-4055-9c60-25bc89d83f64', iso : 'sc', name : 'Seychelles', code : '+248', - flagImagePos: '-1px -1327px' + flagImagePos: '-1px -1327px', }, { id : '0c46a1e9-fcd8-4e7e-bbb1-ef3bfa83539b', iso : 'sl', name : 'Sierra Leone', code : '+232', - flagImagePos: '-1px -970px' + flagImagePos: '-1px -970px', }, { id : 'e724edb6-9df4-42fb-bc1e-417996aa3020', iso : 'sg', name : 'Singapore', code : '+65', - flagImagePos: '-1px -35px' + flagImagePos: '-1px -35px', }, { id : '7478814a-dc3f-41ff-9341-da7e07ba8499', iso : 'sx', name : 'Sint Maarten', code : '+1', - flagImagePos: '-1px -3826px' + flagImagePos: '-1px -3826px', }, { id : 'b1a34e32-38dd-4a38-b63a-7133baf1417a', iso : 'sk', name : 'Slovakia', code : '+421', - flagImagePos: '-1px -3044px' + flagImagePos: '-1px -3044px', }, { id : '1c1689a5-580b-411f-9283-b1e8333b351e', iso : 'si', name : 'Slovenia', code : '+386', - flagImagePos: '-1px -1582px' + flagImagePos: '-1px -1582px', }, { id : '4b1c6a42-90b0-49ea-b968-8c95b871f0ec', iso : 'sb', name : 'Solomon Islands', code : '+677', - flagImagePos: '-1px -1361px' + flagImagePos: '-1px -1361px', }, { id : '7ec9fdff-8ae6-4a14-b55e-6262d46bc3ef', iso : 'so', name : 'Somalia', code : '+252', - flagImagePos: '-1px -1786px' + flagImagePos: '-1px -1786px', }, { id : '5e62f404-3e2c-4d63-ad7b-ab0755903842', iso : 'za', name : 'South Africa', code : '+27', - flagImagePos: '-1px -3248px' + flagImagePos: '-1px -3248px', }, { id : '31966c2a-7d24-4ebc-8e02-392e4f04f12b', iso : 'kr', name : 'South Korea', code : '+82', - flagImagePos: '-1px -3078px' + flagImagePos: '-1px -3078px', }, { id : '1b7ba825-bf7d-42c0-bb73-81f10a4009bf', iso : 'ss', name : 'South Sudan', code : '+211', - flagImagePos: '-1px -3775px' + flagImagePos: '-1px -3775px', }, { id : '55c4137b-e437-4e80-bc8f-7857cd7c9364', iso : 'es', name : 'Spain', code : '+34', - flagImagePos: '-1px -1480px' + flagImagePos: '-1px -1480px', }, { id : 'fce4c284-e6a1-4e8c-96ca-6edf09e8a401', iso : 'lk', name : 'Sri Lanka', code : '+94', - flagImagePos: '-1px -3622px' + flagImagePos: '-1px -3622px', }, { id : '0ae719a5-ae43-45d0-b669-66976a050ef1', iso : 'bl', name : 'St. Barthélemy', code : '+590', - flagImagePos: '-1px -324px' + flagImagePos: '-1px -324px', }, { id : 'a588cc85-32a4-45ff-ba69-627105dab27a', iso : 'sh', name : 'St. Helena', code : '+290', - flagImagePos: '-1px -630px' + flagImagePos: '-1px -630px', }, { id : 'f065aa7c-8d9e-419c-bbf0-9a97011cf272', iso : 'kn', name : 'St. Kitts & Nevis', code : '+1', - flagImagePos: '-1px -103px' + flagImagePos: '-1px -103px', }, { id : '9ea73bcc-2bf5-4ad9-9b39-de33de125f98', iso : 'lc', name : 'St. Lucia', code : '+1', - flagImagePos: '-1px -1837px' + flagImagePos: '-1px -1837px', }, { id : '86a5a0e8-bfd4-480e-9bc0-7b88b2248a57', iso : 'mf', name : 'St. Martin', code : '+590', - flagImagePos: '-1px -86px' + flagImagePos: '-1px -86px', }, { id : '540857ba-923a-4656-a19f-cb3914825ecc', iso : 'pm', name : 'St. Pierre & Miquelon', code : '+508', - flagImagePos: '-1px -1378px' + flagImagePos: '-1px -1378px', }, { id : 'd381eb44-e77a-4dbd-abbb-224d7158e96d', iso : 'vc', name : 'St. Vincent & Grenadines', code : '+1', - flagImagePos: '-1px -3588px' + flagImagePos: '-1px -3588px', }, { id : '7015db62-072d-49a2-8320-7587ec8b952f', iso : 'sd', name : 'Sudan', code : '+249', - flagImagePos: '-1px -443px' + flagImagePos: '-1px -443px', }, { id : 'd7bbb285-aa4e-4a92-8613-8d2645c351ee', iso : 'sr', name : 'Suriname', code : '+597', - flagImagePos: '-1px -3656px' + flagImagePos: '-1px -3656px', }, { id : '78978092-7be3-4ec8-b201-068089035cff', iso : 'se', name : 'Sweden', code : '+46', - flagImagePos: '-1px -494px' + flagImagePos: '-1px -494px', }, { id : '9f3fbec3-b58a-4b5a-9c4b-3997398c4148', iso : 'ch', name : 'Switzerland', code : '+41', - flagImagePos: '-1px -1718px' + flagImagePos: '-1px -1718px', }, { id : '7ce0562c-fdc4-444c-bba3-02239c3c17da', iso : 'sy', name : 'Syria', code : '+963', - flagImagePos: '-1px -2449px' + flagImagePos: '-1px -2449px', }, { id : '2d57a4a1-3f5a-41a2-a320-74a8f0db92e5', iso : 'tw', name : 'Taiwan', code : '+886', - flagImagePos: '-1px -647px' + flagImagePos: '-1px -647px', }, { id : 'e1f747c5-4e91-487b-8265-8f70b3430849', iso : 'tj', name : 'Tajikistan', code : '+992', - flagImagePos: '-1px -222px' + flagImagePos: '-1px -222px', }, { id : 'f07e257c-e049-4046-b031-f4348fb1734a', iso : 'tz', name : 'Tanzania', code : '+255', - flagImagePos: '-1px -3146px' + flagImagePos: '-1px -3146px', }, { id : '684a0dde-5b5f-4072-98a4-46fc8de09556', iso : 'th', name : 'Thailand', code : '+66', - flagImagePos: '-1px -1242px' + flagImagePos: '-1px -1242px', }, { id : '0376e29f-d9dd-4449-aa4e-d47353c16873', iso : 'tl', name : 'Timor-Leste', code : '+670', - flagImagePos: '-1px -3843px' + flagImagePos: '-1px -3843px', }, { id : 'fd647814-fc64-4724-bba7-4cd4da26c11e', iso : 'tg', name : 'Togo', code : '+228', - flagImagePos: '-1px -783px' + flagImagePos: '-1px -783px', }, { id : 'ed271b14-39ee-4403-9be6-b54ac89b0ed3', iso : 'tk', name : 'Tokelau', code : '+690', - flagImagePos: '-1px -3792px' + flagImagePos: '-1px -3792px', }, { id : 'e2b83ecb-5a79-4ca0-9860-4baeae0380bb', iso : 'to', name : 'Tonga', code : '+676', - flagImagePos: '-1px -1395px' + flagImagePos: '-1px -1395px', }, { id : '33bca09c-cc33-4680-929b-191ccbbc959a', iso : 'tt', name : 'Trinidad & Tobago', code : '+1', - flagImagePos: '-1px -545px' + flagImagePos: '-1px -545px', }, { id : 'ab25c5da-7698-4b96-af34-5d20523915d9', iso : 'tn', name : 'Tunisia', code : '+216', - flagImagePos: '-1px -698px' + flagImagePos: '-1px -698px', }, { id : '784ac645-bc50-4b35-b5fb-effd72f99749', iso : 'tr', name : 'Turkey', code : '+90', - flagImagePos: '-1px -2126px' + flagImagePos: '-1px -2126px', }, { id : '9a3b8bd3-bc73-4251-a068-a4842365e91a', iso : 'tm', name : 'Turkmenistan', code : '+993', - flagImagePos: '-1px -3486px' + flagImagePos: '-1px -3486px', }, { id : '361bcad4-44d1-41fb-9bbf-39ea0fb87d49', iso : 'tc', name : 'Turks & Caicos Islands', code : '+1', - flagImagePos: '-1px -1701px' + flagImagePos: '-1px -1701px', }, { id : '26fb1484-c756-4592-8523-99af9c870bb5', iso : 'tv', name : 'Tuvalu', code : '+688', - flagImagePos: '-1px -358px' + flagImagePos: '-1px -358px', }, { id : 'cdb8455e-4eda-48f7-b30a-63c20838a364', iso : 'vi', name : 'U.S. Virgin Islands', code : '+1', - flagImagePos: '-1px -2381px' + flagImagePos: '-1px -2381px', }, { id : 'f47476cc-3da6-4377-83c9-33ab9f5293d1', iso : 'ug', name : 'Uganda', code : '+256', - flagImagePos: '-1px -1497px' + flagImagePos: '-1px -1497px', }, { id : '5fcb791a-91be-416a-895d-0502fc509838', iso : 'ua', name : 'Ukraine', code : '+380', - flagImagePos: '-1px -2721px' + flagImagePos: '-1px -2721px', }, { id : '7c8e1ced-0dd7-42b6-880b-19b3486d11e5', iso : 'ae', name : 'United Arab Emirates', code : '+971', - flagImagePos: '-1px -3061px' + flagImagePos: '-1px -3061px', }, { id : '9f1362e7-e87c-4123-ade8-e5cfa6e99c09', iso : 'gb', name : 'United Kingdom', code : '+44', - flagImagePos: '-1px -86px' + flagImagePos: '-1px -86px', }, { id : 'f9033267-9df0-46e4-9f79-c8b022e5c835', iso : 'us', name : 'United States', code : '+1', - flagImagePos: '-1px -69px' + flagImagePos: '-1px -69px', }, { id : '2cab7122-ec9a-48ac-8415-392b4f67ae51', iso : 'uy', name : 'Uruguay', code : '+598', - flagImagePos: '-1px -3571px' + flagImagePos: '-1px -3571px', }, { id : 'f442740c-94c3-4f2f-afb2-c7c279224b5f', iso : 'uz', name : 'Uzbekistan', code : '+998', - flagImagePos: '-1px -1293px' + flagImagePos: '-1px -1293px', }, { id : 'e6774547-6ab1-41a2-8107-201f913937b2', iso : 'vu', name : 'Vanuatu', code : '+678', - flagImagePos: '-1px -1633px' + flagImagePos: '-1px -1633px', }, { id : 'd600d6b0-e21f-4b6e-9036-0435a6ac2ea6', iso : 'va', name : 'Vatican City', code : '+39', - flagImagePos: '-1px -3197px' + flagImagePos: '-1px -3197px', }, { id : 'b8e0072d-498b-4bb4-a5b6-354d4200f882', iso : 've', name : 'Venezuela', code : '+58', - flagImagePos: '-1px -1344px' + flagImagePos: '-1px -1344px', }, { id : '15dc081a-4690-42e9-a40d-b3bcea3173fc', iso : 'vn', name : 'Vietnam', code : '+84', - flagImagePos: '-1px -1259px' + flagImagePos: '-1px -1259px', }, { id : '4452a787-5f31-4eb7-b14c-ae3175564ae5', iso : 'wf', name : 'Wallis & Futuna', code : '+681', - flagImagePos: '-1px -324px' + flagImagePos: '-1px -324px', }, { id : '237c9f8d-3b6c-4b70-af72-8a58a7154144', iso : 'ye', name : 'Yemen', code : '+967', - flagImagePos: '-1px -2211px' + flagImagePos: '-1px -2211px', }, { id : '02a76f62-3078-472a-bd42-edb759cf3079', iso : 'zm', name : 'Zambia', code : '+260', - flagImagePos: '-1px -2109px' + flagImagePos: '-1px -2109px', }, { id : '10e8e117-6832-4d3f-9b05-f66832c2f5ec', iso : 'zw', name : 'Zimbabwe', code : '+263', - flagImagePos: '-1px -2789px' - } + flagImagePos: '-1px -2789px', + }, ]; export const tags = [ { id : 'c31e9e5d-e0cb-4574-a13f-8a6ee5ff8309', - title: 'Work' + title: 'Work', }, { id : 'a8991c76-2fda-4bbd-a718-df13d6478847', - title: 'Friend' + title: 'Friend', }, { id : '56ddbd47-4078-4ddd-8448-73c5e88d5f59', - title: 'Family' + title: 'Family', }, { id : '2026ce08-d08f-4b4f-9506-b10cdb5b104f', - title: 'High School' + title: 'High School', }, { id : '65930b5a-5d2a-4303-b11f-865d69e6fdb5', - title: 'College' + title: 'College', }, { id : '3eaab175-ec0d-4db7-bc3b-efc633c769be', - title: 'Baseball Team' + title: 'Baseball Team', }, { id : 'cbde2486-5033-4e09-838e-e901b108cd41', - title: 'Band' - } + title: 'Band', + }, ]; diff --git a/src/app/mock-api/apps/ecommerce/inventory/api.ts b/src/app/mock-api/apps/ecommerce/inventory/api.ts index ff303ed9..8c7d1975 100644 --- a/src/app/mock-api/apps/ecommerce/inventory/api.ts +++ b/src/app/mock-api/apps/ecommerce/inventory/api.ts @@ -1,10 +1,10 @@ import { Injectable } from '@angular/core'; -import { assign, cloneDeep } from 'lodash-es'; import { FuseMockApiService, FuseMockApiUtils } from '@fuse/lib/mock-api'; import { brands as brandsData, categories as categoriesData, products as productsData, tags as tagsData, vendors as vendorsData } from 'app/mock-api/apps/ecommerce/inventory/data'; +import { assign, cloneDeep } from 'lodash-es'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class ECommerceInventoryMockApi { @@ -51,7 +51,8 @@ export class ECommerceInventoryMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onGet('api/apps/ecommerce/inventory/products', 300) - .reply(({request}) => { + .reply(({request}) => + { // Get available queries const search = request.params.get('search'); @@ -66,7 +67,8 @@ export class ECommerceInventoryMockApi // Sort the products if ( sort === 'sku' || sort === 'name' || sort === 'active' ) { - products.sort((a, b) => { + products.sort((a, b) => + { const fieldA = a[sort].toString().toUpperCase(); const fieldB = b[sort].toString().toUpperCase(); return order === 'asc' ? fieldA.localeCompare(fieldB) : fieldB.localeCompare(fieldA); @@ -103,7 +105,7 @@ export class ECommerceInventoryMockApi { products = null; pagination = { - lastPage + lastPage, }; } else @@ -118,7 +120,7 @@ export class ECommerceInventoryMockApi page : page, lastPage : lastPage, startIndex: begin, - endIndex : end - 1 + endIndex : end - 1, }; } @@ -127,8 +129,8 @@ export class ECommerceInventoryMockApi 200, { products, - pagination - } + pagination, + }, ]; }); @@ -137,7 +139,8 @@ export class ECommerceInventoryMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onGet('api/apps/ecommerce/inventory/product') - .reply(({request}) => { + .reply(({request}) => + { // Get the id from the params const id = request.params.get('id'); @@ -157,7 +160,8 @@ export class ECommerceInventoryMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPost('api/apps/ecommerce/inventory/product') - .reply(() => { + .reply(() => + { // Generate a new product const newProduct = { @@ -179,7 +183,7 @@ export class ECommerceInventoryMockApi weight : '', thumbnail : '', images : [], - active : false + active : false, }; // Unshift the new product @@ -194,7 +198,8 @@ export class ECommerceInventoryMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPatch('api/apps/ecommerce/inventory/product') - .reply(({request}) => { + .reply(({request}) => + { // Get the id and product const id = request.body.id; @@ -204,7 +209,8 @@ export class ECommerceInventoryMockApi let updatedProduct = null; // Find the product and update it - this._products.forEach((item, index, products) => { + this._products.forEach((item, index, products) => + { if ( item.id === id ) { @@ -225,13 +231,15 @@ export class ECommerceInventoryMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onDelete('api/apps/ecommerce/inventory/product') - .reply(({request}) => { + .reply(({request}) => + { // Get the id const id = request.params.get('id'); // Find the product and delete it - this._products.forEach((item, index) => { + this._products.forEach((item, index) => + { if ( item.id === id ) { @@ -255,7 +263,8 @@ export class ECommerceInventoryMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPost('api/apps/ecommerce/inventory/tag') - .reply(({request}) => { + .reply(({request}) => + { // Get the tag const newTag = cloneDeep(request.body.tag); @@ -275,7 +284,8 @@ export class ECommerceInventoryMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPatch('api/apps/ecommerce/inventory/tag') - .reply(({request}) => { + .reply(({request}) => + { // Get the id and tag const id = request.body.id; @@ -285,7 +295,8 @@ export class ECommerceInventoryMockApi let updatedTag = null; // Find the tag and update it - this._tags.forEach((item, index, tags) => { + this._tags.forEach((item, index, tags) => + { if ( item.id === id ) { @@ -306,13 +317,15 @@ export class ECommerceInventoryMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onDelete('api/apps/ecommerce/inventory/tag') - .reply(({request}) => { + .reply(({request}) => + { // Get the id const id = request.params.get('id'); // Find the tag and delete it - this._tags.forEach((item, index) => { + this._tags.forEach((item, index) => + { if ( item.id === id ) { @@ -324,7 +337,8 @@ export class ECommerceInventoryMockApi const productsWithTag = this._products.filter(product => product.tags.indexOf(id) > -1); // Iterate through them and delete the tag - productsWithTag.forEach((product) => { + productsWithTag.forEach((product) => + { product.tags.splice(product.tags.indexOf(id), 1); }); diff --git a/src/app/mock-api/apps/ecommerce/inventory/data.ts b/src/app/mock-api/apps/ecommerce/inventory/data.ts index 2863773c..8630790a 100644 --- a/src/app/mock-api/apps/ecommerce/inventory/data.ts +++ b/src/app/mock-api/apps/ecommerce/inventory/data.ts @@ -4,106 +4,106 @@ export const categories = [ id : 'b899ec30-b85a-40ab-bb1f-18a596d5c6de', parentId: null, name : 'Mens', - slug : 'mens' + slug : 'mens', }, { id : '07986d93-d4eb-4de1-9448-2538407f7254', parentId: null, name : 'Ladies', - slug : 'ladies' + slug : 'ladies', }, { id : 'ad12aa94-3863-47f8-acab-a638ef02a3e9', parentId: null, name : 'Unisex', - slug : 'unisex' - } + slug : 'unisex', + }, ]; export const brands = [ { id : 'e1789f32-9475-43e7-9256-451d2e3a2282', name: 'Benton', - slug: 'benton' + slug: 'benton', }, { id : '61d52c2a-8947-4a2c-8c35-f36baef45b96', name: 'Capmia', - slug: 'capmia' + slug: 'capmia', }, { id : 'f9987124-7ada-4b93-bef7-35280b3ddbd7', name: 'Lara', - slug: 'lara' + slug: 'lara', }, { id : '5913ee46-a497-41db-a118-ee506011529f', name: 'Premera', - slug: 'premera' + slug: 'premera', }, { id : '2c4d98d8-f334-4125-9596-862515f5526b', name: 'Zeon', - slug: 'zeon' - } + slug: 'zeon', + }, ]; export const tags = [ { id : '167190fa-51b4-45fc-a742-8ce1b33d24ea', - title: 'mens' + title: 'mens', }, { id : '3baea410-a7d6-4916-b79a-bdce50c37f95', - title: 'ladies' + title: 'ladies', }, { id : '8ec8f60d-552f-4216-9f11-462b95b1d306', - title: 'unisex' + title: 'unisex', }, { id : '8837b93f-388b-43cc-851d-4ca8f23f3a61', - title: '44mm' + title: '44mm', }, { id : '8f868ddb-d4a2-461d-bc3b-d7c8668687c3', - title: '40mm' + title: '40mm', }, { id : '2300ac48-f268-466a-b765-8b878b6e14a7', - title: '5 ATM' + title: '5 ATM', }, { id : '0b11b742-3125-4d75-9a6f-84af7fde1969', - title: '10 ATM' + title: '10 ATM', }, { id : '0fc39efd-f640-41f8-95a5-3f1d749df200', - title: 'automatic' + title: 'automatic', }, { id : '7d6dd47e-7472-4f8b-93d4-46c114c44533', - title: 'chronograph' + title: 'chronograph', }, { id : 'b1286f3a-e2d0-4237-882b-f0efc0819ec3', - title: 'watch' - } + title: 'watch', + }, ]; export const vendors = [ { id : '987dd10a-43b1-49f9-bfd9-05bb2dbc7029', name: 'Evel', - slug: 'evel' + slug: 'evel', }, { id : '998b0c07-abfd-4ba3-8de1-7563ef3c4d57', name: 'Mivon', - slug: 'mivon' + slug: 'mivon', }, { id : '05ebb527-d733-46a9-acfb-a4e4ec960024', name: 'Neogen', - slug: 'neogen' - } + slug: 'neogen', + }, ]; export const products = [ { @@ -116,7 +116,7 @@ export const products = [ '7d6dd47e-7472-4f8b-93d4-46c114c44533', '8837b93f-388b-43cc-851d-4ca8f23f3a61', '2300ac48-f268-466a-b765-8b878b6e14a7', - 'b1286f3a-e2d0-4237-882b-f0efc0819ec3' + 'b1286f3a-e2d0-4237-882b-f0efc0819ec3', ], sku : 'ETV-2425', barcode : '8346201275534', @@ -133,9 +133,9 @@ export const products = [ images : [ 'assets/images/apps/ecommerce/products/watch-01-01.jpg', 'assets/images/apps/ecommerce/products/watch-01-02.jpg', - 'assets/images/apps/ecommerce/products/watch-01-03.jpg' + 'assets/images/apps/ecommerce/products/watch-01-03.jpg', ], - active : true + active : true, }, { id : '00b0292f-3d50-4669-a0c4-7a9d85efc98d', @@ -147,7 +147,7 @@ export const products = [ '7d6dd47e-7472-4f8b-93d4-46c114c44533', '8f868ddb-d4a2-461d-bc3b-d7c8668687c3', '0b11b742-3125-4d75-9a6f-84af7fde1969', - 'b1286f3a-e2d0-4237-882b-f0efc0819ec3' + 'b1286f3a-e2d0-4237-882b-f0efc0819ec3', ], sku : 'ATH-7573', barcode : '8278968055700', @@ -164,9 +164,9 @@ export const products = [ images : [ 'assets/images/apps/ecommerce/products/watch-02-01.jpg', 'assets/images/apps/ecommerce/products/watch-02-02.jpg', - 'assets/images/apps/ecommerce/products/watch-02-03.jpg' + 'assets/images/apps/ecommerce/products/watch-02-03.jpg', ], - active : true + active : true, }, { id : '3f34e2fb-95bf-4f61-be28-956d2c7e4eb2', @@ -178,7 +178,7 @@ export const products = [ '0fc39efd-f640-41f8-95a5-3f1d749df200', '8837b93f-388b-43cc-851d-4ca8f23f3a61', '2300ac48-f268-466a-b765-8b878b6e14a7', - 'b1286f3a-e2d0-4237-882b-f0efc0819ec3' + 'b1286f3a-e2d0-4237-882b-f0efc0819ec3', ], sku : 'ADH-1921', barcode : '8808746892183', @@ -195,9 +195,9 @@ export const products = [ images : [ 'assets/images/apps/ecommerce/products/watch-03-01.jpg', 'assets/images/apps/ecommerce/products/watch-03-02.jpg', - 'assets/images/apps/ecommerce/products/watch-03-03.jpg' + 'assets/images/apps/ecommerce/products/watch-03-03.jpg', ], - active : false + active : false, }, { id : '8fcce528-d878-4cc8-99f7-bd3451ed5405', @@ -209,7 +209,7 @@ export const products = [ '7d6dd47e-7472-4f8b-93d4-46c114c44533', '8837b93f-388b-43cc-851d-4ca8f23f3a61', '0b11b742-3125-4d75-9a6f-84af7fde1969', - 'b1286f3a-e2d0-4237-882b-f0efc0819ec3' + 'b1286f3a-e2d0-4237-882b-f0efc0819ec3', ], sku : 'EAP-7752', barcode : '8866355574164', @@ -226,9 +226,9 @@ export const products = [ images : [ 'assets/images/apps/ecommerce/products/watch-04-01.jpg', 'assets/images/apps/ecommerce/products/watch-04-02.jpg', - 'assets/images/apps/ecommerce/products/watch-04-03.jpg' + 'assets/images/apps/ecommerce/products/watch-04-03.jpg', ], - active : true + active : true, }, { id : '91d96e18-d3f5-4c32-a8bf-1fc525cb92c0', @@ -240,7 +240,7 @@ export const products = [ '0fc39efd-f640-41f8-95a5-3f1d749df200', '8f868ddb-d4a2-461d-bc3b-d7c8668687c3', '2300ac48-f268-466a-b765-8b878b6e14a7', - 'b1286f3a-e2d0-4237-882b-f0efc0819ec3' + 'b1286f3a-e2d0-4237-882b-f0efc0819ec3', ], sku : 'ADP-5745', barcode : '8390590339828', @@ -257,9 +257,9 @@ export const products = [ images : [ 'assets/images/apps/ecommerce/products/watch-05-01.jpg', 'assets/images/apps/ecommerce/products/watch-05-02.jpg', - 'assets/images/apps/ecommerce/products/watch-05-03.jpg' + 'assets/images/apps/ecommerce/products/watch-05-03.jpg', ], - active : false + active : false, }, { id : 'd7a47d7c-4cdf-4319-bbaa-37ade38c622c', @@ -271,7 +271,7 @@ export const products = [ '7d6dd47e-7472-4f8b-93d4-46c114c44533', '8837b93f-388b-43cc-851d-4ca8f23f3a61', '0b11b742-3125-4d75-9a6f-84af7fde1969', - 'b1286f3a-e2d0-4237-882b-f0efc0819ec3' + 'b1286f3a-e2d0-4237-882b-f0efc0819ec3', ], sku : 'ATV-2569', barcode : '8238990048137', @@ -288,9 +288,9 @@ export const products = [ images : [ 'assets/images/apps/ecommerce/products/watch-06-01.jpg', 'assets/images/apps/ecommerce/products/watch-06-02.jpg', - 'assets/images/apps/ecommerce/products/watch-06-03.jpg' + 'assets/images/apps/ecommerce/products/watch-06-03.jpg', ], - active : true + active : true, }, { id : 'ecf0b3df-38c3-45dc-972b-c509a3dc053e', @@ -302,7 +302,7 @@ export const products = [ '7d6dd47e-7472-4f8b-93d4-46c114c44533', '8837b93f-388b-43cc-851d-4ca8f23f3a61', '0b11b742-3125-4d75-9a6f-84af7fde1969', - 'b1286f3a-e2d0-4237-882b-f0efc0819ec3' + 'b1286f3a-e2d0-4237-882b-f0efc0819ec3', ], sku : 'EAH-2563', barcode : '8638426908385', @@ -319,9 +319,9 @@ export const products = [ images : [ 'assets/images/apps/ecommerce/products/watch-07-01.jpg', 'assets/images/apps/ecommerce/products/watch-07-02.jpg', - 'assets/images/apps/ecommerce/products/watch-07-03.jpg' + 'assets/images/apps/ecommerce/products/watch-07-03.jpg', ], - active : false + active : false, }, { id : '5765080a-aaee-40b9-86be-c18b9d79c73c', @@ -333,7 +333,7 @@ export const products = [ '0fc39efd-f640-41f8-95a5-3f1d749df200', '8f868ddb-d4a2-461d-bc3b-d7c8668687c3', '0b11b742-3125-4d75-9a6f-84af7fde1969', - 'b1286f3a-e2d0-4237-882b-f0efc0819ec3' + 'b1286f3a-e2d0-4237-882b-f0efc0819ec3', ], sku : 'ATH-6399', barcode : '8881883828441', @@ -350,9 +350,9 @@ export const products = [ images : [ 'assets/images/apps/ecommerce/products/watch-08-01.jpg', 'assets/images/apps/ecommerce/products/watch-08-02.jpg', - 'assets/images/apps/ecommerce/products/watch-08-03.jpg' + 'assets/images/apps/ecommerce/products/watch-08-03.jpg', ], - active : false + active : false, }, { id : '6e71be88-b225-474c-91e5-111ced7d6220', @@ -364,7 +364,7 @@ export const products = [ '7d6dd47e-7472-4f8b-93d4-46c114c44533', '8f868ddb-d4a2-461d-bc3b-d7c8668687c3', '2300ac48-f268-466a-b765-8b878b6e14a7', - 'b1286f3a-e2d0-4237-882b-f0efc0819ec3' + 'b1286f3a-e2d0-4237-882b-f0efc0819ec3', ], sku : 'ELH-2495', barcode : '8268777127281', @@ -381,9 +381,9 @@ export const products = [ images : [ 'assets/images/apps/ecommerce/products/watch-09-01.jpg', 'assets/images/apps/ecommerce/products/watch-09-02.jpg', - 'assets/images/apps/ecommerce/products/watch-09-03.jpg' + 'assets/images/apps/ecommerce/products/watch-09-03.jpg', ], - active : false + active : false, }, { id : '51242500-6983-4a78-bff3-d278eb4e3a57', @@ -395,7 +395,7 @@ export const products = [ '0fc39efd-f640-41f8-95a5-3f1d749df200', '8837b93f-388b-43cc-851d-4ca8f23f3a61', '0b11b742-3125-4d75-9a6f-84af7fde1969', - 'b1286f3a-e2d0-4237-882b-f0efc0819ec3' + 'b1286f3a-e2d0-4237-882b-f0efc0819ec3', ], sku : 'ATT-6019', barcode : '8452763551765', @@ -412,9 +412,9 @@ export const products = [ images : [ 'assets/images/apps/ecommerce/products/watch-10-01.jpg', 'assets/images/apps/ecommerce/products/watch-10-02.jpg', - 'assets/images/apps/ecommerce/products/watch-10-03.jpg' + 'assets/images/apps/ecommerce/products/watch-10-03.jpg', ], - active : true + active : true, }, { id : '844a4395-233f-4ffb-85bd-7baa0e490a88', @@ -426,7 +426,7 @@ export const products = [ '7d6dd47e-7472-4f8b-93d4-46c114c44533', '8837b93f-388b-43cc-851d-4ca8f23f3a61', '2300ac48-f268-466a-b765-8b878b6e14a7', - 'b1286f3a-e2d0-4237-882b-f0efc0819ec3' + 'b1286f3a-e2d0-4237-882b-f0efc0819ec3', ], sku : 'ADH-2335', barcode : '8385907318041', @@ -443,9 +443,9 @@ export const products = [ images : [ 'assets/images/apps/ecommerce/products/watch-11-01.jpg', 'assets/images/apps/ecommerce/products/watch-11-02.jpg', - 'assets/images/apps/ecommerce/products/watch-11-03.jpg' + 'assets/images/apps/ecommerce/products/watch-11-03.jpg', ], - active : false + active : false, }, { id : '7520f1b6-3c45-46ef-a4d5-881971212d1e', @@ -457,7 +457,7 @@ export const products = [ '0fc39efd-f640-41f8-95a5-3f1d749df200', '8f868ddb-d4a2-461d-bc3b-d7c8668687c3', '0b11b742-3125-4d75-9a6f-84af7fde1969', - 'b1286f3a-e2d0-4237-882b-f0efc0819ec3' + 'b1286f3a-e2d0-4237-882b-f0efc0819ec3', ], sku : 'ATH-3064', barcode : '8608510561856', @@ -474,9 +474,9 @@ export const products = [ images : [ 'assets/images/apps/ecommerce/products/watch-12-01.jpg', 'assets/images/apps/ecommerce/products/watch-12-02.jpg', - 'assets/images/apps/ecommerce/products/watch-12-03.jpg' + 'assets/images/apps/ecommerce/products/watch-12-03.jpg', ], - active : false + active : false, }, { id : '683e41d8-6ebc-4e6a-a7c1-9189ca52ef19', @@ -488,7 +488,7 @@ export const products = [ '7d6dd47e-7472-4f8b-93d4-46c114c44533', '8837b93f-388b-43cc-851d-4ca8f23f3a61', '0b11b742-3125-4d75-9a6f-84af7fde1969', - 'b1286f3a-e2d0-4237-882b-f0efc0819ec3' + 'b1286f3a-e2d0-4237-882b-f0efc0819ec3', ], sku : 'ADV-3188', barcode : '8334758988643', @@ -505,9 +505,9 @@ export const products = [ images : [ 'assets/images/apps/ecommerce/products/watch-13-01.jpg', 'assets/images/apps/ecommerce/products/watch-13-02.jpg', - 'assets/images/apps/ecommerce/products/watch-13-03.jpg' + 'assets/images/apps/ecommerce/products/watch-13-03.jpg', ], - active : false + active : false, }, { id : 'd4e52238-292d-462b-b9bb-1751030132e2', @@ -519,7 +519,7 @@ export const products = [ '7d6dd47e-7472-4f8b-93d4-46c114c44533', '8f868ddb-d4a2-461d-bc3b-d7c8668687c3', '2300ac48-f268-466a-b765-8b878b6e14a7', - 'b1286f3a-e2d0-4237-882b-f0efc0819ec3' + 'b1286f3a-e2d0-4237-882b-f0efc0819ec3', ], sku : 'ATT-7423', barcode : '8417153336369', @@ -536,9 +536,9 @@ export const products = [ images : [ 'assets/images/apps/ecommerce/products/watch-14-01.jpg', 'assets/images/apps/ecommerce/products/watch-14-02.jpg', - 'assets/images/apps/ecommerce/products/watch-14-03.jpg' + 'assets/images/apps/ecommerce/products/watch-14-03.jpg', ], - active : false + active : false, }, { id : '98861dfc-0d21-4fd5-81aa-49785d003d95', @@ -550,7 +550,7 @@ export const products = [ '0fc39efd-f640-41f8-95a5-3f1d749df200', '8837b93f-388b-43cc-851d-4ca8f23f3a61', '0b11b742-3125-4d75-9a6f-84af7fde1969', - 'b1286f3a-e2d0-4237-882b-f0efc0819ec3' + 'b1286f3a-e2d0-4237-882b-f0efc0819ec3', ], sku : 'AAT-6453', barcode : '8501386761670', @@ -567,9 +567,9 @@ export const products = [ images : [ 'assets/images/apps/ecommerce/products/watch-15-01.jpg', 'assets/images/apps/ecommerce/products/watch-15-02.jpg', - 'assets/images/apps/ecommerce/products/watch-15-03.jpg' + 'assets/images/apps/ecommerce/products/watch-15-03.jpg', ], - active : false + active : false, }, { id : 'a71f9b10-e884-4aad-9810-29fe10ce6d42', @@ -581,7 +581,7 @@ export const products = [ '7d6dd47e-7472-4f8b-93d4-46c114c44533', '8f868ddb-d4a2-461d-bc3b-d7c8668687c3', '2300ac48-f268-466a-b765-8b878b6e14a7', - 'b1286f3a-e2d0-4237-882b-f0efc0819ec3' + 'b1286f3a-e2d0-4237-882b-f0efc0819ec3', ], sku : 'AAP-4902', barcode : '8847387136582', @@ -598,9 +598,9 @@ export const products = [ images : [ 'assets/images/apps/ecommerce/products/watch-16-01.jpg', 'assets/images/apps/ecommerce/products/watch-16-02.jpg', - 'assets/images/apps/ecommerce/products/watch-16-03.jpg' + 'assets/images/apps/ecommerce/products/watch-16-03.jpg', ], - active : false + active : false, }, { id : '149e6db5-4ecc-4021-bc56-08b27514a746', @@ -612,7 +612,7 @@ export const products = [ '7d6dd47e-7472-4f8b-93d4-46c114c44533', '8f868ddb-d4a2-461d-bc3b-d7c8668687c3', '2300ac48-f268-466a-b765-8b878b6e14a7', - 'b1286f3a-e2d0-4237-882b-f0efc0819ec3' + 'b1286f3a-e2d0-4237-882b-f0efc0819ec3', ], sku : 'ALV-194', barcode : '8860845382207', @@ -629,9 +629,9 @@ export const products = [ images : [ 'assets/images/apps/ecommerce/products/watch-17-01.jpg', 'assets/images/apps/ecommerce/products/watch-17-02.jpg', - 'assets/images/apps/ecommerce/products/watch-17-03.jpg' + 'assets/images/apps/ecommerce/products/watch-17-03.jpg', ], - active : false + active : false, }, { id : '655287de-2e24-41f3-a82f-8b08548ecc39', @@ -643,7 +643,7 @@ export const products = [ '0fc39efd-f640-41f8-95a5-3f1d749df200', '8837b93f-388b-43cc-851d-4ca8f23f3a61', '0b11b742-3125-4d75-9a6f-84af7fde1969', - 'b1286f3a-e2d0-4237-882b-f0efc0819ec3' + 'b1286f3a-e2d0-4237-882b-f0efc0819ec3', ], sku : 'ADH-5492', barcode : '8611606513571', @@ -660,9 +660,9 @@ export const products = [ images : [ 'assets/images/apps/ecommerce/products/watch-18-01.jpg', 'assets/images/apps/ecommerce/products/watch-18-02.jpg', - 'assets/images/apps/ecommerce/products/watch-18-03.jpg' + 'assets/images/apps/ecommerce/products/watch-18-03.jpg', ], - active : true + active : true, }, { id : 'c215b427-d840-4537-aea1-a9bdfa49441b', @@ -674,7 +674,7 @@ export const products = [ '0fc39efd-f640-41f8-95a5-3f1d749df200', '8f868ddb-d4a2-461d-bc3b-d7c8668687c3', '0b11b742-3125-4d75-9a6f-84af7fde1969', - 'b1286f3a-e2d0-4237-882b-f0efc0819ec3' + 'b1286f3a-e2d0-4237-882b-f0efc0819ec3', ], sku : 'AAT-6702', barcode : '8330223562386', @@ -691,9 +691,9 @@ export const products = [ images : [ 'assets/images/apps/ecommerce/products/watch-19-01.jpg', 'assets/images/apps/ecommerce/products/watch-19-02.jpg', - 'assets/images/apps/ecommerce/products/watch-19-03.jpg' + 'assets/images/apps/ecommerce/products/watch-19-03.jpg', ], - active : true + active : true, }, { id : '8b1d9366-891e-49cd-aafb-ac65ce2741e2', @@ -705,7 +705,7 @@ export const products = [ '0fc39efd-f640-41f8-95a5-3f1d749df200', '8f868ddb-d4a2-461d-bc3b-d7c8668687c3', '0b11b742-3125-4d75-9a6f-84af7fde1969', - 'b1286f3a-e2d0-4237-882b-f0efc0819ec3' + 'b1286f3a-e2d0-4237-882b-f0efc0819ec3', ], sku : 'EDH-5599', barcode : '8309212335274', @@ -722,9 +722,9 @@ export const products = [ images : [ 'assets/images/apps/ecommerce/products/watch-20-01.jpg', 'assets/images/apps/ecommerce/products/watch-20-02.jpg', - 'assets/images/apps/ecommerce/products/watch-20-03.jpg' + 'assets/images/apps/ecommerce/products/watch-20-03.jpg', ], - active : false + active : false, }, { id : '54e29534-518b-4006-b72a-f21fac6c4d5e', @@ -736,7 +736,7 @@ export const products = [ '7d6dd47e-7472-4f8b-93d4-46c114c44533', '8837b93f-388b-43cc-851d-4ca8f23f3a61', '0b11b742-3125-4d75-9a6f-84af7fde1969', - 'b1286f3a-e2d0-4237-882b-f0efc0819ec3' + 'b1286f3a-e2d0-4237-882b-f0efc0819ec3', ], sku : 'ADP-3719', barcode : '8879167838673', @@ -753,9 +753,9 @@ export const products = [ images : [ 'assets/images/apps/ecommerce/products/watch-21-01.jpg', 'assets/images/apps/ecommerce/products/watch-21-02.jpg', - 'assets/images/apps/ecommerce/products/watch-21-03.jpg' + 'assets/images/apps/ecommerce/products/watch-21-03.jpg', ], - active : false + active : false, }, { id : '6a5726e8-c467-45ea-92ab-d83235a06405', @@ -767,7 +767,7 @@ export const products = [ '7d6dd47e-7472-4f8b-93d4-46c114c44533', '8837b93f-388b-43cc-851d-4ca8f23f3a61', '0b11b742-3125-4d75-9a6f-84af7fde1969', - 'b1286f3a-e2d0-4237-882b-f0efc0819ec3' + 'b1286f3a-e2d0-4237-882b-f0efc0819ec3', ], sku : 'ATH-3399', barcode : '8356410903599', @@ -784,9 +784,9 @@ export const products = [ images : [ 'assets/images/apps/ecommerce/products/watch-22-01.jpg', 'assets/images/apps/ecommerce/products/watch-22-02.jpg', - 'assets/images/apps/ecommerce/products/watch-22-03.jpg' + 'assets/images/apps/ecommerce/products/watch-22-03.jpg', ], - active : false + active : false, }, { id : 'd7d1d6df-e91f-4c53-982a-2720bc2b4cdd', @@ -798,7 +798,7 @@ export const products = [ '0fc39efd-f640-41f8-95a5-3f1d749df200', '8f868ddb-d4a2-461d-bc3b-d7c8668687c3', '0b11b742-3125-4d75-9a6f-84af7fde1969', - 'b1286f3a-e2d0-4237-882b-f0efc0819ec3' + 'b1286f3a-e2d0-4237-882b-f0efc0819ec3', ], sku : 'EAV-4030', barcode : '8545771786193', @@ -815,8 +815,8 @@ export const products = [ images : [ 'assets/images/apps/ecommerce/products/watch-23-01.jpg', 'assets/images/apps/ecommerce/products/watch-23-02.jpg', - 'assets/images/apps/ecommerce/products/watch-23-03.jpg' + 'assets/images/apps/ecommerce/products/watch-23-03.jpg', ], - active : true - } + active : true, + }, ]; diff --git a/src/app/mock-api/apps/file-manager/api.ts b/src/app/mock-api/apps/file-manager/api.ts index 02ca4074..5585a45d 100644 --- a/src/app/mock-api/apps/file-manager/api.ts +++ b/src/app/mock-api/apps/file-manager/api.ts @@ -1,10 +1,10 @@ import { Injectable } from '@angular/core'; -import { cloneDeep } from 'lodash-es'; import { FuseMockApiService } from '@fuse/lib/mock-api/mock-api.service'; import { items as itemsData } from 'app/mock-api/apps/file-manager/data'; +import { cloneDeep } from 'lodash-es'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class FileManagerMockApi { @@ -33,7 +33,8 @@ export class FileManagerMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onGet('api/apps/file-manager') - .reply(({request}) => { + .reply(({request}) => + { // Clone the items let items = cloneDeep(this._items); @@ -85,8 +86,8 @@ export class FileManagerMockApi { folders, files, - path - } + path, + }, ]; }); } diff --git a/src/app/mock-api/apps/file-manager/data.ts b/src/app/mock-api/apps/file-manager/data.ts index fa6184f6..6ffa0494 100644 --- a/src/app/mock-api/apps/file-manager/data.ts +++ b/src/app/mock-api/apps/file-manager/data.ts @@ -10,7 +10,7 @@ export const items = [ size : '87 MB', type : 'folder', contents : '57 files', - description: 'Personal documents such as insurance policies, tax papers and etc.' + description: 'Personal documents such as insurance policies, tax papers and etc.', }, { id : '6da8747f-b474-4c9a-9eba-5ef212285500', @@ -22,7 +22,7 @@ export const items = [ size : '3015 MB', type : 'folder', contents : '907 files', - description: 'Personal photos; selfies, family, vacation and etc.' + description: 'Personal photos; selfies, family, vacation and etc.', }, { id : 'ed58add1-45a7-41db-887d-3ca7ee7f2719', @@ -34,7 +34,7 @@ export const items = [ size : '14 MB', type : 'folder', contents : '24 files', - description: 'Work related files, mainly documents and paychecks.' + description: 'Work related files, mainly documents and paychecks.', }, { id : '5cb66e32-d1ac-4b9a-8c34-5991ce25add2', @@ -46,7 +46,7 @@ export const items = [ size : '1.2 MB', type : 'PDF', contents : null, - description: null + description: null, }, { id : '3ffc3d84-8f2d-4929-903a-ef6fc21657a7', @@ -58,7 +58,7 @@ export const items = [ size : '679 KB', type : 'XLS', contents : null, - description: null + description: null, }, { id : '157adb9a-14f8-4559-ac93-8be893c9f80a', @@ -70,7 +70,7 @@ export const items = [ size : '1.5 MB', type : 'DOC', contents : null, - description: null + description: null, }, { id : '4f64597a-df7e-461c-ad60-f33e5f7e0747', @@ -82,7 +82,7 @@ export const items = [ size : '17.8 MB', type : 'PDF', contents : null, - description: null + description: null, }, { id : 'e445c445-57b2-4476-8c62-b068e3774b8e', @@ -94,7 +94,7 @@ export const items = [ size : '11.3 MB', type : 'TXT', contents : null, - description: null + description: null, }, { id : 'b482f93e-7847-4614-ad48-b78b78309f81', @@ -106,7 +106,7 @@ export const items = [ size : '9.3 MB', type : 'TXT', contents : null, - description: null + description: null, }, { id : 'ec07a98d-2e5b-422c-a9b2-b5d1c0e263f5', @@ -118,7 +118,7 @@ export const items = [ size : '4.3 MB', type : 'DOC', contents : null, - description: null + description: null, }, { id : 'ae908d59-07da-4dd8-aba0-124e50289295', @@ -130,7 +130,7 @@ export const items = [ size : '4.5 MB', type : 'JPG', contents : null, - description: null + description: null, }, { id : '4038a5b6-5b1a-432d-907c-e037aeb817a8', @@ -142,7 +142,7 @@ export const items = [ size : '7.8 MB', type : 'JPG', contents : null, - description: null + description: null, }, { id : '630d2e9a-d110-47a0-ac03-256073a0f56d', @@ -154,7 +154,7 @@ export const items = [ size : '7.4 MB', type : 'JPG', contents : null, - description: null + description: null, }, { id : '1417d5ed-b616-4cff-bfab-286677b69d79', @@ -166,7 +166,7 @@ export const items = [ size : '2.6 MB', type : 'DOC', contents : null, - description: null + description: null, }, { id : 'bd2817c7-6751-40dc-b252-b6b5634c0689', @@ -178,7 +178,7 @@ export const items = [ size : '2.1 MB', type : 'DOC', contents : null, - description: null + description: null, }, { id : '14fb47c9-6eeb-4070-919c-07c8133285d1', @@ -190,7 +190,7 @@ export const items = [ size : '943 KB', type : 'XLS', contents : null, - description: null + description: null, }, { @@ -203,7 +203,7 @@ export const items = [ size : '943 KB', type : 'XLS', contents : null, - description: null + description: null, }, { id : '74010810-16cf-441d-a1aa-c9fb620fceea', @@ -215,7 +215,7 @@ export const items = [ size : '3015 MB', type : 'folder', contents : '907 files', - description: 'Personal photos; selfies, family, vacation and etc.' + description: 'Personal photos; selfies, family, vacation and etc.', }, { id : 'a8c73e5a-8114-436d-ab54-d900b50b3762', @@ -227,7 +227,7 @@ export const items = [ size : '943 KB', type : 'XLS', contents : null, - description: null + description: null, }, { @@ -240,7 +240,7 @@ export const items = [ size : '943 KB', type : 'XLS', contents : null, - description: null + description: null, }, { id : '2836766d-27e1-4f40-a31a-5a8419105e7e', @@ -252,6 +252,6 @@ export const items = [ size : '943 KB', type : 'XLS', contents : null, - description: null - } + description: null, + }, ]; diff --git a/src/app/mock-api/apps/help-center/api.ts b/src/app/mock-api/apps/help-center/api.ts index f51c4d5c..fb9cd065 100644 --- a/src/app/mock-api/apps/help-center/api.ts +++ b/src/app/mock-api/apps/help-center/api.ts @@ -1,10 +1,10 @@ import { Injectable } from '@angular/core'; -import { cloneDeep } from 'lodash-es'; import { FuseMockApiService } from '@fuse/lib/mock-api'; import { faqCategories as faqCategoriesData, faqs as faqsData, guideCategories as guideCategoriesData, guideContent as guideContentData, guides as guidesData } from 'app/mock-api/apps/help-center/data'; +import { cloneDeep } from 'lodash-es'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class HelpCenterMockApi { @@ -37,7 +37,8 @@ export class HelpCenterMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onGet('api/apps/help-center/faqs') - .reply(({request}) => { + .reply(({request}) => + { // Get the category slug const slug = request.params.get('slug'); @@ -55,13 +56,14 @@ export class HelpCenterMockApi if ( !slug ) { // Go through each category and set the results - categories.forEach((category) => { + categories.forEach((category) => + { results.push( { ...category, - faqs: faqs.filter(faq => faq.categoryId === category.id) - } + faqs: faqs.filter(faq => faq.categoryId === category.id), + }, ); }); } @@ -75,8 +77,8 @@ export class HelpCenterMockApi results.push( { ...category, - faqs: faqs.filter(faq => faq.categoryId === category.id) - } + faqs: faqs.filter(faq => faq.categoryId === category.id), + }, ); } @@ -89,7 +91,8 @@ export class HelpCenterMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onGet('api/apps/help-center/guides') - .reply(({request}) => { + .reply(({request}) => + { // Get the slug & limit const slug = request.params.get('slug'); @@ -111,15 +114,16 @@ export class HelpCenterMockApi const limitNum = parseInt(limit ?? '5', 10); // Go through each category and set the results - categories.forEach((category) => { + categories.forEach((category) => + { results.push( { ...category, visibleGuides: limitNum, totalGuides : guides.filter(guide => guide.categoryId === category.id).length, - guides : guides.filter(guide => guide.categoryId === category.id).slice(0, limitNum) - } + guides : guides.filter(guide => guide.categoryId === category.id).slice(0, limitNum), + }, ); }); } @@ -133,8 +137,8 @@ export class HelpCenterMockApi results.push( { ...category, - guides: guides.filter(guide => guide.categoryId === category.id) - } + guides: guides.filter(guide => guide.categoryId === category.id), + }, ); } @@ -147,7 +151,8 @@ export class HelpCenterMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onGet('api/apps/help-center/guide') - .reply(({request}) => { + .reply(({request}) => + { // Get the slugs const categorySlug = request.params.get('categorySlug'); @@ -160,7 +165,7 @@ export class HelpCenterMockApi // Prepare the result const result = { ...categories.find(category => category.slug === categorySlug), - guides: [guides.find(guide => guide.slug === guideSlug)] + guides: [guides.find(guide => guide.slug === guideSlug)], }; // Add the content to the guide diff --git a/src/app/mock-api/apps/help-center/data.ts b/src/app/mock-api/apps/help-center/data.ts index b4737080..a77b28c0 100644 --- a/src/app/mock-api/apps/help-center/data.ts +++ b/src/app/mock-api/apps/help-center/data.ts @@ -3,28 +3,28 @@ export const faqCategories = [ { id : '28924eab-97cc-465a-ba21-f232bb95843f', slug : 'most-asked', - title: 'Most asked' + title: 'Most asked', }, { id : '395b0d41-b9a8-4cd6-8b5c-f07855e82d62', slug : 'general-inquiries', - title: 'General inquiries' + title: 'General inquiries', }, { id : 'b388a87f-bfbb-44d0-800c-0ddbce2a5d22', slug : 'licenses', - title: 'Licenses' + title: 'Licenses', }, { id : '71c34043-d89d-4aca-951d-8606c3943c43', slug : 'payments', - title: 'Payments' + title: 'Payments', }, { id : 'bea49ee0-26da-46ad-97be-116cd7ab416d', slug : 'support', - title: 'Support' - } + title: 'Support', + }, ]; export const faqs = [ // Most asked @@ -32,207 +32,207 @@ export const faqs = [ id : 'f65d517a-6f69-4c88-81f5-416f47405ce1', categoryId: '28924eab-97cc-465a-ba21-f232bb95843f', question : 'Is there a 14-days trial?', - answer : 'Magna consectetur culpa duis ad est tempor pariatur velit ullamco aute exercitation magna sunt commodo minim enim aliquip eiusmod ipsum adipisicing magna ipsum reprehenderit lorem magna voluptate magna aliqua culpa.\n\nSit nisi adipisicing pariatur enim enim sunt officia ad labore voluptate magna proident velit excepteur pariatur cillum sit excepteur elit veniam excepteur minim nisi cupidatat proident dolore irure veniam mollit.' + answer : 'Magna consectetur culpa duis ad est tempor pariatur velit ullamco aute exercitation magna sunt commodo minim enim aliquip eiusmod ipsum adipisicing magna ipsum reprehenderit lorem magna voluptate magna aliqua culpa.\n\nSit nisi adipisicing pariatur enim enim sunt officia ad labore voluptate magna proident velit excepteur pariatur cillum sit excepteur elit veniam excepteur minim nisi cupidatat proident dolore irure veniam mollit.', }, { id : '0fcece82-1691-4b98-a9b9-b63218f9deef', categoryId: '28924eab-97cc-465a-ba21-f232bb95843f', question : 'What’s the benefits of the Premium Membership?', - answer : 'Et in lorem qui ipsum deserunt duis exercitation lorem elit qui qui ipsum tempor nulla velit aliquip enim consequat incididunt pariatur duis excepteur elit irure nulla ipsum dolor dolore est.\n\nAute deserunt nostrud id non ipsum do adipisicing laboris in minim officia magna elit minim mollit elit velit veniam lorem pariatur veniam sit excepteur irure commodo excepteur duis quis in.' + answer : 'Et in lorem qui ipsum deserunt duis exercitation lorem elit qui qui ipsum tempor nulla velit aliquip enim consequat incididunt pariatur duis excepteur elit irure nulla ipsum dolor dolore est.\n\nAute deserunt nostrud id non ipsum do adipisicing laboris in minim officia magna elit minim mollit elit velit veniam lorem pariatur veniam sit excepteur irure commodo excepteur duis quis in.', }, { id : '2e6971cd-49d5-49f1-8cbd-fba5c71e6062', categoryId: '28924eab-97cc-465a-ba21-f232bb95843f', question : 'How much time I will need to learn this app?', - answer : 'Id fugiat et cupidatat magna nulla nulla eu cillum officia nostrud dolore in veniam ullamco nulla ex duis est enim nisi aute ipsum velit et laboris est pariatur est culpa.\n\nCulpa sunt ipsum esse quis excepteur enim culpa est voluptate reprehenderit consequat duis officia irure voluptate veniam dolore fugiat dolor est amet nostrud non velit irure do voluptate id sit.' + answer : 'Id fugiat et cupidatat magna nulla nulla eu cillum officia nostrud dolore in veniam ullamco nulla ex duis est enim nisi aute ipsum velit et laboris est pariatur est culpa.\n\nCulpa sunt ipsum esse quis excepteur enim culpa est voluptate reprehenderit consequat duis officia irure voluptate veniam dolore fugiat dolor est amet nostrud non velit irure do voluptate id sit.', }, { id : '974f93b8-336f-4eec-b011-9ddb412ee828', categoryId: '28924eab-97cc-465a-ba21-f232bb95843f', question : 'Are there any free tutorials available?', - answer : 'Excepteur deserunt tempor do lorem elit id magna pariatur irure ullamco elit dolor consectetur ad officia fugiat incididunt do elit aute esse eu voluptate adipisicing incididunt ea dolor aliqua dolor.\n\nConsequat est quis deserunt voluptate ipsum incididunt laboris occaecat irure laborum voluptate non sit labore voluptate sunt id sint ut laboris aute cupidatat occaecat eiusmod non magna aliquip deserunt nisi.' + answer : 'Excepteur deserunt tempor do lorem elit id magna pariatur irure ullamco elit dolor consectetur ad officia fugiat incididunt do elit aute esse eu voluptate adipisicing incididunt ea dolor aliqua dolor.\n\nConsequat est quis deserunt voluptate ipsum incididunt laboris occaecat irure laborum voluptate non sit labore voluptate sunt id sint ut laboris aute cupidatat occaecat eiusmod non magna aliquip deserunt nisi.', }, { id : '5d877fc7-b881-4527-a6aa-d39d642feb23', categoryId: '28924eab-97cc-465a-ba21-f232bb95843f', question : 'Is there a month-to-month payment option?', - answer : 'Labore mollit in aliqua exercitation aliquip elit nisi nisi voluptate reprehenderit et dolor incididunt cupidatat ullamco nulla consequat voluptate adipisicing dolor qui magna sint aute do excepteur in aliqua consectetur.\n\nElit laborum non duis irure ad ullamco aliqua enim exercitation quis fugiat aute esse esse magna et ad cupidatat voluptate sint nulla nulla lorem et enim deserunt proident deserunt consectetur.' + answer : 'Labore mollit in aliqua exercitation aliquip elit nisi nisi voluptate reprehenderit et dolor incididunt cupidatat ullamco nulla consequat voluptate adipisicing dolor qui magna sint aute do excepteur in aliqua consectetur.\n\nElit laborum non duis irure ad ullamco aliqua enim exercitation quis fugiat aute esse esse magna et ad cupidatat voluptate sint nulla nulla lorem et enim deserunt proident deserunt consectetur.', }, // General inquiries { id : '3d1c26c5-1e5e-4eb6-8006-ed6037ed9aca', categoryId: '395b0d41-b9a8-4cd6-8b5c-f07855e82d62', question : 'How to download your items', - answer : 'Sunt mollit irure dolor aliquip sit veniam amet ut sunt dolore cillum sint pariatur qui irure proident velit non excepteur quis ut et quis velit aliqua ea sunt cillum sit.\n\nReprehenderit est culpa ut incididunt sit dolore mollit in occaecat velit culpa consequat reprehenderit ex lorem cupidatat proident reprehenderit ad eu sunt sit ut sit culpa ea reprehenderit aliquip est.' + answer : 'Sunt mollit irure dolor aliquip sit veniam amet ut sunt dolore cillum sint pariatur qui irure proident velit non excepteur quis ut et quis velit aliqua ea sunt cillum sit.\n\nReprehenderit est culpa ut incididunt sit dolore mollit in occaecat velit culpa consequat reprehenderit ex lorem cupidatat proident reprehenderit ad eu sunt sit ut sit culpa ea reprehenderit aliquip est.', }, { id : '11bd2b9a-85b4-41c9-832c-bd600dfa3a52', categoryId: '395b0d41-b9a8-4cd6-8b5c-f07855e82d62', question : 'View and download invoices', - answer : 'Sint mollit consectetur voluptate fugiat sunt ipsum adipisicing labore exercitation eiusmod enim excepteur enim proident velit sint magna commodo dolor ex ipsum sit nisi deserunt labore eu irure amet ea.\n\nOccaecat ut velit et sint pariatur laboris voluptate duis aliqua aliqua exercitation et duis duis eu laboris excepteur occaecat quis esse enim ex dolore commodo fugiat excepteur adipisicing in fugiat.' + answer : 'Sint mollit consectetur voluptate fugiat sunt ipsum adipisicing labore exercitation eiusmod enim excepteur enim proident velit sint magna commodo dolor ex ipsum sit nisi deserunt labore eu irure amet ea.\n\nOccaecat ut velit et sint pariatur laboris voluptate duis aliqua aliqua exercitation et duis duis eu laboris excepteur occaecat quis esse enim ex dolore commodo fugiat excepteur adipisicing in fugiat.', }, { id : 'f55c023a-785e-4f0f-b5b7-47da75224deb', categoryId: '395b0d41-b9a8-4cd6-8b5c-f07855e82d62', question : 'I\'ve forgotten my username or password', - answer : 'In exercitation sunt ad anim commodo sunt do in sunt est officia amet ex ullamco do nisi consectetur lorem proident lorem adipisicing incididunt consequat fugiat voluptate sint est anim officia.\n\nVelit sint aliquip elit culpa amet eu mollit veniam esse deserunt ex occaecat quis lorem minim occaecat culpa esse veniam enim duis excepteur ipsum esse ut ut velit cillum adipisicing.' + answer : 'In exercitation sunt ad anim commodo sunt do in sunt est officia amet ex ullamco do nisi consectetur lorem proident lorem adipisicing incididunt consequat fugiat voluptate sint est anim officia.\n\nVelit sint aliquip elit culpa amet eu mollit veniam esse deserunt ex occaecat quis lorem minim occaecat culpa esse veniam enim duis excepteur ipsum esse ut ut velit cillum adipisicing.', }, { id : 'c577a67d-357a-4b88-96e8-a0ee1fe9162e', categoryId: '395b0d41-b9a8-4cd6-8b5c-f07855e82d62', question : 'Where is my license code?', - answer : 'Ad adipisicing duis consequat magna sunt consequat aliqua eiusmod qui et nostrud voluptate sit enim reprehenderit anim exercitation ipsum ipsum anim ipsum laboris aliqua ex lorem aute officia voluptate culpa.\n\nNostrud anim ex pariatur ipsum et nostrud esse veniam ipsum ipsum irure velit ad quis irure tempor nulla amet aute id esse reprehenderit ea consequat consequat ea minim magna magna.' + answer : 'Ad adipisicing duis consequat magna sunt consequat aliqua eiusmod qui et nostrud voluptate sit enim reprehenderit anim exercitation ipsum ipsum anim ipsum laboris aliqua ex lorem aute officia voluptate culpa.\n\nNostrud anim ex pariatur ipsum et nostrud esse veniam ipsum ipsum irure velit ad quis irure tempor nulla amet aute id esse reprehenderit ea consequat consequat ea minim magna magna.', }, { id : '1a680c29-7ece-4a80-9709-277ad4da8b4b', categoryId: '395b0d41-b9a8-4cd6-8b5c-f07855e82d62', question : 'How to contact an author', - answer : 'Magna laborum et amet magna fugiat officia deserunt in exercitation aliquip nulla magna velit ea labore quis deserunt ipsum occaecat id id consequat non eiusmod mollit est voluptate ea ex.\n\nReprehenderit mollit ut excepteur minim veniam fugiat enim id pariatur amet elit nostrud occaecat pariatur et esse aliquip irure quis officia reprehenderit voluptate voluptate est et voluptate sint esse dolor.' + answer : 'Magna laborum et amet magna fugiat officia deserunt in exercitation aliquip nulla magna velit ea labore quis deserunt ipsum occaecat id id consequat non eiusmod mollit est voluptate ea ex.\n\nReprehenderit mollit ut excepteur minim veniam fugiat enim id pariatur amet elit nostrud occaecat pariatur et esse aliquip irure quis officia reprehenderit voluptate voluptate est et voluptate sint esse dolor.', }, { id : 'c49c2216-8bdb-4df0-be25-d5ea1dbb5688', categoryId: '395b0d41-b9a8-4cd6-8b5c-f07855e82d62', question : 'How does the affiliate program work?', - answer : 'Adipisicing laboris ipsum fugiat et cupidatat aute esse ad labore et est cillum ipsum sunt duis do veniam minim officia deserunt in eiusmod eu duis dolore excepteur consectetur id elit.\n\nAnim excepteur occaecat laborum sunt in elit quis sit duis adipisicing laboris anim laborum et pariatur elit qui consectetur laborum reprehenderit occaecat nostrud pariatur aliqua elit nisi commodo eu excepteur.' + answer : 'Adipisicing laboris ipsum fugiat et cupidatat aute esse ad labore et est cillum ipsum sunt duis do veniam minim officia deserunt in eiusmod eu duis dolore excepteur consectetur id elit.\n\nAnim excepteur occaecat laborum sunt in elit quis sit duis adipisicing laboris anim laborum et pariatur elit qui consectetur laborum reprehenderit occaecat nostrud pariatur aliqua elit nisi commodo eu excepteur.', }, // Licenses { id : '3ef176fa-6cba-4536-9f43-540c686a4faa', categoryId: 'b388a87f-bfbb-44d0-800c-0ddbce2a5d22', question : 'How do licenses work for items I bought?', - answer : 'Culpa duis nostrud qui velit sint magna officia fugiat ipsum eiusmod enim laborum pariatur anim culpa elit ipsum lorem pariatur exercitation laborum do labore cillum exercitation nisi reprehenderit exercitation quis.\n\nMollit aute dolor non elit et incididunt eiusmod non in commodo occaecat id in excepteur aliqua ea anim pariatur sint elit voluptate dolor eu non laborum laboris voluptate qui duis.' + answer : 'Culpa duis nostrud qui velit sint magna officia fugiat ipsum eiusmod enim laborum pariatur anim culpa elit ipsum lorem pariatur exercitation laborum do labore cillum exercitation nisi reprehenderit exercitation quis.\n\nMollit aute dolor non elit et incididunt eiusmod non in commodo occaecat id in excepteur aliqua ea anim pariatur sint elit voluptate dolor eu non laborum laboris voluptate qui duis.', }, { id : '7bc6b7b4-7ad8-4cbe-af36-7301642d35fb', categoryId: 'b388a87f-bfbb-44d0-800c-0ddbce2a5d22', question : 'Do licenses have an expiry date?', - answer : 'Ea proident dolor tempor dolore incididunt velit incididunt ullamco quis proident consectetur magna excepteur cillum officia ex do aliqua reprehenderit est esse officia labore dolore aute laboris eu commodo aute.\n\nOfficia quis id ipsum adipisicing ipsum eu exercitation cillum ex elit pariatur adipisicing ullamco ullamco nulla dolore magna aliqua reprehenderit eu laborum voluptate reprehenderit non eiusmod deserunt velit magna do.' + answer : 'Ea proident dolor tempor dolore incididunt velit incididunt ullamco quis proident consectetur magna excepteur cillum officia ex do aliqua reprehenderit est esse officia labore dolore aute laboris eu commodo aute.\n\nOfficia quis id ipsum adipisicing ipsum eu exercitation cillum ex elit pariatur adipisicing ullamco ullamco nulla dolore magna aliqua reprehenderit eu laborum voluptate reprehenderit non eiusmod deserunt velit magna do.', }, { id : '56c9ed66-a1d2-4803-a160-fba29b826cb4', categoryId: 'b388a87f-bfbb-44d0-800c-0ddbce2a5d22', question : 'I want to make multiple end products with the same item', - answer : 'Elit cillum incididunt enim cupidatat ex elit cillum aute dolor consectetur proident non minim eu est deserunt proident mollit ullamco laborum anim ea labore anim ex enim ullamco consectetur enim.\n\nEx magna consectetur esse enim consequat non aliqua nulla labore mollit sit quis ex fugiat commodo eu cupidatat irure incididunt consequat enim ut deserunt consequat elit consequat sint adipisicing sunt.' + answer : 'Elit cillum incididunt enim cupidatat ex elit cillum aute dolor consectetur proident non minim eu est deserunt proident mollit ullamco laborum anim ea labore anim ex enim ullamco consectetur enim.\n\nEx magna consectetur esse enim consequat non aliqua nulla labore mollit sit quis ex fugiat commodo eu cupidatat irure incididunt consequat enim ut deserunt consequat elit consequat sint adipisicing sunt.', }, { id : '21c1b662-33c8-44d7-9530-91896afeeac7', categoryId: 'b388a87f-bfbb-44d0-800c-0ddbce2a5d22', question : 'How easy is it to change the license type?', - answer : 'Duis culpa ut veniam voluptate consequat proident magna eiusmod id est magna culpa nulla enim culpa mollit velit lorem mollit ut minim dolore in tempor reprehenderit cillum occaecat proident ea.\n\nVeniam fugiat ea duis qui et eu eiusmod voluptate id cillum eiusmod eu reprehenderit minim reprehenderit nisi cillum nostrud duis eu magna minim sunt voluptate eu pariatur nulla ullamco elit.' + answer : 'Duis culpa ut veniam voluptate consequat proident magna eiusmod id est magna culpa nulla enim culpa mollit velit lorem mollit ut minim dolore in tempor reprehenderit cillum occaecat proident ea.\n\nVeniam fugiat ea duis qui et eu eiusmod voluptate id cillum eiusmod eu reprehenderit minim reprehenderit nisi cillum nostrud duis eu magna minim sunt voluptate eu pariatur nulla ullamco elit.', }, { id : '5fa52c90-82be-41ae-96ec-5fc67cf054a4', categoryId: 'b388a87f-bfbb-44d0-800c-0ddbce2a5d22', question : 'Do I need a Regular License or an Extended License?', - answer : 'Mollit nostrud ea irure ex ipsum in cupidatat irure sit officia reprehenderit adipisicing et occaecat cupidatat exercitation mollit esse in excepteur qui elit exercitation velit fugiat exercitation est officia excepteur.\n\nQuis esse voluptate laborum non veniam duis est fugiat tempor culpa minim velit minim ut duis qui officia consectetur ex nostrud ut elit elit nulla in consectetur voluptate aliqua aliqua.' + answer : 'Mollit nostrud ea irure ex ipsum in cupidatat irure sit officia reprehenderit adipisicing et occaecat cupidatat exercitation mollit esse in excepteur qui elit exercitation velit fugiat exercitation est officia excepteur.\n\nQuis esse voluptate laborum non veniam duis est fugiat tempor culpa minim velit minim ut duis qui officia consectetur ex nostrud ut elit elit nulla in consectetur voluptate aliqua aliqua.', }, // Payments { id : '81ac908c-35a2-4705-8d75-539863c35c09', categoryId: '71c34043-d89d-4aca-951d-8606c3943c43', question : 'Common PayPal, Skrill, and credit card issues', - answer : 'Sit occaecat sint nulla in esse dolor occaecat in ea sit irure magna magna veniam fugiat consequat exercitation ipsum ex officia velit consectetur consequat voluptate lorem eu proident lorem incididunt.\n\nExcepteur exercitation et qui labore nisi eu voluptate ipsum deserunt deserunt eu est minim dolor ad proident nulla reprehenderit culpa minim voluptate dolor nostrud dolor anim labore aliqua officia nostrud.' + answer : 'Sit occaecat sint nulla in esse dolor occaecat in ea sit irure magna magna veniam fugiat consequat exercitation ipsum ex officia velit consectetur consequat voluptate lorem eu proident lorem incididunt.\n\nExcepteur exercitation et qui labore nisi eu voluptate ipsum deserunt deserunt eu est minim dolor ad proident nulla reprehenderit culpa minim voluptate dolor nostrud dolor anim labore aliqua officia nostrud.', }, { id : 'b6d8909f-f36d-4885-8848-46b8230d4476', categoryId: '71c34043-d89d-4aca-951d-8606c3943c43', question : 'How do I find my transaction ID?', - answer : 'Laboris ea nisi commodo nulla cillum consequat consectetur nisi velit adipisicing minim nulla culpa amet quis sit duis id id aliqua aute exercitation non reprehenderit aliquip enim eiusmod eu irure.\n\nNon irure consectetur sunt cillum do adipisicing excepteur labore proident ut officia dolor fugiat velit sint consectetur cillum qui amet enim anim mollit laboris consectetur non do laboris lorem aliqua.' + answer : 'Laboris ea nisi commodo nulla cillum consequat consectetur nisi velit adipisicing minim nulla culpa amet quis sit duis id id aliqua aute exercitation non reprehenderit aliquip enim eiusmod eu irure.\n\nNon irure consectetur sunt cillum do adipisicing excepteur labore proident ut officia dolor fugiat velit sint consectetur cillum qui amet enim anim mollit laboris consectetur non do laboris lorem aliqua.', }, { id : '9496235d-4d0c-430b-817e-1cba96404f95', categoryId: '71c34043-d89d-4aca-951d-8606c3943c43', question : 'PayPal disputes And chargebacks', - answer : 'Ullamco eiusmod do pariatur pariatur consectetur commodo proident ex voluptate ullamco culpa commodo deserunt pariatur incididunt nisi magna dolor est minim eu ex voluptate deserunt labore id magna excepteur et.\n\nReprehenderit dolore pariatur exercitation ad non fugiat quis proident fugiat incididunt ea magna pariatur et exercitation tempor cillum eu consequat adipisicing est laborum sit cillum ea fugiat mollit cupidatat est.' + answer : 'Ullamco eiusmod do pariatur pariatur consectetur commodo proident ex voluptate ullamco culpa commodo deserunt pariatur incididunt nisi magna dolor est minim eu ex voluptate deserunt labore id magna excepteur et.\n\nReprehenderit dolore pariatur exercitation ad non fugiat quis proident fugiat incididunt ea magna pariatur et exercitation tempor cillum eu consequat adipisicing est laborum sit cillum ea fugiat mollit cupidatat est.', }, { id : '7fde17e6-4ac1-47dd-a363-2f4f14dcf76a', categoryId: '71c34043-d89d-4aca-951d-8606c3943c43', question : 'Saving your credit card details', - answer : 'Qui quis nulla excepteur voluptate elit culpa occaecat id ex do adipisicing est mollit id anim nisi irure amet officia ut sint aliquip dolore labore cupidatat magna laborum esse ea.\n\nEnim magna duis sit incididunt amet anim et nostrud laborum eiusmod et ea fugiat aliquip velit sit fugiat consectetur ipsum anim do enim excepteur cupidatat consequat sunt irure tempor ut.' + answer : 'Qui quis nulla excepteur voluptate elit culpa occaecat id ex do adipisicing est mollit id anim nisi irure amet officia ut sint aliquip dolore labore cupidatat magna laborum esse ea.\n\nEnim magna duis sit incididunt amet anim et nostrud laborum eiusmod et ea fugiat aliquip velit sit fugiat consectetur ipsum anim do enim excepteur cupidatat consequat sunt irure tempor ut.', }, { id : '90a3ed58-e13b-40cf-9219-f933bf9c9b8f', categoryId: '71c34043-d89d-4aca-951d-8606c3943c43', question : 'Why do prepaid credits expire?', - answer : 'Consequat consectetur commodo deserunt sunt aliquip deserunt ex tempor esse nostrud sit dolore anim nostrud nulla dolore veniam minim laboris non dolor veniam lorem veniam deserunt laborum aute amet irure.\n\nEiusmod officia veniam reprehenderit ea aliquip velit anim aute minim aute nisi tempor qui sunt deserunt voluptate velit elit ut adipisicing ipsum et excepteur ipsum eu ullamco nisi esse dolor.' + answer : 'Consequat consectetur commodo deserunt sunt aliquip deserunt ex tempor esse nostrud sit dolore anim nostrud nulla dolore veniam minim laboris non dolor veniam lorem veniam deserunt laborum aute amet irure.\n\nEiusmod officia veniam reprehenderit ea aliquip velit anim aute minim aute nisi tempor qui sunt deserunt voluptate velit elit ut adipisicing ipsum et excepteur ipsum eu ullamco nisi esse dolor.', }, { id : '153376ed-691f-4dfd-ae99-e204a49edc44', categoryId: '71c34043-d89d-4aca-951d-8606c3943c43', question : 'Why is there a minimum $20 credit?', - answer : 'Duis sint velit incididunt exercitation eiusmod nisi sunt ex est fugiat ad cupidatat sunt nisi elit do duis amet voluptate ipsum aliquip lorem aliqua sint esse in magna irure officia.\n\nNon eu ex elit ut est voluptate tempor amet ut officia in duis deserunt cillum labore do culpa id dolore magna anim consectetur qui consectetur fugiat labore mollit magna irure.' + answer : 'Duis sint velit incididunt exercitation eiusmod nisi sunt ex est fugiat ad cupidatat sunt nisi elit do duis amet voluptate ipsum aliquip lorem aliqua sint esse in magna irure officia.\n\nNon eu ex elit ut est voluptate tempor amet ut officia in duis deserunt cillum labore do culpa id dolore magna anim consectetur qui consectetur fugiat labore mollit magna irure.', }, // Support { id : '4e7ce72f-863a-451f-9160-cbd4fbbc4c3d', categoryId: 'bea49ee0-26da-46ad-97be-116cd7ab416d', question : 'What is item support?', - answer : 'Exercitation sit eiusmod enim officia exercitation eiusmod sunt eiusmod excepteur ad commodo eiusmod qui proident quis aliquip excepteur sit cillum occaecat non dolore sit in labore ut duis esse duis.\n\nConsequat sunt voluptate consectetur dolor laborum enim nostrud deserunt incididunt sint veniam laboris sunt amet velit anim duis aliqua sunt aliqua aute qui nisi mollit qui irure ullamco aliquip laborum.' + answer : 'Exercitation sit eiusmod enim officia exercitation eiusmod sunt eiusmod excepteur ad commodo eiusmod qui proident quis aliquip excepteur sit cillum occaecat non dolore sit in labore ut duis esse duis.\n\nConsequat sunt voluptate consectetur dolor laborum enim nostrud deserunt incididunt sint veniam laboris sunt amet velit anim duis aliqua sunt aliqua aute qui nisi mollit qui irure ullamco aliquip laborum.', }, { id : '0795a74f-7a84-4edf-8d66-296cdef70003', categoryId: 'bea49ee0-26da-46ad-97be-116cd7ab416d', question : 'How to contact an author', - answer : 'Minim commodo cillum do id qui irure aliqua laboris excepteur laboris magna enim est lorem consectetur tempor laboris proident proident eu irure dolor eiusmod in officia lorem quis laborum ullamco.\n\nQui excepteur ex sit esse dolore deserunt ullamco occaecat laboris fugiat cupidatat excepteur laboris amet dolore enim velit ipsum velit sint cupidatat consectetur cupidatat deserunt sit eu do ullamco quis.' + answer : 'Minim commodo cillum do id qui irure aliqua laboris excepteur laboris magna enim est lorem consectetur tempor laboris proident proident eu irure dolor eiusmod in officia lorem quis laborum ullamco.\n\nQui excepteur ex sit esse dolore deserunt ullamco occaecat laboris fugiat cupidatat excepteur laboris amet dolore enim velit ipsum velit sint cupidatat consectetur cupidatat deserunt sit eu do ullamco quis.', }, { id : '05532574-c102-4228-89a8-55fff32ec6fc', categoryId: 'bea49ee0-26da-46ad-97be-116cd7ab416d', question : 'Extending and renewing item support', - answer : 'Reprehenderit anim consectetur anim dolor magna consequat excepteur tempor enim duis magna proident ullamco aute voluptate elit laborum mollit labore id ex lorem est mollit do qui ex labore nulla.\n\nUt proident elit proident adipisicing elit fugiat ex ullamco dolore excepteur excepteur labore laborum sunt ipsum proident magna ex voluptate laborum voluptate sint proident eu reprehenderit non excepteur quis eiusmod.' + answer : 'Reprehenderit anim consectetur anim dolor magna consequat excepteur tempor enim duis magna proident ullamco aute voluptate elit laborum mollit labore id ex lorem est mollit do qui ex labore nulla.\n\nUt proident elit proident adipisicing elit fugiat ex ullamco dolore excepteur excepteur labore laborum sunt ipsum proident magna ex voluptate laborum voluptate sint proident eu reprehenderit non excepteur quis eiusmod.', }, { id : 'b3917466-aa51-4293-9d5b-120b0ce6635c', categoryId: 'bea49ee0-26da-46ad-97be-116cd7ab416d', question : 'Rating or review removal policy', - answer : 'Ipsum officia mollit qui laboris sunt amet aliquip cupidatat minim non elit commodo eiusmod labore mollit pariatur aute reprehenderit ullamco occaecat enim pariatur aute amet occaecat incididunt irure ad ut.\n\nIncididunt cupidatat pariatur magna sint sit culpa ad cupidatat cillum exercitation consequat minim pariatur consectetur aliqua non adipisicing magna ad nulla ea do est nostrud eu aute id occaecat ut.' + answer : 'Ipsum officia mollit qui laboris sunt amet aliquip cupidatat minim non elit commodo eiusmod labore mollit pariatur aute reprehenderit ullamco occaecat enim pariatur aute amet occaecat incididunt irure ad ut.\n\nIncididunt cupidatat pariatur magna sint sit culpa ad cupidatat cillum exercitation consequat minim pariatur consectetur aliqua non adipisicing magna ad nulla ea do est nostrud eu aute id occaecat ut.', }, { id : '2f2fb472-24d4-4a00-aa80-d513fa6c059c', categoryId: 'bea49ee0-26da-46ad-97be-116cd7ab416d', question : 'Purchasing supported and unsupported items', - answer : 'Dolor cupidatat do qui in tempor dolor magna magna ut dolor est aute veniam consectetur enim sunt sunt duis magna magna aliquip id reprehenderit dolor in veniam ullamco incididunt occaecat.\n\nId duis pariatur anim cillum est sint non veniam voluptate deserunt anim nostrud duis voluptate occaecat elit ut veniam voluptate do qui est ad velit irure sint lorem ullamco aliqua.' + answer : 'Dolor cupidatat do qui in tempor dolor magna magna ut dolor est aute veniam consectetur enim sunt sunt duis magna magna aliquip id reprehenderit dolor in veniam ullamco incididunt occaecat.\n\nId duis pariatur anim cillum est sint non veniam voluptate deserunt anim nostrud duis voluptate occaecat elit ut veniam voluptate do qui est ad velit irure sint lorem ullamco aliqua.', }, { id : '2fffd148-7644-466d-8737-7dde88c54154', categoryId: 'bea49ee0-26da-46ad-97be-116cd7ab416d', question : 'I haven\'t received a response from the author', - answer : 'Velit commodo pariatur ullamco elit sunt dolor quis irure amet tempor laboris labore tempor nisi consectetur ea proident dolore culpa nostrud esse amet commodo do esse laboris laboris in magna.\n\nAute officia labore minim laborum irure cupidatat occaecat laborum ex labore ipsum aliqua cillum do exercitation esse et veniam excepteur mollit incididunt ut qui irure culpa qui deserunt nostrud tempor.' + answer : 'Velit commodo pariatur ullamco elit sunt dolor quis irure amet tempor laboris labore tempor nisi consectetur ea proident dolore culpa nostrud esse amet commodo do esse laboris laboris in magna.\n\nAute officia labore minim laborum irure cupidatat occaecat laborum ex labore ipsum aliqua cillum do exercitation esse et veniam excepteur mollit incididunt ut qui irure culpa qui deserunt nostrud tempor.', }, { id : '24a1034e-b4d6-4a86-a1ea-90516e87e810', categoryId: 'bea49ee0-26da-46ad-97be-116cd7ab416d', question : 'Responding to requests outside of support', - answer : 'Exercitation eu in officia lorem commodo pariatur pariatur nisi consectetur qui elit in aliquip et ullamco duis nostrud aute laborum laborum est dolor non qui amet deserunt ex et aliquip.\n\nProident consectetur eu amet minim labore anim ad non aute duis eiusmod sit ad elit magna do aliquip aliqua laborum dolor laboris ea irure duis mollit fugiat tempor eu est.' - } + answer : 'Exercitation eu in officia lorem commodo pariatur pariatur nisi consectetur qui elit in aliquip et ullamco duis nostrud aute laborum laborum est dolor non qui amet deserunt ex et aliquip.\n\nProident consectetur eu amet minim labore anim ad non aute duis eiusmod sit ad elit magna do aliquip aliqua laborum dolor laboris ea irure duis mollit fugiat tempor eu est.', + }, ]; export const guideCategories = [ { id : '0ee72de7-49c0-4880-9e89-b72a4edd6a81', slug : 'getting-started', - title: 'Getting Started' + title: 'Getting Started', }, { id : '07b8421f-20bf-45b6-90ee-169ebe3a5bcc', slug : 'projects', - title: 'Projects' + title: 'Projects', }, { id : 'c88a1f54-360a-4b9b-a54b-2f92b7a1f63b', slug : 'settings', - title: 'Settings' + title: 'Settings', }, { id : '7b25b38c-1ab3-4474-8569-65b3ea232add', slug : 'payments', - title: 'Payments' + title: 'Payments', }, { id : '41fdf071-aec4-49de-9dd4-b4f746596928', slug : 'your-account', - title: 'Your Account' - } + title: 'Your Account', + }, ]; export const guides = [ // Getting started @@ -241,28 +241,28 @@ export const guides = [ categoryId: '0ee72de7-49c0-4880-9e89-b72a4edd6a81', slug : 'what-is-this-app', title : 'What is this app?', - subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt' + subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt', }, { id : '7643d388-12ab-4025-a2f1-5045ac7b1c4c', categoryId: '0ee72de7-49c0-4880-9e89-b72a4edd6a81', slug : 'start-using-the-app', title : 'Start using the app', - subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt' + subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt', }, { id : '1fecee67-c4b4-413a-b0f2-949dcab73249', categoryId: '0ee72de7-49c0-4880-9e89-b72a4edd6a81', slug : 'signing-in-to-the-dashboard', title : 'Signing in to the dashboard', - subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt' + subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt', }, { id : 'd2e2ea8f-5298-4ba2-898b-afc60c064bba', categoryId: '0ee72de7-49c0-4880-9e89-b72a4edd6a81', slug : 'navigating-within-the-app', title : 'Navigating within the app', - subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt' + subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt', }, // Projects { @@ -270,56 +270,56 @@ export const guides = [ categoryId: '07b8421f-20bf-45b6-90ee-169ebe3a5bcc', slug : 'creating-a-project', title : 'Creating a project', - subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt' + subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt', }, { id : '9ec3f4b9-a355-4f57-9e93-efa8611cc1c9', categoryId: '07b8421f-20bf-45b6-90ee-169ebe3a5bcc', slug : 'renaming-a-project', title : 'Renaming a project', - subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt' + subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt', }, { id : '1bc6e7f9-b046-4f4f-9b18-741c9d5429f6', categoryId: '07b8421f-20bf-45b6-90ee-169ebe3a5bcc', slug : 'displaying-a-project', title : 'Displaying a project', - subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt' + subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt', }, { id : 'a005d5f1-938d-45c5-8ed4-d0cf8d02e533', categoryId: '07b8421f-20bf-45b6-90ee-169ebe3a5bcc', slug : 'deleting-a-project', title : 'Deleting a project', - subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt' + subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt', }, { id : '43837279-dce2-4dc0-beac-30b5ba829f14', categoryId: '07b8421f-20bf-45b6-90ee-169ebe3a5bcc', slug : 'changing-the-visibility-of-a-project', title : 'Changing the visibility of a project', - subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt' + subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt', }, { id : '4cf5a435-eaa0-463c-8d2b-efde193c7fb3', categoryId: '07b8421f-20bf-45b6-90ee-169ebe3a5bcc', slug : 'adding-media-to-a-project', title : 'Adding media to a project', - subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt' + subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt', }, { id : 'cd3fb87e-e138-4721-9e29-a5c751bfd949', categoryId: '07b8421f-20bf-45b6-90ee-169ebe3a5bcc', slug : 'removing-a-media-from-a-project', title : 'Removing a media from a project', - subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt' + subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt', }, { id : 'f26205c6-882e-4713-b067-c73758b45551', categoryId: '07b8421f-20bf-45b6-90ee-169ebe3a5bcc', slug : 'cropping-a-media', title : 'Cropping a media', - subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt' + subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt', }, // Settings { @@ -327,35 +327,35 @@ export const guides = [ categoryId: 'c88a1f54-360a-4b9b-a54b-2f92b7a1f63b', slug : 'general-settings', title : 'General settings', - subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt' + subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt', }, { id : '98de7d4a-2ca2-4d47-bbe6-083ed26467db', categoryId: 'c88a1f54-360a-4b9b-a54b-2f92b7a1f63b', slug : 'project-settings', title : 'Project settings', - subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt' + subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt', }, { id : '145f497c-1fdb-47b5-a6c1-31f856403571', categoryId: 'c88a1f54-360a-4b9b-a54b-2f92b7a1f63b', slug : 'media-settings', title : 'Media settings', - subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt' + subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt', }, { id : '0a007f59-a5ea-4875-991d-f22d6fd69898', categoryId: 'c88a1f54-360a-4b9b-a54b-2f92b7a1f63b', slug : 'domain-settings', title : 'Domain settings', - subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt' + subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt', }, { id : '4707c8eb-31f9-415c-bd07-86f226c75feb', categoryId: 'c88a1f54-360a-4b9b-a54b-2f92b7a1f63b', slug : 'privacy-settings', title : 'Privacy settings', - subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt' + subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt', }, // Payments { @@ -363,28 +363,28 @@ export const guides = [ categoryId: '7b25b38c-1ab3-4474-8569-65b3ea232add', slug : 'subscriptions', title : 'Subscriptions', - subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt' + subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt', }, { id : '3d7150d2-feb3-4f20-bd3f-8e525cef77a4', categoryId: '7b25b38c-1ab3-4474-8569-65b3ea232add', slug : 'discounts', title : 'Discounts', - subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt' + subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt', }, { id : '79239bc4-4fb5-428b-b30d-62c5289b061d', categoryId: '7b25b38c-1ab3-4474-8569-65b3ea232add', slug : 'payment-methods', title : 'Payment methods', - subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt' + subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt', }, { id : '8d68c5e6-5404-450c-9d5f-d9800c164041', categoryId: '7b25b38c-1ab3-4474-8569-65b3ea232add', slug : 'overdue-payments', title : 'Overdue payments', - subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt' + subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt', }, // Your account { @@ -392,43 +392,43 @@ export const guides = [ categoryId: '41fdf071-aec4-49de-9dd4-b4f746596928', slug : 'changing-your-username', title : 'Changing your username', - subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt' + subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt', }, { id : '0a9c3321-1db3-42bc-92b6-7e257368123e', categoryId: '41fdf071-aec4-49de-9dd4-b4f746596928', slug : 'changing-your-email', title : 'Changing your email', - subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt' + subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt', }, { id : '80ba5106-5f9c-4ed7-b8f3-8544035e3095', categoryId: '41fdf071-aec4-49de-9dd4-b4f746596928', slug : 'changing-your-password', title : 'Changing your password', - subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt' + subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt', }, { id : 'db2e97a6-d657-4e9d-9b6c-5f213ea3301c', categoryId: '41fdf071-aec4-49de-9dd4-b4f746596928', slug : 'closing-your-account', title : 'Closing your account', - subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt' + subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt', }, { id : '3374c887-2fb7-4223-9f40-7f2cbbf76795', categoryId: '41fdf071-aec4-49de-9dd4-b4f746596928', slug : 'account-limits', title : 'Account limits', - subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt' + subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt', }, { id : 'cc65f92a-7d46-4557-b15b-6f8f59a60576', categoryId: '41fdf071-aec4-49de-9dd4-b4f746596928', slug : 'two-factor-authentication', title : 'Two factor authentication', - subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt' - } + subtitle : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt', + }, ]; // Since we only have one content for the demo, we will diff --git a/src/app/mock-api/apps/mailbox/api.ts b/src/app/mock-api/apps/mailbox/api.ts index 3e7e1eec..3f43d86f 100644 --- a/src/app/mock-api/apps/mailbox/api.ts +++ b/src/app/mock-api/apps/mailbox/api.ts @@ -1,10 +1,10 @@ import { Injectable } from '@angular/core'; -import { assign, cloneDeep } from 'lodash-es'; import { FuseMockApiService, FuseMockApiUtils } from '@fuse/lib/mock-api'; import { filters as filtersData, folders as foldersData, labels as labelsData, mails as mailsData, settings as settingsData } from 'app/mock-api/apps/mailbox/data'; +import { assign, cloneDeep } from 'lodash-es'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class MailboxMockApi { @@ -44,7 +44,8 @@ export class MailboxMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPatch('api/apps/mailbox/settings') - .reply(({request}) => { + .reply(({request}) => + { // Get the settings const settings = cloneDeep(request.body.settings); @@ -61,12 +62,14 @@ export class MailboxMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onGet('api/apps/mailbox/folders') - .reply(() => { + .reply(() => + { let count = 0; // Iterate through the folders - this._folders.forEach((folder) => { + this._folders.forEach((folder) => + { // Get the mails of this folder const mails = this._mails.filter(mail => mail.folder === folder.id); @@ -87,7 +90,8 @@ export class MailboxMockApi else { // Go through the mails and count the unread ones - mails.forEach((mail) => { + mails.forEach((mail) => + { if ( mail.unread ) { @@ -126,7 +130,8 @@ export class MailboxMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPost('api/apps/mailbox/label') - .reply(({request}) => { + .reply(({request}) => + { // Get the label const label = cloneDeep(request.body.label); @@ -136,9 +141,9 @@ export class MailboxMockApi // Generate a slug label.slug = label.title.toLowerCase() - .replace(/ /g, '-') - .replace(/[-]+/g, '-') - .replace(/[^\w-]+/g, ''); + .replace(/ /g, '-') + .replace(/[-]+/g, '-') + .replace(/[^\w-]+/g, ''); // Check if the slug is being used and update it if necessary const originalSlug = label.slug; @@ -170,7 +175,8 @@ export class MailboxMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPatch('api/apps/mailbox/label') - .reply(({request}) => { + .reply(({request}) => + { // Get the id and label const id = request.body.id; @@ -180,15 +186,16 @@ export class MailboxMockApi let updatedLabel = null; // Find the label and update it - this._labels.forEach((item, index, labels) => { + this._labels.forEach((item, index, labels) => + { if ( item.id === id ) { // Update the slug label.slug = label.title.toLowerCase() - .replace(/ /g, '-') - .replace(/[-]+/g, '-') - .replace(/[^\w-]+/g, ''); + .replace(/ /g, '-') + .replace(/[-]+/g, '-') + .replace(/[^\w-]+/g, ''); // Update the label labels[index] = assign({}, labels[index], label); @@ -207,7 +214,8 @@ export class MailboxMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onDelete('api/apps/mailbox/label') - .reply(({request}) => { + .reply(({request}) => + { // Get the id const id = request.params.get('id'); @@ -220,7 +228,8 @@ export class MailboxMockApi const mailsWithLabel = this._mails.filter(mail => mail.labels.indexOf(id) > -1); // Iterate through them and remove the label - mailsWithLabel.forEach((mail) => { + mailsWithLabel.forEach((mail) => + { mail.labels.splice(mail.labels.indexOf(id), 1); }); @@ -233,7 +242,8 @@ export class MailboxMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onGet('api/apps/mailbox/mails', 625) - .reply(({request}) => { + .reply(({request}) => + { // First, decide if mails are requested by folder, filter or label const byFolder = request.params.get('folder'); @@ -244,7 +254,8 @@ export class MailboxMockApi let mails: any[] | null = cloneDeep(this._mails); // Filter the mails depending on the requested by type - mails = mails.filter((mail) => { + mails = mails.filter((mail) => + { if ( byFolder ) { @@ -266,7 +277,8 @@ export class MailboxMockApi mails.sort((a, b) => new Date(b.date).getTime() - new Date(a.date).getTime()); // Figure out the cc and bcc counts - mails.forEach((mail) => { + mails.forEach((mail) => + { mail.ccCount = mail.cc ? mail.cc.length : 0; mail.bccCount = mail.bcc ? mail.bcc.length : 0; }); @@ -294,7 +306,7 @@ export class MailboxMockApi { mails = null; pagination = { - lastPage + lastPage, }; } else @@ -309,7 +321,7 @@ export class MailboxMockApi currentPage : page, lastPage : lastPage, startIndex : begin, - endIndex : end - 1 + endIndex : end - 1, }; } @@ -318,8 +330,8 @@ export class MailboxMockApi 200, { mails, - pagination - } + pagination, + }, ]; }); @@ -328,7 +340,8 @@ export class MailboxMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onGet('api/apps/mailbox/mail') - .reply(({request}) => { + .reply(({request}) => + { // Get the id from the params const id = request.params.get('id'); @@ -341,7 +354,7 @@ export class MailboxMockApi return [ 200, - mail + mail, ]; }); @@ -350,7 +363,8 @@ export class MailboxMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPatch('api/apps/mailbox/mail') - .reply(({request}) => { + .reply(({request}) => + { // Get the id and mail const id = request.body.id; @@ -360,7 +374,8 @@ export class MailboxMockApi let updatedMail = null; // Find the mail and update it - this._mails.forEach((item, index, mails) => { + this._mails.forEach((item, index, mails) => + { if ( item.id === id ) { diff --git a/src/app/mock-api/apps/mailbox/data.ts b/src/app/mock-api/apps/mailbox/data.ts index af58421a..e1699e5f 100644 --- a/src/app/mock-api/apps/mailbox/data.ts +++ b/src/app/mock-api/apps/mailbox/data.ts @@ -9,87 +9,87 @@ export const folders = [ id : '7c004a19-4506-48ef-93ab-f16381302e3b', title: 'Inbox', slug : 'inbox', - icon : 'heroicons_outline:inbox' + icon : 'heroicons_outline:inbox', }, { id : '1ee2ea29-9a1f-4c27-b4d2-5e465703b6a0', title: 'Sent', slug : 'sent', - icon : 'heroicons_outline:paper-airplane' + icon : 'heroicons_outline:paper-airplane', }, { id : 'fbdc8e79-a0c4-4a27-bc98-9c81ee7a86e5', title: 'Drafts', slug : 'drafts', - icon : 'heroicons_outline:document' + icon : 'heroicons_outline:document', }, { id : '0197c436-2ef3-424d-b546-8b7f49186e15', title: 'Spam', slug : 'spam', - icon : 'heroicons_outline:exclamation' + icon : 'heroicons_outline:exclamation', }, { id : '2fa74637-d362-4fd2-9a88-f7195a88bdde', title: 'Trash', slug : 'trash', - icon : 'heroicons_outline:trash' - } + icon : 'heroicons_outline:trash', + }, ]; export const filters = [ { id : 'de1b41f6-6839-4f1b-9d2c-07e55f6f8f82', title: 'Starred', slug : 'starred', - icon : 'heroicons_outline:star' + icon : 'heroicons_outline:star', }, { id : '71bba1ec-a90e-4a71-9932-4bab0a99aa1c', title: 'Important', slug : 'important', - icon : 'heroicons_outline:exclamation-circle' - } + icon : 'heroicons_outline:exclamation-circle', + }, ]; export const labels = [ { id : 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', title: 'Personal', slug : 'personal', - color: 'blue' + color: 'blue', }, { id : '745cf30e-ca84-47a1-a553-b70eb630d8e7', title: 'Work', slug : 'work', - color: 'indigo' + color: 'indigo', }, { id : '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', title: 'Payments', slug : 'payments', - color: 'red' + color: 'red', }, { id : 'b2d1e4e7-7cfd-4b51-ae59-217a093df754', title: 'Invoices', slug : 'invoices', - color: 'teal' + color: 'teal', }, { id : '184cd689-4ee4-47cf-9f8a-12233d614326', title: 'Accounts', slug : 'accounts', - color: 'purple' + color: 'purple', }, { id : 'b67fc437-6118-4ec8-a3c7-9320b828e3fc', title: 'Forums', slug : 'forums', - color: 'green' - } + color: 'green', + }, ]; export const settings = { - messageLayout: 'right' + messageLayout: 'right', }; export const mails = [ { @@ -97,16 +97,19 @@ export const mails = [ type : 'mail', from : { avatar : 'assets/images/avatars/female-01.jpg', - contact: 'Myra Dudley ' + contact: 'Myra Dudley ', }, to : 'me ', cc : [ - 'Graham Belltower ' + 'Graham Belltower ', ], bcc : [ - 'Julie T. ' + 'Julie T. ', ], - date : now.set({hour: 20, minute: 13}).toISO(), // Today - 20:13 + date : now.set({ + hour : 20, + minute: 13, + }).toISO(), // Today - 20:13 subject : 'Please review and sign the attached agreement', content : 'Hi Brian,\n\nUllamco deserunt commodo esse deserunt deserunt quis eiusmod. Laborum sint excepteur non sit eiusmod sunt voluptate ipsum nisi ullamco magna. Lorem consectetur est dolor minim exercitation deserunt quis duis fugiat ipsum incididunt non. Anim aute ipsum cupidatat nisi occaecat quis sit nisi labore labore dolore do. Pariatur veniam culpa quis veniam nisi exercitation veniam ut. Quis do sint proident fugiat ad.\n\nNon id nisi commodo veniam. Veniam veniam minim ea laborum voluptate id duis deserunt. Anim ut ut amet et ullamco nulla fugiat id incididunt adipisicing excepteur amet. Ex amet eu cillum non fugiat velit dolore. Incididunt duis est eu et ex sunt consectetur cillum nisi aute proident.\n\nIncididunt excepteur laborum quis sit. Ex quis officia incididunt proident aliqua adipisicing. Irure ad in Lorem laborum deserunt nulla consequat. Pariatur excepteur exercitation cupidatat aute.\n\nCheers!\nMyra Dudley', attachments: [ @@ -115,22 +118,22 @@ export const mails = [ name : 'mystery-forest.jpg', size : 15539, preview : 'mystery-forest_preview.jpg', - downloadUrl: '' + downloadUrl: '', }, { type : 'application/pdf', name : 'montly-invoice.pdf', size : 243449, preview : 'pdf', - downloadUrl: '' + downloadUrl: '', }, { type : 'image/jpeg', name : 'birds-eye-sydney.jpg', size : 14294, preview : 'birds-eye-sydney_preview.jpg', - downloadUrl: '' - } + downloadUrl: '', + }, ], starred : true, important : true, @@ -139,18 +142,21 @@ export const mails = [ labels : [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', '745cf30e-ca84-47a1-a553-b70eb630d8e7', - '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3' - ] + '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', + ], }, { id : 'c531bc01-8a9e-481b-adf8-95303a6938c5', type : 'mail', from : { avatar : 'assets/images/avatars/male-01.jpg', - contact: 'Shaw Murray ' + contact: 'Shaw Murray ', }, to : 'me ', - date : now.set({hour: 18, minute: 56}).toISO(), // Today - 18:56 + date : now.set({ + hour : 18, + minute: 56, + }).toISO(), // Today - 18:56 subject : 'Delivery address confirmation', content : 'Dear Brian,\n\nDolore consectetur est cupidatat ipsum reprehenderit anim quis veniam anim ipsum incididunt exercitation. Velit exercitation culpa eiusmod dolore labore irure. Duis esse quis elit pariatur labore occaecat esse voluptate dolore deserunt cillum irure. Aute qui nulla est exercitation qui sunt anim aliquip. Ex ad est velit laboris exercitation ea ut pariatur. Amet reprehenderit ut est id sunt commodo anim et est voluptate et.\n\nMagna aliqua incididunt non ut voluptate nulla aliqua exercitation elit consectetur cupidatat. Proident in reprehenderit occaecat laborum non eu amet id aliqua nulla dolore. Eiusmod quis adipisicing quis cupidatat labore.\n\nReprehenderit nulla ullamco est dolore ex irure sunt nostrud reprehenderit quis dolor. Tempor nostrud elit elit aute ut ut eiusmod laboris excepteur consequat ex. Velit id ex ullamco in. Ea elit Lorem Lorem aliquip amet consequat irure nisi qui cillum incididunt. Commodo aute Lorem eiusmod veniam consectetur aute eu dolore. Ea magna incididunt laboris quis quis et tempor dolore dolore ut nisi.\n\nBest Regards,\nShaw Murray', attachments: [], @@ -159,21 +165,24 @@ export const mails = [ unread : true, folder : '7c004a19-4506-48ef-93ab-f16381302e3b', labels : [ - 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e' - ] + 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', + ], }, { id : 'ebc80fc3-6c56-4cae-a45a-771b15ced076', type : 'mail', from : { avatar : 'assets/images/avatars/male-02.jpg', - contact: 'Sanders Beck ' + contact: 'Sanders Beck ', }, to : 'me ', cc : [ - 'Graham Belltower ' + 'Graham Belltower ', ], - date : now.set({hour: 14, minute: 35}).toISO(), // Today - 14:35 + date : now.set({ + hour : 14, + minute: 35, + }).toISO(), // Today - 14:35 subject : 'Insurance documents', content : 'Hi Brian,\n\nAliquip ipsum sunt sit sunt velit velit pariatur. Nisi incididunt eiusmod consequat ut cillum eu exercitation. Enim proident nostrud aute in. Non irure nisi duis aliquip commodo proident veniam adipisicing id velit. Enim magna Lorem fugiat tempor.\n\nCommodo non nulla incididunt irure voluptate. Fugiat culpa cillum aute quis. Voluptate veniam adipisicing dolor sint. Proident eiusmod quis duis ipsum sit eu.\n\nDeserunt reprehenderit adipisicing reprehenderit ipsum. Laborum in veniam amet occaecat tempor esse enim dolore elit sit quis adipisicing. Aute occaecat eiusmod enim cupidatat sunt.\n\nBest Regards,\nSanders Beck', attachments: [], @@ -181,17 +190,20 @@ export const mails = [ important : false, unread : false, folder : '7c004a19-4506-48ef-93ab-f16381302e3b', - labels : [] + labels : [], }, { id : '981c5ffb-7c88-47a8-b60f-f16150eeae9d', type : 'mail', from : { avatar : 'assets/images/avatars/male-03.jpg', - contact: 'Zimmerman Gould ' + contact: 'Zimmerman Gould ', }, to : 'me ', - date : now.minus({day: 1}).set({hour: 22, minute: 26}).toISO(), // Yesterday - 22:26 + date : now.minus({day: 1}).set({ + hour : 22, + minute: 26, + }).toISO(), // Yesterday - 22:26 subject : 'Previous clients and their invoices', content : 'Dear Brian,\n\nDo aute eu dolore officia laborum id anim fugiat incididunt nulla esse proident. Veniam veniam nostrud ut nisi magna ipsum ea eiusmod esse velit id aliqua nisi irure. Amet laborum fugiat deserunt est. Quis amet veniam anim nostrud irure cillum voluptate consequat qui cupidatat minim occaecat elit enim. Ut ut incididunt cillum sit sit irure culpa. Culpa exercitation minim velit eu. Ipsum exercitation excepteur et ad do sit.\n\nVeniam cupidatat officia aliqua ad excepteur cillum laboris deserunt esse laboris adipisicing reprehenderit. Reprehenderit anim consectetur pariatur labore do in irure. Ad consequat commodo non pariatur occaecat. Eiusmod cillum non anim consequat culpa nisi. Est nulla ut sint qui deserunt anim. Excepteur qui occaecat dolore nulla occaecat cupidatat aute sit laborum magna.\n\nConsequat aliqua commodo officia excepteur. Ex consectetur elit dolor exercitation ullamco amet laboris. Deserunt nulla non proident est pariatur reprehenderit reprehenderit. Ea nisi id aliqua cillum velit tempor ipsum dolor proident cillum eiusmod et ipsum anim. Elit non quis mollit enim Lorem cupidatat et labore. Laboris cillum reprehenderit aute veniam aliqua esse officia proident deserunt. Eiusmod laboris ullamco amet consectetur amet.\n\nKind Regards,\nZimmerman Gould', attachments: [], @@ -199,20 +211,23 @@ export const mails = [ important : false, unread : true, folder : '7c004a19-4506-48ef-93ab-f16381302e3b', - labels : [] + labels : [], }, { id : 'a8d0645d-ac30-4f1a-a163-06e949120289', type : 'mail', from : { avatar : 'assets/images/avatars/female-02.jpg', - contact: 'Karina Alford ' + contact: 'Karina Alford ', }, to : 'me ', cc : [ - 'Graham Belltower ' + 'Graham Belltower ', ], - date : now.minus({day: 1}).set({hour: 20, minute: 5}).toISO(), // Yesterday - 20:05 + date : now.minus({day: 1}).set({ + hour : 20, + minute: 5, + }).toISO(), // Yesterday - 20:05 subject : 'Quote for a new web design project', content : 'Hey Brian,\n\nNisi officia aliqua ex non cupidatat sint ullamco. Irure pariatur ullamco consequat ut eu anim. Ut ad elit pariatur est non sunt. Tempor dolore quis commodo dolore duis officia laboris nostrud sint. Exercitation ullamco laboris eiusmod culpa ut.\n\nAute Lorem aute occaecat dolore tempor ipsum proident fugiat deserunt non incididunt velit nulla. Dolor pariatur tempor amet qui eu exercitation. Tempor minim culpa proident nisi esse ea. Enim est fugiat aliqua aliqua aute velit laborum cupidatat irure nisi dolor deserunt aliqua.\n\nFugiat ut dolor tempor sunt aliquip dolor nostrud. Consequat incididunt ullamco cillum dolore excepteur deserunt est dolor aliquip irure do mollit officia. Consectetur cillum et non minim nisi. Esse quis sunt deserunt elit sint velit tempor et ullamco laboris officia excepteur. Veniam ad ut aliqua sunt consequat reprehenderit nostrud non in duis aute quis pariatur. Occaecat mollit anim non pariatur. Ad do ad id fugiat et culpa laborum esse cupidatat voluptate elit ut magna voluptate.\n\nBest Regards,\nKarina Alford', attachments: [], @@ -220,20 +235,23 @@ export const mails = [ important : true, unread : true, folder : '7c004a19-4506-48ef-93ab-f16381302e3b', - labels : [] + labels : [], }, { id : 'fd117ed9-1285-4aca-8c1c-5c96e732c558', type : 'mail', from : { avatar : 'assets/images/avatars/female-03.jpg', - contact: 'Carla Gray ' + contact: 'Carla Gray ', }, to : 'me ', cc : [ - 'Graham Belltower ' + 'Graham Belltower ', ], - date : now.minus({day: 1}).set({hour: 16, minute: 43}).toISO(), // Yesterday - 16:43 + date : now.minus({day: 1}).set({ + hour : 16, + minute: 43, + }).toISO(), // Yesterday - 16:43 subject : 'Nulla culpa consectetur aute ex eu irure incididunt aliqua cupidatat sit cillum fugiat anim ea', content : 'Hey Brian,\n\nDo pariatur occaecat tempor duis. Aute occaecat non consequat ut occaecat sint. Cillum reprehenderit elit nisi incididunt in labore pariatur. Labore mollit pariatur nulla officia esse anim exercitation nisi commodo culpa laborum amet nisi.\n\nSunt culpa mollit nostrud excepteur adipisicing sit do. Cillum voluptate amet do sit quis aliquip ea est qui elit. Veniam exercitation sit reprehenderit labore officia in labore excepteur eiusmod exercitation.\n\nEnim nostrud est non esse reprehenderit in ea eiusmod. Duis incididunt amet aliquip dolor esse. Nostrud qui commodo in non nostrud proident enim cupidatat. Aute sunt aliqua excepteur qui occaecat nulla incididunt commodo adipisicing ipsum.\n\nKind Regards,\nCarla Gray', attachments: [], @@ -241,21 +259,24 @@ export const mails = [ important : false, unread : false, folder : '7c004a19-4506-48ef-93ab-f16381302e3b', - labels : [] + labels : [], }, { id : 'a307d83b-d256-4af5-948a-148878a7eaad', type : 'mail', from : { avatar : 'assets/images/avatars/male-04.jpg', - contact: 'Rice Cash ' + contact: 'Rice Cash ', }, to : 'me ', cc : [ 'Graham Belltower ', - 'Julie T. ' + 'Julie T. ', ], - date : now.minus({day: 2}).set({hour: 11, minute: 28}).toISO(), // 2 days ago - 11:28 + date : now.minus({day: 2}).set({ + hour : 11, + minute: 28, + }).toISO(), // 2 days ago - 11:28 subject : 'Ipsum laborum minim aute labore in', content : 'Dear Brian,\n\nLaboris non ad et aute sint aliquip mollit voluptate velit dolore magna fugiat ex. Voluptate amet aute deserunt tempor non laboris cillum. Voluptate veniam magna sint magna proident exercitation adipisicing aute id ad tempor reprehenderit magna ullamco. Laborum Lorem anim elit aliquip ut aute minim fugiat aliquip. Eiusmod est et occaecat dolore anim laborum ullamco ipsum commodo.\n\nCommodo amet veniam nostrud mollit quis sint qui nulla elit esse excepteur ullamco esse magna. Nisi duis aute est in mollit irure enim tempor in. Mollit ipsum laboris et velit ex excepteur pariatur. Cillum veniam id ipsum magna. Laborum duis aliquip ut ipsum ad aliqua id sit pariatur consequat sit. Sit nulla nulla ullamco nulla eiusmod et in dolore sint reprehenderit cupidatat.\n\nIpsum mollit cupidatat magna occaecat labore est fugiat est fugiat fugiat nulla labore laboris. Eiusmod aute adipisicing pariatur aliquip sint enim anim in dolore enim aute culpa nulla. Minim magna enim officia ipsum elit quis do velit deserunt Lorem veniam excepteur.\n\nKind Regards,\nRice Cash', attachments: [ @@ -264,41 +285,44 @@ export const mails = [ name : 'lake-of-carezza.png', size : 13071, preview : 'lake-of-carrezza_preview.png', - downloadUrl: '' + downloadUrl: '', }, { type : 'image/jpeg', name : 'birds-eye-sydney.jpg', size : 14294, preview : 'birds-eye-sydney_preview.jpg', - downloadUrl: '' + downloadUrl: '', }, { type : 'image/png', name : 'yosemite-national-park.png', size : 14242, preview : 'yosemite-national-park_preview.png', - downloadUrl: '' - } + downloadUrl: '', + }, ], starred : true, important : true, unread : true, folder : '7c004a19-4506-48ef-93ab-f16381302e3b', - labels : [] + labels : [], }, { id : '67664fa3-3a87-4ab8-8c2c-dfd2b1de4c14', type : 'mail', from : { avatar : 'assets/images/avatars/female-04.jpg', - contact: 'Elaine Ortiz ' + contact: 'Elaine Ortiz ', }, to : 'me ', cc : [ - 'Graham Belltower ' + 'Graham Belltower ', ], - date : now.minus({day: 2}).set({hour: 7, minute: 12}).toISO(), // 2 days ago - 07:12 + date : now.minus({day: 2}).set({ + hour : 7, + minute: 12, + }).toISO(), // 2 days ago - 07:12 subject : 'Ipsum fugiat ad deserunt cillum sunt fugiat', content : 'Hello Brian,\n\nId Lorem laborum eiusmod eiusmod mollit magna dolore. Et commodo officia fugiat dolor aliqua proident mollit ut commodo ullamco. Sunt nulla eu dolor velit velit reprehenderit. Culpa esse veniam fugiat eiusmod id veniam sunt reprehenderit minim mollit. Esse qui ea irure pariatur eu ullamco pariatur ipsum reprehenderit proident mollit proident. Nisi fugiat ut est aliquip nulla in non dolore.\n\nCulpa irure cillum ex fugiat cupidatat eiusmod non. Qui irure velit consectetur minim eu excepteur eiusmod veniam irure ad culpa nisi. Nisi sit nostrud quis ullamco aliquip non consequat sunt reprehenderit velit dolor dolor laboris. Dolore in Lorem consectetur nostrud. Laborum cupidatat exercitation voluptate duis amet. Sunt sint minim do in commodo ipsum commodo ea qui velit deserunt qui anim fugiat.\n\nExercitation et qui consequat incididunt nisi incididunt cupidatat officia in. Sit eiusmod anim aliqua elit. Nisi mollit ut non pariatur enim fugiat sint labore velit nostrud eu. Eiusmod id laboris laboris duis enim aute ipsum in magna. Sit eiusmod amet duis commodo sint et anim ex sunt deserunt dolor incididunt. Eiusmod duis dolore dolor elit occaecat do adipisicing ullamco ex laboris aliqua adipisicing. Labore pariatur aute proident mollit elit commodo labore minim dolore non in cillum.\n\nCheers!\nElaine Ortiz', attachments: [], @@ -310,21 +334,24 @@ export const mails = [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', '745cf30e-ca84-47a1-a553-b70eb630d8e7', '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', - 'b2d1e4e7-7cfd-4b51-ae59-217a093df754' - ] + 'b2d1e4e7-7cfd-4b51-ae59-217a093df754', + ], }, { id : 'd5913a7e-25f8-4163-bbf0-81d034163ce7', type : 'mail', from : { avatar : 'assets/images/avatars/male-05.jpg', - contact: 'Fleming Stone ' + contact: 'Fleming Stone ', }, to : 'me ', cc : [ - 'Graham Belltower ' + 'Graham Belltower ', ], - date : now.minus({day: 2}).set({hour: 6, minute: 1}).toISO(), // 2 days ago - 06:01 + date : now.minus({day: 2}).set({ + hour : 6, + minute: 1, + }).toISO(), // 2 days ago - 06:01 subject : 'Deserunt exercitation ut nulla elit Lorem', content : 'Hi Brian,\n\nEst labore sunt sunt Lorem dolore. In excepteur esse proident ut consectetur dolor voluptate laborum veniam pariatur. Excepteur ut veniam sit culpa exercitation qui nulla nulla magna ea in dolore et consequat. Irure minim ad cupidatat amet reprehenderit excepteur incididunt nulla eu et excepteur anim et aliqua.\n\nSint sint Lorem magna est irure sint ea cupidatat fugiat. Occaecat non adipisicing magna magna culpa sit commodo aute ex consequat amet minim esse ut. In nulla eiusmod veniam deserunt in.\n\nIn aute excepteur qui pariatur fugiat. Occaecat velit voluptate proident occaecat ut laboris occaecat pariatur aute dolore do. Ut commodo ipsum est non commodo ut ea qui labore veniam. Occaecat nostrud eu dolor tempor velit excepteur sint occaecat excepteur aliqua aliquip. Magna mollit ea aliquip exercitation do elit ex reprehenderit esse aliqua elit.\n\nKind Regards,\nFleming Stone', attachments: [], @@ -335,18 +362,21 @@ export const mails = [ labels : [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', '745cf30e-ca84-47a1-a553-b70eb630d8e7', - '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3' - ] + '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', + ], }, { id : 'b099a8e2-ffcc-4ae1-866d-8f8f6bd95ab3', type : 'mail', from : { avatar : 'assets/images/avatars/male-06.jpg', - contact: 'England Wiley ' + contact: 'England Wiley ', }, to : 'me ', - date : now.minus({day: 5}).set({hour: 15, minute: 36}).toISO(), // 5 days ago - 15:36 + date : now.minus({day: 5}).set({ + hour : 15, + minute: 36, + }).toISO(), // 5 days ago - 15:36 subject : 'Minim do reprehenderit dolor ipsum officia magna laborum est anim in fugiat', content : 'Dear Brian,\n\nAd do minim id ad ex sit reprehenderit labore do occaecat fugiat ut enim. Et sunt dolore sint non consequat ut. Esse deserunt nostrud pariatur nulla ullamco nulla sit aliquip culpa sunt ipsum. Ut ad minim qui anim amet aute cupidatat. Est ullamco duis laboris nulla labore incididunt consectetur. Cillum sunt mollit nulla laborum non tempor veniam consequat.\n\nAmet fugiat velit id deserunt pariatur velit laboris consectetur quis officia. Culpa nostrud deserunt nostrud esse labore esse consequat labore fugiat. Nostrud duis ex nulla et do.\n\nPariatur mollit ex adipisicing nostrud nostrud occaecat. Id tempor irure cupidatat duis cillum cupidatat nostrud enim anim. Esse nisi pariatur nisi elit elit sit quis ullamco dolor dolore pariatur est sint. Sint ex aliqua id sunt sunt magna amet ex sit anim. Irure aliquip fugiat ipsum tempor irure nisi Lorem anim sit ullamco. Exercitation nostrud mollit est non enim.\n\nBest Regards,\nEngland Wiley', attachments: [], @@ -357,15 +387,15 @@ export const mails = [ labels : [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', '745cf30e-ca84-47a1-a553-b70eb630d8e7', - '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3' - ] + '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', + ], }, { id : '7bd21940-3388-479c-b1bc-3ebceb0472d8', type : 'mail', from : { avatar : 'assets/images/avatars/male-07.jpg', - contact: 'Ingram Fowler ' + contact: 'Ingram Fowler ', }, to : 'me ', date : new Date('Sun Jan 07 2018 03:51:20 GMT+0000 (UTC)').toISOString(), @@ -376,14 +406,14 @@ export const mails = [ important : true, unread : true, folder : '7c004a19-4506-48ef-93ab-f16381302e3b', - labels : [] + labels : [], }, { id : '2d105bae-b4e5-4ba3-a40e-e9e2b5cc671a', type : 'mail', from : { avatar : 'assets/images/avatars/female-05.jpg', - contact: 'Diana Walsh ' + contact: 'Diana Walsh ', }, to : 'me ', date : new Date('Fri Jun 29 2018 07:37:52 GMT+0000 (UTC)').toISOString(), @@ -395,22 +425,22 @@ export const mails = [ name : 'yosemite-national-park.png', size : 14242, preview : 'yosemite-national-park_preview.png', - downloadUrl: '' + downloadUrl: '', }, { type : 'application/pdf', name : 'montly-invoice.pdf', size : 243449, preview : 'pdf', - downloadUrl: '' + downloadUrl: '', }, { type : 'image/jpeg', name : 'mystery-forest.jpg', size : 15539, preview : 'mystery-forest_preview.jpg', - downloadUrl: '' - } + downloadUrl: '', + }, ], starred : true, important : false, @@ -420,15 +450,15 @@ export const mails = [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', '745cf30e-ca84-47a1-a553-b70eb630d8e7', '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', - 'b2d1e4e7-7cfd-4b51-ae59-217a093df754' - ] + 'b2d1e4e7-7cfd-4b51-ae59-217a093df754', + ], }, { id : '4c3bd79a-6429-466d-b962-8eb09c524969', type : 'mail', from : { avatar : 'assets/images/avatars/male-08.jpg', - contact: 'Mckinney Marsh ' + contact: 'Mckinney Marsh ', }, to : 'me ', date : new Date('Wed Jun 20 2018 15:24:03 GMT+0000 (UTC)').toISOString(), @@ -444,19 +474,19 @@ export const mails = [ '745cf30e-ca84-47a1-a553-b70eb630d8e7', '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', 'b2d1e4e7-7cfd-4b51-ae59-217a093df754', - '184cd689-4ee4-47cf-9f8a-12233d614326' - ] + '184cd689-4ee4-47cf-9f8a-12233d614326', + ], }, { id : '770d24d1-1b9b-49ec-bcb4-f6feffc305ff', type : 'mail', from : { avatar : 'assets/images/avatars/male-09.jpg', - contact: 'Meyer Fuller ' + contact: 'Meyer Fuller ', }, to : 'me ', cc : [ - 'Graham Belltower ' + 'Graham Belltower ', ], date : new Date('Wed Jan 31 2018 08:17:08 GMT+0000 (UTC)').toISOString(), subject : 'Excepteur sunt ut ipsum ad culpa aliqua quis', @@ -471,19 +501,19 @@ export const mails = [ '745cf30e-ca84-47a1-a553-b70eb630d8e7', '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', 'b2d1e4e7-7cfd-4b51-ae59-217a093df754', - '184cd689-4ee4-47cf-9f8a-12233d614326' - ] + '184cd689-4ee4-47cf-9f8a-12233d614326', + ], }, { id : '3e2100de-ca0a-4a8e-a1c5-6c13172333dc', type : 'mail', from : { avatar : 'assets/images/avatars/female-06.jpg', - contact: 'Carolina Wade ' + contact: 'Carolina Wade ', }, to : 'me ', cc : [ - 'Graham Belltower ' + 'Graham Belltower ', ], date : new Date('Sat Mar 24 2018 17:50:27 GMT+0000 (UTC)').toISOString(), subject : 'In sunt pariatur sunt sint exercitation', @@ -496,15 +526,15 @@ export const mails = [ labels : [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', '745cf30e-ca84-47a1-a553-b70eb630d8e7', - '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3' - ] + '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', + ], }, { id : 'e1291d1a-fba6-4b23-b259-dd7c9074e976', type : 'mail', from : { avatar : 'assets/images/avatars/male-10.jpg', - contact: 'Graves Huber ' + contact: 'Graves Huber ', }, to : 'me ', date : new Date('Sun Mar 25 2018 02:46:44 GMT+0000 (UTC)').toISOString(), @@ -516,15 +546,15 @@ export const mails = [ unread : false, folder : '7c004a19-4506-48ef-93ab-f16381302e3b', labels : [ - 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e' - ] + 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', + ], }, { id : '7cba834c-3011-4897-be7d-ee43bbe69114', type : 'mail', from : { avatar : 'assets/images/avatars/male-11.jpg', - contact: 'Tucker Santiago ' + contact: 'Tucker Santiago ', }, to : 'me ', date : new Date('Mon Sep 17 2018 14:41:42 GMT+0000 (UTC)').toISOString(), @@ -540,20 +570,20 @@ export const mails = [ '745cf30e-ca84-47a1-a553-b70eb630d8e7', '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', 'b2d1e4e7-7cfd-4b51-ae59-217a093df754', - '184cd689-4ee4-47cf-9f8a-12233d614326' - ] + '184cd689-4ee4-47cf-9f8a-12233d614326', + ], }, { id : 'd0de071d-2d72-4e0f-b903-79ca6ade9dbd', type : 'mail', from : { avatar : 'assets/images/avatars/female-07.jpg', - contact: 'Becky Cain ' + contact: 'Becky Cain ', }, to : 'me ', cc : [ 'Graham Belltower ', - 'Julie T. ' + 'Julie T. ', ], date : new Date('Fri Nov 30 2018 09:14:15 GMT+0000 (UTC)').toISOString(), subject : 'Exercitation amet laborum officia nulla nulla adipisicing mollit culpa eiusmod irure deserunt voluptate laborum', @@ -564,42 +594,42 @@ export const mails = [ name : 'mystery-forest.jpg', size : 15539, preview : 'mystery-forest_preview.jpg', - downloadUrl: '' + downloadUrl: '', }, { type : 'image/png', name : 'lake-of-carezza.png', size : 13071, preview : 'lake-of-carrezza_preview.png', - downloadUrl: '' + downloadUrl: '', }, { type : 'image/png', name : 'yosemite-national-park.png', size : 14242, preview : 'yosemite-national-park_preview.png', - downloadUrl: '' - } + downloadUrl: '', + }, ], starred : false, important : false, unread : true, folder : '7c004a19-4506-48ef-93ab-f16381302e3b', labels : [ - 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e' - ] + 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', + ], }, { id : 'd39c93b9-10d3-426f-a205-0ee5b30cd983', type : 'mail', from : { avatar : 'assets/images/avatars/male-12.jpg', - contact: 'Miller Vazquez ' + contact: 'Miller Vazquez ', }, to : 'me ', cc : [ 'Graham Belltower ', - 'Julie T. ' + 'Julie T. ', ], date : new Date('Sun May 06 2018 19:35:14 GMT+0000 (UTC)').toISOString(), subject : 'Ullamco eu nulla labore occaecat', @@ -612,19 +642,19 @@ export const mails = [ labels : [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', '745cf30e-ca84-47a1-a553-b70eb630d8e7', - '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3' - ] + '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', + ], }, { id : '4e881b4f-bf47-472f-a1fe-f787a66d37dd', type : 'mail', from : { avatar : 'assets/images/avatars/male-13.jpg', - contact: 'Delgado Stevens ' + contact: 'Delgado Stevens ', }, to : 'me ', cc : [ - 'Graham Belltower ' + 'Graham Belltower ', ], date : new Date('Wed Jan 17 2018 09:56:25 GMT+0000 (UTC)').toISOString(), subject : 'Ut velit occaecat nostrud ullamco non excepteur velit ipsum ut', @@ -638,15 +668,15 @@ export const mails = [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', '745cf30e-ca84-47a1-a553-b70eb630d8e7', '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', - 'b2d1e4e7-7cfd-4b51-ae59-217a093df754' - ] + 'b2d1e4e7-7cfd-4b51-ae59-217a093df754', + ], }, { id : '5dad8b60-8d98-4215-88b8-41158e167686', type : 'mail', from : { avatar : 'assets/images/avatars/female-08.jpg', - contact: 'Concepcion Cleveland ' + contact: 'Concepcion Cleveland ', }, to : 'me ', date : new Date('Fri Aug 17 2018 04:41:26 GMT+0000 (UTC)').toISOString(), @@ -660,19 +690,19 @@ export const mails = [ labels : [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', '745cf30e-ca84-47a1-a553-b70eb630d8e7', - '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3' - ] + '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', + ], }, { id : 'eeccc250-8952-47e1-adff-31847289b4dd', type : 'mail', from : { avatar : 'assets/images/avatars/female-09.jpg', - contact: 'Robin Berger ' + contact: 'Robin Berger ', }, to : 'me ', cc : [ - 'Graham Belltower ' + 'Graham Belltower ', ], date : new Date('Thu Apr 26 2018 20:55:18 GMT+0000 (UTC)').toISOString(), subject : 'Reprehenderit ipsum aute cupidatat qui exercitation dolore voluptate labore veniam consequat quis', @@ -683,19 +713,19 @@ export const mails = [ unread : true, folder : '7c004a19-4506-48ef-93ab-f16381302e3b', labels : [ - 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e' - ] + 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', + ], }, { id : 'e8b006ad-e140-4fea-bb32-cc346e66eb93', type : 'mail', from : { avatar : 'assets/images/avatars/female-10.jpg', - contact: 'Lynnette Burton ' + contact: 'Lynnette Burton ', }, to : 'me ', cc : [ - 'Graham Belltower ' + 'Graham Belltower ', ], date : new Date('Fri Nov 02 2018 16:15:50 GMT+0000 (UTC)').toISOString(), subject : 'Consectetur deserunt qui ex occaecat dolore officia cillum magna magna adipisicing elit magna velit', @@ -705,18 +735,18 @@ export const mails = [ important : true, unread : false, folder : '7c004a19-4506-48ef-93ab-f16381302e3b', - labels : [] + labels : [], }, { id : 'c6fc1d86-4a1f-4071-9c75-618fe2d853aa', type : 'mail', from : { avatar : 'assets/images/avatars/female-11.jpg', - contact: 'Carmella Rios ' + contact: 'Carmella Rios ', }, to : 'me ', cc : [ - 'Graham Belltower ' + 'Graham Belltower ', ], date : new Date('Thu Jul 05 2018 14:26:57 GMT+0000 (UTC)').toISOString(), subject : 'Proident dolore minim deserunt commodo elit aute laborum ullamco laboris anim consequat', @@ -728,15 +758,15 @@ export const mails = [ folder : '7c004a19-4506-48ef-93ab-f16381302e3b', labels : [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', - '745cf30e-ca84-47a1-a553-b70eb630d8e7' - ] + '745cf30e-ca84-47a1-a553-b70eb630d8e7', + ], }, { id : 'c062a90f-52e9-4102-8def-1f8f9813deb4', type : 'mail', from : { avatar : 'assets/images/avatars/male-14.jpg', - contact: 'Molina Pace ' + contact: 'Molina Pace ', }, to : 'me ', date : new Date('Mon Sep 17 2018 21:45:31 GMT+0000 (UTC)').toISOString(), @@ -748,35 +778,35 @@ export const mails = [ name : 'birds-eye-sydney.jpg', size : 14294, preview : 'birds-eye-sydney_preview.jpg', - downloadUrl: '' + downloadUrl: '', }, { type : 'image/png', name : 'yosemite-national-park.png', size : 14242, preview : 'yosemite-national-park_preview.png', - downloadUrl: '' - } + downloadUrl: '', + }, ], starred : true, important : false, unread : true, folder : '7c004a19-4506-48ef-93ab-f16381302e3b', labels : [ - 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e' - ] + 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', + ], }, { id : '545d12a6-e0f3-464d-af45-618163933a71', type : 'mail', from : { avatar : 'assets/images/avatars/female-12.jpg', - contact: 'Olga Osborn ' + contact: 'Olga Osborn ', }, to : 'me ', cc : [ 'Graham Belltower ', - 'Julie T. ' + 'Julie T. ', ], date : new Date('Thu Sep 27 2018 13:45:14 GMT+0000 (UTC)').toISOString(), subject : 'Elit tempor enim nisi cillum cillum esse do magna exercitation minim', @@ -791,20 +821,20 @@ export const mails = [ '745cf30e-ca84-47a1-a553-b70eb630d8e7', '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', 'b2d1e4e7-7cfd-4b51-ae59-217a093df754', - '184cd689-4ee4-47cf-9f8a-12233d614326' - ] + '184cd689-4ee4-47cf-9f8a-12233d614326', + ], }, { id : '23456530-2cd4-4558-95d0-6311c2ee2ee8', type : 'mail', from : { avatar : 'assets/images/avatars/female-13.jpg', - contact: 'Brooke Petersen ' + contact: 'Brooke Petersen ', }, to : 'me ', cc : [ 'Graham Belltower ', - 'Julie T. ' + 'Julie T. ', ], date : new Date('Sun Jul 22 2018 14:49:16 GMT+0000 (UTC)').toISOString(), subject : 'Anim laboris aliquip excepteur consectetur eu enim sunt velit qui deserunt', @@ -817,19 +847,19 @@ export const mails = [ labels : [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', '745cf30e-ca84-47a1-a553-b70eb630d8e7', - '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3' - ] + '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', + ], }, { id : 'affeecf6-e3c5-4377-8070-96f5ed9c6500', type : 'mail', from : { avatar : 'assets/images/avatars/male-15.jpg', - contact: 'Estes Walter ' + contact: 'Estes Walter ', }, to : 'me ', cc : [ - 'Graham Belltower ' + 'Graham Belltower ', ], date : new Date('Tue Jul 17 2018 03:52:54 GMT+0000 (UTC)').toISOString(), subject : 'Reprehenderit ad do quis ut fugiat proident labore', @@ -840,15 +870,15 @@ export const mails = [ unread : false, folder : '7c004a19-4506-48ef-93ab-f16381302e3b', labels : [ - 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e' - ] + 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', + ], }, { id : 'cb00d05c-6660-4dbb-a794-f22cff93f001', type : 'mail', from : { avatar : 'assets/images/avatars/male-16.jpg', - contact: 'Holman Oconnor ' + contact: 'Holman Oconnor ', }, to : 'me ', date : new Date('Sat Jan 13 2018 22:30:44 GMT+0000 (UTC)').toISOString(), @@ -860,20 +890,20 @@ export const mails = [ unread : false, folder : '7c004a19-4506-48ef-93ab-f16381302e3b', labels : [ - 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e' - ] + 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', + ], }, { id : '7bd27a67-df7c-4a2d-8042-1fb8a690d98e', type : 'mail', from : { avatar : 'assets/images/avatars/male-17.jpg', - contact: 'Oneill Irwin ' + contact: 'Oneill Irwin ', }, to : 'me ', cc : [ 'Graham Belltower ', - 'Julie T. ' + 'Julie T. ', ], date : new Date('Sat Nov 17 2018 08:17:34 GMT+0000 (UTC)').toISOString(), subject : 'Eu in ut dolor amet consequat aute esse non fugiat minim cillum sunt aliquip cillum', @@ -888,19 +918,19 @@ export const mails = [ '745cf30e-ca84-47a1-a553-b70eb630d8e7', '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', 'b2d1e4e7-7cfd-4b51-ae59-217a093df754', - '184cd689-4ee4-47cf-9f8a-12233d614326' - ] + '184cd689-4ee4-47cf-9f8a-12233d614326', + ], }, { id : 'ccfb3a90-e18c-4645-8c00-4357d9bcd321', type : 'mail', from : { avatar : 'assets/images/avatars/female-14.jpg', - contact: 'Marcie Morgan ' + contact: 'Marcie Morgan ', }, to : 'me ', cc : [ - 'Graham Belltower ' + 'Graham Belltower ', ], date : new Date('Tue Nov 20 2018 05:55:32 GMT+0000 (UTC)').toISOString(), subject : 'Magna velit cillum dolor reprehenderit aliqua ut aute nisi in sunt Lorem laboris elit do', @@ -910,19 +940,19 @@ export const mails = [ important : false, unread : false, folder : '7c004a19-4506-48ef-93ab-f16381302e3b', - labels : [] + labels : [], }, { id : 'a18b1961-ad32-4d00-984f-afef8ee0f4e9', type : 'mail', from : { avatar : 'assets/images/avatars/male-18.jpg', - contact: 'Crane Trevino ' + contact: 'Crane Trevino ', }, to : 'me ', cc : [ 'Graham Belltower ', - 'Julie T. ' + 'Julie T. ', ], date : new Date('Sat Nov 03 2018 01:52:28 GMT+0000 (UTC)').toISOString(), subject : 'Tempor consectetur officia excepteur culpa', @@ -937,19 +967,19 @@ export const mails = [ '745cf30e-ca84-47a1-a553-b70eb630d8e7', '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', 'b2d1e4e7-7cfd-4b51-ae59-217a093df754', - '184cd689-4ee4-47cf-9f8a-12233d614326' - ] + '184cd689-4ee4-47cf-9f8a-12233d614326', + ], }, { id : '3aaa5e3f-b8b5-47fc-9967-5f65dd8c7251', type : 'mail', from : { avatar : 'assets/images/avatars/female-15.jpg', - contact: 'Kristine Wiggins ' + contact: 'Kristine Wiggins ', }, to : 'me ', cc : [ - 'Graham Belltower ' + 'Graham Belltower ', ], date : new Date('Tue Jan 09 2018 13:55:10 GMT+0000 (UTC)').toISOString(), subject : 'Magna aute enim magna aliqua aliquip enim elit eiusmod nulla nostrud', @@ -960,41 +990,41 @@ export const mails = [ name : 'account-details.pdf', size : 127844, preview : 'pdf', - downloadUrl: '' + downloadUrl: '', }, { type : 'image/jpeg', name : 'mystery-forest.jpg', size : 15539, preview : 'mystery-forest_preview.jpg', - downloadUrl: '' + downloadUrl: '', }, { type : 'image/jpeg', name : 'birds-eye-sydney.jpg', size : 14294, preview : 'birds-eye-sydney_preview.jpg', - downloadUrl: '' - } + downloadUrl: '', + }, ], starred : true, important : false, unread : false, folder : '7c004a19-4506-48ef-93ab-f16381302e3b', labels : [ - 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e' - ] + 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', + ], }, { id : '0f72d2d0-bea4-4c0f-ace0-0be9f14c37f1', type : 'mail', from : { avatar : 'assets/images/avatars/female-16.jpg', - contact: 'Terrie Carney ' + contact: 'Terrie Carney ', }, to : 'me ', cc : [ - 'Graham Belltower ' + 'Graham Belltower ', ], date : new Date('Tue Jan 23 2018 00:03:55 GMT+0000 (UTC)').toISOString(), subject : 'Laboris in incididunt labore labore deserunt deserunt nostrud mollit voluptate non ex', @@ -1004,19 +1034,19 @@ export const mails = [ important : false, unread : false, folder : '7c004a19-4506-48ef-93ab-f16381302e3b', - labels : [] + labels : [], }, { id : 'f825c5a3-2be8-4d48-9c4e-da60ff0e63f3', type : 'mail', from : { avatar : 'assets/images/avatars/male-19.jpg', - contact: 'Goff Jennings ' + contact: 'Goff Jennings ', }, to : 'me ', cc : [ 'Graham Belltower ', - 'Julie T. ' + 'Julie T. ', ], date : new Date('Tue Aug 07 2018 05:20:39 GMT+0000 (UTC)').toISOString(), subject : 'Labore sint dolor nulla nostrud commodo amet nisi mollit commodo eiusmod duis quis irure non', @@ -1030,19 +1060,19 @@ export const mails = [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', '745cf30e-ca84-47a1-a553-b70eb630d8e7', '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', - 'b2d1e4e7-7cfd-4b51-ae59-217a093df754' - ] + 'b2d1e4e7-7cfd-4b51-ae59-217a093df754', + ], }, { id : 'e6dc9600-a3ab-4571-b2f2-ed00ee08e163', type : 'mail', from : { avatar : 'assets/images/avatars/male-20.jpg', - contact: 'Browning Sanchez ' + contact: 'Browning Sanchez ', }, to : 'me ', cc : [ - 'Graham Belltower ' + 'Graham Belltower ', ], date : new Date('Fri Mar 16 2018 20:31:08 GMT+0000 (UTC)').toISOString(), subject : 'Mollit cupidatat commodo consectetur duis ea elit est sint sunt ea qui nostrud incididunt', @@ -1055,15 +1085,15 @@ export const mails = [ labels : [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', '745cf30e-ca84-47a1-a553-b70eb630d8e7', - '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3' - ] + '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', + ], }, { id : '0f22fedf-ea89-414e-91a4-0df0d9501ef2', type : 'mail', from : { avatar : 'assets/images/avatars/male-01.jpg', - contact: 'Carey Lyons ' + contact: 'Carey Lyons ', }, to : 'me ', date : new Date('Tue May 01 2018 07:56:59 GMT+0000 (UTC)').toISOString(), @@ -1075,15 +1105,15 @@ export const mails = [ unread : false, folder : '7c004a19-4506-48ef-93ab-f16381302e3b', labels : [ - 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e' - ] + 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', + ], }, { id : 'd942f99b-8925-49f0-b75b-2c48b714b1cf', type : 'mail', from : { avatar : 'assets/images/avatars/male-02.jpg', - contact: 'Hendrix Goodwin ' + contact: 'Hendrix Goodwin ', }, to : 'me ', date : new Date('Mon Jan 22 2018 19:04:29 GMT+0000 (UTC)').toISOString(), @@ -1098,19 +1128,19 @@ export const mails = [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', '745cf30e-ca84-47a1-a553-b70eb630d8e7', '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', - 'b2d1e4e7-7cfd-4b51-ae59-217a093df754' - ] + 'b2d1e4e7-7cfd-4b51-ae59-217a093df754', + ], }, { id : '036c24e8-d8bc-4f0e-9a72-6fa884d69bb3', type : 'mail', from : { avatar : 'assets/images/avatars/female-17.jpg', - contact: 'Leticia Fulton ' + contact: 'Leticia Fulton ', }, to : 'me ', cc : [ - 'Graham Belltower ' + 'Graham Belltower ', ], date : new Date('Sat Mar 31 2018 05:44:48 GMT+0000 (UTC)').toISOString(), subject : 'Est nostrud labore excepteur quis consectetur proident cupidatat', @@ -1121,20 +1151,20 @@ export const mails = [ unread : true, folder : '7c004a19-4506-48ef-93ab-f16381302e3b', labels : [ - 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e' - ] + 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', + ], }, { id : '3dac4463-73aa-4bd4-a3d8-662ce38635cc', type : 'mail', from : { avatar : 'assets/images/avatars/female-18.jpg', - contact: 'Carmen Shannon ' + contact: 'Carmen Shannon ', }, to : 'me ', cc : [ 'Graham Belltower ', - 'Julie T. ' + 'Julie T. ', ], date : new Date('Fri Jun 15 2018 23:26:09 GMT+0000 (UTC)').toISOString(), subject : 'Aute est laboris laborum consectetur cupidatat', @@ -1145,20 +1175,20 @@ export const mails = [ unread : true, folder : '7c004a19-4506-48ef-93ab-f16381302e3b', labels : [ - 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e' - ] + 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', + ], }, { id : '6bb27e81-ee53-4db3-acc7-bd1267cd475d', type : 'mail', from : { avatar : 'assets/images/avatars/female-19.jpg', - contact: 'Hattie Snow ' + contact: 'Hattie Snow ', }, to : 'me ', cc : [ 'Graham Belltower ', - 'Julie T. ' + 'Julie T. ', ], date : new Date('Fri Jun 08 2018 01:23:42 GMT+0000 (UTC)').toISOString(), subject : 'Officia exercitation exercitation ad exercitation ea ut ullamco', @@ -1172,15 +1202,15 @@ export const mails = [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', '745cf30e-ca84-47a1-a553-b70eb630d8e7', '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', - 'b2d1e4e7-7cfd-4b51-ae59-217a093df754' - ] + 'b2d1e4e7-7cfd-4b51-ae59-217a093df754', + ], }, { id : 'bfac8e5d-6487-4747-b827-67179ac5c206', type : 'mail', from : { avatar : 'assets/images/avatars/female-20.jpg', - contact: 'Brandi Bradley ' + contact: 'Brandi Bradley ', }, to : 'me ', date : new Date('Sat Nov 17 2018 10:51:44 GMT+0000 (UTC)').toISOString(), @@ -1192,15 +1222,15 @@ export const mails = [ name : 'yosemite-national-park.png', size : 14242, preview : 'yosemite-national-park_preview.png', - downloadUrl: '' + downloadUrl: '', }, { type : 'image/png', name : 'yosemite-national-park.png', size : 14242, preview : 'yosemite-national-park_preview.png', - downloadUrl: '' - } + downloadUrl: '', + }, ], starred : true, important : false, @@ -1208,19 +1238,19 @@ export const mails = [ folder : '7c004a19-4506-48ef-93ab-f16381302e3b', labels : [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', - '745cf30e-ca84-47a1-a553-b70eb630d8e7' - ] + '745cf30e-ca84-47a1-a553-b70eb630d8e7', + ], }, { id : '81b49a0a-e934-422a-81a8-8506d6f24e0e', type : 'mail', from : { avatar : 'assets/images/avatars/female-01.jpg', - contact: 'Patsy Potter ' + contact: 'Patsy Potter ', }, to : 'me ', cc : [ - 'Graham Belltower ' + 'Graham Belltower ', ], date : new Date('Tue May 15 2018 15:37:38 GMT+0000 (UTC)').toISOString(), subject : 'Ullamco fugiat fugiat non occaecat proident exercitation proident Lorem adipisicing commodo fugiat', @@ -1230,18 +1260,18 @@ export const mails = [ important : false, unread : true, folder : '7c004a19-4506-48ef-93ab-f16381302e3b', - labels : [] + labels : [], }, { id : '8355b50a-f347-4177-8cef-6410c0aa46d1', type : 'mail', from : { avatar : 'assets/images/avatars/female-02.jpg', - contact: 'Kathleen Cox ' + contact: 'Kathleen Cox ', }, to : 'me ', cc : [ - 'Graham Belltower ' + 'Graham Belltower ', ], date : new Date('Sun Aug 26 2018 04:47:12 GMT+0000 (UTC)').toISOString(), subject : 'Est fugiat reprehenderit cupidatat sunt velit aliquip reprehenderit exercitation', @@ -1251,14 +1281,14 @@ export const mails = [ important : false, unread : false, folder : '7c004a19-4506-48ef-93ab-f16381302e3b', - labels : [] + labels : [], }, { id : '6d2bfbce-465b-4e8f-a79e-cd13ab8571c6', type : 'mail', from : { avatar : 'assets/images/avatars/female-03.jpg', - contact: 'Kristina Ramirez ' + contact: 'Kristina Ramirez ', }, to : 'me ', date : new Date('Tue Mar 06 2018 16:13:56 GMT+0000 (UTC)').toISOString(), @@ -1273,15 +1303,15 @@ export const mails = [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', '745cf30e-ca84-47a1-a553-b70eb630d8e7', '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', - 'b2d1e4e7-7cfd-4b51-ae59-217a093df754' - ] + 'b2d1e4e7-7cfd-4b51-ae59-217a093df754', + ], }, { id : 'd8815854-8726-4280-a5bf-eafd40b3972a', type : 'mail', from : { avatar : 'assets/images/avatars/male-03.jpg', - contact: 'Mays Glass ' + contact: 'Mays Glass ', }, to : 'me ', date : new Date('Thu Jan 04 2018 11:10:36 GMT+0000 (UTC)').toISOString(), @@ -1295,19 +1325,19 @@ export const mails = [ labels : [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', '745cf30e-ca84-47a1-a553-b70eb630d8e7', - '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3' - ] + '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', + ], }, { id : 'bd7ac4df-77fa-45da-8eaf-31303ba794c4', type : 'mail', from : { avatar : 'assets/images/avatars/male-04.jpg', - contact: 'Barber Zimmerman ' + contact: 'Barber Zimmerman ', }, to : 'me ', cc : [ - 'Graham Belltower ' + 'Graham Belltower ', ], date : new Date('Thu Aug 09 2018 01:33:05 GMT+0000 (UTC)').toISOString(), subject : 'Sit elit aliquip sint ullamco tempor in duis Lorem laboris sunt laborum', @@ -1318,20 +1348,20 @@ export const mails = [ unread : false, folder : '1ee2ea29-9a1f-4c27-b4d2-5e465703b6a0', labels : [ - 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e' - ] + 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', + ], }, { id : 'f5fe9764-70b0-407e-a015-96b04da948a7', type : 'mail', from : { avatar : 'assets/images/avatars/female-04.jpg', - contact: 'Ginger Fry ' + contact: 'Ginger Fry ', }, to : 'me ', cc : [ 'Graham Belltower ', - 'Julie T. ' + 'Julie T. ', ], date : new Date('Fri Jan 12 2018 15:46:37 GMT+0000 (UTC)').toISOString(), subject : 'Fugiat voluptate Lorem id sint enim irure in velit nostrud commodo incididunt', @@ -1343,15 +1373,15 @@ export const mails = [ folder : '1ee2ea29-9a1f-4c27-b4d2-5e465703b6a0', labels : [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', - '745cf30e-ca84-47a1-a553-b70eb630d8e7' - ] + '745cf30e-ca84-47a1-a553-b70eb630d8e7', + ], }, { id : '3de07c8c-e687-4138-9967-7fd1feea17ee', type : 'mail', from : { avatar : 'assets/images/avatars/male-05.jpg', - contact: 'Gardner Burnett ' + contact: 'Gardner Burnett ', }, to : 'me ', date : new Date('Mon Mar 19 2018 13:34:20 GMT+0000 (UTC)').toISOString(), @@ -1364,20 +1394,20 @@ export const mails = [ folder : '1ee2ea29-9a1f-4c27-b4d2-5e465703b6a0', labels : [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', - '745cf30e-ca84-47a1-a553-b70eb630d8e7' - ] + '745cf30e-ca84-47a1-a553-b70eb630d8e7', + ], }, { id : 'd2bbcbbb-aa31-48ee-bbe4-2976b7043e78', type : 'mail', from : { avatar : 'assets/images/avatars/female-05.jpg', - contact: 'Lula Lucas ' + contact: 'Lula Lucas ', }, to : 'me ', cc : [ 'Graham Belltower ', - 'Julie T. ' + 'Julie T. ', ], date : new Date('Mon Nov 26 2018 16:08:25 GMT+0000 (UTC)').toISOString(), subject : 'Quis anim labore esse proident', @@ -1392,15 +1422,15 @@ export const mails = [ '745cf30e-ca84-47a1-a553-b70eb630d8e7', '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', 'b2d1e4e7-7cfd-4b51-ae59-217a093df754', - '184cd689-4ee4-47cf-9f8a-12233d614326' - ] + '184cd689-4ee4-47cf-9f8a-12233d614326', + ], }, { id : '1a166107-cc66-42dd-96a2-91b1a40f8c62', type : 'mail', from : { avatar : 'assets/images/avatars/male-06.jpg', - contact: 'Mcguire Crosby ' + contact: 'Mcguire Crosby ', }, to : 'me ', date : new Date('Fri Mar 09 2018 04:54:41 GMT+0000 (UTC)').toISOString(), @@ -1413,19 +1443,19 @@ export const mails = [ folder : '1ee2ea29-9a1f-4c27-b4d2-5e465703b6a0', labels : [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', - '745cf30e-ca84-47a1-a553-b70eb630d8e7' - ] + '745cf30e-ca84-47a1-a553-b70eb630d8e7', + ], }, { id : '3fbf66d3-cc2d-4256-a276-ad73da93b7fd', type : 'mail', from : { avatar : 'assets/images/avatars/male-07.jpg', - contact: 'Walsh Bender ' + contact: 'Walsh Bender ', }, to : 'me ', cc : [ - 'Graham Belltower ' + 'Graham Belltower ', ], date : new Date('Thu Nov 22 2018 20:26:17 GMT+0000 (UTC)').toISOString(), subject : 'Mollit voluptate eu excepteur nisi labore dolor aliquip magna incididunt ipsum quis ex irure', @@ -1436,15 +1466,15 @@ export const mails = [ name : 'mystery-forest.jpg', size : 15539, preview : 'mystery-forest_preview.jpg', - downloadUrl: '' + downloadUrl: '', }, { type : 'application/pdf', name : 'montly-invoice.pdf', size : 243449, preview : 'pdf', - downloadUrl: '' - } + downloadUrl: '', + }, ], starred : false, important : false, @@ -1453,19 +1483,19 @@ export const mails = [ labels : [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', '745cf30e-ca84-47a1-a553-b70eb630d8e7', - '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3' - ] + '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', + ], }, { id : 'b460fff2-8530-4464-8c44-744cd3de3bf8', type : 'mail', from : { avatar : 'assets/images/avatars/male-08.jpg', - contact: 'Baker Guthrie ' + contact: 'Baker Guthrie ', }, to : 'me ', cc : [ - 'Graham Belltower ' + 'Graham Belltower ', ], date : new Date('Sat Jul 21 2018 07:51:09 GMT+0000 (UTC)').toISOString(), subject : 'In ipsum elit esse laboris qui', @@ -1478,20 +1508,20 @@ export const mails = [ labels : [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', '745cf30e-ca84-47a1-a553-b70eb630d8e7', - '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3' - ] + '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', + ], }, { id : '16c18231-82ea-403d-895a-2a4bc27b61ca', type : 'mail', from : { avatar : 'assets/images/avatars/female-06.jpg', - contact: 'Olivia Ratliff ' + contact: 'Olivia Ratliff ', }, to : 'me ', cc : [ 'Graham Belltower ', - 'Julie T. ' + 'Julie T. ', ], date : new Date('Mon Feb 19 2018 13:18:23 GMT+0000 (UTC)').toISOString(), subject : 'Mollit ex magna non Lorem id', @@ -1502,20 +1532,20 @@ export const mails = [ unread : false, folder : '1ee2ea29-9a1f-4c27-b4d2-5e465703b6a0', labels : [ - 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e' - ] + 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', + ], }, { id : 'dfa4d802-b833-49c1-afdc-02116d73e35a', type : 'mail', from : { avatar : 'assets/images/avatars/male-09.jpg', - contact: 'Schneider Kirby ' + contact: 'Schneider Kirby ', }, to : 'me ', cc : [ 'Graham Belltower ', - 'Julie T. ' + 'Julie T. ', ], date : new Date('Mon Nov 12 2018 09:55:21 GMT+0000 (UTC)').toISOString(), subject : 'Occaecat eiusmod cillum nostrud dolore et proident est esse magna mollit enim', @@ -1530,15 +1560,15 @@ export const mails = [ '745cf30e-ca84-47a1-a553-b70eb630d8e7', '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', 'b2d1e4e7-7cfd-4b51-ae59-217a093df754', - '184cd689-4ee4-47cf-9f8a-12233d614326' - ] + '184cd689-4ee4-47cf-9f8a-12233d614326', + ], }, { id : '84c4ef35-da0d-4d1f-a966-f7f413545b04', type : 'mail', from : { avatar : 'assets/images/avatars/male-10.jpg', - contact: 'Griffith Keith ' + contact: 'Griffith Keith ', }, to : 'me ', date : new Date('Tue Dec 11 2018 06:27:01 GMT+0000 (UTC)').toISOString(), @@ -1553,19 +1583,19 @@ export const mails = [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', '745cf30e-ca84-47a1-a553-b70eb630d8e7', '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', - 'b2d1e4e7-7cfd-4b51-ae59-217a093df754' - ] + 'b2d1e4e7-7cfd-4b51-ae59-217a093df754', + ], }, { id : '0c78627f-5cbe-4d21-8491-455e98bf6f69', type : 'mail', from : { avatar : 'assets/images/avatars/female-07.jpg', - contact: 'Beverly Pugh ' + contact: 'Beverly Pugh ', }, to : 'me ', cc : [ - 'Graham Belltower ' + 'Graham Belltower ', ], date : new Date('Sun Oct 21 2018 14:36:41 GMT+0000 (UTC)').toISOString(), subject : 'Mollit irure adipisicing in consectetur aliqua labore pariatur minim', @@ -1579,15 +1609,15 @@ export const mails = [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', '745cf30e-ca84-47a1-a553-b70eb630d8e7', '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', - 'b2d1e4e7-7cfd-4b51-ae59-217a093df754' - ] + 'b2d1e4e7-7cfd-4b51-ae59-217a093df754', + ], }, { id : '3d382fb3-b5f5-43e3-b0bc-f2a6f29a5ee6', type : 'mail', from : { avatar : 'assets/images/avatars/female-08.jpg', - contact: 'Ila Mclaughlin ' + contact: 'Ila Mclaughlin ', }, to : 'me ', date : new Date('Wed Aug 01 2018 13:55:15 GMT+0000 (UTC)').toISOString(), @@ -1603,20 +1633,20 @@ export const mails = [ '745cf30e-ca84-47a1-a553-b70eb630d8e7', '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', 'b2d1e4e7-7cfd-4b51-ae59-217a093df754', - '184cd689-4ee4-47cf-9f8a-12233d614326' - ] + '184cd689-4ee4-47cf-9f8a-12233d614326', + ], }, { id : '7fd27d57-ccca-432d-af26-c3b609448fb7', type : 'mail', from : { avatar : 'assets/images/avatars/female-09.jpg', - contact: 'Jenna Manning ' + contact: 'Jenna Manning ', }, to : 'me ', cc : [ 'Graham Belltower ', - 'Julie T. ' + 'Julie T. ', ], date : new Date('Sat Dec 08 2018 20:09:08 GMT+0000 (UTC)').toISOString(), subject : 'Quis deserunt excepteur eiusmod reprehenderit enim exercitation voluptate anim', @@ -1629,19 +1659,19 @@ export const mails = [ labels : [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', '745cf30e-ca84-47a1-a553-b70eb630d8e7', - '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3' - ] + '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', + ], }, { id : '18ba20d3-d7bc-4fc7-85dd-2db4db3196fe', type : 'mail', from : { avatar : 'assets/images/avatars/female-10.jpg', - contact: 'Deann Hansen ' + contact: 'Deann Hansen ', }, to : 'me ', cc : [ - 'Graham Belltower ' + 'Graham Belltower ', ], date : new Date('Thu Jan 10 2019 12:13:47 GMT+0000 (UTC)').toISOString(), subject : 'Duis minim quis in labore voluptate laboris do consequat eu anim sit deserunt incididunt', @@ -1652,15 +1682,15 @@ export const mails = [ unread : false, folder : '1ee2ea29-9a1f-4c27-b4d2-5e465703b6a0', labels : [ - 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e' - ] + 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', + ], }, { id : '476cb471-b3c1-4235-b5ef-3066b028483d', type : 'mail', from : { avatar : 'assets/images/avatars/female-11.jpg', - contact: 'Tisha Moore ' + contact: 'Tisha Moore ', }, to : 'me ', date : new Date('Wed Mar 07 2018 05:58:09 GMT+0000 (UTC)').toISOString(), @@ -1675,20 +1705,20 @@ export const mails = [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', '745cf30e-ca84-47a1-a553-b70eb630d8e7', '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', - 'b2d1e4e7-7cfd-4b51-ae59-217a093df754' - ] + 'b2d1e4e7-7cfd-4b51-ae59-217a093df754', + ], }, { id : 'a8aea501-17e9-4e40-b3a9-04f33b13cb8a', type : 'mail', from : { avatar : 'assets/images/avatars/female-12.jpg', - contact: 'Janette Elliott ' + contact: 'Janette Elliott ', }, to : 'me ', cc : [ 'Graham Belltower ', - 'Julie T. ' + 'Julie T. ', ], date : new Date('Mon May 07 2018 20:07:15 GMT+0000 (UTC)').toISOString(), subject : 'Veniam amet voluptate Lorem qui ut id culpa mollit reprehenderit est', @@ -1699,15 +1729,15 @@ export const mails = [ unread : true, folder : '1ee2ea29-9a1f-4c27-b4d2-5e465703b6a0', labels : [ - 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e' - ] + 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', + ], }, { id : 'cb55f824-40ed-4696-afaa-f3f8d3fb8614', type : 'mail', from : { avatar : 'assets/images/avatars/female-13.jpg', - contact: 'Bettie Wyatt ' + contact: 'Bettie Wyatt ', }, to : 'me ', date : new Date('Mon Dec 03 2018 17:07:32 GMT+0000 (UTC)').toISOString(), @@ -1720,20 +1750,20 @@ export const mails = [ folder : 'fbdc8e79-a0c4-4a27-bc98-9c81ee7a86e5', labels : [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', - '745cf30e-ca84-47a1-a553-b70eb630d8e7' - ] + '745cf30e-ca84-47a1-a553-b70eb630d8e7', + ], }, { id : '92dddecc-4758-4c48-8ef4-a59de4ab0705', type : 'mail', from : { avatar : 'assets/images/avatars/male-11.jpg', - contact: 'Hardy Dale ' + contact: 'Hardy Dale ', }, to : 'me ', cc : [ 'Graham Belltower ', - 'Julie T. ' + 'Julie T. ', ], date : new Date('Fri Nov 16 2018 21:53:34 GMT+0000 (UTC)').toISOString(), subject : 'Aute commodo nostrud nisi quis sunt ex', @@ -1744,15 +1774,15 @@ export const mails = [ unread : false, folder : 'fbdc8e79-a0c4-4a27-bc98-9c81ee7a86e5', labels : [ - 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e' - ] + 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', + ], }, { id : '3f3f6154-a8ff-40d6-8b57-4c0f73d2cd8b', type : 'mail', from : { avatar : 'assets/images/avatars/female-14.jpg', - contact: 'Eileen Bush ' + contact: 'Eileen Bush ', }, to : 'me ', date : new Date('Sat Feb 24 2018 12:22:13 GMT+0000 (UTC)').toISOString(), @@ -1764,19 +1794,19 @@ export const mails = [ unread : false, folder : 'fbdc8e79-a0c4-4a27-bc98-9c81ee7a86e5', labels : [ - 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e' - ] + 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', + ], }, { id : '2c80bcbe-c9cd-4eec-83fa-b9994713a784', type : 'mail', from : { avatar : 'assets/images/avatars/female-15.jpg', - contact: 'Melody Mcintosh ' + contact: 'Melody Mcintosh ', }, to : 'me ', cc : [ - 'Graham Belltower ' + 'Graham Belltower ', ], date : new Date('Fri Jul 27 2018 07:20:48 GMT+0000 (UTC)').toISOString(), subject : 'Reprehenderit consequat aliquip duis incididunt excepteur aliquip excepteur velit labore laboris', @@ -1787,20 +1817,20 @@ export const mails = [ unread : false, folder : 'fbdc8e79-a0c4-4a27-bc98-9c81ee7a86e5', labels : [ - 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e' - ] + 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', + ], }, { id : '2a44e5b7-e01c-43db-b586-540390f46f95', type : 'mail', from : { avatar : 'assets/images/avatars/male-12.jpg', - contact: 'Dale Talley ' + contact: 'Dale Talley ', }, to : 'me ', cc : [ 'Graham Belltower ', - 'Julie T. ' + 'Julie T. ', ], date : new Date('Tue Jan 02 2018 07:20:01 GMT+0000 (UTC)').toISOString(), subject : 'Aute occaecat est amet adipisicing aute voluptate incididunt adipisicing pariatur esse anim ipsum labore', @@ -1813,19 +1843,19 @@ export const mails = [ labels : [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', '745cf30e-ca84-47a1-a553-b70eb630d8e7', - '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3' - ] + '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', + ], }, { id : 'be1e969d-d52f-4824-83e5-c184b042b601', type : 'mail', from : { avatar : 'assets/images/avatars/male-13.jpg', - contact: 'Britt Massey ' + contact: 'Britt Massey ', }, to : 'me ', cc : [ - 'Graham Belltower ' + 'Graham Belltower ', ], date : new Date('Tue Oct 09 2018 00:12:17 GMT+0000 (UTC)').toISOString(), subject : 'Cillum tempor cillum ex esse eu Lorem', @@ -1840,20 +1870,20 @@ export const mails = [ '745cf30e-ca84-47a1-a553-b70eb630d8e7', '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', 'b2d1e4e7-7cfd-4b51-ae59-217a093df754', - '184cd689-4ee4-47cf-9f8a-12233d614326' - ] + '184cd689-4ee4-47cf-9f8a-12233d614326', + ], }, { id : '8c7c9bff-6ca6-47ba-9242-cd9b1715eac7', type : 'mail', from : { avatar : 'assets/images/avatars/female-16.jpg', - contact: 'Madelyn Haynes ' + contact: 'Madelyn Haynes ', }, to : 'me ', cc : [ 'Graham Belltower ', - 'Julie T. ' + 'Julie T. ', ], date : new Date('Sat Mar 03 2018 18:08:05 GMT+0000 (UTC)').toISOString(), subject : 'Irure enim minim dolore et', @@ -1867,20 +1897,20 @@ export const mails = [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', '745cf30e-ca84-47a1-a553-b70eb630d8e7', '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', - 'b2d1e4e7-7cfd-4b51-ae59-217a093df754' - ] + 'b2d1e4e7-7cfd-4b51-ae59-217a093df754', + ], }, { id : 'afd52898-82e9-4fd4-8d6a-2391ec817e2a', type : 'mail', from : { avatar : 'assets/images/avatars/male-14.jpg', - contact: 'Rowland Sweet ' + contact: 'Rowland Sweet ', }, to : 'me ', cc : [ 'Graham Belltower ', - 'Julie T. ' + 'Julie T. ', ], date : new Date('Fri Jun 22 2018 14:39:18 GMT+0000 (UTC)').toISOString(), subject : 'Sunt et proident ullamco qui id irure occaecat anim aute elit amet', @@ -1890,18 +1920,18 @@ export const mails = [ important : true, unread : true, folder : '0197c436-2ef3-424d-b546-8b7f49186e15', - labels : [] + labels : [], }, { id : 'e43d83f0-51ea-4da9-b18f-0de380b5156a', type : 'mail', from : { avatar : 'assets/images/avatars/female-17.jpg', - contact: 'Fern Shaw ' + contact: 'Fern Shaw ', }, to : 'me ', cc : [ - 'Graham Belltower ' + 'Graham Belltower ', ], date : new Date('Wed Feb 21 2018 06:23:12 GMT+0000 (UTC)').toISOString(), subject : 'Nisi esse incididunt nisi aliqua aliqua laborum occaecat quis duis minim', @@ -1911,18 +1941,18 @@ export const mails = [ important : false, unread : true, folder : '0197c436-2ef3-424d-b546-8b7f49186e15', - labels : [] + labels : [], }, { id : '4e1d4820-e907-405a-990a-4a5772f482ad', type : 'mail', from : { avatar : 'assets/images/avatars/female-18.jpg', - contact: 'Lorraine Ballard ' + contact: 'Lorraine Ballard ', }, to : 'me ', cc : [ - 'Graham Belltower ' + 'Graham Belltower ', ], date : new Date('Sun Jun 24 2018 13:46:02 GMT+0000 (UTC)').toISOString(), subject : 'Velit nisi ut laboris id et do aliquip', @@ -1935,20 +1965,20 @@ export const mails = [ labels : [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', '745cf30e-ca84-47a1-a553-b70eb630d8e7', - '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3' - ] + '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', + ], }, { id : 'f0f2d069-50a0-484f-a4a2-3a272fcb433b', type : 'mail', from : { avatar : 'assets/images/avatars/male-15.jpg', - contact: 'Jennings Franklin ' + contact: 'Jennings Franklin ', }, to : 'me ', cc : [ 'Graham Belltower ', - 'Julie T. ' + 'Julie T. ', ], date : new Date('Thu Apr 26 2018 06:34:54 GMT+0000 (UTC)').toISOString(), subject : 'Enim esse aliqua elit incididunt aliqua mollit amet quis occaecat veniam occaecat proident', @@ -1958,14 +1988,14 @@ export const mails = [ important : false, unread : true, folder : '0197c436-2ef3-424d-b546-8b7f49186e15', - labels : [] + labels : [], }, { id : '7c93dbde-8b56-43a3-ade1-b132906679c4', type : 'mail', from : { avatar : 'assets/images/avatars/female-19.jpg', - contact: 'Colette Cole ' + contact: 'Colette Cole ', }, to : 'me ', date : new Date('Fri Sep 21 2018 08:37:21 GMT+0000 (UTC)').toISOString(), @@ -1979,19 +2009,19 @@ export const mails = [ labels : [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', '745cf30e-ca84-47a1-a553-b70eb630d8e7', - '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3' - ] + '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', + ], }, { id : '7335d11d-04b1-4250-817a-6fdf3e099239', type : 'mail', from : { avatar : 'assets/images/avatars/female-20.jpg', - contact: 'Kim Carlson ' + contact: 'Kim Carlson ', }, to : 'me ', cc : [ - 'Graham Belltower ' + 'Graham Belltower ', ], date : new Date('Wed Nov 28 2018 07:57:15 GMT+0000 (UTC)').toISOString(), subject : 'Ullamco ad consectetur ut esse', @@ -2004,19 +2034,19 @@ export const mails = [ labels : [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', '745cf30e-ca84-47a1-a553-b70eb630d8e7', - '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3' - ] + '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', + ], }, { id : 'e9dd17ec-4fc3-424e-89e5-c58d9d235764', type : 'mail', from : { avatar : 'assets/images/avatars/female-01.jpg', - contact: 'Rena Park ' + contact: 'Rena Park ', }, to : 'me ', cc : [ - 'Graham Belltower ' + 'Graham Belltower ', ], date : new Date('Sat Oct 13 2018 12:57:58 GMT+0000 (UTC)').toISOString(), subject : 'Nulla qui anim ullamco officia elit', @@ -2026,19 +2056,19 @@ export const mails = [ important : false, unread : false, folder : '0197c436-2ef3-424d-b546-8b7f49186e15', - labels : [] + labels : [], }, { id : '5fb8f4b5-fad4-4a82-8519-a732e68a48be', type : 'mail', from : { avatar : 'assets/images/avatars/male-16.jpg', - contact: 'Haney Gibson ' + contact: 'Haney Gibson ', }, to : 'me ', cc : [ 'Graham Belltower ', - 'Julie T. ' + 'Julie T. ', ], date : new Date('Tue Oct 23 2018 00:16:47 GMT+0000 (UTC)').toISOString(), subject : 'Veniam consequat ipsum occaecat ipsum', @@ -2048,18 +2078,18 @@ export const mails = [ important : true, unread : true, folder : '0197c436-2ef3-424d-b546-8b7f49186e15', - labels : [] + labels : [], }, { id : 'e766ddd9-e9ea-499c-bb10-72fa57a03059', type : 'mail', from : { avatar : 'assets/images/avatars/female-02.jpg', - contact: 'Freda Frank ' + contact: 'Freda Frank ', }, to : 'me ', cc : [ - 'Graham Belltower ' + 'Graham Belltower ', ], date : new Date('Wed Nov 21 2018 01:26:11 GMT+0000 (UTC)').toISOString(), subject : 'Magna sint dolor sit laborum enim', @@ -2070,19 +2100,19 @@ export const mails = [ unread : false, folder : '0197c436-2ef3-424d-b546-8b7f49186e15', labels : [ - 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e' - ] + 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', + ], }, { id : '03693a62-d6bd-47c8-8f8e-112f21042722', type : 'mail', from : { avatar : 'assets/images/avatars/male-17.jpg', - contact: 'Burns White ' + contact: 'Burns White ', }, to : 'me ', cc : [ - 'Graham Belltower ' + 'Graham Belltower ', ], date : new Date('Mon May 14 2018 20:06:57 GMT+0000 (UTC)').toISOString(), subject : 'Veniam cillum ad proident incididunt nisi exercitation est', @@ -2092,14 +2122,14 @@ export const mails = [ important : false, unread : false, folder : '0197c436-2ef3-424d-b546-8b7f49186e15', - labels : [] + labels : [], }, { id : 'c59f5ea4-4f5d-4b9e-9c3c-a996b18fd98c', type : 'mail', from : { avatar : 'assets/images/avatars/male-18.jpg', - contact: 'Fischer Cervantes ' + contact: 'Fischer Cervantes ', }, to : 'me ', date : new Date('Thu Dec 13 2018 03:52:15 GMT+0000 (UTC)').toISOString(), @@ -2112,19 +2142,19 @@ export const mails = [ folder : '0197c436-2ef3-424d-b546-8b7f49186e15', labels : [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', - '745cf30e-ca84-47a1-a553-b70eb630d8e7' - ] + '745cf30e-ca84-47a1-a553-b70eb630d8e7', + ], }, { id : '9ed5d4c1-819a-4719-88d7-cd7b08b2228d', type : 'mail', from : { avatar : 'assets/images/avatars/male-19.jpg', - contact: 'Cervantes Reyes ' + contact: 'Cervantes Reyes ', }, to : 'me ', cc : [ - 'Graham Belltower ' + 'Graham Belltower ', ], date : new Date('Tue Oct 16 2018 11:06:27 GMT+0000 (UTC)').toISOString(), subject : 'Et eu adipisicing aliqua nisi minim commodo anim aliqua aliquip', @@ -2137,15 +2167,15 @@ export const mails = [ labels : [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', '745cf30e-ca84-47a1-a553-b70eb630d8e7', - '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3' - ] + '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', + ], }, { id : 'a769720b-0c64-483c-925c-5d747c61bff4', type : 'mail', from : { avatar : 'assets/images/avatars/male-20.jpg', - contact: 'Cooke Whitney ' + contact: 'Cooke Whitney ', }, to : 'me ', date : new Date('Sat Jul 28 2018 14:16:37 GMT+0000 (UTC)').toISOString(), @@ -2156,19 +2186,19 @@ export const mails = [ important : false, unread : true, folder : '0197c436-2ef3-424d-b546-8b7f49186e15', - labels : [] + labels : [], }, { id : 'e6b83f13-c25e-4355-913f-54d93d8393f6', type : 'mail', from : { avatar : 'assets/images/avatars/female-03.jpg', - contact: 'Lee Lloyd ' + contact: 'Lee Lloyd ', }, to : 'me ', cc : [ 'Graham Belltower ', - 'Julie T. ' + 'Julie T. ', ], date : new Date('Thu Oct 18 2018 02:56:36 GMT+0000 (UTC)').toISOString(), subject : 'Culpa incididunt amet sunt ipsum ad nostrud exercitation ea', @@ -2181,20 +2211,20 @@ export const mails = [ labels : [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', '745cf30e-ca84-47a1-a553-b70eb630d8e7', - '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3' - ] + '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', + ], }, { id : '5c5c4ba7-542b-46b0-b0ce-976f5189d72c', type : 'mail', from : { avatar : 'assets/images/avatars/male-01.jpg', - contact: 'Benson Shields ' + contact: 'Benson Shields ', }, to : 'me ', cc : [ 'Graham Belltower ', - 'Julie T. ' + 'Julie T. ', ], date : new Date('Sun Apr 01 2018 20:39:05 GMT+0000 (UTC)').toISOString(), subject : 'Sit incididunt ad tempor veniam duis', @@ -2204,19 +2234,19 @@ export const mails = [ important : true, unread : true, folder : '2fa74637-d362-4fd2-9a88-f7195a88bdde', - labels : [] + labels : [], }, { id : '36abfef2-f86a-4c9e-99de-1869f0b3e71b', type : 'mail', from : { avatar : 'assets/images/avatars/male-02.jpg', - contact: 'Emerson Whitehead ' + contact: 'Emerson Whitehead ', }, to : 'me ', cc : [ 'Graham Belltower ', - 'Julie T. ' + 'Julie T. ', ], date : new Date('Sun Jun 24 2018 11:19:49 GMT+0000 (UTC)').toISOString(), subject : 'Esse ea ut est excepteur', @@ -2230,19 +2260,19 @@ export const mails = [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', '745cf30e-ca84-47a1-a553-b70eb630d8e7', '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', - 'b2d1e4e7-7cfd-4b51-ae59-217a093df754' - ] + 'b2d1e4e7-7cfd-4b51-ae59-217a093df754', + ], }, { id : 'b1a0ab26-6c86-4888-b2f1-69928b3ca718', type : 'mail', from : { avatar : 'assets/images/avatars/female-04.jpg', - contact: 'Annabelle Greene ' + contact: 'Annabelle Greene ', }, to : 'me ', cc : [ - 'Graham Belltower ' + 'Graham Belltower ', ], date : new Date('Thu Aug 30 2018 03:24:13 GMT+0000 (UTC)').toISOString(), subject : 'Commodo reprehenderit laborum nostrud culpa et aliquip', @@ -2253,15 +2283,15 @@ export const mails = [ unread : false, folder : '2fa74637-d362-4fd2-9a88-f7195a88bdde', labels : [ - 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e' - ] + 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', + ], }, { id : '87cf5188-34dc-4947-b780-48c7fb6b6b23', type : 'mail', from : { avatar : 'assets/images/avatars/male-03.jpg', - contact: 'Dawson Lewis ' + contact: 'Dawson Lewis ', }, to : 'me ', date : new Date('Fri Aug 03 2018 03:03:12 GMT+0000 (UTC)').toISOString(), @@ -2276,20 +2306,20 @@ export const mails = [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', '745cf30e-ca84-47a1-a553-b70eb630d8e7', '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', - 'b2d1e4e7-7cfd-4b51-ae59-217a093df754' - ] + 'b2d1e4e7-7cfd-4b51-ae59-217a093df754', + ], }, { id : '8749e3bc-24b3-43f3-997b-ee0b5bd7a442', type : 'mail', from : { avatar : 'assets/images/avatars/male-04.jpg', - contact: 'Cole Dotson ' + contact: 'Cole Dotson ', }, to : 'me ', cc : [ 'Graham Belltower ', - 'Julie T. ' + 'Julie T. ', ], date : new Date('Tue Sep 04 2018 09:09:08 GMT+0000 (UTC)').toISOString(), subject : 'Sint quis veniam tempor sint', @@ -2303,15 +2333,15 @@ export const mails = [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', '745cf30e-ca84-47a1-a553-b70eb630d8e7', '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', - 'b2d1e4e7-7cfd-4b51-ae59-217a093df754' - ] + 'b2d1e4e7-7cfd-4b51-ae59-217a093df754', + ], }, { id : '108ca3fa-a4dd-4988-a7ea-659ab4446050', type : 'mail', from : { avatar : 'assets/images/avatars/male-05.jpg', - contact: 'Bernard Cunningham ' + contact: 'Bernard Cunningham ', }, to : 'me ', date : new Date('Tue Aug 21 2018 08:51:03 GMT+0000 (UTC)').toISOString(), @@ -2326,20 +2356,20 @@ export const mails = [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', '745cf30e-ca84-47a1-a553-b70eb630d8e7', '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', - 'b2d1e4e7-7cfd-4b51-ae59-217a093df754' - ] + 'b2d1e4e7-7cfd-4b51-ae59-217a093df754', + ], }, { id : '63a362be-4ea7-4cc1-985f-5202db9c1370', type : 'mail', from : { avatar : 'assets/images/avatars/male-06.jpg', - contact: 'Edwards Mcconnell ' + contact: 'Edwards Mcconnell ', }, to : 'me ', cc : [ 'Graham Belltower ', - 'Julie T. ' + 'Julie T. ', ], date : new Date('Fri Jul 20 2018 05:22:32 GMT+0000 (UTC)').toISOString(), subject : 'Amet ipsum voluptate voluptate dolore proident voluptate officia cillum adipisicing tempor tempor ad anim', @@ -2351,19 +2381,19 @@ export const mails = [ folder : '2fa74637-d362-4fd2-9a88-f7195a88bdde', labels : [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', - '745cf30e-ca84-47a1-a553-b70eb630d8e7' - ] + '745cf30e-ca84-47a1-a553-b70eb630d8e7', + ], }, { id : 'ce206b7e-bbd0-4cd1-b69a-a8d4ef5b10bf', type : 'mail', from : { avatar : 'assets/images/avatars/female-05.jpg', - contact: 'Lizzie Sanders ' + contact: 'Lizzie Sanders ', }, to : 'me ', cc : [ - 'Graham Belltower ' + 'Graham Belltower ', ], date : new Date('Fri Sep 07 2018 01:29:31 GMT+0000 (UTC)').toISOString(), subject : 'Sint enim elit Lorem laboris', @@ -2378,20 +2408,20 @@ export const mails = [ '745cf30e-ca84-47a1-a553-b70eb630d8e7', '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', 'b2d1e4e7-7cfd-4b51-ae59-217a093df754', - '184cd689-4ee4-47cf-9f8a-12233d614326' - ] + '184cd689-4ee4-47cf-9f8a-12233d614326', + ], }, { id : 'f7c2e821-b2e2-4103-bb20-ddcd3a42dc7c', type : 'mail', from : { avatar : 'assets/images/avatars/female-06.jpg', - contact: 'Elise Hicks ' + contact: 'Elise Hicks ', }, to : 'me ', cc : [ 'Graham Belltower ', - 'Julie T. ' + 'Julie T. ', ], date : new Date('Sun Mar 04 2018 15:45:07 GMT+0000 (UTC)').toISOString(), subject : 'Cillum proident non officia mollit nulla dolor eiusmod et aliquip laboris ut adipisicing dolor deserunt', @@ -2402,19 +2432,19 @@ export const mails = [ unread : false, folder : '2fa74637-d362-4fd2-9a88-f7195a88bdde', labels : [ - 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e' - ] + 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', + ], }, { id : 'd8ca28a0-7fb7-4cd4-9058-3a867f841f76', type : 'mail', from : { avatar : 'assets/images/avatars/female-07.jpg', - contact: 'Sherri Roth ' + contact: 'Sherri Roth ', }, to : 'me ', cc : [ - 'Graham Belltower ' + 'Graham Belltower ', ], date : new Date('Thu Dec 20 2018 09:37:24 GMT+0000 (UTC)').toISOString(), subject : 'Ex laboris et sunt ex aute aute nisi', @@ -2427,19 +2457,19 @@ export const mails = [ labels : [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', '745cf30e-ca84-47a1-a553-b70eb630d8e7', - '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3' - ] + '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', + ], }, { id : 'b48be636-410c-485a-9442-7de7ce807dc2', type : 'mail', from : { avatar : 'assets/images/avatars/male-07.jpg', - contact: 'Skinner Hawkins ' + contact: 'Skinner Hawkins ', }, to : 'me ', cc : [ - 'Graham Belltower ' + 'Graham Belltower ', ], date : new Date('Sun Jun 10 2018 07:50:01 GMT+0000 (UTC)').toISOString(), subject : 'Eu cillum amet dolore labore voluptate qui mollit ad anim ipsum laborum eiusmod aliquip', @@ -2451,15 +2481,15 @@ export const mails = [ folder : '2fa74637-d362-4fd2-9a88-f7195a88bdde', labels : [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', - '745cf30e-ca84-47a1-a553-b70eb630d8e7' - ] + '745cf30e-ca84-47a1-a553-b70eb630d8e7', + ], }, { id : 'efe990eb-6559-48a6-a909-320c465de739', type : 'mail', from : { avatar : 'assets/images/avatars/female-08.jpg', - contact: 'Velma Ellison ' + contact: 'Velma Ellison ', }, to : 'me ', date : new Date('Thu Nov 01 2018 10:59:46 GMT+0000 (UTC)').toISOString(), @@ -2472,15 +2502,15 @@ export const mails = [ folder : '2fa74637-d362-4fd2-9a88-f7195a88bdde', labels : [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', - '745cf30e-ca84-47a1-a553-b70eb630d8e7' - ] + '745cf30e-ca84-47a1-a553-b70eb630d8e7', + ], }, { id : 'd2bc3670-63f7-47c3-9d3d-4998c716f04a', type : 'mail', from : { avatar : 'assets/images/avatars/female-09.jpg', - contact: 'Tamara Fitzgerald ' + contact: 'Tamara Fitzgerald ', }, to : 'me ', date : new Date('Sat Feb 24 2018 15:37:16 GMT+0000 (UTC)').toISOString(), @@ -2492,15 +2522,15 @@ export const mails = [ unread : true, folder : '2fa74637-d362-4fd2-9a88-f7195a88bdde', labels : [ - 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e' - ] + 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', + ], }, { id : '07b4d696-7657-4535-9838-3efb42355cbb', type : 'mail', from : { avatar : 'assets/images/avatars/male-08.jpg', - contact: 'Duncan Gilmore ' + contact: 'Duncan Gilmore ', }, to : 'me ', date : new Date('Mon Dec 31 2018 08:15:40 GMT+0000 (UTC)').toISOString(), @@ -2511,14 +2541,14 @@ export const mails = [ important : false, unread : true, folder : '2fa74637-d362-4fd2-9a88-f7195a88bdde', - labels : [] + labels : [], }, { id : 'b8424db5-c607-4b9a-b88f-78c54343a342', type : 'mail', from : { avatar : 'assets/images/avatars/female-10.jpg', - contact: 'Betty Dean ' + contact: 'Betty Dean ', }, to : 'me ', date : new Date('Thu Aug 16 2018 06:17:15 GMT+0000 (UTC)').toISOString(), @@ -2533,15 +2563,15 @@ export const mails = [ 'b167d3c4-f6ed-4ea6-9579-a12f95a9d76e', '745cf30e-ca84-47a1-a553-b70eb630d8e7', '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', - 'b2d1e4e7-7cfd-4b51-ae59-217a093df754' - ] + 'b2d1e4e7-7cfd-4b51-ae59-217a093df754', + ], }, { id : 'edf1399f-e829-4bde-ae5b-e03d18ad2f76', type : 'mail', from : { avatar : 'assets/images/avatars/male-09.jpg', - contact: 'Pate Gardner ' + contact: 'Pate Gardner ', }, to : 'me ', date : new Date('Sat May 26 2018 10:36:30 GMT+0000 (UTC)').toISOString(), @@ -2552,18 +2582,18 @@ export const mails = [ important : false, unread : true, folder : '2fa74637-d362-4fd2-9a88-f7195a88bdde', - labels : [] + labels : [], }, { id : 'bcc422a2-8a39-416e-8205-a5ce354ea622', type : 'mail', from : { avatar : 'assets/images/avatars/male-10.jpg', - contact: 'Lawson Kidd ' + contact: 'Lawson Kidd ', }, to : 'me ', cc : [ - 'Graham Belltower ' + 'Graham Belltower ', ], date : new Date('Sun Mar 18 2018 02:18:44 GMT+0000 (UTC)').toISOString(), subject : 'Proident non proident dolore non dolor reprehenderit', @@ -2578,7 +2608,7 @@ export const mails = [ '745cf30e-ca84-47a1-a553-b70eb630d8e7', '8b035cb5-65c0-4ab1-bb4c-43b0e442d1f3', 'b2d1e4e7-7cfd-4b51-ae59-217a093df754', - '184cd689-4ee4-47cf-9f8a-12233d614326' - ] - } + '184cd689-4ee4-47cf-9f8a-12233d614326', + ], + }, ]; diff --git a/src/app/mock-api/apps/notes/api.ts b/src/app/mock-api/apps/notes/api.ts index bd8b874b..0bd0079b 100644 --- a/src/app/mock-api/apps/notes/api.ts +++ b/src/app/mock-api/apps/notes/api.ts @@ -1,11 +1,11 @@ import { Injectable } from '@angular/core'; -import { cloneDeep } from 'lodash-es'; +import { FuseMockApiUtils } from '@fuse/lib/mock-api'; import { FuseMockApiService } from '@fuse/lib/mock-api/mock-api.service'; import { labels as labelsData, notes as notesData } from 'app/mock-api/apps/notes/data'; -import { FuseMockApiUtils } from '@fuse/lib/mock-api'; +import { cloneDeep } from 'lodash-es'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class NotesMockApi { @@ -37,7 +37,7 @@ export class NotesMockApi .onGet('api/apps/notes/labels') .reply(() => [ 200, - cloneDeep(this._labels) + cloneDeep(this._labels), ]); // ----------------------------------------------------------------------------------------------------- @@ -45,12 +45,13 @@ export class NotesMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPost('api/apps/notes/labels') - .reply(({request}) => { + .reply(({request}) => + { // Create a new label const label = { id : FuseMockApiUtils.guid(), - title: request.body.title + title: request.body.title, }; // Update the labels @@ -58,7 +59,7 @@ export class NotesMockApi return [ 200, - cloneDeep(this._labels) + cloneDeep(this._labels), ]; }); @@ -67,18 +68,20 @@ export class NotesMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPatch('api/apps/notes/labels') - .reply(({request}) => { + .reply(({request}) => + { // Get label const updatedLabel = request.body.label; // Update the label - this._labels = this._labels.map((label) => { + this._labels = this._labels.map((label) => + { if ( label.id === updatedLabel.id ) { return { ...label, - title: updatedLabel.title + title: updatedLabel.title, }; } @@ -87,7 +90,7 @@ export class NotesMockApi return [ 200, - cloneDeep(this._labels) + cloneDeep(this._labels), ]; }); @@ -96,7 +99,8 @@ export class NotesMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onDelete('api/apps/notes/labels') - .reply(({request}) => { + .reply(({request}) => + { // Get label id const id = request.params.get('id'); @@ -107,12 +111,12 @@ export class NotesMockApi // Go through notes and delete the label this._notes = this._notes.map(note => ({ ...note, - labels: note.labels.filter(item => item !== id) + labels: note.labels.filter(item => item !== id), })); return [ 200, - cloneDeep(this._labels) + cloneDeep(this._labels), ]; }); @@ -121,14 +125,16 @@ export class NotesMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPost('api/apps/notes/tasks') - .reply(({request}) => { + .reply(({request}) => + { // Get note and task let updatedNote = request.body.note; const task = request.body.task; // Update the note - this._notes = this._notes.map((note) => { + this._notes = this._notes.map((note) => + { if ( note.id === updatedNote.id ) { // Update the tasks @@ -140,14 +146,14 @@ export class NotesMockApi note.tasks.push({ id : FuseMockApiUtils.guid(), content : task, - completed: false + completed: false, }); // Update the updatedNote with the new task updatedNote = cloneDeep(note); return { - ...note + ...note, }; } @@ -156,7 +162,7 @@ export class NotesMockApi return [ 200, - updatedNote + updatedNote, ]; }); @@ -165,7 +171,8 @@ export class NotesMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onGet('api/apps/notes/all') - .reply(() => { + .reply(() => + { // Clone the labels and notes const labels = cloneDeep(this._labels); @@ -175,13 +182,13 @@ export class NotesMockApi notes = notes.map(note => ( { ...note, - labels: note.labels.map(labelId => labels.find(label => label.id === labelId)) + labels: note.labels.map(labelId => labels.find(label => label.id === labelId)), } )); return [ 200, - notes + notes, ]; }); @@ -190,7 +197,8 @@ export class NotesMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPost('api/apps/notes') - .reply(({request}) => { + .reply(({request}) => + { // Get note const note = request.body.note; @@ -203,7 +211,7 @@ export class NotesMockApi return [ 200, - note + note, ]; }); @@ -212,17 +220,19 @@ export class NotesMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPatch('api/apps/notes') - .reply(({request}) => { + .reply(({request}) => + { // Get note const updatedNote = request.body.updatedNote; // Update the note - this._notes = this._notes.map((note) => { + this._notes = this._notes.map((note) => + { if ( note.id === updatedNote.id ) { return { - ...updatedNote + ...updatedNote, }; } @@ -231,7 +241,7 @@ export class NotesMockApi return [ 200, - updatedNote + updatedNote, ]; }); @@ -240,13 +250,15 @@ export class NotesMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onDelete('api/apps/notes') - .reply(({request}) => { + .reply(({request}) => + { // Get the id const id = request.params.get('id'); // Find the note and delete it - this._notes.forEach((item, index) => { + this._notes.forEach((item, index) => + { if ( item.id === id ) { diff --git a/src/app/mock-api/apps/notes/data.ts b/src/app/mock-api/apps/notes/data.ts index 9b685472..8eee730c 100644 --- a/src/app/mock-api/apps/notes/data.ts +++ b/src/app/mock-api/apps/notes/data.ts @@ -7,28 +7,28 @@ const now = DateTime.now(); export const labels = [ { id : 'f47c92e5-20b9-44d9-917f-9ff4ad25dfd0', - title: 'Family' + title: 'Family', }, { id : 'e2f749f5-41ed-49d0-a92a-1c83d879e371', - title: 'Work' + title: 'Work', }, { id : 'b1cde9ee-e54d-4142-ad8b-cf55dafc9528', - title: 'Tasks' + title: 'Tasks', }, { id : '6c288794-47eb-4605-8bdf-785b61a449d3', - title: 'Priority' + title: 'Priority', }, { id : 'bbc73458-940b-421c-8d5f-8dcd23a9b0d6', - title: 'Personal' + title: 'Personal', }, { id : '2dc11344-3507-48e0-83d6-1c047107f052', - title: 'Friends' - } + title: 'Friends', + }, ]; export const notes = [ @@ -41,8 +41,11 @@ export const notes = [ reminder : null, labels : ['e2f749f5-41ed-49d0-a92a-1c83d879e371'], archived : false, - createdAt: now.set({hour: 10, minute: 19}).minus({day: 98}).toISO(), - updatedAt: null + createdAt: now.set({ + hour : 10, + minute: 19, + }).minus({day: 98}).toISO(), + updatedAt: null, }, { id : 'ced0a1ce-051d-41a3-b080-e2161e4ae621', @@ -53,11 +56,14 @@ export const notes = [ reminder : null, labels : [ 'bbc73458-940b-421c-8d5f-8dcd23a9b0d6', - 'b1cde9ee-e54d-4142-ad8b-cf55dafc9528' + 'b1cde9ee-e54d-4142-ad8b-cf55dafc9528', ], archived : false, - createdAt: now.set({hour: 15, minute: 37}).minus({day: 80}).toISO(), - updatedAt: null + createdAt: now.set({ + hour : 15, + minute: 37, + }).minus({day: 80}).toISO(), + updatedAt: null, }, { id : 'd3ac02a9-86e4-4187-bbd7-2c965518b3a3', @@ -68,8 +74,14 @@ export const notes = [ reminder : null, labels : ['6c288794-47eb-4605-8bdf-785b61a449d3'], archived : false, - createdAt: now.set({hour: 19, minute: 27}).minus({day: 74}).toISO(), - updatedAt: now.set({hour: 15, minute: 36}).minus({day: 50}).toISO(), + createdAt: now.set({ + hour : 19, + minute: 27, + }).minus({day: 74}).toISO(), + updatedAt: now.set({ + hour : 15, + minute: 36, + }).minus({day: 50}).toISO(), }, { id : '89861bd4-0144-4bb4-8b39-332ca10371d5', @@ -77,11 +89,17 @@ export const notes = [ content : 'Theming support for all apps', tasks : null, image : null, - reminder: now.set({hour: 12, minute: 34}).plus({day: 50}).toISO(), + reminder : now.set({ + hour : 12, + minute: 34, + }).plus({day: 50}).toISO(), labels : ['e2f749f5-41ed-49d0-a92a-1c83d879e371'], archived : false, - createdAt: now.set({hour: 12, minute: 34}).minus({day: 59}).toISO(), - updatedAt: null + createdAt: now.set({ + hour : 12, + minute: 34, + }).minus({day: 59}).toISO(), + updatedAt: null, }, { id : 'ffd20f3c-2d43-4c6b-8021-278032fc9e92', @@ -91,30 +109,33 @@ export const notes = [ { id : '330a924f-fb51-48f6-a374-1532b1dd353d', content : 'Scarf', - completed: false + completed: false, }, { id : '781855a6-2ad2-4df4-b0af-c3cb5f302b40', content : 'A new bike helmet', - completed: true + completed: true, }, { id : 'bcb8923b-33cd-42c2-9203-170994fa24f5', content : 'Necklace', - completed: false + completed: false, }, { id : '726bdf6e-5cd7-408a-9a4f-0d7bb98c1c4b', content : 'Flowers', - completed: false - } + completed: false, + }, ], image : null, reminder : null, labels : ['f47c92e5-20b9-44d9-917f-9ff4ad25dfd0'], archived : false, - createdAt: now.set({hour: 16, minute: 4}).minus({day: 47}).toISO(), - updatedAt: null + createdAt: now.set({ + hour : 16, + minute: 4, + }).minus({day: 47}).toISO(), + updatedAt: null, }, { id : '71d223bb-abab-4183-8919-cd3600a950b4', @@ -124,35 +145,41 @@ export const notes = [ { id : 'e3cbc986-641c-4448-bc26-7ecfa0549c22', content : 'Bread', - completed: true + completed: true, }, { id : '34013111-ab2c-4b2f-9352-d2ae282f57d3', content : 'Milk', - completed: false + completed: false, }, { id : '0fbdea82-cc79-4433-8ee4-54fd542c380d', content : 'Onions', - completed: false + completed: false, }, { id : '66490222-743e-4262-ac91-773fcd98a237', content : 'Coffee', - completed: true + completed: true, }, { id : 'ab367215-d06a-48b0-a7b8-e161a63b07bd', content : 'Toilet Paper', - completed: true - } + completed: true, + }, ], image : null, - reminder : now.set({hour: 10, minute: 44}).minus({day: 35}).toISO(), + reminder : now.set({ + hour : 10, + minute: 44, + }).minus({day: 35}).toISO(), labels : ['b1cde9ee-e54d-4142-ad8b-cf55dafc9528'], archived : false, - createdAt: now.set({hour: 10, minute: 44}).minus({day: 35}).toISO(), - updatedAt: null + createdAt: now.set({ + hour : 10, + minute: 44, + }).minus({day: 35}).toISO(), + updatedAt: null, }, { id : '11fbeb98-ae5e-41ad-bed6-330886fd7906', @@ -162,38 +189,44 @@ export const notes = [ { id : '2711bac1-7d8a-443a-a4fe-506ef51d3fcb', content : 'Breakfast', - completed: true + completed: true, }, { id : 'e3a2d675-a3e5-4cef-9205-feeccaf949d7', content : 'Opening ceremony', - completed: true + completed: true, }, { id : '7a721b6d-9d85-48e0-b6c3-f927079af582', content : 'Talk 1: How we did it!', - completed: true + completed: true, }, { id : 'bdb4d5cd-5bb8-45e2-9186-abfd8307e429', content : 'Talk 2: How can you do it!', - completed: false + completed: false, }, { id : 'c8293bb4-8ab4-4310-bbc2-52ecf8ec0c54', content : 'Lunch break', - completed: false - } + completed: false, + }, ], image : null, - reminder : now.set({hour: 11, minute: 27}).minus({day: 14}).toISO(), + reminder : now.set({ + hour : 11, + minute: 27, + }).minus({day: 14}).toISO(), labels : [ 'b1cde9ee-e54d-4142-ad8b-cf55dafc9528', - 'e2f749f5-41ed-49d0-a92a-1c83d879e371' + 'e2f749f5-41ed-49d0-a92a-1c83d879e371', ], archived : false, - createdAt: now.set({hour: 11, minute: 27}).minus({day: 24}).toISO(), - updatedAt: null + createdAt: now.set({ + hour : 11, + minute: 27, + }).minus({day: 24}).toISO(), + updatedAt: null, }, { id : 'd46dee8b-8761-4b6d-a1df-449d6e6feb6a', @@ -201,11 +234,17 @@ export const notes = [ content : 'Organize the dad\'s surprise retirement party', tasks : null, image : null, - reminder : now.set({hour: 14, minute: 56}).minus({day: 25}).toISO(), + reminder : now.set({ + hour : 14, + minute: 56, + }).minus({day: 25}).toISO(), labels : ['f47c92e5-20b9-44d9-917f-9ff4ad25dfd0'], archived : false, - createdAt: now.set({hour: 14, minute: 56}).minus({day: 20}).toISO(), - updatedAt: null + createdAt: now.set({ + hour : 14, + minute: 56, + }).minus({day: 20}).toISO(), + updatedAt: null, }, { id : '6bc9f002-1675-417c-93c4-308fba39023e', @@ -216,11 +255,17 @@ export const notes = [ reminder : null, labels : [ '2dc11344-3507-48e0-83d6-1c047107f052', - 'b1cde9ee-e54d-4142-ad8b-cf55dafc9528' + 'b1cde9ee-e54d-4142-ad8b-cf55dafc9528', ], archived : false, - createdAt: now.set({hour: 9, minute: 32}).minus({day: 15}).toISO(), - updatedAt: now.set({hour: 17, minute: 6}).minus({day: 12}).toISO(), + createdAt: now.set({ + hour : 9, + minute: 32, + }).minus({day: 15}).toISO(), + updatedAt: now.set({ + hour : 17, + minute: 6, + }).minus({day: 12}).toISO(), }, { id : '15188348-78aa-4ed6-b5c2-028a214ba987', @@ -231,8 +276,11 @@ export const notes = [ reminder : null, labels : ['e2f749f5-41ed-49d0-a92a-1c83d879e371'], archived : false, - createdAt: now.set({hour: 20, minute: 5}).minus({day: 12}).toISO(), - updatedAt: null + createdAt: now.set({ + hour : 20, + minute: 5, + }).minus({day: 12}).toISO(), + updatedAt: null, }, { id : '1dbfc685-1a0a-4070-9ca7-ed896c523037', @@ -242,20 +290,26 @@ export const notes = [ { id : '004638bf-3ee6-47a5-891c-3be7b9f3df09', content : 'Wash the dishes', - completed: true + completed: true, }, { id : '86e6820b-1ae3-4c14-a13e-35605a0d654b', content : 'Walk the dog', - completed: false - } + completed: false, + }, ], image : null, - reminder : now.set({hour: 13, minute: 43}).minus({day: 2}).toISO(), + reminder : now.set({ + hour : 13, + minute: 43, + }).minus({day: 2}).toISO(), labels : ['bbc73458-940b-421c-8d5f-8dcd23a9b0d6'], archived : false, - createdAt: now.set({hour: 13, minute: 43}).minus({day: 7}).toISO(), - updatedAt: null + createdAt: now.set({ + hour : 13, + minute: 43, + }).minus({day: 7}).toISO(), + updatedAt: null, }, { id : '49548409-90a3-44d4-9a9a-f5af75aa9a66', @@ -266,11 +320,14 @@ export const notes = [ reminder : null, labels : [ 'f47c92e5-20b9-44d9-917f-9ff4ad25dfd0', - '6c288794-47eb-4605-8bdf-785b61a449d3' + '6c288794-47eb-4605-8bdf-785b61a449d3', ], archived : false, - createdAt: now.set({hour: 7, minute: 12}).minus({day: 2}).toISO(), - updatedAt: null + createdAt: now.set({ + hour : 7, + minute: 12, + }).minus({day: 2}).toISO(), + updatedAt: null, }, { id : 'c6d13a35-500d-4491-a3f3-6ca05d6632d3', @@ -281,11 +338,14 @@ export const notes = [ reminder : null, labels : [ 'bbc73458-940b-421c-8d5f-8dcd23a9b0d6', - '6c288794-47eb-4605-8bdf-785b61a449d3' + '6c288794-47eb-4605-8bdf-785b61a449d3', ], archived : true, - createdAt: now.set({hour: 17, minute: 14}).minus({day: 100}).toISO(), - updatedAt: null + createdAt: now.set({ + hour : 17, + minute: 14, + }).minus({day: 100}).toISO(), + updatedAt: null, }, { id : 'c6d13a35-500d-4491-a3f3-6ca05d6632d3', @@ -296,8 +356,11 @@ export const notes = [ reminder : null, labels : ['e2f749f5-41ed-49d0-a92a-1c83d879e371'], archived : true, - createdAt: now.set({hour: 10, minute: 29}).minus({day: 85}).toISO(), - updatedAt: null + createdAt: now.set({ + hour : 10, + minute: 29, + }).minus({day: 85}).toISO(), + updatedAt: null, }, { id : '46214383-f8e7-44da-aa2e-0b685e0c5027', @@ -308,10 +371,13 @@ export const notes = [ reminder : null, labels : [ 'e2f749f5-41ed-49d0-a92a-1c83d879e371', - 'b1cde9ee-e54d-4142-ad8b-cf55dafc9528' + 'b1cde9ee-e54d-4142-ad8b-cf55dafc9528', ], archived : true, - createdAt: now.set({hour: 15, minute: 30}).minus({day: 69}).toISO(), - updatedAt: null - } + createdAt: now.set({ + hour : 15, + minute: 30, + }).minus({day: 69}).toISO(), + updatedAt: null, + }, ]; diff --git a/src/app/mock-api/apps/scrumboard/api.ts b/src/app/mock-api/apps/scrumboard/api.ts index 4e7f246d..2514427b 100644 --- a/src/app/mock-api/apps/scrumboard/api.ts +++ b/src/app/mock-api/apps/scrumboard/api.ts @@ -1,10 +1,10 @@ import { Injectable } from '@angular/core'; -import { assign, cloneDeep } from 'lodash-es'; import { FuseMockApiService, FuseMockApiUtils } from '@fuse/lib/mock-api'; import { boards as boardsData, cards as cardsData, labels as labelsData, lists as listsData, members as membersData } from 'app/mock-api/apps/scrumboard/data'; +import { assign, cloneDeep } from 'lodash-es'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class ScrumboardMockApi { @@ -38,7 +38,8 @@ export class ScrumboardMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onGet('api/apps/scrumboard/boards') - .reply(({request}) => { + .reply(({request}) => + { // Clone the boards let boards = cloneDeep(this._boards); @@ -46,12 +47,12 @@ export class ScrumboardMockApi // Go through the boards and inject the members boards = boards.map(board => ({ ...board, - members: board.members.map(boardMember => this._members.find(member => boardMember === member.id)) + members: board.members.map(boardMember => this._members.find(member => boardMember === member.id)), })); return [ 200, - boards + boards, ]; }); @@ -60,7 +61,8 @@ export class ScrumboardMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onGet('api/apps/scrumboard/board') - .reply(({request}) => { + .reply(({request}) => + { // Get the id const id = request.params.get('id'); @@ -76,12 +78,13 @@ export class ScrumboardMockApi cards = cards.map(card => ( { ...card, - labels: card.labels.map(cardLabelId => this._labels.find(label => label.id === cardLabelId)) + labels: card.labels.map(cardLabelId => this._labels.find(label => label.id === cardLabelId)), } )); // Attach the board cards into corresponding lists - board.lists.forEach((list, index, array) => { + board.lists.forEach((list, index, array) => + { array[index].cards = cards.filter(item => item.boardId === id && item.listId === list.id).sort((a, b) => a.position - b.position); }); @@ -90,7 +93,7 @@ export class ScrumboardMockApi return [ 200, - cloneDeep(board) + cloneDeep(board), ]; }); @@ -99,7 +102,8 @@ export class ScrumboardMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPost('api/apps/scrumboard/board/list') - .reply(({request}) => { + .reply(({request}) => + { // Get the list const newList = cloneDeep(request.body.list); @@ -112,7 +116,7 @@ export class ScrumboardMockApi return [ 200, - newList + newList, ]; }); @@ -121,7 +125,8 @@ export class ScrumboardMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPatch('api/apps/scrumboard/board/list') - .reply(({request}) => { + .reply(({request}) => + { // Get the list const list = cloneDeep(request.body.list); @@ -130,7 +135,8 @@ export class ScrumboardMockApi let updatedList = null; // Find the list and update it - this._lists.forEach((item, index, lists) => { + this._lists.forEach((item, index, lists) => + { if ( item.id === list.id ) { @@ -144,7 +150,7 @@ export class ScrumboardMockApi return [ 200, - updatedList + updatedList, ]; }); @@ -153,7 +159,8 @@ export class ScrumboardMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPatch('api/apps/scrumboard/board/lists') - .reply(({request}) => { + .reply(({request}) => + { // Get the lists const lists = cloneDeep(request.body.lists); @@ -162,7 +169,8 @@ export class ScrumboardMockApi const updatedLists = []; // Go through the lists - lists.forEach((item) => { + lists.forEach((item) => + { // Find the list const index = this._lists.findIndex(list => item.id === list.id); @@ -176,7 +184,7 @@ export class ScrumboardMockApi return [ 200, - updatedLists + updatedLists, ]; }); @@ -185,7 +193,8 @@ export class ScrumboardMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onDelete('api/apps/scrumboard/board/list') - .reply(({request}) => { + .reply(({request}) => + { // Get the id const id = request.params.get('id'); @@ -199,7 +208,7 @@ export class ScrumboardMockApi return [ 200, - true + true, ]; }); @@ -208,7 +217,8 @@ export class ScrumboardMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPut('api/apps/scrumboard/board/card') - .reply(({request}) => { + .reply(({request}) => + { // Get the card const newCard = cloneDeep(request.body.card); @@ -221,7 +231,7 @@ export class ScrumboardMockApi return [ 200, - newCard + newCard, ]; }); @@ -230,7 +240,8 @@ export class ScrumboardMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPatch('api/apps/scrumboard/board/card') - .reply(({request}) => { + .reply(({request}) => + { // Get the id and card const id = request.body.id; @@ -243,7 +254,8 @@ export class ScrumboardMockApi card.labels = card.labels.map(itemLabel => itemLabel.id); // Find the card and update it - this._cards.forEach((item, index, cards) => { + this._cards.forEach((item, index, cards) => + { if ( item.id === id ) { @@ -260,7 +272,7 @@ export class ScrumboardMockApi return [ 200, - updatedCard + updatedCard, ]; }); @@ -269,7 +281,8 @@ export class ScrumboardMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPatch('api/apps/scrumboard/board/cards') - .reply(({request}) => { + .reply(({request}) => + { // Get the cards const cards = cloneDeep(request.body.cards); @@ -278,7 +291,8 @@ export class ScrumboardMockApi const updatedCards = []; // Go through the cards - cards.forEach((item) => { + cards.forEach((item) => + { // Find the card const index = this._cards.findIndex(card => item.id === card.id); @@ -298,7 +312,7 @@ export class ScrumboardMockApi return [ 200, - updatedCards + updatedCards, ]; }); @@ -307,7 +321,8 @@ export class ScrumboardMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onDelete('api/apps/scrumboard/board/card') - .reply(({request}) => { + .reply(({request}) => + { // Get the id const id = request.params.get('id'); @@ -318,7 +333,7 @@ export class ScrumboardMockApi return [ 200, - true + true, ]; }); @@ -327,13 +342,15 @@ export class ScrumboardMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPatch('api/apps/scrumboard/board/card/positions') - .reply(({request}) => { + .reply(({request}) => + { // Get the cards const cards = request.body.cards; // Go through the cards - this._cards.forEach((card) => { + this._cards.forEach((card) => + { // Find this card's index within the cards array that comes with the request // and assign that index as the new position number for the card @@ -345,7 +362,7 @@ export class ScrumboardMockApi return [ 200, - updatedCards + updatedCards, ]; }); @@ -354,7 +371,8 @@ export class ScrumboardMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onGet('api/apps/scrumboard/board/labels') - .reply(({request}) => { + .reply(({request}) => + { // Get the board id const boardId = request.params.get('boardId'); @@ -364,7 +382,7 @@ export class ScrumboardMockApi return [ 200, - cloneDeep(labels) + cloneDeep(labels), ]; }); @@ -373,7 +391,8 @@ export class ScrumboardMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPut('api/apps/scrumboard/board/label') - .reply(({request}) => { + .reply(({request}) => + { // Get the label const newLabel = cloneDeep(request.body.label); @@ -386,7 +405,7 @@ export class ScrumboardMockApi return [ 200, - newLabel + newLabel, ]; }); @@ -395,7 +414,8 @@ export class ScrumboardMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPatch('api/apps/scrumboard/board/label') - .reply(({request}) => { + .reply(({request}) => + { // Get the id and label const id = request.body.id; @@ -405,7 +425,8 @@ export class ScrumboardMockApi let updatedLabel = null; // Find the label and update it - this._labels.forEach((item, index, labels) => { + this._labels.forEach((item, index, labels) => + { if ( item.id === id ) { @@ -419,7 +440,7 @@ export class ScrumboardMockApi return [ 200, - updatedLabel + updatedLabel, ]; }); @@ -428,7 +449,8 @@ export class ScrumboardMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onDelete('api/apps/scrumboard/board/label') - .reply(({request}) => { + .reply(({request}) => + { // Get the id const id = request.params.get('id'); @@ -441,13 +463,14 @@ export class ScrumboardMockApi const cardsWithLabel = this._cards.filter(card => card.labels.indexOf(id) > -1); // Iterate through them and remove the label - cardsWithLabel.forEach((card) => { + cardsWithLabel.forEach((card) => + { card.tags.splice(card.tags.indexOf(id), 1); }); return [ 200, - true + true, ]; }); } diff --git a/src/app/mock-api/apps/scrumboard/data.ts b/src/app/mock-api/apps/scrumboard/data.ts index d7510172..bb736fb7 100644 --- a/src/app/mock-api/apps/scrumboard/data.ts +++ b/src/app/mock-api/apps/scrumboard/data.ts @@ -14,8 +14,8 @@ export const boards = [ members : [ '9c510cf3-460d-4a8c-b3be-bcc3db578c08', 'baa88231-0ee6-4028-96d5-7f187e0f4cd5', - '18bb18f3-ea7d-4465-8913-e8c9adf6f568' - ] + '18bb18f3-ea7d-4465-8913-e8c9adf6f568', + ], }, { id : '0168b519-3dab-4b46-b2ea-0e678e38a583', @@ -31,8 +31,8 @@ export const boards = [ 'fe0fec0d-002b-406f-87ab-47eb87ba577c', '23a47d2c-c6cb-40cc-af87-e946a9df5028', '6726643d-e8dc-42fa-83a6-b4ec06921a6b', - '0d1eb062-13d5-4286-b8d4-e0bea15f3d56' - ] + '0d1eb062-13d5-4286-b8d4-e0bea15f3d56', + ], }, { id : 'bc7db965-3c4f-4233-abf5-69bd70c3c175', @@ -41,35 +41,35 @@ export const boards = [ icon : 'heroicons_outline:home', lastActivity: now.startOf('day').minus({week: 1}).toISO(), members : [ - '6f6a1c34-390b-4b2e-97c8-ff0e0d787839' - ] - } + '6f6a1c34-390b-4b2e-97c8-ff0e0d787839', + ], + }, ]; export const lists = [ { id : 'a2df7786-519c-485a-a85f-c09a61cc5f37', boardId : '2c82225f-2a6c-45d3-b18a-1132712a4234', position: 65536, - title : 'To do' + title : 'To do', }, { id : '83ca2a34-65af-49c0-a42e-94a34003fcf2', boardId : '2c82225f-2a6c-45d3-b18a-1132712a4234', position: 131072, - title : 'In progress' + title : 'In progress', }, { id : 'a85ea483-f8f7-42d9-a314-3fed6aac22ab', boardId : '2c82225f-2a6c-45d3-b18a-1132712a4234', position: 196608, - title : 'In review' + title : 'In review', }, { id : '34cbef38-5687-4813-bd66-141a6df6d832', boardId : '2c82225f-2a6c-45d3-b18a-1132712a4234', position: 262144, - title : 'Completed' - } + title : 'Completed', + }, ]; export const cards = [ { @@ -84,9 +84,9 @@ export const cards = [ '51779701-818a-4a53-bc16-137c3bd7a564', 'e8364d69-9595-46ce-a0f9-ce428632a0ac', 'caff9c9b-a198-4564-b1f4-8b3df1d345bb', - 'f9eeb436-13a3-4208-a239-0d555960a567' + 'f9eeb436-13a3-4208-a239-0d555960a567', ], - dueDate : now.startOf('day').minus({day: 10}).toISO() + dueDate : now.startOf('day').minus({day: 10}).toISO(), }, { id : 'ed58add1-45a7-41db-887d-3ca7ee7f2719', @@ -95,9 +95,9 @@ export const cards = [ position: 131072, title : 'Do a research about most needed admin applications', labels : [ - 'e0175175-2784-48f1-a519-a1d2e397c9b3' + 'e0175175-2784-48f1-a519-a1d2e397c9b3', ], - dueDate : null + dueDate : null, }, { id : 'cd6897cb-acfd-4016-8b53-3f66a5b5fc68', @@ -106,9 +106,9 @@ export const cards = [ position: 196608, title : 'Implement the Project dashboard', labels : [ - 'caff9c9b-a198-4564-b1f4-8b3df1d345bb' + 'caff9c9b-a198-4564-b1f4-8b3df1d345bb', ], - dueDate : now.startOf('day').toISO() + dueDate : now.startOf('day').toISO(), }, { id : '6da8747f-b474-4c9a-9eba-5ef212285500', @@ -117,9 +117,9 @@ export const cards = [ position: 262144, title : 'Implement the Analytics dashboard', labels : [ - 'caff9c9b-a198-4564-b1f4-8b3df1d345bb' + 'caff9c9b-a198-4564-b1f4-8b3df1d345bb', ], - dueDate : now.startOf('day').minus({day: 1}).toISO() + dueDate : now.startOf('day').minus({day: 1}).toISO(), }, { id : '94fb1dee-dd83-4cca-acdd-02e96d3cc4f1', @@ -128,9 +128,9 @@ export const cards = [ position: 65536, title : 'Analytics dashboard design', labels : [ - 'e8364d69-9595-46ce-a0f9-ce428632a0ac' + 'e8364d69-9595-46ce-a0f9-ce428632a0ac', ], - dueDate : null + dueDate : null, }, { id : 'fc16f7d8-957d-43ed-ba85-20f99b5ce011', @@ -139,9 +139,9 @@ export const cards = [ position: 131072, title : 'Project dashboard design', labels : [ - 'e8364d69-9595-46ce-a0f9-ce428632a0ac' + 'e8364d69-9595-46ce-a0f9-ce428632a0ac', ], - dueDate : null + dueDate : null, }, { id : 'c0b32f1f-64ec-4f8d-8b11-a8dc809df331', @@ -150,9 +150,9 @@ export const cards = [ position: 65536, title : 'JWT Auth implementation', labels : [ - 'caff9c9b-a198-4564-b1f4-8b3df1d345bb' + 'caff9c9b-a198-4564-b1f4-8b3df1d345bb', ], - dueDate : null + dueDate : null, }, { id : '532c2747-be79-464a-9897-6a682bf22b64', @@ -161,7 +161,7 @@ export const cards = [ position: 65536, title : 'Create low fidelity wireframes', labels : [], - dueDate : null + dueDate : null, }, { id : '1d908efe-c830-476e-9e87-d06e30d89bc2', @@ -170,7 +170,7 @@ export const cards = [ position: 131072, title : 'Create high fidelity wireframes', labels : [], - dueDate : now.startOf('day').minus({day: 10}).toISO() + dueDate : now.startOf('day').minus({day: 10}).toISO(), }, { id : 'b1da11ed-7896-4826-962d-4b7b718896d4', @@ -179,9 +179,9 @@ export const cards = [ position: 196608, title : 'Collect information about most used admin layouts', labels : [ - 'e0175175-2784-48f1-a519-a1d2e397c9b3' + 'e0175175-2784-48f1-a519-a1d2e397c9b3', ], - dueDate : null + dueDate : null, }, { id : '3b7f3ceb-107f-42bc-a204-c268c9a56cb4', @@ -190,9 +190,9 @@ export const cards = [ position: 262144, title : 'Do a research about latest UI trends', labels : [ - 'e0175175-2784-48f1-a519-a1d2e397c9b3' + 'e0175175-2784-48f1-a519-a1d2e397c9b3', ], - dueDate : null + dueDate : null, }, { id : 'cd7f01c5-a941-4076-8cef-37da0354e643', @@ -201,137 +201,137 @@ export const cards = [ position: 327680, title : 'Learn more about UX', labels : [ - 'e0175175-2784-48f1-a519-a1d2e397c9b3' + 'e0175175-2784-48f1-a519-a1d2e397c9b3', ], - dueDate : null - } + dueDate : null, + }, ]; export const labels = [ { id : 'e0175175-2784-48f1-a519-a1d2e397c9b3', boardId: '2c82225f-2a6c-45d3-b18a-1132712a4234', - title : 'Research' + title : 'Research', }, { id : '51779701-818a-4a53-bc16-137c3bd7a564', boardId: '2c82225f-2a6c-45d3-b18a-1132712a4234', - title : 'Wireframing' + title : 'Wireframing', }, { id : 'e8364d69-9595-46ce-a0f9-ce428632a0ac', boardId: '2c82225f-2a6c-45d3-b18a-1132712a4234', - title : 'Design' + title : 'Design', }, { id : 'caff9c9b-a198-4564-b1f4-8b3df1d345bb', boardId: '2c82225f-2a6c-45d3-b18a-1132712a4234', - title : 'Development' + title : 'Development', }, { id : 'f9eeb436-13a3-4208-a239-0d555960a567', boardId: '2c82225f-2a6c-45d3-b18a-1132712a4234', - title : 'Bug' - } + title : 'Bug', + }, ]; export const members = [ { id : '6f6a1c34-390b-4b2e-97c8-ff0e0d787839', name : 'Angeline Vinson', - avatar: 'assets/images/avatars/female-01.jpg' + avatar: 'assets/images/avatars/female-01.jpg', }, { id : '4ce4be48-c8c0-468d-9df8-ddfda14cdb37', name : 'Roseann Greer', - avatar: 'assets/images/avatars/female-02.jpg' + avatar: 'assets/images/avatars/female-02.jpg', }, { id : '9c510cf3-460d-4a8c-b3be-bcc3db578c08', name : 'Lorraine Barnett', - avatar: 'assets/images/avatars/female-03.jpg' + avatar: 'assets/images/avatars/female-03.jpg', }, { id : '7ec887d9-b01a-4057-b5dc-aaed18637cc1', name : 'Middleton Bradford', - avatar: 'assets/images/avatars/male-01.jpg' + avatar: 'assets/images/avatars/male-01.jpg', }, { id : '74975a82-addb-427b-9b43-4d2e03331b68', name : 'Sue Hays', - avatar: 'assets/images/avatars/female-04.jpg' + avatar: 'assets/images/avatars/female-04.jpg', }, { id : '18bb18f3-ea7d-4465-8913-e8c9adf6f568', name : 'Keith Neal', - avatar: 'assets/images/avatars/male-02.jpg' + avatar: 'assets/images/avatars/male-02.jpg', }, { id : 'baa88231-0ee6-4028-96d5-7f187e0f4cd5', name : 'Wilkins Gilmore', - avatar: 'assets/images/avatars/male-03.jpg' + avatar: 'assets/images/avatars/male-03.jpg', }, { id : '0d1eb062-13d5-4286-b8d4-e0bea15f3d56', name : 'Baldwin Stein', - avatar: 'assets/images/avatars/male-04.jpg' + avatar: 'assets/images/avatars/male-04.jpg', }, { id : '5bf7ed5b-8b04-46b7-b364-005958b7d82e', name : 'Bobbie Cohen', - avatar: 'assets/images/avatars/female-05.jpg' + avatar: 'assets/images/avatars/female-05.jpg', }, { id : '93b1a72b-e2db-4f77-82d6-272047433508', name : 'Melody Peters', - avatar: 'assets/images/avatars/female-06.jpg' + avatar: 'assets/images/avatars/female-06.jpg', }, { id : 'd1f612e6-3e3b-481f-a8a9-f917e243b06e', name : 'Marquez Ryan', - avatar: 'assets/images/avatars/male-05.jpg' + avatar: 'assets/images/avatars/male-05.jpg', }, { id : '79ebb9ee-1e57-4706-810c-03edaec8f56d', name : 'Roberta Briggs', - avatar: 'assets/images/avatars/female-07.jpg' + avatar: 'assets/images/avatars/female-07.jpg', }, { id : '6726643d-e8dc-42fa-83a6-b4ec06921a6b', name : 'Robbie Buckley', - avatar: 'assets/images/avatars/female-08.jpg' + avatar: 'assets/images/avatars/female-08.jpg', }, { id : '8af617d7-898e-4992-beda-d5ac1d7ceda4', name : 'Garcia Whitney', - avatar: 'assets/images/avatars/male-06.jpg' + avatar: 'assets/images/avatars/male-06.jpg', }, { id : 'bcff44c4-9943-4adc-9049-08b1d922a658', name : 'Spencer Pate', - avatar: 'assets/images/avatars/male-07.jpg' + avatar: 'assets/images/avatars/male-07.jpg', }, { id : '54160ca2-29c9-4475-88a1-31a9307ad913', name : 'Monica Mcdaniel', - avatar: 'assets/images/avatars/female-09.jpg' + avatar: 'assets/images/avatars/female-09.jpg', }, { id : '51286603-3a43-444e-9242-f51fe57d5363', name : 'Mcmillan Durham', - avatar: 'assets/images/avatars/male-08.jpg' + avatar: 'assets/images/avatars/male-08.jpg', }, { id : '319ecb5b-f99c-4ee4-81b2-3aeffd1d4735', name : 'Jeoine Hebert', - avatar: 'assets/images/avatars/female-10.jpg' + avatar: 'assets/images/avatars/female-10.jpg', }, { id : 'fe0fec0d-002b-406f-87ab-47eb87ba577c', name : 'Susanna Kline', - avatar: 'assets/images/avatars/female-11.jpg' + avatar: 'assets/images/avatars/female-11.jpg', }, { id : '23a47d2c-c6cb-40cc-af87-e946a9df5028', name : 'Suzette Singleton', - avatar: 'assets/images/avatars/female-12.jpg' - } + avatar: 'assets/images/avatars/female-12.jpg', + }, ]; diff --git a/src/app/mock-api/apps/tasks/api.ts b/src/app/mock-api/apps/tasks/api.ts index 015a5d59..6c4f8a35 100644 --- a/src/app/mock-api/apps/tasks/api.ts +++ b/src/app/mock-api/apps/tasks/api.ts @@ -1,11 +1,11 @@ import { Injectable } from '@angular/core'; -import { assign, cloneDeep } from 'lodash-es'; -import { FuseMockApiUtils } from '@fuse/lib/mock-api/mock-api.utils'; import { FuseMockApiService } from '@fuse/lib/mock-api/mock-api.service'; +import { FuseMockApiUtils } from '@fuse/lib/mock-api/mock-api.utils'; import { tags as tagsData, tasks as tasksData } from 'app/mock-api/apps/tasks/data'; +import { assign, cloneDeep } from 'lodash-es'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class TasksMockApi { @@ -37,7 +37,7 @@ export class TasksMockApi .onGet('api/apps/tasks/tags') .reply(() => [ 200, - cloneDeep(this._tags) + cloneDeep(this._tags), ]); // ----------------------------------------------------------------------------------------------------- @@ -45,7 +45,8 @@ export class TasksMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPost('api/apps/tasks/tag') - .reply(({request}) => { + .reply(({request}) => + { // Get the tag const newTag = cloneDeep(request.body.tag); @@ -58,7 +59,7 @@ export class TasksMockApi return [ 200, - newTag + newTag, ]; }); @@ -67,7 +68,8 @@ export class TasksMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPatch('api/apps/tasks/tag') - .reply(({request}) => { + .reply(({request}) => + { // Get the id and tag const id = request.body.id; @@ -77,7 +79,8 @@ export class TasksMockApi let updatedTag = null; // Find the tag and update it - this._tags.forEach((item, index, tags) => { + this._tags.forEach((item, index, tags) => + { if ( item.id === id ) { @@ -91,7 +94,7 @@ export class TasksMockApi return [ 200, - updatedTag + updatedTag, ]; }); @@ -100,7 +103,8 @@ export class TasksMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onDelete('api/apps/tasks/tag') - .reply(({request}) => { + .reply(({request}) => + { // Get the id const id = request.params.get('id'); @@ -113,13 +117,14 @@ export class TasksMockApi const tasksWithTag = this._tasks.filter(task => task.tags.indexOf(id) > -1); // Iterate through them and remove the tag - tasksWithTag.forEach((task) => { + tasksWithTag.forEach((task) => + { task.tags.splice(task.tags.indexOf(id), 1); }); return [ 200, - true + true, ]; }); @@ -128,7 +133,8 @@ export class TasksMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onGet('api/apps/tasks/all') - .reply(() => { + .reply(() => + { // Clone the tasks const tasks = cloneDeep(this._tasks); @@ -138,7 +144,7 @@ export class TasksMockApi return [ 200, - tasks + tasks, ]; }); @@ -147,7 +153,8 @@ export class TasksMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onGet('api/apps/tasks/search') - .reply(({request}) => { + .reply(({request}) => + { // Get the search query const query = request.params.get('query'); @@ -163,10 +170,11 @@ export class TasksMockApi // Filter the tasks tasks = tasks.filter(task => task.title && task.title.toLowerCase().includes(query.toLowerCase()) || task.notes && task.notes.toLowerCase() - .includes(query.toLowerCase())); + .includes(query.toLowerCase())); // Mark the found chars - tasks.forEach((task) => { + tasks.forEach((task) => + { const re = new RegExp('(' + query.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&') + ')', 'ig'); task.title = task.title.replace(re, '$1'); }); @@ -182,7 +190,7 @@ export class TasksMockApi return [ 200, - results + results, ]; }); @@ -191,13 +199,15 @@ export class TasksMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPatch('api/apps/tasks/order') - .reply(({request}) => { + .reply(({request}) => + { // Get the tasks const tasks = request.body.tasks; // Go through the tasks - this._tasks.forEach((task) => { + this._tasks.forEach((task) => + { // Find this task's index within the tasks array that comes with the request // and assign that index as the new order number for the task @@ -209,7 +219,7 @@ export class TasksMockApi return [ 200, - updatedTasks + updatedTasks, ]; }); @@ -218,7 +228,8 @@ export class TasksMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onGet('api/apps/tasks/task') - .reply(({request}) => { + .reply(({request}) => + { // Get the id from the params const id = request.params.get('id'); @@ -231,7 +242,7 @@ export class TasksMockApi return [ 200, - task + task, ]; }); @@ -240,7 +251,8 @@ export class TasksMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPost('api/apps/tasks/task') - .reply(({request}) => { + .reply(({request}) => + { // Generate a new task const newTask = { @@ -252,20 +264,21 @@ export class TasksMockApi dueDate : null, priority : 1, tags : [], - order : 0 + order : 0, }; // Unshift the new task this._tasks.unshift(newTask); // Go through the tasks and update their order numbers - this._tasks.forEach((task, index) => { + this._tasks.forEach((task, index) => + { task.order = index; }); return [ 200, - newTask + newTask, ]; }); @@ -274,7 +287,8 @@ export class TasksMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPatch('api/apps/tasks/task') - .reply(({request}) => { + .reply(({request}) => + { // Get the id and task const id = request.body.id; @@ -284,7 +298,8 @@ export class TasksMockApi let updatedTask = null; // Find the task and update it - this._tasks.forEach((item, index, tasks) => { + this._tasks.forEach((item, index, tasks) => + { if ( item.id === id ) { @@ -298,7 +313,7 @@ export class TasksMockApi return [ 200, - updatedTask + updatedTask, ]; }); @@ -307,7 +322,8 @@ export class TasksMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onDelete('api/apps/tasks/task') - .reply(({request}) => { + .reply(({request}) => + { // Get the id const id = request.params.get('id'); @@ -318,7 +334,7 @@ export class TasksMockApi return [ 200, - true + true, ]; }); } diff --git a/src/app/mock-api/apps/tasks/data.ts b/src/app/mock-api/apps/tasks/data.ts index 44ddf93d..14915298 100644 --- a/src/app/mock-api/apps/tasks/data.ts +++ b/src/app/mock-api/apps/tasks/data.ts @@ -2,130 +2,130 @@ export const tags = [ { id : 'a0bf42ca-c3a5-47be-8341-b9c0bb8ef270', - title: 'Api' + title: 'Api', }, { id : 'c6058d0d-a4b0-4453-986a-9d249ec230b1', - title: 'Frontend' + title: 'Frontend', }, { id : 'd3ef4226-ef2c-43b0-a986-3e3e07f32799', - title: 'Bug' + title: 'Bug', }, { id : '51483dd3-cb98-4400-9128-4bd66b455807', - title: 'Backend' + title: 'Backend', }, { id : '91658b8a-f382-4b0c-a53f-e9390351c2c5', - title: 'Urgent' + title: 'Urgent', }, { id : '2b884143-419a-45ca-a7f6-48f99f4e7798', - title: 'Discuss' - } + title: 'Discuss', + }, ]; export const members = [ { id : '65f1c421-83c5-4cdf-99da-d97794328679', name : 'Angeline Vinson', - avatar: 'assets/images/avatars/female-01.jpg' + avatar: 'assets/images/avatars/female-01.jpg', }, { id : '88a2a76c-0e6f-49da-b617-46d7c3b6e64d', name : 'Roseann Greer', - avatar: 'assets/images/avatars/female-02.jpg' + avatar: 'assets/images/avatars/female-02.jpg', }, { id : '6ab7751e-6579-40af-9171-231c0fd6a993', name : 'Lorraine Barnett', - avatar: 'assets/images/avatars/female-03.jpg' + avatar: 'assets/images/avatars/female-03.jpg', }, { id : '3e353312-6a9b-46af-adda-5061b06e806b', name : 'Middleton Bradford', - avatar: 'assets/images/avatars/male-01.jpg' + avatar: 'assets/images/avatars/male-01.jpg', }, { id : '3a23baf7-2db8-4ef5-8d49-86d3e708dff5', name : 'Sue Hays', - avatar: 'assets/images/avatars/female-04.jpg' + avatar: 'assets/images/avatars/female-04.jpg', }, { id : 'e62ab50e-90d3-4ed7-a911-093bb44d0c50', name : 'Keith Neal', - avatar: 'assets/images/avatars/male-02.jpg' + avatar: 'assets/images/avatars/male-02.jpg', }, { id : '368aab1e-ebce-43ba-8925-4cf13937867b', name : 'Wilkins Gilmore', - avatar: 'assets/images/avatars/male-03.jpg' + avatar: 'assets/images/avatars/male-03.jpg', }, { id : 'ef44b39b-3272-45f5-a15e-264c3b2d118e', name : 'Baldwin Stein', - avatar: 'assets/images/avatars/male-04.jpg' + avatar: 'assets/images/avatars/male-04.jpg', }, { id : '7f5db993-ec36-412f-9db3-16d076a98807', name : 'Bobbie Cohen', - avatar: 'assets/images/avatars/female-05.jpg' + avatar: 'assets/images/avatars/female-05.jpg', }, { id : 'e2c81627-a8a1-4bbc-9adc-ac4281e040d4', name : 'Melody Peters', - avatar: 'assets/images/avatars/female-06.jpg' + avatar: 'assets/images/avatars/female-06.jpg', }, { id : 'a21ec32e-54ba-480b-afdc-d1cbe18a96fd', name : 'Marquez Ryan', - avatar: 'assets/images/avatars/male-05.jpg' + avatar: 'assets/images/avatars/male-05.jpg', }, { id : '45e09584-1a54-40e6-8210-1de4d1c05593', name : 'Roberta Briggs', - avatar: 'assets/images/avatars/female-07.jpg' + avatar: 'assets/images/avatars/female-07.jpg', }, { id : '6617b0a3-0ccd-44ea-af78-c6633115d683', name : 'Robbie Buckley', - avatar: 'assets/images/avatars/female-08.jpg' + avatar: 'assets/images/avatars/female-08.jpg', }, { id : '271e6a06-0d37-433d-bc8d-607b12bcbed9', name : 'Garcia Whitney', - avatar: 'assets/images/avatars/male-06.jpg' + avatar: 'assets/images/avatars/male-06.jpg', }, { id : '65e15136-5168-4655-8bbc-e3ad8a94bf67', name : 'Spencer Pate', - avatar: 'assets/images/avatars/male-07.jpg' + avatar: 'assets/images/avatars/male-07.jpg', }, { id : '28dcda24-812d-4086-9638-b28bd85beecc', name : 'Monica Mcdaniel', - avatar: 'assets/images/avatars/female-09.jpg' + avatar: 'assets/images/avatars/female-09.jpg', }, { id : '56a3e7ce-01da-43fc-ab9f-a8a39fa980de', name : 'Mcmillan Durham', - avatar: 'assets/images/avatars/male-08.jpg' + avatar: 'assets/images/avatars/male-08.jpg', }, { id : '4d24cf48-a322-4d53-89cb-9140dfd5c6ba', name : 'Jfuseine Hebert', - avatar: 'assets/images/avatars/female-10.jpg' + avatar: 'assets/images/avatars/female-10.jpg', }, { id : 'b2e97a96-2f15-4e3d-aff5-4ddf2af924d4', name : 'Susanna Kline', - avatar: 'assets/images/avatars/female-11.jpg' + avatar: 'assets/images/avatars/female-11.jpg', }, { id : '4678ad07-e057-48a9-a5d1-3cf98e722eeb', name : 'Suzette Singleton', - avatar: 'assets/images/avatars/female-12.jpg' - } + avatar: 'assets/images/avatars/female-12.jpg', + }, ]; export const tasks = [ { @@ -138,22 +138,22 @@ export const tasks = [ priority : 1, tags : [ '91658b8a-f382-4b0c-a53f-e9390351c2c5', - '51483dd3-cb98-4400-9128-4bd66b455807' + '51483dd3-cb98-4400-9128-4bd66b455807', ], assignedTo: null, subTasks : [ { id : '2768a969-a316-449b-bf82-93cff4252cbf', title : 'Minim irure fugiat ullamco irure', - completed: false + completed: false, }, { id : '6cc5ac8f-3a02-47e6-ad4b-0bd0222e2717', title : 'Sint velit ex in adipisicing fugiat', - completed: false - } + completed: false, + }, ], - order : 0 + order : 0, }, { id : '0fcece82-1691-4b98-a9b9-b63218f9deef', @@ -166,7 +166,7 @@ export const tasks = [ tags : [], assignedTo: 'e2c81627-a8a1-4bbc-9adc-ac4281e040d4', subTasks : [], - order : 1 + order : 1, }, { id : '2e6971cd-49d5-49f1-8cbd-fba5c71e6062', @@ -179,22 +179,22 @@ export const tasks = [ tags : [ 'c6058d0d-a4b0-4453-986a-9d249ec230b1', '2b884143-419a-45ca-a7f6-48f99f4e7798', - '91658b8a-f382-4b0c-a53f-e9390351c2c5' + '91658b8a-f382-4b0c-a53f-e9390351c2c5', ], assignedTo: '88a2a76c-0e6f-49da-b617-46d7c3b6e64d', subTasks : [ { id : 'b9566b52-82cd-4d2a-b9b6-240c6b44e52b', title : 'Nulla officia elit adipisicing', - completed: false + completed: false, }, { id : '76f4dc8d-4803-4d98-b461-367a1d3746a8', title : 'Magna nisi ut aliquip aliquip amet deserunt', - completed: false - } + completed: false, + }, ], - order : 2 + order : 2, }, { id : '974f93b8-336f-4eec-b011-9ddb412ee828', @@ -205,32 +205,32 @@ export const tasks = [ dueDate : null, priority : 2, tags : [ - 'a0bf42ca-c3a5-47be-8341-b9c0bb8ef270' + 'a0bf42ca-c3a5-47be-8341-b9c0bb8ef270', ], assignedTo: null, subTasks : [ { id : '8e9644dc-0815-4258-8a08-4ce8d9912ec0', title : 'Adipisicing aliquip voluptate veniam', - completed: false + completed: false, }, { id : 'fc0f2283-3802-4ebe-b164-774bc2b84549', title : 'Magna amet adipisicing velit nisi est', - completed: false + completed: false, }, { id : '8a74b56f-14c0-4700-b737-8ccfa912f4b6', title : 'Eiusmod dolore voluptate excepteur ipsum nostrud', - completed: false + completed: false, }, { id : '439ed5b7-156d-414a-ba20-ce779e3ec037', title : 'Laborum adipisicing quis culpa amet', - completed: true - } + completed: true, + }, ], - order : 3 + order : 3, }, { id : '5d877fc7-b881-4527-a6aa-d39d642feb23', @@ -241,22 +241,22 @@ export const tasks = [ dueDate : null, priority : 1, tags : [ - '51483dd3-cb98-4400-9128-4bd66b455807' + '51483dd3-cb98-4400-9128-4bd66b455807', ], assignedTo: '4678ad07-e057-48a9-a5d1-3cf98e722eeb', subTasks : [ { id : 'b076c673-7d76-43b5-aaca-d0c496f397e5', title : 'Esse dolore nostrud lorem consectetur', - completed: false + completed: false, }, { id : 'a01522ff-07fa-4fbd-a168-47802446b705', title : 'Lorem velit voluptate laborum ad', - completed: false - } + completed: false, + }, ], - order : 4 + order : 4, }, { id : '3d1c26c5-1e5e-4eb6-8006-ed6037ed9aca', @@ -267,11 +267,11 @@ export const tasks = [ dueDate : '2018-09-29T19:30:45.325Z', priority : 1, tags : [ - 'c6058d0d-a4b0-4453-986a-9d249ec230b1' + 'c6058d0d-a4b0-4453-986a-9d249ec230b1', ], assignedTo: '6617b0a3-0ccd-44ea-af78-c6633115d683', subTasks : [], - order : 5 + order : 5, }, { id : '11bd2b9a-85b4-41c9-832c-bd600dfa3a52', @@ -287,10 +287,10 @@ export const tasks = [ { id : '9cd8eba8-7c41-4230-9d80-f71f7ed1cfe9', title : 'Eu exercitation proident dolore velit', - completed: true - } + completed: true, + }, ], - order : 6 + order : 6, }, { id : 'f55c023a-785e-4f0f-b5b7-47da75224deb', @@ -306,25 +306,25 @@ export const tasks = [ { id : 'cdb08aa2-980d-48c6-b15c-7970775b7b5a', title : 'Veniam magna minim duis', - completed: true + completed: true, }, { id : 'dc19e213-687e-4391-8b61-9aabed2fb288', title : 'Eu dolore et adipisicing commodo adipisicing consequat', - completed: false + completed: false, }, { id : '7e365400-59b9-4ec9-b397-8bf40de56ec4', title : 'Do culpa quis consequat cupidatat', - completed: true + completed: true, }, { id : '1a0f98b0-dfc4-4ac9-b8f5-ce322da2a849', title : 'Est duis do sunt esse magna ex', - completed: true - } + completed: true, + }, ], - order : 7 + order : 7, }, { id : 'c577a67d-357a-4b88-96e8-a0ee1fe9162e', @@ -336,22 +336,22 @@ export const tasks = [ priority : 1, tags : [ 'c6058d0d-a4b0-4453-986a-9d249ec230b1', - 'a0bf42ca-c3a5-47be-8341-b9c0bb8ef270' + 'a0bf42ca-c3a5-47be-8341-b9c0bb8ef270', ], assignedTo: 'a21ec32e-54ba-480b-afdc-d1cbe18a96fd', subTasks : [ { id : 'b1849778-a69c-46ad-8373-99aa6a655965', title : 'Ipsum ipsum occaecat nulla', - completed: true + completed: true, }, { id : '8325f17a-2af0-4f64-b043-8ffdaaa62408', title : 'Quis proident amet id non nulla', - completed: true - } + completed: true, + }, ], - order : 8 + order : 8, }, { id : '1a680c29-7ece-4a80-9709-277ad4da8b4b', @@ -363,11 +363,11 @@ export const tasks = [ priority : 2, tags : [ 'a0bf42ca-c3a5-47be-8341-b9c0bb8ef270', - '2b884143-419a-45ca-a7f6-48f99f4e7798' + '2b884143-419a-45ca-a7f6-48f99f4e7798', ], assignedTo: '3e353312-6a9b-46af-adda-5061b06e806b', subTasks : [], - order : 9 + order : 9, }, { id : 'c49c2216-8bdb-4df0-be25-d5ea1dbb5688', @@ -378,17 +378,17 @@ export const tasks = [ dueDate : '2019-08-10T06:18:17.785Z', priority : 1, tags : [ - 'a0bf42ca-c3a5-47be-8341-b9c0bb8ef270' + 'a0bf42ca-c3a5-47be-8341-b9c0bb8ef270', ], assignedTo: '368aab1e-ebce-43ba-8925-4cf13937867b', subTasks : [ { id : '756ceee7-a9b2-45b6-9f22-5be974da7cf5', title : 'Irure incididunt adipisicing consectetur enim', - completed: false - } + completed: false, + }, ], - order : 10 + order : 10, }, { id : '3ef176fa-6cba-4536-9f43-540c686a4faa', @@ -399,37 +399,37 @@ export const tasks = [ dueDate : '2024-08-23T14:33:06.227Z', priority : 2, tags : [ - '91658b8a-f382-4b0c-a53f-e9390351c2c5' + '91658b8a-f382-4b0c-a53f-e9390351c2c5', ], assignedTo: '271e6a06-0d37-433d-bc8d-607b12bcbed9', subTasks : [ { id : '35b06803-2019-4025-b642-841e44de7571', title : 'Reprehenderit et eiusmod do consectetur ipsum', - completed: false + completed: false, }, { id : '7ec47bbc-e644-45ae-84e3-de36ee35a22b', title : 'Officia lorem tempor occaecat fugiat elit elit', - completed: false + completed: false, }, { id : 'b4560302-7bed-412c-8e43-a5ce0bce5eed', title : 'Incididunt commodo amet fugiat nulla et', - completed: false + completed: false, }, { id : '494bfcac-44ee-46db-add2-0e5dbc3952c4', title : 'Enim ipsum fugiat ipsum aute quis', - completed: true + completed: true, }, { id : 'ffa45bc0-4466-4584-891a-0f75e39766c1', title : 'Esse excepteur commodo ullamco', - completed: true - } + completed: true, + }, ], - order : 11 + order : 11, }, { id : '7bc6b7b4-7ad8-4cbe-af36-7301642d35fb', @@ -442,37 +442,37 @@ export const tasks = [ tags : [ '51483dd3-cb98-4400-9128-4bd66b455807', 'd3ef4226-ef2c-43b0-a986-3e3e07f32799', - 'a0bf42ca-c3a5-47be-8341-b9c0bb8ef270' + 'a0bf42ca-c3a5-47be-8341-b9c0bb8ef270', ], assignedTo: '4d24cf48-a322-4d53-89cb-9140dfd5c6ba', subTasks : [ { id : 'a72f756b-e1db-4492-96b9-93785400e8bb', title : 'Amet eiusmod consequat non culpa', - completed: false + completed: false, }, { id : '07fb282a-141a-4014-96d2-030894a6e211', title : 'Nulla laboris veniam qui et nostrud enim', - completed: false + completed: false, }, { id : '40629855-8ba8-4590-9ebe-2e2ff3f20820', title : 'Est est nulla cillum aliquip duis ipsum', - completed: true + completed: true, }, { id : '96e283b2-cd3e-4ab9-9770-07247691304b', title : 'Non elit tempor commodo enim laboris', - completed: true + completed: true, }, { id : '95c6a48a-4e42-4909-8c25-0fafd62aeefa', title : 'Proident est anim do laborum nostrud', - completed: false - } + completed: false, + }, ], - order : 12 + order : 12, }, { id : '56c9ed66-a1d2-4803-a160-fba29b826cb4', @@ -483,37 +483,37 @@ export const tasks = [ dueDate : '2023-09-15T15:12:36.910Z', priority : 0, tags : [ - '2b884143-419a-45ca-a7f6-48f99f4e7798' + '2b884143-419a-45ca-a7f6-48f99f4e7798', ], assignedTo: '3a23baf7-2db8-4ef5-8d49-86d3e708dff5', subTasks : [ { id : 'f1890ef6-89ed-47ca-a124-8305d7fe71fd', title : 'Sit eu aliqua et et', - completed: true + completed: true, }, { id : '647f63b9-27b8-4d65-8e09-874ef5a48573', title : 'Voluptate esse cillum commodo', - completed: true + completed: true, }, { id : '2934f015-1fd1-41c0-8b5a-d7adb5c50553', title : 'Qui commodo fugiat eiusmod sint anim', - completed: true + completed: true, }, { id : 'f964fc8d-662c-4586-a39f-dab6674f2760', title : 'Consequat nulla anim velit reprehenderit', - completed: false + completed: false, }, { id : 'ab3dd1a9-a9fb-4864-8630-da270cf71ee5', title : 'Adipisicing officia ex laboris', - completed: true - } + completed: true, + }, ], - order : 13 + order : 13, }, { id : '21c1b662-33c8-44d7-9530-91896afeeac7', @@ -529,25 +529,25 @@ export const tasks = [ { id : 'e5fece14-cc26-40df-9319-23568cf89662', title : 'Tempor qui eiusmod et', - completed: false + completed: false, }, { id : '30e6117d-e2a2-4f97-a674-19a554a94829', title : 'Tempor magna eu dolore aliquip', - completed: false + completed: false, }, { id : 'a5dd7270-1bc7-4b2b-abf0-9366eaca972d', title : 'Lorem duis esse commodo', - completed: false + completed: false, }, { id : '40ffd839-046f-4272-9232-5391d62477f7', title : 'Minim aute eu ut id', - completed: false - } + completed: false, + }, ], - order : 14 + order : 14, }, { id : '5fa52c90-82be-41ae-96ec-5fc67cf054a4', @@ -558,27 +558,27 @@ export const tasks = [ dueDate : '2019-10-13T08:25:17.064Z', priority : 0, tags : [ - '2b884143-419a-45ca-a7f6-48f99f4e7798' + '2b884143-419a-45ca-a7f6-48f99f4e7798', ], assignedTo: 'b2e97a96-2f15-4e3d-aff5-4ddf2af924d4', subTasks : [ { id : '2ef107fb-3c21-4801-861f-abaf4fd6def0', title : 'Voluptate qui excepteur id in', - completed: true + completed: true, }, { id : '0afb4ebf-fcc7-47dc-8351-a88cb47c39ee', title : 'Laborum ipsum aute nisi anim', - completed: false + completed: false, }, { id : '2f22bff2-72be-4ff5-b037-c3bf0f1d5637', title : 'Amet duis velit sunt non', - completed: false - } + completed: false, + }, ], - order : 15 + order : 15, }, { id : 'b6d8909f-f36d-4885-8848-46b8230d4476', @@ -589,11 +589,11 @@ export const tasks = [ dueDate : '2020-02-03T05:39:30.880Z', priority : 1, tags : [ - '2b884143-419a-45ca-a7f6-48f99f4e7798' + '2b884143-419a-45ca-a7f6-48f99f4e7798', ], assignedTo: '65e15136-5168-4655-8bbc-e3ad8a94bf67', subTasks : [], - order : 16 + order : 16, }, { id : '9496235d-4d0c-430b-817e-1cba96404f95', @@ -609,20 +609,20 @@ export const tasks = [ { id : '9e710568-306f-47f9-b397-5634dc7a1a52', title : 'Lorem excepteur non anim non exercitation fugiat', - completed: true + completed: true, }, { id : 'bd10d3d5-22d1-467d-aa6b-431d23203f51', title : 'Nulla non in occaecat nulla', - completed: false + completed: false, }, { id : '0a768b47-7248-4000-a201-e51f86401317', title : 'Dolor qui deserunt duis enim do veniam', - completed: true - } + completed: true, + }, ], - order : 17 + order : 17, }, { id : '7fde17e6-4ac1-47dd-a363-2f4f14dcf76a', @@ -636,27 +636,27 @@ export const tasks = [ '2b884143-419a-45ca-a7f6-48f99f4e7798', '91658b8a-f382-4b0c-a53f-e9390351c2c5', 'c6058d0d-a4b0-4453-986a-9d249ec230b1', - 'a0bf42ca-c3a5-47be-8341-b9c0bb8ef270' + 'a0bf42ca-c3a5-47be-8341-b9c0bb8ef270', ], assignedTo: '88a2a76c-0e6f-49da-b617-46d7c3b6e64d', subTasks : [ { id : 'f82708c3-2b58-4ac0-b58c-164c0804c631', title : 'Mollit laborum tempor lorem cupidatat dolore nostrud', - completed: true + completed: true, }, { id : '0017121e-79fc-403c-bb1c-84dc28f79e06', title : 'Nisi sint sint et et ad', - completed: true + completed: true, }, { id : '9073242a-5be6-487a-9e50-ea298700af79', title : 'Duis nulla ad magna', - completed: false - } + completed: false, + }, ], - order : 18 + order : 18, }, { id : '90a3ed58-e13b-40cf-9219-f933bf9c9b8f', @@ -667,22 +667,22 @@ export const tasks = [ dueDate : '2023-10-04T15:48:16.507Z', priority : 1, tags : [ - 'd3ef4226-ef2c-43b0-a986-3e3e07f32799' + 'd3ef4226-ef2c-43b0-a986-3e3e07f32799', ], assignedTo: null, subTasks : [ { id : 'eaab24ed-cf9e-4ee7-b7ff-acd8f62f617a', title : 'Eiusmod nulla enim laborum deserunt in', - completed: false + completed: false, }, { id : '700d067c-c5be-4532-95e3-ba575effae7c', title : 'Sunt sint ea est commodo id', - completed: false - } + completed: false, + }, ], - order : 19 + order : 19, }, { id : '81ac908c-35a2-4705-8d75-539863c35c09', @@ -693,17 +693,17 @@ export const tasks = [ dueDate : '2024-02-01T10:02:52.745Z', priority : 1, tags : [ - 'a0bf42ca-c3a5-47be-8341-b9c0bb8ef270' + 'a0bf42ca-c3a5-47be-8341-b9c0bb8ef270', ], assignedTo: '368aab1e-ebce-43ba-8925-4cf13937867b', subTasks : [ { id : '651a87c6-4376-42c4-9dfd-fad7525e7eb3', title : 'Aliqua est excepteur excepteur deserunt id', - completed: true - } + completed: true, + }, ], - order : 20 + order : 20, }, { id : '153376ed-691f-4dfd-ae99-e204a49edc44', @@ -716,7 +716,7 @@ export const tasks = [ tags : [], assignedTo: '65f1c421-83c5-4cdf-99da-d97794328679', subTasks : [], - order : 21 + order : 21, }, { id : '1ebde495-1bcd-4e8f-b6f6-cf63b521ad06', @@ -732,15 +732,15 @@ export const tasks = [ { id : 'c5a8b915-0b0f-4dd3-a1a3-e538fa191747', title : 'Adipisicing do minim voluptate', - completed: true + completed: true, }, { id : '52b50615-0d80-42b6-97cb-1b71eaec1632', title : 'Et eiusmod est adipisicing officia', - completed: true - } + completed: true, + }, ], - order : 22 + order : 22, }, { id : '4e7ce72f-863a-451f-9160-cbd4fbbc4c3d', @@ -756,25 +756,25 @@ export const tasks = [ { id : '654c9b65-6f94-4ae7-bf11-27f979cc670e', title : 'Esse exercitation cillum ex', - completed: false + completed: false, }, { id : '3c49aba9-1e83-471f-b8b8-21cc7d20292e', title : 'Duis sunt commodo fugiat irure minim', - completed: false + completed: false, }, { id : '4fcb2e0b-677c-4915-978d-70e82b16745a', title : 'Anim in qui ut', - completed: false + completed: false, }, { id : 'dd864dea-61d2-4fb0-b433-286993b6ad08', title : 'Reprehenderit irure exercitation occaecat', - completed: true - } + completed: true, + }, ], - order : 23 + order : 23, }, { id : '0795a74f-7a84-4edf-8d66-296cdef70003', @@ -786,32 +786,32 @@ export const tasks = [ priority : 2, tags : [ 'c6058d0d-a4b0-4453-986a-9d249ec230b1', - 'd3ef4226-ef2c-43b0-a986-3e3e07f32799' + 'd3ef4226-ef2c-43b0-a986-3e3e07f32799', ], assignedTo: '6617b0a3-0ccd-44ea-af78-c6633115d683', subTasks : [ { id : '56f3dccb-a72b-485c-94e7-fe68477023e2', title : 'Velit velit voluptate in occaecat nostrud', - completed: true + completed: true, }, { id : '70cb77a9-82fa-407b-a63e-55aedc241495', title : 'Minim anim velit eiusmod qui', - completed: true + completed: true, }, { id : '08a31dbc-6be4-469b-9ff4-0ed5342082bd', title : 'Laboris commodo laborum irure', - completed: false + completed: false, }, { id : '34d6c603-6f5a-4bc4-9f94-12bfd940c3c7', title : 'Mollit mollit nostrud mollit id velit ullamco', - completed: true - } + completed: true, + }, ], - order : 24 + order : 24, }, { id : '05532574-c102-4228-89a8-55fff32ec6fc', @@ -822,11 +822,11 @@ export const tasks = [ dueDate : '2023-12-08T23:20:50.910Z', priority : 2, tags : [ - 'a0bf42ca-c3a5-47be-8341-b9c0bb8ef270' + 'a0bf42ca-c3a5-47be-8341-b9c0bb8ef270', ], assignedTo: null, subTasks : [], - order : 25 + order : 25, }, { id : 'b3917466-aa51-4293-9d5b-120b0ce6635c', @@ -842,30 +842,30 @@ export const tasks = [ { id : '3a4c4013-27f1-4164-8a64-e7bb4f1a63a9', title : 'Adipisicing excepteur mollit non sunt amet laboris', - completed: false + completed: false, }, { id : '103bf29e-06a1-4d30-89b9-b67aa442d605', title : 'Consectetur voluptate anim labore aliqua elit', - completed: false + completed: false, }, { id : 'b77729f1-9ed1-4d9e-95d0-347f4cd0943c', title : 'Laboris occaecat aliquip esse magna nulla', - completed: true + completed: true, }, { id : '695aace7-8679-4b35-96c7-cf23737cd9f1', title : 'Exercitation eu aliquip cillum ipsum', - completed: false + completed: false, }, { id : 'ffd45f31-7f0a-4c6a-b62c-18148f6841db', title : 'Minim aute ad et esse officia nostrud', - completed: true - } + completed: true, + }, ], - order : 26 + order : 26, }, { id : '2f2fb472-24d4-4a00-aa80-d513fa6c059c', @@ -876,32 +876,32 @@ export const tasks = [ dueDate : '2020-06-08T00:23:24.051Z', priority : 1, tags : [ - '91658b8a-f382-4b0c-a53f-e9390351c2c5' + '91658b8a-f382-4b0c-a53f-e9390351c2c5', ], assignedTo: '65f1c421-83c5-4cdf-99da-d97794328679', subTasks : [ { id : '4028671b-ef75-4b76-a03f-9f2bddadc618', title : 'Commodo excepteur proident ipsum reprehenderit', - completed: true + completed: true, }, { id : 'b122168f-8327-408f-8b9c-498dd6ba6c81', title : 'Mollit ullamco eiusmod exercitation deserunt', - completed: false + completed: false, }, { id : 'f233d812-be56-4d8a-ab14-a083f7d7cd70', title : 'Mollit nostrud ea deserunt mollit aliquip', - completed: false + completed: false, }, { id : '0833be70-82b2-46cb-ad84-f11120ea634a', title : 'Labore occaecat proident ullamco', - completed: false - } + completed: false, + }, ], - order : 27 + order : 27, }, { id : '2fffd148-7644-466d-8737-7dde88c54154', @@ -912,17 +912,17 @@ export const tasks = [ dueDate : '2024-01-27T11:17:52.198Z', priority : 1, tags : [ - 'd3ef4226-ef2c-43b0-a986-3e3e07f32799' + 'd3ef4226-ef2c-43b0-a986-3e3e07f32799', ], assignedTo: 'b2e97a96-2f15-4e3d-aff5-4ddf2af924d4', subTasks : [ { id : 'd2ffe439-2f80-4dce-84a7-d4ac5e17bbf3', title : 'Occaecat anim sunt dolor proident', - completed: false - } + completed: false, + }, ], - order : 28 + order : 28, }, { id : '24a1034e-b4d6-4a86-a1ea-90516e87e810', @@ -933,21 +933,21 @@ export const tasks = [ dueDate : '2024-06-24T04:38:28.087Z', priority : 1, tags : [ - '51483dd3-cb98-4400-9128-4bd66b455807' + '51483dd3-cb98-4400-9128-4bd66b455807', ], assignedTo: '7f5db993-ec36-412f-9db3-16d076a98807', subTasks : [ { id : '75f55d75-c835-4a6c-a2ae-7a42ae3a7c9d', title : 'Et laboris quis lorem est laboris', - completed: true + completed: true, }, { id : 'c7c91a52-b060-45af-b1b1-a4cff26bf11e', title : 'Reprehenderit elit dolore exercitation pariatur', - completed: true - } + completed: true, + }, ], - order : 29 - } + order : 29, + }, ]; diff --git a/src/app/mock-api/common/auth/api.ts b/src/app/mock-api/common/auth/api.ts index 5b0dfa4e..33d9faf1 100644 --- a/src/app/mock-api/common/auth/api.ts +++ b/src/app/mock-api/common/auth/api.ts @@ -1,13 +1,13 @@ import { Injectable } from '@angular/core'; -import Base64 from 'crypto-js/enc-base64'; -import HmacSHA256 from 'crypto-js/hmac-sha256'; -import Utf8 from 'crypto-js/enc-utf8'; -import { cloneDeep } from 'lodash-es'; import { FuseMockApiService } from '@fuse/lib/mock-api'; import { user as userData } from 'app/mock-api/common/user/data'; +import Base64 from 'crypto-js/enc-base64'; +import Utf8 from 'crypto-js/enc-utf8'; +import HmacSHA256 from 'crypto-js/hmac-sha256'; +import { cloneDeep } from 'lodash-es'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class AuthMockApi { @@ -43,8 +43,8 @@ export class AuthMockApi .reply(() => [ 200, - true - ] + true, + ], ); // ----------------------------------------------------------------------------------------------------- @@ -55,8 +55,8 @@ export class AuthMockApi .reply(() => [ 200, - true - ] + true, + ], ); // ----------------------------------------------------------------------------------------------------- @@ -64,7 +64,8 @@ export class AuthMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPost('api/auth/sign-in', 1500) - .reply(({request}) => { + .reply(({request}) => + { // Sign in successful if ( request.body.email === 'hughes.brian@company.com' && request.body.password === 'admin' ) @@ -74,15 +75,15 @@ export class AuthMockApi { user : cloneDeep(this._user), accessToken: this._generateJWTToken(), - tokenType : 'bearer' - } + tokenType : 'bearer', + }, ]; } // Invalid credentials return [ 404, - false + false, ]; }); @@ -91,7 +92,8 @@ export class AuthMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPost('api/auth/sign-in-with-token') - .reply(({request}) => { + .reply(({request}) => + { // Get the access token const accessToken = request.body.accessToken; @@ -104,8 +106,8 @@ export class AuthMockApi { user : cloneDeep(this._user), accessToken: this._generateJWTToken(), - tokenType : 'bearer' - } + tokenType : 'bearer', + }, ]; } @@ -113,8 +115,8 @@ export class AuthMockApi return [ 401, { - error: 'Invalid token' - } + error: 'Invalid token', + }, ]; }); @@ -128,8 +130,8 @@ export class AuthMockApi // Simply return true [ 200, - true - ] + true, + ], ); // ----------------------------------------------------------------------------------------------------- @@ -137,7 +139,8 @@ export class AuthMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPost('api/auth/unlock-session', 1500) - .reply(({request}) => { + .reply(({request}) => + { // Sign in successful if ( request.body.email === 'hughes.brian@company.com' && request.body.password === 'admin' ) @@ -147,15 +150,15 @@ export class AuthMockApi { user : cloneDeep(this._user), accessToken: this._generateJWTToken(), - tokenType : 'bearer' - } + tokenType : 'bearer', + }, ]; } // Invalid credentials return [ 404, - false + false, ]; }); } @@ -199,7 +202,7 @@ export class AuthMockApi // Define token header const header = { alg: 'HS256', - typ: 'JWT' + typ: 'JWT', }; // Calculate the issued at and expiration dates @@ -211,7 +214,7 @@ export class AuthMockApi const payload = { iat: iat, iss: 'Fuse', - exp: exp + exp: exp, }; // Stringify and encode the header diff --git a/src/app/mock-api/common/messages/api.ts b/src/app/mock-api/common/messages/api.ts index 9dbb573d..3d64adf9 100644 --- a/src/app/mock-api/common/messages/api.ts +++ b/src/app/mock-api/common/messages/api.ts @@ -1,10 +1,10 @@ import { Injectable } from '@angular/core'; -import { assign, cloneDeep } from 'lodash-es'; import { FuseMockApiService, FuseMockApiUtils } from '@fuse/lib/mock-api'; import { messages as messagesData } from 'app/mock-api/common/messages/data'; +import { assign, cloneDeep } from 'lodash-es'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class MessagesMockApi { @@ -40,7 +40,8 @@ export class MessagesMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPost('api/common/messages') - .reply(({request}) => { + .reply(({request}) => + { // Get the message const newMessage = cloneDeep(request.body.message); @@ -60,7 +61,8 @@ export class MessagesMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPatch('api/common/messages') - .reply(({request}) => { + .reply(({request}) => + { // Get the id and message const id = request.body.id; @@ -70,7 +72,8 @@ export class MessagesMockApi let updatedMessage = null; // Find the message and update it - this._messages.forEach((item: any, index: number, messages: any[]) => { + this._messages.forEach((item: any, index: number, messages: any[]) => + { if ( item.id === id ) { @@ -91,7 +94,8 @@ export class MessagesMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onDelete('api/common/messages') - .reply(({request}) => { + .reply(({request}) => + { // Get the id const id = request.params.get('id'); @@ -117,10 +121,12 @@ export class MessagesMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onGet('api/common/messages/mark-all-as-read') - .reply(() => { + .reply(() => + { // Go through all messages - this._messages.forEach((item: any, index: number, messages: any[]) => { + this._messages.forEach((item: any, index: number, messages: any[]) => + { // Mark it as read messages[index].read = true; @@ -136,7 +142,8 @@ export class MessagesMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPost('api/common/messages/toggle-read-status') - .reply(({request}) => { + .reply(({request}) => + { // Get the message const message = cloneDeep(request.body.message); @@ -145,7 +152,8 @@ export class MessagesMockApi let updatedMessage = null; // Find the message and update it - this._messages.forEach((item: any, index: number, messages: any[]) => { + this._messages.forEach((item: any, index: number, messages: any[]) => + { if ( item.id === message.id ) { diff --git a/src/app/mock-api/common/messages/data.ts b/src/app/mock-api/common/messages/data.ts index 878701d4..bc2fff2e 100644 --- a/src/app/mock-api/common/messages/data.ts +++ b/src/app/mock-api/common/messages/data.ts @@ -11,7 +11,7 @@ export const messages = [ title : 'Gary Peters', description: 'We should talk about that at lunch!', time : now.minus({minutes: 25}).toISO(), // 25 minutes ago - read : false + read : false, }, { id : '608b4479-a3ac-4e26-8675-3609c52aca58', @@ -19,7 +19,7 @@ export const messages = [ title : 'Leo Gill (Client #8817)', description: 'You can download the latest invoices now. Please check and let me know.', time : now.minus({minutes: 50}).toISO(), // 50 minutes ago - read : false + read : false, }, { id : '22148c0c-d788-4d49-9467-447677d11b76', @@ -29,7 +29,7 @@ export const messages = [ time : now.minus({hours: 3}).toISO(), // 3 hours ago read : true, link : '/dashboards/project', - useRouter : true + useRouter : true, }, { id : '492e2917-760c-4921-aa5a-3201a857cd48', @@ -39,7 +39,7 @@ export const messages = [ time : now.minus({hours: 5}).toISO(), // 5 hours ago read : true, link : '/dashboards/project', - useRouter : true + useRouter : true, }, { id : '214a46e5-cae7-4b18-9869-eabde7c7ea52', @@ -49,7 +49,7 @@ export const messages = [ time : now.minus({hours: 7}).toISO(), // 7 hours ago read : false, link : '/dashboards/project', - useRouter : true + useRouter : true, }, { id : '95930319-61cc-4c7e-9324-f1091865330c', @@ -59,7 +59,7 @@ export const messages = [ time : now.minus({hours: 9}).toISO(), // 9 hours ago read : false, link : '/dashboards/project', - useRouter : true + useRouter : true, }, { id : '802935e9-9577-48bc-98d1-308a4872afd7', @@ -69,7 +69,7 @@ export const messages = [ time : now.minus({day: 1}).toISO(), // 1 day ago read : true, link : 'https://www.google.com', - useRouter : false + useRouter : false, }, { id : '059f3738-633b-48ea-ad83-19016ce24c62', @@ -79,7 +79,7 @@ export const messages = [ time : now.minus({day: 3}).toISO(), // 3 days ago read : false, link : '/dashboards/project', - useRouter : true + useRouter : true, }, { id : '5c2bb44d-5ca7-42ff-ad7e-46ced9f49a24', @@ -89,6 +89,6 @@ export const messages = [ time : now.minus({day: 4}).toISO(), // 4 days ago read : true, link : '/dashboards/project', - useRouter : true - } + useRouter : true, + }, ]; diff --git a/src/app/mock-api/common/navigation/api.ts b/src/app/mock-api/common/navigation/api.ts index e82ebe9c..c88a7fd8 100644 --- a/src/app/mock-api/common/navigation/api.ts +++ b/src/app/mock-api/common/navigation/api.ts @@ -1,11 +1,11 @@ import { Injectable } from '@angular/core'; -import { cloneDeep } from 'lodash-es'; import { FuseNavigationItem } from '@fuse/components/navigation'; import { FuseMockApiService } from '@fuse/lib/mock-api'; import { compactNavigation, defaultNavigation, futuristicNavigation, horizontalNavigation } from 'app/mock-api/common/navigation/data'; +import { cloneDeep } from 'lodash-es'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class NavigationMockApi { @@ -37,11 +37,14 @@ export class NavigationMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onGet('api/common/navigation') - .reply(() => { + .reply(() => + { // Fill compact navigation children using the default navigation - this._compactNavigation.forEach((compactNavItem) => { - this._defaultNavigation.forEach((defaultNavItem) => { + this._compactNavigation.forEach((compactNavItem) => + { + this._defaultNavigation.forEach((defaultNavItem) => + { if ( defaultNavItem.id === compactNavItem.id ) { compactNavItem.children = cloneDeep(defaultNavItem.children); @@ -50,8 +53,10 @@ export class NavigationMockApi }); // Fill futuristic navigation children using the default navigation - this._futuristicNavigation.forEach((futuristicNavItem) => { - this._defaultNavigation.forEach((defaultNavItem) => { + this._futuristicNavigation.forEach((futuristicNavItem) => + { + this._defaultNavigation.forEach((defaultNavItem) => + { if ( defaultNavItem.id === futuristicNavItem.id ) { futuristicNavItem.children = cloneDeep(defaultNavItem.children); @@ -60,8 +65,10 @@ export class NavigationMockApi }); // Fill horizontal navigation children using the default navigation - this._horizontalNavigation.forEach((horizontalNavItem) => { - this._defaultNavigation.forEach((defaultNavItem) => { + this._horizontalNavigation.forEach((horizontalNavItem) => + { + this._defaultNavigation.forEach((defaultNavItem) => + { if ( defaultNavItem.id === horizontalNavItem.id ) { horizontalNavItem.children = cloneDeep(defaultNavItem.children); @@ -76,8 +83,8 @@ export class NavigationMockApi compact : cloneDeep(this._compactNavigation), default : cloneDeep(this._defaultNavigation), futuristic: cloneDeep(this._futuristicNavigation), - horizontal: cloneDeep(this._horizontalNavigation) - } + horizontal: cloneDeep(this._horizontalNavigation), + }, ]; }); } diff --git a/src/app/mock-api/common/navigation/data.ts b/src/app/mock-api/common/navigation/data.ts index f81180af..775dc997 100644 --- a/src/app/mock-api/common/navigation/data.ts +++ b/src/app/mock-api/common/navigation/data.ts @@ -14,30 +14,30 @@ export const defaultNavigation: FuseNavigationItem[] = [ title: 'Project', type : 'basic', icon : 'heroicons_outline:clipboard-check', - link : '/dashboards/project' + link : '/dashboards/project', }, { id : 'dashboards.analytics', title: 'Analytics', type : 'basic', icon : 'heroicons_outline:chart-pie', - link : '/dashboards/analytics' + link : '/dashboards/analytics', }, { id : 'dashboards.finance', title: 'Finance', type : 'basic', icon : 'heroicons_outline:cash', - link : '/dashboards/finance' + link : '/dashboards/finance', }, { id : 'dashboards.crypto', title: 'Crypto', type : 'basic', icon : 'heroicons_outline:currency-dollar', - link : '/dashboards/crypto' - } - ] + link : '/dashboards/crypto', + }, + ], }, { id : 'apps', @@ -51,21 +51,21 @@ export const defaultNavigation: FuseNavigationItem[] = [ title: 'Academy', type : 'basic', icon : 'heroicons_outline:academic-cap', - link : '/apps/academy' + link : '/apps/academy', }, { id : 'apps.chat', title: 'Chat', type : 'basic', icon : 'heroicons_outline:chat-alt', - link : '/apps/chat' + link : '/apps/chat', }, { id : 'apps.contacts', title: 'Contacts', type : 'basic', icon : 'heroicons_outline:user-group', - link : '/apps/contacts' + link : '/apps/contacts', }, { id : 'apps.ecommerce', @@ -77,16 +77,16 @@ export const defaultNavigation: FuseNavigationItem[] = [ id : 'apps.ecommerce.inventory', title: 'Inventory', type : 'basic', - link : '/apps/ecommerce/inventory' - } - ] + link : '/apps/ecommerce/inventory', + }, + ], }, { id : 'apps.file-manager', title: 'File Manager', type : 'basic', icon : 'heroicons_outline:cloud', - link : '/apps/file-manager' + link : '/apps/file-manager', }, { id : 'apps.help-center', @@ -100,27 +100,27 @@ export const defaultNavigation: FuseNavigationItem[] = [ title : 'Home', type : 'basic', link : '/apps/help-center', - exactMatch: true + exactMatch: true, }, { id : 'apps.help-center.faqs', title: 'FAQs', type : 'basic', - link : '/apps/help-center/faqs' + link : '/apps/help-center/faqs', }, { id : 'apps.help-center.guides', title: 'Guides', type : 'basic', - link : '/apps/help-center/guides' + link : '/apps/help-center/guides', }, { id : 'apps.help-center.support', title: 'Support', type : 'basic', - link : '/apps/help-center/support' - } - ] + link : '/apps/help-center/support', + }, + ], }, { id : 'apps.mailbox', @@ -130,31 +130,31 @@ export const defaultNavigation: FuseNavigationItem[] = [ link : '/apps/mailbox', badge: { title : '27', - classes: 'px-2 bg-pink-600 text-white rounded-full' - } + classes: 'px-2 bg-pink-600 text-white rounded-full', + }, }, { id : 'apps.notes', title: 'Notes', type : 'basic', icon : 'heroicons_outline:pencil-alt', - link : '/apps/notes' + link : '/apps/notes', }, { id : 'apps.scrumboard', title: 'Scrumboard', type : 'basic', icon : 'heroicons_outline:view-boards', - link : '/apps/scrumboard' + link : '/apps/scrumboard', }, { id : 'apps.tasks', title: 'Tasks', type : 'basic', icon : 'heroicons_outline:check-circle', - link : '/apps/tasks' - } - ] + link : '/apps/tasks', + }, + ], }, { id : 'pages', @@ -168,7 +168,7 @@ export const defaultNavigation: FuseNavigationItem[] = [ title: 'Activities', type : 'basic', icon : 'heroicons_outline:menu-alt-2', - link : '/pages/activities' + link : '/pages/activities', }, { id : 'pages.authentication', @@ -185,45 +185,45 @@ export const defaultNavigation: FuseNavigationItem[] = [ id : 'pages.authentication.sign-in.classic', title: 'Classic', type : 'basic', - link : '/pages/authentication/sign-in/classic' + link : '/pages/authentication/sign-in/classic', }, { id : 'pages.authentication.sign-in.modern', title: 'Modern', type : 'basic', - link : '/pages/authentication/sign-in/modern' + link : '/pages/authentication/sign-in/modern', }, { id : 'pages.authentication.sign-in.modern-reversed', title: 'Modern Reversed', type : 'basic', - link : '/pages/authentication/sign-in/modern-reversed' + link : '/pages/authentication/sign-in/modern-reversed', }, { id : 'pages.authentication.sign-in.split-screen', title: 'Split Screen', type : 'basic', - link : '/pages/authentication/sign-in/split-screen' + link : '/pages/authentication/sign-in/split-screen', }, { id : 'pages.authentication.sign-in.split-screen-reversed', title: 'Split Screen Reversed', type : 'basic', - link : '/pages/authentication/sign-in/split-screen-reversed' + link : '/pages/authentication/sign-in/split-screen-reversed', }, { id : 'pages.authentication.sign-in.fullscreen', title: 'Fullscreen', type : 'basic', - link : '/pages/authentication/sign-in/fullscreen' + link : '/pages/authentication/sign-in/fullscreen', }, { id : 'pages.authentication.sign-in.fullscreen-reversed', title: 'Fullscreen Reversed', type : 'basic', - link : '/pages/authentication/sign-in/fullscreen-reversed' - } - ] + link : '/pages/authentication/sign-in/fullscreen-reversed', + }, + ], }, { id : 'pages.authentication.sign-up', @@ -235,45 +235,45 @@ export const defaultNavigation: FuseNavigationItem[] = [ id : 'pages.authentication.sign-up.classic', title: 'Classic', type : 'basic', - link : '/pages/authentication/sign-up/classic' + link : '/pages/authentication/sign-up/classic', }, { id : 'pages.authentication.sign-up.modern', title: 'Modern', type : 'basic', - link : '/pages/authentication/sign-up/modern' + link : '/pages/authentication/sign-up/modern', }, { id : 'pages.authentication.sign-up.modern-reversed', title: 'Modern Reversed', type : 'basic', - link : '/pages/authentication/sign-up/modern-reversed' + link : '/pages/authentication/sign-up/modern-reversed', }, { id : 'pages.authentication.sign-up.split-screen', title: 'Split Screen', type : 'basic', - link : '/pages/authentication/sign-up/split-screen' + link : '/pages/authentication/sign-up/split-screen', }, { id : 'pages.authentication.sign-up.split-screen-reversed', title: 'Split Screen Reversed', type : 'basic', - link : '/pages/authentication/sign-up/split-screen-reversed' + link : '/pages/authentication/sign-up/split-screen-reversed', }, { id : 'pages.authentication.sign-up.fullscreen', title: 'Fullscreen', type : 'basic', - link : '/pages/authentication/sign-up/fullscreen' + link : '/pages/authentication/sign-up/fullscreen', }, { id : 'pages.authentication.sign-up.fullscreen-reversed', title: 'Fullscreen Reversed', type : 'basic', - link : '/pages/authentication/sign-up/fullscreen-reversed' - } - ] + link : '/pages/authentication/sign-up/fullscreen-reversed', + }, + ], }, { id : 'pages.authentication.sign-out', @@ -285,45 +285,45 @@ export const defaultNavigation: FuseNavigationItem[] = [ id : 'pages.authentication.sign-out.classic', title: 'Classic', type : 'basic', - link : '/pages/authentication/sign-out/classic' + link : '/pages/authentication/sign-out/classic', }, { id : 'pages.authentication.sign-out.modern', title: 'Modern', type : 'basic', - link : '/pages/authentication/sign-out/modern' + link : '/pages/authentication/sign-out/modern', }, { id : 'pages.authentication.sign-out.modern-reversed', title: 'Modern Reversed', type : 'basic', - link : '/pages/authentication/sign-out/modern-reversed' + link : '/pages/authentication/sign-out/modern-reversed', }, { id : 'pages.authentication.sign-out.split-screen', title: 'Split Screen', type : 'basic', - link : '/pages/authentication/sign-out/split-screen' + link : '/pages/authentication/sign-out/split-screen', }, { id : 'pages.authentication.sign-out.split-screen-reversed', title: 'Split Screen Reversed', type : 'basic', - link : '/pages/authentication/sign-out/split-screen-reversed' + link : '/pages/authentication/sign-out/split-screen-reversed', }, { id : 'pages.authentication.sign-out.fullscreen', title: 'Fullscreen', type : 'basic', - link : '/pages/authentication/sign-out/fullscreen' + link : '/pages/authentication/sign-out/fullscreen', }, { id : 'pages.authentication.sign-out.fullscreen-reversed', title: 'Fullscreen Reversed', type : 'basic', - link : '/pages/authentication/sign-out/fullscreen-reversed' - } - ] + link : '/pages/authentication/sign-out/fullscreen-reversed', + }, + ], }, { id : 'pages.authentication.forgot-password', @@ -335,45 +335,45 @@ export const defaultNavigation: FuseNavigationItem[] = [ id : 'pages.authentication.forgot-password.classic', title: 'Classic', type : 'basic', - link : '/pages/authentication/forgot-password/classic' + link : '/pages/authentication/forgot-password/classic', }, { id : 'pages.authentication.forgot-password.modern', title: 'Modern', type : 'basic', - link : '/pages/authentication/forgot-password/modern' + link : '/pages/authentication/forgot-password/modern', }, { id : 'pages.authentication.forgot-password.modern-reversed', title: 'Modern Reversed', type : 'basic', - link : '/pages/authentication/forgot-password/modern-reversed' + link : '/pages/authentication/forgot-password/modern-reversed', }, { id : 'pages.authentication.forgot-password.split-screen', title: 'Split Screen', type : 'basic', - link : '/pages/authentication/forgot-password/split-screen' + link : '/pages/authentication/forgot-password/split-screen', }, { id : 'pages.authentication.forgot-password.split-screen-reversed', title: 'Split Screen Reversed', type : 'basic', - link : '/pages/authentication/forgot-password/split-screen-reversed' + link : '/pages/authentication/forgot-password/split-screen-reversed', }, { id : 'pages.authentication.forgot-password.fullscreen', title: 'Fullscreen', type : 'basic', - link : '/pages/authentication/forgot-password/fullscreen' + link : '/pages/authentication/forgot-password/fullscreen', }, { id : 'pages.authentication.forgot-password.fullscreen-reversed', title: 'Fullscreen Reversed', type : 'basic', - link : '/pages/authentication/forgot-password/fullscreen-reversed' - } - ] + link : '/pages/authentication/forgot-password/fullscreen-reversed', + }, + ], }, { id : 'pages.authentication.reset-password', @@ -385,45 +385,45 @@ export const defaultNavigation: FuseNavigationItem[] = [ id : 'pages.authentication.reset-password.classic', title: 'Classic', type : 'basic', - link : '/pages/authentication/reset-password/classic' + link : '/pages/authentication/reset-password/classic', }, { id : 'pages.authentication.reset-password.modern', title: 'Modern', type : 'basic', - link : '/pages/authentication/reset-password/modern' + link : '/pages/authentication/reset-password/modern', }, { id : 'pages.authentication.reset-password.modern-reversed', title: 'Modern Reversed', type : 'basic', - link : '/pages/authentication/reset-password/modern-reversed' + link : '/pages/authentication/reset-password/modern-reversed', }, { id : 'pages.authentication.reset-password.split-screen', title: 'Split Screen', type : 'basic', - link : '/pages/authentication/reset-password/split-screen' + link : '/pages/authentication/reset-password/split-screen', }, { id : 'pages.authentication.reset-password.split-screen-reversed', title: 'Split Screen Reversed', type : 'basic', - link : '/pages/authentication/reset-password/split-screen-reversed' + link : '/pages/authentication/reset-password/split-screen-reversed', }, { id : 'pages.authentication.reset-password.fullscreen', title: 'Fullscreen', type : 'basic', - link : '/pages/authentication/reset-password/fullscreen' + link : '/pages/authentication/reset-password/fullscreen', }, { id : 'pages.authentication.reset-password.fullscreen-reversed', title: 'Fullscreen Reversed', type : 'basic', - link : '/pages/authentication/reset-password/fullscreen-reversed' - } - ] + link : '/pages/authentication/reset-password/fullscreen-reversed', + }, + ], }, { id : 'pages.authentication.unlock-session', @@ -435,45 +435,45 @@ export const defaultNavigation: FuseNavigationItem[] = [ id : 'pages.authentication.unlock-session.classic', title: 'Classic', type : 'basic', - link : '/pages/authentication/unlock-session/classic' + link : '/pages/authentication/unlock-session/classic', }, { id : 'pages.authentication.unlock-session.modern', title: 'Modern', type : 'basic', - link : '/pages/authentication/unlock-session/modern' + link : '/pages/authentication/unlock-session/modern', }, { id : 'pages.authentication.unlock-session.modern-reversed', title: 'Modern Reversed', type : 'basic', - link : '/pages/authentication/unlock-session/modern-reversed' + link : '/pages/authentication/unlock-session/modern-reversed', }, { id : 'pages.authentication.unlock-session.split-screen', title: 'Split Screen', type : 'basic', - link : '/pages/authentication/unlock-session/split-screen' + link : '/pages/authentication/unlock-session/split-screen', }, { id : 'pages.authentication.unlock-session.split-screen-reversed', title: 'Split Screen Reversed', type : 'basic', - link : '/pages/authentication/unlock-session/split-screen-reversed' + link : '/pages/authentication/unlock-session/split-screen-reversed', }, { id : 'pages.authentication.unlock-session.fullscreen', title: 'Fullscreen', type : 'basic', - link : '/pages/authentication/unlock-session/fullscreen' + link : '/pages/authentication/unlock-session/fullscreen', }, { id : 'pages.authentication.unlock-session.fullscreen-reversed', title: 'Fullscreen Reversed', type : 'basic', - link : '/pages/authentication/unlock-session/fullscreen-reversed' - } - ] + link : '/pages/authentication/unlock-session/fullscreen-reversed', + }, + ], }, { id : 'pages.authentication.confirmation-required', @@ -485,47 +485,47 @@ export const defaultNavigation: FuseNavigationItem[] = [ id : 'pages.authentication.confirmation-required.classic', title: 'Classic', type : 'basic', - link : '/pages/authentication/confirmation-required/classic' + link : '/pages/authentication/confirmation-required/classic', }, { id : 'pages.authentication.confirmation-required.modern', title: 'Modern', type : 'basic', - link : '/pages/authentication/confirmation-required/modern' + link : '/pages/authentication/confirmation-required/modern', }, { id : 'pages.authentication.confirmation-required.modern-reversed', title: 'Modern Reversed', type : 'basic', - link : '/pages/authentication/confirmation-required/modern-reversed' + link : '/pages/authentication/confirmation-required/modern-reversed', }, { id : 'pages.authentication.confirmation-required.split-screen', title: 'Split Screen', type : 'basic', - link : '/pages/authentication/confirmation-required/split-screen' + link : '/pages/authentication/confirmation-required/split-screen', }, { id : 'pages.authentication.confirmation-required.split-screen-reversed', title: 'Split Screen Reversed', type : 'basic', - link : '/pages/authentication/confirmation-required/split-screen-reversed' + link : '/pages/authentication/confirmation-required/split-screen-reversed', }, { id : 'pages.authentication.confirmation-required.fullscreen', title: 'Fullscreen', type : 'basic', - link : '/pages/authentication/confirmation-required/fullscreen' + link : '/pages/authentication/confirmation-required/fullscreen', }, { id : 'pages.authentication.confirmation-required.fullscreen-reversed', title: 'Fullscreen Reversed', type : 'basic', - link : '/pages/authentication/confirmation-required/fullscreen-reversed' - } - ] - } - ] + link : '/pages/authentication/confirmation-required/fullscreen-reversed', + }, + ], + }, + ], }, { id : 'pages.coming-soon', @@ -538,45 +538,45 @@ export const defaultNavigation: FuseNavigationItem[] = [ id : 'pages.coming-soon.classic', title: 'Classic', type : 'basic', - link : '/pages/coming-soon/classic' + link : '/pages/coming-soon/classic', }, { id : 'pages.coming-soon.modern', title: 'Modern', type : 'basic', - link : '/pages/coming-soon/modern' + link : '/pages/coming-soon/modern', }, { id : 'pages.coming-soon.modern-reversed', title: 'Modern Reversed', type : 'basic', - link : '/pages/coming-soon/modern-reversed' + link : '/pages/coming-soon/modern-reversed', }, { id : 'pages.coming-soon.split-screen', title: 'Split Screen', type : 'basic', - link : '/pages/coming-soon/split-screen' + link : '/pages/coming-soon/split-screen', }, { id : 'pages.coming-soon.split-screen-reversed', title: 'Split Screen Reversed', type : 'basic', - link : '/pages/coming-soon/split-screen-reversed' + link : '/pages/coming-soon/split-screen-reversed', }, { id : 'pages.coming-soon.fullscreen', title: 'Fullscreen', type : 'basic', - link : '/pages/coming-soon/fullscreen' + link : '/pages/coming-soon/fullscreen', }, { id : 'pages.coming-soon.fullscreen-reversed', title: 'Fullscreen Reversed', type : 'basic', - link : '/pages/coming-soon/fullscreen-reversed' - } - ] + link : '/pages/coming-soon/fullscreen-reversed', + }, + ], }, { id : 'pages.error', @@ -588,15 +588,15 @@ export const defaultNavigation: FuseNavigationItem[] = [ id : 'pages.error.404', title: '404', type : 'basic', - link : '/pages/error/404' + link : '/pages/error/404', }, { id : 'pages.error.500', title: '500', type : 'basic', - link : '/pages/error/500' - } - ] + link : '/pages/error/500', + }, + ], }, { id : 'pages.invoice', @@ -613,24 +613,24 @@ export const defaultNavigation: FuseNavigationItem[] = [ id : 'pages.invoice.printable.compact', title: 'Compact', type : 'basic', - link : '/pages/invoice/printable/compact' + link : '/pages/invoice/printable/compact', }, { id : 'pages.invoice.printable.modern', title: 'Modern', type : 'basic', - link : '/pages/invoice/printable/modern' - } - ] - } - ] + link : '/pages/invoice/printable/modern', + }, + ], + }, + ], }, { id : 'pages.maintenance', title: 'Maintenance', type : 'basic', icon : 'heroicons_outline:exclamation', - link : '/pages/maintenance' + link : '/pages/maintenance', }, { id : 'pages.pricing', @@ -642,43 +642,43 @@ export const defaultNavigation: FuseNavigationItem[] = [ id : 'pages.pricing.modern', title: 'Modern', type : 'basic', - link : '/pages/pricing/modern' + link : '/pages/pricing/modern', }, { id : 'pages.pricing.simple', title: 'Simple', type : 'basic', - link : '/pages/pricing/simple' + link : '/pages/pricing/simple', }, { id : 'pages.pricing.single', title: 'Single', type : 'basic', - link : '/pages/pricing/single' + link : '/pages/pricing/single', }, { id : 'pages.pricing.table', title: 'Table', type : 'basic', - link : '/pages/pricing/table' - } - ] + link : '/pages/pricing/table', + }, + ], }, { id : 'pages.profile', title: 'Profile', type : 'basic', icon : 'heroicons_outline:user-circle', - link : '/pages/profile' + link : '/pages/profile', }, { id : 'pages.settings', title: 'Settings', type : 'basic', icon : 'heroicons_outline:cog', - link : '/pages/settings' - } - ] + link : '/pages/settings', + }, + ], }, { id : 'user-interface', @@ -692,70 +692,70 @@ export const defaultNavigation: FuseNavigationItem[] = [ title: 'Material Components', type : 'basic', icon : 'heroicons_outline:chip', - link : '/ui/material-components' + link : '/ui/material-components', }, { id : 'user-interface.fuse-components', title: 'Fuse Components', type : 'basic', icon : 'heroicons_outline:chip', - link : '/ui/fuse-components' + link : '/ui/fuse-components', }, { id : 'user-interface.other-components', title: 'Other Components', type : 'basic', icon : 'heroicons_outline:chip', - link : '/ui/other-components' + link : '/ui/other-components', }, { id : 'user-interface.tailwindcss', title: 'TailwindCSS', type : 'basic', icon : 'heroicons_outline:sparkles', - link : '/ui/tailwindcss' + link : '/ui/tailwindcss', }, { id : 'user-interface.advanced-search', title: 'Advanced Search', type : 'basic', icon : 'heroicons_outline:search-circle', - link : '/ui/advanced-search' + link : '/ui/advanced-search', }, { id : 'user-interface.animations', title: 'Animations', type : 'basic', icon : 'heroicons_outline:play', - link : '/ui/animations' + link : '/ui/animations', }, { id : 'user-interface.cards', title: 'Cards', type : 'basic', icon : 'heroicons_outline:duplicate', - link : '/ui/cards' + link : '/ui/cards', }, { id : 'user-interface.colors', title: 'Colors', type : 'basic', icon : 'heroicons_outline:color-swatch', - link : '/ui/colors' + link : '/ui/colors', }, { id : 'user-interface.confirmation-dialog', title: 'Confirmation Dialog', type : 'basic', icon : 'heroicons_outline:question-mark-circle', - link : '/ui/confirmation-dialog' + link : '/ui/confirmation-dialog', }, { id : 'user-interface.datatable', title: 'Datatable', type : 'basic', icon : 'heroicons_outline:view-list', - link : '/ui/datatable' + link : '/ui/datatable', }, { id : 'user-interface.forms', @@ -767,21 +767,21 @@ export const defaultNavigation: FuseNavigationItem[] = [ id : 'user-interface.forms.fields', title: 'Fields', type : 'basic', - link : '/ui/forms/fields' + link : '/ui/forms/fields', }, { id : 'user-interface.forms.layouts', title: 'Layouts', type : 'basic', - link : '/ui/forms/layouts' + link : '/ui/forms/layouts', }, { id : 'user-interface.forms.wizards', title: 'Wizards', type : 'basic', - link : '/ui/forms/wizards' - } - ] + link : '/ui/forms/wizards', + }, + ], }, { id : 'user-interface.icons', @@ -793,39 +793,39 @@ export const defaultNavigation: FuseNavigationItem[] = [ id : 'user-interface.icons.heroicons-outline', title: 'Heroicons Outline', type : 'basic', - link : '/ui/icons/heroicons-outline' + link : '/ui/icons/heroicons-outline', }, { id : 'user-interface.icons.heroicons-solid', title: 'Heroicons Solid', type : 'basic', - link : '/ui/icons/heroicons-solid' + link : '/ui/icons/heroicons-solid', }, { id : 'user-interface.icons.material-twotone', title: 'Material Twotone', type : 'basic', - link : '/ui/icons/material-twotone' + link : '/ui/icons/material-twotone', }, { id : 'user-interface.icons.material-outline', title: 'Material Outline', type : 'basic', - link : '/ui/icons/material-outline' + link : '/ui/icons/material-outline', }, { id : 'user-interface.icons.material-solid', title: 'Material Solid', type : 'basic', - link : '/ui/icons/material-solid' + link : '/ui/icons/material-solid', }, { id : 'user-interface.icons.feather', title: 'Feather', type : 'basic', - link : '/ui/icons/feather' - } - ] + link : '/ui/icons/feather', + }, + ], }, { id : 'user-interface.page-layouts', @@ -837,13 +837,13 @@ export const defaultNavigation: FuseNavigationItem[] = [ id : 'user-interface.page-layouts.overview', title: 'Overview', type : 'basic', - link : '/ui/page-layouts/overview' + link : '/ui/page-layouts/overview', }, { id : 'user-interface.page-layouts.empty', title: 'Empty', type : 'basic', - link : '/ui/page-layouts/empty' + link : '/ui/page-layouts/empty', }, { id: 'user-interface.page-layouts.carded', @@ -855,33 +855,33 @@ export const defaultNavigation: FuseNavigationItem[] = [ id : 'user-interface.page-layouts.carded.fullwidth', title: 'Fullwidth', type : 'basic', - link : '/ui/page-layouts/carded/fullwidth' + link : '/ui/page-layouts/carded/fullwidth', }, { id : 'user-interface.page-layouts.carded.left-sidebar-1', title: 'Left Sidebar #1', type : 'basic', - link : '/ui/page-layouts/carded/left-sidebar-1' + link : '/ui/page-layouts/carded/left-sidebar-1', }, { id : 'user-interface.page-layouts.carded.left-sidebar-2', title: 'Left Sidebar #2', type : 'basic', - link : '/ui/page-layouts/carded/left-sidebar-2' + link : '/ui/page-layouts/carded/left-sidebar-2', }, { id : 'user-interface.page-layouts.carded.right-sidebar-1', title: 'Right Sidebar #1', type : 'basic', - link : '/ui/page-layouts/carded/right-sidebar-1' + link : '/ui/page-layouts/carded/right-sidebar-1', }, { id : 'user-interface.page-layouts.carded.right-sidebar-2', title: 'Right Sidebar #2', type : 'basic', - link : '/ui/page-layouts/carded/right-sidebar-2' - } - ] + link : '/ui/page-layouts/carded/right-sidebar-2', + }, + ], }, { id : 'user-interface.page-layouts.simple', @@ -892,66 +892,66 @@ export const defaultNavigation: FuseNavigationItem[] = [ id : 'user-interface.page-layouts.simple.fullwidth-1', title: 'Fullwidth #1', type : 'basic', - link : '/ui/page-layouts/simple/fullwidth-1' + link : '/ui/page-layouts/simple/fullwidth-1', }, { id : 'user-interface.page-layouts.simple.fullwidth-2', title: 'Fullwidth #2', type : 'basic', - link : '/ui/page-layouts/simple/fullwidth-2' + link : '/ui/page-layouts/simple/fullwidth-2', }, { id : 'user-interface.page-layouts.simple.left-sidebar-1', title: 'Left Sidebar #1', type : 'basic', - link : '/ui/page-layouts/simple/left-sidebar-1' + link : '/ui/page-layouts/simple/left-sidebar-1', }, { id : 'user-interface.page-layouts.simple.left-sidebar-2', title: 'Left Sidebar #2', type : 'basic', - link : '/ui/page-layouts/simple/left-sidebar-2' + link : '/ui/page-layouts/simple/left-sidebar-2', }, { id : 'user-interface.page-layouts.simple.left-sidebar-3', title: 'Left Sidebar #3', type : 'basic', - link : '/ui/page-layouts/simple/left-sidebar-3' + link : '/ui/page-layouts/simple/left-sidebar-3', }, { id : 'user-interface.page-layouts.simple.right-sidebar-1', title: 'Right Sidebar #1', type : 'basic', - link : '/ui/page-layouts/simple/right-sidebar-1' + link : '/ui/page-layouts/simple/right-sidebar-1', }, { id : 'user-interface.page-layouts.simple.right-sidebar-2', title: 'Right Sidebar #2', type : 'basic', - link : '/ui/page-layouts/simple/right-sidebar-2' + link : '/ui/page-layouts/simple/right-sidebar-2', }, { id : 'user-interface.page-layouts.simple.right-sidebar-3', title: 'Right Sidebar #3', type : 'basic', - link : '/ui/page-layouts/simple/right-sidebar-3' - } - ] - } - ] + link : '/ui/page-layouts/simple/right-sidebar-3', + }, + ], + }, + ], }, { id : 'user-interface.typography', title: 'Typography', type : 'basic', icon : 'heroicons_outline:pencil', - link : '/ui/typography' - } - ] + link : '/ui/typography', + }, + ], }, { id : 'divider-1', - type: 'divider' + type: 'divider', }, { id : 'documentation', @@ -968,21 +968,21 @@ export const defaultNavigation: FuseNavigationItem[] = [ link : '/docs/changelog', badge: { title : '17.2.0', - classes: 'px-2 bg-yellow-300 text-black rounded-full' - } + classes: 'px-2 bg-yellow-300 text-black rounded-full', + }, }, { id : 'documentation.guides', title: 'Guides', type : 'basic', icon : 'heroicons_outline:book-open', - link : '/docs/guides' - } - ] + link : '/docs/guides', + }, + ], }, { id : 'divider-2', - type: 'divider' + type: 'divider', }, { id : 'navigation-features', @@ -1025,19 +1025,19 @@ export const defaultNavigation: FuseNavigationItem[] = [ { id : 'navigation-features.level.0.1.2.3.4.5.6', title: 'Level 6', - type : 'basic' - } - ] - } - ] - } - ] - } - ] - } - ] - } - ] + type : 'basic', + }, + ], + }, + ], + }, + ], + }, + ], + }, + ], + }, + ], }, { id : 'navigation-features.level.0', @@ -1049,14 +1049,14 @@ export const defaultNavigation: FuseNavigationItem[] = [ { id : 'navigation-features.level.0.1-1', title: 'Level 1.1', - type : 'basic' + type : 'basic', }, { id : 'navigation-features.level.0.1-2', title: 'Level 1.2', - type : 'basic' - } - ] + type : 'basic', + }, + ], }, { id : 'navigation-features.active', @@ -1064,7 +1064,7 @@ export const defaultNavigation: FuseNavigationItem[] = [ subtitle: 'Manually marked as active', icon : 'heroicons_outline:check-circle', type : 'basic', - active : true + active : true, }, { id : 'navigation-features.disabled-collapsable', @@ -1077,9 +1077,9 @@ export const defaultNavigation: FuseNavigationItem[] = [ { id : 'navigation-features.disabled-collapsable.child', title: 'You shouldn\'t be able to see this child', - type : 'basic' - } - ] + type : 'basic', + }, + ], }, { id : 'navigation-features.disabled-basic', @@ -1087,7 +1087,7 @@ export const defaultNavigation: FuseNavigationItem[] = [ subtitle: 'Some subtitle', icon : 'heroicons_outline:check-circle', type : 'basic', - disabled: true + disabled: true, }, { id : 'navigation-features.badge-style-oval', @@ -1096,8 +1096,8 @@ export const defaultNavigation: FuseNavigationItem[] = [ type : 'basic', badge: { title : '8', - classes: 'w-5 h-5 bg-teal-400 text-black rounded-full' - } + classes: 'w-5 h-5 bg-teal-400 text-black rounded-full', + }, }, { id : 'navigation-features.badge-style-rectangle', @@ -1106,8 +1106,8 @@ export const defaultNavigation: FuseNavigationItem[] = [ type : 'basic', badge: { title : 'Updated!', - classes: 'px-2 bg-teal-400 text-black rounded' - } + classes: 'px-2 bg-teal-400 text-black rounded', + }, }, { id : 'navigation-features.badge-style-rounded', @@ -1116,8 +1116,8 @@ export const defaultNavigation: FuseNavigationItem[] = [ type : 'basic', badge: { title : 'NEW', - classes: 'px-2.5 bg-teal-400 text-black rounded-full' - } + classes: 'px-2.5 bg-teal-400 text-black rounded-full', + }, }, { id : 'navigation-features.badge-style-simple', @@ -1126,17 +1126,17 @@ export const defaultNavigation: FuseNavigationItem[] = [ type : 'basic', badge: { title : '87 Unread', - classes: 'text-teal-500' - } + classes: 'text-teal-500', + }, }, { id : 'navigation-features.multi-line', title: 'A multi line navigation item title example which works just fine', icon : 'heroicons_outline:check-circle', - type : 'basic' - } - ] - } + type : 'basic', + }, + ], + }, ]; export const compactNavigation: FuseNavigationItem[] = [ { @@ -1145,7 +1145,7 @@ export const compactNavigation: FuseNavigationItem[] = [ tooltip : 'Dashboards', type : 'aside', icon : 'heroicons_outline:home', - children: [] // This will be filled from defaultNavigation so we don't have to manage multiple sets of the same navigation + children: [], // This will be filled from defaultNavigation so we don't have to manage multiple sets of the same navigation }, { id : 'apps', @@ -1153,7 +1153,7 @@ export const compactNavigation: FuseNavigationItem[] = [ tooltip : 'Apps', type : 'aside', icon : 'heroicons_outline:qrcode', - children: [] // This will be filled from defaultNavigation so we don't have to manage multiple sets of the same navigation + children: [], // This will be filled from defaultNavigation so we don't have to manage multiple sets of the same navigation }, { id : 'pages', @@ -1161,7 +1161,7 @@ export const compactNavigation: FuseNavigationItem[] = [ tooltip : 'Pages', type : 'aside', icon : 'heroicons_outline:document-duplicate', - children: [] // This will be filled from defaultNavigation so we don't have to manage multiple sets of the same navigation + children: [], // This will be filled from defaultNavigation so we don't have to manage multiple sets of the same navigation }, { id : 'user-interface', @@ -1169,7 +1169,7 @@ export const compactNavigation: FuseNavigationItem[] = [ tooltip : 'UI', type : 'aside', icon : 'heroicons_outline:collection', - children: [] // This will be filled from defaultNavigation so we don't have to manage multiple sets of the same navigation + children: [], // This will be filled from defaultNavigation so we don't have to manage multiple sets of the same navigation }, { id : 'navigation-features', @@ -1177,48 +1177,48 @@ export const compactNavigation: FuseNavigationItem[] = [ tooltip : 'Navigation', type : 'aside', icon : 'heroicons_outline:menu', - children: [] // This will be filled from defaultNavigation so we don't have to manage multiple sets of the same navigation - } + children: [], // This will be filled from defaultNavigation so we don't have to manage multiple sets of the same navigation + }, ]; export const futuristicNavigation: FuseNavigationItem[] = [ { id : 'dashboards', title : 'DASHBOARDS', type : 'group', - children: [] // This will be filled from defaultNavigation so we don't have to manage multiple sets of the same navigation + children: [], // This will be filled from defaultNavigation so we don't have to manage multiple sets of the same navigation }, { id : 'apps', title : 'APPS', type : 'group', - children: [] // This will be filled from defaultNavigation so we don't have to manage multiple sets of the same navigation + children: [], // This will be filled from defaultNavigation so we don't have to manage multiple sets of the same navigation }, { id : 'others', title: 'OTHERS', - type : 'group' + type : 'group', }, { id : 'pages', title : 'Pages', type : 'aside', icon : 'heroicons_outline:document-duplicate', - children: [] // This will be filled from defaultNavigation so we don't have to manage multiple sets of the same navigation + children: [], // This will be filled from defaultNavigation so we don't have to manage multiple sets of the same navigation }, { id : 'user-interface', title : 'User Interface', type : 'aside', icon : 'heroicons_outline:collection', - children: [] // This will be filled from defaultNavigation so we don't have to manage multiple sets of the same navigation + children: [], // This will be filled from defaultNavigation so we don't have to manage multiple sets of the same navigation }, { id : 'navigation-features', title : 'Navigation Features', type : 'aside', icon : 'heroicons_outline:menu', - children: [] // This will be filled from defaultNavigation so we don't have to manage multiple sets of the same navigation - } + children: [], // This will be filled from defaultNavigation so we don't have to manage multiple sets of the same navigation + }, ]; export const horizontalNavigation: FuseNavigationItem[] = [ { @@ -1226,34 +1226,34 @@ export const horizontalNavigation: FuseNavigationItem[] = [ title : 'Dashboards', type : 'group', icon : 'heroicons_outline:home', - children: [] // This will be filled from defaultNavigation so we don't have to manage multiple sets of the same navigation + children: [], // This will be filled from defaultNavigation so we don't have to manage multiple sets of the same navigation }, { id : 'apps', title : 'Apps', type : 'group', icon : 'heroicons_outline:qrcode', - children: [] // This will be filled from defaultNavigation so we don't have to manage multiple sets of the same navigation + children: [], // This will be filled from defaultNavigation so we don't have to manage multiple sets of the same navigation }, { id : 'pages', title : 'Pages', type : 'group', icon : 'heroicons_outline:document-duplicate', - children: [] // This will be filled from defaultNavigation so we don't have to manage multiple sets of the same navigation + children: [], // This will be filled from defaultNavigation so we don't have to manage multiple sets of the same navigation }, { id : 'user-interface', title : 'UI', type : 'group', icon : 'heroicons_outline:collection', - children: [] // This will be filled from defaultNavigation so we don't have to manage multiple sets of the same navigation + children: [], // This will be filled from defaultNavigation so we don't have to manage multiple sets of the same navigation }, { id : 'navigation-features', title : 'Misc', type : 'group', icon : 'heroicons_outline:menu', - children: [] // This will be filled from defaultNavigation so we don't have to manage multiple sets of the same navigation - } + children: [], // This will be filled from defaultNavigation so we don't have to manage multiple sets of the same navigation + }, ]; diff --git a/src/app/mock-api/common/notifications/api.ts b/src/app/mock-api/common/notifications/api.ts index b4856ba9..82d4fd56 100644 --- a/src/app/mock-api/common/notifications/api.ts +++ b/src/app/mock-api/common/notifications/api.ts @@ -1,10 +1,10 @@ import { Injectable } from '@angular/core'; -import { assign, cloneDeep } from 'lodash-es'; import { FuseMockApiService, FuseMockApiUtils } from '@fuse/lib/mock-api'; import { notifications as notificationsData } from 'app/mock-api/common/notifications/data'; +import { assign, cloneDeep } from 'lodash-es'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class NotificationsMockApi { @@ -40,7 +40,8 @@ export class NotificationsMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPost('api/common/notifications') - .reply(({request}) => { + .reply(({request}) => + { // Get the notification const newNotification = cloneDeep(request.body.notification); @@ -60,7 +61,8 @@ export class NotificationsMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPatch('api/common/notifications') - .reply(({request}) => { + .reply(({request}) => + { // Get the id and notification const id = request.body.id; @@ -70,7 +72,8 @@ export class NotificationsMockApi let updatedNotification = null; // Find the notification and update it - this._notifications.forEach((item: any, index: number, notifications: any[]) => { + this._notifications.forEach((item: any, index: number, notifications: any[]) => + { if ( item.id === id ) { @@ -91,7 +94,8 @@ export class NotificationsMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onDelete('api/common/notifications') - .reply(({request}) => { + .reply(({request}) => + { // Get the id const id = request.params.get('id'); @@ -117,10 +121,12 @@ export class NotificationsMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onGet('api/common/notifications/mark-all-as-read') - .reply(() => { + .reply(() => + { // Go through all notifications - this._notifications.forEach((item: any, index: number, notifications: any[]) => { + this._notifications.forEach((item: any, index: number, notifications: any[]) => + { // Mark it as read notifications[index].read = true; @@ -136,7 +142,8 @@ export class NotificationsMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPost('api/common/notifications/toggle-read-status') - .reply(({request}) => { + .reply(({request}) => + { // Get the notification const notification = cloneDeep(request.body.notification); @@ -145,7 +152,8 @@ export class NotificationsMockApi let updatedNotification = null; // Find the notification and update it - this._notifications.forEach((item: any, index: number, notifications: any[]) => { + this._notifications.forEach((item: any, index: number, notifications: any[]) => + { if ( item.id === notification.id ) { diff --git a/src/app/mock-api/common/notifications/data.ts b/src/app/mock-api/common/notifications/data.ts index 67c77a61..5c197bd1 100644 --- a/src/app/mock-api/common/notifications/data.ts +++ b/src/app/mock-api/common/notifications/data.ts @@ -11,7 +11,7 @@ export const notifications = [ title : 'Daily challenges', description: 'Your submission has been accepted', time : now.minus({minute: 25}).toISO(), // 25 minutes ago - read : false + read : false, }, { id : '6e3e97e5-effc-4fb7-b730-52a151f0b641', @@ -20,7 +20,7 @@ export const notifications = [ time : now.minus({minute: 50}).toISO(), // 50 minutes ago read : true, link : '/dashboards/project', - useRouter : true + useRouter : true, }, { id : 'b91ccb58-b06c-413b-b389-87010e03a120', @@ -30,7 +30,7 @@ export const notifications = [ time : now.minus({hour: 3}).toISO(), // 3 hours ago read : false, link : '/dashboards/project', - useRouter : true + useRouter : true, }, { id : '541416c9-84a7-408a-8d74-27a43c38d797', @@ -40,7 +40,7 @@ export const notifications = [ time : now.minus({hour: 5}).toISO(), // 5 hours ago read : false, link : '/dashboards/project', - useRouter : true + useRouter : true, }, { id : 'ef7b95a7-8e8b-4616-9619-130d9533add9', @@ -49,7 +49,7 @@ export const notifications = [ time : now.minus({hour: 7}).toISO(), // 7 hours ago read : true, link : '/dashboards/project', - useRouter : true + useRouter : true, }, { id : 'eb8aa470-635e-461d-88e1-23d9ea2a5665', @@ -58,7 +58,7 @@ export const notifications = [ time : now.minus({hour: 9}).toISO(), // 9 hours ago read : true, link : '/dashboards/project', - useRouter : true + useRouter : true, }, { id : 'b85c2338-cc98-4140-bbf8-c226ce4e395e', @@ -68,7 +68,7 @@ export const notifications = [ time : now.minus({day: 1}).toISO(), // 1 day ago read : true, link : '/dashboards/project', - useRouter : true + useRouter : true, }, { id : '8f8e1bf9-4661-4939-9e43-390957b60f42', @@ -78,7 +78,7 @@ export const notifications = [ time : now.minus({day: 3}).toISO(), // 3 days ago read : true, link : '/dashboards/project', - useRouter : true + useRouter : true, }, { id : '30af917b-7a6a-45d1-822f-9e7ad7f8bf69', @@ -88,6 +88,6 @@ export const notifications = [ time : now.minus({day: 4}).toISO(), // 4 days ago read : true, link : '/dashboards/project', - useRouter : true - } + useRouter : true, + }, ]; diff --git a/src/app/mock-api/common/search/api.ts b/src/app/mock-api/common/search/api.ts index 7b164100..cee6b7e4 100644 --- a/src/app/mock-api/common/search/api.ts +++ b/src/app/mock-api/common/search/api.ts @@ -1,13 +1,13 @@ import { Injectable } from '@angular/core'; -import { cloneDeep } from 'lodash-es'; import { FuseNavigationItem, FuseNavigationService } from '@fuse/components/navigation'; import { FuseMockApiService } from '@fuse/lib/mock-api'; -import { defaultNavigation } from 'app/mock-api/common/navigation/data'; import { contacts } from 'app/mock-api/apps/contacts/data'; import { tasks } from 'app/mock-api/apps/tasks/data'; +import { defaultNavigation } from 'app/mock-api/common/navigation/data'; +import { cloneDeep } from 'lodash-es'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class SearchMockApi { @@ -20,7 +20,7 @@ export class SearchMockApi */ constructor( private _fuseMockApiService: FuseMockApiService, - private _fuseNavigationService: FuseNavigationService + private _fuseNavigationService: FuseNavigationService, ) { // Register Mock API handlers @@ -44,7 +44,8 @@ export class SearchMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPost('api/common/search') - .reply(({request}) => { + .reply(({request}) => + { // Get the search query const query = cloneDeep(request.body.query.toLowerCase()); @@ -75,7 +76,8 @@ export class SearchMockApi if ( contactsResults.length > 0 ) { // Normalize the results - contactsResults.forEach((result) => { + contactsResults.forEach((result) => + { // Add a link result.link = '/apps/contacts/' + result.id; @@ -88,7 +90,7 @@ export class SearchMockApi results.push({ id : 'contacts', label : 'Contacts', - results: contactsResults + results: contactsResults, }); } @@ -96,7 +98,8 @@ export class SearchMockApi if ( pagesResults.length > 0 ) { // Normalize the results - pagesResults.forEach((result: any) => { + pagesResults.forEach((result: any) => + { // Add the page title as the value result.value = result.title; @@ -106,7 +109,7 @@ export class SearchMockApi results.push({ id : 'pages', label : 'Pages', - results: pagesResults + results: pagesResults, }); } @@ -114,7 +117,8 @@ export class SearchMockApi if ( tasksResults.length > 0 ) { // Normalize the results - tasksResults.forEach((result) => { + tasksResults.forEach((result) => + { // Add a link result.link = '/apps/tasks/' + result.id; @@ -127,7 +131,7 @@ export class SearchMockApi results.push({ id : 'tasks', label : 'Tasks', - results: tasksResults + results: tasksResults, }); } diff --git a/src/app/mock-api/common/shortcuts/api.ts b/src/app/mock-api/common/shortcuts/api.ts index 7d1ad06e..7f522d53 100644 --- a/src/app/mock-api/common/shortcuts/api.ts +++ b/src/app/mock-api/common/shortcuts/api.ts @@ -1,10 +1,10 @@ import { Injectable } from '@angular/core'; -import { assign, cloneDeep } from 'lodash-es'; import { FuseMockApiService, FuseMockApiUtils } from '@fuse/lib/mock-api'; import { shortcuts as shortcutsData } from 'app/mock-api/common/shortcuts/data'; +import { assign, cloneDeep } from 'lodash-es'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class ShortcutsMockApi { @@ -40,7 +40,8 @@ export class ShortcutsMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPost('api/common/shortcuts') - .reply(({request}) => { + .reply(({request}) => + { // Get the shortcut const newShortcut = cloneDeep(request.body.shortcut); @@ -60,7 +61,8 @@ export class ShortcutsMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPatch('api/common/shortcuts') - .reply(({request}) => { + .reply(({request}) => + { // Get the id and shortcut const id = request.body.id; @@ -70,7 +72,8 @@ export class ShortcutsMockApi let updatedShortcut = null; // Find the shortcut and update it - this._shortcuts.forEach((item: any, index: number, shortcuts: any[]) => { + this._shortcuts.forEach((item: any, index: number, shortcuts: any[]) => + { if ( item.id === id ) { @@ -91,7 +94,8 @@ export class ShortcutsMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onDelete('api/common/shortcuts') - .reply(({request}) => { + .reply(({request}) => + { // Get the id const id = request.params.get('id'); diff --git a/src/app/mock-api/common/shortcuts/data.ts b/src/app/mock-api/common/shortcuts/data.ts index 70396543..0dd31f5d 100644 --- a/src/app/mock-api/common/shortcuts/data.ts +++ b/src/app/mock-api/common/shortcuts/data.ts @@ -6,7 +6,7 @@ export const shortcuts = [ description: 'List of changes', icon : 'heroicons_outline:clipboard-list', link : '/docs/changelog', - useRouter : true + useRouter : true, }, { id : '989ce876-c177-4d71-a749-1953c477f825', @@ -14,7 +14,7 @@ export const shortcuts = [ description: 'Getting started', icon : 'heroicons_outline:book-open', link : '/docs/guides/getting-started/introduction', - useRouter : true + useRouter : true, }, { id : '2496f42e-2f25-4e34-83d5-3ff9568fd984', @@ -22,7 +22,7 @@ export const shortcuts = [ description: 'FAQs and guides', icon : 'heroicons_outline:support', link : '/apps/help-center', - useRouter : true + useRouter : true, }, { id : '3c48e75e-2ae7-4b73-938a-12dc655be28b', @@ -30,7 +30,7 @@ export const shortcuts = [ description: 'User analytics', icon : 'heroicons_outline:chart-pie', link : '/dashboards/analytics', - useRouter : true + useRouter : true, }, { id : '2daac375-a2f7-4393-b4d7-ce6061628b66', @@ -38,7 +38,7 @@ export const shortcuts = [ description: '5 new e-mails', icon : 'heroicons_outline:mail', link : 'apps/mailbox', - useRouter : true + useRouter : true, }, { id : '56a0a561-17e7-40b3-bd75-0b6cef230b7e', @@ -46,7 +46,7 @@ export const shortcuts = [ description: '12 unfinished tasks', icon : 'heroicons_outline:check-circle', link : '/apps/tasks', - useRouter : true + useRouter : true, }, { id : 'f5daf93e-b6f3-4199-8a0c-b951e92a6cb8', @@ -54,7 +54,7 @@ export const shortcuts = [ description: 'List all contacts', icon : 'heroicons_outline:user-group', link : '/apps/contacts', - useRouter : true + useRouter : true, }, { id : '0a240ab8-e19d-4503-bf68-20013030d526', @@ -62,6 +62,6 @@ export const shortcuts = [ description: 'Reload the app', icon : 'heroicons_outline:refresh', link : '/dashboards/project', - useRouter : false - } + useRouter : false, + }, ]; diff --git a/src/app/mock-api/common/user/api.ts b/src/app/mock-api/common/user/api.ts index f73d3671..9bfd98e3 100644 --- a/src/app/mock-api/common/user/api.ts +++ b/src/app/mock-api/common/user/api.ts @@ -1,10 +1,10 @@ import { Injectable } from '@angular/core'; -import { assign, cloneDeep } from 'lodash-es'; import { FuseMockApiService } from '@fuse/lib/mock-api'; import { user as userData } from 'app/mock-api/common/user/data'; +import { assign, cloneDeep } from 'lodash-es'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class UserMockApi { @@ -40,7 +40,8 @@ export class UserMockApi // ----------------------------------------------------------------------------------------------------- this._fuseMockApiService .onPatch('api/common/user') - .reply(({request}) => { + .reply(({request}) => + { // Get the user mock-api const user = cloneDeep(request.body.user); diff --git a/src/app/mock-api/common/user/data.ts b/src/app/mock-api/common/user/data.ts index 9a51752a..107dfc74 100644 --- a/src/app/mock-api/common/user/data.ts +++ b/src/app/mock-api/common/user/data.ts @@ -4,5 +4,5 @@ export const user = { name : 'Brian Hughes', email : 'hughes.brian@company.com', avatar: 'assets/images/avatars/brian-hughes.jpg', - status: 'online' + status: 'online', }; diff --git a/src/app/mock-api/dashboards/analytics/api.ts b/src/app/mock-api/dashboards/analytics/api.ts index 891be01e..9f817f91 100644 --- a/src/app/mock-api/dashboards/analytics/api.ts +++ b/src/app/mock-api/dashboards/analytics/api.ts @@ -1,10 +1,10 @@ import { Injectable } from '@angular/core'; -import { cloneDeep } from 'lodash-es'; import { FuseMockApiService } from '@fuse/lib/mock-api'; import { analytics as analyticsData } from 'app/mock-api/dashboards/analytics/data'; +import { cloneDeep } from 'lodash-es'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class AnalyticsMockApi { diff --git a/src/app/mock-api/dashboards/analytics/data.ts b/src/app/mock-api/dashboards/analytics/data.ts index 012fdefa..5f8ab484 100644 --- a/src/app/mock-api/dashboards/analytics/data.ts +++ b/src/app/mock-api/dashboards/analytics/data.ts @@ -13,486 +13,486 @@ export const analytics = { data: [ { x: now.minus({months: 12}).plus({day: 1}).toJSDate(), - y: 4884 + y: 4884, }, { x: now.minus({months: 12}).plus({day: 4}).toJSDate(), - y: 5351 + y: 5351, }, { x: now.minus({months: 12}).plus({day: 7}).toJSDate(), - y: 5293 + y: 5293, }, { x: now.minus({months: 12}).plus({day: 10}).toJSDate(), - y: 4908 + y: 4908, }, { x: now.minus({months: 12}).plus({day: 13}).toJSDate(), - y: 5027 + y: 5027, }, { x: now.minus({months: 12}).plus({day: 16}).toJSDate(), - y: 4837 + y: 4837, }, { x: now.minus({months: 12}).plus({day: 19}).toJSDate(), - y: 4484 + y: 4484, }, { x: now.minus({months: 12}).plus({day: 22}).toJSDate(), - y: 4071 + y: 4071, }, { x: now.minus({months: 12}).plus({day: 25}).toJSDate(), - y: 4124 + y: 4124, }, { x: now.minus({months: 12}).plus({day: 28}).toJSDate(), - y: 4563 + y: 4563, }, { x: now.minus({months: 11}).plus({day: 1}).toJSDate(), - y: 3820 + y: 3820, }, { x: now.minus({months: 11}).plus({day: 4}).toJSDate(), - y: 3968 + y: 3968, }, { x: now.minus({months: 11}).plus({day: 7}).toJSDate(), - y: 4102 + y: 4102, }, { x: now.minus({months: 11}).plus({day: 10}).toJSDate(), - y: 3941 + y: 3941, }, { x: now.minus({months: 11}).plus({day: 13}).toJSDate(), - y: 3566 + y: 3566, }, { x: now.minus({months: 11}).plus({day: 16}).toJSDate(), - y: 3853 + y: 3853, }, { x: now.minus({months: 11}).plus({day: 19}).toJSDate(), - y: 3853 + y: 3853, }, { x: now.minus({months: 11}).plus({day: 22}).toJSDate(), - y: 4069 + y: 4069, }, { x: now.minus({months: 11}).plus({day: 25}).toJSDate(), - y: 3879 + y: 3879, }, { x: now.minus({months: 11}).plus({day: 28}).toJSDate(), - y: 4298 + y: 4298, }, { x: now.minus({months: 10}).plus({day: 1}).toJSDate(), - y: 4355 + y: 4355, }, { x: now.minus({months: 10}).plus({day: 4}).toJSDate(), - y: 4065 + y: 4065, }, { x: now.minus({months: 10}).plus({day: 7}).toJSDate(), - y: 3650 + y: 3650, }, { x: now.minus({months: 10}).plus({day: 10}).toJSDate(), - y: 3379 + y: 3379, }, { x: now.minus({months: 10}).plus({day: 13}).toJSDate(), - y: 3191 + y: 3191, }, { x: now.minus({months: 10}).plus({day: 16}).toJSDate(), - y: 2968 + y: 2968, }, { x: now.minus({months: 10}).plus({day: 19}).toJSDate(), - y: 2957 + y: 2957, }, { x: now.minus({months: 10}).plus({day: 22}).toJSDate(), - y: 3313 + y: 3313, }, { x: now.minus({months: 10}).plus({day: 25}).toJSDate(), - y: 3708 + y: 3708, }, { x: now.minus({months: 10}).plus({day: 28}).toJSDate(), - y: 3586 + y: 3586, }, { x: now.minus({months: 9}).plus({day: 1}).toJSDate(), - y: 3965 + y: 3965, }, { x: now.minus({months: 9}).plus({day: 4}).toJSDate(), - y: 3901 + y: 3901, }, { x: now.minus({months: 9}).plus({day: 7}).toJSDate(), - y: 3410 + y: 3410, }, { x: now.minus({months: 9}).plus({day: 10}).toJSDate(), - y: 3748 + y: 3748, }, { x: now.minus({months: 9}).plus({day: 13}).toJSDate(), - y: 3929 + y: 3929, }, { x: now.minus({months: 9}).plus({day: 16}).toJSDate(), - y: 3846 + y: 3846, }, { x: now.minus({months: 9}).plus({day: 19}).toJSDate(), - y: 3771 + y: 3771, }, { x: now.minus({months: 9}).plus({day: 22}).toJSDate(), - y: 4015 + y: 4015, }, { x: now.minus({months: 9}).plus({day: 25}).toJSDate(), - y: 3589 + y: 3589, }, { x: now.minus({months: 9}).plus({day: 28}).toJSDate(), - y: 3150 + y: 3150, }, { x: now.minus({months: 8}).plus({day: 1}).toJSDate(), - y: 3050 + y: 3050, }, { x: now.minus({months: 8}).plus({day: 4}).toJSDate(), - y: 2574 + y: 2574, }, { x: now.minus({months: 8}).plus({day: 7}).toJSDate(), - y: 2823 + y: 2823, }, { x: now.minus({months: 8}).plus({day: 10}).toJSDate(), - y: 2848 + y: 2848, }, { x: now.minus({months: 8}).plus({day: 13}).toJSDate(), - y: 3000 + y: 3000, }, { x: now.minus({months: 8}).plus({day: 16}).toJSDate(), - y: 3216 + y: 3216, }, { x: now.minus({months: 8}).plus({day: 19}).toJSDate(), - y: 3299 + y: 3299, }, { x: now.minus({months: 8}).plus({day: 22}).toJSDate(), - y: 3768 + y: 3768, }, { x: now.minus({months: 8}).plus({day: 25}).toJSDate(), - y: 3524 + y: 3524, }, { x: now.minus({months: 8}).plus({day: 28}).toJSDate(), - y: 3918 + y: 3918, }, { x: now.minus({months: 7}).plus({day: 1}).toJSDate(), - y: 4145 + y: 4145, }, { x: now.minus({months: 7}).plus({day: 4}).toJSDate(), - y: 4378 + y: 4378, }, { x: now.minus({months: 7}).plus({day: 7}).toJSDate(), - y: 3941 + y: 3941, }, { x: now.minus({months: 7}).plus({day: 10}).toJSDate(), - y: 3932 + y: 3932, }, { x: now.minus({months: 7}).plus({day: 13}).toJSDate(), - y: 4380 + y: 4380, }, { x: now.minus({months: 7}).plus({day: 16}).toJSDate(), - y: 4243 + y: 4243, }, { x: now.minus({months: 7}).plus({day: 19}).toJSDate(), - y: 4367 + y: 4367, }, { x: now.minus({months: 7}).plus({day: 22}).toJSDate(), - y: 3879 + y: 3879, }, { x: now.minus({months: 7}).plus({day: 25}).toJSDate(), - y: 4357 + y: 4357, }, { x: now.minus({months: 7}).plus({day: 28}).toJSDate(), - y: 4181 + y: 4181, }, { x: now.minus({months: 6}).plus({day: 1}).toJSDate(), - y: 4619 + y: 4619, }, { x: now.minus({months: 6}).plus({day: 4}).toJSDate(), - y: 4769 + y: 4769, }, { x: now.minus({months: 6}).plus({day: 7}).toJSDate(), - y: 4901 + y: 4901, }, { x: now.minus({months: 6}).plus({day: 10}).toJSDate(), - y: 4640 + y: 4640, }, { x: now.minus({months: 6}).plus({day: 13}).toJSDate(), - y: 5128 + y: 5128, }, { x: now.minus({months: 6}).plus({day: 16}).toJSDate(), - y: 5015 + y: 5015, }, { x: now.minus({months: 6}).plus({day: 19}).toJSDate(), - y: 5360 + y: 5360, }, { x: now.minus({months: 6}).plus({day: 22}).toJSDate(), - y: 5608 + y: 5608, }, { x: now.minus({months: 6}).plus({day: 25}).toJSDate(), - y: 5272 + y: 5272, }, { x: now.minus({months: 6}).plus({day: 28}).toJSDate(), - y: 5660 + y: 5660, }, { x: now.minus({months: 5}).plus({day: 1}).toJSDate(), - y: 5836 + y: 5836, }, { x: now.minus({months: 5}).plus({day: 4}).toJSDate(), - y: 5659 + y: 5659, }, { x: now.minus({months: 5}).plus({day: 7}).toJSDate(), - y: 5575 + y: 5575, }, { x: now.minus({months: 5}).plus({day: 10}).toJSDate(), - y: 5474 + y: 5474, }, { x: now.minus({months: 5}).plus({day: 13}).toJSDate(), - y: 5427 + y: 5427, }, { x: now.minus({months: 5}).plus({day: 16}).toJSDate(), - y: 5865 + y: 5865, }, { x: now.minus({months: 5}).plus({day: 19}).toJSDate(), - y: 5700 + y: 5700, }, { x: now.minus({months: 5}).plus({day: 22}).toJSDate(), - y: 6052 + y: 6052, }, { x: now.minus({months: 5}).plus({day: 25}).toJSDate(), - y: 5760 + y: 5760, }, { x: now.minus({months: 5}).plus({day: 28}).toJSDate(), - y: 5648 + y: 5648, }, { x: now.minus({months: 4}).plus({day: 1}).toJSDate(), - y: 5435 + y: 5435, }, { x: now.minus({months: 4}).plus({day: 4}).toJSDate(), - y: 5239 + y: 5239, }, { x: now.minus({months: 4}).plus({day: 7}).toJSDate(), - y: 5452 + y: 5452, }, { x: now.minus({months: 4}).plus({day: 10}).toJSDate(), - y: 5416 + y: 5416, }, { x: now.minus({months: 4}).plus({day: 13}).toJSDate(), - y: 5195 + y: 5195, }, { x: now.minus({months: 4}).plus({day: 16}).toJSDate(), - y: 5119 + y: 5119, }, { x: now.minus({months: 4}).plus({day: 19}).toJSDate(), - y: 4635 + y: 4635, }, { x: now.minus({months: 4}).plus({day: 22}).toJSDate(), - y: 4833 + y: 4833, }, { x: now.minus({months: 4}).plus({day: 25}).toJSDate(), - y: 4584 + y: 4584, }, { x: now.minus({months: 4}).plus({day: 28}).toJSDate(), - y: 4822 + y: 4822, }, { x: now.minus({months: 3}).plus({day: 1}).toJSDate(), - y: 4582 + y: 4582, }, { x: now.minus({months: 3}).plus({day: 4}).toJSDate(), - y: 4348 + y: 4348, }, { x: now.minus({months: 3}).plus({day: 7}).toJSDate(), - y: 4132 + y: 4132, }, { x: now.minus({months: 3}).plus({day: 10}).toJSDate(), - y: 4099 + y: 4099, }, { x: now.minus({months: 3}).plus({day: 13}).toJSDate(), - y: 3849 + y: 3849, }, { x: now.minus({months: 3}).plus({day: 16}).toJSDate(), - y: 4010 + y: 4010, }, { x: now.minus({months: 3}).plus({day: 19}).toJSDate(), - y: 4486 + y: 4486, }, { x: now.minus({months: 3}).plus({day: 22}).toJSDate(), - y: 4403 + y: 4403, }, { x: now.minus({months: 3}).plus({day: 25}).toJSDate(), - y: 4141 + y: 4141, }, { x: now.minus({months: 3}).plus({day: 28}).toJSDate(), - y: 3780 + y: 3780, }, { x: now.minus({months: 2}).plus({day: 1}).toJSDate(), - y: 3524 + y: 3524, }, { x: now.minus({months: 2}).plus({day: 4}).toJSDate(), - y: 3212 + y: 3212, }, { x: now.minus({months: 2}).plus({day: 7}).toJSDate(), - y: 3568 + y: 3568, }, { x: now.minus({months: 2}).plus({day: 10}).toJSDate(), - y: 3800 + y: 3800, }, { x: now.minus({months: 2}).plus({day: 13}).toJSDate(), - y: 3796 + y: 3796, }, { x: now.minus({months: 2}).plus({day: 16}).toJSDate(), - y: 3870 + y: 3870, }, { x: now.minus({months: 2}).plus({day: 19}).toJSDate(), - y: 3745 + y: 3745, }, { x: now.minus({months: 2}).plus({day: 22}).toJSDate(), - y: 3751 + y: 3751, }, { x: now.minus({months: 2}).plus({day: 25}).toJSDate(), - y: 3310 + y: 3310, }, { x: now.minus({months: 2}).plus({day: 28}).toJSDate(), - y: 3509 + y: 3509, }, { x: now.minus({months: 1}).plus({day: 1}).toJSDate(), - y: 3187 + y: 3187, }, { x: now.minus({months: 1}).plus({day: 4}).toJSDate(), - y: 2918 + y: 2918, }, { x: now.minus({months: 1}).plus({day: 7}).toJSDate(), - y: 3191 + y: 3191, }, { x: now.minus({months: 1}).plus({day: 10}).toJSDate(), - y: 3437 + y: 3437, }, { x: now.minus({months: 1}).plus({day: 13}).toJSDate(), - y: 3291 + y: 3291, }, { x: now.minus({months: 1}).plus({day: 16}).toJSDate(), - y: 3317 + y: 3317, }, { x: now.minus({months: 1}).plus({day: 19}).toJSDate(), - y: 3716 + y: 3716, }, { x: now.minus({months: 1}).plus({day: 22}).toJSDate(), - y: 3260 + y: 3260, }, { x: now.minus({months: 1}).plus({day: 25}).toJSDate(), - y: 3694 + y: 3694, }, { x: now.minus({months: 1}).plus({day: 28}).toJSDate(), - y: 3598 - } - ] - } + y: 3598, + }, + ], + }, ], 'last-year': [ { @@ -500,488 +500,488 @@ export const analytics = { data: [ { x: now.minus({months: 24}).plus({day: 1}).toJSDate(), - y: 2021 + y: 2021, }, { x: now.minus({months: 24}).plus({day: 4}).toJSDate(), - y: 1749 + y: 1749, }, { x: now.minus({months: 24}).plus({day: 7}).toJSDate(), - y: 1654 + y: 1654, }, { x: now.minus({months: 24}).plus({day: 10}).toJSDate(), - y: 1900 + y: 1900, }, { x: now.minus({months: 24}).plus({day: 13}).toJSDate(), - y: 1647 + y: 1647, }, { x: now.minus({months: 24}).plus({day: 16}).toJSDate(), - y: 1315 + y: 1315, }, { x: now.minus({months: 24}).plus({day: 19}).toJSDate(), - y: 1807 + y: 1807, }, { x: now.minus({months: 24}).plus({day: 22}).toJSDate(), - y: 1793 + y: 1793, }, { x: now.minus({months: 24}).plus({day: 25}).toJSDate(), - y: 1892 + y: 1892, }, { x: now.minus({months: 24}).plus({day: 28}).toJSDate(), - y: 1846 + y: 1846, }, { x: now.minus({months: 23}).plus({day: 1}).toJSDate(), - y: 1804 + y: 1804, }, { x: now.minus({months: 23}).plus({day: 4}).toJSDate(), - y: 1778 + y: 1778, }, { x: now.minus({months: 23}).plus({day: 7}).toJSDate(), - y: 2015 + y: 2015, }, { x: now.minus({months: 23}).plus({day: 10}).toJSDate(), - y: 1892 + y: 1892, }, { x: now.minus({months: 23}).plus({day: 13}).toJSDate(), - y: 1708 + y: 1708, }, { x: now.minus({months: 23}).plus({day: 16}).toJSDate(), - y: 1711 + y: 1711, }, { x: now.minus({months: 23}).plus({day: 19}).toJSDate(), - y: 1570 + y: 1570, }, { x: now.minus({months: 23}).plus({day: 22}).toJSDate(), - y: 1507 + y: 1507, }, { x: now.minus({months: 23}).plus({day: 25}).toJSDate(), - y: 1451 + y: 1451, }, { x: now.minus({months: 23}).plus({day: 28}).toJSDate(), - y: 1522 + y: 1522, }, { x: now.minus({months: 22}).plus({day: 1}).toJSDate(), - y: 1977 + y: 1977, }, { x: now.minus({months: 22}).plus({day: 4}).toJSDate(), - y: 2367 + y: 2367, }, { x: now.minus({months: 22}).plus({day: 7}).toJSDate(), - y: 2798 + y: 2798, }, { x: now.minus({months: 22}).plus({day: 10}).toJSDate(), - y: 3080 + y: 3080, }, { x: now.minus({months: 22}).plus({day: 13}).toJSDate(), - y: 2856 + y: 2856, }, { x: now.minus({months: 22}).plus({day: 16}).toJSDate(), - y: 2745 + y: 2745, }, { x: now.minus({months: 22}).plus({day: 19}).toJSDate(), - y: 2750 + y: 2750, }, { x: now.minus({months: 22}).plus({day: 22}).toJSDate(), - y: 2728 + y: 2728, }, { x: now.minus({months: 22}).plus({day: 25}).toJSDate(), - y: 2436 + y: 2436, }, { x: now.minus({months: 22}).plus({day: 28}).toJSDate(), - y: 2289 + y: 2289, }, { x: now.minus({months: 21}).plus({day: 1}).toJSDate(), - y: 2804 + y: 2804, }, { x: now.minus({months: 21}).plus({day: 4}).toJSDate(), - y: 2777 + y: 2777, }, { x: now.minus({months: 21}).plus({day: 7}).toJSDate(), - y: 3024 + y: 3024, }, { x: now.minus({months: 21}).plus({day: 10}).toJSDate(), - y: 2657 + y: 2657, }, { x: now.minus({months: 21}).plus({day: 13}).toJSDate(), - y: 2218 + y: 2218, }, { x: now.minus({months: 21}).plus({day: 16}).toJSDate(), - y: 1964 + y: 1964, }, { x: now.minus({months: 21}).plus({day: 19}).toJSDate(), - y: 1674 + y: 1674, }, { x: now.minus({months: 21}).plus({day: 22}).toJSDate(), - y: 1721 + y: 1721, }, { x: now.minus({months: 21}).plus({day: 25}).toJSDate(), - y: 2005 + y: 2005, }, { x: now.minus({months: 21}).plus({day: 28}).toJSDate(), - y: 1613 + y: 1613, }, { x: now.minus({months: 20}).plus({day: 1}).toJSDate(), - y: 1071 + y: 1071, }, { x: now.minus({months: 20}).plus({day: 4}).toJSDate(), - y: 1079 + y: 1079, }, { x: now.minus({months: 20}).plus({day: 7}).toJSDate(), - y: 1133 + y: 1133, }, { x: now.minus({months: 20}).plus({day: 10}).toJSDate(), - y: 1536 + y: 1536, }, { x: now.minus({months: 20}).plus({day: 13}).toJSDate(), - y: 2016 + y: 2016, }, { x: now.minus({months: 20}).plus({day: 16}).toJSDate(), - y: 2256 + y: 2256, }, { x: now.minus({months: 20}).plus({day: 19}).toJSDate(), - y: 1934 + y: 1934, }, { x: now.minus({months: 20}).plus({day: 22}).toJSDate(), - y: 1832 + y: 1832, }, { x: now.minus({months: 20}).plus({day: 25}).toJSDate(), - y: 2075 + y: 2075, }, { x: now.minus({months: 20}).plus({day: 28}).toJSDate(), - y: 1709 + y: 1709, }, { x: now.minus({months: 19}).plus({day: 1}).toJSDate(), - y: 1831 + y: 1831, }, { x: now.minus({months: 19}).plus({day: 4}).toJSDate(), - y: 1434 + y: 1434, }, { x: now.minus({months: 19}).plus({day: 7}).toJSDate(), - y: 1293 + y: 1293, }, { x: now.minus({months: 19}).plus({day: 10}).toJSDate(), - y: 1064 + y: 1064, }, { x: now.minus({months: 19}).plus({day: 13}).toJSDate(), - y: 1080 + y: 1080, }, { x: now.minus({months: 19}).plus({day: 16}).toJSDate(), - y: 1032 + y: 1032, }, { x: now.minus({months: 19}).plus({day: 19}).toJSDate(), - y: 1280 + y: 1280, }, { x: now.minus({months: 19}).plus({day: 22}).toJSDate(), - y: 1344 + y: 1344, }, { x: now.minus({months: 19}).plus({day: 25}).toJSDate(), - y: 1835 + y: 1835, }, { x: now.minus({months: 19}).plus({day: 28}).toJSDate(), - y: 2287 + y: 2287, }, { x: now.minus({months: 18}).plus({day: 1}).toJSDate(), - y: 2692 + y: 2692, }, { x: now.minus({months: 18}).plus({day: 4}).toJSDate(), - y: 2250 + y: 2250, }, { x: now.minus({months: 18}).plus({day: 7}).toJSDate(), - y: 1814 + y: 1814, }, { x: now.minus({months: 18}).plus({day: 10}).toJSDate(), - y: 1906 + y: 1906, }, { x: now.minus({months: 18}).plus({day: 13}).toJSDate(), - y: 1973 + y: 1973, }, { x: now.minus({months: 18}).plus({day: 16}).toJSDate(), - y: 1882 + y: 1882, }, { x: now.minus({months: 18}).plus({day: 19}).toJSDate(), - y: 2333 + y: 2333, }, { x: now.minus({months: 18}).plus({day: 22}).toJSDate(), - y: 2048 + y: 2048, }, { x: now.minus({months: 18}).plus({day: 25}).toJSDate(), - y: 2547 + y: 2547, }, { x: now.minus({months: 18}).plus({day: 28}).toJSDate(), - y: 2884 + y: 2884, }, { x: now.minus({months: 17}).plus({day: 1}).toJSDate(), - y: 2771 + y: 2771, }, { x: now.minus({months: 17}).plus({day: 4}).toJSDate(), - y: 2522 + y: 2522, }, { x: now.minus({months: 17}).plus({day: 7}).toJSDate(), - y: 2543 + y: 2543, }, { x: now.minus({months: 17}).plus({day: 10}).toJSDate(), - y: 2413 + y: 2413, }, { x: now.minus({months: 17}).plus({day: 13}).toJSDate(), - y: 2002 + y: 2002, }, { x: now.minus({months: 17}).plus({day: 16}).toJSDate(), - y: 1838 + y: 1838, }, { x: now.minus({months: 17}).plus({day: 19}).toJSDate(), - y: 1830 + y: 1830, }, { x: now.minus({months: 17}).plus({day: 22}).toJSDate(), - y: 1872 + y: 1872, }, { x: now.minus({months: 17}).plus({day: 25}).toJSDate(), - y: 2246 + y: 2246, }, { x: now.minus({months: 17}).plus({day: 28}).toJSDate(), - y: 2171 + y: 2171, }, { x: now.minus({months: 16}).plus({day: 1}).toJSDate(), - y: 2988 + y: 2988, }, { x: now.minus({months: 16}).plus({day: 4}).toJSDate(), - y: 2694 + y: 2694, }, { x: now.minus({months: 16}).plus({day: 7}).toJSDate(), - y: 2806 + y: 2806, }, { x: now.minus({months: 16}).plus({day: 10}).toJSDate(), - y: 3040 + y: 3040, }, { x: now.minus({months: 16}).plus({day: 13}).toJSDate(), - y: 2898 + y: 2898, }, { x: now.minus({months: 16}).plus({day: 16}).toJSDate(), - y: 3013 + y: 3013, }, { x: now.minus({months: 16}).plus({day: 19}).toJSDate(), - y: 2760 + y: 2760, }, { x: now.minus({months: 16}).plus({day: 22}).toJSDate(), - y: 3021 + y: 3021, }, { x: now.minus({months: 16}).plus({day: 25}).toJSDate(), - y: 2688 + y: 2688, }, { x: now.minus({months: 16}).plus({day: 28}).toJSDate(), - y: 2572 + y: 2572, }, { x: now.minus({months: 15}).plus({day: 1}).toJSDate(), - y: 2789 + y: 2789, }, { x: now.minus({months: 15}).plus({day: 4}).toJSDate(), - y: 3069 + y: 3069, }, { x: now.minus({months: 15}).plus({day: 7}).toJSDate(), - y: 3142 + y: 3142, }, { x: now.minus({months: 15}).plus({day: 10}).toJSDate(), - y: 3614 + y: 3614, }, { x: now.minus({months: 15}).plus({day: 13}).toJSDate(), - y: 3202 + y: 3202, }, { x: now.minus({months: 15}).plus({day: 16}).toJSDate(), - y: 2730 + y: 2730, }, { x: now.minus({months: 15}).plus({day: 19}).toJSDate(), - y: 2951 + y: 2951, }, { x: now.minus({months: 15}).plus({day: 22}).toJSDate(), - y: 3267 + y: 3267, }, { x: now.minus({months: 15}).plus({day: 25}).toJSDate(), - y: 2882 + y: 2882, }, { x: now.minus({months: 15}).plus({day: 28}).toJSDate(), - y: 2885 + y: 2885, }, { x: now.minus({months: 14}).plus({day: 1}).toJSDate(), - y: 2915 + y: 2915, }, { x: now.minus({months: 14}).plus({day: 4}).toJSDate(), - y: 2790 + y: 2790, }, { x: now.minus({months: 14}).plus({day: 7}).toJSDate(), - y: 3071 + y: 3071, }, { x: now.minus({months: 14}).plus({day: 10}).toJSDate(), - y: 2802 + y: 2802, }, { x: now.minus({months: 14}).plus({day: 13}).toJSDate(), - y: 2382 + y: 2382, }, { x: now.minus({months: 14}).plus({day: 16}).toJSDate(), - y: 1883 + y: 1883, }, { x: now.minus({months: 14}).plus({day: 19}).toJSDate(), - y: 1448 + y: 1448, }, { x: now.minus({months: 14}).plus({day: 22}).toJSDate(), - y: 1176 + y: 1176, }, { x: now.minus({months: 14}).plus({day: 25}).toJSDate(), - y: 1275 + y: 1275, }, { x: now.minus({months: 14}).plus({day: 28}).toJSDate(), - y: 1136 + y: 1136, }, { x: now.minus({months: 13}).plus({day: 1}).toJSDate(), - y: 1160 + y: 1160, }, { x: now.minus({months: 13}).plus({day: 4}).toJSDate(), - y: 1524 + y: 1524, }, { x: now.minus({months: 13}).plus({day: 7}).toJSDate(), - y: 1305 + y: 1305, }, { x: now.minus({months: 13}).plus({day: 10}).toJSDate(), - y: 1725 + y: 1725, }, { x: now.minus({months: 13}).plus({day: 13}).toJSDate(), - y: 1850 + y: 1850, }, { x: now.minus({months: 13}).plus({day: 16}).toJSDate(), - y: 2304 + y: 2304, }, { x: now.minus({months: 13}).plus({day: 19}).toJSDate(), - y: 2187 + y: 2187, }, { x: now.minus({months: 13}).plus({day: 22}).toJSDate(), - y: 2597 + y: 2597, }, { x: now.minus({months: 13}).plus({day: 25}).toJSDate(), - y: 2246 + y: 2246, }, { x: now.minus({months: 13}).plus({day: 28}).toJSDate(), - y: 1767 - } - ] - } - ] - } + y: 1767, + }, + ], + }, + ], + }, }, conversions : { amount: 4123, @@ -991,14 +991,14 @@ export const analytics = { now.minus({days: 31}).toFormat('dd MMM') + ' - ' + now.minus({days: 24}).toFormat('dd MMM'), now.minus({days: 23}).toFormat('dd MMM') + ' - ' + now.minus({days: 16}).toFormat('dd MMM'), now.minus({days: 15}).toFormat('dd MMM') + ' - ' + now.minus({days: 8}).toFormat('dd MMM'), - now.minus({days: 7}).toFormat('dd MMM') + ' - ' + now.toFormat('dd MMM') + now.minus({days: 7}).toFormat('dd MMM') + ' - ' + now.toFormat('dd MMM'), ], series: [ { name: 'Conversions', - data: [4412, 4345, 4541, 4677, 4322, 4123] - } - ] + data: [4412, 4345, 4541, 4677, 4322, 4123], + }, + ], }, impressions : { amount: 46085, @@ -1006,14 +1006,14 @@ export const analytics = { now.minus({days: 31}).toFormat('dd MMM') + ' - ' + now.minus({days: 24}).toFormat('dd MMM'), now.minus({days: 23}).toFormat('dd MMM') + ' - ' + now.minus({days: 16}).toFormat('dd MMM'), now.minus({days: 15}).toFormat('dd MMM') + ' - ' + now.minus({days: 8}).toFormat('dd MMM'), - now.minus({days: 7}).toFormat('dd MMM') + ' - ' + now.toFormat('dd MMM') + now.minus({days: 7}).toFormat('dd MMM') + ' - ' + now.toFormat('dd MMM'), ], series: [ { name: 'Impressions', - data: [11577, 11441, 11544, 11523] - } - ] + data: [11577, 11441, 11544, 11523], + }, + ], }, visits : { amount: 62083, @@ -1021,14 +1021,14 @@ export const analytics = { now.minus({days: 31}).toFormat('dd MMM') + ' - ' + now.minus({days: 24}).toFormat('dd MMM'), now.minus({days: 23}).toFormat('dd MMM') + ' - ' + now.minus({days: 16}).toFormat('dd MMM'), now.minus({days: 15}).toFormat('dd MMM') + ' - ' + now.minus({days: 8}).toFormat('dd MMM'), - now.minus({days: 7}).toFormat('dd MMM') + ' - ' + now.toFormat('dd MMM') + now.minus({days: 7}).toFormat('dd MMM') + ' - ' + now.toFormat('dd MMM'), ], series: [ { name: 'Visits', - data: [15521, 15519, 15522, 15521] - } - ] + data: [15521, 15519, 15522, 15521], + }, + ], }, visitorsVsPageViews: { overallScore : 472, @@ -1040,563 +1040,563 @@ export const analytics = { data: [ { x: now.minus({days: 65}).toJSDate(), - y: 4769 + y: 4769, }, { x: now.minus({days: 64}).toJSDate(), - y: 4901 + y: 4901, }, { x: now.minus({days: 63}).toJSDate(), - y: 4640 + y: 4640, }, { x: now.minus({days: 62}).toJSDate(), - y: 5128 + y: 5128, }, { x: now.minus({days: 61}).toJSDate(), - y: 5015 + y: 5015, }, { x: now.minus({days: 60}).toJSDate(), - y: 5360 + y: 5360, }, { x: now.minus({days: 59}).toJSDate(), - y: 5608 + y: 5608, }, { x: now.minus({days: 58}).toJSDate(), - y: 5272 + y: 5272, }, { x: now.minus({days: 57}).toJSDate(), - y: 5660 + y: 5660, }, { x: now.minus({days: 56}).toJSDate(), - y: 6026 + y: 6026, }, { x: now.minus({days: 55}).toJSDate(), - y: 5836 + y: 5836, }, { x: now.minus({days: 54}).toJSDate(), - y: 5659 + y: 5659, }, { x: now.minus({days: 53}).toJSDate(), - y: 5575 + y: 5575, }, { x: now.minus({days: 52}).toJSDate(), - y: 5474 + y: 5474, }, { x: now.minus({days: 51}).toJSDate(), - y: 5427 + y: 5427, }, { x: now.minus({days: 50}).toJSDate(), - y: 5865 + y: 5865, }, { x: now.minus({days: 49}).toJSDate(), - y: 5700 + y: 5700, }, { x: now.minus({days: 48}).toJSDate(), - y: 6052 + y: 6052, }, { x: now.minus({days: 47}).toJSDate(), - y: 5760 + y: 5760, }, { x: now.minus({days: 46}).toJSDate(), - y: 5648 + y: 5648, }, { x: now.minus({days: 45}).toJSDate(), - y: 5510 + y: 5510, }, { x: now.minus({days: 44}).toJSDate(), - y: 5435 + y: 5435, }, { x: now.minus({days: 43}).toJSDate(), - y: 5239 + y: 5239, }, { x: now.minus({days: 42}).toJSDate(), - y: 5452 + y: 5452, }, { x: now.minus({days: 41}).toJSDate(), - y: 5416 + y: 5416, }, { x: now.minus({days: 40}).toJSDate(), - y: 5195 + y: 5195, }, { x: now.minus({days: 39}).toJSDate(), - y: 5119 + y: 5119, }, { x: now.minus({days: 38}).toJSDate(), - y: 4635 + y: 4635, }, { x: now.minus({days: 37}).toJSDate(), - y: 4833 + y: 4833, }, { x: now.minus({days: 36}).toJSDate(), - y: 4584 + y: 4584, }, { x: now.minus({days: 35}).toJSDate(), - y: 4822 + y: 4822, }, { x: now.minus({days: 34}).toJSDate(), - y: 4330 + y: 4330, }, { x: now.minus({days: 33}).toJSDate(), - y: 4582 + y: 4582, }, { x: now.minus({days: 32}).toJSDate(), - y: 4348 + y: 4348, }, { x: now.minus({days: 31}).toJSDate(), - y: 4132 + y: 4132, }, { x: now.minus({days: 30}).toJSDate(), - y: 4099 + y: 4099, }, { x: now.minus({days: 29}).toJSDate(), - y: 3849 + y: 3849, }, { x: now.minus({days: 28}).toJSDate(), - y: 4010 + y: 4010, }, { x: now.minus({days: 27}).toJSDate(), - y: 4486 + y: 4486, }, { x: now.minus({days: 26}).toJSDate(), - y: 4403 + y: 4403, }, { x: now.minus({days: 25}).toJSDate(), - y: 4141 + y: 4141, }, { x: now.minus({days: 24}).toJSDate(), - y: 3780 + y: 3780, }, { x: now.minus({days: 23}).toJSDate(), - y: 3929 + y: 3929, }, { x: now.minus({days: 22}).toJSDate(), - y: 3524 + y: 3524, }, { x: now.minus({days: 21}).toJSDate(), - y: 3212 + y: 3212, }, { x: now.minus({days: 20}).toJSDate(), - y: 3568 + y: 3568, }, { x: now.minus({days: 19}).toJSDate(), - y: 3800 + y: 3800, }, { x: now.minus({days: 18}).toJSDate(), - y: 3796 + y: 3796, }, { x: now.minus({days: 17}).toJSDate(), - y: 3870 + y: 3870, }, { x: now.minus({days: 16}).toJSDate(), - y: 3745 + y: 3745, }, { x: now.minus({days: 15}).toJSDate(), - y: 3751 + y: 3751, }, { x: now.minus({days: 14}).toJSDate(), - y: 3310 + y: 3310, }, { x: now.minus({days: 13}).toJSDate(), - y: 3509 + y: 3509, }, { x: now.minus({days: 12}).toJSDate(), - y: 3311 + y: 3311, }, { x: now.minus({days: 11}).toJSDate(), - y: 3187 + y: 3187, }, { x: now.minus({days: 10}).toJSDate(), - y: 2918 + y: 2918, }, { x: now.minus({days: 9}).toJSDate(), - y: 3191 + y: 3191, }, { x: now.minus({days: 8}).toJSDate(), - y: 3437 + y: 3437, }, { x: now.minus({days: 7}).toJSDate(), - y: 3291 + y: 3291, }, { x: now.minus({days: 6}).toJSDate(), - y: 3317 + y: 3317, }, { x: now.minus({days: 5}).toJSDate(), - y: 3716 + y: 3716, }, { x: now.minus({days: 4}).toJSDate(), - y: 3260 + y: 3260, }, { x: now.minus({days: 3}).toJSDate(), - y: 3694 + y: 3694, }, { x: now.minus({days: 2}).toJSDate(), - y: 3598 + y: 3598, }, { x: now.minus({days: 1}).toJSDate(), - y: 3812 - } - ] + y: 3812, + }, + ], }, { name: 'Visitors', data: [ { x: now.minus({days: 65}).toJSDate(), - y: 1654 + y: 1654, }, { x: now.minus({days: 64}).toJSDate(), - y: 1900 + y: 1900, }, { x: now.minus({days: 63}).toJSDate(), - y: 1647 + y: 1647, }, { x: now.minus({days: 62}).toJSDate(), - y: 1315 + y: 1315, }, { x: now.minus({days: 61}).toJSDate(), - y: 1807 + y: 1807, }, { x: now.minus({days: 60}).toJSDate(), - y: 1793 + y: 1793, }, { x: now.minus({days: 59}).toJSDate(), - y: 1892 + y: 1892, }, { x: now.minus({days: 58}).toJSDate(), - y: 1846 + y: 1846, }, { x: now.minus({days: 57}).toJSDate(), - y: 1966 + y: 1966, }, { x: now.minus({days: 56}).toJSDate(), - y: 1804 + y: 1804, }, { x: now.minus({days: 55}).toJSDate(), - y: 1778 + y: 1778, }, { x: now.minus({days: 54}).toJSDate(), - y: 2015 + y: 2015, }, { x: now.minus({days: 53}).toJSDate(), - y: 1892 + y: 1892, }, { x: now.minus({days: 52}).toJSDate(), - y: 1708 + y: 1708, }, { x: now.minus({days: 51}).toJSDate(), - y: 1711 + y: 1711, }, { x: now.minus({days: 50}).toJSDate(), - y: 1570 + y: 1570, }, { x: now.minus({days: 49}).toJSDate(), - y: 1507 + y: 1507, }, { x: now.minus({days: 48}).toJSDate(), - y: 1451 + y: 1451, }, { x: now.minus({days: 47}).toJSDate(), - y: 1522 + y: 1522, }, { x: now.minus({days: 46}).toJSDate(), - y: 1801 + y: 1801, }, { x: now.minus({days: 45}).toJSDate(), - y: 1977 + y: 1977, }, { x: now.minus({days: 44}).toJSDate(), - y: 2367 + y: 2367, }, { x: now.minus({days: 43}).toJSDate(), - y: 2798 + y: 2798, }, { x: now.minus({days: 42}).toJSDate(), - y: 3080 + y: 3080, }, { x: now.minus({days: 41}).toJSDate(), - y: 2856 + y: 2856, }, { x: now.minus({days: 40}).toJSDate(), - y: 2745 + y: 2745, }, { x: now.minus({days: 39}).toJSDate(), - y: 2750 + y: 2750, }, { x: now.minus({days: 38}).toJSDate(), - y: 2728 + y: 2728, }, { x: now.minus({days: 37}).toJSDate(), - y: 2436 + y: 2436, }, { x: now.minus({days: 36}).toJSDate(), - y: 2289 + y: 2289, }, { x: now.minus({days: 35}).toJSDate(), - y: 2657 + y: 2657, }, { x: now.minus({days: 34}).toJSDate(), - y: 2804 + y: 2804, }, { x: now.minus({days: 33}).toJSDate(), - y: 2777 + y: 2777, }, { x: now.minus({days: 32}).toJSDate(), - y: 3024 + y: 3024, }, { x: now.minus({days: 31}).toJSDate(), - y: 2657 + y: 2657, }, { x: now.minus({days: 30}).toJSDate(), - y: 2218 + y: 2218, }, { x: now.minus({days: 29}).toJSDate(), - y: 1964 + y: 1964, }, { x: now.minus({days: 28}).toJSDate(), - y: 1674 + y: 1674, }, { x: now.minus({days: 27}).toJSDate(), - y: 1721 + y: 1721, }, { x: now.minus({days: 26}).toJSDate(), - y: 2005 + y: 2005, }, { x: now.minus({days: 25}).toJSDate(), - y: 1613 + y: 1613, }, { x: now.minus({days: 24}).toJSDate(), - y: 1295 + y: 1295, }, { x: now.minus({days: 23}).toJSDate(), - y: 1071 + y: 1071, }, { x: now.minus({days: 22}).toJSDate(), - y: 799 + y: 799, }, { x: now.minus({days: 21}).toJSDate(), - y: 1133 + y: 1133, }, { x: now.minus({days: 20}).toJSDate(), - y: 1536 + y: 1536, }, { x: now.minus({days: 19}).toJSDate(), - y: 2016 + y: 2016, }, { x: now.minus({days: 18}).toJSDate(), - y: 2256 + y: 2256, }, { x: now.minus({days: 17}).toJSDate(), - y: 1934 + y: 1934, }, { x: now.minus({days: 16}).toJSDate(), - y: 1832 + y: 1832, }, { x: now.minus({days: 15}).toJSDate(), - y: 2075 + y: 2075, }, { x: now.minus({days: 14}).toJSDate(), - y: 1709 + y: 1709, }, { x: now.minus({days: 13}).toJSDate(), - y: 1932 + y: 1932, }, { x: now.minus({days: 12}).toJSDate(), - y: 1831 + y: 1831, }, { x: now.minus({days: 11}).toJSDate(), - y: 1434 + y: 1434, }, { x: now.minus({days: 10}).toJSDate(), - y: 993 + y: 993, }, { x: now.minus({days: 9}).toJSDate(), - y: 1064 + y: 1064, }, { x: now.minus({days: 8}).toJSDate(), - y: 618 + y: 618, }, { x: now.minus({days: 7}).toJSDate(), - y: 1032 + y: 1032, }, { x: now.minus({days: 6}).toJSDate(), - y: 1280 + y: 1280, }, { x: now.minus({days: 5}).toJSDate(), - y: 1344 + y: 1344, }, { x: now.minus({days: 4}).toJSDate(), - y: 1835 + y: 1835, }, { x: now.minus({days: 3}).toJSDate(), - y: 2287 + y: 2287, }, { x: now.minus({days: 2}).toJSDate(), - y: 2226 + y: 2226, }, { x: now.minus({days: 1}).toJSDate(), - y: 2692 - } - ] - } - ] + y: 2692, + }, + ], + }, + ], }, newVsReturning : { uniqueVisitors: 46085, series : [80, 20], labels : [ 'New', - 'Returning' - ] + 'Returning', + ], }, gender : { uniqueVisitors: 46085, series : [55, 45], labels : [ 'Male', - 'Female' - ] + 'Female', + ], }, age : { uniqueVisitors: 46085, series : [35, 65], labels : [ 'Under 30', - 'Over 30' - ] + 'Over 30', + ], }, language : { uniqueVisitors: 46085, series : [25, 75], labels : [ 'English', - 'Other' - ] - } + 'Other', + ], + }, }; diff --git a/src/app/mock-api/dashboards/crypto/api.ts b/src/app/mock-api/dashboards/crypto/api.ts index e59c7b04..edd2c87e 100644 --- a/src/app/mock-api/dashboards/crypto/api.ts +++ b/src/app/mock-api/dashboards/crypto/api.ts @@ -1,10 +1,10 @@ import { Injectable } from '@angular/core'; -import { cloneDeep } from 'lodash-es'; import { FuseMockApiService } from '@fuse/lib/mock-api'; import { crypto as cryptoData } from 'app/mock-api/dashboards/crypto/data'; +import { cloneDeep } from 'lodash-es'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class CryptoMockApi { diff --git a/src/app/mock-api/dashboards/crypto/data.ts b/src/app/mock-api/dashboards/crypto/data.ts index 60af2d5e..bf0eb356 100644 --- a/src/app/mock-api/dashboards/crypto/data.ts +++ b/src/app/mock-api/dashboards/crypto/data.ts @@ -9,7 +9,7 @@ export const crypto = { amount : 8878.48, trend : { dir : 'up', - amount: 0.17 + amount: 0.17, }, marketCap : 148752956966, volume : 22903438381, @@ -22,600 +22,600 @@ export const crypto = { data: [ { x: -145, - y: 6554.36 + y: 6554.36, }, { x: -144, - y: 6554.36 + y: 6554.36, }, { x: -143, - y: 6546.94 + y: 6546.94, }, { x: -142, - y: 6546.96 + y: 6546.96, }, { x: -141, - y: 6546.11 + y: 6546.11, }, { x: -140, - y: 6550.26 + y: 6550.26, }, { x: -139, - y: 6546.11 + y: 6546.11, }, { x: -138, - y: 6550.79 + y: 6550.79, }, { x: -137, - y: 6545.36 + y: 6545.36, }, { x: -136, - y: 6541.06 + y: 6541.06, }, { x: -135, - y: 6540.10 + y: 6540.10, }, { x: -134, - y: 6538.31 + y: 6538.31, }, { x: -133, - y: 6538.42 + y: 6538.42, }, { x: -132, - y: 6538.48 + y: 6538.48, }, { x: -131, - y: 6538.71 + y: 6538.71, }, { x: -130, - y: 6548.42 + y: 6548.42, }, { x: -129, - y: 6546.87 + y: 6546.87, }, { x: -128, - y: 6547.07 + y: 6547.07, }, { x: -127, - y: 6535.07 + y: 6535.07, }, { x: -126, - y: 6535.01 + y: 6535.01, }, { x: -125, - y: 6539.02 + y: 6539.02, }, { x: -124, - y: 6547.96 + y: 6547.96, }, { x: -123, - y: 6547.92 + y: 6547.92, }, { x: -122, - y: 6546.56 + y: 6546.56, }, { x: -121, - y: 6546.56 + y: 6546.56, }, { x: -120, - y: 6564.16 + y: 6564.16, }, { x: -119, - y: 6560.83 + y: 6560.83, }, { x: -118, - y: 6559.08 + y: 6559.08, }, { x: -117, - y: 6553.02 + y: 6553.02, }, { x: -116, - y: 6564.99 + y: 6564.99, }, { x: -115, - y: 6558.70 + y: 6558.70, }, { x: -114, - y: 6568.73 + y: 6568.73, }, { x: -113, - y: 6568.80 + y: 6568.80, }, { x: -112, - y: 6568.80 + y: 6568.80, }, { x: -111, - y: 6568.80 + y: 6568.80, }, { x: -110, - y: 6571.83 + y: 6571.83, }, { x: -109, - y: 6562.64 + y: 6562.64, }, { x: -108, - y: 6561.28 + y: 6561.28, }, { x: -107, - y: 6561.28 + y: 6561.28, }, { x: -106, - y: 6560.40 + y: 6560.40, }, { x: -105, - y: 6564.41 + y: 6564.41, }, { x: -104, - y: 6562.44 + y: 6562.44, }, { x: -103, - y: 6565.13 + y: 6565.13, }, { x: -102, - y: 6553.30 + y: 6553.30, }, { x: -101, - y: 6552.68 + y: 6552.68, }, { x: -100, - y: 6551.92 + y: 6551.92, }, { x: -99, - y: 6553.85 + y: 6553.85, }, { x: -98, - y: 6560.00 + y: 6560.00, }, { x: -97, - y: 6560.00 + y: 6560.00, }, { x: -96, - y: 6565.01 + y: 6565.01, }, { x: -95, - y: 6583.19 + y: 6583.19, }, { x: -94, - y: 6555.79 + y: 6555.79, }, { x: -93, - y: 6556.04 + y: 6556.04, }, { x: -92, - y: 6558.85 + y: 6558.85, }, { x: -91, - y: 6564.75 + y: 6564.75, }, { x: -90, - y: 6564.88 + y: 6564.88, }, { x: -89, - y: 6565.10 + y: 6565.10, }, { x: -88, - y: 6565.72 + y: 6565.72, }, { x: -87, - y: 6565.72 + y: 6565.72, }, { x: -86, - y: 6565.95 + y: 6565.95, }, { x: -85, - y: 6561.82 + y: 6561.82, }, { x: -84, - y: 6566.26 + y: 6566.26, }, { x: -83, - y: 6568.81 + y: 6568.81, }, { x: -82, - y: 6588.57 + y: 6588.57, }, { x: -81, - y: 6587.11 + y: 6587.11, }, { x: -80, - y: 6577.86 + y: 6577.86, }, { x: -79, - y: 6586.51 + y: 6586.51, }, { x: -78, - y: 6581.14 + y: 6581.14, }, { x: -77, - y: 6581.45 + y: 6581.45, }, { x: -76, - y: 6589.54 + y: 6589.54, }, { x: -75, - y: 6580.91 + y: 6580.91, }, { x: -74, - y: 6581.67 + y: 6581.67, }, { x: -73, - y: 6579.06 + y: 6579.06, }, { x: -72, - y: 6578.73 + y: 6578.73, }, { x: -71, - y: 6578.64 + y: 6578.64, }, { x: -70, - y: 6579.08 + y: 6579.08, }, { x: -69, - y: 6577.43 + y: 6577.43, }, { x: -68, - y: 6582.12 + y: 6582.12, }, { x: -67, - y: 6572.42 + y: 6572.42, }, { x: -66, - y: 6578.72 + y: 6578.72, }, { x: -65, - y: 6572.43 + y: 6572.43, }, { x: -64, - y: 6570.64 + y: 6570.64, }, { x: -63, - y: 6561.64 + y: 6561.64, }, { x: -62, - y: 6550.84 + y: 6550.84, }, { x: -61, - y: 6561.83 + y: 6561.83, }, { x: -60, - y: 6561.84 + y: 6561.84, }, { x: -59, - y: 6552.44 + y: 6552.44, }, { x: -58, - y: 6552.47 + y: 6552.47, }, { x: -57, - y: 6562.31 + y: 6562.31, }, { x: -56, - y: 6562.10 + y: 6562.10, }, { x: -55, - y: 6561.65 + y: 6561.65, }, { x: -54, - y: 6547.96 + y: 6547.96, }, { x: -53, - y: 6559.95 + y: 6559.95, }, { x: -52, - y: 6562.08 + y: 6562.08, }, { x: -51, - y: 6557.71 + y: 6557.71, }, { x: -50, - y: 6559.05 + y: 6559.05, }, { x: -49, - y: 6562.69 + y: 6562.69, }, { x: -48, - y: 6578.18 + y: 6578.18, }, { x: -47, - y: 6580.15 + y: 6580.15, }, { x: -46, - y: 6584.26 + y: 6584.26, }, { x: -45, - y: 6574.75 + y: 6574.75, }, { x: -44, - y: 6574.85 + y: 6574.85, }, { x: -43, - y: 6582.63 + y: 6582.63, }, { x: -42, - y: 6569.70 + y: 6569.70, }, { x: -41, - y: 6570.10 + y: 6570.10, }, { x: -40, - y: 6570.11 + y: 6570.11, }, { x: -39, - y: 6569.71 + y: 6569.71, }, { x: -38, - y: 6578.03 + y: 6578.03, }, { x: -37, - y: 6579.92 + y: 6579.92, }, { x: -36, - y: 6571.03 + y: 6571.03, }, { x: -35, - y: 6571.48 + y: 6571.48, }, { x: -34, - y: 6576.67 + y: 6576.67, }, { x: -33, - y: 6576.67 + y: 6576.67, }, { x: -32, - y: 6576.63 + y: 6576.63, }, { x: -31, - y: 6576.68 + y: 6576.68, }, { x: -30, - y: 6573.29 + y: 6573.29, }, { x: -29, - y: 6577.28 + y: 6577.28, }, { x: -28, - y: 6577.73 + y: 6577.73, }, { x: -27, - y: 6577.70 + y: 6577.70, }, { x: -26, - y: 6578.36 + y: 6578.36, }, { x: -25, - y: 6578.24 + y: 6578.24, }, { x: -24, - y: 6581.30 + y: 6581.30, }, { x: -23, - y: 6582.59 + y: 6582.59, }, { x: -22, - y: 6602.51 + y: 6602.51, }, { x: -21, - y: 6582.65 + y: 6582.65, }, { x: -20, - y: 6574.77 + y: 6574.77, }, { x: -19, - y: 6574.41 + y: 6574.41, }, { x: -18, - y: 6575.08 + y: 6575.08, }, { x: -17, - y: 6575.08 + y: 6575.08, }, { x: -16, - y: 6574.09 + y: 6574.09, }, { x: -15, - y: 6568.84 + y: 6568.84, }, { x: -14, - y: 6567.49 + y: 6567.49, }, { x: -13, - y: 6559.75 + y: 6559.75, }, { x: -12, - y: 6566.65 + y: 6566.65, }, { x: -11, - y: 6567.52 + y: 6567.52, }, { x: -10, - y: 6567.59 + y: 6567.59, }, { x: -9, - y: 6564.18 + y: 6564.18, }, { x: -8, - y: 6570.11 + y: 6570.11, }, { x: -7, - y: 6562.70 + y: 6562.70, }, { x: -6, - y: 6562.70 + y: 6562.70, }, { x: -5, - y: 6562.77 + y: 6562.77, }, { x: -4, - y: 6569.46 + y: 6569.46, }, { x: -3, - y: 6571.04 + y: 6571.04, }, { x: -2, - y: 6571.48 + y: 6571.48, }, { x: -1, - y: 6571.30 - } - ] - } - ] - } + y: 6571.30, + }, + ], + }, + ], + }, }, prices : { btc: 8878.48, eth: 170.46, bch: 359.93, - xrp: 0.23512 + xrp: 0.23512, }, wallets : { btc: 24.97311243, eth: 126.3212, bch: 78.454412, - xrp: 11278.771123 + xrp: 11278.771123, }, watchlist: [ { @@ -624,7 +624,7 @@ export const crypto = { amount: 170.46, trend : { dir : 'up', - amount: 2.35 + amount: 2.35, }, series: [ { @@ -632,87 +632,87 @@ export const crypto = { data: [ { x: now.minus({minutes: 20}).toFormat('HH:mm'), - y: 154.36 + y: 154.36, }, { x: now.minus({minutes: 19}).toFormat('HH:mm'), - y: 154.36 + y: 154.36, }, { x: now.minus({minutes: 18}).toFormat('HH:mm'), - y: 146.94 + y: 146.94, }, { x: now.minus({minutes: 17}).toFormat('HH:mm'), - y: 146.96 + y: 146.96, }, { x: now.minus({minutes: 16}).toFormat('HH:mm'), - y: 146.11 + y: 146.11, }, { x: now.minus({minutes: 15}).toFormat('HH:mm'), - y: 150.26 + y: 150.26, }, { x: now.minus({minutes: 14}).toFormat('HH:mm'), - y: 146.11 + y: 146.11, }, { x: now.minus({minutes: 13}).toFormat('HH:mm'), - y: 150.79 + y: 150.79, }, { x: now.minus({minutes: 12}).toFormat('HH:mm'), - y: 145.36 + y: 145.36, }, { x: now.minus({minutes: 11}).toFormat('HH:mm'), - y: 141.06 + y: 141.06, }, { x: now.minus({minutes: 10}).toFormat('HH:mm'), - y: 140.10 + y: 140.10, }, { x: now.minus({minutes: 9}).toFormat('HH:mm'), - y: 138.31 + y: 138.31, }, { x: now.minus({minutes: 8}).toFormat('HH:mm'), - y: 138.42 + y: 138.42, }, { x: now.minus({minutes: 7}).toFormat('HH:mm'), - y: 138.48 + y: 138.48, }, { x: now.minus({minutes: 6}).toFormat('HH:mm'), - y: 138.71 + y: 138.71, }, { x: now.minus({minutes: 5}).toFormat('HH:mm'), - y: 148.42 + y: 148.42, }, { x: now.minus({minutes: 4}).toFormat('HH:mm'), - y: 146.87 + y: 146.87, }, { x: now.minus({minutes: 3}).toFormat('HH:mm'), - y: 147.07 + y: 147.07, }, { x: now.minus({minutes: 2}).toFormat('HH:mm'), - y: 135.07 + y: 135.07, }, { x: now.minus({minutes: 1}).toFormat('HH:mm'), - y: 135.01 - } - ] - } - ] + y: 135.01, + }, + ], + }, + ], }, { title : 'Bitcoin Cash', @@ -720,7 +720,7 @@ export const crypto = { amount: 359.93, trend : { dir : 'up', - amount: 9.94 + amount: 9.94, }, series: [ { @@ -728,87 +728,87 @@ export const crypto = { data: [ { x: now.minus({minutes: 20}).toFormat('HH:mm'), - y: 374.77 + y: 374.77, }, { x: now.minus({minutes: 19}).toFormat('HH:mm'), - y: 374.41 + y: 374.41, }, { x: now.minus({minutes: 18}).toFormat('HH:mm'), - y: 375.08 + y: 375.08, }, { x: now.minus({minutes: 17}).toFormat('HH:mm'), - y: 375.08 + y: 375.08, }, { x: now.minus({minutes: 16}).toFormat('HH:mm'), - y: 374.09 + y: 374.09, }, { x: now.minus({minutes: 15}).toFormat('HH:mm'), - y: 368.84 + y: 368.84, }, { x: now.minus({minutes: 14}).toFormat('HH:mm'), - y: 367.49 + y: 367.49, }, { x: now.minus({minutes: 13}).toFormat('HH:mm'), - y: 359.75 + y: 359.75, }, { x: now.minus({minutes: 12}).toFormat('HH:mm'), - y: 366.65 + y: 366.65, }, { x: now.minus({minutes: 11}).toFormat('HH:mm'), - y: 367.52 + y: 367.52, }, { x: now.minus({minutes: 10}).toFormat('HH:mm'), - y: 367.59 + y: 367.59, }, { x: now.minus({minutes: 9}).toFormat('HH:mm'), - y: 364.18 + y: 364.18, }, { x: now.minus({minutes: 8}).toFormat('HH:mm'), - y: 370.11 + y: 370.11, }, { x: now.minus({minutes: 7}).toFormat('HH:mm'), - y: 362.70 + y: 362.70, }, { x: now.minus({minutes: 6}).toFormat('HH:mm'), - y: 362.70 + y: 362.70, }, { x: now.minus({minutes: 5}).toFormat('HH:mm'), - y: 362.77 + y: 362.77, }, { x: now.minus({minutes: 4}).toFormat('HH:mm'), - y: 369.46 + y: 369.46, }, { x: now.minus({minutes: 3}).toFormat('HH:mm'), - y: 371.04 + y: 371.04, }, { x: now.minus({minutes: 2}).toFormat('HH:mm'), - y: 371.48 + y: 371.48, }, { x: now.minus({minutes: 1}).toFormat('HH:mm'), - y: 371.30 - } - ] - } - ] + y: 371.30, + }, + ], + }, + ], }, { title : 'XRP', @@ -816,7 +816,7 @@ export const crypto = { amount: 0.23512, trend : { dir : 'down', - amount: 0.35 + amount: 0.35, }, series: [ { @@ -824,87 +824,87 @@ export const crypto = { data: [ { x: now.minus({minutes: 20}).toFormat('HH:mm'), - y: 0.258 + y: 0.258, }, { x: now.minus({minutes: 19}).toFormat('HH:mm'), - y: 0.256 + y: 0.256, }, { x: now.minus({minutes: 18}).toFormat('HH:mm'), - y: 0.255 + y: 0.255, }, { x: now.minus({minutes: 17}).toFormat('HH:mm'), - y: 0.255 + y: 0.255, }, { x: now.minus({minutes: 16}).toFormat('HH:mm'), - y: 0.254 + y: 0.254, }, { x: now.minus({minutes: 15}).toFormat('HH:mm'), - y: 0.248 + y: 0.248, }, { x: now.minus({minutes: 14}).toFormat('HH:mm'), - y: 0.247 + y: 0.247, }, { x: now.minus({minutes: 13}).toFormat('HH:mm'), - y: 0.249 + y: 0.249, }, { x: now.minus({minutes: 12}).toFormat('HH:mm'), - y: 0.246 + y: 0.246, }, { x: now.minus({minutes: 11}).toFormat('HH:mm'), - y: 0.247 + y: 0.247, }, { x: now.minus({minutes: 10}).toFormat('HH:mm'), - y: 0.247 + y: 0.247, }, { x: now.minus({minutes: 9}).toFormat('HH:mm'), - y: 0.244 + y: 0.244, }, { x: now.minus({minutes: 8}).toFormat('HH:mm'), - y: 0.250 + y: 0.250, }, { x: now.minus({minutes: 7}).toFormat('HH:mm'), - y: 0.242 + y: 0.242, }, { x: now.minus({minutes: 6}).toFormat('HH:mm'), - y: 0.251 + y: 0.251, }, { x: now.minus({minutes: 5}).toFormat('HH:mm'), - y: 0.251 + y: 0.251, }, { x: now.minus({minutes: 4}).toFormat('HH:mm'), - y: 0.251 + y: 0.251, }, { x: now.minus({minutes: 3}).toFormat('HH:mm'), - y: 0.249 + y: 0.249, }, { x: now.minus({minutes: 2}).toFormat('HH:mm'), - y: 0.242 + y: 0.242, }, { x: now.minus({minutes: 1}).toFormat('HH:mm'), - y: 0.240 - } - ] - } - ] + y: 0.240, + }, + ], + }, + ], }, { title : 'Litecoin', @@ -912,7 +912,7 @@ export const crypto = { amount: 60.15, trend : { dir : 'up', - amount: 0.99 + amount: 0.99, }, series: [ { @@ -920,87 +920,87 @@ export const crypto = { data: [ { x: now.minus({minutes: 20}).toFormat('HH:mm'), - y: 62.54 + y: 62.54, }, { x: now.minus({minutes: 19}).toFormat('HH:mm'), - y: 61.54 + y: 61.54, }, { x: now.minus({minutes: 18}).toFormat('HH:mm'), - y: 62.55 + y: 62.55, }, { x: now.minus({minutes: 17}).toFormat('HH:mm'), - y: 60.55 + y: 60.55, }, { x: now.minus({minutes: 16}).toFormat('HH:mm'), - y: 59.54 + y: 59.54, }, { x: now.minus({minutes: 15}).toFormat('HH:mm'), - y: 58.48 + y: 58.48, }, { x: now.minus({minutes: 14}).toFormat('HH:mm'), - y: 54.47 + y: 54.47, }, { x: now.minus({minutes: 13}).toFormat('HH:mm'), - y: 51.49 + y: 51.49, }, { x: now.minus({minutes: 12}).toFormat('HH:mm'), - y: 51.46 + y: 51.46, }, { x: now.minus({minutes: 11}).toFormat('HH:mm'), - y: 53.47 + y: 53.47, }, { x: now.minus({minutes: 10}).toFormat('HH:mm'), - y: 52.47 + y: 52.47, }, { x: now.minus({minutes: 9}).toFormat('HH:mm'), - y: 54.44 + y: 54.44, }, { x: now.minus({minutes: 8}).toFormat('HH:mm'), - y: 59.50 + y: 59.50, }, { x: now.minus({minutes: 7}).toFormat('HH:mm'), - y: 62.42 + y: 62.42, }, { x: now.minus({minutes: 6}).toFormat('HH:mm'), - y: 61.42 + y: 61.42, }, { x: now.minus({minutes: 5}).toFormat('HH:mm'), - y: 60.42 + y: 60.42, }, { x: now.minus({minutes: 4}).toFormat('HH:mm'), - y: 58.49 + y: 58.49, }, { x: now.minus({minutes: 3}).toFormat('HH:mm'), - y: 57.51 + y: 57.51, }, { x: now.minus({minutes: 2}).toFormat('HH:mm'), - y: 54.51 + y: 54.51, }, { x: now.minus({minutes: 1}).toFormat('HH:mm'), - y: 51.25 - } - ] - } - ] + y: 51.25, + }, + ], + }, + ], }, { title : 'Zcash', @@ -1008,7 +1008,7 @@ export const crypto = { amount: 58.41, trend : { dir : 'down', - amount: 8.79 + amount: 8.79, }, series: [ { @@ -1016,87 +1016,87 @@ export const crypto = { data: [ { x: now.minus({minutes: 20}).toFormat('HH:mm'), - y: 53.54 + y: 53.54, }, { x: now.minus({minutes: 19}).toFormat('HH:mm'), - y: 52.54 + y: 52.54, }, { x: now.minus({minutes: 18}).toFormat('HH:mm'), - y: 52.55 + y: 52.55, }, { x: now.minus({minutes: 17}).toFormat('HH:mm'), - y: 46.44 + y: 46.44, }, { x: now.minus({minutes: 16}).toFormat('HH:mm'), - y: 49.50 + y: 49.50, }, { x: now.minus({minutes: 15}).toFormat('HH:mm'), - y: 55.42 + y: 55.42, }, { x: now.minus({minutes: 14}).toFormat('HH:mm'), - y: 54.42 + y: 54.42, }, { x: now.minus({minutes: 13}).toFormat('HH:mm'), - y: 43.49 + y: 43.49, }, { x: now.minus({minutes: 12}).toFormat('HH:mm'), - y: 43.46 + y: 43.46, }, { x: now.minus({minutes: 11}).toFormat('HH:mm'), - y: 41.47 + y: 41.47, }, { x: now.minus({minutes: 10}).toFormat('HH:mm'), - y: 41.47 + y: 41.47, }, { x: now.minus({minutes: 9}).toFormat('HH:mm'), - y: 51.55 + y: 51.55, }, { x: now.minus({minutes: 8}).toFormat('HH:mm'), - y: 48.54 + y: 48.54, }, { x: now.minus({minutes: 7}).toFormat('HH:mm'), - y: 49.48 + y: 49.48, }, { x: now.minus({minutes: 6}).toFormat('HH:mm'), - y: 45.47 + y: 45.47, }, { x: now.minus({minutes: 5}).toFormat('HH:mm'), - y: 51.42 + y: 51.42, }, { x: now.minus({minutes: 4}).toFormat('HH:mm'), - y: 49.49 + y: 49.49, }, { x: now.minus({minutes: 3}).toFormat('HH:mm'), - y: 46.51 + y: 46.51, }, { x: now.minus({minutes: 2}).toFormat('HH:mm'), - y: 41.51 + y: 41.51, }, { x: now.minus({minutes: 1}).toFormat('HH:mm'), - y: 44.25 - } - ] - } - ] + y: 44.25, + }, + ], + }, + ], }, { title : 'Bitcoin Gold', @@ -1104,7 +1104,7 @@ export const crypto = { amount: 12.23, trend : { dir : 'down', - amount: 4.42 + amount: 4.42, }, series: [ { @@ -1112,88 +1112,88 @@ export const crypto = { data: [ { x: now.minus({minutes: 20}).toFormat('HH:mm'), - y: 14.77 + y: 14.77, }, { x: now.minus({minutes: 19}).toFormat('HH:mm'), - y: 14.41 + y: 14.41, }, { x: now.minus({minutes: 18}).toFormat('HH:mm'), - y: 15.08 + y: 15.08, }, { x: now.minus({minutes: 17}).toFormat('HH:mm'), - y: 15.08 + y: 15.08, }, { x: now.minus({minutes: 16}).toFormat('HH:mm'), - y: 14.09 + y: 14.09, }, { x: now.minus({minutes: 15}).toFormat('HH:mm'), - y: 18.84 + y: 18.84, }, { x: now.minus({minutes: 14}).toFormat('HH:mm'), - y: 17.49 + y: 17.49, }, { x: now.minus({minutes: 13}).toFormat('HH:mm'), - y: 19.75 + y: 19.75, }, { x: now.minus({minutes: 12}).toFormat('HH:mm'), - y: 16.65 + y: 16.65, }, { x: now.minus({minutes: 11}).toFormat('HH:mm'), - y: 17.52 + y: 17.52, }, { x: now.minus({minutes: 10}).toFormat('HH:mm'), - y: 17.59 + y: 17.59, }, { x: now.minus({minutes: 9}).toFormat('HH:mm'), - y: 14.18 + y: 14.18, }, { x: now.minus({minutes: 8}).toFormat('HH:mm'), - y: 10.11 + y: 10.11, }, { x: now.minus({minutes: 7}).toFormat('HH:mm'), - y: 12.70 + y: 12.70, }, { x: now.minus({minutes: 6}).toFormat('HH:mm'), - y: 12.70 + y: 12.70, }, { x: now.minus({minutes: 5}).toFormat('HH:mm'), - y: 12.77 + y: 12.77, }, { x: now.minus({minutes: 4}).toFormat('HH:mm'), - y: 19.46 + y: 19.46, }, { x: now.minus({minutes: 3}).toFormat('HH:mm'), - y: 11.04 + y: 11.04, }, { x: now.minus({minutes: 2}).toFormat('HH:mm'), - y: 11.48 + y: 11.48, }, { x: now.minus({minutes: 1}).toFormat('HH:mm'), - y: 11.30 - } - ] - } - ] - } - ] + y: 11.30, + }, + ], + }, + ], + }, + ], }; diff --git a/src/app/mock-api/dashboards/finance/api.ts b/src/app/mock-api/dashboards/finance/api.ts index cc9bede7..ce2bae8a 100644 --- a/src/app/mock-api/dashboards/finance/api.ts +++ b/src/app/mock-api/dashboards/finance/api.ts @@ -1,10 +1,10 @@ import { Injectable } from '@angular/core'; -import { cloneDeep } from 'lodash-es'; import { FuseMockApiService } from '@fuse/lib/mock-api'; import { finance as financeData } from 'app/mock-api/dashboards/finance/data'; +import { cloneDeep } from 'lodash-es'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class FinanceMockApi { diff --git a/src/app/mock-api/dashboards/finance/data.ts b/src/app/mock-api/dashboards/finance/data.ts index 75bfb2ed..48238d06 100644 --- a/src/app/mock-api/dashboards/finance/data.ts +++ b/src/app/mock-api/dashboards/finance/data.ts @@ -14,972 +14,972 @@ export const finance = { data: [ { x: now.minus({months: 12}).plus({day: 1}).toJSDate(), - y: 48.84 + y: 48.84, }, { x: now.minus({months: 12}).plus({day: 4}).toJSDate(), - y: 53.51 + y: 53.51, }, { x: now.minus({months: 12}).plus({day: 7}).toJSDate(), - y: 52.93 + y: 52.93, }, { x: now.minus({months: 12}).plus({day: 10}).toJSDate(), - y: 49.08 + y: 49.08, }, { x: now.minus({months: 12}).plus({day: 13}).toJSDate(), - y: 50.27 + y: 50.27, }, { x: now.minus({months: 12}).plus({day: 16}).toJSDate(), - y: 48.37 + y: 48.37, }, { x: now.minus({months: 12}).plus({day: 19}).toJSDate(), - y: 44.84 + y: 44.84, }, { x: now.minus({months: 12}).plus({day: 22}).toJSDate(), - y: 40.71 + y: 40.71, }, { x: now.minus({months: 12}).plus({day: 25}).toJSDate(), - y: 41.24 + y: 41.24, }, { x: now.minus({months: 12}).plus({day: 28}).toJSDate(), - y: 45.63 + y: 45.63, }, { x: now.minus({months: 11}).plus({day: 1}).toJSDate(), - y: 38.20 + y: 38.20, }, { x: now.minus({months: 11}).plus({day: 4}).toJSDate(), - y: 39.68 + y: 39.68, }, { x: now.minus({months: 11}).plus({day: 7}).toJSDate(), - y: 41.02 + y: 41.02, }, { x: now.minus({months: 11}).plus({day: 10}).toJSDate(), - y: 39.41 + y: 39.41, }, { x: now.minus({months: 11}).plus({day: 13}).toJSDate(), - y: 35.66 + y: 35.66, }, { x: now.minus({months: 11}).plus({day: 16}).toJSDate(), - y: 38.53 + y: 38.53, }, { x: now.minus({months: 11}).plus({day: 19}).toJSDate(), - y: 38.53 + y: 38.53, }, { x: now.minus({months: 11}).plus({day: 22}).toJSDate(), - y: 40.69 + y: 40.69, }, { x: now.minus({months: 11}).plus({day: 25}).toJSDate(), - y: 38.79 + y: 38.79, }, { x: now.minus({months: 11}).plus({day: 28}).toJSDate(), - y: 42.98 + y: 42.98, }, { x: now.minus({months: 10}).plus({day: 1}).toJSDate(), - y: 43.55 + y: 43.55, }, { x: now.minus({months: 10}).plus({day: 4}).toJSDate(), - y: 40.65 + y: 40.65, }, { x: now.minus({months: 10}).plus({day: 7}).toJSDate(), - y: 36.50 + y: 36.50, }, { x: now.minus({months: 10}).plus({day: 10}).toJSDate(), - y: 33.79 + y: 33.79, }, { x: now.minus({months: 10}).plus({day: 13}).toJSDate(), - y: 31.91 + y: 31.91, }, { x: now.minus({months: 10}).plus({day: 16}).toJSDate(), - y: 29.68 + y: 29.68, }, { x: now.minus({months: 10}).plus({day: 19}).toJSDate(), - y: 29.57 + y: 29.57, }, { x: now.minus({months: 10}).plus({day: 22}).toJSDate(), - y: 33.13 + y: 33.13, }, { x: now.minus({months: 10}).plus({day: 25}).toJSDate(), - y: 37.08 + y: 37.08, }, { x: now.minus({months: 10}).plus({day: 28}).toJSDate(), - y: 35.86 + y: 35.86, }, { x: now.minus({months: 9}).plus({day: 1}).toJSDate(), - y: 39.65 + y: 39.65, }, { x: now.minus({months: 9}).plus({day: 4}).toJSDate(), - y: 39.01 + y: 39.01, }, { x: now.minus({months: 9}).plus({day: 7}).toJSDate(), - y: 34.10 + y: 34.10, }, { x: now.minus({months: 9}).plus({day: 10}).toJSDate(), - y: 37.48 + y: 37.48, }, { x: now.minus({months: 9}).plus({day: 13}).toJSDate(), - y: 39.29 + y: 39.29, }, { x: now.minus({months: 9}).plus({day: 16}).toJSDate(), - y: 38.46 + y: 38.46, }, { x: now.minus({months: 9}).plus({day: 19}).toJSDate(), - y: 37.71 + y: 37.71, }, { x: now.minus({months: 9}).plus({day: 22}).toJSDate(), - y: 40.15 + y: 40.15, }, { x: now.minus({months: 9}).plus({day: 25}).toJSDate(), - y: 35.89 + y: 35.89, }, { x: now.minus({months: 9}).plus({day: 28}).toJSDate(), - y: 31.50 + y: 31.50, }, { x: now.minus({months: 8}).plus({day: 1}).toJSDate(), - y: 30.50 + y: 30.50, }, { x: now.minus({months: 8}).plus({day: 4}).toJSDate(), - y: 25.74 + y: 25.74, }, { x: now.minus({months: 8}).plus({day: 7}).toJSDate(), - y: 28.23 + y: 28.23, }, { x: now.minus({months: 8}).plus({day: 10}).toJSDate(), - y: 28.48 + y: 28.48, }, { x: now.minus({months: 8}).plus({day: 13}).toJSDate(), - y: 30.00 + y: 30.00, }, { x: now.minus({months: 8}).plus({day: 16}).toJSDate(), - y: 32.16 + y: 32.16, }, { x: now.minus({months: 8}).plus({day: 19}).toJSDate(), - y: 32.99 + y: 32.99, }, { x: now.minus({months: 8}).plus({day: 22}).toJSDate(), - y: 37.68 + y: 37.68, }, { x: now.minus({months: 8}).plus({day: 25}).toJSDate(), - y: 35.24 + y: 35.24, }, { x: now.minus({months: 8}).plus({day: 28}).toJSDate(), - y: 39.18 + y: 39.18, }, { x: now.minus({months: 7}).plus({day: 1}).toJSDate(), - y: 41.45 + y: 41.45, }, { x: now.minus({months: 7}).plus({day: 4}).toJSDate(), - y: 43.78 + y: 43.78, }, { x: now.minus({months: 7}).plus({day: 7}).toJSDate(), - y: 39.41 + y: 39.41, }, { x: now.minus({months: 7}).plus({day: 10}).toJSDate(), - y: 39.32 + y: 39.32, }, { x: now.minus({months: 7}).plus({day: 13}).toJSDate(), - y: 43.80 + y: 43.80, }, { x: now.minus({months: 7}).plus({day: 16}).toJSDate(), - y: 42.43 + y: 42.43, }, { x: now.minus({months: 7}).plus({day: 19}).toJSDate(), - y: 43.67 + y: 43.67, }, { x: now.minus({months: 7}).plus({day: 22}).toJSDate(), - y: 38.79 + y: 38.79, }, { x: now.minus({months: 7}).plus({day: 25}).toJSDate(), - y: 43.57 + y: 43.57, }, { x: now.minus({months: 7}).plus({day: 28}).toJSDate(), - y: 41.81 + y: 41.81, }, { x: now.minus({months: 6}).plus({day: 1}).toJSDate(), - y: 46.19 + y: 46.19, }, { x: now.minus({months: 6}).plus({day: 4}).toJSDate(), - y: 47.69 + y: 47.69, }, { x: now.minus({months: 6}).plus({day: 7}).toJSDate(), - y: 49.01 + y: 49.01, }, { x: now.minus({months: 6}).plus({day: 10}).toJSDate(), - y: 46.40 + y: 46.40, }, { x: now.minus({months: 6}).plus({day: 13}).toJSDate(), - y: 51.28 + y: 51.28, }, { x: now.minus({months: 6}).plus({day: 16}).toJSDate(), - y: 50.15 + y: 50.15, }, { x: now.minus({months: 6}).plus({day: 19}).toJSDate(), - y: 53.60 + y: 53.60, }, { x: now.minus({months: 6}).plus({day: 22}).toJSDate(), - y: 56.08 + y: 56.08, }, { x: now.minus({months: 6}).plus({day: 25}).toJSDate(), - y: 52.72 + y: 52.72, }, { x: now.minus({months: 6}).plus({day: 28}).toJSDate(), - y: 56.60 + y: 56.60, }, { x: now.minus({months: 5}).plus({day: 1}).toJSDate(), - y: 58.36 + y: 58.36, }, { x: now.minus({months: 5}).plus({day: 4}).toJSDate(), - y: 56.59 + y: 56.59, }, { x: now.minus({months: 5}).plus({day: 7}).toJSDate(), - y: 55.75 + y: 55.75, }, { x: now.minus({months: 5}).plus({day: 10}).toJSDate(), - y: 54.74 + y: 54.74, }, { x: now.minus({months: 5}).plus({day: 13}).toJSDate(), - y: 54.27 + y: 54.27, }, { x: now.minus({months: 5}).plus({day: 16}).toJSDate(), - y: 58.65 + y: 58.65, }, { x: now.minus({months: 5}).plus({day: 19}).toJSDate(), - y: 57.00 + y: 57.00, }, { x: now.minus({months: 5}).plus({day: 22}).toJSDate(), - y: 60.52 + y: 60.52, }, { x: now.minus({months: 5}).plus({day: 25}).toJSDate(), - y: 57.60 + y: 57.60, }, { x: now.minus({months: 5}).plus({day: 28}).toJSDate(), - y: 56.48 + y: 56.48, }, { x: now.minus({months: 4}).plus({day: 1}).toJSDate(), - y: 54.35 + y: 54.35, }, { x: now.minus({months: 4}).plus({day: 4}).toJSDate(), - y: 52.39 + y: 52.39, }, { x: now.minus({months: 4}).plus({day: 7}).toJSDate(), - y: 54.52 + y: 54.52, }, { x: now.minus({months: 4}).plus({day: 10}).toJSDate(), - y: 54.16 + y: 54.16, }, { x: now.minus({months: 4}).plus({day: 13}).toJSDate(), - y: 51.95 + y: 51.95, }, { x: now.minus({months: 4}).plus({day: 16}).toJSDate(), - y: 51.19 + y: 51.19, }, { x: now.minus({months: 4}).plus({day: 19}).toJSDate(), - y: 46.35 + y: 46.35, }, { x: now.minus({months: 4}).plus({day: 22}).toJSDate(), - y: 48.33 + y: 48.33, }, { x: now.minus({months: 4}).plus({day: 25}).toJSDate(), - y: 45.84 + y: 45.84, }, { x: now.minus({months: 4}).plus({day: 28}).toJSDate(), - y: 48.22 + y: 48.22, }, { x: now.minus({months: 3}).plus({day: 1}).toJSDate(), - y: 45.82 + y: 45.82, }, { x: now.minus({months: 3}).plus({day: 4}).toJSDate(), - y: 43.48 + y: 43.48, }, { x: now.minus({months: 3}).plus({day: 7}).toJSDate(), - y: 41.32 + y: 41.32, }, { x: now.minus({months: 3}).plus({day: 10}).toJSDate(), - y: 40.99 + y: 40.99, }, { x: now.minus({months: 3}).plus({day: 13}).toJSDate(), - y: 38.49 + y: 38.49, }, { x: now.minus({months: 3}).plus({day: 16}).toJSDate(), - y: 40.10 + y: 40.10, }, { x: now.minus({months: 3}).plus({day: 19}).toJSDate(), - y: 44.86 + y: 44.86, }, { x: now.minus({months: 3}).plus({day: 22}).toJSDate(), - y: 44.03 + y: 44.03, }, { x: now.minus({months: 3}).plus({day: 25}).toJSDate(), - y: 41.41 + y: 41.41, }, { x: now.minus({months: 3}).plus({day: 28}).toJSDate(), - y: 37.80 + y: 37.80, }, { x: now.minus({months: 2}).plus({day: 1}).toJSDate(), - y: 35.24 + y: 35.24, }, { x: now.minus({months: 2}).plus({day: 4}).toJSDate(), - y: 32.12 + y: 32.12, }, { x: now.minus({months: 2}).plus({day: 7}).toJSDate(), - y: 35.68 + y: 35.68, }, { x: now.minus({months: 2}).plus({day: 10}).toJSDate(), - y: 38.00 + y: 38.00, }, { x: now.minus({months: 2}).plus({day: 13}).toJSDate(), - y: 37.96 + y: 37.96, }, { x: now.minus({months: 2}).plus({day: 16}).toJSDate(), - y: 38.70 + y: 38.70, }, { x: now.minus({months: 2}).plus({day: 19}).toJSDate(), - y: 37.45 + y: 37.45, }, { x: now.minus({months: 2}).plus({day: 22}).toJSDate(), - y: 37.51 + y: 37.51, }, { x: now.minus({months: 2}).plus({day: 25}).toJSDate(), - y: 33.10 + y: 33.10, }, { x: now.minus({months: 2}).plus({day: 28}).toJSDate(), - y: 35.09 + y: 35.09, }, { x: now.minus({months: 1}).plus({day: 1}).toJSDate(), - y: 31.87 + y: 31.87, }, { x: now.minus({months: 1}).plus({day: 4}).toJSDate(), - y: 29.18 + y: 29.18, }, { x: now.minus({months: 1}).plus({day: 7}).toJSDate(), - y: 31.91 + y: 31.91, }, { x: now.minus({months: 1}).plus({day: 10}).toJSDate(), - y: 34.37 + y: 34.37, }, { x: now.minus({months: 1}).plus({day: 13}).toJSDate(), - y: 32.91 + y: 32.91, }, { x: now.minus({months: 1}).plus({day: 16}).toJSDate(), - y: 33.17 + y: 33.17, }, { x: now.minus({months: 1}).plus({day: 19}).toJSDate(), - y: 37.16 + y: 37.16, }, { x: now.minus({months: 1}).plus({day: 22}).toJSDate(), - y: 32.60 + y: 32.60, }, { x: now.minus({months: 1}).plus({day: 25}).toJSDate(), - y: 36.94 + y: 36.94, }, { x: now.minus({months: 1}).plus({day: 28}).toJSDate(), - y: 35.98 - } - ] + y: 35.98, + }, + ], }, { name: 'Actual', data: [ { x: now.minus({months: 12}).plus({day: 1}).toJSDate(), - y: 20.21 + y: 20.21, }, { x: now.minus({months: 12}).plus({day: 4}).toJSDate(), - y: 17.49 + y: 17.49, }, { x: now.minus({months: 12}).plus({day: 7}).toJSDate(), - y: 16.54 + y: 16.54, }, { x: now.minus({months: 12}).plus({day: 10}).toJSDate(), - y: 19.00 + y: 19.00, }, { x: now.minus({months: 12}).plus({day: 13}).toJSDate(), - y: 16.47 + y: 16.47, }, { x: now.minus({months: 12}).plus({day: 16}).toJSDate(), - y: 13.15 + y: 13.15, }, { x: now.minus({months: 12}).plus({day: 19}).toJSDate(), - y: 18.07 + y: 18.07, }, { x: now.minus({months: 12}).plus({day: 22}).toJSDate(), - y: 17.93 + y: 17.93, }, { x: now.minus({months: 12}).plus({day: 25}).toJSDate(), - y: 18.92 + y: 18.92, }, { x: now.minus({months: 12}).plus({day: 28}).toJSDate(), - y: 18.46 + y: 18.46, }, { x: now.minus({months: 11}).plus({day: 1}).toJSDate(), - y: 18.04 + y: 18.04, }, { x: now.minus({months: 11}).plus({day: 4}).toJSDate(), - y: 17.78 + y: 17.78, }, { x: now.minus({months: 11}).plus({day: 7}).toJSDate(), - y: 20.15 + y: 20.15, }, { x: now.minus({months: 11}).plus({day: 10}).toJSDate(), - y: 18.92 + y: 18.92, }, { x: now.minus({months: 11}).plus({day: 13}).toJSDate(), - y: 17.08 + y: 17.08, }, { x: now.minus({months: 11}).plus({day: 16}).toJSDate(), - y: 17.11 + y: 17.11, }, { x: now.minus({months: 11}).plus({day: 19}).toJSDate(), - y: 15.70 + y: 15.70, }, { x: now.minus({months: 11}).plus({day: 22}).toJSDate(), - y: 15.07 + y: 15.07, }, { x: now.minus({months: 11}).plus({day: 25}).toJSDate(), - y: 14.51 + y: 14.51, }, { x: now.minus({months: 11}).plus({day: 28}).toJSDate(), - y: 15.22 + y: 15.22, }, { x: now.minus({months: 10}).plus({day: 1}).toJSDate(), - y: 19.77 + y: 19.77, }, { x: now.minus({months: 10}).plus({day: 4}).toJSDate(), - y: 23.67 + y: 23.67, }, { x: now.minus({months: 10}).plus({day: 7}).toJSDate(), - y: 27.98 + y: 27.98, }, { x: now.minus({months: 10}).plus({day: 10}).toJSDate(), - y: 30.80 + y: 30.80, }, { x: now.minus({months: 10}).plus({day: 13}).toJSDate(), - y: 28.56 + y: 28.56, }, { x: now.minus({months: 10}).plus({day: 16}).toJSDate(), - y: 27.45 + y: 27.45, }, { x: now.minus({months: 10}).plus({day: 19}).toJSDate(), - y: 27.50 + y: 27.50, }, { x: now.minus({months: 10}).plus({day: 22}).toJSDate(), - y: 27.28 + y: 27.28, }, { x: now.minus({months: 10}).plus({day: 25}).toJSDate(), - y: 24.36 + y: 24.36, }, { x: now.minus({months: 10}).plus({day: 28}).toJSDate(), - y: 22.89 + y: 22.89, }, { x: now.minus({months: 9}).plus({day: 1}).toJSDate(), - y: 28.04 + y: 28.04, }, { x: now.minus({months: 9}).plus({day: 4}).toJSDate(), - y: 27.77 + y: 27.77, }, { x: now.minus({months: 9}).plus({day: 7}).toJSDate(), - y: 30.24 + y: 30.24, }, { x: now.minus({months: 9}).plus({day: 10}).toJSDate(), - y: 26.57 + y: 26.57, }, { x: now.minus({months: 9}).plus({day: 13}).toJSDate(), - y: 22.18 + y: 22.18, }, { x: now.minus({months: 9}).plus({day: 16}).toJSDate(), - y: 19.64 + y: 19.64, }, { x: now.minus({months: 9}).plus({day: 19}).toJSDate(), - y: 16.74 + y: 16.74, }, { x: now.minus({months: 9}).plus({day: 22}).toJSDate(), - y: 17.21 + y: 17.21, }, { x: now.minus({months: 9}).plus({day: 25}).toJSDate(), - y: 20.05 + y: 20.05, }, { x: now.minus({months: 9}).plus({day: 28}).toJSDate(), - y: 16.13 + y: 16.13, }, { x: now.minus({months: 8}).plus({day: 1}).toJSDate(), - y: 10.71 + y: 10.71, }, { x: now.minus({months: 8}).plus({day: 4}).toJSDate(), - y: 7.99 + y: 7.99, }, { x: now.minus({months: 8}).plus({day: 7}).toJSDate(), - y: 11.33 + y: 11.33, }, { x: now.minus({months: 8}).plus({day: 10}).toJSDate(), - y: 15.36 + y: 15.36, }, { x: now.minus({months: 8}).plus({day: 13}).toJSDate(), - y: 20.16 + y: 20.16, }, { x: now.minus({months: 8}).plus({day: 16}).toJSDate(), - y: 22.56 + y: 22.56, }, { x: now.minus({months: 8}).plus({day: 19}).toJSDate(), - y: 19.34 + y: 19.34, }, { x: now.minus({months: 8}).plus({day: 22}).toJSDate(), - y: 18.32 + y: 18.32, }, { x: now.minus({months: 8}).plus({day: 25}).toJSDate(), - y: 20.75 + y: 20.75, }, { x: now.minus({months: 8}).plus({day: 28}).toJSDate(), - y: 17.09 + y: 17.09, }, { x: now.minus({months: 7}).plus({day: 1}).toJSDate(), - y: 18.31 + y: 18.31, }, { x: now.minus({months: 7}).plus({day: 4}).toJSDate(), - y: 14.34 + y: 14.34, }, { x: now.minus({months: 7}).plus({day: 7}).toJSDate(), - y: 9.93 + y: 9.93, }, { x: now.minus({months: 7}).plus({day: 10}).toJSDate(), - y: 10.64 + y: 10.64, }, { x: now.minus({months: 7}).plus({day: 13}).toJSDate(), - y: 6.18 + y: 6.18, }, { x: now.minus({months: 7}).plus({day: 16}).toJSDate(), - y: 10.32 + y: 10.32, }, { x: now.minus({months: 7}).plus({day: 19}).toJSDate(), - y: 12.80 + y: 12.80, }, { x: now.minus({months: 7}).plus({day: 22}).toJSDate(), - y: 13.44 + y: 13.44, }, { x: now.minus({months: 7}).plus({day: 25}).toJSDate(), - y: 18.35 + y: 18.35, }, { x: now.minus({months: 7}).plus({day: 28}).toJSDate(), - y: 22.87 + y: 22.87, }, { x: now.minus({months: 6}).plus({day: 1}).toJSDate(), - y: 26.92 + y: 26.92, }, { x: now.minus({months: 6}).plus({day: 4}).toJSDate(), - y: 22.50 + y: 22.50, }, { x: now.minus({months: 6}).plus({day: 7}).toJSDate(), - y: 18.14 + y: 18.14, }, { x: now.minus({months: 6}).plus({day: 10}).toJSDate(), - y: 19.06 + y: 19.06, }, { x: now.minus({months: 6}).plus({day: 13}).toJSDate(), - y: 19.73 + y: 19.73, }, { x: now.minus({months: 6}).plus({day: 16}).toJSDate(), - y: 18.82 + y: 18.82, }, { x: now.minus({months: 6}).plus({day: 19}).toJSDate(), - y: 23.33 + y: 23.33, }, { x: now.minus({months: 6}).plus({day: 22}).toJSDate(), - y: 20.48 + y: 20.48, }, { x: now.minus({months: 6}).plus({day: 25}).toJSDate(), - y: 25.47 + y: 25.47, }, { x: now.minus({months: 6}).plus({day: 28}).toJSDate(), - y: 28.84 + y: 28.84, }, { x: now.minus({months: 5}).plus({day: 1}).toJSDate(), - y: 27.71 + y: 27.71, }, { x: now.minus({months: 5}).plus({day: 4}).toJSDate(), - y: 25.22 + y: 25.22, }, { x: now.minus({months: 5}).plus({day: 7}).toJSDate(), - y: 25.43 + y: 25.43, }, { x: now.minus({months: 5}).plus({day: 10}).toJSDate(), - y: 24.13 + y: 24.13, }, { x: now.minus({months: 5}).plus({day: 13}).toJSDate(), - y: 20.02 + y: 20.02, }, { x: now.minus({months: 5}).plus({day: 16}).toJSDate(), - y: 18.38 + y: 18.38, }, { x: now.minus({months: 5}).plus({day: 19}).toJSDate(), - y: 18.30 + y: 18.30, }, { x: now.minus({months: 5}).plus({day: 22}).toJSDate(), - y: 18.72 + y: 18.72, }, { x: now.minus({months: 5}).plus({day: 25}).toJSDate(), - y: 22.46 + y: 22.46, }, { x: now.minus({months: 5}).plus({day: 28}).toJSDate(), - y: 21.71 + y: 21.71, }, { x: now.minus({months: 4}).plus({day: 1}).toJSDate(), - y: 29.88 + y: 29.88, }, { x: now.minus({months: 4}).plus({day: 4}).toJSDate(), - y: 26.94 + y: 26.94, }, { x: now.minus({months: 4}).plus({day: 7}).toJSDate(), - y: 28.06 + y: 28.06, }, { x: now.minus({months: 4}).plus({day: 10}).toJSDate(), - y: 30.40 + y: 30.40, }, { x: now.minus({months: 4}).plus({day: 13}).toJSDate(), - y: 28.98 + y: 28.98, }, { x: now.minus({months: 4}).plus({day: 16}).toJSDate(), - y: 30.13 + y: 30.13, }, { x: now.minus({months: 4}).plus({day: 19}).toJSDate(), - y: 27.60 + y: 27.60, }, { x: now.minus({months: 4}).plus({day: 22}).toJSDate(), - y: 30.21 + y: 30.21, }, { x: now.minus({months: 4}).plus({day: 25}).toJSDate(), - y: 26.88 + y: 26.88, }, { x: now.minus({months: 4}).plus({day: 28}).toJSDate(), - y: 25.72 + y: 25.72, }, { x: now.minus({months: 3}).plus({day: 1}).toJSDate(), - y: 27.89 + y: 27.89, }, { x: now.minus({months: 3}).plus({day: 4}).toJSDate(), - y: 30.69 + y: 30.69, }, { x: now.minus({months: 3}).plus({day: 7}).toJSDate(), - y: 31.42 + y: 31.42, }, { x: now.minus({months: 3}).plus({day: 10}).toJSDate(), - y: 36.14 + y: 36.14, }, { x: now.minus({months: 3}).plus({day: 13}).toJSDate(), - y: 32.02 + y: 32.02, }, { x: now.minus({months: 3}).plus({day: 16}).toJSDate(), - y: 27.30 + y: 27.30, }, { x: now.minus({months: 3}).plus({day: 19}).toJSDate(), - y: 29.51 + y: 29.51, }, { x: now.minus({months: 3}).plus({day: 22}).toJSDate(), - y: 32.67 + y: 32.67, }, { x: now.minus({months: 3}).plus({day: 25}).toJSDate(), - y: 28.82 + y: 28.82, }, { x: now.minus({months: 3}).plus({day: 28}).toJSDate(), - y: 28.85 + y: 28.85, }, { x: now.minus({months: 2}).plus({day: 1}).toJSDate(), - y: 29.15 + y: 29.15, }, { x: now.minus({months: 2}).plus({day: 4}).toJSDate(), - y: 27.90 + y: 27.90, }, { x: now.minus({months: 2}).plus({day: 7}).toJSDate(), - y: 30.71 + y: 30.71, }, { x: now.minus({months: 2}).plus({day: 10}).toJSDate(), - y: 28.02 + y: 28.02, }, { x: now.minus({months: 2}).plus({day: 13}).toJSDate(), - y: 23.82 + y: 23.82, }, { x: now.minus({months: 2}).plus({day: 16}).toJSDate(), - y: 18.83 + y: 18.83, }, { x: now.minus({months: 2}).plus({day: 19}).toJSDate(), - y: 14.48 + y: 14.48, }, { x: now.minus({months: 2}).plus({day: 22}).toJSDate(), - y: 11.76 + y: 11.76, }, { x: now.minus({months: 2}).plus({day: 25}).toJSDate(), - y: 12.75 + y: 12.75, }, { x: now.minus({months: 2}).plus({day: 28}).toJSDate(), - y: 11.36 + y: 11.36, }, { x: now.minus({months: 1}).plus({day: 1}).toJSDate(), - y: 11.60 + y: 11.60, }, { x: now.minus({months: 1}).plus({day: 4}).toJSDate(), - y: 15.24 + y: 15.24, }, { x: now.minus({months: 1}).plus({day: 7}).toJSDate(), - y: 13.05 + y: 13.05, }, { x: now.minus({months: 1}).plus({day: 10}).toJSDate(), - y: 17.25 + y: 17.25, }, { x: now.minus({months: 1}).plus({day: 13}).toJSDate(), - y: 18.50 + y: 18.50, }, { x: now.minus({months: 1}).plus({day: 16}).toJSDate(), - y: 23.04 + y: 23.04, }, { x: now.minus({months: 1}).plus({day: 19}).toJSDate(), - y: 21.87 + y: 21.87, }, { x: now.minus({months: 1}).plus({day: 22}).toJSDate(), - y: 25.97 + y: 25.97, }, { x: now.minus({months: 1}).plus({day: 25}).toJSDate(), - y: 22.46 + y: 22.46, }, { x: now.minus({months: 1}).plus({day: 28}).toJSDate(), - y: 17.67 - } - ] - } - ] + y: 17.67, + }, + ], + }, + ], }, budget : { expenses : 11763.34, @@ -987,21 +987,21 @@ export const finance = { savings : 10974.12, savingsGoal : 250000, bills : 1789.22, - billsLimit : 1000 + billsLimit : 1000, }, previousStatement : { status : 'paid', date : now.startOf('day').minus({days: 15}).toFormat('DDD'), limit : 34500, spent : 27221.21, - minimum: 7331.94 + minimum: 7331.94, }, currentStatement : { status : 'pending', date : now.startOf('day').minus({days: 15}).plus({month: 1}).toFormat('DDD'), limit : 34500, spent : 39819.41, - minimum: 9112.51 + minimum: 9112.51, }, recentTransactions: [ { @@ -1010,7 +1010,7 @@ export const finance = { name : 'Morgan Page', amount : +1358.75, status : 'completed', - date : '2019-10-07T22:22:37.274Z' + date : '2019-10-07T22:22:37.274Z', }, { id : '2dec6074-98bd-4623-9526-6480e4776569', @@ -1018,7 +1018,7 @@ export const finance = { name : 'Nita Hebert', amount : -1042.82, status : 'completed', - date : '2019-12-18T14:51:24.461Z' + date : '2019-12-18T14:51:24.461Z', }, { id : 'ae7c065f-4197-4021-a799-7a221822ad1d', @@ -1026,7 +1026,7 @@ export const finance = { name : 'Marsha Chambers', amount : +1828.16, status : 'pending', - date : '2019-12-25T17:52:14.304Z' + date : '2019-12-25T17:52:14.304Z', }, { id : '0c43dd40-74f6-49d5-848a-57a4a45772ab', @@ -1034,7 +1034,7 @@ export const finance = { name : 'Charmaine Jackson', amount : +1647.55, status : 'completed', - date : '2019-11-29T06:32:16.111Z' + date : '2019-11-29T06:32:16.111Z', }, { id : 'e5c9f0ed-a64c-4bfe-a113-29f80b4e162c', @@ -1042,7 +1042,7 @@ export const finance = { name : 'Maura Carey', amount : -927.43, status : 'completed', - date : '2019-11-24T12:13:23.064Z' - } - ] + date : '2019-11-24T12:13:23.064Z', + }, + ], }; diff --git a/src/app/mock-api/dashboards/project/api.ts b/src/app/mock-api/dashboards/project/api.ts index b5e9b393..bbbda611 100644 --- a/src/app/mock-api/dashboards/project/api.ts +++ b/src/app/mock-api/dashboards/project/api.ts @@ -1,10 +1,10 @@ import { Injectable } from '@angular/core'; -import { cloneDeep } from 'lodash-es'; import { FuseMockApiService } from '@fuse/lib/mock-api'; import { project as projectData } from 'app/mock-api/dashboards/project/data'; +import { cloneDeep } from 'lodash-es'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class ProjectMockApi { diff --git a/src/app/mock-api/dashboards/project/data.ts b/src/app/mock-api/dashboards/project/data.ts index f005acc6..9b988e31 100644 --- a/src/app/mock-api/dashboards/project/data.ts +++ b/src/app/mock-api/dashboards/project/data.ts @@ -13,7 +13,7 @@ export const project = { 'fixed' : 3, 'wont-fix' : 4, 're-opened' : 8, - 'needs-triage' : 6 + 'needs-triage' : 6, }, 'last-week': { 'new-issues' : 197, @@ -21,8 +21,8 @@ export const project = { 'fixed' : 6, 'wont-fix' : 11, 're-opened' : 6, - 'needs-triage' : 5 - } + 'needs-triage' : 5, + }, }, labels : ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'], series : { @@ -30,123 +30,123 @@ export const project = { { name: 'New issues', type: 'line', - data: [42, 28, 43, 34, 20, 25, 22] + data: [42, 28, 43, 34, 20, 25, 22], }, { name: 'Closed issues', type: 'column', - data: [11, 10, 8, 11, 8, 10, 17] - } + data: [11, 10, 8, 11, 8, 10, 17], + }, ], 'last-week': [ { name: 'New issues', type: 'line', - data: [37, 32, 39, 27, 18, 24, 20] + data: [37, 32, 39, 27, 18, 24, 20], }, { name: 'Closed issues', type: 'column', - data: [9, 8, 10, 12, 7, 11, 15] - } - ] - } + data: [9, 8, 10, 12, 7, 11, 15], + }, + ], + }, }, taskDistribution : { overview: { 'this-week': { 'new' : 594, - 'completed': 287 + 'completed': 287, }, 'last-week': { 'new' : 526, - 'completed': 260 - } + 'completed': 260, + }, }, labels : ['API', 'Backend', 'Frontend', 'Issues'], series : { 'this-week': [15, 20, 38, 27], - 'last-week': [19, 16, 42, 23] - } + 'last-week': [19, 16, 42, 23], + }, }, schedule : { today : [ { title : 'Group Meeting', time : 'in 32 minutes', - location: 'Conference room 1B' + location: 'Conference room 1B', }, { title: 'Coffee Break', - time : '10:30 AM' + time : '10:30 AM', }, { title: 'Public Beta Release', - time : '11:00 AM' + time : '11:00 AM', }, { title: 'Lunch', - time : '12:10 PM' + time : '12:10 PM', }, { title : 'Dinner with David', time : '05:30 PM', - location: 'Magnolia' + location: 'Magnolia', }, { title : 'Jane\'s Birthday Party', time : '07:30 PM', - location: 'Home' + location: 'Home', }, { title : 'Overseer\'s Retirement Party', time : '09:30 PM', - location: 'Overseer\'s room' - } + location: 'Overseer\'s room', + }, ], tomorrow: [ { title : 'Marketing Meeting', time : '09:00 AM', - location: 'Conference room 1A' + location: 'Conference room 1A', }, { title: 'Public Announcement', - time : '11:00 AM' + time : '11:00 AM', }, { title: 'Lunch', - time : '12:10 PM' + time : '12:10 PM', }, { title : 'Meeting with Beta Testers', time : '03:00 PM', - location: 'Conference room 2C' + location: 'Conference room 2C', }, { title: 'Live Stream', - time : '05:30 PM' + time : '05:30 PM', }, { title : 'Release Party', time : '07:30 PM', - location: 'CEO\'s house' + location: 'CEO\'s house', }, { title : 'CEO\'s Private Party', time : '09:30 PM', - location: 'CEO\'s Penthouse' - } - ] + location: 'CEO\'s Penthouse', + }, + ], }, budgetDistribution: { categories: ['Concept', 'Design', 'Development', 'Extras', 'Marketing'], series : [ { name: 'Budget', - data: [12, 20, 28, 15, 25] - } - ] + data: [12, 20, 28, 15, 25], + }, + ], }, weeklyExpenses : { amount: 17663, @@ -156,14 +156,14 @@ export const project = { now.minus({days: 31}).toFormat('dd MMM') + ' - ' + now.minus({days: 24}).toFormat('dd MMM'), now.minus({days: 23}).toFormat('dd MMM') + ' - ' + now.minus({days: 16}).toFormat('dd MMM'), now.minus({days: 15}).toFormat('dd MMM') + ' - ' + now.minus({days: 8}).toFormat('dd MMM'), - now.minus({days: 7}).toFormat('dd MMM') + ' - ' + now.toFormat('dd MMM') + now.minus({days: 7}).toFormat('dd MMM') + ' - ' + now.toFormat('dd MMM'), ], series: [ { name: 'Expenses', - data: [4412, 4345, 4541, 4677, 4322, 4123] - } - ] + data: [4412, 4345, 4541, 4677, 4322, 4123], + }, + ], }, monthlyExpenses : { amount: 54663, @@ -171,14 +171,14 @@ export const project = { now.minus({days: 31}).toFormat('dd MMM') + ' - ' + now.minus({days: 24}).toFormat('dd MMM'), now.minus({days: 23}).toFormat('dd MMM') + ' - ' + now.minus({days: 16}).toFormat('dd MMM'), now.minus({days: 15}).toFormat('dd MMM') + ' - ' + now.minus({days: 8}).toFormat('dd MMM'), - now.minus({days: 7}).toFormat('dd MMM') + ' - ' + now.toFormat('dd MMM') + now.minus({days: 7}).toFormat('dd MMM') + ' - ' + now.toFormat('dd MMM'), ], series: [ { name: 'Expenses', - data: [15521, 15519, 15522, 15521] - } - ] + data: [15521, 15519, 15522, 15521], + }, + ], }, yearlyExpenses : { amount: 648813, @@ -192,14 +192,14 @@ export const project = { now.minus({days: 31}).toFormat('dd MMM') + ' - ' + now.minus({days: 24}).toFormat('dd MMM'), now.minus({days: 23}).toFormat('dd MMM') + ' - ' + now.minus({days: 16}).toFormat('dd MMM'), now.minus({days: 15}).toFormat('dd MMM') + ' - ' + now.minus({days: 8}).toFormat('dd MMM'), - now.minus({days: 7}).toFormat('dd MMM') + ' - ' + now.toFormat('dd MMM') + now.minus({days: 7}).toFormat('dd MMM') + ' - ' + now.toFormat('dd MMM'), ], series: [ { name: 'Expenses', - data: [45891, 45801, 45834, 45843, 45800, 45900, 45814, 45856, 45910, 45849] - } - ] + data: [45891, 45801, 45834, 45843, 45800, 45900, 45814, 45856, 45910, 45849], + }, + ], }, budgetDetails : { columns: ['type', 'total', 'expensesAmount', 'expensesPercentage', 'remainingAmount', 'remainingPercentage'], @@ -211,7 +211,7 @@ export const project = { expensesAmount : 14000, expensesPercentage : 94.08, remainingAmount : 880, - remainingPercentage: 5.92 + remainingPercentage: 5.92, }, { id : 2, @@ -220,7 +220,7 @@ export const project = { expensesAmount : 17240.34, expensesPercentage : 81.78, remainingAmount : 3839.66, - remainingPercentage: 18.22 + remainingPercentage: 18.22, }, { id : 3, @@ -229,7 +229,7 @@ export const project = { expensesAmount : 3518, expensesPercentage : 10.13, remainingAmount : 31202, - remainingPercentage: 89.87 + remainingPercentage: 89.87, }, { id : 4, @@ -238,7 +238,7 @@ export const project = { expensesAmount : 0, expensesPercentage : 0, remainingAmount : 18600, - remainingPercentage: 100 + remainingPercentage: 100, }, { id : 5, @@ -247,9 +247,9 @@ export const project = { expensesAmount : 19859.84, expensesPercentage : 57.2, remainingAmount : 14860.16, - remainingPercentage: 42.8 - } - ] + remainingPercentage: 42.8, + }, + ], }, teamMembers : [ { @@ -258,7 +258,7 @@ export const project = { name : 'Nadia Mcknight', email : 'nadiamcknight@mail.com', phone : '+1-943-511-2203', - title : 'Project Director' + title : 'Project Director', }, { id : '77a4383b-b5a5-4943-bc46-04c3431d1566', @@ -266,7 +266,7 @@ export const project = { name : 'Best Blackburn', email : 'blackburn.best@beadzza.me', phone : '+1-814-498-3701', - title : 'Senior Developer' + title : 'Senior Developer', }, { id : '8bb0f597-673a-47ca-8c77-2f83219cb9af', @@ -274,7 +274,7 @@ export const project = { name : 'Duncan Carver', email : 'duncancarver@mail.info', phone : '+1-968-547-2111', - title : 'Senior Developer' + title : 'Senior Developer', }, { id : 'c318e31f-1d74-49c5-8dae-2bc5805e2fdb', @@ -282,7 +282,7 @@ export const project = { name : 'Martin Richards', email : 'martinrichards@mail.biz', phone : '+1-902-500-2668', - title : 'Junior Developer' + title : 'Junior Developer', }, { id : '0a8bc517-631a-4a93-aacc-000fa2e8294c', @@ -290,7 +290,7 @@ export const project = { name : 'Candice Munoz', email : 'candicemunoz@mail.co.uk', phone : '+1-838-562-2769', - title : 'Lead Designer' + title : 'Lead Designer', }, { id : 'a4c9945a-757b-40b0-8942-d20e0543cabd', @@ -298,7 +298,7 @@ export const project = { name : 'Vickie Mosley', email : 'vickiemosley@mail.net', phone : '+1-939-555-3054', - title : 'Designer' + title : 'Designer', }, { id : 'b8258ccf-48b5-46a2-9c95-e0bd7580c645', @@ -306,7 +306,7 @@ export const project = { name : 'Tina Harris', email : 'tinaharris@mail.ca', phone : '+1-933-464-2431', - title : 'Designer' + title : 'Designer', }, { id : 'f004ea79-98fc-436c-9ba5-6cfe32fe583d', @@ -314,7 +314,7 @@ export const project = { name : 'Holt Manning', email : 'holtmanning@mail.org', phone : '+1-822-531-2600', - title : 'Marketing Manager' + title : 'Marketing Manager', }, { id : '8b69fe2d-d7cc-4a3d-983d-559173e37d37', @@ -322,7 +322,7 @@ export const project = { name : 'Misty Ramsey', email : 'mistyramsey@mail.us', phone : '+1-990-457-2106', - title : 'Consultant' - } - ] + title : 'Consultant', + }, + ], }; diff --git a/src/app/mock-api/index.ts b/src/app/mock-api/index.ts index 4ff5d6d9..b01faead 100644 --- a/src/app/mock-api/index.ts +++ b/src/app/mock-api/index.ts @@ -1,26 +1,26 @@ import { AcademyMockApi } from 'app/mock-api/apps/academy/api'; -import { ActivitiesMockApi } from 'app/mock-api/pages/activities/api'; -import { AnalyticsMockApi } from 'app/mock-api/dashboards/analytics/api'; -import { AuthMockApi } from 'app/mock-api/common/auth/api'; import { ChatMockApi } from 'app/mock-api/apps/chat/api'; import { ContactsMockApi } from 'app/mock-api/apps/contacts/api'; -import { CryptoMockApi } from 'app/mock-api/dashboards/crypto/api'; import { ECommerceInventoryMockApi } from 'app/mock-api/apps/ecommerce/inventory/api'; import { FileManagerMockApi } from 'app/mock-api/apps/file-manager/api'; -import { FinanceMockApi } from 'app/mock-api/dashboards/finance/api'; import { HelpCenterMockApi } from 'app/mock-api/apps/help-center/api'; -import { IconsMockApi } from 'app/mock-api/ui/icons/api'; import { MailboxMockApi } from 'app/mock-api/apps/mailbox/api'; +import { NotesMockApi } from 'app/mock-api/apps/notes/api'; +import { ScrumboardMockApi } from 'app/mock-api/apps/scrumboard/api'; +import { TasksMockApi } from 'app/mock-api/apps/tasks/api'; +import { AuthMockApi } from 'app/mock-api/common/auth/api'; import { MessagesMockApi } from 'app/mock-api/common/messages/api'; import { NavigationMockApi } from 'app/mock-api/common/navigation/api'; -import { NotesMockApi } from 'app/mock-api/apps/notes/api'; import { NotificationsMockApi } from 'app/mock-api/common/notifications/api'; -import { ProjectMockApi } from 'app/mock-api/dashboards/project/api'; import { SearchMockApi } from 'app/mock-api/common/search/api'; -import { ScrumboardMockApi } from 'app/mock-api/apps/scrumboard/api'; import { ShortcutsMockApi } from 'app/mock-api/common/shortcuts/api'; -import { TasksMockApi } from 'app/mock-api/apps/tasks/api'; import { UserMockApi } from 'app/mock-api/common/user/api'; +import { AnalyticsMockApi } from 'app/mock-api/dashboards/analytics/api'; +import { CryptoMockApi } from 'app/mock-api/dashboards/crypto/api'; +import { FinanceMockApi } from 'app/mock-api/dashboards/finance/api'; +import { ProjectMockApi } from 'app/mock-api/dashboards/project/api'; +import { ActivitiesMockApi } from 'app/mock-api/pages/activities/api'; +import { IconsMockApi } from 'app/mock-api/ui/icons/api'; export const mockApiServices = [ AcademyMockApi, @@ -45,5 +45,5 @@ export const mockApiServices = [ ScrumboardMockApi, ShortcutsMockApi, TasksMockApi, - UserMockApi + UserMockApi, ]; diff --git a/src/app/mock-api/pages/activities/api.ts b/src/app/mock-api/pages/activities/api.ts index c9b7997e..9fd4189d 100644 --- a/src/app/mock-api/pages/activities/api.ts +++ b/src/app/mock-api/pages/activities/api.ts @@ -1,10 +1,10 @@ import { Injectable } from '@angular/core'; -import { cloneDeep } from 'lodash-es'; import { FuseMockApiService } from '@fuse/lib/mock-api'; import { activities as activitiesData } from 'app/mock-api/pages/activities/data'; +import { cloneDeep } from 'lodash-es'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class ActivitiesMockApi { diff --git a/src/app/mock-api/pages/activities/data.ts b/src/app/mock-api/pages/activities/data.ts index 6171e0a3..a4f382f8 100644 --- a/src/app/mock-api/pages/activities/data.ts +++ b/src/app/mock-api/pages/activities/data.ts @@ -11,7 +11,7 @@ export const activities = [ description : 'Your submission has been accepted', date : now.minus({minutes: 25}).toISO(), // 25 minutes ago extraContent: `
Congratulations for your acceptance!

-
Hi Brian,
Your submission has been accepted and you are ready to move into the next phase. Once you are ready, reach out to me and we will ...
` +
Hi Brian,
Your submission has been accepted and you are ready to move into the next phase. Once you are ready, reach out to me and we will ...
`, }, { id : '6e3e97e5-effc-4fb7-b730-52a151f0b641', @@ -20,7 +20,7 @@ export const activities = [ date : now.minus({minutes: 50}).toISO(), // 50 minutes ago linkedContent: 'Top Secret Project', link : '/dashboards/project', - useRouter : true + useRouter : true, }, { id : 'b91ccb58-b06c-413b-b389-87010e03a120', @@ -29,7 +29,7 @@ export const activities = [ date : now.minus({hours: 3}).toISO(), // 3 hours ago linkedContent: 'Mailbox', link : '/apps/mailbox', - useRouter : true + useRouter : true, }, { id : '541416c9-84a7-408a-8d74-27a43c38d797', @@ -38,20 +38,20 @@ export const activities = [ date : now.minus({hours: 5}).toISO(), // 5 hours ago linkedContent: 'Download the container', link : '.', - useRouter : true + useRouter : true, }, { id : 'ef7b95a7-8e8b-4616-9619-130d9533add9', image : 'assets/images/avatars/male-06.jpg', description : 'Roger Murray accepted your friend request', date : now.minus({hours: 7}).toISO(), // 7 hours ago - extraContent: `You have 8 mutual friends.` + extraContent: `You have 8 mutual friends.`, }, { id : 'eb8aa470-635e-461d-88e1-23d9ea2a5665', image : 'assets/images/avatars/female-04.jpg', description: 'Sophie Stone sent you a direct message', - date : now.minus({hours: 9}).toISO() // 9 hours ago + date : now.minus({hours: 9}).toISO(), // 9 hours ago }, { id : 'b85c2338-cc98-4140-bbf8-c226ce4e395e', @@ -65,7 +65,7 @@ export const activities = [ `, linkedContent: 'Mailbox', link : '/apps/mailbox', - useRouter : true + useRouter : true, }, { id : 'fd0f01b4-f3de-4333-add5-cd86850279f8', @@ -74,18 +74,18 @@ export const activities = [ date : now.minus({day: 1}).toISO(), // 1 day ago, linkedContent: 'Go to Chat (Tina Harris)', link : '/apps/chat/5636c0ba-fa47-42ca-9160-27340583041e', - useRouter : true + useRouter : true, }, { id : '8f8e1bf9-4661-4939-9e43-390957b60f42', icon : 'heroicons_solid:star', description: 'Your submission has been accepted and you are ready to sign-up for the final assigment which will be ready in 2 days', - date : now.minus({days: 3}).toISO() // 3 days ago + date : now.minus({days: 3}).toISO(), // 3 days ago }, { id : '30af917b-7a6a-45d1-822f-9e7ad7f8bf69', icon : 'heroicons_solid:refresh', description: 'Your Vagrant container is ready to download', - date : now.minus({day: 4}).toISO() // 4 days ago - } + date : now.minus({day: 4}).toISO(), // 4 days ago + }, ]; diff --git a/src/app/mock-api/ui/icons/api.ts b/src/app/mock-api/ui/icons/api.ts index 1090bf2e..5018b939 100644 --- a/src/app/mock-api/ui/icons/api.ts +++ b/src/app/mock-api/ui/icons/api.ts @@ -1,10 +1,10 @@ import { Injectable } from '@angular/core'; -import { cloneDeep } from 'lodash-es'; import { FuseMockApiService } from '@fuse/lib/mock-api'; import { feather, heroicons, material } from 'app/mock-api/ui/icons/data'; +import { cloneDeep } from 'lodash-es'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class IconsMockApi { @@ -41,8 +41,8 @@ export class IconsMockApi namespace: 'feather', name : 'Feather', grid : 'icon-size-6', - list : cloneDeep(this._feather) - } + list : cloneDeep(this._feather), + }, ]); // ----------------------------------------------------------------------------------------------------- @@ -56,8 +56,8 @@ export class IconsMockApi namespace: 'heroicons_outline', name : 'Heroicons Outline', grid : 'icon-size-6', - list : cloneDeep(this._heroicons) - } + list : cloneDeep(this._heroicons), + }, ]); // ----------------------------------------------------------------------------------------------------- @@ -71,8 +71,8 @@ export class IconsMockApi namespace: 'heroicons_solid', name : 'Heroicons Solid', grid : 'icon-size-5', - list : cloneDeep(this._heroicons) - } + list : cloneDeep(this._heroicons), + }, ]); // ----------------------------------------------------------------------------------------------------- @@ -86,8 +86,8 @@ export class IconsMockApi namespace: 'mat_solid', name : 'Material Solid', grid : 'icon-size-6', - list : cloneDeep(this._material) - } + list : cloneDeep(this._material), + }, ]); // ----------------------------------------------------------------------------------------------------- @@ -101,8 +101,8 @@ export class IconsMockApi namespace: 'mat_outline', name : 'Material Outline', grid : 'icon-size-6', - list : cloneDeep(this._material) - } + list : cloneDeep(this._material), + }, ]); // ----------------------------------------------------------------------------------------------------- @@ -116,8 +116,8 @@ export class IconsMockApi namespace: '', name : 'Material Twotone', grid : 'icon-size-6', - list : cloneDeep(this._material) - } + list : cloneDeep(this._material), + }, ]); } } diff --git a/src/app/mock-api/ui/icons/data.ts b/src/app/mock-api/ui/icons/data.ts index f535d66b..c898a1a0 100644 --- a/src/app/mock-api/ui/icons/data.ts +++ b/src/app/mock-api/ui/icons/data.ts @@ -1793,7 +1793,7 @@ export const material = [ 'youtube_searched_for', 'zoom_in', 'zoom_out', - 'zoom_out_map' + 'zoom_out_map', ]; export const feather = [ 'activity', @@ -2077,7 +2077,7 @@ export const feather = [ 'zap-off', 'zap', 'zoom-in', - 'zoom-out' + 'zoom-out', ]; // heroicons v1.0.1 - 230 icons export const heroicons = [ @@ -2310,5 +2310,5 @@ export const heroicons = [ 'zoom-in', 'wifi', 'zoom-out', - 'x' + 'x', ]; diff --git a/src/app/modules/admin/apps/academy/academy.component.ts b/src/app/modules/admin/apps/academy/academy.component.ts index 6134aa35..d5499077 100644 --- a/src/app/modules/admin/apps/academy/academy.component.ts +++ b/src/app/modules/admin/apps/academy/academy.component.ts @@ -1,10 +1,13 @@ import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core'; +import { RouterOutlet } from '@angular/router'; @Component({ selector : 'academy', templateUrl : './academy.component.html', encapsulation : ViewEncapsulation.None, - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone : true, + imports : [RouterOutlet], }) export class AcademyComponent { diff --git a/src/app/modules/admin/apps/academy/academy.module.ts b/src/app/modules/admin/apps/academy/academy.module.ts index a6a84729..5ba87084 100644 --- a/src/app/modules/admin/apps/academy/academy.module.ts +++ b/src/app/modules/admin/apps/academy/academy.module.ts @@ -1,5 +1,4 @@ import { NgModule } from '@angular/core'; -import { RouterModule } from '@angular/router'; import { MatButtonModule } from '@angular/material/button'; import { MatFormFieldModule } from '@angular/material/form-field'; import { MatIconModule } from '@angular/material/icon'; @@ -8,22 +7,17 @@ import { MatProgressBarModule } from '@angular/material/progress-bar'; import { MatSelectModule } from '@angular/material/select'; import { MatSidenavModule } from '@angular/material/sidenav'; import { MatSlideToggleModule } from '@angular/material/slide-toggle'; +import { MatTabsModule } from '@angular/material/tabs'; import { MatTooltipModule } from '@angular/material/tooltip'; -import { FuseFindByKeyPipeModule } from '@fuse/pipes/find-by-key'; -import { SharedModule } from 'app/shared/shared.module'; -import { academyRoutes } from 'app/modules/admin/apps/academy/academy.routing'; +import { RouterModule } from '@angular/router'; import { AcademyComponent } from 'app/modules/admin/apps/academy/academy.component'; + +import { academyRoutes } from 'app/modules/admin/apps/academy/academy.routing'; import { AcademyDetailsComponent } from 'app/modules/admin/apps/academy/details/details.component'; import { AcademyListComponent } from 'app/modules/admin/apps/academy/list/list.component'; -import { MatTabsModule } from '@angular/material/tabs'; @NgModule({ - declarations: [ - AcademyComponent, - AcademyDetailsComponent, - AcademyListComponent - ], - imports : [ + imports: [ RouterModule.forChild(academyRoutes), MatButtonModule, MatFormFieldModule, @@ -34,10 +28,11 @@ import { MatTabsModule } from '@angular/material/tabs'; MatSidenavModule, MatSlideToggleModule, MatTooltipModule, - FuseFindByKeyPipeModule, - SharedModule, - MatTabsModule - ] + MatTabsModule, + AcademyComponent, + AcademyDetailsComponent, + AcademyListComponent, + ], }) export class AcademyModule { diff --git a/src/app/modules/admin/apps/academy/academy.resolvers.ts b/src/app/modules/admin/apps/academy/academy.resolvers.ts index 3dfbbbbf..aa27ad8f 100644 --- a/src/app/modules/admin/apps/academy/academy.resolvers.ts +++ b/src/app/modules/admin/apps/academy/academy.resolvers.ts @@ -1,11 +1,11 @@ import { Injectable } from '@angular/core'; import { ActivatedRouteSnapshot, Resolve, Router, RouterStateSnapshot } from '@angular/router'; -import { catchError, Observable, throwError } from 'rxjs'; -import { Category, Course } from 'app/modules/admin/apps/academy/academy.types'; import { AcademyService } from 'app/modules/admin/apps/academy/academy.service'; +import { Category, Course } from 'app/modules/admin/apps/academy/academy.types'; +import { catchError, Observable, throwError } from 'rxjs'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class AcademyCategoriesResolver implements Resolve { @@ -33,7 +33,7 @@ export class AcademyCategoriesResolver implements Resolve } @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class AcademyCoursesResolver implements Resolve { @@ -61,7 +61,7 @@ export class AcademyCoursesResolver implements Resolve } @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class AcademyCourseResolver implements Resolve { @@ -70,7 +70,7 @@ export class AcademyCourseResolver implements Resolve */ constructor( private _router: Router, - private _academyService: AcademyService + private _academyService: AcademyService, ) { } @@ -88,22 +88,23 @@ export class AcademyCourseResolver implements Resolve resolve(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable { return this._academyService.getCourseById(route.paramMap.get('id')) - .pipe( - // Error here means the requested task is not available - catchError((error) => { + .pipe( + // Error here means the requested task is not available + catchError((error) => + { - // Log the error - console.error(error); + // Log the error + console.error(error); - // Get the parent url - const parentUrl = state.url.split('/').slice(0, -1).join('/'); + // Get the parent url + const parentUrl = state.url.split('/').slice(0, -1).join('/'); - // Navigate to there - this._router.navigateByUrl(parentUrl); + // Navigate to there + this._router.navigateByUrl(parentUrl); - // Throw an error - return throwError(error); - }) - ); + // Throw an error + return throwError(error); + }), + ); } } diff --git a/src/app/modules/admin/apps/academy/academy.routing.ts b/src/app/modules/admin/apps/academy/academy.routing.ts index 4e5af973..34ce0216 100644 --- a/src/app/modules/admin/apps/academy/academy.routing.ts +++ b/src/app/modules/admin/apps/academy/academy.routing.ts @@ -1,15 +1,15 @@ import { Route } from '@angular/router'; import { AcademyComponent } from 'app/modules/admin/apps/academy/academy.component'; -import { AcademyListComponent } from 'app/modules/admin/apps/academy/list/list.component'; -import { AcademyDetailsComponent } from 'app/modules/admin/apps/academy/details/details.component'; import { AcademyCategoriesResolver, AcademyCourseResolver, AcademyCoursesResolver } from 'app/modules/admin/apps/academy/academy.resolvers'; +import { AcademyDetailsComponent } from 'app/modules/admin/apps/academy/details/details.component'; +import { AcademyListComponent } from 'app/modules/admin/apps/academy/list/list.component'; export const academyRoutes: Route[] = [ { path : '', component: AcademyComponent, resolve : { - categories: AcademyCategoriesResolver + categories: AcademyCategoriesResolver, }, children : [ { @@ -17,16 +17,16 @@ export const academyRoutes: Route[] = [ pathMatch: 'full', component: AcademyListComponent, resolve : { - courses: AcademyCoursesResolver - } + courses: AcademyCoursesResolver, + }, }, { path : ':id', component: AcademyDetailsComponent, resolve : { - course: AcademyCourseResolver - } - } - ] - } + course: AcademyCourseResolver, + }, + }, + ], + }, ]; diff --git a/src/app/modules/admin/apps/academy/academy.service.ts b/src/app/modules/admin/apps/academy/academy.service.ts index e263e6d3..ed77f569 100644 --- a/src/app/modules/admin/apps/academy/academy.service.ts +++ b/src/app/modules/admin/apps/academy/academy.service.ts @@ -1,10 +1,10 @@ -import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; -import { BehaviorSubject, map, Observable, of, switchMap, tap, throwError } from 'rxjs'; +import { Injectable } from '@angular/core'; import { Category, Course } from 'app/modules/admin/apps/academy/academy.types'; +import { BehaviorSubject, map, Observable, of, switchMap, tap, throwError } from 'rxjs'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class AcademyService { @@ -58,9 +58,10 @@ export class AcademyService getCategories(): Observable { return this._httpClient.get('api/apps/academy/categories').pipe( - tap((response: any) => { + tap((response: any) => + { this._categories.next(response); - }) + }), ); } @@ -70,9 +71,10 @@ export class AcademyService getCourses(): Observable { return this._httpClient.get('api/apps/academy/courses').pipe( - tap((response: any) => { + tap((response: any) => + { this._courses.next(response); - }) + }), ); } @@ -82,7 +84,8 @@ export class AcademyService getCourseById(id: string): Observable { return this._httpClient.get('api/apps/academy/courses/course', {params: {id}}).pipe( - map((course) => { + map((course) => + { // Update the course this._course.next(course); @@ -90,7 +93,8 @@ export class AcademyService // Return the course return course; }), - switchMap((course) => { + switchMap((course) => + { if ( !course ) { @@ -98,7 +102,7 @@ export class AcademyService } return of(course); - }) + }), ); } } diff --git a/src/app/modules/admin/apps/academy/details/details.component.ts b/src/app/modules/admin/apps/academy/details/details.component.ts index da461549..cf5669f2 100644 --- a/src/app/modules/admin/apps/academy/details/details.component.ts +++ b/src/app/modules/admin/apps/academy/details/details.component.ts @@ -1,16 +1,25 @@ +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { DOCUMENT, NgClass, NgFor, NgIf } from '@angular/common'; import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, Inject, OnDestroy, OnInit, ViewChild, ViewEncapsulation } from '@angular/core'; -import { DOCUMENT } from '@angular/common'; -import { MatTabGroup } from '@angular/material/tabs'; -import { Subject, takeUntil } from 'rxjs'; +import { MatButtonModule } from '@angular/material/button'; +import { MatIconModule } from '@angular/material/icon'; +import { MatProgressBarModule } from '@angular/material/progress-bar'; +import { MatSidenavModule } from '@angular/material/sidenav'; +import { MatTabGroup, MatTabsModule } from '@angular/material/tabs'; +import { RouterLink } from '@angular/router'; +import { FuseFindByKeyPipe } from '@fuse/pipes/find-by-key/find-by-key.pipe'; import { FuseMediaWatcherService } from '@fuse/services/media-watcher'; -import { Category, Course } from 'app/modules/admin/apps/academy/academy.types'; import { AcademyService } from 'app/modules/admin/apps/academy/academy.service'; +import { Category, Course } from 'app/modules/admin/apps/academy/academy.types'; +import { Subject, takeUntil } from 'rxjs'; @Component({ selector : 'academy-details', templateUrl : './details.component.html', encapsulation : ViewEncapsulation.None, - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone : true, + imports : [MatSidenavModule, RouterLink, MatIconModule, NgIf, NgClass, NgFor, MatButtonModule, MatProgressBarModule, CdkScrollable, MatTabsModule, FuseFindByKeyPipe], }) export class AcademyDetailsComponent implements OnInit, OnDestroy { @@ -30,7 +39,7 @@ export class AcademyDetailsComponent implements OnInit, OnDestroy private _academyService: AcademyService, private _changeDetectorRef: ChangeDetectorRef, private _elementRef: ElementRef, - private _fuseMediaWatcherService: FuseMediaWatcherService + private _fuseMediaWatcherService: FuseMediaWatcherService, ) { } @@ -47,7 +56,8 @@ export class AcademyDetailsComponent implements OnInit, OnDestroy // Get the categories this._academyService.categories$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((categories: Category[]) => { + .subscribe((categories: Category[]) => + { // Get the categories this.categories = categories; @@ -59,7 +69,8 @@ export class AcademyDetailsComponent implements OnInit, OnDestroy // Get the course this._academyService.course$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((course: Course) => { + .subscribe((course: Course) => + { // Get the course this.course = course; @@ -74,7 +85,8 @@ export class AcademyDetailsComponent implements OnInit, OnDestroy // Subscribe to media changes this._fuseMediaWatcherService.onMediaChange$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe(({matchingAliases}) => { + .subscribe(({matchingAliases}) => + { // Set the drawerMode and drawerOpened if ( matchingAliases.includes('lg') ) @@ -187,7 +199,8 @@ export class AcademyDetailsComponent implements OnInit, OnDestroy private _scrollCurrentStepElementIntoView(): void { // Wrap everything into setTimeout so we can make sure that the 'current-step' class points to correct element - setTimeout(() => { + setTimeout(() => + { // Get the current step element and scroll it into view const currentStepElement = this._document.getElementsByClassName('current-step')[0]; @@ -195,7 +208,7 @@ export class AcademyDetailsComponent implements OnInit, OnDestroy { currentStepElement.scrollIntoView({ behavior: 'smooth', - block : 'start' + block : 'start', }); } }); diff --git a/src/app/modules/admin/apps/academy/list/list.component.ts b/src/app/modules/admin/apps/academy/list/list.component.ts index 35626ca3..429c7ad8 100644 --- a/src/app/modules/admin/apps/academy/list/list.component.ts +++ b/src/app/modules/admin/apps/academy/list/list.component.ts @@ -1,16 +1,28 @@ +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { I18nPluralPipe, NgClass, NgFor, NgIf, PercentPipe } from '@angular/common'; import { ChangeDetectionStrategy, ChangeDetectorRef, Component, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; -import { MatSelectChange } from '@angular/material/select'; -import { MatSlideToggleChange } from '@angular/material/slide-toggle'; -import { BehaviorSubject, combineLatest, Subject, takeUntil } from 'rxjs'; +import { MatButtonModule } from '@angular/material/button'; +import { MatOptionModule } from '@angular/material/core'; +import { MatFormFieldModule } from '@angular/material/form-field'; +import { MatIconModule } from '@angular/material/icon'; +import { MatInputModule } from '@angular/material/input'; +import { MatProgressBarModule } from '@angular/material/progress-bar'; +import { MatSelectChange, MatSelectModule } from '@angular/material/select'; +import { MatSlideToggleChange, MatSlideToggleModule } from '@angular/material/slide-toggle'; +import { MatTooltipModule } from '@angular/material/tooltip'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; +import { FuseFindByKeyPipe } from '@fuse/pipes/find-by-key/find-by-key.pipe'; import { AcademyService } from 'app/modules/admin/apps/academy/academy.service'; import { Category, Course } from 'app/modules/admin/apps/academy/academy.types'; +import { BehaviorSubject, combineLatest, Subject, takeUntil } from 'rxjs'; @Component({ selector : 'academy-list', templateUrl : './list.component.html', encapsulation : ViewEncapsulation.None, - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone : true, + imports : [CdkScrollable, MatFormFieldModule, MatSelectModule, MatOptionModule, NgFor, MatIconModule, MatInputModule, MatSlideToggleModule, NgIf, NgClass, MatTooltipModule, MatProgressBarModule, MatButtonModule, RouterLink, FuseFindByKeyPipe, PercentPipe, I18nPluralPipe], }) export class AcademyListComponent implements OnInit, OnDestroy { @@ -24,7 +36,7 @@ export class AcademyListComponent implements OnInit, OnDestroy } = { categorySlug$ : new BehaviorSubject('all'), query$ : new BehaviorSubject(''), - hideCompleted$: new BehaviorSubject(false) + hideCompleted$: new BehaviorSubject(false), }; private _unsubscribeAll: Subject = new Subject(); @@ -36,7 +48,7 @@ export class AcademyListComponent implements OnInit, OnDestroy private _activatedRoute: ActivatedRoute, private _changeDetectorRef: ChangeDetectorRef, private _router: Router, - private _academyService: AcademyService + private _academyService: AcademyService, ) { } @@ -53,7 +65,8 @@ export class AcademyListComponent implements OnInit, OnDestroy // Get the categories this._academyService.categories$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((categories: Category[]) => { + .subscribe((categories: Category[]) => + { this.categories = categories; // Mark for check @@ -63,7 +76,8 @@ export class AcademyListComponent implements OnInit, OnDestroy // Get the courses this._academyService.courses$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((courses: Course[]) => { + .subscribe((courses: Course[]) => + { this.courses = this.filteredCourses = courses; // Mark for check @@ -72,7 +86,8 @@ export class AcademyListComponent implements OnInit, OnDestroy // Filter the courses combineLatest([this.filters.categorySlug$, this.filters.query$, this.filters.hideCompleted$]) - .subscribe(([categorySlug, query, hideCompleted]) => { + .subscribe(([categorySlug, query, hideCompleted]) => + { // Reset the filtered courses this.filteredCourses = this.courses; diff --git a/src/app/modules/admin/apps/chat/chat.component.ts b/src/app/modules/admin/apps/chat/chat.component.ts index 15583229..27006ad6 100644 --- a/src/app/modules/admin/apps/chat/chat.component.ts +++ b/src/app/modules/admin/apps/chat/chat.component.ts @@ -1,10 +1,13 @@ import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core'; +import { RouterOutlet } from '@angular/router'; @Component({ selector : 'chat', templateUrl : './chat.component.html', encapsulation : ViewEncapsulation.None, - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone : true, + imports : [RouterOutlet], }) export class ChatComponent { diff --git a/src/app/modules/admin/apps/chat/chat.module.ts b/src/app/modules/admin/apps/chat/chat.module.ts index 615841fa..b7a04ab2 100644 --- a/src/app/modules/admin/apps/chat/chat.module.ts +++ b/src/app/modules/admin/apps/chat/chat.module.ts @@ -1,5 +1,4 @@ import { NgModule } from '@angular/core'; -import { RouterModule } from '@angular/router'; import { MatButtonModule } from '@angular/material/button'; import { MatCheckboxModule } from '@angular/material/checkbox'; import { MatFormFieldModule } from '@angular/material/form-field'; @@ -7,27 +6,19 @@ import { MatIconModule } from '@angular/material/icon'; import { MatInputModule } from '@angular/material/input'; import { MatMenuModule } from '@angular/material/menu'; import { MatSidenavModule } from '@angular/material/sidenav'; -import { SharedModule } from 'app/shared/shared.module'; -import { chatRoutes } from 'app/modules/admin/apps/chat/chat.routing'; +import { RouterModule } from '@angular/router'; import { ChatComponent } from 'app/modules/admin/apps/chat/chat.component'; + +import { chatRoutes } from 'app/modules/admin/apps/chat/chat.routing'; import { ChatsComponent } from 'app/modules/admin/apps/chat/chats/chats.component'; import { ContactInfoComponent } from 'app/modules/admin/apps/chat/contact-info/contact-info.component'; -import { EmptyConversationComponent } from 'app/modules/admin/apps/chat/empty-conversation/empty-conversation.component'; import { ConversationComponent } from 'app/modules/admin/apps/chat/conversation/conversation.component'; +import { EmptyConversationComponent } from 'app/modules/admin/apps/chat/empty-conversation/empty-conversation.component'; import { NewChatComponent } from 'app/modules/admin/apps/chat/new-chat/new-chat.component'; import { ProfileComponent } from 'app/modules/admin/apps/chat/profile/profile.component'; @NgModule({ - declarations: [ - ChatComponent, - ChatsComponent, - ContactInfoComponent, - ConversationComponent, - EmptyConversationComponent, - NewChatComponent, - ProfileComponent - ], - imports : [ + imports: [ RouterModule.forChild(chatRoutes), MatButtonModule, MatCheckboxModule, @@ -36,8 +27,14 @@ import { ProfileComponent } from 'app/modules/admin/apps/chat/profile/profile.co MatInputModule, MatMenuModule, MatSidenavModule, - SharedModule - ] + ChatComponent, + ChatsComponent, + ContactInfoComponent, + ConversationComponent, + EmptyConversationComponent, + NewChatComponent, + ProfileComponent, + ], }) export class ChatModule { diff --git a/src/app/modules/admin/apps/chat/chat.resolvers.ts b/src/app/modules/admin/apps/chat/chat.resolvers.ts index e7216a52..56732f2d 100644 --- a/src/app/modules/admin/apps/chat/chat.resolvers.ts +++ b/src/app/modules/admin/apps/chat/chat.resolvers.ts @@ -1,11 +1,11 @@ import { Injectable } from '@angular/core'; import { ActivatedRouteSnapshot, Resolve, Router, RouterStateSnapshot } from '@angular/router'; -import { catchError, Observable, throwError } from 'rxjs'; import { ChatService } from 'app/modules/admin/apps/chat/chat.service'; import { Chat, Contact, Profile } from 'app/modules/admin/apps/chat/chat.types'; +import { catchError, Observable, throwError } from 'rxjs'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class ChatChatsResolver implements Resolve { @@ -14,7 +14,7 @@ export class ChatChatsResolver implements Resolve */ constructor( private _chatService: ChatService, - private _router: Router + private _router: Router, ) { } @@ -36,7 +36,7 @@ export class ChatChatsResolver implements Resolve } @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class ChatChatResolver implements Resolve { @@ -45,7 +45,7 @@ export class ChatChatResolver implements Resolve */ constructor( private _chatService: ChatService, - private _router: Router + private _router: Router, ) { } @@ -63,28 +63,29 @@ export class ChatChatResolver implements Resolve resolve(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable { return this._chatService.getChatById(route.paramMap.get('id')) - .pipe( - // Error here means the requested chat is not available - catchError((error) => { + .pipe( + // Error here means the requested chat is not available + catchError((error) => + { - // Log the error - console.error(error); + // Log the error + console.error(error); - // Get the parent url - const parentUrl = state.url.split('/').slice(0, -1).join('/'); + // Get the parent url + const parentUrl = state.url.split('/').slice(0, -1).join('/'); - // Navigate to there - this._router.navigateByUrl(parentUrl); + // Navigate to there + this._router.navigateByUrl(parentUrl); - // Throw an error - return throwError(error); - }) - ); + // Throw an error + return throwError(error); + }), + ); } } @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class ChatContactsResolver implements Resolve { @@ -93,7 +94,7 @@ export class ChatContactsResolver implements Resolve */ constructor( private _chatService: ChatService, - private _router: Router + private _router: Router, ) { } @@ -115,7 +116,7 @@ export class ChatContactsResolver implements Resolve } @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class ChatProfileResolver implements Resolve { @@ -124,7 +125,7 @@ export class ChatProfileResolver implements Resolve */ constructor( private _chatService: ChatService, - private _router: Router + private _router: Router, ) { } diff --git a/src/app/modules/admin/apps/chat/chat.routing.ts b/src/app/modules/admin/apps/chat/chat.routing.ts index f6895cdc..de49ce3a 100644 --- a/src/app/modules/admin/apps/chat/chat.routing.ts +++ b/src/app/modules/admin/apps/chat/chat.routing.ts @@ -1,6 +1,6 @@ import { Route } from '@angular/router'; -import { ChatChatResolver, ChatChatsResolver, ChatContactsResolver, ChatProfileResolver } from 'app/modules/admin/apps/chat/chat.resolvers'; import { ChatComponent } from 'app/modules/admin/apps/chat/chat.component'; +import { ChatChatResolver, ChatChatsResolver, ChatContactsResolver, ChatProfileResolver } from 'app/modules/admin/apps/chat/chat.resolvers'; import { ChatsComponent } from 'app/modules/admin/apps/chat/chats/chats.component'; import { ConversationComponent } from 'app/modules/admin/apps/chat/conversation/conversation.component'; import { EmptyConversationComponent } from 'app/modules/admin/apps/chat/empty-conversation/empty-conversation.component'; @@ -12,7 +12,7 @@ export const chatRoutes: Route[] = [ resolve : { chats : ChatChatsResolver, contacts: ChatContactsResolver, - profile : ChatProfileResolver + profile : ChatProfileResolver, }, children : [ { @@ -22,17 +22,17 @@ export const chatRoutes: Route[] = [ { path : '', pathMatch: 'full', - component: EmptyConversationComponent + component: EmptyConversationComponent, }, { path : ':id', component: ConversationComponent, resolve : { - conversation: ChatChatResolver - } - } - ] - } - ] - } + conversation: ChatChatResolver, + }, + }, + ], + }, + ], + }, ]; diff --git a/src/app/modules/admin/apps/chat/chat.service.ts b/src/app/modules/admin/apps/chat/chat.service.ts index d274d8dd..e16e9df4 100644 --- a/src/app/modules/admin/apps/chat/chat.service.ts +++ b/src/app/modules/admin/apps/chat/chat.service.ts @@ -1,10 +1,10 @@ -import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; -import { BehaviorSubject, filter, map, Observable, of, switchMap, take, tap, throwError } from 'rxjs'; +import { Injectable } from '@angular/core'; import { Chat, Contact, Profile } from 'app/modules/admin/apps/chat/chat.types'; +import { BehaviorSubject, filter, map, Observable, of, switchMap, take, tap, throwError } from 'rxjs'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class ChatService { @@ -75,9 +75,10 @@ export class ChatService getChats(): Observable { return this._httpClient.get('api/apps/chat/chats').pipe( - tap((response: Chat[]) => { + tap((response: Chat[]) => + { this._chats.next(response); - }) + }), ); } @@ -89,9 +90,10 @@ export class ChatService getContact(id: string): Observable { return this._httpClient.get('api/apps/chat/contacts', {params: {id}}).pipe( - tap((response: Contact) => { + tap((response: Contact) => + { this._contact.next(response); - }) + }), ); } @@ -101,9 +103,10 @@ export class ChatService getContacts(): Observable { return this._httpClient.get('api/apps/chat/contacts').pipe( - tap((response: Contact[]) => { + tap((response: Contact[]) => + { this._contacts.next(response); - }) + }), ); } @@ -113,9 +116,10 @@ export class ChatService getProfile(): Observable { return this._httpClient.get('api/apps/chat/profile').pipe( - tap((response: Profile) => { + tap((response: Profile) => + { this._profile.next(response); - }) + }), ); } @@ -127,7 +131,8 @@ export class ChatService getChatById(id: string): Observable { return this._httpClient.get('api/apps/chat/chat', {params: {id}}).pipe( - map((chat) => { + map((chat) => + { // Update the chat this._chat.next(chat); @@ -135,7 +140,8 @@ export class ChatService // Return the chat return chat; }), - switchMap((chat) => { + switchMap((chat) => + { if ( !chat ) { @@ -143,7 +149,7 @@ export class ChatService } return of(chat); - }) + }), ); } @@ -159,9 +165,10 @@ export class ChatService take(1), switchMap(chats => this._httpClient.patch('api/apps/chat/chat', { id, - chat + chat, }).pipe( - map((updatedChat) => { + map((updatedChat) => + { // Find the index of the updated chat const index = chats.findIndex(item => item.id === id); @@ -178,16 +185,17 @@ export class ChatService switchMap(updatedChat => this.chat$.pipe( take(1), filter(item => item && item.id === id), - tap(() => { + tap(() => + { // Update the chat if it's selected this._chat.next(updatedChat); // Return the updated chat return updatedChat; - }) - )) - )) + }), + )), + )), ); } diff --git a/src/app/modules/admin/apps/chat/chats/chats.component.ts b/src/app/modules/admin/apps/chat/chats/chats.component.ts index 11125dc0..76cbee94 100644 --- a/src/app/modules/admin/apps/chat/chats/chats.component.ts +++ b/src/app/modules/admin/apps/chat/chats/chats.component.ts @@ -1,13 +1,25 @@ +import { NgClass, NgFor, NgIf } from '@angular/common'; import { ChangeDetectionStrategy, ChangeDetectorRef, Component, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core'; -import { Subject, takeUntil } from 'rxjs'; -import { Chat, Profile } from 'app/modules/admin/apps/chat/chat.types'; +import { MatButtonModule } from '@angular/material/button'; +import { MatFormFieldModule } from '@angular/material/form-field'; +import { MatIconModule } from '@angular/material/icon'; +import { MatInputModule } from '@angular/material/input'; +import { MatMenuModule } from '@angular/material/menu'; +import { MatSidenavModule } from '@angular/material/sidenav'; +import { RouterLink, RouterOutlet } from '@angular/router'; import { ChatService } from 'app/modules/admin/apps/chat/chat.service'; +import { Chat, Profile } from 'app/modules/admin/apps/chat/chat.types'; +import { NewChatComponent } from 'app/modules/admin/apps/chat/new-chat/new-chat.component'; +import { ProfileComponent } from 'app/modules/admin/apps/chat/profile/profile.component'; +import { Subject, takeUntil } from 'rxjs'; @Component({ selector : 'chat-chats', templateUrl : './chats.component.html', encapsulation : ViewEncapsulation.None, - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone : true, + imports : [MatSidenavModule, NgIf, NewChatComponent, ProfileComponent, MatButtonModule, MatIconModule, MatMenuModule, MatFormFieldModule, MatInputModule, NgFor, NgClass, RouterLink, RouterOutlet], }) export class ChatsComponent implements OnInit, OnDestroy { @@ -24,7 +36,7 @@ export class ChatsComponent implements OnInit, OnDestroy */ constructor( private _chatService: ChatService, - private _changeDetectorRef: ChangeDetectorRef + private _changeDetectorRef: ChangeDetectorRef, ) { } @@ -41,7 +53,8 @@ export class ChatsComponent implements OnInit, OnDestroy // Chats this._chatService.chats$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((chats: Chat[]) => { + .subscribe((chats: Chat[]) => + { this.chats = this.filteredChats = chats; // Mark for check @@ -51,7 +64,8 @@ export class ChatsComponent implements OnInit, OnDestroy // Profile this._chatService.profile$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((profile: Profile) => { + .subscribe((profile: Profile) => + { this.profile = profile; // Mark for check @@ -61,7 +75,8 @@ export class ChatsComponent implements OnInit, OnDestroy // Selected chat this._chatService.chat$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((chat: Chat) => { + .subscribe((chat: Chat) => + { this.selectedChat = chat; // Mark for check diff --git a/src/app/modules/admin/apps/chat/contact-info/contact-info.component.ts b/src/app/modules/admin/apps/chat/contact-info/contact-info.component.ts index 5ca89897..2e4ceec4 100644 --- a/src/app/modules/admin/apps/chat/contact-info/contact-info.component.ts +++ b/src/app/modules/admin/apps/chat/contact-info/contact-info.component.ts @@ -1,4 +1,7 @@ +import { NgFor, NgIf } from '@angular/common'; import { ChangeDetectionStrategy, Component, Input, ViewEncapsulation } from '@angular/core'; +import { MatButtonModule } from '@angular/material/button'; +import { MatIconModule } from '@angular/material/icon'; import { MatDrawer } from '@angular/material/sidenav'; import { Chat } from 'app/modules/admin/apps/chat/chat.types'; @@ -6,7 +9,9 @@ import { Chat } from 'app/modules/admin/apps/chat/chat.types'; selector : 'chat-contact-info', templateUrl : './contact-info.component.html', encapsulation : ViewEncapsulation.None, - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone : true, + imports : [MatButtonModule, MatIconModule, NgIf, NgFor], }) export class ContactInfoComponent { diff --git a/src/app/modules/admin/apps/chat/conversation/conversation.component.ts b/src/app/modules/admin/apps/chat/conversation/conversation.component.ts index 9f85468d..d737bf43 100644 --- a/src/app/modules/admin/apps/chat/conversation/conversation.component.ts +++ b/src/app/modules/admin/apps/chat/conversation/conversation.component.ts @@ -1,14 +1,26 @@ +import { TextFieldModule } from '@angular/cdk/text-field'; +import { DatePipe, NgClass, NgFor, NgIf, NgTemplateOutlet } from '@angular/common'; import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, HostListener, NgZone, OnDestroy, OnInit, ViewChild, ViewEncapsulation } from '@angular/core'; -import { Subject, takeUntil } from 'rxjs'; +import { MatButtonModule } from '@angular/material/button'; +import { MatFormFieldModule } from '@angular/material/form-field'; +import { MatIconModule } from '@angular/material/icon'; +import { MatInputModule } from '@angular/material/input'; +import { MatMenuModule } from '@angular/material/menu'; +import { MatSidenavModule } from '@angular/material/sidenav'; +import { RouterLink } from '@angular/router'; import { FuseMediaWatcherService } from '@fuse/services/media-watcher'; -import { Chat } from 'app/modules/admin/apps/chat/chat.types'; import { ChatService } from 'app/modules/admin/apps/chat/chat.service'; +import { Chat } from 'app/modules/admin/apps/chat/chat.types'; +import { ContactInfoComponent } from 'app/modules/admin/apps/chat/contact-info/contact-info.component'; +import { Subject, takeUntil } from 'rxjs'; @Component({ selector : 'chat-conversation', templateUrl : './conversation.component.html', encapsulation : ViewEncapsulation.None, - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone : true, + imports : [NgIf, MatSidenavModule, ContactInfoComponent, MatButtonModule, RouterLink, MatIconModule, MatMenuModule, NgFor, NgClass, NgTemplateOutlet, MatFormFieldModule, MatInputModule, TextFieldModule, DatePipe], }) export class ConversationComponent implements OnInit, OnDestroy { @@ -25,7 +37,7 @@ export class ConversationComponent implements OnInit, OnDestroy private _changeDetectorRef: ChangeDetectorRef, private _chatService: ChatService, private _fuseMediaWatcherService: FuseMediaWatcherService, - private _ngZone: NgZone + private _ngZone: NgZone, ) { } @@ -44,9 +56,11 @@ export class ConversationComponent implements OnInit, OnDestroy private _resizeMessageInput(): void { // This doesn't need to trigger Angular's change detection by itself - this._ngZone.runOutsideAngular(() => { + this._ngZone.runOutsideAngular(() => + { - setTimeout(() => { + setTimeout(() => + { // Set the height to 'auto' so we can correctly read the scrollHeight this.messageInput.nativeElement.style.height = 'auto'; @@ -75,7 +89,8 @@ export class ConversationComponent implements OnInit, OnDestroy // Chat this._chatService.chat$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((chat: Chat) => { + .subscribe((chat: Chat) => + { this.chat = chat; // Mark for check @@ -85,7 +100,8 @@ export class ConversationComponent implements OnInit, OnDestroy // Subscribe to media changes this._fuseMediaWatcherService.onMediaChange$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe(({matchingAliases}) => { + .subscribe(({matchingAliases}) => + { // Set the drawerMode if the given breakpoint is active if ( matchingAliases.includes('lg') ) diff --git a/src/app/modules/admin/apps/chat/empty-conversation/empty-conversation.component.ts b/src/app/modules/admin/apps/chat/empty-conversation/empty-conversation.component.ts index e1ccfc2b..e588f825 100644 --- a/src/app/modules/admin/apps/chat/empty-conversation/empty-conversation.component.ts +++ b/src/app/modules/admin/apps/chat/empty-conversation/empty-conversation.component.ts @@ -1,10 +1,13 @@ import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core'; +import { MatIconModule } from '@angular/material/icon'; @Component({ selector : 'chat-empty-conversation', templateUrl : './empty-conversation.component.html', encapsulation : ViewEncapsulation.None, - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone : true, + imports : [MatIconModule], }) export class EmptyConversationComponent { diff --git a/src/app/modules/admin/apps/chat/new-chat/new-chat.component.ts b/src/app/modules/admin/apps/chat/new-chat/new-chat.component.ts index 3a204385..0f0264c3 100644 --- a/src/app/modules/admin/apps/chat/new-chat/new-chat.component.ts +++ b/src/app/modules/admin/apps/chat/new-chat/new-chat.component.ts @@ -1,14 +1,19 @@ +import { NgFor, NgIf } from '@angular/common'; import { ChangeDetectionStrategy, Component, Input, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core'; +import { MatButtonModule } from '@angular/material/button'; +import { MatIconModule } from '@angular/material/icon'; import { MatDrawer } from '@angular/material/sidenav'; -import { Subject, takeUntil } from 'rxjs'; -import { Contact } from 'app/modules/admin/apps/chat/chat.types'; import { ChatService } from 'app/modules/admin/apps/chat/chat.service'; +import { Contact } from 'app/modules/admin/apps/chat/chat.types'; +import { Subject, takeUntil } from 'rxjs'; @Component({ selector : 'chat-new-chat', templateUrl : './new-chat.component.html', encapsulation : ViewEncapsulation.None, - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone : true, + imports : [MatButtonModule, MatIconModule, NgIf, NgFor], }) export class NewChatComponent implements OnInit, OnDestroy { @@ -35,7 +40,8 @@ export class NewChatComponent implements OnInit, OnDestroy // Contacts this._chatService.contacts$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((contacts: Contact[]) => { + .subscribe((contacts: Contact[]) => + { this.contacts = contacts; }); } diff --git a/src/app/modules/admin/apps/chat/profile/profile.component.ts b/src/app/modules/admin/apps/chat/profile/profile.component.ts index 4f90184a..82e27b3c 100644 --- a/src/app/modules/admin/apps/chat/profile/profile.component.ts +++ b/src/app/modules/admin/apps/chat/profile/profile.component.ts @@ -1,14 +1,22 @@ +import { NgIf } from '@angular/common'; import { ChangeDetectionStrategy, Component, Input, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core'; +import { FormsModule } from '@angular/forms'; +import { MatButtonModule } from '@angular/material/button'; +import { MatFormFieldModule } from '@angular/material/form-field'; +import { MatIconModule } from '@angular/material/icon'; +import { MatInputModule } from '@angular/material/input'; import { MatDrawer } from '@angular/material/sidenav'; -import { Subject, takeUntil } from 'rxjs'; -import { Profile } from 'app/modules/admin/apps/chat/chat.types'; import { ChatService } from 'app/modules/admin/apps/chat/chat.service'; +import { Profile } from 'app/modules/admin/apps/chat/chat.types'; +import { Subject, takeUntil } from 'rxjs'; @Component({ selector : 'chat-profile', templateUrl : './profile.component.html', encapsulation : ViewEncapsulation.None, - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone : true, + imports : [MatButtonModule, MatIconModule, NgIf, MatFormFieldModule, MatInputModule, FormsModule], }) export class ProfileComponent implements OnInit, OnDestroy { @@ -35,7 +43,8 @@ export class ProfileComponent implements OnInit, OnDestroy // Profile this._chatService.profile$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((profile: Profile) => { + .subscribe((profile: Profile) => + { this.profile = profile; }); } diff --git a/src/app/modules/admin/apps/contacts/contacts.component.ts b/src/app/modules/admin/apps/contacts/contacts.component.ts index 52bd4292..554d0d37 100644 --- a/src/app/modules/admin/apps/contacts/contacts.component.ts +++ b/src/app/modules/admin/apps/contacts/contacts.component.ts @@ -1,10 +1,13 @@ import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core'; +import { RouterOutlet } from '@angular/router'; @Component({ selector : 'contacts', templateUrl : './contacts.component.html', encapsulation : ViewEncapsulation.None, - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone : true, + imports : [RouterOutlet], }) export class ContactsComponent { diff --git a/src/app/modules/admin/apps/contacts/contacts.guards.ts b/src/app/modules/admin/apps/contacts/contacts.guards.ts index b5af26ac..076c6d5a 100644 --- a/src/app/modules/admin/apps/contacts/contacts.guards.ts +++ b/src/app/modules/admin/apps/contacts/contacts.guards.ts @@ -1,10 +1,10 @@ import { Injectable } from '@angular/core'; import { ActivatedRouteSnapshot, CanDeactivate, RouterStateSnapshot, UrlTree } from '@angular/router'; -import { Observable } from 'rxjs'; import { ContactsDetailsComponent } from 'app/modules/admin/apps/contacts/details/details.component'; +import { Observable } from 'rxjs'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class CanDeactivateContactsDetails implements CanDeactivate { @@ -12,7 +12,7 @@ export class CanDeactivateContactsDetails implements CanDeactivate | Promise | boolean | UrlTree { // Get the next route diff --git a/src/app/modules/admin/apps/contacts/contacts.module.ts b/src/app/modules/admin/apps/contacts/contacts.module.ts index eb319d49..535a32b1 100644 --- a/src/app/modules/admin/apps/contacts/contacts.module.ts +++ b/src/app/modules/admin/apps/contacts/contacts.module.ts @@ -1,5 +1,5 @@ import { NgModule } from '@angular/core'; -import { RouterModule } from '@angular/router'; +import { MatLuxonDateModule } from '@angular/material-luxon-adapter'; import { MatButtonModule } from '@angular/material/button'; import { MatCheckboxModule } from '@angular/material/checkbox'; import { MAT_DATE_FORMATS, MatRippleModule } from '@angular/material/core'; @@ -8,7 +8,6 @@ import { MatDividerModule } from '@angular/material/divider'; import { MatFormFieldModule } from '@angular/material/form-field'; import { MatIconModule } from '@angular/material/icon'; import { MatInputModule } from '@angular/material/input'; -import { MatLuxonDateModule } from '@angular/material-luxon-adapter'; import { MatMenuModule } from '@angular/material/menu'; import { MatProgressBarModule } from '@angular/material/progress-bar'; import { MatRadioModule } from '@angular/material/radio'; @@ -16,20 +15,15 @@ import { MatSelectModule } from '@angular/material/select'; import { MatSidenavModule } from '@angular/material/sidenav'; import { MatTableModule } from '@angular/material/table'; import { MatTooltipModule } from '@angular/material/tooltip'; -import { FuseFindByKeyPipeModule } from '@fuse/pipes/find-by-key'; -import { SharedModule } from 'app/shared/shared.module'; -import { contactsRoutes } from 'app/modules/admin/apps/contacts/contacts.routing'; +import { RouterModule } from '@angular/router'; import { ContactsComponent } from 'app/modules/admin/apps/contacts/contacts.component'; + +import { contactsRoutes } from 'app/modules/admin/apps/contacts/contacts.routing'; import { ContactsDetailsComponent } from 'app/modules/admin/apps/contacts/details/details.component'; import { ContactsListComponent } from 'app/modules/admin/apps/contacts/list/list.component'; @NgModule({ - declarations: [ - ContactsComponent, - ContactsListComponent, - ContactsDetailsComponent - ], - imports : [ + imports : [ RouterModule.forChild(contactsRoutes), MatButtonModule, MatCheckboxModule, @@ -47,25 +41,26 @@ import { ContactsListComponent } from 'app/modules/admin/apps/contacts/list/list MatSidenavModule, MatTableModule, MatTooltipModule, - FuseFindByKeyPipeModule, - SharedModule + ContactsComponent, + ContactsListComponent, + ContactsDetailsComponent, ], - providers : [ + providers: [ { provide : MAT_DATE_FORMATS, useValue: { parse : { - dateInput: 'D' + dateInput: 'D', }, display: { dateInput : 'DDD', monthYearLabel : 'LLL yyyy', dateA11yLabel : 'DD', - monthYearA11yLabel: 'LLLL yyyy' - } - } - } - ] + monthYearA11yLabel: 'LLLL yyyy', + }, + }, + }, + ], }) export class ContactsModule { diff --git a/src/app/modules/admin/apps/contacts/contacts.resolvers.ts b/src/app/modules/admin/apps/contacts/contacts.resolvers.ts index 99f32aae..4a8abe36 100644 --- a/src/app/modules/admin/apps/contacts/contacts.resolvers.ts +++ b/src/app/modules/admin/apps/contacts/contacts.resolvers.ts @@ -1,11 +1,11 @@ import { Injectable } from '@angular/core'; import { ActivatedRouteSnapshot, Resolve, Router, RouterStateSnapshot } from '@angular/router'; -import { catchError, Observable, throwError } from 'rxjs'; import { ContactsService } from 'app/modules/admin/apps/contacts/contacts.service'; import { Contact, Country, Tag } from 'app/modules/admin/apps/contacts/contacts.types'; +import { catchError, Observable, throwError } from 'rxjs'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class ContactsResolver implements Resolve { @@ -33,7 +33,7 @@ export class ContactsResolver implements Resolve } @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class ContactsContactResolver implements Resolve { @@ -42,7 +42,7 @@ export class ContactsContactResolver implements Resolve */ constructor( private _contactsService: ContactsService, - private _router: Router + private _router: Router, ) { } @@ -60,28 +60,29 @@ export class ContactsContactResolver implements Resolve resolve(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable { return this._contactsService.getContactById(route.paramMap.get('id')) - .pipe( - // Error here means the requested contact is not available - catchError((error) => { + .pipe( + // Error here means the requested contact is not available + catchError((error) => + { - // Log the error - console.error(error); + // Log the error + console.error(error); - // Get the parent url - const parentUrl = state.url.split('/').slice(0, -1).join('/'); + // Get the parent url + const parentUrl = state.url.split('/').slice(0, -1).join('/'); - // Navigate to there - this._router.navigateByUrl(parentUrl); + // Navigate to there + this._router.navigateByUrl(parentUrl); - // Throw an error - return throwError(error); - }) - ); + // Throw an error + return throwError(error); + }), + ); } } @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class ContactsCountriesResolver implements Resolve { @@ -109,7 +110,7 @@ export class ContactsCountriesResolver implements Resolve } @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class ContactsTagsResolver implements Resolve { diff --git a/src/app/modules/admin/apps/contacts/contacts.routing.ts b/src/app/modules/admin/apps/contacts/contacts.routing.ts index 0ba630b6..89199f6c 100644 --- a/src/app/modules/admin/apps/contacts/contacts.routing.ts +++ b/src/app/modules/admin/apps/contacts/contacts.routing.ts @@ -1,16 +1,16 @@ import { Route } from '@angular/router'; +import { ContactsComponent } from 'app/modules/admin/apps/contacts/contacts.component'; import { CanDeactivateContactsDetails } from 'app/modules/admin/apps/contacts/contacts.guards'; import { ContactsContactResolver, ContactsCountriesResolver, ContactsResolver, ContactsTagsResolver } from 'app/modules/admin/apps/contacts/contacts.resolvers'; -import { ContactsComponent } from 'app/modules/admin/apps/contacts/contacts.component'; -import { ContactsListComponent } from 'app/modules/admin/apps/contacts/list/list.component'; import { ContactsDetailsComponent } from 'app/modules/admin/apps/contacts/details/details.component'; +import { ContactsListComponent } from 'app/modules/admin/apps/contacts/list/list.component'; export const contactsRoutes: Route[] = [ { path : '', component: ContactsComponent, resolve : { - tags: ContactsTagsResolver + tags: ContactsTagsResolver, }, children : [ { @@ -18,7 +18,7 @@ export const contactsRoutes: Route[] = [ component: ContactsListComponent, resolve : { contacts : ContactsResolver, - countries: ContactsCountriesResolver + countries: ContactsCountriesResolver, }, children : [ { @@ -26,12 +26,12 @@ export const contactsRoutes: Route[] = [ component : ContactsDetailsComponent, resolve : { contact : ContactsContactResolver, - countries: ContactsCountriesResolver + countries: ContactsCountriesResolver, }, - canDeactivate: [CanDeactivateContactsDetails] - } - ] - } - ] - } + canDeactivate: [CanDeactivateContactsDetails], + }, + ], + }, + ], + }, ]; diff --git a/src/app/modules/admin/apps/contacts/contacts.service.ts b/src/app/modules/admin/apps/contacts/contacts.service.ts index 78fba43e..fcaa025e 100644 --- a/src/app/modules/admin/apps/contacts/contacts.service.ts +++ b/src/app/modules/admin/apps/contacts/contacts.service.ts @@ -1,10 +1,10 @@ -import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; -import { BehaviorSubject, filter, map, Observable, of, switchMap, take, tap, throwError } from 'rxjs'; +import { Injectable } from '@angular/core'; import { Contact, Country, Tag } from 'app/modules/admin/apps/contacts/contacts.types'; +import { BehaviorSubject, filter, map, Observable, of, switchMap, take, tap, throwError } from 'rxjs'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class ContactsService { @@ -67,9 +67,10 @@ export class ContactsService getContacts(): Observable { return this._httpClient.get('api/apps/contacts/all').pipe( - tap((contacts) => { + tap((contacts) => + { this._contacts.next(contacts); - }) + }), ); } @@ -81,11 +82,12 @@ export class ContactsService searchContacts(query: string): Observable { return this._httpClient.get('api/apps/contacts/search', { - params: {query} + params: {query}, }).pipe( - tap((contacts) => { + tap((contacts) => + { this._contacts.next(contacts); - }) + }), ); } @@ -96,7 +98,8 @@ export class ContactsService { return this._contacts.pipe( take(1), - map((contacts) => { + map((contacts) => + { // Find the contact const contact = contacts.find(item => item.id === id) || null; @@ -107,7 +110,8 @@ export class ContactsService // Return the contact return contact; }), - switchMap((contact) => { + switchMap((contact) => + { if ( !contact ) { @@ -115,7 +119,7 @@ export class ContactsService } return of(contact); - }) + }), ); } @@ -127,15 +131,16 @@ export class ContactsService return this.contacts$.pipe( take(1), switchMap(contacts => this._httpClient.post('api/apps/contacts/contact', {}).pipe( - map((newContact) => { + map((newContact) => + { // Update the contacts with the new contact this._contacts.next([newContact, ...contacts]); // Return the new contact return newContact; - }) - )) + }), + )), ); } @@ -151,9 +156,10 @@ export class ContactsService take(1), switchMap(contacts => this._httpClient.patch('api/apps/contacts/contact', { id, - contact + contact, }).pipe( - map((updatedContact) => { + map((updatedContact) => + { // Find the index of the updated contact const index = contacts.findIndex(item => item.id === id); @@ -170,16 +176,17 @@ export class ContactsService switchMap(updatedContact => this.contact$.pipe( take(1), filter(item => item && item.id === id), - tap(() => { + tap(() => + { // Update the contact if it's selected this._contact.next(updatedContact); // Return the updated contact return updatedContact; - }) - )) - )) + }), + )), + )), ); } @@ -193,7 +200,8 @@ export class ContactsService return this.contacts$.pipe( take(1), switchMap(contacts => this._httpClient.delete('api/apps/contacts/contact', {params: {id}}).pipe( - map((isDeleted: boolean) => { + map((isDeleted: boolean) => + { // Find the index of the deleted contact const index = contacts.findIndex(item => item.id === id); @@ -206,8 +214,8 @@ export class ContactsService // Return the deleted status return isDeleted; - }) - )) + }), + )), ); } @@ -217,9 +225,10 @@ export class ContactsService getCountries(): Observable { return this._httpClient.get('api/apps/contacts/countries').pipe( - tap((countries) => { + tap((countries) => + { this._countries.next(countries); - }) + }), ); } @@ -229,9 +238,10 @@ export class ContactsService getTags(): Observable { return this._httpClient.get('api/apps/contacts/tags').pipe( - tap((tags) => { + tap((tags) => + { this._tags.next(tags); - }) + }), ); } @@ -245,15 +255,16 @@ export class ContactsService return this.tags$.pipe( take(1), switchMap(tags => this._httpClient.post('api/apps/contacts/tag', {tag}).pipe( - map((newTag) => { + map((newTag) => + { // Update the tags with the new tag this._tags.next([...tags, newTag]); // Return new tag from observable return newTag; - }) - )) + }), + )), ); } @@ -269,9 +280,10 @@ export class ContactsService take(1), switchMap(tags => this._httpClient.patch('api/apps/contacts/tag', { id, - tag + tag, }).pipe( - map((updatedTag) => { + map((updatedTag) => + { // Find the index of the updated tag const index = tags.findIndex(item => item.id === id); @@ -284,8 +296,8 @@ export class ContactsService // Return the updated tag return updatedTag; - }) - )) + }), + )), ); } @@ -299,7 +311,8 @@ export class ContactsService return this.tags$.pipe( take(1), switchMap(tags => this._httpClient.delete('api/apps/contacts/tag', {params: {id}}).pipe( - map((isDeleted: boolean) => { + map((isDeleted: boolean) => + { // Find the index of the deleted tag const index = tags.findIndex(item => item.id === id); @@ -316,10 +329,12 @@ export class ContactsService filter(isDeleted => isDeleted), switchMap(isDeleted => this.contacts$.pipe( take(1), - map((contacts) => { + map((contacts) => + { // Iterate through the contacts - contacts.forEach((contact) => { + contacts.forEach((contact) => + { const tagIndex = contact.tags.findIndex(tag => tag === id); @@ -332,9 +347,9 @@ export class ContactsService // Return the deleted status return isDeleted; - }) - )) - )) + }), + )), + )), ); } @@ -350,14 +365,15 @@ export class ContactsService take(1), switchMap(contacts => this._httpClient.post('api/apps/contacts/avatar', { id, - avatar + avatar, }, { headers: { // eslint-disable-next-line @typescript-eslint/naming-convention - 'Content-Type': avatar.type - } + 'Content-Type': avatar.type, + }, }).pipe( - map((updatedContact) => { + map((updatedContact) => + { // Find the index of the updated contact const index = contacts.findIndex(item => item.id === id); @@ -374,16 +390,17 @@ export class ContactsService switchMap(updatedContact => this.contact$.pipe( take(1), filter(item => item && item.id === id), - tap(() => { + tap(() => + { // Update the contact if it's selected this._contact.next(updatedContact); // Return the updated contact return updatedContact; - }) - )) - )) + }), + )), + )), ); } } diff --git a/src/app/modules/admin/apps/contacts/details/details.component.ts b/src/app/modules/admin/apps/contacts/details/details.component.ts index 8c8175f3..96978f92 100644 --- a/src/app/modules/admin/apps/contacts/details/details.component.ts +++ b/src/app/modules/admin/apps/contacts/details/details.component.ts @@ -1,20 +1,34 @@ -import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, OnDestroy, OnInit, Renderer2, TemplateRef, ViewChild, ViewContainerRef, ViewEncapsulation } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; -import { UntypedFormArray, UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; -import { TemplatePortal } from '@angular/cdk/portal'; import { Overlay, OverlayRef } from '@angular/cdk/overlay'; +import { TemplatePortal } from '@angular/cdk/portal'; +import { TextFieldModule } from '@angular/cdk/text-field'; +import { DatePipe, NgClass, NgFor, NgIf } from '@angular/common'; +import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, OnDestroy, OnInit, Renderer2, TemplateRef, ViewChild, ViewContainerRef, ViewEncapsulation } from '@angular/core'; +import { FormsModule, ReactiveFormsModule, UntypedFormArray, UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; +import { MatButtonModule } from '@angular/material/button'; +import { MatCheckboxModule } from '@angular/material/checkbox'; +import { MatOptionModule, MatRippleModule } from '@angular/material/core'; +import { MatDatepickerModule } from '@angular/material/datepicker'; +import { MatFormFieldModule } from '@angular/material/form-field'; +import { MatIconModule } from '@angular/material/icon'; +import { MatInputModule } from '@angular/material/input'; +import { MatSelectModule } from '@angular/material/select'; import { MatDrawerToggleResult } from '@angular/material/sidenav'; -import { debounceTime, Subject, takeUntil } from 'rxjs'; +import { MatTooltipModule } from '@angular/material/tooltip'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; +import { FuseFindByKeyPipe } from '@fuse/pipes/find-by-key/find-by-key.pipe'; import { FuseConfirmationService } from '@fuse/services/confirmation'; +import { ContactsService } from 'app/modules/admin/apps/contacts/contacts.service'; import { Contact, Country, Tag } from 'app/modules/admin/apps/contacts/contacts.types'; import { ContactsListComponent } from 'app/modules/admin/apps/contacts/list/list.component'; -import { ContactsService } from 'app/modules/admin/apps/contacts/contacts.service'; +import { debounceTime, Subject, takeUntil } from 'rxjs'; @Component({ selector : 'contacts-details', templateUrl : './details.component.html', encapsulation : ViewEncapsulation.None, - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone : true, + imports : [NgIf, MatButtonModule, MatTooltipModule, RouterLink, MatIconModule, NgFor, FormsModule, ReactiveFormsModule, MatRippleModule, MatFormFieldModule, MatInputModule, MatCheckboxModule, NgClass, MatSelectModule, MatOptionModule, MatDatepickerModule, TextFieldModule, FuseFindByKeyPipe, DatePipe], }) export class ContactsDetailsComponent implements OnInit, OnDestroy { @@ -46,7 +60,7 @@ export class ContactsDetailsComponent implements OnInit, OnDestroy private _renderer2: Renderer2, private _router: Router, private _overlay: Overlay, - private _viewContainerRef: ViewContainerRef + private _viewContainerRef: ViewContainerRef, ) { } @@ -75,13 +89,14 @@ export class ContactsDetailsComponent implements OnInit, OnDestroy birthday : [null], address : [null], notes : [null], - tags : [[]] + tags : [[]], }); // Get the contacts this._contactsService.contacts$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((contacts: Contact[]) => { + .subscribe((contacts: Contact[]) => + { this.contacts = contacts; // Mark for check @@ -91,7 +106,8 @@ export class ContactsDetailsComponent implements OnInit, OnDestroy // Get the contact this._contactsService.contact$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((contact: Contact) => { + .subscribe((contact: Contact) => + { // Open the drawer in case it is closed this._contactsListComponent.matDrawer.open(); @@ -112,14 +128,15 @@ export class ContactsDetailsComponent implements OnInit, OnDestroy if ( contact.emails.length > 0 ) { // Iterate through them - contact.emails.forEach((email) => { + contact.emails.forEach((email) => + { // Create an email form group emailFormGroups.push( this._formBuilder.group({ email: [email.email], - label: [email.label] - }) + label: [email.label], + }), ); }); } @@ -129,13 +146,14 @@ export class ContactsDetailsComponent implements OnInit, OnDestroy emailFormGroups.push( this._formBuilder.group({ email: [''], - label: [''] - }) + label: [''], + }), ); } // Add the email form groups to the emails form array - emailFormGroups.forEach((emailFormGroup) => { + emailFormGroups.forEach((emailFormGroup) => + { (this.contactForm.get('emails') as UntypedFormArray).push(emailFormGroup); }); @@ -145,15 +163,16 @@ export class ContactsDetailsComponent implements OnInit, OnDestroy if ( contact.phoneNumbers.length > 0 ) { // Iterate through them - contact.phoneNumbers.forEach((phoneNumber) => { + contact.phoneNumbers.forEach((phoneNumber) => + { // Create an email form group phoneNumbersFormGroups.push( this._formBuilder.group({ country : [phoneNumber.country], phoneNumber: [phoneNumber.phoneNumber], - label : [phoneNumber.label] - }) + label : [phoneNumber.label], + }), ); }); } @@ -164,13 +183,14 @@ export class ContactsDetailsComponent implements OnInit, OnDestroy this._formBuilder.group({ country : ['us'], phoneNumber: [''], - label : [''] - }) + label : [''], + }), ); } // Add the phone numbers form groups to the phone numbers form array - phoneNumbersFormGroups.forEach((phoneNumbersFormGroup) => { + phoneNumbersFormGroups.forEach((phoneNumbersFormGroup) => + { (this.contactForm.get('phoneNumbers') as UntypedFormArray).push(phoneNumbersFormGroup); }); @@ -184,7 +204,8 @@ export class ContactsDetailsComponent implements OnInit, OnDestroy // Get the country telephone codes this._contactsService.countries$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((codes: Country[]) => { + .subscribe((codes: Country[]) => + { this.countries = codes; // Mark for check @@ -194,7 +215,8 @@ export class ContactsDetailsComponent implements OnInit, OnDestroy // Get the tags this._contactsService.tags$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((tags: Tag[]) => { + .subscribe((tags: Tag[]) => + { this.tags = tags; this.filteredTags = tags; @@ -265,7 +287,8 @@ export class ContactsDetailsComponent implements OnInit, OnDestroy contact.phoneNumbers = contact.phoneNumbers.filter(phoneNumber => phoneNumber.phoneNumber); // Update the contact on the server - this._contactsService.updateContact(contact.id, contact).subscribe(() => { + this._contactsService.updateContact(contact.id, contact).subscribe(() => + { // Toggle the edit mode off this.toggleEditMode(false); @@ -283,13 +306,14 @@ export class ContactsDetailsComponent implements OnInit, OnDestroy message: 'Are you sure you want to delete this contact? This action cannot be undone!', actions: { confirm: { - label: 'Delete' - } - } + label: 'Delete', + }, + }, }); // Subscribe to the confirmation dialog closed action - confirmation.afterClosed().subscribe((result) => { + confirmation.afterClosed().subscribe((result) => + { // If the confirm button pressed... if ( result === 'confirmed' ) @@ -304,7 +328,8 @@ export class ContactsDetailsComponent implements OnInit, OnDestroy // Delete the contact this._contactsService.deleteContact(id) - .subscribe((isDeleted) => { + .subscribe((isDeleted) => + { // Return if the contact wasn't deleted... if ( !isDeleted ) @@ -389,22 +414,23 @@ export class ContactsDetailsComponent implements OnInit, OnDestroy hasBackdrop : true, scrollStrategy : this._overlay.scrollStrategies.block(), positionStrategy: this._overlay.position() - .flexibleConnectedTo(this._tagsPanelOrigin.nativeElement) - .withFlexibleDimensions(true) - .withViewportMargin(64) - .withLockedPosition(true) - .withPositions([ - { - originX : 'start', - originY : 'bottom', - overlayX: 'start', - overlayY: 'top' - } - ]) + .flexibleConnectedTo(this._tagsPanelOrigin.nativeElement) + .withFlexibleDimensions(true) + .withViewportMargin(64) + .withLockedPosition(true) + .withPositions([ + { + originX : 'start', + originY : 'bottom', + overlayX: 'start', + overlayY: 'top', + }, + ]), }); // Subscribe to the attachments observable - this._tagsPanelOverlayRef.attachments().subscribe(() => { + this._tagsPanelOverlayRef.attachments().subscribe(() => + { // Add a class to the origin this._renderer2.addClass(this._tagsPanelOrigin.nativeElement, 'panel-opened'); @@ -420,7 +446,8 @@ export class ContactsDetailsComponent implements OnInit, OnDestroy this._tagsPanelOverlayRef.attach(templatePortal); // Subscribe to the backdrop click - this._tagsPanelOverlayRef.backdropClick().subscribe(() => { + this._tagsPanelOverlayRef.backdropClick().subscribe(() => + { // Remove the class from the origin this._renderer2.removeClass(this._tagsPanelOrigin.nativeElement, 'panel-opened'); @@ -520,12 +547,13 @@ export class ContactsDetailsComponent implements OnInit, OnDestroy createTag(title: string): void { const tag = { - title + title, }; // Create tag on the server this._contactsService.createTag(tag) - .subscribe((response) => { + .subscribe((response) => + { // Add the tag to the contact this.addTagToContact(response); @@ -635,7 +663,7 @@ export class ContactsDetailsComponent implements OnInit, OnDestroy // Create an empty email form group const emailFormGroup = this._formBuilder.group({ email: [''], - label: [''] + label: [''], }); // Add the email form group to the emails form array @@ -671,7 +699,7 @@ export class ContactsDetailsComponent implements OnInit, OnDestroy const phoneNumberFormGroup = this._formBuilder.group({ country : ['us'], phoneNumber: [''], - label : [''] + label : [''], }); // Add the phone number form group to the phoneNumbers form array diff --git a/src/app/modules/admin/apps/contacts/list/list.component.ts b/src/app/modules/admin/apps/contacts/list/list.component.ts index 00fd4dc5..5610c2a2 100644 --- a/src/app/modules/admin/apps/contacts/list/list.component.ts +++ b/src/app/modules/admin/apps/contacts/list/list.component.ts @@ -1,18 +1,24 @@ +import { AsyncPipe, DOCUMENT, I18nPluralPipe, NgClass, NgFor, NgIf } from '@angular/common'; import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Inject, OnDestroy, OnInit, ViewChild, ViewEncapsulation } from '@angular/core'; -import { DOCUMENT } from '@angular/common'; -import { ActivatedRoute, Router } from '@angular/router'; -import { UntypedFormControl } from '@angular/forms'; -import { MatDrawer } from '@angular/material/sidenav'; -import { filter, fromEvent, Observable, Subject, switchMap, takeUntil } from 'rxjs'; +import { FormsModule, ReactiveFormsModule, UntypedFormControl } from '@angular/forms'; +import { MatButtonModule } from '@angular/material/button'; +import { MatFormFieldModule } from '@angular/material/form-field'; +import { MatIconModule } from '@angular/material/icon'; +import { MatInputModule } from '@angular/material/input'; +import { MatDrawer, MatSidenavModule } from '@angular/material/sidenav'; +import { ActivatedRoute, Router, RouterLink, RouterOutlet } from '@angular/router'; import { FuseMediaWatcherService } from '@fuse/services/media-watcher'; -import { Contact, Country } from 'app/modules/admin/apps/contacts/contacts.types'; import { ContactsService } from 'app/modules/admin/apps/contacts/contacts.service'; +import { Contact, Country } from 'app/modules/admin/apps/contacts/contacts.types'; +import { filter, fromEvent, Observable, Subject, switchMap, takeUntil } from 'rxjs'; @Component({ selector : 'contacts-list', templateUrl : './list.component.html', encapsulation : ViewEncapsulation.None, - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone : true, + imports : [MatSidenavModule, RouterOutlet, NgIf, MatFormFieldModule, MatIconModule, MatInputModule, FormsModule, ReactiveFormsModule, MatButtonModule, NgFor, NgClass, RouterLink, AsyncPipe, I18nPluralPipe], }) export class ContactsListComponent implements OnInit, OnDestroy { @@ -37,7 +43,7 @@ export class ContactsListComponent implements OnInit, OnDestroy private _contactsService: ContactsService, @Inject(DOCUMENT) private _document: any, private _router: Router, - private _fuseMediaWatcherService: FuseMediaWatcherService + private _fuseMediaWatcherService: FuseMediaWatcherService, ) { } @@ -55,7 +61,8 @@ export class ContactsListComponent implements OnInit, OnDestroy this.contacts$ = this._contactsService.contacts$; this._contactsService.contacts$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((contacts: Contact[]) => { + .subscribe((contacts: Contact[]) => + { // Update the counts this.contactsCount = contacts.length; @@ -67,7 +74,8 @@ export class ContactsListComponent implements OnInit, OnDestroy // Get the contact this._contactsService.contact$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((contact: Contact) => { + .subscribe((contact: Contact) => + { // Update the selected contact this.selectedContact = contact; @@ -79,7 +87,8 @@ export class ContactsListComponent implements OnInit, OnDestroy // Get the countries this._contactsService.countries$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((countries: Country[]) => { + .subscribe((countries: Country[]) => + { // Update the countries this.countries = countries; @@ -95,13 +104,14 @@ export class ContactsListComponent implements OnInit, OnDestroy switchMap(query => // Search - this._contactsService.searchContacts(query) - ) + this._contactsService.searchContacts(query), + ), ) .subscribe(); // Subscribe to MatDrawer opened change - this.matDrawer.openedChange.subscribe((opened) => { + this.matDrawer.openedChange.subscribe((opened) => + { if ( !opened ) { // Remove the selected contact when drawer closed @@ -115,7 +125,8 @@ export class ContactsListComponent implements OnInit, OnDestroy // Subscribe to media changes this._fuseMediaWatcherService.onMediaChange$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe(({matchingAliases}) => { + .subscribe(({matchingAliases}) => + { // Set the drawerMode if the given breakpoint is active if ( matchingAliases.includes('lg') ) @@ -137,10 +148,11 @@ export class ContactsListComponent implements OnInit, OnDestroy takeUntil(this._unsubscribeAll), filter(event => (event.ctrlKey === true || event.metaKey) // Ctrl or Cmd - && (event.key === '/') // '/' - ) + && (event.key === '/'), // '/' + ), ) - .subscribe(() => { + .subscribe(() => + { this.createContact(); }); } @@ -177,7 +189,8 @@ export class ContactsListComponent implements OnInit, OnDestroy createContact(): void { // Create the contact - this._contactsService.createContact().subscribe((newContact) => { + this._contactsService.createContact().subscribe((newContact) => + { // Go to the new contact this._router.navigate(['./', newContact.id], {relativeTo: this._activatedRoute}); diff --git a/src/app/modules/admin/apps/ecommerce/ecommerce.module.ts b/src/app/modules/admin/apps/ecommerce/ecommerce.module.ts index 676a83f4..daa23aee 100644 --- a/src/app/modules/admin/apps/ecommerce/ecommerce.module.ts +++ b/src/app/modules/admin/apps/ecommerce/ecommerce.module.ts @@ -1,29 +1,25 @@ import { NgModule } from '@angular/core'; -import { RouterModule } from '@angular/router'; import { MatButtonModule } from '@angular/material/button'; import { MatCheckboxModule } from '@angular/material/checkbox'; +import { MatRippleModule } from '@angular/material/core'; import { MatFormFieldModule } from '@angular/material/form-field'; import { MatIconModule } from '@angular/material/icon'; import { MatInputModule } from '@angular/material/input'; import { MatMenuModule } from '@angular/material/menu'; import { MatPaginatorModule } from '@angular/material/paginator'; import { MatProgressBarModule } from '@angular/material/progress-bar'; -import { MatRippleModule } from '@angular/material/core'; -import { MatSortModule } from '@angular/material/sort'; import { MatSelectModule } from '@angular/material/select'; import { MatSlideToggleModule } from '@angular/material/slide-toggle'; +import { MatSortModule } from '@angular/material/sort'; import { MatTooltipModule } from '@angular/material/tooltip'; -import { SharedModule } from 'app/shared/shared.module'; -import { InventoryComponent } from 'app/modules/admin/apps/ecommerce/inventory/inventory.component'; -import { InventoryListComponent } from 'app/modules/admin/apps/ecommerce/inventory/list/inventory.component'; +import { RouterModule } from '@angular/router'; import { ecommerceRoutes } from 'app/modules/admin/apps/ecommerce/ecommerce.routing'; +import { InventoryComponent } from 'app/modules/admin/apps/ecommerce/inventory/inventory.component'; +import { InventoryListComponent } from 'app/modules/admin/apps/ecommerce/inventory/list/inventory.component'; + @NgModule({ - declarations: [ - InventoryComponent, - InventoryListComponent - ], - imports : [ + imports: [ RouterModule.forChild(ecommerceRoutes), MatButtonModule, MatCheckboxModule, @@ -38,8 +34,9 @@ import { ecommerceRoutes } from 'app/modules/admin/apps/ecommerce/ecommerce.rout MatSelectModule, MatSlideToggleModule, MatTooltipModule, - SharedModule - ] + InventoryComponent, + InventoryListComponent, + ], }) export class ECommerceModule { diff --git a/src/app/modules/admin/apps/ecommerce/ecommerce.routing.ts b/src/app/modules/admin/apps/ecommerce/ecommerce.routing.ts index a749332d..d579263e 100644 --- a/src/app/modules/admin/apps/ecommerce/ecommerce.routing.ts +++ b/src/app/modules/admin/apps/ecommerce/ecommerce.routing.ts @@ -1,13 +1,13 @@ import { Route } from '@angular/router'; import { InventoryComponent } from 'app/modules/admin/apps/ecommerce/inventory/inventory.component'; -import { InventoryListComponent } from 'app/modules/admin/apps/ecommerce/inventory/list/inventory.component'; import { InventoryBrandsResolver, InventoryCategoriesResolver, InventoryProductsResolver, InventoryTagsResolver, InventoryVendorsResolver } from 'app/modules/admin/apps/ecommerce/inventory/inventory.resolvers'; +import { InventoryListComponent } from 'app/modules/admin/apps/ecommerce/inventory/list/inventory.component'; export const ecommerceRoutes: Route[] = [ { path : '', pathMatch : 'full', - redirectTo: 'inventory' + redirectTo: 'inventory', }, { path : 'inventory', @@ -21,10 +21,10 @@ export const ecommerceRoutes: Route[] = [ categories: InventoryCategoriesResolver, products : InventoryProductsResolver, tags : InventoryTagsResolver, - vendors : InventoryVendorsResolver - } - } - ] + vendors : InventoryVendorsResolver, + }, + }, + ], /*children : [ { path : '', @@ -46,5 +46,5 @@ export const ecommerceRoutes: Route[] = [ ] } ]*/ - } + }, ]; diff --git a/src/app/modules/admin/apps/ecommerce/inventory/inventory.component.ts b/src/app/modules/admin/apps/ecommerce/inventory/inventory.component.ts index 209f1e4c..20c6b05a 100644 --- a/src/app/modules/admin/apps/ecommerce/inventory/inventory.component.ts +++ b/src/app/modules/admin/apps/ecommerce/inventory/inventory.component.ts @@ -1,10 +1,13 @@ import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core'; +import { RouterOutlet } from '@angular/router'; @Component({ selector : 'inventory', templateUrl : './inventory.component.html', encapsulation : ViewEncapsulation.None, - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone : true, + imports : [RouterOutlet], }) export class InventoryComponent { diff --git a/src/app/modules/admin/apps/ecommerce/inventory/inventory.resolvers.ts b/src/app/modules/admin/apps/ecommerce/inventory/inventory.resolvers.ts index 1c41f01f..e3aa1a73 100644 --- a/src/app/modules/admin/apps/ecommerce/inventory/inventory.resolvers.ts +++ b/src/app/modules/admin/apps/ecommerce/inventory/inventory.resolvers.ts @@ -1,11 +1,11 @@ import { Injectable } from '@angular/core'; import { ActivatedRouteSnapshot, Resolve, Router, RouterStateSnapshot } from '@angular/router'; -import { catchError, Observable, throwError } from 'rxjs'; import { InventoryService } from 'app/modules/admin/apps/ecommerce/inventory/inventory.service'; import { InventoryBrand, InventoryCategory, InventoryPagination, InventoryProduct, InventoryTag, InventoryVendor } from 'app/modules/admin/apps/ecommerce/inventory/inventory.types'; +import { catchError, Observable, throwError } from 'rxjs'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class InventoryBrandsResolver implements Resolve { @@ -33,7 +33,7 @@ export class InventoryBrandsResolver implements Resolve } @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class InventoryCategoriesResolver implements Resolve { @@ -61,7 +61,7 @@ export class InventoryCategoriesResolver implements Resolve } @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class InventoryProductResolver implements Resolve { @@ -70,7 +70,7 @@ export class InventoryProductResolver implements Resolve */ constructor( private _inventoryService: InventoryService, - private _router: Router + private _router: Router, ) { } @@ -88,28 +88,29 @@ export class InventoryProductResolver implements Resolve resolve(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable { return this._inventoryService.getProductById(route.paramMap.get('id')) - .pipe( - // Error here means the requested product is not available - catchError((error) => { + .pipe( + // Error here means the requested product is not available + catchError((error) => + { - // Log the error - console.error(error); + // Log the error + console.error(error); - // Get the parent url - const parentUrl = state.url.split('/').slice(0, -1).join('/'); + // Get the parent url + const parentUrl = state.url.split('/').slice(0, -1).join('/'); - // Navigate to there - this._router.navigateByUrl(parentUrl); + // Navigate to there + this._router.navigateByUrl(parentUrl); - // Throw an error - return throwError(error); - }) - ); + // Throw an error + return throwError(error); + }), + ); } } @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class InventoryProductsResolver implements Resolve { @@ -137,7 +138,7 @@ export class InventoryProductsResolver implements Resolve } @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class InventoryTagsResolver implements Resolve { @@ -165,7 +166,7 @@ export class InventoryTagsResolver implements Resolve } @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class InventoryVendorsResolver implements Resolve { diff --git a/src/app/modules/admin/apps/ecommerce/inventory/inventory.service.ts b/src/app/modules/admin/apps/ecommerce/inventory/inventory.service.ts index 361b04a3..91f6ceca 100644 --- a/src/app/modules/admin/apps/ecommerce/inventory/inventory.service.ts +++ b/src/app/modules/admin/apps/ecommerce/inventory/inventory.service.ts @@ -1,10 +1,10 @@ -import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; -import { BehaviorSubject, filter, map, Observable, of, switchMap, take, tap, throwError } from 'rxjs'; +import { Injectable } from '@angular/core'; import { InventoryBrand, InventoryCategory, InventoryPagination, InventoryProduct, InventoryTag, InventoryVendor } from 'app/modules/admin/apps/ecommerce/inventory/inventory.types'; +import { BehaviorSubject, filter, map, Observable, of, switchMap, take, tap, throwError } from 'rxjs'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class InventoryService { @@ -94,9 +94,10 @@ export class InventoryService getBrands(): Observable { return this._httpClient.get('api/apps/ecommerce/inventory/brands').pipe( - tap((brands) => { + tap((brands) => + { this._brands.next(brands); - }) + }), ); } @@ -106,9 +107,10 @@ export class InventoryService getCategories(): Observable { return this._httpClient.get('api/apps/ecommerce/inventory/categories').pipe( - tap((categories) => { + tap((categories) => + { this._categories.next(categories); - }) + }), ); } @@ -131,13 +133,14 @@ export class InventoryService size: '' + size, sort, order, - search - } + search, + }, }).pipe( - tap((response) => { + tap((response) => + { this._pagination.next(response.pagination); this._products.next(response.products); - }) + }), ); } @@ -148,7 +151,8 @@ export class InventoryService { return this._products.pipe( take(1), - map((products) => { + map((products) => + { // Find the product const product = products.find(item => item.id === id) || null; @@ -159,7 +163,8 @@ export class InventoryService // Return the product return product; }), - switchMap((product) => { + switchMap((product) => + { if ( !product ) { @@ -167,7 +172,7 @@ export class InventoryService } return of(product); - }) + }), ); } @@ -179,15 +184,16 @@ export class InventoryService return this.products$.pipe( take(1), switchMap(products => this._httpClient.post('api/apps/ecommerce/inventory/product', {}).pipe( - map((newProduct) => { + map((newProduct) => + { // Update the products with the new product this._products.next([newProduct, ...products]); // Return the new product return newProduct; - }) - )) + }), + )), ); } @@ -203,9 +209,10 @@ export class InventoryService take(1), switchMap(products => this._httpClient.patch('api/apps/ecommerce/inventory/product', { id, - product + product, }).pipe( - map((updatedProduct) => { + map((updatedProduct) => + { // Find the index of the updated product const index = products.findIndex(item => item.id === id); @@ -222,16 +229,17 @@ export class InventoryService switchMap(updatedProduct => this.product$.pipe( take(1), filter(item => item && item.id === id), - tap(() => { + tap(() => + { // Update the product if it's selected this._product.next(updatedProduct); // Return the updated product return updatedProduct; - }) - )) - )) + }), + )), + )), ); } @@ -245,7 +253,8 @@ export class InventoryService return this.products$.pipe( take(1), switchMap(products => this._httpClient.delete('api/apps/ecommerce/inventory/product', {params: {id}}).pipe( - map((isDeleted: boolean) => { + map((isDeleted: boolean) => + { // Find the index of the deleted product const index = products.findIndex(item => item.id === id); @@ -258,8 +267,8 @@ export class InventoryService // Return the deleted status return isDeleted; - }) - )) + }), + )), ); } @@ -269,9 +278,10 @@ export class InventoryService getTags(): Observable { return this._httpClient.get('api/apps/ecommerce/inventory/tags').pipe( - tap((tags) => { + tap((tags) => + { this._tags.next(tags); - }) + }), ); } @@ -285,15 +295,16 @@ export class InventoryService return this.tags$.pipe( take(1), switchMap(tags => this._httpClient.post('api/apps/ecommerce/inventory/tag', {tag}).pipe( - map((newTag) => { + map((newTag) => + { // Update the tags with the new tag this._tags.next([...tags, newTag]); // Return new tag from observable return newTag; - }) - )) + }), + )), ); } @@ -309,9 +320,10 @@ export class InventoryService take(1), switchMap(tags => this._httpClient.patch('api/apps/ecommerce/inventory/tag', { id, - tag + tag, }).pipe( - map((updatedTag) => { + map((updatedTag) => + { // Find the index of the updated tag const index = tags.findIndex(item => item.id === id); @@ -324,8 +336,8 @@ export class InventoryService // Return the updated tag return updatedTag; - }) - )) + }), + )), ); } @@ -339,7 +351,8 @@ export class InventoryService return this.tags$.pipe( take(1), switchMap(tags => this._httpClient.delete('api/apps/ecommerce/inventory/tag', {params: {id}}).pipe( - map((isDeleted: boolean) => { + map((isDeleted: boolean) => + { // Find the index of the deleted tag const index = tags.findIndex(item => item.id === id); @@ -356,10 +369,12 @@ export class InventoryService filter(isDeleted => isDeleted), switchMap(isDeleted => this.products$.pipe( take(1), - map((products) => { + map((products) => + { // Iterate through the contacts - products.forEach((product) => { + products.forEach((product) => + { const tagIndex = product.tags.findIndex(tag => tag === id); @@ -372,9 +387,9 @@ export class InventoryService // Return the deleted status return isDeleted; - }) - )) - )) + }), + )), + )), ); } @@ -384,9 +399,10 @@ export class InventoryService getVendors(): Observable { return this._httpClient.get('api/apps/ecommerce/inventory/vendors').pipe( - tap((vendors) => { + tap((vendors) => + { this._vendors.next(vendors); - }) + }), ); } diff --git a/src/app/modules/admin/apps/ecommerce/inventory/list/inventory.component.ts b/src/app/modules/admin/apps/ecommerce/inventory/list/inventory.component.ts index 32b56c43..183bf213 100644 --- a/src/app/modules/admin/apps/ecommerce/inventory/list/inventory.component.ts +++ b/src/app/modules/admin/apps/ecommerce/inventory/list/inventory.component.ts @@ -1,13 +1,22 @@ +import { AsyncPipe, CurrencyPipe, NgClass, NgFor, NgIf, NgTemplateOutlet } from '@angular/common'; import { AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, OnDestroy, OnInit, ViewChild, ViewEncapsulation } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms'; -import { MatCheckboxChange } from '@angular/material/checkbox'; -import { MatPaginator } from '@angular/material/paginator'; -import { MatSort } from '@angular/material/sort'; -import { debounceTime, map, merge, Observable, Subject, switchMap, takeUntil } from 'rxjs'; +import { FormsModule, ReactiveFormsModule, UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms'; +import { MatButtonModule } from '@angular/material/button'; +import { MatCheckboxChange, MatCheckboxModule } from '@angular/material/checkbox'; +import { MatOptionModule, MatRippleModule } from '@angular/material/core'; +import { MatFormFieldModule } from '@angular/material/form-field'; +import { MatIconModule } from '@angular/material/icon'; +import { MatInputModule } from '@angular/material/input'; +import { MatPaginator, MatPaginatorModule } from '@angular/material/paginator'; +import { MatProgressBarModule } from '@angular/material/progress-bar'; +import { MatSelectModule } from '@angular/material/select'; +import { MatSlideToggleModule } from '@angular/material/slide-toggle'; +import { MatSort, MatSortModule } from '@angular/material/sort'; import { fuseAnimations } from '@fuse/animations'; import { FuseConfirmationService } from '@fuse/services/confirmation'; -import { InventoryBrand, InventoryCategory, InventoryPagination, InventoryProduct, InventoryTag, InventoryVendor } from 'app/modules/admin/apps/ecommerce/inventory/inventory.types'; import { InventoryService } from 'app/modules/admin/apps/ecommerce/inventory/inventory.service'; +import { InventoryBrand, InventoryCategory, InventoryPagination, InventoryProduct, InventoryTag, InventoryVendor } from 'app/modules/admin/apps/ecommerce/inventory/inventory.types'; +import { debounceTime, map, merge, Observable, Subject, switchMap, takeUntil } from 'rxjs'; @Component({ selector : 'inventory-list', @@ -30,11 +39,13 @@ import { InventoryService } from 'app/modules/admin/apps/ecommerce/inventory/inv grid-template-columns: 48px 112px auto 112px 96px 96px 72px; } } - ` + `, ], encapsulation : ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, - animations : fuseAnimations + animations : fuseAnimations, + standalone : true, + imports : [NgIf, MatProgressBarModule, MatFormFieldModule, MatIconModule, MatInputModule, FormsModule, ReactiveFormsModule, MatButtonModule, MatSortModule, NgFor, NgTemplateOutlet, MatPaginatorModule, NgClass, MatSlideToggleModule, MatSelectModule, MatOptionModule, MatCheckboxModule, MatRippleModule, AsyncPipe, CurrencyPipe], }) export class InventoryListComponent implements OnInit, AfterViewInit, OnDestroy { @@ -64,7 +75,7 @@ export class InventoryListComponent implements OnInit, AfterViewInit, OnDestroy private _changeDetectorRef: ChangeDetectorRef, private _fuseConfirmationService: FuseConfirmationService, private _formBuilder: UntypedFormBuilder, - private _inventoryService: InventoryService + private _inventoryService: InventoryService, ) { } @@ -99,13 +110,14 @@ export class InventoryListComponent implements OnInit, AfterViewInit, OnDestroy thumbnail : [''], images : [[]], currentImageIndex: [0], // Image index that is currently being viewed - active : [false] + active : [false], }); // Get the brands this._inventoryService.brands$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((brands: InventoryBrand[]) => { + .subscribe((brands: InventoryBrand[]) => + { // Update the brands this.brands = brands; @@ -117,7 +129,8 @@ export class InventoryListComponent implements OnInit, AfterViewInit, OnDestroy // Get the categories this._inventoryService.categories$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((categories: InventoryCategory[]) => { + .subscribe((categories: InventoryCategory[]) => + { // Update the categories this.categories = categories; @@ -129,7 +142,8 @@ export class InventoryListComponent implements OnInit, AfterViewInit, OnDestroy // Get the pagination this._inventoryService.pagination$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((pagination: InventoryPagination) => { + .subscribe((pagination: InventoryPagination) => + { // Update the pagination this.pagination = pagination; @@ -144,7 +158,8 @@ export class InventoryListComponent implements OnInit, AfterViewInit, OnDestroy // Get the tags this._inventoryService.tags$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((tags: InventoryTag[]) => { + .subscribe((tags: InventoryTag[]) => + { // Update the tags this.tags = tags; @@ -157,7 +172,8 @@ export class InventoryListComponent implements OnInit, AfterViewInit, OnDestroy // Get the vendors this._inventoryService.vendors$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((vendors: InventoryVendor[]) => { + .subscribe((vendors: InventoryVendor[]) => + { // Update the vendors this.vendors = vendors; @@ -171,14 +187,16 @@ export class InventoryListComponent implements OnInit, AfterViewInit, OnDestroy .pipe( takeUntil(this._unsubscribeAll), debounceTime(300), - switchMap((query) => { + switchMap((query) => + { this.closeDetails(); this.isLoading = true; return this._inventoryService.getProducts(0, 10, 'name', 'asc', query); }), - map(() => { + map(() => + { this.isLoading = false; - }) + }), ) .subscribe(); } @@ -194,7 +212,7 @@ export class InventoryListComponent implements OnInit, AfterViewInit, OnDestroy this._sort.sort({ id : 'name', start : 'asc', - disableClear: true + disableClear: true, }); // Mark for check @@ -203,7 +221,8 @@ export class InventoryListComponent implements OnInit, AfterViewInit, OnDestroy // If the user changes the sort order... this._sort.sortChange .pipe(takeUntil(this._unsubscribeAll)) - .subscribe(() => { + .subscribe(() => + { // Reset back to the first page this._paginator.pageIndex = 0; @@ -213,14 +232,16 @@ export class InventoryListComponent implements OnInit, AfterViewInit, OnDestroy // Get products if sort or page changes merge(this._sort.sortChange, this._paginator.page).pipe( - switchMap(() => { + switchMap(() => + { this.closeDetails(); this.isLoading = true; return this._inventoryService.getProducts(this._paginator.pageIndex, this._paginator.pageSize, this._sort.active, this._sort.direction); }), - map(() => { + map(() => + { this.isLoading = false; - }) + }), ).subscribe(); } } @@ -256,7 +277,8 @@ export class InventoryListComponent implements OnInit, AfterViewInit, OnDestroy // Get the product by id this._inventoryService.getProductById(productId) - .subscribe((product) => { + .subscribe((product) => + { // Set the selected product this.selectedProduct = product; @@ -375,12 +397,13 @@ export class InventoryListComponent implements OnInit, AfterViewInit, OnDestroy createTag(title: string): void { const tag = { - title + title, }; // Create tag on the server this._inventoryService.createTag(tag) - .subscribe((response) => { + .subscribe((response) => + { // Add the tag to the product this.addTagToProduct(response); @@ -489,7 +512,8 @@ export class InventoryListComponent implements OnInit, AfterViewInit, OnDestroy createProduct(): void { // Create the product - this._inventoryService.createProduct().subscribe((newProduct) => { + this._inventoryService.createProduct().subscribe((newProduct) => + { // Go to new product this.selectedProduct = newProduct; @@ -514,7 +538,8 @@ export class InventoryListComponent implements OnInit, AfterViewInit, OnDestroy delete product.currentImageIndex; // Update the product on the server - this._inventoryService.updateProduct(product.id, product).subscribe(() => { + this._inventoryService.updateProduct(product.id, product).subscribe(() => + { // Show a success message this.showFlashMessage('success'); @@ -532,13 +557,14 @@ export class InventoryListComponent implements OnInit, AfterViewInit, OnDestroy message: 'Are you sure you want to remove this product? This action cannot be undone!', actions: { confirm: { - label: 'Delete' - } - } + label: 'Delete', + }, + }, }); // Subscribe to the confirmation dialog closed action - confirmation.afterClosed().subscribe((result) => { + confirmation.afterClosed().subscribe((result) => + { // If the confirm button pressed... if ( result === 'confirmed' ) @@ -548,7 +574,8 @@ export class InventoryListComponent implements OnInit, AfterViewInit, OnDestroy const product = this.selectedProductForm.getRawValue(); // Delete the product on the server - this._inventoryService.deleteProduct(product.id).subscribe(() => { + this._inventoryService.deleteProduct(product.id).subscribe(() => + { // Close the details this.closeDetails(); @@ -569,7 +596,8 @@ export class InventoryListComponent implements OnInit, AfterViewInit, OnDestroy this._changeDetectorRef.markForCheck(); // Hide it after 3 seconds - setTimeout(() => { + setTimeout(() => + { this.flashMessage = null; diff --git a/src/app/modules/admin/apps/file-manager/details/details.component.ts b/src/app/modules/admin/apps/file-manager/details/details.component.ts index 30d849a4..40b39666 100644 --- a/src/app/modules/admin/apps/file-manager/details/details.component.ts +++ b/src/app/modules/admin/apps/file-manager/details/details.component.ts @@ -1,15 +1,21 @@ +import { NgIf } from '@angular/common'; import { ChangeDetectionStrategy, ChangeDetectorRef, Component, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core'; +import { MatButtonModule } from '@angular/material/button'; +import { MatIconModule } from '@angular/material/icon'; import { MatDrawerToggleResult } from '@angular/material/sidenav'; -import { Subject, takeUntil } from 'rxjs'; -import { FileManagerListComponent } from 'app/modules/admin/apps/file-manager/list/list.component'; +import { RouterLink } from '@angular/router'; import { FileManagerService } from 'app/modules/admin/apps/file-manager/file-manager.service'; import { Item } from 'app/modules/admin/apps/file-manager/file-manager.types'; +import { FileManagerListComponent } from 'app/modules/admin/apps/file-manager/list/list.component'; +import { Subject, takeUntil } from 'rxjs'; @Component({ selector : 'file-manager-details', templateUrl : './details.component.html', encapsulation : ViewEncapsulation.None, - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone : true, + imports : [MatButtonModule, RouterLink, MatIconModule, NgIf], }) export class FileManagerDetailsComponent implements OnInit, OnDestroy { @@ -22,7 +28,7 @@ export class FileManagerDetailsComponent implements OnInit, OnDestroy constructor( private _changeDetectorRef: ChangeDetectorRef, private _fileManagerListComponent: FileManagerListComponent, - private _fileManagerService: FileManagerService + private _fileManagerService: FileManagerService, ) { } @@ -42,7 +48,8 @@ export class FileManagerDetailsComponent implements OnInit, OnDestroy // Get the item this._fileManagerService.item$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((item: Item) => { + .subscribe((item: Item) => + { // Open the drawer in case it is closed this._fileManagerListComponent.matDrawer.open(); diff --git a/src/app/modules/admin/apps/file-manager/file-manager.component.ts b/src/app/modules/admin/apps/file-manager/file-manager.component.ts index 0fa2889b..2dfa3667 100644 --- a/src/app/modules/admin/apps/file-manager/file-manager.component.ts +++ b/src/app/modules/admin/apps/file-manager/file-manager.component.ts @@ -1,10 +1,13 @@ import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core'; +import { RouterOutlet } from '@angular/router'; @Component({ selector : 'file-manager', templateUrl : './file-manager.component.html', encapsulation : ViewEncapsulation.None, - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone : true, + imports : [RouterOutlet], }) export class FileManagerComponent { diff --git a/src/app/modules/admin/apps/file-manager/file-manager.guards.ts b/src/app/modules/admin/apps/file-manager/file-manager.guards.ts index a38523a3..1edbdcbe 100644 --- a/src/app/modules/admin/apps/file-manager/file-manager.guards.ts +++ b/src/app/modules/admin/apps/file-manager/file-manager.guards.ts @@ -1,10 +1,10 @@ import { Injectable } from '@angular/core'; import { ActivatedRouteSnapshot, CanDeactivate, RouterStateSnapshot, UrlTree } from '@angular/router'; -import { Observable } from 'rxjs'; import { FileManagerDetailsComponent } from 'app/modules/admin/apps/file-manager/details/details.component'; +import { Observable } from 'rxjs'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class CanDeactivateFileManagerDetails implements CanDeactivate { @@ -12,7 +12,7 @@ export class CanDeactivateFileManagerDetails implements CanDeactivate | Promise | boolean | UrlTree { // Get the next route diff --git a/src/app/modules/admin/apps/file-manager/file-manager.module.ts b/src/app/modules/admin/apps/file-manager/file-manager.module.ts index 81582b8f..34070838 100644 --- a/src/app/modules/admin/apps/file-manager/file-manager.module.ts +++ b/src/app/modules/admin/apps/file-manager/file-manager.module.ts @@ -1,29 +1,26 @@ import { NgModule } from '@angular/core'; -import { RouterModule } from '@angular/router'; import { MatButtonModule } from '@angular/material/button'; import { MatIconModule } from '@angular/material/icon'; import { MatSidenavModule } from '@angular/material/sidenav'; import { MatTooltipModule } from '@angular/material/tooltip'; -import { SharedModule } from 'app/shared/shared.module'; -import { fileManagerRoutes } from 'app/modules/admin/apps/file-manager/file-manager.routing'; -import { FileManagerComponent } from 'app/modules/admin/apps/file-manager/file-manager.component'; +import { RouterModule } from '@angular/router'; import { FileManagerDetailsComponent } from 'app/modules/admin/apps/file-manager/details/details.component'; +import { FileManagerComponent } from 'app/modules/admin/apps/file-manager/file-manager.component'; + +import { fileManagerRoutes } from 'app/modules/admin/apps/file-manager/file-manager.routing'; import { FileManagerListComponent } from 'app/modules/admin/apps/file-manager/list/list.component'; @NgModule({ - declarations: [ - FileManagerComponent, - FileManagerDetailsComponent, - FileManagerListComponent - ], - imports : [ + imports: [ RouterModule.forChild(fileManagerRoutes), MatButtonModule, MatIconModule, MatSidenavModule, MatTooltipModule, - SharedModule - ] + FileManagerComponent, + FileManagerDetailsComponent, + FileManagerListComponent, + ], }) export class FileManagerModule { diff --git a/src/app/modules/admin/apps/file-manager/file-manager.resolvers.ts b/src/app/modules/admin/apps/file-manager/file-manager.resolvers.ts index aa4939ba..bc41780d 100644 --- a/src/app/modules/admin/apps/file-manager/file-manager.resolvers.ts +++ b/src/app/modules/admin/apps/file-manager/file-manager.resolvers.ts @@ -1,11 +1,11 @@ import { Injectable } from '@angular/core'; import { ActivatedRouteSnapshot, Resolve, Router, RouterStateSnapshot } from '@angular/router'; -import { catchError, Observable, throwError } from 'rxjs'; import { FileManagerService } from 'app/modules/admin/apps/file-manager/file-manager.service'; import { Item } from 'app/modules/admin/apps/file-manager/file-manager.types'; +import { catchError, Observable, throwError } from 'rxjs'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class FileManagerItemsResolver implements Resolve { @@ -33,7 +33,7 @@ export class FileManagerItemsResolver implements Resolve } @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class FileManagerFolderResolver implements Resolve { @@ -42,7 +42,7 @@ export class FileManagerFolderResolver implements Resolve */ constructor( private _router: Router, - private _fileManagerService: FileManagerService + private _fileManagerService: FileManagerService, ) { } @@ -60,28 +60,29 @@ export class FileManagerFolderResolver implements Resolve resolve(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable { return this._fileManagerService.getItems(route.paramMap.get('folderId')) - .pipe( - // Error here means the requested task is not available - catchError((error) => { + .pipe( + // Error here means the requested task is not available + catchError((error) => + { - // Log the error - console.error(error); + // Log the error + console.error(error); - // Get the parent url - const parentUrl = state.url.split('/').slice(0, -1).join('/'); + // Get the parent url + const parentUrl = state.url.split('/').slice(0, -1).join('/'); - // Navigate to there - this._router.navigateByUrl(parentUrl); + // Navigate to there + this._router.navigateByUrl(parentUrl); - // Throw an error - return throwError(error); - }) - ); + // Throw an error + return throwError(error); + }), + ); } } @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class FileManagerItemResolver implements Resolve { @@ -90,7 +91,7 @@ export class FileManagerItemResolver implements Resolve */ constructor( private _router: Router, - private _fileManagerService: FileManagerService + private _fileManagerService: FileManagerService, ) { } @@ -108,22 +109,23 @@ export class FileManagerItemResolver implements Resolve resolve(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable { return this._fileManagerService.getItemById(route.paramMap.get('id')) - .pipe( - // Error here means the requested task is not available - catchError((error) => { + .pipe( + // Error here means the requested task is not available + catchError((error) => + { - // Log the error - console.error(error); + // Log the error + console.error(error); - // Get the parent url - const parentUrl = state.url.split('/').slice(0, -1).join('/'); + // Get the parent url + const parentUrl = state.url.split('/').slice(0, -1).join('/'); - // Navigate to there - this._router.navigateByUrl(parentUrl); + // Navigate to there + this._router.navigateByUrl(parentUrl); - // Throw an error - return throwError(error); - }) - ); + // Throw an error + return throwError(error); + }), + ); } } diff --git a/src/app/modules/admin/apps/file-manager/file-manager.routing.ts b/src/app/modules/admin/apps/file-manager/file-manager.routing.ts index a0c06d73..c31e6ef7 100644 --- a/src/app/modules/admin/apps/file-manager/file-manager.routing.ts +++ b/src/app/modules/admin/apps/file-manager/file-manager.routing.ts @@ -1,9 +1,9 @@ import { Route } from '@angular/router'; -import { CanDeactivateFileManagerDetails } from 'app/modules/admin/apps/file-manager/file-manager.guards'; -import { FileManagerComponent } from 'app/modules/admin/apps/file-manager/file-manager.component'; -import { FileManagerListComponent } from 'app/modules/admin/apps/file-manager/list/list.component'; import { FileManagerDetailsComponent } from 'app/modules/admin/apps/file-manager/details/details.component'; +import { FileManagerComponent } from 'app/modules/admin/apps/file-manager/file-manager.component'; +import { CanDeactivateFileManagerDetails } from 'app/modules/admin/apps/file-manager/file-manager.guards'; import { FileManagerFolderResolver, FileManagerItemResolver, FileManagerItemsResolver } from 'app/modules/admin/apps/file-manager/file-manager.resolvers'; +import { FileManagerListComponent } from 'app/modules/admin/apps/file-manager/list/list.component'; export const fileManagerRoutes: Route[] = [ { @@ -14,36 +14,36 @@ export const fileManagerRoutes: Route[] = [ path : 'folders/:folderId', component: FileManagerListComponent, resolve : { - item: FileManagerFolderResolver + item: FileManagerFolderResolver, }, children : [ { path : 'details/:id', component : FileManagerDetailsComponent, resolve : { - item: FileManagerItemResolver + item: FileManagerItemResolver, }, - canDeactivate: [CanDeactivateFileManagerDetails] - } - ] + canDeactivate: [CanDeactivateFileManagerDetails], + }, + ], }, { path : '', component: FileManagerListComponent, resolve : { - items: FileManagerItemsResolver + items: FileManagerItemsResolver, }, children : [ { path : 'details/:id', component : FileManagerDetailsComponent, resolve : { - item: FileManagerItemResolver + item: FileManagerItemResolver, }, - canDeactivate: [CanDeactivateFileManagerDetails] - } - ] - } - ] - } + canDeactivate: [CanDeactivateFileManagerDetails], + }, + ], + }, + ], + }, ]; diff --git a/src/app/modules/admin/apps/file-manager/file-manager.service.ts b/src/app/modules/admin/apps/file-manager/file-manager.service.ts index 008d3e5d..7fc6d6b0 100644 --- a/src/app/modules/admin/apps/file-manager/file-manager.service.ts +++ b/src/app/modules/admin/apps/file-manager/file-manager.service.ts @@ -1,10 +1,10 @@ -import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; -import { BehaviorSubject, map, Observable, of, switchMap, take, tap, throwError } from 'rxjs'; +import { Injectable } from '@angular/core'; import { Item, Items } from 'app/modules/admin/apps/file-manager/file-manager.types'; +import { BehaviorSubject, map, Observable, of, switchMap, take, tap, throwError } from 'rxjs'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class FileManagerService { @@ -49,9 +49,10 @@ export class FileManagerService getItems(folderId: string | null = null): Observable { return this._httpClient.get('api/apps/file-manager', {params: {folderId}}).pipe( - tap((response: any) => { + tap((response: any) => + { this._items.next(response); - }) + }), ); } @@ -62,7 +63,8 @@ export class FileManagerService { return this._items.pipe( take(1), - map((items) => { + map((items) => + { // Find within the folders and files const item = [...items.folders, ...items.files].find(value => value.id === id) || null; @@ -73,7 +75,8 @@ export class FileManagerService // Return the item return item; }), - switchMap((item) => { + switchMap((item) => + { if ( !item ) { @@ -81,7 +84,7 @@ export class FileManagerService } return of(item); - }) + }), ); } } diff --git a/src/app/modules/admin/apps/file-manager/list/list.component.ts b/src/app/modules/admin/apps/file-manager/list/list.component.ts index 3360ce81..68b467cf 100644 --- a/src/app/modules/admin/apps/file-manager/list/list.component.ts +++ b/src/app/modules/admin/apps/file-manager/list/list.component.ts @@ -1,16 +1,22 @@ +import { NgFor, NgIf } from '@angular/common'; import { ChangeDetectionStrategy, ChangeDetectorRef, Component, OnDestroy, OnInit, ViewChild, ViewEncapsulation } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; -import { MatDrawer } from '@angular/material/sidenav'; -import { Subject, takeUntil } from 'rxjs'; +import { MatButtonModule } from '@angular/material/button'; +import { MatIconModule } from '@angular/material/icon'; +import { MatDrawer, MatSidenavModule } from '@angular/material/sidenav'; +import { MatTooltipModule } from '@angular/material/tooltip'; +import { ActivatedRoute, Router, RouterLink, RouterOutlet } from '@angular/router'; import { FuseMediaWatcherService } from '@fuse/services/media-watcher'; import { FileManagerService } from 'app/modules/admin/apps/file-manager/file-manager.service'; import { Item, Items } from 'app/modules/admin/apps/file-manager/file-manager.types'; +import { Subject, takeUntil } from 'rxjs'; @Component({ selector : 'file-manager-list', templateUrl : './list.component.html', encapsulation : ViewEncapsulation.None, - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone : true, + imports : [MatSidenavModule, RouterOutlet, NgIf, RouterLink, NgFor, MatButtonModule, MatIconModule, MatTooltipModule], }) export class FileManagerListComponent implements OnInit, OnDestroy { @@ -28,7 +34,7 @@ export class FileManagerListComponent implements OnInit, OnDestroy private _changeDetectorRef: ChangeDetectorRef, private _router: Router, private _fileManagerService: FileManagerService, - private _fuseMediaWatcherService: FuseMediaWatcherService + private _fuseMediaWatcherService: FuseMediaWatcherService, ) { } @@ -45,7 +51,8 @@ export class FileManagerListComponent implements OnInit, OnDestroy // Get the items this._fileManagerService.items$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((items: Items) => { + .subscribe((items: Items) => + { this.items = items; // Mark for check @@ -55,7 +62,8 @@ export class FileManagerListComponent implements OnInit, OnDestroy // Get the item this._fileManagerService.item$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((item: Item) => { + .subscribe((item: Item) => + { this.selectedItem = item; // Mark for check @@ -65,7 +73,8 @@ export class FileManagerListComponent implements OnInit, OnDestroy // Subscribe to media query change this._fuseMediaWatcherService.onMediaQueryChange$('(min-width: 1440px)') .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((state) => { + .subscribe((state) => + { // Calculate the drawer mode this.drawerMode = state.matches ? 'side' : 'over'; diff --git a/src/app/modules/admin/apps/help-center/faqs/faqs.component.ts b/src/app/modules/admin/apps/help-center/faqs/faqs.component.ts index 3090d962..88e99b94 100644 --- a/src/app/modules/admin/apps/help-center/faqs/faqs.component.ts +++ b/src/app/modules/admin/apps/help-center/faqs/faqs.component.ts @@ -1,12 +1,19 @@ +import { NgFor } from '@angular/common'; import { Component, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core'; -import { Subject, takeUntil } from 'rxjs'; +import { MatButtonModule } from '@angular/material/button'; +import { MatExpansionModule } from '@angular/material/expansion'; +import { MatIconModule } from '@angular/material/icon'; +import { RouterLink } from '@angular/router'; import { HelpCenterService } from 'app/modules/admin/apps/help-center/help-center.service'; import { FaqCategory } from 'app/modules/admin/apps/help-center/help-center.type'; +import { Subject, takeUntil } from 'rxjs'; @Component({ selector : 'help-center-faqs', templateUrl : './faqs.component.html', - encapsulation: ViewEncapsulation.None + encapsulation: ViewEncapsulation.None, + standalone : true, + imports : [MatButtonModule, RouterLink, MatIconModule, NgFor, MatExpansionModule], }) export class HelpCenterFaqsComponent implements OnInit, OnDestroy { @@ -32,7 +39,8 @@ export class HelpCenterFaqsComponent implements OnInit, OnDestroy // Get the FAQs this._helpCenterService.faqs$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((faqCategories) => { + .subscribe((faqCategories) => + { this.faqCategories = faqCategories; }); } diff --git a/src/app/modules/admin/apps/help-center/guides/category/category.component.ts b/src/app/modules/admin/apps/help-center/guides/category/category.component.ts index ad86ae63..0f4a5eeb 100644 --- a/src/app/modules/admin/apps/help-center/guides/category/category.component.ts +++ b/src/app/modules/admin/apps/help-center/guides/category/category.component.ts @@ -1,13 +1,18 @@ +import { NgFor } from '@angular/common'; import { Component, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; -import { Subject, takeUntil } from 'rxjs'; +import { MatButtonModule } from '@angular/material/button'; +import { MatIconModule } from '@angular/material/icon'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; import { HelpCenterService } from 'app/modules/admin/apps/help-center/help-center.service'; import { GuideCategory } from 'app/modules/admin/apps/help-center/help-center.type'; +import { Subject, takeUntil } from 'rxjs'; @Component({ selector : 'help-center-guides-category', templateUrl : './category.component.html', - encapsulation: ViewEncapsulation.None + encapsulation: ViewEncapsulation.None, + standalone : true, + imports : [MatButtonModule, RouterLink, MatIconModule, NgFor], }) export class HelpCenterGuidesCategoryComponent implements OnInit, OnDestroy { @@ -20,7 +25,7 @@ export class HelpCenterGuidesCategoryComponent implements OnInit, OnDestroy constructor( private _activatedRoute: ActivatedRoute, private _helpCenterService: HelpCenterService, - private _router: Router + private _router: Router, ) { } @@ -37,7 +42,8 @@ export class HelpCenterGuidesCategoryComponent implements OnInit, OnDestroy // Get the Guides this._helpCenterService.guides$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((guideCategories) => { + .subscribe((guideCategories) => + { this.guideCategory = guideCategories[0]; }); } diff --git a/src/app/modules/admin/apps/help-center/guides/guide/guide.component.ts b/src/app/modules/admin/apps/help-center/guides/guide/guide.component.ts index 32f8eac2..f41b9cee 100644 --- a/src/app/modules/admin/apps/help-center/guides/guide/guide.component.ts +++ b/src/app/modules/admin/apps/help-center/guides/guide/guide.component.ts @@ -1,12 +1,17 @@ import { Component, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core'; -import { Subject, takeUntil } from 'rxjs'; +import { MatButtonModule } from '@angular/material/button'; +import { MatIconModule } from '@angular/material/icon'; +import { RouterLink } from '@angular/router'; import { HelpCenterService } from 'app/modules/admin/apps/help-center/help-center.service'; import { GuideCategory } from 'app/modules/admin/apps/help-center/help-center.type'; +import { Subject, takeUntil } from 'rxjs'; @Component({ selector : 'help-center-guides-guide', templateUrl : './guide.component.html', - encapsulation: ViewEncapsulation.None + encapsulation: ViewEncapsulation.None, + standalone : true, + imports : [MatButtonModule, RouterLink, MatIconModule], }) export class HelpCenterGuidesGuideComponent implements OnInit, OnDestroy { @@ -32,7 +37,8 @@ export class HelpCenterGuidesGuideComponent implements OnInit, OnDestroy // Get the Guides this._helpCenterService.guide$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((guideCategory) => { + .subscribe((guideCategory) => + { this.guideCategory = guideCategory; }); } diff --git a/src/app/modules/admin/apps/help-center/guides/guides.component.ts b/src/app/modules/admin/apps/help-center/guides/guides.component.ts index 517c5ad6..fa2f5539 100644 --- a/src/app/modules/admin/apps/help-center/guides/guides.component.ts +++ b/src/app/modules/admin/apps/help-center/guides/guides.component.ts @@ -1,12 +1,18 @@ +import { NgFor, NgIf } from '@angular/common'; import { Component, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core'; -import { Subject, takeUntil } from 'rxjs'; +import { MatButtonModule } from '@angular/material/button'; +import { MatIconModule } from '@angular/material/icon'; +import { RouterLink } from '@angular/router'; import { HelpCenterService } from 'app/modules/admin/apps/help-center/help-center.service'; import { GuideCategory } from 'app/modules/admin/apps/help-center/help-center.type'; +import { Subject, takeUntil } from 'rxjs'; @Component({ selector : 'help-center-guides', templateUrl : './guides.component.html', - encapsulation: ViewEncapsulation.None + encapsulation: ViewEncapsulation.None, + standalone : true, + imports : [MatButtonModule, RouterLink, MatIconModule, NgFor, NgIf], }) export class HelpCenterGuidesComponent implements OnInit, OnDestroy { @@ -32,7 +38,8 @@ export class HelpCenterGuidesComponent implements OnInit, OnDestroy // Get the Guide categories this._helpCenterService.guides$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((guideCategories) => { + .subscribe((guideCategories) => + { this.guideCategories = guideCategories; }); } diff --git a/src/app/modules/admin/apps/help-center/help-center.component.ts b/src/app/modules/admin/apps/help-center/help-center.component.ts index c3a2cfff..9b1030eb 100644 --- a/src/app/modules/admin/apps/help-center/help-center.component.ts +++ b/src/app/modules/admin/apps/help-center/help-center.component.ts @@ -1,12 +1,20 @@ +import { NgFor } from '@angular/common'; import { Component, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core'; -import { Subject, takeUntil } from 'rxjs'; +import { MatExpansionModule } from '@angular/material/expansion'; +import { MatFormFieldModule } from '@angular/material/form-field'; +import { MatIconModule } from '@angular/material/icon'; +import { MatInputModule } from '@angular/material/input'; +import { RouterLink } from '@angular/router'; import { HelpCenterService } from 'app/modules/admin/apps/help-center/help-center.service'; import { FaqCategory } from 'app/modules/admin/apps/help-center/help-center.type'; +import { Subject, takeUntil } from 'rxjs'; @Component({ selector : 'help-center', templateUrl : './help-center.component.html', - encapsulation: ViewEncapsulation.None + encapsulation: ViewEncapsulation.None, + standalone : true, + imports : [MatFormFieldModule, MatInputModule, MatIconModule, RouterLink, MatExpansionModule, NgFor], }) export class HelpCenterComponent implements OnInit, OnDestroy { @@ -32,7 +40,8 @@ export class HelpCenterComponent implements OnInit, OnDestroy // Get the FAQs this._helpCenterService.faqs$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((faqCategories) => { + .subscribe((faqCategories) => + { this.faqCategory = faqCategories[0]; }); } diff --git a/src/app/modules/admin/apps/help-center/help-center.module.ts b/src/app/modules/admin/apps/help-center/help-center.module.ts index eb22b864..3e06aa84 100644 --- a/src/app/modules/admin/apps/help-center/help-center.module.ts +++ b/src/app/modules/admin/apps/help-center/help-center.module.ts @@ -1,39 +1,34 @@ import { NgModule } from '@angular/core'; -import { RouterModule } from '@angular/router'; import { MatButtonModule } from '@angular/material/button'; import { MatExpansionModule } from '@angular/material/expansion'; import { MatFormFieldModule } from '@angular/material/form-field'; import { MatIconModule } from '@angular/material/icon'; import { MatInputModule } from '@angular/material/input'; -import { FuseAlertModule } from '@fuse/components/alert'; -import { SharedModule } from 'app/shared/shared.module'; -import { HelpCenterComponent } from 'app/modules/admin/apps/help-center/help-center.component'; +import { RouterModule } from '@angular/router'; import { HelpCenterFaqsComponent } from 'app/modules/admin/apps/help-center/faqs/faqs.component'; -import { HelpCenterGuidesComponent } from 'app/modules/admin/apps/help-center/guides/guides.component'; import { HelpCenterGuidesCategoryComponent } from 'app/modules/admin/apps/help-center/guides/category/category.component'; import { HelpCenterGuidesGuideComponent } from 'app/modules/admin/apps/help-center/guides/guide/guide.component'; -import { HelpCenterSupportComponent } from 'app/modules/admin/apps/help-center/support/support.component'; +import { HelpCenterGuidesComponent } from 'app/modules/admin/apps/help-center/guides/guides.component'; + +import { HelpCenterComponent } from 'app/modules/admin/apps/help-center/help-center.component'; import { helpCenterRoutes } from 'app/modules/admin/apps/help-center/help-center.routing'; +import { HelpCenterSupportComponent } from 'app/modules/admin/apps/help-center/support/support.component'; @NgModule({ - declarations: [ - HelpCenterComponent, - HelpCenterFaqsComponent, - HelpCenterGuidesComponent, - HelpCenterGuidesCategoryComponent, - HelpCenterGuidesGuideComponent, - HelpCenterSupportComponent - ], - imports : [ + imports: [ RouterModule.forChild(helpCenterRoutes), MatButtonModule, MatExpansionModule, MatFormFieldModule, MatIconModule, MatInputModule, - FuseAlertModule, - SharedModule - ] + HelpCenterComponent, + HelpCenterFaqsComponent, + HelpCenterGuidesComponent, + HelpCenterGuidesCategoryComponent, + HelpCenterGuidesGuideComponent, + HelpCenterSupportComponent, + ], }) export class HelpCenterModule { diff --git a/src/app/modules/admin/apps/help-center/help-center.resolvers.ts b/src/app/modules/admin/apps/help-center/help-center.resolvers.ts index 50d85fab..0071cf88 100644 --- a/src/app/modules/admin/apps/help-center/help-center.resolvers.ts +++ b/src/app/modules/admin/apps/help-center/help-center.resolvers.ts @@ -1,11 +1,11 @@ import { Injectable } from '@angular/core'; import { ActivatedRouteSnapshot, Resolve, RouterStateSnapshot } from '@angular/router'; -import { Observable } from 'rxjs'; import { HelpCenterService } from 'app/modules/admin/apps/help-center/help-center.service'; import { FaqCategory, GuideCategory } from 'app/modules/admin/apps/help-center/help-center.type'; +import { Observable } from 'rxjs'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class HelpCenterMostAskedFaqsResolver implements Resolve { @@ -33,7 +33,7 @@ export class HelpCenterMostAskedFaqsResolver implements Resolve } @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class HelpCenterFaqsResolver implements Resolve { @@ -61,7 +61,7 @@ export class HelpCenterFaqsResolver implements Resolve } @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class HelpCenterGuidesResolver implements Resolve { @@ -89,7 +89,7 @@ export class HelpCenterGuidesResolver implements Resolve } @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class HelpCenterGuidesCategoryResolver implements Resolve { @@ -117,7 +117,7 @@ export class HelpCenterGuidesCategoryResolver implements Resolve } @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class HelpCenterGuidesGuideResolver implements Resolve { diff --git a/src/app/modules/admin/apps/help-center/help-center.routing.ts b/src/app/modules/admin/apps/help-center/help-center.routing.ts index 98fb878c..28a00ec3 100644 --- a/src/app/modules/admin/apps/help-center/help-center.routing.ts +++ b/src/app/modules/admin/apps/help-center/help-center.routing.ts @@ -1,26 +1,26 @@ import { Route } from '@angular/router'; -import { HelpCenterComponent } from 'app/modules/admin/apps/help-center/help-center.component'; import { HelpCenterFaqsComponent } from 'app/modules/admin/apps/help-center/faqs/faqs.component'; -import { HelpCenterGuidesComponent } from 'app/modules/admin/apps/help-center/guides/guides.component'; import { HelpCenterGuidesCategoryComponent } from 'app/modules/admin/apps/help-center/guides/category/category.component'; import { HelpCenterGuidesGuideComponent } from 'app/modules/admin/apps/help-center/guides/guide/guide.component'; -import { HelpCenterSupportComponent } from 'app/modules/admin/apps/help-center/support/support.component'; +import { HelpCenterGuidesComponent } from 'app/modules/admin/apps/help-center/guides/guides.component'; +import { HelpCenterComponent } from 'app/modules/admin/apps/help-center/help-center.component'; import { HelpCenterFaqsResolver, HelpCenterGuidesCategoryResolver, HelpCenterGuidesGuideResolver, HelpCenterGuidesResolver, HelpCenterMostAskedFaqsResolver } from 'app/modules/admin/apps/help-center/help-center.resolvers'; +import { HelpCenterSupportComponent } from 'app/modules/admin/apps/help-center/support/support.component'; export const helpCenterRoutes: Route[] = [ { path : '', component: HelpCenterComponent, resolve : { - faqs: HelpCenterMostAskedFaqsResolver - } + faqs: HelpCenterMostAskedFaqsResolver, + }, }, { path : 'faqs', component: HelpCenterFaqsComponent, resolve : { - faqs: HelpCenterFaqsResolver - } + faqs: HelpCenterFaqsResolver, + }, }, { path : 'guides', @@ -29,8 +29,8 @@ export const helpCenterRoutes: Route[] = [ path : '', component: HelpCenterGuidesComponent, resolve : { - guides: HelpCenterGuidesResolver - } + guides: HelpCenterGuidesResolver, + }, }, { path : ':categorySlug', @@ -39,22 +39,22 @@ export const helpCenterRoutes: Route[] = [ path : '', component: HelpCenterGuidesCategoryComponent, resolve : { - guides: HelpCenterGuidesCategoryResolver - } + guides: HelpCenterGuidesCategoryResolver, + }, }, { path : ':guideSlug', component: HelpCenterGuidesGuideComponent, resolve : { - guide: HelpCenterGuidesGuideResolver - } - } - ] - } - ] + guide: HelpCenterGuidesGuideResolver, + }, + }, + ], + }, + ], }, { path : 'support', - component: HelpCenterSupportComponent - } + component: HelpCenterSupportComponent, + }, ]; diff --git a/src/app/modules/admin/apps/help-center/help-center.service.ts b/src/app/modules/admin/apps/help-center/help-center.service.ts index 2a5e5366..53d5d0fa 100644 --- a/src/app/modules/admin/apps/help-center/help-center.service.ts +++ b/src/app/modules/admin/apps/help-center/help-center.service.ts @@ -1,10 +1,10 @@ -import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; -import { Observable, ReplaySubject, tap } from 'rxjs'; +import { Injectable } from '@angular/core'; import { FaqCategory, Guide, GuideCategory } from 'app/modules/admin/apps/help-center/help-center.type'; +import { Observable, ReplaySubject, tap } from 'rxjs'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class HelpCenterService { @@ -57,9 +57,10 @@ export class HelpCenterService getAllFaqs(): Observable { return this._httpClient.get('api/apps/help-center/faqs').pipe( - tap((response: any) => { + tap((response: any) => + { this._faqs.next(response); - }) + }), ); } @@ -71,11 +72,12 @@ export class HelpCenterService getFaqsByCategory(slug: string): Observable { return this._httpClient.get('api/apps/help-center/faqs', { - params: {slug} + params: {slug}, }).pipe( - tap((response: any) => { + tap((response: any) => + { this._faqs.next(response); - }) + }), ); } @@ -87,11 +89,12 @@ export class HelpCenterService getAllGuides(limit = '4'): Observable { return this._httpClient.get('api/apps/help-center/guides', { - params: {limit} + params: {limit}, }).pipe( - tap((response: any) => { + tap((response: any) => + { this._guides.next(response); - }) + }), ); } @@ -103,11 +106,12 @@ export class HelpCenterService getGuidesByCategory(slug: string): Observable { return this._httpClient.get('api/apps/help-center/guides', { - params: {slug} + params: {slug}, }).pipe( - tap((response: any) => { + tap((response: any) => + { this._guides.next(response); - }) + }), ); } @@ -122,12 +126,13 @@ export class HelpCenterService return this._httpClient.get('api/apps/help-center/guide', { params: { categorySlug, - guideSlug - } + guideSlug, + }, }).pipe( - tap((response: any) => { + tap((response: any) => + { this._guide.next(response); - }) + }), ); } } diff --git a/src/app/modules/admin/apps/help-center/support/support.component.ts b/src/app/modules/admin/apps/help-center/support/support.component.ts index 9fcfe732..60cb63aa 100644 --- a/src/app/modules/admin/apps/help-center/support/support.component.ts +++ b/src/app/modules/admin/apps/help-center/support/support.component.ts @@ -1,13 +1,23 @@ +import { TextFieldModule } from '@angular/cdk/text-field'; +import { NgIf } from '@angular/common'; import { Component, OnInit, ViewChild, ViewEncapsulation } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, NgForm, Validators } from '@angular/forms'; +import { FormsModule, NgForm, ReactiveFormsModule, UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; +import { MatButtonModule } from '@angular/material/button'; +import { MatFormFieldModule } from '@angular/material/form-field'; +import { MatIconModule } from '@angular/material/icon'; +import { MatInputModule } from '@angular/material/input'; +import { RouterLink } from '@angular/router'; import { fuseAnimations } from '@fuse/animations'; +import { FuseAlertComponent } from '@fuse/components/alert'; import { HelpCenterService } from 'app/modules/admin/apps/help-center/help-center.service'; @Component({ selector : 'help-center-support', templateUrl : './support.component.html', encapsulation: ViewEncapsulation.None, - animations : fuseAnimations + animations : fuseAnimations, + standalone : true, + imports : [MatButtonModule, RouterLink, MatIconModule, NgIf, FuseAlertComponent, FormsModule, ReactiveFormsModule, MatFormFieldModule, MatInputModule, TextFieldModule], }) export class HelpCenterSupportComponent implements OnInit { @@ -21,7 +31,7 @@ export class HelpCenterSupportComponent implements OnInit */ constructor( private _formBuilder: UntypedFormBuilder, - private _helpCenterService: HelpCenterService + private _helpCenterService: HelpCenterService, ) { } @@ -40,7 +50,7 @@ export class HelpCenterSupportComponent implements OnInit name : ['', Validators.required], email : ['', [Validators.required, Validators.email]], subject: ['', Validators.required], - message: ['', Validators.required] + message: ['', Validators.required], }); } @@ -69,10 +79,11 @@ export class HelpCenterSupportComponent implements OnInit // and remove it after 5 seconds this.alert = { type : 'success', - message: 'Your request has been delivered! A member of our support staff will respond as soon as possible.' + message: 'Your request has been delivered! A member of our support staff will respond as soon as possible.', }; - setTimeout(() => { + setTimeout(() => + { this.alert = null; }, 7000); diff --git a/src/app/modules/admin/apps/mailbox/compose/compose.component.ts b/src/app/modules/admin/apps/mailbox/compose/compose.component.ts index bbf892e1..2c5e474d 100644 --- a/src/app/modules/admin/apps/mailbox/compose/compose.component.ts +++ b/src/app/modules/admin/apps/mailbox/compose/compose.component.ts @@ -1,25 +1,33 @@ +import { NgIf } from '@angular/common'; import { Component, OnInit, ViewEncapsulation } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; +import { FormsModule, ReactiveFormsModule, UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; +import { MatButtonModule } from '@angular/material/button'; import { MatDialogRef } from '@angular/material/dialog'; +import { MatFormFieldModule } from '@angular/material/form-field'; +import { MatIconModule } from '@angular/material/icon'; +import { MatInputModule } from '@angular/material/input'; +import { QuillEditorComponent } from 'ngx-quill'; @Component({ selector : 'mailbox-compose', templateUrl : './compose.component.html', - encapsulation: ViewEncapsulation.None + encapsulation: ViewEncapsulation.None, + standalone : true, + imports : [MatButtonModule, MatIconModule, FormsModule, ReactiveFormsModule, MatFormFieldModule, MatInputModule, NgIf, QuillEditorComponent], }) export class MailboxComposeComponent implements OnInit { composeForm: UntypedFormGroup; copyFields: { cc: boolean; bcc: boolean } = { cc : false, - bcc: false + bcc: false, }; quillModules: any = { toolbar: [ ['bold', 'italic', 'underline'], [{align: []}, {list: 'ordered'}, {list: 'bullet'}], - ['clean'] - ] + ['clean'], + ], }; /** @@ -27,7 +35,7 @@ export class MailboxComposeComponent implements OnInit */ constructor( public matDialogRef: MatDialogRef, - private _formBuilder: UntypedFormBuilder + private _formBuilder: UntypedFormBuilder, ) { } @@ -47,7 +55,7 @@ export class MailboxComposeComponent implements OnInit cc : ['', [Validators.email]], bcc : ['', [Validators.email]], subject: [''], - body : ['', [Validators.required]] + body : ['', [Validators.required]], }); } diff --git a/src/app/modules/admin/apps/mailbox/details/details.component.ts b/src/app/modules/admin/apps/mailbox/details/details.component.ts index 92ed8886..f39818dc 100644 --- a/src/app/modules/admin/apps/mailbox/details/details.component.ts +++ b/src/app/modules/admin/apps/mailbox/details/details.component.ts @@ -1,17 +1,28 @@ -import { Component, ElementRef, OnDestroy, OnInit, TemplateRef, ViewChild, ViewContainerRef, ViewEncapsulation } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; -import { TemplatePortal } from '@angular/cdk/portal'; import { Overlay, OverlayRef } from '@angular/cdk/overlay'; -import { MatButton } from '@angular/material/button'; -import { Subject, takeUntil } from 'rxjs'; +import { TemplatePortal } from '@angular/cdk/portal'; +import { DatePipe, DecimalPipe, NgClass, NgFor, NgIf, NgPlural, NgPluralCase } from '@angular/common'; +import { Component, ElementRef, OnDestroy, OnInit, TemplateRef, ViewChild, ViewContainerRef, ViewEncapsulation } from '@angular/core'; +import { MatButton, MatButtonModule } from '@angular/material/button'; +import { MatCheckboxModule } from '@angular/material/checkbox'; +import { MatRippleModule } from '@angular/material/core'; +import { MatFormFieldModule } from '@angular/material/form-field'; +import { MatIconModule } from '@angular/material/icon'; +import { MatInputModule } from '@angular/material/input'; +import { MatMenuModule } from '@angular/material/menu'; +import { ActivatedRoute, Router, RouterLink } from '@angular/router'; +import { FuseScrollResetDirective } from '@fuse/directives/scroll-reset'; +import { FuseFindByKeyPipe } from '@fuse/pipes/find-by-key/find-by-key.pipe'; +import { labelColorDefs } from 'app/modules/admin/apps/mailbox/mailbox.constants'; import { MailboxService } from 'app/modules/admin/apps/mailbox/mailbox.service'; import { Mail, MailFolder, MailLabel } from 'app/modules/admin/apps/mailbox/mailbox.types'; -import { labelColorDefs } from 'app/modules/admin/apps/mailbox/mailbox.constants'; +import { Subject, takeUntil } from 'rxjs'; @Component({ selector : 'mailbox-details', templateUrl : './details.component.html', - encapsulation: ViewEncapsulation.None + encapsulation: ViewEncapsulation.None, + standalone : true, + imports : [NgIf, MatButtonModule, RouterLink, MatIconModule, MatMenuModule, NgFor, MatRippleModule, MatCheckboxModule, NgClass, FuseScrollResetDirective, NgPlural, NgPluralCase, MatFormFieldModule, MatInputModule, FuseFindByKeyPipe, DecimalPipe, DatePipe], }) export class MailboxDetailsComponent implements OnInit, OnDestroy { @@ -35,7 +46,7 @@ export class MailboxDetailsComponent implements OnInit, OnDestroy private _mailboxService: MailboxService, private _overlay: Overlay, private _router: Router, - private _viewContainerRef: ViewContainerRef + private _viewContainerRef: ViewContainerRef, ) { } @@ -55,28 +66,32 @@ export class MailboxDetailsComponent implements OnInit, OnDestroy // Folders this._mailboxService.folders$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((folders: MailFolder[]) => { + .subscribe((folders: MailFolder[]) => + { this.folders = folders; }); // Labels this._mailboxService.labels$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((labels: MailLabel[]) => { + .subscribe((labels: MailLabel[]) => + { this.labels = labels; }); // Mail this._mailboxService.mail$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((mail: Mail) => { + .subscribe((mail: Mail) => + { this.mail = mail; }); // Selected mail changed this._mailboxService.selectedMailChanged .pipe(takeUntil(this._unsubscribeAll)) - .subscribe(() => { + .subscribe(() => + { // De-activate the reply form this.replyFormActive = false; @@ -240,7 +255,8 @@ export class MailboxDetailsComponent implements OnInit, OnDestroy this.replyFormActive = true; // Scroll to the bottom of the details pane - setTimeout(() => { + setTimeout(() => + { this._elementRef.nativeElement.scrollTop = this._elementRef.nativeElement.scrollHeight; }); } @@ -254,7 +270,8 @@ export class MailboxDetailsComponent implements OnInit, OnDestroy this.replyFormActive = true; // Scroll to the bottom of the details pane - setTimeout(() => { + setTimeout(() => + { this._elementRef.nativeElement.scrollTop = this._elementRef.nativeElement.scrollHeight; }); } @@ -268,7 +285,8 @@ export class MailboxDetailsComponent implements OnInit, OnDestroy this.replyFormActive = true; // Scroll to the bottom of the details pane - setTimeout(() => { + setTimeout(() => + { this._elementRef.nativeElement.scrollTop = this._elementRef.nativeElement.scrollHeight; }); } @@ -302,36 +320,36 @@ export class MailboxDetailsComponent implements OnInit, OnDestroy hasBackdrop : true, scrollStrategy : this._overlay.scrollStrategies.block(), positionStrategy: this._overlay.position() - .flexibleConnectedTo(this._infoDetailsPanelOrigin._elementRef.nativeElement) - .withFlexibleDimensions(true) - .withViewportMargin(16) - .withLockedPosition(true) - .withPositions([ - { - originX : 'start', - originY : 'bottom', - overlayX: 'start', - overlayY: 'top' - }, - { - originX : 'start', - originY : 'top', - overlayX: 'start', - overlayY: 'bottom' - }, - { - originX : 'end', - originY : 'bottom', - overlayX: 'end', - overlayY: 'top' - }, - { - originX : 'end', - originY : 'top', - overlayX: 'end', - overlayY: 'bottom' - } - ]) + .flexibleConnectedTo(this._infoDetailsPanelOrigin._elementRef.nativeElement) + .withFlexibleDimensions(true) + .withViewportMargin(16) + .withLockedPosition(true) + .withPositions([ + { + originX : 'start', + originY : 'bottom', + overlayX: 'start', + overlayY: 'top', + }, + { + originX : 'start', + originY : 'top', + overlayX: 'start', + overlayY: 'bottom', + }, + { + originX : 'end', + originY : 'bottom', + overlayX: 'end', + overlayY: 'top', + }, + { + originX : 'end', + originY : 'top', + overlayX: 'end', + overlayY: 'bottom', + }, + ]), }); // Create a portal from the template @@ -341,7 +359,8 @@ export class MailboxDetailsComponent implements OnInit, OnDestroy this._overlayRef.attach(templatePortal); // Subscribe to the backdrop click - this._overlayRef.backdropClick().subscribe(() => { + this._overlayRef.backdropClick().subscribe(() => + { // If overlay exists and attached... if ( this._overlayRef && this._overlayRef.hasAttached() ) diff --git a/src/app/modules/admin/apps/mailbox/empty-details/empty-details.component.ts b/src/app/modules/admin/apps/mailbox/empty-details/empty-details.component.ts index e5d5df78..591af544 100644 --- a/src/app/modules/admin/apps/mailbox/empty-details/empty-details.component.ts +++ b/src/app/modules/admin/apps/mailbox/empty-details/empty-details.component.ts @@ -1,9 +1,12 @@ import { Component, ViewEncapsulation } from '@angular/core'; +import { MatIconModule } from '@angular/material/icon'; @Component({ selector : 'mailbox-empty-details', templateUrl : './empty-details.component.html', - encapsulation: ViewEncapsulation.None + encapsulation: ViewEncapsulation.None, + standalone : true, + imports : [MatIconModule], }) export class MailboxEmptyDetailsComponent { diff --git a/src/app/modules/admin/apps/mailbox/list/list.component.ts b/src/app/modules/admin/apps/mailbox/list/list.component.ts index 0b50bc3c..579e9cb9 100644 --- a/src/app/modules/admin/apps/mailbox/list/list.component.ts +++ b/src/app/modules/admin/apps/mailbox/list/list.component.ts @@ -1,13 +1,20 @@ +import { DatePipe, NgClass, NgFor, NgIf } from '@angular/common'; import { Component, ElementRef, OnDestroy, OnInit, ViewChild, ViewEncapsulation } from '@angular/core'; -import { Subject, takeUntil } from 'rxjs'; -import { MailboxService } from 'app/modules/admin/apps/mailbox/mailbox.service'; +import { MatButtonModule } from '@angular/material/button'; +import { MatIconModule } from '@angular/material/icon'; +import { MatProgressBarModule } from '@angular/material/progress-bar'; +import { RouterLink, RouterOutlet } from '@angular/router'; import { MailboxComponent } from 'app/modules/admin/apps/mailbox/mailbox.component'; +import { MailboxService } from 'app/modules/admin/apps/mailbox/mailbox.service'; import { Mail, MailCategory } from 'app/modules/admin/apps/mailbox/mailbox.types'; +import { Subject, takeUntil } from 'rxjs'; @Component({ selector : 'mailbox-list', templateUrl : './list.component.html', - encapsulation: ViewEncapsulation.None + encapsulation: ViewEncapsulation.None, + standalone : true, + imports : [NgIf, MatButtonModule, MatIconModule, RouterLink, MatProgressBarModule, NgFor, NgClass, RouterOutlet, DatePipe], }) export class MailboxListComponent implements OnInit, OnDestroy { @@ -25,7 +32,7 @@ export class MailboxListComponent implements OnInit, OnDestroy */ constructor( public mailboxComponent: MailboxComponent, - private _mailboxService: MailboxService + private _mailboxService: MailboxService, ) { } @@ -42,21 +49,24 @@ export class MailboxListComponent implements OnInit, OnDestroy // Category this._mailboxService.category$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((category: MailCategory) => { + .subscribe((category: MailCategory) => + { this.category = category; }); // Mails this._mailboxService.mails$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((mails: Mail[]) => { + .subscribe((mails: Mail[]) => + { this.mails = mails; }); // Mails loading this._mailboxService.mailsLoading$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((mailsLoading: boolean) => { + .subscribe((mailsLoading: boolean) => + { this.mailsLoading = mailsLoading; // If the mail list element is available & the mails are loaded... @@ -70,14 +80,16 @@ export class MailboxListComponent implements OnInit, OnDestroy // Pagination this._mailboxService.pagination$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((pagination) => { + .subscribe((pagination) => + { this.pagination = pagination; }); // Selected mail this._mailboxService.mail$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((mail: Mail) => { + .subscribe((mail: Mail) => + { this.selectedMail = mail; }); } diff --git a/src/app/modules/admin/apps/mailbox/mailbox.component.ts b/src/app/modules/admin/apps/mailbox/mailbox.component.ts index 246da50f..d93d118e 100644 --- a/src/app/modules/admin/apps/mailbox/mailbox.component.ts +++ b/src/app/modules/admin/apps/mailbox/mailbox.component.ts @@ -1,12 +1,16 @@ import { Component, OnDestroy, OnInit, ViewChild, ViewEncapsulation } from '@angular/core'; -import { MatDrawer } from '@angular/material/sidenav'; -import { Subject, takeUntil } from 'rxjs'; +import { MatDrawer, MatSidenavModule } from '@angular/material/sidenav'; +import { RouterOutlet } from '@angular/router'; import { FuseMediaWatcherService } from '@fuse/services/media-watcher'; +import { Subject, takeUntil } from 'rxjs'; +import { MailboxSidebarComponent } from './sidebar/sidebar.component'; @Component({ selector : 'mailbox', templateUrl : './mailbox.component.html', - encapsulation: ViewEncapsulation.None + encapsulation: ViewEncapsulation.None, + standalone : true, + imports : [MatSidenavModule, MailboxSidebarComponent, RouterOutlet], }) export class MailboxComponent implements OnInit, OnDestroy { @@ -35,7 +39,8 @@ export class MailboxComponent implements OnInit, OnDestroy // Subscribe to media changes this._fuseMediaWatcherService.onMediaChange$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe(({matchingAliases}) => { + .subscribe(({matchingAliases}) => + { // Set the drawerMode and drawerOpened if the given breakpoint is active if ( matchingAliases.includes('md') ) diff --git a/src/app/modules/admin/apps/mailbox/mailbox.constants.ts b/src/app/modules/admin/apps/mailbox/mailbox.constants.ts index edb3c749..0cda2e9b 100644 --- a/src/app/modules/admin/apps/mailbox/mailbox.constants.ts +++ b/src/app/modules/admin/apps/mailbox/mailbox.constants.ts @@ -8,58 +8,58 @@ export const labelColors = [ 'blue', 'indigo', 'purple', - 'pink' + 'pink', ]; export const labelColorDefs = { gray : { text : 'text-gray-500', bg : 'bg-gray-500', - combined: 'text-gray-800 bg-gray-100' + combined: 'text-gray-800 bg-gray-100', }, red : { text : 'text-red-500', bg : 'bg-red-500', - combined: 'text-red-800 bg-red-100' + combined: 'text-red-800 bg-red-100', }, orange: { text : 'text-orange-500', bg : 'bg-orange-500', - combined: 'text-orange-800 bg-orange-100' + combined: 'text-orange-800 bg-orange-100', }, yellow: { text : 'text-yellow-500', bg : 'bg-yellow-500', - combined: 'text-yellow-800 bg-yellow-100' + combined: 'text-yellow-800 bg-yellow-100', }, green : { text : 'text-green-500', bg : 'bg-green-500', - combined: 'text-green-800 bg-green-100' + combined: 'text-green-800 bg-green-100', }, teal : { text : 'text-teal-500', bg : 'bg-teal-500', - combined: 'text-teal-800 bg-teal-100' + combined: 'text-teal-800 bg-teal-100', }, blue : { text : 'text-blue-500', bg : 'bg-blue-500', - combined: 'text-blue-800 bg-blue-100' + combined: 'text-blue-800 bg-blue-100', }, indigo: { text : 'text-indigo-500', bg : 'bg-indigo-500', - combined: 'text-indigo-800 bg-indigo-100' + combined: 'text-indigo-800 bg-indigo-100', }, purple: { text : 'text-purple-500', bg : 'bg-purple-500', - combined: 'text-purple-800 bg-purple-100' + combined: 'text-purple-800 bg-purple-100', }, pink : { text : 'text-pink-500', bg : 'bg-pink-500', - combined: 'text-pink-800 bg-pink-100' - } + combined: 'text-pink-800 bg-pink-100', + }, }; diff --git a/src/app/modules/admin/apps/mailbox/mailbox.module.ts b/src/app/modules/admin/apps/mailbox/mailbox.module.ts index 0fe6d400..6f5becd1 100644 --- a/src/app/modules/admin/apps/mailbox/mailbox.module.ts +++ b/src/app/modules/admin/apps/mailbox/mailbox.module.ts @@ -1,7 +1,7 @@ import { NgModule } from '@angular/core'; -import { RouterModule } from '@angular/router'; import { MatButtonModule } from '@angular/material/button'; import { MatCheckboxModule } from '@angular/material/checkbox'; +import { MatRippleModule } from '@angular/material/core'; import { MatDialogModule } from '@angular/material/dialog'; import { MatDividerModule } from '@angular/material/divider'; import { MatFormFieldModule } from '@angular/material/form-field'; @@ -9,34 +9,21 @@ import { MatIconModule } from '@angular/material/icon'; import { MatInputModule } from '@angular/material/input'; import { MatMenuModule } from '@angular/material/menu'; import { MatProgressBarModule } from '@angular/material/progress-bar'; -import { MatRippleModule } from '@angular/material/core'; import { MatSelectModule } from '@angular/material/select'; import { MatSidenavModule } from '@angular/material/sidenav'; -import { QuillModule } from 'ngx-quill'; -import { FuseFindByKeyPipeModule } from '@fuse/pipes/find-by-key'; -import { FuseNavigationModule } from '@fuse/components/navigation'; -import { FuseScrollbarModule } from '@fuse/directives/scrollbar'; -import { FuseScrollResetModule } from '@fuse/directives/scroll-reset'; -import { SharedModule } from 'app/shared/shared.module'; -import { MailboxComponent } from 'app/modules/admin/apps/mailbox/mailbox.component'; +import { RouterModule } from '@angular/router'; import { MailboxComposeComponent } from 'app/modules/admin/apps/mailbox/compose/compose.component'; import { MailboxDetailsComponent } from 'app/modules/admin/apps/mailbox/details/details.component'; import { MailboxEmptyDetailsComponent } from 'app/modules/admin/apps/mailbox/empty-details/empty-details.component'; import { MailboxListComponent } from 'app/modules/admin/apps/mailbox/list/list.component'; + +import { MailboxComponent } from 'app/modules/admin/apps/mailbox/mailbox.component'; +import { mailboxRoutes } from 'app/modules/admin/apps/mailbox/mailbox.routing'; import { MailboxSettingsComponent } from 'app/modules/admin/apps/mailbox/settings/settings.component'; import { MailboxSidebarComponent } from 'app/modules/admin/apps/mailbox/sidebar/sidebar.component'; -import { mailboxRoutes } from 'app/modules/admin/apps/mailbox/mailbox.routing'; +import { QuillModule } from 'ngx-quill'; @NgModule({ - declarations: [ - MailboxComponent, - MailboxComposeComponent, - MailboxDetailsComponent, - MailboxEmptyDetailsComponent, - MailboxListComponent, - MailboxSettingsComponent, - MailboxSidebarComponent - ], imports: [ RouterModule.forChild(mailboxRoutes), MatButtonModule, @@ -52,12 +39,14 @@ import { mailboxRoutes } from 'app/modules/admin/apps/mailbox/mailbox.routing'; MatSelectModule, MatSidenavModule, QuillModule.forRoot(), - FuseFindByKeyPipeModule, - FuseNavigationModule, - FuseScrollbarModule, - FuseScrollResetModule, - SharedModule, - ] + MailboxComponent, + MailboxComposeComponent, + MailboxDetailsComponent, + MailboxEmptyDetailsComponent, + MailboxListComponent, + MailboxSettingsComponent, + MailboxSidebarComponent, + ], }) export class MailboxModule { diff --git a/src/app/modules/admin/apps/mailbox/mailbox.resolvers.ts b/src/app/modules/admin/apps/mailbox/mailbox.resolvers.ts index 652285e2..8d360ee2 100644 --- a/src/app/modules/admin/apps/mailbox/mailbox.resolvers.ts +++ b/src/app/modules/admin/apps/mailbox/mailbox.resolvers.ts @@ -1,11 +1,11 @@ import { Injectable } from '@angular/core'; import { ActivatedRouteSnapshot, Resolve, Router, RouterStateSnapshot } from '@angular/router'; -import { catchError, finalize, forkJoin, Observable, throwError } from 'rxjs'; import { MailboxService } from 'app/modules/admin/apps/mailbox/mailbox.service'; import { Mail, MailFilter, MailFolder, MailLabel } from 'app/modules/admin/apps/mailbox/mailbox.types'; +import { catchError, finalize, forkJoin, Observable, throwError } from 'rxjs'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class MailboxFoldersResolver implements Resolve { @@ -33,7 +33,7 @@ export class MailboxFoldersResolver implements Resolve } @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class MailboxFiltersResolver implements Resolve { @@ -61,7 +61,7 @@ export class MailboxFiltersResolver implements Resolve } @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class MailboxLabelsResolver implements Resolve { @@ -89,7 +89,7 @@ export class MailboxLabelsResolver implements Resolve } @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class MailboxMailsResolver implements Resolve { @@ -98,7 +98,7 @@ export class MailboxMailsResolver implements Resolve */ constructor( private _mailboxService: MailboxService, - private _router: Router + private _router: Router, ) { } @@ -152,7 +152,8 @@ export class MailboxMailsResolver implements Resolve // Fork join all the sources return forkJoin(sources) .pipe( - finalize(() => { + finalize(() => + { // If there is no selected mail, reset the mail every // time mail list changes. This will ensure that the @@ -176,7 +177,8 @@ export class MailboxMailsResolver implements Resolve }), // Error here means the requested page is not available - catchError((error) => { + catchError((error) => + { // Log the error console.error(error.message); @@ -189,13 +191,13 @@ export class MailboxMailsResolver implements Resolve // Throw an error return throwError(error); - }) + }), ); } } @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class MailboxMailResolver implements Resolve { @@ -204,7 +206,7 @@ export class MailboxMailResolver implements Resolve */ constructor( private _mailboxService: MailboxService, - private _router: Router + private _router: Router, ) { } @@ -222,24 +224,25 @@ export class MailboxMailResolver implements Resolve resolve(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable { return this._mailboxService.getMailById(route.paramMap.get('id')) - .pipe( - // Error here means the requested mail is either - // not available on the requested page or not - // available at all - catchError((error) => { + .pipe( + // Error here means the requested mail is either + // not available on the requested page or not + // available at all + catchError((error) => + { - // Log the error - console.error(error); + // Log the error + console.error(error); - // Get the parent url - const parentUrl = state.url.split('/').slice(0, -1).join('/'); + // Get the parent url + const parentUrl = state.url.split('/').slice(0, -1).join('/'); - // Navigate to there - this._router.navigateByUrl(parentUrl); + // Navigate to there + this._router.navigateByUrl(parentUrl); - // Throw an error - return throwError(error); - }) - ); + // Throw an error + return throwError(error); + }), + ); } } diff --git a/src/app/modules/admin/apps/mailbox/mailbox.routing.ts b/src/app/modules/admin/apps/mailbox/mailbox.routing.ts index 5a6d952f..49898936 100644 --- a/src/app/modules/admin/apps/mailbox/mailbox.routing.ts +++ b/src/app/modules/admin/apps/mailbox/mailbox.routing.ts @@ -1,18 +1,19 @@ import { ActivatedRouteSnapshot, Route, UrlMatchResult, UrlSegment } from '@angular/router'; -import { isEqual } from 'lodash-es'; +import { MailboxDetailsComponent } from 'app/modules/admin/apps/mailbox/details/details.component'; +import { MailboxEmptyDetailsComponent } from 'app/modules/admin/apps/mailbox/empty-details/empty-details.component'; +import { MailboxListComponent } from 'app/modules/admin/apps/mailbox/list/list.component'; import { MailboxComponent } from 'app/modules/admin/apps/mailbox/mailbox.component'; import { MailboxFiltersResolver, MailboxFoldersResolver, MailboxLabelsResolver, MailboxMailResolver, MailboxMailsResolver } from 'app/modules/admin/apps/mailbox/mailbox.resolvers'; -import { MailboxListComponent } from 'app/modules/admin/apps/mailbox/list/list.component'; -import { MailboxDetailsComponent } from 'app/modules/admin/apps/mailbox/details/details.component'; import { MailboxSettingsComponent } from 'app/modules/admin/apps/mailbox/settings/settings.component'; -import { MailboxEmptyDetailsComponent } from 'app/modules/admin/apps/mailbox/empty-details/empty-details.component'; +import { isEqual } from 'lodash-es'; /** * Mailbox custom route matcher * * @param url */ -export const mailboxRouteMatcher: (url: UrlSegment[]) => UrlMatchResult = (url: UrlSegment[]) => { +export const mailboxRouteMatcher: (url: UrlSegment[]) => UrlMatchResult = (url: UrlSegment[]) => +{ // Prepare consumed url and positional parameters let consumed = url; @@ -51,11 +52,12 @@ export const mailboxRouteMatcher: (url: UrlSegment[]) => UrlMatchResult = (url: return { consumed, - posParams + posParams, }; }; -export const mailboxRunGuardsAndResolvers: (from: ActivatedRouteSnapshot, to: ActivatedRouteSnapshot) => boolean = (from: ActivatedRouteSnapshot, to: ActivatedRouteSnapshot) => { +export const mailboxRunGuardsAndResolvers: (from: ActivatedRouteSnapshot, to: ActivatedRouteSnapshot) => boolean = (from: ActivatedRouteSnapshot, to: ActivatedRouteSnapshot) => +{ // If we are navigating from mail to mails, meaning there is an id in // from's deepest first child and there isn't one in the to's, we will @@ -85,11 +87,13 @@ export const mailboxRunGuardsAndResolvers: (from: ActivatedRouteSnapshot, to: Ac const fromParams = {}; const toParams = {}; - from.paramMap.keys.forEach((key) => { + from.paramMap.keys.forEach((key) => + { fromParams[key] = from.paramMap.get(key); }); - to.paramMap.keys.forEach((key) => { + to.paramMap.keys.forEach((key) => + { toParams[key] = to.paramMap.get(key); }); @@ -106,22 +110,22 @@ export const mailboxRoutes: Route[] = [ { path : '', redirectTo: 'inbox/1', - pathMatch : 'full' + pathMatch : 'full', }, { path : 'filter/:filter', redirectTo: 'filter/:filter/1', - pathMatch : 'full' + pathMatch : 'full', }, { path : 'label/:label', redirectTo: 'label/:label/1', - pathMatch : 'full' + pathMatch : 'full', }, { path : ':folder', redirectTo: ':folder/1', - pathMatch : 'full' + pathMatch : 'full', }, { path : '', @@ -129,7 +133,7 @@ export const mailboxRoutes: Route[] = [ resolve : { filters: MailboxFiltersResolver, folders: MailboxFoldersResolver, - labels : MailboxLabelsResolver + labels : MailboxLabelsResolver, }, children : [ { @@ -137,27 +141,27 @@ export const mailboxRoutes: Route[] = [ matcher : mailboxRouteMatcher, runGuardsAndResolvers: mailboxRunGuardsAndResolvers, resolve : { - mails: MailboxMailsResolver + mails: MailboxMailsResolver, }, children : [ { path : '', pathMatch: 'full', - component: MailboxEmptyDetailsComponent + component: MailboxEmptyDetailsComponent, }, { path : ':id', component: MailboxDetailsComponent, resolve : { - mail: MailboxMailResolver - } - } - ] + mail: MailboxMailResolver, + }, + }, + ], }, { path : 'settings', - component: MailboxSettingsComponent - } - ] - } + component: MailboxSettingsComponent, + }, + ], + }, ]; diff --git a/src/app/modules/admin/apps/mailbox/mailbox.service.ts b/src/app/modules/admin/apps/mailbox/mailbox.service.ts index ac2718ca..cdc1972c 100644 --- a/src/app/modules/admin/apps/mailbox/mailbox.service.ts +++ b/src/app/modules/admin/apps/mailbox/mailbox.service.ts @@ -1,10 +1,10 @@ -import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; -import { BehaviorSubject, map, Observable, of, switchMap, take, tap, throwError } from 'rxjs'; +import { Injectable } from '@angular/core'; import { Mail, MailCategory, MailFilter, MailFolder, MailLabel } from 'app/modules/admin/apps/mailbox/mailbox.types'; +import { BehaviorSubject, map, Observable, of, switchMap, take, tap, throwError } from 'rxjs'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class MailboxService { @@ -103,9 +103,10 @@ export class MailboxService getFilters(): Observable { return this._httpClient.get('api/apps/mailbox/filters').pipe( - tap((response: any) => { + tap((response: any) => + { this._filters.next(response); - }) + }), ); } @@ -115,9 +116,10 @@ export class MailboxService getFolders(): Observable { return this._httpClient.get('api/apps/mailbox/folders').pipe( - tap((response: any) => { + tap((response: any) => + { this._folders.next(response); - }) + }), ); } @@ -127,9 +129,10 @@ export class MailboxService getLabels(): Observable { return this._httpClient.get('api/apps/mailbox/labels').pipe( - tap((response: any) => { + tap((response: any) => + { this._labels.next(response); - }) + }), ); } @@ -144,30 +147,32 @@ export class MailboxService return this._httpClient.get('api/apps/mailbox/mails', { params: { filter, - page - } + page, + }, }).pipe( - tap((response: any) => { + tap((response: any) => + { this._category.next({ type: 'filter', - name: filter + name: filter, }); this._mails.next(response.mails); this._pagination.next(response.pagination); this._mailsLoading.next(false); }), - switchMap((response) => { + switchMap((response) => + { if ( response.mails === null ) { return throwError({ message : 'Requested page is not available!', - pagination: response.pagination + pagination: response.pagination, }); } return of(response); - }) + }), ); } @@ -182,30 +187,32 @@ export class MailboxService return this._httpClient.get('api/apps/mailbox/mails', { params: { folder, - page - } + page, + }, }).pipe( - tap((response: any) => { + tap((response: any) => + { this._category.next({ type: 'folder', - name: folder + name: folder, }); this._mails.next(response.mails); this._pagination.next(response.pagination); this._mailsLoading.next(false); }), - switchMap((response) => { + switchMap((response) => + { if ( response.mails === null ) { return throwError({ message : 'Requested page is not available!', - pagination: response.pagination + pagination: response.pagination, }); } return of(response); - }) + }), ); } @@ -220,30 +227,32 @@ export class MailboxService return this._httpClient.get('api/apps/mailbox/mails', { params: { label, - page - } + page, + }, }).pipe( - tap((response: any) => { + tap((response: any) => + { this._category.next({ type: 'label', - name: label + name: label, }); this._mails.next(response.mails); this._pagination.next(response.pagination); this._mailsLoading.next(false); }), - switchMap((response) => { + switchMap((response) => + { if ( response.mails === null ) { return throwError({ message : 'Requested page is not available!', - pagination: response.pagination + pagination: response.pagination, }); } return of(response); - }) + }), ); } @@ -254,7 +263,8 @@ export class MailboxService { return this._mails.pipe( take(1), - map((mails) => { + map((mails) => + { // Find the mail const mail = mails.find(item => item.id === id) || null; @@ -265,7 +275,8 @@ export class MailboxService // Return the mail return mail; }), - switchMap((mail) => { + switchMap((mail) => + { if ( !mail ) { @@ -273,7 +284,7 @@ export class MailboxService } return of(mail); - }) + }), ); } @@ -287,14 +298,15 @@ export class MailboxService { return this._httpClient.patch('api/apps/mailbox/mail', { id, - mail + mail, }).pipe( - tap(() => { + tap(() => + { // Re-fetch the folders on mail update // to get the updated counts on the sidebar this.getFolders().subscribe(); - }) + }), ); } @@ -305,9 +317,10 @@ export class MailboxService { return of(true).pipe( take(1), - tap(() => { + tap(() => + { this._mail.next(null); - }) + }), ); } @@ -321,15 +334,16 @@ export class MailboxService return this.labels$.pipe( take(1), switchMap(labels => this._httpClient.post('api/apps/mailbox/label', {label}).pipe( - map((newLabel) => { + map((newLabel) => + { // Update the labels with the new label this._labels.next([...labels, newLabel]); // Return the new label return newLabel; - }) - )) + }), + )), ); } @@ -345,9 +359,10 @@ export class MailboxService take(1), switchMap(labels => this._httpClient.patch('api/apps/mailbox/label', { id, - label + label, }).pipe( - map((updatedLabel: any) => { + map((updatedLabel: any) => + { // Find the index of the updated label within the labels const index = labels.findIndex(item => item.id === id); @@ -360,8 +375,8 @@ export class MailboxService // Return the updated label return updatedLabel; - }) - )) + }), + )), ); } @@ -375,7 +390,8 @@ export class MailboxService return this.labels$.pipe( take(1), switchMap(labels => this._httpClient.delete('api/apps/mailbox/label', {params: {id}}).pipe( - map((isDeleted: any) => { + map((isDeleted: any) => + { // Find the index of the deleted label within the labels const index = labels.findIndex(item => item.id === id); @@ -388,8 +404,8 @@ export class MailboxService // Return the deleted status return isDeleted; - }) - )) + }), + )), ); } } diff --git a/src/app/modules/admin/apps/mailbox/settings/settings.component.ts b/src/app/modules/admin/apps/mailbox/settings/settings.component.ts index f67b2304..d121ca60 100644 --- a/src/app/modules/admin/apps/mailbox/settings/settings.component.ts +++ b/src/app/modules/admin/apps/mailbox/settings/settings.component.ts @@ -1,15 +1,24 @@ +import { NgClass, NgFor, NgIf } from '@angular/common'; import { Component, OnInit, ViewEncapsulation } from '@angular/core'; -import { UntypedFormArray, UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; -import { debounceTime, take } from 'rxjs'; +import { FormsModule, ReactiveFormsModule, UntypedFormArray, UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; +import { MatButtonModule } from '@angular/material/button'; +import { MatOptionModule } from '@angular/material/core'; +import { MatFormFieldModule } from '@angular/material/form-field'; +import { MatIconModule } from '@angular/material/icon'; +import { MatInputModule } from '@angular/material/input'; +import { MatSelectModule } from '@angular/material/select'; import { MailboxComponent } from 'app/modules/admin/apps/mailbox/mailbox.component'; +import { labelColorDefs, labelColors } from 'app/modules/admin/apps/mailbox/mailbox.constants'; import { MailboxService } from 'app/modules/admin/apps/mailbox/mailbox.service'; import { MailLabel } from 'app/modules/admin/apps/mailbox/mailbox.types'; -import { labelColorDefs, labelColors } from 'app/modules/admin/apps/mailbox/mailbox.constants'; +import { debounceTime, take } from 'rxjs'; @Component({ selector : 'mailbox-settings', templateUrl : './settings.component.html', - encapsulation: ViewEncapsulation.None + encapsulation: ViewEncapsulation.None, + standalone : true, + imports : [MatButtonModule, MatIconModule, FormsModule, ReactiveFormsModule, MatFormFieldModule, MatInputModule, MatSelectModule, NgClass, NgFor, MatOptionModule, NgIf], }) export class MailboxSettingsComponent implements OnInit { @@ -24,7 +33,7 @@ export class MailboxSettingsComponent implements OnInit constructor( public mailboxComponent: MailboxComponent, private _formBuilder: UntypedFormBuilder, - private _mailboxService: MailboxService + private _mailboxService: MailboxService, ) { } @@ -43,27 +52,29 @@ export class MailboxSettingsComponent implements OnInit labels : this._formBuilder.array([]), newLabel: this._formBuilder.group({ title: ['', Validators.required], - color: ['orange'] - }) + color: ['orange'], + }), }); // Labels this._mailboxService.labels$ .pipe(take(1)) - .subscribe((labels: MailLabel[]) => { + .subscribe((labels: MailLabel[]) => + { // Get the labels this.labels = labels; // Iterate through the labels - labels.forEach((label) => { + labels.forEach((label) => + { // Create a label form group const labelFormGroup = this._formBuilder.group({ id : [label.id], title: [label.title, Validators.required], slug : [label.slug], - color: [label.color] + color: [label.color], }); // Add the label form group to the labels form array @@ -74,7 +85,8 @@ export class MailboxSettingsComponent implements OnInit // Update labels when there is a value change this.labelsForm.get('labels').valueChanges .pipe(debounceTime(500)) - .subscribe(() => { + .subscribe(() => + { this.updateLabels(); }); } @@ -89,14 +101,15 @@ export class MailboxSettingsComponent implements OnInit addLabel(): void { // Add label to the server - this._mailboxService.addLabel(this.labelsForm.get('newLabel').value).subscribe((addedLabel) => { + this._mailboxService.addLabel(this.labelsForm.get('newLabel').value).subscribe((addedLabel) => + { // Push the new label to the labels form array (this.labelsForm.get('labels') as UntypedFormArray).push(this._formBuilder.group({ id : [addedLabel.id], title: [addedLabel.title, Validators.required], slug : [addedLabel.slug], - color: [addedLabel.color] + color: [addedLabel.color], })); // Reset the new label form @@ -129,7 +142,8 @@ export class MailboxSettingsComponent implements OnInit updateLabels(): void { // Iterate through the labels form array controls - (this.labelsForm.get('labels') as UntypedFormArray).controls.forEach((labelFormGroup) => { + (this.labelsForm.get('labels') as UntypedFormArray).controls.forEach((labelFormGroup) => + { // If the label has been edited... if ( labelFormGroup.dirty ) diff --git a/src/app/modules/admin/apps/mailbox/sidebar/sidebar.component.ts b/src/app/modules/admin/apps/mailbox/sidebar/sidebar.component.ts index eb60372f..aaea28b0 100644 --- a/src/app/modules/admin/apps/mailbox/sidebar/sidebar.component.ts +++ b/src/app/modules/admin/apps/mailbox/sidebar/sidebar.component.ts @@ -1,17 +1,21 @@ import { Component, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core'; +import { MatButtonModule } from '@angular/material/button'; import { MatDialog } from '@angular/material/dialog'; -import { Subject, takeUntil } from 'rxjs'; +import { MatIconModule } from '@angular/material/icon'; import { FuseNavigationItem, FuseNavigationService, FuseVerticalNavigationComponent } from '@fuse/components/navigation'; -import { MailboxService } from 'app/modules/admin/apps/mailbox/mailbox.service'; import { MailboxComposeComponent } from 'app/modules/admin/apps/mailbox/compose/compose.component'; import { labelColorDefs } from 'app/modules/admin/apps/mailbox/mailbox.constants'; +import { MailboxService } from 'app/modules/admin/apps/mailbox/mailbox.service'; import { MailFilter, MailFolder, MailLabel } from 'app/modules/admin/apps/mailbox/mailbox.types'; +import { Subject, takeUntil } from 'rxjs'; @Component({ selector : 'mailbox-sidebar', templateUrl : './sidebar.component.html', styleUrls : ['./sidebar.component.scss'], - encapsulation: ViewEncapsulation.None + encapsulation: ViewEncapsulation.None, + standalone : true, + imports : [MatButtonModule, MatIconModule, FuseVerticalNavigationComponent], }) export class MailboxSidebarComponent implements OnInit, OnDestroy { @@ -31,7 +35,7 @@ export class MailboxSidebarComponent implements OnInit, OnDestroy constructor( private _mailboxService: MailboxService, private _matDialog: MatDialog, - private _fuseNavigationService: FuseNavigationService + private _fuseNavigationService: FuseNavigationService, ) { } @@ -48,7 +52,8 @@ export class MailboxSidebarComponent implements OnInit, OnDestroy // Filters this._mailboxService.filters$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((filters: MailFilter[]) => { + .subscribe((filters: MailFilter[]) => + { this.filters = filters; // Generate menu links @@ -58,7 +63,8 @@ export class MailboxSidebarComponent implements OnInit, OnDestroy // Folders this._mailboxService.folders$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((folders: MailFolder[]) => { + .subscribe((folders: MailFolder[]) => + { this.folders = folders; // Generate menu links @@ -71,7 +77,8 @@ export class MailboxSidebarComponent implements OnInit, OnDestroy // Labels this._mailboxService.labels$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((labels: MailLabel[]) => { + .subscribe((labels: MailLabel[]) => + { this.labels = labels; // Generate menu links @@ -105,9 +112,10 @@ export class MailboxSidebarComponent implements OnInit, OnDestroy const dialogRef = this._matDialog.open(MailboxComposeComponent); dialogRef.afterClosed() - .subscribe((result) => { - console.log('Compose dialog was closed!'); - }); + .subscribe((result) => + { + console.log('Compose dialog was closed!'); + }); } // ----------------------------------------------------------------------------------------------------- @@ -125,7 +133,8 @@ export class MailboxSidebarComponent implements OnInit, OnDestroy this._foldersMenuData = []; // Iterate through the folders - this.folders.forEach((folder) => { + this.folders.forEach((folder) => + { // Generate menu item for the folder const menuItem: FuseNavigationItem = { @@ -133,7 +142,7 @@ export class MailboxSidebarComponent implements OnInit, OnDestroy title: folder.title, type : 'basic', icon : folder.icon, - link : '/apps/mailbox/' + folder.slug + link : '/apps/mailbox/' + folder.slug, }; // If the count is available and is bigger than zero... @@ -141,7 +150,7 @@ export class MailboxSidebarComponent implements OnInit, OnDestroy { // Add the count as a badge menuItem['badge'] = { - title: folder.count + '' + title: folder.count + '', }; } @@ -164,7 +173,8 @@ export class MailboxSidebarComponent implements OnInit, OnDestroy this._filtersMenuData = []; // Iterate through the filters - this.filters.forEach((filter) => { + this.filters.forEach((filter) => + { // Generate menu item for the filter this._filtersMenuData.push({ @@ -172,7 +182,7 @@ export class MailboxSidebarComponent implements OnInit, OnDestroy title: filter.title, type : 'basic', icon : filter.icon, - link : '/apps/mailbox/filter/' + filter.slug + link : '/apps/mailbox/filter/' + filter.slug, }); }); @@ -191,7 +201,8 @@ export class MailboxSidebarComponent implements OnInit, OnDestroy this._labelsMenuData = []; // Iterate through the labels - this.labels.forEach((label) => { + this.labels.forEach((label) => + { // Generate menu item for the label this._labelsMenuData.push({ @@ -200,9 +211,9 @@ export class MailboxSidebarComponent implements OnInit, OnDestroy type : 'basic', icon : 'heroicons_outline:tag', classes: { - icon: labelColorDefs[label.color].text + icon: labelColorDefs[label.color].text, }, - link : '/apps/mailbox/label/' + label.slug + link : '/apps/mailbox/label/' + label.slug, }); }); @@ -222,7 +233,7 @@ export class MailboxSidebarComponent implements OnInit, OnDestroy title: 'Settings', type : 'basic', icon : 'heroicons_outline:cog', - link : '/apps/mailbox/settings' + link : '/apps/mailbox/settings', }); // Update the menu data @@ -241,27 +252,27 @@ export class MailboxSidebarComponent implements OnInit, OnDestroy title : 'MAILBOXES', type : 'group', children: [ - ...this._foldersMenuData - ] + ...this._foldersMenuData, + ], }, { title : 'FILTERS', type : 'group', children: [ - ...this._filtersMenuData - ] + ...this._filtersMenuData, + ], }, { title : 'LABELS', type : 'group', children: [ - ...this._labelsMenuData - ] + ...this._labelsMenuData, + ], }, { - type: 'spacer' + type: 'spacer', }, - ...this._otherMenuData + ...this._otherMenuData, ]; } diff --git a/src/app/modules/admin/apps/notes/details/details.component.ts b/src/app/modules/admin/apps/notes/details/details.component.ts index 4fd81731..26c73951 100644 --- a/src/app/modules/admin/apps/notes/details/details.component.ts +++ b/src/app/modules/admin/apps/notes/details/details.component.ts @@ -1,14 +1,24 @@ +import { TextFieldModule } from '@angular/cdk/text-field'; +import { AsyncPipe, NgClass, NgFor, NgIf } from '@angular/common'; import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Inject, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core'; -import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; -import { debounceTime, map, Observable, of, Subject, switchMap, takeUntil } from 'rxjs'; +import { FormsModule } from '@angular/forms'; +import { MatButtonModule } from '@angular/material/button'; +import { MatCheckboxModule } from '@angular/material/checkbox'; +import { MatRippleModule } from '@angular/material/core'; +import { MAT_DIALOG_DATA, MatDialogModule, MatDialogRef } from '@angular/material/dialog'; +import { MatIconModule } from '@angular/material/icon'; +import { MatMenuModule } from '@angular/material/menu'; import { NotesService } from 'app/modules/admin/apps/notes/notes.service'; import { Label, Note, Task } from 'app/modules/admin/apps/notes/notes.types'; +import { debounceTime, map, Observable, of, Subject, switchMap, takeUntil } from 'rxjs'; @Component({ selector : 'notes-details', templateUrl : './details.component.html', encapsulation : ViewEncapsulation.None, - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone : true, + imports : [NgIf, MatButtonModule, MatIconModule, FormsModule, TextFieldModule, NgFor, MatCheckboxModule, NgClass, MatRippleModule, MatMenuModule, MatDialogModule, AsyncPipe], }) export class NotesDetailsComponent implements OnInit, OnDestroy { @@ -25,7 +35,7 @@ export class NotesDetailsComponent implements OnInit, OnDestroy private _changeDetectorRef: ChangeDetectorRef, @Inject(MAT_DIALOG_DATA) private _data: { note: Note }, private _notesService: NotesService, - private _matDialogRef: MatDialogRef + private _matDialogRef: MatDialogRef, ) { } @@ -62,7 +72,7 @@ export class NotesDetailsComponent implements OnInit, OnDestroy labels : [], archived : false, createdAt: null, - updatedAt: null + updatedAt: null, }; this.note$ = of(note); @@ -77,7 +87,8 @@ export class NotesDetailsComponent implements OnInit, OnDestroy takeUntil(this._unsubscribeAll), debounceTime(500), switchMap(note => this._notesService.updateNote(note))) - .subscribe(() => { + .subscribe(() => + { // Mark for check this._changeDetectorRef.markForCheck(); @@ -106,7 +117,8 @@ export class NotesDetailsComponent implements OnInit, OnDestroy createNote(note: Note): void { this._notesService.createNote(note).pipe( - map(() => { + map(() => + { // Get the note this.note$ = this._notesService.note$; })).subscribe(); @@ -135,7 +147,8 @@ export class NotesDetailsComponent implements OnInit, OnDestroy return; } - this._readAsDataURL(file).then((data) => { + this._readAsDataURL(file).then((data) => + { // Update the image note.image = data; @@ -287,7 +300,8 @@ export class NotesDetailsComponent implements OnInit, OnDestroy deleteNote(note: Note): void { this._notesService.deleteNote(note) - .subscribe((isDeleted) => { + .subscribe((isDeleted) => + { // Return if the note wasn't deleted... if ( !isDeleted ) @@ -323,18 +337,21 @@ export class NotesDetailsComponent implements OnInit, OnDestroy private _readAsDataURL(file: File): Promise { // Return a new promise - return new Promise((resolve, reject) => { + return new Promise((resolve, reject) => + { // Create a new reader const reader = new FileReader(); // Resolve the promise on success - reader.onload = (): void => { + reader.onload = (): void => + { resolve(reader.result); }; // Reject the promise on error - reader.onerror = (e): void => { + reader.onerror = (e): void => + { reject(e); }; diff --git a/src/app/modules/admin/apps/notes/labels/labels.component.ts b/src/app/modules/admin/apps/notes/labels/labels.component.ts index a3ca62f7..b067d59a 100644 --- a/src/app/modules/admin/apps/notes/labels/labels.component.ts +++ b/src/app/modules/admin/apps/notes/labels/labels.component.ts @@ -1,13 +1,22 @@ +import { AsyncPipe, NgFor, NgIf } from '@angular/common'; import { ChangeDetectionStrategy, ChangeDetectorRef, Component, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core'; -import { debounceTime, filter, Observable, Subject, switchMap, takeUntil } from 'rxjs'; +import { FormsModule } from '@angular/forms'; +import { MatButtonModule } from '@angular/material/button'; +import { MatDialogModule } from '@angular/material/dialog'; +import { MatFormFieldModule } from '@angular/material/form-field'; +import { MatIconModule } from '@angular/material/icon'; +import { MatInputModule } from '@angular/material/input'; import { NotesService } from 'app/modules/admin/apps/notes/notes.service'; import { Label } from 'app/modules/admin/apps/notes/notes.types'; +import { debounceTime, filter, Observable, Subject, switchMap, takeUntil } from 'rxjs'; @Component({ selector : 'notes-labels', templateUrl : './labels.component.html', encapsulation : ViewEncapsulation.None, - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone : true, + imports : [MatButtonModule, MatDialogModule, MatIconModule, MatFormFieldModule, MatInputModule, NgIf, NgFor, FormsModule, AsyncPipe], }) export class NotesLabelsComponent implements OnInit, OnDestroy { @@ -21,7 +30,7 @@ export class NotesLabelsComponent implements OnInit, OnDestroy */ constructor( private _changeDetectorRef: ChangeDetectorRef, - private _notesService: NotesService + private _notesService: NotesService, ) { } @@ -45,7 +54,8 @@ export class NotesLabelsComponent implements OnInit, OnDestroy debounceTime(500), filter(label => label.title.trim() !== ''), switchMap(label => this._notesService.updateLabel(label))) - .subscribe(() => { + .subscribe(() => + { // Mark for check this._changeDetectorRef.markForCheck(); @@ -91,7 +101,8 @@ export class NotesLabelsComponent implements OnInit, OnDestroy */ deleteLabel(id: string): void { - this._notesService.deleteLabel(id).subscribe(() => { + this._notesService.deleteLabel(id).subscribe(() => + { // Mark for check this._changeDetectorRef.markForCheck(); diff --git a/src/app/modules/admin/apps/notes/list/list.component.ts b/src/app/modules/admin/apps/notes/list/list.component.ts index 830a2597..617cde4d 100644 --- a/src/app/modules/admin/apps/notes/list/list.component.ts +++ b/src/app/modules/admin/apps/notes/list/list.component.ts @@ -1,18 +1,28 @@ +import { AsyncPipe, NgClass, NgFor, NgIf } from '@angular/common'; import { ChangeDetectionStrategy, ChangeDetectorRef, Component, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core'; +import { MatButtonModule } from '@angular/material/button'; +import { MatRippleModule } from '@angular/material/core'; import { MatDialog } from '@angular/material/dialog'; -import { BehaviorSubject, combineLatest, distinctUntilChanged, map, Observable, Subject, takeUntil } from 'rxjs'; +import { MatFormFieldModule } from '@angular/material/form-field'; +import { MatIconModule } from '@angular/material/icon'; +import { MatInputModule } from '@angular/material/input'; +import { MatSidenavModule } from '@angular/material/sidenav'; +import { FuseMasonryComponent } from '@fuse/components/masonry'; import { FuseMediaWatcherService } from '@fuse/services/media-watcher'; import { NotesDetailsComponent } from 'app/modules/admin/apps/notes/details/details.component'; import { NotesLabelsComponent } from 'app/modules/admin/apps/notes/labels/labels.component'; import { NotesService } from 'app/modules/admin/apps/notes/notes.service'; import { Label, Note } from 'app/modules/admin/apps/notes/notes.types'; import { cloneDeep } from 'lodash-es'; +import { BehaviorSubject, combineLatest, distinctUntilChanged, map, Observable, Subject, takeUntil } from 'rxjs'; @Component({ selector : 'notes-list', templateUrl : './list.component.html', encapsulation : ViewEncapsulation.None, - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone : true, + imports : [MatSidenavModule, MatRippleModule, NgClass, MatIconModule, NgIf, NgFor, MatButtonModule, MatFormFieldModule, MatInputModule, FuseMasonryComponent, AsyncPipe], }) export class NotesListComponent implements OnInit, OnDestroy { @@ -34,7 +44,7 @@ export class NotesListComponent implements OnInit, OnDestroy private _changeDetectorRef: ChangeDetectorRef, private _fuseMediaWatcherService: FuseMediaWatcherService, private _matDialog: MatDialog, - private _notesService: NotesService + private _notesService: NotesService, ) { } @@ -70,7 +80,8 @@ export class NotesListComponent implements OnInit, OnDestroy // Get notes this.notes$ = combineLatest([this._notesService.notes$, this.filter$, this.searchQuery$]).pipe( distinctUntilChanged(), - map(([notes, filter, searchQuery]) => { + map(([notes, filter, searchQuery]) => + { if ( !notes || !notes.length ) { @@ -105,13 +116,14 @@ export class NotesListComponent implements OnInit, OnDestroy } return filteredNotes; - }) + }), ); // Subscribe to media changes this._fuseMediaWatcherService.onMediaChange$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe(({matchingAliases}) => { + .subscribe(({matchingAliases}) => + { // Set the drawerMode and drawerOpened if the given breakpoint is active if ( matchingAliases.includes('lg') ) @@ -178,8 +190,8 @@ export class NotesListComponent implements OnInit, OnDestroy this._matDialog.open(NotesDetailsComponent, { autoFocus: false, data : { - note: {} - } + note: {}, + }, }); } @@ -199,8 +211,8 @@ export class NotesListComponent implements OnInit, OnDestroy this._matDialog.open(NotesDetailsComponent, { autoFocus: false, data : { - note: cloneDeep(note) - } + note: cloneDeep(note), + }, }); } diff --git a/src/app/modules/admin/apps/notes/notes.component.ts b/src/app/modules/admin/apps/notes/notes.component.ts index 249beec1..274893fa 100644 --- a/src/app/modules/admin/apps/notes/notes.component.ts +++ b/src/app/modules/admin/apps/notes/notes.component.ts @@ -1,10 +1,13 @@ import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core'; +import { RouterOutlet } from '@angular/router'; @Component({ selector : 'notes', templateUrl : './notes.component.html', encapsulation : ViewEncapsulation.None, - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone : true, + imports : [RouterOutlet], }) export class NotesComponent { diff --git a/src/app/modules/admin/apps/notes/notes.module.ts b/src/app/modules/admin/apps/notes/notes.module.ts index 1f78ec92..63eb66ae 100644 --- a/src/app/modules/admin/apps/notes/notes.module.ts +++ b/src/app/modules/admin/apps/notes/notes.module.ts @@ -1,30 +1,23 @@ import { NgModule } from '@angular/core'; -import { RouterModule } from '@angular/router'; import { MatButtonModule } from '@angular/material/button'; import { MatCheckboxModule } from '@angular/material/checkbox'; +import { MatRippleModule } from '@angular/material/core'; import { MatDialogModule } from '@angular/material/dialog'; import { MatFormFieldModule } from '@angular/material/form-field'; import { MatIconModule } from '@angular/material/icon'; import { MatInputModule } from '@angular/material/input'; import { MatMenuModule } from '@angular/material/menu'; -import { MatRippleModule } from '@angular/material/core'; import { MatSidenavModule } from '@angular/material/sidenav'; -import { FuseMasonryModule } from '@fuse/components/masonry'; -import { SharedModule } from 'app/shared/shared.module'; -import { NotesComponent } from 'app/modules/admin/apps/notes/notes.component'; +import { RouterModule } from '@angular/router'; import { NotesDetailsComponent } from 'app/modules/admin/apps/notes/details/details.component'; -import { NotesListComponent } from 'app/modules/admin/apps/notes/list/list.component'; import { NotesLabelsComponent } from 'app/modules/admin/apps/notes/labels/labels.component'; +import { NotesListComponent } from 'app/modules/admin/apps/notes/list/list.component'; + +import { NotesComponent } from 'app/modules/admin/apps/notes/notes.component'; import { notesRoutes } from 'app/modules/admin/apps/notes/notes.routing'; @NgModule({ - declarations: [ - NotesComponent, - NotesDetailsComponent, - NotesListComponent, - NotesLabelsComponent - ], - imports : [ + imports: [ RouterModule.forChild(notesRoutes), MatButtonModule, MatCheckboxModule, @@ -35,9 +28,11 @@ import { notesRoutes } from 'app/modules/admin/apps/notes/notes.routing'; MatMenuModule, MatRippleModule, MatSidenavModule, - FuseMasonryModule, - SharedModule - ] + NotesComponent, + NotesDetailsComponent, + NotesListComponent, + NotesLabelsComponent, + ], }) export class NotesModule { diff --git a/src/app/modules/admin/apps/notes/notes.routing.ts b/src/app/modules/admin/apps/notes/notes.routing.ts index 52c872e0..b9c8fcaf 100644 --- a/src/app/modules/admin/apps/notes/notes.routing.ts +++ b/src/app/modules/admin/apps/notes/notes.routing.ts @@ -1,6 +1,6 @@ import { Route } from '@angular/router'; -import { NotesComponent } from 'app/modules/admin/apps/notes/notes.component'; import { NotesListComponent } from 'app/modules/admin/apps/notes/list/list.component'; +import { NotesComponent } from 'app/modules/admin/apps/notes/notes.component'; export const notesRoutes: Route[] = [ { @@ -9,8 +9,8 @@ export const notesRoutes: Route[] = [ children : [ { path : '', - component: NotesListComponent - } - ] - } + component: NotesListComponent, + }, + ], + }, ]; diff --git a/src/app/modules/admin/apps/notes/notes.service.ts b/src/app/modules/admin/apps/notes/notes.service.ts index 2c0bbe40..7535c881 100644 --- a/src/app/modules/admin/apps/notes/notes.service.ts +++ b/src/app/modules/admin/apps/notes/notes.service.ts @@ -1,11 +1,11 @@ -import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; -import { BehaviorSubject, map, Observable, of, switchMap, take, tap, throwError } from 'rxjs'; +import { Injectable } from '@angular/core'; import { Label, Note } from 'app/modules/admin/apps/notes/notes.types'; import { cloneDeep } from 'lodash-es'; +import { BehaviorSubject, map, Observable, of, switchMap, take, tap, throwError } from 'rxjs'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class NotesService { @@ -59,9 +59,10 @@ export class NotesService getLabels(): Observable { return this._httpClient.get('api/apps/notes/labels').pipe( - tap((response: Label[]) => { + tap((response: Label[]) => + { this._labels.next(response); - }) + }), ); } @@ -73,11 +74,12 @@ export class NotesService addLabel(title: string): Observable { return this._httpClient.post('api/apps/notes/labels', {title}).pipe( - tap((labels) => { + tap((labels) => + { // Update the labels this._labels.next(labels); - }) + }), ); } @@ -89,14 +91,15 @@ export class NotesService updateLabel(label: Label): Observable { return this._httpClient.patch('api/apps/notes/labels', {label}).pipe( - tap((labels) => { + tap((labels) => + { // Update the notes this.getNotes().subscribe(); // Update the labels this._labels.next(labels); - }) + }), ); } @@ -108,14 +111,15 @@ export class NotesService deleteLabel(id: string): Observable { return this._httpClient.delete('api/apps/notes/labels', {params: {id}}).pipe( - tap((labels) => { + tap((labels) => + { // Update the notes this.getNotes().subscribe(); // Update the labels this._labels.next(labels); - }) + }), ); } @@ -125,9 +129,10 @@ export class NotesService getNotes(): Observable { return this._httpClient.get('api/apps/notes/all').pipe( - tap((response: Note[]) => { + tap((response: Note[]) => + { this._notes.next(response); - }) + }), ); } @@ -138,7 +143,8 @@ export class NotesService { return this._notes.pipe( take(1), - map((notes) => { + map((notes) => + { // Find within the folders and files const note = notes.find(value => value.id === id) || null; @@ -149,7 +155,8 @@ export class NotesService // Return the note return note; }), - switchMap((note) => { + switchMap((note) => + { if ( !note ) { @@ -157,7 +164,7 @@ export class NotesService } return of(note); - }) + }), ); } @@ -171,9 +178,9 @@ export class NotesService { return this._httpClient.post('api/apps/notes/tasks', { note, - task + task, }).pipe(switchMap(() => this.getNotes().pipe( - switchMap(() => this.getNoteById(note.id)) + switchMap(() => this.getNoteById(note.id)), ))); } @@ -187,8 +194,8 @@ export class NotesService return this._httpClient.post('api/apps/notes', {note}).pipe( switchMap(response => this.getNotes().pipe( switchMap(() => this.getNoteById(response.id).pipe( - map(() => response) - )) + map(() => response), + )), ))); } @@ -209,11 +216,12 @@ export class NotesService } return this._httpClient.patch('api/apps/notes', {updatedNote}).pipe( - tap((response) => { + tap((response) => + { // Update the notes this.getNotes().subscribe(); - }) + }), ); } @@ -225,14 +233,15 @@ export class NotesService deleteNote(note: Note): Observable { return this._httpClient.delete('api/apps/notes', {params: {id: note.id}}).pipe( - map((isDeleted: boolean) => { + map((isDeleted: boolean) => + { // Update the notes this.getNotes().subscribe(); // Return the deleted status return isDeleted; - }) + }), ); } } diff --git a/src/app/modules/admin/apps/scrumboard/board/add-card/add-card.component.ts b/src/app/modules/admin/apps/scrumboard/board/add-card/add-card.component.ts index 27d64936..4a0eeeb1 100644 --- a/src/app/modules/admin/apps/scrumboard/board/add-card/add-card.component.ts +++ b/src/app/modules/admin/apps/scrumboard/board/add-card/add-card.component.ts @@ -1,12 +1,17 @@ +import { CdkTextareaAutosize, TextFieldModule } from '@angular/cdk/text-field'; +import { NgClass } from '@angular/common'; import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, EventEmitter, Input, OnInit, Output, ViewChild, ViewEncapsulation } from '@angular/core'; -import { CdkTextareaAutosize } from '@angular/cdk/text-field'; -import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms'; +import { FormsModule, ReactiveFormsModule, UntypedFormBuilder, UntypedFormGroup } from '@angular/forms'; +import { MatButtonModule } from '@angular/material/button'; +import { MatIconModule } from '@angular/material/icon'; @Component({ selector : 'scrumboard-board-add-card', templateUrl : './add-card.component.html', encapsulation : ViewEncapsulation.None, - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone : true, + imports : [MatButtonModule, NgClass, MatIconModule, FormsModule, ReactiveFormsModule, TextFieldModule], }) export class ScrumboardBoardAddCardComponent implements OnInit { @@ -23,7 +28,7 @@ export class ScrumboardBoardAddCardComponent implements OnInit */ constructor( private _changeDetectorRef: ChangeDetectorRef, - private _formBuilder: UntypedFormBuilder + private _formBuilder: UntypedFormBuilder, ) { } @@ -39,7 +44,7 @@ export class ScrumboardBoardAddCardComponent implements OnInit { // Initialize the new list form this.form = this._formBuilder.group({ - title: [''] + title: [''], }); } @@ -69,7 +74,8 @@ export class ScrumboardBoardAddCardComponent implements OnInit this.form.get('title').setValue(''); // Reset the size of the textarea - setTimeout(() => { + setTimeout(() => + { this.titleInput.nativeElement.value = ''; this.titleAutosize.reset(); }); diff --git a/src/app/modules/admin/apps/scrumboard/board/add-list/add-list.component.ts b/src/app/modules/admin/apps/scrumboard/board/add-list/add-list.component.ts index 58e8b4b5..434168c1 100644 --- a/src/app/modules/admin/apps/scrumboard/board/add-list/add-list.component.ts +++ b/src/app/modules/admin/apps/scrumboard/board/add-list/add-list.component.ts @@ -1,11 +1,16 @@ +import { NgClass } from '@angular/common'; import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, EventEmitter, Input, OnInit, Output, ViewChild, ViewEncapsulation } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms'; +import { FormsModule, ReactiveFormsModule, UntypedFormBuilder, UntypedFormGroup } from '@angular/forms'; +import { MatButtonModule } from '@angular/material/button'; +import { MatIconModule } from '@angular/material/icon'; @Component({ selector : 'scrumboard-board-add-list', templateUrl : './add-list.component.html', encapsulation : ViewEncapsulation.None, - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone : true, + imports : [MatButtonModule, NgClass, MatIconModule, FormsModule, ReactiveFormsModule], }) export class ScrumboardBoardAddListComponent implements OnInit { @@ -21,7 +26,7 @@ export class ScrumboardBoardAddListComponent implements OnInit */ constructor( private _changeDetectorRef: ChangeDetectorRef, - private _formBuilder: UntypedFormBuilder + private _formBuilder: UntypedFormBuilder, ) { } @@ -37,7 +42,7 @@ export class ScrumboardBoardAddListComponent implements OnInit { // Initialize the new list form this.form = this._formBuilder.group({ - title: [''] + title: [''], }); } diff --git a/src/app/modules/admin/apps/scrumboard/board/board.component.ts b/src/app/modules/admin/apps/scrumboard/board/board.component.ts index 3ddb3a55..236fbdee 100644 --- a/src/app/modules/admin/apps/scrumboard/board/board.component.ts +++ b/src/app/modules/admin/apps/scrumboard/board/board.component.ts @@ -1,18 +1,28 @@ +import { CdkDrag, CdkDragDrop, CdkDragHandle, CdkDropList, CdkDropListGroup, moveItemInArray, transferArrayItem } from '@angular/cdk/drag-drop'; +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { DatePipe, NgClass, NgFor, NgIf } from '@angular/common'; import { ChangeDetectionStrategy, ChangeDetectorRef, Component, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core'; import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms'; -import { CdkDragDrop, moveItemInArray, transferArrayItem } from '@angular/cdk/drag-drop'; -import { Subject, takeUntil } from 'rxjs'; -import { DateTime } from 'luxon'; +import { MatButtonModule } from '@angular/material/button'; +import { MatIconModule } from '@angular/material/icon'; +import { MatMenuModule } from '@angular/material/menu'; +import { RouterLink, RouterOutlet } from '@angular/router'; import { FuseConfirmationService } from '@fuse/services/confirmation'; -import { ScrumboardService } from 'app/modules/admin/apps/scrumboard/scrumboard.service'; import { Board, Card, List } from 'app/modules/admin/apps/scrumboard/scrumboard.models'; +import { ScrumboardService } from 'app/modules/admin/apps/scrumboard/scrumboard.service'; +import { DateTime } from 'luxon'; +import { Subject, takeUntil } from 'rxjs'; +import { ScrumboardBoardAddCardComponent } from './add-card/add-card.component'; +import { ScrumboardBoardAddListComponent } from './add-list/add-list.component'; @Component({ selector : 'scrumboard-board', templateUrl : './board.component.html', styleUrls : ['./board.component.scss'], encapsulation : ViewEncapsulation.None, - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone : true, + imports : [MatButtonModule, RouterLink, MatIconModule, CdkScrollable, CdkDropList, CdkDropListGroup, NgFor, CdkDrag, CdkDragHandle, MatMenuModule, NgIf, NgClass, ScrumboardBoardAddCardComponent, ScrumboardBoardAddListComponent, RouterOutlet, DatePipe], }) export class ScrumboardBoardComponent implements OnInit, OnDestroy { @@ -32,7 +42,7 @@ export class ScrumboardBoardComponent implements OnInit, OnDestroy private _changeDetectorRef: ChangeDetectorRef, private _formBuilder: UntypedFormBuilder, private _fuseConfirmationService: FuseConfirmationService, - private _scrumboardService: ScrumboardService + private _scrumboardService: ScrumboardService, ) { } @@ -48,13 +58,14 @@ export class ScrumboardBoardComponent implements OnInit, OnDestroy { // Initialize the list title form this.listTitleForm = this._formBuilder.group({ - title: [''] + title: [''], }); // Get the board this._scrumboardService.board$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((board: Board) => { + .subscribe((board: Board) => + { this.board = {...board}; // Mark for check @@ -84,7 +95,8 @@ export class ScrumboardBoardComponent implements OnInit, OnDestroy renameList(listTitleInput: HTMLElement): void { // Use timeout so it can wait for menu to close - setTimeout(() => { + setTimeout(() => + { listTitleInput.focus(); }); } @@ -106,7 +118,7 @@ export class ScrumboardBoardComponent implements OnInit, OnDestroy const list = new List({ boardId : this.board.id, position: this.board.lists.length ? this.board.lists[this.board.lists.length - 1].position + this._positionStep : this._positionStep, - title : title + title : title, }); // Save the list @@ -155,13 +167,14 @@ export class ScrumboardBoardComponent implements OnInit, OnDestroy message: 'Are you sure you want to delete this list and its cards? This action cannot be undone!', actions: { confirm: { - label: 'Delete' - } - } + label: 'Delete', + }, + }, }); // Subscribe to the confirmation dialog closed action - confirmation.afterClosed().subscribe((result) => { + confirmation.afterClosed().subscribe((result) => + { // If the confirm button pressed... if ( result === 'confirmed' ) @@ -183,7 +196,7 @@ export class ScrumboardBoardComponent implements OnInit, OnDestroy boardId : this.board.id, listId : list.id, position: list.cards.length ? list.cards[list.cards.length - 1].position + this._positionStep : this._positionStep, - title : title + title : title, }); // Save the card @@ -304,7 +317,8 @@ export class ScrumboardBoardComponent implements OnInit, OnDestroy if ( !Number.isInteger(currentItem.position) || currentItem.position >= this._maxPosition ) { // Re-calculate all orders - items = items.map((value, index) => { + items = items.map((value, index) => + { value.position = (index + 1) * this._positionStep; return value; }); diff --git a/src/app/modules/admin/apps/scrumboard/boards/boards.component.ts b/src/app/modules/admin/apps/scrumboard/boards/boards.component.ts index 58ffd14e..3f68b195 100644 --- a/src/app/modules/admin/apps/scrumboard/boards/boards.component.ts +++ b/src/app/modules/admin/apps/scrumboard/boards/boards.component.ts @@ -1,14 +1,20 @@ +import { CdkScrollable } from '@angular/cdk/scrolling'; +import { NgFor, NgIf } from '@angular/common'; import { ChangeDetectionStrategy, ChangeDetectorRef, Component, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core'; -import { Subject, takeUntil } from 'rxjs'; -import { DateTime } from 'luxon'; +import { MatIconModule } from '@angular/material/icon'; +import { RouterLink } from '@angular/router'; import { Board } from 'app/modules/admin/apps/scrumboard/scrumboard.models'; import { ScrumboardService } from 'app/modules/admin/apps/scrumboard/scrumboard.service'; +import { DateTime } from 'luxon'; +import { Subject, takeUntil } from 'rxjs'; @Component({ selector : 'scrumboard-boards', templateUrl : './boards.component.html', encapsulation : ViewEncapsulation.None, - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone : true, + imports : [CdkScrollable, NgFor, RouterLink, MatIconModule, NgIf], }) export class ScrumboardBoardsComponent implements OnInit, OnDestroy { @@ -22,7 +28,7 @@ export class ScrumboardBoardsComponent implements OnInit, OnDestroy */ constructor( private _changeDetectorRef: ChangeDetectorRef, - private _scrumboardService: ScrumboardService + private _scrumboardService: ScrumboardService, ) { } @@ -39,7 +45,8 @@ export class ScrumboardBoardsComponent implements OnInit, OnDestroy // Get the boards this._scrumboardService.boards$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((boards: Board[]) => { + .subscribe((boards: Board[]) => + { this.boards = boards; // Mark for check diff --git a/src/app/modules/admin/apps/scrumboard/card/card.component.ts b/src/app/modules/admin/apps/scrumboard/card/card.component.ts index db9fe147..aeea1a6a 100644 --- a/src/app/modules/admin/apps/scrumboard/card/card.component.ts +++ b/src/app/modules/admin/apps/scrumboard/card/card.component.ts @@ -1,13 +1,14 @@ import { ChangeDetectionStrategy, Component, OnInit, ViewEncapsulation } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; -import { ScrumboardCardDetailsComponent } from 'app/modules/admin/apps/scrumboard/card/details/details.component'; import { ActivatedRoute, Router } from '@angular/router'; +import { ScrumboardCardDetailsComponent } from 'app/modules/admin/apps/scrumboard/card/details/details.component'; @Component({ selector : 'scrumboard-card', templateUrl : './card.component.html', encapsulation : ViewEncapsulation.None, - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone : true, }) export class ScrumboardCardComponent implements OnInit { @@ -17,7 +18,7 @@ export class ScrumboardCardComponent implements OnInit constructor( private _activatedRoute: ActivatedRoute, private _matDialog: MatDialog, - private _router: Router + private _router: Router, ) { } @@ -34,9 +35,10 @@ export class ScrumboardCardComponent implements OnInit // Launch the modal this._matDialog.open(ScrumboardCardDetailsComponent, {autoFocus: false}) .afterClosed() - .subscribe(() => { + .subscribe(() => + { - // Go up twice because card routes are setup like this; "card/CARD_ID" + // Go up twice because card routes are set up like this; "card/CARD_ID" this._router.navigate(['./../..'], {relativeTo: this._activatedRoute}); }); } diff --git a/src/app/modules/admin/apps/scrumboard/card/details/details.component.ts b/src/app/modules/admin/apps/scrumboard/card/details/details.component.ts index 460633c4..e8439dc0 100644 --- a/src/app/modules/admin/apps/scrumboard/card/details/details.component.ts +++ b/src/app/modules/admin/apps/scrumboard/card/details/details.component.ts @@ -1,18 +1,27 @@ +import { TextFieldModule } from '@angular/cdk/text-field'; +import { DatePipe, NgClass, NgFor, NgIf } from '@angular/common'; import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, OnDestroy, OnInit, ViewChild, ViewEncapsulation } from '@angular/core'; -import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; -import { MatCheckboxChange } from '@angular/material/checkbox'; +import { FormsModule, ReactiveFormsModule, UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; +import { MatButtonModule } from '@angular/material/button'; +import { MatCheckboxChange, MatCheckboxModule } from '@angular/material/checkbox'; +import { MatDatepickerModule } from '@angular/material/datepicker'; import { MatDialogRef } from '@angular/material/dialog'; -import { debounceTime, Subject, takeUntil, tap } from 'rxjs'; +import { MatFormFieldModule } from '@angular/material/form-field'; +import { MatIconModule } from '@angular/material/icon'; +import { MatInputModule } from '@angular/material/input'; +import { Board, Card, Label } from 'app/modules/admin/apps/scrumboard/scrumboard.models'; +import { ScrumboardService } from 'app/modules/admin/apps/scrumboard/scrumboard.service'; import { assign } from 'lodash-es'; import { DateTime } from 'luxon'; -import { ScrumboardService } from 'app/modules/admin/apps/scrumboard/scrumboard.service'; -import { Board, Card, Label } from 'app/modules/admin/apps/scrumboard/scrumboard.models'; +import { debounceTime, Subject, takeUntil, tap } from 'rxjs'; @Component({ selector : 'scrumboard-card-details', templateUrl : './details.component.html', encapsulation : ViewEncapsulation.None, - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone : true, + imports : [MatButtonModule, MatIconModule, FormsModule, ReactiveFormsModule, MatFormFieldModule, MatInputModule, TextFieldModule, NgClass, NgIf, MatDatepickerModule, NgFor, MatCheckboxModule, DatePipe], }) export class ScrumboardCardDetailsComponent implements OnInit, OnDestroy { @@ -33,7 +42,7 @@ export class ScrumboardCardDetailsComponent implements OnInit, OnDestroy public matDialogRef: MatDialogRef, private _changeDetectorRef: ChangeDetectorRef, private _formBuilder: UntypedFormBuilder, - private _scrumboardService: ScrumboardService + private _scrumboardService: ScrumboardService, ) { } @@ -50,7 +59,8 @@ export class ScrumboardCardDetailsComponent implements OnInit, OnDestroy // Get the board this._scrumboardService.board$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((board) => { + .subscribe((board) => + { // Board data this.board = board; @@ -62,7 +72,8 @@ export class ScrumboardCardDetailsComponent implements OnInit, OnDestroy // Get the card details this._scrumboardService.card$ .pipe(takeUntil(this._unsubscribeAll)) - .subscribe((card) => { + .subscribe((card) => + { this.card = card; }); @@ -72,7 +83,7 @@ export class ScrumboardCardDetailsComponent implements OnInit, OnDestroy title : ['', Validators.required], description: [''], labels : [[]], - dueDate : [null] + dueDate : [null], }); // Fill the form @@ -81,21 +92,23 @@ export class ScrumboardCardDetailsComponent implements OnInit, OnDestroy title : this.card.title, description: this.card.description, labels : this.card.labels, - dueDate : this.card.dueDate + dueDate : this.card.dueDate, }); // Update card when there is a value change on the card form this.cardForm.valueChanges .pipe( - tap((value) => { + tap((value) => + { // Update the card object this.card = assign(this.card, value); }), debounceTime(300), - takeUntil(this._unsubscribeAll) + takeUntil(this._unsubscribeAll), ) - .subscribe((value) => { + .subscribe((value) => + { // Update the card on the server this._scrumboardService.updateCard(value.id, value).subscribe(); @@ -263,18 +276,21 @@ export class ScrumboardCardDetailsComponent implements OnInit, OnDestroy private _readAsDataURL(file: File): Promise { // Return a new promise - return new Promise((resolve, reject) => { + return new Promise((resolve, reject) => + { // Create a new reader const reader = new FileReader(); // Resolve the promise on success - reader.onload = (): void => { + reader.onload = (): void => + { resolve(reader.result); }; // Reject the promise on error - reader.onerror = (e): void => { + reader.onerror = (e): void => + { reject(e); }; diff --git a/src/app/modules/admin/apps/scrumboard/scrumboard.component.ts b/src/app/modules/admin/apps/scrumboard/scrumboard.component.ts index 2a42579b..e3abd99a 100644 --- a/src/app/modules/admin/apps/scrumboard/scrumboard.component.ts +++ b/src/app/modules/admin/apps/scrumboard/scrumboard.component.ts @@ -1,10 +1,13 @@ import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core'; +import { RouterOutlet } from '@angular/router'; @Component({ selector : 'scrumboard', templateUrl : './scrumboard.component.html', encapsulation : ViewEncapsulation.None, - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone : true, + imports : [RouterOutlet], }) export class ScrumboardComponent { diff --git a/src/app/modules/admin/apps/scrumboard/scrumboard.models.ts b/src/app/modules/admin/apps/scrumboard/scrumboard.models.ts index e0e4b607..5b5664a9 100644 --- a/src/app/modules/admin/apps/scrumboard/scrumboard.models.ts +++ b/src/app/modules/admin/apps/scrumboard/scrumboard.models.ts @@ -31,7 +31,8 @@ export class Board implements Required // Lists if ( board.lists ) { - this.lists = board.lists.map((list) => { + this.lists = board.lists.map((list) => + { if ( !(list instanceof List) ) { return new List(list); @@ -44,7 +45,8 @@ export class Board implements Required // Labels if ( board.labels ) { - this.labels = board.labels.map((label) => { + this.labels = board.labels.map((label) => + { if ( !(label instanceof Label) ) { return new Label(label); @@ -57,7 +59,8 @@ export class Board implements Required // Members if ( board.members ) { - this.members = board.members.map((member) => { + this.members = board.members.map((member) => + { if ( !(member instanceof Member) ) { return new Member(member); @@ -94,7 +97,8 @@ export class List implements Required // Cards if ( list.cards ) { - this.cards = list.cards.map((card) => { + this.cards = list.cards.map((card) => + { if ( !(card instanceof Card) ) { return new Card(card); @@ -137,7 +141,8 @@ export class Card implements Required // Labels if ( card.labels ) { - this.labels = card.labels.map((label) => { + this.labels = card.labels.map((label) => + { if ( !(label instanceof Label) ) { return new Label(label); diff --git a/src/app/modules/admin/apps/scrumboard/scrumboard.module.ts b/src/app/modules/admin/apps/scrumboard/scrumboard.module.ts index a92134c0..0d620956 100644 --- a/src/app/modules/admin/apps/scrumboard/scrumboard.module.ts +++ b/src/app/modules/admin/apps/scrumboard/scrumboard.module.ts @@ -1,38 +1,29 @@ -import { NgModule } from '@angular/core'; -import { RouterModule } from '@angular/router'; import { DragDropModule } from '@angular/cdk/drag-drop'; +import { NgModule } from '@angular/core'; +import { MAT_LUXON_DATE_FORMATS, MatLuxonDateModule } from '@angular/material-luxon-adapter'; import { MatButtonModule } from '@angular/material/button'; import { MatCheckboxModule } from '@angular/material/checkbox'; -import { MatDialogModule } from '@angular/material/dialog'; import { MAT_DATE_FORMATS } from '@angular/material/core'; import { MatDatepickerModule } from '@angular/material/datepicker'; +import { MatDialogModule } from '@angular/material/dialog'; import { MatFormFieldModule } from '@angular/material/form-field'; import { MatIconModule } from '@angular/material/icon'; import { MatInputModule } from '@angular/material/input'; -import { MatLuxonDateModule, MAT_LUXON_DATE_FORMATS } from '@angular/material-luxon-adapter'; import { MatMenuModule } from '@angular/material/menu'; import { MatProgressBarModule } from '@angular/material/progress-bar'; -import { SharedModule } from 'app/shared/shared.module'; -import { ScrumboardComponent } from 'app/modules/admin/apps/scrumboard/scrumboard.component'; -import { ScrumboardBoardsComponent } from 'app/modules/admin/apps/scrumboard/boards/boards.component'; -import { ScrumboardBoardComponent } from 'app/modules/admin/apps/scrumboard/board/board.component'; +import { RouterModule } from '@angular/router'; import { ScrumboardBoardAddCardComponent } from 'app/modules/admin/apps/scrumboard/board/add-card/add-card.component'; import { ScrumboardBoardAddListComponent } from 'app/modules/admin/apps/scrumboard/board/add-list/add-list.component'; +import { ScrumboardBoardComponent } from 'app/modules/admin/apps/scrumboard/board/board.component'; +import { ScrumboardBoardsComponent } from 'app/modules/admin/apps/scrumboard/boards/boards.component'; import { ScrumboardCardComponent } from 'app/modules/admin/apps/scrumboard/card/card.component'; import { ScrumboardCardDetailsComponent } from 'app/modules/admin/apps/scrumboard/card/details/details.component'; + +import { ScrumboardComponent } from 'app/modules/admin/apps/scrumboard/scrumboard.component'; import { scrumboardRoutes } from 'app/modules/admin/apps/scrumboard/scrumboard.routing'; @NgModule({ - declarations: [ - ScrumboardComponent, - ScrumboardBoardsComponent, - ScrumboardBoardComponent, - ScrumboardBoardAddCardComponent, - ScrumboardBoardAddListComponent, - ScrumboardCardComponent, - ScrumboardCardDetailsComponent - ], - imports : [ + imports : [ RouterModule.forChild(scrumboardRoutes), DragDropModule, MatButtonModule, @@ -45,14 +36,20 @@ import { scrumboardRoutes } from 'app/modules/admin/apps/scrumboard/scrumboard.r MatLuxonDateModule, MatMenuModule, MatProgressBarModule, - SharedModule + ScrumboardComponent, + ScrumboardBoardsComponent, + ScrumboardBoardComponent, + ScrumboardBoardAddCardComponent, + ScrumboardBoardAddListComponent, + ScrumboardCardComponent, + ScrumboardCardDetailsComponent, ], - providers : [ + providers: [ { provide : MAT_DATE_FORMATS, - useValue: MAT_LUXON_DATE_FORMATS - } - ] + useValue: MAT_LUXON_DATE_FORMATS, + }, + ], }) export class ScrumboardModule { diff --git a/src/app/modules/admin/apps/scrumboard/scrumboard.resolvers.ts b/src/app/modules/admin/apps/scrumboard/scrumboard.resolvers.ts index 7e4013fd..b0ba6e84 100644 --- a/src/app/modules/admin/apps/scrumboard/scrumboard.resolvers.ts +++ b/src/app/modules/admin/apps/scrumboard/scrumboard.resolvers.ts @@ -1,11 +1,11 @@ import { Injectable } from '@angular/core'; import { ActivatedRouteSnapshot, Resolve, Router, RouterStateSnapshot } from '@angular/router'; -import { catchError, Observable, throwError } from 'rxjs'; import { Board, Card } from 'app/modules/admin/apps/scrumboard/scrumboard.models'; import { ScrumboardService } from 'app/modules/admin/apps/scrumboard/scrumboard.service'; +import { catchError, Observable, throwError } from 'rxjs'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class ScrumboardBoardsResolver implements Resolve { @@ -13,7 +13,7 @@ export class ScrumboardBoardsResolver implements Resolve * Constructor */ constructor( - private _scrumboardService: ScrumboardService + private _scrumboardService: ScrumboardService, ) { } @@ -35,7 +35,7 @@ export class ScrumboardBoardsResolver implements Resolve } @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class ScrumboardBoardResolver implements Resolve { @@ -44,7 +44,7 @@ export class ScrumboardBoardResolver implements Resolve */ constructor( private _router: Router, - private _scrumboardService: ScrumboardService + private _scrumboardService: ScrumboardService, ) { } @@ -62,28 +62,29 @@ export class ScrumboardBoardResolver implements Resolve resolve(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable { return this._scrumboardService.getBoard(route.paramMap.get('boardId')) - .pipe( - // Error here means the requested task is not available - catchError((error) => { + .pipe( + // Error here means the requested task is not available + catchError((error) => + { - // Log the error - console.error(error); + // Log the error + console.error(error); - // Get the parent url - const parentUrl = state.url.split('/').slice(0, -1).join('/'); + // Get the parent url + const parentUrl = state.url.split('/').slice(0, -1).join('/'); - // Navigate to there - this._router.navigateByUrl(parentUrl); + // Navigate to there + this._router.navigateByUrl(parentUrl); - // Throw an error - return throwError(error); - }) - ); + // Throw an error + return throwError(error); + }), + ); } } @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class ScrumboardCardResolver implements Resolve { @@ -92,7 +93,7 @@ export class ScrumboardCardResolver implements Resolve */ constructor( private _router: Router, - private _scrumboardService: ScrumboardService + private _scrumboardService: ScrumboardService, ) { } @@ -110,22 +111,23 @@ export class ScrumboardCardResolver implements Resolve resolve(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable { return this._scrumboardService.getCard(route.paramMap.get('cardId')) - .pipe( - // Error here means the requested task is not available - catchError((error) => { + .pipe( + // Error here means the requested task is not available + catchError((error) => + { - // Log the error - console.error(error); + // Log the error + console.error(error); - // Get the parent url - const parentUrl = state.url.split('/').slice(0, -1).join('/'); + // Get the parent url + const parentUrl = state.url.split('/').slice(0, -1).join('/'); - // Navigate to there - this._router.navigateByUrl(parentUrl); + // Navigate to there + this._router.navigateByUrl(parentUrl); - // Throw an error - return throwError(error); - }) - ); + // Throw an error + return throwError(error); + }), + ); } } diff --git a/src/app/modules/admin/apps/scrumboard/scrumboard.routing.ts b/src/app/modules/admin/apps/scrumboard/scrumboard.routing.ts index 781d0ca2..61f9a15b 100644 --- a/src/app/modules/admin/apps/scrumboard/scrumboard.routing.ts +++ b/src/app/modules/admin/apps/scrumboard/scrumboard.routing.ts @@ -1,31 +1,31 @@ import { Route } from '@angular/router'; -import { ScrumboardBoardsComponent } from 'app/modules/admin/apps/scrumboard/boards/boards.component'; -import { ScrumboardBoardResolver, ScrumboardBoardsResolver, ScrumboardCardResolver } from 'app/modules/admin/apps/scrumboard/scrumboard.resolvers'; import { ScrumboardBoardComponent } from 'app/modules/admin/apps/scrumboard/board/board.component'; +import { ScrumboardBoardsComponent } from 'app/modules/admin/apps/scrumboard/boards/boards.component'; import { ScrumboardCardComponent } from 'app/modules/admin/apps/scrumboard/card/card.component'; +import { ScrumboardBoardResolver, ScrumboardBoardsResolver, ScrumboardCardResolver } from 'app/modules/admin/apps/scrumboard/scrumboard.resolvers'; export const scrumboardRoutes: Route[] = [ { path : '', component: ScrumboardBoardsComponent, resolve : { - boards: ScrumboardBoardsResolver - } + boards: ScrumboardBoardsResolver, + }, }, { path : ':boardId', component: ScrumboardBoardComponent, resolve : { - board: ScrumboardBoardResolver + board: ScrumboardBoardResolver, }, children : [ { path : 'card/:cardId', component: ScrumboardCardComponent, resolve : { - card: ScrumboardCardResolver - } - } - ] - } + card: ScrumboardCardResolver, + }, + }, + ], + }, ]; diff --git a/src/app/modules/admin/apps/scrumboard/scrumboard.service.ts b/src/app/modules/admin/apps/scrumboard/scrumboard.service.ts index c2c7fb52..cf38dc87 100644 --- a/src/app/modules/admin/apps/scrumboard/scrumboard.service.ts +++ b/src/app/modules/admin/apps/scrumboard/scrumboard.service.ts @@ -1,10 +1,10 @@ -import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; -import { BehaviorSubject, map, Observable, of, switchMap, take, tap, throwError } from 'rxjs'; +import { Injectable } from '@angular/core'; import { Board, Card, Label, List } from 'app/modules/admin/apps/scrumboard/scrumboard.models'; +import { BehaviorSubject, map, Observable, of, switchMap, take, tap, throwError } from 'rxjs'; @Injectable({ - providedIn: 'root' + providedIn: 'root', }) export class ScrumboardService { @@ -17,7 +17,7 @@ export class ScrumboardService * Constructor */ constructor( - private _httpClient: HttpClient + private _httpClient: HttpClient, ) { // Set the private defaults @@ -65,7 +65,7 @@ export class ScrumboardService { return this._httpClient.get('api/apps/scrumboard/boards').pipe( map(response => response.map(item => new Board(item))), - tap(boards => this._boards.next(boards)) + tap(boards => this._boards.next(boards)), ); } @@ -78,7 +78,7 @@ export class ScrumboardService { return this._httpClient.get('api/apps/scrumboard/board', {params: {id}}).pipe( map(response => new Board(response)), - tap(board => this._board.next(board)) + tap(board => this._board.next(board)), ); } @@ -92,15 +92,16 @@ export class ScrumboardService return this.boards$.pipe( take(1), switchMap(boards => this._httpClient.put('api/apps/scrumboard/board', {board}).pipe( - map((newBoard) => { + map((newBoard) => + { // Update the boards with the new board this._boards.next([...boards, newBoard]); // Return new board from observable return newBoard; - }) - )) + }), + )), ); } @@ -116,9 +117,10 @@ export class ScrumboardService take(1), switchMap(boards => this._httpClient.patch('api/apps/scrumboard/board', { id, - board + board, }).pipe( - map((updatedBoard) => { + map((updatedBoard) => + { // Find the index of the updated board const index = boards.findIndex(item => item.id === id); @@ -131,8 +133,8 @@ export class ScrumboardService // Return the updated board return updatedBoard; - }) - )) + }), + )), ); } @@ -146,7 +148,8 @@ export class ScrumboardService return this.boards$.pipe( take(1), switchMap(boards => this._httpClient.delete('api/apps/scrumboard/board', {params: {id}}).pipe( - map((isDeleted: boolean) => { + map((isDeleted: boolean) => + { // Find the index of the deleted board const index = boards.findIndex(item => item.id === id); @@ -165,8 +168,8 @@ export class ScrumboardService // Return the deleted status return isDeleted; - }) - )) + }), + )), ); } @@ -179,7 +182,8 @@ export class ScrumboardService { return this._httpClient.post('api/apps/scrumboard/board/list', {list}).pipe( map(response => new List(response)), - tap((newList) => { + tap((newList) => + { // Get the board value const board = this._board.value; @@ -192,7 +196,7 @@ export class ScrumboardService // Update the board this._board.next(board); - }) + }), ); } @@ -205,7 +209,8 @@ export class ScrumboardService { return this._httpClient.patch('api/apps/scrumboard/board/list', {list}).pipe( map(response => new List(response)), - tap((updatedList) => { + tap((updatedList) => + { // Get the board value const board = this._board.value; @@ -221,7 +226,7 @@ export class ScrumboardService // Update the board this._board.next(board); - }) + }), ); } @@ -234,13 +239,15 @@ export class ScrumboardService { return this._httpClient.patch('api/apps/scrumboard/board/lists', {lists}).pipe( map(response => response.map(item => new List(item))), - tap((updatedLists) => { + tap((updatedLists) => + { // Get the board value const board = this._board.value; // Go through the updated lists - updatedLists.forEach((updatedList) => { + updatedLists.forEach((updatedList) => + { // Find the index of the updated list const index = board.lists.findIndex(item => item.id === updatedList.id); @@ -254,7 +261,7 @@ export class ScrumboardService // Update the board this._board.next(board); - }) + }), ); } @@ -266,7 +273,8 @@ export class ScrumboardService deleteList(id: string): Observable { return this._httpClient.delete('api/apps/scrumboard/board/list', {params: {id}}).pipe( - tap((isDeleted) => { + tap((isDeleted) => + { // Get the board value const board = this._board.value; @@ -282,7 +290,7 @@ export class ScrumboardService // Update the board this._board.next(board); - }) + }), ); } @@ -293,11 +301,12 @@ export class ScrumboardService { return this._board.pipe( take(1), - map((board) => { + map((board) => + { // Find the card const card = board.lists.find(list => list.cards.some(item => item.id === id)) - .cards.find(item => item.id === id); + .cards.find(item => item.id === id); // Update the card this._card.next(card); @@ -305,7 +314,8 @@ export class ScrumboardService // Return the card return card; }), - switchMap((card) => { + switchMap((card) => + { if ( !card ) { @@ -313,7 +323,7 @@ export class ScrumboardService } return of(card); - }) + }), ); } @@ -326,13 +336,15 @@ export class ScrumboardService { return this._httpClient.put('api/apps/scrumboard/board/card', {card}).pipe( map(response => new Card(response)), - tap((newCard) => { + tap((newCard) => + { // Get the board value const board = this._board.value; // Find the list and push the new card in it - board.lists.forEach((listItem, index, list) => { + board.lists.forEach((listItem, index, list) => + { if ( listItem.id === newCard.listId ) { list[index].cards.push(newCard); @@ -344,7 +356,7 @@ export class ScrumboardService // Return the new card return newCard; - }) + }), ); } @@ -360,13 +372,16 @@ export class ScrumboardService take(1), switchMap(board => this._httpClient.patch('api/apps/scrumboard/board/card', { id, - card + card, }).pipe( - map((updatedCard) => { + map((updatedCard) => + { // Find the card and update it - board.lists.forEach((listItem) => { - listItem.cards.forEach((cardItem, index, array) => { + board.lists.forEach((listItem) => + { + listItem.cards.forEach((cardItem, index, array) => + { if ( cardItem.id === id ) { array[index] = updatedCard; @@ -382,8 +397,8 @@ export class ScrumboardService // Return the updated card return updatedCard; - }) - )) + }), + )), ); } @@ -396,13 +411,15 @@ export class ScrumboardService { return this._httpClient.patch('api/apps/scrumboard/board/cards', {cards}).pipe( map(response => response.map(item => new Card(item))), - tap((updatedCards) => { + tap((updatedCards) => + { // Get the board value const board = this._board.value; // Go through the updated cards - updatedCards.forEach((updatedCard) => { + updatedCards.forEach((updatedCard) => + { // Find the index of the updated card's list const listIndex = board.lists.findIndex(list => list.id === updatedCard.listId); @@ -419,7 +436,7 @@ export class ScrumboardService // Update the board this._board.next(board); - }) + }), ); } @@ -433,11 +450,14 @@ export class ScrumboardService return this.board$.pipe( take(1), switchMap(board => this._httpClient.delete('api/apps/scrumboard/board/card', {params: {id}}).pipe( - map((isDeleted: boolean) => { + map((isDeleted: boolean) => + { // Find the card and delete it - board.lists.forEach((listItem) => { - listItem.cards.forEach((cardItem, index, array) => { + board.lists.forEach((listItem) => + { + listItem.cards.forEach((cardItem, index, array) => + { if ( cardItem.id === id ) { array.splice(index, 1); @@ -453,8 +473,8 @@ export class ScrumboardService // Return the deleted status return isDeleted; - }) - )) + }), + )), ); } @@ -504,7 +524,8 @@ export class ScrumboardService return this.board$.pipe( take(1), switchMap(board => this._httpClient.post