@sumaris-net/ngx-components 1.23.54 → 2.0.0-rc10

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 (738) hide show
  1. package/doc/build.md +2 -2
  2. package/doc/changelog.md +8 -0
  3. package/esm2020/public_api.mjs +277 -0
  4. package/esm2020/src/app/admin/admin-routing.module.mjs +41 -0
  5. package/esm2020/src/app/admin/admin.module.mjs +34 -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 +233 -0
  10. package/esm2020/src/app/admin/users/list/users.module.mjs +58 -0
  11. package/esm2020/src/app/core/about/modal-about.mjs +71 -0
  12. package/esm2020/src/app/core/account/account.mjs +230 -0
  13. package/esm2020/src/app/core/auth/form/form-auth.mjs +131 -0
  14. package/esm2020/src/app/core/auth/modal/modal-auth.mjs +72 -0
  15. package/esm2020/src/app/core/core.module.mjs +223 -0
  16. package/esm2020/src/app/core/core.testing.module.mjs +86 -0
  17. package/esm2020/src/app/core/form/editor.class.mjs +675 -0
  18. package/esm2020/src/app/core/form/entity-editor-modal.class.mjs +421 -0
  19. package/esm2020/src/app/core/form/entity-editor.class.mjs +646 -0
  20. package/esm2020/src/app/core/form/entity-metadata.component.mjs +25 -0
  21. package/esm2020/src/app/core/form/form-buttons-bar.component.mjs +71 -0
  22. package/esm2020/src/app/core/form/form.class.mjs +340 -0
  23. package/esm2020/src/app/core/form/form.utils.mjs +299 -0
  24. package/esm2020/src/app/core/form/list.form.mjs +222 -0
  25. package/esm2020/src/app/core/form/properties/properties.form.mjs +129 -0
  26. package/esm2020/src/app/core/form/properties/property.validator.mjs +23 -0
  27. package/esm2020/src/app/core/form/properties/testing/properties-form.test.mjs +90 -0
  28. package/esm2020/src/app/core/form/properties/testing/properties-form.testing.module.mjs +39 -0
  29. package/esm2020/src/app/core/graphql/graphql.module.mjs +22 -0
  30. package/esm2020/src/app/core/graphql/graphql.service.mjs +730 -0
  31. package/esm2020/src/app/core/graphql/graphql.utils.mjs +117 -0
  32. package/esm2020/src/app/core/home/home.mjs +257 -0
  33. package/esm2020/src/app/core/icon/icon.component.mjs +41 -0
  34. package/esm2020/src/app/core/icon/icon.module.mjs +29 -0
  35. package/esm2020/src/app/core/install/install-upgrade-card.component.mjs +337 -0
  36. package/esm2020/src/app/core/install/install-upgrade-card.module.mjs +33 -0
  37. package/esm2020/src/app/core/menu/menu.component.mjs +317 -0
  38. package/{esm2015/src/app/core/menu/menu.model.js → esm2020/src/app/core/menu/menu.model.mjs} +0 -0
  39. package/esm2020/src/app/core/menu/menu.module.mjs +45 -0
  40. package/{esm2015/src/app/core/menu/menu.service.js → esm2020/src/app/core/menu/menu.service.mjs} +9 -7
  41. package/esm2020/src/app/core/offline/update-offline-mode-card.component.mjs +27 -0
  42. package/esm2020/src/app/core/peer/select-peer.modal.mjs +130 -0
  43. package/esm2020/src/app/core/peer/select-peer.module.mjs +35 -0
  44. package/esm2020/src/app/core/register/confirm/confirm.mjs +81 -0
  45. package/esm2020/src/app/core/register/form/form-register.mjs +181 -0
  46. package/esm2020/src/app/core/register/modal/modal-register.mjs +52 -0
  47. package/esm2020/src/app/core/register/register.module.mjs +42 -0
  48. package/esm2020/src/app/core/services/account.service.mjs +1112 -0
  49. package/esm2020/src/app/core/services/auth-guard.service.mjs +71 -0
  50. package/esm2020/src/app/core/services/base-entity-service.class.mjs +432 -0
  51. package/esm2020/src/app/core/services/base-graphql-service.class.mjs +219 -0
  52. package/{esm2015/src/app/core/services/base58.js → esm2020/src/app/core/services/base58.mjs} +0 -0
  53. package/{esm2015/src/app/core/services/config/core.config.js → esm2020/src/app/core/services/config/core.config.mjs} +0 -0
  54. package/esm2020/src/app/core/services/config.service.mjs +354 -0
  55. package/{esm2015/src/app/core/services/crypto.service.js → esm2020/src/app/core/services/crypto.service.mjs} +7 -5
  56. package/{esm2015/src/app/core/services/errors.js → esm2020/src/app/core/services/errors.mjs} +0 -0
  57. package/esm2020/src/app/core/services/local-settings.service.mjs +442 -0
  58. package/esm2020/src/app/core/services/model/account.model.mjs +50 -0
  59. package/esm2020/src/app/core/services/model/config.model.mjs +89 -0
  60. package/esm2020/src/app/core/services/model/department.model.mjs +30 -0
  61. package/esm2020/src/app/core/services/model/entity.decorators.mjs +107 -0
  62. package/esm2020/src/app/core/services/model/entity.model.mjs +242 -0
  63. package/{esm2015/src/app/core/services/model/filter.model.js → esm2020/src/app/core/services/model/filter.model.mjs} +0 -0
  64. package/{esm2015/src/app/core/services/model/history.model.js → esm2020/src/app/core/services/model/history.model.mjs} +0 -0
  65. package/{esm2015/src/app/core/services/model/model.enum.js → esm2020/src/app/core/services/model/model.enum.mjs} +0 -0
  66. package/esm2020/src/app/core/services/model/peer.model.mjs +68 -0
  67. package/esm2020/src/app/core/services/model/person.model.mjs +83 -0
  68. package/esm2020/src/app/core/services/model/referential.model.mjs +153 -0
  69. package/esm2020/src/app/core/services/model/settings.model.mjs +75 -0
  70. package/esm2020/src/app/core/services/network.service.mjs +595 -0
  71. package/esm2020/src/app/core/services/network.utils.mjs +16 -0
  72. package/esm2020/src/app/core/services/pipes/account.pipes.mjs +38 -0
  73. package/esm2020/src/app/core/services/pipes/department-to-string.pipe.mjs +23 -0
  74. package/esm2020/src/app/core/services/pipes/person-to-string.pipe.mjs +23 -0
  75. package/esm2020/src/app/core/services/pipes/usage-mode.pipes.mjs +37 -0
  76. package/esm2020/src/app/core/services/platform.service.mjs +476 -0
  77. package/esm2020/src/app/core/services/storage/entities-storage.service.mjs +422 -0
  78. package/esm2020/src/app/core/services/storage/entity-store.class.mjs +449 -0
  79. package/esm2020/src/app/core/services/testing/referential-filter.model.mjs +23 -0
  80. package/esm2020/src/app/core/services/testing/referential.validator.mjs +45 -0
  81. package/esm2020/src/app/core/services/validator/account.validator.mjs +52 -0
  82. package/esm2020/src/app/core/services/validator/base.validator.class.mjs +47 -0
  83. package/esm2020/src/app/core/services/validator/local-settings.validator.mjs +66 -0
  84. package/esm2020/src/app/core/services/validator/user-settings.validator.mjs +29 -0
  85. package/esm2020/src/app/core/settings/settings.page.mjs +290 -0
  86. package/esm2020/src/app/core/table/actions-column.component.mjs +96 -0
  87. package/esm2020/src/app/core/table/entities-table-datasource.class.mjs +394 -0
  88. package/esm2020/src/app/core/table/memory-table.class.mjs +53 -0
  89. package/esm2020/src/app/core/table/table-select-columns.component.mjs +43 -0
  90. package/esm2020/src/app/core/table/table.class.mjs +1669 -0
  91. package/esm2020/src/app/core/table/table.utils.mjs +13 -0
  92. package/esm2020/src/app/core/table/testing/table.testing.mjs +264 -0
  93. package/esm2020/src/app/core/table/testing/table.testing.module.mjs +38 -0
  94. package/esm2020/src/app/core/text-popover/testing/text-popover.testing.mjs +37 -0
  95. package/esm2020/src/app/core/text-popover/testing/text-popover.testing.module.mjs +45 -0
  96. package/esm2020/src/app/core/text-popover/text-form.component.mjs +84 -0
  97. package/esm2020/src/app/core/text-popover/text-popover.component.mjs +92 -0
  98. package/esm2020/src/app/shared/alerts.mjs +238 -0
  99. package/esm2020/src/app/shared/audio/audio.mjs +201 -0
  100. package/esm2020/src/app/shared/audio/audio.testing.mjs +31 -0
  101. package/esm2020/src/app/shared/audio/audio.testing.module.mjs +45 -0
  102. package/esm2020/src/app/shared/capacitor/keyboard.mjs +40 -0
  103. package/esm2020/src/app/shared/capacitor/plugins.mjs +9 -0
  104. package/{esm2015/src/app/shared/constants.js → esm2020/src/app/shared/constants.mjs} +2 -1
  105. package/esm2020/src/app/shared/dates.mjs +134 -0
  106. package/esm2020/src/app/shared/debug/debug.component.mjs +39 -0
  107. package/esm2020/src/app/shared/debug/debug.module.mjs +44 -0
  108. package/esm2020/src/app/shared/directives/autofocus.directive.mjs +92 -0
  109. package/esm2020/src/app/shared/directives/autotitle.directive.mjs +30 -0
  110. package/esm2020/src/app/shared/directives/directives.module.mjs +43 -0
  111. package/esm2020/src/app/shared/directives/drag-and-drop.directive.mjs +53 -0
  112. package/esm2020/src/app/shared/directives/ng-var.directive.mjs +31 -0
  113. package/esm2020/src/app/shared/directives/resizable/resizable.component.mjs +59 -0
  114. package/esm2020/src/app/shared/directives/resizable/resizable.directive.mjs +40 -0
  115. package/esm2020/src/app/shared/directives/resizable/resizable.module.mjs +17 -0
  116. package/esm2020/src/app/shared/events.mjs +64 -0
  117. package/esm2020/src/app/shared/file/csv.utils.mjs +74 -0
  118. package/esm2020/src/app/shared/file/file.service.mjs +117 -0
  119. package/esm2020/src/app/shared/file/file.utils.mjs +113 -0
  120. package/esm2020/src/app/shared/file/images.utils.mjs +161 -0
  121. package/{esm2015/src/app/shared/file/uri.utils.js → esm2020/src/app/shared/file/uri.utils.mjs} +0 -0
  122. package/{esm2015/src/app/shared/focusable.js → esm2020/src/app/shared/focusable.mjs} +0 -0
  123. package/esm2020/src/app/shared/form/field.component.mjs +244 -0
  124. package/{esm2015/src/app/shared/form/field.model.js → esm2020/src/app/shared/form/field.model.mjs} +1 -1
  125. package/esm2020/src/app/shared/form/loading-spinner.mjs +36 -0
  126. package/esm2020/src/app/shared/forms.mjs +374 -0
  127. package/esm2020/src/app/shared/functions.mjs +430 -0
  128. package/{esm2015/src/app/shared/gesture/gesture-config.js → esm2020/src/app/shared/gesture/gesture-config.mjs} +7 -5
  129. package/esm2020/src/app/shared/gesture/hammer.utils.mjs +2 -0
  130. package/{esm2015/src/app/shared/graph/colors.utils.js → esm2020/src/app/shared/graph/colors.utils.mjs} +0 -0
  131. package/{esm2015/src/app/shared/graph/graph-colors.js → esm2020/src/app/shared/graph/graph-colors.mjs} +0 -0
  132. package/esm2020/src/app/shared/guard/component-dirty.guard.mjs +57 -0
  133. package/esm2020/src/app/shared/help/help.modal.mjs +53 -0
  134. package/esm2020/src/app/shared/hotkeys/dialog/hotkeys-dialog.component.mjs +23 -0
  135. package/esm2020/src/app/shared/hotkeys/hotkeys.service.mjs +84 -0
  136. package/esm2020/src/app/shared/hotkeys/shared-hotkeys.module.mjs +42 -0
  137. package/esm2020/src/app/shared/http/http.utils.mjs +52 -0
  138. package/esm2020/src/app/shared/image/gallery/image-gallery.component.mjs +279 -0
  139. package/esm2020/src/app/shared/image/gallery/image-gallery.module.mjs +46 -0
  140. package/esm2020/src/app/shared/image/gallery/testing/gallegry.model.testing.mjs +27 -0
  141. package/esm2020/src/app/shared/image/gallery/testing/gallery.service.testing.mjs +89 -0
  142. package/esm2020/src/app/shared/image/gallery/testing/gallery.testing.mjs +33 -0
  143. package/esm2020/src/app/shared/image/gallery/testing/gallery.testing.module.mjs +56 -0
  144. package/esm2020/src/app/shared/image/image.model.mjs +2 -0
  145. package/esm2020/src/app/shared/image/image.module.mjs +29 -0
  146. package/esm2020/src/app/shared/image/image.service.mjs +99 -0
  147. package/{esm2015/src/app/shared/inputs.js → esm2020/src/app/shared/inputs.mjs} +4 -4
  148. package/{esm2015/src/app/shared/interceptors/progess.interceptor.js → esm2020/src/app/shared/interceptors/progess.interceptor.mjs} +0 -0
  149. package/esm2020/src/app/shared/material/autocomplete/material.autocomplete.config.mjs +47 -0
  150. package/esm2020/src/app/shared/material/autocomplete/material.autocomplete.mjs +834 -0
  151. package/esm2020/src/app/shared/material/autocomplete/material.autocomplete.module.mjs +78 -0
  152. package/esm2020/src/app/shared/material/autocomplete/material.autocomplete.utils.mjs +19 -0
  153. package/esm2020/src/app/shared/material/autocomplete/testing/autocomplete.test.mjs +205 -0
  154. package/esm2020/src/app/shared/material/badge/badge.directive.mjs +176 -0
  155. package/esm2020/src/app/shared/material/badge/badge.module.mjs +32 -0
  156. package/esm2020/src/app/shared/material/badge/badge.test.mjs +28 -0
  157. package/esm2020/src/app/shared/material/boolean/boolean.module.mjs +68 -0
  158. package/esm2020/src/app/shared/material/boolean/material.boolean.mjs +253 -0
  159. package/esm2020/src/app/shared/material/chips/chips.module.mjs +76 -0
  160. package/esm2020/src/app/shared/material/chips/material.chips.mjs +690 -0
  161. package/esm2020/src/app/shared/material/chips/testing/chips.test.mjs +136 -0
  162. package/esm2020/src/app/shared/material/datetime/datetime.module.mjs +91 -0
  163. package/esm2020/src/app/shared/material/datetime/material.date.mjs +388 -0
  164. package/esm2020/src/app/shared/material/datetime/material.dateshort.mjs +327 -0
  165. package/esm2020/src/app/shared/material/datetime/material.datetime.mjs +434 -0
  166. package/esm2020/src/app/shared/material/datetime/testing/mat-date-time.test.mjs +110 -0
  167. package/esm2020/src/app/shared/material/datetime/testing/mat-date.test.mjs +111 -0
  168. package/esm2020/src/app/shared/material/duration/duration.module.mjs +67 -0
  169. package/{esm2015/src/app/shared/material/duration/duration.utils.js → esm2020/src/app/shared/material/duration/duration.utils.mjs} +0 -0
  170. package/esm2020/src/app/shared/material/duration/material.duration.mjs +257 -0
  171. package/esm2020/src/app/shared/material/latlong/latlong.utils.mjs +266 -0
  172. package/esm2020/src/app/shared/material/latlong/material.latlong.mjs +381 -0
  173. package/esm2020/src/app/shared/material/latlong/material.latlong.module.mjs +67 -0
  174. package/esm2020/src/app/shared/material/latlong/testing/latlong.test.mjs +74 -0
  175. package/{esm2015/src/app/shared/material/material.animations.js → esm2020/src/app/shared/material/material.animations.mjs} +0 -0
  176. package/esm2020/src/app/shared/material/material.module.mjs +224 -0
  177. package/esm2020/src/app/shared/material/material.testing.module.mjs +157 -0
  178. package/esm2020/src/app/shared/material/numpad/numpad.append-to-input.directive.mjs +98 -0
  179. package/esm2020/src/app/shared/material/numpad/numpad.component.mjs +80 -0
  180. package/esm2020/src/app/shared/material/numpad/numpad.container.mjs +190 -0
  181. package/esm2020/src/app/shared/material/numpad/numpad.content.mjs +17 -0
  182. package/esm2020/src/app/shared/material/numpad/numpad.directive.mjs +162 -0
  183. package/esm2020/src/app/shared/material/numpad/numpad.dom-service.mjs +37 -0
  184. package/{esm2015/src/app/shared/material/numpad/numpad.model.js → esm2020/src/app/shared/material/numpad/numpad.model.mjs} +1 -1
  185. package/esm2020/src/app/shared/material/numpad/numpad.module.mjs +60 -0
  186. package/esm2020/src/app/shared/material/numpad/testing/numpad.test.mjs +46 -0
  187. package/esm2020/src/app/shared/material/paginator/material.paginator-i18n.mjs +42 -0
  188. package/esm2020/src/app/shared/material/stepper/material.stepper-i18n.mjs +22 -0
  189. package/esm2020/src/app/shared/material/swipe/material.swipe.mjs +334 -0
  190. package/esm2020/src/app/shared/material/swipe/swipe.module.mjs +51 -0
  191. package/esm2020/src/app/shared/material/swipe/testing/swipe.test.mjs +65 -0
  192. package/esm2020/src/app/shared/observables.mjs +103 -0
  193. package/esm2020/src/app/shared/pipes/arrays.pipe.mjs +135 -0
  194. package/esm2020/src/app/shared/pipes/colors.pipe.mjs +23 -0
  195. package/esm2020/src/app/shared/pipes/date-diff-duration.pipe.mjs +49 -0
  196. package/esm2020/src/app/shared/pipes/date-format.pipe.mjs +42 -0
  197. package/{esm2015/src/app/shared/pipes/date-from-now.pipe.js → esm2020/src/app/shared/pipes/date-from-now.pipe.mjs} +13 -12
  198. package/{esm2015/src/app/shared/pipes/duration.pipe.js → esm2020/src/app/shared/pipes/duration.pipe.mjs} +13 -12
  199. package/esm2020/src/app/shared/pipes/file-size.pipe.mjs +62 -0
  200. package/esm2020/src/app/shared/pipes/form.pipes.mjs +187 -0
  201. package/esm2020/src/app/shared/pipes/highlight.pipe.mjs +48 -0
  202. package/esm2020/src/app/shared/pipes/latlong-format.pipe.mjs +46 -0
  203. package/esm2020/src/app/shared/pipes/maps.pipe.mjs +63 -0
  204. package/esm2020/src/app/shared/pipes/math.pipes.mjs +59 -0
  205. package/esm2020/src/app/shared/pipes/ng-init.pipe.mjs +21 -0
  206. package/{esm2015/src/app/shared/pipes/number-format.pipe.js → esm2020/src/app/shared/pipes/number-format.pipe.mjs} +14 -9
  207. package/esm2020/src/app/shared/pipes/pipes.module.mjs +210 -0
  208. package/esm2020/src/app/shared/pipes/property.pipes.mjs +96 -0
  209. package/esm2020/src/app/shared/pipes/string.pipes.mjs +69 -0
  210. package/esm2020/src/app/shared/pipes/translate-context.pipe.mjs +43 -0
  211. package/esm2020/src/app/shared/platforms.mjs +49 -0
  212. package/esm2020/src/app/shared/services/entity-service.class.mjs +7 -0
  213. package/esm2020/src/app/shared/services/job.utils.mjs +92 -0
  214. package/esm2020/src/app/shared/services/memory-entity-service.class.mjs +337 -0
  215. package/esm2020/src/app/shared/services/progress-bar.service.mjs +32 -0
  216. package/esm2020/src/app/shared/services/startable-observable-service.class.mjs +119 -0
  217. package/esm2020/src/app/shared/services/startable-service.class.mjs +105 -0
  218. package/esm2020/src/app/shared/services/storage/storage.service.mjs +132 -0
  219. package/esm2020/src/app/shared/services/storage/storage.utils.mjs +13 -0
  220. package/esm2020/src/app/shared/services/translate-context.service.mjs +81 -0
  221. package/esm2020/src/app/shared/services/validator-service.class.mjs +2 -0
  222. package/esm2020/src/app/shared/services.mjs +62 -0
  223. package/esm2020/src/app/shared/shared-routing.module.mjs +63 -0
  224. package/esm2020/src/app/shared/shared.module.mjs +208 -0
  225. package/esm2020/src/app/shared/shared.testing.module.mjs +76 -0
  226. package/esm2020/src/app/shared/testing/observable.test.mjs +96 -0
  227. package/esm2020/src/app/shared/testing/tests.page.mjs +33 -0
  228. package/esm2020/src/app/shared/toast/toast.testing.mjs +51 -0
  229. package/esm2020/src/app/shared/toast/toast.testing.module.mjs +45 -0
  230. package/esm2020/src/app/shared/toast/toasts.mjs +144 -0
  231. package/esm2020/src/app/shared/toolbar/modal-toolbar.mjs +58 -0
  232. package/esm2020/src/app/shared/toolbar/toolbar.mjs +226 -0
  233. package/esm2020/src/app/shared/toolbar/toolbar.module.mjs +53 -0
  234. package/{esm2015/src/app/shared/types.js → esm2020/src/app/shared/types.mjs} +0 -0
  235. package/esm2020/src/app/shared/upload-file/testing/upload-file.testing.mjs +57 -0
  236. package/esm2020/src/app/shared/upload-file/testing/upload-file.testing.module.mjs +45 -0
  237. package/esm2020/src/app/shared/upload-file/upload-file-popover.component.mjs +97 -0
  238. package/esm2020/src/app/shared/upload-file/upload-file.component.mjs +204 -0
  239. package/esm2020/src/app/shared/upload-file/upload-file.model.mjs +20 -0
  240. package/esm2020/src/app/shared/validator/form-error-adapter.class.mjs +104 -0
  241. package/esm2020/src/app/shared/validator/validators.mjs +544 -0
  242. package/{esm2015/src/app/shared/version/versions.js → esm2020/src/app/shared/version/versions.mjs} +0 -0
  243. package/esm2020/src/app/social/job/job.model.mjs +26 -0
  244. package/esm2020/src/app/social/job/job.module.mjs +35 -0
  245. package/esm2020/src/app/social/job/job.service.mjs +71 -0
  246. package/esm2020/src/app/social/job/progression/job-progression.icon.mjs +210 -0
  247. package/esm2020/src/app/social/job/progression/job-progression.list.mjs +22 -0
  248. package/esm2020/src/app/social/job/testing/job-progression.testing.mjs +53 -0
  249. package/esm2020/src/app/social/job/testing/job-progression.testing.service.mjs +55 -0
  250. package/esm2020/src/app/social/job/testing/job.testing.module.mjs +35 -0
  251. package/esm2020/src/app/social/message/message.form.mjs +81 -0
  252. package/esm2020/src/app/social/message/message.modal.mjs +93 -0
  253. package/esm2020/src/app/social/message/message.model.mjs +65 -0
  254. package/esm2020/src/app/social/message/message.module.mjs +35 -0
  255. package/esm2020/src/app/social/message/message.service.mjs +84 -0
  256. package/{esm2015/src/app/social/social.errors.js → esm2020/src/app/social/social.errors.mjs} +0 -0
  257. package/esm2020/src/app/social/social.module.mjs +47 -0
  258. package/esm2020/src/app/social/social.testing.module.mjs +51 -0
  259. package/esm2020/src/app/social/user-event/notification/user-event-notification.icon.mjs +108 -0
  260. package/esm2020/src/app/social/user-event/notification/user-event-notification.list.mjs +212 -0
  261. package/esm2020/src/app/social/user-event/testing/user-event.testing.mjs +228 -0
  262. package/esm2020/src/app/social/user-event/testing/user-event.testing.model.mjs +107 -0
  263. package/esm2020/src/app/social/user-event/testing/user-event.testing.module.mjs +35 -0
  264. package/esm2020/src/app/social/user-event/testing/user-event.testing.service.mjs +111 -0
  265. package/esm2020/src/app/social/user-event/user-event.model.mjs +2 -0
  266. package/esm2020/src/app/social/user-event/user-event.module.mjs +39 -0
  267. package/esm2020/src/app/social/user-event/user-event.service.mjs +486 -0
  268. package/{esm2015/src/app/vendor.js → esm2020/src/app/vendor.mjs} +3 -3
  269. package/esm2020/src/environments/environment.class.mjs +5 -0
  270. package/esm2020/src/environments/environment.mjs +86 -0
  271. package/esm2020/sumaris-net.ngx-components.mjs +5 -0
  272. package/fesm2015/sumaris-net.ngx-components.mjs +33165 -0
  273. package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -0
  274. package/fesm2020/sumaris-net.ngx-components.mjs +32458 -0
  275. package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -0
  276. package/index.d.ts +5 -0
  277. package/package.json +30 -32
  278. package/public_api.d.ts +40 -6
  279. package/resources/README.md +8 -0
  280. package/src/app/admin/admin-routing.module.d.ts +7 -0
  281. package/src/app/admin/admin.module.d.ts +7 -0
  282. package/src/app/admin/services/person.service.d.ts +3 -0
  283. package/src/app/admin/services/validator/person.validator.d.ts +8 -5
  284. package/src/app/admin/users/list/users.d.ts +10 -7
  285. package/src/app/admin/users/list/users.module.d.ts +14 -0
  286. package/src/app/core/about/modal-about.d.ts +3 -0
  287. package/src/app/core/account/account.d.ts +11 -8
  288. package/src/app/core/auth/form/form-auth.d.ts +6 -3
  289. package/src/app/core/auth/modal/modal-auth.d.ts +3 -0
  290. package/src/app/core/core.module.d.ts +36 -0
  291. package/src/app/core/core.testing.module.d.ts +10 -0
  292. package/src/app/core/form/editor.class.d.ts +7 -2
  293. package/src/app/core/form/entity-editor-modal.class.d.ts +9 -6
  294. package/src/app/core/form/entity-editor.class.d.ts +4 -1
  295. package/src/app/core/form/entity-metadata.component.d.ts +3 -0
  296. package/src/app/core/form/form-buttons-bar.component.d.ts +3 -0
  297. package/src/app/core/form/form.class.d.ts +12 -9
  298. package/src/app/core/form/form.utils.d.ts +6 -6
  299. package/src/app/core/form/list.form.d.ts +11 -8
  300. package/src/app/core/form/properties/properties.form.d.ts +43 -0
  301. package/src/app/core/form/properties/property.validator.d.ts +13 -0
  302. package/src/app/core/form/properties/testing/properties-form.test.d.ts +19 -0
  303. package/src/app/core/form/properties/testing/properties-form.testing.module.d.ts +12 -0
  304. package/src/app/core/graphql/graphql.module.d.ts +5 -0
  305. package/src/app/core/graphql/graphql.service.d.ts +9 -2
  306. package/src/app/core/graphql/graphql.utils.d.ts +8 -0
  307. package/src/app/core/home/home.d.ts +4 -1
  308. package/src/app/core/icon/icon.component.d.ts +5 -2
  309. package/src/app/core/icon/icon.module.d.ts +7 -0
  310. package/src/app/core/install/install-upgrade-card.component.d.ts +5 -2
  311. package/src/app/core/install/install-upgrade-card.module.d.ts +10 -0
  312. package/src/app/core/menu/menu.component.d.ts +7 -5
  313. package/src/app/core/menu/menu.module.d.ts +8 -0
  314. package/src/app/core/menu/menu.service.d.ts +3 -0
  315. package/src/app/core/offline/update-offline-mode-card.component.d.ts +4 -1
  316. package/src/app/core/peer/select-peer.modal.d.ts +8 -5
  317. package/src/app/core/peer/select-peer.module.d.ts +9 -0
  318. package/src/app/core/register/confirm/confirm.d.ts +3 -0
  319. package/src/app/core/register/form/form-register.d.ts +10 -7
  320. package/src/app/core/register/modal/modal-register.d.ts +3 -0
  321. package/src/app/core/register/register.module.d.ts +12 -0
  322. package/src/app/core/services/account.service.d.ts +5 -2
  323. package/src/app/core/services/auth-guard.service.d.ts +3 -0
  324. package/src/app/core/services/base-entity-service.class.d.ts +3 -0
  325. package/src/app/core/services/base-graphql-service.class.d.ts +3 -0
  326. package/src/app/core/services/config.service.d.ts +4 -1
  327. package/src/app/core/services/crypto.service.d.ts +3 -0
  328. package/src/app/core/services/local-settings.service.d.ts +5 -1
  329. package/src/app/core/services/network.service.d.ts +6 -5
  330. package/src/app/core/services/pipes/account.pipes.d.ts +7 -0
  331. package/src/app/core/services/pipes/department-to-string.pipe.d.ts +4 -0
  332. package/src/app/core/services/pipes/person-to-string.pipe.d.ts +4 -0
  333. package/src/app/core/services/pipes/usage-mode.pipes.d.ts +7 -0
  334. package/src/app/core/services/platform.service.d.ts +22 -21
  335. package/src/app/core/services/storage/entities-storage.service.d.ts +5 -2
  336. package/src/app/core/services/storage/entity-store.class.d.ts +3 -3
  337. package/src/app/core/services/testing/referential.validator.d.ts +8 -5
  338. package/src/app/core/services/validator/account.validator.d.ts +6 -3
  339. package/src/app/core/services/validator/base.validator.class.d.ts +8 -5
  340. package/src/app/core/services/validator/local-settings.validator.d.ts +8 -5
  341. package/src/app/core/services/validator/user-settings.validator.d.ts +6 -3
  342. package/src/app/core/settings/settings.page.d.ts +8 -5
  343. package/src/app/core/table/actions-column.component.d.ts +4 -1
  344. package/src/app/core/table/entities-table-datasource.class.d.ts +16 -15
  345. package/src/app/core/table/memory-table.class.d.ts +3 -0
  346. package/src/app/core/table/table-select-columns.component.d.ts +4 -5
  347. package/src/app/core/table/table.class.d.ts +17 -13
  348. package/src/app/core/table/table.utils.d.ts +2 -1
  349. package/src/app/core/table/testing/table.testing.d.ts +14 -16
  350. package/src/app/core/table/testing/table.testing.module.d.ts +9 -0
  351. package/src/app/core/text-popover/testing/text-popover.testing.d.ts +4 -1
  352. package/src/app/core/text-popover/testing/text-popover.testing.module.d.ts +9 -0
  353. package/src/app/core/text-popover/text-form.component.d.ts +7 -4
  354. package/src/app/core/text-popover/text-popover.component.d.ts +3 -0
  355. package/src/app/shared/alerts.d.ts +4 -4
  356. package/src/app/shared/audio/audio.d.ts +20 -11
  357. package/src/app/shared/audio/audio.testing.d.ts +13 -0
  358. package/src/app/shared/audio/audio.testing.module.d.ts +11 -0
  359. package/src/app/shared/capacitor/keyboard.d.ts +16 -0
  360. package/src/app/shared/capacitor/plugins.d.ts +7 -0
  361. package/src/app/shared/constants.d.ts +1 -0
  362. package/src/app/shared/debug/debug.component.d.ts +13 -0
  363. package/src/app/shared/debug/debug.module.d.ts +12 -0
  364. package/src/app/shared/directives/autofocus.directive.d.ts +9 -7
  365. package/src/app/shared/directives/autotitle.directive.d.ts +3 -0
  366. package/src/app/shared/directives/directives.module.d.ts +10 -0
  367. package/src/app/shared/directives/drag-and-drop.directive.d.ts +3 -0
  368. package/src/app/shared/directives/ng-var.directive.d.ts +3 -0
  369. package/src/app/shared/directives/resizable/resizable.component.d.ts +3 -0
  370. package/src/app/shared/directives/resizable/resizable.directive.d.ts +3 -0
  371. package/src/app/shared/directives/resizable/resizable.module.d.ts +6 -0
  372. package/src/app/shared/file/file.service.d.ts +3 -0
  373. package/src/app/shared/file/file.utils.d.ts +1 -1
  374. package/src/app/shared/form/field.component.d.ts +12 -3
  375. package/src/app/shared/form/field.model.d.ts +2 -2
  376. package/src/app/shared/form/loading-spinner.d.ts +3 -0
  377. package/src/app/shared/forms.d.ts +13 -13
  378. package/src/app/shared/gesture/gesture-config.d.ts +3 -0
  379. package/src/app/shared/gesture/hammer.utils.d.ts +11 -11
  380. package/src/app/shared/guard/component-dirty.guard.d.ts +3 -0
  381. package/src/app/shared/help/help.modal.d.ts +4 -1
  382. package/src/app/shared/hotkeys/dialog/hotkeys-dialog.component.d.ts +3 -0
  383. package/src/app/shared/hotkeys/hotkeys.service.d.ts +4 -1
  384. package/src/app/shared/hotkeys/shared-hotkeys.module.d.ts +9 -0
  385. package/src/app/shared/image/gallery/image-gallery.component.d.ts +77 -0
  386. package/src/app/shared/image/gallery/image-gallery.module.d.ts +12 -0
  387. package/src/app/shared/image/gallery/testing/gallegry.model.testing.d.ts +12 -0
  388. package/src/app/shared/image/gallery/testing/gallery.service.testing.d.ts +33 -0
  389. package/src/app/shared/image/gallery/testing/gallery.testing.d.ts +15 -0
  390. package/src/app/shared/image/gallery/testing/gallery.testing.module.d.ts +12 -0
  391. package/src/app/shared/image/image.model.d.ts +5 -0
  392. package/src/app/shared/image/image.module.d.ts +8 -0
  393. package/src/app/shared/image/image.service.d.ts +32 -0
  394. package/src/app/shared/inputs.d.ts +3 -3
  395. package/src/app/shared/material/autocomplete/material.autocomplete.config.d.ts +36 -0
  396. package/src/app/shared/material/autocomplete/material.autocomplete.d.ts +11 -40
  397. package/src/app/shared/material/autocomplete/material.autocomplete.module.d.ts +19 -0
  398. package/src/app/shared/material/autocomplete/material.autocomplete.utils.d.ts +4 -0
  399. package/src/app/shared/material/autocomplete/testing/autocomplete.test.d.ts +12 -9
  400. package/src/app/shared/material/badge/badge.directive.d.ts +30 -0
  401. package/src/app/shared/material/badge/badge.module.d.ts +10 -0
  402. package/src/app/shared/material/badge/badge.test.d.ts +13 -0
  403. package/src/app/shared/material/boolean/boolean.module.d.ts +17 -0
  404. package/src/app/shared/material/boolean/material.boolean.d.ts +7 -4
  405. package/src/app/shared/material/chips/chips.module.d.ts +19 -0
  406. package/src/app/shared/material/chips/material.chips.d.ts +11 -8
  407. package/src/app/shared/material/chips/testing/chips.test.d.ts +8 -5
  408. package/src/app/shared/material/datetime/datetime.module.d.ts +22 -0
  409. package/src/app/shared/material/datetime/material.date.d.ts +19 -18
  410. package/src/app/shared/material/datetime/material.dateshort.d.ts +10 -9
  411. package/src/app/shared/material/datetime/material.datetime.d.ts +21 -20
  412. package/src/app/shared/material/datetime/testing/mat-date-time.test.d.ts +11 -9
  413. package/src/app/shared/material/datetime/testing/mat-date.test.d.ts +11 -9
  414. package/src/app/shared/material/duration/duration.module.d.ts +16 -0
  415. package/src/app/shared/material/duration/material.duration.d.ts +8 -5
  416. package/src/app/shared/material/latlong/material.latlong.d.ts +8 -5
  417. package/src/app/shared/material/latlong/material.latlong.module.d.ts +17 -0
  418. package/src/app/shared/material/latlong/testing/latlong.test.d.ts +10 -7
  419. package/src/app/shared/material/material.module.d.ts +43 -0
  420. package/src/app/shared/material/material.testing.module.d.ts +20 -0
  421. package/src/app/shared/material/numpad/numpad.append-to-input.directive.d.ts +3 -0
  422. package/src/app/shared/material/numpad/numpad.component.d.ts +4 -1
  423. package/src/app/shared/material/numpad/numpad.container.d.ts +5 -2
  424. package/src/app/shared/material/numpad/numpad.content.d.ts +3 -0
  425. package/src/app/shared/material/numpad/numpad.directive.d.ts +4 -1
  426. package/src/app/shared/material/numpad/numpad.dom-service.d.ts +3 -0
  427. package/src/app/shared/material/numpad/numpad.model.d.ts +1 -1
  428. package/src/app/shared/material/numpad/numpad.module.d.ts +14 -0
  429. package/src/app/shared/material/numpad/testing/numpad.test.d.ts +7 -4
  430. package/src/app/shared/material/paginator/material.paginator-i18n.d.ts +3 -0
  431. package/src/app/shared/material/stepper/material.stepper-i18n.d.ts +3 -0
  432. package/src/app/shared/material/swipe/material.swipe.d.ts +6 -3
  433. package/src/app/shared/material/swipe/swipe.module.d.ts +13 -0
  434. package/src/app/shared/material/swipe/testing/swipe.test.d.ts +7 -4
  435. package/src/app/shared/pipes/arrays.pipe.d.ts +17 -0
  436. package/src/app/shared/pipes/colors.pipe.d.ts +9 -0
  437. package/src/app/shared/pipes/date-diff-duration.pipe.d.ts +4 -0
  438. package/src/app/shared/pipes/date-format.pipe.d.ts +4 -0
  439. package/src/app/shared/pipes/date-from-now.pipe.d.ts +4 -0
  440. package/src/app/shared/pipes/duration.pipe.d.ts +4 -0
  441. package/src/app/shared/pipes/file-size.pipe.d.ts +3 -0
  442. package/src/app/shared/pipes/form.pipes.d.ts +18 -5
  443. package/src/app/shared/pipes/highlight.pipe.d.ts +4 -0
  444. package/src/app/shared/pipes/latlong-format.pipe.d.ts +7 -0
  445. package/src/app/shared/pipes/maps.pipe.d.ts +10 -0
  446. package/src/app/shared/pipes/math.pipes.d.ts +10 -0
  447. package/src/app/shared/pipes/ng-init.pipe.d.ts +3 -0
  448. package/src/app/shared/pipes/number-format.pipe.d.ts +4 -0
  449. package/src/app/shared/pipes/pipes.module.d.ts +24 -0
  450. package/src/app/shared/pipes/property.pipes.d.ts +6 -0
  451. package/src/app/shared/pipes/string.pipes.d.ts +11 -0
  452. package/src/app/shared/pipes/translate-context.pipe.d.ts +7 -0
  453. package/src/app/shared/platforms.d.ts +1 -0
  454. package/src/app/shared/services/memory-entity-service.class.d.ts +3 -0
  455. package/src/app/shared/services/progress-bar.service.d.ts +4 -1
  456. package/src/app/shared/services/startable-observable-service.class.d.ts +1 -1
  457. package/src/app/shared/services/startable-service.class.d.ts +1 -1
  458. package/src/app/shared/services/storage/storage.service.d.ts +23 -0
  459. package/src/app/shared/services/storage/storage.utils.d.ts +19 -0
  460. package/src/app/shared/services/translate-context.service.d.ts +3 -0
  461. package/src/app/shared/services/validator-service.class.d.ts +2 -2
  462. package/src/app/shared/shared-routing.module.d.ts +7 -0
  463. package/src/app/shared/shared.module.d.ts +23 -0
  464. package/src/app/shared/shared.testing.module.d.ts +12 -0
  465. package/src/app/shared/testing/observable.test.d.ts +3 -0
  466. package/src/app/shared/testing/tests.page.d.ts +3 -0
  467. package/src/app/shared/toast/toast.testing.d.ts +6 -5
  468. package/src/app/shared/toast/toast.testing.module.d.ts +9 -0
  469. package/src/app/shared/toast/toasts.d.ts +5 -2
  470. package/src/app/shared/toolbar/modal-toolbar.d.ts +5 -2
  471. package/src/app/shared/toolbar/toolbar.d.ts +9 -5
  472. package/src/app/shared/toolbar/toolbar.module.d.ts +15 -0
  473. package/src/app/shared/upload-file/testing/upload-file.testing.d.ts +4 -1
  474. package/src/app/shared/upload-file/testing/upload-file.testing.module.d.ts +9 -0
  475. package/src/app/shared/upload-file/upload-file-popover.component.d.ts +3 -0
  476. package/src/app/shared/upload-file/upload-file.component.d.ts +3 -0
  477. package/src/app/shared/validator/form-error-adapter.class.d.ts +3 -0
  478. package/src/app/shared/validator/validators.d.ts +9 -9
  479. package/src/app/social/job/job.module.d.ts +9 -0
  480. package/src/app/social/job/job.service.d.ts +3 -0
  481. package/src/app/social/job/progression/job-progression.icon.d.ts +4 -1
  482. package/src/app/social/job/progression/job-progression.list.d.ts +3 -0
  483. package/src/app/social/job/testing/job-progression.testing.d.ts +3 -0
  484. package/src/app/social/job/testing/job-progression.testing.service.d.ts +3 -0
  485. package/src/app/social/job/testing/job.testing.module.d.ts +9 -0
  486. package/src/app/social/message/message.form.d.ts +5 -2
  487. package/src/app/social/message/message.modal.d.ts +5 -2
  488. package/src/app/social/message/message.module.d.ts +9 -0
  489. package/src/app/social/message/message.service.d.ts +3 -0
  490. package/src/app/social/social.module.d.ts +10 -0
  491. package/src/app/social/social.testing.module.d.ts +9 -0
  492. package/src/app/social/user-event/notification/user-event-notification.icon.d.ts +4 -1
  493. package/src/app/social/user-event/notification/user-event-notification.list.d.ts +7 -4
  494. package/src/app/social/user-event/testing/user-event.testing.d.ts +3 -0
  495. package/src/app/social/user-event/testing/user-event.testing.model.d.ts +1 -0
  496. package/src/app/social/user-event/testing/user-event.testing.module.d.ts +9 -0
  497. package/src/app/social/user-event/testing/user-event.testing.service.d.ts +5 -1
  498. package/src/app/social/user-event/user-event.model.d.ts +3 -2
  499. package/src/app/social/user-event/user-event.module.d.ts +10 -0
  500. package/src/app/social/user-event/user-event.service.d.ts +16 -11
  501. package/src/assets/audio/beep-notification.mp3 +0 -0
  502. package/src/assets/i18n/fr.json +9 -2
  503. package/src/environments/environment.class.d.ts +2 -0
  504. package/src/environments/environment.d.ts +1 -1
  505. package/src/theme/_icons.scss +1 -1
  506. package/src/theme/_ionic.globals.scss +4 -0
  507. package/src/theme/_material.globals.scss +32 -32
  508. package/src/theme/_material.scss +32 -6
  509. package/src/theme/_mixins.scss +4 -4
  510. package/src/theme/_ngx-components.scss +27 -0
  511. package/src/theme/_print.scss +24 -0
  512. package/bundles/sumaris-net.ngx-components.umd.js +0 -35963
  513. package/bundles/sumaris-net.ngx-components.umd.js.map +0 -1
  514. package/bundles/sumaris-net.ngx-components.umd.min.js +0 -25
  515. package/bundles/sumaris-net.ngx-components.umd.min.js.map +0 -1
  516. package/esm2015/public_api.js +0 -245
  517. package/esm2015/src/app/admin/admin-routing.module.js +0 -34
  518. package/esm2015/src/app/admin/admin.module.js +0 -34
  519. package/esm2015/src/app/admin/services/filter/person.filter.js +0 -59
  520. package/esm2015/src/app/admin/services/person.service.js +0 -175
  521. package/esm2015/src/app/admin/services/validator/person.validator.js +0 -37
  522. package/esm2015/src/app/admin/users/list/users.js +0 -221
  523. package/esm2015/src/app/core/about/modal-about.js +0 -63
  524. package/esm2015/src/app/core/account/account.js +0 -240
  525. package/esm2015/src/app/core/auth/form/form-auth.js +0 -134
  526. package/esm2015/src/app/core/auth/modal/modal-auth.js +0 -78
  527. package/esm2015/src/app/core/core.module.js +0 -127
  528. package/esm2015/src/app/core/core.testing.module.js +0 -51
  529. package/esm2015/src/app/core/form/editor.class.js +0 -702
  530. package/esm2015/src/app/core/form/entity-editor-modal.class.js +0 -435
  531. package/esm2015/src/app/core/form/entity-editor.class.js +0 -676
  532. package/esm2015/src/app/core/form/entity-metadata.component.js +0 -22
  533. package/esm2015/src/app/core/form/form-buttons-bar.component.js +0 -63
  534. package/esm2015/src/app/core/form/form.class.js +0 -346
  535. package/esm2015/src/app/core/form/form.utils.js +0 -299
  536. package/esm2015/src/app/core/form/list.form.js +0 -219
  537. package/esm2015/src/app/core/form/properties.form.js +0 -119
  538. package/esm2015/src/app/core/graphql/graphql.module.js +0 -18
  539. package/esm2015/src/app/core/graphql/graphql.service.js +0 -734
  540. package/esm2015/src/app/core/graphql/graphql.utils.js +0 -106
  541. package/esm2015/src/app/core/home/home.js +0 -265
  542. package/esm2015/src/app/core/icon/icon.component.js +0 -32
  543. package/esm2015/src/app/core/icon/icon.module.js +0 -26
  544. package/esm2015/src/app/core/install/install-upgrade-card.component.js +0 -358
  545. package/esm2015/src/app/core/menu/menu.component.js +0 -329
  546. package/esm2015/src/app/core/menu/menu.module.js +0 -28
  547. package/esm2015/src/app/core/offline/update-offline-mode-card.component.js +0 -26
  548. package/esm2015/src/app/core/peer/select-peer.modal.js +0 -134
  549. package/esm2015/src/app/core/register/confirm/confirm.js +0 -86
  550. package/esm2015/src/app/core/register/form/form-register.js +0 -172
  551. package/esm2015/src/app/core/register/modal/modal-register.js +0 -55
  552. package/esm2015/src/app/core/services/account.service.js +0 -1165
  553. package/esm2015/src/app/core/services/auth-guard.service.js +0 -77
  554. package/esm2015/src/app/core/services/base-entity-service.class.js +0 -454
  555. package/esm2015/src/app/core/services/base-graphql-service.class.js +0 -221
  556. package/esm2015/src/app/core/services/config.service.js +0 -385
  557. package/esm2015/src/app/core/services/local-settings.service.js +0 -460
  558. package/esm2015/src/app/core/services/model/account.model.js +0 -50
  559. package/esm2015/src/app/core/services/model/config.model.js +0 -89
  560. package/esm2015/src/app/core/services/model/department.model.js +0 -30
  561. package/esm2015/src/app/core/services/model/entity.decorators.js +0 -104
  562. package/esm2015/src/app/core/services/model/entity.model.js +0 -245
  563. package/esm2015/src/app/core/services/model/peer.model.js +0 -68
  564. package/esm2015/src/app/core/services/model/person.model.js +0 -83
  565. package/esm2015/src/app/core/services/model/referential.model.js +0 -155
  566. package/esm2015/src/app/core/services/model/settings.model.js +0 -75
  567. package/esm2015/src/app/core/services/network.service.js +0 -631
  568. package/esm2015/src/app/core/services/network.utils.js +0 -19
  569. package/esm2015/src/app/core/services/pipes/account.pipes.js +0 -28
  570. package/esm2015/src/app/core/services/pipes/department-to-string.pipe.js +0 -18
  571. package/esm2015/src/app/core/services/pipes/person-to-string.pipe.js +0 -18
  572. package/esm2015/src/app/core/services/pipes/usage-mode.pipes.js +0 -27
  573. package/esm2015/src/app/core/services/platform.service.js +0 -549
  574. package/esm2015/src/app/core/services/storage/entities-storage.service.js +0 -452
  575. package/esm2015/src/app/core/services/storage/entity-store.class.js +0 -461
  576. package/esm2015/src/app/core/services/testing/referential-filter.model.js +0 -23
  577. package/esm2015/src/app/core/services/testing/referential.validator.js +0 -44
  578. package/esm2015/src/app/core/services/validator/account.validator.js +0 -55
  579. package/esm2015/src/app/core/services/validator/base.validator.class.js +0 -48
  580. package/esm2015/src/app/core/services/validator/local-settings.validator.js +0 -72
  581. package/esm2015/src/app/core/services/validator/user-settings.validator.js +0 -30
  582. package/esm2015/src/app/core/settings/settings.page.js +0 -305
  583. package/esm2015/src/app/core/table/actions-column.component.js +0 -74
  584. package/esm2015/src/app/core/table/entities-table-datasource.class.js +0 -405
  585. package/esm2015/src/app/core/table/memory-table.class.js +0 -59
  586. package/esm2015/src/app/core/table/table-select-columns.component.js +0 -44
  587. package/esm2015/src/app/core/table/table.class.js +0 -1685
  588. package/esm2015/src/app/core/table/table.utils.js +0 -13
  589. package/esm2015/src/app/core/table/testing/table.testing.js +0 -242
  590. package/esm2015/src/app/core/table/testing/table.testing.module.js +0 -26
  591. package/esm2015/src/app/core/text-popover/testing/text-popover.testing.js +0 -37
  592. package/esm2015/src/app/core/text-popover/testing/text-popover.testing.module.js +0 -33
  593. package/esm2015/src/app/core/text-popover/text-form.component.js +0 -72
  594. package/esm2015/src/app/core/text-popover/text-popover.component.js +0 -90
  595. package/esm2015/src/app/shared/alerts.js +0 -251
  596. package/esm2015/src/app/shared/audio/audio.js +0 -178
  597. package/esm2015/src/app/shared/dates.js +0 -134
  598. package/esm2015/src/app/shared/directives/autofocus.directive.js +0 -90
  599. package/esm2015/src/app/shared/directives/autotitle.directive.js +0 -27
  600. package/esm2015/src/app/shared/directives/directives.module.js +0 -30
  601. package/esm2015/src/app/shared/directives/drag-and-drop.directive.js +0 -43
  602. package/esm2015/src/app/shared/directives/ng-var.directive.js +0 -32
  603. package/esm2015/src/app/shared/directives/resizable/resizable.component.js +0 -54
  604. package/esm2015/src/app/shared/directives/resizable/resizable.directive.js +0 -34
  605. package/esm2015/src/app/shared/directives/resizable/resizable.module.js +0 -12
  606. package/esm2015/src/app/shared/events.js +0 -61
  607. package/esm2015/src/app/shared/file/csv.utils.js +0 -70
  608. package/esm2015/src/app/shared/file/file.service.js +0 -120
  609. package/esm2015/src/app/shared/file/file.utils.js +0 -116
  610. package/esm2015/src/app/shared/file/images.utils.js +0 -166
  611. package/esm2015/src/app/shared/form/field.component.js +0 -206
  612. package/esm2015/src/app/shared/form/loading-spinner.js +0 -24
  613. package/esm2015/src/app/shared/forms.js +0 -358
  614. package/esm2015/src/app/shared/functions.js +0 -431
  615. package/esm2015/src/app/shared/gesture/hammer.utils.js +0 -2
  616. package/esm2015/src/app/shared/guard/component-dirty.guard.js +0 -61
  617. package/esm2015/src/app/shared/help/help.modal.js +0 -56
  618. package/esm2015/src/app/shared/hotkeys/dialog/hotkeys-dialog.component.js +0 -20
  619. package/esm2015/src/app/shared/hotkeys/hotkeys.service.js +0 -91
  620. package/esm2015/src/app/shared/hotkeys/shared-hotkeys.module.js +0 -29
  621. package/esm2015/src/app/shared/http/http.utils.js +0 -57
  622. package/esm2015/src/app/shared/material/autocomplete/material.autocomplete.js +0 -823
  623. package/esm2015/src/app/shared/material/autocomplete/material.autocomplete.module.js +0 -46
  624. package/esm2015/src/app/shared/material/autocomplete/testing/autocomplete.test.js +0 -200
  625. package/esm2015/src/app/shared/material/badge/badge-icon.directive.js +0 -135
  626. package/esm2015/src/app/shared/material/badge/badge-icon.module.js +0 -23
  627. package/esm2015/src/app/shared/material/badge/badge-icon.test.js +0 -17
  628. package/esm2015/src/app/shared/material/boolean/boolean.module.js +0 -41
  629. package/esm2015/src/app/shared/material/boolean/material.boolean.js +0 -223
  630. package/esm2015/src/app/shared/material/chips/chips.module.js +0 -45
  631. package/esm2015/src/app/shared/material/chips/material.chips.js +0 -635
  632. package/esm2015/src/app/shared/material/chips/testing/chips.test.js +0 -138
  633. package/esm2015/src/app/shared/material/datetime/datetime.module.js +0 -54
  634. package/esm2015/src/app/shared/material/datetime/material.date.js +0 -375
  635. package/esm2015/src/app/shared/material/datetime/material.dateshort.js +0 -316
  636. package/esm2015/src/app/shared/material/datetime/material.datetime.js +0 -398
  637. package/esm2015/src/app/shared/material/datetime/testing/mat-date-time.test.js +0 -110
  638. package/esm2015/src/app/shared/material/datetime/testing/mat-date.test.js +0 -108
  639. package/esm2015/src/app/shared/material/duration/duration.module.js +0 -40
  640. package/esm2015/src/app/shared/material/duration/material.duration.js +0 -246
  641. package/esm2015/src/app/shared/material/latlong/latlong.utils.js +0 -249
  642. package/esm2015/src/app/shared/material/latlong/material.latlong.js +0 -350
  643. package/esm2015/src/app/shared/material/latlong/material.latlong.module.js +0 -41
  644. package/esm2015/src/app/shared/material/latlong/testing/latlong.test.js +0 -70
  645. package/esm2015/src/app/shared/material/material.module.js +0 -93
  646. package/esm2015/src/app/shared/material/material.testing.module.js +0 -121
  647. package/esm2015/src/app/shared/material/numpad/numpad.append-to-input.directive.js +0 -96
  648. package/esm2015/src/app/shared/material/numpad/numpad.component.js +0 -73
  649. package/esm2015/src/app/shared/material/numpad/numpad.container.js +0 -149
  650. package/esm2015/src/app/shared/material/numpad/numpad.content.js +0 -14
  651. package/esm2015/src/app/shared/material/numpad/numpad.directive.js +0 -148
  652. package/esm2015/src/app/shared/material/numpad/numpad.dom-service.js +0 -37
  653. package/esm2015/src/app/shared/material/numpad/numpad.module.js +0 -39
  654. package/esm2015/src/app/shared/material/numpad/testing/numpad.test.js +0 -44
  655. package/esm2015/src/app/shared/material/paginator/material.paginator-i18n.js +0 -44
  656. package/esm2015/src/app/shared/material/stepper/material.stepper-i18n.js +0 -24
  657. package/esm2015/src/app/shared/material/swipe/material.swipe.js +0 -308
  658. package/esm2015/src/app/shared/material/swipe/swipe.module.js +0 -33
  659. package/esm2015/src/app/shared/material/swipe/testing/swipe.test.js +0 -68
  660. package/esm2015/src/app/shared/observables.js +0 -106
  661. package/esm2015/src/app/shared/pipes/arrays.pipe.js +0 -110
  662. package/esm2015/src/app/shared/pipes/date-diff-duration.pipe.js +0 -50
  663. package/esm2015/src/app/shared/pipes/date-format.pipe.js +0 -43
  664. package/esm2015/src/app/shared/pipes/file-size.pipe.js +0 -58
  665. package/esm2015/src/app/shared/pipes/form.pipes.js +0 -177
  666. package/esm2015/src/app/shared/pipes/highlight.pipe.js +0 -43
  667. package/esm2015/src/app/shared/pipes/latlong-format.pipe.js +0 -36
  668. package/esm2015/src/app/shared/pipes/maps.pipe.js +0 -48
  669. package/esm2015/src/app/shared/pipes/math.pipes.js +0 -44
  670. package/esm2015/src/app/shared/pipes/ng-init.pipe.js +0 -18
  671. package/esm2015/src/app/shared/pipes/pipes.module.js +0 -117
  672. package/esm2015/src/app/shared/pipes/property.pipes.js +0 -98
  673. package/esm2015/src/app/shared/pipes/string.pipes.js +0 -53
  674. package/esm2015/src/app/shared/pipes/translate-context.pipe.js +0 -36
  675. package/esm2015/src/app/shared/platforms.js +0 -45
  676. package/esm2015/src/app/shared/services/entity-service.class.js +0 -8
  677. package/esm2015/src/app/shared/services/job.utils.js +0 -96
  678. package/esm2015/src/app/shared/services/memory-entity-service.class.js +0 -348
  679. package/esm2015/src/app/shared/services/progress-bar.service.js +0 -30
  680. package/esm2015/src/app/shared/services/startable-observable-service.class.js +0 -124
  681. package/esm2015/src/app/shared/services/startable-service.class.js +0 -110
  682. package/esm2015/src/app/shared/services/storage.utils.js +0 -41
  683. package/esm2015/src/app/shared/services/translate-context.service.js +0 -83
  684. package/esm2015/src/app/shared/services/validator-service.class.js +0 -2
  685. package/esm2015/src/app/shared/services.js +0 -61
  686. package/esm2015/src/app/shared/shared-routing.module.js +0 -54
  687. package/esm2015/src/app/shared/shared.module.js +0 -135
  688. package/esm2015/src/app/shared/shared.testing.module.js +0 -33
  689. package/esm2015/src/app/shared/testing/observable.test.js +0 -97
  690. package/esm2015/src/app/shared/testing/tests.page.js +0 -34
  691. package/esm2015/src/app/shared/toast/toast.testing.js +0 -39
  692. package/esm2015/src/app/shared/toast/toast.testing.module.js +0 -33
  693. package/esm2015/src/app/shared/toast/toasts.js +0 -119
  694. package/esm2015/src/app/shared/toolbar/modal-toolbar.js +0 -53
  695. package/esm2015/src/app/shared/toolbar/toolbar.js +0 -213
  696. package/esm2015/src/app/shared/upload-file/testing/upload-file.testing.js +0 -59
  697. package/esm2015/src/app/shared/upload-file/testing/upload-file.testing.module.js +0 -33
  698. package/esm2015/src/app/shared/upload-file/upload-file-popover.component.js +0 -98
  699. package/esm2015/src/app/shared/upload-file/upload-file.component.js +0 -202
  700. package/esm2015/src/app/shared/upload-file/upload-file.model.js +0 -20
  701. package/esm2015/src/app/shared/validator/form-error-adapter.class.js +0 -99
  702. package/esm2015/src/app/shared/validator/validators.js +0 -537
  703. package/esm2015/src/app/social/job/job.model.js +0 -26
  704. package/esm2015/src/app/social/job/job.module.js +0 -25
  705. package/esm2015/src/app/social/job/job.service.js +0 -66
  706. package/esm2015/src/app/social/job/progression/job-progression.icon.js +0 -208
  707. package/esm2015/src/app/social/job/progression/job-progression.list.js +0 -20
  708. package/esm2015/src/app/social/job/testing/job-progression.testing.js +0 -49
  709. package/esm2015/src/app/social/job/testing/job-progression.testing.service.js +0 -52
  710. package/esm2015/src/app/social/job/testing/job.testing.module.js +0 -25
  711. package/esm2015/src/app/social/message/message.form.js +0 -73
  712. package/esm2015/src/app/social/message/message.modal.js +0 -96
  713. package/esm2015/src/app/social/message/message.model.js +0 -65
  714. package/esm2015/src/app/social/message/message.module.js +0 -25
  715. package/esm2015/src/app/social/message/message.service.js +0 -87
  716. package/esm2015/src/app/social/social.module.js +0 -28
  717. package/esm2015/src/app/social/social.testing.module.js +0 -39
  718. package/esm2015/src/app/social/user-event/notification/user-event-notification.icon.js +0 -106
  719. package/esm2015/src/app/social/user-event/notification/user-event-notification.list.js +0 -203
  720. package/esm2015/src/app/social/user-event/testing/user-event.testing.js +0 -230
  721. package/esm2015/src/app/social/user-event/testing/user-event.testing.model.js +0 -103
  722. package/esm2015/src/app/social/user-event/testing/user-event.testing.module.js +0 -25
  723. package/esm2015/src/app/social/user-event/testing/user-event.testing.service.js +0 -117
  724. package/esm2015/src/app/social/user-event/user-event.model.js +0 -2
  725. package/esm2015/src/app/social/user-event/user-event.module.js +0 -27
  726. package/esm2015/src/app/social/user-event/user-event.service.js +0 -509
  727. package/esm2015/src/environments/environment.class.js +0 -5
  728. package/esm2015/src/environments/environment.js +0 -81
  729. package/esm2015/sumaris-net.ngx-components.js +0 -22
  730. package/fesm2015/sumaris-net.ngx-components.js +0 -30450
  731. package/fesm2015/sumaris-net.ngx-components.js.map +0 -1
  732. package/src/app/core/form/properties.form.d.ts +0 -40
  733. package/src/app/shared/material/badge/badge-icon.directive.d.ts +0 -28
  734. package/src/app/shared/material/badge/badge-icon.module.d.ts +0 -2
  735. package/src/app/shared/material/badge/badge-icon.test.d.ts +0 -9
  736. package/src/app/shared/services/storage.utils.d.ts +0 -13
  737. package/sumaris-net.ngx-components.d.ts +0 -21
  738. package/sumaris-net.ngx-components.metadata.json +0 -1
