@ptsecurity/mosaic 13.10.0 → 14.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (531) hide show
  1. package/_theming.scss +90 -7388
  2. package/_visual.scss +6 -2778
  3. package/autocomplete/autocomplete-origin.directive.d.ts +1 -1
  4. package/autocomplete/autocomplete-trigger.directive.d.ts +1 -1
  5. package/autocomplete/autocomplete.component.d.ts +1 -1
  6. package/button/button.component.d.ts +4 -4
  7. package/button-toggle/button-toggle.component.d.ts +2 -2
  8. package/card/card.component.d.ts +3 -3
  9. package/checkbox/checkbox-required-validator.d.ts +1 -1
  10. package/checkbox/checkbox.d.ts +7 -16
  11. package/core/common-behaviors/color.d.ts +4 -1
  12. package/core/common-behaviors/error-state.d.ts +7 -4
  13. package/core/error/error-options.d.ts +3 -3
  14. package/core/formatters/date/formatter.pipe.d.ts +95 -0
  15. package/core/formatters/index.d.ts +3 -1
  16. package/core/formatters/number/formatter.d.ts +1 -1
  17. package/core/forms/forms.directive.d.ts +2 -2
  18. package/core/highlight/highlight.pipe.d.ts +1 -1
  19. package/core/line/line.d.ts +1 -1
  20. package/core/option/action.d.ts +2 -2
  21. package/core/option/optgroup.d.ts +2 -2
  22. package/core/option/option.d.ts +1 -1
  23. package/core/pop-up/pop-up-trigger.d.ts +5 -4
  24. package/core/pop-up/pop-up.d.ts +2 -2
  25. package/core/selection/pseudo-checkbox/pseudo-checkbox.d.ts +3 -3
  26. package/core/validation/validation.d.ts +1 -12
  27. package/datepicker/calendar-body.component.d.ts +1 -1
  28. package/datepicker/calendar.component.d.ts +30 -30
  29. package/datepicker/datepicker-input.directive.d.ts +6 -11
  30. package/datepicker/datepicker-toggle.component.d.ts +2 -2
  31. package/datepicker/datepicker.component.d.ts +2 -2
  32. package/datepicker/month-view.component.d.ts +1 -1
  33. package/datepicker/multi-year-view.component.d.ts +1 -1
  34. package/datepicker/year-view.component.d.ts +1 -1
  35. package/design-tokens/legacy-2017/tokens/components/badge.json5 +46 -46
  36. package/design-tokens/legacy-2017/tokens/components/button-toggle.json5 +2 -1
  37. package/design-tokens/legacy-2017/tokens/components/checkbox.json5 +20 -15
  38. package/design-tokens/legacy-2017/tokens/components/forms.json5 +0 -4
  39. package/design-tokens/legacy-2017/tokens/components/progress-spinner.json5 +10 -1
  40. package/design-tokens/legacy-2017/tokens/components/timezone.json5 +23 -0
  41. package/design-tokens/legacy-2017/tokens.d.ts +55 -35
  42. package/design-tokens/pt-2022/tokens/components/button-toggle.json5 +2 -1
  43. package/design-tokens/pt-2022/tokens/components/checkbox.json5 +21 -16
  44. package/design-tokens/pt-2022/tokens/components/forms.json5 +0 -4
  45. package/design-tokens/pt-2022/tokens/components/progress-spinner.json5 +10 -1
  46. package/design-tokens/pt-2022/tokens/components/timezone.json5 +23 -0
  47. package/design-tokens/pt-2022/tokens/properties/colors.json5 +2 -2
  48. package/design-tokens/pt-2022/tokens/properties/typography.json5 +17 -17
  49. package/design-tokens/pt-2022/tokens.d.ts +43 -23
  50. package/design-tokens/style-dictionary/formats/figma.js +2 -2
  51. package/design-tokens/style-dictionary/transforms/attribute/palette.js +1 -1
  52. package/design-tokens/style-dictionary/transforms/attribute/size.js +1 -1
  53. package/design-tokens/style-dictionary/transforms/attribute/typography.js +1 -1
  54. package/divider/divider.component.d.ts +1 -1
  55. package/dl/dl.component.d.ts +3 -3
  56. package/dropdown/dropdown-content.directive.d.ts +1 -1
  57. package/dropdown/dropdown-item.component.d.ts +1 -1
  58. package/dropdown/dropdown-trigger.directive.d.ts +1 -1
  59. package/dropdown/dropdown.component.d.ts +1 -1
  60. package/esm2020/autocomplete/autocomplete-origin.directive.mjs +4 -4
  61. package/esm2020/autocomplete/autocomplete-trigger.directive.mjs +7 -7
  62. package/esm2020/autocomplete/autocomplete.component.mjs +5 -6
  63. package/esm2020/autocomplete/autocomplete.module.mjs +5 -5
  64. package/esm2020/button/button.component.mjs +13 -13
  65. package/esm2020/button/button.module.mjs +7 -9
  66. package/esm2020/button-toggle/button-toggle.component.mjs +9 -9
  67. package/esm2020/button-toggle/button-toggle.module.mjs +5 -5
  68. package/esm2020/card/card.component.mjs +9 -9
  69. package/esm2020/card/card.module.mjs +7 -9
  70. package/esm2020/checkbox/checkbox-module.mjs +5 -5
  71. package/esm2020/checkbox/checkbox-required-validator.mjs +4 -4
  72. package/esm2020/checkbox/checkbox.mjs +22 -38
  73. package/esm2020/core/common-behaviors/color.mjs +6 -3
  74. package/esm2020/core/common-behaviors/common-module.mjs +5 -5
  75. package/esm2020/core/common-behaviors/disabled.mjs +1 -1
  76. package/esm2020/core/common-behaviors/error-state.mjs +1 -11
  77. package/esm2020/core/error/error-options.mjs +7 -7
  78. package/esm2020/core/formatters/date/formatter.mjs +4 -4
  79. package/esm2020/core/formatters/date/formatter.pipe.mjs +187 -0
  80. package/esm2020/core/formatters/index.mjs +65 -7
  81. package/esm2020/core/formatters/number/formatter.mjs +5 -5
  82. package/esm2020/core/forms/forms-module.mjs +5 -5
  83. package/esm2020/core/forms/forms.directive.mjs +7 -7
  84. package/esm2020/core/highlight/highlight.pipe.mjs +4 -4
  85. package/esm2020/core/highlight/index.mjs +5 -5
  86. package/esm2020/core/line/line.mjs +8 -8
  87. package/esm2020/core/option/action.mjs +6 -6
  88. package/esm2020/core/option/optgroup.mjs +6 -6
  89. package/esm2020/core/option/option-module.mjs +6 -6
  90. package/esm2020/core/option/option.mjs +6 -6
  91. package/esm2020/core/pop-up/pop-up-trigger.mjs +16 -14
  92. package/esm2020/core/pop-up/pop-up.mjs +4 -4
  93. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +6 -7
  94. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.module.mjs +5 -5
  95. package/esm2020/core/services/measure-scrollbar.service.mjs +4 -4
  96. package/esm2020/core/validation/validation.mjs +1 -114
  97. package/esm2020/datepicker/calendar-body.component.mjs +4 -4
  98. package/esm2020/datepicker/calendar.component.mjs +125 -128
  99. package/esm2020/datepicker/datepicker-input.directive.mjs +14 -32
  100. package/esm2020/datepicker/datepicker-intl.mjs +4 -4
  101. package/esm2020/datepicker/datepicker-module.mjs +11 -17
  102. package/esm2020/datepicker/datepicker-toggle.component.mjs +10 -10
  103. package/esm2020/datepicker/datepicker.component.mjs +10 -10
  104. package/esm2020/datepicker/month-view.component.mjs +6 -6
  105. package/esm2020/datepicker/multi-year-view.component.mjs +4 -4
  106. package/esm2020/datepicker/year-view.component.mjs +4 -4
  107. package/esm2020/design-tokens/legacy-2017/tokens.mjs +56 -36
  108. package/esm2020/design-tokens/pt-2022/tokens.mjs +44 -24
  109. package/esm2020/divider/divider.component.mjs +4 -4
  110. package/esm2020/divider/divider.module.mjs +5 -5
  111. package/esm2020/dl/dl.component.mjs +11 -11
  112. package/esm2020/dl/dl.module.mjs +7 -9
  113. package/esm2020/dropdown/dropdown-content.directive.mjs +4 -4
  114. package/esm2020/dropdown/dropdown-item.component.mjs +7 -7
  115. package/esm2020/dropdown/dropdown-trigger.directive.mjs +4 -4
  116. package/esm2020/dropdown/dropdown.component.mjs +5 -5
  117. package/esm2020/dropdown/dropdown.module.mjs +7 -9
  118. package/esm2020/form-field/cleaner.mjs +4 -4
  119. package/esm2020/form-field/form-field.mjs +24 -21
  120. package/esm2020/form-field/form-field.module.mjs +14 -9
  121. package/esm2020/form-field/hint.mjs +6 -7
  122. package/esm2020/form-field/password-hint.mjs +11 -12
  123. package/esm2020/form-field/prefix.mjs +4 -4
  124. package/esm2020/form-field/public-api.mjs +2 -1
  125. package/esm2020/form-field/stepper.mjs +4 -4
  126. package/esm2020/form-field/suffix.mjs +4 -4
  127. package/esm2020/form-field/validate.directive.mjs +156 -0
  128. package/esm2020/icon/icon.component.mjs +10 -11
  129. package/esm2020/icon/icon.module.mjs +7 -9
  130. package/esm2020/input/input-number-validators.mjs +7 -7
  131. package/esm2020/input/input-number.mjs +4 -4
  132. package/esm2020/input/input-password.mjs +17 -50
  133. package/esm2020/input/input.mjs +19 -46
  134. package/esm2020/input/input.module.mjs +8 -10
  135. package/esm2020/link/link.component.mjs +4 -4
  136. package/esm2020/link/link.module.mjs +6 -8
  137. package/esm2020/list/list-selection.component.mjs +10 -10
  138. package/esm2020/list/list.component.mjs +8 -8
  139. package/esm2020/list/list.module.mjs +9 -11
  140. package/esm2020/loader-overlay/loader-overlay.component.mjs +15 -15
  141. package/esm2020/loader-overlay/loader-overlay.module.mjs +8 -10
  142. package/esm2020/modal/css-unit.pipe.mjs +4 -4
  143. package/esm2020/modal/modal-control.service.mjs +4 -4
  144. package/esm2020/modal/modal.component.mjs +8 -8
  145. package/esm2020/modal/modal.directive.mjs +13 -13
  146. package/esm2020/modal/modal.module.mjs +11 -14
  147. package/esm2020/modal/modal.service.mjs +6 -6
  148. package/esm2020/navbar/navbar-item.component.mjs +36 -36
  149. package/esm2020/navbar/navbar.component.mjs +11 -11
  150. package/esm2020/navbar/navbar.module.mjs +9 -11
  151. package/esm2020/navbar/vertical-navbar.component.mjs +6 -6
  152. package/esm2020/popover/popover-confirm.component.mjs +11 -11
  153. package/esm2020/popover/popover.component.mjs +20 -11
  154. package/esm2020/popover/popover.module.mjs +6 -7
  155. package/esm2020/progress-bar/progress-bar.component.mjs +7 -8
  156. package/esm2020/progress-bar/progress-bar.module.mjs +6 -8
  157. package/esm2020/progress-spinner/progress-spinner.component.mjs +25 -11
  158. package/esm2020/progress-spinner/progress-spinner.module.mjs +6 -8
  159. package/esm2020/radio/radio.component.mjs +53 -54
  160. package/esm2020/radio/radio.module.mjs +5 -5
  161. package/esm2020/select/select-option.directive.mjs +4 -4
  162. package/esm2020/select/select.component.mjs +41 -55
  163. package/esm2020/select/select.module.mjs +10 -12
  164. package/esm2020/sidebar/sidebar.component.mjs +10 -10
  165. package/esm2020/sidebar/sidebar.module.mjs +5 -5
  166. package/esm2020/sidepanel/sidepanel-container.component.mjs +7 -7
  167. package/esm2020/sidepanel/sidepanel-directives.mjs +22 -20
  168. package/esm2020/sidepanel/sidepanel.module.mjs +11 -14
  169. package/esm2020/sidepanel/sidepanel.service.mjs +33 -29
  170. package/esm2020/splitter/splitter.component.mjs +37 -37
  171. package/esm2020/splitter/splitter.module.mjs +6 -8
  172. package/esm2020/table/table.component.mjs +4 -4
  173. package/esm2020/table/table.module.mjs +7 -9
  174. package/esm2020/tabs/paginated-tab-header.mjs +4 -4
  175. package/esm2020/tabs/tab-body.component.mjs +7 -7
  176. package/esm2020/tabs/tab-content.directive.mjs +4 -4
  177. package/esm2020/tabs/tab-group.component.mjs +29 -30
  178. package/esm2020/tabs/tab-header.component.mjs +5 -5
  179. package/esm2020/tabs/tab-label-wrapper.directive.mjs +4 -4
  180. package/esm2020/tabs/tab-label.directive.mjs +4 -4
  181. package/esm2020/tabs/tab-nav-bar/tab-nav-bar.mjs +7 -7
  182. package/esm2020/tabs/tab.component.mjs +4 -4
  183. package/esm2020/tabs/tabs.module.mjs +11 -13
  184. package/esm2020/tags/tag-input.mjs +4 -4
  185. package/esm2020/tags/tag-list.component.mjs +26 -35
  186. package/esm2020/tags/tag.component.mjs +23 -21
  187. package/esm2020/tags/tag.module.mjs +6 -6
  188. package/esm2020/textarea/textarea.component.mjs +24 -39
  189. package/esm2020/textarea/textarea.module.mjs +5 -5
  190. package/esm2020/timepicker/timepicker.directive.mjs +10 -27
  191. package/esm2020/timepicker/timepicker.module.mjs +8 -10
  192. package/esm2020/timezone/cities-by-filter.pipe.mjs +17 -0
  193. package/esm2020/timezone/index.mjs +2 -0
  194. package/esm2020/timezone/ptsecurity-mosaic-timezone.mjs +5 -0
  195. package/esm2020/timezone/public-api.mjs +7 -0
  196. package/esm2020/timezone/timezone-option.component.mjs +48 -0
  197. package/esm2020/timezone/timezone-option.directive.mjs +58 -0
  198. package/esm2020/timezone/timezone-select.component.mjs +40 -0
  199. package/esm2020/timezone/timezone.models.mjs +3 -0
  200. package/esm2020/timezone/timezone.module.mjs +75 -0
  201. package/esm2020/timezone/timezone.utils.mjs +72 -0
  202. package/esm2020/timezone/utc-offset.pipe.mjs +17 -0
  203. package/esm2020/toast/toast-container.component.mjs +5 -5
  204. package/esm2020/toast/toast.component.mjs +9 -9
  205. package/esm2020/toast/toast.module.mjs +12 -12
  206. package/esm2020/toast/toast.service.mjs +23 -14
  207. package/esm2020/toggle/toggle.component.mjs +13 -16
  208. package/esm2020/toggle/toggle.module.mjs +5 -5
  209. package/esm2020/tooltip/tooltip.component.mjs +14 -14
  210. package/esm2020/tooltip/tooltip.module.mjs +7 -8
  211. package/esm2020/tree/control/flat-tree-control.mjs +1 -1
  212. package/esm2020/tree/data-source/nested-data-source.mjs +1 -1
  213. package/esm2020/tree/node.mjs +4 -4
  214. package/esm2020/tree/outlet.mjs +4 -4
  215. package/esm2020/tree/padding.directive.mjs +4 -4
  216. package/esm2020/tree/toggle.mjs +10 -10
  217. package/esm2020/tree/tree-base.mjs +7 -7
  218. package/esm2020/tree/tree-option.component.mjs +8 -8
  219. package/esm2020/tree/tree-selection.component.mjs +5 -5
  220. package/esm2020/tree/tree.mjs +4 -4
  221. package/esm2020/tree/tree.module.mjs +5 -5
  222. package/esm2020/tree-select/tree-select.component.mjs +39 -53
  223. package/esm2020/tree-select/tree-select.module.mjs +11 -13
  224. package/fesm2015/ptsecurity-mosaic-autocomplete.mjs +17 -18
  225. package/fesm2015/ptsecurity-mosaic-autocomplete.mjs.map +1 -1
  226. package/fesm2015/ptsecurity-mosaic-button-toggle.mjs +12 -12
  227. package/fesm2015/ptsecurity-mosaic-button-toggle.mjs.map +1 -1
  228. package/fesm2015/ptsecurity-mosaic-button.mjs +18 -20
  229. package/fesm2015/ptsecurity-mosaic-button.mjs.map +1 -1
  230. package/fesm2015/ptsecurity-mosaic-card.mjs +14 -16
  231. package/fesm2015/ptsecurity-mosaic-card.mjs.map +1 -1
  232. package/fesm2015/ptsecurity-mosaic-checkbox.mjs +28 -44
  233. package/fesm2015/ptsecurity-mosaic-checkbox.mjs.map +1 -1
  234. package/fesm2015/ptsecurity-mosaic-core.mjs +341 -217
  235. package/fesm2015/ptsecurity-mosaic-core.mjs.map +1 -1
  236. package/fesm2015/ptsecurity-mosaic-datepicker.mjs +174 -201
  237. package/fesm2015/ptsecurity-mosaic-datepicker.mjs.map +1 -1
  238. package/fesm2015/ptsecurity-mosaic-design-tokens.mjs +153 -93
  239. package/fesm2015/ptsecurity-mosaic-design-tokens.mjs.map +1 -1
  240. package/fesm2015/ptsecurity-mosaic-divider.mjs +7 -7
  241. package/fesm2015/ptsecurity-mosaic-divider.mjs.map +1 -1
  242. package/fesm2015/ptsecurity-mosaic-dl.mjs +16 -18
  243. package/fesm2015/ptsecurity-mosaic-dl.mjs.map +1 -1
  244. package/fesm2015/ptsecurity-mosaic-dropdown.mjs +22 -24
  245. package/fesm2015/ptsecurity-mosaic-dropdown.mjs.map +1 -1
  246. package/fesm2015/ptsecurity-mosaic-form-field.mjs +216 -57
  247. package/fesm2015/ptsecurity-mosaic-form-field.mjs.map +1 -1
  248. package/fesm2015/ptsecurity-mosaic-icon.mjs +15 -18
  249. package/fesm2015/ptsecurity-mosaic-icon.mjs.map +1 -1
  250. package/fesm2015/ptsecurity-mosaic-input.mjs +45 -107
  251. package/fesm2015/ptsecurity-mosaic-input.mjs.map +1 -1
  252. package/fesm2015/ptsecurity-mosaic-link.mjs +8 -10
  253. package/fesm2015/ptsecurity-mosaic-link.mjs.map +1 -1
  254. package/fesm2015/ptsecurity-mosaic-list.mjs +24 -26
  255. package/fesm2015/ptsecurity-mosaic-list.mjs.map +1 -1
  256. package/fesm2015/ptsecurity-mosaic-loader-overlay.mjs +21 -23
  257. package/fesm2015/ptsecurity-mosaic-loader-overlay.mjs.map +1 -1
  258. package/fesm2015/ptsecurity-mosaic-modal.mjs +41 -44
  259. package/fesm2015/ptsecurity-mosaic-modal.mjs.map +1 -1
  260. package/fesm2015/ptsecurity-mosaic-navbar.mjs +58 -60
  261. package/fesm2015/ptsecurity-mosaic-navbar.mjs.map +1 -1
  262. package/fesm2015/ptsecurity-mosaic-popover.mjs +33 -25
  263. package/fesm2015/ptsecurity-mosaic-popover.mjs.map +1 -1
  264. package/fesm2015/ptsecurity-mosaic-progress-bar.mjs +11 -14
  265. package/fesm2015/ptsecurity-mosaic-progress-bar.mjs.map +1 -1
  266. package/fesm2015/ptsecurity-mosaic-progress-spinner.mjs +29 -17
  267. package/fesm2015/ptsecurity-mosaic-progress-spinner.mjs.map +1 -1
  268. package/fesm2015/ptsecurity-mosaic-radio.mjs +57 -57
  269. package/fesm2015/ptsecurity-mosaic-radio.mjs.map +1 -1
  270. package/fesm2015/ptsecurity-mosaic-select.mjs +52 -68
  271. package/fesm2015/ptsecurity-mosaic-select.mjs.map +1 -1
  272. package/fesm2015/ptsecurity-mosaic-sidebar.mjs +13 -13
  273. package/fesm2015/ptsecurity-mosaic-sidebar.mjs.map +1 -1
  274. package/fesm2015/ptsecurity-mosaic-sidepanel.mjs +69 -66
  275. package/fesm2015/ptsecurity-mosaic-sidepanel.mjs.map +1 -1
  276. package/fesm2015/ptsecurity-mosaic-splitter.mjs +41 -43
  277. package/fesm2015/ptsecurity-mosaic-splitter.mjs.map +1 -1
  278. package/fesm2015/ptsecurity-mosaic-table.mjs +9 -11
  279. package/fesm2015/ptsecurity-mosaic-table.mjs.map +1 -1
  280. package/fesm2015/ptsecurity-mosaic-tabs.mjs +137 -140
  281. package/fesm2015/ptsecurity-mosaic-tabs.mjs.map +1 -1
  282. package/fesm2015/ptsecurity-mosaic-tags.mjs +54 -61
  283. package/fesm2015/ptsecurity-mosaic-tags.mjs.map +1 -1
  284. package/fesm2015/ptsecurity-mosaic-textarea.mjs +28 -42
  285. package/fesm2015/ptsecurity-mosaic-textarea.mjs.map +1 -1
  286. package/fesm2015/ptsecurity-mosaic-timepicker.mjs +15 -34
  287. package/fesm2015/ptsecurity-mosaic-timepicker.mjs.map +1 -1
  288. package/fesm2015/ptsecurity-mosaic-timezone.mjs +308 -0
  289. package/fesm2015/ptsecurity-mosaic-timezone.mjs.map +1 -0
  290. package/fesm2015/ptsecurity-mosaic-toast.mjs +135 -125
  291. package/fesm2015/ptsecurity-mosaic-toast.mjs.map +1 -1
  292. package/fesm2015/ptsecurity-mosaic-toggle.mjs +16 -19
  293. package/fesm2015/ptsecurity-mosaic-toggle.mjs.map +1 -1
  294. package/fesm2015/ptsecurity-mosaic-tooltip.mjs +19 -20
  295. package/fesm2015/ptsecurity-mosaic-tooltip.mjs.map +1 -1
  296. package/fesm2015/ptsecurity-mosaic-tree-select.mjs +50 -66
  297. package/fesm2015/ptsecurity-mosaic-tree-select.mjs.map +1 -1
  298. package/fesm2015/ptsecurity-mosaic-tree.mjs +43 -43
  299. package/fesm2015/ptsecurity-mosaic-tree.mjs.map +1 -1
  300. package/fesm2020/ptsecurity-mosaic-autocomplete.mjs +17 -18
  301. package/fesm2020/ptsecurity-mosaic-autocomplete.mjs.map +1 -1
  302. package/fesm2020/ptsecurity-mosaic-button-toggle.mjs +12 -12
  303. package/fesm2020/ptsecurity-mosaic-button-toggle.mjs.map +1 -1
  304. package/fesm2020/ptsecurity-mosaic-button.mjs +18 -20
  305. package/fesm2020/ptsecurity-mosaic-button.mjs.map +1 -1
  306. package/fesm2020/ptsecurity-mosaic-card.mjs +14 -16
  307. package/fesm2020/ptsecurity-mosaic-card.mjs.map +1 -1
  308. package/fesm2020/ptsecurity-mosaic-checkbox.mjs +28 -44
  309. package/fesm2020/ptsecurity-mosaic-checkbox.mjs.map +1 -1
  310. package/fesm2020/ptsecurity-mosaic-core.mjs +338 -217
  311. package/fesm2020/ptsecurity-mosaic-core.mjs.map +1 -1
  312. package/fesm2020/ptsecurity-mosaic-datepicker.mjs +173 -200
  313. package/fesm2020/ptsecurity-mosaic-datepicker.mjs.map +1 -1
  314. package/fesm2020/ptsecurity-mosaic-design-tokens.mjs +153 -93
  315. package/fesm2020/ptsecurity-mosaic-design-tokens.mjs.map +1 -1
  316. package/fesm2020/ptsecurity-mosaic-divider.mjs +7 -7
  317. package/fesm2020/ptsecurity-mosaic-divider.mjs.map +1 -1
  318. package/fesm2020/ptsecurity-mosaic-dl.mjs +16 -18
  319. package/fesm2020/ptsecurity-mosaic-dl.mjs.map +1 -1
  320. package/fesm2020/ptsecurity-mosaic-dropdown.mjs +22 -24
  321. package/fesm2020/ptsecurity-mosaic-dropdown.mjs.map +1 -1
  322. package/fesm2020/ptsecurity-mosaic-form-field.mjs +214 -57
  323. package/fesm2020/ptsecurity-mosaic-form-field.mjs.map +1 -1
  324. package/fesm2020/ptsecurity-mosaic-icon.mjs +15 -18
  325. package/fesm2020/ptsecurity-mosaic-icon.mjs.map +1 -1
  326. package/fesm2020/ptsecurity-mosaic-input.mjs +45 -107
  327. package/fesm2020/ptsecurity-mosaic-input.mjs.map +1 -1
  328. package/fesm2020/ptsecurity-mosaic-link.mjs +8 -10
  329. package/fesm2020/ptsecurity-mosaic-link.mjs.map +1 -1
  330. package/fesm2020/ptsecurity-mosaic-list.mjs +24 -26
  331. package/fesm2020/ptsecurity-mosaic-list.mjs.map +1 -1
  332. package/fesm2020/ptsecurity-mosaic-loader-overlay.mjs +21 -23
  333. package/fesm2020/ptsecurity-mosaic-loader-overlay.mjs.map +1 -1
  334. package/fesm2020/ptsecurity-mosaic-modal.mjs +41 -44
  335. package/fesm2020/ptsecurity-mosaic-modal.mjs.map +1 -1
  336. package/fesm2020/ptsecurity-mosaic-navbar.mjs +58 -60
  337. package/fesm2020/ptsecurity-mosaic-navbar.mjs.map +1 -1
  338. package/fesm2020/ptsecurity-mosaic-popover.mjs +33 -25
  339. package/fesm2020/ptsecurity-mosaic-popover.mjs.map +1 -1
  340. package/fesm2020/ptsecurity-mosaic-progress-bar.mjs +11 -14
  341. package/fesm2020/ptsecurity-mosaic-progress-bar.mjs.map +1 -1
  342. package/fesm2020/ptsecurity-mosaic-progress-spinner.mjs +29 -17
  343. package/fesm2020/ptsecurity-mosaic-progress-spinner.mjs.map +1 -1
  344. package/fesm2020/ptsecurity-mosaic-radio.mjs +56 -57
  345. package/fesm2020/ptsecurity-mosaic-radio.mjs.map +1 -1
  346. package/fesm2020/ptsecurity-mosaic-select.mjs +50 -67
  347. package/fesm2020/ptsecurity-mosaic-select.mjs.map +1 -1
  348. package/fesm2020/ptsecurity-mosaic-sidebar.mjs +13 -13
  349. package/fesm2020/ptsecurity-mosaic-sidebar.mjs.map +1 -1
  350. package/fesm2020/ptsecurity-mosaic-sidepanel.mjs +69 -66
  351. package/fesm2020/ptsecurity-mosaic-sidepanel.mjs.map +1 -1
  352. package/fesm2020/ptsecurity-mosaic-splitter.mjs +41 -43
  353. package/fesm2020/ptsecurity-mosaic-splitter.mjs.map +1 -1
  354. package/fesm2020/ptsecurity-mosaic-table.mjs +9 -11
  355. package/fesm2020/ptsecurity-mosaic-table.mjs.map +1 -1
  356. package/fesm2020/ptsecurity-mosaic-tabs.mjs +66 -69
  357. package/fesm2020/ptsecurity-mosaic-tabs.mjs.map +1 -1
  358. package/fesm2020/ptsecurity-mosaic-tags.mjs +53 -61
  359. package/fesm2020/ptsecurity-mosaic-tags.mjs.map +1 -1
  360. package/fesm2020/ptsecurity-mosaic-textarea.mjs +26 -41
  361. package/fesm2020/ptsecurity-mosaic-textarea.mjs.map +1 -1
  362. package/fesm2020/ptsecurity-mosaic-timepicker.mjs +15 -34
  363. package/fesm2020/ptsecurity-mosaic-timepicker.mjs.map +1 -1
  364. package/fesm2020/ptsecurity-mosaic-timezone.mjs +306 -0
  365. package/fesm2020/ptsecurity-mosaic-timezone.mjs.map +1 -0
  366. package/fesm2020/ptsecurity-mosaic-toast.mjs +130 -120
  367. package/fesm2020/ptsecurity-mosaic-toast.mjs.map +1 -1
  368. package/fesm2020/ptsecurity-mosaic-toggle.mjs +16 -19
  369. package/fesm2020/ptsecurity-mosaic-toggle.mjs.map +1 -1
  370. package/fesm2020/ptsecurity-mosaic-tooltip.mjs +19 -20
  371. package/fesm2020/ptsecurity-mosaic-tooltip.mjs.map +1 -1
  372. package/fesm2020/ptsecurity-mosaic-tree-select.mjs +47 -64
  373. package/fesm2020/ptsecurity-mosaic-tree-select.mjs.map +1 -1
  374. package/fesm2020/ptsecurity-mosaic-tree.mjs +43 -43
  375. package/fesm2020/ptsecurity-mosaic-tree.mjs.map +1 -1
  376. package/form-field/cleaner.d.ts +1 -1
  377. package/form-field/form-field.d.ts +13 -7
  378. package/form-field/form-field.module.d.ts +4 -3
  379. package/form-field/hint.d.ts +3 -3
  380. package/form-field/password-hint.d.ts +2 -3
  381. package/form-field/prefix.d.ts +1 -1
  382. package/form-field/public-api.d.ts +1 -0
  383. package/form-field/stepper.d.ts +1 -1
  384. package/form-field/suffix.d.ts +1 -1
  385. package/form-field/validate.directive.d.ts +32 -0
  386. package/icon/icon.component.d.ts +4 -4
  387. package/input/input-number-validators.d.ts +2 -2
  388. package/input/input-number.d.ts +1 -1
  389. package/input/input-password.d.ts +9 -15
  390. package/input/input.d.ts +14 -14
  391. package/link/link.component.d.ts +1 -1
  392. package/list/list-selection.component.d.ts +2 -2
  393. package/list/list.component.d.ts +2 -2
  394. package/loader-overlay/loader-overlay.component.d.ts +4 -4
  395. package/modal/css-unit.pipe.d.ts +1 -1
  396. package/modal/modal.component.d.ts +1 -1
  397. package/modal/modal.directive.d.ts +4 -4
  398. package/navbar/navbar-item.component.d.ts +11 -11
  399. package/navbar/navbar.component.d.ts +3 -3
  400. package/navbar/vertical-navbar.component.d.ts +1 -1
  401. package/package.json +56 -48
  402. package/popover/popover-confirm.component.d.ts +2 -2
  403. package/popover/popover.component.d.ts +5 -5
  404. package/prebuilt-themes/dark-theme.css +1 -1
  405. package/prebuilt-themes/default-theme.css +1 -1
  406. package/prebuilt-visual/default-visual.css +1 -1
  407. package/progress-bar/progress-bar.component.d.ts +3 -3
  408. package/progress-spinner/progress-spinner.component.d.ts +8 -3
  409. package/radio/radio.component.d.ts +11 -17
  410. package/select/select-option.directive.d.ts +1 -1
  411. package/select/select.component.d.ts +16 -14
  412. package/sidebar/sidebar.component.d.ts +3 -3
  413. package/sidepanel/sidepanel-container.component.d.ts +1 -1
  414. package/sidepanel/sidepanel-directives.d.ts +5 -5
  415. package/splitter/splitter.component.d.ts +4 -4
  416. package/table/table.component.d.ts +1 -1
  417. package/tabs/paginated-tab-header.d.ts +1 -1
  418. package/tabs/tab-body.component.d.ts +2 -2
  419. package/tabs/tab-content.directive.d.ts +1 -1
  420. package/tabs/tab-group.component.d.ts +8 -8
  421. package/tabs/tab-header.component.d.ts +1 -1
  422. package/tabs/tab-label-wrapper.directive.d.ts +1 -1
  423. package/tabs/tab-label.directive.d.ts +1 -1
  424. package/tabs/tab-nav-bar/tab-nav-bar.d.ts +2 -2
  425. package/tabs/tab.component.d.ts +1 -1
  426. package/tags/tag-input.d.ts +1 -1
  427. package/tags/tag-list.component.d.ts +14 -10
  428. package/tags/tag.component.d.ts +8 -6
  429. package/textarea/textarea.component.d.ts +14 -13
  430. package/timepicker/timepicker.directive.d.ts +5 -10
  431. package/timezone/README.md +0 -0
  432. package/timezone/cities-by-filter.pipe.d.ts +7 -0
  433. package/timezone/index.d.ts +1 -0
  434. package/timezone/public-api.d.ts +6 -0
  435. package/timezone/timezone-option.component.d.ts +15 -0
  436. package/timezone/timezone-option.directive.d.ts +20 -0
  437. package/timezone/timezone-select.component.d.ts +14 -0
  438. package/timezone/timezone.models.d.ts +16 -0
  439. package/timezone/timezone.module.d.ts +19 -0
  440. package/timezone/timezone.utils.d.ts +18 -0
  441. package/timezone/utc-offset.pipe.d.ts +7 -0
  442. package/toast/toast-container.component.d.ts +1 -1
  443. package/toast/toast.component.d.ts +1 -1
  444. package/toast/toast.service.d.ts +6 -4
  445. package/toggle/toggle.component.d.ts +5 -5
  446. package/tooltip/tooltip.component.d.ts +5 -6
  447. package/tree/control/flat-tree-control.d.ts +8 -8
  448. package/tree/node.d.ts +1 -1
  449. package/tree/outlet.d.ts +1 -1
  450. package/tree/padding.directive.d.ts +1 -1
  451. package/tree/toggle.d.ts +3 -3
  452. package/tree/tree-base.d.ts +2 -2
  453. package/tree/tree-option.component.d.ts +1 -1
  454. package/tree/tree-selection.component.d.ts +1 -1
  455. package/tree/tree.d.ts +1 -1
  456. package/tree-select/tree-select.component.d.ts +14 -12
  457. package/autocomplete/package.json +0 -10
  458. package/autocomplete/ptsecurity-mosaic-autocomplete.d.ts +0 -5
  459. package/button/package.json +0 -10
  460. package/button/ptsecurity-mosaic-button.d.ts +0 -5
  461. package/button-toggle/package.json +0 -10
  462. package/button-toggle/ptsecurity-mosaic-button-toggle.d.ts +0 -5
  463. package/card/package.json +0 -10
  464. package/card/ptsecurity-mosaic-card.d.ts +0 -5
  465. package/checkbox/package.json +0 -10
  466. package/checkbox/ptsecurity-mosaic-checkbox.d.ts +0 -5
  467. package/core/package.json +0 -10
  468. package/core/ptsecurity-mosaic-core.d.ts +0 -5
  469. package/datepicker/package.json +0 -10
  470. package/datepicker/ptsecurity-mosaic-datepicker.d.ts +0 -5
  471. package/design-tokens/package.json +0 -10
  472. package/design-tokens/ptsecurity-mosaic-design-tokens.d.ts +0 -5
  473. package/divider/package.json +0 -10
  474. package/divider/ptsecurity-mosaic-divider.d.ts +0 -5
  475. package/dl/package.json +0 -10
  476. package/dl/ptsecurity-mosaic-dl.d.ts +0 -5
  477. package/dropdown/package.json +0 -10
  478. package/dropdown/ptsecurity-mosaic-dropdown.d.ts +0 -5
  479. package/form-field/package.json +0 -10
  480. package/form-field/ptsecurity-mosaic-form-field.d.ts +0 -5
  481. package/icon/package.json +0 -10
  482. package/icon/ptsecurity-mosaic-icon.d.ts +0 -5
  483. package/input/package.json +0 -10
  484. package/input/ptsecurity-mosaic-input.d.ts +0 -5
  485. package/link/package.json +0 -10
  486. package/link/ptsecurity-mosaic-link.d.ts +0 -5
  487. package/list/package.json +0 -10
  488. package/list/ptsecurity-mosaic-list.d.ts +0 -5
  489. package/loader-overlay/package.json +0 -10
  490. package/loader-overlay/ptsecurity-mosaic-loader-overlay.d.ts +0 -5
  491. package/modal/package.json +0 -10
  492. package/modal/ptsecurity-mosaic-modal.d.ts +0 -5
  493. package/navbar/package.json +0 -10
  494. package/navbar/ptsecurity-mosaic-navbar.d.ts +0 -5
  495. package/popover/package.json +0 -10
  496. package/popover/ptsecurity-mosaic-popover.d.ts +0 -5
  497. package/progress-bar/package.json +0 -10
  498. package/progress-bar/ptsecurity-mosaic-progress-bar.d.ts +0 -5
  499. package/progress-spinner/package.json +0 -10
  500. package/progress-spinner/ptsecurity-mosaic-progress-spinner.d.ts +0 -5
  501. package/ptsecurity-mosaic.d.ts +0 -5
  502. package/radio/package.json +0 -10
  503. package/radio/ptsecurity-mosaic-radio.d.ts +0 -5
  504. package/select/package.json +0 -10
  505. package/select/ptsecurity-mosaic-select.d.ts +0 -5
  506. package/sidebar/package.json +0 -10
  507. package/sidebar/ptsecurity-mosaic-sidebar.d.ts +0 -5
  508. package/sidepanel/package.json +0 -10
  509. package/sidepanel/ptsecurity-mosaic-sidepanel.d.ts +0 -5
  510. package/splitter/package.json +0 -10
  511. package/splitter/ptsecurity-mosaic-splitter.d.ts +0 -5
  512. package/table/package.json +0 -10
  513. package/table/ptsecurity-mosaic-table.d.ts +0 -5
  514. package/tabs/package.json +0 -10
  515. package/tabs/ptsecurity-mosaic-tabs.d.ts +0 -5
  516. package/tags/package.json +0 -10
  517. package/tags/ptsecurity-mosaic-tags.d.ts +0 -5
  518. package/textarea/package.json +0 -10
  519. package/textarea/ptsecurity-mosaic-textarea.d.ts +0 -5
  520. package/timepicker/package.json +0 -10
  521. package/timepicker/ptsecurity-mosaic-timepicker.d.ts +0 -5
  522. package/toast/package.json +0 -10
  523. package/toast/ptsecurity-mosaic-toast.d.ts +0 -5
  524. package/toggle/package.json +0 -10
  525. package/toggle/ptsecurity-mosaic-toggle.d.ts +0 -5
  526. package/tooltip/package.json +0 -10
  527. package/tooltip/ptsecurity-mosaic-tooltip.d.ts +0 -5
  528. package/tree/package.json +0 -10
  529. package/tree/ptsecurity-mosaic-tree.d.ts +0 -5
  530. package/tree-select/package.json +0 -10
  531. package/tree-select/ptsecurity-mosaic-tree-select.d.ts +0 -5
