@ptsecurity/mosaic 13.10.0 → 14.1.0

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 (531) hide show
  1. package/_theming.scss +90 -7388
  2. package/_visual.scss +6 -2778
  3. package/autocomplete/autocomplete-origin.directive.d.ts +1 -1
  4. package/autocomplete/autocomplete-trigger.directive.d.ts +1 -1
  5. package/autocomplete/autocomplete.component.d.ts +1 -1
  6. package/button/button.component.d.ts +4 -4
  7. package/button-toggle/button-toggle.component.d.ts +2 -2
  8. package/card/card.component.d.ts +3 -3
  9. package/checkbox/checkbox-required-validator.d.ts +1 -1
  10. package/checkbox/checkbox.d.ts +7 -16
  11. package/core/common-behaviors/color.d.ts +4 -1
  12. package/core/common-behaviors/error-state.d.ts +7 -4
  13. package/core/error/error-options.d.ts +3 -3
  14. package/core/formatters/date/formatter.pipe.d.ts +95 -0
  15. package/core/formatters/index.d.ts +3 -1
  16. package/core/formatters/number/formatter.d.ts +1 -1
  17. package/core/forms/forms.directive.d.ts +2 -2
  18. package/core/highlight/highlight.pipe.d.ts +1 -1
  19. package/core/line/line.d.ts +1 -1
  20. package/core/option/action.d.ts +2 -2
  21. package/core/option/optgroup.d.ts +2 -2
  22. package/core/option/option.d.ts +1 -1
  23. package/core/pop-up/pop-up-trigger.d.ts +5 -4
  24. package/core/pop-up/pop-up.d.ts +2 -2
  25. package/core/selection/pseudo-checkbox/pseudo-checkbox.d.ts +3 -3
  26. package/core/validation/validation.d.ts +1 -12
  27. package/datepicker/calendar-body.component.d.ts +1 -1
  28. package/datepicker/calendar.component.d.ts +30 -30
  29. package/datepicker/datepicker-input.directive.d.ts +6 -11
  30. package/datepicker/datepicker-toggle.component.d.ts +2 -2
  31. package/datepicker/datepicker.component.d.ts +2 -2
  32. package/datepicker/month-view.component.d.ts +1 -1
  33. package/datepicker/multi-year-view.component.d.ts +1 -1
  34. package/datepicker/year-view.component.d.ts +1 -1
  35. package/design-tokens/legacy-2017/tokens/components/badge.json5 +46 -46
  36. package/design-tokens/legacy-2017/tokens/components/button-toggle.json5 +2 -1
  37. package/design-tokens/legacy-2017/tokens/components/checkbox.json5 +20 -15
  38. package/design-tokens/legacy-2017/tokens/components/forms.json5 +0 -4
  39. package/design-tokens/legacy-2017/tokens/components/progress-spinner.json5 +10 -1
  40. package/design-tokens/legacy-2017/tokens/components/timezone.json5 +23 -0
  41. package/design-tokens/legacy-2017/tokens.d.ts +55 -35
  42. package/design-tokens/pt-2022/tokens/components/button-toggle.json5 +2 -1
  43. package/design-tokens/pt-2022/tokens/components/checkbox.json5 +21 -16
  44. package/design-tokens/pt-2022/tokens/components/forms.json5 +0 -4
  45. package/design-tokens/pt-2022/tokens/components/progress-spinner.json5 +10 -1
  46. package/design-tokens/pt-2022/tokens/components/timezone.json5 +23 -0
  47. package/design-tokens/pt-2022/tokens/properties/colors.json5 +2 -2
  48. package/design-tokens/pt-2022/tokens/properties/typography.json5 +17 -17
  49. package/design-tokens/pt-2022/tokens.d.ts +43 -23
  50. package/design-tokens/style-dictionary/formats/figma.js +2 -2
  51. package/design-tokens/style-dictionary/transforms/attribute/palette.js +1 -1
  52. package/design-tokens/style-dictionary/transforms/attribute/size.js +1 -1
  53. package/design-tokens/style-dictionary/transforms/attribute/typography.js +1 -1
  54. package/divider/divider.component.d.ts +1 -1
  55. package/dl/dl.component.d.ts +3 -3
  56. package/dropdown/dropdown-content.directive.d.ts +1 -1
  57. package/dropdown/dropdown-item.component.d.ts +1 -1
  58. package/dropdown/dropdown-trigger.directive.d.ts +1 -1
  59. package/dropdown/dropdown.component.d.ts +1 -1
  60. package/esm2020/autocomplete/autocomplete-origin.directive.mjs +4 -4
  61. package/esm2020/autocomplete/autocomplete-trigger.directive.mjs +7 -7
  62. package/esm2020/autocomplete/autocomplete.component.mjs +5 -6
  63. package/esm2020/autocomplete/autocomplete.module.mjs +5 -5
  64. package/esm2020/button/button.component.mjs +13 -13
  65. package/esm2020/button/button.module.mjs +7 -9
  66. package/esm2020/button-toggle/button-toggle.component.mjs +9 -9
  67. package/esm2020/button-toggle/button-toggle.module.mjs +5 -5
  68. package/esm2020/card/card.component.mjs +9 -9
  69. package/esm2020/card/card.module.mjs +7 -9
  70. package/esm2020/checkbox/checkbox-module.mjs +5 -5
  71. package/esm2020/checkbox/checkbox-required-validator.mjs +4 -4
  72. package/esm2020/checkbox/checkbox.mjs +22 -38
  73. package/esm2020/core/common-behaviors/color.mjs +6 -3
  74. package/esm2020/core/common-behaviors/common-module.mjs +5 -5
  75. package/esm2020/core/common-behaviors/disabled.mjs +1 -1
  76. package/esm2020/core/common-behaviors/error-state.mjs +1 -11
  77. package/esm2020/core/error/error-options.mjs +7 -7
  78. package/esm2020/core/formatters/date/formatter.mjs +4 -4
  79. package/esm2020/core/formatters/date/formatter.pipe.mjs +187 -0
  80. package/esm2020/core/formatters/index.mjs +65 -7
  81. package/esm2020/core/formatters/number/formatter.mjs +5 -5
  82. package/esm2020/core/forms/forms-module.mjs +5 -5
  83. package/esm2020/core/forms/forms.directive.mjs +7 -7
  84. package/esm2020/core/highlight/highlight.pipe.mjs +4 -4
  85. package/esm2020/core/highlight/index.mjs +5 -5
  86. package/esm2020/core/line/line.mjs +8 -8
  87. package/esm2020/core/option/action.mjs +6 -6
  88. package/esm2020/core/option/optgroup.mjs +6 -6
  89. package/esm2020/core/option/option-module.mjs +6 -6
  90. package/esm2020/core/option/option.mjs +6 -6
  91. package/esm2020/core/pop-up/pop-up-trigger.mjs +16 -14
  92. package/esm2020/core/pop-up/pop-up.mjs +4 -4
  93. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +6 -7
  94. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.module.mjs +5 -5
  95. package/esm2020/core/services/measure-scrollbar.service.mjs +4 -4
  96. package/esm2020/core/validation/validation.mjs +1 -114
  97. package/esm2020/datepicker/calendar-body.component.mjs +4 -4
  98. package/esm2020/datepicker/calendar.component.mjs +125 -128
  99. package/esm2020/datepicker/datepicker-input.directive.mjs +14 -32
  100. package/esm2020/datepicker/datepicker-intl.mjs +4 -4
  101. package/esm2020/datepicker/datepicker-module.mjs +11 -17
  102. package/esm2020/datepicker/datepicker-toggle.component.mjs +10 -10
  103. package/esm2020/datepicker/datepicker.component.mjs +10 -10
  104. package/esm2020/datepicker/month-view.component.mjs +6 -6
  105. package/esm2020/datepicker/multi-year-view.component.mjs +4 -4
  106. package/esm2020/datepicker/year-view.component.mjs +4 -4
  107. package/esm2020/design-tokens/legacy-2017/tokens.mjs +56 -36
  108. package/esm2020/design-tokens/pt-2022/tokens.mjs +44 -24
  109. package/esm2020/divider/divider.component.mjs +4 -4
  110. package/esm2020/divider/divider.module.mjs +5 -5
  111. package/esm2020/dl/dl.component.mjs +11 -11
  112. package/esm2020/dl/dl.module.mjs +7 -9
  113. package/esm2020/dropdown/dropdown-content.directive.mjs +4 -4
  114. package/esm2020/dropdown/dropdown-item.component.mjs +7 -7
  115. package/esm2020/dropdown/dropdown-trigger.directive.mjs +4 -4
  116. package/esm2020/dropdown/dropdown.component.mjs +5 -5
  117. package/esm2020/dropdown/dropdown.module.mjs +7 -9
  118. package/esm2020/form-field/cleaner.mjs +4 -4
  119. package/esm2020/form-field/form-field.mjs +24 -21
  120. package/esm2020/form-field/form-field.module.mjs +14 -9
  121. package/esm2020/form-field/hint.mjs +6 -7
  122. package/esm2020/form-field/password-hint.mjs +11 -12
  123. package/esm2020/form-field/prefix.mjs +4 -4
  124. package/esm2020/form-field/public-api.mjs +2 -1
  125. package/esm2020/form-field/stepper.mjs +4 -4
  126. package/esm2020/form-field/suffix.mjs +4 -4
  127. package/esm2020/form-field/validate.directive.mjs +156 -0
  128. package/esm2020/icon/icon.component.mjs +10 -11
  129. package/esm2020/icon/icon.module.mjs +7 -9
  130. package/esm2020/input/input-number-validators.mjs +7 -7
  131. package/esm2020/input/input-number.mjs +4 -4
  132. package/esm2020/input/input-password.mjs +17 -50
  133. package/esm2020/input/input.mjs +19 -46
  134. package/esm2020/input/input.module.mjs +8 -10
  135. package/esm2020/link/link.component.mjs +4 -4
  136. package/esm2020/link/link.module.mjs +6 -8
  137. package/esm2020/list/list-selection.component.mjs +10 -10
  138. package/esm2020/list/list.component.mjs +8 -8
  139. package/esm2020/list/list.module.mjs +9 -11
  140. package/esm2020/loader-overlay/loader-overlay.component.mjs +15 -15
  141. package/esm2020/loader-overlay/loader-overlay.module.mjs +8 -10
  142. package/esm2020/modal/css-unit.pipe.mjs +4 -4
  143. package/esm2020/modal/modal-control.service.mjs +4 -4
  144. package/esm2020/modal/modal.component.mjs +8 -8
  145. package/esm2020/modal/modal.directive.mjs +13 -13
  146. package/esm2020/modal/modal.module.mjs +11 -14
  147. package/esm2020/modal/modal.service.mjs +6 -6
  148. package/esm2020/navbar/navbar-item.component.mjs +36 -36
  149. package/esm2020/navbar/navbar.component.mjs +11 -11
  150. package/esm2020/navbar/navbar.module.mjs +9 -11
  151. package/esm2020/navbar/vertical-navbar.component.mjs +6 -6
  152. package/esm2020/popover/popover-confirm.component.mjs +11 -11
  153. package/esm2020/popover/popover.component.mjs +20 -11
  154. package/esm2020/popover/popover.module.mjs +6 -7
  155. package/esm2020/progress-bar/progress-bar.component.mjs +7 -8
  156. package/esm2020/progress-bar/progress-bar.module.mjs +6 -8
  157. package/esm2020/progress-spinner/progress-spinner.component.mjs +25 -11
  158. package/esm2020/progress-spinner/progress-spinner.module.mjs +6 -8
  159. package/esm2020/radio/radio.component.mjs +53 -54
  160. package/esm2020/radio/radio.module.mjs +5 -5
  161. package/esm2020/select/select-option.directive.mjs +4 -4
  162. package/esm2020/select/select.component.mjs +41 -55
  163. package/esm2020/select/select.module.mjs +10 -12
  164. package/esm2020/sidebar/sidebar.component.mjs +10 -10
  165. package/esm2020/sidebar/sidebar.module.mjs +5 -5
  166. package/esm2020/sidepanel/sidepanel-container.component.mjs +7 -7
  167. package/esm2020/sidepanel/sidepanel-directives.mjs +22 -20
  168. package/esm2020/sidepanel/sidepanel.module.mjs +11 -14
  169. package/esm2020/sidepanel/sidepanel.service.mjs +33 -29
  170. package/esm2020/splitter/splitter.component.mjs +37 -37
  171. package/esm2020/splitter/splitter.module.mjs +6 -8
  172. package/esm2020/table/table.component.mjs +4 -4
  173. package/esm2020/table/table.module.mjs +7 -9
  174. package/esm2020/tabs/paginated-tab-header.mjs +4 -4
  175. package/esm2020/tabs/tab-body.component.mjs +7 -7
  176. package/esm2020/tabs/tab-content.directive.mjs +4 -4
  177. package/esm2020/tabs/tab-group.component.mjs +29 -30
  178. package/esm2020/tabs/tab-header.component.mjs +5 -5
  179. package/esm2020/tabs/tab-label-wrapper.directive.mjs +4 -4
  180. package/esm2020/tabs/tab-label.directive.mjs +4 -4
  181. package/esm2020/tabs/tab-nav-bar/tab-nav-bar.mjs +7 -7
  182. package/esm2020/tabs/tab.component.mjs +4 -4
  183. package/esm2020/tabs/tabs.module.mjs +11 -13
  184. package/esm2020/tags/tag-input.mjs +4 -4
  185. package/esm2020/tags/tag-list.component.mjs +26 -35
  186. package/esm2020/tags/tag.component.mjs +23 -21
  187. package/esm2020/tags/tag.module.mjs +6 -6
  188. package/esm2020/textarea/textarea.component.mjs +24 -39
  189. package/esm2020/textarea/textarea.module.mjs +5 -5
  190. package/esm2020/timepicker/timepicker.directive.mjs +10 -27
  191. package/esm2020/timepicker/timepicker.module.mjs +8 -10
  192. package/esm2020/timezone/cities-by-filter.pipe.mjs +17 -0
  193. package/esm2020/timezone/index.mjs +2 -0
  194. package/esm2020/timezone/ptsecurity-mosaic-timezone.mjs +5 -0
  195. package/esm2020/timezone/public-api.mjs +7 -0
  196. package/esm2020/timezone/timezone-option.component.mjs +48 -0
  197. package/esm2020/timezone/timezone-option.directive.mjs +58 -0
  198. package/esm2020/timezone/timezone-select.component.mjs +40 -0
  199. package/esm2020/timezone/timezone.models.mjs +3 -0
  200. package/esm2020/timezone/timezone.module.mjs +75 -0
  201. package/esm2020/timezone/timezone.utils.mjs +72 -0
  202. package/esm2020/timezone/utc-offset.pipe.mjs +17 -0
  203. package/esm2020/toast/toast-container.component.mjs +5 -5
  204. package/esm2020/toast/toast.component.mjs +9 -9
  205. package/esm2020/toast/toast.module.mjs +12 -12
  206. package/esm2020/toast/toast.service.mjs +23 -14
  207. package/esm2020/toggle/toggle.component.mjs +13 -16
  208. package/esm2020/toggle/toggle.module.mjs +5 -5
  209. package/esm2020/tooltip/tooltip.component.mjs +14 -14
  210. package/esm2020/tooltip/tooltip.module.mjs +7 -8
  211. package/esm2020/tree/control/flat-tree-control.mjs +1 -1
  212. package/esm2020/tree/data-source/nested-data-source.mjs +1 -1
  213. package/esm2020/tree/node.mjs +4 -4
  214. package/esm2020/tree/outlet.mjs +4 -4
  215. package/esm2020/tree/padding.directive.mjs +4 -4
  216. package/esm2020/tree/toggle.mjs +10 -10
  217. package/esm2020/tree/tree-base.mjs +7 -7
  218. package/esm2020/tree/tree-option.component.mjs +8 -8
  219. package/esm2020/tree/tree-selection.component.mjs +5 -5
  220. package/esm2020/tree/tree.mjs +4 -4
  221. package/esm2020/tree/tree.module.mjs +5 -5
  222. package/esm2020/tree-select/tree-select.component.mjs +39 -53
  223. package/esm2020/tree-select/tree-select.module.mjs +11 -13
  224. package/fesm2015/ptsecurity-mosaic-autocomplete.mjs +17 -18
  225. package/fesm2015/ptsecurity-mosaic-autocomplete.mjs.map +1 -1
  226. package/fesm2015/ptsecurity-mosaic-button-toggle.mjs +12 -12
  227. package/fesm2015/ptsecurity-mosaic-button-toggle.mjs.map +1 -1
  228. package/fesm2015/ptsecurity-mosaic-button.mjs +18 -20
  229. package/fesm2015/ptsecurity-mosaic-button.mjs.map +1 -1
  230. package/fesm2015/ptsecurity-mosaic-card.mjs +14 -16
  231. package/fesm2015/ptsecurity-mosaic-card.mjs.map +1 -1
  232. package/fesm2015/ptsecurity-mosaic-checkbox.mjs +28 -44
  233. package/fesm2015/ptsecurity-mosaic-checkbox.mjs.map +1 -1
  234. package/fesm2015/ptsecurity-mosaic-core.mjs +341 -217
  235. package/fesm2015/ptsecurity-mosaic-core.mjs.map +1 -1
  236. package/fesm2015/ptsecurity-mosaic-datepicker.mjs +174 -201
  237. package/fesm2015/ptsecurity-mosaic-datepicker.mjs.map +1 -1
  238. package/fesm2015/ptsecurity-mosaic-design-tokens.mjs +153 -93
  239. package/fesm2015/ptsecurity-mosaic-design-tokens.mjs.map +1 -1
  240. package/fesm2015/ptsecurity-mosaic-divider.mjs +7 -7
  241. package/fesm2015/ptsecurity-mosaic-divider.mjs.map +1 -1
  242. package/fesm2015/ptsecurity-mosaic-dl.mjs +16 -18
  243. package/fesm2015/ptsecurity-mosaic-dl.mjs.map +1 -1
  244. package/fesm2015/ptsecurity-mosaic-dropdown.mjs +22 -24
  245. package/fesm2015/ptsecurity-mosaic-dropdown.mjs.map +1 -1
  246. package/fesm2015/ptsecurity-mosaic-form-field.mjs +216 -57
  247. package/fesm2015/ptsecurity-mosaic-form-field.mjs.map +1 -1
  248. package/fesm2015/ptsecurity-mosaic-icon.mjs +15 -18
  249. package/fesm2015/ptsecurity-mosaic-icon.mjs.map +1 -1
  250. package/fesm2015/ptsecurity-mosaic-input.mjs +45 -107
  251. package/fesm2015/ptsecurity-mosaic-input.mjs.map +1 -1
  252. package/fesm2015/ptsecurity-mosaic-link.mjs +8 -10
  253. package/fesm2015/ptsecurity-mosaic-link.mjs.map +1 -1
  254. package/fesm2015/ptsecurity-mosaic-list.mjs +24 -26
  255. package/fesm2015/ptsecurity-mosaic-list.mjs.map +1 -1
  256. package/fesm2015/ptsecurity-mosaic-loader-overlay.mjs +21 -23
  257. package/fesm2015/ptsecurity-mosaic-loader-overlay.mjs.map +1 -1
  258. package/fesm2015/ptsecurity-mosaic-modal.mjs +41 -44
  259. package/fesm2015/ptsecurity-mosaic-modal.mjs.map +1 -1
  260. package/fesm2015/ptsecurity-mosaic-navbar.mjs +58 -60
  261. package/fesm2015/ptsecurity-mosaic-navbar.mjs.map +1 -1
  262. package/fesm2015/ptsecurity-mosaic-popover.mjs +33 -25
  263. package/fesm2015/ptsecurity-mosaic-popover.mjs.map +1 -1
  264. package/fesm2015/ptsecurity-mosaic-progress-bar.mjs +11 -14
  265. package/fesm2015/ptsecurity-mosaic-progress-bar.mjs.map +1 -1
  266. package/fesm2015/ptsecurity-mosaic-progress-spinner.mjs +29 -17
  267. package/fesm2015/ptsecurity-mosaic-progress-spinner.mjs.map +1 -1
  268. package/fesm2015/ptsecurity-mosaic-radio.mjs +57 -57
  269. package/fesm2015/ptsecurity-mosaic-radio.mjs.map +1 -1
  270. package/fesm2015/ptsecurity-mosaic-select.mjs +52 -68
  271. package/fesm2015/ptsecurity-mosaic-select.mjs.map +1 -1
  272. package/fesm2015/ptsecurity-mosaic-sidebar.mjs +13 -13
  273. package/fesm2015/ptsecurity-mosaic-sidebar.mjs.map +1 -1
  274. package/fesm2015/ptsecurity-mosaic-sidepanel.mjs +69 -66
  275. package/fesm2015/ptsecurity-mosaic-sidepanel.mjs.map +1 -1
  276. package/fesm2015/ptsecurity-mosaic-splitter.mjs +41 -43
  277. package/fesm2015/ptsecurity-mosaic-splitter.mjs.map +1 -1
  278. package/fesm2015/ptsecurity-mosaic-table.mjs +9 -11
  279. package/fesm2015/ptsecurity-mosaic-table.mjs.map +1 -1
  280. package/fesm2015/ptsecurity-mosaic-tabs.mjs +137 -140
  281. package/fesm2015/ptsecurity-mosaic-tabs.mjs.map +1 -1
  282. package/fesm2015/ptsecurity-mosaic-tags.mjs +54 -61
  283. package/fesm2015/ptsecurity-mosaic-tags.mjs.map +1 -1
  284. package/fesm2015/ptsecurity-mosaic-textarea.mjs +28 -42
  285. package/fesm2015/ptsecurity-mosaic-textarea.mjs.map +1 -1
  286. package/fesm2015/ptsecurity-mosaic-timepicker.mjs +15 -34
  287. package/fesm2015/ptsecurity-mosaic-timepicker.mjs.map +1 -1
  288. package/fesm2015/ptsecurity-mosaic-timezone.mjs +308 -0
  289. package/fesm2015/ptsecurity-mosaic-timezone.mjs.map +1 -0
  290. package/fesm2015/ptsecurity-mosaic-toast.mjs +135 -125
  291. package/fesm2015/ptsecurity-mosaic-toast.mjs.map +1 -1
  292. package/fesm2015/ptsecurity-mosaic-toggle.mjs +16 -19
  293. package/fesm2015/ptsecurity-mosaic-toggle.mjs.map +1 -1
  294. package/fesm2015/ptsecurity-mosaic-tooltip.mjs +19 -20
  295. package/fesm2015/ptsecurity-mosaic-tooltip.mjs.map +1 -1
  296. package/fesm2015/ptsecurity-mosaic-tree-select.mjs +50 -66
  297. package/fesm2015/ptsecurity-mosaic-tree-select.mjs.map +1 -1
  298. package/fesm2015/ptsecurity-mosaic-tree.mjs +43 -43
  299. package/fesm2015/ptsecurity-mosaic-tree.mjs.map +1 -1
  300. package/fesm2020/ptsecurity-mosaic-autocomplete.mjs +17 -18
  301. package/fesm2020/ptsecurity-mosaic-autocomplete.mjs.map +1 -1
  302. package/fesm2020/ptsecurity-mosaic-button-toggle.mjs +12 -12
  303. package/fesm2020/ptsecurity-mosaic-button-toggle.mjs.map +1 -1
  304. package/fesm2020/ptsecurity-mosaic-button.mjs +18 -20
  305. package/fesm2020/ptsecurity-mosaic-button.mjs.map +1 -1
  306. package/fesm2020/ptsecurity-mosaic-card.mjs +14 -16
  307. package/fesm2020/ptsecurity-mosaic-card.mjs.map +1 -1
  308. package/fesm2020/ptsecurity-mosaic-checkbox.mjs +28 -44
  309. package/fesm2020/ptsecurity-mosaic-checkbox.mjs.map +1 -1
  310. package/fesm2020/ptsecurity-mosaic-core.mjs +338 -217
  311. package/fesm2020/ptsecurity-mosaic-core.mjs.map +1 -1
  312. package/fesm2020/ptsecurity-mosaic-datepicker.mjs +173 -200
  313. package/fesm2020/ptsecurity-mosaic-datepicker.mjs.map +1 -1
  314. package/fesm2020/ptsecurity-mosaic-design-tokens.mjs +153 -93
  315. package/fesm2020/ptsecurity-mosaic-design-tokens.mjs.map +1 -1
  316. package/fesm2020/ptsecurity-mosaic-divider.mjs +7 -7
  317. package/fesm2020/ptsecurity-mosaic-divider.mjs.map +1 -1
  318. package/fesm2020/ptsecurity-mosaic-dl.mjs +16 -18
  319. package/fesm2020/ptsecurity-mosaic-dl.mjs.map +1 -1
  320. package/fesm2020/ptsecurity-mosaic-dropdown.mjs +22 -24
  321. package/fesm2020/ptsecurity-mosaic-dropdown.mjs.map +1 -1
  322. package/fesm2020/ptsecurity-mosaic-form-field.mjs +214 -57
  323. package/fesm2020/ptsecurity-mosaic-form-field.mjs.map +1 -1
  324. package/fesm2020/ptsecurity-mosaic-icon.mjs +15 -18
  325. package/fesm2020/ptsecurity-mosaic-icon.mjs.map +1 -1
  326. package/fesm2020/ptsecurity-mosaic-input.mjs +45 -107
  327. package/fesm2020/ptsecurity-mosaic-input.mjs.map +1 -1
  328. package/fesm2020/ptsecurity-mosaic-link.mjs +8 -10
  329. package/fesm2020/ptsecurity-mosaic-link.mjs.map +1 -1
  330. package/fesm2020/ptsecurity-mosaic-list.mjs +24 -26
  331. package/fesm2020/ptsecurity-mosaic-list.mjs.map +1 -1
  332. package/fesm2020/ptsecurity-mosaic-loader-overlay.mjs +21 -23
  333. package/fesm2020/ptsecurity-mosaic-loader-overlay.mjs.map +1 -1
  334. package/fesm2020/ptsecurity-mosaic-modal.mjs +41 -44
  335. package/fesm2020/ptsecurity-mosaic-modal.mjs.map +1 -1
  336. package/fesm2020/ptsecurity-mosaic-navbar.mjs +58 -60
  337. package/fesm2020/ptsecurity-mosaic-navbar.mjs.map +1 -1
  338. package/fesm2020/ptsecurity-mosaic-popover.mjs +33 -25
  339. package/fesm2020/ptsecurity-mosaic-popover.mjs.map +1 -1
  340. package/fesm2020/ptsecurity-mosaic-progress-bar.mjs +11 -14
  341. package/fesm2020/ptsecurity-mosaic-progress-bar.mjs.map +1 -1
  342. package/fesm2020/ptsecurity-mosaic-progress-spinner.mjs +29 -17
  343. package/fesm2020/ptsecurity-mosaic-progress-spinner.mjs.map +1 -1
  344. package/fesm2020/ptsecurity-mosaic-radio.mjs +56 -57
  345. package/fesm2020/ptsecurity-mosaic-radio.mjs.map +1 -1
  346. package/fesm2020/ptsecurity-mosaic-select.mjs +50 -67
  347. package/fesm2020/ptsecurity-mosaic-select.mjs.map +1 -1
  348. package/fesm2020/ptsecurity-mosaic-sidebar.mjs +13 -13
  349. package/fesm2020/ptsecurity-mosaic-sidebar.mjs.map +1 -1
  350. package/fesm2020/ptsecurity-mosaic-sidepanel.mjs +69 -66
  351. package/fesm2020/ptsecurity-mosaic-sidepanel.mjs.map +1 -1
  352. package/fesm2020/ptsecurity-mosaic-splitter.mjs +41 -43
  353. package/fesm2020/ptsecurity-mosaic-splitter.mjs.map +1 -1
  354. package/fesm2020/ptsecurity-mosaic-table.mjs +9 -11
  355. package/fesm2020/ptsecurity-mosaic-table.mjs.map +1 -1
  356. package/fesm2020/ptsecurity-mosaic-tabs.mjs +66 -69
  357. package/fesm2020/ptsecurity-mosaic-tabs.mjs.map +1 -1
  358. package/fesm2020/ptsecurity-mosaic-tags.mjs +53 -61
  359. package/fesm2020/ptsecurity-mosaic-tags.mjs.map +1 -1
  360. package/fesm2020/ptsecurity-mosaic-textarea.mjs +26 -41
  361. package/fesm2020/ptsecurity-mosaic-textarea.mjs.map +1 -1
  362. package/fesm2020/ptsecurity-mosaic-timepicker.mjs +15 -34
  363. package/fesm2020/ptsecurity-mosaic-timepicker.mjs.map +1 -1
  364. package/fesm2020/ptsecurity-mosaic-timezone.mjs +306 -0
  365. package/fesm2020/ptsecurity-mosaic-timezone.mjs.map +1 -0
  366. package/fesm2020/ptsecurity-mosaic-toast.mjs +130 -120
  367. package/fesm2020/ptsecurity-mosaic-toast.mjs.map +1 -1
  368. package/fesm2020/ptsecurity-mosaic-toggle.mjs +16 -19
  369. package/fesm2020/ptsecurity-mosaic-toggle.mjs.map +1 -1
  370. package/fesm2020/ptsecurity-mosaic-tooltip.mjs +19 -20
  371. package/fesm2020/ptsecurity-mosaic-tooltip.mjs.map +1 -1
  372. package/fesm2020/ptsecurity-mosaic-tree-select.mjs +47 -64
  373. package/fesm2020/ptsecurity-mosaic-tree-select.mjs.map +1 -1
  374. package/fesm2020/ptsecurity-mosaic-tree.mjs +43 -43
  375. package/fesm2020/ptsecurity-mosaic-tree.mjs.map +1 -1
  376. package/form-field/cleaner.d.ts +1 -1
  377. package/form-field/form-field.d.ts +13 -7
  378. package/form-field/form-field.module.d.ts +4 -3
  379. package/form-field/hint.d.ts +3 -3
  380. package/form-field/password-hint.d.ts +2 -3
  381. package/form-field/prefix.d.ts +1 -1
  382. package/form-field/public-api.d.ts +1 -0
  383. package/form-field/stepper.d.ts +1 -1
  384. package/form-field/suffix.d.ts +1 -1
  385. package/form-field/validate.directive.d.ts +32 -0
  386. package/icon/icon.component.d.ts +4 -4
  387. package/input/input-number-validators.d.ts +2 -2
  388. package/input/input-number.d.ts +1 -1
  389. package/input/input-password.d.ts +9 -15
  390. package/input/input.d.ts +14 -14
  391. package/link/link.component.d.ts +1 -1
  392. package/list/list-selection.component.d.ts +2 -2
  393. package/list/list.component.d.ts +2 -2
  394. package/loader-overlay/loader-overlay.component.d.ts +4 -4
  395. package/modal/css-unit.pipe.d.ts +1 -1
  396. package/modal/modal.component.d.ts +1 -1
  397. package/modal/modal.directive.d.ts +4 -4
  398. package/navbar/navbar-item.component.d.ts +11 -11
  399. package/navbar/navbar.component.d.ts +3 -3
  400. package/navbar/vertical-navbar.component.d.ts +1 -1
  401. package/package.json +56 -48
  402. package/popover/popover-confirm.component.d.ts +2 -2
  403. package/popover/popover.component.d.ts +5 -5
  404. package/prebuilt-themes/dark-theme.css +1 -1
  405. package/prebuilt-themes/default-theme.css +1 -1
  406. package/prebuilt-visual/default-visual.css +1 -1
  407. package/progress-bar/progress-bar.component.d.ts +3 -3
  408. package/progress-spinner/progress-spinner.component.d.ts +8 -3
  409. package/radio/radio.component.d.ts +11 -17
  410. package/select/select-option.directive.d.ts +1 -1
  411. package/select/select.component.d.ts +16 -14
  412. package/sidebar/sidebar.component.d.ts +3 -3
  413. package/sidepanel/sidepanel-container.component.d.ts +1 -1
  414. package/sidepanel/sidepanel-directives.d.ts +5 -5
  415. package/splitter/splitter.component.d.ts +4 -4
  416. package/table/table.component.d.ts +1 -1
  417. package/tabs/paginated-tab-header.d.ts +1 -1
  418. package/tabs/tab-body.component.d.ts +2 -2
  419. package/tabs/tab-content.directive.d.ts +1 -1
  420. package/tabs/tab-group.component.d.ts +8 -8
  421. package/tabs/tab-header.component.d.ts +1 -1
  422. package/tabs/tab-label-wrapper.directive.d.ts +1 -1
  423. package/tabs/tab-label.directive.d.ts +1 -1
  424. package/tabs/tab-nav-bar/tab-nav-bar.d.ts +2 -2
  425. package/tabs/tab.component.d.ts +1 -1
  426. package/tags/tag-input.d.ts +1 -1
  427. package/tags/tag-list.component.d.ts +14 -10
  428. package/tags/tag.component.d.ts +8 -6
  429. package/textarea/textarea.component.d.ts +14 -13
  430. package/timepicker/timepicker.directive.d.ts +5 -10
  431. package/timezone/README.md +0 -0
  432. package/timezone/cities-by-filter.pipe.d.ts +7 -0
  433. package/timezone/index.d.ts +1 -0
  434. package/timezone/public-api.d.ts +6 -0
  435. package/timezone/timezone-option.component.d.ts +15 -0
  436. package/timezone/timezone-option.directive.d.ts +20 -0
  437. package/timezone/timezone-select.component.d.ts +14 -0
  438. package/timezone/timezone.models.d.ts +16 -0
  439. package/timezone/timezone.module.d.ts +19 -0
  440. package/timezone/timezone.utils.d.ts +18 -0
  441. package/timezone/utc-offset.pipe.d.ts +7 -0
  442. package/toast/toast-container.component.d.ts +1 -1
  443. package/toast/toast.component.d.ts +1 -1
  444. package/toast/toast.service.d.ts +6 -4
  445. package/toggle/toggle.component.d.ts +5 -5
  446. package/tooltip/tooltip.component.d.ts +5 -6
  447. package/tree/control/flat-tree-control.d.ts +8 -8
  448. package/tree/node.d.ts +1 -1
  449. package/tree/outlet.d.ts +1 -1
  450. package/tree/padding.directive.d.ts +1 -1
  451. package/tree/toggle.d.ts +3 -3
  452. package/tree/tree-base.d.ts +2 -2
  453. package/tree/tree-option.component.d.ts +1 -1
  454. package/tree/tree-selection.component.d.ts +1 -1
  455. package/tree/tree.d.ts +1 -1
  456. package/tree-select/tree-select.component.d.ts +14 -12
  457. package/autocomplete/package.json +0 -10
  458. package/autocomplete/ptsecurity-mosaic-autocomplete.d.ts +0 -5
  459. package/button/package.json +0 -10
  460. package/button/ptsecurity-mosaic-button.d.ts +0 -5
  461. package/button-toggle/package.json +0 -10
  462. package/button-toggle/ptsecurity-mosaic-button-toggle.d.ts +0 -5
  463. package/card/package.json +0 -10
  464. package/card/ptsecurity-mosaic-card.d.ts +0 -5
  465. package/checkbox/package.json +0 -10
  466. package/checkbox/ptsecurity-mosaic-checkbox.d.ts +0 -5
  467. package/core/package.json +0 -10
  468. package/core/ptsecurity-mosaic-core.d.ts +0 -5
  469. package/datepicker/package.json +0 -10
  470. package/datepicker/ptsecurity-mosaic-datepicker.d.ts +0 -5
  471. package/design-tokens/package.json +0 -10
  472. package/design-tokens/ptsecurity-mosaic-design-tokens.d.ts +0 -5
  473. package/divider/package.json +0 -10
  474. package/divider/ptsecurity-mosaic-divider.d.ts +0 -5
  475. package/dl/package.json +0 -10
  476. package/dl/ptsecurity-mosaic-dl.d.ts +0 -5
  477. package/dropdown/package.json +0 -10
  478. package/dropdown/ptsecurity-mosaic-dropdown.d.ts +0 -5
  479. package/form-field/package.json +0 -10
  480. package/form-field/ptsecurity-mosaic-form-field.d.ts +0 -5
  481. package/icon/package.json +0 -10
  482. package/icon/ptsecurity-mosaic-icon.d.ts +0 -5
  483. package/input/package.json +0 -10
  484. package/input/ptsecurity-mosaic-input.d.ts +0 -5
  485. package/link/package.json +0 -10
  486. package/link/ptsecurity-mosaic-link.d.ts +0 -5
  487. package/list/package.json +0 -10
  488. package/list/ptsecurity-mosaic-list.d.ts +0 -5
  489. package/loader-overlay/package.json +0 -10
  490. package/loader-overlay/ptsecurity-mosaic-loader-overlay.d.ts +0 -5
  491. package/modal/package.json +0 -10
  492. package/modal/ptsecurity-mosaic-modal.d.ts +0 -5
  493. package/navbar/package.json +0 -10
  494. package/navbar/ptsecurity-mosaic-navbar.d.ts +0 -5
  495. package/popover/package.json +0 -10
  496. package/popover/ptsecurity-mosaic-popover.d.ts +0 -5
  497. package/progress-bar/package.json +0 -10
  498. package/progress-bar/ptsecurity-mosaic-progress-bar.d.ts +0 -5
  499. package/progress-spinner/package.json +0 -10
  500. package/progress-spinner/ptsecurity-mosaic-progress-spinner.d.ts +0 -5
  501. package/ptsecurity-mosaic.d.ts +0 -5
  502. package/radio/package.json +0 -10
  503. package/radio/ptsecurity-mosaic-radio.d.ts +0 -5
  504. package/select/package.json +0 -10
  505. package/select/ptsecurity-mosaic-select.d.ts +0 -5
  506. package/sidebar/package.json +0 -10
  507. package/sidebar/ptsecurity-mosaic-sidebar.d.ts +0 -5
  508. package/sidepanel/package.json +0 -10
  509. package/sidepanel/ptsecurity-mosaic-sidepanel.d.ts +0 -5
  510. package/splitter/package.json +0 -10
  511. package/splitter/ptsecurity-mosaic-splitter.d.ts +0 -5
  512. package/table/package.json +0 -10
  513. package/table/ptsecurity-mosaic-table.d.ts +0 -5
  514. package/tabs/package.json +0 -10
  515. package/tabs/ptsecurity-mosaic-tabs.d.ts +0 -5
  516. package/tags/package.json +0 -10
  517. package/tags/ptsecurity-mosaic-tags.d.ts +0 -5
  518. package/textarea/package.json +0 -10
  519. package/textarea/ptsecurity-mosaic-textarea.d.ts +0 -5
  520. package/timepicker/package.json +0 -10
  521. package/timepicker/ptsecurity-mosaic-timepicker.d.ts +0 -5
  522. package/toast/package.json +0 -10
  523. package/toast/ptsecurity-mosaic-toast.d.ts +0 -5
  524. package/toggle/package.json +0 -10
  525. package/toggle/ptsecurity-mosaic-toggle.d.ts +0 -5
  526. package/tooltip/package.json +0 -10
  527. package/tooltip/ptsecurity-mosaic-tooltip.d.ts +0 -5
  528. package/tree/package.json +0 -10
  529. package/tree/ptsecurity-mosaic-tree.d.ts +0 -5
  530. package/tree-select/package.json +0 -10
  531. package/tree-select/ptsecurity-mosaic-tree-select.d.ts +0 -5
