@ptsecurity/mosaic 16.3.0 → 17.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 (280) hide show
  1. package/_theming.scss +3 -3
  2. package/checkbox/_checkbox-theme.scss +1 -1
  3. package/core/common-behaviors/index.d.ts +2 -0
  4. package/core/pop-up/pop-up.d.ts +7 -0
  5. package/core/styles/_variables.scss +1 -1
  6. package/esm2022/autocomplete/autocomplete-origin.directive.mjs +4 -4
  7. package/esm2022/autocomplete/autocomplete-trigger.directive.mjs +6 -6
  8. package/esm2022/autocomplete/autocomplete.component.mjs +6 -6
  9. package/esm2022/autocomplete/autocomplete.module.mjs +4 -4
  10. package/esm2022/button/button.component.mjs +11 -11
  11. package/esm2022/button/button.module.mjs +4 -4
  12. package/esm2022/button-toggle/button-toggle.component.mjs +12 -12
  13. package/esm2022/button-toggle/button-toggle.module.mjs +4 -4
  14. package/esm2022/card/card.component.mjs +5 -5
  15. package/esm2022/card/card.module.mjs +4 -4
  16. package/esm2022/checkbox/checkbox-module.mjs +4 -4
  17. package/esm2022/checkbox/checkbox-required-validator.mjs +3 -3
  18. package/esm2022/checkbox/checkbox.mjs +6 -6
  19. package/esm2022/code-block/actionbar.component.mjs +4 -4
  20. package/esm2022/code-block/code-block.component.mjs +6 -6
  21. package/esm2022/code-block/code-block.module.mjs +8 -8
  22. package/esm2022/core/common-behaviors/color.mjs +1 -1
  23. package/esm2022/core/common-behaviors/common-module.mjs +7 -7
  24. package/esm2022/core/common-behaviors/error-state.mjs +1 -1
  25. package/esm2022/core/common-behaviors/index.mjs +3 -1
  26. package/esm2022/core/error/error-options.mjs +6 -6
  27. package/esm2022/core/formatters/date/formatter.mjs +5 -5
  28. package/esm2022/core/formatters/date/formatter.pipe.mjs +52 -52
  29. package/esm2022/core/formatters/index.mjs +4 -4
  30. package/esm2022/core/formatters/number/formatter.mjs +19 -19
  31. package/esm2022/core/forms/forms-module.mjs +4 -4
  32. package/esm2022/core/forms/forms.directive.mjs +8 -8
  33. package/esm2022/core/highlight/highlight.pipe.mjs +5 -5
  34. package/esm2022/core/highlight/index.mjs +4 -4
  35. package/esm2022/core/line/line.mjs +8 -8
  36. package/esm2022/core/locales/locale-service.mjs +5 -5
  37. package/esm2022/core/locales/locale-service.module.mjs +4 -4
  38. package/esm2022/core/option/action.mjs +6 -6
  39. package/esm2022/core/option/optgroup.mjs +4 -4
  40. package/esm2022/core/option/option-module.mjs +4 -4
  41. package/esm2022/core/option/option.mjs +6 -6
  42. package/esm2022/core/overlay/overlay-position-map.mjs +1 -1
  43. package/esm2022/core/pop-up/pop-up-trigger.mjs +6 -6
  44. package/esm2022/core/pop-up/pop-up.mjs +12 -5
  45. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +5 -5
  46. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.module.mjs +4 -4
  47. package/esm2022/core/services/measure-scrollbar.service.mjs +6 -6
  48. package/esm2022/core/utils/data-size/data-size.pipe.mjs +7 -7
  49. package/esm2022/core/utils/data-size/size.mjs +1 -1
  50. package/esm2022/core/version.mjs +2 -2
  51. package/esm2022/datepicker/calendar-body.component.mjs +4 -4
  52. package/esm2022/datepicker/calendar-header.component.mjs +5 -5
  53. package/esm2022/datepicker/calendar.component.mjs +6 -6
  54. package/esm2022/datepicker/datepicker-animations.mjs +1 -1
  55. package/esm2022/datepicker/datepicker-input.directive.mjs +6 -6
  56. package/esm2022/datepicker/datepicker-intl.mjs +3 -3
  57. package/esm2022/datepicker/datepicker-module.mjs +4 -4
  58. package/esm2022/datepicker/datepicker-toggle.component.mjs +8 -8
  59. package/esm2022/datepicker/datepicker.component.mjs +10 -10
  60. package/esm2022/datepicker/month-view.component.mjs +6 -6
  61. package/esm2022/divider/divider.component.mjs +3 -3
  62. package/esm2022/divider/divider.module.mjs +4 -4
  63. package/esm2022/dl/dl.component.mjs +11 -11
  64. package/esm2022/dl/dl.module.mjs +4 -4
  65. package/esm2022/dropdown/dropdown-content.directive.mjs +6 -6
  66. package/esm2022/dropdown/dropdown-item.component.mjs +8 -8
  67. package/esm2022/dropdown/dropdown-trigger.directive.mjs +6 -6
  68. package/esm2022/dropdown/dropdown.component.mjs +6 -6
  69. package/esm2022/dropdown/dropdown.module.mjs +4 -4
  70. package/esm2022/ellipsis-center/ellipsis-center.directive.mjs +10 -10
  71. package/esm2022/file-upload/file-drop.mjs +4 -4
  72. package/esm2022/file-upload/file-upload.module.mjs +4 -4
  73. package/esm2022/file-upload/multiple-file-upload.component.mjs +7 -7
  74. package/esm2022/file-upload/single-file-upload.component.mjs +7 -7
  75. package/esm2022/form-field/cleaner.mjs +3 -3
  76. package/esm2022/form-field/form-field.mjs +19 -13
  77. package/esm2022/form-field/form-field.module.mjs +4 -4
  78. package/esm2022/form-field/hint.mjs +5 -5
  79. package/esm2022/form-field/password-hint.mjs +6 -6
  80. package/esm2022/form-field/prefix.mjs +3 -3
  81. package/esm2022/form-field/stepper.mjs +4 -4
  82. package/esm2022/form-field/suffix.mjs +3 -3
  83. package/esm2022/form-field/validate.directive.mjs +6 -6
  84. package/esm2022/icon/icon.component.mjs +17 -9
  85. package/esm2022/icon/icon.module.mjs +4 -4
  86. package/esm2022/input/input-number-validators.mjs +7 -7
  87. package/esm2022/input/input-number.mjs +6 -6
  88. package/esm2022/input/input-password.mjs +11 -11
  89. package/esm2022/input/input.mjs +9 -9
  90. package/esm2022/input/input.module.mjs +4 -4
  91. package/esm2022/link/link.component.mjs +5 -5
  92. package/esm2022/link/link.module.mjs +4 -4
  93. package/esm2022/list/list-selection.component.mjs +13 -13
  94. package/esm2022/list/list.component.mjs +9 -9
  95. package/esm2022/list/list.module.mjs +4 -4
  96. package/esm2022/loader-overlay/loader-overlay.component.mjs +16 -16
  97. package/esm2022/loader-overlay/loader-overlay.module.mjs +4 -4
  98. package/esm2022/markdown/markdown.component.mjs +5 -5
  99. package/esm2022/markdown/markdown.module.mjs +4 -4
  100. package/esm2022/markdown/markdown.service.mjs +3 -3
  101. package/esm2022/modal/css-unit.pipe.mjs +3 -3
  102. package/esm2022/modal/modal-control.service.mjs +6 -6
  103. package/esm2022/modal/modal.component.mjs +7 -7
  104. package/esm2022/modal/modal.directive.mjs +12 -12
  105. package/esm2022/modal/modal.module.mjs +4 -4
  106. package/esm2022/modal/modal.service.mjs +5 -5
  107. package/esm2022/navbar/navbar-item.component.mjs +54 -47
  108. package/esm2022/navbar/navbar.component.mjs +28 -18
  109. package/esm2022/navbar/navbar.module.mjs +4 -4
  110. package/esm2022/navbar/vertical-navbar.component.mjs +7 -7
  111. package/esm2022/popover/popover-confirm.component.mjs +10 -10
  112. package/esm2022/popover/popover.component.mjs +15 -10
  113. package/esm2022/popover/popover.module.mjs +4 -4
  114. package/esm2022/progress-bar/progress-bar.component.mjs +5 -5
  115. package/esm2022/progress-bar/progress-bar.module.mjs +4 -4
  116. package/esm2022/progress-spinner/progress-spinner.component.mjs +5 -5
  117. package/esm2022/progress-spinner/progress-spinner.module.mjs +4 -4
  118. package/esm2022/radio/radio.component.mjs +10 -10
  119. package/esm2022/radio/radio.module.mjs +4 -4
  120. package/esm2022/select/select-option.directive.mjs +6 -6
  121. package/esm2022/select/select.component.mjs +24 -24
  122. package/esm2022/select/select.module.mjs +4 -4
  123. package/esm2022/sidebar/sidebar.component.mjs +11 -11
  124. package/esm2022/sidebar/sidebar.module.mjs +4 -4
  125. package/esm2022/sidepanel/sidepanel-container.component.mjs +7 -7
  126. package/esm2022/sidepanel/sidepanel-directives.mjs +18 -18
  127. package/esm2022/sidepanel/sidepanel-ref.mjs +1 -1
  128. package/esm2022/sidepanel/sidepanel.module.mjs +4 -4
  129. package/esm2022/sidepanel/sidepanel.service.mjs +6 -6
  130. package/esm2022/splitter/splitter.component.mjs +17 -17
  131. package/esm2022/splitter/splitter.module.mjs +4 -4
  132. package/esm2022/table/table.component.mjs +3 -3
  133. package/esm2022/table/table.module.mjs +4 -4
  134. package/esm2022/tabs/paginated-tab-header.mjs +6 -6
  135. package/esm2022/tabs/tab-body.component.mjs +11 -11
  136. package/esm2022/tabs/tab-content.directive.mjs +4 -4
  137. package/esm2022/tabs/tab-group.component.mjs +24 -24
  138. package/esm2022/tabs/tab-header.component.mjs +7 -7
  139. package/esm2022/tabs/tab-label-wrapper.directive.mjs +5 -5
  140. package/esm2022/tabs/tab-label.directive.mjs +3 -3
  141. package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +10 -10
  142. package/esm2022/tabs/tab.component.mjs +5 -5
  143. package/esm2022/tabs/tabs.module.mjs +4 -4
  144. package/esm2022/tags/tag-input.mjs +6 -6
  145. package/esm2022/tags/tag-list.component.mjs +6 -6
  146. package/esm2022/tags/tag.component.mjs +16 -16
  147. package/esm2022/tags/tag.module.mjs +4 -4
  148. package/esm2022/textarea/textarea.component.mjs +21 -10
  149. package/esm2022/textarea/textarea.module.mjs +4 -4
  150. package/esm2022/timepicker/timepicker.directive.mjs +6 -6
  151. package/esm2022/timepicker/timepicker.module.mjs +4 -4
  152. package/esm2022/timezone/cities-by-filter.pipe.mjs +3 -3
  153. package/esm2022/timezone/timezone-option.component.mjs +3 -3
  154. package/esm2022/timezone/timezone-option.directive.mjs +5 -5
  155. package/esm2022/timezone/timezone-select.component.mjs +8 -8
  156. package/esm2022/timezone/timezone.module.mjs +4 -4
  157. package/esm2022/timezone/timezone.utils.mjs +1 -1
  158. package/esm2022/timezone/utc-offset.pipe.mjs +3 -3
  159. package/esm2022/title/title.directive.mjs +6 -6
  160. package/esm2022/title/title.module.mjs +4 -4
  161. package/esm2022/toast/toast-container.component.mjs +6 -6
  162. package/esm2022/toast/toast.component.mjs +6 -6
  163. package/esm2022/toast/toast.module.mjs +4 -4
  164. package/esm2022/toast/toast.service.mjs +6 -6
  165. package/esm2022/toggle/toggle.component.mjs +5 -5
  166. package/esm2022/toggle/toggle.module.mjs +4 -4
  167. package/esm2022/tooltip/tooltip.component.mjs +21 -21
  168. package/esm2022/tooltip/tooltip.module.mjs +4 -4
  169. package/esm2022/tree/control/base-tree-control.mjs +4 -4
  170. package/esm2022/tree/control/flat-tree-control.filters.mjs +3 -2
  171. package/esm2022/tree/control/flat-tree-control.mjs +4 -4
  172. package/esm2022/tree/control/nested-tree-control.mjs +1 -1
  173. package/esm2022/tree/control/tree-control.mjs +1 -1
  174. package/esm2022/tree/data-source/flat-data-source.mjs +1 -1
  175. package/esm2022/tree/node.mjs +5 -5
  176. package/esm2022/tree/outlet.mjs +4 -4
  177. package/esm2022/tree/padding.directive.mjs +6 -6
  178. package/esm2022/tree/toggle.mjs +12 -12
  179. package/esm2022/tree/tree-base.mjs +10 -10
  180. package/esm2022/tree/tree-option.component.mjs +11 -8
  181. package/esm2022/tree/tree-selection.component.mjs +6 -6
  182. package/esm2022/tree/tree.mjs +3 -3
  183. package/esm2022/tree/tree.module.mjs +4 -4
  184. package/esm2022/tree-select/tree-select.component.mjs +17 -17
  185. package/esm2022/tree-select/tree-select.module.mjs +4 -4
  186. package/fesm2022/ptsecurity-mosaic-autocomplete.mjs +18 -18
  187. package/fesm2022/ptsecurity-mosaic-autocomplete.mjs.map +1 -1
  188. package/fesm2022/ptsecurity-mosaic-button-toggle.mjs +15 -15
  189. package/fesm2022/ptsecurity-mosaic-button-toggle.mjs.map +1 -1
  190. package/fesm2022/ptsecurity-mosaic-button.mjs +14 -14
  191. package/fesm2022/ptsecurity-mosaic-button.mjs.map +1 -1
  192. package/fesm2022/ptsecurity-mosaic-card.mjs +8 -8
  193. package/fesm2022/ptsecurity-mosaic-card.mjs.map +1 -1
  194. package/fesm2022/ptsecurity-mosaic-checkbox.mjs +12 -12
  195. package/fesm2022/ptsecurity-mosaic-checkbox.mjs.map +1 -1
  196. package/fesm2022/ptsecurity-mosaic-code-block.mjs +15 -15
  197. package/fesm2022/ptsecurity-mosaic-code-block.mjs.map +1 -1
  198. package/fesm2022/ptsecurity-mosaic-core.mjs +186 -177
  199. package/fesm2022/ptsecurity-mosaic-core.mjs.map +1 -1
  200. package/fesm2022/ptsecurity-mosaic-datepicker.mjs +45 -45
  201. package/fesm2022/ptsecurity-mosaic-datepicker.mjs.map +1 -1
  202. package/fesm2022/ptsecurity-mosaic-divider.mjs +7 -7
  203. package/fesm2022/ptsecurity-mosaic-dl.mjs +14 -14
  204. package/fesm2022/ptsecurity-mosaic-dl.mjs.map +1 -1
  205. package/fesm2022/ptsecurity-mosaic-dropdown.mjs +26 -26
  206. package/fesm2022/ptsecurity-mosaic-dropdown.mjs.map +1 -1
  207. package/fesm2022/ptsecurity-mosaic-ellipsis-center.mjs +9 -9
  208. package/fesm2022/ptsecurity-mosaic-ellipsis-center.mjs.map +1 -1
  209. package/fesm2022/ptsecurity-mosaic-file-upload.mjs +19 -19
  210. package/fesm2022/ptsecurity-mosaic-file-upload.mjs.map +1 -1
  211. package/fesm2022/ptsecurity-mosaic-form-field.mjs +48 -42
  212. package/fesm2022/ptsecurity-mosaic-form-field.mjs.map +1 -1
  213. package/fesm2022/ptsecurity-mosaic-icon.mjs +20 -12
  214. package/fesm2022/ptsecurity-mosaic-icon.mjs.map +1 -1
  215. package/fesm2022/ptsecurity-mosaic-input.mjs +33 -33
  216. package/fesm2022/ptsecurity-mosaic-input.mjs.map +1 -1
  217. package/fesm2022/ptsecurity-mosaic-link.mjs +8 -8
  218. package/fesm2022/ptsecurity-mosaic-link.mjs.map +1 -1
  219. package/fesm2022/ptsecurity-mosaic-list.mjs +24 -24
  220. package/fesm2022/ptsecurity-mosaic-list.mjs.map +1 -1
  221. package/fesm2022/ptsecurity-mosaic-loader-overlay.mjs +19 -19
  222. package/fesm2022/ptsecurity-mosaic-loader-overlay.mjs.map +1 -1
  223. package/fesm2022/ptsecurity-mosaic-markdown.mjs +11 -11
  224. package/fesm2022/ptsecurity-mosaic-markdown.mjs.map +1 -1
  225. package/fesm2022/ptsecurity-mosaic-modal.mjs +34 -34
  226. package/fesm2022/ptsecurity-mosaic-modal.mjs.map +1 -1
  227. package/fesm2022/ptsecurity-mosaic-navbar.mjs +90 -73
  228. package/fesm2022/ptsecurity-mosaic-navbar.mjs.map +1 -1
  229. package/fesm2022/ptsecurity-mosaic-popover.mjs +27 -22
  230. package/fesm2022/ptsecurity-mosaic-popover.mjs.map +1 -1
  231. package/fesm2022/ptsecurity-mosaic-progress-bar.mjs +8 -8
  232. package/fesm2022/ptsecurity-mosaic-progress-bar.mjs.map +1 -1
  233. package/fesm2022/ptsecurity-mosaic-progress-spinner.mjs +8 -8
  234. package/fesm2022/ptsecurity-mosaic-progress-spinner.mjs.map +1 -1
  235. package/fesm2022/ptsecurity-mosaic-radio.mjs +13 -13
  236. package/fesm2022/ptsecurity-mosaic-radio.mjs.map +1 -1
  237. package/fesm2022/ptsecurity-mosaic-select.mjs +32 -32
  238. package/fesm2022/ptsecurity-mosaic-select.mjs.map +1 -1
  239. package/fesm2022/ptsecurity-mosaic-sidebar.mjs +14 -14
  240. package/fesm2022/ptsecurity-mosaic-sidebar.mjs.map +1 -1
  241. package/fesm2022/ptsecurity-mosaic-sidepanel.mjs +32 -32
  242. package/fesm2022/ptsecurity-mosaic-sidepanel.mjs.map +1 -1
  243. package/fesm2022/ptsecurity-mosaic-splitter.mjs +20 -20
  244. package/fesm2022/ptsecurity-mosaic-splitter.mjs.map +1 -1
  245. package/fesm2022/ptsecurity-mosaic-table.mjs +7 -7
  246. package/fesm2022/ptsecurity-mosaic-tabs.mjs +71 -71
  247. package/fesm2022/ptsecurity-mosaic-tabs.mjs.map +1 -1
  248. package/fesm2022/ptsecurity-mosaic-tags.mjs +29 -29
  249. package/fesm2022/ptsecurity-mosaic-tags.mjs.map +1 -1
  250. package/fesm2022/ptsecurity-mosaic-textarea.mjs +24 -13
  251. package/fesm2022/ptsecurity-mosaic-textarea.mjs.map +1 -1
  252. package/fesm2022/ptsecurity-mosaic-timepicker.mjs +9 -9
  253. package/fesm2022/ptsecurity-mosaic-timepicker.mjs.map +1 -1
  254. package/fesm2022/ptsecurity-mosaic-timezone.mjs +26 -26
  255. package/fesm2022/ptsecurity-mosaic-timezone.mjs.map +1 -1
  256. package/fesm2022/ptsecurity-mosaic-title.mjs +9 -9
  257. package/fesm2022/ptsecurity-mosaic-title.mjs.map +1 -1
  258. package/fesm2022/ptsecurity-mosaic-toast.mjs +19 -19
  259. package/fesm2022/ptsecurity-mosaic-toast.mjs.map +1 -1
  260. package/fesm2022/ptsecurity-mosaic-toggle.mjs +8 -8
  261. package/fesm2022/ptsecurity-mosaic-toggle.mjs.map +1 -1
  262. package/fesm2022/ptsecurity-mosaic-tooltip.mjs +24 -24
  263. package/fesm2022/ptsecurity-mosaic-tooltip.mjs.map +1 -1
  264. package/fesm2022/ptsecurity-mosaic-tree-select.mjs +20 -20
  265. package/fesm2022/ptsecurity-mosaic-tree-select.mjs.map +1 -1
  266. package/fesm2022/ptsecurity-mosaic-tree.mjs +63 -59
  267. package/fesm2022/ptsecurity-mosaic-tree.mjs.map +1 -1
  268. package/form-field/form-field.d.ts +2 -0
  269. package/icon/icon.component.d.ts +2 -0
  270. package/navbar/_navbar-theme.scss +2 -2
  271. package/navbar/navbar-item.component.d.ts +4 -1
  272. package/navbar/navbar-item.scss +7 -3
  273. package/navbar/navbar.component.d.ts +3 -0
  274. package/package.json +32 -32
  275. package/popover/popover.component.d.ts +6 -1
  276. package/prebuilt-themes/dark-theme.css +1 -1
  277. package/prebuilt-themes/default-theme.css +1 -1
  278. package/textarea/textarea.component.d.ts +3 -2
  279. package/tree/control/base-tree-control.d.ts +1 -1
  280. package/tree/control/tree-control.d.ts +1 -1
