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.
Files changed (402) hide show
  1. package/.eslintrc.json +37 -0
  2. package/ng-package.json +7 -0
  3. package/package.json +12 -25
  4. package/src/lib/guards/auth.guard.ts +20 -0
  5. package/src/lib/guards/lead.guard.ts +16 -0
  6. package/src/lib/guards/stores.guard.ts +16 -0
  7. package/src/lib/guards/tickets.guard.ts +16 -0
  8. package/{lib/i18n/index.d.ts → src/lib/i18n/index.ts} +2 -2
  9. package/src/lib/i18n/translation.module.ts +9 -0
  10. package/src/lib/i18n/translation.service.ts +61 -0
  11. package/src/lib/i18n/vocabs/ch.ts +105 -0
  12. package/src/lib/i18n/vocabs/de.ts +105 -0
  13. package/src/lib/i18n/vocabs/en.ts +105 -0
  14. package/src/lib/i18n/vocabs/es.ts +105 -0
  15. package/src/lib/i18n/vocabs/fr.ts +105 -0
  16. package/src/lib/i18n/vocabs/jp.ts +105 -0
  17. package/src/lib/interceptors/http-auth-interceptor.ts +225 -0
  18. package/src/lib/interfaces/global-state.ts +6 -0
  19. package/src/lib/modules/common/common-shared.module.ts +20 -0
  20. package/src/lib/modules/common/custom-select/custom-select.component.html +42 -0
  21. package/src/lib/modules/common/custom-select/custom-select.component.scss +131 -0
  22. package/src/lib/modules/common/custom-select/custom-select.component.spec.ts +23 -0
  23. package/src/lib/modules/common/custom-select/custom-select.component.ts +149 -0
  24. package/src/lib/modules/common/filters/filters.component.html +76 -0
  25. package/src/lib/modules/common/filters/filters.component.scss +131 -0
  26. package/src/lib/modules/common/filters/filters.component.spec.ts +23 -0
  27. package/src/lib/modules/common/filters/filters.component.ts +181 -0
  28. package/src/lib/modules/common/pagination/pagination.component.html +26 -0
  29. package/src/lib/modules/common/pagination/pagination.component.scss +63 -0
  30. package/src/lib/modules/common/pagination/pagination.component.spec.ts +23 -0
  31. package/src/lib/modules/common/pagination/pagination.component.ts +46 -0
  32. package/src/lib/modules/errors/error403/error403.component.html +25 -0
  33. package/src/lib/modules/errors/error403/error403.component.scss +0 -0
  34. package/src/lib/modules/errors/error403/error403.component.spec.ts +23 -0
  35. package/src/lib/modules/errors/error403/error403.component.ts +28 -0
  36. package/src/lib/modules/errors/error404/error404.component.html +24 -0
  37. package/src/lib/modules/errors/error404/error404.component.scss +0 -0
  38. package/src/lib/modules/errors/error404/error404.component.spec.ts +25 -0
  39. package/src/lib/modules/errors/error404/error404.component.ts +50 -0
  40. package/src/lib/modules/errors/error500/error500.component.html +24 -0
  41. package/src/lib/modules/errors/error500/error500.component.scss +0 -0
  42. package/src/lib/modules/errors/error500/error500.component.spec.ts +25 -0
  43. package/src/lib/modules/errors/error500/error500.component.ts +50 -0
  44. package/src/lib/modules/errors/errors-routing.module.ts +40 -0
  45. package/src/lib/modules/errors/errors.component.html +15 -0
  46. package/src/lib/modules/errors/errors.component.scss +4 -0
  47. package/src/lib/modules/errors/errors.component.spec.ts +25 -0
  48. package/src/lib/modules/errors/errors.component.ts +42 -0
  49. package/src/lib/modules/errors/errors.module.ts +25 -0
  50. package/src/lib/modules/errors/invalid-ip/invalid-ip.component.html +16 -0
  51. package/src/lib/modules/errors/invalid-ip/invalid-ip.component.scss +0 -0
  52. package/src/lib/modules/errors/invalid-ip/invalid-ip.component.spec.ts +23 -0
  53. package/src/lib/modules/errors/invalid-ip/invalid-ip.component.ts +43 -0
  54. package/src/lib/modules/intro/contact-support/contact-support.component.html +30 -0
  55. package/src/lib/modules/intro/contact-support/contact-support.component.scss +60 -0
  56. package/src/lib/modules/intro/contact-support/contact-support.component.spec.ts +23 -0
  57. package/src/lib/modules/intro/contact-support/contact-support.component.ts +17 -0
  58. package/src/lib/modules/intro/intro-routing.module.ts +16 -0
  59. package/src/lib/modules/intro/intro.module.ts +21 -0
  60. package/src/lib/modules/intro/lead-intro/lead-intro.component.html +325 -0
  61. package/src/lib/modules/intro/lead-intro/lead-intro.component.scss +185 -0
  62. package/src/lib/modules/intro/lead-intro/lead-intro.component.spec.ts +23 -0
  63. package/src/lib/modules/intro/lead-intro/lead-intro.component.ts +120 -0
  64. package/src/lib/modules/layout/components/csm-assign-confirmation/csm-assign-confirmation.component.html +44 -0
  65. package/src/lib/modules/layout/components/csm-assign-confirmation/csm-assign-confirmation.component.scss +28 -0
  66. package/src/lib/modules/layout/components/csm-assign-confirmation/csm-assign-confirmation.component.spec.ts +23 -0
  67. package/src/lib/modules/layout/components/csm-assign-confirmation/csm-assign-confirmation.component.ts +24 -0
  68. package/src/lib/modules/layout/content/content.component.html +12 -0
  69. package/src/lib/modules/layout/content/content.component.scss +0 -0
  70. package/src/lib/modules/layout/content/content.component.ts +102 -0
  71. package/src/lib/modules/layout/footer/footer.component.html +29 -0
  72. package/src/lib/modules/layout/footer/footer.component.scss +7 -0
  73. package/src/lib/modules/layout/footer/footer.component.spec.ts +25 -0
  74. package/src/lib/modules/layout/footer/footer.component.ts +13 -0
  75. package/src/lib/modules/layout/header/header-menu/header-menu.component.html +27 -0
  76. package/src/lib/modules/layout/header/header-menu/header-menu.component.scss +4 -0
  77. package/src/lib/modules/layout/header/header-menu/header-menu.component.spec.ts +25 -0
  78. package/src/lib/modules/layout/header/header-menu/header-menu.component.ts +38 -0
  79. package/src/lib/modules/layout/header/header.component.html +90 -0
  80. package/src/lib/modules/layout/header/header.component.scss +7 -0
  81. package/src/lib/modules/layout/header/header.component.spec.ts +25 -0
  82. package/src/lib/modules/layout/header/header.component.ts +139 -0
  83. package/src/lib/modules/layout/header/navbar/navbar.component.html +156 -0
  84. package/src/lib/modules/layout/header/navbar/navbar.component.scss +223 -0
  85. package/src/lib/modules/layout/header/navbar/navbar.component.spec.ts +23 -0
  86. package/src/lib/modules/layout/header/navbar/navbar.component.ts +255 -0
  87. package/src/lib/modules/layout/header/notifications-inner/notifications-inner.component.html +200 -0
  88. package/src/lib/modules/layout/header/notifications-inner/notifications-inner.component.scss +139 -0
  89. package/src/lib/modules/layout/header/notifications-inner/notifications-inner.component.ts +76 -0
  90. package/src/lib/modules/layout/header/page-title/page-title.component.html +32 -0
  91. package/src/lib/modules/layout/header/page-title/page-title.component.scss +11 -0
  92. package/src/lib/modules/layout/header/page-title/page-title.component.ts +47 -0
  93. package/src/lib/modules/layout/keenicon/icons.json +1 -0
  94. package/src/lib/modules/layout/keenicon/keenicon.component.html +4 -0
  95. package/src/lib/modules/layout/keenicon/keenicon.component.scss +0 -0
  96. package/src/lib/modules/layout/keenicon/keenicon.component.spec.ts +23 -0
  97. package/src/lib/modules/layout/keenicon/keenicon.component.ts +30 -0
  98. package/src/lib/modules/layout/layout/layout.component.html +71 -0
  99. package/src/lib/modules/layout/layout/layout.component.scss +23 -0
  100. package/src/lib/modules/layout/layout/layout.component.ts +425 -0
  101. package/src/lib/modules/layout/layout.module.ts +129 -0
  102. package/src/lib/modules/layout/scripts-init/scripts-init.component.html +0 -0
  103. package/src/lib/modules/layout/scripts-init/scripts-init.component.ts +81 -0
  104. package/src/lib/modules/layout/scroll-top/scroll-top.component.html +1 -0
  105. package/src/lib/modules/layout/scroll-top/scroll-top.component.ts +75 -0
  106. package/src/lib/modules/layout/sidebar/sidebar-footer/sidebar-footer.component.html +70 -0
  107. package/src/lib/modules/layout/sidebar/sidebar-footer/sidebar-footer.component.scss +57 -0
  108. package/src/lib/modules/layout/sidebar/sidebar-footer/sidebar-footer.component.spec.ts +23 -0
  109. package/src/lib/modules/layout/sidebar/sidebar-footer/sidebar-footer.component.ts +136 -0
  110. package/src/lib/modules/layout/sidebar/sidebar-logo/sidebar-logo.component.html +26 -0
  111. package/src/lib/modules/layout/sidebar/sidebar-logo/sidebar-logo.component.scss +0 -0
  112. package/src/lib/modules/layout/sidebar/sidebar-logo/sidebar-logo.component.spec.ts +23 -0
  113. package/src/lib/modules/layout/sidebar/sidebar-logo/sidebar-logo.component.ts +36 -0
  114. package/src/lib/modules/layout/sidebar/sidebar-menu/sidebar-menu.component.html +761 -0
  115. package/src/lib/modules/layout/sidebar/sidebar-menu/sidebar-menu.component.scss +38 -0
  116. package/src/lib/modules/layout/sidebar/sidebar-menu/sidebar-menu.component.spec.ts +23 -0
  117. package/src/lib/modules/layout/sidebar/sidebar-menu/sidebar-menu.component.ts +130 -0
  118. package/src/lib/modules/layout/sidebar/sidebar.component.html +16 -0
  119. package/src/lib/modules/layout/sidebar/sidebar.component.scss +3 -0
  120. package/src/lib/modules/layout/sidebar/sidebar.component.spec.ts +23 -0
  121. package/src/lib/modules/layout/sidebar/sidebar.component.ts +203 -0
  122. package/src/lib/modules/layout/toolbar/accounting/accounting.component.html +84 -0
  123. package/src/lib/modules/layout/toolbar/accounting/accounting.component.scss +0 -0
  124. package/src/lib/modules/layout/toolbar/accounting/accounting.component.spec.ts +23 -0
  125. package/src/lib/modules/layout/toolbar/accounting/accounting.component.ts +14 -0
  126. package/src/lib/modules/layout/toolbar/classic/classic.component.html +69 -0
  127. package/src/lib/modules/layout/toolbar/classic/classic.component.scss +238 -0
  128. package/src/lib/modules/layout/toolbar/classic/classic.component.spec.ts +23 -0
  129. package/src/lib/modules/layout/toolbar/classic/classic.component.ts +389 -0
  130. package/src/lib/modules/layout/toolbar/client-settings/client-settings.component.html +4 -0
  131. package/src/lib/modules/layout/toolbar/client-settings/client-settings.component.scss +3 -0
  132. package/src/lib/modules/layout/toolbar/client-settings/client-settings.component.spec.ts +23 -0
  133. package/src/lib/modules/layout/toolbar/client-settings/client-settings.component.ts +91 -0
  134. package/src/lib/modules/layout/toolbar/date-single-select/date-single-select.component.html +22 -0
  135. package/src/lib/modules/layout/toolbar/date-single-select/date-single-select.component.scss +156 -0
  136. package/src/lib/modules/layout/toolbar/date-single-select/date-single-select.component.spec.ts +23 -0
  137. package/src/lib/modules/layout/toolbar/date-single-select/date-single-select.component.ts +238 -0
  138. package/src/lib/modules/layout/toolbar/datepicker/datepicker.component.html +14 -0
  139. package/src/lib/modules/layout/toolbar/datepicker/datepicker.component.scss +149 -0
  140. package/src/lib/modules/layout/toolbar/datepicker/datepicker.component.spec.ts +23 -0
  141. package/src/lib/modules/layout/toolbar/datepicker/datepicker.component.ts +183 -0
  142. package/src/lib/modules/layout/toolbar/extended/extended.component.html +100 -0
  143. package/src/lib/modules/layout/toolbar/extended/extended.component.scss +0 -0
  144. package/src/lib/modules/layout/toolbar/extended/extended.component.spec.ts +23 -0
  145. package/src/lib/modules/layout/toolbar/extended/extended.component.ts +12 -0
  146. package/src/lib/modules/layout/toolbar/metrics-header/metrics-header.component.html +311 -0
  147. package/src/lib/modules/layout/toolbar/metrics-header/metrics-header.component.scss +311 -0
  148. package/src/lib/modules/layout/toolbar/metrics-header/metrics-header.component.spec.ts +23 -0
  149. package/src/lib/modules/layout/toolbar/metrics-header/metrics-header.component.ts +1555 -0
  150. package/src/lib/modules/layout/toolbar/reports/reports.component.html +62 -0
  151. package/src/lib/modules/layout/toolbar/reports/reports.component.scss +0 -0
  152. package/src/lib/modules/layout/toolbar/reports/reports.component.spec.ts +23 -0
  153. package/src/lib/modules/layout/toolbar/reports/reports.component.ts +14 -0
  154. package/src/lib/modules/layout/toolbar/saas/saas.component.html +77 -0
  155. package/src/lib/modules/layout/toolbar/saas/saas.component.scss +0 -0
  156. package/src/lib/modules/layout/toolbar/saas/saas.component.spec.ts +23 -0
  157. package/src/lib/modules/layout/toolbar/saas/saas.component.ts +14 -0
  158. package/src/lib/modules/layout/toolbar/single-clientstore-date/single-clientstore-date.component.html +26 -0
  159. package/src/lib/modules/layout/toolbar/single-clientstore-date/single-clientstore-date.component.scss +176 -0
  160. package/src/lib/modules/layout/toolbar/single-clientstore-date/single-clientstore-date.component.spec.ts +23 -0
  161. package/src/lib/modules/layout/toolbar/single-clientstore-date/single-clientstore-date.component.ts +235 -0
  162. package/src/lib/modules/layout/toolbar/single-store/single-store.component.html +39 -0
  163. package/src/lib/modules/layout/toolbar/single-store/single-store.component.scss +176 -0
  164. package/src/lib/modules/layout/toolbar/single-store/single-store.component.spec.ts +23 -0
  165. package/src/lib/modules/layout/toolbar/single-store/single-store.component.ts +188 -0
  166. package/src/lib/modules/layout/toolbar/single-storedate/single-storedate.component.html +17 -0
  167. package/src/lib/modules/layout/toolbar/single-storedate/single-storedate.component.scss +172 -0
  168. package/src/lib/modules/layout/toolbar/single-storedate/single-storedate.component.spec.ts +23 -0
  169. package/src/lib/modules/layout/toolbar/single-storedate/single-storedate.component.ts +179 -0
  170. package/src/lib/modules/layout/toolbar/storesingle/storesingle.component.html +4 -0
  171. package/src/lib/modules/layout/toolbar/storesingle/storesingle.component.scss +19 -0
  172. package/src/lib/modules/layout/toolbar/storesingle/storesingle.component.spec.ts +23 -0
  173. package/src/lib/modules/layout/toolbar/storesingle/storesingle.component.ts +105 -0
  174. package/src/lib/modules/layout/toolbar/toolbar.component.html +64 -0
  175. package/src/lib/modules/layout/toolbar/toolbar.component.scss +0 -0
  176. package/src/lib/modules/layout/toolbar/toolbar.component.spec.ts +25 -0
  177. package/src/lib/modules/layout/toolbar/toolbar.component.ts +400 -0
  178. package/src/lib/modules/layout/toolbar/traffic-header/traffic-header/traffic-header.component.html +259 -0
  179. package/src/lib/modules/layout/toolbar/traffic-header/traffic-header/traffic-header.component.scss +305 -0
  180. package/src/lib/modules/layout/toolbar/traffic-header/traffic-header/traffic-header.component.spec.ts +23 -0
  181. package/src/lib/modules/layout/toolbar/traffic-header/traffic-header/traffic-header.component.ts +1202 -0
  182. package/src/lib/modules/layout/toolbar/traffic-nob/traffic-nob.component.html +199 -0
  183. package/src/lib/modules/layout/toolbar/traffic-nob/traffic-nob.component.scss +311 -0
  184. package/src/lib/modules/layout/toolbar/traffic-nob/traffic-nob.component.spec.ts +23 -0
  185. package/src/lib/modules/layout/toolbar/traffic-nob/traffic-nob.component.ts +899 -0
  186. package/src/lib/modules/layout/toolbar/trax-header/trax-header.component.html +204 -0
  187. package/src/lib/modules/layout/toolbar/trax-header/trax-header.component.scss +311 -0
  188. package/src/lib/modules/layout/toolbar/trax-header/trax-header.component.spec.ts +23 -0
  189. package/src/lib/modules/layout/toolbar/trax-header/trax-header.component.ts +1045 -0
  190. package/src/lib/modules/layout/toolbar/trax-withoutdate/trax-withoutdate.component.html +190 -0
  191. package/src/lib/modules/layout/toolbar/trax-withoutdate/trax-withoutdate.component.scss +311 -0
  192. package/src/lib/modules/layout/toolbar/trax-withoutdate/trax-withoutdate.component.spec.ts +23 -0
  193. package/src/lib/modules/layout/toolbar/trax-withoutdate/trax-withoutdate.component.ts +825 -0
  194. package/src/lib/modules/layout/toolbar/zone-header/zone-header.component.html +259 -0
  195. package/src/lib/modules/layout/toolbar/zone-header/zone-header.component.scss +305 -0
  196. package/src/lib/modules/layout/toolbar/zone-header/zone-header.component.spec.ts +23 -0
  197. package/src/lib/modules/layout/toolbar/zone-header/zone-header.component.ts +1242 -0
  198. package/src/lib/modules/notification/conformation/conformation.component.html +25 -0
  199. package/src/lib/modules/notification/conformation/conformation.component.scss +0 -0
  200. package/src/lib/modules/notification/conformation/conformation.component.spec.ts +23 -0
  201. package/src/lib/modules/notification/conformation/conformation.component.ts +23 -0
  202. package/src/lib/modules/notification/notification/notification.component.html +209 -0
  203. package/src/lib/modules/notification/notification/notification.component.scss +211 -0
  204. package/src/lib/modules/notification/notification/notification.component.spec.ts +23 -0
  205. package/src/lib/modules/notification/notification/notification.component.ts +310 -0
  206. package/src/lib/modules/notification/notification-routing.module.ts +20 -0
  207. package/src/lib/modules/notification/notification.module.ts +21 -0
  208. package/src/lib/pipes/customDate.pipe.ts +18 -0
  209. package/src/lib/routes/route-wraper-modules/analyse-wrapper.module.ts +12 -0
  210. package/src/lib/routes/route-wraper-modules/edge-wrapper.module.ts +11 -0
  211. package/src/lib/routes/route-wraper-modules/manage-wrapper.module.ts +11 -0
  212. package/src/lib/routes/route-wraper-modules/profile-wrapper.module.ts +12 -0
  213. package/src/lib/routes/route-wraper-modules/store-wrapper.module.ts +11 -0
  214. package/src/lib/routes/route-wraper-modules/ticket-wrapper.module.ts +10 -0
  215. package/src/lib/routes/routing.ts +56 -0
  216. package/src/lib/services/auth.service.ts +178 -0
  217. package/src/lib/services/notification.service.spec.ts +16 -0
  218. package/src/lib/services/notification.service.ts +73 -0
  219. package/src/lib/services/toast.service.ts +82 -0
  220. package/{public-api.d.ts → src/public-api.ts} +71 -44
  221. package/tsconfig.lib.json +14 -0
  222. package/tsconfig.lib.prod.json +10 -0
  223. package/tsconfig.spec.json +14 -0
  224. package/esm2022/lib/guards/auth.guard.mjs +0 -26
  225. package/esm2022/lib/guards/lead.guard.mjs +0 -16
  226. package/esm2022/lib/guards/stores.guard.mjs +0 -16
  227. package/esm2022/lib/guards/tickets.guard.mjs +0 -16
  228. package/esm2022/lib/i18n/index.mjs +0 -3
  229. package/esm2022/lib/i18n/translation.module.mjs +0 -17
  230. package/esm2022/lib/i18n/translation.service.mjs +0 -53
  231. package/esm2022/lib/i18n/vocabs/ch.mjs +0 -106
  232. package/esm2022/lib/i18n/vocabs/de.mjs +0 -106
  233. package/esm2022/lib/i18n/vocabs/en.mjs +0 -106
  234. package/esm2022/lib/i18n/vocabs/es.mjs +0 -106
  235. package/esm2022/lib/i18n/vocabs/fr.mjs +0 -106
  236. package/esm2022/lib/i18n/vocabs/jp.mjs +0 -106
  237. package/esm2022/lib/interceptors/http-auth-interceptor.mjs +0 -124
  238. package/esm2022/lib/interfaces/global-state.mjs +0 -2
  239. package/esm2022/lib/modules/common/common-shared.module.mjs +0 -31
  240. package/esm2022/lib/modules/common/custom-select/custom-select.component.mjs +0 -155
  241. package/esm2022/lib/modules/common/filters/filters.component.mjs +0 -179
  242. package/esm2022/lib/modules/common/pagination/pagination.component.mjs +0 -49
  243. package/esm2022/lib/modules/errors/error403/error403.component.mjs +0 -33
  244. package/esm2022/lib/modules/errors/error404/error404.component.mjs +0 -44
  245. package/esm2022/lib/modules/errors/error500/error500.component.mjs +0 -45
  246. package/esm2022/lib/modules/errors/errors-routing.module.mjs +0 -48
  247. package/esm2022/lib/modules/errors/errors.component.mjs +0 -39
  248. package/esm2022/lib/modules/errors/errors.module.mjs +0 -37
  249. package/esm2022/lib/modules/errors/invalid-ip/invalid-ip.component.mjs +0 -44
  250. package/esm2022/lib/modules/intro/contact-support/contact-support.component.mjs +0 -19
  251. package/esm2022/lib/modules/intro/intro-routing.module.mjs +0 -24
  252. package/esm2022/lib/modules/intro/intro.module.mjs +0 -32
  253. package/esm2022/lib/modules/intro/lead-intro/lead-intro.component.mjs +0 -110
  254. package/esm2022/lib/modules/layout/components/csm-assign-confirmation/csm-assign-confirmation.component.mjs +0 -31
  255. package/esm2022/lib/modules/layout/content/content.component.mjs +0 -107
  256. package/esm2022/lib/modules/layout/footer/footer.component.mjs +0 -17
  257. package/esm2022/lib/modules/layout/header/header-menu/header-menu.component.mjs +0 -41
  258. package/esm2022/lib/modules/layout/header/header.component.mjs +0 -100
  259. package/esm2022/lib/modules/layout/header/navbar/navbar.component.mjs +0 -256
  260. package/esm2022/lib/modules/layout/header/notifications-inner/notifications-inner.component.mjs +0 -79
  261. package/esm2022/lib/modules/layout/header/page-title/page-title.component.mjs +0 -56
  262. package/esm2022/lib/modules/layout/keenicon/icons.json +0 -1
  263. package/esm2022/lib/modules/layout/keenicon/keenicon.component.mjs +0 -37
  264. package/esm2022/lib/modules/layout/layout/layout.component.mjs +0 -314
  265. package/esm2022/lib/modules/layout/layout.module.mjs +0 -198
  266. package/esm2022/lib/modules/layout/scripts-init/scripts-init.component.mjs +0 -74
  267. package/esm2022/lib/modules/layout/scroll-top/scroll-top.component.mjs +0 -74
  268. package/esm2022/lib/modules/layout/sidebar/sidebar-footer/sidebar-footer.component.mjs +0 -159
  269. package/esm2022/lib/modules/layout/sidebar/sidebar-logo/sidebar-logo.component.mjs +0 -45
  270. package/esm2022/lib/modules/layout/sidebar/sidebar-menu/sidebar-menu.component.mjs +0 -122
  271. package/esm2022/lib/modules/layout/sidebar/sidebar.component.mjs +0 -134
  272. package/esm2022/lib/modules/layout/toolbar/accounting/accounting.component.mjs +0 -16
  273. package/esm2022/lib/modules/layout/toolbar/classic/classic.component.mjs +0 -331
  274. package/esm2022/lib/modules/layout/toolbar/client-settings/client-settings.component.mjs +0 -88
  275. package/esm2022/lib/modules/layout/toolbar/date-single-select/date-single-select.component.mjs +0 -207
  276. package/esm2022/lib/modules/layout/toolbar/datepicker/datepicker.component.mjs +0 -158
  277. package/esm2022/lib/modules/layout/toolbar/extended/extended.component.mjs +0 -15
  278. package/esm2022/lib/modules/layout/toolbar/metrics-header/metrics-header.component.mjs +0 -1321
  279. package/esm2022/lib/modules/layout/toolbar/reports/reports.component.mjs +0 -18
  280. package/esm2022/lib/modules/layout/toolbar/saas/saas.component.mjs +0 -18
  281. package/esm2022/lib/modules/layout/toolbar/single-clientstore-date/single-clientstore-date.component.mjs +0 -216
  282. package/esm2022/lib/modules/layout/toolbar/single-store/single-store.component.mjs +0 -178
  283. package/esm2022/lib/modules/layout/toolbar/single-storedate/single-storedate.component.mjs +0 -166
  284. package/esm2022/lib/modules/layout/toolbar/storesingle/storesingle.component.mjs +0 -105
  285. package/esm2022/lib/modules/layout/toolbar/toolbar.component.mjs +0 -372
  286. package/esm2022/lib/modules/layout/toolbar/traffic-header/traffic-header/traffic-header.component.mjs +0 -1062
  287. package/esm2022/lib/modules/layout/toolbar/traffic-nob/traffic-nob.component.mjs +0 -795
  288. package/esm2022/lib/modules/layout/toolbar/trax-header/trax-header.component.mjs +0 -880
  289. package/esm2022/lib/modules/layout/toolbar/trax-withoutdate/trax-withoutdate.component.mjs +0 -729
  290. package/esm2022/lib/modules/layout/toolbar/zone-header/zone-header.component.mjs +0 -1088
  291. package/esm2022/lib/modules/notification/conformation/conformation.component.mjs +0 -22
  292. package/esm2022/lib/modules/notification/notification/notification.component.mjs +0 -317
  293. package/esm2022/lib/modules/notification/notification-routing.module.mjs +0 -28
  294. package/esm2022/lib/modules/notification/notification.module.mjs +0 -32
  295. package/esm2022/lib/pipes/customDate.pipe.mjs +0 -22
  296. package/esm2022/lib/routes/route-wraper-modules/edge-wrapper.module.mjs +0 -18
  297. package/esm2022/lib/routes/route-wraper-modules/manage-wrapper.module.mjs +0 -18
  298. package/esm2022/lib/routes/route-wraper-modules/profile-wrapper.module.mjs +0 -18
  299. package/esm2022/lib/routes/route-wraper-modules/store-wrapper.module.mjs +0 -18
  300. package/esm2022/lib/routes/route-wraper-modules/ticket-wrapper.module.mjs +0 -18
  301. package/esm2022/lib/routes/routing.mjs +0 -53
  302. package/esm2022/lib/services/auth.service.mjs +0 -141
  303. package/esm2022/lib/services/notification.service.mjs +0 -74
  304. package/esm2022/lib/services/toast.service.mjs +0 -83
  305. package/esm2022/public-api.mjs +0 -56
  306. package/esm2022/tango-app-ui-shared.mjs +0 -5
  307. package/fesm2022/tango-app-ui-shared-edge-wrapper.module-CFDk0tvS.mjs +0 -21
  308. package/fesm2022/tango-app-ui-shared-edge-wrapper.module-CFDk0tvS.mjs.map +0 -1
  309. package/fesm2022/tango-app-ui-shared-intro.module-DYh4ZRha.mjs +0 -188
  310. package/fesm2022/tango-app-ui-shared-intro.module-DYh4ZRha.mjs.map +0 -1
  311. package/fesm2022/tango-app-ui-shared-manage-wrapper.module-BHyh4Njw.mjs +0 -21
  312. package/fesm2022/tango-app-ui-shared-manage-wrapper.module-BHyh4Njw.mjs.map +0 -1
  313. package/fesm2022/tango-app-ui-shared-notification.module-C5ZmCf8U.mjs +0 -400
  314. package/fesm2022/tango-app-ui-shared-notification.module-C5ZmCf8U.mjs.map +0 -1
  315. package/fesm2022/tango-app-ui-shared-profile-wrapper.module-BNC1AGOk.mjs +0 -21
  316. package/fesm2022/tango-app-ui-shared-profile-wrapper.module-BNC1AGOk.mjs.map +0 -1
  317. package/fesm2022/tango-app-ui-shared-store-wrapper.module-DdaCYHdv.mjs +0 -21
  318. package/fesm2022/tango-app-ui-shared-store-wrapper.module-DdaCYHdv.mjs.map +0 -1
  319. package/fesm2022/tango-app-ui-shared-ticket-wrapper.module-r32uKkDO.mjs +0 -21
  320. package/fesm2022/tango-app-ui-shared-ticket-wrapper.module-r32uKkDO.mjs.map +0 -1
  321. package/fesm2022/tango-app-ui-shared.mjs +0 -12438
  322. package/fesm2022/tango-app-ui-shared.mjs.map +0 -1
  323. package/index.d.ts +0 -5
  324. package/lib/guards/auth.guard.d.ts +0 -10
  325. package/lib/guards/lead.guard.d.ts +0 -2
  326. package/lib/guards/stores.guard.d.ts +0 -2
  327. package/lib/guards/tickets.guard.d.ts +0 -2
  328. package/lib/i18n/translation.module.d.ts +0 -8
  329. package/lib/i18n/translation.service.d.ts +0 -19
  330. package/lib/i18n/vocabs/ch.d.ts +0 -104
  331. package/lib/i18n/vocabs/de.d.ts +0 -104
  332. package/lib/i18n/vocabs/en.d.ts +0 -104
  333. package/lib/i18n/vocabs/es.d.ts +0 -104
  334. package/lib/i18n/vocabs/fr.d.ts +0 -104
  335. package/lib/i18n/vocabs/jp.d.ts +0 -104
  336. package/lib/interceptors/http-auth-interceptor.d.ts +0 -19
  337. package/lib/interfaces/global-state.d.ts +0 -5
  338. package/lib/modules/common/common-shared.module.d.ts +0 -13
  339. package/lib/modules/common/custom-select/custom-select.component.d.ts +0 -33
  340. package/lib/modules/common/filters/filters.component.d.ts +0 -38
  341. package/lib/modules/common/pagination/pagination.component.d.ts +0 -18
  342. package/lib/modules/errors/error403/error403.component.d.ts +0 -14
  343. package/lib/modules/errors/error404/error404.component.d.ts +0 -15
  344. package/lib/modules/errors/error500/error500.component.d.ts +0 -15
  345. package/lib/modules/errors/errors-routing.module.d.ts +0 -7
  346. package/lib/modules/errors/errors.component.d.ts +0 -13
  347. package/lib/modules/errors/errors.module.d.ts +0 -13
  348. package/lib/modules/errors/invalid-ip/invalid-ip.component.d.ts +0 -17
  349. package/lib/modules/intro/contact-support/contact-support.component.d.ts +0 -9
  350. package/lib/modules/intro/intro-routing.module.d.ts +0 -7
  351. package/lib/modules/intro/intro.module.d.ts +0 -11
  352. package/lib/modules/intro/lead-intro/lead-intro.component.d.ts +0 -31
  353. package/lib/modules/layout/components/csm-assign-confirmation/csm-assign-confirmation.component.d.ts +0 -13
  354. package/lib/modules/layout/content/content.component.d.ts +0 -25
  355. package/lib/modules/layout/footer/footer.component.d.ts +0 -8
  356. package/lib/modules/layout/header/header-menu/header-menu.component.d.ts +0 -18
  357. package/lib/modules/layout/header/header.component.d.ts +0 -30
  358. package/lib/modules/layout/header/navbar/navbar.component.d.ts +0 -45
  359. package/lib/modules/layout/header/notifications-inner/notifications-inner.component.d.ts +0 -25
  360. package/lib/modules/layout/header/page-title/page-title.component.d.ts +0 -23
  361. package/lib/modules/layout/keenicon/keenicon.component.d.ts +0 -13
  362. package/lib/modules/layout/layout/layout.component.d.ts +0 -82
  363. package/lib/modules/layout/layout.module.d.ts +0 -50
  364. package/lib/modules/layout/scripts-init/scripts-init.component.d.ts +0 -19
  365. package/lib/modules/layout/scroll-top/scroll-top.component.d.ts +0 -19
  366. package/lib/modules/layout/sidebar/sidebar-footer/sidebar-footer.component.d.ts +0 -45
  367. package/lib/modules/layout/sidebar/sidebar-logo/sidebar-logo.component.d.ts +0 -19
  368. package/lib/modules/layout/sidebar/sidebar-menu/sidebar-menu.component.d.ts +0 -26
  369. package/lib/modules/layout/sidebar/sidebar.component.d.ts +0 -36
  370. package/lib/modules/layout/toolbar/accounting/accounting.component.d.ts +0 -8
  371. package/lib/modules/layout/toolbar/classic/classic.component.d.ts +0 -48
  372. package/lib/modules/layout/toolbar/client-settings/client-settings.component.d.ts +0 -16
  373. package/lib/modules/layout/toolbar/date-single-select/date-single-select.component.d.ts +0 -28
  374. package/lib/modules/layout/toolbar/datepicker/datepicker.component.d.ts +0 -28
  375. package/lib/modules/layout/toolbar/extended/extended.component.d.ts +0 -8
  376. package/lib/modules/layout/toolbar/metrics-header/metrics-header.component.d.ts +0 -103
  377. package/lib/modules/layout/toolbar/reports/reports.component.d.ts +0 -9
  378. package/lib/modules/layout/toolbar/saas/saas.component.d.ts +0 -9
  379. package/lib/modules/layout/toolbar/single-clientstore-date/single-clientstore-date.component.d.ts +0 -32
  380. package/lib/modules/layout/toolbar/single-store/single-store.component.d.ts +0 -33
  381. package/lib/modules/layout/toolbar/single-storedate/single-storedate.component.d.ts +0 -34
  382. package/lib/modules/layout/toolbar/storesingle/storesingle.component.d.ts +0 -24
  383. package/lib/modules/layout/toolbar/toolbar.component.d.ts +0 -57
  384. package/lib/modules/layout/toolbar/traffic-header/traffic-header/traffic-header.component.d.ts +0 -93
  385. package/lib/modules/layout/toolbar/traffic-nob/traffic-nob.component.d.ts +0 -80
  386. package/lib/modules/layout/toolbar/trax-header/trax-header.component.d.ts +0 -83
  387. package/lib/modules/layout/toolbar/trax-withoutdate/trax-withoutdate.component.d.ts +0 -74
  388. package/lib/modules/layout/toolbar/zone-header/zone-header.component.d.ts +0 -97
  389. package/lib/modules/notification/conformation/conformation.component.d.ts +0 -10
  390. package/lib/modules/notification/notification/notification.component.d.ts +0 -63
  391. package/lib/modules/notification/notification-routing.module.d.ts +0 -7
  392. package/lib/modules/notification/notification.module.d.ts +0 -11
  393. package/lib/pipes/customDate.pipe.d.ts +0 -7
  394. package/lib/routes/route-wraper-modules/edge-wrapper.module.d.ts +0 -7
  395. package/lib/routes/route-wraper-modules/manage-wrapper.module.d.ts +0 -7
  396. package/lib/routes/route-wraper-modules/profile-wrapper.module.d.ts +0 -7
  397. package/lib/routes/route-wraper-modules/store-wrapper.module.d.ts +0 -7
  398. package/lib/routes/route-wraper-modules/ticket-wrapper.module.d.ts +0 -7
  399. package/lib/routes/routing.d.ts +0 -3
  400. package/lib/services/auth.service.d.ts +0 -49
  401. package/lib/services/notification.service.d.ts +0 -30
  402. package/lib/services/toast.service.d.ts +0 -10