@@ -8,5 +8,5 @@ export declare class McAutocompleteOrigin {
8
8
  elementRef: ElementRef<HTMLElement>;
9
9
  constructor(elementRef: ElementRef<HTMLElement>);
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<McAutocompleteOrigin, never>;
11
- static ɵdir: i0.ɵɵDirectiveDeclaration<McAutocompleteOrigin, "[mcAutocompleteOrigin]", ["mcAutocompleteOrigin"], {}, {}, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<McAutocompleteOrigin, "[mcAutocompleteOrigin]", ["mcAutocompleteOrigin"], {}, {}, never, never, false>;
12
12
  }
@@ -163,5 +163,5 @@ export declare class McAutocompleteTrigger implements ControlValueAccessor, OnDe
163
163
  private resetActiveItem;
164
164
  private canOpen;
165
165
  static ɵfac: i0.ɵɵFactoryDeclaration<McAutocompleteTrigger, [null, null, null, null, null, null, { optional: true; }, { optional: true; host: true; }, { optional: true; }, null]>;
166
- static ɵdir: i0.ɵɵDirectiveDeclaration<McAutocompleteTrigger, "input[mcAutocomplete], textarea[mcAutocomplete]", ["mcAutocompleteTrigger"], { "autocomplete": "mcAutocomplete"; "connectedTo": "mcAutocompleteConnectedTo"; "autocompleteAttribute": "autocomplete"; "autocompleteDisabled": "mcAutocompleteDisabled"; }, {}, never>;
166
+ static ɵdir: i0.ɵɵDirectiveDeclaration<McAutocompleteTrigger, "input[mcAutocomplete], textarea[mcAutocomplete]", ["mcAutocompleteTrigger"], { "autocomplete": "mcAutocomplete"; "connectedTo": "mcAutocompleteConnectedTo"; "autocompleteAttribute": "autocomplete"; "autocompleteDisabled": "mcAutocompleteDisabled"; }, {}, never, never, false>;
167
167
  }