@@ -6,7 +6,7 @@ import { InjectionToken, Directive, Optional, Self, Attribute, Input, Inject, fo
6
6
  import * as i1 from '@angular/forms';
7
7
  import { NG_VALIDATORS, Validators, FormsModule } from '@angular/forms';
8
8
  import * as i3 from '@ptsecurity/mosaic/core';
9
- import { mixinErrorState, setMosaicValidation, MC_VALIDATION, PopUpTriggers, McCommonModule } from '@ptsecurity/mosaic/core';
9
+ import { mixinErrorState, PopUpTriggers, McCommonModule } from '@ptsecurity/mosaic/core';
10
10
  import { coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';
11
11
  import { getSupportedInputTypes } from '@angular/cdk/platform';
12
12
  import * as i4 from '@ptsecurity/mosaic/form-field';
@@ -140,9 +140,9 @@ class McNumberInput {
140
140
  }
141
141
  }
142
142
  }
143
- /** @nocollapse */ /** @nocollapse */ McNumberInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: McNumberInput, deps: [{ token: i0.ElementRef }, { token: i1.NgControl, optional: true, self: true }, { token: 'step', attribute: true }, { token: 'big-step', attribute: true }, { token: 'min', attribute: true }, { token: 'max', attribute: true }], target: i0.ɵɵFactoryTarget.Directive });
144
- /** @nocollapse */ /** @nocollapse */ McNumberInput.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: McNumberInput, selector: "input[mcInput][type=\"number\"]", inputs: { bigStep: "bigStep", step: "step", min: "min", max: "max" }, host: { listeners: { "blur": "focusChanged(false)", "focus": "focusChanged(true)", "paste": "onPaste($event)", "keydown": "onKeyDown($event)" } }, exportAs: ["mcNumericalInput"], ngImport: i0 });
145
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: McNumberInput, decorators: [{
143
+ /** @nocollapse */ McNumberInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: McNumberInput, deps: [{ token: i0.ElementRef }, { token: i1.NgControl, optional: true, self: true }, { token: 'step', attribute: true }, { token: 'big-step', attribute: true }, { token: 'min', attribute: true }, { token: 'max', attribute: true }], target: i0.ɵɵFactoryTarget.Directive });
144
+ /** @nocollapse */ McNumberInput.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.2", type: McNumberInput, selector: "input[mcInput][type=\"number\"]", inputs: { bigStep: "bigStep", step: "step", min: "min", max: "max" }, host: { listeners: { "blur": "focusChanged(false)", "focus": "focusChanged(true)", "paste": "onPaste($event)", "keydown": "onKeyDown($event)" } }, exportAs: ["mcNumericalInput"], ngImport: i0 });
145
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: McNumberInput, decorators: [{
146
146
  type: Directive,
147
147
  args: [{
148
148
  selector: `input[mcInput][type="number"]`,
@@ -200,21 +200,22 @@ class McInputBase {
200
200
  this.parentForm = parentForm;
201
201
  this.parentFormGroup = parentFormGroup;
202
202
  this.ngControl = ngControl;
203
+ /**
204
+ * Emits whenever the component state changes and should cause the parent
205
+ * form-field to update. Implemented as part of `McFormFieldControl`.
206
+ * @docs-private
207
+ */
208
+ this.stateChanges = new Subject();
203
209
  }
204
210
  }
205
211
  // tslint:disable-next-line:naming-convention
206
212
  const McInputMixinBase = mixinErrorState(McInputBase);
207
213
  class McInput extends McInputMixinBase {
208
214
  // tslint:disable-next-line: naming-convention
209
- constructor(elementRef, rawValidators, mcValidation, ngControl, numberInput, ngModel, formControlName, parentForm, parentFormGroup, defaultErrorStateMatcher, inputValueAccessor, changeDetectorRef) {
215
+ constructor(elementRef, ngControl, numberInput, parentForm, parentFormGroup, defaultErrorStateMatcher, inputValueAccessor) {
210
216
  super(defaultErrorStateMatcher, parentForm, parentFormGroup, ngControl);
211
217
  this.elementRef = elementRef;
212
- this.rawValidators = rawValidators;
213
- this.mcValidation = mcValidation;
214
218
  this.numberInput = numberInput;
215
- this.ngModel = ngModel;
216
- this.formControlName = formControlName;
217
- this.changeDetectorRef = changeDetectorRef;
218
219
  /**
219
220
  * Implemented as part of McFormFieldControl.
220
221
  * @docs-private
@@ -317,14 +318,6 @@ class McInput extends McInputMixinBase {
317
318
  this.stateChanges.next();
318
319
  }
319
320
  }
320
- ngAfterContentInit() {
321
- if (!this.ngControl) {
322
- return;
323
- }
324
- if (this.mcValidation.useValidation) {
325
- setMosaicValidation(this, this.changeDetectorRef);
326
- }
327
- }
328
321
  ngOnChanges() {
329
322
  this.stateChanges.next();
330
323
  }
@@ -410,11 +403,11 @@ class McInput extends McInputMixinBase {
410
403
  return validity && validity.badInput;
411
404
  }
412
405
  }
413
- /** @nocollapse */ /** @nocollapse */ McInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: McInput, deps: [{ token: i0.ElementRef }, { token: NG_VALIDATORS, optional: true, self: true }, { token: MC_VALIDATION, optional: true }, { token: i1.NgControl, optional: true, self: true }, { token: McNumberInput, optional: true, self: true }, { token: i1.NgModel, optional: true, self: true }, { token: i1.FormControlName, optional: true, self: true }, { token: i1.NgForm, optional: true }, { token: i1.FormGroupDirective, optional: true }, { token: i3.ErrorStateMatcher }, { token: MC_INPUT_VALUE_ACCESSOR, optional: true, self: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
414
- /** @nocollapse */ /** @nocollapse */ McInput.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: McInput, selector: "input[mcInput]", inputs: { errorStateMatcher: "errorStateMatcher", placeholder: "placeholder", disabled: "disabled", id: "id", required: "required", type: "type", value: "value" }, host: { listeners: { "blur": "onBlur()", "focus": "focusChanged(true)", "input": "onInput()" }, properties: { "attr.id": "id", "attr.placeholder": "placeholder", "attr.disabled": "disabled || null", "required": "required" }, classAttribute: "mc-input" }, providers: [{
406
+ /** @nocollapse */ McInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: McInput, deps: [{ token: i0.ElementRef }, { token: i1.NgControl, optional: true, self: true }, { token: McNumberInput, optional: true, self: true }, { token: i1.NgForm, optional: true }, { token: i1.FormGroupDirective, optional: true }, { token: i3.ErrorStateMatcher }, { token: MC_INPUT_VALUE_ACCESSOR, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive });
407
+ /** @nocollapse */ McInput.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.2", type: McInput, selector: "input[mcInput]", inputs: { errorStateMatcher: "errorStateMatcher", placeholder: "placeholder", disabled: "disabled", id: "id", required: "required", type: "type", value: "value" }, host: { listeners: { "blur": "onBlur()", "focus": "focusChanged(true)", "input": "onInput()" }, properties: { "attr.id": "id", "attr.placeholder": "placeholder", "attr.disabled": "disabled || null", "required": "required" }, classAttribute: "mc-input" }, providers: [{
415
408
  provide: McFormFieldControl, useExisting: McInput
416
409
  }], exportAs: ["mcInput"], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
417
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: McInput, decorators: [{
410
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: McInput, decorators: [{
418
411
  type: Directive,
419
412
  args: [{
420
413
  selector: `input[mcInput]`,
@@ -436,19 +429,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
436
429
  }]
437
430
  }]
438
431
  }], ctorParameters: function () {
439
- return [{ type: i0.ElementRef }, { type: undefined, decorators: [{
440
- type: Optional
441
- }, {
442
- type: Self
443
- }, {
444
- type: Inject,
445
- args: [NG_VALIDATORS]
446
- }] }, { type: undefined, decorators: [{
447
- type: Optional
448
- }, {
449
- type: Inject,
450
- args: [MC_VALIDATION]
451
- }] }, { type: i1.NgControl, decorators: [{
432
+ return [{ type: i0.ElementRef }, { type: i1.NgControl, decorators: [{
452
433
  type: Optional
453
434
  }, {
454
435
  type: Self
@@ -456,14 +437,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
456
437
  type: Optional
457
438
  }, {
458
439
  type: Self
459
- }] }, { type: i1.NgModel, decorators: [{
460
- type: Optional
461
- }, {
462
- type: Self
463
- }] }, { type: i1.FormControlName, decorators: [{
464
- type: Optional
465
- }, {
466
- type: Self
467
440
  }] }, { type: i1.NgForm, decorators: [{
468
441
  type: Optional
469
442
  }] }, { type: i1.FormGroupDirective, decorators: [{
@@ -475,7 +448,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
475
448
  }, {
476
449
  type: Inject,
477
450
  args: [MC_INPUT_VALUE_ACCESSOR]
478
- }] }, { type: i0.ChangeDetectorRef }];
451
+ }] }];
479
452
  }, propDecorators: { errorStateMatcher: [{
480
453
  type: Input
481
454
  }], placeholder: [{
@@ -493,9 +466,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
493
466
  }] } });
494
467
  class McInputMono {
495
468
  }
496
- /** @nocollapse */ /** @nocollapse */ McInputMono.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: McInputMono, deps: [], target: i0.ɵɵFactoryTarget.Directive });
497
- /** @nocollapse */ /** @nocollapse */ McInputMono.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: McInputMono, selector: "input[mcInputMonospace]", host: { classAttribute: "mc-input_monospace" }, exportAs: ["McInputMonospace"], ngImport: i0 });
498
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: McInputMono, decorators: [{
469
+ /** @nocollapse */ McInputMono.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: McInputMono, deps: [], target: i0.ɵɵFactoryTarget.Directive });
470
+ /** @nocollapse */ McInputMono.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.2", type: McInputMono, selector: "input[mcInputMonospace]", host: { classAttribute: "mc-input_monospace" }, exportAs: ["McInputMonospace"], ngImport: i0 });
471
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: McInputMono, decorators: [{
499
472
  type: Directive,
500
473
  args: [{
501
474
  selector: 'input[mcInputMonospace]',
@@ -534,9 +507,9 @@ class MinValidator {
534
507
  this.validator = Validators.min(parseInt(this.min, 10));
535
508
  }
536
509
  }
537
- /** @nocollapse */ /** @nocollapse */ MinValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MinValidator, deps: [], target: i0.ɵɵFactoryTarget.Directive });
538
- /** @nocollapse */ /** @nocollapse */ MinValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: MinValidator, selector: "[min][formControlName],[min][formControl],[min][ngModel]", inputs: { min: "min" }, host: { properties: { "attr.min": "min ? min : null" } }, providers: [MIN_VALIDATOR], usesOnChanges: true, ngImport: i0 });
539
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MinValidator, decorators: [{
510
+ /** @nocollapse */ MinValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: MinValidator, deps: [], target: i0.ɵɵFactoryTarget.Directive });
511
+ /** @nocollapse */ MinValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.2", type: MinValidator, selector: "[min][formControlName],[min][formControl],[min][ngModel]", inputs: { min: "min" }, host: { properties: { "attr.min": "min ? min : null" } }, providers: [MIN_VALIDATOR], usesOnChanges: true, ngImport: i0 });
512
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: MinValidator, decorators: [{
540
513
  type: Directive,
541
514
  args: [{
542
515
  selector: '[min][formControlName],[min][formControl],[min][ngModel]',
@@ -578,9 +551,9 @@ class MaxValidator {
578
551
  this.validator = Validators.max(parseInt(this.max, 10));
579
552
  }
580
553
  }
581
- /** @nocollapse */ /** @nocollapse */ MaxValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MaxValidator, deps: [], target: i0.ɵɵFactoryTarget.Directive });
582
- /** @nocollapse */ /** @nocollapse */ MaxValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: MaxValidator, selector: "[max][formControlName],[max][formControl],[max][ngModel]", inputs: { max: "max" }, host: { properties: { "attr.max": "max ? max : null" } }, providers: [MAX_VALIDATOR], usesOnChanges: true, ngImport: i0 });
583
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MaxValidator, decorators: [{
554
+ /** @nocollapse */ MaxValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: MaxValidator, deps: [], target: i0.ɵɵFactoryTarget.Directive });
555
+ /** @nocollapse */ MaxValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.2", type: MaxValidator, selector: "[max][formControlName],[max][formControl],[max][ngModel]", inputs: { max: "max" }, host: { properties: { "attr.max": "max ? max : null" } }, providers: [MAX_VALIDATOR], usesOnChanges: true, ngImport: i0 });
556
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: MaxValidator, decorators: [{
584
557
  type: Directive,
585
558
  args: [{
586
559
  selector: '[max][formControlName],[max][formControl],[max][ngModel]',
@@ -656,9 +629,9 @@ class McPasswordToggle extends McTooltipTrigger {
656
629
  this.focusMonitor.stopMonitoring(this.elementRef);
657
630
  }
658
631
  }
659
- /** @nocollapse */ /** @nocollapse */ McPasswordToggle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: McPasswordToggle, deps: [{ token: i1$1.Overlay }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i1$1.ScrollDispatcher }, { token: i0.ViewContainerRef }, { token: MC_TOOLTIP_SCROLL_STRATEGY }, { token: i2.Directionality, optional: true }, { token: i3$1.FocusMonitor }, { token: i4.McFormField }], target: i0.ɵɵFactoryTarget.Component });
660
- /** @nocollapse */ /** @nocollapse */ McPasswordToggle.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: McPasswordToggle, selector: "mc-password-toggle", inputs: { content: ["mcTooltipNotHidden", "content"], mcTooltipHidden: "mcTooltipHidden", disabled: "disabled", tabIndex: "tabIndex" }, host: { listeners: { "click": "toggle()", "keydown.ENTER": "toggle()", "keydown.SPACE": "toggle()" }, properties: { "class.mc-eye_16": "hidden", "class.mc-eye-crossed_16": "!hidden", "attr.tabindex": "disabled ? null : tabIndex", "attr.disabled": "disabled || null" }, classAttribute: "mc-password-toggle mc" }, exportAs: ["mcPasswordToggle"], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
661
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: McPasswordToggle, decorators: [{
632
+ /** @nocollapse */ McPasswordToggle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: McPasswordToggle, deps: [{ token: i1$1.Overlay }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i1$1.ScrollDispatcher }, { token: i0.ViewContainerRef }, { token: MC_TOOLTIP_SCROLL_STRATEGY }, { token: i2.Directionality, optional: true }, { token: i3$1.FocusMonitor }, { token: i4.McFormField }], target: i0.ɵɵFactoryTarget.Component });
633
+ /** @nocollapse */ McPasswordToggle.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.2", type: McPasswordToggle, selector: "mc-password-toggle", inputs: { content: ["mcTooltipNotHidden", "content"], mcTooltipHidden: "mcTooltipHidden", disabled: "disabled", tabIndex: "tabIndex" }, host: { listeners: { "click": "toggle()", "keydown.ENTER": "toggle()", "keydown.SPACE": "toggle()" }, properties: { "class.mc-eye_16": "hidden", "class.mc-eye-crossed_16": "!hidden", "attr.tabindex": "disabled ? null : tabIndex", "attr.disabled": "disabled || null" }, classAttribute: "mc-password-toggle mc" }, exportAs: ["mcPasswordToggle"], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
634
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: McPasswordToggle, decorators: [{
662
635
  type: Component,
663
636
  args: [{
664
637
  selector: `mc-password-toggle`,
@@ -696,14 +669,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
696
669
  }] } });
