@sumaris-net/ngx-components 1.23.9 → 2.0.0-rc1

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 (714) hide show
  1. package/doc/build.md +2 -2
  2. package/esm2020/public_api.mjs +274 -0
  3. package/esm2020/public_test_api.mjs +46 -0
  4. package/esm2020/src/app/admin/admin-routing.module.mjs +41 -0
  5. package/esm2020/src/app/admin/admin.module.mjs +49 -0
  6. package/esm2020/src/app/admin/services/filter/person.filter.mjs +59 -0
  7. package/esm2020/src/app/admin/services/person.service.mjs +161 -0
  8. package/esm2020/src/app/admin/services/validator/person.validator.mjs +34 -0
  9. package/esm2020/src/app/admin/users/list/users.mjs +227 -0
  10. package/esm2020/src/app/core/about/modal-about.mjs +71 -0
  11. package/esm2020/src/app/core/account/account.mjs +230 -0
  12. package/esm2020/src/app/core/auth/form/form-auth.mjs +131 -0
  13. package/esm2020/src/app/core/auth/modal/modal-auth.mjs +72 -0
  14. package/esm2020/src/app/core/core.module.mjs +223 -0
  15. package/esm2020/src/app/core/core.testing.module.mjs +72 -0
  16. package/esm2020/src/app/core/form/editor.class.mjs +608 -0
  17. package/esm2020/src/app/core/form/entity-editor-modal.class.mjs +406 -0
  18. package/esm2020/src/app/core/form/entity-editor.class.mjs +669 -0
  19. package/esm2020/src/app/core/form/entity-metadata.component.mjs +25 -0
  20. package/esm2020/src/app/core/form/form-buttons-bar.component.mjs +71 -0
  21. package/esm2020/src/app/core/form/form.class.mjs +334 -0
  22. package/esm2020/src/app/core/form/form.utils.mjs +264 -0
  23. package/esm2020/src/app/core/form/list.form.mjs +221 -0
  24. package/esm2020/src/app/core/form/properties.form.mjs +126 -0
  25. package/esm2020/src/app/core/graphql/graphql.module.mjs +22 -0
  26. package/esm2020/src/app/core/graphql/graphql.service.mjs +730 -0
  27. package/esm2020/src/app/core/graphql/graphql.utils.mjs +117 -0
  28. package/esm2020/src/app/core/home/home.mjs +257 -0
  29. package/esm2020/src/app/core/icon/icon.component.mjs +41 -0
  30. package/esm2020/src/app/core/icon/icon.module.mjs +29 -0
  31. package/esm2020/src/app/core/install/install-upgrade-card.component.mjs +337 -0
  32. package/esm2020/src/app/core/install/install-upgrade-card.module.mjs +33 -0
  33. package/esm2020/src/app/core/menu/menu.component.mjs +317 -0
  34. package/{esm2015/src/app/core/menu/menu.model.js → esm2020/src/app/core/menu/menu.model.mjs} +0 -0
  35. package/esm2020/src/app/core/menu/menu.module.mjs +45 -0
  36. package/{esm2015/src/app/core/menu/menu.service.js → esm2020/src/app/core/menu/menu.service.mjs} +9 -7
  37. package/esm2020/src/app/core/offline/update-offline-mode-card.component.mjs +27 -0
  38. package/esm2020/src/app/core/peer/select-peer.modal.mjs +130 -0
  39. package/esm2020/src/app/core/peer/select-peer.module.mjs +35 -0
  40. package/esm2020/src/app/core/register/confirm/confirm.mjs +81 -0
  41. package/esm2020/src/app/core/register/form/form-register.mjs +181 -0
  42. package/esm2020/src/app/core/register/modal/modal-register.mjs +52 -0
  43. package/esm2020/src/app/core/register/register.module.mjs +42 -0
  44. package/esm2020/src/app/core/services/account.service.mjs +1112 -0
  45. package/esm2020/src/app/core/services/auth-guard.service.mjs +71 -0
  46. package/esm2020/src/app/core/services/base-entity-service.class.mjs +433 -0
  47. package/esm2020/src/app/core/services/base-graphql-service.class.mjs +219 -0
  48. package/{esm2015/src/app/core/services/base58.js → esm2020/src/app/core/services/base58.mjs} +0 -0
  49. package/{esm2015/src/app/core/services/config/core.config.js → esm2020/src/app/core/services/config/core.config.mjs} +0 -0
  50. package/esm2020/src/app/core/services/config.service.mjs +354 -0
  51. package/{esm2015/src/app/core/services/crypto.service.js → esm2020/src/app/core/services/crypto.service.mjs} +7 -5
  52. package/{esm2015/src/app/core/services/errors.js → esm2020/src/app/core/services/errors.mjs} +0 -0
  53. package/esm2020/src/app/core/services/local-settings.service.mjs +442 -0
  54. package/esm2020/src/app/core/services/model/account.model.mjs +50 -0
  55. package/esm2020/src/app/core/services/model/config.model.mjs +89 -0
  56. package/esm2020/src/app/core/services/model/department.model.mjs +30 -0
  57. package/esm2020/src/app/core/services/model/entity.decorators.mjs +107 -0
  58. package/esm2020/src/app/core/services/model/entity.model.mjs +242 -0
  59. package/{esm2015/src/app/core/services/model/filter.model.js → esm2020/src/app/core/services/model/filter.model.mjs} +0 -0
  60. package/{esm2015/src/app/core/services/model/history.model.js → esm2020/src/app/core/services/model/history.model.mjs} +0 -0
  61. package/{esm2015/src/app/core/services/model/model.enum.js → esm2020/src/app/core/services/model/model.enum.mjs} +0 -0
  62. package/esm2020/src/app/core/services/model/peer.model.mjs +68 -0
  63. package/esm2020/src/app/core/services/model/person.model.mjs +83 -0
  64. package/esm2020/src/app/core/services/model/referential.model.mjs +145 -0
  65. package/esm2020/src/app/core/services/model/settings.model.mjs +75 -0
  66. package/esm2020/src/app/core/services/network.service.mjs +602 -0
  67. package/esm2020/src/app/core/services/network.utils.mjs +16 -0
  68. package/esm2020/src/app/core/services/pipes/account.pipes.mjs +38 -0
  69. package/esm2020/src/app/core/services/pipes/department-to-string.pipe.mjs +23 -0
  70. package/esm2020/src/app/core/services/pipes/person-to-string.pipe.mjs +23 -0
  71. package/esm2020/src/app/core/services/pipes/usage-mode.pipes.mjs +37 -0
  72. package/esm2020/src/app/core/services/platform.service.mjs +476 -0
  73. package/esm2020/src/app/core/services/storage/entities-storage.service.mjs +422 -0
  74. package/esm2020/src/app/core/services/storage/entity-store.class.mjs +449 -0
  75. package/esm2020/src/app/core/services/testing/referential-filter.model.mjs +23 -0
  76. package/esm2020/src/app/core/services/testing/referential.validator.mjs +45 -0
  77. package/esm2020/src/app/core/services/validator/account.validator.mjs +52 -0
  78. package/esm2020/src/app/core/services/validator/base.validator.class.mjs +47 -0
  79. package/esm2020/src/app/core/services/validator/local-settings.validator.mjs +66 -0
  80. package/esm2020/src/app/core/services/validator/user-settings.validator.mjs +29 -0
  81. package/esm2020/src/app/core/settings/settings.page.mjs +290 -0
  82. package/esm2020/src/app/core/table/actions-column.component.mjs +96 -0
  83. package/esm2020/src/app/core/table/entities-table-datasource.class.mjs +385 -0
  84. package/esm2020/src/app/core/table/memory-table.class.mjs +53 -0
  85. package/esm2020/src/app/core/table/table-select-columns.component.mjs +43 -0
  86. package/esm2020/src/app/core/table/table.class.mjs +1654 -0
  87. package/{esm2015/src/app/core/table/table.utils.js → esm2020/src/app/core/table/table.utils.mjs} +0 -0
  88. package/esm2020/src/app/core/table/testing/table.testing.mjs +264 -0
  89. package/esm2020/src/app/core/table/testing/table.testing.module.mjs +38 -0
  90. package/esm2020/src/app/core/text-popover/testing/text-popover.testing.mjs +37 -0
  91. package/esm2020/src/app/core/text-popover/testing/text-popover.testing.module.mjs +45 -0
  92. package/esm2020/src/app/core/text-popover/text-form.component.mjs +84 -0
  93. package/esm2020/src/app/core/text-popover/text-popover.component.mjs +92 -0
  94. package/esm2020/src/app/shared/alerts.mjs +238 -0
  95. package/esm2020/src/app/shared/audio/audio.mjs +201 -0
  96. package/esm2020/src/app/shared/audio/audio.testing.mjs +31 -0
  97. package/esm2020/src/app/shared/audio/audio.testing.module.mjs +45 -0
  98. package/esm2020/src/app/shared/capacitor/keyboard.mjs +40 -0
  99. package/esm2020/src/app/shared/capacitor/plugins.mjs +9 -0
  100. package/{esm2015/src/app/shared/constants.js → esm2020/src/app/shared/constants.mjs} +2 -1
  101. package/esm2020/src/app/shared/dates.mjs +134 -0
  102. package/esm2020/src/app/shared/directives/autofocus.directive.mjs +92 -0
  103. package/esm2020/src/app/shared/directives/autotitle.directive.mjs +30 -0
  104. package/esm2020/src/app/shared/directives/directives.module.mjs +43 -0
  105. package/esm2020/src/app/shared/directives/drag-and-drop.directive.mjs +53 -0
  106. package/esm2020/src/app/shared/directives/ng-var.directive.mjs +31 -0
  107. package/esm2020/src/app/shared/directives/resizable/resizable.component.mjs +59 -0
  108. package/esm2020/src/app/shared/directives/resizable/resizable.directive.mjs +40 -0
  109. package/esm2020/src/app/shared/directives/resizable/resizable.module.mjs +17 -0
  110. package/esm2020/src/app/shared/events.mjs +64 -0
  111. package/esm2020/src/app/shared/file/csv.utils.mjs +74 -0
  112. package/esm2020/src/app/shared/file/file.service.mjs +117 -0
  113. package/esm2020/src/app/shared/file/file.utils.mjs +113 -0
  114. package/esm2020/src/app/shared/file/images.utils.mjs +161 -0
  115. package/{esm2015/src/app/shared/file/uri.utils.js → esm2020/src/app/shared/file/uri.utils.mjs} +0 -0
  116. package/{esm2015/src/app/shared/focusable.js → esm2020/src/app/shared/focusable.mjs} +0 -0
  117. package/esm2020/src/app/shared/form/field.component.mjs +241 -0
  118. package/{esm2015/src/app/shared/form/field.model.js → esm2020/src/app/shared/form/field.model.mjs} +1 -1
  119. package/esm2020/src/app/shared/form/loading-spinner.mjs +36 -0
  120. package/esm2020/src/app/shared/forms.mjs +355 -0
  121. package/esm2020/src/app/shared/functions.mjs +417 -0
  122. package/{esm2015/src/app/shared/gesture/gesture-config.js → esm2020/src/app/shared/gesture/gesture-config.mjs} +7 -5
  123. package/esm2020/src/app/shared/gesture/hammer.utils.mjs +2 -0
  124. package/{esm2015/src/app/shared/graph/colors.utils.js → esm2020/src/app/shared/graph/colors.utils.mjs} +0 -0
  125. package/esm2020/src/app/shared/graph/graph-colors.mjs +254 -0
  126. package/esm2020/src/app/shared/guard/component-dirty.guard.mjs +57 -0
  127. package/esm2020/src/app/shared/help/help.modal.mjs +53 -0
  128. package/esm2020/src/app/shared/hotkeys/dialog/hotkeys-dialog.component.mjs +23 -0
  129. package/esm2020/src/app/shared/hotkeys/hotkeys.service.mjs +84 -0
  130. package/esm2020/src/app/shared/hotkeys/shared-hotkeys.module.mjs +42 -0
  131. package/esm2020/src/app/shared/http/http.utils.mjs +52 -0
  132. package/esm2020/src/app/shared/image/gallery/image-gallery.component.mjs +279 -0
  133. package/esm2020/src/app/shared/image/gallery/image-gallery.module.mjs +46 -0
  134. package/esm2020/src/app/shared/image/gallery/testing/gallegry.model.testing.mjs +27 -0
  135. package/esm2020/src/app/shared/image/gallery/testing/gallery.service.testing.mjs +89 -0
  136. package/esm2020/src/app/shared/image/gallery/testing/gallery.testing.mjs +33 -0
  137. package/esm2020/src/app/shared/image/gallery/testing/gallery.testing.module.mjs +56 -0
  138. package/esm2020/src/app/shared/image/image.model.mjs +2 -0
  139. package/esm2020/src/app/shared/image/image.module.mjs +29 -0
  140. package/esm2020/src/app/shared/image/image.service.mjs +99 -0
  141. package/{esm2015/src/app/shared/inputs.js → esm2020/src/app/shared/inputs.mjs} +4 -4
  142. package/{esm2015/src/app/shared/interceptors/progess.interceptor.js → esm2020/src/app/shared/interceptors/progess.interceptor.mjs} +0 -0
  143. package/esm2020/src/app/shared/material/autocomplete/material.autocomplete.config.mjs +47 -0
  144. package/esm2020/src/app/shared/material/autocomplete/material.autocomplete.mjs +836 -0
  145. package/esm2020/src/app/shared/material/autocomplete/material.autocomplete.module.mjs +78 -0
  146. package/esm2020/src/app/shared/material/autocomplete/material.autocomplete.utils.mjs +19 -0
  147. package/esm2020/src/app/shared/material/autocomplete/testing/autocomplete.test.mjs +205 -0
  148. package/esm2020/src/app/shared/material/badge/badge-icon.directive.mjs +143 -0
  149. package/esm2020/src/app/shared/material/badge/badge-icon.module.mjs +32 -0
  150. package/esm2020/src/app/shared/material/badge/badge-icon.test.mjs +27 -0
  151. package/esm2020/src/app/shared/material/boolean/boolean.module.mjs +68 -0
  152. package/esm2020/src/app/shared/material/boolean/material.boolean.mjs +253 -0
  153. package/esm2020/src/app/shared/material/chips/chips.module.mjs +76 -0
  154. package/esm2020/src/app/shared/material/chips/material.chips.mjs +692 -0
  155. package/esm2020/src/app/shared/material/chips/testing/chips.test.mjs +136 -0
  156. package/esm2020/src/app/shared/material/datetime/datetime.module.mjs +91 -0
  157. package/esm2020/src/app/shared/material/datetime/material.date.mjs +392 -0
  158. package/esm2020/src/app/shared/material/datetime/material.dateshort.mjs +327 -0
  159. package/esm2020/src/app/shared/material/datetime/material.datetime.mjs +416 -0
  160. package/esm2020/src/app/shared/material/datetime/testing/mat-date-time.test.mjs +110 -0
  161. package/esm2020/src/app/shared/material/datetime/testing/mat-date.test.mjs +111 -0
  162. package/esm2020/src/app/shared/material/duration/duration.module.mjs +67 -0
  163. package/{esm2015/src/app/shared/material/duration/duration.utils.js → esm2020/src/app/shared/material/duration/duration.utils.mjs} +0 -0
  164. package/esm2020/src/app/shared/material/duration/material.duration.mjs +257 -0
  165. package/esm2020/src/app/shared/material/latlong/latlong.utils.mjs +266 -0
  166. package/esm2020/src/app/shared/material/latlong/material.latlong.mjs +381 -0
  167. package/esm2020/src/app/shared/material/latlong/material.latlong.module.mjs +67 -0
  168. package/esm2020/src/app/shared/material/latlong/testing/latlong.test.mjs +74 -0
  169. package/{esm2015/src/app/shared/material/material.animations.js → esm2020/src/app/shared/material/material.animations.mjs} +0 -0
  170. package/esm2020/src/app/shared/material/material.module.mjs +224 -0
  171. package/{esm2015/src/app/shared/material/material.testing.module.js → esm2020/src/app/shared/material/material.testing.module.mjs} +68 -34
  172. package/esm2020/src/app/shared/material/numpad/numpad.append-to-input.directive.mjs +98 -0
  173. package/esm2020/src/app/shared/material/numpad/numpad.component.mjs +80 -0
  174. package/esm2020/src/app/shared/material/numpad/numpad.container.mjs +190 -0
  175. package/esm2020/src/app/shared/material/numpad/numpad.content.mjs +17 -0
  176. package/esm2020/src/app/shared/material/numpad/numpad.directive.mjs +162 -0
  177. package/esm2020/src/app/shared/material/numpad/numpad.dom-service.mjs +37 -0
  178. package/{esm2015/src/app/shared/material/numpad/numpad.model.js → esm2020/src/app/shared/material/numpad/numpad.model.mjs} +1 -1
  179. package/esm2020/src/app/shared/material/numpad/numpad.module.mjs +60 -0
  180. package/esm2020/src/app/shared/material/numpad/testing/numpad.test.mjs +46 -0
  181. package/esm2020/src/app/shared/material/paginator/material.paginator-i18n.mjs +42 -0
  182. package/esm2020/src/app/shared/material/stepper/material.stepper-i18n.mjs +22 -0
  183. package/esm2020/src/app/shared/material/swipe/material.swipe.mjs +334 -0
  184. package/esm2020/src/app/shared/material/swipe/swipe.module.mjs +51 -0
  185. package/esm2020/src/app/shared/material/swipe/testing/swipe.test.mjs +65 -0
  186. package/esm2020/src/app/shared/observables.mjs +96 -0
  187. package/esm2020/src/app/shared/pipes/arrays.pipe.mjs +114 -0
  188. package/esm2020/src/app/shared/pipes/colors.pipe.mjs +23 -0
  189. package/esm2020/src/app/shared/pipes/date-diff-duration.pipe.mjs +49 -0
  190. package/esm2020/src/app/shared/pipes/date-format.pipe.mjs +42 -0
  191. package/{esm2015/src/app/shared/pipes/date-from-now.pipe.js → esm2020/src/app/shared/pipes/date-from-now.pipe.mjs} +13 -12
  192. package/{esm2015/src/app/shared/pipes/duration.pipe.js → esm2020/src/app/shared/pipes/duration.pipe.mjs} +13 -12
  193. package/esm2020/src/app/shared/pipes/file-size.pipe.mjs +62 -0
  194. package/esm2020/src/app/shared/pipes/form.pipes.mjs +187 -0
  195. package/esm2020/src/app/shared/pipes/highlight.pipe.mjs +48 -0
  196. package/esm2020/src/app/shared/pipes/latlong-format.pipe.mjs +46 -0
  197. package/esm2020/src/app/shared/pipes/maps.pipe.mjs +63 -0
  198. package/esm2020/src/app/shared/pipes/math.pipes.mjs +59 -0
  199. package/esm2020/src/app/shared/pipes/ng-init.pipe.mjs +21 -0
  200. package/{esm2015/src/app/shared/pipes/number-format.pipe.js → esm2020/src/app/shared/pipes/number-format.pipe.mjs} +14 -9
  201. package/esm2020/src/app/shared/pipes/pipes.module.mjs +206 -0
  202. package/esm2020/src/app/shared/pipes/property.pipes.mjs +96 -0
  203. package/esm2020/src/app/shared/pipes/string.pipes.mjs +69 -0
  204. package/esm2020/src/app/shared/pipes/translate-context.pipe.mjs +43 -0
  205. package/esm2020/src/app/shared/platforms.mjs +49 -0
  206. package/esm2020/src/app/shared/services/entity-service.class.mjs +19 -0
  207. package/esm2020/src/app/shared/services/job.utils.mjs +92 -0
  208. package/esm2020/src/app/shared/services/memory-entity-service.class.mjs +253 -0
  209. package/esm2020/src/app/shared/services/progress-bar.service.mjs +32 -0
  210. package/esm2020/src/app/shared/services/startable-service.class.mjs +94 -0
  211. package/esm2020/src/app/shared/services/storage/storage.service.mjs +132 -0
  212. package/esm2020/src/app/shared/services/storage/storage.utils.mjs +13 -0
  213. package/esm2020/src/app/shared/services/translate-context.service.mjs +81 -0
  214. package/esm2020/src/app/shared/services/validator-service.class.mjs +2 -0
  215. package/esm2020/src/app/shared/services.mjs +62 -0
  216. package/esm2020/src/app/shared/shared-routing.module.mjs +63 -0
  217. package/esm2020/src/app/shared/shared.module.mjs +208 -0
  218. package/esm2020/src/app/shared/shared.testing.module.mjs +76 -0
  219. package/esm2020/src/app/shared/testing/tests.page.mjs +33 -0
  220. package/esm2020/src/app/shared/toast/toast.testing.mjs +52 -0
  221. package/esm2020/src/app/shared/toast/toast.testing.module.mjs +45 -0
  222. package/esm2020/src/app/shared/toast/toasts.mjs +121 -0
  223. package/esm2020/src/app/shared/toolbar/modal-toolbar.mjs +58 -0
  224. package/esm2020/src/app/shared/toolbar/toolbar.mjs +226 -0
  225. package/esm2020/src/app/shared/toolbar/toolbar.module.mjs +53 -0
  226. package/{esm2015/src/app/shared/types.js → esm2020/src/app/shared/types.mjs} +0 -0
  227. package/esm2020/src/app/shared/upload-file/testing/upload-file.testing.mjs +57 -0
  228. package/esm2020/src/app/shared/upload-file/testing/upload-file.testing.module.mjs +45 -0
  229. package/esm2020/src/app/shared/upload-file/upload-file-popover.component.mjs +97 -0
  230. package/esm2020/src/app/shared/upload-file/upload-file.component.mjs +204 -0
  231. package/esm2020/src/app/shared/upload-file/upload-file.model.mjs +20 -0
  232. package/esm2020/src/app/shared/validator/form-error-adapter.class.mjs +104 -0
  233. package/esm2020/src/app/shared/validator/validators.mjs +544 -0
  234. package/{esm2015/src/app/shared/version/versions.js → esm2020/src/app/shared/version/versions.mjs} +0 -0
  235. package/esm2020/src/app/social/job/job.model.mjs +26 -0
  236. package/esm2020/src/app/social/job/job.module.mjs +35 -0
  237. package/esm2020/src/app/social/job/job.service.mjs +59 -0
  238. package/esm2020/src/app/social/job/progression/job-progression.component.mjs +201 -0
  239. package/esm2020/src/app/social/job/progression/job-progression.list.mjs +22 -0
  240. package/esm2020/src/app/social/job/testing/job-progression.testing.mjs +51 -0
  241. package/esm2020/src/app/social/job/testing/job-progression.testing.service.mjs +33 -0
  242. package/esm2020/src/app/social/job/testing/job.testing.module.mjs +35 -0
  243. package/esm2020/src/app/social/message/message.form.mjs +81 -0
  244. package/esm2020/src/app/social/message/message.modal.mjs +93 -0
  245. package/esm2020/src/app/social/message/message.model.mjs +65 -0
  246. package/esm2020/src/app/social/message/message.module.mjs +35 -0
  247. package/esm2020/src/app/social/message/message.service.mjs +84 -0
  248. package/{esm2015/src/app/social/social.errors.js → esm2020/src/app/social/social.errors.mjs} +0 -0
  249. package/esm2020/src/app/social/social.module.mjs +47 -0
  250. package/esm2020/src/app/social/social.testing.module.mjs +51 -0
  251. package/esm2020/src/app/social/user-event/notification/user-event-notification.icon.mjs +97 -0
  252. package/esm2020/src/app/social/user-event/notification/user-event-notification.list.mjs +212 -0
  253. package/esm2020/src/app/social/user-event/testing/user-event.testing.mjs +228 -0
  254. package/esm2020/src/app/social/user-event/testing/user-event.testing.model.mjs +107 -0
  255. package/esm2020/src/app/social/user-event/testing/user-event.testing.module.mjs +35 -0
  256. package/esm2020/src/app/social/user-event/testing/user-event.testing.service.mjs +111 -0
  257. package/esm2020/src/app/social/user-event/user-event.model.mjs +2 -0
  258. package/esm2020/src/app/social/user-event/user-event.module.mjs +39 -0
  259. package/esm2020/src/app/social/user-event/user-event.service.mjs +486 -0
  260. package/{esm2015/src/app/vendor.js → esm2020/src/app/vendor.mjs} +1 -1
  261. package/esm2020/src/environments/environment.class.mjs +5 -0
  262. package/esm2020/src/environments/environment.mjs +86 -0
  263. package/esm2020/sumaris-net.ngx-components.mjs +5 -0
  264. package/fesm2015/sumaris-net.ngx-components.mjs +32493 -0
  265. package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -0
  266. package/fesm2020/sumaris-net.ngx-components.mjs +31739 -0
  267. package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -0
  268. package/index.d.ts +5 -0
  269. package/package.json +25 -34
  270. package/public_api.d.ts +23 -28
  271. package/public_test_api.d.ts +37 -0
  272. package/resources/README.md +8 -0
  273. package/src/app/admin/admin-routing.module.d.ts +7 -0
  274. package/src/app/admin/admin.module.d.ts +11 -0
  275. package/src/app/admin/services/person.service.d.ts +3 -0
  276. package/src/app/admin/services/validator/person.validator.d.ts +8 -5
  277. package/src/app/admin/users/list/users.d.ts +10 -7
  278. package/src/app/core/about/modal-about.d.ts +3 -0
  279. package/src/app/core/account/account.d.ts +11 -8
  280. package/src/app/core/auth/form/form-auth.d.ts +6 -3
  281. package/src/app/core/auth/modal/modal-auth.d.ts +3 -0
  282. package/src/app/core/core.module.d.ts +36 -0
  283. package/src/app/core/core.testing.module.d.ts +9 -0
  284. package/src/app/core/form/editor.class.d.ts +7 -2
  285. package/src/app/core/form/entity-editor-modal.class.d.ts +7 -4
  286. package/src/app/core/form/entity-editor.class.d.ts +4 -1
  287. package/src/app/core/form/entity-metadata.component.d.ts +3 -0
  288. package/src/app/core/form/form-buttons-bar.component.d.ts +3 -0
  289. package/src/app/core/form/form.class.d.ts +12 -9
  290. package/src/app/core/form/form.utils.d.ts +4 -4
  291. package/src/app/core/form/list.form.d.ts +10 -7
  292. package/src/app/core/form/properties.form.d.ts +10 -7
  293. package/src/app/core/graphql/graphql.module.d.ts +5 -0
  294. package/src/app/core/graphql/graphql.service.d.ts +9 -2
  295. package/src/app/core/graphql/graphql.utils.d.ts +8 -0
  296. package/src/app/core/home/home.d.ts +4 -1
  297. package/src/app/core/icon/icon.component.d.ts +5 -2
  298. package/src/app/core/icon/icon.module.d.ts +7 -0
  299. package/src/app/core/install/install-upgrade-card.component.d.ts +5 -2
  300. package/src/app/core/install/install-upgrade-card.module.d.ts +10 -0
  301. package/src/app/core/menu/menu.component.d.ts +7 -5
  302. package/src/app/core/menu/menu.module.d.ts +8 -0
  303. package/src/app/core/menu/menu.service.d.ts +3 -0
  304. package/src/app/core/offline/update-offline-mode-card.component.d.ts +3 -0
  305. package/src/app/core/peer/select-peer.modal.d.ts +7 -4
  306. package/src/app/core/peer/select-peer.module.d.ts +9 -0
  307. package/src/app/core/register/confirm/confirm.d.ts +3 -0
  308. package/src/app/core/register/form/form-register.d.ts +10 -7
  309. package/src/app/core/register/modal/modal-register.d.ts +3 -0
  310. package/src/app/core/register/register.module.d.ts +12 -0
  311. package/src/app/core/services/account.service.d.ts +5 -2
  312. package/src/app/core/services/auth-guard.service.d.ts +3 -0
  313. package/src/app/core/services/base-entity-service.class.d.ts +3 -0
  314. package/src/app/core/services/base-graphql-service.class.d.ts +3 -0
  315. package/src/app/core/services/config.service.d.ts +4 -1
  316. package/src/app/core/services/crypto.service.d.ts +3 -0
  317. package/src/app/core/services/local-settings.service.d.ts +5 -1
  318. package/src/app/core/services/model/referential.model.d.ts +1 -1
  319. package/src/app/core/services/network.service.d.ts +6 -5
  320. package/src/app/core/services/pipes/account.pipes.d.ts +7 -0
  321. package/src/app/core/services/pipes/department-to-string.pipe.d.ts +4 -0
  322. package/src/app/core/services/pipes/person-to-string.pipe.d.ts +4 -0
  323. package/src/app/core/services/pipes/usage-mode.pipes.d.ts +7 -0
  324. package/src/app/core/services/platform.service.d.ts +22 -21
  325. package/src/app/core/services/storage/entities-storage.service.d.ts +5 -2
  326. package/src/app/core/services/storage/entity-store.class.d.ts +3 -3
  327. package/src/app/core/services/testing/referential.validator.d.ts +8 -5
  328. package/src/app/core/services/validator/account.validator.d.ts +6 -3
  329. package/src/app/core/services/validator/base.validator.class.d.ts +8 -5
  330. package/src/app/core/services/validator/local-settings.validator.d.ts +8 -5
  331. package/src/app/core/services/validator/user-settings.validator.d.ts +6 -3
  332. package/src/app/core/settings/settings.page.d.ts +8 -5
  333. package/src/app/core/table/actions-column.component.d.ts +3 -0
  334. package/src/app/core/table/entities-table-datasource.class.d.ts +11 -9
  335. package/src/app/core/table/memory-table.class.d.ts +3 -0
  336. package/src/app/core/table/table-select-columns.component.d.ts +4 -5
  337. package/src/app/core/table/table.class.d.ts +52 -34
  338. package/src/app/core/table/testing/table.testing.d.ts +13 -15
  339. package/src/app/core/table/testing/table.testing.module.d.ts +9 -0
  340. package/src/app/core/text-popover/testing/text-popover.testing.d.ts +4 -1
  341. package/src/app/core/text-popover/testing/text-popover.testing.module.d.ts +9 -0
  342. package/src/app/core/text-popover/text-form.component.d.ts +7 -4
  343. package/src/app/core/text-popover/text-popover.component.d.ts +3 -0
  344. package/src/app/shared/alerts.d.ts +4 -4
  345. package/src/app/shared/audio/audio.d.ts +20 -11
  346. package/src/app/shared/audio/audio.testing.d.ts +13 -0
  347. package/src/app/shared/audio/audio.testing.module.d.ts +11 -0
  348. package/src/app/shared/capacitor/keyboard.d.ts +16 -0
  349. package/src/app/shared/capacitor/plugins.d.ts +7 -0
  350. package/src/app/shared/constants.d.ts +1 -0
  351. package/src/app/shared/directives/autofocus.directive.d.ts +9 -7
  352. package/src/app/shared/directives/autotitle.directive.d.ts +3 -0
  353. package/src/app/shared/directives/directives.module.d.ts +10 -0
  354. package/src/app/shared/directives/drag-and-drop.directive.d.ts +3 -0
  355. package/src/app/shared/directives/ng-var.directive.d.ts +3 -0
  356. package/src/app/shared/directives/resizable/resizable.component.d.ts +3 -0
  357. package/src/app/shared/directives/resizable/resizable.directive.d.ts +3 -0
  358. package/src/app/shared/directives/resizable/resizable.module.d.ts +6 -0
  359. package/src/app/shared/file/file.service.d.ts +3 -0
  360. package/src/app/shared/file/file.utils.d.ts +1 -1
  361. package/src/app/shared/form/field.component.d.ts +9 -3
  362. package/src/app/shared/form/field.model.d.ts +2 -2
  363. package/src/app/shared/form/loading-spinner.d.ts +3 -0
  364. package/src/app/shared/forms.d.ts +12 -12
  365. package/src/app/shared/gesture/gesture-config.d.ts +3 -0
  366. package/src/app/shared/gesture/hammer.utils.d.ts +11 -11
  367. package/src/app/shared/guard/component-dirty.guard.d.ts +3 -0
  368. package/src/app/shared/help/help.modal.d.ts +4 -1
  369. package/src/app/shared/hotkeys/dialog/hotkeys-dialog.component.d.ts +3 -0
  370. package/src/app/shared/hotkeys/hotkeys.service.d.ts +4 -1
  371. package/src/app/shared/hotkeys/shared-hotkeys.module.d.ts +9 -0
  372. package/src/app/shared/image/gallery/image-gallery.component.d.ts +77 -0
  373. package/src/app/shared/image/gallery/image-gallery.module.d.ts +12 -0
  374. package/src/app/shared/image/gallery/testing/gallegry.model.testing.d.ts +12 -0
  375. package/src/app/shared/image/gallery/testing/gallery.service.testing.d.ts +33 -0
  376. package/src/app/shared/image/gallery/testing/gallery.testing.d.ts +15 -0
  377. package/src/app/shared/image/gallery/testing/gallery.testing.module.d.ts +12 -0
  378. package/src/app/shared/image/image.model.d.ts +5 -0
  379. package/src/app/shared/image/image.module.d.ts +8 -0
  380. package/src/app/shared/image/image.service.d.ts +32 -0
  381. package/src/app/shared/inputs.d.ts +3 -3
  382. package/src/app/shared/material/autocomplete/material.autocomplete.config.d.ts +36 -0
  383. package/src/app/shared/material/autocomplete/material.autocomplete.d.ts +11 -40
  384. package/src/app/shared/material/autocomplete/material.autocomplete.module.d.ts +19 -0
  385. package/src/app/shared/material/autocomplete/material.autocomplete.utils.d.ts +4 -0
  386. package/src/app/shared/material/autocomplete/testing/autocomplete.test.d.ts +12 -9
  387. package/src/app/shared/material/badge/badge-icon.directive.d.ts +6 -4
  388. package/src/app/shared/material/badge/badge-icon.module.d.ts +8 -0
  389. package/src/app/shared/material/badge/badge-icon.test.d.ts +4 -1
  390. package/src/app/shared/material/boolean/boolean.module.d.ts +17 -0
  391. package/src/app/shared/material/boolean/material.boolean.d.ts +7 -4
  392. package/src/app/shared/material/chips/chips.module.d.ts +19 -0
  393. package/src/app/shared/material/chips/material.chips.d.ts +11 -8
  394. package/src/app/shared/material/chips/testing/chips.test.d.ts +8 -5
  395. package/src/app/shared/material/datetime/datetime.module.d.ts +22 -0
  396. package/src/app/shared/material/datetime/material.date.d.ts +11 -9
  397. package/src/app/shared/material/datetime/material.dateshort.d.ts +10 -9
  398. package/src/app/shared/material/datetime/material.datetime.d.ts +13 -12
  399. package/src/app/shared/material/datetime/testing/mat-date-time.test.d.ts +11 -9
  400. package/src/app/shared/material/datetime/testing/mat-date.test.d.ts +11 -9
  401. package/src/app/shared/material/duration/duration.module.d.ts +16 -0
  402. package/src/app/shared/material/duration/material.duration.d.ts +8 -5
  403. package/src/app/shared/material/latlong/material.latlong.d.ts +8 -5
  404. package/src/app/shared/material/latlong/material.latlong.module.d.ts +17 -0
  405. package/src/app/shared/material/latlong/testing/latlong.test.d.ts +10 -7
  406. package/src/app/shared/material/material.module.d.ts +43 -0
  407. package/src/app/shared/material/material.testing.module.d.ts +19 -0
  408. package/src/app/shared/material/numpad/numpad.append-to-input.directive.d.ts +3 -0
  409. package/src/app/shared/material/numpad/numpad.component.d.ts +4 -1
  410. package/src/app/shared/material/numpad/numpad.container.d.ts +5 -2
  411. package/src/app/shared/material/numpad/numpad.content.d.ts +3 -0
  412. package/src/app/shared/material/numpad/numpad.directive.d.ts +4 -1
  413. package/src/app/shared/material/numpad/numpad.dom-service.d.ts +3 -0
  414. package/src/app/shared/material/numpad/numpad.model.d.ts +1 -1
  415. package/src/app/shared/material/numpad/numpad.module.d.ts +14 -0
  416. package/src/app/shared/material/numpad/testing/numpad.test.d.ts +7 -4
  417. package/src/app/shared/material/paginator/material.paginator-i18n.d.ts +3 -0
  418. package/src/app/shared/material/stepper/material.stepper-i18n.d.ts +3 -0
  419. package/src/app/shared/material/swipe/material.swipe.d.ts +6 -3
  420. package/src/app/shared/material/swipe/swipe.module.d.ts +13 -0
  421. package/src/app/shared/material/swipe/testing/swipe.test.d.ts +7 -4
  422. package/src/app/shared/pipes/arrays.pipe.d.ts +15 -0
  423. package/src/app/shared/pipes/colors.pipe.d.ts +9 -0
  424. package/src/app/shared/pipes/date-diff-duration.pipe.d.ts +4 -0
  425. package/src/app/shared/pipes/date-format.pipe.d.ts +4 -0
  426. package/src/app/shared/pipes/date-from-now.pipe.d.ts +4 -0
  427. package/src/app/shared/pipes/duration.pipe.d.ts +4 -0
  428. package/src/app/shared/pipes/file-size.pipe.d.ts +3 -0
  429. package/src/app/shared/pipes/form.pipes.d.ts +18 -5
  430. package/src/app/shared/pipes/highlight.pipe.d.ts +4 -0
  431. package/src/app/shared/pipes/latlong-format.pipe.d.ts +7 -0
  432. package/src/app/shared/pipes/maps.pipe.d.ts +10 -0
  433. package/src/app/shared/pipes/math.pipes.d.ts +10 -0
  434. package/src/app/shared/pipes/ng-init.pipe.d.ts +3 -0
  435. package/src/app/shared/pipes/number-format.pipe.d.ts +4 -0
  436. package/src/app/shared/pipes/pipes.module.d.ts +24 -0
  437. package/src/app/shared/pipes/property.pipes.d.ts +6 -0
  438. package/src/app/shared/pipes/string.pipes.d.ts +11 -0
  439. package/src/app/shared/pipes/translate-context.pipe.d.ts +7 -0
  440. package/src/app/shared/platforms.d.ts +1 -0
  441. package/src/app/shared/services/entity-service.class.d.ts +3 -0
  442. package/src/app/shared/services/memory-entity-service.class.d.ts +3 -0
  443. package/src/app/shared/services/progress-bar.service.d.ts +4 -1
  444. package/src/app/shared/services/storage/storage.service.d.ts +23 -0
  445. package/src/app/shared/services/storage/storage.utils.d.ts +19 -0
  446. package/src/app/shared/services/translate-context.service.d.ts +3 -0
  447. package/src/app/shared/services/validator-service.class.d.ts +2 -2
  448. package/src/app/shared/shared-routing.module.d.ts +7 -0
  449. package/src/app/shared/shared.module.d.ts +23 -0
  450. package/src/app/shared/shared.testing.module.d.ts +12 -0
  451. package/src/app/shared/testing/tests.page.d.ts +3 -0
  452. package/src/app/shared/toast/toast.testing.d.ts +3 -0
  453. package/src/app/shared/toast/toast.testing.module.d.ts +9 -0
  454. package/src/app/shared/toolbar/modal-toolbar.d.ts +5 -2
  455. package/src/app/shared/toolbar/toolbar.d.ts +9 -5
  456. package/src/app/shared/toolbar/toolbar.module.d.ts +15 -0
  457. package/src/app/shared/upload-file/testing/upload-file.testing.d.ts +4 -1
  458. package/src/app/shared/upload-file/testing/upload-file.testing.module.d.ts +9 -0
  459. package/src/app/shared/upload-file/upload-file-popover.component.d.ts +3 -0
  460. package/src/app/shared/upload-file/upload-file.component.d.ts +3 -0
  461. package/src/app/shared/validator/form-error-adapter.class.d.ts +3 -0
  462. package/src/app/shared/validator/validators.d.ts +9 -9
  463. package/src/app/social/job/job.module.d.ts +9 -0
  464. package/src/app/social/job/job.service.d.ts +3 -0
  465. package/src/app/social/job/progression/job-progression.component.d.ts +4 -1
  466. package/src/app/social/job/progression/job-progression.list.d.ts +3 -0
  467. package/src/app/social/job/testing/job-progression.testing.d.ts +3 -0
  468. package/src/app/social/job/testing/job-progression.testing.service.d.ts +3 -0
  469. package/src/app/social/job/testing/job.testing.module.d.ts +9 -0
  470. package/src/app/social/message/message.form.d.ts +5 -2
  471. package/src/app/social/message/message.modal.d.ts +5 -2
  472. package/src/app/social/message/message.module.d.ts +9 -0
  473. package/src/app/social/message/message.service.d.ts +3 -0
  474. package/src/app/social/social.module.d.ts +10 -0
  475. package/src/app/social/social.testing.module.d.ts +9 -0
  476. package/src/app/social/user-event/notification/user-event-notification.icon.d.ts +4 -1
  477. package/src/app/social/user-event/notification/user-event-notification.list.d.ts +7 -4
  478. package/src/app/social/user-event/testing/user-event.testing.d.ts +3 -0
  479. package/src/app/social/user-event/testing/user-event.testing.model.d.ts +1 -0
  480. package/src/app/social/user-event/testing/user-event.testing.module.d.ts +9 -0
  481. package/src/app/social/user-event/testing/user-event.testing.service.d.ts +5 -1
  482. package/src/app/social/user-event/user-event.model.d.ts +3 -2
  483. package/src/app/social/user-event/user-event.module.d.ts +10 -0
  484. package/src/app/social/user-event/user-event.service.d.ts +16 -11
  485. package/src/assets/audio/beep-notification.mp3 +0 -0
  486. package/src/assets/i18n/fr.json +9 -2
  487. package/src/environments/environment.class.d.ts +2 -0
  488. package/src/environments/environment.d.ts +1 -1
  489. package/src/theme/_icons.scss +1 -1
  490. package/src/theme/_material.globals.scss +29 -31
  491. package/src/theme/_material.scss +3 -2
  492. package/src/theme/_mixins.scss +4 -4
  493. package/src/theme/_ngx-components.scss +1 -0
  494. package/src/theme/_print.scss +24 -0
  495. package/bundles/sumaris-net.ngx-components.umd.js +0 -35315
  496. package/bundles/sumaris-net.ngx-components.umd.js.map +0 -1
  497. package/bundles/sumaris-net.ngx-components.umd.min.js +0 -25
  498. package/bundles/sumaris-net.ngx-components.umd.min.js.map +0 -1
  499. package/esm2015/public_api.js +0 -244
  500. package/esm2015/src/app/admin/admin-routing.module.js +0 -34
  501. package/esm2015/src/app/admin/admin.module.js +0 -34
  502. package/esm2015/src/app/admin/services/filter/person.filter.js +0 -59
  503. package/esm2015/src/app/admin/services/person.service.js +0 -175
  504. package/esm2015/src/app/admin/services/validator/person.validator.js +0 -37
  505. package/esm2015/src/app/admin/users/list/users.js +0 -216
  506. package/esm2015/src/app/core/about/modal-about.js +0 -63
  507. package/esm2015/src/app/core/account/account.js +0 -240
  508. package/esm2015/src/app/core/auth/form/form-auth.js +0 -134
  509. package/esm2015/src/app/core/auth/modal/modal-auth.js +0 -78
  510. package/esm2015/src/app/core/core.module.js +0 -127
  511. package/esm2015/src/app/core/core.testing.module.js +0 -51
  512. package/esm2015/src/app/core/form/editor.class.js +0 -632
  513. package/esm2015/src/app/core/form/entity-editor-modal.class.js +0 -421
  514. package/esm2015/src/app/core/form/entity-editor.class.js +0 -696
  515. package/esm2015/src/app/core/form/entity-metadata.component.js +0 -22
  516. package/esm2015/src/app/core/form/form-buttons-bar.component.js +0 -63
  517. package/esm2015/src/app/core/form/form.class.js +0 -338
  518. package/esm2015/src/app/core/form/form.utils.js +0 -264
  519. package/esm2015/src/app/core/form/list.form.js +0 -219
  520. package/esm2015/src/app/core/form/properties.form.js +0 -119
  521. package/esm2015/src/app/core/graphql/graphql.module.js +0 -18
  522. package/esm2015/src/app/core/graphql/graphql.service.js +0 -734
  523. package/esm2015/src/app/core/graphql/graphql.utils.js +0 -107
  524. package/esm2015/src/app/core/home/home.js +0 -265
  525. package/esm2015/src/app/core/icon/icon.component.js +0 -32
  526. package/esm2015/src/app/core/icon/icon.module.js +0 -26
  527. package/esm2015/src/app/core/install/install-upgrade-card.component.js +0 -358
  528. package/esm2015/src/app/core/menu/menu.component.js +0 -329
  529. package/esm2015/src/app/core/menu/menu.module.js +0 -28
  530. package/esm2015/src/app/core/offline/update-offline-mode-card.component.js +0 -26
  531. package/esm2015/src/app/core/peer/select-peer.modal.js +0 -134
  532. package/esm2015/src/app/core/register/confirm/confirm.js +0 -86
  533. package/esm2015/src/app/core/register/form/form-register.js +0 -172
  534. package/esm2015/src/app/core/register/modal/modal-register.js +0 -55
  535. package/esm2015/src/app/core/services/account.service.js +0 -1165
  536. package/esm2015/src/app/core/services/auth-guard.service.js +0 -77
  537. package/esm2015/src/app/core/services/base-entity-service.class.js +0 -455
  538. package/esm2015/src/app/core/services/base-graphql-service.class.js +0 -221
  539. package/esm2015/src/app/core/services/config.service.js +0 -385
  540. package/esm2015/src/app/core/services/local-settings.service.js +0 -460
  541. package/esm2015/src/app/core/services/model/account.model.js +0 -50
  542. package/esm2015/src/app/core/services/model/config.model.js +0 -89
  543. package/esm2015/src/app/core/services/model/department.model.js +0 -30
  544. package/esm2015/src/app/core/services/model/entity.decorators.js +0 -104
  545. package/esm2015/src/app/core/services/model/entity.model.js +0 -245
  546. package/esm2015/src/app/core/services/model/peer.model.js +0 -68
  547. package/esm2015/src/app/core/services/model/person.model.js +0 -83
  548. package/esm2015/src/app/core/services/model/referential.model.js +0 -147
  549. package/esm2015/src/app/core/services/model/settings.model.js +0 -75
  550. package/esm2015/src/app/core/services/network.service.js +0 -639
  551. package/esm2015/src/app/core/services/network.utils.js +0 -19
  552. package/esm2015/src/app/core/services/pipes/account.pipes.js +0 -28
  553. package/esm2015/src/app/core/services/pipes/department-to-string.pipe.js +0 -18
  554. package/esm2015/src/app/core/services/pipes/person-to-string.pipe.js +0 -18
  555. package/esm2015/src/app/core/services/pipes/usage-mode.pipes.js +0 -27
  556. package/esm2015/src/app/core/services/platform.service.js +0 -549
  557. package/esm2015/src/app/core/services/storage/entities-storage.service.js +0 -452
  558. package/esm2015/src/app/core/services/storage/entity-store.class.js +0 -461
  559. package/esm2015/src/app/core/services/testing/referential-filter.model.js +0 -23
  560. package/esm2015/src/app/core/services/testing/referential.validator.js +0 -44
  561. package/esm2015/src/app/core/services/validator/account.validator.js +0 -55
  562. package/esm2015/src/app/core/services/validator/base.validator.class.js +0 -48
  563. package/esm2015/src/app/core/services/validator/local-settings.validator.js +0 -72
  564. package/esm2015/src/app/core/services/validator/user-settings.validator.js +0 -30
  565. package/esm2015/src/app/core/settings/settings.page.js +0 -305
  566. package/esm2015/src/app/core/table/actions-column.component.js +0 -74
  567. package/esm2015/src/app/core/table/entities-table-datasource.class.js +0 -389
  568. package/esm2015/src/app/core/table/memory-table.class.js +0 -59
  569. package/esm2015/src/app/core/table/table-select-columns.component.js +0 -44
  570. package/esm2015/src/app/core/table/table.class.js +0 -1658
  571. package/esm2015/src/app/core/table/testing/table.testing.js +0 -242
  572. package/esm2015/src/app/core/table/testing/table.testing.module.js +0 -26
  573. package/esm2015/src/app/core/text-popover/testing/text-popover.testing.js +0 -37
  574. package/esm2015/src/app/core/text-popover/testing/text-popover.testing.module.js +0 -33
  575. package/esm2015/src/app/core/text-popover/text-form.component.js +0 -72
  576. package/esm2015/src/app/core/text-popover/text-popover.component.js +0 -90
  577. package/esm2015/src/app/shared/alerts.js +0 -251
  578. package/esm2015/src/app/shared/audio/audio.js +0 -178
  579. package/esm2015/src/app/shared/dates.js +0 -134
  580. package/esm2015/src/app/shared/directives/autofocus.directive.js +0 -90
  581. package/esm2015/src/app/shared/directives/autotitle.directive.js +0 -27
  582. package/esm2015/src/app/shared/directives/directives.module.js +0 -30
  583. package/esm2015/src/app/shared/directives/drag-and-drop.directive.js +0 -43
  584. package/esm2015/src/app/shared/directives/ng-var.directive.js +0 -32
  585. package/esm2015/src/app/shared/directives/resizable/resizable.component.js +0 -54
  586. package/esm2015/src/app/shared/directives/resizable/resizable.directive.js +0 -34
  587. package/esm2015/src/app/shared/directives/resizable/resizable.module.js +0 -12
  588. package/esm2015/src/app/shared/events.js +0 -61
  589. package/esm2015/src/app/shared/file/csv.utils.js +0 -70
  590. package/esm2015/src/app/shared/file/file.service.js +0 -121
  591. package/esm2015/src/app/shared/file/file.utils.js +0 -116
  592. package/esm2015/src/app/shared/file/images.utils.js +0 -166
  593. package/esm2015/src/app/shared/form/field.component.js +0 -206
  594. package/esm2015/src/app/shared/form/loading-spinner.js +0 -24
  595. package/esm2015/src/app/shared/forms.js +0 -339
  596. package/esm2015/src/app/shared/functions.js +0 -418
  597. package/esm2015/src/app/shared/gesture/hammer.utils.js +0 -2
  598. package/esm2015/src/app/shared/graph/graph-colors.js +0 -256
  599. package/esm2015/src/app/shared/guard/component-dirty.guard.js +0 -61
  600. package/esm2015/src/app/shared/help/help.modal.js +0 -56
  601. package/esm2015/src/app/shared/hotkeys/dialog/hotkeys-dialog.component.js +0 -20
  602. package/esm2015/src/app/shared/hotkeys/hotkeys.service.js +0 -91
  603. package/esm2015/src/app/shared/hotkeys/shared-hotkeys.module.js +0 -29
  604. package/esm2015/src/app/shared/http/http.utils.js +0 -57
  605. package/esm2015/src/app/shared/material/autocomplete/material.autocomplete.js +0 -825
  606. package/esm2015/src/app/shared/material/autocomplete/material.autocomplete.module.js +0 -46
  607. package/esm2015/src/app/shared/material/autocomplete/testing/autocomplete.test.js +0 -200
  608. package/esm2015/src/app/shared/material/badge/badge-icon.directive.js +0 -135
  609. package/esm2015/src/app/shared/material/badge/badge-icon.module.js +0 -23
  610. package/esm2015/src/app/shared/material/badge/badge-icon.test.js +0 -17
  611. package/esm2015/src/app/shared/material/boolean/boolean.module.js +0 -41
  612. package/esm2015/src/app/shared/material/boolean/material.boolean.js +0 -223
  613. package/esm2015/src/app/shared/material/chips/chips.module.js +0 -45
  614. package/esm2015/src/app/shared/material/chips/material.chips.js +0 -636
  615. package/esm2015/src/app/shared/material/chips/testing/chips.test.js +0 -138
  616. package/esm2015/src/app/shared/material/datetime/datetime.module.js +0 -54
  617. package/esm2015/src/app/shared/material/datetime/material.date.js +0 -375
  618. package/esm2015/src/app/shared/material/datetime/material.dateshort.js +0 -316
  619. package/esm2015/src/app/shared/material/datetime/material.datetime.js +0 -398
  620. package/esm2015/src/app/shared/material/datetime/testing/mat-date-time.test.js +0 -110
  621. package/esm2015/src/app/shared/material/datetime/testing/mat-date.test.js +0 -108
  622. package/esm2015/src/app/shared/material/duration/duration.module.js +0 -40
  623. package/esm2015/src/app/shared/material/duration/material.duration.js +0 -246
  624. package/esm2015/src/app/shared/material/latlong/latlong.utils.js +0 -249
  625. package/esm2015/src/app/shared/material/latlong/material.latlong.js +0 -350
  626. package/esm2015/src/app/shared/material/latlong/material.latlong.module.js +0 -41
  627. package/esm2015/src/app/shared/material/latlong/testing/latlong.test.js +0 -70
  628. package/esm2015/src/app/shared/material/material.module.js +0 -93
  629. package/esm2015/src/app/shared/material/numpad/numpad.append-to-input.directive.js +0 -96
  630. package/esm2015/src/app/shared/material/numpad/numpad.component.js +0 -73
  631. package/esm2015/src/app/shared/material/numpad/numpad.container.js +0 -149
  632. package/esm2015/src/app/shared/material/numpad/numpad.content.js +0 -14
  633. package/esm2015/src/app/shared/material/numpad/numpad.directive.js +0 -148
  634. package/esm2015/src/app/shared/material/numpad/numpad.dom-service.js +0 -37
  635. package/esm2015/src/app/shared/material/numpad/numpad.module.js +0 -39
  636. package/esm2015/src/app/shared/material/numpad/testing/numpad.test.js +0 -44
  637. package/esm2015/src/app/shared/material/paginator/material.paginator-i18n.js +0 -44
  638. package/esm2015/src/app/shared/material/stepper/material.stepper-i18n.js +0 -24
  639. package/esm2015/src/app/shared/material/swipe/material.swipe.js +0 -308
  640. package/esm2015/src/app/shared/material/swipe/swipe.module.js +0 -33
  641. package/esm2015/src/app/shared/material/swipe/testing/swipe.test.js +0 -68
  642. package/esm2015/src/app/shared/observables.js +0 -99
  643. package/esm2015/src/app/shared/pipes/arrays.pipe.js +0 -92
  644. package/esm2015/src/app/shared/pipes/date-diff-duration.pipe.js +0 -50
  645. package/esm2015/src/app/shared/pipes/date-format.pipe.js +0 -43
  646. package/esm2015/src/app/shared/pipes/file-size.pipe.js +0 -58
  647. package/esm2015/src/app/shared/pipes/form.pipes.js +0 -177
  648. package/esm2015/src/app/shared/pipes/highlight.pipe.js +0 -43
  649. package/esm2015/src/app/shared/pipes/latlong-format.pipe.js +0 -36
  650. package/esm2015/src/app/shared/pipes/maps.pipe.js +0 -48
  651. package/esm2015/src/app/shared/pipes/math.pipes.js +0 -44
  652. package/esm2015/src/app/shared/pipes/ng-init.pipe.js +0 -18
  653. package/esm2015/src/app/shared/pipes/pipes.module.js +0 -115
  654. package/esm2015/src/app/shared/pipes/property.pipes.js +0 -98
  655. package/esm2015/src/app/shared/pipes/string.pipes.js +0 -53
  656. package/esm2015/src/app/shared/pipes/translate-context.pipe.js +0 -36
  657. package/esm2015/src/app/shared/platforms.js +0 -45
  658. package/esm2015/src/app/shared/services/entity-service.class.js +0 -17
  659. package/esm2015/src/app/shared/services/job.utils.js +0 -96
  660. package/esm2015/src/app/shared/services/memory-entity-service.class.js +0 -260
  661. package/esm2015/src/app/shared/services/progress-bar.service.js +0 -30
  662. package/esm2015/src/app/shared/services/startable-service.class.js +0 -98
  663. package/esm2015/src/app/shared/services/storage.utils.js +0 -41
  664. package/esm2015/src/app/shared/services/translate-context.service.js +0 -83
  665. package/esm2015/src/app/shared/services/validator-service.class.js +0 -2
  666. package/esm2015/src/app/shared/services.js +0 -61
  667. package/esm2015/src/app/shared/shared-routing.module.js +0 -54
  668. package/esm2015/src/app/shared/shared.module.js +0 -135
  669. package/esm2015/src/app/shared/shared.testing.module.js +0 -33
  670. package/esm2015/src/app/shared/testing/tests.page.js +0 -34
  671. package/esm2015/src/app/shared/toast/toast.testing.js +0 -39
  672. package/esm2015/src/app/shared/toast/toast.testing.module.js +0 -33
  673. package/esm2015/src/app/shared/toast/toasts.js +0 -119
  674. package/esm2015/src/app/shared/toolbar/modal-toolbar.js +0 -53
  675. package/esm2015/src/app/shared/toolbar/toolbar.js +0 -213
  676. package/esm2015/src/app/shared/upload-file/testing/upload-file.testing.js +0 -59
  677. package/esm2015/src/app/shared/upload-file/testing/upload-file.testing.module.js +0 -33
  678. package/esm2015/src/app/shared/upload-file/upload-file-popover.component.js +0 -98
  679. package/esm2015/src/app/shared/upload-file/upload-file.component.js +0 -202
  680. package/esm2015/src/app/shared/upload-file/upload-file.model.js +0 -20
  681. package/esm2015/src/app/shared/validator/form-error-adapter.class.js +0 -99
  682. package/esm2015/src/app/shared/validator/validators.js +0 -537
  683. package/esm2015/src/app/social/job/job.model.js +0 -26
  684. package/esm2015/src/app/social/job/job.module.js +0 -25
  685. package/esm2015/src/app/social/job/job.service.js +0 -54
  686. package/esm2015/src/app/social/job/progression/job-progression.component.js +0 -200
  687. package/esm2015/src/app/social/job/progression/job-progression.list.js +0 -20
  688. package/esm2015/src/app/social/job/testing/job-progression.testing.js +0 -48
  689. package/esm2015/src/app/social/job/testing/job-progression.testing.service.js +0 -30
  690. package/esm2015/src/app/social/job/testing/job.testing.module.js +0 -25
  691. package/esm2015/src/app/social/message/message.form.js +0 -73
  692. package/esm2015/src/app/social/message/message.modal.js +0 -96
  693. package/esm2015/src/app/social/message/message.model.js +0 -65
  694. package/esm2015/src/app/social/message/message.module.js +0 -25
  695. package/esm2015/src/app/social/message/message.service.js +0 -87
  696. package/esm2015/src/app/social/social.module.js +0 -28
  697. package/esm2015/src/app/social/social.testing.module.js +0 -39
  698. package/esm2015/src/app/social/user-event/notification/user-event-notification.icon.js +0 -95
  699. package/esm2015/src/app/social/user-event/notification/user-event-notification.list.js +0 -203
  700. package/esm2015/src/app/social/user-event/testing/user-event.testing.js +0 -230
  701. package/esm2015/src/app/social/user-event/testing/user-event.testing.model.js +0 -103
  702. package/esm2015/src/app/social/user-event/testing/user-event.testing.module.js +0 -25
  703. package/esm2015/src/app/social/user-event/testing/user-event.testing.service.js +0 -117
  704. package/esm2015/src/app/social/user-event/user-event.model.js +0 -2
  705. package/esm2015/src/app/social/user-event/user-event.module.js +0 -27
  706. package/esm2015/src/app/social/user-event/user-event.service.js +0 -509
  707. package/esm2015/src/environments/environment.class.js +0 -5
  708. package/esm2015/src/environments/environment.js +0 -81
  709. package/esm2015/sumaris-net.ngx-components.js +0 -21
  710. package/fesm2015/sumaris-net.ngx-components.js +0 -29940
  711. package/fesm2015/sumaris-net.ngx-components.js.map +0 -1
  712. package/src/app/shared/services/storage.utils.d.ts +0 -13
  713. package/sumaris-net.ngx-components.d.ts +0 -20
  714. package/sumaris-net.ngx-components.metadata.json +0 -1
