monkey-front-core 0.0.499 → 0.0.501

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 (384) hide show
  1. package/README.md +24 -24
  2. package/esm2020/lib/components/alerts/alerts.component.mjs +45 -45
  3. package/esm2020/lib/components/alerts/alerts.module.mjs +21 -21
  4. package/esm2020/lib/components/alerts/index.mjs +3 -3
  5. package/esm2020/lib/components/closed-to-maintenance/closed-to-maintenance.component.mjs +29 -29
  6. package/esm2020/lib/components/closed-to-maintenance/closed-to-maintenance.module.mjs +43 -43
  7. package/esm2020/lib/components/closed-to-maintenance/index.mjs +3 -3
  8. package/esm2020/lib/components/currency-config/currency-config.component.mjs +39 -39
  9. package/esm2020/lib/components/currency-config/currency-config.module.mjs +39 -39
  10. package/esm2020/lib/components/currency-config/index.mjs +3 -3
  11. package/esm2020/lib/components/index.mjs +6 -6
  12. package/esm2020/lib/components/progress-bar/index.mjs +4 -4
  13. package/esm2020/lib/components/progress-bar/progress-bar.component.mjs +23 -23
  14. package/esm2020/lib/components/progress-bar/progress-bar.module.mjs +18 -18
  15. package/esm2020/lib/components/progress-bar/progress-bar.service.mjs +50 -50
  16. package/esm2020/lib/components/version-changed/index.mjs +3 -3
  17. package/esm2020/lib/components/version-changed/version-changed.component.mjs +24 -24
  18. package/esm2020/lib/components/version-changed/version-changed.module.mjs +39 -39
  19. package/esm2020/lib/core/decorators/index.mjs +5 -5
  20. package/esm2020/lib/core/decorators/monkeyecx-charts-decorators.mjs +40 -40
  21. package/esm2020/lib/core/decorators/monkeyecx-decorators.mjs +111 -111
  22. package/esm2020/lib/core/decorators/monkeyecx-download-decorators.mjs +26 -26
  23. package/esm2020/lib/core/decorators/monkeyecx-upload-decorators.mjs +26 -26
  24. package/esm2020/lib/core/directives/index.mjs +13 -13
  25. package/esm2020/lib/core/directives/monkeyecx-directives-module.mjs +73 -73
  26. package/esm2020/lib/core/directives/monkeyecx-drag-drop.mjs +57 -57
  27. package/esm2020/lib/core/directives/monkeyecx-feature-by-program-directive.mjs +54 -54
  28. package/esm2020/lib/core/directives/monkeyecx-feature-directive.mjs +68 -68
  29. package/esm2020/lib/core/directives/monkeyecx-format-currency.mjs +44 -44
  30. package/esm2020/lib/core/directives/monkeyecx-format-upper.mjs +67 -67
  31. package/esm2020/lib/core/directives/monkeyecx-only-alpha-numeric-directive.mjs +28 -28
  32. package/esm2020/lib/core/directives/monkeyecx-only-number-directive.mjs +28 -28
  33. package/esm2020/lib/core/directives/monkeyecx-popover-options.directive.mjs +39 -39
  34. package/esm2020/lib/core/directives/monkeyecx-popover.directive.mjs +212 -212
  35. package/esm2020/lib/core/directives/monkeyecx-security-directive.mjs +75 -75
  36. package/esm2020/lib/core/directives/monkeyecx-tooltip-directive.mjs +123 -123
  37. package/esm2020/lib/core/index.mjs +10 -10
  38. package/esm2020/lib/core/injectors/index.mjs +4 -4
  39. package/esm2020/lib/core/interceptors/index.mjs +6 -6
  40. package/esm2020/lib/core/interceptors/monkeyecx-http-config-error.interceptor.mjs +49 -49
  41. package/esm2020/lib/core/interceptors/monkeyecx-http-config-header.interceptor.mjs +59 -59
  42. package/esm2020/lib/core/interceptors/monkeyecx-http-config-interceptor.module.mjs +47 -47
  43. package/esm2020/lib/core/interceptors/monkeyecx-http-config-loading-in-progress.interceptor.mjs +43 -43
  44. package/esm2020/lib/core/interceptors/monkeyecx-http-config-queue.interceptor.mjs +37 -37
  45. package/esm2020/lib/core/interfaces/index.mjs +35 -35
  46. package/esm2020/lib/core/interfaces/monkeyecx-auth-credentials.mjs +2 -2
  47. package/esm2020/lib/core/interfaces/monkeyecx-company-pendencies.mjs +2 -2
  48. package/esm2020/lib/core/interfaces/monkeyecx-company.mjs +2 -2
  49. package/esm2020/lib/core/interfaces/monkeyecx-config-bootstrap.mjs +1 -1
  50. package/esm2020/lib/core/interfaces/monkeyecx-config.mjs +2 -2
  51. package/esm2020/lib/core/interfaces/monkeyecx-country-security.mjs +2 -2
  52. package/esm2020/lib/core/interfaces/monkeyecx-error-response.mjs +2 -2
  53. package/esm2020/lib/core/interfaces/monkeyecx-filter.mjs +2 -2
  54. package/esm2020/lib/core/interfaces/monkeyecx-handled-error-response.mjs +2 -2
  55. package/esm2020/lib/core/interfaces/monkeyecx-header-credentials.mjs +2 -2
  56. package/esm2020/lib/core/interfaces/monkeyecx-intercom-options.mjs +2 -2
  57. package/esm2020/lib/core/interfaces/monkeyecx-interface.mjs +1 -1
  58. package/esm2020/lib/core/interfaces/monkeyecx-me-credentials.mjs +2 -2
  59. package/esm2020/lib/core/interfaces/monkeyecx-navigation.mjs +2 -2
  60. package/esm2020/lib/core/interfaces/monkeyecx-pagination.mjs +2 -2
  61. package/esm2020/lib/core/interfaces/monkeyecx-program.mjs +2 -2
  62. package/esm2020/lib/core/interfaces/monkeyecx-releases.mjs +2 -2
  63. package/esm2020/lib/core/interfaces/monkeyecx-request-in-progress.mjs +2 -2
  64. package/esm2020/lib/core/interfaces/monkeyecx-request-paged.mjs +2 -2
  65. package/esm2020/lib/core/interfaces/monkeyecx-resolver.mjs +2 -2
  66. package/esm2020/lib/core/interfaces/monkeyecx-response-links.mjs +2 -2
  67. package/esm2020/lib/core/interfaces/monkeyecx-response-paged.mjs +2 -2
  68. package/esm2020/lib/core/interfaces/monkeyecx-saved-state.mjs +2 -2
  69. package/esm2020/lib/core/interfaces/monkeyecx-scroll-options.mjs +2 -2
  70. package/esm2020/lib/core/interfaces/monkeyecx-service-credentials.mjs +2 -2
  71. package/esm2020/lib/core/interfaces/monkeyecx-storage.mjs +2 -2
  72. package/esm2020/lib/core/interfaces/monkeyecx-store.mjs +2 -2
  73. package/esm2020/lib/core/interfaces/monkeyecx-support-options.mjs +2 -2
  74. package/esm2020/lib/core/interfaces/monkeyecx-token-credentials.mjs +1 -1
  75. package/esm2020/lib/core/interfaces/monkeyecx-translate-options.mjs +2 -2
  76. package/esm2020/lib/core/interfaces/request-download/index.mjs +4 -4
  77. package/esm2020/lib/core/interfaces/request-download/monkeyecx-request-download.mjs +2 -2
  78. package/esm2020/lib/core/interfaces/request-download/monkeyecx-request-downloaded.mjs +2 -2
  79. package/esm2020/lib/core/interfaces/request-download/monkeyecx-request-item-download.mjs +2 -2
  80. package/esm2020/lib/core/interfaces/request-queue/index.mjs +4 -4
  81. package/esm2020/lib/core/interfaces/request-queue/monkeyecx-request-item-queue.mjs +2 -2
  82. package/esm2020/lib/core/interfaces/request-queue/monkeyecx-request-progress-queue.mjs +2 -2
  83. package/esm2020/lib/core/interfaces/request-queue/monkeyecx-request-queue.mjs +2 -2
  84. package/esm2020/lib/core/interfaces/request-upload/index.mjs +3 -3
  85. package/esm2020/lib/core/interfaces/request-upload/monkeyecx-request-item-upload.mjs +2 -2
  86. package/esm2020/lib/core/interfaces/request-upload/monkeyecx-request-upload.mjs +2 -2
  87. package/esm2020/lib/core/interfaces/schedules/index.mjs +2 -2
  88. package/esm2020/lib/core/interfaces/schedules/monkeyecx-request-schedule.mjs +2 -2
  89. package/esm2020/lib/core/model/index.mjs +3 -3
  90. package/esm2020/lib/core/model/monkeyecx-links.model.mjs +8 -8
  91. package/esm2020/lib/core/model/monkeyecx-model.mjs +26 -26
  92. package/esm2020/lib/core/pipes/index.mjs +22 -22
  93. package/esm2020/lib/core/pipes/monkeyecx-blob-secure.mjs +26 -26
  94. package/esm2020/lib/core/pipes/monkeyecx-display-first-name.mjs +19 -19
  95. package/esm2020/lib/core/pipes/monkeyecx-display-initials.mjs +21 -21
  96. package/esm2020/lib/core/pipes/monkeyecx-display-support-phone.mjs +33 -33
  97. package/esm2020/lib/core/pipes/monkeyecx-format-address.mjs +20 -20
  98. package/esm2020/lib/core/pipes/monkeyecx-format-beautify-json.mjs +38 -38
  99. package/esm2020/lib/core/pipes/monkeyecx-format-currency.mjs +43 -43
  100. package/esm2020/lib/core/pipes/monkeyecx-format-date-group.mjs +45 -45
  101. package/esm2020/lib/core/pipes/monkeyecx-format-date-timelapse.mjs +32 -32
  102. package/esm2020/lib/core/pipes/monkeyecx-format-date-unix-timelapse.mjs +36 -36
  103. package/esm2020/lib/core/pipes/monkeyecx-format-date.mjs +29 -29
  104. package/esm2020/lib/core/pipes/monkeyecx-format-document.mjs +20 -20
  105. package/esm2020/lib/core/pipes/monkeyecx-format-number.mjs +20 -20
  106. package/esm2020/lib/core/pipes/monkeyecx-format-phone.mjs +42 -42
  107. package/esm2020/lib/core/pipes/monkeyecx-format-size.mjs +20 -20
  108. package/esm2020/lib/core/pipes/monkeyecx-format-tax.mjs +23 -23
  109. package/esm2020/lib/core/pipes/monkeyecx-format-type-document.mjs +19 -19
  110. package/esm2020/lib/core/pipes/monkeyecx-format-value.mjs +19 -19
  111. package/esm2020/lib/core/pipes/monkeyecx-format-zipcode.mjs +19 -19
  112. package/esm2020/lib/core/pipes/monkeyecx-pipes.module.mjs +121 -121
  113. package/esm2020/lib/core/pipes/monkeyecx-text-truncate.mjs +23 -23
  114. package/esm2020/lib/core/pipes/monkeyecx-truncate-qtd.mjs +16 -16
  115. package/esm2020/lib/core/services/alerts/index.mjs +2 -2
  116. package/esm2020/lib/core/services/alerts/monkeyecx-alerts.service.mjs +42 -42
  117. package/esm2020/lib/core/services/auth/index.mjs +6 -6
  118. package/esm2020/lib/core/services/auth/monkeyecx-auth-guard-company.service.mjs +28 -28
  119. package/esm2020/lib/core/services/auth/monkeyecx-auth-guard-login.service.mjs +27 -27
  120. package/esm2020/lib/core/services/auth/monkeyecx-auth-guard-role.service.mjs +79 -79
  121. package/esm2020/lib/core/services/auth/monkeyecx-auth-guard.service.mjs +26 -26
  122. package/esm2020/lib/core/services/auth/monkeyecx-authentication.service.mjs +78 -78
  123. package/esm2020/lib/core/services/commons/index.mjs +3 -3
  124. package/esm2020/lib/core/services/commons/monkeyecx-commons-resolve-base.service.mjs +108 -108
  125. package/esm2020/lib/core/services/commons/monkeyecx-commons-resolve.service.mjs +126 -126
  126. package/esm2020/lib/core/services/commons/monkeyecx-commons.service.mjs +362 -362
  127. package/esm2020/lib/core/services/config/monkeyecx-alerts-config.service.mjs +42 -42
  128. package/esm2020/lib/core/services/config/monkeyecx-config.module.mjs +28 -28
  129. package/esm2020/lib/core/services/config/monkeyecx-config.service.mjs +106 -106
  130. package/esm2020/lib/core/services/config/monkeyecx-currency-config.service.mjs +84 -84
  131. package/esm2020/lib/core/services/config/monkeyecx-error-config.service.mjs +85 -85
  132. package/esm2020/lib/core/services/config/monkeyecx-feature-toggle.service.mjs +76 -76
  133. package/esm2020/lib/core/services/config/monkeyecx-gtm-config.service.mjs +50 -50
  134. package/esm2020/lib/core/services/config/monkeyecx-i18n-config.service.mjs +138 -138
  135. package/esm2020/lib/core/services/config/monkeyecx-logs-config.service.mjs +34 -34
  136. package/esm2020/lib/core/services/config/monkeyecx-maintenance-config.service.mjs +37 -37
  137. package/esm2020/lib/core/services/config/monkeyecx-security-console-config.service.mjs +47 -47
  138. package/esm2020/lib/core/services/config/monkeyecx-service-worker-config.service.mjs +53 -53
  139. package/esm2020/lib/core/services/error/index.mjs +5 -5
  140. package/esm2020/lib/core/services/error/monkeyecx-error-handling.module.mjs +27 -27
  141. package/esm2020/lib/core/services/error/monkeyecx-error-handling.service.mjs +37 -37
  142. package/esm2020/lib/core/services/error/monkeyecx-http-error-handling.service.mjs +138 -138
  143. package/esm2020/lib/core/services/error/monkeyecx-others-errors-handling.service.mjs +29 -29
  144. package/esm2020/lib/core/services/index.mjs +26 -26
  145. package/esm2020/lib/core/services/logged/index.mjs +2 -2
  146. package/esm2020/lib/core/services/logged/monkeyecx-logged-handling.service.mjs +40 -40
  147. package/esm2020/lib/core/services/monkeyecx-handling.service.mjs +50 -50
  148. package/esm2020/lib/core/services/monkeyecx-service.service.mjs +104 -104
  149. package/esm2020/lib/core/services/pagination/index.mjs +2 -2
  150. package/esm2020/lib/core/services/pagination/monkeyecx-pagination.service.mjs +29 -29
  151. package/esm2020/lib/core/services/request-download/index.mjs +3 -3
  152. package/esm2020/lib/core/services/request-download/monkeyecx-request-download-handling.service.mjs +93 -93
  153. package/esm2020/lib/core/services/request-download/monkeyecx-request-downloaded-handling.service.mjs +61 -61
  154. package/esm2020/lib/core/services/request-paged/index.mjs +2 -2
  155. package/esm2020/lib/core/services/request-paged/monkeyecx-request-request-paged-handling.mjs +42 -42
  156. package/esm2020/lib/core/services/request-queue/index.mjs +3 -3
  157. package/esm2020/lib/core/services/request-queue/monkeyecx-request-queue-handling.service.mjs +114 -114
  158. package/esm2020/lib/core/services/request-queue/monkeyecx-request-queue-modal-handling.service.mjs +119 -119
  159. package/esm2020/lib/core/services/routes/index.mjs +2 -2
  160. package/esm2020/lib/core/services/routes/monkeyecx-dicovery-params.service.mjs +54 -54
  161. package/esm2020/lib/core/services/schedules/index.mjs +2 -2
  162. package/esm2020/lib/core/services/schedules/monkeyecx-request-schedule.service.mjs +188 -188
  163. package/esm2020/lib/core/services/storage/index.mjs +3 -3
  164. package/esm2020/lib/core/services/storage/monkeyecx-cookie-storage.service.mjs +32 -32
  165. package/esm2020/lib/core/services/storage/monkeyecx-token-storage.service.mjs +236 -236
  166. package/esm2020/lib/core/services/store/index.mjs +4 -4
  167. package/esm2020/lib/core/services/store/monkeyecx-store-base.service.mjs +170 -170
  168. package/esm2020/lib/core/services/store/monkeyecx-store.actions.mjs +25 -25
  169. package/esm2020/lib/core/services/store/monkeyecx-store.selector.mjs +80 -80
  170. package/esm2020/lib/core/services/store/monkeyecx-store.service.mjs +189 -189
  171. package/esm2020/lib/core/specification-search/index.mjs +2 -2
  172. package/esm2020/lib/core/specification-search/monkeyecx-specification-search.mjs +108 -108
  173. package/esm2020/lib/core/utils/decorators-utils.mjs +40 -40
  174. package/esm2020/lib/core/utils/index.mjs +8 -8
  175. package/esm2020/lib/core/utils/statics.mjs +45 -45
  176. package/esm2020/lib/core/utils/utils.mjs +267 -267
  177. package/esm2020/lib/core/utils/validate-utils.mjs +205 -205
  178. package/esm2020/lib/core/utils/validators.mjs +268 -268
  179. package/esm2020/lib/monkey-front-core.module.mjs +71 -71
  180. package/esm2020/lib/store/actions/index.mjs +2 -2
  181. package/esm2020/lib/store/actions/monkeyecx-storage.actions.mjs +8 -8
  182. package/esm2020/lib/store/index.mjs +4 -4
  183. package/esm2020/lib/store/reducers/index.mjs +3 -3
  184. package/esm2020/lib/store/reducers/monkeyecx-seeder.reducer.mjs +53 -53
  185. package/esm2020/lib/store/reducers/monkeyecx-storage.reducer.mjs +40 -40
  186. package/esm2020/lib/store/selectors/index.mjs +2 -2
  187. package/esm2020/lib/store/selectors/monkeyecx-storage.selector.mjs +17 -17
  188. package/esm2020/monkey-front-core.mjs +4 -4
  189. package/esm2020/public-api.mjs +8 -8
  190. package/fesm2015/monkey-front-core.mjs +6296 -6296
  191. package/fesm2015/monkey-front-core.mjs.map +1 -1
  192. package/fesm2020/monkey-front-core.mjs +6324 -6324
  193. package/fesm2020/monkey-front-core.mjs.map +1 -1
  194. package/lib/components/alerts/alerts.component.d.ts +22 -22
  195. package/lib/components/alerts/alerts.module.d.ts +10 -10
  196. package/lib/components/alerts/index.d.ts +2 -2
  197. package/lib/components/closed-to-maintenance/closed-to-maintenance.component.d.ts +13 -13
  198. package/lib/components/closed-to-maintenance/closed-to-maintenance.module.d.ts +11 -11
  199. package/lib/components/closed-to-maintenance/index.d.ts +2 -2
  200. package/lib/components/currency-config/currency-config.component.d.ts +17 -17
  201. package/lib/components/currency-config/currency-config.module.d.ts +10 -10
  202. package/lib/components/currency-config/index.d.ts +2 -2
  203. package/lib/components/index.d.ts +5 -5
  204. package/lib/components/progress-bar/index.d.ts +3 -3
  205. package/lib/components/progress-bar/progress-bar.component.d.ts +11 -11
  206. package/lib/components/progress-bar/progress-bar.module.d.ts +8 -8
  207. package/lib/components/progress-bar/progress-bar.service.d.ts +14 -14
  208. package/lib/components/version-changed/index.d.ts +2 -2
  209. package/lib/components/version-changed/version-changed.component.d.ts +9 -9
  210. package/lib/components/version-changed/version-changed.module.d.ts +10 -10
  211. package/lib/core/decorators/index.d.ts +4 -4
  212. package/lib/core/decorators/monkeyecx-charts-decorators.d.ts +1 -1
  213. package/lib/core/decorators/monkeyecx-decorators.d.ts +7 -7
  214. package/lib/core/decorators/monkeyecx-download-decorators.d.ts +2 -2
  215. package/lib/core/decorators/monkeyecx-upload-decorators.d.ts +2 -2
  216. package/lib/core/directives/index.d.ts +12 -12
  217. package/lib/core/directives/monkeyecx-directives-module.d.ts +19 -19
  218. package/lib/core/directives/monkeyecx-drag-drop.d.ts +12 -12
  219. package/lib/core/directives/monkeyecx-feature-by-program-directive.d.ts +16 -16
  220. package/lib/core/directives/monkeyecx-feature-directive.d.ts +17 -17
  221. package/lib/core/directives/monkeyecx-format-currency.d.ts +16 -16
  222. package/lib/core/directives/monkeyecx-format-upper.d.ts +18 -18
  223. package/lib/core/directives/monkeyecx-only-alpha-numeric-directive.d.ts +9 -9
  224. package/lib/core/directives/monkeyecx-only-number-directive.d.ts +9 -9
  225. package/lib/core/directives/monkeyecx-popover-options.directive.d.ts +19 -19
  226. package/lib/core/directives/monkeyecx-popover.directive.d.ts +43 -43
  227. package/lib/core/directives/monkeyecx-security-directive.d.ts +18 -18
  228. package/lib/core/directives/monkeyecx-tooltip-directive.d.ts +23 -23
  229. package/lib/core/index.d.ts +10 -10
  230. package/lib/core/injectors/index.d.ts +4 -4
  231. package/lib/core/interceptors/index.d.ts +5 -5
  232. package/lib/core/interceptors/monkeyecx-http-config-error.interceptor.d.ts +18 -18
  233. package/lib/core/interceptors/monkeyecx-http-config-header.interceptor.d.ts +16 -16
  234. package/lib/core/interceptors/monkeyecx-http-config-interceptor.module.d.ts +9 -9
  235. package/lib/core/interceptors/monkeyecx-http-config-loading-in-progress.interceptor.d.ts +12 -12
  236. package/lib/core/interceptors/monkeyecx-http-config-queue.interceptor.d.ts +14 -14
  237. package/lib/core/interfaces/index.d.ts +34 -34
  238. package/lib/core/interfaces/monkeyecx-auth-credentials.d.ts +15 -15
  239. package/lib/core/interfaces/monkeyecx-company-pendencies.d.ts +14 -14
  240. package/lib/core/interfaces/monkeyecx-company.d.ts +10 -10
  241. package/lib/core/interfaces/monkeyecx-config-bootstrap.d.ts +14 -14
  242. package/lib/core/interfaces/monkeyecx-config.d.ts +132 -132
  243. package/lib/core/interfaces/monkeyecx-country-security.d.ts +4 -4
  244. package/lib/core/interfaces/monkeyecx-error-response.d.ts +5 -5
  245. package/lib/core/interfaces/monkeyecx-filter.d.ts +42 -42
  246. package/lib/core/interfaces/monkeyecx-handled-error-response.d.ts +10 -10
  247. package/lib/core/interfaces/monkeyecx-header-credentials.d.ts +4 -4
  248. package/lib/core/interfaces/monkeyecx-intercom-options.d.ts +4 -4
  249. package/lib/core/interfaces/monkeyecx-interface.d.ts +11 -11
  250. package/lib/core/interfaces/monkeyecx-me-credentials.d.ts +22 -22
  251. package/lib/core/interfaces/monkeyecx-navigation.d.ts +27 -27
  252. package/lib/core/interfaces/monkeyecx-pagination.d.ts +26 -26
  253. package/lib/core/interfaces/monkeyecx-program.d.ts +10 -10
  254. package/lib/core/interfaces/monkeyecx-releases.d.ts +9 -9
  255. package/lib/core/interfaces/monkeyecx-request-in-progress.d.ts +3 -3
  256. package/lib/core/interfaces/monkeyecx-request-paged.d.ts +23 -23
  257. package/lib/core/interfaces/monkeyecx-resolver.d.ts +39 -39
  258. package/lib/core/interfaces/monkeyecx-response-links.d.ts +11 -11
  259. package/lib/core/interfaces/monkeyecx-response-paged.d.ts +6 -6
  260. package/lib/core/interfaces/monkeyecx-saved-state.d.ts +5 -5
  261. package/lib/core/interfaces/monkeyecx-scroll-options.d.ts +5 -5
  262. package/lib/core/interfaces/monkeyecx-service-credentials.d.ts +12 -12
  263. package/lib/core/interfaces/monkeyecx-storage.d.ts +38 -38
  264. package/lib/core/interfaces/monkeyecx-store.d.ts +35 -35
  265. package/lib/core/interfaces/monkeyecx-support-options.d.ts +4 -4
  266. package/lib/core/interfaces/monkeyecx-token-credentials.d.ts +21 -21
  267. package/lib/core/interfaces/monkeyecx-translate-options.d.ts +4 -4
  268. package/lib/core/interfaces/request-download/index.d.ts +3 -3
  269. package/lib/core/interfaces/request-download/monkeyecx-request-download.d.ts +10 -10
  270. package/lib/core/interfaces/request-download/monkeyecx-request-downloaded.d.ts +7 -7
  271. package/lib/core/interfaces/request-download/monkeyecx-request-item-download.d.ts +7 -7
  272. package/lib/core/interfaces/request-queue/index.d.ts +3 -3
  273. package/lib/core/interfaces/request-queue/monkeyecx-request-item-queue.d.ts +7 -7
  274. package/lib/core/interfaces/request-queue/monkeyecx-request-progress-queue.d.ts +6 -6
  275. package/lib/core/interfaces/request-queue/monkeyecx-request-queue.d.ts +8 -8
  276. package/lib/core/interfaces/request-upload/index.d.ts +2 -2
  277. package/lib/core/interfaces/request-upload/monkeyecx-request-item-upload.d.ts +5 -5
  278. package/lib/core/interfaces/request-upload/monkeyecx-request-upload.d.ts +10 -10
  279. package/lib/core/interfaces/schedules/index.d.ts +1 -1
  280. package/lib/core/interfaces/schedules/monkeyecx-request-schedule.d.ts +13 -13
  281. package/lib/core/model/index.d.ts +2 -2
  282. package/lib/core/model/monkeyecx-links.model.d.ts +4 -4
  283. package/lib/core/model/monkeyecx-model.d.ts +14 -14
  284. package/lib/core/pipes/index.d.ts +22 -22
  285. package/lib/core/pipes/monkeyecx-blob-secure.d.ts +13 -13
  286. package/lib/core/pipes/monkeyecx-display-first-name.d.ts +7 -7
  287. package/lib/core/pipes/monkeyecx-display-initials.d.ts +7 -7
  288. package/lib/core/pipes/monkeyecx-display-support-phone.d.ts +18 -18
  289. package/lib/core/pipes/monkeyecx-format-address.d.ts +14 -14
  290. package/lib/core/pipes/monkeyecx-format-beautify-json.d.ts +8 -8
  291. package/lib/core/pipes/monkeyecx-format-currency.d.ts +12 -12
  292. package/lib/core/pipes/monkeyecx-format-date-group.d.ts +11 -11
  293. package/lib/core/pipes/monkeyecx-format-date-timelapse.d.ts +7 -7
  294. package/lib/core/pipes/monkeyecx-format-date-unix-timelapse.d.ts +7 -7
  295. package/lib/core/pipes/monkeyecx-format-date.d.ts +12 -12
  296. package/lib/core/pipes/monkeyecx-format-document.d.ts +7 -7
  297. package/lib/core/pipes/monkeyecx-format-number.d.ts +7 -7
  298. package/lib/core/pipes/monkeyecx-format-phone.d.ts +7 -7
  299. package/lib/core/pipes/monkeyecx-format-size.d.ts +7 -7
  300. package/lib/core/pipes/monkeyecx-format-tax.d.ts +7 -7
  301. package/lib/core/pipes/monkeyecx-format-type-document.d.ts +7 -7
  302. package/lib/core/pipes/monkeyecx-format-value.d.ts +7 -7
  303. package/lib/core/pipes/monkeyecx-format-zipcode.d.ts +7 -7
  304. package/lib/core/pipes/monkeyecx-pipes.module.d.ts +27 -27
  305. package/lib/core/pipes/monkeyecx-text-truncate.d.ts +7 -7
  306. package/lib/core/pipes/monkeyecx-truncate-qtd.d.ts +7 -7
  307. package/lib/core/services/alerts/index.d.ts +1 -1
  308. package/lib/core/services/alerts/monkeyecx-alerts.service.d.ts +21 -21
  309. package/lib/core/services/auth/index.d.ts +5 -5
  310. package/lib/core/services/auth/monkeyecx-auth-guard-company.service.d.ts +10 -10
  311. package/lib/core/services/auth/monkeyecx-auth-guard-login.service.d.ts +10 -10
  312. package/lib/core/services/auth/monkeyecx-auth-guard-role.service.d.ts +16 -16
  313. package/lib/core/services/auth/monkeyecx-auth-guard.service.d.ts +10 -10
  314. package/lib/core/services/auth/monkeyecx-authentication.service.d.ts +35 -35
  315. package/lib/core/services/commons/index.d.ts +3 -3
  316. package/lib/core/services/commons/monkeyecx-commons-resolve-base.service.d.ts +46 -46
  317. package/lib/core/services/commons/monkeyecx-commons-resolve.service.d.ts +60 -60
  318. package/lib/core/services/commons/monkeyecx-commons.service.d.ts +120 -120
  319. package/lib/core/services/config/monkeyecx-alerts-config.service.d.ts +11 -11
  320. package/lib/core/services/config/monkeyecx-config.module.d.ts +9 -9
  321. package/lib/core/services/config/monkeyecx-config.service.d.ts +36 -36
  322. package/lib/core/services/config/monkeyecx-currency-config.service.d.ts +15 -15
  323. package/lib/core/services/config/monkeyecx-error-config.service.d.ts +8 -8
  324. package/lib/core/services/config/monkeyecx-feature-toggle.service.d.ts +16 -16
  325. package/lib/core/services/config/monkeyecx-gtm-config.service.d.ts +8 -8
  326. package/lib/core/services/config/monkeyecx-i18n-config.service.d.ts +21 -21
  327. package/lib/core/services/config/monkeyecx-logs-config.service.d.ts +7 -7
  328. package/lib/core/services/config/monkeyecx-maintenance-config.service.d.ts +13 -13
  329. package/lib/core/services/config/monkeyecx-security-console-config.service.d.ts +12 -12
  330. package/lib/core/services/config/monkeyecx-service-worker-config.service.d.ts +16 -16
  331. package/lib/core/services/error/index.d.ts +4 -4
  332. package/lib/core/services/error/monkeyecx-error-handling.module.d.ts +9 -9
  333. package/lib/core/services/error/monkeyecx-error-handling.service.d.ts +9 -9
  334. package/lib/core/services/error/monkeyecx-http-error-handling.service.d.ts +26 -26
  335. package/lib/core/services/error/monkeyecx-others-errors-handling.service.d.ts +9 -9
  336. package/lib/core/services/index.d.ts +25 -25
  337. package/lib/core/services/logged/index.d.ts +1 -1
  338. package/lib/core/services/logged/monkeyecx-logged-handling.service.d.ts +14 -14
  339. package/lib/core/services/monkeyecx-handling.service.d.ts +22 -22
  340. package/lib/core/services/monkeyecx-service.service.d.ts +18 -18
  341. package/lib/core/services/pagination/index.d.ts +1 -1
  342. package/lib/core/services/pagination/monkeyecx-pagination.service.d.ts +9 -9
  343. package/lib/core/services/request-download/index.d.ts +2 -2
  344. package/lib/core/services/request-download/monkeyecx-request-download-handling.service.d.ts +18 -18
  345. package/lib/core/services/request-download/monkeyecx-request-downloaded-handling.service.d.ts +16 -16
  346. package/lib/core/services/request-paged/index.d.ts +1 -1
  347. package/lib/core/services/request-paged/monkeyecx-request-request-paged-handling.d.ts +11 -11
  348. package/lib/core/services/request-queue/index.d.ts +2 -2
  349. package/lib/core/services/request-queue/monkeyecx-request-queue-handling.service.d.ts +21 -21
  350. package/lib/core/services/request-queue/monkeyecx-request-queue-modal-handling.service.d.ts +23 -23
  351. package/lib/core/services/routes/index.d.ts +1 -1
  352. package/lib/core/services/routes/monkeyecx-dicovery-params.service.d.ts +13 -13
  353. package/lib/core/services/schedules/index.d.ts +1 -1
  354. package/lib/core/services/schedules/monkeyecx-request-schedule.service.d.ts +47 -47
  355. package/lib/core/services/storage/index.d.ts +2 -2
  356. package/lib/core/services/storage/monkeyecx-cookie-storage.service.d.ts +11 -11
  357. package/lib/core/services/storage/monkeyecx-token-storage.service.d.ts +30 -30
  358. package/lib/core/services/store/index.d.ts +4 -4
  359. package/lib/core/services/store/monkeyecx-store-base.service.d.ts +47 -47
  360. package/lib/core/services/store/monkeyecx-store.actions.d.ts +56 -56
  361. package/lib/core/services/store/monkeyecx-store.selector.d.ts +31 -31
  362. package/lib/core/services/store/monkeyecx-store.service.d.ts +50 -50
  363. package/lib/core/specification-search/index.d.ts +1 -1
  364. package/lib/core/specification-search/monkeyecx-specification-search.d.ts +20 -20
  365. package/lib/core/utils/decorators-utils.d.ts +5 -5
  366. package/lib/core/utils/index.d.ts +6 -6
  367. package/lib/core/utils/statics.d.ts +34 -34
  368. package/lib/core/utils/utils.d.ts +26 -26
  369. package/lib/core/utils/validate-utils.d.ts +66 -66
  370. package/lib/core/utils/validators.d.ts +36 -36
  371. package/lib/monkey-front-core.module.d.ts +19 -19
  372. package/lib/store/actions/index.d.ts +1 -1
  373. package/lib/store/actions/monkeyecx-storage.actions.d.ts +23 -23
  374. package/lib/store/index.d.ts +3 -3
  375. package/lib/store/reducers/index.d.ts +2 -2
  376. package/lib/store/reducers/monkeyecx-seeder.reducer.d.ts +2 -2
  377. package/lib/store/reducers/monkeyecx-storage.reducer.d.ts +13 -13
  378. package/lib/store/selectors/index.d.ts +1 -1
  379. package/lib/store/selectors/monkeyecx-storage.selector.d.ts +8 -8
  380. package/monkey-front-core-0.0.501.tgz +0 -0
  381. package/monkey-front-core.d.ts +5 -5
  382. package/package.json +3 -3
  383. package/public-api.d.ts +4 -4
  384. package/monkey-front-core-0.0.499.tgz +0 -0
