@sumaris-net/ngx-components 1.23.44 → 2.0.0-rc3

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 (739) hide show
  1. package/doc/build.md +2 -2
  2. package/doc/changelog.md +8 -0
  3. package/esm2020/public_api.mjs +278 -0
  4. package/esm2020/public_test_api.mjs +46 -0
  5. package/esm2020/src/app/admin/admin-routing.module.mjs +41 -0
  6. package/esm2020/src/app/admin/admin.module.mjs +34 -0
  7. package/esm2020/src/app/admin/services/filter/person.filter.mjs +59 -0
  8. package/esm2020/src/app/admin/services/person.service.mjs +161 -0
  9. package/esm2020/src/app/admin/services/validator/person.validator.mjs +34 -0
  10. package/esm2020/src/app/admin/users/list/users.mjs +233 -0
  11. package/esm2020/src/app/admin/users/list/users.module.mjs +58 -0
  12. package/esm2020/src/app/core/about/modal-about.mjs +71 -0
  13. package/esm2020/src/app/core/account/account.mjs +230 -0
  14. package/esm2020/src/app/core/auth/form/form-auth.mjs +131 -0
  15. package/esm2020/src/app/core/auth/modal/modal-auth.mjs +72 -0
  16. package/esm2020/src/app/core/core.module.mjs +223 -0
  17. package/esm2020/src/app/core/core.testing.module.mjs +86 -0
  18. package/esm2020/src/app/core/form/editor.class.mjs +672 -0
  19. package/esm2020/src/app/core/form/entity-editor-modal.class.mjs +407 -0
  20. package/esm2020/src/app/core/form/entity-editor.class.mjs +646 -0
  21. package/esm2020/src/app/core/form/entity-metadata.component.mjs +25 -0
  22. package/esm2020/src/app/core/form/form-buttons-bar.component.mjs +71 -0
  23. package/esm2020/src/app/core/form/form.class.mjs +337 -0
  24. package/esm2020/src/app/core/form/form.utils.mjs +299 -0
  25. package/esm2020/src/app/core/form/list.form.mjs +222 -0
  26. package/esm2020/src/app/core/form/properties/properties.form.mjs +129 -0
  27. package/esm2020/src/app/core/form/properties/property.validator.mjs +23 -0
  28. package/esm2020/src/app/core/form/properties/testing/properties-form.test.mjs +90 -0
  29. package/esm2020/src/app/core/form/properties/testing/properties-form.testing.module.mjs +39 -0
  30. package/esm2020/src/app/core/graphql/graphql.module.mjs +22 -0
  31. package/esm2020/src/app/core/graphql/graphql.service.mjs +730 -0
  32. package/esm2020/src/app/core/graphql/graphql.utils.mjs +117 -0
  33. package/esm2020/src/app/core/home/home.mjs +257 -0
  34. package/esm2020/src/app/core/icon/icon.component.mjs +41 -0
  35. package/esm2020/src/app/core/icon/icon.module.mjs +29 -0
  36. package/esm2020/src/app/core/install/install-upgrade-card.component.mjs +337 -0
  37. package/esm2020/src/app/core/install/install-upgrade-card.module.mjs +33 -0
  38. package/esm2020/src/app/core/menu/menu.component.mjs +317 -0
  39. package/{esm2015/src/app/core/menu/menu.model.js → esm2020/src/app/core/menu/menu.model.mjs} +0 -0
  40. package/esm2020/src/app/core/menu/menu.module.mjs +45 -0
  41. package/{esm2015/src/app/core/menu/menu.service.js → esm2020/src/app/core/menu/menu.service.mjs} +9 -7
  42. package/esm2020/src/app/core/offline/update-offline-mode-card.component.mjs +27 -0
  43. package/esm2020/src/app/core/peer/select-peer.modal.mjs +130 -0
  44. package/esm2020/src/app/core/peer/select-peer.module.mjs +35 -0
  45. package/esm2020/src/app/core/register/confirm/confirm.mjs +81 -0
  46. package/esm2020/src/app/core/register/form/form-register.mjs +181 -0
  47. package/esm2020/src/app/core/register/modal/modal-register.mjs +52 -0
  48. package/esm2020/src/app/core/register/register.module.mjs +42 -0
  49. package/esm2020/src/app/core/services/account.service.mjs +1112 -0
  50. package/esm2020/src/app/core/services/auth-guard.service.mjs +71 -0
  51. package/esm2020/src/app/core/services/base-entity-service.class.mjs +432 -0
  52. package/esm2020/src/app/core/services/base-graphql-service.class.mjs +219 -0
  53. package/{esm2015/src/app/core/services/base58.js → esm2020/src/app/core/services/base58.mjs} +0 -0
  54. package/{esm2015/src/app/core/services/config/core.config.js → esm2020/src/app/core/services/config/core.config.mjs} +0 -0
  55. package/esm2020/src/app/core/services/config.service.mjs +354 -0
  56. package/{esm2015/src/app/core/services/crypto.service.js → esm2020/src/app/core/services/crypto.service.mjs} +7 -5
  57. package/{esm2015/src/app/core/services/errors.js → esm2020/src/app/core/services/errors.mjs} +0 -0
  58. package/esm2020/src/app/core/services/local-settings.service.mjs +442 -0
  59. package/esm2020/src/app/core/services/model/account.model.mjs +50 -0
  60. package/esm2020/src/app/core/services/model/config.model.mjs +89 -0
  61. package/esm2020/src/app/core/services/model/department.model.mjs +30 -0
  62. package/esm2020/src/app/core/services/model/entity.decorators.mjs +107 -0
  63. package/esm2020/src/app/core/services/model/entity.model.mjs +242 -0
  64. package/{esm2015/src/app/core/services/model/filter.model.js → esm2020/src/app/core/services/model/filter.model.mjs} +0 -0
  65. package/{esm2015/src/app/core/services/model/history.model.js → esm2020/src/app/core/services/model/history.model.mjs} +0 -0
  66. package/{esm2015/src/app/core/services/model/model.enum.js → esm2020/src/app/core/services/model/model.enum.mjs} +0 -0
  67. package/esm2020/src/app/core/services/model/peer.model.mjs +68 -0
  68. package/esm2020/src/app/core/services/model/person.model.mjs +83 -0
  69. package/esm2020/src/app/core/services/model/referential.model.mjs +145 -0
  70. package/esm2020/src/app/core/services/model/settings.model.mjs +75 -0
  71. package/esm2020/src/app/core/services/network.service.mjs +595 -0
  72. package/esm2020/src/app/core/services/network.utils.mjs +16 -0
  73. package/esm2020/src/app/core/services/pipes/account.pipes.mjs +38 -0
  74. package/esm2020/src/app/core/services/pipes/department-to-string.pipe.mjs +23 -0
  75. package/esm2020/src/app/core/services/pipes/person-to-string.pipe.mjs +23 -0
  76. package/esm2020/src/app/core/services/pipes/usage-mode.pipes.mjs +37 -0
  77. package/esm2020/src/app/core/services/platform.service.mjs +476 -0
  78. package/esm2020/src/app/core/services/storage/entities-storage.service.mjs +422 -0
  79. package/esm2020/src/app/core/services/storage/entity-store.class.mjs +449 -0
  80. package/esm2020/src/app/core/services/testing/referential-filter.model.mjs +23 -0
  81. package/esm2020/src/app/core/services/testing/referential.validator.mjs +45 -0
  82. package/esm2020/src/app/core/services/validator/account.validator.mjs +52 -0
  83. package/esm2020/src/app/core/services/validator/base.validator.class.mjs +47 -0
  84. package/esm2020/src/app/core/services/validator/local-settings.validator.mjs +66 -0
  85. package/esm2020/src/app/core/services/validator/user-settings.validator.mjs +29 -0
  86. package/esm2020/src/app/core/settings/settings.page.mjs +290 -0
  87. package/esm2020/src/app/core/table/actions-column.component.mjs +96 -0
  88. package/esm2020/src/app/core/table/entities-table-datasource.class.mjs +394 -0
  89. package/esm2020/src/app/core/table/memory-table.class.mjs +53 -0
  90. package/esm2020/src/app/core/table/table-select-columns.component.mjs +43 -0
  91. package/esm2020/src/app/core/table/table.class.mjs +1666 -0
  92. package/esm2020/src/app/core/table/table.utils.mjs +13 -0
  93. package/esm2020/src/app/core/table/testing/table.testing.mjs +264 -0
  94. package/esm2020/src/app/core/table/testing/table.testing.module.mjs +38 -0
  95. package/esm2020/src/app/core/text-popover/testing/text-popover.testing.mjs +37 -0
  96. package/esm2020/src/app/core/text-popover/testing/text-popover.testing.module.mjs +45 -0
  97. package/esm2020/src/app/core/text-popover/text-form.component.mjs +84 -0
  98. package/esm2020/src/app/core/text-popover/text-popover.component.mjs +92 -0
  99. package/esm2020/src/app/shared/alerts.mjs +238 -0
  100. package/esm2020/src/app/shared/audio/audio.mjs +201 -0
  101. package/esm2020/src/app/shared/audio/audio.testing.mjs +31 -0
  102. package/esm2020/src/app/shared/audio/audio.testing.module.mjs +45 -0
  103. package/esm2020/src/app/shared/capacitor/keyboard.mjs +40 -0
  104. package/esm2020/src/app/shared/capacitor/plugins.mjs +9 -0
  105. package/{esm2015/src/app/shared/constants.js → esm2020/src/app/shared/constants.mjs} +2 -1
  106. package/esm2020/src/app/shared/dates.mjs +134 -0
  107. package/esm2020/src/app/shared/debug/debug.component.mjs +39 -0
  108. package/esm2020/src/app/shared/debug/debug.module.mjs +44 -0
  109. package/esm2020/src/app/shared/directives/autofocus.directive.mjs +92 -0
  110. package/esm2020/src/app/shared/directives/autotitle.directive.mjs +30 -0
  111. package/esm2020/src/app/shared/directives/directives.module.mjs +43 -0
  112. package/esm2020/src/app/shared/directives/drag-and-drop.directive.mjs +53 -0
  113. package/esm2020/src/app/shared/directives/ng-var.directive.mjs +31 -0
  114. package/esm2020/src/app/shared/directives/resizable/resizable.component.mjs +59 -0
  115. package/esm2020/src/app/shared/directives/resizable/resizable.directive.mjs +40 -0
  116. package/esm2020/src/app/shared/directives/resizable/resizable.module.mjs +17 -0
  117. package/esm2020/src/app/shared/events.mjs +64 -0
  118. package/esm2020/src/app/shared/file/csv.utils.mjs +74 -0
  119. package/esm2020/src/app/shared/file/file.service.mjs +117 -0
  120. package/esm2020/src/app/shared/file/file.utils.mjs +113 -0
  121. package/esm2020/src/app/shared/file/images.utils.mjs +161 -0
  122. package/{esm2015/src/app/shared/file/uri.utils.js → esm2020/src/app/shared/file/uri.utils.mjs} +0 -0
  123. package/{esm2015/src/app/shared/focusable.js → esm2020/src/app/shared/focusable.mjs} +0 -0
  124. package/esm2020/src/app/shared/form/field.component.mjs +244 -0
  125. package/{esm2015/src/app/shared/form/field.model.js → esm2020/src/app/shared/form/field.model.mjs} +1 -1
  126. package/esm2020/src/app/shared/form/loading-spinner.mjs +36 -0
  127. package/esm2020/src/app/shared/forms.mjs +374 -0
  128. package/esm2020/src/app/shared/functions.mjs +430 -0
  129. package/{esm2015/src/app/shared/gesture/gesture-config.js → esm2020/src/app/shared/gesture/gesture-config.mjs} +7 -5
  130. package/esm2020/src/app/shared/gesture/hammer.utils.mjs +2 -0
  131. package/{esm2015/src/app/shared/graph/colors.utils.js → esm2020/src/app/shared/graph/colors.utils.mjs} +0 -0
  132. package/esm2020/src/app/shared/graph/graph-colors.mjs +254 -0
  133. package/esm2020/src/app/shared/guard/component-dirty.guard.mjs +57 -0
  134. package/esm2020/src/app/shared/help/help.modal.mjs +53 -0
  135. package/esm2020/src/app/shared/hotkeys/dialog/hotkeys-dialog.component.mjs +23 -0
  136. package/esm2020/src/app/shared/hotkeys/hotkeys.service.mjs +84 -0
  137. package/esm2020/src/app/shared/hotkeys/shared-hotkeys.module.mjs +42 -0
  138. package/esm2020/src/app/shared/http/http.utils.mjs +52 -0
  139. package/esm2020/src/app/shared/image/gallery/image-gallery.component.mjs +279 -0
  140. package/esm2020/src/app/shared/image/gallery/image-gallery.module.mjs +46 -0
  141. package/esm2020/src/app/shared/image/gallery/testing/gallegry.model.testing.mjs +27 -0
  142. package/esm2020/src/app/shared/image/gallery/testing/gallery.service.testing.mjs +89 -0
  143. package/esm2020/src/app/shared/image/gallery/testing/gallery.testing.mjs +33 -0
  144. package/esm2020/src/app/shared/image/gallery/testing/gallery.testing.module.mjs +56 -0
  145. package/esm2020/src/app/shared/image/image.model.mjs +2 -0
  146. package/esm2020/src/app/shared/image/image.module.mjs +29 -0
  147. package/esm2020/src/app/shared/image/image.service.mjs +99 -0
  148. package/{esm2015/src/app/shared/inputs.js → esm2020/src/app/shared/inputs.mjs} +4 -4
  149. package/{esm2015/src/app/shared/interceptors/progess.interceptor.js → esm2020/src/app/shared/interceptors/progess.interceptor.mjs} +0 -0
  150. package/esm2020/src/app/shared/material/autocomplete/material.autocomplete.config.mjs +47 -0
  151. package/esm2020/src/app/shared/material/autocomplete/material.autocomplete.mjs +836 -0
  152. package/esm2020/src/app/shared/material/autocomplete/material.autocomplete.module.mjs +78 -0
  153. package/esm2020/src/app/shared/material/autocomplete/material.autocomplete.utils.mjs +19 -0
  154. package/esm2020/src/app/shared/material/autocomplete/testing/autocomplete.test.mjs +205 -0
  155. package/esm2020/src/app/shared/material/badge/badge.directive.mjs +157 -0
  156. package/esm2020/src/app/shared/material/badge/badge.module.mjs +32 -0
  157. package/esm2020/src/app/shared/material/badge/badge.test.mjs +26 -0
  158. package/esm2020/src/app/shared/material/boolean/boolean.module.mjs +68 -0
  159. package/esm2020/src/app/shared/material/boolean/material.boolean.mjs +253 -0
  160. package/esm2020/src/app/shared/material/chips/chips.module.mjs +76 -0
  161. package/esm2020/src/app/shared/material/chips/material.chips.mjs +691 -0
  162. package/esm2020/src/app/shared/material/chips/testing/chips.test.mjs +136 -0
  163. package/esm2020/src/app/shared/material/datetime/datetime.module.mjs +91 -0
  164. package/esm2020/src/app/shared/material/datetime/material.date.mjs +388 -0
  165. package/esm2020/src/app/shared/material/datetime/material.dateshort.mjs +327 -0
  166. package/esm2020/src/app/shared/material/datetime/material.datetime.mjs +434 -0
  167. package/esm2020/src/app/shared/material/datetime/testing/mat-date-time.test.mjs +110 -0
  168. package/esm2020/src/app/shared/material/datetime/testing/mat-date.test.mjs +111 -0
  169. package/esm2020/src/app/shared/material/duration/duration.module.mjs +67 -0
  170. package/{esm2015/src/app/shared/material/duration/duration.utils.js → esm2020/src/app/shared/material/duration/duration.utils.mjs} +0 -0
  171. package/esm2020/src/app/shared/material/duration/material.duration.mjs +257 -0
  172. package/esm2020/src/app/shared/material/latlong/latlong.utils.mjs +266 -0
  173. package/esm2020/src/app/shared/material/latlong/material.latlong.mjs +381 -0
  174. package/esm2020/src/app/shared/material/latlong/material.latlong.module.mjs +67 -0
  175. package/esm2020/src/app/shared/material/latlong/testing/latlong.test.mjs +74 -0
  176. package/{esm2015/src/app/shared/material/material.animations.js → esm2020/src/app/shared/material/material.animations.mjs} +0 -0
  177. package/esm2020/src/app/shared/material/material.module.mjs +224 -0
  178. package/esm2020/src/app/shared/material/material.testing.module.mjs +145 -0
  179. package/esm2020/src/app/shared/material/numpad/numpad.append-to-input.directive.mjs +98 -0
  180. package/esm2020/src/app/shared/material/numpad/numpad.component.mjs +80 -0
  181. package/esm2020/src/app/shared/material/numpad/numpad.container.mjs +190 -0
  182. package/esm2020/src/app/shared/material/numpad/numpad.content.mjs +17 -0
  183. package/esm2020/src/app/shared/material/numpad/numpad.directive.mjs +162 -0
  184. package/esm2020/src/app/shared/material/numpad/numpad.dom-service.mjs +37 -0
  185. package/{esm2015/src/app/shared/material/numpad/numpad.model.js → esm2020/src/app/shared/material/numpad/numpad.model.mjs} +1 -1
  186. package/esm2020/src/app/shared/material/numpad/numpad.module.mjs +60 -0
  187. package/esm2020/src/app/shared/material/numpad/testing/numpad.test.mjs +46 -0
  188. package/esm2020/src/app/shared/material/paginator/material.paginator-i18n.mjs +42 -0
  189. package/esm2020/src/app/shared/material/stepper/material.stepper-i18n.mjs +22 -0
  190. package/esm2020/src/app/shared/material/swipe/material.swipe.mjs +334 -0
  191. package/esm2020/src/app/shared/material/swipe/swipe.module.mjs +51 -0
  192. package/esm2020/src/app/shared/material/swipe/testing/swipe.test.mjs +65 -0
  193. package/esm2020/src/app/shared/observables.mjs +96 -0
  194. package/esm2020/src/app/shared/pipes/arrays.pipe.mjs +135 -0
  195. package/esm2020/src/app/shared/pipes/colors.pipe.mjs +23 -0
  196. package/esm2020/src/app/shared/pipes/date-diff-duration.pipe.mjs +49 -0
  197. package/esm2020/src/app/shared/pipes/date-format.pipe.mjs +42 -0
  198. package/{esm2015/src/app/shared/pipes/date-from-now.pipe.js → esm2020/src/app/shared/pipes/date-from-now.pipe.mjs} +13 -12
  199. package/{esm2015/src/app/shared/pipes/duration.pipe.js → esm2020/src/app/shared/pipes/duration.pipe.mjs} +13 -12
  200. package/esm2020/src/app/shared/pipes/file-size.pipe.mjs +62 -0
  201. package/esm2020/src/app/shared/pipes/form.pipes.mjs +187 -0
  202. package/esm2020/src/app/shared/pipes/highlight.pipe.mjs +48 -0
  203. package/esm2020/src/app/shared/pipes/latlong-format.pipe.mjs +46 -0
  204. package/esm2020/src/app/shared/pipes/maps.pipe.mjs +63 -0
  205. package/esm2020/src/app/shared/pipes/math.pipes.mjs +59 -0
  206. package/esm2020/src/app/shared/pipes/ng-init.pipe.mjs +21 -0
  207. package/{esm2015/src/app/shared/pipes/number-format.pipe.js → esm2020/src/app/shared/pipes/number-format.pipe.mjs} +14 -9
  208. package/esm2020/src/app/shared/pipes/pipes.module.mjs +210 -0
  209. package/esm2020/src/app/shared/pipes/property.pipes.mjs +96 -0
  210. package/esm2020/src/app/shared/pipes/string.pipes.mjs +69 -0
  211. package/esm2020/src/app/shared/pipes/translate-context.pipe.mjs +43 -0
  212. package/esm2020/src/app/shared/platforms.mjs +49 -0
  213. package/esm2020/src/app/shared/services/entity-service.class.mjs +7 -0
  214. package/esm2020/src/app/shared/services/job.utils.mjs +92 -0
  215. package/esm2020/src/app/shared/services/memory-entity-service.class.mjs +331 -0
  216. package/esm2020/src/app/shared/services/progress-bar.service.mjs +32 -0
  217. package/esm2020/src/app/shared/services/startable-observable-service.class.mjs +119 -0
  218. package/esm2020/src/app/shared/services/startable-service.class.mjs +105 -0
  219. package/esm2020/src/app/shared/services/storage/storage.service.mjs +132 -0
  220. package/esm2020/src/app/shared/services/storage/storage.utils.mjs +13 -0
  221. package/esm2020/src/app/shared/services/translate-context.service.mjs +81 -0
  222. package/esm2020/src/app/shared/services/validator-service.class.mjs +2 -0
  223. package/esm2020/src/app/shared/services.mjs +62 -0
  224. package/esm2020/src/app/shared/shared-routing.module.mjs +63 -0
  225. package/esm2020/src/app/shared/shared.module.mjs +208 -0
  226. package/esm2020/src/app/shared/shared.testing.module.mjs +76 -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 +33173 -0
  273. package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -0
  274. package/fesm2020/sumaris-net.ngx-components.mjs +32440 -0
  275. package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -0
  276. package/index.d.ts +5 -0
  277. package/package.json +27 -32
  278. package/public_api.d.ts +29 -31
  279. package/public_test_api.d.ts +37 -0
  280. package/resources/README.md +8 -0
  281. package/src/app/admin/admin-routing.module.d.ts +7 -0
  282. package/src/app/admin/admin.module.d.ts +7 -0
  283. package/src/app/admin/services/person.service.d.ts +3 -0
  284. package/src/app/admin/services/validator/person.validator.d.ts +8 -5
  285. package/src/app/admin/users/list/users.d.ts +11 -7
  286. package/src/app/admin/users/list/users.module.d.ts +14 -0
  287. package/src/app/core/about/modal-about.d.ts +3 -0
  288. package/src/app/core/account/account.d.ts +11 -8
  289. package/src/app/core/auth/form/form-auth.d.ts +6 -3
  290. package/src/app/core/auth/modal/modal-auth.d.ts +3 -0
  291. package/src/app/core/core.module.d.ts +36 -0
  292. package/src/app/core/core.testing.module.d.ts +10 -0
  293. package/src/app/core/form/editor.class.d.ts +6 -1
  294. package/src/app/core/form/entity-editor-modal.class.d.ts +7 -4
  295. package/src/app/core/form/entity-editor.class.d.ts +4 -1
  296. package/src/app/core/form/entity-metadata.component.d.ts +3 -0
  297. package/src/app/core/form/form-buttons-bar.component.d.ts +3 -0
  298. package/src/app/core/form/form.class.d.ts +12 -9
  299. package/src/app/core/form/form.utils.d.ts +5 -5
  300. package/src/app/core/form/list.form.d.ts +10 -7
  301. package/src/app/core/form/properties/properties.form.d.ts +43 -0
  302. package/src/app/core/form/properties/property.validator.d.ts +13 -0
  303. package/src/app/core/form/properties/testing/properties-form.test.d.ts +19 -0
  304. package/src/app/core/form/properties/testing/properties-form.testing.module.d.ts +12 -0
  305. package/src/app/core/graphql/graphql.module.d.ts +5 -0
  306. package/src/app/core/graphql/graphql.service.d.ts +9 -2
  307. package/src/app/core/graphql/graphql.utils.d.ts +8 -0
  308. package/src/app/core/home/home.d.ts +4 -1
  309. package/src/app/core/icon/icon.component.d.ts +5 -2
  310. package/src/app/core/icon/icon.module.d.ts +7 -0
  311. package/src/app/core/install/install-upgrade-card.component.d.ts +5 -2
  312. package/src/app/core/install/install-upgrade-card.module.d.ts +10 -0
  313. package/src/app/core/menu/menu.component.d.ts +7 -5
  314. package/src/app/core/menu/menu.module.d.ts +8 -0
  315. package/src/app/core/menu/menu.service.d.ts +3 -0
  316. package/src/app/core/offline/update-offline-mode-card.component.d.ts +3 -0
  317. package/src/app/core/peer/select-peer.modal.d.ts +7 -4
  318. package/src/app/core/peer/select-peer.module.d.ts +9 -0
  319. package/src/app/core/register/confirm/confirm.d.ts +3 -0
  320. package/src/app/core/register/form/form-register.d.ts +10 -7
  321. package/src/app/core/register/modal/modal-register.d.ts +3 -0
  322. package/src/app/core/register/register.module.d.ts +12 -0
  323. package/src/app/core/services/account.service.d.ts +5 -2
  324. package/src/app/core/services/auth-guard.service.d.ts +3 -0
  325. package/src/app/core/services/base-entity-service.class.d.ts +3 -0
  326. package/src/app/core/services/base-graphql-service.class.d.ts +3 -0
  327. package/src/app/core/services/config.service.d.ts +4 -1
  328. package/src/app/core/services/crypto.service.d.ts +3 -0
  329. package/src/app/core/services/local-settings.service.d.ts +5 -1
  330. package/src/app/core/services/model/referential.model.d.ts +1 -1
  331. package/src/app/core/services/network.service.d.ts +6 -5
  332. package/src/app/core/services/pipes/account.pipes.d.ts +7 -0
  333. package/src/app/core/services/pipes/department-to-string.pipe.d.ts +4 -0
  334. package/src/app/core/services/pipes/person-to-string.pipe.d.ts +4 -0
  335. package/src/app/core/services/pipes/usage-mode.pipes.d.ts +7 -0
  336. package/src/app/core/services/platform.service.d.ts +22 -21
  337. package/src/app/core/services/storage/entities-storage.service.d.ts +5 -2
  338. package/src/app/core/services/storage/entity-store.class.d.ts +3 -3
  339. package/src/app/core/services/testing/referential.validator.d.ts +8 -5
  340. package/src/app/core/services/validator/account.validator.d.ts +6 -3
  341. package/src/app/core/services/validator/base.validator.class.d.ts +8 -5
  342. package/src/app/core/services/validator/local-settings.validator.d.ts +8 -5
  343. package/src/app/core/services/validator/user-settings.validator.d.ts +6 -3
  344. package/src/app/core/settings/settings.page.d.ts +8 -5
  345. package/src/app/core/table/actions-column.component.d.ts +3 -0
  346. package/src/app/core/table/entities-table-datasource.class.d.ts +16 -15
  347. package/src/app/core/table/memory-table.class.d.ts +3 -0
  348. package/src/app/core/table/table-select-columns.component.d.ts +4 -5
  349. package/src/app/core/table/table.class.d.ts +52 -34
  350. package/src/app/core/table/table.utils.d.ts +2 -1
  351. package/src/app/core/table/testing/table.testing.d.ts +13 -15
  352. package/src/app/core/table/testing/table.testing.module.d.ts +9 -0
  353. package/src/app/core/text-popover/testing/text-popover.testing.d.ts +4 -1
  354. package/src/app/core/text-popover/testing/text-popover.testing.module.d.ts +9 -0
  355. package/src/app/core/text-popover/text-form.component.d.ts +7 -4
  356. package/src/app/core/text-popover/text-popover.component.d.ts +3 -0
  357. package/src/app/shared/alerts.d.ts +4 -4
  358. package/src/app/shared/audio/audio.d.ts +20 -11
  359. package/src/app/shared/audio/audio.testing.d.ts +13 -0
  360. package/src/app/shared/audio/audio.testing.module.d.ts +11 -0
  361. package/src/app/shared/capacitor/keyboard.d.ts +16 -0
  362. package/src/app/shared/capacitor/plugins.d.ts +7 -0
  363. package/src/app/shared/constants.d.ts +1 -0
  364. package/src/app/shared/debug/debug.component.d.ts +13 -0
  365. package/src/app/shared/debug/debug.module.d.ts +12 -0
  366. package/src/app/shared/directives/autofocus.directive.d.ts +9 -7
  367. package/src/app/shared/directives/autotitle.directive.d.ts +3 -0
  368. package/src/app/shared/directives/directives.module.d.ts +10 -0
  369. package/src/app/shared/directives/drag-and-drop.directive.d.ts +3 -0
  370. package/src/app/shared/directives/ng-var.directive.d.ts +3 -0
  371. package/src/app/shared/directives/resizable/resizable.component.d.ts +3 -0
  372. package/src/app/shared/directives/resizable/resizable.directive.d.ts +3 -0
  373. package/src/app/shared/directives/resizable/resizable.module.d.ts +6 -0
  374. package/src/app/shared/file/file.service.d.ts +3 -0
  375. package/src/app/shared/file/file.utils.d.ts +1 -1
  376. package/src/app/shared/form/field.component.d.ts +12 -3
  377. package/src/app/shared/form/field.model.d.ts +2 -2
  378. package/src/app/shared/form/loading-spinner.d.ts +3 -0
  379. package/src/app/shared/forms.d.ts +13 -13
  380. package/src/app/shared/gesture/gesture-config.d.ts +3 -0
  381. package/src/app/shared/gesture/hammer.utils.d.ts +11 -11
  382. package/src/app/shared/graph/graph-colors.d.ts +8 -7
  383. package/src/app/shared/guard/component-dirty.guard.d.ts +3 -0
  384. package/src/app/shared/help/help.modal.d.ts +4 -1
  385. package/src/app/shared/hotkeys/dialog/hotkeys-dialog.component.d.ts +3 -0
  386. package/src/app/shared/hotkeys/hotkeys.service.d.ts +4 -1
  387. package/src/app/shared/hotkeys/shared-hotkeys.module.d.ts +9 -0
  388. package/src/app/shared/image/gallery/image-gallery.component.d.ts +77 -0
  389. package/src/app/shared/image/gallery/image-gallery.module.d.ts +12 -0
  390. package/src/app/shared/image/gallery/testing/gallegry.model.testing.d.ts +12 -0
  391. package/src/app/shared/image/gallery/testing/gallery.service.testing.d.ts +33 -0
  392. package/src/app/shared/image/gallery/testing/gallery.testing.d.ts +15 -0
  393. package/src/app/shared/image/gallery/testing/gallery.testing.module.d.ts +12 -0
  394. package/src/app/shared/image/image.model.d.ts +5 -0
  395. package/src/app/shared/image/image.module.d.ts +8 -0
  396. package/src/app/shared/image/image.service.d.ts +32 -0
  397. package/src/app/shared/inputs.d.ts +3 -3
  398. package/src/app/shared/material/autocomplete/material.autocomplete.config.d.ts +36 -0
  399. package/src/app/shared/material/autocomplete/material.autocomplete.d.ts +11 -40
  400. package/src/app/shared/material/autocomplete/material.autocomplete.module.d.ts +19 -0
  401. package/src/app/shared/material/autocomplete/material.autocomplete.utils.d.ts +4 -0
  402. package/src/app/shared/material/autocomplete/testing/autocomplete.test.d.ts +12 -9
  403. package/src/app/shared/material/badge/badge.directive.d.ts +28 -0
  404. package/src/app/shared/material/badge/badge.module.d.ts +10 -0
  405. package/src/app/shared/material/badge/badge.test.d.ts +12 -0
  406. package/src/app/shared/material/boolean/boolean.module.d.ts +17 -0
  407. package/src/app/shared/material/boolean/material.boolean.d.ts +7 -4
  408. package/src/app/shared/material/chips/chips.module.d.ts +19 -0
  409. package/src/app/shared/material/chips/material.chips.d.ts +11 -8
  410. package/src/app/shared/material/chips/testing/chips.test.d.ts +8 -5
  411. package/src/app/shared/material/datetime/datetime.module.d.ts +22 -0
  412. package/src/app/shared/material/datetime/material.date.d.ts +19 -18
  413. package/src/app/shared/material/datetime/material.dateshort.d.ts +10 -9
  414. package/src/app/shared/material/datetime/material.datetime.d.ts +21 -20
  415. package/src/app/shared/material/datetime/testing/mat-date-time.test.d.ts +11 -9
  416. package/src/app/shared/material/datetime/testing/mat-date.test.d.ts +11 -9
  417. package/src/app/shared/material/duration/duration.module.d.ts +16 -0
  418. package/src/app/shared/material/duration/material.duration.d.ts +8 -5
  419. package/src/app/shared/material/latlong/material.latlong.d.ts +8 -5
  420. package/src/app/shared/material/latlong/material.latlong.module.d.ts +17 -0
  421. package/src/app/shared/material/latlong/testing/latlong.test.d.ts +10 -7
  422. package/src/app/shared/material/material.module.d.ts +43 -0
  423. package/src/app/shared/material/material.testing.module.d.ts +19 -0
  424. package/src/app/shared/material/numpad/numpad.append-to-input.directive.d.ts +3 -0
  425. package/src/app/shared/material/numpad/numpad.component.d.ts +4 -1
  426. package/src/app/shared/material/numpad/numpad.container.d.ts +5 -2
  427. package/src/app/shared/material/numpad/numpad.content.d.ts +3 -0
  428. package/src/app/shared/material/numpad/numpad.directive.d.ts +4 -1
  429. package/src/app/shared/material/numpad/numpad.dom-service.d.ts +3 -0
  430. package/src/app/shared/material/numpad/numpad.model.d.ts +1 -1
  431. package/src/app/shared/material/numpad/numpad.module.d.ts +14 -0
  432. package/src/app/shared/material/numpad/testing/numpad.test.d.ts +7 -4
  433. package/src/app/shared/material/paginator/material.paginator-i18n.d.ts +3 -0
  434. package/src/app/shared/material/stepper/material.stepper-i18n.d.ts +3 -0
  435. package/src/app/shared/material/swipe/material.swipe.d.ts +6 -3
  436. package/src/app/shared/material/swipe/swipe.module.d.ts +13 -0
  437. package/src/app/shared/material/swipe/testing/swipe.test.d.ts +7 -4
  438. package/src/app/shared/pipes/arrays.pipe.d.ts +17 -0
  439. package/src/app/shared/pipes/colors.pipe.d.ts +9 -0
  440. package/src/app/shared/pipes/date-diff-duration.pipe.d.ts +4 -0
  441. package/src/app/shared/pipes/date-format.pipe.d.ts +4 -0
  442. package/src/app/shared/pipes/date-from-now.pipe.d.ts +4 -0
  443. package/src/app/shared/pipes/duration.pipe.d.ts +4 -0
  444. package/src/app/shared/pipes/file-size.pipe.d.ts +3 -0
  445. package/src/app/shared/pipes/form.pipes.d.ts +18 -5
  446. package/src/app/shared/pipes/highlight.pipe.d.ts +4 -0
  447. package/src/app/shared/pipes/latlong-format.pipe.d.ts +7 -0
  448. package/src/app/shared/pipes/maps.pipe.d.ts +10 -0
  449. package/src/app/shared/pipes/math.pipes.d.ts +10 -0
  450. package/src/app/shared/pipes/ng-init.pipe.d.ts +3 -0
  451. package/src/app/shared/pipes/number-format.pipe.d.ts +4 -0
  452. package/src/app/shared/pipes/pipes.module.d.ts +24 -0
  453. package/src/app/shared/pipes/property.pipes.d.ts +6 -0
  454. package/src/app/shared/pipes/string.pipes.d.ts +11 -0
  455. package/src/app/shared/pipes/translate-context.pipe.d.ts +7 -0
  456. package/src/app/shared/platforms.d.ts +1 -0
  457. package/src/app/shared/services/memory-entity-service.class.d.ts +3 -0
  458. package/src/app/shared/services/progress-bar.service.d.ts +4 -1
  459. package/src/app/shared/services/startable-observable-service.class.d.ts +1 -1
  460. package/src/app/shared/services/startable-service.class.d.ts +1 -1
  461. package/src/app/shared/services/storage/storage.service.d.ts +23 -0
  462. package/src/app/shared/services/storage/storage.utils.d.ts +19 -0
  463. package/src/app/shared/services/translate-context.service.d.ts +3 -0
  464. package/src/app/shared/services/validator-service.class.d.ts +2 -2
  465. package/src/app/shared/shared-routing.module.d.ts +7 -0
  466. package/src/app/shared/shared.module.d.ts +23 -0
  467. package/src/app/shared/shared.testing.module.d.ts +12 -0
  468. package/src/app/shared/testing/tests.page.d.ts +3 -0
  469. package/src/app/shared/toast/toast.testing.d.ts +6 -5
  470. package/src/app/shared/toast/toast.testing.module.d.ts +9 -0
  471. package/src/app/shared/toast/toasts.d.ts +5 -2
  472. package/src/app/shared/toolbar/modal-toolbar.d.ts +5 -2
  473. package/src/app/shared/toolbar/toolbar.d.ts +9 -5
  474. package/src/app/shared/toolbar/toolbar.module.d.ts +15 -0
  475. package/src/app/shared/upload-file/testing/upload-file.testing.d.ts +4 -1
  476. package/src/app/shared/upload-file/testing/upload-file.testing.module.d.ts +9 -0
  477. package/src/app/shared/upload-file/upload-file-popover.component.d.ts +3 -0
  478. package/src/app/shared/upload-file/upload-file.component.d.ts +3 -0
  479. package/src/app/shared/validator/form-error-adapter.class.d.ts +3 -0
  480. package/src/app/shared/validator/validators.d.ts +9 -9
  481. package/src/app/social/job/job.module.d.ts +9 -0
  482. package/src/app/social/job/job.service.d.ts +3 -0
  483. package/src/app/social/job/progression/job-progression.icon.d.ts +4 -1
  484. package/src/app/social/job/progression/job-progression.list.d.ts +3 -0
  485. package/src/app/social/job/testing/job-progression.testing.d.ts +3 -0
  486. package/src/app/social/job/testing/job-progression.testing.service.d.ts +3 -0
  487. package/src/app/social/job/testing/job.testing.module.d.ts +9 -0
  488. package/src/app/social/message/message.form.d.ts +5 -2
  489. package/src/app/social/message/message.modal.d.ts +5 -2
  490. package/src/app/social/message/message.module.d.ts +9 -0
  491. package/src/app/social/message/message.service.d.ts +3 -0
  492. package/src/app/social/social.module.d.ts +10 -0
  493. package/src/app/social/social.testing.module.d.ts +9 -0
  494. package/src/app/social/user-event/notification/user-event-notification.icon.d.ts +4 -1
  495. package/src/app/social/user-event/notification/user-event-notification.list.d.ts +7 -4
  496. package/src/app/social/user-event/testing/user-event.testing.d.ts +3 -0
  497. package/src/app/social/user-event/testing/user-event.testing.model.d.ts +1 -0
  498. package/src/app/social/user-event/testing/user-event.testing.module.d.ts +9 -0
  499. package/src/app/social/user-event/testing/user-event.testing.service.d.ts +5 -1
  500. package/src/app/social/user-event/user-event.model.d.ts +3 -2
  501. package/src/app/social/user-event/user-event.module.d.ts +10 -0
  502. package/src/app/social/user-event/user-event.service.d.ts +16 -11
  503. package/src/assets/audio/beep-notification.mp3 +0 -0
  504. package/src/assets/i18n/fr.json +9 -2
  505. package/src/environments/environment.class.d.ts +2 -0
  506. package/src/environments/environment.d.ts +1 -1
  507. package/src/theme/_icons.scss +1 -1
  508. package/src/theme/_material.globals.scss +29 -31
  509. package/src/theme/_material.scss +32 -6
  510. package/src/theme/_mixins.scss +4 -4
  511. package/src/theme/_ngx-components.scss +27 -0
  512. package/src/theme/_print.scss +24 -0
  513. package/bundles/sumaris-net.ngx-components.umd.js +0 -35755
  514. package/bundles/sumaris-net.ngx-components.umd.js.map +0 -1
  515. package/bundles/sumaris-net.ngx-components.umd.min.js +0 -25
  516. package/bundles/sumaris-net.ngx-components.umd.min.js.map +0 -1
  517. package/esm2015/public_api.js +0 -245
  518. package/esm2015/src/app/admin/admin-routing.module.js +0 -34
  519. package/esm2015/src/app/admin/admin.module.js +0 -34
  520. package/esm2015/src/app/admin/services/filter/person.filter.js +0 -59
  521. package/esm2015/src/app/admin/services/person.service.js +0 -175
  522. package/esm2015/src/app/admin/services/validator/person.validator.js +0 -37
  523. package/esm2015/src/app/admin/users/list/users.js +0 -216
  524. package/esm2015/src/app/core/about/modal-about.js +0 -63
  525. package/esm2015/src/app/core/account/account.js +0 -240
  526. package/esm2015/src/app/core/auth/form/form-auth.js +0 -134
  527. package/esm2015/src/app/core/auth/modal/modal-auth.js +0 -78
  528. package/esm2015/src/app/core/core.module.js +0 -127
  529. package/esm2015/src/app/core/core.testing.module.js +0 -51
  530. package/esm2015/src/app/core/form/editor.class.js +0 -698
  531. package/esm2015/src/app/core/form/entity-editor-modal.class.js +0 -422
  532. package/esm2015/src/app/core/form/entity-editor.class.js +0 -676
  533. package/esm2015/src/app/core/form/entity-metadata.component.js +0 -22
  534. package/esm2015/src/app/core/form/form-buttons-bar.component.js +0 -63
  535. package/esm2015/src/app/core/form/form.class.js +0 -342
  536. package/esm2015/src/app/core/form/form.utils.js +0 -299
  537. package/esm2015/src/app/core/form/list.form.js +0 -219
  538. package/esm2015/src/app/core/form/properties.form.js +0 -119
  539. package/esm2015/src/app/core/graphql/graphql.module.js +0 -18
  540. package/esm2015/src/app/core/graphql/graphql.service.js +0 -734
  541. package/esm2015/src/app/core/graphql/graphql.utils.js +0 -106
  542. package/esm2015/src/app/core/home/home.js +0 -265
  543. package/esm2015/src/app/core/icon/icon.component.js +0 -32
  544. package/esm2015/src/app/core/icon/icon.module.js +0 -26
  545. package/esm2015/src/app/core/install/install-upgrade-card.component.js +0 -358
  546. package/esm2015/src/app/core/menu/menu.component.js +0 -329
  547. package/esm2015/src/app/core/menu/menu.module.js +0 -28
  548. package/esm2015/src/app/core/offline/update-offline-mode-card.component.js +0 -26
  549. package/esm2015/src/app/core/peer/select-peer.modal.js +0 -134
  550. package/esm2015/src/app/core/register/confirm/confirm.js +0 -86
  551. package/esm2015/src/app/core/register/form/form-register.js +0 -172
  552. package/esm2015/src/app/core/register/modal/modal-register.js +0 -55
  553. package/esm2015/src/app/core/services/account.service.js +0 -1165
  554. package/esm2015/src/app/core/services/auth-guard.service.js +0 -77
  555. package/esm2015/src/app/core/services/base-entity-service.class.js +0 -454
  556. package/esm2015/src/app/core/services/base-graphql-service.class.js +0 -221
  557. package/esm2015/src/app/core/services/config.service.js +0 -385
  558. package/esm2015/src/app/core/services/local-settings.service.js +0 -460
  559. package/esm2015/src/app/core/services/model/account.model.js +0 -50
  560. package/esm2015/src/app/core/services/model/config.model.js +0 -89
  561. package/esm2015/src/app/core/services/model/department.model.js +0 -30
  562. package/esm2015/src/app/core/services/model/entity.decorators.js +0 -104
  563. package/esm2015/src/app/core/services/model/entity.model.js +0 -245
  564. package/esm2015/src/app/core/services/model/peer.model.js +0 -68
  565. package/esm2015/src/app/core/services/model/person.model.js +0 -83
  566. package/esm2015/src/app/core/services/model/referential.model.js +0 -147
  567. package/esm2015/src/app/core/services/model/settings.model.js +0 -75
  568. package/esm2015/src/app/core/services/network.service.js +0 -631
  569. package/esm2015/src/app/core/services/network.utils.js +0 -19
  570. package/esm2015/src/app/core/services/pipes/account.pipes.js +0 -28
  571. package/esm2015/src/app/core/services/pipes/department-to-string.pipe.js +0 -18
  572. package/esm2015/src/app/core/services/pipes/person-to-string.pipe.js +0 -18
  573. package/esm2015/src/app/core/services/pipes/usage-mode.pipes.js +0 -27
  574. package/esm2015/src/app/core/services/platform.service.js +0 -549
  575. package/esm2015/src/app/core/services/storage/entities-storage.service.js +0 -452
  576. package/esm2015/src/app/core/services/storage/entity-store.class.js +0 -461
  577. package/esm2015/src/app/core/services/testing/referential-filter.model.js +0 -23
  578. package/esm2015/src/app/core/services/testing/referential.validator.js +0 -44
  579. package/esm2015/src/app/core/services/validator/account.validator.js +0 -55
  580. package/esm2015/src/app/core/services/validator/base.validator.class.js +0 -48
  581. package/esm2015/src/app/core/services/validator/local-settings.validator.js +0 -72
  582. package/esm2015/src/app/core/services/validator/user-settings.validator.js +0 -30
  583. package/esm2015/src/app/core/settings/settings.page.js +0 -305
  584. package/esm2015/src/app/core/table/actions-column.component.js +0 -74
  585. package/esm2015/src/app/core/table/entities-table-datasource.class.js +0 -405
  586. package/esm2015/src/app/core/table/memory-table.class.js +0 -59
  587. package/esm2015/src/app/core/table/table-select-columns.component.js +0 -44
  588. package/esm2015/src/app/core/table/table.class.js +0 -1677
  589. package/esm2015/src/app/core/table/table.utils.js +0 -13
  590. package/esm2015/src/app/core/table/testing/table.testing.js +0 -242
  591. package/esm2015/src/app/core/table/testing/table.testing.module.js +0 -26
  592. package/esm2015/src/app/core/text-popover/testing/text-popover.testing.js +0 -37
  593. package/esm2015/src/app/core/text-popover/testing/text-popover.testing.module.js +0 -33
  594. package/esm2015/src/app/core/text-popover/text-form.component.js +0 -72
  595. package/esm2015/src/app/core/text-popover/text-popover.component.js +0 -90
  596. package/esm2015/src/app/shared/alerts.js +0 -251
  597. package/esm2015/src/app/shared/audio/audio.js +0 -178
  598. package/esm2015/src/app/shared/dates.js +0 -134
  599. package/esm2015/src/app/shared/directives/autofocus.directive.js +0 -90
  600. package/esm2015/src/app/shared/directives/autotitle.directive.js +0 -27
  601. package/esm2015/src/app/shared/directives/directives.module.js +0 -30
  602. package/esm2015/src/app/shared/directives/drag-and-drop.directive.js +0 -43
  603. package/esm2015/src/app/shared/directives/ng-var.directive.js +0 -32
  604. package/esm2015/src/app/shared/directives/resizable/resizable.component.js +0 -54
  605. package/esm2015/src/app/shared/directives/resizable/resizable.directive.js +0 -34
  606. package/esm2015/src/app/shared/directives/resizable/resizable.module.js +0 -12
  607. package/esm2015/src/app/shared/events.js +0 -61
  608. package/esm2015/src/app/shared/file/csv.utils.js +0 -70
  609. package/esm2015/src/app/shared/file/file.service.js +0 -120
  610. package/esm2015/src/app/shared/file/file.utils.js +0 -116
  611. package/esm2015/src/app/shared/file/images.utils.js +0 -166
  612. package/esm2015/src/app/shared/form/field.component.js +0 -206
  613. package/esm2015/src/app/shared/form/loading-spinner.js +0 -24
  614. package/esm2015/src/app/shared/forms.js +0 -358
  615. package/esm2015/src/app/shared/functions.js +0 -431
  616. package/esm2015/src/app/shared/gesture/hammer.utils.js +0 -2
  617. package/esm2015/src/app/shared/graph/graph-colors.js +0 -205
  618. package/esm2015/src/app/shared/guard/component-dirty.guard.js +0 -61
  619. package/esm2015/src/app/shared/help/help.modal.js +0 -56
  620. package/esm2015/src/app/shared/hotkeys/dialog/hotkeys-dialog.component.js +0 -20
  621. package/esm2015/src/app/shared/hotkeys/hotkeys.service.js +0 -91
  622. package/esm2015/src/app/shared/hotkeys/shared-hotkeys.module.js +0 -29
  623. package/esm2015/src/app/shared/http/http.utils.js +0 -57
  624. package/esm2015/src/app/shared/material/autocomplete/material.autocomplete.js +0 -825
  625. package/esm2015/src/app/shared/material/autocomplete/material.autocomplete.module.js +0 -46
  626. package/esm2015/src/app/shared/material/autocomplete/testing/autocomplete.test.js +0 -200
  627. package/esm2015/src/app/shared/material/badge/badge-icon.directive.js +0 -135
  628. package/esm2015/src/app/shared/material/badge/badge-icon.module.js +0 -23
  629. package/esm2015/src/app/shared/material/badge/badge-icon.test.js +0 -17
  630. package/esm2015/src/app/shared/material/boolean/boolean.module.js +0 -41
  631. package/esm2015/src/app/shared/material/boolean/material.boolean.js +0 -223
  632. package/esm2015/src/app/shared/material/chips/chips.module.js +0 -45
  633. package/esm2015/src/app/shared/material/chips/material.chips.js +0 -636
  634. package/esm2015/src/app/shared/material/chips/testing/chips.test.js +0 -138
  635. package/esm2015/src/app/shared/material/datetime/datetime.module.js +0 -54
  636. package/esm2015/src/app/shared/material/datetime/material.date.js +0 -375
  637. package/esm2015/src/app/shared/material/datetime/material.dateshort.js +0 -316
  638. package/esm2015/src/app/shared/material/datetime/material.datetime.js +0 -398
  639. package/esm2015/src/app/shared/material/datetime/testing/mat-date-time.test.js +0 -110
  640. package/esm2015/src/app/shared/material/datetime/testing/mat-date.test.js +0 -108
  641. package/esm2015/src/app/shared/material/duration/duration.module.js +0 -40
  642. package/esm2015/src/app/shared/material/duration/material.duration.js +0 -246
  643. package/esm2015/src/app/shared/material/latlong/latlong.utils.js +0 -249
  644. package/esm2015/src/app/shared/material/latlong/material.latlong.js +0 -350
  645. package/esm2015/src/app/shared/material/latlong/material.latlong.module.js +0 -41
  646. package/esm2015/src/app/shared/material/latlong/testing/latlong.test.js +0 -70
  647. package/esm2015/src/app/shared/material/material.module.js +0 -93
  648. package/esm2015/src/app/shared/material/material.testing.module.js +0 -111
  649. package/esm2015/src/app/shared/material/numpad/numpad.append-to-input.directive.js +0 -96
  650. package/esm2015/src/app/shared/material/numpad/numpad.component.js +0 -73
  651. package/esm2015/src/app/shared/material/numpad/numpad.container.js +0 -149
  652. package/esm2015/src/app/shared/material/numpad/numpad.content.js +0 -14
  653. package/esm2015/src/app/shared/material/numpad/numpad.directive.js +0 -148
  654. package/esm2015/src/app/shared/material/numpad/numpad.dom-service.js +0 -37
  655. package/esm2015/src/app/shared/material/numpad/numpad.module.js +0 -39
  656. package/esm2015/src/app/shared/material/numpad/testing/numpad.test.js +0 -44
  657. package/esm2015/src/app/shared/material/paginator/material.paginator-i18n.js +0 -44
  658. package/esm2015/src/app/shared/material/stepper/material.stepper-i18n.js +0 -24
  659. package/esm2015/src/app/shared/material/swipe/material.swipe.js +0 -308
  660. package/esm2015/src/app/shared/material/swipe/swipe.module.js +0 -33
  661. package/esm2015/src/app/shared/material/swipe/testing/swipe.test.js +0 -68
  662. package/esm2015/src/app/shared/observables.js +0 -99
  663. package/esm2015/src/app/shared/pipes/arrays.pipe.js +0 -110
  664. package/esm2015/src/app/shared/pipes/date-diff-duration.pipe.js +0 -50
  665. package/esm2015/src/app/shared/pipes/date-format.pipe.js +0 -43
  666. package/esm2015/src/app/shared/pipes/file-size.pipe.js +0 -58
  667. package/esm2015/src/app/shared/pipes/form.pipes.js +0 -177
  668. package/esm2015/src/app/shared/pipes/highlight.pipe.js +0 -43
  669. package/esm2015/src/app/shared/pipes/latlong-format.pipe.js +0 -36
  670. package/esm2015/src/app/shared/pipes/maps.pipe.js +0 -48
  671. package/esm2015/src/app/shared/pipes/math.pipes.js +0 -44
  672. package/esm2015/src/app/shared/pipes/ng-init.pipe.js +0 -18
  673. package/esm2015/src/app/shared/pipes/pipes.module.js +0 -117
  674. package/esm2015/src/app/shared/pipes/property.pipes.js +0 -98
  675. package/esm2015/src/app/shared/pipes/string.pipes.js +0 -53
  676. package/esm2015/src/app/shared/pipes/translate-context.pipe.js +0 -36
  677. package/esm2015/src/app/shared/platforms.js +0 -45
  678. package/esm2015/src/app/shared/services/entity-service.class.js +0 -8
  679. package/esm2015/src/app/shared/services/job.utils.js +0 -96
  680. package/esm2015/src/app/shared/services/memory-entity-service.class.js +0 -342
  681. package/esm2015/src/app/shared/services/progress-bar.service.js +0 -30
  682. package/esm2015/src/app/shared/services/startable-observable-service.class.js +0 -124
  683. package/esm2015/src/app/shared/services/startable-service.class.js +0 -110
  684. package/esm2015/src/app/shared/services/storage.utils.js +0 -41
  685. package/esm2015/src/app/shared/services/translate-context.service.js +0 -83
  686. package/esm2015/src/app/shared/services/validator-service.class.js +0 -2
  687. package/esm2015/src/app/shared/services.js +0 -61
  688. package/esm2015/src/app/shared/shared-routing.module.js +0 -54
  689. package/esm2015/src/app/shared/shared.module.js +0 -135
  690. package/esm2015/src/app/shared/shared.testing.module.js +0 -33
  691. package/esm2015/src/app/shared/testing/tests.page.js +0 -34
  692. package/esm2015/src/app/shared/toast/toast.testing.js +0 -39
  693. package/esm2015/src/app/shared/toast/toast.testing.module.js +0 -33
  694. package/esm2015/src/app/shared/toast/toasts.js +0 -119
  695. package/esm2015/src/app/shared/toolbar/modal-toolbar.js +0 -53
  696. package/esm2015/src/app/shared/toolbar/toolbar.js +0 -213
  697. package/esm2015/src/app/shared/upload-file/testing/upload-file.testing.js +0 -59
  698. package/esm2015/src/app/shared/upload-file/testing/upload-file.testing.module.js +0 -33
  699. package/esm2015/src/app/shared/upload-file/upload-file-popover.component.js +0 -98
  700. package/esm2015/src/app/shared/upload-file/upload-file.component.js +0 -202
  701. package/esm2015/src/app/shared/upload-file/upload-file.model.js +0 -20
  702. package/esm2015/src/app/shared/validator/form-error-adapter.class.js +0 -99
  703. package/esm2015/src/app/shared/validator/validators.js +0 -537
  704. package/esm2015/src/app/social/job/job.model.js +0 -26
  705. package/esm2015/src/app/social/job/job.module.js +0 -25
  706. package/esm2015/src/app/social/job/job.service.js +0 -66
  707. package/esm2015/src/app/social/job/progression/job-progression.icon.js +0 -208
  708. package/esm2015/src/app/social/job/progression/job-progression.list.js +0 -20
  709. package/esm2015/src/app/social/job/testing/job-progression.testing.js +0 -49
  710. package/esm2015/src/app/social/job/testing/job-progression.testing.service.js +0 -52
  711. package/esm2015/src/app/social/job/testing/job.testing.module.js +0 -25
  712. package/esm2015/src/app/social/message/message.form.js +0 -73
  713. package/esm2015/src/app/social/message/message.modal.js +0 -96
  714. package/esm2015/src/app/social/message/message.model.js +0 -65
  715. package/esm2015/src/app/social/message/message.module.js +0 -25
  716. package/esm2015/src/app/social/message/message.service.js +0 -87
  717. package/esm2015/src/app/social/social.module.js +0 -28
  718. package/esm2015/src/app/social/social.testing.module.js +0 -39
  719. package/esm2015/src/app/social/user-event/notification/user-event-notification.icon.js +0 -106
  720. package/esm2015/src/app/social/user-event/notification/user-event-notification.list.js +0 -203
  721. package/esm2015/src/app/social/user-event/testing/user-event.testing.js +0 -230
  722. package/esm2015/src/app/social/user-event/testing/user-event.testing.model.js +0 -103
  723. package/esm2015/src/app/social/user-event/testing/user-event.testing.module.js +0 -25
  724. package/esm2015/src/app/social/user-event/testing/user-event.testing.service.js +0 -117
  725. package/esm2015/src/app/social/user-event/user-event.model.js +0 -2
  726. package/esm2015/src/app/social/user-event/user-event.module.js +0 -27
  727. package/esm2015/src/app/social/user-event/user-event.service.js +0 -509
  728. package/esm2015/src/environments/environment.class.js +0 -5
  729. package/esm2015/src/environments/environment.js +0 -81
  730. package/esm2015/sumaris-net.ngx-components.js +0 -21
  731. package/fesm2015/sumaris-net.ngx-components.js +0 -30297
  732. package/fesm2015/sumaris-net.ngx-components.js.map +0 -1
  733. package/src/app/core/form/properties.form.d.ts +0 -40
  734. package/src/app/shared/material/badge/badge-icon.directive.d.ts +0 -28
  735. package/src/app/shared/material/badge/badge-icon.module.d.ts +0 -2
  736. package/src/app/shared/material/badge/badge-icon.test.d.ts +0 -9
  737. package/src/app/shared/services/storage.utils.d.ts +0 -13
  738. package/sumaris-net.ngx-components.d.ts +0 -20
  739. package/sumaris-net.ngx-components.metadata.json +0 -1