@@ -15,6 +15,7 @@ import { isVerticalMovement, isHorizontalMovement, TAB, RIGHT_ARROW, LEFT_ARROW,
15
15
  import { McButton, McButtonCssStyler } from '@ptsecurity/mosaic/button';
16
16
  import { toBoolean, PopUpTriggers, PopUpPlacements } from '@ptsecurity/mosaic/core';
17
17
  import * as i5 from '@ptsecurity/mosaic/dropdown';
18
+ import { McFormField } from '@ptsecurity/mosaic/form-field';
18
19
  import { merge, Subject, EMPTY } from 'rxjs';
19
20
  import { takeUntil, startWith, debounceTime, take } from 'rxjs/operators';
20
21
  import { FocusKeyManager } from '@ptsecurity/cdk/a11y';
@@ -117,22 +118,22 @@ class McFocusableComponent {
117
118
  hasFocusedItem() {
118
119
  return this.focusableItems.some((item) => item.hasFocus);
119
120
  }
120
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McFocusableComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i1.FocusMonitor }], target: i0.ɵɵFactoryTarget.Directive }); }
121
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.5", type: McFocusableComponent, inputs: { tabIndex: "tabIndex" }, queries: [{ propertyName: "focusableItems", predicate: i0.forwardRef(function () { return McNavbarFocusableItem; }), descendants: true }], ngImport: i0 }); }
121
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: McFocusableComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i1.FocusMonitor }], target: i0.ɵɵFactoryTarget.Directive }); }
122
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.2.0", type: McFocusableComponent, inputs: { tabIndex: "tabIndex" }, queries: [{ propertyName: "focusableItems", predicate: i0.forwardRef(() => McNavbarFocusableItem), descendants: true }], ngImport: i0 }); }
122
123
  }
123
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McFocusableComponent, decorators: [{
124
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: McFocusableComponent, decorators: [{
124
125
  type: Directive
125
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i1.FocusMonitor }]; }, propDecorators: { focusableItems: [{
126
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i1.FocusMonitor }], propDecorators: { focusableItems: [{
126
127
  type: ContentChildren,
127
128
  args: [forwardRef(() => McNavbarFocusableItem), { descendants: true }]
128
129
  }], tabIndex: [{
129
130
  type: Input
130
131
  }] } });
131
132
  class McNavbarContainer {
132
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McNavbarContainer, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
133
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.5", type: McNavbarContainer, selector: "mc-navbar-container", host: { classAttribute: "mc-navbar-container" }, ngImport: i0 }); }
133
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: McNavbarContainer, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
134
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.2.0", type: McNavbarContainer, selector: "mc-navbar-container", host: { classAttribute: "mc-navbar-container" }, ngImport: i0 }); }
134
135
  }