@@ -69,5 +69,5 @@ export declare class McAutocomplete implements AfterContentInit {
69
69
  emitSelectEvent(option: McOption): void;
70
70
  onKeydown(event: KeyboardEvent): any;
71
71
  static ɵfac: i0.ɵɵFactoryDeclaration<McAutocomplete, never>;
72
- static ɵcmp: i0.ɵɵComponentDeclaration<McAutocomplete, "mc-autocomplete", ["mcAutocomplete"], { "displayWith": "displayWith"; "panelWidth": "panelWidth"; "classList": "class"; "autoActiveFirstOption": "autoActiveFirstOption"; "openOnFocus": "openOnFocus"; }, { "optionSelected": "optionSelected"; "opened": "opened"; "closed": "closed"; }, ["options", "optionGroups"], ["*"]>;
72
+ static ɵcmp: i0.ɵɵComponentDeclaration<McAutocomplete, "mc-autocomplete", ["mcAutocomplete"], { "displayWith": "displayWith"; "panelWidth": "panelWidth"; "classList": "class"; "autoActiveFirstOption": "autoActiveFirstOption"; "openOnFocus": "openOnFocus"; }, { "optionSelected": "optionSelected"; "opened": "opened"; "closed": "closed"; }, ["options", "optionGroups"], ["*"], false>;
73
73
  }
