monkey-front-core 0.0.34 → 0.0.38

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 (258) hide show
  1. package/README.md +24 -24
  2. package/esm2020/lib/components/closed-to-maintenance/closed-to-maintenance.component.mjs +29 -0
  3. package/{esm2015/lib/components/closed-to-maintenance/closed-to-maintenance.module.js → esm2020/lib/components/closed-to-maintenance/closed-to-maintenance.module.mjs} +5 -5
  4. package/{esm2015/lib/components/closed-to-maintenance/index.js → esm2020/lib/components/closed-to-maintenance/index.mjs} +1 -1
  5. package/{esm2015/lib/components/index.js → esm2020/lib/components/index.mjs} +0 -0
  6. package/{esm2015/lib/components/progress-bar/index.js → esm2020/lib/components/progress-bar/index.mjs} +1 -1
  7. package/esm2020/lib/components/progress-bar/progress-bar.component.mjs +23 -0
  8. package/{esm2015/lib/components/progress-bar/progress-bar.module.js → esm2020/lib/components/progress-bar/progress-bar.module.mjs} +5 -5
  9. package/esm2020/lib/components/progress-bar/progress-bar.service.mjs +50 -0
  10. package/{esm2015/lib/components/version-changed/index.js → esm2020/lib/components/version-changed/index.mjs} +1 -1
  11. package/esm2020/lib/components/version-changed/version-changed.component.mjs +24 -0
  12. package/{esm2015/lib/components/version-changed/version-changed.module.js → esm2020/lib/components/version-changed/version-changed.module.mjs} +5 -5
  13. package/esm2020/lib/core/decorators/index.mjs +5 -0
  14. package/esm2020/lib/core/decorators/monkeyecx-charts-decorators.mjs +40 -0
  15. package/esm2020/lib/core/decorators/monkeyecx-decorators.mjs +111 -0
  16. package/esm2020/lib/core/decorators/monkeyecx-download-decorators.mjs +26 -0
  17. package/esm2020/lib/core/decorators/monkeyecx-upload-decorators.mjs +26 -0
  18. package/{esm2015/lib/core/directives/index.js → esm2020/lib/core/directives/index.mjs} +2 -1
  19. package/esm2020/lib/core/directives/monkeyecx-directives-module.mjs +55 -0
  20. package/esm2020/lib/core/directives/monkeyecx-drag-drop.mjs +57 -0
  21. package/esm2020/lib/core/directives/monkeyecx-feature-directive.mjs +68 -0
  22. package/{esm2015/lib/core/directives/monkeyecx-format-currency.js → esm2020/lib/core/directives/monkeyecx-format-currency.mjs} +4 -4
  23. package/esm2020/lib/core/directives/monkeyecx-format-upper.mjs +67 -0
  24. package/{esm2015/lib/core/directives/monkeyecx-only-alpha-numeric-directive.js → esm2020/lib/core/directives/monkeyecx-only-alpha-numeric-directive.mjs} +4 -4
  25. package/{esm2015/lib/core/directives/monkeyecx-only-number-directive.js → esm2020/lib/core/directives/monkeyecx-only-number-directive.mjs} +4 -4
  26. package/esm2020/lib/core/directives/monkeyecx-security-directive.mjs +69 -0
  27. package/esm2020/lib/core/directives/monkeyecx-tooltip-directive.mjs +123 -0
  28. package/{esm2015/lib/core/index.js → esm2020/lib/core/index.mjs} +1 -1
  29. package/{esm2015/lib/core/interceptors/index.js → esm2020/lib/core/interceptors/index.mjs} +1 -1
  30. package/esm2020/lib/core/interceptors/monkeyecx-http-config-error.interceptor.mjs +39 -0
  31. package/esm2020/lib/core/interceptors/monkeyecx-http-config-header.interceptor.mjs +32 -0
  32. package/{esm2015/lib/core/interceptors/monkeyecx-http-config-interceptor.module.js → esm2020/lib/core/interceptors/monkeyecx-http-config-interceptor.module.mjs} +5 -5
  33. package/esm2020/lib/core/interceptors/monkeyecx-http-config-loading-in-progress.interceptor.mjs +43 -0
  34. package/esm2020/lib/core/interceptors/monkeyecx-http-config-queue.interceptor.mjs +37 -0
  35. package/{esm2015/lib/core/interfaces/index.js → esm2020/lib/core/interfaces/index.mjs} +1 -1
  36. package/esm2020/lib/core/interfaces/monkeyecx-auth-credentials.mjs +2 -0
  37. package/{esm2015/lib/core/interfaces/monkeyecx-company.js → esm2020/lib/core/interfaces/monkeyecx-company.mjs} +1 -1
  38. package/esm2020/lib/core/interfaces/monkeyecx-config-boostrap.mjs +2 -0
  39. package/esm2020/lib/core/interfaces/monkeyecx-config.mjs +2 -0
  40. package/{esm2015/lib/core/interfaces/monkeyecx-error-response.js → esm2020/lib/core/interfaces/monkeyecx-error-response.mjs} +1 -1
  41. package/{esm2015/lib/core/interfaces/monkeyecx-handled-error-response.js → esm2020/lib/core/interfaces/monkeyecx-handled-error-response.mjs} +1 -1
  42. package/{esm2015/lib/core/interfaces/monkeyecx-header-credentials.js → esm2020/lib/core/interfaces/monkeyecx-header-credentials.mjs} +1 -1
  43. package/{esm2015/lib/core/interfaces/monkeyecx-intercom-options.js → esm2020/lib/core/interfaces/monkeyecx-intercom-options.mjs} +1 -1
  44. package/esm2020/lib/core/interfaces/monkeyecx-me-credentials.mjs +2 -0
  45. package/esm2020/lib/core/interfaces/monkeyecx-navigation.mjs +2 -0
  46. package/{esm2015/lib/core/interfaces/monkeyecx-program.js → esm2020/lib/core/interfaces/monkeyecx-program.mjs} +1 -1
  47. package/{esm2015/lib/core/interfaces/monkeyecx-releases.js → esm2020/lib/core/interfaces/monkeyecx-releases.mjs} +1 -1
  48. package/{esm2015/lib/core/interfaces/monkeyecx-request-in-progress.js → esm2020/lib/core/interfaces/monkeyecx-request-in-progress.mjs} +1 -1
  49. package/esm2020/lib/core/interfaces/monkeyecx-request-paged.mjs +2 -0
  50. package/{esm2015/lib/core/interfaces/monkeyecx-response-paged.js → esm2020/lib/core/interfaces/monkeyecx-response-paged.mjs} +1 -1
  51. package/esm2020/lib/core/interfaces/monkeyecx-service-credentials.mjs +2 -0
  52. package/esm2020/lib/core/interfaces/monkeyecx-token-credentials.mjs +2 -0
  53. package/{esm2015/lib/core/interfaces/monkeyecx-translate-options.js → esm2020/lib/core/interfaces/monkeyecx-translate-options.mjs} +1 -1
  54. package/{esm2015/lib/core/interfaces/request-download/index.js → esm2020/lib/core/interfaces/request-download/index.mjs} +1 -1
  55. package/esm2020/lib/core/interfaces/request-download/monkeyecx-request-download.mjs +2 -0
  56. package/{esm2015/lib/core/interfaces/request-download/monkeyecx-request-downloaded.js → esm2020/lib/core/interfaces/request-download/monkeyecx-request-downloaded.mjs} +1 -1
  57. package/{esm2015/lib/core/interfaces/request-download/monkeyecx-request-item-download.js → esm2020/lib/core/interfaces/request-download/monkeyecx-request-item-download.mjs} +1 -1
  58. package/{esm2015/lib/core/interfaces/request-queue/index.js → esm2020/lib/core/interfaces/request-queue/index.mjs} +1 -1
  59. package/{esm2015/lib/core/interfaces/request-queue/monkeyecx-request-item-queue.js → esm2020/lib/core/interfaces/request-queue/monkeyecx-request-item-queue.mjs} +1 -1
  60. package/{esm2015/lib/core/interfaces/request-queue/monkeyecx-request-progress-queue.js → esm2020/lib/core/interfaces/request-queue/monkeyecx-request-progress-queue.mjs} +1 -1
  61. package/esm2020/lib/core/interfaces/request-queue/monkeyecx-request-queue.mjs +2 -0
  62. package/{esm2015/lib/core/interfaces/request-upload/index.js → esm2020/lib/core/interfaces/request-upload/index.mjs} +1 -1
  63. package/{esm2015/lib/core/interfaces/request-upload/monkeyecx-request-item-upload.js → esm2020/lib/core/interfaces/request-upload/monkeyecx-request-item-upload.mjs} +1 -1
  64. package/{esm2015/lib/core/interfaces/request-upload/monkeyecx-request-upload.js → esm2020/lib/core/interfaces/request-upload/monkeyecx-request-upload.mjs} +1 -1
  65. package/{esm2015/lib/core/interfaces/schedules/index.js → esm2020/lib/core/interfaces/schedules/index.mjs} +1 -1
  66. package/esm2020/lib/core/interfaces/schedules/monkeyecx-request-schedule.mjs +2 -0
  67. package/{esm2015/lib/core/model/index.js → esm2020/lib/core/model/index.mjs} +1 -1
  68. package/{esm2015/lib/core/model/monkeyecx-model.js → esm2020/lib/core/model/monkeyecx-model.mjs} +1 -1
  69. package/esm2020/lib/core/pipes/index.mjs +16 -0
  70. package/esm2020/lib/core/pipes/monkeyecx-display-first-name.mjs +19 -0
  71. package/esm2020/lib/core/pipes/monkeyecx-format-address.mjs +20 -0
  72. package/esm2020/lib/core/pipes/monkeyecx-format-currency.mjs +27 -0
  73. package/esm2020/lib/core/pipes/monkeyecx-format-date-timelapse.mjs +31 -0
  74. package/esm2020/lib/core/pipes/monkeyecx-format-date.mjs +29 -0
  75. package/esm2020/lib/core/pipes/monkeyecx-format-document.mjs +19 -0
  76. package/esm2020/lib/core/pipes/monkeyecx-format-number.mjs +20 -0
  77. package/esm2020/lib/core/pipes/monkeyecx-format-phone.mjs +42 -0
  78. package/esm2020/lib/core/pipes/monkeyecx-format-size.mjs +20 -0
  79. package/esm2020/lib/core/pipes/monkeyecx-format-type-document.mjs +19 -0
  80. package/esm2020/lib/core/pipes/monkeyecx-format-value.mjs +19 -0
  81. package/esm2020/lib/core/pipes/monkeyecx-format-zipcode.mjs +19 -0
  82. package/esm2020/lib/core/pipes/monkeyecx-pipes.module.mjs +87 -0
  83. package/esm2020/lib/core/pipes/monkeyecx-text-truncate.mjs +23 -0
  84. package/{esm2015/lib/core/pipes/monkeyecx-truncate-qtd.js → esm2020/lib/core/pipes/monkeyecx-truncate-qtd.mjs} +4 -4
  85. package/{esm2015/lib/core/services/auth/index.js → esm2020/lib/core/services/auth/index.mjs} +1 -1
  86. package/{esm2015/lib/core/services/auth/monkeyecx-auth-guard-login.service.js → esm2020/lib/core/services/auth/monkeyecx-auth-guard-login.service.mjs} +4 -4
  87. package/{esm2015/lib/core/services/auth/monkeyecx-auth-guard.service.js → esm2020/lib/core/services/auth/monkeyecx-auth-guard.service.mjs} +4 -4
  88. package/esm2020/lib/core/services/auth/monkeyecx-authentication.service.mjs +61 -0
  89. package/{esm2015/lib/core/services/commons/index.js → esm2020/lib/core/services/commons/index.mjs} +1 -1
  90. package/esm2020/lib/core/services/commons/monkeyecx-commons.service.mjs +269 -0
  91. package/{esm2015/lib/core/services/config/monkeyecx-config.module.js → esm2020/lib/core/services/config/monkeyecx-config.module.mjs} +5 -5
  92. package/esm2020/lib/core/services/config/monkeyecx-config.service.mjs +104 -0
  93. package/esm2020/lib/core/services/config/monkeyecx-error-config.service.mjs +85 -0
  94. package/esm2020/lib/core/services/config/monkeyecx-feature-toggle.service.mjs +65 -0
  95. package/esm2020/lib/core/services/config/monkeyecx-i18n-config.service.mjs +66 -0
  96. package/esm2020/lib/core/services/config/monkeyecx-logs-config.service.mjs +34 -0
  97. package/{esm2015/lib/core/services/config/monkeyecx-maintenance-config.service.js → esm2020/lib/core/services/config/monkeyecx-maintenance-config.service.mjs} +5 -5
  98. package/esm2020/lib/core/services/config/monkeyecx-security-console-config.service.mjs +42 -0
  99. package/esm2020/lib/core/services/config/monkeyecx-service-worker-config.service.mjs +53 -0
  100. package/{esm2015/lib/core/services/error/index.js → esm2020/lib/core/services/error/index.mjs} +1 -1
  101. package/{esm2015/lib/core/services/error/monkeyecx-error-handling.module.js → esm2020/lib/core/services/error/monkeyecx-error-handling.module.mjs} +5 -5
  102. package/esm2020/lib/core/services/error/monkeyecx-error-handling.service.mjs +39 -0
  103. package/esm2020/lib/core/services/error/monkeyecx-http-error-handling.service.mjs +127 -0
  104. package/{esm2015/lib/core/services/error/monkeyecx-others-errors-handling.service.js → esm2020/lib/core/services/error/monkeyecx-others-errors-handling.service.mjs} +4 -4
  105. package/esm2020/lib/core/services/index.mjs +24 -0
  106. package/{esm2015/lib/core/services/logged/index.js → esm2020/lib/core/services/logged/index.mjs} +1 -1
  107. package/{esm2015/lib/core/services/logged/monkeyecx-logged-handling.service.js → esm2020/lib/core/services/logged/monkeyecx-logged-handling.service.mjs} +4 -4
  108. package/esm2020/lib/core/services/monkeyecx-handling.service.mjs +50 -0
  109. package/esm2020/lib/core/services/monkeyecx-service.service.mjs +104 -0
  110. package/{esm2015/lib/core/services/request-download/index.js → esm2020/lib/core/services/request-download/index.mjs} +1 -1
  111. package/esm2020/lib/core/services/request-download/monkeyecx-request-download-handling.service.mjs +93 -0
  112. package/esm2020/lib/core/services/request-download/monkeyecx-request-downloaded-handling.service.mjs +61 -0
  113. package/{esm2015/lib/core/services/request-paged/index.js → esm2020/lib/core/services/request-paged/index.mjs} +1 -1
  114. package/esm2020/lib/core/services/request-paged/monkeyecx-request-request-paged-handling.mjs +30 -0
  115. package/{esm2015/lib/core/services/request-queue/index.js → esm2020/lib/core/services/request-queue/index.mjs} +1 -1
  116. package/esm2020/lib/core/services/request-queue/monkeyecx-request-queue-handling.service.mjs +114 -0
  117. package/esm2020/lib/core/services/request-queue/monkeyecx-request-queue-modal-handling.service.mjs +119 -0
  118. package/{esm2015/lib/core/services/routes/index.js → esm2020/lib/core/services/routes/index.mjs} +1 -1
  119. package/{esm2015/lib/core/services/routes/monkeyecx-dicovery-params.service.js → esm2020/lib/core/services/routes/monkeyecx-dicovery-params.service.mjs} +6 -6
  120. package/{esm2015/lib/core/services/schedules/index.js → esm2020/lib/core/services/schedules/index.mjs} +1 -1
  121. package/esm2020/lib/core/services/schedules/monkeyecx-request-schedule.service.mjs +127 -0
  122. package/{esm2015/lib/core/services/storage/index.js → esm2020/lib/core/services/storage/index.mjs} +1 -1
  123. package/{esm2015/lib/core/services/storage/monkeyecx-cookie-storage.service.js → esm2020/lib/core/services/storage/monkeyecx-cookie-storage.service.mjs} +5 -5
  124. package/esm2020/lib/core/services/storage/monkeyecx-token-storage.service.mjs +125 -0
  125. package/{esm2015/lib/core/specification-search/index.js → esm2020/lib/core/specification-search/index.mjs} +1 -1
  126. package/esm2020/lib/core/specification-search/monkeyecx-specification-search.mjs +97 -0
  127. package/esm2020/lib/core/utils/decorators-utils.mjs +40 -0
  128. package/{esm2015/lib/core/utils/index.js → esm2020/lib/core/utils/index.mjs} +1 -1
  129. package/{esm2015/lib/core/utils/statics.js → esm2020/lib/core/utils/statics.mjs} +1 -1
  130. package/esm2020/lib/core/utils/utils.mjs +218 -0
  131. package/esm2020/lib/core/utils/validate-utils.mjs +204 -0
  132. package/esm2020/lib/core/utils/validators.mjs +193 -0
  133. package/esm2020/lib/monkey-front-core.module.mjs +62 -0
  134. package/{esm2015/monkey-front-core.js → esm2020/monkey-front-core.mjs} +0 -0
  135. package/{esm2015/public-api.js → esm2020/public-api.mjs} +1 -1
  136. package/fesm2015/{monkey-front-core.js → monkey-front-core.mjs} +776 -517
  137. package/fesm2015/monkey-front-core.mjs.map +1 -0
  138. package/fesm2020/monkey-front-core.mjs +4213 -0
  139. package/fesm2020/monkey-front-core.mjs.map +1 -0
  140. package/lib/components/closed-to-maintenance/closed-to-maintenance.component.d.ts +2 -2
  141. package/lib/components/progress-bar/progress-bar.service.d.ts +1 -1
  142. package/lib/components/version-changed/version-changed.component.d.ts +1 -1
  143. package/lib/core/decorators/index.d.ts +1 -0
  144. package/lib/core/decorators/monkeyecx-charts-decorators.d.ts +1 -0
  145. package/lib/core/directives/index.d.ts +1 -0
  146. package/lib/core/directives/monkeyecx-directives-module.d.ts +7 -6
  147. package/lib/core/directives/monkeyecx-feature-directive.d.ts +17 -0
  148. package/lib/core/directives/monkeyecx-format-upper.d.ts +2 -2
  149. package/lib/core/directives/monkeyecx-security-directive.d.ts +1 -1
  150. package/lib/core/directives/monkeyecx-tooltip-directive.d.ts +7 -6
  151. package/lib/core/interfaces/monkeyecx-service-credentials.d.ts +2 -1
  152. package/lib/core/interfaces/request-download/monkeyecx-request-download.d.ts +1 -1
  153. package/lib/core/interfaces/request-download/monkeyecx-request-item-download.d.ts +1 -1
  154. package/lib/core/interfaces/request-queue/monkeyecx-request-queue.d.ts +1 -1
  155. package/lib/core/interfaces/request-upload/monkeyecx-request-item-upload.d.ts +1 -1
  156. package/lib/core/interfaces/request-upload/monkeyecx-request-upload.d.ts +1 -1
  157. package/lib/core/model/monkeyecx-model.d.ts +1 -1
  158. package/lib/core/pipes/index.d.ts +3 -0
  159. package/lib/core/pipes/monkeyecx-display-first-name.d.ts +0 -1
  160. package/lib/core/pipes/monkeyecx-format-address.d.ts +14 -0
  161. package/lib/core/pipes/monkeyecx-format-currency.d.ts +1 -3
  162. package/lib/core/pipes/monkeyecx-format-date-timelapse.d.ts +1 -2
  163. package/lib/core/pipes/monkeyecx-format-date.d.ts +7 -0
  164. package/lib/core/pipes/monkeyecx-format-document.d.ts +0 -1
  165. package/lib/core/pipes/monkeyecx-format-number.d.ts +3 -4
  166. package/lib/core/pipes/monkeyecx-format-phone.d.ts +7 -0
  167. package/lib/core/pipes/monkeyecx-format-size.d.ts +0 -1
  168. package/lib/core/pipes/monkeyecx-format-type-document.d.ts +3 -4
  169. package/lib/core/pipes/monkeyecx-format-value.d.ts +0 -1
  170. package/lib/core/pipes/monkeyecx-format-zipcode.d.ts +0 -1
  171. package/lib/core/pipes/monkeyecx-pipes.module.d.ts +14 -11
  172. package/lib/core/pipes/monkeyecx-text-truncate.d.ts +0 -1
  173. package/lib/core/services/auth/monkeyecx-authentication.service.d.ts +6 -6
  174. package/lib/core/services/commons/monkeyecx-commons.service.d.ts +27 -27
  175. package/lib/core/services/config/monkeyecx-config.service.d.ts +1 -1
  176. package/lib/core/services/config/monkeyecx-i18n-config.service.d.ts +0 -1
  177. package/lib/core/services/config/monkeyecx-maintenance-config.service.d.ts +1 -1
  178. package/lib/core/services/index.d.ts +13 -3
  179. package/lib/core/services/monkeyecx-handling.service.d.ts +8 -5
  180. package/lib/core/services/request-paged/monkeyecx-request-request-paged-handling.d.ts +1 -1
  181. package/lib/core/services/request-queue/monkeyecx-request-queue-handling.service.d.ts +2 -2
  182. package/lib/core/services/schedules/monkeyecx-request-schedule.service.d.ts +2 -2
  183. package/lib/core/utils/validate-utils.d.ts +13 -13
  184. package/monkey-front-core-0.0.38.tgz +0 -0
  185. package/package.json +22 -9
  186. package/bundles/monkey-front-core.umd.js +0 -4560
  187. package/bundles/monkey-front-core.umd.js.map +0 -1
  188. package/esm2015/lib/components/closed-to-maintenance/closed-to-maintenance.component.js +0 -32
  189. package/esm2015/lib/components/progress-bar/progress-bar.component.js +0 -28
  190. package/esm2015/lib/components/progress-bar/progress-bar.service.js +0 -49
  191. package/esm2015/lib/components/version-changed/version-changed.component.js +0 -25
  192. package/esm2015/lib/core/decorators/index.js +0 -4
  193. package/esm2015/lib/core/decorators/monkeyecx-decorators.js +0 -108
  194. package/esm2015/lib/core/decorators/monkeyecx-download-decorators.js +0 -24
  195. package/esm2015/lib/core/decorators/monkeyecx-upload-decorators.js +0 -24
  196. package/esm2015/lib/core/directives/monkeyecx-directives-module.js +0 -50
  197. package/esm2015/lib/core/directives/monkeyecx-drag-drop.js +0 -57
  198. package/esm2015/lib/core/directives/monkeyecx-format-upper.js +0 -67
  199. package/esm2015/lib/core/directives/monkeyecx-security-directive.js +0 -67
  200. package/esm2015/lib/core/directives/monkeyecx-tooltip-directive.js +0 -110
  201. package/esm2015/lib/core/interceptors/monkeyecx-http-config-error.interceptor.js +0 -39
  202. package/esm2015/lib/core/interceptors/monkeyecx-http-config-header.interceptor.js +0 -32
  203. package/esm2015/lib/core/interceptors/monkeyecx-http-config-loading-in-progress.interceptor.js +0 -41
  204. package/esm2015/lib/core/interceptors/monkeyecx-http-config-queue.interceptor.js +0 -37
  205. package/esm2015/lib/core/interfaces/monkeyecx-auth-credentials.js +0 -2
  206. package/esm2015/lib/core/interfaces/monkeyecx-config-boostrap.js +0 -2
  207. package/esm2015/lib/core/interfaces/monkeyecx-config.js +0 -2
  208. package/esm2015/lib/core/interfaces/monkeyecx-me-credentials.js +0 -2
  209. package/esm2015/lib/core/interfaces/monkeyecx-navigation.js +0 -2
  210. package/esm2015/lib/core/interfaces/monkeyecx-request-paged.js +0 -2
  211. package/esm2015/lib/core/interfaces/monkeyecx-service-credentials.js +0 -2
  212. package/esm2015/lib/core/interfaces/monkeyecx-token-credentials.js +0 -2
  213. package/esm2015/lib/core/interfaces/request-download/monkeyecx-request-download.js +0 -2
  214. package/esm2015/lib/core/interfaces/request-queue/monkeyecx-request-queue.js +0 -2
  215. package/esm2015/lib/core/interfaces/schedules/monkeyecx-request-schedule.js +0 -2
  216. package/esm2015/lib/core/pipes/index.js +0 -13
  217. package/esm2015/lib/core/pipes/monkeyecx-display-first-name.js +0 -22
  218. package/esm2015/lib/core/pipes/monkeyecx-format-currency.js +0 -30
  219. package/esm2015/lib/core/pipes/monkeyecx-format-date-timelapse.js +0 -37
  220. package/esm2015/lib/core/pipes/monkeyecx-format-document.js +0 -22
  221. package/esm2015/lib/core/pipes/monkeyecx-format-number.js +0 -23
  222. package/esm2015/lib/core/pipes/monkeyecx-format-size.js +0 -23
  223. package/esm2015/lib/core/pipes/monkeyecx-format-type-document.js +0 -22
  224. package/esm2015/lib/core/pipes/monkeyecx-format-value.js +0 -22
  225. package/esm2015/lib/core/pipes/monkeyecx-format-zipcode.js +0 -22
  226. package/esm2015/lib/core/pipes/monkeyecx-pipes.module.js +0 -72
  227. package/esm2015/lib/core/pipes/monkeyecx-text-truncate.js +0 -26
  228. package/esm2015/lib/core/services/auth/monkeyecx-authentication.service.js +0 -61
  229. package/esm2015/lib/core/services/commons/monkeyecx-commons.service.js +0 -242
  230. package/esm2015/lib/core/services/config/index.js +0 -9
  231. package/esm2015/lib/core/services/config/monkeyecx-config.service.js +0 -104
  232. package/esm2015/lib/core/services/config/monkeyecx-error-config.service.js +0 -85
  233. package/esm2015/lib/core/services/config/monkeyecx-feature-toggle.service.js +0 -65
  234. package/esm2015/lib/core/services/config/monkeyecx-i18n-config.service.js +0 -72
  235. package/esm2015/lib/core/services/config/monkeyecx-logs-config.service.js +0 -34
  236. package/esm2015/lib/core/services/config/monkeyecx-security-console-config.service.js +0 -42
  237. package/esm2015/lib/core/services/config/monkeyecx-service-worker-config.service.js +0 -54
  238. package/esm2015/lib/core/services/error/monkeyecx-error-handling.service.js +0 -39
  239. package/esm2015/lib/core/services/error/monkeyecx-http-error-handling.service.js +0 -131
  240. package/esm2015/lib/core/services/index.js +0 -14
  241. package/esm2015/lib/core/services/monkeyecx-handling.service.js +0 -44
  242. package/esm2015/lib/core/services/monkeyecx-service.service.js +0 -102
  243. package/esm2015/lib/core/services/request-download/monkeyecx-request-download-handling.service.js +0 -81
  244. package/esm2015/lib/core/services/request-download/monkeyecx-request-downloaded-handling.service.js +0 -55
  245. package/esm2015/lib/core/services/request-paged/monkeyecx-request-request-paged-handling.js +0 -30
  246. package/esm2015/lib/core/services/request-queue/monkeyecx-request-queue-handling.service.js +0 -97
  247. package/esm2015/lib/core/services/request-queue/monkeyecx-request-queue-modal-handling.service.js +0 -106
  248. package/esm2015/lib/core/services/schedules/monkeyecx-request-schedule.service.js +0 -99
  249. package/esm2015/lib/core/services/storage/monkeyecx-token-storage.service.js +0 -117
  250. package/esm2015/lib/core/specification-search/monkeyecx-specification-search.js +0 -97
  251. package/esm2015/lib/core/utils/decorators-utils.js +0 -37
  252. package/esm2015/lib/core/utils/utils.js +0 -219
  253. package/esm2015/lib/core/utils/validate-utils.js +0 -204
  254. package/esm2015/lib/core/utils/validators.js +0 -193
  255. package/esm2015/lib/monkey-front-core.module.js +0 -60
  256. package/fesm2015/monkey-front-core.js.map +0 -1
  257. package/lib/core/services/config/index.d.ts +0 -8
  258. package/monkey-front-core-0.0.34.tgz +0 -0
