@ptsecurity/mosaic 11.5.0 → 12.2.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 (630) hide show
  1. package/_theming.scss +409 -100
  2. package/_visual.scss +66 -23
  3. package/autocomplete/autocomplete-origin.directive.d.ts +3 -0
  4. package/autocomplete/autocomplete-trigger.directive.d.ts +3 -0
  5. package/autocomplete/autocomplete.component.d.ts +3 -0
  6. package/autocomplete/autocomplete.module.d.ts +10 -0
  7. package/autocomplete/package.json +0 -1
  8. package/autocomplete/ptsecurity-mosaic-autocomplete.d.ts +1 -0
  9. package/bundles/ptsecurity-mosaic-autocomplete.umd.js +178 -114
  10. package/bundles/ptsecurity-mosaic-autocomplete.umd.js.map +1 -1
  11. package/bundles/ptsecurity-mosaic-button-toggle.umd.js +107 -71
  12. package/bundles/ptsecurity-mosaic-button-toggle.umd.js.map +1 -1
  13. package/bundles/ptsecurity-mosaic-button.umd.js +106 -77
  14. package/bundles/ptsecurity-mosaic-button.umd.js.map +1 -1
  15. package/bundles/ptsecurity-mosaic-card.umd.js +74 -43
  16. package/bundles/ptsecurity-mosaic-card.umd.js.map +1 -1
  17. package/bundles/ptsecurity-mosaic-checkbox.umd.js +114 -69
  18. package/bundles/ptsecurity-mosaic-checkbox.umd.js.map +1 -1
  19. package/bundles/ptsecurity-mosaic-core.umd.js +804 -256
  20. package/bundles/ptsecurity-mosaic-core.umd.js.map +1 -1
  21. package/bundles/ptsecurity-mosaic-datepicker.umd.js +601 -421
  22. package/bundles/ptsecurity-mosaic-datepicker.umd.js.map +1 -1
  23. package/bundles/ptsecurity-mosaic-design-tokens.umd.js +108 -26
  24. package/bundles/ptsecurity-mosaic-design-tokens.umd.js.map +1 -1
  25. package/bundles/ptsecurity-mosaic-divider.umd.js +55 -28
  26. package/bundles/ptsecurity-mosaic-divider.umd.js.map +1 -1
  27. package/bundles/ptsecurity-mosaic-dropdown.umd.js +263 -187
  28. package/bundles/ptsecurity-mosaic-dropdown.umd.js.map +1 -1
  29. package/bundles/ptsecurity-mosaic-form-field.umd.js +200 -125
  30. package/bundles/ptsecurity-mosaic-form-field.umd.js.map +1 -1
  31. package/bundles/ptsecurity-mosaic-icon.umd.js +79 -41
  32. package/bundles/ptsecurity-mosaic-icon.umd.js.map +1 -1
  33. package/bundles/ptsecurity-mosaic-input.umd.js +222 -124
  34. package/bundles/ptsecurity-mosaic-input.umd.js.map +1 -1
  35. package/bundles/ptsecurity-mosaic-link.umd.js +76 -45
  36. package/bundles/ptsecurity-mosaic-link.umd.js.map +1 -1
  37. package/bundles/ptsecurity-mosaic-list.umd.js +354 -202
  38. package/bundles/ptsecurity-mosaic-list.umd.js.map +1 -1
  39. package/bundles/ptsecurity-mosaic-modal.umd.js +324 -220
  40. package/bundles/ptsecurity-mosaic-modal.umd.js.map +1 -1
  41. package/bundles/ptsecurity-mosaic-navbar.umd.js +289 -208
  42. package/bundles/ptsecurity-mosaic-navbar.umd.js.map +1 -1
  43. package/bundles/ptsecurity-mosaic-popover.umd.js +346 -640
  44. package/bundles/ptsecurity-mosaic-popover.umd.js.map +1 -1
  45. package/bundles/ptsecurity-mosaic-progress-bar.umd.js +69 -40
  46. package/bundles/ptsecurity-mosaic-progress-bar.umd.js.map +1 -1
  47. package/bundles/ptsecurity-mosaic-progress-spinner.umd.js +69 -40
  48. package/bundles/ptsecurity-mosaic-progress-spinner.umd.js.map +1 -1
  49. package/bundles/ptsecurity-mosaic-radio.umd.js +126 -81
  50. package/bundles/ptsecurity-mosaic-radio.umd.js.map +1 -1
  51. package/bundles/ptsecurity-mosaic-select.umd.js +276 -154
  52. package/bundles/ptsecurity-mosaic-select.umd.js.map +1 -1
  53. package/bundles/ptsecurity-mosaic-sidebar.umd.js +105 -68
  54. package/bundles/ptsecurity-mosaic-sidebar.umd.js.map +1 -1
  55. package/bundles/ptsecurity-mosaic-sidepanel.umd.js +236 -158
  56. package/bundles/ptsecurity-mosaic-sidepanel.umd.js.map +1 -1
  57. package/bundles/ptsecurity-mosaic-splitter.umd.js +112 -83
  58. package/bundles/ptsecurity-mosaic-splitter.umd.js.map +1 -1
  59. package/bundles/ptsecurity-mosaic-table.umd.js +77 -44
  60. package/bundles/ptsecurity-mosaic-table.umd.js.map +1 -1
  61. package/bundles/ptsecurity-mosaic-tabs.umd.js +894 -687
  62. package/bundles/ptsecurity-mosaic-tabs.umd.js.map +1 -1
  63. package/bundles/ptsecurity-mosaic-tags.umd.js +313 -209
  64. package/bundles/ptsecurity-mosaic-tags.umd.js.map +1 -1
  65. package/bundles/ptsecurity-mosaic-textarea.umd.js +107 -53
  66. package/bundles/ptsecurity-mosaic-textarea.umd.js.map +1 -1
  67. package/bundles/ptsecurity-mosaic-timepicker.umd.js +117 -72
  68. package/bundles/ptsecurity-mosaic-timepicker.umd.js.map +1 -1
  69. package/bundles/ptsecurity-mosaic-toggle.umd.js +97 -58
  70. package/bundles/ptsecurity-mosaic-toggle.umd.js.map +1 -1
  71. package/bundles/ptsecurity-mosaic-tooltip.umd.js +347 -615
  72. package/bundles/ptsecurity-mosaic-tooltip.umd.js.map +1 -1
  73. package/bundles/ptsecurity-mosaic-tree-select.umd.js +223 -118
  74. package/bundles/ptsecurity-mosaic-tree-select.umd.js.map +1 -1
  75. package/bundles/ptsecurity-mosaic-tree.umd.js +1162 -344
  76. package/bundles/ptsecurity-mosaic-tree.umd.js.map +1 -1
  77. package/bundles/ptsecurity-mosaic.umd.js +2 -2
  78. package/button/button.component.d.ts +7 -0
  79. package/button/button.module.d.ts +8 -0
  80. package/button/package.json +0 -1
  81. package/button/ptsecurity-mosaic-button.d.ts +1 -0
  82. package/button-toggle/button-toggle.component.d.ts +5 -0
  83. package/button-toggle/button-toggle.module.d.ts +7 -0
  84. package/button-toggle/package.json +0 -1
  85. package/button-toggle/ptsecurity-mosaic-button-toggle.d.ts +1 -0
  86. package/card/card.component.d.ts +3 -0
  87. package/card/card.module.d.ts +8 -0
  88. package/card/package.json +0 -1
  89. package/card/ptsecurity-mosaic-card.d.ts +1 -0
  90. package/checkbox/checkbox-module.d.ts +7 -0
  91. package/checkbox/checkbox-required-validator.d.ts +3 -0
  92. package/checkbox/checkbox.d.ts +3 -0
  93. package/checkbox/package.json +0 -1
  94. package/checkbox/ptsecurity-mosaic-checkbox.d.ts +1 -0
  95. package/core/common-behaviors/color.d.ts +3 -3
  96. package/core/common-behaviors/common-module.d.ts +5 -0
  97. package/core/common-behaviors/disabled.d.ts +4 -3
  98. package/core/common-behaviors/tabindex.d.ts +2 -1
  99. package/core/error/error-options.d.ts +5 -0
  100. package/core/formatters/date/formatter.d.ts +3 -0
  101. package/core/formatters/index.d.ts +5 -0
  102. package/core/formatters/number/formatter.d.ts +4 -0
  103. package/core/forms/forms-module.d.ts +5 -0
  104. package/core/forms/forms.directive.d.ts +5 -0
  105. package/core/highlight/highlight.pipe.d.ts +3 -0
  106. package/core/highlight/index.d.ts +6 -0
  107. package/core/line/line.d.ts +6 -0
  108. package/core/option/action.d.ts +42 -0
  109. package/core/option/index.d.ts +1 -0
  110. package/core/option/optgroup.d.ts +3 -0
  111. package/core/option/option-module.d.ts +9 -0
  112. package/core/option/option.d.ts +3 -0
  113. package/core/overlay/overlay-position-map.d.ts +0 -4
  114. package/core/package.json +0 -1
  115. package/core/pop-up/constants.d.ts +29 -0
  116. package/core/pop-up/index.d.ts +3 -0
  117. package/core/pop-up/pop-up-trigger.d.ts +70 -0
  118. package/core/pop-up/pop-up.d.ts +35 -0
  119. package/core/ptsecurity-mosaic-core.d.ts +1 -1
  120. package/core/public-api.d.ts +1 -0
  121. package/core/selection/pseudo-checkbox/pseudo-checkbox.d.ts +3 -0
  122. package/core/selection/pseudo-checkbox/pseudo-checkbox.module.d.ts +6 -0
  123. package/core/services/measure-scrollbar.service.d.ts +3 -0
  124. package/datepicker/calendar-body.component.d.ts +5 -6
  125. package/datepicker/calendar.component.d.ts +5 -0
  126. package/datepicker/datepicker-input.directive.d.ts +6 -2
  127. package/datepicker/datepicker-intl.d.ts +3 -0
  128. package/datepicker/datepicker-module.d.ts +18 -0
  129. package/datepicker/datepicker-toggle.component.d.ts +5 -0
  130. package/datepicker/datepicker.component.d.ts +5 -0
  131. package/datepicker/month-view.component.d.ts +3 -0
  132. package/datepicker/multi-year-view.component.d.ts +3 -0
  133. package/datepicker/package.json +0 -1
  134. package/datepicker/ptsecurity-mosaic-datepicker.d.ts +1 -0
  135. package/datepicker/year-view.component.d.ts +3 -0
  136. package/design-tokens/package.json +0 -1
  137. package/design-tokens/ptsecurity-mosaic-design-tokens.d.ts +1 -0
  138. package/design-tokens/tokens/components/list.json5 +0 -4
  139. package/design-tokens/tokens/components/popover.json5 +32 -4
  140. package/design-tokens/tokens/components/tooltip.json5 +49 -3
  141. package/design-tokens/tokens/components/tree.json5 +3 -3
  142. package/design-tokens/tokens/properties/globals.json5 +1 -1
  143. package/design-tokens/tokens.d.ts +56 -15
  144. package/divider/divider.component.d.ts +3 -0
  145. package/divider/divider.module.d.ts +6 -0
  146. package/divider/package.json +0 -1
  147. package/divider/ptsecurity-mosaic-divider.d.ts +1 -0
  148. package/dropdown/dropdown-content.directive.d.ts +3 -0
  149. package/dropdown/dropdown-item.component.d.ts +3 -0
  150. package/dropdown/dropdown-trigger.directive.d.ts +6 -8
  151. package/dropdown/dropdown.component.d.ts +5 -1
  152. package/dropdown/dropdown.module.d.ts +11 -0
  153. package/dropdown/package.json +0 -1
  154. package/dropdown/ptsecurity-mosaic-dropdown.d.ts +1 -0
  155. package/esm2015/autocomplete/autocomplete-origin.directive.js +11 -11
  156. package/esm2015/autocomplete/autocomplete-trigger.directive.js +53 -38
  157. package/esm2015/autocomplete/autocomplete.component.js +56 -37
  158. package/esm2015/autocomplete/autocomplete.module.js +25 -15
  159. package/esm2015/button/button.component.js +52 -56
  160. package/esm2015/button/button.module.js +35 -20
  161. package/esm2015/button-toggle/button-toggle.component.js +76 -55
  162. package/esm2015/button-toggle/button-toggle.module.js +13 -8
  163. package/esm2015/card/card.component.js +32 -30
  164. package/esm2015/card/card.module.js +23 -12
  165. package/esm2015/checkbox/checkbox-module.js +13 -8
  166. package/esm2015/checkbox/checkbox-required-validator.js +12 -8
  167. package/esm2015/checkbox/checkbox.js +61 -44
  168. package/esm2015/core/common-behaviors/color.js +2 -5
  169. package/esm2015/core/common-behaviors/common-module.js +17 -11
  170. package/esm2015/core/common-behaviors/disabled.js +1 -1
  171. package/esm2015/core/common-behaviors/tabindex.js +4 -13
  172. package/esm2015/core/error/error-options.js +12 -8
  173. package/esm2015/core/formatters/date/formatter.js +13 -10
  174. package/esm2015/core/formatters/index.js +13 -8
  175. package/esm2015/core/formatters/number/formatter.js +16 -10
  176. package/esm2015/core/forms/forms-module.js +20 -13
  177. package/esm2015/core/forms/forms.directive.js +32 -29
  178. package/esm2015/core/highlight/highlight.pipe.js +8 -4
  179. package/esm2015/core/highlight/index.js +13 -8
  180. package/esm2015/core/line/line.js +22 -14
  181. package/esm2015/core/option/action.js +131 -0
  182. package/esm2015/core/option/index.js +2 -1
  183. package/esm2015/core/option/optgroup.js +22 -19
  184. package/esm2015/core/option/option-module.js +14 -8
  185. package/esm2015/core/option/option.js +44 -35
  186. package/esm2015/core/overlay/overlay-position-map.js +16 -18
  187. package/esm2015/core/pop-up/constants.js +34 -0
  188. package/esm2015/core/pop-up/index.js +4 -0
  189. package/esm2015/core/pop-up/pop-up-trigger.js +241 -0
  190. package/esm2015/core/pop-up/pop-up.js +87 -0
  191. package/esm2015/core/ptsecurity-mosaic-core.js +1 -2
  192. package/esm2015/core/public-api.js +2 -1
  193. package/esm2015/core/selection/pseudo-checkbox/pseudo-checkbox.js +25 -21
  194. package/esm2015/core/selection/pseudo-checkbox/pseudo-checkbox.module.js +13 -8
  195. package/esm2015/core/services/measure-scrollbar.service.js +12 -12
  196. package/esm2015/datepicker/calendar-body.component.js +39 -32
  197. package/esm2015/datepicker/calendar.component.js +92 -58
  198. package/esm2015/datepicker/datepicker-input.directive.js +94 -62
  199. package/esm2015/datepicker/datepicker-intl.js +7 -5
  200. package/esm2015/datepicker/datepicker-module.js +89 -48
  201. package/esm2015/datepicker/datepicker-toggle.component.js +44 -32
  202. package/esm2015/datepicker/datepicker.component.js +88 -63
  203. package/esm2015/datepicker/month-view.component.js +48 -29
  204. package/esm2015/datepicker/multi-year-view.component.js +40 -27
  205. package/esm2015/datepicker/year-view.component.js +45 -28
  206. package/esm2015/design-tokens/tokens.js +57 -16
  207. package/esm2015/divider/divider.component.js +24 -20
  208. package/esm2015/divider/divider.module.js +13 -8
  209. package/esm2015/dropdown/dropdown-content.directive.js +13 -15
  210. package/esm2015/dropdown/dropdown-item.component.js +40 -30
  211. package/esm2015/dropdown/dropdown-trigger.directive.js +75 -67
  212. package/esm2015/dropdown/dropdown.component.js +63 -38
  213. package/esm2015/dropdown/dropdown.module.js +40 -23
  214. package/esm2015/form-field/cleaner.js +20 -11
  215. package/esm2015/form-field/form-field.js +77 -53
  216. package/esm2015/form-field/form-field.module.js +41 -24
  217. package/esm2015/form-field/hint.js +16 -13
  218. package/esm2015/form-field/prefix.js +10 -6
  219. package/esm2015/form-field/stepper.js +22 -11
  220. package/esm2015/form-field/suffix.js +10 -6
  221. package/esm2015/icon/icon.component.js +27 -22
  222. package/esm2015/icon/icon.module.js +31 -18
  223. package/esm2015/input/input-number-validators.js +48 -29
  224. package/esm2015/input/input-number.js +42 -28
  225. package/esm2015/input/input.js +94 -52
  226. package/esm2015/input/input.module.js +13 -8
  227. package/esm2015/link/link.component.js +38 -34
  228. package/esm2015/link/link.module.js +20 -11
  229. package/esm2015/list/list-selection.component.js +234 -124
  230. package/esm2015/list/list.component.js +35 -32
  231. package/esm2015/list/list.module.js +47 -25
  232. package/esm2015/modal/css-unit.pipe.js +10 -6
  233. package/esm2015/modal/modal-control.service.js +11 -8
  234. package/esm2015/modal/modal.component.js +107 -61
  235. package/esm2015/modal/modal.directive.js +43 -30
  236. package/esm2015/modal/modal.module.js +59 -31
  237. package/esm2015/modal/modal.service.js +9 -9
  238. package/esm2015/modal/ptsecurity-mosaic-modal.js +1 -3
  239. package/esm2015/navbar/navbar-item.component.js +111 -95
  240. package/esm2015/navbar/navbar.component.js +40 -30
  241. package/esm2015/navbar/navbar.module.js +66 -35
  242. package/esm2015/navbar/ptsecurity-mosaic-navbar.js +1 -2
  243. package/esm2015/navbar/vertical-navbar.component.js +68 -46
  244. package/esm2015/popover/popover-confirm.component.js +115 -0
  245. package/esm2015/popover/popover.component.js +180 -587
  246. package/esm2015/popover/popover.module.js +18 -12
  247. package/esm2015/popover/public-api.js +2 -1
  248. package/esm2015/progress-bar/progress-bar.component.js +26 -24
  249. package/esm2015/progress-bar/progress-bar.module.js +24 -15
  250. package/esm2015/progress-spinner/progress-spinner.component.js +26 -24
  251. package/esm2015/progress-spinner/progress-spinner.module.js +24 -15
  252. package/esm2015/radio/radio.component.js +87 -67
  253. package/esm2015/radio/radio.module.js +13 -8
  254. package/esm2015/select/select.component.js +181 -105
  255. package/esm2015/select/select.module.js +54 -28
  256. package/esm2015/sidebar/ptsecurity-mosaic-sidebar.js +1 -2
  257. package/esm2015/sidebar/sidebar.component.js +61 -50
  258. package/esm2015/sidebar/sidebar.module.js +25 -16
  259. package/esm2015/sidepanel/ptsecurity-mosaic-sidepanel.js +1 -2
  260. package/esm2015/sidepanel/sidepanel-container.component.js +46 -40
  261. package/esm2015/sidepanel/sidepanel-directives.js +87 -57
  262. package/esm2015/sidepanel/sidepanel.module.js +63 -30
  263. package/esm2015/sidepanel/sidepanel.service.js +20 -12
  264. package/esm2015/splitter/splitter.component.js +62 -64
  265. package/esm2015/splitter/splitter.module.js +32 -19
  266. package/esm2015/table/table.component.js +13 -9
  267. package/esm2015/table/table.module.js +23 -12
  268. package/esm2015/tabs/paginated-tab-header.js +20 -18
  269. package/esm2015/tabs/ptsecurity-mosaic-tabs.js +1 -6
  270. package/esm2015/tabs/tab-body.component.js +52 -42
  271. package/esm2015/tabs/tab-content.directive.js +8 -8
  272. package/esm2015/tabs/tab-group.component.js +145 -74
  273. package/esm2015/tabs/tab-header.component.js +50 -36
  274. package/esm2015/tabs/tab-label-wrapper.directive.js +30 -16
  275. package/esm2015/tabs/tab-label.directive.js +11 -7
  276. package/esm2015/tabs/tab-nav-bar/tab-nav-bar.js +46 -46
  277. package/esm2015/tabs/tab.component.js +67 -33
  278. package/esm2015/tabs/tabs.module.js +87 -45
  279. package/esm2015/tags/tag-input.js +48 -34
  280. package/esm2015/tags/tag-list.component.js +93 -56
  281. package/esm2015/tags/tag.component.js +90 -73
  282. package/esm2015/tags/tag.module.js +46 -29
  283. package/esm2015/textarea/textarea.component.js +70 -41
  284. package/esm2015/textarea/textarea.module.js +13 -8
  285. package/esm2015/timepicker/timepicker.directive.js +66 -54
  286. package/esm2015/timepicker/timepicker.module.js +26 -13
  287. package/esm2015/toggle/toggle.component.js +65 -47
  288. package/esm2015/toggle/toggle.module.js +13 -8
  289. package/esm2015/tooltip/tooltip.animations.js +19 -0
  290. package/esm2015/tooltip/tooltip.component.js +239 -555
  291. package/esm2015/tooltip/tooltip.module.js +38 -11
  292. package/esm2015/tree/control/base-tree-control.js +60 -0
  293. package/esm2015/tree/control/flat-tree-control.js +123 -0
  294. package/esm2015/tree/control/nested-tree-control.js +41 -0
  295. package/esm2015/tree/control/tree-control.js +2 -0
  296. package/esm2015/tree/data-source/flat-data-source.js +1 -1
  297. package/esm2015/tree/node.js +31 -0
  298. package/esm2015/tree/outlet.js +15 -0
  299. package/esm2015/tree/padding.directive.js +98 -25
  300. package/esm2015/tree/public-api.js +9 -2
  301. package/esm2015/tree/toggle.js +65 -70
  302. package/esm2015/tree/tree-base.js +243 -0
  303. package/esm2015/tree/tree-errors.js +36 -0
  304. package/esm2015/tree/tree-option.component.js +102 -56
  305. package/esm2015/tree/tree-selection.component.js +180 -115
  306. package/esm2015/tree/tree.js +23 -0
  307. package/esm2015/tree/tree.module.js +38 -12
  308. package/esm2015/tree-select/tree-select.component.js +153 -85
  309. package/esm2015/tree-select/tree-select.module.js +33 -18
  310. package/fesm2015/ptsecurity-mosaic-autocomplete.js +140 -102
  311. package/fesm2015/ptsecurity-mosaic-autocomplete.js.map +1 -1
  312. package/fesm2015/ptsecurity-mosaic-button-toggle.js +87 -63
  313. package/fesm2015/ptsecurity-mosaic-button-toggle.js.map +1 -1
  314. package/fesm2015/ptsecurity-mosaic-button.js +86 -76
  315. package/fesm2015/ptsecurity-mosaic-button.js.map +1 -1
  316. package/fesm2015/ptsecurity-mosaic-card.js +54 -42
  317. package/fesm2015/ptsecurity-mosaic-card.js.map +1 -1
  318. package/fesm2015/ptsecurity-mosaic-checkbox.js +82 -59
  319. package/fesm2015/ptsecurity-mosaic-checkbox.js.map +1 -1
  320. package/fesm2015/ptsecurity-mosaic-core.js +758 -239
  321. package/fesm2015/ptsecurity-mosaic-core.js.map +1 -1
  322. package/fesm2015/ptsecurity-mosaic-datepicker.js +546 -377
  323. package/fesm2015/ptsecurity-mosaic-datepicker.js.map +1 -1
  324. package/fesm2015/ptsecurity-mosaic-design-tokens.js +57 -16
  325. package/fesm2015/ptsecurity-mosaic-design-tokens.js.map +1 -1
  326. package/fesm2015/ptsecurity-mosaic-divider.js +34 -26
  327. package/fesm2015/ptsecurity-mosaic-divider.js.map +1 -1
  328. package/fesm2015/ptsecurity-mosaic-dropdown.js +219 -171
  329. package/fesm2015/ptsecurity-mosaic-dropdown.js.map +1 -1
  330. package/fesm2015/ptsecurity-mosaic-form-field.js +184 -119
  331. package/fesm2015/ptsecurity-mosaic-form-field.js.map +1 -1
  332. package/fesm2015/ptsecurity-mosaic-icon.js +56 -39
  333. package/fesm2015/ptsecurity-mosaic-icon.js.map +1 -1
  334. package/fesm2015/ptsecurity-mosaic-input.js +191 -116
  335. package/fesm2015/ptsecurity-mosaic-input.js.map +1 -1
  336. package/fesm2015/ptsecurity-mosaic-link.js +57 -45
  337. package/fesm2015/ptsecurity-mosaic-link.js.map +1 -1
  338. package/fesm2015/ptsecurity-mosaic-list.js +311 -179
  339. package/fesm2015/ptsecurity-mosaic-list.js.map +1 -1
  340. package/fesm2015/ptsecurity-mosaic-modal.js +243 -159
  341. package/fesm2015/ptsecurity-mosaic-modal.js.map +1 -1
  342. package/fesm2015/ptsecurity-mosaic-navbar.js +280 -205
  343. package/fesm2015/ptsecurity-mosaic-navbar.js.map +1 -1
  344. package/fesm2015/ptsecurity-mosaic-popover.js +297 -597
  345. package/fesm2015/ptsecurity-mosaic-popover.js.map +1 -1
  346. package/fesm2015/ptsecurity-mosaic-progress-bar.js +48 -38
  347. package/fesm2015/ptsecurity-mosaic-progress-bar.js.map +1 -1
  348. package/fesm2015/ptsecurity-mosaic-progress-spinner.js +48 -38
  349. package/fesm2015/ptsecurity-mosaic-progress-spinner.js.map +1 -1
  350. package/fesm2015/ptsecurity-mosaic-radio.js +99 -76
  351. package/fesm2015/ptsecurity-mosaic-radio.js.map +1 -1
  352. package/fesm2015/ptsecurity-mosaic-select.js +236 -136
  353. package/fesm2015/ptsecurity-mosaic-select.js.map +1 -1
  354. package/fesm2015/ptsecurity-mosaic-sidebar.js +85 -66
  355. package/fesm2015/ptsecurity-mosaic-sidebar.js.map +1 -1
  356. package/fesm2015/ptsecurity-mosaic-sidepanel.js +207 -139
  357. package/fesm2015/ptsecurity-mosaic-sidepanel.js.map +1 -1
  358. package/fesm2015/ptsecurity-mosaic-splitter.js +92 -82
  359. package/fesm2015/ptsecurity-mosaic-splitter.js.map +1 -1
  360. package/fesm2015/ptsecurity-mosaic-table.js +33 -19
  361. package/fesm2015/ptsecurity-mosaic-table.js.map +1 -1
  362. package/fesm2015/ptsecurity-mosaic-tabs.js +557 -387
  363. package/fesm2015/ptsecurity-mosaic-tabs.js.map +1 -1
  364. package/fesm2015/ptsecurity-mosaic-tags.js +273 -192
  365. package/fesm2015/ptsecurity-mosaic-tags.js.map +1 -1
  366. package/fesm2015/ptsecurity-mosaic-textarea.js +83 -50
  367. package/fesm2015/ptsecurity-mosaic-textarea.js.map +1 -1
  368. package/fesm2015/ptsecurity-mosaic-timepicker.js +89 -66
  369. package/fesm2015/ptsecurity-mosaic-timepicker.js.map +1 -1
  370. package/fesm2015/ptsecurity-mosaic-toggle.js +77 -55
  371. package/fesm2015/ptsecurity-mosaic-toggle.js.map +1 -1
  372. package/fesm2015/ptsecurity-mosaic-tooltip.js +293 -566
  373. package/fesm2015/ptsecurity-mosaic-tooltip.js.map +1 -1
  374. package/fesm2015/ptsecurity-mosaic-tree-select.js +188 -106
  375. package/fesm2015/ptsecurity-mosaic-tree-select.js.map +1 -1
  376. package/fesm2015/ptsecurity-mosaic-tree.js +1001 -279
  377. package/fesm2015/ptsecurity-mosaic-tree.js.map +1 -1
  378. package/form-field/cleaner.d.ts +5 -0
  379. package/form-field/form-field.d.ts +5 -0
  380. package/form-field/form-field.module.d.ts +12 -0
  381. package/form-field/hint.d.ts +3 -0
  382. package/form-field/package.json +0 -1
  383. package/form-field/prefix.d.ts +3 -0
  384. package/form-field/ptsecurity-mosaic-form-field.d.ts +1 -0
  385. package/form-field/stepper.d.ts +3 -0
  386. package/form-field/suffix.d.ts +3 -0
  387. package/icon/icon.component.d.ts +5 -0
  388. package/icon/icon.module.d.ts +8 -0
  389. package/icon/package.json +0 -1
  390. package/icon/ptsecurity-mosaic-icon.d.ts +1 -0
  391. package/input/input-number-validators.d.ts +7 -2
  392. package/input/input-number.d.ts +3 -0
  393. package/input/input.d.ts +5 -0
  394. package/input/input.module.d.ts +11 -0
  395. package/input/package.json +0 -1
  396. package/input/ptsecurity-mosaic-input.d.ts +1 -0
  397. package/link/link.component.d.ts +3 -0
  398. package/link/link.module.d.ts +7 -0
  399. package/link/package.json +0 -1
  400. package/link/ptsecurity-mosaic-link.d.ts +1 -0
  401. package/list/list-selection.component.d.ts +30 -3
  402. package/list/list.component.d.ts +5 -0
  403. package/list/list.module.d.ts +9 -0
  404. package/list/package.json +0 -1
  405. package/list/ptsecurity-mosaic-list.d.ts +1 -0
  406. package/modal/css-unit.pipe.d.ts +3 -0
  407. package/modal/modal-control.service.d.ts +3 -0
  408. package/modal/modal.component.d.ts +5 -0
  409. package/modal/modal.directive.d.ts +9 -0
  410. package/modal/modal.module.d.ts +12 -0
  411. package/modal/modal.service.d.ts +3 -0
  412. package/modal/package.json +0 -1
  413. package/modal/ptsecurity-mosaic-modal.d.ts +1 -2
  414. package/navbar/navbar-item.component.d.ts +13 -0
  415. package/navbar/navbar.component.d.ts +5 -0
  416. package/navbar/navbar.module.d.ts +11 -0
  417. package/navbar/package.json +0 -1
  418. package/navbar/ptsecurity-mosaic-navbar.d.ts +1 -1
  419. package/navbar/vertical-navbar.component.d.ts +5 -0
  420. package/package.json +8 -9
  421. package/popover/package.json +0 -1
  422. package/popover/popover-confirm.component.d.ts +33 -0
  423. package/popover/popover.component.d.ts +50 -136
  424. package/popover/popover.module.d.ts +9 -0
  425. package/popover/ptsecurity-mosaic-popover.d.ts +1 -0
  426. package/popover/public-api.d.ts +1 -0
  427. package/prebuilt-themes/dark-theme.css +1 -1
  428. package/prebuilt-themes/default-theme.css +1 -1
  429. package/prebuilt-visual/default-visual.css +1 -1
  430. package/progress-bar/package.json +0 -1
  431. package/progress-bar/progress-bar.component.d.ts +3 -0
  432. package/progress-bar/progress-bar.module.d.ts +7 -0
  433. package/progress-bar/ptsecurity-mosaic-progress-bar.d.ts +1 -0
  434. package/progress-spinner/package.json +0 -1
  435. package/progress-spinner/progress-spinner.component.d.ts +3 -0
  436. package/progress-spinner/progress-spinner.module.d.ts +7 -0
  437. package/progress-spinner/ptsecurity-mosaic-progress-spinner.d.ts +1 -0
  438. package/ptsecurity-mosaic.d.ts +1 -0
  439. package/radio/package.json +0 -1
  440. package/radio/ptsecurity-mosaic-radio.d.ts +1 -0
  441. package/radio/radio.component.d.ts +5 -0
  442. package/radio/radio.module.d.ts +8 -0
  443. package/schematics/ng-update/update-9.0.0/secondary-entry-points-migration.js +6 -3
  444. package/schematics/ng-update/update-9.0.0/secondary-entry-points-migration.js.map +1 -1
  445. package/select/package.json +0 -1
  446. package/select/ptsecurity-mosaic-select.d.ts +1 -0
  447. package/select/select.component.d.ts +11 -7
  448. package/select/select.module.d.ts +11 -0
  449. package/sidebar/package.json +0 -1
  450. package/sidebar/ptsecurity-mosaic-sidebar.d.ts +1 -1
  451. package/sidebar/sidebar.component.d.ts +7 -0
  452. package/sidebar/sidebar.module.d.ts +6 -0
  453. package/sidepanel/package.json +0 -1
  454. package/sidepanel/ptsecurity-mosaic-sidepanel.d.ts +1 -1
  455. package/sidepanel/sidepanel-container.component.d.ts +3 -0
  456. package/sidepanel/sidepanel-directives.d.ts +13 -0
  457. package/sidepanel/sidepanel.module.d.ts +13 -0
  458. package/sidepanel/sidepanel.service.d.ts +3 -0
  459. package/splitter/package.json +0 -1
  460. package/splitter/ptsecurity-mosaic-splitter.d.ts +1 -0
  461. package/splitter/splitter.component.d.ts +7 -0
  462. package/splitter/splitter.module.d.ts +7 -0
  463. package/table/package.json +0 -1
  464. package/table/ptsecurity-mosaic-table.d.ts +1 -0
  465. package/table/table.component.d.ts +3 -0
  466. package/table/table.module.d.ts +8 -0
  467. package/tabs/package.json +0 -1
  468. package/tabs/paginated-tab-header.d.ts +3 -0
  469. package/tabs/ptsecurity-mosaic-tabs.d.ts +1 -5
  470. package/tabs/tab-body.component.d.ts +5 -0
  471. package/tabs/tab-content.directive.d.ts +3 -0
  472. package/tabs/tab-group.component.d.ts +24 -4
  473. package/tabs/tab-header.component.d.ts +3 -0
  474. package/tabs/tab-label-wrapper.directive.d.ts +9 -0
  475. package/tabs/tab-label.directive.d.ts +3 -0
  476. package/tabs/tab-nav-bar/tab-nav-bar.d.ts +5 -0
  477. package/tabs/tab.component.d.ts +12 -3
  478. package/tabs/tabs.module.d.ts +18 -0
  479. package/tags/package.json +0 -1
  480. package/tags/ptsecurity-mosaic-tags.d.ts +1 -0
  481. package/tags/tag-input.d.ts +3 -0
  482. package/tags/tag-list.component.d.ts +3 -0
  483. package/tags/tag.component.d.ts +9 -0
  484. package/tags/tag.module.d.ts +9 -0
  485. package/textarea/package.json +0 -1
  486. package/textarea/ptsecurity-mosaic-textarea.d.ts +1 -0
  487. package/textarea/textarea.component.d.ts +3 -0
  488. package/textarea/textarea.module.d.ts +9 -0
  489. package/timepicker/package.json +0 -1
  490. package/timepicker/ptsecurity-mosaic-timepicker.d.ts +1 -0
  491. package/timepicker/timepicker.directive.d.ts +5 -2
  492. package/timepicker/timepicker.module.d.ts +9 -0
  493. package/toggle/package.json +0 -1
  494. package/toggle/ptsecurity-mosaic-toggle.d.ts +1 -0
  495. package/toggle/toggle.component.d.ts +3 -0
  496. package/toggle/toggle.module.d.ts +8 -0
  497. package/tooltip/package.json +0 -1
  498. package/tooltip/ptsecurity-mosaic-tooltip.d.ts +1 -0
  499. package/tooltip/tooltip.animations.d.ts +8 -0
  500. package/tooltip/tooltip.component.d.ts +74 -134
  501. package/tooltip/tooltip.module.d.ts +7 -0
  502. package/tree/control/base-tree-control.d.ts +40 -0
  503. package/tree/control/flat-tree-control.d.ts +48 -0
  504. package/tree/control/nested-tree-control.d.ts +19 -0
  505. package/tree/control/tree-control.d.ts +44 -0
  506. package/tree/data-source/flat-data-source.d.ts +2 -1
  507. package/tree/node.d.ts +34 -0
  508. package/tree/outlet.d.ts +9 -0
  509. package/tree/package.json +0 -1
  510. package/tree/padding.directive.d.ts +36 -5
  511. package/tree/ptsecurity-mosaic-tree.d.ts +1 -0
  512. package/tree/public-api.d.ts +8 -1
  513. package/tree/toggle.d.ts +20 -15
  514. package/tree/tree-base.d.ts +97 -0
  515. package/tree/tree-errors.d.ts +25 -0
  516. package/tree/tree-option.component.d.ts +15 -4
  517. package/tree/tree-selection.component.d.ts +46 -24
  518. package/tree/tree.d.ts +6 -0
  519. package/tree/tree.module.d.ts +14 -0
  520. package/tree-select/package.json +0 -1
  521. package/tree-select/ptsecurity-mosaic-tree-select.d.ts +1 -0
  522. package/tree-select/tree-select.component.d.ts +8 -8
  523. package/tree-select/tree-select.module.d.ts +11 -0
  524. package/autocomplete/ptsecurity-mosaic-autocomplete.metadata.json +0 -1
  525. package/bundles/ptsecurity-mosaic-autocomplete.umd.min.js +0 -2
  526. package/bundles/ptsecurity-mosaic-autocomplete.umd.min.js.map +0 -1
  527. package/bundles/ptsecurity-mosaic-button-toggle.umd.min.js +0 -16
  528. package/bundles/ptsecurity-mosaic-button-toggle.umd.min.js.map +0 -1
  529. package/bundles/ptsecurity-mosaic-button.umd.min.js +0 -16
  530. package/bundles/ptsecurity-mosaic-button.umd.min.js.map +0 -1
  531. package/bundles/ptsecurity-mosaic-card.umd.min.js +0 -16
  532. package/bundles/ptsecurity-mosaic-card.umd.min.js.map +0 -1
  533. package/bundles/ptsecurity-mosaic-checkbox.umd.min.js +0 -16
  534. package/bundles/ptsecurity-mosaic-checkbox.umd.min.js.map +0 -1
  535. package/bundles/ptsecurity-mosaic-core.umd.min.js +0 -17
  536. package/bundles/ptsecurity-mosaic-core.umd.min.js.map +0 -1
  537. package/bundles/ptsecurity-mosaic-datepicker.umd.min.js +0 -2
  538. package/bundles/ptsecurity-mosaic-datepicker.umd.min.js.map +0 -1
  539. package/bundles/ptsecurity-mosaic-design-tokens.umd.min.js +0 -2
  540. package/bundles/ptsecurity-mosaic-design-tokens.umd.min.js.map +0 -1
  541. package/bundles/ptsecurity-mosaic-divider.umd.min.js +0 -2
  542. package/bundles/ptsecurity-mosaic-divider.umd.min.js.map +0 -1
  543. package/bundles/ptsecurity-mosaic-dropdown.umd.min.js +0 -17
  544. package/bundles/ptsecurity-mosaic-dropdown.umd.min.js.map +0 -1
  545. package/bundles/ptsecurity-mosaic-form-field.umd.min.js +0 -17
  546. package/bundles/ptsecurity-mosaic-form-field.umd.min.js.map +0 -1
  547. package/bundles/ptsecurity-mosaic-icon.umd.min.js +0 -16
  548. package/bundles/ptsecurity-mosaic-icon.umd.min.js.map +0 -1
  549. package/bundles/ptsecurity-mosaic-input.umd.min.js +0 -16
  550. package/bundles/ptsecurity-mosaic-input.umd.min.js.map +0 -1
  551. package/bundles/ptsecurity-mosaic-link.umd.min.js +0 -16
  552. package/bundles/ptsecurity-mosaic-link.umd.min.js.map +0 -1
  553. package/bundles/ptsecurity-mosaic-list.umd.min.js +0 -16
  554. package/bundles/ptsecurity-mosaic-list.umd.min.js.map +0 -1
  555. package/bundles/ptsecurity-mosaic-modal.umd.min.js +0 -16
  556. package/bundles/ptsecurity-mosaic-modal.umd.min.js.map +0 -1
  557. package/bundles/ptsecurity-mosaic-navbar.umd.min.js +0 -16
  558. package/bundles/ptsecurity-mosaic-navbar.umd.min.js.map +0 -1
  559. package/bundles/ptsecurity-mosaic-popover.umd.min.js +0 -16
  560. package/bundles/ptsecurity-mosaic-popover.umd.min.js.map +0 -1
  561. package/bundles/ptsecurity-mosaic-progress-bar.umd.min.js +0 -16
  562. package/bundles/ptsecurity-mosaic-progress-bar.umd.min.js.map +0 -1
  563. package/bundles/ptsecurity-mosaic-progress-spinner.umd.min.js +0 -16
  564. package/bundles/ptsecurity-mosaic-progress-spinner.umd.min.js.map +0 -1
  565. package/bundles/ptsecurity-mosaic-radio.umd.min.js +0 -16
  566. package/bundles/ptsecurity-mosaic-radio.umd.min.js.map +0 -1
  567. package/bundles/ptsecurity-mosaic-select.umd.min.js +0 -16
  568. package/bundles/ptsecurity-mosaic-select.umd.min.js.map +0 -1
  569. package/bundles/ptsecurity-mosaic-sidebar.umd.min.js +0 -2
  570. package/bundles/ptsecurity-mosaic-sidebar.umd.min.js.map +0 -1
  571. package/bundles/ptsecurity-mosaic-sidepanel.umd.min.js +0 -2
  572. package/bundles/ptsecurity-mosaic-sidepanel.umd.min.js.map +0 -1
  573. package/bundles/ptsecurity-mosaic-splitter.umd.min.js +0 -2
  574. package/bundles/ptsecurity-mosaic-splitter.umd.min.js.map +0 -1
  575. package/bundles/ptsecurity-mosaic-table.umd.min.js +0 -2
  576. package/bundles/ptsecurity-mosaic-table.umd.min.js.map +0 -1
  577. package/bundles/ptsecurity-mosaic-tabs.umd.min.js +0 -16
  578. package/bundles/ptsecurity-mosaic-tabs.umd.min.js.map +0 -1
  579. package/bundles/ptsecurity-mosaic-tags.umd.min.js +0 -16
  580. package/bundles/ptsecurity-mosaic-tags.umd.min.js.map +0 -1
  581. package/bundles/ptsecurity-mosaic-textarea.umd.min.js +0 -16
  582. package/bundles/ptsecurity-mosaic-textarea.umd.min.js.map +0 -1
  583. package/bundles/ptsecurity-mosaic-timepicker.umd.min.js +0 -2
  584. package/bundles/ptsecurity-mosaic-timepicker.umd.min.js.map +0 -1
  585. package/bundles/ptsecurity-mosaic-toggle.umd.min.js +0 -16
  586. package/bundles/ptsecurity-mosaic-toggle.umd.min.js.map +0 -1
  587. package/bundles/ptsecurity-mosaic-tooltip.umd.min.js +0 -16
  588. package/bundles/ptsecurity-mosaic-tooltip.umd.min.js.map +0 -1
  589. package/bundles/ptsecurity-mosaic-tree-select.umd.min.js +0 -16
  590. package/bundles/ptsecurity-mosaic-tree-select.umd.min.js.map +0 -1
  591. package/bundles/ptsecurity-mosaic-tree.umd.min.js +0 -16
  592. package/bundles/ptsecurity-mosaic-tree.umd.min.js.map +0 -1
  593. package/bundles/ptsecurity-mosaic.umd.min.js +0 -2
  594. package/bundles/ptsecurity-mosaic.umd.min.js.map +0 -1
  595. package/button/ptsecurity-mosaic-button.metadata.json +0 -1
  596. package/button-toggle/ptsecurity-mosaic-button-toggle.metadata.json +0 -1
  597. package/card/ptsecurity-mosaic-card.metadata.json +0 -1
  598. package/checkbox/ptsecurity-mosaic-checkbox.metadata.json +0 -1
  599. package/core/ptsecurity-mosaic-core.metadata.json +0 -1
  600. package/datepicker/ptsecurity-mosaic-datepicker.metadata.json +0 -1
  601. package/design-tokens/ptsecurity-mosaic-design-tokens.metadata.json +0 -1
  602. package/divider/ptsecurity-mosaic-divider.metadata.json +0 -1
  603. package/dropdown/ptsecurity-mosaic-dropdown.metadata.json +0 -1
  604. package/esm2015/tree/node.directive.js +0 -15
  605. package/form-field/ptsecurity-mosaic-form-field.metadata.json +0 -1
  606. package/icon/ptsecurity-mosaic-icon.metadata.json +0 -1
  607. package/input/ptsecurity-mosaic-input.metadata.json +0 -1
  608. package/link/ptsecurity-mosaic-link.metadata.json +0 -1
  609. package/list/ptsecurity-mosaic-list.metadata.json +0 -1
  610. package/modal/ptsecurity-mosaic-modal.metadata.json +0 -1
  611. package/navbar/ptsecurity-mosaic-navbar.metadata.json +0 -1
  612. package/popover/ptsecurity-mosaic-popover.metadata.json +0 -1
  613. package/progress-bar/ptsecurity-mosaic-progress-bar.metadata.json +0 -1
  614. package/progress-spinner/ptsecurity-mosaic-progress-spinner.metadata.json +0 -1
  615. package/ptsecurity-mosaic.metadata.json +0 -1
  616. package/radio/ptsecurity-mosaic-radio.metadata.json +0 -1
  617. package/select/ptsecurity-mosaic-select.metadata.json +0 -1
  618. package/sidebar/ptsecurity-mosaic-sidebar.metadata.json +0 -1
  619. package/sidepanel/ptsecurity-mosaic-sidepanel.metadata.json +0 -1
  620. package/splitter/ptsecurity-mosaic-splitter.metadata.json +0 -1
  621. package/table/ptsecurity-mosaic-table.metadata.json +0 -1
  622. package/tabs/ptsecurity-mosaic-tabs.metadata.json +0 -1
  623. package/tags/ptsecurity-mosaic-tags.metadata.json +0 -1
  624. package/textarea/ptsecurity-mosaic-textarea.metadata.json +0 -1
  625. package/timepicker/ptsecurity-mosaic-timepicker.metadata.json +0 -1
  626. package/toggle/ptsecurity-mosaic-toggle.metadata.json +0 -1
  627. package/tooltip/ptsecurity-mosaic-tooltip.metadata.json +0 -1
  628. package/tree/node.directive.d.ts +0 -4
  629. package/tree/ptsecurity-mosaic-tree.metadata.json +0 -1
  630. package/tree-select/ptsecurity-mosaic-tree-select.metadata.json +0 -1
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/cdk/a11y'), require('@angular/cdk/overlay'), require('@angular/cdk/portal'), require('@angular/common'), require('@angular/core'), require('@ptsecurity/mosaic/button'), require('@ptsecurity/mosaic/icon'), require('rxjs/operators'), require('@ptsecurity/cdk/datetime'), require('rxjs'), require('@angular/cdk/bidi'), require('@ptsecurity/cdk/keycodes'), require('@angular/cdk/coercion'), require('@angular/forms'), require('@ptsecurity/mosaic/core'), require('@ptsecurity/mosaic/form-field'), require('@angular/animations')) :
3
- typeof define === 'function' && define.amd ? define('@ptsecurity/mosaic/datepicker', ['exports', '@angular/cdk/a11y', '@angular/cdk/overlay', '@angular/cdk/portal', '@angular/common', '@angular/core', '@ptsecurity/mosaic/button', '@ptsecurity/mosaic/icon', 'rxjs/operators', '@ptsecurity/cdk/datetime', 'rxjs', '@angular/cdk/bidi', '@ptsecurity/cdk/keycodes', '@angular/cdk/coercion', '@angular/forms', '@ptsecurity/mosaic/core', '@ptsecurity/mosaic/form-field', '@angular/animations'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.ptsecurity = global.ptsecurity || {}, global.ptsecurity.mosaic = global.ptsecurity.mosaic || {}, global.ptsecurity.mosaic.datepicker = {}), global.ng.cdk.a11y, global.ng.cdk.overlay, global.ng.cdk.portal, global.ng.common, global.ng.core, global.ptsecurity.mosaic.button, global.ptsecurity.mosaic.icon, global.rxjs.operators, global.mc.cdk.datetime, global.rxjs, global.ng.cdk.bidi, global.mc.cdk.keycodes, global.ng.cdk.coercion, global.ng.forms, global.ptsecurity.mosaic.core, global.ptsecurity.mosaic['form-field'], global.ng.animations));
5
- }(this, (function (exports, a11y, overlay, portal, common, i0, button, icon, operators, datetime, rxjs, bidi, keycodes, coercion, forms, core, formField, animations) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/cdk/a11y'), require('@angular/cdk/overlay'), require('@angular/cdk/portal'), require('@angular/common'), require('@angular/core'), require('@ptsecurity/mosaic/button'), require('@ptsecurity/mosaic/icon'), require('rxjs/operators'), require('@ptsecurity/cdk/datetime'), require('rxjs'), require('@ptsecurity/cdk/keycodes'), require('@angular/cdk/bidi'), require('@angular/cdk/coercion'), require('@angular/forms'), require('@ptsecurity/mosaic/core'), require('@ptsecurity/mosaic/form-field'), require('@angular/animations')) :
3
+ typeof define === 'function' && define.amd ? define('@ptsecurity/mosaic/datepicker', ['exports', '@angular/cdk/a11y', '@angular/cdk/overlay', '@angular/cdk/portal', '@angular/common', '@angular/core', '@ptsecurity/mosaic/button', '@ptsecurity/mosaic/icon', 'rxjs/operators', '@ptsecurity/cdk/datetime', 'rxjs', '@ptsecurity/cdk/keycodes', '@angular/cdk/bidi', '@angular/cdk/coercion', '@angular/forms', '@ptsecurity/mosaic/core', '@ptsecurity/mosaic/form-field', '@angular/animations'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.ptsecurity = global.ptsecurity || {}, global.ptsecurity.mosaic = global.ptsecurity.mosaic || {}, global.ptsecurity.mosaic.datepicker = {}), global.ng.cdk.a11y, global.ng.cdk.overlay, global.ng.cdk.portal, global.ng.common, global.ng.core, global.ptsecurity.mosaic.button, global.ptsecurity.mosaic.icon, global.rxjs.operators, global.mc.cdk.datetime, global.rxjs, global.mc.cdk.keycodes, global.ng.cdk.bidi, global.ng.cdk.coercion, global.ng.forms, global.ptsecurity.mosaic.core, global.ptsecurity.mosaic["form-field"], global.ng.animations));
5
+ })(this, (function (exports, a11y, i3$1, i8, i1, i0, i3, i4, operators, i1$1, rxjs, keycodes, i2, coercion, forms, core, formField, animations) { 'use strict';
6
6
 
7
7
  function _interopNamespace(e) {
8
8
  if (e && e.__esModule) return e;
@@ -13,18 +13,23 @@
13
13
  var d = Object.getOwnPropertyDescriptor(e, k);
14
14
  Object.defineProperty(n, k, d.get ? d : {
15
15
  enumerable: true,
16
- get: function () {
17
- return e[k];
18
- }
16
+ get: function () { return e[k]; }
19
17
  });
20
18
  }
21
19
  });
22
20
  }
