@ptsecurity/mosaic 13.0.0 → 13.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 (328) hide show
  1. package/_theming.scss +916 -884
  2. package/_visual.scss +839 -686
  3. package/core/formatters/date/formatter.d.ts +37 -13
  4. package/core/public-api.d.ts +1 -0
  5. package/core/version.d.ts +2 -0
  6. package/design-tokens/{tokens → legacy-2017/tokens}/components/alert.json5 +0 -0
  7. package/design-tokens/{tokens → legacy-2017/tokens}/components/autocomplete.json5 +0 -0
  8. package/design-tokens/{tokens → legacy-2017/tokens}/components/badge.json5 +0 -0
  9. package/design-tokens/{tokens → legacy-2017/tokens}/components/button-toggle.json5 +0 -0
  10. package/design-tokens/{tokens → legacy-2017/tokens}/components/button.json5 +0 -0
  11. package/design-tokens/{tokens → legacy-2017/tokens}/components/card.json5 +0 -0
  12. package/design-tokens/{tokens → legacy-2017/tokens}/components/checkbox.json5 +2 -2
  13. package/design-tokens/{tokens → legacy-2017/tokens}/components/datepicker.json5 +0 -0
  14. package/design-tokens/{tokens → legacy-2017/tokens}/components/divider.json5 +0 -0
  15. package/design-tokens/{tokens → legacy-2017/tokens}/components/dropdown.json5 +0 -0
  16. package/design-tokens/{tokens → legacy-2017/tokens}/components/form-field.json5 +0 -0
  17. package/design-tokens/{tokens → legacy-2017/tokens}/components/forms.json5 +0 -0
  18. package/design-tokens/{tokens → legacy-2017/tokens}/components/input.json5 +0 -0
  19. package/design-tokens/{tokens → legacy-2017/tokens}/components/link.json5 +0 -0
  20. package/design-tokens/{tokens → legacy-2017/tokens}/components/list.json5 +0 -0
  21. package/design-tokens/{tokens → legacy-2017/tokens}/components/modal.json5 +12 -0
  22. package/design-tokens/{tokens → legacy-2017/tokens}/components/navbar.json5 +2 -0
  23. package/design-tokens/{tokens → legacy-2017/tokens}/components/optgroup.json5 +0 -0
  24. package/design-tokens/{tokens → legacy-2017/tokens}/components/option.json5 +0 -0
  25. package/design-tokens/{tokens → legacy-2017/tokens}/components/popover.json5 +0 -0
  26. package/design-tokens/{tokens → legacy-2017/tokens}/components/popup.json5 +0 -0
  27. package/design-tokens/{tokens → legacy-2017/tokens}/components/progress-bar.json5 +0 -0
  28. package/design-tokens/{tokens → legacy-2017/tokens}/components/progress-spinner.json5 +0 -0
  29. package/design-tokens/{tokens → legacy-2017/tokens}/components/radio.json5 +0 -1
  30. package/design-tokens/{tokens → legacy-2017/tokens}/components/select.json5 +0 -0
  31. package/design-tokens/{tokens → legacy-2017/tokens}/components/sidepanel.json5 +0 -0
  32. package/design-tokens/{tokens → legacy-2017/tokens}/components/table.json5 +0 -0
  33. package/design-tokens/{tokens → legacy-2017/tokens}/components/tabs.json5 +0 -0
  34. package/design-tokens/{tokens → legacy-2017/tokens}/components/tags.json5 +6 -0
  35. package/design-tokens/{tokens → legacy-2017/tokens}/components/textarea.json5 +0 -0
  36. package/design-tokens/{tokens → legacy-2017/tokens}/components/timepicker.json5 +0 -0
  37. package/design-tokens/{tokens → legacy-2017/tokens}/components/toggle.json5 +24 -0
  38. package/design-tokens/{tokens → legacy-2017/tokens}/components/tooltip.json5 +0 -0
  39. package/design-tokens/{tokens → legacy-2017/tokens}/components/tree.json5 +0 -0
  40. package/design-tokens/{tokens → legacy-2017/tokens}/properties/aliases.json5 +0 -0
  41. package/design-tokens/{tokens → legacy-2017/tokens}/properties/colors.json5 +0 -0
  42. package/design-tokens/{tokens → legacy-2017/tokens}/properties/font.json5 +0 -0
  43. package/design-tokens/{tokens → legacy-2017/tokens}/properties/globals.json5 +0 -0
  44. package/design-tokens/{tokens → legacy-2017/tokens}/properties/padding.json5 +0 -0
  45. package/design-tokens/{tokens → legacy-2017/tokens}/properties/palette.json5 +0 -0
  46. package/design-tokens/{tokens → legacy-2017/tokens}/properties/typography.json5 +0 -0
  47. package/design-tokens/{tokens.d.ts → legacy-2017/tokens.d.ts} +22 -2
  48. package/design-tokens/pt-2022/tokens/components/alert.json5 +83 -0
  49. package/design-tokens/pt-2022/tokens/components/autocomplete.json5 +11 -0
  50. package/design-tokens/pt-2022/tokens/components/badge.json5 +184 -0
  51. package/design-tokens/pt-2022/tokens/components/button-toggle.json5 +10 -0
  52. package/design-tokens/pt-2022/tokens/components/button.json5 +143 -0
  53. package/design-tokens/pt-2022/tokens/components/card.json5 +51 -0
  54. package/design-tokens/pt-2022/tokens/components/checkbox.json5 +39 -0
  55. package/design-tokens/pt-2022/tokens/components/datepicker.json5 +64 -0
  56. package/design-tokens/pt-2022/tokens/components/divider.json5 +8 -0
  57. package/design-tokens/pt-2022/tokens/components/dropdown.json5 +47 -0
  58. package/design-tokens/pt-2022/tokens/components/form-field.json5 +52 -0
  59. package/design-tokens/pt-2022/tokens/components/forms.json5 +52 -0
  60. package/design-tokens/pt-2022/tokens/components/input.json5 +13 -0
  61. package/design-tokens/pt-2022/tokens/components/link.json5 +56 -0
  62. package/design-tokens/pt-2022/tokens/components/list.json5 +15 -0
  63. package/design-tokens/pt-2022/tokens/components/modal.json5 +79 -0
  64. package/design-tokens/pt-2022/tokens/components/navbar.json5 +69 -0
  65. package/design-tokens/pt-2022/tokens/components/optgroup.json5 +10 -0
  66. package/design-tokens/pt-2022/tokens/components/option.json5 +12 -0
  67. package/design-tokens/pt-2022/tokens/components/popover.json5 +68 -0
  68. package/design-tokens/pt-2022/tokens/components/popup.json5 +18 -0
  69. package/design-tokens/pt-2022/tokens/components/progress-bar.json5 +13 -0
  70. package/design-tokens/pt-2022/tokens/components/progress-spinner.json5 +7 -0
  71. package/design-tokens/pt-2022/tokens/components/radio.json5 +44 -0
  72. package/design-tokens/pt-2022/tokens/components/select.json5 +25 -0
  73. package/design-tokens/pt-2022/tokens/components/sidepanel.json5 +30 -0
  74. package/design-tokens/pt-2022/tokens/components/table.json5 +15 -0
  75. package/design-tokens/pt-2022/tokens/components/tabs.json5 +25 -0
  76. package/design-tokens/pt-2022/tokens/components/tags.json5 +132 -0
  77. package/design-tokens/pt-2022/tokens/components/textarea.json5 +12 -0
  78. package/design-tokens/pt-2022/tokens/components/timepicker.json5 +7 -0
  79. package/design-tokens/pt-2022/tokens/components/toggle.json5 +79 -0
  80. package/design-tokens/pt-2022/tokens/components/tooltip.json5 +83 -0
  81. package/design-tokens/pt-2022/tokens/components/tree.json5 +12 -0
  82. package/design-tokens/pt-2022/tokens/properties/aliases.json5 +3 -0
  83. package/design-tokens/pt-2022/tokens/properties/colors.json5 +112 -0
  84. package/design-tokens/pt-2022/tokens/properties/font.json5 +15 -0
  85. package/design-tokens/pt-2022/tokens/properties/globals.json5 +30 -0
  86. package/design-tokens/pt-2022/tokens/properties/padding.json5 +3 -0
  87. package/design-tokens/pt-2022/tokens/properties/palette.json5 +226 -0
  88. package/design-tokens/pt-2022/tokens/properties/typography.json5 +140 -0
  89. package/design-tokens/pt-2022/tokens.d.ts +8696 -0
  90. package/design-tokens/public-api.d.ts +3 -1
  91. package/esm2020/autocomplete/autocomplete-origin.directive.mjs +3 -3
  92. package/esm2020/autocomplete/autocomplete-trigger.directive.mjs +3 -3
  93. package/esm2020/autocomplete/autocomplete.component.mjs +3 -3
  94. package/esm2020/autocomplete/autocomplete.module.mjs +4 -4
  95. package/esm2020/button/button.component.mjs +6 -6
  96. package/esm2020/button/button.module.mjs +4 -4
  97. package/esm2020/button-toggle/button-toggle.component.mjs +6 -6
  98. package/esm2020/button-toggle/button-toggle.module.mjs +4 -4
  99. package/esm2020/card/card.component.mjs +3 -3
  100. package/esm2020/card/card.module.mjs +4 -4
  101. package/esm2020/checkbox/checkbox-module.mjs +4 -4
  102. package/esm2020/checkbox/checkbox-required-validator.mjs +3 -3
  103. package/esm2020/checkbox/checkbox.mjs +3 -3
  104. package/esm2020/core/common-behaviors/common-module.mjs +4 -4
  105. package/esm2020/core/error/error-options.mjs +6 -6
  106. package/esm2020/core/formatters/date/formatter.mjs +76 -31
  107. package/esm2020/core/formatters/date/templates/en-US.mjs +38 -37
  108. package/esm2020/core/formatters/date/templates/ru-RU.mjs +38 -37
  109. package/esm2020/core/formatters/index.mjs +4 -4
  110. package/esm2020/core/formatters/number/formatter.mjs +4 -4
  111. package/esm2020/core/forms/forms-module.mjs +4 -4
  112. package/esm2020/core/forms/forms.directive.mjs +6 -6
  113. package/esm2020/core/highlight/highlight.pipe.mjs +3 -3
  114. package/esm2020/core/highlight/index.mjs +4 -4
  115. package/esm2020/core/line/line.mjs +7 -7
  116. package/esm2020/core/option/action.mjs +3 -3
  117. package/esm2020/core/option/optgroup.mjs +3 -3
  118. package/esm2020/core/option/option-module.mjs +4 -4
  119. package/esm2020/core/option/option.mjs +3 -3
  120. package/esm2020/core/pop-up/pop-up-trigger.mjs +4 -6
  121. package/esm2020/core/pop-up/pop-up.mjs +3 -3
  122. package/esm2020/core/public-api.mjs +2 -1
  123. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +3 -3
  124. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.module.mjs +4 -4
  125. package/esm2020/core/services/measure-scrollbar.service.mjs +3 -3
  126. package/esm2020/core/version.mjs +3 -0
  127. package/esm2020/datepicker/calendar-body.component.mjs +3 -3
  128. package/esm2020/datepicker/calendar.component.mjs +6 -6
  129. package/esm2020/datepicker/datepicker-input.directive.mjs +3 -3
  130. package/esm2020/datepicker/datepicker-intl.mjs +3 -3
  131. package/esm2020/datepicker/datepicker-module.mjs +4 -4
  132. package/esm2020/datepicker/datepicker-toggle.component.mjs +6 -6
  133. package/esm2020/datepicker/datepicker.component.mjs +6 -6
  134. package/esm2020/datepicker/month-view.component.mjs +3 -3
  135. package/esm2020/datepicker/multi-year-view.component.mjs +3 -3
  136. package/esm2020/datepicker/year-view.component.mjs +3 -3
  137. package/esm2020/design-tokens/legacy-2017/tokens.mjs +953 -0
  138. package/esm2020/design-tokens/pt-2022/tokens.mjs +1013 -0
  139. package/esm2020/design-tokens/public-api.mjs +4 -2
  140. package/esm2020/divider/divider.component.mjs +3 -3
  141. package/esm2020/divider/divider.module.mjs +4 -4
  142. package/esm2020/dropdown/dropdown-content.directive.mjs +3 -3
  143. package/esm2020/dropdown/dropdown-item.component.mjs +3 -3
  144. package/esm2020/dropdown/dropdown-trigger.directive.mjs +3 -3
  145. package/esm2020/dropdown/dropdown.component.mjs +3 -3
  146. package/esm2020/dropdown/dropdown.module.mjs +4 -4
  147. package/esm2020/form-field/cleaner.mjs +5 -5
  148. package/esm2020/form-field/form-field.mjs +6 -6
  149. package/esm2020/form-field/form-field.module.mjs +4 -4
  150. package/esm2020/form-field/hint.mjs +3 -3
  151. package/esm2020/form-field/prefix.mjs +3 -3
  152. package/esm2020/form-field/stepper.mjs +3 -3
  153. package/esm2020/form-field/suffix.mjs +3 -3
  154. package/esm2020/icon/icon.component.mjs +6 -6
  155. package/esm2020/icon/icon.module.mjs +4 -4
  156. package/esm2020/input/input-number-validators.mjs +6 -6
  157. package/esm2020/input/input-number.mjs +3 -3
  158. package/esm2020/input/input.mjs +6 -6
  159. package/esm2020/input/input.module.mjs +4 -4
  160. package/esm2020/link/link.component.mjs +3 -3
  161. package/esm2020/link/link.module.mjs +4 -4
  162. package/esm2020/list/list-selection.component.mjs +20 -26
  163. package/esm2020/list/list.component.mjs +6 -6
  164. package/esm2020/list/list.module.mjs +4 -4
  165. package/esm2020/modal/css-unit.pipe.mjs +3 -3
  166. package/esm2020/modal/modal-control.service.mjs +26 -4
  167. package/esm2020/modal/modal.component.mjs +3 -3
  168. package/esm2020/modal/modal.directive.mjs +12 -12
  169. package/esm2020/modal/modal.module.mjs +4 -4
  170. package/esm2020/modal/modal.service.mjs +3 -3
  171. package/esm2020/navbar/navbar-item.component.mjs +30 -30
  172. package/esm2020/navbar/navbar.component.mjs +9 -9
  173. package/esm2020/navbar/navbar.module.mjs +4 -4
  174. package/esm2020/navbar/vertical-navbar.component.mjs +3 -3
  175. package/esm2020/popover/popover-confirm.component.mjs +6 -6
  176. package/esm2020/popover/popover.component.mjs +6 -6
  177. package/esm2020/popover/popover.module.mjs +4 -4
  178. package/esm2020/progress-bar/progress-bar.component.mjs +3 -3
  179. package/esm2020/progress-bar/progress-bar.module.mjs +4 -4
  180. package/esm2020/progress-spinner/progress-spinner.component.mjs +3 -3
  181. package/esm2020/progress-spinner/progress-spinner.module.mjs +4 -4
  182. package/esm2020/radio/radio.component.mjs +6 -6
  183. package/esm2020/radio/radio.module.mjs +4 -4
  184. package/esm2020/select/select.component.mjs +12 -12
  185. package/esm2020/select/select.module.mjs +4 -4
  186. package/esm2020/sidebar/sidebar.component.mjs +9 -9
  187. package/esm2020/sidebar/sidebar.module.mjs +4 -4
  188. package/esm2020/sidepanel/sidepanel-container.component.mjs +3 -3
  189. package/esm2020/sidepanel/sidepanel-directives.mjs +15 -15
  190. package/esm2020/sidepanel/sidepanel.module.mjs +4 -4
  191. package/esm2020/sidepanel/sidepanel.service.mjs +3 -3
  192. package/esm2020/splitter/splitter.component.mjs +12 -12
  193. package/esm2020/splitter/splitter.module.mjs +4 -4
  194. package/esm2020/table/table.component.mjs +3 -3
  195. package/esm2020/table/table.module.mjs +4 -4
  196. package/esm2020/tabs/paginated-tab-header.mjs +3 -3
  197. package/esm2020/tabs/tab-body.component.mjs +6 -6
  198. package/esm2020/tabs/tab-content.directive.mjs +3 -3
  199. package/esm2020/tabs/tab-group.component.mjs +18 -18
  200. package/esm2020/tabs/tab-header.component.mjs +3 -3
  201. package/esm2020/tabs/tab-label-wrapper.directive.mjs +3 -3
  202. package/esm2020/tabs/tab-label.directive.mjs +3 -3
  203. package/esm2020/tabs/tab-nav-bar/tab-nav-bar.mjs +6 -6
  204. package/esm2020/tabs/tab.component.mjs +3 -3
  205. package/esm2020/tabs/tabs.module.mjs +4 -4
  206. package/esm2020/tags/tag-input.mjs +3 -3
  207. package/esm2020/tags/tag-list.component.mjs +3 -3
  208. package/esm2020/tags/tag.component.mjs +61 -58
  209. package/esm2020/tags/tag.module.mjs +4 -4
  210. package/esm2020/textarea/textarea.component.mjs +3 -3
  211. package/esm2020/textarea/textarea.module.mjs +4 -4
  212. package/esm2020/timepicker/timepicker.directive.mjs +3 -3
  213. package/esm2020/timepicker/timepicker.module.mjs +4 -4
  214. package/esm2020/toggle/toggle.component.mjs +3 -3
  215. package/esm2020/toggle/toggle.module.mjs +4 -4
  216. package/esm2020/tooltip/tooltip.component.mjs +14 -14
  217. package/esm2020/tooltip/tooltip.module.mjs +4 -4
  218. package/esm2020/tree/data-source/flat-data-source.mjs +4 -4
  219. package/esm2020/tree/node.mjs +3 -3
  220. package/esm2020/tree/outlet.mjs +3 -3
  221. package/esm2020/tree/padding.directive.mjs +3 -3
  222. package/esm2020/tree/toggle.mjs +11 -11
  223. package/esm2020/tree/tree-base.mjs +6 -6
  224. package/esm2020/tree/tree-option.component.mjs +17 -9
  225. package/esm2020/tree/tree-selection.component.mjs +8 -5
  226. package/esm2020/tree/tree.mjs +3 -3
  227. package/esm2020/tree/tree.module.mjs +4 -4
  228. package/esm2020/tree-select/tree-select.component.mjs +46 -10
  229. package/esm2020/tree-select/tree-select.module.mjs +15 -11
  230. package/fesm2015/ptsecurity-mosaic-autocomplete.mjs +13 -13
  231. package/fesm2015/ptsecurity-mosaic-button-toggle.mjs +10 -10
  232. package/fesm2015/ptsecurity-mosaic-button.mjs +10 -10
  233. package/fesm2015/ptsecurity-mosaic-card.mjs +7 -7
  234. package/fesm2015/ptsecurity-mosaic-checkbox.mjs +10 -10
  235. package/fesm2015/ptsecurity-mosaic-core.mjs +225 -178
  236. package/fesm2015/ptsecurity-mosaic-core.mjs.map +1 -1
  237. package/fesm2015/ptsecurity-mosaic-datepicker.mjs +40 -40
  238. package/fesm2015/ptsecurity-mosaic-design-tokens.mjs +2466 -480
  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-dropdown.mjs +16 -16
  242. package/fesm2015/ptsecurity-mosaic-form-field.mjs +26 -26
  243. package/fesm2015/ptsecurity-mosaic-form-field.mjs.map +1 -1
  244. package/fesm2015/ptsecurity-mosaic-icon.mjs +10 -10
  245. package/fesm2015/ptsecurity-mosaic-input.mjs +19 -19
  246. package/fesm2015/ptsecurity-mosaic-link.mjs +7 -7
  247. package/fesm2015/ptsecurity-mosaic-list.mjs +30 -35
  248. package/fesm2015/ptsecurity-mosaic-list.mjs.map +1 -1
  249. package/fesm2015/ptsecurity-mosaic-modal.mjs +50 -28
  250. package/fesm2015/ptsecurity-mosaic-modal.mjs.map +1 -1
  251. package/fesm2015/ptsecurity-mosaic-navbar.mjs +46 -46
  252. package/fesm2015/ptsecurity-mosaic-popover.mjs +16 -16
  253. package/fesm2015/ptsecurity-mosaic-progress-bar.mjs +7 -7
  254. package/fesm2015/ptsecurity-mosaic-progress-spinner.mjs +7 -7
  255. package/fesm2015/ptsecurity-mosaic-radio.mjs +10 -10
  256. package/fesm2015/ptsecurity-mosaic-select.mjs +16 -16
  257. package/fesm2015/ptsecurity-mosaic-sidebar.mjs +13 -13
  258. package/fesm2015/ptsecurity-mosaic-sidepanel.mjs +25 -25
  259. package/fesm2015/ptsecurity-mosaic-splitter.mjs +16 -16
  260. package/fesm2015/ptsecurity-mosaic-table.mjs +7 -7
  261. package/fesm2015/ptsecurity-mosaic-tabs.mjs +52 -52
  262. package/fesm2015/ptsecurity-mosaic-tags.mjs +72 -67
  263. package/fesm2015/ptsecurity-mosaic-tags.mjs.map +1 -1
  264. package/fesm2015/ptsecurity-mosaic-textarea.mjs +7 -7
  265. package/fesm2015/ptsecurity-mosaic-timepicker.mjs +7 -7
  266. package/fesm2015/ptsecurity-mosaic-toggle.mjs +7 -7
  267. package/fesm2015/ptsecurity-mosaic-tooltip.mjs +17 -17
  268. package/fesm2015/ptsecurity-mosaic-tooltip.mjs.map +1 -1
  269. package/fesm2015/ptsecurity-mosaic-tree-select.mjs +59 -19
  270. package/fesm2015/ptsecurity-mosaic-tree-select.mjs.map +1 -1
  271. package/fesm2015/ptsecurity-mosaic-tree.mjs +58 -47
  272. package/fesm2015/ptsecurity-mosaic-tree.mjs.map +1 -1
  273. package/fesm2020/ptsecurity-mosaic-autocomplete.mjs +13 -13
  274. package/fesm2020/ptsecurity-mosaic-button-toggle.mjs +10 -10
  275. package/fesm2020/ptsecurity-mosaic-button.mjs +10 -10
  276. package/fesm2020/ptsecurity-mosaic-card.mjs +7 -7
  277. package/fesm2020/ptsecurity-mosaic-checkbox.mjs +10 -10
  278. package/fesm2020/ptsecurity-mosaic-core.mjs +225 -178
  279. package/fesm2020/ptsecurity-mosaic-core.mjs.map +1 -1
  280. package/fesm2020/ptsecurity-mosaic-datepicker.mjs +40 -40
  281. package/fesm2020/ptsecurity-mosaic-design-tokens.mjs +2466 -480
  282. package/fesm2020/ptsecurity-mosaic-design-tokens.mjs.map +1 -1
  283. package/fesm2020/ptsecurity-mosaic-divider.mjs +7 -7
  284. package/fesm2020/ptsecurity-mosaic-dropdown.mjs +16 -16
  285. package/fesm2020/ptsecurity-mosaic-form-field.mjs +26 -26
  286. package/fesm2020/ptsecurity-mosaic-form-field.mjs.map +1 -1
  287. package/fesm2020/ptsecurity-mosaic-icon.mjs +10 -10
  288. package/fesm2020/ptsecurity-mosaic-input.mjs +19 -19
  289. package/fesm2020/ptsecurity-mosaic-link.mjs +7 -7
  290. package/fesm2020/ptsecurity-mosaic-list.mjs +29 -35
  291. package/fesm2020/ptsecurity-mosaic-list.mjs.map +1 -1
  292. package/fesm2020/ptsecurity-mosaic-modal.mjs +50 -28
  293. package/fesm2020/ptsecurity-mosaic-modal.mjs.map +1 -1
  294. package/fesm2020/ptsecurity-mosaic-navbar.mjs +46 -46
  295. package/fesm2020/ptsecurity-mosaic-popover.mjs +16 -16
  296. package/fesm2020/ptsecurity-mosaic-progress-bar.mjs +7 -7
  297. package/fesm2020/ptsecurity-mosaic-progress-spinner.mjs +7 -7
  298. package/fesm2020/ptsecurity-mosaic-radio.mjs +10 -10
  299. package/fesm2020/ptsecurity-mosaic-select.mjs +16 -16
  300. package/fesm2020/ptsecurity-mosaic-sidebar.mjs +13 -13
  301. package/fesm2020/ptsecurity-mosaic-sidepanel.mjs +25 -25
  302. package/fesm2020/ptsecurity-mosaic-splitter.mjs +16 -16
  303. package/fesm2020/ptsecurity-mosaic-table.mjs +7 -7
  304. package/fesm2020/ptsecurity-mosaic-tabs.mjs +52 -52
  305. package/fesm2020/ptsecurity-mosaic-tags.mjs +70 -67
  306. package/fesm2020/ptsecurity-mosaic-tags.mjs.map +1 -1
  307. package/fesm2020/ptsecurity-mosaic-textarea.mjs +7 -7
  308. package/fesm2020/ptsecurity-mosaic-timepicker.mjs +7 -7
  309. package/fesm2020/ptsecurity-mosaic-toggle.mjs +7 -7
  310. package/fesm2020/ptsecurity-mosaic-tooltip.mjs +17 -17
  311. package/fesm2020/ptsecurity-mosaic-tooltip.mjs.map +1 -1
  312. package/fesm2020/ptsecurity-mosaic-tree-select.mjs +58 -19
  313. package/fesm2020/ptsecurity-mosaic-tree-select.mjs.map +1 -1
  314. package/fesm2020/ptsecurity-mosaic-tree.mjs +58 -47
  315. package/fesm2020/ptsecurity-mosaic-tree.mjs.map +1 -1
  316. package/modal/modal-control.service.d.ts +1 -0
  317. package/package.json +4 -4
  318. package/prebuilt-themes/dark-theme.css +1 -1
  319. package/prebuilt-themes/default-theme.css +1 -1
  320. package/prebuilt-visual/default-visual.css +1 -1
  321. package/tags/tag.component.d.ts +20 -20
  322. package/tree/data-source/flat-data-source.d.ts +2 -2
  323. package/tree/toggle.d.ts +1 -1
  324. package/tree/tree-option.component.d.ts +5 -3
  325. package/tree/tree-selection.component.d.ts +1 -0
  326. package/tree-select/tree-select.component.d.ts +9 -1
  327. package/tree-select/tree-select.module.d.ts +2 -1
  328. package/esm2020/design-tokens/tokens.mjs +0 -933
