tango-app-ui-shared 3.5.1-task.2 → 3.5.1-task.3
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/esm2022/lib/guards/auth.guard.mjs +26 -0
- package/esm2022/lib/guards/lead.guard.mjs +16 -0
- package/esm2022/lib/guards/stores.guard.mjs +16 -0
- package/esm2022/lib/guards/tickets.guard.mjs +16 -0
- package/esm2022/lib/i18n/index.mjs +3 -0
- package/esm2022/lib/i18n/translation.module.mjs +17 -0
- package/esm2022/lib/i18n/translation.service.mjs +53 -0
- package/esm2022/lib/i18n/vocabs/ch.mjs +106 -0
- package/esm2022/lib/i18n/vocabs/de.mjs +106 -0
- package/esm2022/lib/i18n/vocabs/en.mjs +106 -0
- package/esm2022/lib/i18n/vocabs/es.mjs +106 -0
- package/esm2022/lib/i18n/vocabs/fr.mjs +106 -0
- package/esm2022/lib/i18n/vocabs/jp.mjs +106 -0
- package/esm2022/lib/interceptors/http-auth-interceptor.mjs +201 -0
- package/esm2022/lib/interfaces/global-state.mjs +2 -0
- package/esm2022/lib/modules/common/common-shared.module.mjs +31 -0
- package/esm2022/lib/modules/common/custom-select/custom-select.component.mjs +155 -0
- package/esm2022/lib/modules/common/filters/filters.component.mjs +179 -0
- package/esm2022/lib/modules/common/pagination/pagination.component.mjs +49 -0
- package/esm2022/lib/modules/errors/error403/error403.component.mjs +33 -0
- package/esm2022/lib/modules/errors/error404/error404.component.mjs +44 -0
- package/esm2022/lib/modules/errors/error500/error500.component.mjs +45 -0
- package/esm2022/lib/modules/errors/errors-routing.module.mjs +48 -0
- package/esm2022/lib/modules/errors/errors.component.mjs +39 -0
- package/esm2022/lib/modules/errors/errors.module.mjs +37 -0
- package/esm2022/lib/modules/errors/invalid-ip/invalid-ip.component.mjs +44 -0
- package/esm2022/lib/modules/intro/contact-support/contact-support.component.mjs +19 -0
- package/esm2022/lib/modules/intro/intro-routing.module.mjs +24 -0
- package/esm2022/lib/modules/intro/intro.module.mjs +32 -0
- package/esm2022/lib/modules/intro/lead-intro/lead-intro.component.mjs +110 -0
- package/esm2022/lib/modules/layout/components/csm-assign-confirmation/csm-assign-confirmation.component.mjs +31 -0
- package/esm2022/lib/modules/layout/content/content.component.mjs +107 -0
- package/esm2022/lib/modules/layout/footer/footer.component.mjs +17 -0
- package/esm2022/lib/modules/layout/header/header-menu/header-menu.component.mjs +41 -0
- package/esm2022/lib/modules/layout/header/header.component.mjs +100 -0
- package/esm2022/lib/modules/layout/header/navbar/navbar.component.mjs +256 -0
- package/esm2022/lib/modules/layout/header/notifications-inner/notifications-inner.component.mjs +79 -0
- package/esm2022/lib/modules/layout/header/page-title/page-title.component.mjs +56 -0
- package/esm2022/lib/modules/layout/keenicon/icons.json +1 -0
- package/esm2022/lib/modules/layout/keenicon/keenicon.component.mjs +37 -0
- package/esm2022/lib/modules/layout/layout/layout.component.mjs +314 -0
- package/esm2022/lib/modules/layout/layout.module.mjs +195 -0
- package/esm2022/lib/modules/layout/scripts-init/scripts-init.component.mjs +74 -0
- package/esm2022/lib/modules/layout/scroll-top/scroll-top.component.mjs +74 -0
- package/esm2022/lib/modules/layout/sidebar/sidebar-footer/sidebar-footer.component.mjs +118 -0
- package/esm2022/lib/modules/layout/sidebar/sidebar-logo/sidebar-logo.component.mjs +45 -0
- package/esm2022/lib/modules/layout/sidebar/sidebar-menu/sidebar-menu.component.mjs +111 -0
- package/esm2022/lib/modules/layout/sidebar/sidebar.component.mjs +134 -0
- package/esm2022/lib/modules/layout/toolbar/accounting/accounting.component.mjs +16 -0
- package/esm2022/lib/modules/layout/toolbar/classic/classic.component.mjs +331 -0
- package/esm2022/lib/modules/layout/toolbar/client-settings/client-settings.component.mjs +88 -0
- package/esm2022/lib/modules/layout/toolbar/date-single-select/date-single-select.component.mjs +201 -0
- package/esm2022/lib/modules/layout/toolbar/datepicker/datepicker.component.mjs +150 -0
- package/esm2022/lib/modules/layout/toolbar/extended/extended.component.mjs +15 -0
- package/esm2022/lib/modules/layout/toolbar/metrics-header/metrics-header.component.mjs +1321 -0
- package/esm2022/lib/modules/layout/toolbar/reports/reports.component.mjs +18 -0
- package/esm2022/lib/modules/layout/toolbar/saas/saas.component.mjs +18 -0
- package/esm2022/lib/modules/layout/toolbar/single-clientstore-date/single-clientstore-date.component.mjs +11 -0
- package/esm2022/lib/modules/layout/toolbar/single-store/single-store.component.mjs +176 -0
- package/esm2022/lib/modules/layout/toolbar/single-storedate/single-storedate.component.mjs +166 -0
- package/esm2022/lib/modules/layout/toolbar/storesingle/storesingle.component.mjs +105 -0
- package/esm2022/lib/modules/layout/toolbar/toolbar.component.mjs +314 -0
- package/esm2022/lib/modules/layout/toolbar/traffic-header/traffic-header/traffic-header.component.mjs +1060 -0
- package/esm2022/lib/modules/layout/toolbar/traffic-nob/traffic-nob.component.mjs +795 -0
- package/esm2022/lib/modules/layout/toolbar/trax-header/trax-header.component.mjs +880 -0
- package/esm2022/lib/modules/layout/toolbar/trax-withoutdate/trax-withoutdate.component.mjs +729 -0
- package/esm2022/lib/modules/notification/conformation/conformation.component.mjs +22 -0
- package/esm2022/lib/modules/notification/notification/notification.component.mjs +317 -0
- package/esm2022/lib/modules/notification/notification-routing.module.mjs +28 -0
- package/esm2022/lib/modules/notification/notification.module.mjs +32 -0
- package/esm2022/lib/pipes/customDate.pipe.mjs +22 -0
- package/esm2022/lib/routes/route-wraper-modules/edge-wrapper.module.mjs +18 -0
- package/esm2022/lib/routes/route-wraper-modules/manage-wrapper.module.mjs +18 -0
- package/esm2022/lib/routes/route-wraper-modules/profile-wrapper.module.mjs +18 -0
- package/esm2022/lib/routes/route-wraper-modules/store-wrapper.module.mjs +18 -0
- package/esm2022/lib/routes/route-wraper-modules/ticket-wrapper.module.mjs +18 -0
- package/esm2022/lib/routes/routing.mjs +53 -0
- package/esm2022/lib/services/auth.service.mjs +154 -0
- package/esm2022/lib/services/notification.service.mjs +74 -0
- package/esm2022/lib/services/toast.service.mjs +83 -0
- package/esm2022/public-api.mjs +56 -0
- package/esm2022/tango-app-ui-shared.mjs +5 -0
- package/fesm2022/tango-app-ui-shared-edge-wrapper.module-CFDk0tvS.mjs +21 -0
- package/fesm2022/tango-app-ui-shared-edge-wrapper.module-CFDk0tvS.mjs.map +1 -0
- package/fesm2022/tango-app-ui-shared-intro.module-DYh4ZRha.mjs +188 -0
- package/fesm2022/tango-app-ui-shared-intro.module-DYh4ZRha.mjs.map +1 -0
- package/fesm2022/tango-app-ui-shared-manage-wrapper.module-BHyh4Njw.mjs +21 -0
- package/fesm2022/tango-app-ui-shared-manage-wrapper.module-BHyh4Njw.mjs.map +1 -0
- package/fesm2022/tango-app-ui-shared-notification.module-C5ZmCf8U.mjs +400 -0
- package/fesm2022/tango-app-ui-shared-notification.module-C5ZmCf8U.mjs.map +1 -0
- package/fesm2022/tango-app-ui-shared-profile-wrapper.module-BNC1AGOk.mjs +21 -0
- package/fesm2022/tango-app-ui-shared-profile-wrapper.module-BNC1AGOk.mjs.map +1 -0
- package/fesm2022/tango-app-ui-shared-store-wrapper.module-DdaCYHdv.mjs +21 -0
- package/fesm2022/tango-app-ui-shared-store-wrapper.module-DdaCYHdv.mjs.map +1 -0
- package/fesm2022/tango-app-ui-shared-ticket-wrapper.module-r32uKkDO.mjs +21 -0
- package/fesm2022/tango-app-ui-shared-ticket-wrapper.module-r32uKkDO.mjs.map +1 -0
- package/fesm2022/tango-app-ui-shared.mjs +11121 -0
- package/fesm2022/tango-app-ui-shared.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/guards/auth.guard.d.ts +10 -0
- package/lib/guards/lead.guard.d.ts +2 -0
- package/lib/guards/stores.guard.d.ts +2 -0
- package/lib/guards/tickets.guard.d.ts +2 -0
- package/{src/lib/i18n/index.ts → lib/i18n/index.d.ts} +2 -2
- package/lib/i18n/translation.module.d.ts +8 -0
- package/lib/i18n/translation.service.d.ts +19 -0
- package/lib/i18n/vocabs/ch.d.ts +104 -0
- package/lib/i18n/vocabs/de.d.ts +104 -0
- package/lib/i18n/vocabs/en.d.ts +104 -0
- package/lib/i18n/vocabs/es.d.ts +104 -0
- package/lib/i18n/vocabs/fr.d.ts +104 -0
- package/lib/i18n/vocabs/jp.d.ts +104 -0
- package/lib/interceptors/http-auth-interceptor.d.ts +20 -0
- package/lib/interfaces/global-state.d.ts +5 -0
- package/lib/modules/common/common-shared.module.d.ts +13 -0
- package/lib/modules/common/custom-select/custom-select.component.d.ts +33 -0
- package/lib/modules/common/filters/filters.component.d.ts +38 -0
- package/lib/modules/common/pagination/pagination.component.d.ts +18 -0
- package/lib/modules/errors/error403/error403.component.d.ts +14 -0
- package/lib/modules/errors/error404/error404.component.d.ts +15 -0
- package/lib/modules/errors/error500/error500.component.d.ts +15 -0
- package/lib/modules/errors/errors-routing.module.d.ts +7 -0
- package/lib/modules/errors/errors.component.d.ts +13 -0
- package/lib/modules/errors/errors.module.d.ts +13 -0
- package/lib/modules/errors/invalid-ip/invalid-ip.component.d.ts +17 -0
- package/lib/modules/intro/contact-support/contact-support.component.d.ts +9 -0
- package/lib/modules/intro/intro-routing.module.d.ts +7 -0
- package/lib/modules/intro/intro.module.d.ts +11 -0
- package/lib/modules/intro/lead-intro/lead-intro.component.d.ts +31 -0
- package/lib/modules/layout/components/csm-assign-confirmation/csm-assign-confirmation.component.d.ts +13 -0
- package/lib/modules/layout/content/content.component.d.ts +25 -0
- package/lib/modules/layout/footer/footer.component.d.ts +8 -0
- package/lib/modules/layout/header/header-menu/header-menu.component.d.ts +18 -0
- package/lib/modules/layout/header/header.component.d.ts +30 -0
- package/lib/modules/layout/header/navbar/navbar.component.d.ts +45 -0
- package/lib/modules/layout/header/notifications-inner/notifications-inner.component.d.ts +25 -0
- package/lib/modules/layout/header/page-title/page-title.component.d.ts +23 -0
- package/lib/modules/layout/keenicon/keenicon.component.d.ts +13 -0
- package/lib/modules/layout/layout/layout.component.d.ts +82 -0
- package/lib/modules/layout/layout.module.d.ts +49 -0
- package/lib/modules/layout/scripts-init/scripts-init.component.d.ts +19 -0
- package/lib/modules/layout/scroll-top/scroll-top.component.d.ts +19 -0
- package/lib/modules/layout/sidebar/sidebar-footer/sidebar-footer.component.d.ts +39 -0
- package/lib/modules/layout/sidebar/sidebar-logo/sidebar-logo.component.d.ts +19 -0
- package/lib/modules/layout/sidebar/sidebar-menu/sidebar-menu.component.d.ts +23 -0
- package/lib/modules/layout/sidebar/sidebar.component.d.ts +36 -0
- package/lib/modules/layout/toolbar/accounting/accounting.component.d.ts +8 -0
- package/lib/modules/layout/toolbar/classic/classic.component.d.ts +48 -0
- package/lib/modules/layout/toolbar/client-settings/client-settings.component.d.ts +16 -0
- package/lib/modules/layout/toolbar/date-single-select/date-single-select.component.d.ts +28 -0
- package/lib/modules/layout/toolbar/datepicker/datepicker.component.d.ts +28 -0
- package/lib/modules/layout/toolbar/extended/extended.component.d.ts +8 -0
- package/lib/modules/layout/toolbar/metrics-header/metrics-header.component.d.ts +103 -0
- package/lib/modules/layout/toolbar/reports/reports.component.d.ts +9 -0
- package/lib/modules/layout/toolbar/saas/saas.component.d.ts +9 -0
- package/lib/modules/layout/toolbar/single-clientstore-date/single-clientstore-date.component.d.ts +5 -0
- package/lib/modules/layout/toolbar/single-store/single-store.component.d.ts +33 -0
- package/lib/modules/layout/toolbar/single-storedate/single-storedate.component.d.ts +34 -0
- package/lib/modules/layout/toolbar/storesingle/storesingle.component.d.ts +24 -0
- package/lib/modules/layout/toolbar/toolbar.component.d.ts +55 -0
- package/lib/modules/layout/toolbar/traffic-header/traffic-header/traffic-header.component.d.ts +93 -0
- package/lib/modules/layout/toolbar/traffic-nob/traffic-nob.component.d.ts +80 -0
- package/lib/modules/layout/toolbar/trax-header/trax-header.component.d.ts +83 -0
- package/lib/modules/layout/toolbar/trax-withoutdate/trax-withoutdate.component.d.ts +74 -0
- package/lib/modules/notification/conformation/conformation.component.d.ts +10 -0
- package/lib/modules/notification/notification/notification.component.d.ts +63 -0
- package/lib/modules/notification/notification-routing.module.d.ts +7 -0
- package/lib/modules/notification/notification.module.d.ts +11 -0
- package/lib/pipes/customDate.pipe.d.ts +7 -0
- package/lib/routes/route-wraper-modules/edge-wrapper.module.d.ts +7 -0
- package/lib/routes/route-wraper-modules/manage-wrapper.module.d.ts +7 -0
- package/lib/routes/route-wraper-modules/profile-wrapper.module.d.ts +7 -0
- package/lib/routes/route-wraper-modules/store-wrapper.module.d.ts +7 -0
- package/lib/routes/route-wraper-modules/ticket-wrapper.module.d.ts +7 -0
- package/lib/routes/routing.d.ts +3 -0
- package/lib/services/auth.service.d.ts +52 -0
- package/lib/services/notification.service.d.ts +30 -0
- package/lib/services/toast.service.d.ts +10 -0
- package/package.json +25 -12
- package/{src/public-api.ts → public-api.d.ts} +44 -71
- package/.eslintrc.json +0 -37
- package/ng-package.json +0 -7
- package/src/lib/guards/auth.guard.ts +0 -20
- package/src/lib/guards/lead.guard.ts +0 -16
- package/src/lib/guards/stores.guard.ts +0 -16
- package/src/lib/guards/tickets.guard.ts +0 -16
- package/src/lib/i18n/translation.module.ts +0 -9
- package/src/lib/i18n/translation.service.ts +0 -61
- package/src/lib/i18n/vocabs/ch.ts +0 -105
- package/src/lib/i18n/vocabs/de.ts +0 -105
- package/src/lib/i18n/vocabs/en.ts +0 -105
- package/src/lib/i18n/vocabs/es.ts +0 -105
- package/src/lib/i18n/vocabs/fr.ts +0 -105
- package/src/lib/i18n/vocabs/jp.ts +0 -105
- package/src/lib/interceptors/http-auth-interceptor.ts +0 -225
- package/src/lib/interfaces/global-state.ts +0 -6
- package/src/lib/modules/common/common-shared.module.ts +0 -20
- package/src/lib/modules/common/custom-select/custom-select.component.html +0 -42
- package/src/lib/modules/common/custom-select/custom-select.component.scss +0 -131
- package/src/lib/modules/common/custom-select/custom-select.component.spec.ts +0 -23
- package/src/lib/modules/common/custom-select/custom-select.component.ts +0 -149
- package/src/lib/modules/common/filters/filters.component.html +0 -76
- package/src/lib/modules/common/filters/filters.component.scss +0 -131
- package/src/lib/modules/common/filters/filters.component.spec.ts +0 -23
- package/src/lib/modules/common/filters/filters.component.ts +0 -181
- package/src/lib/modules/common/pagination/pagination.component.html +0 -26
- package/src/lib/modules/common/pagination/pagination.component.scss +0 -63
- package/src/lib/modules/common/pagination/pagination.component.spec.ts +0 -23
- package/src/lib/modules/common/pagination/pagination.component.ts +0 -46
- package/src/lib/modules/errors/error403/error403.component.html +0 -25
- package/src/lib/modules/errors/error403/error403.component.scss +0 -0
- package/src/lib/modules/errors/error403/error403.component.spec.ts +0 -23
- package/src/lib/modules/errors/error403/error403.component.ts +0 -28
- package/src/lib/modules/errors/error404/error404.component.html +0 -24
- package/src/lib/modules/errors/error404/error404.component.scss +0 -0
- package/src/lib/modules/errors/error404/error404.component.spec.ts +0 -25
- package/src/lib/modules/errors/error404/error404.component.ts +0 -50
- package/src/lib/modules/errors/error500/error500.component.html +0 -24
- package/src/lib/modules/errors/error500/error500.component.scss +0 -0
- package/src/lib/modules/errors/error500/error500.component.spec.ts +0 -25
- package/src/lib/modules/errors/error500/error500.component.ts +0 -50
- package/src/lib/modules/errors/errors-routing.module.ts +0 -40
- package/src/lib/modules/errors/errors.component.html +0 -15
- package/src/lib/modules/errors/errors.component.scss +0 -4
- package/src/lib/modules/errors/errors.component.spec.ts +0 -25
- package/src/lib/modules/errors/errors.component.ts +0 -42
- package/src/lib/modules/errors/errors.module.ts +0 -25
- package/src/lib/modules/errors/invalid-ip/invalid-ip.component.html +0 -16
- 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 +0 -23
- package/src/lib/modules/errors/invalid-ip/invalid-ip.component.ts +0 -43
- package/src/lib/modules/intro/contact-support/contact-support.component.html +0 -30
- package/src/lib/modules/intro/contact-support/contact-support.component.scss +0 -60
- package/src/lib/modules/intro/contact-support/contact-support.component.spec.ts +0 -23
- package/src/lib/modules/intro/contact-support/contact-support.component.ts +0 -17
- package/src/lib/modules/intro/intro-routing.module.ts +0 -16
- package/src/lib/modules/intro/intro.module.ts +0 -21
- package/src/lib/modules/intro/lead-intro/lead-intro.component.html +0 -325
- package/src/lib/modules/intro/lead-intro/lead-intro.component.scss +0 -185
- package/src/lib/modules/intro/lead-intro/lead-intro.component.spec.ts +0 -23
- package/src/lib/modules/intro/lead-intro/lead-intro.component.ts +0 -120
- package/src/lib/modules/layout/components/csm-assign-confirmation/csm-assign-confirmation.component.html +0 -44
- package/src/lib/modules/layout/components/csm-assign-confirmation/csm-assign-confirmation.component.scss +0 -28
- package/src/lib/modules/layout/components/csm-assign-confirmation/csm-assign-confirmation.component.spec.ts +0 -23
- package/src/lib/modules/layout/components/csm-assign-confirmation/csm-assign-confirmation.component.ts +0 -24
- package/src/lib/modules/layout/content/content.component.html +0 -12
- package/src/lib/modules/layout/content/content.component.scss +0 -0
- package/src/lib/modules/layout/content/content.component.ts +0 -102
- package/src/lib/modules/layout/footer/footer.component.html +0 -29
- package/src/lib/modules/layout/footer/footer.component.scss +0 -7
- package/src/lib/modules/layout/footer/footer.component.spec.ts +0 -25
- package/src/lib/modules/layout/footer/footer.component.ts +0 -13
- package/src/lib/modules/layout/header/header-menu/header-menu.component.html +0 -27
- package/src/lib/modules/layout/header/header-menu/header-menu.component.scss +0 -4
- package/src/lib/modules/layout/header/header-menu/header-menu.component.spec.ts +0 -25
- package/src/lib/modules/layout/header/header-menu/header-menu.component.ts +0 -38
- package/src/lib/modules/layout/header/header.component.html +0 -90
- package/src/lib/modules/layout/header/header.component.scss +0 -7
- package/src/lib/modules/layout/header/header.component.spec.ts +0 -25
- package/src/lib/modules/layout/header/header.component.ts +0 -139
- package/src/lib/modules/layout/header/navbar/navbar.component.html +0 -156
- package/src/lib/modules/layout/header/navbar/navbar.component.scss +0 -223
- package/src/lib/modules/layout/header/navbar/navbar.component.spec.ts +0 -23
- package/src/lib/modules/layout/header/navbar/navbar.component.ts +0 -255
- package/src/lib/modules/layout/header/notifications-inner/notifications-inner.component.html +0 -200
- package/src/lib/modules/layout/header/notifications-inner/notifications-inner.component.scss +0 -139
- package/src/lib/modules/layout/header/notifications-inner/notifications-inner.component.ts +0 -76
- package/src/lib/modules/layout/header/page-title/page-title.component.html +0 -32
- package/src/lib/modules/layout/header/page-title/page-title.component.scss +0 -11
- package/src/lib/modules/layout/header/page-title/page-title.component.ts +0 -47
- package/src/lib/modules/layout/keenicon/icons.json +0 -1
- package/src/lib/modules/layout/keenicon/keenicon.component.html +0 -4
- package/src/lib/modules/layout/keenicon/keenicon.component.scss +0 -0
- package/src/lib/modules/layout/keenicon/keenicon.component.spec.ts +0 -23
- package/src/lib/modules/layout/keenicon/keenicon.component.ts +0 -30
- package/src/lib/modules/layout/layout/layout.component.html +0 -71
- package/src/lib/modules/layout/layout/layout.component.scss +0 -23
- package/src/lib/modules/layout/layout/layout.component.ts +0 -425
- package/src/lib/modules/layout/layout.module.ts +0 -127
- package/src/lib/modules/layout/scripts-init/scripts-init.component.html +0 -0
- package/src/lib/modules/layout/scripts-init/scripts-init.component.ts +0 -81
- package/src/lib/modules/layout/scroll-top/scroll-top.component.html +0 -1
- package/src/lib/modules/layout/scroll-top/scroll-top.component.ts +0 -75
- package/src/lib/modules/layout/sidebar/sidebar-footer/sidebar-footer.component.html +0 -70
- package/src/lib/modules/layout/sidebar/sidebar-footer/sidebar-footer.component.scss +0 -57
- package/src/lib/modules/layout/sidebar/sidebar-footer/sidebar-footer.component.spec.ts +0 -23
- package/src/lib/modules/layout/sidebar/sidebar-footer/sidebar-footer.component.ts +0 -101
- package/src/lib/modules/layout/sidebar/sidebar-logo/sidebar-logo.component.html +0 -26
- 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 +0 -23
- package/src/lib/modules/layout/sidebar/sidebar-logo/sidebar-logo.component.ts +0 -36
- package/src/lib/modules/layout/sidebar/sidebar-menu/sidebar-menu.component.html +0 -705
- package/src/lib/modules/layout/sidebar/sidebar-menu/sidebar-menu.component.scss +0 -38
- package/src/lib/modules/layout/sidebar/sidebar-menu/sidebar-menu.component.spec.ts +0 -23
- package/src/lib/modules/layout/sidebar/sidebar-menu/sidebar-menu.component.ts +0 -118
- package/src/lib/modules/layout/sidebar/sidebar.component.html +0 -16
- package/src/lib/modules/layout/sidebar/sidebar.component.scss +0 -3
- package/src/lib/modules/layout/sidebar/sidebar.component.spec.ts +0 -23
- package/src/lib/modules/layout/sidebar/sidebar.component.ts +0 -203
- package/src/lib/modules/layout/toolbar/accounting/accounting.component.html +0 -84
- package/src/lib/modules/layout/toolbar/accounting/accounting.component.scss +0 -0
- package/src/lib/modules/layout/toolbar/accounting/accounting.component.spec.ts +0 -23
- package/src/lib/modules/layout/toolbar/accounting/accounting.component.ts +0 -14
- package/src/lib/modules/layout/toolbar/classic/classic.component.html +0 -69
- package/src/lib/modules/layout/toolbar/classic/classic.component.scss +0 -238
- package/src/lib/modules/layout/toolbar/classic/classic.component.spec.ts +0 -23
- package/src/lib/modules/layout/toolbar/classic/classic.component.ts +0 -389
- package/src/lib/modules/layout/toolbar/client-settings/client-settings.component.html +0 -4
- package/src/lib/modules/layout/toolbar/client-settings/client-settings.component.scss +0 -3
- package/src/lib/modules/layout/toolbar/client-settings/client-settings.component.spec.ts +0 -23
- package/src/lib/modules/layout/toolbar/client-settings/client-settings.component.ts +0 -91
- package/src/lib/modules/layout/toolbar/date-single-select/date-single-select.component.html +0 -22
- package/src/lib/modules/layout/toolbar/date-single-select/date-single-select.component.scss +0 -156
- package/src/lib/modules/layout/toolbar/date-single-select/date-single-select.component.spec.ts +0 -23
- package/src/lib/modules/layout/toolbar/date-single-select/date-single-select.component.ts +0 -229
- package/src/lib/modules/layout/toolbar/datepicker/datepicker.component.html +0 -14
- package/src/lib/modules/layout/toolbar/datepicker/datepicker.component.scss +0 -149
- package/src/lib/modules/layout/toolbar/datepicker/datepicker.component.spec.ts +0 -23
- package/src/lib/modules/layout/toolbar/datepicker/datepicker.component.ts +0 -174
- package/src/lib/modules/layout/toolbar/extended/extended.component.html +0 -100
- package/src/lib/modules/layout/toolbar/extended/extended.component.scss +0 -0
- package/src/lib/modules/layout/toolbar/extended/extended.component.spec.ts +0 -23
- package/src/lib/modules/layout/toolbar/extended/extended.component.ts +0 -12
- package/src/lib/modules/layout/toolbar/metrics-header/metrics-header.component.html +0 -311
- package/src/lib/modules/layout/toolbar/metrics-header/metrics-header.component.scss +0 -311
- package/src/lib/modules/layout/toolbar/metrics-header/metrics-header.component.spec.ts +0 -23
- package/src/lib/modules/layout/toolbar/metrics-header/metrics-header.component.ts +0 -1555
- package/src/lib/modules/layout/toolbar/reports/reports.component.html +0 -62
- package/src/lib/modules/layout/toolbar/reports/reports.component.scss +0 -0
- package/src/lib/modules/layout/toolbar/reports/reports.component.spec.ts +0 -23
- package/src/lib/modules/layout/toolbar/reports/reports.component.ts +0 -14
- package/src/lib/modules/layout/toolbar/saas/saas.component.html +0 -77
- package/src/lib/modules/layout/toolbar/saas/saas.component.scss +0 -0
- package/src/lib/modules/layout/toolbar/saas/saas.component.spec.ts +0 -23
- package/src/lib/modules/layout/toolbar/saas/saas.component.ts +0 -14
- package/src/lib/modules/layout/toolbar/single-clientstore-date/single-clientstore-date.component.html +0 -1
- package/src/lib/modules/layout/toolbar/single-clientstore-date/single-clientstore-date.component.scss +0 -0
- package/src/lib/modules/layout/toolbar/single-clientstore-date/single-clientstore-date.component.spec.ts +0 -23
- package/src/lib/modules/layout/toolbar/single-clientstore-date/single-clientstore-date.component.ts +0 -10
- package/src/lib/modules/layout/toolbar/single-store/single-store.component.html +0 -39
- package/src/lib/modules/layout/toolbar/single-store/single-store.component.scss +0 -172
- package/src/lib/modules/layout/toolbar/single-store/single-store.component.spec.ts +0 -23
- package/src/lib/modules/layout/toolbar/single-store/single-store.component.ts +0 -186
- package/src/lib/modules/layout/toolbar/single-storedate/single-storedate.component.html +0 -17
- package/src/lib/modules/layout/toolbar/single-storedate/single-storedate.component.scss +0 -172
- package/src/lib/modules/layout/toolbar/single-storedate/single-storedate.component.spec.ts +0 -23
- package/src/lib/modules/layout/toolbar/single-storedate/single-storedate.component.ts +0 -179
- package/src/lib/modules/layout/toolbar/storesingle/storesingle.component.html +0 -4
- package/src/lib/modules/layout/toolbar/storesingle/storesingle.component.scss +0 -19
- package/src/lib/modules/layout/toolbar/storesingle/storesingle.component.spec.ts +0 -23
- package/src/lib/modules/layout/toolbar/storesingle/storesingle.component.ts +0 -105
- package/src/lib/modules/layout/toolbar/toolbar.component.html +0 -56
- package/src/lib/modules/layout/toolbar/toolbar.component.scss +0 -0
- package/src/lib/modules/layout/toolbar/toolbar.component.spec.ts +0 -25
- package/src/lib/modules/layout/toolbar/toolbar.component.ts +0 -352
- package/src/lib/modules/layout/toolbar/traffic-header/traffic-header/traffic-header.component.html +0 -259
- package/src/lib/modules/layout/toolbar/traffic-header/traffic-header/traffic-header.component.scss +0 -311
- package/src/lib/modules/layout/toolbar/traffic-header/traffic-header/traffic-header.component.spec.ts +0 -23
- package/src/lib/modules/layout/toolbar/traffic-header/traffic-header/traffic-header.component.ts +0 -1200
- package/src/lib/modules/layout/toolbar/traffic-nob/traffic-nob.component.html +0 -199
- package/src/lib/modules/layout/toolbar/traffic-nob/traffic-nob.component.scss +0 -311
- package/src/lib/modules/layout/toolbar/traffic-nob/traffic-nob.component.spec.ts +0 -23
- package/src/lib/modules/layout/toolbar/traffic-nob/traffic-nob.component.ts +0 -899
- package/src/lib/modules/layout/toolbar/trax-header/trax-header.component.html +0 -204
- package/src/lib/modules/layout/toolbar/trax-header/trax-header.component.scss +0 -311
- package/src/lib/modules/layout/toolbar/trax-header/trax-header.component.spec.ts +0 -23
- package/src/lib/modules/layout/toolbar/trax-header/trax-header.component.ts +0 -1045
- package/src/lib/modules/layout/toolbar/trax-withoutdate/trax-withoutdate.component.html +0 -190
- package/src/lib/modules/layout/toolbar/trax-withoutdate/trax-withoutdate.component.scss +0 -311
- package/src/lib/modules/layout/toolbar/trax-withoutdate/trax-withoutdate.component.spec.ts +0 -23
- package/src/lib/modules/layout/toolbar/trax-withoutdate/trax-withoutdate.component.ts +0 -825
- package/src/lib/modules/notification/conformation/conformation.component.html +0 -25
- package/src/lib/modules/notification/conformation/conformation.component.scss +0 -0
- package/src/lib/modules/notification/conformation/conformation.component.spec.ts +0 -23
- package/src/lib/modules/notification/conformation/conformation.component.ts +0 -23
- package/src/lib/modules/notification/notification/notification.component.html +0 -209
- package/src/lib/modules/notification/notification/notification.component.scss +0 -211
- package/src/lib/modules/notification/notification/notification.component.spec.ts +0 -23
- package/src/lib/modules/notification/notification/notification.component.ts +0 -310
- package/src/lib/modules/notification/notification-routing.module.ts +0 -20
- package/src/lib/modules/notification/notification.module.ts +0 -21
- package/src/lib/pipes/customDate.pipe.ts +0 -18
- package/src/lib/routes/route-wraper-modules/analyse-wrapper.module.ts +0 -12
- package/src/lib/routes/route-wraper-modules/edge-wrapper.module.ts +0 -11
- package/src/lib/routes/route-wraper-modules/manage-wrapper.module.ts +0 -11
- package/src/lib/routes/route-wraper-modules/profile-wrapper.module.ts +0 -12
- package/src/lib/routes/route-wraper-modules/store-wrapper.module.ts +0 -11
- package/src/lib/routes/route-wraper-modules/ticket-wrapper.module.ts +0 -10
- package/src/lib/routes/routing.ts +0 -56
- package/src/lib/services/auth.service.ts +0 -173
- package/src/lib/services/notification.service.spec.ts +0 -16
- package/src/lib/services/notification.service.ts +0 -73
- package/src/lib/services/toast.service.ts +0 -82
- package/tsconfig.lib.json +0 -14
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -14
package/lib/modules/layout/toolbar/traffic-header/traffic-header/traffic-header.component.d.ts
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnInit } from "@angular/core";
|
|
2
|
+
import dayjs from "dayjs";
|
|
3
|
+
import "dayjs/locale/en";
|
|
4
|
+
import { AuthService } from "../../../../../services/auth.service";
|
|
5
|
+
import { GlobalStateService } from "tango-app-ui-global";
|
|
6
|
+
import { Router } from "@angular/router";
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class TrafficHeaderComponent implements OnInit {
|
|
9
|
+
private auth;
|
|
10
|
+
private router;
|
|
11
|
+
gs: GlobalStateService;
|
|
12
|
+
private cd;
|
|
13
|
+
dayjs: typeof dayjs;
|
|
14
|
+
isCustomDate: (m: dayjs.Dayjs) => false | "invalid-date";
|
|
15
|
+
selectedDateRange: any;
|
|
16
|
+
selectedFilters: any;
|
|
17
|
+
Opendropdown: boolean;
|
|
18
|
+
dropdownOpen: string | null;
|
|
19
|
+
searchLocationText: string;
|
|
20
|
+
searchGroupText: string;
|
|
21
|
+
locations: any[];
|
|
22
|
+
filteredLocations: any[];
|
|
23
|
+
groupsData: any[];
|
|
24
|
+
filteredGroups: any[];
|
|
25
|
+
filteredStores: any[];
|
|
26
|
+
stores: any[];
|
|
27
|
+
searchStoreText: string;
|
|
28
|
+
clientList: any;
|
|
29
|
+
selectedClient: any;
|
|
30
|
+
locationLabel: any[];
|
|
31
|
+
groupLabel: any[];
|
|
32
|
+
users: any;
|
|
33
|
+
url: any;
|
|
34
|
+
filteredCountries: any[];
|
|
35
|
+
countryLabel: any[];
|
|
36
|
+
searchCountryText: string;
|
|
37
|
+
countries: any[];
|
|
38
|
+
constructor(auth: AuthService, router: Router, gs: GlobalStateService, cd: ChangeDetectorRef);
|
|
39
|
+
onClick(event: MouseEvent): void;
|
|
40
|
+
closeDropdown1(): void;
|
|
41
|
+
ngOnInit(): void;
|
|
42
|
+
private syncWithLocalStorage;
|
|
43
|
+
private emitAndStoreFilters;
|
|
44
|
+
/**
|
|
45
|
+
* Reset selectedFilters and all related arrays to empty states
|
|
46
|
+
*/
|
|
47
|
+
private resetFilters;
|
|
48
|
+
getClient(): void;
|
|
49
|
+
getUserInfo(client: any): void;
|
|
50
|
+
onClientSelect(event: any): void;
|
|
51
|
+
ranges: any;
|
|
52
|
+
onStartDateChange(event: any): void;
|
|
53
|
+
datechange(event: any): void;
|
|
54
|
+
opendropdown(e: MouseEvent): void;
|
|
55
|
+
getLocations(): void;
|
|
56
|
+
isAllLocationsSelected(): boolean;
|
|
57
|
+
selectedLocationsLabel(): string;
|
|
58
|
+
removeLocation(): void;
|
|
59
|
+
getGroups(): void;
|
|
60
|
+
toggleDropdown(type: 'country' | 'location' | 'group' | 'store'): void;
|
|
61
|
+
handleGroupDropdownClick(): void;
|
|
62
|
+
resetSelectedGroups(): void;
|
|
63
|
+
selectedGroupsLabel(): string;
|
|
64
|
+
removeGroup(): void;
|
|
65
|
+
isAllGroupsSelected(): boolean;
|
|
66
|
+
getStore(): void;
|
|
67
|
+
private clearStoresState;
|
|
68
|
+
resetSelectedStores(): void;
|
|
69
|
+
selectedStoresLabel(): string;
|
|
70
|
+
isAllStoresSelected(): boolean;
|
|
71
|
+
updateSelectedStores(): void;
|
|
72
|
+
toggleSelectAllLocations(event: any): void;
|
|
73
|
+
toggleSelectAllStores(event: Event): void;
|
|
74
|
+
updateSelectedLocations(): void;
|
|
75
|
+
toggleSelectAllGroups(event: any): void;
|
|
76
|
+
updateSelectedGroups(): void;
|
|
77
|
+
Reset(): void;
|
|
78
|
+
filterLocations(): void;
|
|
79
|
+
filterGroups(): void;
|
|
80
|
+
filterStores(): void;
|
|
81
|
+
closeDropdown(): void;
|
|
82
|
+
clickOutside(event: MouseEvent): void;
|
|
83
|
+
getCountry(): void;
|
|
84
|
+
selectedCountriesLabel(): string;
|
|
85
|
+
filterCountries(): void;
|
|
86
|
+
isAllCountriesSelected(): boolean;
|
|
87
|
+
toggleSelectAllCountries(event: any): void;
|
|
88
|
+
updateSelectedCountries(): void;
|
|
89
|
+
removeCountry(): void;
|
|
90
|
+
Apply(): void;
|
|
91
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TrafficHeaderComponent, never>;
|
|
92
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TrafficHeaderComponent, "lib-traffic-header", never, {}, {}, never, never, false, never>;
|
|
93
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnInit } from "@angular/core";
|
|
2
|
+
import dayjs from "dayjs";
|
|
3
|
+
import "dayjs/locale/en";
|
|
4
|
+
import { GlobalStateService } from "tango-app-ui-global";
|
|
5
|
+
import { Router } from "@angular/router";
|
|
6
|
+
import { AuthService } from "../../../../services/auth.service";
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class TrafficNobComponent implements OnInit {
|
|
9
|
+
private auth;
|
|
10
|
+
private router;
|
|
11
|
+
gs: GlobalStateService;
|
|
12
|
+
private cd;
|
|
13
|
+
dayjs: typeof dayjs;
|
|
14
|
+
isCustomDate: (m: dayjs.Dayjs) => false | "invalid-date";
|
|
15
|
+
selectedDateRange: any;
|
|
16
|
+
selectedFilters: any;
|
|
17
|
+
Opendropdown: boolean;
|
|
18
|
+
dropdownOpen: string | null;
|
|
19
|
+
searchLocationText: string;
|
|
20
|
+
searchGroupText: string;
|
|
21
|
+
locations: any[];
|
|
22
|
+
filteredLocations: any[];
|
|
23
|
+
groupsData: any[];
|
|
24
|
+
filteredGroups: any[];
|
|
25
|
+
filteredStores: any[];
|
|
26
|
+
stores: any[];
|
|
27
|
+
searchStoreText: string;
|
|
28
|
+
clientList: any;
|
|
29
|
+
selectedClient: any;
|
|
30
|
+
locationLabel: any[];
|
|
31
|
+
groupLabel: any[];
|
|
32
|
+
users: any;
|
|
33
|
+
url: any;
|
|
34
|
+
constructor(auth: AuthService, router: Router, gs: GlobalStateService, cd: ChangeDetectorRef);
|
|
35
|
+
onClick(event: MouseEvent): void;
|
|
36
|
+
closeDropdown1(): void;
|
|
37
|
+
ngOnInit(): void;
|
|
38
|
+
private syncWithLocalStorage;
|
|
39
|
+
private emitAndStoreFilters;
|
|
40
|
+
/**
|
|
41
|
+
* Reset selectedFilters and all related arrays to empty states
|
|
42
|
+
*/
|
|
43
|
+
private resetFilters;
|
|
44
|
+
getClient(): void;
|
|
45
|
+
onClientSelect(event: any): void;
|
|
46
|
+
ranges: any;
|
|
47
|
+
onStartDateChange(event: any): void;
|
|
48
|
+
datechange(event: any): void;
|
|
49
|
+
opendropdown(e: MouseEvent): void;
|
|
50
|
+
getLocations(): void;
|
|
51
|
+
isAllLocationsSelected(): boolean;
|
|
52
|
+
selectedLocationsLabel(): string;
|
|
53
|
+
removeLocation(): void;
|
|
54
|
+
getGroups(): void;
|
|
55
|
+
toggleDropdown(type: 'location' | 'group' | 'store'): void;
|
|
56
|
+
handleGroupDropdownClick(): void;
|
|
57
|
+
resetSelectedGroups(): void;
|
|
58
|
+
selectedGroupsLabel(): string;
|
|
59
|
+
removeGroup(): void;
|
|
60
|
+
isAllGroupsSelected(): boolean;
|
|
61
|
+
getStore(): void;
|
|
62
|
+
resetSelectedStores(): void;
|
|
63
|
+
selectedStoresLabel(): string;
|
|
64
|
+
isAllStoresSelected(): boolean;
|
|
65
|
+
updateSelectedStores(): void;
|
|
66
|
+
toggleSelectAllLocations(event: any): void;
|
|
67
|
+
toggleSelectAllStores(event: Event): void;
|
|
68
|
+
updateSelectedLocations(): void;
|
|
69
|
+
toggleSelectAllGroups(event: any): void;
|
|
70
|
+
updateSelectedGroups(): void;
|
|
71
|
+
Reset(): void;
|
|
72
|
+
Apply(): void;
|
|
73
|
+
filterLocations(): void;
|
|
74
|
+
filterGroups(): void;
|
|
75
|
+
filterStores(): void;
|
|
76
|
+
closeDropdown(): void;
|
|
77
|
+
clickOutside(event: MouseEvent): void;
|
|
78
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TrafficNobComponent, never>;
|
|
79
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TrafficNobComponent, "lib-traffic-nob", never, {}, {}, never, never, false, never>;
|
|
80
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnInit } from "@angular/core";
|
|
2
|
+
import dayjs from "dayjs";
|
|
3
|
+
import "dayjs/locale/en";
|
|
4
|
+
import { GlobalStateService } from "tango-app-ui-global";
|
|
5
|
+
import { Router } from "@angular/router";
|
|
6
|
+
import { AuthService } from "../../../../services/auth.service";
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class TraxHeaderComponent implements OnInit {
|
|
9
|
+
private auth;
|
|
10
|
+
private router;
|
|
11
|
+
gs: GlobalStateService;
|
|
12
|
+
private cd;
|
|
13
|
+
dayjs: typeof dayjs;
|
|
14
|
+
isCustomDate: (m: dayjs.Dayjs) => false | "invalid-date";
|
|
15
|
+
selectedDateRange: any;
|
|
16
|
+
selectedFilters: any;
|
|
17
|
+
Opendropdown: boolean;
|
|
18
|
+
dropdownOpen: string | null;
|
|
19
|
+
searchLocationText: string;
|
|
20
|
+
searchGroupText: string;
|
|
21
|
+
locations: any[];
|
|
22
|
+
filteredLocations: any[];
|
|
23
|
+
groupsData: any[];
|
|
24
|
+
filteredGroups: any[];
|
|
25
|
+
filteredStores: any[];
|
|
26
|
+
stores: any[];
|
|
27
|
+
searchStoreText: string;
|
|
28
|
+
clientList: any;
|
|
29
|
+
selectedClient: any;
|
|
30
|
+
locationLabel: any[];
|
|
31
|
+
groupLabel: any[];
|
|
32
|
+
users: any;
|
|
33
|
+
url: any;
|
|
34
|
+
constructor(auth: AuthService, router: Router, gs: GlobalStateService, cd: ChangeDetectorRef);
|
|
35
|
+
onClick(event: MouseEvent): void;
|
|
36
|
+
closeDropdown1(): void;
|
|
37
|
+
ngOnInit(): void;
|
|
38
|
+
private syncWithLocalStorage;
|
|
39
|
+
private emitAndStoreFilters;
|
|
40
|
+
/**
|
|
41
|
+
* Reset selectedFilters and all related arrays to empty states
|
|
42
|
+
*/
|
|
43
|
+
private resetFilters;
|
|
44
|
+
getClient(): void;
|
|
45
|
+
onClientSelect(event: any): void;
|
|
46
|
+
getDateRanges(): any;
|
|
47
|
+
ranges: any;
|
|
48
|
+
resetValidation(): void;
|
|
49
|
+
onStartDateChange(event: any): void;
|
|
50
|
+
datechange(event: any): void;
|
|
51
|
+
getUserInfo(client: any): void;
|
|
52
|
+
opendropdown(e: MouseEvent): void;
|
|
53
|
+
getLocations(): void;
|
|
54
|
+
isAllLocationsSelected(): boolean;
|
|
55
|
+
selectedLocationsLabel(): string;
|
|
56
|
+
removeLocation(): void;
|
|
57
|
+
getGroups(): void;
|
|
58
|
+
toggleDropdown(type: 'location' | 'group' | 'store'): void;
|
|
59
|
+
handleGroupDropdownClick(): void;
|
|
60
|
+
resetSelectedGroups(): void;
|
|
61
|
+
selectedGroupsLabel(): string;
|
|
62
|
+
removeGroup(): void;
|
|
63
|
+
isAllGroupsSelected(): boolean;
|
|
64
|
+
getStore(): void;
|
|
65
|
+
resetSelectedStores(): void;
|
|
66
|
+
selectedStoresLabel(): string;
|
|
67
|
+
isAllStoresSelected(): boolean;
|
|
68
|
+
updateSelectedStores(): void;
|
|
69
|
+
toggleSelectAllLocations(event: any): void;
|
|
70
|
+
toggleSelectAllStores(event: Event): void;
|
|
71
|
+
updateSelectedLocations(): void;
|
|
72
|
+
toggleSelectAllGroups(event: any): void;
|
|
73
|
+
updateSelectedGroups(): void;
|
|
74
|
+
Reset(): void;
|
|
75
|
+
Apply(): void;
|
|
76
|
+
filterLocations(): void;
|
|
77
|
+
filterGroups(): void;
|
|
78
|
+
filterStores(): void;
|
|
79
|
+
closeDropdown(): void;
|
|
80
|
+
clickOutside(event: MouseEvent): void;
|
|
81
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TraxHeaderComponent, never>;
|
|
82
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TraxHeaderComponent, "lib-trax-header", never, {}, {}, never, never, false, never>;
|
|
83
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnInit } from "@angular/core";
|
|
2
|
+
import dayjs from "dayjs";
|
|
3
|
+
import "dayjs/locale/en";
|
|
4
|
+
import { GlobalStateService } from "tango-app-ui-global";
|
|
5
|
+
import { Router } from "@angular/router";
|
|
6
|
+
import { AuthService } from "../../../../services/auth.service";
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class TraxWithoutdateComponent implements OnInit {
|
|
9
|
+
private auth;
|
|
10
|
+
private router;
|
|
11
|
+
gs: GlobalStateService;
|
|
12
|
+
private cd;
|
|
13
|
+
dayjs: typeof dayjs;
|
|
14
|
+
isCustomDate: (m: dayjs.Dayjs) => false | "invalid-date";
|
|
15
|
+
selectedDateRange: any;
|
|
16
|
+
selectedFilters: any;
|
|
17
|
+
Opendropdown: boolean;
|
|
18
|
+
dropdownOpen: string | null;
|
|
19
|
+
searchLocationText: string;
|
|
20
|
+
searchGroupText: string;
|
|
21
|
+
locations: any[];
|
|
22
|
+
filteredLocations: any[];
|
|
23
|
+
groupsData: any[];
|
|
24
|
+
filteredGroups: any[];
|
|
25
|
+
filteredStores: any[];
|
|
26
|
+
stores: any[];
|
|
27
|
+
searchStoreText: string;
|
|
28
|
+
clientList: any;
|
|
29
|
+
selectedClient: any;
|
|
30
|
+
locationLabel: any[];
|
|
31
|
+
groupLabel: any[];
|
|
32
|
+
users: any;
|
|
33
|
+
url: any;
|
|
34
|
+
constructor(auth: AuthService, router: Router, gs: GlobalStateService, cd: ChangeDetectorRef);
|
|
35
|
+
onClick(event: MouseEvent): void;
|
|
36
|
+
closeDropdown1(): void;
|
|
37
|
+
ngOnInit(): void;
|
|
38
|
+
private syncWithLocalStorage;
|
|
39
|
+
private emitAndStoreFilters;
|
|
40
|
+
private resetFilters;
|
|
41
|
+
getClient(): void;
|
|
42
|
+
onClientSelect(event: any): void;
|
|
43
|
+
opendropdown(e: MouseEvent): void;
|
|
44
|
+
getLocations(): void;
|
|
45
|
+
isAllLocationsSelected(): boolean;
|
|
46
|
+
selectedLocationsLabel(): string;
|
|
47
|
+
removeLocation(): void;
|
|
48
|
+
getGroups(): void;
|
|
49
|
+
toggleDropdown(type: 'location' | 'group' | 'store'): void;
|
|
50
|
+
handleGroupDropdownClick(): void;
|
|
51
|
+
resetSelectedGroups(): void;
|
|
52
|
+
selectedGroupsLabel(): string;
|
|
53
|
+
removeGroup(): void;
|
|
54
|
+
isAllGroupsSelected(): boolean;
|
|
55
|
+
getStore(): void;
|
|
56
|
+
resetSelectedStores(): void;
|
|
57
|
+
selectedStoresLabel(): string;
|
|
58
|
+
isAllStoresSelected(): boolean;
|
|
59
|
+
updateSelectedStores(): void;
|
|
60
|
+
toggleSelectAllLocations(event: any): void;
|
|
61
|
+
toggleSelectAllStores(event: Event): void;
|
|
62
|
+
updateSelectedLocations(): void;
|
|
63
|
+
toggleSelectAllGroups(event: any): void;
|
|
64
|
+
updateSelectedGroups(): void;
|
|
65
|
+
Reset(): void;
|
|
66
|
+
Apply(): void;
|
|
67
|
+
filterLocations(): void;
|
|
68
|
+
filterGroups(): void;
|
|
69
|
+
filterStores(): void;
|
|
70
|
+
closeDropdown(): void;
|
|
71
|
+
clickOutside(event: MouseEvent): void;
|
|
72
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TraxWithoutdateComponent, never>;
|
|
73
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TraxWithoutdateComponent, "lib-trax-withoutdate", never, {}, {}, never, never, false, never>;
|
|
74
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ConformationComponent {
|
|
4
|
+
private activeModal;
|
|
5
|
+
constructor(activeModal: NgbActiveModal);
|
|
6
|
+
cancel(): void;
|
|
7
|
+
onSubmit(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConformationComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConformationComponent, "lib-conformation", never, {}, {}, never, never, false, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { GlobalStateService, PageInfoService } from 'tango-app-ui-global';
|
|
3
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
+
import { NotificationService } from '../../../services/notification.service';
|
|
5
|
+
import { ToastService } from '../../../services/toast.service';
|
|
6
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class NotificationComponent implements OnInit, OnDestroy {
|
|
9
|
+
private pageInfo;
|
|
10
|
+
gs: GlobalStateService;
|
|
11
|
+
private route;
|
|
12
|
+
private service;
|
|
13
|
+
private cd;
|
|
14
|
+
private toast;
|
|
15
|
+
private router;
|
|
16
|
+
private modalService;
|
|
17
|
+
showalert: boolean;
|
|
18
|
+
showdownload: boolean;
|
|
19
|
+
loading: boolean;
|
|
20
|
+
noData: boolean;
|
|
21
|
+
downloadloading: boolean;
|
|
22
|
+
downloadnoData: boolean;
|
|
23
|
+
itemsPerPage: number;
|
|
24
|
+
currentPage: number;
|
|
25
|
+
totalItems: number;
|
|
26
|
+
paginationSizes: number[];
|
|
27
|
+
limit: number;
|
|
28
|
+
offset: number;
|
|
29
|
+
pageSize: number;
|
|
30
|
+
user: any;
|
|
31
|
+
headerFilter: any;
|
|
32
|
+
clientId: any;
|
|
33
|
+
_id: any;
|
|
34
|
+
data: any;
|
|
35
|
+
private readonly destroy$;
|
|
36
|
+
notification: any;
|
|
37
|
+
total: any;
|
|
38
|
+
downloads: any[];
|
|
39
|
+
headerData: any;
|
|
40
|
+
searchInput: any;
|
|
41
|
+
sortColumName: string;
|
|
42
|
+
sortDirection: any;
|
|
43
|
+
searchValue: string;
|
|
44
|
+
tabtype: any;
|
|
45
|
+
user_id: any;
|
|
46
|
+
private reloadInterval;
|
|
47
|
+
constructor(pageInfo: PageInfoService, gs: GlobalStateService, route: ActivatedRoute, service: NotificationService, cd: ChangeDetectorRef, toast: ToastService, router: Router, modalService: NgbModal);
|
|
48
|
+
ngOnInit(): void;
|
|
49
|
+
cancelDownload(data: any): void;
|
|
50
|
+
ngOnDestroy(): void;
|
|
51
|
+
setPageData(): void;
|
|
52
|
+
notificationList(): void;
|
|
53
|
+
updateNotification(data: any, btnDetails: any): void;
|
|
54
|
+
chooseManager(type: any): void;
|
|
55
|
+
setPaginationSizes(): void;
|
|
56
|
+
onPageChange(pageOffset: number): void;
|
|
57
|
+
onPageSizeChange(pageSize: number): void;
|
|
58
|
+
paginationSize(): number;
|
|
59
|
+
downloadmanagerList(): void;
|
|
60
|
+
downloadFile(record: any): void;
|
|
61
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationComponent, never>;
|
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationComponent, "lib-notification", never, {}, {}, never, never, false, never>;
|
|
63
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/router";
|
|
3
|
+
export declare class NotificationRoutingModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationRoutingModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NotificationRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NotificationRoutingModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./notification/notification.component";
|
|
3
|
+
import * as i2 from "./conformation/conformation.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "./notification-routing.module";
|
|
6
|
+
import * as i5 from "../common/common-shared.module";
|
|
7
|
+
export declare class NotificationModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NotificationModule, [typeof i1.NotificationComponent, typeof i2.ConformationComponent], [typeof i3.CommonModule, typeof i4.NotificationRoutingModule, typeof i5.CommonSharedModule], never>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NotificationModule>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CustomDateFormatPipe implements PipeTransform {
|
|
4
|
+
transform(value: any, ...args: any[]): any;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomDateFormatPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CustomDateFormatPipe, "customDateFormat", false>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "tango-app-ui-stores-edgeapp";
|
|
3
|
+
export declare class TangoEdgeAppWrapperModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TangoEdgeAppWrapperModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TangoEdgeAppWrapperModule, never, [typeof i1.TangoStoresEdgeappModule], never>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TangoEdgeAppWrapperModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "tango-app-ui-manage";
|
|
3
|
+
export declare class ManageWrapperModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ManageWrapperModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ManageWrapperModule, never, [typeof i1.TangoManageModule], never>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ManageWrapperModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "tango-app-ui-profile";
|
|
3
|
+
export declare class ProfileWrapperModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProfileWrapperModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProfileWrapperModule, never, [typeof i1.TangoProfileModule], never>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProfileWrapperModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "tango-app-ui-store";
|
|
3
|
+
export declare class StoreWrapperModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StoreWrapperModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StoreWrapperModule, never, [typeof i1.TangoStoreModule], never>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<StoreWrapperModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "tango-app-ui-ticket";
|
|
3
|
+
export declare class TicketWrapperModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketWrapperModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TicketWrapperModule, never, [typeof i1.TangoTicketModule], never>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TicketWrapperModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable, BehaviorSubject } from 'rxjs';
|
|
3
|
+
import { Router } from '@angular/router';
|
|
4
|
+
import { GlobalStateService } from 'tango-app-ui-global';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class AuthService {
|
|
7
|
+
private router;
|
|
8
|
+
private gs;
|
|
9
|
+
private http;
|
|
10
|
+
clientApiUrl: string;
|
|
11
|
+
authlocalStorageToken: string;
|
|
12
|
+
userApiUrl: string;
|
|
13
|
+
storeApiUrl: string;
|
|
14
|
+
billingApiUrl: string;
|
|
15
|
+
oldDashboardUrl: string;
|
|
16
|
+
dropDownTrigger: BehaviorSubject<null>;
|
|
17
|
+
trafficApiUrl: any;
|
|
18
|
+
traxUrl: any;
|
|
19
|
+
galleryApiUrl: any;
|
|
20
|
+
constructor(router: Router, gs: GlobalStateService, http: HttpClient);
|
|
21
|
+
handleError(res: any): Observable<never>;
|
|
22
|
+
getHeaders(): {
|
|
23
|
+
Authorization: string;
|
|
24
|
+
};
|
|
25
|
+
logout(): Observable<Object>;
|
|
26
|
+
getClients(): Observable<any>;
|
|
27
|
+
getStores(id: any): Observable<any>;
|
|
28
|
+
getOldDashboardRedirect(data: any): Observable<Object>;
|
|
29
|
+
userProfileDet(): Observable<any>;
|
|
30
|
+
refreshToken(): Observable<any>;
|
|
31
|
+
getPersonalInfo(): Observable<any>;
|
|
32
|
+
getAssignedUsers(clientId: string): Observable<any>;
|
|
33
|
+
checkToShowPopup(clientId: string): Observable<any>;
|
|
34
|
+
csmAssignClientAction(clientId: string, data: any): Observable<any>;
|
|
35
|
+
getLeadProducts(email: string): Observable<any>;
|
|
36
|
+
getClientProducts(clientId: string): Observable<any>;
|
|
37
|
+
getLocation(data: any): Observable<any>;
|
|
38
|
+
getGroups(data: any): Observable<any>;
|
|
39
|
+
getHeaderStores(data: any): Observable<any>;
|
|
40
|
+
getHeadertraxStores(data: any): Observable<any>;
|
|
41
|
+
getBrandDetails(id: any): Observable<Object>;
|
|
42
|
+
getHeaderUsers(data: any): Observable<any>;
|
|
43
|
+
getCountry(data: any): Observable<any>;
|
|
44
|
+
getHeaderZone(data: any): Observable<any>;
|
|
45
|
+
private base64Encode;
|
|
46
|
+
private base64Decode;
|
|
47
|
+
setCookie(name: string, value: string, days?: number): void;
|
|
48
|
+
getCookie(name: string): string | null;
|
|
49
|
+
deleteCookie(name: string): void;
|
|
50
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, never>;
|
|
51
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
|
|
52
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable, BehaviorSubject } from 'rxjs';
|
|
3
|
+
import { GlobalStateService } from 'tango-app-ui-global';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class NotificationService {
|
|
6
|
+
private http;
|
|
7
|
+
private gs;
|
|
8
|
+
paymentSubscriptionApiUrl: any;
|
|
9
|
+
clientApiUrl: string;
|
|
10
|
+
traxUrl: any;
|
|
11
|
+
private reloadDataSubject;
|
|
12
|
+
reloadData$: Observable<boolean>;
|
|
13
|
+
clientId: BehaviorSubject<string>;
|
|
14
|
+
clientData: BehaviorSubject<any>;
|
|
15
|
+
private notificationReceivedSubject;
|
|
16
|
+
notificationReceived$: Observable<boolean>;
|
|
17
|
+
constructor(http: HttpClient, gs: GlobalStateService);
|
|
18
|
+
triggerReload(): void;
|
|
19
|
+
notificationList(data: any): Observable<any>;
|
|
20
|
+
notificationUpdate(_id: any): Observable<any>;
|
|
21
|
+
notificationPushUpdate(data: any): Observable<any>;
|
|
22
|
+
updateNotificationReceived(value: boolean): void;
|
|
23
|
+
updateRemind(_id: any): Observable<any>;
|
|
24
|
+
updateSubscription(data: any): Observable<any>;
|
|
25
|
+
trialApproved(data: any): Observable<any>;
|
|
26
|
+
getdownloadlist(data: any): Observable<any>;
|
|
27
|
+
cancelDownload(data: any): Observable<any>;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationService, never>;
|
|
29
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationService>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ToastService {
|
|
3
|
+
constructor();
|
|
4
|
+
getSuccessToast(message: any): void;
|
|
5
|
+
getPrimaryToast(message: string): void;
|
|
6
|
+
getErrorToast(message: string): void;
|
|
7
|
+
getWarningToast(message: string): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToastService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ToastService>;
|
|
10
|
+
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,25 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "tango-app-ui-shared",
|
|
3
|
-
"version": "3.5.1-task.
|
|
4
|
-
"peerDependencies": {
|
|
5
|
-
"@angular/common": "^17.0.0",
|
|
6
|
-
"@angular/core": "^17.0.0"
|
|
7
|
-
},
|
|
8
|
-
"dependencies": {
|
|
9
|
-
"tslib": "^2.3.0"
|
|
10
|
-
},
|
|
11
|
-
"sideEffects": false
|
|
12
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "tango-app-ui-shared",
|
|
3
|
+
"version": "3.5.1-task.3",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"@angular/common": "^17.0.0",
|
|
6
|
+
"@angular/core": "^17.0.0"
|
|
7
|
+
},
|
|
8
|
+
"dependencies": {
|
|
9
|
+
"tslib": "^2.3.0"
|
|
10
|
+
},
|
|
11
|
+
"sideEffects": false,
|
|
12
|
+
"module": "fesm2022/tango-app-ui-shared.mjs",
|
|
13
|
+
"typings": "index.d.ts",
|
|
14
|
+
"exports": {
|
|
15
|
+
"./package.json": {
|
|
16
|
+
"default": "./package.json"
|
|
17
|
+
},
|
|
18
|
+
".": {
|
|
19
|
+
"types": "./index.d.ts",
|
|
20
|
+
"esm2022": "./esm2022/tango-app-ui-shared.mjs",
|
|
21
|
+
"esm": "./esm2022/tango-app-ui-shared.mjs",
|
|
22
|
+
"default": "./fesm2022/tango-app-ui-shared.mjs"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|