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

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 +201 -0
  262. package/src/theme/_ngx-components.globals.scss +7 -4
  263. package/src/theme/_ngx-components.scss +8 -200
  264. package/src/theme/_ngx-components.table.scss +105 -134
  265. package/src/theme/_ngx-components.tabs.scss +2 -325
  266. package/src/theme/_theme.scss +1 -0
@@ -12,21 +12,24 @@
12
12
  .mat-mdc-table {
13
13
  min-width: calc(100% - 1px);
14
14
  border-collapse: separate;
15
+ --mat-table-row-item-label-text-size: 14px;
16
+ --mat-table-row-item-label-text-tracking: normal;
15
17
  --mat-row-height: #{$app-table-row-height};
16
18
  --mat-row-max-height: #{$app-table-row-max-height};
17
19
  --mat-cell-horizontal-padding: #{$app-table-cell-horizontal-padding};
18
- --mat-cell-padding-top: calc(var(--mat-row-height) * 0.5 - 14px);
20
+ --mat-cell-padding-top: calc(var(--mat-row-height) / 2 - var(--mat-table-row-item-label-text-size, 14px));
19
21
 
20
- --mdc-checkbox-state-layer-size: 20px;
21
22
  --mdc-typography-body1-font-size: 14px;
22
- --mat-table-row-item-label-text-tracking: 0.0178571429em;
23
- --mat-form-field-container-text-tracking: 0.0178571429em;
24
- --mdc-typography-body1-letter-spacing: 0.0178571429em;
25
- --mat-table-row-item-label-text-size: 14px;
23
+ --mdc-typography-body1-letter-spacing: normal;
26
24
 
27
- --mdc-filled-text-field-container-color: #{$app-form-field-background-color};
28
- --mdc-filled-text-field-disabled-container-color: #{$app-form-field-background-color};
29
- --mat-form-field-state-layer-color: #{$app-form-field-focus-background-color};
25
+ --mat-form-field-container-text-tracking: normal;
26
+ --mat-form-field-state-layer-color: transparent;
27
+ --mat-form-field-subscript-text-size: 10px;
28
+ --mdc-checkbox-state-layer-size: 20px;
29
+ --mdc-filled-text-field-container-color: transparent;
30
+ --mdc-filled-text-field-disabled-container-color: transparent;
31
+ --mat-select-enabled-trigger-text-color: var(--mat-table-row-item-label-text-color);
32
+ --mat-select-disabled-trigger-text-color: var(--mat-table-row-item-label-text-color);
30
33
 
31
34
  .mat-mdc-header-cell {
32
35
  color: var(--ion-color-primary);
@@ -107,7 +110,7 @@
107
110
  }
108
111
 
109
112
  /* Add a start padding to content (but not the cell itself) (e.g. tables with odd/event style - like BatchGroupsTable) */
110
- &.mat-cell-content-start-padding {
113
+ &.mat-mdc-cell-content-start-padding {
111
114
 
112
115
  // Reset start padding here (only apply cell's content)
113
116
  padding-inline-start: 0;
@@ -156,6 +159,7 @@
156
159
  }
157
160
  }
158
161
 
162
+ .mat-mdc-cell-date,
159
163
  .mat-cell-date {
160
164
  min-width: 128px;
161
165
  max-width: 128px;
@@ -166,10 +170,16 @@
166
170
  }
167
171
  }
168
172
 