135
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McNavbarContainer, decorators: [{
136
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: McNavbarContainer, decorators: [{
136
137
  type: Directive,
137
138
  args: [{
138
139
  selector: 'mc-navbar-container',
@@ -199,24 +200,34 @@ class McNavbar extends McFocusableComponent {
199
200
  onKeyDown(event) {
200
201
  // tslint:disable-next-line: deprecation
201
202
  const keyCode = event.keyCode;
202
- if (!event.target.attributes.getNamedItem('mcinput') &&
203
- (isVerticalMovement(event) || isHorizontalMovement(event))) {
203
+ if (!this.eventFromInput(event) && (isVerticalMovement(event) || isHorizontalMovement(event))) {
204
204
  event.preventDefault();
205
205
  }
206
206
  if (keyCode === TAB) {
207
207
  this.keyManager.tabOut.next();
208
208
  return;
209
209
  }
210
- else if (keyCode === RIGHT_ARROW) {
210
+ else if (this.eventFromInput(event) && this.cursorOnLastPosition(event) && keyCode === RIGHT_ARROW) {
211
211
  this.keyManager.setNextItemActive();
212
212
  }
213
- else if (keyCode === LEFT_ARROW) {
213
+ else if (this.eventFromInput(event) && this.cursorOnFirstPosition(event) && keyCode === LEFT_ARROW) {
214
214
  this.keyManager.setPreviousItemActive();
215
215
  }
216
- else {
216
+ else if (!this.eventFromInput(event)) {
217
217
  this.keyManager.onKeydown(event);
218
218
  }
219
219
  }
220
+ eventFromInput(event) {
221
+ return !!event.target.attributes.getNamedItem('mcinput');
222
+ }
223
+ cursorOnFirstPosition(event) {
224
+ const input = event.target;
225
+ return input.selectionStart === 0;
226
+ }
227
+ cursorOnLastPosition(event) {
228
+ const input = event.target;
229
+ return input.selectionEnd === input.value.length;
230
+ }
220
231
  collapseItems(collapseDelta) {
221
232
  let delta = collapseDelta;
222
233
  const unCollapsedItems = this.collapsableItems
@@ -240,10 +251,10 @@ class McNavbar extends McFocusableComponent {
240
251
  }
241
252
  });
242
253
  }
243
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McNavbar, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.FocusMonitor }], target: i0.ɵɵFactoryTarget.Component }); }
244
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: McNavbar, selector: "mc-navbar", host: { listeners: { "focus": "focus()", "blur": "blur()", "keydown": "onKeyDown($event)", "window:resize": "resizeStream.next($event)" }, properties: { "attr.tabindex": "tabIndex" }, classAttribute: "mc-navbar" }, queries: [{ propertyName: "rectangleElements", predicate: i0.forwardRef(function () { return McNavbarRectangleElement; }), descendants: true }, { propertyName: "navbarItems", predicate: i0.forwardRef(function () { return McNavbarItem; }), descendants: true }], usesInheritance: true, ngImport: i0, template: `<ng-content select="[mc-navbar-container], mc-navbar-container"></ng-content>`, isInline: true, styles: [".mc-navbar{display:flex;flex-direction:row;justify-content:space-between;align-items:center;position:relative}.mc-navbar-container{display:flex;flex-shrink:0;flex-direction:row;justify-content:space-between;align-items:center;position:relative}\n", ".mc-navbar-title,.mc-navbar-subtitle{display:inline-block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mc-navbar-item{box-sizing:border-box;position:relative;display:flex;align-items:center;padding-left:var(--mc-navbar-item-size-padding, 16px);padding-right:var(--mc-navbar-item-size-padding, 16px)}.mc-navbar-item .mc-badge{position:absolute}.mc-navbar-item__title{display:flex;flex-direction:column;align-self:center;min-width:0}.mc-navbar-item__container{display:flex;flex-direction:row;flex:1 1 auto;justify-content:space-between;min-width:0}.mc-navbar-item__container .mc-icon{align-self:center}.mc-navbar-item.mc-horizontal{height:var(--mc-navbar-item-size-height, 48px)}.mc-navbar-item.mc-horizontal .mc-icon{min-width:16px;min-height:16px}.mc-navbar-item.mc-horizontal .mc-navbar-item__title+.mc-icon{margin-left:var(--mc-navbar-size-right-icon-margin, 2px)}.mc-navbar-item.mc-horizontal .mc-icon+.mc-navbar-item__container{margin-left:var(--mc-navbar-size-icon-margin, 6px)}.mc-navbar-item.mc-horizontal.mc-navbar-item_collapsed .mc-navbar-item__container{display:none}.mc-navbar-item.mc-horizontal .mc-badge{top:8px;right:8px}.mc-navbar-item.mc-horizontal.mc-navbar-item_button{padding-left:8px;padding-right:8px}.mc-navbar-item.mc-vertical{height:var(--mc-navbar-item-size-height-vertical, 56px)}.mc-navbar-item.mc-vertical>.mc-icon{display:flex;justify-content:center;align-items:center;min-width:24px;min-height:24px}.mc-navbar-item.mc-vertical .mc-navbar-item__title,.mc-navbar-item.mc-vertical .mc-icon+.mc-navbar-item__title,.mc-navbar-item.mc-vertical .mc-navbar-item__title+.mc-icon{padding-left:var(--mc-vertical-navbar-size-icon-margin, 16px)}.mc-navbar-item.mc-vertical.mc-navbar-item_button{padding-left:12px;padding-right:12px}.mc-navbar-item.mc-vertical.mc-expanded .mc-badge{top:16px;right:16px}.mc-navbar-item.mc-vertical.mc-collapsed .mc-badge{top:4px;right:4px}.mc-navbar-item.mc-vertical.mc-collapsed .mc-navbar-item__title{display:none}.mc-navbar-item.mc-navbar-item_button .mc-button{flex:1}.mc-navbar-item.mc-navbar-item_button .mc-button .mc-button-wrapper{justify-content:center}.mc-navbar-item.mc-navbar-item_button .mc-button .mc-button-wrapper .mc-icon.mc-icon_left{margin-left:unset}.mc-navbar-item.mc-navbar-item_button .mc-button .mc-button-wrapper .mc-icon.mc-icon_right{margin-right:unset}a.mc-navbar-item,a.mc-navbar-title{text-decoration:none}.mc-navbar-item .mc-navbar-item__overlay,.mc-navbar-brand .mc-navbar-item__overlay,.mc-navbar-toggle .mc-navbar-item__overlay{position:absolute;inset:0}.mc-navbar-item [mc-button],.mc-navbar-brand [mc-button],.mc-navbar-toggle [mc-button]{z-index:1}\n", ".mc-navbar-logo{display:flex}.mc-navbar-brand{position:relative;display:flex;align-items:center}.mc-navbar-brand .mc-navbar-title{cursor:pointer}a.mc-navbar-brand{text-decoration:none}.mc-navbar-brand.mc-horizontal{height:var(--mc-navbar-item-size-height, 48px);padding-right:var(--mc-navbar-brand-size-margin-right, 24px)}.mc-navbar-brand.mc-horizontal .mc-navbar-title{padding-left:var(--mc-navbar-brand-size-padding, 12px);padding-right:0}.mc-navbar-brand.mc-vertical .mc-navbar-logo{flex-direction:column;justify-content:center;align-items:center;min-height:var(--mc-navbar-item-size-height-vertical, 56px);min-width:var(--mc-vertical-navbar-size-states-collapsed-width, 56px)}.mc-navbar-brand.mc-vertical .mc-navbar-title{display:flex;align-items:center;height:var(--mc-navbar-item-size-height-vertical, 56px);padding-left:0}.mc-navbar-brand.mc-vertical.mc-expanded{align-items:unset}.mc-navbar-brand.mc-vertical.mc-collapsed .mc-navbar-title{display:none}\n", ".mc-navbar-divider{display:block}.mc-navbar-divider.mc-vertical{height:1px;margin:8px 12px}.mc-navbar-divider.mc-horizontal{width:1px;height:28px;margin-left:8px;margin-right:8px}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
254
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: McNavbar, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.FocusMonitor }], target: i0.ɵɵFactoryTarget.Component }); }
255
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.0", type: McNavbar, selector: "mc-navbar", host: { listeners: { "focus": "focus()", "blur": "blur()", "keydown": "onKeyDown($event)", "window:resize": "resizeStream.next($event)" }, properties: { "attr.tabindex": "tabIndex" }, classAttribute: "mc-navbar" }, queries: [{ propertyName: "rectangleElements", predicate: i0.forwardRef(() => McNavbarRectangleElement), descendants: true }, { propertyName: "navbarItems", predicate: i0.forwardRef(() => McNavbarItem), descendants: true }], usesInheritance: true, ngImport: i0, template: `<ng-content select="[mc-navbar-container], mc-navbar-container"></ng-content>`, isInline: true, styles: [".mc-navbar{display:flex;flex-direction:row;justify-content:space-between;align-items:center;position:relative}.mc-navbar-container{display:flex;flex-shrink:0;flex-direction:row;justify-content:space-between;align-items:center;position:relative}\n", ".mc-navbar-title,.mc-navbar-subtitle{display:inline-block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mc-navbar-item{box-sizing:border-box;position:relative;display:flex;align-items:center;padding-left:var(--mc-navbar-item-size-padding, 16px);padding-right:var(--mc-navbar-item-size-padding, 16px)}.mc-navbar-item .mc-badge{position:absolute}.mc-navbar-item__title{display:flex;flex-direction:column;align-self:center;min-width:0}.mc-navbar-item__container{display:flex;flex-direction:row;flex:1 1 auto;justify-content:space-between;min-width:0}.mc-navbar-item__container .mc-icon{align-self:center}.mc-navbar-item.mc-horizontal{height:var(--mc-navbar-item-size-height, 48px)}.mc-navbar-item.mc-horizontal .mc-icon{min-width:16px;min-height:16px}.mc-navbar-item.mc-horizontal .mc-navbar-item__title+.mc-icon{margin-left:var(--mc-navbar-size-right-icon-margin, 2px)}.mc-navbar-item.mc-horizontal .mc-icon+.mc-navbar-item__container{margin-left:var(--mc-navbar-size-icon-margin, 6px)}.mc-navbar-item.mc-horizontal.mc-navbar-item_collapsed .mc-navbar-item__container{display:none}.mc-navbar-item.mc-horizontal .mc-badge{top:8px;right:8px}.mc-navbar-item.mc-horizontal.mc-navbar-item_has-nested{padding-left:8px;padding-right:8px}.mc-navbar-item.mc-vertical{height:var(--mc-navbar-item-size-height-vertical, 56px)}.mc-navbar-item.mc-vertical>.mc-icon{display:flex;justify-content:center;align-items:center;min-width:24px;min-height:24px}.mc-navbar-item.mc-vertical .mc-navbar-item__title,.mc-navbar-item.mc-vertical .mc-icon+.mc-navbar-item__title,.mc-navbar-item.mc-vertical .mc-navbar-item__title+.mc-icon{padding-left:var(--mc-vertical-navbar-size-icon-margin, 16px)}.mc-navbar-item.mc-vertical.mc-navbar-item_has-nested{padding-left:12px;padding-right:12px}.mc-navbar-item.mc-vertical.mc-expanded .mc-badge{top:16px;right:16px}.mc-navbar-item.mc-vertical.mc-collapsed .mc-badge{top:4px;right:4px}.mc-navbar-item.mc-vertical.mc-collapsed .mc-navbar-item__title{display:none}.mc-navbar-item.mc-navbar-item_has-nested .mc-button{flex:1}.mc-navbar-item.mc-navbar-item_has-nested .mc-button .mc-button-wrapper{justify-content:center}.mc-navbar-item.mc-navbar-item_has-nested .mc-button .mc-button-wrapper .mc-icon.mc-icon_left{margin-left:unset}.mc-navbar-item.mc-navbar-item_has-nested .mc-button .mc-button-wrapper .mc-icon.mc-icon_right{margin-right:unset}a.mc-navbar-item,a.mc-navbar-title{text-decoration:none}.mc-navbar-item .mc-navbar-item__overlay,.mc-navbar-brand .mc-navbar-item__overlay,.mc-navbar-toggle .mc-navbar-item__overlay{position:absolute;inset:0}.mc-navbar-item [mc-button],.mc-navbar-brand [mc-button],.mc-navbar-toggle [mc-button]{z-index:1}.mc-navbar-item.mc-navbar-item_has-nested .mc-navbar-item__overlay{display:none}\n", ".mc-navbar-logo{display:flex}.mc-navbar-brand{position:relative;display:flex;align-items:center}.mc-navbar-brand .mc-navbar-title{cursor:pointer}a.mc-navbar-brand{text-decoration:none}.mc-navbar-brand.mc-horizontal{height:var(--mc-navbar-item-size-height, 48px);padding-right:var(--mc-navbar-brand-size-margin-right, 24px)}.mc-navbar-brand.mc-horizontal .mc-navbar-title{padding-left:var(--mc-navbar-brand-size-padding, 12px);padding-right:0}.mc-navbar-brand.mc-vertical .mc-navbar-logo{flex-direction:column;justify-content:center;align-items:center;min-height:var(--mc-navbar-item-size-height-vertical, 56px);min-width:var(--mc-vertical-navbar-size-states-collapsed-width, 56px)}.mc-navbar-brand.mc-vertical .mc-navbar-title{display:flex;align-items:center;height:var(--mc-navbar-item-size-height-vertical, 56px);padding-left:0}.mc-navbar-brand.mc-vertical.mc-expanded{align-items:unset}.mc-navbar-brand.mc-vertical.mc-collapsed .mc-navbar-title{display:none}\n", ".mc-navbar-divider{display:block}.mc-navbar-divider.mc-vertical{height:1px;margin:8px 12px}.mc-navbar-divider.mc-horizontal{width:1px;height:28px;margin-left:8px;margin-right:8px}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
245
256
  }
