monkey-front-core 0.0.253 → 0.0.255

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 (325) hide show
  1. package/esm2020/lib/components/alerts/alerts.component.mjs +35 -35
  2. package/esm2020/lib/components/alerts/alerts.module.mjs +21 -21
  3. package/esm2020/lib/components/alerts/index.mjs +2 -2
  4. package/esm2020/lib/components/closed-to-maintenance/closed-to-maintenance.component.mjs +29 -29
  5. package/esm2020/lib/components/closed-to-maintenance/closed-to-maintenance.module.mjs +43 -43
  6. package/esm2020/lib/components/closed-to-maintenance/index.mjs +2 -2
  7. package/esm2020/lib/components/index.mjs +4 -4
  8. package/esm2020/lib/components/progress-bar/index.mjs +3 -3
  9. package/esm2020/lib/components/progress-bar/progress-bar.component.mjs +23 -23
  10. package/esm2020/lib/components/progress-bar/progress-bar.module.mjs +18 -18
  11. package/esm2020/lib/components/progress-bar/progress-bar.service.mjs +50 -50
  12. package/esm2020/lib/components/version-changed/index.mjs +2 -2
  13. package/esm2020/lib/components/version-changed/version-changed.component.mjs +24 -24
  14. package/esm2020/lib/components/version-changed/version-changed.module.mjs +39 -39
  15. package/esm2020/lib/core/decorators/index.mjs +5 -5
  16. package/esm2020/lib/core/decorators/monkeyecx-charts-decorators.mjs +40 -40
  17. package/esm2020/lib/core/decorators/monkeyecx-decorators.mjs +110 -110
  18. package/esm2020/lib/core/decorators/monkeyecx-download-decorators.mjs +25 -25
  19. package/esm2020/lib/core/decorators/monkeyecx-upload-decorators.mjs +25 -25
  20. package/esm2020/lib/core/directives/index.mjs +12 -12
  21. package/esm2020/lib/core/directives/monkeyecx-directives-module.mjs +73 -73
  22. package/esm2020/lib/core/directives/monkeyecx-drag-drop.mjs +57 -57
  23. package/esm2020/lib/core/directives/monkeyecx-feature-by-program-directive.mjs +50 -50
  24. package/esm2020/lib/core/directives/monkeyecx-feature-directive.mjs +68 -68
  25. package/esm2020/lib/core/directives/monkeyecx-format-currency.mjs +44 -44
  26. package/esm2020/lib/core/directives/monkeyecx-format-upper.mjs +67 -67
  27. package/esm2020/lib/core/directives/monkeyecx-only-alpha-numeric-directive.mjs +28 -28
  28. package/esm2020/lib/core/directives/monkeyecx-only-number-directive.mjs +28 -28
  29. package/esm2020/lib/core/directives/monkeyecx-popover-options.directive.mjs +39 -39
  30. package/esm2020/lib/core/directives/monkeyecx-popover.directive.mjs +212 -212
  31. package/esm2020/lib/core/directives/monkeyecx-security-directive.mjs +69 -69
  32. package/esm2020/lib/core/directives/monkeyecx-tooltip-directive.mjs +123 -123
  33. package/esm2020/lib/core/index.mjs +9 -9
  34. package/esm2020/lib/core/interceptors/index.mjs +5 -5
  35. package/esm2020/lib/core/interceptors/monkeyecx-http-config-error.interceptor.mjs +39 -39
  36. package/esm2020/lib/core/interceptors/monkeyecx-http-config-header.interceptor.mjs +60 -60
  37. package/esm2020/lib/core/interceptors/monkeyecx-http-config-interceptor.module.mjs +47 -47
  38. package/esm2020/lib/core/interceptors/monkeyecx-http-config-loading-in-progress.interceptor.mjs +43 -43
  39. package/esm2020/lib/core/interceptors/monkeyecx-http-config-queue.interceptor.mjs +37 -37
  40. package/esm2020/lib/core/interfaces/index.mjs +29 -29
  41. package/esm2020/lib/core/interfaces/monkeyecx-auth-credentials.mjs +1 -1
  42. package/esm2020/lib/core/interfaces/monkeyecx-company-pendencies.mjs +1 -1
  43. package/esm2020/lib/core/interfaces/monkeyecx-company.mjs +1 -1
  44. package/esm2020/lib/core/interfaces/monkeyecx-config-boostrap.mjs +1 -1
  45. package/esm2020/lib/core/interfaces/monkeyecx-config.mjs +1 -1
  46. package/esm2020/lib/core/interfaces/monkeyecx-country-security.mjs +1 -1
  47. package/esm2020/lib/core/interfaces/monkeyecx-error-response.mjs +1 -1
  48. package/esm2020/lib/core/interfaces/monkeyecx-filter.mjs +1 -1
  49. package/esm2020/lib/core/interfaces/monkeyecx-handled-error-response.mjs +1 -1
  50. package/esm2020/lib/core/interfaces/monkeyecx-header-credentials.mjs +1 -1
  51. package/esm2020/lib/core/interfaces/monkeyecx-intercom-options.mjs +1 -1
  52. package/esm2020/lib/core/interfaces/monkeyecx-me-credentials.mjs +1 -1
  53. package/esm2020/lib/core/interfaces/monkeyecx-navigation.mjs +1 -1
  54. package/esm2020/lib/core/interfaces/monkeyecx-program.mjs +2 -2
  55. package/esm2020/lib/core/interfaces/monkeyecx-releases.mjs +1 -1
  56. package/esm2020/lib/core/interfaces/monkeyecx-request-in-progress.mjs +1 -1
  57. package/esm2020/lib/core/interfaces/monkeyecx-request-paged.mjs +1 -1
  58. package/esm2020/lib/core/interfaces/monkeyecx-response-links.mjs +1 -1
  59. package/esm2020/lib/core/interfaces/monkeyecx-response-paged.mjs +1 -1
  60. package/esm2020/lib/core/interfaces/monkeyecx-saved-state.mjs +1 -1
  61. package/esm2020/lib/core/interfaces/monkeyecx-scroll-options.mjs +1 -1
  62. package/esm2020/lib/core/interfaces/monkeyecx-service-credentials.mjs +1 -1
  63. package/esm2020/lib/core/interfaces/monkeyecx-support-options.mjs +1 -1
  64. package/esm2020/lib/core/interfaces/monkeyecx-token-credentials.mjs +2 -2
  65. package/esm2020/lib/core/interfaces/monkeyecx-translate-options.mjs +1 -1
  66. package/esm2020/lib/core/interfaces/request-download/index.mjs +3 -3
  67. package/esm2020/lib/core/interfaces/request-download/monkeyecx-request-download.mjs +1 -1
  68. package/esm2020/lib/core/interfaces/request-download/monkeyecx-request-downloaded.mjs +1 -1
  69. package/esm2020/lib/core/interfaces/request-download/monkeyecx-request-item-download.mjs +1 -1
  70. package/esm2020/lib/core/interfaces/request-queue/index.mjs +3 -3
  71. package/esm2020/lib/core/interfaces/request-queue/monkeyecx-request-item-queue.mjs +1 -1
  72. package/esm2020/lib/core/interfaces/request-queue/monkeyecx-request-progress-queue.mjs +1 -1
  73. package/esm2020/lib/core/interfaces/request-queue/monkeyecx-request-queue.mjs +1 -1
  74. package/esm2020/lib/core/interfaces/request-upload/index.mjs +2 -2
  75. package/esm2020/lib/core/interfaces/request-upload/monkeyecx-request-item-upload.mjs +1 -1
  76. package/esm2020/lib/core/interfaces/request-upload/monkeyecx-request-upload.mjs +1 -1
  77. package/esm2020/lib/core/interfaces/schedules/index.mjs +1 -1
  78. package/esm2020/lib/core/interfaces/schedules/monkeyecx-request-schedule.mjs +1 -1
  79. package/esm2020/lib/core/model/index.mjs +1 -1
  80. package/esm2020/lib/core/model/monkeyecx-model.mjs +25 -25
  81. package/esm2020/lib/core/pipes/index.mjs +20 -20
  82. package/esm2020/lib/core/pipes/monkeyecx-blob-secure.mjs +26 -26
  83. package/esm2020/lib/core/pipes/monkeyecx-display-first-name.mjs +19 -19
  84. package/esm2020/lib/core/pipes/monkeyecx-display-initials.mjs +21 -21
  85. package/esm2020/lib/core/pipes/monkeyecx-format-address.mjs +20 -20
  86. package/esm2020/lib/core/pipes/monkeyecx-format-beautify-json.mjs +38 -38
  87. package/esm2020/lib/core/pipes/monkeyecx-format-currency.mjs +27 -27
  88. package/esm2020/lib/core/pipes/monkeyecx-format-date-group.mjs +45 -45
  89. package/esm2020/lib/core/pipes/monkeyecx-format-date-timelapse.mjs +32 -32
  90. package/esm2020/lib/core/pipes/monkeyecx-format-date-unix-timelapse.mjs +36 -36
  91. package/esm2020/lib/core/pipes/monkeyecx-format-document.mjs +19 -19
  92. package/esm2020/lib/core/pipes/monkeyecx-format-number.mjs +20 -20
  93. package/esm2020/lib/core/pipes/monkeyecx-format-phone.mjs +42 -42
  94. package/esm2020/lib/core/pipes/monkeyecx-format-size.mjs +20 -20
  95. package/esm2020/lib/core/pipes/monkeyecx-format-tax.mjs +23 -23
  96. package/esm2020/lib/core/pipes/monkeyecx-format-type-document.mjs +19 -19
  97. package/esm2020/lib/core/pipes/monkeyecx-format-value.mjs +19 -19
  98. package/esm2020/lib/core/pipes/monkeyecx-format-zipcode.mjs +19 -19
  99. package/esm2020/lib/core/pipes/monkeyecx-pipes.module.mjs +112 -112
  100. package/esm2020/lib/core/pipes/monkeyecx-text-truncate.mjs +23 -23
  101. package/esm2020/lib/core/pipes/monkeyecx-truncate-qtd.mjs +16 -16
  102. package/esm2020/lib/core/services/alerts/index.mjs +1 -1
  103. package/esm2020/lib/core/services/alerts/monkeyecx-alerts.service.mjs +42 -42
  104. package/esm2020/lib/core/services/auth/index.mjs +4 -4
  105. package/esm2020/lib/core/services/auth/monkeyecx-auth-guard-company.service.mjs +28 -28
  106. package/esm2020/lib/core/services/auth/monkeyecx-auth-guard-login.service.mjs +27 -27
  107. package/esm2020/lib/core/services/auth/monkeyecx-auth-guard.service.mjs +26 -26
  108. package/esm2020/lib/core/services/auth/monkeyecx-authentication.service.mjs +69 -69
  109. package/esm2020/lib/core/services/commons/index.mjs +1 -1
  110. package/esm2020/lib/core/services/commons/monkeyecx-commons.service.mjs +404 -404
  111. package/esm2020/lib/core/services/config/monkeyecx-alerts-config.service.mjs +40 -40
  112. package/esm2020/lib/core/services/config/monkeyecx-config.module.mjs +28 -28
  113. package/esm2020/lib/core/services/config/monkeyecx-config.service.mjs +111 -111
  114. package/esm2020/lib/core/services/config/monkeyecx-error-config.service.mjs +85 -85
  115. package/esm2020/lib/core/services/config/monkeyecx-feature-toggle.service.mjs +67 -67
  116. package/esm2020/lib/core/services/config/monkeyecx-ga-config.service.mjs +57 -57
  117. package/esm2020/lib/core/services/config/monkeyecx-i18n-config.service.mjs +92 -92
  118. package/esm2020/lib/core/services/config/monkeyecx-logs-config.service.mjs +34 -34
  119. package/esm2020/lib/core/services/config/monkeyecx-maintenance-config.service.mjs +37 -37
  120. package/esm2020/lib/core/services/config/monkeyecx-security-console-config.service.mjs +42 -42
  121. package/esm2020/lib/core/services/config/monkeyecx-service-worker-config.service.mjs +53 -53
  122. package/esm2020/lib/core/services/error/index.mjs +4 -4
  123. package/esm2020/lib/core/services/error/monkeyecx-error-handling.module.mjs +27 -27
  124. package/esm2020/lib/core/services/error/monkeyecx-error-handling.service.mjs +37 -37
  125. package/esm2020/lib/core/services/error/monkeyecx-http-error-handling.service.mjs +135 -135
  126. package/esm2020/lib/core/services/error/monkeyecx-others-errors-handling.service.mjs +29 -29
  127. package/esm2020/lib/core/services/index.mjs +23 -23
  128. package/esm2020/lib/core/services/logged/index.mjs +1 -1
  129. package/esm2020/lib/core/services/logged/monkeyecx-logged-handling.service.mjs +40 -40
  130. package/esm2020/lib/core/services/monkeyecx-handling.service.mjs +50 -50
  131. package/esm2020/lib/core/services/monkeyecx-service.service.mjs +104 -104
  132. package/esm2020/lib/core/services/pagination/index.mjs +1 -1
  133. package/esm2020/lib/core/services/pagination/monkeyecx-pagination.service.mjs +29 -29
  134. package/esm2020/lib/core/services/request-download/index.mjs +2 -2
  135. package/esm2020/lib/core/services/request-download/monkeyecx-request-download-handling.service.mjs +93 -93
  136. package/esm2020/lib/core/services/request-download/monkeyecx-request-downloaded-handling.service.mjs +61 -61
  137. package/esm2020/lib/core/services/request-paged/index.mjs +1 -1
  138. package/esm2020/lib/core/services/request-paged/monkeyecx-request-request-paged-handling.mjs +42 -42
  139. package/esm2020/lib/core/services/request-queue/index.mjs +2 -2
  140. package/esm2020/lib/core/services/request-queue/monkeyecx-request-queue-handling.service.mjs +114 -114
  141. package/esm2020/lib/core/services/request-queue/monkeyecx-request-queue-modal-handling.service.mjs +119 -119
  142. package/esm2020/lib/core/services/routes/index.mjs +1 -1
  143. package/esm2020/lib/core/services/routes/monkeyecx-dicovery-params.service.mjs +54 -54
  144. package/esm2020/lib/core/services/schedules/index.mjs +1 -1
  145. package/esm2020/lib/core/services/schedules/monkeyecx-request-schedule.service.mjs +188 -188
  146. package/esm2020/lib/core/services/storage/index.mjs +2 -2
  147. package/esm2020/lib/core/services/storage/monkeyecx-cookie-storage.service.mjs +32 -32
  148. package/esm2020/lib/core/services/storage/monkeyecx-token-storage.service.mjs +127 -127
  149. package/esm2020/lib/core/specification-search/index.mjs +1 -1
  150. package/esm2020/lib/core/specification-search/monkeyecx-specification-search.mjs +107 -107
  151. package/esm2020/lib/core/utils/decorators-utils.mjs +39 -39
  152. package/esm2020/lib/core/utils/index.mjs +7 -7
  153. package/esm2020/lib/core/utils/statics.mjs +37 -37
  154. package/esm2020/lib/core/utils/utils.mjs +220 -220
  155. package/esm2020/lib/core/utils/validate-utils.mjs +205 -205
  156. package/esm2020/lib/core/utils/validators.mjs +207 -207
  157. package/esm2020/lib/monkey-front-core.module.mjs +64 -64
  158. package/esm2020/monkey-front-core.mjs +4 -4
  159. package/esm2020/public-api.mjs +6 -6
  160. package/fesm2015/monkey-front-core.mjs +4936 -4936
  161. package/fesm2015/monkey-front-core.mjs.map +1 -1
  162. package/fesm2020/monkey-front-core.mjs +4993 -4993
  163. package/fesm2020/monkey-front-core.mjs.map +1 -1
  164. package/lib/components/alerts/alerts.component.d.ts +16 -16
  165. package/lib/components/alerts/alerts.module.d.ts +10 -10
  166. package/lib/components/alerts/index.d.ts +2 -2
  167. package/lib/components/closed-to-maintenance/closed-to-maintenance.component.d.ts +13 -13
  168. package/lib/components/closed-to-maintenance/closed-to-maintenance.module.d.ts +11 -11
  169. package/lib/components/closed-to-maintenance/index.d.ts +2 -2
  170. package/lib/components/index.d.ts +4 -4
  171. package/lib/components/progress-bar/index.d.ts +3 -3
  172. package/lib/components/progress-bar/progress-bar.component.d.ts +11 -11
  173. package/lib/components/progress-bar/progress-bar.module.d.ts +8 -8
  174. package/lib/components/progress-bar/progress-bar.service.d.ts +14 -14
  175. package/lib/components/version-changed/index.d.ts +2 -2
  176. package/lib/components/version-changed/version-changed.component.d.ts +9 -9
  177. package/lib/components/version-changed/version-changed.module.d.ts +10 -10
  178. package/lib/core/decorators/index.d.ts +4 -4
  179. package/lib/core/decorators/monkeyecx-charts-decorators.d.ts +1 -1
  180. package/lib/core/decorators/monkeyecx-decorators.d.ts +7 -7
  181. package/lib/core/decorators/monkeyecx-download-decorators.d.ts +2 -2
  182. package/lib/core/decorators/monkeyecx-upload-decorators.d.ts +2 -2
  183. package/lib/core/directives/index.d.ts +12 -12
  184. package/lib/core/directives/monkeyecx-directives-module.d.ts +19 -19
  185. package/lib/core/directives/monkeyecx-drag-drop.d.ts +12 -12
  186. package/lib/core/directives/monkeyecx-feature-by-program-directive.d.ts +15 -15
  187. package/lib/core/directives/monkeyecx-feature-directive.d.ts +17 -17
  188. package/lib/core/directives/monkeyecx-format-currency.d.ts +16 -16
  189. package/lib/core/directives/monkeyecx-format-upper.d.ts +18 -18
  190. package/lib/core/directives/monkeyecx-only-alpha-numeric-directive.d.ts +9 -9
  191. package/lib/core/directives/monkeyecx-only-number-directive.d.ts +9 -9
  192. package/lib/core/directives/monkeyecx-popover-options.directive.d.ts +19 -19
  193. package/lib/core/directives/monkeyecx-popover.directive.d.ts +43 -43
  194. package/lib/core/directives/monkeyecx-security-directive.d.ts +17 -17
  195. package/lib/core/directives/monkeyecx-tooltip-directive.d.ts +23 -23
  196. package/lib/core/index.d.ts +9 -9
  197. package/lib/core/interceptors/index.d.ts +5 -5
  198. package/lib/core/interceptors/monkeyecx-http-config-error.interceptor.d.ts +17 -17
  199. package/lib/core/interceptors/monkeyecx-http-config-header.interceptor.d.ts +16 -16
  200. package/lib/core/interceptors/monkeyecx-http-config-interceptor.module.d.ts +9 -9
  201. package/lib/core/interceptors/monkeyecx-http-config-loading-in-progress.interceptor.d.ts +12 -12
  202. package/lib/core/interceptors/monkeyecx-http-config-queue.interceptor.d.ts +14 -14
  203. package/lib/core/interfaces/index.d.ts +29 -29
  204. package/lib/core/interfaces/monkeyecx-auth-credentials.d.ts +15 -15
  205. package/lib/core/interfaces/monkeyecx-company-pendencies.d.ts +14 -14
  206. package/lib/core/interfaces/monkeyecx-company.d.ts +10 -10
  207. package/lib/core/interfaces/monkeyecx-config-boostrap.d.ts +14 -14
  208. package/lib/core/interfaces/monkeyecx-config.d.ts +126 -126
  209. package/lib/core/interfaces/monkeyecx-country-security.d.ts +4 -4
  210. package/lib/core/interfaces/monkeyecx-error-response.d.ts +5 -5
  211. package/lib/core/interfaces/monkeyecx-filter.d.ts +24 -24
  212. package/lib/core/interfaces/monkeyecx-handled-error-response.d.ts +10 -10
  213. package/lib/core/interfaces/monkeyecx-header-credentials.d.ts +4 -4
  214. package/lib/core/interfaces/monkeyecx-intercom-options.d.ts +4 -4
  215. package/lib/core/interfaces/monkeyecx-me-credentials.d.ts +22 -22
  216. package/lib/core/interfaces/monkeyecx-navigation.d.ts +27 -27
  217. package/lib/core/interfaces/monkeyecx-program.d.ts +10 -10
  218. package/lib/core/interfaces/monkeyecx-releases.d.ts +9 -9
  219. package/lib/core/interfaces/monkeyecx-request-in-progress.d.ts +3 -3
  220. package/lib/core/interfaces/monkeyecx-request-paged.d.ts +23 -23
  221. package/lib/core/interfaces/monkeyecx-response-links.d.ts +11 -11
  222. package/lib/core/interfaces/monkeyecx-response-paged.d.ts +6 -6
  223. package/lib/core/interfaces/monkeyecx-saved-state.d.ts +5 -5
  224. package/lib/core/interfaces/monkeyecx-scroll-options.d.ts +5 -5
  225. package/lib/core/interfaces/monkeyecx-service-credentials.d.ts +12 -12
  226. package/lib/core/interfaces/monkeyecx-support-options.d.ts +4 -4
  227. package/lib/core/interfaces/monkeyecx-token-credentials.d.ts +20 -20
  228. package/lib/core/interfaces/monkeyecx-translate-options.d.ts +4 -4
  229. package/lib/core/interfaces/request-download/index.d.ts +3 -3
  230. package/lib/core/interfaces/request-download/monkeyecx-request-download.d.ts +10 -10
  231. package/lib/core/interfaces/request-download/monkeyecx-request-downloaded.d.ts +7 -7
  232. package/lib/core/interfaces/request-download/monkeyecx-request-item-download.d.ts +7 -7
  233. package/lib/core/interfaces/request-queue/index.d.ts +3 -3
  234. package/lib/core/interfaces/request-queue/monkeyecx-request-item-queue.d.ts +7 -7
  235. package/lib/core/interfaces/request-queue/monkeyecx-request-progress-queue.d.ts +6 -6
  236. package/lib/core/interfaces/request-queue/monkeyecx-request-queue.d.ts +8 -8
  237. package/lib/core/interfaces/request-upload/index.d.ts +2 -2
  238. package/lib/core/interfaces/request-upload/monkeyecx-request-item-upload.d.ts +5 -5
  239. package/lib/core/interfaces/request-upload/monkeyecx-request-upload.d.ts +10 -10
  240. package/lib/core/interfaces/schedules/index.d.ts +1 -1
  241. package/lib/core/interfaces/schedules/monkeyecx-request-schedule.d.ts +13 -13
  242. package/lib/core/model/index.d.ts +1 -1
  243. package/lib/core/model/monkeyecx-model.d.ts +13 -13
  244. package/lib/core/pipes/index.d.ts +20 -20
  245. package/lib/core/pipes/monkeyecx-blob-secure.d.ts +13 -13
  246. package/lib/core/pipes/monkeyecx-display-first-name.d.ts +7 -7
  247. package/lib/core/pipes/monkeyecx-display-initials.d.ts +7 -7
  248. package/lib/core/pipes/monkeyecx-format-address.d.ts +14 -14
  249. package/lib/core/pipes/monkeyecx-format-beautify-json.d.ts +8 -8
  250. package/lib/core/pipes/monkeyecx-format-currency.d.ts +11 -11
  251. package/lib/core/pipes/monkeyecx-format-date-group.d.ts +11 -11
  252. package/lib/core/pipes/monkeyecx-format-date-timelapse.d.ts +7 -7
  253. package/lib/core/pipes/monkeyecx-format-date-unix-timelapse.d.ts +7 -7
  254. package/lib/core/pipes/monkeyecx-format-document.d.ts +7 -7
  255. package/lib/core/pipes/monkeyecx-format-number.d.ts +7 -7
  256. package/lib/core/pipes/monkeyecx-format-phone.d.ts +7 -7
  257. package/lib/core/pipes/monkeyecx-format-size.d.ts +7 -7
  258. package/lib/core/pipes/monkeyecx-format-tax.d.ts +7 -7
  259. package/lib/core/pipes/monkeyecx-format-type-document.d.ts +7 -7
  260. package/lib/core/pipes/monkeyecx-format-value.d.ts +7 -7
  261. package/lib/core/pipes/monkeyecx-format-zipcode.d.ts +7 -7
  262. package/lib/core/pipes/monkeyecx-pipes.module.d.ts +25 -25
  263. package/lib/core/pipes/monkeyecx-text-truncate.d.ts +7 -7
  264. package/lib/core/pipes/monkeyecx-truncate-qtd.d.ts +7 -7
  265. package/lib/core/services/alerts/index.d.ts +1 -1
  266. package/lib/core/services/alerts/monkeyecx-alerts.service.d.ts +21 -21
  267. package/lib/core/services/auth/index.d.ts +4 -4
  268. package/lib/core/services/auth/monkeyecx-auth-guard-company.service.d.ts +11 -11
  269. package/lib/core/services/auth/monkeyecx-auth-guard-login.service.d.ts +11 -11
  270. package/lib/core/services/auth/monkeyecx-auth-guard.service.d.ts +11 -11
  271. package/lib/core/services/auth/monkeyecx-authentication.service.d.ts +30 -30
  272. package/lib/core/services/commons/index.d.ts +1 -1
  273. package/lib/core/services/commons/monkeyecx-commons.service.d.ts +124 -124
  274. package/lib/core/services/config/monkeyecx-alerts-config.service.d.ts +11 -11
  275. package/lib/core/services/config/monkeyecx-config.module.d.ts +9 -9
  276. package/lib/core/services/config/monkeyecx-config.service.d.ts +36 -36
  277. package/lib/core/services/config/monkeyecx-error-config.service.d.ts +8 -8
  278. package/lib/core/services/config/monkeyecx-feature-toggle.service.d.ts +16 -16
  279. package/lib/core/services/config/monkeyecx-ga-config.service.d.ts +10 -10
  280. package/lib/core/services/config/monkeyecx-i18n-config.service.d.ts +16 -16
  281. package/lib/core/services/config/monkeyecx-logs-config.service.d.ts +7 -7
  282. package/lib/core/services/config/monkeyecx-maintenance-config.service.d.ts +13 -13
  283. package/lib/core/services/config/monkeyecx-security-console-config.service.d.ts +11 -11
  284. package/lib/core/services/config/monkeyecx-service-worker-config.service.d.ts +16 -16
  285. package/lib/core/services/error/index.d.ts +4 -4
  286. package/lib/core/services/error/monkeyecx-error-handling.module.d.ts +9 -9
  287. package/lib/core/services/error/monkeyecx-error-handling.service.d.ts +9 -9
  288. package/lib/core/services/error/monkeyecx-http-error-handling.service.d.ts +26 -26
  289. package/lib/core/services/error/monkeyecx-others-errors-handling.service.d.ts +9 -9
  290. package/lib/core/services/index.d.ts +23 -23
  291. package/lib/core/services/logged/index.d.ts +1 -1
  292. package/lib/core/services/logged/monkeyecx-logged-handling.service.d.ts +14 -14
  293. package/lib/core/services/monkeyecx-handling.service.d.ts +22 -22
  294. package/lib/core/services/monkeyecx-service.service.d.ts +18 -18
  295. package/lib/core/services/pagination/index.d.ts +1 -1
  296. package/lib/core/services/pagination/monkeyecx-pagination.service.d.ts +9 -9
  297. package/lib/core/services/request-download/index.d.ts +2 -2
  298. package/lib/core/services/request-download/monkeyecx-request-download-handling.service.d.ts +18 -18
  299. package/lib/core/services/request-download/monkeyecx-request-downloaded-handling.service.d.ts +16 -16
  300. package/lib/core/services/request-paged/index.d.ts +1 -1
  301. package/lib/core/services/request-paged/monkeyecx-request-request-paged-handling.d.ts +11 -11
  302. package/lib/core/services/request-queue/index.d.ts +2 -2
  303. package/lib/core/services/request-queue/monkeyecx-request-queue-handling.service.d.ts +21 -21
  304. package/lib/core/services/request-queue/monkeyecx-request-queue-modal-handling.service.d.ts +23 -23
  305. package/lib/core/services/routes/index.d.ts +1 -1
  306. package/lib/core/services/routes/monkeyecx-dicovery-params.service.d.ts +13 -13
  307. package/lib/core/services/schedules/index.d.ts +1 -1
  308. package/lib/core/services/schedules/monkeyecx-request-schedule.service.d.ts +47 -47
  309. package/lib/core/services/storage/index.d.ts +2 -2
  310. package/lib/core/services/storage/monkeyecx-cookie-storage.service.d.ts +11 -11
  311. package/lib/core/services/storage/monkeyecx-token-storage.service.d.ts +29 -29
  312. package/lib/core/specification-search/index.d.ts +1 -1
  313. package/lib/core/specification-search/monkeyecx-specification-search.d.ts +20 -20
  314. package/lib/core/utils/decorators-utils.d.ts +5 -5
  315. package/lib/core/utils/index.d.ts +6 -6
  316. package/lib/core/utils/statics.d.ts +28 -28
  317. package/lib/core/utils/utils.d.ts +22 -22
  318. package/lib/core/utils/validate-utils.d.ts +66 -66
  319. package/lib/core/utils/validators.d.ts +29 -29
  320. package/lib/monkey-front-core.module.d.ts +17 -17
  321. package/monkey-front-core-0.0.255.tgz +0 -0
  322. package/monkey-front-core.d.ts +5 -5
  323. package/package.json +3 -3
  324. package/public-api.d.ts +3 -3
  325. package/monkey-front-core-0.0.253.tgz +0 -0
