@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
@@ -17,7 +17,8 @@
17
17
  }
18
18
 
19
19
  // --- Allow to hide headers
20
- .mat-mdc-tab-group.mat-mdc-tab-group-header-hidden .mat-mdc-tab-header {
20
+ .mat-mdc-tab-group.mat-mdc-tab-group-header-hidden .mat-mdc-tab-header,
21
+ .mat-mdc-tab-group.mat-tab-group-header-hidden .mat-mdc-tab-header {
21
22
  display: none;
22
23
  }
23
24
 
@@ -36,327 +37,3 @@
36
37
  display: inherit;
37
38
  }
38
39
 
39
- // --------------------------------------------------
40
- // Material menu
41
- // --------------------------------------------------
42
-
43
-
44
- .mat-menu-panel {
45
-
46
- // Max width = 400px
47
- &.mat-menu-size-400 {
48
- min-width: unset;
49
- width: 400px;
50
- max-width: calc(90vw);
51
- }
52
- // Max width = 75vw
53
- &.mat-menu-size-75vw {
54
- min-width: unset;
55
- width: calc(75vw);
56
- max-width: calc(90vw);
57
- }
58
-
59
- // No padding
60
- &.ion-no-padding {
61
- .mat-menu-content {
62
- padding: 0 !important;
63
- }
64
- }
65
-
66
- // Small menu item (e.g. for actions on a table row)
67
- &.mat-menu-small-item-height .mat-menu-item,
68
- .mat-menu-item.mat-menu-item-small-height
69
- {
70
- padding: 0 8px;
71
- height: 35px;
72
- line-height: 35px;
73
- }
74
- // Reduce the font size, on label just inside a mat-menu (e.g. see trips.page.html)
75
- .mat-menu-content > ion-label {
76
- @include font-size(12px);
77
- }
78
-
79
- .mat-menu-content ion-item > ion-icon[slot="start"] {
80
- margin-right: 16px;
81
- vertical-align: middle;
82
- }
83
-
84
- // Menu title (e.g. see extraction map)
85
- .mat-menu-item.mat-menu-title {
86
- padding: 0 8px;
87
- height: 27px;
88
- line-height: 27px;
89
- @include font-size(12px);
90
- pointer-events: none;
91
- color: var(--ion-color-medium, rgba(0, 0, 0, 0.38));
92
- }
93
- }
94
-
95
- // --------------------------------------------------
96
- // Alert
97
- // --------------------------------------------------
98
-
99
- ion-alert button.alert-button {
100
- cursor: pointer;
101
- }
102
-
103
- // --------------------------------------------------
104
- // Date and time picker
105
- // --------------------------------------------------
106
-
107
- mat-calendar {
108
- .mat-calendar-header {
109
- background-color: var(--ion-color-secondary) !important;
110
- color: var(--ion-color-secondary-contrast) !important;
111
-
112
- button {
113
- color: var(--ion-color-secondary-contrast) !important;
114
- }
115
- }
116
-
117
- .mat-calendar-body-selected {
118
- background-color: var(--ion-color-accent) !important;
119
- color: var(--ion-color-accent-contrast) !important;
120
- font-weight: bold;
121
- }
122
-
123
- .mat-calendar-arrow {
124
- border-top-color: var(--ion-color-secondary-contrast) !important;
125
- }
126
- }
127
-
128
-
129
- .timepicker-backdrop-overlay {
130
- background-color: rgba(0, 0, 0, 0.32);
131
- z-index: 1000;
132
- opacity: 1;
133
- -webkit-tap-highlight-color: transparent;
134
- transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
135
- }
136
-
137
- ngx-material-timepicker-content {
138
- --clock-hand-color: var(--ion-color-accent) !important;
139
- --clock-face-time-active-color: var(--ion-color-accent-contrast) !important;
140
- // TODO review !
141
- //@extend .mat-dialog-container !optional;
142
-
143
- .timepicker {
144
- box-shadow: unset !important;
145
- border-radius: 4px;
146
-
147
- header {
148
- --dial-background-color: var(--ion-color-secondary) !important;
149
- color: var(--ion-color-secondary-contrast) !important;
150
- }
151
- }
152
-
153
- ngx-material-timepicker-dial-control {
154
- outline-color: var(--ion-color-accent) !important;
155
- input {
156
- outline-color: inherit !important;
157
- }
158
- }
159
- }
160
-
161
- .mat-mdc-form-field-type-mat-chip-grid {
162
- .mat-mdc-form-field-infix {
163
- padding-bottom: 5px !important;
164
- --mdc-chip-container-height: 24px !important;
165
- }
166
- }
167
-
168
-
169
- // --------------------------------------------------
170
- // Pages
171
- // --------------------------------------------------
172
- ion-item {
173
- ion-label.error {
174
- line-height: 16px;
175
- line-break: normal;
176
- overflow: visible;
177
- white-space: normal;
178
- }
179
- }
180
-
181
- // --------------------------------------------------
182
- // Modal
183
- // --------------------------------------------------
184
-
185
- ion-modal.stack-modal {
186
- --box-shadow: 0 28px 48px rgba(0, 0, 0, 0.4);
187
- --backdrop-opacity: var(--ion-backdrop-opacity, 0.32);
188
- }
189
-
190
- ion-modal.modal-large{
191
- --min-height: calc(100% - 50px) !important;
192
- --min-width: calc(100% - 100px) !important;
193
- }
194
- ion-modal.modal-fullscreen {
195
- --min-height: calc(100%) !important;
196
- --min-width: calc(100%) !important;
197
- }
198
-
199
-
200
- // --------------------------------------------------
201
- // Popover
202
- // --------------------------------------------------
203
-
204
- .popover-large {
205
- --min-width: calc(min(500px, 80%));
206
- }
207
-
208
- .popover-notifications {
209
- --popover-top: 0;
210
- --max-height: calc(90vh - 40px /* header + footer height */ - var(--popover-top, 0px) - var(--offset-y, 0px));
211
-
212
- ion-item {
213
- --ion-item-background-color-hover: var(--ion-color-light);
214
- &.unread {
215
- --ion-item-background: rgba(var(--ion-color-secondary100-rgb), 0.2);
216
- --ion-item-background-color-hover: rgba(var(--ion-color-secondary100-rgb), 0.3);
217
- }
218
- }
219
- }
220
-
221
- // --------------------------------------------------
222
- // Large button with icon floating on right
223
- // --------------------------------------------------
224
- .flex-margin ion-icon,
225
- .flex-margin span {
226
- margin-left: auto;
227
- }
228
-
229
- // --------------------------------------------------
230
- // Icon tooltip, and title
231
- // --------------------------------------------------
232
- // Fix Button icon name overrides button's own title on mouse over
233
- /*ion-icon[name='chatbox'] {
234
- pointer-events: none !important;
235
- }*/
236
- .mat-cell {
237
- /* smaller size, for the comment icon */
238
- mat-icon.comment {
239
- @include font-size(16pt);
240
- height: 100%;
241
- vertical-align: center;
242
- color: var(--ion-color-tertiary, grey);
243
-
244
- &.disabled {
245
- color: var(--ion-color-medium, grey);
246
- }
247
- }
248
- }
249
-
250
- // --------------------------------------------------
251
- // Icon inside text
252
- // --------------------------------------------------
253
- mat-icon,
254
- ion-icon {
255
- &.text-size {
256
- font-size: 1em;
257
- width: 1em;
258
- height: 1em;
259
- }
260
- }
261
- ion-button[expand="block"],
262
- ion-button[expand="full"],
263
- .mat-button,
264
- .mat-raised-button {
265
- mat-icon,
266
- ion-icon {
267
- &[slot] {
268
- pointer-events: none;
269
- width: 24px;
270
- height: 24px;
271
- }
272
- &[slot='start'],
273
- &[slot='end'] {
274
- margin-left: unset;
275
- margin-right: unset;
276
- margin-top: 0;
277
- margin-bottom: 0;
278
- }
279
- &t[slot='start'] {
280
- margin-inline-start: -0.3em;
281
- margin-inline-end: 0.3em;
282
- }
283
- &[slot='end'] {
284
- margin-inline-start: 0.3em;
285
- margin-inline-end: -0.3em;
286
- }
287
- &.ion-float-start[slot='start'] {
288
- position: absolute;
289
- left: 0;
290
- }
291
- &.ion-float-end[slot='end'] {
292
- position: absolute;
293
- right: 0;
294
- }
295
- }
296
- }
297
-
298
- // --------------------------------------------------
299
- // Icon multiple
300
- // --------------------------------------------------
301
- ion-icon.icon-secondary,
302
- mat-icon.icon-secondary {
303
- position: absolute;
304
- left: 0;
305
- }
306
-
307
- // --------------------------------------------------
308
- // Toast
309
- // --------------------------------------------------
310
- ion-toast {
311
- --background: var(--ion-color-dark);
312
- --color: var(--ion-color-dark-contrast);
313
- --button-color: var(--ion-color-secondary);
314
-
315
- &.secondary {
316
- --background: var(--ion-color-secondary);
317
- --color: var(--ion-color-secondary-contrast);
318
- --button-color: var(--ion-color-tertiary);
319
- }
320
- &.accent {
321
- --background: var(--ion-color-accent);
322
- --color: var(--ion-color-accent-contrast);
323
- --button-color: var(--ion-color-primary);
324
- }
325
- &.danger {
326
- --background: var(--ion-color-danger);
327
- --color: var(--ion-color-danger-contrast);
328
- --button-color: var(--ion-color-primary);
329
- }
330
-
331
- /* -- workaround because toast animation failed */
332
- --toast-max-height: 75px;
333
-
334
- &.toast-stack-offset-1 {
335
- --toast-stack-offset: 1;
336
- }
337
- &.toast-stack-offset-2 {
338
- --toast-stack-offset: 2;
339
- }
340
- &.toast-stack-offset-3 {
341
- --toast-stack-offset: 3;
342
- }
343
- &.toast-stack-offset-4 {
344
- --toast-stack-offset: 4;
345
- }
346
-
347
- &.toast-stacked-top {
348
- --toast-top: calc(var(--toast-stack-offset, 0) * var(--toast-max-height, 0));
349
- transform: translateY(var(--toast-top));
350
- }
351
- &.toast-stacked-bottom {
352
- --toast-bottom: calc(-1 * var(--toast-stack-offset, 0) * var(--toast-max-height, 0)) !important;
353
- transform: translateY(var(--toast-bottom));
354
- }
355
- }
356
-
357
- // --------------------------------------------------
358
- // Refresher
359
- // --------------------------------------------------
360
- ion-refresher.refresher-native {
361
- z-index: 1000;
362
- }
@@ -34,3 +34,4 @@ $roboto-font-path: '~roboto-fontface/fonts/roboto';
34
34
  @import "ngx-components";
35
35
  @import "ngx-components.tabs";
36
36
  @import "ngx-components.table";
37
+ @import "ngx-components.forms";