@sumaris-net/ngx-components 2.8.14 → 2.9.0-alpha2

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 (264) hide show
  1. package/doc/changelog.md +6 -0
  2. package/esm2022/src/app/admin/admin-routing.module.mjs +5 -5
  3. package/esm2022/src/app/admin/admin.module.mjs +5 -5
  4. package/esm2022/src/app/admin/services/person.service.mjs +4 -4
  5. package/esm2022/src/app/admin/services/validator/person.validator.mjs +4 -4
  6. package/esm2022/src/app/admin/users/users.mjs +4 -4
  7. package/esm2022/src/app/admin/users/users.module.mjs +5 -5
  8. package/esm2022/src/app/core/about/about.modal.mjs +4 -4
  9. package/esm2022/src/app/core/about/about.module.mjs +5 -5
  10. package/esm2022/src/app/core/account/account.module.mjs +5 -5
  11. package/esm2022/src/app/core/account/account.page.mjs +4 -4
  12. package/esm2022/src/app/core/account/new-token.modal.mjs +4 -4
  13. package/esm2022/src/app/core/account/token.table.mjs +4 -4
  14. package/esm2022/src/app/core/auth/auth.form.mjs +4 -4
  15. package/esm2022/src/app/core/auth/auth.modal.mjs +4 -4
  16. package/esm2022/src/app/core/auth/auth.module.mjs +5 -5
  17. package/esm2022/src/app/core/core.module.mjs +5 -5
  18. package/esm2022/src/app/core/core.testing.module.mjs +5 -5
  19. package/esm2022/src/app/core/form/buttons/form-buttons-bar.component.mjs +4 -4
  20. package/esm2022/src/app/core/form/buttons/form-buttons-bar.module.mjs +5 -5
  21. package/esm2022/src/app/core/form/entity/editor.class.mjs +4 -4
  22. package/esm2022/src/app/core/form/entity/entity-editor-modal.class.mjs +4 -4
  23. package/esm2022/src/app/core/form/entity/entity-editor.class.mjs +4 -4
  24. package/esm2022/src/app/core/form/entity/entity-metadata.component.mjs +4 -4
  25. package/esm2022/src/app/core/form/entity/entity.module.mjs +5 -5
  26. package/esm2022/src/app/core/form/entity/tab-editor.class.mjs +4 -4
  27. package/esm2022/src/app/core/form/form-container.class.mjs +4 -4
  28. package/esm2022/src/app/core/form/form.class.mjs +4 -4
  29. package/esm2022/src/app/core/form/form.module.mjs +5 -5
  30. package/esm2022/src/app/core/form/list/list.form.mjs +4 -4
  31. package/esm2022/src/app/core/form/list/list.module.mjs +5 -5
  32. package/esm2022/src/app/core/form/properties/properties.form.mjs +4 -4
  33. package/esm2022/src/app/core/form/properties/properties.module.mjs +5 -5
  34. package/esm2022/src/app/core/form/properties/properties.table.mjs +7 -7
  35. package/esm2022/src/app/core/form/properties/property.validator.mjs +4 -4
  36. package/esm2022/src/app/core/form/properties/testing/properties-form.test.mjs +4 -4
  37. package/esm2022/src/app/core/form/properties/testing/properties-form.testing.module.mjs +5 -5
  38. package/esm2022/src/app/core/form/text-popover/testing/text-popover.testing.mjs +4 -4
  39. package/esm2022/src/app/core/form/text-popover/testing/text-popover.testing.module.mjs +5 -5
  40. package/esm2022/src/app/core/form/text-popover/text-popover.component.mjs +4 -4
  41. package/esm2022/src/app/core/form/text-popover/text-popover.module.mjs +5 -5
  42. package/esm2022/src/app/core/graphql/graphql.module.mjs +5 -5
  43. package/esm2022/src/app/core/graphql/graphql.service.mjs +4 -4
  44. package/esm2022/src/app/core/home/home.mjs +5 -5
  45. package/esm2022/src/app/core/home/home.module.mjs +5 -5
  46. package/esm2022/src/app/core/icon/icon.component.mjs +4 -4
  47. package/esm2022/src/app/core/icon/icon.module.mjs +5 -5
  48. package/esm2022/src/app/core/install/install-upgrade-card.component.mjs +4 -4
  49. package/esm2022/src/app/core/install/install-upgrade-card.module.mjs +5 -5
  50. package/esm2022/src/app/core/menu/menu.component.mjs +4 -4
  51. package/esm2022/src/app/core/menu/menu.module.mjs +5 -5
  52. package/esm2022/src/app/core/menu/menu.service.mjs +4 -4
  53. package/esm2022/src/app/core/menu/sub-menu-tab.directive.mjs +4 -4
  54. package/esm2022/src/app/core/menu/testing/menu-other.testing.mjs +4 -4
  55. package/esm2022/src/app/core/menu/testing/menu.testing.mjs +4 -4
  56. package/esm2022/src/app/core/menu/testing/menu.testing.module.mjs +5 -5
  57. package/esm2022/src/app/core/offline/update-offline-mode-card.component.mjs +4 -4
  58. package/esm2022/src/app/core/offline/update-offline-mode-card.module.mjs +5 -5
  59. package/esm2022/src/app/core/peer/select-peer.modal.mjs +28 -17
  60. package/esm2022/src/app/core/peer/select-peer.module.mjs +5 -5
  61. package/esm2022/src/app/core/register/register-confirm.page.mjs +4 -4
  62. package/esm2022/src/app/core/register/register.form.mjs +4 -4
  63. package/esm2022/src/app/core/register/register.modal.mjs +4 -4
  64. package/esm2022/src/app/core/register/register.module.mjs +5 -5
  65. package/esm2022/src/app/core/services/account.service.mjs +4 -4
  66. package/esm2022/src/app/core/services/auth-guard.service.mjs +4 -4
  67. package/esm2022/src/app/core/services/base-entity-service.class.mjs +4 -4
  68. package/esm2022/src/app/core/services/base-graphql-service.class.mjs +4 -4
  69. package/esm2022/src/app/core/services/config.service.mjs +4 -4
  70. package/esm2022/src/app/core/services/crypto.service.mjs +4 -4
  71. package/esm2022/src/app/core/services/local-settings.service.mjs +4 -4
  72. package/esm2022/src/app/core/services/network.service.mjs +4 -4
  73. package/esm2022/src/app/core/services/pipes/account.pipes.mjs +9 -9
  74. package/esm2022/src/app/core/services/pipes/department-to-string.pipe.mjs +5 -5
  75. package/esm2022/src/app/core/services/pipes/person-to-string.pipe.mjs +5 -5
  76. package/esm2022/src/app/core/services/pipes/pipes.module.mjs +5 -5
  77. package/esm2022/src/app/core/services/pipes/referential-to-string.pipe.mjs +4 -4
  78. package/esm2022/src/app/core/services/pipes/usage-mode.pipes.mjs +9 -9
  79. package/esm2022/src/app/core/services/platform.service.mjs +4 -4
  80. package/esm2022/src/app/core/services/storage/entities-storage.service.mjs +4 -4
  81. package/esm2022/src/app/core/services/testing/referential.validator.mjs +4 -4
  82. package/esm2022/src/app/core/services/validator/account.validator.mjs +4 -4
  83. package/esm2022/src/app/core/services/validator/base.validator.class.mjs +4 -4
  84. package/esm2022/src/app/core/services/validator/local-settings.validator.mjs +4 -4
  85. package/esm2022/src/app/core/services/validator/user-settings.validator.mjs +4 -4
  86. package/esm2022/src/app/core/services/validator/user-token.validator.mjs +4 -4
  87. package/esm2022/src/app/core/settings/settings.module.mjs +5 -5
  88. package/esm2022/src/app/core/settings/settings.page.mjs +7 -5
  89. package/esm2022/src/app/core/table/actions-column.component.mjs +4 -4
  90. package/esm2022/src/app/core/table/async-table.class.mjs +4 -4
  91. package/esm2022/src/app/core/table/entities-async-table-datasource.class.mjs +4 -4
  92. package/esm2022/src/app/core/table/entities-table-datasource.class.mjs +4 -4
  93. package/esm2022/src/app/core/table/memory-table.class.mjs +4 -4
  94. package/esm2022/src/app/core/table/row-field.component.mjs +4 -4
  95. package/esm2022/src/app/core/table/table-select-columns.component.mjs +4 -4
  96. package/esm2022/src/app/core/table/table.class.mjs +4 -4
  97. package/esm2022/src/app/core/table/table.module.mjs +5 -5
  98. package/esm2022/src/app/core/table/table.pipes.mjs +10 -10
  99. package/esm2022/src/app/core/table/testing/table-validator.service.mjs +4 -4
  100. package/esm2022/src/app/core/table/testing/table.testing.mjs +5 -5
  101. package/esm2022/src/app/core/table/testing/table.testing.module.mjs +5 -5
  102. package/esm2022/src/app/core/table/testing/table2-validator.service.mjs +4 -4
  103. package/esm2022/src/app/core/table/testing/table2.testing.mjs +5 -5
  104. package/esm2022/src/app/shared/audio/audio.mjs +4 -4
  105. package/esm2022/src/app/shared/audio/audio.testing.mjs +4 -4
  106. package/esm2022/src/app/shared/audio/audio.testing.module.mjs +5 -5
  107. package/esm2022/src/app/shared/capacitor/keyboard.mjs +4 -4
  108. package/esm2022/src/app/shared/debug/debug.component.mjs +4 -4
  109. package/esm2022/src/app/shared/debug/debug.module.mjs +5 -5
  110. package/esm2022/src/app/shared/directives/autofocus.directive.mjs +4 -4
  111. package/esm2022/src/app/shared/directives/autotitle.directive.mjs +4 -4
  112. package/esm2022/src/app/shared/directives/directives.module.mjs +5 -5
  113. package/esm2022/src/app/shared/directives/drag-and-drop.directive.mjs +4 -4
  114. package/esm2022/src/app/shared/directives/ng-var.directive.mjs +4 -4
  115. package/esm2022/src/app/shared/directives/resizable/resizable.component.mjs +4 -4
  116. package/esm2022/src/app/shared/directives/resizable/resizable.directive.mjs +4 -4
  117. package/esm2022/src/app/shared/directives/resizable/resizable.module.mjs +5 -5
  118. package/esm2022/src/app/shared/file/file.service.mjs +4 -4
  119. package/esm2022/src/app/shared/form/field.component.mjs +5 -5
  120. package/esm2022/src/app/shared/form/loading-spinner.mjs +4 -4
  121. package/esm2022/src/app/shared/gesture/gesture-config.mjs +4 -4
  122. package/esm2022/src/app/shared/guard/component-dirty.guard.mjs +4 -4
  123. package/esm2022/src/app/shared/help/help.modal.mjs +4 -4
  124. package/esm2022/src/app/shared/hotkeys/dialog/hotkeys-dialog.component.mjs +4 -4
  125. package/esm2022/src/app/shared/hotkeys/hotkeys.service.mjs +4 -4
  126. package/esm2022/src/app/shared/hotkeys/shared-hotkeys.module.mjs +5 -5
  127. package/esm2022/src/app/shared/image/gallery/image-gallery.component.mjs +4 -4
  128. package/esm2022/src/app/shared/image/gallery/image-gallery.module.mjs +5 -5
  129. package/esm2022/src/app/shared/image/gallery/testing/gallery.service.testing.mjs +4 -4
  130. package/esm2022/src/app/shared/image/gallery/testing/gallery.testing.mjs +4 -4
  131. package/esm2022/src/app/shared/image/gallery/testing/gallery.testing.module.mjs +5 -5
  132. package/esm2022/src/app/shared/image/image.module.mjs +5 -5
  133. package/esm2022/src/app/shared/image/image.service.mjs +4 -4
  134. package/esm2022/src/app/shared/logging/logging-service.class.mjs +4 -4
  135. package/esm2022/src/app/shared/logging/logging-service.module.mjs +5 -5
  136. package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.mjs +80 -42
  137. package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.module.mjs +10 -7
  138. package/esm2022/src/app/shared/material/autocomplete/testing/autocomplete.test.mjs +7 -5
  139. package/esm2022/src/app/shared/material/badge/badge.directive.mjs +4 -4
  140. package/esm2022/src/app/shared/material/badge/badge.module.mjs +5 -5
  141. package/esm2022/src/app/shared/material/badge/badge.test.mjs +4 -4
  142. package/esm2022/src/app/shared/material/boolean/boolean.module.mjs +5 -5
  143. package/esm2022/src/app/shared/material/boolean/material.boolean.mjs +4 -4
  144. package/esm2022/src/app/shared/material/boolean/testing/boolean.test.page.mjs +4 -4
  145. package/esm2022/src/app/shared/material/chips/chips.module.mjs +5 -5
  146. package/esm2022/src/app/shared/material/chips/material.chips.mjs +77 -64
  147. package/esm2022/src/app/shared/material/chips/testing/chips.test.mjs +4 -4
  148. package/esm2022/src/app/shared/material/datetime/datetime.module.mjs +5 -5
  149. package/esm2022/src/app/shared/material/datetime/material.date.mjs +4 -4
  150. package/esm2022/src/app/shared/material/datetime/material.dateshort.mjs +4 -4
  151. package/esm2022/src/app/shared/material/datetime/material.datetime.mjs +4 -4
  152. package/esm2022/src/app/shared/material/datetime/testing/mat-date-time.test.mjs +4 -4
  153. package/esm2022/src/app/shared/material/datetime/testing/mat-date.test.mjs +4 -4
  154. package/esm2022/src/app/shared/material/datetime/testing/mat-dateshort.test.mjs +4 -4
  155. package/esm2022/src/app/shared/material/duration/duration.module.mjs +5 -5
  156. package/esm2022/src/app/shared/material/duration/material.duration.mjs +4 -4
  157. package/esm2022/src/app/shared/material/duration/testing/mat-duration.test.mjs +4 -4
  158. package/esm2022/src/app/shared/material/latlong/material.latlong.mjs +4 -4
  159. package/esm2022/src/app/shared/material/latlong/material.latlong.module.mjs +5 -5
  160. package/esm2022/src/app/shared/material/latlong/testing/latlong.test.mjs +4 -4
  161. package/esm2022/src/app/shared/material/material.module.mjs +5 -5
  162. package/esm2022/src/app/shared/material/material.testing.module.mjs +5 -5
  163. package/esm2022/src/app/shared/material/paginator/material.paginator-i18n.mjs +4 -4
  164. package/esm2022/src/app/shared/material/stepper/material.stepper-i18n.mjs +4 -4
  165. package/esm2022/src/app/shared/material/swipe/material.swipe.mjs +4 -4
  166. package/esm2022/src/app/shared/material/swipe/swipe.module.mjs +5 -5
  167. package/esm2022/src/app/shared/material/swipe/testing/swipe.test.mjs +4 -4
  168. package/esm2022/src/app/shared/material/testing/common.test.mjs +4 -4
  169. package/esm2022/src/app/shared/material/text/testing/text-form.testing.mjs +4 -4
  170. package/esm2022/src/app/shared/material/text/text-form.component.mjs +4 -4
  171. package/esm2022/src/app/shared/material/text/text-form.module.mjs +5 -5
  172. package/esm2022/src/app/shared/named-filter/named-filter-selector.component.mjs +4 -4
  173. package/esm2022/src/app/shared/named-filter/named-filter.module.mjs +5 -5
  174. package/esm2022/src/app/shared/named-filter/named-filter.service.mjs +4 -4
  175. package/esm2022/src/app/shared/pipes/arrays.pipe.mjs +28 -28
  176. package/esm2022/src/app/shared/pipes/badge.pipes.mjs +4 -4
  177. package/esm2022/src/app/shared/pipes/colors.pipe.mjs +4 -4
  178. package/esm2022/src/app/shared/pipes/date-diff-duration.pipe.mjs +5 -5
  179. package/esm2022/src/app/shared/pipes/date-format.pipe.mjs +7 -7
  180. package/esm2022/src/app/shared/pipes/date-from-now.pipe.mjs +5 -5
  181. package/esm2022/src/app/shared/pipes/duration.pipe.mjs +5 -5
  182. package/esm2022/src/app/shared/pipes/file-size.pipe.mjs +4 -4
  183. package/esm2022/src/app/shared/pipes/form.pipes.mjs +19 -19
  184. package/esm2022/src/app/shared/pipes/highlight.pipe.mjs +5 -5
  185. package/esm2022/src/app/shared/pipes/latlong-format.pipe.mjs +10 -10
  186. package/esm2022/src/app/shared/pipes/maps.pipe.mjs +13 -13
  187. package/esm2022/src/app/shared/pipes/maskito.pipe.mjs +4 -4
  188. package/esm2022/src/app/shared/pipes/math.pipes.mjs +13 -13
  189. package/esm2022/src/app/shared/pipes/ng-init.pipe.mjs +4 -4
  190. package/esm2022/src/app/shared/pipes/number-format.pipe.mjs +5 -5
  191. package/esm2022/src/app/shared/pipes/pipes.module.mjs +5 -5
  192. package/esm2022/src/app/shared/pipes/property.pipes.mjs +15 -15
  193. package/esm2022/src/app/shared/pipes/selection.pipes.mjs +22 -22
  194. package/esm2022/src/app/shared/pipes/string.pipes.mjs +31 -31
  195. package/esm2022/src/app/shared/pipes/translate-context.pipe.mjs +9 -9
  196. package/esm2022/src/app/shared/pipes/types.pipes.mjs +13 -13
  197. package/esm2022/src/app/shared/rx-state.module.mjs +5 -5
  198. package/esm2022/src/app/shared/services/memory-entity-service.class.mjs +4 -4
  199. package/esm2022/src/app/shared/services/progress-bar.service.mjs +4 -4
  200. package/esm2022/src/app/shared/services/startable-observable-service.class.mjs +4 -4
  201. package/esm2022/src/app/shared/services/startable-service.class.mjs +4 -4
  202. package/esm2022/src/app/shared/services/translate-context.service.mjs +4 -4
  203. package/esm2022/src/app/shared/shared-routing.module.mjs +8 -8
  204. package/esm2022/src/app/shared/shared.module.mjs +5 -5
  205. package/esm2022/src/app/shared/shared.testing.module.mjs +5 -5
  206. package/esm2022/src/app/shared/storage/storage-explorer.component.mjs +4 -4
  207. package/esm2022/src/app/shared/storage/storage-explorer.module.mjs +5 -5
  208. package/esm2022/src/app/shared/storage/storage-explorer.testing-routing.module.mjs +5 -5
  209. package/esm2022/src/app/shared/storage/storage-explorer.testing.module.mjs +5 -5
  210. package/esm2022/src/app/shared/storage/storage.service.mjs +4 -4
  211. package/esm2022/src/app/shared/testing/observable.test.mjs +4 -4
  212. package/esm2022/src/app/shared/testing/tests.page.mjs +4 -4
  213. package/esm2022/src/app/shared/toast/toast.testing.mjs +4 -4
  214. package/esm2022/src/app/shared/toast/toast.testing.module.mjs +5 -5
  215. package/esm2022/src/app/shared/toolbar/modal-toolbar.mjs +4 -4
  216. package/esm2022/src/app/shared/toolbar/toolbar.mjs +4 -4
  217. package/esm2022/src/app/shared/toolbar/toolbar.module.mjs +5 -5
  218. package/esm2022/src/app/shared/upload-file/testing/upload-file.testing.mjs +4 -4
  219. package/esm2022/src/app/shared/upload-file/testing/upload-file.testing.module.mjs +5 -5
  220. package/esm2022/src/app/shared/upload-file/upload-file-popover.component.mjs +4 -4
  221. package/esm2022/src/app/shared/upload-file/upload-file.component.mjs +4 -4
  222. package/esm2022/src/app/shared/validator/form-error-adapter.class.mjs +4 -4
  223. package/esm2022/src/app/social/job/job.module.mjs +5 -5
  224. package/esm2022/src/app/social/job/progression/job-progression.component.mjs +4 -4
  225. package/esm2022/src/app/social/job/progression/job-progression.icon.mjs +4 -4
  226. package/esm2022/src/app/social/job/progression/job-progression.list.mjs +4 -4
  227. package/esm2022/src/app/social/job/progression/job-progression.service.mjs +4 -4
  228. package/esm2022/src/app/social/job/testing/job-progression.testing.mjs +4 -4
  229. package/esm2022/src/app/social/job/testing/job-progression.testing.service.mjs +4 -4
  230. package/esm2022/src/app/social/job/testing/job.testing.module.mjs +5 -5
  231. package/esm2022/src/app/social/message/message.form.mjs +4 -4
  232. package/esm2022/src/app/social/message/message.modal.mjs +4 -4
  233. package/esm2022/src/app/social/message/message.module.mjs +5 -5
  234. package/esm2022/src/app/social/message/message.service.mjs +4 -4
  235. package/esm2022/src/app/social/social.module.mjs +5 -5
  236. package/esm2022/src/app/social/social.testing.module.mjs +5 -5
  237. package/esm2022/src/app/social/user-event/notification/user-event-notification.icon.mjs +4 -4
  238. package/esm2022/src/app/social/user-event/notification/user-event-notification.list.mjs +4 -4
  239. package/esm2022/src/app/social/user-event/testing/user-event.testing.mjs +4 -4
  240. package/esm2022/src/app/social/user-event/testing/user-event.testing.module.mjs +5 -5
  241. package/esm2022/src/app/social/user-event/testing/user-event.testing.service.mjs +4 -4
  242. package/esm2022/src/app/social/user-event/user-event.module.mjs +5 -5
  243. package/esm2022/src/app/social/user-event/user-event.service.mjs +4 -4
  244. package/esm2022/src/environments/environment.class.mjs +3 -1
  245. package/esm2022/src/environments/environment.loader.mjs +4 -4
  246. package/fesm2022/sumaris-net.ngx-components.mjs +1153 -1083
  247. package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
  248. package/package.json +2 -2
  249. package/src/app/core/peer/select-peer.modal.d.ts +13 -7
  250. package/src/app/shared/material/autocomplete/material.autocomplete.d.ts +19 -3
  251. package/src/app/shared/material/autocomplete/material.autocomplete.module.d.ts +1 -1
  252. package/src/app/shared/material/chips/material.chips.d.ts +27 -16
  253. package/src/assets/i18n/en-US.json +2 -0
  254. package/src/assets/i18n/en.json +2 -0
  255. package/src/assets/i18n/fr.json +2 -0
  256. package/src/assets/manifest.json +1 -1
  257. package/src/environments/environment.class.d.ts +1 -0
  258. package/src/theme/_functions.scss +15 -0
  259. package/src/theme/_mixins.scss +28 -12
  260. package/src/theme/_ngx-components.forms.scss +18 -0
  261. package/src/theme/_ngx-components.globals.scss +1 -0
  262. package/src/theme/_ngx-components.scss +55 -15
  263. package/src/theme/_ngx-components.table.scss +5 -2
  264. package/src/theme/_theme.variables.scss +94 -72
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sumaris-net/ngx-components",
3
3
  "description": "SUMARiS Angular components",