@@ -1,7 +1,7 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Version, InjectionToken, isDevMode, NgModule, Optional, Inject, Directive, Injectable, Pipe, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, EventEmitter, Output, ContentChild, ContentChildren, TemplateRef } from '@angular/core';
1
3
  import * as i2$1 from '@angular/cdk/bidi';
2
4
  import { BidiModule } from '@angular/cdk/bidi';
3
- import * as i0 from '@angular/core';
4
- import { InjectionToken, isDevMode, NgModule, Optional, Inject, Directive, Injectable, Pipe, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, EventEmitter, Output, ContentChild, ContentChildren, TemplateRef } from '@angular/core';
5
5
  import { coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';
6
6
  import { Subject } from 'rxjs';
7
7
  import MessageFormat from '@messageformat/core';
@@ -18,6 +18,8 @@ import * as i1$1 from '@angular/cdk/a11y';
18
18
  import { takeUntil, distinctUntilChanged, delay } from 'rxjs/operators';
19
19
  import { ComponentPortal } from '@angular/cdk/portal';
20
20
 
21
+ const VERSION = new Version('{{VERSION}}');
22
+
21
23
  function isBoolean(val) { return typeof val === 'boolean'; }
22
24
  function toBoolean(value) {
23
25
  return value != null && `${value}` !== 'false';
@@ -87,10 +89,10 @@ class McCommonModule {
87
89
  }
88
90
  }
89
91
  }