@@ -1,17 +1,19 @@
1
1
  import { AfterContentInit, ElementRef, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
2
- import { Platform } from '@ionic/angular';
3
- import { Keyboard } from '@ionic-native/keyboard/ngx';
2
+ import { KeyboardService } from '../capacitor/keyboard';
3
+ import * as i0 from "@angular/core";
4
4
  export declare class AutofocusDirective implements AfterContentInit, OnChanges, OnDestroy {
5
- protected keyboard: Keyboard;
5
+ private readonly _elementRef;
6
+ private readonly keyboard;
6
7
  shouldFocusElement: any;
7
8
  timerDelay: number;
8
- private readonly _elementRef;
9
9
  private readonly _mobile;
10
10
  private _timer;
11
- constructor(platform: Platform, elementRef: ElementRef, keyboard: Keyboard);
11
+ constructor(_elementRef: ElementRef, keyboard: KeyboardService);
12
12
  ngAfterContentInit(): void;
13
13
  ngOnChanges(changes: SimpleChanges): void;
14
14
  ngOnDestroy(): void;
15
- private startFocusWorkflow;
16
- private stopFocusWorkflow;
15
+ private _startFocus;
16
+ private _stop;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<AutofocusDirective, never>;
18
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AutofocusDirective, "[autofocus], input[appAutofocus]", never, { "shouldFocusElement": "appAutofocus"; "timerDelay": "autofocusDelay"; }, {}, never, never, false>;
17
19
  }
@@ -1,7 +1,10 @@
1
1
  import { AfterContentChecked, ElementRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
2
3
  export declare class AutoTitleDirective implements AfterContentChecked {
3
4
  private readonly elementRef;
4
5
  private readonly element;
5
6
  constructor(elementRef: ElementRef<HTMLElement>);
6
7
  ngAfterContentChecked(): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<AutoTitleDirective, never>;
9
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AutoTitleDirective, "[appAutoTitle]", never, {}, {}, never, never, false>;
7
10
  }
@@ -1,2 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./autofocus.directive";
3
+ import * as i2 from "./ng-var.directive";
4
+ import * as i3 from "./drag-and-drop.directive";
5
+ import * as i4 from "./autotitle.directive";
6
+ import * as i5 from "@angular/common";
7
+ import * as i6 from "@ionic/angular";
1
8
  export declare class SharedDirectivesModule {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<SharedDirectivesModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SharedDirectivesModule, [typeof i1.AutofocusDirective, typeof i2.NgVarDirective, typeof i3.DragAndDropDirective, typeof i4.AutoTitleDirective], [typeof i5.CommonModule, typeof i6.IonicModule], [typeof i1.AutofocusDirective, typeof i2.NgVarDirective, typeof i3.DragAndDropDirective, typeof i4.AutoTitleDirective]>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<SharedDirectivesModule>;
2
12
  }
@@ -1,4 +1,5 @@
1
1
  import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
2
3
  interface DropEvent extends Event {
3
4
  dataTransfer?: {
4
5
  files?: File[];
@@ -10,5 +11,7 @@ export declare class DragAndDropDirective {
10
11
  onDragOver(event: Event): void;
11
12
  onDragLeave(event: Event): void;
12
13
  ondrop(event: DropEvent): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<DragAndDropDirective, never>;
15
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DragAndDropDirective, "[appDragAndDrop]", never, {}, { "fileDropped": "fileDropped"; }, never, never, false>;
13
16
  }
14
17
  export {};
@@ -1,4 +1,5 @@
1
1
  import { TemplateRef, ViewContainerRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
2
3
  export declare class NgVarDirective {
3
4
  private templateRef;
4
5
  private vcRef;
@@ -6,4 +7,6 @@ export declare class NgVarDirective {
6
7
  private context;
7
8
  private hasView;
8
9
  constructor(templateRef: TemplateRef<any>, vcRef: ViewContainerRef);
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgVarDirective, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgVarDirective, "[ngVar]", never, { "ngVar": "ngVar"; }, {}, never, never, false>;
9
12
  }
@@ -1,5 +1,6 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import { MatColumnDef } from '@angular/material/table';
3
+ import * as i0 from "@angular/core";
3
4
  export declare class ResizableComponent {
4
5
  readonly columnDef: MatColumnDef;
5
6
  resizable: boolean;
@@ -15,4 +16,6 @@ export declare class ResizableComponent {
15
16
  onFit(opts?: {
16
17
  emitEvent: boolean;
17
18
  }): void;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResizableComponent, [{ optional: true; }]>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<ResizableComponent, "th[resizable]", never, { "resizable": "resizable"; }, { "sizeChanged": "sizeChanged"; }, never, ["*"], false>;
18
21
  }
@@ -1,9 +1,12 @@
1
1
  import { ElementRef } from '@angular/core';
2
2
  import { Observable } from 'rxjs';
3
+ import * as i0 from "@angular/core";
3
4
  export declare class ResizableDirective {
4
5
  private readonly document;
5
6
  private readonly elementRef;
6
7
  readonly resizable: Observable<number>;
7
8
  readonly fit: Observable<MouseEvent[]>;
8
9
  constructor(document: any, elementRef: ElementRef<HTMLElement>);
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResizableDirective, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ResizableDirective, "[resizable]", never, {}, { "resizable": "resizable"; "fit": "fit"; }, never, never, false>;
9
12
  }
@@ -1,2 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./resizable.component";
3
+ import * as i2 from "./resizable.directive";
1
4
  export declare class ResizableModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResizableModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ResizableModule, [typeof i1.ResizableComponent, typeof i2.ResizableDirective], never, [typeof i1.ResizableComponent, typeof i2.ResizableDirective]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<ResizableModule>;
2
8
  }
@@ -1,6 +1,7 @@
1
1
  import { Platform } from '@ionic/angular';
2
2
  import { ImageResizeOptions } from './images.utils';
3
3
  import { HttpClient } from '@angular/common/http';
4
+ import * as i0 from "@angular/core";
4
5
  export declare class FileService {
5
6
  private platform;
6
7
  private http;
@@ -17,4 +18,6 @@ export declare class FileService {
17
18
  outputType?: 'fileUrl' | 'dataUrl';
18
19
  }): Promise<string>;
19
20
  protected start(): void;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<FileService, never>;
22
+ static ɵprov: i0.ɵɵInjectableDeclaration<FileService>;
20
23
  }
@@ -8,7 +8,7 @@ export declare const MimeTypes: Readonly<{
8
8
  }>;
9
9
  export declare class FilesUtils {
10
10
  static UTF8_BOM_CHAR: Uint8Array;
11
- static showUploadPopover<T>(popoverController: PopoverController, event: UIEvent, opts: UploadFilePopoverOptions<T>): Promise<OverlayEventDetail<UploadFile<T>[]>>;
11
+ static showUploadPopover<T>(popoverController: PopoverController, event: Event, opts: UploadFilePopoverOptions<T>): Promise<OverlayEventDetail<UploadFile<T>[]>>;
12
12
  static readAsText(file: File, encoding?: string): Observable<FileEvent<string>>;
13
13
  static writeTextToFile(content: string, opts?: {
14
14
  filename?: string;
@@ -1,9 +1,11 @@
1
1
  import { ChangeDetectorRef, ElementRef, EventEmitter, InjectionToken, Injector, OnInit } from '@angular/core';
2
- import { ControlValueAccessor, FormControl, FormGroupDirective } from '@angular/forms';
2
+ import { ControlValueAccessor, UntypedFormControl, FormGroupDirective } from '@angular/forms';
3
3
  import { FloatLabelType } from '@angular/material/form-field';
4
4
  import { DisplayFn, FormFieldDefinition, FormFieldType } from './field.model';
5
5
  import { TranslateService } from '@ngx-translate/core';
6
6
  import { filterNumberInput, selectInputContent } from '../inputs';
7
+ import { Property } from '../types';
8
+ import * as i0 from "@angular/core";
7
9
  export declare class AppFormField implements OnInit, ControlValueAccessor {
8
10
  protected translate: TranslateService;
9
11
  protected cd: ChangeDetectorRef;
@@ -12,6 +14,7 @@ export declare class AppFormField implements OnInit, ControlValueAccessor {
12
14
  private _onChangeCallback;
13
15
  private _onTouchedCallback;
14
16
  private _definition;
17
+ protected _values: Property[];
15
18
  type: FormFieldType;
16
19
  numberInputStep: string;
17
20
  set definition(value: FormFieldDefinition);
@@ -19,7 +22,7 @@ export declare class AppFormField implements OnInit, ControlValueAccessor {
19
22
  required: boolean;
20
23
  readonly: boolean;
21
24
  disabled: boolean;
22
- formControl: FormControl;
25
+ formControl: UntypedFormControl;
23
26
  formControlName: string;
24
27
  placeholder: string;
25
28
  compact: boolean;
@@ -44,7 +47,10 @@ export declare class AppFormField implements OnInit, ControlValueAccessor {
44
47
  getDisplayValueFn(definition: FormFieldDefinition): DisplayFn;
45
48
  getColorContrast(color: string): string | undefined;
46
49
  protected computeNumberInputStep(definition: FormFieldDefinition): string;
47
- protected computeValuesFromToken(token: InjectionToken<any>): any[];
50
+ protected computeValuesFromToken(token: InjectionToken<(string | Property)[]>): any[];
51
+ protected computeValues(values: (string | Property)[]): Property[];
48
52
  protected checkAndResolveFormControl(): void;
49
53
  protected updateTabIndex(): void;
54
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppFormField, [null, null, null, { optional: true; }]>;
55
+ static ɵcmp: i0.ɵɵComponentDeclaration<AppFormField, "app-form-field", never, { "definition": "definition"; "required": "required"; "readonly": "readonly"; "disabled": "disabled"; "formControl": "formControl"; "formControlName": "formControlName"; "placeholder": "placeholder"; "compact": "compact"; "floatLabel": "floatLabel"; "tabindex": "tabindex"; "autofocus": "autofocus"; "classList": "class"; }, { "onKeyupEnter": "keyup.enter"; }, never, ["[matSuffix]", "[matSuffix]", "[matSuffix]", "[matSuffix]", "[matSuffix]", "[matSuffix]", "[matSuffix]", "[matPrefix]", "[matSuffix]", "[matPrefix]", "[matSuffix]", "[matSuffix]"], false>;
50
56
  }
@@ -1,6 +1,6 @@
1
1
  import { ObjectMap, Property } from '../types';
2
2
  import { InjectionToken } from '@angular/core';
3
- import { MatAutocompleteFieldAddOptions } from '../material/autocomplete/material.autocomplete';
3
+ import { MatAutocompleteFieldConfig } from '../material/autocomplete/material.autocomplete.config';
4
4
  export declare type DisplayFn = (obj: any) => string;
5
5
  export declare type EqualsFn = (o1: any, o2: any) => boolean;
6
6
  export declare type CompareFn = (o1: any, o2: any) => number;
@@ -15,7 +15,7 @@ export declare interface FormFieldDefinition<K = string, T = FormFieldType, E =
15
15
  defaultValue?: any;
16
16
  isTransient?: boolean;
17
17
  values?: (string | Property)[] | InjectionToken<(string | Property)[]>;
18
- autocomplete?: MatAutocompleteFieldAddOptions<E>;
18
+ autocomplete?: MatAutocompleteFieldConfig<E>;
19
19
  disabled?: boolean;
20
20
  required?: boolean;
21
21
  extra?: {
@@ -1,5 +1,8 @@
1
+ import * as i0 from "@angular/core";
1
2
  export declare class AppLoadingSpinner {
2
3
  loading: boolean;
3
4
  color: string | undefined;
4
5
  name: 'bubbles' | 'circles' | 'circular' | 'crescent' | 'dots' | 'lines' | 'lines-small' | undefined;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppLoadingSpinner, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<AppLoadingSpinner, "app-loading-spinner", never, { "loading": "loading"; "color": "color"; "name": "name"; }, {}, never, ["*"], false>;
5
8
  }
@@ -1,4 +1,4 @@
1
- import { AbstractControl, FormArray, FormGroup, ValidationErrors } from '@angular/forms';
1
+ import { AbstractControl, UntypedFormArray, UntypedFormGroup, ValidationErrors } from '@angular/forms';
2
2
  import { WaitForOptions } from './observables';
3
3
  export interface FormErrors {
4
4
  [key: string]: ValidationErrors;
@@ -10,11 +10,11 @@ export interface FormErrors {
10
10
  * @param entity
11
11
  * @param opts
12
12
  */
13
- export declare function copyEntity2Form(entity: any, target: FormGroup, opts?: {
13
+ export declare function copyEntity2Form(entity: any, target: UntypedFormGroup, opts?: {
14
14
  emitEvent?: boolean;
15
15
  onlySelf?: boolean;
16
16
  }): void;
17
- export declare function getFormValueFromEntity(entity: any | undefined, form: FormGroup): {
17
+ export declare function getFormValueFromEntity(entity: any | undefined, form: UntypedFormGroup): {
18
18
  [key: string]: any;
19
19
  };
20
20
  /**
@@ -31,22 +31,22 @@ export declare function getFormErrors(control: AbstractControl, opts?: {
31
31
  result?: FormErrors;
32
32
  recursive?: boolean;
33
33
  }): FormErrors;
34
- export declare function getControlFromPath(form: FormGroup, path: string): AbstractControl;
35
- export declare function disableControls(form: FormGroup, paths: string[], opts?: {
34
+ export declare function getControlFromPath(form: UntypedFormGroup, path: string): AbstractControl;
35
+ export declare function disableControls(form: UntypedFormGroup, paths: string[], opts?: {
36
36
  onlySelf?: boolean;
37
37
  emitEvent?: boolean;
38
38
  }): void;
39
- export declare function addValueInArray(arrayControl: FormArray, createControl: (value?: any) => AbstractControl, equals: (v1: any, v2: any) => boolean, isEmpty: (value: any) => boolean, value: any, options?: {
39
+ export declare function addValueInArray(arrayControl: UntypedFormArray, createControl: (value?: any) => AbstractControl, equals: (v1: any, v2: any) => boolean, isEmpty: (value: any) => boolean, value: any, options?: {
40
40
  emitEvent: boolean;
41
41
  }): boolean;
42
- export declare function resizeArray(arrayControl: FormArray, createControl: () => AbstractControl, length: number): boolean;
43
- export declare function removeValueInArray(arrayControl: FormArray, isEmpty: (value: any) => boolean, index: number): boolean;
44
- export declare function clearValueInArray(arrayControl: FormArray, isEmpty: (value: any) => boolean, index: number): boolean;
42
+ export declare function resizeArray(arrayControl: UntypedFormArray, createControl: () => AbstractControl, length: number): boolean;
43
+ export declare function removeValueInArray(arrayControl: UntypedFormArray, isEmpty: (value: any) => boolean, index: number): boolean;
44
+ export declare function clearValueInArray(arrayControl: UntypedFormArray, isEmpty: (value: any) => boolean, index: number): boolean;
45
45
  export declare function markAllAsTouched(control: AbstractControl, opts?: {
46
46
  onlySelf?: boolean;
47
47
  emitEvent?: boolean;
48
48
  }): void;
49
- export declare function markFormGroupAsTouched(form: FormGroup, opts?: {
49
+ export declare function markFormGroupAsTouched(form: UntypedFormGroup, opts?: {
50
50
  onlySelf?: boolean;
51
51
  emitEvent?: boolean;
52
52
  }): void;
@@ -54,11 +54,11 @@ export declare function markControlAsTouched(control: AbstractControl, opts?: {
54
54
  onlySelf?: boolean;
55
55
  emitEvent?: boolean;
56
56
  }): void;
57
- export declare function updateValueAndValidity(form: FormGroup, opts?: {
57
+ export declare function updateValueAndValidity(form: UntypedFormGroup, opts?: {
58
58
  onlySelf?: boolean;
59
59
  emitEvent?: boolean;
60
60
  }): void;
61
- export declare function markAsUntouched(form: FormGroup, opts?: {
61
+ export declare function markAsUntouched(form: UntypedFormGroup, opts?: {
62
62
  onlySelf?: boolean;
63
63
  }): void;
64
64
  /**
@@ -1,4 +1,5 @@
1
1
  import { HammerGestureConfig } from '@angular/platform-browser';
2
+ import * as i0 from "@angular/core";
2
3
  export declare const HAMMER_TAP_TIME = 250;
3
4
  export declare const HAMMER_PRESS_TIME = 400;
4
5
  /**
@@ -9,4 +10,6 @@ export declare const HAMMER_PRESS_TIME = 400;
9
10
  export declare class AppGestureConfig extends HammerGestureConfig {
10
11
  overrides: any;
11
12
  buildHammer(element: HTMLElement): any;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppGestureConfig, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<AppGestureConfig>;
12
15
  }
@@ -1,16 +1,16 @@
1
1
  export declare type HammerSwipeAction = 'swipeleft' | 'swiperight';
2
- export declare type HammerSwipeEvent = UIEvent & {
2
+ export declare interface HammerSwipeEvent extends Event {
3
3
  type: HammerSwipeAction;
4
- pointerType: 'touch' | any;
5
- center: {
4
+ pointerType?: 'touch' | any;
5
+ center?: {
6
6
  x: number;
7
7
  y: number;
8
8
  };
9
- distance: number;
10
- velocity: number;
11
- srcEvent: UIEvent;
12
- };
13
- export declare type HammerTapEvent = UIEvent & {
14
- tapCount: number;
15
- srcEvent: UIEvent;
16
- };
9
+ distance?: number;
10
+ velocity?: number;
11
+ srcEvent?: Event;
12
+ }
13
+ export declare interface HammerTapEvent extends Event {
14
+ tapCount?: number;
15
+ srcEvent?: Event;
16
+ }
@@ -1,6 +1,7 @@
1
1
  import { ActivatedRouteSnapshot, CanDeactivate, RouterStateSnapshot, UrlTree } from '@angular/router';
2
2
  import { TranslateService } from '@ngx-translate/core';
3
3
  import { AlertController } from '@ionic/angular';
4
+ import * as i0 from "@angular/core";
4
5
  export interface CanLeave {
5
6
  dirty: boolean;
6
7
  valid: boolean;
@@ -13,4 +14,6 @@ export declare class ComponentDirtyGuard implements CanDeactivate<CanLeave> {
13
14
  private debug;
14
15
  constructor(translate: TranslateService, alertCtrl: AlertController);
15
16
  canDeactivate(component: CanLeave, currentRoute: ActivatedRouteSnapshot, currentState: RouterStateSnapshot, nextState?: RouterStateSnapshot): Promise<boolean | UrlTree>;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<ComponentDirtyGuard, never>;
18
+ static ɵprov: i0.ɵɵInjectableDeclaration<ComponentDirtyGuard>;
16
19
  }
@@ -3,6 +3,7 @@ import { ModalController } from '@ionic/angular';
3
3
  import { PlatformService } from '../../core/services/platform.service';
4
4
  import { LocalSettingsService } from '../../core/services/local-settings.service';
5
5
  import { TranslateService } from '@ngx-translate/core';
6
+ import * as i0 from "@angular/core";
6
7
  export interface AppHelpModalOptions {
7
8
  title?: string;
8
9
  markdownContent?: string;
@@ -24,7 +25,9 @@ export declare class AppHelpModal implements AppHelpModalOptions {
24
25
  markdownContent: string;
25
26
  markdownUrl: string;
26
27
  constructor(injector: Injector, viewCtrl: ModalController, platform: PlatformService, settings: LocalSettingsService, translate: TranslateService, cd: ChangeDetectorRef);
27
- close(event?: UIEvent): Promise<boolean>;
28
+ close(event?: Event): Promise<boolean>;
28
29
  markAsLoaded(): void;
29
30
  onLoadError(error?: string): void;
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppHelpModal, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<AppHelpModal, "app-help-modal", never, { "title": "title"; "showError": "showError"; "markdownContent": "markdownContent"; "markdownUrl": "markdownUrl"; }, {}, never, never, false>;
30
33
  }
@@ -1,7 +1,10 @@
1
1
  import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
2
3
  export declare class HotkeysDialogComponent implements OnInit {
3
4
  protected data: any;
4
5
  hotkeys: unknown[];
5
6
  constructor(data: any);
6
7
  ngOnInit(): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<HotkeysDialogComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<HotkeysDialogComponent, "ng-component", never, {}, {}, never, never, false>;
7
10
  }
@@ -2,6 +2,7 @@ import { EventManager } from '@angular/platform-browser';
2
2
  import { Observable } from 'rxjs';
3
3
  import { MatDialog } from '@angular/material/dialog';
4
4
  import { ModalController, PopoverController } from '@ionic/angular';
5
+ import * as i0 from "@angular/core";
5
6
  interface Options {
6
7
  element: any;
7
8
  elementName: string;
@@ -19,7 +20,9 @@ export declare class Hotkeys {
19
20
  private _hotkeys;
20
21
  private _defaults;
21
22
  constructor(eventManager: EventManager, dialog: MatDialog, document: any, modalController: ModalController, popoverController: PopoverController);
22
- addShortcut(options: Partial<Options>): Observable<UIEvent>;
23
+ addShortcut(options: Partial<Options>): Observable<Event>;
23
24
  openHelpModal(): void;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<Hotkeys, never>;
26
+ static ɵprov: i0.ɵɵInjectableDeclaration<Hotkeys>;
24
27
  }
25
28
  export {};
@@ -1,2 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./dialog/hotkeys-dialog.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/material/core";
5
+ import * as i4 from "@angular/material/dialog";
6
+ import * as i5 from "@ngx-translate/core";
1
7
  export declare class SharedHotkeysModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<SharedHotkeysModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SharedHotkeysModule, [typeof i1.HotkeysDialogComponent], [typeof i2.CommonModule, typeof i3.MatCommonModule, typeof i4.MatDialogModule, typeof i5.TranslateModule], [typeof i1.HotkeysDialogComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<SharedHotkeysModule>;
2
11
  }
@@ -0,0 +1,77 @@
1
+ import { AfterContentChecked, ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
2
+ import { BehaviorSubject, Subject, Subscription } from 'rxjs';
3
+ import { TableDataSource, TableElement } from '@e-is/ngx-material-table';
4
+ import { Environment } from '../../../../environments/environment.class';
5
+ import { ImageService } from '../image.service';
6
+ import { Image } from '../image.model';
7
+ import { AlertController, IonModal, IonSlides, Platform } from '@ionic/angular';
8
+ import { CollectionViewer, ListRange } from '@angular/cdk/collections';
9
+ import { TranslateService } from '@ngx-translate/core';
10
+ import * as i0 from "@angular/core";
11
+ export declare type GalleryMode = 'mosaic' | 'list';
12
+ export declare class AppImageGalleryComponent<T extends Image> implements OnInit, OnDestroy, CollectionViewer, AfterContentChecked {
13
+ protected image: ImageService;
14
+ protected platform: Platform;
15
+ protected alterCtrl: AlertController;
16
+ protected translate: TranslateService;
17
+ protected cd: ChangeDetectorRef;
18
+ protected _destroySubject: Subject<void>;
19
+ protected _renderChangeSubscription: Subscription;
20
+ protected _subscription: Subscription;
21
+ protected _dataSource: TableDataSource<T>;
22
+ protected _dirty: boolean;
23
+ protected _data: TableElement<T>[];
24
+ protected _colSize: number;
25
+ protected _selectedRowIndex: number;
26
+ protected _presentingElement: Element;
27
+ zoomActive: boolean;
28
+ zoomScale: number;
29
+ sliderOpts: {
30
+ allowSlidePrev: boolean;
31
+ allowSlideNext: boolean;
32
+ zoom: {
33
+ maxRatio: number;
34
+ };
35
+ on: {
36
+ zoomChange: (scale: any, imageEl: any, slideEl: any) => void;
37
+ };
38
+ };
39
+ modalSliderOpts: {
40
+ zoom: boolean;
41
+ };
42
+ viewChange: BehaviorSubject<ListRange>;
43
+ debug: boolean;
44
+ readOnly: boolean;
45
+ disabled: boolean;
46
+ showToolbar: boolean;
47
+ mobile: boolean;
48
+ mode: GalleryMode;
49
+ confirmBeforeDelete: boolean;
50
+ set dataSource(dataSource: TableDataSource<T>);
51
+ get dataSource(): TableDataSource<T>;
52
+ get enabled(): boolean;
53
+ get rows(): TableElement<T>[];
54
+ slides: IonSlides;
55
+ zoomModal: IonModal;
56
+ constructor(image: ImageService, platform: Platform, alterCtrl: AlertController, translate: TranslateService, cd: ChangeDetectorRef, environment?: Environment);
57
+ ngOnInit(): void;
58
+ ngAfterContentChecked(): void;
59
+ ngOnDestroy(): void;
60
+ add(event?: UIEvent): Promise<void>;
61
+ delete(event: Event, row: TableElement<T>): Promise<boolean>;
62
+ toggleViewMode(event?: Event): void;
63
+ trackByFn(index: number, row: TableElement<T>): number;
64
+ protected _switchDataSource(dataSource: TableDataSource<T>): void;
65
+ protected _observeRenderChanges(): void;
66
+ protected getTableUnknownDataSourceError(): Error;
67
+ protected touchStart(card: any): void;
68
+ protected touchEnd(card: any): Promise<void>;
69
+ protected clickRow(row: TableElement<T>, index: number): Promise<void>;
70
+ protected initModalSlides(slides: IonSlides): Promise<void>;
71
+ protected zoom(slides: IonSlides, zoomIn: boolean): Promise<void>;
72
+ protected deleteFromModal(event: any, slides: IonSlides): Promise<boolean>;
73
+ protected slidePrev(slides: IonSlides): Promise<void>;
74
+ protected slideNext(slides: IonSlides): Promise<void>;
75
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppImageGalleryComponent<any>, [null, null, null, null, null, { optional: true; }]>;
76
+ static ɵcmp: i0.ɵɵComponentDeclaration<AppImageGalleryComponent<any>, "app-image-gallery", never, { "debug": "debug"; "readOnly": "readOnly"; "disabled": "disabled"; "showToolbar": "showToolbar"; "mobile": "mobile"; "mode": "mode"; "confirmBeforeDelete": "confirmBeforeDelete"; "dataSource": "dataSource"; }, {}, never, never, false>;
77
+ }
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./image-gallery.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@ionic/angular";
5
+ import * as i4 from "../../material/material.module";
6
+ import * as i5 from "../../pipes/pipes.module";
7
+ import * as i6 from "@ngx-translate/core";
8
+ export declare class ImageGalleryModule {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<ImageGalleryModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ImageGalleryModule, [typeof i1.AppImageGalleryComponent], [typeof i2.CommonModule, typeof i3.IonicModule, typeof i4.SharedMaterialModule, typeof i5.SharedPipesModule, typeof i6.TranslateModule], [typeof i1.AppImageGalleryComponent]>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<ImageGalleryModule>;
12
+ }
@@ -0,0 +1,12 @@
1
+ import { Entity } from '../../../../core/services/model/entity.model';
2
+ import { EntityFilter } from '../../../../core/services/model/filter.model';
3
+ import { Image } from '../../image.model';
4
+ export declare class ImageAttachment extends Entity<ImageAttachment> implements Image {
5
+ static fromObject: (source: any, opts?: any) => ImageAttachment;
6
+ dataUrl: string;
7
+ url: string;
8
+ fromObject(source: any, opts?: any): void;
9
+ }
10
+ export declare class ImageAttachmentFilter extends EntityFilter<ImageAttachmentFilter, ImageAttachment> {
11
+ static fromObject: (source: any, opts?: any) => ImageAttachmentFilter;
12
+ }
@@ -0,0 +1,33 @@
1
+ import { SortDirection } from '@angular/material/sort';
2
+ import { BehaviorSubject, Observable } from 'rxjs';
3
+ import { StartableService } from '../../../services/startable-service.class';
4
+ import { EntitiesServiceWatchOptions, IEntitiesService, LoadResult } from '../../../services/entity-service.class';
5
+ import { Platform } from '@ionic/angular';
6
+ import { Entity } from '../../../../core/services/model/entity.model';
7
+ import { Image } from '../../image.model';
8
+ import { EntityFilter } from '../../../../core/services/model/filter.model';
9
+ import * as i0 from "@angular/core";
10
+ export declare class ImageAttachment extends Entity<ImageAttachment> implements Image {
11
+ static fromObject: (source: any, opts?: any) => ImageAttachment;
12
+ dataUrl: string;
13
+ url: string;
14
+ title: string;
15
+ fromObject(source: any, opts?: any): void;
16
+ }
17
+ export declare class ImageAttachmentFilter extends EntityFilter<ImageAttachmentFilter, ImageAttachment> {
18
+ static fromObject: (source: any, opts?: any) => ImageAttachmentFilter;
19
+ }
20
+ export declare class ImageAttachmentService extends StartableService implements IEntitiesService<ImageAttachment, ImageAttachmentFilter> {
21
+ protected platform: Platform;
22
+ $images: BehaviorSubject<Partial<ImageAttachment>[]>;
23
+ constructor(platform: Platform);
24
+ protected ngOnStart(): Promise<any>;
25
+ watchAll(offset: number, size: number, sortBy?: string, sortDirection?: SortDirection, filter?: ImageAttachmentFilter, opts?: EntitiesServiceWatchOptions & {
26
+ query?: any;
27
+ }): Observable<LoadResult<ImageAttachment>>;
28
+ saveAll(entities: ImageAttachment[], opts?: any): Promise<any[]>;
29
+ deleteAll(entities: ImageAttachment[], opts?: any): Promise<any>;
30
+ asFilter(filter: any): ImageAttachmentFilter;
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<ImageAttachmentService, never>;
32
+ static ɵprov: i0.ɵɵInjectableDeclaration<ImageAttachmentService>;
33
+ }
@@ -0,0 +1,15 @@
1
+ import { OnDestroy, OnInit } from '@angular/core';
2
+ import { ImageAttachment, ImageAttachmentService } from './gallery.service.testing';
3
+ import { EntitiesTableDataSource } from '../../../../core/table/entities-table-datasource.class';
4
+ import { ImageAttachmentFilter } from './gallegry.model.testing';
5
+ import * as i0 from "@angular/core";
6
+ export declare class GalleryTestPage implements OnInit, OnDestroy {
7
+ protected dataService: ImageAttachmentService;
8
+ private _subscription;
9
+ readonly dataSource: EntitiesTableDataSource<ImageAttachment, ImageAttachmentFilter, number, import("@sumaris-net/ngx-components").EntitiesServiceWatchOptions, any, import("@e-is/ngx-material-table").ValidatorService, import("../../../../core/table/entities-table-datasource.class").EntitiesTableDataSourceConfig<ImageAttachment, number, import("@sumaris-net/ngx-components").EntitiesServiceWatchOptions, any>>;
10
+ constructor(dataService: ImageAttachmentService);
11
+ ngOnInit(): void;
12
+ ngOnDestroy(): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<GalleryTestPage, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<GalleryTestPage, "app-gallery-test-page", never, {}, {}, never, never, false>;
15
+ }
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./gallery.testing";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@ionic/angular";
5
+ import * as i4 from "../image-gallery.module";
6
+ import * as i5 from "@ngx-translate/core";
7
+ import * as i6 from "@angular/router";
8
+ export declare class ImageGalleryTestingModule {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<ImageGalleryTestingModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ImageGalleryTestingModule, [typeof i1.GalleryTestPage], [typeof i2.CommonModule, typeof i3.IonicModule, typeof i4.ImageGalleryModule, typeof i5.TranslateModule, typeof i6.RouterModule, typeof i5.TranslateModule], [typeof i6.RouterModule, typeof i1.GalleryTestPage]>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<ImageGalleryTestingModule>;
12
+ }
@@ -0,0 +1,5 @@
1
+ export interface Image {
2
+ dataUrl: string;
3
+ url: string;
4
+ title?: string;
5
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "./gallery/image-gallery.module";
4
+ export declare class ImageModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ImageModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ImageModule, never, [typeof i1.CommonModule, typeof i2.ImageGalleryModule], [typeof i2.ImageGalleryModule]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<ImageModule>;
8
+ }
@@ -0,0 +1,32 @@
1
+ import { ActionSheetController, PopoverController } from '@ionic/angular';
2
+ import { TranslateService } from '@ngx-translate/core';
3
+ import { StartableService } from '../services/startable-service.class';
4
+ import { Environment } from '../../../environments/environment.class';
5
+ import { PlatformService } from '../../core/services/platform.service';
6
+ import { LocalSettingsService } from '../../core/services/local-settings.service';
7
+ import { Image } from './image.model';
8
+ import * as i0 from "@angular/core";
9
+ export declare class ImageService extends StartableService {
10
+ protected platform: PlatformService;
11
+ protected settings: LocalSettingsService;
12
+ protected translate: TranslateService;
13
+ protected popoverController: PopoverController;
14
+ protected actionSheetController: ActionSheetController;
15
+ protected environment?: Environment;
16
+ private defaultMaxHeight;
17
+ private defaultMaxWidth;
18
+ constructor(platform: PlatformService, settings: LocalSettingsService, translate: TranslateService, popoverController: PopoverController, actionSheetController: ActionSheetController, environment?: Environment);
19
+ protected ngOnStart(): Promise<any>;
20
+ add(event?: Event, opts?: {
21
+ maxHeight?: number;
22
+ mawWidth?: number;
23
+ quality?: number;
24
+ }): Promise<Image[] | undefined>;
25
+ protected addUploadedImages(event?: Event, opts?: {
26
+ maxHeight?: number;
27
+ mawWidth?: number;
28
+ quality?: number;
29
+ }): Promise<Image[] | undefined>;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<ImageService, [null, null, null, null, null, { optional: true; }]>;
31
+ static ɵprov: i0.ɵɵInjectableDeclaration<ImageService>;
32
+ }