@sumaris-net/ngx-components 2.6.7 → 3.0.0-rc1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (407) hide show
  1. package/esm2020/public_api.mjs +12 -6
  2. package/esm2020/src/app/admin/admin-routing.module.mjs +5 -5
  3. package/esm2020/src/app/admin/admin.module.mjs +5 -5
  4. package/esm2020/src/app/admin/services/person.service.mjs +4 -4
  5. package/esm2020/src/app/admin/services/validator/person.validator.mjs +4 -4
  6. package/esm2020/src/app/admin/users/users.mjs +5 -5
  7. package/esm2020/src/app/admin/users/users.module.mjs +5 -5
  8. package/esm2020/src/app/core/about/about.modal.mjs +4 -4
  9. package/esm2020/src/app/core/about/about.module.mjs +5 -5
  10. package/esm2020/src/app/core/account/account.module.mjs +5 -5
  11. package/esm2020/src/app/core/account/account.page.mjs +16 -18
  12. package/esm2020/src/app/core/account/new-token.modal.mjs +5 -5
  13. package/esm2020/src/app/core/account/token.table.mjs +5 -5
  14. package/esm2020/src/app/core/auth/auth.form.mjs +6 -5
  15. package/esm2020/src/app/core/auth/auth.modal.mjs +4 -4
  16. package/esm2020/src/app/core/auth/auth.module.mjs +5 -5
  17. package/esm2020/src/app/core/core.module.mjs +5 -5
  18. package/esm2020/src/app/core/core.testing.module.mjs +13 -6
  19. package/esm2020/src/app/core/form/buttons/form-buttons-bar.component.mjs +5 -5
  20. package/esm2020/src/app/core/form/buttons/form-buttons-bar.module.mjs +5 -5
  21. package/esm2020/src/app/core/form/entity/editor.class.mjs +7 -7
  22. package/esm2020/src/app/core/form/entity/entity-editor-modal.class.mjs +4 -4
  23. package/esm2020/src/app/core/form/entity/entity-editor.class.mjs +4 -4
  24. package/esm2020/src/app/core/form/entity/entity-metadata.component.mjs +4 -4
  25. package/esm2020/src/app/core/form/entity/entity.module.mjs +5 -5
  26. package/esm2020/src/app/core/form/form.class.mjs +4 -4
  27. package/esm2020/src/app/core/form/form.module.mjs +5 -5
  28. package/esm2020/src/app/core/form/list/list.form.mjs +4 -4
  29. package/esm2020/src/app/core/form/list/list.module.mjs +5 -5
  30. package/esm2020/src/app/core/form/properties/properties.form.mjs +6 -6
  31. package/esm2020/src/app/core/form/properties/properties.module.mjs +5 -5
  32. package/esm2020/src/app/core/form/properties/properties.table.mjs +9 -11
  33. package/esm2020/src/app/core/form/properties/property.validator.mjs +4 -4
  34. package/esm2020/src/app/core/form/properties/testing/properties-form.test.mjs +4 -4
  35. package/esm2020/src/app/core/form/properties/testing/properties-form.testing.module.mjs +5 -5
  36. package/esm2020/src/app/core/form/text-popover/testing/text-popover.testing.mjs +4 -4
  37. package/esm2020/src/app/core/form/text-popover/testing/text-popover.testing.module.mjs +5 -5
  38. package/esm2020/src/app/core/form/text-popover/text-form.component.mjs +7 -7
  39. package/esm2020/src/app/core/form/text-popover/text-popover.component.mjs +4 -4
  40. package/esm2020/src/app/core/form/text-popover/text-popover.module.mjs +5 -5
  41. package/esm2020/src/app/core/graphql/graphql.module.mjs +5 -5
  42. package/esm2020/src/app/core/graphql/graphql.service.mjs +4 -9
  43. package/esm2020/src/app/core/home/home.mjs +4 -4
  44. package/esm2020/src/app/core/home/home.module.mjs +5 -5
  45. package/esm2020/src/app/core/icon/icon.component.mjs +4 -4
  46. package/esm2020/src/app/core/icon/icon.module.mjs +5 -5
  47. package/esm2020/src/app/core/install/install-upgrade-card.component.mjs +4 -4
  48. package/esm2020/src/app/core/install/install-upgrade-card.module.mjs +5 -5
  49. package/esm2020/src/app/core/menu/menu.component.mjs +14 -13
  50. package/esm2020/src/app/core/menu/menu.model.mjs +1 -1
  51. package/esm2020/src/app/core/menu/menu.module.mjs +5 -5
  52. package/esm2020/src/app/core/menu/menu.service.mjs +4 -4
  53. package/esm2020/src/app/core/menu/sub-menu-tab.directive.mjs +4 -4
  54. package/esm2020/src/app/core/menu/testing/menu-other.testing.mjs +4 -4
  55. package/esm2020/src/app/core/menu/testing/menu.testing.mjs +4 -4
  56. package/esm2020/src/app/core/menu/testing/menu.testing.module.mjs +5 -5
  57. package/esm2020/src/app/core/offline/update-offline-mode-card.component.mjs +4 -4
  58. package/esm2020/src/app/core/offline/update-offline-mode-card.module.mjs +5 -5
  59. package/esm2020/src/app/core/peer/select-peer.modal.mjs +4 -4
  60. package/esm2020/src/app/core/peer/select-peer.module.mjs +5 -5
  61. package/esm2020/src/app/core/register/register-confirm.page.mjs +4 -4
  62. package/esm2020/src/app/core/register/register.form.mjs +5 -5
  63. package/esm2020/src/app/core/register/register.modal.mjs +4 -4
  64. package/esm2020/src/app/core/register/register.module.mjs +5 -5
  65. package/esm2020/src/app/core/services/account.service.mjs +23 -50
  66. package/esm2020/src/app/core/services/auth-guard.service.mjs +4 -4
  67. package/esm2020/src/app/core/services/base-entity-service.class.mjs +4 -4
  68. package/esm2020/src/app/core/services/base-graphql-service.class.mjs +4 -4
  69. package/esm2020/src/app/core/services/config/core.config.mjs +4 -4
  70. package/esm2020/src/app/core/services/config.service.mjs +4 -4
  71. package/esm2020/src/app/core/services/crypto.service.mjs +4 -4
  72. package/esm2020/src/app/core/services/local-settings.service.mjs +4 -4
  73. package/esm2020/src/app/core/services/network.service.mjs +4 -4
  74. package/esm2020/src/app/core/services/pipes/account.pipes.mjs +9 -9
  75. package/esm2020/src/app/core/services/pipes/department-to-string.pipe.mjs +5 -5
  76. package/esm2020/src/app/core/services/pipes/person-to-string.pipe.mjs +5 -5
  77. package/esm2020/src/app/core/services/pipes/usage-mode.pipes.mjs +9 -9
  78. package/esm2020/src/app/core/services/platform.service.mjs +10 -20
  79. package/esm2020/src/app/core/services/storage/entities-storage.service.mjs +4 -4
  80. package/esm2020/src/app/core/services/testing/referential.validator.mjs +4 -4
  81. package/esm2020/src/app/core/services/validator/account.validator.mjs +4 -4
  82. package/esm2020/src/app/core/services/validator/base.validator.class.mjs +4 -4
  83. package/esm2020/src/app/core/services/validator/local-settings.validator.mjs +4 -4
  84. package/esm2020/src/app/core/services/validator/user-settings.validator.mjs +4 -4
  85. package/esm2020/src/app/core/services/validator/user-token.validator.mjs +4 -4
  86. package/esm2020/src/app/core/settings/settings.module.mjs +5 -5
  87. package/esm2020/src/app/core/settings/settings.page.mjs +6 -6
  88. package/esm2020/src/app/core/table/actions-column.component.mjs +5 -5
  89. package/esm2020/src/app/core/table/async-table.class.mjs +4 -4
  90. package/esm2020/src/app/core/table/entities-async-table-datasource.class.mjs +4 -4
  91. package/esm2020/src/app/core/table/entities-table-datasource.class.mjs +4 -4
  92. package/esm2020/src/app/core/table/memory-table.class.mjs +4 -4
  93. package/esm2020/src/app/core/table/table-select-columns.component.mjs +5 -5
  94. package/esm2020/src/app/core/table/table.class.mjs +6 -6
  95. package/esm2020/src/app/core/table/table.module.mjs +5 -5
  96. package/esm2020/src/app/core/table/testing/table-validator.service.mjs +4 -4
  97. package/esm2020/src/app/core/table/testing/table.testing.mjs +27 -27
  98. package/esm2020/src/app/core/table/testing/table.testing.module.mjs +21 -9
  99. package/esm2020/src/app/core/table/testing/table2-validator.service.mjs +24 -0
  100. package/esm2020/src/app/core/table/testing/table2.testing.mjs +242 -0
  101. package/esm2020/src/app/shared/audio/audio.mjs +4 -4
  102. package/esm2020/src/app/shared/audio/audio.testing.mjs +4 -4
  103. package/esm2020/src/app/shared/audio/audio.testing.module.mjs +5 -5
  104. package/esm2020/src/app/shared/capacitor/keyboard.mjs +4 -4
  105. package/esm2020/src/app/shared/debug/debug.component.mjs +4 -4
  106. package/esm2020/src/app/shared/debug/debug.module.mjs +5 -5
  107. package/esm2020/src/app/shared/directives/autofocus.directive.mjs +4 -4
  108. package/esm2020/src/app/shared/directives/autotitle.directive.mjs +4 -4
  109. package/esm2020/src/app/shared/directives/directives.module.mjs +5 -5
  110. package/esm2020/src/app/shared/directives/drag-and-drop.directive.mjs +4 -4
  111. package/esm2020/src/app/shared/directives/ng-var.directive.mjs +4 -4
  112. package/esm2020/src/app/shared/directives/resizable/resizable.component.mjs +5 -4
  113. package/esm2020/src/app/shared/directives/resizable/resizable.directive.mjs +4 -4
  114. package/esm2020/src/app/shared/directives/resizable/resizable.module.mjs +5 -5
  115. package/esm2020/src/app/shared/file/file.service.mjs +4 -4
  116. package/esm2020/src/app/shared/form/field.component.mjs +8 -6
  117. package/esm2020/src/app/shared/form/field.model.mjs +1 -1
  118. package/esm2020/src/app/shared/form/loading-spinner.mjs +4 -4
  119. package/esm2020/src/app/shared/functions.mjs +4 -3
  120. package/esm2020/src/app/shared/gesture/gesture-config.mjs +4 -4
  121. package/esm2020/src/app/shared/guard/component-dirty.guard.mjs +4 -4
  122. package/esm2020/src/app/shared/help/help.modal.mjs +5 -5
  123. package/esm2020/src/app/shared/hotkeys/dialog/hotkeys-dialog.component.mjs +4 -4
  124. package/esm2020/src/app/shared/hotkeys/hotkeys.service.mjs +9 -12
  125. package/esm2020/src/app/shared/hotkeys/shared-hotkeys.module.mjs +6 -6
  126. package/esm2020/src/app/shared/image/gallery/image-gallery.component.mjs +4 -4
  127. package/esm2020/src/app/shared/image/gallery/image-gallery.module.mjs +5 -5
  128. package/esm2020/src/app/shared/image/gallery/testing/gallery.service.testing.mjs +4 -4
  129. package/esm2020/src/app/shared/image/gallery/testing/gallery.testing.mjs +4 -4
  130. package/esm2020/src/app/shared/image/gallery/testing/gallery.testing.module.mjs +5 -5
  131. package/esm2020/src/app/shared/image/image.module.mjs +5 -5
  132. package/esm2020/src/app/shared/image/image.service.mjs +4 -4
  133. package/esm2020/src/app/shared/logging/logging-service.class.mjs +4 -4
  134. package/esm2020/src/app/shared/logging/logging-service.module.mjs +5 -5
  135. package/esm2020/src/app/shared/material/autocomplete/material.autocomplete.mjs +36 -31
  136. package/esm2020/src/app/shared/material/autocomplete/material.autocomplete.module.mjs +5 -5
  137. package/esm2020/src/app/shared/material/autocomplete/testing/autocomplete.test.mjs +5 -5
  138. package/esm2020/src/app/shared/material/badge/badge.directive.mjs +4 -4
  139. package/esm2020/src/app/shared/material/badge/badge.module.mjs +5 -5
  140. package/esm2020/src/app/shared/material/badge/badge.test.mjs +5 -5
  141. package/esm2020/src/app/shared/material/boolean/boolean.module.mjs +20 -12
  142. package/esm2020/src/app/shared/material/boolean/material-boolean2.mjs +248 -0
  143. package/esm2020/src/app/shared/material/boolean/material.boolean.mjs +7 -6
  144. package/esm2020/src/app/shared/material/boolean/testing/boolean.test.page.mjs +51 -0
  145. package/esm2020/src/app/shared/material/chips/chips.module.mjs +8 -8
  146. package/esm2020/src/app/shared/material/chips/material.chips.mjs +19 -27
  147. package/esm2020/src/app/shared/material/chips/testing/chips.test.mjs +6 -6
  148. package/esm2020/src/app/shared/material/datetime/datetime.module.mjs +5 -5
  149. package/esm2020/src/app/shared/material/datetime/material.date.mjs +8 -6
  150. package/esm2020/src/app/shared/material/datetime/material.dateshort.mjs +8 -6
  151. package/esm2020/src/app/shared/material/datetime/material.datetime.mjs +8 -6
  152. package/esm2020/src/app/shared/material/datetime/testing/mat-date-time.test.mjs +19 -7
  153. package/esm2020/src/app/shared/material/datetime/testing/mat-date.test.mjs +15 -7
  154. package/esm2020/src/app/shared/material/datetime/testing/mat-dateshort.test.mjs +15 -7
  155. package/esm2020/src/app/shared/material/duration/duration.module.mjs +7 -7
  156. package/esm2020/src/app/shared/material/duration/material.duration.mjs +7 -6
  157. package/esm2020/src/app/shared/material/duration/testing/mat-duration.test.mjs +76 -0
  158. package/esm2020/src/app/shared/material/latlong/material.latlong.mjs +7 -6
  159. package/esm2020/src/app/shared/material/latlong/material.latlong.module.mjs +8 -8
  160. package/esm2020/src/app/shared/material/latlong/testing/latlong.test.mjs +4 -4
  161. package/esm2020/src/app/shared/material/material.module.mjs +18 -18
  162. package/esm2020/src/app/shared/material/material.testing.module.mjs +65 -23
  163. package/esm2020/src/app/shared/material/numpad/numpad.append-to-input.directive.mjs +4 -4
  164. package/esm2020/src/app/shared/material/numpad/numpad.component.mjs +4 -4
  165. package/esm2020/src/app/shared/material/numpad/numpad.container.mjs +4 -4
  166. package/esm2020/src/app/shared/material/numpad/numpad.content.mjs +4 -4
  167. package/esm2020/src/app/shared/material/numpad/numpad.directive.mjs +4 -4
  168. package/esm2020/src/app/shared/material/numpad/numpad.dom-service.mjs +9 -14
  169. package/esm2020/src/app/shared/material/numpad/numpad.module.mjs +6 -6
  170. package/esm2020/src/app/shared/material/numpad/testing/numpad.test.mjs +5 -5
  171. package/esm2020/src/app/shared/material/paginator/material.paginator-i18n.mjs +5 -5
  172. package/esm2020/src/app/shared/material/stepper/material.stepper-i18n.mjs +4 -4
  173. package/esm2020/src/app/shared/material/swipe/material.swipe.mjs +6 -5
  174. package/esm2020/src/app/shared/material/swipe/swipe.module.mjs +13 -9
  175. package/esm2020/src/app/shared/material/swipe/testing/swipe.test.mjs +4 -4
  176. package/esm2020/src/app/shared/material/testing/common.test.mjs +95 -0
  177. package/esm2020/src/app/shared/named-filter/named-filter-selector.component.mjs +4 -4
  178. package/esm2020/src/app/shared/named-filter/named-filter.module.mjs +5 -5
  179. package/esm2020/src/app/shared/named-filter/named-filter.service.mjs +4 -4
  180. package/esm2020/src/app/shared/pipes/arrays.pipe.mjs +25 -25
  181. package/esm2020/src/app/shared/pipes/colors.pipe.mjs +6 -4
  182. package/esm2020/src/app/shared/pipes/date-diff-duration.pipe.mjs +5 -5
  183. package/esm2020/src/app/shared/pipes/date-format.pipe.mjs +7 -7
  184. package/esm2020/src/app/shared/pipes/date-from-now.pipe.mjs +5 -5
  185. package/esm2020/src/app/shared/pipes/duration.pipe.mjs +5 -5
  186. package/esm2020/src/app/shared/pipes/file-size.pipe.mjs +4 -4
  187. package/esm2020/src/app/shared/pipes/form.pipes.mjs +19 -19
  188. package/esm2020/src/app/shared/pipes/highlight.pipe.mjs +5 -5
  189. package/esm2020/src/app/shared/pipes/latlong-format.pipe.mjs +10 -10
  190. package/esm2020/src/app/shared/pipes/maps.pipe.mjs +13 -13
  191. package/esm2020/src/app/shared/pipes/math.pipes.mjs +13 -13
  192. package/esm2020/src/app/shared/pipes/ng-init.pipe.mjs +4 -4
  193. package/esm2020/src/app/shared/pipes/number-format.pipe.mjs +5 -5
  194. package/esm2020/src/app/shared/pipes/pipes.module.mjs +19 -11
  195. package/esm2020/src/app/shared/pipes/property.pipes.mjs +8 -8
  196. package/esm2020/src/app/shared/pipes/string.pipes.mjs +42 -28
  197. package/esm2020/src/app/shared/pipes/translate-context.pipe.mjs +9 -9
  198. package/esm2020/src/app/shared/pipes/types.pipes.mjs +23 -10
  199. package/esm2020/src/app/shared/rx-state.module.mjs +23 -0
  200. package/esm2020/src/app/shared/services/entity-service.class.mjs +1 -1
  201. package/esm2020/src/app/shared/services/memory-entity-service.class.mjs +4 -4
  202. package/esm2020/src/app/shared/services/progress-bar.service.mjs +4 -4
  203. package/esm2020/src/app/shared/services/startable-observable-service.class.mjs +12 -9
  204. package/esm2020/src/app/shared/services/startable-service.class.mjs +13 -10
  205. package/esm2020/src/app/shared/services/translate-context.service.mjs +4 -4
  206. package/esm2020/src/app/shared/shared-routing.module.mjs +8 -8
  207. package/esm2020/src/app/shared/shared.module.mjs +23 -30
  208. package/esm2020/src/app/shared/shared.testing.module.mjs +5 -5
  209. package/esm2020/src/app/shared/storage/storage-explorer.component.mjs +4 -4
  210. package/esm2020/src/app/shared/storage/storage-explorer.module.mjs +5 -5
  211. package/esm2020/src/app/shared/storage/storage-explorer.testing-routing.module.mjs +5 -5
  212. package/esm2020/src/app/shared/storage/storage-explorer.testing.module.mjs +5 -5
  213. package/esm2020/src/app/shared/storage/storage.service.mjs +4 -4
  214. package/esm2020/src/app/shared/testing/observable.test.mjs +4 -4
  215. package/esm2020/src/app/shared/testing/tests.page.mjs +4 -4
  216. package/esm2020/src/app/shared/toast/toast.testing.mjs +4 -4
  217. package/esm2020/src/app/shared/toast/toast.testing.module.mjs +5 -5
  218. package/esm2020/src/app/shared/toolbar/modal-toolbar.mjs +4 -4
  219. package/esm2020/src/app/shared/toolbar/toolbar.mjs +4 -4
  220. package/esm2020/src/app/shared/toolbar/toolbar.module.mjs +6 -6
  221. package/esm2020/src/app/shared/upload-file/testing/upload-file.testing.mjs +4 -4
  222. package/esm2020/src/app/shared/upload-file/testing/upload-file.testing.module.mjs +5 -5
  223. package/esm2020/src/app/shared/upload-file/upload-file-popover.component.mjs +4 -4
  224. package/esm2020/src/app/shared/upload-file/upload-file.component.mjs +5 -5
  225. package/esm2020/src/app/shared/validator/form-error-adapter.class.mjs +4 -4
  226. package/esm2020/src/app/social/job/job.module.mjs +5 -5
  227. package/esm2020/src/app/social/job/progression/job-progression.component.mjs +23 -9
  228. package/esm2020/src/app/social/job/progression/job-progression.icon.mjs +74 -67
  229. package/esm2020/src/app/social/job/progression/job-progression.list.mjs +13 -10
  230. package/esm2020/src/app/social/job/progression/job-progression.model.mjs +1 -1
  231. package/esm2020/src/app/social/job/progression/job-progression.service.mjs +4 -4
  232. package/esm2020/src/app/social/job/testing/job-progression.testing.mjs +10 -21
  233. package/esm2020/src/app/social/job/testing/job-progression.testing.service.mjs +4 -4
  234. package/esm2020/src/app/social/job/testing/job.testing.module.mjs +5 -5
  235. package/esm2020/src/app/social/message/message.form.mjs +7 -7
  236. package/esm2020/src/app/social/message/message.modal.mjs +4 -4
  237. package/esm2020/src/app/social/message/message.module.mjs +5 -5
  238. package/esm2020/src/app/social/message/message.service.mjs +4 -4
  239. package/esm2020/src/app/social/social.module.mjs +5 -5
  240. package/esm2020/src/app/social/social.testing.module.mjs +5 -5
  241. package/esm2020/src/app/social/user-event/notification/user-event-notification.icon.mjs +4 -4
  242. package/esm2020/src/app/social/user-event/notification/user-event-notification.list.mjs +4 -4
  243. package/esm2020/src/app/social/user-event/testing/user-event.testing.mjs +4 -4
  244. package/esm2020/src/app/social/user-event/testing/user-event.testing.model.mjs +1 -1
  245. package/esm2020/src/app/social/user-event/testing/user-event.testing.module.mjs +5 -5
  246. package/esm2020/src/app/social/user-event/testing/user-event.testing.service.mjs +4 -4
  247. package/esm2020/src/app/social/user-event/user-event.module.mjs +5 -5
  248. package/esm2020/src/app/social/user-event/user-event.service.mjs +4 -4
  249. package/esm2020/src/environments/environment.class.mjs +1 -1
  250. package/esm2020/src/environments/environment.mjs +17 -20
  251. package/fesm2015/sumaris-net.ngx-components.mjs +7689 -7022
  252. package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -1
  253. package/fesm2020/sumaris-net.ngx-components.mjs +8988 -8329
  254. package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -1
  255. package/package.json +4 -3
  256. package/public_api.d.ts +11 -5
  257. package/src/app/admin/users/users.d.ts +1 -1
  258. package/src/app/core/about/about.modal.d.ts +1 -1
  259. package/src/app/core/account/account.page.d.ts +3 -4
  260. package/src/app/core/account/new-token.modal.d.ts +1 -1
  261. package/src/app/core/account/token.table.d.ts +1 -1
  262. package/src/app/core/auth/auth.form.d.ts +1 -1
  263. package/src/app/core/auth/auth.modal.d.ts +1 -1
  264. package/src/app/core/form/buttons/form-buttons-bar.component.d.ts +1 -1
  265. package/src/app/core/form/entity/editor.class.d.ts +4 -4
  266. package/src/app/core/form/entity/entity-editor-modal.class.d.ts +1 -1
  267. package/src/app/core/form/entity/entity-editor.class.d.ts +1 -1
  268. package/src/app/core/form/entity/entity-metadata.component.d.ts +1 -1
  269. package/src/app/core/form/form.class.d.ts +1 -1
  270. package/src/app/core/form/list/list.form.d.ts +1 -1
  271. package/src/app/core/form/properties/properties.form.d.ts +1 -1
  272. package/src/app/core/form/properties/properties.table.d.ts +2 -3
  273. package/src/app/core/form/properties/property.validator.d.ts +1 -1
  274. package/src/app/core/form/properties/testing/properties-form.test.d.ts +1 -1
  275. package/src/app/core/form/text-popover/testing/text-popover.testing.d.ts +1 -1
  276. package/src/app/core/form/text-popover/text-form.component.d.ts +1 -1
  277. package/src/app/core/form/text-popover/text-popover.component.d.ts +1 -1
  278. package/src/app/core/home/home.d.ts +1 -1
  279. package/src/app/core/icon/icon.component.d.ts +1 -1
  280. package/src/app/core/install/install-upgrade-card.component.d.ts +1 -1
  281. package/src/app/core/menu/menu.component.d.ts +2 -2
  282. package/src/app/core/menu/menu.model.d.ts +0 -1
  283. package/src/app/core/menu/sub-menu-tab.directive.d.ts +1 -1
  284. package/src/app/core/menu/testing/menu-other.testing.d.ts +1 -1
  285. package/src/app/core/menu/testing/menu.testing.d.ts +1 -1
  286. package/src/app/core/offline/update-offline-mode-card.component.d.ts +1 -1
  287. package/src/app/core/peer/select-peer.modal.d.ts +1 -1
  288. package/src/app/core/register/register-confirm.page.d.ts +1 -1
  289. package/src/app/core/register/register.form.d.ts +1 -1
  290. package/src/app/core/register/register.modal.d.ts +1 -1
  291. package/src/app/core/services/account.service.d.ts +0 -4
  292. package/src/app/core/services/base-entity-service.class.d.ts +1 -1
  293. package/src/app/core/services/base-graphql-service.class.d.ts +1 -1
  294. package/src/app/core/services/config/core.config.d.ts +1 -1
  295. package/src/app/core/services/validator/base.validator.class.d.ts +1 -1
  296. package/src/app/core/settings/settings.page.d.ts +1 -1
  297. package/src/app/core/table/actions-column.component.d.ts +2 -2
  298. package/src/app/core/table/async-table.class.d.ts +1 -1
  299. package/src/app/core/table/entities-async-table-datasource.class.d.ts +1 -1
  300. package/src/app/core/table/entities-table-datasource.class.d.ts +1 -1
  301. package/src/app/core/table/memory-table.class.d.ts +3 -3
  302. package/src/app/core/table/table-select-columns.component.d.ts +1 -1
  303. package/src/app/core/table/table.class.d.ts +3 -3
  304. package/src/app/core/table/testing/table.testing.d.ts +5 -4
  305. package/src/app/core/table/testing/table.testing.module.d.ts +8 -5
  306. package/src/app/core/table/testing/table2-validator.service.d.ts +15 -0
  307. package/src/app/core/table/testing/table2.testing.d.ts +45 -0
  308. package/src/app/shared/audio/audio.testing.d.ts +1 -1
  309. package/src/app/shared/debug/debug.component.d.ts +1 -1
  310. package/src/app/shared/directives/autofocus.directive.d.ts +1 -1
  311. package/src/app/shared/directives/autotitle.directive.d.ts +1 -1
  312. package/src/app/shared/directives/drag-and-drop.directive.d.ts +1 -1
  313. package/src/app/shared/directives/ng-var.directive.d.ts +1 -1
  314. package/src/app/shared/directives/resizable/resizable.component.d.ts +1 -1
  315. package/src/app/shared/directives/resizable/resizable.directive.d.ts +1 -1
  316. package/src/app/shared/form/field.component.d.ts +4 -5
  317. package/src/app/shared/form/field.model.d.ts +2 -0
  318. package/src/app/shared/form/loading-spinner.d.ts +1 -1
  319. package/src/app/shared/functions.d.ts +2 -2
  320. package/src/app/shared/help/help.modal.d.ts +2 -2
  321. package/src/app/shared/hotkeys/dialog/hotkeys-dialog.component.d.ts +1 -1
  322. package/src/app/shared/hotkeys/hotkeys.service.d.ts +3 -3
  323. package/src/app/shared/image/gallery/image-gallery.component.d.ts +3 -3
  324. package/src/app/shared/image/gallery/testing/gallery.testing.d.ts +2 -2
  325. package/src/app/shared/inputs.d.ts +1 -1
  326. package/src/app/shared/material/autocomplete/material.autocomplete.d.ts +8 -8
  327. package/src/app/shared/material/autocomplete/testing/autocomplete.test.d.ts +1 -1
  328. package/src/app/shared/material/badge/badge.directive.d.ts +1 -1
  329. package/src/app/shared/material/badge/badge.test.d.ts +1 -1
  330. package/src/app/shared/material/boolean/boolean.module.d.ts +15 -13
  331. package/src/app/shared/material/boolean/material-boolean2.d.ts +66 -0
  332. package/src/app/shared/material/boolean/material.boolean.d.ts +5 -4
  333. package/src/app/shared/material/boolean/testing/boolean.test.page.d.ts +21 -0
  334. package/src/app/shared/material/chips/material.chips.d.ts +8 -9
  335. package/src/app/shared/material/chips/testing/chips.test.d.ts +2 -2
  336. package/src/app/shared/material/datetime/material.date.d.ts +4 -3
  337. package/src/app/shared/material/datetime/material.dateshort.d.ts +6 -5
  338. package/src/app/shared/material/datetime/material.datetime.d.ts +4 -3
  339. package/src/app/shared/material/datetime/testing/mat-date-time.test.d.ts +7 -1
  340. package/src/app/shared/material/datetime/testing/mat-date.test.d.ts +3 -1
  341. package/src/app/shared/material/datetime/testing/mat-dateshort.test.d.ts +3 -1
  342. package/src/app/shared/material/duration/material.duration.d.ts +5 -4
  343. package/src/app/shared/material/duration/testing/mat-duration.test.d.ts +22 -0
  344. package/src/app/shared/material/latlong/material.latlong.d.ts +4 -3
  345. package/src/app/shared/material/latlong/testing/latlong.test.d.ts +1 -1
  346. package/src/app/shared/material/material.testing.module.d.ts +22 -18
  347. package/src/app/shared/material/numpad/numpad.append-to-input.directive.d.ts +1 -1
  348. package/src/app/shared/material/numpad/numpad.component.d.ts +1 -1
  349. package/src/app/shared/material/numpad/numpad.container.d.ts +1 -1
  350. package/src/app/shared/material/numpad/numpad.content.d.ts +1 -1
  351. package/src/app/shared/material/numpad/numpad.directive.d.ts +1 -1
  352. package/src/app/shared/material/numpad/numpad.dom-service.d.ts +3 -3
  353. package/src/app/shared/material/numpad/testing/numpad.test.d.ts +1 -1
  354. package/src/app/shared/material/paginator/material.paginator-i18n.d.ts +0 -3
  355. package/src/app/shared/material/swipe/material.swipe.d.ts +6 -6
  356. package/src/app/shared/material/swipe/swipe.module.d.ts +2 -1
  357. package/src/app/shared/material/swipe/testing/swipe.test.d.ts +1 -1
  358. package/src/app/shared/material/testing/common.test.d.ts +23 -0
  359. package/src/app/shared/named-filter/named-filter-selector.component.d.ts +1 -1
  360. package/src/app/shared/named-filter/named-filter.service.d.ts +1 -1
  361. package/src/app/shared/pipes/ng-init.pipe.d.ts +1 -1
  362. package/src/app/shared/pipes/pipes.module.d.ts +1 -1
  363. package/src/app/shared/pipes/string.pipes.d.ts +6 -0
  364. package/src/app/shared/pipes/types.pipes.d.ts +7 -0
  365. package/src/app/shared/rx-state.module.d.ts +10 -0
  366. package/src/app/shared/services/memory-entity-service.class.d.ts +1 -1
  367. package/src/app/shared/services/startable-observable-service.class.d.ts +3 -0
  368. package/src/app/shared/services/startable-service.class.d.ts +3 -0
  369. package/src/app/shared/shared.module.d.ts +12 -13
  370. package/src/app/shared/storage/storage-explorer.component.d.ts +1 -1
  371. package/src/app/shared/testing/observable.test.d.ts +1 -1
  372. package/src/app/shared/testing/tests.page.d.ts +1 -1
  373. package/src/app/shared/toast/toast.testing.d.ts +1 -1
  374. package/src/app/shared/toolbar/modal-toolbar.d.ts +1 -1
  375. package/src/app/shared/toolbar/toolbar.d.ts +1 -1
  376. package/src/app/shared/upload-file/testing/upload-file.testing.d.ts +1 -1
  377. package/src/app/shared/upload-file/upload-file-popover.component.d.ts +1 -1
  378. package/src/app/shared/upload-file/upload-file.component.d.ts +1 -1
  379. package/src/app/social/job/progression/job-progression.component.d.ts +17 -3
  380. package/src/app/social/job/progression/job-progression.icon.d.ts +24 -10
  381. package/src/app/social/job/progression/job-progression.list.d.ts +3 -3
  382. package/src/app/social/job/progression/job-progression.model.d.ts +0 -1
  383. package/src/app/social/job/testing/job-progression.testing.d.ts +3 -6
  384. package/src/app/social/message/message.form.d.ts +1 -1
  385. package/src/app/social/message/message.modal.d.ts +1 -1
  386. package/src/app/social/user-event/notification/user-event-notification.icon.d.ts +1 -1
  387. package/src/app/social/user-event/notification/user-event-notification.list.d.ts +1 -1
  388. package/src/app/social/user-event/testing/user-event.testing.d.ts +1 -1
  389. package/src/app/social/user-event/testing/user-event.testing.model.d.ts +0 -1
  390. package/src/app/social/user-event/user-event.service.d.ts +1 -1
  391. package/src/assets/i18n/en-US.json +4 -7
  392. package/src/assets/i18n/en.json +4 -7
  393. package/src/assets/i18n/fr.json +3 -1
  394. package/src/assets/img/logo/logo-eis.png +0 -0
  395. package/src/assets/manifest.json +1 -1
  396. package/src/environments/environment.class.d.ts +0 -1
  397. package/src/theme/_material.globals.scss +49 -17
  398. package/src/theme/_material.scss +1 -14
  399. package/src/theme/_mixins.scss +1 -1
  400. package/src/theme/_ngx-components.globals.scss +6 -1
  401. package/src/theme/_ngx-components.scss +263 -534
  402. package/src/theme/_ngx-components.table.scss +593 -0
  403. package/src/theme/_theme.scss +1 -0
  404. package/esm2020/src/environments/environment.loader.mjs +0 -79
  405. package/resources/README.md +0 -7
  406. package/src/assets/environments/environment-test.json +0 -6
  407. package/src/environments/environment.loader.d.ts +0 -26