@@ -11,12 +11,13 @@ import { Environment } from '../../../environments/environment.class';
11
11
  import { WaitForOptions } from '../../shared/observables';
12
12
  import { FormErrorTranslator } from '../../shared/validator/form-error-adapter.class';
13
13
  import { AppErrorWithDetails } from './entity-editor.class';
14
+ import * as i0 from "@angular/core";
14
15
  export interface IEntityEditorModalOptions<T extends Entity<T, ID> = Entity<any, any>, ID = number> {
15
16
  usageMode: UsageMode;
16
17
  data: T;
17
18
  disabled: boolean;
18
19
  onAfterModalInit?: <M extends AppEntityEditorModal<T, ID>>(modal: M) => void | Promise<void>;
19
- onDelete?: (event: UIEvent, data: T) => Promise<boolean>;
20
+ onDelete?: (event: Event, data: T) => Promise<boolean>;
20
21
  mobile: boolean;
21
22
  i18nSuffix?: string;
22
23
  }
@@ -40,7 +41,7 @@ export declare abstract class AppEntityEditorModal<T extends Entity<T, ID>, ID =
40
41
  mobile: boolean;
41
42
  usageMode: UsageMode;
42
43
  onAfterModalInit: <M extends AppEntityEditorModal<T, ID>>(modal: M) => void | Promise<void>;