@@ -1,18 +1,21 @@
1
1
  import { ValidatorService } from '@e-is/ngx-material-table';
2
- import { AbstractControl, FormBuilder, FormGroup } from '@angular/forms';
2
+ import { AbstractControl, UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
3
3
  import { IValidatorService } from '../../../shared/services/validator-service.class';
4
4
  import { TranslateService } from '@ngx-translate/core';
5
5
  import { FormErrors } from '../../../shared/forms';
6
+ import * as i0 from "@angular/core";
6
7
  export declare abstract class AppValidatorService<T = any> extends ValidatorService implements IValidatorService<T> {
7
- protected formBuilder: FormBuilder;
8
+ protected formBuilder: UntypedFormBuilder;
8
9
  protected translate?: TranslateService;
9
- protected constructor(formBuilder: FormBuilder, translate?: TranslateService);
10
- getRowValidator(): FormGroup;
11
- getFormGroup(data?: T): FormGroup;
10
+ protected constructor(formBuilder: UntypedFormBuilder, translate?: TranslateService);
11
+ getRowValidator(): UntypedFormGroup;
12
+ getFormGroup(data?: T): UntypedFormGroup;
12
13
  getFormGroupConfig(data?: T): {
13
14
  [key: string]: any;
14
15
  };
15
16
  getI18nFormErrors(control: AbstractControl): string[];
16
17
  getI18nErrors(errors: FormErrors): string[];
17
18
  protected getI18nError(errorKey: string, errorContent?: any): string;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppValidatorService<any>, never>;
20
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AppValidatorService<any>, never, never, {}, {}, never, never, false>;
18
21
  }
@@ -1,15 +1,18 @@
1
- import { AbstractControl, FormBuilder, FormGroup, ValidationErrors } from '@angular/forms';
1
+ import { AbstractControl, UntypedFormBuilder, UntypedFormGroup, ValidationErrors } from '@angular/forms';
2
2
  import { LocalSettings } from '../model/settings.model';
3
3
  import { NetworkService } from '../network.service';
4
4
  import { AppValidatorService } from './base.validator.class';
5
+ import * as i0 from "@angular/core";
5
6
  export declare class LocalSettingsValidatorService extends AppValidatorService<LocalSettings> {
6
7
  private networkService;
7
- constructor(formBuilder: FormBuilder, networkService: NetworkService);
8
- getFormGroup(data?: LocalSettings): FormGroup;
9
- getPropertiesArray(array?: any): import("@angular/forms").FormArray;
8
+ constructor(formBuilder: UntypedFormBuilder, networkService: NetworkService);
9
+ getFormGroup(data?: LocalSettings): UntypedFormGroup;
10
+ getPropertiesArray(array?: any): import("@angular/forms").UntypedFormArray;
10
11
  getPropertyFormGroup(data?: {
11
12
  key: string;
12
13
  value?: string;
13
- }): FormGroup;
14
+ }): UntypedFormGroup;
14
15
  protected peerAlive(peerUrlControl: AbstractControl): Promise<ValidationErrors | null>;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<LocalSettingsValidatorService, never>;
