@ptsecurity/mosaic 13.9.0 → 14.0.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 (522) hide show
  1. package/_theming.scss +90 -7366
  2. package/_visual.scss +6 -2761
  3. package/autocomplete/autocomplete-origin.directive.d.ts +1 -1
  4. package/autocomplete/autocomplete-trigger.directive.d.ts +1 -1
  5. package/autocomplete/autocomplete.component.d.ts +1 -1
  6. package/button/button.component.d.ts +4 -4
  7. package/button-toggle/button-toggle.component.d.ts +2 -2
  8. package/card/card.component.d.ts +3 -3
  9. package/checkbox/checkbox-required-validator.d.ts +1 -1
  10. package/checkbox/checkbox.d.ts +3 -3
  11. package/core/common-behaviors/color.d.ts +4 -1
  12. package/core/common-behaviors/error-state.d.ts +7 -4
  13. package/core/error/error-options.d.ts +3 -3
  14. package/core/formatters/date/formatter.d.ts +6 -2
  15. package/core/formatters/number/formatter.d.ts +1 -1
  16. package/core/forms/forms.directive.d.ts +2 -2
  17. package/core/highlight/highlight.pipe.d.ts +1 -1
  18. package/core/line/line.d.ts +1 -1
  19. package/core/option/action.d.ts +2 -2
  20. package/core/option/optgroup.d.ts +2 -2
  21. package/core/option/option.d.ts +1 -1
  22. package/core/pop-up/pop-up-trigger.d.ts +2 -3
  23. package/core/pop-up/pop-up.d.ts +2 -2
  24. package/core/selection/pseudo-checkbox/pseudo-checkbox.d.ts +3 -3
  25. package/datepicker/calendar-body.component.d.ts +1 -1
  26. package/datepicker/calendar.component.d.ts +30 -30
  27. package/datepicker/datepicker-input.directive.d.ts +2 -2
  28. package/datepicker/datepicker-toggle.component.d.ts +2 -2
  29. package/datepicker/datepicker.component.d.ts +2 -2
  30. package/datepicker/month-view.component.d.ts +1 -1
  31. package/datepicker/multi-year-view.component.d.ts +1 -1
  32. package/datepicker/year-view.component.d.ts +1 -1
  33. package/design-tokens/legacy-2017/tokens/components/checkbox.json5 +16 -15
  34. package/design-tokens/legacy-2017/tokens/components/form-field.json5 +2 -2
  35. package/design-tokens/legacy-2017/tokens/components/forms.json5 +0 -4
  36. package/design-tokens/legacy-2017/tokens/components/popover.json5 +1 -0
  37. package/design-tokens/legacy-2017/tokens/components/radio.json5 +1 -0
  38. package/design-tokens/legacy-2017/tokens/components/timezone.json5 +22 -0
  39. package/design-tokens/legacy-2017/tokens/properties/typography.json5 +42 -33
  40. package/design-tokens/legacy-2017/tokens.d.ts +55 -37
  41. package/design-tokens/pt-2022/tokens/components/checkbox.json5 +17 -16
  42. package/design-tokens/pt-2022/tokens/components/form-field.json5 +2 -2
  43. package/design-tokens/pt-2022/tokens/components/forms.json5 +0 -4
  44. package/design-tokens/pt-2022/tokens/components/link.json5 +2 -2
  45. package/design-tokens/pt-2022/tokens/components/popover.json5 +7 -6
  46. package/design-tokens/pt-2022/tokens/components/timezone.json5 +22 -0
  47. package/design-tokens/pt-2022/tokens/properties/typography.json5 +33 -24
  48. package/design-tokens/pt-2022/tokens.d.ts +47 -30
  49. package/design-tokens/style-dictionary/transforms/attribute/palette.js +1 -1
  50. package/design-tokens/style-dictionary/transforms/attribute/size.js +1 -1
  51. package/design-tokens/style-dictionary/transforms/attribute/typography.js +1 -1
  52. package/divider/divider.component.d.ts +1 -1
  53. package/dl/dl.component.d.ts +3 -3
  54. package/dropdown/dropdown-content.directive.d.ts +1 -1
  55. package/dropdown/dropdown-item.component.d.ts +1 -1
  56. package/dropdown/dropdown-trigger.directive.d.ts +1 -1
  57. package/dropdown/dropdown.component.d.ts +1 -1
  58. package/esm2020/autocomplete/autocomplete-origin.directive.mjs +4 -4
  59. package/esm2020/autocomplete/autocomplete-trigger.directive.mjs +7 -7
  60. package/esm2020/autocomplete/autocomplete.component.mjs +6 -7
  61. package/esm2020/autocomplete/autocomplete.module.mjs +5 -5
  62. package/esm2020/button/button.component.mjs +13 -13
  63. package/esm2020/button/button.module.mjs +7 -9
  64. package/esm2020/button-toggle/button-toggle.component.mjs +9 -9
  65. package/esm2020/button-toggle/button-toggle.module.mjs +5 -5
  66. package/esm2020/card/card.component.mjs +10 -10
  67. package/esm2020/card/card.module.mjs +7 -9
  68. package/esm2020/checkbox/checkbox-module.mjs +5 -5
  69. package/esm2020/checkbox/checkbox-required-validator.mjs +4 -4
  70. package/esm2020/checkbox/checkbox.mjs +8 -9
  71. package/esm2020/core/common-behaviors/color.mjs +6 -3
  72. package/esm2020/core/common-behaviors/common-module.mjs +5 -5
  73. package/esm2020/core/common-behaviors/disabled.mjs +1 -1
  74. package/esm2020/core/common-behaviors/error-state.mjs +1 -11
  75. package/esm2020/core/error/error-options.mjs +7 -7
  76. package/esm2020/core/formatters/date/formatter.mjs +10 -6
  77. package/esm2020/core/formatters/index.mjs +5 -5
  78. package/esm2020/core/formatters/number/formatter.mjs +5 -5
  79. package/esm2020/core/forms/forms-module.mjs +5 -5
  80. package/esm2020/core/forms/forms.directive.mjs +7 -7
  81. package/esm2020/core/highlight/highlight.pipe.mjs +4 -4
  82. package/esm2020/core/highlight/index.mjs +5 -5
  83. package/esm2020/core/line/line.mjs +8 -8
  84. package/esm2020/core/option/action.mjs +7 -7
  85. package/esm2020/core/option/optgroup.mjs +6 -6
  86. package/esm2020/core/option/option-module.mjs +6 -6
  87. package/esm2020/core/option/option.mjs +7 -7
  88. package/esm2020/core/pop-up/pop-up-trigger.mjs +4 -4
  89. package/esm2020/core/pop-up/pop-up.mjs +4 -4
  90. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +7 -8
  91. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.module.mjs +5 -5
  92. package/esm2020/core/services/measure-scrollbar.service.mjs +4 -4
  93. package/esm2020/datepicker/calendar-body.component.mjs +5 -5
  94. package/esm2020/datepicker/calendar.component.mjs +126 -129
  95. package/esm2020/datepicker/datepicker-input.directive.mjs +8 -9
  96. package/esm2020/datepicker/datepicker-intl.mjs +4 -4
  97. package/esm2020/datepicker/datepicker-module.mjs +11 -17
  98. package/esm2020/datepicker/datepicker-toggle.component.mjs +11 -11
  99. package/esm2020/datepicker/datepicker.component.mjs +10 -10
  100. package/esm2020/datepicker/month-view.component.mjs +6 -6
  101. package/esm2020/datepicker/multi-year-view.component.mjs +4 -4
  102. package/esm2020/datepicker/year-view.component.mjs +4 -4
  103. package/esm2020/design-tokens/legacy-2017/tokens.mjs +56 -38
  104. package/esm2020/design-tokens/pt-2022/tokens.mjs +48 -31
  105. package/esm2020/divider/divider.component.mjs +5 -5
  106. package/esm2020/divider/divider.module.mjs +5 -5
  107. package/esm2020/dl/dl.component.mjs +12 -12
  108. package/esm2020/dl/dl.module.mjs +7 -9
  109. package/esm2020/dropdown/dropdown-content.directive.mjs +4 -4
  110. package/esm2020/dropdown/dropdown-item.component.mjs +7 -7
  111. package/esm2020/dropdown/dropdown-trigger.directive.mjs +4 -4
  112. package/esm2020/dropdown/dropdown.component.mjs +6 -6
  113. package/esm2020/dropdown/dropdown.module.mjs +7 -9
  114. package/esm2020/form-field/cleaner.mjs +4 -4
  115. package/esm2020/form-field/form-field.mjs +24 -21
  116. package/esm2020/form-field/form-field.module.mjs +5 -5
  117. package/esm2020/form-field/hint.mjs +6 -7
  118. package/esm2020/form-field/password-hint.mjs +11 -12
  119. package/esm2020/form-field/prefix.mjs +4 -4
  120. package/esm2020/form-field/stepper.mjs +4 -4
  121. package/esm2020/form-field/suffix.mjs +4 -4
  122. package/esm2020/icon/icon.component.mjs +10 -11
  123. package/esm2020/icon/icon.module.mjs +7 -9
  124. package/esm2020/input/input-number-validators.mjs +7 -7
  125. package/esm2020/input/input-number.mjs +4 -4
  126. package/esm2020/input/input-password.mjs +11 -11
  127. package/esm2020/input/input.mjs +13 -7
  128. package/esm2020/input/input.module.mjs +8 -10
  129. package/esm2020/link/link.component.mjs +4 -4
  130. package/esm2020/link/link.module.mjs +6 -8
  131. package/esm2020/list/list-selection.component.mjs +230 -220
  132. package/esm2020/list/list.component.mjs +8 -8
  133. package/esm2020/list/list.module.mjs +9 -11
  134. package/esm2020/loader-overlay/loader-overlay.component.mjs +16 -16
  135. package/esm2020/loader-overlay/loader-overlay.module.mjs +8 -10
  136. package/esm2020/modal/css-unit.pipe.mjs +4 -4
  137. package/esm2020/modal/modal-control.service.mjs +4 -4
  138. package/esm2020/modal/modal.component.mjs +9 -9
  139. package/esm2020/modal/modal.directive.mjs +13 -13
  140. package/esm2020/modal/modal.module.mjs +11 -14
  141. package/esm2020/modal/modal.service.mjs +5 -6
  142. package/esm2020/navbar/navbar-item.component.mjs +36 -36
  143. package/esm2020/navbar/navbar.component.mjs +11 -11
  144. package/esm2020/navbar/navbar.module.mjs +9 -11
  145. package/esm2020/navbar/vertical-navbar.component.mjs +6 -6
  146. package/esm2020/popover/popover-confirm.component.mjs +11 -11
  147. package/esm2020/popover/popover.component.mjs +10 -10
  148. package/esm2020/popover/popover.module.mjs +6 -7
  149. package/esm2020/progress-bar/progress-bar.component.mjs +7 -8
  150. package/esm2020/progress-bar/progress-bar.module.mjs +6 -8
  151. package/esm2020/progress-spinner/progress-spinner.component.mjs +7 -8
  152. package/esm2020/progress-spinner/progress-spinner.module.mjs +6 -8
  153. package/esm2020/radio/radio.component.mjs +14 -16
  154. package/esm2020/radio/radio.module.mjs +5 -5
  155. package/esm2020/select/select-option.directive.mjs +4 -4
  156. package/esm2020/select/select.component.mjs +26 -20
  157. package/esm2020/select/select.module.mjs +10 -12
  158. package/esm2020/sidebar/sidebar.component.mjs +10 -10
  159. package/esm2020/sidebar/sidebar.module.mjs +5 -5
  160. package/esm2020/sidepanel/sidepanel-container.component.mjs +7 -7
  161. package/esm2020/sidepanel/sidepanel-directives.mjs +22 -20
  162. package/esm2020/sidepanel/sidepanel.module.mjs +11 -14
  163. package/esm2020/sidepanel/sidepanel.service.mjs +32 -29
  164. package/esm2020/splitter/splitter.component.mjs +37 -37
  165. package/esm2020/splitter/splitter.module.mjs +6 -8
  166. package/esm2020/table/table.component.mjs +4 -4
  167. package/esm2020/table/table.module.mjs +7 -9
  168. package/esm2020/tabs/paginated-tab-header.mjs +4 -4
  169. package/esm2020/tabs/tab-body.component.mjs +7 -7
  170. package/esm2020/tabs/tab-content.directive.mjs +4 -4
  171. package/esm2020/tabs/tab-group.component.mjs +30 -31
  172. package/esm2020/tabs/tab-header.component.mjs +5 -5
  173. package/esm2020/tabs/tab-label-wrapper.directive.mjs +4 -4
  174. package/esm2020/tabs/tab-label.directive.mjs +4 -4
  175. package/esm2020/tabs/tab-nav-bar/tab-nav-bar.mjs +8 -8
  176. package/esm2020/tabs/tab.component.mjs +4 -4
  177. package/esm2020/tabs/tabs.module.mjs +11 -13
  178. package/esm2020/tags/tag-input.mjs +4 -4
  179. package/esm2020/tags/tag-list.component.mjs +12 -6
  180. package/esm2020/tags/tag.component.mjs +24 -22
  181. package/esm2020/tags/tag.module.mjs +6 -6
  182. package/esm2020/textarea/textarea.component.mjs +10 -4
  183. package/esm2020/textarea/textarea.module.mjs +5 -5
  184. package/esm2020/timepicker/timepicker.directive.mjs +4 -4
  185. package/esm2020/timepicker/timepicker.module.mjs +8 -10
  186. package/esm2020/timezone/cities-by-filter.pipe.mjs +17 -0
  187. package/esm2020/timezone/index.mjs +2 -0
  188. package/esm2020/timezone/ptsecurity-mosaic-timezone.mjs +5 -0
  189. package/esm2020/timezone/public-api.mjs +7 -0
  190. package/esm2020/timezone/timezone-option.component.mjs +48 -0
  191. package/esm2020/timezone/timezone-option.directive.mjs +58 -0
  192. package/esm2020/timezone/timezone-select.component.mjs +40 -0
  193. package/esm2020/timezone/timezone.models.mjs +3 -0
  194. package/esm2020/timezone/timezone.module.mjs +75 -0
  195. package/esm2020/timezone/timezone.utils.mjs +64 -0
  196. package/esm2020/timezone/utc-offset.pipe.mjs +17 -0
  197. package/esm2020/toast/toast-container.component.mjs +5 -5
  198. package/esm2020/toast/toast.component.mjs +14 -11
  199. package/esm2020/toast/toast.module.mjs +12 -12
  200. package/esm2020/toast/toast.service.mjs +12 -12
  201. package/esm2020/toggle/toggle.component.mjs +13 -16
  202. package/esm2020/toggle/toggle.module.mjs +5 -5
  203. package/esm2020/tooltip/tooltip.component.mjs +14 -14
  204. package/esm2020/tooltip/tooltip.module.mjs +7 -8
  205. package/esm2020/tree/control/flat-tree-control.mjs +1 -1
  206. package/esm2020/tree/data-source/nested-data-source.mjs +1 -1
  207. package/esm2020/tree/node.mjs +4 -4
  208. package/esm2020/tree/outlet.mjs +4 -4
  209. package/esm2020/tree/padding.directive.mjs +4 -4
  210. package/esm2020/tree/toggle.mjs +11 -11
  211. package/esm2020/tree/tree-base.mjs +7 -7
  212. package/esm2020/tree/tree-option.component.mjs +12 -8
  213. package/esm2020/tree/tree-selection.component.mjs +11 -5
  214. package/esm2020/tree/tree.mjs +4 -4
  215. package/esm2020/tree/tree.module.mjs +5 -5
  216. package/esm2020/tree-select/tree-select.component.mjs +20 -14
  217. package/esm2020/tree-select/tree-select.module.mjs +11 -13
  218. package/fesm2015/ptsecurity-mosaic-autocomplete.mjs +18 -19
  219. package/fesm2015/ptsecurity-mosaic-autocomplete.mjs.map +1 -1
  220. package/fesm2015/ptsecurity-mosaic-button-toggle.mjs +12 -12
  221. package/fesm2015/ptsecurity-mosaic-button-toggle.mjs.map +1 -1
  222. package/fesm2015/ptsecurity-mosaic-button.mjs +18 -20
  223. package/fesm2015/ptsecurity-mosaic-button.mjs.map +1 -1
  224. package/fesm2015/ptsecurity-mosaic-card.mjs +15 -17
  225. package/fesm2015/ptsecurity-mosaic-card.mjs.map +1 -1
  226. package/fesm2015/ptsecurity-mosaic-checkbox.mjs +14 -15
  227. package/fesm2015/ptsecurity-mosaic-checkbox.mjs.map +1 -1
  228. package/fesm2015/ptsecurity-mosaic-core.mjs +93 -96
  229. package/fesm2015/ptsecurity-mosaic-core.mjs.map +1 -1
  230. package/fesm2015/ptsecurity-mosaic-datepicker.mjs +174 -184
  231. package/fesm2015/ptsecurity-mosaic-datepicker.mjs.map +1 -1
  232. package/fesm2015/ptsecurity-mosaic-design-tokens.mjs +123 -70
  233. package/fesm2015/ptsecurity-mosaic-design-tokens.mjs.map +1 -1
  234. package/fesm2015/ptsecurity-mosaic-divider.mjs +8 -8
  235. package/fesm2015/ptsecurity-mosaic-divider.mjs.map +1 -1
  236. package/fesm2015/ptsecurity-mosaic-dl.mjs +17 -19
  237. package/fesm2015/ptsecurity-mosaic-dl.mjs.map +1 -1
  238. package/fesm2015/ptsecurity-mosaic-dropdown.mjs +23 -25
  239. package/fesm2015/ptsecurity-mosaic-dropdown.mjs.map +1 -1
  240. package/fesm2015/ptsecurity-mosaic-form-field.mjs +54 -52
  241. package/fesm2015/ptsecurity-mosaic-form-field.mjs.map +1 -1
  242. package/fesm2015/ptsecurity-mosaic-icon.mjs +15 -18
  243. package/fesm2015/ptsecurity-mosaic-icon.mjs.map +1 -1
  244. package/fesm2015/ptsecurity-mosaic-input.mjs +38 -34
  245. package/fesm2015/ptsecurity-mosaic-input.mjs.map +1 -1
  246. package/fesm2015/ptsecurity-mosaic-link.mjs +8 -10
  247. package/fesm2015/ptsecurity-mosaic-link.mjs.map +1 -1
  248. package/fesm2015/ptsecurity-mosaic-list.mjs +253 -245
  249. package/fesm2015/ptsecurity-mosaic-list.mjs.map +1 -1
  250. package/fesm2015/ptsecurity-mosaic-loader-overlay.mjs +22 -24
  251. package/fesm2015/ptsecurity-mosaic-loader-overlay.mjs.map +1 -1
  252. package/fesm2015/ptsecurity-mosaic-modal.mjs +41 -45
  253. package/fesm2015/ptsecurity-mosaic-modal.mjs.map +1 -1
  254. package/fesm2015/ptsecurity-mosaic-navbar.mjs +58 -60
  255. package/fesm2015/ptsecurity-mosaic-navbar.mjs.map +1 -1
  256. package/fesm2015/ptsecurity-mosaic-popover.mjs +22 -23
  257. package/fesm2015/ptsecurity-mosaic-popover.mjs.map +1 -1
  258. package/fesm2015/ptsecurity-mosaic-progress-bar.mjs +11 -14
  259. package/fesm2015/ptsecurity-mosaic-progress-bar.mjs.map +1 -1
  260. package/fesm2015/ptsecurity-mosaic-progress-spinner.mjs +11 -14
  261. package/fesm2015/ptsecurity-mosaic-progress-spinner.mjs.map +1 -1
  262. package/fesm2015/ptsecurity-mosaic-radio.mjs +17 -19
  263. package/fesm2015/ptsecurity-mosaic-radio.mjs.map +1 -1
  264. package/fesm2015/ptsecurity-mosaic-select.mjs +36 -32
  265. package/fesm2015/ptsecurity-mosaic-select.mjs.map +1 -1
  266. package/fesm2015/ptsecurity-mosaic-sidebar.mjs +13 -13
  267. package/fesm2015/ptsecurity-mosaic-sidebar.mjs.map +1 -1
  268. package/fesm2015/ptsecurity-mosaic-sidepanel.mjs +68 -66
  269. package/fesm2015/ptsecurity-mosaic-sidepanel.mjs.map +1 -1
  270. package/fesm2015/ptsecurity-mosaic-splitter.mjs +41 -43
  271. package/fesm2015/ptsecurity-mosaic-splitter.mjs.map +1 -1
  272. package/fesm2015/ptsecurity-mosaic-table.mjs +9 -11
  273. package/fesm2015/ptsecurity-mosaic-table.mjs.map +1 -1
  274. package/fesm2015/ptsecurity-mosaic-tabs.mjs +139 -142
  275. package/fesm2015/ptsecurity-mosaic-tabs.mjs.map +1 -1
  276. package/fesm2015/ptsecurity-mosaic-tags.mjs +42 -34
  277. package/fesm2015/ptsecurity-mosaic-tags.mjs.map +1 -1
  278. package/fesm2015/ptsecurity-mosaic-textarea.mjs +13 -7
  279. package/fesm2015/ptsecurity-mosaic-textarea.mjs.map +1 -1
  280. package/fesm2015/ptsecurity-mosaic-timepicker.mjs +10 -12
  281. package/fesm2015/ptsecurity-mosaic-timepicker.mjs.map +1 -1
  282. package/fesm2015/ptsecurity-mosaic-timezone.mjs +299 -0
  283. package/fesm2015/ptsecurity-mosaic-timezone.mjs.map +1 -0
  284. package/fesm2015/ptsecurity-mosaic-toast.mjs +124 -118
  285. package/fesm2015/ptsecurity-mosaic-toast.mjs.map +1 -1
  286. package/fesm2015/ptsecurity-mosaic-toggle.mjs +16 -19
  287. package/fesm2015/ptsecurity-mosaic-toggle.mjs.map +1 -1
  288. package/fesm2015/ptsecurity-mosaic-tooltip.mjs +19 -20
  289. package/fesm2015/ptsecurity-mosaic-tooltip.mjs.map +1 -1
  290. package/fesm2015/ptsecurity-mosaic-tree-select.mjs +29 -25
  291. package/fesm2015/ptsecurity-mosaic-tree-select.mjs.map +1 -1
  292. package/fesm2015/ptsecurity-mosaic-tree.mjs +54 -44
  293. package/fesm2015/ptsecurity-mosaic-tree.mjs.map +1 -1
  294. package/fesm2020/ptsecurity-mosaic-autocomplete.mjs +18 -19
  295. package/fesm2020/ptsecurity-mosaic-autocomplete.mjs.map +1 -1
  296. package/fesm2020/ptsecurity-mosaic-button-toggle.mjs +12 -12
  297. package/fesm2020/ptsecurity-mosaic-button-toggle.mjs.map +1 -1
  298. package/fesm2020/ptsecurity-mosaic-button.mjs +18 -20
  299. package/fesm2020/ptsecurity-mosaic-button.mjs.map +1 -1
  300. package/fesm2020/ptsecurity-mosaic-card.mjs +15 -17
  301. package/fesm2020/ptsecurity-mosaic-card.mjs.map +1 -1
  302. package/fesm2020/ptsecurity-mosaic-checkbox.mjs +14 -15
  303. package/fesm2020/ptsecurity-mosaic-checkbox.mjs.map +1 -1
  304. package/fesm2020/ptsecurity-mosaic-core.mjs +93 -96
  305. package/fesm2020/ptsecurity-mosaic-core.mjs.map +1 -1
  306. package/fesm2020/ptsecurity-mosaic-datepicker.mjs +173 -183
  307. package/fesm2020/ptsecurity-mosaic-datepicker.mjs.map +1 -1
  308. package/fesm2020/ptsecurity-mosaic-design-tokens.mjs +123 -70
  309. package/fesm2020/ptsecurity-mosaic-design-tokens.mjs.map +1 -1
  310. package/fesm2020/ptsecurity-mosaic-divider.mjs +8 -8
  311. package/fesm2020/ptsecurity-mosaic-divider.mjs.map +1 -1
  312. package/fesm2020/ptsecurity-mosaic-dl.mjs +17 -19
  313. package/fesm2020/ptsecurity-mosaic-dl.mjs.map +1 -1
  314. package/fesm2020/ptsecurity-mosaic-dropdown.mjs +23 -25
  315. package/fesm2020/ptsecurity-mosaic-dropdown.mjs.map +1 -1
  316. package/fesm2020/ptsecurity-mosaic-form-field.mjs +54 -52
  317. package/fesm2020/ptsecurity-mosaic-form-field.mjs.map +1 -1
  318. package/fesm2020/ptsecurity-mosaic-icon.mjs +15 -18
  319. package/fesm2020/ptsecurity-mosaic-icon.mjs.map +1 -1
  320. package/fesm2020/ptsecurity-mosaic-input.mjs +38 -34
  321. package/fesm2020/ptsecurity-mosaic-input.mjs.map +1 -1
  322. package/fesm2020/ptsecurity-mosaic-link.mjs +8 -10
  323. package/fesm2020/ptsecurity-mosaic-link.mjs.map +1 -1
  324. package/fesm2020/ptsecurity-mosaic-list.mjs +248 -240
  325. package/fesm2020/ptsecurity-mosaic-list.mjs.map +1 -1
  326. package/fesm2020/ptsecurity-mosaic-loader-overlay.mjs +22 -24
  327. package/fesm2020/ptsecurity-mosaic-loader-overlay.mjs.map +1 -1
  328. package/fesm2020/ptsecurity-mosaic-modal.mjs +41 -45
  329. package/fesm2020/ptsecurity-mosaic-modal.mjs.map +1 -1
  330. package/fesm2020/ptsecurity-mosaic-navbar.mjs +58 -60
  331. package/fesm2020/ptsecurity-mosaic-navbar.mjs.map +1 -1
  332. package/fesm2020/ptsecurity-mosaic-popover.mjs +22 -23
  333. package/fesm2020/ptsecurity-mosaic-popover.mjs.map +1 -1
  334. package/fesm2020/ptsecurity-mosaic-progress-bar.mjs +11 -14
  335. package/fesm2020/ptsecurity-mosaic-progress-bar.mjs.map +1 -1
  336. package/fesm2020/ptsecurity-mosaic-progress-spinner.mjs +11 -14
  337. package/fesm2020/ptsecurity-mosaic-progress-spinner.mjs.map +1 -1
  338. package/fesm2020/ptsecurity-mosaic-radio.mjs +17 -19
  339. package/fesm2020/ptsecurity-mosaic-radio.mjs.map +1 -1
  340. package/fesm2020/ptsecurity-mosaic-select.mjs +36 -32
  341. package/fesm2020/ptsecurity-mosaic-select.mjs.map +1 -1
  342. package/fesm2020/ptsecurity-mosaic-sidebar.mjs +13 -13
  343. package/fesm2020/ptsecurity-mosaic-sidebar.mjs.map +1 -1
  344. package/fesm2020/ptsecurity-mosaic-sidepanel.mjs +68 -66
  345. package/fesm2020/ptsecurity-mosaic-sidepanel.mjs.map +1 -1
  346. package/fesm2020/ptsecurity-mosaic-splitter.mjs +41 -43
  347. package/fesm2020/ptsecurity-mosaic-splitter.mjs.map +1 -1
  348. package/fesm2020/ptsecurity-mosaic-table.mjs +9 -11
  349. package/fesm2020/ptsecurity-mosaic-table.mjs.map +1 -1
  350. package/fesm2020/ptsecurity-mosaic-tabs.mjs +68 -71
  351. package/fesm2020/ptsecurity-mosaic-tabs.mjs.map +1 -1
  352. package/fesm2020/ptsecurity-mosaic-tags.mjs +42 -34
  353. package/fesm2020/ptsecurity-mosaic-tags.mjs.map +1 -1
  354. package/fesm2020/ptsecurity-mosaic-textarea.mjs +13 -7
  355. package/fesm2020/ptsecurity-mosaic-textarea.mjs.map +1 -1
  356. package/fesm2020/ptsecurity-mosaic-timepicker.mjs +10 -12
  357. package/fesm2020/ptsecurity-mosaic-timepicker.mjs.map +1 -1
  358. package/fesm2020/ptsecurity-mosaic-timezone.mjs +298 -0
  359. package/fesm2020/ptsecurity-mosaic-timezone.mjs.map +1 -0
  360. package/fesm2020/ptsecurity-mosaic-toast.mjs +120 -116
  361. package/fesm2020/ptsecurity-mosaic-toast.mjs.map +1 -1
  362. package/fesm2020/ptsecurity-mosaic-toggle.mjs +16 -19
  363. package/fesm2020/ptsecurity-mosaic-toggle.mjs.map +1 -1
  364. package/fesm2020/ptsecurity-mosaic-tooltip.mjs +19 -20
  365. package/fesm2020/ptsecurity-mosaic-tooltip.mjs.map +1 -1
  366. package/fesm2020/ptsecurity-mosaic-tree-select.mjs +29 -25
  367. package/fesm2020/ptsecurity-mosaic-tree-select.mjs.map +1 -1
  368. package/fesm2020/ptsecurity-mosaic-tree.mjs +54 -44
  369. package/fesm2020/ptsecurity-mosaic-tree.mjs.map +1 -1
  370. package/form-field/cleaner.d.ts +1 -1
  371. package/form-field/form-field.d.ts +13 -7
  372. package/form-field/hint.d.ts +3 -3
  373. package/form-field/password-hint.d.ts +2 -3
  374. package/form-field/prefix.d.ts +1 -1
  375. package/form-field/stepper.d.ts +1 -1
  376. package/form-field/suffix.d.ts +1 -1
  377. package/icon/icon.component.d.ts +4 -4
  378. package/input/input-number-validators.d.ts +2 -2
  379. package/input/input-number.d.ts +1 -1
  380. package/input/input-password.d.ts +3 -3
  381. package/input/input.d.ts +8 -2
  382. package/link/link.component.d.ts +1 -1
  383. package/list/list-selection.component.d.ts +54 -53
  384. package/list/list.component.d.ts +2 -2
  385. package/loader-overlay/loader-overlay.component.d.ts +4 -4
  386. package/modal/css-unit.pipe.d.ts +1 -1
  387. package/modal/modal.component.d.ts +1 -1
  388. package/modal/modal.directive.d.ts +4 -4
  389. package/navbar/navbar-item.component.d.ts +11 -11
  390. package/navbar/navbar.component.d.ts +3 -3
  391. package/navbar/vertical-navbar.component.d.ts +1 -1
  392. package/package.json +56 -48
  393. package/popover/popover-confirm.component.d.ts +2 -2
  394. package/popover/popover.component.d.ts +4 -5
  395. package/prebuilt-themes/dark-theme.css +1 -1
  396. package/prebuilt-themes/default-theme.css +1 -1
  397. package/prebuilt-visual/default-visual.css +1 -1
  398. package/progress-bar/progress-bar.component.d.ts +3 -3
  399. package/progress-spinner/progress-spinner.component.d.ts +3 -3
  400. package/radio/radio.component.d.ts +6 -6
  401. package/select/select-option.directive.d.ts +1 -1
  402. package/select/select.component.d.ts +10 -4
  403. package/sidebar/sidebar.component.d.ts +3 -3
  404. package/sidepanel/sidepanel-container.component.d.ts +1 -1
  405. package/sidepanel/sidepanel-directives.d.ts +5 -5
  406. package/splitter/splitter.component.d.ts +4 -4
  407. package/table/table.component.d.ts +1 -1
  408. package/tabs/paginated-tab-header.d.ts +1 -1
  409. package/tabs/tab-body.component.d.ts +2 -2
  410. package/tabs/tab-content.directive.d.ts +1 -1
  411. package/tabs/tab-group.component.d.ts +8 -8
  412. package/tabs/tab-header.component.d.ts +1 -1
  413. package/tabs/tab-label-wrapper.directive.d.ts +1 -1
  414. package/tabs/tab-label.directive.d.ts +1 -1
  415. package/tabs/tab-nav-bar/tab-nav-bar.d.ts +2 -2
  416. package/tabs/tab.component.d.ts +1 -1
  417. package/tags/tag-input.d.ts +1 -1
  418. package/tags/tag-list.component.d.ts +8 -2
  419. package/tags/tag.component.d.ts +8 -6
  420. package/textarea/textarea.component.d.ts +7 -1
  421. package/timepicker/timepicker.directive.d.ts +1 -1
  422. package/timezone/README.md +0 -0
  423. package/timezone/cities-by-filter.pipe.d.ts +7 -0
  424. package/timezone/index.d.ts +1 -0
  425. package/timezone/public-api.d.ts +6 -0
  426. package/timezone/timezone-option.component.d.ts +15 -0
  427. package/timezone/timezone-option.directive.d.ts +20 -0
  428. package/timezone/timezone-select.component.d.ts +14 -0
  429. package/timezone/timezone.models.d.ts +16 -0
  430. package/timezone/timezone.module.d.ts +19 -0
  431. package/timezone/timezone.utils.d.ts +18 -0
  432. package/timezone/utc-offset.pipe.d.ts +7 -0
  433. package/toast/toast-container.component.d.ts +1 -1
  434. package/toast/toast.component.d.ts +1 -1
  435. package/toast/toast.service.d.ts +5 -4
  436. package/toggle/toggle.component.d.ts +5 -5
  437. package/tooltip/tooltip.component.d.ts +5 -6
  438. package/tree/control/flat-tree-control.d.ts +8 -8
  439. package/tree/node.d.ts +1 -1
  440. package/tree/outlet.d.ts +1 -1
  441. package/tree/padding.directive.d.ts +1 -1
  442. package/tree/toggle.d.ts +3 -3
  443. package/tree/tree-base.d.ts +2 -2
  444. package/tree/tree-option.component.d.ts +2 -1
  445. package/tree/tree-selection.component.d.ts +1 -1
  446. package/tree/tree.d.ts +1 -1
  447. package/tree-select/tree-select.component.d.ts +10 -4
  448. package/autocomplete/package.json +0 -10
  449. package/autocomplete/ptsecurity-mosaic-autocomplete.d.ts +0 -5
  450. package/button/package.json +0 -10
  451. package/button/ptsecurity-mosaic-button.d.ts +0 -5
  452. package/button-toggle/package.json +0 -10
  453. package/button-toggle/ptsecurity-mosaic-button-toggle.d.ts +0 -5
  454. package/card/package.json +0 -10
  455. package/card/ptsecurity-mosaic-card.d.ts +0 -5
  456. package/checkbox/package.json +0 -10
  457. package/checkbox/ptsecurity-mosaic-checkbox.d.ts +0 -5
  458. package/core/package.json +0 -10
  459. package/core/ptsecurity-mosaic-core.d.ts +0 -5
  460. package/datepicker/package.json +0 -10
  461. package/datepicker/ptsecurity-mosaic-datepicker.d.ts +0 -5
  462. package/design-tokens/package.json +0 -10
  463. package/design-tokens/ptsecurity-mosaic-design-tokens.d.ts +0 -5
  464. package/divider/package.json +0 -10
  465. package/divider/ptsecurity-mosaic-divider.d.ts +0 -5
  466. package/dl/package.json +0 -10
  467. package/dl/ptsecurity-mosaic-dl.d.ts +0 -5
  468. package/dropdown/package.json +0 -10
  469. package/dropdown/ptsecurity-mosaic-dropdown.d.ts +0 -5
  470. package/form-field/package.json +0 -10
  471. package/form-field/ptsecurity-mosaic-form-field.d.ts +0 -5
  472. package/icon/package.json +0 -10
  473. package/icon/ptsecurity-mosaic-icon.d.ts +0 -5
  474. package/input/package.json +0 -10
  475. package/input/ptsecurity-mosaic-input.d.ts +0 -5
  476. package/link/package.json +0 -10
  477. package/link/ptsecurity-mosaic-link.d.ts +0 -5
  478. package/list/package.json +0 -10
  479. package/list/ptsecurity-mosaic-list.d.ts +0 -5
  480. package/loader-overlay/package.json +0 -10
  481. package/loader-overlay/ptsecurity-mosaic-loader-overlay.d.ts +0 -5
  482. package/modal/package.json +0 -10
  483. package/modal/ptsecurity-mosaic-modal.d.ts +0 -5
  484. package/navbar/package.json +0 -10
  485. package/navbar/ptsecurity-mosaic-navbar.d.ts +0 -5
  486. package/popover/package.json +0 -10
  487. package/popover/ptsecurity-mosaic-popover.d.ts +0 -5
  488. package/progress-bar/package.json +0 -10
  489. package/progress-bar/ptsecurity-mosaic-progress-bar.d.ts +0 -5
  490. package/progress-spinner/package.json +0 -10
  491. package/progress-spinner/ptsecurity-mosaic-progress-spinner.d.ts +0 -5
  492. package/ptsecurity-mosaic.d.ts +0 -5
  493. package/radio/package.json +0 -10
  494. package/radio/ptsecurity-mosaic-radio.d.ts +0 -5
  495. package/select/package.json +0 -10
  496. package/select/ptsecurity-mosaic-select.d.ts +0 -5
  497. package/sidebar/package.json +0 -10
  498. package/sidebar/ptsecurity-mosaic-sidebar.d.ts +0 -5
  499. package/sidepanel/package.json +0 -10
  500. package/sidepanel/ptsecurity-mosaic-sidepanel.d.ts +0 -5
  501. package/splitter/package.json +0 -10
  502. package/splitter/ptsecurity-mosaic-splitter.d.ts +0 -5
  503. package/table/package.json +0 -10
  504. package/table/ptsecurity-mosaic-table.d.ts +0 -5
  505. package/tabs/package.json +0 -10
  506. package/tabs/ptsecurity-mosaic-tabs.d.ts +0 -5
  507. package/tags/package.json +0 -10
  508. package/tags/ptsecurity-mosaic-tags.d.ts +0 -5
  509. package/textarea/package.json +0 -10
  510. package/textarea/ptsecurity-mosaic-textarea.d.ts +0 -5
  511. package/timepicker/package.json +0 -10
  512. package/timepicker/ptsecurity-mosaic-timepicker.d.ts +0 -5
  513. package/toast/package.json +0 -10
  514. package/toast/ptsecurity-mosaic-toast.d.ts +0 -5
  515. package/toggle/package.json +0 -10
  516. package/toggle/ptsecurity-mosaic-toggle.d.ts +0 -5
  517. package/tooltip/package.json +0 -10
  518. package/tooltip/ptsecurity-mosaic-tooltip.d.ts +0 -5
  519. package/tree/package.json +0 -10
  520. package/tree/ptsecurity-mosaic-tree.d.ts +0 -5
  521. package/tree-select/package.json +0 -10
  522. package/tree-select/ptsecurity-mosaic-tree-select.d.ts +0 -5
