tango-app-ui-shared 3.7.3-dev6-demo7 → 3.7.3-dev6-demo8
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 +124 -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 +198 -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 +159 -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 +122 -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 +207 -0
- package/esm2022/lib/modules/layout/toolbar/datepicker/datepicker.component.mjs +158 -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 +216 -0
- package/esm2022/lib/modules/layout/toolbar/single-store/single-store.component.mjs +178 -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 +372 -0
- package/esm2022/lib/modules/layout/toolbar/traffic-header/traffic-header/traffic-header.component.mjs +1062 -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/layout/toolbar/zone-header/zone-header.component.mjs +1100 -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 +141 -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 +12450 -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 +19 -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 +50 -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 +45 -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 +26 -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 +32 -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 +57 -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/layout/toolbar/zone-header/zone-header.component.d.ts +97 -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 +49 -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 -129
- 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 -136
- 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 -761
- 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 -130
- 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 -238
- 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 -183
- 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 -26
- package/src/lib/modules/layout/toolbar/single-clientstore-date/single-clientstore-date.component.scss +0 -176
- 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 -235
- 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 -176
- 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 -188
- 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 -64
- 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 -400
- 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 -305
- 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 -1202
- 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/layout/toolbar/zone-header/zone-header.component.html +0 -259
- package/src/lib/modules/layout/toolbar/zone-header/zone-header.component.scss +0 -305
- package/src/lib/modules/layout/toolbar/zone-header/zone-header.component.spec.ts +0 -23
- package/src/lib/modules/layout/toolbar/zone-header/zone-header.component.ts +0 -1242
- 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 -178
- 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
|
@@ -0,0 +1,49 @@
|
|
|
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
|
+
storeBuilderApiUrl: any;
|
|
21
|
+
constructor(router: Router, gs: GlobalStateService, http: HttpClient);
|
|
22
|
+
handleError(res: any): Observable<never>;
|
|
23
|
+
getHeaders(): {
|
|
24
|
+
Authorization: string;
|
|
25
|
+
};
|
|
26
|
+
logout(): Observable<Object>;
|
|
27
|
+
getClients(): Observable<any>;
|
|
28
|
+
getStores(id: any): Observable<any>;
|
|
29
|
+
getOldDashboardRedirect(data: any): Observable<Object>;
|
|
30
|
+
userProfileDet(): Observable<any>;
|
|
31
|
+
refreshToken(): Observable<any>;
|
|
32
|
+
getPersonalInfo(): Observable<any>;
|
|
33
|
+
getAssignedUsers(clientId: string): Observable<any>;
|
|
34
|
+
checkToShowPopup(clientId: string): Observable<any>;
|
|
35
|
+
csmAssignClientAction(clientId: string, data: any): Observable<any>;
|
|
36
|
+
getLeadProducts(email: string): Observable<any>;
|
|
37
|
+
getClientProducts(clientId: string): Observable<any>;
|
|
38
|
+
getLocation(data: any): Observable<any>;
|
|
39
|
+
getGroups(data: any): Observable<any>;
|
|
40
|
+
getHeaderStores(data: any): Observable<any>;
|
|
41
|
+
getHeadertraxStores(data: any): Observable<any>;
|
|
42
|
+
getBrandDetails(id: any): Observable<Object>;
|
|
43
|
+
getHeaderUsers(data: any): Observable<any>;
|
|
44
|
+
getCountry(data: any): Observable<any>;
|
|
45
|
+
getPlanoUsers(): Observable<Object>;
|
|
46
|
+
getHeaderZone(data: any): Observable<any>;
|
|
47
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, never>;
|
|
48
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
|
|
49
|
+
}
|
|
@@ -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.7.3-dev6-
|
|
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.7.3-dev6-demo8",
|
|
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
|
+
}
|
|
@@ -1,71 +1,44 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export * from './lib/modules/layout/
|
|
7
|
-
export * from './lib/modules/layout/
|
|
8
|
-
export * from './lib/modules/layout/
|
|
9
|
-
export * from './lib/modules/layout/
|
|
10
|
-
export * from './lib/modules/layout/
|
|
11
|
-
export * from './lib/modules/layout/
|
|
12
|
-
export * from './lib/modules/layout/
|
|
13
|
-
export * from './lib/modules/layout/
|
|
14
|
-
export * from './lib/modules/layout/
|
|
15
|
-
export * from './lib/modules/layout/
|
|
16
|
-
export * from './lib/modules/layout/
|
|
17
|
-
export * from './lib/modules/layout/
|
|
18
|
-
export * from './lib/modules/layout/toolbar/
|
|
19
|
-
export * from './lib/modules/layout/toolbar/
|
|
20
|
-
export * from './lib/modules/layout/
|
|
21
|
-
export * from './lib/modules/
|
|
22
|
-
export * from './lib/modules/
|
|
23
|
-
export * from './lib/modules/
|
|
24
|
-
export * from './lib/modules/
|
|
25
|
-
export * from './lib/modules/
|
|
26
|
-
|
|
27
|
-
export * from './lib/
|
|
28
|
-
export * from './lib/
|
|
29
|
-
export * from './lib/
|
|
30
|
-
export * from './lib/
|
|
31
|
-
export * from './lib/
|
|
32
|
-
export * from './lib/
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
export * from './lib/
|
|
36
|
-
export * from './lib/
|
|
37
|
-
export *
|
|
38
|
-
export *
|
|
39
|
-
export *
|
|
40
|
-
export *
|
|
41
|
-
export *
|
|
42
|
-
export *
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
export * from './lib/modules/layout/layout.module';
|
|
46
|
-
export * from './lib/modules/errors/errors.module';
|
|
47
|
-
export * from './lib/modules/common/common-shared.module'
|
|
48
|
-
|
|
49
|
-
// guards
|
|
50
|
-
export * from './lib/guards/auth.guard';
|
|
51
|
-
|
|
52
|
-
// interfaces
|
|
53
|
-
export * from './lib/interfaces/global-state';
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
// services
|
|
57
|
-
export * from './lib/services/auth.service';
|
|
58
|
-
export * from './lib/services/toast.service';
|
|
59
|
-
export * from './lib/services/notification.service';
|
|
60
|
-
// pipe
|
|
61
|
-
export * from './lib/pipes/customDate.pipe'
|
|
62
|
-
|
|
63
|
-
// interceptors
|
|
64
|
-
export * from './lib/interceptors/http-auth-interceptor';
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
1
|
+
export * from './lib/modules/layout/layout/layout.component';
|
|
2
|
+
export * from './lib/modules/layout/content/content.component';
|
|
3
|
+
export * from './lib/modules/layout/footer/footer.component';
|
|
4
|
+
export * from './lib/modules/layout/header/header.component';
|
|
5
|
+
export * from './lib/modules/layout/header/header-menu/header-menu.component';
|
|
6
|
+
export * from './lib/modules/layout/header/navbar/navbar.component';
|
|
7
|
+
export * from './lib/modules/layout/header/page-title/page-title.component';
|
|
8
|
+
export * from './lib/modules/layout/scripts-init/scripts-init.component';
|
|
9
|
+
export * from './lib/modules/layout/sidebar/sidebar-footer/sidebar-footer.component';
|
|
10
|
+
export * from './lib/modules/layout/sidebar/sidebar-logo/sidebar-logo.component';
|
|
11
|
+
export * from './lib/modules/layout/sidebar/sidebar-menu/sidebar-menu.component';
|
|
12
|
+
export * from './lib/modules/layout/sidebar/sidebar.component';
|
|
13
|
+
export * from './lib/modules/layout/toolbar/accounting/accounting.component';
|
|
14
|
+
export * from './lib/modules/layout/toolbar/classic/classic.component';
|
|
15
|
+
export * from './lib/modules/layout/toolbar/client-settings/client-settings.component';
|
|
16
|
+
export * from './lib/modules/layout/toolbar/extended/extended.component';
|
|
17
|
+
export * from './lib/modules/layout/toolbar/reports/reports.component';
|
|
18
|
+
export * from './lib/modules/layout/toolbar/saas/saas.component';
|
|
19
|
+
export * from './lib/modules/layout/toolbar/toolbar.component';
|
|
20
|
+
export * from './lib/modules/layout/scroll-top/scroll-top.component';
|
|
21
|
+
export * from './lib/modules/errors/errors.component';
|
|
22
|
+
export * from './lib/modules/errors/error404/error404.component';
|
|
23
|
+
export * from './lib/modules/errors/error500/error500.component';
|
|
24
|
+
export * from './lib/modules/common/pagination/pagination.component';
|
|
25
|
+
export * from './lib/modules/common/filters/filters.component';
|
|
26
|
+
export * from './lib/modules/common/custom-select/custom-select.component';
|
|
27
|
+
export * from './lib/i18n/translation.module';
|
|
28
|
+
export * from './lib/i18n/translation.service';
|
|
29
|
+
export * as enLang from './lib/i18n/vocabs/en';
|
|
30
|
+
export * as chLang from './lib/i18n/vocabs/ch';
|
|
31
|
+
export * as deLang from './lib/i18n/vocabs/de';
|
|
32
|
+
export * as esLang from './lib/i18n/vocabs/es';
|
|
33
|
+
export * as frLang from './lib/i18n/vocabs/fr';
|
|
34
|
+
export * as jpLang from './lib/i18n/vocabs/jp';
|
|
35
|
+
export * from './lib/modules/layout/layout.module';
|
|
36
|
+
export * from './lib/modules/errors/errors.module';
|
|
37
|
+
export * from './lib/modules/common/common-shared.module';
|
|
38
|
+
export * from './lib/guards/auth.guard';
|
|
39
|
+
export * from './lib/interfaces/global-state';
|
|
40
|
+
export * from './lib/services/auth.service';
|
|
41
|
+
export * from './lib/services/toast.service';
|
|
42
|
+
export * from './lib/services/notification.service';
|
|
43
|
+
export * from './lib/pipes/customDate.pipe';
|
|
44
|
+
export * from './lib/interceptors/http-auth-interceptor';
|
package/.eslintrc.json
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "../../.eslintrc.json",
|
|
3
|
-
"ignorePatterns": [
|
|
4
|
-
"!**/*"
|
|
5
|
-
],
|
|
6
|
-
"overrides": [
|
|
7
|
-
{
|
|
8
|
-
"files": [
|
|
9
|
-
"*.ts"
|
|
10
|
-
],
|
|
11
|
-
"rules": {
|
|
12
|
-
"@angular-eslint/directive-selector": [
|
|
13
|
-
"error",
|
|
14
|
-
{
|
|
15
|
-
"type": "attribute",
|
|
16
|
-
"prefix": "lib",
|
|
17
|
-
"style": "camelCase"
|
|
18
|
-
}
|
|
19
|
-
],
|
|
20
|
-
"@angular-eslint/component-selector": [
|
|
21
|
-
"error",
|
|
22
|
-
{
|
|
23
|
-
"type": "element",
|
|
24
|
-
"prefix": "lib",
|
|
25
|
-
"style": "kebab-case"
|
|
26
|
-
}
|
|
27
|
-
]
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"files": [
|
|
32
|
-
"*.html"
|
|
33
|
-
],
|
|
34
|
-
"rules": {}
|
|
35
|
-
}
|
|
36
|
-
]
|
|
37
|
-
}
|
package/ng-package.json
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import { ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';
|
|
3
|
-
import { AuthService } from '../services/auth.service';
|
|
4
|
-
|
|
5
|
-
@Injectable({ providedIn: 'root' })
|
|
6
|
-
export class AuthGuard {
|
|
7
|
-
constructor(private authService: AuthService) {}
|
|
8
|
-
|
|
9
|
-
canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot) {
|
|
10
|
-
const currentUser = localStorage.getItem('isLoggedIn');
|
|
11
|
-
if (currentUser === 'true') {
|
|
12
|
-
// logged in so return true
|
|
13
|
-
return true;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
// not logged in so redirect to login page with the return url
|
|
17
|
-
this.authService.logout();
|
|
18
|
-
return false;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { inject } from '@angular/core';
|
|
2
|
-
import { CanActivateFn, Router } from '@angular/router';
|
|
3
|
-
import { map, take } from 'rxjs';
|
|
4
|
-
import { GlobalStateService } from 'tango-app-ui-global';
|
|
5
|
-
export const leadGuard: CanActivateFn = (route, state) => {
|
|
6
|
-
const gs = inject(GlobalStateService)
|
|
7
|
-
const router = inject(Router)
|
|
8
|
-
|
|
9
|
-
return gs.userAccess.pipe(take(1), map((e)=>{
|
|
10
|
-
if(e && e?.userType === 'lead'){
|
|
11
|
-
router.navigateByUrl('/explore')
|
|
12
|
-
return false
|
|
13
|
-
}
|
|
14
|
-
return true;
|
|
15
|
-
}))
|
|
16
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { inject } from '@angular/core';
|
|
2
|
-
import { CanActivateFn, Router } from '@angular/router';
|
|
3
|
-
import { map, take } from 'rxjs';
|
|
4
|
-
import { GlobalStateService } from 'tango-app-ui-global';
|
|
5
|
-
export const storesGuard: CanActivateFn = (route, state) => {
|
|
6
|
-
const gs = inject(GlobalStateService)
|
|
7
|
-
const router = inject(Router)
|
|
8
|
-
|
|
9
|
-
return gs.userAccess.pipe(take(1), map((e)=>{
|
|
10
|
-
// if(e && !e?.manage_stores_isView){
|
|
11
|
-
// router.navigateByUrl('/manage')
|
|
12
|
-
// return false
|
|
13
|
-
// }
|
|
14
|
-
return true;
|
|
15
|
-
}))
|
|
16
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { inject } from '@angular/core';
|
|
2
|
-
import { CanActivateFn, Router } from '@angular/router';
|
|
3
|
-
import { map, skip } from 'rxjs';
|
|
4
|
-
import { GlobalStateService } from 'tango-app-ui-global';
|
|
5
|
-
export const ticketsGuard: CanActivateFn = (route, state) => {
|
|
6
|
-
const gs = inject(GlobalStateService)
|
|
7
|
-
const router = inject(Router)
|
|
8
|
-
|
|
9
|
-
return gs.userAccess.pipe( map((e)=>{
|
|
10
|
-
// if(e && !e?.manage_tickets_isView){
|
|
11
|
-
// router.navigateByUrl('/manage')
|
|
12
|
-
// return false
|
|
13
|
-
// }
|
|
14
|
-
return true;
|
|
15
|
-
}))
|
|
16
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { TranslateModule } from '@ngx-translate/core';
|
|
4
|
-
|
|
5
|
-
@NgModule({
|
|
6
|
-
imports: [CommonModule, TranslateModule],
|
|
7
|
-
exports: [TranslateModule],
|
|
8
|
-
})
|
|
9
|
-
export class TranslationModule {}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
// Localization is based on '@ngx-translate/core';
|
|
2
|
-
// Please be familiar with official documentations first => https://github.com/ngx-translate/core
|
|
3
|
-
|
|
4
|
-
import { Injectable } from '@angular/core';
|
|
5
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
6
|
-
|
|
7
|
-
export interface Locale {
|
|
8
|
-
lang: string;
|
|
9
|
-
data: any;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
const LOCALIZATION_LOCAL_STORAGE_KEY = 'language';
|
|
13
|
-
|
|
14
|
-
@Injectable({
|
|
15
|
-
providedIn: 'root',
|
|
16
|
-
})
|
|
17
|
-
export class TranslationService {
|
|
18
|
-
// Private properties
|
|
19
|
-
private langIds: any = [];
|
|
20
|
-
|
|
21
|
-
constructor(private translate: TranslateService) {
|
|
22
|
-
// add new langIds to the list
|
|
23
|
-
this.translate.addLangs(['en']);
|
|
24
|
-
|
|
25
|
-
// this language will be used as a fallback when a translation isn't found in the current language
|
|
26
|
-
this.translate.setDefaultLang('en');
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
loadTranslations(...args: Locale[]): void {
|
|
30
|
-
const locales = [...args];
|
|
31
|
-
|
|
32
|
-
locales.forEach((locale) => {
|
|
33
|
-
// use setTranslation() with the third argument set to true
|
|
34
|
-
// to append translations instead of replacing them
|
|
35
|
-
this.translate.setTranslation(locale.lang, locale.data, true);
|
|
36
|
-
this.langIds.push(locale.lang);
|
|
37
|
-
});
|
|
38
|
-
|
|
39
|
-
// add new languages to the list
|
|
40
|
-
this.translate.addLangs(this.langIds);
|
|
41
|
-
this.translate.use(this.getSelectedLanguage());
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
setLanguage(lang: string) {
|
|
45
|
-
if (lang) {
|
|
46
|
-
this.translate.use(this.translate.getDefaultLang());
|
|
47
|
-
this.translate.use(lang);
|
|
48
|
-
localStorage.setItem(LOCALIZATION_LOCAL_STORAGE_KEY, lang);
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* Returns selected language
|
|
54
|
-
*/
|
|
55
|
-
getSelectedLanguage(): any {
|
|
56
|
-
return (
|
|
57
|
-
localStorage.getItem(LOCALIZATION_LOCAL_STORAGE_KEY) ||
|
|
58
|
-
this.translate.getDefaultLang()
|
|
59
|
-
);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
// China
|
|
2
|
-
export const locale = {
|
|
3
|
-
lang: 'zh',
|
|
4
|
-
data: {
|
|
5
|
-
TRANSLATOR: {
|
|
6
|
-
SELECT: '选择你的语言',
|
|
7
|
-
},
|
|
8
|
-
MENU: {
|
|
9
|
-
NEW: '新',
|
|
10
|
-
ACTIONS: '行动',
|
|
11
|
-
CREATE_POST: '创建新帖子',
|
|
12
|
-
PAGES: 'Pages',
|
|
13
|
-
FEATURES: '特征',
|
|
14
|
-
APPS: '应用',
|
|
15
|
-
DASHBOARD: '仪表板',
|
|
16
|
-
},
|
|
17
|
-
AUTH: {
|
|
18
|
-
GENERAL: {
|
|
19
|
-
OR: '要么',
|
|
20
|
-
SUBMIT_BUTTON: '提交',
|
|
21
|
-
NO_ACCOUNT: '没有账号?',
|
|
22
|
-
SIGNUP_BUTTON: '注册',
|
|
23
|
-
FORGOT_BUTTON: '忘记密码',
|
|
24
|
-
BACK_BUTTON: '背部',
|
|
25
|
-
PRIVACY: '隐私',
|
|
26
|
-
LEGAL: '法律',
|
|
27
|
-
CONTACT: '联系',
|
|
28
|
-
},
|
|
29
|
-
LOGIN: {
|
|
30
|
-
TITLE: '创建帐号',
|
|
31
|
-
BUTTON: '签到',
|
|
32
|
-
},
|
|
33
|
-
FORGOT: {
|
|
34
|
-
TITLE: 'Forgotten Password?',
|
|
35
|
-
DESC: 'Enter your email to reset your password',
|
|
36
|
-
SUCCESS: 'Your account has been successfully reset.',
|
|
37
|
-
},
|
|
38
|
-
REGISTER: {
|
|
39
|
-
TITLE: 'Sign Up',
|
|
40
|
-
DESC: 'Enter your details to create your account',
|
|
41
|
-
SUCCESS: 'Your account has been successfuly registered.',
|
|
42
|
-
},
|
|
43
|
-
INPUT: {
|
|
44
|
-
EMAIL: 'Email',
|
|
45
|
-
FULLNAME: 'Fullname',
|
|
46
|
-
PASSWORD: 'Password',
|
|
47
|
-
CONFIRM_PASSWORD: 'Confirm Password',
|
|
48
|
-
USERNAME: '用戶名',
|
|
49
|
-
},
|
|
50
|
-
VALIDATION: {
|
|
51
|
-
INVALID: '{{name}} is not valid',
|
|
52
|
-
REQUIRED: '{{name}} is required',
|
|
53
|
-
MIN_LENGTH: '{{name}} minimum length is {{min}}',
|
|
54
|
-
AGREEMENT_REQUIRED: 'Accepting terms & conditions are required',
|
|
55
|
-
NOT_FOUND: 'The requested {{name}} is not found',
|
|
56
|
-
INVALID_LOGIN: 'The login detail is incorrect',
|
|
57
|
-
REQUIRED_FIELD: 'Required field',
|
|
58
|
-
MIN_LENGTH_FIELD: 'Minimum field length:',
|
|
59
|
-
MAX_LENGTH_FIELD: 'Maximum field length:',
|
|
60
|
-
INVALID_FIELD: 'Field is not valid',
|
|
61
|
-
},
|
|
62
|
-
},
|
|
63
|
-
ECOMMERCE: {
|
|
64
|
-
COMMON: {
|
|
65
|
-
SELECTED_RECORDS_COUNT: 'Selected records count: ',
|
|
66
|
-
ALL: 'All',
|
|
67
|
-
SUSPENDED: 'Suspended',
|
|
68
|
-
ACTIVE: 'Active',
|
|
69
|
-
FILTER: 'Filter',
|
|
70
|
-
BY_STATUS: 'by Status',
|
|
71
|
-
BY_TYPE: 'by Type',
|
|
72
|
-
BUSINESS: 'Business',
|
|
73
|
-
INDIVIDUAL: 'Individual',
|
|
74
|
-
SEARCH: 'Search',
|
|
75
|
-
IN_ALL_FIELDS: 'in all fields',
|
|
76
|
-
},
|
|
77
|
-
ECOMMERCE: 'eCommerce',
|
|
78
|
-
CUSTOMERS: {
|
|
79
|
-
CUSTOMERS: '顾客',
|
|
80
|
-
CUSTOMERS_LIST: '客户名单',
|
|
81
|
-
NEW_CUSTOMER: 'New Customer',
|
|
82
|
-
DELETE_CUSTOMER_SIMPLE: {
|
|
83
|
-
TITLE: 'Customer Delete',
|
|
84
|
-
DESCRIPTION: 'Are you sure to permanently delete this customer?',
|
|
85
|
-
WAIT_DESCRIPTION: 'Customer is deleting...',
|
|
86
|
-
MESSAGE: 'Customer has been deleted',
|
|
87
|
-
},
|
|
88
|
-
DELETE_CUSTOMER_MULTY: {
|
|
89
|
-
TITLE: 'Customers Delete',
|
|
90
|
-
DESCRIPTION: 'Are you sure to permanently delete selected customers?',
|
|
91
|
-
WAIT_DESCRIPTION: 'Customers are deleting...',
|
|
92
|
-
MESSAGE: 'Selected customers have been deleted',
|
|
93
|
-
},
|
|
94
|
-
UPDATE_STATUS: {
|
|
95
|
-
TITLE: 'Status has been updated for selected customers',
|
|
96
|
-
MESSAGE: 'Selected customers status have successfully been updated',
|
|
97
|
-
},
|
|
98
|
-
EDIT: {
|
|
99
|
-
UPDATE_MESSAGE: 'Customer has been updated',
|
|
100
|
-
ADD_MESSAGE: 'Customer has been created',
|
|
101
|
-
},
|
|
102
|
-
},
|
|
103
|
-
},
|
|
104
|
-
},
|
|
105
|
-
};
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
// Germany
|
|
2
|
-
export const locale = {
|
|
3
|
-
lang: 'de',
|
|
4
|
-
data: {
|
|
5
|
-
TRANSLATOR: {
|
|
6
|
-
SELECT: 'Wähle deine Sprache',
|
|
7
|
-
},
|
|
8
|
-
MENU: {
|
|
9
|
-
NEW: 'Neu',
|
|
10
|
-
ACTIONS: 'Aktionen',
|
|
11
|
-
CREATE_POST: 'Erstellen Sie einen neuen Beitrag',
|
|
12
|
-
PAGES: 'Pages',
|
|
13
|
-
FEATURES: 'Eigenschaften',
|
|
14
|
-
APPS: 'Apps',
|
|
15
|
-
DASHBOARD: 'Instrumententafel'
|
|
16
|
-
},
|
|
17
|
-
AUTH: {
|
|
18
|
-
GENERAL: {
|
|
19
|
-
OR: 'Oder',
|
|
20
|
-
SUBMIT_BUTTON: 'einreichen',
|
|
21
|
-
NO_ACCOUNT: 'Hast du kein Konto?',
|
|
22
|
-
SIGNUP_BUTTON: 'Anmelden',
|
|
23
|
-
FORGOT_BUTTON: 'Passwort vergessen',
|
|
24
|
-
BACK_BUTTON: 'Zurück',
|
|
25
|
-
PRIVACY: 'Privatsphäre',
|
|
26
|
-
LEGAL: 'Legal',
|
|
27
|
-
CONTACT: 'Kontakt',
|
|
28
|
-
},
|
|
29
|
-
LOGIN: {
|
|
30
|
-
TITLE: 'Create Account',
|
|
31
|
-
BUTTON: 'Sign In',
|
|
32
|
-
},
|
|
33
|
-
FORGOT: {
|
|
34
|
-
TITLE: 'Forgotten Password?',
|
|
35
|
-
DESC: 'Enter your email to reset your password',
|
|
36
|
-
SUCCESS: 'Your account has been successfully reset.'
|
|
37
|
-
},
|
|
38
|
-
REGISTER: {
|
|
39
|
-
TITLE: 'Sign Up',
|
|
40
|
-
DESC: 'Enter your details to create your account',
|
|
41
|
-
SUCCESS: 'Your account has been successfuly registered.'
|
|
42
|
-
},
|
|
43
|
-
INPUT: {
|
|
44
|
-
EMAIL: 'Email',
|
|
45
|
-
FULLNAME: 'Fullname',
|
|
46
|
-
PASSWORD: 'Password',
|
|
47
|
-
CONFIRM_PASSWORD: 'Confirm Password',
|
|
48
|
-
USERNAME: 'Nutzername'
|
|
49
|
-
},
|
|
50
|
-
VALIDATION: {
|
|
51
|
-
INVALID: '{{name}} is not valid',
|
|
52
|
-
REQUIRED: '{{name}} is required',
|
|
53
|
-
MIN_LENGTH: '{{name}} minimum length is {{min}}',
|
|
54
|
-
AGREEMENT_REQUIRED: 'Accepting terms & conditions are required',
|
|
55
|
-
NOT_FOUND: 'The requested {{name}} is not found',
|
|
56
|
-
INVALID_LOGIN: 'The login detail is incorrect',
|
|
57
|
-
REQUIRED_FIELD: 'Required field',
|
|
58
|
-
MIN_LENGTH_FIELD: 'Minimum field length:',
|
|
59
|
-
MAX_LENGTH_FIELD: 'Maximum field length:',
|
|
60
|
-
INVALID_FIELD: 'Field is not valid',
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
ECOMMERCE: {
|
|
64
|
-
COMMON: {
|
|
65
|
-
SELECTED_RECORDS_COUNT: 'Selected records count: ',
|
|
66
|
-
ALL: 'All',
|
|
67
|
-
SUSPENDED: 'Suspended',
|
|
68
|
-
ACTIVE: 'Active',
|
|
69
|
-
FILTER: 'Filter',
|
|
70
|
-
BY_STATUS: 'by Status',
|
|
71
|
-
BY_TYPE: 'by Type',
|
|
72
|
-
BUSINESS: 'Business',
|
|
73
|
-
INDIVIDUAL: 'Individual',
|
|
74
|
-
SEARCH: 'Search',
|
|
75
|
-
IN_ALL_FIELDS: 'in all fields'
|
|
76
|
-
},
|
|
77
|
-
ECOMMERCE: 'eCommerce',
|
|
78
|
-
CUSTOMERS: {
|
|
79
|
-
CUSTOMERS: 'Customers',
|
|
80
|
-
CUSTOMERS_LIST: 'Customers list',
|
|
81
|
-
NEW_CUSTOMER: 'New Customer',
|
|
82
|
-
DELETE_CUSTOMER_SIMPLE: {
|
|
83
|
-
TITLE: 'Customer Delete',
|
|
84
|
-
DESCRIPTION: 'Are you sure to permanently delete this customer?',
|
|
85
|
-
WAIT_DESCRIPTION: 'Customer is deleting...',
|
|
86
|
-
MESSAGE: 'Customer has been deleted'
|
|
87
|
-
},
|
|
88
|
-
DELETE_CUSTOMER_MULTY: {
|
|
89
|
-
TITLE: 'Customers Delete',
|
|
90
|
-
DESCRIPTION: 'Are you sure to permanently delete selected customers?',
|
|
91
|
-
WAIT_DESCRIPTION: 'Customers are deleting...',
|
|
92
|
-
MESSAGE: 'Selected customers have been deleted'
|
|
93
|
-
},
|
|
94
|
-
UPDATE_STATUS: {
|
|
95
|
-
TITLE: 'Status has been updated for selected customers',
|
|
96
|
-
MESSAGE: 'Selected customers status have successfully been updated'
|
|
97
|
-
},
|
|
98
|
-
EDIT: {
|
|
99
|
-
UPDATE_MESSAGE: 'Customer has been updated',
|
|
100
|
-
ADD_MESSAGE: 'Customer has been created'
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
};
|