cmat 0.0.3

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 (680) hide show
  1. package/README.md +3 -0
  2. package/animations/defaults.d.ts +11 -0
  3. package/animations/drop.d.ts +2 -0
  4. package/animations/expand-collapse.d.ts +2 -0
  5. package/animations/fade.d.ts +11 -0
  6. package/animations/index.d.ts +5 -0
  7. package/animations/public-api.d.ts +1 -0
  8. package/animations/shake.d.ts +2 -0
  9. package/animations/slide.d.ts +9 -0
  10. package/animations/transform.d.ts +2 -0
  11. package/animations/zoom.d.ts +3 -0
  12. package/components/adapter/datetime-adapter.d.ts +45 -0
  13. package/components/adapter/datetime-formats.d.ts +22 -0
  14. package/components/adapter/dayjs-date-adapter.d.ts +63 -0
  15. package/components/adapter/dayjs-date-formats.d.ts +2 -0
  16. package/components/adapter/dayjs-datetime-adapter.d.ts +22 -0
  17. package/components/adapter/dayjs-datetime-formats.d.ts +2 -0
  18. package/components/adapter/index.d.ts +5 -0
  19. package/components/adapter/native-datetime-adapter.d.ts +31 -0
  20. package/components/adapter/native-datetime-formats.d.ts +2 -0
  21. package/components/adapter/public-api.d.ts +8 -0
  22. package/components/breadcrumb/breadcrumb-item.directive.d.ts +10 -0
  23. package/components/breadcrumb/breadcrumb.component.d.ts +57 -0
  24. package/components/breadcrumb/breadcrumb.component.scss +18 -0
  25. package/components/breadcrumb/breadcrumb.service.d.ts +126 -0
  26. package/components/breadcrumb/index.d.ts +5 -0
  27. package/components/breadcrumb/public-api.d.ts +3 -0
  28. package/components/breadcrumb/types/breadcrumb.config.d.ts +33 -0
  29. package/components/breadcrumb/types/breadcrumb.d.ts +23 -0
  30. package/components/card/card.component.d.ts +20 -0
  31. package/components/card/card.component.scss +63 -0
  32. package/components/card/card.types.d.ts +1 -0
  33. package/components/card/index.d.ts +5 -0
  34. package/components/card/public-api.d.ts +1 -0
  35. package/components/cascade/cascade-bottom-sheet/cascade-bottom-sheet.component.d.ts +14 -0
  36. package/components/cascade/cascade-bottom-sheet/cascade-bottom-sheet.component.scss +43 -0
  37. package/components/cascade/cascade-list/cascade-list.component.d.ts +52 -0
  38. package/components/cascade/cascade-list/cascade-list.component.scss +22 -0
  39. package/components/cascade/cascade-menu/cascade-menu.component.d.ts +10 -0
  40. package/components/cascade/cascade-menu/cascade-menu.component.scss +48 -0
  41. package/components/cascade/index.d.ts +5 -0
  42. package/components/cascade/options.interface.d.ts +8 -0
  43. package/components/cascade/public-api.d.ts +2 -0
  44. package/components/date-range/date-range.component.d.ts +134 -0
  45. package/components/date-range/date-range.component.scss +232 -0
  46. package/components/date-range/index.d.ts +5 -0
  47. package/components/date-range/public-api.d.ts +1 -0
  48. package/components/drawer/drawer.component.d.ts +75 -0
  49. package/components/drawer/drawer.component.scss +133 -0
  50. package/components/drawer/drawer.service.d.ts +26 -0
  51. package/components/drawer/drawer.types.d.ts +2 -0
  52. package/components/drawer/index.d.ts +5 -0
  53. package/components/drawer/public-api.d.ts +3 -0
  54. package/components/fullscreen/fullscreen.component.d.ts +18 -0
  55. package/components/fullscreen/fullscreen.types.d.ts +13 -0
  56. package/components/fullscreen/index.d.ts +5 -0
  57. package/components/fullscreen/public-api.d.ts +2 -0
  58. package/components/highlight/highlight.component.d.ts +21 -0
  59. package/components/highlight/highlight.component.scss +3 -0
  60. package/components/highlight/highlight.service.d.ts +7 -0
  61. package/components/highlight/index.d.ts +5 -0
  62. package/components/highlight/public-api.d.ts +2 -0
  63. package/components/masonry/index.d.ts +5 -0
  64. package/components/masonry/masonry.component.d.ts +13 -0
  65. package/components/masonry/public-api.d.ts +1 -0
  66. package/components/material-color-picker/base-color.d.ts +1 -0
  67. package/components/material-color-picker/index.d.ts +5 -0
  68. package/components/material-color-picker/material-color-picker.component.d.ts +35 -0
  69. package/components/material-color-picker/material-color-picker.component.scss +5 -0
  70. package/components/material-color-picker/public-api.d.ts +2 -0
  71. package/components/material-color-picker/selected-color.d.ts +5 -0
  72. package/components/material-datetimepicker/calendar-body.d.ts +43 -0
  73. package/components/material-datetimepicker/calendar-body.scss +58 -0
  74. package/components/material-datetimepicker/calendar.d.ts +146 -0
  75. package/components/material-datetimepicker/calendar.scss +194 -0
  76. package/components/material-datetimepicker/clock.d.ts +74 -0
  77. package/components/material-datetimepicker/clock.scss +90 -0
  78. package/components/material-datetimepicker/datetimepicker-animations.d.ts +4 -0
  79. package/components/material-datetimepicker/datetimepicker-content.scss +151 -0
  80. package/components/material-datetimepicker/datetimepicker-errors.d.ts +1 -0
  81. package/components/material-datetimepicker/datetimepicker-filtertype.d.ts +5 -0
  82. package/components/material-datetimepicker/datetimepicker-input.d.ts +106 -0
  83. package/components/material-datetimepicker/datetimepicker-intl.d.ts +51 -0
  84. package/components/material-datetimepicker/datetimepicker-toggle.d.ts +40 -0
  85. package/components/material-datetimepicker/datetimepicker-types.d.ts +13 -0
  86. package/components/material-datetimepicker/datetimepicker.d.ts +195 -0
  87. package/components/material-datetimepicker/datetimepicker.scss +145 -0
  88. package/components/material-datetimepicker/index.d.ts +5 -0
  89. package/components/material-datetimepicker/month-view.d.ts +64 -0
  90. package/components/material-datetimepicker/multi-year-view.d.ts +74 -0
  91. package/components/material-datetimepicker/public-api.d.ts +9 -0
  92. package/components/material-datetimepicker/time.d.ts +129 -0
  93. package/components/material-datetimepicker/time.scss +82 -0
  94. package/components/material-datetimepicker/year-view.d.ts +56 -0
  95. package/components/navigation/horizontal/components/basic/basic.component.d.ts +27 -0
  96. package/components/navigation/horizontal/components/branch/branch.component.d.ts +39 -0
  97. package/components/navigation/horizontal/components/divider/divider.component.d.ts +23 -0
  98. package/components/navigation/horizontal/components/spacer/spacer.component.d.ts +23 -0
  99. package/components/navigation/horizontal/horizontal.component.d.ts +43 -0
  100. package/components/navigation/horizontal/horizontal.component.scss +167 -0
  101. package/components/navigation/index.d.ts +5 -0
  102. package/components/navigation/navigation.service.d.ts +71 -0
  103. package/components/navigation/navigation.types.d.ts +34 -0
  104. package/components/navigation/public-api.d.ts +4 -0
  105. package/components/navigation/vertical/components/aside/aside.component.d.ts +63 -0
  106. package/components/navigation/vertical/components/basic/basic.component.d.ts +30 -0
  107. package/components/navigation/vertical/components/collapsable/collapsable.component.d.ts +74 -0
  108. package/components/navigation/vertical/components/divider/divider.component.d.ts +26 -0
  109. package/components/navigation/vertical/components/group/group.component.d.ts +36 -0
  110. package/components/navigation/vertical/components/spacer/spacer.component.d.ts +26 -0
  111. package/components/navigation/vertical/styles/appearances/compact.scss +103 -0
  112. package/components/navigation/vertical/styles/appearances/default.scss +550 -0
  113. package/components/navigation/vertical/styles/appearances/dense.scss +171 -0
  114. package/components/navigation/vertical/styles/appearances/thin.scss +91 -0
  115. package/components/navigation/vertical/vertical.component.d.ts +176 -0
  116. package/components/navigation/vertical/vertical.component.scss +4 -0
  117. package/components/pagination/index.d.ts +5 -0
  118. package/components/pagination/pagination.component.d.ts +24 -0
  119. package/components/pagination/pagination.directive.d.ts +40 -0
  120. package/components/pagination/pagination.instance.d.ts +11 -0
  121. package/components/pagination/pagination.pipe.d.ts +29 -0
  122. package/components/pagination/pagination.service.d.ts +20 -0
  123. package/components/pagination/public-api.d.ts +4 -0
  124. package/components/password-strength/animations/index.d.ts +4 -0
  125. package/components/password-strength/enum.d.ts +13 -0
  126. package/components/password-strength/index.d.ts +5 -0
  127. package/components/password-strength/mat-pass-toggle-visibility/mat-pass-toggle-visibility.component.d.ts +11 -0
  128. package/components/password-strength/mat-password-strength/mat-password-strength.component.d.ts +52 -0
  129. package/components/password-strength/mat-password-strength-info/mat-password-strength-info.component.d.ts +16 -0
  130. package/components/password-strength/mat-password-strength-info/mat-password-strength-info.component.scss +19 -0
  131. package/components/password-strength/mat-password-strength-validator.d.ts +6 -0
  132. package/components/password-strength/public-api.d.ts +3 -0
  133. package/components/password-strength/regexp.class.d.ts +6 -0
  134. package/components/popover/index.d.ts +5 -0
  135. package/components/popover/popover.component.d.ts +139 -0
  136. package/components/popover/popover.component.scss +174 -0
  137. package/components/popover/popover.errors.d.ts +14 -0
  138. package/components/popover/popover.interfaces.d.ts +44 -0
  139. package/components/popover/popover.type.d.ts +5 -0
  140. package/components/popover/public-api.d.ts +1 -0
  141. package/components/progress-bar/index.d.ts +5 -0
  142. package/components/progress-bar/progress-bar.component.d.ts +17 -0
  143. package/components/progress-bar/progress-bar.component.scss +7 -0
  144. package/components/progress-bar/public-api.d.ts +1 -0
  145. package/components/rating/index.d.ts +5 -0
  146. package/components/rating/public-api.d.ts +1 -0
  147. package/components/rating/rating.component.d.ts +28 -0
  148. package/components/rating/rating.component.scss +33 -0
  149. package/components/select-search/default-options.d.ts +8 -0
  150. package/components/select-search/index.d.ts +5 -0
  151. package/components/select-search/public-api.d.ts +2 -0
  152. package/components/select-search/select-no-entries-found.directive.d.ts +5 -0
  153. package/components/select-search/select-search-clear.directive.d.ts +5 -0
  154. package/components/select-search/select-search.component.d.ts +91 -0
  155. package/components/select-search/select-search.component.scss +126 -0
  156. package/components/select-tree/index.d.ts +5 -0
  157. package/components/select-tree/public-api.d.ts +1 -0
  158. package/components/select-tree/select-tree.component.d.ts +85 -0
  159. package/components/select-tree/select-tree.component.scss +54 -0
  160. package/components/select-tree/select-tree.flatnode.d.ts +6 -0
  161. package/components/select-tree/select-tree.node.d.ts +5 -0
  162. package/components/timeline/index.d.ts +5 -0
  163. package/components/timeline/public-api.d.ts +2 -0
  164. package/components/timeline/timeline-item/timeline-item.component.d.ts +25 -0
  165. package/components/timeline/timeline-item/timeline-item.component.scss +329 -0
  166. package/components/timeline/timeline.component.d.ts +32 -0
  167. package/components/timeline/timeline.component.scss +42 -0
  168. package/components/toast/index.d.ts +5 -0
  169. package/components/toast/models/global-config.model.d.ts +12 -0
  170. package/components/toast/models/toast.model.d.ts +6 -0
  171. package/components/toast/models/type.model.d.ts +12 -0
  172. package/components/toast/public-api.d.ts +2 -0
  173. package/components/toast/toast-modal.component.d.ts +18 -0
  174. package/components/toast/toast-modal.component.scss +119 -0
  175. package/components/toast/toast.component.d.ts +17 -0
  176. package/components/toast/toast.component.scss +62 -0
  177. package/components/toast/toast.service.d.ts +26 -0
  178. package/components/transfer-picker/filter/filter.component.d.ts +24 -0
  179. package/components/transfer-picker/filter/filter.component.scss +40 -0
  180. package/components/transfer-picker/index.d.ts +5 -0
  181. package/components/transfer-picker/interface.d.ts +42 -0
  182. package/components/transfer-picker/public-api.d.ts +7 -0
  183. package/components/transfer-picker/search/search.component.d.ts +14 -0
  184. package/components/transfer-picker/search/search.component.scss +7 -0
  185. package/components/transfer-picker/transfer-picker-source/transfer-picker-source.component.d.ts +49 -0
  186. package/components/transfer-picker/transfer-picker-source/transfer-picker-source.component.scss +25 -0
  187. package/components/transfer-picker/transfer-picker-target/transfer-picker-target.component.d.ts +12 -0
  188. package/components/transfer-picker/transfer-picker-target/transfer-picker-target.component.scss +27 -0
  189. package/components/transfer-picker/transfer-picker.component.d.ts +28 -0
  190. package/components/transfer-picker/transfer-picker.component.scss +8 -0
  191. package/components/transfer-picker/transfer-picker.service.d.ts +31 -0
  192. package/directives/animate-on-scroll/animate-on-scroll.directive.d.ts +29 -0
  193. package/directives/animate-on-scroll/index.d.ts +5 -0
  194. package/directives/animate-on-scroll/public-api.d.ts +1 -0
  195. package/directives/animate-on-scroll/scroll.service.d.ts +15 -0
  196. package/directives/autofocus/autofocus.directive.d.ts +10 -0
  197. package/directives/autofocus/index.d.ts +5 -0
  198. package/directives/autofocus/public-api.d.ts +1 -0
  199. package/directives/debounce/abstract-debounce.directive.d.ts +15 -0
  200. package/directives/debounce/debounce-click.directive.d.ts +8 -0
  201. package/directives/debounce/debounce-keyup.directive.d.ts +8 -0
  202. package/directives/debounce/index.d.ts +5 -0
  203. package/directives/debounce/public-api.d.ts +2 -0
  204. package/directives/digit-only/digit-only.directive.d.ts +34 -0
  205. package/directives/digit-only/index.d.ts +5 -0
  206. package/directives/digit-only/mask.directive.d.ts +14 -0
  207. package/directives/digit-only/public-api.d.ts +2 -0
  208. package/directives/equal-validator/equal-validator.directive.d.ts +14 -0
  209. package/directives/equal-validator/index.d.ts +5 -0
  210. package/directives/equal-validator/public-api.d.ts +1 -0
  211. package/esm2022/animations/cmat-animations.mjs +5 -0
  212. package/esm2022/animations/defaults.mjs +12 -0
  213. package/esm2022/animations/drop.mjs +26 -0
  214. package/esm2022/animations/expand-collapse.mjs +17 -0
  215. package/esm2022/animations/fade.mjs +170 -0
  216. package/esm2022/animations/public-api.mjs +19 -0
  217. package/esm2022/animations/shake.mjs +59 -0
  218. package/esm2022/animations/slide.mjs +124 -0
  219. package/esm2022/animations/transform.mjs +16 -0
  220. package/esm2022/animations/zoom.mjs +38 -0
  221. package/esm2022/cmat.mjs +5 -0
  222. package/esm2022/components/adapter/cmat-components-adapter.mjs +5 -0
  223. package/esm2022/components/adapter/datetime-adapter.mjs +127 -0
  224. package/esm2022/components/adapter/datetime-formats.mjs +3 -0
  225. package/esm2022/components/adapter/dayjs-date-adapter.mjs +198 -0
  226. package/esm2022/components/adapter/dayjs-date-formats.mjs +12 -0
  227. package/esm2022/components/adapter/dayjs-datetime-adapter.mjs +100 -0
  228. package/esm2022/components/adapter/dayjs-datetime-formats.mjs +21 -0
  229. package/esm2022/components/adapter/native-datetime-adapter.mjs +130 -0
  230. package/esm2022/components/adapter/native-datetime-formats.mjs +15 -0
  231. package/esm2022/components/adapter/public-api.mjs +9 -0
  232. package/esm2022/components/breadcrumb/breadcrumb-item.directive.mjs +19 -0
  233. package/esm2022/components/breadcrumb/breadcrumb.component.mjs +95 -0
  234. package/esm2022/components/breadcrumb/breadcrumb.service.mjs +336 -0
  235. package/esm2022/components/breadcrumb/cmat-components-breadcrumb.mjs +5 -0
  236. package/esm2022/components/breadcrumb/public-api.mjs +4 -0
  237. package/esm2022/components/breadcrumb/types/breadcrumb.config.mjs +2 -0
  238. package/esm2022/components/breadcrumb/types/breadcrumb.mjs +2 -0
  239. package/esm2022/components/card/card.component.mjs +58 -0
  240. package/esm2022/components/card/card.types.mjs +2 -0
  241. package/esm2022/components/card/cmat-components-card.mjs +5 -0
  242. package/esm2022/components/card/public-api.mjs +2 -0
  243. package/esm2022/components/cascade/cascade-bottom-sheet/cascade-bottom-sheet.component.mjs +53 -0
  244. package/esm2022/components/cascade/cascade-list/cascade-list.component.mjs +263 -0
  245. package/esm2022/components/cascade/cascade-menu/cascade-menu.component.mjs +29 -0
  246. package/esm2022/components/cascade/cmat-components-cascade.mjs +5 -0
  247. package/esm2022/components/cascade/options.interface.mjs +2 -0
  248. package/esm2022/components/cascade/public-api.mjs +3 -0
  249. package/esm2022/components/date-range/cmat-components-date-range.mjs +5 -0
  250. package/esm2022/components/date-range/date-range.component.mjs +540 -0
  251. package/esm2022/components/date-range/public-api.mjs +2 -0
  252. package/esm2022/components/drawer/cmat-components-drawer.mjs +5 -0
  253. package/esm2022/components/drawer/drawer.component.mjs +301 -0
  254. package/esm2022/components/drawer/drawer.service.mjs +41 -0
  255. package/esm2022/components/drawer/drawer.types.mjs +2 -0
  256. package/esm2022/components/drawer/public-api.mjs +4 -0
  257. package/esm2022/components/fullscreen/cmat-components-fullscreen.mjs +5 -0
  258. package/esm2022/components/fullscreen/fullscreen.component.mjs +101 -0
  259. package/esm2022/components/fullscreen/fullscreen.types.mjs +2 -0
  260. package/esm2022/components/fullscreen/public-api.mjs +3 -0
  261. package/esm2022/components/highlight/cmat-components-highlight.mjs +5 -0
  262. package/esm2022/components/highlight/highlight.component.mjs +80 -0
  263. package/esm2022/components/highlight/highlight.service.mjs +47 -0
  264. package/esm2022/components/highlight/public-api.mjs +3 -0
  265. package/esm2022/components/masonry/cmat-components-masonry.mjs +5 -0
  266. package/esm2022/components/masonry/masonry.component.mjs +54 -0
  267. package/esm2022/components/masonry/public-api.mjs +2 -0
  268. package/esm2022/components/material-color-picker/base-color.mjs +13 -0
  269. package/esm2022/components/material-color-picker/cmat-components-material-color-picker.mjs +5 -0
  270. package/esm2022/components/material-color-picker/material-color-picker.component.mjs +138 -0
  271. package/esm2022/components/material-color-picker/public-api.mjs +3 -0
  272. package/esm2022/components/material-color-picker/selected-color.mjs +3 -0
  273. package/esm2022/components/material-datetimepicker/calendar-body.mjs +80 -0
  274. package/esm2022/components/material-datetimepicker/calendar.mjs +678 -0
  275. package/esm2022/components/material-datetimepicker/clock.mjs +293 -0
  276. package/esm2022/components/material-datetimepicker/cmat-components-material-datetimepicker.mjs +5 -0
  277. package/esm2022/components/material-datetimepicker/datetimepicker-animations.mjs +34 -0
  278. package/esm2022/components/material-datetimepicker/datetimepicker-errors.mjs +6 -0
  279. package/esm2022/components/material-datetimepicker/datetimepicker-filtertype.mjs +8 -0
  280. package/esm2022/components/material-datetimepicker/datetimepicker-input.mjs +340 -0
  281. package/esm2022/components/material-datetimepicker/datetimepicker-intl.mjs +63 -0
  282. package/esm2022/components/material-datetimepicker/datetimepicker-toggle.mjs +88 -0
  283. package/esm2022/components/material-datetimepicker/datetimepicker-types.mjs +2 -0
  284. package/esm2022/components/material-datetimepicker/datetimepicker.mjs +534 -0
  285. package/esm2022/components/material-datetimepicker/month-view.mjs +146 -0
  286. package/esm2022/components/material-datetimepicker/multi-year-view.mjs +198 -0
  287. package/esm2022/components/material-datetimepicker/public-api.mjs +10 -0
  288. package/esm2022/components/material-datetimepicker/time.mjs +456 -0
  289. package/esm2022/components/material-datetimepicker/year-view.mjs +125 -0
  290. package/esm2022/components/navigation/cmat-components-navigation.mjs +5 -0
  291. package/esm2022/components/navigation/horizontal/components/basic/basic.component.mjs +70 -0
  292. package/esm2022/components/navigation/horizontal/components/branch/branch.component.mjs +83 -0
  293. package/esm2022/components/navigation/horizontal/components/divider/divider.component.mjs +47 -0
  294. package/esm2022/components/navigation/horizontal/components/spacer/spacer.component.mjs +47 -0
  295. package/esm2022/components/navigation/horizontal/horizontal.component.mjs +88 -0
  296. package/esm2022/components/navigation/navigation.service.mjs +140 -0
  297. package/esm2022/components/navigation/navigation.types.mjs +3 -0
  298. package/esm2022/components/navigation/public-api.mjs +5 -0
  299. package/esm2022/components/navigation/vertical/components/aside/aside.component.mjs +162 -0
  300. package/esm2022/components/navigation/vertical/components/basic/basic.component.mjs +76 -0
  301. package/esm2022/components/navigation/vertical/components/collapsable/collapsable.component.mjs +279 -0
  302. package/esm2022/components/navigation/vertical/components/divider/divider.component.mjs +56 -0
  303. package/esm2022/components/navigation/vertical/components/group/group.component.mjs +79 -0
  304. package/esm2022/components/navigation/vertical/components/spacer/spacer.component.mjs +56 -0
  305. package/esm2022/components/navigation/vertical/vertical.component.mjs +586 -0
  306. package/esm2022/components/pagination/cmat-components-pagination.mjs +5 -0
  307. package/esm2022/components/pagination/pagination.component.mjs +71 -0
  308. package/esm2022/components/pagination/pagination.directive.mjs +197 -0
  309. package/esm2022/components/pagination/pagination.instance.mjs +2 -0
  310. package/esm2022/components/pagination/pagination.pipe.mjs +100 -0
  311. package/esm2022/components/pagination/pagination.service.mjs +90 -0
  312. package/esm2022/components/pagination/public-api.mjs +5 -0
  313. package/esm2022/components/password-strength/animations/index.mjs +48 -0
  314. package/esm2022/components/password-strength/cmat-components-password-strength.mjs +5 -0
  315. package/esm2022/components/password-strength/enum.mjs +17 -0
  316. package/esm2022/components/password-strength/mat-pass-toggle-visibility/mat-pass-toggle-visibility.component.mjs +27 -0
  317. package/esm2022/components/password-strength/mat-password-strength/mat-password-strength.component.mjs +206 -0
  318. package/esm2022/components/password-strength/mat-password-strength-info/mat-password-strength-info.component.mjs +151 -0
  319. package/esm2022/components/password-strength/mat-password-strength-validator.mjs +36 -0
  320. package/esm2022/components/password-strength/public-api.mjs +4 -0
  321. package/esm2022/components/password-strength/regexp.class.mjs +8 -0
  322. package/esm2022/components/popover/cmat-components-popover.mjs +5 -0
  323. package/esm2022/components/popover/popover.component.mjs +350 -0
  324. package/esm2022/components/popover/popover.errors.mjs +27 -0
  325. package/esm2022/components/popover/popover.interfaces.mjs +2 -0
  326. package/esm2022/components/popover/popover.type.mjs +2 -0
  327. package/esm2022/components/popover/public-api.mjs +2 -0
  328. package/esm2022/components/progress-bar/cmat-components-progress-bar.mjs +5 -0
  329. package/esm2022/components/progress-bar/progress-bar.component.mjs +55 -0
  330. package/esm2022/components/progress-bar/public-api.mjs +2 -0
  331. package/esm2022/components/rating/cmat-components-rating.mjs +5 -0
  332. package/esm2022/components/rating/public-api.mjs +2 -0
  333. package/esm2022/components/rating/rating.component.mjs +91 -0
  334. package/esm2022/components/select-search/cmat-components-select-search.mjs +5 -0
  335. package/esm2022/components/select-search/default-options.mjs +16 -0
  336. package/esm2022/components/select-search/public-api.mjs +3 -0
  337. package/esm2022/components/select-search/select-no-entries-found.directive.mjs +14 -0
  338. package/esm2022/components/select-search/select-search-clear.directive.mjs +14 -0
  339. package/esm2022/components/select-search/select-search.component.mjs +488 -0
  340. package/esm2022/components/select-tree/cmat-components-select-tree.mjs +5 -0
  341. package/esm2022/components/select-tree/public-api.mjs +2 -0
  342. package/esm2022/components/select-tree/select-tree.component.mjs +458 -0
  343. package/esm2022/components/select-tree/select-tree.flatnode.mjs +3 -0
  344. package/esm2022/components/select-tree/select-tree.node.mjs +3 -0
  345. package/esm2022/components/timeline/cmat-components-timeline.mjs +5 -0
  346. package/esm2022/components/timeline/public-api.mjs +3 -0
  347. package/esm2022/components/timeline/timeline-item/timeline-item.component.mjs +68 -0
  348. package/esm2022/components/timeline/timeline.component.mjs +114 -0
  349. package/esm2022/components/toast/cmat-components-toast.mjs +5 -0
  350. package/esm2022/components/toast/models/global-config.model.mjs +2 -0
  351. package/esm2022/components/toast/models/toast.model.mjs +2 -0
  352. package/esm2022/components/toast/models/type.model.mjs +2 -0
  353. package/esm2022/components/toast/public-api.mjs +3 -0
  354. package/esm2022/components/toast/toast-modal.component.mjs +53 -0
  355. package/esm2022/components/toast/toast.component.mjs +30 -0
  356. package/esm2022/components/toast/toast.service.mjs +122 -0
  357. package/esm2022/components/transfer-picker/cmat-components-transfer-picker.mjs +5 -0
  358. package/esm2022/components/transfer-picker/filter/filter.component.mjs +85 -0
  359. package/esm2022/components/transfer-picker/interface.mjs +17 -0
  360. package/esm2022/components/transfer-picker/public-api.mjs +8 -0
  361. package/esm2022/components/transfer-picker/search/search.component.mjs +34 -0
  362. package/esm2022/components/transfer-picker/transfer-picker-source/transfer-picker-source.component.mjs +178 -0
  363. package/esm2022/components/transfer-picker/transfer-picker-target/transfer-picker-target.component.mjs +34 -0
  364. package/esm2022/components/transfer-picker/transfer-picker.component.mjs +82 -0
  365. package/esm2022/components/transfer-picker/transfer-picker.service.mjs +134 -0
  366. package/esm2022/directives/animate-on-scroll/animate-on-scroll.directive.mjs +126 -0
  367. package/esm2022/directives/animate-on-scroll/cmat-directives-animate-on-scroll.mjs +5 -0
  368. package/esm2022/directives/animate-on-scroll/public-api.mjs +2 -0
  369. package/esm2022/directives/animate-on-scroll/scroll.service.mjs +38 -0
  370. package/esm2022/directives/autofocus/autofocus.directive.mjs +20 -0
  371. package/esm2022/directives/autofocus/cmat-directives-autofocus.mjs +5 -0
  372. package/esm2022/directives/autofocus/public-api.mjs +2 -0
  373. package/esm2022/directives/debounce/abstract-debounce.directive.mjs +34 -0
  374. package/esm2022/directives/debounce/cmat-directives-debounce.mjs +5 -0
  375. package/esm2022/directives/debounce/debounce-click.directive.mjs +25 -0
  376. package/esm2022/directives/debounce/debounce-keyup.directive.mjs +25 -0
  377. package/esm2022/directives/debounce/public-api.mjs +3 -0
  378. package/esm2022/directives/digit-only/cmat-directives-digit-only.mjs +5 -0
  379. package/esm2022/directives/digit-only/digit-only.directive.mjs +282 -0
  380. package/esm2022/directives/digit-only/mask.directive.mjs +69 -0
  381. package/esm2022/directives/digit-only/public-api.mjs +3 -0
  382. package/esm2022/directives/equal-validator/cmat-directives-equal-validator.mjs +5 -0
  383. package/esm2022/directives/equal-validator/equal-validator.directive.mjs +54 -0
  384. package/esm2022/directives/equal-validator/public-api.mjs +2 -0
  385. package/esm2022/lib/mock-api/cmat-lib-mock-api.mjs +5 -0
  386. package/esm2022/lib/mock-api/mock-api.constants.mjs +3 -0
  387. package/esm2022/lib/mock-api/mock-api.interceptor.mjs +73 -0
  388. package/esm2022/lib/mock-api/mock-api.request-handler.mjs +48 -0
  389. package/esm2022/lib/mock-api/mock-api.service.mjs +93 -0
  390. package/esm2022/lib/mock-api/mock-api.types.mjs +2 -0
  391. package/esm2022/lib/mock-api/mock-api.utils.mjs +17 -0
  392. package/esm2022/lib/mock-api/public-api.mjs +6 -0
  393. package/esm2022/pipes/bytes/bytes.pipe.mjs +25 -0
  394. package/esm2022/pipes/bytes/cmat-pipes-bytes.mjs +5 -0
  395. package/esm2022/pipes/bytes/public-api.mjs +2 -0
  396. package/esm2022/pipes/date-format/cmat-pipes-date-format.mjs +5 -0
  397. package/esm2022/pipes/date-format/date-format.pipe.mjs +18 -0
  398. package/esm2022/pipes/date-format/public-api.mjs +2 -0
  399. package/esm2022/pipes/find-by-key/cmat-pipes-find-by-key.mjs +5 -0
  400. package/esm2022/pipes/find-by-key/find-by-key.pipe.mjs +23 -0
  401. package/esm2022/pipes/find-by-key/public-api.mjs +2 -0
  402. package/esm2022/pipes/group-by/cmat-pipes-group-by.mjs +5 -0
  403. package/esm2022/pipes/group-by/group-by.pipe.mjs +29 -0
  404. package/esm2022/pipes/group-by/public-api.mjs +2 -0
  405. package/esm2022/pipes/keys/cmat-pipes-keys.mjs +5 -0
  406. package/esm2022/pipes/keys/keys.pipe.mjs +26 -0
  407. package/esm2022/pipes/keys/public-api.mjs +2 -0
  408. package/esm2022/pipes/secure/cmat-pipes-secure.mjs +5 -0
  409. package/esm2022/pipes/secure/public-api.mjs +2 -0
  410. package/esm2022/pipes/secure/secure-pipe.mjs +43 -0
  411. package/esm2022/pipes/uppercase/cmat-pipes-uppercase.mjs +5 -0
  412. package/esm2022/pipes/uppercase/public-api.mjs +2 -0
  413. package/esm2022/pipes/uppercase/uppercase.pipe.mjs +17 -0
  414. package/esm2022/public-api.mjs +2 -0
  415. package/esm2022/services/alert/alert.dialog.mjs +12 -0
  416. package/esm2022/services/alert/alert.message.mjs +9 -0
  417. package/esm2022/services/alert/alert.service.mjs +165 -0
  418. package/esm2022/services/alert/cmat-services-alert.mjs +5 -0
  419. package/esm2022/services/alert/enum.mjs +15 -0
  420. package/esm2022/services/alert/public-api.mjs +5 -0
  421. package/esm2022/services/config/cmat-services-config.mjs +5 -0
  422. package/esm2022/services/config/config.constants.mjs +3 -0
  423. package/esm2022/services/config/config.service.mjs +35 -0
  424. package/esm2022/services/config/public-api.mjs +4 -0
  425. package/esm2022/services/config/urlStateConfig.service.mjs +30 -0
  426. package/esm2022/services/confirmation/cmat-services-confirmation.mjs +5 -0
  427. package/esm2022/services/confirmation/confirmation.service.mjs +51 -0
  428. package/esm2022/services/confirmation/confirmation.types.mjs +2 -0
  429. package/esm2022/services/confirmation/dialog/dialog.component.mjs +25 -0
  430. package/esm2022/services/confirmation/public-api.mjs +3 -0
  431. package/esm2022/services/data/cmat-services-data.mjs +5 -0
  432. package/esm2022/services/data/data.service.mjs +169 -0
  433. package/esm2022/services/data/public-api.mjs +2 -0
  434. package/esm2022/services/loading/cmat-services-loading.mjs +5 -0
  435. package/esm2022/services/loading/loading.interceptor.mjs +29 -0
  436. package/esm2022/services/loading/loading.service.mjs +72 -0
  437. package/esm2022/services/loading/public-api.mjs +3 -0
  438. package/esm2022/services/local-storage/cmat-services-local-storage.mjs +5 -0
  439. package/esm2022/services/local-storage/local-storage.service.mjs +22 -0
  440. package/esm2022/services/local-storage/public-api.mjs +2 -0
  441. package/esm2022/services/media-watcher/cmat-services-media-watcher.mjs +5 -0
  442. package/esm2022/services/media-watcher/media-watcher.service.mjs +55 -0
  443. package/esm2022/services/media-watcher/public-api.mjs +2 -0
  444. package/esm2022/services/platform/cmat-services-platform.mjs +5 -0
  445. package/esm2022/services/platform/platform.service.mjs +46 -0
  446. package/esm2022/services/platform/public-api.mjs +2 -0
  447. package/esm2022/services/splash-screen/cmat-services-splash-screen.mjs +5 -0
  448. package/esm2022/services/splash-screen/public-api.mjs +2 -0
  449. package/esm2022/services/splash-screen/splash-screen.service.mjs +42 -0
  450. package/esm2022/services/title/cmat-services-title.mjs +5 -0
  451. package/esm2022/services/title/public-api.mjs +2 -0
  452. package/esm2022/services/title/title.service.mjs +46 -0
  453. package/esm2022/services/translation/cmat-services-translation.mjs +5 -0
  454. package/esm2022/services/translation/public-api.mjs +2 -0
  455. package/esm2022/services/translation/translation.service.mjs +62 -0
  456. package/esm2022/services/utils/cmat-services-utils.mjs +5 -0
  457. package/esm2022/services/utils/public-api.mjs +2 -0
  458. package/esm2022/services/utils/utils.service.mjs +391 -0
  459. package/esm2022/validators/cmat-validators.mjs +5 -0
  460. package/esm2022/validators/public-api.mjs +2 -0
  461. package/esm2022/validators/validators.mjs +33 -0
  462. package/esm2022/version/cmat-version.mjs +5 -0
  463. package/esm2022/version/public-api.mjs +2 -0
  464. package/esm2022/version/version.mjs +11 -0
  465. package/fesm2022/cmat-animations.mjs +466 -0
  466. package/fesm2022/cmat-animations.mjs.map +1 -0
  467. package/fesm2022/cmat-components-adapter.mjs +600 -0
  468. package/fesm2022/cmat-components-adapter.mjs.map +1 -0
  469. package/fesm2022/cmat-components-breadcrumb.mjs +449 -0
  470. package/fesm2022/cmat-components-breadcrumb.mjs.map +1 -0
  471. package/fesm2022/cmat-components-card.mjs +65 -0
  472. package/fesm2022/cmat-components-card.mjs.map +1 -0
  473. package/fesm2022/cmat-components-cascade.mjs +334 -0
  474. package/fesm2022/cmat-components-cascade.mjs.map +1 -0
  475. package/fesm2022/cmat-components-date-range.mjs +547 -0
  476. package/fesm2022/cmat-components-date-range.mjs.map +1 -0
  477. package/fesm2022/cmat-components-drawer.mjs +346 -0
  478. package/fesm2022/cmat-components-drawer.mjs.map +1 -0
  479. package/fesm2022/cmat-components-fullscreen.mjs +108 -0
  480. package/fesm2022/cmat-components-fullscreen.mjs.map +1 -0
  481. package/fesm2022/cmat-components-highlight.mjs +131 -0
  482. package/fesm2022/cmat-components-highlight.mjs.map +1 -0
  483. package/fesm2022/cmat-components-masonry.mjs +61 -0
  484. package/fesm2022/cmat-components-masonry.mjs.map +1 -0
  485. package/fesm2022/cmat-components-material-color-picker.mjs +160 -0
  486. package/fesm2022/cmat-components-material-color-picker.mjs.map +1 -0
  487. package/fesm2022/cmat-components-material-datetimepicker.mjs +2976 -0
  488. package/fesm2022/cmat-components-material-datetimepicker.mjs.map +1 -0
  489. package/fesm2022/cmat-components-navigation.mjs +1656 -0
  490. package/fesm2022/cmat-components-navigation.mjs.map +1 -0
  491. package/fesm2022/cmat-components-pagination.mjs +455 -0
  492. package/fesm2022/cmat-components-pagination.mjs.map +1 -0
  493. package/fesm2022/cmat-components-password-strength.mjs +489 -0
  494. package/fesm2022/cmat-components-password-strength.mjs.map +1 -0
  495. package/fesm2022/cmat-components-popover.mjs +383 -0
  496. package/fesm2022/cmat-components-popover.mjs.map +1 -0
  497. package/fesm2022/cmat-components-progress-bar.mjs +62 -0
  498. package/fesm2022/cmat-components-progress-bar.mjs.map +1 -0
  499. package/fesm2022/cmat-components-rating.mjs +98 -0
  500. package/fesm2022/cmat-components-rating.mjs.map +1 -0
  501. package/fesm2022/cmat-components-select-search.mjs +531 -0
  502. package/fesm2022/cmat-components-select-search.mjs.map +1 -0
  503. package/fesm2022/cmat-components-select-tree.mjs +467 -0
  504. package/fesm2022/cmat-components-select-tree.mjs.map +1 -0
  505. package/fesm2022/cmat-components-timeline.mjs +186 -0
  506. package/fesm2022/cmat-components-timeline.mjs.map +1 -0
  507. package/fesm2022/cmat-components-toast.mjs +205 -0
  508. package/fesm2022/cmat-components-toast.mjs.map +1 -0
  509. package/fesm2022/cmat-components-transfer-picker.mjs +536 -0
  510. package/fesm2022/cmat-components-transfer-picker.mjs.map +1 -0
  511. package/fesm2022/cmat-directives-animate-on-scroll.mjs +166 -0
  512. package/fesm2022/cmat-directives-animate-on-scroll.mjs.map +1 -0
  513. package/fesm2022/cmat-directives-autofocus.mjs +27 -0
  514. package/fesm2022/cmat-directives-autofocus.mjs.map +1 -0
  515. package/fesm2022/cmat-directives-debounce.mjs +85 -0
  516. package/fesm2022/cmat-directives-debounce.mjs.map +1 -0
  517. package/fesm2022/cmat-directives-digit-only.mjs +356 -0
  518. package/fesm2022/cmat-directives-digit-only.mjs.map +1 -0
  519. package/fesm2022/cmat-directives-equal-validator.mjs +61 -0
  520. package/fesm2022/cmat-directives-equal-validator.mjs.map +1 -0
  521. package/fesm2022/cmat-lib-mock-api.mjs +232 -0
  522. package/fesm2022/cmat-lib-mock-api.mjs.map +1 -0
  523. package/fesm2022/cmat-pipes-bytes.mjs +32 -0
  524. package/fesm2022/cmat-pipes-bytes.mjs.map +1 -0
  525. package/fesm2022/cmat-pipes-date-format.mjs +25 -0
  526. package/fesm2022/cmat-pipes-date-format.mjs.map +1 -0
  527. package/fesm2022/cmat-pipes-find-by-key.mjs +30 -0
  528. package/fesm2022/cmat-pipes-find-by-key.mjs.map +1 -0
  529. package/fesm2022/cmat-pipes-group-by.mjs +36 -0
  530. package/fesm2022/cmat-pipes-group-by.mjs.map +1 -0
  531. package/fesm2022/cmat-pipes-keys.mjs +33 -0
  532. package/fesm2022/cmat-pipes-keys.mjs.map +1 -0
  533. package/fesm2022/cmat-pipes-secure.mjs +50 -0
  534. package/fesm2022/cmat-pipes-secure.mjs.map +1 -0
  535. package/fesm2022/cmat-pipes-uppercase.mjs +24 -0
  536. package/fesm2022/cmat-pipes-uppercase.mjs.map +1 -0
  537. package/fesm2022/cmat-services-alert.mjs +207 -0
  538. package/fesm2022/cmat-services-alert.mjs.map +1 -0
  539. package/fesm2022/cmat-services-config.mjs +69 -0
  540. package/fesm2022/cmat-services-config.mjs.map +1 -0
  541. package/fesm2022/cmat-services-confirmation.mjs +79 -0
  542. package/fesm2022/cmat-services-confirmation.mjs.map +1 -0
  543. package/fesm2022/cmat-services-data.mjs +176 -0
  544. package/fesm2022/cmat-services-data.mjs.map +1 -0
  545. package/fesm2022/cmat-services-loading.mjs +104 -0
  546. package/fesm2022/cmat-services-loading.mjs.map +1 -0
  547. package/fesm2022/cmat-services-local-storage.mjs +29 -0
  548. package/fesm2022/cmat-services-local-storage.mjs.map +1 -0
  549. package/fesm2022/cmat-services-media-watcher.mjs +62 -0
  550. package/fesm2022/cmat-services-media-watcher.mjs.map +1 -0
  551. package/fesm2022/cmat-services-platform.mjs +53 -0
  552. package/fesm2022/cmat-services-platform.mjs.map +1 -0
  553. package/fesm2022/cmat-services-splash-screen.mjs +49 -0
  554. package/fesm2022/cmat-services-splash-screen.mjs.map +1 -0
  555. package/fesm2022/cmat-services-title.mjs +53 -0
  556. package/fesm2022/cmat-services-title.mjs.map +1 -0
  557. package/fesm2022/cmat-services-translation.mjs +69 -0
  558. package/fesm2022/cmat-services-translation.mjs.map +1 -0
  559. package/fesm2022/cmat-services-utils.mjs +398 -0
  560. package/fesm2022/cmat-services-utils.mjs.map +1 -0
  561. package/fesm2022/cmat-validators.mjs +39 -0
  562. package/fesm2022/cmat-validators.mjs.map +1 -0
  563. package/fesm2022/cmat-version.mjs +17 -0
  564. package/fesm2022/cmat-version.mjs.map +1 -0
  565. package/fesm2022/cmat.mjs +4 -0
  566. package/fesm2022/cmat.mjs.map +1 -0
  567. package/icons/CSV.svg +3 -0
  568. package/icons/EXCEL.svg +3 -0
  569. package/icons/FILE.svg +3 -0
  570. package/icons/GIF.svg +3 -0
  571. package/icons/JPG.svg +3 -0
  572. package/icons/PDF.svg +3 -0
  573. package/icons/PNG.svg +3 -0
  574. package/icons/PPT.svg +3 -0
  575. package/icons/TEXT.svg +3 -0
  576. package/icons/VIDEO.svg +3 -0
  577. package/icons/WORD.svg +3 -0
  578. package/icons/ZIP.svg +3 -0
  579. package/icons/arrow-cursor.svg +3 -0
  580. package/icons/material-icons/heroicons-outline.svg +893 -0
  581. package/icons/material-icons/heroicons-solid.svg +958 -0
  582. package/icons/material-icons/material-outline.svg +3586 -0
  583. package/icons/material-icons/material-solid.svg +3586 -0
  584. package/index.d.ts +5 -0
  585. package/lib/mock-api/index.d.ts +5 -0
  586. package/lib/mock-api/mock-api.constants.d.ts +2 -0
  587. package/lib/mock-api/mock-api.interceptor.d.ts +12 -0
  588. package/lib/mock-api/mock-api.request-handler.d.ts +18 -0
  589. package/lib/mock-api/mock-api.service.d.ts +22 -0
  590. package/lib/mock-api/mock-api.types.d.ts +9 -0
  591. package/lib/mock-api/mock-api.utils.d.ts +3 -0
  592. package/lib/mock-api/public-api.d.ts +5 -0
  593. package/package.json +344 -0
  594. package/pipes/bytes/bytes.pipe.d.ts +7 -0
  595. package/pipes/bytes/index.d.ts +5 -0
  596. package/pipes/bytes/public-api.d.ts +1 -0
  597. package/pipes/date-format/date-format.pipe.d.ts +7 -0
  598. package/pipes/date-format/index.d.ts +5 -0
  599. package/pipes/date-format/public-api.d.ts +1 -0
  600. package/pipes/find-by-key/find-by-key.pipe.d.ts +7 -0
  601. package/pipes/find-by-key/index.d.ts +5 -0
  602. package/pipes/find-by-key/public-api.d.ts +1 -0
  603. package/pipes/group-by/group-by.pipe.d.ts +7 -0
  604. package/pipes/group-by/index.d.ts +5 -0
  605. package/pipes/group-by/public-api.d.ts +1 -0
  606. package/pipes/keys/index.d.ts +5 -0
  607. package/pipes/keys/keys.pipe.d.ts +7 -0
  608. package/pipes/keys/public-api.d.ts +1 -0
  609. package/pipes/secure/index.d.ts +5 -0
  610. package/pipes/secure/public-api.d.ts +1 -0
  611. package/pipes/secure/secure-pipe.d.ts +18 -0
  612. package/pipes/uppercase/index.d.ts +5 -0
  613. package/pipes/uppercase/public-api.d.ts +1 -0
  614. package/pipes/uppercase/uppercase.pipe.d.ts +7 -0
  615. package/public-api.d.ts +1 -0
  616. package/services/alert/alert.dialog.d.ts +11 -0
  617. package/services/alert/alert.message.d.ts +8 -0
  618. package/services/alert/alert.service.d.ts +37 -0
  619. package/services/alert/enum.d.ts +12 -0
  620. package/services/alert/index.d.ts +5 -0
  621. package/services/alert/public-api.d.ts +4 -0
  622. package/services/config/config.constants.d.ts +6 -0
  623. package/services/config/config.service.d.ts +11 -0
  624. package/services/config/index.d.ts +5 -0
  625. package/services/config/public-api.d.ts +3 -0
  626. package/services/config/urlStateConfig.service.d.ts +10 -0
  627. package/services/confirmation/confirmation.service.d.ts +12 -0
  628. package/services/confirmation/confirmation.types.d.ts +21 -0
  629. package/services/confirmation/dialog/dialog.component.d.ts +10 -0
  630. package/services/confirmation/index.d.ts +5 -0
  631. package/services/confirmation/public-api.d.ts +2 -0
  632. package/services/data/data.service.d.ts +20 -0
  633. package/services/data/index.d.ts +5 -0
  634. package/services/data/public-api.d.ts +1 -0
  635. package/services/loading/index.d.ts +5 -0
  636. package/services/loading/loading.interceptor.d.ts +12 -0
  637. package/services/loading/loading.service.d.ts +24 -0
  638. package/services/loading/public-api.d.ts +2 -0
  639. package/services/local-storage/index.d.ts +5 -0
  640. package/services/local-storage/local-storage.service.d.ts +8 -0
  641. package/services/local-storage/public-api.d.ts +1 -0
  642. package/services/media-watcher/index.d.ts +5 -0
  643. package/services/media-watcher/media-watcher.service.d.ts +20 -0
  644. package/services/media-watcher/public-api.d.ts +1 -0
  645. package/services/platform/index.d.ts +5 -0
  646. package/services/platform/platform.service.d.ts +9 -0
  647. package/services/platform/public-api.d.ts +1 -0
  648. package/services/splash-screen/index.d.ts +5 -0
  649. package/services/splash-screen/public-api.d.ts +1 -0
  650. package/services/splash-screen/splash-screen.service.d.ts +14 -0
  651. package/services/title/index.d.ts +5 -0
  652. package/services/title/public-api.d.ts +1 -0
  653. package/services/title/title.service.d.ts +13 -0
  654. package/services/translation/index.d.ts +5 -0
  655. package/services/translation/public-api.d.ts +1 -0
  656. package/services/translation/translation.service.d.ts +20 -0
  657. package/services/utils/index.d.ts +5 -0
  658. package/services/utils/public-api.d.ts +1 -0
  659. package/services/utils/utils.service.d.ts +57 -0
  660. package/styles/components/input.scss +42 -0
  661. package/styles/main.scss +9 -0
  662. package/styles/overrides/angular-material.scss +1403 -0
  663. package/styles/overrides/fullcalendar.scss +550 -0
  664. package/styles/overrides/highlightjs.scss +81 -0
  665. package/styles/styles.scss +3 -0
  666. package/styles/tailwind.scss +86 -0
  667. package/styles/themes.scss +164 -0
  668. package/styles/user-themes.scss +1 -0
  669. package/tailwind/plugins/icon-size.js +49 -0
  670. package/tailwind/plugins/theming.js +256 -0
  671. package/tailwind/plugins/utilities.js +66 -0
  672. package/tailwind/utils/generate-contrasts.js +29 -0
  673. package/tailwind/utils/generate-palette.js +100 -0
  674. package/tailwind/utils/json-to-sass-map.js +67 -0
  675. package/validators/index.d.ts +5 -0
  676. package/validators/public-api.d.ts +1 -0
  677. package/validators/validators.d.ts +5 -0
  678. package/version/index.d.ts +5 -0
  679. package/version/public-api.d.ts +1 -0
  680. package/version/version.d.ts +9 -0