@@ -0,0 +1,311 @@
1
+ <div class="me-3">
2
+ <label *ngIf="selectedCountriesLabel()" class="badge badge-light-default mx-2">{{selectedCountriesLabel()}}
3
+ <span class="cursor-pointer" (click)="removeCountry()"><svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none">
4
+ <path d="M9 3L3 9M3 3L9 9" stroke="#667085" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
5
+ </svg></span>
6
+ </label>
7
+ <label *ngIf="selectedLocationsLabel()" class="badge badge-light-default mx-2">{{selectedLocationsLabel()}}
8
+ <span class="cursor-pointer" (click)="removeLocation()"><svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none">
9
+ <path d="M9 3L3 9M3 3L9 9" stroke="#667085" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
10
+ </svg></span>
11
+ </label>
12
+ <label *ngIf="selectedGroupsLabel()" class="badge badge-light-default mx-2">{{selectedGroupsLabel()}}
13
+ <span class="cursor-pointer" (click)="removeGroup()"><svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none">
14
+ <path d="M9 3L3 9M3 3L9 9" stroke="#667085" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
15
+ </svg></span>
16
+ </label>
17
+ <label class="badge badge-light-default">{{selectedStoresLabel()}}</label>
18
+ <label class="badge badge-light-default mx-2">{{selectedZonesLabel()}}
19
+ <!-- <span class="cursor-pointer" (click)="removeGroup()"><svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none">
20
+ <path d="M9 3L3 9M3 3L9 9" stroke="#667085" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
21
+ </svg></span> -->
22
+ </label>
23
+ </div>
24
+
25
+
26
+ <div class="wrapper me-3" *ngIf="(gs.userAccess | async)?.userType === 'tango'">
27
+ <lib-select [items]="clientList" [multi]="false" [searchField]="'clientName'" [disabled]="false" [idField]="'clientId'"
28
+ (selected)="onClientSelect($event)" [selectedValues]="[selectedClient]"></lib-select>
29
+ </div>
30
+ <div class="d-flex align-items-center position-relative my-1">
31
+ <span class="svg-icon svg-icon-1 position-absolute ms-3">
32
+ <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
33
+ <path
34
+ d="M13.3333 1.66663V4.99996M6.66667 1.66663V4.99996M2.5 8.33329H17.5M4.16667 3.33329H15.8333C16.7538 3.33329 17.5 4.07948 17.5 4.99996V16.6666C17.5 17.5871 16.7538 18.3333 15.8333 18.3333H4.16667C3.24619 18.3333 2.5 17.5871 2.5 16.6666V4.99996C2.5 4.07948 3.24619 3.33329 4.16667 3.33329Z"
35
+ stroke="#344054" stroke-width="1.67" stroke-linecap="round" stroke-linejoin="round" />
36
+ </svg>
37
+ </span>
38
+ <input class="fx-date-range form-control ps-14" style="min-width: 260px !important;" type="text" matInput
39
+ ngxDaterangepickerMd [drops]="'down'" [opens]="'right'" [ranges]="ranges" [showCustomRangeLabel]="true" [autoApply]="true"
40
+ [alwaysShowCalendars]="false" [keepCalendarOpeningWithRange]="true" [showCancel]="true" autocomplete="off"
41
+ [(ngModel)]="selectedDateRange" (startDateChanged)="onStartDateChange($event)" [isCustomDate]="isCustomDate"
42
+ [locale]="{ format: 'DD-MM-YYYY', firstDay: 1, monthNames: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'] }"
43
+ (datesUpdated)="datechange($event)" name="daterange" [readonly]="true" />
44
+ </div>
45
+ <div class="position-relative">
46
+ <button type="button" (click)="opendropdown($event)" class="btn btn-default mx-2 rounded-3 text-nowrap border-val">
47
+ <!-- <span class="me-2">Filter</span> -->
48
+ <svg class="pl-3" width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
49
+ <path d="M5 10H15M2.5 5H17.5M7.5 15H12.5" stroke="#344054" stroke-width="2" stroke-linecap="round"
50
+ stroke-linejoin="round" />
51
+ </svg>
52
+ </button>
53
+
54
+ <div *ngIf="Opendropdown" class="card p-5 dropdown2 position-absolute z-1 end-0" style="z-index: 1 !important;" (clickOutside)="closeDropdown1()">
55
+ <div class="dropdown-title d-flex justify-content-between mb-2">Filter Options
56
+ <button class="btn btn-outline w-25 ms-3 btn-resize" (click)="Reset()"> Reset </button>
57
+ <button class="btn btn-primary w-25 btn-resize" (click)="Apply()">Apply</button>
58
+ </div>
59
+
60
+ <!-- Country Dropdown -->
61
+ <div class="dropdown-container" (clickOutside)="closeDropdown()">
62
+ <div class="dropdown-header" (click)="toggleDropdown('country')">
63
+ <input
64
+ type="text"
65
+ class="form-control dropdown-input cursor-pointer"
66
+ [value]="selectedCountriesLabel()"
67
+ readonly
68
+ placeholder="Select country"
69
+ />
70
+ </div>
71
+ <div class="dropdown-menu custom-dropdown-menu" *ngIf="dropdownOpen === 'country'">
72
+ <input
73
+ type="text"
74
+ class="form-control mb-2 dropdown-search"
75
+ placeholder="Search country"
76
+ [(ngModel)]="searchCountryText"
77
+ (ngModelChange)="filterCountries()"
78
+ />
79
+ <div class="form-check mb-2 dropdown-item custom-dropdown-item">
80
+ <input
81
+ class="form-check-input cursor-pointer"
82
+ type="checkbox"
83
+ id="selectAllCountries"
84
+ [checked]="isAllCountriesSelected()"
85
+ (change)="toggleSelectAllCountries($event)"
86
+ />
87
+ <label class="form-check-label" for="selectAllCountries">
88
+ Select All
89
+ </label>
90
+ </div>
91
+ <div
92
+ class="dropdown-item form-check custom-dropdown-item"
93
+ *ngFor="let country of filteredCountries"
94
+ >
95
+ <input
96
+ class="form-check-input cursor-pointer"
97
+ type="checkbox"
98
+ [id]="country.country"
99
+ [(ngModel)]="country.checked"
100
+ (change)="updateSelectedCountries()"
101
+ />
102
+ <label class="form-check-label" [for]="country.country">
103
+ {{ country.country }}
104
+ </label>
105
+
106
+ </div>
107
+ </div>
108
+ </div>
109
+
110
+ <!-- Location Dropdown -->
111
+ <div class="dropdown-container mt-3" (clickOutside)="closeDropdown()">
112
+ <div class="dropdown-header" (click)="toggleDropdown('location')">
113
+ <input
114
+ type="text"
115
+ class="form-control dropdown-input cursor-pointer"
116
+ [value]="selectedLocationsLabel()"
117
+ readonly
118
+ placeholder="Select Region"
119
+ />
120
+ </div>
121
+ <div class="dropdown-menu custom-dropdown-menu" *ngIf="dropdownOpen === 'location'">
122
+ <input
123
+ type="text"
124
+ class="form-control mb-2 dropdown-search"
125
+ placeholder="Search Region"
126
+ [(ngModel)]="searchLocationText"
127
+ (ngModelChange)="filterLocations()"
128
+ />
129
+ <div class="form-check mb-2 dropdown-item custom-dropdown-item">
130
+ <input
131
+ class="form-check-input cursor-pointer"
132
+ type="checkbox"
133
+ id="selectAllLocations"
134
+ [checked]="isAllLocationsSelected()"
135
+ (change)="toggleSelectAllLocations($event)"
136
+ />
137
+ <label class="form-check-label" for="selectAllLocations">
138
+ Select All
139
+ </label>
140
+ </div>
141
+ <div
142
+ class="dropdown-item form-check custom-dropdown-item"
143
+ *ngFor="let location of filteredLocations"
144
+ >
145
+ <input
146
+ class="form-check-input cursor-pointer"
147
+ type="checkbox"
148
+ [id]="location.city"
149
+ [(ngModel)]="location.checked"
150
+ (change)="updateSelectedLocations()"
151
+ />
152
+ <label class="form-check-label" [for]="location.city">
153
+ {{ location.city }}
154
+ </label>
155
+ </div>
156
+ </div>
157
+ </div>
158
+
159
+ <!-- Group Dropdown -->
160
+ <div class="dropdown-container mt-3" (clickOutside)="closeDropdown()">
161
+ <div class="dropdown-header" (click)="toggleDropdown('group')">
162
+ <input
163
+ type="text"
164
+ class="form-control dropdown-input cursor-pointer"
165
+ [value]="selectedGroupsLabel()" readonly
166
+ placeholder="Select clusters"
167
+ />
168
+ </div>
169
+ <div class="dropdown-menu custom-dropdown-menu" *ngIf="dropdownOpen === 'group'">
170
+ <input
171
+ type="text"
172
+ class="form-control mb-2 dropdown-search"
173
+ placeholder="Search clusters"
174
+ [(ngModel)]="searchGroupText"
175
+ (ngModelChange)="filterGroups()"
176
+ />
177
+ <div class="form-check mb-2 dropdown-item custom-dropdown-item">
178
+ <input
179
+ class="form-check-input cursor-pointer"
180
+ type="checkbox"
181
+ id="selectAllGroups"
182
+ [checked]="isAllGroupsSelected()"
183
+ (change)="toggleSelectAllGroups($event)"
184
+ />
185
+ <label class="form-check-label" for="selectAllGroups">
186
+ Select All
187
+ </label>
188
+ </div>
189
+ <div
190
+ class="dropdown-item form-check custom-dropdown-item"
191
+ *ngFor="let group of filteredGroups"
192
+ >
193
+ <input
194
+ class="form-check-input cursor-pointer"
195
+ type="checkbox"
196
+ [id]="group.groupName"
197
+ [(ngModel)]="group.checked"
198
+ (change)="updateSelectedGroups()"
199
+ />
200
+ <label class="form-check-label" [for]="group.groupName">
201
+ {{ group.groupName }}
202
+ </label>
203
+ </div>
204
+ </div>
205
+ </div>
206
+
207
+
208
+ <!-- Store Dropdown -->
209
+ <div class="dropdown-container mt-3" (clickOutside)="closeDropdown()">
210
+ <div class="dropdown-header" (click)="toggleDropdown('store')">
211
+ <input
212
+ type="text"
213
+ class="form-control dropdown-input cursor-pointer"
214
+ [value]="selectedStoresLabel()"
215
+ readonly
216
+ placeholder="Select stores"
217
+ />
218
+ </div>
219
+ <div class="dropdown-menu custom-dropdown-menu" *ngIf="dropdownOpen === 'store'">
220
+ <input
221
+ type="text"
222
+ class="form-control mb-2 dropdown-search "
223
+ placeholder="Search stores"
224
+ [(ngModel)]="searchStoreText"
225
+ (ngModelChange)="filterStores()"
226
+ />
227
+ <div class="form-check mb-2 dropdown-item custom-dropdown-item">
228
+ <input
229
+ class="form-check-input cursor-pointer"
230
+ type="checkbox"
231
+ id="selectAllStores"
232
+ [checked]="isAllStoresSelected()"
233
+ (change)="toggleSelectAllStores($event)"
234
+ />
235
+ <label class="form-check-label" for="selectAllStores">
236
+ Select All
237
+ </label>
238
+ </div>
239
+ <div
240
+ class="dropdown-item form-check custom-dropdown-item"
241
+ *ngFor="let store of filteredStores"
242
+ >
243
+ <input
244
+ class="form-check-input"
245
+ type="checkbox"
246
+ [id]="store.storeId"
247
+ [(ngModel)]="store.checked"
248
+ (change)="updateSelectedStores()"
249
+ />
250
+ <label class="form-check-label" [for]="store.storeId">
251
+ {{ store.storeName }}
252
+ </label>
253
+ </div>
254
+ </div>
255
+ </div>
256
+
257
+ <!-- Zone Dropdown -->
258
+ <div class="dropdown-container mt-3" (clickOutside)="closeDropdown()">
259
+ <div class="dropdown-header" (click)="toggleDropdown('zone')">
260
+ <input
261
+ type="text"
262
+ class="form-control dropdown-input cursor-pointer"
263
+ [value]="selectedZonesLabel()"
264
+ readonly
265
+ placeholder="Select zones"
266
+ />
267
+ </div>
268
+ <div class="dropdown-menu custom-dropdown-menu" *ngIf="dropdownOpen === 'zone'">
269
+ <input
270
+ type="text"
271
+ class="form-control mb-2 dropdown-search "
272
+ placeholder="Search zones"
273
+ [(ngModel)]="searchZoneText"
274
+ (ngModelChange)="filterZones()"
275
+ />
276
+ <div class="form-check mb-2 dropdown-item custom-dropdown-item">
277
+ <input
278
+ class="form-check-input cursor-pointer"
279
+ type="checkbox"
280
+ id="selectAllZones"
281
+ [checked]="isAllZonesSelected()"
282
+ (change)="toggleSelectAllZones($event)"
283
+ />
284
+ <label class="form-check-label" for="selectAllZones">
285
+ Select All
286
+ </label>
287
+ </div>
288
+ <div
289
+ class="dropdown-item form-check custom-dropdown-item"
290
+ *ngFor="let zone of filteredZones"
291
+ >
292
+ <input
293
+ class="form-check-input"
294
+ type="checkbox"
295
+ [id]="zone._id"
296
+ [(ngModel)]="zone.checked"
297
+ (change)="updateSelectedZones(zone._id)"
298
+ />
299
+ <label class="form-check-label" [for]="zone._id">
300
+ {{ zone.tagName }}
301
+ </label>
302
+ </div>
303
+ </div>
304
+ </div>
305
+
306
+
307
+
308
+
309
+
310
+ </div>
311
+ </div>
@@ -0,0 +1,311 @@
1
+ .daterangepicker {
2
+ display: block !important;
3
+ top: 153.85px !important;
4
+ left: 900px !important;
5
+ right: 0px;
6
+ }
7
+ .form-control {
8
+ color: var(--Gray-700, #344054) !important;
9
+ font-size: 14px !important;
10
+ font-weight: 600;
11
+ line-height: 20px;
12
+ text-transform: capitalize;
13
+ }
14
+ ::ng-deep .applyBtn {
15
+ display: none !important;
16
+ }
17
+ :host::ng-deep {
18
+ .md-drppicker .btn {
19
+ line-height: 10px !important;
20
+ }
21
+ .daterangepicker-input + .ngx-daterangepicker-material .applyBtn {
22
+ display: none;
23
+ }
24
+ .md-drppicker.drops-down-right.ltr.double.show-ranges.shown {
25
+ top: 65px !important;
26
+ left: -470px !important;
27
+ height: 365px !important;
28
+ }
29
+
30
+ .md-drppicker .btn {
31
+ border-radius: 8px !important;
32
+ border: 1px solid var(--Primary-600, #00A3FF) !important;
33
+ background: var(--Primary-600, #00A3FF) !important;
34
+ box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05) !important;
35
+ color: var(--White, #FFF) !important;
36
+ font-size: 14px !important;
37
+ font-weight: 600 !important;
38
+ line-height: 20px;
39
+ text-transform: capitalize;
40
+ }
41
+
42
+ .md-drppicker .ranges ul li button {
43
+ padding: 12px 16px;
44
+ width: 160px;
45
+ color: var(--Gray-700, #344054);
46
+ font-size: 14px;
47
+ font-weight: 400;
48
+ line-height: 20px;
49
+ background: none;
50
+ border: none;
51
+ text-align: left;
52
+ cursor: pointer;
53
+ }
54
+ .md-drppicker td.active,
55
+ .md-drppicker td.active:hover {
56
+ background-color: #029cf4 !important;
57
+ border-radius: 20px !important;
58
+ color: var(--White, #FFF) !important;
59
+ text-align: center !important;
60
+ font-size: 14px !important;
61
+ font-weight: 500 !important;
62
+ line-height: 20px;
63
+ }
64
+
65
+ .md-drppicker.ltr .ranges {
66
+ float: left;
67
+ margin-top: 10px !important;
68
+ }
69
+
70
+ .md-drppicker td.in-range {
71
+ background: var(--Primary-50, #EAF8FF);
72
+ }
73
+
74
+ .md-drppicker .ranges ul li button.active {
75
+ background: var(--Primary-50, #EAF8FF) !important;
76
+ border-radius: 8px !important;
77
+ color: var(--Primary-700, #009BF3);
78
+ font-size: 14px !important;
79
+ font-weight: 500 !important;
80
+ line-height: 20px !important;
81
+ }
82
+ table th,
83
+ table td {
84
+ width: 40px !important;
85
+ height: 40px !important;
86
+ padding: 10px 8px !important;
87
+ }
88
+
89
+ .md-drppicker td.available.prev,
90
+ .md-drppicker th.available.prev {
91
+ background-image: url(data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgMy43IDYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDMuNyA2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxnPg0KCTxwYXRoIGQ9Ik0zLjcsMC43TDEuNCwzbDIuMywyLjNMMyw2TDAsM2wzLTNMMy43LDAuN3oiLz4NCjwvZz4NCjwvc3ZnPg0K) !important;
92
+ background-repeat: no-repeat !important;
93
+ background-size: 0.5em !important;
94
+ background-position: center !important;
95
+ }
96
+
97
+ .md-drppicker td.available.next,
98
+ .md-drppicker th.available.next {
99
+ background-image: url(data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgMy43IDYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDMuNyA2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxnPg0KCTxwYXRoIGQ9Ik0zLjcsMC43TDEuNCwzbDIuMywyLjNMMyw2TDAsM2wzLTNMMy43LDAuN3oiLz4NCjwvZz4NCjwvc3ZnPg0K) !important;
100
+ background-repeat: no-repeat !important;
101
+ background-size: 0.5em !important;
102
+ background-position: center !important;
103
+ }
104
+
105
+ table th {
106
+ border-bottom: 0px solid var(--Gray-200, #EAECF0) !important;
107
+ background: transparent !important;
108
+ color: var(--Gray-700, #344054) !important;
109
+ text-align: center;
110
+ font-size: 16px !important;
111
+ font-weight: 500 !important;
112
+ line-height: 24px;
113
+ }
114
+ .md-drppicker td.available.invalid-date {
115
+ text-decoration: line-through;
116
+ pointer-events: none;
117
+ color: darkgray;
118
+ }
119
+
120
+ .md-drppicker td.available.today:not(.invalid-date) {
121
+ text-decoration: unset;
122
+ pointer-events: unset;
123
+ color: unset;
124
+ }
125
+ .md-drppicker .btn.btn-default {
126
+ border-radius: 8px !important;
127
+ border: 1px solid var(--Gray-300, #D0D5DD) !important;
128
+ background: var(--White, #FFF) !important;
129
+ box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05) !important;
130
+ color: var(--Gray-700, #344054) !important;
131
+ font-size: 14px !important;
132
+ font-weight: 600 !important;
133
+ line-height: 20px;
134
+ text-transform: capitalize;
135
+ margin-right:10px !important;
136
+ }
137
+ .md-drppicker td.available.invalid-date {
138
+ text-decoration: line-through;
139
+ pointer-events: none;
140
+ color: darkgray;
141
+ }
142
+
143
+ .md-drppicker td.available.today:not(.invalid-date) {
144
+ text-decoration: unset;
145
+ pointer-events: unset;
146
+ color: unset;
147
+ }
148
+ }
149
+ .wrapper {
150
+ min-width: 200px;
151
+ }
152
+ .btn-primary{
153
+ line-height: 18px !important;
154
+ }
155
+ .filter-label{
156
+ color: var(--Gray-500, #667085) !important;
157
+ font-size: 14px;
158
+ font-style: normal;
159
+ font-weight: 600;
160
+ line-height: 20px;
161
+ text-transform: capitalize;
162
+ }
163
+
164
+ .position-relative {
165
+ position: relative;
166
+ }
167
+
168
+ .filter-icon {
169
+ cursor: pointer;
170
+ }
171
+
172
+ .dropdown-container {
173
+ position: relative;
174
+ display: inline-block;
175
+ width: 100%; /* Adjust this based on your design */
176
+ }
177
+
178
+ .dropdown-header {
179
+ cursor: pointer;
180
+ width: 100%; /* Adjust based on need */
181
+ }
182
+
183
+ .form-control {
184
+ color: var(--Gray-700, #344054) !important;
185
+ font-size: 14px !important;
186
+ font-weight: 600;
187
+ line-height: 20px;
188
+ text-transform: capitalize;
189
+ width: 100%; /* Ensures input takes full width */
190
+ box-sizing: border-box;
191
+ }
192
+
193
+ .dropdown-menu {
194
+ position: absolute;
195
+ top: 100%;
196
+ left: 0;
197
+ right: 0;
198
+ border: 1px solid #ccc;
199
+ background-color: #fff;
200
+ z-index: 1000;
201
+ max-height: 230px;
202
+ overflow-y: auto;
203
+ display: block;
204
+ box-sizing: border-box;
205
+ padding: 10px 5px;
206
+ }
207
+
208
+ .dropdown-item {
209
+ padding: 6px 0px;
210
+ }
211
+
212
+ .dropdown-item:hover {
213
+ background-color: #f1f1f1;
214
+ }
215
+
216
+ .dropdown-item input[type="checkbox"] {
217
+ margin-right: 10px;
218
+ }
219
+
220
+ .custom-dropdown-menu {
221
+ border-radius: 4px;
222
+ box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
223
+ }
224
+
225
+ .custom-dropdown-item {
226
+ display: flex;
227
+ align-items: center;
228
+
229
+ }
230
+
231
+ .custom-dropdown-item input {
232
+ margin-left: 10px;
233
+ }
234
+
235
+ .btn-resize{
236
+ font-size: 13px !important;
237
+ height: 29px !important;
238
+ line-height: 11px !important;
239
+ padding: 3px !important;
240
+ }
241
+
242
+ .dropdown2 {
243
+ position: absolute;
244
+ top: 70px;
245
+ // right: 14.5%;
246
+ min-width: 270px !important;
247
+
248
+ .dropdown-title {
249
+ color: var(--Gray-900, #101828);
250
+ font-size: 14px;
251
+ font-weight: 600;
252
+ line-height: 24px
253
+ }
254
+
255
+ .dropdown {
256
+ position: relative;
257
+ display: inline-block;
258
+
259
+ span {
260
+ color: var(--Gray-700, #344054);
261
+ font-size: 14px;
262
+ font-weight: 600;
263
+ line-height: 20px;
264
+ }
265
+ }
266
+ }
267
+
268
+ // ::ng-deep .dropdown2{
269
+ // z-index: 1 !important;
270
+ // }
271
+ .form-check-label {
272
+ color: var(--Gray-700, #344054) !important;
273
+ font-size: 14px;
274
+ font-style: normal;
275
+ font-weight: 500;
276
+ line-height: 20px;
277
+ }
278
+
279
+ input[type='checkbox'] {
280
+ width: 16px !important;
281
+ height: 16px !important;
282
+ margin: 0px 5px;
283
+ border-radius: 4px !important;
284
+ -webkit-appearance: none;
285
+ -moz-appearance: none;
286
+ -o-appearance: none;
287
+ appearance: none;
288
+ outline: 1px solid var(--gray-300, #D0D5DD);
289
+ box-shadow: none;
290
+ font-size: 0.8em;
291
+ text-align: center;
292
+ line-height: 1em;
293
+ background: white;
294
+ }
295
+
296
+ input[type='checkbox']:checked {
297
+ outline: 1px solid var(--primary-600, #00A3FF);
298
+ background-color: var(--primary-50, #EAF8FF);
299
+ }
300
+
301
+ input[type='checkbox']:checked:after {
302
+ content: '';
303
+ transform: rotate(45deg);
304
+ border-bottom: 2px solid #00A3FF;
305
+ border-right: 2px solid #00A3FF;
306
+ display: inline-block;
307
+ width: 0.2em;
308
+ padding-left: 0px;
309
+ padding-top: 9px;
310
+ padding-right: 4px;
311
+ }
@@ -0,0 +1,23 @@
1
+ import { ComponentFixture, TestBed } from '@angular/core/testing';
2
+
3
+ import { MetricsHeaderComponent } from './metrics-header.component';
4
+
5
+ describe('MetricsHeaderComponent', () => {
6
+ let component: MetricsHeaderComponent;
7
+ let fixture: ComponentFixture<MetricsHeaderComponent>;
8
+
9
+ beforeEach(async () => {
10
+ await TestBed.configureTestingModule({
11
+ declarations: [MetricsHeaderComponent]
12
+ })
13
+ .compileComponents();
14
+
15
+ fixture = TestBed.createComponent(MetricsHeaderComponent);
16
+ component = fixture.componentInstance;
17
+ fixture.detectChanges();
18
+ });
19
+
20
+ it('should create', () => {
21
+ expect(component).toBeTruthy();
22
+ });
23
+ });