ngx-vector-components 4.92.0 → 4.94.0

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 (307) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/{esm2020 → esm2022}/lib/components/badge/badge.component.mjs +39 -39
  3. package/esm2022/lib/components/badge/badge.module.mjs +19 -0
  4. package/{esm2020 → esm2022}/lib/components/badge/index.mjs +2 -2
  5. package/{esm2020 → esm2022}/lib/components/breadcrumb/breadcrumb.component.mjs +66 -66
  6. package/esm2022/lib/components/breadcrumb/breadcrumb.module.mjs +18 -0
  7. package/{esm2020 → esm2022}/lib/components/breadcrumb/index.mjs +2 -2
  8. package/esm2022/lib/components/crud-base/crud-base.component.mjs +47 -0
  9. package/{esm2020 → esm2022}/lib/components/crud-base/index.mjs +1 -1
  10. package/{esm2020 → esm2022}/lib/components/crud-footer/crud-footer.component.mjs +32 -32
  11. package/esm2022/lib/components/crud-footer/crud-footer.module.mjs +20 -0
  12. package/{esm2020 → esm2022}/lib/components/crud-footer/index.mjs +2 -2
  13. package/esm2022/lib/components/crud-header/crud-header.component.mjs +30 -0
  14. package/esm2022/lib/components/crud-header/crud-header.module.mjs +19 -0
  15. package/{esm2020 → esm2022}/lib/components/crud-header/index.mjs +2 -2
  16. package/{esm2020 → esm2022}/lib/components/crud-history/crud-history.component.mjs +82 -82
  17. package/esm2022/lib/components/crud-history/crud-history.module.mjs +20 -0
  18. package/{esm2020 → esm2022}/lib/components/crud-history/index.mjs +2 -2
  19. package/{esm2020 → esm2022}/lib/components/fields/button/button.component.mjs +41 -41
  20. package/{esm2020 → esm2022}/lib/components/fields/button/index.mjs +1 -1
  21. package/{esm2020 → esm2022}/lib/components/fields/calendar-field/calendar-field.component.mjs +74 -74
  22. package/{esm2020 → esm2022}/lib/components/fields/calendar-field/index.mjs +1 -1
  23. package/{esm2020 → esm2022}/lib/components/fields/checkbox-field/checkbox-field.component.mjs +46 -46
  24. package/{esm2020 → esm2022}/lib/components/fields/checkbox-field/index.mjs +1 -1
  25. package/{esm2020 → esm2022}/lib/components/fields/currency-field/currency-field.component.mjs +98 -98
  26. package/{esm2020 → esm2022}/lib/components/fields/currency-field/index.mjs +1 -1
  27. package/esm2022/lib/components/fields/data-table/data-table.component.mjs +386 -0
  28. package/{esm2020 → esm2022}/lib/components/fields/data-table/index.mjs +1 -1
  29. package/esm2022/lib/components/fields/dropdown-field/dropdown-field.component.mjs +204 -0
  30. package/{esm2020 → esm2022}/lib/components/fields/dropdown-field/index.mjs +1 -1
  31. package/{esm2020 → esm2022}/lib/components/fields/field-error-message/field-error-message.component.mjs +30 -30
  32. package/{esm2020 → esm2022}/lib/components/fields/field-error-message/index.mjs +1 -1
  33. package/esm2022/lib/components/fields/fields.module.mjs +211 -0
  34. package/esm2022/lib/components/fields/filters/filters.component.mjs +203 -0
  35. package/{esm2020 → esm2022}/lib/components/fields/filters/index.mjs +1 -1
  36. package/{esm2020 → esm2022}/lib/components/fields/index.mjs +18 -18
  37. package/{esm2020 → esm2022}/lib/components/fields/input-number-field/index.mjs +1 -1
  38. package/{esm2020 → esm2022}/lib/components/fields/input-number-field/input-number-field.component.mjs +85 -85
  39. package/{esm2020 → esm2022}/lib/components/fields/multiselect-field/index.mjs +1 -1
  40. package/{esm2020 → esm2022}/lib/components/fields/multiselect-field/multiselect-field.component.mjs +50 -50
  41. package/{esm2020 → esm2022}/lib/components/fields/percentage-field/index.mjs +1 -1
  42. package/{esm2020 → esm2022}/lib/components/fields/percentage-field/percentage-field.component.mjs +42 -42
  43. package/{esm2020 → esm2022}/lib/components/fields/radio-button-field/index.mjs +1 -1
  44. package/{esm2020 → esm2022}/lib/components/fields/radio-button-field/radio-button-field.component.mjs +48 -48
  45. package/{esm2020 → esm2022}/lib/components/fields/range-value/index.mjs +1 -1
  46. package/{esm2020 → esm2022}/lib/components/fields/range-value/range-value.component.mjs +72 -72
  47. package/{esm2020 → esm2022}/lib/components/fields/search-field/index.mjs +1 -1
  48. package/esm2022/lib/components/fields/search-field/search-field.component.mjs +33 -0
  49. package/{esm2020 → esm2022}/lib/components/fields/select-button-field/index.mjs +1 -1
  50. package/{esm2020 → esm2022}/lib/components/fields/select-button-field/select-button-field.component.mjs +20 -20
  51. package/{esm2020 → esm2022}/lib/components/fields/text-field/index.mjs +1 -1
  52. package/esm2022/lib/components/fields/text-field/text-field.component.mjs +232 -0
  53. package/{esm2020 → esm2022}/lib/components/fields/textarea-field/index.mjs +1 -1
  54. package/{esm2020 → esm2022}/lib/components/fields/textarea-field/textarea-field.component.mjs +81 -81
  55. package/esm2022/lib/components/generic-error-modal/generic-error-modal.component.mjs +39 -0
  56. package/esm2022/lib/components/generic-error-modal/generic-error-modal.module.mjs +20 -0
  57. package/{esm2020 → esm2022}/lib/components/generic-error-modal/index.mjs +2 -2
  58. package/{esm2020 → esm2022}/lib/components/generic-modal/generic-modal.component.mjs +66 -66
  59. package/esm2022/lib/components/generic-modal/generic-modal.module.mjs +20 -0
  60. package/{esm2020 → esm2022}/lib/components/generic-modal/index.mjs +2 -2
  61. package/{esm2020 → esm2022}/lib/components/index.mjs +13 -13
  62. package/{esm2020 → esm2022}/lib/components/menu/index.mjs +3 -3
  63. package/esm2022/lib/components/menu/menu.component.mjs +305 -0
  64. package/esm2022/lib/components/menu/menu.module.mjs +20 -0
  65. package/{esm2020 → esm2022}/lib/components/menu/sub-menus-list/sub-menus-list.component.mjs +42 -42
  66. package/{esm2020 → esm2022}/lib/components/panel/index.mjs +2 -2
  67. package/{esm2020 → esm2022}/lib/components/panel/panel.component.mjs +15 -15
  68. package/esm2022/lib/components/panel/panel.module.mjs +19 -0
  69. package/{esm2020 → esm2022}/lib/components/score/index.mjs +2 -2
  70. package/{esm2020 → esm2022}/lib/components/score/score.component.mjs +17 -17
  71. package/{esm2020 → esm2022}/lib/components/score/score.module.mjs +16 -16
  72. package/{esm2020 → esm2022}/lib/components/top-bar/index.mjs +2 -2
  73. package/{esm2020 → esm2022}/lib/components/top-bar/top-bar.component.mjs +142 -142
  74. package/esm2022/lib/components/top-bar/top-bar.module.mjs +20 -0
  75. package/{esm2020 → esm2022}/lib/guards/crud-list-has-items.guard.mjs +22 -22
  76. package/{esm2020 → esm2022}/lib/guards/get-token-by-guid.guard.mjs +54 -54
  77. package/{esm2020 → esm2022}/lib/guards/has-permission.guard.mjs +27 -27
  78. package/{esm2020 → esm2022}/lib/guards/index.mjs +5 -5
  79. package/{esm2020 → esm2022}/lib/guards/role.guard.mjs +24 -24
  80. package/{esm2020 → esm2022}/lib/guards/token-is-present.guard.mjs +26 -26
  81. package/{esm2020 → esm2022}/lib/interceptors/http-interceptor.mjs +185 -185
  82. package/{esm2020 → esm2022}/lib/interceptors/index.mjs +1 -1
  83. package/{esm2020 → esm2022}/lib/models/app-name.enum.mjs +9 -9
  84. package/{esm2020 → esm2022}/lib/models/boolean-type.enum.mjs +5 -5
  85. package/{esm2020 → esm2022}/lib/models/crud-history.model.mjs +2 -2
  86. package/{esm2020 → esm2022}/lib/models/crud-mode.enum.mjs +6 -6
  87. package/{esm2020 → esm2022}/lib/models/currency.enum.mjs +6 -6
  88. package/{esm2020 → esm2022}/lib/models/data-table.model.mjs +22 -22
  89. package/{esm2020 → esm2022}/lib/models/document-type.enum.mjs +5 -5
  90. package/{esm2020 → esm2022}/lib/models/filters.model.mjs +1 -1
  91. package/{esm2020 → esm2022}/lib/models/generic-modal.model.mjs +1 -1
  92. package/{esm2020 → esm2022}/lib/models/http-response.model.mjs +1 -1
  93. package/{esm2020 → esm2022}/lib/models/index.mjs +17 -17
  94. package/{esm2020 → esm2022}/lib/models/ip-info.enum.mjs +1 -1
  95. package/{esm2020 → esm2022}/lib/models/list-item.model.mjs +1 -1
  96. package/{esm2020 → esm2022}/lib/models/locale.enum.mjs +6 -6
  97. package/{esm2020 → esm2022}/lib/models/menu-item.model.mjs +1 -1
  98. package/{esm2020 → esm2022}/lib/models/message-status.enum.mjs +7 -7
  99. package/{esm2020 → esm2022}/lib/models/profile.model.mjs +270 -270
  100. package/{esm2020 → esm2022}/lib/models/role.enum.mjs +4 -4
  101. package/{esm2020 → esm2022}/lib/models/status.enum.mjs +7 -7
  102. package/{esm2020 → esm2022}/lib/models/topbar.model.mjs +1 -1
  103. package/{esm2020 → esm2022}/lib/models/vector-app.model.mjs +1 -1
  104. package/{esm2020 → esm2022}/lib/models/vector-notification.model.mjs +1 -1
  105. package/{esm2020 → esm2022}/lib/models/view.enum.mjs +6 -6
  106. package/{esm2020 → esm2022}/lib/pipes/currency-brl.pipe.mjs +18 -18
  107. package/{esm2020 → esm2022}/lib/pipes/format-document.pipe.mjs +17 -17
  108. package/{esm2020 → esm2022}/lib/pipes/index.mjs +8 -8
  109. package/{esm2020 → esm2022}/lib/pipes/mask.pipe.mjs +21 -21
  110. package/{esm2020 → esm2022}/lib/pipes/not-hidden.pipe.mjs +16 -16
  111. package/{esm2020 → esm2022}/lib/pipes/only-active.pipe.mjs +16 -16
  112. package/{esm2020 → esm2022}/lib/pipes/pipes.module.mjs +50 -50
  113. package/{esm2020 → esm2022}/lib/pipes/remove-last-child.pipe.mjs +18 -18
  114. package/{esm2020 → esm2022}/lib/pipes/unread-notifications.pipe.mjs +15 -15
  115. package/{esm2020 → esm2022}/lib/resolvers/get-selected-crud-item.resolver.mjs +28 -28
  116. package/{esm2020 → esm2022}/lib/resolvers/index.mjs +1 -1
  117. package/{esm2020 → esm2022}/lib/services/auth.service.mjs +77 -77
  118. package/{esm2020 → esm2022}/lib/services/base-dropdown.mjs +1 -1
  119. package/{esm2020 → esm2022}/lib/services/crud-base.service.mjs +13 -13
  120. package/{esm2020 → esm2022}/lib/services/enum.service.mjs +43 -43
  121. package/{esm2020 → esm2022}/lib/services/error-message.service.mjs +16 -16
  122. package/{esm2020 → esm2022}/lib/services/geolocation.service.mjs +23 -23
  123. package/{esm2020 → esm2022}/lib/services/index.mjs +12 -12
  124. package/{esm2020 → esm2022}/lib/services/loading.service.mjs +15 -15
  125. package/{esm2020 → esm2022}/lib/services/menu.service.mjs +152 -152
  126. package/{esm2020 → esm2022}/lib/services/modal.service.mjs +15 -15
  127. package/{esm2020 → esm2022}/lib/services/notifications.service.mjs +64 -64
  128. package/{esm2020 → esm2022}/lib/services/profile.service.mjs +103 -103
  129. package/{esm2020 → esm2022}/lib/services/storage.service.mjs +108 -108
  130. package/esm2022/lib/shared/shared.module.mjs +19 -0
  131. package/{esm2020 → esm2022}/lib/utils/cpf-cnpj-validator.util.mjs +115 -115
  132. package/{esm2020 → esm2022}/lib/utils/file.util.mjs +14 -14
  133. package/{esm2020 → esm2022}/lib/utils/index.mjs +7 -7
  134. package/esm2022/lib/utils/mask.util.mjs +76 -0
  135. package/{esm2020 → esm2022}/lib/utils/object.util.mjs +26 -26
  136. package/{esm2020 → esm2022}/lib/utils/string.util.mjs +15 -15
  137. package/{esm2020 → esm2022}/lib/utils/validation.util.mjs +233 -233
  138. package/{esm2020 → esm2022}/lib/utils/window.util.mjs +8 -8
  139. package/{esm2020 → esm2022}/ngx-vector-components.mjs +4 -4
  140. package/{esm2020 → esm2022}/public-api.mjs +8 -8
  141. package/{fesm2020 → fesm2022}/ngx-vector-components.mjs +4577 -4573
  142. package/fesm2022/ngx-vector-components.mjs.map +1 -0
  143. package/{ngx-vector-components.d.ts → index.d.ts} +5 -5
  144. package/lib/components/badge/badge.component.d.ts +15 -15
  145. package/lib/components/badge/badge.module.d.ts +9 -9
  146. package/lib/components/badge/index.d.ts +2 -2
  147. package/lib/components/breadcrumb/breadcrumb.component.d.ts +19 -19
  148. package/lib/components/breadcrumb/breadcrumb.module.d.ts +8 -8
  149. package/lib/components/breadcrumb/index.d.ts +2 -2
  150. package/lib/components/crud-base/crud-base.component.d.ts +20 -20
  151. package/lib/components/crud-base/index.d.ts +1 -1
  152. package/lib/components/crud-footer/crud-footer.component.d.ts +13 -13
  153. package/lib/components/crud-footer/crud-footer.module.d.ts +10 -10
  154. package/lib/components/crud-footer/index.d.ts +2 -2
  155. package/lib/components/crud-header/crud-header.component.d.ts +11 -11
  156. package/lib/components/crud-header/crud-header.module.d.ts +9 -9
  157. package/lib/components/crud-header/index.d.ts +2 -2
  158. package/lib/components/crud-history/crud-history.component.d.ts +12 -12
  159. package/lib/components/crud-history/crud-history.module.d.ts +10 -10
  160. package/lib/components/crud-history/index.d.ts +2 -2
  161. package/lib/components/fields/button/button.component.d.ts +17 -17
  162. package/lib/components/fields/button/index.d.ts +1 -1
  163. package/lib/components/fields/calendar-field/calendar-field.component.d.ts +23 -23
  164. package/lib/components/fields/calendar-field/index.d.ts +1 -1
  165. package/lib/components/fields/checkbox-field/checkbox-field.component.d.ts +19 -19
  166. package/lib/components/fields/checkbox-field/index.d.ts +1 -1
  167. package/lib/components/fields/currency-field/currency-field.component.d.ts +32 -32
  168. package/lib/components/fields/currency-field/index.d.ts +1 -1
  169. package/lib/components/fields/data-table/data-table.component.d.ts +82 -82
  170. package/lib/components/fields/data-table/index.d.ts +1 -1
  171. package/lib/components/fields/dropdown-field/dropdown-field.component.d.ts +52 -52
  172. package/lib/components/fields/dropdown-field/index.d.ts +1 -1
  173. package/lib/components/fields/field-error-message/field-error-message.component.d.ts +10 -10
  174. package/lib/components/fields/field-error-message/index.d.ts +1 -1
  175. package/lib/components/fields/fields.module.d.ts +48 -48
  176. package/lib/components/fields/filters/filters.component.d.ts +63 -63
  177. package/lib/components/fields/filters/index.d.ts +1 -1
  178. package/lib/components/fields/index.d.ts +18 -18
  179. package/lib/components/fields/input-number-field/index.d.ts +1 -1
  180. package/lib/components/fields/input-number-field/input-number-field.component.d.ts +28 -28
  181. package/lib/components/fields/multiselect-field/index.d.ts +1 -1
  182. package/lib/components/fields/multiselect-field/multiselect-field.component.d.ts +16 -16
  183. package/lib/components/fields/percentage-field/index.d.ts +1 -1
  184. package/lib/components/fields/percentage-field/percentage-field.component.d.ts +16 -16
  185. package/lib/components/fields/radio-button-field/index.d.ts +1 -1
  186. package/lib/components/fields/radio-button-field/radio-button-field.component.d.ts +25 -25
  187. package/lib/components/fields/range-value/index.d.ts +1 -1
  188. package/lib/components/fields/range-value/range-value.component.d.ts +18 -18
  189. package/lib/components/fields/search-field/index.d.ts +1 -1
  190. package/lib/components/fields/search-field/search-field.component.d.ts +14 -14
  191. package/lib/components/fields/select-button-field/index.d.ts +1 -1
  192. package/lib/components/fields/select-button-field/select-button-field.component.d.ts +9 -9
  193. package/lib/components/fields/text-field/index.d.ts +1 -1
  194. package/lib/components/fields/text-field/text-field.component.d.ts +55 -54
  195. package/lib/components/fields/textarea-field/index.d.ts +1 -1
  196. package/lib/components/fields/textarea-field/textarea-field.component.d.ts +22 -22
  197. package/lib/components/generic-error-modal/generic-error-modal.component.d.ts +16 -15
  198. package/lib/components/generic-error-modal/generic-error-modal.module.d.ts +10 -10
  199. package/lib/components/generic-error-modal/index.d.ts +2 -2
  200. package/lib/components/generic-modal/generic-modal.component.d.ts +24 -24
  201. package/lib/components/generic-modal/generic-modal.module.d.ts +10 -10
  202. package/lib/components/generic-modal/index.d.ts +2 -2
  203. package/lib/components/index.d.ts +13 -13
  204. package/lib/components/menu/index.d.ts +3 -3
  205. package/lib/components/menu/menu.component.d.ts +53 -53
  206. package/lib/components/menu/menu.module.d.ts +10 -10
  207. package/lib/components/menu/sub-menus-list/sub-menus-list.component.d.ts +14 -14
  208. package/lib/components/panel/index.d.ts +2 -2
  209. package/lib/components/panel/panel.component.d.ts +8 -8
  210. package/lib/components/panel/panel.module.d.ts +9 -9
  211. package/lib/components/score/index.d.ts +2 -2
  212. package/lib/components/score/score.component.d.ts +9 -9
  213. package/lib/components/score/score.module.d.ts +7 -7
  214. package/lib/components/top-bar/index.d.ts +2 -2
  215. package/lib/components/top-bar/top-bar.component.d.ts +48 -48
  216. package/lib/components/top-bar/top-bar.module.d.ts +10 -10
  217. package/lib/guards/crud-list-has-items.guard.d.ts +10 -10
  218. package/lib/guards/get-token-by-guid.guard.d.ts +15 -15
  219. package/lib/guards/has-permission.guard.d.ts +13 -13
  220. package/lib/guards/index.d.ts +5 -5
  221. package/lib/guards/role.guard.d.ts +11 -11
  222. package/lib/guards/token-is-present.guard.d.ts +11 -11
  223. package/lib/interceptors/http-interceptor.d.ts +31 -31
  224. package/lib/interceptors/index.d.ts +1 -1
  225. package/lib/models/app-name.enum.d.ts +8 -8
  226. package/lib/models/boolean-type.enum.d.ts +4 -4
  227. package/lib/models/crud-history.model.d.ts +13 -13
  228. package/lib/models/crud-mode.enum.d.ts +5 -5
  229. package/lib/models/currency.enum.d.ts +5 -5
  230. package/lib/models/data-table.model.d.ts +65 -65
  231. package/lib/models/document-type.enum.d.ts +4 -4
  232. package/lib/models/filters.model.d.ts +4 -4
  233. package/lib/models/generic-modal.model.d.ts +13 -13
  234. package/lib/models/http-response.model.d.ts +48 -48
  235. package/lib/models/index.d.ts +17 -17
  236. package/lib/models/ip-info.enum.d.ts +6 -6
  237. package/lib/models/list-item.model.d.ts +7 -7
  238. package/lib/models/locale.enum.d.ts +5 -5
  239. package/lib/models/menu-item.model.d.ts +16 -16
  240. package/lib/models/message-status.enum.d.ts +6 -6
  241. package/lib/models/profile.model.d.ts +292 -292
  242. package/lib/models/role.enum.d.ts +3 -3
  243. package/lib/models/status.enum.d.ts +6 -6
  244. package/lib/models/topbar.model.d.ts +5 -5
  245. package/lib/models/vector-app.model.d.ts +9 -9
  246. package/lib/models/vector-notification.model.d.ts +8 -8
  247. package/lib/models/view.enum.d.ts +5 -5
  248. package/lib/pipes/currency-brl.pipe.d.ts +7 -7
  249. package/lib/pipes/format-document.pipe.d.ts +7 -7
  250. package/lib/pipes/index.d.ts +8 -8
  251. package/lib/pipes/mask.pipe.d.ts +7 -7
  252. package/lib/pipes/not-hidden.pipe.d.ts +7 -7
  253. package/lib/pipes/only-active.pipe.d.ts +7 -7
  254. package/lib/pipes/pipes.module.d.ts +13 -13
  255. package/lib/pipes/remove-last-child.pipe.d.ts +7 -7
  256. package/lib/pipes/unread-notifications.pipe.d.ts +9 -9
  257. package/lib/resolvers/get-selected-crud-item.resolver.d.ts +10 -10
  258. package/lib/resolvers/index.d.ts +1 -1
  259. package/lib/services/auth.service.d.ts +24 -24
  260. package/lib/services/base-dropdown.d.ts +7 -7
  261. package/lib/services/crud-base.service.d.ts +7 -7
  262. package/lib/services/enum.service.d.ts +13 -13
  263. package/lib/services/error-message.service.d.ts +8 -8
  264. package/lib/services/geolocation.service.d.ts +13 -13
  265. package/lib/services/index.d.ts +12 -12
  266. package/lib/services/loading.service.d.ts +7 -7
  267. package/lib/services/menu.service.d.ts +35 -35
  268. package/lib/services/modal.service.d.ts +7 -7
  269. package/lib/services/notifications.service.d.ts +13 -13
  270. package/lib/services/profile.service.d.ts +26 -26
  271. package/lib/services/storage.service.d.ts +43 -43
  272. package/lib/shared/shared.module.d.ts +10 -10
  273. package/lib/utils/cpf-cnpj-validator.util.d.ts +5 -5
  274. package/lib/utils/file.util.d.ts +4 -4
  275. package/lib/utils/index.d.ts +7 -7
  276. package/lib/utils/mask.util.d.ts +21 -21
  277. package/lib/utils/object.util.d.ts +5 -5
  278. package/lib/utils/string.util.d.ts +4 -4
  279. package/lib/utils/validation.util.d.ts +17 -17
  280. package/lib/utils/window.util.d.ts +4 -4
  281. package/package.json +18 -24
  282. package/public-api.d.ts +8 -8
  283. package/esm2020/lib/components/badge/badge.module.mjs +0 -19
  284. package/esm2020/lib/components/breadcrumb/breadcrumb.module.mjs +0 -18
  285. package/esm2020/lib/components/crud-base/crud-base.component.mjs +0 -47
  286. package/esm2020/lib/components/crud-footer/crud-footer.module.mjs +0 -20
  287. package/esm2020/lib/components/crud-header/crud-header.component.mjs +0 -30
  288. package/esm2020/lib/components/crud-header/crud-header.module.mjs +0 -19
  289. package/esm2020/lib/components/crud-history/crud-history.module.mjs +0 -20
  290. package/esm2020/lib/components/fields/data-table/data-table.component.mjs +0 -386
  291. package/esm2020/lib/components/fields/dropdown-field/dropdown-field.component.mjs +0 -204
  292. package/esm2020/lib/components/fields/fields.module.mjs +0 -213
  293. package/esm2020/lib/components/fields/filters/filters.component.mjs +0 -203
  294. package/esm2020/lib/components/fields/search-field/search-field.component.mjs +0 -33
  295. package/esm2020/lib/components/fields/text-field/text-field.component.mjs +0 -229
  296. package/esm2020/lib/components/generic-error-modal/generic-error-modal.component.mjs +0 -36
  297. package/esm2020/lib/components/generic-error-modal/generic-error-modal.module.mjs +0 -20
  298. package/esm2020/lib/components/generic-modal/generic-modal.module.mjs +0 -20
  299. package/esm2020/lib/components/menu/menu.component.mjs +0 -305
  300. package/esm2020/lib/components/menu/menu.module.mjs +0 -20
  301. package/esm2020/lib/components/panel/panel.module.mjs +0 -19
  302. package/esm2020/lib/components/top-bar/top-bar.module.mjs +0 -20
  303. package/esm2020/lib/shared/shared.module.mjs +0 -19
  304. package/esm2020/lib/utils/mask.util.mjs +0 -76
  305. package/fesm2015/ngx-vector-components.mjs +0 -4805
  306. package/fesm2015/ngx-vector-components.mjs.map +0 -1
  307. package/fesm2020/ngx-vector-components.mjs.map +0 -1
