tango-app-ui-shared 3.7.3-dev6-demo6 → 3.7.3-dev6-demo7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.json +37 -0
- package/ng-package.json +7 -0
- package/package.json +12 -25
- package/src/lib/guards/auth.guard.ts +20 -0
- package/src/lib/guards/lead.guard.ts +16 -0
- package/src/lib/guards/stores.guard.ts +16 -0
- package/src/lib/guards/tickets.guard.ts +16 -0
- package/{lib/i18n/index.d.ts → src/lib/i18n/index.ts} +2 -2
- package/src/lib/i18n/translation.module.ts +9 -0
- package/src/lib/i18n/translation.service.ts +61 -0
- package/src/lib/i18n/vocabs/ch.ts +105 -0
- package/src/lib/i18n/vocabs/de.ts +105 -0
- package/src/lib/i18n/vocabs/en.ts +105 -0
- package/src/lib/i18n/vocabs/es.ts +105 -0
- package/src/lib/i18n/vocabs/fr.ts +105 -0
- package/src/lib/i18n/vocabs/jp.ts +105 -0
- package/src/lib/interceptors/http-auth-interceptor.ts +225 -0
- package/src/lib/interfaces/global-state.ts +6 -0
- package/src/lib/modules/common/common-shared.module.ts +20 -0
- package/src/lib/modules/common/custom-select/custom-select.component.html +42 -0
- package/src/lib/modules/common/custom-select/custom-select.component.scss +131 -0
- package/src/lib/modules/common/custom-select/custom-select.component.spec.ts +23 -0
- package/src/lib/modules/common/custom-select/custom-select.component.ts +149 -0
- package/src/lib/modules/common/filters/filters.component.html +76 -0
- package/src/lib/modules/common/filters/filters.component.scss +131 -0
- package/src/lib/modules/common/filters/filters.component.spec.ts +23 -0
- package/src/lib/modules/common/filters/filters.component.ts +181 -0
- package/src/lib/modules/common/pagination/pagination.component.html +26 -0
- package/src/lib/modules/common/pagination/pagination.component.scss +63 -0
- package/src/lib/modules/common/pagination/pagination.component.spec.ts +23 -0
- package/src/lib/modules/common/pagination/pagination.component.ts +46 -0
- package/src/lib/modules/errors/error403/error403.component.html +25 -0
- package/src/lib/modules/errors/error403/error403.component.scss +0 -0
- package/src/lib/modules/errors/error403/error403.component.spec.ts +23 -0
- package/src/lib/modules/errors/error403/error403.component.ts +28 -0
- package/src/lib/modules/errors/error404/error404.component.html +24 -0
- package/src/lib/modules/errors/error404/error404.component.scss +0 -0
- package/src/lib/modules/errors/error404/error404.component.spec.ts +25 -0
- package/src/lib/modules/errors/error404/error404.component.ts +50 -0
- package/src/lib/modules/errors/error500/error500.component.html +24 -0
- package/src/lib/modules/errors/error500/error500.component.scss +0 -0
- package/src/lib/modules/errors/error500/error500.component.spec.ts +25 -0
- package/src/lib/modules/errors/error500/error500.component.ts +50 -0
- package/src/lib/modules/errors/errors-routing.module.ts +40 -0
- package/src/lib/modules/errors/errors.component.html +15 -0
- package/src/lib/modules/errors/errors.component.scss +4 -0
- package/src/lib/modules/errors/errors.component.spec.ts +25 -0
- package/src/lib/modules/errors/errors.component.ts +42 -0
- package/src/lib/modules/errors/errors.module.ts +25 -0
- package/src/lib/modules/errors/invalid-ip/invalid-ip.component.html +16 -0
- package/src/lib/modules/errors/invalid-ip/invalid-ip.component.scss +0 -0
- package/src/lib/modules/errors/invalid-ip/invalid-ip.component.spec.ts +23 -0
- package/src/lib/modules/errors/invalid-ip/invalid-ip.component.ts +43 -0
- package/src/lib/modules/intro/contact-support/contact-support.component.html +30 -0
- package/src/lib/modules/intro/contact-support/contact-support.component.scss +60 -0
- package/src/lib/modules/intro/contact-support/contact-support.component.spec.ts +23 -0
- package/src/lib/modules/intro/contact-support/contact-support.component.ts +17 -0
- package/src/lib/modules/intro/intro-routing.module.ts +16 -0
- package/src/lib/modules/intro/intro.module.ts +21 -0
- package/src/lib/modules/intro/lead-intro/lead-intro.component.html +325 -0
- package/src/lib/modules/intro/lead-intro/lead-intro.component.scss +185 -0
- package/src/lib/modules/intro/lead-intro/lead-intro.component.spec.ts +23 -0
- package/src/lib/modules/intro/lead-intro/lead-intro.component.ts +120 -0
- package/src/lib/modules/layout/components/csm-assign-confirmation/csm-assign-confirmation.component.html +44 -0
- package/src/lib/modules/layout/components/csm-assign-confirmation/csm-assign-confirmation.component.scss +28 -0
- package/src/lib/modules/layout/components/csm-assign-confirmation/csm-assign-confirmation.component.spec.ts +23 -0
- package/src/lib/modules/layout/components/csm-assign-confirmation/csm-assign-confirmation.component.ts +24 -0
- package/src/lib/modules/layout/content/content.component.html +12 -0
- package/src/lib/modules/layout/content/content.component.scss +0 -0
- package/src/lib/modules/layout/content/content.component.ts +102 -0
- package/src/lib/modules/layout/footer/footer.component.html +29 -0
- package/src/lib/modules/layout/footer/footer.component.scss +7 -0
- package/src/lib/modules/layout/footer/footer.component.spec.ts +25 -0
- package/src/lib/modules/layout/footer/footer.component.ts +13 -0
- package/src/lib/modules/layout/header/header-menu/header-menu.component.html +27 -0
- package/src/lib/modules/layout/header/header-menu/header-menu.component.scss +4 -0
- package/src/lib/modules/layout/header/header-menu/header-menu.component.spec.ts +25 -0
- package/src/lib/modules/layout/header/header-menu/header-menu.component.ts +38 -0
- package/src/lib/modules/layout/header/header.component.html +90 -0
- package/src/lib/modules/layout/header/header.component.scss +7 -0
- package/src/lib/modules/layout/header/header.component.spec.ts +25 -0
- package/src/lib/modules/layout/header/header.component.ts +139 -0
- package/src/lib/modules/layout/header/navbar/navbar.component.html +156 -0
- package/src/lib/modules/layout/header/navbar/navbar.component.scss +223 -0
- package/src/lib/modules/layout/header/navbar/navbar.component.spec.ts +23 -0
- package/src/lib/modules/layout/header/navbar/navbar.component.ts +255 -0
- package/src/lib/modules/layout/header/notifications-inner/notifications-inner.component.html +200 -0
- package/src/lib/modules/layout/header/notifications-inner/notifications-inner.component.scss +139 -0
- package/src/lib/modules/layout/header/notifications-inner/notifications-inner.component.ts +76 -0
- package/src/lib/modules/layout/header/page-title/page-title.component.html +32 -0
- package/src/lib/modules/layout/header/page-title/page-title.component.scss +11 -0
- package/src/lib/modules/layout/header/page-title/page-title.component.ts +47 -0
- package/src/lib/modules/layout/keenicon/icons.json +1 -0
- package/src/lib/modules/layout/keenicon/keenicon.component.html +4 -0
- package/src/lib/modules/layout/keenicon/keenicon.component.scss +0 -0
- package/src/lib/modules/layout/keenicon/keenicon.component.spec.ts +23 -0
- package/src/lib/modules/layout/keenicon/keenicon.component.ts +30 -0
- package/src/lib/modules/layout/layout/layout.component.html +71 -0
- package/src/lib/modules/layout/layout/layout.component.scss +23 -0
- package/src/lib/modules/layout/layout/layout.component.ts +425 -0
- package/src/lib/modules/layout/layout.module.ts +129 -0
- package/src/lib/modules/layout/scripts-init/scripts-init.component.html +0 -0
- package/src/lib/modules/layout/scripts-init/scripts-init.component.ts +81 -0
- package/src/lib/modules/layout/scroll-top/scroll-top.component.html +1 -0
- package/src/lib/modules/layout/scroll-top/scroll-top.component.ts +75 -0
- package/src/lib/modules/layout/sidebar/sidebar-footer/sidebar-footer.component.html +70 -0
- package/src/lib/modules/layout/sidebar/sidebar-footer/sidebar-footer.component.scss +57 -0
- package/src/lib/modules/layout/sidebar/sidebar-footer/sidebar-footer.component.spec.ts +23 -0
- package/src/lib/modules/layout/sidebar/sidebar-footer/sidebar-footer.component.ts +136 -0
- package/src/lib/modules/layout/sidebar/sidebar-logo/sidebar-logo.component.html +26 -0
- package/src/lib/modules/layout/sidebar/sidebar-logo/sidebar-logo.component.scss +0 -0
- package/src/lib/modules/layout/sidebar/sidebar-logo/sidebar-logo.component.spec.ts +23 -0
- package/src/lib/modules/layout/sidebar/sidebar-logo/sidebar-logo.component.ts +36 -0
- package/src/lib/modules/layout/sidebar/sidebar-menu/sidebar-menu.component.html +761 -0
- package/src/lib/modules/layout/sidebar/sidebar-menu/sidebar-menu.component.scss +38 -0
- package/src/lib/modules/layout/sidebar/sidebar-menu/sidebar-menu.component.spec.ts +23 -0
- package/src/lib/modules/layout/sidebar/sidebar-menu/sidebar-menu.component.ts +130 -0
- package/src/lib/modules/layout/sidebar/sidebar.component.html +16 -0
- package/src/lib/modules/layout/sidebar/sidebar.component.scss +3 -0
- package/src/lib/modules/layout/sidebar/sidebar.component.spec.ts +23 -0
- package/src/lib/modules/layout/sidebar/sidebar.component.ts +203 -0
- package/src/lib/modules/layout/toolbar/accounting/accounting.component.html +84 -0
- package/src/lib/modules/layout/toolbar/accounting/accounting.component.scss +0 -0
- package/src/lib/modules/layout/toolbar/accounting/accounting.component.spec.ts +23 -0
- package/src/lib/modules/layout/toolbar/accounting/accounting.component.ts +14 -0
- package/src/lib/modules/layout/toolbar/classic/classic.component.html +69 -0
- package/src/lib/modules/layout/toolbar/classic/classic.component.scss +238 -0
- package/src/lib/modules/layout/toolbar/classic/classic.component.spec.ts +23 -0
- package/src/lib/modules/layout/toolbar/classic/classic.component.ts +389 -0
- package/src/lib/modules/layout/toolbar/client-settings/client-settings.component.html +4 -0
- package/src/lib/modules/layout/toolbar/client-settings/client-settings.component.scss +3 -0
- package/src/lib/modules/layout/toolbar/client-settings/client-settings.component.spec.ts +23 -0
- package/src/lib/modules/layout/toolbar/client-settings/client-settings.component.ts +91 -0
- package/src/lib/modules/layout/toolbar/date-single-select/date-single-select.component.html +22 -0
- package/src/lib/modules/layout/toolbar/date-single-select/date-single-select.component.scss +156 -0
- package/src/lib/modules/layout/toolbar/date-single-select/date-single-select.component.spec.ts +23 -0
- package/src/lib/modules/layout/toolbar/date-single-select/date-single-select.component.ts +238 -0
- package/src/lib/modules/layout/toolbar/datepicker/datepicker.component.html +14 -0
- package/src/lib/modules/layout/toolbar/datepicker/datepicker.component.scss +149 -0
- package/src/lib/modules/layout/toolbar/datepicker/datepicker.component.spec.ts +23 -0
- package/src/lib/modules/layout/toolbar/datepicker/datepicker.component.ts +183 -0
- package/src/lib/modules/layout/toolbar/extended/extended.component.html +100 -0
- package/src/lib/modules/layout/toolbar/extended/extended.component.scss +0 -0
- package/src/lib/modules/layout/toolbar/extended/extended.component.spec.ts +23 -0
- package/src/lib/modules/layout/toolbar/extended/extended.component.ts +12 -0
- package/src/lib/modules/layout/toolbar/metrics-header/metrics-header.component.html +311 -0
- package/src/lib/modules/layout/toolbar/metrics-header/metrics-header.component.scss +311 -0
- package/src/lib/modules/layout/toolbar/metrics-header/metrics-header.component.spec.ts +23 -0
- package/src/lib/modules/layout/toolbar/metrics-header/metrics-header.component.ts +1555 -0
- package/src/lib/modules/layout/toolbar/reports/reports.component.html +62 -0
- package/src/lib/modules/layout/toolbar/reports/reports.component.scss +0 -0
- package/src/lib/modules/layout/toolbar/reports/reports.component.spec.ts +23 -0
- package/src/lib/modules/layout/toolbar/reports/reports.component.ts +14 -0
- package/src/lib/modules/layout/toolbar/saas/saas.component.html +77 -0
- package/src/lib/modules/layout/toolbar/saas/saas.component.scss +0 -0
- package/src/lib/modules/layout/toolbar/saas/saas.component.spec.ts +23 -0
- package/src/lib/modules/layout/toolbar/saas/saas.component.ts +14 -0
- package/src/lib/modules/layout/toolbar/single-clientstore-date/single-clientstore-date.component.html +26 -0
- package/src/lib/modules/layout/toolbar/single-clientstore-date/single-clientstore-date.component.scss +176 -0
- package/src/lib/modules/layout/toolbar/single-clientstore-date/single-clientstore-date.component.spec.ts +23 -0
- package/src/lib/modules/layout/toolbar/single-clientstore-date/single-clientstore-date.component.ts +235 -0
- package/src/lib/modules/layout/toolbar/single-store/single-store.component.html +39 -0
- package/src/lib/modules/layout/toolbar/single-store/single-store.component.scss +176 -0
- package/src/lib/modules/layout/toolbar/single-store/single-store.component.spec.ts +23 -0
- package/src/lib/modules/layout/toolbar/single-store/single-store.component.ts +188 -0
- package/src/lib/modules/layout/toolbar/single-storedate/single-storedate.component.html +17 -0
- package/src/lib/modules/layout/toolbar/single-storedate/single-storedate.component.scss +172 -0
- package/src/lib/modules/layout/toolbar/single-storedate/single-storedate.component.spec.ts +23 -0
- package/src/lib/modules/layout/toolbar/single-storedate/single-storedate.component.ts +179 -0
- package/src/lib/modules/layout/toolbar/storesingle/storesingle.component.html +4 -0
- package/src/lib/modules/layout/toolbar/storesingle/storesingle.component.scss +19 -0
- package/src/lib/modules/layout/toolbar/storesingle/storesingle.component.spec.ts +23 -0
- package/src/lib/modules/layout/toolbar/storesingle/storesingle.component.ts +105 -0
- package/src/lib/modules/layout/toolbar/toolbar.component.html +64 -0
- package/src/lib/modules/layout/toolbar/toolbar.component.scss +0 -0
- package/src/lib/modules/layout/toolbar/toolbar.component.spec.ts +25 -0
- package/src/lib/modules/layout/toolbar/toolbar.component.ts +400 -0
- package/src/lib/modules/layout/toolbar/traffic-header/traffic-header/traffic-header.component.html +259 -0
- package/src/lib/modules/layout/toolbar/traffic-header/traffic-header/traffic-header.component.scss +305 -0
- package/src/lib/modules/layout/toolbar/traffic-header/traffic-header/traffic-header.component.spec.ts +23 -0
- package/src/lib/modules/layout/toolbar/traffic-header/traffic-header/traffic-header.component.ts +1202 -0
- package/src/lib/modules/layout/toolbar/traffic-nob/traffic-nob.component.html +199 -0
- package/src/lib/modules/layout/toolbar/traffic-nob/traffic-nob.component.scss +311 -0
- package/src/lib/modules/layout/toolbar/traffic-nob/traffic-nob.component.spec.ts +23 -0
- package/src/lib/modules/layout/toolbar/traffic-nob/traffic-nob.component.ts +899 -0
- package/src/lib/modules/layout/toolbar/trax-header/trax-header.component.html +204 -0
- package/src/lib/modules/layout/toolbar/trax-header/trax-header.component.scss +311 -0
- package/src/lib/modules/layout/toolbar/trax-header/trax-header.component.spec.ts +23 -0
- package/src/lib/modules/layout/toolbar/trax-header/trax-header.component.ts +1045 -0
- package/src/lib/modules/layout/toolbar/trax-withoutdate/trax-withoutdate.component.html +190 -0
- package/src/lib/modules/layout/toolbar/trax-withoutdate/trax-withoutdate.component.scss +311 -0
- package/src/lib/modules/layout/toolbar/trax-withoutdate/trax-withoutdate.component.spec.ts +23 -0
- package/src/lib/modules/layout/toolbar/trax-withoutdate/trax-withoutdate.component.ts +825 -0
- package/src/lib/modules/layout/toolbar/zone-header/zone-header.component.html +259 -0
- package/src/lib/modules/layout/toolbar/zone-header/zone-header.component.scss +305 -0
- package/src/lib/modules/layout/toolbar/zone-header/zone-header.component.spec.ts +23 -0
- package/src/lib/modules/layout/toolbar/zone-header/zone-header.component.ts +1242 -0
- package/src/lib/modules/notification/conformation/conformation.component.html +25 -0
- package/src/lib/modules/notification/conformation/conformation.component.scss +0 -0
- package/src/lib/modules/notification/conformation/conformation.component.spec.ts +23 -0
- package/src/lib/modules/notification/conformation/conformation.component.ts +23 -0
- package/src/lib/modules/notification/notification/notification.component.html +209 -0
- package/src/lib/modules/notification/notification/notification.component.scss +211 -0
- package/src/lib/modules/notification/notification/notification.component.spec.ts +23 -0
- package/src/lib/modules/notification/notification/notification.component.ts +310 -0
- package/src/lib/modules/notification/notification-routing.module.ts +20 -0
- package/src/lib/modules/notification/notification.module.ts +21 -0
- package/src/lib/pipes/customDate.pipe.ts +18 -0
- package/src/lib/routes/route-wraper-modules/analyse-wrapper.module.ts +12 -0
- package/src/lib/routes/route-wraper-modules/edge-wrapper.module.ts +11 -0
- package/src/lib/routes/route-wraper-modules/manage-wrapper.module.ts +11 -0
- package/src/lib/routes/route-wraper-modules/profile-wrapper.module.ts +12 -0
- package/src/lib/routes/route-wraper-modules/store-wrapper.module.ts +11 -0
- package/src/lib/routes/route-wraper-modules/ticket-wrapper.module.ts +10 -0
- package/src/lib/routes/routing.ts +56 -0
- package/src/lib/services/auth.service.ts +178 -0
- package/src/lib/services/notification.service.spec.ts +16 -0
- package/src/lib/services/notification.service.ts +73 -0
- package/src/lib/services/toast.service.ts +82 -0
- package/{public-api.d.ts → src/public-api.ts} +71 -44
- package/tsconfig.lib.json +14 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +14 -0
- package/esm2022/lib/guards/auth.guard.mjs +0 -26
- package/esm2022/lib/guards/lead.guard.mjs +0 -16
- package/esm2022/lib/guards/stores.guard.mjs +0 -16
- package/esm2022/lib/guards/tickets.guard.mjs +0 -16
- package/esm2022/lib/i18n/index.mjs +0 -3
- package/esm2022/lib/i18n/translation.module.mjs +0 -17
- package/esm2022/lib/i18n/translation.service.mjs +0 -53
- package/esm2022/lib/i18n/vocabs/ch.mjs +0 -106
- package/esm2022/lib/i18n/vocabs/de.mjs +0 -106
- package/esm2022/lib/i18n/vocabs/en.mjs +0 -106
- package/esm2022/lib/i18n/vocabs/es.mjs +0 -106
- package/esm2022/lib/i18n/vocabs/fr.mjs +0 -106
- package/esm2022/lib/i18n/vocabs/jp.mjs +0 -106
- package/esm2022/lib/interceptors/http-auth-interceptor.mjs +0 -124
- package/esm2022/lib/interfaces/global-state.mjs +0 -2
- package/esm2022/lib/modules/common/common-shared.module.mjs +0 -31
- package/esm2022/lib/modules/common/custom-select/custom-select.component.mjs +0 -155
- package/esm2022/lib/modules/common/filters/filters.component.mjs +0 -179
- package/esm2022/lib/modules/common/pagination/pagination.component.mjs +0 -49
- package/esm2022/lib/modules/errors/error403/error403.component.mjs +0 -33
- package/esm2022/lib/modules/errors/error404/error404.component.mjs +0 -44
- package/esm2022/lib/modules/errors/error500/error500.component.mjs +0 -45
- package/esm2022/lib/modules/errors/errors-routing.module.mjs +0 -48
- package/esm2022/lib/modules/errors/errors.component.mjs +0 -39
- package/esm2022/lib/modules/errors/errors.module.mjs +0 -37
- package/esm2022/lib/modules/errors/invalid-ip/invalid-ip.component.mjs +0 -44
- package/esm2022/lib/modules/intro/contact-support/contact-support.component.mjs +0 -19
- package/esm2022/lib/modules/intro/intro-routing.module.mjs +0 -24
- package/esm2022/lib/modules/intro/intro.module.mjs +0 -32
- package/esm2022/lib/modules/intro/lead-intro/lead-intro.component.mjs +0 -110
- package/esm2022/lib/modules/layout/components/csm-assign-confirmation/csm-assign-confirmation.component.mjs +0 -31
- package/esm2022/lib/modules/layout/content/content.component.mjs +0 -107
- package/esm2022/lib/modules/layout/footer/footer.component.mjs +0 -17
- package/esm2022/lib/modules/layout/header/header-menu/header-menu.component.mjs +0 -41
- package/esm2022/lib/modules/layout/header/header.component.mjs +0 -100
- package/esm2022/lib/modules/layout/header/navbar/navbar.component.mjs +0 -256
- package/esm2022/lib/modules/layout/header/notifications-inner/notifications-inner.component.mjs +0 -79
- package/esm2022/lib/modules/layout/header/page-title/page-title.component.mjs +0 -56
- package/esm2022/lib/modules/layout/keenicon/icons.json +0 -1
- package/esm2022/lib/modules/layout/keenicon/keenicon.component.mjs +0 -37
- package/esm2022/lib/modules/layout/layout/layout.component.mjs +0 -314
- package/esm2022/lib/modules/layout/layout.module.mjs +0 -198
- package/esm2022/lib/modules/layout/scripts-init/scripts-init.component.mjs +0 -74
- package/esm2022/lib/modules/layout/scroll-top/scroll-top.component.mjs +0 -74
- package/esm2022/lib/modules/layout/sidebar/sidebar-footer/sidebar-footer.component.mjs +0 -159
- package/esm2022/lib/modules/layout/sidebar/sidebar-logo/sidebar-logo.component.mjs +0 -45
- package/esm2022/lib/modules/layout/sidebar/sidebar-menu/sidebar-menu.component.mjs +0 -122
- package/esm2022/lib/modules/layout/sidebar/sidebar.component.mjs +0 -134
- package/esm2022/lib/modules/layout/toolbar/accounting/accounting.component.mjs +0 -16
- package/esm2022/lib/modules/layout/toolbar/classic/classic.component.mjs +0 -331
- package/esm2022/lib/modules/layout/toolbar/client-settings/client-settings.component.mjs +0 -88
- package/esm2022/lib/modules/layout/toolbar/date-single-select/date-single-select.component.mjs +0 -207
- package/esm2022/lib/modules/layout/toolbar/datepicker/datepicker.component.mjs +0 -158
- package/esm2022/lib/modules/layout/toolbar/extended/extended.component.mjs +0 -15
- package/esm2022/lib/modules/layout/toolbar/metrics-header/metrics-header.component.mjs +0 -1321
- package/esm2022/lib/modules/layout/toolbar/reports/reports.component.mjs +0 -18
- package/esm2022/lib/modules/layout/toolbar/saas/saas.component.mjs +0 -18
- package/esm2022/lib/modules/layout/toolbar/single-clientstore-date/single-clientstore-date.component.mjs +0 -216
- package/esm2022/lib/modules/layout/toolbar/single-store/single-store.component.mjs +0 -178
- package/esm2022/lib/modules/layout/toolbar/single-storedate/single-storedate.component.mjs +0 -166
- package/esm2022/lib/modules/layout/toolbar/storesingle/storesingle.component.mjs +0 -105
- package/esm2022/lib/modules/layout/toolbar/toolbar.component.mjs +0 -372
- package/esm2022/lib/modules/layout/toolbar/traffic-header/traffic-header/traffic-header.component.mjs +0 -1062
- package/esm2022/lib/modules/layout/toolbar/traffic-nob/traffic-nob.component.mjs +0 -795
- package/esm2022/lib/modules/layout/toolbar/trax-header/trax-header.component.mjs +0 -880
- package/esm2022/lib/modules/layout/toolbar/trax-withoutdate/trax-withoutdate.component.mjs +0 -729
- package/esm2022/lib/modules/layout/toolbar/zone-header/zone-header.component.mjs +0 -1088
- package/esm2022/lib/modules/notification/conformation/conformation.component.mjs +0 -22
- package/esm2022/lib/modules/notification/notification/notification.component.mjs +0 -317
- package/esm2022/lib/modules/notification/notification-routing.module.mjs +0 -28
- package/esm2022/lib/modules/notification/notification.module.mjs +0 -32
- package/esm2022/lib/pipes/customDate.pipe.mjs +0 -22
- package/esm2022/lib/routes/route-wraper-modules/edge-wrapper.module.mjs +0 -18
- package/esm2022/lib/routes/route-wraper-modules/manage-wrapper.module.mjs +0 -18
- package/esm2022/lib/routes/route-wraper-modules/profile-wrapper.module.mjs +0 -18
- package/esm2022/lib/routes/route-wraper-modules/store-wrapper.module.mjs +0 -18
- package/esm2022/lib/routes/route-wraper-modules/ticket-wrapper.module.mjs +0 -18
- package/esm2022/lib/routes/routing.mjs +0 -53
- package/esm2022/lib/services/auth.service.mjs +0 -141
- package/esm2022/lib/services/notification.service.mjs +0 -74
- package/esm2022/lib/services/toast.service.mjs +0 -83
- package/esm2022/public-api.mjs +0 -56
- package/esm2022/tango-app-ui-shared.mjs +0 -5
- package/fesm2022/tango-app-ui-shared-edge-wrapper.module-CFDk0tvS.mjs +0 -21
- package/fesm2022/tango-app-ui-shared-edge-wrapper.module-CFDk0tvS.mjs.map +0 -1
- package/fesm2022/tango-app-ui-shared-intro.module-DYh4ZRha.mjs +0 -188
- package/fesm2022/tango-app-ui-shared-intro.module-DYh4ZRha.mjs.map +0 -1
- package/fesm2022/tango-app-ui-shared-manage-wrapper.module-BHyh4Njw.mjs +0 -21
- package/fesm2022/tango-app-ui-shared-manage-wrapper.module-BHyh4Njw.mjs.map +0 -1
- package/fesm2022/tango-app-ui-shared-notification.module-C5ZmCf8U.mjs +0 -400
- package/fesm2022/tango-app-ui-shared-notification.module-C5ZmCf8U.mjs.map +0 -1
- package/fesm2022/tango-app-ui-shared-profile-wrapper.module-BNC1AGOk.mjs +0 -21
- package/fesm2022/tango-app-ui-shared-profile-wrapper.module-BNC1AGOk.mjs.map +0 -1
- package/fesm2022/tango-app-ui-shared-store-wrapper.module-DdaCYHdv.mjs +0 -21
- package/fesm2022/tango-app-ui-shared-store-wrapper.module-DdaCYHdv.mjs.map +0 -1
- package/fesm2022/tango-app-ui-shared-ticket-wrapper.module-r32uKkDO.mjs +0 -21
- package/fesm2022/tango-app-ui-shared-ticket-wrapper.module-r32uKkDO.mjs.map +0 -1
- package/fesm2022/tango-app-ui-shared.mjs +0 -12438
- package/fesm2022/tango-app-ui-shared.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/guards/auth.guard.d.ts +0 -10
- package/lib/guards/lead.guard.d.ts +0 -2
- package/lib/guards/stores.guard.d.ts +0 -2
- package/lib/guards/tickets.guard.d.ts +0 -2
- package/lib/i18n/translation.module.d.ts +0 -8
- package/lib/i18n/translation.service.d.ts +0 -19
- package/lib/i18n/vocabs/ch.d.ts +0 -104
- package/lib/i18n/vocabs/de.d.ts +0 -104
- package/lib/i18n/vocabs/en.d.ts +0 -104
- package/lib/i18n/vocabs/es.d.ts +0 -104
- package/lib/i18n/vocabs/fr.d.ts +0 -104
- package/lib/i18n/vocabs/jp.d.ts +0 -104
- package/lib/interceptors/http-auth-interceptor.d.ts +0 -19
- package/lib/interfaces/global-state.d.ts +0 -5
- package/lib/modules/common/common-shared.module.d.ts +0 -13
- package/lib/modules/common/custom-select/custom-select.component.d.ts +0 -33
- package/lib/modules/common/filters/filters.component.d.ts +0 -38
- package/lib/modules/common/pagination/pagination.component.d.ts +0 -18
- package/lib/modules/errors/error403/error403.component.d.ts +0 -14
- package/lib/modules/errors/error404/error404.component.d.ts +0 -15
- package/lib/modules/errors/error500/error500.component.d.ts +0 -15
- package/lib/modules/errors/errors-routing.module.d.ts +0 -7
- package/lib/modules/errors/errors.component.d.ts +0 -13
- package/lib/modules/errors/errors.module.d.ts +0 -13
- package/lib/modules/errors/invalid-ip/invalid-ip.component.d.ts +0 -17
- package/lib/modules/intro/contact-support/contact-support.component.d.ts +0 -9
- package/lib/modules/intro/intro-routing.module.d.ts +0 -7
- package/lib/modules/intro/intro.module.d.ts +0 -11
- package/lib/modules/intro/lead-intro/lead-intro.component.d.ts +0 -31
- package/lib/modules/layout/components/csm-assign-confirmation/csm-assign-confirmation.component.d.ts +0 -13
- package/lib/modules/layout/content/content.component.d.ts +0 -25
- package/lib/modules/layout/footer/footer.component.d.ts +0 -8
- package/lib/modules/layout/header/header-menu/header-menu.component.d.ts +0 -18
- package/lib/modules/layout/header/header.component.d.ts +0 -30
- package/lib/modules/layout/header/navbar/navbar.component.d.ts +0 -45
- package/lib/modules/layout/header/notifications-inner/notifications-inner.component.d.ts +0 -25
- package/lib/modules/layout/header/page-title/page-title.component.d.ts +0 -23
- package/lib/modules/layout/keenicon/keenicon.component.d.ts +0 -13
- package/lib/modules/layout/layout/layout.component.d.ts +0 -82
- package/lib/modules/layout/layout.module.d.ts +0 -50
- package/lib/modules/layout/scripts-init/scripts-init.component.d.ts +0 -19
- package/lib/modules/layout/scroll-top/scroll-top.component.d.ts +0 -19
- package/lib/modules/layout/sidebar/sidebar-footer/sidebar-footer.component.d.ts +0 -45
- package/lib/modules/layout/sidebar/sidebar-logo/sidebar-logo.component.d.ts +0 -19
- package/lib/modules/layout/sidebar/sidebar-menu/sidebar-menu.component.d.ts +0 -26
- package/lib/modules/layout/sidebar/sidebar.component.d.ts +0 -36
- package/lib/modules/layout/toolbar/accounting/accounting.component.d.ts +0 -8
- package/lib/modules/layout/toolbar/classic/classic.component.d.ts +0 -48
- package/lib/modules/layout/toolbar/client-settings/client-settings.component.d.ts +0 -16
- package/lib/modules/layout/toolbar/date-single-select/date-single-select.component.d.ts +0 -28
- package/lib/modules/layout/toolbar/datepicker/datepicker.component.d.ts +0 -28
- package/lib/modules/layout/toolbar/extended/extended.component.d.ts +0 -8
- package/lib/modules/layout/toolbar/metrics-header/metrics-header.component.d.ts +0 -103
- package/lib/modules/layout/toolbar/reports/reports.component.d.ts +0 -9
- package/lib/modules/layout/toolbar/saas/saas.component.d.ts +0 -9
- package/lib/modules/layout/toolbar/single-clientstore-date/single-clientstore-date.component.d.ts +0 -32
- package/lib/modules/layout/toolbar/single-store/single-store.component.d.ts +0 -33
- package/lib/modules/layout/toolbar/single-storedate/single-storedate.component.d.ts +0 -34
- package/lib/modules/layout/toolbar/storesingle/storesingle.component.d.ts +0 -24
- package/lib/modules/layout/toolbar/toolbar.component.d.ts +0 -57
- package/lib/modules/layout/toolbar/traffic-header/traffic-header/traffic-header.component.d.ts +0 -93
- package/lib/modules/layout/toolbar/traffic-nob/traffic-nob.component.d.ts +0 -80
- package/lib/modules/layout/toolbar/trax-header/trax-header.component.d.ts +0 -83
- package/lib/modules/layout/toolbar/trax-withoutdate/trax-withoutdate.component.d.ts +0 -74
- package/lib/modules/layout/toolbar/zone-header/zone-header.component.d.ts +0 -97
- package/lib/modules/notification/conformation/conformation.component.d.ts +0 -10
- package/lib/modules/notification/notification/notification.component.d.ts +0 -63
- package/lib/modules/notification/notification-routing.module.d.ts +0 -7
- package/lib/modules/notification/notification.module.d.ts +0 -11
- package/lib/pipes/customDate.pipe.d.ts +0 -7
- package/lib/routes/route-wraper-modules/edge-wrapper.module.d.ts +0 -7
- package/lib/routes/route-wraper-modules/manage-wrapper.module.d.ts +0 -7
- package/lib/routes/route-wraper-modules/profile-wrapper.module.d.ts +0 -7
- package/lib/routes/route-wraper-modules/store-wrapper.module.d.ts +0 -7
- package/lib/routes/route-wraper-modules/ticket-wrapper.module.d.ts +0 -7
- package/lib/routes/routing.d.ts +0 -3
- package/lib/services/auth.service.d.ts +0 -49
- package/lib/services/notification.service.d.ts +0 -30
- package/lib/services/toast.service.d.ts +0 -10
package/.eslintrc.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
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
ADDED
package/package.json
CHANGED
|
@@ -1,25 +1,12 @@
|
|
|
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
|
-
|
|
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
|
+
{
|
|
2
|
+
"name": "tango-app-ui-shared",
|
|
3
|
+
"version": "3.7.3-dev6-demo7",
|
|
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
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
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,2 +1,2 @@
|
|
|
1
|
-
export * from './translation.module';
|
|
2
|
-
export * from './translation.service';
|
|
1
|
+
export * from './translation.module';
|
|
2
|
+
export * from './translation.service';
|
|
@@ -0,0 +1,9 @@
|
|
|
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 {}
|
|
@@ -0,0 +1,61 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,105 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
// USA
|
|
2
|
+
export const locale = {
|
|
3
|
+
lang: 'en',
|
|
4
|
+
data: {
|
|
5
|
+
TRANSLATOR: {
|
|
6
|
+
SELECT: 'Select your language',
|
|
7
|
+
},
|
|
8
|
+
MENU: {
|
|
9
|
+
NEW: 'new',
|
|
10
|
+
ACTIONS: 'Actions',
|
|
11
|
+
CREATE_POST: 'Create New Post',
|
|
12
|
+
PAGES: 'Pages',
|
|
13
|
+
FEATURES: 'Features',
|
|
14
|
+
APPS: 'Apps',
|
|
15
|
+
DASHBOARD: 'Dashboard',
|
|
16
|
+
},
|
|
17
|
+
AUTH: {
|
|
18
|
+
GENERAL: {
|
|
19
|
+
OR: 'Or',
|
|
20
|
+
SUBMIT_BUTTON: 'Submit',
|
|
21
|
+
NO_ACCOUNT: 'Don\'t have an account?',
|
|
22
|
+
SIGNUP_BUTTON: 'Sign Up',
|
|
23
|
+
FORGOT_BUTTON: 'Forgot Password',
|
|
24
|
+
BACK_BUTTON: 'Back',
|
|
25
|
+
PRIVACY: 'Privacy',
|
|
26
|
+
LEGAL: 'Legal',
|
|
27
|
+
CONTACT: 'Contact',
|
|
28
|
+
},
|
|
29
|
+
LOGIN: {
|
|
30
|
+
TITLE: 'Login 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: '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: '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
|
+
};
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
// Spain
|
|
2
|
+
export const locale = {
|
|
3
|
+
lang: 'es',
|
|
4
|
+
data: {
|
|
5
|
+
TRANSLATOR: {
|
|
6
|
+
SELECT: 'Elige tu idioma',
|
|
7
|
+
},
|
|
8
|
+
MENU: {
|
|
9
|
+
NEW: 'nuevo',
|
|
10
|
+
ACTIONS: 'Comportamiento',
|
|
11
|
+
CREATE_POST: 'Crear nueva publicación',
|
|
12
|
+
PAGES: 'Pages',
|
|
13
|
+
FEATURES: 'Caracteristicas',
|
|
14
|
+
APPS: 'Aplicaciones',
|
|
15
|
+
DASHBOARD: 'Tablero'
|
|
16
|
+
},
|
|
17
|
+
AUTH: {
|
|
18
|
+
GENERAL: {
|
|
19
|
+
OR: 'O',
|
|
20
|
+
SUBMIT_BUTTON: 'Enviar',
|
|
21
|
+
NO_ACCOUNT: 'No tienes una cuenta?',
|
|
22
|
+
SIGNUP_BUTTON: 'Regístrate',
|
|
23
|
+
FORGOT_BUTTON: 'Se te olvidó tu contraseña',
|
|
24
|
+
BACK_BUTTON: 'Espalda',
|
|
25
|
+
PRIVACY: 'Intimidad',
|
|
26
|
+
LEGAL: 'Legal',
|
|
27
|
+
CONTACT: 'Contacto',
|
|
28
|
+
},
|
|
29
|
+
LOGIN: {
|
|
30
|
+
TITLE: 'Crear una cuenta',
|
|
31
|
+
BUTTON: 'Registrarse',
|
|
32
|
+
},
|
|
33
|
+
FORGOT: {
|
|
34
|
+
TITLE: 'Contraseña olvidada?',
|
|
35
|
+
DESC: 'Ingrese su correo electrónico para restablecer su contraseña',
|
|
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: 'Usuario'
|
|
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
|
+
};
|