@sumaris-net/ngx-components 2.7.3-rc6 → 2.7.3-rc61

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 (266) hide show
  1. package/esm2022/src/app/admin/admin-routing.module.mjs +4 -4
  2. package/esm2022/src/app/admin/admin.module.mjs +4 -4
  3. package/esm2022/src/app/admin/services/person.service.mjs +3 -3
  4. package/esm2022/src/app/admin/services/validator/person.validator.mjs +3 -3
  5. package/esm2022/src/app/admin/users/users.mjs +4 -4
  6. package/esm2022/src/app/admin/users/users.module.mjs +4 -4
  7. package/esm2022/src/app/core/about/about.modal.mjs +3 -3
  8. package/esm2022/src/app/core/about/about.module.mjs +4 -4
  9. package/esm2022/src/app/core/account/account.module.mjs +4 -4
  10. package/esm2022/src/app/core/account/account.page.mjs +3 -3
  11. package/esm2022/src/app/core/account/new-token.modal.mjs +3 -3
  12. package/esm2022/src/app/core/account/token.table.mjs +3 -3
  13. package/esm2022/src/app/core/auth/auth.form.mjs +3 -3
  14. package/esm2022/src/app/core/auth/auth.modal.mjs +3 -3
  15. package/esm2022/src/app/core/auth/auth.module.mjs +4 -4
  16. package/esm2022/src/app/core/core.module.mjs +4 -4
  17. package/esm2022/src/app/core/core.testing.module.mjs +4 -4
  18. package/esm2022/src/app/core/form/buttons/form-buttons-bar.component.mjs +3 -3
  19. package/esm2022/src/app/core/form/buttons/form-buttons-bar.module.mjs +4 -4
  20. package/esm2022/src/app/core/form/entity/editor.class.mjs +6 -6
  21. package/esm2022/src/app/core/form/entity/entity-editor-modal.class.mjs +3 -3
  22. package/esm2022/src/app/core/form/entity/entity-editor.class.mjs +3 -3
  23. package/esm2022/src/app/core/form/entity/entity-metadata.component.mjs +3 -3
  24. package/esm2022/src/app/core/form/entity/entity.module.mjs +4 -4
  25. package/esm2022/src/app/core/form/form.class.mjs +3 -3
  26. package/esm2022/src/app/core/form/form.module.mjs +4 -4
  27. package/esm2022/src/app/core/form/list/list.form.mjs +3 -3
  28. package/esm2022/src/app/core/form/list/list.module.mjs +4 -4
  29. package/esm2022/src/app/core/form/properties/properties.form.mjs +3 -3
  30. package/esm2022/src/app/core/form/properties/properties.module.mjs +4 -4
  31. package/esm2022/src/app/core/form/properties/properties.table.mjs +6 -6
  32. package/esm2022/src/app/core/form/properties/property.validator.mjs +3 -3
  33. package/esm2022/src/app/core/form/properties/testing/properties-form.test.mjs +3 -3
  34. package/esm2022/src/app/core/form/properties/testing/properties-form.testing.module.mjs +4 -4
  35. package/esm2022/src/app/core/form/text-popover/testing/text-popover.testing.mjs +3 -3
  36. package/esm2022/src/app/core/form/text-popover/testing/text-popover.testing.module.mjs +4 -4
  37. package/esm2022/src/app/core/form/text-popover/text-popover.component.mjs +3 -3
  38. package/esm2022/src/app/core/form/text-popover/text-popover.module.mjs +4 -4
  39. package/esm2022/src/app/core/graphql/graphql.module.mjs +4 -4
  40. package/esm2022/src/app/core/graphql/graphql.service.mjs +3 -3
  41. package/esm2022/src/app/core/home/home.mjs +5 -5
  42. package/esm2022/src/app/core/home/home.module.mjs +4 -4
  43. package/esm2022/src/app/core/icon/icon.component.mjs +3 -3
  44. package/esm2022/src/app/core/icon/icon.module.mjs +4 -4
  45. package/esm2022/src/app/core/install/install-upgrade-card.component.mjs +3 -3
  46. package/esm2022/src/app/core/install/install-upgrade-card.module.mjs +4 -4
  47. package/esm2022/src/app/core/menu/menu.component.mjs +3 -3
  48. package/esm2022/src/app/core/menu/menu.module.mjs +4 -4
  49. package/esm2022/src/app/core/menu/menu.service.mjs +3 -3
  50. package/esm2022/src/app/core/menu/sub-menu-tab.directive.mjs +3 -3
  51. package/esm2022/src/app/core/menu/testing/menu-other.testing.mjs +3 -3
  52. package/esm2022/src/app/core/menu/testing/menu.testing.mjs +3 -3
  53. package/esm2022/src/app/core/menu/testing/menu.testing.module.mjs +4 -4
  54. package/esm2022/src/app/core/offline/update-offline-mode-card.component.mjs +3 -3
  55. package/esm2022/src/app/core/offline/update-offline-mode-card.module.mjs +4 -4
  56. package/esm2022/src/app/core/peer/select-peer.modal.mjs +3 -3
  57. package/esm2022/src/app/core/peer/select-peer.module.mjs +4 -4
  58. package/esm2022/src/app/core/register/register-confirm.page.mjs +3 -3
  59. package/esm2022/src/app/core/register/register.form.mjs +3 -3
  60. package/esm2022/src/app/core/register/register.modal.mjs +3 -3
  61. package/esm2022/src/app/core/register/register.module.mjs +4 -4
  62. package/esm2022/src/app/core/services/account.service.mjs +3 -3
  63. package/esm2022/src/app/core/services/auth-guard.service.mjs +3 -3
  64. package/esm2022/src/app/core/services/base-entity-service.class.mjs +3 -3
  65. package/esm2022/src/app/core/services/base-graphql-service.class.mjs +3 -3
  66. package/esm2022/src/app/core/services/config/core.config.mjs +7 -1
  67. package/esm2022/src/app/core/services/config.service.mjs +3 -3
  68. package/esm2022/src/app/core/services/crypto.service.mjs +3 -3
  69. package/esm2022/src/app/core/services/local-settings.service.mjs +3 -3
  70. package/esm2022/src/app/core/services/network.service.mjs +3 -3
  71. package/esm2022/src/app/core/services/pipes/account.pipes.mjs +8 -8
  72. package/esm2022/src/app/core/services/pipes/department-to-string.pipe.mjs +4 -4
  73. package/esm2022/src/app/core/services/pipes/person-to-string.pipe.mjs +4 -4
  74. package/esm2022/src/app/core/services/pipes/pipes.module.mjs +4 -4
  75. package/esm2022/src/app/core/services/pipes/referential-to-string.pipe.mjs +3 -3
  76. package/esm2022/src/app/core/services/pipes/usage-mode.pipes.mjs +8 -8
  77. package/esm2022/src/app/core/services/platform.service.mjs +3 -3
  78. package/esm2022/src/app/core/services/storage/entities-storage.service.mjs +3 -3
  79. package/esm2022/src/app/core/services/testing/referential.validator.mjs +3 -3
  80. package/esm2022/src/app/core/services/validator/account.validator.mjs +3 -3
  81. package/esm2022/src/app/core/services/validator/base.validator.class.mjs +3 -3
  82. package/esm2022/src/app/core/services/validator/local-settings.validator.mjs +3 -3
  83. package/esm2022/src/app/core/services/validator/user-settings.validator.mjs +3 -3
  84. package/esm2022/src/app/core/services/validator/user-token.validator.mjs +3 -3
  85. package/esm2022/src/app/core/settings/settings.module.mjs +4 -4
  86. package/esm2022/src/app/core/settings/settings.page.mjs +3 -3
  87. package/esm2022/src/app/core/table/actions-column.component.mjs +3 -3
  88. package/esm2022/src/app/core/table/async-table.class.mjs +3 -3
  89. package/esm2022/src/app/core/table/entities-async-table-datasource.class.mjs +3 -3
  90. package/esm2022/src/app/core/table/entities-table-datasource.class.mjs +3 -3
  91. package/esm2022/src/app/core/table/memory-table.class.mjs +3 -3
  92. package/esm2022/src/app/core/table/table-select-columns.component.mjs +3 -3
  93. package/esm2022/src/app/core/table/table.class.mjs +3 -3
  94. package/esm2022/src/app/core/table/table.module.mjs +4 -4
  95. package/esm2022/src/app/core/table/testing/table-validator.service.mjs +7 -4
  96. package/esm2022/src/app/core/table/testing/table.testing.mjs +42 -23
  97. package/esm2022/src/app/core/table/testing/table.testing.module.mjs +4 -4
  98. package/esm2022/src/app/core/table/testing/table2-validator.service.mjs +3 -3
  99. package/esm2022/src/app/core/table/testing/table2.testing.mjs +3 -3
  100. package/esm2022/src/app/shared/audio/audio.mjs +3 -3
  101. package/esm2022/src/app/shared/audio/audio.testing.mjs +3 -3
  102. package/esm2022/src/app/shared/audio/audio.testing.module.mjs +4 -4
  103. package/esm2022/src/app/shared/capacitor/keyboard.mjs +3 -3
  104. package/esm2022/src/app/shared/debug/debug.component.mjs +3 -3
  105. package/esm2022/src/app/shared/debug/debug.module.mjs +4 -4
  106. package/esm2022/src/app/shared/directives/autofocus.directive.mjs +3 -3
  107. package/esm2022/src/app/shared/directives/autotitle.directive.mjs +3 -3
  108. package/esm2022/src/app/shared/directives/directives.module.mjs +4 -4
  109. package/esm2022/src/app/shared/directives/drag-and-drop.directive.mjs +3 -3
  110. package/esm2022/src/app/shared/directives/ng-var.directive.mjs +3 -3
  111. package/esm2022/src/app/shared/directives/resizable/resizable.component.mjs +3 -3
  112. package/esm2022/src/app/shared/directives/resizable/resizable.directive.mjs +3 -3
  113. package/esm2022/src/app/shared/directives/resizable/resizable.module.mjs +4 -4
  114. package/esm2022/src/app/shared/file/file.service.mjs +3 -3
  115. package/esm2022/src/app/shared/form/field.component.mjs +12 -9
  116. package/esm2022/src/app/shared/form/loading-spinner.mjs +3 -3
  117. package/esm2022/src/app/shared/gesture/gesture-config.mjs +3 -3
  118. package/esm2022/src/app/shared/guard/component-dirty.guard.mjs +3 -3
  119. package/esm2022/src/app/shared/help/help.modal.mjs +3 -3
  120. package/esm2022/src/app/shared/hotkeys/dialog/hotkeys-dialog.component.mjs +3 -3
  121. package/esm2022/src/app/shared/hotkeys/hotkeys.service.mjs +3 -3
  122. package/esm2022/src/app/shared/hotkeys/shared-hotkeys.module.mjs +4 -4
  123. package/esm2022/src/app/shared/image/gallery/image-gallery.component.mjs +3 -3
  124. package/esm2022/src/app/shared/image/gallery/image-gallery.module.mjs +4 -4
  125. package/esm2022/src/app/shared/image/gallery/testing/gallery.service.testing.mjs +3 -3
  126. package/esm2022/src/app/shared/image/gallery/testing/gallery.testing.mjs +3 -3
  127. package/esm2022/src/app/shared/image/gallery/testing/gallery.testing.module.mjs +4 -4
  128. package/esm2022/src/app/shared/image/image.module.mjs +4 -4
  129. package/esm2022/src/app/shared/image/image.service.mjs +3 -3
  130. package/esm2022/src/app/shared/logging/logging-service.class.mjs +3 -3
  131. package/esm2022/src/app/shared/logging/logging-service.module.mjs +4 -4
  132. package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.mjs +11 -8
  133. package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.module.mjs +4 -4
  134. package/esm2022/src/app/shared/material/autocomplete/testing/autocomplete.test.mjs +25 -21
  135. package/esm2022/src/app/shared/material/badge/badge.directive.mjs +3 -3
  136. package/esm2022/src/app/shared/material/badge/badge.module.mjs +4 -4
  137. package/esm2022/src/app/shared/material/badge/badge.test.mjs +3 -3
  138. package/esm2022/src/app/shared/material/boolean/boolean.module.mjs +4 -4
  139. package/esm2022/src/app/shared/material/boolean/material.boolean.mjs +5 -5
  140. package/esm2022/src/app/shared/material/boolean/testing/boolean.test.page.mjs +8 -5
  141. package/esm2022/src/app/shared/material/chips/chips.module.mjs +4 -4
  142. package/esm2022/src/app/shared/material/chips/material.chips.mjs +6 -6
  143. package/esm2022/src/app/shared/material/chips/testing/chips.test.mjs +6 -5
  144. package/esm2022/src/app/shared/material/datetime/datetime.module.mjs +4 -4
  145. package/esm2022/src/app/shared/material/datetime/material.date.mjs +14 -6
  146. package/esm2022/src/app/shared/material/datetime/material.dateshort.mjs +5 -5
  147. package/esm2022/src/app/shared/material/datetime/material.datetime.mjs +72 -43
  148. package/esm2022/src/app/shared/material/datetime/testing/mat-date-time.test.mjs +18 -17
  149. package/esm2022/src/app/shared/material/datetime/testing/mat-date.test.mjs +14 -13
  150. package/esm2022/src/app/shared/material/datetime/testing/mat-dateshort.test.mjs +11 -12
  151. package/esm2022/src/app/shared/material/duration/duration.module.mjs +4 -4
  152. package/esm2022/src/app/shared/material/duration/material.duration.mjs +11 -12
  153. package/esm2022/src/app/shared/material/duration/testing/mat-duration.test.mjs +10 -11
  154. package/esm2022/src/app/shared/material/latlong/material.latlong.mjs +18 -13
  155. package/esm2022/src/app/shared/material/latlong/material.latlong.module.mjs +4 -4
  156. package/esm2022/src/app/shared/material/latlong/testing/latlong.test.mjs +9 -5
  157. package/esm2022/src/app/shared/material/material.config.mjs +2 -1
  158. package/esm2022/src/app/shared/material/material.module.mjs +4 -4
  159. package/esm2022/src/app/shared/material/material.testing.module.mjs +4 -4
  160. package/esm2022/src/app/shared/material/paginator/material.paginator-i18n.mjs +3 -3
  161. package/esm2022/src/app/shared/material/stepper/material.stepper-i18n.mjs +3 -3
  162. package/esm2022/src/app/shared/material/swipe/material.swipe.mjs +12 -12
  163. package/esm2022/src/app/shared/material/swipe/swipe.module.mjs +4 -4
  164. package/esm2022/src/app/shared/material/swipe/testing/swipe.test.mjs +3 -3
  165. package/esm2022/src/app/shared/material/testing/common.test.mjs +18 -14
  166. package/esm2022/src/app/shared/material/text/testing/text-form.testing.mjs +7 -6
  167. package/esm2022/src/app/shared/material/text/text-form.component.mjs +10 -6
  168. package/esm2022/src/app/shared/material/text/text-form.module.mjs +4 -4
  169. package/esm2022/src/app/shared/named-filter/named-filter-selector.component.mjs +3 -3
  170. package/esm2022/src/app/shared/named-filter/named-filter.module.mjs +4 -4
  171. package/esm2022/src/app/shared/named-filter/named-filter.service.mjs +3 -3
  172. package/esm2022/src/app/shared/pipes/arrays.pipe.mjs +24 -24
  173. package/esm2022/src/app/shared/pipes/colors.pipe.mjs +3 -3
  174. package/esm2022/src/app/shared/pipes/date-diff-duration.pipe.mjs +4 -4
  175. package/esm2022/src/app/shared/pipes/date-format.pipe.mjs +6 -6
  176. package/esm2022/src/app/shared/pipes/date-from-now.pipe.mjs +4 -4
  177. package/esm2022/src/app/shared/pipes/duration.pipe.mjs +4 -4
  178. package/esm2022/src/app/shared/pipes/file-size.pipe.mjs +3 -3
  179. package/esm2022/src/app/shared/pipes/form.pipes.mjs +18 -18
  180. package/esm2022/src/app/shared/pipes/highlight.pipe.mjs +4 -4
  181. package/esm2022/src/app/shared/pipes/latlong-format.pipe.mjs +9 -9
  182. package/esm2022/src/app/shared/pipes/maps.pipe.mjs +12 -12
  183. package/esm2022/src/app/shared/pipes/maskito.pipe.mjs +40 -19
  184. package/esm2022/src/app/shared/pipes/math.pipes.mjs +12 -12
  185. package/esm2022/src/app/shared/pipes/ng-init.pipe.mjs +3 -3
  186. package/esm2022/src/app/shared/pipes/number-format.pipe.mjs +4 -4
  187. package/esm2022/src/app/shared/pipes/pipes.module.mjs +4 -4
  188. package/esm2022/src/app/shared/pipes/property.pipes.mjs +7 -7
  189. package/esm2022/src/app/shared/pipes/string.pipes.mjs +34 -32
  190. package/esm2022/src/app/shared/pipes/translate-context.pipe.mjs +8 -8
  191. package/esm2022/src/app/shared/pipes/types.pipes.mjs +12 -12
  192. package/esm2022/src/app/shared/rx-state.module.mjs +4 -4
  193. package/esm2022/src/app/shared/services/memory-entity-service.class.mjs +3 -3
  194. package/esm2022/src/app/shared/services/progress-bar.service.mjs +3 -3
  195. package/esm2022/src/app/shared/services/startable-observable-service.class.mjs +3 -3
  196. package/esm2022/src/app/shared/services/startable-service.class.mjs +3 -3
  197. package/esm2022/src/app/shared/services/translate-context.service.mjs +3 -3
  198. package/esm2022/src/app/shared/shared-routing.module.mjs +7 -7
  199. package/esm2022/src/app/shared/shared.module.mjs +4 -4
  200. package/esm2022/src/app/shared/shared.testing.module.mjs +4 -4
  201. package/esm2022/src/app/shared/storage/storage-explorer.component.mjs +3 -3
  202. package/esm2022/src/app/shared/storage/storage-explorer.module.mjs +4 -4
  203. package/esm2022/src/app/shared/storage/storage-explorer.testing-routing.module.mjs +4 -4
  204. package/esm2022/src/app/shared/storage/storage-explorer.testing.module.mjs +4 -4
  205. package/esm2022/src/app/shared/storage/storage.service.mjs +3 -3
  206. package/esm2022/src/app/shared/testing/observable.test.mjs +3 -3
  207. package/esm2022/src/app/shared/testing/tests.page.mjs +3 -3
  208. package/esm2022/src/app/shared/toast/toast.testing.mjs +3 -3
  209. package/esm2022/src/app/shared/toast/toast.testing.module.mjs +4 -4
  210. package/esm2022/src/app/shared/toolbar/modal-toolbar.mjs +3 -3
  211. package/esm2022/src/app/shared/toolbar/toolbar.mjs +3 -3
  212. package/esm2022/src/app/shared/toolbar/toolbar.module.mjs +4 -4
  213. package/esm2022/src/app/shared/upload-file/testing/upload-file.testing.mjs +3 -3
  214. package/esm2022/src/app/shared/upload-file/testing/upload-file.testing.module.mjs +4 -4
  215. package/esm2022/src/app/shared/upload-file/upload-file-popover.component.mjs +3 -3
  216. package/esm2022/src/app/shared/upload-file/upload-file.component.mjs +3 -3
  217. package/esm2022/src/app/shared/validator/form-error-adapter.class.mjs +3 -3
  218. package/esm2022/src/app/social/job/job.module.mjs +4 -4
  219. package/esm2022/src/app/social/job/progression/job-progression.component.mjs +3 -3
  220. package/esm2022/src/app/social/job/progression/job-progression.icon.mjs +3 -3
  221. package/esm2022/src/app/social/job/progression/job-progression.list.mjs +3 -3
  222. package/esm2022/src/app/social/job/progression/job-progression.service.mjs +3 -3
  223. package/esm2022/src/app/social/job/testing/job-progression.testing.mjs +3 -3
  224. package/esm2022/src/app/social/job/testing/job-progression.testing.service.mjs +3 -3
  225. package/esm2022/src/app/social/job/testing/job.testing.module.mjs +4 -4
  226. package/esm2022/src/app/social/message/message.form.mjs +3 -3
  227. package/esm2022/src/app/social/message/message.modal.mjs +3 -3
  228. package/esm2022/src/app/social/message/message.module.mjs +4 -4
  229. package/esm2022/src/app/social/message/message.service.mjs +3 -3
  230. package/esm2022/src/app/social/social.module.mjs +4 -4
  231. package/esm2022/src/app/social/social.testing.module.mjs +4 -4
  232. package/esm2022/src/app/social/user-event/notification/user-event-notification.icon.mjs +3 -3
  233. package/esm2022/src/app/social/user-event/notification/user-event-notification.list.mjs +3 -3
  234. package/esm2022/src/app/social/user-event/testing/user-event.testing.mjs +3 -3
  235. package/esm2022/src/app/social/user-event/testing/user-event.testing.module.mjs +4 -4
  236. package/esm2022/src/app/social/user-event/testing/user-event.testing.service.mjs +3 -3
  237. package/esm2022/src/app/social/user-event/user-event.module.mjs +4 -4
  238. package/esm2022/src/app/social/user-event/user-event.service.mjs +3 -3
  239. package/esm2022/src/environments/environment.loader.mjs +3 -3
  240. package/fesm2022/sumaris-net.ngx-components.mjs +1270 -1151
  241. package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
  242. package/package.json +9 -9
  243. package/src/app/core/services/config/core.config.d.ts +1 -0
  244. package/src/app/shared/form/field.component.d.ts +5 -3
  245. package/src/app/shared/material/autocomplete/material.autocomplete.d.ts +1 -0
  246. package/src/app/shared/material/autocomplete/testing/autocomplete.test.d.ts +3 -2
  247. package/src/app/shared/material/datetime/material.date.d.ts +3 -2
  248. package/src/app/shared/material/datetime/material.dateshort.d.ts +1 -1
  249. package/src/app/shared/material/datetime/material.datetime.d.ts +25 -22
  250. package/src/app/shared/material/datetime/testing/mat-date-time.test.d.ts +2 -2
  251. package/src/app/shared/material/duration/material.duration.d.ts +1 -1
  252. package/src/app/shared/material/latlong/material.latlong.d.ts +5 -3
  253. package/src/app/shared/material/latlong/testing/latlong.test.d.ts +4 -0
  254. package/src/app/shared/material/material.config.d.ts +2 -1
  255. package/src/app/shared/material/text/text-form.component.d.ts +3 -1
  256. package/src/app/shared/pipes/string.pipes.d.ts +2 -1
  257. package/src/assets/manifest.json +1 -1
  258. package/src/theme/_material.globals.scss +0 -36
  259. package/src/theme/_material.scss +34 -8
  260. package/src/theme/_mixins.scss +6 -4
  261. package/src/theme/_ngx-components.forms.scss +202 -0
  262. package/src/theme/_ngx-components.globals.scss +8 -4
  263. package/src/theme/_ngx-components.scss +8 -200
  264. package/src/theme/_ngx-components.table.scss +107 -135
  265. package/src/theme/_ngx-components.tabs.scss +2 -325
  266. package/src/theme/_theme.scss +1 -0
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.7.3-rc6",
4
+ "version": "2.7.3-rc61",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -17,16 +17,16 @@
17
17
  },
