@angular/material-experimental 13.1.0-next.1 → 13.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (240) hide show
  1. package/column-resize/_column-resize-theme.scss +51 -15
  2. package/column-resize/overlay-handle.d.ts +1 -0
  3. package/esm2020/column-resize/column-resize-directives/column-resize-flex.mjs +4 -4
  4. package/esm2020/column-resize/column-resize-directives/column-resize.mjs +4 -4
  5. package/esm2020/column-resize/column-resize-directives/default-enabled-column-resize-flex.mjs +4 -4
  6. package/esm2020/column-resize/column-resize-directives/default-enabled-column-resize.mjs +4 -4
  7. package/esm2020/column-resize/column-resize-module.mjs +13 -14
  8. package/esm2020/column-resize/overlay-handle.mjs +13 -8
  9. package/esm2020/column-resize/resizable-directives/default-enabled-resizable.mjs +4 -4
  10. package/esm2020/column-resize/resizable-directives/resizable.mjs +4 -4
  11. package/esm2020/column-resize/resize-strategy.mjs +4 -4
  12. package/esm2020/mdc-autocomplete/autocomplete-origin.mjs +4 -4
  13. package/esm2020/mdc-autocomplete/autocomplete-trigger.mjs +4 -4
  14. package/esm2020/mdc-autocomplete/autocomplete.mjs +4 -4
  15. package/esm2020/mdc-autocomplete/module.mjs +5 -5
  16. package/esm2020/mdc-button/button-base.mjs +7 -7
  17. package/esm2020/mdc-button/button.mjs +7 -7
  18. package/esm2020/mdc-button/fab.mjs +17 -38
  19. package/esm2020/mdc-button/icon-button.mjs +7 -7
  20. package/esm2020/mdc-button/module.mjs +5 -5
  21. package/esm2020/mdc-card/card.mjs +43 -43
  22. package/esm2020/mdc-card/module.mjs +5 -5
  23. package/esm2020/mdc-checkbox/checkbox.mjs +4 -4
  24. package/esm2020/mdc-checkbox/module.mjs +5 -5
  25. package/esm2020/mdc-chips/chip-edit-input.mjs +4 -4
  26. package/esm2020/mdc-chips/chip-grid.mjs +4 -4
  27. package/esm2020/mdc-chips/chip-icons.mjs +10 -10
  28. package/esm2020/mdc-chips/chip-input.mjs +4 -4
  29. package/esm2020/mdc-chips/chip-listbox.mjs +4 -4
  30. package/esm2020/mdc-chips/chip-option.mjs +4 -4
  31. package/esm2020/mdc-chips/chip-row.mjs +4 -4
  32. package/esm2020/mdc-chips/chip-set.mjs +4 -4
  33. package/esm2020/mdc-chips/chip.mjs +7 -7
  34. package/esm2020/mdc-chips/module.mjs +5 -5
  35. package/esm2020/mdc-core/option/index.mjs +5 -5
  36. package/esm2020/mdc-core/option/optgroup.mjs +4 -4
  37. package/esm2020/mdc-core/option/option.mjs +4 -4
  38. package/esm2020/mdc-dialog/dialog-container.mjs +4 -4
  39. package/esm2020/mdc-dialog/dialog-content-directives.mjs +13 -13
  40. package/esm2020/mdc-dialog/dialog.mjs +4 -4
  41. package/esm2020/mdc-dialog/module.mjs +5 -6
  42. package/esm2020/mdc-form-field/directives/error.mjs +4 -4
  43. package/esm2020/mdc-form-field/directives/floating-label.mjs +4 -4
  44. package/esm2020/mdc-form-field/directives/hint.mjs +4 -4
  45. package/esm2020/mdc-form-field/directives/label.mjs +4 -4
  46. package/esm2020/mdc-form-field/directives/line-ripple.mjs +4 -4
  47. package/esm2020/mdc-form-field/directives/notched-outline.mjs +4 -4
  48. package/esm2020/mdc-form-field/directives/prefix.mjs +4 -4
  49. package/esm2020/mdc-form-field/directives/suffix.mjs +4 -4
  50. package/esm2020/mdc-form-field/form-field.mjs +5 -4
  51. package/esm2020/mdc-form-field/module.mjs +5 -5
  52. package/esm2020/mdc-input/input.mjs +4 -4
  53. package/esm2020/mdc-input/module.mjs +5 -5
  54. package/esm2020/mdc-list/action-list.mjs +4 -4
  55. package/esm2020/mdc-list/interactive-list-base.mjs +4 -4
  56. package/esm2020/mdc-list/list-base.mjs +7 -7
  57. package/esm2020/mdc-list/list-option.mjs +5 -4
  58. package/esm2020/mdc-list/list-styling.mjs +13 -13
  59. package/esm2020/mdc-list/list.mjs +7 -7
  60. package/esm2020/mdc-list/module.mjs +5 -5
  61. package/esm2020/mdc-list/nav-list.mjs +4 -4
  62. package/esm2020/mdc-list/selection-list.mjs +5 -4
  63. package/esm2020/mdc-menu/directives.mjs +7 -7
  64. package/esm2020/mdc-menu/menu-item.mjs +4 -4
  65. package/esm2020/mdc-menu/menu.mjs +4 -4
  66. package/esm2020/mdc-menu/module.mjs +5 -5
  67. package/esm2020/mdc-paginator/module.mjs +5 -5
  68. package/esm2020/mdc-paginator/paginator.mjs +4 -4
  69. package/esm2020/mdc-progress-bar/module.mjs +5 -5
  70. package/esm2020/mdc-progress-bar/progress-bar.mjs +4 -4
  71. package/esm2020/mdc-progress-spinner/module.mjs +5 -5
  72. package/esm2020/mdc-progress-spinner/progress-spinner.mjs +4 -4
  73. package/esm2020/mdc-radio/module.mjs +5 -5
  74. package/esm2020/mdc-radio/radio.mjs +8 -8
  75. package/esm2020/mdc-select/module.mjs +5 -5
  76. package/esm2020/mdc-select/select.mjs +7 -7
  77. package/esm2020/mdc-sidenav/module.mjs +5 -5
  78. package/esm2020/mdc-slide-toggle/module.mjs +5 -5
  79. package/esm2020/mdc-slide-toggle/slide-toggle.mjs +5 -5
  80. package/esm2020/mdc-slider/global-change-and-input-listener.mjs +4 -4
  81. package/esm2020/mdc-slider/module.mjs +5 -5
  82. package/esm2020/mdc-slider/slider.mjs +21 -24
  83. package/esm2020/mdc-snack-bar/module.mjs +5 -6
  84. package/esm2020/mdc-snack-bar/simple-snack-bar.mjs +4 -4
  85. package/esm2020/mdc-snack-bar/snack-bar-container.mjs +4 -4
  86. package/esm2020/mdc-snack-bar/snack-bar-content.mjs +10 -10
  87. package/esm2020/mdc-snack-bar/snack-bar.mjs +4 -4
  88. package/esm2020/mdc-table/cell.mjs +22 -22
  89. package/esm2020/mdc-table/module.mjs +5 -5
  90. package/esm2020/mdc-table/row.mjs +22 -22
  91. package/esm2020/mdc-table/table.mjs +7 -7
  92. package/esm2020/mdc-table/text-column.mjs +4 -4
  93. package/esm2020/mdc-tabs/module.mjs +5 -5
  94. package/esm2020/mdc-tabs/tab-body.mjs +7 -7
  95. package/esm2020/mdc-tabs/tab-content.mjs +4 -4
  96. package/esm2020/mdc-tabs/tab-group.mjs +4 -4
  97. package/esm2020/mdc-tabs/tab-header.mjs +8 -5
  98. package/esm2020/mdc-tabs/tab-label-wrapper.mjs +4 -4
  99. package/esm2020/mdc-tabs/tab-label.mjs +4 -4
  100. package/esm2020/mdc-tabs/tab-nav-bar/tab-nav-bar.mjs +11 -8
  101. package/esm2020/mdc-tabs/tab.mjs +4 -4
  102. package/esm2020/mdc-tooltip/module.mjs +5 -6
  103. package/esm2020/mdc-tooltip/tooltip.mjs +7 -7
  104. package/esm2020/menubar/menubar-item.mjs +4 -4
  105. package/esm2020/menubar/menubar-module.mjs +5 -5
  106. package/esm2020/menubar/menubar.mjs +4 -4
  107. package/esm2020/popover-edit/lens-directives.mjs +10 -10
  108. package/esm2020/popover-edit/popover-edit-module.mjs +5 -5
  109. package/esm2020/popover-edit/table-directives.mjs +13 -13
  110. package/esm2020/selection/row-selection.mjs +5 -18
  111. package/esm2020/selection/select-all.mjs +4 -4
  112. package/esm2020/selection/selection-column.mjs +5 -5
  113. package/esm2020/selection/selection-module.mjs +5 -5
  114. package/esm2020/selection/selection-toggle.mjs +5 -18
  115. package/esm2020/selection/selection.mjs +4 -4
  116. package/esm2020/version.mjs +1 -1
  117. package/fesm2015/column-resize.mjs +45 -41
  118. package/fesm2015/column-resize.mjs.map +1 -1
  119. package/fesm2015/material-experimental.mjs +1 -1
  120. package/fesm2015/material-experimental.mjs.map +1 -1
  121. package/fesm2015/mdc-autocomplete.mjs +13 -13
  122. package/fesm2015/mdc-autocomplete.mjs.map +1 -1
  123. package/fesm2015/mdc-button.mjs +36 -65
  124. package/fesm2015/mdc-button.mjs.map +1 -1
  125. package/fesm2015/mdc-card.mjs +46 -46
  126. package/fesm2015/mdc-card.mjs.map +1 -1
  127. package/fesm2015/mdc-checkbox.mjs +7 -7
  128. package/fesm2015/mdc-checkbox.mjs.map +1 -1
  129. package/fesm2015/mdc-chips.mjs +40 -40
  130. package/fesm2015/mdc-chips.mjs.map +1 -1
  131. package/fesm2015/mdc-core.mjs +10 -10
  132. package/fesm2015/mdc-core.mjs.map +1 -1
  133. package/fesm2015/mdc-dialog.mjs +22 -23
  134. package/fesm2015/mdc-dialog.mjs.map +1 -1
  135. package/fesm2015/mdc-form-field.mjs +33 -31
  136. package/fesm2015/mdc-form-field.mjs.map +1 -1
  137. package/fesm2015/mdc-input.mjs +7 -7
  138. package/fesm2015/mdc-input.mjs.map +1 -1
  139. package/fesm2015/mdc-list.mjs +45 -43
  140. package/fesm2015/mdc-list.mjs.map +1 -1
  141. package/fesm2015/mdc-menu.mjs +16 -16
  142. package/fesm2015/mdc-menu.mjs.map +1 -1
  143. package/fesm2015/mdc-paginator.mjs +7 -7
  144. package/fesm2015/mdc-paginator.mjs.map +1 -1
  145. package/fesm2015/mdc-progress-bar.mjs +7 -7
  146. package/fesm2015/mdc-progress-bar.mjs.map +1 -1
  147. package/fesm2015/mdc-progress-spinner.mjs +7 -7
  148. package/fesm2015/mdc-progress-spinner.mjs.map +1 -1
  149. package/fesm2015/mdc-radio.mjs +11 -11
  150. package/fesm2015/mdc-radio.mjs.map +1 -1
  151. package/fesm2015/mdc-select.mjs +10 -10
  152. package/fesm2015/mdc-select.mjs.map +1 -1
  153. package/fesm2015/mdc-sidenav.mjs +4 -4
  154. package/fesm2015/mdc-sidenav.mjs.map +1 -1
  155. package/fesm2015/mdc-slide-toggle.mjs +8 -8
  156. package/fesm2015/mdc-slide-toggle.mjs.map +1 -1
  157. package/fesm2015/mdc-slider.mjs +27 -30
  158. package/fesm2015/mdc-slider.mjs.map +1 -1
  159. package/fesm2015/mdc-snack-bar.mjs +22 -23
  160. package/fesm2015/mdc-snack-bar.mjs.map +1 -1
  161. package/fesm2015/mdc-table.mjs +55 -55
  162. package/fesm2015/mdc-table.mjs.map +1 -1
  163. package/fesm2015/mdc-tabs.mjs +42 -36
  164. package/fesm2015/mdc-tabs.mjs.map +1 -1
  165. package/fesm2015/mdc-tooltip.mjs +10 -11
  166. package/fesm2015/mdc-tooltip.mjs.map +1 -1
  167. package/fesm2015/menubar.mjs +10 -10
  168. package/fesm2015/menubar.mjs.map +1 -1
  169. package/fesm2015/popover-edit.mjs +25 -25
  170. package/fesm2015/popover-edit.mjs.map +1 -1
  171. package/fesm2015/selection.mjs +23 -47
  172. package/fesm2015/selection.mjs.map +1 -1
  173. package/fesm2020/column-resize.mjs +45 -41
  174. package/fesm2020/column-resize.mjs.map +1 -1
  175. package/fesm2020/material-experimental.mjs +1 -1
  176. package/fesm2020/material-experimental.mjs.map +1 -1
  177. package/fesm2020/mdc-autocomplete.mjs +13 -13
  178. package/fesm2020/mdc-autocomplete.mjs.map +1 -1
  179. package/fesm2020/mdc-button.mjs +38 -59
  180. package/fesm2020/mdc-button.mjs.map +1 -1
  181. package/fesm2020/mdc-card.mjs +46 -46
  182. package/fesm2020/mdc-card.mjs.map +1 -1
  183. package/fesm2020/mdc-checkbox.mjs +7 -7
  184. package/fesm2020/mdc-checkbox.mjs.map +1 -1
  185. package/fesm2020/mdc-chips.mjs +40 -40
  186. package/fesm2020/mdc-chips.mjs.map +1 -1
  187. package/fesm2020/mdc-core.mjs +10 -10
  188. package/fesm2020/mdc-core.mjs.map +1 -1
  189. package/fesm2020/mdc-dialog.mjs +22 -23
  190. package/fesm2020/mdc-dialog.mjs.map +1 -1
  191. package/fesm2020/mdc-form-field.mjs +32 -31
  192. package/fesm2020/mdc-form-field.mjs.map +1 -1
  193. package/fesm2020/mdc-input.mjs +7 -7
  194. package/fesm2020/mdc-input.mjs.map +1 -1
  195. package/fesm2020/mdc-list.mjs +45 -43
  196. package/fesm2020/mdc-list.mjs.map +1 -1
  197. package/fesm2020/mdc-menu.mjs +16 -16
  198. package/fesm2020/mdc-menu.mjs.map +1 -1
  199. package/fesm2020/mdc-paginator.mjs +7 -7
  200. package/fesm2020/mdc-paginator.mjs.map +1 -1
  201. package/fesm2020/mdc-progress-bar.mjs +7 -7
  202. package/fesm2020/mdc-progress-bar.mjs.map +1 -1
  203. package/fesm2020/mdc-progress-spinner.mjs +7 -7
  204. package/fesm2020/mdc-progress-spinner.mjs.map +1 -1
  205. package/fesm2020/mdc-radio.mjs +11 -11
  206. package/fesm2020/mdc-radio.mjs.map +1 -1
  207. package/fesm2020/mdc-select.mjs +10 -10
  208. package/fesm2020/mdc-select.mjs.map +1 -1
  209. package/fesm2020/mdc-sidenav.mjs +4 -4
  210. package/fesm2020/mdc-sidenav.mjs.map +1 -1
  211. package/fesm2020/mdc-slide-toggle.mjs +8 -8
  212. package/fesm2020/mdc-slide-toggle.mjs.map +1 -1
  213. package/fesm2020/mdc-slider.mjs +27 -30
  214. package/fesm2020/mdc-slider.mjs.map +1 -1
  215. package/fesm2020/mdc-snack-bar.mjs +22 -23
  216. package/fesm2020/mdc-snack-bar.mjs.map +1 -1
  217. package/fesm2020/mdc-table.mjs +55 -55
  218. package/fesm2020/mdc-table.mjs.map +1 -1
  219. package/fesm2020/mdc-tabs.mjs +42 -36
  220. package/fesm2020/mdc-tabs.mjs.map +1 -1
  221. package/fesm2020/mdc-tooltip.mjs +10 -11
  222. package/fesm2020/mdc-tooltip.mjs.map +1 -1
  223. package/fesm2020/menubar.mjs +10 -10
  224. package/fesm2020/menubar.mjs.map +1 -1
  225. package/fesm2020/popover-edit.mjs +25 -25
  226. package/fesm2020/popover-edit.mjs.map +1 -1
  227. package/fesm2020/selection.mjs +23 -47
  228. package/fesm2020/selection.mjs.map +1 -1
  229. package/mdc-button/fab.d.ts +1 -1
  230. package/mdc-checkbox/_checkbox-theme.scss +0 -9
  231. package/mdc-helpers/_mdc-helpers.scss +15 -2
  232. package/mdc-list/_interactive-list-theme.scss +2 -2
  233. package/mdc-slider/_slider-theme.scss +1 -1
  234. package/mdc-tabs/_tabs-common.scss +4 -2
  235. package/mdc-tabs/tab-header.d.ts +1 -0
  236. package/mdc-tabs/tab-nav-bar/tab-nav-bar.d.ts +1 -0
  237. package/mdc-theming/prebuilt/indigo-pink.css +1 -1
  238. package/package.json +2 -2
  239. package/selection/row-selection.d.ts +8 -4
  240. package/selection/selection-toggle.d.ts +8 -4