@@ -1,13 +1,13 @@
1
- export * from './badge';
2
- export * from './breadcrumb';
3
- export * from './crud-base';
4
- export * from './crud-footer';
5
- export * from './crud-header';
6
- export * from './crud-history';
7
- export * from './fields';
8
- export * from './generic-error-modal';
9
- export * from './generic-modal';
10
- export * from './menu';
11
- export * from './panel';
12
- export * from './score';
13
- export * from './top-bar';
1
+ export * from './badge';
2
+ export * from './breadcrumb';
3
+ export * from './crud-base';
4
+ export * from './crud-footer';
5
+ export * from './crud-header';
6
+ export * from './crud-history';
7
+ export * from './fields';
8
+ export * from './generic-error-modal';
9
+ export * from './generic-modal';
10
+ export * from './menu';
11
+ export * from './panel';
12
+ export * from './score';
13
+ export * from './top-bar';
@@ -1,3 +1,3 @@
1
- export * from './menu.component';
2
- export * from './menu.module';
3
- export * from './sub-menus-list/sub-menus-list.component';
1
+ export * from './menu.component';
2
+ export * from './menu.module';
3
+ export * from './sub-menus-list/sub-menus-list.component';
@@ -1,53 +1,53 @@
1
- import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
- import { Router } from '@angular/router';
3
- import { AppName, MenuItem } from '../../models';
4
- import { VectorApp } from '../../models/vector-app.model';
5
- import { MenuService, ProfileService, StorageService } from '../../services';
6
- import * as i0 from "@angular/core";
7
- export declare class MenuComponent implements OnInit, OnDestroy {
8
- private menuService;
9
- private router;
10
- private profileService;
11
- private storageService;
12
- private environment;
13
- private currentApp;
14
- options: MenuItem[];
15
- activeOption: MenuItem | undefined;
16
- activeSubmenuOption: MenuItem | undefined;
17
- widthStyle: {
18
- width: string;
19
- };
20
- lastAnimation: string;
21
- appNameLabel: any;
22
- adminOption: MenuItem | undefined;
23
- appsEnum: typeof AppName;
24
- production: any;
25
- onFinishMenuOptionsConfig: EventEmitter<any>;
26
- set opened(opened: boolean);
27
- get opened(): boolean;
28
- get hasFintechAdminPermission(): boolean;
29
- get hasMarketplaceAdminPermission(): boolean;
30
- get hasAnyMarketplacePermission(): boolean;
31
- get hasAnyFintechPermission(): boolean;
32
- accountService: any;
33
- apps: VectorApp[];
34
- private _opened;
35
- private subscription;
36
- private currentWindowWidth;
37
- constructor(menuService: MenuService, router: Router, profileService: ProfileService, storageService: StorageService, environment: any, currentApp: string);
38
- ngOnInit(): void;
39
- onResize(): void;
40
- handleKeyboardEvent(): void;
41
- ngOnDestroy(): void;
42
- toggleMenu(): void;
43
- onMenuClick(option: MenuItem): void;
44
- onSubmenuClick(submenuItem: MenuItem): void;
45
- openTermsOfUse(): void;
46
- isPortalSelected(portal: AppName): boolean;
47
- navigateToPortal(params: Partial<VectorApp>): void;
48
- getMenuNotificationsCount(menu: MenuItem): number;
49
- private clearAndCloseMenu;
50
- private resizeMenu;
51
- static ɵfac: i0.ɵɵFactoryDeclaration<MenuComponent, never>;
52
- static ɵcmp: i0.ɵɵComponentDeclaration<MenuComponent, "vector-menu", never, { "accountService": "accountService"; "apps": "apps"; }, { "onFinishMenuOptionsConfig": "onFinishMenuOptionsConfig"; }, never, never>;
53
- }
1
+ import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
+ import { Router } from '@angular/router';
3
+ import { AppName, MenuItem } from '../../models';
4
+ import { VectorApp } from '../../models/vector-app.model';
5
+ import { MenuService, ProfileService, StorageService } from '../../services';
6
+ import * as i0 from "@angular/core";
7
+ export declare class MenuComponent implements OnInit, OnDestroy {
8
+ private menuService;
9
+ private router;
10
+ private profileService;
11
+ private storageService;
12
+ private environment;
13
+ private currentApp;
14
+ options: MenuItem[];
15
+ activeOption: MenuItem | undefined;
16
+ activeSubmenuOption: MenuItem | undefined;
17
+ widthStyle: {
18
+ width: string;
19
+ };
20
+ lastAnimation: string;
21
+ appNameLabel: any;
22
+ adminOption: MenuItem | undefined;
23
+ appsEnum: typeof AppName;
24
+ production: any;
25
+ onFinishMenuOptionsConfig: EventEmitter<any>;
26
+ set opened(opened: boolean);
27
+ get opened(): boolean;
28
+ get hasFintechAdminPermission(): boolean;
29
+ get hasMarketplaceAdminPermission(): boolean;
30
+ get hasAnyMarketplacePermission(): boolean;
31
+ get hasAnyFintechPermission(): boolean;
32
+ accountService: any;
33
+ apps: VectorApp[];
34
+ private _opened;
35
+ private subscription;
36
+ private currentWindowWidth;
37
+ constructor(menuService: MenuService, router: Router, profileService: ProfileService, storageService: StorageService, environment: any, currentApp: string);
38
+ ngOnInit(): void;
39
+ onResize(): void;
40
+ handleKeyboardEvent(): void;
41
+ ngOnDestroy(): void;
42
+ toggleMenu(): void;
43
+ onMenuClick(option: MenuItem): void;
44
+ onSubmenuClick(submenuItem: MenuItem): void;
45
+ openTermsOfUse(): void;
46
+ isPortalSelected(portal: AppName): boolean;
47
+ navigateToPortal(params: Partial<VectorApp>): void;
48
+ getMenuNotificationsCount(menu: MenuItem): number;
49
+ private clearAndCloseMenu;
50
+ private resizeMenu;
51
+ static ɵfac: i0.ɵɵFactoryDeclaration<MenuComponent, never>;
52
+ static ɵcmp: i0.ɵɵComponentDeclaration<MenuComponent, "vector-menu", never, { "accountService": { "alias": "accountService"; "required": false; }; "apps": { "alias": "apps"; "required": false; }; }, { "onFinishMenuOptionsConfig": "onFinishMenuOptionsConfig"; }, never, never, false, never>;
53
+ }
@@ -1,10 +1,10 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./menu.component";
3
- import * as i2 from "./sub-menus-list/sub-menus-list.component";
4
- import * as i3 from "../../shared/shared.module";
5
- import * as i4 from "primeng/overlaypanel";
6
- export declare class MenuModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<MenuModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<MenuModule, [typeof i1.MenuComponent, typeof i2.SubMenusListComponent], [typeof i3.SharedModule, typeof i4.OverlayPanelModule], [typeof i1.MenuComponent]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<MenuModule>;
10
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./menu.component";
3
+ import * as i2 from "./sub-menus-list/sub-menus-list.component";
4
+ import * as i3 from "../../shared/shared.module";
5
+ import * as i4 from "primeng/overlaypanel";
6
+ export declare class MenuModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<MenuModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MenuModule, [typeof i1.MenuComponent, typeof i2.SubMenusListComponent], [typeof i3.SharedModule, typeof i4.OverlayPanelModule], [typeof i1.MenuComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<MenuModule>;
10
+ }
@@ -1,14 +1,14 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { MenuItem } from '../../../models';
3
- import * as i0 from "@angular/core";
4
- export declare class SubMenusListComponent {
5
- showList: boolean;
6
- options: MenuItem[] | undefined;
7
- childLevel: number;
8
- submenuSelected: MenuItem | undefined;
9
- submenuSelectedChange: EventEmitter<MenuItem>;
10
- submenuClick(option: MenuItem): void;
11
- get paddingLeft(): string;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<SubMenusListComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<SubMenusListComponent, "vector-sub-menus-list", never, { "showList": "showList"; "options": "options"; "childLevel": "childLevel"; "submenuSelected": "submenuSelected"; }, { "submenuSelectedChange": "submenuSelectedChange"; }, never, never>;
14
- }
1
+ import { EventEmitter } from '@angular/core';
2
+ import { MenuItem } from '../../../models';
3
+ import * as i0 from "@angular/core";
4
+ export declare class SubMenusListComponent {
5
+ showList: boolean;
6
+ options: MenuItem[] | undefined;
7
+ childLevel: number;
8
+ submenuSelected: MenuItem | undefined;
9
+ submenuSelectedChange: EventEmitter<MenuItem>;
10
+ submenuClick(option: MenuItem): void;
11
+ get paddingLeft(): string;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<SubMenusListComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<SubMenusListComponent, "vector-sub-menus-list", never, { "showList": { "alias": "showList"; "required": false; }; "options": { "alias": "options"; "required": false; }; "childLevel": { "alias": "childLevel"; "required": false; }; "submenuSelected": { "alias": "submenuSelected"; "required": false; }; }, { "submenuSelectedChange": "submenuSelectedChange"; }, never, never, false, never>;
14
+ }
@@ -1,2 +1,2 @@
1
- export * from './panel.component';
2
- export * from './panel.module';
1
+ export * from './panel.component';
2
+ export * from './panel.module';
@@ -1,8 +1,8 @@
1
- import { OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class PanelComponent implements OnInit {
4
- constructor();
5
- ngOnInit(): void;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<PanelComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<PanelComponent, "vector-panel", never, {}, {}, never, ["*"]>;
8
- }
1
+ import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class PanelComponent implements OnInit {
4
+ constructor();
5
+ ngOnInit(): void;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<PanelComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<PanelComponent, "vector-panel", never, {}, {}, never, ["*"], false, never>;
8
+ }
@@ -1,9 +1,9 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./panel.component";
3
- import * as i2 from "../../shared/shared.module";
4
- import * as i3 from "primeng/panel";
5
- export declare class PanelModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<PanelModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<PanelModule, [typeof i1.PanelComponent], [typeof i2.SharedModule, typeof i3.PanelModule], [typeof i1.PanelComponent]>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<PanelModule>;
9
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./panel.component";
3
+ import * as i2 from "../../shared/shared.module";
4
+ import * as i3 from "primeng/panel";
5
+ export declare class PanelModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<PanelModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PanelModule, [typeof i1.PanelComponent], [typeof i2.SharedModule, typeof i3.PanelModule], [typeof i1.PanelComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<PanelModule>;
9
+ }
@@ -1,2 +1,2 @@
1
- export * from './score.component';
2
- export * from './score.module';
1
+ export * from './score.component';
2
+ export * from './score.module';
@@ -1,9 +1,9 @@
1
- import { OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class ScoreComponent implements OnInit {
4
- score: number;
5
- constructor();
6
- ngOnInit(): void;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<ScoreComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<ScoreComponent, "vector-score", never, { "score": "score"; }, {}, never, never>;
9
- }
1
+ import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ScoreComponent implements OnInit {
4
+ score: number;
5
+ constructor();
6
+ ngOnInit(): void;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScoreComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScoreComponent, "vector-score", never, { "score": { "alias": "score"; "required": false; }; }, {}, never, never, false, never>;
9
+ }
@@ -1,7 +1,7 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./score.component";
3
- export declare class ScoreModule {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<ScoreModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<ScoreModule, [typeof i1.ScoreComponent], never, [typeof i1.ScoreComponent]>;
6
- static ɵinj: i0.ɵɵInjectorDeclaration<ScoreModule>;
7
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./score.component";
3
+ export declare class ScoreModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScoreModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ScoreModule, [typeof i1.ScoreComponent], never, [typeof i1.ScoreComponent]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<ScoreModule>;
7
+ }
@@ -1,2 +1,2 @@
1
- export * from './top-bar.component';
2
- export * from './top-bar.module';
1
+ export * from './top-bar.component';
2
+ export * from './top-bar.module';
@@ -1,48 +1,48 @@
1
- import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
- import { Router } from '@angular/router';
3
- import { VectorNotification } from '../../models';
4
- import { HelpCentralIconOptionsType } from '../../models/topbar.model';
5
- import { AuthService, ProfileService, StorageService } from '../../services';
6
- import { MenuService } from '../../services/menu.service';
7
- import { NotificationsService } from '../../services/notifications.service';
8
- import { MaskUtil } from '../../utils';
9
- import * as i0 from "@angular/core";
10
- export declare class TopBarComponent implements OnInit, OnDestroy {
11
- private menuService;
12
- private authService;
13
- private router;
14
- private profileService;
15
- private storageService;
16
- private notificationsService;
17
- hideElements: boolean;
18
- openedMenu: boolean;
19
- openedChangeAccountMenu: boolean;
20
- showNotifications: boolean;
21
- doingOnboarding: boolean;
22
- vectorFirstName: any;
23
- currentAccount: any;
24
- isAdmin: boolean;
25
- otherAccounts: any[];
26
- maskUtil: typeof MaskUtil;
27
- fintech: boolean;
28
- accountService: any;
29
- showHelpCentral: boolean;
30
- helpCentralIcons: HelpCentralIconOptionsType[];
31
- onClick: EventEmitter<string>;
32
- notificationsList: VectorNotification[];
33
- private subscription;
34
- constructor(menuService: MenuService, authService: AuthService, router: Router, profileService: ProfileService, storageService: StorageService, notificationsService: NotificationsService);
35
- ngOnInit(): void;
36
- ngOnDestroy(): void;
37
- toggleMenu(): void;
38
- logout(): void;
39
- isDesktop(): boolean;
40
- changeAccount(newAccount: any): void;
41
- goToTermsOfUse(): void;
42
- goToPasswordChange(): void;
43
- goToTariff(): void;
44
- goToOnboarding(): void;
45
- handleClick(link: string | undefined): void;
46
- static ɵfac: i0.ɵɵFactoryDeclaration<TopBarComponent, never>;
47
- static ɵcmp: i0.ɵɵComponentDeclaration<TopBarComponent, "vector-top-bar", never, { "fintech": "fintech"; "accountService": "accountService"; "showHelpCentral": "showHelpCentral"; }, { "onClick": "onClick"; }, never, never>;
48
- }
1
+ import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
+ import { Router } from '@angular/router';
3
+ import { VectorNotification } from '../../models';
4
+ import { HelpCentralIconOptionsType } from '../../models/topbar.model';
5
+ import { AuthService, ProfileService, StorageService } from '../../services';
6
+ import { MenuService } from '../../services/menu.service';
7
+ import { NotificationsService } from '../../services/notifications.service';
8
+ import { MaskUtil } from '../../utils';
9
+ import * as i0 from "@angular/core";
10
+ export declare class TopBarComponent implements OnInit, OnDestroy {
11
+ private menuService;
12
+ private authService;
13
+ private router;
14
+ private profileService;
15
+ private storageService;
16
+ private notificationsService;
17
+ hideElements: boolean;
18
+ openedMenu: boolean;
19
+ openedChangeAccountMenu: boolean;
20
+ showNotifications: boolean;
21
+ doingOnboarding: boolean;
22
+ vectorFirstName: any;
23
+ currentAccount: any;
24
+ isAdmin: boolean;
25
+ otherAccounts: any[];
26
+ maskUtil: typeof MaskUtil;
27
+ fintech: boolean;
28
+ accountService: any;
29
+ showHelpCentral: boolean;
30
+ helpCentralIcons: HelpCentralIconOptionsType[];
31
+ onClick: EventEmitter<string>;
32
+ notificationsList: VectorNotification[];
33
+ private subscription;
34
+ constructor(menuService: MenuService, authService: AuthService, router: Router, profileService: ProfileService, storageService: StorageService, notificationsService: NotificationsService);
35
+ ngOnInit(): void;
36
+ ngOnDestroy(): void;
37
+ toggleMenu(): void;
38
+ logout(): void;
39
+ isDesktop(): boolean;
40
+ changeAccount(newAccount: any): void;
41
+ goToTermsOfUse(): void;
42
+ goToPasswordChange(): void;
43
+ goToTariff(): void;
44
+ goToOnboarding(): void;
45
+ handleClick(link: string | undefined): void;
46
+ static ɵfac: i0.ɵɵFactoryDeclaration<TopBarComponent, never>;
47
+ static ɵcmp: i0.ɵɵComponentDeclaration<TopBarComponent, "vector-top-bar", never, { "fintech": { "alias": "fintech"; "required": false; }; "accountService": { "alias": "accountService"; "required": false; }; "showHelpCentral": { "alias": "showHelpCentral"; "required": false; }; }, { "onClick": "onClick"; }, never, never, false, never>;
48
+ }
@@ -1,10 +1,10 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./top-bar.component";
3
- import * as i2 from "../../shared/shared.module";
4
- import * as i3 from "primeng/overlaypanel";
5
- import * as i4 from "@ngx-translate/core";
6
- export declare class TopBarModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<TopBarModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<TopBarModule, [typeof i1.TopBarComponent], [typeof i2.SharedModule, typeof i3.OverlayPanelModule, typeof i4.TranslateModule], [typeof i1.TopBarComponent]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<TopBarModule>;
10
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./top-bar.component";
3
+ import * as i2 from "../../shared/shared.module";
4
+ import * as i3 from "primeng/overlaypanel";
5
+ import * as i4 from "@ngx-translate/core";
6
+ export declare class TopBarModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<TopBarModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TopBarModule, [typeof i1.TopBarComponent], [typeof i2.SharedModule, typeof i3.OverlayPanelModule, typeof i4.TranslateModule], [typeof i1.TopBarComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<TopBarModule>;
10
+ }
@@ -1,10 +1,10 @@
1
- import { Injector } from '@angular/core';
2
- import { ActivatedRouteSnapshot, CanActivate } from '@angular/router';
3
- import * as i0 from "@angular/core";
4
- export declare class CrudListHasItemsGuard implements CanActivate {
5
- private injector;
6
- constructor(injector: Injector);
7
- canActivate(route: ActivatedRouteSnapshot): boolean;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<CrudListHasItemsGuard, never>;
9
- static ɵprov: i0.ɵɵInjectableDeclaration<CrudListHasItemsGuard>;
10
- }
1
+ import { Injector } from '@angular/core';
2
+ import { ActivatedRouteSnapshot } from '@angular/router';
3
+ import * as i0 from "@angular/core";
4
+ export declare class CrudListHasItemsGuard {
5
+ private injector;
6
+ constructor(injector: Injector);
7
+ canActivate(route: ActivatedRouteSnapshot): boolean;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<CrudListHasItemsGuard, never>;
9
+ static ɵprov: i0.ɵɵInjectableDeclaration<CrudListHasItemsGuard>;
10
+ }
@@ -1,15 +1,15 @@
1
- import { ActivatedRouteSnapshot, CanActivate, Router } from '@angular/router';
2
- import { AppName } from '../models';
3
- import { AuthService, ProfileService, StorageService } from '../services';
4
- import * as i0 from "@angular/core";
5
- export declare class GetTokenByGuidGuard implements CanActivate {
6
- private authService;
7
- private storageService;
8
- private router;
9
- private profileService;
10
- private appName;
11
- constructor(authService: AuthService, storageService: StorageService, router: Router, profileService: ProfileService, appName: AppName);
12
- canActivate(route: ActivatedRouteSnapshot): boolean | import("rxjs").Observable<boolean> | import("@angular/router").UrlTree;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<GetTokenByGuidGuard, never>;
14
- static ɵprov: i0.ɵɵInjectableDeclaration<GetTokenByGuidGuard>;
15
- }
1
+ import { ActivatedRouteSnapshot, Router } from '@angular/router';
2
+ import { AppName } from '../models';
3
+ import { AuthService, ProfileService, StorageService } from '../services';
4
+ import * as i0 from "@angular/core";
5
+ export declare class GetTokenByGuidGuard {
6
+ private authService;
7
+ private storageService;
8
+ private router;
9
+ private profileService;
10
+ private appName;
11
+ constructor(authService: AuthService, storageService: StorageService, router: Router, profileService: ProfileService, appName: AppName);
12
+ canActivate(route: ActivatedRouteSnapshot): boolean | import("rxjs").Observable<boolean> | import("@angular/router").UrlTree;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<GetTokenByGuidGuard, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<GetTokenByGuidGuard>;
15
+ }
@@ -1,13 +1,13 @@
1
- import { ActivatedRouteSnapshot, CanActivate, Router } from '@angular/router';
2
- import { AppName } from '../models';
3
- import { ProfileService } from '../services';
4
- import * as i0 from "@angular/core";
5
- export declare class HasPermissionGuard implements CanActivate {
6
- private profileService;
7
- private router;
8
- private appName;
9
- constructor(profileService: ProfileService, router: Router, appName: AppName);
10
- canActivate(routeSnapshot: ActivatedRouteSnapshot): true | import("@angular/router").UrlTree;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<HasPermissionGuard, never>;
12
- static ɵprov: i0.ɵɵInjectableDeclaration<HasPermissionGuard>;
13
- }
1
+ import { ActivatedRouteSnapshot, Router } from '@angular/router';
2
+ import { AppName } from '../models';
3
+ import { ProfileService } from '../services';
4
+ import * as i0 from "@angular/core";
5
+ export declare class HasPermissionGuard {
6
+ private profileService;
7
+ private router;
8
+ private appName;
9
+ constructor(profileService: ProfileService, router: Router, appName: AppName);
10
+ canActivate(routeSnapshot: ActivatedRouteSnapshot): true | import("@angular/router").UrlTree;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<HasPermissionGuard, never>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<HasPermissionGuard>;
13
+ }
@@ -1,5 +1,5 @@
1
- export * from './crud-list-has-items.guard';
2
- export * from './get-token-by-guid.guard';
3
- export * from './has-permission.guard';
4
- export * from './role.guard';
5
- export * from './token-is-present.guard';
1
+ export * from './crud-list-has-items.guard';
2
+ export * from './get-token-by-guid.guard';
3
+ export * from './has-permission.guard';
4
+ export * from './role.guard';
5
+ export * from './token-is-present.guard';
@@ -1,11 +1,11 @@
1
- import { ActivatedRouteSnapshot, CanActivate, Router } from '@angular/router';
2
- import { StorageService } from '../services';
3
- import * as i0 from "@angular/core";
4
- export declare class RoleGuard implements CanActivate {
5
- private storageService;
6
- private router;
7
- constructor(storageService: StorageService, router: Router);
8
- canActivate(routeSnapshot: ActivatedRouteSnapshot): true | import("@angular/router").UrlTree;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<RoleGuard, never>;
10
- static ɵprov: i0.ɵɵInjectableDeclaration<RoleGuard>;
11
- }
1
+ import { ActivatedRouteSnapshot, Router } from '@angular/router';
2
+ import { StorageService } from '../services';
3
+ import * as i0 from "@angular/core";
4
+ export declare class RoleGuard {
5
+ private storageService;
6
+ private router;
7
+ constructor(storageService: StorageService, router: Router);
8
+ canActivate(routeSnapshot: ActivatedRouteSnapshot): true | import("@angular/router").UrlTree;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<RoleGuard, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<RoleGuard>;
11
+ }
@@ -1,11 +1,11 @@
1
- import { ActivatedRouteSnapshot, CanActivate } from '@angular/router';
2
- import { AuthService, StorageService } from '../services';
3
- import * as i0 from "@angular/core";
4
- export declare class TokenIsPresentGuard implements CanActivate {
5
- private storageService;
6
- private authService;
7
- constructor(storageService: StorageService, authService: AuthService);
8
- canActivate(routeSnapshot: ActivatedRouteSnapshot): boolean | Promise<boolean>;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<TokenIsPresentGuard, never>;
10
- static ɵprov: i0.ɵɵInjectableDeclaration<TokenIsPresentGuard>;
11
- }
1
+ import { ActivatedRouteSnapshot } from '@angular/router';
2
+ import { AuthService, StorageService } from '../services';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TokenIsPresentGuard {
5
+ private storageService;
6
+ private authService;
7
+ constructor(storageService: StorageService, authService: AuthService);
8
+ canActivate(routeSnapshot: ActivatedRouteSnapshot): boolean | Promise<boolean>;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<TokenIsPresentGuard, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<TokenIsPresentGuard>;
11
+ }
@@ -1,31 +1,31 @@
1
- import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';
2
- import { MessageService } from 'primeng/api';
3
- import { Observable } from 'rxjs';
4
- import { AuthService, ErrorMessageService, LoadingService, StorageService } from '../services';
5
- import * as i0 from "@angular/core";
6
- export declare class HttpInterceptorProvider implements HttpInterceptor {
7
- private storageService;
8
- private errorMessageService;
9
- private loadingService;
10
- private authService;
11
- private messageService;
12
- private environment;
13
- private activeRequests;
14
- private isRefreshing;
15
- private refreshTokenSubject;
16
- constructor(storageService: StorageService, errorMessageService: ErrorMessageService, loadingService: LoadingService, authService: AuthService, messageService: MessageService, environment: any);
17
- intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
18
- private isRefreshTokenRequest;
19
- private getUrlWithoutParams;
20
- private addTokenIfPresent;
21
- private addModifierIdIfPresent;
22
- private addEncryptPasswordIfPresent;
23
- private addAccountUuidIfPresent;
24
- private addContentType;
25
- private fixUrl;
26
- private isAuthRequest;
27
- private isProfilesRequest;
28
- private handle401Error;
29
- static ɵfac: i0.ɵɵFactoryDeclaration<HttpInterceptorProvider, never>;
30
- static ɵprov: i0.ɵɵInjectableDeclaration<HttpInterceptorProvider>;
31
- }
1
+ import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';
2
+ import { MessageService } from 'primeng/api';
3
+ import { Observable } from 'rxjs';
4
+ import { AuthService, ErrorMessageService, LoadingService, StorageService } from '../services';
5
+ import * as i0 from "@angular/core";
6
+ export declare class HttpInterceptorProvider implements HttpInterceptor {
7
+ private storageService;
8
+ private errorMessageService;
9
+ private loadingService;
10
+ private authService;
11
+ private messageService;
12
+ private environment;
13
+ private activeRequests;
14
+ private isRefreshing;
15
+ private refreshTokenSubject;
16
+ constructor(storageService: StorageService, errorMessageService: ErrorMessageService, loadingService: LoadingService, authService: AuthService, messageService: MessageService, environment: any);
17
+ intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
18
+ private isRefreshTokenRequest;
19
+ private getUrlWithoutParams;
20
+ private addTokenIfPresent;
21
+ private addModifierIdIfPresent;
22
+ private addEncryptPasswordIfPresent;
23
+ private addAccountUuidIfPresent;
24
+ private addContentType;
25
+ private fixUrl;
26
+ private isAuthRequest;
27
+ private isProfilesRequest;
28
+ private handle401Error;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<HttpInterceptorProvider, never>;
30
+ static ɵprov: i0.ɵɵInjectableDeclaration<HttpInterceptorProvider>;
31
+ }
@@ -1 +1 @@
1
- export * from './http-interceptor';
1
+ export * from './http-interceptor';