23
- n['default'] = e;
21
+ n["default"] = e;
24
22
  return Object.freeze(n);
25
23
  }
26
24
 
25
+ var i3__namespace$1 = /*#__PURE__*/_interopNamespace(i3$1);
26
+ var i8__namespace = /*#__PURE__*/_interopNamespace(i8);
27
+ var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
27
28
  var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
29
+ var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
30
+ var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
31
+ var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$1);
32
+ var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
28
33
 
29
34
  // tslint:disable:no-magic-numbers
30
35
  /**
@@ -102,37 +107,42 @@
102
107
  };
103
108
  return McCalendarBody;
104
109
  }());
105
- McCalendarBody.decorators = [
106
- { type: i0.Component, args: [{
107
- selector: '[mc-calendar-body]',
108
- exportAs: 'mcCalendarBody',
109
- template: "<!--\n If there's not enough space in the first row, create a separate label row. We mark this row as\n aria-hidden because we don't want it to be read out as one of the weeks in the month.\n-->\n<tr *ngIf=\"firstRowOffset < labelMinRequiredCells\">\n <td class=\"mc-calendar__body-label\" [attr.colspan]=\"numCols\">\n {{ label }}\n </td>\n</tr>\n\n<!-- Create the first row separately so we can include a special spacer cell. -->\n<tr *ngFor=\"let row of rows; let rowIndex = index\">\n <!--\n We mark this cell as aria-hidden so it doesn't get read out as one of the days in the week.\n The aspect ratio of the table cells is maintained by setting the top and bottom padding as a\n percentage of the width (a variant of the trick described here:\n https://www.w3schools.com/howto/howto_css_aspect_ratio.asp).\n -->\n <td *ngIf=\"rowIndex === 0 && firstRowOffset\"\n class=\"mc-calendar__body-label\"\n [attr.colspan]=\"firstRowOffset\">\n {{ firstRowOffset >= labelMinRequiredCells ? label : '' }}\n </td>\n <td *ngFor=\"let item of row; let colIndex = index\"\n class=\"mc-calendar__body-cell\"\n [ngClass]=\"item.cssClasses\"\n [tabindex]=\"isActiveCell(rowIndex, colIndex) ? 0 : -1\"\n [class.mc-calendar__body_disabled]=\"!item.enabled\"\n [class.mc-calendar__body_active]=\"isActiveCell(rowIndex, colIndex)\"\n (click)=\"cellClicked(item)\"\n [style.width]=\"cellWidth\"\n [style.paddingTop]=\"cellPadding\"\n [style.paddingBottom]=\"cellPadding\">\n <div class=\"mc-calendar__body-cell-content\"\n [class.mc-selected]=\"selectedValue === item.value\"\n [class.mc-calendar__body-today]=\"todayValue === item.value\">\n {{ item.displayValue }}\n </div>\n </td>\n</tr>\n",
110
- host: {
111
- class: 'mc-calendar__body',
112
- role: 'grid',
113
- 'aria-readonly': 'true'
114
- },
115
- encapsulation: i0.ViewEncapsulation.None,
116
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
117
- styles: [".mc-calendar__body{min-width:calc(7 * var(--mc-datepicker-body-size-cell-min-size, $datepicker-body-size-cell-min-size))}.mc-calendar__body-label{text-align:left;padding:var(--mc-datepicker-body-size-label-paddings,8px 28px 12px 12px)}.mc-calendar__body-cell{position:relative;height:0;line-height:0;text-align:center;outline:none;cursor:pointer}.mc-calendar__body_disabled{cursor:default}.mc-calendar__body-cell-content{position:absolute;top:var(--mc-datepicker-body-size-cell-margin,5%);left:var(--mc-datepicker-body-size-cell-margin,5%);padding:var(--mc-datepicker-body-size-cell-padding,8px);display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:var(--mc-datepicker-body-size-cell-border-width,1px);border-style:solid}.cdk-high-contrast-active .mc-calendar__body-cell-content,.cdk-high-contrast-active :host .mc-calendar__body-cell-content{border:none}mc-month-view .mc-calendar__body-cell-content{justify-content:flex-end}mc-multi-year-view .mc-calendar__body-cell-content,mc-year-view .mc-calendar__body-cell-content{justify-content:center}.cdk-high-contrast-active .mc-datepicker__popup:not(:empty),.cdk-high-contrast-active .mc-selected{outline:1px solid}.cdk-high-contrast-active .mc-calendar__body-today{outline:1px dotted}.cdk-high-contrast-active :host .mc-datepicker__popup:not(:empty),.cdk-high-contrast-active :host .mc-selected{outline:1px solid}.cdk-high-contrast-active :host .mc-calendar__body-today{outline:1px dotted}[dir=rtl] .mc-calendar__body-label{text-align:right}"]
118
- },] }
119
- ];
120
- /** @nocollapse */
121
- McCalendarBody.ctorParameters = function () { return [
122
- { type: i0.ElementRef },
123
- { type: i0.NgZone }
124
- ]; };
125
- McCalendarBody.propDecorators = {
126
- label: [{ type: i0.Input }],
127
- rows: [{ type: i0.Input }],
128
- todayValue: [{ type: i0.Input }],
129
- selectedValue: [{ type: i0.Input }],
130
- labelMinRequiredCells: [{ type: i0.Input }],
131
- numCols: [{ type: i0.Input }],
132
- activeCell: [{ type: i0.Input }],
133
- cellAspectRatio: [{ type: i0.Input }],
134
- selectedValueChange: [{ type: i0.Output }]
135
- };
110
+ /** @nocollapse */ McCalendarBody.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McCalendarBody, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.NgZone }], target: i0__namespace.ɵɵFactoryTarget.Component });
111
+ /** @nocollapse */ McCalendarBody.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: McCalendarBody, selector: "[mc-calendar-body]", inputs: { label: "label", rows: "rows", todayValue: "todayValue", selectedValue: "selectedValue", labelMinRequiredCells: "labelMinRequiredCells", numCols: "numCols", activeCell: "activeCell", cellAspectRatio: "cellAspectRatio" }, outputs: { selectedValueChange: "selectedValueChange" }, host: { attributes: { "role": "grid", "aria-readonly": "true" }, classAttribute: "mc-calendar__body" }, exportAs: ["mcCalendarBody"], usesOnChanges: true, ngImport: i0__namespace, template: "<!--\n If there's not enough space in the first row, create a separate label row. We mark this row as\n aria-hidden because we don't want it to be read out as one of the weeks in the month.\n-->\n<tr *ngIf=\"firstRowOffset < labelMinRequiredCells\">\n <td class=\"mc-calendar__body-label\" [attr.colspan]=\"numCols\">\n {{ label }}\n </td>\n</tr>\n\n<!-- Create the first row separately so we can include a special spacer cell. -->\n<tr *ngFor=\"let row of rows; let rowIndex = index\">\n <!--\n We mark this cell as aria-hidden so it doesn't get read out as one of the days in the week.\n The aspect ratio of the table cells is maintained by setting the top and bottom padding as a\n percentage of the width (a variant of the trick described here:\n https://www.w3schools.com/howto/howto_css_aspect_ratio.asp).\n -->\n <td *ngIf=\"rowIndex === 0 && firstRowOffset\"\n class=\"mc-calendar__body-label\"\n [attr.colspan]=\"firstRowOffset\">\n {{ firstRowOffset >= labelMinRequiredCells ? label : '' }}\n </td>\n <td *ngFor=\"let item of row; let colIndex = index\"\n class=\"mc-calendar__body-cell\"\n [ngClass]=\"item.cssClasses!\"\n [tabindex]=\"isActiveCell(rowIndex, colIndex) ? 0 : -1\"\n [class.mc-calendar__body_disabled]=\"!item.enabled\"\n [class.mc-calendar__body_active]=\"isActiveCell(rowIndex, colIndex)\"\n (click)=\"cellClicked(item)\"\n [style.width]=\"cellWidth\"\n [style.paddingTop]=\"cellPadding\"\n [style.paddingBottom]=\"cellPadding\">\n <div class=\"mc-calendar__body-cell-content\"\n [class.mc-selected]=\"selectedValue === item.value\"\n [class.mc-calendar__body-today]=\"todayValue === item.value\">\n {{ item.displayValue }}\n </div>\n </td>\n</tr>\n", styles: [".mc-calendar__body{min-width:calc(7 * 32px);min-width:calc(7 * var(--mc-datepicker-body-size-cell-min-size, 32px))}.mc-calendar__body-label{text-align:left;padding:8px 28px 12px 12px;padding:var(--mc-datepicker-body-size-label-paddings, 8px 28px 12px 12px)}.mc-calendar__body-cell{position:relative;height:0;line-height:0;text-align:center;outline:none;cursor:pointer}.mc-calendar__body_disabled{cursor:default}.mc-calendar__body-cell-content{position:absolute;top:5%;top:var(--mc-datepicker-body-size-cell-margin, 5%);left:5%;left:var(--mc-datepicker-body-size-cell-margin, 5%);padding:8px;padding:var(--mc-datepicker-body-size-cell-padding, 8px);display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-width:var(--mc-datepicker-body-size-cell-border-width, 1px);border-style:solid}.cdk-high-contrast-active .mc-calendar__body-cell-content{border:none}.cdk-high-contrast-active :host .mc-calendar__body-cell-content{border:none}mc-month-view .mc-calendar__body-cell-content{justify-content:flex-end}mc-multi-year-view .mc-calendar__body-cell-content,mc-year-view .mc-calendar__body-cell-content{justify-content:center}.cdk-high-contrast-active .mc-datepicker__popup:not(:empty),.cdk-high-contrast-active .mc-selected{outline:solid 1px}.cdk-high-contrast-active .mc-calendar__body-today{outline:dotted 1px}.cdk-high-contrast-active :host .mc-datepicker__popup:not(:empty),.cdk-high-contrast-active :host .mc-selected{outline:solid 1px}.cdk-high-contrast-active :host .mc-calendar__body-today{outline:dotted 1px}[dir=rtl] .mc-calendar__body-label{text-align:right}\n"], directives: [{ type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
112
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McCalendarBody, decorators: [{
113
+ type: i0.Component,
114
+ args: [{
115
+ selector: '[mc-calendar-body]',
116
+ exportAs: 'mcCalendarBody',
117
+ templateUrl: 'calendar-body.html',
118
+ styleUrls: ['calendar-body.scss'],
119
+ host: {
120
+ class: 'mc-calendar__body',
121
+ role: 'grid',
122
+ 'aria-readonly': 'true'
123
+ },
124
+ encapsulation: i0.ViewEncapsulation.None,
125
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
126
+ }]
127
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.NgZone }]; }, propDecorators: { label: [{
128
+ type: i0.Input
129
+ }], rows: [{
130
+ type: i0.Input
131
+ }], todayValue: [{
132
+ type: i0.Input
133
+ }], selectedValue: [{
134
+ type: i0.Input
135
+ }], labelMinRequiredCells: [{
136
+ type: i0.Input
137
+ }], numCols: [{
138
+ type: i0.Input
139
+ }], activeCell: [{
140
+ type: i0.Input
141
+ }], cellAspectRatio: [{
142
+ type: i0.Input
143
+ }], selectedValueChange: [{
144
+ type: i0.Output
145
+ }] } });
136
146
 
