tango-app-ui-shared 3.7.3-dev6-demo7 → 3.7.3-dev6-demo8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (402) hide show
  1. package/esm2022/lib/guards/auth.guard.mjs +26 -0
  2. package/esm2022/lib/guards/lead.guard.mjs +16 -0
  3. package/esm2022/lib/guards/stores.guard.mjs +16 -0
  4. package/esm2022/lib/guards/tickets.guard.mjs +16 -0
  5. package/esm2022/lib/i18n/index.mjs +3 -0
  6. package/esm2022/lib/i18n/translation.module.mjs +17 -0
  7. package/esm2022/lib/i18n/translation.service.mjs +53 -0
  8. package/esm2022/lib/i18n/vocabs/ch.mjs +106 -0
  9. package/esm2022/lib/i18n/vocabs/de.mjs +106 -0
  10. package/esm2022/lib/i18n/vocabs/en.mjs +106 -0
  11. package/esm2022/lib/i18n/vocabs/es.mjs +106 -0
  12. package/esm2022/lib/i18n/vocabs/fr.mjs +106 -0
  13. package/esm2022/lib/i18n/vocabs/jp.mjs +106 -0
  14. package/esm2022/lib/interceptors/http-auth-interceptor.mjs +124 -0
  15. package/esm2022/lib/interfaces/global-state.mjs +2 -0
  16. package/esm2022/lib/modules/common/common-shared.module.mjs +31 -0
  17. package/esm2022/lib/modules/common/custom-select/custom-select.component.mjs +155 -0
  18. package/esm2022/lib/modules/common/filters/filters.component.mjs +179 -0
  19. package/esm2022/lib/modules/common/pagination/pagination.component.mjs +49 -0
  20. package/esm2022/lib/modules/errors/error403/error403.component.mjs +33 -0
  21. package/esm2022/lib/modules/errors/error404/error404.component.mjs +44 -0
  22. package/esm2022/lib/modules/errors/error500/error500.component.mjs +45 -0
  23. package/esm2022/lib/modules/errors/errors-routing.module.mjs +48 -0
  24. package/esm2022/lib/modules/errors/errors.component.mjs +39 -0
  25. package/esm2022/lib/modules/errors/errors.module.mjs +37 -0
  26. package/esm2022/lib/modules/errors/invalid-ip/invalid-ip.component.mjs +44 -0
  27. package/esm2022/lib/modules/intro/contact-support/contact-support.component.mjs +19 -0
  28. package/esm2022/lib/modules/intro/intro-routing.module.mjs +24 -0
  29. package/esm2022/lib/modules/intro/intro.module.mjs +32 -0
  30. package/esm2022/lib/modules/intro/lead-intro/lead-intro.component.mjs +110 -0
  31. package/esm2022/lib/modules/layout/components/csm-assign-confirmation/csm-assign-confirmation.component.mjs +31 -0
  32. package/esm2022/lib/modules/layout/content/content.component.mjs +107 -0
  33. package/esm2022/lib/modules/layout/footer/footer.component.mjs +17 -0
  34. package/esm2022/lib/modules/layout/header/header-menu/header-menu.component.mjs +41 -0
  35. package/esm2022/lib/modules/layout/header/header.component.mjs +100 -0
  36. package/esm2022/lib/modules/layout/header/navbar/navbar.component.mjs +256 -0
  37. package/esm2022/lib/modules/layout/header/notifications-inner/notifications-inner.component.mjs +79 -0
  38. package/esm2022/lib/modules/layout/header/page-title/page-title.component.mjs +56 -0
  39. package/esm2022/lib/modules/layout/keenicon/icons.json +1 -0
  40. package/esm2022/lib/modules/layout/keenicon/keenicon.component.mjs +37 -0
  41. package/esm2022/lib/modules/layout/layout/layout.component.mjs +314 -0
  42. package/esm2022/lib/modules/layout/layout.module.mjs +198 -0
  43. package/esm2022/lib/modules/layout/scripts-init/scripts-init.component.mjs +74 -0
  44. package/esm2022/lib/modules/layout/scroll-top/scroll-top.component.mjs +74 -0
  45. package/esm2022/lib/modules/layout/sidebar/sidebar-footer/sidebar-footer.component.mjs +159 -0
  46. package/esm2022/lib/modules/layout/sidebar/sidebar-logo/sidebar-logo.component.mjs +45 -0
  47. package/esm2022/lib/modules/layout/sidebar/sidebar-menu/sidebar-menu.component.mjs +122 -0
  48. package/esm2022/lib/modules/layout/sidebar/sidebar.component.mjs +134 -0
  49. package/esm2022/lib/modules/layout/toolbar/accounting/accounting.component.mjs +16 -0
  50. package/esm2022/lib/modules/layout/toolbar/classic/classic.component.mjs +331 -0
  51. package/esm2022/lib/modules/layout/toolbar/client-settings/client-settings.component.mjs +88 -0
  52. package/esm2022/lib/modules/layout/toolbar/date-single-select/date-single-select.component.mjs +207 -0
  53. package/esm2022/lib/modules/layout/toolbar/datepicker/datepicker.component.mjs +158 -0
  54. package/esm2022/lib/modules/layout/toolbar/extended/extended.component.mjs +15 -0
  55. package/esm2022/lib/modules/layout/toolbar/metrics-header/metrics-header.component.mjs +1321 -0
  56. package/esm2022/lib/modules/layout/toolbar/reports/reports.component.mjs +18 -0
  57. package/esm2022/lib/modules/layout/toolbar/saas/saas.component.mjs +18 -0
  58. package/esm2022/lib/modules/layout/toolbar/single-clientstore-date/single-clientstore-date.component.mjs +216 -0
  59. package/esm2022/lib/modules/layout/toolbar/single-store/single-store.component.mjs +178 -0
  60. package/esm2022/lib/modules/layout/toolbar/single-storedate/single-storedate.component.mjs +166 -0
  61. package/esm2022/lib/modules/layout/toolbar/storesingle/storesingle.component.mjs +105 -0
  62. package/esm2022/lib/modules/layout/toolbar/toolbar.component.mjs +372 -0
  63. package/esm2022/lib/modules/layout/toolbar/traffic-header/traffic-header/traffic-header.component.mjs +1062 -0
  64. package/esm2022/lib/modules/layout/toolbar/traffic-nob/traffic-nob.component.mjs +795 -0
  65. package/esm2022/lib/modules/layout/toolbar/trax-header/trax-header.component.mjs +880 -0
  66. package/esm2022/lib/modules/layout/toolbar/trax-withoutdate/trax-withoutdate.component.mjs +729 -0
  67. package/esm2022/lib/modules/layout/toolbar/zone-header/zone-header.component.mjs +1100 -0
  68. package/esm2022/lib/modules/notification/conformation/conformation.component.mjs +22 -0
  69. package/esm2022/lib/modules/notification/notification/notification.component.mjs +317 -0
  70. package/esm2022/lib/modules/notification/notification-routing.module.mjs +28 -0
  71. package/esm2022/lib/modules/notification/notification.module.mjs +32 -0
  72. package/esm2022/lib/pipes/customDate.pipe.mjs +22 -0
  73. package/esm2022/lib/routes/route-wraper-modules/edge-wrapper.module.mjs +18 -0
  74. package/esm2022/lib/routes/route-wraper-modules/manage-wrapper.module.mjs +18 -0
  75. package/esm2022/lib/routes/route-wraper-modules/profile-wrapper.module.mjs +18 -0
  76. package/esm2022/lib/routes/route-wraper-modules/store-wrapper.module.mjs +18 -0
  77. package/esm2022/lib/routes/route-wraper-modules/ticket-wrapper.module.mjs +18 -0
  78. package/esm2022/lib/routes/routing.mjs +53 -0
  79. package/esm2022/lib/services/auth.service.mjs +141 -0
  80. package/esm2022/lib/services/notification.service.mjs +74 -0
  81. package/esm2022/lib/services/toast.service.mjs +83 -0
  82. package/esm2022/public-api.mjs +56 -0
  83. package/esm2022/tango-app-ui-shared.mjs +5 -0
  84. package/fesm2022/tango-app-ui-shared-edge-wrapper.module-CFDk0tvS.mjs +21 -0
  85. package/fesm2022/tango-app-ui-shared-edge-wrapper.module-CFDk0tvS.mjs.map +1 -0
  86. package/fesm2022/tango-app-ui-shared-intro.module-DYh4ZRha.mjs +188 -0
  87. package/fesm2022/tango-app-ui-shared-intro.module-DYh4ZRha.mjs.map +1 -0
  88. package/fesm2022/tango-app-ui-shared-manage-wrapper.module-BHyh4Njw.mjs +21 -0
  89. package/fesm2022/tango-app-ui-shared-manage-wrapper.module-BHyh4Njw.mjs.map +1 -0
  90. package/fesm2022/tango-app-ui-shared-notification.module-C5ZmCf8U.mjs +400 -0
  91. package/fesm2022/tango-app-ui-shared-notification.module-C5ZmCf8U.mjs.map +1 -0
  92. package/fesm2022/tango-app-ui-shared-profile-wrapper.module-BNC1AGOk.mjs +21 -0
  93. package/fesm2022/tango-app-ui-shared-profile-wrapper.module-BNC1AGOk.mjs.map +1 -0
  94. package/fesm2022/tango-app-ui-shared-store-wrapper.module-DdaCYHdv.mjs +21 -0
  95. package/fesm2022/tango-app-ui-shared-store-wrapper.module-DdaCYHdv.mjs.map +1 -0
  96. package/fesm2022/tango-app-ui-shared-ticket-wrapper.module-r32uKkDO.mjs +21 -0
  97. package/fesm2022/tango-app-ui-shared-ticket-wrapper.module-r32uKkDO.mjs.map +1 -0
  98. package/fesm2022/tango-app-ui-shared.mjs +12450 -0
  99. package/fesm2022/tango-app-ui-shared.mjs.map +1 -0
  100. package/index.d.ts +5 -0
  101. package/lib/guards/auth.guard.d.ts +10 -0
  102. package/lib/guards/lead.guard.d.ts +2 -0
  103. package/lib/guards/stores.guard.d.ts +2 -0
  104. package/lib/guards/tickets.guard.d.ts +2 -0
  105. package/{src/lib/i18n/index.ts → lib/i18n/index.d.ts} +2 -2
  106. package/lib/i18n/translation.module.d.ts +8 -0
  107. package/lib/i18n/translation.service.d.ts +19 -0
  108. package/lib/i18n/vocabs/ch.d.ts +104 -0
  109. package/lib/i18n/vocabs/de.d.ts +104 -0
  110. package/lib/i18n/vocabs/en.d.ts +104 -0
  111. package/lib/i18n/vocabs/es.d.ts +104 -0
  112. package/lib/i18n/vocabs/fr.d.ts +104 -0
  113. package/lib/i18n/vocabs/jp.d.ts +104 -0
  114. package/lib/interceptors/http-auth-interceptor.d.ts +19 -0
  115. package/lib/interfaces/global-state.d.ts +5 -0
  116. package/lib/modules/common/common-shared.module.d.ts +13 -0
  117. package/lib/modules/common/custom-select/custom-select.component.d.ts +33 -0
  118. package/lib/modules/common/filters/filters.component.d.ts +38 -0
  119. package/lib/modules/common/pagination/pagination.component.d.ts +18 -0
  120. package/lib/modules/errors/error403/error403.component.d.ts +14 -0
  121. package/lib/modules/errors/error404/error404.component.d.ts +15 -0
  122. package/lib/modules/errors/error500/error500.component.d.ts +15 -0
  123. package/lib/modules/errors/errors-routing.module.d.ts +7 -0
  124. package/lib/modules/errors/errors.component.d.ts +13 -0
  125. package/lib/modules/errors/errors.module.d.ts +13 -0
  126. package/lib/modules/errors/invalid-ip/invalid-ip.component.d.ts +17 -0
  127. package/lib/modules/intro/contact-support/contact-support.component.d.ts +9 -0
  128. package/lib/modules/intro/intro-routing.module.d.ts +7 -0
  129. package/lib/modules/intro/intro.module.d.ts +11 -0
  130. package/lib/modules/intro/lead-intro/lead-intro.component.d.ts +31 -0
  131. package/lib/modules/layout/components/csm-assign-confirmation/csm-assign-confirmation.component.d.ts +13 -0
  132. package/lib/modules/layout/content/content.component.d.ts +25 -0
  133. package/lib/modules/layout/footer/footer.component.d.ts +8 -0
  134. package/lib/modules/layout/header/header-menu/header-menu.component.d.ts +18 -0
  135. package/lib/modules/layout/header/header.component.d.ts +30 -0
  136. package/lib/modules/layout/header/navbar/navbar.component.d.ts +45 -0
  137. package/lib/modules/layout/header/notifications-inner/notifications-inner.component.d.ts +25 -0
  138. package/lib/modules/layout/header/page-title/page-title.component.d.ts +23 -0
  139. package/lib/modules/layout/keenicon/keenicon.component.d.ts +13 -0
  140. package/lib/modules/layout/layout/layout.component.d.ts +82 -0
  141. package/lib/modules/layout/layout.module.d.ts +50 -0
  142. package/lib/modules/layout/scripts-init/scripts-init.component.d.ts +19 -0
  143. package/lib/modules/layout/scroll-top/scroll-top.component.d.ts +19 -0
  144. package/lib/modules/layout/sidebar/sidebar-footer/sidebar-footer.component.d.ts +45 -0
  145. package/lib/modules/layout/sidebar/sidebar-logo/sidebar-logo.component.d.ts +19 -0
  146. package/lib/modules/layout/sidebar/sidebar-menu/sidebar-menu.component.d.ts +26 -0
  147. package/lib/modules/layout/sidebar/sidebar.component.d.ts +36 -0
  148. package/lib/modules/layout/toolbar/accounting/accounting.component.d.ts +8 -0
  149. package/lib/modules/layout/toolbar/classic/classic.component.d.ts +48 -0
  150. package/lib/modules/layout/toolbar/client-settings/client-settings.component.d.ts +16 -0
  151. package/lib/modules/layout/toolbar/date-single-select/date-single-select.component.d.ts +28 -0
  152. package/lib/modules/layout/toolbar/datepicker/datepicker.component.d.ts +28 -0
  153. package/lib/modules/layout/toolbar/extended/extended.component.d.ts +8 -0
  154. package/lib/modules/layout/toolbar/metrics-header/metrics-header.component.d.ts +103 -0
  155. package/lib/modules/layout/toolbar/reports/reports.component.d.ts +9 -0
  156. package/lib/modules/layout/toolbar/saas/saas.component.d.ts +9 -0
  157. package/lib/modules/layout/toolbar/single-clientstore-date/single-clientstore-date.component.d.ts +32 -0
  158. package/lib/modules/layout/toolbar/single-store/single-store.component.d.ts +33 -0
  159. package/lib/modules/layout/toolbar/single-storedate/single-storedate.component.d.ts +34 -0
  160. package/lib/modules/layout/toolbar/storesingle/storesingle.component.d.ts +24 -0
  161. package/lib/modules/layout/toolbar/toolbar.component.d.ts +57 -0
  162. package/lib/modules/layout/toolbar/traffic-header/traffic-header/traffic-header.component.d.ts +93 -0
  163. package/lib/modules/layout/toolbar/traffic-nob/traffic-nob.component.d.ts +80 -0
  164. package/lib/modules/layout/toolbar/trax-header/trax-header.component.d.ts +83 -0
  165. package/lib/modules/layout/toolbar/trax-withoutdate/trax-withoutdate.component.d.ts +74 -0
  166. package/lib/modules/layout/toolbar/zone-header/zone-header.component.d.ts +97 -0
  167. package/lib/modules/notification/conformation/conformation.component.d.ts +10 -0
  168. package/lib/modules/notification/notification/notification.component.d.ts +63 -0
  169. package/lib/modules/notification/notification-routing.module.d.ts +7 -0
  170. package/lib/modules/notification/notification.module.d.ts +11 -0
  171. package/lib/pipes/customDate.pipe.d.ts +7 -0
  172. package/lib/routes/route-wraper-modules/edge-wrapper.module.d.ts +7 -0
  173. package/lib/routes/route-wraper-modules/manage-wrapper.module.d.ts +7 -0
  174. package/lib/routes/route-wraper-modules/profile-wrapper.module.d.ts +7 -0
  175. package/lib/routes/route-wraper-modules/store-wrapper.module.d.ts +7 -0
  176. package/lib/routes/route-wraper-modules/ticket-wrapper.module.d.ts +7 -0
  177. package/lib/routes/routing.d.ts +3 -0
  178. package/lib/services/auth.service.d.ts +49 -0
  179. package/lib/services/notification.service.d.ts +30 -0
  180. package/lib/services/toast.service.d.ts +10 -0
  181. package/package.json +25 -12
  182. package/{src/public-api.ts → public-api.d.ts} +44 -71
  183. package/.eslintrc.json +0 -37
  184. package/ng-package.json +0 -7
  185. package/src/lib/guards/auth.guard.ts +0 -20
  186. package/src/lib/guards/lead.guard.ts +0 -16
  187. package/src/lib/guards/stores.guard.ts +0 -16
  188. package/src/lib/guards/tickets.guard.ts +0 -16
  189. package/src/lib/i18n/translation.module.ts +0 -9
  190. package/src/lib/i18n/translation.service.ts +0 -61
  191. package/src/lib/i18n/vocabs/ch.ts +0 -105
  192. package/src/lib/i18n/vocabs/de.ts +0 -105
  193. package/src/lib/i18n/vocabs/en.ts +0 -105
  194. package/src/lib/i18n/vocabs/es.ts +0 -105
  195. package/src/lib/i18n/vocabs/fr.ts +0 -105
  196. package/src/lib/i18n/vocabs/jp.ts +0 -105
  197. package/src/lib/interceptors/http-auth-interceptor.ts +0 -225
  198. package/src/lib/interfaces/global-state.ts +0 -6
  199. package/src/lib/modules/common/common-shared.module.ts +0 -20
  200. package/src/lib/modules/common/custom-select/custom-select.component.html +0 -42
  201. package/src/lib/modules/common/custom-select/custom-select.component.scss +0 -131
  202. package/src/lib/modules/common/custom-select/custom-select.component.spec.ts +0 -23
  203. package/src/lib/modules/common/custom-select/custom-select.component.ts +0 -149
  204. package/src/lib/modules/common/filters/filters.component.html +0 -76
  205. package/src/lib/modules/common/filters/filters.component.scss +0 -131
  206. package/src/lib/modules/common/filters/filters.component.spec.ts +0 -23
  207. package/src/lib/modules/common/filters/filters.component.ts +0 -181
  208. package/src/lib/modules/common/pagination/pagination.component.html +0 -26
  209. package/src/lib/modules/common/pagination/pagination.component.scss +0 -63
  210. package/src/lib/modules/common/pagination/pagination.component.spec.ts +0 -23
  211. package/src/lib/modules/common/pagination/pagination.component.ts +0 -46
  212. package/src/lib/modules/errors/error403/error403.component.html +0 -25
  213. package/src/lib/modules/errors/error403/error403.component.scss +0 -0
  214. package/src/lib/modules/errors/error403/error403.component.spec.ts +0 -23
  215. package/src/lib/modules/errors/error403/error403.component.ts +0 -28
  216. package/src/lib/modules/errors/error404/error404.component.html +0 -24
  217. package/src/lib/modules/errors/error404/error404.component.scss +0 -0
  218. package/src/lib/modules/errors/error404/error404.component.spec.ts +0 -25
  219. package/src/lib/modules/errors/error404/error404.component.ts +0 -50
  220. package/src/lib/modules/errors/error500/error500.component.html +0 -24
  221. package/src/lib/modules/errors/error500/error500.component.scss +0 -0
  222. package/src/lib/modules/errors/error500/error500.component.spec.ts +0 -25
  223. package/src/lib/modules/errors/error500/error500.component.ts +0 -50
  224. package/src/lib/modules/errors/errors-routing.module.ts +0 -40
  225. package/src/lib/modules/errors/errors.component.html +0 -15
  226. package/src/lib/modules/errors/errors.component.scss +0 -4
  227. package/src/lib/modules/errors/errors.component.spec.ts +0 -25
  228. package/src/lib/modules/errors/errors.component.ts +0 -42
  229. package/src/lib/modules/errors/errors.module.ts +0 -25
  230. package/src/lib/modules/errors/invalid-ip/invalid-ip.component.html +0 -16
  231. package/src/lib/modules/errors/invalid-ip/invalid-ip.component.scss +0 -0
  232. package/src/lib/modules/errors/invalid-ip/invalid-ip.component.spec.ts +0 -23
  233. package/src/lib/modules/errors/invalid-ip/invalid-ip.component.ts +0 -43
  234. package/src/lib/modules/intro/contact-support/contact-support.component.html +0 -30
  235. package/src/lib/modules/intro/contact-support/contact-support.component.scss +0 -60
  236. package/src/lib/modules/intro/contact-support/contact-support.component.spec.ts +0 -23
  237. package/src/lib/modules/intro/contact-support/contact-support.component.ts +0 -17
  238. package/src/lib/modules/intro/intro-routing.module.ts +0 -16
  239. package/src/lib/modules/intro/intro.module.ts +0 -21
  240. package/src/lib/modules/intro/lead-intro/lead-intro.component.html +0 -325
  241. package/src/lib/modules/intro/lead-intro/lead-intro.component.scss +0 -185
  242. package/src/lib/modules/intro/lead-intro/lead-intro.component.spec.ts +0 -23
  243. package/src/lib/modules/intro/lead-intro/lead-intro.component.ts +0 -120
  244. package/src/lib/modules/layout/components/csm-assign-confirmation/csm-assign-confirmation.component.html +0 -44
  245. package/src/lib/modules/layout/components/csm-assign-confirmation/csm-assign-confirmation.component.scss +0 -28
  246. package/src/lib/modules/layout/components/csm-assign-confirmation/csm-assign-confirmation.component.spec.ts +0 -23
  247. package/src/lib/modules/layout/components/csm-assign-confirmation/csm-assign-confirmation.component.ts +0 -24
  248. package/src/lib/modules/layout/content/content.component.html +0 -12
  249. package/src/lib/modules/layout/content/content.component.scss +0 -0
  250. package/src/lib/modules/layout/content/content.component.ts +0 -102
  251. package/src/lib/modules/layout/footer/footer.component.html +0 -29
  252. package/src/lib/modules/layout/footer/footer.component.scss +0 -7
  253. package/src/lib/modules/layout/footer/footer.component.spec.ts +0 -25
  254. package/src/lib/modules/layout/footer/footer.component.ts +0 -13
  255. package/src/lib/modules/layout/header/header-menu/header-menu.component.html +0 -27
  256. package/src/lib/modules/layout/header/header-menu/header-menu.component.scss +0 -4
  257. package/src/lib/modules/layout/header/header-menu/header-menu.component.spec.ts +0 -25
  258. package/src/lib/modules/layout/header/header-menu/header-menu.component.ts +0 -38
  259. package/src/lib/modules/layout/header/header.component.html +0 -90
  260. package/src/lib/modules/layout/header/header.component.scss +0 -7
  261. package/src/lib/modules/layout/header/header.component.spec.ts +0 -25
  262. package/src/lib/modules/layout/header/header.component.ts +0 -139
  263. package/src/lib/modules/layout/header/navbar/navbar.component.html +0 -156
  264. package/src/lib/modules/layout/header/navbar/navbar.component.scss +0 -223
  265. package/src/lib/modules/layout/header/navbar/navbar.component.spec.ts +0 -23
  266. package/src/lib/modules/layout/header/navbar/navbar.component.ts +0 -255
  267. package/src/lib/modules/layout/header/notifications-inner/notifications-inner.component.html +0 -200
  268. package/src/lib/modules/layout/header/notifications-inner/notifications-inner.component.scss +0 -139
  269. package/src/lib/modules/layout/header/notifications-inner/notifications-inner.component.ts +0 -76
  270. package/src/lib/modules/layout/header/page-title/page-title.component.html +0 -32
  271. package/src/lib/modules/layout/header/page-title/page-title.component.scss +0 -11
  272. package/src/lib/modules/layout/header/page-title/page-title.component.ts +0 -47
  273. package/src/lib/modules/layout/keenicon/icons.json +0 -1
  274. package/src/lib/modules/layout/keenicon/keenicon.component.html +0 -4
  275. package/src/lib/modules/layout/keenicon/keenicon.component.scss +0 -0
  276. package/src/lib/modules/layout/keenicon/keenicon.component.spec.ts +0 -23
  277. package/src/lib/modules/layout/keenicon/keenicon.component.ts +0 -30
  278. package/src/lib/modules/layout/layout/layout.component.html +0 -71
  279. package/src/lib/modules/layout/layout/layout.component.scss +0 -23
  280. package/src/lib/modules/layout/layout/layout.component.ts +0 -425
  281. package/src/lib/modules/layout/layout.module.ts +0 -129
  282. package/src/lib/modules/layout/scripts-init/scripts-init.component.html +0 -0
  283. package/src/lib/modules/layout/scripts-init/scripts-init.component.ts +0 -81
  284. package/src/lib/modules/layout/scroll-top/scroll-top.component.html +0 -1
  285. package/src/lib/modules/layout/scroll-top/scroll-top.component.ts +0 -75
  286. package/src/lib/modules/layout/sidebar/sidebar-footer/sidebar-footer.component.html +0 -70
  287. package/src/lib/modules/layout/sidebar/sidebar-footer/sidebar-footer.component.scss +0 -57
  288. package/src/lib/modules/layout/sidebar/sidebar-footer/sidebar-footer.component.spec.ts +0 -23
  289. package/src/lib/modules/layout/sidebar/sidebar-footer/sidebar-footer.component.ts +0 -136
  290. package/src/lib/modules/layout/sidebar/sidebar-logo/sidebar-logo.component.html +0 -26
  291. package/src/lib/modules/layout/sidebar/sidebar-logo/sidebar-logo.component.scss +0 -0
  292. package/src/lib/modules/layout/sidebar/sidebar-logo/sidebar-logo.component.spec.ts +0 -23
  293. package/src/lib/modules/layout/sidebar/sidebar-logo/sidebar-logo.component.ts +0 -36
  294. package/src/lib/modules/layout/sidebar/sidebar-menu/sidebar-menu.component.html +0 -761
  295. package/src/lib/modules/layout/sidebar/sidebar-menu/sidebar-menu.component.scss +0 -38
  296. package/src/lib/modules/layout/sidebar/sidebar-menu/sidebar-menu.component.spec.ts +0 -23
  297. package/src/lib/modules/layout/sidebar/sidebar-menu/sidebar-menu.component.ts +0 -130
  298. package/src/lib/modules/layout/sidebar/sidebar.component.html +0 -16
  299. package/src/lib/modules/layout/sidebar/sidebar.component.scss +0 -3
  300. package/src/lib/modules/layout/sidebar/sidebar.component.spec.ts +0 -23
  301. package/src/lib/modules/layout/sidebar/sidebar.component.ts +0 -203
  302. package/src/lib/modules/layout/toolbar/accounting/accounting.component.html +0 -84
  303. package/src/lib/modules/layout/toolbar/accounting/accounting.component.scss +0 -0
  304. package/src/lib/modules/layout/toolbar/accounting/accounting.component.spec.ts +0 -23
  305. package/src/lib/modules/layout/toolbar/accounting/accounting.component.ts +0 -14
  306. package/src/lib/modules/layout/toolbar/classic/classic.component.html +0 -69
  307. package/src/lib/modules/layout/toolbar/classic/classic.component.scss +0 -238
  308. package/src/lib/modules/layout/toolbar/classic/classic.component.spec.ts +0 -23
  309. package/src/lib/modules/layout/toolbar/classic/classic.component.ts +0 -389
  310. package/src/lib/modules/layout/toolbar/client-settings/client-settings.component.html +0 -4
  311. package/src/lib/modules/layout/toolbar/client-settings/client-settings.component.scss +0 -3
  312. package/src/lib/modules/layout/toolbar/client-settings/client-settings.component.spec.ts +0 -23
  313. package/src/lib/modules/layout/toolbar/client-settings/client-settings.component.ts +0 -91
  314. package/src/lib/modules/layout/toolbar/date-single-select/date-single-select.component.html +0 -22
  315. package/src/lib/modules/layout/toolbar/date-single-select/date-single-select.component.scss +0 -156
  316. package/src/lib/modules/layout/toolbar/date-single-select/date-single-select.component.spec.ts +0 -23
  317. package/src/lib/modules/layout/toolbar/date-single-select/date-single-select.component.ts +0 -238
  318. package/src/lib/modules/layout/toolbar/datepicker/datepicker.component.html +0 -14
  319. package/src/lib/modules/layout/toolbar/datepicker/datepicker.component.scss +0 -149
  320. package/src/lib/modules/layout/toolbar/datepicker/datepicker.component.spec.ts +0 -23
  321. package/src/lib/modules/layout/toolbar/datepicker/datepicker.component.ts +0 -183
  322. package/src/lib/modules/layout/toolbar/extended/extended.component.html +0 -100
  323. package/src/lib/modules/layout/toolbar/extended/extended.component.scss +0 -0
  324. package/src/lib/modules/layout/toolbar/extended/extended.component.spec.ts +0 -23
  325. package/src/lib/modules/layout/toolbar/extended/extended.component.ts +0 -12
  326. package/src/lib/modules/layout/toolbar/metrics-header/metrics-header.component.html +0 -311
  327. package/src/lib/modules/layout/toolbar/metrics-header/metrics-header.component.scss +0 -311
  328. package/src/lib/modules/layout/toolbar/metrics-header/metrics-header.component.spec.ts +0 -23
  329. package/src/lib/modules/layout/toolbar/metrics-header/metrics-header.component.ts +0 -1555
  330. package/src/lib/modules/layout/toolbar/reports/reports.component.html +0 -62
  331. package/src/lib/modules/layout/toolbar/reports/reports.component.scss +0 -0
  332. package/src/lib/modules/layout/toolbar/reports/reports.component.spec.ts +0 -23
  333. package/src/lib/modules/layout/toolbar/reports/reports.component.ts +0 -14
  334. package/src/lib/modules/layout/toolbar/saas/saas.component.html +0 -77
  335. package/src/lib/modules/layout/toolbar/saas/saas.component.scss +0 -0
  336. package/src/lib/modules/layout/toolbar/saas/saas.component.spec.ts +0 -23
  337. package/src/lib/modules/layout/toolbar/saas/saas.component.ts +0 -14
  338. package/src/lib/modules/layout/toolbar/single-clientstore-date/single-clientstore-date.component.html +0 -26
  339. package/src/lib/modules/layout/toolbar/single-clientstore-date/single-clientstore-date.component.scss +0 -176
  340. package/src/lib/modules/layout/toolbar/single-clientstore-date/single-clientstore-date.component.spec.ts +0 -23
  341. package/src/lib/modules/layout/toolbar/single-clientstore-date/single-clientstore-date.component.ts +0 -235
  342. package/src/lib/modules/layout/toolbar/single-store/single-store.component.html +0 -39
  343. package/src/lib/modules/layout/toolbar/single-store/single-store.component.scss +0 -176
  344. package/src/lib/modules/layout/toolbar/single-store/single-store.component.spec.ts +0 -23
  345. package/src/lib/modules/layout/toolbar/single-store/single-store.component.ts +0 -188
  346. package/src/lib/modules/layout/toolbar/single-storedate/single-storedate.component.html +0 -17
  347. package/src/lib/modules/layout/toolbar/single-storedate/single-storedate.component.scss +0 -172
  348. package/src/lib/modules/layout/toolbar/single-storedate/single-storedate.component.spec.ts +0 -23
  349. package/src/lib/modules/layout/toolbar/single-storedate/single-storedate.component.ts +0 -179
  350. package/src/lib/modules/layout/toolbar/storesingle/storesingle.component.html +0 -4
  351. package/src/lib/modules/layout/toolbar/storesingle/storesingle.component.scss +0 -19
  352. package/src/lib/modules/layout/toolbar/storesingle/storesingle.component.spec.ts +0 -23
  353. package/src/lib/modules/layout/toolbar/storesingle/storesingle.component.ts +0 -105
  354. package/src/lib/modules/layout/toolbar/toolbar.component.html +0 -64
  355. package/src/lib/modules/layout/toolbar/toolbar.component.scss +0 -0
  356. package/src/lib/modules/layout/toolbar/toolbar.component.spec.ts +0 -25
  357. package/src/lib/modules/layout/toolbar/toolbar.component.ts +0 -400
  358. package/src/lib/modules/layout/toolbar/traffic-header/traffic-header/traffic-header.component.html +0 -259
  359. package/src/lib/modules/layout/toolbar/traffic-header/traffic-header/traffic-header.component.scss +0 -305
  360. package/src/lib/modules/layout/toolbar/traffic-header/traffic-header/traffic-header.component.spec.ts +0 -23
  361. package/src/lib/modules/layout/toolbar/traffic-header/traffic-header/traffic-header.component.ts +0 -1202
  362. package/src/lib/modules/layout/toolbar/traffic-nob/traffic-nob.component.html +0 -199
  363. package/src/lib/modules/layout/toolbar/traffic-nob/traffic-nob.component.scss +0 -311
  364. package/src/lib/modules/layout/toolbar/traffic-nob/traffic-nob.component.spec.ts +0 -23
  365. package/src/lib/modules/layout/toolbar/traffic-nob/traffic-nob.component.ts +0 -899
  366. package/src/lib/modules/layout/toolbar/trax-header/trax-header.component.html +0 -204
  367. package/src/lib/modules/layout/toolbar/trax-header/trax-header.component.scss +0 -311
  368. package/src/lib/modules/layout/toolbar/trax-header/trax-header.component.spec.ts +0 -23
  369. package/src/lib/modules/layout/toolbar/trax-header/trax-header.component.ts +0 -1045
  370. package/src/lib/modules/layout/toolbar/trax-withoutdate/trax-withoutdate.component.html +0 -190
  371. package/src/lib/modules/layout/toolbar/trax-withoutdate/trax-withoutdate.component.scss +0 -311
  372. package/src/lib/modules/layout/toolbar/trax-withoutdate/trax-withoutdate.component.spec.ts +0 -23
  373. package/src/lib/modules/layout/toolbar/trax-withoutdate/trax-withoutdate.component.ts +0 -825
  374. package/src/lib/modules/layout/toolbar/zone-header/zone-header.component.html +0 -259
  375. package/src/lib/modules/layout/toolbar/zone-header/zone-header.component.scss +0 -305
  376. package/src/lib/modules/layout/toolbar/zone-header/zone-header.component.spec.ts +0 -23
  377. package/src/lib/modules/layout/toolbar/zone-header/zone-header.component.ts +0 -1242
  378. package/src/lib/modules/notification/conformation/conformation.component.html +0 -25
  379. package/src/lib/modules/notification/conformation/conformation.component.scss +0 -0
  380. package/src/lib/modules/notification/conformation/conformation.component.spec.ts +0 -23
  381. package/src/lib/modules/notification/conformation/conformation.component.ts +0 -23
  382. package/src/lib/modules/notification/notification/notification.component.html +0 -209
  383. package/src/lib/modules/notification/notification/notification.component.scss +0 -211
  384. package/src/lib/modules/notification/notification/notification.component.spec.ts +0 -23
  385. package/src/lib/modules/notification/notification/notification.component.ts +0 -310
  386. package/src/lib/modules/notification/notification-routing.module.ts +0 -20
  387. package/src/lib/modules/notification/notification.module.ts +0 -21
  388. package/src/lib/pipes/customDate.pipe.ts +0 -18
  389. package/src/lib/routes/route-wraper-modules/analyse-wrapper.module.ts +0 -12
  390. package/src/lib/routes/route-wraper-modules/edge-wrapper.module.ts +0 -11
  391. package/src/lib/routes/route-wraper-modules/manage-wrapper.module.ts +0 -11
  392. package/src/lib/routes/route-wraper-modules/profile-wrapper.module.ts +0 -12
  393. package/src/lib/routes/route-wraper-modules/store-wrapper.module.ts +0 -11
  394. package/src/lib/routes/route-wraper-modules/ticket-wrapper.module.ts +0 -10
  395. package/src/lib/routes/routing.ts +0 -56
  396. package/src/lib/services/auth.service.ts +0 -178
  397. package/src/lib/services/notification.service.spec.ts +0 -16
  398. package/src/lib/services/notification.service.ts +0 -73
  399. package/src/lib/services/toast.service.ts +0 -82
  400. package/tsconfig.lib.json +0 -14
  401. package/tsconfig.lib.prod.json +0 -10
  402. package/tsconfig.spec.json +0 -14