173
+ .mat-mdc-cell-date-time,
169
174
  .mat-cell-date-time {
170
- min-width: 145px;
175
+ min-width: 155px;
171
176
  max-width: 180px;
172
177
 
178
+ mat-date-time-field {
179
+ ion-col.day {
180
+ min-width: unset !important; // make sure column is resizable
181
+ }
182
+ }
173
183
  input {
174
184
  max-width: 120px;
175
185
  overflow: visible !important;
@@ -183,16 +193,21 @@
183
193
  .mat-column-actions {
184
194
  text-align: end;
185
195
  min-width: var(--mat-column-actions-min-width);
186
- width: var(--mat-column-actions-width, 40px);
187
- max-width: var(--mat-column-actions-max-width, 40px);
196
+ width: var(--mat-column-actions-width, 48px); // 48px = a button width
197
+ max-width: var(--mat-column-actions-max-width, 48px); // 48px = a button width
188
198
  padding-inline-start: 0 !important; // No start padding
189
- padding-right: unset !important;
199
+ padding-inline-end: 0; // No end padding
200
+ padding-right: unset !important; // use padding-inline-start instead
201
+ padding-left: unset !important; // use padding-inline-end instead
202
+ color: unset; // Remove row color (let the button decide)
190
203
  }
191
204
 
192
205
  .mat-mdc-cell.computed mat-form-field,
206
+ .mat-mdc-cell-computed,
193
207
  .mat-cell-computed,
194
208
  .mat-mdc-cell ion-text.computed,
195
209
  .mat-mdc-cell.calculated mat-form-field,
210
+ .mat-mdc-cell-calculated,
196
211
  .mat-cell-calculated {
197
212
  color: var(--ion-color-primary-tint);
198
213
  font-style: italic;
@@ -202,32 +217,35 @@
202
217
  .mat-mdc-row {
203
218
 
204
219
  // Disabled row
220
+ &.mat-mdc-row-disabled *,
205
221
  &.mat-row-disabled * {
206
- color: inherit;
207
222
  cursor: pointer;
208
223
  // Necessary to focus on <mat-form-field> when row is readonly since angular 15 migrating
209
224
  pointer-events: unset !important;
210
225
  }
211
226
 
227
+ &.mat-mdc-row-disabled:hover,
212
228
  &.mat-row-disabled:hover {
213
229
  background-color: var(--ion-color-light);
214
230
 
215
- .mat-cell {
231
+ .mat-mdc-cell {
216
232
  color: var(--ion-color-light-contrast);
217
233
  }
218
234
  }
219
235
 
236
+ &.mat-mdc-row-selected,
220
237
  &.mat-row-selected {
221
238
  background-color: var(--ion-color-secondary100);
222
239
 
223
- &:not(.mat-row-error):hover {
240
+ &:not(.mat-mdc-row-error):not(.mat-row-error):hover {
224
241
  background-color: var(--ion-color-secondary100);
225
242
  }
226
243
 
227
- .mat-cell {
244
+ .mat-mdc-cell {
228
245
  color: var(--ion-color-secondary100-contrast);
229
246
  }
230
247
 
248
+ &.mat-mdc-row-disabled:hover,
231
249
  &.mat-row-disabled:hover {
232
250
  background-color: var(--ion-color-secondary100-shade) !important;
233
251
  }
@@ -235,9 +253,8 @@
235
253
  }
236
254
 
237
255
  // Dirty row
256
+ &.mat-mdc-row-dirty,
238
257
  &.mat-row-dirty {
239
- //border-left: 3px solid var(--ion-color-primary-tint);
240
-
241
258
  // Resize the dirty icon (in the 'actions' column)
242
259
  .mat-column-actions mat-icon.dirty-icon,
243
260
  .mat-column-actions ion-icon.dirty-icon {
@@ -246,10 +263,12 @@
246
263
  }
247
264
 
248
265
  // Error row
266
+ &.mat-mdc-row-error,
249
267
  &.mat-row-error {
250
268
  //border-left: 3px solid var(--ion-color-danger-tint) !important;
251
269
  background-color: var(--ion-color-warning-tint);
252
270
 
271
+ &.mat-mdc-row-disabled:hover,
253
272
  &.mat-row-disabled:hover {
254
273
  background-color: var(--ion-color-warning-shade) !important;
255
274
  }
@@ -267,30 +286,30 @@
267
286
  }
268
287
  }
269
288
 
270
- //.mdc-line-ripple--deactivating {
271
- // display: none;
272
- //}
273
-
274
- mat-mdc-form-field,
275
289
  mat-autocomplete-field,
276
- app-form-field,
290
+ app-form-field {
291
+ width: 100%;
292
+ }
293
+
277
294
  .mat-mdc-form-field {
278
295
  width: 100%;
296
+
279
297
  --mat-form-field-container-text-size: 14px;
280
298
  --mdc-filled-text-field-label-text-size: var(--mat-form-field-container-text-size);
299
+ --mat-select-trigger-text-size: var(--mat-form-field-container-text-size);
281
300
  --mat-mdc-form-field-height: calc(var(--mat-row-height) - 2px);
282
- // TODO
283
- // use -- active- boder : 0;
301
+ --mdc-outlined-text-field-outline-width: 0;
284
302
  height: var(--mat-mdc-form-field-height);
285
- }
286
-
287
- .mat-mdc-form-field {
288
- padding-top: 1px;
289
303
 
290
304
  .mat-mdc-form-field-label {
291
305
  width: 100%;
292
306
  }
293
307
 
308
+ &.mat-form-field-appearance-fill {
309
+ height: var(--mat-mdc-form-field-height);
310
+ padding-top: 1px; // suppress a redundant line in table
311
+ }
312
+
294
313
  .mat-mdc-text-field-wrapper {
295
314
  max-height: var(--mat-mdc-form-field-height);
296
315
  }
@@ -350,11 +369,11 @@
350
369
  // Suffix
351
370
  .mat-mdc-form-field-icon-suffix {
352
371
  white-space: nowrap;
372
+ padding: 0;
353
373
 
354
374
  .mat-mdc-icon-button {
355
- width: 24px;
356
- height: 24px;
357
- padding: 2px 0 0 0;
375
+ --mdc-icon-button-state-layer-size: 24px;
376
+ padding: 0;
358
377
 
359
378
  ion-icon, .mat-icon {
360
379
  $font-size: calculateRem(18px);
@@ -363,7 +382,7 @@
363
382
  }
364
383
 
365
384
  .mat-mdc-button-touch-target {
366
- width: 24px;
385
+ width: var(--mdc-icon-button-state-layer-size);
367
386
  }
368
387
  }
369
388
 
@@ -381,12 +400,6 @@
381
400
  }
382
401
  }
383
402
 
384
- .mat-mdc-form-field-subscript-wrapper {
385
- margin-top: -1.5rem;
386
- text-align: right;
387
- pointer-events: none;
388
- }
389
-
390
403
  // FIXME: in table, required indicator is only inside the float label
391
404
  .mat-mdc-floating-label {
392
405
  display: none;
@@ -398,15 +411,19 @@
398
411
  color: rgba(0, 0, 0, 0.6) !important;
399
412
  -webkit-text-fill-color: rgba(0, 0, 0, 0.6) !important;
400
413
  }
401
-
402
- mat-error {
403
- //font-size: ;
404
- //--mdc-typography-caption-font-size: 10px;
405
- font-size: 10px;
406
- }
407
-
408
414
  } // .mat-mdc-form-field
409
415
 
416
+ .mat-mdc-form-field-subscript-wrapper,
417
+ .mat-mdc-form-field-subscript-wrapper.mat-mdc-form-field-bottom-align {
418
+ margin-top: -1.5rem;
419
+ text-align: right;
420
+ pointer-events: none;
421
+
422
+ mat-error,
423
+ mat-hint {
424
+ font-size: var(--mat-form-field-subscript-text-size);
425
+ }
426
+ }
410
427
 
411
428
  .mat-boolean-field-radio.mat-mdc-form-field-appearance-fill .mat-mdc-form-field-infix,
412
429
  .mat-boolean-field-radio .mat-mdc-form-field-infix {
@@ -426,7 +443,28 @@
426
443
  padding-top: 0.4em;
427
444
  }
428
445
 
429
- .mat-cell > .ion-text-nowrap {
446
+ mat-date-time-field {
447
+ height: calc(var(--mat-row-height) - 2px);
448
+ ion-col.day {
449
+ min-width: unset !important; // make sure column is resizable
450
+ }
451
+ ion-col.hour {
452
+ --max-width: var(--min-width) !important;
453
+ }
454
+ }
455
+
456
+ mat-latlong-field {
457
+ height: calc(var(--mat-row-height) - 2px);
458
+ ion-col.text {
459
+ min-width: unset !important; // make sure column is resizable
460
+ }
461
+ ion-col.sign {
462
+ --min-width: 35px !important;
463
+ --max-width: 45px !important;
464
+ }
465
+ }
466
+
467
+ .mat-mdc-cell > .ion-text-nowrap {
430
468
  width: 100%;
431
469
  overflow: hidden;
432
470
  text-overflow: ellipsis;
@@ -434,17 +472,17 @@
434
472
  }
435
473
 
436
474
  /* Show when hover row */
437
- .mat-cell .visible-hover-row {
475
+ .mat-mdc-cell .visible-hover-row {
438
476
  visibility: hidden;
439
477
  }
440
478
 
441
479
  &:hover {
442
- .mat-cell .visible-hover-row {
480
+ .mat-mdc-cell .visible-hover-row {
443
481
  visibility: visible;
444
482
  }
445
483
  }
446
484
 
447
- .mat-cell .avatar {
485
+ .mat-mdc-cell .avatar {
448
486
  color: #d9d9d9;
449
487
  background-color: #f8f8f8;
450
488
  border: solid 1px #d9d9d9;
@@ -458,103 +496,36 @@
458
496
 
459
497
  /* Special case to have small row */
460
498
  &.compact .mat-mdc-row,
499
+ .mat-mdc-row.mat-mdc-row-small,
461
500
  .mat-mdc-row.mat-row-small {
462
501
  min-height: inherit;
463
502
  --mat-row-height: 33px;
464
503
  --mat-row-max-height: 33px;
465
504
  }
466
505
 
467
- .mat-mdc-row.mat-row-small .mat-cell,
468
- .mat-mdc-row .mat-cell.mat-row-small {
506
+ .mat-mdc-row.mat-mdc-row-small .mat-mdc-cell,
507
+ .mat-mdc-row .mat-mdc-cell.mat-mdc-row-small,
508
+ .mat-mdc-row.mat-row-small .mat-mdc-cell,
509
+ .mat-mdc-row .mat-mdc-cell.mat-row-small {
469
510
  line-height: 15px;
470
511
  @include font-size(12px);
471
512
  }
472
513
 
473
- .mat-row-height-auto { // todo useful ?
514
+ .mat-mdc-row-height-auto,
515
+ .mat-row-height-auto {
474
516
  max-height: unset !important;
475
517
  }
476
518
 
477
- // Make smaller row
478
- // NOTE : useless on angular 15
479
- //&.compact {
480
- // --mat-row-height: 33px;
481
- //
482
- // // TODO test it ! then remove is not need
483
- // .mat-mdc-row {
484
- //
485
- // ion-label {
486
- // display: inline-block;
487
- // margin-top: 5px;
488
- // width: 100%;
489
- // overflow: hidden;
490
- // white-space: nowrap;
491
- // text-overflow: ellipsis;
492
- // }
493
- //
494
- // .mat-badge-content {
495
- // top: -2px;
496
- // }
497
- //
498
- // .mat-icon-button {
499
- // height: 32px;
500
- // width: 32px;
501
- // line-height: 32px;
502
- // }
503
- //
504
- // .mat-mdc-form-field-underline {
505
- // bottom: 6px !important;
506
- // }
507
- //
508
- // .mat-mdc-form-field {
509
- //
510
- // .mat-mdc-form-field-wrapper {
511
- // max-height: 32px;
512
- //
513
- // .mat-mdc-form-field-flex {
514
- //
515
- // .mat-mdc-form-field-infix {
516
- // max-height: 32px;
517
- // padding-top: 0;
518
- // border-top-width: 10px;
519
- //
520
- // .mat-mdc-form-field-label-wrapper {
521
- //
522
- // .mat-mdc-form-field-label {
523
- // top: 12px;
524
- // }
525
- // }
526
- //
527
- // .mat-checkbox {
528
- // display: block;
529
- // position: absolute;
530
- // top: -2px;
531
- //
532
- // .mat-checkbox-ripple {
533
- // height: 32px;
534
- // width: 32px;
535
- // left: calc(50% - 16px);
536
- // top: calc(50% - 16px);
537
- // }
538
- // }
539
- // }
540
- // }
541
- //
542
- // // make click on mat-error transfer to input
543
- // //.mat-mdc-form-field-subscript-wrapper {
544
- // // pointer-events: none;
545
- // //}
546
- //
547
- // mat-error {
548
- // margin-top: 10px;
549
- // }
550
- // }
551
- // }
552
- // }
553
- //}
519
+ // Restore border on last row
520
+ .mdc-data-table__row:last-child .mat-mdc-cell {
521
+ border-bottom-color: var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12)) !important;
522
+ border-bottom-width: var(--mat-table-row-item-outline-width, 1px) !important;
523
+ border-bottom-style: solid !important;
524
+ }
554
525
  }
555
526
 
556
527
  .mat-mdc-paginator {
557
- --mat-paginator-container-size: #{$app-paginator-height};
528
+ --mat-paginator-container-size: var(--app-paginator-height, #{$app-paginator-height});
558
529
  --mat-paginator-container-background-color: whitesmoke;
559
530
  overflow-y: hidden;
560
531