697
670
  class McInputPassword extends McInputMixinBase {
698
671
  // tslint:disable-next-line: naming-convention
699
- constructor(elementRef, rawValidators, mcValidation, ngControl, ngModel, formControlName, parentForm, parentFormGroup, defaultErrorStateMatcher, inputValueAccessor, changeDetectorRef) {
672
+ constructor(elementRef, ngControl, parentForm, parentFormGroup, defaultErrorStateMatcher, inputValueAccessor) {
700
673
  super(defaultErrorStateMatcher, parentForm, parentFormGroup, ngControl);
701
674
  this.elementRef = elementRef;
702
- this.rawValidators = rawValidators;
703
- this.mcValidation = mcValidation;
704
- this.ngModel = ngModel;
705
- this.formControlName = formControlName;
706
- this.changeDetectorRef = changeDetectorRef;
707
675
  /**
708
676
  * Implemented as part of McFormFieldControl.
709
677
  * @docs-private
@@ -748,7 +716,7 @@ class McInputPassword extends McInputMixinBase {
748
716
  // Reset from here to ensure that the element doesn't become stuck.
749
717
  if (this.focused) {
750
718
  this.focused = false;
751
- this.stateChanges.next();
719
+ this.stateChanges.next(null);
752
720
  }
753
721
  }
754
722
  /**
@@ -784,7 +752,7 @@ class McInputPassword extends McInputMixinBase {
784
752
  return;
785
753
  }
786
754
  this._inputValueAccessor.value = value;
787
- this.stateChanges.next();
755
+ this.stateChanges.next(null);
788
756
  }
789
757
  /**
790
758
  * Implemented as part of McFormFieldControl.
@@ -793,16 +761,8 @@ class McInputPassword extends McInputMixinBase {
793
761
  get empty() {
794
762
  return !this.elementRef.nativeElement.value && !this.isBadInput();
795
763
  }
796
- ngAfterContentInit() {
797
- if (!this.ngControl) {
798
- return;
799
- }
800
- if (this.mcValidation.useValidation) {
801
- setMosaicValidation(this, this.changeDetectorRef);
802
- }
803
- }
804
764
  ngOnChanges() {
805
- this.stateChanges.next();
765
+ this.stateChanges.next(null);
806
766
  }
807
767
  ngOnDestroy() {
808
768
  this.stateChanges.complete();
@@ -866,7 +826,7 @@ class McInputPassword extends McInputMixinBase {
866
826
  dirtyCheckNativeValue() {
867
827
  if (this.previousNativeValue !== this.value) {
868
828
  this.previousNativeValue = this.value;
869
- this.stateChanges.next();
829
+ this.stateChanges.next(null);
870
830
  }
871
831
  }
872
832
  /** Checks whether the input is invalid based on the native validation. */
@@ -876,11 +836,11 @@ class McInputPassword extends McInputMixinBase {
876
836
  return (_a = this.elementRef.nativeElement.validity) === null || _a === void 0 ? void 0 : _a.badInput;
877
837
  }
878
838
  }
879
- /** @nocollapse */ /** @nocollapse */ McInputPassword.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: McInputPassword, deps: [{ token: i0.ElementRef }, { token: NG_VALIDATORS, optional: true, self: true }, { token: MC_VALIDATION, optional: true }, { token: i1.NgControl, optional: true, self: true }, { token: i1.NgModel, optional: true, self: true }, { token: i1.FormControlName, optional: true, self: true }, { token: i1.NgForm, optional: true }, { token: i1.FormGroupDirective, optional: true }, { token: i3.ErrorStateMatcher }, { token: MC_INPUT_VALUE_ACCESSOR, optional: true, self: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
880
- /** @nocollapse */ /** @nocollapse */ McInputPassword.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: McInputPassword, selector: "input[mcInputPassword]", inputs: { errorStateMatcher: "errorStateMatcher", placeholder: "placeholder", disabled: "disabled", id: "id", required: "required", value: "value" }, host: { listeners: { "blur": "onBlur()", "focus": "focusChanged(true)", "input": "onInput()" }, properties: { "attr.id": "id", "attr.type": "elementType", "attr.placeholder": "placeholder", "attr.disabled": "disabled || null", "required": "required" }, classAttribute: "mc-input mc-input-password" }, providers: [{
839
+ /** @nocollapse */ McInputPassword.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: McInputPassword, deps: [{ token: i0.ElementRef }, { token: i1.NgControl, optional: true, self: true }, { token: i1.NgForm, optional: true }, { token: i1.FormGroupDirective, optional: true }, { token: i3.ErrorStateMatcher }, { token: MC_INPUT_VALUE_ACCESSOR, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive });
840
+ /** @nocollapse */ McInputPassword.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.2", type: McInputPassword, selector: "input[mcInputPassword]", inputs: { errorStateMatcher: "errorStateMatcher", placeholder: "placeholder", disabled: "disabled", id: "id", required: "required", value: "value" }, host: { listeners: { "blur": "onBlur()", "focus": "focusChanged(true)", "input": "onInput()" }, properties: { "attr.id": "id", "attr.type": "elementType", "attr.placeholder": "placeholder", "attr.disabled": "disabled || null", "required": "required" }, classAttribute: "mc-input mc-input-password" }, providers: [{
881
841
  provide: McFormFieldControl, useExisting: McInputPassword
882
842
  }], exportAs: ["mcInputPassword"], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
883
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: McInputPassword, decorators: [{
843
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: McInputPassword, decorators: [{
884
844
  type: Directive,
885
845
  args: [{
886
846
  selector: `input[mcInputPassword]`,
@@ -903,27 +863,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
903
863
  }]
904
864
  }]
905
865
  }], ctorParameters: function () {
906
- return [{ type: i0.ElementRef }, { type: undefined, decorators: [{
907
- type: Optional
908
- }, {
909
- type: Self
910
- }, {
911
- type: Inject,
912
- args: [NG_VALIDATORS]
913
- }] }, { type: undefined, decorators: [{
914
- type: Optional
915
- }, {
916
- type: Inject,
917
- args: [MC_VALIDATION]
918
- }] }, { type: i1.NgControl, decorators: [{
919
- type: Optional
920
- }, {
921
- type: Self
922
- }] }, { type: i1.NgModel, decorators: [{
923
- type: Optional
924
- }, {
925
- type: Self
926
- }] }, { type: i1.FormControlName, decorators: [{
866
+ return [{ type: i0.ElementRef }, { type: i1.NgControl, decorators: [{
927
867
  type: Optional
928
868
  }, {
929
869
  type: Self
@@ -938,7 +878,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
938
878
  }, {
939
879
  type: Inject,
940
880
  args: [MC_INPUT_VALUE_ACCESSOR]
941
- }] }, { type: i0.ChangeDetectorRef }];
881
+ }] }];
942
882
  }, propDecorators: { errorStateMatcher: [{
943
883
  type: Input
944
884
  }], placeholder: [{
@@ -955,8 +895,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
955
895
 
956
896
  class McInputModule {
957
897
  }
958
- /** @nocollapse */ /** @nocollapse */ McInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: McInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
959
- /** @nocollapse */ /** @nocollapse */ McInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: McInputModule, declarations: [McInput,
898
+ /** @nocollapse */ McInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: McInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
899
+ /** @nocollapse */ McInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.2", ngImport: i0, type: McInputModule, declarations: [McInput,
960
900
  McNumberInput,
961
901
  McInputPassword,
962
902
  McPasswordToggle,
@@ -972,13 +912,11 @@ class McInputModule {
972
912
  McInputMono,
973
913
  MinValidator,
974
914
  MaxValidator] });
975
- /** @nocollapse */ /** @nocollapse */ McInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: McInputModule, imports: [[
976
- CommonModule,
977
- A11yModule,
978
- McCommonModule,
979
- FormsModule
980
- ]] });
981
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: McInputModule, decorators: [{
915
+ /** @nocollapse */ McInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: McInputModule, imports: [CommonModule,
916
+ A11yModule,
917
+ McCommonModule,
918
+ FormsModule] });
919
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: McInputModule, decorators: [{
982
920
  type: NgModule,
983
921
  args: [{
984
922
  imports: [