@@ -1,53 +1,53 @@
1
- import { Injectable } from '@angular/core';
2
- import { concat, interval } from 'rxjs';
3
- import { first } from 'rxjs/operators';
4
- import { VersionChangedComponent } from '../../../components/version-changed';
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "@angular/service-worker";
7
- import * as i2 from "monkey-style-guide";
8
- export class MonkeyEcxServiceWorkerConfigService {
9
- constructor(appRef, updates, modalService) {
10
- this.appRef = appRef;
11
- this.updates = updates;
12
- this.modalService = modalService;
13
- // not to do
14
- }
15
- handleValidation(config) {
16
- const { updates, modalService } = this;
17
- updates?.available?.subscribe(() => {
18
- if (!config.showNewVersion || config.maintenance.closed) {
19
- document.location.reload();
20
- }
21
- else {
22
- modalService.open(VersionChangedComponent, {
23
- color: 'theme',
24
- size: 'md'
25
- });
26
- }
27
- });
28
- }
29
- verify() {
30
- const { appRef, updates } = this;
31
- const appIsStable$ = appRef.isStable
32
- .pipe(first((isStable) => { return isStable === true; }));
33
- const everyHour$ = interval(1 * 60 * 60 * 1000);
34
- const everyHourOnceAppIsStable$ = concat(appIsStable$, everyHour$);
35
- everyHourOnceAppIsStable$.subscribe(() => {
36
- updates.checkForUpdate();
37
- });
38
- updates.checkForUpdate();
39
- }
40
- apply(config) {
41
- this.handleValidation(config);
42
- this.verify();
43
- }
44
- }
45
- MonkeyEcxServiceWorkerConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxServiceWorkerConfigService, deps: [{ token: i0.ApplicationRef }, { token: i1.SwUpdate }, { token: i2.MonkeyStyleGuideModalService }], target: i0.ɵɵFactoryTarget.Injectable });
46
- MonkeyEcxServiceWorkerConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxServiceWorkerConfigService, providedIn: 'root' });
47
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxServiceWorkerConfigService, decorators: [{
48
- type: Injectable,
49
- args: [{
50
- providedIn: 'root'
51
- }]
52
- }], ctorParameters: function () { return [{ type: i0.ApplicationRef }, { type: i1.SwUpdate }, { type: i2.MonkeyStyleGuideModalService }]; } });
53
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9ua2V5ZWN4LXNlcnZpY2Utd29ya2VyLWNvbmZpZy5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbW9ua2V5LWZyb250LWNvcmUvc3JjL2xpYi9jb3JlL3NlcnZpY2VzL2NvbmZpZy9tb25rZXllY3gtc2VydmljZS13b3JrZXItY29uZmlnLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFrQixVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFHM0QsT0FBTyxFQUFFLE1BQU0sRUFBRSxRQUFRLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDeEMsT0FBTyxFQUFFLEtBQUssRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ3ZDLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLHFDQUFxQyxDQUFDOzs7O0FBTTlFLE1BQU0sT0FBTyxtQ0FBbUM7SUFDOUMsWUFDVSxNQUFzQixFQUN0QixPQUFpQixFQUNqQixZQUEwQztRQUYxQyxXQUFNLEdBQU4sTUFBTSxDQUFnQjtRQUN0QixZQUFPLEdBQVAsT0FBTyxDQUFVO1FBQ2pCLGlCQUFZLEdBQVosWUFBWSxDQUE4QjtRQUNsRCxZQUFZO0lBQ2QsQ0FBQztJQUVPLGdCQUFnQixDQUFDLE1BQWdDO1FBQ3ZELE1BQU0sRUFBRSxPQUFPLEVBQUUsWUFBWSxFQUFFLEdBQUcsSUFBSSxDQUFDO1FBQ3ZDLE9BQU8sRUFBRSxTQUFTLEVBQUUsU0FBUyxDQUFDLEdBQUcs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ciQpO1xyXG4gICAgZXZlcnlIb3VyT25jZUFwcElzU3RhYmxlJC5zdWJzY3JpYmUoKCkgPT4ge1xyXG4gICAgICB1cGRhdGVzLmNoZWNrRm9yVXBkYXRlKCk7XHJcbiAgICB9KTtcclxuICAgIHVwZGF0ZXMuY2hlY2tGb3JVcGRhdGUoKTtcclxuICB9XHJcblxyXG4gIHB1YmxpYyBhcHBseShjb25maWc6IE1vbmtleUVjeENvbmZpZ0Jvb3RzdHJhcCkge1xyXG4gICAgdGhpcy5oYW5kbGVWYWxpZGF0aW9uKGNvbmZpZyk7XHJcbiAgICB0aGlzLnZlcmlmeSgpO1xyXG4gIH1cclxufVxyXG4iXX0=
1
+ import { Injectable } from '@angular/core';
2
+ import { concat, interval } from 'rxjs';
3
+ import { first } from 'rxjs/operators';
4
+ import { VersionChangedComponent } from '../../../components/version-changed';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "@angular/service-worker";
7
+ import * as i2 from "monkey-style-guide";
8
+ export class MonkeyEcxServiceWorkerConfigService {
9
+ constructor(appRef, updates, modalService) {
10
+ this.appRef = appRef;
11
+ this.updates = updates;
12
+ this.modalService = modalService;
13
+ // not to do
14
+ }
15
+ handleValidation(config) {
16
+ const { updates, modalService } = this;
17
+ updates?.available?.subscribe(() => {
18
+ if (!config.showNewVersion || config.maintenance.closed) {
19
+ document.location.reload();
20
+ }
21
+ else {
22
+ modalService.open(VersionChangedComponent, {
23
+ color: 'theme',
24
+ size: 'md'
25
+ });
26
+ }
27
+ });
28
+ }
29
+ verify() {
30
+ const { appRef, updates } = this;
31
+ const appIsStable$ = appRef.isStable
32
+ .pipe(first((isStable) => { return isStable === true; }));
33
+ const everyHour$ = interval(1 * 60 * 60 * 1000);
34
+ const everyHourOnceAppIsStable$ = concat(appIsStable$, everyHour$);
35
+ everyHourOnceAppIsStable$.subscribe(() => {
36
+ updates.checkForUpdate();
37
+ });
38
+ updates.checkForUpdate();
39
+ }
40
+ apply(config) {
41
+ this.handleValidation(config);
42
+ this.verify();
43
+ }
44
+ }
45
+ MonkeyEcxServiceWorkerConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxServiceWorkerConfigService, deps: [{ token: i0.ApplicationRef }, { token: i1.SwUpdate }, { token: i2.MonkeyStyleGuideModalService }], target: i0.ɵɵFactoryTarget.Injectable });
46
+ MonkeyEcxServiceWorkerConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxServiceWorkerConfigService, providedIn: 'root' });
47
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxServiceWorkerConfigService, decorators: [{
48
+ type: Injectable,
49
+ args: [{
50
+ providedIn: 'root'
51
+ }]
52
+ }], ctorParameters: function () { return [{ type: i0.ApplicationRef }, { type: i1.SwUpdate }, { type: i2.MonkeyStyleGuideModalService }]; } });
53
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9ua2V5ZWN4LXNlcnZpY2Utd29ya2VyLWNvbmZpZy5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbW9ua2V5LWZyb250LWNvcmUvc3JjL2xpYi9jb3JlL3NlcnZpY2VzL2NvbmZpZy9tb25rZXllY3gtc2VydmljZS13b3JrZXItY29uZmlnLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFrQixVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFHM0QsT0FBTyxFQUFFLE1BQU0sRUFBRSxRQUFRLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDeEMsT0FBTyxFQUFFLEtBQUssRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ3ZDL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IGFwcFJlZiwgdXBkYXRlcyB9ID0gdGhpcztcbiAgICBjb25zdCBhcHBJc1N0YWJsZSQgPSBhcHBSZWYuaXNTdGFibGVcbiAgICAgIC5waXBlKGZpcnN0KChpc1N0YWJsZTogYm9vbGVhbikgPT4geyByZXR1cm4gaXNTdGFibGUgPT09IHRydWU7IH0pKTtcbiAgICBjb25zdCBldmVyeUhvdXIkID0gaW50ZXJ2YWwoMSAqIDYwICogNjAgKiAxMDAwKTtcbiAgICBjb25zdCBldmVyeUhvdXJPbmNlQXBwSXNTdGFibGUkID0gY29uY2F0KGFwcElzU3RhYmxlJCwgZXZlcnlIb3VyJCk7XG4gICAgZXZlcnlIb3VyT25jZUFwcElzU3RhYmxlJC5zdWJzY3JpYmUoKCkgPT4ge1xuICAgICAgdXBkYXRlcy5jaGVja0ZvclVwZGF0ZSgpO1xuICAgIH0pO1xuICAgIHVwZGF0ZXMuY2hlY2tGb3JVcGRhdGUoKTtcbiAgfVxuXG4gIHB1YmxpYyBhcHBseShjb25maWc6IE1vbmtleUVjeENvbmZpZ0Jvb3RzdHJhcCkge1xuICAgIHRoaXMuaGFuZGxlVmFsaWRhdGlvbihjb25maWcpO1xuICAgIHRoaXMudmVyaWZ5KCk7XG4gIH1cbn1cbiJdfQ==
@@ -1,5 +1,5 @@
1
- export * from './monkeyecx-error-handling.module';
2
- export * from './monkeyecx-error-handling.service';
3
- export * from './monkeyecx-http-error-handling.service';
4
- export * from './monkeyecx-others-errors-handling.service';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9tb25rZXktZnJvbnQtY29yZS9zcmMvbGliL2NvcmUvc2VydmljZXMvZXJyb3IvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxtQ0FBbUMsQ0FBQztBQUNsRCxjQUFjLG9DQUFvQyxDQUFDO0FBQ25ELGNBQWMseUNBQXlDLENBQUM7QUFDeEQsY0FBYyw0Q0FBNEMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbW9ua2V5ZWN4LWVycm9yLWhhbmRsaW5nLm1vZHVsZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbW9ua2V5ZWN4LWVycm9yLWhhbmRsaW5nLnNlcnZpY2UnO1xyXG5leHBvcnQgKiBmcm9tICcuL21vbmtleWVjeC1odHRwLWVycm9yLWhhbmRsaW5nLnNlcnZpY2UnO1xyXG5leHBvcnQgKiBmcm9tICcuL21vbmtleWVjeC1vdGhlcnMtZXJyb3JzLWhhbmRsaW5nLnNlcnZpY2UnO1xyXG4iXX0=
1
+ export * from './monkeyecx-error-handling.module';
2
+ export * from './monkeyecx-error-handling.service';
3
+ export * from './monkeyecx-http-error-handling.service';
4
+ export * from './monkeyecx-others-errors-handling.service';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9tb25rZXktZnJvbnQtY29yZS9zcmMvbGliL2NvcmUvc2VydmljZXMvZXJyb3IvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxtQ0FBbUMsQ0FBQztBQUNsRCxjQUFjLG9DQUFvQyxDQUFDO0FBQ25ELGNBQWMseUNBQXlDLENBQUM7QUFDeEQsY0FBYyw0Q0FBNEMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbW9ua2V5ZWN4LWVycm9yLWhhbmRsaW5nLm1vZHVsZSc7XG5leHBvcnQgKiBmcm9tICcuL21vbmtleWVjeC1lcnJvci1oYW5kbGluZy5zZXJ2aWNlJztcbmV4cG9ydCAqIGZyb20gJy4vbW9ua2V5ZWN4LWh0dHAtZXJyb3ItaGFuZGxpbmcuc2VydmljZSc7XG5leHBvcnQgKiBmcm9tICcuL21vbmtleWVjeC1vdGhlcnMtZXJyb3JzLWhhbmRsaW5nLnNlcnZpY2UnO1xuIl19
@@ -1,27 +1,27 @@
1
- import { ErrorHandler, NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { MonkeyEcxErrorHandlingService } from './monkeyecx-error-handling.service';
4
- import * as i0 from "@angular/core";
5
- export class MonkeyEcxErrorHandlingModule {
6
- static forRoot() {
7
- return {
8
- ngModule: MonkeyEcxErrorHandlingModule,
9
- providers: [
10
- {
11
- provide: ErrorHandler,
12
- useClass: MonkeyEcxErrorHandlingService,
13
- },
14
- ],
15
- };
16
- }
17
- }
18
- MonkeyEcxErrorHandlingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxErrorHandlingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
19
- MonkeyEcxErrorHandlingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxErrorHandlingModule, imports: [CommonModule] });
20
- MonkeyEcxErrorHandlingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxErrorHandlingModule, imports: [[CommonModule]] });
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxErrorHandlingModule, decorators: [{
22
- type: NgModule,
23
- args: [{
24
- imports: [CommonModule],
25
- }]
26
- }] });
27
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9ua2V5ZWN4LWVycm9yLWhhbmRsaW5nLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2V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Jy4vbW9ua2V5ZWN4LWVycm9yLWhhbmRsaW5nLnNlcnZpY2UnO1xyXG5cclxuQE5nTW9kdWxlKHtcclxuICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlXSxcclxufSlcclxuZXhwb3J0IGNsYXNzIE1vbmtleUVjeEVycm9ySGFuZGxpbmdNb2R1bGUge1xyXG4gIHB1YmxpYyBzdGF0aWMgZm9yUm9vdCgpOiBNb2R1bGVXaXRoUHJvdmlkZXJzPE1vbmtleUVjeEVycm9ySGFuZGxpbmdNb2R1bGU+IHtcclxuICAgIHJldHVybiB7XHJcbiAgICAgIG5nTW9kdWxlOiBNb25rZXlFY3hFcnJvckhhbmRsaW5nTW9kdWxlLFxyXG4gICAgICBwcm92aWRlcnM6IFtcclxuICAgICAgICB7XHJcbiAgICAgICAgICBwcm92aWRlOiBFcnJvckhhbmRsZXIsXHJcbiAgICAgICAgICB1c2VDbGFzczogTW9ua2V5RWN4RXJyb3JIYW5kbGluZ1NlcnZpY2UsXHJcbiAgICAgICAgfSxcclxuICAgICAgXSxcclxuICAgIH07XHJcbiAgfVxyXG59XHJcbiJdfQ==
1
+ import { ErrorHandler, NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { MonkeyEcxErrorHandlingService } from './monkeyecx-error-handling.service';
4
+ import * as i0 from "@angular/core";
5
+ export class MonkeyEcxErrorHandlingModule {
6
+ static forRoot() {
7
+ return {
8
+ ngModule: MonkeyEcxErrorHandlingModule,
9
+ providers: [
10
+ {
11
+ provide: ErrorHandler,
12
+ useClass: MonkeyEcxErrorHandlingService,
13
+ },
14
+ ],
15
+ };
16
+ }
17
+ }
18
+ MonkeyEcxErrorHandlingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxErrorHandlingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
19
+ MonkeyEcxErrorHandlingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxErrorHandlingModule, imports: [CommonModule] });
20
+ MonkeyEcxErrorHandlingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxErrorHandlingModule, imports: [[CommonModule]] });
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxErrorHandlingModule, decorators: [{
22
+ type: NgModule,
23
+ args: [{
24
+ imports: [CommonModule],
25
+ }]
26
+ }] });
27
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9ua2V5ZWN4LWVycm9yLWhhbmRsaW5nLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL21vbmtleS1mcm9udC1jb3JlL3NyYy9saWIvY29yZS9zZXJ2aWNlcy9lcnJvci9tb25rZXllY3gtZXJyb3ItaGFuZGxpbmcubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQXVCLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUM1RSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLDZCQUE2QixFQUFFLE1BQU0sb0NBQW9DLENBQUM7O0FBS25GLE1BQU0sT0FBTyw0QkFBNEI7SUFDaEMsTUFBTSxDQUFDLE9BQU87UUFDbkIsT0FBTztZQUNMLFFBQVEsRUFBRSw0QkFBNEI7WUFDdEMsU0FBUyxFQUFFO2dCQUNUO29CQUNFLE9BQU8sRUFBRSxZQUFZO29CQUNyQixRQUFRLEVBQUUsNkJBQTZCO2lCQUN4QzthQUNGO1NBQ0YsQ0FBQztJQUNKLENBQUM7O3lIQVhVLDRCQUE0QjswSEFBNUIsNEJBQTRCLFlBRjdCLFlBQVk7MEhBRVgsNEJBQTRCLFlBRjlCLENBQUMsWUFBWSxDQUFDOzJGQUVaLDRCQUE0QjtrQkFIeEMsUUFBUTttQkFBQztvQkFDUixPQUFPLEVBQUUsQ0FBQyxZQUFZLENBQUM7aUJBQ3hCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRXJyb3JIYW5kbGVyLCBNb2R1bGVXaXRoUHJvdmlkZXJzLCBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQ29tbW9uTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uJztcbmltcG9ydCB7IE1vbmtleUVjeEVycm9ySGFuZGxpbmdTZXJ2aWNlIH0gZnJvbSAnLi9tb25rZXllY3gtZXJyb3ItaGFuZGxpbmcuc2VydmljZSc7XG5cbkBOZ01vZHVsZSh7XG4gIGltcG9ydHM6IFtDb21tb25Nb2R1bGVdLFxufSlcbmV4cG9ydCBjbGFzcyBNb25rZXlFY3hFcnJvckhhbmRsaW5nTW9kdWxlIHtcbiAgcHVibGljIHN0YXRpYyBmb3JSb290KCk6IE1vZHVsZVdpdGhQcm92aWRlcnM8TW9ua2V5RWN4RXJyb3JIYW5kbGluZ01vZHVsZT4ge1xuICAgIHJldHVybiB7XG4gICAgICBuZ01vZHVsZTogTW9ua2V5RWN4RXJyb3JIYW5kbGluZ01vZHVsZSxcbiAgICAgIHByb3ZpZGVyczogW1xuICAgICAgICB7XG4gICAgICAgICAgcHJvdmlkZTogRXJyb3JIYW5kbGVyLFxuICAgICAgICAgIHVzZUNsYXNzOiBNb25rZXlFY3hFcnJvckhhbmRsaW5nU2VydmljZSxcbiAgICAgICAgfSxcbiAgICAgIF0sXG4gICAgfTtcbiAgfVxufVxuIl19
@@ -1,37 +1,37 @@
1
- import { HttpErrorResponse } from '@angular/common/http';
2
- import { Injectable } from '@angular/core';
3
- import { MonkeyEcxUtils } from '../../utils/utils';
4
- import { MonkeyEcxHandlingService } from '../monkeyecx-handling.service';
5
- import { MonkeyEcxHttpErrorHandlingService } from './monkeyecx-http-error-handling.service';
6
- import { MonkeyEcxOthersErrorsHandlingService } from './monkeyecx-others-errors-handling.service';
7
- import * as i0 from "@angular/core";
8
- export class MonkeyEcxErrorHandlingService {
9
- constructor(injector) {
10
- this.injector = injector;
11
- // not to do
12
- }
13
- handleError(error, type) {
14
- const { injector } = this;
15
- const handlingService = injector.get(MonkeyEcxHandlingService);
16
- const httpErrorHandlingService = injector.get(MonkeyEcxHttpErrorHandlingService);
17
- const othersErrorsHandlingService = injector.get(MonkeyEcxOthersErrorsHandlingService);
18
- if (error instanceof HttpErrorResponse) {
19
- const sCredentials = handlingService?.getMonkeyEcxServiceCredentials() || {};
20
- if (MonkeyEcxUtils.persistNullEmptyUndefined(type) && type === 'refresh_token') {
21
- httpErrorHandlingService.handleErrorRefreshToken(error, sCredentials);
22
- }
23
- else
24
- httpErrorHandlingService.handleError(error, sCredentials);
25
- }
26
- else {
27
- othersErrorsHandlingService.handleError(error);
28
- }
29
- }
30
- }
31
- MonkeyEcxErrorHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxErrorHandlingService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
32
- MonkeyEcxErrorHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxErrorHandlingService, providedIn: 'root' });
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxErrorHandlingService, decorators: [{
34
- type: Injectable,
35
- args: [{ providedIn: 'root' }]
36
- }], ctorParameters: function () { return [{ type: i0.Injector }]; } });
37
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9ua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rZXlFY3hTZXJ2aWNlQ3JlZGVudGlhbHMgPVxyXG4gICAgICAgIGhhbmRsaW5nU2VydmljZT8uZ2V0TW9ua2V5RWN4U2VydmljZUNyZWRlbnRpYWxzKCkgfHwge307XHJcbiAgICAgIGlmIChNb25rZXlFY3hVdGlscy5wZXJzaXN0TnVsbEVtcHR5VW5kZWZpbmVkKHR5cGUpICYmIHR5cGUgPT09ICdyZWZyZXNoX3Rva2VuJykge1xyXG4gICAgICAgIGh0dHBFcnJvckhhbmRsaW5nU2VydmljZS5oYW5kbGVFcnJvclJlZnJlc2hUb2tlbihlcnJvciwgc0NyZWRlbnRpYWxzKTtcclxuICAgICAgfSBlbHNlIGh0dHBFcnJvckhhbmRsaW5nU2VydmljZS5oYW5kbGVFcnJvcihlcnJvciwgc0NyZWRlbnRpYWxzKTtcclxuICAgIH0gZWxzZSB7XHJcbiAgICAgIG90aGVyc0Vycm9yc0hhbmRsaW5nU2VydmljZS5oYW5kbGVFcnJvcihlcnJvcik7XHJcbiAgICB9XHJcbiAgfVxyXG59XHJcbiJdfQ==
1
+ import { HttpErrorResponse } from '@angular/common/http';
2
+ import { Injectable } from '@angular/core';
3
+ import { MonkeyEcxUtils } from '../../utils/utils';
4
+ import { MonkeyEcxHandlingService } from '../monkeyecx-handling.service';
5
+ import { MonkeyEcxHttpErrorHandlingService } from './monkeyecx-http-error-handling.service';
6
+ import { MonkeyEcxOthersErrorsHandlingService } from './monkeyecx-others-errors-handling.service';
7
+ import * as i0 from "@angular/core";
8
+ export class MonkeyEcxErrorHandlingService {
9
+ constructor(injector) {
10
+ this.injector = injector;
11
+ // not to do
12
+ }
13
+ handleError(error, type) {
14
+ const { injector } = this;
15
+ const handlingService = injector.get(MonkeyEcxHandlingService);
16
+ const httpErrorHandlingService = injector.get(MonkeyEcxHttpErrorHandlingService);
17
+ const othersErrorsHandlingService = injector.get(MonkeyEcxOthersErrorsHandlingService);
18
+ if (error instanceof HttpErrorResponse) {
19
+ const sCredentials = handlingService?.getMonkeyEcxServiceCredentials() || {};
20
+ if (MonkeyEcxUtils.persistNullEmptyUndefined(type) && type === 'refresh_token') {
21
+ httpErrorHandlingService.handleErrorRefreshToken(error, sCredentials);
22
+ }
23
+ else
24
+ httpErrorHandlingService.handleError(error, sCredentials);
25
+ }
26
+ else {
27
+ othersErrorsHandlingService.handleError(error);
28
+ }
29
+ }
30
+ }
31
+ MonkeyEcxErrorHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxErrorHandlingService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
32
+ MonkeyEcxErrorHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxErrorHandlingService, providedIn: 'root' });
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxErrorHandlingService, decorators: [{
34
+ type: Injectable,
35
+ args: [{ providedIn: 'root' }]
36
+ }], ctorParameters: function () { return [{ type: i0.Injector }]; } });
37
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9ua2V5ZWN4LWVycm9yLWhhbmRsaW5nLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9tb25rZXktZnJvbnQtY29yZS9zcmMvbGliL2NvcmUvc2VydmljZXMvZXJyb3IvbW9ua2V5ZWN4LWVycm9yLWhhbmRsaW5nLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sc0JBQXNCLENBQUM7QUFDekQsT0FBTyxFQUFnQixVQUFVLEVBQVksTUFBTSxlQUFlLENBQUM7QUFFbkUsT0FBTyxFQUFFLGNBQWM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