@@ -1,255 +0,0 @@
1
- import { ChangeDetectorRef, Component, HostListener, Input, OnDestroy, OnInit } from '@angular/core';
2
- import { NotificationService } from '../../../../services/notification.service';
3
- import { Subscription,filter } from 'rxjs';
4
- import { Router,ActivatedRoute,NavigationEnd } from '@angular/router';
5
- import { Subject, takeUntil } from "rxjs";
6
- import { ToastService } from '../../../../services/toast.service';
7
- import { trigger, state, style, transition, animate } from '@angular/animations';
8
- const enterTransition = transition(':enter', [
9
- style({
10
- opacity: 0,
11
- // transform: 'translateX(50px)'
12
- }),
13
- animate('1s ease-in', style({
14
- opacity: 1
15
- }))
16
- ]);
17
-
18
- const leaveTrans = transition(':leave', [
19
- style({
20
- opacity: 1,
21
- // transform: 'translateX(-50px)'
22
- }),
23
- animate('1s ease-out', style({
24
- opacity: 0,
25
- }))
26
- ])
27
-
28
- const fadeIn = trigger('fadeIn', [
29
- enterTransition
30
- ]);
31
-
32
- const fadeOut = trigger('fadeOut', [
33
- leaveTrans
34
- ])
35
- @Component({
36
- selector: 'lib-navbar',
37
- templateUrl: './navbar.component.html',
38
- styleUrls: ['./navbar.component.scss'],
39
- animations: [
40
- fadeIn,
41
- fadeOut
42
-
43
- ]
44
- })
45
- export class NavbarComponent implements OnInit,OnDestroy {
46
- @Input() appHeaderDefaulMenuDisplay: boolean;
47
- @Input() isRtl: boolean;
48
- private readonly destroy$ = new Subject();
49
-
50
- itemClass: string = 'ms-1 ms-lg-3';
51
- btnClass: string = 'btn btn-icon btn-custom btn-icon-muted btn-active-light btn-active-color-primary w-35px h-35px w-md-40px h-md-40px';
52
- btnClass1: string;
53
- userAvatarClass: string = 'symbol-35px symbol-md-40px';
54
- btnIconClass: string = 'fs-2 fs-md-1';
55
- notificationReceived: boolean = false;
56
- notification:any = [];
57
- pushNotificationList:any = [];
58
- activeTabId:string = 'alerts';
59
- loading:boolean = true;
60
- noData:boolean = false;
61
- url:any;
62
- showNotification:boolean = true;
63
- showDropdown:boolean = false;
64
-
65
- private subscription: Subscription;
66
- notificationDropDownClass: boolean = true;
67
-
68
- constructor(private service:NotificationService,private router:Router,private toast:ToastService,private cd:ChangeDetectorRef) {
69
-
70
- }
71
-
72
- ngOnDestroy(): void {
73
- this.destroy$.next(true);
74
- this.destroy$.complete();
75
- }
76
-
77
- ngOnInit(): void {
78
- this.router.events.pipe(filter(event => event instanceof NavigationEnd),takeUntil(this.destroy$)).subscribe(() => {
79
- this.showNotificationIcon();
80
- });
81
- this.showNotificationIcon();
82
-
83
- }
84
-
85
- showNotificationIcon () {
86
- let url = this.router.url.split('/');
87
- if(url.includes('notifications')) {
88
- this.showNotification = false;
89
- }
90
- else {
91
- this.showNotification = true;
92
- }
93
- this.notificationList();
94
- }
95
-
96
- toggleUserDropDown() {
97
- this.notificationDropDownClass = !this.notificationDropDownClass;
98
- }
99
- setActiveTabId(tabId: any) {
100
- this.activeTabId = tabId;
101
- }
102
-
103
- notificationList() {
104
- this.pushNotificationList = [];
105
- this.loading = true;
106
- let data = {
107
- limit: 10,
108
- offset: 1
109
- };
110
- this.service.notificationList(data)
111
- .pipe(takeUntil(this.destroy$))
112
- .subscribe({
113
- next: (res: any) => {
114
- if (res && res.code == 200) {
115
- this.loading = false;
116
- this.noData = false;
117
- this.notification = res.data.result.slice(0,5);
118
- this.pushNotificationList = res.data.result.filter((item:any) => item._source.showPushNotification);
119
- this.pushNotificationList.forEach((item: any) => {
120
- item._score = true;
121
- setTimeout(() => {
122
- item._score = false;
123
- this.service.notificationPushUpdate(item).pipe(takeUntil(this.destroy$)).subscribe ((res: any) => {
124
- })
125
- // this.notificationPushUpdate(item,'');
126
- }, 6000);
127
- });
128
-
129
- } else {
130
- this.notification = [];
131
- this.loading = false;
132
- this.noData = true;
133
- }
134
- },
135
- error: (err) => {
136
- this.notification = [];
137
- this.loading = false;
138
- this.noData = true;
139
- }
140
- });
141
- }
142
-
143
- notificationPushUpdate(data: any,btnDetails:any): void {
144
- this.service.notificationPushUpdate(data).pipe(takeUntil(this.destroy$)).subscribe((res: any) => {
145
- if (res && res.code == 200) {
146
- if(btnDetails && btnDetails?.redirectionUrl != '' && btnDetails?.redirectionUrl.split('/').length > 1) {
147
- this.router.navigateByUrl(btnDetails.redirectionUrl);
148
- }
149
- if(btnDetails && btnDetails?.redirectionUrl == 'remind') {
150
- this.service.updateRemind(data._id).pipe(takeUntil(this.destroy$)).subscribe(() => {})
151
-
152
- }
153
- if(btnDetails && btnDetails?.redirectionUrl == 'trialApproved') {
154
- let params = {
155
- id:btnDetails.id,
156
- type:'approve'
157
- }
158
- this.service.trialApproved(params).pipe(takeUntil(this.destroy$)).subscribe((res:any) => {})
159
- }
160
- if(btnDetails && btnDetails?.redirectionUrl == 'subscribed') {
161
- let params = {
162
- clientId: btnDetails?.clientId,
163
- products: [
164
- {
165
- name: btnDetails.product,
166
- productName: btnDetails.name,
167
- type: "subscription",
168
- content: "new"
169
- }
170
- ]
171
- }
172
- this.service.updateSubscription(params).pipe(takeUntil(this.destroy$)).subscribe((res:any) => {})
173
- }
174
- this.cd.detectChanges();
175
- setTimeout(() => {
176
- if(btnDetails) {
177
- if(!this.showNotification){
178
- this.service.triggerReload();
179
- }
180
- this.service.notificationUpdate(data._id).pipe(takeUntil(this.destroy$)).subscribe()
181
- }
182
- this.notificationList();
183
- },1000);
184
- }
185
- })
186
- }
187
-
188
- updateNotification(data: any, btnDetails: any): void {
189
- this.loading = true;
190
- this.service.notificationUpdate(data._id).pipe(takeUntil(this.destroy$)).subscribe((res: any) => {
191
- if (res && res.code == 200) {
192
- if(!btnDetails || btnDetails?.redirectionUrl != 'subscribed')
193
- this.toast.getSuccessToast(res.message);
194
- setTimeout(() => {
195
- this.notificationList();
196
- },1000);
197
- if(btnDetails && btnDetails?.redirectionUrl != '' && !['remind','subscribed'].includes(btnDetails?.redirectionUrl)) {
198
- this.router.navigateByUrl(btnDetails.redirectionUrl);
199
- }
200
- if(btnDetails && btnDetails?.redirectionUrl == 'remind') {
201
- this.service.updateRemind(data._id).pipe(takeUntil(this.destroy$)).subscribe(() => {})
202
- }
203
- if(btnDetails && btnDetails?.redirectionUrl == 'trialApproved') {
204
- let params = {
205
- id:btnDetails.id,
206
- type:'approve'
207
- }
208
- this.service.trialApproved(params).pipe(takeUntil(this.destroy$)).subscribe(() => {})
209
- }
210
- if(btnDetails && btnDetails?.redirectionUrl == 'subscribed') {
211
- let params = {
212
- clientId: btnDetails?.clientId,
213
- products: [
214
- {
215
- name: btnDetails.product,
216
- productName: btnDetails.name,
217
- type: "subscription",
218
- content: "new"
219
- }
220
- ]
221
- }
222
- this.service.updateSubscription(params).pipe(takeUntil(this.destroy$)).subscribe((res:any) => {
223
- if(res && res.code == 200) {
224
- this.toast.getSuccessToast('Product Subscribed Successfully');
225
- }
226
- })
227
- }
228
- this.cd.detectChanges();
229
- }
230
- },(error:any) => {
231
- this.loading = false;
232
- this.noData = true;
233
- })
234
- }
235
-
236
- handleNotification() {
237
- this.service.updateNotificationReceived(true);
238
- }
239
-
240
- viewAll(type:any){
241
- this.router.navigateByUrl('/notifications/alerts')
242
- }
243
- redirecttonotification(){
244
- this.router.navigateByUrl('/notifications/alerts?tab=download')
245
- }
246
-
247
- @HostListener('document:click', ['$event'])
248
- onClick (event: MouseEvent) {
249
- const target = event.target as HTMLElement;
250
- if(!target.closest('.app-navbar')) {
251
- this.showDropdown = false;
252
- }
253
- }
254
-
255
- }
@@ -1,200 +0,0 @@
1
- <div class="card topbar" >
2
- <div class="card-header">
3
- <h3 class="title-notify mt-10 mb-6">
4
- Notifications
5
- </h3>
6
- </div>
7
- <ng-container *ngIf="loading">
8
- <div class="row loader d-flex justify-content-center align-items-center">
9
- <div class="shimmer">
10
- <div class="wrapper">
11
- <div class="stroke animate title"></div>
12
- <div class="stroke animate link"></div>
13
- <div class="stroke animate description"></div>
14
- </div>
15
- </div>
16
- <div class="shimmer">
17
- <div class="wrapper">
18
- <div class="stroke animate title"></div>
19
- <div class="stroke animate link"></div>
20
- <div class="stroke animate description"></div>
21
- </div>
22
- </div>
23
-
24
- </div>
25
- </ng-container>
26
- <ng-container *ngIf="noData && !loading">
27
- <div class="row">
28
- <div class="col-lg-12 mb-3">
29
- <div class="card-body d-flex justify-content-center align-items-center flex-column">
30
- <img class="img-src w-25" src="./assets/tango/Icons/noNotification.svg" alt="">
31
- <span class="notificationAlign mt-10">No New Notification</span>
32
- <span class="noNotification mt-2">Any new notification will be shown here.</span>
33
- </div>
34
- </div>
35
- </div>
36
- </ng-container>
37
-
38
- <div class="alertscroll" *ngIf="notification.length">
39
- <div *ngFor="let item of notification" class="mh-300px ng-star-inserted" style="overflow: auto;">
40
- <div class="d-flex flex-stack py-3 mx-4 ng-star-inserted">
41
- <div class="d-flex align-items-center">
42
- <div class="symbol symbol-35px me-4"><span class="symbol-label bg-light-primary"><span
43
- class="svg-icon svg-icon-2 svg-icon-primary"></span><span
44
- class="svg-icon svg-icon-2 svg-icon-primary"><svg xmlns="http://www.w3.org/2000/svg"
45
- xmlns:xlink="http://www.w3.org/1999/xlink" width="24px" height="24px" viewBox="0 0 24 24"
46
- version="1.1" class="ng-star-inserted">
47
- <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
48
- <polygon points="0 0 24 0 24 24 0 24"></polygon>
49
- <path
50
- d="M12,11 C9.790861,11 8,9.209139 8,7 C8,4.790861 9.790861,3 12,3 C14.209139,3 16,4.790861 16,7 C16,9.209139 14.209139,11 12,11 Z"
51
- fill="#009EF7" fill-rule="nonzero" opacity="0.3"></path>
52
- <path
53
- d="M3.00065168,20.1992055 C3.38825852,15.4265159 7.26191235,13 11.9833413,13 C16.7712164,13 20.7048837,15.2931929 20.9979143,20.2 C21.0095879,20.3954741 20.9979143,21 20.2466999,21 C16.541124,21 11.0347247,21 3.72750223,21 C3.47671215,21 2.97953825,20.45918 3.00065168,20.1992055 Z"
54
- fill="#009EF7" fill-rule="nonzero"></path>
55
- </g>
56
- </svg></span></span></div>
57
- <div class="mb-0 me-2" style="text-align: left;"><div class="alert-title">{{ item._source.logType }}</div>
58
- <div class="alt-desc">{{ item._source.logSubType }}</div>
59
- </div>
60
- </div><span class="badge badge-light fs-9">{{ item._source.date|customDateFormat }}</span>
61
-
62
-
63
- </div>
64
-
65
- </div>
66
- <div class="text-center border-top">
67
- <a (click)="viewAll('alerts')" class="btn btn-color-gray-600 btn-active-color-primary mt-4">
68
- View All
69
- </a>
70
- </div>
71
-
72
- </div>
73
- </div>
74
-
75
- <!-- <div class="d-flex flex-column bgi-no-repeat rounded-top">
76
- <ul class="nav nav-line-tabs nav-line-tabs-2x nav-stretch border-0 fw-bold px-9">
77
- <li class="nav-item w-50 text-center">
78
- <a class="nav-link w-100 opacity-75 opacity-state-100 pb-4 cursor-pointer d-block text-center"
79
- data-bs-toggle="tab" [ngClass]="activeTabId === 'alerts' ? 'active' : ''" (click)="setActiveTabId('alerts')">
80
- Alerts
81
- </a>
82
- </li>
83
-
84
-
85
- <li class="nav-item w-50 text-center">
86
- <a class="
87
- nav-link d-block text-center
88
- text-white w-100
89
- opacity-75 opacity-state-100
90
- pb-4
91
- cursor-pointer
92
- " data-bs-toggle="tab" [ngClass]="activeTabId === 'download' ? 'active' : ''"
93
- (click)="setActiveTabId('download')">
94
- Download
95
- </a>
96
- </li>
97
- </ul>
98
- </div> -->
99
-
100
-
101
- <!-- <div class="tab-content">
102
- <div class="tab-pane fade" id="alerts" role="tabpanel" [ngClass]="activeTabId === 'alerts' ? 'show active' : ''">
103
- <div>
104
- <div class="mh-300px ng-star-inserted" style="overflow: auto;">
105
- <div class="d-flex flex-stack py-3 mx-4 ng-star-inserted">
106
- <div class="d-flex align-items-center">
107
- <div class="symbol symbol-35px me-4"><span class="symbol-label bg-light-primary"><span
108
- class="svg-icon svg-icon-2 svg-icon-primary"></span><span
109
- class="svg-icon svg-icon-2 svg-icon-primary"><svg xmlns="http://www.w3.org/2000/svg"
110
- xmlns:xlink="http://www.w3.org/1999/xlink" width="24px" height="24px" viewBox="0 0 24 24"
111
- version="1.1" class="ng-star-inserted">
112
- <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
113
- <polygon points="0 0 24 0 24 24 0 24"></polygon>
114
- <path
115
- d="M12,11 C9.790861,11 8,9.209139 8,7 C8,4.790861 9.790861,3 12,3 C14.209139,3 16,4.790861 16,7 C16,9.209139 14.209139,11 12,11 Z"
116
- fill="#009EF7" fill-rule="nonzero" opacity="0.3"></path>
117
- <path
118
- d="M3.00065168,20.1992055 C3.38825852,15.4265159 7.26191235,13 11.9833413,13 C16.7712164,13 20.7048837,15.2931929 20.9979143,20.2 C21.0095879,20.3954741 20.9979143,21 20.2466999,21 C16.541124,21 11.0347247,21 3.72750223,21 C3.47671215,21 2.97953825,20.45918 3.00065168,20.1992055 Z"
119
- fill="#009EF7" fill-rule="nonzero"></path>
120
- </g>
121
- </svg></span></span></div>
122
- <div class="mb-0 me-2" style="text-align: left;"><div class="alert-title">User Added</div>
123
- <div class="alt-desc">rock has been successfully onboarde...</div>
124
- </div>
125
- </div><span class="badge badge-light fs-9">28 May</span>
126
- </div>
127
- <div class="d-flex flex-stack py-3 mx-4 ng-star-inserted">
128
- <div class="d-flex align-items-center">
129
- <div class="symbol symbol-35px me-4"><span class="symbol-label bg-light-primary"><span
130
- class="svg-icon svg-icon-2 svg-icon-primary"></span><span
131
- class="svg-icon svg-icon-2 svg-icon-primary"><svg xmlns="http://www.w3.org/2000/svg"
132
- xmlns:xlink="http://www.w3.org/1999/xlink" width="24px" height="24px" viewBox="0 0 24 24"
133
- version="1.1" class="ng-star-inserted">
134
- <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
135
- <polygon points="0 0 24 0 24 24 0 24"></polygon>
136
- <path
137
- d="M12,11 C9.790861,11 8,9.209139 8,7 C8,4.790861 9.790861,3 12,3 C14.209139,3 16,4.790861 16,7 C16,9.209139 14.209139,11 12,11 Z"
138
- fill="#009EF7" fill-rule="nonzero" opacity="0.3"></path>
139
- <path
140
- d="M3.00065168,20.1992055 C3.38825852,15.4265159 7.26191235,13 11.9833413,13 C16.7712164,13 20.7048837,15.2931929 20.9979143,20.2 C21.0095879,20.3954741 20.9979143,21 20.2466999,21 C16.541124,21 11.0347247,21 3.72750223,21 C3.47671215,21 2.97953825,20.45918 3.00065168,20.1992055 Z"
141
- fill="#009EF7" fill-rule="nonzero"></path>
142
- </g>
143
- </svg></span></span></div>
144
- <div class="mb-0 me-2" style="text-align: left;"><div class="alert-title">User Added</div>
145
- <div class="alt-desc">rock has been successfully onboarde...</div>
146
- </div>
147
- </div><span class="badge badge-light fs-9">28 May</span>
148
- </div>
149
-
150
- </div>
151
- </div>
152
-
153
- <div class="py-3 text-center border-top">
154
- <a (click)="viewAll('alerts')" class="btn btn-color-gray-600 btn-active-color-primary">
155
- View All
156
-
157
- </a>
158
- </div>
159
- </div>
160
-
161
-
162
- <div class="tab-pane fade" id="download" role="tabpanel" [ngClass]="activeTabId === 'download' ? 'show active' : ''">
163
- <div class="scroll-y mh-400px my-5 px-5">
164
- <div class="d-flex flex-stack py-4">
165
- <div class="d-flex align-items-center">
166
- <span class="me-3">
167
- <svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
168
- <rect width="32" height="32" rx="16" fill="#DAF1FF" />
169
- <g clip-path="url(#clip0_9019_100928)">
170
- <path
171
- d="M16.0007 18.6667V16M16.0007 13.3334H16.0073M22.6673 16C22.6673 19.6819 19.6826 22.6667 16.0007 22.6667C12.3188 22.6667 9.33398 19.6819 9.33398 16C9.33398 12.3181 12.3188 9.33337 16.0007 9.33337C19.6826 9.33337 22.6673 12.3181 22.6673 16Z"
172
- stroke="#00A3FF" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round" />
173
- </g>
174
- <defs>
175
- <clipPath id="clip0_9019_100928">
176
- <rect width="16" height="16" fill="white" transform="translate(8 8)" />
177
- </clipPath>
178
- </defs>
179
- </svg>
180
- </span>
181
- <div class="mb-0 me-2">
182
-
183
- <div class="title-desc">Invited <span class="title-name">Lana Steiner</span> to the team</div>
184
- </div>
185
- </div>
186
-
187
- <span class="fs-8"><svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10"
188
- fill="none">
189
- <circle cx="5" cy="5" r="4" fill="#12B76A" />
190
- </svg></span>
191
- </div>
192
- </div>
193
- <div class="py-3 text-center border-top">
194
- <a (click)="viewAll('download')" class="btn btn-color-gray-600 btn-active-color-primary">
195
- View All
196
-
197
- </a>
198
- </div>
199
- </div>
200
- </div> -->
@@ -1,139 +0,0 @@
1
- .nav-line-tabs .nav-item .nav-link.active{
2
- border-radius: 6px !important;
3
- background: var(--Primary-50, #EAF8FF) !important;
4
- padding: 10px 14px !important;
5
- border-bottom: none !important;
6
- width:100% !important;
7
- }
8
- .nav-line-tabs.nav-line-tabs-2x {
9
- background: var(--Gray-50, #F9FAFB) !important;
10
- padding: 6px !important;
11
- border-radius: 8px !important;
12
- border: 1px solid var(--Gray-100, #F2F4F7) !important;
13
- }
14
- .title-name{
15
- color: var(--Primary-700, #009BF3) !important;
16
- font-size: 14px !important;
17
- font-weight: 500 !important;
18
- line-height: 20px;
19
- }
20
- .title-desc{
21
- color: var(--Gray-500, #667085) !important;
22
- font-size: 14px !important;
23
- font-weight: 400 !important;
24
- line-height: 20px;
25
- }
26
- .title-notify{
27
- color: var(--Gray-900, #101828) !important;
28
- font-size: 20px !important;
29
- font-weight: 500 !important;
30
- line-height: 30px;
31
- }
32
- .alert-title{
33
- color: var(--Gray-900, #101828);
34
- font-size: 14px;
35
- font-style: normal;
36
- font-weight: 600;
37
- line-height: 28px;
38
- text-align: left;
39
- }
40
-
41
- .alt-desc{
42
- color: var(--Gray-500, #667085) !important;
43
- font-size: 14px !important;
44
- font-weight: 400 !important;
45
- line-height: 20px;
46
- width: 200px; /* fixed width */
47
- white-space: nowrap; /* prevent wrapping */
48
- overflow: hidden; /* hide overflow */
49
- text-overflow: ellipsis; /* show ellipsis */
50
- }
51
-
52
- .alertscroll{
53
- max-height: 300px;
54
- overflow: scroll;
55
- }
56
-
57
- .loader {
58
- .title {
59
- width: 65%;
60
- }
61
-
62
- .link {
63
- width: 85%;
64
- }
65
-
66
- .description {
67
- width: 95%;
68
- }
69
-
70
- .shimmer {
71
- padding: 15px;
72
- width: 95%;
73
- height: 120px;
74
- margin: 10px auto;
75
- background: #ffffff;
76
- }
77
-
78
- .shimmer .image-card {
79
- height: 90px;
80
- width: 90px;
81
- float: right;
82
- border-radius: 8px;
83
- }
84
-
85
- .stroke {
86
- height: 15px;
87
- background: #777;
88
- margin-top: 20px;
89
- }
90
-
91
- .wrapper {
92
- width: 0px;
93
- animation: fullView 0.5s forwards linear;
94
- }
95
-
96
- @keyframes fullView {
97
- 100% {
98
- width: 100%;
99
- }
100
- }
101
-
102
- .animate {
103
- animation: shimmer 3s;
104
- animation-iteration-count: infinite;
105
- background: linear-gradient(to right, #e6e6e6 5%, #cccccc 25%, #e6e6e6 35%);
106
- background-size: 1000px 100%;
107
- }
108
-
109
- @keyframes shimmer {
110
- from {
111
- background-position: -1000px 0;
112
- }
113
-
114
- to {
115
- background-position: 1000px 0;
116
- }
117
- }
118
-
119
- }
120
-
121
- .notificationAlign {
122
- color: var(--Gray-900, #101828);
123
- text-align: center;
124
- font-family: Inter;
125
- font-size: 16px;
126
- font-style: normal;
127
- font-weight: 600;
128
- line-height: 24px;
129
- }
130
-
131
- .noNotification {
132
- color: var(--Gray-500, #667085);
133
- text-align: center;
134
- font-family: Inter;
135
- font-size: 14px;
136
- font-style: normal;
137
- font-weight: 400;
138
- line-height: 20px;
139
- }
@@ -1,76 +0,0 @@
1
- import { ChangeDetectorRef, Component, HostBinding, OnInit } from '@angular/core';
2
- import { Router } from '@angular/router';
3
- import { NotificationService } from '../../../../services/notification.service'
4
- import { Subject, takeUntil } from "rxjs";
5
-
6
- export type NotificationsTabsType =
7
- | 'kt_topbar_notifications_1'
8
- | 'kt_topbar_notifications_2'
9
- | 'kt_topbar_notifications_3';
10
-
11
- @Component({
12
- selector: 'lib-notifications-inner',
13
- templateUrl: './notifications-inner.component.html',
14
- styleUrl:'./notifications-inner.component.scss'
15
- })
16
- export class NotificationsInnerComponent implements OnInit {
17
- @HostBinding('class') class =
18
- 'menu menu-sub menu-sub-dropdown menu-column w-450px w-lg-425px';
19
- @HostBinding('attr.data-kt-menu') dataKtMenu = 'true';
20
-
21
- activeTabId = 'alerts';
22
- private readonly destroy$ = new Subject();
23
- notification: any = [];
24
- loading:boolean = true;
25
- noData:boolean = false;
26
-
27
- constructor(private router:Router, private service:NotificationService,private cd :ChangeDetectorRef) {}
28
-
29
- ngOnInit(): void {
30
- this.notificationList()
31
- }
32
-
33
- setActiveTabId(tabId: any) {
34
- this.activeTabId = tabId;
35
- }
36
-
37
- notificationList() {
38
- this.notification = [];
39
- this.loading = true;
40
- let data = {
41
- limit: 5,
42
- offset: 1
43
- };
44
- this.service.notificationList(data)
45
- .pipe(takeUntil(this.destroy$))
46
- .subscribe({
47
- next: (res: any) => {
48
- if (res && res.code == 200) {
49
- this.loading = false;
50
- this.noData = false;
51
- this.notification = res.data.result || [];
52
- } else {
53
- this.notification = [];
54
- this.loading = false;
55
- this.noData = true;
56
- }
57
- },
58
- error: (err) => {
59
- this.notification = [];
60
- this.loading = false;
61
- this.noData = true;
62
- }
63
- });
64
- }
65
-
66
- handleNotification() {
67
- this.service.updateNotificationReceived(true);
68
- }
69
-
70
- viewAll(type:any){
71
- this.dataKtMenu = 'false';
72
- this.router.navigate(['/notifications/alerts'])
73
- }
74
- }
75
-
76
-