@sumaris-net/ngx-components 18.24.24 → 21.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 (801) hide show
  1. package/README.md +2 -0
  2. package/doc/build.md +2 -2
  3. package/doc/changelog.md +6 -5
  4. package/fesm2022/sumaris-net-ngx-components-testing.mjs +496 -0
  5. package/fesm2022/sumaris-net-ngx-components-testing.mjs.map +1 -0
  6. package/fesm2022/sumaris-net.ngx-components.mjs +2782 -2426
  7. package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
  8. package/package.json +20 -15
  9. package/src/assets/environments/environment-test.json +2 -2
  10. package/src/assets/i18n/fr.json +6 -5
  11. package/src/assets/manifest.json +1 -1
  12. package/src/theme/_icons.scss +8 -12
  13. package/src/theme/_ionic.globals.scss +15 -1
  14. package/src/theme/_material.globals.scss +4 -1
  15. package/src/theme/_material.scss +16 -13
  16. package/src/theme/_mixins.scss +7 -1
  17. package/src/theme/_ngx-components.forms.scss +87 -84
  18. package/src/theme/_ngx-components.globals.scss +2 -0
  19. package/src/theme/_ngx-components.scss +20 -5
  20. package/src/theme/_ngx-components.table.scss +37 -26
  21. package/src/theme/_ngx-components.tabs.scss +16 -14
  22. package/src/theme/_responsive.scss +2 -0
  23. package/src/theme/_roboto.scss +3 -0
  24. package/src/theme/_theme.scss +11 -14
  25. package/src/theme/_theme.variables.scss +11 -2
  26. package/src/theme/ionic/ionic.functions.color.scss +13 -5
  27. package/src/theme/ionic/ionic.globals.scss +4 -4
  28. package/src/theme/ionic/ionic.theme.default.scss +2 -0
  29. package/types/sumaris-net-ngx-components-testing.d.ts +286 -0
  30. package/types/sumaris-net.ngx-components.d.ts +14216 -0
  31. package/esm2022/public_api.mjs +0 -403
  32. package/esm2022/src/app/admin/admin-routing.module.mjs +0 -34
  33. package/esm2022/src/app/admin/admin.module.mjs +0 -32
  34. package/esm2022/src/app/admin/users/person.filter.mjs +0 -157
  35. package/esm2022/src/app/admin/users/person.service.mjs +0 -226
  36. package/esm2022/src/app/admin/users/person.validator.mjs +0 -78
  37. package/esm2022/src/app/admin/users/users-select.modal.mjs +0 -167
  38. package/esm2022/src/app/admin/users/users.mjs +0 -502
  39. package/esm2022/src/app/admin/users/users.module.mjs +0 -59
  40. package/esm2022/src/app/admin/users/users.utils.mjs +0 -29
  41. package/esm2022/src/app/core/about/about.modal.mjs +0 -119
  42. package/esm2022/src/app/core/about/about.module.mjs +0 -22
  43. package/esm2022/src/app/core/account/account.module.mjs +0 -75
  44. package/esm2022/src/app/core/account/account.page.mjs +0 -426
  45. package/esm2022/src/app/core/account/new-token.form.mjs +0 -109
  46. package/esm2022/src/app/core/account/new-token.modal.mjs +0 -66
  47. package/esm2022/src/app/core/account/password/change-password.form.mjs +0 -63
  48. package/esm2022/src/app/core/account/password/change-password.module.mjs +0 -22
  49. package/esm2022/src/app/core/account/password/change-password.page.mjs +0 -150
  50. package/esm2022/src/app/core/account/token.table.mjs +0 -160
  51. package/esm2022/src/app/core/auth/auth.form.mjs +0 -159
  52. package/esm2022/src/app/core/auth/auth.modal.mjs +0 -76
  53. package/esm2022/src/app/core/auth/auth.module.mjs +0 -56
  54. package/esm2022/src/app/core/auth/reset-password.modal.mjs +0 -89
  55. package/esm2022/src/app/core/core.module.mjs +0 -157
  56. package/esm2022/src/app/core/core.testing.module.mjs +0 -128
  57. package/esm2022/src/app/core/form/array/form-array.mjs +0 -328
  58. package/esm2022/src/app/core/form/array/testing/form-array-test.module.mjs +0 -23
  59. package/esm2022/src/app/core/form/array/testing/form-array.test.mjs +0 -97
  60. package/esm2022/src/app/core/form/buttons/form-buttons-bar.component.mjs +0 -111
  61. package/esm2022/src/app/core/form/buttons/form-buttons-bar.module.mjs +0 -31
  62. package/esm2022/src/app/core/form/entity/editor.class.mjs +0 -268
  63. package/esm2022/src/app/core/form/entity/entity-editor-modal.class.mjs +0 -420
  64. package/esm2022/src/app/core/form/entity/entity-editor.class.mjs +0 -753
  65. package/esm2022/src/app/core/form/entity/entity-metadata.component.mjs +0 -25
  66. package/esm2022/src/app/core/form/entity/entity.module.mjs +0 -33
  67. package/esm2022/src/app/core/form/entity/tab-editor.class.mjs +0 -190
  68. package/esm2022/src/app/core/form/form-container.class.mjs +0 -371
  69. package/esm2022/src/app/core/form/form.class.mjs +0 -342
  70. package/esm2022/src/app/core/form/form.module.mjs +0 -77
  71. package/esm2022/src/app/core/form/form.utils.mjs +0 -238
  72. package/esm2022/src/app/core/form/list/list.form.mjs +0 -243
  73. package/esm2022/src/app/core/form/list/list.module.mjs +0 -31
  74. package/esm2022/src/app/core/form/properties/properties-file.service.mjs +0 -133
  75. package/esm2022/src/app/core/form/properties/properties.form.mjs +0 -397
  76. package/esm2022/src/app/core/form/properties/properties.module.mjs +0 -85
  77. package/esm2022/src/app/core/form/properties/properties.table.mjs +0 -267
  78. package/esm2022/src/app/core/form/properties/properties.utils.mjs +0 -304
  79. package/esm2022/src/app/core/form/properties/property.validator.mjs +0 -70
  80. package/esm2022/src/app/core/form/properties/testing/properties-form.test.mjs +0 -103
  81. package/esm2022/src/app/core/form/properties/testing/properties-form.testing.module.mjs +0 -23
  82. package/esm2022/src/app/core/form/text/testing/text-form.testing.mjs +0 -42
  83. package/esm2022/src/app/core/form/text/testing/text-form.testing.module.mjs +0 -25
  84. package/esm2022/src/app/core/form/text/text-form.component.mjs +0 -205
  85. package/esm2022/src/app/core/form/text/text-form.module.mjs +0 -31
  86. package/esm2022/src/app/core/form/text-popover/testing/text-popover.testing.mjs +0 -73
  87. package/esm2022/src/app/core/form/text-popover/testing/text-popover.testing.module.mjs +0 -22
  88. package/esm2022/src/app/core/form/text-popover/text-popover.component.mjs +0 -164
  89. package/esm2022/src/app/core/form/text-popover/text-popover.module.mjs +0 -32
  90. package/esm2022/src/app/core/form/username/username.form.mjs +0 -55
  91. package/esm2022/src/app/core/form/username/username.module.mjs +0 -20
  92. package/esm2022/src/app/core/graphql/graphql.module.mjs +0 -14
  93. package/esm2022/src/app/core/graphql/graphql.service.mjs +0 -781
  94. package/esm2022/src/app/core/graphql/graphql.utils.mjs +0 -119
  95. package/esm2022/src/app/core/home/home.mjs +0 -472
  96. package/esm2022/src/app/core/home/home.module.mjs +0 -54
  97. package/esm2022/src/app/core/icon/icon.component.mjs +0 -40
  98. package/esm2022/src/app/core/icon/icon.module.mjs +0 -20
  99. package/esm2022/src/app/core/install/install-upgrade-card.component.mjs +0 -394
  100. package/esm2022/src/app/core/install/install-upgrade-card.module.mjs +0 -31
  101. package/esm2022/src/app/core/menu/menu.component.mjs +0 -273
  102. package/esm2022/src/app/core/menu/menu.model.mjs +0 -327
  103. package/esm2022/src/app/core/menu/menu.module.mjs +0 -47
  104. package/esm2022/src/app/core/menu/menu.service.mjs +0 -666
  105. package/esm2022/src/app/core/menu/sub-menu-tab.directive.mjs +0 -113
  106. package/esm2022/src/app/core/menu/testing/menu-other.testing.mjs +0 -51
  107. package/esm2022/src/app/core/menu/testing/menu.testing.mjs +0 -165
  108. package/esm2022/src/app/core/menu/testing/menu.testing.module.mjs +0 -60
  109. package/esm2022/src/app/core/offline/update-offline-mode-card.component.mjs +0 -28
  110. package/esm2022/src/app/core/offline/update-offline-mode-card.module.mjs +0 -31
  111. package/esm2022/src/app/core/peer/select-peer.modal.mjs +0 -350
  112. package/esm2022/src/app/core/peer/select-peer.module.mjs +0 -36
  113. package/esm2022/src/app/core/register/register-confirm.page.mjs +0 -90
  114. package/esm2022/src/app/core/register/register.form.mjs +0 -197
  115. package/esm2022/src/app/core/register/register.modal.mjs +0 -55
  116. package/esm2022/src/app/core/register/register.module.mjs +0 -23
  117. package/esm2022/src/app/core/services/account.service.mjs +0 -1403
  118. package/esm2022/src/app/core/services/auth-guard.service.mjs +0 -74
  119. package/esm2022/src/app/core/services/base-entity-service.class.mjs +0 -499
  120. package/esm2022/src/app/core/services/base-graphql-service.class.mjs +0 -224
  121. package/esm2022/src/app/core/services/base58.mjs +0 -83
  122. package/esm2022/src/app/core/services/config/core.config.mjs +0 -293
  123. package/esm2022/src/app/core/services/config.service.mjs +0 -384
  124. package/esm2022/src/app/core/services/crypto.service.mjs +0 -110
  125. package/esm2022/src/app/core/services/errors.mjs +0 -54
  126. package/esm2022/src/app/core/services/local-settings.service.mjs +0 -540
  127. package/esm2022/src/app/core/services/model/account.model.mjs +0 -192
  128. package/esm2022/src/app/core/services/model/config.model.mjs +0 -111
  129. package/esm2022/src/app/core/services/model/department.model.mjs +0 -35
  130. package/esm2022/src/app/core/services/model/entity.decorators.mjs +0 -97
  131. package/esm2022/src/app/core/services/model/entity.model.mjs +0 -347
  132. package/esm2022/src/app/core/services/model/filter.model.mjs +0 -169
  133. package/esm2022/src/app/core/services/model/history.model.mjs +0 -2
  134. package/esm2022/src/app/core/services/model/model.enum.mjs +0 -11
  135. package/esm2022/src/app/core/services/model/node-feature.model.mjs +0 -31
  136. package/esm2022/src/app/core/services/model/peer.model.mjs +0 -114
  137. package/esm2022/src/app/core/services/model/person.model.mjs +0 -118
  138. package/esm2022/src/app/core/services/model/referential.model.mjs +0 -207
  139. package/esm2022/src/app/core/services/model/settings.model.mjs +0 -6
  140. package/esm2022/src/app/core/services/model/token.model.mjs +0 -57
  141. package/esm2022/src/app/core/services/model/tree-item-entity.model.mjs +0 -234
  142. package/esm2022/src/app/core/services/network.service.mjs +0 -759
  143. package/esm2022/src/app/core/services/network.types.mjs +0 -2
  144. package/esm2022/src/app/core/services/network.utils.mjs +0 -35
  145. package/esm2022/src/app/core/services/pipes/account.pipes.mjs +0 -38
  146. package/esm2022/src/app/core/services/pipes/department-to-string.pipe.mjs +0 -23
  147. package/esm2022/src/app/core/services/pipes/person-to-string.pipe.mjs +0 -23
  148. package/esm2022/src/app/core/services/pipes/pipes.module.mjs +0 -58
  149. package/esm2022/src/app/core/services/pipes/referential-to-string.pipe.mjs +0 -36
  150. package/esm2022/src/app/core/services/pipes/usage-mode.pipes.mjs +0 -37
  151. package/esm2022/src/app/core/services/platform.service.mjs +0 -788
  152. package/esm2022/src/app/core/services/storage/entities-storage.service.mjs +0 -427
  153. package/esm2022/src/app/core/services/storage/entity-store.class.mjs +0 -450
  154. package/esm2022/src/app/core/services/testing/referential-filter.model.mjs +0 -25
  155. package/esm2022/src/app/core/services/testing/referential.validator.mjs +0 -46
  156. package/esm2022/src/app/core/services/validator/account.validator.mjs +0 -46
  157. package/esm2022/src/app/core/services/validator/base.validator.class.mjs +0 -49
  158. package/esm2022/src/app/core/services/validator/local-settings.validator.mjs +0 -57
  159. package/esm2022/src/app/core/services/validator/user-settings.validator.mjs +0 -27
  160. package/esm2022/src/app/core/services/validator/user-token.validator.mjs +0 -55
  161. package/esm2022/src/app/core/settings/settings.module.mjs +0 -23
  162. package/esm2022/src/app/core/settings/settings.page.mjs +0 -406
  163. package/esm2022/src/app/core/table/async-table.class.mjs +0 -1888
  164. package/esm2022/src/app/core/table/column/actions-column.component.mjs +0 -137
  165. package/esm2022/src/app/core/table/column/nav-actions-column.component.mjs +0 -120
  166. package/esm2022/src/app/core/table/column/row-field.component.mjs +0 -116
  167. package/esm2022/src/app/core/table/entities-async-table-datasource.class.mjs +0 -415
  168. package/esm2022/src/app/core/table/entities-table-datasource.class.mjs +0 -407
  169. package/esm2022/src/app/core/table/memory-table.class.mjs +0 -57
  170. package/esm2022/src/app/core/table/table-select-columns.component.mjs +0 -46
  171. package/esm2022/src/app/core/table/table.class.mjs +0 -1918
  172. package/esm2022/src/app/core/table/table.model.mjs +0 -21
  173. package/esm2022/src/app/core/table/table.module.mjs +0 -51
  174. package/esm2022/src/app/core/table/table.pipes.mjs +0 -76
  175. package/esm2022/src/app/core/table/table.utils.mjs +0 -34
  176. package/esm2022/src/app/core/table/testing/nested-table.testing.mjs +0 -326
  177. package/esm2022/src/app/core/table/testing/table-validator.service.mjs +0 -32
  178. package/esm2022/src/app/core/table/testing/table.testing.mjs +0 -342
  179. package/esm2022/src/app/core/table/testing/table.testing.module.mjs +0 -47
  180. package/esm2022/src/app/core/table/testing/table2-validator.service.mjs +0 -25
  181. package/esm2022/src/app/core/table/testing/table2.testing.mjs +0 -322
  182. package/esm2022/src/app/shared/alerts.mjs +0 -243
  183. package/esm2022/src/app/shared/audio/audio.mjs +0 -255
  184. package/esm2022/src/app/shared/audio/audio.testing.mjs +0 -32
  185. package/esm2022/src/app/shared/audio/audio.testing.module.mjs +0 -30
  186. package/esm2022/src/app/shared/base64.utils.mjs +0 -59
  187. package/esm2022/src/app/shared/capacitor/keyboard.mjs +0 -42
  188. package/esm2022/src/app/shared/capacitor/plugins.mjs +0 -10
  189. package/esm2022/src/app/shared/constants.mjs +0 -20
  190. package/esm2022/src/app/shared/dates.mjs +0 -216
  191. package/esm2022/src/app/shared/debug/debug-service.class.mjs +0 -3
  192. package/esm2022/src/app/shared/debug/debug.component.mjs +0 -44
  193. package/esm2022/src/app/shared/debug/debug.module.mjs +0 -23
  194. package/esm2022/src/app/shared/directives/autofocus.directive.mjs +0 -91
  195. package/esm2022/src/app/shared/directives/autoresize.directive.mjs +0 -75
  196. package/esm2022/src/app/shared/directives/autotitle.directive.mjs +0 -30
  197. package/esm2022/src/app/shared/directives/autotooltip.directive.mjs +0 -35
  198. package/esm2022/src/app/shared/directives/cell-selection/cell-identifier.directive.mjs +0 -55
  199. package/esm2022/src/app/shared/directives/cell-selection/cell-selection.directive.mjs +0 -206
  200. package/esm2022/src/app/shared/directives/cell-selection/cell-selection.service.mjs +0 -204
  201. package/esm2022/src/app/shared/directives/directives.module.mjs +0 -53
  202. package/esm2022/src/app/shared/directives/drag-and-drop.directive.mjs +0 -52
  203. package/esm2022/src/app/shared/directives/ng-var.directive.mjs +0 -33
  204. package/esm2022/src/app/shared/directives/resizable/resizable.component.mjs +0 -62
  205. package/esm2022/src/app/shared/directives/resizable/resizable.directive.mjs +0 -96
  206. package/esm2022/src/app/shared/directives/resizable/resizable.module.mjs +0 -17
  207. package/esm2022/src/app/shared/directives/throttled-click.directive.mjs +0 -43
  208. package/esm2022/src/app/shared/events.mjs +0 -64
  209. package/esm2022/src/app/shared/file/csv.utils.mjs +0 -97
  210. package/esm2022/src/app/shared/file/file.service.mjs +0 -118
  211. package/esm2022/src/app/shared/file/file.utils.mjs +0 -117
  212. package/esm2022/src/app/shared/file/images.utils.mjs +0 -218
  213. package/esm2022/src/app/shared/file/json.utils.mjs +0 -58
  214. package/esm2022/src/app/shared/file/uri.utils.mjs +0 -29
  215. package/esm2022/src/app/shared/file/url.utils.mjs +0 -213
  216. package/esm2022/src/app/shared/focusable.mjs +0 -6
  217. package/esm2022/src/app/shared/form/field.component.mjs +0 -388
  218. package/esm2022/src/app/shared/form/field.model.mjs +0 -100
  219. package/esm2022/src/app/shared/form/loading-spinner.mjs +0 -35
  220. package/esm2022/src/app/shared/forms.mjs +0 -593
  221. package/esm2022/src/app/shared/functions.mjs +0 -900
  222. package/esm2022/src/app/shared/geolocation/geolocation.utils.mjs +0 -94
  223. package/esm2022/src/app/shared/gesture/gesture-config.mjs +0 -46
  224. package/esm2022/src/app/shared/gesture/hammer.utils.mjs +0 -2
  225. package/esm2022/src/app/shared/graph/colors.utils.mjs +0 -85
  226. package/esm2022/src/app/shared/graph/graph-colors.mjs +0 -214
  227. package/esm2022/src/app/shared/guard/component-dirty.guard.mjs +0 -68
  228. package/esm2022/src/app/shared/hotkeys/dialog/hotkeys-dialog.component.mjs +0 -23
  229. package/esm2022/src/app/shared/hotkeys/hotkeys.service.mjs +0 -147
  230. package/esm2022/src/app/shared/hotkeys/shared-hotkeys.module.mjs +0 -24
  231. package/esm2022/src/app/shared/html.utils.mjs +0 -35
  232. package/esm2022/src/app/shared/http/http.utils.mjs +0 -56
  233. package/esm2022/src/app/shared/image/gallery/image-gallery.component.mjs +0 -452
  234. package/esm2022/src/app/shared/image/gallery/image-gallery.module.mjs +0 -62
  235. package/esm2022/src/app/shared/image/gallery/testing/gallegry.model.testing.mjs +0 -26
  236. package/esm2022/src/app/shared/image/gallery/testing/gallery.service.testing.mjs +0 -92
  237. package/esm2022/src/app/shared/image/gallery/testing/gallery.testing.mjs +0 -37
  238. package/esm2022/src/app/shared/image/gallery/testing/gallery.testing.module.mjs +0 -59
  239. package/esm2022/src/app/shared/image/image.model.mjs +0 -2
  240. package/esm2022/src/app/shared/image/image.module.mjs +0 -24
  241. package/esm2022/src/app/shared/image/image.service.mjs +0 -118
  242. package/esm2022/src/app/shared/inputs.mjs +0 -281
  243. package/esm2022/src/app/shared/interceptors/progess.interceptor.mjs +0 -27
  244. package/esm2022/src/app/shared/logging/log-level.model.mjs +0 -48
  245. package/esm2022/src/app/shared/logging/logger.model.mjs +0 -47
  246. package/esm2022/src/app/shared/logging/logging-service.class.mjs +0 -125
  247. package/esm2022/src/app/shared/logging/logging-service.config.mjs +0 -2
  248. package/esm2022/src/app/shared/logging/logging-service.module.mjs +0 -30
  249. package/esm2022/src/app/shared/markdown/markdown.component.mjs +0 -321
  250. package/esm2022/src/app/shared/markdown/markdown.directive.mjs +0 -34
  251. package/esm2022/src/app/shared/markdown/markdown.modal.mjs +0 -99
  252. package/esm2022/src/app/shared/markdown/markdown.module.mjs +0 -87
  253. package/esm2022/src/app/shared/markdown/markdown.service.mjs +0 -204
  254. package/esm2022/src/app/shared/markdown/markdown.utils.mjs +0 -87
  255. package/esm2022/src/app/shared/markdown/testing/markdown.test.mjs +0 -55
  256. package/esm2022/src/app/shared/markdown/testing/markdown.testing.module.mjs +0 -30
  257. package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.config.mjs +0 -46
  258. package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.mjs +0 -1373
  259. package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.module.mjs +0 -81
  260. package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.utils.mjs +0 -18
  261. package/esm2022/src/app/shared/material/autocomplete/testing/autocomplete.test.mjs +0 -244
  262. package/esm2022/src/app/shared/material/badge/badge.directive.mjs +0 -251
  263. package/esm2022/src/app/shared/material/badge/badge.module.mjs +0 -20
  264. package/esm2022/src/app/shared/material/badge/badge.test.mjs +0 -42
  265. package/esm2022/src/app/shared/material/boolean/boolean.module.mjs +0 -70
  266. package/esm2022/src/app/shared/material/boolean/material.boolean.mjs +0 -374
  267. package/esm2022/src/app/shared/material/boolean/testing/boolean.test.page.mjs +0 -83
  268. package/esm2022/src/app/shared/material/chips/chips.module.mjs +0 -74
  269. package/esm2022/src/app/shared/material/chips/material.chips.mjs +0 -843
  270. package/esm2022/src/app/shared/material/chips/testing/chips.test.mjs +0 -151
  271. package/esm2022/src/app/shared/material/datetime/datetime.module.mjs +0 -79
  272. package/esm2022/src/app/shared/material/datetime/material.date.mjs +0 -474
  273. package/esm2022/src/app/shared/material/datetime/material.dateshort.mjs +0 -457
  274. package/esm2022/src/app/shared/material/datetime/material.datetime.mjs +0 -852
  275. package/esm2022/src/app/shared/material/datetime/testing/mat-date-time.test.mjs +0 -140
  276. package/esm2022/src/app/shared/material/datetime/testing/mat-date.test.mjs +0 -127
  277. package/esm2022/src/app/shared/material/datetime/testing/mat-dateshort.test.mjs +0 -118
  278. package/esm2022/src/app/shared/material/duration/duration.module.mjs +0 -61
  279. package/esm2022/src/app/shared/material/duration/duration.utils.mjs +0 -16
  280. package/esm2022/src/app/shared/material/duration/material.duration.mjs +0 -283
  281. package/esm2022/src/app/shared/material/duration/testing/mat-duration.test.mjs +0 -85
  282. package/esm2022/src/app/shared/material/latlong/latlong.utils.mjs +0 -319
  283. package/esm2022/src/app/shared/material/latlong/material.latlong-input.mjs +0 -471
  284. package/esm2022/src/app/shared/material/latlong/material.latlong.mjs +0 -231
  285. package/esm2022/src/app/shared/material/latlong/material.latlong.module.mjs +0 -68
  286. package/esm2022/src/app/shared/material/latlong/testing/latlong.test.mjs +0 -138
  287. package/esm2022/src/app/shared/material/material.animations.mjs +0 -200
  288. package/esm2022/src/app/shared/material/material.config.mjs +0 -3
  289. package/esm2022/src/app/shared/material/material.module.mjs +0 -224
  290. package/esm2022/src/app/shared/material/material.testing.module.mjs +0 -234
  291. package/esm2022/src/app/shared/material/paginator/material.paginator-i18n.mjs +0 -51
  292. package/esm2022/src/app/shared/material/stepper/material.stepper-i18n.mjs +0 -23
  293. package/esm2022/src/app/shared/material/swipe/material.swipe.mjs +0 -379
  294. package/esm2022/src/app/shared/material/swipe/swipe.module.mjs +0 -52
  295. package/esm2022/src/app/shared/material/swipe/testing/swipe.test.mjs +0 -67
  296. package/esm2022/src/app/shared/material/test/test-component.mjs +0 -264
  297. package/esm2022/src/app/shared/material/testing/common.test.mjs +0 -111
  298. package/esm2022/src/app/shared/modules.mjs +0 -12
  299. package/esm2022/src/app/shared/named-filter/named-filter-selector.component.mjs +0 -306
  300. package/esm2022/src/app/shared/named-filter/named-filter.model.mjs +0 -49
  301. package/esm2022/src/app/shared/named-filter/named-filter.module.mjs +0 -24
  302. package/esm2022/src/app/shared/named-filter/named-filter.service.mjs +0 -69
  303. package/esm2022/src/app/shared/named-filter/testing/named-filter-selector.testing.mjs +0 -74
  304. package/esm2022/src/app/shared/named-filter/testing/named-filter.testing.module.mjs +0 -28
  305. package/esm2022/src/app/shared/observables.mjs +0 -104
  306. package/esm2022/src/app/shared/pipes/arrays.pipe.mjs +0 -251
  307. package/esm2022/src/app/shared/pipes/badge.pipes.mjs +0 -25
  308. package/esm2022/src/app/shared/pipes/colors.pipe.mjs +0 -29
  309. package/esm2022/src/app/shared/pipes/date-diff-duration.pipe.mjs +0 -50
  310. package/esm2022/src/app/shared/pipes/date-format.pipe.mjs +0 -72
  311. package/esm2022/src/app/shared/pipes/date-from-now.pipe.mjs +0 -28
  312. package/esm2022/src/app/shared/pipes/date-from.pipe.mjs +0 -29
  313. package/esm2022/src/app/shared/pipes/dates.pipe.mjs +0 -18
  314. package/esm2022/src/app/shared/pipes/display-with.pipe.mjs +0 -23
  315. package/esm2022/src/app/shared/pipes/duration.pipe.mjs +0 -34
  316. package/esm2022/src/app/shared/pipes/file-size.pipe.mjs +0 -53
  317. package/esm2022/src/app/shared/pipes/form.pipes.mjs +0 -258
  318. package/esm2022/src/app/shared/pipes/highlight.pipe.mjs +0 -50
  319. package/esm2022/src/app/shared/pipes/html.pipes.mjs +0 -102
  320. package/esm2022/src/app/shared/pipes/latlong-format.pipe.mjs +0 -42
  321. package/esm2022/src/app/shared/pipes/maps.pipe.mjs +0 -65
  322. package/esm2022/src/app/shared/pipes/maskito.pipe.mjs +0 -67
  323. package/esm2022/src/app/shared/pipes/math.pipes.mjs +0 -77
  324. package/esm2022/src/app/shared/pipes/ng-init.pipe.mjs +0 -19
  325. package/esm2022/src/app/shared/pipes/number-format.pipe.mjs +0 -17
  326. package/esm2022/src/app/shared/pipes/observable.pipes.mjs +0 -63
  327. package/esm2022/src/app/shared/pipes/pipes.module.mjs +0 -316
  328. package/esm2022/src/app/shared/pipes/property.pipes.mjs +0 -148
  329. package/esm2022/src/app/shared/pipes/selection.pipes.mjs +0 -177
  330. package/esm2022/src/app/shared/pipes/string.pipes.mjs +0 -196
  331. package/esm2022/src/app/shared/pipes/translate-context.pipe.mjs +0 -44
  332. package/esm2022/src/app/shared/pipes/types.pipes.mjs +0 -74
  333. package/esm2022/src/app/shared/pipes/url.pipes.mjs +0 -35
  334. package/esm2022/src/app/shared/platforms.mjs +0 -81
  335. package/esm2022/src/app/shared/print/print.service.mjs +0 -305
  336. package/esm2022/src/app/shared/regexps.mjs +0 -103
  337. package/esm2022/src/app/shared/rx-state/rx-state.decorators.mjs +0 -193
  338. package/esm2022/src/app/shared/rx-state/rx-state.module.mjs +0 -19
  339. package/esm2022/src/app/shared/rx-state/rx-state.types.mjs +0 -2
  340. package/esm2022/src/app/shared/services/entity-service.class.mjs +0 -44
  341. package/esm2022/src/app/shared/services/job.utils.mjs +0 -92
  342. package/esm2022/src/app/shared/services/memory-entity-service.class.mjs +0 -362
  343. package/esm2022/src/app/shared/services/progress-bar.service.mjs +0 -31
  344. package/esm2022/src/app/shared/services/startable-observable-service.class.mjs +0 -144
  345. package/esm2022/src/app/shared/services/startable-service.class.mjs +0 -118
  346. package/esm2022/src/app/shared/services/translate-context.service.mjs +0 -107
  347. package/esm2022/src/app/shared/services/validator-service.class.mjs +0 -2
  348. package/esm2022/src/app/shared/services.mjs +0 -85
  349. package/esm2022/src/app/shared/shared-routing.module.mjs +0 -72
  350. package/esm2022/src/app/shared/shared.module.mjs +0 -229
  351. package/esm2022/src/app/shared/shared.testing.module.mjs +0 -108
  352. package/esm2022/src/app/shared/storage/storage-explorer.component.mjs +0 -281
  353. package/esm2022/src/app/shared/storage/storage-explorer.module.mjs +0 -42
  354. package/esm2022/src/app/shared/storage/storage-explorer.testing-routing.module.mjs +0 -27
  355. package/esm2022/src/app/shared/storage/storage-explorer.testing.module.mjs +0 -25
  356. package/esm2022/src/app/shared/storage/storage.service.mjs +0 -134
  357. package/esm2022/src/app/shared/storage/storage.utils.mjs +0 -13
  358. package/esm2022/src/app/shared/testing/maskito.test.mjs +0 -41
  359. package/esm2022/src/app/shared/testing/observable.test.mjs +0 -94
  360. package/esm2022/src/app/shared/testing/tests.page.mjs +0 -37
  361. package/esm2022/src/app/shared/toast/toast.testing.mjs +0 -54
  362. package/esm2022/src/app/shared/toast/toast.testing.module.mjs +0 -31
  363. package/esm2022/src/app/shared/toast/toasts.mjs +0 -134
  364. package/esm2022/src/app/shared/toolbar/modal-toolbar.mjs +0 -62
  365. package/esm2022/src/app/shared/toolbar/toolbar.mjs +0 -279
  366. package/esm2022/src/app/shared/toolbar/toolbar.module.mjs +0 -26
  367. package/esm2022/src/app/shared/types.mjs +0 -2
  368. package/esm2022/src/app/shared/upload-file/testing/upload-file.testing.mjs +0 -59
  369. package/esm2022/src/app/shared/upload-file/testing/upload-file.testing.module.mjs +0 -30
  370. package/esm2022/src/app/shared/upload-file/upload-file-popover.component.mjs +0 -114
  371. package/esm2022/src/app/shared/upload-file/upload-file.component.mjs +0 -216
  372. package/esm2022/src/app/shared/upload-file/upload-file.model.mjs +0 -26
  373. package/esm2022/src/app/shared/validator/form-error-adapter.class.mjs +0 -122
  374. package/esm2022/src/app/shared/validator/validators.mjs +0 -658
  375. package/esm2022/src/app/shared/version/versions.mjs +0 -80
  376. package/esm2022/src/app/social/config/social.config.mjs +0 -9
  377. package/esm2022/src/app/social/feed/feed.component.mjs +0 -317
  378. package/esm2022/src/app/social/feed/feed.directive.mjs +0 -151
  379. package/esm2022/src/app/social/feed/feed.model.mjs +0 -60
  380. package/esm2022/src/app/social/feed/feed.module.mjs +0 -24
  381. package/esm2022/src/app/social/feed/feed.page.mjs +0 -67
  382. package/esm2022/src/app/social/feed/feed.service.mjs +0 -222
  383. package/esm2022/src/app/social/feed/testing/feed.testing.mjs +0 -66
  384. package/esm2022/src/app/social/feed/testing/feed.testing.module.mjs +0 -23
  385. package/esm2022/src/app/social/job/job.module.mjs +0 -23
  386. package/esm2022/src/app/social/job/progression/job-progression.component.mjs +0 -38
  387. package/esm2022/src/app/social/job/progression/job-progression.icon.mjs +0 -241
  388. package/esm2022/src/app/social/job/progression/job-progression.list.mjs +0 -50
  389. package/esm2022/src/app/social/job/progression/job-progression.model.mjs +0 -29
  390. package/esm2022/src/app/social/job/progression/job-progression.service.mjs +0 -91
  391. package/esm2022/src/app/social/job/testing/job-progression.testing.mjs +0 -38
  392. package/esm2022/src/app/social/job/testing/job-progression.testing.service.mjs +0 -34
  393. package/esm2022/src/app/social/job/testing/job.testing.module.mjs +0 -22
  394. package/esm2022/src/app/social/message/message.form.mjs +0 -149
  395. package/esm2022/src/app/social/message/message.modal.mjs +0 -116
  396. package/esm2022/src/app/social/message/message.model.mjs +0 -86
  397. package/esm2022/src/app/social/message/message.module.mjs +0 -25
  398. package/esm2022/src/app/social/message/message.service.mjs +0 -198
  399. package/esm2022/src/app/social/social.errors.mjs +0 -11
  400. package/esm2022/src/app/social/social.module.mjs +0 -22
  401. package/esm2022/src/app/social/social.testing.module.mjs +0 -72
  402. package/esm2022/src/app/social/user-event/notification/user-event-notification.icon.mjs +0 -191
  403. package/esm2022/src/app/social/user-event/notification/user-event-notification.list.mjs +0 -280
  404. package/esm2022/src/app/social/user-event/notification/user-event-notification.modal.mjs +0 -84
  405. package/esm2022/src/app/social/user-event/testing/user-event.testing.mjs +0 -273
  406. package/esm2022/src/app/social/user-event/testing/user-event.testing.model.mjs +0 -129
  407. package/esm2022/src/app/social/user-event/testing/user-event.testing.module.mjs +0 -22
  408. package/esm2022/src/app/social/user-event/testing/user-event.testing.service.mjs +0 -128
  409. package/esm2022/src/app/social/user-event/user-event.model.mjs +0 -2
  410. package/esm2022/src/app/social/user-event/user-event.module.mjs +0 -24
  411. package/esm2022/src/app/social/user-event/user-event.service.mjs +0 -512
  412. package/esm2022/src/environments/environment.class.mjs +0 -69
  413. package/esm2022/src/environments/environment.loader.mjs +0 -77
  414. package/esm2022/src/environments/environment.mjs +0 -133
  415. package/esm2022/sumaris-net.ngx-components.mjs +0 -5
  416. package/index.d.ts +0 -5
  417. package/public_api.d.ts +0 -364
  418. package/src/app/admin/admin-routing.module.d.ts +0 -9
  419. package/src/app/admin/admin.module.d.ts +0 -10
  420. package/src/app/admin/users/person.filter.d.ts +0 -37
  421. package/src/app/admin/users/person.service.d.ts +0 -61
  422. package/src/app/admin/users/person.validator.d.ts +0 -23
  423. package/src/app/admin/users/users-select.modal.d.ts +0 -73
  424. package/src/app/admin/users/users.d.ts +0 -89
  425. package/src/app/admin/users/users.module.d.ts +0 -15
  426. package/src/app/admin/users/users.utils.d.ts +0 -6
  427. package/src/app/core/about/about.modal.d.ts +0 -44
  428. package/src/app/core/about/about.module.d.ts +0 -11
  429. package/src/app/core/account/account.module.d.ts +0 -18
  430. package/src/app/core/account/account.page.d.ts +0 -93
  431. package/src/app/core/account/new-token.form.d.ts +0 -30
  432. package/src/app/core/account/new-token.modal.d.ts +0 -29
  433. package/src/app/core/account/password/change-password.form.d.ts +0 -19
  434. package/src/app/core/account/password/change-password.module.d.ts +0 -11
  435. package/src/app/core/account/password/change-password.page.d.ts +0 -36
  436. package/src/app/core/account/token.table.d.ts +0 -28
  437. package/src/app/core/auth/auth.form.d.ts +0 -38
  438. package/src/app/core/auth/auth.modal.d.ts +0 -24
  439. package/src/app/core/auth/auth.module.d.ts +0 -13
  440. package/src/app/core/auth/reset-password.modal.d.ts +0 -29
  441. package/src/app/core/core.module.d.ts +0 -28
  442. package/src/app/core/core.testing.module.d.ts +0 -16
  443. package/src/app/core/form/array/form-array.d.ts +0 -147
  444. package/src/app/core/form/array/testing/form-array-test.module.d.ts +0 -12
  445. package/src/app/core/form/array/testing/form-array.test.d.ts +0 -27
  446. package/src/app/core/form/buttons/form-buttons-bar.component.d.ts +0 -38
  447. package/src/app/core/form/buttons/form-buttons-bar.module.d.ts +0 -9
  448. package/src/app/core/form/entity/editor.class.d.ts +0 -86
  449. package/src/app/core/form/entity/entity-editor-modal.class.d.ts +0 -126
  450. package/src/app/core/form/entity/entity-editor.class.d.ts +0 -211
  451. package/src/app/core/form/entity/entity-metadata.component.d.ts +0 -13
  452. package/src/app/core/form/entity/entity.module.d.ts +0 -11
  453. package/src/app/core/form/entity/tab-editor.class.d.ts +0 -66
  454. package/src/app/core/form/form-container.class.d.ts +0 -132
  455. package/src/app/core/form/form.class.d.ts +0 -148
  456. package/src/app/core/form/form.module.d.ts +0 -15
  457. package/src/app/core/form/form.utils.d.ts +0 -301
  458. package/src/app/core/form/list/list.form.d.ts +0 -83
  459. package/src/app/core/form/list/list.module.d.ts +0 -9
  460. package/src/app/core/form/properties/properties-file.service.d.ts +0 -26
  461. package/src/app/core/form/properties/properties.form.d.ts +0 -109
  462. package/src/app/core/form/properties/properties.module.d.ts +0 -18
  463. package/src/app/core/form/properties/properties.table.d.ts +0 -73
  464. package/src/app/core/form/properties/properties.utils.d.ts +0 -59
  465. package/src/app/core/form/properties/property.validator.d.ts +0 -27
  466. package/src/app/core/form/properties/testing/properties-form.test.d.ts +0 -22
  467. package/src/app/core/form/properties/testing/properties-form.testing.module.d.ts +0 -12
  468. package/src/app/core/form/text/testing/text-form.testing.d.ts +0 -19
  469. package/src/app/core/form/text/testing/text-form.testing.module.d.ts +0 -14
  470. package/src/app/core/form/text/text-form.component.d.ts +0 -66
  471. package/src/app/core/form/text/text-form.module.d.ts +0 -9
  472. package/src/app/core/form/text-popover/testing/text-popover.testing.d.ts +0 -16
  473. package/src/app/core/form/text-popover/testing/text-popover.testing.module.d.ts +0 -11
  474. package/src/app/core/form/text-popover/text-popover.component.d.ts +0 -81
  475. package/src/app/core/form/text-popover/text-popover.module.d.ts +0 -10
  476. package/src/app/core/form/username/username.form.d.ts +0 -19
  477. package/src/app/core/form/username/username.module.d.ts +0 -9
  478. package/src/app/core/graphql/graphql.module.d.ts +0 -7
  479. package/src/app/core/graphql/graphql.service.d.ts +0 -138
  480. package/src/app/core/graphql/graphql.utils.d.ts +0 -47
  481. package/src/app/core/home/home.d.ts +0 -135
  482. package/src/app/core/home/home.module.d.ts +0 -16
  483. package/src/app/core/icon/icon.component.d.ts +0 -13
  484. package/src/app/core/icon/icon.module.d.ts +0 -9
  485. package/src/app/core/install/install-upgrade-card.component.d.ts +0 -63
  486. package/src/app/core/install/install-upgrade-card.module.d.ts +0 -9
  487. package/src/app/core/menu/menu.component.d.ts +0 -69
  488. package/src/app/core/menu/menu.model.d.ts +0 -163
  489. package/src/app/core/menu/menu.module.d.ts +0 -12
  490. package/src/app/core/menu/menu.service.d.ts +0 -93
  491. package/src/app/core/menu/sub-menu-tab.directive.d.ts +0 -29
  492. package/src/app/core/menu/testing/menu-other.testing.d.ts +0 -15
  493. package/src/app/core/menu/testing/menu.testing.d.ts +0 -53
  494. package/src/app/core/menu/testing/menu.testing.module.d.ts +0 -12
  495. package/src/app/core/offline/update-offline-mode-card.component.d.ts +0 -11
  496. package/src/app/core/offline/update-offline-mode-card.module.d.ts +0 -9
  497. package/src/app/core/peer/select-peer.modal.d.ts +0 -108
  498. package/src/app/core/peer/select-peer.module.d.ts +0 -12
  499. package/src/app/core/register/register-confirm.page.d.ts +0 -24
  500. package/src/app/core/register/register.form.d.ts +0 -49
  501. package/src/app/core/register/register.modal.d.ts +0 -14
  502. package/src/app/core/register/register.module.d.ts +0 -12
  503. package/src/app/core/services/account.service.d.ts +0 -236
  504. package/src/app/core/services/auth-guard.service.d.ts +0 -17
  505. package/src/app/core/services/base-entity-service.class.d.ts +0 -134
  506. package/src/app/core/services/base-graphql-service.class.d.ts +0 -77
  507. package/src/app/core/services/base58.d.ts +0 -7
  508. package/src/app/core/services/config/core.config.d.ts +0 -52
  509. package/src/app/core/services/config.service.d.ts +0 -63
  510. package/src/app/core/services/crypto.service.d.ts +0 -45
  511. package/src/app/core/services/errors.d.ts +0 -65
  512. package/src/app/core/services/local-settings.service.d.ts +0 -130
  513. package/src/app/core/services/model/account.model.d.ts +0 -66
  514. package/src/app/core/services/model/config.model.d.ts +0 -37
  515. package/src/app/core/services/model/department.model.d.ts +0 -11
  516. package/src/app/core/services/model/entity.decorators.d.ts +0 -17
  517. package/src/app/core/services/model/entity.model.d.ts +0 -133
  518. package/src/app/core/services/model/filter.model.d.ts +0 -37
  519. package/src/app/core/services/model/history.model.d.ts +0 -20
  520. package/src/app/core/services/model/model.enum.d.ts +0 -7
  521. package/src/app/core/services/model/node-feature.model.d.ts +0 -14
  522. package/src/app/core/services/model/peer.model.d.ts +0 -35
  523. package/src/app/core/services/model/person.model.d.ts +0 -39
  524. package/src/app/core/services/model/referential.model.d.ts +0 -85
  525. package/src/app/core/services/model/settings.model.d.ts +0 -29
  526. package/src/app/core/services/model/token.model.d.ts +0 -22
  527. package/src/app/core/services/model/tree-item-entity.model.d.ts +0 -62
  528. package/src/app/core/services/network.service.d.ts +0 -184
  529. package/src/app/core/services/network.types.d.ts +0 -4
  530. package/src/app/core/services/network.utils.d.ts +0 -39
  531. package/src/app/core/services/pipes/account.pipes.d.ts +0 -15
  532. package/src/app/core/services/pipes/department-to-string.pipe.d.ts +0 -9
  533. package/src/app/core/services/pipes/person-to-string.pipe.d.ts +0 -11
  534. package/src/app/core/services/pipes/pipes.module.d.ts +0 -11
  535. package/src/app/core/services/pipes/referential-to-string.pipe.d.ts +0 -23
  536. package/src/app/core/services/pipes/usage-mode.pipes.d.ts +0 -15
  537. package/src/app/core/services/platform.service.d.ts +0 -127
  538. package/src/app/core/services/storage/entities-storage.service.d.ts +0 -108
  539. package/src/app/core/services/storage/entity-store.class.d.ts +0 -113
  540. package/src/app/core/services/testing/referential-filter.model.d.ts +0 -9
  541. package/src/app/core/services/testing/referential.validator.d.ts +0 -22
  542. package/src/app/core/services/validator/account.validator.d.ts +0 -24
  543. package/src/app/core/services/validator/base.validator.class.d.ts +0 -21
  544. package/src/app/core/services/validator/local-settings.validator.d.ts +0 -18
  545. package/src/app/core/services/validator/user-settings.validator.d.ts +0 -10
  546. package/src/app/core/services/validator/user-token.validator.d.ts +0 -13
  547. package/src/app/core/settings/settings.module.d.ts +0 -12
  548. package/src/app/core/settings/settings.page.d.ts +0 -89
  549. package/src/app/core/table/async-table.class.d.ts +0 -445
  550. package/src/app/core/table/column/actions-column.component.d.ts +0 -65
  551. package/src/app/core/table/column/nav-actions-column.component.d.ts +0 -47
  552. package/src/app/core/table/column/row-field.component.d.ts +0 -41
  553. package/src/app/core/table/entities-async-table-datasource.class.d.ts +0 -103
  554. package/src/app/core/table/entities-table-datasource.class.d.ts +0 -102
  555. package/src/app/core/table/memory-table.class.d.ts +0 -25
  556. package/src/app/core/table/table-select-columns.component.d.ts +0 -22
  557. package/src/app/core/table/table.class.d.ts +0 -427
  558. package/src/app/core/table/table.model.d.ts +0 -31
  559. package/src/app/core/table/table.module.d.ts +0 -14
  560. package/src/app/core/table/table.pipes.d.ts +0 -30
  561. package/src/app/core/table/table.utils.d.ts +0 -13
  562. package/src/app/core/table/testing/nested-table.testing.d.ts +0 -54
  563. package/src/app/core/table/testing/table-validator.service.d.ts +0 -17
  564. package/src/app/core/table/testing/table.testing.d.ts +0 -55
  565. package/src/app/core/table/testing/table.testing.module.d.ts +0 -17
  566. package/src/app/core/table/testing/table2-validator.service.d.ts +0 -15
  567. package/src/app/core/table/testing/table2.testing.d.ts +0 -53
  568. package/src/app/shared/alerts.d.ts +0 -55
  569. package/src/app/shared/audio/audio.d.ts +0 -45
  570. package/src/app/shared/audio/audio.testing.d.ts +0 -13
  571. package/src/app/shared/audio/audio.testing.module.d.ts +0 -11
  572. package/src/app/shared/base64.utils.d.ts +0 -7
  573. package/src/app/shared/capacitor/keyboard.d.ts +0 -16
  574. package/src/app/shared/capacitor/plugins.d.ts +0 -8
  575. package/src/app/shared/constants.d.ts +0 -16
  576. package/src/app/shared/dates.d.ts +0 -85
  577. package/src/app/shared/debug/debug-service.class.d.ts +0 -5
  578. package/src/app/shared/debug/debug.component.d.ts +0 -14
  579. package/src/app/shared/debug/debug.module.d.ts +0 -12
  580. package/src/app/shared/directives/autofocus.directive.d.ts +0 -18
  581. package/src/app/shared/directives/autoresize.directive.d.ts +0 -20
  582. package/src/app/shared/directives/autotitle.directive.d.ts +0 -11
  583. package/src/app/shared/directives/autotooltip.directive.d.ts +0 -14
  584. package/src/app/shared/directives/cell-selection/cell-identifier.directive.d.ts +0 -17
  585. package/src/app/shared/directives/cell-selection/cell-selection.directive.d.ts +0 -29
  586. package/src/app/shared/directives/cell-selection/cell-selection.service.d.ts +0 -67
  587. package/src/app/shared/directives/directives.module.d.ts +0 -15
  588. package/src/app/shared/directives/drag-and-drop.directive.d.ts +0 -17
  589. package/src/app/shared/directives/ng-var.directive.d.ts +0 -12
  590. package/src/app/shared/directives/resizable/resizable.component.d.ts +0 -21
  591. package/src/app/shared/directives/resizable/resizable.directive.d.ts +0 -24
  592. package/src/app/shared/directives/resizable/resizable.module.d.ts +0 -8
  593. package/src/app/shared/directives/throttled-click.directive.d.ts +0 -16
  594. package/src/app/shared/events.d.ts +0 -29
  595. package/src/app/shared/file/csv.utils.d.ts +0 -30
  596. package/src/app/shared/file/file.service.d.ts +0 -23
  597. package/src/app/shared/file/file.utils.d.ts +0 -20
  598. package/src/app/shared/file/images.utils.d.ts +0 -42
  599. package/src/app/shared/file/json.utils.d.ts +0 -19
  600. package/src/app/shared/file/uri.utils.d.ts +0 -8
  601. package/src/app/shared/file/url.utils.d.ts +0 -108
  602. package/src/app/shared/focusable.d.ts +0 -4
  603. package/src/app/shared/form/field.component.d.ts +0 -83
  604. package/src/app/shared/form/field.model.d.ts +0 -88
  605. package/src/app/shared/form/loading-spinner.d.ts +0 -8
  606. package/src/app/shared/forms.d.ts +0 -170
  607. package/src/app/shared/functions.d.ts +0 -325
  608. package/src/app/shared/geolocation/geolocation.utils.d.ts +0 -25
  609. package/src/app/shared/gesture/gesture-config.d.ts +0 -15
  610. package/src/app/shared/gesture/hammer.utils.d.ts +0 -16
  611. package/src/app/shared/graph/colors.utils.d.ts +0 -34
  612. package/src/app/shared/graph/graph-colors.d.ts +0 -63
  613. package/src/app/shared/guard/component-dirty.guard.d.ts +0 -14
  614. package/src/app/shared/hotkeys/dialog/hotkeys-dialog.component.d.ts +0 -8
  615. package/src/app/shared/hotkeys/hotkeys.service.d.ts +0 -48
  616. package/src/app/shared/hotkeys/shared-hotkeys.module.d.ts +0 -11
  617. package/src/app/shared/html.utils.d.ts +0 -17
  618. package/src/app/shared/http/http.utils.d.ts +0 -28
  619. package/src/app/shared/image/gallery/image-gallery.component.d.ts +0 -139
  620. package/src/app/shared/image/gallery/image-gallery.module.d.ts +0 -15
  621. package/src/app/shared/image/gallery/testing/gallegry.model.testing.d.ts +0 -12
  622. package/src/app/shared/image/gallery/testing/gallery.service.testing.d.ts +0 -33
  623. package/src/app/shared/image/gallery/testing/gallery.testing.d.ts +0 -16
  624. package/src/app/shared/image/gallery/testing/gallery.testing.module.d.ts +0 -13
  625. package/src/app/shared/image/image.model.d.ts +0 -7
  626. package/src/app/shared/image/image.module.d.ts +0 -8
  627. package/src/app/shared/image/image.service.d.ts +0 -39
  628. package/src/app/shared/inputs.d.ts +0 -37
  629. package/src/app/shared/interceptors/progess.interceptor.d.ts +0 -8
  630. package/src/app/shared/logging/log-level.model.d.ts +0 -38
  631. package/src/app/shared/logging/logger.model.d.ts +0 -68
  632. package/src/app/shared/logging/logging-service.class.d.ts +0 -39
  633. package/src/app/shared/logging/logging-service.config.d.ts +0 -25
  634. package/src/app/shared/logging/logging-service.module.d.ts +0 -9
  635. package/src/app/shared/markdown/markdown.component.d.ts +0 -86
  636. package/src/app/shared/markdown/markdown.directive.d.ts +0 -13
  637. package/src/app/shared/markdown/markdown.modal.d.ts +0 -49
  638. package/src/app/shared/markdown/markdown.module.d.ts +0 -17
  639. package/src/app/shared/markdown/markdown.service.d.ts +0 -37
  640. package/src/app/shared/markdown/markdown.utils.d.ts +0 -26
  641. package/src/app/shared/markdown/testing/markdown.test.d.ts +0 -18
  642. package/src/app/shared/markdown/testing/markdown.testing.module.d.ts +0 -12
  643. package/src/app/shared/material/autocomplete/material.autocomplete.config.d.ts +0 -74
  644. package/src/app/shared/material/autocomplete/material.autocomplete.d.ts +0 -231
  645. package/src/app/shared/material/autocomplete/material.autocomplete.module.d.ts +0 -23
  646. package/src/app/shared/material/autocomplete/material.autocomplete.utils.d.ts +0 -5
  647. package/src/app/shared/material/autocomplete/testing/autocomplete.test.d.ts +0 -48
  648. package/src/app/shared/material/badge/badge.directive.d.ts +0 -43
  649. package/src/app/shared/material/badge/badge.module.d.ts +0 -10
  650. package/src/app/shared/material/badge/badge.test.d.ts +0 -21
  651. package/src/app/shared/material/boolean/boolean.module.d.ts +0 -21
  652. package/src/app/shared/material/boolean/material.boolean.d.ts +0 -94
  653. package/src/app/shared/material/boolean/testing/boolean.test.page.d.ts +0 -31
  654. package/src/app/shared/material/chips/chips.module.d.ts +0 -22
  655. package/src/app/shared/material/chips/material.chips.d.ts +0 -167
  656. package/src/app/shared/material/chips/testing/chips.test.d.ts +0 -32
  657. package/src/app/shared/material/datetime/datetime.module.d.ts +0 -25
  658. package/src/app/shared/material/datetime/material.date.d.ts +0 -90
  659. package/src/app/shared/material/datetime/material.dateshort.d.ts +0 -89
  660. package/src/app/shared/material/datetime/material.datetime.d.ts +0 -136
  661. package/src/app/shared/material/datetime/testing/mat-date-time.test.d.ts +0 -38
  662. package/src/app/shared/material/datetime/testing/mat-date.test.d.ts +0 -32
  663. package/src/app/shared/material/datetime/testing/mat-dateshort.test.d.ts +0 -31
  664. package/src/app/shared/material/duration/duration.module.d.ts +0 -18
  665. package/src/app/shared/material/duration/duration.utils.d.ts +0 -2
  666. package/src/app/shared/material/duration/material.duration.d.ts +0 -64
  667. package/src/app/shared/material/duration/testing/mat-duration.test.d.ts +0 -23
  668. package/src/app/shared/material/latlong/latlong.utils.d.ts +0 -59
  669. package/src/app/shared/material/latlong/material.latlong-input.d.ts +0 -93
  670. package/src/app/shared/material/latlong/material.latlong.d.ts +0 -90
  671. package/src/app/shared/material/latlong/material.latlong.module.d.ts +0 -21
  672. package/src/app/shared/material/latlong/testing/latlong.test.d.ts +0 -30
  673. package/src/app/shared/material/material.animations.d.ts +0 -8
  674. package/src/app/shared/material/material.config.d.ts +0 -3
  675. package/src/app/shared/material/material.module.d.ts +0 -44
  676. package/src/app/shared/material/material.testing.module.d.ts +0 -31
  677. package/src/app/shared/material/paginator/material.paginator-i18n.d.ts +0 -12
  678. package/src/app/shared/material/stepper/material.stepper-i18n.d.ts +0 -10
  679. package/src/app/shared/material/swipe/material.swipe.d.ts +0 -89
  680. package/src/app/shared/material/swipe/swipe.module.d.ts +0 -16
  681. package/src/app/shared/material/swipe/testing/swipe.test.d.ts +0 -22
  682. package/src/app/shared/material/test/test-component.d.ts +0 -75
  683. package/src/app/shared/material/testing/common.test.d.ts +0 -25
  684. package/src/app/shared/modules.d.ts +0 -9
  685. package/src/app/shared/named-filter/named-filter-selector.component.d.ts +0 -63
  686. package/src/app/shared/named-filter/named-filter.model.d.ts +0 -32
  687. package/src/app/shared/named-filter/named-filter.module.d.ts +0 -13
  688. package/src/app/shared/named-filter/named-filter.service.d.ts +0 -32
  689. package/src/app/shared/named-filter/testing/named-filter-selector.testing.d.ts +0 -34
  690. package/src/app/shared/named-filter/testing/named-filter.testing.module.d.ts +0 -10
  691. package/src/app/shared/observables.d.ts +0 -32
  692. package/src/app/shared/pipes/arrays.pipe.d.ts +0 -93
  693. package/src/app/shared/pipes/badge.pipes.d.ts +0 -7
  694. package/src/app/shared/pipes/colors.pipe.d.ts +0 -9
  695. package/src/app/shared/pipes/date-diff-duration.pipe.d.ts +0 -25
  696. package/src/app/shared/pipes/date-format.pipe.d.ts +0 -35
  697. package/src/app/shared/pipes/date-from-now.pipe.d.ts +0 -14
  698. package/src/app/shared/pipes/date-from.pipe.d.ts +0 -14
  699. package/src/app/shared/pipes/dates.pipe.d.ts +0 -10
  700. package/src/app/shared/pipes/display-with.pipe.d.ts +0 -8
  701. package/src/app/shared/pipes/duration.pipe.d.ts +0 -23
  702. package/src/app/shared/pipes/file-size.pipe.d.ts +0 -30
  703. package/src/app/shared/pipes/form.pipes.d.ts +0 -84
  704. package/src/app/shared/pipes/highlight.pipe.d.ts +0 -11
  705. package/src/app/shared/pipes/html.pipes.d.ts +0 -50
  706. package/src/app/shared/pipes/latlong-format.pipe.d.ts +0 -20
  707. package/src/app/shared/pipes/maps.pipe.d.ts +0 -23
  708. package/src/app/shared/pipes/maskito.pipe.d.ts +0 -14
  709. package/src/app/shared/pipes/math.pipes.d.ts +0 -26
  710. package/src/app/shared/pipes/ng-init.pipe.d.ts +0 -8
  711. package/src/app/shared/pipes/number-format.pipe.d.ts +0 -9
  712. package/src/app/shared/pipes/observable.pipes.d.ts +0 -25
  713. package/src/app/shared/pipes/pipes.module.d.ts +0 -36
  714. package/src/app/shared/pipes/property.pipes.d.ts +0 -46
  715. package/src/app/shared/pipes/selection.pipes.d.ts +0 -62
  716. package/src/app/shared/pipes/string.pipes.d.ts +0 -72
  717. package/src/app/shared/pipes/translate-context.pipe.d.ts +0 -17
  718. package/src/app/shared/pipes/types.pipes.d.ts +0 -30
  719. package/src/app/shared/pipes/url.pipes.d.ts +0 -27
  720. package/src/app/shared/platforms.d.ts +0 -16
  721. package/src/app/shared/print/print.service.d.ts +0 -94
  722. package/src/app/shared/regexps.d.ts +0 -32
  723. package/src/app/shared/rx-state/rx-state.decorators.d.ts +0 -33
  724. package/src/app/shared/rx-state/rx-state.module.d.ts +0 -10
  725. package/src/app/shared/rx-state/rx-state.types.d.ts +0 -5
  726. package/src/app/shared/services/entity-service.class.d.ts +0 -117
  727. package/src/app/shared/services/job.utils.d.ts +0 -20
  728. package/src/app/shared/services/memory-entity-service.class.d.ts +0 -87
  729. package/src/app/shared/services/progress-bar.service.d.ts +0 -20
  730. package/src/app/shared/services/startable-observable-service.class.d.ts +0 -51
  731. package/src/app/shared/services/startable-service.class.d.ts +0 -38
  732. package/src/app/shared/services/translate-context.service.d.ts +0 -29
  733. package/src/app/shared/services/validator-service.class.d.ts +0 -11
  734. package/src/app/shared/services.d.ts +0 -17
  735. package/src/app/shared/shared-routing.module.d.ts +0 -23
  736. package/src/app/shared/shared.module.d.ts +0 -33
  737. package/src/app/shared/shared.testing.module.d.ts +0 -20
  738. package/src/app/shared/storage/storage-explorer.component.d.ts +0 -60
  739. package/src/app/shared/storage/storage-explorer.module.d.ts +0 -13
  740. package/src/app/shared/storage/storage-explorer.testing-routing.module.d.ts +0 -9
  741. package/src/app/shared/storage/storage-explorer.testing.module.d.ts +0 -10
  742. package/src/app/shared/storage/storage.service.d.ts +0 -22
  743. package/src/app/shared/storage/storage.utils.d.ts +0 -19
  744. package/src/app/shared/testing/maskito.test.d.ts +0 -10
  745. package/src/app/shared/testing/observable.test.d.ts +0 -25
  746. package/src/app/shared/testing/tests.page.d.ts +0 -20
  747. package/src/app/shared/toast/toast.testing.d.ts +0 -15
  748. package/src/app/shared/toast/toast.testing.module.d.ts +0 -12
  749. package/src/app/shared/toast/toasts.d.ts +0 -16
  750. package/src/app/shared/toolbar/modal-toolbar.d.ts +0 -21
  751. package/src/app/shared/toolbar/toolbar.d.ts +0 -72
  752. package/src/app/shared/toolbar/toolbar.module.d.ts +0 -16
  753. package/src/app/shared/types.d.ts +0 -45
  754. package/src/app/shared/upload-file/testing/upload-file.testing.d.ts +0 -21
  755. package/src/app/shared/upload-file/testing/upload-file.testing.module.d.ts +0 -11
  756. package/src/app/shared/upload-file/upload-file-popover.component.d.ts +0 -49
  757. package/src/app/shared/upload-file/upload-file.component.d.ts +0 -50
  758. package/src/app/shared/upload-file/upload-file.model.d.ts +0 -30
  759. package/src/app/shared/validator/form-error-adapter.class.d.ts +0 -33
  760. package/src/app/shared/validator/validators.d.ts +0 -145
  761. package/src/app/shared/version/versions.d.ts +0 -14
  762. package/src/app/social/config/social.config.d.ts +0 -4
  763. package/src/app/social/feed/feed.component.d.ts +0 -91
  764. package/src/app/social/feed/feed.directive.d.ts +0 -32
  765. package/src/app/social/feed/feed.model.d.ts +0 -69
  766. package/src/app/social/feed/feed.module.d.ts +0 -13
  767. package/src/app/social/feed/feed.page.d.ts +0 -24
  768. package/src/app/social/feed/feed.service.d.ts +0 -85
  769. package/src/app/social/feed/testing/feed.testing.d.ts +0 -23
  770. package/src/app/social/feed/testing/feed.testing.module.d.ts +0 -12
  771. package/src/app/social/job/job.module.d.ts +0 -12
  772. package/src/app/social/job/progression/job-progression.component.d.ts +0 -24
  773. package/src/app/social/job/progression/job-progression.icon.d.ts +0 -63
  774. package/src/app/social/job/progression/job-progression.list.d.ts +0 -20
  775. package/src/app/social/job/progression/job-progression.model.d.ts +0 -10
  776. package/src/app/social/job/progression/job-progression.service.d.ts +0 -33
  777. package/src/app/social/job/testing/job-progression.testing.d.ts +0 -13
  778. package/src/app/social/job/testing/job-progression.testing.service.d.ts +0 -9
  779. package/src/app/social/job/testing/job.testing.module.d.ts +0 -11
  780. package/src/app/social/message/message.form.d.ts +0 -36
  781. package/src/app/social/message/message.modal.d.ts +0 -47
  782. package/src/app/social/message/message.model.d.ts +0 -36
  783. package/src/app/social/message/message.module.d.ts +0 -14
  784. package/src/app/social/message/message.service.d.ts +0 -44
  785. package/src/app/social/social.errors.d.ts +0 -10
  786. package/src/app/social/social.module.d.ts +0 -20
  787. package/src/app/social/social.testing.module.d.ts +0 -14
  788. package/src/app/social/user-event/notification/user-event-notification.icon.d.ts +0 -47
  789. package/src/app/social/user-event/notification/user-event-notification.list.d.ts +0 -77
  790. package/src/app/social/user-event/notification/user-event-notification.modal.d.ts +0 -37
  791. package/src/app/social/user-event/testing/user-event.testing.d.ts +0 -44
  792. package/src/app/social/user-event/testing/user-event.testing.model.d.ts +0 -42
  793. package/src/app/social/user-event/testing/user-event.testing.module.d.ts +0 -11
  794. package/src/app/social/user-event/testing/user-event.testing.service.d.ts +0 -41
  795. package/src/app/social/user-event/user-event.model.d.ts +0 -44
  796. package/src/app/social/user-event/user-event.module.d.ts +0 -14
  797. package/src/app/social/user-event/user-event.service.d.ts +0 -124
  798. package/src/environments/environment.class.d.ts +0 -86
  799. package/src/environments/environment.d.ts +0 -2
  800. package/src/environments/environment.loader.d.ts +0 -24
  801. package/src/theme/_globals.scss +0 -5