90
- /** @nocollapse */ /** @nocollapse */ McCommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McCommonModule, deps: [{ token: MC_SANITY_CHECKS, optional: true }], target: i0.ɵɵFactoryTarget.NgModule });
91
- /** @nocollapse */ /** @nocollapse */ McCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McCommonModule, imports: [BidiModule], exports: [BidiModule] });
92
- /** @nocollapse */ /** @nocollapse */ McCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McCommonModule, imports: [[BidiModule], BidiModule] });
93
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McCommonModule, decorators: [{
92
+ /** @nocollapse */ /** @nocollapse */ McCommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McCommonModule, deps: [{ token: MC_SANITY_CHECKS, optional: true }], target: i0.ɵɵFactoryTarget.NgModule });
93
+ /** @nocollapse */ /** @nocollapse */ McCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McCommonModule, imports: [BidiModule], exports: [BidiModule] });
94
+ /** @nocollapse */ /** @nocollapse */ McCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McCommonModule, imports: [[BidiModule], BidiModule] });
95
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McCommonModule, decorators: [{
94
96
  type: NgModule,
95
97
  args: [{
96
98
  imports: [BidiModule],
@@ -203,9 +205,9 @@ function mixinErrorState(base) {
203
205
  */
204
206
  class McLine {
205
207
  }
206
- /** @nocollapse */ /** @nocollapse */ McLine.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McLine, deps: [], target: i0.ɵɵFactoryTarget.Directive });
207
- /** @nocollapse */ /** @nocollapse */ McLine.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: McLine, selector: "[mc-line], [mcLine]", host: { classAttribute: "mc-line" }, ngImport: i0 });
208
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McLine, decorators: [{
208
+ /** @nocollapse */ /** @nocollapse */ McLine.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McLine, deps: [], target: i0.ɵɵFactoryTarget.Directive });
209
+ /** @nocollapse */ /** @nocollapse */ McLine.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.0", type: McLine, selector: "[mc-line], [mcLine]", host: { classAttribute: "mc-line" }, ngImport: i0 });
210
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McLine, decorators: [{
209
211
  type: Directive,
210
212
  args: [{
211
213
  selector: '[mc-line], [mcLine]',
@@ -252,10 +254,10 @@ class McLineSetter {
252
254
  }
253
255
  class McLineModule {
254
256
  }
255
- /** @nocollapse */ /** @nocollapse */ McLineModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McLineModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
256
- /** @nocollapse */ /** @nocollapse */ McLineModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McLineModule, declarations: [McLine], exports: [McLine] });
257
- /** @nocollapse */ /** @nocollapse */ McLineModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McLineModule, imports: [[]] });
258
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McLineModule, decorators: [{
257
+ /** @nocollapse */ /** @nocollapse */ McLineModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McLineModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
258
+ /** @nocollapse */ /** @nocollapse */ McLineModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McLineModule, declarations: [McLine], exports: [McLine] });
259
+ /** @nocollapse */ /** @nocollapse */ McLineModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McLineModule, imports: [[]] });
260
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McLineModule, decorators: [{
259
261
  type: NgModule,
260
262
  args: [{
261
263
  imports: [],
@@ -270,9 +272,9 @@ class ShowOnDirtyErrorStateMatcher {
270
272
  return !!(control && control.invalid && (control.dirty || (form && form.submitted)));
271
273
  }
272
274
  }
273
- /** @nocollapse */ /** @nocollapse */ ShowOnDirtyErrorStateMatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ShowOnDirtyErrorStateMatcher, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
274
- /** @nocollapse */ /** @nocollapse */ ShowOnDirtyErrorStateMatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ShowOnDirtyErrorStateMatcher });
275
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ShowOnDirtyErrorStateMatcher, decorators: [{
275
+ /** @nocollapse */ /** @nocollapse */ ShowOnDirtyErrorStateMatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: ShowOnDirtyErrorStateMatcher, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
276
+ /** @nocollapse */ /** @nocollapse */ ShowOnDirtyErrorStateMatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: ShowOnDirtyErrorStateMatcher });
277
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: ShowOnDirtyErrorStateMatcher, decorators: [{
276
278
  type: Injectable
277
279
  }] });
278
280
  /** Provider that defines how form controls behave with regards to displaying error messages. */
@@ -281,28 +283,39 @@ class ErrorStateMatcher {
281
283
  return !!(control && control.invalid && (control.touched || (form && form.submitted)));
282
284
  }
283
285
  }
284
- /** @nocollapse */ /** @nocollapse */ ErrorStateMatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ErrorStateMatcher, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
285
- /** @nocollapse */ /** @nocollapse */ ErrorStateMatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ErrorStateMatcher, providedIn: 'root' });
286
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ErrorStateMatcher, decorators: [{
286
+ /** @nocollapse */ /** @nocollapse */ ErrorStateMatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: ErrorStateMatcher, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
287
+ /** @nocollapse */ /** @nocollapse */ ErrorStateMatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: ErrorStateMatcher, providedIn: 'root' });
288
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: ErrorStateMatcher, decorators: [{
287
289
  type: Injectable,
288
290
  args: [{ providedIn: 'root' }]
289
291
  }] });
290
292
 
293
+ const SECONDS_TEMPLATE$1 = `{
294
+ SHOW_MILLISECONDS,
295
+ select,
296
+ yes{:{SECONDS}{MILLISECONDS}}
297
+ other{{
298
+ SHOW_SECONDS,
299
+ select,
300
+ yes{:{SECONDS}}
301
+ other{}
302
+ }}
303
+ }`;
291
304
  const enUS = {
292
305
  relativeTemplates: {
293
306
  short: {
294
- BEFORE_YESTERDAY: '{CURRENT_YEAR, select, yes{{SHORT_DATE}, {TIME}} other{{SHORT_DATE}, {YEAR}}}',
295
- YESTERDAY: 'Yesterday, {TIME}',
296
- TODAY: 'Today, {TIME}',
297
- TOMORROW: 'Tomorrow, {TIME}',
298
- AFTER_TOMORROW: '{CURRENT_YEAR, select, yes{{SHORT_DATE}, {TIME}} other{{SHORT_DATE}, {YEAR}}}'
307
+ BEFORE_YESTERDAY: `{CURRENT_YEAR, select, yes{{SHORT_DATE}, {TIME}} other{{SHORT_DATE}, {YEAR}}}${SECONDS_TEMPLATE$1}`,
308
+ YESTERDAY: `Yesterday, {TIME}${SECONDS_TEMPLATE$1}`,
309
+ TODAY: `Today, {TIME}${SECONDS_TEMPLATE$1}`,
310
+ TOMORROW: `Tomorrow, {TIME}${SECONDS_TEMPLATE$1}`,
311
+ AFTER_TOMORROW: `{CURRENT_YEAR, select, yes{{SHORT_DATE}, {TIME}} other{{SHORT_DATE}, {YEAR}}}${SECONDS_TEMPLATE$1}`
299
312
  },
300
313
  long: {
301
- BEFORE_YESTERDAY: '{CURRENT_YEAR, select, yes{{DATE}, {TIME}} other{{DATE}, {YEAR}}}',
302
- YESTERDAY: 'Yesterday, {TIME}',
303
- TODAY: 'Today, {TIME}',
304
- TOMORROW: 'Tomorrow, {TIME}',
305
- AFTER_TOMORROW: '{CURRENT_YEAR, select, yes{{DATE}, {TIME}} other{{DATE}, {YEAR}}}'
314
+ BEFORE_YESTERDAY: `{CURRENT_YEAR, select, yes{{DATE}, {TIME}} other{{DATE}, {YEAR}}}${SECONDS_TEMPLATE$1}`,
315
+ YESTERDAY: `Yesterday, {TIME}${SECONDS_TEMPLATE$1}`,
316
+ TODAY: `Today, {TIME}${SECONDS_TEMPLATE$1}`,
317
+ TOMORROW: `Tomorrow, {TIME}${SECONDS_TEMPLATE$1}`,
318
+ AFTER_TOMORROW: `{CURRENT_YEAR, select, yes{{DATE}, {TIME}} other{{DATE}, {YEAR}}}${SECONDS_TEMPLATE$1}`
306
319
  }
307
320
  },
308
321
  absoluteTemplates: {
@@ -313,12 +326,7 @@ const enUS = {
313
326
  select,
314
327
  yes{{SHORT_DATE}, {TIME}}
315
328
  other{{SHORT_DATE}, {YEAR}, {TIME}}
316
- }{
317
- SHOW_MILLISECONDS,
318
- select,
319
- yes{:{SECONDS}{MILLISECONDS}}
320
- other{}
321
- }`
329
+ }${SECONDS_TEMPLATE$1}`
322
330
  },
323
331
  long: {
324
332
  DATE: '{CURRENT_YEAR, select, yes{{DATE}} other{{DATE}, {YEAR}}}',
@@ -327,12 +335,7 @@ const enUS = {
327
335
  select,
328
336
  yes{{DATE}, {TIME}}
329
337
  other{{DATE}, {YEAR}, {TIME}}
330
- }{
331
- SHOW_MILLISECONDS,
332
- select,
333
- yes{:{SECONDS}{MILLISECONDS}}
334
- other{}
335
- }`
338
+ }${SECONDS_TEMPLATE$1}`
336
339
  }
337
340
  },