@@ -1,229 +1,22 @@
1
1
  import { A11yModule } from '@angular/cdk/a11y';
2
- import * as i2 from '@angular/common';
2
+ import * as i3 from '@angular/common';
3
3
  import { CommonModule } from '@angular/common';
4
4
  import * as i0 from '@angular/core';
5
- import { forwardRef, Component, ViewEncapsulation, ChangeDetectionStrategy, Inject, Optional, ContentChild, ViewChild, Input, EventEmitter, Attribute, ContentChildren, Output, NgModule } from '@angular/core';
6
- import * as i1 from '@ptsecurity/mosaic/core';
7
- import { toBoolean, MC_OPTION_ACTION_PARENT, McOptionActionComponent, mixinTabIndex, mixinDisabled, MultipleMode, McLineSetter, McLine, McPseudoCheckboxModule, McLineModule, McOptionModule } from '@ptsecurity/mosaic/core';
8
- import * as i3 from '@angular/cdk/clipboard';
5
+ import { forwardRef, EventEmitter, Component, ChangeDetectionStrategy, ViewEncapsulation, Attribute, Optional, ContentChildren, Output, Input, Inject, ContentChild, ViewChild, NgModule } from '@angular/core';
6
+ import * as i2 from '@ptsecurity/mosaic/core';
7
+ import { mixinTabIndex, mixinDisabled, MultipleMode, toBoolean, MC_OPTION_ACTION_PARENT, McOptionActionComponent, McLineSetter, McLine, McPseudoCheckboxModule, McLineModule, McOptionModule } from '@ptsecurity/mosaic/core';
8
+ import * as i1 from '@angular/cdk/clipboard';
9
9
  import { coerceBooleanProperty } from '@angular/cdk/coercion';