4
- "version": "2.8.14",
4
+ "version": "2.9.0-alpha2",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -67,7 +67,7 @@
67
67
  "url": "https://gitlab.ifremer.fr/sih-public/sumaris/ngx-sumaris-components/-/issues"
68
68
  },
69
69
  "engines": {
70
- "node": ">= 18.18.2",
70
+ "node": ">= 18.19.0",
71
71
  "npm": ">= 9.9.1",
72
72
  "yarn": ">= 1.22.19"
73
73
  },
@@ -13,6 +13,7 @@ export interface ISelectPeerModalOptions {
13
13
  allowSelectDownPeer: boolean;
14
14
  onRefresh: EventEmitter<Event>;
15
15
  showSetManuallyButton: boolean;
16
+ selectedPeer?: string;
16
17
  }
17
18
  export declare class SelectPeerModal implements OnDestroy, ISelectPeerModalOptions {
18
19
  private modalCtrl;
@@ -24,14 +25,16 @@ export declare class SelectPeerModal implements OnDestroy, ISelectPeerModalOptio
24
25
  protected loggingService?: ILoggingService;
25
26
  private _subscription;
26
27
  private readonly _logger;
27
- loading: boolean;
28
- mobile: boolean;
29
- $peers: Subject<Peer[]>;
30
- peerMinVersion: string;
28
+ protected loading: boolean;
29
+ protected mobile: boolean;
30
+ protected $peers: Subject<Peer[]>;
31
+ protected peerMinVersion: string;
32
+ protected peerDefaultPrefix: string;
33
+ selectedPeer: string;
31
34
  canCancel: boolean;
32
35
  allowSelectDownPeer: boolean;
33
- onRefresh: EventEmitter<Event>;
34
36
  showSetManuallyButton: boolean;
37
+ onRefresh: EventEmitter<Event>;
35
38
  constructor(modalCtrl: ModalController, popoverController: PopoverController, translate: TranslateService, http: HttpClient, cd: ChangeDetectorRef, environment: Environment, loggingService?: ILoggingService);
36
39
  set peers(peers: Observable<Peer[]>);
37
40
  cancel(): void;
@@ -43,12 +46,15 @@ export declare class SelectPeerModal implements OnDestroy, ISelectPeerModalOptio
43
46
  * @param peer
44
47
  */
45
48
  isCompatible(peer: Peer): boolean;
46
- refresh(event: any): void;
49
+ refresh(event: Event): void;
47
50
  clickSetManually(event?: Event): Promise<void>;
48
51
  refreshPeers(peers: Peer[]): Promise<void>;
49
52
  protected refreshPeer(peer: Peer): Promise<Peer>;
50
53
  protected openPeerUrlPopover(event: Event, opts?: Partial<TextPopoverOptions>): Promise<any>;
51
54
  protected markForCheck(): void;
52
55
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectPeerModal, [null, null, null, null, null, null, { optional: true; }]>;
53
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectPeerModal, "select-peer-modal", never, { "canCancel": { "alias": "canCancel"; "required": false; }; "allowSelectDownPeer": { "alias": "allowSelectDownPeer"; "required": false; }; "onRefresh": { "alias": "onRefresh"; "required": false; }; "showSetManuallyButton": { "alias": "showSetManuallyButton"; "required": false; }; }, {}, never, never, false, never>;
56
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectPeerModal, "select-peer-modal", never, { "selectedPeer": { "alias": "selectedPeer"; "required": false; }; "canCancel": { "alias": "canCancel"; "required": false; }; "allowSelectDownPeer": { "alias": "allowSelectDownPeer"; "required": false; }; "showSetManuallyButton": { "alias": "showSetManuallyButton"; "required": false; }; "onRefresh": { "alias": "onRefresh"; "required": false; }; }, {}, never, never, false, never>;
57
+ static ngAcceptInputType_canCancel: unknown;
58
+ static ngAcceptInputType_allowSelectDownPeer: unknown;
59
+ static ngAcceptInputType_showSetManuallyButton: unknown;
54
60
  }