338
341
  rangeTemplates: {
@@ -366,22 +369,22 @@ const enUS = {
366
369
  yes{{SHORT_DATE}, {TIME}}
367
370
  other{{SHORT_DATE}, {YEAR}, {TIME}}
368
371
  }}
369
- }`,
372
+ }${SECONDS_TEMPLATE$1}`,
370
373
  END_DATETIME: `{
371
374
  SAME_DAY,
372
375
  select,
373
376
  yes{{
374
377
  CURRENT_YEAR,
375
378
  select,
376
- yes{{TIME}, {SHORT_DATE}}
377
- other{{TIME}, {SHORT_DATE}, {YEAR}}
379
+ yes{{TIME}${SECONDS_TEMPLATE$1}, {SHORT_DATE}}
380
+ other{{TIME}${SECONDS_TEMPLATE$1}, {SHORT_DATE}, {YEAR}}
378
381
  }}
379
382
  other{{
380
383
  CURRENT_YEAR,
381
384
  select,
382
385
  yes{{SHORT_DATE}, {TIME}}
383
386
  other{{SHORT_DATE}, {YEAR}, {TIME}}
384
- }}
387
+ }${SECONDS_TEMPLATE$1}}
385
388
  }`,
386
389
  DATETIME: `{
387
390
  SAME_DAY,
@@ -419,22 +422,22 @@ const enUS = {
419
422
  yes{{DATE}, {TIME}}
420
423
  other{{DATE}, {YEAR}, {TIME}}
421
424
  }}
422
- }`,
425
+ }${SECONDS_TEMPLATE$1}`,
423
426
  END_DATETIME: `{
424
427
  SAME_DAY,
425
428
  select,
426
429
  yes{{
427
430
  CURRENT_YEAR,
428
431
  select,
429
- yes{{TIME}, {DATE}}
430
- other{{TIME}, {DATE}, {YEAR}}
432
+ yes{{TIME}${SECONDS_TEMPLATE$1}, {DATE}}
433
+ other{{TIME}${SECONDS_TEMPLATE$1}, {DATE}, {YEAR}}
431
434
  }}
432
435
  other{{
433
436
  CURRENT_YEAR,
434
437
  select,
435
438
  yes{{DATE}, {TIME}}
436
439
  other{{DATE}, {YEAR}, {TIME}}
437
- }}
440
+ }${SECONDS_TEMPLATE$1}}
438
441
  }`,
439
442
  DATETIME: `{
440
443
  SAME_DAY,
@@ -477,7 +480,7 @@ const enUS = {
477
480
  yes{{DATE}, {TIME}}
478
481
  other{{DATE}, {YEAR}, {TIME}}
479
482
  }}
480
- }`,
483
+ }${SECONDS_TEMPLATE$1}`,
481
484
  END_DATETIME: `{
482
485
  SAME_DAY,
483
486
  select,
@@ -488,7 +491,7 @@ const enUS = {
488
491
  yes{{DATE}, {TIME}}
489
492
  other{{DATE}, {YEAR}, {TIME}}
490
493
  }}
491
- }`,
494
+ }${SECONDS_TEMPLATE$1}`,
492
495
  DATETIME: `{
493
496
  SAME_DAY,
494
497
  select,
@@ -517,13 +520,13 @@ const enUS = {
517
520
  select,
518
521
  yes{{SHORT_DATE}, {TIME}}
519
522
  other{{SHORT_DATE} {YEAR}, {TIME}}
520
- }`,
523
+ }${SECONDS_TEMPLATE$1}`,
521
524
  END_DATETIME: `{
522
525
  CURRENT_YEAR,
523
526
  select,
524
527
  yes{{SHORT_DATE}, {TIME}}
525
528
  other{{SHORT_DATE} {YEAR}, {TIME}}
526
- }`,
529
+ }${SECONDS_TEMPLATE$1}`,
527
530
  DATETIME: `{
528
531
  RANGE_TYPE,
529
532
  select,
@@ -550,13 +553,13 @@ const enUS = {
550
553
  select,
551
554
  yes{{DATE}, {TIME}}
552
555
  other{{DATE} {YEAR}, {TIME}}
553
- }`,
556
+ }${SECONDS_TEMPLATE$1}`,
554
557
  END_DATETIME: `{
555
558
  CURRENT_YEAR,
556
559
  select,
557
560
  yes{{DATE}, {TIME}}
558
561
  other{{DATE} {YEAR}, {TIME}}
559
- }`,
562
+ }${SECONDS_TEMPLATE$1}`,
560
563
  DATETIME: `{
561
564
  RANGE_TYPE,
562
565
  select,
@@ -568,21 +571,32 @@ const enUS = {
568
571
  }
569
572
  };
570
573
 
574
+ const SECONDS_TEMPLATE = `{
575
+ SHOW_MILLISECONDS,
576
+ select,
577
+ yes{:{SECONDS}{MILLISECONDS}}
578
+ other{{
579
+ SHOW_SECONDS,
580
+ select,
581
+ yes{:{SECONDS}}
582
+ other{}
583
+ }}
584
+ }`;
571
585
  const ruRU = {
572
586
  relativeTemplates: {
573
587
  short: {
574
- BEFORE_YESTERDAY: '{CURRENT_YEAR, select, yes{{SHORT_DATE}, {TIME}} other{{SHORT_DATE} {YEAR}}}',
575
- YESTERDAY: 'Вчера, {TIME}',
576
- TODAY: 'Сегодня, {TIME}',
577
- TOMORROW: 'Завтра, {TIME}',
578
- AFTER_TOMORROW: '{CURRENT_YEAR, select, yes{{SHORT_DATE}, {TIME}} other{{SHORT_DATE} {YEAR}}}'
588
+ BEFORE_YESTERDAY: `{CURRENT_YEAR, select, yes{{SHORT_DATE}, {TIME}} other{{SHORT_DATE} {YEAR}}}${SECONDS_TEMPLATE}`,
589
+ YESTERDAY: `Вчера, {TIME}${SECONDS_TEMPLATE}`,
590
+ TODAY: `Сегодня, {TIME}${SECONDS_TEMPLATE}`,
591
+ TOMORROW: `Завтра, {TIME}${SECONDS_TEMPLATE}`,
592
+ AFTER_TOMORROW: `{CURRENT_YEAR, select, yes{{SHORT_DATE}, {TIME}} other{{SHORT_DATE} {YEAR}}}${SECONDS_TEMPLATE}`
579
593
  },
580
594
  long: {
581
- BEFORE_YESTERDAY: '{CURRENT_YEAR, select, yes{{DATE}, {TIME}} other{{DATE} {YEAR}}}',
582
- YESTERDAY: 'Вчера, {TIME}',
583
- TODAY: 'Сегодня, {TIME}',
584
- TOMORROW: 'Завтра, {TIME}',
585
- AFTER_TOMORROW: '{CURRENT_YEAR, select, yes{{DATE}, {TIME}} other{{DATE} {YEAR}}}'
595
+ BEFORE_YESTERDAY: `{CURRENT_YEAR, select, yes{{DATE}, {TIME}} other{{DATE} {YEAR}}}${SECONDS_TEMPLATE}`,
596
+ YESTERDAY: `Вчера, {TIME}${SECONDS_TEMPLATE}`,
597
+ TODAY: `Сегодня, {TIME}${SECONDS_TEMPLATE}`,
598
+ TOMORROW: `Завтра, {TIME}${SECONDS_TEMPLATE}`,
599
+ AFTER_TOMORROW: `{CURRENT_YEAR, select, yes{{DATE}, {TIME}} other{{DATE} {YEAR}}}${SECONDS_TEMPLATE}`
586
600
  }
587
601
  },
588
602
  absoluteTemplates: {
@@ -593,12 +607,7 @@ const ruRU = {
593
607
  select,
594
608
  yes{{SHORT_DATE}, {TIME}}
595
609
  other{{SHORT_DATE} {YEAR}, {TIME}}
596
- }{
597
- SHOW_MILLISECONDS,
598
- select,
599
- yes{:{SECONDS}{MILLISECONDS}}
600
- other{}
601
- }`
610
+ }${SECONDS_TEMPLATE}`
602
611
  },
603
612
  long: {
604
613
  DATE: '{CURRENT_YEAR, select, yes{{DATE}} other{{DATE} {YEAR}}}',
@@ -607,12 +616,7 @@ const ruRU = {
607
616
  select,
608
617
  yes{{DATE}, {TIME}}
609
618
  other{{DATE} {YEAR}, {TIME}}
610
- }{
611
- SHOW_MILLISECONDS,
612
- select,
613
- yes{:{SECONDS}{MILLISECONDS}}
614
- other{}
615
- }`
619
+ }${SECONDS_TEMPLATE}`
616
620
  }
617
621
  },
618
622
  rangeTemplates: {
@@ -646,22 +650,22 @@ const ruRU = {
646
650
  yes{{SHORT_DATE}, {TIME}}
647
651
  other{{SHORT_DATE} {YEAR}, {TIME}}
648
652
  }}
649
- }`,
653
+ }${SECONDS_TEMPLATE}`,
650
654
  END_DATETIME: `{
651
655
  SAME_DAY,
652
656
  select,
653
657
  yes{{
654
658
  CURRENT_YEAR,
655
659
  select,
656
- yes{{TIME}, {SHORT_DATE}}
657
- other{{TIME}, {SHORT_DATE} {YEAR}}
660
+ yes{{TIME}${SECONDS_TEMPLATE}, {SHORT_DATE}}
661
+ other{{TIME}${SECONDS_TEMPLATE}, {SHORT_DATE} {YEAR}}
658
662
  }}
659
663
  other{{
660
664
  CURRENT_YEAR,
661
665
  select,
662
666
  yes{{SHORT_DATE}, {TIME}}
663
667
  other{{SHORT_DATE} {YEAR}, {TIME}}
664
- }}
668
+ }${SECONDS_TEMPLATE}}
665
669
  }`,
666
670
  DATETIME: `{
667
671
  SAME_DAY,
@@ -699,22 +703,22 @@ const ruRU = {
699
703
  yes{{DATE}, {TIME}}
700
704
  other{{DATE} {YEAR}, {TIME}}
701
705
  }}
702
- }`,
706
+ }${SECONDS_TEMPLATE}`,
703
707
  END_DATETIME: `{
704
708
  SAME_DAY,
705
709
  select,
706
710
  yes{{
707
711
  CURRENT_YEAR,
708
712
  select,
709
- yes{{TIME}, {DATE}}
710
- other{{TIME}, {DATE} {YEAR}}
713
+ yes{{TIME}${SECONDS_TEMPLATE}, {DATE}}
714
+ other{{TIME}${SECONDS_TEMPLATE}, {DATE} {YEAR}}
711
715
  }}
712
716
  other{{
713
717
  CURRENT_YEAR,
714
718
  select,
715
719
  yes{{DATE}, {TIME}}
716
720
  other{{DATE} {YEAR}, {TIME}}
717
- }}
721
+ }${SECONDS_TEMPLATE}}
718
722
  }`,
719
723
  DATETIME: `{
720
724
  SAME_DAY,
@@ -757,7 +761,7 @@ const ruRU = {
757
761
  yes{{DATE}, {TIME}}
758
762
  other{{DATE} {YEAR}, {TIME}}
759
763
  }}