@@ -0,0 +1,593 @@
1
+ // --------------------------------------------------
2
+ // Material Table
3
+ // --------------------------------------------------
4
+
5
+ .table-container {
6
+ max-width: 100%;
7
+ max-height: 100%;
8
+ overflow-x: auto;
9
+ }
10
+
11
+
12
+ .mat-mdc-table {
13
+ min-width: calc(100% - 1px);
14
+ border-collapse: separate;
15
+ --mat-row-height: #{$app-table-row-height};
16
+ --mat-row-max-height: #{$app-table-row-max-height};
17
+ --mat-cell-horizontal-padding: #{$app-table-cell-horizontal-padding};
18
+ --mat-cell-padding-top: calc(var(--mat-row-height) * 0.5 - 0.9em);
19
+
20
+ --mdc-checkbox-state-layer-size: 20px;
21
+ --mdc-typography-body1-font-size: 14px;
22
+ --mdc-typography-body1-letter-spacing: 0.0178571429em;
23
+
24
+ .mat-mdc-header-cell {
25
+ color: var(--ion-color-primary);
26
+
27
+ &.disabled {
28
+ color: var(--ion-color-medium, grey);
29
+ }
30
+
31
+ &.cdk-drag-preview {
32
+ color: var(--ion-color-primary100);
33
+ border-bottom-width: 0;
34
+
35
+ .mat-sort-header-arrow {
36
+ display: none;
37
+ }
38
+ }
39
+
40
+ // force invisible
41
+ &.cdk-visually-hidden {
42
+ position: absolute !important;
43
+ }
44
+
45
+ & > ion-label,
46
+ & > mat-label,
47
+ & button > ion-label,
48
+ & button > mat-label {
49
+ margin-top: 0;
50
+ margin-bottom: 0;
51
+ text-align: start;
52
+ }
53
+ }
54
+
55
+ .mat-mdc-header-row {
56
+ height: var(--app-table-header-height, 52px);
57
+ border-bottom: 1px solid #{$app-table-border-color};
58
+ }
59
+
60
+ // Auto hide sort header, when the column is not sorted
61
+ // (useful to minimize the column width - e.g. on mobile device)
62
+ &.mat-table-hide-sort-arrow {
63
+ .mat-sort-header-arrow {
64
+ transition: none !important;
65
+ }
66
+
67
+ .mat-sort-header-arrow:not([style*="opacity: 1"]) {
68
+ display: none;
69
+ }
70
+ }
71
+
72
+ .mat-mdc-header-row,
73
+ .mat-mdc-row,
74
+ .mat-mdc-footer-row {
75
+ height: calc(min(var(--mat-row-height), var(--mat-row-max-height)));
76
+ max-height: var(--mat-row-max-height);
77
+
78
+ // Reserve space for row dirty border
79
+ //border-left: 3px solid transparent;
80
+
81
+ .mat-mdc-header-cell,
82
+ .mat-mdc-cell,
83
+ .mat-mdc-footer-cell {
84
+
85
+ // Remove default padding
86
+ padding-inline: 0;
87
+
88
+ &.ion-padding-start {
89
+ padding-inline-start: var(--mat-cell-horizontal-padding);
90
+ }
91
+
92
+ &.mat-mdc-table-sticky-border-elem-left {
93
+ border-right: 1px solid #{$app-table-border-color};
94
+ }
95
+
96
+ &.mat-mdc-table-sticky-border-elem-right {
97
+ border-left: 1px solid #{$app-table-border-color};
98
+ }
99
+
100
+ /* Add a start padding to content (but not the cell itself) (e.g. tables with odd/event style - like BatchGroupsTable) */
101
+ &.mat-cell-content-start-padding {
102
+
103
+ // Reset start padding here (only apply cell's content)
104
+ padding-inline-start: 0;
105
+
106
+ // Add left padding in labels, div, etc
107
+ & > ion-label,
108
+ & > mat-label,
109
+ & > ion-text,
110
+ & > div,
111
+ & > span,
112
+ & > .ion-padding-start {
113
+ padding: 0 var(--mat-cell-horizontal-padding, 8px);
114
+ }
115
+
116
+ // Add left padding in form fields
117
+ .mat-mdc-form-field-label {
118
+ width: 100%;
119
+ padding-left: var(--mat-cell-horizontal-padding, 8px);
120
+ }
121
+
122
+ .mat-mdc-form-field-infix {
123
+ padding-left: var(--mat-cell-horizontal-padding, 8px);
124
+ }
125
+ }
126
+ }
127
+
128
+ .mat-column-select {
129
+ overflow: initial;
130
+ width: 50px;
131
+ min-width: 50px;
132
+ max-width: 50px;
133
+ padding-left: 14px;
134
+ }
135
+
136
+ .mat-column-id {
137
+ min-width: 50px;
138
+ max-width: 90px;
139
+
140
+ &.code {
141
+ min-width: 150px;
142
+ max-width: 150px;
143
+ }
144
+
145
+ &.mat-column-sticky {
146
+ border-right: 1px solid #{$app-table-border-color};
147
+ }
148
+ }
149
+
150
+ .mat-cell-date {
151
+ min-width: 128px;
152
+ max-width: 128px;
153
+
154
+ input {
155
+ max-width: 120px;
156
+ overflow: visible !important;
157
+ }
158
+ }
159
+
160
+ .mat-cell-date-time {
161
+ min-width: 145px;
162
+ max-width: 180px;
163
+
164
+ input {
165
+ max-width: 120px;
166
+ overflow: visible !important;
167
+ }
168
+ }
169
+
170
+ .mat-column-comments {
171
+ min-width: 30px;
172
+ }
173
+
174
+ .mat-column-actions {
175
+ text-align: end;
176
+ min-width: var(--mat-column-actions-min-width);
177
+ width: var(--mat-column-actions-width, 40px);
178
+ max-width: var(--mat-column-actions-max-width, 40px);
179
+ padding-inline-start: 0 !important; // No start padding
180
+ padding-right: unset !important;
181
+ }
182
+
183
+ .mat-mdc-cell.computed mat-form-field,
184
+ .mat-cell-computed,
185
+ .mat-mdc-cell ion-text.computed,
186
+ .mat-mdc-cell.calculated mat-form-field,
187
+ .mat-cell-calculated {
188
+ color: var(--ion-color-primary-tint);
189
+ font-style: italic;
190
+ }
191
+ }
192
+
193
+ .mat-mdc-row {
194
+
195
+ // Disabled row
196
+ &.mat-row-disabled * {
197
+ color: inherit;
198
+ cursor: pointer;
199
+ // Necessary to focus on <mat-form-field> when row is readonly since angular 15 migrating
200
+ pointer-events: unset !important;
201
+ }
202
+
203
+ &.mat-row-disabled:hover {
204
+ background-color: var(--ion-color-light);
205
+
206
+ .mat-cell {
207
+ color: var(--ion-color-light-contrast);
208
+ }
209
+ }
210
+
211
+ &.mat-row-selected {
212
+ background-color: var(--ion-color-secondary100);
213
+
214
+ &:hover {
215
+ background-color: var(--ion-color-secondary100);
216
+ }
217
+
218
+ .mat-cell {
219
+ color: var(--ion-color-secondary100-contrast);
220
+ }
221
+
222
+ &.mat-row-disabled:hover {
223
+ background-color: var(--ion-color-secondary100-shade) !important;
224
+ }
225
+
226
+ }
227
+
228
+ // Dirty row
229
+ &.mat-row-dirty {
230
+ //border-left: 3px solid var(--ion-color-primary-tint);
231
+
232
+ // Resize the dirty icon (in the 'actions' column)
233
+ .mat-column-actions mat-icon.dirty-icon,
234
+ .mat-column-actions ion-icon.dirty-icon {
235
+ width: 40px;
236
+ }
237
+ }
238
+
239
+ // Error row
240
+ &.mat-row-error {
241
+ //border-left: 3px solid var(--ion-color-danger-tint) !important;
242
+ background-color: var(--ion-color-warning-tint);
243
+
244
+ &.mat-row-disabled:hover {
245
+ background-color: var(--ion-color-warning-shade) !important;
246
+ }
247
+ }
248
+
249
+ .mat-mdc-input-element:disabled,
250
+ .mat-form-field-disabled {
251
+ //.mat-mdc-form-field-label {
252
+ // visibility: hidden;
253
+ //}
254
+ .mdc-floating-label {
255
+ visibility: hidden;
256
+ }
257
+ }
258
+
259
+ //.mdc-line-ripple--deactivating {
260
+ // display: none;
261
+ //}
262
+
263
+ mat-mdc-form-field,
264
+ mat-autocomplete-field,
265
+ app-form-field,
266
+ .mat-mdc-form-field {
267
+ width: 100%;
268
+ height: calc(var(--mat-row-height) - 1px);
269
+ }
270
+
271
+ .mat-mdc-form-field {
272
+
273
+ .mat-mdc-form-field-label {
274
+ width: 100%;
275
+ }
276
+
277
+ .mat-mdc-text-field-wrapper {
278
+ max-height: calc(var(--mat-row-height) - 1px);
279
+ //padding-top: var(--mat-cell-padding-top) !important;
280
+ //padding-bottom: 0;
281
+
282
+ }
283
+
284
+ .mdc-text-field {
285
+ padding-inline: 0;
286
+ background-color: $app-form-field-background-color;
287
+ }
288
+
289
+ .mat-mdc-form-field-focus-overlay {
290
+ background-color: $app-form-field-focus-background-color;
291
+ }
292
+
293
+ // Prefix
294
+ .mat-mdc-form-field-icon-prefix {
295
+ padding: 0;
296
+
297
+ ion-icon, .mat-icon {
298
+ $font-size: calculateRem(18px);
299
+ $margin-vertical: calculateRem(4px);
300
+ height: $font-size;
301
+ width: $font-size;
302
+ margin-left: $margin-vertical;
303
+ margin-right: $margin-vertical;
304
+ }
305
+ }
306
+
307
+ // Infix
308
+ .mat-mdc-form-field-infix {
309
+ height: var(--mat-row-height);
310
+ max-height: var(--mat-row-height);
311
+ min-height: 1em;
312
+ width: 100%;
313
+ white-space: nowrap;
314
+ overflow: inherit;
315
+ padding: 0;
316
+ padding-top: var(--mat-cell-padding-top) !important;
317
+ padding-bottom: 0;
318
+
319
+ .mat-mdc-input-element,
320
+ input {
321
+ //margin-left: 5px;
322
+ overflow: hidden;
323
+ text-overflow: ellipsis;
324
+ white-space: nowrap;
325
+ }
326
+
327
+ input[type=number]::-webkit-outer-spin-button,
328
+ input[type=number]::-webkit-inner-spin-button {
329
+ -webkit-appearance: none;
330
+ margin: 0;
331
+ }
332
+
333
+ input[type=number] {
334
+ //text-align: right;
335
+ -moz-appearance: textfield;
336
+ }
337
+ }
338
+
339
+ // Suffix
340
+ .mat-mdc-form-field-icon-suffix {
341
+ white-space: nowrap;
342
+
343
+ .mat-mdc-icon-button {
344
+ width: 24px;
345
+ height: 24px;
346
+ padding: 2px 0 0 0;
347
+
348
+ ion-icon, .mat-icon {
349
+ $font-size: calculateRem(18px);
350
+ font-size: $font-size;
351
+ line-height: 1.125;
352
+ }
353
+
354
+ .mat-mdc-button-touch-target {
355
+ width: 24px;
356
+ }
357
+ }
358
+
359
+ }
360
+
361
+ // Specific behavior for chips
362
+ &.mat-mdc-form-field-type-mat-chip-grid {
363
+ --mat-cell-padding-top: 7px;
364
+ }
365
+
366
+ // Specific behavior for select
367
+ &.mat-mdc-form-field-type-mat-select {
368
+ .mdc-text-field {
369
+ padding-right: 8px;
370
+ }
371
+ }
372
+
373
+ .mat-mdc-form-field-subscript-wrapper {
374
+ margin-top: -1.5rem;
375
+ text-align: right;
376
+ pointer-events: none;
377
+ }
378
+
379
+ // FIXME: in table, required indicator is only inside the float label
380
+ .mat-mdc-floating-label {
381
+ display: none;
382
+ visibility: hidden;
383
+ }
384
+
385
+ &.mat-form-field-hide-placeholder .mat-mdc-select-placeholder {
386
+ /* TODO use variables select theme */
387
+ color: rgba(0, 0, 0, 0.6) !important;
388
+ -webkit-text-fill-color: rgba(0, 0, 0, 0.6) !important;
389
+ }
390
+
391
+ mat-error {
392
+ //font-size: ;
393
+ //--mdc-typography-caption-font-size: 10px;
394
+ font-size: 10px;
395
+ }
396
+
397
+ } // .mat-mdc-form-field
398
+
399
+
400
+ .mat-boolean-field-radio.mat-mdc-form-field-appearance-fill .mat-mdc-form-field-infix,
401
+ .mat-boolean-field-radio .mat-mdc-form-field-infix {
402
+ // Reduce top border (because of radio height)
403
+ border-top: 0.5em solid transparent !important;
404
+ }
405
+
406
+ .mat-boolean-field-checkbox.mat-mdc-form-field-appearance-fill .mat-mdc-form-field-infix,
407
+ .mat-boolean-field-checkbox .mat-mdc-form-field-infix {
408
+ // Increase top border (because of checkbox height)
409
+ padding-top: 0.4em;
410
+ }
411
+
412
+ .mat-boolean-field-button.mat-mdc-form-field-appearance-fill .mat-mdc-form-field-infix,
413
+ .mat-boolean-field-button .mat-mdc-form-field-infix {
414
+ // Increase top border (because of button height)
415
+ padding-top: 0.4em;
416
+ }
417
+
418
+ .mat-cell > .ion-text-nowrap {
419
+ width: 100%;
420
+ overflow: hidden;
421
+ text-overflow: ellipsis;
422
+ white-space: pre;
423
+ }
424
+
425
+ /* Show when hover row */
426
+ .mat-cell .visible-hover-row {
427
+ visibility: hidden;
428
+ }
429
+
430
+ &:hover {
431
+ .mat-cell .visible-hover-row {
432
+ visibility: visible;
433
+ }
434
+ }
435
+
436
+ .mat-cell .avatar {
437
+ color: #d9d9d9;
438
+ background-color: #f8f8f8;
439
+ border: solid 1px #d9d9d9;
440
+ overflow: hidden !important;
441
+ width: 40px;
442
+ height: 40px;
443
+ border-radius: 50%;
444
+ display: inline-block;
445
+ }
446
+ }
447
+
448
+ /* Special case to have small row */
449
+ &.compact .mat-mdc-row,
450
+ .mat-mdc-row.mat-row-small {
451
+ min-height: inherit;
452
+ --mat-row-height: 33px;
453
+ --mat-row-max-height: 33px;
454
+ }
455
+
456
+ .mat-mdc-row.mat-row-small .mat-cell,
457
+ .mat-mdc-row .mat-cell.mat-row-small {
458
+ line-height: 15px;
459
+ @include font-size(12px);
460
+ }
461
+
462
+ .mat-row-height-auto { // todo useful ?
463
+ max-height: unset !important;
464
+ }
465
+
466
+ // Make smaller row
467
+ // NOTE : useless on angular 15
468
+ //&.compact {
469
+ // --mat-row-height: 33px;
470
+ //
471
+ // // TODO test it ! then remove is not need
472
+ // .mat-mdc-row {
473
+ //
474
+ // ion-label {
475
+ // display: inline-block;
476
+ // margin-top: 5px;
477
+ // width: 100%;
478
+ // overflow: hidden;
479
+ // white-space: nowrap;
480
+ // text-overflow: ellipsis;
481
+ // }
482
+ //
483
+ // .mat-badge-content {
484
+ // top: -2px;
485
+ // }
486
+ //
487
+ // .mat-icon-button {
488
+ // height: 32px;
489
+ // width: 32px;
490
+ // line-height: 32px;
491
+ // }
492
+ //
493
+ // .mat-mdc-form-field-underline {
494
+ // bottom: 6px !important;
495
+ // }
496
+ //
497
+ // .mat-mdc-form-field {
498
+ //
499
+ // .mat-mdc-form-field-wrapper {
500
+ // max-height: 32px;
501
+ //
502
+ // .mat-mdc-form-field-flex {
503
+ //
504
+ // .mat-mdc-form-field-infix {
505
+ // max-height: 32px;
506
+ // padding-top: 0;
507
+ // border-top-width: 10px;
508
+ //
509
+ // .mat-mdc-form-field-label-wrapper {
510
+ //
511
+ // .mat-mdc-form-field-label {
512
+ // top: 12px;
513
+ // }
514
+ // }
515
+ //
516
+ // .mat-checkbox {
517
+ // display: block;
518
+ // position: absolute;
519
+ // top: -2px;
520
+ //
521
+ // .mat-checkbox-ripple {
522
+ // height: 32px;
523
+ // width: 32px;
524
+ // left: calc(50% - 16px);
525
+ // top: calc(50% - 16px);
526
+ // }
527
+ // }
528
+ // }
529
+ // }
530
+ //
531
+ // // make click on mat-error transfer to input
532
+ // //.mat-mdc-form-field-subscript-wrapper {
533
+ // // pointer-events: none;
534
+ // //}
535
+ //
536
+ // mat-error {
537
+ // margin-top: 10px;
538
+ // }
539
+ // }
540
+ // }
541
+ // }
542
+ //}
543
+ }
544
+
545
+ .mat-paginator-footer {
546
+ height: var(--app-paginator-height);
547
+ background-color: whitesmoke;
548
+
549
+ .mat-mdc-paginator-outer-container {
550
+ height: var(--app-paginator-height);
551
+ overflow-y: hidden;
552
+
553
+ .mat-mdc-paginator-container {
554
+ height: var(--app-paginator-height);
555
+ min-height: unset;
556
+ margin-top: 3px;
557
+
558
+ button {
559
+ height: var(--app-paginator-height);
560
+ width: var(--app-paginator-height);
561
+ //line-height: var(--app-paginator-height);
562
+ padding: 6px;
563
+
564
+ .mat-mdc-button-touch-target {
565
+ height: var(--app-paginator-height);
566
+ width: var(--app-paginator-height);
567
+ }
568
+
569
+ }
570
+ }
571
+ }
572
+ }
573
+
574
+ html.plt-mobile {
575
+
576
+ .mat-paginator-footer {
577
+ .mat-paginator-outer-container {
578
+ .mat-paginator-container {
579
+
580
+ // Move paginator to the left,
581
+ // because floating button are on the right
582
+ margin-top: 0 !important;
583
+ justify-content: flex-start;
584
+
585
+ // Hide page size (not need on small screens)
586
+ .mat-paginator-page-size {
587
+ visibility: hidden;
588
+ display: none;
589
+ }
590
+ }
591
+ }
592
+ }
593
+ }
@@ -32,3 +32,4 @@ $roboto-font-path: '~roboto-fontface/fonts/roboto';
32
32
  // Import SUMARiS style