246
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McNavbar, decorators: [{
257
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: McNavbar, decorators: [{
247
258
  type: Component,
248
259
  args: [{ selector: 'mc-navbar', template: `<ng-content select="[mc-navbar-container], mc-navbar-container"></ng-content>`, host: {
249
260
  class: 'mc-navbar',
@@ -252,8 +263,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
252
263
  '(blur)': 'blur()',
253
264
  '(keydown)': 'onKeyDown($event)',
254
265
  '(window:resize)': 'resizeStream.next($event)'
255
- }, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, styles: [".mc-navbar{display:flex;flex-direction:row;justify-content:space-between;align-items:center;position:relative}.mc-navbar-container{display:flex;flex-shrink:0;flex-direction:row;justify-content:space-between;align-items:center;position:relative}\n", ".mc-navbar-title,.mc-navbar-subtitle{display:inline-block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mc-navbar-item{box-sizing:border-box;position:relative;display:flex;align-items:center;padding-left:var(--mc-navbar-item-size-padding, 16px);padding-right:var(--mc-navbar-item-size-padding, 16px)}.mc-navbar-item .mc-badge{position:absolute}.mc-navbar-item__title{display:flex;flex-direction:column;align-self:center;min-width:0}.mc-navbar-item__container{display:flex;flex-direction:row;flex:1 1 auto;justify-content:space-between;min-width:0}.mc-navbar-item__container .mc-icon{align-self:center}.mc-navbar-item.mc-horizontal{height:var(--mc-navbar-item-size-height, 48px)}.mc-navbar-item.mc-horizontal .mc-icon{min-width:16px;min-height:16px}.mc-navbar-item.mc-horizontal .mc-navbar-item__title+.mc-icon{margin-left:var(--mc-navbar-size-right-icon-margin, 2px)}.mc-navbar-item.mc-horizontal .mc-icon+.mc-navbar-item__container{margin-left:var(--mc-navbar-size-icon-margin, 6px)}.mc-navbar-item.mc-horizontal.mc-navbar-item_collapsed .mc-navbar-item__container{display:none}.mc-navbar-item.mc-horizontal .mc-badge{top:8px;right:8px}.mc-navbar-item.mc-horizontal.mc-navbar-item_button{padding-left:8px;padding-right:8px}.mc-navbar-item.mc-vertical{height:var(--mc-navbar-item-size-height-vertical, 56px)}.mc-navbar-item.mc-vertical>.mc-icon{display:flex;justify-content:center;align-items:center;min-width:24px;min-height:24px}.mc-navbar-item.mc-vertical .mc-navbar-item__title,.mc-navbar-item.mc-vertical .mc-icon+.mc-navbar-item__title,.mc-navbar-item.mc-vertical .mc-navbar-item__title+.mc-icon{padding-left:var(--mc-vertical-navbar-size-icon-margin, 16px)}.mc-navbar-item.mc-vertical.mc-navbar-item_button{padding-left:12px;padding-right:12px}.mc-navbar-item.mc-vertical.mc-expanded .mc-badge{top:16px;right:16px}.mc-navbar-item.mc-vertical.mc-collapsed .mc-badge{top:4px;right:4px}.mc-navbar-item.mc-vertical.mc-collapsed .mc-navbar-item__title{display:none}.mc-navbar-item.mc-navbar-item_button .mc-button{flex:1}.mc-navbar-item.mc-navbar-item_button .mc-button .mc-button-wrapper{justify-content:center}.mc-navbar-item.mc-navbar-item_button .mc-button .mc-button-wrapper .mc-icon.mc-icon_left{margin-left:unset}.mc-navbar-item.mc-navbar-item_button .mc-button .mc-button-wrapper .mc-icon.mc-icon_right{margin-right:unset}a.mc-navbar-item,a.mc-navbar-title{text-decoration:none}.mc-navbar-item .mc-navbar-item__overlay,.mc-navbar-brand .mc-navbar-item__overlay,.mc-navbar-toggle .mc-navbar-item__overlay{position:absolute;inset:0}.mc-navbar-item [mc-button],.mc-navbar-brand [mc-button],.mc-navbar-toggle [mc-button]{z-index:1}\n", ".mc-navbar-logo{display:flex}.mc-navbar-brand{position:relative;display:flex;align-items:center}.mc-navbar-brand .mc-navbar-title{cursor:pointer}a.mc-navbar-brand{text-decoration:none}.mc-navbar-brand.mc-horizontal{height:var(--mc-navbar-item-size-height, 48px);padding-right:var(--mc-navbar-brand-size-margin-right, 24px)}.mc-navbar-brand.mc-horizontal .mc-navbar-title{padding-left:var(--mc-navbar-brand-size-padding, 12px);padding-right:0}.mc-navbar-brand.mc-vertical .mc-navbar-logo{flex-direction:column;justify-content:center;align-items:center;min-height:var(--mc-navbar-item-size-height-vertical, 56px);min-width:var(--mc-vertical-navbar-size-states-collapsed-width, 56px)}.mc-navbar-brand.mc-vertical .mc-navbar-title{display:flex;align-items:center;height:var(--mc-navbar-item-size-height-vertical, 56px);padding-left:0}.mc-navbar-brand.mc-vertical.mc-expanded{align-items:unset}.mc-navbar-brand.mc-vertical.mc-collapsed .mc-navbar-title{display:none}\n", ".mc-navbar-divider{display:block}.mc-navbar-divider.mc-vertical{height:1px;margin:8px 12px}.mc-navbar-divider.mc-horizontal{width:1px;height:28px;margin-left:8px;margin-right:8px}\n"] }]
256
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.FocusMonitor }]; }, propDecorators: { rectangleElements: [{
266
+ }, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, styles: [".mc-navbar{display:flex;flex-direction:row;justify-content:space-between;align-items:center;position:relative}.mc-navbar-container{display:flex;flex-shrink:0;flex-direction:row;justify-content:space-between;align-items:center;position:relative}\n", ".mc-navbar-title,.mc-navbar-subtitle{display:inline-block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mc-navbar-item{box-sizing:border-box;position:relative;display:flex;align-items:center;padding-left:var(--mc-navbar-item-size-padding, 16px);padding-right:var(--mc-navbar-item-size-padding, 16px)}.mc-navbar-item .mc-badge{position:absolute}.mc-navbar-item__title{display:flex;flex-direction:column;align-self:center;min-width:0}.mc-navbar-item__container{display:flex;flex-direction:row;flex:1 1 auto;justify-content:space-between;min-width:0}.mc-navbar-item__container .mc-icon{align-self:center}.mc-navbar-item.mc-horizontal{height:var(--mc-navbar-item-size-height, 48px)}.mc-navbar-item.mc-horizontal .mc-icon{min-width:16px;min-height:16px}.mc-navbar-item.mc-horizontal .mc-navbar-item__title+.mc-icon{margin-left:var(--mc-navbar-size-right-icon-margin, 2px)}.mc-navbar-item.mc-horizontal .mc-icon+.mc-navbar-item__container{margin-left:var(--mc-navbar-size-icon-margin, 6px)}.mc-navbar-item.mc-horizontal.mc-navbar-item_collapsed .mc-navbar-item__container{display:none}.mc-navbar-item.mc-horizontal .mc-badge{top:8px;right:8px}.mc-navbar-item.mc-horizontal.mc-navbar-item_has-nested{padding-left:8px;padding-right:8px}.mc-navbar-item.mc-vertical{height:var(--mc-navbar-item-size-height-vertical, 56px)}.mc-navbar-item.mc-vertical>.mc-icon{display:flex;justify-content:center;align-items:center;min-width:24px;min-height:24px}.mc-navbar-item.mc-vertical .mc-navbar-item__title,.mc-navbar-item.mc-vertical .mc-icon+.mc-navbar-item__title,.mc-navbar-item.mc-vertical .mc-navbar-item__title+.mc-icon{padding-left:var(--mc-vertical-navbar-size-icon-margin, 16px)}.mc-navbar-item.mc-vertical.mc-navbar-item_has-nested{padding-left:12px;padding-right:12px}.mc-navbar-item.mc-vertical.mc-expanded .mc-badge{top:16px;right:16px}.mc-navbar-item.mc-vertical.mc-collapsed .mc-badge{top:4px;right:4px}.mc-navbar-item.mc-vertical.mc-collapsed .mc-navbar-item__title{display:none}.mc-navbar-item.mc-navbar-item_has-nested .mc-button{flex:1}.mc-navbar-item.mc-navbar-item_has-nested .mc-button .mc-button-wrapper{justify-content:center}.mc-navbar-item.mc-navbar-item_has-nested .mc-button .mc-button-wrapper .mc-icon.mc-icon_left{margin-left:unset}.mc-navbar-item.mc-navbar-item_has-nested .mc-button .mc-button-wrapper .mc-icon.mc-icon_right{margin-right:unset}a.mc-navbar-item,a.mc-navbar-title{text-decoration:none}.mc-navbar-item .mc-navbar-item__overlay,.mc-navbar-brand .mc-navbar-item__overlay,.mc-navbar-toggle .mc-navbar-item__overlay{position:absolute;inset:0}.mc-navbar-item [mc-button],.mc-navbar-brand [mc-button],.mc-navbar-toggle [mc-button]{z-index:1}.mc-navbar-item.mc-navbar-item_has-nested .mc-navbar-item__overlay{display:none}\n", ".mc-navbar-logo{display:flex}.mc-navbar-brand{position:relative;display:flex;align-items:center}.mc-navbar-brand .mc-navbar-title{cursor:pointer}a.mc-navbar-brand{text-decoration:none}.mc-navbar-brand.mc-horizontal{height:var(--mc-navbar-item-size-height, 48px);padding-right:var(--mc-navbar-brand-size-margin-right, 24px)}.mc-navbar-brand.mc-horizontal .mc-navbar-title{padding-left:var(--mc-navbar-brand-size-padding, 12px);padding-right:0}.mc-navbar-brand.mc-vertical .mc-navbar-logo{flex-direction:column;justify-content:center;align-items:center;min-height:var(--mc-navbar-item-size-height-vertical, 56px);min-width:var(--mc-vertical-navbar-size-states-collapsed-width, 56px)}.mc-navbar-brand.mc-vertical .mc-navbar-title{display:flex;align-items:center;height:var(--mc-navbar-item-size-height-vertical, 56px);padding-left:0}.mc-navbar-brand.mc-vertical.mc-expanded{align-items:unset}.mc-navbar-brand.mc-vertical.mc-collapsed .mc-navbar-title{display:none}\n", ".mc-navbar-divider{display:block}.mc-navbar-divider.mc-vertical{height:1px;margin:8px 12px}.mc-navbar-divider.mc-horizontal{width:1px;height:28px;margin-left:8px;margin-right:8px}\n"] }]
267
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.FocusMonitor }], propDecorators: { rectangleElements: [{
257
268
  type: ContentChildren,
258
269
  args: [forwardRef(() => McNavbarRectangleElement), { descendants: true }]
259
270
  }], navbarItems: [{
@@ -332,8 +343,8 @@ class McVerticalNavbar extends McFocusableComponent {
332
343
  this.keyManager.onKeydown(event);
333
344
  }
334
345
  }
335
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McVerticalNavbar, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.FocusMonitor }], target: i0.ɵɵFactoryTarget.Component }); }
336
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: McVerticalNavbar, selector: "mc-vertical-navbar", inputs: { expanded: "expanded" }, host: { listeners: { "focus": "focus()", "blur": "blur()", "keydown": "onKeyDown($event)" }, properties: { "attr.tabindex": "tabIndex" }, classAttribute: "mc-vertical-navbar" }, queries: [{ propertyName: "bento", first: true, predicate: i0.forwardRef(function () { return McNavbarBento; }), descendants: true }, { propertyName: "rectangleElements", predicate: i0.forwardRef(function () { return McNavbarRectangleElement; }), descendants: true }, { propertyName: "items", predicate: i0.forwardRef(function () { return McNavbarItem; }), descendants: true }], exportAs: ["McVerticalNavbar"], usesInheritance: true, ngImport: i0, template: `
346
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: McVerticalNavbar, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.FocusMonitor }], target: i0.ɵɵFactoryTarget.Component }); }
347
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.0", type: McVerticalNavbar, selector: "mc-vertical-navbar", inputs: { expanded: "expanded" }, host: { listeners: { "focus": "focus()", "blur": "blur()", "keydown": "onKeyDown($event)" }, properties: { "attr.tabindex": "tabIndex" }, classAttribute: "mc-vertical-navbar" }, queries: [{ propertyName: "bento", first: true, predicate: i0.forwardRef(() => McNavbarBento), descendants: true }, { propertyName: "rectangleElements", predicate: i0.forwardRef(() => McNavbarRectangleElement), descendants: true }, { propertyName: "items", predicate: i0.forwardRef(() => McNavbarItem), descendants: true }], exportAs: ["McVerticalNavbar"], usesInheritance: true, ngImport: i0, template: `
337
348
  <div class="mc-vertical-navbar__container"
