monkey-front-core 0.0.458 → 0.0.461

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 (376) 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 +3 -3
  122. package/esm2020/lib/core/services/commons/monkeyecx-commons-resolve.service.mjs +121 -121
  123. package/esm2020/lib/core/services/commons/monkeyecx-commons.service.mjs +362 -362
  124. package/esm2020/lib/core/services/config/monkeyecx-alerts-config.service.mjs +42 -42
  125. package/esm2020/lib/core/services/config/monkeyecx-config.module.mjs +28 -28
  126. package/esm2020/lib/core/services/config/monkeyecx-config.service.mjs +107 -107
  127. package/esm2020/lib/core/services/config/monkeyecx-currency-config.service.mjs +84 -84
  128. package/esm2020/lib/core/services/config/monkeyecx-error-config.service.mjs +85 -85
  129. package/esm2020/lib/core/services/config/monkeyecx-feature-toggle.service.mjs +76 -76
  130. package/esm2020/lib/core/services/config/monkeyecx-gtm-config.service.mjs +50 -50
  131. package/esm2020/lib/core/services/config/monkeyecx-i18n-config.service.mjs +152 -152
  132. package/esm2020/lib/core/services/config/monkeyecx-logs-config.service.mjs +34 -34
  133. package/esm2020/lib/core/services/config/monkeyecx-maintenance-config.service.mjs +37 -37
  134. package/esm2020/lib/core/services/config/monkeyecx-security-console-config.service.mjs +47 -47
  135. package/esm2020/lib/core/services/config/monkeyecx-service-worker-config.service.mjs +53 -53
  136. package/esm2020/lib/core/services/error/index.mjs +5 -5
  137. package/esm2020/lib/core/services/error/monkeyecx-error-handling.module.mjs +27 -27
  138. package/esm2020/lib/core/services/error/monkeyecx-error-handling.service.mjs +37 -37
  139. package/esm2020/lib/core/services/error/monkeyecx-http-error-handling.service.mjs +138 -138
  140. package/esm2020/lib/core/services/error/monkeyecx-others-errors-handling.service.mjs +29 -29
  141. package/esm2020/lib/core/services/index.mjs +26 -26
  142. package/esm2020/lib/core/services/logged/index.mjs +2 -2
  143. package/esm2020/lib/core/services/logged/monkeyecx-logged-handling.service.mjs +40 -40
  144. package/esm2020/lib/core/services/monkeyecx-handling.service.mjs +50 -50
  145. package/esm2020/lib/core/services/monkeyecx-service.service.mjs +104 -104
  146. package/esm2020/lib/core/services/pagination/index.mjs +2 -2
  147. package/esm2020/lib/core/services/pagination/monkeyecx-pagination.service.mjs +29 -29
  148. package/esm2020/lib/core/services/request-download/index.mjs +3 -3
  149. package/esm2020/lib/core/services/request-download/monkeyecx-request-download-handling.service.mjs +93 -93
  150. package/esm2020/lib/core/services/request-download/monkeyecx-request-downloaded-handling.service.mjs +61 -61
  151. package/esm2020/lib/core/services/request-paged/index.mjs +2 -2
  152. package/esm2020/lib/core/services/request-paged/monkeyecx-request-request-paged-handling.mjs +42 -42
  153. package/esm2020/lib/core/services/request-queue/index.mjs +3 -3
  154. package/esm2020/lib/core/services/request-queue/monkeyecx-request-queue-handling.service.mjs +114 -114
  155. package/esm2020/lib/core/services/request-queue/monkeyecx-request-queue-modal-handling.service.mjs +119 -119
  156. package/esm2020/lib/core/services/routes/index.mjs +2 -2
  157. package/esm2020/lib/core/services/routes/monkeyecx-dicovery-params.service.mjs +54 -54
  158. package/esm2020/lib/core/services/schedules/index.mjs +2 -2
  159. package/esm2020/lib/core/services/schedules/monkeyecx-request-schedule.service.mjs +188 -188
  160. package/esm2020/lib/core/services/storage/index.mjs +3 -3
  161. package/esm2020/lib/core/services/storage/monkeyecx-cookie-storage.service.mjs +32 -32
  162. package/esm2020/lib/core/services/storage/monkeyecx-token-storage.service.mjs +236 -236
  163. package/esm2020/lib/core/services/store/index.mjs +4 -2
  164. package/esm2020/lib/core/services/store/monkeyecx-store.actions.mjs +24 -0
  165. package/esm2020/lib/core/services/store/monkeyecx-store.selector.mjs +68 -0
  166. package/esm2020/lib/core/services/store/monkeyecx-store.service.mjs +189 -189
  167. package/esm2020/lib/core/specification-search/index.mjs +2 -2
  168. package/esm2020/lib/core/specification-search/monkeyecx-specification-search.mjs +108 -108
  169. package/esm2020/lib/core/utils/decorators-utils.mjs +40 -40
  170. package/esm2020/lib/core/utils/index.mjs +8 -8
  171. package/esm2020/lib/core/utils/statics.mjs +45 -45
  172. package/esm2020/lib/core/utils/utils.mjs +267 -267
  173. package/esm2020/lib/core/utils/validate-utils.mjs +205 -205
  174. package/esm2020/lib/core/utils/validators.mjs +268 -268
  175. package/esm2020/lib/monkey-front-core.module.mjs +71 -71
  176. package/esm2020/lib/store/actions/index.mjs +2 -2
  177. package/esm2020/lib/store/actions/monkeyecx-storage.actions.mjs +8 -8
  178. package/esm2020/lib/store/index.mjs +4 -4
  179. package/esm2020/lib/store/reducers/index.mjs +3 -3
  180. package/esm2020/lib/store/reducers/monkeyecx-seeder.reducer.mjs +53 -53
  181. package/esm2020/lib/store/reducers/monkeyecx-storage.reducer.mjs +40 -40
  182. package/esm2020/lib/store/selectors/index.mjs +2 -2
  183. package/esm2020/lib/store/selectors/monkeyecx-storage.selector.mjs +17 -17
  184. package/esm2020/monkey-front-core.mjs +4 -4
  185. package/esm2020/public-api.mjs +8 -8
  186. package/fesm2015/monkey-front-core.mjs +5953 -5859
  187. package/fesm2015/monkey-front-core.mjs.map +1 -1
  188. package/fesm2020/monkey-front-core.mjs +6011 -5921
  189. package/fesm2020/monkey-front-core.mjs.map +1 -1
  190. package/lib/components/alerts/alerts.component.d.ts +22 -22
  191. package/lib/components/alerts/alerts.module.d.ts +10 -10
  192. package/lib/components/alerts/index.d.ts +2 -2
  193. package/lib/components/closed-to-maintenance/closed-to-maintenance.component.d.ts +13 -13
  194. package/lib/components/closed-to-maintenance/closed-to-maintenance.module.d.ts +11 -11
  195. package/lib/components/closed-to-maintenance/index.d.ts +2 -2
  196. package/lib/components/currency-config/currency-config.component.d.ts +17 -17
  197. package/lib/components/currency-config/currency-config.module.d.ts +10 -10
  198. package/lib/components/currency-config/index.d.ts +2 -2
  199. package/lib/components/index.d.ts +5 -5
  200. package/lib/components/progress-bar/index.d.ts +3 -3
  201. package/lib/components/progress-bar/progress-bar.component.d.ts +11 -11
  202. package/lib/components/progress-bar/progress-bar.module.d.ts +8 -8
  203. package/lib/components/progress-bar/progress-bar.service.d.ts +14 -14
  204. package/lib/components/version-changed/index.d.ts +2 -2
  205. package/lib/components/version-changed/version-changed.component.d.ts +9 -9
  206. package/lib/components/version-changed/version-changed.module.d.ts +10 -10
  207. package/lib/core/decorators/index.d.ts +4 -4
  208. package/lib/core/decorators/monkeyecx-charts-decorators.d.ts +1 -1
  209. package/lib/core/decorators/monkeyecx-decorators.d.ts +7 -7
  210. package/lib/core/decorators/monkeyecx-download-decorators.d.ts +2 -2
  211. package/lib/core/decorators/monkeyecx-upload-decorators.d.ts +2 -2
  212. package/lib/core/directives/index.d.ts +12 -12
  213. package/lib/core/directives/monkeyecx-directives-module.d.ts +19 -19
  214. package/lib/core/directives/monkeyecx-drag-drop.d.ts +12 -12
  215. package/lib/core/directives/monkeyecx-feature-by-program-directive.d.ts +16 -16
  216. package/lib/core/directives/monkeyecx-feature-directive.d.ts +17 -17
  217. package/lib/core/directives/monkeyecx-format-currency.d.ts +16 -16
  218. package/lib/core/directives/monkeyecx-format-upper.d.ts +18 -18
  219. package/lib/core/directives/monkeyecx-only-alpha-numeric-directive.d.ts +9 -9
  220. package/lib/core/directives/monkeyecx-only-number-directive.d.ts +9 -9
  221. package/lib/core/directives/monkeyecx-popover-options.directive.d.ts +19 -19
  222. package/lib/core/directives/monkeyecx-popover.directive.d.ts +43 -43
  223. package/lib/core/directives/monkeyecx-security-directive.d.ts +18 -18
  224. package/lib/core/directives/monkeyecx-tooltip-directive.d.ts +23 -23
  225. package/lib/core/index.d.ts +9 -9
  226. package/lib/core/interceptors/index.d.ts +5 -5
  227. package/lib/core/interceptors/monkeyecx-http-config-error.interceptor.d.ts +18 -18
  228. package/lib/core/interceptors/monkeyecx-http-config-header.interceptor.d.ts +16 -16
  229. package/lib/core/interceptors/monkeyecx-http-config-interceptor.module.d.ts +9 -9
  230. package/lib/core/interceptors/monkeyecx-http-config-loading-in-progress.interceptor.d.ts +12 -12
  231. package/lib/core/interceptors/monkeyecx-http-config-queue.interceptor.d.ts +14 -14
  232. package/lib/core/interfaces/index.d.ts +34 -34
  233. package/lib/core/interfaces/monkeyecx-auth-credentials.d.ts +15 -15
  234. package/lib/core/interfaces/monkeyecx-company-pendencies.d.ts +14 -14
  235. package/lib/core/interfaces/monkeyecx-company.d.ts +10 -10
  236. package/lib/core/interfaces/monkeyecx-config-bootstrap.d.ts +14 -14
  237. package/lib/core/interfaces/monkeyecx-config.d.ts +132 -132
  238. package/lib/core/interfaces/monkeyecx-country-security.d.ts +4 -4
  239. package/lib/core/interfaces/monkeyecx-error-response.d.ts +5 -5
  240. package/lib/core/interfaces/monkeyecx-filter.d.ts +42 -42
  241. package/lib/core/interfaces/monkeyecx-handled-error-response.d.ts +10 -10
  242. package/lib/core/interfaces/monkeyecx-header-credentials.d.ts +4 -4
  243. package/lib/core/interfaces/monkeyecx-intercom-options.d.ts +4 -4
  244. package/lib/core/interfaces/monkeyecx-interface.d.ts +11 -11
  245. package/lib/core/interfaces/monkeyecx-me-credentials.d.ts +22 -22
  246. package/lib/core/interfaces/monkeyecx-navigation.d.ts +27 -27
  247. package/lib/core/interfaces/monkeyecx-pagination.d.ts +26 -25
  248. package/lib/core/interfaces/monkeyecx-program.d.ts +10 -10
  249. package/lib/core/interfaces/monkeyecx-releases.d.ts +9 -9
  250. package/lib/core/interfaces/monkeyecx-request-in-progress.d.ts +3 -3
  251. package/lib/core/interfaces/monkeyecx-request-paged.d.ts +23 -23
  252. package/lib/core/interfaces/monkeyecx-resolver.d.ts +39 -39
  253. package/lib/core/interfaces/monkeyecx-response-links.d.ts +11 -11
  254. package/lib/core/interfaces/monkeyecx-response-paged.d.ts +6 -6
  255. package/lib/core/interfaces/monkeyecx-saved-state.d.ts +5 -5
  256. package/lib/core/interfaces/monkeyecx-scroll-options.d.ts +5 -5
  257. package/lib/core/interfaces/monkeyecx-service-credentials.d.ts +12 -12
  258. package/lib/core/interfaces/monkeyecx-storage.d.ts +38 -38
  259. package/lib/core/interfaces/monkeyecx-store.d.ts +34 -31
  260. package/lib/core/interfaces/monkeyecx-support-options.d.ts +4 -4
  261. package/lib/core/interfaces/monkeyecx-token-credentials.d.ts +21 -21
  262. package/lib/core/interfaces/monkeyecx-translate-options.d.ts +4 -4
  263. package/lib/core/interfaces/request-download/index.d.ts +3 -3
  264. package/lib/core/interfaces/request-download/monkeyecx-request-download.d.ts +10 -10
  265. package/lib/core/interfaces/request-download/monkeyecx-request-downloaded.d.ts +7 -7
  266. package/lib/core/interfaces/request-download/monkeyecx-request-item-download.d.ts +7 -7
  267. package/lib/core/interfaces/request-queue/index.d.ts +3 -3
  268. package/lib/core/interfaces/request-queue/monkeyecx-request-item-queue.d.ts +7 -7
  269. package/lib/core/interfaces/request-queue/monkeyecx-request-progress-queue.d.ts +6 -6
  270. package/lib/core/interfaces/request-queue/monkeyecx-request-queue.d.ts +8 -8
  271. package/lib/core/interfaces/request-upload/index.d.ts +2 -2
  272. package/lib/core/interfaces/request-upload/monkeyecx-request-item-upload.d.ts +5 -5
  273. package/lib/core/interfaces/request-upload/monkeyecx-request-upload.d.ts +10 -10
  274. package/lib/core/interfaces/schedules/index.d.ts +1 -1
  275. package/lib/core/interfaces/schedules/monkeyecx-request-schedule.d.ts +13 -13
  276. package/lib/core/model/index.d.ts +2 -2
  277. package/lib/core/model/monkeyecx-links.model.d.ts +4 -4
  278. package/lib/core/model/monkeyecx-model.d.ts +13 -13
  279. package/lib/core/pipes/index.d.ts +21 -21
  280. package/lib/core/pipes/monkeyecx-blob-secure.d.ts +13 -13
  281. package/lib/core/pipes/monkeyecx-display-first-name.d.ts +7 -7
  282. package/lib/core/pipes/monkeyecx-display-initials.d.ts +7 -7
  283. package/lib/core/pipes/monkeyecx-display-support-phone.d.ts +18 -18
  284. package/lib/core/pipes/monkeyecx-format-address.d.ts +14 -14
  285. package/lib/core/pipes/monkeyecx-format-beautify-json.d.ts +8 -8
  286. package/lib/core/pipes/monkeyecx-format-currency.d.ts +11 -11
  287. package/lib/core/pipes/monkeyecx-format-date-group.d.ts +11 -11
  288. package/lib/core/pipes/monkeyecx-format-date-timelapse.d.ts +7 -7
  289. package/lib/core/pipes/monkeyecx-format-date-unix-timelapse.d.ts +7 -7
  290. package/lib/core/pipes/monkeyecx-format-document.d.ts +7 -7
  291. package/lib/core/pipes/monkeyecx-format-number.d.ts +7 -7
  292. package/lib/core/pipes/monkeyecx-format-phone.d.ts +7 -7
  293. package/lib/core/pipes/monkeyecx-format-size.d.ts +7 -7
  294. package/lib/core/pipes/monkeyecx-format-tax.d.ts +7 -7
  295. package/lib/core/pipes/monkeyecx-format-type-document.d.ts +7 -7
  296. package/lib/core/pipes/monkeyecx-format-value.d.ts +7 -7
  297. package/lib/core/pipes/monkeyecx-format-zipcode.d.ts +7 -7
  298. package/lib/core/pipes/monkeyecx-pipes.module.d.ts +26 -26
  299. package/lib/core/pipes/monkeyecx-text-truncate.d.ts +7 -7
  300. package/lib/core/pipes/monkeyecx-truncate-qtd.d.ts +7 -7
  301. package/lib/core/services/alerts/index.d.ts +1 -1
  302. package/lib/core/services/alerts/monkeyecx-alerts.service.d.ts +21 -21
  303. package/lib/core/services/auth/index.d.ts +5 -5
  304. package/lib/core/services/auth/monkeyecx-auth-guard-company.service.d.ts +10 -10
  305. package/lib/core/services/auth/monkeyecx-auth-guard-login.service.d.ts +10 -10
  306. package/lib/core/services/auth/monkeyecx-auth-guard-role.service.d.ts +16 -16
  307. package/lib/core/services/auth/monkeyecx-auth-guard.service.d.ts +10 -10
  308. package/lib/core/services/auth/monkeyecx-authentication.service.d.ts +35 -35
  309. package/lib/core/services/commons/index.d.ts +2 -2
  310. package/lib/core/services/commons/monkeyecx-commons-resolve.service.d.ts +53 -53
  311. package/lib/core/services/commons/monkeyecx-commons.service.d.ts +120 -120
  312. package/lib/core/services/config/monkeyecx-alerts-config.service.d.ts +11 -11
  313. package/lib/core/services/config/monkeyecx-config.module.d.ts +9 -9
  314. package/lib/core/services/config/monkeyecx-config.service.d.ts +36 -36
  315. package/lib/core/services/config/monkeyecx-currency-config.service.d.ts +15 -15
  316. package/lib/core/services/config/monkeyecx-error-config.service.d.ts +8 -8
  317. package/lib/core/services/config/monkeyecx-feature-toggle.service.d.ts +16 -16
  318. package/lib/core/services/config/monkeyecx-gtm-config.service.d.ts +8 -8
  319. package/lib/core/services/config/monkeyecx-i18n-config.service.d.ts +18 -18
  320. package/lib/core/services/config/monkeyecx-logs-config.service.d.ts +7 -7
  321. package/lib/core/services/config/monkeyecx-maintenance-config.service.d.ts +13 -13
  322. package/lib/core/services/config/monkeyecx-security-console-config.service.d.ts +12 -12
  323. package/lib/core/services/config/monkeyecx-service-worker-config.service.d.ts +16 -16
  324. package/lib/core/services/error/index.d.ts +4 -4
  325. package/lib/core/services/error/monkeyecx-error-handling.module.d.ts +9 -9
  326. package/lib/core/services/error/monkeyecx-error-handling.service.d.ts +9 -9
  327. package/lib/core/services/error/monkeyecx-http-error-handling.service.d.ts +26 -26
  328. package/lib/core/services/error/monkeyecx-others-errors-handling.service.d.ts +9 -9
  329. package/lib/core/services/index.d.ts +25 -25
  330. package/lib/core/services/logged/index.d.ts +1 -1
  331. package/lib/core/services/logged/monkeyecx-logged-handling.service.d.ts +14 -14
  332. package/lib/core/services/monkeyecx-handling.service.d.ts +22 -22
  333. package/lib/core/services/monkeyecx-service.service.d.ts +18 -18
  334. package/lib/core/services/pagination/index.d.ts +1 -1
  335. package/lib/core/services/pagination/monkeyecx-pagination.service.d.ts +9 -9
  336. package/lib/core/services/request-download/index.d.ts +2 -2
  337. package/lib/core/services/request-download/monkeyecx-request-download-handling.service.d.ts +18 -18
  338. package/lib/core/services/request-download/monkeyecx-request-downloaded-handling.service.d.ts +16 -16
  339. package/lib/core/services/request-paged/index.d.ts +1 -1
  340. package/lib/core/services/request-paged/monkeyecx-request-request-paged-handling.d.ts +11 -11
  341. package/lib/core/services/request-queue/index.d.ts +2 -2
  342. package/lib/core/services/request-queue/monkeyecx-request-queue-handling.service.d.ts +21 -21
  343. package/lib/core/services/request-queue/monkeyecx-request-queue-modal-handling.service.d.ts +23 -23
  344. package/lib/core/services/routes/index.d.ts +1 -1
  345. package/lib/core/services/routes/monkeyecx-dicovery-params.service.d.ts +13 -13
  346. package/lib/core/services/schedules/index.d.ts +1 -1
  347. package/lib/core/services/schedules/monkeyecx-request-schedule.service.d.ts +47 -47
  348. package/lib/core/services/storage/index.d.ts +2 -2
  349. package/lib/core/services/storage/monkeyecx-cookie-storage.service.d.ts +11 -11
  350. package/lib/core/services/storage/monkeyecx-token-storage.service.d.ts +30 -30
  351. package/lib/core/services/store/index.d.ts +3 -1
  352. package/lib/core/services/store/monkeyecx-store.actions.d.ts +51 -0
  353. package/lib/core/services/store/monkeyecx-store.selector.d.ts +28 -0
  354. package/lib/core/services/store/monkeyecx-store.service.d.ts +50 -50
  355. package/lib/core/specification-search/index.d.ts +1 -1
  356. package/lib/core/specification-search/monkeyecx-specification-search.d.ts +20 -20
  357. package/lib/core/utils/decorators-utils.d.ts +5 -5
  358. package/lib/core/utils/index.d.ts +6 -6
  359. package/lib/core/utils/statics.d.ts +34 -34
  360. package/lib/core/utils/utils.d.ts +26 -26
  361. package/lib/core/utils/validate-utils.d.ts +66 -66
  362. package/lib/core/utils/validators.d.ts +36 -36
  363. package/lib/monkey-front-core.module.d.ts +19 -19
  364. package/lib/store/actions/index.d.ts +1 -1
  365. package/lib/store/actions/monkeyecx-storage.actions.d.ts +23 -23
  366. package/lib/store/index.d.ts +3 -3
  367. package/lib/store/reducers/index.d.ts +2 -2
  368. package/lib/store/reducers/monkeyecx-seeder.reducer.d.ts +2 -2
  369. package/lib/store/reducers/monkeyecx-storage.reducer.d.ts +13 -13
  370. package/lib/store/selectors/index.d.ts +1 -1
  371. package/lib/store/selectors/monkeyecx-storage.selector.d.ts +8 -8
  372. package/monkey-front-core-0.0.461.tgz +0 -0
  373. package/monkey-front-core.d.ts +5 -5
  374. package/package.json +4 -3
  375. package/public-api.d.ts +4 -4
  376. package/monkey-front-core-0.0.458.tgz +0 -0