33
33
  // --------------------------------------------------
34
34
  @import "ngx-components";
35
+ @import "ngx-components.table";
@@ -1,79 +0,0 @@
1
- import { Directive, Injectable } from '@angular/core';
2
- import { firstValueFrom, of, shareReplay, tap } from 'rxjs';
3
- import { catchError } from 'rxjs/operators';
4
- import { isNotNilOrBlank } from '../app/shared/functions';
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "@angular/common/http";
7
- export class EnvironmentLoader {
8
- }
9
- EnvironmentLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EnvironmentLoader, deps: [], target: i0.ɵɵFactoryTarget.Directive });
10
- EnvironmentLoader.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: EnvironmentLoader, ngImport: i0 });
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EnvironmentLoader, decorators: [{
12
- type: Directive
13
- }] });
14
- export class EnvironmentHttpLoader extends EnvironmentLoader {
15
- constructor(http, defaultEnvironment) {
16
- super();
17
- this.http = http;
18
- this._logPrefix = '[environment-loader] ';
19
- this._loaded = false;
20
- // Copy default environment (because can be readonly)
21
- this._environment = Object.assign({}, defaultEnvironment || {});
22
- this._externalEnvironmentUrl = this._environment.externalEnvironmentUrl;
23
- this._debug = !this._environment.production;
24
- }
25
- /**
26
- * Get the loaded environment. Should be call after loaded
27
- */
28
- get() {
29
- if (!this._loaded && isNotNilOrBlank(this._externalEnvironmentUrl)) {
30
- console.warn(`${this._logPrefix}EnvironmentHttpLoader.get() should be called AFTER load() finished.`);
31
- }
32
- return this._environment;
33
- }
34
- async load() {
35
- if (this._loaded)
36
- return this._environment; // Already loaded
37
- try {
38
- // If it has an external url
39
- if (isNotNilOrBlank(this._externalEnvironmentUrl)) {
40
- // DEBUG
41
- //await sleep(4000);
42
- // Load external environment file
43
- const json = await this.fetch(this._externalEnvironmentUrl);
44
- // Patch the existing environment
45
- if (json) {
46
- Object.assign(this._environment, json);
47
- }
48
- }
49
- return this._environment;
50
- }
51
- finally {
52
- this._loaded = true;
53
- }
54
- }
55
- /* -- protected function -- */
56
- async fetch(url) {
57
- if (this._debug)
58
- console.debug(`${this._logPrefix}Loading external environment from {${url}}...`);
59
- return firstValueFrom(this.http.get(url).pipe(shareReplay(1), tap((json) => {
60
- if (this._debug)
61
- console.debug(`${this._logPrefix}External environment loaded`, json);
62
- }), catchError((error) => {
63
- if (error.status === 404) {
64
- if (this._debug)
65
- console.error(`${this._logPrefix}External environment not found (404)`);
66
- }
67
- else {
68
- console.error(`${this._logPrefix}Failed to load external environment: ${error.message}`, error);
69
- }
70
- return of(null);
71
- })));
72
- }
73
- }
74
- EnvironmentHttpLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EnvironmentHttpLoader, deps: "invalid", target: i0.ɵɵFactoryTarget.Injectable });
75
- EnvironmentHttpLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EnvironmentHttpLoader });
76
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EnvironmentHttpLoader, decorators: [{
77
- type: Injectable
78
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined }]; } });
79
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW52aXJvbm1lbnQubG9hZGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2Vudmlyb25tZW50cy9lbnZpcm9ubWVudC5sb2FkZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFdEQsT0FBTyxFQUFFLGNBQWMsRUFBRSxFQUFFLEVBQUUsV0FBVyxFQUFFLEdBQUcsRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUM1RCxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFFNUMsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLHlCQUF5QixDQUFDOzs7QUFHMUQsTUFBTSxPQUFnQixpQkFBaUI7OzhHQUFqQixpQkFBaUI7a0dBQWpCLGlCQUFpQjsyRkFBakIsaUJBQWlCO2tCQUR0QyxTQUFTOztBQVFWLE1BQU0sT0FBTyxxQkFBMkQsU0FBUSxpQkFBb0I7SUFRbEcsWUFBc0IsSUFBZ0IsRUFBRSxrQkFBc0I7UUFDNUQsS0FBSyxFQUFFLENBQUM7UUFEWSxTQUFJLEdBQUosSUFBSSxDQUFZO1FBUHJCLGVBQVUsR0FBRyx1QkFBdUIsQ0FBQztRQUk1QyxZQUFPLEdBQUcsS0FBSyxDQUFDO1FBS3hCLHFEQUF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lRnJvbShcbiAgICAgIHRoaXMuaHR0cC5nZXQ8UGFydGlhbDxUPj4odXJsKS5waXBlKFxuICAgICAgICBzaGFyZVJlcGxheSgxKSxcbiAgICAgICAgdGFwKChqc29uKSA9PiB7XG4gICAgICAgICAgaWYgKHRoaXMuX2RlYnVnKSBjb25zb2xlLmRlYnVnKGAke3RoaXMuX2xvZ1ByZWZpeH1FeHRlcm5hbCBlbnZpcm9ubWVudCBsb2FkZWRgLCBqc29uKTtcbiAgICAgICAgfSksXG4gICAgICAgIGNhdGNoRXJyb3IoKGVycm9yKSA9PiB7XG4gICAgICAgICAgaWYgKGVycm9yLnN0YXR1cyA9PT0gNDA0KSB7XG4gICAgICAgICAgICBpZiAodGhpcy5fZGVidWcpIGNvbnNvbGUuZXJyb3IoYCR7dGhpcy5fbG9nUHJlZml4fUV4dGVybmFsIGVudmlyb25tZW50IG5vdCBmb3VuZCAoNDA0KWApO1xuICAgICAgICAgIH1cbiAgICAgICAgICBlbHNlIHtcbiAgICAgICAgICAgIGNvbnNvbGUuZXJyb3IoYCR7dGhpcy5fbG9nUHJlZml4fUZhaWxlZCB0byBsb2FkIGV4dGVybmFsIGVudmlyb25tZW50OiAke2Vycm9yLm1lc3NhZ2V9YCwgZXJyb3IpO1xuICAgICAgICAgIH1cbiAgICAgICAgICByZXR1cm4gb2YobnVsbCk7XG4gICAgICAgIH0pXG4gICAgICApXG4gICAgKTtcbiAgfVxufVxuIl19
@@ -1,7 +0,0 @@
1
- ## How-to generate App Icon and Splash Screen Images
2
-
3
- - Create 1024x1024px icon at resources/icon.png
4
- - Create 2732x2732px splash at resources/splash.png
5
- - Run `npm run resources`
6
-
7
- > see https://dalezak.medium.com/generate-app-icon-and-splash-screen-images-for-ionic-framework-using-capacitor-e1f8c6ef0fd4
@@ -1,6 +0,0 @@
1
- {
2
- "defaultPeer": {
3
- "host": "test.sumaris.net",
4
- "port": 443
5
- }
6
- }