338
349
  [@toggle]="expanded"
339
350
  (@toggle.done)="animationDone.next()"
@@ -343,9 +354,9 @@ class McVerticalNavbar extends McFocusableComponent {
343
354
  <ng-content select="[mc-navbar-container], mc-navbar-container"></ng-content>
344
355
  <ng-content select="[mc-navbar-toggle], mc-navbar-toggle"></ng-content>
345
356
  </div>
346
- `, isInline: true, styles: [".mc-vertical-navbar{position:relative;min-width:var(--mc-vertical-navbar-size-states-collapsed-width, 56px);height:100%}.mc-vertical-navbar .mc-navbar-container{flex-direction:column;align-items:unset}.mc-vertical-navbar .mc-vertical-navbar__container{display:flex;flex-direction:column;justify-content:space-between;position:absolute;z-index:998;height:100%}.mc-vertical-navbar .mc-vertical-navbar__container.mc-collapsed{width:var(--mc-vertical-navbar-size-states-collapsed-width, 56px)}.mc-vertical-navbar .mc-vertical-navbar__container.mc-expanded{width:var(--mc-vertical-navbar-size-states-expanded-width, 240px)}\n", ".mc-navbar-title,.mc-navbar-subtitle{display:inline-block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mc-navbar-item{box-sizing:border-box;position:relative;display:flex;align-items:center;padding-left:var(--mc-navbar-item-size-padding, 16px);padding-right:var(--mc-navbar-item-size-padding, 16px)}.mc-navbar-item .mc-badge{position:absolute}.mc-navbar-item__title{display:flex;flex-direction:column;align-self:center;min-width:0}.mc-navbar-item__container{display:flex;flex-direction:row;flex:1 1 auto;justify-content:space-between;min-width:0}.mc-navbar-item__container .mc-icon{align-self:center}.mc-navbar-item.mc-horizontal{height:var(--mc-navbar-item-size-height, 48px)}.mc-navbar-item.mc-horizontal .mc-icon{min-width:16px;min-height:16px}.mc-navbar-item.mc-horizontal .mc-navbar-item__title+.mc-icon{margin-left:var(--mc-navbar-size-right-icon-margin, 2px)}.mc-navbar-item.mc-horizontal .mc-icon+.mc-navbar-item__container{margin-left:var(--mc-navbar-size-icon-margin, 6px)}.mc-navbar-item.mc-horizontal.mc-navbar-item_collapsed .mc-navbar-item__container{display:none}.mc-navbar-item.mc-horizontal .mc-badge{top:8px;right:8px}.mc-navbar-item.mc-horizontal.mc-navbar-item_button{padding-left:8px;padding-right:8px}.mc-navbar-item.mc-vertical{height:var(--mc-navbar-item-size-height-vertical, 56px)}.mc-navbar-item.mc-vertical>.mc-icon{display:flex;justify-content:center;align-items:center;min-width:24px;min-height:24px}.mc-navbar-item.mc-vertical .mc-navbar-item__title,.mc-navbar-item.mc-vertical .mc-icon+.mc-navbar-item__title,.mc-navbar-item.mc-vertical .mc-navbar-item__title+.mc-icon{padding-left:var(--mc-vertical-navbar-size-icon-margin, 16px)}.mc-navbar-item.mc-vertical.mc-navbar-item_button{padding-left:12px;padding-right:12px}.mc-navbar-item.mc-vertical.mc-expanded .mc-badge{top:16px;right:16px}.mc-navbar-item.mc-vertical.mc-collapsed .mc-badge{top:4px;right:4px}.mc-navbar-item.mc-vertical.mc-collapsed .mc-navbar-item__title{display:none}.mc-navbar-item.mc-navbar-item_button .mc-button{flex:1}.mc-navbar-item.mc-navbar-item_button .mc-button .mc-button-wrapper{justify-content:center}.mc-navbar-item.mc-navbar-item_button .mc-button .mc-button-wrapper .mc-icon.mc-icon_left{margin-left:unset}.mc-navbar-item.mc-navbar-item_button .mc-button .mc-button-wrapper .mc-icon.mc-icon_right{margin-right:unset}a.mc-navbar-item,a.mc-navbar-title{text-decoration:none}.mc-navbar-item .mc-navbar-item__overlay,.mc-navbar-brand .mc-navbar-item__overlay,.mc-navbar-toggle .mc-navbar-item__overlay{position:absolute;inset:0}.mc-navbar-item [mc-button],.mc-navbar-brand [mc-button],.mc-navbar-toggle [mc-button]{z-index:1}\n", ".mc-navbar-logo{display:flex}.mc-navbar-brand{position:relative;display:flex;align-items:center}.mc-navbar-brand .mc-navbar-title{cursor:pointer}a.mc-navbar-brand{text-decoration:none}.mc-navbar-brand.mc-horizontal{height:var(--mc-navbar-item-size-height, 48px);padding-right:var(--mc-navbar-brand-size-margin-right, 24px)}.mc-navbar-brand.mc-horizontal .mc-navbar-title{padding-left:var(--mc-navbar-brand-size-padding, 12px);padding-right:0}.mc-navbar-brand.mc-vertical .mc-navbar-logo{flex-direction:column;justify-content:center;align-items:center;min-height:var(--mc-navbar-item-size-height-vertical, 56px);min-width:var(--mc-vertical-navbar-size-states-collapsed-width, 56px)}.mc-navbar-brand.mc-vertical .mc-navbar-title{display:flex;align-items:center;height:var(--mc-navbar-item-size-height-vertical, 56px);padding-left:0}.mc-navbar-brand.mc-vertical.mc-expanded{align-items:unset}.mc-navbar-brand.mc-vertical.mc-collapsed .mc-navbar-title{display:none}\n", ".mc-navbar-divider{display:block}.mc-navbar-divider.mc-vertical{height:1px;margin:8px 12px}.mc-navbar-divider.mc-horizontal{width:1px;height:28px;margin-left:8px;margin-right:8px}\n"], animations: [toggleVerticalNavbarAnimation()], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
357
+ `, isInline: true, styles: [".mc-vertical-navbar{position:relative;min-width:var(--mc-vertical-navbar-size-states-collapsed-width, 56px);height:100%}.mc-vertical-navbar .mc-navbar-container{flex-direction:column;align-items:unset}.mc-vertical-navbar .mc-vertical-navbar__container{display:flex;flex-direction:column;justify-content:space-between;position:absolute;z-index:998;height:100%}.mc-vertical-navbar .mc-vertical-navbar__container.mc-collapsed{width:var(--mc-vertical-navbar-size-states-collapsed-width, 56px)}.mc-vertical-navbar .mc-vertical-navbar__container.mc-expanded{width:var(--mc-vertical-navbar-size-states-expanded-width, 240px)}\n", ".mc-navbar-title,.mc-navbar-subtitle{display:inline-block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mc-navbar-item{box-sizing:border-box;position:relative;display:flex;align-items:center;padding-left:var(--mc-navbar-item-size-padding, 16px);padding-right:var(--mc-navbar-item-size-padding, 16px)}.mc-navbar-item .mc-badge{position:absolute}.mc-navbar-item__title{display:flex;flex-direction:column;align-self:center;min-width:0}.mc-navbar-item__container{display:flex;flex-direction:row;flex:1 1 auto;justify-content:space-between;min-width:0}.mc-navbar-item__container .mc-icon{align-self:center}.mc-navbar-item.mc-horizontal{height:var(--mc-navbar-item-size-height, 48px)}.mc-navbar-item.mc-horizontal .mc-icon{min-width:16px;min-height:16px}.mc-navbar-item.mc-horizontal .mc-navbar-item__title+.mc-icon{margin-left:var(--mc-navbar-size-right-icon-margin, 2px)}.mc-navbar-item.mc-horizontal .mc-icon+.mc-navbar-item__container{margin-left:var(--mc-navbar-size-icon-margin, 6px)}.mc-navbar-item.mc-horizontal.mc-navbar-item_collapsed .mc-navbar-item__container{display:none}.mc-navbar-item.mc-horizontal .mc-badge{top:8px;right:8px}.mc-navbar-item.mc-horizontal.mc-navbar-item_has-nested{padding-left:8px;padding-right:8px}.mc-navbar-item.mc-vertical{height:var(--mc-navbar-item-size-height-vertical, 56px)}.mc-navbar-item.mc-vertical>.mc-icon{display:flex;justify-content:center;align-items:center;min-width:24px;min-height:24px}.mc-navbar-item.mc-vertical .mc-navbar-item__title,.mc-navbar-item.mc-vertical .mc-icon+.mc-navbar-item__title,.mc-navbar-item.mc-vertical .mc-navbar-item__title+.mc-icon{padding-left:var(--mc-vertical-navbar-size-icon-margin, 16px)}.mc-navbar-item.mc-vertical.mc-navbar-item_has-nested{padding-left:12px;padding-right:12px}.mc-navbar-item.mc-vertical.mc-expanded .mc-badge{top:16px;right:16px}.mc-navbar-item.mc-vertical.mc-collapsed .mc-badge{top:4px;right:4px}.mc-navbar-item.mc-vertical.mc-collapsed .mc-navbar-item__title{display:none}.mc-navbar-item.mc-navbar-item_has-nested .mc-button{flex:1}.mc-navbar-item.mc-navbar-item_has-nested .mc-button .mc-button-wrapper{justify-content:center}.mc-navbar-item.mc-navbar-item_has-nested .mc-button .mc-button-wrapper .mc-icon.mc-icon_left{margin-left:unset}.mc-navbar-item.mc-navbar-item_has-nested .mc-button .mc-button-wrapper .mc-icon.mc-icon_right{margin-right:unset}a.mc-navbar-item,a.mc-navbar-title{text-decoration:none}.mc-navbar-item .mc-navbar-item__overlay,.mc-navbar-brand .mc-navbar-item__overlay,.mc-navbar-toggle .mc-navbar-item__overlay{position:absolute;inset:0}.mc-navbar-item [mc-button],.mc-navbar-brand [mc-button],.mc-navbar-toggle [mc-button]{z-index:1}.mc-navbar-item.mc-navbar-item_has-nested .mc-navbar-item__overlay{display:none}\n", ".mc-navbar-logo{display:flex}.mc-navbar-brand{position:relative;display:flex;align-items:center}.mc-navbar-brand .mc-navbar-title{cursor:pointer}a.mc-navbar-brand{text-decoration:none}.mc-navbar-brand.mc-horizontal{height:var(--mc-navbar-item-size-height, 48px);padding-right:var(--mc-navbar-brand-size-margin-right, 24px)}.mc-navbar-brand.mc-horizontal .mc-navbar-title{padding-left:var(--mc-navbar-brand-size-padding, 12px);padding-right:0}.mc-navbar-brand.mc-vertical .mc-navbar-logo{flex-direction:column;justify-content:center;align-items:center;min-height:var(--mc-navbar-item-size-height-vertical, 56px);min-width:var(--mc-vertical-navbar-size-states-collapsed-width, 56px)}.mc-navbar-brand.mc-vertical .mc-navbar-title{display:flex;align-items:center;height:var(--mc-navbar-item-size-height-vertical, 56px);padding-left:0}.mc-navbar-brand.mc-vertical.mc-expanded{align-items:unset}.mc-navbar-brand.mc-vertical.mc-collapsed .mc-navbar-title{display:none}\n", ".mc-navbar-divider{display:block}.mc-navbar-divider.mc-vertical{height:1px;margin:8px 12px}.mc-navbar-divider.mc-horizontal{width:1px;height:28px;margin-left:8px;margin-right:8px}\n"], animations: [toggleVerticalNavbarAnimation()], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
347
358
  }
