@sumaris-net/ngx-components 2.12.28 → 2.18.0-alpha10

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 (298) hide show
  1. package/doc/changelog.md +3 -0
  2. package/esm2022/public_api.mjs +2 -1
  3. package/esm2022/src/app/admin/admin-routing.module.mjs +5 -5
  4. package/esm2022/src/app/admin/admin.module.mjs +5 -5
  5. package/esm2022/src/app/admin/services/person.service.mjs +4 -4
  6. package/esm2022/src/app/admin/services/validator/person.validator.mjs +4 -4
  7. package/esm2022/src/app/admin/users/users.mjs +4 -4
  8. package/esm2022/src/app/admin/users/users.module.mjs +5 -5
  9. package/esm2022/src/app/core/about/about.modal.mjs +4 -4
  10. package/esm2022/src/app/core/about/about.module.mjs +5 -5
  11. package/esm2022/src/app/core/account/account.module.mjs +5 -5
  12. package/esm2022/src/app/core/account/account.page.mjs +4 -4
  13. package/esm2022/src/app/core/account/new-token.modal.mjs +4 -4
  14. package/esm2022/src/app/core/account/password/change-password.form.mjs +4 -4
  15. package/esm2022/src/app/core/account/password/change-password.module.mjs +5 -5
  16. package/esm2022/src/app/core/account/password/change-password.page.mjs +4 -4
  17. package/esm2022/src/app/core/account/token.table.mjs +4 -4
  18. package/esm2022/src/app/core/auth/auth.form.mjs +4 -4
  19. package/esm2022/src/app/core/auth/auth.modal.mjs +4 -4
  20. package/esm2022/src/app/core/auth/auth.module.mjs +5 -5
  21. package/esm2022/src/app/core/auth/reset-password.modal.mjs +4 -4
  22. package/esm2022/src/app/core/core.module.mjs +15 -23
  23. package/esm2022/src/app/core/core.testing.module.mjs +5 -5
  24. package/esm2022/src/app/core/form/array/form-array.mjs +2 -1
  25. package/esm2022/src/app/core/form/array/testing/form-array-test.module.mjs +5 -5
  26. package/esm2022/src/app/core/form/array/testing/form-array.test.mjs +4 -4
  27. package/esm2022/src/app/core/form/buttons/form-buttons-bar.component.mjs +4 -4
  28. package/esm2022/src/app/core/form/buttons/form-buttons-bar.module.mjs +5 -5
  29. package/esm2022/src/app/core/form/entity/editor.class.mjs +4 -4
  30. package/esm2022/src/app/core/form/entity/entity-editor-modal.class.mjs +4 -4
  31. package/esm2022/src/app/core/form/entity/entity-editor.class.mjs +4 -4
  32. package/esm2022/src/app/core/form/entity/entity-metadata.component.mjs +4 -4
  33. package/esm2022/src/app/core/form/entity/entity.module.mjs +5 -5
  34. package/esm2022/src/app/core/form/entity/tab-editor.class.mjs +4 -4
  35. package/esm2022/src/app/core/form/form-container.class.mjs +4 -4
  36. package/esm2022/src/app/core/form/form.class.mjs +9 -16
  37. package/esm2022/src/app/core/form/form.module.mjs +5 -5
  38. package/esm2022/src/app/core/form/list/list.form.mjs +4 -4
  39. package/esm2022/src/app/core/form/list/list.module.mjs +5 -5
  40. package/esm2022/src/app/core/form/properties/properties.form.mjs +133 -48
  41. package/esm2022/src/app/core/form/properties/properties.module.mjs +5 -5
  42. package/esm2022/src/app/core/form/properties/properties.table.mjs +7 -7
  43. package/esm2022/src/app/core/form/properties/property.validator.mjs +22 -8
  44. package/esm2022/src/app/core/form/properties/testing/properties-form.test.mjs +5 -5
  45. package/esm2022/src/app/core/form/properties/testing/properties-form.testing.module.mjs +5 -5
  46. package/esm2022/src/app/core/form/text-popover/testing/text-popover.testing.mjs +4 -4
  47. package/esm2022/src/app/core/form/text-popover/testing/text-popover.testing.module.mjs +5 -5
  48. package/esm2022/src/app/core/form/text-popover/text-popover.component.mjs +4 -4
  49. package/esm2022/src/app/core/form/text-popover/text-popover.module.mjs +5 -5
  50. package/esm2022/src/app/core/form/username/username.form.mjs +4 -4
  51. package/esm2022/src/app/core/form/username/username.module.mjs +5 -5
  52. package/esm2022/src/app/core/graphql/graphql.module.mjs +7 -10
  53. package/esm2022/src/app/core/graphql/graphql.service.mjs +4 -4
  54. package/esm2022/src/app/core/home/home.mjs +4 -4
  55. package/esm2022/src/app/core/home/home.module.mjs +5 -5
  56. package/esm2022/src/app/core/icon/icon.component.mjs +4 -4
  57. package/esm2022/src/app/core/icon/icon.module.mjs +5 -5
  58. package/esm2022/src/app/core/install/install-upgrade-card.component.mjs +4 -4
  59. package/esm2022/src/app/core/install/install-upgrade-card.module.mjs +5 -5
  60. package/esm2022/src/app/core/menu/menu.component.mjs +4 -4
  61. package/esm2022/src/app/core/menu/menu.module.mjs +5 -5
  62. package/esm2022/src/app/core/menu/menu.service.mjs +4 -4
  63. package/esm2022/src/app/core/menu/sub-menu-tab.directive.mjs +4 -4
  64. package/esm2022/src/app/core/menu/testing/menu-other.testing.mjs +4 -4
  65. package/esm2022/src/app/core/menu/testing/menu.testing.mjs +4 -4
  66. package/esm2022/src/app/core/menu/testing/menu.testing.module.mjs +5 -5
  67. package/esm2022/src/app/core/offline/update-offline-mode-card.component.mjs +4 -4
  68. package/esm2022/src/app/core/offline/update-offline-mode-card.module.mjs +5 -5
  69. package/esm2022/src/app/core/peer/select-peer.modal.mjs +4 -4
  70. package/esm2022/src/app/core/peer/select-peer.module.mjs +9 -12
  71. package/esm2022/src/app/core/register/register-confirm.page.mjs +4 -4
  72. package/esm2022/src/app/core/register/register.form.mjs +4 -4
  73. package/esm2022/src/app/core/register/register.modal.mjs +4 -4
  74. package/esm2022/src/app/core/register/register.module.mjs +5 -5
  75. package/esm2022/src/app/core/services/account.service.mjs +4 -4
  76. package/esm2022/src/app/core/services/auth-guard.service.mjs +4 -4
  77. package/esm2022/src/app/core/services/base-entity-service.class.mjs +4 -4
  78. package/esm2022/src/app/core/services/base-graphql-service.class.mjs +4 -4
  79. package/esm2022/src/app/core/services/config.service.mjs +4 -4
  80. package/esm2022/src/app/core/services/crypto.service.mjs +4 -4
  81. package/esm2022/src/app/core/services/local-settings.service.mjs +4 -4
  82. package/esm2022/src/app/core/services/model/entity.model.mjs +4 -2
  83. package/esm2022/src/app/core/services/network.service.mjs +4 -4
  84. package/esm2022/src/app/core/services/pipes/account.pipes.mjs +9 -9
  85. package/esm2022/src/app/core/services/pipes/department-to-string.pipe.mjs +5 -5
  86. package/esm2022/src/app/core/services/pipes/person-to-string.pipe.mjs +5 -5
  87. package/esm2022/src/app/core/services/pipes/pipes.module.mjs +5 -5
  88. package/esm2022/src/app/core/services/pipes/referential-to-string.pipe.mjs +4 -4
  89. package/esm2022/src/app/core/services/pipes/usage-mode.pipes.mjs +9 -9
  90. package/esm2022/src/app/core/services/platform.service.mjs +4 -4
  91. package/esm2022/src/app/core/services/storage/entities-storage.service.mjs +4 -4
  92. package/esm2022/src/app/core/services/testing/referential.validator.mjs +4 -4
  93. package/esm2022/src/app/core/services/validator/account.validator.mjs +4 -4
  94. package/esm2022/src/app/core/services/validator/base.validator.class.mjs +4 -4
  95. package/esm2022/src/app/core/services/validator/local-settings.validator.mjs +21 -10
  96. package/esm2022/src/app/core/services/validator/user-settings.validator.mjs +4 -4
  97. package/esm2022/src/app/core/services/validator/user-token.validator.mjs +4 -4
  98. package/esm2022/src/app/core/settings/settings.module.mjs +7 -6
  99. package/esm2022/src/app/core/settings/settings.page.mjs +47 -47
  100. package/esm2022/src/app/core/table/async-table.class.mjs +4 -4
  101. package/esm2022/src/app/core/table/column/actions-column.component.mjs +4 -4
  102. package/esm2022/src/app/core/table/column/nav-actions-column.component.mjs +6 -6
  103. package/esm2022/src/app/core/table/column/row-field.component.mjs +4 -4
  104. package/esm2022/src/app/core/table/entities-async-table-datasource.class.mjs +4 -4
  105. package/esm2022/src/app/core/table/entities-table-datasource.class.mjs +4 -4
  106. package/esm2022/src/app/core/table/memory-table.class.mjs +4 -4
  107. package/esm2022/src/app/core/table/table-select-columns.component.mjs +4 -4
  108. package/esm2022/src/app/core/table/table.class.mjs +11 -8
  109. package/esm2022/src/app/core/table/table.module.mjs +5 -5
  110. package/esm2022/src/app/core/table/table.pipes.mjs +10 -10
  111. package/esm2022/src/app/core/table/testing/table-validator.service.mjs +4 -4
  112. package/esm2022/src/app/core/table/testing/table.testing.mjs +5 -5
  113. package/esm2022/src/app/core/table/testing/table.testing.module.mjs +5 -5
  114. package/esm2022/src/app/core/table/testing/table2-validator.service.mjs +4 -4
  115. package/esm2022/src/app/core/table/testing/table2.testing.mjs +5 -5
  116. package/esm2022/src/app/shared/audio/audio.mjs +4 -4
  117. package/esm2022/src/app/shared/audio/audio.testing.mjs +4 -4
  118. package/esm2022/src/app/shared/audio/audio.testing.module.mjs +5 -5
  119. package/esm2022/src/app/shared/capacitor/keyboard.mjs +4 -4
  120. package/esm2022/src/app/shared/dates.mjs +4 -8
  121. package/esm2022/src/app/shared/debug/debug.component.mjs +4 -4
  122. package/esm2022/src/app/shared/debug/debug.module.mjs +5 -5
  123. package/esm2022/src/app/shared/directives/autofocus.directive.mjs +4 -4
  124. package/esm2022/src/app/shared/directives/autotitle.directive.mjs +4 -4
  125. package/esm2022/src/app/shared/directives/directives.module.mjs +5 -5
  126. package/esm2022/src/app/shared/directives/drag-and-drop.directive.mjs +4 -4
  127. package/esm2022/src/app/shared/directives/ng-var.directive.mjs +4 -4
  128. package/esm2022/src/app/shared/directives/resizable/resizable.component.mjs +4 -4
  129. package/esm2022/src/app/shared/directives/resizable/resizable.directive.mjs +4 -4
  130. package/esm2022/src/app/shared/directives/resizable/resizable.module.mjs +5 -5
  131. package/esm2022/src/app/shared/file/file.service.mjs +4 -4
  132. package/esm2022/src/app/shared/form/field.component.mjs +35 -16
  133. package/esm2022/src/app/shared/form/loading-spinner.mjs +4 -4
  134. package/esm2022/src/app/shared/functions.mjs +16 -1
  135. package/esm2022/src/app/shared/gesture/gesture-config.mjs +4 -4
  136. package/esm2022/src/app/shared/guard/component-dirty.guard.mjs +4 -4
  137. package/esm2022/src/app/shared/help/help.modal.mjs +4 -4
  138. package/esm2022/src/app/shared/hotkeys/dialog/hotkeys-dialog.component.mjs +4 -4
  139. package/esm2022/src/app/shared/hotkeys/hotkeys.service.mjs +4 -4
  140. package/esm2022/src/app/shared/hotkeys/shared-hotkeys.module.mjs +5 -5
  141. package/esm2022/src/app/shared/image/gallery/image-gallery.component.mjs +13 -12
  142. package/esm2022/src/app/shared/image/gallery/image-gallery.module.mjs +5 -5
  143. package/esm2022/src/app/shared/image/gallery/testing/gallery.service.testing.mjs +4 -4
  144. package/esm2022/src/app/shared/image/gallery/testing/gallery.testing.mjs +4 -4
  145. package/esm2022/src/app/shared/image/gallery/testing/gallery.testing.module.mjs +5 -5
  146. package/esm2022/src/app/shared/image/image.module.mjs +5 -5
  147. package/esm2022/src/app/shared/image/image.service.mjs +4 -4
  148. package/esm2022/src/app/shared/inputs.mjs +1 -1
  149. package/esm2022/src/app/shared/logging/logging-service.class.mjs +4 -4
  150. package/esm2022/src/app/shared/logging/logging-service.module.mjs +5 -5
  151. package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.config.mjs +1 -1
  152. package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.mjs +38 -21
  153. package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.module.mjs +5 -5
  154. package/esm2022/src/app/shared/material/autocomplete/testing/autocomplete.test.mjs +4 -4
  155. package/esm2022/src/app/shared/material/badge/badge.directive.mjs +4 -4
  156. package/esm2022/src/app/shared/material/badge/badge.module.mjs +5 -5
  157. package/esm2022/src/app/shared/material/badge/badge.test.mjs +4 -4
  158. package/esm2022/src/app/shared/material/boolean/boolean.module.mjs +5 -5
  159. package/esm2022/src/app/shared/material/boolean/material.boolean.mjs +4 -4
  160. package/esm2022/src/app/shared/material/boolean/testing/boolean.test.page.mjs +4 -4
  161. package/esm2022/src/app/shared/material/chips/chips.module.mjs +5 -5
  162. package/esm2022/src/app/shared/material/chips/material.chips.mjs +6 -6
  163. package/esm2022/src/app/shared/material/chips/testing/chips.test.mjs +4 -4
  164. package/esm2022/src/app/shared/material/datetime/datetime.module.mjs +5 -5
  165. package/esm2022/src/app/shared/material/datetime/material.date.mjs +4 -4
  166. package/esm2022/src/app/shared/material/datetime/material.dateshort.mjs +4 -4
  167. package/esm2022/src/app/shared/material/datetime/material.datetime.mjs +6 -6
  168. package/esm2022/src/app/shared/material/datetime/testing/mat-date-time.test.mjs +4 -4
  169. package/esm2022/src/app/shared/material/datetime/testing/mat-date.test.mjs +4 -4
  170. package/esm2022/src/app/shared/material/datetime/testing/mat-dateshort.test.mjs +4 -4
  171. package/esm2022/src/app/shared/material/duration/duration.module.mjs +5 -5
  172. package/esm2022/src/app/shared/material/duration/material.duration.mjs +4 -4
  173. package/esm2022/src/app/shared/material/duration/testing/mat-duration.test.mjs +4 -4
  174. package/esm2022/src/app/shared/material/latlong/material.latlong.mjs +4 -4
  175. package/esm2022/src/app/shared/material/latlong/material.latlong.module.mjs +5 -5
  176. package/esm2022/src/app/shared/material/latlong/testing/latlong.test.mjs +4 -4
  177. package/esm2022/src/app/shared/material/material.module.mjs +5 -5
  178. package/esm2022/src/app/shared/material/material.testing.module.mjs +5 -5
  179. package/esm2022/src/app/shared/material/paginator/material.paginator-i18n.mjs +4 -4
  180. package/esm2022/src/app/shared/material/stepper/material.stepper-i18n.mjs +4 -4
  181. package/esm2022/src/app/shared/material/swipe/material.swipe.mjs +4 -4
  182. package/esm2022/src/app/shared/material/swipe/swipe.module.mjs +5 -5
  183. package/esm2022/src/app/shared/material/swipe/testing/swipe.test.mjs +4 -4
  184. package/esm2022/src/app/shared/material/testing/common.test.mjs +4 -4
  185. package/esm2022/src/app/shared/material/text/testing/text-form.testing.mjs +4 -4
  186. package/esm2022/src/app/shared/material/text/text-form.component.mjs +4 -4
  187. package/esm2022/src/app/shared/material/text/text-form.module.mjs +5 -5
  188. package/esm2022/src/app/shared/named-filter/named-filter-selector.component.mjs +35 -22
  189. package/esm2022/src/app/shared/named-filter/named-filter.module.mjs +5 -5
  190. package/esm2022/src/app/shared/named-filter/named-filter.service.mjs +4 -4
  191. package/esm2022/src/app/shared/named-filter/testing/named-filter-selector.testing.mjs +16 -11
  192. package/esm2022/src/app/shared/named-filter/testing/named-filter.testing.module.mjs +5 -5
  193. package/esm2022/src/app/shared/pipes/arrays.pipe.mjs +28 -28
  194. package/esm2022/src/app/shared/pipes/badge.pipes.mjs +4 -4
  195. package/esm2022/src/app/shared/pipes/colors.pipe.mjs +4 -4
  196. package/esm2022/src/app/shared/pipes/date-diff-duration.pipe.mjs +5 -5
  197. package/esm2022/src/app/shared/pipes/date-format.pipe.mjs +7 -7
  198. package/esm2022/src/app/shared/pipes/date-from-now.pipe.mjs +5 -5
  199. package/esm2022/src/app/shared/pipes/duration.pipe.mjs +5 -5
  200. package/esm2022/src/app/shared/pipes/file-size.pipe.mjs +4 -4
  201. package/esm2022/src/app/shared/pipes/form.pipes.mjs +22 -22
  202. package/esm2022/src/app/shared/pipes/highlight.pipe.mjs +5 -5
  203. package/esm2022/src/app/shared/pipes/html.pipes.mjs +52 -0
  204. package/esm2022/src/app/shared/pipes/latlong-format.pipe.mjs +10 -10
  205. package/esm2022/src/app/shared/pipes/maps.pipe.mjs +13 -13
  206. package/esm2022/src/app/shared/pipes/maskito.pipe.mjs +4 -4
  207. package/esm2022/src/app/shared/pipes/math.pipes.mjs +13 -13
  208. package/esm2022/src/app/shared/pipes/ng-init.pipe.mjs +4 -4
  209. package/esm2022/src/app/shared/pipes/number-format.pipe.mjs +5 -5
  210. package/esm2022/src/app/shared/pipes/pipes.module.mjs +14 -7
  211. package/esm2022/src/app/shared/pipes/property.pipes.mjs +15 -15
  212. package/esm2022/src/app/shared/pipes/selection.pipes.mjs +22 -22
  213. package/esm2022/src/app/shared/pipes/string.pipes.mjs +31 -31
  214. package/esm2022/src/app/shared/pipes/translate-context.pipe.mjs +9 -9
  215. package/esm2022/src/app/shared/pipes/types.pipes.mjs +16 -16
  216. package/esm2022/src/app/shared/rx-state.module.mjs +5 -5
  217. package/esm2022/src/app/shared/services/memory-entity-service.class.mjs +4 -4
  218. package/esm2022/src/app/shared/services/progress-bar.service.mjs +4 -4
  219. package/esm2022/src/app/shared/services/startable-observable-service.class.mjs +4 -4
  220. package/esm2022/src/app/shared/services/startable-service.class.mjs +4 -4
  221. package/esm2022/src/app/shared/services/translate-context.service.mjs +4 -4
  222. package/esm2022/src/app/shared/shared-routing.module.mjs +8 -8
  223. package/esm2022/src/app/shared/shared.module.mjs +5 -5
  224. package/esm2022/src/app/shared/shared.testing.module.mjs +5 -5
  225. package/esm2022/src/app/shared/storage/storage-explorer.component.mjs +4 -4
  226. package/esm2022/src/app/shared/storage/storage-explorer.module.mjs +5 -5
  227. package/esm2022/src/app/shared/storage/storage-explorer.testing-routing.module.mjs +5 -5
  228. package/esm2022/src/app/shared/storage/storage-explorer.testing.module.mjs +5 -5
  229. package/esm2022/src/app/shared/storage/storage.service.mjs +4 -4
  230. package/esm2022/src/app/shared/testing/maskito.test.mjs +4 -4
  231. package/esm2022/src/app/shared/testing/observable.test.mjs +4 -4
  232. package/esm2022/src/app/shared/testing/tests.page.mjs +4 -4
  233. package/esm2022/src/app/shared/toast/toast.testing.mjs +4 -4
  234. package/esm2022/src/app/shared/toast/toast.testing.module.mjs +5 -5
  235. package/esm2022/src/app/shared/toolbar/modal-toolbar.mjs +4 -4
  236. package/esm2022/src/app/shared/toolbar/toolbar.mjs +4 -4
  237. package/esm2022/src/app/shared/toolbar/toolbar.module.mjs +5 -5
  238. package/esm2022/src/app/shared/upload-file/testing/upload-file.testing.mjs +4 -4
  239. package/esm2022/src/app/shared/upload-file/testing/upload-file.testing.module.mjs +5 -5
  240. package/esm2022/src/app/shared/upload-file/upload-file-popover.component.mjs +4 -4
  241. package/esm2022/src/app/shared/upload-file/upload-file.component.mjs +4 -4
  242. package/esm2022/src/app/shared/validator/form-error-adapter.class.mjs +4 -4
  243. package/esm2022/src/app/social/job/job.module.mjs +5 -5
  244. package/esm2022/src/app/social/job/progression/job-progression.component.mjs +4 -4
  245. package/esm2022/src/app/social/job/progression/job-progression.icon.mjs +4 -4
  246. package/esm2022/src/app/social/job/progression/job-progression.list.mjs +10 -11
  247. package/esm2022/src/app/social/job/progression/job-progression.service.mjs +4 -4
  248. package/esm2022/src/app/social/job/testing/job-progression.testing.mjs +4 -4
  249. package/esm2022/src/app/social/job/testing/job-progression.testing.service.mjs +4 -4
  250. package/esm2022/src/app/social/job/testing/job.testing.module.mjs +5 -5
  251. package/esm2022/src/app/social/message/message.form.mjs +4 -4
  252. package/esm2022/src/app/social/message/message.modal.mjs +4 -4
  253. package/esm2022/src/app/social/message/message.module.mjs +5 -5
  254. package/esm2022/src/app/social/message/message.service.mjs +4 -4
  255. package/esm2022/src/app/social/social.module.mjs +5 -5
  256. package/esm2022/src/app/social/social.testing.module.mjs +5 -5
  257. package/esm2022/src/app/social/user-event/notification/user-event-notification.icon.mjs +4 -4
  258. package/esm2022/src/app/social/user-event/notification/user-event-notification.list.mjs +4 -4
  259. package/esm2022/src/app/social/user-event/testing/user-event.testing.mjs +4 -4
  260. package/esm2022/src/app/social/user-event/testing/user-event.testing.module.mjs +5 -5
  261. package/esm2022/src/app/social/user-event/testing/user-event.testing.service.mjs +4 -4
  262. package/esm2022/src/app/social/user-event/user-event.module.mjs +5 -5
  263. package/esm2022/src/app/social/user-event/user-event.service.mjs +4 -4
  264. package/esm2022/src/environments/environment.loader.mjs +4 -4
  265. package/esm2022/src/environments/environment.mjs +3 -3
  266. package/fesm2022/sumaris-net.ngx-components.mjs +1582 -1372
  267. package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
  268. package/package.json +12 -6
  269. package/public_api.d.ts +1 -0
  270. package/src/app/core/core.module.d.ts +19 -20
  271. package/src/app/core/form/array/form-array.d.ts +1 -1
  272. package/src/app/core/form/form.class.d.ts +2 -5
  273. package/src/app/core/form/properties/properties.form.d.ts +32 -10
  274. package/src/app/core/form/properties/property.validator.d.ts +9 -3
  275. package/src/app/core/graphql/graphql.module.d.ts +1 -2
  276. package/src/app/core/peer/select-peer.module.d.ts +3 -4
  277. package/src/app/core/services/validator/local-settings.validator.d.ts +6 -2
  278. package/src/app/core/settings/settings.module.d.ts +2 -1
  279. package/src/app/core/settings/settings.page.d.ts +29 -18
  280. package/src/app/shared/dates.d.ts +9 -3
  281. package/src/app/shared/form/field.component.d.ts +3 -2
  282. package/src/app/shared/functions.d.ts +2 -0
  283. package/src/app/shared/inputs.d.ts +5 -5
  284. package/src/app/shared/material/autocomplete/material.autocomplete.config.d.ts +4 -0
  285. package/src/app/shared/material/autocomplete/material.autocomplete.d.ts +12 -4
  286. package/src/app/shared/named-filter/named-filter-selector.component.d.ts +9 -6
  287. package/src/app/shared/named-filter/testing/named-filter-selector.testing.d.ts +4 -1
  288. package/src/app/shared/pipes/html.pipes.d.ts +15 -0
  289. package/src/app/shared/pipes/pipes.module.d.ts +5 -4
  290. package/src/assets/i18n/fr.json +3 -2
  291. package/src/assets/manifest.json +1 -1
  292. package/src/environments/environment.d.ts +0 -1
  293. package/src/theme/_icons.scss +1 -1
  294. package/src/theme/_ionic.scss +10 -10
  295. package/src/theme/_material.globals.scss +6 -6
  296. package/src/theme/_ngx-components.forms.scss +3 -3
  297. package/src/theme/_ngx-components.scss +3 -2
  298. package/src/theme/_ngx-components.table.scss +2 -2