10
10
  import { SelectionModel } from '@angular/cdk/collections';
11
11
  import { NG_VALUE_ACCESSOR } from '@angular/forms';
12
12
  import { FocusKeyManager } from '@ptsecurity/cdk/a11y';
13
- import { hasModifierKey, TAB, SPACE, ENTER, LEFT_ARROW, RIGHT_ARROW, isVerticalMovement, isSelectAll, isCopy, DOWN_ARROW, UP_ARROW, HOME, END, PAGE_UP, PAGE_DOWN } from '@ptsecurity/cdk/keycodes';
13
+ import { SPACE, ENTER, LEFT_ARROW, RIGHT_ARROW, isVerticalMovement, isSelectAll, isCopy, TAB, DOWN_ARROW, UP_ARROW, HOME, END, PAGE_UP, PAGE_DOWN, hasModifierKey } from '@ptsecurity/cdk/keycodes';
14
14
  import { McDropdownTrigger } from '@ptsecurity/mosaic/dropdown';
15
15
  import { McTooltipTrigger } from '@ptsecurity/mosaic/tooltip';
16
16
  import { Subject, merge } from 'rxjs';
17
- import { take, takeUntil, startWith } from 'rxjs/operators';
17
+ import { takeUntil, startWith, take } from 'rxjs/operators';
18
18
 