348
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McVerticalNavbar, decorators: [{
359
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: McVerticalNavbar, decorators: [{
349
360
  type: Component,
350
361
  args: [{ selector: 'mc-vertical-navbar', exportAs: 'McVerticalNavbar', template: `
351
362
  <div class="mc-vertical-navbar__container"
@@ -363,8 +374,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
363
374
  '(focus)': 'focus()',
364
375
  '(blur)': 'blur()',
365
376
  '(keydown)': 'onKeyDown($event)'
366
- }, animations: [toggleVerticalNavbarAnimation()], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, styles: [".mc-vertical-navbar{position:relative;min-width:var(--mc-vertical-navbar-size-states-collapsed-width, 56px);height:100%}.mc-vertical-navbar .mc-navbar-container{flex-direction:column;align-items:unset}.mc-vertical-navbar .mc-vertical-navbar__container{display:flex;flex-direction:column;justify-content:space-between;position:absolute;z-index:998;height:100%}.mc-vertical-navbar .mc-vertical-navbar__container.mc-collapsed{width:var(--mc-vertical-navbar-size-states-collapsed-width, 56px)}.mc-vertical-navbar .mc-vertical-navbar__container.mc-expanded{width:var(--mc-vertical-navbar-size-states-expanded-width, 240px)}\n", ".mc-navbar-title,.mc-navbar-subtitle{display:inline-block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mc-navbar-item{box-sizing:border-box;position:relative;display:flex;align-items:center;padding-left:var(--mc-navbar-item-size-padding, 16px);padding-right:var(--mc-navbar-item-size-padding, 16px)}.mc-navbar-item .mc-badge{position:absolute}.mc-navbar-item__title{display:flex;flex-direction:column;align-self:center;min-width:0}.mc-navbar-item__container{display:flex;flex-direction:row;flex:1 1 auto;justify-content:space-between;min-width:0}.mc-navbar-item__container .mc-icon{align-self:center}.mc-navbar-item.mc-horizontal{height:var(--mc-navbar-item-size-height, 48px)}.mc-navbar-item.mc-horizontal .mc-icon{min-width:16px;min-height:16px}.mc-navbar-item.mc-horizontal .mc-navbar-item__title+.mc-icon{margin-left:var(--mc-navbar-size-right-icon-margin, 2px)}.mc-navbar-item.mc-horizontal .mc-icon+.mc-navbar-item__container{margin-left:var(--mc-navbar-size-icon-margin, 6px)}.mc-navbar-item.mc-horizontal.mc-navbar-item_collapsed .mc-navbar-item__container{display:none}.mc-navbar-item.mc-horizontal .mc-badge{top:8px;right:8px}.mc-navbar-item.mc-horizontal.mc-navbar-item_button{padding-left:8px;padding-right:8px}.mc-navbar-item.mc-vertical{height:var(--mc-navbar-item-size-height-vertical, 56px)}.mc-navbar-item.mc-vertical>.mc-icon{display:flex;justify-content:center;align-items:center;min-width:24px;min-height:24px}.mc-navbar-item.mc-vertical .mc-navbar-item__title,.mc-navbar-item.mc-vertical .mc-icon+.mc-navbar-item__title,.mc-navbar-item.mc-vertical .mc-navbar-item__title+.mc-icon{padding-left:var(--mc-vertical-navbar-size-icon-margin, 16px)}.mc-navbar-item.mc-vertical.mc-navbar-item_button{padding-left:12px;padding-right:12px}.mc-navbar-item.mc-vertical.mc-expanded .mc-badge{top:16px;right:16px}.mc-navbar-item.mc-vertical.mc-collapsed .mc-badge{top:4px;right:4px}.mc-navbar-item.mc-vertical.mc-collapsed .mc-navbar-item__title{display:none}.mc-navbar-item.mc-navbar-item_button .mc-button{flex:1}.mc-navbar-item.mc-navbar-item_button .mc-button .mc-button-wrapper{justify-content:center}.mc-navbar-item.mc-navbar-item_button .mc-button .mc-button-wrapper .mc-icon.mc-icon_left{margin-left:unset}.mc-navbar-item.mc-navbar-item_button .mc-button .mc-button-wrapper .mc-icon.mc-icon_right{margin-right:unset}a.mc-navbar-item,a.mc-navbar-title{text-decoration:none}.mc-navbar-item .mc-navbar-item__overlay,.mc-navbar-brand .mc-navbar-item__overlay,.mc-navbar-toggle .mc-navbar-item__overlay{position:absolute;inset:0}.mc-navbar-item [mc-button],.mc-navbar-brand [mc-button],.mc-navbar-toggle [mc-button]{z-index:1}\n", ".mc-navbar-logo{display:flex}.mc-navbar-brand{position:relative;display:flex;align-items:center}.mc-navbar-brand .mc-navbar-title{cursor:pointer}a.mc-navbar-brand{text-decoration:none}.mc-navbar-brand.mc-horizontal{height:var(--mc-navbar-item-size-height, 48px);padding-right:var(--mc-navbar-brand-size-margin-right, 24px)}.mc-navbar-brand.mc-horizontal .mc-navbar-title{padding-left:var(--mc-navbar-brand-size-padding, 12px);padding-right:0}.mc-navbar-brand.mc-vertical .mc-navbar-logo{flex-direction:column;justify-content:center;align-items:center;min-height:var(--mc-navbar-item-size-height-vertical, 56px);min-width:var(--mc-vertical-navbar-size-states-collapsed-width, 56px)}.mc-navbar-brand.mc-vertical .mc-navbar-title{display:flex;align-items:center;height:var(--mc-navbar-item-size-height-vertical, 56px);padding-left:0}.mc-navbar-brand.mc-vertical.mc-expanded{align-items:unset}.mc-navbar-brand.mc-vertical.mc-collapsed .mc-navbar-title{display:none}\n", ".mc-navbar-divider{display:block}.mc-navbar-divider.mc-vertical{height:1px;margin:8px 12px}.mc-navbar-divider.mc-horizontal{width:1px;height:28px;margin-left:8px;margin-right:8px}\n"] }]
367
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.FocusMonitor }]; }, propDecorators: { rectangleElements: [{
377
+ }, animations: [toggleVerticalNavbarAnimation()], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, styles: [".mc-vertical-navbar{position:relative;min-width:var(--mc-vertical-navbar-size-states-collapsed-width, 56px);height:100%}.mc-vertical-navbar .mc-navbar-container{flex-direction:column;align-items:unset}.mc-vertical-navbar .mc-vertical-navbar__container{display:flex;flex-direction:column;justify-content:space-between;position:absolute;z-index:998;height:100%}.mc-vertical-navbar .mc-vertical-navbar__container.mc-collapsed{width:var(--mc-vertical-navbar-size-states-collapsed-width, 56px)}.mc-vertical-navbar .mc-vertical-navbar__container.mc-expanded{width:var(--mc-vertical-navbar-size-states-expanded-width, 240px)}\n", ".mc-navbar-title,.mc-navbar-subtitle{display:inline-block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mc-navbar-item{box-sizing:border-box;position:relative;display:flex;align-items:center;padding-left:var(--mc-navbar-item-size-padding, 16px);padding-right:var(--mc-navbar-item-size-padding, 16px)}.mc-navbar-item .mc-badge{position:absolute}.mc-navbar-item__title{display:flex;flex-direction:column;align-self:center;min-width:0}.mc-navbar-item__container{display:flex;flex-direction:row;flex:1 1 auto;justify-content:space-between;min-width:0}.mc-navbar-item__container .mc-icon{align-self:center}.mc-navbar-item.mc-horizontal{height:var(--mc-navbar-item-size-height, 48px)}.mc-navbar-item.mc-horizontal .mc-icon{min-width:16px;min-height:16px}.mc-navbar-item.mc-horizontal .mc-navbar-item__title+.mc-icon{margin-left:var(--mc-navbar-size-right-icon-margin, 2px)}.mc-navbar-item.mc-horizontal .mc-icon+.mc-navbar-item__container{margin-left:var(--mc-navbar-size-icon-margin, 6px)}.mc-navbar-item.mc-horizontal.mc-navbar-item_collapsed .mc-navbar-item__container{display:none}.mc-navbar-item.mc-horizontal .mc-badge{top:8px;right:8px}.mc-navbar-item.mc-horizontal.mc-navbar-item_has-nested{padding-left:8px;padding-right:8px}.mc-navbar-item.mc-vertical{height:var(--mc-navbar-item-size-height-vertical, 56px)}.mc-navbar-item.mc-vertical>.mc-icon{display:flex;justify-content:center;align-items:center;min-width:24px;min-height:24px}.mc-navbar-item.mc-vertical .mc-navbar-item__title,.mc-navbar-item.mc-vertical .mc-icon+.mc-navbar-item__title,.mc-navbar-item.mc-vertical .mc-navbar-item__title+.mc-icon{padding-left:var(--mc-vertical-navbar-size-icon-margin, 16px)}.mc-navbar-item.mc-vertical.mc-navbar-item_has-nested{padding-left:12px;padding-right:12px}.mc-navbar-item.mc-vertical.mc-expanded .mc-badge{top:16px;right:16px}.mc-navbar-item.mc-vertical.mc-collapsed .mc-badge{top:4px;right:4px}.mc-navbar-item.mc-vertical.mc-collapsed .mc-navbar-item__title{display:none}.mc-navbar-item.mc-navbar-item_has-nested .mc-button{flex:1}.mc-navbar-item.mc-navbar-item_has-nested .mc-button .mc-button-wrapper{justify-content:center}.mc-navbar-item.mc-navbar-item_has-nested .mc-button .mc-button-wrapper .mc-icon.mc-icon_left{margin-left:unset}.mc-navbar-item.mc-navbar-item_has-nested .mc-button .mc-button-wrapper .mc-icon.mc-icon_right{margin-right:unset}a.mc-navbar-item,a.mc-navbar-title{text-decoration:none}.mc-navbar-item .mc-navbar-item__overlay,.mc-navbar-brand .mc-navbar-item__overlay,.mc-navbar-toggle .mc-navbar-item__overlay{position:absolute;inset:0}.mc-navbar-item [mc-button],.mc-navbar-brand [mc-button],.mc-navbar-toggle [mc-button]{z-index:1}.mc-navbar-item.mc-navbar-item_has-nested .mc-navbar-item__overlay{display:none}\n", ".mc-navbar-logo{display:flex}.mc-navbar-brand{position:relative;display:flex;align-items:center}.mc-navbar-brand .mc-navbar-title{cursor:pointer}a.mc-navbar-brand{text-decoration:none}.mc-navbar-brand.mc-horizontal{height:var(--mc-navbar-item-size-height, 48px);padding-right:var(--mc-navbar-brand-size-margin-right, 24px)}.mc-navbar-brand.mc-horizontal .mc-navbar-title{padding-left:var(--mc-navbar-brand-size-padding, 12px);padding-right:0}.mc-navbar-brand.mc-vertical .mc-navbar-logo{flex-direction:column;justify-content:center;align-items:center;min-height:var(--mc-navbar-item-size-height-vertical, 56px);min-width:var(--mc-vertical-navbar-size-states-collapsed-width, 56px)}.mc-navbar-brand.mc-vertical .mc-navbar-title{display:flex;align-items:center;height:var(--mc-navbar-item-size-height-vertical, 56px);padding-left:0}.mc-navbar-brand.mc-vertical.mc-expanded{align-items:unset}.mc-navbar-brand.mc-vertical.mc-collapsed .mc-navbar-title{display:none}\n", ".mc-navbar-divider{display:block}.mc-navbar-divider.mc-vertical{height:1px;margin:8px 12px}.mc-navbar-divider.mc-horizontal{width:1px;height:28px;margin-left:8px;margin-right:8px}\n"] }]
378
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.FocusMonitor }], propDecorators: { rectangleElements: [{
368
379
  type: ContentChildren,
369
380
  args: [forwardRef(() => McNavbarRectangleElement), { descendants: true }]
370
381
  }], items: [{
@@ -381,10 +392,10 @@ class McNavbarLogo {
381
392
  constructor() {
382
393
  this.hovered = new Subject();
383
394
  }
384
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McNavbarLogo, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
385
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.5", type: McNavbarLogo, selector: "mc-navbar-logo, [mc-navbar-logo]", host: { listeners: { "mouseenter": "hovered.next(true)", "mouseleave": "hovered.next(false)" }, classAttribute: "mc-navbar-logo" }, ngImport: i0 }); }
395
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: McNavbarLogo, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
396
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.2.0", type: McNavbarLogo, selector: "mc-navbar-logo, [mc-navbar-logo]", host: { listeners: { "mouseenter": "hovered.next(true)", "mouseleave": "hovered.next(false)" }, classAttribute: "mc-navbar-logo" }, ngImport: i0 }); }
386
397
  }
387
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McNavbarLogo, decorators: [{
398
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: McNavbarLogo, decorators: [{
388
399
  type: Directive,
389
400
  args: [{
390
401
  selector: 'mc-navbar-logo, [mc-navbar-logo]',
@@ -396,10 +407,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
396
407
  }]
397
408
  }] });
398
409
  class McNavbarBento {
399
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McNavbarBento, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
400
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.5", type: McNavbarBento, selector: "mc-navbar-item[bento], [mc-navbar-item][bento]", host: { classAttribute: "mc-navbar-bento" }, ngImport: i0 }); }
410
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: McNavbarBento, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
411
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.2.0", type: McNavbarBento, selector: "mc-navbar-item[bento], [mc-navbar-item][bento]", host: { classAttribute: "mc-navbar-bento" }, ngImport: i0 }); }
401
412
  }
402
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McNavbarBento, decorators: [{
413
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: McNavbarBento, decorators: [{
403
414
  type: Directive,
404
415
  args: [{
405
416
  selector: 'mc-navbar-item[bento], [mc-navbar-item][bento]',
@@ -410,7 +421,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
410
421
  }] });
411
422
  class McNavbarTitle {
412
423
  get text() {
413
- return this.elementRef.nativeElement.innerText;
424
+ return this.elementRef.nativeElement.textContent;
414
425
  }
415
426
  get isOverflown() {
416
427
  return this.elementRef.nativeElement.scrollWidth > this.elementRef.nativeElement.clientWidth;
@@ -431,10 +442,10 @@ class McNavbarTitle {
431
442
  ngAfterViewInit() {
432
443
  this.outerElementWidth = this.getOuterElementWidth();
433
444
  }
434
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McNavbarTitle, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
435
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.5", type: McNavbarTitle, selector: "mc-navbar-title, [mc-navbar-title]", host: { listeners: { "mouseenter": "hovered.next(true)", "mouseleave": "hovered.next(false)" }, properties: { "class.mc-navbar-title_small": "isTextOverflown" }, classAttribute: "mc-navbar-title" }, ngImport: i0 }); }
445
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: McNavbarTitle, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
446
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.2.0", type: McNavbarTitle, selector: "mc-navbar-title, [mc-navbar-title]", host: { listeners: { "mouseenter": "hovered.next(true)", "mouseleave": "hovered.next(false)" }, properties: { "class.mc-navbar-title_small": "isTextOverflown" }, classAttribute: "mc-navbar-title" }, ngImport: i0 }); }
436
447
  }
437
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McNavbarTitle, decorators: [{
448
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: McNavbarTitle, decorators: [{
438
449
  type: Directive,
439
450
  args: [{
440
451
  selector: 'mc-navbar-title, [mc-navbar-title]',
@@ -445,10 +456,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
445
456
  '(mouseleave)': 'hovered.next(false)'
446
457
  }
447
458
  }]
448
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
459
+ }], ctorParameters: () => [{ type: i0.ElementRef }] });
449
460
  class McNavbarSubTitle {
450
461
  get text() {
451
- return this.elementRef.nativeElement.innerText;
462
+ return this.elementRef.nativeElement.textContent;
452
463
  }
453
464
  get isOverflown() {
454
465
  return this.elementRef.nativeElement.scrollWidth > this.elementRef.nativeElement.clientWidth;
@@ -464,10 +475,10 @@ class McNavbarSubTitle {
464
475
  ngAfterContentInit() {
465
476
  this.outerElementWidth = this.getOuterElementWidth();
466
477
  }
467
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McNavbarSubTitle, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
468
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.5", type: McNavbarSubTitle, selector: "mc-navbar-subtitle, [mc-navbar-subtitle]", host: { listeners: { "mouseenter": "hovered.next(true)", "mouseleave": "hovered.next(false)" }, classAttribute: "mc-navbar-subtitle" }, ngImport: i0 }); }
478
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: McNavbarSubTitle, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
479
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.2.0", type: McNavbarSubTitle, selector: "mc-navbar-subtitle, [mc-navbar-subtitle]", host: { listeners: { "mouseenter": "hovered.next(true)", "mouseleave": "hovered.next(false)" }, classAttribute: "mc-navbar-subtitle" }, ngImport: i0 }); }
469
480
  }
470
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McNavbarSubTitle, decorators: [{
481
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: McNavbarSubTitle, decorators: [{
471
482
  type: Directive,
472
483
  args: [{
473
484
  selector: 'mc-navbar-subtitle, [mc-navbar-subtitle]',
@@ -477,7 +488,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
477
488
  '(mouseleave)': 'hovered.next(false)'
478
489
  }
479
490
  }]
480
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
491
+ }], ctorParameters: () => [{ type: i0.ElementRef }] });
481
492
  class McNavbarBrand {
482
493
  get hasBento() {
483
494
  return !!this.navbar?.bento;
@@ -498,13 +509,13 @@ class McNavbarBrand {
498
509
  this.destroyed.next();
499
510
  this.destroyed.complete();
500
511
  }
501
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McNavbarBrand, deps: [{ token: McVerticalNavbar, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
502
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: McNavbarBrand, selector: "mc-navbar-brand, [mc-navbar-brand]", host: { properties: { "class.mc-hovered": "hovered" }, classAttribute: "mc-navbar-brand" }, queries: [{ propertyName: "logo", first: true, predicate: McNavbarLogo, descendants: true }, { propertyName: "title", first: true, predicate: McNavbarTitle, descendants: true }], exportAs: ["mcNavbarBrand"], ngImport: i0, template: `
512
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: McNavbarBrand, deps: [{ token: McVerticalNavbar, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
513
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.0", type: McNavbarBrand, selector: "mc-navbar-brand, [mc-navbar-brand]", host: { properties: { "class.mc-hovered": "hovered" }, classAttribute: "mc-navbar-brand" }, queries: [{ propertyName: "logo", first: true, predicate: McNavbarLogo, descendants: true }, { propertyName: "title", first: true, predicate: McNavbarTitle, descendants: true }], exportAs: ["mcNavbarBrand"], ngImport: i0, template: `
503
514
  <ng-content></ng-content>
504
515
  <div class="mc-navbar-item__overlay"></div>
505
516
  `, isInline: true }); }
506
517
  }
507
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McNavbarBrand, decorators: [{
518
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: McNavbarBrand, decorators: [{
508
519
  type: Component,
509
520
  args: [{
510
521
  selector: 'mc-navbar-brand, [mc-navbar-brand]',
@@ -518,9 +529,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
518
529
  '[class.mc-hovered]': 'hovered'
519
530
  }
520
531
  }]
521
- }], ctorParameters: function () { return [{ type: McVerticalNavbar, decorators: [{
532
+ }], ctorParameters: () => [{ type: McVerticalNavbar, decorators: [{
522
533
  type: Optional
523
- }] }]; }, propDecorators: { logo: [{
534
+ }] }], propDecorators: { logo: [{
524
535
  type: ContentChild,
525
536
  args: [McNavbarLogo]
526
537
  }], title: [{
@@ -528,10 +539,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
528
539
  args: [McNavbarTitle]
529
540
  }] } });
530
541
  class McNavbarDivider {
531
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McNavbarDivider, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
532
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.5", type: McNavbarDivider, selector: "mc-navbar-divider", host: { classAttribute: "mc-navbar-divider" }, ngImport: i0 }); }
542
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: McNavbarDivider, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
543
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.2.0", type: McNavbarDivider, selector: "mc-navbar-divider", host: { classAttribute: "mc-navbar-divider" }, ngImport: i0 }); }
533
544
  }
534
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McNavbarDivider, decorators: [{
545
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: McNavbarDivider, decorators: [{
535
546
  type: Directive,
536
547
  args: [{
537
548
  selector: 'mc-navbar-divider',
@@ -541,11 +552,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
541
552
  }]
542
553
  }] });
543
554
  class McNavbarFocusableItem {
555
+ get nestedElement() {
556
+ return this.button || this.formField;
557
+ }
544
558
  get tooltip() {
545
559
  return this._tooltip;
546
560
  }
547
561
  get hasFocus() {
548
- return !!this.button?.hasFocus || this._hasFocus;
562
+ return !!this.nestedElement?.hasFocus || this._hasFocus;
549
563
  }
550
564
  set hasFocus(value) {
551
565
  this._hasFocus = value;
@@ -601,8 +615,8 @@ class McNavbarFocusableItem {
601
615
  if (origin === 'keyboard') {
602
616
  this.focusMonitor.focusVia(this.elementRef, origin);
603
617
  }
604
- if (this.button) {
605
- this.button.focusViaKeyboard();
618
+ if (this.nestedElement) {
619
+ this.nestedElement.focusViaKeyboard();
606
620
  this.changeDetector.markForCheck();
607
621
  return;
608
622
  }
@@ -631,10 +645,10 @@ class McNavbarFocusableItem {
631
645
  getLabel() {
632
646
  return this.title?.text || '';
633
647
  }
634
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McNavbarFocusableItem, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.FocusMonitor }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
635
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.5", type: McNavbarFocusableItem, selector: "mc-navbar-item, [mc-navbar-item], mc-navbar-brand, [mc-navbar-brand], mc-navbar-toggle", inputs: { disabled: "disabled" }, host: { listeners: { "focus": "onFocusHandler()", "blur": "blur()" }, properties: { "attr.tabindex": "tabIndex", "attr.disabled": "disabled || null", "class.mc-navbar-item_button": "button" }, classAttribute: "mc-navbar-focusable-item" }, queries: [{ propertyName: "title", first: true, predicate: McNavbarTitle, descendants: true }, { propertyName: "button", first: true, predicate: McButton, descendants: true }], ngImport: i0 }); }
648
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: McNavbarFocusableItem, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.FocusMonitor }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
649
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.2.0", type: McNavbarFocusableItem, selector: "mc-navbar-item, [mc-navbar-item], mc-navbar-brand, [mc-navbar-brand], mc-navbar-toggle", inputs: { disabled: "disabled" }, host: { listeners: { "focus": "onFocusHandler()", "blur": "blur()" }, properties: { "attr.tabindex": "tabIndex", "attr.disabled": "disabled || null", "class.mc-navbar-item_has-nested": "!!nestedElement" }, classAttribute: "mc-navbar-focusable-item" }, queries: [{ propertyName: "title", first: true, predicate: McNavbarTitle, descendants: true }, { propertyName: "button", first: true, predicate: McButton, descendants: true }, { propertyName: "formField", first: true, predicate: McFormField, descendants: true }], ngImport: i0 }); }
636
650
  }
637
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McNavbarFocusableItem, decorators: [{
651
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: McNavbarFocusableItem, decorators: [{
638
652
  type: Directive,
639
653
  args: [{
640
654
  selector: 'mc-navbar-item, [mc-navbar-item], mc-navbar-brand, [mc-navbar-brand], mc-navbar-toggle',
@@ -642,17 +656,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
642
656
  '[attr.tabindex]': 'tabIndex',
643
657
  '[attr.disabled]': 'disabled || null',
644
658
  class: 'mc-navbar-focusable-item',
645
- '[class.mc-navbar-item_button]': 'button',
659
+ '[class.mc-navbar-item_has-nested]': '!!nestedElement',
646
660
  '(focus)': 'onFocusHandler()',
647
661
  '(blur)': 'blur()'
648
662
  }
649
663
  }]
650
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.FocusMonitor }, { type: i0.NgZone }]; }, propDecorators: { title: [{
664
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.FocusMonitor }, { type: i0.NgZone }], propDecorators: { title: [{
651
665
  type: ContentChild,
652
666
  args: [McNavbarTitle]
653
667
  }], button: [{
654
668
  type: ContentChild,
655
669
  args: [McButton]
670
+ }], formField: [{
671
+ type: ContentChild,
672
+ args: [McFormField]
656
673
  }], disabled: [{
657
674
  type: Input
658
675
  }] } });
@@ -686,10 +703,10 @@ class McNavbarRectangleElement {
686
703
  const { width, marginLeft, marginRight } = window.getComputedStyle(this.elementRef.nativeElement);
687
704
  return [width, marginLeft, marginRight].reduce((acc, item) => acc + parseInt(item), 0);
688
705
  }
689
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McNavbarRectangleElement, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
690
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.5", type: McNavbarRectangleElement, selector: "mc-navbar-item, [mc-navbar-item], mc-navbar-divider, mc-navbar-brand, [mc-navbar-brand]", host: { properties: { "class.mc-vertical": "vertical", "class.mc-horizontal": "horizontal", "class.mc-expanded": "vertical && !collapsed", "class.mc-collapsed": "vertical && collapsed" } }, queries: [{ propertyName: "button", first: true, predicate: McButtonCssStyler, descendants: true }], ngImport: i0 }); }
706
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: McNavbarRectangleElement, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
707
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.2.0", type: McNavbarRectangleElement, selector: "mc-navbar-item, [mc-navbar-item], mc-navbar-divider, mc-navbar-brand, [mc-navbar-brand]", host: { properties: { "class.mc-vertical": "vertical", "class.mc-horizontal": "horizontal", "class.mc-expanded": "vertical && !collapsed", "class.mc-collapsed": "vertical && collapsed" } }, queries: [{ propertyName: "button", first: true, predicate: McButtonCssStyler, descendants: true }], ngImport: i0 }); }
691
708
  }
692
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McNavbarRectangleElement, decorators: [{
709
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: McNavbarRectangleElement, decorators: [{
693
710
  type: Directive,
694
711
  args: [{
695
712
  selector: 'mc-navbar-item, [mc-navbar-item], mc-navbar-divider, mc-navbar-brand, [mc-navbar-brand]',
@@ -700,7 +717,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
700
717
  '[class.mc-collapsed]': 'vertical && collapsed'
701
718
  }
702
719
  }]
703
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { button: [{
720
+ }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { button: [{
704
721
  type: ContentChild,
705
722
  args: [McButtonCssStyler]
706
723
  }] } });
@@ -814,17 +831,17 @@ class McNavbarItem extends McTooltipTrigger {
814
831
  this.isCollapsed = this._collapsed;
815
832
  });
816
833
  }
817
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McNavbarItem, deps: [{ token: McNavbarRectangleElement }, { token: McNavbarFocusableItem }, { token: i0.ChangeDetectorRef }, { token: i3.Overlay }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i3.ScrollDispatcher }, { token: i0.ViewContainerRef }, { token: MC_TOOLTIP_SCROLL_STRATEGY }, { token: i4.Directionality, optional: true }, { token: i5.McDropdownTrigger, optional: true }, { token: McNavbarBento, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
818
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: McNavbarItem, selector: "mc-navbar-item, [mc-navbar-item]", inputs: { collapsedText: "collapsedText", trigger: ["mcTrigger", "trigger"], collapsable: "collapsable" }, host: { listeners: { "keydown": "onKeyDown($event)" }, properties: { "class.mc-navbar-item_collapsed": "isCollapsed" }, classAttribute: "mc-navbar-item" }, queries: [{ propertyName: "title", first: true, predicate: McNavbarTitle, descendants: true }, { propertyName: "subTitle", first: true, predicate: McNavbarSubTitle, descendants: true }, { propertyName: "icon", first: true, predicate: McIcon, descendants: true }], exportAs: ["mcNavbarItem"], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"[mc-icon]\"></ng-content>\n\n<div class=\"mc-navbar-item__container\" *ngIf=\"title\">\n <div class=\"mc-navbar-item__title\">\n <ng-content select=\"mc-navbar-title, [mc-navbar-title]\"></ng-content>\n <ng-content select=\"mc-navbar-subtitle, [mc-navbar-subtitle]\"></ng-content>\n </div>\n\n <i class=\"mc-navbar-item__arrow-icon\" mc-icon=\"mc-angle-right-M_24\" *ngIf=\"showVerticalDropDownAngle\"></i>\n <i class=\"mc-navbar-item__arrow-icon\" mc-icon=\"mc-angle-down-S_16\" *ngIf=\"showHorizontalDropDownAngle\"></i>\n\n</div>\n\n<ng-content></ng-content>\n\n<div class=\"mc-navbar-item__overlay\"></div>\n", dependencies: [{ kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i7.McIcon, selector: "[mc-icon]", inputs: ["color"] }, { kind: "directive", type: i7.McIconCSSStyler, selector: "[mc-icon]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
834
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: McNavbarItem, deps: [{ token: McNavbarRectangleElement }, { token: McNavbarFocusableItem }, { token: i0.ChangeDetectorRef }, { token: i3.Overlay }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i3.ScrollDispatcher }, { token: i0.ViewContainerRef }, { token: MC_TOOLTIP_SCROLL_STRATEGY }, { token: i4.Directionality, optional: true }, { token: i5.McDropdownTrigger, optional: true }, { token: McNavbarBento, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
835
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.0", type: McNavbarItem, selector: "mc-navbar-item, [mc-navbar-item]", inputs: { collapsedText: "collapsedText", trigger: ["mcTrigger", "trigger"], collapsable: "collapsable" }, host: { listeners: { "keydown": "onKeyDown($event)" }, properties: { "class.mc-navbar-item_collapsed": "isCollapsed" }, classAttribute: "mc-navbar-item" }, queries: [{ propertyName: "title", first: true, predicate: McNavbarTitle, descendants: true }, { propertyName: "subTitle", first: true, predicate: McNavbarSubTitle, descendants: true }, { propertyName: "icon", first: true, predicate: McIcon, descendants: true }], exportAs: ["mcNavbarItem"], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"[mc-icon]\"></ng-content>\n\n<div class=\"mc-navbar-item__container\" *ngIf=\"title\">\n <div class=\"mc-navbar-item__title\">\n <ng-content select=\"mc-navbar-title, [mc-navbar-title]\"></ng-content>\n <ng-content select=\"mc-navbar-subtitle, [mc-navbar-subtitle]\"></ng-content>\n </div>\n\n <i class=\"mc-navbar-item__arrow-icon\" mc-icon=\"mc-angle-right-M_24\" *ngIf=\"showVerticalDropDownAngle\"></i>\n <i class=\"mc-navbar-item__arrow-icon\" mc-icon=\"mc-angle-down-S_16\" *ngIf=\"showHorizontalDropDownAngle\"></i>\n\n</div>\n\n<ng-content></ng-content>\n\n<div class=\"mc-navbar-item__overlay\"></div>\n", dependencies: [{ kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i7.McIcon, selector: "[mc-icon]", inputs: ["color"] }, { kind: "directive", type: i7.McIconCSSStyler, selector: "[mc-icon]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
819
836
  }
820
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McNavbarItem, decorators: [{
837
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: McNavbarItem, decorators: [{
821
838
  type: Component,
822
839
  args: [{ selector: 'mc-navbar-item, [mc-navbar-item]', exportAs: 'mcNavbarItem', host: {
823
840
  class: 'mc-navbar-item',
824
841
  '[class.mc-navbar-item_collapsed]': 'isCollapsed',
825
842
  '(keydown)': 'onKeyDown($event)'
826
843
  }, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ng-content select=\"[mc-icon]\"></ng-content>\n\n<div class=\"mc-navbar-item__container\" *ngIf=\"title\">\n <div class=\"mc-navbar-item__title\">\n <ng-content select=\"mc-navbar-title, [mc-navbar-title]\"></ng-content>\n <ng-content select=\"mc-navbar-subtitle, [mc-navbar-subtitle]\"></ng-content>\n </div>\n\n <i class=\"mc-navbar-item__arrow-icon\" mc-icon=\"mc-angle-right-M_24\" *ngIf=\"showVerticalDropDownAngle\"></i>\n <i class=\"mc-navbar-item__arrow-icon\" mc-icon=\"mc-angle-down-S_16\" *ngIf=\"showHorizontalDropDownAngle\"></i>\n\n</div>\n\n<ng-content></ng-content>\n\n<div class=\"mc-navbar-item__overlay\"></div>\n" }]
827
- }], ctorParameters: function () { return [{ type: McNavbarRectangleElement }, { type: McNavbarFocusableItem }, { type: i0.ChangeDetectorRef }, { type: i3.Overlay }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i3.ScrollDispatcher }, { type: i0.ViewContainerRef }, { type: undefined, decorators: [{
844
+ }], ctorParameters: () => [{ type: McNavbarRectangleElement }, { type: McNavbarFocusableItem }, { type: i0.ChangeDetectorRef }, { type: i3.Overlay }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i3.ScrollDispatcher }, { type: i0.ViewContainerRef }, { type: undefined, decorators: [{
828
845
  type: Inject,
829
846
  args: [MC_TOOLTIP_SCROLL_STRATEGY]
830
847
  }] }, { type: i4.Directionality, decorators: [{
@@ -833,7 +850,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
833
850
  type: Optional
834
851
  }] }, { type: McNavbarBento, decorators: [{
835
852
  type: Optional
836
- }] }]; }, propDecorators: { title: [{
853
+ }] }], propDecorators: { title: [{
837
854
  type: ContentChild,
838
855
  args: [McNavbarTitle]
839
856
  }], subTitle: [{
@@ -902,8 +919,8 @@ class McNavbarToggle extends McTooltipTrigger {
902
919
  getWindow() {
903
920
  return this.document?.defaultView || window;
904
921
  }
905
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McNavbarToggle, deps: [{ token: McVerticalNavbar }, { token: i0.ChangeDetectorRef }, { token: i3.Overlay }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i3.ScrollDispatcher }, { token: i0.ViewContainerRef }, { token: MC_TOOLTIP_SCROLL_STRATEGY }, { token: i4.Directionality, optional: true }, { token: DOCUMENT, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
906
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: McNavbarToggle, selector: "mc-navbar-toggle", inputs: { content: ["mcCollapsedTooltip", "content"] }, host: { listeners: { "keydown": "onKeydown($event)", "click": "toggle()", "touchend": "handleTouchend()" }, properties: { "class.mc-tooltip_open": "isOpen" }, classAttribute: "mc-navbar-item mc-navbar-toggle mc-vertical" }, queries: [{ propertyName: "customIcon", first: true, predicate: McIcon, descendants: true }], usesInheritance: true, ngImport: i0, template: `
922
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: McNavbarToggle, deps: [{ token: McVerticalNavbar }, { token: i0.ChangeDetectorRef }, { token: i3.Overlay }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i3.ScrollDispatcher }, { token: i0.ViewContainerRef }, { token: MC_TOOLTIP_SCROLL_STRATEGY }, { token: i4.Directionality, optional: true }, { token: DOCUMENT, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
923
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.0", type: McNavbarToggle, selector: "mc-navbar-toggle", inputs: { content: ["mcCollapsedTooltip", "content"] }, host: { listeners: { "keydown": "onKeydown($event)", "click": "toggle()", "touchend": "handleTouchend()" }, properties: { "class.mc-tooltip_open": "isOpen" }, classAttribute: "mc-navbar-item mc-navbar-toggle mc-vertical" }, queries: [{ propertyName: "customIcon", first: true, predicate: McIcon, descendants: true }], usesInheritance: true, ngImport: i0, template: `
907
924
  <i mc-icon
908
925
  [class.mc-angle-left-M_24]="navbar.expanded"
909
926
  [class.mc-angle-right-M_24]="!navbar.expanded"
@@ -919,7 +936,7 @@ class McNavbarToggle extends McTooltipTrigger {
919
936
  <div class="mc-navbar-item__overlay"></div>
920
937
  `, isInline: true, styles: [".mc-navbar{display:flex;flex-direction:row;justify-content:space-between;align-items:center;position:relative}.mc-navbar-container{display:flex;flex-shrink:0;flex-direction:row;justify-content:space-between;align-items:center;position:relative}\n"], dependencies: [{ kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i7.McIcon, selector: "[mc-icon]", inputs: ["color"] }, { kind: "directive", type: i7.McIconCSSStyler, selector: "[mc-icon]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
921
938
  }
922
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McNavbarToggle, decorators: [{
939
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: McNavbarToggle, decorators: [{
923
940
  type: Component,
924
941
  args: [{ selector: 'mc-navbar-toggle', template: `
925
942
  <i mc-icon
@@ -942,7 +959,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
942
959
  '(click)': 'toggle()',
943
960
  '(touchend)': 'handleTouchend()'
944
961
  }, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, styles: [".mc-navbar{display:flex;flex-direction:row;justify-content:space-between;align-items:center;position:relative}.mc-navbar-container{display:flex;flex-shrink:0;flex-direction:row;justify-content:space-between;align-items:center;position:relative}\n"] }]
945
- }], ctorParameters: function () { return [{ type: McVerticalNavbar }, { type: i0.ChangeDetectorRef }, { type: i3.Overlay }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i3.ScrollDispatcher }, { type: i0.ViewContainerRef }, { type: undefined, decorators: [{
962
+ }], ctorParameters: () => [{ type: McVerticalNavbar }, { type: i0.ChangeDetectorRef }, { type: i3.Overlay }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i3.ScrollDispatcher }, { type: i0.ViewContainerRef }, { type: undefined, decorators: [{
946
963
  type: Inject,
947
964
  args: [MC_TOOLTIP_SCROLL_STRATEGY]
948
965
  }] }, { type: i4.Directionality, decorators: [{
@@ -952,7 +969,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
952
969
  }, {
953
970
  type: Inject,
954
971
  args: [DOCUMENT]
955
- }] }]; }, propDecorators: { customIcon: [{
972
+ }] }], propDecorators: { customIcon: [{
956
973
  type: ContentChild,
957
974
  args: [McIcon]
958
975
  }], content: [{
@@ -961,8 +978,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
961
978
  }] } });
962
979
 
963
980
  class McNavbarModule {
964
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McNavbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
965
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: McNavbarModule, declarations: [McNavbar,
981
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: McNavbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
982
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.2.0", ngImport: i0, type: McNavbarModule, declarations: [McNavbar,
966
983
  McNavbarContainer,
967
984
  McNavbarTitle,
968
985
  McNavbarItem,
@@ -991,13 +1008,13 @@ class McNavbarModule {
991
1008
  McNavbarRectangleElement,
992
1009
  McNavbarSubTitle,
993
1010
  McNavbarBento] }); }
994
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McNavbarModule, imports: [CommonModule,
1011
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: McNavbarModule, imports: [CommonModule,
995
1012
  A11yModule,
996
1013
  PlatformModule,
997
1014
  McIconModule,
998
1015
  McToolTipModule] }); }
999
1016
  }
1000
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: McNavbarModule, decorators: [{
1017
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.0", ngImport: i0, type: McNavbarModule, decorators: [{
1001
1018
  type: NgModule,
1002
1019
  args: [{
1003
1020
  imports: [