@@ -8,6 +8,7 @@ import { INamedFilter, INamedFilterFilter, NamedFilter } from './named-filter.mo
8
8
  import { INamedFilterService, NamedFilterLoadOptions, NamedFilterWatchOptions } from './named-filter.service';
9
9
  import { MatFormFieldAppearance, SubscriptSizing } from '@angular/material/form-field';
10
10
  import * as i0 from "@angular/core";
11
+ export type NamedFilterSelectorButtonsPosition = 'matSuffix' | 'after';
11
12
  export declare class NamedFilterSelector extends AppForm<any> implements OnInit {
12
13
  protected injector: Injector;
13
14
  protected formBuilder: UntypedFormBuilder;
@@ -16,9 +17,9 @@ export declare class NamedFilterSelector extends AppForm<any> implements OnInit
16
17
  protected popoverController: PopoverController;
17
18
  protected dataService: INamedFilterService<INamedFilter<any>, INamedFilterFilter<any, any>, NamedFilterWatchOptions, NamedFilterLoadOptions>;
18
19
  protected readonly logPrefix = "[named-filter-selector]";
19
- protected readonly mobile: boolean;
20
20
  private _entityName;
21
21
  private _deleteDisabled;
22
+ mobile: boolean;
22
23
  set entityName(entityName: string);
23
24
  get entityName(): string;
24
25
  appearance: MatFormFieldAppearance;
@@ -32,26 +33,28 @@ export declare class NamedFilterSelector extends AppForm<any> implements OnInit
32
33
  dropButtonTitle: string;
33
34
  clearButtonTitle: string;
34
35
  detectChangeOnSelectFilter: boolean;
36
+ buttonsPosition: NamedFilterSelectorButtonsPosition;
35
37
  set disabled(_disabled: boolean);
36
38
  get disabled(): boolean;
39
+ get isNew(): boolean;
40
+ get saveDisabled(): boolean;
41
+ get deleteDisabled(): boolean;
42
+ get dirty(): boolean;
37
43
  filterSelected: EventEmitter<any>;
38
44
  filterDeleted: EventEmitter<NamedFilter<NamedFilter<any>>>;
39
45
  filterCleared: EventEmitter<void>;
40
46
  autocompleteField: MatAutocompleteField;
41
47
  constructor(injector: Injector, formBuilder: UntypedFormBuilder, cd: ChangeDetectorRef, toastController: ToastController, popoverController: PopoverController, dataService: INamedFilterService<INamedFilter<any>, INamedFilterFilter<any, any>, NamedFilterWatchOptions, NamedFilterLoadOptions>);
42
- get isNew(): boolean;
43
- get saveDisabled(): boolean;
44
- get deleteDisabled(): boolean;
45
- get dirty(): boolean;
46
48
  ngOnInit(): void;
47
49
  getFilter(): any;
48
50
  markForCheck(): void;
49
51
  save(event: UIEvent): Promise<void>;
50
52
  delete(event?: UIEvent): Promise<void>;
53
+ onMoreOptionsClick(event: Event): void;
51
54
  export(event?: UIEvent): Promise<void>;
52
55
  import(event: Event): Promise<void>;
53
56
  protected onFilterChanges(value: NamedFilter | string): Promise<void>;
54
57
  protected setControlValue(value: NamedFilter): void;
55
58
  static ɵfac: i0.ɵɵFactoryDeclaration<NamedFilterSelector, never>;
56
- static ɵcmp: i0.ɵɵComponentDeclaration<NamedFilterSelector, "app-named-filter-selector", never, { "entityName": { "alias": "entityName"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "subscriptSizing": { "alias": "subscriptSizing"; "required": false; }; "filterContentProvider": { "alias": "filterContentProvider"; "required": false; }; "filterImportCallback": { "alias": "filterImportCallback"; "required": false; }; "filterFormDirty": { "alias": "filterFormDirty"; "required": false; }; "showButtons": { "alias": "showButtons"; "required": false; }; "exportFileNamePrefix": { "alias": "exportFileNamePrefix"; "required": false; }; "autocompleteConfig": { "alias": "autocompleteConfig"; "required": false; }; "dropButtonTitle": { "alias": "dropButtonTitle"; "required": false; }; "clearButtonTitle": { "alias": "clearButtonTitle"; "required": false; }; "detectChangeOnSelectFilter": { "alias": "detectChangeOnSelectFilter"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "filterSelected": "filterSelected"; "filterDeleted": "filterDeleted"; "filterCleared": "filterCleared"; }, never, never, false, never>;
59
+ static ɵcmp: i0.ɵɵComponentDeclaration<NamedFilterSelector, "app-named-filter-selector", never, { "mobile": { "alias": "mobile"; "required": false; }; "entityName": { "alias": "entityName"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "subscriptSizing": { "alias": "subscriptSizing"; "required": false; }; "filterContentProvider": { "alias": "filterContentProvider"; "required": false; }; "filterImportCallback": { "alias": "filterImportCallback"; "required": false; }; "filterFormDirty": { "alias": "filterFormDirty"; "required": false; }; "showButtons": { "alias": "showButtons"; "required": false; }; "exportFileNamePrefix": { "alias": "exportFileNamePrefix"; "required": false; }; "autocompleteConfig": { "alias": "autocompleteConfig"; "required": false; }; "dropButtonTitle": { "alias": "dropButtonTitle"; "required": false; }; "clearButtonTitle": { "alias": "clearButtonTitle"; "required": false; }; "detectChangeOnSelectFilter": { "alias": "detectChangeOnSelectFilter"; "required": false; }; "buttonsPosition": { "alias": "buttonsPosition"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "filterSelected": "filterSelected"; "filterDeleted": "filterDeleted"; "filterCleared": "filterCleared"; }, never, never, false, never>;
57
60
  }
@@ -2,6 +2,7 @@ import { ChangeDetectorRef, OnDestroy } from '@angular/core';
2
2
  import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
3
3
  import { MatAutocompleteFieldConfig } from '../../material/autocomplete/material.autocomplete.config';
4
4
  import { NamedFilter } from '../named-filter.model';
5
+ import { LocalSettingsService } from '../../../core/services/local-settings.service';
5
6
  import * as i0 from "@angular/core";
6
7
  declare class DummyFilter {
7
8
  filterA: string;
@@ -10,13 +11,15 @@ declare class DummyFilter {
10
11
  }
11
12
  export declare class NamedFilterSelectorTestingPage implements OnDestroy {
12
13
  protected cd: ChangeDetectorRef;
14
+ protected settings: LocalSettingsService;
13
15
  private _subscription;
14
16
  protected _filterForm: UntypedFormGroup;
17
+ protected mobile: boolean;
15
18
  protected namedFilterContentProvider: () => object;
16
19
  protected namedFilterAutocompleteConfig: MatAutocompleteFieldConfig;
17
20
  set filterForm(value: UntypedFormGroup);
18
21
  get filterForm(): UntypedFormGroup;
19
- constructor(cd: ChangeDetectorRef, formBuilder: UntypedFormBuilder);
22
+ constructor(cd: ChangeDetectorRef, settings: LocalSettingsService, formBuilder: UntypedFormBuilder);
20
23
  ngOnDestroy(): void;
21
24
  setFilterForm(filterForm: UntypedFormGroup): void;
22
25
  getFilterValue(): any;
@@ -0,0 +1,15 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
3
+ import * as i0 from "@angular/core";
4
+ export declare class NoHtmlPipe implements PipeTransform {
5
+ transform(value: string): string;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<NoHtmlPipe, never>;
7
+ static ɵpipe: i0.ɵɵPipeDeclaration<NoHtmlPipe, "noHtml", false>;
8
+ }
9
+ export declare class SafeHtmlPipe implements PipeTransform {
10
+ private sanitized;
11
+ constructor(sanitized: DomSanitizer);
12
+ transform(value: string): SafeHtml;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<SafeHtmlPipe, never>;
14
+ static ɵpipe: i0.ɵɵPipeDeclaration<SafeHtmlPipe, "safeHtml", false>;
15
+ }
@@ -20,11 +20,12 @@ import * as i18 from "./types.pipes";
20
20
  import * as i19 from "./maskito.pipe";
21
21
  import * as i20 from "./selection.pipes";
22
22
  import * as i21 from "./badge.pipes";
23
- import * as i22 from "@angular/common";
24
- import * as i23 from "@ionic/angular";
25
- import * as i24 from "@ngx-translate/core";
23
+ import * as i22 from "./html.pipes";
24
+ import * as i23 from "@angular/common";
25
+ import * as i24 from "@ionic/angular";
26
+ import * as i25 from "@ngx-translate/core";
26
27
  export declare class SharedPipesModule {
27
28
  static ɵfac: i0.ɵɵFactoryDeclaration<SharedPipesModule, never>;
28
- static ɵmod: i0.ɵɵNgModuleDeclaration<SharedPipesModule, [typeof i1.PropertyGetPipe, typeof i1.PropertyFormatPipe, typeof i1.ValueFormatPipe, typeof i2.DateFormatPipe, typeof i3.DateDiffDurationPipe, typeof i4.DurationPipe, typeof i5.DateFromNowPipe, typeof i6.LatLongFormatPipe, typeof i6.LatitudeFormatPipe, typeof i6.LongitudeFormatPipe, typeof i7.HighlightPipe, typeof i8.NumberFormatPipe, typeof i9.FileSizePipe, typeof i10.MathAbsPipe, typeof i10.OddPipe, typeof i10.EvenPipe, typeof i11.NotEmptyArrayPipe, typeof i11.EmptyArrayPipe, typeof i11.ArrayLengthPipe, typeof i11.ArrayFirstPipe, typeof i11.ArrayLastPipe, typeof i11.ArrayPluckPipe, typeof i11.ArrayIncludesPipe, typeof i11.ArrayFilterPipe, typeof i11.ArrayJoinPipe, typeof i12.MapGetPipe, typeof i12.MapKeysPipe, typeof i12.MapValuesPipe, typeof i13.IsNilOrBlankPipe, typeof i13.IsNotNilOrBlankPipe, typeof i13.IsNilOrNaNPipe, typeof i13.IsNotNilOrNaNPipe, typeof i13.IsNotNilPipe, typeof i13.IsNilPipe, typeof i13.ToStringPipe, typeof i13.CapitalizePipe, typeof i13.StrLengthPipe, typeof i13.StrIncludesPipe, typeof i1.BooleanFormatPipe, typeof i14.TranslateContextPipe, typeof i14.TranslatablePipe, typeof i15.NgInitDirective, typeof i16.FormErrorPipe, typeof i16.FormErrorTranslatePipe, typeof i16.FormGetPipe, typeof i16.FormGetControlPipe, typeof i16.FormGetArrayPipe, typeof i16.FormGetGroupPipe, typeof i16.FormGetValuePipe, typeof i17.MatColorPipe, typeof i18.AsAnyPipe, typeof i18.AsArrayPipe, typeof i18.AsObservablePipe, typeof i18.AsFloatLabelTypePipe, typeof i19.MaskitoPlaceholderPipe, typeof i20.IsSelectedPipe, typeof i20.IsNotEmptySelectionPipe, typeof i20.IsEmptySelectionPipe, typeof i20.SelectionLengthPipe, typeof i20.IsMultipleSelectionPipe, typeof i20.IsSingleSelectionPipe, typeof i21.BadgeNumberPipe, typeof i18.AsBooleanPipe], [typeof i22.CommonModule, typeof i23.IonicModule, typeof i24.TranslateModule], [typeof i1.PropertyGetPipe, typeof i1.PropertyFormatPipe, typeof i1.ValueFormatPipe, typeof i2.DateFormatPipe, typeof i3.DateDiffDurationPipe, typeof i4.DurationPipe, typeof i5.DateFromNowPipe, typeof i6.LatLongFormatPipe, typeof i6.LatitudeFormatPipe, typeof i6.LongitudeFormatPipe, typeof i7.HighlightPipe, typeof i8.NumberFormatPipe, typeof i9.FileSizePipe, typeof i10.MathAbsPipe, typeof i10.OddPipe, typeof i10.EvenPipe, typeof i11.NotEmptyArrayPipe, typeof i11.EmptyArrayPipe, typeof i11.ArrayLengthPipe, typeof i11.ArrayFirstPipe, typeof i11.ArrayLastPipe, typeof i11.ArrayPluckPipe, typeof i11.ArrayIncludesPipe, typeof i11.ArrayFilterPipe, typeof i11.ArrayJoinPipe, typeof i12.MapGetPipe, typeof i12.MapKeysPipe, typeof i12.MapValuesPipe, typeof i13.IsNilOrBlankPipe, typeof i13.IsNotNilOrBlankPipe, typeof i13.IsNilOrNaNPipe, typeof i13.IsNotNilOrNaNPipe, typeof i13.IsNotNilPipe, typeof i13.IsNilPipe, typeof i13.ToStringPipe, typeof i13.CapitalizePipe, typeof i13.StrLengthPipe, typeof i13.StrIncludesPipe, typeof i1.BooleanFormatPipe, typeof i14.TranslateContextPipe, typeof i14.TranslatablePipe, typeof i15.NgInitDirective, typeof i16.FormErrorPipe, typeof i16.FormErrorTranslatePipe, typeof i16.FormGetPipe, typeof i16.FormGetControlPipe, typeof i16.FormGetArrayPipe, typeof i16.FormGetGroupPipe, typeof i16.FormGetValuePipe, typeof i17.MatColorPipe, typeof i18.AsAnyPipe, typeof i18.AsArrayPipe, typeof i18.AsObservablePipe, typeof i18.AsFloatLabelTypePipe, typeof i19.MaskitoPlaceholderPipe, typeof i20.IsSelectedPipe, typeof i20.IsNotEmptySelectionPipe, typeof i20.IsEmptySelectionPipe, typeof i20.SelectionLengthPipe, typeof i20.IsMultipleSelectionPipe, typeof i20.IsSingleSelectionPipe, typeof i21.BadgeNumberPipe, typeof i18.AsBooleanPipe]>;
29
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SharedPipesModule, [typeof i1.PropertyGetPipe, typeof i1.PropertyFormatPipe, typeof i1.ValueFormatPipe, typeof i2.DateFormatPipe, typeof i3.DateDiffDurationPipe, typeof i4.DurationPipe, typeof i5.DateFromNowPipe, typeof i6.LatLongFormatPipe, typeof i6.LatitudeFormatPipe, typeof i6.LongitudeFormatPipe, typeof i7.HighlightPipe, typeof i8.NumberFormatPipe, typeof i9.FileSizePipe, typeof i10.MathAbsPipe, typeof i10.OddPipe, typeof i10.EvenPipe, typeof i11.NotEmptyArrayPipe, typeof i11.EmptyArrayPipe, typeof i11.ArrayLengthPipe, typeof i11.ArrayFirstPipe, typeof i11.ArrayLastPipe, typeof i11.ArrayPluckPipe, typeof i11.ArrayIncludesPipe, typeof i11.ArrayFilterPipe, typeof i11.ArrayJoinPipe, typeof i12.MapGetPipe, typeof i12.MapKeysPipe, typeof i12.MapValuesPipe, typeof i13.IsNilOrBlankPipe, typeof i13.IsNotNilOrBlankPipe, typeof i13.IsNilOrNaNPipe, typeof i13.IsNotNilOrNaNPipe, typeof i13.IsNotNilPipe, typeof i13.IsNilPipe, typeof i13.ToStringPipe, typeof i13.CapitalizePipe, typeof i13.StrLengthPipe, typeof i13.StrIncludesPipe, typeof i1.BooleanFormatPipe, typeof i14.TranslateContextPipe, typeof i14.TranslatablePipe, typeof i15.NgInitDirective, typeof i16.FormErrorPipe, typeof i16.FormErrorTranslatePipe, typeof i16.FormGetPipe, typeof i16.FormGetControlPipe, typeof i16.FormGetArrayPipe, typeof i16.FormGetGroupPipe, typeof i16.FormGetValuePipe, typeof i17.MatColorPipe, typeof i18.AsAnyPipe, typeof i18.AsArrayPipe, typeof i18.AsObservablePipe, typeof i18.AsFloatLabelTypePipe, typeof i19.MaskitoPlaceholderPipe, typeof i20.IsSelectedPipe, typeof i20.IsNotEmptySelectionPipe, typeof i20.IsEmptySelectionPipe, typeof i20.SelectionLengthPipe, typeof i20.IsMultipleSelectionPipe, typeof i20.IsSingleSelectionPipe, typeof i21.BadgeNumberPipe, typeof i18.AsBooleanPipe, typeof i22.SafeHtmlPipe, typeof i22.NoHtmlPipe], [typeof i23.CommonModule, typeof i24.IonicModule, typeof i25.TranslateModule], [typeof i1.PropertyGetPipe, typeof i1.PropertyFormatPipe, typeof i1.ValueFormatPipe, typeof i2.DateFormatPipe, typeof i3.DateDiffDurationPipe, typeof i4.DurationPipe, typeof i5.DateFromNowPipe, typeof i6.LatLongFormatPipe, typeof i6.LatitudeFormatPipe, typeof i6.LongitudeFormatPipe, typeof i7.HighlightPipe, typeof i8.NumberFormatPipe, typeof i9.FileSizePipe, typeof i10.MathAbsPipe, typeof i10.OddPipe, typeof i10.EvenPipe, typeof i11.NotEmptyArrayPipe, typeof i11.EmptyArrayPipe, typeof i11.ArrayLengthPipe, typeof i11.ArrayFirstPipe, typeof i11.ArrayLastPipe, typeof i11.ArrayPluckPipe, typeof i11.ArrayIncludesPipe, typeof i11.ArrayFilterPipe, typeof i11.ArrayJoinPipe, typeof i12.MapGetPipe, typeof i12.MapKeysPipe, typeof i12.MapValuesPipe, typeof i13.IsNilOrBlankPipe, typeof i13.IsNotNilOrBlankPipe, typeof i13.IsNilOrNaNPipe, typeof i13.IsNotNilOrNaNPipe, typeof i13.IsNotNilPipe, typeof i13.IsNilPipe, typeof i13.ToStringPipe, typeof i13.CapitalizePipe, typeof i13.StrLengthPipe, typeof i13.StrIncludesPipe, typeof i1.BooleanFormatPipe, typeof i14.TranslateContextPipe, typeof i14.TranslatablePipe, typeof i15.NgInitDirective, typeof i16.FormErrorPipe, typeof i16.FormErrorTranslatePipe, typeof i16.FormGetPipe, typeof i16.FormGetControlPipe, typeof i16.FormGetArrayPipe, typeof i16.FormGetGroupPipe, typeof i16.FormGetValuePipe, typeof i17.MatColorPipe, typeof i18.AsAnyPipe, typeof i18.AsArrayPipe, typeof i18.AsObservablePipe, typeof i18.AsFloatLabelTypePipe, typeof i19.MaskitoPlaceholderPipe, typeof i20.IsSelectedPipe, typeof i20.IsNotEmptySelectionPipe, typeof i20.IsEmptySelectionPipe, typeof i20.SelectionLengthPipe, typeof i20.IsMultipleSelectionPipe, typeof i20.IsSingleSelectionPipe, typeof i21.BadgeNumberPipe, typeof i18.AsBooleanPipe, typeof i22.SafeHtmlPipe, typeof i22.NoHtmlPipe]>;
29
30
  static ɵinj: i0.ɵɵInjectorDeclaration<SharedPipesModule>;
30
31
  }
@@ -131,8 +131,8 @@
131
131
  "SAVE": "Sauvegarder le filtre",
132
132
  "DELETE": "Supprimer le filtre",
133
133
  "DELETED": "Filtre supprimé",
134
- "EXPORT": "Exporter le filtre",
135
- "IMPORT": "Importer un filtre",
134
+ "EXPORT": "Télécharger le filtre",
135
+ "IMPORT": "Importer un filtre...",
136
136
  "LOAD_FAILED": "Échec du chargement du filtre",
137
137
  "IMPORT_FAILED": "Échec de l'import du filtre",
138
138
  "NOT_FOUND": "Filtre non trouvé"
@@ -326,6 +326,7 @@
326
326
  "DUMMY_3": "a - premier",
327
327
  "DUMMY_4": "e - cinquieme",
328
328
  "DUMMY_5": "d - quatrieme",
329
+ "DUMMY_6": "f - sixième",
329
330
  "OPTIONS": {
330
331
  "TITLE": "Options",
331
332
  "DEFINITION": "Option",
@@ -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.12.28",
5
+ "version": "2.18.0-alpha10",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{
@@ -1,3 +1,2 @@
1
1
  import { Environment } from './environment.class';
2
- import 'zone.js/plugins/zone-error';
3
2
  export declare const environment: Environment;
@@ -7,7 +7,7 @@
7
7
 
8
8
  $ionicons-font-path: $font-path !default;
9
9
 
10
- //@import '~ionicons/dist/scss/ionicons';
10
+ //@import 'ionicons/dist/scss/ionicons';
11
11
 
12
12
  // --------------------------------------------------
13
13
  // Import material icons
@@ -1,18 +1,18 @@
1
1
  /* Core CSS required for Ionic components to work properly */
2
- @import "~@ionic/angular/css/core.css";
2
+ @import "@ionic/angular/css/core.css";
3
3
 
4
4
  /* Basic CSS for apps built with Ionic */
5
- @import "~@ionic/angular/css/normalize.css";
6
- @import "~@ionic/angular/css/structure.css";
7
- @import "~@ionic/angular/css/typography.css";
8
- @import '~@ionic/angular/css/display.css';
5
+ @import "@ionic/angular/css/normalize.css";
6
+ @import "@ionic/angular/css/structure.css";
7
+ @import "@ionic/angular/css/typography.css";
8
+ @import '@ionic/angular/css/display.css';
9
9
 
10
10
  /* Optional CSS utils that can be commented out */
11
- @import "~@ionic/angular/css/padding.css";
12
- @import "~@ionic/angular/css/float-elements.css";
13
- @import "~@ionic/angular/css/text-alignment.css";
14
- @import "~@ionic/angular/css/text-transformation.css";
15
- @import "~@ionic/angular/css/flex-utils.css";
11
+ @import "@ionic/angular/css/padding.css";
12
+ @import "@ionic/angular/css/float-elements.css";
13
+ @import "@ionic/angular/css/text-alignment.css";
14
+ @import "@ionic/angular/css/text-transformation.css";
15
+ @import "@ionic/angular/css/flex-utils.css";
16
16
 
17
17
  // --------------------------------------------------
18
18
  // Override Ionic style
@@ -41,22 +41,22 @@ $mat-indigo-app: (
41
41
  );
42
42
 
43
43
  // FIXME: Why loader toolbar is so dark ?
44
- $candy-app-primary: mat.define-palette($mat-indigo-app, 500, 100, 900);
44
+ $candy-app-primary: mat.m2-define-palette($mat-indigo-app, 500, 100, 900);
45
45
 
46
- $candy-app-accent: mat.define-palette($mat-indigo-app, A200, A100, A400);
46
+ $candy-app-accent: mat.m2-define-palette($mat-indigo-app, A200, A100, A400);
47
47
  // The warn palette is optional (defaults to red).
48
- $candy-app-warn: mat.define-palette(mat.$red-palette);
48
+ $candy-app-warn: mat.m2-define-palette(mat.$m2-red-palette);
49
49
  // Create the theme object (a Sass map containing all of the palettes).
50
- $candy-light-theme: mat.define-light-theme((
50
+ $candy-light-theme: mat.m2-define-light-theme((
51
51
  color: (
52
52
  primary: $candy-app-primary,
53
53
  accent: $candy-app-accent,
54
54
  warn: $candy-app-warn,
55
55
  ),
56
- typography: mat.define-typography-config(),
56
+ typography: mat.m2-define-typography-config(),
57
57
  density: 0,
58
58
  ));
59
- $candy-dark-theme: mat.define-dark-theme((
59
+ $candy-dark-theme: mat.m2-define-dark-theme((
60
60
  color: (
61
61
  primary: $candy-app-primary,
62
62
  accent: $candy-app-accent,
@@ -36,7 +36,7 @@ form.form-container {
36
36
  --mdc-outlined-text-field-focus-label-text-color: var(--ion-color-primary);
37
37
  --mdc-outlined-text-field-focus-outline-color: var(--ion-color-primary);
38
38
 
39
- --mdc-form-field-label-text-color: var(--ion-text-color);
39
+ --mat-checkbox-label-text-color: var(--ion-text-color);
40
40
  --mat-form-field-state-layer-color: var(--app-form-field-focus-background-color);
41
41
  --mat-form-field-container-height: 45px;
42
42
  --mat-form-field-container-text-size: inherit;
@@ -231,7 +231,7 @@ form.form-container {
231
231
 
232
232
  // Ckeckbox
233
233
  .mat-mdc-checkbox {
234
- --mdc-form-field-label-text-color: var(--app-form-color);
234
+ --mat-checkbox-label-text-color: var(--app-form-color);
235
235
  --mdc-checkbox-unselected-icon-color: var(--app-form-color);
236
236
  --mdc-checkbox-unselected-focus-icon-color: var(--app-form-color);
237
237
  --mdc-checkbox-unselected-hover-icon-color: var(--app-form-color);
@@ -240,7 +240,7 @@ form.form-container {
240
240
 
241
241
  // Radio
242
242
  .mat-mdc-radio-button {
243
- --mdc-form-field-label-text-color: var(--app-form-color);
243
+ --mat-checkbox-label-text-color: var(--app-form-color);
244
244
 
245
245
  --mdc-radio-disabled-unselected-icon-color: rgba(var(--ion-text-color-rgb, 0, 0, 0), 1);
246
246
  --mdc-radio-disabled-selected-icon-color: rgba(var(--ion-text-color-rgb, 0, 0, 0), 1);
@@ -908,7 +908,8 @@ ion-button[expand="full"],
908
908
  // Icon multiple
909
909
  // --------------------------------------------------
910
910
  ion-icon.icon-secondary,
911
- mat-icon.icon-secondary {
911
+ mat-icon.icon-secondary,
912
+ .mat-mdc-icon-button .mat-icon.icon-secondary {
912
913
  position: absolute;
913
914
  left: 0;
914
915
  }
@@ -976,7 +977,7 @@ ion-refresher.refresher-native {
976
977
 
977
978
  ion-toolbar app-named-filter-selector,
978
979
  mat-toolbar app-named-filter-selector {
979
-
980
+
980
981
  // Hide subscript wrapper (will hide hint)
981
982
  .mat-mdc-form-field-subscript-wrapper {
982
983
  display: none;
@@ -53,7 +53,7 @@
53
53
 
54
54
  --mat-select-enabled-trigger-text-color: var(--ion-text-color);
55
55
  --mat-select-disabled-trigger-text-color: var(--ion-text-color);
56
- --mdc-form-field-label-text-color: var(--ion-text-color);
56
+ --mat-checkbox-label-text-color: var(--ion-text-color);
57
57
 
58
58
  .mat-mdc-header-cell {
59
59
  color: var(--mat-table-header-color);
@@ -269,7 +269,7 @@
269
269
  --mdc-filled-text-field-input-text-color: var(--ion-text-color);
270
270
  --mat-select-enabled-trigger-text-color: var(--ion-text-color);
271
271
  --mat-select-disabled-trigger-text-color: var(--ion-text-color);
272
- --mdc-form-field-label-text-color: var(--ion-text-color);
272
+ --mat-checkbox-label-text-color: var(--ion-text-color);
273
273
 
274
274
  background-color: var(--ion-background-color);
275
275