tango-app-ui-shared 3.7.3-dev6-demo6 → 3.7.3-dev6-demo7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.json +37 -0
- package/ng-package.json +7 -0
- package/package.json +12 -25
- package/src/lib/guards/auth.guard.ts +20 -0
- package/src/lib/guards/lead.guard.ts +16 -0
- package/src/lib/guards/stores.guard.ts +16 -0
- package/src/lib/guards/tickets.guard.ts +16 -0
- package/{lib/i18n/index.d.ts → src/lib/i18n/index.ts} +2 -2
- package/src/lib/i18n/translation.module.ts +9 -0
- package/src/lib/i18n/translation.service.ts +61 -0
- package/src/lib/i18n/vocabs/ch.ts +105 -0
- package/src/lib/i18n/vocabs/de.ts +105 -0
- package/src/lib/i18n/vocabs/en.ts +105 -0
- package/src/lib/i18n/vocabs/es.ts +105 -0
- package/src/lib/i18n/vocabs/fr.ts +105 -0
- package/src/lib/i18n/vocabs/jp.ts +105 -0
- package/src/lib/interceptors/http-auth-interceptor.ts +225 -0
- package/src/lib/interfaces/global-state.ts +6 -0
- package/src/lib/modules/common/common-shared.module.ts +20 -0
- package/src/lib/modules/common/custom-select/custom-select.component.html +42 -0
- package/src/lib/modules/common/custom-select/custom-select.component.scss +131 -0
- package/src/lib/modules/common/custom-select/custom-select.component.spec.ts +23 -0
- package/src/lib/modules/common/custom-select/custom-select.component.ts +149 -0
- package/src/lib/modules/common/filters/filters.component.html +76 -0
- package/src/lib/modules/common/filters/filters.component.scss +131 -0
- package/src/lib/modules/common/filters/filters.component.spec.ts +23 -0
- package/src/lib/modules/common/filters/filters.component.ts +181 -0
- package/src/lib/modules/common/pagination/pagination.component.html +26 -0
- package/src/lib/modules/common/pagination/pagination.component.scss +63 -0
- package/src/lib/modules/common/pagination/pagination.component.spec.ts +23 -0
- package/src/lib/modules/common/pagination/pagination.component.ts +46 -0
- package/src/lib/modules/errors/error403/error403.component.html +25 -0
- package/src/lib/modules/errors/error403/error403.component.scss +0 -0
- package/src/lib/modules/errors/error403/error403.component.spec.ts +23 -0
- package/src/lib/modules/errors/error403/error403.component.ts +28 -0
- package/src/lib/modules/errors/error404/error404.component.html +24 -0
- package/src/lib/modules/errors/error404/error404.component.scss +0 -0
- package/src/lib/modules/errors/error404/error404.component.spec.ts +25 -0
- package/src/lib/modules/errors/error404/error404.component.ts +50 -0
- package/src/lib/modules/errors/error500/error500.component.html +24 -0
- package/src/lib/modules/errors/error500/error500.component.scss +0 -0
- package/src/lib/modules/errors/error500/error500.component.spec.ts +25 -0
- package/src/lib/modules/errors/error500/error500.component.ts +50 -0
- package/src/lib/modules/errors/errors-routing.module.ts +40 -0
- package/src/lib/modules/errors/errors.component.html +15 -0
- package/src/lib/modules/errors/errors.component.scss +4 -0
- package/src/lib/modules/errors/errors.component.spec.ts +25 -0
- package/src/lib/modules/errors/errors.component.ts +42 -0
- package/src/lib/modules/errors/errors.module.ts +25 -0
- package/src/lib/modules/errors/invalid-ip/invalid-ip.component.html +16 -0
- package/src/lib/modules/errors/invalid-ip/invalid-ip.component.scss +0 -0
- package/src/lib/modules/errors/invalid-ip/invalid-ip.component.spec.ts +23 -0
- package/src/lib/modules/errors/invalid-ip/invalid-ip.component.ts +43 -0
- package/src/lib/modules/intro/contact-support/contact-support.component.html +30 -0
- package/src/lib/modules/intro/contact-support/contact-support.component.scss +60 -0
- package/src/lib/modules/intro/contact-support/contact-support.component.spec.ts +23 -0
- package/src/lib/modules/intro/contact-support/contact-support.component.ts +17 -0
- package/src/lib/modules/intro/intro-routing.module.ts +16 -0
- package/src/lib/modules/intro/intro.module.ts +21 -0
- package/src/lib/modules/intro/lead-intro/lead-intro.component.html +325 -0
- package/src/lib/modules/intro/lead-intro/lead-intro.component.scss +185 -0
- package/src/lib/modules/intro/lead-intro/lead-intro.component.spec.ts +23 -0
- package/src/lib/modules/intro/lead-intro/lead-intro.component.ts +120 -0
- package/src/lib/modules/layout/components/csm-assign-confirmation/csm-assign-confirmation.component.html +44 -0
- package/src/lib/modules/layout/components/csm-assign-confirmation/csm-assign-confirmation.component.scss +28 -0
- package/src/lib/modules/layout/components/csm-assign-confirmation/csm-assign-confirmation.component.spec.ts +23 -0
- package/src/lib/modules/layout/components/csm-assign-confirmation/csm-assign-confirmation.component.ts +24 -0
- package/src/lib/modules/layout/content/content.component.html +12 -0
- package/src/lib/modules/layout/content/content.component.scss +0 -0
- package/src/lib/modules/layout/content/content.component.ts +102 -0
- package/src/lib/modules/layout/footer/footer.component.html +29 -0
- package/src/lib/modules/layout/footer/footer.component.scss +7 -0
- package/src/lib/modules/layout/footer/footer.component.spec.ts +25 -0
- package/src/lib/modules/layout/footer/footer.component.ts +13 -0
- package/src/lib/modules/layout/header/header-menu/header-menu.component.html +27 -0
- package/src/lib/modules/layout/header/header-menu/header-menu.component.scss +4 -0
- package/src/lib/modules/layout/header/header-menu/header-menu.component.spec.ts +25 -0
- package/src/lib/modules/layout/header/header-menu/header-menu.component.ts +38 -0
- package/src/lib/modules/layout/header/header.component.html +90 -0
- package/src/lib/modules/layout/header/header.component.scss +7 -0
- package/src/lib/modules/layout/header/header.component.spec.ts +25 -0
- package/src/lib/modules/layout/header/header.component.ts +139 -0
- package/src/lib/modules/layout/header/navbar/navbar.component.html +156 -0
- package/src/lib/modules/layout/header/navbar/navbar.component.scss +223 -0
- package/src/lib/modules/layout/header/navbar/navbar.component.spec.ts +23 -0
- package/src/lib/modules/layout/header/navbar/navbar.component.ts +255 -0
- package/src/lib/modules/layout/header/notifications-inner/notifications-inner.component.html +200 -0
- package/src/lib/modules/layout/header/notifications-inner/notifications-inner.component.scss +139 -0
- package/src/lib/modules/layout/header/notifications-inner/notifications-inner.component.ts +76 -0
- package/src/lib/modules/layout/header/page-title/page-title.component.html +32 -0
- package/src/lib/modules/layout/header/page-title/page-title.component.scss +11 -0
- package/src/lib/modules/layout/header/page-title/page-title.component.ts +47 -0
- package/src/lib/modules/layout/keenicon/icons.json +1 -0
- package/src/lib/modules/layout/keenicon/keenicon.component.html +4 -0
- package/src/lib/modules/layout/keenicon/keenicon.component.scss +0 -0
- package/src/lib/modules/layout/keenicon/keenicon.component.spec.ts +23 -0
- package/src/lib/modules/layout/keenicon/keenicon.component.ts +30 -0
- package/src/lib/modules/layout/layout/layout.component.html +71 -0
- package/src/lib/modules/layout/layout/layout.component.scss +23 -0
- package/src/lib/modules/layout/layout/layout.component.ts +425 -0
- package/src/lib/modules/layout/layout.module.ts +129 -0
- package/src/lib/modules/layout/scripts-init/scripts-init.component.html +0 -0
- package/src/lib/modules/layout/scripts-init/scripts-init.component.ts +81 -0
- package/src/lib/modules/layout/scroll-top/scroll-top.component.html +1 -0
- package/src/lib/modules/layout/scroll-top/scroll-top.component.ts +75 -0
- package/src/lib/modules/layout/sidebar/sidebar-footer/sidebar-footer.component.html +70 -0
- package/src/lib/modules/layout/sidebar/sidebar-footer/sidebar-footer.component.scss +57 -0
- package/src/lib/modules/layout/sidebar/sidebar-footer/sidebar-footer.component.spec.ts +23 -0
- package/src/lib/modules/layout/sidebar/sidebar-footer/sidebar-footer.component.ts +136 -0
- package/src/lib/modules/layout/sidebar/sidebar-logo/sidebar-logo.component.html +26 -0
- package/src/lib/modules/layout/sidebar/sidebar-logo/sidebar-logo.component.scss +0 -0
- package/src/lib/modules/layout/sidebar/sidebar-logo/sidebar-logo.component.spec.ts +23 -0
- package/src/lib/modules/layout/sidebar/sidebar-logo/sidebar-logo.component.ts +36 -0
- package/src/lib/modules/layout/sidebar/sidebar-menu/sidebar-menu.component.html +761 -0
- package/src/lib/modules/layout/sidebar/sidebar-menu/sidebar-menu.component.scss +38 -0
- package/src/lib/modules/layout/sidebar/sidebar-menu/sidebar-menu.component.spec.ts +23 -0
- package/src/lib/modules/layout/sidebar/sidebar-menu/sidebar-menu.component.ts +130 -0
- package/src/lib/modules/layout/sidebar/sidebar.component.html +16 -0
- package/src/lib/modules/layout/sidebar/sidebar.component.scss +3 -0
- package/src/lib/modules/layout/sidebar/sidebar.component.spec.ts +23 -0
- package/src/lib/modules/layout/sidebar/sidebar.component.ts +203 -0
- package/src/lib/modules/layout/toolbar/accounting/accounting.component.html +84 -0
- package/src/lib/modules/layout/toolbar/accounting/accounting.component.scss +0 -0
- package/src/lib/modules/layout/toolbar/accounting/accounting.component.spec.ts +23 -0
- package/src/lib/modules/layout/toolbar/accounting/accounting.component.ts +14 -0
- package/src/lib/modules/layout/toolbar/classic/classic.component.html +69 -0
- package/src/lib/modules/layout/toolbar/classic/classic.component.scss +238 -0
- package/src/lib/modules/layout/toolbar/classic/classic.component.spec.ts +23 -0
- package/src/lib/modules/layout/toolbar/classic/classic.component.ts +389 -0
- package/src/lib/modules/layout/toolbar/client-settings/client-settings.component.html +4 -0
- package/src/lib/modules/layout/toolbar/client-settings/client-settings.component.scss +3 -0
- package/src/lib/modules/layout/toolbar/client-settings/client-settings.component.spec.ts +23 -0
- package/src/lib/modules/layout/toolbar/client-settings/client-settings.component.ts +91 -0
- package/src/lib/modules/layout/toolbar/date-single-select/date-single-select.component.html +22 -0
- package/src/lib/modules/layout/toolbar/date-single-select/date-single-select.component.scss +156 -0
- package/src/lib/modules/layout/toolbar/date-single-select/date-single-select.component.spec.ts +23 -0
- package/src/lib/modules/layout/toolbar/date-single-select/date-single-select.component.ts +238 -0
- package/src/lib/modules/layout/toolbar/datepicker/datepicker.component.html +14 -0
- package/src/lib/modules/layout/toolbar/datepicker/datepicker.component.scss +149 -0
- package/src/lib/modules/layout/toolbar/datepicker/datepicker.component.spec.ts +23 -0
- package/src/lib/modules/layout/toolbar/datepicker/datepicker.component.ts +183 -0
- package/src/lib/modules/layout/toolbar/extended/extended.component.html +100 -0
- package/src/lib/modules/layout/toolbar/extended/extended.component.scss +0 -0
- package/src/lib/modules/layout/toolbar/extended/extended.component.spec.ts +23 -0
- package/src/lib/modules/layout/toolbar/extended/extended.component.ts +12 -0
- package/src/lib/modules/layout/toolbar/metrics-header/metrics-header.component.html +311 -0
- package/src/lib/modules/layout/toolbar/metrics-header/metrics-header.component.scss +311 -0
- package/src/lib/modules/layout/toolbar/metrics-header/metrics-header.component.spec.ts +23 -0
- package/src/lib/modules/layout/toolbar/metrics-header/metrics-header.component.ts +1555 -0
- package/src/lib/modules/layout/toolbar/reports/reports.component.html +62 -0
- package/src/lib/modules/layout/toolbar/reports/reports.component.scss +0 -0
- package/src/lib/modules/layout/toolbar/reports/reports.component.spec.ts +23 -0
- package/src/lib/modules/layout/toolbar/reports/reports.component.ts +14 -0
- package/src/lib/modules/layout/toolbar/saas/saas.component.html +77 -0
- package/src/lib/modules/layout/toolbar/saas/saas.component.scss +0 -0
- package/src/lib/modules/layout/toolbar/saas/saas.component.spec.ts +23 -0
- package/src/lib/modules/layout/toolbar/saas/saas.component.ts +14 -0
- package/src/lib/modules/layout/toolbar/single-clientstore-date/single-clientstore-date.component.html +26 -0
- package/src/lib/modules/layout/toolbar/single-clientstore-date/single-clientstore-date.component.scss +176 -0
- package/src/lib/modules/layout/toolbar/single-clientstore-date/single-clientstore-date.component.spec.ts +23 -0
- package/src/lib/modules/layout/toolbar/single-clientstore-date/single-clientstore-date.component.ts +235 -0
- package/src/lib/modules/layout/toolbar/single-store/single-store.component.html +39 -0
- package/src/lib/modules/layout/toolbar/single-store/single-store.component.scss +176 -0
- package/src/lib/modules/layout/toolbar/single-store/single-store.component.spec.ts +23 -0
- package/src/lib/modules/layout/toolbar/single-store/single-store.component.ts +188 -0
- package/src/lib/modules/layout/toolbar/single-storedate/single-storedate.component.html +17 -0
- package/src/lib/modules/layout/toolbar/single-storedate/single-storedate.component.scss +172 -0
- package/src/lib/modules/layout/toolbar/single-storedate/single-storedate.component.spec.ts +23 -0
- package/src/lib/modules/layout/toolbar/single-storedate/single-storedate.component.ts +179 -0
- package/src/lib/modules/layout/toolbar/storesingle/storesingle.component.html +4 -0
- package/src/lib/modules/layout/toolbar/storesingle/storesingle.component.scss +19 -0
- package/src/lib/modules/layout/toolbar/storesingle/storesingle.component.spec.ts +23 -0
- package/src/lib/modules/layout/toolbar/storesingle/storesingle.component.ts +105 -0
- package/src/lib/modules/layout/toolbar/toolbar.component.html +64 -0
- package/src/lib/modules/layout/toolbar/toolbar.component.scss +0 -0
- package/src/lib/modules/layout/toolbar/toolbar.component.spec.ts +25 -0
- package/src/lib/modules/layout/toolbar/toolbar.component.ts +400 -0
- package/src/lib/modules/layout/toolbar/traffic-header/traffic-header/traffic-header.component.html +259 -0
- package/src/lib/modules/layout/toolbar/traffic-header/traffic-header/traffic-header.component.scss +305 -0
- package/src/lib/modules/layout/toolbar/traffic-header/traffic-header/traffic-header.component.spec.ts +23 -0
- package/src/lib/modules/layout/toolbar/traffic-header/traffic-header/traffic-header.component.ts +1202 -0
- package/src/lib/modules/layout/toolbar/traffic-nob/traffic-nob.component.html +199 -0
- package/src/lib/modules/layout/toolbar/traffic-nob/traffic-nob.component.scss +311 -0
- package/src/lib/modules/layout/toolbar/traffic-nob/traffic-nob.component.spec.ts +23 -0
- package/src/lib/modules/layout/toolbar/traffic-nob/traffic-nob.component.ts +899 -0
- package/src/lib/modules/layout/toolbar/trax-header/trax-header.component.html +204 -0
- package/src/lib/modules/layout/toolbar/trax-header/trax-header.component.scss +311 -0
- package/src/lib/modules/layout/toolbar/trax-header/trax-header.component.spec.ts +23 -0
- package/src/lib/modules/layout/toolbar/trax-header/trax-header.component.ts +1045 -0
- package/src/lib/modules/layout/toolbar/trax-withoutdate/trax-withoutdate.component.html +190 -0
- package/src/lib/modules/layout/toolbar/trax-withoutdate/trax-withoutdate.component.scss +311 -0
- package/src/lib/modules/layout/toolbar/trax-withoutdate/trax-withoutdate.component.spec.ts +23 -0
- package/src/lib/modules/layout/toolbar/trax-withoutdate/trax-withoutdate.component.ts +825 -0
- package/src/lib/modules/layout/toolbar/zone-header/zone-header.component.html +259 -0
- package/src/lib/modules/layout/toolbar/zone-header/zone-header.component.scss +305 -0
- package/src/lib/modules/layout/toolbar/zone-header/zone-header.component.spec.ts +23 -0
- package/src/lib/modules/layout/toolbar/zone-header/zone-header.component.ts +1242 -0
- package/src/lib/modules/notification/conformation/conformation.component.html +25 -0
- package/src/lib/modules/notification/conformation/conformation.component.scss +0 -0
- package/src/lib/modules/notification/conformation/conformation.component.spec.ts +23 -0
- package/src/lib/modules/notification/conformation/conformation.component.ts +23 -0
- package/src/lib/modules/notification/notification/notification.component.html +209 -0
- package/src/lib/modules/notification/notification/notification.component.scss +211 -0
- package/src/lib/modules/notification/notification/notification.component.spec.ts +23 -0
- package/src/lib/modules/notification/notification/notification.component.ts +310 -0
- package/src/lib/modules/notification/notification-routing.module.ts +20 -0
- package/src/lib/modules/notification/notification.module.ts +21 -0
- package/src/lib/pipes/customDate.pipe.ts +18 -0
- package/src/lib/routes/route-wraper-modules/analyse-wrapper.module.ts +12 -0
- package/src/lib/routes/route-wraper-modules/edge-wrapper.module.ts +11 -0
- package/src/lib/routes/route-wraper-modules/manage-wrapper.module.ts +11 -0
- package/src/lib/routes/route-wraper-modules/profile-wrapper.module.ts +12 -0
- package/src/lib/routes/route-wraper-modules/store-wrapper.module.ts +11 -0
- package/src/lib/routes/route-wraper-modules/ticket-wrapper.module.ts +10 -0
- package/src/lib/routes/routing.ts +56 -0
- package/src/lib/services/auth.service.ts +178 -0
- package/src/lib/services/notification.service.spec.ts +16 -0
- package/src/lib/services/notification.service.ts +73 -0
- package/src/lib/services/toast.service.ts +82 -0
- package/{public-api.d.ts → src/public-api.ts} +71 -44
- package/tsconfig.lib.json +14 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +14 -0
- package/esm2022/lib/guards/auth.guard.mjs +0 -26
- package/esm2022/lib/guards/lead.guard.mjs +0 -16
- package/esm2022/lib/guards/stores.guard.mjs +0 -16
- package/esm2022/lib/guards/tickets.guard.mjs +0 -16
- package/esm2022/lib/i18n/index.mjs +0 -3
- package/esm2022/lib/i18n/translation.module.mjs +0 -17
- package/esm2022/lib/i18n/translation.service.mjs +0 -53
- package/esm2022/lib/i18n/vocabs/ch.mjs +0 -106
- package/esm2022/lib/i18n/vocabs/de.mjs +0 -106
- package/esm2022/lib/i18n/vocabs/en.mjs +0 -106
- package/esm2022/lib/i18n/vocabs/es.mjs +0 -106
- package/esm2022/lib/i18n/vocabs/fr.mjs +0 -106
- package/esm2022/lib/i18n/vocabs/jp.mjs +0 -106
- package/esm2022/lib/interceptors/http-auth-interceptor.mjs +0 -124
- package/esm2022/lib/interfaces/global-state.mjs +0 -2
- package/esm2022/lib/modules/common/common-shared.module.mjs +0 -31
- package/esm2022/lib/modules/common/custom-select/custom-select.component.mjs +0 -155
- package/esm2022/lib/modules/common/filters/filters.component.mjs +0 -179
- package/esm2022/lib/modules/common/pagination/pagination.component.mjs +0 -49
- package/esm2022/lib/modules/errors/error403/error403.component.mjs +0 -33
- package/esm2022/lib/modules/errors/error404/error404.component.mjs +0 -44
- package/esm2022/lib/modules/errors/error500/error500.component.mjs +0 -45
- package/esm2022/lib/modules/errors/errors-routing.module.mjs +0 -48
- package/esm2022/lib/modules/errors/errors.component.mjs +0 -39
- package/esm2022/lib/modules/errors/errors.module.mjs +0 -37
- package/esm2022/lib/modules/errors/invalid-ip/invalid-ip.component.mjs +0 -44
- package/esm2022/lib/modules/intro/contact-support/contact-support.component.mjs +0 -19
- package/esm2022/lib/modules/intro/intro-routing.module.mjs +0 -24
- package/esm2022/lib/modules/intro/intro.module.mjs +0 -32
- package/esm2022/lib/modules/intro/lead-intro/lead-intro.component.mjs +0 -110
- package/esm2022/lib/modules/layout/components/csm-assign-confirmation/csm-assign-confirmation.component.mjs +0 -31
- package/esm2022/lib/modules/layout/content/content.component.mjs +0 -107
- package/esm2022/lib/modules/layout/footer/footer.component.mjs +0 -17
- package/esm2022/lib/modules/layout/header/header-menu/header-menu.component.mjs +0 -41
- package/esm2022/lib/modules/layout/header/header.component.mjs +0 -100
- package/esm2022/lib/modules/layout/header/navbar/navbar.component.mjs +0 -256
- package/esm2022/lib/modules/layout/header/notifications-inner/notifications-inner.component.mjs +0 -79
- package/esm2022/lib/modules/layout/header/page-title/page-title.component.mjs +0 -56
- package/esm2022/lib/modules/layout/keenicon/icons.json +0 -1
- package/esm2022/lib/modules/layout/keenicon/keenicon.component.mjs +0 -37
- package/esm2022/lib/modules/layout/layout/layout.component.mjs +0 -314
- package/esm2022/lib/modules/layout/layout.module.mjs +0 -198
- package/esm2022/lib/modules/layout/scripts-init/scripts-init.component.mjs +0 -74
- package/esm2022/lib/modules/layout/scroll-top/scroll-top.component.mjs +0 -74
- package/esm2022/lib/modules/layout/sidebar/sidebar-footer/sidebar-footer.component.mjs +0 -159
- package/esm2022/lib/modules/layout/sidebar/sidebar-logo/sidebar-logo.component.mjs +0 -45
- package/esm2022/lib/modules/layout/sidebar/sidebar-menu/sidebar-menu.component.mjs +0 -122
- package/esm2022/lib/modules/layout/sidebar/sidebar.component.mjs +0 -134
- package/esm2022/lib/modules/layout/toolbar/accounting/accounting.component.mjs +0 -16
- package/esm2022/lib/modules/layout/toolbar/classic/classic.component.mjs +0 -331
- package/esm2022/lib/modules/layout/toolbar/client-settings/client-settings.component.mjs +0 -88
- package/esm2022/lib/modules/layout/toolbar/date-single-select/date-single-select.component.mjs +0 -207
- package/esm2022/lib/modules/layout/toolbar/datepicker/datepicker.component.mjs +0 -158
- package/esm2022/lib/modules/layout/toolbar/extended/extended.component.mjs +0 -15
- package/esm2022/lib/modules/layout/toolbar/metrics-header/metrics-header.component.mjs +0 -1321
- package/esm2022/lib/modules/layout/toolbar/reports/reports.component.mjs +0 -18
- package/esm2022/lib/modules/layout/toolbar/saas/saas.component.mjs +0 -18
- package/esm2022/lib/modules/layout/toolbar/single-clientstore-date/single-clientstore-date.component.mjs +0 -216
- package/esm2022/lib/modules/layout/toolbar/single-store/single-store.component.mjs +0 -178
- package/esm2022/lib/modules/layout/toolbar/single-storedate/single-storedate.component.mjs +0 -166
- package/esm2022/lib/modules/layout/toolbar/storesingle/storesingle.component.mjs +0 -105
- package/esm2022/lib/modules/layout/toolbar/toolbar.component.mjs +0 -372
- package/esm2022/lib/modules/layout/toolbar/traffic-header/traffic-header/traffic-header.component.mjs +0 -1062
- package/esm2022/lib/modules/layout/toolbar/traffic-nob/traffic-nob.component.mjs +0 -795
- package/esm2022/lib/modules/layout/toolbar/trax-header/trax-header.component.mjs +0 -880
- package/esm2022/lib/modules/layout/toolbar/trax-withoutdate/trax-withoutdate.component.mjs +0 -729
- package/esm2022/lib/modules/layout/toolbar/zone-header/zone-header.component.mjs +0 -1088
- package/esm2022/lib/modules/notification/conformation/conformation.component.mjs +0 -22
- package/esm2022/lib/modules/notification/notification/notification.component.mjs +0 -317
- package/esm2022/lib/modules/notification/notification-routing.module.mjs +0 -28
- package/esm2022/lib/modules/notification/notification.module.mjs +0 -32
- package/esm2022/lib/pipes/customDate.pipe.mjs +0 -22
- package/esm2022/lib/routes/route-wraper-modules/edge-wrapper.module.mjs +0 -18
- package/esm2022/lib/routes/route-wraper-modules/manage-wrapper.module.mjs +0 -18
- package/esm2022/lib/routes/route-wraper-modules/profile-wrapper.module.mjs +0 -18
- package/esm2022/lib/routes/route-wraper-modules/store-wrapper.module.mjs +0 -18
- package/esm2022/lib/routes/route-wraper-modules/ticket-wrapper.module.mjs +0 -18
- package/esm2022/lib/routes/routing.mjs +0 -53
- package/esm2022/lib/services/auth.service.mjs +0 -141
- package/esm2022/lib/services/notification.service.mjs +0 -74
- package/esm2022/lib/services/toast.service.mjs +0 -83
- package/esm2022/public-api.mjs +0 -56
- package/esm2022/tango-app-ui-shared.mjs +0 -5
- package/fesm2022/tango-app-ui-shared-edge-wrapper.module-CFDk0tvS.mjs +0 -21
- package/fesm2022/tango-app-ui-shared-edge-wrapper.module-CFDk0tvS.mjs.map +0 -1
- package/fesm2022/tango-app-ui-shared-intro.module-DYh4ZRha.mjs +0 -188
- package/fesm2022/tango-app-ui-shared-intro.module-DYh4ZRha.mjs.map +0 -1
- package/fesm2022/tango-app-ui-shared-manage-wrapper.module-BHyh4Njw.mjs +0 -21
- package/fesm2022/tango-app-ui-shared-manage-wrapper.module-BHyh4Njw.mjs.map +0 -1
- package/fesm2022/tango-app-ui-shared-notification.module-C5ZmCf8U.mjs +0 -400
- package/fesm2022/tango-app-ui-shared-notification.module-C5ZmCf8U.mjs.map +0 -1
- package/fesm2022/tango-app-ui-shared-profile-wrapper.module-BNC1AGOk.mjs +0 -21
- package/fesm2022/tango-app-ui-shared-profile-wrapper.module-BNC1AGOk.mjs.map +0 -1
- package/fesm2022/tango-app-ui-shared-store-wrapper.module-DdaCYHdv.mjs +0 -21
- package/fesm2022/tango-app-ui-shared-store-wrapper.module-DdaCYHdv.mjs.map +0 -1
- package/fesm2022/tango-app-ui-shared-ticket-wrapper.module-r32uKkDO.mjs +0 -21
- package/fesm2022/tango-app-ui-shared-ticket-wrapper.module-r32uKkDO.mjs.map +0 -1
- package/fesm2022/tango-app-ui-shared.mjs +0 -12438
- package/fesm2022/tango-app-ui-shared.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/guards/auth.guard.d.ts +0 -10
- package/lib/guards/lead.guard.d.ts +0 -2
- package/lib/guards/stores.guard.d.ts +0 -2
- package/lib/guards/tickets.guard.d.ts +0 -2
- package/lib/i18n/translation.module.d.ts +0 -8
- package/lib/i18n/translation.service.d.ts +0 -19
- package/lib/i18n/vocabs/ch.d.ts +0 -104
- package/lib/i18n/vocabs/de.d.ts +0 -104
- package/lib/i18n/vocabs/en.d.ts +0 -104
- package/lib/i18n/vocabs/es.d.ts +0 -104
- package/lib/i18n/vocabs/fr.d.ts +0 -104
- package/lib/i18n/vocabs/jp.d.ts +0 -104
- package/lib/interceptors/http-auth-interceptor.d.ts +0 -19
- package/lib/interfaces/global-state.d.ts +0 -5
- package/lib/modules/common/common-shared.module.d.ts +0 -13
- package/lib/modules/common/custom-select/custom-select.component.d.ts +0 -33
- package/lib/modules/common/filters/filters.component.d.ts +0 -38
- package/lib/modules/common/pagination/pagination.component.d.ts +0 -18
- package/lib/modules/errors/error403/error403.component.d.ts +0 -14
- package/lib/modules/errors/error404/error404.component.d.ts +0 -15
- package/lib/modules/errors/error500/error500.component.d.ts +0 -15
- package/lib/modules/errors/errors-routing.module.d.ts +0 -7
- package/lib/modules/errors/errors.component.d.ts +0 -13
- package/lib/modules/errors/errors.module.d.ts +0 -13
- package/lib/modules/errors/invalid-ip/invalid-ip.component.d.ts +0 -17
- package/lib/modules/intro/contact-support/contact-support.component.d.ts +0 -9
- package/lib/modules/intro/intro-routing.module.d.ts +0 -7
- package/lib/modules/intro/intro.module.d.ts +0 -11
- package/lib/modules/intro/lead-intro/lead-intro.component.d.ts +0 -31
- package/lib/modules/layout/components/csm-assign-confirmation/csm-assign-confirmation.component.d.ts +0 -13
- package/lib/modules/layout/content/content.component.d.ts +0 -25
- package/lib/modules/layout/footer/footer.component.d.ts +0 -8
- package/lib/modules/layout/header/header-menu/header-menu.component.d.ts +0 -18
- package/lib/modules/layout/header/header.component.d.ts +0 -30
- package/lib/modules/layout/header/navbar/navbar.component.d.ts +0 -45
- package/lib/modules/layout/header/notifications-inner/notifications-inner.component.d.ts +0 -25
- package/lib/modules/layout/header/page-title/page-title.component.d.ts +0 -23
- package/lib/modules/layout/keenicon/keenicon.component.d.ts +0 -13
- package/lib/modules/layout/layout/layout.component.d.ts +0 -82
- package/lib/modules/layout/layout.module.d.ts +0 -50
- package/lib/modules/layout/scripts-init/scripts-init.component.d.ts +0 -19
- package/lib/modules/layout/scroll-top/scroll-top.component.d.ts +0 -19
- package/lib/modules/layout/sidebar/sidebar-footer/sidebar-footer.component.d.ts +0 -45
- package/lib/modules/layout/sidebar/sidebar-logo/sidebar-logo.component.d.ts +0 -19
- package/lib/modules/layout/sidebar/sidebar-menu/sidebar-menu.component.d.ts +0 -26
- package/lib/modules/layout/sidebar/sidebar.component.d.ts +0 -36
- package/lib/modules/layout/toolbar/accounting/accounting.component.d.ts +0 -8
- package/lib/modules/layout/toolbar/classic/classic.component.d.ts +0 -48
- package/lib/modules/layout/toolbar/client-settings/client-settings.component.d.ts +0 -16
- package/lib/modules/layout/toolbar/date-single-select/date-single-select.component.d.ts +0 -28
- package/lib/modules/layout/toolbar/datepicker/datepicker.component.d.ts +0 -28
- package/lib/modules/layout/toolbar/extended/extended.component.d.ts +0 -8
- package/lib/modules/layout/toolbar/metrics-header/metrics-header.component.d.ts +0 -103
- package/lib/modules/layout/toolbar/reports/reports.component.d.ts +0 -9
- package/lib/modules/layout/toolbar/saas/saas.component.d.ts +0 -9
- package/lib/modules/layout/toolbar/single-clientstore-date/single-clientstore-date.component.d.ts +0 -32
- package/lib/modules/layout/toolbar/single-store/single-store.component.d.ts +0 -33
- package/lib/modules/layout/toolbar/single-storedate/single-storedate.component.d.ts +0 -34
- package/lib/modules/layout/toolbar/storesingle/storesingle.component.d.ts +0 -24
- package/lib/modules/layout/toolbar/toolbar.component.d.ts +0 -57
- package/lib/modules/layout/toolbar/traffic-header/traffic-header/traffic-header.component.d.ts +0 -93
- package/lib/modules/layout/toolbar/traffic-nob/traffic-nob.component.d.ts +0 -80
- package/lib/modules/layout/toolbar/trax-header/trax-header.component.d.ts +0 -83
- package/lib/modules/layout/toolbar/trax-withoutdate/trax-withoutdate.component.d.ts +0 -74
- package/lib/modules/layout/toolbar/zone-header/zone-header.component.d.ts +0 -97
- package/lib/modules/notification/conformation/conformation.component.d.ts +0 -10
- package/lib/modules/notification/notification/notification.component.d.ts +0 -63
- package/lib/modules/notification/notification-routing.module.d.ts +0 -7
- package/lib/modules/notification/notification.module.d.ts +0 -11
- package/lib/pipes/customDate.pipe.d.ts +0 -7
- package/lib/routes/route-wraper-modules/edge-wrapper.module.d.ts +0 -7
- package/lib/routes/route-wraper-modules/manage-wrapper.module.d.ts +0 -7
- package/lib/routes/route-wraper-modules/profile-wrapper.module.d.ts +0 -7
- package/lib/routes/route-wraper-modules/store-wrapper.module.d.ts +0 -7
- package/lib/routes/route-wraper-modules/ticket-wrapper.module.d.ts +0 -7
- package/lib/routes/routing.d.ts +0 -3
- package/lib/services/auth.service.d.ts +0 -49
- package/lib/services/notification.service.d.ts +0 -30
- package/lib/services/toast.service.d.ts +0 -10
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
|
|
3
|
+
@Component({
|
|
4
|
+
selector: 'lib-pagination',
|
|
5
|
+
templateUrl: './pagination.component.html',
|
|
6
|
+
styleUrl: './pagination.component.scss'
|
|
7
|
+
})
|
|
8
|
+
export class PaginationComponent {
|
|
9
|
+
@Input() collection: any[] = [];
|
|
10
|
+
@Input() itemsPerPage: number;
|
|
11
|
+
@Input() currentPage: number;
|
|
12
|
+
@Input() totalItems: number;
|
|
13
|
+
@Input() directionLinks: boolean = false;
|
|
14
|
+
|
|
15
|
+
@Input() pageSize: number;
|
|
16
|
+
@Input() paginationSizes: number[];
|
|
17
|
+
@Output() pageChange: EventEmitter<number> = new EventEmitter<number>();
|
|
18
|
+
@Output() pageSizeChange: EventEmitter<number> = new EventEmitter<number>();
|
|
19
|
+
instanceId = crypto.randomUUID()
|
|
20
|
+
|
|
21
|
+
onPageChange(page: number) {
|
|
22
|
+
this.pageChange.emit(page);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
onPageSizeChange(pageSize:any) {
|
|
26
|
+
this.itemsPerPage = pageSize;
|
|
27
|
+
this.pageSizeChange.emit(this.pageSize);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
// disableOption(size: number): boolean {
|
|
31
|
+
// if (!this.paginationSizes.includes(size)) {
|
|
32
|
+
// console.error('Size is not in paginationSizes.');
|
|
33
|
+
// return true; // Disable the option to prevent invalid selection
|
|
34
|
+
// }
|
|
35
|
+
|
|
36
|
+
// // Calculate the maximum possible total items on the current page
|
|
37
|
+
// const maxTotalOnPage = (this.currentPage) * size;
|
|
38
|
+
// console.log('Current Page:', maxTotalOnPage);
|
|
39
|
+
// // Disable the option if totalItems is less than or equal to the option size
|
|
40
|
+
// const disable = this.totalItems <= maxTotalOnPage;
|
|
41
|
+
// console.log('Disable:', disable);
|
|
42
|
+
// return disable;
|
|
43
|
+
// }
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<!--begin::Title-->
|
|
2
|
+
<h1 class="fw-bolder fs-2hx text-gray-900 mb-4">
|
|
3
|
+
!Forbidden
|
|
4
|
+
</h1>
|
|
5
|
+
<!--end::Title-->
|
|
6
|
+
|
|
7
|
+
<!--begin::Text-->
|
|
8
|
+
<div class="fw-semibold fs-6 text-gray-500 mb-7">
|
|
9
|
+
We can't find that page.
|
|
10
|
+
</div>
|
|
11
|
+
<!--end::Text-->
|
|
12
|
+
|
|
13
|
+
<!--begin::Illustration-->
|
|
14
|
+
<div class="mb-3">
|
|
15
|
+
<img src="./assets/media/auth/404-error.png" class="mw-100 mh-300px theme-light-show" alt="" />
|
|
16
|
+
<img src="./assets/media/auth/404-error-dark.png" class="mw-100 mh-300px theme-dark-show" alt="" />
|
|
17
|
+
</div>
|
|
18
|
+
<!--end::Illustration-->
|
|
19
|
+
|
|
20
|
+
<!--begin::Link-->
|
|
21
|
+
<div class="mb-0">
|
|
22
|
+
<a routerLink="/manage/brands" class="btn btn-sm btn-primary">Return Home</a>
|
|
23
|
+
</div>
|
|
24
|
+
<!--end::Link-->
|
|
25
|
+
|
|
File without changes
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { Error403Component } from './error403.component';
|
|
4
|
+
|
|
5
|
+
describe('Error403Component', () => {
|
|
6
|
+
let component: Error403Component;
|
|
7
|
+
let fixture: ComponentFixture<Error403Component>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
declarations: [Error403Component]
|
|
12
|
+
})
|
|
13
|
+
.compileComponents();
|
|
14
|
+
|
|
15
|
+
fixture = TestBed.createComponent(Error403Component);
|
|
16
|
+
component = fixture.componentInstance;
|
|
17
|
+
fixture.detectChanges();
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
it('should create', () => {
|
|
21
|
+
expect(component).toBeTruthy();
|
|
22
|
+
});
|
|
23
|
+
});
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Component, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { Subscription } from 'rxjs';
|
|
4
|
+
import { ThemeModeService } from 'tango-app-ui-global';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'lib-error403',
|
|
8
|
+
templateUrl: './error403.component.html',
|
|
9
|
+
styleUrl: './error403.component.scss'
|
|
10
|
+
})
|
|
11
|
+
export class Error403Component implements OnInit,OnDestroy {
|
|
12
|
+
private unsubscribe: Subscription[] = [];
|
|
13
|
+
|
|
14
|
+
constructor(private router: Router, private modeService: ThemeModeService) {}
|
|
15
|
+
ngOnInit(): void {
|
|
16
|
+
const subscr = this.modeService.mode.asObservable().subscribe((mode) => {
|
|
17
|
+
document.body.style.backgroundImage =
|
|
18
|
+
mode === 'dark'
|
|
19
|
+
? 'url(./assets/media/auth/bg1-dark.jpg)'
|
|
20
|
+
: 'url(./assets/media/auth/bg1.jpg)';
|
|
21
|
+
});
|
|
22
|
+
this.unsubscribe.push(subscr);
|
|
23
|
+
}
|
|
24
|
+
ngOnDestroy() {
|
|
25
|
+
this.unsubscribe.forEach((sb) => sb.unsubscribe());
|
|
26
|
+
document.body.style.backgroundImage = 'none';
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<!--begin::Title-->
|
|
2
|
+
<h1 class="fw-bolder fs-2hx text-gray-900 mb-4">
|
|
3
|
+
Oops!
|
|
4
|
+
</h1>
|
|
5
|
+
<!--end::Title-->
|
|
6
|
+
|
|
7
|
+
<!--begin::Text-->
|
|
8
|
+
<div class="fw-semibold fs-6 text-gray-500 mb-7">
|
|
9
|
+
We can't find that page.
|
|
10
|
+
</div>
|
|
11
|
+
<!--end::Text-->
|
|
12
|
+
|
|
13
|
+
<!--begin::Illustration-->
|
|
14
|
+
<div class="mb-3">
|
|
15
|
+
<img src="./assets/media/auth/404-error.png" class="mw-100 mh-300px theme-light-show" alt="" />
|
|
16
|
+
<!-- <img src="./assets/media/auth/404-error-dark.png" class="mw-100 mh-300px theme-dark-show" alt="" /> -->
|
|
17
|
+
</div>
|
|
18
|
+
<!--end::Illustration-->
|
|
19
|
+
|
|
20
|
+
<!--begin::Link-->
|
|
21
|
+
<div class="mb-0">
|
|
22
|
+
<a (click)="routeToDashboard()" class="btn btn-sm btn-primary">Return Home</a>
|
|
23
|
+
</div>
|
|
24
|
+
<!--end::Link-->
|
|
File without changes
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { Error404Component } from './error404.component';
|
|
4
|
+
|
|
5
|
+
describe('Error404Component', () => {
|
|
6
|
+
let component: Error404Component;
|
|
7
|
+
let fixture: ComponentFixture<Error404Component>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
declarations: [ Error404Component ]
|
|
12
|
+
})
|
|
13
|
+
.compileComponents();
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
beforeEach(() => {
|
|
17
|
+
fixture = TestBed.createComponent(Error404Component);
|
|
18
|
+
component = fixture.componentInstance;
|
|
19
|
+
fixture.detectChanges();
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
it('should create', () => {
|
|
23
|
+
expect(component).toBeTruthy();
|
|
24
|
+
});
|
|
25
|
+
});
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Component, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { Subscription } from 'rxjs';
|
|
4
|
+
import {
|
|
5
|
+
DrawerComponent,
|
|
6
|
+
MenuComponent,
|
|
7
|
+
ScrollComponent,
|
|
8
|
+
ScrollTopComponent,
|
|
9
|
+
StickyComponent,
|
|
10
|
+
ToggleComponent,
|
|
11
|
+
} from 'tango-app-ui-global';
|
|
12
|
+
import { ThemeModeService } from 'tango-app-ui-global';
|
|
13
|
+
|
|
14
|
+
@Component({
|
|
15
|
+
selector: 'lib-error404',
|
|
16
|
+
templateUrl: './error404.component.html',
|
|
17
|
+
styleUrls: ['./error404.component.scss'],
|
|
18
|
+
})
|
|
19
|
+
export class Error404Component implements OnInit, OnDestroy {
|
|
20
|
+
private unsubscribe: Subscription[] = [];
|
|
21
|
+
|
|
22
|
+
constructor(private router: Router, private modeService: ThemeModeService) {}
|
|
23
|
+
|
|
24
|
+
ngOnInit(): void {
|
|
25
|
+
// const subscr = this.modeService.mode.asObservable().subscribe((mode) => {
|
|
26
|
+
// document.body.style.backgroundImage =
|
|
27
|
+
// mode === 'dark'
|
|
28
|
+
// ? 'url(./assets/media/auth/bg1-dark.jpg)'
|
|
29
|
+
// : 'url(./assets/media/auth/bg1.jpg)';
|
|
30
|
+
// });
|
|
31
|
+
// this.unsubscribe.push(subscr);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
routeToDashboard() {
|
|
35
|
+
this.router.navigate(['/manage/brands']);
|
|
36
|
+
// setTimeout(() => {
|
|
37
|
+
// ToggleComponent.reinitialization();
|
|
38
|
+
// ScrollTopComponent.reinitialization();
|
|
39
|
+
// DrawerComponent.reinitialization();
|
|
40
|
+
// StickyComponent.bootstrap();
|
|
41
|
+
// MenuComponent.reinitialization();
|
|
42
|
+
// ScrollComponent.reinitialization();
|
|
43
|
+
// }, 200);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
ngOnDestroy() {
|
|
47
|
+
this.unsubscribe.forEach((sb) => sb.unsubscribe());
|
|
48
|
+
document.body.style.backgroundImage = 'none';
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<!--begin::Title-->
|
|
2
|
+
<h1 class="fw-bolder fs-2qx text-gray-900 mb-4">
|
|
3
|
+
System Error
|
|
4
|
+
</h1>
|
|
5
|
+
<!--end::Title-->
|
|
6
|
+
|
|
7
|
+
<!--begin::Text-->
|
|
8
|
+
<div class="fw-semibold fs-6 text-gray-500 mb-7">
|
|
9
|
+
Something went wrong! Please try again later.
|
|
10
|
+
</div>
|
|
11
|
+
<!--end::Text-->
|
|
12
|
+
|
|
13
|
+
<!--begin::Illustration-->
|
|
14
|
+
<div class="mb-11">
|
|
15
|
+
<img src="./assets/media/auth/500-error.png" class="mw-100 mh-300px theme-light-show" alt="" />
|
|
16
|
+
<img src="./assets/media/auth/500-error-dark.png" class="mw-100 mh-300px theme-dark-show" alt="" />
|
|
17
|
+
</div>
|
|
18
|
+
<!--end::Illustration-->
|
|
19
|
+
|
|
20
|
+
<!--begin::Link-->
|
|
21
|
+
<div class="mb-0">
|
|
22
|
+
<a (click)="routeToDashboard()" class="btn btn-sm btn-primary">Return Home</a>
|
|
23
|
+
</div>
|
|
24
|
+
<!--end::Link-->
|
|
File without changes
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { Error500Component } from './error500.component';
|
|
4
|
+
|
|
5
|
+
describe('Error500Component', () => {
|
|
6
|
+
let component: Error500Component;
|
|
7
|
+
let fixture: ComponentFixture<Error500Component>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
declarations: [ Error500Component ]
|
|
12
|
+
})
|
|
13
|
+
.compileComponents();
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
beforeEach(() => {
|
|
17
|
+
fixture = TestBed.createComponent(Error500Component);
|
|
18
|
+
component = fixture.componentInstance;
|
|
19
|
+
fixture.detectChanges();
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
it('should create', () => {
|
|
23
|
+
expect(component).toBeTruthy();
|
|
24
|
+
});
|
|
25
|
+
});
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Component, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { Subscription } from 'rxjs';
|
|
4
|
+
import {
|
|
5
|
+
DrawerComponent,
|
|
6
|
+
MenuComponent,
|
|
7
|
+
ScrollComponent,
|
|
8
|
+
ScrollTopComponent,
|
|
9
|
+
StickyComponent,
|
|
10
|
+
ToggleComponent,
|
|
11
|
+
} from 'tango-app-ui-global';
|
|
12
|
+
import { ThemeModeService } from 'tango-app-ui-global';
|
|
13
|
+
|
|
14
|
+
@Component({
|
|
15
|
+
selector: 'lib-error500',
|
|
16
|
+
templateUrl: './error500.component.html',
|
|
17
|
+
styleUrls: ['./error500.component.scss'],
|
|
18
|
+
})
|
|
19
|
+
export class Error500Component implements OnInit, OnDestroy {
|
|
20
|
+
private unsubscribe: Subscription[] = [];
|
|
21
|
+
|
|
22
|
+
constructor(private router: Router, private modeService: ThemeModeService) {}
|
|
23
|
+
|
|
24
|
+
ngOnInit(): void {
|
|
25
|
+
const subscr = this.modeService.mode.asObservable().subscribe((mode) => {
|
|
26
|
+
document.body.style.backgroundImage =
|
|
27
|
+
mode === 'dark'
|
|
28
|
+
? 'url(./assets/media/auth/bg7-dark.jpg)'
|
|
29
|
+
: 'url(./assets/media/auth/bg7.jpg)';
|
|
30
|
+
});
|
|
31
|
+
this.unsubscribe.push(subscr);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
routeToDashboard() {
|
|
35
|
+
this.router.navigate(['dashboard']);
|
|
36
|
+
setTimeout(() => {
|
|
37
|
+
ToggleComponent.reinitialization();
|
|
38
|
+
ScrollTopComponent.reinitialization();
|
|
39
|
+
DrawerComponent.reinitialization();
|
|
40
|
+
StickyComponent.bootstrap();
|
|
41
|
+
MenuComponent.reinitialization();
|
|
42
|
+
ScrollComponent.reinitialization();
|
|
43
|
+
}, 200);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
ngOnDestroy() {
|
|
47
|
+
this.unsubscribe.forEach((sb) => sb.unsubscribe());
|
|
48
|
+
document.body.style.backgroundImage = 'none';
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { RouterModule, Routes } from '@angular/router';
|
|
3
|
+
import { Error404Component } from './error404/error404.component';
|
|
4
|
+
import { Error500Component } from './error500/error500.component';
|
|
5
|
+
import { ErrorsComponent } from './errors.component';
|
|
6
|
+
import { Error403Component } from './error403/error403.component';
|
|
7
|
+
import { InvalidIpComponent } from './invalid-ip/invalid-ip.component';
|
|
8
|
+
|
|
9
|
+
const routes: Routes = [
|
|
10
|
+
{
|
|
11
|
+
path: '',
|
|
12
|
+
component: ErrorsComponent,
|
|
13
|
+
children: [
|
|
14
|
+
{
|
|
15
|
+
path: '403',
|
|
16
|
+
component: Error403Component,
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
path: '404',
|
|
20
|
+
component: Error404Component,
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
path: '500',
|
|
24
|
+
component: Error500Component,
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
path: '403-ip',
|
|
28
|
+
component: InvalidIpComponent,
|
|
29
|
+
},
|
|
30
|
+
{ path: '', redirectTo: '404', pathMatch: 'full' },
|
|
31
|
+
{ path: '**', redirectTo: '404', pathMatch: 'full' },
|
|
32
|
+
],
|
|
33
|
+
},
|
|
34
|
+
];
|
|
35
|
+
|
|
36
|
+
@NgModule({
|
|
37
|
+
imports: [RouterModule.forChild(routes)],
|
|
38
|
+
exports: [RouterModule],
|
|
39
|
+
})
|
|
40
|
+
export class ErrorsRoutingModule {}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<!--begin::Authentication - -->
|
|
2
|
+
<div class="d-flex flex-column flex-center flex-column-fluid">
|
|
3
|
+
<!--begin::Content-->
|
|
4
|
+
<div class="d-flex flex-column flex-center text-center p-10">
|
|
5
|
+
<!--begin::Wrapper-->
|
|
6
|
+
<div class="card card-flush w-lg-650px py-5">
|
|
7
|
+
<div class="card-body py-15 py-lg-20">
|
|
8
|
+
<router-outlet></router-outlet>
|
|
9
|
+
</div>
|
|
10
|
+
</div>
|
|
11
|
+
<!--end::Wrapper-->
|
|
12
|
+
</div>
|
|
13
|
+
<!--end::Content-->
|
|
14
|
+
</div>
|
|
15
|
+
<!--end::Authentication - -->
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { ErrorsComponent } from './errors.component';
|
|
4
|
+
|
|
5
|
+
describe('ErrorsComponent', () => {
|
|
6
|
+
let component: ErrorsComponent;
|
|
7
|
+
let fixture: ComponentFixture<ErrorsComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
declarations: [ ErrorsComponent ]
|
|
12
|
+
})
|
|
13
|
+
.compileComponents();
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
beforeEach(() => {
|
|
17
|
+
fixture = TestBed.createComponent(ErrorsComponent);
|
|
18
|
+
component = fixture.componentInstance;
|
|
19
|
+
fixture.detectChanges();
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
it('should create', () => {
|
|
23
|
+
expect(component).toBeTruthy();
|
|
24
|
+
});
|
|
25
|
+
});
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Component, HostBinding, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import {
|
|
4
|
+
DrawerComponent,
|
|
5
|
+
MenuComponent,
|
|
6
|
+
ScrollComponent,
|
|
7
|
+
ScrollTopComponent,
|
|
8
|
+
StickyComponent,
|
|
9
|
+
ToggleComponent,
|
|
10
|
+
} from 'tango-app-ui-global';
|
|
11
|
+
|
|
12
|
+
const BODY_CLASSES = ['bgi-size-cover', 'bgi-position-center', 'bgi-no-repeat'];
|
|
13
|
+
|
|
14
|
+
@Component({
|
|
15
|
+
selector: 'lib-errors',
|
|
16
|
+
templateUrl: './errors.component.html',
|
|
17
|
+
styleUrls: ['./errors.component.scss'],
|
|
18
|
+
})
|
|
19
|
+
export class ErrorsComponent implements OnInit, OnDestroy {
|
|
20
|
+
@HostBinding('class') class = 'd-flex flex-column flex-root';
|
|
21
|
+
constructor(private router: Router) {}
|
|
22
|
+
|
|
23
|
+
ngOnInit(): void {
|
|
24
|
+
BODY_CLASSES.forEach((c) => document.body.classList.add(c));
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
ngOnDestroy(): void {
|
|
28
|
+
BODY_CLASSES.forEach((c) => document.body.classList.remove(c));
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
routeToDashboard() {
|
|
32
|
+
this.router.navigate(['dashboard']);
|
|
33
|
+
setTimeout(() => {
|
|
34
|
+
ToggleComponent.bootstrap();
|
|
35
|
+
ScrollTopComponent.bootstrap();
|
|
36
|
+
DrawerComponent.bootstrap();
|
|
37
|
+
StickyComponent.bootstrap();
|
|
38
|
+
MenuComponent.bootstrap();
|
|
39
|
+
ScrollComponent.bootstrap();
|
|
40
|
+
}, 200);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
|
|
4
|
+
import { ErrorsRoutingModule } from './errors-routing.module';
|
|
5
|
+
import { ErrorsComponent } from '../errors/errors.component';
|
|
6
|
+
import { Error500Component } from './error500/error500.component';
|
|
7
|
+
import { Error404Component } from './error404/error404.component';
|
|
8
|
+
import { Error403Component } from './error403/error403.component';
|
|
9
|
+
import { InvalidIpComponent } from './invalid-ip/invalid-ip.component';
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
@NgModule({
|
|
13
|
+
declarations: [
|
|
14
|
+
ErrorsComponent,
|
|
15
|
+
Error404Component,
|
|
16
|
+
Error500Component,
|
|
17
|
+
Error403Component,
|
|
18
|
+
InvalidIpComponent
|
|
19
|
+
],
|
|
20
|
+
imports: [
|
|
21
|
+
CommonModule,
|
|
22
|
+
ErrorsRoutingModule
|
|
23
|
+
]
|
|
24
|
+
})
|
|
25
|
+
export class ErrorsModule { }
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
<!--begin::Illustration-->
|
|
4
|
+
<div class="mb-8">
|
|
5
|
+
<img src="./assets/media/auth/invalid-ip-error.png" class="mw-100 mh-300px theme-light-show" alt="" />
|
|
6
|
+
<img src="./assets/media/auth/invalid-ip-error.png" class="mw-100 mh-300px theme-dark-show" alt="" />
|
|
7
|
+
</div>
|
|
8
|
+
<!--end::Illustration-->
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
<!--begin::Text-->
|
|
12
|
+
<div class="fw-semibold fs-6 text-gray-500 mb-7">
|
|
13
|
+
Your IP address is not whitelisted. Please connect to an authorized network or contact your administrator to whitelist your IP address.
|
|
14
|
+
</div>
|
|
15
|
+
<!--end::Text-->
|
|
16
|
+
|
|
File without changes
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { InvalidIpComponent } from './invalid-ip.component';
|
|
4
|
+
|
|
5
|
+
describe('InvalidIpComponent', () => {
|
|
6
|
+
let component: InvalidIpComponent;
|
|
7
|
+
let fixture: ComponentFixture<InvalidIpComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
declarations: [InvalidIpComponent]
|
|
12
|
+
})
|
|
13
|
+
.compileComponents();
|
|
14
|
+
|
|
15
|
+
fixture = TestBed.createComponent(InvalidIpComponent);
|
|
16
|
+
component = fixture.componentInstance;
|
|
17
|
+
fixture.detectChanges();
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
it('should create', () => {
|
|
21
|
+
expect(component).toBeTruthy();
|
|
22
|
+
});
|
|
23
|
+
});
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { Component, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { Subscription } from 'rxjs';
|
|
4
|
+
import { AuthService } from '../../../services/auth.service';
|
|
5
|
+
import { ThemeModeService } from 'tango-app-ui-global';
|
|
6
|
+
|
|
7
|
+
@Component({
|
|
8
|
+
selector: 'lib-invalid-ip',
|
|
9
|
+
templateUrl: './invalid-ip.component.html',
|
|
10
|
+
styleUrl: './invalid-ip.component.scss'
|
|
11
|
+
})
|
|
12
|
+
export class InvalidIpComponent implements OnInit, OnDestroy {
|
|
13
|
+
|
|
14
|
+
private unsubscribe: Subscription[] = [];
|
|
15
|
+
|
|
16
|
+
constructor(private router: Router, private modeService: ThemeModeService, private authService:AuthService) {}
|
|
17
|
+
ngOnInit(): void {
|
|
18
|
+
// const subscr = this.modeService.mode.asObservable().subscribe((mode) => {
|
|
19
|
+
// document.body.style.backgroundImage =
|
|
20
|
+
// mode === 'dark'
|
|
21
|
+
// ? 'url(./assets/media/auth/bg1-dark.jpg)'
|
|
22
|
+
// : 'url(./assets/media/auth/bg1.jpg)';
|
|
23
|
+
// });
|
|
24
|
+
// this.unsubscribe.push(subscr);
|
|
25
|
+
this.getProfile()
|
|
26
|
+
}
|
|
27
|
+
ngOnDestroy() {
|
|
28
|
+
this.unsubscribe.forEach((sb) => sb.unsubscribe());
|
|
29
|
+
document.body.style.backgroundImage = 'none';
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
getProfile(){
|
|
33
|
+
this.unsubscribe.push(
|
|
34
|
+
this.authService.userProfileDet().subscribe((res)=>{
|
|
35
|
+
if(res?.data?.result !== 'RESTRICTED-IP'){
|
|
36
|
+
this.router.navigate(['/manage'])
|
|
37
|
+
}
|
|
38
|
+
})
|
|
39
|
+
)
|
|
40
|
+
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<div class="card p-0">
|
|
2
|
+
<div class="card-header border-0 pt-3">
|
|
3
|
+
<h3 class="card-title align-items-start flex-column">
|
|
4
|
+
<span class="card-label ellipse1 header mb-2">Contact Support</span>
|
|
5
|
+
</h3>
|
|
6
|
+
<div class="card-toolbar">
|
|
7
|
+
</div>
|
|
8
|
+
</div>
|
|
9
|
+
<div class="card-body pt-0 mh-60vh">
|
|
10
|
+
<div class="d-flex justify-content-between align-items-center pt-5" >
|
|
11
|
+
<div class="d-flex">
|
|
12
|
+
<div class="position-relative">
|
|
13
|
+
<div class="rounded-5 profile fw-semibold d-flex align-items-center justify-content-center">CU</div>
|
|
14
|
+
</div>
|
|
15
|
+
<div class="d-grid mx-3">
|
|
16
|
+
<span class="headingtext fw-bold-600"> Customer support </span>
|
|
17
|
+
<span class="sub-header ellipse fw-bold-400">hello@tangotech.co.in</span>
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="contact fw-semibold">
|
|
21
|
+
<span>+91 6380909115</span>
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
<div class="card-body pt-0">
|
|
26
|
+
<button (click)="accept()" class="btn btn-default btn-primary mt-5 w-100">
|
|
27
|
+
Okay
|
|
28
|
+
</button>
|
|
29
|
+
</div>
|
|
30
|
+
</div>
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
.header{
|
|
2
|
+
color: var(--Gray-900, #101828) !important;
|
|
3
|
+
font-size: 18px !important;
|
|
4
|
+
line-height: 28px !important;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.sub-header{
|
|
8
|
+
color: var(--Gray-500, #667085) !important;
|
|
9
|
+
font-size: 14px !important;
|
|
10
|
+
line-height: 20px;
|
|
11
|
+
}
|
|
12
|
+
.contact{
|
|
13
|
+
color: var(--Gray-500, #667085) !important;
|
|
14
|
+
font-size: 12px !important;
|
|
15
|
+
line-height: 18px;
|
|
16
|
+
}
|
|
17
|
+
.fw-bold-400{
|
|
18
|
+
font-weight: 400 !important;
|
|
19
|
+
}
|
|
20
|
+
.fw-bold-600{
|
|
21
|
+
font-weight:600 !important;
|
|
22
|
+
}
|
|
23
|
+
.ellipse{
|
|
24
|
+
width:200px;
|
|
25
|
+
white-space: nowrap;
|
|
26
|
+
overflow: hidden;
|
|
27
|
+
text-overflow: ellipsis;
|
|
28
|
+
}
|
|
29
|
+
.ellipse1{
|
|
30
|
+
min-width:auto;
|
|
31
|
+
max-width:75vh;
|
|
32
|
+
white-space: nowrap;
|
|
33
|
+
overflow: hidden;
|
|
34
|
+
text-overflow: ellipsis;
|
|
35
|
+
}
|
|
36
|
+
// .msgprofile{
|
|
37
|
+
// width:40px !important;
|
|
38
|
+
// height:40px !important ;
|
|
39
|
+
// border-radius: 200px;
|
|
40
|
+
// overflow: hidden;
|
|
41
|
+
// }
|
|
42
|
+
.profile{
|
|
43
|
+
color: var(--Primary-600, #00A3FF);
|
|
44
|
+
background-color: var(--primary-50, #EAF8FF);
|
|
45
|
+
width:40px !important;
|
|
46
|
+
height:40px !important;
|
|
47
|
+
}
|
|
48
|
+
.swal2-popup.swal2-toast.swal2-show {
|
|
49
|
+
background-color: aqua !important;
|
|
50
|
+
border-left: 2px solid red !important;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.swal2-toast{
|
|
54
|
+
background-color: aqua !important;
|
|
55
|
+
border-left: 2px solid red !important;
|
|
56
|
+
}
|
|
57
|
+
.mh-60vh{
|
|
58
|
+
max-height: 60vh !important;
|
|
59
|
+
overflow: auto !important;
|
|
60
|
+
}
|