@@ -1,24 +1,23 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Pipe, Component, ViewEncapsulation, Input, NgModule, Injectable, EventEmitter, Directive, Output, HostBinding, HostListener, forwardRef, Self, NgZone, ErrorHandler, Optional, SkipSelf } from '@angular/core';
2
+ import { Pipe, Component, ViewEncapsulation, Input, Injectable, NgModule, EventEmitter, Directive, Output, HostBinding, HostListener, forwardRef, Self, NgZone, ErrorHandler, Optional, SkipSelf } from '@angular/core';
3
3
  import * as i1 from 'monkey-style-guide';
4
4
  import { MonkeyButtonModule, MonkeyIconModule, MonkeyInputModule, MonkeyModalModule, MonkeyUtils, MonkeyStyleGuideModule, MonkeyStyleGuideModalService, MonkeyStyleGuideSettingsService, MonkeyStyleGuideSnackbarService } from 'monkey-style-guide';
5
+ import * as i2 from '@angular/common';
6
+ import { formatNumber, CurrencyPipe, CommonModule } from '@angular/common';
5
7
  import * as i1$1 from '@ngx-translate/core';
6
- import { TranslateService, TranslateModule } from '@ngx-translate/core';
7
- import * as moment_ from 'moment';
8
- import * as i1$2 from '@angular/common';
9
- import { formatNumber, CurrencyPipe, CommonModule, registerLocaleData } from '@angular/common';
8
+ import { TranslateModule, TranslateService } from '@ngx-translate/core';
9
+ import * as moment$2 from 'moment';
10
+ import * as i1$2 from 'ngx-cookie-service';
10
11
  import * as i1$3 from '@angular/router';
11
12
  import { NavigationStart, NavigationEnd, NavigationError, NavigationCancel } from '@angular/router';
12
- import { BehaviorSubject, throwError, interval, concat, of } from 'rxjs';
13
- import { filter, take, takeWhile, map, catchError, first, mergeMap, finalize } from 'rxjs/operators';
13
+ import { BehaviorSubject, throwError, interval, concat, of, Subject } from 'rxjs';
14
+ import { filter, take, takeWhile, map, catchError, first, takeUntil, mergeMap, finalize } from 'rxjs/operators';
14
15
  import { NG_VALUE_ACCESSOR } from '@angular/forms';
15
16
  import { __decorate } from 'tslib';
16
17
  import * as i1$4 from '@angular/common/http';
17
18
  import { HttpParams, HttpErrorResponse, HTTP_INTERCEPTORS, HttpClientModule } from '@angular/common/http';
18
- import localePTBR from '@angular/common/locales/global/pt';
19
- import * as i1$5 from 'ngx-cookie-service';
20
19
  import { datadogRum } from '@datadog/browser-rum';
21
- import * as i1$6 from '@angular/service-worker';
20
+ import * as i1$5 from '@angular/service-worker';
22
21
  import { ServiceWorkerModule } from '@angular/service-worker';
23
22
  import { initialize } from 'launchdarkly-js-client-sdk';
24
23
 
@@ -155,7 +154,7 @@ class MonkeyEcxUtils {
155
154
  const randomString = new Array(len)
156
155
  .fill('1')
157
156
  .map(() => {
158
- return charSet.charAt(Math.floor(Math.random() * charSet.length));
157
+ return charSet === null || charSet === void 0 ? void 0 : charSet.charAt(Math.floor(Math.random() * (charSet === null || charSet === void 0 ? void 0 : charSet.length)));
159
158
  })
160
159
  .join('');
161
160
  return randomString;
@@ -241,146 +240,238 @@ class MonkeyEcxUtils {
241
240
  }
242
241
  }
243
242
 
244
- const moment$2 = moment_;
245
243
  class MonkeyEcxFormatDateTimelapsePipe {
246
- constructor() {
247
- // not todo
248
- }
249
- transform(date, showTime = false, useUtc = true, format) {
250
- var _a;
244
+ transform(date, showTime = false, useUtc = true, format = '- HH:mm') {
251
245
  if (!MonkeyEcxUtils.persistNullEmptyUndefined(date))
252
246
  return '';
253
- if (!format) {
254
- format = '- HH:mm';
255
- }
256
247
  let stillUtc = moment$2.utc(date).toDate();
257
248
  if (!useUtc)
258
249
  stillUtc = moment$2(date).toDate();
259
- if (((_a = date.toString()) === null || _a === void 0 ? void 0 : _a.indexOf(':')) <= -1) {
260
- stillUtc = date;
261
- showTime = false;
250
+ if (date.toString().indexOf(':') <= -1) {
251
+ if (typeof date === 'string') {
252
+ stillUtc = date;
253
+ showTime = false;
254
+ }
262
255
  }
263
256
  const formatFrom = `YYYY/MM/DD${showTime ? ` ${format}` : ''}`;
264
257
  const formatTo = `DD/MM/YYYY${showTime ? ` ${format}` : ''}`;
265
258
  return `${moment$2(stillUtc, formatFrom).format(formatTo)}`;
266
259
  }
267
260
  }
268
- MonkeyEcxFormatDateTimelapsePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatDateTimelapsePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
269
- MonkeyEcxFormatDateTimelapsePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatDateTimelapsePipe, name: "monkeyecxFormatDateTimelapse" });
270
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatDateTimelapsePipe, decorators: [{
261
+ MonkeyEcxFormatDateTimelapsePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatDateTimelapsePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
262
+ MonkeyEcxFormatDateTimelapsePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatDateTimelapsePipe, name: "monkeyecxFormatDateTimelapse" });
263
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatDateTimelapsePipe, decorators: [{
271
264
  type: Pipe,
272
265
  args: [{
273
266
  name: 'monkeyecxFormatDateTimelapse'
274
267
  }]
275
- }], ctorParameters: function () { return []; } });
268
+ }] });
276
269
 
277
270
  class ClosedToMaintenanceComponent {
278
271
  constructor() {
272
+ this.config = null;
279
273
  this._configBoostrap = null;
280
274
  }
281
275
  ngOnInit() {
282
- this._configBoostrap = this.config.data;
276
+ var _a;
277
+ this._configBoostrap = (_a = this.config) === null || _a === void 0 ? void 0 : _a.data;
283
278
  }
284
279
  onClose() {
285
280
  document.location.reload();
286
281
  }
287
282
  }
288
- ClosedToMaintenanceComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ClosedToMaintenanceComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
289
- ClosedToMaintenanceComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.15", type: ClosedToMaintenanceComponent, selector: "monkeyecx-closed-to-maintenance", inputs: { config: "config", modalRef: "modalRef" }, ngImport: i0, template: "<monkey-modal [config]=\"config\" [modalRef]=\"modalRef\">\r\n <div class=\"d-flex flex-column justify-content-center align-items-center\">\r\n <span class=\"h2\">\r\n {{ 'SCREENS.CLOSED-TO-MAINTENANCE.TITLE' | translate }}\r\n </span>\r\n <span class=\"information-title mt-4\">\r\n {{ 'SCREENS.CLOSED-TO-MAINTENANCE.INFORMATION-1' | translate }}\r\n </span>\r\n <span class=\"information-title mt-4\">\r\n {{ 'SCREENS.CLOSED-TO-MAINTENANCE.INFORMATION-2' | translate }}\r\n </span>\r\n <span class=\"information mt-3\">\r\n {{ 'SCREENS.CLOSED-TO-MAINTENANCE.INFORMATION-3' | translate }}\r\n {{ _configBoostrap?.maintenance?.endDate | monkeyecxFormatDateTimelapse: true }}\r\n </span>\r\n <span class=\"information-title mt-4\">\r\n {{ 'SCREENS.CLOSED-TO-MAINTENANCE.INFORMATION-4' | translate }}\r\n </span>\r\n </div>\r\n <div class=\"d-flex flex-column justify-content-center align-items-center mt-5\">\r\n <monkey-button type=\"primary\" color=\"theme\" (click)=\"onClose()\">\r\n {{ 'SCREENS.CLOSED-TO-MAINTENANCE.BUTTONS.UPDATE-MAINTENANCE' | translate }}\r\n </monkey-button>\r\n </div>\r\n</monkey-modal>", styles: ["monkeyecx-closed-to-maintenance .body{padding:24px;width:100%}monkeyecx-closed-to-maintenance .information-title{font-style:normal;font-weight:600;font-size:25px;line-height:32px;display:flex;align-items:center;text-align:center;color:#4b4a53}monkeyecx-closed-to-maintenance .information{font-style:normal;font-weight:normal;font-size:20px;line-height:24px;display:flex;align-items:center;text-align:center;color:#4b4a53;max-width:600px}monkeyecx-closed-to-maintenance .browser-name{font-style:normal;font-weight:normal;font-size:16px;line-height:24px;text-align:center;color:#9c9ca6}monkeyecx-closed-to-maintenance .option{text-decoration:none;padding:4px;background:#eee;border:1px solid #d6d6d6;box-sizing:border-box;border-radius:16px}monkeyecx-closed-to-maintenance monkey-modal mecx-monkey-modal .body{margin-bottom:0!important}\n"], components: [{ type: i1.MonkeyModalComponent, selector: "monkey-modal", inputs: ["config", "modalRef", "onHandleConfirm"] }, { type: i1.MonkeyButtonComponent, selector: "monkey-button", inputs: ["label", "icon", "iconPosition", "type", "color", "disabled", "size"] }], pipes: { "translate": i1$1.TranslatePipe, "monkeyecxFormatDateTimelapse": MonkeyEcxFormatDateTimelapsePipe }, encapsulation: i0.ViewEncapsulation.None });
290
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ClosedToMaintenanceComponent, decorators: [{
283
+ ClosedToMaintenanceComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ClosedToMaintenanceComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
284
+ ClosedToMaintenanceComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: ClosedToMaintenanceComponent, selector: "monkeyecx-closed-to-maintenance", inputs: { config: "config", modalRef: "modalRef" }, ngImport: i0, template: "<monkey-modal [config]=\"config\" [modalRef]=\"modalRef\" *ngIf=\"config\">\n <div class=\"d-flex flex-column justify-content-center align-items-center\">\n <span class=\"h2\">\n {{ 'SCREENS.CLOSED-TO-MAINTENANCE.TITLE' | translate }}\n </span>\n <span class=\"information-title mt-4\">\n {{ 'SCREENS.CLOSED-TO-MAINTENANCE.INFORMATION-1' | translate }}\n </span>\n <span class=\"information-title mt-4\">\n {{ 'SCREENS.CLOSED-TO-MAINTENANCE.INFORMATION-2' | translate }}\n </span>\n <span class=\"information mt-3\">\n {{ 'SCREENS.CLOSED-TO-MAINTENANCE.INFORMATION-3' | translate }}\n {{ _configBoostrap?.maintenance?.endDate | monkeyecxFormatDateTimelapse: true }}\n </span>\n <span class=\"information-title mt-4\">\n {{ 'SCREENS.CLOSED-TO-MAINTENANCE.INFORMATION-4' | translate }}\n </span>\n </div>\n <div class=\"d-flex flex-column justify-content-center align-items-center mt-5\">\n <monkey-button type=\"primary\" color=\"theme\" (click)=\"onClose()\">\n {{ 'SCREENS.CLOSED-TO-MAINTENANCE.BUTTONS.UPDATE-MAINTENANCE' | translate }}\n </monkey-button>\n </div>\n</monkey-modal>", styles: ["monkeyecx-closed-to-maintenance .body{padding:24px;width:100%}monkeyecx-closed-to-maintenance .information-title{font-style:normal;font-weight:600;font-size:25px;line-height:32px;display:flex;align-items:center;text-align:center;color:#4b4a53}monkeyecx-closed-to-maintenance .information{font-style:normal;font-weight:400;font-size:20px;line-height:24px;display:flex;align-items:center;text-align:center;color:#4b4a53;max-width:600px}monkeyecx-closed-to-maintenance .browser-name{font-style:normal;font-weight:400;font-size:16px;line-height:24px;text-align:center;color:#9c9ca6}monkeyecx-closed-to-maintenance .option{text-decoration:none;padding:4px;background:#eee;border:1px solid #d6d6d6;box-sizing:border-box;border-radius:16px}monkeyecx-closed-to-maintenance monkey-modal mecx-monkey-modal .body{margin-bottom:0!important}\n"], components: [{ type: i1.MonkeyModalComponent, selector: "monkey-modal", inputs: ["config", "modalRef", "onHandleConfirm"] }, { type: i1.MonkeyButtonComponent, selector: "monkey-button", inputs: ["label", "icon", "iconPosition", "type", "color", "disabled", "size"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "translate": i1$1.TranslatePipe, "monkeyecxFormatDateTimelapse": MonkeyEcxFormatDateTimelapsePipe }, encapsulation: i0.ViewEncapsulation.None });
285
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ClosedToMaintenanceComponent, decorators: [{
291
286
  type: Component,
292
- args: [{
293
- selector: 'monkeyecx-closed-to-maintenance',
294
- templateUrl: './closed-to-maintenance.component.html',
295
- styleUrls: ['./closed-to-maintenance.component.scss'],
296
- encapsulation: ViewEncapsulation.None
297
- }]
287
+ args: [{ selector: 'monkeyecx-closed-to-maintenance', encapsulation: ViewEncapsulation.None, template: "<monkey-modal [config]=\"config\" [modalRef]=\"modalRef\" *ngIf=\"config\">\n <div class=\"d-flex flex-column justify-content-center align-items-center\">\n <span class=\"h2\">\n {{ 'SCREENS.CLOSED-TO-MAINTENANCE.TITLE' | translate }}\n </span>\n <span class=\"information-title mt-4\">\n {{ 'SCREENS.CLOSED-TO-MAINTENANCE.INFORMATION-1' | translate }}\n </span>\n <span class=\"information-title mt-4\">\n {{ 'SCREENS.CLOSED-TO-MAINTENANCE.INFORMATION-2' | translate }}\n </span>\n <span class=\"information mt-3\">\n {{ 'SCREENS.CLOSED-TO-MAINTENANCE.INFORMATION-3' | translate }}\n {{ _configBoostrap?.maintenance?.endDate | monkeyecxFormatDateTimelapse: true }}\n </span>\n <span class=\"information-title mt-4\">\n {{ 'SCREENS.CLOSED-TO-MAINTENANCE.INFORMATION-4' | translate }}\n </span>\n </div>\n <div class=\"d-flex flex-column justify-content-center align-items-center mt-5\">\n <monkey-button type=\"primary\" color=\"theme\" (click)=\"onClose()\">\n {{ 'SCREENS.CLOSED-TO-MAINTENANCE.BUTTONS.UPDATE-MAINTENANCE' | translate }}\n </monkey-button>\n </div>\n</monkey-modal>", styles: ["monkeyecx-closed-to-maintenance .body{padding:24px;width:100%}monkeyecx-closed-to-maintenance .information-title{font-style:normal;font-weight:600;font-size:25px;line-height:32px;display:flex;align-items:center;text-align:center;color:#4b4a53}monkeyecx-closed-to-maintenance .information{font-style:normal;font-weight:400;font-size:20px;line-height:24px;display:flex;align-items:center;text-align:center;color:#4b4a53;max-width:600px}monkeyecx-closed-to-maintenance .browser-name{font-style:normal;font-weight:400;font-size:16px;line-height:24px;text-align:center;color:#9c9ca6}monkeyecx-closed-to-maintenance .option{text-decoration:none;padding:4px;background:#eee;border:1px solid #d6d6d6;box-sizing:border-box;border-radius:16px}monkeyecx-closed-to-maintenance monkey-modal mecx-monkey-modal .body{margin-bottom:0!important}\n"] }]
298
288
  }], propDecorators: { config: [{
299
289
  type: Input
300
290
  }], modalRef: [{
301
291
  type: Input
302
292
  }] } });
303
293
 
304
- class MonkeyEcxFormatNumber {
305
- constructor() {
306
- // not to do
307
- }
308
- transform(number) {
309
- if (!MonkeyEcxUtils.persistNullEmptyUndefined(number))
294
+ class MonkeyEcxDisplayFirstNamePipe {
295
+ transform(name) {
296
+ if (!MonkeyEcxUtils.persistNullEmptyUndefined(name))
310
297
  return '';
311
- return formatNumber(Number(number), 'ptbr');
298
+ return MonkeyEcxUtils.cutFirstLastName(name);
312
299
  }
313
300
  }
314
- MonkeyEcxFormatNumber.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatNumber, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
315
- MonkeyEcxFormatNumber.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatNumber, name: "monkeyecxFormatNumber" });
316
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatNumber, decorators: [{
301
+ MonkeyEcxDisplayFirstNamePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxDisplayFirstNamePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
302
+ MonkeyEcxDisplayFirstNamePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxDisplayFirstNamePipe, name: "monkeyecxDisplayFirstName" });
303
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxDisplayFirstNamePipe, decorators: [{
317
304
  type: Pipe,
318
305
  args: [{
319
- name: 'monkeyecxFormatNumber'
306
+ name: 'monkeyecxDisplayFirstName'
320
307
  }]
321
- }], ctorParameters: function () { return []; } });
308
+ }] });
322
309
 
323
- class MonkeyEcxFormatValue {
324
- constructor() {
310
+ class MonkeyEcxFormatAddressPipe {
311
+ transform({ zipCode, address, neighborhood, city, state, }) {
312
+ return [address, neighborhood, zipCode, city, state]
313
+ .filter((_) => {
314
+ return _;
315
+ })
316
+ .join(', ');
317
+ }
318
+ }
319
+ MonkeyEcxFormatAddressPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatAddressPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
320
+ MonkeyEcxFormatAddressPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatAddressPipe, name: "monkeyecxFormatAddress" });
321
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatAddressPipe, decorators: [{
322
+ type: Pipe,
323
+ args: [{
324
+ name: 'monkeyecxFormatAddress',
325
+ }]
326
+ }] });
327
+
328
+ /* eslint-disable object-curly-newline */
329
+ class MonkeyEcxCookieStorageService {
330
+ constructor(cookieService) {
331
+ this.cookieService = cookieService;
325
332
  // not to do
326
333
  }
327
- transform(number) {
328
- if (!MonkeyEcxUtils.persistNullEmptyUndefined(number))
334
+ setCookie(name, value) {
335
+ this.removeCookie(name);
336
+ this.cookieService.set(name, value, undefined, '/', '', true, 'None');
337
+ }
338
+ getCookie(name) {
339
+ return this.cookieService.get(name);
340
+ }
341
+ removeCookie(name) {
342
+ this.cookieService.delete(name, '/');
343
+ }
344
+ }
345
+ MonkeyEcxCookieStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxCookieStorageService, deps: [{ token: i1$2.CookieService }], target: i0.ɵɵFactoryTarget.Injectable });
346
+ MonkeyEcxCookieStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxCookieStorageService, providedIn: 'root' });
347
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxCookieStorageService, decorators: [{
348
+ type: Injectable,
349
+ args: [{
350
+ providedIn: 'root'
351
+ }]
352
+ }], ctorParameters: function () { return [{ type: i1$2.CookieService }]; } });
353
+
354
+ class MonkeyEcxFormatCurrencyPipe {
355
+ constructor(injector, currencyPipe) {
356
+ this.injector = injector;
357
+ this.currencyPipe = currencyPipe;
358
+ // not to do
359
+ }
360
+ transform(value) {
361
+ const cookieStorageService = this.injector.get(MonkeyEcxCookieStorageService);
362
+ const cookie = cookieStorageService.getCookie('monkey-app-locale');
363
+ const i18n = JSON.parse(atob(cookie));
364
+ const { currency } = i18n;
365
+ return this.currencyPipe.transform(value, currency, 'symbol');
366
+ }
367
+ }
368
+ MonkeyEcxFormatCurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatCurrencyPipe, deps: [{ token: i0.Injector }, { token: i2.CurrencyPipe }], target: i0.ɵɵFactoryTarget.Pipe });
369
+ MonkeyEcxFormatCurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatCurrencyPipe, name: "monkeyecxFormatCurrency" });
370
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatCurrencyPipe, decorators: [{
371
+ type: Pipe,
372
+ args: [{
373
+ name: 'monkeyecxFormatCurrency'
374
+ }]
375
+ }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i2.CurrencyPipe }]; } });
376
+
377
+ class MonkeyEcxFormatDatePipe {
378
+ transform(date, showTime = false, format) {
379
+ if (!MonkeyEcxUtils.persistNullEmptyUndefined(document))
329
380
  return '';
330
- return number;
381
+ let stillUtc = moment$2.utc(date).toDate();
382
+ if (date.indexOf(':') <= -1) {
383
+ stillUtc = date;
384
+ }
385
+ if (!format) {
386
+ format = 'HH:mm';
387
+ }
388
+ const formatFrom = `YYYY/MM/DD${showTime ? ` ${format}` : ''}`;
389
+ const formatTo = `DD/MM/YYYY${showTime ? ` ${format}` : ''}`;
390
+ return `${moment$2(stillUtc, formatFrom).local().format(formatTo)}`;
331
391
  }
332
392
  }
333
- MonkeyEcxFormatValue.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatValue, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
334
- MonkeyEcxFormatValue.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatValue, name: "monkeyecxFormatValue" });
335
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatValue, decorators: [{
393
+ MonkeyEcxFormatDatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatDatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
394
+ MonkeyEcxFormatDatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatDatePipe, name: "monkeyecxFormatDate" });
395
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatDatePipe, decorators: [{
336
396
  type: Pipe,
337
397
  args: [{
338
- name: 'monkeyecxFormatValue'
398
+ name: 'monkeyecxFormatDate',
339
399
  }]
340
- }], ctorParameters: function () { return []; } });
400
+ }] });
341
401
 
342
402
  class MonkeyEcxFormatDocumentPipe {
343
- constructor() {
344
- // not to do
345
- }
346
403
  transform(document, withType) {
347
404
  if (!MonkeyEcxUtils.persistNullEmptyUndefined(document))
348
405
  return '';
349
406
  return MonkeyEcxUtils.formatDocumentWithMask(document, withType);
350
407
  }
351
408
  }
352
- MonkeyEcxFormatDocumentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatDocumentPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
353
- MonkeyEcxFormatDocumentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatDocumentPipe, name: "monkeyecxFormatDocument" });
354
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatDocumentPipe, decorators: [{
409
+ MonkeyEcxFormatDocumentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatDocumentPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
410
+ MonkeyEcxFormatDocumentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatDocumentPipe, name: "monkeyecxFormatDocument" });
411
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatDocumentPipe, decorators: [{
355
412
  type: Pipe,
356
413
  args: [{
357
414
  name: 'monkeyecxFormatDocument'
358
415
  }]
359
- }], ctorParameters: function () { return []; } });
416
+ }] });
360
417
 
361
- class MonkeyEcxDisplayFirstNamePipe {
362
- constructor() {
363
- // not to do
364
- }
365
- transform(name) {
366
- if (!MonkeyEcxUtils.persistNullEmptyUndefined(name))
418
+ class MonkeyEcxFormatNumberPipe {
419
+ transform(number) {
420
+ if (!MonkeyEcxUtils.persistNullEmptyUndefined(number))
367
421
  return '';
368
- return MonkeyEcxUtils.cutFirstLastName(name);
422
+ return formatNumber(Number(number), 'ptbr');
369
423
  }
370
424
  }
371
- MonkeyEcxDisplayFirstNamePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxDisplayFirstNamePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
372
- MonkeyEcxDisplayFirstNamePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxDisplayFirstNamePipe, name: "monkeyecxDisplayFirstName" });
373
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxDisplayFirstNamePipe, decorators: [{
425
+ MonkeyEcxFormatNumberPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatNumberPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
426
+ MonkeyEcxFormatNumberPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatNumberPipe, name: "monkeyecxFormatNumber" });
427
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatNumberPipe, decorators: [{
374
428
  type: Pipe,
375
429
  args: [{
376
- name: 'monkeyecxDisplayFirstName'
430
+ name: 'monkeyecxFormatNumber'
377
431
  }]
378
- }], ctorParameters: function () { return []; } });
432
+ }] });
379
433
 