43
- onDelete: (event: UIEvent, data: T) => Promise<boolean>;
44
+ onDelete: (event: Event, data: T) => Promise<boolean>;
44
45
  i18nSuffix: string;
45
46
  set isNewData(value: boolean);
46
47
  get isNewData(): boolean;
@@ -76,7 +77,7 @@ export declare abstract class AppEntityEditorModal<T extends Entity<T, ID>, ID =
76
77
  emitEvent?: boolean;
77
78
  }): void;
78
79
  saveAndClose(event?: Event): Promise<boolean>;
79
- close(event: UIEvent): Promise<void>;
80
+ close(event: Event): Promise<void>;
80
81
  /**
81
82
  * Save the editor, by calling the dataService.save().
82
83
  * Ensure that editor if valid. If not, display an error
@@ -88,7 +89,7 @@ export declare abstract class AppEntityEditorModal<T extends Entity<T, ID>, ID =
88
89
  * Save data (if dirty and valid), and return it. Otherwise, return nil value.
89
90
  */
90
91
  saveAndGetDataIfValid(): Promise<T | undefined>;
91
- delete(event?: UIEvent): Promise<boolean>;
92
+ delete(event?: Event): Promise<boolean>;
92
93
  resetError(opts?: {
93
94
  emitEvent?: boolean;
94
95
  }): void;