@@ -0,0 +1,600 @@
1
+ import * as i1 from '@angular/material/core';
2
+ import { DateAdapter, MAT_DATE_LOCALE } from '@angular/material/core';
3
+ import * as i0 from '@angular/core';
4
+ import { InjectionToken, Injectable, Optional, Inject } from '@angular/core';
5
+ import dayjs from 'dayjs';
6
+ import localeData from 'dayjs/plugin/localeData';
7
+ import utc from 'dayjs/plugin/utc';
8
+ import LocalizedFormat from 'dayjs/plugin/localizedFormat';
9
+ import customParseFormat from 'dayjs/plugin/customParseFormat';
10
+
11
+ class DatetimeAdapter extends DateAdapter {
12
+ constructor(_delegate) {
13
+ super();
14
+ this._delegate = _delegate;
15
+ }
16
+ getValidDateOrNull(obj) {
17
+ return this.isDateInstance(obj) && this.isValid(obj) ? obj : null;
18
+ }
19
+ compareDatetime(first, second, respectMinutePart = true) {
20
+ return this.compareDate(first, second) ||
21
+ this.getHour(first) - this.getHour(second) ||
22
+ (respectMinutePart && this.getMinute(first) - this.getMinute(second));
23
+ }
24
+ sameDatetime(first, second) {
25
+ if (first && second) {
26
+ const firstValid = this.isValid(first);
27
+ const secondValid = this.isValid(second);
28
+ if (firstValid && secondValid) {
29
+ return !this.compareDatetime(first, second);
30
+ }
31
+ return firstValid === secondValid;
32
+ }
33
+ return first === second;
34
+ }
35
+ sameYear(first, second) {
36
+ return first && second && this.getYear(first) === this.getYear(second);
37
+ }
38
+ sameDay(first, second) {
39
+ return first && second && this.getDate(first) === this.getDate(second) && this.sameMonthAndYear(first, second);
40
+ }
41
+ sameHour(first, second) {
42
+ return first && second && this.getHour(first) === this.getHour(second) && this.sameDay(first, second);
43
+ }
44
+ sameMinute(first, second) {
45
+ return first && second && this.getMinute(first) === this.getMinute(second) && this.sameHour(first, second);
46
+ }
47
+ sameMonthAndYear(first, second) {
48
+ if (first && second) {
49
+ const firstValid = this.isValid(first);
50
+ const secondValid = this.isValid(second);
51
+ if (firstValid && secondValid) {
52
+ return !(this.getYear(first) - this.getYear(second) ||
53
+ this.getMonth(first) - this.getMonth(second));
54
+ }
55
+ return firstValid === secondValid;
56
+ }
57
+ return first === second;
58
+ }
59
+ // delegate
60
+ clone(date) {
61
+ return this._delegate.clone(date);
62
+ }
63
+ addCalendarYears(date, years) {
64
+ return this._delegate.addCalendarYears(date, years);
65
+ }
66
+ addCalendarMonths(date, months) {
67
+ return this._delegate.addCalendarMonths(date, months);
68
+ }
69
+ addCalendarDays(date, days) {
70
+ return this._delegate.addCalendarDays(date, days);
71
+ }
72
+ getYear(date) {
73
+ return this._delegate.getYear(date);
74
+ }
75
+ getMonth(date) {
76
+ return this._delegate.getMonth(date);
77
+ }
78
+ getDate(date) {
79
+ return this._delegate.getDate(date);
80
+ }
81
+ getDayOfWeek(date) {
82
+ return this._delegate.getDayOfWeek(date);
83
+ }
84
+ getMonthNames(style) {
85
+ return this._delegate.getMonthNames(style);
86
+ }
87
+ getDateNames() {
88
+ return this._delegate.getDateNames();
89
+ }
90
+ getDayOfWeekNames(style) {
91
+ return this._delegate.getDayOfWeekNames(style);
92
+ }
93
+ getYearName(date) {
94
+ return this._delegate.getYearName(date);
95
+ }
96
+ getFirstDayOfWeek() {
97
+ return this._delegate.getFirstDayOfWeek();
98
+ }
99
+ getNumDaysInMonth(date) {
100
+ return this._delegate.getNumDaysInMonth(date);
101
+ }
102
+ createDate(year, month, date) {
103
+ return this._delegate.createDate(year, month, date);
104
+ }
105
+ today() {
106
+ return this._delegate.today();
107
+ }
108
+ parse(value, parseFormat) {
109
+ return this._delegate.parse(value, parseFormat);
110
+ }
111
+ format(date, displayFormat) {
112
+ return this._delegate.format(date, displayFormat);
113
+ }
114
+ toIso8601(date) {
115
+ return this._delegate.toIso8601(date);
116
+ }
117
+ isDateInstance(obj) {
118
+ return this._delegate.isDateInstance(obj);
119
+ }
120
+ isValid(date) {
121
+ return this._delegate.isValid(date);
122
+ }
123
+ invalid() {
124
+ return this._delegate.invalid();
125
+ }
126
+ clampDate(date, min, max) {
127
+ if (min && this.compareDatetime(date, min) < 0) {
128
+ return min;
129
+ }
130
+ if (max && this.compareDatetime(date, max) > 0) {
131
+ return max;
132
+ }
133
+ return date;
134
+ }
135
+ }
136
+
137
+ const CMAT_DATETIME_FORMATS = new InjectionToken('cmat-datetime-formats');
138
+
139
+ /** The default hour names to use if Intl API is not available. */
140
+ const DEFAULT_HOUR_NAMES = range$2(24, i => String(i));
141
+ /** The default minute names to use if Intl API is not available. */
142
+ const DEFAULT_MINUTE_NAMES = range$2(60, i => String(i));
143
+ function range$2(length, valueFunction) {
144
+ const valuesArray = Array(length);
145
+ for (let i = 0; i < length; i++) {
146
+ valuesArray[i] = valueFunction(i);
147
+ }
148
+ return valuesArray;
149
+ }
150
+ class CNativeDatetimeAdapter extends DatetimeAdapter {
151
+ constructor(matDateLocale, _delegate) {
152
+ super(_delegate);
153
+ this.setLocale(matDateLocale);
154
+ }
155
+ clone(date) {
156
+ return this.createDatetime(this.getYear(date), this.getMonth(date), this.getDate(date), this.getHour(date), this.getMinute(date));
157
+ }
158
+ getHour(date) {
159
+ return date.getHours();
160
+ }
161
+ getMinute(date) {
162
+ return date.getMinutes();
163
+ }
164
+ isInNextMonth(startDate, endDate) {
165
+ const nextMonth = this._getDateInNextMonth(startDate);
166
+ return this.sameMonthAndYear(nextMonth, endDate);
167
+ }
168
+ createDatetime(year, month, date, hour, minute) {
169
+ // Check for invalid month and date (except upper bound on date which we have to check after
170
+ // creating the Date).
171
+ if (month < 0 || month > 11) {
172
+ throw Error(`Invalid month index "${month}". Month index has to be between 0 and 11.`);
173
+ }
174
+ if (date < 1) {
175
+ throw Error(`Invalid date "${date}". Date has to be greater than 0.`);
176
+ }
177
+ if (hour < 0 || hour > 23) {
178
+ throw Error(`Invalid hour "${hour}". Hour has to be between 0 and 23.`);
179
+ }
180
+ if (minute < 0 || minute > 59) {
181
+ throw Error(`Invalid minute "${minute}". Minute has to be between 0 and 59.`);
182
+ }
183
+ const result = this._createDateWithOverflow(year, month, date, hour, minute);
184
+ // Check that the date wasn't above the upper bound for the month, causing the month to overflow
185
+ if (result.getMonth() !== month) {
186
+ throw Error(`Invalid date "${date}" for month with index "${month}".`);
187
+ }
188
+ return result;
189
+ }
190
+ getFirstDateOfMonth(date) {
191
+ const result = new Date();
192
+ result.setFullYear(date.getFullYear(), date.getMonth(), 1);
193
+ return result;
194
+ }
195
+ getHourNames() {
196
+ return DEFAULT_HOUR_NAMES;
197
+ }
198
+ getMinuteNames() {
199
+ return DEFAULT_MINUTE_NAMES;
200
+ }
201
+ addCalendarYears(date, years) {
202
+ return this.addCalendarMonths(date, years * 12);
203
+ }
204
+ addCalendarMonths(date, months) {
205
+ let newDate = this._createDateWithOverflow(this.getYear(date), this.getMonth(date) + months, this.getDate(date), this.getHour(date), this.getMinute(date));
206
+ // It's possible to wind up in the wrong month if the original month has more days than the new
207
+ // month. In this case we want to go to the last day of the desired month.
208
+ // Note: the additional + 12 % 12 ensures we end up with a positive number, since JS % doesn't
209
+ // guarantee this.
210
+ if (this.getMonth(newDate) !== ((this.getMonth(date) + months) % 12 + 12) % 12) {
211
+ newDate = this._createDateWithOverflow(this.getYear(newDate), this.getMonth(newDate), 0, this.getHour(date), this.getMinute(date));
212
+ }
213
+ return newDate;
214
+ }
215
+ addCalendarDays(date, days) {
216
+ return this._createDateWithOverflow(this.getYear(date), this.getMonth(date), this.getDate(date) + days, this.getHour(date), this.getMinute(date));
217
+ }
218
+ addCalendarHours(date, hours) {
219
+ return this._createDateWithOverflow(this.getYear(date), this.getMonth(date), this.getDate(date), this.getHour(date) + hours, this.getMinute(date));
220
+ }
221
+ addCalendarMinutes(date, minutes) {
222
+ return this._createDateWithOverflow(this.getYear(date), this.getMonth(date), this.getDate(date), this.getHour(date), this.getMinute(date) + minutes);
223
+ }
224
+ toIso8601(date) {
225
+ return super.toIso8601(date) + 'T' + [
226
+ this._2digit(date.getUTCHours()),
227
+ this._2digit(date.getUTCMinutes())
228
+ ].join(':');
229
+ }
230
+ _getDateInNextMonth(date) {
231
+ return new Date(date.getFullYear(), date.getMonth() + 1, 1, date.getHours(), date.getMinutes());
232
+ }
233
+ /**
234
+ * Pads a number to make it two digits.
235
+ *
236
+ * @param n The number to pad.
237
+ * @returns The padded number.
238
+ */
239
+ _2digit(n) {
240
+ return ('00' + n).slice(-2);
241
+ }
242
+ /* Creates a date but allows the month and date to overflow. */
243
+ _createDateWithOverflow(year, month, date, hours, minutes) {
244
+ const result = new Date(year, month, date, hours, minutes);
245
+ // We need to correct for the fact that JS native Date treats years in range [0, 99] as
246
+ // abbreviations for 19xx.
247
+ if (year >= 0 && year < 100) {
248
+ result.setFullYear(this.getYear(result) - 1900);
249
+ }
250
+ return result;
251
+ }
252
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: CNativeDatetimeAdapter, deps: [{ token: MAT_DATE_LOCALE, optional: true }, { token: i1.DateAdapter }], target: i0.ɵɵFactoryTarget.Injectable }); }
253
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: CNativeDatetimeAdapter }); }
254
+ }
255
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: CNativeDatetimeAdapter, decorators: [{
256
+ type: Injectable
257
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
258
+ type: Optional
259
+ }, {
260
+ type: Inject,
261
+ args: [MAT_DATE_LOCALE]
262
+ }] }, { type: i1.DateAdapter }] });
263
+
264
+ const CMAT_NATIVE_DATETIME_FORMATS = {
265
+ parse: {},
266
+ display: {
267
+ dateInput: { year: 'numeric', month: '2-digit', day: '2-digit' },
268
+ monthInput: { month: 'long' },
269
+ datetimeInput: { year: 'numeric', month: '2-digit', day: '2-digit', hour: '2-digit', minute: '2-digit' },
270
+ timeInput: { hour: '2-digit', minute: '2-digit' },
271
+ yearInput: { year: 'numeric' },
272
+ monthYearLabel: { year: 'numeric', month: 'short' },
273
+ dateA11yLabel: { year: 'numeric', month: 'long', day: 'numeric' },
274
+ monthYearA11yLabel: { year: 'numeric', month: 'long' },
275
+ popupHeaderDateLabel: { weekday: 'short', month: 'short', day: '2-digit' }
276
+ }
277
+ };
278
+
279
+ function range$1(length, valueFunction) {
280
+ const valuesArray = Array(length);
281
+ for (let i = 0; i < length; i++) {
282
+ valuesArray[i] = valueFunction(i);
283
+ }
284
+ return valuesArray;
285
+ }
286
+ class DayjsDatetimeAdapter extends DatetimeAdapter {
287
+ constructor(matDateLocale, _delegate) {
288
+ super(_delegate);
289
+ this.setLocale(matDateLocale || dayjs.locale());
290
+ dayjs.extend(localeData);
291
+ }
292
+ setLocale(locale) {
293
+ super.setLocale(locale);
294
+ const dayjsLocaleData = dayjs.localeData();
295
+ this._localeData = {
296
+ firstDayOfWeek: dayjsLocaleData.firstDayOfWeek(),
297
+ longMonths: dayjsLocaleData.months(),
298
+ shortMonths: dayjsLocaleData.monthsShort(),
299
+ dates: range$1(31, i => super.createDate(2017, 0, i + 1).format('D')),
300
+ hours: range$1(24, i => this.createDatetime(2017, 0, 1, i, 0).format('H')),
301
+ minutes: range$1(60, i => this.createDatetime(2017, 0, 1, 1, i).format('m')),
302
+ longDaysOfWeek: dayjsLocaleData.weekdays(),
303
+ shortDaysOfWeek: dayjsLocaleData.weekdaysShort(),
304
+ narrowDaysOfWeek: dayjsLocaleData.weekdaysMin()
305
+ };
306
+ }
307
+ getHour(date) {
308
+ return super.clone(date).hour();
309
+ }
310
+ getMinute(date) {
311
+ return super.clone(date).minute();
312
+ }
313
+ isInNextMonth(startDate, endDate) {
314
+ const nextMonth = this._getDateInNextMonth(startDate);
315
+ return super.sameMonthAndYear(nextMonth, endDate);
316
+ }
317
+ createDatetime(year, month, date, hour, minute) {
318
+ // Check for invalid month and date (except upper bound on date which we have to check after
319
+ // creating the Date).
320
+ if (month < 0 || month > 11) {
321
+ throw Error(`Invalid month index "${month}". Month index has to be between 0 and 11.`);
322
+ }
323
+ if (date < 1) {
324
+ throw Error(`Invalid date "${date}". Date has to be greater than 0.`);
325
+ }
326
+ if (hour < 0 || hour > 23) {
327
+ throw Error(`Invalid hour "${hour}". Hour has to be between 0 and 23.`);
328
+ }
329
+ if (minute < 0 || minute > 59) {
330
+ throw Error(`Invalid minute "${minute}". Minute has to be between 0 and 59.`);
331
+ }
332
+ const result = dayjs(new Date(year, month, date, hour, minute));
333
+ // If the result isn't valid, the date must have been out of bounds for this month.
334
+ if (!result.isValid()) {
335
+ throw Error(`Invalid date "${date}" for month with index "${month}".`);
336
+ }
337
+ return result;
338
+ }
339
+ getFirstDateOfMonth(date) {
340
+ return super.clone(date).startOf('month');
341
+ }
342
+ getHourNames() {
343
+ return this._localeData.hours;
344
+ }
345
+ getMinuteNames() {
346
+ return this._localeData.minutes;
347
+ }
348
+ addCalendarHours(date, hours) {
349
+ return super.clone(date).add(hours, 'hour');
350
+ }
351
+ addCalendarMinutes(date, minutes) {
352
+ return super.clone(date).add(minutes, 'minute');
353
+ }
354
+ deserialize(value) {
355
+ return this._delegate.deserialize(value);
356
+ }
357
+ _getDateInNextMonth(date) {
358
+ return super.clone(date).date(1).add(1, 'month');
359
+ }
360
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: DayjsDatetimeAdapter, deps: [{ token: MAT_DATE_LOCALE, optional: true }, { token: i1.DateAdapter }], target: i0.ɵɵFactoryTarget.Injectable }); }
361
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: DayjsDatetimeAdapter }); }
362
+ }
363
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: DayjsDatetimeAdapter, decorators: [{
364
+ type: Injectable
365
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
366
+ type: Optional
367
+ }, {
368
+ type: Inject,
369
+ args: [MAT_DATE_LOCALE]
370
+ }] }, { type: i1.DateAdapter }] });
371
+
372
+ const CMAT_DAYJS_DATETIME_FORMATS = {
373
+ parse: {
374
+ dateInput: 'L',
375
+ monthInput: 'MMMM',
376
+ timeInput: 'LT',
377
+ datetimeInput: 'L LT',
378
+ yearInput: 'YYYY'
379
+ },
380
+ display: {
381
+ dateInput: 'L',
382
+ monthInput: 'MMMM',
383
+ datetimeInput: 'L LT',
384
+ timeInput: 'LT',
385
+ yearInput: 'YYYY',
386
+ monthYearLabel: 'MMM YYYY',
387
+ dateA11yLabel: 'LL',
388
+ monthYearA11yLabel: 'MMMM YYYY',
389
+ popupHeaderDateLabel: 'MMM DD, ddd'
390
+ }
391
+ };
392
+
393
+ /** InjectionToken for Dayjs date adapter to configure options. */
394
+ const CMAT_DAYJS_DATE_ADAPTER_OPTIONS = new InjectionToken('CMAT_DAYJS_DATE_ADAPTER_OPTIONS', {
395
+ providedIn: 'root',
396
+ factory: CMAT_DAYJS_DATE_ADAPTER_OPTIONS_FACTORY
397
+ });
398
+ // eslint-disable-next-line @typescript-eslint/naming-convention
399
+ function CMAT_DAYJS_DATE_ADAPTER_OPTIONS_FACTORY() {
400
+ return {
401
+ useUtc: false
402
+ };
403
+ }
404
+ function range(length, valueFunction) {
405
+ const valuesArray = Array(length);
406
+ for (let i = 0; i < length; i++) {
407
+ valuesArray[i] = valueFunction(i);
408
+ }
409
+ return valuesArray;
410
+ }
411
+ /** Adapts Dayjs Dates for use with Angular Material. */
412
+ class DayjsDateAdapter extends DateAdapter {
413
+ constructor(dateLocale, _options) {
414
+ super();
415
+ this.dateLocale = dateLocale;
416
+ this._options = _options;
417
+ this._initializeParser(dateLocale);
418
+ }
419
+ get _shouldUseUtc() {
420
+ const { useUtc } = this._options || {};
421
+ return !!useUtc;
422
+ }
423
+ setLocale(locale) {
424
+ super.setLocale(locale);
425
+ const dayJsLocaleData = this._dayJs().localeData();
426
+ this._localeData = {
427
+ firstDayOfWeek: dayJsLocaleData.firstDayOfWeek(),
428
+ longMonths: dayJsLocaleData.months(),
429
+ shortMonths: dayJsLocaleData.monthsShort(),
430
+ dates: range(31, i => this.createDate(2017, 0, i + 1).format('D')),
431
+ longDaysOfWeek: range(7, i => this._dayJs().set('day', i).format('dddd')),
432
+ shortDaysOfWeek: dayJsLocaleData.weekdaysShort(),
433
+ narrowDaysOfWeek: dayJsLocaleData.weekdaysMin(),
434
+ };
435
+ }
436
+ getYear(date) {
437
+ return this._dayJs(date).year();
438
+ }
439
+ getMonth(date) {
440
+ return this._dayJs(date).month();
441
+ }
442
+ getDate(date) {
443
+ return this._dayJs(date).date();
444
+ }
445
+ getDayOfWeek(date) {
446
+ return this._dayJs(date).day();
447
+ }
448
+ getMonthNames(style) {
449
+ return style === 'long' ? this._localeData.longMonths : this._localeData.shortMonths;
450
+ }
451
+ getDateNames() {
452
+ return this._localeData.dates;
453
+ }
454
+ getDayOfWeekNames(style) {
455
+ if (style === 'long') {
456
+ return this._localeData.longDaysOfWeek;
457
+ }
458
+ if (style === 'short') {
459
+ return this._localeData.shortDaysOfWeek;
460
+ }
461
+ return this._localeData.narrowDaysOfWeek;
462
+ }
463
+ getYearName(date) {
464
+ return this._dayJs(date).format('YYYY');
465
+ }
466
+ getFirstDayOfWeek() {
467
+ return this._localeData.firstDayOfWeek;
468
+ }
469
+ getNumDaysInMonth(date) {
470
+ return this._dayJs(date).daysInMonth();
471
+ }
472
+ clone(date) {
473
+ return date.clone();
474
+ }
475
+ createDate(year, month, date) {
476
+ const returnDayjs = this._dayJs()
477
+ .set('year', year)
478
+ .set('month', month)
479
+ .set('date', date);
480
+ return returnDayjs;
481
+ }
482
+ today() {
483
+ return this._dayJs();
484
+ }
485
+ parse(value, parseFormat) {
486
+ if (value && typeof value === 'string') {
487
+ return this._dayJs(value, parseFormat, this.locale);
488
+ }
489
+ return value ? this._dayJs(value).locale(this.locale) : null;
490
+ }
491
+ format(date, displayFormat) {
492
+ if (!this.isValid(date)) {
493
+ throw Error('DayjsDateAdapter: Cannot format invalid date.');
494
+ }
495
+ return date.locale(this.locale).format(displayFormat);
496
+ }
497
+ addCalendarYears(date, years) {
498
+ return date.add(years, 'year');
499
+ }
500
+ addCalendarMonths(date, months) {
501
+ return date.add(months, 'month');
502
+ }
503
+ addCalendarDays(date, days) {
504
+ return date.add(days, 'day');
505
+ }
506
+ toIso8601(date) {
507
+ return date.toISOString();
508
+ }
509
+ /**
510
+ * Attempts to deserialize a value to a valid date object. This is different from parsing in that
511
+ * deserialize should only accept non-ambiguous, locale-independent formats (e.g. a ISO 8601
512
+ * string). The default implementation does not allow any deserialization, it simply checks that
513
+ * the given value is already a valid date object or null. The `<mat-datepicker>` will call this
514
+ * method on all of it's `@Input()` properties that accept dates. It is therefore possible to
515
+ * support passing values from your backend directly to these properties by overriding this method
516
+ * to also deserialize the format used by your backend.
517
+ *
518
+ * @param value The value to be deserialized into a date object.
519
+ * @returns The deserialized date object, either a valid date, null if the value can be
520
+ * deserialized into a null date (e.g. the empty string), or an invalid date.
521
+ */
522
+ deserialize(value) {
523
+ let date;
524
+ if (value instanceof Date) {
525
+ date = this._dayJs(value);
526
+ }
527
+ else if (this.isDateInstance(value)) {
528
+ // NOTE: assumes that cloning also sets the correct locale.
529
+ return this.clone(value);
530
+ }
531
+ if (typeof value === 'string') {
532
+ if (!value) {
533
+ return null;
534
+ }
535
+ date = this._dayJs(value).toISOString();
536
+ }
537
+ if (date && this.isValid(date)) {
538
+ return this._dayJs(date); // NOTE: Is this necessary since Dayjs is immutable and Moment was not?
539
+ }
540
+ return super.deserialize(value);
541
+ }
542
+ isDateInstance(obj) {
543
+ return dayjs.isDayjs(obj);
544
+ }
545
+ isValid(date) {
546
+ return this._dayJs(date).isValid();
547
+ }
548
+ invalid() {
549
+ return this._dayJs(null);
550
+ }
551
+ _dayJs(input, format, locale) {
552
+ if (!this._shouldUseUtc) {
553
+ return dayjs(input, { format, locale }, locale);
554
+ }
555
+ return dayjs(input, { format, locale, utc: this._shouldUseUtc }, locale).utc();
556
+ }
557
+ _initializeParser(dateLocale) {
558
+ if (this._shouldUseUtc) {
559
+ dayjs.extend(utc);
560
+ }
561
+ dayjs.extend(LocalizedFormat);
562
+ dayjs.extend(customParseFormat);
563
+ dayjs.extend(localeData);
564
+ this.setLocale(dateLocale);
565
+ }
566
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: DayjsDateAdapter, deps: [{ token: MAT_DATE_LOCALE, optional: true }, { token: CMAT_DAYJS_DATE_ADAPTER_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
567
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: DayjsDateAdapter }); }
568
+ }
569
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: DayjsDateAdapter, decorators: [{
570
+ type: Injectable
571
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
572
+ type: Optional
573
+ }, {
574
+ type: Inject,
575
+ args: [MAT_DATE_LOCALE]
576
+ }] }, { type: undefined, decorators: [{
577
+ type: Optional
578
+ }, {
579
+ type: Inject,
580
+ args: [CMAT_DAYJS_DATE_ADAPTER_OPTIONS]
581
+ }] }] });
582
+
583
+ const CMAT_DAYJS_DATE_FORMATS = {
584
+ parse: {
585
+ dateInput: 'YYYY/MM/DD',
586
+ },
587
+ display: {
588
+ dateInput: 'YYYY/MM/DD',
589
+ monthYearLabel: 'YYYY MMM',
590
+ dateA11yLabel: 'LL',
591
+ monthYearA11yLabel: 'YYYY MMMM',
592
+ }
593
+ };
594
+
595
+ /**
596
+ * Generated bundle index. Do not edit.
597
+ */
598
+
599
+ export { CMAT_DATETIME_FORMATS, CMAT_DAYJS_DATETIME_FORMATS, CMAT_DAYJS_DATE_ADAPTER_OPTIONS, CMAT_DAYJS_DATE_ADAPTER_OPTIONS_FACTORY, CMAT_DAYJS_DATE_FORMATS, CMAT_NATIVE_DATETIME_FORMATS, CNativeDatetimeAdapter, DatetimeAdapter, DayjsDateAdapter, DayjsDatetimeAdapter };
600
+ //# sourceMappingURL=cmat-components-adapter.mjs.map