17
+ static ɵprov: i0.ɵɵInjectableDeclaration<LocalSettingsValidatorService>;
15
18
  }
@@ -1,7 +1,10 @@
1
- import { FormBuilder, FormGroup } from '@angular/forms';
1
+ import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
2
2
  import { UserSettings } from '../model/settings.model';
3
3
  import { AppValidatorService } from './base.validator.class';
4
+ import * as i0 from "@angular/core";
4
5
  export declare class UserSettingsValidatorService extends AppValidatorService<UserSettings> {
5
- constructor(formBuilder: FormBuilder);
6
- getFormGroup(data?: UserSettings): FormGroup;
6
+ constructor(formBuilder: UntypedFormBuilder);
7
+ getFormGroup(data?: UserSettings): UntypedFormGroup;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<UserSettingsValidatorService, never>;
9
+ static ɵprov: i0.ɵɵInjectableDeclaration<UserSettingsValidatorService>;
7
10
  }
@@ -1,7 +1,7 @@
1
1
  import { ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
2
2
  import { AccountService } from '../services/account.service';
3
3
  import { LocaleConfig, LocalSettings, UsageMode } from '../services/model/settings.model';
4
- import { FormArray, FormBuilder } from '@angular/forms';
4
+ import { UntypedFormArray, UntypedFormBuilder } from '@angular/forms';
5
5
  import { AppForm } from '../form/form.class';
6
6
  import { FormArrayHelper } from '../form/form.utils';
7
7
  import { TranslateService } from '@ngx-translate/core';
@@ -14,13 +14,14 @@ import { AlertController } from '@ionic/angular';
14
14
  import { Property } from '../../shared/types';
15
15
  import { Router } from '@angular/router';
16
16
  import { CanLeave } from '../../shared/guard/component-dirty.guard';
17
+ import * as i0 from "@angular/core";
17
18
  export declare class SettingsPage extends AppForm<LocalSettings> implements OnInit, OnDestroy, CanLeave {
18
19
  protected platform: PlatformService;
19
20
  protected router: Router;
20
21
  protected validatorService: LocalSettingsValidatorService;
21
22
  protected alertCtrl: AlertController;
22
23
  protected translate: TranslateService;
23
- protected formBuilder: FormBuilder;
24
+ protected formBuilder: UntypedFormBuilder;
24
25
  protected accountService: AccountService;
25
26
  protected settings: LocalSettingsService;
26
27
  protected cd: ChangeDetectorRef;
@@ -39,8 +40,8 @@ export declare class SettingsPage extends AppForm<LocalSettings> implements OnIn
39
40
  latLongFormats: string[];
40
41
  get accountInheritance(): boolean;
41
42
  get isLogin(): boolean;
42
- get propertiesForm(): FormArray;
43
- constructor(injector: Injector, platform: PlatformService, router: Router, validatorService: LocalSettingsValidatorService, alertCtrl: AlertController, translate: TranslateService, formBuilder: FormBuilder, accountService: AccountService, settings: LocalSettingsService, cd: ChangeDetectorRef, network: NetworkService, locales: LocaleConfig[]);
43
+ get propertiesForm(): UntypedFormArray;
44
+ constructor(injector: Injector, platform: PlatformService, router: Router, validatorService: LocalSettingsValidatorService, alertCtrl: AlertController, translate: TranslateService, formBuilder: UntypedFormBuilder, accountService: AccountService, settings: LocalSettingsService, cd: ChangeDetectorRef, network: NetworkService, locales: LocaleConfig[]);
44
45
  ngOnInit(): Promise<void>;
45
46
  getPropertyDefinition(index: number): FormFieldDefinition;
46
47
  updatePropertyDefinition(index: number): FormFieldDefinition;
@@ -57,8 +58,10 @@ export declare class SettingsPage extends AppForm<LocalSettings> implements OnIn
57
58
  }): Promise<void>;