@@ -1,206 +1,206 @@
1
- /* eslint-disable max-classes-per-file */
2
- import * as moment_ from 'moment';
3
- import { MonkeyEcxUtils } from './utils';
4
- const moment = moment_;
5
- export class DateValidator {
6
- static do(control) {
7
- if (!control.parent || !control)
8
- return null;
9
- if (control && control.value) {
10
- const dateFormat = 'MM-DD-YYYY';
11
- if (!moment
12
- .default(moment.default(control.value).format(dateFormat), ['DD/MM/YYYY', 'MM-DD-YYYY', 'YYYY-MM-DD'], true)
13
- .isValid()) {
14
- return {
15
- invalidDate: true,
16
- };
17
- }
18
- }
19
- return null;
20
- }
21
- }
22
- export class DocumentValidator {
23
- static do(control) {
24
- if (!control.parent || !control)
25
- return null;
26
- if (control && control.value) {
27
- if (!MonkeyEcxUtils.isCPFCNPJValid(control.value)) {
28
- return {
29
- invalidCpfCnpj: true,
30
- };
31
- }
32
- }
33
- return null;
34
- }
35
- }
36
- export class DocumentRutValidator {
37
- static do(control) {
38
- if (!control.parent || !control)
39
- return null;
40
- if (control && control.value) {
41
- if (!MonkeyEcxUtils.isValidRUT(control.value)) {
42
- return {
43
- invalidRut: true,
44
- };
45
- }
46
- }
47
- return null;
48
- }
49
- }
50
- export class ZipCodeValidator {
51
- static do(control) {
52
- if (!control.parent || !control)
53
- return null;
54
- if (control && control.value) {
55
- if (!MonkeyEcxUtils.isValidZipCode(control.value)) {
56
- return {
57
- invalidZipCode: true,
58
- };
59
- }
60
- }
61
- return null;
62
- }
63
- }
64
- export class ComboValidator {
65
- static do(control) {
66
- if (!control.parent || !control)
67
- return null;
68
- if (control && control.value !== '0')
69
- return null;
70
- return {
71
- invalidCombo: true,
72
- };
73
- }
74
- }
75
- export class isTrueValidator {
76
- static do(control) {
77
- if (!control.parent || !control)
78
- return null;
79
- if (control && control.value !== false)
80
- return null;
81
- return {
82
- invalidTrue: true,
83
- };
84
- }
85
- }
86
- export class PasswordMatchValidation {
87
- static do(control) {
88
- if (!control.parent || !control)
89
- return null;
90
- const { parent } = control;
91
- const password = parent?.get('password')?.value;
92
- const passwordConfirm = parent?.get('passwordConfirm')?.value;
93
- if (!password || !passwordConfirm)
94
- return null;
95
- if (password === passwordConfirm)
96
- return null;
97
- return {
98
- passwordsNotMatching: true,
99
- };
100
- }
101
- }
102
- export class UrlValidator {
103
- static do(control) {
104
- if (!control.parent || !control)
105
- return null;
106
- if (control && control.value) {
107
- if (!MonkeyEcxUtils.isValidUrl(control.value)) {
108
- return {
109
- invalidUrl: true,
110
- };
111
- }
112
- }
113
- return null;
114
- }
115
- }
116
- export class CustomDatesStartValidator {
117
- static do(control) {
118
- if (!control.parent || !control)
119
- return null;
120
- const { parent } = control;
121
- const valueStart = parent?.get('dateStart')?.value;
122
- const valueEnd = parent?.get('dateEnd')?.value;
123
- let dateStart = null;
124
- let dateEnd = null;
125
- if (valueStart) {
126
- dateStart = new Date(valueStart);
127
- }
128
- if (valueEnd) {
129
- dateEnd = new Date(valueEnd);
130
- }
131
- if (!dateStart || !dateEnd)
132
- return null;
133
- if (dateStart > dateEnd) {
134
- return {
135
- dateStartMustBeLessThanAnd: true,
136
- };
137
- }
138
- return null;
139
- }
140
- }
141
- export class CustomDatesEndValidator {
142
- static do(control) {
143
- if (!control.parent || !control)
144
- return null;
145
- const { parent } = control;
146
- const valueStart = parent?.get('dateStart')?.value;
147
- const valueEnd = parent?.get('dateEnd')?.value;
148
- let dateStart = null;
149
- let dateEnd = null;
150
- if (valueStart) {
151
- dateStart = new Date(valueStart);
152
- }
153
- if (valueEnd) {
154
- dateEnd = new Date(valueEnd);
155
- }
156
- if (!dateEnd || !dateStart)
157
- return null;
158
- if (dateEnd < dateStart) {
159
- return {
160
- dateEndMustBeGreaterThanStart: true,
161
- };
162
- }
163
- return null;
164
- }
165
- }
166
- export class UnlockRegisterBuyerValidator {
167
- static do(control) {
168
- if (!control.parent || !control)
169
- return null;
170
- if (control && control.value !== '#MONKEYBUYER') {
171
- return {
172
- invalidUnlockRegister: true,
173
- };
174
- }
175
- return null;
176
- }
177
- }
178
- export class UnlockRegisterSponsorValidator {
179
- static do(control) {
180
- if (!control.parent || !control)
181
- return null;
182
- if (control && control.value !== '#MONKEYSPONSOR') {
183
- return {
184
- invalidUnlockRegister: true,
185
- };
186
- }
187
- return null;
188
- }
189
- }
190
- export class DateRangeValidator {
191
- static do(control) {
192
- if (!control.parent || !control) {
193
- return null;
194
- }
195
- const dates = control?.parent?.get('dates')?.value;
196
- if (dates &&
197
- (!MonkeyEcxUtils.persistNullEmptyUndefined(dates.startDate) ||
198
- !MonkeyEcxUtils.persistNullEmptyUndefined(dates.endDate))) {
199
- return {
200
- invalidDateRange: true,
201
- };
202
- }
203
- return null;
204
- }
205
- }
1
+ /* eslint-disable max-classes-per-file */
2
+ import * as moment_ from 'moment';
3
+ import { MonkeyEcxUtils } from './utils';
4
+ const moment = moment_;
5
+ export class DateValidator {
6
+ static do(control) {
7
+ if (!control.parent || !control)
8
+ return null;
9
+ if (control && control.value) {
10
+ const dateFormat = 'MM-DD-YYYY';
11
+ if (!moment
12
+ .default(moment.default(control.value).format(dateFormat), ['DD/MM/YYYY', 'MM-DD-YYYY', 'YYYY-MM-DD'], true)
13
+ .isValid()) {
14
+ return {
15
+ invalidDate: true,
16
+ };
17
+ }
18
+ }
19
+ return null;
20
+ }
21
+ }
22
+ export class DocumentValidator {
23
+ static do(control) {
24
+ if (!control.parent || !control)
25
+ return null;
26
+ if (control && control.value) {
27
+ if (!MonkeyEcxUtils.isCPFCNPJValid(control.value)) {
28
+ return {
29
+ invalidCpfCnpj: true,
30
+ };
31
+ }
32
+ }
33
+ return null;
34
+ }
35
+ }
36
+ export class DocumentRutValidator {
37
+ static do(control) {
38
+ if (!control.parent || !control)
39
+ return null;
40
+ if (control && control.value) {
41
+ if (!MonkeyEcxUtils.isValidRUT(control.value)) {
42
+ return {
43
+ invalidRut: true,
44
+ };
45
+ }
46
+ }
47
+ return null;
48
+ }
49
+ }
50
+ export class ZipCodeValidator {
51
+ static do(control) {
52
+ if (!control.parent || !control)
53
+ return null;
54
+ if (control && control.value) {
55
+ if (!MonkeyEcxUtils.isValidZipCode(control.value)) {
56
+ return {
57
+ invalidZipCode: true,
58
+ };
59
+ }
60
+ }
61
+ return null;
62
+ }
63
+ }
64
+ export class ComboValidator {
65
+ static do(control) {
66
+ if (!control.parent || !control)
67
+ return null;
68
+ if (control && control.value !== '0')
69
+ return null;
70
+ return {
71
+ invalidCombo: true,
72
+ };
73
+ }
74
+ }
75
+ export class isTrueValidator {
76
+ static do(control) {
77
+ if (!control.parent || !control)
78
+ return null;
79
+ if (control && control.value !== false)
80
+ return null;
81
+ return {
82
+ invalidTrue: true,
83
+ };
84
+ }
85
+ }
86
+ export class PasswordMatchValidation {
87
+ static do(control) {
88
+ if (!control.parent || !control)
89
+ return null;
90
+ const { parent } = control;
91
+ const password = parent?.get('password')?.value;
92
+ const passwordConfirm = parent?.get('passwordConfirm')?.value;
93
+ if (!password || !passwordConfirm)
94
+ return null;
95
+ if (password === passwordConfirm)
96
+ return null;
97
+ return {
98
+ passwordsNotMatching: true,
99
+ };
100
+ }
101
+ }
102
+ export class UrlValidator {
103
+ static do(control) {
104
+ if (!control.parent || !control)
105
+ return null;
106
+ if (control && control.value) {
107
+ if (!MonkeyEcxUtils.isValidUrl(control.value)) {
108
+ return {
109
+ invalidUrl: true,
110
+ };
111
+ }
112
+ }
113
+ return null;
114
+ }
115
+ }
116
+ export class CustomDatesStartValidator {
117
+ static do(control) {
118
+ if (!control.parent || !control)
119
+ return null;
120
+ const { parent } = control;
121
+ const valueStart = parent?.get('dateStart')?.value;
122
+ const valueEnd = parent?.get('dateEnd')?.value;
123
+ let dateStart = null;
124
+ let dateEnd = null;
125
+ if (valueStart) {
126
+ dateStart = new Date(valueStart);
127
+ }
128
+ if (valueEnd) {
129
+ dateEnd = new Date(valueEnd);
130
+ }
131
+ if (!dateStart || !dateEnd)
132
+ return null;
133
+ if (dateStart > dateEnd) {
134
+ return {
135
+ dateStartMustBeLessThanAnd: true,
136
+ };
137
+ }
138
+ return null;
139
+ }
140
+ }
141
+ export class CustomDatesEndValidator {
142
+ static do(control) {
143
+ if (!control.parent || !control)
144
+ return null;
145
+ const { parent } = control;
146
+ const valueStart = parent?.get('dateStart')?.value;
147
+ const valueEnd = parent?.get('dateEnd')?.value;
148
+ let dateStart = null;
149
+ let dateEnd = null;
150
+ if (valueStart) {
151
+ dateStart = new Date(valueStart);
152
+ }
153
+ if (valueEnd) {
154
+ dateEnd = new Date(valueEnd);
155
+ }
156
+ if (!dateEnd || !dateStart)
157
+ return null;
158
+ if (dateEnd < dateStart) {
159
+ return {
160
+ dateEndMustBeGreaterThanStart: true,
161
+ };
162
+ }
163
+ return null;
164
+ }
165
+ }
166
+ export class UnlockRegisterBuyerValidator {
167
+ static do(control) {
168
+ if (!control.parent || !control)
169
+ return null;
170
+ if (control && control.value !== '#MONKEYBUYER') {
171
+ return {
172
+ invalidUnlockRegister: true,
173
+ };
174
+ }
175
+ return null;
176
+ }
177
+ }
178
+ export class UnlockRegisterSponsorValidator {
179
+ static do(control) {
180
+ if (!control.parent || !control)
181
+ return null;
182
+ if (control && control.value !== '#MONKEYSPONSOR') {
183
+ return {
184
+ invalidUnlockRegister: true,
185
+ };
186
+ }
187
+ return null;
188
+ }
189
+ }
190
+ export class DateRangeValidator {
191
+ static do(control) {
192
+ if (!control.parent || !control) {
193
+ return null;
194
+ }
195
+ const dates = control?.parent?.get('dates')?.value;
196
+ if (dates &&
197
+ (!MonkeyEcxUtils.persistNullEmptyUndefined(dates.startDate) ||
198
+ !MonkeyEcxUtils.persistNullEmptyUndefined(dates.endDate))) {
199
+ return {
200
+ invalidDateRange: true,
201
+ };
202
+ }
203
+ return null;
204
+ }
205
+ }
206
206
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsaWRhdGUtdXRpbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9tb25rZXktZnJvbnQtY29yZS9zcmMvbGliL2NvcmUvdXRpbHMvdmFsaWRhdGUtdXRpbHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE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XG4gICAgICAgICAgLmRlZmF1bHQoXG4gICAgICAgICAgICBtb21lbnQuZGVmYXVsdChjb250cm9sLnZhbHVlKS5mb3JtYXQoZGF0ZUZvcm1hdCksXG4gICAgICAgICAgICBbJ0REL01NL1lZWVknLCAnTU0tREQtWVlZWScsICdZWVlZLU1NLUREJ10sXG4gICAgICAgICAgICB0cnVlXG4gICAgICAgICAgKVxuICAgICAgICAgIC5pc1ZhbGlkKClcbiAgICAgICkge1xuICAgICAgICByZXR1cm4ge1xuICAgICAgICAgIGludmFsaWREYXRlOiB0cnVlLFxuICAgICAgICB9O1xuICAgICAgfVxuICAgIH1cbiAgICByZXR1cm4gbnVsbDtcbiAgfVxufVxuXG5leHBvcnQgY2xhc3MgRG9jdW1lbnRWYWxpZGF0b3Ige1xuICBzdGF0aWMgZG8oY29udHJvbDogQWJzdHJhY3RDb250cm9sKSB7XG4gICAgaWYgKCFjb250cm9sLnBhcmVudCB8fCAhY29udHJvbCkgcmV0dXJuIG51bGw7XG4gICAgaWYgKGNvbnRyb2wgJiYgY29udHJvbC52YWx1ZSkge1xuICAgICAgaWYgKCFNb25rZXlFY3hVdGlscy5pc0NQRkNOUEpWYWxpZChjb250cm9sLnZhbHVlKSkge1xuICAgICAgICByZXR1cm4ge1xuICAgICAgICAgIGludmFsaWRDcGZDbnBqOiB0cnVlLFxuICAgICAgICB9O1xuICAgICAgfVxuICAgIH1cbiAgICByZXR1cm4gbnVsbDtcbiAgfVxufVxuXG5leHBvcnQgY2xhc3MgRG9jdW1lbnRSdXRWYWxpZGF0b3Ige1xuICBzdGF0aWMgZG8oY29udHJvbDogQWJzdHJhY3RDb250cm9sKSB7XG4gICAgaWYgKCFjb250cm9sLnBhcmVudCB8fCAhY29udHJvbCkgcmV0dXJuIG51bGw7XG4gICAgaWYgKGNvbnRyb2wgJiYgY29udHJvbC52YWx1ZSkge1xuICAgICAgaWYgKCFNb25rZXlFY3hVdGlscy5pc1ZhbGlkUlVUKGNvbnRyb2wudmFsdWU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