@@ -5,7 +5,7 @@ import { SuggestFn } from '../../services/entity-service.class';
5
5
  import { InputElement } from '../../inputs';
6
6
  import { AppFloatLabelType, DisplayFn, EqualsFn } from '../../form/field.model';
7
7
  import { MatFormFieldAppearance, SubscriptSizing } from '@angular/material/form-field';
8
- import { MatSelect } from '@angular/material/select';
8
+ import { MatOption, MatSelect } from '@angular/material/select';
9
9
  import { MatAutocomplete, MatAutocompleteTrigger } from '@angular/material/autocomplete';
10
10
  import { IonSearchbar, ModalController } from '@ionic/angular';
11
11
  import { MatAutocompleteFieldConfig } from './material.autocomplete.config';
@@ -58,7 +58,7 @@ export declare class MatAutocompleteField implements OnInit, AfterViewInit, OnDe
58
58
  config: MatAutocompleteFieldConfig;
59
59
  i18nPrefix: string;
60
60
  noResultMessage: string;
61
- classList: string;
61
+ panelClass: string;
62
62
  panelWidth: string;
63
63
  matAutocompletePosition: 'auto' | 'above' | 'below';
64
64
  multiple: boolean;
@@ -68,9 +68,11 @@ export declare class MatAutocompleteField implements OnInit, AfterViewInit, OnDe
68
68
  debug: boolean;