@@ -1,85 +0,0 @@
1
- import { Moment } from 'moment';
2
- import { Entity, EntityAsObjectOptions, IEntity } from './entity.model';
3
- import { IconRef } from '../../../shared/types';
4
- export declare function referentialToString(obj: Referential | any, properties?: string[], separator?: string): string | undefined;
5
- export declare function referentialsToString(values: Referential[], properties?: string[], valueSeparator?: string, propertySeparator?: string): string;
6
- export declare interface IStatus {
7
- id: number;
8
- icon?: string;
9
- label: string;
10
- }
11
- export declare const StatusList: Readonly<IStatus[]>;
12
- export declare const StatusById: Readonly<import("../../../shared/types").KeyValueType<IStatus>>;
13
- export declare interface IReferentialRef<T extends IEntity<T, ID> = IEntity<any, any>, ID = number> extends IEntity<T, ID> {
14
- label: string;
15
- name: string;
16
- description?: string;
17
- levelId?: number;
18
- statusId: number;
19
- entityName: string;
20
- icon?: IconRef;
21
- }
22
- export declare abstract class BaseReferential<T extends BaseReferential<T, ID, AO>, ID = number, AO extends ReferentialAsObjectOptions = ReferentialAsObjectOptions, FO = any> extends Entity<T, ID, AO, FO> implements IReferentialRef<T, ID> {
23
- label: string;
24
- name: string;
25
- description: string;
26
- comments: string;
27
- creationDate: Date | Moment;
28
- statusId: number;
29
- validityStatusId: number;
30
- levelId: number;
31
- parentId: number;
32
- entityName: string;
33
- icon?: IconRef;
34
- protected constructor(__typename?: string);
35
- asObject(opts?: AO): any;
36
- fromObject(source: any, opts?: FO): void;
37
- equals(other: T): boolean;
38
- }
39
- export declare class Referential<T extends Referential<T, any> = Referential<any>, ID = number> extends BaseReferential<T, ID> {
40
- static fromObject: (source: any, opts?: any) => Referential;
41
- properties?: {
42
- [key: string]: any;
43
- };
44
- constructor();
45
- fromObject(source: any, opts?: any): void;
46
- asObject(opts?: ReferentialAsObjectOptions): any;
47
- }
48
- export declare class ReferentialUtils {
49
- static fromObject(source: any, opts?: any): Referential;
50
- static isNotEmpty<T extends IReferentialRef<T>>(obj: T | any): boolean;
51
- static isEmpty<T extends IReferentialRef<T>>(obj: T | any): boolean;
52
- static equals<T extends IReferentialRef<T>>(o1: T | any, o2: T | any): boolean;
53
- static isNotDisabled<T extends IReferentialRef<T>>(obj: T | any): boolean;
54
- static isDisabled<T extends IReferentialRef<T>>(obj: T | any): boolean;
55
- }
56
- export interface ReferentialAsObjectOptions extends EntityAsObjectOptions {
57
- keepEntityName?: boolean;
58
- keepIcon?: boolean;
59
- keepProperties?: boolean;
60
- }
61
- /**
62
- * Used to store an entity locally
63
- */
64
- export declare const MINIFY_ENTITY_FOR_LOCAL_STORAGE: ReferentialAsObjectOptions;
65
- /**
66
- * Used to send an entity to a pod
67
- */
68
- export declare const MINIFY_ENTITY_FOR_POD: ReferentialAsObjectOptions;
69
- export declare class ReferentialRef<T extends ReferentialRef<any, ID> = ReferentialRef<any, any>, ID = number, O extends ReferentialAsObjectOptions = ReferentialAsObjectOptions, FO = any> extends Entity<T, ID, O, FO> implements IReferentialRef<T, ID> {
70
- static fromObject: (source: any, opts?: any) => ReferentialRef;
71
- static clone(source: any): ReferentialRef;
72
- label: string;
73
- name: string;
74
- description: string;
75
- statusId: number;
76
- levelId: number;
77
- entityName: string;
78
- icon?: IconRef;
79
- properties?: {
80
- [key: string]: any;
81
- };
82
- constructor();
83
- asObject(opts?: O): any;
84
- fromObject(source: any, opts?: FO): void;
85
- }
@@ -1,29 +0,0 @@
1
- import { Property, PropertyMap } from '../../../shared/types';
2
- import { InjectionToken } from '@angular/core';
3
- import { HistoryPageReference } from './history.model';
4
- export type UsageMode = 'DESK' | 'FIELD';
5
- export declare function isOnFieldMode(value: UsageMode): value is 'FIELD';
6
- export declare interface LocaleConfig extends Property {
7
- country?: string;
8
- }
9
- export declare const APP_LOCALES: InjectionToken<LocaleConfig[]>;
10
- export declare interface OfflineFeature<F = any> {
11
- name: string;
12
- lastSyncDate?: string;
13
- filter?: F;
14
- }
15
- export declare interface LocalSettings {
16
- pages?: any;
17
- peerUrl?: string;
18
- latLongFormat: 'DDMMSS' | 'DDMM' | 'DD';
19
- accountInheritance?: boolean;
20
- locale: string;
21
- usageMode?: UsageMode;
22
- mobile?: boolean;
23
- properties?: PropertyMap | Property[];
24
- pageHistory?: HistoryPageReference[];
25
- offlineFeatures?: (string | OfflineFeature)[];
26
- pageHistoryMaxSize: number;
27
- darkMode?: boolean;
28
- autoDarkMode?: boolean;
29
- }
@@ -1,22 +0,0 @@
1
- import { Entity, EntityAsObjectOptions } from './entity.model';
2
- import { Moment } from 'moment/moment';
3
- export declare class TokenScope {
4
- id: string;
5
- flag: number;
6
- name: string;
7
- }
8
- export declare class UserToken extends Entity<UserToken> {
9
- static fromObject: (source: any, opts?: any) => UserToken;
10
- static equals(t1: UserToken, t2: UserToken): boolean;
11
- pubkey: string;
12
- token: string;
13
- name: string;
14
- flags: number;
15
- scopes: TokenScope[];
16
- expirationDate: Moment;
17
- lastUsedDate: Moment;
18
- creationDate: Moment;
19
- constructor();
20
- asObject(opts?: EntityAsObjectOptions): any;
21
- fromObject(source: any, opts?: any): void;
22
- }
@@ -1,62 +0,0 @@
1
- import { IEntity } from './entity.model';
2
- import { EntityFilter } from './filter.model';
3
- import { FilterFn } from '../../../shared/types';
4
- export declare interface ITreeItemEntity<T extends IEntity<T, ID>, ID = number> {
5
- parentId: ID;
6
- parent: T;
7
- children: T[];
8
- }
9
- export declare class TreeItemEntityUtils {
10
- static forward<T extends ITreeItemEntity<any>>(node: T, filterFn?: FilterFn<T>, loopCount?: number): T;
11
- static backward<T extends ITreeItemEntity<any>, ID = number>(node: T, filterFn?: FilterFn<T>, loopCount?: number): T;
12
- static first<T extends ITreeItemEntity<any>>(node: T, filterFn?: FilterFn<T>): T;
13
- static lastLeaf<T extends ITreeItemEntity<any>>(node: T, filterFn?: FilterFn<T>): T;
14
- static findByFilter<T extends ITreeItemEntity<T> & IEntity<T>>(node: T, filter: EntityFilter<any, T>): T[];
15
- static findById<T extends ITreeItemEntity<T, ID> & IEntity<T, ID>, ID = number>(node: T, id: ID): T | undefined;
16
- /**
17
- * Delete matches batches
18
- *
19
- * @param node
20
- * @param filter
21
- */
22
- static deleteByFilter<T extends ITreeItemEntity<T> & IEntity<T>>(node: T, filter: EntityFilter<any, T>): T[];
23
- static filterRecursively<T extends ITreeItemEntity<any>>(node: T, filterFn: (n: T) => boolean): T[];
24
- static deleteRecursively<T extends ITreeItemEntity<any>>(node: T, filterFn: (n: T) => boolean): T[];
25
- /**
26
- * Visit each node, from root to leaf
27
- *
28
- * @param node
29
- * @param action
30
- */
31
- static visit<T extends ITreeItemEntity<any>>(node: T, action: (item: T) => void): void;
32
- /**
33
- * Visit each node, from leaf to root
34
- *
35
- * @param node
36
- * @param action
37
- */
38
- static visitInverse<T extends ITreeItemEntity<any>>(node: T, action: (T: any) => void): void;
39
- /**
40
- * Transform a batch entity tree into a array list. This method keep links parent/children.
41
- *
42
- * Method used to find batch without id (e.g. before local storage)
43
- *
44
- * @param source
45
- */
46
- static treeToArray<T extends ITreeItemEntity<any>>(source: T): T[];
47
- static listOfTreeToArray<T extends ITreeItemEntity<any>>(sources: T[]): T[];
48
- /**
49
- * Fill parent attribute, of all children found in the tree
50
- *
51
- * @param source
52
- */
53
- static treeFillParent<T extends ITreeItemEntity<any>>(source: T): any;
54
- /**
55
- * Converts an array of objects into a tree hierarchy based on parent-child relationships.
56
- *
57
- * @param {T[]} sources - The array of source objects to be converted into tree structure.
58
- * @param {new () => T} [dataType] - An optional class constructor used to shape the objects within the tree.
59
- * @return {T[] | undefined} An array of root elements representing the tree structure, or undefined if the input is empty.
60
- */
61
- static fromObjectArrayAsTrees<T extends ITreeItemEntity<T> & IEntity<T>>(sources: T[], dataType?: new () => T): T[];
62
- }
@@ -1,184 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { TranslateService } from '@ngx-translate/core';
3
- import { Storage } from '@ionic/storage-angular';
4
- import { Peer } from './model/peer.model';
5
- import { ModalController, Platform, ToastController } from '@ionic/angular';
6
- import { ISelectPeerModalOptions } from '../peer/select-peer.modal';
7
- import { BehaviorSubject, Observable, Subscription } from 'rxjs';
8
- import { ConnectionType } from '@capacitor/network';
9
- import { LocalSettingsService } from './local-settings.service';
10
- import { HttpClient, HttpHeaders } from '@angular/common/http';
11
- import { CacheService } from 'ionic-cache';
12
- import { ShowToastOptions } from '../../shared/toast/toasts';
13
- import { OverlayEventDetail } from '@ionic/core';
14
- import { AppManifest, NodeInfo } from './network.utils';
15
- import { Environment } from '../../../environments/environment.class';
16
- import { StartableObservableService } from '../../shared/services/startable-observable-service.class';
17
- import { NetworkEventType } from './network.types';
18
- import { ILoggingService } from '../../shared/logging/logger.model';
19
- import * as i0 from "@angular/core";
20
- export interface ConnectionParams extends Record<string, string> {
21
- authToken?: string;
22
- authBasic?: string;
23
- }
24
- export declare const PEER_URL_REGEXP: RegExp;
25
- export declare const NETWORK_DEFAULT_CONNECTION_TIMEOUT = 10000;
26
- export declare class NetworkService extends StartableObservableService<Peer, Peer> {
27
- private _document;
28
- private modalCtrl;
29
- private storage;
30
- private settings;
31
- private cache;
32
- private http;
33
- protected environment: Environment;
34
- private loggingService;
35
- private translate;
36
- private toastController;
37
- onPeerChanges: Observable<string>;
38
- onNetworkStatusChanges: BehaviorSubject<ConnectionType>;
39
- onResetNetworkCache: EventEmitter<any>;
40
- private readonly _mobile;
41
- private readonly _logger;
42
- private _timerSubscription;
43
- private readonly _timerRefreshPeriod;
44
- private readonly _timerRefreshCondition;
45
- private _deviceConnectionType;
46
- private _forceOffline;
47
- private readonly _connectionTimeout;
48
- private readonly _connectionParams;
49
- private _listeners;
50
- get online(): boolean;
51
- get offline(): boolean;
52
- get forceOffline(): boolean;
53
- get connectionType(): ConnectionType;
54
- get peer(): Peer;
55
- set peer(peer: Peer);
56
- get connectionTimeout(): number;
57
- get connectionParams(): ConnectionParams;
58
- get peer$(): Observable<Peer>;
59
- constructor(_document: any, platform: Platform, modalCtrl: ModalController, storage: Storage, settings: LocalSettingsService, cache: CacheService, http: HttpClient, environment: Environment, loggingService: ILoggingService, translate: TranslateService, toastController: ToastController);
60
- /**
61
- * Register to network event
62
- *
63
- * @param eventType
64
- * @param callback
65
- */
66
- on<T = any>(eventType: NetworkEventType, callback: (data?: T) => Promise<any>): Subscription;
67
- tryOnline(opts?: {
68
- showOfflineToast?: boolean;
69
- showOnlineToast?: boolean;
70
- showLoadingToast?: boolean;
71
- afterRetryDelay?: number;
72
- afterRetryPromise?: () => Promise<any>;
73
- }): Promise<boolean>;
74
- showOfflineToast(opts?: {
75
- message?: string;
76
- showCloseButton?: boolean;
77
- showRetryButton?: boolean;
78
- showRetrySuccessToast?: boolean;
79
- showRetryLoadingToast?: boolean;
80
- onRetrySuccess?: () => void;
81
- }): Promise<boolean>;
82
- /**
83
- * Check if the peer is alive
84
- *
85
- * @param peer
86
- */
87
- checkPeerAlive(peer?: string | Peer): Promise<NodeInfo>;
88
- /**
89
- * Checks whether a peer is compatible based on its software version and the required minimum version.
90
- * Optionally displays a toast notification if the peer is not compatible.
91
- *
92
- * @param {NodeInfo} peerInfo - Information about the peer, including its software version.
93
- * @param {Object} [opts] - Additional options for the compatibility check.
94
- * @param {boolean} [opts.showToast] - Whether to show a toast notification if the peer is not compatible. Defaults to true.
95
- * @return {Promise<boolean>} - A promise that resolves to `true` if the peer is compatible, otherwise `false`.
96
- */
97
- checkPeerCompatible(peerInfo: NodeInfo, opts?: {
98
- showToast?: boolean;
99
- }): Promise<boolean>;
100
- getNodeInfo(peer?: string | Peer, opts?: {
101
- nocache?: boolean;
102
- timeout?: number;
103
- }): Promise<NodeInfo>;
104
- getAppManifest(peer?: string | Peer, opts?: {
105
- nocache?: boolean;
106
- }): Promise<AppManifest | undefined>;
107
- getAppVersion(peer?: string | Peer, opts?: {
108
- nocache: boolean;
109
- }): Promise<string | undefined>;
110
- computePeerPath(peer: string | Peer | undefined, path: string): string | undefined;
111
- /**
112
- * Allow to force offline mode
113
- */
114
- setForceOffline(value?: boolean, opts?: {
115
- showToast?: boolean;
116
- }): void;
117
- showSelectPeerModal(opts?: Partial<ISelectPeerModalOptions>): Promise<Peer | undefined>;
118
- clearCache(opts?: {
119
- emitEvent?: boolean;
120
- }): Promise<void>;
121
- /**
122
- * Sends a GET request to the specified path and returns a promise of the response.
123
- *
124
- * @param {string} path The endpoint path to send the GET request to.
125
- * @param {Object} [opts] Optional parameters for the GET request.
126
- * @param {HttpHeaders | Object} [opts.headers] Headers to include in the request. Can be an instance of HttpHeaders or an object with header key-value pairs.
127
- * @param {'json'} [opts.responseType] The type of response expected. Defaults to 'json'.
128
- * @param {boolean} [opts.nocache] If true, indicates that the response should not be cached.
129
- * @param {number} [opts.timeout] The timeout for the request in milliseconds.
130
- * @return {Promise<T>} A promise that resolves with the response of type T.
131
- */
132
- get<T>(path: string, opts?: {
133
- headers?: HttpHeaders | {
134
- [header: string]: string | string[];
135
- };
136
- responseType?: 'json';
137
- nocache?: boolean;
138
- timeout?: number;
139
- }): Promise<T>;
140
- setAuthToken(token: string): Promise<void>;
141
- setAuthBasic(basic: string): Promise<void>;
142
- protected ngOnStart(peer?: Peer): Promise<Peer>;
143
- protected ngOnAfterStart(peer: Peer): Promise<void>;
144
- protected ngOnStop(): void;
145
- /**
146
- * Try to restore peer from the local storage
147
- */
148
- protected restoreLocally(): Promise<Peer | undefined>;
149
- /**
150
- * Stop to network state
151
- *
152
- * @protected
153
- */
154
- protected stopRefreshTimer(): void;
155
- /**
156
- * Refresh the network state
157
- *
158
- * @protected
159
- */
160
- protected startRefreshTimer(): void;
161
- protected getText(path: string, opts?: {
162
- headers?: HttpHeaders | {
163
- [header: string]: string | string[];
164
- };
165
- responseType?: 'text';
166
- nocache?: boolean;
167
- }): Promise<string>;
168
- protected addAppHeaders<T extends {
169
- headers?: HttpHeaders | {
170
- [header: string]: string | string[];
171
- };
172
- }>(opts?: T): T;
173
- protected getUri(path: string): string;
174
- protected onDeviceConnectionChanged(connectionType?: ConnectionType): void;
175
- /**
176
- * Get default peers, from environment
177
- */
178
- protected getDefaultPeers(): Promise<Peer[]>;
179
- protected showToast<T = any>(opts: ShowToastOptions): Promise<OverlayEventDetail<T>>;
180
- protected addListener<T = any>(name: NetworkEventType, callback: (data?: T) => Promise<void>): Subscription;
181
- protected emit<T = any>(name: NetworkEventType, data?: T): Promise<void[]>;
182
- static ɵfac: i0.ɵɵFactoryDeclaration<NetworkService, [null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
183
- static ɵprov: i0.ɵɵInjectableDeclaration<NetworkService>;
184
- }
@@ -1,4 +0,0 @@
1
- import { ConnectionType } from '@capacitor/network';
2
- export type AuthTokenType = 'token' | 'basic' | 'basic-and-token';
3
- export type NetworkEventType = 'start' | 'peerChanged' | 'statusChanged' | 'resetCache' | 'beforeTryOnlineFinish';
4
- export { ConnectionType };
@@ -1,39 +0,0 @@
1
- import { HttpClient, HttpHeaders } from '@angular/common/http';
2
- import { Peer } from './model/peer.model';
3
- import { NodeFeature } from './model/node-feature.model';
4
- import { ConnectionStatus, ConnectionType } from '@capacitor/network';
5
- import { Observable } from 'rxjs';
6
- export interface NodeInfo {
7
- softwareName: string;
8
- softwareVersion: string;
9
- nodeLabel?: string;
10
- nodeName?: string;
11
- buildDate?: string;
12
- features?: NodeFeature[];
13
- }
14
- export interface AppManifest {
15
- manifest_version: number;
16
- name: string;
17
- version: string;
18
- start_url: string;
19
- short_name?: string;
20
- description?: string;
21
- version_name?: string;
22
- author?: string;
23
- default_locale?: string;
24
- icons?: any | any[];
25
- background_color?: string;
26
- theme_color?: string;
27
- display?: string;
28
- }
29
- export declare class NetworkUtils {
30
- static getNodeInfo(http: HttpClient, peer: string | Peer, opts?: {
31
- headers?: HttpHeaders | {
32
- [header: string]: string | string[];
33
- };
34
- responseType?: 'json';
35
- }): Promise<NodeInfo>;
36
- static isPluginAvailable(): boolean;
37
- static statusChanges(): Observable<ConnectionStatus>;
38
- static getConnectionType(): Promise<ConnectionType>;
39
- }
@@ -1,15 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import { Account } from '../model/account.model';
3
- import * as i0 from "@angular/core";
4
- export declare class IsLoginAccountPipe implements PipeTransform {
5
- transform(value: Account): boolean;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<IsLoginAccountPipe, never>;
7
- static ɵpipe: i0.ɵɵPipeDeclaration<IsLoginAccountPipe, "isLogin", false>;
8
- static ɵprov: i0.ɵɵInjectableDeclaration<IsLoginAccountPipe>;
9
- }
10
- export declare class AccountToStringPipe implements PipeTransform {
11
- transform(value: Account): string;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<AccountToStringPipe, never>;
13
- static ɵpipe: i0.ɵɵPipeDeclaration<AccountToStringPipe, "accountToString", false>;
14
- static ɵprov: i0.ɵɵInjectableDeclaration<AccountToStringPipe>;
15
- }
@@ -1,9 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import { Department } from '../model/department.model';
3
- import * as i0 from "@angular/core";
4
- export declare class DepartmentToStringPipe implements PipeTransform {
5
- transform(value: Department | Department[], separator?: string): string;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<DepartmentToStringPipe, never>;
7
- static ɵpipe: i0.ɵɵPipeDeclaration<DepartmentToStringPipe, "departmentToString", false>;
8
- static ɵprov: i0.ɵɵInjectableDeclaration<DepartmentToStringPipe>;
9
- }
@@ -1,11 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import { Person } from '../model/person.model';
3
- import * as i0 from "@angular/core";
4
- export declare class PersonToStringPipe implements PipeTransform {
5
- transform(value: Person | Person[], separator?: string, opts?: {
6
- withDepartment?: boolean;
7
- }): string;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<PersonToStringPipe, never>;
9
- static ɵpipe: i0.ɵɵPipeDeclaration<PersonToStringPipe, "personToString", false>;
10
- static ɵprov: i0.ɵɵInjectableDeclaration<PersonToStringPipe>;
11
- }
@@ -1,11 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./usage-mode.pipes";
3
- import * as i2 from "./person-to-string.pipe";
4
- import * as i3 from "./account.pipes";
5
- import * as i4 from "./department-to-string.pipe";
6
- import * as i5 from "./referential-to-string.pipe";
7
- export declare class CorePipesModule {
8
- static ɵfac: i0.ɵɵFactoryDeclaration<CorePipesModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<CorePipesModule, [typeof i1.IsOnFieldPipe, typeof i1.IsOnDeskPipe, typeof i2.PersonToStringPipe, typeof i3.IsLoginAccountPipe, typeof i3.AccountToStringPipe, typeof i4.DepartmentToStringPipe, typeof i5.ReferentialToStringPipe, typeof i5.ReferentialsToStringPipe], never, [typeof i1.IsOnFieldPipe, typeof i1.IsOnDeskPipe, typeof i2.PersonToStringPipe, typeof i3.IsLoginAccountPipe, typeof i3.AccountToStringPipe, typeof i4.DepartmentToStringPipe, typeof i5.ReferentialToStringPipe, typeof i5.ReferentialsToStringPipe]>;
10
- static ɵinj: i0.ɵɵInjectorDeclaration<CorePipesModule>;
11
- }
@@ -1,23 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import { IReferentialRef } from '../model/referential.model';
3
- import * as i0 from "@angular/core";
4
- export declare class ReferentialToStringPipe implements PipeTransform {
5
- constructor();
6
- transform(value: IReferentialRef | IReferentialRef[] | any, opts?: string[] | {
7
- properties?: string[];
8
- separator?: string;
9
- propertySeparator?: string;
10
- }): string;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<ReferentialToStringPipe, never>;
12
- static ɵpipe: i0.ɵɵPipeDeclaration<ReferentialToStringPipe, "referentialToString", false>;
13
- }
14
- export declare class ReferentialsToStringPipe implements PipeTransform {
15
- constructor();
16
- transform(value: IReferentialRef[] | any, opts?: string[] | {
17
- properties?: string[];
18
- separator?: string;
19
- propertySeparator?: string;
20
- }): string;
21
- static ɵfac: i0.ɵɵFactoryDeclaration<ReferentialsToStringPipe, never>;
22
- static ɵpipe: i0.ɵɵPipeDeclaration<ReferentialsToStringPipe, "referentialsToString", false>;
23
- }
@@ -1,15 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import { UsageMode } from '../model/settings.model';
3
- import * as i0 from "@angular/core";
4
- export declare class IsOnFieldPipe implements PipeTransform {
5
- transform(value: UsageMode): boolean;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<IsOnFieldPipe, never>;
7
- static ɵpipe: i0.ɵɵPipeDeclaration<IsOnFieldPipe, "isOnField", false>;
8
- static ɵprov: i0.ɵɵInjectableDeclaration<IsOnFieldPipe>;
9
- }
10
- export declare class IsOnDeskPipe implements PipeTransform {
11
- transform(value: UsageMode): boolean;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<IsOnDeskPipe, never>;
13
- static ɵpipe: i0.ɵɵPipeDeclaration<IsOnDeskPipe, "isOnDesk", false>;
14
- static ɵprov: i0.ɵɵInjectableDeclaration<IsOnDeskPipe>;
15
- }
@@ -1,127 +0,0 @@
1
- import { Platform, ToastController } from '@ionic/angular';
2
- import { NetworkService } from './network.service';
3
- import { Platforms } from '@ionic/core';
4
- import { LocalSettingsService } from './local-settings.service';
5
- import { CacheService } from 'ionic-cache';
6
- import { AudioProvider } from '../../shared/audio/audio';
7
- import { Platform as CdkPlatform } from '@angular/cdk/platform';
8
- import { EntitiesStorage } from './storage/entities-storage.service';
9
- import { ShowToastOptions } from '../../shared/toast/toasts';
10
- import { TranslateService } from '@ngx-translate/core';
11
- import { AccountService } from './account.service';
12
- import { BehaviorSubject, Observable, Subscription } from 'rxjs';
13
- import { Environment } from '../../../environments/environment.class';
14
- import { ConfigService } from './config.service';
15
- import { MomentDateAdapter } from '@angular/material-moment-adapter';
16
- import { Downloader, DownloadRequest } from '@awesome-cordova-plugins/downloader/ngx';
17
- import { StartableService } from '../../shared/services/startable-service.class';
18
- import { OpenOptions } from '@capacitor/browser';
19
- import { ILoggingService } from '../../shared/logging/logger.model';
20
- import { Clipboard as CdkClipboard } from '@angular/cdk/clipboard';
21
- import { WriteOptions } from '@capacitor/clipboard/dist/esm/definitions';
22
- import * as i0 from "@angular/core";
23
- export declare const AndroidOsEnvironment: Readonly<{
24
- DIRECTORY_DOWNLOADS: "Download";
25
- DIRECTORY_DOWNLOADS_OLD: "Downloads";
26
- }>;
27
- export declare class PlatformService extends StartableService {
28
- private ionicPlatform;
29
- private cdkPlatform;
30
- private cdkClipboard;
31
- private toastController;
32
- private translate;
33
- private dateAdapter;
34
- private entitiesStorage;
35
- private settings;
36
- private networkService;
37
- private accountService;
38
- private configService;
39
- private cache;
40
- private audioProvider;
41
- protected environment: Environment;
42
- private downloader;
43
- protected appBaseHref: string;
44
- private _logger;
45
- private _mobile;
46
- private _desktop;
47
- private _cordova;
48
- private _capacitor;
49
- private _android;
50
- private _ios;
51
- busySubject: BehaviorSubject<boolean>;
52
- constructor(ionicPlatform: Platform, cdkPlatform: CdkPlatform, cdkClipboard: CdkClipboard, toastController: ToastController, translate: TranslateService, dateAdapter: MomentDateAdapter, entitiesStorage: EntitiesStorage, settings: LocalSettingsService, networkService: NetworkService, accountService: AccountService, configService: ConfigService, cache: CacheService, audioProvider: AudioProvider, environment: Environment, loggingService: ILoggingService, downloader: Downloader, appBaseHref: string);
53
- private _downloadingJobs;
54
- private checkAppVersionTimer;
55
- is(platformName: Platforms): boolean;
56
- get mobile(): boolean;
57
- /**
58
- * Say if opened has been opened inside an Android or iOs App.
59
- * This is used to known if there is cordova features
60
- */
61
- isCapacitor(): boolean;
62
- /**
63
- * Say if opened has been opened inside an Android or iOs App.
64
- * This is used to known if there is cordova features
65
- */
66
- isCordova(): boolean;
67
- isAndroidCordova(): boolean;
68
- isIOSCordova(): boolean;
69
- isAndroid(): boolean;
70
- isIOS(): boolean;
71
- isMacOSDesktop(): boolean;
72
- /**
73
- * Is a native App (and NOT a mobile web)
74
- */
75
- isApp(): boolean;
76
- isWeb(): boolean;
77
- isMobileWeb(): boolean;
78
- get canDownload(): boolean;
79
- get canOpenFile(): boolean;
80
- width(): number;
81
- height(): number;
82
- protected ngOnStart(): Promise<any>;
83
- /**
84
- * Used to show a backdrop when platform is busy (e.g. from the app.component.ts)
85
- */
86
- markAsBusy(): void;
87
- markAsNotBusy(): void;
88
- open(url: string, opts?: Omit<OpenOptions, 'url'>): Promise<void>;
89
- getDownloadingJob(uri: string): Observable<string>;
90
- download(request: {
91
- uri: string;
92
- filename?: string;
93
- } & Partial<DownloadRequest>): Observable<string | undefined>;
94
- copyToClipboard(data: string | WriteOptions, opts?: ShowToastOptions): Promise<void>;
95
- updateTheme(options: {
96
- darkMode?: boolean;
97
- colors?: {
98
- [color: string]: string;
99
- };
100
- vars?: {
101
- [color: string]: string;
102
- };
103
- }): Promise<void>;
104
- toggleDarkTheme(enable: boolean): Promise<void>;
105
- toggleHighContrast(enable: boolean): void;
106
- /**
107
- * Handle deep links (Android App Links / iOS Universal Links)
108
- */
109
- addDeepLinkListener(listenerFn: (deppLink: {
110
- peerUrl: string;
111
- path: string;
112
- }) => void): Promise<Subscription>;
113
- showToast(opts: ShowToastOptions): Promise<HTMLIonToastElement>;
114
- closeToast(id?: string): Promise<boolean>;
115
- protected configureTheme(mobile: boolean, win?: any): Promise<void>;
116
- protected configureCapacitorPlugins(): Promise<void>;
117
- protected configureTranslate(): void;
118
- protected applyLocale(locale: string): void;
119
- protected configureCache(online?: boolean): void;
120
- protected checkAppVersion(opts?: {
121
- canReload?: boolean;
122
- silent?: boolean;
123
- }): Promise<void>;
124
- protected onStartupError(err: any): Promise<void>;
125
- static ɵfac: i0.ɵɵFactoryDeclaration<PlatformService, [null, null, null, null, null, null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
126
- static ɵprov: i0.ɵɵInjectableDeclaration<PlatformService>;
127
- }