137
147
  /** @docs-private */
138
148
  function createMissingDateImplError(provider) {
@@ -140,43 +150,6 @@
140
150
  "modules at your application root or provide a custom implementation or use exists ones.");
141
151
  }
142
152
 
143
- /** Datepicker data that requires internationalization. */
144
- var McDatepickerIntl = /** @class */ (function () {
145
- function McDatepickerIntl() {
146
- /**
147
- * Stream that emits whenever the labels here are changed. Use this to notify
148
- * components if the labels have changed after initialization.
149
- */
150
- this.changes = new rxjs.Subject();
151
- /** A label for the calendar popup (used by screen readers). */
152
- this.calendarLabel = 'Calendar';
153
- /** A label for the button used to open the calendar popup (used by screen readers). */
154
- this.openCalendarLabel = 'Open calendar';
155
- /** A label for the previous month button (used by screen readers). */
156
- this.prevMonthLabel = 'Previous month';
157
- /** A label for the next month button (used by screen readers). */
158
- this.nextMonthLabel = 'Next month';
159
- /** A label for the previous year button (used by screen readers). */
160
- this.prevYearLabel = 'Previous year';
161
- /** A label for the next year button (used by screen readers). */
162
- this.nextYearLabel = 'Next year';
163
- /** A label for the previous multi-year button (used by screen readers). */
164
- this.prevMultiYearLabel = 'Previous 20 years';
165
- /** A label for the next multi-year button (used by screen readers). */
166
- this.nextMultiYearLabel = 'Next 20 years';
167
- /** A label for the 'switch to month view' button (used by screen readers). */
168
- this.switchToMonthViewLabel = 'Choose date';
169
- /** A label for the 'switch to year view' button (used by screen readers). */
170
- this.switchToMultiYearViewLabel = 'Choose month and year';
171
- }
172
- return McDatepickerIntl;
173
- }());
174
- /** @nocollapse */ McDatepickerIntl.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function McDatepickerIntl_Factory() { return new McDatepickerIntl(); }, token: McDatepickerIntl, providedIn: "root" });
175
- McDatepickerIntl.decorators = [
176
- { type: i0.Injectable, args: [{ providedIn: 'root' },] }
177
- ];
178
-
179
- // tslint:disable:no-magic-numbers
180
153
  var DAYS_PER_WEEK = 7;