380
- class MonkeyEcxFormatSizePipe {
381
- constructor() {
382
- // not to do
434
+ class MonkeyEcxFormatPhonePipe {
435
+ transform(phone) {
436
+ if (phone) {
437
+ const value = `${phone || ''}`.replace(/\D/g, '');
438
+ let formated = '';
439
+ if (value.length > 12) {
440
+ formated = value.replace(/(\d{2})?(\d{2})?(\d{5})?(\d{4})/, '+$1 ($2) $3-$4');
441
+ }
442
+ else if (value.length > 11) {
443
+ formated = value.replace(/(\d{2})?(\d{2})?(\d{4})?(\d{4})/, '+$1 ($2) $3-$4');
444
+ }
445
+ else if (value.length > 10) {
446
+ formated = value.replace(/(\d{2})?(\d{5})?(\d{4})/, '($1) $2-$3');
447
+ }
448
+ else if (value.length > 9) {
449
+ formated = value.replace(/(\d{2})?(\d{4})?(\d{4})/, '($1) $2-$3');
450
+ }
451
+ else if (value.length > 5) {
452
+ formated = value.replace(/^(\d{2})?(\d{4})?(\d{0,4})/, '($1) $2-$3');
453
+ }
454
+ else if (value.length > 1) {
455
+ formated = value.replace(/^(\d{2})?(\d{0,5})/, '($1) $2');
456
+ }
457
+ else if (phone !== '') {
458
+ formated = value.replace(/^(\d*)/, '($1');
459
+ }
460
+ return formated;
461
+ }
462
+ return '';
383
463
  }
464
+ }
465
+ MonkeyEcxFormatPhonePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatPhonePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
466
+ MonkeyEcxFormatPhonePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatPhonePipe, name: "monkeyecxFormatPhone" });
467
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatPhonePipe, decorators: [{
468
+ type: Pipe,
469
+ args: [{
470
+ name: 'monkeyecxFormatPhone'
471
+ }]
472
+ }] });
473
+
474
+ class MonkeyEcxFormatSizePipe {
384
475
  transform(size) {
385
476
  if (!size)
386
477
  return '0 B';
@@ -388,64 +479,64 @@ class MonkeyEcxFormatSizePipe {
388
479
  return MonkeyEcxUtils.formatFileSize(sizeNum);
389
480
  }
390
481
  }
391
- MonkeyEcxFormatSizePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatSizePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
392
- MonkeyEcxFormatSizePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatSizePipe, name: "monkeyecxFormatSize" });
393
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatSizePipe, decorators: [{
482
+ MonkeyEcxFormatSizePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatSizePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
483
+ MonkeyEcxFormatSizePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatSizePipe, name: "monkeyecxFormatSize" });
484
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatSizePipe, decorators: [{
394
485
  type: Pipe,
395
486
  args: [{
396
487
  name: 'monkeyecxFormatSize'
397
488
  }]
398
- }], ctorParameters: function () { return []; } });
489
+ }] });
399
490
 
400
- class MonkeyEcxFormatCurrencyPipe {
401
- constructor(injector, currencyPipe) {
402
- this.injector = injector;
403
- this.currencyPipe = currencyPipe;
404
- this.currencyCode = 'BRL';
405
- this.currentLocale = 'pt-BR';
406
- const translateService = this.injector.get(TranslateService);
407
- translateService.get('MONKEY-CURRENCY-CODE').subscribe((_) => {
408
- this.currencyCode = _;
409
- this.currentLocale = translateService.getDefaultLang();
410
- });
491
+ class MonkeyEcxFormatDocumentTypePipe {
492
+ transform(document) {
493
+ if (!MonkeyEcxUtils.persistNullEmptyUndefined(document))
494
+ return '';
495
+ return MonkeyEcxUtils.getDocumentType(document);
411
496
  }
412
- transform(value) {
413
- const { currencyCode, currentLocale } = this;
414
- return this.currencyPipe.transform(value, currencyCode, 'symbol', '', currentLocale);
497
+ }
498
+ MonkeyEcxFormatDocumentTypePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatDocumentTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
499
+ MonkeyEcxFormatDocumentTypePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatDocumentTypePipe, name: "monkeyecxFormatDocumentType" });
500
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatDocumentTypePipe, decorators: [{
501
+ type: Pipe,
502
+ args: [{
503
+ name: 'monkeyecxFormatDocumentType'
504
+ }]
505
+ }] });
506
+
507
+ class MonkeyEcxFormatValue {
508
+ transform(number) {
509
+ if (!MonkeyEcxUtils.persistNullEmptyUndefined(number))
510
+ return '';
511
+ return number;
415
512
  }
416
513
  }
417
- MonkeyEcxFormatCurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatCurrencyPipe, deps: [{ token: i0.Injector }, { token: i1$2.CurrencyPipe }], target: i0.ɵɵFactoryTarget.Pipe });
418
- MonkeyEcxFormatCurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatCurrencyPipe, name: "monkeyecxFormatCurrency" });
419
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatCurrencyPipe, decorators: [{
514
+ MonkeyEcxFormatValue.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatValue, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
515
+ MonkeyEcxFormatValue.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatValue, name: "monkeyecxFormatValue" });
516
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatValue, decorators: [{
420
517
  type: Pipe,
421
518
  args: [{
422
- name: 'monkeyecxFormatCurrency'
519
+ name: 'monkeyecxFormatValue'
423
520
  }]
424
- }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1$2.CurrencyPipe }]; } });
521
+ }] });
425
522
 
426
523
  class MonkeyEcxFormatZipCodePipe {
427
- constructor() {
428
- // not to do
429
- }
430
524
  transform(zipCode) {
431
525
  if (!MonkeyEcxUtils.persistNullEmptyUndefined(zipCode))
432
526
  return '';
433
527
  return MonkeyEcxUtils.formatZipCode(zipCode);
434
528
  }
435
529
  }
436
- MonkeyEcxFormatZipCodePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatZipCodePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
437
- MonkeyEcxFormatZipCodePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatZipCodePipe, name: "monkeyecxFormatZipCode" });
438
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatZipCodePipe, decorators: [{
530
+ MonkeyEcxFormatZipCodePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatZipCodePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
531
+ MonkeyEcxFormatZipCodePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatZipCodePipe, name: "monkeyecxFormatZipCode" });
532
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatZipCodePipe, decorators: [{
439
533
  type: Pipe,
440
534
  args: [{
441
535
  name: 'monkeyecxFormatZipCode'
442
536
  }]
443
- }], ctorParameters: function () { return []; } });
537
+ }] });
444
538
 
445
539
  class MonkeyEcxTextTruncatePipe {
446
- constructor() {
447
- // not to do
448
- }
449
540
  transform(text, maxLength = 25) {
450
541
  const midChar = '...';
451
542
  if (!text)
@@ -457,42 +548,23 @@ class MonkeyEcxTextTruncatePipe {
457
548
  return `${text.substr(0, left)} ${midChar} ${text.substring(right)}`;
458
549
  }
459
550
  }
460
- MonkeyEcxTextTruncatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxTextTruncatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
461
- MonkeyEcxTextTruncatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxTextTruncatePipe, name: "monkeyecxTextTruncate" });
462
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxTextTruncatePipe, decorators: [{
551
+ MonkeyEcxTextTruncatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxTextTruncatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
552
+ MonkeyEcxTextTruncatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxTextTruncatePipe, name: "monkeyecxTextTruncate" });
553
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxTextTruncatePipe, decorators: [{
463
554
  type: Pipe,
464
555
  args: [{
465
556
  name: 'monkeyecxTextTruncate'
466
557
  }]
467
- }], ctorParameters: function () { return []; } });
468
-
469
- class MonkeyEcxDocumentTypePipe {
470
- constructor() {
471
- // not to do
472
- }
473
- transform(document) {
474
- if (!MonkeyEcxUtils.persistNullEmptyUndefined(document))
475
- return '';
476
- return MonkeyEcxUtils.getDocumentType(document);
477
- }
478
- }
479
- MonkeyEcxDocumentTypePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxDocumentTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
480
- MonkeyEcxDocumentTypePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxDocumentTypePipe, name: "monkeyecxDocumentType" });
481
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxDocumentTypePipe, decorators: [{
482
- type: Pipe,
483
- args: [{
484
- name: 'monkeyecxDocumentType'
485
- }]
486
- }], ctorParameters: function () { return []; } });
558
+ }] });
487
559
 
488
560
  class MonkeyEcxTruncateQtdPipe {
489
561
  transform(number, threshold) {
490
562
  return `${number > threshold ? `${threshold}+` : number}`;
491
563
  }
492
564
  }
493
- MonkeyEcxTruncateQtdPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxTruncateQtdPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
494
- MonkeyEcxTruncateQtdPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxTruncateQtdPipe, name: "monkeyecxTruncateQtd" });
495
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxTruncateQtdPipe, decorators: [{
565
+ MonkeyEcxTruncateQtdPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxTruncateQtdPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
566
+ MonkeyEcxTruncateQtdPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxTruncateQtdPipe, name: "monkeyecxTruncateQtd" });
567
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxTruncateQtdPipe, decorators: [{
496
568
  type: Pipe,
497
569
  args: [{
498
570
  name: 'monkeyecxTruncateQtd'
@@ -501,57 +573,69 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
501
573
 
502
574
  class MonkeyEcxPipesModule {
503
575
  }
504
- MonkeyEcxPipesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxPipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
505
- MonkeyEcxPipesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxPipesModule, declarations: [MonkeyEcxFormatDocumentPipe,
576
+ MonkeyEcxPipesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxPipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
577
+ MonkeyEcxPipesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxPipesModule, declarations: [MonkeyEcxDisplayFirstNamePipe,
578
+ MonkeyEcxFormatAddressPipe,
579
+ MonkeyEcxFormatCurrencyPipe,
506
580
  MonkeyEcxFormatDateTimelapsePipe,
507
- MonkeyEcxDisplayFirstNamePipe,
581
+ MonkeyEcxFormatDatePipe,
582
+ MonkeyEcxFormatDocumentPipe,
583
+ MonkeyEcxFormatNumberPipe,
584
+ MonkeyEcxFormatPhonePipe,
508
585
  MonkeyEcxFormatSizePipe,
509
- MonkeyEcxFormatCurrencyPipe,
510
- MonkeyEcxFormatZipCodePipe,
511
- MonkeyEcxFormatNumber,
586
+ MonkeyEcxFormatDocumentTypePipe,
512
587
  MonkeyEcxFormatValue,
588
+ MonkeyEcxFormatZipCodePipe,
513
589
  MonkeyEcxTextTruncatePipe,
514
- MonkeyEcxTruncateQtdPipe,
515
- MonkeyEcxDocumentTypePipe], exports: [MonkeyEcxFormatDocumentPipe,
590
+ MonkeyEcxTruncateQtdPipe], exports: [MonkeyEcxDisplayFirstNamePipe,
591
+ MonkeyEcxFormatAddressPipe,
592
+ MonkeyEcxFormatCurrencyPipe,
516
593
  MonkeyEcxFormatDateTimelapsePipe,
517
- MonkeyEcxDisplayFirstNamePipe,
594
+ MonkeyEcxFormatDatePipe,
595
+ MonkeyEcxFormatDocumentPipe,
596
+ MonkeyEcxFormatNumberPipe,
597
+ MonkeyEcxFormatPhonePipe,
518
598
  MonkeyEcxFormatSizePipe,
519
- MonkeyEcxFormatCurrencyPipe,
520
- MonkeyEcxFormatZipCodePipe,
521
- MonkeyEcxFormatNumber,
599
+ MonkeyEcxFormatDocumentTypePipe,
522
600
  MonkeyEcxFormatValue,
601
+ MonkeyEcxFormatZipCodePipe,
523
602
  MonkeyEcxTextTruncatePipe,
524
- MonkeyEcxTruncateQtdPipe,
525
- MonkeyEcxDocumentTypePipe] });
526
- MonkeyEcxPipesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxPipesModule, providers: [CurrencyPipe] });
527
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxPipesModule, decorators: [{
603
+ MonkeyEcxTruncateQtdPipe] });
604
+ MonkeyEcxPipesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxPipesModule, providers: [CurrencyPipe] });
605
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxPipesModule, decorators: [{
528
606
  type: NgModule,
529
607
  args: [{
530
608
  declarations: [
531
- MonkeyEcxFormatDocumentPipe,
532
- MonkeyEcxFormatDateTimelapsePipe,
533
609
  MonkeyEcxDisplayFirstNamePipe,
534
- MonkeyEcxFormatSizePipe,
610
+ MonkeyEcxFormatAddressPipe,
535
611
  MonkeyEcxFormatCurrencyPipe,
536
- MonkeyEcxFormatZipCodePipe,
537
- MonkeyEcxFormatNumber,
612
+ MonkeyEcxFormatDateTimelapsePipe,
613
+ MonkeyEcxFormatDatePipe,
614
+ MonkeyEcxFormatDocumentPipe,
615
+ MonkeyEcxFormatNumberPipe,
616
+ MonkeyEcxFormatPhonePipe,
617
+ MonkeyEcxFormatSizePipe,
618
+ MonkeyEcxFormatDocumentTypePipe,
538
619
  MonkeyEcxFormatValue,
620
+ MonkeyEcxFormatZipCodePipe,
539
621
  MonkeyEcxTextTruncatePipe,
540
- MonkeyEcxTruncateQtdPipe,
541
- MonkeyEcxDocumentTypePipe
622
+ MonkeyEcxTruncateQtdPipe
542
623
  ],
543
624
  exports: [
544
- MonkeyEcxFormatDocumentPipe,
545
- MonkeyEcxFormatDateTimelapsePipe,
546
625
  MonkeyEcxDisplayFirstNamePipe,
547
- MonkeyEcxFormatSizePipe,
626
+ MonkeyEcxFormatAddressPipe,
548
627
  MonkeyEcxFormatCurrencyPipe,
549
- MonkeyEcxFormatZipCodePipe,
550
- MonkeyEcxFormatNumber,
628
+ MonkeyEcxFormatDateTimelapsePipe,
629
+ MonkeyEcxFormatDatePipe,
630
+ MonkeyEcxFormatDocumentPipe,
631
+ MonkeyEcxFormatNumberPipe,
632
+ MonkeyEcxFormatPhonePipe,
633
+ MonkeyEcxFormatSizePipe,
634
+ MonkeyEcxFormatDocumentTypePipe,
551
635
  MonkeyEcxFormatValue,
636
+ MonkeyEcxFormatZipCodePipe,
552
637
  MonkeyEcxTextTruncatePipe,
553
- MonkeyEcxTruncateQtdPipe,
554
- MonkeyEcxDocumentTypePipe
638
+ MonkeyEcxTruncateQtdPipe
555
639
  ],
556
640
  providers: [CurrencyPipe]
557
641
  }]
@@ -559,14 +643,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
559
643
 
560
644
  class ClosedToMaintenanceModule {
561
645
  }
562
- ClosedToMaintenanceModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ClosedToMaintenanceModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
563
- ClosedToMaintenanceModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ClosedToMaintenanceModule, declarations: [ClosedToMaintenanceComponent], imports: [CommonModule,
646
+ ClosedToMaintenanceModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ClosedToMaintenanceModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
647
+ ClosedToMaintenanceModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ClosedToMaintenanceModule, declarations: [ClosedToMaintenanceComponent], imports: [CommonModule,
564
648
  MonkeyButtonModule,
565
649
  MonkeyIconModule,
566
650
  MonkeyInputModule,
567
651
  MonkeyModalModule,
568
652
  MonkeyEcxPipesModule, i1$1.TranslateModule], exports: [ClosedToMaintenanceComponent] });
569
- ClosedToMaintenanceModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ClosedToMaintenanceModule, imports: [[
653
+ ClosedToMaintenanceModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ClosedToMaintenanceModule, imports: [[
570
654
  CommonModule,
571
655
  MonkeyButtonModule,
572
656
  MonkeyIconModule,
@@ -575,7 +659,7 @@ ClosedToMaintenanceModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0
575
659
  MonkeyEcxPipesModule,
576
660
  TranslateModule.forChild()
577
661
  ]] });
578
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ClosedToMaintenanceModule, decorators: [{
662
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ClosedToMaintenanceModule, decorators: [{
579
663
  type: NgModule,
580
664
  args: [{
581
665
  declarations: [ClosedToMaintenanceComponent],
@@ -595,6 +679,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
595
679
  class MonkeyEcxProgressBarService {
596
680
  constructor(router) {
597
681
  this.router = router;
682
+ this.visible = null;
598
683
  this.init();
599
684
  }
600
685
  init() {
@@ -617,18 +702,21 @@ class MonkeyEcxProgressBarService {
617
702
  });
618
703
  }
619
704
  show() {
620
- this.visible.next(true);
705
+ var _a;
706
+ (_a = this.visible) === null || _a === void 0 ? void 0 : _a.next(true);
621
707
  }
622
708
  hide() {
623
- this.visible.next(false);
709
+ var _a;
710
+ (_a = this.visible) === null || _a === void 0 ? void 0 : _a.next(false);
624
711
  }
625
712
  visibleConfig() {
626
- return this.visible.asObservable();
713
+ var _a;
714
+ return ((_a = this.visible) === null || _a === void 0 ? void 0 : _a.asObservable()) || null;
627
715
  }
628
716
  }
629
- MonkeyEcxProgressBarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxProgressBarService, deps: [{ token: i1$3.Router }], target: i0.ɵɵFactoryTarget.Injectable });
630
- MonkeyEcxProgressBarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxProgressBarService, providedIn: 'root' });
631
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxProgressBarService, decorators: [{
717
+ MonkeyEcxProgressBarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxProgressBarService, deps: [{ token: i1$3.Router }], target: i0.ɵɵFactoryTarget.Injectable });
718
+ MonkeyEcxProgressBarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxProgressBarService, providedIn: 'root' });
719
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxProgressBarService, decorators: [{
632
720
  type: Injectable,
633
721
  args: [{
634
722
  providedIn: 'root'
@@ -642,29 +730,25 @@ class MonkeyEcxProgressBarComponent {
642
730
  //not to do
643
731
  }
644
732
  ngOnInit() {
645
- this.progressBarService.visibleConfig().subscribe((visible) => {
733
+ var _a, _b;
734
+ (_b = (_a = this.progressBarService) === null || _a === void 0 ? void 0 : _a.visibleConfig()) === null || _b === void 0 ? void 0 : _b.subscribe((visible) => {
646
735
  this.visible = visible;
647
736
  });
648
737
  }
649
738
  }
650
- MonkeyEcxProgressBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxProgressBarComponent, deps: [{ token: MonkeyEcxProgressBarService }], target: i0.ɵɵFactoryTarget.Component });
651
- MonkeyEcxProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.15", type: MonkeyEcxProgressBarComponent, selector: "monkeyecx-progress-bar", ngImport: i0, template: "<ng-container *ngIf=\"visible\">\r\n <progress class=\"monkey-progress monkey-progress__theme\"></progress>\r\n</ng-container>\r\n", styles: ["monkeyecx-progress-bar{position:absolute;width:100%;margin-top:-9.5px;z-index:99998}\n"], directives: [{ type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None });
652
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxProgressBarComponent, decorators: [{
739
+ MonkeyEcxProgressBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxProgressBarComponent, deps: [{ token: MonkeyEcxProgressBarService }], target: i0.ɵɵFactoryTarget.Component });
740
+ MonkeyEcxProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: MonkeyEcxProgressBarComponent, selector: "monkeyecx-progress-bar", ngImport: i0, template: "<ng-container *ngIf=\"visible\">\n <progress class=\"monkey-progress monkey-progress__theme\"></progress>\n</ng-container>\n", styles: ["monkeyecx-progress-bar{position:absolute;width:100%;margin-top:-9.5px;z-index:99998}\n"], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None });
741
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxProgressBarComponent, decorators: [{
653
742
  type: Component,
654
- args: [{
655
- selector: 'monkeyecx-progress-bar',
656
- templateUrl: './progress-bar.component.html',
657
- styleUrls: ['./progress-bar.component.scss'],
658
- encapsulation: ViewEncapsulation.None
659
- }]
743
+ args: [{ selector: 'monkeyecx-progress-bar', encapsulation: ViewEncapsulation.None, template: "<ng-container *ngIf=\"visible\">\n <progress class=\"monkey-progress monkey-progress__theme\"></progress>\n</ng-container>\n", styles: ["monkeyecx-progress-bar{position:absolute;width:100%;margin-top:-9.5px;z-index:99998}\n"] }]
660
744
  }], ctorParameters: function () { return [{ type: MonkeyEcxProgressBarService }]; } });
661
745
 
662
746
  class MonkeyEcxProgressBarModule {
663
747
  }
664
- MonkeyEcxProgressBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxProgressBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
665
- MonkeyEcxProgressBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxProgressBarModule, declarations: [MonkeyEcxProgressBarComponent], imports: [CommonModule], exports: [MonkeyEcxProgressBarComponent] });
666
- MonkeyEcxProgressBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxProgressBarModule, imports: [[CommonModule]] });
667
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxProgressBarModule, decorators: [{
748
+ MonkeyEcxProgressBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxProgressBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
749
+ MonkeyEcxProgressBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxProgressBarModule, declarations: [MonkeyEcxProgressBarComponent], imports: [CommonModule], exports: [MonkeyEcxProgressBarComponent] });
750
+ MonkeyEcxProgressBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxProgressBarModule, imports: [[CommonModule]] });
751
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxProgressBarModule, decorators: [{
668
752
  type: NgModule,
669
753
  args: [{
670
754
  declarations: [MonkeyEcxProgressBarComponent],
@@ -674,20 +758,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
674
758
  }] });
675
759
 
676
760
  class VersionChangedComponent {
761
+ constructor() {
762
+ this.config = null;
763
+ }
677
764
  onClose() {
678
765
  document.location.reload();
679
766
  }
680
767
  }