@@ -1,11 +1,11 @@
1
- import { MonkeyEcxRequestPaged } from '../../interfaces/monkeyecx-request-paged';
2
- export declare class MonkeyEcxRequestPagedHandling {
3
- private url?;
4
- private pagedParams;
5
- private links;
6
- private samePage;
7
- constructor(url?: string, pagedParams?: MonkeyEcxRequestPaged, links?: any, samePage?: boolean);
8
- private handlePagedValuesFromApi;
9
- private getUrlParams;
10
- getRequestWithPagedParams(): string;
11
- }
1
+ import { MonkeyEcxRequestPaged } from '../../interfaces/monkeyecx-request-paged';
2
+ export declare class MonkeyEcxRequestPagedHandling {
3
+ private url?;
4
+ private pagedParams;
5
+ private links;
6
+ private samePage;
7
+ constructor(url?: string, pagedParams?: MonkeyEcxRequestPaged, links?: any, samePage?: boolean);
8
+ private handlePagedValuesFromApi;
9
+ private getUrlParams;
10
+ getRequestWithPagedParams(): string;
11
+ }
@@ -1,2 +1,2 @@
1
- export * from './monkeyecx-request-queue-handling.service';
2
- export * from './monkeyecx-request-queue-modal-handling.service';
1
+ export * from './monkeyecx-request-queue-handling.service';
2
+ export * from './monkeyecx-request-queue-modal-handling.service';
@@ -1,21 +1,21 @@
1
- import { Observable } from 'rxjs';
2
- import { MonkeyEcxRequestProgressQueue, MonkeyEcxRequestQueue } from '../../interfaces';
3
- import * as i0 from "@angular/core";
4
- export declare class MonkeyEcxRequestQueueHandlingService {
5
- private queue;
6
- private queues$;
7
- private newQueue;
8
- constructor();
9
- private addToQueue;
10
- private markQueueItemAsFinish;
11
- private updateQueue;
12
- private deleteQueue;
13
- setQueue(q: MonkeyEcxRequestQueue | null): void;
14
- getQueue(): Observable<MonkeyEcxRequestQueue[]>;
15
- finishQueueItem(q: MonkeyEcxRequestQueue | null, action?: Function, status?: number): void;
16
- removeQueueItem(q: MonkeyEcxRequestQueue): void;
17
- updateQueueItem(q: MonkeyEcxRequestQueue, progress: MonkeyEcxRequestProgressQueue): void;
18
- hasNewQueue(): Observable<boolean>;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxRequestQueueHandlingService, never>;
20
- static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyEcxRequestQueueHandlingService>;
21
- }
1
+ import { Observable } from 'rxjs';
2
+ import { MonkeyEcxRequestProgressQueue, MonkeyEcxRequestQueue } from '../../interfaces';
3
+ import * as i0 from "@angular/core";
4
+ export declare class MonkeyEcxRequestQueueHandlingService {
5
+ private queue;
6
+ private queues$;
7
+ private newQueue;
8
+ constructor();
9
+ private addToQueue;
10
+ private markQueueItemAsFinish;
11
+ private updateQueue;
12
+ private deleteQueue;
13
+ setQueue(q: MonkeyEcxRequestQueue | null): void;
14
+ getQueue(): Observable<MonkeyEcxRequestQueue[]>;
15
+ finishQueueItem(q: MonkeyEcxRequestQueue | null, action?: Function, status?: number): void;
16
+ removeQueueItem(q: MonkeyEcxRequestQueue): void;
17
+ updateQueueItem(q: MonkeyEcxRequestQueue, progress: MonkeyEcxRequestProgressQueue): void;
18
+ hasNewQueue(): Observable<boolean>;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxRequestQueueHandlingService, never>;
20
+ static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyEcxRequestQueueHandlingService>;
21
+ }
@@ -1,23 +1,23 @@
1
- import { Observable } from 'rxjs';
2
- import { MonkeyEcxRequestProgressQueue, MonkeyEcxRequestQueue } from '../../interfaces';
3
- import * as i0 from "@angular/core";
4
- export declare class MonkeyEcxRequestQueueModalHandlingService {
5
- private queue;
6
- private queues$;
7
- private newQueue$;
8
- private allQueueFinished$;
9
- constructor();
10
- private addToQueue;
11
- private markQueueItemAsFinish;
12
- private updateQueue;
13
- private deleteQueue;
14
- setQueue(q: MonkeyEcxRequestQueue): void;
15
- getQueue(): Observable<MonkeyEcxRequestQueue[]>;
16
- finishQueueItem(q: MonkeyEcxRequestQueue, action?: Function, status?: number): void;
17
- removeQueueItem(q: MonkeyEcxRequestQueue): void;
18
- updateQueueItem(q: MonkeyEcxRequestQueue, progress: MonkeyEcxRequestProgressQueue): void;
19
- hasNewQueue(): Observable<boolean>;
20
- hasAllQueueFinished(): Observable<boolean>;
21
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxRequestQueueModalHandlingService, never>;
22
- static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyEcxRequestQueueModalHandlingService>;
23
- }
1
+ import { Observable } from 'rxjs';
2
+ import { MonkeyEcxRequestProgressQueue, MonkeyEcxRequestQueue } from '../../interfaces';
3
+ import * as i0 from "@angular/core";
4
+ export declare class MonkeyEcxRequestQueueModalHandlingService {
5
+ private queue;
6
+ private queues$;
7
+ private newQueue$;
8
+ private allQueueFinished$;
9
+ constructor();
10
+ private addToQueue;
11
+ private markQueueItemAsFinish;
12
+ private updateQueue;
13
+ private deleteQueue;
14
+ setQueue(q: MonkeyEcxRequestQueue): void;
15
+ getQueue(): Observable<MonkeyEcxRequestQueue[]>;
16
+ finishQueueItem(q: MonkeyEcxRequestQueue, action?: Function, status?: number): void;
17
+ removeQueueItem(q: MonkeyEcxRequestQueue): void;
18
+ updateQueueItem(q: MonkeyEcxRequestQueue, progress: MonkeyEcxRequestProgressQueue): void;
19
+ hasNewQueue(): Observable<boolean>;
20
+ hasAllQueueFinished(): Observable<boolean>;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxRequestQueueModalHandlingService, never>;
22
+ static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyEcxRequestQueueModalHandlingService>;
23
+ }
@@ -1 +1 @@
1
- export * from './monkeyecx-dicovery-params.service';
1
+ export * from './monkeyecx-dicovery-params.service';
@@ -1,13 +1,13 @@
1
- import { Router } from '@angular/router';
2
- import * as i0 from "@angular/core";
3
- export declare class MonkeyEcxDiscoveryParamsService {
4
- private router;
5
- constructor(router: Router);
6
- private getLastChild;
7
- setData(field: string, value: any): any;
8
- getData(field: string): any;
9
- getDataFromCurrentNavigation(field: string, router?: Router): any;
10
- getParam(param: string): string | null;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxDiscoveryParamsService, never>;
12
- static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyEcxDiscoveryParamsService>;
13
- }
1
+ import { Router } from '@angular/router';
2
+ import * as i0 from "@angular/core";
3
+ export declare class MonkeyEcxDiscoveryParamsService {
4
+ private router;
5
+ constructor(router: Router);
6
+ private getLastChild;
7
+ setData(field: string, value: any): any;
8
+ getData(field: string): any;
9
+ getDataFromCurrentNavigation(field: string, router?: Router): any;
10
+ getParam(param: string): string | null;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxDiscoveryParamsService, never>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyEcxDiscoveryParamsService>;
13
+ }
@@ -1 +1 @@
1
- export * from './monkeyecx-request-schedule.service';
1
+ export * from './monkeyecx-request-schedule.service';
@@ -1,47 +1,47 @@
1
- import { HttpErrorResponse } from '@angular/common/http';
2
- import { MonkeyEcxRequestSchedule } from '../../interfaces';
3
- import { MonkeyEcxService } from '../monkeyecx-service.service';
4
- import { MonkeyEcxLoggedHandlingService } from '../logged';
5
- import * as i0 from "@angular/core";
6
- export declare class MonkeyEcxRequestScheduleService {
7
- monkeyecxService: MonkeyEcxService;
8
- private monkeyLoggedHandlingService;
9
- private schedule;
10
- private genericSchedule;
11
- constructor(monkeyecxService: MonkeyEcxService, monkeyLoggedHandlingService: MonkeyEcxLoggedHandlingService);
12
- private addToSchedule;
13
- private addToGenericSchedule;
14
- private removeFromSchedule;
15
- private removeFromGenericSchedule;
16
- private removeFromScheduleById;
17
- private doCall;
18
- private doGenericCall;
19
- setSchedule(q: MonkeyEcxRequestSchedule, delay?: number): {
20
- interval: number;
21
- id: string;
22
- url: string;
23
- method: string;
24
- params?: any;
25
- data?: any;
26
- action(data: any, sch: MonkeyEcxRequestSchedule): void;
27
- errorAction?(data: any, sch: MonkeyEcxRequestSchedule, err?: HttpErrorResponse | undefined): void;
28
- queue?: import("../../interfaces").MonkeyEcxRequestQueue | undefined;
29
- };
30
- setGenericSchedule(q: MonkeyEcxRequestSchedule, delay?: number): {
31
- id: string;
32
- interval: number;
33
- url: string;
34
- method: string;
35
- params?: any;
36
- data?: any;
37
- action(data: any, sch: MonkeyEcxRequestSchedule): void;
38
- errorAction?(data: any, sch: MonkeyEcxRequestSchedule, err?: HttpErrorResponse | undefined): void;
39
- queue?: import("../../interfaces").MonkeyEcxRequestQueue | undefined;
40
- };
41
- removeSchedule(q: MonkeyEcxRequestSchedule): void;
42
- removeGenericSchedule(q: MonkeyEcxRequestSchedule): void;
43
- removeScheduleById(id: string): void;
44
- getScheduleById(id: string): any;
45
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxRequestScheduleService, never>;
46
- static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyEcxRequestScheduleService>;
47
- }
1
+ import { HttpErrorResponse } from '@angular/common/http';
2
+ import { MonkeyEcxRequestSchedule } from '../../interfaces';
3
+ import { MonkeyEcxService } from '../monkeyecx-service.service';
4
+ import { MonkeyEcxLoggedHandlingService } from '../logged';
5
+ import * as i0 from "@angular/core";
6
+ export declare class MonkeyEcxRequestScheduleService {
7
+ monkeyecxService: MonkeyEcxService;
8
+ private monkeyLoggedHandlingService;
9
+ private schedule;
10
+ private genericSchedule;
11
+ constructor(monkeyecxService: MonkeyEcxService, monkeyLoggedHandlingService: MonkeyEcxLoggedHandlingService);
12
+ private addToSchedule;
13
+ private addToGenericSchedule;
14
+ private removeFromSchedule;
15
+ private removeFromGenericSchedule;
16
+ private removeFromScheduleById;
17
+ private doCall;
18
+ private doGenericCall;
19
+ setSchedule(q: MonkeyEcxRequestSchedule, delay?: number): {
20
+ interval: number;
21
+ id: string;
22
+ url: string;
23
+ method: string;
24
+ params?: any;
25
+ data?: any;
26
+ action(data: any, sch: MonkeyEcxRequestSchedule): void;
27
+ errorAction?(data: any, sch: MonkeyEcxRequestSchedule, err?: HttpErrorResponse | undefined): void;
28
+ queue?: import("../../interfaces").MonkeyEcxRequestQueue | undefined;
29
+ };
30
+ setGenericSchedule(q: MonkeyEcxRequestSchedule, delay?: number): {
31
+ id: string;
32
+ interval: number;
33
+ url: string;
34
+ method: string;
35
+ params?: any;
36
+ data?: any;
37
+ action(data: any, sch: MonkeyEcxRequestSchedule): void;
38
+ errorAction?(data: any, sch: MonkeyEcxRequestSchedule, err?: HttpErrorResponse | undefined): void;
39
+ queue?: import("../../interfaces").MonkeyEcxRequestQueue | undefined;
40
+ };
41
+ removeSchedule(q: MonkeyEcxRequestSchedule): void;
42
+ removeGenericSchedule(q: MonkeyEcxRequestSchedule): void;
43
+ removeScheduleById(id: string): void;
44
+ getScheduleById(id: string): any;
45
+ static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxRequestScheduleService, never>;
46
+ static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyEcxRequestScheduleService>;
47
+ }
@@ -1,2 +1,2 @@
1
- export * from './monkeyecx-token-storage.service';
2
- export * from './monkeyecx-cookie-storage.service';
1
+ export * from './monkeyecx-token-storage.service';
2
+ export * from './monkeyecx-cookie-storage.service';
@@ -1,11 +1,11 @@
1
- import { CookieService } from 'ngx-cookie-service';
2
- import * as i0 from "@angular/core";
3
- export declare class MonkeyEcxCookieStorageService {
4
- private cookieService;
5
- constructor(cookieService: CookieService);
6
- setCookie(name: string, value: any, environment: any): void;
7
- getCookie(name: string): string;
8
- removeCookie(name: string, environment: any): void;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxCookieStorageService, never>;
10
- static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyEcxCookieStorageService>;
11
- }
1
+ import { CookieService } from 'ngx-cookie-service';
2
+ import * as i0 from "@angular/core";
3
+ export declare class MonkeyEcxCookieStorageService {
4
+ private cookieService;
5
+ constructor(cookieService: CookieService);
6
+ setCookie(name: string, value: any, environment: any): void;
7
+ getCookie(name: string): string;
8
+ removeCookie(name: string, environment: any): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxCookieStorageService, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyEcxCookieStorageService>;
11
+ }
@@ -1,30 +1,30 @@
1
- import { Store } from '@ngrx/store';
2
- import { Observable } from 'rxjs';
3
- import { MonkeyEcxMeCredentials, MonkeyEcxTokenCredentials } from '../../interfaces';
4
- import { MonkeyEcxConfigService } from '../config/monkeyecx-config.service';
5
- import * as i0 from "@angular/core";
6
- export declare class MonkeyEcxTokenStorageService {
7
- private monkeyecxConfigService;
8
- private store;
9
- private token;
10
- private token$;
11
- private me$;
12
- constructor(monkeyecxConfigService: MonkeyEcxConfigService, store: Store);
13
- private setAllTokens;
14
- private getAllTokens;
15
- private setAllMe;
16
- private getAllMe;
17
- tokenHasChanged(): Observable<MonkeyEcxTokenCredentials>;
18
- meHasChanged(): Observable<MonkeyEcxMeCredentials>;
19
- getToken(): Promise<any>;
20
- getMe(): Promise<any>;
21
- setToken(token: MonkeyEcxTokenCredentials): void;
22
- setMe(me: MonkeyEcxMeCredentials): void;
23
- clear(force?: boolean): Observable<boolean>;
24
- /**
25
- * @param fields (the name of fields you want to clear. ie: ['companyId', 'role', ...])
26
- */
27
- clearCredentials(fields?: string[]): void;
28
- static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxTokenStorageService, never>;
29
- static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyEcxTokenStorageService>;
30
- }
1
+ import { Store } from '@ngrx/store';
2
+ import { Observable } from 'rxjs';
3
+ import { MonkeyEcxMeCredentials, MonkeyEcxTokenCredentials } from '../../interfaces';
4
+ import { MonkeyEcxConfigService } from '../config/monkeyecx-config.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class MonkeyEcxTokenStorageService {
7
+ private monkeyecxConfigService;
8
+ private store;
9
+ private token;
10
+ private token$;
11
+ private me$;
12
+ constructor(monkeyecxConfigService: MonkeyEcxConfigService, store: Store);
13
+ private setAllTokens;
14
+ private getAllTokens;
15
+ private setAllMe;
16
+ private getAllMe;
17
+ tokenHasChanged(): Observable<MonkeyEcxTokenCredentials>;
18
+ meHasChanged(): Observable<MonkeyEcxMeCredentials>;
19
+ getToken(): Promise<any>;
20
+ getMe(): Promise<any>;
21
+ setToken(token: MonkeyEcxTokenCredentials): void;
22
+ setMe(me: MonkeyEcxMeCredentials): void;
23
+ clear(force?: boolean): Observable<boolean>;
24
+ /**
25
+ * @param fields (the name of fields you want to clear. ie: ['companyId', 'role', ...])
26
+ */
27
+ clearCredentials(fields?: string[]): void;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxTokenStorageService, never>;
29
+ static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyEcxTokenStorageService>;
30
+ }
@@ -1 +1,3 @@
1
- export * from './monkeyecx-store.service';
1
+ export * from './monkeyecx-store.actions';
2
+ export * from './monkeyecx-store.selector';
3
+ export * from './monkeyecx-store.service';
@@ -0,0 +1,51 @@
1
+ import { MonkeyEcxPage, MonkeyEcxPagination, MonkeyEcxStoreControl } from '../../interfaces';
2
+ export declare abstract class MonkeyEcxCommonsActions {
3
+ static getActions<T>(actionName: string): {
4
+ clear: import("@ngrx/store").ActionCreator<`[${string}] Clear All`, (props: {
5
+ identifier: string;
6
+ }) => {
7
+ identifier: string;
8
+ } & import("@ngrx/store/src/models").TypedAction<`[${string}] Clear All`>>;
9
+ load: import("@ngrx/store").ActionCreator<`[${string}] Load`, (props: {
10
+ url: string;
11
+ identifier: string;
12
+ force?: boolean | undefined;
13
+ }) => {
14
+ url: string;
15
+ identifier: string;
16
+ force?: boolean | undefined;
17
+ } & import("@ngrx/store/src/models").TypedAction<`[${string}] Load`>>;
18
+ loadPagination: import("@ngrx/store").ActionCreator<`[${string} Pagination] Load`, (props: {
19
+ pagination: MonkeyEcxPagination;
20
+ identifier: string;
21
+ }) => {
22
+ pagination: MonkeyEcxPagination;
23
+ identifier: string;
24
+ } & import("@ngrx/store/src/models").TypedAction<`[${string} Pagination] Load`>>;
25
+ removeOne: import("@ngrx/store").ActionCreator<`[${string}] Remove One`, (props: {
26
+ data: T;
27
+ }) => {
28
+ data: T;
29
+ } & import("@ngrx/store/src/models").TypedAction<`[${string}] Remove One`>>;
30
+ updateAll: import("@ngrx/store").ActionCreator<`[${string}] Update All`, (props: {
31
+ data: T[];
32
+ }) => {
33
+ data: T[];
34
+ } & import("@ngrx/store/src/models").TypedAction<`[${string}] Update All`>>;
35
+ updateControl: import("@ngrx/store").ActionCreator<`[${string}] Update Control`, (props: {
36
+ data: MonkeyEcxStoreControl;
37
+ }) => {
38
+ data: MonkeyEcxStoreControl;
39
+ } & import("@ngrx/store/src/models").TypedAction<`[${string}] Update Control`>>;
40
+ updateLinks: import("@ngrx/store").ActionCreator<`[${string}] Update Links`, (props: {
41
+ data: any;
42
+ }) => {
43
+ data: any;
44
+ } & import("@ngrx/store/src/models").TypedAction<`[${string}] Update Links`>>;
45
+ updatePage: import("@ngrx/store").ActionCreator<`[${string}] Update Page`, (props: {
46
+ data: MonkeyEcxPage;
47
+ }) => {
48
+ data: MonkeyEcxPage;
49
+ } & import("@ngrx/store/src/models").TypedAction<`[${string}] Update Page`>>;
50
+ };
51
+ }
@@ -0,0 +1,28 @@
1
+ interface Identifiable {
2
+ identifier?: string;
3
+ }
4
+ interface IReducer {
5
+ featureKey: string;
6
+ selectAll: any;
7
+ }
8
+ export declare abstract class MonkeyEcxCommonsSelectors {
9
+ static getSelectors(reducer: IReducer): {
10
+ selectState: import("@ngrx/store").MemoizedSelector<object, unknown, import("@ngrx/store").DefaultProjectorFn<unknown>>;
11
+ selectAll: any;
12
+ selectControl: () => import("@ngrx/store").MemoizedSelector<object, any, import("@ngrx/store").DefaultProjectorFn<any>>;
13
+ selectByIdentifier: <T extends Identifiable>(props: {
14
+ identifier: string;
15
+ }) => import("@ngrx/store").MemoizedSelector<unknown, T[], import("@ngrx/store").DefaultProjectorFn<T[]>>;
16
+ selectPagination: (props: {
17
+ identifier: string;
18
+ }) => import("@ngrx/store").MemoizedSelector<object, any, import("@ngrx/store").DefaultProjectorFn<any>>;
19
+ selectPage: (props: {
20
+ identifier: string;
21
+ }) => import("@ngrx/store").MemoizedSelector<object, any, import("@ngrx/store").DefaultProjectorFn<any>>;
22
+ paginationHasDifference: (props: {
23
+ identifier: string;
24
+ url: string;
25
+ }) => import("@ngrx/store").MemoizedSelector<object, any, import("@ngrx/store").DefaultProjectorFn<any>>;
26
+ };
27
+ }
28
+ export {};
@@ -1,50 +1,50 @@
1
- import { Store } from '@ngrx/store';
2
- import { MonkeyEcxConfigStore, MonkeyEcxControlStore, MonkeyEcxLinks, MonkeyEcxPage, MonkeyEcxPagination } from '../../interfaces';
3
- import { MonkeyEcxCommonsService } from '../commons';
4
- import { MonkeyEcxService } from '../monkeyecx-service.service';
5
- import { MonkeyEcxTokenStorageService } from '../storage';
6
- /**
7
- * Classe genérica que recebe duas interfaces como tipos genéricos.
8
- *
9
- * @typeparam T deve ser a mesma interface utilizada na Entity da Store
10
- * @typeparam K faz referência ao tipo de configuração.
11
- *
12
- * @description interfaces de configuração:
13
- * ```
14
- * MonkeyEcxCollectionStore e MonkeyEcxEntityStore
15
- * ```
16
- */
17
- export declare abstract class MonkeyEcxCommonsStoreService<T, K extends MonkeyEcxConfigStore> extends MonkeyEcxCommonsService {
18
- protected store: Store;
19
- private action;
20
- private selector;
21
- constructor(monkeyecxService: MonkeyEcxService, tokenStorage: MonkeyEcxTokenStorageService, store: Store, config: K);
22
- private handleResponseData;
23
- protected linksHasDifference(url: string, identifier: string): Promise<{
24
- hasDifference: any;
25
- }>;
26
- protected updateControl(data: MonkeyEcxControlStore): void;
27
- protected mappingData(args: T | T[], identifier: string): T | T[];
28
- protected update?(args: T | T[], identifier: string): void;
29
- protected updatePage?(args: MonkeyEcxPage, identifier: string): void;
30
- protected updateLinks?(args: MonkeyEcxLinks, identifier: string): void;
31
- protected loadData(url: string, identifier: string, updateLinks?: boolean): Promise<void>;
32
- protected loadPageData(pagination: MonkeyEcxPagination, identifier: string): Promise<void>;
33
- /**
34
- * @description Neste método precisamos incluir a lógica para conferir se precisa limpar a
35
- * entidade ou não
36
- * E depois precisa invocar o método loadData
37
- * @param (url, identifier) ou de acordo com a action criada
38
- * @example
39
- * ```
40
- * const hasDifference = .....
41
- * if(hasDifference) {
42
- * store.dispatch(clear)
43
- * }
44
- *
45
- * this.loadData(...)
46
- * ```
47
- */
48
- load?(args: any): void;
49
- loadPage?(args: any): void;
50
- }
1
+ import { Store } from '@ngrx/store';
2
+ import { MonkeyEcxConfigStore, MonkeyEcxControlStore, MonkeyEcxLinks, MonkeyEcxPage, MonkeyEcxPagination } from '../../interfaces';
3
+ import { MonkeyEcxCommonsService } from '../commons';
4
+ import { MonkeyEcxService } from '../monkeyecx-service.service';
5
+ import { MonkeyEcxTokenStorageService } from '../storage';
6
+ /**
7
+ * Classe genérica que recebe duas interfaces como tipos genéricos.
8
+ *
9
+ * @typeparam T deve ser a mesma interface utilizada na Entity da Store
10
+ * @typeparam K faz referência ao tipo de configuração.
11
+ *
12
+ * @description interfaces de configuração:
13
+ * ```
14
+ * MonkeyEcxCollectionStore e MonkeyEcxEntityStore
15
+ * ```
16
+ */
17
+ export declare abstract class MonkeyEcxCommonsStoreService<T, K extends MonkeyEcxConfigStore> extends MonkeyEcxCommonsService {
18
+ protected store: Store;
19
+ private action;
20
+ private selector;
21
+ constructor(monkeyecxService: MonkeyEcxService, tokenStorage: MonkeyEcxTokenStorageService, store: Store, config: K);
22
+ private handleResponseData;
23
+ protected linksHasDifference(url: string, identifier: string): Promise<{
24
+ hasDifference: any;
25
+ }>;
26
+ protected updateControl(data: MonkeyEcxControlStore): void;
27
+ protected mappingData(args: T | T[], identifier: string): T | T[];
28
+ protected update?(args: T | T[], identifier: string): void;
29
+ protected updatePage?(args: MonkeyEcxPage, identifier: string): void;
30
+ protected updateLinks?(args: MonkeyEcxLinks, identifier: string): void;
31
+ protected loadData(url: string, identifier: string, updateLinks?: boolean): Promise<void>;
32
+ protected loadPageData(pagination: MonkeyEcxPagination, identifier: string): Promise<void>;
33
+ /**
34
+ * @description Neste método precisamos incluir a lógica para conferir se precisa limpar a
35
+ * entidade ou não
36
+ * E depois precisa invocar o método loadData
37
+ * @param (url, identifier) ou de acordo com a action criada
38
+ * @example
39
+ * ```
40
+ * const hasDifference = .....
41
+ * if(hasDifference) {
42
+ * store.dispatch(clear)
43
+ * }
44
+ *
45
+ * this.loadData(...)
46
+ * ```
47
+ */
48
+ load?(args: any): void;
49
+ loadPage?(args: any): void;
50
+ }
@@ -1 +1 @@
1
- export * from './monkeyecx-specification-search';
1
+ export * from './monkeyecx-specification-search';
@@ -1,20 +1,20 @@
1
- export declare enum OpSearch {
2
- LIKE = ":'*:value*'",
3
- BETWEEN = ":first AND :last",
4
- OR = "OR",
5
- AND = "AND",
6
- GT = ">:value",
7
- LT = "<:value",
8
- EQUAL = "::value",
9
- IN = " IN :value",
10
- NOT = " !:value"
11
- }
12
- export declare class MonkeyEcxSpecificationSearch {
13
- constructor();
14
- private handleValue;
15
- private queryVisitor;
16
- private criteriaParser;
17
- build(spec: any): string;
18
- buildMoreThanOne(field: string, op?: OpSearch, addSingleQuotes?: boolean): any;
19
- handleFieldSeparatedBy(field: string, signal?: string, op?: OpSearch): any;
20
- }
1
+ export declare enum OpSearch {
2
+ LIKE = ":'*:value*'",
3
+ BETWEEN = ":first AND :last",
4
+ OR = "OR",
5
+ AND = "AND",
6
+ GT = ">:value",
7
+ LT = "<:value",
8
+ EQUAL = "::value",
9
+ IN = " IN :value",
10
+ NOT = " !:value"
11
+ }
12
+ export declare class MonkeyEcxSpecificationSearch {
13
+ constructor();
14
+ private handleValue;
15
+ private queryVisitor;
16
+ private criteriaParser;
17
+ build(spec: any): string;
18
+ buildMoreThanOne(field: string, op?: OpSearch, addSingleQuotes?: boolean): any;
19
+ handleFieldSeparatedBy(field: string, signal?: string, op?: OpSearch): any;
20
+ }
@@ -1,5 +1,5 @@
1
- import { MonkeyEcxRequestDownload, MonkeyEcxRequestItemQueue, MonkeyEcxRequestQueue, MonkeyEcxRequestUpload } from '../interfaces';
2
- export declare function buildQueuePropertys(queue: MonkeyEcxRequestItemQueue): MonkeyEcxRequestQueue;
3
- export declare function buildDownloadPropertys(name: string, description?: string, size?: number): MonkeyEcxRequestDownload;
4
- export declare function buildUploadPropertys(name: string, description?: string): MonkeyEcxRequestUpload;
5
- export declare function hasMonkeyEcxServiceAndHandlingProperties(context: any): boolean;
1
+ import { MonkeyEcxRequestDownload, MonkeyEcxRequestItemQueue, MonkeyEcxRequestQueue, MonkeyEcxRequestUpload } from '../interfaces';
2
+ export declare function buildQueuePropertys(queue: MonkeyEcxRequestItemQueue): MonkeyEcxRequestQueue;
3
+ export declare function buildDownloadPropertys(name: string, description?: string, size?: number): MonkeyEcxRequestDownload;
4
+ export declare function buildUploadPropertys(name: string, description?: string): MonkeyEcxRequestUpload;
5
+ export declare function hasMonkeyEcxServiceAndHandlingProperties(context: any): boolean;
@@ -1,6 +1,6 @@
1
- import { MonkeyEcxUtils } from './utils';
2
- import * as ValidateUtils from './validate-utils';
3
- import * as DecoratorsUtils from './decorators-utils';
4
- import * as Statics from './statics';
5
- export { MonkeyEcxUtils, ValidateUtils, DecoratorsUtils, Statics };
6
- export * from './validators';
1
+ import { MonkeyEcxUtils } from './utils';
2
+ import * as ValidateUtils from './validate-utils';
3
+ import * as DecoratorsUtils from './decorators-utils';
4
+ import * as Statics from './statics';
5
+ export { MonkeyEcxUtils, ValidateUtils, DecoratorsUtils, Statics };
6
+ export * from './validators';