181
154
  /**
182
155
  * An internal component used to display a single month in the datepicker.
@@ -402,36 +375,51 @@
402
375
  };
403
376
  return McMonthView;
404
377
  }());
405
- McMonthView.decorators = [
406
- { type: i0.Component, args: [{
407
- selector: 'mc-month-view',
408
- exportAs: 'mcMonthView',
409
- template: "<table class=\"mc-calendar__table\">\n <thead class=\"mc-calendar__table-header\">\n <tr>\n <th *ngFor=\"let day of weekdays\" [attr.aria-label]=\"day.long\">{{day.narrow}}</th>\n </tr>\n <tr>\n <th class=\"mc-calendar__table-header-divider\" colspan=\"7\"></th>\n </tr>\n </thead>\n <tbody mc-calendar-body\n [label]=\"monthLabel\"\n [rows]=\"weeks\"\n [todayValue]=\"todayDate\"\n [selectedValue]=\"selectedDate\"\n [labelMinRequiredCells]=\"3\"\n [activeCell]=\"dateAdapter.getDate(activeDate) - 1\"\n (selectedValueChange)=\"dateSelected($event)\"\n (keydown)=\"handleCalendarBodyKeydown($event)\">\n </tbody>\n</table>\n",
410
- encapsulation: i0.ViewEncapsulation.None,
411
- changeDetection: i0.ChangeDetectionStrategy.OnPush
412
- },] }
413
- ];
414
- /** @nocollapse */
415
- McMonthView.ctorParameters = function () { return [
416
- { type: i0.ChangeDetectorRef },
417
- { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [datetime.MC_DATE_FORMATS,] }] },
418
- { type: datetime.DateAdapter, decorators: [{ type: i0.Optional }] },
419
- { type: bidi.Directionality, decorators: [{ type: i0.Optional }] }
420
- ]; };
421
- McMonthView.propDecorators = {
422
- activeDate: [{ type: i0.Input }],
423
- selected: [{ type: i0.Input }],
424
- minDate: [{ type: i0.Input }],
425
- maxDate: [{ type: i0.Input }],
426
- dateFilter: [{ type: i0.Input }],
427
- dateClass: [{ type: i0.Input }],
428
- selectedChange: [{ type: i0.Output }],
429
- userSelection: [{ type: i0.Output }],
430
- activeDateChange: [{ type: i0.Output }],
431
- mcCalendarBody: [{ type: i0.ViewChild, args: [McCalendarBody, { static: false },] }]
432
- };
378
+ /** @nocollapse */ McMonthView.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McMonthView, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: i1$1.MC_DATE_FORMATS, optional: true }, { token: i1__namespace$1.DateAdapter, optional: true }, { token: i2__namespace.Directionality, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
379
+ /** @nocollapse */ McMonthView.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: McMonthView, selector: "mc-month-view", inputs: { activeDate: "activeDate", selected: "selected", minDate: "minDate", maxDate: "maxDate", dateFilter: "dateFilter", dateClass: "dateClass" }, outputs: { selectedChange: "selectedChange", userSelection: "userSelection", activeDateChange: "activeDateChange" }, viewQueries: [{ propertyName: "mcCalendarBody", first: true, predicate: McCalendarBody, descendants: true }], exportAs: ["mcMonthView"], ngImport: i0__namespace, template: "<table class=\"mc-calendar__table\">\n <thead class=\"mc-calendar__table-header\">\n <tr>\n <th *ngFor=\"let day of weekdays\" [attr.aria-label]=\"day.long\">{{day.narrow}}</th>\n </tr>\n <tr>\n <th class=\"mc-calendar__table-header-divider\" colspan=\"7\"></th>\n </tr>\n </thead>\n <tbody mc-calendar-body\n [label]=\"monthLabel\"\n [rows]=\"weeks\"\n [todayValue]=\"todayDate!\"\n [selectedValue]=\"selectedDate!\"\n [labelMinRequiredCells]=\"3\"\n [activeCell]=\"dateAdapter.getDate(activeDate) - 1\"\n (selectedValueChange)=\"dateSelected($event)\"\n (keydown)=\"handleCalendarBodyKeydown($event)\">\n </tbody>\n</table>\n", components: [{ type: McCalendarBody, selector: "[mc-calendar-body]", inputs: ["label", "rows", "todayValue", "selectedValue", "labelMinRequiredCells", "numCols", "activeCell", "cellAspectRatio"], outputs: ["selectedValueChange"], exportAs: ["mcCalendarBody"] }], directives: [{ type: i1__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
380
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McMonthView, decorators: [{
381
+ type: i0.Component,
382
+ args: [{
383
+ selector: 'mc-month-view',
384
+ exportAs: 'mcMonthView',
385
+ templateUrl: 'month-view.html',
386
+ encapsulation: i0.ViewEncapsulation.None,
387
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
388
+ }]
389
+ }], ctorParameters: function () {
390
+ return [{ type: i0__namespace.ChangeDetectorRef }, { type: undefined, decorators: [{
391
+ type: i0.Optional
392
+ }, {
393
+ type: i0.Inject,
394
+ args: [i1$1.MC_DATE_FORMATS]
395
+ }] }, { type: i1__namespace$1.DateAdapter, decorators: [{
396
+ type: i0.Optional
397
+ }] }, { type: i2__namespace.Directionality, decorators: [{
398
+ type: i0.Optional
399
+ }] }];
400
+ }, propDecorators: { activeDate: [{
401
+ type: i0.Input
402
+ }], selected: [{
403
+ type: i0.Input
404
+ }], minDate: [{
405
+ type: i0.Input
406
+ }], maxDate: [{
407
+ type: i0.Input
408
+ }], dateFilter: [{
409
+ type: i0.Input
410
+ }], dateClass: [{
411
+ type: i0.Input
412
+ }], selectedChange: [{
413
+ type: i0.Output
414
+ }], userSelection: [{
415
+ type: i0.Output
416
+ }], activeDateChange: [{
417
+ type: i0.Output
418
+ }], mcCalendarBody: [{
419
+ type: i0.ViewChild,
420
+ args: [McCalendarBody, { static: false }]
421
+ }] } });
433
422
 
434
- // tslint:disable:no-magic-numbers
435
423
  var yearsPerPage = 24;
436
424
  var yearsPerRow = 4;
437
425
  /**
@@ -627,32 +615,43 @@
627
615
  };
628
616
  return McMultiYearView;
629
617
  }());
630
- McMultiYearView.decorators = [
631
- { type: i0.Component, args: [{
632
- selector: 'mc-multi-year-view',
633
- exportAs: 'mcMultiYearView',
634
- template: "<table class=\"mc-calendar__table\">\n <thead class=\"mc-calendar__table-header\">\n <tr>\n <th class=\"mc-calendar__table-header-divider\" colspan=\"4\"></th>\n </tr>\n </thead>\n <tbody mc-calendar-body\n [rows]=\"years\"\n [todayValue]=\"todayYear\"\n [selectedValue]=\"selectedYear\"\n [numCols]=\"4\"\n [cellAspectRatio]=\"4 / 7\"\n [activeCell]=\"getActiveCell()\"\n (selectedValueChange)=\"onYearSelected($event)\"\n (keydown)=\"handleCalendarBodyKeydown($event)\">\n </tbody>\n</table>\n",
635
- encapsulation: i0.ViewEncapsulation.None,
636
- changeDetection: i0.ChangeDetectionStrategy.OnPush
637
- },] }
638
- ];
639
- /** @nocollapse */
640
- McMultiYearView.ctorParameters = function () { return [
641
- { type: i0.ChangeDetectorRef },
642
- { type: datetime.DateAdapter, decorators: [{ type: i0.Optional }] },
643
- { type: bidi.Directionality, decorators: [{ type: i0.Optional }] }
644
- ]; };
645
- McMultiYearView.propDecorators = {
646
- activeDate: [{ type: i0.Input }],
647
- selected: [{ type: i0.Input }],
648
- minDate: [{ type: i0.Input }],
649
- maxDate: [{ type: i0.Input }],
650
- dateFilter: [{ type: i0.Input }],
651
- selectedChange: [{ type: i0.Output }],
652
- yearSelected: [{ type: i0.Output }],
653
- activeDateChange: [{ type: i0.Output }],
654
- mcCalendarBody: [{ type: i0.ViewChild, args: [McCalendarBody, { static: false },] }]
655
- };
618
+ /** @nocollapse */ McMultiYearView.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McMultiYearView, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: i1__namespace$1.DateAdapter, optional: true }, { token: i2__namespace.Directionality, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
619
+ /** @nocollapse */ McMultiYearView.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: McMultiYearView, selector: "mc-multi-year-view", inputs: { activeDate: "activeDate", selected: "selected", minDate: "minDate", maxDate: "maxDate", dateFilter: "dateFilter" }, outputs: { selectedChange: "selectedChange", yearSelected: "yearSelected", activeDateChange: "activeDateChange" }, viewQueries: [{ propertyName: "mcCalendarBody", first: true, predicate: McCalendarBody, descendants: true }], exportAs: ["mcMultiYearView"], ngImport: i0__namespace, template: "<table class=\"mc-calendar__table\">\n <thead class=\"mc-calendar__table-header\">\n <tr>\n <th class=\"mc-calendar__table-header-divider\" colspan=\"4\"></th>\n </tr>\n </thead>\n <tbody mc-calendar-body\n [rows]=\"years\"\n [todayValue]=\"todayYear\"\n [selectedValue]=\"selectedYear!\"\n [numCols]=\"4\"\n [cellAspectRatio]=\"4 / 7\"\n [activeCell]=\"getActiveCell()\"\n (selectedValueChange)=\"onYearSelected($event)\"\n (keydown)=\"handleCalendarBodyKeydown($event)\">\n </tbody>\n</table>\n", components: [{ type: McCalendarBody, selector: "[mc-calendar-body]", inputs: ["label", "rows", "todayValue", "selectedValue", "labelMinRequiredCells", "numCols", "activeCell", "cellAspectRatio"], outputs: ["selectedValueChange"], exportAs: ["mcCalendarBody"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
620
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McMultiYearView, decorators: [{
621
+ type: i0.Component,
622
+ args: [{
623
+ selector: 'mc-multi-year-view',
624
+ exportAs: 'mcMultiYearView',
625
+ templateUrl: 'multi-year-view.html',
626
+ encapsulation: i0.ViewEncapsulation.None,
627
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
628
+ }]
629
+ }], ctorParameters: function () {
630
+ return [{ type: i0__namespace.ChangeDetectorRef }, { type: i1__namespace$1.DateAdapter, decorators: [{
631
+ type: i0.Optional
632
+ }] }, { type: i2__namespace.Directionality, decorators: [{
633
+ type: i0.Optional
634
+ }] }];
635
+ }, propDecorators: { activeDate: [{
636
+ type: i0.Input
637
+ }], selected: [{
638
+ type: i0.Input
639
+ }], minDate: [{
640
+ type: i0.Input
641
+ }], maxDate: [{
642
+ type: i0.Input
643
+ }], dateFilter: [{
644
+ type: i0.Input
645
+ }], selectedChange: [{
646
+ type: i0.Output
647
+ }], yearSelected: [{
648
+ type: i0.Output
649
+ }], activeDateChange: [{
650
+ type: i0.Output
651
+ }], mcCalendarBody: [{
652
+ type: i0.ViewChild,
653
+ args: [McCalendarBody, { static: false }]
654
+ }] } });
656
655
 
657
656
  /**
658
657
  * An internal component used to display a single year in the datepicker.
@@ -880,33 +879,86 @@
880
879
  };
881
880
  return McYearView;
882
881
  }());
883
- McYearView.decorators = [
884
- { type: i0.Component, args: [{
885
- selector: 'mc-year-view',
886
- exportAs: 'mcYearView',
887
- template: "<table class=\"mc-calendar__table\">\n <thead class=\"mc-calendar__table-header\">\n <tr>\n <th class=\"mc-calendar__table-header-divider\" colspan=\"4\"></th>\n </tr>\n </thead>\n <tbody mc-calendar-body\n [label]=\"yearLabel\"\n [rows]=\"months\"\n [todayValue]=\"todayMonth\"\n [selectedValue]=\"selectedMonth\"\n [labelMinRequiredCells]=\"2\"\n [numCols]=\"4\"\n [cellAspectRatio]=\"4 / 7\"\n [activeCell]=\"dateAdapter.getMonth(activeDate)\"\n (selectedValueChange)=\"onMonthSelected($event)\"\n (keydown)=\"handleCalendarBodyKeydown($event)\">\n </tbody>\n</table>\n",
888
- encapsulation: i0.ViewEncapsulation.None,
889
- changeDetection: i0.ChangeDetectionStrategy.OnPush
890
- },] }
891
- ];
892
- /** @nocollapse */
893
- McYearView.ctorParameters = function () { return [
894
- { type: i0.ChangeDetectorRef },
895
- { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [datetime.MC_DATE_FORMATS,] }] },
896
- { type: datetime.DateAdapter, decorators: [{ type: i0.Optional }] },
897
- { type: bidi.Directionality, decorators: [{ type: i0.Optional }] }
898
- ]; };
899
- McYearView.propDecorators = {
900
- activeDate: [{ type: i0.Input }],
901
- selected: [{ type: i0.Input }],
902
- minDate: [{ type: i0.Input }],
903
- maxDate: [{ type: i0.Input }],
904
- dateFilter: [{ type: i0.Input }],
905
- selectedChange: [{ type: i0.Output }],
906
- monthSelected: [{ type: i0.Output }],
907
- activeDateChange: [{ type: i0.Output }],
908
- mcCalendarBody: [{ type: i0.ViewChild, args: [McCalendarBody, { static: false },] }]
909
- };
882
+ /** @nocollapse */ McYearView.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McYearView, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: i1$1.MC_DATE_FORMATS, optional: true }, { token: i1__namespace$1.DateAdapter, optional: true }, { token: i2__namespace.Directionality, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
883
+ /** @nocollapse */ McYearView.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: McYearView, selector: "mc-year-view", inputs: { activeDate: "activeDate", selected: "selected", minDate: "minDate", maxDate: "maxDate", dateFilter: "dateFilter" }, outputs: { selectedChange: "selectedChange", monthSelected: "monthSelected", activeDateChange: "activeDateChange" }, viewQueries: [{ propertyName: "mcCalendarBody", first: true, predicate: McCalendarBody, descendants: true }], exportAs: ["mcYearView"], ngImport: i0__namespace, template: "<table class=\"mc-calendar__table\">\n <thead class=\"mc-calendar__table-header\">\n <tr>\n <th class=\"mc-calendar__table-header-divider\" colspan=\"4\"></th>\n </tr>\n </thead>\n <tbody mc-calendar-body\n [label]=\"yearLabel\"\n [rows]=\"months\"\n [todayValue]=\"todayMonth!\"\n [selectedValue]=\"selectedMonth!\"\n [labelMinRequiredCells]=\"2\"\n [numCols]=\"4\"\n [cellAspectRatio]=\"4 / 7\"\n [activeCell]=\"dateAdapter.getMonth(activeDate)\"\n (selectedValueChange)=\"onMonthSelected($event)\"\n (keydown)=\"handleCalendarBodyKeydown($event)\">\n </tbody>\n</table>\n", components: [{ type: McCalendarBody, selector: "[mc-calendar-body]", inputs: ["label", "rows", "todayValue", "selectedValue", "labelMinRequiredCells", "numCols", "activeCell", "cellAspectRatio"], outputs: ["selectedValueChange"], exportAs: ["mcCalendarBody"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
884
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McYearView, decorators: [{
885
+ type: i0.Component,
886
+ args: [{
887
+ selector: 'mc-year-view',
888
+ exportAs: 'mcYearView',
889
+ templateUrl: 'year-view.html',
890
+ encapsulation: i0.ViewEncapsulation.None,
891
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
892
+ }]
893
+ }], ctorParameters: function () {
894
+ return [{ type: i0__namespace.ChangeDetectorRef }, { type: undefined, decorators: [{
895
+ type: i0.Optional
896
+ }, {
897
+ type: i0.Inject,
898
+ args: [i1$1.MC_DATE_FORMATS]
899
+ }] }, { type: i1__namespace$1.DateAdapter, decorators: [{
900
+ type: i0.Optional
901
+ }] }, { type: i2__namespace.Directionality, decorators: [{
902
+ type: i0.Optional
903
+ }] }];
904
+ }, propDecorators: { activeDate: [{
905
+ type: i0.Input
906
+ }], selected: [{
907
+ type: i0.Input
908
+ }], minDate: [{
909
+ type: i0.Input
910
+ }], maxDate: [{
911
+ type: i0.Input
912
+ }], dateFilter: [{
913
+ type: i0.Input
914
+ }], selectedChange: [{
915
+ type: i0.Output
916
+ }], monthSelected: [{
917
+ type: i0.Output
918
+ }], activeDateChange: [{
919
+ type: i0.Output
920
+ }], mcCalendarBody: [{
921
+ type: i0.ViewChild,
922
+ args: [McCalendarBody, { static: false }]
923
+ }] } });
924
+
925
+ /** Datepicker data that requires internationalization. */
926
+ var McDatepickerIntl = /** @class */ (function () {
927
+ function McDatepickerIntl() {
928
+ /**
929
+ * Stream that emits whenever the labels here are changed. Use this to notify
930
+ * components if the labels have changed after initialization.
931
+ */
932
+ this.changes = new rxjs.Subject();
933
+ /** A label for the calendar popup (used by screen readers). */
934
+ this.calendarLabel = 'Calendar';
935
+ /** A label for the button used to open the calendar popup (used by screen readers). */
936
+ this.openCalendarLabel = 'Open calendar';
937
+ /** A label for the previous month button (used by screen readers). */
938
+ this.prevMonthLabel = 'Previous month';
939
+ /** A label for the next month button (used by screen readers). */
940
+ this.nextMonthLabel = 'Next month';
941
+ /** A label for the previous year button (used by screen readers). */
942
+ this.prevYearLabel = 'Previous year';
943
+ /** A label for the next year button (used by screen readers). */
944
+ this.nextYearLabel = 'Next year';
945
+ /** A label for the previous multi-year button (used by screen readers). */
946
+ this.prevMultiYearLabel = 'Previous 20 years';
947
+ /** A label for the next multi-year button (used by screen readers). */
948
+ this.nextMultiYearLabel = 'Next 20 years';
949
+ /** A label for the 'switch to month view' button (used by screen readers). */
950
+ this.switchToMonthViewLabel = 'Choose date';
951
+ /** A label for the 'switch to year view' button (used by screen readers). */
952
+ this.switchToMultiYearViewLabel = 'Choose month and year';
953
+ }
954
+ return McDatepickerIntl;
955
+ }());
956
+ /** @nocollapse */ McDatepickerIntl.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McDatepickerIntl, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
957
+ /** @nocollapse */ McDatepickerIntl.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McDatepickerIntl, providedIn: 'root' });
958
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McDatepickerIntl, decorators: [{
959
+ type: i0.Injectable,
960
+ args: [{ providedIn: 'root' }]
961
+ }] });
910
962
 
