monkey-front-core 0.0.468 → 0.0.470

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 (378) hide show
  1. package/README.md +24 -24
  2. package/esm2020/lib/components/alerts/alerts.component.mjs +45 -45
  3. package/esm2020/lib/components/alerts/alerts.module.mjs +21 -21
  4. package/esm2020/lib/components/alerts/index.mjs +3 -3
  5. package/esm2020/lib/components/closed-to-maintenance/closed-to-maintenance.component.mjs +29 -29
  6. package/esm2020/lib/components/closed-to-maintenance/closed-to-maintenance.module.mjs +43 -43
  7. package/esm2020/lib/components/closed-to-maintenance/index.mjs +3 -3
  8. package/esm2020/lib/components/currency-config/currency-config.component.mjs +39 -39
  9. package/esm2020/lib/components/currency-config/currency-config.module.mjs +39 -39
  10. package/esm2020/lib/components/currency-config/index.mjs +3 -3
  11. package/esm2020/lib/components/index.mjs +6 -6
  12. package/esm2020/lib/components/progress-bar/index.mjs +4 -4
  13. package/esm2020/lib/components/progress-bar/progress-bar.component.mjs +23 -23
  14. package/esm2020/lib/components/progress-bar/progress-bar.module.mjs +18 -18
  15. package/esm2020/lib/components/progress-bar/progress-bar.service.mjs +50 -50
  16. package/esm2020/lib/components/version-changed/index.mjs +3 -3
  17. package/esm2020/lib/components/version-changed/version-changed.component.mjs +24 -24
  18. package/esm2020/lib/components/version-changed/version-changed.module.mjs +39 -39
  19. package/esm2020/lib/core/decorators/index.mjs +5 -5
  20. package/esm2020/lib/core/decorators/monkeyecx-charts-decorators.mjs +40 -40
  21. package/esm2020/lib/core/decorators/monkeyecx-decorators.mjs +111 -111
  22. package/esm2020/lib/core/decorators/monkeyecx-download-decorators.mjs +26 -26
  23. package/esm2020/lib/core/decorators/monkeyecx-upload-decorators.mjs +26 -26
  24. package/esm2020/lib/core/directives/index.mjs +13 -13
  25. package/esm2020/lib/core/directives/monkeyecx-directives-module.mjs +73 -73
  26. package/esm2020/lib/core/directives/monkeyecx-drag-drop.mjs +57 -57
  27. package/esm2020/lib/core/directives/monkeyecx-feature-by-program-directive.mjs +54 -54
  28. package/esm2020/lib/core/directives/monkeyecx-feature-directive.mjs +68 -68
  29. package/esm2020/lib/core/directives/monkeyecx-format-currency.mjs +44 -44
  30. package/esm2020/lib/core/directives/monkeyecx-format-upper.mjs +67 -67
  31. package/esm2020/lib/core/directives/monkeyecx-only-alpha-numeric-directive.mjs +28 -28
  32. package/esm2020/lib/core/directives/monkeyecx-only-number-directive.mjs +28 -28
  33. package/esm2020/lib/core/directives/monkeyecx-popover-options.directive.mjs +39 -39
  34. package/esm2020/lib/core/directives/monkeyecx-popover.directive.mjs +212 -212
  35. package/esm2020/lib/core/directives/monkeyecx-security-directive.mjs +75 -75
  36. package/esm2020/lib/core/directives/monkeyecx-tooltip-directive.mjs +123 -123
  37. package/esm2020/lib/core/index.mjs +10 -10
  38. package/esm2020/lib/core/interceptors/index.mjs +6 -6
  39. package/esm2020/lib/core/interceptors/monkeyecx-http-config-error.interceptor.mjs +49 -49
  40. package/esm2020/lib/core/interceptors/monkeyecx-http-config-header.interceptor.mjs +59 -59
  41. package/esm2020/lib/core/interceptors/monkeyecx-http-config-interceptor.module.mjs +47 -47
  42. package/esm2020/lib/core/interceptors/monkeyecx-http-config-loading-in-progress.interceptor.mjs +43 -43
  43. package/esm2020/lib/core/interceptors/monkeyecx-http-config-queue.interceptor.mjs +37 -37
  44. package/esm2020/lib/core/interfaces/index.mjs +35 -35
  45. package/esm2020/lib/core/interfaces/monkeyecx-auth-credentials.mjs +2 -2
  46. package/esm2020/lib/core/interfaces/monkeyecx-company-pendencies.mjs +2 -2
  47. package/esm2020/lib/core/interfaces/monkeyecx-company.mjs +2 -2
  48. package/esm2020/lib/core/interfaces/monkeyecx-config-bootstrap.mjs +1 -1
  49. package/esm2020/lib/core/interfaces/monkeyecx-config.mjs +2 -2
  50. package/esm2020/lib/core/interfaces/monkeyecx-country-security.mjs +2 -2
  51. package/esm2020/lib/core/interfaces/monkeyecx-error-response.mjs +2 -2
  52. package/esm2020/lib/core/interfaces/monkeyecx-filter.mjs +2 -2
  53. package/esm2020/lib/core/interfaces/monkeyecx-handled-error-response.mjs +2 -2
  54. package/esm2020/lib/core/interfaces/monkeyecx-header-credentials.mjs +2 -2
  55. package/esm2020/lib/core/interfaces/monkeyecx-intercom-options.mjs +2 -2
  56. package/esm2020/lib/core/interfaces/monkeyecx-interface.mjs +1 -1
  57. package/esm2020/lib/core/interfaces/monkeyecx-me-credentials.mjs +2 -2
  58. package/esm2020/lib/core/interfaces/monkeyecx-navigation.mjs +2 -2
  59. package/esm2020/lib/core/interfaces/monkeyecx-pagination.mjs +2 -2
  60. package/esm2020/lib/core/interfaces/monkeyecx-program.mjs +2 -2
  61. package/esm2020/lib/core/interfaces/monkeyecx-releases.mjs +2 -2
  62. package/esm2020/lib/core/interfaces/monkeyecx-request-in-progress.mjs +2 -2
  63. package/esm2020/lib/core/interfaces/monkeyecx-request-paged.mjs +2 -2
  64. package/esm2020/lib/core/interfaces/monkeyecx-resolver.mjs +2 -2
  65. package/esm2020/lib/core/interfaces/monkeyecx-response-links.mjs +2 -2
  66. package/esm2020/lib/core/interfaces/monkeyecx-response-paged.mjs +2 -2
  67. package/esm2020/lib/core/interfaces/monkeyecx-saved-state.mjs +2 -2
  68. package/esm2020/lib/core/interfaces/monkeyecx-scroll-options.mjs +2 -2
  69. package/esm2020/lib/core/interfaces/monkeyecx-service-credentials.mjs +2 -2
  70. package/esm2020/lib/core/interfaces/monkeyecx-storage.mjs +2 -2
  71. package/esm2020/lib/core/interfaces/monkeyecx-store.mjs +2 -2
  72. package/esm2020/lib/core/interfaces/monkeyecx-support-options.mjs +2 -2
  73. package/esm2020/lib/core/interfaces/monkeyecx-token-credentials.mjs +1 -1
  74. package/esm2020/lib/core/interfaces/monkeyecx-translate-options.mjs +2 -2
  75. package/esm2020/lib/core/interfaces/request-download/index.mjs +4 -4
  76. package/esm2020/lib/core/interfaces/request-download/monkeyecx-request-download.mjs +2 -2
  77. package/esm2020/lib/core/interfaces/request-download/monkeyecx-request-downloaded.mjs +2 -2
  78. package/esm2020/lib/core/interfaces/request-download/monkeyecx-request-item-download.mjs +2 -2
  79. package/esm2020/lib/core/interfaces/request-queue/index.mjs +4 -4
  80. package/esm2020/lib/core/interfaces/request-queue/monkeyecx-request-item-queue.mjs +2 -2
  81. package/esm2020/lib/core/interfaces/request-queue/monkeyecx-request-progress-queue.mjs +2 -2
  82. package/esm2020/lib/core/interfaces/request-queue/monkeyecx-request-queue.mjs +2 -2
  83. package/esm2020/lib/core/interfaces/request-upload/index.mjs +3 -3
  84. package/esm2020/lib/core/interfaces/request-upload/monkeyecx-request-item-upload.mjs +2 -2
  85. package/esm2020/lib/core/interfaces/request-upload/monkeyecx-request-upload.mjs +2 -2
  86. package/esm2020/lib/core/interfaces/schedules/index.mjs +2 -2
  87. package/esm2020/lib/core/interfaces/schedules/monkeyecx-request-schedule.mjs +2 -2
  88. package/esm2020/lib/core/model/index.mjs +3 -3
  89. package/esm2020/lib/core/model/monkeyecx-links.model.mjs +8 -8
  90. package/esm2020/lib/core/model/monkeyecx-model.mjs +25 -25
  91. package/esm2020/lib/core/pipes/index.mjs +22 -22
  92. package/esm2020/lib/core/pipes/monkeyecx-blob-secure.mjs +26 -26
  93. package/esm2020/lib/core/pipes/monkeyecx-display-first-name.mjs +19 -19
  94. package/esm2020/lib/core/pipes/monkeyecx-display-initials.mjs +21 -21
  95. package/esm2020/lib/core/pipes/monkeyecx-display-support-phone.mjs +33 -33
  96. package/esm2020/lib/core/pipes/monkeyecx-format-address.mjs +20 -20
  97. package/esm2020/lib/core/pipes/monkeyecx-format-beautify-json.mjs +38 -38
  98. package/esm2020/lib/core/pipes/monkeyecx-format-currency.mjs +27 -27
  99. package/esm2020/lib/core/pipes/monkeyecx-format-date-group.mjs +45 -45
  100. package/esm2020/lib/core/pipes/monkeyecx-format-date-timelapse.mjs +32 -32
  101. package/esm2020/lib/core/pipes/monkeyecx-format-date-unix-timelapse.mjs +36 -36
  102. package/esm2020/lib/core/pipes/monkeyecx-format-document.mjs +20 -20
  103. package/esm2020/lib/core/pipes/monkeyecx-format-number.mjs +20 -20
  104. package/esm2020/lib/core/pipes/monkeyecx-format-phone.mjs +42 -42
  105. package/esm2020/lib/core/pipes/monkeyecx-format-size.mjs +20 -20
  106. package/esm2020/lib/core/pipes/monkeyecx-format-tax.mjs +23 -23
  107. package/esm2020/lib/core/pipes/monkeyecx-format-type-document.mjs +19 -19
  108. package/esm2020/lib/core/pipes/monkeyecx-format-value.mjs +19 -19
  109. package/esm2020/lib/core/pipes/monkeyecx-format-zipcode.mjs +19 -19
  110. package/esm2020/lib/core/pipes/monkeyecx-pipes.module.mjs +117 -117
  111. package/esm2020/lib/core/pipes/monkeyecx-text-truncate.mjs +23 -23
  112. package/esm2020/lib/core/pipes/monkeyecx-truncate-qtd.mjs +16 -16
  113. package/esm2020/lib/core/services/alerts/index.mjs +2 -2
  114. package/esm2020/lib/core/services/alerts/monkeyecx-alerts.service.mjs +42 -42
  115. package/esm2020/lib/core/services/auth/index.mjs +6 -6
  116. package/esm2020/lib/core/services/auth/monkeyecx-auth-guard-company.service.mjs +28 -28
  117. package/esm2020/lib/core/services/auth/monkeyecx-auth-guard-login.service.mjs +27 -27
  118. package/esm2020/lib/core/services/auth/monkeyecx-auth-guard-role.service.mjs +79 -79
  119. package/esm2020/lib/core/services/auth/monkeyecx-auth-guard.service.mjs +26 -26
  120. package/esm2020/lib/core/services/auth/monkeyecx-authentication.service.mjs +78 -78
  121. package/esm2020/lib/core/services/commons/index.mjs +4 -3
  122. package/esm2020/lib/core/services/commons/monkeyecx-commons-resolve-base.service.mjs +109 -0
  123. package/esm2020/lib/core/services/commons/monkeyecx-commons-resolve.service.mjs +127 -126
  124. package/esm2020/lib/core/services/commons/monkeyecx-commons.service.mjs +362 -362
  125. package/esm2020/lib/core/services/config/monkeyecx-alerts-config.service.mjs +42 -42
  126. package/esm2020/lib/core/services/config/monkeyecx-config.module.mjs +28 -28
  127. package/esm2020/lib/core/services/config/monkeyecx-config.service.mjs +107 -107
  128. package/esm2020/lib/core/services/config/monkeyecx-currency-config.service.mjs +84 -84
  129. package/esm2020/lib/core/services/config/monkeyecx-error-config.service.mjs +85 -85
  130. package/esm2020/lib/core/services/config/monkeyecx-feature-toggle.service.mjs +76 -76
  131. package/esm2020/lib/core/services/config/monkeyecx-gtm-config.service.mjs +50 -50
  132. package/esm2020/lib/core/services/config/monkeyecx-i18n-config.service.mjs +152 -152
  133. package/esm2020/lib/core/services/config/monkeyecx-logs-config.service.mjs +34 -34
  134. package/esm2020/lib/core/services/config/monkeyecx-maintenance-config.service.mjs +37 -37
  135. package/esm2020/lib/core/services/config/monkeyecx-security-console-config.service.mjs +47 -47
  136. package/esm2020/lib/core/services/config/monkeyecx-service-worker-config.service.mjs +53 -53
  137. package/esm2020/lib/core/services/error/index.mjs +5 -5
  138. package/esm2020/lib/core/services/error/monkeyecx-error-handling.module.mjs +27 -27
  139. package/esm2020/lib/core/services/error/monkeyecx-error-handling.service.mjs +37 -37
  140. package/esm2020/lib/core/services/error/monkeyecx-http-error-handling.service.mjs +138 -138
  141. package/esm2020/lib/core/services/error/monkeyecx-others-errors-handling.service.mjs +29 -29
  142. package/esm2020/lib/core/services/index.mjs +26 -26
  143. package/esm2020/lib/core/services/logged/index.mjs +2 -2
  144. package/esm2020/lib/core/services/logged/monkeyecx-logged-handling.service.mjs +40 -40
  145. package/esm2020/lib/core/services/monkeyecx-handling.service.mjs +50 -50
  146. package/esm2020/lib/core/services/monkeyecx-service.service.mjs +104 -104
  147. package/esm2020/lib/core/services/pagination/index.mjs +2 -2
  148. package/esm2020/lib/core/services/pagination/monkeyecx-pagination.service.mjs +29 -29
  149. package/esm2020/lib/core/services/request-download/index.mjs +3 -3
  150. package/esm2020/lib/core/services/request-download/monkeyecx-request-download-handling.service.mjs +93 -93
  151. package/esm2020/lib/core/services/request-download/monkeyecx-request-downloaded-handling.service.mjs +61 -61
  152. package/esm2020/lib/core/services/request-paged/index.mjs +2 -2
  153. package/esm2020/lib/core/services/request-paged/monkeyecx-request-request-paged-handling.mjs +42 -42
  154. package/esm2020/lib/core/services/request-queue/index.mjs +3 -3
  155. package/esm2020/lib/core/services/request-queue/monkeyecx-request-queue-handling.service.mjs +114 -114
  156. package/esm2020/lib/core/services/request-queue/monkeyecx-request-queue-modal-handling.service.mjs +119 -119
  157. package/esm2020/lib/core/services/routes/index.mjs +2 -2
  158. package/esm2020/lib/core/services/routes/monkeyecx-dicovery-params.service.mjs +54 -54
  159. package/esm2020/lib/core/services/schedules/index.mjs +2 -2
  160. package/esm2020/lib/core/services/schedules/monkeyecx-request-schedule.service.mjs +188 -188
  161. package/esm2020/lib/core/services/storage/index.mjs +3 -3
  162. package/esm2020/lib/core/services/storage/monkeyecx-cookie-storage.service.mjs +32 -32
  163. package/esm2020/lib/core/services/storage/monkeyecx-token-storage.service.mjs +236 -236
  164. package/esm2020/lib/core/services/store/index.mjs +3 -3
  165. package/esm2020/lib/core/services/store/monkeyecx-store.actions.mjs +25 -25
  166. package/esm2020/lib/core/services/store/monkeyecx-store.selector.mjs +75 -75
  167. package/esm2020/lib/core/services/store/monkeyecx-store.service.mjs +189 -189
  168. package/esm2020/lib/core/specification-search/index.mjs +2 -2
  169. package/esm2020/lib/core/specification-search/monkeyecx-specification-search.mjs +108 -108
  170. package/esm2020/lib/core/utils/decorators-utils.mjs +40 -40
  171. package/esm2020/lib/core/utils/index.mjs +8 -8
  172. package/esm2020/lib/core/utils/statics.mjs +45 -45
  173. package/esm2020/lib/core/utils/utils.mjs +267 -267
  174. package/esm2020/lib/core/utils/validate-utils.mjs +205 -205
  175. package/esm2020/lib/core/utils/validators.mjs +268 -268
  176. package/esm2020/lib/monkey-front-core.module.mjs +71 -71
  177. package/esm2020/lib/store/actions/index.mjs +2 -2
  178. package/esm2020/lib/store/actions/monkeyecx-storage.actions.mjs +8 -8
  179. package/esm2020/lib/store/index.mjs +4 -4
  180. package/esm2020/lib/store/reducers/index.mjs +3 -3
  181. package/esm2020/lib/store/reducers/monkeyecx-seeder.reducer.mjs +53 -53
  182. package/esm2020/lib/store/reducers/monkeyecx-storage.reducer.mjs +40 -40
  183. package/esm2020/lib/store/selectors/index.mjs +2 -2
  184. package/esm2020/lib/store/selectors/monkeyecx-storage.selector.mjs +17 -17
  185. package/esm2020/monkey-front-core.mjs +4 -4
  186. package/esm2020/public-api.mjs +8 -8
  187. package/fesm2015/monkey-front-core.mjs +6069 -5962
  188. package/fesm2015/monkey-front-core.mjs.map +1 -1
  189. package/fesm2020/monkey-front-core.mjs +6123 -6020
  190. package/fesm2020/monkey-front-core.mjs.map +1 -1
  191. package/lib/components/alerts/alerts.component.d.ts +22 -22
  192. package/lib/components/alerts/alerts.module.d.ts +10 -10
  193. package/lib/components/alerts/index.d.ts +2 -2
  194. package/lib/components/closed-to-maintenance/closed-to-maintenance.component.d.ts +13 -13
  195. package/lib/components/closed-to-maintenance/closed-to-maintenance.module.d.ts +11 -11
  196. package/lib/components/closed-to-maintenance/index.d.ts +2 -2
  197. package/lib/components/currency-config/currency-config.component.d.ts +17 -17
  198. package/lib/components/currency-config/currency-config.module.d.ts +10 -10
  199. package/lib/components/currency-config/index.d.ts +2 -2
  200. package/lib/components/index.d.ts +5 -5
  201. package/lib/components/progress-bar/index.d.ts +3 -3
  202. package/lib/components/progress-bar/progress-bar.component.d.ts +11 -11
  203. package/lib/components/progress-bar/progress-bar.module.d.ts +8 -8
  204. package/lib/components/progress-bar/progress-bar.service.d.ts +14 -14
  205. package/lib/components/version-changed/index.d.ts +2 -2
  206. package/lib/components/version-changed/version-changed.component.d.ts +9 -9
  207. package/lib/components/version-changed/version-changed.module.d.ts +10 -10
  208. package/lib/core/decorators/index.d.ts +4 -4
  209. package/lib/core/decorators/monkeyecx-charts-decorators.d.ts +1 -1
  210. package/lib/core/decorators/monkeyecx-decorators.d.ts +7 -7
  211. package/lib/core/decorators/monkeyecx-download-decorators.d.ts +2 -2
  212. package/lib/core/decorators/monkeyecx-upload-decorators.d.ts +2 -2
  213. package/lib/core/directives/index.d.ts +12 -12
  214. package/lib/core/directives/monkeyecx-directives-module.d.ts +19 -19
  215. package/lib/core/directives/monkeyecx-drag-drop.d.ts +12 -12
  216. package/lib/core/directives/monkeyecx-feature-by-program-directive.d.ts +16 -16
  217. package/lib/core/directives/monkeyecx-feature-directive.d.ts +17 -17
  218. package/lib/core/directives/monkeyecx-format-currency.d.ts +16 -16
  219. package/lib/core/directives/monkeyecx-format-upper.d.ts +18 -18
  220. package/lib/core/directives/monkeyecx-only-alpha-numeric-directive.d.ts +9 -9
  221. package/lib/core/directives/monkeyecx-only-number-directive.d.ts +9 -9
  222. package/lib/core/directives/monkeyecx-popover-options.directive.d.ts +19 -19
  223. package/lib/core/directives/monkeyecx-popover.directive.d.ts +43 -43
  224. package/lib/core/directives/monkeyecx-security-directive.d.ts +18 -18
  225. package/lib/core/directives/monkeyecx-tooltip-directive.d.ts +23 -23
  226. package/lib/core/index.d.ts +9 -9
  227. package/lib/core/interceptors/index.d.ts +5 -5
  228. package/lib/core/interceptors/monkeyecx-http-config-error.interceptor.d.ts +18 -18
  229. package/lib/core/interceptors/monkeyecx-http-config-header.interceptor.d.ts +16 -16
  230. package/lib/core/interceptors/monkeyecx-http-config-interceptor.module.d.ts +9 -9
  231. package/lib/core/interceptors/monkeyecx-http-config-loading-in-progress.interceptor.d.ts +12 -12
  232. package/lib/core/interceptors/monkeyecx-http-config-queue.interceptor.d.ts +14 -14
  233. package/lib/core/interfaces/index.d.ts +34 -34
  234. package/lib/core/interfaces/monkeyecx-auth-credentials.d.ts +15 -15
  235. package/lib/core/interfaces/monkeyecx-company-pendencies.d.ts +14 -14
  236. package/lib/core/interfaces/monkeyecx-company.d.ts +10 -10
  237. package/lib/core/interfaces/monkeyecx-config-bootstrap.d.ts +14 -14
  238. package/lib/core/interfaces/monkeyecx-config.d.ts +132 -132
  239. package/lib/core/interfaces/monkeyecx-country-security.d.ts +4 -4
  240. package/lib/core/interfaces/monkeyecx-error-response.d.ts +5 -5
  241. package/lib/core/interfaces/monkeyecx-filter.d.ts +42 -42
  242. package/lib/core/interfaces/monkeyecx-handled-error-response.d.ts +10 -10
  243. package/lib/core/interfaces/monkeyecx-header-credentials.d.ts +4 -4
  244. package/lib/core/interfaces/monkeyecx-intercom-options.d.ts +4 -4
  245. package/lib/core/interfaces/monkeyecx-interface.d.ts +11 -11
  246. package/lib/core/interfaces/monkeyecx-me-credentials.d.ts +22 -22
  247. package/lib/core/interfaces/monkeyecx-navigation.d.ts +27 -27
  248. package/lib/core/interfaces/monkeyecx-pagination.d.ts +26 -26
  249. package/lib/core/interfaces/monkeyecx-program.d.ts +10 -10
  250. package/lib/core/interfaces/monkeyecx-releases.d.ts +9 -9
  251. package/lib/core/interfaces/monkeyecx-request-in-progress.d.ts +3 -3
  252. package/lib/core/interfaces/monkeyecx-request-paged.d.ts +23 -23
  253. package/lib/core/interfaces/monkeyecx-resolver.d.ts +39 -39
  254. package/lib/core/interfaces/monkeyecx-response-links.d.ts +11 -11
  255. package/lib/core/interfaces/monkeyecx-response-paged.d.ts +6 -6
  256. package/lib/core/interfaces/monkeyecx-saved-state.d.ts +5 -5
  257. package/lib/core/interfaces/monkeyecx-scroll-options.d.ts +5 -5
  258. package/lib/core/interfaces/monkeyecx-service-credentials.d.ts +12 -12
  259. package/lib/core/interfaces/monkeyecx-storage.d.ts +38 -38
  260. package/lib/core/interfaces/monkeyecx-store.d.ts +35 -35
  261. package/lib/core/interfaces/monkeyecx-support-options.d.ts +4 -4
  262. package/lib/core/interfaces/monkeyecx-token-credentials.d.ts +21 -21
  263. package/lib/core/interfaces/monkeyecx-translate-options.d.ts +4 -4
  264. package/lib/core/interfaces/request-download/index.d.ts +3 -3
  265. package/lib/core/interfaces/request-download/monkeyecx-request-download.d.ts +10 -10
  266. package/lib/core/interfaces/request-download/monkeyecx-request-downloaded.d.ts +7 -7
  267. package/lib/core/interfaces/request-download/monkeyecx-request-item-download.d.ts +7 -7
  268. package/lib/core/interfaces/request-queue/index.d.ts +3 -3
  269. package/lib/core/interfaces/request-queue/monkeyecx-request-item-queue.d.ts +7 -7
  270. package/lib/core/interfaces/request-queue/monkeyecx-request-progress-queue.d.ts +6 -6
  271. package/lib/core/interfaces/request-queue/monkeyecx-request-queue.d.ts +8 -8
  272. package/lib/core/interfaces/request-upload/index.d.ts +2 -2
  273. package/lib/core/interfaces/request-upload/monkeyecx-request-item-upload.d.ts +5 -5
  274. package/lib/core/interfaces/request-upload/monkeyecx-request-upload.d.ts +10 -10
  275. package/lib/core/interfaces/schedules/index.d.ts +1 -1
  276. package/lib/core/interfaces/schedules/monkeyecx-request-schedule.d.ts +13 -13
  277. package/lib/core/model/index.d.ts +2 -2
  278. package/lib/core/model/monkeyecx-links.model.d.ts +4 -4
  279. package/lib/core/model/monkeyecx-model.d.ts +13 -13
  280. package/lib/core/pipes/index.d.ts +21 -21
  281. package/lib/core/pipes/monkeyecx-blob-secure.d.ts +13 -13
  282. package/lib/core/pipes/monkeyecx-display-first-name.d.ts +7 -7
  283. package/lib/core/pipes/monkeyecx-display-initials.d.ts +7 -7
  284. package/lib/core/pipes/monkeyecx-display-support-phone.d.ts +18 -18
  285. package/lib/core/pipes/monkeyecx-format-address.d.ts +14 -14
  286. package/lib/core/pipes/monkeyecx-format-beautify-json.d.ts +8 -8
  287. package/lib/core/pipes/monkeyecx-format-currency.d.ts +11 -11
  288. package/lib/core/pipes/monkeyecx-format-date-group.d.ts +11 -11
  289. package/lib/core/pipes/monkeyecx-format-date-timelapse.d.ts +7 -7
  290. package/lib/core/pipes/monkeyecx-format-date-unix-timelapse.d.ts +7 -7
  291. package/lib/core/pipes/monkeyecx-format-document.d.ts +7 -7
  292. package/lib/core/pipes/monkeyecx-format-number.d.ts +7 -7
  293. package/lib/core/pipes/monkeyecx-format-phone.d.ts +7 -7
  294. package/lib/core/pipes/monkeyecx-format-size.d.ts +7 -7
  295. package/lib/core/pipes/monkeyecx-format-tax.d.ts +7 -7
  296. package/lib/core/pipes/monkeyecx-format-type-document.d.ts +7 -7
  297. package/lib/core/pipes/monkeyecx-format-value.d.ts +7 -7
  298. package/lib/core/pipes/monkeyecx-format-zipcode.d.ts +7 -7
  299. package/lib/core/pipes/monkeyecx-pipes.module.d.ts +26 -26
  300. package/lib/core/pipes/monkeyecx-text-truncate.d.ts +7 -7
  301. package/lib/core/pipes/monkeyecx-truncate-qtd.d.ts +7 -7
  302. package/lib/core/services/alerts/index.d.ts +1 -1
  303. package/lib/core/services/alerts/monkeyecx-alerts.service.d.ts +21 -21
  304. package/lib/core/services/auth/index.d.ts +5 -5
  305. package/lib/core/services/auth/monkeyecx-auth-guard-company.service.d.ts +10 -10
  306. package/lib/core/services/auth/monkeyecx-auth-guard-login.service.d.ts +10 -10
  307. package/lib/core/services/auth/monkeyecx-auth-guard-role.service.d.ts +16 -16
  308. package/lib/core/services/auth/monkeyecx-auth-guard.service.d.ts +10 -10
  309. package/lib/core/services/auth/monkeyecx-authentication.service.d.ts +35 -35
  310. package/lib/core/services/commons/index.d.ts +3 -2
  311. package/lib/core/services/commons/monkeyecx-commons-resolve-base.service.d.ts +46 -0
  312. package/lib/core/services/commons/monkeyecx-commons-resolve.service.d.ts +60 -60
  313. package/lib/core/services/commons/monkeyecx-commons.service.d.ts +120 -120
  314. package/lib/core/services/config/monkeyecx-alerts-config.service.d.ts +11 -11
  315. package/lib/core/services/config/monkeyecx-config.module.d.ts +9 -9
  316. package/lib/core/services/config/monkeyecx-config.service.d.ts +36 -36
  317. package/lib/core/services/config/monkeyecx-currency-config.service.d.ts +15 -15
  318. package/lib/core/services/config/monkeyecx-error-config.service.d.ts +8 -8
  319. package/lib/core/services/config/monkeyecx-feature-toggle.service.d.ts +16 -16
  320. package/lib/core/services/config/monkeyecx-gtm-config.service.d.ts +8 -8
  321. package/lib/core/services/config/monkeyecx-i18n-config.service.d.ts +18 -18
  322. package/lib/core/services/config/monkeyecx-logs-config.service.d.ts +7 -7
  323. package/lib/core/services/config/monkeyecx-maintenance-config.service.d.ts +13 -13
  324. package/lib/core/services/config/monkeyecx-security-console-config.service.d.ts +12 -12
  325. package/lib/core/services/config/monkeyecx-service-worker-config.service.d.ts +16 -16
  326. package/lib/core/services/error/index.d.ts +4 -4
  327. package/lib/core/services/error/monkeyecx-error-handling.module.d.ts +9 -9
  328. package/lib/core/services/error/monkeyecx-error-handling.service.d.ts +9 -9
  329. package/lib/core/services/error/monkeyecx-http-error-handling.service.d.ts +26 -26
  330. package/lib/core/services/error/monkeyecx-others-errors-handling.service.d.ts +9 -9
  331. package/lib/core/services/index.d.ts +25 -25
  332. package/lib/core/services/logged/index.d.ts +1 -1
  333. package/lib/core/services/logged/monkeyecx-logged-handling.service.d.ts +14 -14
  334. package/lib/core/services/monkeyecx-handling.service.d.ts +22 -22
  335. package/lib/core/services/monkeyecx-service.service.d.ts +18 -18
  336. package/lib/core/services/pagination/index.d.ts +1 -1
  337. package/lib/core/services/pagination/monkeyecx-pagination.service.d.ts +9 -9
  338. package/lib/core/services/request-download/index.d.ts +2 -2
  339. package/lib/core/services/request-download/monkeyecx-request-download-handling.service.d.ts +18 -18
  340. package/lib/core/services/request-download/monkeyecx-request-downloaded-handling.service.d.ts +16 -16
  341. package/lib/core/services/request-paged/index.d.ts +1 -1
  342. package/lib/core/services/request-paged/monkeyecx-request-request-paged-handling.d.ts +11 -11
  343. package/lib/core/services/request-queue/index.d.ts +2 -2
  344. package/lib/core/services/request-queue/monkeyecx-request-queue-handling.service.d.ts +21 -21
  345. package/lib/core/services/request-queue/monkeyecx-request-queue-modal-handling.service.d.ts +23 -23
  346. package/lib/core/services/routes/index.d.ts +1 -1
  347. package/lib/core/services/routes/monkeyecx-dicovery-params.service.d.ts +13 -13
  348. package/lib/core/services/schedules/index.d.ts +1 -1
  349. package/lib/core/services/schedules/monkeyecx-request-schedule.service.d.ts +47 -47
  350. package/lib/core/services/storage/index.d.ts +2 -2
  351. package/lib/core/services/storage/monkeyecx-cookie-storage.service.d.ts +11 -11
  352. package/lib/core/services/storage/monkeyecx-token-storage.service.d.ts +30 -30
  353. package/lib/core/services/store/index.d.ts +3 -3
  354. package/lib/core/services/store/monkeyecx-store.actions.d.ts +56 -56
  355. package/lib/core/services/store/monkeyecx-store.selector.d.ts +31 -31
  356. package/lib/core/services/store/monkeyecx-store.service.d.ts +50 -50
  357. package/lib/core/specification-search/index.d.ts +1 -1
  358. package/lib/core/specification-search/monkeyecx-specification-search.d.ts +20 -20
  359. package/lib/core/utils/decorators-utils.d.ts +5 -5
  360. package/lib/core/utils/index.d.ts +6 -6
  361. package/lib/core/utils/statics.d.ts +34 -34
  362. package/lib/core/utils/utils.d.ts +26 -26
  363. package/lib/core/utils/validate-utils.d.ts +66 -66
  364. package/lib/core/utils/validators.d.ts +36 -36
  365. package/lib/monkey-front-core.module.d.ts +19 -19
  366. package/lib/store/actions/index.d.ts +1 -1
  367. package/lib/store/actions/monkeyecx-storage.actions.d.ts +23 -23
  368. package/lib/store/index.d.ts +3 -3
  369. package/lib/store/reducers/index.d.ts +2 -2
  370. package/lib/store/reducers/monkeyecx-seeder.reducer.d.ts +2 -2
  371. package/lib/store/reducers/monkeyecx-storage.reducer.d.ts +13 -13
  372. package/lib/store/selectors/index.d.ts +1 -1
  373. package/lib/store/selectors/monkeyecx-storage.selector.d.ts +8 -8
  374. package/monkey-front-core-0.0.470.tgz +0 -0
  375. package/monkey-front-core.d.ts +5 -5
  376. package/package.json +1 -1
  377. package/public-api.d.ts +4 -4
  378. package/monkey-front-core-0.0.468.tgz +0 -0