58
59
  cancel(event?: Event): Promise<void>;
59
60
  close(event?: Event): Promise<boolean>;
60
- clearCache(event?: UIEvent): Promise<void>;
61
+ clearCache(event?: Event): Promise<void>;
61
62
  protected getValue(): Promise<LocalSettings>;
62
63
  protected getJsonValueToSave(): Promise<any>;
63
64
  protected markForCheck(): void;
65
+ static ɵfac: i0.ɵɵFactoryDeclaration<SettingsPage, never>;
66
+ static ɵcmp: i0.ɵɵComponentDeclaration<SettingsPage, "page-settings", never, {}, {}, never, never, false>;
64
67
  }
@@ -2,6 +2,7 @@ import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit, TemplateRef } from
2
2
  import { MatColumnDef, MatTable } from '@angular/material/table';
3
3
  import { TableElement } from '@e-is/ngx-material-table';
4
4
  import { MatMenuTrigger } from '@angular/material/menu';
5
+ import * as i0 from "@angular/core";
5
6
  export declare class ActionsColumnComponent implements OnInit, OnDestroy {
6
7
  private table;
7
8
  private cd;
@@ -17,7 +18,7 @@ export declare class ActionsColumnComponent implements OnInit, OnDestroy {
17
18
  optionsTitle: string;
18
19
  classList: string;
19
20
  cellTemplate: TemplateRef<any>;
20
- optionsClick: EventEmitter<UIEvent>;
21
+ optionsClick: EventEmitter<Event>;
21
22
  cancelOrDeleteClick: EventEmitter<{
22
23
  event: Event;
23
24
  row: TableElement<any>;
@@ -37,4 +38,6 @@ export declare class ActionsColumnComponent implements OnInit, OnDestroy {
37
38
  constructor(table: MatTable<any>, cd: ChangeDetectorRef);
38
39
  ngOnInit(): void;
39
40
  ngOnDestroy(): void;
41
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActionsColumnComponent, never>;
42
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActionsColumnComponent, "app-actions-column", never, { "stickyEnd": "stickyEnd"; "canCancel": "canCancel"; "canDelete": "canDelete"; "canBackward": "canBackward"; "canForward": "canForward"; "canConfirmAndAdd": "canConfirmAndAdd"; "dirtyIcon": "dirtyIcon"; "optionsTitle": "optionsTitle"; "classList": "class"; "cellTemplate": "cellTemplate"; }, { "optionsClick": "optionsClick"; "cancelOrDeleteClick": "cancelOrDeleteClick"; "confirmAndAddClick": "confirmAndAddClick"; "backward": "backward"; "forward": "forward"; }, never, ["[matHeader]", "[matFooter]"], false>;
40
43
  }
@@ -1,11 +1,11 @@
1
- import { TableDataSource, TableElement, ValidatorService } from '@e-is/ngx-material-table';
1
+ import { TableDataSource, TableDataSourceConfig, TableElement, ValidatorService } from '@e-is/ngx-material-table';
2
2
  import { BehaviorSubject, Observable, Subject } from 'rxjs';
3
3
  import { Entity, IEntity } from '../services/model/entity.model';
4
4
  import { OnDestroy } from '@angular/core';
5
5
  import { SortDirection } from '@angular/material/sort';
6
6
  import { CollectionViewer } from '@angular/cdk/collections';
7
- import { TableDataSourceConfig } from '@e-is/ngx-material-table/src/app/ngx-material-table/table-data-source';
8
7
  import { EntitiesServiceWatchOptions, FetchMoreFn, IEntitiesService, LoadResult } from '../../shared/services/entity-service.class';
8
+ import * as i0 from "@angular/core";
9
9
  export interface EntitiesTableDataSourceConfig<T extends Entity<T, ID>, ID = number, WO extends EntitiesServiceWatchOptions = EntitiesServiceWatchOptions, SO = any> extends TableDataSourceConfig {
10
10
  onRowCreated?: (row: TableElement<T>) => Promise<void> | void;
11
11
  saveOnlyDirtyRows?: boolean;
@@ -18,14 +18,14 @@ export interface EntitiesTableDataSourceConfig<T extends Entity<T, ID>, ID = num
18
18
  saveAllOptions?: SO;
19
19
  [key: string]: any;
20
20
  }
21
- export declare class EntitiesTableDataSource<T extends IEntity<T, ID>, F = any, ID = number, WO extends EntitiesServiceWatchOptions = EntitiesServiceWatchOptions, SO = any, V extends ValidatorService = ValidatorService, C extends EntitiesTableDataSourceConfig<T, ID, WO, SO> = EntitiesTableDataSourceConfig<T, ID, WO, SO>> extends TableDataSource<T, V, C> implements OnDestroy {
21
+ export declare class EntitiesTableDataSource<T extends IEntity<T, ID>, F = any, ID = number, WO extends EntitiesServiceWatchOptions = EntitiesServiceWatchOptions, SO = any, V extends ValidatorService = ValidatorService, C extends EntitiesTableDataSourceConfig<T, ID, WO, SO> = EntitiesTableDataSourceConfig<T, ID, WO, SO>, R extends TableElement<T> = TableElement<T>> extends TableDataSource<T, V, C, R> implements OnDestroy {
22
22
  readonly dataService: IEntitiesService<T, F, WO>;
23
23
  private readonly _entityName;
24
24
  protected _debug: boolean;
25
25
  protected _creating: boolean;
26
26
  protected _saving: boolean;
27
27
  protected _fetchMoreFn: FetchMoreFn<LoadResult<T>>;
28
- protected _stopWatchSubject: Subject<any>;
28
+ protected _stopWatchSubject: Subject<void>;
29
29
  loadingSubject: BehaviorSubject<boolean>;
30
30
  /**
31
31
  * @deprecated Use watchAllOptions or saveAllOptions
@@ -60,32 +60,33 @@ export declare class EntitiesTableDataSource<T extends IEntity<T, ID>, F = any,
60
60
  */
61
61
  close(): void;
62
62
  watchAll(offset: number, size: number, sortBy?: string, sortDirection?: SortDirection, filter?: Partial<F>): Observable<LoadResult<T>>;
63
- protected updateDatasourceFromRows(rows: TableElement<T>[]): void;
63
+ protected updateDatasourceFromRows(rows: R[]): void;
64
64
  save(): Promise<boolean>;
65
65
  updateDatasource(data: T[], opts?: {
66
66
  emitEvent: boolean;
67
67
  }): void;
68
- private viewer;
69
- connect(collectionViewer: CollectionViewer): Observable<TableElement<T>[] | ReadonlyArray<TableElement<T>>>;
68
+ connect(collectionViewer: CollectionViewer): Observable<R[] | ReadonlyArray<R>>;
70
69
  disconnect(collectionViewer?: CollectionViewer): void;
71
70
  waitIdle(debounceTimeMs?: number): Promise<any>;
72
- confirmCreate(row: TableElement<T>): boolean;
73
- confirmEdit(row: TableElement<T>): boolean;
74
- startEdit(row: TableElement<T>): boolean;
71
+ confirmCreate(row: R): boolean;
72
+ confirmEdit(row: R): boolean;
73
+ startEdit(row: R): boolean;
75
74
  handleError(error: any, message: string): Observable<LoadResult<T>>;
76
75
  handleServiceError(error: any): void;
77
76
  delete(id: number): boolean;
78
- deleteAll(rows: TableElement<T>[]): Promise<any>;
79
- getRow(id: number): TableElement<T>;
80
- getRows(): TableElement<T>[];
77
+ deleteAll(rows: R[]): Promise<any>;
78
+ getRow(id: number): R;
79
+ getRows(): R[];
81
80
  hasSomeEditingRow(): boolean;
82
- createNew(insertAt?: number, options?: {
81
+ createNew(insertAt?: number, opts?: {
83
82
  editing: boolean;
84
- }): Promise<TableElement<T> | undefined>;
83
+ }): Promise<R | undefined>;
85
84
  getData(): T[];
86
85
  fetchMore(opts?: {
87
86
  emitEvent: boolean;
88
87
  }): Promise<boolean>;
89
88
  markAsLoading(): void;
90
89
  markAsLoaded(): void;
90
+ static ɵfac: i0.ɵɵFactoryDeclaration<EntitiesTableDataSource<any, any, any, any, any, any, any, any>, never>;
91
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EntitiesTableDataSource<any, any, any, any, any, any, any, any>, never, never, {}, {}, never, never, false>;
91
92
  }
@@ -4,6 +4,7 @@ import { EntitiesTableDataSourceConfig } from './entities-table-datasource.class
4
4
  import { AppTable } from './table.class';
5
5
  import { IEntity } from '../services/model/entity.model';
6
6
  import { InMemoryEntitiesService } from '../../shared/services/memory-entity-service.class';
7
+ import * as i0 from "@angular/core";
7
8
  export declare abstract class AppInMemoryTable<T extends IEntity<T, ID>, F = any, ID = number> extends AppTable<T, F, ID> {
8
9
  protected columns: string[];
9
10
  protected dataType: new () => T;
@@ -19,4 +20,6 @@ export declare abstract class AppInMemoryTable<T extends IEntity<T, ID>, F = any
19
20
  emitEvent?: boolean;
20
21
  }): void;
21
22
  protected equals(t1: T, t2: T): boolean;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppInMemoryTable<any, any, any>, never>;
24
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AppInMemoryTable<any, any, any>, never, never, { "canEdit": "canEdit"; "canDelete": "canDelete"; }, {}, never, never, false>;
22
25
  }
@@ -1,5 +1,6 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { ModalController, NavParams } from '@ionic/angular';
3
+ import * as i0 from "@angular/core";
3
4
  export declare interface ColumnItem {
4
5
  name?: string;
5
6
  label: string;
@@ -13,11 +14,9 @@ export declare class TableSelectColumnsComponent implements OnInit {
13
14
  canHideColumns: boolean;
14
15
  constructor(navParams: NavParams, viewCtrl: ModalController);
15
16
  ngOnInit(): void;
16
- onRenderItems(event: CustomEvent<{
17
- from: number;
18
- to: number;
19
- complete: () => {};
20
- }>): void;
17
+ onRenderItems(event: any): void;
21
18
  close(): void;
22
19
  cancel(): void;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableSelectColumnsComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableSelectColumnsComponent, "table-select-columns", never, { "columns": "columns"; "canHideColumns": "canHideColumns"; }, {}, never, never, false>;
23
22
  }
@@ -14,13 +14,14 @@ import { Location } from '@angular/common';
14
14
  import { IAppForm } from '../form/form.utils';
15
15
  import { LocalSettingsService } from '../services/local-settings.service';
16
16
  import { TranslateService } from '@ngx-translate/core';
17
- import { MatAutocompleteConfigHolder, MatAutocompleteFieldAddOptions, MatAutocompleteFieldConfig } from '../../shared/material/autocomplete/material.autocomplete';
17
+ import { MatAutocompleteConfigHolder, MatAutocompleteFieldAddOptions, MatAutocompleteFieldConfig } from '../../shared/material/autocomplete/material.autocomplete.config';
18
18
  import { CompletableEvent } from '../../shared/events';
19
19
  import { WaitForOptions } from '../../shared/observables';
20
20
  import { ShowToastOptions } from '../../shared/toast/toasts';
21
21
  import { CdkColumnDef } from '@angular/cdk/table';
22
22
  import { LoadResult } from '../../shared/services/entity-service.class';
23
23
  import { FormErrorTranslator, FormErrorTranslatorOptions, IFormControlPathTranslator } from '../../shared/validator/form-error-adapter.class';
24
+ import * as i0 from "@angular/core";
24
25
  export declare const SETTINGS_DISPLAY_COLUMNS = "displayColumns";
25
26
  export declare const SETTINGS_SORTED_COLUMN = "sortedColumn";
26
27
  export declare const SETTINGS_FILTER = "filter";
@@ -40,7 +41,7 @@ export interface IModalDetailOptions<T = any> {
40
41
  isNew: boolean;
41
42
  data: T;
42
43
  disabled: boolean;
43
- onDelete?: (event: UIEvent, data: T) => Promise<boolean>;
44
+ onDelete?: (event: Event, data: T) => Promise<boolean>;
44
45
  }
45
46
  export declare type SaveActionType = 'delete' | 'sort' | 'filter';
46
47
  export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = number> implements OnInit, OnDestroy, AfterViewInit, IAppForm, IFormControlPathTranslator {
@@ -64,7 +65,7 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
64
65
  protected toastController: ToastController;
65
66
  protected previouslyEditedRowId: number;
66
67
  protected formErrorAdapter: FormErrorTranslator;
67
- protected readonly destroySubject: Subject<unknown>;
68
+ protected readonly destroySubject: Subject<void>;
68
69
  excludesColumns: string[];
69
70
  displayedColumns: string[];
70
71
  totalRowCount: number | null;
@@ -125,10 +126,11 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
125
126
  get filter(): F;
126
127
  get empty(): boolean;
127
128
  onRefresh: EventEmitter<any>;
128
- onOpenRow: EventEmitter<{
129
- id?: ID;
129
+ onOpenIdAndRow: EventEmitter<{
130
+ id: ID;
130
131
  row: TableElement<T>;
131
132
  }>;
133
+ onOpenRow: EventEmitter<TableElement<T>>;
132
134
  onNewRow: EventEmitter<any>;
133
135
  onStartEditingRow: EventEmitter<TableElement<T>>;
134
136
  onConfirmEditCreateRow: EventEmitter<TableElement<T>>;
@@ -266,7 +268,7 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
266
268
  isAllSelected(): boolean;
267
269
  /** Selects all rows if they are not all selected; otherwise clear selection. */
268
270
  masterToggle(): Promise<void>;
269
- deleteSelection(event: UIEvent): Promise<number>;
271
+ deleteSelection(event: Event): Promise<number>;
270
272
  /**
271
273
  *
272
274
  * @param event
@@ -274,7 +276,7 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
274
276
  * @param opts Use interactive=false to avoid user interaction (e.g. user confirmation)
275
277
  * And to force deletion even if table is busy
276
278
  */
277
- deleteRow(event: UIEvent | null, row: TableElement<T>, opts?: {
279
+ deleteRow(event: Event | null, row: TableElement<T>, opts?: {
278
280
  interactive?: boolean;
279
281
  }): Promise<boolean>;
280
282
  /**
@@ -284,7 +286,7 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
284
286
  * @param opts Use interactive=false to avoid user interaction (e.g. user confirmation)
285
287
  * And to force deletion even if table is busy
286
288
  */
287
- deleteRows(event: UIEvent | null, rows: TableElement<T>[], opts?: {
289
+ deleteRows(event: Event | null, rows: TableElement<T>[], opts?: {
288
290
  interactive?: boolean;
289
291
  }): Promise<number>;
290
292
  selectRowById(id: number): Promise<boolean>;
@@ -293,7 +295,7 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
293
295
  * @param data
294
296
  */
295
297
  selectRowByData(data: T): Promise<boolean>;
296
- clickRow(event: UIEvent | undefined, row: TableElement<T>): boolean;
298
+ clickRow(event: Event | undefined, row: TableElement<T>): boolean;
297
299
  moveRow(id: number, direction: number): void;
298
300
  ready(opts?: WaitForOptions): Promise<void>;
299
301
  waitIdle(opts?: WaitForOptions): Promise<void>;
@@ -325,7 +327,7 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
325
327
  }): Promise<boolean>;
326
328
  protected saveBeforeAction(saveAction: SaveActionType): Promise<boolean>;
327
329
  /**
328
- * Open a row. By default, will to open row detail page.
330
+ * Open a row detail view. By default, will to open row detail page.
329
331
  * Can be override by subclasses, BUT prefer to subscribe on onOpenRow
330
332
  * @param id
331
333
  * @param row
@@ -361,9 +363,9 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
361
363
  protected getShowColumn(columnName: string): boolean;
362
364
  protected startsWithUpperCase(input: string, search: string): boolean;
363
365
  protected markForCheck(): void;
364
- protected askDeleteConfirmation(event?: UIEvent, rows?: TableElement<T>[]): Promise<boolean>;
365
- protected askCancelConfirmation(event?: UIEvent, rows?: TableElement<T>[]): Promise<boolean>;
366
- protected askRestoreConfirmation(event?: UIEvent): Promise<boolean>;
366
+ protected askDeleteConfirmation(event?: Event, rows?: TableElement<T>[]): Promise<boolean>;
367
+ protected askCancelConfirmation(event?: Event, rows?: TableElement<T>[]): Promise<boolean>;
368
+ protected askRestoreConfirmation(event?: Event): Promise<boolean>;
367
369
  protected showToast(opts: ShowToastOptions): Promise<import("@ionic/core").OverlayEventDetail<any>>;
368
370
  protected resetError(opts?: {
369
371
  emitEvent?: boolean;
@@ -397,4 +399,6 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
397
399
  private listenDatasourceLoading;
398
400
  private startCellValueChanges;
399
401
  private stopCellValueChanges;
402
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppTable<any, any, any>, never>;
403
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AppTable<any, any, any>, never, never, { "settingsId": "settingsId"; "debug": "debug"; "i18nColumnPrefix": "i18nColumnPrefix"; "i18nColumnSuffix": "i18nColumnSuffix"; "autoLoad": "autoLoad"; "readOnly": "readOnly"; "inlineEdition": "inlineEdition"; "focusFirstColumn": "focusFirstColumn"; "confirmBeforeDelete": "confirmBeforeDelete"; "confirmBeforeCancel": "confirmBeforeCancel"; "undoableDeletion": "undoableDeletion"; "saveBeforeDelete": "saveBeforeDelete"; "keepEditedRowOnSave": "keepEditedRowOnSave"; "saveBeforeSort": "saveBeforeSort"; "saveBeforeFilter": "saveBeforeFilter"; "propagateRowError": "propagateRowError"; "defaultSortBy": "defaultSortBy"; "defaultSortDirection": "defaultSortDirection"; "defaultPageSize": "defaultPageSize"; "defaultPageSizeOptions": "defaultPageSizeOptions"; "focusColumn": "focusColumn"; "dataSource": "dataSource"; "filter": "filter"; "disabled": "disabled"; "paginator": "paginator"; }, { "onRefresh": "onRefresh"; "onOpenIdAndRow": "onOpenIdAndRow"; "onOpenRow": "onOpenRow"; "onNewRow": "onNewRow"; "onStartEditingRow": "onStartEditingRow"; "onConfirmEditCreateRow": "onConfirmEditCreateRow"; "onCancelOrDeleteRow": "onCancelOrDeleteRow"; "onBeforeDeleteRows": "onBeforeDeleteRows"; "onBeforeCancelRows": "onBeforeCancelRows"; "onBeforeSave": "onBeforeSave"; "onAfterDeletedRows": "onAfterDeletedRows"; "onSort": "onSort"; "onDirty": "onDirty"; "onError": "onError"; }, never, never, false>;
400
404
  }
@@ -1,6 +1,7 @@
1
1
  import { AppTable } from './table.class';
2
2
  import { TableElement } from '@e-is/ngx-material-table';
3
+ import { AsyncTableElement } from '@e-is/ngx-material-table/src/app/ngx-material-table/async/async-table-element';
3
4
  export declare class AppTableUtils {
4
5
  static waitIdle(table: AppTable<any, any, any>): Promise<any>;
5
- static logRowErrors(row: TableElement<any>, logPrefix?: string): void;
6
+ static logRowErrors(row: TableElement<any> | AsyncTableElement<any>, logPrefix?: string): void;
6
7
  }
@@ -1,53 +1,51 @@
1
- /// <reference types="node" />
2
1
  import { ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
3
2
  import { AppTable } from '../table.class';
4
3
  import { Referential } from '../../services/model/referential.model';
5
4
  import { IonInfiniteScroll } from '@ionic/angular';
6
5
  import { InMemoryEntitiesService } from '../../../shared/services/memory-entity-service.class';
7
6
  import { AppValidatorService } from '../../services/validator/base.validator.class';
8
- import { AbstractControl, FormBuilder, FormGroup } from '@angular/forms';
7
+ import { AbstractControl, UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
9
8
  import { ReferentialFilter } from '../../services/testing/referential-filter.model';
10
9
  import { MatExpansionPanel } from '@angular/material/expansion';
11
- import Timeout = NodeJS.Timeout;
10
+ import { Subscription } from 'rxjs';
11
+ import * as i0 from "@angular/core";
12
12
  export declare class TableTestPage extends AppTable<Referential, ReferentialFilter> implements OnInit, OnDestroy {
13
13
  protected validatorService: AppValidatorService;
14
- protected formBuilder: FormBuilder;
14
+ protected formBuilder: UntypedFormBuilder;
15
15
  protected cd: ChangeDetectorRef;
16
16
  static maxRowCount: number;
17
- timer: Timeout;
17
+ timer: Subscription;
18
18
  canEdit: boolean;
19
19
  data: Referential[];
20
- filterForm: FormGroup;
20
+ filterForm: UntypedFormGroup;
21
21
  filterCriteriaCount: number;
22
22
  groupColumns: string[];
23
23
  readonly statusList: readonly import("../../services/model/referential.model").IStatus[];
24
- readonly statusById: Readonly<import("../../../shared/types").KeyValueType<import("../../services/model/referential.model").IStatus>>;
24
+ readonly statusById: Readonly<import("@sumaris-net/ngx-components").KeyValueType<import("../../services/model/referential.model").IStatus>>;
25
25
  enableInfiniteScroll: boolean;
26
26
  useSticky: boolean;
27
27
  get hasMoreData(): boolean;
28
28
  filterExpansionPanel: MatExpansionPanel;
29
29
  infiniteScroll: IonInfiniteScroll;
30
30
  get dataService(): InMemoryEntitiesService<Referential>;
31
- constructor(injector: Injector, validatorService: AppValidatorService, formBuilder: FormBuilder, cd: ChangeDetectorRef);
31
+ constructor(injector: Injector, validatorService: AppValidatorService, formBuilder: UntypedFormBuilder, cd: ChangeDetectorRef);
32
32
  ngOnInit(): void;
33
33
  ngAfterViewInit(): void;
34
34
  ngOnDestroy(): void;
35
35
  protected restoreFilter(): void;
36
36
  toggleTimer(): void;
37
37
  load(): void;
38
- fetchMore(event?: CustomEvent & {
39
- target?: EventTarget & {
40
- complete?: () => void;
41
- };
42
- }): Promise<void>;
38
+ fetchMore(event: any): Promise<void>;
43
39
  save(opts?: {
44
40
  keepEditing?: boolean;
45
41
  }): Promise<boolean>;
46
- clearControlValue(event: UIEvent, formControl: AbstractControl): boolean;
47
- applyFilterAndClosePanel(event?: UIEvent): void;
48
- resetFilter(event?: UIEvent): void;
42
+ clearControlValue(event: Event, formControl: AbstractControl): boolean;
43
+ applyFilterAndClosePanel(event?: Event): void;
44
+ resetFilter(event?: Event): void;
49
45
  startTimer(): void;
50
46
  stopTimer(): void;
51
47
  protected generateData(offset?: number, size?: number): Referential[];
52
48
  protected markForCheck(): void;
49
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableTestPage, never>;
50
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableTestPage, "app-table-testing", never, { "enableInfiniteScroll": "enableInfiniteScroll"; "useSticky": "useSticky"; }, {}, never, never, false>;
53
51
  }
@@ -1,2 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./table.testing";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../../../shared/shared.module";
5
+ import * as i4 from "../../core.module";
6
+ import * as i5 from "@ngx-translate/core";
1
7
  export declare class TableTestingModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableTestingModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TableTestingModule, [typeof i1.TableTestPage], [typeof i2.CommonModule, typeof i3.SharedModule, typeof i4.CoreModule, typeof i5.TranslateModule], [typeof i1.TableTestPage, typeof i5.TranslateModule]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<TableTestingModule>;
2
11
  }
@@ -1,7 +1,10 @@
1
1
  import { PopoverController } from '@ionic/angular';
2
2
  import { TextPopoverOptions } from '../text-popover.component';
3
+ import * as i0 from "@angular/core";
3
4
  export declare class TextPopoverTestingPage {
4
5
  private popoverController;
5
6
  constructor(popoverController: PopoverController);
6
- showPopover(event: UIEvent, opts?: Partial<TextPopoverOptions>): Promise<void>;
7
+ showPopover(event: Event, opts?: Partial<TextPopoverOptions>): Promise<void>;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<TextPopoverTestingPage, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextPopoverTestingPage, "text-popover-testing", never, {}, {}, never, never, false>;
7
10
  }
@@ -1,2 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./text-popover.testing";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@ionic/angular";
5
+ import * as i4 from "@ngx-translate/core";
6
+ import * as i5 from "@angular/router";
1
7
  export declare class TextPopoverTestingModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<TextPopoverTestingModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TextPopoverTestingModule, [typeof i1.TextPopoverTestingPage], [typeof i2.CommonModule, typeof i3.IonicModule, typeof i4.TranslateModule, typeof i5.RouterModule], [typeof i5.RouterModule, typeof i1.TextPopoverTestingPage]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<TextPopoverTestingModule>;
2
11
  }
@@ -1,13 +1,14 @@
1
1
  import { ChangeDetectorRef, ElementRef, EventEmitter, Injector, OnInit } from '@angular/core';
2
- import { FormBuilder, FormControl } from '@angular/forms';
2
+ import { UntypedFormBuilder, UntypedFormControl } from '@angular/forms';
3
3
  import { CdkTextareaAutosize } from '@angular/cdk/text-field';
4
4
  import { AppForm } from '../form/form.class';
5
+ import * as i0 from "@angular/core";
5
6
  export declare class TextForm extends AppForm<{
6
7
  text: string;
7
8
  }> implements OnInit {
8
9
  protected injector: Injector;
9
10
  protected cd: ChangeDetectorRef;
10
- protected formBuilder: FormBuilder;
11
+ protected formBuilder: UntypedFormBuilder;
11
12
  showError: boolean;
12
13
  placeholder: string;
13
14
  multiline: boolean;
@@ -18,11 +19,13 @@ export declare class TextForm extends AppForm<{
18
19
  textArea: ElementRef;
19
20
  textInput: ElementRef;
20
21
  autosizeDirective: CdkTextareaAutosize;
21
- control: FormControl;
22
- constructor(injector: Injector, cd: ChangeDetectorRef, formBuilder: FormBuilder);
22
+ control: UntypedFormControl;
23
+ constructor(injector: Injector, cd: ChangeDetectorRef, formBuilder: UntypedFormBuilder);
23
24
  ngOnInit(): void;
24
25
  textAreaChanged(event: KeyboardEvent): void;
25
26
  containerResize(): void;
26
27
  focusInput(): void;
27
28
  protected markForCheck(): void;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<TextForm, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextForm, "app-text-form", never, { "showError": "showError"; "placeholder": "placeholder"; "multiline": "multiline"; "autoHeight": "autoHeight"; "maxLength": "maxLength"; "autofocus": "autofocus"; }, { "textAreaChanges": "textAreaChanges"; }, never, never, false>;
28
31
  }
@@ -3,6 +3,7 @@ import { PopoverController } from '@ionic/angular';
3
3
  import { Subscription } from 'rxjs';
4
4
  import { TranslateService } from '@ngx-translate/core';
5
5
  import { TextForm } from './text-form.component';
6
+ import * as i0 from "@angular/core";
6
7
  export interface TextPopoverOptions {
7
8
  text?: string;
8
9
  placeholder?: string;
@@ -34,4 +35,6 @@ export declare class TextPopover implements OnInit, AfterViewInit, OnDestroy, Te
34
35
  enable(): void;
35
36
  cancel(): void;
36
37
  ngOnDestroy(): void;
38
+ static ɵfac: i0.ɵɵFactoryDeclaration<TextPopover, never>;
39
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextPopover, "app-text-popover", never, { "text": "text"; "placeholder": "placeholder"; "editing": "editing"; "multiline": "multiline"; "maxLength": "maxLength"; "autofocus": "autofocus"; }, {}, never, never, false>;
37
40
  }
@@ -9,7 +9,7 @@ export declare class Alerts {
9
9
  * @param event
10
10
  * @deprecated prefer ComponentDirtyGuard
11
11
  */
12
- static askSaveBeforeLeave(alertCtrl: AlertController, translate: TranslateService, event?: UIEvent): Promise<boolean | undefined>;
12
+ static askSaveBeforeLeave(alertCtrl: AlertController, translate: TranslateService, event?: Event): Promise<boolean | undefined>;
13
13
  /**
14
14
  * Ask the user to conform an action. If return undefined: user has cancelled
15
15
  *
@@ -19,7 +19,7 @@ export declare class Alerts {
19
19
  * @param event
20
20
  * @param interpolateParams
21
21
  */
22
- static askActionConfirmation(alertCtrl: AlertController, translate: TranslateService, immediate?: boolean, event?: UIEvent, interpolateParams?: any): Promise<boolean | undefined>;
22
+ static askActionConfirmation(alertCtrl: AlertController, translate: TranslateService, immediate?: boolean, event?: Event, interpolateParams?: any): Promise<boolean | undefined>;
23
23
  /**
24
24
  * Ask the user to confirm. If return undefined: user has cancelled
25
25
  *
@@ -30,7 +30,7 @@ export declare class Alerts {
30
30
  * @param event
31
31
  * @param interpolateParams
32
32
  */
33
- static askConfirmation(messageKey: string, alertCtrl: AlertController, translate: TranslateService, event?: UIEvent, interpolateParams?: any): Promise<boolean | undefined>;
33
+ static askConfirmation(messageKey: string, alertCtrl: AlertController, translate: TranslateService, event?: Event, interpolateParams?: any): Promise<boolean | undefined>;
34
34
  /**
35
35
  * Ask the user to save before leaving. If return undefined: user has cancelled
36
36
  *
@@ -39,7 +39,7 @@ export declare class Alerts {
39
39
  * @param event
40
40
  * @param interpolateParams
41
41
  */
42
- static askDeleteConfirmation(alertCtrl: AlertController, translate: TranslateService, event?: UIEvent, interpolateParams?: any): Promise<boolean | undefined>;
42
+ static askDeleteConfirmation(alertCtrl: AlertController, translate: TranslateService, event?: Event, interpolateParams?: any): Promise<boolean | undefined>;
43
43
  static askSaveBeforeAction(alertCtrl: AlertController, translate: TranslateService, event?: {
44
44
  valid: boolean;
45
45
  }, interpolateParams?: any): Promise<{
@@ -1,34 +1,43 @@
1
- import { NativeAudio } from '@ionic-native/native-audio/ngx';
2
- import { Vibration } from '@ionic-native/vibration/ngx';
3
1
  import { Platform } from '@ionic/angular';
4
2
  import { AudioManagement } from '@ionic-native/audio-management/ngx';
5
3
  import { StartableService } from '../services/startable-service.class';
4
+ import * as i0 from "@angular/core";
6
5
  export declare type AudioType = 'html5' | 'native';
7
6
  export interface Sound {
8
- id: string;
7
+ assetId: string;
9
8
  assetPath: string;
9
+ volume?: number;
10
+ isUrl?: boolean;
11
+ time?: number;
12
+ audioChannelNum?: number;
10
13
  vibration?: number | number[];
11
14
  }
12
15
  export declare class AudioProvider extends StartableService<void> {
13
16
  protected platform: Platform;
14
- private nativeAudio;
15
- private vibration;
16
17
  private audioManagement;
17
18
  private _audioType;
18
19
  private _audioMode;
20
+ private _assetPathPrefix;
19
21
  private _preloadedSounds;
20
22
  private _htmlAudioCache;
21
- constructor(platform: Platform, nativeAudio: NativeAudio, vibration: Vibration, audioManagement: AudioManagement);
23
+ constructor(platform: Platform, audioManagement: AudioManagement);
24
+ protected ngOnStart(): Promise<void>;
22
25
  playBeepConfirm(): Promise<any>;
23
26
  playBeepError(): Promise<any>;
27
+ playBeepNotification(): Promise<any>;
24
28
  playStartupSound(): Promise<any>;
25
29
  preload(sound: Sound): Promise<void>;
26
- play(id: string, opts?: {
30
+ play(assetId: string, opts?: {
27
31
  vibrate?: boolean;
28
- vibrationTimes?: number | number[];
32
+ vibration?: number | number[];
29
33
  }): Promise<any>;
30
- unload(id: string): Promise<void>;
31
- vibrate(timeInMs?: number | number[]): Promise<void>;
32
- ngOnStart(): Promise<void>;
34
+ unload(assetId: string): Promise<void>;
35
+ /**
36
+ *
37
+ * @param duration Duration of the vibration in milliseconds.
38
+ */
39
+ vibrate(duration?: number | number[]): Promise<void>;
33
40
  protected readAudioMode(): Promise<void>;
41
+ static ɵfac: i0.ɵɵFactoryDeclaration<AudioProvider, [null, { optional: true; }]>;
42
+ static ɵprov: i0.ɵɵInjectableDeclaration<AudioProvider>;
34
43
  }