911
963
  /**
912
964
  * Possible views for the calendar.
@@ -1038,26 +1090,33 @@
1038
1090
  };
1039
1091
  return McCalendarHeader;
1040
1092
  }());
1041
- McCalendarHeader.decorators = [
1042
- { type: i0.Component, args: [{
1043
- selector: 'mc-calendar-header',
1044
- template: "<button mc-button\n [tabindex]=\"'-1'\"\n class=\"mc-button_transparent mc-calendar__period-button\"\n (click)=\"currentPeriodClicked()\">\n {{ periodButtonText }}\n\n <i class=\"mc mc-icon\"\n [class.mc-angle-up-M_16]=\"calendar.currentView !== 'month'\"\n [class.mc-angle-down-M_16]=\"calendar.currentView === 'month'\">\n </i>\n</button>\n\n<div class=\"mc-calendar-spacer\"></div>\n\n<button mc-button\n [tabindex]=\"'-1'\"\n class=\"mc-button_transparent mc-calendar__previous-button\"\n [disabled]=\"!previousEnabled()\"\n (click)=\"previousClicked()\">\n\n <i mc-icon=\"mc-angle-left-L_16\"></i>\n</button>\n\n<button mc-button\n [tabindex]=\"'-1'\"\n class=\"mc-button_transparent mc-calendar__next-button\"\n [disabled]=\"!nextEnabled()\"\n (click)=\"nextClicked()\">\n\n <i mc-icon=\"mc-angle-right-L_16\"></i>\n</button>\n",
1045
- exportAs: 'mcCalendarHeader',
1046
- host: {
1047
- class: 'mc-calendar-header'
1048
- },
1049
- encapsulation: i0.ViewEncapsulation.None,
1050
- changeDetection: i0.ChangeDetectionStrategy.OnPush
1051
- },] }
1052
- ];
1053
- /** @nocollapse */
1054
- McCalendarHeader.ctorParameters = function () { return [
1055
- { type: McDatepickerIntl },
1056
- { type: McCalendar, decorators: [{ type: i0.Inject, args: [i0.forwardRef(function () { return McCalendar; }),] }] },
1057
- { type: datetime.DateAdapter, decorators: [{ type: i0.Optional }] },
1058
- { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [datetime.MC_DATE_FORMATS,] }] },
1059
- { type: i0.ChangeDetectorRef }
1060
- ]; };
1093
+ /** @nocollapse */ McCalendarHeader.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McCalendarHeader, deps: [{ token: McDatepickerIntl }, { token: i0.forwardRef(function () { return McCalendar; }) }, { token: i1__namespace$1.DateAdapter, optional: true }, { token: i1$1.MC_DATE_FORMATS, optional: true }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
1094
+ /** @nocollapse */ McCalendarHeader.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: McCalendarHeader, selector: "mc-calendar-header", host: { classAttribute: "mc-calendar-header" }, exportAs: ["mcCalendarHeader"], ngImport: i0__namespace, template: "<button mc-button\n [tabindex]=\"'-1'\"\n class=\"mc-button_transparent mc-calendar__period-button\"\n (click)=\"currentPeriodClicked()\">\n {{ periodButtonText }}\n\n <i class=\"mc mc-icon\"\n [class.mc-angle-up-M_16]=\"calendar.currentView !== 'month'\"\n [class.mc-angle-down-M_16]=\"calendar.currentView === 'month'\">\n </i>\n</button>\n\n<div class=\"mc-calendar-spacer\"></div>\n\n<button mc-button\n [tabindex]=\"'-1'\"\n class=\"mc-button_transparent mc-calendar__previous-button\"\n [disabled]=\"!previousEnabled()\"\n (click)=\"previousClicked()\">\n\n <i mc-icon=\"mc-angle-left-L_16\"></i>\n</button>\n\n<button mc-button\n [tabindex]=\"'-1'\"\n class=\"mc-button_transparent mc-calendar__next-button\"\n [disabled]=\"!nextEnabled()\"\n (click)=\"nextClicked()\">\n\n <i mc-icon=\"mc-angle-right-L_16\"></i>\n</button>\n", components: [{ type: i3__namespace.McButton, selector: "button[mc-button]", inputs: ["disabled", "color"] }, { type: i4__namespace.McIcon, selector: "[mc-icon]", inputs: ["color"] }], directives: [{ type: i3__namespace.McButtonCssStyler, selector: "button[mc-button], a[mc-button]" }, { type: i4__namespace.McIconCSSStyler, selector: "[mc-icon]" }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
1095
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McCalendarHeader, decorators: [{
1096
+ type: i0.Component,
1097
+ args: [{
1098
+ selector: 'mc-calendar-header',
1099
+ templateUrl: 'calendar-header.html',
1100
+ exportAs: 'mcCalendarHeader',
1101
+ host: {
1102
+ class: 'mc-calendar-header'
1103
+ },
1104
+ encapsulation: i0.ViewEncapsulation.None,
1105
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
1106
+ }]
1107
+ }], ctorParameters: function () {
1108
+ return [{ type: McDatepickerIntl }, { type: McCalendar, decorators: [{
1109
+ type: i0.Inject,
1110
+ args: [i0.forwardRef(function () { return McCalendar; })]
1111
+ }] }, { type: i1__namespace$1.DateAdapter, decorators: [{
1112
+ type: i0.Optional
1113
+ }] }, { type: undefined, decorators: [{
1114
+ type: i0.Optional
1115
+ }, {
1116
+ type: i0.Inject,
1117
+ args: [i1$1.MC_DATE_FORMATS]
1118
+ }] }, { type: i0__namespace.ChangeDetectorRef }];
1119
+ } });
1061
1120
  /**
1062
1121
  * A calendar that is used as part of the datepicker.
1063
1122
  * @docs-private
@@ -1177,7 +1236,7 @@
1177
1236
  configurable: true
1178
1237
  });
1179
1238
  McCalendar.prototype.ngAfterContentInit = function () {
1180
- this.calendarHeaderPortal = new portal.ComponentPortal(this.headerComponent || McCalendarHeader);
1239
+ this.calendarHeaderPortal = new i8.ComponentPortal(this.headerComponent || McCalendarHeader);
1181
1240
  this.activeDate = this.startAt || this.dateAdapter.today();
1182
1241
  // Assign to the private property since we don't want to move focus on init.
1183
1242
  this._currentView = this.startView;
@@ -1249,43 +1308,64 @@
1249
1308
  };
1250
1309
  return McCalendar;
1251
1310
  }());
1252
- McCalendar.decorators = [
1253
- { type: i0.Component, args: [{
1254
- selector: 'mc-calendar',
1255
- exportAs: 'mcCalendar',
1256
- template: "<ng-template [cdkPortalOutlet]=\"calendarHeaderPortal\"></ng-template>\n\n<div class=\"mc-calendar__content\" [ngSwitch]=\"currentView\">\n <mc-month-view\n *ngSwitchCase=\"'month'\"\n [(activeDate)]=\"activeDate\"\n [selected]=\"selected\"\n [dateFilter]=\"dateFilter\"\n [maxDate]=\"maxDate\"\n [minDate]=\"minDate\"\n [dateClass]=\"dateClass\"\n (selectedChange)=\"dateSelected($event)\"\n (userSelection)=\"userSelected()\">\n </mc-month-view>\n\n <mc-year-view\n *ngSwitchCase=\"'year'\"\n [(activeDate)]=\"activeDate\"\n [selected]=\"selected\"\n [dateFilter]=\"dateFilter\"\n [maxDate]=\"maxDate\"\n [minDate]=\"minDate\"\n (monthSelected)=\"monthSelectedInYearView($event)\"\n (selectedChange)=\"goToDateInView($event, 'multi-year')\">\n </mc-year-view>\n\n <mc-multi-year-view\n *ngSwitchCase=\"'multi-year'\"\n [(activeDate)]=\"activeDate\"\n [selected]=\"selected\"\n [dateFilter]=\"dateFilter\"\n [maxDate]=\"maxDate\"\n [minDate]=\"minDate\"\n (yearSelected)=\"yearSelectedInMultiYearView($event)\"\n (selectedChange)=\"goToDateInView($event, 'month')\">\n </mc-multi-year-view>\n</div>\n",
1257
- host: {
1258
- class: 'mc-calendar'
1259
- },
1260
- encapsulation: i0.ViewEncapsulation.None,
1261
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
1262
- styles: [".mc-calendar{display:block}.mc-calendar-header{display:flex;padding:var(--mc-datepicker-calendar-size-padding-top,16px) var(--mc-datepicker-calendar-size-padding-horizontal,8px) var(--mc-datepicker-calendar-size-padding-blocks,12px) var(--mc-datepicker-calendar-size-padding-horizontal,8px)}.mc-calendar__content{padding:0 var(--mc-datepicker-calendar-size-padding-horizontal,8px) var(--mc-datepicker-calendar-size-padding-horizontal,8px) var(--mc-datepicker-calendar-size-padding-horizontal,8px);outline:none}.mc-calendar-spacer{flex:1 1 auto}.mc-calendar__period-button{min-width:0}.mc-calendar__period-button .mc-icon{vertical-align:baseline}.mc-calendar__previous-button:after{border-left-width:var(--mc-datepicker-calendar-size-icon-border-width,2px);transform:var(--mc-datepicker-calendar-size-icon-prev-icon-transform,translateX(2px) rotate(-45deg))}.mc-calendar__next-button:after{border-right-width:var(--mc-datepicker-calendar-size-icon-border-width,2px);transform:var(--mc-datepicker-calendar-size-icon-nex-icon-transform,translateX(-2px) rotate(45deg))}.mc-calendar__table{border-spacing:0;border-collapse:collapse;width:100%}.mc-calendar__table-header th{text-align:center;height:30px}.mc-calendar__table-header th.mc-calendar__table-header-divider{position:relative;height:calc(var(--mc-datepicker-calendar-size-padding-blocks, 12px) - 2px)}.mc-calendar__table-header th.mc-calendar__table-header-divider:after{content:\"\";position:absolute;top:0;left:calc(-1 * var(--mc-datepicker-calendar-size-padding-horizontal, 8px));right:calc(-1 * var(--mc-datepicker-calendar-size-padding-horizontal, 8px));height:var(--mc-datepicker-calendar-size-divider-width,1px)}"]
1263
- },] }
1264
- ];
1265
- /** @nocollapse */
1266
- McCalendar.ctorParameters = function () { return [
1267
- { type: McDatepickerIntl },
1268
- { type: datetime.DateAdapter, decorators: [{ type: i0.Optional }] },
1269
- { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [datetime.MC_DATE_FORMATS,] }] },
1270
- { type: i0.ChangeDetectorRef }
1271
- ]; };
1272
- McCalendar.propDecorators = {
1273
- startAt: [{ type: i0.Input }],
1274
- selected: [{ type: i0.Input }],
1275
- minDate: [{ type: i0.Input }],
1276
- maxDate: [{ type: i0.Input }],
1277
- headerComponent: [{ type: i0.Input }],
1278
- startView: [{ type: i0.Input }],
1279
- dateFilter: [{ type: i0.Input }],
1280
- dateClass: [{ type: i0.Input }],
1281
- selectedChange: [{ type: i0.Output }],
1282
- yearSelected: [{ type: i0.Output }],
1283
- monthSelected: [{ type: i0.Output }],
1284
- userSelection: [{ type: i0.Output }],
1285
- monthView: [{ type: i0.ViewChild, args: [McMonthView, { static: false },] }],
1286
- yearView: [{ type: i0.ViewChild, args: [McYearView, { static: false },] }],
1287
- multiYearView: [{ type: i0.ViewChild, args: [McMultiYearView, { static: false },] }]
1288
- };
1311
+ /** @nocollapse */ McCalendar.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McCalendar, deps: [{ token: McDatepickerIntl }, { token: i1__namespace$1.DateAdapter, optional: true }, { token: i1$1.MC_DATE_FORMATS, optional: true }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
1312
+ /** @nocollapse */ McCalendar.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: McCalendar, selector: "mc-calendar", inputs: { startAt: "startAt", selected: "selected", minDate: "minDate", maxDate: "maxDate", headerComponent: "headerComponent", startView: "startView", dateFilter: "dateFilter", dateClass: "dateClass" }, outputs: { selectedChange: "selectedChange", yearSelected: "yearSelected", monthSelected: "monthSelected", userSelection: "userSelection" }, host: { classAttribute: "mc-calendar" }, viewQueries: [{ propertyName: "monthView", first: true, predicate: McMonthView, descendants: true }, { propertyName: "yearView", first: true, predicate: McYearView, descendants: true }, { propertyName: "multiYearView", first: true, predicate: McMultiYearView, descendants: true }], exportAs: ["mcCalendar"], usesOnChanges: true, ngImport: i0__namespace, template: "<ng-template [cdkPortalOutlet]=\"calendarHeaderPortal\"></ng-template>\n\n<div class=\"mc-calendar__content\" [ngSwitch]=\"currentView\">\n <mc-month-view\n *ngSwitchCase=\"'month'\"\n [(activeDate)]=\"activeDate\"\n [selected]=\"selected\"\n [dateFilter]=\"dateFilter\"\n [maxDate]=\"maxDate\"\n [minDate]=\"minDate\"\n [dateClass]=\"dateClass\"\n (selectedChange)=\"dateSelected($event!)\"\n (userSelection)=\"userSelected()\">\n </mc-month-view>\n\n <mc-year-view\n *ngSwitchCase=\"'year'\"\n [(activeDate)]=\"activeDate\"\n [selected]=\"selected\"\n [dateFilter]=\"dateFilter\"\n [maxDate]=\"maxDate\"\n [minDate]=\"minDate\"\n (monthSelected)=\"monthSelectedInYearView($event)\"\n (selectedChange)=\"goToDateInView($event, 'multi-year')\">\n </mc-year-view>\n\n <mc-multi-year-view\n *ngSwitchCase=\"'multi-year'\"\n [(activeDate)]=\"activeDate\"\n [selected]=\"selected\"\n [dateFilter]=\"dateFilter\"\n [maxDate]=\"maxDate\"\n [minDate]=\"minDate\"\n (yearSelected)=\"yearSelectedInMultiYearView($event)\"\n (selectedChange)=\"goToDateInView($event, 'month')\">\n </mc-multi-year-view>\n</div>\n", styles: [".mc-calendar{display:block}.mc-calendar-header{display:flex;padding:16px 8px 12px;padding:var(--mc-datepicker-calendar-size-padding-top, 16px) var(--mc-datepicker-calendar-size-padding-horizontal, 8px) var(--mc-datepicker-calendar-size-padding-blocks, 12px) var(--mc-datepicker-calendar-size-padding-horizontal, 8px)}.mc-calendar__content{padding:0 8px 8px;padding:0 var(--mc-datepicker-calendar-size-padding-horizontal, 8px) var(--mc-datepicker-calendar-size-padding-horizontal, 8px) var(--mc-datepicker-calendar-size-padding-horizontal, 8px);outline:none}.mc-calendar-spacer{flex:1 1 auto}.mc-calendar__period-button{min-width:0}.mc-calendar__period-button .mc-icon{vertical-align:baseline}.mc-calendar__previous-button:after{border-left-width:2px;border-left-width:var(--mc-datepicker-calendar-size-icon-border-width, 2px);transform:translate(2px) rotate(-45deg);transform:var(--mc-datepicker-calendar-size-icon-prev-icon-transform, translateX(2px) rotate(-45deg))}.mc-calendar__next-button:after{border-right-width:2px;border-right-width:var(--mc-datepicker-calendar-size-icon-border-width, 2px);transform:translate(-2px) rotate(45deg);transform:var(--mc-datepicker-calendar-size-icon-nex-icon-transform, translateX(-2px) rotate(45deg))}.mc-calendar__table{border-spacing:0;border-collapse:collapse;width:100%}.mc-calendar__table-header th{text-align:center;height:30px}.mc-calendar__table-header th.mc-calendar__table-header-divider{position:relative;height:calc(12px - 2px);height:calc(var(--mc-datepicker-calendar-size-padding-blocks, 12px) - 2px)}.mc-calendar__table-header th.mc-calendar__table-header-divider:after{content:\"\";position:absolute;top:0;left:calc(-1 * 8px);left:calc(-1 * var(--mc-datepicker-calendar-size-padding-horizontal, 8px));right:calc(-1 * 8px);right:calc(-1 * var(--mc-datepicker-calendar-size-padding-horizontal, 8px));height:1px;height:var(--mc-datepicker-calendar-size-divider-width, 1px)}\n"], components: [{ type: McMonthView, selector: "mc-month-view", inputs: ["activeDate", "selected", "minDate", "maxDate", "dateFilter", "dateClass"], outputs: ["selectedChange", "userSelection", "activeDateChange"], exportAs: ["mcMonthView"] }, { type: McYearView, selector: "mc-year-view", inputs: ["activeDate", "selected", "minDate", "maxDate", "dateFilter"], outputs: ["selectedChange", "monthSelected", "activeDateChange"], exportAs: ["mcYearView"] }, { type: McMultiYearView, selector: "mc-multi-year-view", inputs: ["activeDate", "selected", "minDate", "maxDate", "dateFilter"], outputs: ["selectedChange", "yearSelected", "activeDateChange"], exportAs: ["mcMultiYearView"] }], directives: [{ type: i8__namespace.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { type: i1__namespace.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i1__namespace.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
1313
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McCalendar, decorators: [{
1314
+ type: i0.Component,
1315
+ args: [{
1316
+ selector: 'mc-calendar',
1317
+ exportAs: 'mcCalendar',
1318
+ templateUrl: 'calendar.html',
1319
+ styleUrls: ['calendar.scss'],
1320
+ host: {
1321
+ class: 'mc-calendar'
1322
+ },
1323
+ encapsulation: i0.ViewEncapsulation.None,
1324
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
1325
+ }]
1326
+ }], ctorParameters: function () {
1327
+ return [{ type: McDatepickerIntl }, { type: i1__namespace$1.DateAdapter, decorators: [{
1328
+ type: i0.Optional
1329
+ }] }, { type: undefined, decorators: [{
1330
+ type: i0.Optional
1331
+ }, {
1332
+ type: i0.Inject,
1333
+ args: [i1$1.MC_DATE_FORMATS]
1334
+ }] }, { type: i0__namespace.ChangeDetectorRef }];
1335
+ }, propDecorators: { startAt: [{
1336
+ type: i0.Input
1337
+ }], selected: [{
1338
+ type: i0.Input
1339
+ }], minDate: [{
1340
+ type: i0.Input
1341
+ }], maxDate: [{
1342
+ type: i0.Input
1343
+ }], headerComponent: [{
1344
+ type: i0.Input
1345
+ }], startView: [{
1346
+ type: i0.Input
1347
+ }], dateFilter: [{
1348
+ type: i0.Input
1349
+ }], dateClass: [{
1350
+ type: i0.Input
1351
+ }], selectedChange: [{
1352
+ type: i0.Output
1353
+ }], yearSelected: [{
1354
+ type: i0.Output
1355
+ }], monthSelected: [{
1356
+ type: i0.Output
1357
+ }], userSelection: [{
1358
+ type: i0.Output
1359
+ }], monthView: [{
1360
+ type: i0.ViewChild,
1361
+ args: [McMonthView, { static: false }]
1362
+ }], yearView: [{
1363
+ type: i0.ViewChild,
1364
+ args: [McYearView, { static: false }]
1365
+ }], multiYearView: [{
1366
+ type: i0.ViewChild,
1367
+ args: [McMultiYearView, { static: false }]
1368
+ }] } });
1289
1369
 
1290
1370
  /*! *****************************************************************************
1291
1371
  Copyright (c) Microsoft Corporation.
@@ -1612,6 +1692,7 @@
1612
1692
  DateParts["month"] = "m";
1613
1693
  DateParts["day"] = "d";
1614
1694
  })(DateParts || (DateParts = {}));
1695
+ var MAX_YEAR = 9999;
1615
1696
  var DateDigit = /** @class */ (function () {
1616
1697
  function DateDigit(value, start, length) {
1617
1698
  this.value = value;
@@ -1697,6 +1778,9 @@
1697
1778
  if (parsedValue === 0) {
1698
1779
  return 1;
1699
1780
  }
1781
+ if (parsedValue > MAX_YEAR) {
1782
+ return MAX_YEAR;
1783
+ }
1700
1784
  return parsedValue;
1701
1785
  };
1702
1786
  return DateDigit;
@@ -1764,8 +1848,11 @@
1764
1848
  var newTimeObj = _this.getDateFromString(formattedValue);
1765
1849
  _this.lastValueValid = !!newTimeObj;
1766
1850
  if (!newTimeObj) {
1767
- _this.control.updateValueAndValidity();
1768
- _this._value = null;
1851
+ if (!_this.viewValue) {
1852
+ _this._value = null;
1853
+ _this.cvaOnChange(null);
1854
+ }
1855
+ _this.control.updateValueAndValidity({ emitEvent: false });
1769
1856
  return;
1770
1857
  }
1771
1858
  _this.setViewValue(_this.getTimeStringFromDate(newTimeObj, _this.dateFormats.dateInput), true);
@@ -1977,12 +2064,11 @@
1977
2064
  if (!tooltip) {
1978
2065
  return;
1979
2066
  }
1980
- tooltip.mcMouseEnterDelay = core.validationTooltipShowDelay;
1981
- tooltip.mcTrigger = 'manual';
1982
- tooltip.mcTooltipClass = 'mc-tooltip_warning';
1983
- tooltip.initElementRefListeners();
2067
+ tooltip.enterDelay = core.validationTooltipShowDelay;
2068
+ tooltip.trigger = 'manual';
2069
+ tooltip.initListeners();
1984
2070
  this.incorrectInput.subscribe(function () {
1985
- if (tooltip.isTooltipOpen) {
2071
+ if (tooltip.isOpen) {
1986
2072
  return;
1987
2073
  }
1988
2074
  tooltip.show();
@@ -2085,6 +2171,7 @@
2085
2171
  this.disabled = isDisabled;
2086
2172
  };
2087
2173
  McDatepickerInput.prototype.onKeyDown = function (event) {
2174
+ var _a;
2088
2175
  if (this.isReadOnly) {
2089
2176
  return;
2090
2177
  }
@@ -2096,7 +2183,7 @@
2096
2183
  }
2097
2184
  else if (this.isKeyForOpen(event)) {
2098
2185
  event.preventDefault();
2099
- this.datepicker.open();
2186
+ (_a = this.datepicker) === null || _a === void 0 ? void 0 : _a.open();
2100
2187
  }
2101
2188
  else if (this.isKeyForClose(event)) {
2102
2189
  event.preventDefault();
@@ -2170,7 +2257,7 @@
2170
2257
  this.separator = format.match(/[aA-zZ]+(?<separator>\W|\D)[aA-zZ]+/).groups.separator;
2171
2258
  this.separatorPositions = format
2172
2259
  .split('')
2173
- .reduce(function (acc, item, index) { return _this.separator === item ? __spread(acc, [index + 1]) : acc; }, []);
2260
+ .reduce(function (acc, item, index) { return _this.separator === item ? __spreadArray(__spreadArray([], __read(acc)), [index + 1]) : acc; }, []);
2174
2261
  this.getDigitPositions(format);
2175
2262
  };
2176
2263
  McDatepickerInput.prototype.updateValue = function (newValue) {
@@ -2180,7 +2267,7 @@
2180
2267
  this.valueChange.emit(newValue);
2181
2268
  this.dateInput.emit(new McDatepickerInputEvent(this, this.elementRef.nativeElement));
2182
2269
  }
2183
- this.control.updateValueAndValidity();
2270
+ this.control.updateValueAndValidity({ emitEvent: false });
2184
2271
  };
2185
2272
  McDatepickerInput.prototype.isKeyForClose = function (event) {
2186
2273
  // tslint:disable-next-line: deprecation
@@ -2197,9 +2284,7 @@
2197
2284
  // tslint:disable-next-line: deprecation
2198
2285
  return (keycodes.hasModifierKey(event) && (keycodes.isVerticalMovement(event.keyCode) || keycodes.isHorizontalMovement(event.keyCode))) ||
2199
2286
  event.ctrlKey ||
2200
- event.metaKey ||
2201
- // tslint:disable-next-line: deprecation
2202
- [keycodes.DELETE, keycodes.BACKSPACE].includes(event.keyCode);
2287
+ event.metaKey;
2203
2288
  };
2204
2289
  McDatepickerInput.prototype.spaceKeyHandler = function (event) {
2205
2290
  event.preventDefault();
@@ -2335,6 +2420,9 @@
2335
2420
  break;
2336
2421
  case DateParts.year:
2337
2422
  year++;
2423
+ if (year > MAX_YEAR) {
2424
+ year = 1;
2425
+ }
2338
2426
  break;
2339
2427
  default:
2340
2428
  }
@@ -2367,6 +2455,9 @@
2367
2455
  break;
2368
2456
  case DateParts.year:
2369
2457
  year--;
2458
+ if (year < 1) {
2459
+ year = MAX_YEAR;
2460
+ }
2370
2461
  break;
2371
2462
  default:
2372
2463
  }
@@ -2387,6 +2478,7 @@
2387
2478
  this.value = changedTime;
2388
2479
  this.selectionStart = selectionStart;
2389
2480
  this.selectionEnd = selectionEnd;
2481
+ this.cvaOnChange(changedTime);
2390
2482
  this.onChange();
2391
2483
  this.stateChanges.next();
2392
2484
  };
@@ -2501,53 +2593,73 @@
2501
2593
  };
2502
2594
  return McDatepickerInput;
2503
2595
  }());