760
- }`,
764
+ }${SECONDS_TEMPLATE}`,
761
765
  END_DATETIME: `{
762
766
  SAME_DAY,
763
767
  select,
@@ -768,7 +772,7 @@ const ruRU = {
768
772
  yes{{DATE}, {TIME}}
769
773
  other{{DATE} {YEAR}, {TIME}}
770
774
  }}
771
- }`,
775
+ }${SECONDS_TEMPLATE}`,
772
776
  DATETIME: `{
773
777
  SAME_DAY,
774
778
  select,
@@ -797,13 +801,13 @@ const ruRU = {
797
801
  select,
798
802
  yes{{SHORT_DATE}, {TIME}}
799
803
  other{{SHORT_DATE} {YEAR}, {TIME}}
800
- }`,
804
+ }${SECONDS_TEMPLATE}`,
801
805
  END_DATETIME: `{
802
806
  CURRENT_YEAR,
803
807
  select,
804
808
  yes{{SHORT_DATE}, {TIME}}
805
809
  other{{SHORT_DATE} {YEAR}, {TIME}}
806
- }`,
810
+ }${SECONDS_TEMPLATE}`,
807
811
  DATETIME: `{
808
812
  RANGE_TYPE,
809
813
  select,
@@ -830,13 +834,13 @@ const ruRU = {
830
834
  select,
831
835
  yes{{DATE}, {TIME}}
832
836
  other{{DATE} {YEAR}, {TIME}}
833
- }`,
837
+ }${SECONDS_TEMPLATE}`,
834
838
  END_DATETIME: `{
835
839
  CURRENT_YEAR,
836
840
  select,
837
841
  yes{{DATE}, {TIME}}
838
842
  other{{DATE} {YEAR}, {TIME}}
839
- }`,
843
+ }${SECONDS_TEMPLATE}`,
840
844
  DATETIME: `{
841
845
  RANGE_TYPE,
842
846
  select,
@@ -865,33 +869,30 @@ class DateFormatter {
865
869
  * @param template - template
866
870
  * @returns relative date by template
867
871
  */
868
- relativeDate(date, template) {
872
+ relativeDate(date, template, seconds = false, milliseconds = false) {
869
873
  if (!this.adapter.isDateInstance(date)) {
870
874
  throw new Error(this.invalidDateErrorText);
871
875
  }
872
- const isBeforeYesterday = this.adapter.diffNow(date, 'days') <= -2;
873
- const isYesterday = this.adapter.diffNow(date, 'days') <= -1 && this.adapter.diffNow(date, 'days') > -2;
874
- const isToday = this.adapter.hasSame(this.adapter.today(), date, 'days');
875
- const isTomorrow = this.adapter.diffNow(date, 'days') >= 1 && this.adapter.diffNow(date, 'days') < 2;
876
- const isAfterTomorrow = this.adapter.diffNow(date, 'days') > 1;
877
- const templateVariables = { ...this.adapter.config.variables, ...template.variables };
878
- const variables = this.compileVariables(date, templateVariables);
879
876
  let newTemplate;
880
- if (isBeforeYesterday) {
877
+ const templateVariables = { ...this.adapter.config.variables, ...template.variables };
878
+ if (this.isBeforeYesterday(date)) {
881
879
  newTemplate = template.BEFORE_YESTERDAY;
882
880
  }
883
- else if (isYesterday) {
881
+ else if (this.isYesterday(date)) {
884
882
  newTemplate = template.YESTERDAY;
885
883
  }
886
- else if (isToday) {
884
+ else if (this.isToday(date)) {
887
885
  newTemplate = template.TODAY;
888
886
  }
889
- else if (isTomorrow) {
887
+ else if (this.isTomorrow(date)) {
890
888
  newTemplate = template.TOMORROW;
891
889
  }
892
- else if (isAfterTomorrow) {
890
+ else if (this.isAfterTomorrow(date)) {
893
891
  newTemplate = template.AFTER_TOMORROW;
894
892
  }
893
+ const variables = this.compileVariables(date, templateVariables);
894
+ variables.SHOW_SECONDS = seconds ? 'yes' : 'no';
895
+ variables.SHOW_MILLISECONDS = milliseconds ? 'yes' : 'no';
895
896
  return this.messageFormat.compile(newTemplate)(variables);
896
897
  }
897
898
  /**
@@ -908,18 +909,36 @@ class DateFormatter {
908
909
  relativeLongDate(date) {
909
910
  return this.relativeDate(date, this.config.relativeTemplates.long);
910
911
  }
912
+ /**
913
+ * @param date - date
914
+ * @param options - DateTimeOptions
915
+ * @returns relative date in short format with time
916
+ */
917
+ relativeShortDateTime(date, options) {
918
+ return this.relativeDate(date, this.config.relativeTemplates.short, options?.seconds, options?.milliseconds);
919
+ }
920
+ /**
921
+ * @param date - date
922
+ * @param options - DateTimeOptions
923
+ * @returns relative date in long format with time
924
+ */
925
+ relativeLongDateTime(date, options) {
926
+ return this.relativeDate(date, this.config.relativeTemplates.long, options?.seconds, options?.milliseconds);
927
+ }
911
928
  /**
912
929
  * @param date - date
913
930
  * @param params - parameters
914
931
  * @param datetime - should time be shown as well
932
+ * @param seconds - should time with seconds be shown as well
915
933
  * @param milliseconds - should time with milliseconds be shown as well
916
934
  * @returns absolute date in common format
917
935
  */
918
- absoluteDate(date, params, datetime = false, milliseconds = false) {
936
+ absoluteDate(date, params, datetime = false, seconds = false, milliseconds = false) {
919
937
  if (!this.adapter.isDateInstance(date)) {
920
938
  throw new Error(this.invalidDateErrorText);
921
939
  }
922
940
  const variables = this.compileVariables(date, { ...this.adapter.config.variables, ...params.variables });
941
+ variables.SHOW_SECONDS = seconds ? 'yes' : 'no';
923
942
  variables.SHOW_MILLISECONDS = milliseconds ? 'yes' : 'no';
924
943
  const template = datetime ? params.DATETIME : params.DATE;
925
944
  return this.messageFormat.compile(template)(variables);
@@ -933,11 +952,11 @@ class DateFormatter {
933
952
  }
934
953
  /**
935
954
  * @param date - date
936
- * @param options - AbsoluteDateTimeOptions
955
+ * @param options - DateTimeOptions
937
956
  * @returns absolute date in short format with time
938
957
  */
939
958
  absoluteShortDateTime(date, options) {
940
- return this.absoluteDate(date, this.config.absoluteTemplates.short, true, options?.milliseconds);
959
+ return this.absoluteDate(date, this.config.absoluteTemplates.short, true, options?.seconds, options?.milliseconds);
941
960
  }
942
961
  /**
943
962
  * @param date - date
@@ -948,11 +967,11 @@ class DateFormatter {
948
967
  }
949
968
  /**
950
969
  * @param date - date
951
- * @param options - AbsoluteDateTimeOptions
970
+ * @param options - DateTimeOptions
952
971
  * @returns absolute date in long format with time
953
972
  */
954
973
  absoluteLongDateTime(date, options) {
955
- return this.absoluteDate(date, this.config.absoluteTemplates.long, true, options?.milliseconds);
974
+ return this.absoluteDate(date, this.config.absoluteTemplates.long, true, options?.seconds, options?.milliseconds);
956
975
  }
957
976
  /**
958
977
  * @param startDate - start date
@@ -988,9 +1007,11 @@ class DateFormatter {
988
1007
  * @param startDate - start date
989
1008
  * @param endDate - end date
990
1009
  * @param template - template
1010
+ * @param seconds - should time with seconds be shown as well
1011
+ * @param milliseconds - should time with milliseconds be shown as well
991
1012
  * @returns opened date
992
1013
  */
993
- openedRangeDateTime(startDate, endDate, template) {
1014
+ openedRangeDateTime(startDate, endDate, template, seconds = false, milliseconds = false) {
994
1015
  if (!this.adapter.isDateInstance(startDate) && !this.adapter.isDateInstance(endDate)) {
995
1016
  throw new Error(this.invalidDateErrorText);
996
1017
  }
@@ -998,6 +1019,8 @@ class DateFormatter {
998
1019
  let params = {};
999
1020
  if (startDate) {
1000
1021
  const startDateVariables = this.compileVariables(startDate, variables);
1022
+ startDateVariables.SHOW_SECONDS = seconds ? 'yes' : 'no';
1023
+ startDateVariables.SHOW_MILLISECONDS = milliseconds ? 'yes' : 'no';
1001
1024
  params = {
1002
1025
  ...variables,
1003
1026
  START_DATETIME: this.messageFormat.compile(template.START_DATETIME)(startDateVariables),
@@ -1006,6 +1029,8 @@ class DateFormatter {
1006
1029
  }
1007
1030
  else if (endDate) {
1008
1031
  const endDateVariables = this.compileVariables(endDate, variables);
1032
+ endDateVariables.SHOW_SECONDS = seconds ? 'yes' : 'no';
1033
+ endDateVariables.SHOW_MILLISECONDS = milliseconds ? 'yes' : 'no';
1009
1034
  params = {
1010
1035
  ...variables,
1011
1036
  END_DATETIME: this.messageFormat.compile(template.END_DATETIME)(endDateVariables),
@@ -1047,7 +1072,7 @@ class DateFormatter {
1047
1072
  * @param template - template
1048
1073
  * @returns range date in template format with time
1049
1074
  */
1050
- rangeDateTime(startDate, endDate, template) {
1075
+ rangeDateTime(startDate, endDate, template, seconds = false, milliseconds = false) {
1051
1076
  if (!this.adapter.isDateInstance(startDate) || !this.adapter.isDateInstance(endDate)) {
1052
1077
  throw new Error(this.invalidDateErrorText);
1053
1078
  }
@@ -1057,9 +1082,13 @@ class DateFormatter {
1057
1082
  const startDateVariables = this.compileVariables(startDate, variables);
1058
1083
  startDateVariables.SAME_MONTH = sameMonth;
1059
1084
  startDateVariables.SAME_DAY = sameDay;
1085
+ startDateVariables.SHOW_SECONDS = seconds ? 'yes' : 'no';
1086
+ startDateVariables.SHOW_MILLISECONDS = milliseconds ? 'yes' : 'no';
1060
1087
  const endDateVariables = this.compileVariables(endDate, variables);
1061
1088
  endDateVariables.SAME_MONTH = sameMonth;
1062
1089
  endDateVariables.SAME_DAY = sameDay;
1090
+ endDateVariables.SHOW_SECONDS = seconds ? 'yes' : 'no';
1091
+ endDateVariables.SHOW_MILLISECONDS = milliseconds ? 'yes' : 'no';
1063
1092
  const bothCurrentYear = startDateVariables.CURRENT_YEAR === 'yes' && endDateVariables.CURRENT_YEAR === 'yes';
1064
1093
  startDateVariables.CURRENT_YEAR = bothCurrentYear ? 'yes' : 'no';
1065
1094
  endDateVariables.CURRENT_YEAR = bothCurrentYear ? 'yes' : 'no';
@@ -1087,14 +1116,15 @@ class DateFormatter {
1087
1116
  /**
1088
1117
  * @param startDate - start date
1089
1118
  * @param endDate - end date
1119
+ * @param options - DateTimeOptions
1090
1120
  * @returns range date in short format with time
1091
1121
  */
1092
- rangeShortDateTime(startDate, endDate) {
1122
+ rangeShortDateTime(startDate, endDate, options) {
1093
1123
  const rangeTemplates = this.config.rangeTemplates;
1094
1124
  if (startDate && endDate) {
1095
- return this.rangeDateTime(startDate, endDate, rangeTemplates.closedRange.short);
1125
+ return this.rangeDateTime(startDate, endDate, rangeTemplates.closedRange.short, options?.seconds, options?.milliseconds);
1096
1126
  }
1097
- return this.openedRangeDateTime(startDate, endDate || null, rangeTemplates.openedRange.short);
1127
+ return this.openedRangeDateTime(startDate, endDate || null, rangeTemplates.openedRange.short, options?.seconds, options?.milliseconds);
1098
1128
  }
1099
1129
  /**
1100
1130
  * @param startDate - start date
@@ -1111,22 +1141,24 @@ class DateFormatter {
1111
1141
  /**
1112
1142
  * @param startDate - start date
1113
1143
  * @param endDate - end date
1144
+ * @param options - DateTimeOptions
1114
1145
  * @returns range date in long format with time
1115
1146
  */
1116
- rangeLongDateTime(startDate, endDate) {
1147
+ rangeLongDateTime(startDate, endDate, options) {
1117
1148
  const rangeTemplates = this.config.rangeTemplates;
1118
1149
  if (startDate && endDate) {
1119
- return this.rangeDateTime(startDate, endDate, rangeTemplates.closedRange.long);
1150
+ return this.rangeDateTime(startDate, endDate, rangeTemplates.closedRange.long, options?.seconds, options?.milliseconds);
1120
1151
  }
1121
1152
  return this.openedRangeDateTime(startDate, endDate || null, rangeTemplates.openedRange.long);
1122
1153
  }
1123
1154
  /**
1124
1155
  * @param startDate - start date
1125
1156
  * @param endDate - end date
1157
+ * @param options - DateTimeOptions
1126
1158
  * @returns range middle date with time
1127
1159
  */
1128
- rangeMiddleDateTime(startDate, endDate) {
1129
- return this.rangeDateTime(startDate, endDate, this.config.rangeTemplates.closedRange.middle);
1160
+ rangeMiddleDateTime(startDate, endDate, options) {
1161
+ return this.rangeDateTime(startDate, endDate, this.config.rangeTemplates.closedRange.middle, options?.seconds, options?.milliseconds);
1130
1162
  }
1131
1163
  compileVariables(date, variables) {
1132
1164
  const compiledVariables = {};
@@ -1141,13 +1173,30 @@ class DateFormatter {
1141
1173
  compiledVariables.CURRENT_YEAR = this.hasSame(date, this.adapter.today(), 'year');
1142
1174
  return compiledVariables;
1143
1175
  }
1176
+ isBeforeYesterday(date) {
1177
+ return this.adapter.daysFromToday(date) <= -2;
1178
+ }
1179
+ isYesterday(date) {
1180
+ const interval = this.adapter.daysFromToday(date);
1181
+ return interval > -2 && interval <= -1;
1182
+ }
1183
+ isToday(date) {
1184
+ return this.adapter.daysFromToday(date) === 0;
1185
+ }
1186
+ isTomorrow(date) {
1187
+ const interval = this.adapter.daysFromToday(date);
1188
+ return interval >= 1 && interval < 2;
1189
+ }
1190
+ isAfterTomorrow(date) {
1191
+ return this.adapter.daysFromToday(date) >= 2;
1192
+ }
1144
1193
  hasSame(startDate, endDate, unit) {
1145
1194
  return this.adapter.hasSame(startDate, endDate, unit) ? 'yes' : 'no';
1146
1195
  }
1147
1196
  }
1148
- /** @nocollapse */ /** @nocollapse */ DateFormatter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: DateFormatter, deps: [{ token: i1.DateAdapter }, { token: MC_DATE_LOCALE }], target: i0.ɵɵFactoryTarget.Injectable });
1149
- /** @nocollapse */ /** @nocollapse */ DateFormatter.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: DateFormatter });
1150
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: DateFormatter, decorators: [{
1197
+ /** @nocollapse */ /** @nocollapse */ DateFormatter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DateFormatter, deps: [{ token: i1.DateAdapter }, { token: MC_DATE_LOCALE }], target: i0.ɵɵFactoryTarget.Injectable });
1198
+ /** @nocollapse */ /** @nocollapse */ DateFormatter.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DateFormatter });
1199
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DateFormatter, decorators: [{
1151
1200
  type: Injectable
1152
1201
  }], ctorParameters: function () { return [{ type: i1.DateAdapter }, { type: undefined, decorators: [{
1153
1202
  type: Inject,
@@ -1241,10 +1290,10 @@ class McDecimalPipe {
1241
1290
  }
1242
1291
  }
1243
1292
  }
1244
- /** @nocollapse */ /** @nocollapse */ McDecimalPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McDecimalPipe, deps: [{ token: MC_LOCALE_ID, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
1245
- /** @nocollapse */ /** @nocollapse */ McDecimalPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McDecimalPipe, name: "mcNumber" });
1246
- /** @nocollapse */ /** @nocollapse */ McDecimalPipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McDecimalPipe, providedIn: 'root' });
1247
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McDecimalPipe, decorators: [{
1293
+ /** @nocollapse */ /** @nocollapse */ McDecimalPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McDecimalPipe, deps: [{ token: MC_LOCALE_ID, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
1294
+ /** @nocollapse */ /** @nocollapse */ McDecimalPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McDecimalPipe, name: "mcNumber" });
1295
+ /** @nocollapse */ /** @nocollapse */ McDecimalPipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McDecimalPipe, providedIn: 'root' });
1296
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McDecimalPipe, decorators: [{
1248
1297
  type: Injectable,
1249
1298
  args: [{ providedIn: 'root' }]
1250
1299
  }, {
@@ -1259,10 +1308,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
1259
1308
 
1260
1309
  class McFormattersModule {
1261
1310
  }
1262
- /** @nocollapse */ /** @nocollapse */ McFormattersModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McFormattersModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1263
- /** @nocollapse */ /** @nocollapse */ McFormattersModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McFormattersModule, declarations: [McDecimalPipe], exports: [McDecimalPipe] });
1264
- /** @nocollapse */ /** @nocollapse */ McFormattersModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McFormattersModule, providers: [DateFormatter] });
1265
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McFormattersModule, decorators: [{
1311
+ /** @nocollapse */ /** @nocollapse */ McFormattersModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McFormattersModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1312
+ /** @nocollapse */ /** @nocollapse */ McFormattersModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McFormattersModule, declarations: [McDecimalPipe], exports: [McDecimalPipe] });
1313
+ /** @nocollapse */ /** @nocollapse */ McFormattersModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McFormattersModule, providers: [DateFormatter] });
1314
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McFormattersModule, decorators: [{
1266
1315
  type: NgModule,
1267
1316
  args: [{
1268
1317
  exports: [McDecimalPipe],
@@ -1361,19 +1410,19 @@ class McHighlightPipe {
1361
1410
  return value.replace(new RegExp(`(${args})`, 'gi'), '<mark class="mc-highlight">$1</mark>');
1362
1411
  }
1363
1412
  }
1364
- /** @nocollapse */ /** @nocollapse */ McHighlightPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McHighlightPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1365
- /** @nocollapse */ /** @nocollapse */ McHighlightPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McHighlightPipe, name: "mcHighlight" });
1366
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McHighlightPipe, decorators: [{
1413
+ /** @nocollapse */ /** @nocollapse */ McHighlightPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McHighlightPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1414
+ /** @nocollapse */ /** @nocollapse */ McHighlightPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McHighlightPipe, name: "mcHighlight" });
1415
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McHighlightPipe, decorators: [{
1367
1416
  type: Pipe,
1368
1417
  args: [{ name: 'mcHighlight' }]
1369
1418
  }] });
1370
1419
 
1371
1420
  class McHighlightModule {
1372
1421
  }
1373
- /** @nocollapse */ /** @nocollapse */ McHighlightModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McHighlightModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1374
- /** @nocollapse */ /** @nocollapse */ McHighlightModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McHighlightModule, declarations: [McHighlightPipe], imports: [CommonModule], exports: [McHighlightPipe] });
1375
- /** @nocollapse */ /** @nocollapse */ McHighlightModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McHighlightModule, imports: [[CommonModule]] });
1376
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McHighlightModule, decorators: [{
1422
+ /** @nocollapse */ /** @nocollapse */ McHighlightModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McHighlightModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1423
+ /** @nocollapse */ /** @nocollapse */ McHighlightModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McHighlightModule, declarations: [McHighlightPipe], imports: [CommonModule], exports: [McHighlightPipe] });
1424
+ /** @nocollapse */ /** @nocollapse */ McHighlightModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McHighlightModule, imports: [[CommonModule]] });
1425
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McHighlightModule, decorators: [{
1377
1426
  type: NgModule,
1378
1427
  args: [{
1379
1428
  imports: [CommonModule],
@@ -1767,9 +1816,9 @@ class McPseudoCheckbox {
1767
1816
  this.disabled = false;
1768
1817
  }
1769
1818
  }
1770
- /** @nocollapse */ /** @nocollapse */ McPseudoCheckbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McPseudoCheckbox, deps: [], target: i0.ɵɵFactoryTarget.Component });
1771
- /** @nocollapse */ /** @nocollapse */ McPseudoCheckbox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: McPseudoCheckbox, selector: "mc-pseudo-checkbox", inputs: { state: "state", disabled: "disabled" }, host: { properties: { "class.mc-indeterminate": "state === \"indeterminate\"", "class.mc-checked": "state === \"checked\"", "class.mc-disabled": "disabled" }, classAttribute: "mc-pseudo-checkbox" }, ngImport: i0, template: "<i class=\"mc-checkbox-checkmark mc mc-check_16\"></i>\n<i class=\"mc-checkbox-mixedmark mc mc-minus_16\"></i>\n", styles: [".mc-pseudo-checkbox{position:relative;display:inline-block;box-sizing:border-box;width:16px;width:var(--mc-checkbox-size-width, 16px);height:16px;height:var(--mc-checkbox-size-width, 16px);border-radius:3px;border-width:1px;border-width:var(--mc-checkbox-size-border-width, 1px);border-style:solid;cursor:pointer;vertical-align:middle;flex-shrink:0}.mc-pseudo-checkbox .mc-checkbox-checkmark,.mc-pseudo-checkbox .mc-checkbox-mixedmark{display:none;position:absolute;top:-1px;top:calc(-1 * var(--mc-checkbox-size-border-width, 1px));left:-1px;left:calc(-1 * var(--mc-checkbox-size-border-width, 1px))}.mc-pseudo-checkbox.mc-pseudo-checkbox-checked,.mc-pseudo-checkbox.mc-pseudo-checkbox-indeterminate{border-color:transparent}.mc-pseudo-checkbox.mc-checked .mc-checkbox-checkmark,.mc-pseudo-checkbox.mc-indeterminate .mc-checkbox-mixedmark{display:inline-block}.mc-pseudo-checkbox.mc-disabled{cursor:default}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1772
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McPseudoCheckbox, decorators: [{
1819
+ /** @nocollapse */ /** @nocollapse */ McPseudoCheckbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McPseudoCheckbox, deps: [], target: i0.ɵɵFactoryTarget.Component });
1820
+ /** @nocollapse */ /** @nocollapse */ McPseudoCheckbox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: McPseudoCheckbox, selector: "mc-pseudo-checkbox", inputs: { state: "state", disabled: "disabled" }, host: { properties: { "class.mc-indeterminate": "state === \"indeterminate\"", "class.mc-checked": "state === \"checked\"", "class.mc-disabled": "disabled" }, classAttribute: "mc-pseudo-checkbox" }, ngImport: i0, template: "<i class=\"mc-checkbox-checkmark mc mc-check_16\"></i>\n<i class=\"mc-checkbox-mixedmark mc mc-minus_16\"></i>\n", styles: [".mc-pseudo-checkbox{position:relative;display:inline-block;box-sizing:border-box;width:16px;width:var(--mc-checkbox-size-width, 16px);height:16px;height:var(--mc-checkbox-size-width, 16px);border-radius:3px;border-width:1px;border-width:var(--mc-checkbox-size-border-width, 1px);border-style:solid;cursor:pointer;vertical-align:middle;flex-shrink:0}.mc-pseudo-checkbox .mc-checkbox-checkmark,.mc-pseudo-checkbox .mc-checkbox-mixedmark{display:none;position:absolute;top:-1px;top:calc(-1 * var(--mc-checkbox-size-border-width, 1px));left:-1px;left:calc(-1 * var(--mc-checkbox-size-border-width, 1px))}.mc-pseudo-checkbox.mc-pseudo-checkbox-checked,.mc-pseudo-checkbox.mc-pseudo-checkbox-indeterminate{border-color:transparent}.mc-pseudo-checkbox.mc-checked .mc-checkbox-checkmark,.mc-pseudo-checkbox.mc-indeterminate .mc-checkbox-mixedmark{display:inline-block}.mc-pseudo-checkbox.mc-disabled{cursor:default}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1821
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McPseudoCheckbox, decorators: [{
1773
1822
  type: Component,
1774
1823
  args: [{ selector: 'mc-pseudo-checkbox', host: {
1775
1824
  class: 'mc-pseudo-checkbox',
@@ -1785,10 +1834,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
1785
1834
 
1786
1835
  class McPseudoCheckboxModule {
1787
1836
  }
1788
- /** @nocollapse */ /** @nocollapse */ McPseudoCheckboxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McPseudoCheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1789
- /** @nocollapse */ /** @nocollapse */ McPseudoCheckboxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McPseudoCheckboxModule, declarations: [McPseudoCheckbox], imports: [CommonModule], exports: [McPseudoCheckbox] });
1790
- /** @nocollapse */ /** @nocollapse */ McPseudoCheckboxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McPseudoCheckboxModule, imports: [[CommonModule]] });
1791
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McPseudoCheckboxModule, decorators: [{
1837
+ /** @nocollapse */ /** @nocollapse */ McPseudoCheckboxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McPseudoCheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1838
+ /** @nocollapse */ /** @nocollapse */ McPseudoCheckboxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McPseudoCheckboxModule, declarations: [McPseudoCheckbox], imports: [CommonModule], exports: [McPseudoCheckbox] });
1839
+ /** @nocollapse */ /** @nocollapse */ McPseudoCheckboxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McPseudoCheckboxModule, imports: [[CommonModule]] });
1840
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McPseudoCheckboxModule, decorators: [{
1792
1841
  type: NgModule,
1793
1842
  args: [{
1794
1843
  imports: [CommonModule],
@@ -1830,9 +1879,9 @@ class McMeasureScrollbarService {
1830
1879
  this._scrollBarWidth = width;
1831
1880
  }
1832
1881
  }
1833
- /** @nocollapse */ /** @nocollapse */ McMeasureScrollbarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McMeasureScrollbarService, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
1834
- /** @nocollapse */ /** @nocollapse */ McMeasureScrollbarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McMeasureScrollbarService, providedIn: 'root' });
1835
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McMeasureScrollbarService, decorators: [{
1882
+ /** @nocollapse */ /** @nocollapse */ McMeasureScrollbarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McMeasureScrollbarService, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
1883
+ /** @nocollapse */ /** @nocollapse */ McMeasureScrollbarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McMeasureScrollbarService, providedIn: 'root' });
1884
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McMeasureScrollbarService, decorators: [{
1836
1885
  type: Injectable,
1837
1886
  args: [{
1838
1887
  providedIn: 'root'
@@ -1858,9 +1907,9 @@ class McOptgroup extends McOptgroupMixinBase {
1858
1907
  this.labelId = `mc-optgroup-label-${uniqueOptgroupIdCounter++}`;
1859
1908
  }
1860
1909
  }
1861
- /** @nocollapse */ /** @nocollapse */ McOptgroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McOptgroup, deps: null, target: i0.ɵɵFactoryTarget.Component });
1862
- /** @nocollapse */ /** @nocollapse */ McOptgroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: McOptgroup, selector: "mc-optgroup", inputs: { disabled: "disabled", label: "label" }, host: { properties: { "class.mc-disabled": "disabled" }, classAttribute: "mc-optgroup" }, exportAs: ["mcOptgroup"], usesInheritance: true, ngImport: i0, template: "<label class=\"mc-optgroup-label\" [id]=\"labelId\">{{ label }}</label>\n<ng-content select=\"mc-option, mc-list-option, ng-container\"></ng-content>\n", styles: [".mc-optgroup-label{padding-left:17px;padding-left:var(--mc-optgroup-size-padding-left, 17px);-webkit-user-select:none;user-select:none;cursor:default}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1863
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McOptgroup, decorators: [{
1910
+ /** @nocollapse */ /** @nocollapse */ McOptgroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McOptgroup, deps: null, target: i0.ɵɵFactoryTarget.Component });
1911
+ /** @nocollapse */ /** @nocollapse */ McOptgroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: McOptgroup, selector: "mc-optgroup", inputs: { disabled: "disabled", label: "label" }, host: { properties: { "class.mc-disabled": "disabled" }, classAttribute: "mc-optgroup" }, exportAs: ["mcOptgroup"], usesInheritance: true, ngImport: i0, template: "<label class=\"mc-optgroup-label\" [id]=\"labelId\">{{ label }}</label>\n<ng-content select=\"mc-option, mc-list-option, ng-container\"></ng-content>\n", styles: [".mc-optgroup-label{padding-left:17px;padding-left:var(--mc-optgroup-size-padding-left, 17px);-webkit-user-select:none;user-select:none;cursor:default}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1912
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McOptgroup, decorators: [{
1864
1913
  type: Component,
1865
1914
  args: [{ selector: 'mc-optgroup', exportAs: 'mcOptgroup', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, inputs: ['disabled'], host: {
1866
1915
  class: 'mc-optgroup',
@@ -2044,9 +2093,9 @@ class McOption {
2044
2093
  this.onSelectionChange.emit(new McOptionSelectionChange(this, isUserInput));
2045
2094
  }
2046
2095
  }
2047
- /** @nocollapse */ /** @nocollapse */ McOption.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McOption, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: MC_OPTION_PARENT_COMPONENT, optional: true }, { token: McOptgroup, optional: true }], target: i0.ɵɵFactoryTarget.Component });
2048
- /** @nocollapse */ /** @nocollapse */ McOption.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: McOption, selector: "mc-option", inputs: { value: "value", showCheckbox: "showCheckbox", disabled: "disabled" }, outputs: { onSelectionChange: "onSelectionChange" }, host: { listeners: { "click": "selectViaInteraction()", "keydown": "handleKeydown($event)" }, properties: { "attr.tabindex": "getTabIndex()", "class.mc-selected": "selected", "class.mc-option-multiple": "multiple", "class.mc-active": "active", "class.mc-disabled": "disabled", "id": "id" }, classAttribute: "mc-option" }, exportAs: ["mcOption"], ngImport: i0, template: "<mc-pseudo-checkbox\n *ngIf=\"showCheckbox\"\n [state]=\"selected ? 'checked' : 'unchecked'\"\n [disabled]=\"disabled\">\n</mc-pseudo-checkbox>\n\n<span class=\"mc-option-text\"><ng-content></ng-content></span>\n\n<div class=\"mc-option-overlay\"></div>\n", styles: [".mc-option{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;position:relative;max-width:100%;height:32px;height:var(--mc-option-size-height, 32px);border:2px solid transparent;border:var(--mc-option-size-border-width, 2px) solid transparent;cursor:pointer;outline:none;padding-left:16px;padding-left:var(--mc-option-size-horizontal-padding, 16px);padding-right:16px;padding-right:var(--mc-option-size-horizontal-padding, 16px);-webkit-tap-highlight-color:transparent}.mc-option.mc-disabled{cursor:default}.mc-option .mc-pseudo-checkbox{margin-right:8px}.mc-option .mc-option-overlay{position:absolute;top:-2px;top:calc(-1 * var(--mc-option-size-border-width, 2px));left:-2px;left:calc(-1 * var(--mc-option-size-border-width, 2px));right:-2px;right:calc(-1 * var(--mc-option-size-border-width, 2px));bottom:-2px;bottom:calc(-1 * var(--mc-option-size-border-width, 2px));pointer-events:none;border-radius:inherit}.mc-option-text{display:inline-block;flex-grow:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}\n"], components: [{ type: McPseudoCheckbox, selector: "mc-pseudo-checkbox", inputs: ["state", "disabled"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2049
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McOption, decorators: [{
2096
+ /** @nocollapse */ /** @nocollapse */ McOption.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McOption, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: MC_OPTION_PARENT_COMPONENT, optional: true }, { token: McOptgroup, optional: true }], target: i0.ɵɵFactoryTarget.Component });
2097
+ /** @nocollapse */ /** @nocollapse */ McOption.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: McOption, selector: "mc-option", inputs: { value: "value", showCheckbox: "showCheckbox", disabled: "disabled" }, outputs: { onSelectionChange: "onSelectionChange" }, host: { listeners: { "click": "selectViaInteraction()", "keydown": "handleKeydown($event)" }, properties: { "attr.tabindex": "getTabIndex()", "class.mc-selected": "selected", "class.mc-option-multiple": "multiple", "class.mc-active": "active", "class.mc-disabled": "disabled", "id": "id" }, classAttribute: "mc-option" }, exportAs: ["mcOption"], ngImport: i0, template: "<mc-pseudo-checkbox\n *ngIf=\"showCheckbox\"\n [state]=\"selected ? 'checked' : 'unchecked'\"\n [disabled]=\"disabled\">\n</mc-pseudo-checkbox>\n\n<span class=\"mc-option-text\"><ng-content></ng-content></span>\n\n<div class=\"mc-option-overlay\"></div>\n", styles: [".mc-option{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;position:relative;max-width:100%;height:32px;height:var(--mc-option-size-height, 32px);border:2px solid transparent;border:var(--mc-option-size-border-width, 2px) solid transparent;cursor:pointer;outline:none;padding-left:16px;padding-left:var(--mc-option-size-horizontal-padding, 16px);padding-right:16px;padding-right:var(--mc-option-size-horizontal-padding, 16px);-webkit-tap-highlight-color:transparent}.mc-option.mc-disabled{cursor:default}.mc-option .mc-pseudo-checkbox{margin-right:8px}.mc-option .mc-option-overlay{position:absolute;top:-2px;top:calc(-1 * var(--mc-option-size-border-width, 2px));left:-2px;left:calc(-1 * var(--mc-option-size-border-width, 2px));right:-2px;right:calc(-1 * var(--mc-option-size-border-width, 2px));bottom:-2px;bottom:calc(-1 * var(--mc-option-size-border-width, 2px));pointer-events:none;border-radius:inherit}.mc-option-text{display:inline-block;flex-grow:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}\n"], components: [{ type: McPseudoCheckbox, selector: "mc-pseudo-checkbox", inputs: ["state", "disabled"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2098
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McOption, decorators: [{
2050
2099
  type: Component,
2051
2100
  args: [{ selector: 'mc-option', exportAs: 'mcOption', host: {
2052
2101
  '[attr.tabindex]': 'getTabIndex()',
@@ -2195,14 +2244,14 @@ class McOptionActionComponent extends McOptionActionMixinBase {
2195
2244
  setTimeout(() => this.option.tooltipTrigger.disabled = false);
2196
2245
  }
2197
2246
  }
2198
- /** @nocollapse */ /** @nocollapse */ McOptionActionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McOptionActionComponent, deps: [{ token: i0.ElementRef }, { token: i1$1.FocusMonitor }, { token: MC_OPTION_ACTION_PARENT }], target: i0.ɵɵFactoryTarget.Component });
2199
- /** @nocollapse */ /** @nocollapse */ McOptionActionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: McOptionActionComponent, selector: "mc-option-action", inputs: { disabled: "disabled" }, host: { listeners: { "focus": "onFocus($event)", "blur": "onBlur()", "click": "onClick($event)", "keydown": "onKeyDown($event)" }, properties: { "class.mc-expanded": "false", "attr.disabled": "disabled || null", "attr.tabIndex": "-1" }, classAttribute: "mc-option-action" }, queries: [{ propertyName: "customIcon", first: true, predicate: ["customIcon"], descendants: true }], exportAs: ["mcOptionAction"], usesInheritance: true, ngImport: i0, template: `
2247
+ /** @nocollapse */ /** @nocollapse */ McOptionActionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McOptionActionComponent, deps: [{ token: i0.ElementRef }, { token: i1$1.FocusMonitor }, { token: MC_OPTION_ACTION_PARENT }], target: i0.ɵɵFactoryTarget.Component });
2248
+ /** @nocollapse */ /** @nocollapse */ McOptionActionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: McOptionActionComponent, selector: "mc-option-action", inputs: { disabled: "disabled" }, host: { listeners: { "focus": "onFocus($event)", "blur": "onBlur()", "click": "onClick($event)", "keydown": "onKeyDown($event)" }, properties: { "class.mc-expanded": "false", "attr.disabled": "disabled || null", "attr.tabIndex": "-1" }, classAttribute: "mc-option-action" }, queries: [{ propertyName: "customIcon", first: true, predicate: ["customIcon"], descendants: true }], exportAs: ["mcOptionAction"], usesInheritance: true, ngImport: i0, template: `
2200
2249
  <ng-container [ngSwitch]="!!customIcon">
2201
2250
  <i class="mc mc-icon mc-ellipsis_16" *ngSwitchCase="false"></i>
2202
2251
  <ng-content select="[mc-icon]" *ngSwitchCase="true"></ng-content>
2203
2252
  </ng-container>
2204
2253
  `, isInline: true, styles: [".mc-option-action{box-sizing:unset;position:relative;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-right:-2px;width:28px;height:100%;cursor:pointer;outline:none;border:2px solid transparent;background:transparent}.mc-option-action[disabled]{cursor:default}\n"], directives: [{ type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
2205
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McOptionActionComponent, decorators: [{
2254
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McOptionActionComponent, decorators: [{
2206
2255
  type: Component,
2207
2256
  args: [{ selector: 'mc-option-action', exportAs: 'mcOptionAction', template: `
2208
2257
  <ng-container [ngSwitch]="!!customIcon">
@@ -2229,10 +2278,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
2229
2278
 
2230
2279
  class McOptionModule {
2231
2280
  }
2232
- /** @nocollapse */ /** @nocollapse */ McOptionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McOptionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2233
- /** @nocollapse */ /** @nocollapse */ McOptionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McOptionModule, declarations: [McOption, McOptgroup, McOptionActionComponent], imports: [CommonModule, McPseudoCheckboxModule], exports: [McOption, McOptgroup, McOptionActionComponent] });
2234
- /** @nocollapse */ /** @nocollapse */ McOptionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McOptionModule, imports: [[CommonModule, McPseudoCheckboxModule]] });
2235
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McOptionModule, decorators: [{
2281
+ /** @nocollapse */ /** @nocollapse */ McOptionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McOptionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2282
+ /** @nocollapse */ /** @nocollapse */ McOptionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McOptionModule, declarations: [McOption, McOptgroup, McOptionActionComponent], imports: [CommonModule, McPseudoCheckboxModule], exports: [McOption, McOptgroup, McOptionActionComponent] });
2283
+ /** @nocollapse */ /** @nocollapse */ McOptionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McOptionModule, imports: [[CommonModule, McPseudoCheckboxModule]] });
2284
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McOptionModule, decorators: [{
2236
2285
  type: NgModule,
2237
2286
  args: [{
2238
2287
  imports: [CommonModule, McPseudoCheckboxModule],
@@ -2260,9 +2309,9 @@ class McFormElement {
2260
2309
  }
2261
2310
  }
2262
2311
  }
2263
- /** @nocollapse */ /** @nocollapse */ McFormElement.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McFormElement, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
2264
- /** @nocollapse */ /** @nocollapse */ McFormElement.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: McFormElement, selector: ".mc-form__row, .mc-form__fieldset, .mc-form__legend", host: { properties: { "class.mc-form-row_margin": "margin" } }, queries: [{ propertyName: "elements", predicate: McFormElement }], exportAs: ["mcFormElement"], ngImport: i0 });
2265
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McFormElement, decorators: [{
2312
+ /** @nocollapse */ /** @nocollapse */ McFormElement.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McFormElement, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
2313
+ /** @nocollapse */ /** @nocollapse */ McFormElement.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.0", type: McFormElement, selector: ".mc-form__row, .mc-form__fieldset, .mc-form__legend", host: { properties: { "class.mc-form-row_margin": "margin" } }, queries: [{ propertyName: "elements", predicate: McFormElement }], exportAs: ["mcFormElement"], ngImport: i0 });
2314
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McFormElement, decorators: [{
2266
2315
  type: Directive,
2267
2316
  args: [{
2268
2317
  selector: '.mc-form__row, .mc-form__fieldset, .mc-form__legend',
@@ -2289,9 +2338,9 @@ class McForm {
2289
2338
  });
2290
2339
  }
2291
2340
  }
2292
- /** @nocollapse */ /** @nocollapse */ McForm.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McForm, deps: [], target: i0.ɵɵFactoryTarget.Directive });
2293
- /** @nocollapse */ /** @nocollapse */ McForm.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: McForm, selector: ".mc-form-vertical, .mc-form-horizontal", host: { classAttribute: "mc-form" }, queries: [{ propertyName: "elements", predicate: McFormElement }], exportAs: ["mcForm"], ngImport: i0 });
2294
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McForm, decorators: [{
2341
+ /** @nocollapse */ /** @nocollapse */ McForm.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McForm, deps: [], target: i0.ɵɵFactoryTarget.Directive });
2342
+ /** @nocollapse */ /** @nocollapse */ McForm.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.0", type: McForm, selector: ".mc-form-vertical, .mc-form-horizontal", host: { classAttribute: "mc-form" }, queries: [{ propertyName: "elements", predicate: McFormElement }], exportAs: ["mcForm"], ngImport: i0 });
2343
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McForm, decorators: [{
2295
2344
  type: Directive,
2296
2345
  args: [{
2297
2346
  selector: '.mc-form-vertical, .mc-form-horizontal',
@@ -2307,12 +2356,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
2307
2356
 
2308
2357
  class McFormsModule {
2309
2358
  }
2310
- /** @nocollapse */ /** @nocollapse */ McFormsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McFormsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2311
- /** @nocollapse */ /** @nocollapse */ McFormsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McFormsModule, declarations: [McForm,
2359
+ /** @nocollapse */ /** @nocollapse */ McFormsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McFormsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2360
+ /** @nocollapse */ /** @nocollapse */ McFormsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McFormsModule, declarations: [McForm,
2312
2361
  McFormElement], exports: [McForm,
2313
2362
  McFormElement] });
2314
- /** @nocollapse */ /** @nocollapse */ McFormsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McFormsModule });
2315
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McFormsModule, decorators: [{
2363
+ /** @nocollapse */ /** @nocollapse */ McFormsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McFormsModule });
2364
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McFormsModule, decorators: [{
2316
2365
  type: NgModule,
2317
2366
  args: [{
2318
2367
  exports: [
@@ -2441,13 +2490,12 @@ class McPopUp {
2441
2490
  }
2442
2491
  }
2443
2492
  }
2444
- /** @nocollapse */ /** @nocollapse */ McPopUp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McPopUp, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
2445
- /** @nocollapse */ /** @nocollapse */ McPopUp.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: McPopUp, ngImport: i0 });
2446
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McPopUp, decorators: [{
2493
+ /** @nocollapse */ /** @nocollapse */ McPopUp.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McPopUp, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
2494
+ /** @nocollapse */ /** @nocollapse */ McPopUp.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.0", type: McPopUp, ngImport: i0 });
2495
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McPopUp, decorators: [{
2447
2496
  type: Directive
2448
2497
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; } });
2449
2498
 
2450
- const VIEWPORT_MARGIN = 8;
2451
2499
  // tslint:disable-next-line:naming-convention
2452
2500
  class McPopUpTrigger {
2453
2501
  constructor(overlay, elementRef, ngZone, scrollDispatcher, hostView, scrollStrategy, direction) {
@@ -2595,7 +2643,6 @@ class McPopUpTrigger {
2595
2643
  .flexibleConnectedTo(this.elementRef)
2596
2644
  .withTransformOriginOn(this.originSelector)
2597
2645
  .withFlexibleDimensions(false)
2598
- .withViewportMargin(VIEWPORT_MARGIN)
2599
2646
  .withPositions([...EXTENDED_OVERLAY_POSITIONS])
2600
2647
  .withScrollableContainers(this.scrollDispatcher.getAncestorScrollContainers(this.elementRef));
2601
2648
  strategy.positionChanges
@@ -2674,9 +2721,9 @@ class McPopUpTrigger {
2674
2721
  this.listeners.clear();
2675
2722
  }
2676
2723
  }
2677
- /** @nocollapse */ /** @nocollapse */ McPopUpTrigger.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McPopUpTrigger, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
2678
- /** @nocollapse */ /** @nocollapse */ McPopUpTrigger.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: McPopUpTrigger, ngImport: i0 });
2679
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McPopUpTrigger, decorators: [{
2724
+ /** @nocollapse */ /** @nocollapse */ McPopUpTrigger.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McPopUpTrigger, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
2725
+ /** @nocollapse */ /** @nocollapse */ McPopUpTrigger.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.0", type: McPopUpTrigger, ngImport: i0 });
2726
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McPopUpTrigger, decorators: [{
2680
2727
  type: Directive
2681
2728
  }], ctorParameters: function () { return [{ type: i1$2.Overlay }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i1$2.ScrollDispatcher }, { type: i0.ViewContainerRef }, { type: undefined }, { type: i2$1.Directionality }]; } });
2682
2729
 
@@ -2684,5 +2731,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
2684
2731
  * Generated bundle index. Do not edit.
2685
2732
  */
2686
2733
 
2687
- export { AnimationCurves, BOTTOM_LEFT_POSITION_PRIORITY, BOTTOM_POSITION_PRIORITY, BOTTOM_RIGHT_POSITION_PRIORITY, DEFAULT_MC_LOCALE_ID, DateFormatter, EXTENDED_OVERLAY_POSITIONS, ErrorStateMatcher, LEFT_BOTTOM_POSITION_PRIORITY, LEFT_POSITION_PRIORITY, LEFT_TOP_POSITION_PRIORITY, MC_LABEL_GLOBAL_OPTIONS, MC_LOCALE_ID, MC_OPTION_ACTION_PARENT, MC_OPTION_PARENT_COMPONENT, MC_SANITY_CHECKS, MC_SELECT_SCROLL_STRATEGY, MC_SELECT_SCROLL_STRATEGY_PROVIDER, MC_VALIDATION, McCommonModule, McDecimalPipe, McForm, McFormElement, McFormattersModule, McFormsModule, McHighlightModule, McHighlightPipe, McLine, McLineModule, McLineSetter, McMeasureScrollbarService, McOptgroup, McOptgroupBase, McOptgroupMixinBase, McOption, McOptionActionBase, McOptionActionComponent, McOptionActionMixinBase, McOptionModule, McOptionSelectionChange, McPopUp, McPopUpTrigger, McPseudoCheckbox, McPseudoCheckboxModule, MultipleMode, NUMBER_FORMAT_REGEXP, POSITION_MAP, POSITION_PRIORITY_STRATEGY, POSITION_TO_CSS_MAP, PopUpPlacements, PopUpSizes, PopUpTriggers, PopUpVisibility, RIGHT_BOTTOM_POSITION_PRIORITY, RIGHT_POSITION_PRIORITY, RIGHT_TOP_POSITION_PRIORITY, SELECT_PANEL_INDENT_PADDING_X, SELECT_PANEL_MAX_HEIGHT, SELECT_PANEL_PADDING_X, SELECT_PANEL_VIEWPORT_PADDING, ShowOnDirtyErrorStateMatcher, TOP_LEFT_POSITION_PRIORITY, TOP_POSITION_PRIORITY, TOP_RIGHT_POSITION_PRIORITY, ThemePalette, countGroupLabelsBeforeOption, fadeAnimation, getMcSelectDynamicMultipleError, getMcSelectNonArrayValueError, getMcSelectNonFunctionValueError, getOptionScrollPosition, isBoolean, mcSelectAnimations, mcSelectScrollStrategyProviderFactory, mixinColor, mixinDisabled, mixinErrorState, mixinTabIndex, selectEvents, setMosaicValidation, setMosaicValidationForFormControl, setMosaicValidationForModelControl, toBoolean, validationTooltipHideDelay, validationTooltipShowDelay };
2734
+ export { AnimationCurves, BOTTOM_LEFT_POSITION_PRIORITY, BOTTOM_POSITION_PRIORITY, BOTTOM_RIGHT_POSITION_PRIORITY, DEFAULT_MC_LOCALE_ID, DateFormatter, EXTENDED_OVERLAY_POSITIONS, ErrorStateMatcher, LEFT_BOTTOM_POSITION_PRIORITY, LEFT_POSITION_PRIORITY, LEFT_TOP_POSITION_PRIORITY, MC_LABEL_GLOBAL_OPTIONS, MC_LOCALE_ID, MC_OPTION_ACTION_PARENT, MC_OPTION_PARENT_COMPONENT, MC_SANITY_CHECKS, MC_SELECT_SCROLL_STRATEGY, MC_SELECT_SCROLL_STRATEGY_PROVIDER, MC_VALIDATION, McCommonModule, McDecimalPipe, McForm, McFormElement, McFormattersModule, McFormsModule, McHighlightModule, McHighlightPipe, McLine, McLineModule, McLineSetter, McMeasureScrollbarService, McOptgroup, McOptgroupBase, McOptgroupMixinBase, McOption, McOptionActionBase, McOptionActionComponent, McOptionActionMixinBase, McOptionModule, McOptionSelectionChange, McPopUp, McPopUpTrigger, McPseudoCheckbox, McPseudoCheckboxModule, MultipleMode, NUMBER_FORMAT_REGEXP, POSITION_MAP, POSITION_PRIORITY_STRATEGY, POSITION_TO_CSS_MAP, PopUpPlacements, PopUpSizes, PopUpTriggers, PopUpVisibility, RIGHT_BOTTOM_POSITION_PRIORITY, RIGHT_POSITION_PRIORITY, RIGHT_TOP_POSITION_PRIORITY, SELECT_PANEL_INDENT_PADDING_X, SELECT_PANEL_MAX_HEIGHT, SELECT_PANEL_PADDING_X, SELECT_PANEL_VIEWPORT_PADDING, ShowOnDirtyErrorStateMatcher, TOP_LEFT_POSITION_PRIORITY, TOP_POSITION_PRIORITY, TOP_RIGHT_POSITION_PRIORITY, ThemePalette, VERSION, countGroupLabelsBeforeOption, fadeAnimation, getMcSelectDynamicMultipleError, getMcSelectNonArrayValueError, getMcSelectNonFunctionValueError, getOptionScrollPosition, isBoolean, mcSelectAnimations, mcSelectScrollStrategyProviderFactory, mixinColor, mixinDisabled, mixinErrorState, mixinTabIndex, selectEvents, setMosaicValidation, setMosaicValidationForFormControl, setMosaicValidationForModelControl, toBoolean, validationTooltipHideDelay, validationTooltipShowDelay };
2688
2735
  //# sourceMappingURL=ptsecurity-mosaic-core.mjs.map