@@ -1,10 +1,10 @@
1
- import { CanActivate } from '@angular/router';
2
- import { MonkeyEcxAuthenticationService } from './monkeyecx-authentication.service';
3
- import * as i0 from "@angular/core";
4
- export declare class MonkeyEcxAuthGuardLogin implements CanActivate {
5
- private monkeyecxAuthenticationService;
6
- constructor(monkeyecxAuthenticationService: MonkeyEcxAuthenticationService);
7
- canActivate(): Promise<boolean>;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxAuthGuardLogin, never>;
9
- static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyEcxAuthGuardLogin>;
10
- }
1
+ import { CanActivate } from '@angular/router';
2
+ import { MonkeyEcxAuthenticationService } from './monkeyecx-authentication.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class MonkeyEcxAuthGuardLogin implements CanActivate {
5
+ private monkeyecxAuthenticationService;
6
+ constructor(monkeyecxAuthenticationService: MonkeyEcxAuthenticationService);
7
+ canActivate(): Promise<boolean>;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxAuthGuardLogin, never>;
9
+ static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyEcxAuthGuardLogin>;
10
+ }
@@ -1,16 +1,16 @@
1
- import { ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot } from '@angular/router';
2
- import { MonkeyEcxTokenStorageService } from '../storage';
3
- import * as i0 from "@angular/core";
4
- export declare class MonkeyEcxAuthGuardByRole implements CanActivate {
5
- private tokenStorage;
6
- private router;
7
- private securityCredentials;
8
- private tokenCredentials;
9
- constructor(tokenStorage: MonkeyEcxTokenStorageService, router: Router);
10
- private navigateToErrorPage;
11
- private getRole;
12
- private allowedSecurityAccess;
13
- canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Promise<boolean>;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxAuthGuardByRole, never>;
15
- static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyEcxAuthGuardByRole>;
16
- }
1
+ import { ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot } from '@angular/router';
2
+ import { MonkeyEcxTokenStorageService } from '../storage';
3
+ import * as i0 from "@angular/core";
4
+ export declare class MonkeyEcxAuthGuardByRole implements CanActivate {
5
+ private tokenStorage;
6
+ private router;
7
+ private securityCredentials;
8
+ private tokenCredentials;
9
+ constructor(tokenStorage: MonkeyEcxTokenStorageService, router: Router);
10
+ private navigateToErrorPage;
11
+ private getRole;
12
+ private allowedSecurityAccess;
13
+ canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Promise<boolean>;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxAuthGuardByRole, never>;
15
+ static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyEcxAuthGuardByRole>;
16
+ }
@@ -1,10 +1,10 @@
1
- import { CanActivate } from '@angular/router';
2
- import { MonkeyEcxAuthenticationService } from './monkeyecx-authentication.service';
3
- import * as i0 from "@angular/core";
4
- export declare class MonkeyEcxAuthGuard implements CanActivate {
5
- private monkeyecxAuthenticationService;
6
- constructor(monkeyecxAuthenticationService: MonkeyEcxAuthenticationService);
7
- canActivate(): Promise<boolean>;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxAuthGuard, never>;
9
- static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyEcxAuthGuard>;
10
- }
1
+ import { CanActivate } from '@angular/router';
2
+ import { MonkeyEcxAuthenticationService } from './monkeyecx-authentication.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class MonkeyEcxAuthGuard implements CanActivate {
5
+ private monkeyecxAuthenticationService;
6
+ constructor(monkeyecxAuthenticationService: MonkeyEcxAuthenticationService);
7
+ canActivate(): Promise<boolean>;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxAuthGuard, never>;
9
+ static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyEcxAuthGuard>;
10
+ }
@@ -1,35 +1,35 @@
1
- import { HttpErrorResponse, HttpRequest } from '@angular/common/http';
2
- import { ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';
3
- import { Observable } from 'rxjs';
4
- import * as i0 from "@angular/core";
5
- export declare class MonkeyEcxAuthenticationService {
6
- constructor();
7
- hadAtLeastOneLogin: () => Promise<null>;
8
- redirectApp: () => null;
9
- redirectLoginWelcomeBack: (route?: ActivatedRouteSnapshot | undefined, state?: RouterStateSnapshot | undefined) => null;
10
- isAuthorized: () => Promise<boolean>;
11
- isCompanyAuthorized: () => Promise<boolean>;
12
- isTokenMandatory: (url: string) => boolean;
13
- getRequestWithHeaders: (request: HttpRequest<any>) => HttpRequest<any> | any;
14
- getRequestWithHeadersOb: (request: HttpRequest<any>) => Observable<any> | any;
15
- getRequestWithHeadersAsync: (request: HttpRequest<any>) => Promise<null>;
16
- refreshShouldHappen: (response: HttpErrorResponse) => boolean;
17
- refreshToken: () => Promise<null>;
18
- getToken: () => Promise<null>;
19
- init(args: {
20
- hadAtLeastOneLogin?: any;
21
- redirectApp?: any;
22
- redirectLoginWelcomeBack?: any;
23
- isAuthorized?: any;
24
- isTokenMandatory?: any;
25
- isCompanyAuthorized?: any;
26
- getRequestWithHeaders?: any;
27
- getRequestWithHeadersAsync?: any;
28
- getRequestWithHeadersOb?: any;
29
- refreshShouldHappen?: any;
30
- refreshToken?: any;
31
- getToken?: any;
32
- }): void;
33
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxAuthenticationService, never>;
34
- static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyEcxAuthenticationService>;
35
- }
1
+ import { HttpErrorResponse, HttpRequest } from '@angular/common/http';
2
+ import { ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';
3
+ import { Observable } from 'rxjs';
4
+ import * as i0 from "@angular/core";
5
+ export declare class MonkeyEcxAuthenticationService {
6
+ constructor();
7
+ hadAtLeastOneLogin: () => Promise<null>;
8
+ redirectApp: () => null;
9
+ redirectLoginWelcomeBack: (route?: ActivatedRouteSnapshot | undefined, state?: RouterStateSnapshot | undefined) => null;
10
+ isAuthorized: () => Promise<boolean>;
11
+ isCompanyAuthorized: () => Promise<boolean>;
12
+ isTokenMandatory: (url: string) => boolean;
13
+ getRequestWithHeaders: (request: HttpRequest<any>) => HttpRequest<any> | any;
14
+ getRequestWithHeadersOb: (request: HttpRequest<any>) => Observable<any> | any;
15
+ getRequestWithHeadersAsync: (request: HttpRequest<any>) => Promise<null>;
16
+ refreshShouldHappen: (response: HttpErrorResponse) => boolean;
17
+ refreshToken: () => Promise<null>;
18
+ getToken: () => Promise<null>;
19
+ init(args: {
20
+ hadAtLeastOneLogin?: any;
21
+ redirectApp?: any;
22
+ redirectLoginWelcomeBack?: any;
23
+ isAuthorized?: any;
24
+ isTokenMandatory?: any;
25
+ isCompanyAuthorized?: any;
26
+ getRequestWithHeaders?: any;
27
+ getRequestWithHeadersAsync?: any;
28
+ getRequestWithHeadersOb?: any;
29
+ refreshShouldHappen?: any;
30
+ refreshToken?: any;
31
+ getToken?: any;
32
+ }): void;
33
+ static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxAuthenticationService, never>;
34
+ static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyEcxAuthenticationService>;
35
+ }
@@ -1,2 +1,3 @@
1
- export * from './monkeyecx-commons-resolve.service';
2
- export * from './monkeyecx-commons.service';
1
+ export * from './monkeyecx-commons-resolve-base.service';
2
+ export * from './monkeyecx-commons-resolve.service';
3
+ export * from './monkeyecx-commons.service';
@@ -0,0 +1,46 @@
1
+ import { ActivatedRouteSnapshot, Router, RouterStateSnapshot } from '@angular/router';
2
+ import { Action, Store } from '@ngrx/store';
3
+ import { TranslateService } from '@ngx-translate/core';
4
+ import { MonkeyEcxCommonsService } from '.';
5
+ import { MonkeyEcxDiscoveryParamsService, MonkeyEcxPaginationService, MonkeyEcxTokenStorageService } from '../..';
6
+ import { MonkeyEcxCommonsConfig, MonkeyEcxInitialResolverConfig } from '../../interfaces';
7
+ import { MonkeyEcxService } from '../monkeyecx-service.service';
8
+ export declare abstract class MonkeyEcxCommonsResolveBaseService extends MonkeyEcxCommonsService {
9
+ private action;
10
+ protected route: string | null;
11
+ protected currentRoute: string | null;
12
+ protected paginationService: MonkeyEcxPaginationService;
13
+ protected translateService: TranslateService;
14
+ protected router: Router;
15
+ protected store: Store<any>;
16
+ protected monkeyDiscovery: MonkeyEcxDiscoveryParamsService;
17
+ constructor(monkeyecxService: MonkeyEcxService, tokenStorage: MonkeyEcxTokenStorageService, config: {
18
+ actions: {
19
+ load: Action;
20
+ loadPagination?: Action;
21
+ };
22
+ });
23
+ protected getData(): Promise<void>;
24
+ protected loadPage(actionType: string): Promise<void>;
25
+ /**
26
+ * @description Inicializar a class genérica
27
+ * @param (args: MonkeyEcxInitialResolverConfig)
28
+ * => route é obrigátorio pois ele quem inicializa a store.
29
+ * A searchClass só se faz necessaria quando for usar filtros
30
+ */
31
+ protected init(args: MonkeyEcxInitialResolverConfig): void;
32
+ resolve(route: ActivatedRouteSnapshot | null, state: RouterStateSnapshot | null, otherArgs?: MonkeyEcxCommonsConfig): void;
33
+ /**
34
+ * @description Atualizar os filtros da tela
35
+ * @param (search: T, route?: string)
36
+ * => route é opcional, passar ele apenas se a rota for diferente do padrão
37
+ */
38
+ setSearch<T>(search: T, route?: string): void;
39
+ /**
40
+ * @description Navegação para details.
41
+ * Por padrão sera redirecionado para '${currentRoute}/details'
42
+ * @param (detailsData: T, route?: string)
43
+ * => route é opcional, passar ele apenas se a rota for diferente do padrão
44
+ */
45
+ navigateToDetails<T>(detailsData: T, route?: string): void;
46
+ }
@@ -1,60 +1,60 @@
1
- import { ActivatedRouteSnapshot, Router, RouterStateSnapshot } from '@angular/router';
2
- import { Action, Store } from '@ngrx/store';
3
- import { TranslateService } from '@ngx-translate/core';
4
- import { MonkeyEcxCommonsService } from '.';
5
- import { MonkeyEcxDiscoveryParamsService, MonkeyEcxPaginationService, MonkeyEcxTokenStorageService } from '../..';
6
- import { MonkeyEcxCommonsConfig, MonkeyEcxInitialResolverConfig } from '../../interfaces';
7
- import { MonkeyEcxService } from '../monkeyecx-service.service';
8
- declare type Selectors = {
9
- selectByIdentifier: Function;
10
- selectOneByIdentifier?: never;
11
- selectControl: Function;
12
- selectLinks?: Function;
13
- selectPage?: Function;
14
- } | {
15
- selectOneByIdentifier: Function;
16
- selectByIdentifier?: never;
17
- selectControl: Function;
18
- };
19
- export declare abstract class MonkeyEcxCommonsResolveService extends MonkeyEcxCommonsService {
20
- private action;
21
- private selector;
22
- protected route: string | null;
23
- protected currentRoute: string | null;
24
- protected paginationService: MonkeyEcxPaginationService;
25
- protected translateService: TranslateService;
26
- protected router: Router;
27
- protected store: Store<any>;
28
- protected monkeyDiscovery: MonkeyEcxDiscoveryParamsService;
29
- constructor(monkeyecxService: MonkeyEcxService, tokenStorage: MonkeyEcxTokenStorageService, config: {
30
- actions: {
31
- load: Action;
32
- loadPagination?: Action;
33
- };
34
- selectors: Selectors;
35
- });
36
- protected getData(): Promise<void>;
37
- protected loadPage(): Promise<void>;
38
- /**
39
- * @description Inicializar a class genérica
40
- * @param (args: MonkeyEcxInitialResolverConfig)
41
- * => route é obrigátorio pois ele quem inicializa a store.
42
- * A searchClass só se faz necessaria quando for usar filtros
43
- */
44
- protected init(args: MonkeyEcxInitialResolverConfig): void;
45
- resolve(route: ActivatedRouteSnapshot | null, state: RouterStateSnapshot | null, otherArgs?: MonkeyEcxCommonsConfig): void;
46
- /**
47
- * @description Atualizar os filtros da tela
48
- * @param (search: T, route?: string)
49
- * => route é opcional, passar ele apenas se a rota for diferente do padrão
50
- */
51
- setSearch<T>(search: T, route?: string): void;
52
- /**
53
- * @description Navegação para details.
54
- * Por padrão sera redirecionado para '${currentRoute}/details'
55
- * @param (detailsData: T, route?: string)
56
- * => route é opcional, passar ele apenas se a rota for diferente do padrão
57
- */
58
- navigateToDetails<T>(detailsData: T, route?: string): void;
59
- }
60
- export {};
1
+ import { ActivatedRouteSnapshot, Router, RouterStateSnapshot } from '@angular/router';
2
+ import { Action, Store } from '@ngrx/store';
3
+ import { TranslateService } from '@ngx-translate/core';
4
+ import { MonkeyEcxCommonsService } from '.';
5
+ import { MonkeyEcxDiscoveryParamsService, MonkeyEcxPaginationService, MonkeyEcxTokenStorageService } from '../..';
6
+ import { MonkeyEcxCommonsConfig, MonkeyEcxInitialResolverConfig } from '../../interfaces';
7
+ import { MonkeyEcxService } from '../monkeyecx-service.service';
8
+ declare type Selectors = {
9
+ selectByIdentifier: Function;
10
+ selectOneByIdentifier?: never;
11
+ selectControl: Function;
12
+ selectLinks?: Function;
13
+ selectPage?: Function;
14
+ } | {
15
+ selectOneByIdentifier: Function;
16
+ selectByIdentifier?: never;
17
+ selectControl: Function;
18
+ };
19
+ export declare abstract class MonkeyEcxCommonsResolveService extends MonkeyEcxCommonsService {
20
+ private action;
21
+ private selector;
22
+ protected route: string | null;
23
+ protected currentRoute: string | null;
24
+ protected paginationService: MonkeyEcxPaginationService;
25
+ protected translateService: TranslateService;
26
+ protected router: Router;
27
+ protected store: Store<any>;
28
+ protected monkeyDiscovery: MonkeyEcxDiscoveryParamsService;
29
+ constructor(monkeyecxService: MonkeyEcxService, tokenStorage: MonkeyEcxTokenStorageService, config: {
30
+ actions: {
31
+ load: Action;
32
+ loadPagination?: Action;
33
+ };
34
+ selectors: Selectors;
35
+ });
36
+ protected getData(): Promise<void>;
37
+ protected loadPage(): Promise<void>;
38
+ /**
39
+ * @description Inicializar a class genérica
40
+ * @param (args: MonkeyEcxInitialResolverConfig)
41
+ * => route é obrigátorio pois ele quem inicializa a store.
42
+ * A searchClass só se faz necessaria quando for usar filtros
43
+ */
44
+ protected init(args: MonkeyEcxInitialResolverConfig): void;
45
+ resolve(route: ActivatedRouteSnapshot | null, state: RouterStateSnapshot | null, otherArgs?: MonkeyEcxCommonsConfig): void;
46
+ /**
47
+ * @description Atualizar os filtros da tela
48
+ * @param (search: T, route?: string)
49
+ * => route é opcional, passar ele apenas se a rota for diferente do padrão
50
+ */
51
+ setSearch<T>(search: T, route?: string): void;
52
+ /**
53
+ * @description Navegação para details.
54
+ * Por padrão sera redirecionado para '${currentRoute}/details'
55
+ * @param (detailsData: T, route?: string)
56
+ * => route é opcional, passar ele apenas se a rota for diferente do padrão
57
+ */
58
+ navigateToDetails<T>(detailsData: T, route?: string): void;
59
+ }
60
+ export {};
@@ -1,120 +1,120 @@
1
- import { ActivatedRouteSnapshot, Router, RouterStateSnapshot } from '@angular/router';
2
- import { TranslateService } from '@ngx-translate/core';
3
- import { BehaviorSubject, Observable } from 'rxjs';
4
- import { MonkeyEcxConfig, MonkeyEcxCountrySecurity, MonkeyEcxErrorResponse, MonkeyEcxHandledErrorResponse, MonkeyEcxRequestPaged, MonkeyEcxRequestSchedule, MonkeyEcxResponseLinks, MonkeyEcxResponsePaged, MonkeyEcxSavedState, MonkeyEcxTranslateOptions } from '../../interfaces';
5
- import { MonkeyEcxFeatureToggleService } from '../config/monkeyecx-feature-toggle.service';
6
- import { MonkeyEcxService } from '../monkeyecx-service.service';
7
- import { MonkeyEcxPaginationService } from '../pagination';
8
- import { MonkeyEcxRequestQueueHandlingService } from '../request-queue/monkeyecx-request-queue-handling.service';
9
- import { MonkeyEcxRequestScheduleService } from '../schedules/monkeyecx-request-schedule.service';
10
- import { MonkeyEcxTokenStorageService } from '../storage/monkeyecx-token-storage.service';
11
- export declare class MonkeyEcxCommonsService {
12
- monkeyecxService?: MonkeyEcxService | undefined;
13
- tokenStorage?: MonkeyEcxTokenStorageService | undefined;
14
- otherArgs?: {
15
- router?: Router | undefined;
16
- schedule?: {
17
- service: MonkeyEcxRequestScheduleService;
18
- options?: {
19
- clearOnChangeRoute?: boolean | undefined;
20
- } | undefined;
21
- } | undefined;
22
- queue?: {
23
- service: MonkeyEcxRequestQueueHandlingService;
24
- } | undefined;
25
- } | undefined;
26
- private flagValidator;
27
- private destroyed;
28
- __data$: Observable<any> | null;
29
- __pagination$: Observable<any> | null;
30
- __control$: Observable<any> | null;
31
- __page$: Observable<any> | null;
32
- __data: any | any[];
33
- __savedState: MonkeyEcxSavedState | null;
34
- __params: any | any[];
35
- __error: MonkeyEcxErrorResponse | null;
36
- __handledError: MonkeyEcxHandledErrorResponse | null;
37
- __page: MonkeyEcxResponsePaged | null;
38
- __links: MonkeyEcxResponseLinks | null;
39
- __search: any;
40
- __requestPaged: MonkeyEcxRequestPaged | null;
41
- __onSearchChanged$: BehaviorSubject<any>;
42
- __onDataChanged$: BehaviorSubject<any>;
43
- __onLoadingInProgress$: BehaviorSubject<any>;
44
- __onUploadInProgress$: BehaviorSubject<any>;
45
- __onDataDeleted$: BehaviorSubject<any>;
46
- __onErrorChanged$: BehaviorSubject<any>;
47
- __onGovernmentIdDataChanged$: BehaviorSubject<any>;
48
- __onZipCodeDataChanged$: BehaviorSubject<any>;
49
- __oni18nDataChanged$: BehaviorSubject<any>;
50
- __onDoSearch$: BehaviorSubject<MonkeyEcxRequestPaged>;
51
- __schedule: MonkeyEcxRequestSchedule | null;
52
- __i18n: any;
53
- __callbackPagination: Function;
54
- __paginationOptions: {
55
- service: MonkeyEcxPaginationService;
56
- callback: Function;
57
- name?: string;
58
- } | undefined;
59
- __isAbleToDoPagination: {};
60
- constructor(monkeyecxService?: MonkeyEcxService | undefined, tokenStorage?: MonkeyEcxTokenStorageService | undefined, otherArgs?: {
61
- router?: Router | undefined;
62
- schedule?: {
63
- service: MonkeyEcxRequestScheduleService;
64
- options?: {
65
- clearOnChangeRoute?: boolean | undefined;
66
- } | undefined;
67
- } | undefined;
68
- queue?: {
69
- service: MonkeyEcxRequestQueueHandlingService;
70
- } | undefined;
71
- } | undefined);
72
- private handleInit;
73
- private navigateToPendencyPage;
74
- private allowedSecurityAccessByPendency;
75
- private allowedSecurityAccessByFeature;
76
- private allowedSecurityAccessByCountry;
77
- private handlePaginationOptions;
78
- setPage(requestPaged: MonkeyEcxRequestPaged): this;
79
- nextPage(): boolean;
80
- getEmbeddedData(data: any, field: string): any[] | any;
81
- getNormalizedUrl(url: string, samePage?: boolean): string;
82
- clear(clearData: boolean): void;
83
- resolve(route: ActivatedRouteSnapshot | null, state: RouterStateSnapshot | null, otherArgs?: {
84
- companyType?: string;
85
- callbackMain: Function;
86
- router?: Router;
87
- callbackPagination?: Function;
88
- translateOptions?: MonkeyEcxTranslateOptions;
89
- feature?: {
90
- service: MonkeyEcxFeatureToggleService;
91
- flag: string;
92
- };
93
- featureByProgram?: {
94
- config: MonkeyEcxConfig;
95
- feature: string;
96
- };
97
- countrySecurity?: MonkeyEcxCountrySecurity;
98
- pendency?: {
99
- service: {
100
- hasPendencies: Function;
101
- };
102
- type: string;
103
- };
104
- paginationOptions?: {
105
- service: MonkeyEcxPaginationService;
106
- callback: Function;
107
- name?: string;
108
- };
109
- }): void;
110
- getHTTPHeaderApplicationPDF(): Object;
111
- genericMethod(link: any, data?: any, callback?: Function): void;
112
- getGenericData(data: any, action: string): Promise<any>;
113
- geti18n(translateService: TranslateService, keys: string | string[]): void;
114
- doPagination(): void;
115
- doPaginationv2(type: string, callback: Function): void;
116
- setLinks(links: any): void;
117
- setSearchByUrl(router: Router, url: string, search: any, extras?: any): void;
118
- saveState(state: MonkeyEcxSavedState): void;
119
- navigateToErrorPage(statusCode: number, router?: Router): void;
120
- }
1
+ import { ActivatedRouteSnapshot, Router, RouterStateSnapshot } from '@angular/router';
2
+ import { TranslateService } from '@ngx-translate/core';
3
+ import { BehaviorSubject, Observable } from 'rxjs';
4
+ import { MonkeyEcxConfig, MonkeyEcxCountrySecurity, MonkeyEcxErrorResponse, MonkeyEcxHandledErrorResponse, MonkeyEcxRequestPaged, MonkeyEcxRequestSchedule, MonkeyEcxResponseLinks, MonkeyEcxResponsePaged, MonkeyEcxSavedState, MonkeyEcxTranslateOptions } from '../../interfaces';
5
+ import { MonkeyEcxFeatureToggleService } from '../config/monkeyecx-feature-toggle.service';
6
+ import { MonkeyEcxService } from '../monkeyecx-service.service';
7
+ import { MonkeyEcxPaginationService } from '../pagination';
8
+ import { MonkeyEcxRequestQueueHandlingService } from '../request-queue/monkeyecx-request-queue-handling.service';
9
+ import { MonkeyEcxRequestScheduleService } from '../schedules/monkeyecx-request-schedule.service';
10
+ import { MonkeyEcxTokenStorageService } from '../storage/monkeyecx-token-storage.service';
11
+ export declare class MonkeyEcxCommonsService {
12
+ monkeyecxService?: MonkeyEcxService | undefined;
13
+ tokenStorage?: MonkeyEcxTokenStorageService | undefined;
14
+ otherArgs?: {
15
+ router?: Router | undefined;
16
+ schedule?: {
17
+ service: MonkeyEcxRequestScheduleService;
18
+ options?: {
19
+ clearOnChangeRoute?: boolean | undefined;
20
+ } | undefined;
21
+ } | undefined;
22
+ queue?: {
23
+ service: MonkeyEcxRequestQueueHandlingService;
24
+ } | undefined;
25
+ } | undefined;
26
+ private flagValidator;
27
+ private destroyed;
28
+ __data$: Observable<any> | null;
29
+ __pagination$: Observable<any> | null;
30
+ __control$: Observable<any> | null;
31
+ __page$: Observable<any> | null;
32
+ __data: any | any[];
33
+ __savedState: MonkeyEcxSavedState | null;
34
+ __params: any | any[];
35
+ __error: MonkeyEcxErrorResponse | null;
36
+ __handledError: MonkeyEcxHandledErrorResponse | null;
37
+ __page: MonkeyEcxResponsePaged | null;
38
+ __links: MonkeyEcxResponseLinks | null;
39
+ __search: any;
40
+ __requestPaged: MonkeyEcxRequestPaged | null;
41
+ __onSearchChanged$: BehaviorSubject<any>;
42
+ __onDataChanged$: BehaviorSubject<any>;
43
+ __onLoadingInProgress$: BehaviorSubject<any>;
44
+ __onUploadInProgress$: BehaviorSubject<any>;
45
+ __onDataDeleted$: BehaviorSubject<any>;
46
+ __onErrorChanged$: BehaviorSubject<any>;
47
+ __onGovernmentIdDataChanged$: BehaviorSubject<any>;
48
+ __onZipCodeDataChanged$: BehaviorSubject<any>;
49
+ __oni18nDataChanged$: BehaviorSubject<any>;
50
+ __onDoSearch$: BehaviorSubject<MonkeyEcxRequestPaged>;
51
+ __schedule: MonkeyEcxRequestSchedule | null;
52
+ __i18n: any;
53
+ __callbackPagination: Function;
54
+ __paginationOptions: {
55
+ service: MonkeyEcxPaginationService;
56
+ callback: Function;
57
+ name?: string;
58
+ } | undefined;
59
+ __isAbleToDoPagination: {};
60
+ constructor(monkeyecxService?: MonkeyEcxService | undefined, tokenStorage?: MonkeyEcxTokenStorageService | undefined, otherArgs?: {
61
+ router?: Router | undefined;
62
+ schedule?: {
63
+ service: MonkeyEcxRequestScheduleService;
64
+ options?: {
65
+ clearOnChangeRoute?: boolean | undefined;
66
+ } | undefined;
67
+ } | undefined;
68
+ queue?: {
69
+ service: MonkeyEcxRequestQueueHandlingService;
70
+ } | undefined;
71
+ } | undefined);
72
+ private handleInit;
73
+ private navigateToPendencyPage;
74
+ private allowedSecurityAccessByPendency;
75
+ private allowedSecurityAccessByFeature;
76
+ private allowedSecurityAccessByCountry;
77
+ private handlePaginationOptions;
78
+ setPage(requestPaged: MonkeyEcxRequestPaged): this;
79
+ nextPage(): boolean;
80
+ getEmbeddedData(data: any, field: string): any[] | any;
81
+ getNormalizedUrl(url: string, samePage?: boolean): string;
82
+ clear(clearData: boolean): void;
83
+ resolve(route: ActivatedRouteSnapshot | null, state: RouterStateSnapshot | null, otherArgs?: {
84
+ companyType?: string;
85
+ callbackMain: Function;
86
+ router?: Router;
87
+ callbackPagination?: Function;
88
+ translateOptions?: MonkeyEcxTranslateOptions;
89
+ feature?: {
90
+ service: MonkeyEcxFeatureToggleService;
91
+ flag: string;
92
+ };
93
+ featureByProgram?: {
94
+ config: MonkeyEcxConfig;
95
+ feature: string;
96
+ };
97
+ countrySecurity?: MonkeyEcxCountrySecurity;
98
+ pendency?: {
99
+ service: {
100
+ hasPendencies: Function;
101
+ };
102
+ type: string;
103
+ };
104
+ paginationOptions?: {
105
+ service: MonkeyEcxPaginationService;
106
+ callback: Function;
107
+ name?: string;
108
+ };
109
+ }): void;
110
+ getHTTPHeaderApplicationPDF(): Object;
111
+ genericMethod(link: any, data?: any, callback?: Function): void;
112
+ getGenericData(data: any, action: string): Promise<any>;
113
+ geti18n(translateService: TranslateService, keys: string | string[]): void;
114
+ doPagination(): void;
115
+ doPaginationv2(type: string, callback: Function): void;
116
+ setLinks(links: any): void;
117
+ setSearchByUrl(router: Router, url: string, search: any, extras?: any): void;
118
+ saveState(state: MonkeyEcxSavedState): void;
119
+ navigateToErrorPage(statusCode: number, router?: Router): void;
120
+ }
@@ -1,11 +1,11 @@
1
- import { MonkeyStyleGuideModalFixedService } from 'monkey-style-guide';
2
- import { MonkeyEcxConfig } from '../../interfaces';
3
- import * as i0 from "@angular/core";
4
- export declare class MonkeyEcxAlertsConfigService {
5
- private modalService;
6
- constructor(modalService: MonkeyStyleGuideModalFixedService);
7
- private handleValidation;
8
- apply(config: MonkeyEcxConfig): void;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxAlertsConfigService, never>;
10
- static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyEcxAlertsConfigService>;
11
- }
1
+ import { MonkeyStyleGuideModalFixedService } from 'monkey-style-guide';
2
+ import { MonkeyEcxConfig } from '../../interfaces';
3
+ import * as i0 from "@angular/core";
4
+ export declare class MonkeyEcxAlertsConfigService {
5
+ private modalService;
6
+ constructor(modalService: MonkeyStyleGuideModalFixedService);
7
+ private handleValidation;
8
+ apply(config: MonkeyEcxConfig): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxAlertsConfigService, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyEcxAlertsConfigService>;
11
+ }
@@ -1,9 +1,9 @@
1
- import { ModuleWithProviders } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class MonkeyEcxConfigModule {
4
- constructor(parentModule: MonkeyEcxConfigModule);
5
- static forRoot(): ModuleWithProviders<MonkeyEcxConfigModule>;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxConfigModule, [{ optional: true; skipSelf: true; }]>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<MonkeyEcxConfigModule, never, never, never>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<MonkeyEcxConfigModule>;
9
- }
1
+ import { ModuleWithProviders } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class MonkeyEcxConfigModule {
4
+ constructor(parentModule: MonkeyEcxConfigModule);
5
+ static forRoot(): ModuleWithProviders<MonkeyEcxConfigModule>;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxConfigModule, [{ optional: true; skipSelf: true; }]>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MonkeyEcxConfigModule, never, never, never>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<MonkeyEcxConfigModule>;
9
+ }