@@ -1 +1 @@
1
- {"version":3,"file":"mdc-list.mjs","sources":["../../../../../../src/material-experimental/mdc-list/list-option-types.ts","../../../../../../src/material-experimental/mdc-list/list-styling.ts","../../../../../../src/material-experimental/mdc-list/list-base.ts","../../../../../../src/material-experimental/mdc-list/action-list.ts","../../../../../../src/material-experimental/mdc-list/list.ts","../../../../../../src/material-experimental/mdc-list/list-item.html","../../../../../../src/material-experimental/mdc-list/list-option.ts","../../../../../../src/material-experimental/mdc-list/list-option.html","../../../../../../src/material-experimental/mdc-list/nav-list.ts","../../../../../../src/material-experimental/mdc-list/interactive-list-base.ts","../../../../../../src/material-experimental/mdc-list/selection-list.ts","../../../../../../src/material-experimental/mdc-list/module.ts","../../../../../../src/material-experimental/mdc-list/public-api.ts","../../../../../../src/material-experimental/mdc-list/index.ts","../../../../../../src/material-experimental/mdc-list/mdc-list_public_index.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {InjectionToken} from '@angular/core';\n\n/**\n * Type describing possible positions of a checkbox in a list option\n * with respect to the list item's text.\n */\nexport type MatListOptionCheckboxPosition = 'before' | 'after';\n\n/**\n * Interface describing a list option. This is used to avoid circular\n * dependencies between the list-option and the styler directives.\n * @docs-private\n */\nexport interface ListOption {\n _getCheckboxPosition(): MatListOptionCheckboxPosition;\n}\n\n/**\n * Injection token that can be used to reference instances of an `ListOption`. It serves\n * as alternative token to an actual implementation which could result in undesired\n * retention of the class or circular references breaking runtime execution.\n * @docs-private\n */\nexport const LIST_OPTION = new InjectionToken<ListOption>('ListOption');\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {Directive, Inject, Optional} from '@angular/core';\nimport {LIST_OPTION, ListOption} from './list-option-types';\n\n/**\n * MDC uses the very intuitively named classes `.mdc-list-item__start` and `.mat-list-item__end`\n * to position content such as icons or checkboxes that comes either before or after the text\n * content respectively. This directive detects the placement of the checkbox and applies the\n * correct MDC class to position the icon/avatar on the opposite side.\n * @docs-private\n */\n@Directive({\n selector: '[mat-list-avatar], [matListAvatar], [mat-list-icon], [matListIcon]',\n host: {\n '[class.mdc-list-item__start]': '_isAlignedAtStart()',\n '[class.mdc-list-item__end]': '!_isAlignedAtStart()',\n },\n})\nexport class MatListGraphicAlignmentStyler {\n constructor(@Optional() @Inject(LIST_OPTION) public _listOption: ListOption) {}\n\n _isAlignedAtStart() {\n // By default, in all list items the graphic is aligned at start. In list options,\n // the graphic is only aligned at start if the checkbox is at the end.\n return !this._listOption || this._listOption?._getCheckboxPosition() === 'after';\n }\n}\n\n/**\n * Directive whose purpose is to add the mat- CSS styling to this selector.\n * @docs-private\n */\n@Directive({\n selector: '[mat-list-avatar], [matListAvatar]',\n host: {'class': 'mat-mdc-list-avatar'},\n})\nexport class MatListAvatarCssMatStyler {}\n\n/**\n * Directive whose purpose is to add the mat- CSS styling to this selector.\n * @docs-private\n */\n@Directive({\n selector: '[mat-list-icon], [matListIcon]',\n host: {'class': 'mat-mdc-list-icon'},\n})\nexport class MatListIconCssMatStyler {}\n\n/**\n * Directive whose purpose is to add the mat- CSS styling to this selector.\n * @docs-private\n */\n@Directive({\n selector: '[mat-subheader], [matSubheader]',\n // TODO(mmalerba): MDC's subheader font looks identical to the list item font, figure out why and\n // make a change in one of the repos to visually distinguish.\n host: {'class': 'mat-mdc-subheader mdc-list-group__subheader'},\n})\nexport class MatListSubheaderCssMatStyler {}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {BooleanInput, coerceBooleanProperty} from '@angular/cdk/coercion';\nimport {Platform} from '@angular/cdk/platform';\nimport {\n AfterContentInit,\n ContentChildren,\n Directive,\n ElementRef,\n Inject,\n Input,\n NgZone,\n OnDestroy,\n Optional,\n QueryList,\n} from '@angular/core';\nimport {\n MAT_RIPPLE_GLOBAL_OPTIONS,\n RippleConfig,\n RippleGlobalOptions,\n RippleRenderer,\n RippleTarget,\n setLines,\n} from '@angular/material-experimental/mdc-core';\nimport {ANIMATION_MODULE_TYPE} from '@angular/platform-browser/animations';\nimport {Subscription} from 'rxjs';\nimport {startWith} from 'rxjs/operators';\nimport {MatListAvatarCssMatStyler, MatListIconCssMatStyler} from './list-styling';\n\nfunction toggleClass(el: Element, className: string, on: boolean) {\n if (on) {\n el.classList.add(className);\n } else {\n el.classList.remove(className);\n }\n}\n\n@Directive({\n host: {\n '[class.mdc-list-item--disabled]': 'disabled',\n '[attr.aria-disabled]': 'disabled',\n },\n})\n/** @docs-private */\nexport abstract class MatListItemBase implements AfterContentInit, OnDestroy, RippleTarget {\n /** Query list matching list-item line elements. */\n abstract lines: QueryList<ElementRef<Element>>;\n\n /** Element reference referring to the primary list item text. */\n abstract _itemText: ElementRef<HTMLElement>;\n\n /** Host element for the list item. */\n _hostElement: HTMLElement;\n\n /** Whether animations are disabled. */\n _noopAnimations: boolean;\n\n @ContentChildren(MatListAvatarCssMatStyler, {descendants: false}) _avatars: QueryList<never>;\n @ContentChildren(MatListIconCssMatStyler, {descendants: false}) _icons: QueryList<never>;\n\n @Input()\n get disableRipple(): boolean {\n return (\n this.disabled || this._disableRipple || this._listBase.disableRipple || this._noopAnimations\n );\n }\n set disableRipple(value: boolean) {\n this._disableRipple = coerceBooleanProperty(value);\n }\n private _disableRipple: boolean = false;\n\n /** Whether the list-item is disabled. */\n @Input()\n get disabled(): boolean {\n return this._disabled || (this._listBase && this._listBase.disabled);\n }\n set disabled(value: boolean) {\n this._disabled = coerceBooleanProperty(value);\n }\n private _disabled = false;\n\n private _subscriptions = new Subscription();\n private _rippleRenderer: RippleRenderer | null = null;\n\n /**\n * Implemented as part of `RippleTarget`.\n * @docs-private\n */\n rippleConfig: RippleConfig & RippleGlobalOptions;\n\n /**\n * Implemented as part of `RippleTarget`.\n * @docs-private\n */\n get rippleDisabled(): boolean {\n return this.disableRipple || !!this.rippleConfig.disabled;\n }\n\n constructor(\n public _elementRef: ElementRef<HTMLElement>,\n protected _ngZone: NgZone,\n private _listBase: MatListBase,\n private _platform: Platform,\n @Optional()\n @Inject(MAT_RIPPLE_GLOBAL_OPTIONS)\n globalRippleOptions?: RippleGlobalOptions,\n @Optional() @Inject(ANIMATION_MODULE_TYPE) animationMode?: string,\n ) {\n this.rippleConfig = globalRippleOptions || {};\n this._hostElement = this._elementRef.nativeElement;\n this._noopAnimations = animationMode === 'NoopAnimations';\n\n if (!this._listBase._isNonInteractive) {\n this._initInteractiveListItem();\n }\n\n // If no type attribute is specified for a host `<button>` element, set it to `button`. If a\n // type attribute is already specified, we do nothing. We do this for backwards compatibility.\n // TODO: Determine if we intend to continue doing this for the MDC-based list.\n if (\n this._hostElement.nodeName.toLowerCase() === 'button' &&\n !this._hostElement.hasAttribute('type')\n ) {\n this._hostElement.setAttribute('type', 'button');\n }\n }\n\n ngAfterContentInit() {\n this._monitorLines();\n }\n\n ngOnDestroy() {\n this._subscriptions.unsubscribe();\n if (this._rippleRenderer !== null) {\n this._rippleRenderer._removeTriggerEvents();\n }\n }\n\n /** Gets the label for the list item. This is used for the typeahead. */\n _getItemLabel(): string {\n return this._itemText ? this._itemText.nativeElement.textContent || '' : '';\n }\n\n /** Whether the list item has icons or avatars. */\n _hasIconOrAvatar() {\n return !!(this._avatars.length || this._icons.length);\n }\n\n private _initInteractiveListItem() {\n this._hostElement.classList.add('mat-mdc-list-item-interactive');\n this._rippleRenderer = new RippleRenderer(\n this,\n this._ngZone,\n this._hostElement,\n this._platform,\n );\n this._rippleRenderer.setupTriggerEvents(this._hostElement);\n }\n\n /**\n * Subscribes to changes in `MatLine` content children and annotates them\n * appropriately when they change.\n */\n private _monitorLines() {\n this._ngZone.runOutsideAngular(() => {\n this._subscriptions.add(\n this.lines.changes\n .pipe(startWith(this.lines))\n .subscribe((lines: QueryList<ElementRef<Element>>) => {\n toggleClass(this._hostElement, 'mat-mdc-list-item-single-line', lines.length <= 1);\n toggleClass(this._hostElement, 'mdc-list-item--with-one-line', lines.length <= 1);\n\n lines.forEach((line: ElementRef<Element>, index: number) => {\n toggleClass(this._hostElement, 'mdc-list-item--with-two-lines', lines.length === 2);\n toggleClass(this._hostElement, 'mdc-list-item--with-three-lines', lines.length === 3);\n toggleClass(\n line.nativeElement,\n 'mdc-list-item__primary-text',\n index === 0 && lines.length > 1,\n );\n toggleClass(line.nativeElement, 'mdc-list-item__secondary-text', index !== 0);\n });\n setLines(lines, this._elementRef, 'mat-mdc');\n }),\n );\n });\n }\n\n static ngAcceptInputType_disabled: BooleanInput;\n static ngAcceptInputType_disableRipple: BooleanInput;\n}\n\n@Directive({\n host: {\n '[class.mat-mdc-list-non-interactive]': '_isNonInteractive',\n '[attr.aria-disabled]': 'disabled',\n },\n})\n/** @docs-private */\nexport abstract class MatListBase {\n _isNonInteractive: boolean = true;\n\n /** Whether ripples for all list items is disabled. */\n @Input()\n get disableRipple(): boolean {\n return this._disableRipple;\n }\n set disableRipple(value: boolean) {\n this._disableRipple = coerceBooleanProperty(value);\n }\n private _disableRipple: boolean = false;\n\n /** Whether all list items are disabled. */\n @Input()\n get disabled(): boolean {\n return this._disabled;\n }\n set disabled(value: boolean) {\n this._disabled = coerceBooleanProperty(value);\n }\n private _disabled = false;\n\n static ngAcceptInputType_disabled: BooleanInput;\n static ngAcceptInputType_disableRipple: BooleanInput;\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core';\nimport {MatListBase} from './list-base';\n\n@Component({\n selector: 'mat-action-list',\n exportAs: 'matActionList',\n template: '<ng-content></ng-content>',\n host: {\n 'class': 'mat-mdc-action-list mat-mdc-list-base mdc--list',\n },\n styleUrls: ['list.css'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [{provide: MatListBase, useExisting: MatActionList}],\n})\nexport class MatActionList extends MatListBase {\n // An navigation list is considered interactive, but does not extend the interactive list\n // base class. We do this because as per MDC, items of interactive lists are only reachable\n // through keyboard shortcuts. We want all items for the navigation list to be reachable\n // through tab key as we do not intend to provide any special accessibility treatment. The\n // accessibility treatment depends on how the end-user will interact with it.\n override _isNonInteractive = false;\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {Platform} from '@angular/cdk/platform';\nimport {\n ChangeDetectionStrategy,\n Component,\n ContentChildren,\n ElementRef,\n Inject,\n NgZone,\n Optional,\n QueryList,\n ViewChild,\n ViewEncapsulation,\n} from '@angular/core';\nimport {\n MatLine,\n MAT_RIPPLE_GLOBAL_OPTIONS,\n RippleGlobalOptions,\n} from '@angular/material-experimental/mdc-core';\nimport {ANIMATION_MODULE_TYPE} from '@angular/platform-browser/animations';\nimport {MatListBase, MatListItemBase} from './list-base';\n\n@Component({\n selector: 'mat-list',\n exportAs: 'matList',\n template: '<ng-content></ng-content>',\n host: {\n 'class': 'mat-mdc-list mat-mdc-list-base mdc-list',\n },\n styleUrls: ['list.css'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [{provide: MatListBase, useExisting: MatList}],\n})\nexport class MatList extends MatListBase {}\n\n@Component({\n selector: 'mat-list-item, a[mat-list-item], button[mat-list-item]',\n exportAs: 'matListItem',\n host: {\n 'class': 'mat-mdc-list-item mdc-list-item',\n '[class.mdc-list-item--with-leading-avatar]': '_avatars.length !== 0',\n '[class.mdc-list-item--with-leading-icon]': '_icons.length !== 0',\n // If there are projected lines, we project the remaining content into the `mdc-list-item__end`\n // container. In order to make sure the container aligns properly (if there is content), we add\n // the trailing meta class. Note that we also add this even if there is no projected `meta`\n // content. This is because there is no good way to check for remaining projected content.\n '[class.mdc-list-item--with-trailing-meta]': 'lines.length !== 0',\n '[class._mat-animation-noopable]': '_noopAnimations',\n },\n templateUrl: 'list-item.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MatListItem extends MatListItemBase {\n @ContentChildren(MatLine, {read: ElementRef, descendants: true}) lines: QueryList<\n ElementRef<Element>\n >;\n @ViewChild('text') _itemText: ElementRef<HTMLElement>;\n\n constructor(\n element: ElementRef,\n ngZone: NgZone,\n listBase: MatListBase,\n platform: Platform,\n @Optional() @Inject(MAT_RIPPLE_GLOBAL_OPTIONS) globalRippleOptions?: RippleGlobalOptions,\n @Optional() @Inject(ANIMATION_MODULE_TYPE) animationMode?: string,\n ) {\n super(element, ngZone, listBase, platform, globalRippleOptions, animationMode);\n }\n}\n","<ng-content select=\"[mat-list-avatar],[matListAvatar],[mat-list-icon],[matListIcon]\"></ng-content>\n\n<!-- If lines were explicitly given, use those as the text. -->\n<ng-container *ngIf=\"lines.length\">\n <span class=\"mdc-list-item__content\"><ng-content select=\"[mat-line],[matLine]\"></ng-content></span>\n</ng-container>\n\n<!--\n If lines were not explicitly given, assume the remaining content is the text, otherwise assume it\n is an action that belongs in the \"end\" section.\n-->\n<span [class.mdc-list-item__content]=\"!lines.length\"\n [class.mdc-list-item__end]=\"lines.length\" #text>\n <ng-content></ng-content>\n</span>\n\n<ng-content select=\"mat-divider\"></ng-content>\n\n<!--\n Strong focus indicator element. MDC uses the `::before` pseudo element for the default\n focus/hover/selected state, so we need a separate element.\n-->\n<div class=\"mat-mdc-focus-indicator\"></div>\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {BooleanInput, coerceBooleanProperty} from '@angular/cdk/coercion';\nimport {SelectionModel} from '@angular/cdk/collections';\nimport {Platform} from '@angular/cdk/platform';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChildren,\n ElementRef,\n EventEmitter,\n Inject,\n InjectionToken,\n Input,\n NgZone,\n OnDestroy,\n OnInit,\n Optional,\n Output,\n QueryList,\n ViewChild,\n ViewEncapsulation,\n} from '@angular/core';\nimport {\n MatLine,\n MAT_RIPPLE_GLOBAL_OPTIONS,\n RippleGlobalOptions,\n ThemePalette,\n} from '@angular/material-experimental/mdc-core';\nimport {ANIMATION_MODULE_TYPE} from '@angular/platform-browser/animations';\nimport {MatListBase, MatListItemBase} from './list-base';\nimport {LIST_OPTION, ListOption, MatListOptionCheckboxPosition} from './list-option-types';\n\n/**\n * Injection token that can be used to reference instances of an `SelectionList`. It serves\n * as alternative token to an actual implementation which would result in circular references.\n * @docs-private\n */\nexport const SELECTION_LIST = new InjectionToken<SelectionList>('SelectionList');\n\n/**\n * Interface describing the containing list of an list option. This is used to avoid\n * circular dependencies between the list-option and the selection list.\n * @docs-private\n */\nexport interface SelectionList extends MatListBase {\n multiple: boolean;\n color: ThemePalette;\n selectedOptions: SelectionModel<MatListOption>;\n compareWith: (o1: any, o2: any) => boolean;\n _value: string[] | null;\n _reportValueChange: () => void;\n _onTouched: () => void;\n}\n\n@Component({\n selector: 'mat-list-option',\n exportAs: 'matListOption',\n styleUrls: ['list-option.css'],\n host: {\n 'class': 'mat-mdc-list-item mat-mdc-list-option mdc-list-item',\n 'role': 'option',\n // As per MDC, only list items in single selection mode should receive the `--selected`\n // class. For multi selection, the checkbox is used as indicator.\n '[class.mdc-list-item--selected]': 'selected && !_selectionList.multiple',\n // Based on the checkbox position and whether there are icons or avatars, we apply MDC's\n // list-item `--leading` and `--trailing` classes.\n '[class.mdc-list-item--with-leading-avatar]': '_hasProjected(\"avatars\", \"before\")',\n '[class.mdc-list-item--with-leading-icon]': '_hasProjected(\"icons\", \"before\")',\n '[class.mdc-list-item--with-trailing-icon]': '_hasProjected(\"icons\", \"after\")',\n '[class.mat-mdc-list-option-with-trailing-avatar]': '_hasProjected(\"avatars\", \"after\")',\n // Based on the checkbox position, we apply the `--leading` or `--trailing` MDC classes\n // which ensure that the checkbox is positioned correctly within the list item.\n '[class.mdc-list-item--with-leading-checkbox]': '_hasCheckboxAt(\"before\")',\n '[class.mdc-list-item--with-trailing-checkbox]': '_hasCheckboxAt(\"after\")',\n '[class.mat-accent]': 'color !== \"primary\" && color !== \"warn\"',\n '[class.mat-warn]': 'color === \"warn\"',\n '[class._mat-animation-noopable]': '_noopAnimations',\n '(blur)': '_handleBlur()',\n },\n templateUrl: 'list-option.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {provide: MatListItemBase, useExisting: MatListOption},\n {provide: LIST_OPTION, useExisting: MatListOption},\n ],\n})\nexport class MatListOption extends MatListItemBase implements ListOption, OnInit, OnDestroy {\n /**\n * This is set to true after the first OnChanges cycle so we don't\n * clear the value of `selected` in the first cycle.\n */\n private _inputsInitialized = false;\n\n /**\n * Emits when the selected state of the option has changed.\n * Use to facilitate two-data binding to the `selected` property.\n * @docs-private\n */\n @Output()\n readonly selectedChange: EventEmitter<boolean> = new EventEmitter<boolean>();\n\n @ViewChild('text') _itemText: ElementRef<HTMLElement>;\n\n @ContentChildren(MatLine, {read: ElementRef, descendants: true}) lines: QueryList<\n ElementRef<Element>\n >;\n\n /** Whether the label should appear before or after the checkbox. Defaults to 'after' */\n @Input() checkboxPosition: MatListOptionCheckboxPosition = 'after';\n\n /** Theme color of the list option. This sets the color of the checkbox. */\n @Input()\n get color(): ThemePalette {\n return this._color || this._selectionList.color;\n }\n set color(newValue: ThemePalette) {\n this._color = newValue;\n }\n private _color: ThemePalette;\n\n /** Value of the option */\n @Input()\n get value(): any {\n return this._value;\n }\n set value(newValue: any) {\n if (this.selected && newValue !== this.value && this._inputsInitialized) {\n this.selected = false;\n }\n\n this._value = newValue;\n }\n private _value: any;\n\n /** Whether the option is selected. */\n @Input()\n get selected(): boolean {\n return this._selectionList.selectedOptions.isSelected(this);\n }\n set selected(value: boolean) {\n const isSelected = coerceBooleanProperty(value);\n\n if (isSelected !== this._selected) {\n this._setSelected(isSelected);\n\n if (isSelected || this._selectionList.multiple) {\n this._selectionList._reportValueChange();\n }\n }\n }\n private _selected = false;\n\n constructor(\n element: ElementRef,\n ngZone: NgZone,\n platform: Platform,\n @Inject(SELECTION_LIST) public _selectionList: SelectionList,\n private _changeDetectorRef: ChangeDetectorRef,\n @Optional() @Inject(MAT_RIPPLE_GLOBAL_OPTIONS) globalRippleOptions?: RippleGlobalOptions,\n @Optional() @Inject(ANIMATION_MODULE_TYPE) animationMode?: string,\n ) {\n super(element, ngZone, _selectionList, platform, globalRippleOptions, animationMode);\n\n // By default, we mark all options as unselected. The MDC list foundation will\n // automatically update the attribute based on selection. Note that we need to\n // initially set this because MDC does not set the default attributes for list\n // items but expects items to be set up properly in the static markup.\n element.nativeElement.setAttribute('aria-selected', 'false');\n }\n\n ngOnInit() {\n const list = this._selectionList;\n\n if (list._value && list._value.some(value => list.compareWith(value, this._value))) {\n this._setSelected(true);\n }\n\n const wasSelected = this._selected;\n\n // List options that are selected at initialization can't be reported properly to the form\n // control. This is because it takes some time until the selection-list knows about all\n // available options. Also it can happen that the ControlValueAccessor has an initial value\n // that should be used instead. Deferring the value change report to the next tick ensures\n // that the form control value is not being overwritten.\n Promise.resolve().then(() => {\n if (this._selected || wasSelected) {\n this.selected = true;\n this._changeDetectorRef.markForCheck();\n }\n });\n this._inputsInitialized = true;\n }\n\n override ngOnDestroy(): void {\n if (this.selected) {\n // We have to delay this until the next tick in order\n // to avoid changed after checked errors.\n Promise.resolve().then(() => {\n this.selected = false;\n });\n }\n }\n\n /** Toggles the selection state of the option. */\n toggle(): void {\n this.selected = !this.selected;\n }\n\n /** Allows for programmatic focusing of the option. */\n focus(): void {\n this._hostElement.focus();\n }\n\n /** Whether a checkbox is shown at the given position. */\n _hasCheckboxAt(position: MatListOptionCheckboxPosition): boolean {\n return this._selectionList.multiple && this._getCheckboxPosition() === position;\n }\n\n /** Whether icons or avatars are shown at the given position. */\n _hasIconsOrAvatarsAt(position: 'before' | 'after'): boolean {\n return this._hasProjected('icons', position) || this._hasProjected('avatars', position);\n }\n\n /** Gets whether the given type of element is projected at the specified position. */\n _hasProjected(type: 'icons' | 'avatars', position: 'before' | 'after'): boolean {\n // If the checkbox is shown at the specified position, neither icons or\n // avatars can be shown at the position.\n return (\n this._getCheckboxPosition() !== position &&\n (type === 'avatars' ? this._avatars.length !== 0 : this._icons.length !== 0)\n );\n }\n\n _handleBlur() {\n this._selectionList._onTouched();\n }\n\n /** Gets the current position of the checkbox. */\n _getCheckboxPosition() {\n return this.checkboxPosition || 'after';\n }\n\n /**\n * Sets the selected state of the option.\n * @returns Whether the value has changed.\n */\n _setSelected(selected: boolean): boolean {\n if (selected === this._selected) {\n return false;\n }\n\n this._selected = selected;\n\n if (selected) {\n this._selectionList.selectedOptions.select(this);\n } else {\n this._selectionList.selectedOptions.deselect(this);\n }\n\n this.selectedChange.emit(selected);\n this._changeDetectorRef.markForCheck();\n return true;\n }\n\n /**\n * Notifies Angular that the option needs to be checked in the next change detection run.\n * Mainly used to trigger an update of the list option if the disabled state of the selection\n * list changed.\n */\n _markForCheck() {\n this._changeDetectorRef.markForCheck();\n }\n\n static ngAcceptInputType_selected: BooleanInput;\n}\n","<!--\n Save icons and the pseudo checkbox so that they can be re-used in the template without\n duplication. Also content can only be injected once so we need to extract icons/avatars\n into a template since we use it in multiple places.\n-->\n<ng-template #icons>\n <ng-content select=\"[mat-list-avatar],[matListAvatar],[mat-list-icon],[matListIcon]\">\n </ng-content>\n</ng-template>\n\n<ng-template #checkbox>\n <div class=\"mdc-checkbox\" [class.mdc-checkbox--disabled]=\"disabled\">\n <input type=\"checkbox\" class=\"mdc-checkbox__native-control\"\n [checked]=\"selected\" [disabled]=\"disabled\"/>\n <div class=\"mdc-checkbox__background\">\n <svg class=\"mdc-checkbox__checkmark\"\n viewBox=\"0 0 24 24\"\n aria-hidden=\"true\">\n <path class=\"mdc-checkbox__checkmark-path\"\n fill=\"none\"\n d=\"M1.73,12.91 8.1,19.28 22.79,4.59\"/>\n </svg>\n <div class=\"mdc-checkbox__mixedmark\"></div>\n </div>\n </div>\n</ng-template>\n\n<!-- Container for the checkbox at start. -->\n<span class=\"mdc-list-item__start mat-mdc-list-option-checkbox-before\"\n *ngIf=\"_hasCheckboxAt('before')\">\n <ng-template [ngTemplateOutlet]=\"checkbox\"></ng-template>\n</span>\n<!-- Conditionally renders icons/avatars before the list item text. -->\n<ng-template [ngIf]=\"_hasIconsOrAvatarsAt('before')\">\n <ng-template [ngTemplateOutlet]=\"icons\"></ng-template>\n</ng-template>\n\n<!-- Text -->\n<span class=\"mdc-list-item__content\" #text>\n <ng-content></ng-content>\n</span>\n\n<!-- Container for the checkbox at the end. -->\n<span class=\"mdc-list-item__end\" *ngIf=\"_hasCheckboxAt('after')\">\n <ng-template [ngTemplateOutlet]=\"checkbox\"></ng-template>\n</span>\n<!-- Conditionally renders icons/avatars after the list item text. -->\n<ng-template [ngIf]=\"_hasIconsOrAvatarsAt('after')\">\n <ng-template [ngTemplateOutlet]=\"icons\"></ng-template>\n</ng-template>\n\n<!-- Divider -->\n<ng-content select=\"mat-divider\"></ng-content>\n\n<!--\n Strong focus indicator element. MDC uses the `::before` pseudo element for the default\n focus/hover/selected state, so we need a separate element.\n-->\n<div class=\"mat-mdc-focus-indicator\"></div>\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core';\nimport {MatListBase} from './list-base';\n\n@Component({\n selector: 'mat-nav-list',\n exportAs: 'matNavList',\n template: '<ng-content></ng-content>',\n host: {\n 'class': 'mat-mdc-nav-list mat-mdc-list-base mdc-list',\n },\n styleUrls: ['list.css'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [{provide: MatListBase, useExisting: MatNavList}],\n})\nexport class MatNavList extends MatListBase {\n // An navigation list is considered interactive, but does not extend the interactive list\n // base class. We do this because as per MDC, items of interactive lists are only reachable\n // through keyboard shortcuts. We want all items for the navigation list to be reachable\n // through tab key as we do not intend to provide any special accessibility treatment. The\n // accessibility treatment depends on how the end-user will interact with it.\n override _isNonInteractive = false;\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {DOCUMENT} from '@angular/common';\nimport {AfterViewInit, Directive, ElementRef, Inject, OnDestroy, QueryList} from '@angular/core';\nimport {MDCListAdapter, MDCListFoundation} from '@material/list';\nimport {Subscription} from 'rxjs';\nimport {startWith} from 'rxjs/operators';\nimport {MatListBase, MatListItemBase} from './list-base';\n\n@Directive({\n host: {\n '(keydown)': '_handleKeydown($event)',\n '(click)': '_handleClick($event)',\n '(focusin)': '_handleFocusin($event)',\n '(focusout)': '_handleFocusout($event)',\n },\n})\n/** @docs-private */\nexport abstract class MatInteractiveListBase<T extends MatListItemBase>\n extends MatListBase\n implements AfterViewInit, OnDestroy\n{\n _handleKeydown(event: KeyboardEvent) {\n const index = this._indexForElement(event.target as HTMLElement);\n this._foundation.handleKeydown(event, this._elementAtIndex(index) === event.target, index);\n }\n\n _handleClick(event: MouseEvent) {\n // The `toggleCheckbox` parameter can always be `true` as it only has an effect if the list\n // is recognized as checkbox selection list. For such lists, we would always want to toggle\n // the checkbox on list item click. MDC added this parameter so that they can avoid dispatching\n // a fake `change` event when the checkbox is directly clicked for the list item. We don't\n // need this as we require such list item checkboxes to stop propagation of the change event.\n // https://github.com/material-components/material-components-web/blob/08ca4d0ec5f359bc3a20bd2a302fa6b733b5e135/packages/mdc-list/component.ts#L308-L310\n this._foundation.handleClick(\n this._indexForElement(event.target as HTMLElement),\n /* toggleCheckbox */ true,\n );\n }\n\n _handleFocusin(event: FocusEvent) {\n const itemIndex = this._indexForElement(event.target as HTMLElement);\n const tabIndex = this._itemsArr[itemIndex]?._hostElement.tabIndex;\n\n // If the newly focused item is not the designated item that should have received focus\n // first through keyboard interaction, the tabindex of the previously designated list item\n // needs to be cleared, so that only one list item is reachable through tab key at any time.\n // MDC sets a tabindex for the newly focused item, so we do not need to set a tabindex for it.\n // Workaround for: https://github.com/material-components/material-components-web/issues/6363.\n if (tabIndex === undefined || tabIndex === -1) {\n this._clearTabindexForAllItems();\n }\n\n this._foundation.handleFocusIn(itemIndex);\n }\n\n _handleFocusout(event: FocusEvent) {\n this._foundation.handleFocusOut(this._indexForElement(event.target as HTMLElement));\n }\n\n /** Items in the interactive list. */\n abstract _items: QueryList<T>;\n _itemsArr: T[] = [];\n _document: Document;\n\n protected _foundation: MDCListFoundation;\n protected _adapter: MDCListAdapter;\n\n private _subscriptions = new Subscription();\n\n protected constructor(public _element: ElementRef<HTMLElement>, @Inject(DOCUMENT) document: any) {\n super();\n this._document = document;\n this._isNonInteractive = false;\n }\n\n protected _initWithAdapter(adapter: MDCListAdapter) {\n this._adapter = adapter;\n this._foundation = new MDCListFoundation(adapter);\n }\n\n ngAfterViewInit() {\n if ((typeof ngDevMode === 'undefined' || ngDevMode) && !this._foundation) {\n throw Error('MDC list foundation not initialized for Angular Material list.');\n }\n\n this._foundation.init();\n this._watchListItems();\n\n // Enable typeahead and focus wrapping for interactive lists.\n this._foundation.setHasTypeahead(true);\n this._foundation.setWrapFocus(true);\n }\n\n ngOnDestroy() {\n this._foundation.destroy();\n this._subscriptions.unsubscribe();\n }\n\n protected _watchListItems() {\n this._subscriptions.add(\n this._items.changes.pipe(startWith(null)).subscribe(() => {\n this._itemsArr = this._items.toArray();\n // Whenever the items change, the foundation needs to be notified through the `layout`\n // method. It caches items for the typeahead and detects the list type based on the items.\n this._foundation.layout();\n\n // The list items changed, so we reset the tabindex for all items and\n // designate one list item that will be reachable through tab.\n this._resetTabindexToFirstSelectedOrFocusedItem();\n }),\n );\n }\n\n /**\n * Clears the tabindex of all items so that no items are reachable through tab key.\n * MDC intends to always have only one tabbable item that will receive focus first.\n * This first item is selected by MDC automatically on blur or by manually invoking\n * the `setTabindexToFirstSelectedOrFocusedItem` method.\n */\n private _clearTabindexForAllItems() {\n for (let items of this._itemsArr) {\n items._hostElement.setAttribute('tabindex', '-1');\n }\n }\n\n /**\n * Resets tabindex for all options and sets tabindex for the first selected option or\n * previously focused item so that an item can be reached when users tab into the list.\n */\n protected _resetTabindexToFirstSelectedOrFocusedItem() {\n this._clearTabindexForAllItems();\n // MDC does not expose the method for setting the tabindex to the first selected\n // or previously focused item. We can still access the method as private class\n // members are accessible in the transpiled JavaScript. Tracked upstream with:\n // TODO: https://github.com/material-components/material-components-web/issues/6375\n (this._foundation as any).setTabindexToFirstSelectedOrFocusedItem();\n }\n\n _elementAtIndex(index: number): HTMLElement | undefined {\n return this._itemsArr[index]?._hostElement;\n }\n\n _indexForElement(element: Element | null): number {\n return element ? this._itemsArr.findIndex(i => i._hostElement.contains(element)) : -1;\n }\n}\n\n// TODO: replace with class once material-components-web/pull/6256 is available.\n/** Gets an instance of `MDcListAdapter` for the given interactive list. */\nexport function getInteractiveListAdapter(\n list: MatInteractiveListBase<MatListItemBase>,\n): MDCListAdapter {\n return {\n getListItemCount() {\n return list._items.length;\n },\n listItemAtIndexHasClass(index: number, className: string) {\n const element = list._elementAtIndex(index);\n return element ? element.classList.contains(className) : false;\n },\n addClassForElementIndex(index: number, className: string) {\n list._elementAtIndex(index)?.classList.add(className);\n },\n removeClassForElementIndex(index: number, className: string) {\n list._elementAtIndex(index)?.classList.remove(className);\n },\n getAttributeForElementIndex(index: number, attr: string) {\n const element = list._elementAtIndex(index);\n return element ? element.getAttribute(attr) : null;\n },\n setAttributeForElementIndex(index: number, attr: string, value: string) {\n list._elementAtIndex(index)?.setAttribute(attr, value);\n },\n getFocusedElementIndex() {\n return list._indexForElement(list._document?.activeElement);\n },\n isFocusInsideList() {\n return list._element.nativeElement.contains(list._document?.activeElement);\n },\n isRootFocused() {\n return list._element.nativeElement === list._document?.activeElement;\n },\n focusItemAtIndex(index: number) {\n list._elementAtIndex(index)?.focus();\n },\n // Gets the text for a list item for the typeahead\n getPrimaryTextAtIndex(index: number) {\n return list._itemsArr[index]._getItemLabel();\n },\n\n // MDC uses this method to disable focusable children of list items. However, we believe that\n // this is not an accessible pattern and should be avoided, therefore we intentionally do not\n // implement this method. In addition, implementing this would require violating Angular\n // Material's general principle of not having components modify DOM elements they do not own.\n // A user who feels they really need this feature can simply listen to the `(focus)` and\n // `(blur)` events on the list item and enable/disable focus on the children themselves as\n // appropriate.\n setTabIndexForListItemChildren() {},\n\n // The following methods have a dummy implementation in the base class because they are only\n // applicable to certain types of lists. They should be implemented for the concrete classes\n // where they are applicable.\n hasCheckboxAtIndex() {\n return false;\n },\n hasRadioAtIndex(index: number) {\n return false;\n },\n setCheckedCheckboxOrRadioAtIndex(index: number, checked: boolean) {},\n isCheckboxCheckedAtIndex(index: number) {\n return false;\n },\n notifyAction() {},\n };\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {BooleanInput, coerceBooleanProperty} from '@angular/cdk/coercion';\nimport {SelectionModel} from '@angular/cdk/collections';\nimport {DOCUMENT} from '@angular/common';\nimport {\n AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n ContentChildren,\n ElementRef,\n EventEmitter,\n forwardRef,\n Inject,\n Input,\n OnChanges,\n OnDestroy,\n Output,\n QueryList,\n SimpleChanges,\n ViewEncapsulation,\n} from '@angular/core';\nimport {ControlValueAccessor, NG_VALUE_ACCESSOR} from '@angular/forms';\nimport {ThemePalette} from '@angular/material-experimental/mdc-core';\nimport {MDCListAdapter, numbers as mdcListNumbers} from '@material/list';\nimport {Subject} from 'rxjs';\nimport {takeUntil} from 'rxjs/operators';\nimport {getInteractiveListAdapter, MatInteractiveListBase} from './interactive-list-base';\nimport {MatListBase} from './list-base';\nimport {MatListOption, SELECTION_LIST, SelectionList} from './list-option';\n\nconst MAT_SELECTION_LIST_VALUE_ACCESSOR: any = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => MatSelectionList),\n multi: true,\n};\n\n/** Change event that is being fired whenever the selected state of an option changes. */\nexport class MatSelectionListChange {\n constructor(\n /** Reference to the selection list that emitted the event. */\n public source: MatSelectionList,\n /**\n * Reference to the option that has been changed.\n * @deprecated Use `options` instead, because some events may change more than one option.\n * @breaking-change 12.0.0\n */\n public option: MatListOption,\n /** Reference to the options that have been changed. */\n public options: MatListOption[],\n ) {}\n}\n\n@Component({\n selector: 'mat-selection-list',\n exportAs: 'matSelectionList',\n host: {\n 'class': 'mat-mdc-selection-list mat-mdc-list-base mdc-list',\n 'role': 'listbox',\n '[attr.aria-multiselectable]': 'multiple',\n },\n template: '<ng-content></ng-content>',\n styleUrls: ['list.css'],\n encapsulation: ViewEncapsulation.None,\n providers: [\n MAT_SELECTION_LIST_VALUE_ACCESSOR,\n {provide: MatListBase, useExisting: MatSelectionList},\n {provide: SELECTION_LIST, useExisting: MatSelectionList},\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MatSelectionList\n extends MatInteractiveListBase<MatListOption>\n implements SelectionList, ControlValueAccessor, AfterViewInit, OnChanges, OnDestroy\n{\n private _multiple = true;\n private _initialized = false;\n\n @ContentChildren(MatListOption, {descendants: true}) _items: QueryList<MatListOption>;\n\n /** Emits a change event whenever the selected state of an option changes. */\n @Output() readonly selectionChange: EventEmitter<MatSelectionListChange> =\n new EventEmitter<MatSelectionListChange>();\n\n /** Theme color of the selection list. This sets the checkbox color for all list options. */\n @Input() color: ThemePalette = 'accent';\n\n /**\n * Function used for comparing an option against the selected value when determining which\n * options should appear as selected. The first argument is the value of an options. The second\n * one is a value from the selected value. A boolean must be returned.\n */\n @Input() compareWith: (o1: any, o2: any) => boolean = (a1, a2) => a1 === a2;\n\n /** Whether selection is limited to one or multiple items (default multiple). */\n @Input()\n get multiple(): boolean {\n return this._multiple;\n }\n set multiple(value: boolean) {\n const newValue = coerceBooleanProperty(value);\n\n if (newValue !== this._multiple) {\n if ((typeof ngDevMode === 'undefined' || ngDevMode) && this._initialized) {\n throw new Error(\n 'Cannot change `multiple` mode of mat-selection-list after initialization.',\n );\n }\n\n this._multiple = newValue;\n this.selectedOptions = new SelectionModel(this._multiple, this.selectedOptions.selected);\n }\n }\n\n /** The currently selected options. */\n selectedOptions = new SelectionModel<MatListOption>(this._multiple);\n\n /** View to model callback that should be called whenever the selected options change. */\n private _onChange: (value: any) => void = (_: any) => {};\n\n /** Keeps track of the currently-selected value. */\n _value: string[] | null;\n\n /** Emits when the list has been destroyed. */\n private _destroyed = new Subject<void>();\n\n /** View to model callback that should be called if the list or its options lost focus. */\n _onTouched: () => void = () => {};\n\n /** Whether the list has been destroyed. */\n private _isDestroyed: boolean;\n\n constructor(element: ElementRef<HTMLElement>, @Inject(DOCUMENT) document: any) {\n super(element, document);\n super._initWithAdapter(getSelectionListAdapter(this));\n }\n\n override ngAfterViewInit() {\n // Mark the selection list as initialized so that the `multiple`\n // binding can no longer be changed.\n this._initialized = true;\n\n // Update the options if a control value has been set initially. Note that this should happen\n // before watching for selection changes as otherwise we would sync options with MDC multiple\n // times as part of view initialization (also the foundation would not be initialized yet).\n if (this._value) {\n this._setOptionsFromValues(this._value);\n }\n\n // Start monitoring the selected options so that the list foundation can be\n // updated accordingly.\n this._watchForSelectionChange();\n\n // Initialize the list foundation, including the initial `layout()` invocation.\n super.ngAfterViewInit();\n\n // List options can be pre-selected using the `selected` input. We need to sync the selected\n // options after view initialization with the foundation so that focus can be managed\n // accordingly. Note that this needs to happen after the initial `layout()` call because the\n // list wouldn't know about multi-selection and throw.\n if (this._items.length !== 0) {\n this._syncSelectedOptionsWithFoundation();\n this._resetTabindexForItemsIfBlurred();\n }\n }\n\n ngOnChanges(changes: SimpleChanges) {\n const disabledChanges = changes['disabled'];\n const disableRippleChanges = changes['disableRipple'];\n\n if (\n (disableRippleChanges && !disableRippleChanges.firstChange) ||\n (disabledChanges && !disabledChanges.firstChange)\n ) {\n this._markOptionsForCheck();\n }\n }\n\n override ngOnDestroy() {\n this._destroyed.next();\n this._destroyed.complete();\n this._isDestroyed = true;\n }\n\n /** Focuses the selection list. */\n focus(options?: FocusOptions) {\n this._element.nativeElement.focus(options);\n }\n\n /** Selects all of the options. Returns the options that changed as a result. */\n selectAll(): MatListOption[] {\n return this._setAllOptionsSelected(true);\n }\n\n /** Deselects all of the options. Returns the options that changed as a result. */\n deselectAll(): MatListOption[] {\n return this._setAllOptionsSelected(false);\n }\n\n /** Reports a value change to the ControlValueAccessor */\n _reportValueChange() {\n // Stop reporting value changes after the list has been destroyed. This avoids\n // cases where the list might wrongly reset its value once it is removed, but\n // the form control is still live.\n if (this.options && !this._isDestroyed) {\n const value = this._getSelectedOptionValues();\n this._onChange(value);\n this._value = value;\n }\n }\n\n /** Emits a change event if the selected state of an option changed. */\n _emitChangeEvent(options: MatListOption[]) {\n this.selectionChange.emit(new MatSelectionListChange(this, options[0], options));\n }\n\n /** Implemented as part of ControlValueAccessor. */\n writeValue(values: string[]): void {\n this._value = values;\n\n if (this.options) {\n this._setOptionsFromValues(values || []);\n }\n }\n\n /** Implemented as a part of ControlValueAccessor. */\n setDisabledState(isDisabled: boolean): void {\n this.disabled = isDisabled;\n }\n\n /** Implemented as part of ControlValueAccessor. */\n registerOnChange(fn: (value: any) => void): void {\n this._onChange = fn;\n }\n\n /** Implemented as part of ControlValueAccessor. */\n registerOnTouched(fn: () => void): void {\n this._onTouched = fn;\n }\n\n /**\n * Resets tabindex for all options and sets tabindex for the first selected option so that\n * it will become active when users tab into the selection-list. This will be a noop if the\n * list is currently focused as otherwise multiple options might become reachable through tab.\n * e.g. A user currently already focused an option. We set tabindex to a new option but the\n * focus on the current option does persist. Pressing `TAB` then might go to the other option\n * that received a tabindex. We can skip the reset here as the MDC foundation resets the\n * tabindex to the first selected option automatically once the current item is blurred.\n */\n private _resetTabindexForItemsIfBlurred() {\n // If focus is inside the list already, then we do not change the tab index of the list.\n // Changing it while an item is focused could cause multiple items to be reachable through\n // the tab key. The MDC list foundation will update the tabindex on blur to the appropriate\n // selected or focused item.\n if (!this._adapter.isFocusInsideList()) {\n this._resetTabindexToFirstSelectedOrFocusedItem();\n }\n }\n\n private _watchForSelectionChange() {\n // Sync external changes to the model back to the options.\n this.selectedOptions.changed.pipe(takeUntil(this._destroyed)).subscribe(event => {\n if (event.added) {\n for (let item of event.added) {\n item.selected = true;\n }\n }\n\n if (event.removed) {\n for (let item of event.removed) {\n item.selected = false;\n }\n }\n\n // Sync the newly selected options with the foundation. Also reset tabindex for all\n // items if the list is currently not focused. We do this so that always the first\n // selected list item is focused when users tab into the selection list.\n this._syncSelectedOptionsWithFoundation();\n this._resetTabindexForItemsIfBlurred();\n });\n }\n\n private _syncSelectedOptionsWithFoundation() {\n if (this._multiple) {\n this._foundation.setSelectedIndex(\n this.selectedOptions.selected.map(o => this._itemsArr.indexOf(o)),\n );\n } else {\n const selected = this.selectedOptions.selected[0];\n const index =\n selected === undefined ? mdcListNumbers.UNSET_INDEX : this._itemsArr.indexOf(selected);\n this._foundation.setSelectedIndex(index);\n }\n }\n\n /** Sets the selected options based on the specified values. */\n private _setOptionsFromValues(values: string[]) {\n this.options.forEach(option => option._setSelected(false));\n\n values.forEach(value => {\n const correspondingOption = this.options.find(option => {\n // Skip options that are already in the model. This allows us to handle cases\n // where the same primitive value is selected multiple times.\n return option.selected ? false : this.compareWith(option.value, value);\n });\n\n if (correspondingOption) {\n correspondingOption._setSelected(true);\n }\n });\n }\n\n /** Returns the values of the selected options. */\n private _getSelectedOptionValues(): string[] {\n return this.options.filter(option => option.selected).map(option => option.value);\n }\n\n /** Marks all the options to be checked in the next change detection run. */\n private _markOptionsForCheck() {\n if (this.options) {\n this.options.forEach(option => option._markForCheck());\n }\n }\n\n /**\n * Sets the selected state on all of the options\n * and emits an event if anything changed.\n */\n private _setAllOptionsSelected(isSelected: boolean, skipDisabled?: boolean): MatListOption[] {\n // Keep track of whether anything changed, because we only want to\n // emit the changed event when something actually changed.\n const changedOptions: MatListOption[] = [];\n\n this.options.forEach(option => {\n if ((!skipDisabled || !option.disabled) && option._setSelected(isSelected)) {\n changedOptions.push(option);\n }\n });\n\n if (changedOptions.length) {\n this._reportValueChange();\n }\n\n return changedOptions;\n }\n\n // Note: This getter exists for backwards compatibility. The `_items` query list\n // cannot be named `options` as it will be picked up by the interactive list base.\n /** The option components contained within this selection-list. */\n get options(): QueryList<MatListOption> {\n return this._items;\n }\n\n static ngAcceptInputType_multiple: BooleanInput;\n}\n\n// TODO: replace with class using inheritance once material-components-web/pull/6256 is available.\n/** Gets a `MDCListAdapter` instance for the given selection list. */\nfunction getSelectionListAdapter(list: MatSelectionList): MDCListAdapter {\n const baseAdapter = getInteractiveListAdapter(list);\n return {\n ...baseAdapter,\n hasRadioAtIndex(): boolean {\n // If multi selection is not used, we treat the list as a radio list so that\n // the MDC foundation does not keep track of multiple selected list options.\n // Note that we cannot use MDC's non-radio single selection mode as that one\n // will keep track of the selection state internally and we cannot update a\n // control model, or notify/update list-options on selection change. The radio\n // mode is similar to what we want but with support for change notification\n // (i.e. `setCheckedCheckboxOrRadioAtIndex`) while maintaining single selection.\n return !list.multiple;\n },\n hasCheckboxAtIndex() {\n // If multi selection is used, we treat the list as a checkbox list so that\n // the MDC foundation can keep track of multiple selected list options.\n return list.multiple;\n },\n isCheckboxCheckedAtIndex(index: number) {\n return list._itemsArr[index].selected;\n },\n setCheckedCheckboxOrRadioAtIndex(index: number, checked: boolean) {\n list._itemsArr[index].selected = checked;\n },\n setAttributeForElementIndex(index: number, attribute: string, value: string): void {\n // MDC list by default sets `aria-checked` for multi selection lists. We do not want to\n // use this as that signifies a bad accessibility experience. Instead, we change the\n // attribute update to `aria-selected` as that works best with list-options. See:\n // https://github.com/material-components/material-components-web/issues/6367.\n // TODO: Remove this once material-components-web#6367 is improved/fixed.\n if (attribute === 'aria-checked') {\n attribute = 'aria-selected';\n }\n\n baseAdapter.setAttributeForElementIndex(index, attribute, value);\n },\n notifyAction(index: number): void {\n list._emitChangeEvent([list._itemsArr[index]]);\n },\n };\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {\n MatLineModule,\n MatPseudoCheckboxModule,\n MatRippleModule,\n MatCommonModule,\n} from '@angular/material-experimental/mdc-core';\nimport {MatDividerModule} from '@angular/material/divider';\nimport {MatActionList} from './action-list';\nimport {MatList, MatListItem} from './list';\nimport {MatListOption} from './list-option';\nimport {\n MatListAvatarCssMatStyler,\n MatListGraphicAlignmentStyler,\n MatListIconCssMatStyler,\n MatListSubheaderCssMatStyler,\n} from './list-styling';\nimport {MatNavList} from './nav-list';\nimport {MatSelectionList} from './selection-list';\n\n@NgModule({\n imports: [CommonModule, MatCommonModule, MatLineModule, MatRippleModule, MatPseudoCheckboxModule],\n exports: [\n MatList,\n MatActionList,\n MatNavList,\n MatSelectionList,\n MatListItem,\n MatListOption,\n MatListAvatarCssMatStyler,\n MatListIconCssMatStyler,\n MatListSubheaderCssMatStyler,\n MatListGraphicAlignmentStyler,\n MatDividerModule,\n MatLineModule,\n ],\n declarations: [\n MatList,\n MatActionList,\n MatNavList,\n MatSelectionList,\n MatListItem,\n MatListOption,\n MatListAvatarCssMatStyler,\n MatListIconCssMatStyler,\n MatListSubheaderCssMatStyler,\n MatListGraphicAlignmentStyler,\n ],\n})\nexport class MatListModule {}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nexport * from './action-list';\nexport * from './list';\nexport * from './module';\nexport * from './nav-list';\nexport * from './selection-list';\nexport * from './list-option';\nexport * from './list-styling';\nexport {MatListOptionCheckboxPosition} from './list-option-types';\nexport {MatListOption} from './list-option';\n\nexport {MAT_LIST, MAT_NAV_LIST, MAT_SELECTION_LIST_VALUE_ACCESSOR} from '@angular/material/list';\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nexport * from './public-api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["mdcListNumbers"],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;AAyBA;;;;;;AAMO,MAAM,WAAW,GAAG,IAAI,cAAc,CAAa,YAAY,CAAC;;AC/BvE;;;;;;;AAWA;;;;;;;MAca,6BAA6B;IACxC,YAAoD,WAAuB;QAAvB,gBAAW,GAAX,WAAW,CAAY;KAAI;IAE/E,iBAAiB;;;;QAGf,OAAO,CAAC,IAAI,CAAC,WAAW,IAAI,CAAA,MAAA,IAAI,CAAC,WAAW,0CAAE,oBAAoB,EAAE,MAAK,OAAO,CAAC;KAClF;;0HAPU,6BAA6B,kBACR,WAAW;8GADhC,6BAA6B;2FAA7B,6BAA6B;kBAPzC,SAAS;mBAAC;oBACT,QAAQ,EAAE,oEAAoE;oBAC9E,IAAI,EAAE;wBACJ,8BAA8B,EAAE,qBAAqB;wBACrD,4BAA4B,EAAE,sBAAsB;qBACrD;iBACF;;;8BAEc,QAAQ;;8BAAI,MAAM;+BAAC,WAAW;;;AAS7C;;;;MAQa,yBAAyB;;sHAAzB,yBAAyB;0GAAzB,yBAAyB;2FAAzB,yBAAyB;kBAJrC,SAAS;mBAAC;oBACT,QAAQ,EAAE,oCAAoC;oBAC9C,IAAI,EAAE,EAAC,OAAO,EAAE,qBAAqB,EAAC;iBACvC;;AAGD;;;;MAQa,uBAAuB;;oHAAvB,uBAAuB;wGAAvB,uBAAuB;2FAAvB,uBAAuB;kBA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vB,4BAA4B;QAC5B,6BAA6B,aAzBrB,YAAY,EAAE,eAAe,EAAE,aAAa,EAAE,eAAe,EAAE,uBAAuB,aAE9F,OAAO;QACP,aAAa;QACb,UAAU;QACV,gBAAgB;QAChB,WAAW;QACX,aAAa;QACb,yBAAyB;QACzB,uBAAuB;QACvB,4BAA4B;QAC5B,6BAA6B;QAC7B,gBAAgB;QAChB,aAAa;2GAeJ,aAAa,YA5Bf,CAAC,YAAY,EAAE,eAAe,EAAE,aAAa,EAAE,eAAe,EAAE,uBAAuB,CAAC,EAY/F,gBAAgB;QAChB,aAAa;2FAeJ,aAAa;kBA7BzB,QAAQ;mBAAC;oBACR,OAAO,EAAE,CAAC,YAAY,EAAE,eAAe,EAAE,aAAa,EAAE,eAAe,EAAE,uBAAuB,CAAC;oBACjG,OAAO,EAAE;wBACP,OAAO;wBACP,aAAa;wBACb,UAAU;wBACV,gBAAgB;wBAChB,WAAW;wBACX,aAAa;wBACb,yBAAyB;wBACzB,uBAAuB;wBACvB,4BAA4B;wBAC5B,6BAA6B;wBAC7B,gBAAgB;wBAChB,aAAa;qBACd;oBACD,YAAY,EAAE;wBACZ,OAAO;wBACP,aAAa;wBACb,UAAU;wBACV,gBAAgB;wBAChB,WAAW;wBACX,aAAa;wBACb,yBAAyB;wBACzB,uBAAuB;wBACvB,4BAA4B;wBAC5B,6BAA6B;qBAC9B;iBACF;;;ACzDD;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;"}
1
+ {"version":3,"file":"mdc-list.mjs","sources":["../../../../../../src/material-experimental/mdc-list/list-option-types.ts","../../../../../../src/material-experimental/mdc-list/list-styling.ts","../../../../../../src/material-experimental/mdc-list/list-base.ts","../../../../../../src/material-experimental/mdc-list/action-list.ts","../../../../../../src/material-experimental/mdc-list/list.ts","../../../../../../src/material-experimental/mdc-list/list-item.html","../../../../../../src/material-experimental/mdc-list/list-option.ts","../../../../../../src/material-experimental/mdc-list/list-option.html","../../../../../../src/material-experimental/mdc-list/nav-list.ts","../../../../../../src/material-experimental/mdc-list/interactive-list-base.ts","../../../../../../src/material-experimental/mdc-list/selection-list.ts","../../../../../../src/material-experimental/mdc-list/module.ts","../../../../../../src/material-experimental/mdc-list/public-api.ts","../../../../../../src/material-experimental/mdc-list/index.ts","../../../../../../src/material-experimental/mdc-list/mdc-list_public_index.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {InjectionToken} from '@angular/core';\n\n/**\n * Type describing possible positions of a checkbox in a list option\n * with respect to the list item's text.\n */\nexport type MatListOptionCheckboxPosition = 'before' | 'after';\n\n/**\n * Interface describing a list option. This is used to avoid circular\n * dependencies between the list-option and the styler directives.\n * @docs-private\n */\nexport interface ListOption {\n _getCheckboxPosition(): MatListOptionCheckboxPosition;\n}\n\n/**\n * Injection token that can be used to reference instances of an `ListOption`. It serves\n * as alternative token to an actual implementation which could result in undesired\n * retention of the class or circular references breaking runtime execution.\n * @docs-private\n */\nexport const LIST_OPTION = new InjectionToken<ListOption>('ListOption');\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {Directive, Inject, Optional} from '@angular/core';\nimport {LIST_OPTION, ListOption} from './list-option-types';\n\n/**\n * MDC uses the very intuitively named classes `.mdc-list-item__start` and `.mat-list-item__end`\n * to position content such as icons or checkboxes that comes either before or after the text\n * content respectively. This directive detects the placement of the checkbox and applies the\n * correct MDC class to position the icon/avatar on the opposite side.\n * @docs-private\n */\n@Directive({\n selector: '[mat-list-avatar], [matListAvatar], [mat-list-icon], [matListIcon]',\n host: {\n '[class.mdc-list-item__start]': '_isAlignedAtStart()',\n '[class.mdc-list-item__end]': '!_isAlignedAtStart()',\n },\n})\nexport class MatListGraphicAlignmentStyler {\n constructor(@Optional() @Inject(LIST_OPTION) public _listOption: ListOption) {}\n\n _isAlignedAtStart() {\n // By default, in all list items the graphic is aligned at start. In list options,\n // the graphic is only aligned at start if the checkbox is at the end.\n return !this._listOption || this._listOption?._getCheckboxPosition() === 'after';\n }\n}\n\n/**\n * Directive whose purpose is to add the mat- CSS styling to this selector.\n * @docs-private\n */\n@Directive({\n selector: '[mat-list-avatar], [matListAvatar]',\n host: {'class': 'mat-mdc-list-avatar'},\n})\nexport class MatListAvatarCssMatStyler {}\n\n/**\n * Directive whose purpose is to add the mat- CSS styling to this selector.\n * @docs-private\n */\n@Directive({\n selector: '[mat-list-icon], [matListIcon]',\n host: {'class': 'mat-mdc-list-icon'},\n})\nexport class MatListIconCssMatStyler {}\n\n/**\n * Directive whose purpose is to add the mat- CSS styling to this selector.\n * @docs-private\n */\n@Directive({\n selector: '[mat-subheader], [matSubheader]',\n // TODO(mmalerba): MDC's subheader font looks identical to the list item font, figure out why and\n // make a change in one of the repos to visually distinguish.\n host: {'class': 'mat-mdc-subheader mdc-list-group__subheader'},\n})\nexport class MatListSubheaderCssMatStyler {}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {BooleanInput, coerceBooleanProperty} from '@angular/cdk/coercion';\nimport {Platform} from '@angular/cdk/platform';\nimport {\n AfterContentInit,\n ContentChildren,\n Directive,\n ElementRef,\n Inject,\n Input,\n NgZone,\n OnDestroy,\n Optional,\n QueryList,\n} from '@angular/core';\nimport {\n MAT_RIPPLE_GLOBAL_OPTIONS,\n RippleConfig,\n RippleGlobalOptions,\n RippleRenderer,\n RippleTarget,\n setLines,\n} from '@angular/material-experimental/mdc-core';\nimport {ANIMATION_MODULE_TYPE} from '@angular/platform-browser/animations';\nimport {Subscription} from 'rxjs';\nimport {startWith} from 'rxjs/operators';\nimport {MatListAvatarCssMatStyler, MatListIconCssMatStyler} from './list-styling';\n\nfunction toggleClass(el: Element, className: string, on: boolean) {\n if (on) {\n el.classList.add(className);\n } else {\n el.classList.remove(className);\n }\n}\n\n@Directive({\n host: {\n '[class.mdc-list-item--disabled]': 'disabled',\n '[attr.aria-disabled]': 'disabled',\n },\n})\n/** @docs-private */\nexport abstract class MatListItemBase implements AfterContentInit, OnDestroy, RippleTarget {\n /** Query list matching list-item line elements. */\n abstract lines: QueryList<ElementRef<Element>>;\n\n /** Element reference referring to the primary list item text. */\n abstract _itemText: ElementRef<HTMLElement>;\n\n /** Host element for the list item. */\n _hostElement: HTMLElement;\n\n /** Whether animations are disabled. */\n _noopAnimations: boolean;\n\n @ContentChildren(MatListAvatarCssMatStyler, {descendants: false}) _avatars: QueryList<never>;\n @ContentChildren(MatListIconCssMatStyler, {descendants: false}) _icons: QueryList<never>;\n\n @Input()\n get disableRipple(): boolean {\n return (\n this.disabled || this._disableRipple || this._listBase.disableRipple || this._noopAnimations\n );\n }\n set disableRipple(value: boolean) {\n this._disableRipple = coerceBooleanProperty(value);\n }\n private _disableRipple: boolean = false;\n\n /** Whether the list-item is disabled. */\n @Input()\n get disabled(): boolean {\n return this._disabled || (this._listBase && this._listBase.disabled);\n }\n set disabled(value: boolean) {\n this._disabled = coerceBooleanProperty(value);\n }\n private _disabled = false;\n\n private _subscriptions = new Subscription();\n private _rippleRenderer: RippleRenderer | null = null;\n\n /**\n * Implemented as part of `RippleTarget`.\n * @docs-private\n */\n rippleConfig: RippleConfig & RippleGlobalOptions;\n\n /**\n * Implemented as part of `RippleTarget`.\n * @docs-private\n */\n get rippleDisabled(): boolean {\n return this.disableRipple || !!this.rippleConfig.disabled;\n }\n\n constructor(\n public _elementRef: ElementRef<HTMLElement>,\n protected _ngZone: NgZone,\n private _listBase: MatListBase,\n private _platform: Platform,\n @Optional()\n @Inject(MAT_RIPPLE_GLOBAL_OPTIONS)\n globalRippleOptions?: RippleGlobalOptions,\n @Optional() @Inject(ANIMATION_MODULE_TYPE) animationMode?: string,\n ) {\n this.rippleConfig = globalRippleOptions || {};\n this._hostElement = this._elementRef.nativeElement;\n this._noopAnimations = animationMode === 'NoopAnimations';\n\n if (!this._listBase._isNonInteractive) {\n this._initInteractiveListItem();\n }\n\n // If no type attribute is specified for a host `<button>` element, set it to `button`. If a\n // type attribute is already specified, we do nothing. We do this for backwards compatibility.\n // TODO: Determine if we intend to continue doing this for the MDC-based list.\n if (\n this._hostElement.nodeName.toLowerCase() === 'button' &&\n !this._hostElement.hasAttribute('type')\n ) {\n this._hostElement.setAttribute('type', 'button');\n }\n }\n\n ngAfterContentInit() {\n this._monitorLines();\n }\n\n ngOnDestroy() {\n this._subscriptions.unsubscribe();\n if (this._rippleRenderer !== null) {\n this._rippleRenderer._removeTriggerEvents();\n }\n }\n\n /** Gets the label for the list item. This is used for the typeahead. */\n _getItemLabel(): string {\n return this._itemText ? this._itemText.nativeElement.textContent || '' : '';\n }\n\n /** Whether the list item has icons or avatars. */\n _hasIconOrAvatar() {\n return !!(this._avatars.length || this._icons.length);\n }\n\n private _initInteractiveListItem() {\n this._hostElement.classList.add('mat-mdc-list-item-interactive');\n this._rippleRenderer = new RippleRenderer(\n this,\n this._ngZone,\n this._hostElement,\n this._platform,\n );\n this._rippleRenderer.setupTriggerEvents(this._hostElement);\n }\n\n /**\n * Subscribes to changes in `MatLine` content children and annotates them\n * appropriately when they change.\n */\n private _monitorLines() {\n this._ngZone.runOutsideAngular(() => {\n this._subscriptions.add(\n this.lines.changes\n .pipe(startWith(this.lines))\n .subscribe((lines: QueryList<ElementRef<Element>>) => {\n toggleClass(this._hostElement, 'mat-mdc-list-item-single-line', lines.length <= 1);\n toggleClass(this._hostElement, 'mdc-list-item--with-one-line', lines.length <= 1);\n\n lines.forEach((line: ElementRef<Element>, index: number) => {\n toggleClass(this._hostElement, 'mdc-list-item--with-two-lines', lines.length === 2);\n toggleClass(this._hostElement, 'mdc-list-item--with-three-lines', lines.length === 3);\n toggleClass(\n line.nativeElement,\n 'mdc-list-item__primary-text',\n index === 0 && lines.length > 1,\n );\n toggleClass(line.nativeElement, 'mdc-list-item__secondary-text', index !== 0);\n });\n setLines(lines, this._elementRef, 'mat-mdc');\n }),\n );\n });\n }\n\n static ngAcceptInputType_disabled: BooleanInput;\n static ngAcceptInputType_disableRipple: BooleanInput;\n}\n\n@Directive({\n host: {\n '[class.mat-mdc-list-non-interactive]': '_isNonInteractive',\n '[attr.aria-disabled]': 'disabled',\n },\n})\n/** @docs-private */\nexport abstract class MatListBase {\n _isNonInteractive: boolean = true;\n\n /** Whether ripples for all list items is disabled. */\n @Input()\n get disableRipple(): boolean {\n return this._disableRipple;\n }\n set disableRipple(value: boolean) {\n this._disableRipple = coerceBooleanProperty(value);\n }\n private _disableRipple: boolean = false;\n\n /** Whether all list items are disabled. */\n @Input()\n get disabled(): boolean {\n return this._disabled;\n }\n set disabled(value: boolean) {\n this._disabled = coerceBooleanProperty(value);\n }\n private _disabled = false;\n\n static ngAcceptInputType_disabled: BooleanInput;\n static ngAcceptInputType_disableRipple: BooleanInput;\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core';\nimport {MatListBase} from './list-base';\n\n@Component({\n selector: 'mat-action-list',\n exportAs: 'matActionList',\n template: '<ng-content></ng-content>',\n host: {\n 'class': 'mat-mdc-action-list mat-mdc-list-base mdc--list',\n },\n styleUrls: ['list.css'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [{provide: MatListBase, useExisting: MatActionList}],\n})\nexport class MatActionList extends MatListBase {\n // An navigation list is considered interactive, but does not extend the interactive list\n // base class. We do this because as per MDC, items of interactive lists are only reachable\n // through keyboard shortcuts. We want all items for the navigation list to be reachable\n // through tab key as we do not intend to provide any special accessibility treatment. The\n // accessibility treatment depends on how the end-user will interact with it.\n override _isNonInteractive = false;\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {Platform} from '@angular/cdk/platform';\nimport {\n ChangeDetectionStrategy,\n Component,\n ContentChildren,\n ElementRef,\n Inject,\n NgZone,\n Optional,\n QueryList,\n ViewChild,\n ViewEncapsulation,\n} from '@angular/core';\nimport {\n MatLine,\n MAT_RIPPLE_GLOBAL_OPTIONS,\n RippleGlobalOptions,\n} from '@angular/material-experimental/mdc-core';\nimport {ANIMATION_MODULE_TYPE} from '@angular/platform-browser/animations';\nimport {MatListBase, MatListItemBase} from './list-base';\n\n@Component({\n selector: 'mat-list',\n exportAs: 'matList',\n template: '<ng-content></ng-content>',\n host: {\n 'class': 'mat-mdc-list mat-mdc-list-base mdc-list',\n },\n styleUrls: ['list.css'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [{provide: MatListBase, useExisting: MatList}],\n})\nexport class MatList extends MatListBase {}\n\n@Component({\n selector: 'mat-list-item, a[mat-list-item], button[mat-list-item]',\n exportAs: 'matListItem',\n host: {\n 'class': 'mat-mdc-list-item mdc-list-item',\n '[class.mdc-list-item--with-leading-avatar]': '_avatars.length !== 0',\n '[class.mdc-list-item--with-leading-icon]': '_icons.length !== 0',\n // If there are projected lines, we project the remaining content into the `mdc-list-item__end`\n // container. In order to make sure the container aligns properly (if there is content), we add\n // the trailing meta class. Note that we also add this even if there is no projected `meta`\n // content. This is because there is no good way to check for remaining projected content.\n '[class.mdc-list-item--with-trailing-meta]': 'lines.length !== 0',\n '[class._mat-animation-noopable]': '_noopAnimations',\n },\n templateUrl: 'list-item.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MatListItem extends MatListItemBase {\n @ContentChildren(MatLine, {read: ElementRef, descendants: true}) lines: QueryList<\n ElementRef<Element>\n >;\n @ViewChild('text') _itemText: ElementRef<HTMLElement>;\n\n constructor(\n element: ElementRef,\n ngZone: NgZone,\n listBase: MatListBase,\n platform: Platform,\n @Optional() @Inject(MAT_RIPPLE_GLOBAL_OPTIONS) globalRippleOptions?: RippleGlobalOptions,\n @Optional() @Inject(ANIMATION_MODULE_TYPE) animationMode?: string,\n ) {\n super(element, ngZone, listBase, platform, globalRippleOptions, animationMode);\n }\n}\n","<ng-content select=\"[mat-list-avatar],[matListAvatar],[mat-list-icon],[matListIcon]\"></ng-content>\n\n<!-- If lines were explicitly given, use those as the text. -->\n<ng-container *ngIf=\"lines.length\">\n <span class=\"mdc-list-item__content\"><ng-content select=\"[mat-line],[matLine]\"></ng-content></span>\n</ng-container>\n\n<!--\n If lines were not explicitly given, assume the remaining content is the text, otherwise assume it\n is an action that belongs in the \"end\" section.\n-->\n<span [class.mdc-list-item__content]=\"!lines.length\"\n [class.mdc-list-item__end]=\"lines.length\" #text>\n <ng-content></ng-content>\n</span>\n\n<ng-content select=\"mat-divider\"></ng-content>\n\n<!--\n Strong focus indicator element. MDC uses the `::before` pseudo element for the default\n focus/hover/selected state, so we need a separate element.\n-->\n<div class=\"mat-mdc-focus-indicator\"></div>\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {BooleanInput, coerceBooleanProperty} from '@angular/cdk/coercion';\nimport {SelectionModel} from '@angular/cdk/collections';\nimport {Platform} from '@angular/cdk/platform';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChildren,\n ElementRef,\n EventEmitter,\n Inject,\n InjectionToken,\n Input,\n NgZone,\n OnDestroy,\n OnInit,\n Optional,\n Output,\n QueryList,\n ViewChild,\n ViewEncapsulation,\n} from '@angular/core';\nimport {\n MatLine,\n MAT_RIPPLE_GLOBAL_OPTIONS,\n RippleGlobalOptions,\n ThemePalette,\n} from '@angular/material-experimental/mdc-core';\nimport {ANIMATION_MODULE_TYPE} from '@angular/platform-browser/animations';\nimport {MatListBase, MatListItemBase} from './list-base';\nimport {LIST_OPTION, ListOption, MatListOptionCheckboxPosition} from './list-option-types';\n\n/**\n * Injection token that can be used to reference instances of an `SelectionList`. It serves\n * as alternative token to an actual implementation which would result in circular references.\n * @docs-private\n */\nexport const SELECTION_LIST = new InjectionToken<SelectionList>('SelectionList');\n\n/**\n * Interface describing the containing list of an list option. This is used to avoid\n * circular dependencies between the list-option and the selection list.\n * @docs-private\n */\nexport interface SelectionList extends MatListBase {\n multiple: boolean;\n color: ThemePalette;\n selectedOptions: SelectionModel<MatListOption>;\n compareWith: (o1: any, o2: any) => boolean;\n _value: string[] | null;\n _reportValueChange: () => void;\n _onTouched: () => void;\n}\n\n@Component({\n selector: 'mat-list-option',\n exportAs: 'matListOption',\n styleUrls: ['list-option.css'],\n host: {\n 'class': 'mat-mdc-list-item mat-mdc-list-option mdc-list-item',\n 'role': 'option',\n // As per MDC, only list items in single selection mode should receive the `--selected`\n // class. For multi selection, the checkbox is used as indicator.\n '[class.mdc-list-item--selected]': 'selected && !_selectionList.multiple',\n // Based on the checkbox position and whether there are icons or avatars, we apply MDC's\n // list-item `--leading` and `--trailing` classes.\n '[class.mdc-list-item--with-leading-avatar]': '_hasProjected(\"avatars\", \"before\")',\n '[class.mdc-list-item--with-leading-icon]': '_hasProjected(\"icons\", \"before\")',\n '[class.mdc-list-item--with-trailing-icon]': '_hasProjected(\"icons\", \"after\")',\n '[class.mat-mdc-list-option-with-trailing-avatar]': '_hasProjected(\"avatars\", \"after\")',\n // Based on the checkbox position, we apply the `--leading` or `--trailing` MDC classes\n // which ensure that the checkbox is positioned correctly within the list item.\n '[class.mdc-list-item--with-leading-checkbox]': '_hasCheckboxAt(\"before\")',\n '[class.mdc-list-item--with-trailing-checkbox]': '_hasCheckboxAt(\"after\")',\n '[class.mat-accent]': 'color !== \"primary\" && color !== \"warn\"',\n '[class.mat-warn]': 'color === \"warn\"',\n '[class._mat-animation-noopable]': '_noopAnimations',\n '(blur)': '_handleBlur()',\n },\n templateUrl: 'list-option.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {provide: MatListItemBase, useExisting: MatListOption},\n {provide: LIST_OPTION, useExisting: MatListOption},\n ],\n})\nexport class MatListOption extends MatListItemBase implements ListOption, OnInit, OnDestroy {\n /**\n * This is set to true after the first OnChanges cycle so we don't\n * clear the value of `selected` in the first cycle.\n */\n private _inputsInitialized = false;\n\n /**\n * Emits when the selected state of the option has changed.\n * Use to facilitate two-data binding to the `selected` property.\n * @docs-private\n */\n @Output()\n readonly selectedChange: EventEmitter<boolean> = new EventEmitter<boolean>();\n\n @ViewChild('text') _itemText: ElementRef<HTMLElement>;\n\n @ContentChildren(MatLine, {read: ElementRef, descendants: true}) lines: QueryList<\n ElementRef<Element>\n >;\n\n /** Whether the label should appear before or after the checkbox. Defaults to 'after' */\n @Input() checkboxPosition: MatListOptionCheckboxPosition = 'after';\n\n /** Theme color of the list option. This sets the color of the checkbox. */\n @Input()\n get color(): ThemePalette {\n return this._color || this._selectionList.color;\n }\n set color(newValue: ThemePalette) {\n this._color = newValue;\n }\n private _color: ThemePalette;\n\n /** Value of the option */\n @Input()\n get value(): any {\n return this._value;\n }\n set value(newValue: any) {\n if (this.selected && newValue !== this.value && this._inputsInitialized) {\n this.selected = false;\n }\n\n this._value = newValue;\n }\n private _value: any;\n\n /** Whether the option is selected. */\n @Input()\n get selected(): boolean {\n return this._selectionList.selectedOptions.isSelected(this);\n }\n set selected(value: boolean) {\n const isSelected = coerceBooleanProperty(value);\n\n if (isSelected !== this._selected) {\n this._setSelected(isSelected);\n\n if (isSelected || this._selectionList.multiple) {\n this._selectionList._reportValueChange();\n }\n }\n }\n private _selected = false;\n\n constructor(\n element: ElementRef,\n ngZone: NgZone,\n platform: Platform,\n @Inject(SELECTION_LIST) public _selectionList: SelectionList,\n private _changeDetectorRef: ChangeDetectorRef,\n @Optional() @Inject(MAT_RIPPLE_GLOBAL_OPTIONS) globalRippleOptions?: RippleGlobalOptions,\n @Optional() @Inject(ANIMATION_MODULE_TYPE) animationMode?: string,\n ) {\n super(element, ngZone, _selectionList, platform, globalRippleOptions, animationMode);\n\n // By default, we mark all options as unselected. The MDC list foundation will\n // automatically update the attribute based on selection. Note that we need to\n // initially set this because MDC does not set the default attributes for list\n // items but expects items to be set up properly in the static markup.\n element.nativeElement.setAttribute('aria-selected', 'false');\n }\n\n ngOnInit() {\n const list = this._selectionList;\n\n if (list._value && list._value.some(value => list.compareWith(value, this._value))) {\n this._setSelected(true);\n }\n\n const wasSelected = this._selected;\n\n // List options that are selected at initialization can't be reported properly to the form\n // control. This is because it takes some time until the selection-list knows about all\n // available options. Also it can happen that the ControlValueAccessor has an initial value\n // that should be used instead. Deferring the value change report to the next tick ensures\n // that the form control value is not being overwritten.\n Promise.resolve().then(() => {\n if (this._selected || wasSelected) {\n this.selected = true;\n this._changeDetectorRef.markForCheck();\n }\n });\n this._inputsInitialized = true;\n }\n\n override ngOnDestroy(): void {\n super.ngOnDestroy();\n\n if (this.selected) {\n // We have to delay this until the next tick in order\n // to avoid changed after checked errors.\n Promise.resolve().then(() => {\n this.selected = false;\n });\n }\n }\n\n /** Toggles the selection state of the option. */\n toggle(): void {\n this.selected = !this.selected;\n }\n\n /** Allows for programmatic focusing of the option. */\n focus(): void {\n this._hostElement.focus();\n }\n\n /** Whether a checkbox is shown at the given position. */\n _hasCheckboxAt(position: MatListOptionCheckboxPosition): boolean {\n return this._selectionList.multiple && this._getCheckboxPosition() === position;\n }\n\n /** Whether icons or avatars are shown at the given position. */\n _hasIconsOrAvatarsAt(position: 'before' | 'after'): boolean {\n return this._hasProjected('icons', position) || this._hasProjected('avatars', position);\n }\n\n /** Gets whether the given type of element is projected at the specified position. */\n _hasProjected(type: 'icons' | 'avatars', position: 'before' | 'after'): boolean {\n // If the checkbox is shown at the specified position, neither icons or\n // avatars can be shown at the position.\n return (\n this._getCheckboxPosition() !== position &&\n (type === 'avatars' ? this._avatars.length !== 0 : this._icons.length !== 0)\n );\n }\n\n _handleBlur() {\n this._selectionList._onTouched();\n }\n\n /** Gets the current position of the checkbox. */\n _getCheckboxPosition() {\n return this.checkboxPosition || 'after';\n }\n\n /**\n * Sets the selected state of the option.\n * @returns Whether the value has changed.\n */\n _setSelected(selected: boolean): boolean {\n if (selected === this._selected) {\n return false;\n }\n\n this._selected = selected;\n\n if (selected) {\n this._selectionList.selectedOptions.select(this);\n } else {\n this._selectionList.selectedOptions.deselect(this);\n }\n\n this.selectedChange.emit(selected);\n this._changeDetectorRef.markForCheck();\n return true;\n }\n\n /**\n * Notifies Angular that the option needs to be checked in the next change detection run.\n * Mainly used to trigger an update of the list option if the disabled state of the selection\n * list changed.\n */\n _markForCheck() {\n this._changeDetectorRef.markForCheck();\n }\n\n static ngAcceptInputType_selected: BooleanInput;\n}\n","<!--\n Save icons and the pseudo checkbox so that they can be re-used in the template without\n duplication. Also content can only be injected once so we need to extract icons/avatars\n into a template since we use it in multiple places.\n-->\n<ng-template #icons>\n <ng-content select=\"[mat-list-avatar],[matListAvatar],[mat-list-icon],[matListIcon]\">\n </ng-content>\n</ng-template>\n\n<ng-template #checkbox>\n <div class=\"mdc-checkbox\" [class.mdc-checkbox--disabled]=\"disabled\">\n <input type=\"checkbox\" class=\"mdc-checkbox__native-control\"\n [checked]=\"selected\" [disabled]=\"disabled\"/>\n <div class=\"mdc-checkbox__background\">\n <svg class=\"mdc-checkbox__checkmark\"\n viewBox=\"0 0 24 24\"\n aria-hidden=\"true\">\n <path class=\"mdc-checkbox__checkmark-path\"\n fill=\"none\"\n d=\"M1.73,12.91 8.1,19.28 22.79,4.59\"/>\n </svg>\n <div class=\"mdc-checkbox__mixedmark\"></div>\n </div>\n </div>\n</ng-template>\n\n<!-- Container for the checkbox at start. -->\n<span class=\"mdc-list-item__start mat-mdc-list-option-checkbox-before\"\n *ngIf=\"_hasCheckboxAt('before')\">\n <ng-template [ngTemplateOutlet]=\"checkbox\"></ng-template>\n</span>\n<!-- Conditionally renders icons/avatars before the list item text. -->\n<ng-template [ngIf]=\"_hasIconsOrAvatarsAt('before')\">\n <ng-template [ngTemplateOutlet]=\"icons\"></ng-template>\n</ng-template>\n\n<!-- Text -->\n<span class=\"mdc-list-item__content\" #text>\n <ng-content></ng-content>\n</span>\n\n<!-- Container for the checkbox at the end. -->\n<span class=\"mdc-list-item__end\" *ngIf=\"_hasCheckboxAt('after')\">\n <ng-template [ngTemplateOutlet]=\"checkbox\"></ng-template>\n</span>\n<!-- Conditionally renders icons/avatars after the list item text. -->\n<ng-template [ngIf]=\"_hasIconsOrAvatarsAt('after')\">\n <ng-template [ngTemplateOutlet]=\"icons\"></ng-template>\n</ng-template>\n\n<!-- Divider -->\n<ng-content select=\"mat-divider\"></ng-content>\n\n<!--\n Strong focus indicator element. MDC uses the `::before` pseudo element for the default\n focus/hover/selected state, so we need a separate element.\n-->\n<div class=\"mat-mdc-focus-indicator\"></div>\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core';\nimport {MatListBase} from './list-base';\n\n@Component({\n selector: 'mat-nav-list',\n exportAs: 'matNavList',\n template: '<ng-content></ng-content>',\n host: {\n 'class': 'mat-mdc-nav-list mat-mdc-list-base mdc-list',\n },\n styleUrls: ['list.css'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [{provide: MatListBase, useExisting: MatNavList}],\n})\nexport class MatNavList extends MatListBase {\n // An navigation list is considered interactive, but does not extend the interactive list\n // base class. We do this because as per MDC, items of interactive lists are only reachable\n // through keyboard shortcuts. We want all items for the navigation list to be reachable\n // through tab key as we do not intend to provide any special accessibility treatment. The\n // accessibility treatment depends on how the end-user will interact with it.\n override _isNonInteractive = false;\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {DOCUMENT} from '@angular/common';\nimport {AfterViewInit, Directive, ElementRef, Inject, OnDestroy, QueryList} from '@angular/core';\nimport {MDCListAdapter, MDCListFoundation} from '@material/list';\nimport {Subscription} from 'rxjs';\nimport {startWith} from 'rxjs/operators';\nimport {MatListBase, MatListItemBase} from './list-base';\n\n@Directive({\n host: {\n '(keydown)': '_handleKeydown($event)',\n '(click)': '_handleClick($event)',\n '(focusin)': '_handleFocusin($event)',\n '(focusout)': '_handleFocusout($event)',\n },\n})\n/** @docs-private */\nexport abstract class MatInteractiveListBase<T extends MatListItemBase>\n extends MatListBase\n implements AfterViewInit, OnDestroy\n{\n _handleKeydown(event: KeyboardEvent) {\n const index = this._indexForElement(event.target as HTMLElement);\n this._foundation.handleKeydown(event, this._elementAtIndex(index) === event.target, index);\n }\n\n _handleClick(event: MouseEvent) {\n // The `toggleCheckbox` parameter can always be `true` as it only has an effect if the list\n // is recognized as checkbox selection list. For such lists, we would always want to toggle\n // the checkbox on list item click. MDC added this parameter so that they can avoid dispatching\n // a fake `change` event when the checkbox is directly clicked for the list item. We don't\n // need this as we require such list item checkboxes to stop propagation of the change event.\n // https://github.com/material-components/material-components-web/blob/08ca4d0ec5f359bc3a20bd2a302fa6b733b5e135/packages/mdc-list/component.ts#L308-L310\n this._foundation.handleClick(\n this._indexForElement(event.target as HTMLElement),\n /* toggleCheckbox */ true,\n );\n }\n\n _handleFocusin(event: FocusEvent) {\n const itemIndex = this._indexForElement(event.target as HTMLElement);\n const tabIndex = this._itemsArr[itemIndex]?._hostElement.tabIndex;\n\n // If the newly focused item is not the designated item that should have received focus\n // first through keyboard interaction, the tabindex of the previously designated list item\n // needs to be cleared, so that only one list item is reachable through tab key at any time.\n // MDC sets a tabindex for the newly focused item, so we do not need to set a tabindex for it.\n // Workaround for: https://github.com/material-components/material-components-web/issues/6363.\n if (tabIndex === undefined || tabIndex === -1) {\n this._clearTabindexForAllItems();\n }\n\n this._foundation.handleFocusIn(itemIndex);\n }\n\n _handleFocusout(event: FocusEvent) {\n this._foundation.handleFocusOut(this._indexForElement(event.target as HTMLElement));\n }\n\n /** Items in the interactive list. */\n abstract _items: QueryList<T>;\n _itemsArr: T[] = [];\n _document: Document;\n\n protected _foundation: MDCListFoundation;\n protected _adapter: MDCListAdapter;\n\n private _subscriptions = new Subscription();\n\n protected constructor(public _element: ElementRef<HTMLElement>, @Inject(DOCUMENT) document: any) {\n super();\n this._document = document;\n this._isNonInteractive = false;\n }\n\n protected _initWithAdapter(adapter: MDCListAdapter) {\n this._adapter = adapter;\n this._foundation = new MDCListFoundation(adapter);\n }\n\n ngAfterViewInit() {\n if ((typeof ngDevMode === 'undefined' || ngDevMode) && !this._foundation) {\n throw Error('MDC list foundation not initialized for Angular Material list.');\n }\n\n this._foundation.init();\n this._watchListItems();\n\n // Enable typeahead and focus wrapping for interactive lists.\n this._foundation.setHasTypeahead(true);\n this._foundation.setWrapFocus(true);\n }\n\n ngOnDestroy() {\n this._foundation.destroy();\n this._subscriptions.unsubscribe();\n }\n\n protected _watchListItems() {\n this._subscriptions.add(\n this._items.changes.pipe(startWith(null)).subscribe(() => {\n this._itemsArr = this._items.toArray();\n // Whenever the items change, the foundation needs to be notified through the `layout`\n // method. It caches items for the typeahead and detects the list type based on the items.\n this._foundation.layout();\n\n // The list items changed, so we reset the tabindex for all items and\n // designate one list item that will be reachable through tab.\n this._resetTabindexToFirstSelectedOrFocusedItem();\n }),\n );\n }\n\n /**\n * Clears the tabindex of all items so that no items are reachable through tab key.\n * MDC intends to always have only one tabbable item that will receive focus first.\n * This first item is selected by MDC automatically on blur or by manually invoking\n * the `setTabindexToFirstSelectedOrFocusedItem` method.\n */\n private _clearTabindexForAllItems() {\n for (let items of this._itemsArr) {\n items._hostElement.setAttribute('tabindex', '-1');\n }\n }\n\n /**\n * Resets tabindex for all options and sets tabindex for the first selected option or\n * previously focused item so that an item can be reached when users tab into the list.\n */\n protected _resetTabindexToFirstSelectedOrFocusedItem() {\n this._clearTabindexForAllItems();\n // MDC does not expose the method for setting the tabindex to the first selected\n // or previously focused item. We can still access the method as private class\n // members are accessible in the transpiled JavaScript. Tracked upstream with:\n // TODO: https://github.com/material-components/material-components-web/issues/6375\n (this._foundation as any).setTabindexToFirstSelectedOrFocusedItem();\n }\n\n _elementAtIndex(index: number): HTMLElement | undefined {\n return this._itemsArr[index]?._hostElement;\n }\n\n _indexForElement(element: Element | null): number {\n return element ? this._itemsArr.findIndex(i => i._hostElement.contains(element)) : -1;\n }\n}\n\n// TODO: replace with class once material-components-web/pull/6256 is available.\n/** Gets an instance of `MDcListAdapter` for the given interactive list. */\nexport function getInteractiveListAdapter(\n list: MatInteractiveListBase<MatListItemBase>,\n): MDCListAdapter {\n return {\n getListItemCount() {\n return list._items.length;\n },\n listItemAtIndexHasClass(index: number, className: string) {\n const element = list._elementAtIndex(index);\n return element ? element.classList.contains(className) : false;\n },\n addClassForElementIndex(index: number, className: string) {\n list._elementAtIndex(index)?.classList.add(className);\n },\n removeClassForElementIndex(index: number, className: string) {\n list._elementAtIndex(index)?.classList.remove(className);\n },\n getAttributeForElementIndex(index: number, attr: string) {\n const element = list._elementAtIndex(index);\n return element ? element.getAttribute(attr) : null;\n },\n setAttributeForElementIndex(index: number, attr: string, value: string) {\n list._elementAtIndex(index)?.setAttribute(attr, value);\n },\n getFocusedElementIndex() {\n return list._indexForElement(list._document?.activeElement);\n },\n isFocusInsideList() {\n return list._element.nativeElement.contains(list._document?.activeElement);\n },\n isRootFocused() {\n return list._element.nativeElement === list._document?.activeElement;\n },\n focusItemAtIndex(index: number) {\n list._elementAtIndex(index)?.focus();\n },\n // Gets the text for a list item for the typeahead\n getPrimaryTextAtIndex(index: number) {\n return list._itemsArr[index]._getItemLabel();\n },\n\n // MDC uses this method to disable focusable children of list items. However, we believe that\n // this is not an accessible pattern and should be avoided, therefore we intentionally do not\n // implement this method. In addition, implementing this would require violating Angular\n // Material's general principle of not having components modify DOM elements they do not own.\n // A user who feels they really need this feature can simply listen to the `(focus)` and\n // `(blur)` events on the list item and enable/disable focus on the children themselves as\n // appropriate.\n setTabIndexForListItemChildren() {},\n\n // The following methods have a dummy implementation in the base class because they are only\n // applicable to certain types of lists. They should be implemented for the concrete classes\n // where they are applicable.\n hasCheckboxAtIndex() {\n return false;\n },\n hasRadioAtIndex(index: number) {\n return false;\n },\n setCheckedCheckboxOrRadioAtIndex(index: number, checked: boolean) {},\n isCheckboxCheckedAtIndex(index: number) {\n return false;\n },\n notifyAction() {},\n };\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {BooleanInput, coerceBooleanProperty} from '@angular/cdk/coercion';\nimport {SelectionModel} from '@angular/cdk/collections';\nimport {DOCUMENT} from '@angular/common';\nimport {\n AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n ContentChildren,\n ElementRef,\n EventEmitter,\n forwardRef,\n Inject,\n Input,\n OnChanges,\n OnDestroy,\n Output,\n QueryList,\n SimpleChanges,\n ViewEncapsulation,\n} from '@angular/core';\nimport {ControlValueAccessor, NG_VALUE_ACCESSOR} from '@angular/forms';\nimport {ThemePalette} from '@angular/material-experimental/mdc-core';\nimport {MDCListAdapter, numbers as mdcListNumbers} from '@material/list';\nimport {Subject} from 'rxjs';\nimport {takeUntil} from 'rxjs/operators';\nimport {getInteractiveListAdapter, MatInteractiveListBase} from './interactive-list-base';\nimport {MatListBase} from './list-base';\nimport {MatListOption, SELECTION_LIST, SelectionList} from './list-option';\n\nconst MAT_SELECTION_LIST_VALUE_ACCESSOR: any = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => MatSelectionList),\n multi: true,\n};\n\n/** Change event that is being fired whenever the selected state of an option changes. */\nexport class MatSelectionListChange {\n constructor(\n /** Reference to the selection list that emitted the event. */\n public source: MatSelectionList,\n /**\n * Reference to the option that has been changed.\n * @deprecated Use `options` instead, because some events may change more than one option.\n * @breaking-change 12.0.0\n */\n public option: MatListOption,\n /** Reference to the options that have been changed. */\n public options: MatListOption[],\n ) {}\n}\n\n@Component({\n selector: 'mat-selection-list',\n exportAs: 'matSelectionList',\n host: {\n 'class': 'mat-mdc-selection-list mat-mdc-list-base mdc-list',\n 'role': 'listbox',\n '[attr.aria-multiselectable]': 'multiple',\n },\n template: '<ng-content></ng-content>',\n styleUrls: ['list.css'],\n encapsulation: ViewEncapsulation.None,\n providers: [\n MAT_SELECTION_LIST_VALUE_ACCESSOR,\n {provide: MatListBase, useExisting: MatSelectionList},\n {provide: SELECTION_LIST, useExisting: MatSelectionList},\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MatSelectionList\n extends MatInteractiveListBase<MatListOption>\n implements SelectionList, ControlValueAccessor, AfterViewInit, OnChanges, OnDestroy\n{\n private _multiple = true;\n private _initialized = false;\n\n @ContentChildren(MatListOption, {descendants: true}) _items: QueryList<MatListOption>;\n\n /** Emits a change event whenever the selected state of an option changes. */\n @Output() readonly selectionChange: EventEmitter<MatSelectionListChange> =\n new EventEmitter<MatSelectionListChange>();\n\n /** Theme color of the selection list. This sets the checkbox color for all list options. */\n @Input() color: ThemePalette = 'accent';\n\n /**\n * Function used for comparing an option against the selected value when determining which\n * options should appear as selected. The first argument is the value of an options. The second\n * one is a value from the selected value. A boolean must be returned.\n */\n @Input() compareWith: (o1: any, o2: any) => boolean = (a1, a2) => a1 === a2;\n\n /** Whether selection is limited to one or multiple items (default multiple). */\n @Input()\n get multiple(): boolean {\n return this._multiple;\n }\n set multiple(value: boolean) {\n const newValue = coerceBooleanProperty(value);\n\n if (newValue !== this._multiple) {\n if ((typeof ngDevMode === 'undefined' || ngDevMode) && this._initialized) {\n throw new Error(\n 'Cannot change `multiple` mode of mat-selection-list after initialization.',\n );\n }\n\n this._multiple = newValue;\n this.selectedOptions = new SelectionModel(this._multiple, this.selectedOptions.selected);\n }\n }\n\n /** The currently selected options. */\n selectedOptions = new SelectionModel<MatListOption>(this._multiple);\n\n /** View to model callback that should be called whenever the selected options change. */\n private _onChange: (value: any) => void = (_: any) => {};\n\n /** Keeps track of the currently-selected value. */\n _value: string[] | null;\n\n /** Emits when the list has been destroyed. */\n private _destroyed = new Subject<void>();\n\n /** View to model callback that should be called if the list or its options lost focus. */\n _onTouched: () => void = () => {};\n\n /** Whether the list has been destroyed. */\n private _isDestroyed: boolean;\n\n constructor(element: ElementRef<HTMLElement>, @Inject(DOCUMENT) document: any) {\n super(element, document);\n super._initWithAdapter(getSelectionListAdapter(this));\n }\n\n override ngAfterViewInit() {\n // Mark the selection list as initialized so that the `multiple`\n // binding can no longer be changed.\n this._initialized = true;\n\n // Update the options if a control value has been set initially. Note that this should happen\n // before watching for selection changes as otherwise we would sync options with MDC multiple\n // times as part of view initialization (also the foundation would not be initialized yet).\n if (this._value) {\n this._setOptionsFromValues(this._value);\n }\n\n // Start monitoring the selected options so that the list foundation can be\n // updated accordingly.\n this._watchForSelectionChange();\n\n // Initialize the list foundation, including the initial `layout()` invocation.\n super.ngAfterViewInit();\n\n // List options can be pre-selected using the `selected` input. We need to sync the selected\n // options after view initialization with the foundation so that focus can be managed\n // accordingly. Note that this needs to happen after the initial `layout()` call because the\n // list wouldn't know about multi-selection and throw.\n if (this._items.length !== 0) {\n this._syncSelectedOptionsWithFoundation();\n this._resetTabindexForItemsIfBlurred();\n }\n }\n\n ngOnChanges(changes: SimpleChanges) {\n const disabledChanges = changes['disabled'];\n const disableRippleChanges = changes['disableRipple'];\n\n if (\n (disableRippleChanges && !disableRippleChanges.firstChange) ||\n (disabledChanges && !disabledChanges.firstChange)\n ) {\n this._markOptionsForCheck();\n }\n }\n\n override ngOnDestroy() {\n super.ngOnDestroy();\n this._destroyed.next();\n this._destroyed.complete();\n this._isDestroyed = true;\n }\n\n /** Focuses the selection list. */\n focus(options?: FocusOptions) {\n this._element.nativeElement.focus(options);\n }\n\n /** Selects all of the options. Returns the options that changed as a result. */\n selectAll(): MatListOption[] {\n return this._setAllOptionsSelected(true);\n }\n\n /** Deselects all of the options. Returns the options that changed as a result. */\n deselectAll(): MatListOption[] {\n return this._setAllOptionsSelected(false);\n }\n\n /** Reports a value change to the ControlValueAccessor */\n _reportValueChange() {\n // Stop reporting value changes after the list has been destroyed. This avoids\n // cases where the list might wrongly reset its value once it is removed, but\n // the form control is still live.\n if (this.options && !this._isDestroyed) {\n const value = this._getSelectedOptionValues();\n this._onChange(value);\n this._value = value;\n }\n }\n\n /** Emits a change event if the selected state of an option changed. */\n _emitChangeEvent(options: MatListOption[]) {\n this.selectionChange.emit(new MatSelectionListChange(this, options[0], options));\n }\n\n /** Implemented as part of ControlValueAccessor. */\n writeValue(values: string[]): void {\n this._value = values;\n\n if (this.options) {\n this._setOptionsFromValues(values || []);\n }\n }\n\n /** Implemented as a part of ControlValueAccessor. */\n setDisabledState(isDisabled: boolean): void {\n this.disabled = isDisabled;\n }\n\n /** Implemented as part of ControlValueAccessor. */\n registerOnChange(fn: (value: any) => void): void {\n this._onChange = fn;\n }\n\n /** Implemented as part of ControlValueAccessor. */\n registerOnTouched(fn: () => void): void {\n this._onTouched = fn;\n }\n\n /**\n * Resets tabindex for all options and sets tabindex for the first selected option so that\n * it will become active when users tab into the selection-list. This will be a noop if the\n * list is currently focused as otherwise multiple options might become reachable through tab.\n * e.g. A user currently already focused an option. We set tabindex to a new option but the\n * focus on the current option does persist. Pressing `TAB` then might go to the other option\n * that received a tabindex. We can skip the reset here as the MDC foundation resets the\n * tabindex to the first selected option automatically once the current item is blurred.\n */\n private _resetTabindexForItemsIfBlurred() {\n // If focus is inside the list already, then we do not change the tab index of the list.\n // Changing it while an item is focused could cause multiple items to be reachable through\n // the tab key. The MDC list foundation will update the tabindex on blur to the appropriate\n // selected or focused item.\n if (!this._adapter.isFocusInsideList()) {\n this._resetTabindexToFirstSelectedOrFocusedItem();\n }\n }\n\n private _watchForSelectionChange() {\n // Sync external changes to the model back to the options.\n this.selectedOptions.changed.pipe(takeUntil(this._destroyed)).subscribe(event => {\n if (event.added) {\n for (let item of event.added) {\n item.selected = true;\n }\n }\n\n if (event.removed) {\n for (let item of event.removed) {\n item.selected = false;\n }\n }\n\n // Sync the newly selected options with the foundation. Also reset tabindex for all\n // items if the list is currently not focused. We do this so that always the first\n // selected list item is focused when users tab into the selection list.\n this._syncSelectedOptionsWithFoundation();\n this._resetTabindexForItemsIfBlurred();\n });\n }\n\n private _syncSelectedOptionsWithFoundation() {\n if (this._multiple) {\n this._foundation.setSelectedIndex(\n this.selectedOptions.selected.map(o => this._itemsArr.indexOf(o)),\n );\n } else {\n const selected = this.selectedOptions.selected[0];\n const index =\n selected === undefined ? mdcListNumbers.UNSET_INDEX : this._itemsArr.indexOf(selected);\n this._foundation.setSelectedIndex(index);\n }\n }\n\n /** Sets the selected options based on the specified values. */\n private _setOptionsFromValues(values: string[]) {\n this.options.forEach(option => option._setSelected(false));\n\n values.forEach(value => {\n const correspondingOption = this.options.find(option => {\n // Skip options that are already in the model. This allows us to handle cases\n // where the same primitive value is selected multiple times.\n return option.selected ? false : this.compareWith(option.value, value);\n });\n\n if (correspondingOption) {\n correspondingOption._setSelected(true);\n }\n });\n }\n\n /** Returns the values of the selected options. */\n private _getSelectedOptionValues(): string[] {\n return this.options.filter(option => option.selected).map(option => option.value);\n }\n\n /** Marks all the options to be checked in the next change detection run. */\n private _markOptionsForCheck() {\n if (this.options) {\n this.options.forEach(option => option._markForCheck());\n }\n }\n\n /**\n * Sets the selected state on all of the options\n * and emits an event if anything changed.\n */\n private _setAllOptionsSelected(isSelected: boolean, skipDisabled?: boolean): MatListOption[] {\n // Keep track of whether anything changed, because we only want to\n // emit the changed event when something actually changed.\n const changedOptions: MatListOption[] = [];\n\n this.options.forEach(option => {\n if ((!skipDisabled || !option.disabled) && option._setSelected(isSelected)) {\n changedOptions.push(option);\n }\n });\n\n if (changedOptions.length) {\n this._reportValueChange();\n }\n\n return changedOptions;\n }\n\n // Note: This getter exists for backwards compatibility. The `_items` query list\n // cannot be named `options` as it will be picked up by the interactive list base.\n /** The option components contained within this selection-list. */\n get options(): QueryList<MatListOption> {\n return this._items;\n }\n\n static ngAcceptInputType_multiple: BooleanInput;\n}\n\n// TODO: replace with class using inheritance once material-components-web/pull/6256 is available.\n/** Gets a `MDCListAdapter` instance for the given selection list. */\nfunction getSelectionListAdapter(list: MatSelectionList): MDCListAdapter {\n const baseAdapter = getInteractiveListAdapter(list);\n return {\n ...baseAdapter,\n hasRadioAtIndex(): boolean {\n // If multi selection is not used, we treat the list as a radio list so that\n // the MDC foundation does not keep track of multiple selected list options.\n // Note that we cannot use MDC's non-radio single selection mode as that one\n // will keep track of the selection state internally and we cannot update a\n // control model, or notify/update list-options on selection change. The radio\n // mode is similar to what we want but with support for change notification\n // (i.e. `setCheckedCheckboxOrRadioAtIndex`) while maintaining single selection.\n return !list.multiple;\n },\n hasCheckboxAtIndex() {\n // If multi selection is used, we treat the list as a checkbox list so that\n // the MDC foundation can keep track of multiple selected list options.\n return list.multiple;\n },\n isCheckboxCheckedAtIndex(index: number) {\n return list._itemsArr[index].selected;\n },\n setCheckedCheckboxOrRadioAtIndex(index: number, checked: boolean) {\n list._itemsArr[index].selected = checked;\n },\n setAttributeForElementIndex(index: number, attribute: string, value: string): void {\n // MDC list by default sets `aria-checked` for multi selection lists. We do not want to\n // use this as that signifies a bad accessibility experience. Instead, we change the\n // attribute update to `aria-selected` as that works best with list-options. See:\n // https://github.com/material-components/material-components-web/issues/6367.\n // TODO: Remove this once material-components-web#6367 is improved/fixed.\n if (attribute === 'aria-checked') {\n attribute = 'aria-selected';\n }\n\n baseAdapter.setAttributeForElementIndex(index, attribute, value);\n },\n notifyAction(index: number): void {\n list._emitChangeEvent([list._itemsArr[index]]);\n },\n };\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {\n MatLineModule,\n MatPseudoCheckboxModule,\n MatRippleModule,\n MatCommonModule,\n} from '@angular/material-experimental/mdc-core';\nimport {MatDividerModule} from '@angular/material/divider';\nimport {MatActionList} from './action-list';\nimport {MatList, MatListItem} from './list';\nimport {MatListOption} from './list-option';\nimport {\n MatListAvatarCssMatStyler,\n MatListGraphicAlignmentStyler,\n MatListIconCssMatStyler,\n MatListSubheaderCssMatStyler,\n} from './list-styling';\nimport {MatNavList} from './nav-list';\nimport {MatSelectionList} from './selection-list';\n\n@NgModule({\n imports: [CommonModule, MatCommonModule, MatLineModule, MatRippleModule, MatPseudoCheckboxModule],\n exports: [\n MatList,\n MatActionList,\n MatNavList,\n MatSelectionList,\n MatListItem,\n MatListOption,\n MatListAvatarCssMatStyler,\n MatListIconCssMatStyler,\n MatListSubheaderCssMatStyler,\n MatListGraphicAlignmentStyler,\n MatDividerModule,\n MatLineModule,\n ],\n declarations: [\n MatList,\n MatActionList,\n MatNavList,\n MatSelectionList,\n MatListItem,\n MatListOption,\n MatListAvatarCssMatStyler,\n MatListIconCssMatStyler,\n MatListSubheaderCssMatStyler,\n MatListGraphicAlignmentStyler,\n ],\n})\nexport class MatListModule {}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nexport * from './action-list';\nexport * from './list';\nexport * from './module';\nexport * from './nav-list';\nexport * from './selection-list';\nexport * from './list-option';\nexport * from './list-styling';\nexport {MatListOptionCheckboxPosition} from './list-option-types';\nexport {MatListOption} from './list-option';\n\nexport {MAT_LIST, MAT_NAV_LIST, MAT_SELECTION_LIST_VALUE_ACCESSOR} from '@angular/material/list';\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nexport * from './public-api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["mdcListNumbers"],"mappings":";;;;;;;;;;;;;;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e,EAAE,uBAAuB,CAAC,EAY/F,gBAAgB;QAChB,aAAa;kGAeJ,aAAa;kBA7BzB,QAAQ;mBAAC;oBACR,OAAO,EAAE,CAAC,YAAY,EAAE,eAAe,EAAE,aAAa,EAAE,eAAe,EAAE,uBAAuB,CAAC;oBACjG,OAAO,EAAE;wBACP,OAAO;wBACP,aAAa;wBACb,UAAU;wBACV,gBAAgB;wBAChB,WAAW;wBACX,aAAa;wBACb,yBAAyB;wBACzB,uBAAuB;wBACvB,4BAA4B;wBAC5B,6BAA6B;wBAC7B,gBAAgB;wBAChB,aAAa;qBACd;oBACD,YAAY,EAAE;wBACZ,OAAO;wBACP,aAAa;wBACb,UAAU;wBACV,gBAAgB;wBAChB,WAAW;wBACX,aAAa;wBACb,yBAAyB;wBACzB,uBAAuB;wBACvB,4BAA4B;wBAC5B,6BAA6B;qBAC9B;iBACF;;;ACzDD;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;"}
@@ -33,9 +33,9 @@ class MatMenu extends _MatMenuBase {
33
33
  this._baseElevation = 8;
34
34
  }
35
35
  }
36
- MatMenu.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: MatMenu, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: MAT_MENU_DEFAULT_OPTIONS }], target: i0.ɵɵFactoryTarget.Component });
37
- MatMenu.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.1", type: MatMenu, selector: "mat-menu", host: { properties: { "attr.aria-label": "null", "attr.aria-labelledby": "null", "attr.aria-describedby": "null" } }, providers: [{ provide: MAT_MENU_PANEL, useExisting: MatMenu }], exportAs: ["matMenu"], usesInheritance: true, ngImport: i0, template: "<ng-template>\n <div\n class=\"mat-mdc-menu-panel mdc-menu-surface mdc-menu-surface--open mat-mdc-elevation-specific\"\n [id]=\"panelId\"\n [ngClass]=\"_classList\"\n (keydown)=\"_handleKeydown($event)\"\n (click)=\"closed.emit('click')\"\n [@transformMenu]=\"_panelAnimationState\"\n (@transformMenu.start)=\"_onAnimationStart($event)\"\n (@transformMenu.done)=\"_onAnimationDone($event)\"\n tabindex=\"-1\"\n role=\"menu\"\n [attr.aria-label]=\"ariaLabel || null\"\n [attr.aria-labelledby]=\"ariaLabelledby || null\"\n [attr.aria-describedby]=\"ariaDescribedby || null\">\n <div class=\"mat-mdc-menu-content mdc-list\">\n <ng-content></ng-content>\n </div>\n </div>\n</ng-template>\n", styles: [".mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;position:static}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item[disabled]{pointer-events:none;cursor:default;opacity:.38}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item .mdc-list-item__primary-text{white-space:normal}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-mdc-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-mdc-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-mdc-menu-item-highlighted{outline:dotted 1px}.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"], directives: [{ type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], animations: [matMenuAnimations.transformMenu, matMenuAnimations.fadeInItems], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: MatMenu, decorators: [{
36
+ MatMenu.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0-next.3", ngImport: i0, type: MatMenu, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: MAT_MENU_DEFAULT_OPTIONS }], target: i0.ɵɵFactoryTarget.Component });
37
+ MatMenu.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0-next.3", type: MatMenu, selector: "mat-menu", host: { properties: { "attr.aria-label": "null", "attr.aria-labelledby": "null", "attr.aria-describedby": "null" } }, providers: [{ provide: MAT_MENU_PANEL, useExisting: MatMenu }], exportAs: ["matMenu"], usesInheritance: true, ngImport: i0, template: "<ng-template>\n <div\n class=\"mat-mdc-menu-panel mdc-menu-surface mdc-menu-surface--open mat-mdc-elevation-specific\"\n [id]=\"panelId\"\n [ngClass]=\"_classList\"\n (keydown)=\"_handleKeydown($event)\"\n (click)=\"closed.emit('click')\"\n [@transformMenu]=\"_panelAnimationState\"\n (@transformMenu.start)=\"_onAnimationStart($event)\"\n (@transformMenu.done)=\"_onAnimationDone($event)\"\n tabindex=\"-1\"\n role=\"menu\"\n [attr.aria-label]=\"ariaLabel || null\"\n [attr.aria-labelledby]=\"ariaLabelledby || null\"\n [attr.aria-describedby]=\"ariaDescribedby || null\">\n <div class=\"mat-mdc-menu-content mdc-list\">\n <ng-content></ng-content>\n </div>\n </div>\n</ng-template>\n", styles: [".mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;position:static}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item[disabled]{pointer-events:none;cursor:default;opacity:.38}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item .mdc-list-item__primary-text{white-space:normal}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-mdc-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-mdc-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-mdc-menu-item-highlighted{outline:dotted 1px}.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"], directives: [{ type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], animations: [matMenuAnimations.transformMenu, matMenuAnimations.fadeInItems], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
38
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0-next.3", ngImport: i0, type: MatMenu, decorators: [{
39
39
  type: Component,
40
40
  args: [{ selector: 'mat-menu', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, exportAs: 'matMenu', host: {
41
41
  '[attr.aria-label]': 'null',
@@ -61,9 +61,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImpor
61
61
  */
62
62
  class MatMenuItem extends MatMenuItem$1 {
63
63
  }
64
- MatMenuItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: MatMenuItem, deps: null, target: i0.ɵɵFactoryTarget.Component });
65
- MatMenuItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.1", type: MatMenuItem, selector: "[mat-menu-item]", inputs: { disabled: "disabled", disableRipple: "disableRipple" }, host: { properties: { "attr.role": "role", "class.mat-menu-item": "false", "class.mat-focus-indicator": "false", "class.mat-mdc-menu-item-highlighted": "_highlighted", "class.mat-mdc-menu-item-submenu-trigger": "_triggersSubmenu", "attr.tabindex": "_getTabIndex()", "attr.aria-disabled": "disabled", "attr.disabled": "disabled || null" }, classAttribute: "mat-mdc-menu-item mat-mdc-focus-indicator mdc-list-item" }, providers: [{ provide: MatMenuItem$1, useExisting: MatMenuItem }], exportAs: ["matMenuItem"], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"mat-icon\"></ng-content>\n<span class=\"mdc-list-item__primary-text\"><ng-content></ng-content></span>\n<div class=\"mat-mdc-menu-ripple\" matRipple\n [matRippleDisabled]=\"disableRipple || disabled\"\n [matRippleTrigger]=\"_getHostElement()\">\n</div>\n<svg\n *ngIf=\"_triggersSubmenu\"\n class=\"mat-mdc-menu-submenu-icon\"\n viewBox=\"0 0 5 10\"\n focusable=\"false\"><polygon points=\"0,0 5,5 0,10\"/></svg>\n", directives: [{ type: i1$1.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
66
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: MatMenuItem, decorators: [{
64
+ MatMenuItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0-next.3", ngImport: i0, type: MatMenuItem, deps: null, target: i0.ɵɵFactoryTarget.Component });
65
+ MatMenuItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0-next.3", type: MatMenuItem, selector: "[mat-menu-item]", inputs: { disabled: "disabled", disableRipple: "disableRipple" }, host: { properties: { "attr.role": "role", "class.mat-menu-item": "false", "class.mat-focus-indicator": "false", "class.mat-mdc-menu-item-highlighted": "_highlighted", "class.mat-mdc-menu-item-submenu-trigger": "_triggersSubmenu", "attr.tabindex": "_getTabIndex()", "attr.aria-disabled": "disabled", "attr.disabled": "disabled || null" }, classAttribute: "mat-mdc-menu-item mat-mdc-focus-indicator mdc-list-item" }, providers: [{ provide: MatMenuItem$1, useExisting: MatMenuItem }], exportAs: ["matMenuItem"], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"mat-icon\"></ng-content>\n<span class=\"mdc-list-item__primary-text\"><ng-content></ng-content></span>\n<div class=\"mat-mdc-menu-ripple\" matRipple\n [matRippleDisabled]=\"disableRipple || disabled\"\n [matRippleTrigger]=\"_getHostElement()\">\n</div>\n<svg\n *ngIf=\"_triggersSubmenu\"\n class=\"mat-mdc-menu-submenu-icon\"\n viewBox=\"0 0 5 10\"\n focusable=\"false\"><polygon points=\"0,0 5,5 0,10\"/></svg>\n", directives: [{ type: i1$1.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
66
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0-next.3", ngImport: i0, type: MatMenuItem, decorators: [{
67
67
  type: Component,
68
68
  args: [{ selector: '[mat-menu-item]', exportAs: 'matMenuItem', inputs: ['disabled', 'disableRipple'], host: {
69
69
  '[attr.role]': 'role',
@@ -90,9 +90,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImpor
90
90
  /** Directive applied to an element that should trigger a `mat-menu`. */
91
91
  class MatMenuTrigger extends _MatMenuTriggerBase {
92
92
  }
93
- MatMenuTrigger.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: MatMenuTrigger, deps: null, target: i0.ɵɵFactoryTarget.Directive });
94
- MatMenuTrigger.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.1", type: MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", host: { classAttribute: "mat-mdc-menu-trigger" }, exportAs: ["matMenuTrigger"], usesInheritance: true, ngImport: i0 });
95
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: MatMenuTrigger, decorators: [{
93
+ MatMenuTrigger.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0-next.3", ngImport: i0, type: MatMenuTrigger, deps: null, target: i0.ɵɵFactoryTarget.Directive });
94
+ MatMenuTrigger.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.0-next.3", type: MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", host: { classAttribute: "mat-mdc-menu-trigger" }, exportAs: ["matMenuTrigger"], usesInheritance: true, ngImport: i0 });
95
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0-next.3", ngImport: i0, type: MatMenuTrigger, decorators: [{
96
96
  type: Directive,
97
97
  args: [{
98
98
  selector: `[mat-menu-trigger-for], [matMenuTriggerFor]`,
@@ -105,9 +105,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImpor
105
105
  /** Menu content that will be rendered lazily once the menu is opened. */
106
106
  class MatMenuContent extends _MatMenuContentBase {
107
107
  }
108
- MatMenuContent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: MatMenuContent, deps: null, target: i0.ɵɵFactoryTarget.Directive });
109
- MatMenuContent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.1", type: MatMenuContent, selector: "ng-template[matMenuContent]", providers: [{ provide: MAT_MENU_CONTENT, useExisting: MatMenuContent }], usesInheritance: true, ngImport: i0 });
110
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: MatMenuContent, decorators: [{
108
+ MatMenuContent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0-next.3", ngImport: i0, type: MatMenuContent, deps: null, target: i0.ɵɵFactoryTarget.Directive });
109
+ MatMenuContent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.0-next.3", type: MatMenuContent, selector: "ng-template[matMenuContent]", providers: [{ provide: MAT_MENU_CONTENT, useExisting: MatMenuContent }], usesInheritance: true, ngImport: i0 });
110
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0-next.3", ngImport: i0, type: MatMenuContent, decorators: [{
111
111
  type: Directive,
112
112
  args: [{
113
113
  selector: 'ng-template[matMenuContent]',
@@ -124,16 +124,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImpor
124
124
  */
125
125
  class MatMenuModule {
126
126
  }
127
- MatMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: MatMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
128
- MatMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: MatMenuModule, declarations: [MatMenu, MatMenuItem, MatMenuContent, MatMenuTrigger], imports: [CommonModule, MatRippleModule, MatCommonModule, OverlayModule], exports: [CdkScrollableModule,
127
+ MatMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0-next.3", ngImport: i0, type: MatMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
128
+ MatMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.0-next.3", ngImport: i0, type: MatMenuModule, declarations: [MatMenu, MatMenuItem, MatMenuContent, MatMenuTrigger], imports: [CommonModule, MatRippleModule, MatCommonModule, OverlayModule], exports: [CdkScrollableModule,
129
129
  MatMenu,
130
130
  MatCommonModule,
131
131
  MatMenuItem,
132
132
  MatMenuContent,
133
133
  MatMenuTrigger] });
134
- MatMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: MatMenuModule, providers: [MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER], imports: [[CommonModule, MatRippleModule, MatCommonModule, OverlayModule], CdkScrollableModule,
134
+ MatMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.0-next.3", ngImport: i0, type: MatMenuModule, providers: [MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER], imports: [[CommonModule, MatRippleModule, MatCommonModule, OverlayModule], CdkScrollableModule,
135
135
  MatCommonModule] });
136
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: MatMenuModule, decorators: [{
136
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0-next.3", ngImport: i0, type: MatMenuModule, decorators: [{
137
137
  type: NgModule,
138
138
  args: [{
139
139
  imports: [CommonModule, MatRippleModule, MatCommonModule, OverlayModule],
@@ -1 +1 @@
1
- {"version":3,"file":"mdc-menu.mjs","sources":["../../../../../../src/material-experimental/mdc-menu/menu.ts","../../../../../../src/material-experimental/mdc-menu/menu.html","../../../../../../src/material-experimental/mdc-menu/menu-item.ts","../../../../../../src/material-experimental/mdc-menu/menu-item.html","../../../../../../src/material-experimental/mdc-menu/directives.ts","../../../../../../src/material-experimental/mdc-menu/module.ts","../../../../../../src/material-experimental/mdc-menu/public-api.ts","../../../../../../src/material-experimental/mdc-menu/index.ts","../../../../../../src/material-experimental/mdc-menu/mdc-menu_public_index.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {Overlay, ScrollStrategy} from '@angular/cdk/overlay';\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n Inject,\n NgZone,\n Provider,\n ViewEncapsulation,\n} from '@angular/core';\nimport {\n MAT_MENU_DEFAULT_OPTIONS,\n MAT_MENU_PANEL,\n MAT_MENU_SCROLL_STRATEGY,\n _MatMenuBase,\n matMenuAnimations,\n MatMenuDefaultOptions,\n} from '@angular/material/menu';\n\n/** @docs-private */\nexport function MAT_MENU_SCROLL_STRATEGY_FACTORY(overlay: Overlay): () => ScrollStrategy {\n return () => overlay.scrollStrategies.reposition();\n}\n\n/** @docs-private */\nexport const MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER: Provider = {\n provide: MAT_MENU_SCROLL_STRATEGY,\n deps: [Overlay],\n useFactory: MAT_MENU_SCROLL_STRATEGY_FACTORY,\n};\n\n@Component({\n selector: 'mat-menu',\n templateUrl: 'menu.html',\n styleUrls: ['menu.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n exportAs: 'matMenu',\n host: {\n '[attr.aria-label]': 'null',\n '[attr.aria-labelledby]': 'null',\n '[attr.aria-describedby]': 'null',\n },\n animations: [matMenuAnimations.transformMenu, matMenuAnimations.fadeInItems],\n providers: [{provide: MAT_MENU_PANEL, useExisting: MatMenu}],\n})\nexport class MatMenu extends _MatMenuBase {\n protected override _elevationPrefix = 'mat-mdc-elevation-z';\n protected override _baseElevation = 8;\n\n constructor(\n _elementRef: ElementRef<HTMLElement>,\n _ngZone: NgZone,\n @Inject(MAT_MENU_DEFAULT_OPTIONS) _defaultOptions: MatMenuDefaultOptions,\n ) {\n super(_elementRef, _ngZone, _defaultOptions);\n }\n}\n","<ng-template>\n <div\n class=\"mat-mdc-menu-panel mdc-menu-surface mdc-menu-surface--open mat-mdc-elevation-specific\"\n [id]=\"panelId\"\n [ngClass]=\"_classList\"\n (keydown)=\"_handleKeydown($event)\"\n (click)=\"closed.emit('click')\"\n [@transformMenu]=\"_panelAnimationState\"\n (@transformMenu.start)=\"_onAnimationStart($event)\"\n (@transformMenu.done)=\"_onAnimationDone($event)\"\n tabindex=\"-1\"\n role=\"menu\"\n [attr.aria-label]=\"ariaLabel || null\"\n [attr.aria-labelledby]=\"ariaLabelledby || null\"\n [attr.aria-describedby]=\"ariaDescribedby || null\">\n <div class=\"mat-mdc-menu-content mdc-list\">\n <ng-content></ng-content>\n </div>\n </div>\n</ng-template>\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {Component, ChangeDetectionStrategy, ViewEncapsulation} from '@angular/core';\nimport {MatMenuItem as BaseMatMenuItem} from '@angular/material/menu';\n\n/**\n * Single item inside of a `mat-menu`. Provides the menu item styling and accessibility treatment.\n */\n@Component({\n selector: '[mat-menu-item]',\n exportAs: 'matMenuItem',\n inputs: ['disabled', 'disableRipple'],\n host: {\n '[attr.role]': 'role',\n // The MatMenuItem parent class adds `mat-menu-item` and `mat-focus-indicator` to the CSS\n // classlist, but these should not be added for this MDC equivalent menu item.\n '[class.mat-menu-item]': 'false',\n '[class.mat-focus-indicator]': 'false',\n 'class': 'mat-mdc-menu-item mat-mdc-focus-indicator mdc-list-item',\n '[class.mat-mdc-menu-item-highlighted]': '_highlighted',\n '[class.mat-mdc-menu-item-submenu-trigger]': '_triggersSubmenu',\n '[attr.tabindex]': '_getTabIndex()',\n '[attr.aria-disabled]': 'disabled',\n '[attr.disabled]': 'disabled || null',\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n templateUrl: 'menu-item.html',\n providers: [{provide: BaseMatMenuItem, useExisting: MatMenuItem}],\n})\nexport class MatMenuItem extends BaseMatMenuItem {}\n","<ng-content select=\"mat-icon\"></ng-content>\n<span class=\"mdc-list-item__primary-text\"><ng-content></ng-content></span>\n<div class=\"mat-mdc-menu-ripple\" matRipple\n [matRippleDisabled]=\"disableRipple || disabled\"\n [matRippleTrigger]=\"_getHostElement()\">\n</div>\n<svg\n *ngIf=\"_triggersSubmenu\"\n class=\"mat-mdc-menu-submenu-icon\"\n viewBox=\"0 0 5 10\"\n focusable=\"false\"><polygon points=\"0,0 5,5 0,10\"/></svg>\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {Directive} from '@angular/core';\nimport {_MatMenuContentBase, _MatMenuTriggerBase, MAT_MENU_CONTENT} from '@angular/material/menu';\n\n/** Directive applied to an element that should trigger a `mat-menu`. */\n@Directive({\n selector: `[mat-menu-trigger-for], [matMenuTriggerFor]`,\n host: {\n 'class': 'mat-mdc-menu-trigger',\n },\n exportAs: 'matMenuTrigger',\n})\nexport class MatMenuTrigger extends _MatMenuTriggerBase {}\n\n/** Menu content that will be rendered lazily once the menu is opened. */\n@Directive({\n selector: 'ng-template[matMenuContent]',\n providers: [{provide: MAT_MENU_CONTENT, useExisting: MatMenuContent}],\n})\nexport class MatMenuContent extends _MatMenuContentBase {}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {MatCommonModule, MatRippleModule} from '@angular/material-experimental/mdc-core';\nimport {OverlayModule} from '@angular/cdk/overlay';\nimport {CdkScrollableModule} from '@angular/cdk/scrolling';\nimport {MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER, MatMenu} from './menu';\nimport {MatMenuItem} from './menu-item';\nimport {MatMenuContent, MatMenuTrigger} from './directives';\n\n@NgModule({\n imports: [CommonModule, MatRippleModule, MatCommonModule, OverlayModule],\n exports: [\n CdkScrollableModule,\n MatMenu,\n MatCommonModule,\n MatMenuItem,\n MatMenuContent,\n MatMenuTrigger,\n ],\n declarations: [MatMenu, MatMenuItem, MatMenuContent, MatMenuTrigger],\n providers: [MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER],\n})\nexport class MatMenuModule {}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nexport {MatMenu} from './menu';\nexport {MatMenuItem} from './menu-item';\nexport {MatMenuTrigger, MatMenuContent} from './directives';\nexport * from './module';\n\nexport {\n fadeInItems,\n MAT_MENU_DEFAULT_OPTIONS,\n MAT_MENU_PANEL,\n MAT_MENU_SCROLL_STRATEGY,\n matMenuAnimations,\n MatMenuDefaultOptions,\n MatMenuPanel,\n MenuPositionX,\n MenuPositionY,\n transformMenu,\n MAT_MENU_CONTENT,\n} from '@angular/material/menu';\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nexport * from './public-api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["BaseMatMenuItem"],"mappings":";;;;;;;;;;;AAAA;;;;;;;AA2BA;SACgB,gCAAgC,CAAC,OAAgB;IAC/D,OAAO,MAAM,OAAO,CAAC,gBAAgB,CAAC,UAAU,EAAE,CAAC;AACrD,CAAC;AAED;AACO,MAAM,yCAAyC,GAAa;IACjE,OAAO,EAAE,wBAAwB;IACjC,IAAI,EAAE,CAAC,OAAO,CAAC;IACf,UAAU,EAAE,gCAAgC;CAC7C,CAAC;MAiBW,gBAAgB,YAAY;IAIvC,YACE,WAAoC,EACpC,OAAe,EACmB,eAAsC;QAExE,KAAK,CAAC,WAAW,EAAE,OAAO,EAAE,eAAe,CAAC,CAAC;QAR5B,qBAAgB,GAAG,qBAAqB,CAAC;QACzC,mBAAc,GAAG,CAAC,CAAC;KAQrC;;oGAVU,OAAO,kEAOR,wBAAwB;wFAPvB,OAAO,yJAFP,CAAC,EAAC,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,OAAO,EAAC,CAAC,wECpD9D,muBAoBA,2oGD+Bc,CAAC,iBAAiB,CAAC,a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,EAAE,sBAAsB;qBAChC;oBACD,QAAQ,EAAE,gBAAgB;iBAC3B;;AAGD;MAKa,uBAAuB,mBAAmB;;2GAA1C,cAAc;+FAAd,cAAc,sDAFd,CAAC,EAAC,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,cAAc,EAAC,CAAC;2FAE1D,cAAc;kBAJ1B,SAAS;mBAAC;oBACT,QAAQ,EAAE,6BAA6B;oBACvC,SAAS,EAAE,CAAC,EAAC,OAAO,EAAE,gBAAgB,EAAE,WAAW,gBAAgB,EAAC,CAAC;iBACtE;;;ACzBD;;;;;;;MA8Ba,aAAa;;0GAAb,aAAa;2GAAb,aAAa,iBAHT,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,cAAc,aATzD,YAAY,EAAE,eAAe,EAAE,eAAe,EAAE,aAAa,aAErE,mBAAmB;QACnB,OAAO;QACP,eAAe;QACf,WAAW;QACX,cAAc;QACd,cAAc;2GAKL,aAAa,aAFb,CAAC,yCAAyC,CAAC,YAV7C,CAAC,YAAY,EAAE,eAAe,EAAE,eAAe,EAAE,aAAa,CAAC,EAEtE,mBAAmB;QAEnB,eAAe;2FAQN,aAAa;kBAbzB,QAAQ;mBAAC;oBACR,OAAO,EAAE,CAAC,YAAY,EAAE,eAAe,EAAE,eAAe,EAAE,aAAa,CAAC;oBACxE,OAAO,EAAE;wBACP,mBAAmB;wBACnB,OAAO;wBACP,eAAe;wBACf,WAAW;wBACX,cAAc;wBACd,cAAc;qBACf;oBACD,YAAY,EAAE,CAAC,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,cAAc,CAAC;oBACpE,SAAS,EAAE,CAAC,yCAAyC,CAAC;iBACvD;;;AC7BD;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;"}
1
+ {"version":3,"file":"mdc-menu.mjs","sources":["../../../../../../src/material-experimental/mdc-menu/menu.ts","../../../../../../src/material-experimental/mdc-menu/menu.html","../../../../../../src/material-experimental/mdc-menu/menu-item.ts","../../../../../../src/material-experimental/mdc-menu/menu-item.html","../../../../../../src/material-experimental/mdc-menu/directives.ts","../../../../../../src/material-experimental/mdc-menu/module.ts","../../../../../../src/material-experimental/mdc-menu/public-api.ts","../../../../../../src/material-experimental/mdc-menu/index.ts","../../../../../../src/material-experimental/mdc-menu/mdc-menu_public_index.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {Overlay, ScrollStrategy} from '@angular/cdk/overlay';\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n Inject,\n NgZone,\n Provider,\n ViewEncapsulation,\n} from '@angular/core';\nimport {\n MAT_MENU_DEFAULT_OPTIONS,\n MAT_MENU_PANEL,\n MAT_MENU_SCROLL_STRATEGY,\n _MatMenuBase,\n matMenuAnimations,\n MatMenuDefaultOptions,\n} from '@angular/material/menu';\n\n/** @docs-private */\nexport function MAT_MENU_SCROLL_STRATEGY_FACTORY(overlay: Overlay): () => ScrollStrategy {\n return () => overlay.scrollStrategies.reposition();\n}\n\n/** @docs-private */\nexport const MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER: Provider = {\n provide: MAT_MENU_SCROLL_STRATEGY,\n deps: [Overlay],\n useFactory: MAT_MENU_SCROLL_STRATEGY_FACTORY,\n};\n\n@Component({\n selector: 'mat-menu',\n templateUrl: 'menu.html',\n styleUrls: ['menu.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n exportAs: 'matMenu',\n host: {\n '[attr.aria-label]': 'null',\n '[attr.aria-labelledby]': 'null',\n '[attr.aria-describedby]': 'null',\n },\n animations: [matMenuAnimations.transformMenu, matMenuAnimations.fadeInItems],\n providers: [{provide: MAT_MENU_PANEL, useExisting: MatMenu}],\n})\nexport class MatMenu extends _MatMenuBase {\n protected override _elevationPrefix = 'mat-mdc-elevation-z';\n protected override _baseElevation = 8;\n\n constructor(\n _elementRef: ElementRef<HTMLElement>,\n _ngZone: NgZone,\n @Inject(MAT_MENU_DEFAULT_OPTIONS) _defaultOptions: MatMenuDefaultOptions,\n ) {\n super(_elementRef, _ngZone, _defaultOptions);\n }\n}\n","<ng-template>\n <div\n class=\"mat-mdc-menu-panel mdc-menu-surface mdc-menu-surface--open mat-mdc-elevation-specific\"\n [id]=\"panelId\"\n [ngClass]=\"_classList\"\n (keydown)=\"_handleKeydown($event)\"\n (click)=\"closed.emit('click')\"\n [@transformMenu]=\"_panelAnimationState\"\n (@transformMenu.start)=\"_onAnimationStart($event)\"\n (@transformMenu.done)=\"_onAnimationDone($event)\"\n tabindex=\"-1\"\n role=\"menu\"\n [attr.aria-label]=\"ariaLabel || null\"\n [attr.aria-labelledby]=\"ariaLabelledby || null\"\n [attr.aria-describedby]=\"ariaDescribedby || null\">\n <div class=\"mat-mdc-menu-content mdc-list\">\n <ng-content></ng-content>\n </div>\n </div>\n</ng-template>\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {Component, ChangeDetectionStrategy, ViewEncapsulation} from '@angular/core';\nimport {MatMenuItem as BaseMatMenuItem} from '@angular/material/menu';\n\n/**\n * Single item inside of a `mat-menu`. Provides the menu item styling and accessibility treatment.\n */\n@Component({\n selector: '[mat-menu-item]',\n exportAs: 'matMenuItem',\n inputs: ['disabled', 'disableRipple'],\n host: {\n '[attr.role]': 'role',\n // The MatMenuItem parent class adds `mat-menu-item` and `mat-focus-indicator` to the CSS\n // classlist, but these should not be added for this MDC equivalent menu item.\n '[class.mat-menu-item]': 'false',\n '[class.mat-focus-indicator]': 'false',\n 'class': 'mat-mdc-menu-item mat-mdc-focus-indicator mdc-list-item',\n '[class.mat-mdc-menu-item-highlighted]': '_highlighted',\n '[class.mat-mdc-menu-item-submenu-trigger]': '_triggersSubmenu',\n '[attr.tabindex]': '_getTabIndex()',\n '[attr.aria-disabled]': 'disabled',\n '[attr.disabled]': 'disabled || null',\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n templateUrl: 'menu-item.html',\n providers: [{provide: BaseMatMenuItem, useExisting: MatMenuItem}],\n})\nexport class MatMenuItem extends BaseMatMenuItem {}\n","<ng-content select=\"mat-icon\"></ng-content>\n<span class=\"mdc-list-item__primary-text\"><ng-content></ng-content></span>\n<div class=\"mat-mdc-menu-ripple\" matRipple\n [matRippleDisabled]=\"disableRipple || disabled\"\n [matRippleTrigger]=\"_getHostElement()\">\n</div>\n<svg\n *ngIf=\"_triggersSubmenu\"\n class=\"mat-mdc-menu-submenu-icon\"\n viewBox=\"0 0 5 10\"\n focusable=\"false\"><polygon points=\"0,0 5,5 0,10\"/></svg>\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {Directive} from '@angular/core';\nimport {_MatMenuContentBase, _MatMenuTriggerBase, MAT_MENU_CONTENT} from '@angular/material/menu';\n\n/** Directive applied to an element that should trigger a `mat-menu`. */\n@Directive({\n selector: `[mat-menu-trigger-for], [matMenuTriggerFor]`,\n host: {\n 'class': 'mat-mdc-menu-trigger',\n },\n exportAs: 'matMenuTrigger',\n})\nexport class MatMenuTrigger extends _MatMenuTriggerBase {}\n\n/** Menu content that will be rendered lazily once the menu is opened. */\n@Directive({\n selector: 'ng-template[matMenuContent]',\n providers: [{provide: MAT_MENU_CONTENT, useExisting: MatMenuContent}],\n})\nexport class MatMenuContent extends _MatMenuContentBase {}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {MatCommonModule, MatRippleModule} from '@angular/material-experimental/mdc-core';\nimport {OverlayModule} from '@angular/cdk/overlay';\nimport {CdkScrollableModule} from '@angular/cdk/scrolling';\nimport {MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER, MatMenu} from './menu';\nimport {MatMenuItem} from './menu-item';\nimport {MatMenuContent, MatMenuTrigger} from './directives';\n\n@NgModule({\n imports: [CommonModule, MatRippleModule, MatCommonModule, OverlayModule],\n exports: [\n CdkScrollableModule,\n MatMenu,\n MatCommonModule,\n MatMenuItem,\n MatMenuContent,\n MatMenuTrigger,\n ],\n declarations: [MatMenu, MatMenuItem, MatMenuContent, MatMenuTrigger],\n providers: [MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER],\n})\nexport class MatMenuModule {}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nexport {MatMenu} from './menu';\nexport {MatMenuItem} from './menu-item';\nexport {MatMenuTrigger, MatMenuContent} from './directives';\nexport * from './module';\n\nexport {\n fadeInItems,\n MAT_MENU_DEFAULT_OPTIONS,\n MAT_MENU_PANEL,\n MAT_MENU_SCROLL_STRATEGY,\n matMenuAnimations,\n MatMenuDefaultOptions,\n MatMenuPanel,\n MenuPositionX,\n MenuPositionY,\n transformMenu,\n MAT_MENU_CONTENT,\n} from '@angular/material/menu';\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nexport * from './public-api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["BaseMatMenuItem"],"mappings":";;;;;;;;;;;AAAA;;;;;;;AA2BA;SACgB,gCAAgC,CAAC,OAAgB;IAC/D,OAAO,MAAM,OAAO,CAAC,gBAAgB,CAAC,UAAU,EAAE,CAAC;AACrD,CAAC;AAED;AACO,MAAM,yCAAyC,GAAa;IACjE,OAAO,EAAE,wBAAwB;IACjC,IAAI,EAAE,CAAC,OAAO,CAAC;IACf,UAAU,EAAE,gCAAgC;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