2504
- McDatepickerInput.decorators = [
2505
- { type: i0.Directive, args: [{
2506
- selector: 'input[mcDatepicker]',
2507
- exportAs: 'mcDatepickerInput',
2508
- providers: [
2509
- MC_DATEPICKER_VALUE_ACCESSOR,
2510
- MC_DATEPICKER_VALIDATORS,
2511
- { provide: formField.McFormFieldControl, useExisting: McDatepickerInput }
2512
- ],
2513
- host: {
2514
- class: 'mc-input mc-datepicker',
2515
- '[attr.placeholder]': 'placeholder',
2516
- '[attr.required]': 'required',
2517
- '[attr.disabled]': 'disabled || null',
2518
- '[attr.min]': 'min ? toISO8601(min) : null',
2519
- '[attr.max]': 'max ? toISO8601(max) : null',
2520
- '[attr.autocomplete]': '"off"',
2521
- '(paste)': 'onPaste($event)',
2522
- '(change)': 'onChange()',
2523
- '(focus)': 'focusChanged(true)',
2524
- '(blur)': 'onBlur()',
2525
- '(keydown)': 'onKeyDown($event)'
2526
- }
2527
- },] }
2528
- ];
2529
- /** @nocollapse */
2530
- McDatepickerInput.ctorParameters = function () { return [
2531
- { type: i0.ElementRef },
2532
- { type: i0.Renderer2 },
2533
- { type: datetime.DateAdapter, decorators: [{ type: i0.Optional }] },
2534
- { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [datetime.MC_DATE_FORMATS,] }] }
2535
- ]; };
2536
- McDatepickerInput.propDecorators = {
2537
- placeholder: [{ type: i0.Input }],
2538
- required: [{ type: i0.Input }],
2539
- mcDatepicker: [{ type: i0.Input }],
2540
- mcDatepickerFilter: [{ type: i0.Input }],
2541
- value: [{ type: i0.Input }],
2542
- min: [{ type: i0.Input }],
2543
- max: [{ type: i0.Input }],
2544
- disabled: [{ type: i0.Input }],
2545
- id: [{ type: i0.Input }],
2546
- mcValidationTooltip: [{ type: i0.Input }],
2547
- incorrectInput: [{ type: i0.Output }],
2548
- dateChange: [{ type: i0.Output }],
2549
- dateInput: [{ type: i0.Output }]
2550
- };
2596
+ /** @nocollapse */ McDatepickerInput.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McDatepickerInput, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.Renderer2 }, { token: i1__namespace$1.DateAdapter, optional: true }, { token: i1$1.MC_DATE_FORMATS, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Directive });
2597
+ /** @nocollapse */ McDatepickerInput.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: McDatepickerInput, selector: "input[mcDatepicker]", inputs: { placeholder: "placeholder", required: "required", mcDatepicker: "mcDatepicker", mcDatepickerFilter: "mcDatepickerFilter", value: "value", min: "min", max: "max", disabled: "disabled", id: "id", mcValidationTooltip: "mcValidationTooltip" }, outputs: { incorrectInput: "incorrectInput", dateChange: "dateChange", dateInput: "dateInput" }, host: { listeners: { "paste": "onPaste($event)", "change": "onChange()", "focus": "focusChanged(true)", "blur": "onBlur()", "keydown": "onKeyDown($event)" }, properties: { "attr.placeholder": "placeholder", "attr.required": "required", "attr.disabled": "disabled || null", "attr.min": "min ? toISO8601(min) : null", "attr.max": "max ? toISO8601(max) : null", "attr.autocomplete": "\"off\"" }, classAttribute: "mc-input mc-datepicker" }, providers: [
2598
+ MC_DATEPICKER_VALUE_ACCESSOR,
2599
+ MC_DATEPICKER_VALIDATORS,
2600
+ { provide: formField.McFormFieldControl, useExisting: McDatepickerInput }
2601
+ ], exportAs: ["mcDatepickerInput"], ngImport: i0__namespace });
2602
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McDatepickerInput, decorators: [{
2603
+ type: i0.Directive,
2604
+ args: [{
2605
+ selector: 'input[mcDatepicker]',
2606
+ exportAs: 'mcDatepickerInput',
2607
+ providers: [
2608
+ MC_DATEPICKER_VALUE_ACCESSOR,
2609
+ MC_DATEPICKER_VALIDATORS,
2610
+ { provide: formField.McFormFieldControl, useExisting: McDatepickerInput }
2611
+ ],
2612
+ host: {
2613
+ class: 'mc-input mc-datepicker',
2614
+ '[attr.placeholder]': 'placeholder',
2615
+ '[attr.required]': 'required',
2616
+ '[attr.disabled]': 'disabled || null',
2617
+ '[attr.min]': 'min ? toISO8601(min) : null',
2618
+ '[attr.max]': 'max ? toISO8601(max) : null',
2619
+ '[attr.autocomplete]': '"off"',
2620
+ '(paste)': 'onPaste($event)',
2621
+ '(change)': 'onChange()',
2622
+ '(focus)': 'focusChanged(true)',
2623
+ '(blur)': 'onBlur()',
2624
+ '(keydown)': 'onKeyDown($event)'
2625
+ }
2626
+ }]
2627
+ }], ctorParameters: function () {
2628
+ return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.Renderer2 }, { type: i1__namespace$1.DateAdapter, decorators: [{
2629
+ type: i0.Optional
2630
+ }] }, { type: undefined, decorators: [{
2631
+ type: i0.Optional
2632
+ }, {
2633
+ type: i0.Inject,
2634
+ args: [i1$1.MC_DATE_FORMATS]
2635
+ }] }];
2636
+ }, propDecorators: { placeholder: [{
2637
+ type: i0.Input
2638
+ }], required: [{
2639
+ type: i0.Input
2640
+ }], mcDatepicker: [{
2641
+ type: i0.Input
2642
+ }], mcDatepickerFilter: [{
2643
+ type: i0.Input
2644
+ }], value: [{
2645
+ type: i0.Input
2646
+ }], min: [{
2647
+ type: i0.Input
2648
+ }], max: [{
2649
+ type: i0.Input
2650
+ }], disabled: [{
2651
+ type: i0.Input
2652
+ }], id: [{
2653
+ type: i0.Input
2654
+ }], mcValidationTooltip: [{
2655
+ type: i0.Input
2656
+ }], incorrectInput: [{
2657
+ type: i0.Output
2658
+ }], dateChange: [{
2659
+ type: i0.Output
2660
+ }], dateInput: [{
2661
+ type: i0.Output
2662
+ }] } });
2551
2663
 
