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,106 @@
1
+ import { AfterContentInit, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
2
+ import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
3
+ import { MatFormField } from '@angular/material/form-field';
4
+ import { DatetimeAdapter, CmatDatetimeFormats } from 'cmat/components/adapter';
5
+ import { CmatDatetimepickerComponent } from './datetimepicker';
6
+ import { CmatDatetimepickerFilterType } from './datetimepicker-filtertype';
7
+ import { ThemePalette } from '@angular/material/core';
8
+ import * as i0 from "@angular/core";
9
+ export declare const CMAT_DATETIMEPICKER_VALUE_ACCESSOR: any;
10
+ export declare const CMAT_DATETIMEPICKER_VALIDATORS: any;
11
+ /**
12
+ * An event used for datepicker input and change events. We don't always have access to a native
13
+ * input or change event because the event may have been triggered by the user clicking on the
14
+ * calendar popup. For consistency, we always use MatDatepickerInputEvent instead.
15
+ */
16
+ export declare class CmatDatetimepickerInputEvent<D> {
17
+ target: CmatDatetimepickerInputDirective<D>;
18
+ targetElement: HTMLElement;
19
+ /** The new value for the target datepicker input. */
20
+ value: D | null;
21
+ constructor(target: CmatDatetimepickerInputDirective<D>, targetElement: HTMLElement);
22
+ }
23
+ /** Directive used to connect an input to a MatDatepicker. */
24
+ export declare class CmatDatetimepickerInputDirective<D> implements AfterContentInit, ControlValueAccessor, OnDestroy, Validator {
25
+ private _elementRef;
26
+ _dateAdapter: DatetimeAdapter<D>;
27
+ private _dateFormats;
28
+ private _formField;
29
+ /** Emits when a `change` event is fired on this `<input>`. */
30
+ dateChange: EventEmitter<CmatDatetimepickerInputEvent<D>>;
31
+ /** Emits when an `input` event is fired on this `<input>`. */
32
+ dateInput: EventEmitter<CmatDatetimepickerInputEvent<D>>;
33
+ datetimepicker: CmatDatetimepickerComponent<D>;
34
+ dateFilter: (date: D | null, type: CmatDatetimepickerFilterType) => boolean;
35
+ /** Emits when the value changes (either due to user input or programmatic change). */
36
+ valueChange: EventEmitter<D | null>;
37
+ /** Emits when the disabled state has changed */
38
+ disabledChange: EventEmitter<boolean>;
39
+ private _datepickerSubscription;
40
+ private _localeSubscription;
41
+ /** Whether the last value set on the input was valid. */
42
+ private _lastValueValid;
43
+ private _value;
44
+ private _min;
45
+ private _max;
46
+ private _disabled;
47
+ constructor(_elementRef: ElementRef, _dateAdapter: DatetimeAdapter<D>, _dateFormats: CmatDatetimeFormats, _formField: MatFormField);
48
+ /** The datepicker that this input is associated with. */
49
+ set cmatDatetimepicker(value: CmatDatetimepickerComponent<D>);
50
+ set cmatDatepickerFilter(filter: (date: D | null, type: CmatDatetimepickerFilterType) => boolean);
51
+ /** The value of the input. */
52
+ get value(): D | null;
53
+ set value(value: D | null);
54
+ /** The minimum valid date. */
55
+ get min(): D | null;
56
+ set min(value: D | null);
57
+ /** The maximum valid date. */
58
+ get max(): D | null;
59
+ set max(value: D | null);
60
+ /** Whether the datepicker-input is disabled. */
61
+ get disabled(): boolean;
62
+ set disabled(value: any);
63
+ ngAfterContentInit(): void;
64
+ ngOnDestroy(): void;
65
+ registerOnValidatorChange(fn: () => void): void;
66
+ validate(c: AbstractControl): ValidationErrors | null;
67
+ /**
68
+ * Gets the element that the datepicker popup should be connected to.
69
+ *
70
+ * @return The element to connect the popup to.
71
+ */
72
+ getConnectedOverlayOrigin(): ElementRef;
73
+ /** Gets the ID of an element that should be used a description for the calendar overlay. */
74
+ getOverlayLabelId(): string | null;
75
+ writeValue(value: D): void;
76
+ registerOnChange(fn: (value: any) => void): void;
77
+ registerOnTouched(fn: () => void): void;
78
+ setDisabledState(disabled: boolean): void;
79
+ onKeydown(event: KeyboardEvent): void;
80
+ onInput(value: string): void;
81
+ onChange(): void;
82
+ /** Handles blur events on the input. */
83
+ onBlur(): void;
84
+ /** Returns the palette used by the input's form field, if any. */
85
+ getThemePalette(): ThemePalette;
86
+ private _registerDatetimepicker;
87
+ private _getDisplayFormat;
88
+ private _getParseFormat;
89
+ private _onTouched;
90
+ private _cvaOnChange;
91
+ private _validatorOnChange;
92
+ /** The form control validator for whether the input parses. */
93
+ private _parseValidator;
94
+ /** The form control validator for the min date. */
95
+ private _minValidator;
96
+ /** The form control validator for the max date. */
97
+ private _maxValidator;
98
+ /** The form control validator for the date filter. */
99
+ private _filterValidator;
100
+ /** The combined form control validator for this input. */
101
+ private _validator;
102
+ /** Formats a value and sets it on the input element. */
103
+ private _formatValue;
104
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatDatetimepickerInputDirective<any>, [null, { optional: true; }, { optional: true; }, { optional: true; }]>;
105
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CmatDatetimepickerInputDirective<any>, "input[cmatDatetimepicker]", ["cmatDatepickerInput"], { "cmatDatetimepicker": { "alias": "cmatDatetimepicker"; "required": false; }; "cmatDatepickerFilter": { "alias": "cmatDatepickerFilter"; "required": false; }; "value": { "alias": "value"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "dateChange": "dateChange"; "dateInput": "dateInput"; }, never, never, true, never>;
106
+ }
@@ -0,0 +1,51 @@
1
+ import { Subject } from 'rxjs';
2
+ import * as i0 from "@angular/core";
3
+ export declare class CmatDatetimepickerIntl {
4
+ /**
5
+ * Stream to emit from when labels are changed. Use this to notify components when the labels have
6
+ * changed after initialization.
7
+ */
8
+ readonly changes: Subject<void>;
9
+ /** A label for the calendar popup (used by screen readers). */
10
+ calendarLabel: string;
11
+ /** A label for the button used to open the calendar popup (used by screen readers). */
12
+ openCalendarLabel: string;
13
+ /** Label for the button used to close the calendar popup. */
14
+ closeCalendarLabel: string;
15
+ /** A label for the previous month button (used by screen readers). */
16
+ prevMonthLabel: string;
17
+ /** A label for the next month button (used by screen readers). */
18
+ nextMonthLabel: string;
19
+ /** A label for the previous year button (used by screen readers). */
20
+ prevYearLabel: string;
21
+ /** A label for the next year button (used by screen readers). */
22
+ nextYearLabel: string;
23
+ /** A label for the previous multi-year button (used by screen readers). */
24
+ prevMultiYearLabel: string;
25
+ /** A label for the next multi-year button (used by screen readers). */
26
+ nextMultiYearLabel: string;
27
+ /** A label for the 'switch to month view' button (used by screen readers). */
28
+ switchToMonthViewLabel: string;
29
+ /** A label for the 'switch to year view' button (used by screen readers). */
30
+ switchToYearViewLabel: string;
31
+ /** A label for the 'switch to multi-year view' button (used by screen readers). */
32
+ switchToMultiYearViewLabel: string;
33
+ /** A label for the first date of a range of dates (used by screen readers). */
34
+ startDateLabel: string;
35
+ /** A label for the last date of a range of dates (used by screen readers). */
36
+ endDateLabel: string;
37
+ /** A label for the 'switch to clock hour view' button (used by screen readers). */
38
+ switchToClockHourViewLabel: string;
39
+ /** A label for the 'switch to clock minute view' button (used by screen readers). */
40
+ switchToClockMinuteViewLabel: string;
41
+ /** Label used for ok button within the manual time input. */
42
+ okLabel: string;
43
+ /** Label used for cancel button within the manual time input. */
44
+ cancelLabel: string;
45
+ /** Formats a range of years (used for visuals). */
46
+ formatYearRange(start: string, end: string): string;
47
+ /** Formats a label for a range of years (used by screen readers). */
48
+ formatYearRangeLabel(start: string, end: string): string;
49
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatDatetimepickerIntl, never>;
50
+ static ɵprov: i0.ɵɵInjectableDeclaration<CmatDatetimepickerIntl>;
51
+ }
@@ -0,0 +1,40 @@
1
+ import { AfterContentInit, ChangeDetectorRef, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
2
+ import { CmatDatetimepickerComponent } from './datetimepicker';
3
+ import { CmatDatetimepickerIntl } from './datetimepicker-intl';
4
+ import { MatButton } from '@angular/material/button';
5
+ import * as i0 from "@angular/core";
6
+ /** Can be used to override the icon of a `cmatDatetimepickerToggle`. */
7
+ export declare class CmatDatetimepickerToggleIconDirective {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatDatetimepickerToggleIconDirective, never>;
9
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CmatDatetimepickerToggleIconDirective, "[cmatDatetimepickerToggleIcon]", never, {}, {}, never, never, true, never>;
10
+ }
11
+ export declare class CmatDatetimepickerToggleComponent<D> implements AfterContentInit, OnChanges, OnDestroy {
12
+ protected intl: CmatDatetimepickerIntl;
13
+ private _changeDetectorRef;
14
+ /** Datepicker instance that the button will toggle. */
15
+ datetimepicker: CmatDatetimepickerComponent<D>;
16
+ /** Tabindex for the toggle. */
17
+ tabIndex: number;
18
+ /** Screen-reader label for the button. */
19
+ ariaLabel?: string;
20
+ /** Whether ripples on the toggle should be disabled. */
21
+ disableRipple: boolean;
22
+ /** Custom icon set by the consumer. */
23
+ customIcon: CmatDatetimepickerToggleIconDirective;
24
+ /** Underlying button element. */
25
+ button: MatButton;
26
+ class: string;
27
+ private _stateChanges;
28
+ private _disabled;
29
+ constructor(intl: CmatDatetimepickerIntl, _changeDetectorRef: ChangeDetectorRef);
30
+ /** Whether the toggle button is disabled. */
31
+ get disabled(): boolean;
32
+ set disabled(value: boolean);
33
+ ngOnChanges(changes: SimpleChanges): void;
34
+ ngOnDestroy(): void;
35
+ ngAfterContentInit(): void;
36
+ open(event: Event): void;
37
+ private _watchStateChanges;
38
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatDatetimepickerToggleComponent<any>, never>;
39
+ static ɵcmp: i0.ɵɵComponentDeclaration<CmatDatetimepickerToggleComponent<any>, "cmat-datetimepicker-toggle", ["cmatDatetimepickerToggle"], { "datetimepicker": { "alias": "for"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, ["customIcon"], ["[cmatDatetimepickerToggleIcon]"], true, never>;
40
+ }
@@ -0,0 +1,13 @@
1
+ /** Possible types for datetimepicker. */
2
+ export type CmatDatetimepickerType = 'date' | 'time' | 'month' | 'year' | 'datetime';
3
+ /** Possible views for datetimepicker calendar. */
4
+ export type CmatCalendarView = 'clock' | 'month' | 'year' | 'multi-year';
5
+ /** Possible types for AM / PM */
6
+ export type CmatAMPM = 'AM' | 'PM';
7
+ /** Possible modes for datetimepicker dropdown display. */
8
+ export type CmatDatetimepickerMode = 'auto' | 'portrait' | 'landscape';
9
+ /** Possible positions for the datetimepicker dropdown along the X axis. */
10
+ export type DatetimepickerDropdownPositionX = 'start' | 'end';
11
+ /** Possible positions for the datetimepicker dropdown along the Y axis. */
12
+ export type DatetimepickerDropdownPositionY = 'above' | 'below';
13
+ export type CmatClockView = 'hour' | 'minute';
@@ -0,0 +1,195 @@
1
+ import { Directionality } from '@angular/cdk/bidi';
2
+ import { Overlay, ScrollStrategy } from '@angular/cdk/overlay';
3
+ import { AfterContentInit, ChangeDetectorRef, ElementRef, EventEmitter, InjectionToken, NgZone, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
4
+ import { Subject } from 'rxjs';
5
+ import { DatetimeAdapter } from 'cmat/components/adapter';
6
+ import { CmatDatetimepickerFilterType } from './datetimepicker-filtertype';
7
+ import { CmatDatetimepickerInputDirective } from './datetimepicker-input';
8
+ import { CmatCalendarView, CmatDatetimepickerMode, CmatDatetimepickerType, DatetimepickerDropdownPositionX, DatetimepickerDropdownPositionY } from './datetimepicker-types';
9
+ import { CanColor, ThemePalette } from '@angular/material/core';
10
+ import { CmatDatetimepickerCalendarComponent } from './calendar';
11
+ import * as i0 from "@angular/core";
12
+ /** Injection token that determines the scroll handling while the calendar is open. */
13
+ export declare const CMAT_DATETIMEPICKER_SCROLL_STRATEGY: InjectionToken<() => ScrollStrategy>;
14
+ export declare function CMAT_DATETIMEPICKER_SCROLL_STRATEGY_FACTORY(overlay: Overlay): () => ScrollStrategy;
15
+ export declare const CMAT_DATETIMEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER: {
16
+ provide: InjectionToken<() => ScrollStrategy>;
17
+ deps: (typeof Overlay)[];
18
+ useFactory: typeof CMAT_DATETIMEPICKER_SCROLL_STRATEGY_FACTORY;
19
+ };
20
+ declare const cmatDatetimepickerContentBase: import("@angular/material/core")._Constructor<CanColor> & import("@angular/material/core")._AbstractConstructor<CanColor> & {
21
+ new (_elementRef: ElementRef): {
22
+ _elementRef: ElementRef;
23
+ };
24
+ };
25
+ /**
26
+ * Component used as the content for the datepicker dialog and popup. We use this instead of using
27
+ * MatCalendar directly as the content so we can control the initial focus. This also gives us a
28
+ * place to put additional features of the popup that are not part of the calendar itself in the
29
+ * future. (e.g. confirmation buttons).
30
+ */
31
+ export declare class CmatDatetimepickerContentComponent<D> extends cmatDatetimepickerContentBase implements OnInit, AfterContentInit, OnDestroy, CanColor {
32
+ private _changeDetectorRef;
33
+ _calendar: CmatDatetimepickerCalendarComponent<D>;
34
+ color: ThemePalette;
35
+ datetimepicker: CmatDatetimepickerComponent<D>;
36
+ /** Whether the datetimepicker is above or below the input. */
37
+ isAbove: boolean;
38
+ /** Current state of the animation. */
39
+ animationState: 'enter-dropdown' | 'enter-dialog' | 'void';
40
+ /** Emits when an animation has finished. */
41
+ readonly animationDone: Subject<void>;
42
+ /** Id of the label for the `role="dialog"` element. */
43
+ dialogLabelId: string | null;
44
+ constructor(elementRef: ElementRef, _changeDetectorRef: ChangeDetectorRef);
45
+ ngOnInit(): void;
46
+ ngAfterContentInit(): void;
47
+ startExitAnimation(): void;
48
+ ngOnDestroy(): void;
49
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatDatetimepickerContentComponent<any>, never>;
50
+ static ɵcmp: i0.ɵɵComponentDeclaration<CmatDatetimepickerContentComponent<any>, "cmat-datetimepicker-content", ["cmatDatetimepickerContent"], { "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
51
+ }
52
+ export declare class CmatDatetimepickerComponent<D> implements OnDestroy {
53
+ private _overlay;
54
+ private _ngZone;
55
+ private _viewContainerRef;
56
+ private _scrollStrategy;
57
+ private _dateAdapter;
58
+ private _dir;
59
+ private _document;
60
+ /** The view that the calendar should start in. */
61
+ startView: CmatCalendarView;
62
+ mode: CmatDatetimepickerMode;
63
+ timeInterval: number;
64
+ /** Prevent user to select same date time */
65
+ preventSameDateTimeSelection: boolean;
66
+ /** Preferred position of the datetimepicker in the X axis. */
67
+ xPosition: DatetimepickerDropdownPositionX;
68
+ /** Preferred position of the datetimepicker in the Y axis. */
69
+ yPosition: DatetimepickerDropdownPositionY;
70
+ selectedChanged: EventEmitter<D>;
71
+ /** Emits when the datepicker has been opened. */
72
+ openedStream: EventEmitter<void>;
73
+ /** Emits when the datepicker has been closed. */
74
+ closedStream: EventEmitter<void>;
75
+ /** Emits when the view has been changed. **/
76
+ viewChanged: EventEmitter<CmatCalendarView>;
77
+ /** Whether the calendar is open. */
78
+ /** The id for the datepicker calendar. */
79
+ id: string;
80
+ /** The input element this datepicker is associated with. */
81
+ datetimepickerInput: CmatDatetimepickerInputDirective<D>;
82
+ /** Emits when the datepicker is disabled. */
83
+ disabledChange: Subject<boolean>;
84
+ private _validSelected;
85
+ /** A reference to the overlay into which we've rendered the calendar. */
86
+ private _overlayRef;
87
+ /** Reference to the component instance rendered in the overlay. */
88
+ private _componentRef;
89
+ /** The element that was focused before the datetimepicker was opened. */
90
+ private _focusedElementBeforeOpen;
91
+ /** Unique class that will be added to the backdrop so that the test harnesses can look it up. */
92
+ private _backdropHarnessClass;
93
+ private _inputStateChanges;
94
+ private _multiYearSelector;
95
+ private _twelvehour;
96
+ private _panelClass;
97
+ private _opened;
98
+ private _color;
99
+ private _startAt;
100
+ private _type;
101
+ private _touchUi;
102
+ private _disabled;
103
+ private _timeInput;
104
+ private _restoreFocus;
105
+ constructor(_overlay: Overlay, _ngZone: NgZone, _viewContainerRef: ViewContainerRef, _scrollStrategy: any, _dateAdapter: DatetimeAdapter<D>, _dir: Directionality, _document: any);
106
+ /** Whether to show multi-year view. */
107
+ get multiYearSelector(): boolean;
108
+ set multiYearSelector(value: boolean);
109
+ /** Whether the clock uses 12 hour format. */
110
+ get twelvehour(): boolean;
111
+ set twelvehour(value: boolean);
112
+ /**
113
+ * Classes to be passed to the date picker panel.
114
+ * Supports string and string array values, similar to `ngClass`.
115
+ */
116
+ get panelClass(): string | string[];
117
+ set panelClass(value: string | string[]);
118
+ /** Whether the calendar is open. */
119
+ get opened(): boolean;
120
+ set opened(value: boolean);
121
+ /** Color palette to use on the datetimepicker's calendar. */
122
+ get color(): ThemePalette;
123
+ set color(value: ThemePalette);
124
+ /** The date to open the calendar to initially. */
125
+ get startAt(): D | null;
126
+ set startAt(date: D | null);
127
+ get type(): CmatDatetimepickerType;
128
+ set type(value: CmatDatetimepickerType);
129
+ /**
130
+ * Whether the calendar is in time mode. In time mode the calendar clock gets time input
131
+ * elements rather then just clock. When `touchUi` is enabled this will be disabled.
132
+ */
133
+ get timeInput(): boolean;
134
+ set timeInput(value: boolean);
135
+ /**
136
+ * Whether the calendar UI is in touch mode. In touch mode the calendar opens in a dialog rather
137
+ * than a popup and elements have more padding to allow for bigger touch targets.
138
+ */
139
+ get touchUi(): boolean;
140
+ set touchUi(value: boolean);
141
+ /** Whether the datepicker pop-up should be disabled. */
142
+ get disabled(): boolean;
143
+ set disabled(value: boolean);
144
+ /**
145
+ * Whether to restore focus to the previously-focused element when the panel is closed.
146
+ * Note that automatic focus restoration is an accessibility feature and it is recommended that
147
+ * you provide your own equivalent, if you decide to turn it off.
148
+ */
149
+ get restoreFocus(): boolean;
150
+ set restoreFocus(value: boolean);
151
+ /** The currently selected date. */
152
+ get selected(): D | null;
153
+ set selected(value: D | null);
154
+ /** The minimum selectable date. */
155
+ get minDate(): D | null;
156
+ /** The maximum selectable date. */
157
+ get maxDate(): D | null;
158
+ get dateFilter(): (date: D | null, type: CmatDatetimepickerFilterType) => boolean;
159
+ ngOnDestroy(): void;
160
+ /**
161
+ * Register an input with this datepicker.
162
+ *
163
+ * @param input The datepicker input to register with this datepicker.
164
+ */
165
+ registerInput(input: CmatDatetimepickerInputDirective<D>): void;
166
+ /** Open the calendar. */
167
+ open(): void;
168
+ /** Close the calendar. */
169
+ close(): void;
170
+ /** Selects the given date */
171
+ select(date: D): void;
172
+ viewChange(type: CmatCalendarView): void;
173
+ /**
174
+ * Forwards relevant values from the datetimepicker to the
175
+ * datetimepicker content inside the overlay.
176
+ */
177
+ private _forwardContentValues;
178
+ /** Opens the overlay with the calendar. */
179
+ private _openOverlay;
180
+ /** Destroys the current overlay. */
181
+ private _destroyOverlay;
182
+ /** Gets a position strategy that will open the calendar as a dropdown. */
183
+ private _getDialogStrategy;
184
+ /** Gets a position strategy that will open the calendar as a dropdown. */
185
+ private _getDropdownStrategy;
186
+ /**
187
+ * Sets the positions of the datetimepicker in dropdown mode based on the current configuration.
188
+ */
189
+ private _setConnectedPositions;
190
+ /** Gets an observable that will emit when the overlay is supposed to be closed. */
191
+ private _getCloseStream;
192
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatDatetimepickerComponent<any>, [null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
193
+ static ɵcmp: i0.ɵɵComponentDeclaration<CmatDatetimepickerComponent<any>, "cmat-datetimepicker", ["cmatDatetimepicker"], { "startView": { "alias": "startView"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "timeInterval": { "alias": "timeInterval"; "required": false; }; "preventSameDateTimeSelection": { "alias": "preventSameDateTimeSelection"; "required": false; }; "xPosition": { "alias": "xPosition"; "required": false; }; "yPosition": { "alias": "yPosition"; "required": false; }; "multiYearSelector": { "alias": "multiYearSelector"; "required": false; }; "twelvehour": { "alias": "twelvehour"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; "color": { "alias": "color"; "required": false; }; "startAt": { "alias": "startAt"; "required": false; }; "type": { "alias": "type"; "required": false; }; "timeInput": { "alias": "timeInput"; "required": false; }; "touchUi": { "alias": "touchUi"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "restoreFocus": { "alias": "restoreFocus"; "required": false; }; }, { "selectedChanged": "selectedChanged"; "openedStream": "openedStream"; "closedStream": "closedStream"; "viewChanged": "viewChanged"; }, never, never, true, never>;
194
+ }
195
+ export {};
@@ -0,0 +1,145 @@
1
+ @use "datetimepicker-content";
2
+
3
+ $cmat-datetimepicker-selected-today-box-shadow-width: 1px;
4
+
5
+ .cmat-datetimepicker-content {
6
+ @apply bg-card text-hint #{'!important'};
7
+ }
8
+
9
+ .cmat-datetimepicker-calendar-header {
10
+ @apply bg-primary;
11
+ color: white !important;
12
+ }
13
+
14
+ .cmat-datetimepicker-body-label {
15
+ @apply text-secondary;
16
+ }
17
+
18
+ .cmat-datetimepicker-calendar-table-header {
19
+ @apply text-hint;
20
+ }
21
+
22
+ .cmat-datetimepicker-calendar-body-cell-content {
23
+ @apply text-default;
24
+
25
+ &.cmat-datetimepicker-calendar-body-selected {
26
+ @apply bg-primary;
27
+ color: white !important;
28
+
29
+ &.cmat-datetimepicker-calendar-body-today {
30
+ @apply shadow;
31
+ }
32
+ }
33
+
34
+ &:not(.cmat-datetimepicker-calendar-body-selected) {
35
+ &.cmat-datetimepicker-calendar-body-today {
36
+ border-color: var(--cmat-text-hint);
37
+ }
38
+ }
39
+ }
40
+
41
+ .cmat-datetimepicker-calendar-body-cell:not(.cmat-datetimepicker-calendar-body-disabled):hover,
42
+ .cmat-datetimepicker-calendar-body-active {
43
+ &>.cmat-datetimepicker-calendar-body-cell-content:not(.cmat-datetimepicker-calendar-body-selected) {
44
+ background-color: rgba(var(--cmat-primary-rgb), 0.3);
45
+ }
46
+ }
47
+
48
+ .cmat-datetimepicker-calendar-body-disabled {
49
+ >.cmat-datetimepicker-calendar-body-cell-content:not(.cmat-datetimepicker-calendar-body-selected) {
50
+ color: var(--cmat-text-disabled);
51
+ }
52
+
53
+ >.cmat-datetimepicker-calendar-body-today:not(.cmat-datetimepicker-calendar-body-selected) {
54
+ border-color: rgba(var(--cmat-text-disabled), 0.8);
55
+ }
56
+
57
+ >.cmat-datetimepicker-calendar-body-selected {
58
+ background-color: rgba(var(--cmat-primary-rgb), 0.4);
59
+ }
60
+ }
61
+
62
+ .cmat-datetimepicker-calendar-previous-button,
63
+ .cmat-datetimepicker-calendar-next-button {
64
+ &.disabled {
65
+ color: var(--cmat-text-disabled);
66
+ }
67
+ }
68
+
69
+ .cmat-datetimepicker-clock-wrapper {
70
+ background-color: var(--cmat-divider);
71
+ }
72
+
73
+ .cmat-datetimepicker-clock-center {
74
+ @apply bg-primary;
75
+ }
76
+
77
+ .cmat-datetimepicker-clock-hand {
78
+ @apply bg-primary;
79
+
80
+ &::before {
81
+ @apply bg-primary;
82
+ }
83
+ }
84
+
85
+ .cmat-datetimepicker-clock-cell {
86
+ @apply text-default;
87
+
88
+ &.cmat-datetimepicker-clock-cell-selected {
89
+ @apply bg-primary;
90
+ color: white !important;
91
+ }
92
+
93
+ &:not(.cmat-datetimepicker-clock-cell-selected, .cmat-datetimepicker-clock-cell-disabled):hover {
94
+ @apply bg-hover;
95
+ }
96
+
97
+ &.cmat-datetimepicker-clock-cell-disabled {
98
+ color: var(--cmat-text-disabled);
99
+ }
100
+ }
101
+
102
+ .cmat-datetimepicker-datetimepicker-toggle-active {
103
+ @apply text-primary;
104
+
105
+ &.mat-accent {
106
+ @apply text-accent;
107
+ }
108
+
109
+ &.mat-warn {
110
+ @apply text-warn;
111
+ }
112
+ }
113
+
114
+ .cmat-datetimepicker-time-input {
115
+ @apply text-primary;
116
+ background-color: var(--cmat-text-disabled);
117
+
118
+ &.cmat-datetimepicker-time-input-active {
119
+ @apply text-primary;
120
+ background-color: rgba(var(--cmat-primary-rgb), 0.2);
121
+
122
+ &:focus {
123
+ border-color: var(--cmat-primary);
124
+ background-color: var(--cmat-divider);
125
+
126
+ &::placeholder {
127
+ color: rgba(var(--cmat-primary-rgb), 0.6);
128
+ }
129
+ }
130
+ }
131
+
132
+ &.cmat-datetimepicker-time-input-warning {
133
+ border-color: var(--cmat-warn);
134
+ }
135
+ }
136
+
137
+ .cmat-datetimepicker-time-am.mat-mdc-button,
138
+ .cmat-datetimepicker-time-pm.mat-mdc-button {
139
+ color: var(--cmat-text-hint);
140
+ border-color: var(--cmat-text-hint);
141
+
142
+ &.cmat-datetimepicker-time-ampm-active {
143
+ background-color: rgba(var(--cmat-accent-rgb), 0.2);
144
+ }
145
+ }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="cmat/components/material-datetimepicker" />
5
+ export * from './public-api';
@@ -0,0 +1,64 @@
1
+ import { AfterContentInit, EventEmitter } from '@angular/core';
2
+ import { CmatDatetimeFormats } from 'cmat/components/adapter';
3
+ import { DatetimeAdapter } from 'cmat/components/adapter';
4
+ import { CmatDatetimepickerCalendarCellComponent } from './calendar-body';
5
+ import { CmatDatetimepickerType } from './datetimepicker-types';
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * An internal component used to display a single month in the datepicker.
9
+ */
10
+ export declare class CmatDatetimepickerMonthViewComponent<D> implements AfterContentInit {
11
+ adapter: DatetimeAdapter<D>;
12
+ private _dateFormats;
13
+ type: CmatDatetimepickerType;
14
+ userSelection: EventEmitter<void>;
15
+ /** A function used to filter which dates are selectable. */
16
+ dateFilter: (date: D) => boolean;
17
+ /** Emits when a new date is selected. */
18
+ selectedChange: EventEmitter<D>;
19
+ /** Grid of calendar cells representing the dates of the month. */
20
+ weeks: CmatDatetimepickerCalendarCellComponent[][];
21
+ /** The number of blank cells in the first row before the 1st of the month. */
22
+ firstWeekOffset: number;
23
+ /**
24
+ * The date of the month that the currently selected Date falls on.
25
+ * Null if the currently selected Date is in another month.
26
+ */
27
+ selectedDate: number | null;
28
+ /** The date of the month that today falls on. Null if today is in another month. */
29
+ todayDate: number | null;
30
+ /** The names of the weekdays. */
31
+ weekdays: {
32
+ long: string;
33
+ narrow: string;
34
+ }[];
35
+ calendarState: string;
36
+ private _activeDate;
37
+ private _selected;
38
+ constructor(adapter: DatetimeAdapter<D>, _dateFormats: CmatDatetimeFormats);
39
+ /**
40
+ * The date to display in this month view (everything other than the month and year is ignored).
41
+ */
42
+ get activeDate(): D;
43
+ set activeDate(value: D);
44
+ /** The currently selected date. */
45
+ get selected(): D;
46
+ set selected(value: D);
47
+ ngAfterContentInit(): void;
48
+ /** Handles when a new date is selected. */
49
+ dateSelected(date: number): void;
50
+ calendarStateDone(): void;
51
+ trackByFn(index: number, item: any): any;
52
+ /** Initializes this month view. */
53
+ private _init;
54
+ /** Creates MdCalendarCells for the dates in this month. */
55
+ private _createWeekCells;
56
+ /**
57
+ * Gets the date in this month that the given Date falls on.
58
+ * Returns null if the given Date is in another month.
59
+ */
60
+ private _getDateInCurrentMonth;
61
+ private _changeCalendarState;
62
+ static ɵfac: i0.ɵɵFactoryDeclaration<CmatDatetimepickerMonthViewComponent<any>, [{ optional: true; }, { optional: true; }]>;
63
+ static ɵcmp: i0.ɵɵComponentDeclaration<CmatDatetimepickerMonthViewComponent<any>, "cmat-datetimepicker-month-view", ["cmatDatetimepickerMonthView"], { "type": { "alias": "type"; "required": false; }; "dateFilter": { "alias": "dateFilter"; "required": false; }; "activeDate": { "alias": "activeDate"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, { "userSelection": "userSelection"; "selectedChange": "selectedChange"; }, never, never, true, never>;
64
+ }