@@ -12,11 +12,11 @@ export declare class McButtonCssStyler implements AfterContentInit {
12
12
  ngAfterContentInit(): void;
13
13
  updateClassModifierForIcons(): void;
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<McButtonCssStyler, never>;
15
- static ɵdir: i0.ɵɵDirectiveDeclaration<McButtonCssStyler, "[mc-button]", never, {}, {}, ["icons"]>;
15
+ static ɵdir: i0.ɵɵDirectiveDeclaration<McButtonCssStyler, "[mc-button]", never, {}, {}, ["icons"], never, false>;
16
16
  }
17
17
  export declare class McButtonBase {
18
- _elementRef: ElementRef;
19
- constructor(_elementRef: ElementRef);
18
+ elementRef: ElementRef;
19
+ constructor(elementRef: ElementRef);
20
20
  }
21
21
  export declare const McButtonMixinBase: HasTabIndexCtor & CanColorCtor & typeof McButtonBase;
22
22
  export declare class McButton extends McButtonMixinBase implements OnDestroy, CanDisable, CanColor {
@@ -36,5 +36,5 @@ export declare class McButton extends McButtonMixinBase implements OnDestroy, Ca
36
36
  private runFocusMonitor;
37
37
  private stopFocusMonitor;
38
38
  static ɵfac: i0.ɵɵFactoryDeclaration<McButton, never>;
39
- static ɵcmp: i0.ɵɵComponentDeclaration<McButton, "[mc-button]", never, { "color": "color"; "tabIndex": "tabIndex"; "disabled": "disabled"; }, {}, never, ["*"]>;
39
+ static ɵcmp: i0.ɵɵComponentDeclaration<McButton, "[mc-button]", never, { "color": "color"; "tabIndex": "tabIndex"; "disabled": "disabled"; }, {}, never, ["*"], false>;
40
40
  }