2552
2664
  /** Can be used to override the icon of a `mcDatepickerToggle`. */
2553
2665
  var McDatepickerToggleIcon = /** @class */ (function () {
@@ -2555,11 +2667,14 @@
2555
2667
  }
2556
2668
  return McDatepickerToggleIcon;
2557
2669
  }());
2558
- McDatepickerToggleIcon.decorators = [
2559
- { type: i0.Directive, args: [{
2560
- selector: '[mcDatepickerToggleIcon]'
2561
- },] }
2562
- ];
2670
+ /** @nocollapse */ McDatepickerToggleIcon.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McDatepickerToggleIcon, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
2671
+ /** @nocollapse */ McDatepickerToggleIcon.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: McDatepickerToggleIcon, selector: "[mcDatepickerToggleIcon]", ngImport: i0__namespace });
2672
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McDatepickerToggleIcon, decorators: [{
2673
+ type: i0.Directive,
2674
+ args: [{
2675
+ selector: '[mcDatepickerToggleIcon]'
2676
+ }]
2677
+ }] });
2563
2678
  var McDatepickerToggle = /** @class */ (function () {
2564
2679
  function McDatepickerToggle(intl, changeDetectorRef) {
2565
2680
  this.intl = intl;
@@ -2607,32 +2722,36 @@
2607
2722
  };
2608
2723
  return McDatepickerToggle;
2609
2724
  }());