69
69
  showSearchBar: boolean;
70
70
  stickySearchBar: boolean;
71
+ disableRipple: boolean;
71
72
  applyImplicitValue: boolean | (() => boolean);
72
73
  dropButtonTitle: string;
73
74
  clearButtonTitle: string;
75
+ sortComparator: (a: MatOption, b: MatOption, options: MatOption[]) => number;
74
76
  clicked: EventEmitter<MouseEvent>;
75
77
  blurred: EventEmitter<FocusEvent>;
76
78
  focused: EventEmitter<FocusEvent>;
@@ -140,5 +142,19 @@ export declare class MatAutocompleteField implements OnInit, AfterViewInit, OnDe
140
142
  */
141
143
  private _fixSearchbarOverlay;
142
144
  static ɵfac: i0.ɵɵFactoryDeclaration<MatAutocompleteField, [null, null, null, null, { optional: true; }]>;
143
- static ɵcmp: i0.ɵɵComponentDeclaration<MatAutocompleteField, "mat-autocomplete-field", never, { "equals": { "alias": "equals"; "required": false; }; "logPrefix": { "alias": "logPrefix"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "subscriptSizing": { "alias": "subscriptSizing"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "suggestFn": { "alias": "suggestFn"; "required": false; }; "required": { "alias": "required"; "required": false; }; "mobile": { "alias": "mobile"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "debounceTime": { "alias": "debounceTime"; "required": false; }; "displayWith": { "alias": "displayWith"; "required": false; }; "displayAttributes": { "alias": "displayAttributes"; "required": false; }; "displayColumnSizes": { "alias": "displayColumnSizes"; "required": false; }; "displayColumnNames": { "alias": "displayColumnNames"; "required": false; }; "highlightAccent": { "alias": "highlightAccent"; "required": false; }; "showAllOnFocus": { "alias": "showAllOnFocus"; "required": false; }; "showPanelOnFocus": { "alias": "showPanelOnFocus"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "config": { "alias": "config"; "required": false; }; "i18nPrefix": { "alias": "i18nPrefix"; "required": false; }; "noResultMessage": { "alias": "noResultMessage"; "required": false; }; "classList": { "alias": "class"; "required": false; }; "panelWidth": { "alias": "panelWidth"; "required": false; }; "matAutocompletePosition": { "alias": "matAutocompletePosition"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "fetchMoreThreshold": { "alias": "fetchMoreThreshold"; "required": false; }; "suggestLengthThreshold": { "alias": "suggestLengthThreshold"; "required": false; }; "showLoadingSpinner": { "alias": "showLoadingSpinner"; "required": false; }; "debug": { "alias": "debug"; "required": false; }; "showSearchBar": { "alias": "showSearchBar"; "required": false; }; "stickySearchBar": { "alias": "stickySearchBar"; "required": false; }; "applyImplicitValue": { "alias": "applyImplicitValue"; "required": false; }; "dropButtonTitle": { "alias": "dropButtonTitle"; "required": false; }; "clearButtonTitle": { "alias": "clearButtonTitle"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, { "clicked": "click"; "blurred": "blur"; "focused": "focus"; "dropButtonClick": "dropButtonClick"; "keydownEscape": "keydown.escape"; "keyupEnter": "keyup.enter"; }, never, ["[matAfter]", "[matPrefix]", "[matSuffix]", "mat-error,[matError]", "mat-hint:not([align='end']),[matHint]", "mat-hint[align='end']"], false, never>;
145
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatAutocompleteField, "mat-autocomplete-field", never, { "equals": { "alias": "equals"; "required": false; }; "logPrefix": { "alias": "logPrefix"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "subscriptSizing": { "alias": "subscriptSizing"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "suggestFn": { "alias": "suggestFn"; "required": false; }; "required": { "alias": "required"; "required": false; }; "mobile": { "alias": "mobile"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "debounceTime": { "alias": "debounceTime"; "required": false; }; "displayWith": { "alias": "displayWith"; "required": false; }; "displayAttributes": { "alias": "displayAttributes"; "required": false; }; "displayColumnSizes": { "alias": "displayColumnSizes"; "required": false; }; "displayColumnNames": { "alias": "displayColumnNames"; "required": false; }; "highlightAccent": { "alias": "highlightAccent"; "required": false; }; "showAllOnFocus": { "alias": "showAllOnFocus"; "required": false; }; "showPanelOnFocus": { "alias": "showPanelOnFocus"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "config": { "alias": "config"; "required": false; }; "i18nPrefix": { "alias": "i18nPrefix"; "required": false; }; "noResultMessage": { "alias": "noResultMessage"; "required": false; }; "panelClass": { "alias": "class"; "required": false; }; "panelWidth": { "alias": "panelWidth"; "required": false; }; "matAutocompletePosition": { "alias": "matAutocompletePosition"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "fetchMoreThreshold": { "alias": "fetchMoreThreshold"; "required": false; }; "suggestLengthThreshold": { "alias": "suggestLengthThreshold"; "required": false; }; "showLoadingSpinner": { "alias": "showLoadingSpinner"; "required": false; }; "debug": { "alias": "debug"; "required": false; }; "showSearchBar": { "alias": "showSearchBar"; "required": false; }; "stickySearchBar": { "alias": "stickySearchBar"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; "applyImplicitValue": { "alias": "applyImplicitValue"; "required": false; }; "dropButtonTitle": { "alias": "dropButtonTitle"; "required": false; }; "clearButtonTitle": { "alias": "clearButtonTitle"; "required": false; }; "sortComparator": { "alias": "sortComparator"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, { "clicked": "click"; "blurred": "blur"; "focused": "focus"; "dropButtonClick": "dropButtonClick"; "keydownEscape": "keydown.escape"; "keyupEnter": "keyup.enter"; }, never, ["[matAfter]", "[matPrefix]", "[matSuffix]", "mat-error,[matError]", "mat-hint:not([align='end']),[matHint]", "mat-hint[align='end']"], false, never>;
146
+ static ngAcceptInputType_required: unknown;
147
+ static ngAcceptInputType_mobile: unknown;
148
+ static ngAcceptInputType_clearable: unknown;
149
+ static ngAcceptInputType_debounceTime: unknown;
150
+ static ngAcceptInputType_highlightAccent: unknown;
151
+ static ngAcceptInputType_showAllOnFocus: unknown;
152
+ static ngAcceptInputType_showPanelOnFocus: unknown;
153
+ static ngAcceptInputType_autofocus: unknown;
154
+ static ngAcceptInputType_multiple: unknown;
155
+ static ngAcceptInputType_showLoadingSpinner: unknown;
156
+ static ngAcceptInputType_debug: unknown;
157
+ static ngAcceptInputType_showSearchBar: unknown;
158
+ static ngAcceptInputType_stickySearchBar: unknown;
159
+ static ngAcceptInputType_disableRipple: unknown;
144
160
  }
@@ -17,6 +17,6 @@ import * as i15 from "@angular/material/select";
17
17
  import * as i16 from "@ngx-translate/core";
18
18
  export declare class SharedMatAutocompleteModule {
19
19
  static ɵfac: i0.ɵɵFactoryDeclaration<SharedMatAutocompleteModule, never>;
20
- static ɵmod: i0.ɵɵNgModuleDeclaration<SharedMatAutocompleteModule, [typeof i1.MatAutocompleteField], [typeof i2.CommonModule, typeof i3.IonicModule, typeof i4.ScrollingModule, typeof i5.ReactiveFormsModule, typeof i6.SharedPipesModule, typeof i7.SharedDirectivesModule, typeof i8.RxStateModule, typeof i9.MatCommonModule, typeof i10.MatAutocompleteModule, typeof i11.MatFormFieldModule, typeof i12.MatInputModule, typeof i13.MatIconModule, typeof i14.MatButtonModule, typeof i15.MatSelectModule, typeof i16.TranslateModule], [typeof i10.MatAutocompleteModule, typeof i1.MatAutocompleteField]>;
20
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SharedMatAutocompleteModule, [typeof i1.MatAutocompleteField], [typeof i2.CommonModule, typeof i3.IonicModule, typeof i4.ScrollingModule, typeof i5.ReactiveFormsModule, typeof i6.SharedPipesModule, typeof i7.SharedDirectivesModule, typeof i8.RxStateModule, typeof i9.MatCommonModule, typeof i10.MatAutocompleteModule, typeof i11.MatFormFieldModule, typeof i12.MatInputModule, typeof i13.MatIconModule, typeof i14.MatButtonModule, typeof i15.MatSelectModule, typeof i9.MatRippleModule, typeof i16.TranslateModule], [typeof i10.MatAutocompleteModule, typeof i1.MatAutocompleteField]>;
21
21
  static ɵinj: i0.ɵɵInjectorDeclaration<SharedMatAutocompleteModule>;
22
22
  }
@@ -14,6 +14,20 @@ export declare class MatChipsField implements OnInit, OnDestroy, InputElement, C
14
14
  private formGroupDir;
15
15
  private _onChangeCallback;
16
16
  private _onTouchedCallback;
17
+ private _onFetchMoreCallback;
18
+ private _implicitValue;
19
+ private _subscription;
20
+ private _itemsSubscription;
21
+ private _openedSubscription;
22
+ private _$filter;
23
+ private _itemCount;
24
+ private _reload$;
25
+ protected _tabindex: number;
26
+ protected _$inputItems: BehaviorSubject<any[]>;
27
+ protected _$filteredItems: BehaviorSubject<any[]>;
28
+ protected _inputControl: UntypedFormControl;
29
+ protected _moreItemsCount: number;
30
+ protected _fetchMore$: EventEmitter<Event>;
17
31
  equals: EqualsFn;
18
32
  logPrefix: string;
19
33
  formControl: UntypedFormControl;
@@ -39,7 +53,7 @@ export declare class MatChipsField implements OnInit, OnDestroy, InputElement, C
39
53
  config: MatAutocompleteFieldConfig;
40
54
  i18nPrefix: string;
41
55
  noResultMessage: string;
42
- classList: string;
56
+ panelClass: string;
43
57
  panelWidth: string;
44
58
  matAutocompletePosition: 'auto' | 'above' | 'below';
45
59
  itemSize: string;
@@ -59,20 +73,6 @@ export declare class MatChipsField implements OnInit, OnDestroy, InputElement, C
59
73
  matInputText: ElementRef;
60
74
  autocomplete: MatAutocomplete;
61
75
  autocompleteTrigger: MatAutocompleteTrigger;
62
- _tabindex: number;
63
- $inputItems: BehaviorSubject<any[]>;
64
- $filteredItems: BehaviorSubject<any[]>;
65
- inputControl: UntypedFormControl;
66
- _moreItemsCount: number;
67
- _fetchMore$: EventEmitter<Event>;
68
- private _onFetchMoreCallback;
69
- private _implicitValue;
70
- private _subscription;
71
- private _itemsSubscription;
72
- private _openedSubscription;
73
- private _$filter;
74
- private _itemCount;
75
- private _reload$;
76
76
  constructor(cd: ChangeDetectorRef, formGroupDir: FormGroupDirective);
77
77
  get itemCount(): number;
78
78
  get canFetchMore(): boolean;
@@ -124,5 +124,16 @@ export declare class MatChipsField implements OnInit, OnDestroy, InputElement, C
124
124
  private markForCheck;
125
125
  private markAsLoading;
126
126
  static ɵfac: i0.ɵɵFactoryDeclaration<MatChipsField, [null, { optional: true; }]>;
127
- static ɵcmp: i0.ɵɵComponentDeclaration<MatChipsField, "mat-chips-field", never, { "equals": { "alias": "equals"; "required": false; }; "logPrefix": { "alias": "logPrefix"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "subscriptSizing": { "alias": "subscriptSizing"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "suggestFn": { "alias": "suggestFn"; "required": false; }; "required": { "alias": "required"; "required": false; }; "mobile": { "alias": "mobile"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "debounceTime": { "alias": "debounceTime"; "required": false; }; "displayWith": { "alias": "displayWith"; "required": false; }; "displayAttributes": { "alias": "displayAttributes"; "required": false; }; "displayColumnSizes": { "alias": "displayColumnSizes"; "required": false; }; "displayColumnNames": { "alias": "displayColumnNames"; "required": false; }; "highlightAccent": { "alias": "highlightAccent"; "required": false; }; "showAllOnFocus": { "alias": "showAllOnFocus"; "required": false; }; "showPanelOnFocus": { "alias": "showPanelOnFocus"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "config": { "alias": "config"; "required": false; }; "i18nPrefix": { "alias": "i18nPrefix"; "required": false; }; "noResultMessage": { "alias": "noResultMessage"; "required": false; }; "classList": { "alias": "class"; "required": false; }; "panelWidth": { "alias": "panelWidth"; "required": false; }; "matAutocompletePosition": { "alias": "matAutocompletePosition"; "required": false; }; "itemSize": { "alias": "itemSize"; "required": false; }; "fetchMoreThreshold": { "alias": "fetchMoreThreshold"; "required": false; }; "suggestLengthThreshold": { "alias": "suggestLengthThreshold"; "required": false; }; "showLoadingSpinner": { "alias": "showLoadingSpinner"; "required": false; }; "chipColor": { "alias": "chipColor"; "required": false; }; "debug": { "alias": "debug"; "required": false; }; "dropButtonTitle": { "alias": "dropButtonTitle"; "required": false; }; "clearButtonTitle": { "alias": "clearButtonTitle"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, { "clicked": "click"; "blurred": "blur"; "focused": "focus"; "dropButtonClick": "dropButtonClick"; "keydownEscape": "keydown.escape"; "keyupEnter": "keyup.enter"; }, never, ["[matAfter]", "[matPrefix]", "[matSuffix]", "mat-error,[matError]", "mat-hint:not([align='end']),[matHint]", "mat-hint[align='end']"], false, never>;
127
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatChipsField, "mat-chips-field", never, { "equals": { "alias": "equals"; "required": false; }; "logPrefix": { "alias": "logPrefix"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "subscriptSizing": { "alias": "subscriptSizing"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "suggestFn": { "alias": "suggestFn"; "required": false; }; "required": { "alias": "required"; "required": false; }; "mobile": { "alias": "mobile"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "debounceTime": { "alias": "debounceTime"; "required": false; }; "displayWith": { "alias": "displayWith"; "required": false; }; "displayAttributes": { "alias": "displayAttributes"; "required": false; }; "displayColumnSizes": { "alias": "displayColumnSizes"; "required": false; }; "displayColumnNames": { "alias": "displayColumnNames"; "required": false; }; "highlightAccent": { "alias": "highlightAccent"; "required": false; }; "showAllOnFocus": { "alias": "showAllOnFocus"; "required": false; }; "showPanelOnFocus": { "alias": "showPanelOnFocus"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "config": { "alias": "config"; "required": false; }; "i18nPrefix": { "alias": "i18nPrefix"; "required": false; }; "noResultMessage": { "alias": "noResultMessage"; "required": false; }; "panelClass": { "alias": "class"; "required": false; }; "panelWidth": { "alias": "panelWidth"; "required": false; }; "matAutocompletePosition": { "alias": "matAutocompletePosition"; "required": false; }; "itemSize": { "alias": "itemSize"; "required": false; }; "fetchMoreThreshold": { "alias": "fetchMoreThreshold"; "required": false; }; "suggestLengthThreshold": { "alias": "suggestLengthThreshold"; "required": false; }; "showLoadingSpinner": { "alias": "showLoadingSpinner"; "required": false; }; "chipColor": { "alias": "chipColor"; "required": false; }; "debug": { "alias": "debug"; "required": false; }; "dropButtonTitle": { "alias": "dropButtonTitle"; "required": false; }; "clearButtonTitle": { "alias": "clearButtonTitle"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, { "clicked": "click"; "blurred": "blur"; "focused": "focus"; "dropButtonClick": "dropButtonClick"; "keydownEscape": "keydown.escape"; "keyupEnter": "keyup.enter"; }, never, ["[matAfter]", "[matPrefix]", "[matSuffix]", "mat-error,[matError]", "mat-hint:not([align='end']),[matHint]", "mat-hint[align='end']"], false, never>;
128
+ static ngAcceptInputType_required: unknown;
129
+ static ngAcceptInputType_mobile: unknown;
130
+ static ngAcceptInputType_readonly: unknown;
131
+ static ngAcceptInputType_clearable: unknown;
132
+ static ngAcceptInputType_debounceTime: unknown;
133
+ static ngAcceptInputType_highlightAccent: unknown;
134
+ static ngAcceptInputType_showAllOnFocus: unknown;
135
+ static ngAcceptInputType_showPanelOnFocus: unknown;
136
+ static ngAcceptInputType_autofocus: unknown;
137
+ static ngAcceptInputType_showLoadingSpinner: unknown;
138
+ static ngAcceptInputType_debug: unknown;
128
139
  }
@@ -288,6 +288,8 @@
288
288
  "REFERENTIAL": {
289
289
  "LABEL": "Code",
290
290
  "NAME": "Name",
291
+ "DESCRIPTION": "Description",
292
+ "COMMENTS": "",
291
293
  "TYPE": "Type",
292
294
  "STATUS_ENUM": {
293
295
  "ENABLE": "Enable",
@@ -288,6 +288,8 @@
288
288
  "REFERENTIAL": {
289
289
  "LABEL": "Code",
290
290
  "NAME": "Name",
291
+ "DESCRIPTION": "Description",
292
+ "COMMENTS": "",
291
293
  "TYPE": "Type",
292
294
  "STATUS_ENUM": {
293
295
  "ENABLE": "Enable",
@@ -288,6 +288,8 @@
288
288
  "REFERENTIAL": {
289
289
  "LABEL": "Code",
290
290
  "NAME": "Libellé",
291
+ "DESCRIPTION": "Description",
292
+ "COMMENTS": "",
291
293
  "TYPE": "Type",
292
294
  "STATUS_ENUM": {
293
295
  "ENABLE": "Actif à la saisie",
@@ -2,7 +2,7 @@
2
2
  "name": "ngx-sumaris-components",
3
3
  "short_name": "ngx-sumaris-components",
4
4
  "manifest_version": 1,
5
- "version": "2.8.14",
5
+ "version": "2.9.0-alpha2",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{
@@ -31,6 +31,7 @@ export declare class Environment {
31
31
  path?: string;
32
32
  }[];
33
33
  peerMinVersion?: string;
34
+ peerDefaultPrefix?: string;
34
35
  checkAppVersionIntervalInSeconds?: number;
35
36
  persistCache?: boolean;
36
37
  offline?: boolean;
@@ -5,3 +5,18 @@
5
5
  $remSize: $size / 16px;
6
6
  @return $remSize * 1rem;
7
7
  }
8
+
9
+ @function get-color-contrast($color, $bw: false) {
10
+ $lightness: lightness($color);
11
+
12
+ @if $bw == true {
13
+ @if $lightness > 50% {
14
+ @return #000000; // retourne noir si la couleur est claire
15
+ } @else {
16
+ @return #ffffff; // retourne blanc si la couleur est foncée
17
+ }
18
+ }
19
+ @else {
20
+ @return invert($color); // retourne la couleur inversée si bw n'est pas true
21
+ }
22
+ }
@@ -44,18 +44,12 @@
44
44
  $contrast: map-get($value, contrast);
45
45
  $shade: map-get($value, shade);
46
46
  $tint: map-get($value, tint);
47
- --ion-color-base: var(--ion-color-#{""+$color-name},
48
- #{$base}) !important;
49
- --ion-color-base-rgb: var(--ion-color-#{""+$color-name}-rgb,
50
- #{color-to-rgb-list($base)}) !important;
51
- --ion-color-contrast: var(--ion-color-#{""+$color-name}-contrast,
52
- #{$contrast}) !important;
53
- --ion-color-contrast-rgb: var(--ion-color-#{""+$color-name}-contrast-rgb,
54
- #{color-to-rgb-list($contrast)}) !important;
55
- --ion-color-shade: var(--ion-color-#{""+$color-name}-shade,
56
- #{$shade}) !important;
57
- --ion-color-tint: var(--ion-color-#{""+$color-name}-tint,
58
- #{$tint}) !important;
47
+ --ion-color-base: var(--ion-color-#{""+$color-name}, #{$base}) !important;
48
+ --ion-color-base-rgb: var(--ion-color-#{""+$color-name}-rgb, #{color-to-rgb-list($base)}) !important;
49
+ --ion-color-contrast: var(--ion-color-#{""+$color-name}-contrast, #{$contrast}) !important;
50
+ --ion-color-contrast-rgb: var(--ion-color-#{""+$color-name}-contrast-rgb, #{color-to-rgb-list($contrast)}) !important;
51
+ --ion-color-shade: var(--ion-color-#{""+$color-name}-shade, #{$shade}) !important;
52
+ --ion-color-tint: var(--ion-color-#{""+$color-name}-tint, #{$tint}) !important;
59
53
  }
60
54
 
61
55
  @mixin generate-color-list($color-name) {
@@ -72,6 +66,20 @@
72
66
  --ion-color-#{""+$color-name}-tint: #{$tint};
73
67
  }
74
68
 
69
+ @mixin generate-dark-color-list($color-name) {
70
+ $value: map-get($colors, $color-name);
71
+ $base: mix(map-get($value, base), #000, 50%);
72
+ $contrast: get-color-contrast($base, true);
73
+ $shade: lighten($base, 10%);
74
+ $tint: darken($base, 12%);
75
+ --ion-color-#{""+$color-name} : #{$base};
76
+ --ion-color-#{""+$color-name}-rgb: #{color-to-rgb-list($base)};
77
+ --ion-color-#{""+$color-name}-contrast: #{$contrast};
78
+ --ion-color-#{""+$color-name}-contrast-rgb: #{color-to-rgb-list($contrast)};
79
+ --ion-color-#{""+$color-name}-shade: #{$shade};
80
+ --ion-color-#{""+$color-name}-tint: #{$tint};
81
+ }
82
+
75
83
  @mixin set-color-each-ion-colors($element-name) {
76
84
 
77
85
  @each $color-name, $value in $colors {
@@ -125,6 +133,7 @@
125
133
  --app-form-color-computed: #{$app-form-color-computed};
126
134
  --app-form-field-background-color: #{$app-form-field-background-color};
127
135
  --app-form-field-disabled-background-color: #{$app-form-field-disabled-background-color};
136
+ --app-form-field-label-color: #{$app-form-field-label-color};
128
137
  --app-table-row-item-selected-background-color: #{$app-table-row-item-selected-background-color};
129
138
  --app-table-row-item-selected-text-color: #{$app-table-row-item-selected-text-color};
130
139
  }
@@ -136,3 +145,10 @@
136
145
  --app-form-buttons-bar-height: 0px;
137
146
  --app-footer-height: 0px;
138
147
  }
148
+
149
+ @mixin css-variables-to-root-dark() {
150
+ @each $color-name,
151
+ $value in $colors {
152
+ @include generate-dark-color-list($color-name);
153
+ }
154
+ }
@@ -10,6 +10,10 @@ form.form-container {
10
10
 
11
11
  --mdc-filled-text-field-container-color: var(--app-form-field-background-color);
12
12
  --mdc-filled-text-field-disabled-container-color: var(--app-form-field-disabled-background-color);
13
+ --mdc-filled-text-field-input-text-color: var(--app-form-color);
14
+ --mdc-filled-text-field-caret-color: var(--app-form-color);
15
+ --mdc-filled-text-field-label-text-color: var(--app-form-field-label-color);
16
+ --mdc-filled-text-field-hover-label-text-color: var(--app-form-field-label-color);
13
17
  --mat-form-field-state-layer-color: var(--app-form-field-focus-background-color);
14
18
  --mat-form-field-container-height: 45px;
15
19
  --mat-form-field-container-text-size: inherit;
@@ -19,6 +23,7 @@ form.form-container {
19
23
  --mat-form-field-filled-with-label-container-padding-bottom: 0px;
20
24
  --mdc-filled-text-field-label-text-tracking: normal;
21
25
  --mat-select-trigger-text-size: var(--mat-form-field-container-text-size);
26
+ --mat-select-enabled-trigger-text-color: var(--app-form-color);
22
27
 
23
28
  .mat-form-field-disabled,
24
29
  .mat-mdc-input-element:disabled {
@@ -203,3 +208,16 @@ ion-grid.form-container {
203
208
  }
204
209
  }
205
210
  }
211
+
212
+ // TODO: activer ce code et tester les mat-select en dark mode
213
+ //html {
214
+ // div.mat-mdc-select-panel {
215
+ // --mat-select-panel-background-color: var(--ion-color-light);
216
+ //
217
+ // .mat-mdc-option {
218
+ // --mat-option-label-text-color: var(--ion-color);
219
+ // --mat-option-selected-state-label-text-color: var(--ion-color-primary);
220
+ // color: var(--mat-option-label-text-color) !important;
221
+ // }
222
+ // }
223
+ //}
@@ -14,6 +14,7 @@ $app-form-color-disabled: rgba(0, 0, 0, 0.55) !default;
14
14
  $app-form-color-computed: var(--ion-color-primary-tint) !default;
15
15
  $app-form-field-background-color: #f5f5f5 !default; // Form's field background
16
16
  $app-form-field-disabled-background-color: #fafafa !default;
17
+ $app-form-field-label-color: rgba(0, 0, 0, 0.6) !default;
17
18
 
18
19
  $app-select-option-border-color: rgba(0, 0, 0, 0.12) !default;
19
20
  $app-table-border-color: rgba(0, 0, 0, 0.08) !default;
@@ -155,8 +155,23 @@ mat-calendar.mat-date-short-panel {
155
155
  }
156
156
  }
157
157
  }
158
+ // --------------------------------------------------
159
+ // mat-checkbox
160
+ // --------------------------------------------------
161
+
162
+ mat-checkbox {
163
+ .mat-checkbox-checkmark {
164
+ .mat-checkbox-checkmark-path {
165
+ // TODO: change to accent-contrast
166
+ stroke: white !important;
167
+ }
168
+ }
169
+ }
170
+
171
+ // --------------------------------------------------
172
+ // mat-autocomplete and mat-select panel
173
+ // --------------------------------------------------
158
174
 
159
- // --- mat-autocomplete and mat-select panel
160
175
  // When simple text option, add a padding
161
176
  mat-option {
162
177
 
@@ -186,7 +201,8 @@ mat-option:not(:last-of-type) {
186
201
  border-bottom: 1px solid #{$app-select-option-border-color};
187
202
  }
188
203
 
189
- .mat-select-panel, .mat-mdc-select-panel {
204
+
205
+ .cdk-overlay-pane:has(.mat-mdc-select-panel) {
190
206
  --min-width: 200px;
191
207
  --max-width: calc(min(100%, 100vw - 64px));
192
208
  min-width: var(--min-width) !important;
@@ -226,17 +242,31 @@ mat-option:not(:last-of-type) {
226
242
  --min-width: 80vw;
227
243
  }
228
244
 
245
+
246
+ // FIXME : This is a workaround find at : https://github.com/angular/components/issues/26000#issuecomment-1563107933
247
+ .cdk-overlay-pane:has(.mat-mdc-select-panel.fit-content) {
248
+ min-width: fit-content;
249
+
250
+ .mat-mdc-select-panel.fit-content {
251
+ left: unset;
252
+ }
253
+ }
254
+
255
+
229
256
  .mat-mdc-autocomplete-panel-center .mat-mdc-autocomplete-panel,
230
257
  .mat-mdc-autocomplete-panel-center.mat-mdc-autocomplete-panel {
231
258
  margin-left: calc(var(--min-width, 200px) / -2 + 50%) !important;
232
259
  }
233
260
 
234
261
  .mat-mdc-autocomplete-panel-full-size .mat-mdc-autocomplete-panel,
235
- .mat-mdc-autocomplete-panel-full-size.mat-mdc-autocomplete-panel {
262
+ .mat-mdc-autocomplete-panel-full-size.mat-mdc-autocomplete-panel,
263
+ .full-size .mat-mdc-autocomplete-panel,
264
+ .full-size.mat-mdc-autocomplete-panel,
265
+ .cdk-overlay-pane:has(.mat-mdc-select-panel.full-size) {
236
266
  --min-width: calc(100vw - 64px);
237
267
  --max-width: calc(100vw - 64px);
238
268
  position: fixed;
239
- left: 32px;
269
+ left: 32px !important;
240
270
  }
241
271
 
242
272
  .mat-mdc-select-panel,
@@ -256,6 +286,18 @@ ion-list,
256
286
  }
257
287
  }
258
288
 
289
+ // --------------------------------------------------
290
+ // mat-autocomplete-field
291
+ // --------------------------------------------------
292
+
293
+ // Define useful variable
294
+ html.plt-ios {
295
+ --ion-searchbar-height: 60px;
296
+ }
297
+ html {
298
+ --ion-searchbar-height: 58px;
299
+ }
300
+
259
301
  ion-list,
260
302
  .mat-mdc-menu-panel,
261
303
  .mat-mdc-select-panel,
@@ -276,7 +318,7 @@ ion-list,
276
318
  .mat-mdc-option.mat-autocomplete-searchbar
277
319
  {
278
320
  padding: 0 !important;
279
- height: 58px !important;
321
+ height: var(--ion-searchbar-height, 58px) !important;
280
322
  background-color: var(--ion-color-secondary100) !important;
281
323
  pointer-events: inherit !important;
282
324
 
@@ -299,6 +341,10 @@ ion-list,
299
341
  position: sticky;
300
342
  top: 0;
301
343
  }
344
+
345
+ .searchbar-input {
346
+ --background: var(--app-form-field-background-color, var(--ion-background-color));
347
+ }
302
348
  }
303
349
 
304
350
  ion-row.ion-list-header,
@@ -328,7 +374,7 @@ ion-list,
328
374
  }
329
375
  &.mat-select-searchbar-sticky {
330
376
  /* offset because of the searchbar height */
331
- top: 58px;
377
+ top: var(--ion-searchbar-height, 58px);
332
378
  }
333
379
  }
334
380
 
@@ -385,6 +431,9 @@ ion-list,
385
431
  }
386
432
  }
387
433
 
434
+ // --------------------------------------------------
435
+ // Table > Filter expansion panel
436
+ // --------------------------------------------------
388
437
 
389
438
  mat-expansion-panel {
390
439
 
@@ -432,15 +481,6 @@ mat-expansion-panel {
432
481
  }
433
482
  }
434
483
 
435
- mat-checkbox {
436
- .mat-checkbox-checkmark {
437
- .mat-checkbox-checkmark-path {
438
- // TODO: change to accent-contrast
439
- stroke: white !important;
440
- }
441
- }
442
- }
443
-
444
484
  // --------------------------------------------------
445
485
  // Form buttons bar
446
486
  // --------------------------------------------------
@@ -21,6 +21,8 @@
21
21
  min-width: calc(100% - 1px);
22
22
  border-collapse: separate;
23
23
  --mat-table-background-color: var(--background, var(--ion-background-color));
24
+ --mat-table-header-color: var(--ion-color-primary);
25
+ --mat-table-header-background-color: var(--mat-table-background-color);
24
26
  --mat-table-row-item-label-text-color: var(--ion-text-color);
25
27
  --mat-table-row-item-outline-color: var(--ion-border-color);
26
28
  --mat-table-row-item-label-text-size: 14px;
@@ -46,8 +48,8 @@
46
48
  --mdc-form-field-label-text-color: var(--ion-text-color);
47
49
 
48
50
  .mat-mdc-header-cell {
49
- color: var(--ion-color-primary);
50
- background: var(--mat-table-background-color) !important;
51
+ color: var(--mat-table-header-color);
52
+ background: var(--mat-table-header-background-color) !important;
51
53
 
52
54
  &.disabled {
53
55
  color: var(--ion-color-medium, grey);
@@ -529,6 +531,7 @@
529
531
  }
530
532
  }
531
533
 
534
+
532
535
  // Paginator
533
536
  .mat-mdc-paginator {
534
537
  --mat-paginator-container-size: var(--app-paginator-height, #{$app-paginator-height});