19
19
  /* tslint:disable:no-empty */
20
- /**
21
- * Component for list-options of selection-list. Each list-option can automatically
22
- * generate a checkbox and can put current item into the selectionModel of selection-list
23
- * if the current item is selected.
24
- */
25
- class McListOption {
26
- constructor(elementRef, changeDetector, ngZone, listSelection, group) {
27
- this.elementRef = elementRef;
28
- this.changeDetector = changeDetector;
29
- this.ngZone = ngZone;
30
- this.listSelection = listSelection;
31
- this.group = group;
32
- this.hasFocus = false;
33
- this.onFocus = new Subject();
34
- this.onBlur = new Subject();
35
- /**
36
- * This is set to true after the first OnChanges cycle so we don't clear the value of `selected`
37
- * in the first cycle.
38
- */
39
- this.inputsInitialized = false;
40
- this._disabled = false;
41
- this._selected = false;
42
- }
43
- get value() { return this._value; }
44
- set value(newValue) {
45
- if (this.selected && newValue !== this.value && this.inputsInitialized) {
46
- this.selected = false;
47
- }
48
- this._value = newValue;
49
- }
50
- get disabled() {
51
- const listSelectionDisabled = this.listSelection && this.listSelection.disabled;
52
- const groupDisabled = this.group && this.group.disabled;
53
- return listSelectionDisabled || groupDisabled || this._disabled;
54
- }
55
- set disabled(value) {
56
- const newValue = toBoolean(value);
57
- if (newValue !== this._disabled) {
58
- this._disabled = newValue;
59
- this.changeDetector.markForCheck();
60
- }
61
- }
62
- get showCheckbox() {
63
- return this._showCheckbox !== undefined ? this._showCheckbox : this.listSelection.showCheckbox;
64
- }
65
- set showCheckbox(value) {
66
- this._showCheckbox = coerceBooleanProperty(value);
67
- }
68
- get selected() {
69
- return this.listSelection.selectionModel?.isSelected(this) || false;
70
- }
71
- set selected(value) {
72
- const isSelected = toBoolean(value);
73
- if (isSelected !== this._selected) {
74
- this.setSelected(isSelected);
75
- }
76
- }
77
- get tabIndex() {
78
- return this.disabled ? null : -1;
79
- }
80
- ngOnInit() {
81
- const list = this.listSelection;
82
- if (list._value && list._value.some((value) => list.compareWith(value, this._value))) {
83
- this.setSelected(true);
84
- }
85
- const wasSelected = this._selected;
86
- // List options that are selected at initialization can't be reported properly to the form
87
- // control. This is because it takes some time until the selection-list knows about all
88
- // available options. Also it can happen that the ControlValueAccessor has an initial value
89
- // that should be used instead. Deferring the value change report to the next tick ensures
90
- // that the form control value is not being overwritten.
91
- Promise.resolve().then(() => {
92
- if (this._selected || wasSelected) {
93
- this.selected = true;
94
- this.changeDetector.markForCheck();
95
- }
96
- });
97
- this.inputsInitialized = true;
98
- }
99
- ngOnDestroy() {
100
- if (this.selected) {
101
- // We have to delay this until the next tick in order
102
- // to avoid changed after checked errors.
103
- Promise.resolve().then(() => this.selected = false);
104
- }
105
- this.listSelection.removeOptionFromList(this);
106
- }
107
- toggle() {
108
- this.selected = !this.selected;
109
- }
110
- getLabel() {
111
- return this.text ? this.text.nativeElement.textContent : '';
112
- }
113
- setSelected(selected) {
114
- if (this._selected === selected || !this.listSelection.selectionModel) {
115
- return;
116
- }
117
- this._selected = selected;
118
- if (selected) {
119
- this.listSelection.selectionModel.select(this);
120
- }
121
- else {
122
- this.listSelection.selectionModel.deselect(this);
123
- }
124
- this.changeDetector.markForCheck();
125
- }
126
- getHeight() {
127
- const clientRects = this.elementRef.nativeElement.getClientRects();
128
- return clientRects.length ? clientRects[0].height : 0;
129
- }
130
- handleClick($event) {
131
- if (this.disabled) {
132
- return;
133
- }
134
- this.listSelection.setSelectedOptionsByClick(this, hasModifierKey($event, 'shiftKey'), hasModifierKey($event, 'ctrlKey'));
135
- }
136
- onKeydown($event) {
137
- if (!this.actionButton) {
138
- return;
139
- }
140
- if ($event.keyCode === TAB && !$event.shiftKey && !this.actionButton.hasFocus) {
141
- this.actionButton.focus();
142
- $event.preventDefault();
143
- }
144
- }
145
- focus() {
146
- if (this.disabled || this.hasFocus || this.actionButton?.hasFocus) {
147
- return;
148
- }
149
- this.elementRef.nativeElement.focus();
150
- this.onFocus.next({ option: this });
151
- Promise.resolve().then(() => {
152
- this.hasFocus = true;
153
- this.changeDetector.markForCheck();
154
- });
155
- }
156
- blur() {
157
- // When animations are enabled, Angular may end up removing the option from the DOM a little
158
- // earlier than usual, causing it to be blurred and throwing off the logic in the list
159
- // that moves focus not the next item. To work around the issue, we defer marking the option
160
- // as not focused until the next time the zone stabilizes.
161
- this.ngZone.onStable
162
- .asObservable()
163
- .pipe(take(1))
164
- .subscribe(() => {
165
- this.ngZone.run(() => {
166
- this.hasFocus = false;
167
- if (this.actionButton?.hasFocus) {
168
- return;
169
- }
170
- this.onBlur.next({ option: this });
171
- });
172
- });
173
- }
174
- getHostElement() {
175
- return this.elementRef.nativeElement;
176
- }
177
- }
178
- /** @nocollapse */ /** @nocollapse */ McListOption.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: McListOption, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: forwardRef(() => McListSelection) }, { token: i1.McOptgroup, optional: true }], target: i0.ɵɵFactoryTarget.Component });
179
- /** @nocollapse */ /** @nocollapse */ McListOption.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: McListOption, selector: "mc-list-option", inputs: { checkboxPosition: "checkboxPosition", value: "value", disabled: "disabled", showCheckbox: "showCheckbox", selected: "selected" }, host: { listeners: { "focusin": "focus()", "blur": "blur()", "click": "handleClick($event)", "keydown": "onKeydown($event)" }, properties: { "class.mc-selected": "selected", "class.mc-disabled": "disabled", "class.mc-focused": "hasFocus", "class.mc-action-button-focused": "actionButton?.active", "attr.tabindex": "tabIndex", "attr.disabled": "disabled || null" }, classAttribute: "mc-list-option" }, providers: [
180
- { provide: MC_OPTION_ACTION_PARENT, useExisting: McListOption }
181
- ], queries: [{ propertyName: "actionButton", first: true, predicate: McOptionActionComponent, descendants: true }, { propertyName: "tooltipTrigger", first: true, predicate: McTooltipTrigger, descendants: true }, { propertyName: "dropdownTrigger", first: true, predicate: McDropdownTrigger, descendants: true }], viewQueries: [{ propertyName: "text", first: true, predicate: ["text"], descendants: true }], exportAs: ["mcListOption"], ngImport: i0, template: "<mc-pseudo-checkbox\n *ngIf=\"showCheckbox\"\n [state]=\"selected ? 'checked' : 'unchecked'\"\n [disabled]=\"disabled\">\n</mc-pseudo-checkbox>\n\n<ng-content select=\"[mc-icon]\"></ng-content>\n\n<div class=\"mc-list-text\" #text>\n <ng-content></ng-content>\n</div>\n\n<ng-content select=\"mc-option-action\"></ng-content>\n", components: [{ type: i1.McPseudoCheckbox, selector: "mc-pseudo-checkbox", inputs: ["color", "state", "disabled"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
182
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: McListOption, decorators: [{
183
- type: Component,
184
- args: [{ exportAs: 'mcListOption', selector: 'mc-list-option', host: {
185
- class: 'mc-list-option',
186
- '[class.mc-selected]': 'selected',
187
- '[class.mc-disabled]': 'disabled',
188
- '[class.mc-focused]': 'hasFocus',
189
- '[class.mc-action-button-focused]': 'actionButton?.active',
190
- '[attr.tabindex]': 'tabIndex',
191
- '[attr.disabled]': 'disabled || null',
192
- '(focusin)': 'focus()',
193
- '(blur)': 'blur()',
194
- '(click)': 'handleClick($event)',
195
- '(keydown)': 'onKeydown($event)'
196
- }, encapsulation: ViewEncapsulation.None, preserveWhitespaces: false, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
197
- { provide: MC_OPTION_ACTION_PARENT, useExisting: McListOption }
198
- ], template: "<mc-pseudo-checkbox\n *ngIf=\"showCheckbox\"\n [state]=\"selected ? 'checked' : 'unchecked'\"\n [disabled]=\"disabled\">\n</mc-pseudo-checkbox>\n\n<ng-content select=\"[mc-icon]\"></ng-content>\n\n<div class=\"mc-list-text\" #text>\n <ng-content></ng-content>\n</div>\n\n<ng-content select=\"mc-option-action\"></ng-content>\n" }]
199
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: McListSelection, decorators: [{
200
- type: Inject,
201
- args: [forwardRef(() => McListSelection)]
202
- }] }, { type: i1.McOptgroup, decorators: [{
203
- type: Optional
204
- }] }]; }, propDecorators: { actionButton: [{
205
- type: ContentChild,
206
- args: [McOptionActionComponent]
207
- }], tooltipTrigger: [{
208
- type: ContentChild,
209
- args: [McTooltipTrigger]
210
- }], dropdownTrigger: [{
211
- type: ContentChild,
212
- args: [McDropdownTrigger]
213
- }], text: [{
214
- type: ViewChild,
215
- args: ['text', { static: false }]
216
- }], checkboxPosition: [{
217
- type: Input
218
- }], value: [{
219
- type: Input
220
- }], disabled: [{
221
- type: Input
222
- }], showCheckbox: [{
223
- type: Input
224
- }], selected: [{
225
- type: Input
226
- }] } });
227
20
  const MC_SELECTION_LIST_VALUE_ACCESSOR = {
228
21
  provide: NG_VALUE_ACCESSOR,
229
22
  useExisting: forwardRef(() => McListSelection),
@@ -634,22 +427,28 @@ class McListSelection extends McListSelectionMixinBase {
634
427
  this.onSelectAll.emit(new McListSelectAllEvent(this, optionsToSelect));
635
428
  }
636
429
  copyActiveOption() {
430
+ if (!this.keyManager.activeItem) {
431
+ return;
432
+ }
433
+ const option = this.keyManager.activeItem;
434
+ option.preventBlur = true;
637
435
  if (this.onCopy.observers.length) {
638
- this.onCopy.emit(new McListCopyEvent(this, this.keyManager.activeItem));
436
+ this.onCopy.emit(new McListCopyEvent(this, option));
639
437
  }
640
438
  else {
641
439
  this.onCopyDefaultHandler();
642
440
  }
441
+ option.preventBlur = false;
643
442
  }
644
443
  }