2610
- McDatepickerToggle.decorators = [
2611
- { type: i0.Component, args: [{
2612
- selector: 'mc-datepicker-toggle',
2613
- template: "<!--todo need simplify this-->\n<button\n #button\n mc-button\n type=\"button\"\n class=\"mc-datepicker-toggle__button\"\n aria-haspopup=\"true\"\n [attr.aria-label]=\"intl.openCalendarLabel\"\n [attr.tabindex]=\"tabIndex\"\n [disabled]=\"disabled\"\n (click)=\"open($event)\">\n\n <i *ngIf=\"!customIcon\" mc-icon=\"mc-calendar_16\" class=\"mc-datepicker-toggle__default-icon\"></i>\n\n <ng-content select=\"[mcDatepickerToggleIcon]\"></ng-content>\n</button>\n",
2614
- host: {
2615
- class: 'mc-datepicker-toggle',
2616
- '[class.mc-active]': 'datepicker && datepicker.opened'
2617
- },
2618
- exportAs: 'mcDatepickerToggle',
2619
- encapsulation: i0.ViewEncapsulation.None,
2620
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
2621
- styles: [".mc-datepicker-toggle:focus{outline:0}.mc-datepicker-toggle__button.mc-icon-button{width:var(--mc-datepicker-toggle-size-width,30px);height:var(--mc-datepicker-toggle-size-height,30px);margin-left:2px}.mc-form-field-appearance-legacy .mc-form-field-prefix .mc-datepicker-toggle__default-icon,.mc-form-field-appearance-legacy .mc-form-field-suffix .mc-datepicker-toggle__default-icon{width:1em}.mc-form-field:not(.mc-form-field-appearance-legacy) .mc-form-field-prefix .mc-datepicker-toggle__default-icon,.mc-form-field:not(.mc-form-field-appearance-legacy) .mc-form-field-suffix .mc-datepicker-toggle__default-icon{display:block;width:1.5em;height:1.5em}.mc-form-field:not(.mc-form-field-appearance-legacy) .mc-form-field-prefix .mc-icon-button .mc-datepicker-toggle__default-icon,.mc-form-field:not(.mc-form-field-appearance-legacy) .mc-form-field-suffix .mc-icon-button .mc-datepicker-toggle__default-icon{margin:auto}"]
2622
- },] }
2623
- ];
2624
- /** @nocollapse */
2625
- McDatepickerToggle.ctorParameters = function () { return [
2626
- { type: McDatepickerIntl },
2627
- { type: i0.ChangeDetectorRef }
2628
- ]; };
2629
- McDatepickerToggle.propDecorators = {
2630
- disabled: [{ type: i0.Input }],
2631
- datepicker: [{ type: i0.Input, args: ['for',] }],
2632
- tabIndex: [{ type: i0.Input }],
2633
- customIcon: [{ type: i0.ContentChild, args: [McDatepickerToggleIcon, { static: false },] }],
2634
- button: [{ type: i0.ViewChild, args: ['button', { static: false },] }]
2635
- };
2725
+ /** @nocollapse */ McDatepickerToggle.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McDatepickerToggle, deps: [{ token: McDatepickerIntl }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
2726
+ /** @nocollapse */ McDatepickerToggle.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: McDatepickerToggle, selector: "mc-datepicker-toggle", inputs: { disabled: "disabled", datepicker: ["for", "datepicker"], tabIndex: "tabIndex" }, host: { properties: { "class.mc-active": "datepicker && datepicker.opened" }, classAttribute: "mc-datepicker-toggle" }, queries: [{ propertyName: "customIcon", first: true, predicate: McDatepickerToggleIcon, descendants: true }], viewQueries: [{ propertyName: "button", first: true, predicate: ["button"], descendants: true }], exportAs: ["mcDatepickerToggle"], usesOnChanges: true, ngImport: i0__namespace, template: "<!--todo need simplify this-->\n<button\n #button\n mc-button\n type=\"button\"\n class=\"mc-datepicker-toggle__button\"\n aria-haspopup=\"true\"\n [attr.aria-label]=\"intl.openCalendarLabel\"\n [attr.tabindex]=\"tabIndex\"\n [disabled]=\"disabled\"\n (click)=\"open($event)\">\n\n <i *ngIf=\"!customIcon\" mc-icon=\"mc-calendar_16\" class=\"mc-datepicker-toggle__default-icon\"></i>\n\n <ng-content select=\"[mcDatepickerToggleIcon]\"></ng-content>\n</button>\n", styles: [".mc-datepicker-toggle:focus{outline:0}.mc-datepicker-toggle__button.mc-icon-button{width:30px;width:var(--mc-datepicker-toggle-size-width, 30px);height:30px;height:var(--mc-datepicker-toggle-size-height, 30px);margin-left:2px}.mc-form-field-appearance-legacy .mc-form-field-prefix .mc-datepicker-toggle__default-icon,.mc-form-field-appearance-legacy .mc-form-field-suffix .mc-datepicker-toggle__default-icon{width:1em}.mc-form-field:not(.mc-form-field-appearance-legacy) .mc-form-field-prefix .mc-datepicker-toggle__default-icon,.mc-form-field:not(.mc-form-field-appearance-legacy) .mc-form-field-suffix .mc-datepicker-toggle__default-icon{display:block;width:1.5em;height:1.5em}.mc-form-field:not(.mc-form-field-appearance-legacy) .mc-form-field-prefix .mc-icon-button .mc-datepicker-toggle__default-icon,.mc-form-field:not(.mc-form-field-appearance-legacy) .mc-form-field-suffix .mc-icon-button .mc-datepicker-toggle__default-icon{margin:auto}\n"], components: [{ type: i3__namespace.McButton, selector: "button[mc-button]", inputs: ["disabled", "color"] }, { type: i4__namespace.McIcon, selector: "[mc-icon]", inputs: ["color"] }], directives: [{ type: i3__namespace.McButtonCssStyler, selector: "button[mc-button], a[mc-button]" }, { type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4__namespace.McIconCSSStyler, selector: "[mc-icon]" }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
2727
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McDatepickerToggle, decorators: [{
2728
+ type: i0.Component,
2729
+ args: [{
2730
+ selector: 'mc-datepicker-toggle',
2731
+ templateUrl: 'datepicker-toggle.html',
2732
+ styleUrls: ['datepicker-toggle.scss'],
2733
+ host: {
2734
+ class: 'mc-datepicker-toggle',
2735
+ '[class.mc-active]': 'datepicker && datepicker.opened'
2736
+ },
2737
+ exportAs: 'mcDatepickerToggle',
2738
+ encapsulation: i0.ViewEncapsulation.None,
2739
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
2740
+ }]
2741
+ }], ctorParameters: function () { return [{ type: McDatepickerIntl }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { disabled: [{
2742
+ type: i0.Input
2743
+ }], datepicker: [{
2744
+ type: i0.Input,
2745
+ args: ['for']
2746
+ }], tabIndex: [{
2747
+ type: i0.Input
2748
+ }], customIcon: [{
2749
+ type: i0.ContentChild,
2750
+ args: [McDatepickerToggleIcon, { static: false }]
2751
+ }], button: [{
2752
+ type: i0.ViewChild,
2753
+ args: ['button', { static: false }]
2754
+ }] } });
2636
2755
 
2637
2756
  /**
2638
2757
  * Animations used by the mosaic datepicker.
@@ -2665,7 +2784,6 @@
2665
2784
  Element.prototype.matches = Element.prototype.msMatchesSelector;
2666
2785
  }
2667
2786
 
2668
- // tslint:disable:no-unbound-method
2669
2787
  /** Used to generate a unique ID for each datepicker instance. */
2670
2788
  var datepickerUid = 0;
2671
2789
  /** Injection token that determines the scroll handling while the calendar is open. */
@@ -2678,7 +2796,7 @@
2678
2796
  /** @docs-private */
2679
2797
  var MC_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER = {
2680
2798
  provide: MC_DATEPICKER_SCROLL_STRATEGY,
2681
- deps: [overlay.Overlay],
2799
+ deps: [i3$1.Overlay],
2682
2800
  useFactory: MC_DATEPICKER_SCROLL_STRATEGY_FACTORY
2683
2801
  };
2684
2802
  /**
@@ -2711,32 +2829,34 @@
2711
2829
  };
2712
2830
  return McDatepickerContent;
2713
2831
  }());
2714
- McDatepickerContent.decorators = [
2715
- { type: i0.Component, args: [{
2716
- selector: 'mc-datepicker__content',
2717
- exportAs: 'mcDatepickerContent',
2718
- template: "<mc-calendar [id]=\"datepicker.id\"\n [ngClass]=\"datepicker.panelClass\"\n [startAt]=\"datepicker.startAt\"\n [startView]=\"datepicker.startView\"\n [minDate]=\"datepicker.minDate\"\n [maxDate]=\"datepicker.maxDate\"\n [dateFilter]=\"datepicker.dateFilter\"\n [headerComponent]=\"datepicker.calendarHeaderComponent\"\n [selected]=\"datepicker.selected\"\n [dateClass]=\"datepicker.dateClass\"\n [@fadeInCalendar]=\"'enter'\"\n (selectedChange)=\"datepicker.select($event)\"\n (yearSelected)=\"datepicker.selectYear($event)\"\n (monthSelected)=\"datepicker.selectMonth($event)\"\n (userSelection)=\"datepicker.close()\">\n</mc-calendar>\n",
2719
- host: {
2720
- class: 'mc-datepicker__content',
2721
- '[@transformPanel]': 'animationState',
2722
- '(@transformPanel.done)': 'animationDone.next()'
2723
- },
2724
- animations: [
2725
- mcDatepickerAnimations.transformPanel,
2726
- mcDatepickerAnimations.fadeInCalendar
2727
- ],
2728
- encapsulation: i0.ViewEncapsulation.None,
2729
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
2730
- styles: [".mc-calendar{display:block}.mc-calendar-header{display:flex;padding:var(--mc-datepicker-calendar-size-padding-top,16px) var(--mc-datepicker-calendar-size-padding-horizontal,8px) var(--mc-datepicker-calendar-size-padding-blocks,12px) var(--mc-datepicker-calendar-size-padding-horizontal,8px)}.mc-calendar__content{padding:0 var(--mc-datepicker-calendar-size-padding-horizontal,8px) var(--mc-datepicker-calendar-size-padding-horizontal,8px) var(--mc-datepicker-calendar-size-padding-horizontal,8px);outline:none}.mc-calendar-spacer{flex:1 1 auto}.mc-calendar__period-button{min-width:0}.mc-calendar__period-button .mc-icon{vertical-align:baseline}.mc-calendar__previous-button:after{border-left-width:var(--mc-datepicker-calendar-size-icon-border-width,2px);transform:var(--mc-datepicker-calendar-size-icon-prev-icon-transform,translateX(2px) rotate(-45deg))}.mc-calendar__next-button:after{border-right-width:var(--mc-datepicker-calendar-size-icon-border-width,2px);transform:var(--mc-datepicker-calendar-size-icon-nex-icon-transform,translateX(-2px) rotate(45deg))}.mc-calendar__table{border-spacing:0;border-collapse:collapse;width:100%}.mc-calendar__table-header th{text-align:center;height:30px}.mc-calendar__table-header th.mc-calendar__table-header-divider{position:relative;height:calc(var(--mc-datepicker-calendar-size-padding-blocks, 12px) - 2px)}.mc-calendar__table-header th.mc-calendar__table-header-divider:after{content:\"\";position:absolute;top:0;left:calc(-1 * var(--mc-datepicker-calendar-size-padding-horizontal, 8px));right:calc(-1 * var(--mc-datepicker-calendar-size-padding-horizontal, 8px));height:var(--mc-datepicker-calendar-size-divider-width,1px)}.mc-datepicker__content{display:block;border-width:1px;border-style:solid}.mc-datepicker__content .mc-calendar{width:296px;height:348px}.mc-datepicker__content .mc-calendar__next-button[disabled],.mc-datepicker__content .mc-calendar__previous-button[disabled]{border:0}"]
2731
- },] }
2732
- ];
2733
- /** @nocollapse */
2734
- McDatepickerContent.ctorParameters = function () { return [
2735
- { type: i0.ChangeDetectorRef }
2736
- ]; };
2737
- McDatepickerContent.propDecorators = {
2738
- calendar: [{ type: i0.ViewChild, args: [McCalendar,] }]
2739
- };
2832
+ /** @nocollapse */ McDatepickerContent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McDatepickerContent, deps: [{ token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
2833
+ /** @nocollapse */ McDatepickerContent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: McDatepickerContent, selector: "mc-datepicker__content", host: { listeners: { "@transformPanel.done": "animationDone.next()" }, properties: { "@transformPanel": "animationState" }, classAttribute: "mc-datepicker__content" }, viewQueries: [{ propertyName: "calendar", first: true, predicate: McCalendar, descendants: true }], exportAs: ["mcDatepickerContent"], ngImport: i0__namespace, template: "<mc-calendar [id]=\"datepicker.id\"\n [ngClass]=\"datepicker.panelClass\"\n [startAt]=\"datepicker.startAt\"\n [startView]=\"datepicker.startView\"\n [minDate]=\"datepicker.minDate\"\n [maxDate]=\"datepicker.maxDate\"\n [dateFilter]=\"datepicker.dateFilter\"\n [headerComponent]=\"datepicker.calendarHeaderComponent\"\n [selected]=\"datepicker.selected\"\n [dateClass]=\"datepicker.dateClass\"\n [@fadeInCalendar]=\"'enter'\"\n (selectedChange)=\"datepicker.select($event)\"\n (yearSelected)=\"datepicker.selectYear($event)\"\n (monthSelected)=\"datepicker.selectMonth($event)\"\n (userSelection)=\"datepicker.close()\">\n</mc-calendar>\n", styles: [".mc-calendar{display:block}.mc-calendar-header{display:flex;padding:16px 8px 12px;padding:var(--mc-datepicker-calendar-size-padding-top, 16px) var(--mc-datepicker-calendar-size-padding-horizontal, 8px) var(--mc-datepicker-calendar-size-padding-blocks, 12px) var(--mc-datepicker-calendar-size-padding-horizontal, 8px)}.mc-calendar__content{padding:0 8px 8px;padding:0 var(--mc-datepicker-calendar-size-padding-horizontal, 8px) var(--mc-datepicker-calendar-size-padding-horizontal, 8px) var(--mc-datepicker-calendar-size-padding-horizontal, 8px);outline:none}.mc-calendar-spacer{flex:1 1 auto}.mc-calendar__period-button{min-width:0}.mc-calendar__period-button .mc-icon{vertical-align:baseline}.mc-calendar__previous-button:after{border-left-width:2px;border-left-width:var(--mc-datepicker-calendar-size-icon-border-width, 2px);transform:translate(2px) rotate(-45deg);transform:var(--mc-datepicker-calendar-size-icon-prev-icon-transform, translateX(2px) rotate(-45deg))}.mc-calendar__next-button:after{border-right-width:2px;border-right-width:var(--mc-datepicker-calendar-size-icon-border-width, 2px);transform:translate(-2px) rotate(45deg);transform:var(--mc-datepicker-calendar-size-icon-nex-icon-transform, translateX(-2px) rotate(45deg))}.mc-calendar__table{border-spacing:0;border-collapse:collapse;width:100%}.mc-calendar__table-header th{text-align:center;height:30px}.mc-calendar__table-header th.mc-calendar__table-header-divider{position:relative;height:calc(12px - 2px);height:calc(var(--mc-datepicker-calendar-size-padding-blocks, 12px) - 2px)}.mc-calendar__table-header th.mc-calendar__table-header-divider:after{content:\"\";position:absolute;top:0;left:calc(-1 * 8px);left:calc(-1 * var(--mc-datepicker-calendar-size-padding-horizontal, 8px));right:calc(-1 * 8px);right:calc(-1 * var(--mc-datepicker-calendar-size-padding-horizontal, 8px));height:1px;height:var(--mc-datepicker-calendar-size-divider-width, 1px)}.mc-datepicker__content{display:block;border-width:1px;border-style:solid}.mc-datepicker__content .mc-calendar{width:296px;height:348px}.mc-datepicker__content .mc-calendar__next-button[disabled],.mc-datepicker__content .mc-calendar__previous-button[disabled]{border:0}\n"], components: [{ type: McCalendar, selector: "mc-calendar", inputs: ["startAt", "selected", "minDate", "maxDate", "headerComponent", "startView", "dateFilter", "dateClass"], outputs: ["selectedChange", "yearSelected", "monthSelected", "userSelection"], exportAs: ["mcCalendar"] }], directives: [{ type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], animations: [
2834
+ mcDatepickerAnimations.transformPanel,
2835
+ mcDatepickerAnimations.fadeInCalendar
2836
+ ], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
2837
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McDatepickerContent, decorators: [{
2838
+ type: i0.Component,
2839
+ args: [{
2840
+ selector: 'mc-datepicker__content',
2841
+ exportAs: 'mcDatepickerContent',
2842
+ templateUrl: 'datepicker-content.html',
2843
+ styleUrls: ['datepicker-content.scss'],
2844
+ host: {
2845
+ class: 'mc-datepicker__content',
2846
+ '[@transformPanel]': 'animationState',
2847
+ '(@transformPanel.done)': 'animationDone.next()'
2848
+ },
2849
+ animations: [
2850
+ mcDatepickerAnimations.transformPanel,
2851
+ mcDatepickerAnimations.fadeInCalendar
2852
+ ],
2853
+ encapsulation: i0.ViewEncapsulation.None,
2854
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
2855
+ }]
2856
+ }], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { calendar: [{
2857
+ type: i0.ViewChild,
2858
+ args: [McCalendar]
2859
+ }] } });
2740
2860
  // TODO: We use a component instead of a directive here so the user can use implicit
2741
2861
  // template reference variables (e.g. #d vs #d="mcDatepicker"). We can change this to a directive
2742
2862
  // if angular adds support for `exportAs: '$implicit'` on directives.
@@ -2913,7 +3033,6 @@
2913
3033
  .subscribe(function (value) {
2914
3034
  var _a;
2915
3035
  _this.selected = value;
2916
- // @ts-ignore
2917
3036
  if (_this.popupComponentRef) {
2918
3037
  (_a = _this.popupComponentRef.instance.calendar.monthView) === null || _a === void 0 ? void 0 : _a.init();
2919
3038
  _this.popupComponentRef.instance.calendar.activeDate = value;
@@ -2973,7 +3092,7 @@
2973
3092
  McDatepicker.prototype.openAsPopup = function () {
2974
3093
  var _this = this;
2975
3094
  if (!this.calendarPortal) {
2976
- this.calendarPortal = new portal.ComponentPortal(McDatepickerContent, this.viewContainerRef);
3095
+ this.calendarPortal = new i8.ComponentPortal(McDatepickerContent, this.viewContainerRef);
2977
3096
  }
2978
3097
  if (!this.popupRef) {
2979
3098
  this.createPopup();
@@ -2990,7 +3109,7 @@
2990
3109
  /** Create the popup. */
2991
3110
  McDatepicker.prototype.createPopup = function () {
2992
3111
  var _this = this;
2993
- var overlayConfig = new overlay.OverlayConfig({
3112
+ var overlayConfig = new i3$1.OverlayConfig({
2994
3113
  positionStrategy: this.createPopupPositionStrategy(),
2995
3114
  hasBackdrop: this.hasBackdrop,
2996
3115
  backdropClass: this.backdropClass,
@@ -3052,99 +3171,160 @@
3052
3171
  };
3053
3172
  return McDatepicker;
3054
3173
  }());
3055
- McDatepicker.decorators = [
3056
- { type: i0.Component, args: [{
3057
- selector: 'mc-datepicker',
3058
- template: '',
3059
- exportAs: 'mcDatepicker',
3060
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
3061
- encapsulation: i0.ViewEncapsulation.None,
3062
- providers: [{ provide: formField.McFormFieldControl, useExisting: McDatepicker }]
3063
- },] }
3064
- ];
3065
- /** @nocollapse */
3066
- McDatepicker.ctorParameters = function () { return [
3067
- { type: overlay.Overlay },
3068
- { type: i0.NgZone },
3069
- { type: i0.ViewContainerRef },
3070
- { type: undefined, decorators: [{ type: i0.Inject, args: [MC_DATEPICKER_SCROLL_STRATEGY,] }] },
3071
- { type: datetime.DateAdapter, decorators: [{ type: i0.Optional }] },
3072
- { type: bidi.Directionality, decorators: [{ type: i0.Optional }] },
3073
- { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [common.DOCUMENT,] }] }
3074
- ]; };
3075
- McDatepicker.propDecorators = {
3076
- hasBackdrop: [{ type: i0.Input }],
3077
- startAt: [{ type: i0.Input }],
3078
- disabled: [{ type: i0.Input }],
3079
- opened: [{ type: i0.Input }],
3080
- calendarHeaderComponent: [{ type: i0.Input }],
3081
- startView: [{ type: i0.Input }],
3082
- yearSelected: [{ type: i0.Output }],
3083
- monthSelected: [{ type: i0.Output }],
3084
- panelClass: [{ type: i0.Input }],
3085
- dateClass: [{ type: i0.Input }],
3086
- backdropClass: [{ type: i0.Input }],
3087
- openedStream: [{ type: i0.Output, args: ['opened',] }],
3088
- closedStream: [{ type: i0.Output, args: ['closed',] }]
3089
- };
3174
+ /** @nocollapse */ McDatepicker.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McDatepicker, deps: [{ token: i3__namespace$1.Overlay }, { token: i0__namespace.NgZone }, { token: i0__namespace.ViewContainerRef }, { token: MC_DATEPICKER_SCROLL_STRATEGY }, { token: i1__namespace$1.DateAdapter, optional: true }, { token: i2__namespace.Directionality, optional: true }, { token: i1.DOCUMENT, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
3175
+ /** @nocollapse */ McDatepicker.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: McDatepicker, selector: "mc-datepicker", inputs: { hasBackdrop: "hasBackdrop", startAt: "startAt", disabled: "disabled", opened: "opened", calendarHeaderComponent: "calendarHeaderComponent", startView: "startView", panelClass: "panelClass", dateClass: "dateClass", backdropClass: "backdropClass" }, outputs: { yearSelected: "yearSelected", monthSelected: "monthSelected", openedStream: "opened", closedStream: "closed" }, providers: [{ provide: formField.McFormFieldControl, useExisting: McDatepicker }], exportAs: ["mcDatepicker"], ngImport: i0__namespace, template: '', isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
3176
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McDatepicker, decorators: [{
3177
+ type: i0.Component,
3178
+ args: [{
3179
+ selector: 'mc-datepicker',
3180
+ template: '',
3181
+ exportAs: 'mcDatepicker',
3182
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
3183
+ encapsulation: i0.ViewEncapsulation.None,
3184
+ providers: [{ provide: formField.McFormFieldControl, useExisting: McDatepicker }]
3185
+ }]
3186
+ }], ctorParameters: function () {
3187
+ return [{ type: i3__namespace$1.Overlay }, { type: i0__namespace.NgZone }, { type: i0__namespace.ViewContainerRef }, { type: undefined, decorators: [{
3188
+ type: i0.Inject,
3189
+ args: [MC_DATEPICKER_SCROLL_STRATEGY]
3190
+ }] }, { type: i1__namespace$1.DateAdapter, decorators: [{
3191
+ type: i0.Optional
3192
+ }] }, { type: i2__namespace.Directionality, decorators: [{
3193
+ type: i0.Optional
3194
+ }] }, { type: undefined, decorators: [{
3195
+ type: i0.Optional
3196
+ }, {
3197
+ type: i0.Inject,
3198
+ args: [i1.DOCUMENT]
3199
+ }] }];
3200
+ }, propDecorators: { hasBackdrop: [{
3201
+ type: i0.Input
3202
+ }], startAt: [{
3203
+ type: i0.Input
3204
+ }], disabled: [{
3205
+ type: i0.Input
3206
+ }], opened: [{
3207
+ type: i0.Input
3208
+ }], calendarHeaderComponent: [{
3209
+ type: i0.Input
3210
+ }], startView: [{
3211
+ type: i0.Input
3212
+ }], yearSelected: [{
3213
+ type: i0.Output
3214
+ }], monthSelected: [{
3215
+ type: i0.Output
3216
+ }], panelClass: [{
3217
+ type: i0.Input
3218
+ }], dateClass: [{
3219
+ type: i0.Input
3220
+ }], backdropClass: [{
3221
+ type: i0.Input
3222
+ }], openedStream: [{
3223
+ type: i0.Output,
3224
+ args: ['opened']
3225
+ }], closedStream: [{
3226
+ type: i0.Output,
3227
+ args: ['closed']
3228
+ }] } });
3090
3229
 
3091
3230
  var McDatepickerModule = /** @class */ (function () {
3092
3231
  function McDatepickerModule() {
3093
3232
  }
3094
3233
  return McDatepickerModule;
3095
3234
  }());
3096
- McDatepickerModule.decorators = [
3097
- { type: i0.NgModule, args: [{
3098
- imports: [
3099
- common.CommonModule,
3100
- button.McButtonModule,
3101
- overlay.OverlayModule,
3102
- a11y.A11yModule,
3103
- portal.PortalModule,
3104
- icon.McIconModule
3105
- ],
3106
- exports: [
3107
- McCalendar,
3108
- McCalendarBody,
3109
- McDatepicker,
3110
- McDatepickerContent,
3111
- McDatepickerInput,
3112
- McDatepickerToggle,
3113
- McDatepickerToggleIcon,
3114
- McMonthView,
3115
- McYearView,
3116
- McMultiYearView,
3117
- McCalendarHeader,
3118
- button.McButtonModule
3119
- ],
3120
- declarations: [
3121
- McCalendar,
3122
- McCalendarBody,
3123
- McDatepicker,
3124
- McDatepickerContent,
3125
- McDatepickerInput,
3126
- McDatepickerToggle,
3127
- McDatepickerToggleIcon,
3128
- McMonthView,
3129
- McYearView,
3130
- McMultiYearView,
3131
- McCalendarHeader
3132
- ],
3133
- providers: [
3134
- McDatepickerIntl,
3135
- MC_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER
3136
- ],
3137
- entryComponents: [
3138
- McDatepickerContent,
3139
- McCalendarHeader
3140
- ]
3141
- },] }
3142
- ];
3235
+ /** @nocollapse */ McDatepickerModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McDatepickerModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
3236
+ /** @nocollapse */ McDatepickerModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McDatepickerModule, declarations: [McCalendar,
3237
+ McCalendarBody,
3238
+ McDatepicker,
3239
+ McDatepickerContent,
3240
+ McDatepickerInput,
3241
+ McDatepickerToggle,
3242
+ McDatepickerToggleIcon,
3243
+ McMonthView,
3244
+ McYearView,
3245
+ McMultiYearView,
3246
+ McCalendarHeader], imports: [i1.CommonModule,
3247
+ i3.McButtonModule,
3248
+ i3$1.OverlayModule,
3249
+ a11y.A11yModule,
3250
+ i8.PortalModule,
3251
+ i4.McIconModule], exports: [McCalendar,
3252
+ McCalendarBody,
3253
+ McDatepicker,
3254
+ McDatepickerContent,
3255
+ McDatepickerInput,
3256
+ McDatepickerToggle,
3257
+ McDatepickerToggleIcon,
3258
+ McMonthView,
3259
+ McYearView,
3260
+ McMultiYearView,
3261
+ McCalendarHeader,
3262
+ i3.McButtonModule] });
3263
+ /** @nocollapse */ McDatepickerModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McDatepickerModule, providers: [
3264
+ McDatepickerIntl,
3265
+ MC_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER
3266
+ ], imports: [[
3267
+ i1.CommonModule,
3268
+ i3.McButtonModule,
3269
+ i3$1.OverlayModule,
3270
+ a11y.A11yModule,
3271
+ i8.PortalModule,
3272
+ i4.McIconModule
3273
+ ], i3.McButtonModule] });
3274
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McDatepickerModule, decorators: [{
3275
+ type: i0.NgModule,
3276
+ args: [{
3277
+ imports: [
3278
+ i1.CommonModule,
3279
+ i3.McButtonModule,
3280
+ i3$1.OverlayModule,
3281
+ a11y.A11yModule,
3282
+ i8.PortalModule,
3283
+ i4.McIconModule
3284
+ ],
3285
+ exports: [
3286
+ McCalendar,
3287
+ McCalendarBody,
3288
+ McDatepicker,
3289
+ McDatepickerContent,
3290
+ McDatepickerInput,
3291
+ McDatepickerToggle,
3292
+ McDatepickerToggleIcon,
3293
+ McMonthView,
3294
+ McYearView,
3295
+ McMultiYearView,
3296
+ McCalendarHeader,
3297
+ i3.McButtonModule
3298
+ ],
3299
+ declarations: [
3300
+ McCalendar,
3301
+ McCalendarBody,
3302
+ McDatepicker,
3303
+ McDatepickerContent,
3304
+ McDatepickerInput,
3305
+ McDatepickerToggle,
3306
+ McDatepickerToggleIcon,
3307
+ McMonthView,
3308
+ McYearView,
3309
+ McMultiYearView,
3310
+ McCalendarHeader
3311
+ ],
3312
+ providers: [
3313
+ McDatepickerIntl,
3314
+ MC_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER
3315
+ ],
3316
+ entryComponents: [
3317
+ McDatepickerContent,
3318
+ McCalendarHeader
3319
+ ]
3320
+ }]
3321
+ }] });
3143
3322
 
3144
3323
  /**
3145
3324
  * Generated bundle index. Do not edit.
3146
3325
  */
3147
3326
 
3327
+ exports.MAX_YEAR = MAX_YEAR;
3148
3328
  exports.MC_DATEPICKER_SCROLL_STRATEGY = MC_DATEPICKER_SCROLL_STRATEGY;
3149
3329
  exports.MC_DATEPICKER_SCROLL_STRATEGY_FACTORY = MC_DATEPICKER_SCROLL_STRATEGY_FACTORY;
3150
3330
  exports.MC_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER = MC_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER;
@@ -3171,5 +3351,5 @@
3171
3351
 
3172
3352
  Object.defineProperty(exports, '__esModule', { value: true });
3173
3353
 
3174
- })));
3354
+ }));
3175
3355
  //# sourceMappingURL=ptsecurity-mosaic-datepicker.umd.js.map