18
18
  "dependencies": {
19
19
  "@noble/ed25519": "^1.7.3",
20
- "@polkadot/util": "~12.5.1",
21
- "@polkadot/util-crypto": "~12.5.1",
22
- "@rx-angular/cdk": "~17.0.0",
23
- "@rx-angular/state": "~17.0.0",
24
- "@rx-angular/template": "~17.0.0",
20
+ "@polkadot/util": "~12.6.2",
21
+ "@polkadot/util-crypto": "~12.6.2",
22
+ "@rx-angular/cdk": "~17.0.1",
23
+ "@rx-angular/state": "~17.0.1",
24
+ "@rx-angular/template": "~17.1.0",
25
25
  "clone": "~2.1.2",
26
26
  "tslib": "~2.6.2",
27
- "@maskito/angular": "~2.0.0",
28
- "@maskito/core": "~2.0.0",
29
- "@maskito/kit": "~2.0.0"
27
+ "@maskito/angular": "~2.0.2",
28
+ "@maskito/core": "~2.0.2",
29
+ "@maskito/kit": "~2.0.2"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "@apollo/client": "~3.8.10",
@@ -24,6 +24,7 @@ export declare const CORE_CONFIG_OPTIONS: Readonly<{
24
24
  COLOR_WARNING: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any>;
25
25
  COLOR_ACCENT: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any>;
26
26
  COLOR_DANGER: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any>;
27
+ FORM_FIELD_BACKGROUND_COLOR: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any>;
27
28
  ANDROID_INSTALL_URL: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any>;
28
29
  DB_TIMEZONE: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any>;
29
30
  ACCOUNT_READONLY: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any>;
@@ -1,12 +1,13 @@
1
1
  import { ChangeDetectorRef, ElementRef, EventEmitter, InjectionToken, Injector, OnInit } from '@angular/core';
2
2
  import { ControlValueAccessor, FormGroupDirective, UntypedFormControl } from '@angular/forms';
3
- import { DisplayFn, FormFieldDefinition, FormFieldType, AppFloatLabelType } from './field.model';
3
+ import { AppFloatLabelType, DisplayFn, FormFieldDefinition, FormFieldType } from './field.model';
4
4
  import { TranslateService } from '@ngx-translate/core';
5
5
  import { filterNumberInput, selectInputContent } from '../inputs';
6
6
  import { Property } from '../types';
7
7
  import { ThemePalette } from '@angular/material/core';
8
8
  import { PredefinedColors } from '@ionic/core';
9
9
  import { MatAutocompleteField } from '../material/autocomplete/material.autocomplete';
10
+ import { MatFormFieldAppearance } from '@angular/material/form-field';
10
11
  import * as i0 from "@angular/core";
11
12
  export declare class AppFormField implements OnInit, ControlValueAccessor {
12
13
  protected translate: TranslateService;
@@ -29,12 +30,13 @@ export declare class AppFormField implements OnInit, ControlValueAccessor {
29
30
  placeholder: string;
30
31
  compact: boolean;
31
32
  floatLabel: AppFloatLabelType;
33
+ appearance: MatFormFieldAppearance;
32
34
  tabindex: number;
33
35
  autofocus: boolean;
34
36
  clearable: boolean;
35
37
  chipColor: ThemePalette | PredefinedColors;
36
- debug: boolean;
37
38
  classList: string;
39
+ debug: boolean;
38
40
  onKeyupEnter: EventEmitter<any>;
39
41
  get value(): any;
40
42
  matInput: ElementRef;
@@ -67,5 +69,5 @@ export declare class AppFormField implements OnInit, ControlValueAccessor {
67
69
  }): void;
68
70
  protected updateTabIndex(timeout?: number): void;
69
71
  static ɵfac: i0.ɵɵFactoryDeclaration<AppFormField, [null, null, null, { optional: true; }]>;
70
- static ɵcmp: i0.ɵɵComponentDeclaration<AppFormField, "app-form-field", never, { "definition": { "alias": "definition"; "required": false; }; "required": { "alias": "required"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "chipColor": { "alias": "chipColor"; "required": false; }; "debug": { "alias": "debug"; "required": false; }; "classList": { "alias": "class"; "required": false; }; }, { "onKeyupEnter": "keyup.enter"; }, never, ["[matSuffix]", "[matSuffix]", "[matSuffix]", "[matSuffix]", "[matSuffix]", "[matSuffix]", "[matPrefix]", "[matSuffix]", "[matSuffix]", "[matPrefix]", "[matSuffix]", "[matPrefix]", "[matSuffix]", "[matSuffix]"], false, never>;
72
+ static ɵcmp: i0.ɵɵComponentDeclaration<AppFormField, "app-form-field", never, { "definition": { "alias": "definition"; "required": false; }; "required": { "alias": "required"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "chipColor": { "alias": "chipColor"; "required": false; }; "classList": { "alias": "class"; "required": false; }; "debug": { "alias": "debug"; "required": false; }; }, { "onKeyupEnter": "keyup.enter"; }, never, ["[matSuffix]", "[matSuffix]", "[matSuffix]", "[matSuffix]", "[matSuffix]", "[matSuffix]", "[matPrefix]", "[matSuffix]", "[matSuffix]", "[matPrefix]", "[matSuffix]", "[matPrefix]", "[matSuffix]", "[matSuffix]"], false, never>;
71
73
  }
@@ -112,6 +112,7 @@ export declare class MatAutocompleteField implements OnInit, AfterViewInit, OnDe
112
112
  filterInputTextFocusEvent(event: FocusEvent): boolean;
113
113
  protected filterInputTextBlurEvent(event: FocusEvent): void;
114
114
  protected ionSearchBarChanged(event: Event): void;
115
+ ionSearchBarChanged1(event: any): void;
115
116
  filterMatSelectFocusEvent(event: FocusEvent): void;
116
117
  filterMatSelectBlurEvent(event: FocusEvent): boolean;
117
118
  clearValue(event?: Event): void;
@@ -1,4 +1,4 @@
1
- import { AfterViewInit, OnInit } from '@angular/core';
1
+ import { AfterViewInit, ChangeDetectorRef, OnInit } from '@angular/core';
2
2
  import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
3
3
  import { MatAutocompleteField } from '../material.autocomplete';
4
4
  import { Subscription } from 'rxjs';
@@ -13,6 +13,7 @@ declare class EntityTestClass {
13
13
  }
14
14
  export declare class AutocompleteTestPage implements OnInit, AfterViewInit {
15
15
  protected formBuilder: UntypedFormBuilder;
16
+ private cd;
16
17
  private _items;
17
18
  private _$items;
18
19
  form: UntypedFormGroup;
@@ -24,7 +25,7 @@ export declare class AutocompleteTestPage implements OnInit, AfterViewInit {
24
25
  mode: 'mobile' | 'desktop' | 'memory' | 'temp';
25
26
  farEntityField: MatAutocompleteField;
26
27
  ionModal: IonModal;
27
- constructor(formBuilder: UntypedFormBuilder);
28
+ constructor(formBuilder: UntypedFormBuilder, cd: ChangeDetectorRef);
28
29
  ngOnInit(): void;
29
30
  ngAfterViewInit(): void;
30
31
  loadData(): Promise<void>;
@@ -58,9 +58,10 @@ export declare class MatDate implements OnInit, AfterViewInit, OnDestroy, Contro
58
58
  setDisabledState(isDisabled: boolean): void;
59
59
  openDatePicker(): void;
60
60
  focus(): void;
61
- clear(): void;
61
+ clear(event: UIEvent): void;
62
62
  protected _onDatePickerChange(event: MatDatepickerInputEvent<Moment>): void;
63
63
  protected _openDatePickerIfMobile(event: Event): void;
64
+ protected _onBlur(): void;
64
65
  protected _checkIfTouched(opts?: {
65
66
  emitEvent?: boolean;
66
67
  }): void;
@@ -73,5 +74,5 @@ export declare class MatDate implements OnInit, AfterViewInit, OnDestroy, Contro
73
74
  private markForCheck;
74
75
  private updateMaskOptions;
75
76
  static ɵfac: i0.ɵɵFactoryDeclaration<MatDate, [null, null, null, null, { optional: true; }]>;
76
- static ɵcmp: i0.ɵɵComponentDeclaration<MatDate, "mat-date-field", never, { "mobile": { "alias": "mobile"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "required": { "alias": "required"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "startDate": { "alias": "startDate"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "timezone": { "alias": "timezone"; "required": false; }; "datePickerFilter": { "alias": "datePickerFilter"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; }, {}, never, ["mat-error", "mat-hint", "[matPrefix]", "[matSuffix]"], false, never>;
77
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatDate, "mat-date-field", never, { "mobile": { "alias": "mobile"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "required": { "alias": "required"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "startDate": { "alias": "startDate"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "timezone": { "alias": "timezone"; "required": false; }; "datePickerFilter": { "alias": "datePickerFilter"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; }, {}, never, ["mat-error", "mat-hint", "mat-error", "mat-hint", "[matPrefix]", "[matSuffix]"], false, never>;
77
78
  }
@@ -74,5 +74,5 @@ export declare class MatDateShort implements OnInit, ControlValueAccessor, Input
74
74
  private markForCheck;
75
75
  private updateMaskOptions;
76
76
  static ɵfac: i0.ɵɵFactoryDeclaration<MatDateShort, [null, null, null, null, { optional: true; }]>;
77
- static ɵcmp: i0.ɵɵComponentDeclaration<MatDateShort, "mat-date-short-field", never, { "mobile": { "alias": "mobile"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "required": { "alias": "required"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "startDate": { "alias": "startDate"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "datePickerFilter": { "alias": "datePickerFilter"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; }, {}, never, ["mat-error", "mat-hint", "[matPrefix]", "[matSuffix]"], false, never>;
77
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatDateShort, "mat-date-short-field", never, { "mobile": { "alias": "mobile"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "required": { "alias": "required"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "startDate": { "alias": "startDate"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "datePickerFilter": { "alias": "datePickerFilter"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; }, {}, never, ["mat-error", "mat-hint", "mat-error", "mat-hint", "[matPrefix]", "[matSuffix]"], false, never>;
78
78
  }
@@ -36,35 +36,38 @@ export declare class MatDateTime implements OnInit, AfterViewInit, OnDestroy, Co
36
36
  private _formControl;
37
37
  private _controlName;
38
38
  private _required;
39
+ private _appearance;
39
40
  private _subscriptSizing;
41
+ private readonly _defaultAppearance;
40
42
  private readonly _defaultSubscriptSizing;
41
- dateControl: UntypedFormControl;
42
- timeControl: UntypedFormControl;
43
- displayPattern: string;
44
- datePattern: string;
45
- timePattern: string;
46
- locale: string;
47
- maskitoDateOptions: MaskitoOptions;
48
- maskitoTimeOptions: MaskitoOptions;
49
- datePlaceholder: string;
50
- timePlaceholder: string;
51
- set subscriptSizing(value: SubscriptSizing);
52
- get subscriptSizing(): SubscriptSizing;
53
- set formControl(value: UntypedFormControl);
54
- get formControl(): UntypedFormControl;
55
- set formControlName(value: string);
56
- get formControlName(): string;
57
- set required(value: boolean | any);
58
- get required(): boolean | any;
43
+ protected dateControl: UntypedFormControl;
44
+ protected timeControl: UntypedFormControl;
45
+ protected displayPattern: string;
46
+ protected datePattern: string;
47
+ protected timePattern: string;
48
+ protected locale: string;
49
+ protected maskitoDateOptions: MaskitoOptions;
50
+ protected maskitoTimeOptions: MaskitoOptions;
51
+ protected datePlaceholder: string;
52
+ protected timePlaceholder: string;
59
53
  placeholder: string;
60
54
  floatLabel: AppFloatLabelType;
61
- appearance: MatFormFieldAppearance;
62
55
  mobile: boolean;
63
56
  compact: boolean;
64
57
  autofocus: boolean;
65
58
  startDate: Moment | null;
66
59
  clearable: boolean;
67
60
  datePickerFilter: DateFilterFn<Moment>;
61
+ set appearance(value: MatFormFieldAppearance);
62
+ get appearance(): MatFormFieldAppearance;
63
+ set subscriptSizing(value: SubscriptSizing);
64
+ get subscriptSizing(): SubscriptSizing;
65
+ set formControl(value: UntypedFormControl);
66
+ get formControl(): UntypedFormControl;
67
+ set formControlName(value: string);
68
+ get formControlName(): string;
69
+ set required(value: boolean | any);
70
+ get required(): boolean | any;
68
71
  set readonly(value: boolean);
69
72
  get readonly(): boolean;
70
73
  set tabindex(value: number);
@@ -77,7 +80,6 @@ export declare class MatDateTime implements OnInit, AfterViewInit, OnDestroy, Co
77
80
  matError: MatError;
78
81
  constructor(dateAdapter: MomentDateAdapter, translate: TranslateService, formBuilder: UntypedFormBuilder, cd: ChangeDetectorRef, formGroupDir: FormGroupDirective, defaultOptions?: MatFormFieldDefaultOptions);
79
82
  ngOnInit(): void;
80
- _getDisplayedMessages(): 'error' | 'hint';
81
83
  ngAfterViewInit(): void;
82
84
  ngOnDestroy(): void;
83
85
  writeValue(value: any): void;
@@ -95,9 +97,10 @@ export declare class MatDateTime implements OnInit, AfterViewInit, OnDestroy, Co
95
97
  protected _onTimePickerChange(timeStr: string): void;
96
98
  protected _openDatePickerIfMobile(event?: Event, datePicker?: MatDatepicker<any>): void;
97
99
  protected _openTimePickerIfMobile(event?: Event): void;
100
+ protected _onBlur(): void;
98
101
  protected _checkIfTouched(): void;
99
102
  protected _preventEvent(event?: Event): void;
100
- private updatePattern;
103
+ private updateTranslations;
101
104
  private onFormChange;
102
105
  private emitChange;
103
106
  private updateTabIndex;
@@ -107,6 +110,6 @@ export declare class MatDateTime implements OnInit, AfterViewInit, OnDestroy, Co
107
110
  private updateDateMaskOptions;
108
111
  private updateTimeMaskOptions;
109
112
  static ɵfac: i0.ɵɵFactoryDeclaration<MatDateTime, [null, null, null, null, { optional: true; }, null]>;
110
- static ɵcmp: i0.ɵɵComponentDeclaration<MatDateTime, "mat-date-time-field", never, { "subscriptSizing": { "alias": "subscriptSizing"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "required": { "alias": "required"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "mobile": { "alias": "mobile"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "startDate": { "alias": "startDate"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "datePickerFilter": { "alias": "datePickerFilter"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; }, {}, ["matError"], ["mat-error", "mat-hint", "[matPrefix]"], false, never>;
113
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatDateTime, "mat-date-time-field", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "mobile": { "alias": "mobile"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "startDate": { "alias": "startDate"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "datePickerFilter": { "alias": "datePickerFilter"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "subscriptSizing": { "alias": "subscriptSizing"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "required": { "alias": "required"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; }, {}, ["matError"], ["mat-error", "mat-error", "mat-hint:not([align='end'])", "mat-hint[align='end']", "[matPrefix]"], false, never>;
111
114
  }
112
115
  export {};
@@ -16,12 +16,12 @@ export declare class DateTimeTestPage implements OnInit {
16
16
  memoryTimer: Subscription;
17
17
  form: UntypedFormGroup;
18
18
  mode: 'mobile' | 'desktop' | 'memory' | 'temp';
19
- mobileApparence: MatFormFieldAppearance;
19
+ appearance: MatFormFieldAppearance;
20
20
  noTimeProperty: string;
21
21
  constructor(platform: Platform, formBuilder: UntypedFormBuilder, cd: ChangeDetectorRef);
22
22
  ngOnInit(): void;
23
23
  toggleMode(value: any): void;
24
- toggleMobileApparence(event: MatCheckboxChange): void;
24
+ toggleAppearance(event: MatCheckboxChange): void;
25
25
  loadData(): Promise<void>;
26
26
  doSubmit(event: any): void;
27
27
  log(message: string): void;
@@ -54,5 +54,5 @@ export declare class MatDuration implements OnInit, OnDestroy, ControlValueAcces
54
54
  protected updateTabIndex(): void;
55
55
  protected markForCheck(): void;
56
56
  static ɵfac: i0.ɵɵFactoryDeclaration<MatDuration, [null, null, null, null, null, { optional: true; }]>;
57
- static ɵcmp: i0.ɵɵComponentDeclaration<MatDuration, "mat-duration-field", never, { "disabled": { "alias": "disabled"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "required": { "alias": "required"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "maxDecimals": { "alias": "maxDecimals"; "required": false; }; "placeholderChar": { "alias": "placeholderChar"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; }, {}, never, ["[matPrefix]", "mat-error"], false, never>;
57
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatDuration, "mat-duration-field", never, { "disabled": { "alias": "disabled"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "required": { "alias": "required"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "maxDecimals": { "alias": "maxDecimals"; "required": false; }; "placeholderChar": { "alias": "placeholderChar"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; }, {}, never, ["[matPrefix]", "mat-error", "[matPrefix]", "mat-error"], false, never>;
58
58
  }
@@ -15,7 +15,9 @@ export declare class MatLatLongField implements OnInit, OnDestroy, ControlValueA
15
15
  private _formatOptions;
16
16
  private _disabling;
17
17
  private _writing;
18
+ private _appearance;
18
19
  private _subscriptSizing;
20
+ private readonly _defaultAppearance;
19
21
  private readonly _defaultSubscriptSizing;
20
22
  _readonly: boolean;
21
23
  _formatFn: LatLongFormatFn;
@@ -31,13 +33,14 @@ export declare class MatLatLongField implements OnInit, OnDestroy, ControlValueA
31
33
  pattern: LatLongPattern;
32
34
  required: boolean;
33
35
  floatLabel: AppFloatLabelType;
34
- appearance: MatFormFieldAppearance;
35
36
  placeholder: string;
36
37
  tabindex: number;
37
38
  defaultSign: '-' | '+' | '+ ' | '- ';
38
39
  maxDecimals: number;
39
40
  placeholderChar: string;
40
41
  autofocus: boolean;
42
+ set appearance(value: MatFormFieldAppearance);
43
+ get appearance(): MatFormFieldAppearance;
41
44
  set readonly(value: boolean);
42
45
  get readonly(): boolean;
43
46
  set subscriptSizing(value: SubscriptSizing);
@@ -48,7 +51,6 @@ export declare class MatLatLongField implements OnInit, OnDestroy, ControlValueA
48
51
  matError: MatError;
49
52
  constructor(formBuilder: UntypedFormBuilder, cd: ChangeDetectorRef, formGroupDir: FormGroupDirective, defaultOptions?: MatFormFieldDefaultOptions);
50
53
  ngOnInit(): void;
51
- _getDisplayedMessages(): 'error' | 'hint';
52
54
  ngOnDestroy(): void;
53
55
  writeValue(obj: any): void;
54
56
  registerOnChange(fn: any): void;
@@ -69,5 +71,5 @@ export declare class MatLatLongField implements OnInit, OnDestroy, ControlValueA
69
71
  private checkIfTouched;
70
72
  private markForCheck;
71
73
  static ɵfac: i0.ɵɵFactoryDeclaration<MatLatLongField, [null, null, { optional: true; }, null]>;
72
- static ɵcmp: i0.ɵɵComponentDeclaration<MatLatLongField, "mat-latlong-field", never, { "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "type": { "alias": "type"; "required": false; }; "pattern": { "alias": "latLongPattern"; "required": false; }; "required": { "alias": "required"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "defaultSign": { "alias": "defaultSign"; "required": false; }; "maxDecimals": { "alias": "maxDecimals"; "required": false; }; "placeholderChar": { "alias": "placeholderChar"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "subscriptSizing": { "alias": "subscriptSizing"; "required": false; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; }, ["matError"], ["mat-error", "mat-hint:not([align='end'])", "mat-hint[align='end']", "[matPrefix]", "[matSuffix]"], false, never>;
74
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatLatLongField, "mat-latlong-field", never, { "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "type": { "alias": "type"; "required": false; }; "pattern": { "alias": "latLongPattern"; "required": false; }; "required": { "alias": "required"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "defaultSign": { "alias": "defaultSign"; "required": false; }; "maxDecimals": { "alias": "maxDecimals"; "required": false; }; "placeholderChar": { "alias": "placeholderChar"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "subscriptSizing": { "alias": "subscriptSizing"; "required": false; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; }, ["matError"], ["mat-error", "mat-hint:not([align='end'])", "mat-hint[align='end']", "[matPrefix]", "[matSuffix]"], false, never>;
73
75
  }
@@ -1,6 +1,8 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
3
3
  import { PlatformService } from '../../../../core/services/platform.service';
4
+ import { MatFormFieldAppearance } from '@angular/material/form-field';
5
+ import { MatCheckboxChange } from '@angular/material/checkbox';
4
6
  import * as i0 from "@angular/core";
5
7
  export declare class LatLongTestPage implements OnInit {
6
8
  protected formBuilder: UntypedFormBuilder;
@@ -8,12 +10,14 @@ export declare class LatLongTestPage implements OnInit {
8
10
  form: UntypedFormGroup;
9
11
  geoPositionMessage: string;
10
12
  mode: string;
13
+ appearance: MatFormFieldAppearance;
11
14
  constructor(formBuilder: UntypedFormBuilder, platform: PlatformService);
12
15
  ngOnInit(): void;
13
16
  toggleMode(value: any): void;
14
17
  loadData(): Promise<void>;
15
18
  doSubmit(event: any): void;
16
19
  geoPosition(event: Event, controlName?: string): Promise<void>;
20
+ toggleAppearance(event: MatCheckboxChange): void;
17
21
  stringify: {
18
22
  (value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
19
23
  (value: any, replacer?: (string | number)[], space?: string | number): string;
@@ -1,2 +1,3 @@
1
- import { SubscriptSizing } from '@angular/material/form-field';
1
+ import { MatFormFieldAppearance, SubscriptSizing } from '@angular/material/form-field';
2
2
  export declare const MAT_FORM_FIELD_DEFAULT_SUBSCRIPT_SIZING: SubscriptSizing;
3
+ export declare const MAT_FORM_FIELD_DEFAULT_APPEARANCE: MatFormFieldAppearance;
@@ -2,6 +2,7 @@ import { ChangeDetectorRef, ElementRef, EventEmitter, Injector, OnInit } from '@
2
2
  import { ControlValueAccessor, FormGroupDirective, UntypedFormBuilder, UntypedFormControl, ValidatorFn } from '@angular/forms';
3
3
  import { CdkTextareaAutosize } from '@angular/cdk/text-field';
4
4
  import { AppForm } from '../../../core/form/form.class';
5
+ import { AppFloatLabelType } from '../../form/field.model';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class TextForm extends AppForm<{
7
8
  text: string;
@@ -20,6 +21,7 @@ export declare class TextForm extends AppForm<{
20
21
  standalone: boolean;
21
22
  formControl: UntypedFormControl;
22
23
  formControlName: string;
24
+ floatLabel: AppFloatLabelType;
23
25
  textAreaChanges: EventEmitter<string>;
24
26
  textArea: ElementRef;
25
27
  textInput: ElementRef;
@@ -41,5 +43,5 @@ export declare class TextForm extends AppForm<{
41
43
  }): void;
42
44
  private textFormValueChanged;
43
45
  static ɵfac: i0.ɵɵFactoryDeclaration<TextForm, [null, null, null, { optional: true; }]>;
44
- static ɵcmp: i0.ɵɵComponentDeclaration<TextForm, "app-text-form", never, { "showError": { "alias": "showError"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "multiline": { "alias": "multiline"; "required": false; }; "autoHeight": { "alias": "autoHeight"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "validator": { "alias": "validator"; "required": false; }; "standalone": { "alias": "standalone"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; }, { "textAreaChanges": "textAreaChanges"; }, never, ["[matError]"], false, never>;
46
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextForm, "app-text-form", never, { "showError": { "alias": "showError"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "multiline": { "alias": "multiline"; "required": false; }; "autoHeight": { "alias": "autoHeight"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "validator": { "alias": "validator"; "required": false; }; "standalone": { "alias": "standalone"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; }, { "textAreaChanges": "textAreaChanges"; }, never, ["[matError]"], false, never>;
45
47
  }
@@ -1,4 +1,5 @@
1
1
  import { PipeTransform } from '@angular/core';
2
+ import { DisplayFn } from '../form/field.model';
2
3
  import * as i0 from "@angular/core";
3
4
  export declare class IsNotNilOrBlankPipe implements PipeTransform {
4
5
  transform(value: string): boolean;
@@ -31,7 +32,7 @@ export declare class IsNilPipe implements PipeTransform {
31
32
  static ɵpipe: i0.ɵɵPipeDeclaration<IsNilPipe, "isNil", false>;
32
33
  }
33
34
  export declare class ToStringPipe implements PipeTransform {
34
- transform(value: number): string;
35
+ transform(value: number | object, displayWith?: DisplayFn): string;
35
36
  static ɵfac: i0.ɵɵFactoryDeclaration<ToStringPipe, never>;
36
37
  static ɵpipe: i0.ɵɵPipeDeclaration<ToStringPipe, "toString", false>;
37
38
  }
@@ -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.7.3-rc6",
5
+ "version": "2.7.3-rc61",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{
@@ -2,7 +2,6 @@
2
2
  // Import material theme
3
3
  // --------------------------------------------------
4
4
  @use '@angular/material' as mat;
5
- @include mat.core();
6
5
 
7
6
  // Define the palettes for your theme using the Material Design palettes available in palette.scss
8
7
  // (imported above). For each palette, you can optionally specify a default, lighter, and darker
@@ -40,22 +39,6 @@ $mat-indigo-app: (
40
39
  A700: white
41
40
  )
42
41
  );
43
- //mat.$light-theme-background-palette: (
44
- // status-bar: map_get(mat.$grey-palette, 300),
45
- // app-bar: map_get(mat.$grey-palette, 100),
46
- // background: var(--background, map_get(mat.$grey-palette, 50)),
47
- // hover: rgba(black, 0.04), // TODO(kara): check style with Material Design UX
48
- // card: white,
49
- // dialog: white,
50
- // disabled-button: rgba(black, 0.12),
51
- // raised-button: white,
52
- // focused-button: rgba(black, 0.12),
53
- // selected-button: map_get(mat.$grey-palette, 300),
54
- // selected-disabled-button: map_get(mat.$grey-palette, 400),
55
- // disabled-button-toggle: map_get(mat.$grey-palette, 200),
56
- // unselected-chip: map_get(mat.$grey-palette, 300),
57
- // disabled-list-option: map_get(mat.$grey-palette, 200),
58
- //);
59
42
 
60
43
  // FIXME: Why loader toolbar is so dark ?
61
44
  $candy-app-primary: mat.define-palette($mat-indigo-app, 500, 100, 900);
@@ -75,28 +58,9 @@ $candy-app-theme: mat.define-light-theme((
75
58
 
76
59
  ));
77
60
 
78
- @include mat.all-component-themes($candy-app-theme);
79
-
80
-
81
61
  // --------------------------------------------------
82
62
  // Material theme
83
63
  // --------------------------------------------------
84
- //$primary: mat.define-palette(mat.$indigo-palette, 500);
85
- //$accent: mat.define-palette(mat.$pink-palette, A200, A100, A400);
86
- //$warn: mat.define-palette(mat.$red-palette);
87
- //
88
- //$theme: mat.define-light-theme((
89
- // color: (
90
- // primary: $primary,
91
- // accent: $accent,
92
- // warn: $warn,
93
- // ),
94
- // typography: mat.define-typography-config(),
95
- // density: 0,
96
- //));
97
- //@include mat.all-component-themes($theme);
98
-
99
-
100
64
 
101
65
  // Expose some variables
102
66
  $mat-tab-link-height: 48px !default;
@@ -1,3 +1,11 @@
1
+ @use '@angular/material' as mat;
2
+
3
+ // --------------------------------------------------
4
+ // Standard metrial style
5
+ // --------------------------------------------------
6
+ @include mat.core();
7
+ @include mat.all-component-themes($candy-app-theme);
8
+
1
9
  // --------------------------------------------------
2
10
  // Override material style
3
11
  // --------------------------------------------------
@@ -28,33 +36,51 @@
28
36
  }
29
37
 
30
38
  // Icon, Button
39
+ .mat-button.mat-primary,
31
40
  .mat-icon.mat-primary,
32
41
  .mat-icon-button.mat-primary,
33
- .mat-button.mat-primary,
42
+ .mat-mdc-button.mat-primary,
43
+ .mat-mdc-icon-button.mat-primary,
34
44
  .mat-stroked-button.mat-primary {
35
45
  color: var(--ion-color-tertiary, $tertiary);
36
46
  }
37
- .mat-icon.mat-secondary,
38
47
  .mat-button.mat-secondary,
48
+ .mat-icon.mat-secondary,
39
49
  .mat-icon-button.mat-secondary,
50
+ .mat-mdc-button.mat-secondary,
51
+ .mat-mdc-icon-button.mat-secondary,
40
52
  .mat-stroked-button.mat-secondary {
41
53
  color: var(--ion-color-secondary, $secondary);
42
54
  }
43
- .mat-icon.mat-accent,
44
55
  .mat-button.mat-accent,
56
+ .mat-icon.mat-accent,
45
57
  .mat-icon-button.mat-accent,
58
+ .mat-mdc-button.mat-accent,
59
+ .mat-mdc-icon-button.mat-accent,
46
60
  .mat-stroked-button.mat-accent {
47
- color: var(--ion-color-accent);
61
+ color: var(--ion-color-accent, $accent);
48
62
  }
49
63
  .mdc-button {
50
64
  --mdc-typography-button-letter-spacing: normal;
51
65
  --mdc-text-button-label-text-tracking: normal;
52
66
  }
53
-
54
- // Badge
55
- .mdc-tab .mat-badge-content {
56
- padding-left: 2px;
67
+ .mat-mdc-menu-item {
68
+ --mat-menu-item-label-text-tracking: normal;
69
+ --mat-menu-item-label-text-size: 14px;
70
+ --mat-menu-item-icon-color: #0000008a;
57
71
  }
72
+ .mat-mdc-option {
73
+ --mat-option-label-text-tracking: normal;
74
+ --mat-option-label-text-size: 16px;
75
+ }
76
+ .mat-mdc-select {
77
+ --mat-select-trigger-text-font: inherit;
78
+ --mat-select-trigger-text-tracking: normal;
79
+ --mat-select-trigger-text-size: inherit;
80
+ --mat-select-disabled-trigger-text-color: inherit;
81
+ --mat-select-trigger-text-line-height: inherit;
82
+ }
83
+
58
84
  .mat-badge-primary .mat-badge-content {
59
85
  background-color: var(--ion-color-tertiary);
60
86
  color: var(--ion-color-tertiary-contrast);
@@ -98,21 +98,23 @@
98
98
  --ion-grid-column-padding: #{$ion-grid-column-padding};
99
99
  --ion-padding: #{$ion-padding};
100
100
  --ion-margin: #{$ion-margin};
101
+ --ion-toolbar-height: #{$ion-toolbar-height};
101
102
 
102
103
  --expansion-panel-padding: var(--ion-padding);
103
104
  --expansion-panel-header-padding: var(--ion-padding);
104
105
 
105
106
  --mat-toolbar-height: #{$mat-toolbar-height-desktop};
106
107
  --mat-paginator-height: mat.$paginator-height;
107
- --ion-toolbar-height: #{$ion-toolbar-height};
108
+ --mat-tab-link-height: #{$mat-tab-link-height};
109
+ --mat-tab-bar-height: #{$mat-tab-bar-height};
108
110
 
109
111
  --app-table-header-height: #{$app-table-header-height};
110
112
  --app-toolbar-height: #{$app-toolbar-height};
111
- //--app-paginator-height: #{$app-paginator-height};
113
+ --app-paginator-height: #{$app-paginator-height};
112
114
  --app-form-buttons-bar-height: #{$app-form-buttons-bar-height};
113
115
  --app-footer-height: var(--app-form-buttons-bar-height);
114
- --mat-tab-link-height: #{$mat-tab-link-height};
115
- --mat-tab-bar-height: #{$mat-tab-bar-height};
116
+ --app-form-field-background-color: #{$app-form-field-background-color};
117
+ --app-form-field-disabled-background-color: #{$app-form-field-disabled-background-color};
116
118
  }
117
119
 
118
120
  @mixin css-variables-to-root-mobile() {