645
- /** @nocollapse */ /** @nocollapse */ McListSelection.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: McListSelection, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: 'multiple', attribute: true }, { token: i3.Clipboard, optional: true }], target: i0.ɵɵFactoryTarget.Component });
646
- /** @nocollapse */ /** @nocollapse */ McListSelection.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: McListSelection, selector: "mc-list-selection", inputs: { disabled: "disabled", autoSelect: "autoSelect", noUnselectLast: "noUnselectLast", horizontal: "horizontal", tabIndex: "tabIndex", compareWith: "compareWith" }, outputs: { onSelectAll: "onSelectAll", onCopy: "onCopy", selectionChange: "selectionChange" }, host: { listeners: { "keydown": "onKeyDown($event)", "window:resize": "updateScrollSize()" }, properties: { "attr.tabindex": "-1", "attr.disabled": "disabled || null" }, classAttribute: "mc-list-selection" }, providers: [MC_SELECTION_LIST_VALUE_ACCESSOR], queries: [{ propertyName: "options", predicate: McListOption, descendants: true }], exportAs: ["mcListSelection"], usesInheritance: true, ngImport: i0, template: `
444
+ /** @nocollapse */ McListSelection.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: McListSelection, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: 'multiple', attribute: true }, { token: i1.Clipboard, optional: true }], target: i0.ɵɵFactoryTarget.Component });
445
+ /** @nocollapse */ McListSelection.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.2", type: McListSelection, selector: "mc-list-selection", inputs: { disabled: "disabled", autoSelect: "autoSelect", noUnselectLast: "noUnselectLast", horizontal: "horizontal", tabIndex: "tabIndex", compareWith: "compareWith" }, outputs: { onSelectAll: "onSelectAll", onCopy: "onCopy", selectionChange: "selectionChange" }, host: { listeners: { "keydown": "onKeyDown($event)", "window:resize": "updateScrollSize()" }, properties: { "attr.tabindex": "-1", "attr.disabled": "disabled || null" }, classAttribute: "mc-list-selection" }, providers: [MC_SELECTION_LIST_VALUE_ACCESSOR], queries: [{ propertyName: "options", predicate: i0.forwardRef(function () { return McListOption; }), descendants: true }], exportAs: ["mcListSelection"], usesInheritance: true, ngImport: i0, template: `
647
446
  <div [attr.tabindex]="tabIndex"
648
447
  (focus)="focus()"
649
448
  (blur)="blur()">
650
449
  <ng-content></ng-content>