681
- VersionChangedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: VersionChangedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
682
- VersionChangedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.15", type: VersionChangedComponent, selector: "monkeyecx-version-changed", inputs: { config: "config", modalRef: "modalRef" }, ngImport: i0, template: "<monkey-modal [config]=\"config\" [modalRef]=\"modalRef\">\r\n <div class=\"d-flex flex-column justify-content-center align-items-center\">\r\n <span class=\"h2\">\r\n {{ 'SCREENS.VERSION-CHANGED.TITLE' | translate }}\r\n </span>\r\n <span class=\"information-title mt-4\">\r\n {{ 'SCREENS.VERSION-CHANGED.INFORMATION-1' | translate }}\r\n </span>\r\n <span class=\"information mt-3\">\r\n {{ 'SCREENS.VERSION-CHANGED.INFORMATION-2' | translate }}\r\n </span>\r\n </div>\r\n <div class=\"d-flex flex-column justify-content-center align-items-center mt-5\">\r\n <monkey-button type=\"primary\" color=\"theme\" (click)=\"onClose()\">\r\n {{ 'SCREENS.VERSION-CHANGED.BUTTONS.UPDATE-VERSION' | translate }}\r\n </monkey-button>\r\n </div>\r\n</monkey-modal>", styles: ["monkeyecx-version-changed .body{padding:24px;width:100%}monkeyecx-version-changed .information-title{font-style:normal;font-weight:600;font-size:25px;line-height:32px;display:flex;align-items:center;text-align:center;color:#4b4a53;max-width:600px}monkeyecx-version-changed .information{font-style:normal;font-weight:normal;font-size:20px;line-height:24px;display:flex;align-items:center;text-align:center;color:#4b4a53;max-width:600px}monkeyecx-version-changed .browser-name{font-style:normal;font-weight:normal;font-size:16px;line-height:24px;text-align:center;color:#9c9ca6}monkeyecx-version-changed .option{text-decoration:none;padding:4px;background:#eee;border:1px solid #d6d6d6;box-sizing:border-box;border-radius:16px}monkeyecx-version-changed monkey-modal mecx-monkey-modal .body{margin-bottom:0!important}\n"], components: [{ type: i1.MonkeyModalComponent, selector: "monkey-modal", inputs: ["config", "modalRef", "onHandleConfirm"] }, { type: i1.MonkeyButtonComponent, selector: "monkey-button", inputs: ["label", "icon", "iconPosition", "type", "color", "disabled", "size"] }], pipes: { "translate": i1$1.TranslatePipe }, encapsulation: i0.ViewEncapsulation.None });
683
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: VersionChangedComponent, decorators: [{
768
+ VersionChangedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: VersionChangedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
769
+ VersionChangedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: VersionChangedComponent, selector: "monkeyecx-version-changed", inputs: { config: "config", modalRef: "modalRef" }, ngImport: i0, template: "<monkey-modal [config]=\"config\" [modalRef]=\"modalRef\" *ngIf=\"config\">\n <div class=\"d-flex flex-column justify-content-center align-items-center\">\n <span class=\"h2\">\n {{ 'SCREENS.VERSION-CHANGED.TITLE' | translate }}\n </span>\n <span class=\"information-title mt-4\">\n {{ 'SCREENS.VERSION-CHANGED.INFORMATION-1' | translate }}\n </span>\n <span class=\"information mt-3\">\n {{ 'SCREENS.VERSION-CHANGED.INFORMATION-2' | translate }}\n </span>\n </div>\n <div class=\"d-flex flex-column justify-content-center align-items-center mt-5\">\n <monkey-button type=\"primary\" color=\"theme\" (click)=\"onClose()\">\n {{ 'SCREENS.VERSION-CHANGED.BUTTONS.UPDATE-VERSION' | translate }}\n </monkey-button>\n </div>\n</monkey-modal>", styles: ["monkeyecx-version-changed .body{padding:24px;width:100%}monkeyecx-version-changed .information-title{font-style:normal;font-weight:600;font-size:25px;line-height:32px;display:flex;align-items:center;text-align:center;color:#4b4a53;max-width:600px}monkeyecx-version-changed .information{font-style:normal;font-weight:400;font-size:20px;line-height:24px;display:flex;align-items:center;text-align:center;color:#4b4a53;max-width:600px}monkeyecx-version-changed .browser-name{font-style:normal;font-weight:400;font-size:16px;line-height:24px;text-align:center;color:#9c9ca6}monkeyecx-version-changed .option{text-decoration:none;padding:4px;background:#eee;border:1px solid #d6d6d6;box-sizing:border-box;border-radius:16px}monkeyecx-version-changed monkey-modal mecx-monkey-modal .body{margin-bottom:0!important}\n"], components: [{ type: i1.MonkeyModalComponent, selector: "monkey-modal", inputs: ["config", "modalRef", "onHandleConfirm"] }, { type: i1.MonkeyButtonComponent, selector: "monkey-button", inputs: ["label", "icon", "iconPosition", "type", "color", "disabled", "size"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "translate": i1$1.TranslatePipe }, encapsulation: i0.ViewEncapsulation.None });
770
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: VersionChangedComponent, decorators: [{
684
771
  type: Component,
685
- args: [{
686
- selector: 'monkeyecx-version-changed',
687
- templateUrl: './version-changed.component.html',
688
- styleUrls: ['./version-changed.component.scss'],
689
- encapsulation: ViewEncapsulation.None
690
- }]
772
+ args: [{ selector: 'monkeyecx-version-changed', encapsulation: ViewEncapsulation.None, template: "<monkey-modal [config]=\"config\" [modalRef]=\"modalRef\" *ngIf=\"config\">\n <div class=\"d-flex flex-column justify-content-center align-items-center\">\n <span class=\"h2\">\n {{ 'SCREENS.VERSION-CHANGED.TITLE' | translate }}\n </span>\n <span class=\"information-title mt-4\">\n {{ 'SCREENS.VERSION-CHANGED.INFORMATION-1' | translate }}\n </span>\n <span class=\"information mt-3\">\n {{ 'SCREENS.VERSION-CHANGED.INFORMATION-2' | translate }}\n </span>\n </div>\n <div class=\"d-flex flex-column justify-content-center align-items-center mt-5\">\n <monkey-button type=\"primary\" color=\"theme\" (click)=\"onClose()\">\n {{ 'SCREENS.VERSION-CHANGED.BUTTONS.UPDATE-VERSION' | translate }}\n </monkey-button>\n </div>\n</monkey-modal>", styles: ["monkeyecx-version-changed .body{padding:24px;width:100%}monkeyecx-version-changed .information-title{font-style:normal;font-weight:600;font-size:25px;line-height:32px;display:flex;align-items:center;text-align:center;color:#4b4a53;max-width:600px}monkeyecx-version-changed .information{font-style:normal;font-weight:400;font-size:20px;line-height:24px;display:flex;align-items:center;text-align:center;color:#4b4a53;max-width:600px}monkeyecx-version-changed .browser-name{font-style:normal;font-weight:400;font-size:16px;line-height:24px;text-align:center;color:#9c9ca6}monkeyecx-version-changed .option{text-decoration:none;padding:4px;background:#eee;border:1px solid #d6d6d6;box-sizing:border-box;border-radius:16px}monkeyecx-version-changed monkey-modal mecx-monkey-modal .body{margin-bottom:0!important}\n"] }]
691
773
  }], propDecorators: { config: [{
692
774
  type: Input
693
775
  }], modalRef: [{
@@ -696,13 +778,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
696
778
 
697
779
  class VersionChangedModule {
698
780
  }
699
- VersionChangedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: VersionChangedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
700
- VersionChangedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: VersionChangedModule, declarations: [VersionChangedComponent], imports: [CommonModule,
781
+ VersionChangedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: VersionChangedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
782
+ VersionChangedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: VersionChangedModule, declarations: [VersionChangedComponent], imports: [CommonModule,
701
783
  MonkeyButtonModule,
702
784
  MonkeyIconModule,
703
785
  MonkeyInputModule,
704
786
  MonkeyModalModule, i1$1.TranslateModule], exports: [VersionChangedComponent] });
705
- VersionChangedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: VersionChangedModule, imports: [[
787
+ VersionChangedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: VersionChangedModule, imports: [[
706
788
  CommonModule,
707
789
  MonkeyButtonModule,
708
790
  MonkeyIconModule,
@@ -710,7 +792,7 @@ VersionChangedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", ve
710
792
  MonkeyModalModule,
711
793
  TranslateModule.forChild()
712
794
  ]] });
713
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: VersionChangedModule, decorators: [{
795
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: VersionChangedModule, decorators: [{
714
796
  type: NgModule,
715
797
  args: [{
716
798
  declarations: [VersionChangedComponent],
@@ -726,8 +808,48 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
726
808
  }]
727
809
  }] });
728
810
 
811
+ /* eslint-disable space-before-function-paren */
812
+ /* eslint-disable func-names */
813
+ function MonkeyEcxCoreCharts(render = true) {
814
+ return (target, propertyName, propertyDescriptor) => {
815
+ const method = propertyDescriptor.value;
816
+ propertyDescriptor.value = function (...args) {
817
+ const context = this;
818
+ if (render) {
819
+ const scriptsLoaded = Array.from(document.scripts);
820
+ scriptsLoaded.forEach((script) => {
821
+ const { src } = script;
822
+ if (src.search('www.gstatic.com/charts') > 0) {
823
+ document.getElementsByTagName('head')[0].removeChild(script);
824
+ }
825
+ });
826
+ const node = document.createElement('script');
827
+ node.src = 'https://www.gstatic.com/charts/loader.js';
828
+ node.type = 'text/javascript';
829
+ node.async = true;
830
+ node.id = 'monkeyecx-charts-settings';
831
+ node.onload = () => {
832
+ method.apply(context, args);
833
+ };
834
+ document.getElementsByTagName('head')[0].appendChild(node);
835
+ }
836
+ else {
837
+ const scriptsLoaded = Array.from(document.scripts);
838
+ scriptsLoaded.forEach((script) => {
839
+ const { src } = script;
840
+ if (src.search('www.gstatic.com/charts') > 0) {
841
+ document.getElementsByTagName('head')[0].removeChild(script);
842
+ }
843
+ });
844
+ method.apply(context, args);
845
+ }
846
+ };
847
+ return propertyDescriptor;
848
+ };
849
+ }
850
+
729
851
  /* eslint-disable max-classes-per-file */
730
- const moment$1 = moment_;
852
+ const moment$1 = moment$2;
731
853
  class DateValidator {
732
854
  static do(control) {
733
855
  if (!control.parent || !control)
@@ -809,11 +931,12 @@ class isTrueValidator {
809
931
  }
810
932
  class PasswordMatchValidation {
811
933
  static do(control) {
934
+ var _a, _b;
812
935
  if (!control.parent || !control)
813
936
  return null;
814
937
  const { parent } = control;
815
- const password = parent.get('password').value;
816
- const passwordConfirm = parent.get('passwordConfirm').value;
938
+ const password = (_a = parent === null || parent === void 0 ? void 0 : parent.get('password')) === null || _a === void 0 ? void 0 : _a.value;
939
+ const passwordConfirm = (_b = parent === null || parent === void 0 ? void 0 : parent.get('passwordConfirm')) === null || _b === void 0 ? void 0 : _b.value;
817
940
  if (!password || !passwordConfirm)
818
941
  return null;
819
942
  if (password === passwordConfirm)
@@ -839,13 +962,14 @@ class UrlValidator {
839
962
  }
840
963
  class CustomDatesStartValidator {
841
964
  static do(control) {
965
+ var _a, _b;
842
966
  if (!control.parent || !control)
843
967
  return null;
844
968
  const { parent } = control;
845
- const valueStart = parent.get('dateStart').value;
846
- const valueEnd = parent.get('dateEnd').value;
847
- let dateStart;
848
- let dateEnd;
969
+ const valueStart = (_a = parent === null || parent === void 0 ? void 0 : parent.get('dateStart')) === null || _a === void 0 ? void 0 : _a.value;
970
+ const valueEnd = (_b = parent === null || parent === void 0 ? void 0 : parent.get('dateEnd')) === null || _b === void 0 ? void 0 : _b.value;
971
+ let dateStart = null;
972
+ let dateEnd = null;
849
973
  if (valueStart) {
850
974
  dateStart = new Date(valueStart);
851
975
  }
@@ -864,13 +988,14 @@ class CustomDatesStartValidator {
864
988
  }
865
989
  class CustomDatesEndValidator {
866
990
  static do(control) {
991
+ var _a, _b;
867
992
  if (!control.parent || !control)
868
993
  return null;
869
994
  const { parent } = control;
870
- const valueStart = parent.get('dateStart').value;
871
- const valueEnd = parent.get('dateEnd').value;
872
- let dateStart;
873
- let dateEnd;
995
+ const valueStart = (_a = parent === null || parent === void 0 ? void 0 : parent.get('dateStart')) === null || _a === void 0 ? void 0 : _a.value;
996
+ const valueEnd = (_b = parent === null || parent === void 0 ? void 0 : parent.get('dateEnd')) === null || _b === void 0 ? void 0 : _b.value;
997
+ let dateStart = null;
998
+ let dateEnd = null;
874
999
  if (valueStart) {
875
1000
  dateStart = new Date(valueStart);
876
1001
  }
@@ -913,10 +1038,11 @@ class UnlockRegisterSponsorValidator {
913
1038
  }
914
1039
  class DateRangeValidator {
915
1040
  static do(control) {
1041
+ var _a, _b;
916
1042
  if (!control.parent || !control) {
917
1043
  return null;
918
1044
  }
919
- const dates = control.parent.get('dates').value;
1045
+ const dates = (_b = (_a = control === null || control === void 0 ? void 0 : control.parent) === null || _a === void 0 ? void 0 : _a.get('dates')) === null || _b === void 0 ? void 0 : _b.value;
920
1046
  if (dates &&
921
1047
  (!MonkeyEcxUtils.persistNullEmptyUndefined(dates.startDate) ||
922
1048
  !MonkeyEcxUtils.persistNullEmptyUndefined(dates.endDate))) {
@@ -1035,7 +1161,7 @@ var decoratorsUtils = /*#__PURE__*/Object.freeze({
1035
1161
  hasMonkeyEcxServiceAndHandlingProperties: hasMonkeyEcxServiceAndHandlingProperties
1036
1162
  });
1037
1163
 
1038
- const moment = moment_;
1164
+ const moment = moment$2;
1039
1165
  const EMAIL_REGEXP = /^[\w-.]+@([\w-]+\.)+[\w-]{1,64}$/;
1040
1166
  function isEmptyInputValue(value) {
1041
1167
  return value == null || value.length === 0;
@@ -1052,10 +1178,11 @@ function emailValidator(control) {
1052
1178
  };
1053
1179
  }
1054
1180
  function dateRangeValidator(control) {
1181
+ var _a, _b;
1055
1182
  if (!control.parent || !control || isEmptyInputValue(control.value)) {
1056
1183
  return null;
1057
1184
  }
1058
- const dates = control.parent.get('dates').value;
1185
+ const dates = (_b = (_a = control === null || control === void 0 ? void 0 : control.parent) === null || _a === void 0 ? void 0 : _a.get('dates')) === null || _b === void 0 ? void 0 : _b.value;
1059
1186
  if (dates &&
1060
1187
  (!MonkeyEcxUtils.persistNullEmptyUndefined(dates === null || dates === void 0 ? void 0 : dates.startDate) ||
1061
1188
  !MonkeyEcxUtils.persistNullEmptyUndefined(dates === null || dates === void 0 ? void 0 : dates.endDate))) {
@@ -1077,14 +1204,15 @@ function registerValidator(control, type) {
1077
1204
  return null;
1078
1205
  }
1079
1206
  function dateStartEndValidator(control) {
1207
+ var _a, _b;
1080
1208
  if (!control.parent || !control) {
1081
1209
  return null;
1082
1210
  }
1083
1211
  const { parent } = control;
1084
- const valueStart = parent.get('dateStart').value;
1085
- const valueEnd = parent.get('dateEnd').value;
1086
- let dateStart;
1087
- let dateEnd;
1212
+ const valueStart = (_a = parent === null || parent === void 0 ? void 0 : parent.get('dateStart')) === null || _a === void 0 ? void 0 : _a.value;
1213
+ const valueEnd = (_b = parent === null || parent === void 0 ? void 0 : parent.get('dateEnd')) === null || _b === void 0 ? void 0 : _b.value;
1214
+ let dateStart = null;
1215
+ let dateEnd = null;
1088
1216
  if (valueStart) {
1089
1217
  dateStart = new Date(valueStart);
1090
1218
  }
@@ -1111,11 +1239,12 @@ function urlValidator(control) {
1111
1239
  return null;
1112
1240
  }
1113
1241
  function passwordConfirmValidator(control) {
1242
+ var _a, _b;
1114
1243
  if (!control.parent || !control || isEmptyInputValue(control.value))
1115
1244
  return null;
1116
1245
  const { parent } = control;
1117
- const password = parent.get('password').value;
1118
- const passwordConfirm = parent.get('passwordConfirm').value;
1246
+ const password = (_a = parent === null || parent === void 0 ? void 0 : parent.get('password')) === null || _a === void 0 ? void 0 : _a.value;
1247
+ const passwordConfirm = (_b = parent === null || parent === void 0 ? void 0 : parent.get('passwordConfirm')) === null || _b === void 0 ? void 0 : _b.value;
1119
1248
  if (!password || !passwordConfirm)
1120
1249
  return null;
1121
1250
  if (password === passwordConfirm)
@@ -1267,9 +1396,10 @@ function MonkeyEcxCoreClearDecorators() {
1267
1396
  return function (target, propertyName, propertyDescriptor) {
1268
1397
  const method = propertyDescriptor.value;
1269
1398
  propertyDescriptor.value = function (...args) {
1399
+ var _a, _b;
1270
1400
  const context = this;
1271
1401
  if (hasMonkeyEcxServiceAndHandlingProperties(context)) {
1272
- context.monkeyecxService.monkeyecxHandlingService.clearAll();
1402
+ (_b = (_a = context === null || context === void 0 ? void 0 : context.monkeyecxService) === null || _a === void 0 ? void 0 : _a.monkeyecxHandlingService) === null || _b === void 0 ? void 0 : _b.clearAll();
1273
1403
  }
1274
1404
  const result = method.apply(context, args);
1275
1405
  return result;
@@ -1281,10 +1411,11 @@ function MonkeyEcxCoreService(params) {
1281
1411
  return function (target, propertyName, propertyDescriptor) {
1282
1412
  const method = propertyDescriptor.value;
1283
1413
  propertyDescriptor.value = function (...args) {
1414
+ var _a, _b, _c, _d;
1284
1415
  const context = this;
1285
1416
  if (hasMonkeyEcxServiceAndHandlingProperties(context)) {
1286
- context.monkeyecxService.monkeyecxHandlingService.clearAll();
1287
- context.monkeyecxService.monkeyecxHandlingService.setMonkeyEcxServiceCredentials(params);
1417
+ (_b = (_a = context === null || context === void 0 ? void 0 : context.monkeyecxService) === null || _a === void 0 ? void 0 : _a.monkeyecxHandlingService) === null || _b === void 0 ? void 0 : _b.clearAll();
1418
+ (_d = (_c = context === null || context === void 0 ? void 0 : context.monkeyecxService) === null || _c === void 0 ? void 0 : _c.monkeyecxHandlingService) === null || _d === void 0 ? void 0 : _d.setMonkeyEcxServiceCredentials(params);
1288
1419
  }
1289
1420
  const result = method.apply(context, args);
1290
1421
  return result;
@@ -1296,15 +1427,16 @@ function MonkeyEcxCoreServicePaged(params) {
1296
1427
  return function (target, propertyName, propertyDescriptor) {
1297
1428
  const method = propertyDescriptor.value;
1298
1429
  propertyDescriptor.value = function (...args) {
1430
+ var _a, _b, _c, _d, _e, _f;
1299
1431
  const context = this;
1300
1432
  if (hasMonkeyEcxServiceAndHandlingProperties(context)) {
1301
- const credentials = context.monkeyecxService.monkeyecxHandlingService.getMonkeyEcxServiceCredentials();
1433
+ const credentials = (_b = (_a = context === null || context === void 0 ? void 0 : context.monkeyecxService) === null || _a === void 0 ? void 0 : _a.monkeyecxHandlingService) === null || _b === void 0 ? void 0 : _b.getMonkeyEcxServiceCredentials();
1302
1434
  let requestPaged = null;
1303
1435
  if (credentials) {
1304
1436
  requestPaged = credentials.requestPaged;
1305
1437
  }
1306
- context.monkeyecxService.monkeyecxHandlingService.clearAll();
1307
- context.monkeyecxService.monkeyecxHandlingService.setMonkeyEcxServiceCredentials(Object.assign(Object.assign({}, params), (requestPaged || null)));
1438
+ (_d = (_c = context === null || context === void 0 ? void 0 : context.monkeyecxService) === null || _c === void 0 ? void 0 : _c.monkeyecxHandlingService) === null || _d === void 0 ? void 0 : _d.clearAll();
1439
+ (_f = (_e = context === null || context === void 0 ? void 0 : context.monkeyecxService) === null || _e === void 0 ? void 0 : _e.monkeyecxHandlingService) === null || _f === void 0 ? void 0 : _f.setMonkeyEcxServiceCredentials(Object.assign(Object.assign({}, params), (requestPaged || null)));
1308
1440
  }
1309
1441
  const result = method.apply(context, args);
1310
1442
  return result;
@@ -1316,13 +1448,14 @@ function MonkeyEcxCoreServiceQueue(name, description, params) {
1316
1448
  return function (target, propertyName, propertyDescriptor) {
1317
1449
  const method = propertyDescriptor.value;
1318
1450
  propertyDescriptor.value = function (...args) {
1451
+ var _a, _b, _c, _d;
1319
1452
  const context = this;
1320
1453
  if (hasMonkeyEcxServiceAndHandlingProperties(context)) {
1321
1454
  if (MonkeyEcxUtils.persistNullEmptyUndefined(params)) {
1322
- context.monkeyecxService.monkeyecxHandlingService.clearAll();
1323
- context.monkeyecxService.monkeyecxHandlingService.setMonkeyEcxServiceCredentials(params);
1455
+ (_b = (_a = context === null || context === void 0 ? void 0 : context.monkeyecxService) === null || _a === void 0 ? void 0 : _a.monkeyecxHandlingService) === null || _b === void 0 ? void 0 : _b.clearAll();
1456
+ (_d = (_c = context === null || context === void 0 ? void 0 : context.monkeyecxService) === null || _c === void 0 ? void 0 : _c.monkeyecxHandlingService) === null || _d === void 0 ? void 0 : _d.setMonkeyEcxServiceCredentials(params);
1324
1457
  }
1325
- context.monkeyecxService.monkeyecxHandlingService.setMonkeyEcxRequestQueue(buildQueuePropertys({
1458
+ context === null || context === void 0 ? void 0 : context.monkeyecxService.monkeyecxHandlingService.setMonkeyEcxRequestQueue(buildQueuePropertys({
1326
1459
  name,
1327
1460
  description
1328
1461
  }));
@@ -1339,13 +1472,14 @@ function MonkeyEcxServiceDownload(name, description, params) {
1339
1472
  return function (target, propertyName, propertyDescriptor) {
1340
1473
  const method = propertyDescriptor.value;
1341
1474
  propertyDescriptor.value = function (...args) {
1475
+ var _a, _b, _c, _d, _e, _f;
1342
1476
  const context = this;
1343
1477
  if (hasMonkeyEcxServiceAndHandlingProperties(context)) {
1344
1478
  if (MonkeyUtils.persistNullEmptyUndefined(params)) {
1345
- context.monkeyecxService.monkeyecxHandlingService.clearAll();
1346
- context.monkeyecxService.monkeyecxHandlingService.setMonkeyEcxServiceCredentials(params);
1479
+ (_b = (_a = context === null || context === void 0 ? void 0 : context.monkeyecxService) === null || _a === void 0 ? void 0 : _a.monkeyecxHandlingService) === null || _b === void 0 ? void 0 : _b.clearAll();
1480
+ (_d = (_c = context === null || context === void 0 ? void 0 : context.monkeyecxService) === null || _c === void 0 ? void 0 : _c.monkeyecxHandlingService) === null || _d === void 0 ? void 0 : _d.setMonkeyEcxServiceCredentials(params);
1347
1481
  }
1348
- context.monkeyecxService.monkeyecxHandlingService.setMonkeyEcxRequestDownload(Object.assign({}, buildDownloadPropertys(name, description)));
1482
+ (_f = (_e = context === null || context === void 0 ? void 0 : context.monkeyecxService) === null || _e === void 0 ? void 0 : _e.monkeyecxHandlingService) === null || _f === void 0 ? void 0 : _f.setMonkeyEcxRequestDownload(Object.assign({}, buildDownloadPropertys(name, description)));
1349
1483
  }
1350
1484
  const result = method.apply(context, args);
1351
1485
  return result;
@@ -1359,13 +1493,14 @@ function MonkeyEcxServiceUpload(name, description, params) {
1359
1493
  return function (target, propertyName, propertyDescriptor) {
1360
1494
  const method = propertyDescriptor.value;
1361
1495
  propertyDescriptor.value = function (...args) {
1496
+ var _a, _b, _c, _d, _e, _f;
1362
1497
  const context = this;
1363
1498
  if (hasMonkeyEcxServiceAndHandlingProperties(context)) {
1364
1499
  if (MonkeyUtils.persistNullEmptyUndefined(params)) {
1365
- context.monkeyecxService.monkeyecxHandlingService.clearAll();
1366
- context.monkeyecxService.monkeyecxHandlingService.setMonkeyEcxServiceCredentials(params);
1500
+ (_b = (_a = context === null || context === void 0 ? void 0 : context.monkeyecxService) === null || _a === void 0 ? void 0 : _a.monkeyecxHandlingService) === null || _b === void 0 ? void 0 : _b.clearAll();
1501
+ (_d = (_c = context === null || context === void 0 ? void 0 : context.monkeyecxService) === null || _c === void 0 ? void 0 : _c.monkeyecxHandlingService) === null || _d === void 0 ? void 0 : _d.setMonkeyEcxServiceCredentials(params);
1367
1502
  }
1368
- context.monkeyecxService.monkeyecxHandlingService.setMonkeyEcxRequestUpload(Object.assign({}, buildUploadPropertys(name, description)));
1503
+ (_f = (_e = context === null || context === void 0 ? void 0 : context.monkeyecxService) === null || _e === void 0 ? void 0 : _e.monkeyecxHandlingService) === null || _f === void 0 ? void 0 : _f.setMonkeyEcxRequestUpload(Object.assign({}, buildUploadPropertys(name, description)));
1369
1504
  }
1370
1505
  const result = method.apply(context, args);
1371
1506
  return result;
@@ -1381,34 +1516,34 @@ class MonkeyEcxDragDropDirective {
1381
1516
  this.opacity = '1';
1382
1517
  }
1383
1518
  onDragOver(evt) {
1384
- evt.preventDefault();
1385
- evt.stopPropagation();
1519
+ evt === null || evt === void 0 ? void 0 : evt.preventDefault();
1520
+ evt === null || evt === void 0 ? void 0 : evt.stopPropagation();
1386
1521
  this.background = '#9ecbec';
1387
1522
  this.opacity = '0.8';
1388
1523
  }
1389
1524
  onDragLeave(evt) {
1390
- evt.preventDefault();
1391
- evt.stopPropagation();
1525
+ evt === null || evt === void 0 ? void 0 : evt.preventDefault();
1526
+ evt === null || evt === void 0 ? void 0 : evt.stopPropagation();
1392
1527
  this.background = '#f5fcff';
1393
1528
  this.opacity = '1';
1394
1529
  }
1395
1530
  ondrop(evt) {
1396
- evt.preventDefault();
1397
- evt.stopPropagation();
1531
+ evt === null || evt === void 0 ? void 0 : evt.preventDefault();
1532
+ evt === null || evt === void 0 ? void 0 : evt.stopPropagation();
1398
1533
  this.background = '#f5fcff';
1399
1534
  this.opacity = '1';
1400
- const { files } = evt.dataTransfer;
1535
+ const { files } = evt === null || evt === void 0 ? void 0 : evt.dataTransfer;
1401
1536
  if (files.length > 0) {
1402
1537
  this.onFileDropped.emit(files);
1403
1538
  }
1404
1539
  }
1405
1540
  }
1406
- MonkeyEcxDragDropDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxDragDropDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1407
- MonkeyEcxDragDropDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.15", type: MonkeyEcxDragDropDirective, selector: "[monkeyecxDragDrop]", outputs: { onFileDropped: "onFileDropped" }, host: { listeners: { "dragover": "onDragOver($event)", "dragleave": "onDragLeave($event)", "drop": "ondrop($event)" }, properties: { "style.background-color": "this.background", "style.opacity": "this.opacity" } }, ngImport: i0 });
1408
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxDragDropDirective, decorators: [{
1541
+ MonkeyEcxDragDropDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxDragDropDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1542
+ MonkeyEcxDragDropDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: MonkeyEcxDragDropDirective, selector: "[monkeyecxDragDrop]", outputs: { onFileDropped: "onFileDropped" }, host: { listeners: { "dragover": "onDragOver($event)", "dragleave": "onDragLeave($event)", "drop": "ondrop($event)" }, properties: { "style.background-color": "this.background", "style.opacity": "this.opacity" } }, ngImport: i0 });
1543
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxDragDropDirective, decorators: [{
1409
1544
  type: Directive,
1410
1545
  args: [{
1411
- selector: '[monkeyecxDragDrop]'
1546
+ selector: '[monkeyecxDragDrop]',
1412
1547
  }]
1413
1548
  }], propDecorators: { onFileDropped: [{
1414
1549
  type: Output
@@ -1455,9 +1590,9 @@ class MonkeyEcxFormatCurrency {
1455
1590
  this.el.value = this.handle(value);
1456
1591
  }
1457
1592
  }
1458
- MonkeyEcxFormatCurrency.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatCurrency, deps: [{ token: i0.ElementRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
1459
- MonkeyEcxFormatCurrency.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.15", type: MonkeyEcxFormatCurrency, selector: "[monkeyecxFormatCurrency]", host: { listeners: { "input": "onInput($event.target.value)" } }, providers: [CurrencyPipe], ngImport: i0 });
1460
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatCurrency, decorators: [{
1593
+ MonkeyEcxFormatCurrency.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatCurrency, deps: [{ token: i0.ElementRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
1594
+ MonkeyEcxFormatCurrency.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: MonkeyEcxFormatCurrency, selector: "[monkeyecxFormatCurrency]", host: { listeners: { "input": "onInput($event.target.value)" } }, providers: [CurrencyPipe], ngImport: i0 });
1595
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatCurrency, decorators: [{
1461
1596
  type: Directive,
1462
1597
  args: [{
1463
1598
  selector: '[monkeyecxFormatCurrency]',
@@ -1475,13 +1610,15 @@ class MonkeyEcxFormatUpper {
1475
1610
  // not to do
1476
1611
  }
1477
1612
  onKeyDown(evt) {
1613
+ var _a;
1478
1614
  const value = this._el.nativeElement.value.toUpperCase();
1479
1615
  this._renderer.setProperty(this._el.nativeElement, 'value', value);
1480
- this._onChange(value);
1616
+ (_a = this._onChange) === null || _a === void 0 ? void 0 : _a.call(this, value);
1481
1617
  evt.preventDefault();
1482
1618
  }
1483
1619
  onBlur() {
1484
- this._touched();
1620
+ var _a;
1621
+ (_a = this._touched) === null || _a === void 0 ? void 0 : _a.call(this);
1485
1622
  }
1486
1623
  writeValue(value) {
1487
1624
  this._renderer.setProperty(this._el.nativeElement, 'value', value);
@@ -1496,18 +1633,18 @@ class MonkeyEcxFormatUpper {
1496
1633
  this._renderer.setProperty(this._el.nativeElement, 'disabled', isDisabled);
1497
1634
  }
1498
1635
  }
1499
- MonkeyEcxFormatUpper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatUpper, deps: [{ token: i0.ElementRef, self: true }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
1500
- MonkeyEcxFormatUpper.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.15", type: MonkeyEcxFormatUpper, selector: "[monkeyecxFormatUpper]", host: { listeners: { "keyup": "onKeyDown($event)", "blur": "onBlur($event)" } }, providers: [
1636
+ MonkeyEcxFormatUpper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatUpper, deps: [{ token: i0.ElementRef, self: true }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
1637
+ MonkeyEcxFormatUpper.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: MonkeyEcxFormatUpper, selector: "[monkeyecxFormatUpper]", host: { listeners: { "keyup": "onKeyDown($event)", "blur": "onBlur($event)" } }, providers: [
1501
1638
  {
1502
1639
  provide: NG_VALUE_ACCESSOR,
1503
1640
  useExisting: forwardRef(() => {
1504
1641
  // eslint-disable-next-line no-use-before-define
1505
1642
  return MonkeyEcxFormatUpper;
1506
1643
  }),
1507
- multi: true
1508
- }
1644
+ multi: true,
1645
+ },
1509
1646
  ], ngImport: i0 });
1510
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFormatUpper, decorators: [{
1647
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatUpper, decorators: [{
1511
1648
  type: Directive,
1512
1649
  args: [{
1513
1650
  selector: '[monkeyecxFormatUpper]',
@@ -1518,13 +1655,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
1518
1655
  // eslint-disable-next-line no-use-before-define
1519
1656
  return MonkeyEcxFormatUpper;
1520
1657
  }),
1521
- multi: true
1522
- }
1523
- ]
1658
+ multi: true,
1659
+ },
1660
+ ],
1524
1661
  }]
1525
- }], ctorParameters: function () { return [{ type: i0.ElementRef, decorators: [{
1526
- type: Self
1527
- }] }, { type: i0.Renderer2 }]; }, propDecorators: { onKeyDown: [{
1662
+ }], ctorParameters: function () {
1663
+ return [{ type: i0.ElementRef, decorators: [{
1664
+ type: Self
1665
+ }] }, { type: i0.Renderer2 }];
1666
+ }, propDecorators: { onKeyDown: [{
1528
1667
  type: HostListener,
1529
1668
  args: ['keyup', ['$event']]
1530
1669
  }], onBlur: [{
@@ -1545,9 +1684,9 @@ class MonkeyEcxOnlyAlphaNumericDirective {
1545
1684
  }
1546
1685
  }
1547
1686
  }
1548
- MonkeyEcxOnlyAlphaNumericDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxOnlyAlphaNumericDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
1549
- MonkeyEcxOnlyAlphaNumericDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.15", type: MonkeyEcxOnlyAlphaNumericDirective, selector: "[monkeyecxOnlyAlphaNumeric]", host: { listeners: { "input": "onInputChange($event)" } }, ngImport: i0 });
1550
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxOnlyAlphaNumericDirective, decorators: [{
1687
+ MonkeyEcxOnlyAlphaNumericDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxOnlyAlphaNumericDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
1688
+ MonkeyEcxOnlyAlphaNumericDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: MonkeyEcxOnlyAlphaNumericDirective, selector: "[monkeyecxOnlyAlphaNumeric]", host: { listeners: { "input": "onInputChange($event)" } }, ngImport: i0 });
1689
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxOnlyAlphaNumericDirective, decorators: [{
1551
1690
  type: Directive,
1552
1691
  args: [{
1553
1692
  selector: '[monkeyecxOnlyAlphaNumeric]'
@@ -1570,9 +1709,9 @@ class MonkeyEcxOnlyNumbersDirective {
1570
1709
  }
1571
1710
  }
1572
1711
  }
1573
- MonkeyEcxOnlyNumbersDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxOnlyNumbersDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
1574
- MonkeyEcxOnlyNumbersDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.15", type: MonkeyEcxOnlyNumbersDirective, selector: "[monkeyecxOnlyNumbers]", host: { listeners: { "input": "onInputChange($event)" } }, ngImport: i0 });
1575
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxOnlyNumbersDirective, decorators: [{
1712
+ MonkeyEcxOnlyNumbersDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxOnlyNumbersDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
1713
+ MonkeyEcxOnlyNumbersDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: MonkeyEcxOnlyNumbersDirective, selector: "[monkeyecxOnlyNumbers]", host: { listeners: { "input": "onInputChange($event)" } }, ngImport: i0 });
1714
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxOnlyNumbersDirective, decorators: [{
1576
1715
  type: Directive,
1577
1716
  args: [{
1578
1717
  selector: '[monkeyecxOnlyNumbers]'
@@ -1589,18 +1728,18 @@ class MonkeyEcxRequestPagedHandling {
1589
1728
  page: {}
1590
1729
  };
1591
1730
  }
1592
- handlePagedValuesFromApi(url) {
1731
+ handlePagedValuesFromApi(url = '') {
1593
1732
  if (url.search('\\?') < 0)
1594
1733
  return url;
1595
- const params = url.substr(url.search('\\?') + 1, url.length);
1596
- url = url.substr(0, url.search('\\?'));
1734
+ const params = url.substring(url.search('\\?') + 1, url.length);
1735
+ url = url.substring(0, url.search('\\?'));
1597
1736
  return `${url}?${new HttpParams({
1598
1737
  fromString: params
1599
1738
  }).delete('size').delete('page').toString()}`;
1600
1739
  }
1601
1740
  getUrlParams(url) {
1602
1741
  const { pagedParams } = this;
1603
- const { number, size } = pagedParams === null || pagedParams === void 0 ? void 0 : pagedParams.page;
1742
+ const { number, size } = (pagedParams === null || pagedParams === void 0 ? void 0 : pagedParams.page) || {};
1604
1743
  const hasInitialQueryParams = url.search('\\?') > 0;
1605
1744
  return `${!hasInitialQueryParams ? '?' : '&'}page=${number || 0}&size=${size || 20}`;
1606
1745
  }
@@ -1617,6 +1756,9 @@ class MonkeyEcxCommonsService {
1617
1756
  this.tokenStorage = tokenStorage;
1618
1757
  this.otherArgs = otherArgs;
1619
1758
  this.flagValidator = true;
1759
+ this.__error = null;
1760
+ this.__handledError = null;
1761
+ this.__page = null;
1620
1762
  this.__requestPaged = null;
1621
1763
  this.__onSearchChanged$ = new BehaviorSubject(null);
1622
1764
  this.__onDataChanged$ = new BehaviorSubject(null);
@@ -1626,8 +1768,10 @@ class MonkeyEcxCommonsService {
1626
1768
  this.__onGovernmentIdDataChanged$ = new BehaviorSubject(null);
1627
1769
  this.__onZipCodeDataChanged$ = new BehaviorSubject(null);
1628
1770
  this.__oni18nDataChanged$ = new BehaviorSubject(null);
1629
- this.__onDoSearch$ = new BehaviorSubject(null);
1771
+ this.__onDoSearch$ = new BehaviorSubject({});
1630
1772
  this.__onDoPagination$ = new BehaviorSubject(null);
1773
+ this.__tokenCredentials = null;
1774
+ this.__schedule = null;
1631
1775
  this.handleInit();
1632
1776
  }
1633
1777
  handleInit() {
@@ -1636,7 +1780,9 @@ class MonkeyEcxCommonsService {
1636
1780
  this.__tokenCredentials = this.tokenStorage.getToken();
1637
1781
  }
1638
1782
  if ((_a = this.otherArgs) === null || _a === void 0 ? void 0 : _a.router) {
1639
- const { clearOnChangeRoute } = (_c = (_b = this.otherArgs) === null || _b === void 0 ? void 0 : _b.schedule) === null || _c === void 0 ? void 0 : _c.options;
1783
+ const { clearOnChangeRoute } = ((_c = (_b = this.otherArgs) === null || _b === void 0 ? void 0 : _b.schedule) === null || _c === void 0 ? void 0 : _c.options) || {
1784
+ clearOnChangeRoute: false
1785
+ };
1640
1786
  this.otherArgs.router.events
1641
1787
  .pipe(filter((event) => {
1642
1788
  return event instanceof NavigationStart;
@@ -1691,11 +1837,10 @@ class MonkeyEcxCommonsService {
1691
1837
  503: 'service-problems'
1692
1838
  };
1693
1839
  if (!router) {
1694
- // eslint-disable-next-line no-console
1695
1840
  console.error('Router must be declared');
1696
1841
  }
1697
1842
  else {
1698
- router.navigate([`/app/pages/${routes[statusCode]}`.toLowerCase()], {
1843
+ router === null || router === void 0 ? void 0 : router.navigate([`/app/pages/${routes[statusCode]}`.toLowerCase()], {
1699
1844
  skipLocationChange: true
1700
1845
  });
1701
1846
  }
@@ -1721,10 +1866,10 @@ class MonkeyEcxCommonsService {
1721
1866
  }
1722
1867
  getNormalizedUrl(url) {
1723
1868
  const { __requestPaged } = this;
1724
- return new MonkeyEcxRequestPagedHandling(url, __requestPaged).getRequestWithPagedParams();
1869
+ return new MonkeyEcxRequestPagedHandling(url, __requestPaged || {}).getRequestWithPagedParams();
1725
1870
  }
1726
1871
  clear(clearData) {
1727
- var _a, _b, _c;
1872
+ var _a, _b, _c, _d, _e, _f;
1728
1873
  if (clearData) {
1729
1874
  this.__data = null;
1730
1875
  this.__requestPaged = null;
@@ -1733,9 +1878,9 @@ class MonkeyEcxCommonsService {
1733
1878
  if (this.__schedule) {
1734
1879
  const { queue } = this.__schedule;
1735
1880
  if (queue) {
1736
- this.otherArgs.queue.service.removeQueueItem(queue);
1881
+ (_c = (_b = (_a = this.otherArgs) === null || _a === void 0 ? void 0 : _a.queue) === null || _b === void 0 ? void 0 : _b.service) === null || _c === void 0 ? void 0 : _c.removeQueueItem(queue);
1737
1882
  }
1738
- (_c = (_b = (_a = this.otherArgs) === null || _a === void 0 ? void 0 : _a.schedule) === null || _b === void 0 ? void 0 : _b.service) === null || _c === void 0 ? void 0 : _c.removeSchedule(this.__schedule);
1883
+ (_f = (_e = (_d = this.otherArgs) === null || _d === void 0 ? void 0 : _d.schedule) === null || _e === void 0 ? void 0 : _e.service) === null || _f === void 0 ? void 0 : _f.removeSchedule(this.__schedule);
1739
1884
  this.__schedule = null;
1740
1885
  }
1741
1886
  }
@@ -1753,11 +1898,11 @@ class MonkeyEcxCommonsService {
1753
1898
  this.__tokenCredentials = this.tokenStorage.getToken();
1754
1899
  }
1755
1900
  if (this.allowedSecurityAccess(otherArgs === null || otherArgs === void 0 ? void 0 : otherArgs.security)) {
1756
- Object.entries(this).forEach(([key, value]) => {
1757
- if (value instanceof BehaviorSubject) {
1758
- this[key] = new BehaviorSubject(null);
1759
- }
1760
- });
1901
+ //Object.entries(this).forEach(([key, value]) => {
1902
+ // if (value instanceof BehaviorSubject) {
1903
+ // Object.defineProperty(this, key, new BehaviorSubject(null));
1904
+ // }
1905
+ //});
1761
1906
  if (this.__schedule) {
1762
1907
  (_c = (_b = (_a = this.otherArgs) === null || _a === void 0 ? void 0 : _a.schedule) === null || _b === void 0 ? void 0 : _b.service) === null || _c === void 0 ? void 0 : _c.removeSchedule(this.__schedule);
1763
1908
  this.__schedule = null;
@@ -1784,8 +1929,8 @@ class MonkeyEcxCommonsService {
1784
1929
  });
1785
1930
  }
1786
1931
  if (otherArgs === null || otherArgs === void 0 ? void 0 : otherArgs.translateOptions) {
1787
- const { service, keys } = otherArgs.translateOptions;
1788
- this.geti18n(service, keys);
1932
+ const { service, keys } = otherArgs === null || otherArgs === void 0 ? void 0 : otherArgs.translateOptions;
1933
+ this.geti18n(service, keys || '');
1789
1934
  }
1790
1935
  if (otherArgs === null || otherArgs === void 0 ? void 0 : otherArgs.feature) {
1791
1936
  const { flag, service } = otherArgs.feature;
@@ -1798,7 +1943,7 @@ class MonkeyEcxCommonsService {
1798
1943
  const hasFlag = service.getFlag(flag);
1799
1944
  if (MonkeyEcxUtils.persistNullEmptyUndefined(hasFlag)) {
1800
1945
  if (!hasFlag) {
1801
- this.navigateToErrorPage(404, otherArgs.router);
1946
+ this.navigateToErrorPage(404, otherArgs === null || otherArgs === void 0 ? void 0 : otherArgs.router);
1802
1947
  return;
1803
1948
  }
1804
1949
  }
@@ -1811,7 +1956,7 @@ class MonkeyEcxCommonsService {
1811
1956
  }
1812
1957
  }
1813
1958
  else {
1814
- this.navigateToErrorPage(403, otherArgs.router);
1959
+ this.navigateToErrorPage(403, otherArgs === null || otherArgs === void 0 ? void 0 : otherArgs.router);
1815
1960
  }
1816
1961
  }
1817
1962
  getHTTPHeaderApplicationPDF() {
@@ -1821,8 +1966,23 @@ class MonkeyEcxCommonsService {
1821
1966
  };
1822
1967
  }
1823
1968
  genericMethod(link, data, callback) {
1824
- const { href, type } = link;
1825
- this.monkeyecxService[type.toLowerCase()](`${href}`, data).subscribe((resp) => {
1969
+ var _a, _b, _c, _d, _e;
1970
+ const { href, type = 'get' } = link;
1971
+ let func = null;
1972
+ const tp = `${type}`.toLowerCase();
1973
+ if (tp === 'get') {
1974
+ func = (_a = this.monkeyecxService) === null || _a === void 0 ? void 0 : _a.get;
1975
+ }
1976
+ else if (tp === 'post') {
1977
+ func = (_b = this.monkeyecxService) === null || _b === void 0 ? void 0 : _b.post;
1978
+ }
1979
+ else if (tp === 'put') {
1980
+ func = (_c = this.monkeyecxService) === null || _c === void 0 ? void 0 : _c.put;
1981
+ }
1982
+ else if (tp === 'delete') {
1983
+ func = (_d = this.monkeyecxService) === null || _d === void 0 ? void 0 : _d.delete;
1984
+ }
1985
+ (_e = func === null || func === void 0 ? void 0 : func(`${href}`, data)) === null || _e === void 0 ? void 0 : _e.subscribe((resp) => {
1826
1986
  if (callback)
1827
1987
  callback();
1828
1988
  }, (err) => {
@@ -1848,6 +2008,12 @@ __decorate([
1848
2008
 
1849
2009
  /* eslint-disable max-len */
1850
2010
  class MonkeyEcxHandlingService {
2011
+ constructor() {
2012
+ this.monkeyecxServiceCredentials = null;
2013
+ this.monkeyecxRequestQueue = null;
2014
+ this.monkeyecxRequestDownload = null;
2015
+ this.monkeyecxRequestUpload = null;
2016
+ }
1851
2017
  clearAll() {
1852
2018
  this.monkeyecxServiceCredentials = null;
1853
2019
  this.monkeyecxRequestQueue = null;
@@ -1879,9 +2045,9 @@ class MonkeyEcxHandlingService {
1879
2045
  return this.monkeyecxRequestUpload;
1880
2046
  }
1881
2047
  }
1882
- MonkeyEcxHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxHandlingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1883
- MonkeyEcxHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxHandlingService, providedIn: 'root' });
1884
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxHandlingService, decorators: [{
2048
+ MonkeyEcxHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxHandlingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2049
+ MonkeyEcxHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxHandlingService, providedIn: 'root' });
2050
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxHandlingService, decorators: [{
1885
2051
  type: Injectable,
1886
2052
  args: [{
1887
2053
  providedIn: 'root'
@@ -1975,51 +2141,25 @@ class MonkeyEcxService {
1975
2141
  }));
1976
2142
  }
1977
2143
  }
1978
- MonkeyEcxService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxService, deps: [{ token: i1$4.HttpClient }, { token: MonkeyEcxHandlingService }], target: i0.ɵɵFactoryTarget.Injectable });
1979
- MonkeyEcxService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxService, providedIn: 'root' });
1980
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxService, decorators: [{
2144
+ MonkeyEcxService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxService, deps: [{ token: i1$4.HttpClient }, { token: MonkeyEcxHandlingService }], target: i0.ɵɵFactoryTarget.Injectable });
2145
+ MonkeyEcxService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxService, providedIn: 'root' });
2146
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxService, decorators: [{
1981
2147
  type: Injectable,
1982
2148
  args: [{
1983
2149
  providedIn: 'root'
1984
2150
  }]
1985
2151
  }], ctorParameters: function () { return [{ type: i1$4.HttpClient }, { type: MonkeyEcxHandlingService }]; } });
1986
2152
 
1987
- /* eslint-disable object-curly-newline */
1988
- class MonkeyEcxCookieStorageService {
1989
- constructor(cookieService) {
1990
- this.cookieService = cookieService;
1991
- // not to do
1992
- }
1993
- setCookie(name, value) {
1994
- this.removeCookie(name);
1995
- this.cookieService.set(name, value, null, '/', '', true, 'None');
1996
- }
1997
- getCookie(name) {
1998
- return this.cookieService.get(name);
1999
- }
2000
- removeCookie(name) {
2001
- this.cookieService.delete(name, '/');
2002
- }
2003
- }
2004
- MonkeyEcxCookieStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxCookieStorageService, deps: [{ token: i1$5.CookieService }], target: i0.ɵɵFactoryTarget.Injectable });
2005
- MonkeyEcxCookieStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxCookieStorageService, providedIn: 'root' });
2006
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxCookieStorageService, decorators: [{
2007
- type: Injectable,
2008
- args: [{
2009
- providedIn: 'root'
2010
- }]
2011
- }], ctorParameters: function () { return [{ type: i1$5.CookieService }]; } });
2012
-
2013
2153
  let window$1;
2014
2154
  const text = {
2015
2155
  i18n: {
2016
2156
  title: 'We have an quick update for you',
2017
- message: 'Click anywhere here to reload your locale'
2157
+ message: 'Click anywhere here to reload your locale',
2018
2158
  },
2019
2159
  theme: {
2020
2160
  title: 'We have an quick update for you',
2021
- message: 'Click anywhere here to reload your theme'
2022
- }
2161
+ message: 'Click anywhere here to reload your theme',
2162
+ },
2023
2163
  };
2024
2164
  class MonkeyEcxErrorConfigService {
2025
2165
  constructor() {
@@ -2032,28 +2172,28 @@ class MonkeyEcxErrorConfigService {
2032
2172
  theme: '#0273E8',
2033
2173
  launcherText: '#fff',
2034
2174
  header: '#0273E8',
2035
- button: '#0273E8'
2175
+ button: '#0273E8',
2036
2176
  },
2037
2177
  zIndex: 99,
2038
2178
  offset: {
2039
2179
  horizontal: '1px',
2040
- vertical: '20px'
2180
+ vertical: '20px',
2041
2181
  },
2042
2182
  mobile: {
2043
- labelVisible: true
2183
+ labelVisible: true,
2044
2184
  },
2045
2185
  launcher: {
2046
2186
  mobile: {
2047
- labelVisible: true
2048
- }
2049
- }
2050
- }
2187
+ labelVisible: true,
2188
+ },
2189
+ },
2190
+ },
2051
2191
  });
2052
2192
  window$1.zE('webWidget', 'setLocale', 'en-US');
2053
2193
  window$1.zE('webWidget', 'show');
2054
2194
  }
2055
2195
  apply(type) {
2056
- const { title, message } = text[type];
2196
+ const { title, message } = text === null || text === void 0 ? void 0 : text[type];
2057
2197
  const element = document.createElement('div');
2058
2198
  element.id = 'monkeyecx-information';
2059
2199
  const elementImg = document.createElement('img');
@@ -2084,12 +2224,12 @@ class MonkeyEcxErrorConfigService {
2084
2224
  this.enableSupport();
2085
2225
  }
2086
2226
  }
2087
- MonkeyEcxErrorConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxErrorConfigService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2088
- MonkeyEcxErrorConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxErrorConfigService, providedIn: 'root' });
2089
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxErrorConfigService, decorators: [{
2227
+ MonkeyEcxErrorConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxErrorConfigService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2228
+ MonkeyEcxErrorConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxErrorConfigService, providedIn: 'root' });
2229
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxErrorConfigService, decorators: [{
2090
2230
  type: Injectable,
2091
2231
  args: [{
2092
- providedIn: 'root'
2232
+ providedIn: 'root',
2093
2233
  }]
2094
2234
  }], ctorParameters: function () { return []; } });
2095
2235
 
@@ -2102,12 +2242,9 @@ class MonkeyEcxi18nConfigService extends MonkeyEcxCommonsService {
2102
2242
  this.translateService.addLangs(['pt-BR', 'en-US']);
2103
2243
  this.translateService.setDefaultLang('pt-BR');
2104
2244
  this.translateService.use('pt-BR');
2105
- this.applyLocal();
2106
- }
2107
- applyLocal() {
2108
- registerLocaleData(localePTBR, 'pt-PT');
2109
2245
  }
2110
2246
  apply(params, environment, change = false) {
2247
+ var _a;
2111
2248
  const { monkeyecxService, monkeyecxCookieStorageService, monkeyecxErrorConfigService } = this;
2112
2249
  let { i18n } = params;
2113
2250
  const cookie = monkeyecxCookieStorageService.getCookie('monkey-app-locale');
@@ -2119,21 +2256,21 @@ class MonkeyEcxi18nConfigService extends MonkeyEcxCommonsService {
2119
2256
  if (!cookie)
2120
2257
  change = true;
2121
2258
  }
2122
- monkeyecxService.get(`${environment.localAssets}/i18n/${i18n.lang}.json`).subscribe((config) => {
2259
+ (_a = monkeyecxService === null || monkeyecxService === void 0 ? void 0 : monkeyecxService.get(`${environment.localAssets}/i18n/${i18n === null || i18n === void 0 ? void 0 : i18n.lang}.json`)) === null || _a === void 0 ? void 0 : _a.subscribe((config) => {
2123
2260
  const { lang, data } = config;
2124
2261
  this.translateService.setTranslation(lang, data, true);
2125
2262
  this.translateService.use(lang);
2126
2263
  if (change)
2127
2264
  document.location.reload();
2128
2265
  }, (err) => {
2129
- console.error(`i18n ${i18n.lang} not found!`);
2266
+ console.error(`i18n ${i18n === null || i18n === void 0 ? void 0 : i18n.lang} not found!`);
2130
2267
  monkeyecxErrorConfigService.apply('i18n');
2131
2268
  throwError(err);
2132
2269
  });
2133
2270
  }
2134
2271
  }
2135
- MonkeyEcxi18nConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxi18nConfigService, deps: [{ token: MonkeyEcxService }, { token: i1$1.TranslateService }, { token: MonkeyEcxCookieStorageService }, { token: MonkeyEcxErrorConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
2136
- MonkeyEcxi18nConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxi18nConfigService, providedIn: 'root' });
2272
+ MonkeyEcxi18nConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxi18nConfigService, deps: [{ token: MonkeyEcxService }, { token: i1$1.TranslateService }, { token: MonkeyEcxCookieStorageService }, { token: MonkeyEcxErrorConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
2273
+ MonkeyEcxi18nConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxi18nConfigService, providedIn: 'root' });
2137
2274
  __decorate([
2138
2275
  MonkeyEcxCoreService({
2139
2276
  httpResponse: {
@@ -2144,7 +2281,7 @@ __decorate([
2144
2281
  }
2145
2282
  })
2146
2283
  ], MonkeyEcxi18nConfigService.prototype, "apply", null);
2147
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxi18nConfigService, decorators: [{
2284
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxi18nConfigService, decorators: [{
2148
2285
  type: Injectable,
2149
2286
  args: [{
2150
2287
  providedIn: 'root'
@@ -2158,7 +2295,7 @@ class MonkeyEcxLogsConfigService {
2158
2295
  datadogRum.init({
2159
2296
  applicationId: environment === null || environment === void 0 ? void 0 : environment.dataDogApplicationId,
2160
2297
  clientToken: environment === null || environment === void 0 ? void 0 : environment.dataDogClientToken,
2161
- service: program.token,
2298
+ service: program === null || program === void 0 ? void 0 : program.token,
2162
2299
  site: 'datadoghq.com',
2163
2300
  sampleRate: 100,
2164
2301
  replaySampleRate: 100,
@@ -2173,9 +2310,9 @@ class MonkeyEcxLogsConfigService {
2173
2310
  }
2174
2311
  }
2175
2312
  }
2176
- MonkeyEcxLogsConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxLogsConfigService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2177
- MonkeyEcxLogsConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxLogsConfigService, providedIn: 'root' });
2178
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxLogsConfigService, decorators: [{
2313
+ MonkeyEcxLogsConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxLogsConfigService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2314
+ MonkeyEcxLogsConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxLogsConfigService, providedIn: 'root' });
2315
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxLogsConfigService, decorators: [{
2179
2316
  type: Injectable,
2180
2317
  args: [{
2181
2318
  providedIn: 'root'
@@ -2192,7 +2329,7 @@ class MonkeyEcxServiceWorkerConfigService {
2192
2329
  handleValidation(config) {
2193
2330
  var _a;
2194
2331
  const { updates, modalService } = this;
2195
- (_a = updates === null || updates === void 0 ? void 0 : updates.available) === null || _a === void 0 ? void 0 : _a.subscribe(() => {
2332
+ (_a = updates === null || updates === void 0 ? void 0 : updates.versionUpdates) === null || _a === void 0 ? void 0 : _a.subscribe(() => {
2196
2333
  if (!config.showNewVersion || config.maintenance.closed) {
2197
2334
  document.location.reload();
2198
2335
  }
@@ -2220,14 +2357,14 @@ class MonkeyEcxServiceWorkerConfigService {
2220
2357
  this.verify();
2221
2358
  }
2222
2359
  }
2223
- MonkeyEcxServiceWorkerConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxServiceWorkerConfigService, deps: [{ token: i0.ApplicationRef }, { token: i1$6.SwUpdate }, { token: i1.MonkeyStyleGuideModalService }], target: i0.ɵɵFactoryTarget.Injectable });
2224
- MonkeyEcxServiceWorkerConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxServiceWorkerConfigService, providedIn: 'root' });
2225
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxServiceWorkerConfigService, decorators: [{
2360
+ MonkeyEcxServiceWorkerConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxServiceWorkerConfigService, deps: [{ token: i0.ApplicationRef }, { token: i1$5.SwUpdate }, { token: i1.MonkeyStyleGuideModalService }], target: i0.ɵɵFactoryTarget.Injectable });
2361
+ MonkeyEcxServiceWorkerConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxServiceWorkerConfigService, providedIn: 'root' });
2362
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxServiceWorkerConfigService, decorators: [{
2226
2363
  type: Injectable,
2227
2364
  args: [{
2228
2365
  providedIn: 'root'
2229
2366
  }]
2230
- }], ctorParameters: function () { return [{ type: i0.ApplicationRef }, { type: i1$6.SwUpdate }, { type: i1.MonkeyStyleGuideModalService }]; } });
2367
+ }], ctorParameters: function () { return [{ type: i0.ApplicationRef }, { type: i1$5.SwUpdate }, { type: i1.MonkeyStyleGuideModalService }]; } });
2231
2368
 
2232
2369
  /* eslint-disable no-console */
2233
2370
  class MonkeyEcxSecurityConsoleConfigService extends MonkeyEcxCommonsService {
@@ -2258,9 +2395,9 @@ class MonkeyEcxSecurityConsoleConfigService extends MonkeyEcxCommonsService {
2258
2395
  this.handleValidation();
2259
2396
  }
2260
2397
  }
2261
- MonkeyEcxSecurityConsoleConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxSecurityConsoleConfigService, deps: [{ token: i1$1.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
2262
- MonkeyEcxSecurityConsoleConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxSecurityConsoleConfigService, providedIn: 'root' });
2263
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxSecurityConsoleConfigService, decorators: [{
2398
+ MonkeyEcxSecurityConsoleConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxSecurityConsoleConfigService, deps: [{ token: i1$1.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
2399
+ MonkeyEcxSecurityConsoleConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxSecurityConsoleConfigService, providedIn: 'root' });
2400
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxSecurityConsoleConfigService, decorators: [{
2264
2401
  type: Injectable,
2265
2402
  args: [{
2266
2403
  providedIn: 'root'
@@ -2290,9 +2427,9 @@ class MonkeyEcxMaintenanceConfigService {
2290
2427
  this.handleValidation(config);
2291
2428
  }
2292
2429
  }
2293
- MonkeyEcxMaintenanceConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxMaintenanceConfigService, deps: [{ token: i1.MonkeyStyleGuideModalService }, { token: i1$3.Router }], target: i0.ɵɵFactoryTarget.Injectable });
2294
- MonkeyEcxMaintenanceConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxMaintenanceConfigService, providedIn: 'root' });
2295
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxMaintenanceConfigService, decorators: [{
2430
+ MonkeyEcxMaintenanceConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxMaintenanceConfigService, deps: [{ token: i1.MonkeyStyleGuideModalService }, { token: i1$3.Router }], target: i0.ɵɵFactoryTarget.Injectable });
2431
+ MonkeyEcxMaintenanceConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxMaintenanceConfigService, providedIn: 'root' });
2432
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxMaintenanceConfigService, decorators: [{
2296
2433
  type: Injectable,
2297
2434
  args: [{
2298
2435
  providedIn: 'root'
@@ -2302,10 +2439,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
2302
2439
  class MonkeyEcxFeatureToggleService {
2303
2440
  constructor() {
2304
2441
  this.flagSubject$ = new BehaviorSubject(null);
2442
+ this.flags = undefined;
2443
+ this.ldClient = undefined;
2305
2444
  // not to do
2306
2445
  }
2307
2446
  getAllFlags() {
2308
- this.flags = this.ldClient.allFlags();
2447
+ var _a;
2448
+ this.flags = (_a = this.ldClient) === null || _a === void 0 ? void 0 : _a.allFlags();
2309
2449
  this.flagSubject$.next(true);
2310
2450
  }
2311
2451
  identify(config, environment) {
@@ -2327,7 +2467,7 @@ class MonkeyEcxFeatureToggleService {
2327
2467
  this.ldClient.on('ready', this.getAllFlags.bind(this));
2328
2468
  }
2329
2469
  else {
2330
- this.ldClient.identify(user, null, this.getAllFlags);
2470
+ this.ldClient.identify(user, undefined, this.getAllFlags);
2331
2471
  }
2332
2472
  }
2333
2473
  }
@@ -2350,9 +2490,9 @@ class MonkeyEcxFeatureToggleService {
2350
2490
  return MonkeyUtils.persistNullEmptyUndefined(flagValue) ? flagValue : null;
2351
2491
  }
2352
2492
  }
2353
- MonkeyEcxFeatureToggleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFeatureToggleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2354
- MonkeyEcxFeatureToggleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFeatureToggleService, providedIn: 'root' });
2355
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxFeatureToggleService, decorators: [{
2493
+ MonkeyEcxFeatureToggleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFeatureToggleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2494
+ MonkeyEcxFeatureToggleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFeatureToggleService, providedIn: 'root' });
2495
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFeatureToggleService, decorators: [{
2356
2496
  type: Injectable,
2357
2497
  args: [{
2358
2498
  providedIn: 'root'
@@ -2370,8 +2510,8 @@ class MonkeyEcxConfigService extends MonkeyEcxCommonsService {
2370
2510
  this.monkeyecxMaintenanceConfigService = monkeyecxMaintenanceConfigService;
2371
2511
  this.monkeyecxErrorConfigService = monkeyecxErrorConfigService;
2372
2512
  this.monkeyEcxFeatureToggleService = monkeyEcxFeatureToggleService;
2373
- this.configSubject$ = new BehaviorSubject(null);
2374
- this.configBoostrapSubject$ = new BehaviorSubject(null);
2513
+ this.configSubject$ = new BehaviorSubject({});
2514
+ this.configBoostrapSubject$ = new BehaviorSubject({});
2375
2515
  }
2376
2516
  internalValidations(...args) {
2377
2517
  const { monkeyecxServiceWorkerConfigService, monkeyecxSecurityConsoleConfigService, monkeyecxMaintenanceConfigService } = this;
@@ -2380,12 +2520,15 @@ class MonkeyEcxConfigService extends MonkeyEcxCommonsService {
2380
2520
  monkeyecxSecurityConsoleConfigService.apply();
2381
2521
  monkeyecxServiceWorkerConfigService.apply(configBoostrap);
2382
2522
  monkeyecxMaintenanceConfigService.apply(configBoostrap);
2523
+ console.log('configBoostrap');
2524
+ console.log(configBoostrap);
2383
2525
  callback(configBoostrap);
2384
2526
  }
2385
- getWhiteLabelSettings(monkeyecxCode, configBoostrap = null, callback, environment, identifyCode) {
2527
+ getWhiteLabelSettings(monkeyecxCode, configBoostrap, callback, environment, identifyCode) {
2528
+ var _a;
2386
2529
  const { monkeyecxService, monkeyecxi18nConfigService, configSubject$, monkeyStyleGuideSettingsService, monkeyecxLogsConfigService, monkeyecxErrorConfigService, monkeyEcxFeatureToggleService, internalValidations } = this;
2387
2530
  const url = `${environment.urlAssets}`;
2388
- monkeyecxService.get(`${url}/${monkeyecxCode.toLowerCase()}/white-label.json`).subscribe((config) => {
2531
+ (_a = monkeyecxService === null || monkeyecxService === void 0 ? void 0 : monkeyecxService.get(`${url}/${monkeyecxCode.toLowerCase()}/white-label.json`)) === null || _a === void 0 ? void 0 : _a.subscribe((config) => {
2389
2532
  monkeyecxi18nConfigService.apply(config, environment);
2390
2533
  monkeyecxLogsConfigService.apply(config, configBoostrap, environment, identifyCode);
2391
2534
  monkeyEcxFeatureToggleService.apply(configSubject$, environment);
@@ -2398,12 +2541,11 @@ class MonkeyEcxConfigService extends MonkeyEcxCommonsService {
2398
2541
  });
2399
2542
  }
2400
2543
  init(callback, environment, identifyCode, monkeyecxCode) {
2544
+ var _a;
2401
2545
  const { monkeyecxService, configBoostrapSubject$, monkeyecxErrorConfigService } = this;
2402
- monkeyecxService
2403
- .get(`${environment.boostrapAssets}?t=${MonkeyUtils.getRandomString(30)}`, {
2546
+ (_a = monkeyecxService === null || monkeyecxService === void 0 ? void 0 : monkeyecxService.get(`${environment.boostrapAssets}?t=${MonkeyUtils.getRandomString(30)}`, {
2404
2547
  observe: 'response'
2405
- })
2406
- .subscribe((resp) => {
2548
+ })) === null || _a === void 0 ? void 0 : _a.subscribe((resp) => {
2407
2549
  const { headers, body } = resp;
2408
2550
  const monkeyCode = headers.get('monkey-code') || monkeyecxCode;
2409
2551
  if (monkeyCode) {
@@ -2427,8 +2569,8 @@ class MonkeyEcxConfigService extends MonkeyEcxCommonsService {
2427
2569
  return this.configBoostrapSubject$.asObservable();
2428
2570
  }
2429
2571
  }
2430
- MonkeyEcxConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxConfigService, deps: [{ token: MonkeyEcxService }, { token: MonkeyEcxi18nConfigService }, { token: MonkeyEcxLogsConfigService }, { token: i1.MonkeyStyleGuideSettingsService }, { token: MonkeyEcxServiceWorkerConfigService }, { token: MonkeyEcxSecurityConsoleConfigService }, { token: MonkeyEcxMaintenanceConfigService }, { token: MonkeyEcxErrorConfigService }, { token: MonkeyEcxFeatureToggleService }], target: i0.ɵɵFactoryTarget.Injectable });
2431
- MonkeyEcxConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxConfigService, providedIn: 'root' });
2572
+ MonkeyEcxConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxConfigService, deps: [{ token: MonkeyEcxService }, { token: MonkeyEcxi18nConfigService }, { token: MonkeyEcxLogsConfigService }, { token: i1.MonkeyStyleGuideSettingsService }, { token: MonkeyEcxServiceWorkerConfigService }, { token: MonkeyEcxSecurityConsoleConfigService }, { token: MonkeyEcxMaintenanceConfigService }, { token: MonkeyEcxErrorConfigService }, { token: MonkeyEcxFeatureToggleService }], target: i0.ɵɵFactoryTarget.Injectable });
2573
+ MonkeyEcxConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxConfigService, providedIn: 'root' });
2432
2574
  __decorate([
2433
2575
  MonkeyEcxCoreService({
2434
2576
  httpResponse: {
@@ -2439,7 +2581,7 @@ __decorate([
2439
2581
  }
2440
2582
  })
2441
2583
  ], MonkeyEcxConfigService.prototype, "init", null);
2442
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxConfigService, decorators: [{
2584
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxConfigService, decorators: [{
2443
2585
  type: Injectable,
2444
2586
  args: [{
2445
2587
  providedIn: 'root'
@@ -2482,16 +2624,20 @@ class MonkeyEcxTokenStorageService {
2482
2624
  token$.next(token);
2483
2625
  }
2484
2626
  getAllTokens() {
2485
- const { token } = this;
2627
+ var _a;
2628
+ const { token, config } = this;
2486
2629
  const handledToken = Object.assign({}, token);
2487
- Object.entries(token).forEach(([key, value]) => {
2630
+ Object.entries(token || {}).forEach(([key, value]) => {
2488
2631
  handledToken[key] = localStorage.getItem(key);
2489
2632
  });
2633
+ if (config === null || config === void 0 ? void 0 : config.program) {
2634
+ handledToken.program = (_a = config === null || config === void 0 ? void 0 : config.program) === null || _a === void 0 ? void 0 : _a.token;
2635
+ }
2490
2636
  return handledToken;
2491
2637
  }
2492
2638
  setAllMe(me) {
2493
2639
  const { me$ } = this;
2494
- let previousMe = JSON.parse(localStorage.getItem('me'));
2640
+ let previousMe = JSON.parse((localStorage === null || localStorage === void 0 ? void 0 : localStorage.getItem('me')) || '');
2495
2641
  Object.entries(me).forEach(([key, value]) => {
2496
2642
  if (MonkeyEcxUtils.persistNullEmptyUndefined(value)) {
2497
2643
  previousMe = Object.assign(Object.assign({}, previousMe), { [key]: value });
@@ -2502,7 +2648,7 @@ class MonkeyEcxTokenStorageService {
2502
2648
  }
2503
2649
  getAllMe() {
2504
2650
  const me = localStorage.getItem('me');
2505
- return JSON.parse(me);
2651
+ return JSON.parse(me || '');
2506
2652
  }
2507
2653
  tokenHasChanged() {
2508
2654
  return this.token$.asObservable();
@@ -2525,8 +2671,9 @@ class MonkeyEcxTokenStorageService {
2525
2671
  clear(force) {
2526
2672
  const { token } = this;
2527
2673
  try {
2528
- Object.entries(token).forEach(([key, value]) => {
2529
- if (token._clearIgnore.ignore.filter((val) => {
2674
+ Object.entries(token || {}).forEach(([key, value]) => {
2675
+ var _a;
2676
+ if ((((_a = token === null || token === void 0 ? void 0 : token._clearIgnore) === null || _a === void 0 ? void 0 : _a.ignore) || []).filter((val) => {
2530
2677
  return val === key;
2531
2678
  }).length <= 0 ||
2532
2679
  force === true) {
@@ -2549,9 +2696,9 @@ class MonkeyEcxTokenStorageService {
2549
2696
  });
2550
2697
  }
2551
2698
  }
2552
- MonkeyEcxTokenStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxTokenStorageService, deps: [{ token: MonkeyEcxConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
2553
- MonkeyEcxTokenStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxTokenStorageService, providedIn: 'root' });
2554
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxTokenStorageService, decorators: [{
2699
+ MonkeyEcxTokenStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxTokenStorageService, deps: [{ token: MonkeyEcxConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
2700
+ MonkeyEcxTokenStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxTokenStorageService, providedIn: 'root' });
2701
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxTokenStorageService, decorators: [{
2555
2702
  type: Injectable,
2556
2703
  args: [{
2557
2704
  providedIn: 'root'
@@ -2563,7 +2710,9 @@ class MonkeyEcxSecurityDirective {
2563
2710
  this.elementRef = elementRef;
2564
2711
  this.tokenStorageService = tokenStorageService;
2565
2712
  this.cdr = cdr;
2713
+ this.roles = null;
2566
2714
  this.byExclusion = false;
2715
+ this.tokenCredentials = null;
2567
2716
  // not to do
2568
2717
  }
2569
2718
  getRole() {
@@ -2578,7 +2727,7 @@ class MonkeyEcxSecurityDirective {
2578
2727
  handleAccess() {
2579
2728
  const { roles, byExclusion } = this;
2580
2729
  let display = 'none';
2581
- const found = roles === null || roles === void 0 ? void 0 : roles.indexOf(this.getRole());
2730
+ const found = (roles === null || roles === void 0 ? void 0 : roles.indexOf(this.getRole())) || -1;
2582
2731
  if (byExclusion) {
2583
2732
  display = 'block';
2584
2733
  if (found > -1) {
@@ -2591,7 +2740,7 @@ class MonkeyEcxSecurityDirective {
2591
2740
  display = 'block';
2592
2741
  }
2593
2742
  }
2594
- if (!roles || roles.length === 0 || (this.getRole() === 'PROGRAM_ADMIN'))
2743
+ if (!roles || roles.length === 0 || this.getRole() === 'PROGRAM_ADMIN')
2595
2744
  display = 'block';
2596
2745
  this.elementRef.nativeElement.style.display = display;
2597
2746
  this.cdr.detectChanges();
@@ -2607,12 +2756,12 @@ class MonkeyEcxSecurityDirective {
2607
2756
  this.handleAccess();
2608
2757
  }
2609
2758
  }
2610
- MonkeyEcxSecurityDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxSecurityDirective, deps: [{ token: i0.ElementRef }, { token: MonkeyEcxTokenStorageService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
2611
- MonkeyEcxSecurityDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.15", type: MonkeyEcxSecurityDirective, selector: "[monkeyecxSecurity]", inputs: { roles: ["securityRoles", "roles"], byExclusion: ["securityByExclusion", "byExclusion"] }, ngImport: i0 });
2612
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxSecurityDirective, decorators: [{
2759
+ MonkeyEcxSecurityDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxSecurityDirective, deps: [{ token: i0.ElementRef }, { token: MonkeyEcxTokenStorageService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
2760
+ MonkeyEcxSecurityDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: MonkeyEcxSecurityDirective, selector: "[monkeyecxSecurity]", inputs: { roles: ["securityRoles", "roles"], byExclusion: ["securityByExclusion", "byExclusion"] }, ngImport: i0 });
2761
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxSecurityDirective, decorators: [{
2613
2762
  type: Directive,
2614
2763
  args: [{
2615
- selector: '[monkeyecxSecurity]'
2764
+ selector: '[monkeyecxSecurity]',
2616
2765
  }]
2617
2766
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: MonkeyEcxTokenStorageService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { roles: [{
2618
2767
  type: Input,
@@ -2626,7 +2775,9 @@ class MonkeyEcxTooltipDirective {
2626
2775
  constructor(el, renderer) {
2627
2776
  this.el = el;
2628
2777
  this.renderer = renderer;
2778
+ this.enableToShow = true;
2629
2779
  this.offset = 10;
2780
+ this.tooltip = null;
2630
2781
  // not to do
2631
2782
  }
2632
2783
  onMouseEnter() {
@@ -2645,12 +2796,19 @@ class MonkeyEcxTooltipDirective {
2645
2796
  }
2646
2797
  }
2647
2798
  show() {
2648
- this.create();
2649
- this.setPosition();
2650
- this.renderer.addClass(this.tooltip, 'monkey-tooltip-show');
2799
+ if (this.enableToShow) {
2800
+ this.create();
2801
+ this.setPosition();
2802
+ this.renderer.addClass(this.tooltip, 'monkeyecx-tooltip-show');
2803
+ setTimeout(() => {
2804
+ this.hide();
2805
+ }, 5000);
2806
+ }
2651
2807
  }
2652
2808
  hide() {
2653
- this.renderer.removeClass(this.tooltip, 'monkey-tooltip-show');
2809
+ if (!this.tooltip)
2810
+ return;
2811
+ this.renderer.removeClass(this.tooltip, 'monkeyecx-tooltip-show');
2654
2812
  this.renderer.removeChild(document.body, this.tooltip);
2655
2813
  this.tooltip = null;
2656
2814
  }
@@ -2660,30 +2818,33 @@ class MonkeyEcxTooltipDirective {
2660
2818
  if (this.tooltipTitle) {
2661
2819
  const tooltipTitleElement = document.createElement('span');
2662
2820
  tooltipTitleElement.innerText = `${this.tooltipTitle}`;
2663
- tooltipTitleElement.className = 'monkey-tooltip-title';
2821
+ tooltipTitleElement.className = 'monkeyecx-tooltip-title';
2664
2822
  tooltipElement.appendChild(tooltipTitleElement);
2665
2823
  }
2666
2824
  if (this.tooltipText) {
2667
2825
  const tooltipTextElement = document.createElement('span');
2668
2826
  tooltipTextElement.innerText = `${this.tooltipText}`;
2669
- tooltipTextElement.className = 'monkey-tooltip-description';
2827
+ tooltipTextElement.className = 'monkeyecx-tooltip-description';
2670
2828
  tooltipElement.appendChild(tooltipTextElement);
2671
2829
  }
2672
2830
  this.renderer.appendChild(this.tooltip, tooltipElement);
2673
2831
  this.renderer.appendChild(document.body, this.tooltip);
2674
- this.renderer.addClass(this.tooltip, 'monkey-tooltip');
2675
- this.renderer.addClass(this.tooltip, `monkey-tooltip-${this.tooltipPosition}`);
2832
+ this.renderer.addClass(this.tooltip, 'monkeyecx-tooltip');
2833
+ this.renderer.addClass(this.tooltip, `monkeyecx-tooltip-${this.tooltipPosition}`);
2676
2834
  this.renderer.setStyle(this.tooltip, '-webkit-transition', `opacity ${this.tooltipDelay}ms`);
2677
2835
  this.renderer.setStyle(this.tooltip, '-moz-transition', `opacity ${this.tooltipDelay}ms`);
2678
2836
  this.renderer.setStyle(this.tooltip, '-o-transition', `opacity ${this.tooltipDelay}ms`);
2679
2837
  this.renderer.setStyle(this.tooltip, 'transition', `opacity ${this.tooltipDelay}ms`);
2680
2838
  }
2681
2839
  setPosition() {
2840
+ var _a;
2682
2841
  const hostPos = this.el.nativeElement.getBoundingClientRect();
2683
- const tooltipPos = this.tooltip.getBoundingClientRect();
2842
+ const tooltipPos = (_a = this.tooltip) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect();
2843
+ if (!tooltipPos)
2844
+ return;
2684
2845
  const scrollPos = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0;
2685
- let top;
2686
- let left;
2846
+ let top = 0;
2847
+ let left = 0;
2687
2848
  if (this.tooltipPosition === 'top') {
2688
2849
  top = hostPos.top - tooltipPos.height - this.offset;
2689
2850
  left = hostPos.left + (hostPos.width - tooltipPos.width) / 2;
@@ -2704,12 +2865,12 @@ class MonkeyEcxTooltipDirective {
2704
2865
  this.renderer.setStyle(this.tooltip, 'left', `${left}px`);
2705
2866
  }
2706
2867
  }
2707
- MonkeyEcxTooltipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxTooltipDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
2708
- MonkeyEcxTooltipDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.15", type: MonkeyEcxTooltipDirective, selector: "[monkeyecxTooltip]", inputs: { tooltipDelay: "tooltipDelay", tooltipPosition: "tooltipPosition", tooltipText: "tooltipText", tooltipTitle: "tooltipTitle" }, host: { listeners: { "mouseenter": "onMouseEnter()", "mouseleave": "onMouseLeave()", "click": "clickout()" } }, ngImport: i0 });
2709
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxTooltipDirective, decorators: [{
2868
+ MonkeyEcxTooltipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxTooltipDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
2869
+ MonkeyEcxTooltipDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: MonkeyEcxTooltipDirective, selector: "[monkeyecxTooltip]", inputs: { tooltipDelay: "tooltipDelay", tooltipPosition: "tooltipPosition", tooltipText: "tooltipText", tooltipTitle: "tooltipTitle", enableToShow: "enableToShow" }, host: { listeners: { "mouseenter": "onMouseEnter()", "mouseleave": "onMouseLeave()", "click": "clickout()" } }, ngImport: i0 });
2870
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxTooltipDirective, decorators: [{
2710
2871
  type: Directive,
2711
2872
  args: [{
2712
- selector: '[monkeyecxTooltip]'
2873
+ selector: '[monkeyecxTooltip]',
2713
2874
  }]
2714
2875
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { tooltipDelay: [{
2715
2876
  type: Input
@@ -2719,6 +2880,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
2719
2880
  type: Input
2720
2881
  }], tooltipTitle: [{
2721
2882
  type: Input
2883
+ }], enableToShow: [{
2884
+ type: Input
2722
2885
  }], onMouseEnter: [{
2723
2886
  type: HostListener,
2724
2887
  args: ['mouseenter']
@@ -2730,29 +2893,94 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
2730
2893
  args: ['click']
2731
2894
  }] } });
2732
2895
 
2896
+ class MonkeyEcxFeatureDirective {
2897
+ constructor(cdr, elementRef, monkeyecxFeatureToggleService) {
2898
+ this.cdr = cdr;
2899
+ this.elementRef = elementRef;
2900
+ this.monkeyecxFeatureToggleService = monkeyecxFeatureToggleService;
2901
+ this.unsubscribeAll = new Subject();
2902
+ // not to do
2903
+ }
2904
+ getFeature(feature) {
2905
+ const { monkeyecxFeatureToggleService } = this;
2906
+ if (!monkeyecxFeatureToggleService) {
2907
+ return false;
2908
+ }
2909
+ return (monkeyecxFeatureToggleService === null || monkeyecxFeatureToggleService === void 0 ? void 0 : monkeyecxFeatureToggleService.getFlag(feature)) || false;
2910
+ }
2911
+ handleDisplay() {
2912
+ if (!this.feature)
2913
+ return;
2914
+ const flag = this.getFeature(this.feature);
2915
+ let display = 'none';
2916
+ if (!MonkeyEcxUtils.persistNullEmptyUndefined(flag)) {
2917
+ return;
2918
+ }
2919
+ if (flag) {
2920
+ display = 'block';
2921
+ }
2922
+ if (display === 'none') {
2923
+ this.elementRef.nativeElement.remove();
2924
+ }
2925
+ this.elementRef.nativeElement.style.display = display;
2926
+ this.cdr.detectChanges();
2927
+ }
2928
+ ngOnDestroy() {
2929
+ this.unsubscribeAll.next();
2930
+ this.unsubscribeAll.complete();
2931
+ }
2932
+ ngOnInit() {
2933
+ if (!this.feature)
2934
+ return;
2935
+ this.elementRef.nativeElement.style.display = 'none';
2936
+ this.cdr.detectChanges();
2937
+ this.monkeyecxFeatureToggleService.onFlags
2938
+ .pipe(takeUntil(this.unsubscribeAll))
2939
+ .subscribe((val) => {
2940
+ if (val) {
2941
+ this.handleDisplay();
2942
+ }
2943
+ });
2944
+ }
2945
+ }
2946
+ MonkeyEcxFeatureDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFeatureDirective, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: MonkeyEcxFeatureToggleService }], target: i0.ɵɵFactoryTarget.Directive });
2947
+ MonkeyEcxFeatureDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: MonkeyEcxFeatureDirective, selector: "[monkeyecxFeature]", inputs: { feature: ["featureName", "feature"] }, ngImport: i0 });
2948
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFeatureDirective, decorators: [{
2949
+ type: Directive,
2950
+ args: [{
2951
+ selector: '[monkeyecxFeature]',
2952
+ }]
2953
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: MonkeyEcxFeatureToggleService }]; }, propDecorators: { feature: [{
2954
+ type: Input,
2955
+ args: ['featureName']
2956
+ }] } });
2957
+
2733
2958
  class MonkeyEcxDirectivesModule {
2734
2959
  }
2735
- MonkeyEcxDirectivesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxDirectivesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2736
- MonkeyEcxDirectivesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxDirectivesModule, declarations: [MonkeyEcxDragDropDirective,
2960
+ MonkeyEcxDirectivesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxDirectivesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2961
+ MonkeyEcxDirectivesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxDirectivesModule, declarations: [MonkeyEcxDragDropDirective,
2737
2962
  MonkeyEcxFormatCurrency,
2963
+ MonkeyEcxFeatureDirective,
2738
2964
  MonkeyEcxFormatUpper,
2739
2965
  MonkeyEcxOnlyAlphaNumericDirective,
2740
2966
  MonkeyEcxOnlyNumbersDirective,
2741
2967
  MonkeyEcxSecurityDirective,
2742
2968
  MonkeyEcxTooltipDirective], exports: [MonkeyEcxDragDropDirective,
2743
2969
  MonkeyEcxFormatCurrency,
2970
+ MonkeyEcxFeatureDirective,
2744
2971
  MonkeyEcxFormatUpper,
2745
2972
  MonkeyEcxOnlyAlphaNumericDirective,
2746
2973
  MonkeyEcxOnlyNumbersDirective,
2747
2974
  MonkeyEcxSecurityDirective,
2748
2975
  MonkeyEcxTooltipDirective] });
2749
- MonkeyEcxDirectivesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxDirectivesModule });
2750
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxDirectivesModule, decorators: [{
2976
+ MonkeyEcxDirectivesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxDirectivesModule });
2977
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxDirectivesModule, decorators: [{
2751
2978
  type: NgModule,
2752
2979
  args: [{
2753
2980
  declarations: [
2754
2981
  MonkeyEcxDragDropDirective,
2755
2982
  MonkeyEcxFormatCurrency,
2983
+ MonkeyEcxFeatureDirective,
2756
2984
  MonkeyEcxFormatUpper,
2757
2985
  MonkeyEcxOnlyAlphaNumericDirective,
2758
2986
  MonkeyEcxOnlyNumbersDirective,
@@ -2762,6 +2990,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
2762
2990
  exports: [
2763
2991
  MonkeyEcxDragDropDirective,
2764
2992
  MonkeyEcxFormatCurrency,
2993
+ MonkeyEcxFeatureDirective,
2765
2994
  MonkeyEcxFormatUpper,
2766
2995
  MonkeyEcxOnlyAlphaNumericDirective,
2767
2996
  MonkeyEcxOnlyNumbersDirective,
@@ -2821,9 +3050,9 @@ class MonkeyEcxAuthenticationService {
2821
3050
  this.refreshToken = (args === null || args === void 0 ? void 0 : args.refreshToken) || this.refreshToken.bind(this);
2822
3051
  }
2823
3052
  }
2824
- MonkeyEcxAuthenticationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxAuthenticationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2825
- MonkeyEcxAuthenticationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxAuthenticationService, providedIn: 'root' });
2826
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxAuthenticationService, decorators: [{
3053
+ MonkeyEcxAuthenticationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxAuthenticationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3054
+ MonkeyEcxAuthenticationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxAuthenticationService, providedIn: 'root' });
3055
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxAuthenticationService, decorators: [{
2827
3056
  type: Injectable,
2828
3057
  args: [{
2829
3058
  providedIn: 'root'
@@ -2847,9 +3076,9 @@ class MonkeyEcxAuthGuardLogin {
2847
3076
  return true;
2848
3077
  }
2849
3078
  }
2850
- MonkeyEcxAuthGuardLogin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxAuthGuardLogin, deps: [{ token: MonkeyEcxAuthenticationService }], target: i0.ɵɵFactoryTarget.Injectable });
2851
- MonkeyEcxAuthGuardLogin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxAuthGuardLogin, providedIn: 'root' });
2852
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxAuthGuardLogin, decorators: [{
3079
+ MonkeyEcxAuthGuardLogin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxAuthGuardLogin, deps: [{ token: MonkeyEcxAuthenticationService }], target: i0.ɵɵFactoryTarget.Injectable });
3080
+ MonkeyEcxAuthGuardLogin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxAuthGuardLogin, providedIn: 'root' });
3081
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxAuthGuardLogin, decorators: [{
2853
3082
  type: Injectable,
2854
3083
  args: [{
2855
3084
  providedIn: 'root'
@@ -2870,9 +3099,9 @@ class MonkeyEcxAuthGuard {
2870
3099
  return false;
2871
3100
  }
2872
3101
  }
2873
- MonkeyEcxAuthGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxAuthGuard, deps: [{ token: MonkeyEcxAuthenticationService }], target: i0.ɵɵFactoryTarget.Injectable });
2874
- MonkeyEcxAuthGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxAuthGuard, providedIn: 'root' });
2875
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxAuthGuard, decorators: [{
3102
+ MonkeyEcxAuthGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxAuthGuard, deps: [{ token: MonkeyEcxAuthenticationService }], target: i0.ɵɵFactoryTarget.Injectable });
3103
+ MonkeyEcxAuthGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxAuthGuard, providedIn: 'root' });
3104
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxAuthGuard, decorators: [{
2876
3105
  type: Injectable,
2877
3106
  args: [{
2878
3107
  providedIn: 'root'
@@ -2894,7 +3123,7 @@ class MonkeyEcxHttpErrorHandlingService extends MonkeyEcxCommonsService {
2894
3123
  if (!MonkeyEcxUtils.persistNullEmptyUndefined(tp) && !(tp === null || tp === void 0 ? void 0 : tp.httpResponse)) {
2895
3124
  return false;
2896
3125
  }
2897
- const found = ((_b = (_a = tp === null || tp === void 0 ? void 0 : tp.httpResponse) === null || _a === void 0 ? void 0 : _a.httpCodeIgnore) === null || _b === void 0 ? void 0 : _b.indexOf(httpCode)) > -1;
3126
+ const found = ((_b = (((_a = tp === null || tp === void 0 ? void 0 : tp.httpResponse) === null || _a === void 0 ? void 0 : _a.httpCodeIgnore) || [])) === null || _b === void 0 ? void 0 : _b.indexOf(httpCode)) > -1;
2898
3127
  return found;
2899
3128
  }
2900
3129
  isHttpCodeIgnoreRedirect(tp, httpCode) {
@@ -2902,7 +3131,7 @@ class MonkeyEcxHttpErrorHandlingService extends MonkeyEcxCommonsService {
2902
3131
  if (!MonkeyEcxUtils.persistNullEmptyUndefined(tp) && !(tp === null || tp === void 0 ? void 0 : tp.httpResponse)) {
2903
3132
  return false;
2904
3133
  }
2905
- const found = ((_b = (_a = tp === null || tp === void 0 ? void 0 : tp.httpResponse) === null || _a === void 0 ? void 0 : _a.httpCodeIgnoreRedirect) === null || _b === void 0 ? void 0 : _b.indexOf(httpCode)) > -1;
3134
+ const found = ((_b = (((_a = tp === null || tp === void 0 ? void 0 : tp.httpResponse) === null || _a === void 0 ? void 0 : _a.httpCodeIgnoreRedirect) || [])) === null || _b === void 0 ? void 0 : _b.indexOf(httpCode)) > -1;
2906
3135
  return found;
2907
3136
  }
2908
3137
  getMessageType(status) {
@@ -2948,7 +3177,8 @@ class MonkeyEcxHttpErrorHandlingService extends MonkeyEcxCommonsService {
2948
3177
  });
2949
3178
  const reader = new FileReader();
2950
3179
  reader.addEventListener('loadend', (e) => {
2951
- const text = e.target.result;
3180
+ var _a;
3181
+ const text = (_a = e === null || e === void 0 ? void 0 : e.target) === null || _a === void 0 ? void 0 : _a.result;
2952
3182
  const jsonResp = JSON.parse(text);
2953
3183
  customMessage = jsonResp.notifications;
2954
3184
  this.showMessage(customMessage, error, mkc);
@@ -2973,7 +3203,7 @@ class MonkeyEcxHttpErrorHandlingService extends MonkeyEcxCommonsService {
2973
3203
  };
2974
3204
  const found = routes[status];
2975
3205
  let timeout = 0;
2976
- if (found && !this.isHttpCodeIgnoreRedirect(mkc, error.status)) {
3206
+ if (found && !this.isHttpCodeIgnoreRedirect(mkc, error === null || error === void 0 ? void 0 : error.status)) {
2977
3207
  const route = `/app/pages/${found}`.toLowerCase();
2978
3208
  timeout = 800;
2979
3209
  router.navigate([route]);
@@ -2984,16 +3214,16 @@ class MonkeyEcxHttpErrorHandlingService extends MonkeyEcxCommonsService {
2984
3214
  }
2985
3215
  handleErrorRefreshToken(error, mkc) {
2986
3216
  if (error.status === 401 || error.status === 400) {
2987
- NgZone.call(this.monkeyecxAuthenticationService.redirectLoginWelcomeBack());
3217
+ NgZone.call(this.monkeyecxAuthenticationService.redirectLoginWelcomeBack(), {});
2988
3218
  }
2989
3219
  else if (!this.isHttpCodeIgnoreMessage(mkc, error.status)) {
2990
3220
  this.handleMessage(error, mkc);
2991
3221
  }
2992
3222
  }
2993
3223
  }
2994
- MonkeyEcxHttpErrorHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxHttpErrorHandlingService, deps: [{ token: MonkeyEcxService }, { token: MonkeyEcxTokenStorageService }, { token: MonkeyEcxAuthenticationService }, { token: i1$3.Router }, { token: i1.MonkeyStyleGuideSnackbarService }, { token: i1$1.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
2995
- MonkeyEcxHttpErrorHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxHttpErrorHandlingService, providedIn: 'root' });
2996
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxHttpErrorHandlingService, decorators: [{
3224
+ MonkeyEcxHttpErrorHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxHttpErrorHandlingService, deps: [{ token: MonkeyEcxService }, { token: MonkeyEcxTokenStorageService }, { token: MonkeyEcxAuthenticationService }, { token: i1$3.Router }, { token: i1.MonkeyStyleGuideSnackbarService }, { token: i1$1.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
3225
+ MonkeyEcxHttpErrorHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxHttpErrorHandlingService, providedIn: 'root' });
3226
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxHttpErrorHandlingService, decorators: [{
2997
3227
  type: Injectable,
2998
3228
  args: [{
2999
3229
  providedIn: 'root'
@@ -3016,9 +3246,9 @@ class MonkeyEcxOthersErrorsHandlingService {
3016
3246
  }
3017
3247
  }
3018
3248
  }
3019
- MonkeyEcxOthersErrorsHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxOthersErrorsHandlingService, deps: [{ token: i1.MonkeyStyleGuideModalService }], target: i0.ɵɵFactoryTarget.Injectable });
3020
- MonkeyEcxOthersErrorsHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxOthersErrorsHandlingService, providedIn: 'root' });
3021
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxOthersErrorsHandlingService, decorators: [{
3249
+ MonkeyEcxOthersErrorsHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxOthersErrorsHandlingService, deps: [{ token: i1.MonkeyStyleGuideModalService }], target: i0.ɵɵFactoryTarget.Injectable });
3250
+ MonkeyEcxOthersErrorsHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxOthersErrorsHandlingService, providedIn: 'root' });
3251
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxOthersErrorsHandlingService, decorators: [{
3022
3252
  type: Injectable,
3023
3253
  args: [{
3024
3254
  providedIn: 'root'
@@ -3036,7 +3266,7 @@ class MonkeyEcxErrorHandlingService {
3036
3266
  const httpErrorHandlingService = injector.get(MonkeyEcxHttpErrorHandlingService);
3037
3267
  const othersErrorsHandlingService = injector.get(MonkeyEcxOthersErrorsHandlingService);
3038
3268
  if (error instanceof HttpErrorResponse) {
3039
- const sCredentials = handlingService.getMonkeyEcxServiceCredentials();
3269
+ const sCredentials = (handlingService === null || handlingService === void 0 ? void 0 : handlingService.getMonkeyEcxServiceCredentials()) || {};
3040
3270
  if (MonkeyEcxUtils.persistNullEmptyUndefined(type) && type === 'refresh_token') {
3041
3271
  httpErrorHandlingService.handleErrorRefreshToken(error, sCredentials);
3042
3272
  }
@@ -3048,9 +3278,9 @@ class MonkeyEcxErrorHandlingService {
3048
3278
  }
3049
3279
  }
3050
3280
  }
3051
- MonkeyEcxErrorHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxErrorHandlingService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
3052
- MonkeyEcxErrorHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxErrorHandlingService, providedIn: 'root' });
3053
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxErrorHandlingService, decorators: [{
3281
+ MonkeyEcxErrorHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxErrorHandlingService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
3282
+ MonkeyEcxErrorHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxErrorHandlingService, providedIn: 'root' });
3283
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxErrorHandlingService, decorators: [{
3054
3284
  type: Injectable,
3055
3285
  args: [{
3056
3286
  providedIn: 'root'
@@ -3070,10 +3300,10 @@ class MonkeyEcxErrorHandlingModule {
3070
3300
  };
3071
3301
  }
3072
3302
  }
3073
- MonkeyEcxErrorHandlingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxErrorHandlingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3074
- MonkeyEcxErrorHandlingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxErrorHandlingModule, imports: [CommonModule] });
3075
- MonkeyEcxErrorHandlingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxErrorHandlingModule, imports: [[CommonModule]] });
3076
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxErrorHandlingModule, decorators: [{
3303
+ MonkeyEcxErrorHandlingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxErrorHandlingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3304
+ MonkeyEcxErrorHandlingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxErrorHandlingModule, imports: [CommonModule] });
3305
+ MonkeyEcxErrorHandlingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxErrorHandlingModule, imports: [[CommonModule]] });
3306
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxErrorHandlingModule, decorators: [{
3077
3307
  type: NgModule,
3078
3308
  args: [{
3079
3309
  imports: [CommonModule]
@@ -3090,8 +3320,9 @@ class MonkeyEcxHttpConfigErrorInterceptor {
3090
3320
  return next.handle(request).pipe(map((event) => {
3091
3321
  return event;
3092
3322
  }), catchError((error) => {
3323
+ var _a, _b;
3093
3324
  if (this.monkeyecxAuthenticationService.refreshShouldHappen(error)) {
3094
- return this.monkeyecxAuthenticationService.refreshToken().pipe(take(1), map(() => {
3325
+ return ((_b = (_a = this.monkeyecxAuthenticationService) === null || _a === void 0 ? void 0 : _a.refreshToken()) === null || _b === void 0 ? void 0 : _b.pipe(take(1), map(() => {
3095
3326
  return this.monkeyecxAuthenticationService.getRequestWithHeaders(request);
3096
3327
  }), mergeMap((resp) => {
3097
3328
  return next.handle(resp).pipe(catchError((error) => {
@@ -3101,15 +3332,15 @@ class MonkeyEcxHttpConfigErrorInterceptor {
3101
3332
  }), catchError((error) => {
3102
3333
  this.monkeyecxErrorHandlingService.handleError(error, 'refresh_token');
3103
3334
  return throwError(null);
3104
- }));
3335
+ }))) || throwError(error);
3105
3336
  }
3106
3337
  return throwError(error);
3107
3338
  }));
3108
3339
  }
3109
3340
  }
3110
- MonkeyEcxHttpConfigErrorInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxHttpConfigErrorInterceptor, deps: [{ token: MonkeyEcxAuthenticationService }, { token: MonkeyEcxErrorHandlingService }], target: i0.ɵɵFactoryTarget.Injectable });
3111
- MonkeyEcxHttpConfigErrorInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxHttpConfigErrorInterceptor });
3112
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxHttpConfigErrorInterceptor, decorators: [{
3341
+ MonkeyEcxHttpConfigErrorInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxHttpConfigErrorInterceptor, deps: [{ token: MonkeyEcxAuthenticationService }, { token: MonkeyEcxErrorHandlingService }], target: i0.ɵɵFactoryTarget.Injectable });
3342
+ MonkeyEcxHttpConfigErrorInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxHttpConfigErrorInterceptor });
3343
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxHttpConfigErrorInterceptor, decorators: [{
3113
3344
  type: Injectable
3114
3345
  }], ctorParameters: function () { return [{ type: MonkeyEcxAuthenticationService }, { type: MonkeyEcxErrorHandlingService }]; } });
3115
3346
 
@@ -3120,7 +3351,8 @@ class MonkeyEcxHttpConfigHeaderInterceptor {
3120
3351
  // not to do
3121
3352
  }
3122
3353
  intercept(request, next) {
3123
- return this.monkeyecxAuthenticationService.getRequestWithHeadersOb(request).pipe(take(1), map((event) => {
3354
+ var _a, _b;
3355
+ return ((_b = (_a = this.monkeyecxAuthenticationService) === null || _a === void 0 ? void 0 : _a.getRequestWithHeadersOb(request)) === null || _b === void 0 ? void 0 : _b.pipe(take(1), map((event) => {
3124
3356
  return event;
3125
3357
  }), mergeMap((resp) => {
3126
3358
  request = request.clone({
@@ -3130,12 +3362,12 @@ class MonkeyEcxHttpConfigHeaderInterceptor {
3130
3362
  }), catchError((error) => {
3131
3363
  this.monkeyecxErrorHandlingService.handleError(error);
3132
3364
  return throwError(error);
3133
- }));
3365
+ }))) || throwError('getRequestWithHeadersOb undefined');
3134
3366
  }
3135
3367
  }
3136
- MonkeyEcxHttpConfigHeaderInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxHttpConfigHeaderInterceptor, deps: [{ token: MonkeyEcxAuthenticationService }, { token: MonkeyEcxErrorHandlingService }], target: i0.ɵɵFactoryTarget.Injectable });
3137
- MonkeyEcxHttpConfigHeaderInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxHttpConfigHeaderInterceptor });
3138
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxHttpConfigHeaderInterceptor, decorators: [{
3368
+ MonkeyEcxHttpConfigHeaderInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxHttpConfigHeaderInterceptor, deps: [{ token: MonkeyEcxAuthenticationService }, { token: MonkeyEcxErrorHandlingService }], target: i0.ɵɵFactoryTarget.Injectable });
3369
+ MonkeyEcxHttpConfigHeaderInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxHttpConfigHeaderInterceptor });
3370
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxHttpConfigHeaderInterceptor, decorators: [{
3139
3371
  type: Injectable
3140
3372
  }], ctorParameters: function () { return [{ type: MonkeyEcxAuthenticationService }, { type: MonkeyEcxErrorHandlingService }]; } });
3141
3373
 
@@ -3171,7 +3403,7 @@ class MonkeyEcxRequestQueueHandlingService {
3171
3403
  ...saved.map((val) => {
3172
3404
  const valSaved = Object.assign({}, val);
3173
3405
  const { total, loaded } = progress;
3174
- const currentPecentage = Math.floor((loaded / total) * 100);
3406
+ const currentPecentage = Math.floor(((loaded || 0) / (total || 0)) * 100);
3175
3407
  const totalPercentage = 100;
3176
3408
  if (valSaved.item.id === q.item.id) {
3177
3409
  return Object.assign(Object.assign({}, valSaved), { progress: {
@@ -3202,12 +3434,16 @@ class MonkeyEcxRequestQueueHandlingService {
3202
3434
  this.queues$.next(this.queue);
3203
3435
  }
3204
3436
  setQueue(q) {
3437
+ if (!q)
3438
+ return;
3205
3439
  this.addToQueue(q);
3206
3440
  }
3207
3441
  getQueue() {
3208
3442
  return this.queues$.asObservable();
3209
3443
  }
3210
3444
  finishQueueItem(q, action, status) {
3445
+ if (!q)
3446
+ return;
3211
3447
  this.markQueueItemAsFinish(q, status, action);
3212
3448
  }
3213
3449
  removeQueueItem(q) {
@@ -3222,9 +3458,9 @@ class MonkeyEcxRequestQueueHandlingService {
3222
3458
  }));
3223
3459
  }
3224
3460
  }
3225
- MonkeyEcxRequestQueueHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxRequestQueueHandlingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3226
- MonkeyEcxRequestQueueHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxRequestQueueHandlingService, providedIn: 'root' });
3227
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxRequestQueueHandlingService, decorators: [{
3461
+ MonkeyEcxRequestQueueHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxRequestQueueHandlingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3462
+ MonkeyEcxRequestQueueHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxRequestQueueHandlingService, providedIn: 'root' });
3463
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxRequestQueueHandlingService, decorators: [{
3228
3464
  type: Injectable,
3229
3465
  args: [{
3230
3466
  providedIn: 'root'
@@ -3264,7 +3500,7 @@ class MonkeyEcxRequestQueueModalHandlingService {
3264
3500
  ...saved.map((val) => {
3265
3501
  const valSaved = Object.assign({}, val);
3266
3502
  const { total, loaded } = progress;
3267
- const currentPecentage = Math.floor((loaded / total) * 100);
3503
+ const currentPecentage = Math.floor(((loaded || 0) / (total || 0)) * 100);
3268
3504
  const totalPercentage = 100;
3269
3505
  if (valSaved.item.id === q.item.id) {
3270
3506
  return Object.assign(Object.assign({}, valSaved), { progress: {
@@ -3323,9 +3559,9 @@ class MonkeyEcxRequestQueueModalHandlingService {
3323
3559
  }));
3324
3560
  }
3325
3561
  }
3326
- MonkeyEcxRequestQueueModalHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxRequestQueueModalHandlingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3327
- MonkeyEcxRequestQueueModalHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxRequestQueueModalHandlingService, providedIn: 'root' });
3328
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxRequestQueueModalHandlingService, decorators: [{
3562
+ MonkeyEcxRequestQueueModalHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxRequestQueueModalHandlingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3563
+ MonkeyEcxRequestQueueModalHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxRequestQueueModalHandlingService, providedIn: 'root' });
3564
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxRequestQueueModalHandlingService, decorators: [{
3329
3565
  type: Injectable,
3330
3566
  args: [{
3331
3567
  providedIn: 'root'
@@ -3342,7 +3578,7 @@ class MonkeyEcxHttpConfigQueueInterceptor {
3342
3578
  intercept(request, next) {
3343
3579
  const { injector, isQueueProperty } = this;
3344
3580
  const monkeyecxHandlingService = injector.get(MonkeyEcxHandlingService);
3345
- const monkeyecxRequestQueue = monkeyecxHandlingService.getMonkeyEcxRequestQueue();
3581
+ const monkeyecxRequestQueue = monkeyecxHandlingService === null || monkeyecxHandlingService === void 0 ? void 0 : monkeyecxHandlingService.getMonkeyEcxRequestQueue();
3346
3582
  if (isQueueProperty(monkeyecxRequestQueue)) {
3347
3583
  this.monkeyecxRequestQueueHandlingService.setQueue(monkeyecxRequestQueue);
3348
3584
  }
@@ -3353,13 +3589,14 @@ class MonkeyEcxHttpConfigQueueInterceptor {
3353
3589
  }));
3354
3590
  }
3355
3591
  isQueueProperty(mrq) {
3592
+ var _a;
3356
3593
  return (MonkeyEcxUtils.persistNullEmptyUndefined(mrq) &&
3357
- MonkeyEcxUtils.persistNullEmptyUndefined(mrq.item.name));
3594
+ MonkeyEcxUtils.persistNullEmptyUndefined((_a = mrq === null || mrq === void 0 ? void 0 : mrq.item) === null || _a === void 0 ? void 0 : _a.name));
3358
3595
  }
3359
3596
  }
3360
- MonkeyEcxHttpConfigQueueInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxHttpConfigQueueInterceptor, deps: [{ token: i0.Injector }, { token: MonkeyEcxRequestQueueHandlingService }], target: i0.ɵɵFactoryTarget.Injectable });
3361
- MonkeyEcxHttpConfigQueueInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxHttpConfigQueueInterceptor });
3362
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxHttpConfigQueueInterceptor, decorators: [{
3597
+ MonkeyEcxHttpConfigQueueInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxHttpConfigQueueInterceptor, deps: [{ token: i0.Injector }, { token: MonkeyEcxRequestQueueHandlingService }], target: i0.ɵɵFactoryTarget.Injectable });
3598
+ MonkeyEcxHttpConfigQueueInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxHttpConfigQueueInterceptor });
3599
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxHttpConfigQueueInterceptor, decorators: [{
3363
3600
  type: Injectable
3364
3601
  }], ctorParameters: function () { return [{ type: i0.Injector }, { type: MonkeyEcxRequestQueueHandlingService }]; } });
3365
3602
 
@@ -3370,11 +3607,12 @@ class MonkeyEcxHttpConfigLoadingInProgressInterceptor {
3370
3607
  // no to do
3371
3608
  }
3372
3609
  intercept(request, next) {
3610
+ var _a;
3373
3611
  const { injector, isLoadingInProgressProperty } = this;
3374
3612
  const handlingService = injector.get(MonkeyEcxHandlingService);
3375
3613
  const progressBarService = injector.get(MonkeyEcxProgressBarService);
3376
- const inProgress = handlingService.getMonkeyEcxServiceCredentials()
3377
- ? handlingService.getMonkeyEcxServiceCredentials().requestInProgress
3614
+ const inProgress = (handlingService === null || handlingService === void 0 ? void 0 : handlingService.getMonkeyEcxServiceCredentials())
3615
+ ? ((_a = handlingService === null || handlingService === void 0 ? void 0 : handlingService.getMonkeyEcxServiceCredentials()) === null || _a === void 0 ? void 0 : _a.requestInProgress) || null
3378
3616
  : null;
3379
3617
  if (isLoadingInProgressProperty(inProgress)) {
3380
3618
  progressBarService.show();
@@ -3386,15 +3624,17 @@ class MonkeyEcxHttpConfigLoadingInProgressInterceptor {
3386
3624
  }));
3387
3625
  }
3388
3626
  isLoadingInProgressProperty(mlp) {
3627
+ if (!mlp)
3628
+ return false;
3389
3629
  return MonkeyEcxUtils.persistNullEmptyUndefined(mlp) &&
3390
3630
  MonkeyEcxUtils.persistNullEmptyUndefined(mlp.showProgress)
3391
3631
  ? mlp.showProgress
3392
3632
  : true;
3393
3633
  }
3394
3634
  }
3395
- MonkeyEcxHttpConfigLoadingInProgressInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxHttpConfigLoadingInProgressInterceptor, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
3396
- MonkeyEcxHttpConfigLoadingInProgressInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxHttpConfigLoadingInProgressInterceptor });
3397
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxHttpConfigLoadingInProgressInterceptor, decorators: [{
3635
+ MonkeyEcxHttpConfigLoadingInProgressInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxHttpConfigLoadingInProgressInterceptor, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
3636
+ MonkeyEcxHttpConfigLoadingInProgressInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxHttpConfigLoadingInProgressInterceptor });
3637
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxHttpConfigLoadingInProgressInterceptor, decorators: [{
3398
3638
  type: Injectable
3399
3639
  }], ctorParameters: function () { return [{ type: i0.Injector }]; } });
3400
3640
 
@@ -3427,10 +3667,10 @@ class MonkeyEcxHttpConfigInterceptorModule {
3427
3667
  };
3428
3668
  }
3429
3669
  }
3430
- MonkeyEcxHttpConfigInterceptorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxHttpConfigInterceptorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3431
- MonkeyEcxHttpConfigInterceptorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxHttpConfigInterceptorModule, imports: [CommonModule] });
3432
- MonkeyEcxHttpConfigInterceptorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxHttpConfigInterceptorModule, imports: [[CommonModule]] });
3433
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxHttpConfigInterceptorModule, decorators: [{
3670
+ MonkeyEcxHttpConfigInterceptorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxHttpConfigInterceptorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3671
+ MonkeyEcxHttpConfigInterceptorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxHttpConfigInterceptorModule, imports: [CommonModule] });
3672
+ MonkeyEcxHttpConfigInterceptorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxHttpConfigInterceptorModule, imports: [[CommonModule]] });
3673
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxHttpConfigInterceptorModule, decorators: [{
3434
3674
  type: NgModule,
3435
3675
  args: [{
3436
3676
  imports: [CommonModule]
@@ -3461,16 +3701,18 @@ class MonkeyEcxConfigModule {
3461
3701
  };
3462
3702
  }
3463
3703
  }
3464
- MonkeyEcxConfigModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxConfigModule, deps: [{ token: MonkeyEcxConfigModule, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.NgModule });
3465
- MonkeyEcxConfigModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxConfigModule });
3466
- MonkeyEcxConfigModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxConfigModule });
3467
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxConfigModule, decorators: [{
3704
+ MonkeyEcxConfigModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxConfigModule, deps: [{ token: MonkeyEcxConfigModule, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.NgModule });
3705
+ MonkeyEcxConfigModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxConfigModule });
3706
+ MonkeyEcxConfigModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxConfigModule });
3707
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxConfigModule, decorators: [{
3468
3708
  type: NgModule
3469
- }], ctorParameters: function () { return [{ type: MonkeyEcxConfigModule, decorators: [{
3470
- type: Optional
3471
- }, {
3472
- type: SkipSelf
3473
- }] }]; } });
3709
+ }], ctorParameters: function () {
3710
+ return [{ type: MonkeyEcxConfigModule, decorators: [{
3711
+ type: Optional
3712
+ }, {
3713
+ type: SkipSelf
3714
+ }] }];
3715
+ } });
3474
3716
 
3475
3717
  class MonkeyEcxLoggedHandlingService {
3476
3718
  constructor() {
@@ -3490,9 +3732,9 @@ class MonkeyEcxLoggedHandlingService {
3490
3732
  this.destroySchedule();
3491
3733
  }
3492
3734
  }
3493
- MonkeyEcxLoggedHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxLoggedHandlingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3494
- MonkeyEcxLoggedHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxLoggedHandlingService, providedIn: 'root' });
3495
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxLoggedHandlingService, decorators: [{
3735
+ MonkeyEcxLoggedHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxLoggedHandlingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3736
+ MonkeyEcxLoggedHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxLoggedHandlingService, providedIn: 'root' });
3737
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxLoggedHandlingService, decorators: [{
3496
3738
  type: Injectable,
3497
3739
  args: [{
3498
3740
  providedIn: 'root'
@@ -3536,7 +3778,7 @@ class MonkeyEcxRequestDownloadHandlingService {
3536
3778
  this.download = [
3537
3779
  ...saved.map((val) => {
3538
3780
  const valSaved = Object.assign({}, val);
3539
- const currentPecentage = Math.floor((loaded / total) * 100);
3781
+ const currentPecentage = Math.floor(((loaded || 0) / (total || 0)) * 100);
3540
3782
  const totalPercentage = 100;
3541
3783
  if (valSaved.item.id === q.item.id) {
3542
3784
  return Object.assign(Object.assign({}, valSaved), { loaded,
@@ -3566,9 +3808,9 @@ class MonkeyEcxRequestDownloadHandlingService {
3566
3808
  return MonkeyEcxUtils.persistNullEmptyUndefined(found);
3567
3809
  }
3568
3810
  }
3569
- MonkeyEcxRequestDownloadHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxRequestDownloadHandlingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3570
- MonkeyEcxRequestDownloadHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxRequestDownloadHandlingService, providedIn: 'root' });
3571
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxRequestDownloadHandlingService, decorators: [{
3811
+ MonkeyEcxRequestDownloadHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxRequestDownloadHandlingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3812
+ MonkeyEcxRequestDownloadHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxRequestDownloadHandlingService, providedIn: 'root' });
3813
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxRequestDownloadHandlingService, decorators: [{
3572
3814
  type: Injectable,
3573
3815
  args: [{
3574
3816
  providedIn: 'root'
@@ -3616,9 +3858,9 @@ class MonkeyEcxRequestDownloadedHandlingService {
3616
3858
  return MonkeyEcxUtils.persistNullEmptyUndefined(found);
3617
3859
  }
3618
3860
  }
3619
- MonkeyEcxRequestDownloadedHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxRequestDownloadedHandlingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3620
- MonkeyEcxRequestDownloadedHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxRequestDownloadedHandlingService, providedIn: 'root' });
3621
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxRequestDownloadedHandlingService, decorators: [{
3861
+ MonkeyEcxRequestDownloadedHandlingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxRequestDownloadedHandlingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3862
+ MonkeyEcxRequestDownloadedHandlingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxRequestDownloadedHandlingService, providedIn: 'root' });
3863
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxRequestDownloadedHandlingService, decorators: [{
3622
3864
  type: Injectable,
3623
3865
  args: [{
3624
3866
  providedIn: 'root'
@@ -3651,24 +3893,25 @@ class MonkeyEcxDiscoveryParamsService {
3651
3893
  const navigation = this.router.getCurrentNavigation();
3652
3894
  let state = null;
3653
3895
  if (MonkeyEcxUtils.persistNullEmptyUndefined(navigation)) {
3654
- state = navigation.extras.state;
3896
+ state = navigation === null || navigation === void 0 ? void 0 : navigation.extras.state;
3655
3897
  }
3656
3898
  return state ? state[field] : null;
3657
3899
  }
3658
3900
  getParam(param) {
3901
+ var _a;
3659
3902
  const { root } = this.router.routerState.snapshot;
3660
3903
  const route = this.getLastChild(root);
3661
3904
  let found = MonkeyEcxUtils.persistNullEmptyUndefined(route)
3662
- ? route.paramMap.get(param)
3905
+ ? ((_a = route === null || route === void 0 ? void 0 : route.paramMap) === null || _a === void 0 ? void 0 : _a.get(param)) || ''
3663
3906
  : '';
3664
3907
  if (!MonkeyEcxUtils.persistNullEmptyUndefined(found))
3665
3908
  found = this.getData(param);
3666
3909
  return found;
3667
3910
  }
3668
3911
  }
3669
- MonkeyEcxDiscoveryParamsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxDiscoveryParamsService, deps: [{ token: i1$3.Router }], target: i0.ɵɵFactoryTarget.Injectable });
3670
- MonkeyEcxDiscoveryParamsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxDiscoveryParamsService, providedIn: 'root' });
3671
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxDiscoveryParamsService, decorators: [{
3912
+ MonkeyEcxDiscoveryParamsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxDiscoveryParamsService, deps: [{ token: i1$3.Router }], target: i0.ɵɵFactoryTarget.Injectable });
3913
+ MonkeyEcxDiscoveryParamsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxDiscoveryParamsService, providedIn: 'root' });
3914
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxDiscoveryParamsService, decorators: [{
3672
3915
  type: Injectable,
3673
3916
  args: [{
3674
3917
  providedIn: 'root'
@@ -3720,8 +3963,23 @@ class MonkeyEcxRequestScheduleService {
3720
3963
  this.monkeyecxLoggedHandlingService.addSchedule(this.schedule);
3721
3964
  }
3722
3965
  doCall(sch) {
3966
+ var _a, _b, _c, _d, _e;
3723
3967
  const { url, method, params, data, action } = sch;
3724
- this.monkeyecxService[method.toLowerCase()](`${url}`, params).subscribe((resp) => {
3968
+ let func = null;
3969
+ const tp = `${method}`.toLowerCase();
3970
+ if (tp === 'get') {
3971
+ func = (_a = this.monkeyecxService) === null || _a === void 0 ? void 0 : _a.get;
3972
+ }
3973
+ else if (tp === 'post') {
3974
+ func = (_b = this.monkeyecxService) === null || _b === void 0 ? void 0 : _b.post;
3975
+ }
3976
+ else if (tp === 'put') {
3977
+ func = (_c = this.monkeyecxService) === null || _c === void 0 ? void 0 : _c.put;
3978
+ }
3979
+ else if (tp === 'delete') {
3980
+ func = (_d = this.monkeyecxService) === null || _d === void 0 ? void 0 : _d.delete;
3981
+ }
3982
+ (_e = func === null || func === void 0 ? void 0 : func(`${url}`, params)) === null || _e === void 0 ? void 0 : _e.subscribe((resp) => {
3725
3983
  action(Object.assign(Object.assign({}, data), resp), sch);
3726
3984
  }, () => {
3727
3985
  this.removeFromSchedule(sch);
@@ -3748,8 +4006,8 @@ class MonkeyEcxRequestScheduleService {
3748
4006
  return q;
3749
4007
  }
3750
4008
  }
3751
- MonkeyEcxRequestScheduleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxRequestScheduleService, deps: [{ token: MonkeyEcxService }, { token: MonkeyEcxLoggedHandlingService }], target: i0.ɵɵFactoryTarget.Injectable });
3752
- MonkeyEcxRequestScheduleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxRequestScheduleService, providedIn: 'root' });
4009
+ MonkeyEcxRequestScheduleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxRequestScheduleService, deps: [{ token: MonkeyEcxService }, { token: MonkeyEcxLoggedHandlingService }], target: i0.ɵɵFactoryTarget.Injectable });
4010
+ MonkeyEcxRequestScheduleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxRequestScheduleService, providedIn: 'root' });
3753
4011
  __decorate([
3754
4012
  MonkeyEcxCoreService({
3755
4013
  httpResponse: {
@@ -3760,7 +4018,7 @@ __decorate([
3760
4018
  }
3761
4019
  })
3762
4020
  ], MonkeyEcxRequestScheduleService.prototype, "doCall", null);
3763
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyEcxRequestScheduleService, decorators: [{
4021
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxRequestScheduleService, decorators: [{
3764
4022
  type: Injectable,
3765
4023
  args: [{
3766
4024
  providedIn: 'root'
@@ -3792,7 +4050,7 @@ class MonkeyEcxSpecificationSearch {
3792
4050
  return `${key}`.replace(':first', value1[0]).replace(':last', value1[1]);
3793
4051
  }
3794
4052
  }
3795
- return `${key}`.replace(':value', value1.toString());
4053
+ return `${key}`.replace(':value', `${value1}`);
3796
4054
  })[0];
3797
4055
  }
3798
4056
  queryVisitor(value) {
@@ -3843,10 +4101,11 @@ class MonkeyEcxSpecificationSearch {
3843
4101
  }
3844
4102
  buildMoreThanOne(field, op = OpSearch.EQUAL) {
3845
4103
  var _a, _b;
4104
+ let self = this;
3846
4105
  try {
3847
- if (!this[field])
4106
+ if (!self[field])
3848
4107
  return [];
3849
- const filters = (_b = (_a = this[field]) === null || _a === void 0 ? void 0 : _a.split(',')) === null || _b === void 0 ? void 0 : _b.map((filter) => {
4108
+ const filters = (_b = (_a = self[field]) === null || _a === void 0 ? void 0 : _a.split(',')) === null || _b === void 0 ? void 0 : _b.map((filter) => {
3850
4109
  if (!filter)
3851
4110
  return null;
3852
4111
  return {
@@ -3865,11 +4124,11 @@ class MonkeyEcxSpecificationSearch {
3865
4124
 
3866
4125
  class MonkeyFrontCoreModuleModule {
3867
4126
  }
3868
- MonkeyFrontCoreModuleModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyFrontCoreModuleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3869
- MonkeyFrontCoreModuleModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyFrontCoreModuleModule, imports: [CommonModule,
3870
- HttpClientModule, i1$1.TranslateModule, MonkeyEcxConfigModule, MonkeyEcxHttpConfigInterceptorModule, MonkeyEcxErrorHandlingModule, MonkeyStyleGuideModule, i1$6.ServiceWorkerModule, ClosedToMaintenanceModule,
4127
+ MonkeyFrontCoreModuleModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyFrontCoreModuleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
4128
+ MonkeyFrontCoreModuleModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyFrontCoreModuleModule, imports: [CommonModule,
4129
+ HttpClientModule, i1$1.TranslateModule, MonkeyEcxConfigModule, MonkeyEcxHttpConfigInterceptorModule, MonkeyEcxErrorHandlingModule, MonkeyStyleGuideModule, i1$5.ServiceWorkerModule, ClosedToMaintenanceModule,
3871
4130
  VersionChangedModule] });
3872
- MonkeyFrontCoreModuleModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyFrontCoreModuleModule, providers: [
4131
+ MonkeyFrontCoreModuleModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyFrontCoreModuleModule, providers: [
3873
4132
  MonkeyStyleGuideModalService,
3874
4133
  MonkeyStyleGuideSettingsService,
3875
4134
  MonkeyStyleGuideSnackbarService
@@ -3885,7 +4144,7 @@ MonkeyFrontCoreModuleModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0
3885
4144
  ClosedToMaintenanceModule,
3886
4145
  VersionChangedModule
3887
4146
  ]] });
3888
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: MonkeyFrontCoreModuleModule, decorators: [{
4147
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyFrontCoreModuleModule, decorators: [{
3889
4148
  type: NgModule,
3890
4149
  args: [{
3891
4150
  imports: [
@@ -3916,5 +4175,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
3916
4175
  * Generated bundle index. Do not edit.
3917
4176
  */
3918
4177
 
3919
- export { ClosedToMaintenanceComponent, ClosedToMaintenanceModule, decoratorsUtils as DecoratorsUtils, MonkeyEcxAuthGuard, MonkeyEcxAuthGuardLogin, MonkeyEcxAuthenticationService, MonkeyEcxCommonsService, MonkeyEcxConfigModule, MonkeyEcxConfigService, MonkeyEcxCookieStorageService, MonkeyEcxCoreClearDecorators, MonkeyEcxCoreLog, MonkeyEcxCoreService, MonkeyEcxCoreServiceConstructor, MonkeyEcxCoreServicePaged, MonkeyEcxCoreServiceQueue, MonkeyEcxDirectivesModule, MonkeyEcxDiscoveryParamsService, MonkeyEcxDisplayFirstNamePipe, MonkeyEcxDocumentTypePipe, MonkeyEcxDragDropDirective, MonkeyEcxErrorHandlingModule, MonkeyEcxErrorHandlingService, MonkeyEcxFeatureToggleService, MonkeyEcxFormatCurrency, MonkeyEcxFormatCurrencyPipe, MonkeyEcxFormatDateTimelapsePipe, MonkeyEcxFormatDocumentPipe, MonkeyEcxFormatNumber, MonkeyEcxFormatSizePipe, MonkeyEcxFormatUpper, MonkeyEcxFormatValue, MonkeyEcxFormatZipCodePipe, MonkeyEcxHandlingService, MonkeyEcxHttpConfigErrorInterceptor, MonkeyEcxHttpConfigHeaderInterceptor, MonkeyEcxHttpConfigInterceptorModule, MonkeyEcxHttpConfigLoadingInProgressInterceptor, MonkeyEcxHttpConfigQueueInterceptor, MonkeyEcxHttpErrorHandlingService, MonkeyEcxLoggedHandlingService, MonkeyEcxLogsConfigService, MonkeyEcxMaintenanceConfigService, MonkeyEcxModel, MonkeyEcxOnlyAlphaNumericDirective, MonkeyEcxOnlyNumbersDirective, MonkeyEcxOthersErrorsHandlingService, MonkeyEcxPipesModule, MonkeyEcxProgressBarComponent, MonkeyEcxProgressBarModule, MonkeyEcxProgressBarService, MonkeyEcxRequestDownloadHandlingService, MonkeyEcxRequestDownloadedHandlingService, MonkeyEcxRequestPagedHandling, MonkeyEcxRequestQueueHandlingService, MonkeyEcxRequestQueueModalHandlingService, MonkeyEcxRequestScheduleService, MonkeyEcxSecurityConsoleConfigService, MonkeyEcxSecurityDirective, MonkeyEcxService, MonkeyEcxServiceDownload, MonkeyEcxServiceUpload, MonkeyEcxServiceWorkerConfigService, MonkeyEcxSpecificationSearch, MonkeyEcxTextTruncatePipe, MonkeyEcxTokenStorageService, MonkeyEcxTooltipDirective, MonkeyEcxTruncateQtdPipe, MonkeyEcxUtils, MonkeyEcxi18nConfigService, MonkeyFrontCoreModuleModule, OpSearch, statics as Statics, validateUtils as ValidateUtils, Validators, VersionChangedComponent, VersionChangedModule, comboValidator, dateRangeValidator, dateStartEndValidator, dateValidator, documentValidator, emailValidator, passwordConfirmValidator, registerValidator, trueValidator, urlValidator, zipCodeValidator };
3920
- //# sourceMappingURL=monkey-front-core.js.map
4178
+ export { ClosedToMaintenanceComponent, ClosedToMaintenanceModule, decoratorsUtils as DecoratorsUtils, MonkeyEcxAuthGuard, MonkeyEcxAuthGuardLogin, MonkeyEcxAuthenticationService, MonkeyEcxCommonsService, MonkeyEcxConfigModule, MonkeyEcxConfigService, MonkeyEcxCookieStorageService, MonkeyEcxCoreCharts, MonkeyEcxCoreClearDecorators, MonkeyEcxCoreLog, MonkeyEcxCoreService, MonkeyEcxCoreServiceConstructor, MonkeyEcxCoreServicePaged, MonkeyEcxCoreServiceQueue, MonkeyEcxDirectivesModule, MonkeyEcxDiscoveryParamsService, MonkeyEcxDisplayFirstNamePipe, MonkeyEcxDragDropDirective, MonkeyEcxErrorConfigService, MonkeyEcxErrorHandlingModule, MonkeyEcxErrorHandlingService, MonkeyEcxFeatureDirective, MonkeyEcxFeatureToggleService, MonkeyEcxFormatAddressPipe, MonkeyEcxFormatCurrency, MonkeyEcxFormatCurrencyPipe, MonkeyEcxFormatDatePipe, MonkeyEcxFormatDateTimelapsePipe, MonkeyEcxFormatDocumentPipe, MonkeyEcxFormatDocumentTypePipe, MonkeyEcxFormatNumberPipe, MonkeyEcxFormatPhonePipe, MonkeyEcxFormatSizePipe, MonkeyEcxFormatUpper, MonkeyEcxFormatValue, MonkeyEcxFormatZipCodePipe, MonkeyEcxHandlingService, MonkeyEcxHttpConfigErrorInterceptor, MonkeyEcxHttpConfigHeaderInterceptor, MonkeyEcxHttpConfigInterceptorModule, MonkeyEcxHttpConfigLoadingInProgressInterceptor, MonkeyEcxHttpConfigQueueInterceptor, MonkeyEcxHttpErrorHandlingService, MonkeyEcxLoggedHandlingService, MonkeyEcxLogsConfigService, MonkeyEcxMaintenanceConfigService, MonkeyEcxModel, MonkeyEcxOnlyAlphaNumericDirective, MonkeyEcxOnlyNumbersDirective, MonkeyEcxOthersErrorsHandlingService, MonkeyEcxPipesModule, MonkeyEcxProgressBarComponent, MonkeyEcxProgressBarModule, MonkeyEcxProgressBarService, MonkeyEcxRequestDownloadHandlingService, MonkeyEcxRequestDownloadedHandlingService, MonkeyEcxRequestPagedHandling, MonkeyEcxRequestQueueHandlingService, MonkeyEcxRequestQueueModalHandlingService, MonkeyEcxRequestScheduleService, MonkeyEcxSecurityConsoleConfigService, MonkeyEcxSecurityDirective, MonkeyEcxService, MonkeyEcxServiceDownload, MonkeyEcxServiceUpload, MonkeyEcxServiceWorkerConfigService, MonkeyEcxSpecificationSearch, MonkeyEcxTextTruncatePipe, MonkeyEcxTokenStorageService, MonkeyEcxTooltipDirective, MonkeyEcxTruncateQtdPipe, MonkeyEcxUtils, MonkeyEcxi18nConfigService, MonkeyFrontCoreModuleModule, OpSearch, statics as Statics, validateUtils as ValidateUtils, Validators, VersionChangedComponent, VersionChangedModule, comboValidator, dateRangeValidator, dateStartEndValidator, dateValidator, documentValidator, emailValidator, passwordConfirmValidator, registerValidator, trueValidator, urlValidator, zipCodeValidator };
4179
+ //# sourceMappingURL=monkey-front-core.mjs.map