@@ -116,4 +117,6 @@ export declare abstract class AppEntityEditorModal<T extends Entity<T, ID>, ID =
116
117
  * Open the first tab that is invalid
117
118
  */
118
119
  private openFirstInvalidTab;
120
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppEntityEditorModal<any, any, any>, never>;
121
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AppEntityEditorModal<any, any, any>, never, never, { "data": "data"; "mobile": "mobile"; "usageMode": "usageMode"; "onAfterModalInit": "onAfterModalInit"; "onDelete": "onDelete"; "i18nSuffix": "i18nSuffix"; "isNewData": "isNewData"; "disabled": "disabled"; }, {}, never, never, false>;
119
122
  }
@@ -12,6 +12,7 @@ import { HistoryPageReference } from '../services/model/history.model';
12
12
  import { WaitForOptions } from '../../shared/observables';
13
13
  import { FormErrorTranslator } from '../../shared/validator/form-error-adapter.class';
14
14
  import { FormErrors } from '../../shared/forms';
15
+ import * as i0 from "@angular/core";
15
16
  export interface IAppEntityEditor extends IAppTabEditor {
16
17
  usageMode: UsageMode;
17
18
  isNewData: boolean;
@@ -132,7 +133,7 @@ export declare abstract class AppEntityEditor<T extends Entity<T, ID>, S extends
132
133
  * Save data (if dirty and valid), and return it. Otherwise, return nil value.
133
134
  */
134
135
  saveAndGetDataIfValid(): Promise<T | undefined>;
135
- delete(event?: UIEvent): Promise<boolean>;
136
+ delete(event?: Event): Promise<boolean>;
136
137
  reload(): Promise<void>;
137
138
  unload(opts?: {
138
139
  emitEvent?: boolean;
@@ -184,4 +185,6 @@ export declare abstract class AppEntityEditor<T extends Entity<T, ID>, S extends
184
185
  */
185
186
  private openFirstInvalidTab;
186
187
  protected updateRoute(data: T, queryParams: any): Promise<boolean>;
188
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppEntityEditor<any, any, any>, never>;
189
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AppEntityEditor<any, any, any>, never, never, {}, {}, never, never, false>;
187
190
  }
@@ -1,5 +1,6 @@
1
1
  import { Entity } from '../services/model/entity.model';
2
2
  import { Moment } from 'moment';
3
+ import * as i0 from "@angular/core";
3
4
  export declare class EntityMetadataComponent {
4
5
  value: Entity<any> & {
5
6
  creationDate?: Date | Moment;
@@ -7,4 +8,6 @@ export declare class EntityMetadataComponent {
7
8
  recorderPerson?: any;
8
9
  };
9
10
  showRecorder: boolean;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<EntityMetadataComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<EntityMetadataComponent, "app-entity-metadata", never, { "value": "value"; "showRecorder": "showRecorder"; }, {}, never, ["*"], false>;
10
13
  }
@@ -1,6 +1,7 @@
1
1
  import { EventEmitter, OnDestroy } from '@angular/core';
2
2
  import { Hotkeys } from '../../shared/hotkeys/hotkeys.service';
3
3
  import { MenuService } from '../menu/menu.service';
4
+ import * as i0 from "@angular/core";
4
5
  export declare abstract class FormButtonsBarToken {
5
6
  abstract onCancel: EventEmitter<Event>;
6
7
  abstract onSave: EventEmitter<Event>;
@@ -20,4 +21,6 @@ export declare class FormButtonsBarComponent implements FormButtonsBarToken, OnD
20
21
  onBack: EventEmitter<Event>;
21
22
  constructor(hotkeys: Hotkeys, menu: MenuService);
22
23
  ngOnDestroy(): void;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormButtonsBarComponent, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormButtonsBarComponent, "app-form-buttons-bar", never, { "disabled": "disabled"; "disabledCancel": "disabledCancel"; "classList": "classList"; }, { "onCancel": "onCancel"; "onSave": "onSave"; "onNext": "onNext"; "onBack": "onBack"; }, never, ["*", "[slot=end]"], false>;
23
26
  }
@@ -1,12 +1,13 @@
1
1
  import { EventEmitter, Injector, OnDestroy, OnInit } from '@angular/core';
2
- import { FormGroup } from '@angular/forms';
2
+ import { UntypedFormGroup } from '@angular/forms';
3
3
  import { BehaviorSubject, Subject, Subscription } from 'rxjs';
4
4
  import { IAppForm } from './form.utils';
5
5
  import { LocalSettingsService } from '../services/local-settings.service';
6
- import { MatAutocompleteConfigHolder, MatAutocompleteFieldAddOptions, MatAutocompleteFieldConfig } from '../../shared/material/autocomplete/material.autocomplete';
7
6
  import { WaitForOptions } from '../../shared/observables';
8
7
  import { FormErrorTranslator, FormErrorTranslatorOptions, IFormControlPathTranslator } from '../../shared/validator/form-error-adapter.class';
9
8
  import { TranslateService } from '@ngx-translate/core';
9
+ import { MatAutocompleteConfigHolder, MatAutocompleteFieldAddOptions, MatAutocompleteFieldConfig } from '../../shared/material/autocomplete/material.autocomplete.config';
10
+ import * as i0 from "@angular/core";
10
11
  export declare abstract class AppForm<T> implements IAppForm, OnInit, OnDestroy, IFormControlPathTranslator {
11
12
  private _subscription;
12
13
  private _form;
@@ -15,7 +16,7 @@ export declare abstract class AppForm<T> implements IAppForm, OnInit, OnDestroy,
15
16
  protected i18nFieldPrefix: string;
16
17
  protected readonly translate: TranslateService;
17
18
  protected readonly settings: LocalSettingsService;
18
- protected readonly destroySubject: Subject<unknown>;
19
+ protected readonly destroySubject: Subject<void>;
19
20
  readonly autocompleteHelper: MatAutocompleteConfigHolder;
20
21
  readonly autocompleteFields: {
21
22
  [key: string]: MatAutocompleteFieldConfig;
@@ -65,11 +66,11 @@ export declare abstract class AppForm<T> implements IAppForm, OnInit, OnDestroy,
65
66
  debug: boolean;
66
67
  tabindex: number;
67
68
  errorTranslatorOptions: FormErrorTranslatorOptions;
68
- set form(value: FormGroup);
69
- get form(): FormGroup;
69
+ set form(value: UntypedFormGroup);
70
+ get form(): UntypedFormGroup;
70
71
  onCancel: EventEmitter<any>;
71
72
  onSubmit: EventEmitter<any>;
72
- protected constructor(injector: Injector, form?: FormGroup);
73
+ protected constructor(injector: Injector, form?: UntypedFormGroup);
73
74
  ngOnInit(): void;
74
75
  ngOnDestroy(): void;
75
76
  cancel(): Promise<void>;
@@ -81,7 +82,7 @@ export declare abstract class AppForm<T> implements IAppForm, OnInit, OnDestroy,
81
82
  doSubmit(event: any, opts?: {
82
83
  checkValid?: boolean;
83
84
  }): Promise<void>;
84
- setForm(form: FormGroup): void;
85
+ setForm(form: UntypedFormGroup): void;
85
86
  setValue(data: T, opts?: {
86
87
  emitEvent?: boolean;
87
88
  onlySelf?: boolean;
@@ -138,9 +139,9 @@ export declare abstract class AppForm<T> implements IAppForm, OnInit, OnDestroy,
138
139
  emitEvent?: boolean;
139
140
  }): void;
140
141
  translateControlPath(path: string): any;
141
- protected getFormError(form: FormGroup, opts?: FormErrorTranslatorOptions): string;
142
+ protected getFormError(form: UntypedFormGroup, opts?: FormErrorTranslatorOptions): string;
142
143
  protected getI18nFieldName(path: string): string;
143
- protected registerSubscription(sub: Subscription): Subscription;
144
+ protected registerSubscription(sub: Subscription): void;
144
145
  protected unregisterSubscription(sub: Subscription): void;
145
146
  protected registerAutocompleteField<E = any, EF = any>(fieldName: string, opts?: MatAutocompleteFieldAddOptions<E, EF>): MatAutocompleteFieldConfig<E, EF>;
146
147
  protected setError(value: string, opts?: {
@@ -148,4 +149,6 @@ export declare abstract class AppForm<T> implements IAppForm, OnInit, OnDestroy,
148
149
  }): void;
149
150
  protected markForCheck(): void;
150
151
  private setLoading;
152
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppForm<any>, never>;
153
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AppForm<any>, never, never, { "debug": "debug"; "tabindex": "tabindex"; "errorTranslatorOptions": "errorTranslatorOptions"; "form": "form"; }, { "onCancel": "onCancel"; "onSubmit": "onSubmit"; }, never, never, false>;
151
154
  }
@@ -1,4 +1,4 @@
1
- import { AbstractControl, FormArray, FormBuilder, FormGroup, ValidatorFn } from '@angular/forms';
1
+ import { AbstractControl, UntypedFormArray, UntypedFormBuilder, UntypedFormGroup, ValidatorFn } from '@angular/forms';
2
2
  import { Entity } from '../services/model/entity.model';
3
3
  import { filterNumberInput, selectInputContent } from '../../shared/inputs';
4
4
  import { WaitForOptions } from '../../shared/observables';
@@ -188,16 +188,16 @@ export declare class FormArrayHelper<T = Entity<any>, C extends AbstractControl
188
188
  private equals;
189
189
  private isEmpty;
190
190
  static FORMA_HELPER_PROPERTY: string;
191
- static getOrCreateArray(formBuilder: FormBuilder, form: FormGroup, arrayName: string): FormArray;
192
- static hasHelper(formArray: FormArray): formArray is FormArray & {
191
+ static getOrCreateArray(formBuilder: UntypedFormBuilder, form: UntypedFormGroup, arrayName: string): UntypedFormArray;
192
+ static hasHelper(formArray: UntypedFormArray): formArray is UntypedFormArray & {
193
193
  _helper: FormArrayHelper<any>;
194
194
  };
195
195
  private _allowEmptyArray;
196
196
  private readonly _validators;
197
197
  get allowEmptyArray(): boolean;
198
198
  set allowEmptyArray(value: boolean);
199
- get formArray(): FormArray;
200
- constructor(_formArray: FormArray, createControl: (value?: T) => C, equals: (v1: T, v2: T) => boolean, isEmpty: (value: T) => boolean, options?: FormArrayHelperOptions);
199
+ get formArray(): UntypedFormArray;
200
+ constructor(_formArray: UntypedFormArray, createControl: (value?: T) => C, equals: (v1: T, v2: T) => boolean, isEmpty: (value: T) => boolean, options?: FormArrayHelperOptions);
201
201
  /**
202
202
  * @param value
203
203
  * @param options
@@ -1,5 +1,5 @@
1
1
  import { ChangeDetectorRef, EventEmitter, Injector, OnInit } from '@angular/core';
2
- import { AbstractControl, FormArray, FormBuilder, FormGroup, FormGroupDirective } from '@angular/forms';
2
+ import { AbstractControl, UntypedFormArray, UntypedFormBuilder, UntypedFormGroup, FormGroupDirective } from '@angular/forms';
3
3
  import { DateAdapter } from '@angular/material/core';
4
4
  import { Moment } from 'moment';
5
5
  import { LocalSettingsService } from '../services/local-settings.service';
@@ -8,9 +8,10 @@ import { FormArrayHelper, FormArrayHelperOptions } from './form.utils';
8
8
  import { SelectionModel } from '@angular/cdk/collections';
9
9
  import { Observable } from 'rxjs';
10
10
  import { Color } from '@ionic/core';
11
+ import * as i0 from "@angular/core";
11
12
  export declare interface ItemButton<T = any> {
12
13
  title?: string;
13
- click: (event: UIEvent, item: T, index: number) => void;
14
+ click: (event: Event, item: T, index: number) => void;
14
15
  icon: string;
15
16
  color?: Color;
16
17
  disabled?: Observable<boolean>;
@@ -21,7 +22,7 @@ export declare type AppListFormOptions<T> = FormArrayHelperOptions & {
21
22
  };
22
23
  export declare class AppListForm<T = any> extends AppForm<T[]> implements OnInit {
23
24
  protected injector: Injector;
24
- protected formBuilder: FormBuilder;
25
+ protected formBuilder: UntypedFormBuilder;
25
26
  protected dateAdapter: DateAdapter<Moment>;
26
27
  protected settings: LocalSettingsService;
27
28
  protected cd: ChangeDetectorRef;
@@ -29,7 +30,7 @@ export declare class AppListForm<T = any> extends AppForm<T[]> implements OnInit
29
30
  helper: FormArrayHelper<T>;
30
31
  selection: SelectionModel<T>;
31
32
  formArrayName: string;
32
- formArray: FormArray;
33
+ formArray: UntypedFormArray;
33
34
  options: AppListFormOptions<T>;
34
35
  displayWithFn: (item: any) => string;
35
36
  equalsFn: (v1: T, v2: T) => boolean;
@@ -37,7 +38,7 @@ export declare class AppListForm<T = any> extends AppForm<T[]> implements OnInit
37
38
  selectionChanges: EventEmitter<T[]>;
38
39
  set value(data: T[]);
39
40
  get value(): T[];
40
- get itemControls(): FormGroup[];
41
+ get itemControls(): UntypedFormGroup[];
41
42
  get length(): number;
42
43
  get empty(): boolean;
43
44
  get touched(): boolean;
@@ -53,7 +54,7 @@ export declare class AppListForm<T = any> extends AppForm<T[]> implements OnInit
53
54
  markAllAsTouched(opts?: {
54
55
  emitEvent?: boolean;
55
56
  }): void;
56
- constructor(injector: Injector, formBuilder: FormBuilder, dateAdapter: DateAdapter<Moment>, settings: LocalSettingsService, cd: ChangeDetectorRef, formGroupDir: FormGroupDirective);
57
+ constructor(injector: Injector, formBuilder: UntypedFormBuilder, dateAdapter: DateAdapter<Moment>, settings: LocalSettingsService, cd: ChangeDetectorRef, formGroupDir: FormGroupDirective);
57
58
  ngOnInit(): void;
58
59
  ngOnDestroy(): void;
59
60
  setValue(data: T[] | any): void;
@@ -67,7 +68,7 @@ export declare class AppListForm<T = any> extends AppForm<T[]> implements OnInit
67
68
  }): Promise<void>;
68
69
  onItemButtonClick(button: ItemButton, event: MouseEvent, item: T, index: number): Promise<void>;
69
70
  hasSelection(): boolean;
70
- onNewClick(event: UIEvent): void;
71
+ onNewClick(event: any): void;
71
72
  add(value: T, opts?: {
72
73
  emitEvent?: boolean;
73
74
  }): void;
@@ -75,4 +76,6 @@ export declare class AppListForm<T = any> extends AppForm<T[]> implements OnInit
75
76
  displayWith(value: T): string;
76
77
  protected createControl(data?: any): AbstractControl;
77
78
  protected markForCheck(): void;
79
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppListForm<any>, [null, null, null, null, null, { optional: true; }]>;
80
+ static ɵcmp: i0.ɵɵComponentDeclaration<AppListForm<any>, "app-list-form", never, { "formArrayName": "formArrayName"; "formArray": "formArray"; "options": "options"; "displayWithFn": "displayWith"; "equalsFn": "equals"; }, { "onNewItem": "onNewItem"; "selectionChanges": "selectionChanges"; }, never, never, false>;
78
81
  }
@@ -0,0 +1,43 @@
1
+ import { ChangeDetectorRef, Injector, OnInit } from '@angular/core';
2
+ import { UntypedFormArray, UntypedFormBuilder, UntypedFormGroup, FormGroupDirective } from '@angular/forms';
3
+ import { FormFieldDefinition, FormFieldDefinitionMap } from '../../../shared/form/field.model';
4
+ import { DateAdapter, ThemePalette } from '@angular/material/core';
5
+ import { Moment } from 'moment';
6
+ import { LocalSettingsService } from '../../services/local-settings.service';
7
+ import { AppForm } from '../form.class';
8
+ import { FormArrayHelper, FormArrayHelperOptions } from '../form.utils';
9
+ import { Property } from '../../../shared/types';
10
+ import { PropertyValidator } from './property.validator';
11
+ import { PredefinedColors } from '@ionic/core';
12
+ import * as i0 from "@angular/core";
13
+ export declare class AppPropertiesForm<T = Property> extends AppForm<T[]> implements OnInit {
14
+ protected formBuilder: UntypedFormBuilder;
15
+ protected dateAdapter: DateAdapter<Moment>;
16
+ protected settings: LocalSettingsService;
17
+ protected cd: ChangeDetectorRef;
18
+ protected validator: PropertyValidator;
19
+ private formGroupDir;
20
+ definitionsMapByKey: FormFieldDefinitionMap;
21
+ definitionsByIndex: {
22
+ [index: number]: FormFieldDefinition;
23
+ };
24
+ helper: FormArrayHelper<Property>;
25
+ formArrayName: string;
26
+ formArray: UntypedFormArray;
27
+ options: FormArrayHelperOptions;
28
+ definitions: FormFieldDefinition[];
29
+ chipColor: ThemePalette | PredefinedColors;
30
+ set value(data: T[]);
31
+ get value(): T[];
32
+ get fieldForms(): UntypedFormGroup[];
33
+ constructor(injector: Injector, formBuilder: UntypedFormBuilder, dateAdapter: DateAdapter<Moment>, settings: LocalSettingsService, cd: ChangeDetectorRef, validator: PropertyValidator, formGroupDir: FormGroupDirective);
34
+ ngOnInit(): void;
35
+ getDefinitionAt(index: number): FormFieldDefinition;
36
+ updateDefinitionAt(index: number): FormFieldDefinition;
37
+ removeAt(index: number): void;
38
+ isUnknownField(fieldForm: UntypedFormGroup): boolean;
39
+ setValue(data: T[] | any): void;
40
+ protected markForCheck(): void;
41
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppPropertiesForm<any>, [null, null, null, null, null, null, { optional: true; }]>;
42
+ static ɵcmp: i0.ɵɵComponentDeclaration<AppPropertiesForm<any>, "app-properties-form", never, { "formArrayName": "formArrayName"; "formArray": "formArray"; "options": "options"; "definitions": "definitions"; "chipColor": "chipColor"; }, {}, never, never, false>;
43
+ }
@@ -0,0 +1,13 @@
1
+ import { UntypedFormBuilder } from '@angular/forms';
2
+ import { Property } from '../../../shared/types';
3
+ import { AppValidatorService } from '../../services/validator/base.validator.class';
4
+ import * as i0 from "@angular/core";
5
+ export declare class PropertyValidator extends AppValidatorService<Property> {
6
+ protected formBuilder: UntypedFormBuilder;
7
+ constructor(formBuilder: UntypedFormBuilder);
8
+ getFormGroupConfig(data?: Property): {
9
+ [p: string]: any;
10
+ };
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<PropertyValidator, never>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PropertyValidator, never, never, {}, {}, never, never, false>;
13
+ }
@@ -0,0 +1,19 @@
1
+ import { AfterViewInit, OnInit } from '@angular/core';
2
+ import { FormFieldDefinition } from '../../../../shared/form/field.model';
3
+ import { AppPropertiesForm } from '../properties.form';
4
+ import { LoadResult } from '../../../../shared/services/entity-service.class';
5
+ import { FormBuilder, FormGroup } from '@angular/forms';
6
+ import * as i0 from "@angular/core";
7
+ export declare class PropertiesFormTestPage implements OnInit, AfterViewInit {
8
+ protected formBuilder: FormBuilder;
9
+ propertyDefinitions: FormFieldDefinition[];
10
+ i18nFieldPrefix: string;
11
+ form: FormGroup;
12
+ propertiesForm: AppPropertiesForm;
13
+ constructor(formBuilder: FormBuilder);
14
+ ngOnInit(): void;
15
+ ngAfterViewInit(): void;
16
+ protected suggestEntity(value: any, filter: any): Promise<LoadResult<any>>;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<PropertiesFormTestPage, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<PropertiesFormTestPage, "app-properties-form-test", never, {}, {}, never, never, false>;
19
+ }
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./properties-form.test";
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";
7
+ import * as i6 from "@angular/router";
8
+ export declare class PropertiesFormTestingModule {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<PropertiesFormTestingModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PropertiesFormTestingModule, [typeof i1.PropertiesFormTestPage], [typeof i2.CommonModule, typeof i3.SharedModule, typeof i4.CoreModule, typeof i5.TranslateModule], [typeof i6.RouterModule, typeof i1.PropertiesFormTestPage]>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<PropertiesFormTestingModule>;
12
+ }
@@ -1,3 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/common/http";
1
3
  export declare class AppGraphQLModule {
2
4
  constructor();
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppGraphQLModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AppGraphQLModule, never, [typeof i1.HttpClientModule], [typeof i1.HttpClientModule]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<AppGraphQLModule>;
3
8
  }
@@ -4,7 +4,6 @@ import { ApolloCache, ApolloClient, FetchPolicy, MutationUpdaterFn, OperationVar
4
4
  import { ServiceError } from '../services/errors';
5
5
  import { InjectionToken } from '@angular/core';
6
6
  import { NetworkService } from '../services/network.service';
7
- import { Storage } from '@ionic/storage';
8
7
  import { Platform } from '@ionic/angular';
9
8
  import { IEntity } from '../services/model/entity.model';
10
9
  import { Resolvers } from '@apollo/client/core/types';
@@ -15,6 +14,8 @@ import { Cache } from '@apollo/client/cache/core/types/Cache';
15
14
  import { CryptoService } from '../services/crypto.service';
16
15
  import { PropertiesMap } from '../../shared/types';
17
16
  import { StartableService } from '../../shared/services/startable-service.class';
17
+ import { StorageService } from '../../shared/services/storage/storage.service';
18
+ import * as i0 from "@angular/core";
18
19
  export interface WatchQueryOptions<V> {
19
20
  query: any;
20
21
  variables?: V;
@@ -36,6 +37,10 @@ export interface MutateQueryOptions<T, V = OperationVariables> extends MutationB
36
37
  forceOffline?: boolean;
37
38
  }
38
39
  export declare const APP_GRAPHQL_TYPE_POLICIES: InjectionToken<TypePolicies>;
40
+ export declare type ConnectionParams = {
41
+ authToken?: string;
42
+ authBasic?: string;
43
+ };
39
44
  export declare class GraphqlService extends StartableService<ApolloClient<any>> {
40
45
  private platform;
41
46
  private apollo;
@@ -55,7 +60,7 @@ export declare class GraphqlService extends StartableService<ApolloClient<any>>
55
60
  get client(): ApolloClient<any>;
56
61
  get cache(): ApolloCache<any>;
57
62
  get defaultFetchPolicy(): WatchQueryFetchPolicy;
58
- constructor(platform: Platform, apollo: Apollo, httpLink: HttpLink, network: NetworkService, storage: Storage, cryptoService: CryptoService, environment: any, typePolicies: TypePolicies);
63
+ constructor(platform: Platform, apollo: Apollo, httpLink: HttpLink, network: NetworkService, storage: StorageService, cryptoService: CryptoService, environment: any, typePolicies: TypePolicies);
59
64
  setAuthToken(token: string): void;
60
65
  setAuthBasic(basic: string): void;
61
66
  /**
@@ -134,4 +139,6 @@ export declare class GraphqlService extends StartableService<ApolloClient<any>>
134
139
  private createAppErrorByCode;
135
140
  private getI18nErrorMessageByCode;
136
141
  private toAppError;
142
+ static ɵfac: i0.ɵɵFactoryDeclaration<GraphqlService, [null, null, null, null, null, null, null, { optional: true; }]>;
143
+ static ɵprov: i0.ɵɵInjectableDeclaration<GraphqlService>;
137
144
  }
@@ -2,6 +2,7 @@ import { ApolloClient, ApolloLink, Operation } from '@apollo/client/core';
2
2
  import { Observable } from 'rxjs';
3
3
  import { PersistentStorage } from 'apollo3-cache-persist';
4
4
  import { ConnectionType } from '../services/network.service';
5
+ import { StorageService } from '../../shared/services/storage/storage.service';
5
6
  export declare const NativeWebSocket: any;
6
7
  /**
7
8
  * AppWebSocket class.
@@ -29,3 +30,10 @@ export declare function restoreTrackedQueries(opts: {
29
30
  storage: PersistentStorage<any>;
30
31
  debug?: boolean;
31
32
  }): Promise<import("@apollo/client/core").FetchResult<any, Record<string, any>, Record<string, any>>[]>;
33
+ export declare class StorageServiceWrapper implements PersistentStorage<string> {
34
+ private storage;
35
+ constructor(storage: StorageService);
36
+ getItem(key: any): Promise<any>;
37
+ removeItem(key: any): Promise<any>;
38
+ setItem(key: any, value: any): Promise<any>;
39
+ }
@@ -15,6 +15,7 @@ import { MenuItem } from '../menu/menu.model';
15
15
  import { ShowToastOptions } from '../../shared/toast/toasts';
16
16
  import { Environment } from '../../../environments/environment.class';
17
17
  import { HistoryPageReference } from '../services/model/history.model';
18
+ import * as i0 from "@angular/core";
18
19
  export declare function getRandomImage(files: String[]): String;
19
20
  export declare const APP_HOME_BUTTONS: InjectionToken<MenuItem[]>;
20
21
  export declare class HomePage implements OnDestroy {
@@ -58,7 +59,7 @@ export declare class HomePage implements OnDestroy {
58
59
  register(): Promise<void>;
59
60
  logout(event: any): Promise<void>;
60
61
  changeLanguage(locale: string): void;
61
- getPagePath(page: HistoryPageReference): string;
62
+ getPagePath(index: number, page: HistoryPageReference): string;
62
63
  tryOnline(): void;
63
64
  protected start(): Promise<void>;
64
65
  protected showToast(opts: ShowToastOptions): Promise<void>;
@@ -68,4 +69,6 @@ export declare class HomePage implements OnDestroy {
68
69
  protected onLogout(): void;
69
70
  protected refreshButtons(): void;
70
71
  protected markForCheck(): void;
72
+ static ɵfac: i0.ɵɵFactoryDeclaration<HomePage, [null, null, null, null, null, null, null, null, null, null, null, { optional: true; }]>;
73
+ static ɵcmp: i0.ɵɵComponentDeclaration<HomePage, "app-page-home", never, {}, {}, never, never, false>;
71
74
  }
@@ -1,10 +1,13 @@
1
1
  import { AppColors, IconRef } from '../../shared/types';
2
+ import * as i0 from "@angular/core";
2
3
  export declare class AppIconComponent {
3
4
  icon: string;
4
5
  matIcon: string;
5
6
  matSvgIcon: string;
6
7
  color: AppColors;
7
- height: number;
8
- width: number;
8
+ height: number | string;
9
+ width: number | string;
9
10
  set ref(value: IconRef);
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppIconComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<AppIconComponent, "app-icon", never, { "icon": "icon"; "matIcon": "matIcon"; "matSvgIcon": "matSvgIcon"; "color": "color"; "height": "height"; "width": "width"; "ref": "ref"; }, {}, never, never, false>;
10
13
  }
@@ -1,2 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./icon.component";
3
+ import * as i2 from "../../shared/shared.module";
4
+ import * as i3 from "@ngx-translate/core";
1
5
  export declare class AppIconModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppIconModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AppIconModule, [typeof i1.AppIconComponent], [typeof i2.SharedModule, typeof i3.TranslateModule], [typeof i1.AppIconComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<AppIconModule>;
2
9
  }
@@ -4,6 +4,7 @@ import { ConfigService } from '../services/config.service';
4
4
  import { PlatformService } from '../services/platform.service';
5
5
  import { NetworkService } from '../services/network.service';
6
6
  import { TranslateService } from '@ngx-translate/core';
7
+ import * as i0 from "@angular/core";
7
8
  export declare interface InstallAppLink {
8
9
  name: string;
9
10
  url: string;
@@ -42,8 +43,8 @@ export declare class AppInstallUpgradeCard implements OnInit, OnDestroy {
42
43
  constructor(modalCtrl: ModalController, configService: ConfigService, toastController: ToastController, alertController: AlertController, translate: TranslateService, cd: ChangeDetectorRef, platform: PlatformService, network: NetworkService, environment: any);
43
44
  ngOnInit(): void;
44
45
  ngOnDestroy(): void;
45
- download(event: UIEvent, link: InstallAppLink): Promise<void>;
46
- openFile(event: UIEvent, link: InstallAppLink): Promise<void>;
46
+ download(event: Event, link: InstallAppLink): Promise<void>;
47
+ openFile(event: Event, link: InstallAppLink): Promise<void>;
47
48
  tryOnline(): Promise<void>;
48
49
  getPlatformName(platform: 'android' | 'ios'): "" | "Android" | "iOS";
49
50
  asLink(value: any): InstallAppLink;
@@ -57,4 +58,6 @@ export declare class AppInstallUpgradeCard implements OnInit, OnDestroy {
57
58
  private showDownloadCompleteDialog;
58
59
  private markForCheck;
59
60
  private showToast;
61
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppInstallUpgradeCard, never>;
62
+ static ɵcmp: i0.ɵɵComponentDeclaration<AppInstallUpgradeCard, "app-install-upgrade-card", never, { "isLogin": "isLogin"; "showUpgradeWarning": "showUpgradeWarning"; "showOfflineWarning": "showOfflineWarning"; "showInstallButton": "showInstallButton"; }, {}, never, never, false>;
60
63
  }
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./install-upgrade-card.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../../shared/shared.module";
5
+ import * as i4 from "@ionic/angular";
6
+ export declare class InstallUpgradeCardModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<InstallUpgradeCardModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<InstallUpgradeCardModule, [typeof i1.AppInstallUpgradeCard], [typeof i2.CommonModule, typeof i3.SharedModule, typeof i4.IonicModule], [typeof i1.AppInstallUpgradeCard]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<InstallUpgradeCardModule>;
10
+ }
@@ -6,10 +6,10 @@ import { AccountService } from '../services/account.service';
6
6
  import { TranslateService } from '@ngx-translate/core';
7
7
  import { BehaviorSubject } from 'rxjs';
8
8
  import { ConfigService } from '../services/config.service';
9
- import { HammerSwipeEvent } from '../../shared/gesture/hammer.utils';
10
9
  import { PlatformService } from '../services/platform.service';
11
10
  import { MenuService, SplitPaneShowWhen } from './menu.service';
12
11
  import { MenuOptions, MenuItem } from './menu.model';
12
+ import * as i0 from "@angular/core";
13
13
  export declare const APP_MENU_ITEMS: InjectionToken<MenuItem[]>;
14
14
  export declare const APP_MENU_OPTIONS: InjectionToken<MenuOptions>;
15
15
  export declare class MenuComponent implements OnInit {
@@ -51,11 +51,13 @@ export declare class MenuComponent implements OnInit {
51
51
  enable(value: boolean): Promise<void>;
52
52
  open(): Promise<boolean>;
53
53
  close(): Promise<boolean>;
54
- openAboutModal(event?: UIEvent): Promise<void>;
54
+ openAboutModal(event?: Event): Promise<void>;
55
55
  setSplitPaneWhen(value: SplitPaneShowWhen): Promise<void>;
56
- toggleSplitPaneShow(event?: UIEvent): Promise<void>;
57
- doAction(action: string, event: UIEvent): Promise<void>;
58
- onSwipeRight(event: HammerSwipeEvent): boolean;
56
+ toggleSplitPaneShow(event?: Event): Promise<void>;
57
+ doAction(action: string, event: Event): Promise<void>;
58
+ onSwipeRight(event: any): boolean;
59
59
  protected refreshMenuItems(): void;
60
60
  protected detectChanges(): void;
61
+ static ɵfac: i0.ɵɵFactoryDeclaration<MenuComponent, [null, null, null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
62
+ static ɵcmp: i0.ɵɵComponentDeclaration<MenuComponent, "app-menu", never, { "id": "id"; "menuId": "menuId"; "side": "side"; "contentId": "contentId"; "logo": "logo"; "appName": "appName"; "appVersion": "appVersion"; }, {}, never, ["*", "[headerBottomRight]"], false>;
61
63
  }
@@ -1,2 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./menu.component";
3
+ import * as i2 from "../../shared/shared.module";
4
+ import * as i3 from "@angular/router";
5
+ import * as i4 from "@ngx-translate/core";
1
6
  export declare class AppMenuModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppMenuModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AppMenuModule, [typeof i1.MenuComponent], [typeof i2.SharedModule, typeof i3.RouterModule, typeof i4.TranslateModule], [typeof i4.TranslateModule, typeof i1.MenuComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<AppMenuModule>;
2
10
  }
@@ -1,4 +1,5 @@
1
1
  import { Observable } from 'rxjs';
2
+ import * as i0 from "@angular/core";
2
3
  export declare type SplitPaneShowWhen = boolean | 'lg';
3
4
  export declare const DEFAULT_MENU_SHOW_WHEN: SplitPaneShowWhen;
4
5
  export declare class MenuService {
@@ -15,4 +16,6 @@ export declare class MenuService {
15
16
  toggleSplitPaneWhen(): void;
16
17
  _markAsOpened(): void;
17
18
  _markAsClosed(): void;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<MenuService, never>;
20
+ static ɵprov: i0.ɵɵInjectableDeclaration<MenuService>;
18
21
  }
@@ -1,8 +1,11 @@
1
1
  import { EventEmitter, OnDestroy } from '@angular/core';
2
+ import * as i0 from "@angular/core";
2
3
  export declare class AppUpdateOfflineModeCard implements OnDestroy {
3
4
  progressionMessage: string;
4
5
  progressionValue: number;
5
6
  onUpdateClick: EventEmitter<UIEvent>;
6
7
  constructor();
7
8
  ngOnDestroy(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppUpdateOfflineModeCard, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<AppUpdateOfflineModeCard, "app-update-offline-mode-card", never, { "progressionMessage": "progressionMessage"; "progressionValue": "progressionValue"; }, { "onUpdateClick": "onUpdateClick"; }, never, never, false>;
8
11
  }
@@ -1,10 +1,11 @@
1
- import { ChangeDetectorRef, OnDestroy, EventEmitter } from '@angular/core';
1
+ import { ChangeDetectorRef, EventEmitter, OnDestroy } from '@angular/core';
2
2
  import { ModalController } from '@ionic/angular';
3
3
  import { Peer } from '../services/model/peer.model';
4
4
  import { Observable, Subject } from 'rxjs';
5
5
  import { HttpClient } from '@angular/common/http';
6
+ import * as i0 from "@angular/core";
6
7
  export declare class SelectPeerModal implements OnDestroy {
7
- private viewCtrl;
8
+ private modalCtrl;
8
9
  private cd;
9
10
  private http;
10
11
  protected environment: any;
@@ -15,7 +16,7 @@ export declare class SelectPeerModal implements OnDestroy {
15
16
  canCancel: boolean;
16
17
  allowSelectDownPeer: boolean;
17
18
  onRefresh: EventEmitter<UIEvent>;
18
- constructor(viewCtrl: ModalController, cd: ChangeDetectorRef, http: HttpClient, environment: any);
19
+ constructor(modalCtrl: ModalController, cd: ChangeDetectorRef, http: HttpClient, environment: any);
19
20
  set peers(peers: Observable<Peer[]>);
20
21
  cancel(): void;
21
22
  ngOnDestroy(): void;
@@ -26,8 +27,10 @@ export declare class SelectPeerModal implements OnDestroy {
26
27
  * @param peer
27
28
  */
28
29
  isCompatible(peer: Peer): boolean;
29
- refresh(event: UIEvent): void;
30
+ refresh(event: any): void;
30
31
  refreshPeers(peers: Peer[]): Promise<void>;
31
32
  protected refreshPeer(peer: Peer): Promise<Peer>;
32
33
  protected markForCheck(): void;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectPeerModal, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectPeerModal, "select-peer-modal", never, { "canCancel": "canCancel"; "allowSelectDownPeer": "allowSelectDownPeer"; "onRefresh": "onRefresh"; }, {}, never, never, false>;
33
36
  }