651
- </div>`, isInline: true, styles: [".mc-divider{display:block;margin:0}.mc-divider.mc-divider_horizontal{border-top-width:var(--mc-divider-size-width, 1px);border-top-style:solid}.mc-divider.mc-divider_vertical{height:100%;border-right-width:var(--mc-divider-size-width, 1px);border-right-style:solid}.mc-divider.mc-divider_inset{margin-left:var(--mc-divider-size-inset-margin, 80px)}[dir=rtl] .mc-divider.mc-divider_inset{margin-left:auto;margin-right:var(--mc-divider-size-inset-margin, 80px)}.mc-no-select{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.mc-list,.mc-list-selection{display:block;outline:none}.mc-list-item,.mc-list-option{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;position:relative;display:flex;align-items:center;box-sizing:border-box;height:var(--mc-list-size-item-height, 32px);border:2px solid transparent;padding-left:var(--mc-list-size-horizontal-padding, 12px)}.mc-list-item .mc-list-text,.mc-list-option .mc-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding-right:var(--mc-list-size-horizontal-padding, 12px)}.mc-list-item .mc-list-text>*,.mc-list-option .mc-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mc-list-item .mc-list-text:empty,.mc-list-option .mc-list-text:empty{display:none}.mc-list-item .mc-divider,.mc-list-option .mc-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mc-list-item .mc-divider,[dir=rtl] .mc-list-option .mc-divider{margin-left:auto;margin-right:0}.mc-list-item .mc-divider.mc-divider_inset,.mc-list-option .mc-divider.mc-divider_inset{position:absolute}.mc-list-item.mc-progress:after,.mc-list-option.mc-progress:after{top:-2px;right:-2px;bottom:-2px;left:-2px}.mc-list-item .mc-pseudo-checkbox,.mc-list-item .mc-icon,.mc-list-option .mc-pseudo-checkbox,.mc-list-option .mc-icon{margin-right:var(--mc-list-size-icon-right-margin, 8px)}.mc-list-item .mc-option-action,.mc-list-option .mc-option-action{display:none}.mc-list-item:not([disabled]):hover .mc-option-action,.mc-list-item:not([disabled]).mc-focused .mc-option-action,.mc-list-item:not([disabled]).mc-action-button-focused .mc-option-action,.mc-list-option:not([disabled]):hover .mc-option-action,.mc-list-option:not([disabled]).mc-focused .mc-option-action,.mc-list-option:not([disabled]).mc-action-button-focused .mc-option-action{display:flex}.mc-list-option:not([disabled]):not(.mc-disabled){cursor:pointer}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
652
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: McListSelection, decorators: [{
450
+ </div>`, isInline: true, styles: [".mc-no-select{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.mc-list,.mc-list-selection{display:block;outline:none}.mc-list-item,.mc-list-option{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;position:relative;display:flex;align-items:center;box-sizing:border-box;height:32px;height:var(--mc-list-size-item-height, 32px);border:2px solid transparent;padding-left:12px;padding-left:var(--mc-list-size-horizontal-padding, 12px)}.mc-list-item .mc-list-text,.mc-list-option .mc-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding-right:12px;padding-right:var(--mc-list-size-horizontal-padding, 12px)}.mc-list-item .mc-list-text>*,.mc-list-option .mc-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mc-list-item .mc-list-text:empty,.mc-list-option .mc-list-text:empty{display:none}.mc-list-item .mc-divider,.mc-list-option .mc-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mc-list-item .mc-divider,[dir=rtl] .mc-list-option .mc-divider{margin-left:auto;margin-right:0}.mc-list-item .mc-divider.mc-divider_inset,.mc-list-option .mc-divider.mc-divider_inset{position:absolute}.mc-list-item.mc-progress:after,.mc-list-option.mc-progress:after{top:-2px;right:-2px;bottom:-2px;left:-2px}.mc-list-item .mc-pseudo-checkbox,.mc-list-item .mc-icon,.mc-list-option .mc-pseudo-checkbox,.mc-list-option .mc-icon{margin-right:8px;margin-right:var(--mc-list-size-icon-right-margin, 8px)}.mc-list-item .mc-option-action,.mc-list-option .mc-option-action{display:none}.mc-list-item:not([disabled]):hover .mc-option-action,.mc-list-item:not([disabled]).mc-focused .mc-option-action,.mc-list-item:not([disabled]).mc-action-button-focused .mc-option-action,.mc-list-option:not([disabled]):hover .mc-option-action,.mc-list-option:not([disabled]).mc-focused .mc-option-action,.mc-list-option:not([disabled]).mc-action-button-focused .mc-option-action{display:flex}.mc-list-option:not([disabled]):not(.mc-disabled){cursor:pointer}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
451
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: McListSelection, decorators: [{
653
452
  type: Component,
654
453
  args: [{ exportAs: 'mcListSelection', selector: 'mc-list-selection', template: `
655
454
  <div [attr.tabindex]="tabIndex"
@@ -662,15 +461,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
662
461
  '[attr.disabled]': 'disabled || null',
663
462
  '(keydown)': 'onKeyDown($event)',
664
463
  '(window:resize)': 'updateScrollSize()'
665
- }, providers: [MC_SELECTION_LIST_VALUE_ACCESSOR], preserveWhitespaces: false, styles: [".mc-divider{display:block;margin:0}.mc-divider.mc-divider_horizontal{border-top-width:var(--mc-divider-size-width, 1px);border-top-style:solid}.mc-divider.mc-divider_vertical{height:100%;border-right-width:var(--mc-divider-size-width, 1px);border-right-style:solid}.mc-divider.mc-divider_inset{margin-left:var(--mc-divider-size-inset-margin, 80px)}[dir=rtl] .mc-divider.mc-divider_inset{margin-left:auto;margin-right:var(--mc-divider-size-inset-margin, 80px)}.mc-no-select{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.mc-list,.mc-list-selection{display:block;outline:none}.mc-list-item,.mc-list-option{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;position:relative;display:flex;align-items:center;box-sizing:border-box;height:var(--mc-list-size-item-height, 32px);border:2px solid transparent;padding-left:var(--mc-list-size-horizontal-padding, 12px)}.mc-list-item .mc-list-text,.mc-list-option .mc-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding-right:var(--mc-list-size-horizontal-padding, 12px)}.mc-list-item .mc-list-text>*,.mc-list-option .mc-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mc-list-item .mc-list-text:empty,.mc-list-option .mc-list-text:empty{display:none}.mc-list-item .mc-divider,.mc-list-option .mc-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mc-list-item .mc-divider,[dir=rtl] .mc-list-option .mc-divider{margin-left:auto;margin-right:0}.mc-list-item .mc-divider.mc-divider_inset,.mc-list-option .mc-divider.mc-divider_inset{position:absolute}.mc-list-item.mc-progress:after,.mc-list-option.mc-progress:after{top:-2px;right:-2px;bottom:-2px;left:-2px}.mc-list-item .mc-pseudo-checkbox,.mc-list-item .mc-icon,.mc-list-option .mc-pseudo-checkbox,.mc-list-option .mc-icon{margin-right:var(--mc-list-size-icon-right-margin, 8px)}.mc-list-item .mc-option-action,.mc-list-option .mc-option-action{display:none}.mc-list-item:not([disabled]):hover .mc-option-action,.mc-list-item:not([disabled]).mc-focused .mc-option-action,.mc-list-item:not([disabled]).mc-action-button-focused .mc-option-action,.mc-list-option:not([disabled]):hover .mc-option-action,.mc-list-option:not([disabled]).mc-focused .mc-option-action,.mc-list-option:not([disabled]).mc-action-button-focused .mc-option-action{display:flex}.mc-list-option:not([disabled]):not(.mc-disabled){cursor:pointer}\n"] }]
666
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.MultipleMode, decorators: [{
464
+ }, providers: [MC_SELECTION_LIST_VALUE_ACCESSOR], preserveWhitespaces: false, styles: [".mc-no-select{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.mc-list,.mc-list-selection{display:block;outline:none}.mc-list-item,.mc-list-option{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;position:relative;display:flex;align-items:center;box-sizing:border-box;height:32px;height:var(--mc-list-size-item-height, 32px);border:2px solid transparent;padding-left:12px;padding-left:var(--mc-list-size-horizontal-padding, 12px)}.mc-list-item .mc-list-text,.mc-list-option .mc-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding-right:12px;padding-right:var(--mc-list-size-horizontal-padding, 12px)}.mc-list-item .mc-list-text>*,.mc-list-option .mc-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mc-list-item .mc-list-text:empty,.mc-list-option .mc-list-text:empty{display:none}.mc-list-item .mc-divider,.mc-list-option .mc-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mc-list-item .mc-divider,[dir=rtl] .mc-list-option .mc-divider{margin-left:auto;margin-right:0}.mc-list-item .mc-divider.mc-divider_inset,.mc-list-option .mc-divider.mc-divider_inset{position:absolute}.mc-list-item.mc-progress:after,.mc-list-option.mc-progress:after{top:-2px;right:-2px;bottom:-2px;left:-2px}.mc-list-item .mc-pseudo-checkbox,.mc-list-item .mc-icon,.mc-list-option .mc-pseudo-checkbox,.mc-list-option .mc-icon{margin-right:8px;margin-right:var(--mc-list-size-icon-right-margin, 8px)}.mc-list-item .mc-option-action,.mc-list-option .mc-option-action{display:none}.mc-list-item:not([disabled]):hover .mc-option-action,.mc-list-item:not([disabled]).mc-focused .mc-option-action,.mc-list-item:not([disabled]).mc-action-button-focused .mc-option-action,.mc-list-option:not([disabled]):hover .mc-option-action,.mc-list-option:not([disabled]).mc-focused .mc-option-action,.mc-list-option:not([disabled]).mc-action-button-focused .mc-option-action{display:flex}.mc-list-option:not([disabled]):not(.mc-disabled){cursor:pointer}\n"] }]
465
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i2.MultipleMode, decorators: [{
667
466
  type: Attribute,
668
467
  args: ['multiple']
669
- }] }, { type: i3.Clipboard, decorators: [{
468
+ }] }, { type: i1.Clipboard, decorators: [{
670
469
  type: Optional
671
470
  }] }]; }, propDecorators: { options: [{
672
471
  type: ContentChildren,
673
- args: [McListOption, { descendants: true }]
472
+ args: [forwardRef(() => McListOption), { descendants: true }]
674
473
  }], onSelectAll: [{
675
474
  type: Output
676
475
  }], onCopy: [{
@@ -688,15 +487,226 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
688
487
  }], compareWith: [{
689
488
  type: Input
690
489
  }] } });
490
+ /**
491
+ * Component for list-options of selection-list. Each list-option can automatically
492
+ * generate a checkbox and can put current item into the selectionModel of selection-list
493
+ * if the current item is selected.
494
+ */
495
+ class McListOption {
496
+ constructor(elementRef, changeDetector, ngZone, listSelection, group) {
497
+ this.elementRef = elementRef;
498
+ this.changeDetector = changeDetector;
499
+ this.ngZone = ngZone;
500
+ this.listSelection = listSelection;
501
+ this.group = group;
502
+ this.hasFocus = false;
503
+ this.preventBlur = false;
504
+ this.onFocus = new Subject();
505
+ this.onBlur = new Subject();
506
+ /**
507
+ * This is set to true after the first OnChanges cycle so we don't clear the value of `selected`
508
+ * in the first cycle.
509
+ */
510
+ this.inputsInitialized = false;
511
+ this._disabled = false;
512
+ this._selected = false;
513
+ }
514
+ get value() { return this._value; }
515
+ set value(newValue) {
516
+ if (this.selected && newValue !== this.value && this.inputsInitialized) {
517
+ this.selected = false;
518
+ }
519
+ this._value = newValue;
520
+ }
521
+ get disabled() {
522
+ const listSelectionDisabled = this.listSelection && this.listSelection.disabled;
523
+ const groupDisabled = this.group && this.group.disabled;
524
+ return listSelectionDisabled || groupDisabled || this._disabled;
525
+ }
526
+ set disabled(value) {
527
+ const newValue = toBoolean(value);
528
+ if (newValue !== this._disabled) {
529
+ this._disabled = newValue;
530
+ this.changeDetector.markForCheck();
531
+ }
532
+ }
533
+ get showCheckbox() {
534
+ return this._showCheckbox !== undefined ? this._showCheckbox : this.listSelection.showCheckbox;
535
+ }
536
+ set showCheckbox(value) {
537
+ this._showCheckbox = coerceBooleanProperty(value);
538
+ }
539
+ get selected() {
540
+ return this.listSelection.selectionModel?.isSelected(this) || false;
541
+ }
542
+ set selected(value) {
543
+ const isSelected = toBoolean(value);
544
+ if (isSelected !== this._selected) {
545
+ this.setSelected(isSelected);
546
+ }
547
+ }
548
+ get tabIndex() {
549
+ return this.disabled ? null : -1;
550
+ }
551
+ ngOnInit() {
552
+ const list = this.listSelection;
553
+ if (list._value && list._value.some((value) => list.compareWith(value, this._value))) {
554
+ this.setSelected(true);
555
+ }
556
+ const wasSelected = this._selected;
557
+ // List options that are selected at initialization can't be reported properly to the form
558
+ // control. This is because it takes some time until the selection-list knows about all
559
+ // available options. Also it can happen that the ControlValueAccessor has an initial value
560
+ // that should be used instead. Deferring the value change report to the next tick ensures
561
+ // that the form control value is not being overwritten.
562
+ Promise.resolve().then(() => {
563
+ if (this._selected || wasSelected) {
564
+ this.selected = true;
565
+ this.changeDetector.markForCheck();
566
+ }
567
+ });
568
+ this.inputsInitialized = true;
569
+ }
570
+ ngOnDestroy() {
571
+ if (this.selected) {
572
+ // We have to delay this until the next tick in order
573
+ // to avoid changed after checked errors.
574
+ Promise.resolve().then(() => this.selected = false);
575
+ }
576
+ this.listSelection.removeOptionFromList(this);
577
+ }
578
+ toggle() {
579
+ this.selected = !this.selected;
580
+ }
581
+ getLabel() {
582
+ return this.text ? this.text.nativeElement.textContent : '';
583
+ }
584
+ setSelected(selected) {
585
+ if (this._selected === selected || !this.listSelection.selectionModel) {
586
+ return;
587
+ }
588
+ this._selected = selected;
589
+ if (selected) {
590
+ this.listSelection.selectionModel.select(this);
591
+ }
592
+ else {
593
+ this.listSelection.selectionModel.deselect(this);
594
+ }
595
+ this.changeDetector.markForCheck();
596
+ }
597
+ getHeight() {
598
+ const clientRects = this.elementRef.nativeElement.getClientRects();
599
+ return clientRects.length ? clientRects[0].height : 0;
600
+ }
601
+ handleClick($event) {
602
+ if (this.disabled) {
603
+ return;
604
+ }
605
+ this.listSelection.setSelectedOptionsByClick(this, hasModifierKey($event, 'shiftKey'), hasModifierKey($event, 'ctrlKey'));
606
+ }
607
+ onKeydown($event) {
608
+ if (!this.actionButton) {
609
+ return;
610
+ }
611
+ if ($event.keyCode === TAB && !$event.shiftKey && !this.actionButton.hasFocus) {
612
+ this.actionButton.focus();
613
+ $event.preventDefault();
614
+ }
615
+ }
616
+ focus() {
617
+ if (this.disabled || this.hasFocus || this.actionButton?.hasFocus) {
618
+ return;
619
+ }
620
+ this.elementRef.nativeElement.focus();
621
+ this.onFocus.next({ option: this });
622
+ Promise.resolve().then(() => {
623
+ this.hasFocus = true;
624
+ this.changeDetector.markForCheck();
625
+ });
626
+ }
627
+ blur() {
628
+ if (this.preventBlur) {
629
+ return;
630
+ }
631
+ // When animations are enabled, Angular may end up removing the option from the DOM a little
632
+ // earlier than usual, causing it to be blurred and throwing off the logic in the list
633
+ // that moves focus not the next item. To work around the issue, we defer marking the option
634
+ // as not focused until the next time the zone stabilizes.
635
+ this.ngZone.onStable
636
+ .asObservable()
637
+ .pipe(take(1))
638
+ .subscribe(() => {
639
+ this.ngZone.run(() => {
640
+ this.hasFocus = false;
641
+ if (this.actionButton?.hasFocus) {
642
+ return;
643
+ }
644
+ this.onBlur.next({ option: this });
645
+ });
646
+ });
647
+ }
648
+ getHostElement() {
649
+ return this.elementRef.nativeElement;
650
+ }
651
+ }
652
+ /** @nocollapse */ McListOption.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: McListOption, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: forwardRef(() => McListSelection) }, { token: i2.McOptgroup, optional: true }], target: i0.ɵɵFactoryTarget.Component });
653
+ /** @nocollapse */ McListOption.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.2", type: McListOption, selector: "mc-list-option", inputs: { checkboxPosition: "checkboxPosition", value: "value", disabled: "disabled", showCheckbox: "showCheckbox", selected: "selected" }, host: { listeners: { "focusin": "focus()", "blur": "blur()", "click": "handleClick($event)", "keydown": "onKeydown($event)" }, properties: { "class.mc-selected": "selected", "class.mc-disabled": "disabled", "class.mc-focused": "hasFocus", "class.mc-action-button-focused": "actionButton?.active", "attr.tabindex": "tabIndex", "attr.disabled": "disabled || null" }, classAttribute: "mc-list-option" }, providers: [
654
+ { provide: MC_OPTION_ACTION_PARENT, useExisting: McListOption }
655
+ ], queries: [{ propertyName: "actionButton", first: true, predicate: McOptionActionComponent, descendants: true }, { propertyName: "tooltipTrigger", first: true, predicate: McTooltipTrigger, descendants: true }, { propertyName: "dropdownTrigger", first: true, predicate: McDropdownTrigger, descendants: true }], viewQueries: [{ propertyName: "text", first: true, predicate: ["text"], descendants: true }], exportAs: ["mcListOption"], ngImport: i0, template: "<mc-pseudo-checkbox\n *ngIf=\"showCheckbox\"\n [state]=\"selected ? 'checked' : 'unchecked'\"\n [disabled]=\"disabled\">\n</mc-pseudo-checkbox>\n\n<ng-content select=\"[mc-icon]\"></ng-content>\n\n<div class=\"mc-list-text\" #text>\n <ng-content></ng-content>\n</div>\n\n<ng-content select=\"mc-option-action\"></ng-content>\n", dependencies: [{ kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.McPseudoCheckbox, selector: "mc-pseudo-checkbox", inputs: ["color", "state", "disabled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
656
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: McListOption, decorators: [{
657
+ type: Component,
658
+ args: [{ exportAs: 'mcListOption', selector: 'mc-list-option', host: {
659
+ class: 'mc-list-option',
660
+ '[class.mc-selected]': 'selected',
661
+ '[class.mc-disabled]': 'disabled',
662
+ '[class.mc-focused]': 'hasFocus',
663
+ '[class.mc-action-button-focused]': 'actionButton?.active',
664
+ '[attr.tabindex]': 'tabIndex',
665
+ '[attr.disabled]': 'disabled || null',
666
+ '(focusin)': 'focus()',
667
+ '(blur)': 'blur()',
668
+ '(click)': 'handleClick($event)',
669
+ '(keydown)': 'onKeydown($event)'
670
+ }, encapsulation: ViewEncapsulation.None, preserveWhitespaces: false, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
671
+ { provide: MC_OPTION_ACTION_PARENT, useExisting: McListOption }
672
+ ], template: "<mc-pseudo-checkbox\n *ngIf=\"showCheckbox\"\n [state]=\"selected ? 'checked' : 'unchecked'\"\n [disabled]=\"disabled\">\n</mc-pseudo-checkbox>\n\n<ng-content select=\"[mc-icon]\"></ng-content>\n\n<div class=\"mc-list-text\" #text>\n <ng-content></ng-content>\n</div>\n\n<ng-content select=\"mc-option-action\"></ng-content>\n" }]
673
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: McListSelection, decorators: [{
674
+ type: Inject,
675
+ args: [forwardRef(() => McListSelection)]
676
+ }] }, { type: i2.McOptgroup, decorators: [{
677
+ type: Optional
678
+ }] }]; }, propDecorators: { actionButton: [{
679
+ type: ContentChild,
680
+ args: [McOptionActionComponent]
681
+ }], tooltipTrigger: [{
682
+ type: ContentChild,
683
+ args: [McTooltipTrigger]
684
+ }], dropdownTrigger: [{
685
+ type: ContentChild,
686
+ args: [McDropdownTrigger]
687
+ }], text: [{
688
+ type: ViewChild,
689
+ args: ['text', { static: false }]
690
+ }], checkboxPosition: [{
691
+ type: Input
692
+ }], value: [{
693
+ type: Input
694
+ }], disabled: [{
695
+ type: Input
696
+ }], showCheckbox: [{
697
+ type: Input
698
+ }], selected: [{
699
+ type: Input
700
+ }] } });
691
701
 
692
702
  // todo пока не делаем, перенесено из материала, но у нас в доках таких простых списков нет.
693
703
  class McList {
694
704
  }
695
- /** @nocollapse */ /** @nocollapse */ McList.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: McList, deps: [], target: i0.ɵɵFactoryTarget.Component });
696
- /** @nocollapse */ /** @nocollapse */ McList.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: McList, selector: "mc-list", host: { classAttribute: "mc-list" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [".mc-divider{display:block;margin:0}.mc-divider.mc-divider_horizontal{border-top-width:var(--mc-divider-size-width, 1px);border-top-style:solid}.mc-divider.mc-divider_vertical{height:100%;border-right-width:var(--mc-divider-size-width, 1px);border-right-style:solid}.mc-divider.mc-divider_inset{margin-left:var(--mc-divider-size-inset-margin, 80px)}[dir=rtl] .mc-divider.mc-divider_inset{margin-left:auto;margin-right:var(--mc-divider-size-inset-margin, 80px)}.mc-no-select{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.mc-list,.mc-list-selection{display:block;outline:none}.mc-list-item,.mc-list-option{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;position:relative;display:flex;align-items:center;box-sizing:border-box;height:var(--mc-list-size-item-height, 32px);border:2px solid transparent;padding-left:var(--mc-list-size-horizontal-padding, 12px)}.mc-list-item .mc-list-text,.mc-list-option .mc-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding-right:var(--mc-list-size-horizontal-padding, 12px)}.mc-list-item .mc-list-text>*,.mc-list-option .mc-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mc-list-item .mc-list-text:empty,.mc-list-option .mc-list-text:empty{display:none}.mc-list-item .mc-divider,.mc-list-option .mc-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mc-list-item .mc-divider,[dir=rtl] .mc-list-option .mc-divider{margin-left:auto;margin-right:0}.mc-list-item .mc-divider.mc-divider_inset,.mc-list-option .mc-divider.mc-divider_inset{position:absolute}.mc-list-item.mc-progress:after,.mc-list-option.mc-progress:after{top:-2px;right:-2px;bottom:-2px;left:-2px}.mc-list-item .mc-pseudo-checkbox,.mc-list-item .mc-icon,.mc-list-option .mc-pseudo-checkbox,.mc-list-option .mc-icon{margin-right:var(--mc-list-size-icon-right-margin, 8px)}.mc-list-item .mc-option-action,.mc-list-option .mc-option-action{display:none}.mc-list-item:not([disabled]):hover .mc-option-action,.mc-list-item:not([disabled]).mc-focused .mc-option-action,.mc-list-item:not([disabled]).mc-action-button-focused .mc-option-action,.mc-list-option:not([disabled]):hover .mc-option-action,.mc-list-option:not([disabled]).mc-focused .mc-option-action,.mc-list-option:not([disabled]).mc-action-button-focused .mc-option-action{display:flex}.mc-list-option:not([disabled]):not(.mc-disabled){cursor:pointer}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
697
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: McList, decorators: [{
705
+ /** @nocollapse */ McList.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: McList, deps: [], target: i0.ɵɵFactoryTarget.Component });
706
+ /** @nocollapse */ McList.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.2", type: McList, selector: "mc-list", host: { classAttribute: "mc-list" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [".mc-no-select{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.mc-list,.mc-list-selection{display:block;outline:none}.mc-list-item,.mc-list-option{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;position:relative;display:flex;align-items:center;box-sizing:border-box;height:32px;height:var(--mc-list-size-item-height, 32px);border:2px solid transparent;padding-left:12px;padding-left:var(--mc-list-size-horizontal-padding, 12px)}.mc-list-item .mc-list-text,.mc-list-option .mc-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding-right:12px;padding-right:var(--mc-list-size-horizontal-padding, 12px)}.mc-list-item .mc-list-text>*,.mc-list-option .mc-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mc-list-item .mc-list-text:empty,.mc-list-option .mc-list-text:empty{display:none}.mc-list-item .mc-divider,.mc-list-option .mc-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mc-list-item .mc-divider,[dir=rtl] .mc-list-option .mc-divider{margin-left:auto;margin-right:0}.mc-list-item .mc-divider.mc-divider_inset,.mc-list-option .mc-divider.mc-divider_inset{position:absolute}.mc-list-item.mc-progress:after,.mc-list-option.mc-progress:after{top:-2px;right:-2px;bottom:-2px;left:-2px}.mc-list-item .mc-pseudo-checkbox,.mc-list-item .mc-icon,.mc-list-option .mc-pseudo-checkbox,.mc-list-option .mc-icon{margin-right:8px;margin-right:var(--mc-list-size-icon-right-margin, 8px)}.mc-list-item .mc-option-action,.mc-list-option .mc-option-action{display:none}.mc-list-item:not([disabled]):hover .mc-option-action,.mc-list-item:not([disabled]).mc-focused .mc-option-action,.mc-list-item:not([disabled]).mc-action-button-focused .mc-option-action,.mc-list-option:not([disabled]):hover .mc-option-action,.mc-list-option:not([disabled]).mc-focused .mc-option-action,.mc-list-option:not([disabled]).mc-action-button-focused .mc-option-action{display:flex}.mc-list-option:not([disabled]):not(.mc-disabled){cursor:pointer}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
707
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: McList, decorators: [{
698
708
  type: Component,
699
- args: [{ selector: 'mc-list', host: { class: 'mc-list' }, template: '<ng-content></ng-content>', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, styles: [".mc-divider{display:block;margin:0}.mc-divider.mc-divider_horizontal{border-top-width:var(--mc-divider-size-width, 1px);border-top-style:solid}.mc-divider.mc-divider_vertical{height:100%;border-right-width:var(--mc-divider-size-width, 1px);border-right-style:solid}.mc-divider.mc-divider_inset{margin-left:var(--mc-divider-size-inset-margin, 80px)}[dir=rtl] .mc-divider.mc-divider_inset{margin-left:auto;margin-right:var(--mc-divider-size-inset-margin, 80px)}.mc-no-select{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.mc-list,.mc-list-selection{display:block;outline:none}.mc-list-item,.mc-list-option{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;position:relative;display:flex;align-items:center;box-sizing:border-box;height:var(--mc-list-size-item-height, 32px);border:2px solid transparent;padding-left:var(--mc-list-size-horizontal-padding, 12px)}.mc-list-item .mc-list-text,.mc-list-option .mc-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding-right:var(--mc-list-size-horizontal-padding, 12px)}.mc-list-item .mc-list-text>*,.mc-list-option .mc-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mc-list-item .mc-list-text:empty,.mc-list-option .mc-list-text:empty{display:none}.mc-list-item .mc-divider,.mc-list-option .mc-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mc-list-item .mc-divider,[dir=rtl] .mc-list-option .mc-divider{margin-left:auto;margin-right:0}.mc-list-item .mc-divider.mc-divider_inset,.mc-list-option .mc-divider.mc-divider_inset{position:absolute}.mc-list-item.mc-progress:after,.mc-list-option.mc-progress:after{top:-2px;right:-2px;bottom:-2px;left:-2px}.mc-list-item .mc-pseudo-checkbox,.mc-list-item .mc-icon,.mc-list-option .mc-pseudo-checkbox,.mc-list-option .mc-icon{margin-right:var(--mc-list-size-icon-right-margin, 8px)}.mc-list-item .mc-option-action,.mc-list-option .mc-option-action{display:none}.mc-list-item:not([disabled]):hover .mc-option-action,.mc-list-item:not([disabled]).mc-focused .mc-option-action,.mc-list-item:not([disabled]).mc-action-button-focused .mc-option-action,.mc-list-option:not([disabled]):hover .mc-option-action,.mc-list-option:not([disabled]).mc-focused .mc-option-action,.mc-list-option:not([disabled]).mc-action-button-focused .mc-option-action{display:flex}.mc-list-option:not([disabled]):not(.mc-disabled){cursor:pointer}\n"] }]
709
+ args: [{ selector: 'mc-list', host: { class: 'mc-list' }, template: '<ng-content></ng-content>', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, styles: [".mc-no-select{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.mc-list,.mc-list-selection{display:block;outline:none}.mc-list-item,.mc-list-option{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;position:relative;display:flex;align-items:center;box-sizing:border-box;height:32px;height:var(--mc-list-size-item-height, 32px);border:2px solid transparent;padding-left:12px;padding-left:var(--mc-list-size-horizontal-padding, 12px)}.mc-list-item .mc-list-text,.mc-list-option .mc-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding-right:12px;padding-right:var(--mc-list-size-horizontal-padding, 12px)}.mc-list-item .mc-list-text>*,.mc-list-option .mc-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mc-list-item .mc-list-text:empty,.mc-list-option .mc-list-text:empty{display:none}.mc-list-item .mc-divider,.mc-list-option .mc-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mc-list-item .mc-divider,[dir=rtl] .mc-list-option .mc-divider{margin-left:auto;margin-right:0}.mc-list-item .mc-divider.mc-divider_inset,.mc-list-option .mc-divider.mc-divider_inset{position:absolute}.mc-list-item.mc-progress:after,.mc-list-option.mc-progress:after{top:-2px;right:-2px;bottom:-2px;left:-2px}.mc-list-item .mc-pseudo-checkbox,.mc-list-item .mc-icon,.mc-list-option .mc-pseudo-checkbox,.mc-list-option .mc-icon{margin-right:8px;margin-right:var(--mc-list-size-icon-right-margin, 8px)}.mc-list-item .mc-option-action,.mc-list-option .mc-option-action{display:none}.mc-list-item:not([disabled]):hover .mc-option-action,.mc-list-item:not([disabled]).mc-focused .mc-option-action,.mc-list-item:not([disabled]).mc-action-button-focused .mc-option-action,.mc-list-option:not([disabled]):hover .mc-option-action,.mc-list-option:not([disabled]).mc-focused .mc-option-action,.mc-list-option:not([disabled]).mc-action-button-focused .mc-option-action{display:flex}.mc-list-option:not([disabled]):not(.mc-disabled){cursor:pointer}\n"] }]
700
710
  }] });
701
711
  class McListItem {
702
712
  constructor(elementRef) {
@@ -716,9 +726,9 @@ class McListItem {
716
726
  return this.elementRef.nativeElement;
717
727
  }
718
728
  }
719
- /** @nocollapse */ /** @nocollapse */ McListItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: McListItem, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
720
- /** @nocollapse */ /** @nocollapse */ McListItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: McListItem, selector: "mc-list-item, a[mc-list-item]", host: { listeners: { "focus": "handleFocus()", "blur": "handleBlur()" }, classAttribute: "mc-list-item" }, queries: [{ propertyName: "lines", predicate: McLine }], ngImport: i0, template: "<ng-content select=\"[mc-list-icon], [mcListIcon]\"></ng-content>\n\n<div class=\"mc-list-text\">\n <ng-content select=\"[mc-line], [mcLine]\"></ng-content>\n</div>\n\n<ng-content></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
721
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: McListItem, decorators: [{
729
+ /** @nocollapse */ McListItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: McListItem, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
730
+ /** @nocollapse */ McListItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.2", type: McListItem, selector: "mc-list-item, a[mc-list-item]", host: { listeners: { "focus": "handleFocus()", "blur": "handleBlur()" }, classAttribute: "mc-list-item" }, queries: [{ propertyName: "lines", predicate: McLine }], ngImport: i0, template: "<ng-content select=\"[mc-list-icon], [mcListIcon]\"></ng-content>\n\n<div class=\"mc-list-text\">\n <ng-content select=\"[mc-line], [mcLine]\"></ng-content>\n</div>\n\n<ng-content></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
731
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: McListItem, decorators: [{
722
732
  type: Component,
723
733
  args: [{ selector: 'mc-list-item, a[mc-list-item]', host: {
724
734
  class: 'mc-list-item',
@@ -732,8 +742,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
732
742
 
733
743
  class McListModule {
734
744
  }
735
- /** @nocollapse */ /** @nocollapse */ McListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: McListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
736
- /** @nocollapse */ /** @nocollapse */ McListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: McListModule, declarations: [McList,
745
+ /** @nocollapse */ McListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: McListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
746
+ /** @nocollapse */ McListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.2", ngImport: i0, type: McListModule, declarations: [McList,
737
747
  McListSelection,
738
748
  McListItem,
739
749
  McListOption], imports: [CommonModule,
@@ -745,14 +755,12 @@ class McListModule {
745
755
  McListItem,
746
756
  McListOption,
747
757
  McOptionModule] });
748
- /** @nocollapse */ /** @nocollapse */ McListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: McListModule, imports: [[
749
- CommonModule,
750
- A11yModule,
751
- McPseudoCheckboxModule,
752
- McLineModule,
753
- McOptionModule
754
- ], McOptionModule] });
755
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: McListModule, decorators: [{
758
+ /** @nocollapse */ McListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: McListModule, imports: [CommonModule,
759
+ A11yModule,
760
+ McPseudoCheckboxModule,
761
+ McLineModule,
762
+ McOptionModule, McOptionModule] });
763
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: McListModule, decorators: [{
756
764
  type: NgModule,
757
765
  args: [{
758
766
  imports: [