@@ -99,7 +99,7 @@ export declare class McButtonToggleGroup implements ControlValueAccessor, OnInit
99
99
  /** Selects a value if there's a toggle that corresponds to it. */
100
100
  private selectValue;
101
101
  static ɵfac: i0.ɵɵFactoryDeclaration<McButtonToggleGroup, never>;
102
- static ɵdir: i0.ɵɵDirectiveDeclaration<McButtonToggleGroup, "mc-button-toggle-group", ["mcButtonToggleGroup"], { "vertical": "vertical"; "value": "value"; "multiple": "multiple"; "disabled": "disabled"; }, { "valueChange": "valueChange"; "change": "change"; }, ["buttonToggles"]>;
102
+ static ɵdir: i0.ɵɵDirectiveDeclaration<McButtonToggleGroup, "mc-button-toggle-group", ["mcButtonToggleGroup"], { "vertical": "vertical"; "value": "value"; "multiple": "multiple"; "disabled": "disabled"; }, { "valueChange": "valueChange"; "change": "change"; }, ["buttonToggles"], never, false>;
103
103
  }
104
104
  /** Single button inside of a toggle group. */
105
105
  export declare class McButtonToggle implements OnInit, OnDestroy {
@@ -137,5 +137,5 @@ export declare class McButtonToggle implements OnInit, OnDestroy {
137
137
  */
138
138
  markForCheck(): void;
139
139
  static ɵfac: i0.ɵɵFactoryDeclaration<McButtonToggle, [{ optional: true; }, null, null, null]>;
140
- static ɵcmp: i0.ɵɵComponentDeclaration<McButtonToggle, "mc-button-toggle", ["mcButtonToggle"], { "checked": "checked"; "value": "value"; "tabIndex": "tabIndex"; "disabled": "disabled"; }, { "change": "change"; }, never, ["*"]>;
140
+ static ɵcmp: i0.ɵɵComponentDeclaration<McButtonToggle, "mc-button-toggle", ["mcButtonToggle"], { "checked": "checked"; "value": "value"; "tabIndex": "tabIndex"; "disabled": "disabled"; }, { "change": "change"; }, never, ["*"], false>;
141
141
  }
@@ -3,8 +3,8 @@ import { ElementRef, OnDestroy, EventEmitter } from '@angular/core';
3
3
  import { CanColorCtor } from '@ptsecurity/mosaic/core';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class McCardBase {
6
- _elementRef: ElementRef;
7
- constructor(_elementRef: ElementRef);
6
+ elementRef: ElementRef;
7
+ constructor(elementRef: ElementRef);
8
8
  }
9
9
  export declare const McCardBaseMixin: CanColorCtor & typeof McCardBase;
10
10
  export declare class McCard extends McCardBaseMixin implements OnDestroy {
@@ -22,5 +22,5 @@ export declare class McCard extends McCardBaseMixin implements OnDestroy {
22
22
  onKeyDown($event: KeyboardEvent): void;
23
23
  private get hostElement();
24
24
  static ɵfac: i0.ɵɵFactoryDeclaration<McCard, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<McCard, "mc-card", never, { "color": "color"; "readonly": "readonly"; "selected": "selected"; "tabIndex": "tabIndex"; }, { "selectedChange": "selectedChange"; }, never, ["*"]>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<McCard, "mc-card", never, { "color": "color"; "readonly": "readonly"; "selected": "selected"; "tabIndex": "tabIndex"; }, { "selectedChange": "selectedChange"; }, never, ["*"], false>;
26
26
  }
@@ -9,5 +9,5 @@ export declare const MC_CHECKBOX_REQUIRED_VALIDATOR: Provider;
9
9
  */
10
10
  export declare class McCheckboxRequiredValidator extends CheckboxRequiredValidator {
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<McCheckboxRequiredValidator, never>;
12
- static ɵdir: i0.ɵɵDirectiveDeclaration<McCheckboxRequiredValidator, "mc-checkbox[required][formControlName], mc-checkbox[required][formControl], mc-checkbox[required][ngModel]", never, {}, {}, never>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<McCheckboxRequiredValidator, "mc-checkbox[required][formControlName], mc-checkbox[required][formControl], mc-checkbox[required][ngModel]", never, {}, {}, never, never, false>;
13
13
  }
@@ -33,8 +33,8 @@ export declare class McCheckboxChange {
33
33
  }
34
34
  /** @docs-private */
35
35
  export declare class McCheckboxBase {
36
- _elementRef: ElementRef;
37
- constructor(_elementRef: ElementRef);
36
+ elementRef: ElementRef;
37
+ constructor(elementRef: ElementRef);
38
38
  }
39
39
  export declare const McCheckboxMixinBase: HasTabIndexCtor & CanColorCtor & CanDisableCtor & typeof McCheckboxBase;
40
40
  /**
@@ -45,18 +45,9 @@ export declare const McCheckboxMixinBase: HasTabIndexCtor & CanColorCtor & CanDi
45
45
  * have the checkbox be accessible, you may supply an [aria-label] input.
46
46
  */
47
47
  export declare class McCheckbox extends McCheckboxMixinBase implements ControlValueAccessor, AfterViewInit, OnDestroy, CanColor, CanDisable, HasTabIndex {
48
- private _changeDetectorRef;
49
- private _focusMonitor;
50
- private _clickAction;
51
- /**
52
- * Attached to the aria-label attribute of the host element. In most cases, arial-labelledby will
53
- * take precedence so this may be omitted.
54
- */
55
- ariaLabel: string;
56
- /**
57
- * Users can specify the `aria-labelledby` attribute which will be forwarded to the input element
58
- */
59
- ariaLabelledby: string | null;
48
+ private changeDetectorRef;
49
+ private focusMonitor;
50
+ private clickAction;
60
51
  /** A unique id for the checkbox input. If none is supplied, it will be auto-generated. */
61
52
  id: string;
62
53
  /** Whether the label should appear after or before the checkbox. Defaults to 'after' */
@@ -102,7 +93,7 @@ export declare class McCheckbox extends McCheckboxMixinBase implements ControlVa
102
93
  private uniqueId;
103
94
  private currentAnimationClass;
104
95
  private currentCheckState;
105
- constructor(elementRef: ElementRef, _changeDetectorRef: ChangeDetectorRef, _focusMonitor: FocusMonitor, _clickAction: McCheckboxClickAction);
96
+ constructor(elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef, focusMonitor: FocusMonitor, clickAction: McCheckboxClickAction);
106
97
  /**
107
98
  * Called when the checkbox is blurred. Needed to properly implement ControlValueAccessor.
108
99
  * @docs-private
@@ -136,5 +127,5 @@ export declare class McCheckbox extends McCheckboxMixinBase implements ControlVa
136
127
  /** Function is called whenever the focus changes for the input element. */
137
128
  private onInputFocusChange;
138
129
  static ɵfac: i0.ɵɵFactoryDeclaration<McCheckbox, [null, null, null, { optional: true; }]>;
139
- static ɵcmp: i0.ɵɵComponentDeclaration<McCheckbox, "mc-checkbox", ["mcCheckbox"], { "color": "color"; "tabIndex": "tabIndex"; "ariaLabel": "aria-label"; "ariaLabelledby": "aria-labelledby"; "id": "id"; "labelPosition": "labelPosition"; "name": "name"; "value": "value"; "required": "required"; "checked": "checked"; "disabled": "disabled"; "indeterminate": "indeterminate"; }, { "change": "change"; "indeterminateChange": "indeterminateChange"; }, never, ["*"]>;
130
+ static ɵcmp: i0.ɵɵComponentDeclaration<McCheckbox, "mc-checkbox", ["mcCheckbox"], { "color": "color"; "tabIndex": "tabIndex"; "id": "id"; "labelPosition": "labelPosition"; "name": "name"; "value": "value"; "required": "required"; "checked": "checked"; "disabled": "disabled"; "indeterminate": "indeterminate"; }, { "change": "change"; "indeterminateChange": "indeterminateChange"; }, never, ["*", "mc-hint"], false>;
140
131
  }
@@ -6,12 +6,15 @@ export interface CanColor {
6
6
  /** @docs-private */
7
7
  export declare type CanColorCtor = Constructor<CanColor> & AbstractConstructor<CanColor>;
8
8
  export interface HasElementRef {
9
- _elementRef: ElementRef;
9
+ elementRef: ElementRef;
10
10
  }
11
11
  export declare enum ThemePalette {
12
12
  Primary = "primary",
13
13
  Second = "second",
14
14
  Error = "error",
15
+ Info = "info",
16
+ Warning = "warning",
17
+ Success = "success",
15
18
  Default = "second",
16
19
  Empty = ""
17
20
  }
@@ -1,13 +1,15 @@
1
1
  import { FormGroupDirective, NgControl, NgForm } from '@angular/forms';
2
2
  import { Subject } from 'rxjs';
3
3
  import { ErrorStateMatcher } from '../error/error-options';
4
- import { Constructor } from './constructor';
4
+ import { AbstractConstructor, Constructor } from './constructor';
5
5
  /** @docs-private */
6
6
  export interface CanUpdateErrorState {
7
- readonly stateChanges: Subject<void>;
7
+ /** Whether the component is in an error state. */
8
8
  errorState: boolean;
9
+ /** An object used to control the error state of the component. */
9
10
  errorStateMatcher: ErrorStateMatcher;
10
- updateErrorState(): any;
11
+ /** Updates the error state based on the provided error state matcher. */
12
+ updateErrorState(): void;
11
13
  }
12
14
  /** @docs-private */
13
15
  export declare type CanUpdateErrorStateCtor = Constructor<CanUpdateErrorState>;
@@ -17,9 +19,10 @@ export interface HasErrorState {
17
19
  parentForm: NgForm;
18
20
  defaultErrorStateMatcher: ErrorStateMatcher;
19
21
  ngControl: NgControl;
22
+ stateChanges: Subject<void>;
20
23
  }
21
24
  /**
22
25
  * Mixin to augment a directive with updateErrorState method.
23
26
  * For component with `errorState` and need to update `errorState`.
24
27
  */
25
- export declare function mixinErrorState<T extends Constructor<HasErrorState>>(base: T): CanUpdateErrorStateCtor & T;
28
+ export declare function mixinErrorState<T extends AbstractConstructor<HasErrorState>>(base: T): CanUpdateErrorStateCtor & T;
@@ -1,14 +1,14 @@
1
- import { FormGroupDirective, NgForm, FormControl } from '@angular/forms';
1
+ import { FormGroupDirective, NgForm, UntypedFormControl } from '@angular/forms';
2
2
  import * as i0 from "@angular/core";
3
3
  /** Error state matcher that matches when a control is invalid and dirty. */
4
4
  export declare class ShowOnDirtyErrorStateMatcher implements ErrorStateMatcher {
5
- isErrorState(control: FormControl | null, form: FormGroupDirective | NgForm | null): boolean;
5
+ isErrorState(control: UntypedFormControl | null, form: FormGroupDirective | NgForm | null): boolean;
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<ShowOnDirtyErrorStateMatcher, never>;
7
7
  static ɵprov: i0.ɵɵInjectableDeclaration<ShowOnDirtyErrorStateMatcher>;
8
8
  }
9
9
  /** Provider that defines how form controls behave with regards to displaying error messages. */
10
10
  export declare class ErrorStateMatcher {
11
- isErrorState(control: FormControl | null, form: FormGroupDirective | NgForm | null): boolean;
11
+ isErrorState(control: UntypedFormControl | null, form: FormGroupDirective | NgForm | null): boolean;
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<ErrorStateMatcher, never>;
13
13
  static ɵprov: i0.ɵɵInjectableDeclaration<ErrorStateMatcher>;
14
14
  }
@@ -0,0 +1,95 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { DateTime } from 'luxon';
3
+ import { DateFormatter, DateTimeOptions } from './formatter';
4
+ import * as i0 from "@angular/core";
5
+ export declare class AbsoluteDateFormatterPipe implements PipeTransform {
6
+ private formatter;
7
+ constructor(formatter: DateFormatter<DateTime>);
8
+ transform(value: any, currYear?: boolean): string;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<AbsoluteDateFormatterPipe, never>;
10
+ static ɵpipe: i0.ɵɵPipeDeclaration<AbsoluteDateFormatterPipe, "absoluteLongDate", false>;
11
+ }
12
+ export declare class AbsoluteDateTimeFormatterPipe implements PipeTransform {
13
+ private formatter;
14
+ constructor(formatter: DateFormatter<DateTime>);
15
+ transform(value: any, options?: DateTimeOptions): string;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<AbsoluteDateTimeFormatterPipe, never>;
17
+ static ɵpipe: i0.ɵɵPipeDeclaration<AbsoluteDateTimeFormatterPipe, "absoluteLongDateTime", false>;
18
+ }
19
+ export declare class AbsoluteDateShortFormatterPipe implements PipeTransform {
20
+ private formatter;
21
+ constructor(formatter: DateFormatter<DateTime>);
22
+ transform(value: any, currYear?: boolean): string;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<AbsoluteDateShortFormatterPipe, never>;
24
+ static ɵpipe: i0.ɵɵPipeDeclaration<AbsoluteDateShortFormatterPipe, "absoluteShortDate", false>;
25
+ }
26
+ export declare class AbsoluteShortDateTimeFormatterPipe implements PipeTransform {
27
+ private formatter;
28
+ constructor(formatter: DateFormatter<DateTime>);
29
+ transform(value: any, options?: DateTimeOptions): string;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<AbsoluteShortDateTimeFormatterPipe, never>;
31
+ static ɵpipe: i0.ɵɵPipeDeclaration<AbsoluteShortDateTimeFormatterPipe, "absoluteShortDateTime", false>;
32
+ }
33
+ export declare class RelativeDateFormatterPipe implements PipeTransform {
34
+ private formatter;
35
+ constructor(formatter: DateFormatter<DateTime>);
36
+ transform(value: any): string;
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<RelativeDateFormatterPipe, never>;
38
+ static ɵpipe: i0.ɵɵPipeDeclaration<RelativeDateFormatterPipe, "relativeLongDate", false>;
39
+ }
40
+ export declare class RelativeDateTimeFormatterPipe implements PipeTransform {
41
+ private formatter;
42
+ constructor(formatter: DateFormatter<DateTime>);
43
+ transform(value: any, options?: DateTimeOptions): string;
44
+ static ɵfac: i0.ɵɵFactoryDeclaration<RelativeDateTimeFormatterPipe, never>;
45
+ static ɵpipe: i0.ɵɵPipeDeclaration<RelativeDateTimeFormatterPipe, "relativeLongDateTime", false>;
46
+ }
47
+ export declare class RelativeShortDateFormatterPipe implements PipeTransform {
48
+ private formatter;
49
+ constructor(formatter: DateFormatter<DateTime>);
50
+ transform(value: any): string;
51
+ static ɵfac: i0.ɵɵFactoryDeclaration<RelativeShortDateFormatterPipe, never>;
52
+ static ɵpipe: i0.ɵɵPipeDeclaration<RelativeShortDateFormatterPipe, "relativeShortDate", false>;
53
+ }
54
+ export declare class RelativeShortDateTimeFormatterPipe implements PipeTransform {
55
+ private formatter;
56
+ constructor(formatter: DateFormatter<DateTime>);
57
+ transform(value: any, options?: DateTimeOptions): string;
58
+ static ɵfac: i0.ɵɵFactoryDeclaration<RelativeShortDateTimeFormatterPipe, never>;
59
+ static ɵpipe: i0.ɵɵPipeDeclaration<RelativeShortDateTimeFormatterPipe, "relativeShortDateTime", false>;
60
+ }
61
+ export declare class RangeDateFormatterPipe implements PipeTransform {
62
+ private formatter;
63
+ constructor(formatter: DateFormatter<DateTime>);
64
+ transform([value1, value2]: any): string;
65
+ static ɵfac: i0.ɵɵFactoryDeclaration<RangeDateFormatterPipe, never>;
66
+ static ɵpipe: i0.ɵɵPipeDeclaration<RangeDateFormatterPipe, "rangeLongDate", false>;
67
+ }
68
+ export declare class RangeShortDateFormatterPipe implements PipeTransform {
69
+ private formatter;
70
+ constructor(formatter: DateFormatter<DateTime>);
71
+ transform([value1, value2]: any): string;
72
+ static ɵfac: i0.ɵɵFactoryDeclaration<RangeShortDateFormatterPipe, never>;
73
+ static ɵpipe: i0.ɵɵPipeDeclaration<RangeShortDateFormatterPipe, "rangeShortDate", false>;
74
+ }
75
+ export declare class RangeDateTimeFormatterPipe implements PipeTransform {
76
+ private formatter;
77
+ constructor(formatter: DateFormatter<DateTime>);
78
+ transform([value1, value2]: any, options?: DateTimeOptions): string;
79
+ static ɵfac: i0.ɵɵFactoryDeclaration<RangeDateTimeFormatterPipe, never>;
80
+ static ɵpipe: i0.ɵɵPipeDeclaration<RangeDateTimeFormatterPipe, "rangeLongDateTime", false>;
81
+ }
82
+ export declare class RangeMiddleDateTimeFormatterPipe implements PipeTransform {
83
+ private formatter;
84
+ constructor(formatter: DateFormatter<DateTime>);
85
+ transform([value1, value2]: any, options?: DateTimeOptions): string;
86
+ static ɵfac: i0.ɵɵFactoryDeclaration<RangeMiddleDateTimeFormatterPipe, never>;
87
+ static ɵpipe: i0.ɵɵPipeDeclaration<RangeMiddleDateTimeFormatterPipe, "rangeMiddleDateTime", false>;
88
+ }
89
+ export declare class RangeShortDateTimeFormatterPipe implements PipeTransform {
90
+ private formatter;
91
+ constructor(formatter: DateFormatter<DateTime>);
92
+ transform([value1, value2]: any, options?: DateTimeOptions): string;
93
+ static ɵfac: i0.ɵɵFactoryDeclaration<RangeShortDateTimeFormatterPipe, never>;
94
+ static ɵpipe: i0.ɵɵPipeDeclaration<RangeShortDateTimeFormatterPipe, "rangeShortDateTime", false>;
95
+ }
@@ -1,9 +1,11 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./number/formatter";
3
+ import * as i2 from "./date/formatter.pipe";
3
4
  export declare class McFormattersModule {
4
5
  static ɵfac: i0.ɵɵFactoryDeclaration<McFormattersModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<McFormattersModule, [typeof i1.McDecimalPipe], never, [typeof i1.McDecimalPipe]>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<McFormattersModule, [typeof i1.McDecimalPipe, typeof i2.AbsoluteDateFormatterPipe, typeof i2.AbsoluteDateTimeFormatterPipe, typeof i2.AbsoluteDateShortFormatterPipe, typeof i2.AbsoluteShortDateTimeFormatterPipe, typeof i2.RelativeDateFormatterPipe, typeof i2.RelativeDateTimeFormatterPipe, typeof i2.RelativeShortDateFormatterPipe, typeof i2.RelativeShortDateTimeFormatterPipe, typeof i2.RangeDateFormatterPipe, typeof i2.RangeShortDateFormatterPipe, typeof i2.RangeDateTimeFormatterPipe, typeof i2.RangeShortDateTimeFormatterPipe, typeof i2.RangeMiddleDateTimeFormatterPipe], never, [typeof i1.McDecimalPipe, typeof i2.AbsoluteDateFormatterPipe, typeof i2.AbsoluteDateTimeFormatterPipe, typeof i2.AbsoluteDateShortFormatterPipe, typeof i2.AbsoluteShortDateTimeFormatterPipe, typeof i2.RelativeDateFormatterPipe, typeof i2.RelativeDateTimeFormatterPipe, typeof i2.RelativeShortDateFormatterPipe, typeof i2.RelativeShortDateTimeFormatterPipe, typeof i2.RangeDateFormatterPipe, typeof i2.RangeShortDateFormatterPipe, typeof i2.RangeDateTimeFormatterPipe, typeof i2.RangeShortDateTimeFormatterPipe, typeof i2.RangeMiddleDateTimeFormatterPipe]>;
6
7
  static ɵinj: i0.ɵɵInjectorDeclaration<McFormattersModule>;
7
8
  }
8
9
  export * from './number/formatter';
9
10
  export * from './date/formatter';
11
+ export * from './date/formatter.pipe';
@@ -22,6 +22,6 @@ export declare class McDecimalPipe implements PipeTransform {
22
22
  */
23
23
  transform(value: any, digitsInfo?: string, locale?: string): string | null;
24
24
  static ɵfac: i0.ɵɵFactoryDeclaration<McDecimalPipe, [{ optional: true; }]>;
25
- static ɵpipe: i0.ɵɵPipeDeclaration<McDecimalPipe, "mcNumber">;
25
+ static ɵpipe: i0.ɵɵPipeDeclaration<McDecimalPipe, "mcNumber", false>;
26
26
  static ɵprov: i0.ɵɵInjectableDeclaration<McDecimalPipe>;
27
27
  }
@@ -11,12 +11,12 @@ export declare class McFormElement implements AfterContentInit {
11
11
  constructor(element: ElementRef<HTMLElement>);
12
12
  ngAfterContentInit(): void;
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<McFormElement, never>;
14
- static ɵdir: i0.ɵɵDirectiveDeclaration<McFormElement, ".mc-form__row, .mc-form__fieldset, .mc-form__legend", ["mcFormElement"], {}, {}, ["elements"]>;
14
+ static ɵdir: i0.ɵɵDirectiveDeclaration<McFormElement, ".mc-form__row, .mc-form__fieldset, .mc-form__legend", ["mcFormElement"], {}, {}, ["elements"], never, false>;
15
15
  }
16
16
  export declare class McForm implements AfterContentInit {
17
17
  elements: QueryList<McFormElement>;
18
18
  ngAfterContentInit(): void;
19
19
  handleElements(elements: QueryList<McFormElement>): void;
20
20
  static ɵfac: i0.ɵɵFactoryDeclaration<McForm, never>;
21
- static ɵdir: i0.ɵɵDirectiveDeclaration<McForm, ".mc-form-vertical, .mc-form-horizontal", ["mcForm"], {}, {}, ["elements"]>;
21
+ static ɵdir: i0.ɵɵDirectiveDeclaration<McForm, ".mc-form-vertical, .mc-form-horizontal", ["mcForm"], {}, {}, ["elements"], never, false>;
22
22
  }
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
3
3
  export declare class McHighlightPipe implements PipeTransform {
4
4
  transform(value: any, args: any): any;
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<McHighlightPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<McHighlightPipe, "mcHighlight">;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<McHighlightPipe, "mcHighlight", false>;
7
7
  }
@@ -7,7 +7,7 @@ import * as i0 from "@angular/core";
7
7
  */
8
8
  export declare class McLine {
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<McLine, never>;
10
- static ɵdir: i0.ɵɵDirectiveDeclaration<McLine, "[mc-line], [mcLine]", never, {}, {}, never>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<McLine, "[mc-line], [mcLine]", never, {}, {}, never, never, false>;
11
11
  }
12
12
  /**
13
13
  * Helper that takes a query list of lines and sets the correct class on the host.
@@ -1,6 +1,6 @@
1
1
  import { FocusMonitor, FocusOrigin } from '@angular/cdk/a11y';
2
2
  import { AfterViewInit, ElementRef, EventEmitter, InjectionToken, OnDestroy } from '@angular/core';
3
- import { CanDisableCtor, HasTabIndexCtor } from '../common-behaviors/index';
3
+ import { CanDisableCtor, HasTabIndexCtor } from '../common-behaviors';
4
4
  import * as i0 from "@angular/core";
5
5
  export interface McOptionActionParent {
6
6
  dropdownTrigger: {
@@ -38,5 +38,5 @@ export declare class McOptionActionComponent extends McOptionActionMixinBase imp
38
38
  onKeyDown($event: any): void;
39
39
  private preventShowingTooltip;
40
40
  static ɵfac: i0.ɵɵFactoryDeclaration<McOptionActionComponent, never>;
41
- static ɵcmp: i0.ɵɵComponentDeclaration<McOptionActionComponent, "mc-option-action", ["mcOptionAction"], { "disabled": "disabled"; }, {}, ["customIcon"], ["[mc-icon]"]>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<McOptionActionComponent, "mc-option-action", ["mcOptionAction"], { "disabled": "disabled"; }, {}, ["customIcon"], ["[mc-icon]"], false>;
42
42
  }
@@ -1,4 +1,4 @@
1
- import { CanDisable, CanDisableCtor } from '../common-behaviors/index';
1
+ import { CanDisable, CanDisableCtor } from '../common-behaviors';
2
2
  import * as i0 from "@angular/core";
3
3
  /** @docs-private */
4
4
  export declare class McOptgroupBase {
@@ -12,5 +12,5 @@ export declare class McOptgroup extends McOptgroupMixinBase implements CanDisabl
12
12
  /** Unique id for the underlying label. */
13
13
  labelId: string;
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<McOptgroup, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<McOptgroup, "mc-optgroup", ["mcOptgroup"], { "disabled": "disabled"; "label": "label"; }, {}, never, ["mc-option, mc-list-option, ng-container"]>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<McOptgroup, "mc-optgroup", ["mcOptgroup"], { "disabled": "disabled"; "label": "label"; }, {}, never, ["mc-option, mc-list-option, mc-timezone-option, ng-container"], false>;
16
16
  }
@@ -94,7 +94,7 @@ export declare class McOption implements AfterViewChecked, OnDestroy {
94
94
  /** Emits the selection change event. */
95
95
  private emitSelectionChangeEvent;
96
96
  static ɵfac: i0.ɵɵFactoryDeclaration<McOption, [null, null, { optional: true; }, { optional: true; }]>;
97
- static ɵcmp: i0.ɵɵComponentDeclaration<McOption, "mc-option", ["mcOption"], { "value": "value"; "showCheckbox": "showCheckbox"; "disabled": "disabled"; }, { "onSelectionChange": "onSelectionChange"; }, never, ["*"]>;
97
+ static ɵcmp: i0.ɵɵComponentDeclaration<McOption, "mc-option", ["mcOption"], { "value": "value"; "showCheckbox": "showCheckbox"; "disabled": "disabled"; }, { "onSelectionChange": "onSelectionChange"; }, never, ["*"], false>;
98
98
  }
99
99
  /**
100
100
  * Counts the amount of option group labels that precede the specified option.
@@ -1,9 +1,8 @@
1
1
  import { Directionality } from '@angular/cdk/bidi';
2
- import { ConnectedOverlayPositionChange, ConnectionPositionPair, Overlay, OverlayRef, ScrollDispatcher } from '@angular/cdk/overlay';
3
- import { OverlayConfig } from '@angular/cdk/overlay/overlay-config';
2
+ import { ConnectedOverlayPositionChange, ConnectionPositionPair, Overlay, OverlayRef, ScrollDispatcher, OverlayConfig } from '@angular/cdk/overlay';
4
3
  import { ComponentPortal } from '@angular/cdk/portal';
5
4
  import { ElementRef, EventEmitter, NgZone, TemplateRef, Type, ViewContainerRef } from '@angular/core';
6
- import { Observable, Subject } from 'rxjs';
5
+ import { Observable, Subject, Subscription } from 'rxjs';
7
6
  import { PopUpPlacements } from './constants';
8
7
  import * as i0 from "@angular/core";
9
8
  export declare abstract class McPopUpTrigger<T> {
@@ -35,6 +34,7 @@ export declare abstract class McPopUpTrigger<T> {
35
34
  protected portal: ComponentPortal<T>;
36
35
  protected instance: any | null;
37
36
  protected listeners: Map<string, EventListenerOrEventListenerObject>;
37
+ protected closingActionsSubscription: Subscription;
38
38
  protected readonly availablePositions: {
39
39
  [key: string]: ConnectionPositionPair;
40
40
  };
@@ -65,6 +65,7 @@ export declare abstract class McPopUpTrigger<T> {
65
65
  protected clearListeners(): void;
66
66
  private addEventListener;
67
67
  private removeEventListener;
68
+ private subscribeOnClosingActions;
68
69
  static ɵfac: i0.ɵɵFactoryDeclaration<McPopUpTrigger<any>, never>;
69
- static ɵdir: i0.ɵɵDirectiveDeclaration<McPopUpTrigger<any>, never, never, {}, {}, never>;
70
+ static ɵdir: i0.ɵɵDirectiveDeclaration<McPopUpTrigger<any>, never, never, {}, {}, never, never, false>;
70
71
  }
@@ -13,7 +13,7 @@ export declare abstract class McPopUp implements OnDestroy {
13
13
  visibleChange: EventEmitter<boolean>;
14
14
  protected prefix: string;
15
15
  /** Subject for notifying that the tooltip has been hidden from the view */
16
- protected readonly onHideSubject: Subject<any>;
16
+ protected readonly onHideSubject: Subject<void>;
17
17
  protected closeOnInteraction: boolean;
18
18
  private showTimeoutId;
19
19
  private hideTimeoutId;
@@ -32,5 +32,5 @@ export declare abstract class McPopUp implements OnDestroy {
32
32
  animationDone({ toState }: AnimationEvent): void;
33
33
  handleBodyInteraction(): void;
34
34
  static ɵfac: i0.ɵɵFactoryDeclaration<McPopUp, never>;
35
- static ɵdir: i0.ɵɵDirectiveDeclaration<McPopUp, never, never, {}, {}, never>;
35
+ static ɵdir: i0.ɵɵDirectiveDeclaration<McPopUp, never, never, {}, {}, never, never, false>;
36
36
  }
@@ -4,8 +4,8 @@ import * as i0 from "@angular/core";
4
4
  export declare type McPseudoCheckboxState = 'unchecked' | 'checked' | 'indeterminate';
5
5
  /** @docs-private */
6
6
  export declare class McPseudoCheckboxBase {
7
- _elementRef: ElementRef;
8
- constructor(_elementRef: ElementRef);
7
+ elementRef: ElementRef;
8
+ constructor(elementRef: ElementRef);
9
9
  }
10
10
  export declare const McPseudoCheckboxMixinBase: CanColorCtor & CanDisableCtor & typeof McPseudoCheckboxBase;
11
11
  /**
@@ -26,5 +26,5 @@ export declare class McPseudoCheckbox extends McPseudoCheckboxMixinBase implemen
26
26
  disabled: boolean;
27
27
  constructor(elementRef: ElementRef);
28
28
  static ɵfac: i0.ɵɵFactoryDeclaration<McPseudoCheckbox, never>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<McPseudoCheckbox, "mc-pseudo-checkbox", never, { "color": "color"; "state": "state"; "disabled": "disabled"; }, {}, never, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<McPseudoCheckbox, "mc-pseudo-checkbox", never, { "color": "color"; "state": "state"; "disabled": "disabled"; }, {}, never, never, false>;
30
30
  }
@@ -1,18 +1,7 @@
1
- import { ChangeDetectorRef, InjectionToken } from '@angular/core';
2
- import { AbstractControl, NgControl, NgForm, Validator, ValidatorFn } from '@angular/forms';
1
+ import { InjectionToken } from '@angular/core';
3
2
  export declare const validationTooltipShowDelay = 10;
4
3
  export declare const validationTooltipHideDelay = 3000;
5
4
  export interface McValidationOptions {
6
5
  useValidation: boolean;
7
6
  }
8
7
  export declare const MC_VALIDATION: InjectionToken<McValidationOptions>;
9
- export declare function setValidState(control: AbstractControl, validator: ValidatorFn): void;
10
- /** This function do next:
11
- * - run validation on submitting parent form
12
- * - prevent validation in required validator if form doesn't submitted
13
- * - if control has focus validation will be prevented
14
- */
15
- export declare function setMosaicValidation(component: any, cdr?: ChangeDetectorRef): void;
16
- export declare function setMosaicValidationForModelControl(component: any, validators: Validator[], parentForm: NgForm): void;
17
- export declare function setMosaicValidationForFormControl(component: any, parentForm: NgForm, ngControl: NgControl, cdr?: ChangeDetectorRef): void;
18
- export declare function setMosaicValidationForCustomFormControl(component: any, cdr?: ChangeDetectorRef): void;
@@ -59,5 +59,5 @@ export declare class McCalendarBody implements OnChanges {
59
59
  /** Focuses the active cell after the microtask queue is empty. */
60
60
  focusActiveCell(): void;
61
61
  static ɵfac: i0.ɵɵFactoryDeclaration<McCalendarBody, never>;
62
- static ɵcmp: i0.ɵɵComponentDeclaration<McCalendarBody, "[mc-calendar-body]", ["mcCalendarBody"], { "label": "label"; "rows": "rows"; "todayValue": "todayValue"; "selectedValue": "selectedValue"; "labelMinRequiredCells": "labelMinRequiredCells"; "numCols": "numCols"; "activeCell": "activeCell"; "cellAspectRatio": "cellAspectRatio"; }, { "selectedValueChange": "selectedValueChange"; }, never, never>;
62
+ static ɵcmp: i0.ɵɵComponentDeclaration<McCalendarBody, "[mc-calendar-body]", ["mcCalendarBody"], { "label": "label"; "rows": "rows"; "todayValue": "todayValue"; "selectedValue": "selectedValue"; "labelMinRequiredCells": "labelMinRequiredCells"; "numCols": "numCols"; "activeCell": "activeCell"; "cellAspectRatio": "cellAspectRatio"; }, { "selectedValueChange": "selectedValueChange"; }, never, never, false>;
63
63
  }
@@ -17,35 +17,6 @@ export declare enum McCalendarView {
17
17
  Year = "year",
18
18
  MultiYear = "multi-year"
19
19
  }
20
- /** Default header for McCalendar */
21
- export declare class McCalendarHeader<D> {
22
- private readonly intl;
23
- calendar: McCalendar<D>;
24
- private readonly dateAdapter;
25
- private readonly dateFormats;
26
- constructor(intl: McDatepickerIntl, calendar: McCalendar<D>, dateAdapter: DateAdapter<D>, dateFormats: McDateFormats, changeDetectorRef: ChangeDetectorRef);
27
- /** The label for the current calendar view. */
28
- get periodButtonText(): string;
29
- get periodButtonLabel(): string;
30
- /** The label for the previous button. */
31
- get prevButtonLabel(): string;
32
- /** The label for the next button. */
33
- get nextButtonLabel(): string;
34
- /** Handles user clicks on the period label. */
35
- currentPeriodClicked(): void;
36
- /** Handles user clicks on the previous button. */
37
- previousClicked(): void;
38
- /** Handles user clicks on the next button. */
39
- nextClicked(): void;
40
- /** Whether the previous period button is enabled. */
41
- previousEnabled(): boolean;
42
- /** Whether the next period button is enabled. */
43
- nextEnabled(): boolean;
44
- /** Whether the two dates represent the same view in the current view mode (month or year). */
45
- private isSameView;
46
- static ɵfac: i0.ɵɵFactoryDeclaration<McCalendarHeader<any>, [null, null, { optional: true; }, { optional: true; }, null]>;
47
- static ɵcmp: i0.ɵɵComponentDeclaration<McCalendarHeader<any>, "mc-calendar-header", ["mcCalendarHeader"], {}, {}, never, never>;
48
- }
49
20
  /**
50
21
  * A calendar that is used as part of the datepicker.
51
22
  * @docs-private
@@ -147,5 +118,34 @@ export declare class McCalendar<D> implements AfterContentInit, AfterViewChecked
147
118
  /** Returns the component instance that corresponds to the current calendar view. */
148
119
  private getCurrentViewComponent;
149
120
  static ɵfac: i0.ɵɵFactoryDeclaration<McCalendar<any>, [null, { optional: true; }, { optional: true; }, null]>;
150
- static ɵcmp: i0.ɵɵComponentDeclaration<McCalendar<any>, "mc-calendar", ["mcCalendar"], { "startAt": "startAt"; "selected": "selected"; "minDate": "minDate"; "maxDate": "maxDate"; "headerComponent": "headerComponent"; "startView": "startView"; "dateFilter": "dateFilter"; "dateClass": "dateClass"; }, { "selectedChange": "selectedChange"; "yearSelected": "yearSelected"; "monthSelected": "monthSelected"; "userSelection": "userSelection"; }, never, never>;
121
+ static ɵcmp: i0.ɵɵComponentDeclaration<McCalendar<any>, "mc-calendar", ["mcCalendar"], { "startAt": "startAt"; "selected": "selected"; "minDate": "minDate"; "maxDate": "maxDate"; "headerComponent": "headerComponent"; "startView": "startView"; "dateFilter": "dateFilter"; "dateClass": "dateClass"; }, { "selectedChange": "selectedChange"; "yearSelected": "yearSelected"; "monthSelected": "monthSelected"; "userSelection": "userSelection"; }, never, never, false>;
122
+ }
123
+ /** Default header for McCalendar */
124
+ export declare class McCalendarHeader<D> {
125
+ private readonly intl;
126
+ calendar: McCalendar<D>;
127
+ private readonly dateAdapter;
128
+ private readonly dateFormats;
129
+ constructor(intl: McDatepickerIntl, calendar: McCalendar<D>, dateAdapter: DateAdapter<D>, dateFormats: McDateFormats, changeDetectorRef: ChangeDetectorRef);
130
+ /** The label for the current calendar view. */
131
+ get periodButtonText(): string;
132
+ get periodButtonLabel(): string;
133
+ /** The label for the previous button. */
134
+ get prevButtonLabel(): string;
135
+ /** The label for the next button. */
136
+ get nextButtonLabel(): string;
137
+ /** Handles user clicks on the period label. */
138
+ currentPeriodClicked(): void;
139
+ /** Handles user clicks on the previous button. */
140
+ previousClicked(): void;
141
+ /** Handles user clicks on the next button. */
142
+ nextClicked(): void;
143
+ /** Whether the previous period button is enabled. */
144
+ previousEnabled(): boolean;
145
+ /** Whether the next period button is enabled. */
146
+ nextEnabled(): boolean;
147
+ /** Whether the two dates represent the same view in the current view mode (month or year). */
148
+ private isSameView;
149
+ static ɵfac: i0.ɵɵFactoryDeclaration<McCalendarHeader<any>, [null, null, { optional: true; }, { optional: true; }, null]>;
150
+ static ɵcmp: i0.ɵɵComponentDeclaration<McCalendarHeader<any>, "mc-calendar-header", ["mcCalendarHeader"], {}, {}, never, never, false>;
151
151
  }