@angular/material 13.0.0-rc.0 → 13.0.0-rc.1

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 (642) hide show
  1. package/autocomplete/testing/autocomplete-harness.d.ts +4 -4
  2. package/core/common-behaviors/index.d.ts +1 -1
  3. package/esm2020/autocomplete/autocomplete-module.mjs +4 -17
  4. package/esm2020/autocomplete/autocomplete-origin.mjs +1 -1
  5. package/esm2020/autocomplete/autocomplete-trigger.mjs +30 -25
  6. package/esm2020/autocomplete/autocomplete.mjs +10 -10
  7. package/esm2020/autocomplete/testing/autocomplete-harness.mjs +7 -8
  8. package/esm2020/badge/badge-module.mjs +4 -11
  9. package/esm2020/badge/badge.mjs +13 -5
  10. package/esm2020/badge/testing/badge-harness.mjs +2 -3
  11. package/esm2020/bottom-sheet/bottom-sheet-animations.mjs +2 -2
  12. package/esm2020/bottom-sheet/bottom-sheet-container.mjs +5 -3
  13. package/esm2020/bottom-sheet/bottom-sheet-module.mjs +4 -14
  14. package/esm2020/bottom-sheet/bottom-sheet-ref.mjs +10 -4
  15. package/esm2020/bottom-sheet/bottom-sheet.mjs +9 -8
  16. package/esm2020/bottom-sheet/testing/bottom-sheet-harness.mjs +1 -1
  17. package/esm2020/button/button-module.mjs +6 -23
  18. package/esm2020/button/button.mjs +1 -1
  19. package/esm2020/button/public-api.mjs +1 -1
  20. package/esm2020/button/testing/button-harness.mjs +2 -3
  21. package/esm2020/button-toggle/button-toggle-module.mjs +1 -1
  22. package/esm2020/button-toggle/button-toggle.mjs +25 -13
  23. package/esm2020/button-toggle/public-api.mjs +1 -1
  24. package/esm2020/button-toggle/testing/button-toggle-group-harness-filters.mjs +1 -1
  25. package/esm2020/button-toggle/testing/button-toggle-group-harness.mjs +3 -3
  26. package/esm2020/button-toggle/testing/button-toggle-harness.mjs +2 -2
  27. package/esm2020/card/card-module.mjs +29 -7
  28. package/esm2020/card/card.mjs +14 -14
  29. package/esm2020/card/public-api.mjs +1 -1
  30. package/esm2020/card/testing/card-harness.mjs +1 -1
  31. package/esm2020/checkbox/checkbox-config.mjs +2 -2
  32. package/esm2020/checkbox/checkbox-module.mjs +3 -9
  33. package/esm2020/checkbox/checkbox-required-validator.mjs +4 -4
  34. package/esm2020/checkbox/checkbox.mjs +32 -14
  35. package/esm2020/checkbox/public-api.mjs +1 -1
  36. package/esm2020/checkbox/testing/checkbox-harness.mjs +3 -3
  37. package/esm2020/chips/chip-default-options.mjs +1 -1
  38. package/esm2020/chips/chip-input.mjs +18 -8
  39. package/esm2020/chips/chip-list.mjs +29 -14
  40. package/esm2020/chips/chip-text-control.mjs +1 -1
  41. package/esm2020/chips/chip.mjs +28 -19
  42. package/esm2020/chips/chips-module.mjs +8 -8
  43. package/esm2020/chips/testing/chip-harness.mjs +2 -2
  44. package/esm2020/chips/testing/chip-input-harness.mjs +2 -2
  45. package/esm2020/chips/testing/chip-list-harness.mjs +5 -5
  46. package/esm2020/chips/testing/chip-listbox-harness.mjs +1 -1
  47. package/esm2020/chips/testing/chip-option-harness.mjs +1 -1
  48. package/esm2020/core/animation/animation.mjs +1 -1
  49. package/esm2020/core/common-behaviors/color.mjs +4 -2
  50. package/esm2020/core/common-behaviors/common-module.mjs +10 -5
  51. package/esm2020/core/common-behaviors/constructor.mjs +1 -1
  52. package/esm2020/core/common-behaviors/disable-ripple.mjs +7 -3
  53. package/esm2020/core/common-behaviors/disabled.mjs +7 -3
  54. package/esm2020/core/common-behaviors/error-state.mjs +1 -1
  55. package/esm2020/core/common-behaviors/index.mjs +1 -1
  56. package/esm2020/core/common-behaviors/initialized.mjs +1 -1
  57. package/esm2020/core/common-behaviors/tabindex.mjs +4 -2
  58. package/esm2020/core/datetime/date-adapter.mjs +4 -4
  59. package/esm2020/core/datetime/date-formats.mjs +1 -1
  60. package/esm2020/core/datetime/index.mjs +3 -7
  61. package/esm2020/core/datetime/native-date-adapter.mjs +3 -3
  62. package/esm2020/core/datetime/native-date-formats.mjs +2 -2
  63. package/esm2020/core/line/line.mjs +3 -3
  64. package/esm2020/core/option/index.mjs +2 -2
  65. package/esm2020/core/option/optgroup.mjs +2 -2
  66. package/esm2020/core/option/option-parent.mjs +1 -1
  67. package/esm2020/core/option/option.mjs +16 -6
  68. package/esm2020/core/ripple/ripple-ref.mjs +1 -1
  69. package/esm2020/core/ripple/ripple-renderer.mjs +8 -8
  70. package/esm2020/core/ripple/ripple.mjs +10 -6
  71. package/esm2020/core/selection/index.mjs +2 -2
  72. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +1 -1
  73. package/esm2020/core/testing/optgroup-harness.mjs +2 -3
  74. package/esm2020/core/testing/option-harness.mjs +2 -2
  75. package/esm2020/core/version.mjs +1 -1
  76. package/esm2020/datepicker/calendar-body.mjs +8 -4
  77. package/esm2020/datepicker/calendar.mjs +40 -26
  78. package/esm2020/datepicker/date-range-input-parts.mjs +22 -19
  79. package/esm2020/datepicker/date-range-input.mjs +23 -12
  80. package/esm2020/datepicker/date-range-picker.mjs +2 -2
  81. package/esm2020/datepicker/date-range-selection-strategy.mjs +1 -1
  82. package/esm2020/datepicker/date-selection-model.mjs +6 -5
  83. package/esm2020/datepicker/datepicker-actions.mjs +4 -4
  84. package/esm2020/datepicker/datepicker-animations.mjs +6 -6
  85. package/esm2020/datepicker/datepicker-base.mjs +37 -34
  86. package/esm2020/datepicker/datepicker-errors.mjs +1 -1
  87. package/esm2020/datepicker/datepicker-input-base.mjs +20 -15
  88. package/esm2020/datepicker/datepicker-input.mjs +15 -9
  89. package/esm2020/datepicker/datepicker-intl.mjs +1 -1
  90. package/esm2020/datepicker/datepicker-module.mjs +6 -15
  91. package/esm2020/datepicker/datepicker-toggle.mjs +9 -8
  92. package/esm2020/datepicker/datepicker.mjs +2 -2
  93. package/esm2020/datepicker/month-view.mjs +37 -23
  94. package/esm2020/datepicker/multi-year-view.mjs +26 -16
  95. package/esm2020/datepicker/testing/calendar-cell-harness.mjs +1 -1
  96. package/esm2020/datepicker/testing/calendar-harness.mjs +1 -1
  97. package/esm2020/datepicker/testing/date-range-input-harness.mjs +4 -5
  98. package/esm2020/datepicker/testing/datepicker-input-harness-base.mjs +4 -4
  99. package/esm2020/datepicker/testing/datepicker-input-harness.mjs +1 -1
  100. package/esm2020/datepicker/testing/datepicker-toggle-harness.mjs +1 -1
  101. package/esm2020/datepicker/testing/datepicker-trigger-harness-base.mjs +2 -2
  102. package/esm2020/datepicker/year-view.mjs +29 -16
  103. package/esm2020/dialog/dialog-animations.mjs +2 -2
  104. package/esm2020/dialog/dialog-config.mjs +1 -1
  105. package/esm2020/dialog/dialog-container.mjs +8 -5
  106. package/esm2020/dialog/dialog-content-directives.mjs +4 -4
  107. package/esm2020/dialog/dialog-module.mjs +5 -21
  108. package/esm2020/dialog/dialog-ref.mjs +10 -5
  109. package/esm2020/dialog/dialog.mjs +19 -16
  110. package/esm2020/dialog/testing/dialog-harness.mjs +3 -3
  111. package/esm2020/divider/divider-module.mjs +1 -1
  112. package/esm2020/divider/divider.mjs +14 -6
  113. package/esm2020/divider/testing/divider-harness-filters.mjs +1 -1
  114. package/esm2020/divider/testing/divider-harness.mjs +1 -1
  115. package/esm2020/expansion/accordion-base.mjs +1 -1
  116. package/esm2020/expansion/accordion.mjs +19 -11
  117. package/esm2020/expansion/expansion-animations.mjs +2 -2
  118. package/esm2020/expansion/expansion-module.mjs +1 -1
  119. package/esm2020/expansion/expansion-panel-content.mjs +2 -2
  120. package/esm2020/expansion/expansion-panel-header.mjs +13 -21
  121. package/esm2020/expansion/expansion-panel.mjs +10 -6
  122. package/esm2020/expansion/testing/accordion-harness.mjs +1 -1
  123. package/esm2020/expansion/testing/expansion-harness-filters.mjs +1 -1
  124. package/esm2020/expansion/testing/expansion-harness.mjs +3 -3
  125. package/esm2020/form-field/form-field-animations.mjs +2 -2
  126. package/esm2020/form-field/form-field-control.mjs +1 -1
  127. package/esm2020/form-field/form-field-module.mjs +5 -29
  128. package/esm2020/form-field/form-field.mjs +45 -33
  129. package/esm2020/form-field/label.mjs +2 -2
  130. package/esm2020/form-field/placeholder.mjs +2 -2
  131. package/esm2020/form-field/testing/form-field-harness.mjs +12 -9
  132. package/esm2020/grid-list/grid-list-module.mjs +4 -4
  133. package/esm2020/grid-list/grid-list.mjs +24 -13
  134. package/esm2020/grid-list/grid-tile.mjs +17 -9
  135. package/esm2020/grid-list/testing/grid-list-harness-filters.mjs +1 -1
  136. package/esm2020/grid-list/testing/grid-list-harness.mjs +9 -5
  137. package/esm2020/grid-list/testing/grid-tile-harness.mjs +1 -1
  138. package/esm2020/grid-list/tile-coordinator.mjs +5 -3
  139. package/esm2020/grid-list/tile-styler.mjs +7 -6
  140. package/esm2020/icon/fake-svgs.mjs +2 -2
  141. package/esm2020/icon/icon-module.mjs +1 -1
  142. package/esm2020/icon/icon-registry.mjs +6 -6
  143. package/esm2020/icon/icon.mjs +26 -16
  144. package/esm2020/icon/public-api.mjs +1 -1
  145. package/esm2020/icon/testing/fake-icon-registry.mjs +2 -2
  146. package/esm2020/icon/testing/icon-harness-filters.mjs +1 -1
  147. package/esm2020/icon/testing/icon-harness.mjs +2 -2
  148. package/esm2020/icon/trusted-types.mjs +1 -1
  149. package/esm2020/input/input-module.mjs +4 -14
  150. package/esm2020/input/input-value-accessor.mjs +1 -1
  151. package/esm2020/input/input.mjs +46 -20
  152. package/esm2020/input/public-api.mjs +1 -1
  153. package/esm2020/input/testing/input-harness.mjs +6 -6
  154. package/esm2020/input/testing/native-option-harness.mjs +3 -3
  155. package/esm2020/input/testing/native-select-harness.mjs +4 -4
  156. package/esm2020/list/list-module.mjs +3 -3
  157. package/esm2020/list/list.mjs +10 -9
  158. package/esm2020/list/public-api.mjs +1 -1
  159. package/esm2020/list/selection-list.mjs +34 -15
  160. package/esm2020/list/testing/action-list-harness.mjs +1 -1
  161. package/esm2020/list/testing/list-harness-base.mjs +12 -5
  162. package/esm2020/list/testing/list-harness.mjs +1 -1
  163. package/esm2020/list/testing/list-item-harness-base.mjs +5 -7
  164. package/esm2020/list/testing/nav-list-harness.mjs +2 -3
  165. package/esm2020/list/testing/selection-list-harness.mjs +9 -9
  166. package/esm2020/menu/menu-animations.mjs +7 -7
  167. package/esm2020/menu/menu-content.mjs +1 -1
  168. package/esm2020/menu/menu-errors.mjs +1 -1
  169. package/esm2020/menu/menu-item.mjs +1 -1
  170. package/esm2020/menu/menu-module.mjs +6 -19
  171. package/esm2020/menu/menu-panel.mjs +1 -1
  172. package/esm2020/menu/menu-trigger.mjs +25 -16
  173. package/esm2020/menu/menu.mjs +28 -25
  174. package/esm2020/menu/public-api.mjs +2 -2
  175. package/esm2020/menu/testing/menu-harness.mjs +4 -5
  176. package/esm2020/paginator/paginator-intl.mjs +3 -5
  177. package/esm2020/paginator/paginator-module.mjs +4 -20
  178. package/esm2020/paginator/paginator.mjs +24 -13
  179. package/esm2020/paginator/public-api.mjs +1 -1
  180. package/esm2020/paginator/testing/paginator-harness-filters.mjs +1 -1
  181. package/esm2020/paginator/testing/paginator-harness.mjs +2 -2
  182. package/esm2020/progress-bar/progress-bar-module.mjs +1 -1
  183. package/esm2020/progress-bar/progress-bar.mjs +20 -15
  184. package/esm2020/progress-bar/public-api.mjs +1 -1
  185. package/esm2020/progress-bar/testing/progress-bar-harness.mjs +1 -1
  186. package/esm2020/progress-spinner/progress-spinner-module.mjs +4 -14
  187. package/esm2020/progress-spinner/progress-spinner.mjs +10 -8
  188. package/esm2020/progress-spinner/testing/progress-spinner-harness.mjs +2 -2
  189. package/esm2020/radio/public-api.mjs +1 -1
  190. package/esm2020/radio/radio-module.mjs +1 -1
  191. package/esm2020/radio/radio.mjs +40 -24
  192. package/esm2020/radio/testing/radio-harness.mjs +3 -4
  193. package/esm2020/select/public-api.mjs +2 -2
  194. package/esm2020/select/select-animations.mjs +7 -7
  195. package/esm2020/select/select-module.mjs +6 -19
  196. package/esm2020/select/select.mjs +61 -44
  197. package/esm2020/select/testing/select-harness.mjs +9 -6
  198. package/esm2020/sidenav/drawer-animations.mjs +3 -3
  199. package/esm2020/sidenav/drawer.mjs +71 -35
  200. package/esm2020/sidenav/sidenav-module.mjs +4 -17
  201. package/esm2020/sidenav/sidenav.mjs +31 -15
  202. package/esm2020/sidenav/testing/drawer-container-harness.mjs +1 -1
  203. package/esm2020/sidenav/testing/drawer-content-harness.mjs +1 -1
  204. package/esm2020/sidenav/testing/drawer-harness.mjs +2 -3
  205. package/esm2020/sidenav/testing/sidenav-container-harness.mjs +1 -1
  206. package/esm2020/sidenav/testing/sidenav-content-harness.mjs +1 -1
  207. package/esm2020/sidenav/testing/sidenav-harness.mjs +2 -3
  208. package/esm2020/slide-toggle/slide-toggle-config.mjs +2 -2
  209. package/esm2020/slide-toggle/slide-toggle-module.mjs +3 -8
  210. package/esm2020/slide-toggle/slide-toggle-required-validator.mjs +4 -4
  211. package/esm2020/slide-toggle/slide-toggle.mjs +16 -10
  212. package/esm2020/slide-toggle/testing/slide-toggle-harness.mjs +3 -3
  213. package/esm2020/slider/public-api.mjs +1 -1
  214. package/esm2020/slider/slider-module.mjs +1 -1
  215. package/esm2020/slider/slider.mjs +49 -30
  216. package/esm2020/slider/testing/slider-harness.mjs +6 -2
  217. package/esm2020/snack-bar/simple-snack-bar.mjs +1 -1
  218. package/esm2020/snack-bar/snack-bar-animations.mjs +3 -3
  219. package/esm2020/snack-bar/snack-bar-container.mjs +2 -2
  220. package/esm2020/snack-bar/snack-bar-module.mjs +4 -20
  221. package/esm2020/snack-bar/snack-bar-ref.mjs +1 -1
  222. package/esm2020/snack-bar/snack-bar.mjs +11 -8
  223. package/esm2020/snack-bar/testing/snack-bar-harness.mjs +5 -6
  224. package/esm2020/sort/sort-animations.mjs +11 -26
  225. package/esm2020/sort/sort-header-intl.mjs +2 -2
  226. package/esm2020/sort/sort-header.mjs +29 -26
  227. package/esm2020/sort/sort-module.mjs +2 -2
  228. package/esm2020/sort/sort.mjs +16 -9
  229. package/esm2020/sort/testing/sort-harness-filters.mjs +1 -1
  230. package/esm2020/sort/testing/sort-harness.mjs +1 -1
  231. package/esm2020/sort/testing/sort-header-harness.mjs +1 -1
  232. package/esm2020/stepper/step-content.mjs +2 -2
  233. package/esm2020/stepper/step-header.mjs +2 -2
  234. package/esm2020/stepper/stepper-animations.mjs +4 -4
  235. package/esm2020/stepper/stepper-button.mjs +3 -3
  236. package/esm2020/stepper/stepper-intl.mjs +2 -2
  237. package/esm2020/stepper/stepper-module.mjs +1 -1
  238. package/esm2020/stepper/stepper.mjs +10 -6
  239. package/esm2020/stepper/testing/step-harness-filters.mjs +1 -1
  240. package/esm2020/stepper/testing/step-harness.mjs +1 -1
  241. package/esm2020/stepper/testing/stepper-button-harnesses.mjs +3 -5
  242. package/esm2020/stepper/testing/stepper-harness.mjs +5 -5
  243. package/esm2020/table/cell.mjs +12 -8
  244. package/esm2020/table/row.mjs +2 -2
  245. package/esm2020/table/table-data-source.mjs +30 -21
  246. package/esm2020/table/table-module.mjs +5 -12
  247. package/esm2020/table/table.mjs +5 -9
  248. package/esm2020/table/testing/cell-harness.mjs +6 -3
  249. package/esm2020/table/testing/row-harness.mjs +2 -2
  250. package/esm2020/table/testing/table-harness-filters.mjs +1 -1
  251. package/esm2020/table/testing/table-harness.mjs +3 -3
  252. package/esm2020/table/text-column.mjs +1 -1
  253. package/esm2020/tabs/ink-bar.mjs +2 -2
  254. package/esm2020/tabs/paginated-tab-header.mjs +16 -9
  255. package/esm2020/tabs/public-api.mjs +2 -2
  256. package/esm2020/tabs/tab-body.mjs +7 -7
  257. package/esm2020/tabs/tab-content.mjs +2 -3
  258. package/esm2020/tabs/tab-group.mjs +43 -28
  259. package/esm2020/tabs/tab-header.mjs +7 -3
  260. package/esm2020/tabs/tab-label-wrapper.mjs +2 -2
  261. package/esm2020/tabs/tab-label.mjs +1 -1
  262. package/esm2020/tabs/tab-nav-bar/tab-nav-bar.mjs +19 -9
  263. package/esm2020/tabs/tab.mjs +7 -3
  264. package/esm2020/tabs/tabs-animations.mjs +5 -5
  265. package/esm2020/tabs/tabs-module.mjs +1 -1
  266. package/esm2020/tabs/testing/tab-group-harness.mjs +2 -3
  267. package/esm2020/tabs/testing/tab-harness.mjs +2 -3
  268. package/esm2020/tabs/testing/tab-link-harness.mjs +2 -3
  269. package/esm2020/toolbar/public-api.mjs +1 -1
  270. package/esm2020/toolbar/testing/toolbar-harness.mjs +3 -4
  271. package/esm2020/toolbar/toolbar-module.mjs +1 -1
  272. package/esm2020/toolbar/toolbar.mjs +1 -1
  273. package/esm2020/tooltip/tooltip-animations.mjs +3 -3
  274. package/esm2020/tooltip/tooltip-module.mjs +5 -18
  275. package/esm2020/tooltip/tooltip.mjs +55 -30
  276. package/esm2020/tree/data-source/flat-data-source.mjs +4 -2
  277. package/esm2020/tree/data-source/nested-data-source.mjs +8 -5
  278. package/esm2020/tree/node.mjs +17 -13
  279. package/esm2020/tree/outlet.mjs +12 -8
  280. package/esm2020/tree/padding.mjs +14 -6
  281. package/esm2020/tree/public-api.mjs +1 -1
  282. package/esm2020/tree/testing/node-harness.mjs +1 -1
  283. package/esm2020/tree/testing/tree-harness-filters.mjs +1 -1
  284. package/esm2020/tree/testing/tree-harness.mjs +2 -2
  285. package/esm2020/tree/toggle.mjs +5 -3
  286. package/esm2020/tree/tree-module.mjs +2 -2
  287. package/esm2020/tree/tree.mjs +1 -1
  288. package/fesm2015/autocomplete/testing.mjs +2 -3
  289. package/fesm2015/autocomplete/testing.mjs.map +1 -1
  290. package/fesm2015/autocomplete.mjs +40 -48
  291. package/fesm2015/autocomplete.mjs.map +1 -1
  292. package/fesm2015/badge/testing.mjs +1 -2
  293. package/fesm2015/badge/testing.mjs.map +1 -1
  294. package/fesm2015/badge.mjs +15 -14
  295. package/fesm2015/badge.mjs.map +1 -1
  296. package/fesm2015/bottom-sheet/testing.mjs.map +1 -1
  297. package/fesm2015/bottom-sheet.mjs +25 -26
  298. package/fesm2015/bottom-sheet.mjs.map +1 -1
  299. package/fesm2015/button/testing.mjs +1 -2
  300. package/fesm2015/button/testing.mjs.map +1 -1
  301. package/fesm2015/button-toggle/testing.mjs.map +1 -1
  302. package/fesm2015/button-toggle.mjs +23 -11
  303. package/fesm2015/button-toggle.mjs.map +1 -1
  304. package/fesm2015/button.mjs +5 -22
  305. package/fesm2015/button.mjs.map +1 -1
  306. package/fesm2015/card/testing.mjs.map +1 -1
  307. package/fesm2015/card.mjs +41 -19
  308. package/fesm2015/card.mjs.map +1 -1
  309. package/fesm2015/checkbox/testing.mjs +2 -2
  310. package/fesm2015/checkbox/testing.mjs.map +1 -1
  311. package/fesm2015/checkbox.mjs +35 -23
  312. package/fesm2015/checkbox.mjs.map +1 -1
  313. package/fesm2015/chips/testing.mjs +2 -2
  314. package/fesm2015/chips/testing.mjs.map +1 -1
  315. package/fesm2015/chips.mjs +77 -43
  316. package/fesm2015/chips.mjs.map +1 -1
  317. package/fesm2015/core/testing.mjs +1 -2
  318. package/fesm2015/core/testing.mjs.map +1 -1
  319. package/fesm2015/core.mjs +69 -42
  320. package/fesm2015/core.mjs.map +1 -1
  321. package/fesm2015/datepicker/testing.mjs +5 -6
  322. package/fesm2015/datepicker/testing.mjs.map +1 -1
  323. package/fesm2015/datepicker.mjs +267 -191
  324. package/fesm2015/datepicker.mjs.map +1 -1
  325. package/fesm2015/dialog/testing.mjs +2 -2
  326. package/fesm2015/dialog/testing.mjs.map +1 -1
  327. package/fesm2015/dialog.mjs +40 -45
  328. package/fesm2015/dialog.mjs.map +1 -1
  329. package/fesm2015/divider/testing.mjs.map +1 -1
  330. package/fesm2015/divider.mjs +13 -5
  331. package/fesm2015/divider.mjs.map +1 -1
  332. package/fesm2015/expansion/testing.mjs.map +1 -1
  333. package/fesm2015/expansion.mjs +40 -36
  334. package/fesm2015/expansion.mjs.map +1 -1
  335. package/fesm2015/form-field/testing.mjs +5 -2
  336. package/fesm2015/form-field/testing.mjs.map +1 -1
  337. package/fesm2015/form-field.mjs +50 -62
  338. package/fesm2015/form-field.mjs.map +1 -1
  339. package/fesm2015/grid-list/testing.mjs +8 -4
  340. package/fesm2015/grid-list/testing.mjs.map +1 -1
  341. package/fesm2015/grid-list.mjs +51 -29
  342. package/fesm2015/grid-list.mjs.map +1 -1
  343. package/fesm2015/icon/testing.mjs +1 -1
  344. package/fesm2015/icon/testing.mjs.map +1 -1
  345. package/fesm2015/icon.mjs +30 -20
  346. package/fesm2015/icon.mjs.map +1 -1
  347. package/fesm2015/input/testing.mjs +8 -8
  348. package/fesm2015/input/testing.mjs.map +1 -1
  349. package/fesm2015/input.mjs +47 -31
  350. package/fesm2015/input.mjs.map +1 -1
  351. package/fesm2015/list/testing.mjs +17 -13
  352. package/fesm2015/list/testing.mjs.map +1 -1
  353. package/fesm2015/list.mjs +41 -22
  354. package/fesm2015/list.mjs.map +1 -1
  355. package/fesm2015/menu/testing.mjs +1 -2
  356. package/fesm2015/menu/testing.mjs.map +1 -1
  357. package/fesm2015/menu.mjs +62 -63
  358. package/fesm2015/menu.mjs.map +1 -1
  359. package/fesm2015/paginator/testing.mjs +1 -1
  360. package/fesm2015/paginator/testing.mjs.map +1 -1
  361. package/fesm2015/paginator.mjs +27 -34
  362. package/fesm2015/paginator.mjs.map +1 -1
  363. package/fesm2015/progress-bar/testing.mjs.map +1 -1
  364. package/fesm2015/progress-bar.mjs +19 -14
  365. package/fesm2015/progress-bar.mjs.map +1 -1
  366. package/fesm2015/progress-spinner/testing.mjs +1 -1
  367. package/fesm2015/progress-spinner/testing.mjs.map +1 -1
  368. package/fesm2015/progress-spinner.mjs +12 -20
  369. package/fesm2015/progress-spinner.mjs.map +1 -1
  370. package/fesm2015/radio/testing.mjs +1 -2
  371. package/fesm2015/radio/testing.mjs.map +1 -1
  372. package/fesm2015/radio.mjs +39 -23
  373. package/fesm2015/radio.mjs.map +1 -1
  374. package/fesm2015/select/testing.mjs +4 -1
  375. package/fesm2015/select/testing.mjs.map +1 -1
  376. package/fesm2015/select.mjs +70 -66
  377. package/fesm2015/select.mjs.map +1 -1
  378. package/fesm2015/sidenav/testing.mjs +2 -4
  379. package/fesm2015/sidenav/testing.mjs.map +1 -1
  380. package/fesm2015/sidenav.mjs +103 -64
  381. package/fesm2015/sidenav.mjs.map +1 -1
  382. package/fesm2015/slide-toggle/testing.mjs +2 -2
  383. package/fesm2015/slide-toggle/testing.mjs.map +1 -1
  384. package/fesm2015/slide-toggle.mjs +18 -17
  385. package/fesm2015/slide-toggle.mjs.map +1 -1
  386. package/fesm2015/slider/testing.mjs +5 -1
  387. package/fesm2015/slider/testing.mjs.map +1 -1
  388. package/fesm2015/slider.mjs +47 -28
  389. package/fesm2015/slider.mjs.map +1 -1
  390. package/fesm2015/snack-bar/testing.mjs +1 -2
  391. package/fesm2015/snack-bar/testing.mjs.map +1 -1
  392. package/fesm2015/snack-bar.mjs +16 -29
  393. package/fesm2015/snack-bar.mjs.map +1 -1
  394. package/fesm2015/sort/testing.mjs.map +1 -1
  395. package/fesm2015/sort.mjs +53 -57
  396. package/fesm2015/sort.mjs.map +1 -1
  397. package/fesm2015/stepper/testing.mjs +6 -8
  398. package/fesm2015/stepper/testing.mjs.map +1 -1
  399. package/fesm2015/stepper.mjs +17 -13
  400. package/fesm2015/stepper.mjs.map +1 -1
  401. package/fesm2015/table/testing.mjs +7 -4
  402. package/fesm2015/table/testing.mjs.map +1 -1
  403. package/fesm2015/table.mjs +45 -43
  404. package/fesm2015/table.mjs.map +1 -1
  405. package/fesm2015/tabs/testing.mjs +3 -6
  406. package/fesm2015/tabs/testing.mjs.map +1 -1
  407. package/fesm2015/tabs.mjs +99 -60
  408. package/fesm2015/tabs.mjs.map +1 -1
  409. package/fesm2015/toolbar/testing.mjs +2 -3
  410. package/fesm2015/toolbar/testing.mjs.map +1 -1
  411. package/fesm2015/toolbar.mjs.map +1 -1
  412. package/fesm2015/tooltip.mjs +60 -48
  413. package/fesm2015/tooltip.mjs.map +1 -1
  414. package/fesm2015/tree/testing.mjs +1 -1
  415. package/fesm2015/tree/testing.mjs.map +1 -1
  416. package/fesm2015/tree.mjs +53 -30
  417. package/fesm2015/tree.mjs.map +1 -1
  418. package/fesm2020/autocomplete/testing.mjs +5 -6
  419. package/fesm2020/autocomplete/testing.mjs.map +1 -1
  420. package/fesm2020/autocomplete.mjs +40 -48
  421. package/fesm2020/autocomplete.mjs.map +1 -1
  422. package/fesm2020/badge/testing.mjs +1 -2
  423. package/fesm2020/badge/testing.mjs.map +1 -1
  424. package/fesm2020/badge.mjs +15 -14
  425. package/fesm2020/badge.mjs.map +1 -1
  426. package/fesm2020/bottom-sheet/testing.mjs.map +1 -1
  427. package/fesm2020/bottom-sheet.mjs +25 -26
  428. package/fesm2020/bottom-sheet.mjs.map +1 -1
  429. package/fesm2020/button/testing.mjs +1 -2
  430. package/fesm2020/button/testing.mjs.map +1 -1
  431. package/fesm2020/button-toggle/testing.mjs +3 -3
  432. package/fesm2020/button-toggle/testing.mjs.map +1 -1
  433. package/fesm2020/button-toggle.mjs +23 -11
  434. package/fesm2020/button-toggle.mjs.map +1 -1
  435. package/fesm2020/button.mjs +5 -22
  436. package/fesm2020/button.mjs.map +1 -1
  437. package/fesm2020/card/testing.mjs.map +1 -1
  438. package/fesm2020/card.mjs +41 -19
  439. package/fesm2020/card.mjs.map +1 -1
  440. package/fesm2020/checkbox/testing.mjs +2 -2
  441. package/fesm2020/checkbox/testing.mjs.map +1 -1
  442. package/fesm2020/checkbox.mjs +35 -23
  443. package/fesm2020/checkbox.mjs.map +1 -1
  444. package/fesm2020/chips/testing.mjs +6 -6
  445. package/fesm2020/chips/testing.mjs.map +1 -1
  446. package/fesm2020/chips.mjs +77 -43
  447. package/fesm2020/chips.mjs.map +1 -1
  448. package/fesm2020/core/testing.mjs +2 -3
  449. package/fesm2020/core/testing.mjs.map +1 -1
  450. package/fesm2020/core.mjs +70 -43
  451. package/fesm2020/core.mjs.map +1 -1
  452. package/fesm2020/datepicker/testing.mjs +6 -7
  453. package/fesm2020/datepicker/testing.mjs.map +1 -1
  454. package/fesm2020/datepicker.mjs +267 -191
  455. package/fesm2020/datepicker.mjs.map +1 -1
  456. package/fesm2020/dialog/testing.mjs +2 -2
  457. package/fesm2020/dialog/testing.mjs.map +1 -1
  458. package/fesm2020/dialog.mjs +40 -45
  459. package/fesm2020/dialog.mjs.map +1 -1
  460. package/fesm2020/divider/testing.mjs.map +1 -1
  461. package/fesm2020/divider.mjs +13 -5
  462. package/fesm2020/divider.mjs.map +1 -1
  463. package/fesm2020/expansion/testing.mjs +2 -2
  464. package/fesm2020/expansion/testing.mjs.map +1 -1
  465. package/fesm2020/expansion.mjs +40 -36
  466. package/fesm2020/expansion.mjs.map +1 -1
  467. package/fesm2020/form-field/testing.mjs +10 -7
  468. package/fesm2020/form-field/testing.mjs.map +1 -1
  469. package/fesm2020/form-field.mjs +50 -62
  470. package/fesm2020/form-field.mjs.map +1 -1
  471. package/fesm2020/grid-list/testing.mjs +8 -4
  472. package/fesm2020/grid-list/testing.mjs.map +1 -1
  473. package/fesm2020/grid-list.mjs +51 -29
  474. package/fesm2020/grid-list.mjs.map +1 -1
  475. package/fesm2020/icon/testing.mjs +2 -2
  476. package/fesm2020/icon/testing.mjs.map +1 -1
  477. package/fesm2020/icon.mjs +30 -20
  478. package/fesm2020/icon.mjs.map +1 -1
  479. package/fesm2020/input/testing.mjs +10 -10
  480. package/fesm2020/input/testing.mjs.map +1 -1
  481. package/fesm2020/input.mjs +47 -31
  482. package/fesm2020/input.mjs.map +1 -1
  483. package/fesm2020/list/testing.mjs +23 -19
  484. package/fesm2020/list/testing.mjs.map +1 -1
  485. package/fesm2020/list.mjs +43 -23
  486. package/fesm2020/list.mjs.map +1 -1
  487. package/fesm2020/menu/testing.mjs +3 -4
  488. package/fesm2020/menu/testing.mjs.map +1 -1
  489. package/fesm2020/menu.mjs +62 -63
  490. package/fesm2020/menu.mjs.map +1 -1
  491. package/fesm2020/paginator/testing.mjs +1 -1
  492. package/fesm2020/paginator/testing.mjs.map +1 -1
  493. package/fesm2020/paginator.mjs +27 -34
  494. package/fesm2020/paginator.mjs.map +1 -1
  495. package/fesm2020/progress-bar/testing.mjs.map +1 -1
  496. package/fesm2020/progress-bar.mjs +19 -14
  497. package/fesm2020/progress-bar.mjs.map +1 -1
  498. package/fesm2020/progress-spinner/testing.mjs +1 -1
  499. package/fesm2020/progress-spinner/testing.mjs.map +1 -1
  500. package/fesm2020/progress-spinner.mjs +12 -20
  501. package/fesm2020/progress-spinner.mjs.map +1 -1
  502. package/fesm2020/radio/testing.mjs +2 -3
  503. package/fesm2020/radio/testing.mjs.map +1 -1
  504. package/fesm2020/radio.mjs +39 -23
  505. package/fesm2020/radio.mjs.map +1 -1
  506. package/fesm2020/select/testing.mjs +8 -5
  507. package/fesm2020/select/testing.mjs.map +1 -1
  508. package/fesm2020/select.mjs +70 -66
  509. package/fesm2020/select.mjs.map +1 -1
  510. package/fesm2020/sidenav/testing.mjs +2 -4
  511. package/fesm2020/sidenav/testing.mjs.map +1 -1
  512. package/fesm2020/sidenav.mjs +103 -64
  513. package/fesm2020/sidenav.mjs.map +1 -1
  514. package/fesm2020/slide-toggle/testing.mjs +2 -2
  515. package/fesm2020/slide-toggle/testing.mjs.map +1 -1
  516. package/fesm2020/slide-toggle.mjs +18 -17
  517. package/fesm2020/slide-toggle.mjs.map +1 -1
  518. package/fesm2020/slider/testing.mjs +5 -1
  519. package/fesm2020/slider/testing.mjs.map +1 -1
  520. package/fesm2020/slider.mjs +47 -28
  521. package/fesm2020/slider.mjs.map +1 -1
  522. package/fesm2020/snack-bar/testing.mjs +4 -5
  523. package/fesm2020/snack-bar/testing.mjs.map +1 -1
  524. package/fesm2020/snack-bar.mjs +16 -29
  525. package/fesm2020/snack-bar.mjs.map +1 -1
  526. package/fesm2020/sort/testing.mjs.map +1 -1
  527. package/fesm2020/sort.mjs +54 -59
  528. package/fesm2020/sort.mjs.map +1 -1
  529. package/fesm2020/stepper/testing.mjs +6 -8
  530. package/fesm2020/stepper/testing.mjs.map +1 -1
  531. package/fesm2020/stepper.mjs +17 -13
  532. package/fesm2020/stepper.mjs.map +1 -1
  533. package/fesm2020/table/testing.mjs +7 -4
  534. package/fesm2020/table/testing.mjs.map +1 -1
  535. package/fesm2020/table.mjs +45 -43
  536. package/fesm2020/table.mjs.map +1 -1
  537. package/fesm2020/tabs/testing.mjs +3 -6
  538. package/fesm2020/tabs/testing.mjs.map +1 -1
  539. package/fesm2020/tabs.mjs +99 -60
  540. package/fesm2020/tabs.mjs.map +1 -1
  541. package/fesm2020/toolbar/testing.mjs +2 -3
  542. package/fesm2020/toolbar/testing.mjs.map +1 -1
  543. package/fesm2020/toolbar.mjs.map +1 -1
  544. package/fesm2020/tooltip.mjs +60 -48
  545. package/fesm2020/tooltip.mjs.map +1 -1
  546. package/fesm2020/tree/testing.mjs +1 -1
  547. package/fesm2020/tree/testing.mjs.map +1 -1
  548. package/fesm2020/tree.mjs +53 -30
  549. package/fesm2020/tree.mjs.map +1 -1
  550. package/grid-list/testing/grid-list-harness.d.ts +1 -1
  551. package/icon/icon-registry.d.ts +1 -1
  552. package/input/_input-theme.scss +8 -6
  553. package/input/input.d.ts +2 -0
  554. package/list/testing/list-harness-base.d.ts +2 -2
  555. package/menu/public-api.d.ts +1 -1
  556. package/menu/testing/menu-harness.d.ts +2 -2
  557. package/package.json +2 -2
  558. package/prebuilt-themes/deeppurple-amber.css +1 -1
  559. package/prebuilt-themes/indigo-pink.css +1 -1
  560. package/prebuilt-themes/pink-bluegrey.css +1 -1
  561. package/prebuilt-themes/purple-green.css +1 -1
  562. package/radio/testing/radio-harness.d.ts +2 -2
  563. package/schematics/ng-add/index.js +2 -2
  564. package/schematics/ng-add/index.mjs +2 -2
  565. package/schematics/ng-add/package-config.js +4 -2
  566. package/schematics/ng-add/package-config.mjs +4 -2
  567. package/schematics/ng-add/setup-project.js +2 -3
  568. package/schematics/ng-add/setup-project.mjs +2 -3
  569. package/schematics/ng-add/theming/create-custom-theme.js +1 -1
  570. package/schematics/ng-add/theming/create-custom-theme.mjs +1 -1
  571. package/schematics/ng-add/theming/theming.js +6 -6
  572. package/schematics/ng-add/theming/theming.mjs +6 -6
  573. package/schematics/ng-generate/address-form/index.js +2 -2
  574. package/schematics/ng-generate/address-form/index.mjs +2 -2
  575. package/schematics/ng-generate/dashboard/index.js +2 -2
  576. package/schematics/ng-generate/dashboard/index.mjs +2 -2
  577. package/schematics/ng-generate/navigation/index.js +2 -2
  578. package/schematics/ng-generate/navigation/index.mjs +2 -2
  579. package/schematics/ng-generate/table/index.js +3 -3
  580. package/schematics/ng-generate/table/index.mjs +3 -3
  581. package/schematics/ng-generate/tree/index.js +2 -2
  582. package/schematics/ng-generate/tree/index.mjs +2 -2
  583. package/schematics/ng-update/data/class-names.js +6 -8
  584. package/schematics/ng-update/data/class-names.mjs +6 -8
  585. package/schematics/ng-update/data/constructor-checks.js +33 -32
  586. package/schematics/ng-update/data/constructor-checks.mjs +33 -32
  587. package/schematics/ng-update/data/css-selectors.js +11 -9
  588. package/schematics/ng-update/data/css-selectors.mjs +11 -9
  589. package/schematics/ng-update/data/element-selectors.js +6 -4
  590. package/schematics/ng-update/data/element-selectors.mjs +6 -4
  591. package/schematics/ng-update/data/input-names.js +31 -23
  592. package/schematics/ng-update/data/input-names.mjs +31 -23
  593. package/schematics/ng-update/data/method-call-checks.js +10 -6
  594. package/schematics/ng-update/data/method-call-checks.mjs +10 -6
  595. package/schematics/ng-update/data/property-names.js +62 -50
  596. package/schematics/ng-update/data/property-names.mjs +62 -50
  597. package/schematics/ng-update/data/symbol-removal.js +6 -6
  598. package/schematics/ng-update/data/symbol-removal.mjs +6 -6
  599. package/schematics/ng-update/index.js +1 -1
  600. package/schematics/ng-update/index.mjs +1 -1
  601. package/schematics/ng-update/migrations/hammer-gestures-v9/find-main-module.js +5 -3
  602. package/schematics/ng-update/migrations/hammer-gestures-v9/find-main-module.mjs +5 -3
  603. package/schematics/ng-update/migrations/hammer-gestures-v9/hammer-gestures-migration.js +53 -27
  604. package/schematics/ng-update/migrations/hammer-gestures-v9/hammer-gestures-migration.mjs +53 -27
  605. package/schematics/ng-update/migrations/hammer-gestures-v9/hammer-template-check.js +38 -7
  606. package/schematics/ng-update/migrations/hammer-gestures-v9/hammer-template-check.mjs +38 -7
  607. package/schematics/ng-update/migrations/hammer-gestures-v9/import-manager.js +28 -14
  608. package/schematics/ng-update/migrations/hammer-gestures-v9/import-manager.mjs +28 -14
  609. package/schematics/ng-update/migrations/hammer-gestures-v9/remove-array-element.js +1 -1
  610. package/schematics/ng-update/migrations/hammer-gestures-v9/remove-array-element.mjs +1 -1
  611. package/schematics/ng-update/migrations/hammer-gestures-v9/remove-element-from-html.js +1 -1
  612. package/schematics/ng-update/migrations/hammer-gestures-v9/remove-element-from-html.mjs +1 -1
  613. package/schematics/ng-update/migrations/misc-checks/misc-class-inheritance.js +3 -2
  614. package/schematics/ng-update/migrations/misc-checks/misc-class-inheritance.mjs +3 -2
  615. package/schematics/ng-update/migrations/misc-checks/misc-class-names.js +1 -1
  616. package/schematics/ng-update/migrations/misc-checks/misc-class-names.mjs +1 -1
  617. package/schematics/ng-update/migrations/misc-checks/misc-imports.js +6 -3
  618. package/schematics/ng-update/migrations/misc-checks/misc-imports.mjs +6 -3
  619. package/schematics/ng-update/migrations/misc-checks/misc-property-names.js +1 -1
  620. package/schematics/ng-update/migrations/misc-checks/misc-property-names.mjs +1 -1
  621. package/schematics/ng-update/migrations/misc-checks/misc-template.js +7 -13
  622. package/schematics/ng-update/migrations/misc-checks/misc-template.mjs +7 -13
  623. package/schematics/ng-update/migrations/misc-ripples-v7/ripple-speed-factor-migration.js +1 -1
  624. package/schematics/ng-update/migrations/misc-ripples-v7/ripple-speed-factor-migration.mjs +1 -1
  625. package/schematics/ng-update/migrations/package-imports-v8/secondary-entry-points-migration.js +3 -2
  626. package/schematics/ng-update/migrations/package-imports-v8/secondary-entry-points-migration.mjs +3 -2
  627. package/schematics/ng-update/migrations/theming-api-v12/config.js +59 -10
  628. package/schematics/ng-update/migrations/theming-api-v12/config.mjs +59 -10
  629. package/schematics/ng-update/migrations/theming-api-v12/migration.js +19 -11
  630. package/schematics/ng-update/migrations/theming-api-v12/migration.mjs +19 -11
  631. package/schematics/ng-update/migrations/theming-api-v12/theming-api-migration.js +6 -3
  632. package/schematics/ng-update/migrations/theming-api-v12/theming-api-migration.mjs +6 -3
  633. package/schematics/ng-update/typescript/module-specifiers.js +3 -3
  634. package/schematics/ng-update/typescript/module-specifiers.mjs +3 -3
  635. package/select/public-api.d.ts +1 -1
  636. package/select/testing/select-harness.d.ts +4 -4
  637. package/table/table-data-source.d.ts +3 -3
  638. package/table/testing/row-harness.d.ts +2 -2
  639. package/table/testing/table-harness.d.ts +4 -4
  640. package/tabs/_tabs-theme.scss +6 -2
  641. package/tabs/public-api.d.ts +1 -1
  642. package/tabs/tab-content.d.ts +2 -3
@@ -8,9 +8,9 @@ import { ContentContainerComponentHarness, TestKey, HarnessPredicate } from '@an
8
8
  * found in the LICENSE file at https://angular.io/license
9
9
  */
10
10
  /** Base class for the `MatDialogHarness` implementation. */
11
- class _MatDialogHarnessBase extends
11
+ class _MatDialogHarnessBase
12
12
  // @breaking-change 14.0.0 change generic type to MatDialogSection.
13
- ContentContainerComponentHarness {
13
+ extends ContentContainerComponentHarness {
14
14
  constructor() {
15
15
  super(...arguments);
16
16
  this._title = this.locatorForOptional(".mat-dialog-title" /* TITLE */);
@@ -1 +1 @@
1
- {"version":3,"file":"testing.mjs","sources":["../../../../../../../src/material/dialog/testing/dialog-harness.ts","../../../../../../../src/material/dialog/testing/dialog-harness-filters.ts","../../../../../../../src/material/dialog/testing/public-api.ts","../../../../../../../src/material/dialog/testing/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 {ContentContainerComponentHarness, HarnessPredicate, TestKey} from '@angular/cdk/testing';\nimport {DialogRole} from '@angular/material/dialog';\nimport {DialogHarnessFilters} from './dialog-harness-filters';\n\n/** Selectors for different sections of the mat-dialog that can contain user content. */\nexport const enum MatDialogSection {\n TITLE = '.mat-dialog-title',\n CONTENT = '.mat-dialog-content',\n ACTIONS = '.mat-dialog-actions'\n}\n\n/** Base class for the `MatDialogHarness` implementation. */\nexport class _MatDialogHarnessBase extends\n // @breaking-change 14.0.0 change generic type to MatDialogSection.\n ContentContainerComponentHarness<MatDialogSection | string> {\n\n protected _title = this.locatorForOptional(MatDialogSection.TITLE);\n protected _content = this.locatorForOptional(MatDialogSection.CONTENT);\n protected _actions = this.locatorForOptional(MatDialogSection.ACTIONS);\n\n /** Gets the id of the dialog. */\n async getId(): Promise<string|null> {\n const id = await (await this.host()).getAttribute('id');\n // In case no id has been specified, the \"id\" property always returns\n // an empty string. To make this method more explicit, we return null.\n return id !== '' ? id : null;\n }\n\n /** Gets the role of the dialog. */\n async getRole(): Promise<DialogRole|null> {\n return (await this.host()).getAttribute('role') as Promise<DialogRole|null>;\n }\n\n /** Gets the value of the dialog's \"aria-label\" attribute. */\n async getAriaLabel(): Promise<string|null> {\n return (await this.host()).getAttribute('aria-label');\n }\n\n /** Gets the value of the dialog's \"aria-labelledby\" attribute. */\n async getAriaLabelledby(): Promise<string|null> {\n return (await this.host()).getAttribute('aria-labelledby');\n }\n\n /** Gets the value of the dialog's \"aria-describedby\" attribute. */\n async getAriaDescribedby(): Promise<string|null> {\n return (await this.host()).getAttribute('aria-describedby');\n }\n\n /**\n * Closes the dialog by pressing escape.\n *\n * Note: this method does nothing if `disableClose` has been set to `true` for the dialog.\n */\n async close(): Promise<void> {\n await (await this.host()).sendKeys(TestKey.ESCAPE);\n }\n\n /** Gets te dialog's text. */\n async getText() {\n return (await this.host()).text();\n }\n\n /** Gets the dialog's title text. This only works if the dialog is using mat-dialog-title. */\n async getTitleText() {\n return (await this._title())?.text() ?? '';\n }\n\n /** Gets the dialog's content text. This only works if the dialog is using mat-dialog-content. */\n async getContentText() {\n return (await this._content())?.text() ?? '';\n }\n\n /** Gets the dialog's actions text. This only works if the dialog is using mat-dialog-actions. */\n async getActionsText() {\n return (await this._actions())?.text() ?? '';\n }\n}\n\n/** Harness for interacting with a standard `MatDialog` in tests. */\nexport class MatDialogHarness extends _MatDialogHarnessBase {\n // Developers can provide a custom component or template for the\n // dialog. The canonical dialog parent is the \"MatDialogContainer\".\n /** The selector for the host element of a `MatDialog` instance. */\n static hostSelector = '.mat-dialog-container';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatDialogHarness` that meets\n * certain criteria.\n * @param options Options for filtering which dialog instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(options: DialogHarnessFilters = {}): HarnessPredicate<MatDialogHarness> {\n return new HarnessPredicate(MatDialogHarness, options);\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 {BaseHarnessFilters} from '@angular/cdk/testing';\n\n/** A set of criteria that can be used to filter a list of `MatDialogHarness` instances. */\nexport interface DialogHarnessFilters extends BaseHarnessFilters {}\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 './dialog-harness';\nexport * from './dialog-harness-filters';\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"],"names":[],"mappings":";;AAAA;;;;;;;AAmBA;MACa,qBAAsB;AAC/B;AACA,gCAA2D;IAF/D;;QAIY,WAAM,GAAG,IAAI,CAAC,kBAAkB,iCAAwB,CAAC;QACzD,aAAQ,GAAG,IAAI,CAAC,kBAAkB,qCAA0B,CAAC;QAC7D,aAAQ,GAAG,IAAI,CAAC,kBAAkB,qCAA0B,CAAC;KA0DxE;;IAvDC,MAAM,KAAK;QACT,MAAM,EAAE,GAAG,MAAM,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,YAAY,CAAC,IAAI,CAAC,CAAC;;;QAGxD,OAAO,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;KAC9B;;IAGD,MAAM,OAAO;QACX,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,YAAY,CAAC,MAAM,CAA6B,CAAC;KAC7E;;IAGD,MAAM,YAAY;QAChB,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,YAAY,CAAC,YAAY,CAAC,CAAC;KACvD;;IAGD,MAAM,iBAAiB;QACrB,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,YAAY,CAAC,iBAAiB,CAAC,CAAC;KAC5D;;IAGD,MAAM,kBAAkB;QACtB,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,YAAY,CAAC,kBAAkB,CAAC,CAAC;KAC7D;;;;;;IAOD,MAAM,KAAK;QACT,MAAM,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;KACpD;;IAGD,MAAM,OAAO;QACX,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,IAAI,EAAE,CAAC;KACnC;;IAGD,MAAM,YAAY;QAChB,OAAO,CAAC,MAAM,IAAI,CAAC,MAAM,EAAE,GAAG,IAAI,EAAE,IAAI,EAAE,CAAC;KAC5C;;IAGD,MAAM,cAAc;QAClB,OAAO,CAAC,MAAM,IAAI,CAAC,QAAQ,EAAE,GAAG,IAAI,EAAE,IAAI,EAAE,CAAC;KAC9C;;IAGD,MAAM,cAAc;QAClB,OAAO,CAAC,MAAM,IAAI,CAAC,QAAQ,EAAE,GAAG,IAAI,EAAE,IAAI,EAAE,CAAC;KAC9C;CACF;AAED;MACa,gBAAiB,SAAQ,qBAAqB;;;;;;;IAYzD,OAAO,IAAI,CAAC,UAAgC,EAAE;QAC5C,OAAO,IAAI,gBAAgB,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC;KACxD;;AAbD;AACA;AACA;AACO,6BAAY,GAAG,uBAAuB;;AC3F/C;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;;;"}
1
+ {"version":3,"file":"testing.mjs","sources":["../../../../../../../src/material/dialog/testing/dialog-harness.ts","../../../../../../../src/material/dialog/testing/dialog-harness-filters.ts","../../../../../../../src/material/dialog/testing/public-api.ts","../../../../../../../src/material/dialog/testing/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 {ContentContainerComponentHarness, HarnessPredicate, TestKey} from '@angular/cdk/testing';\nimport {DialogRole} from '@angular/material/dialog';\nimport {DialogHarnessFilters} from './dialog-harness-filters';\n\n/** Selectors for different sections of the mat-dialog that can contain user content. */\nexport const enum MatDialogSection {\n TITLE = '.mat-dialog-title',\n CONTENT = '.mat-dialog-content',\n ACTIONS = '.mat-dialog-actions',\n}\n\n/** Base class for the `MatDialogHarness` implementation. */\nexport class _MatDialogHarnessBase\n // @breaking-change 14.0.0 change generic type to MatDialogSection.\n extends ContentContainerComponentHarness<MatDialogSection | string>\n{\n protected _title = this.locatorForOptional(MatDialogSection.TITLE);\n protected _content = this.locatorForOptional(MatDialogSection.CONTENT);\n protected _actions = this.locatorForOptional(MatDialogSection.ACTIONS);\n\n /** Gets the id of the dialog. */\n async getId(): Promise<string | null> {\n const id = await (await this.host()).getAttribute('id');\n // In case no id has been specified, the \"id\" property always returns\n // an empty string. To make this method more explicit, we return null.\n return id !== '' ? id : null;\n }\n\n /** Gets the role of the dialog. */\n async getRole(): Promise<DialogRole | null> {\n return (await this.host()).getAttribute('role') as Promise<DialogRole | null>;\n }\n\n /** Gets the value of the dialog's \"aria-label\" attribute. */\n async getAriaLabel(): Promise<string | null> {\n return (await this.host()).getAttribute('aria-label');\n }\n\n /** Gets the value of the dialog's \"aria-labelledby\" attribute. */\n async getAriaLabelledby(): Promise<string | null> {\n return (await this.host()).getAttribute('aria-labelledby');\n }\n\n /** Gets the value of the dialog's \"aria-describedby\" attribute. */\n async getAriaDescribedby(): Promise<string | null> {\n return (await this.host()).getAttribute('aria-describedby');\n }\n\n /**\n * Closes the dialog by pressing escape.\n *\n * Note: this method does nothing if `disableClose` has been set to `true` for the dialog.\n */\n async close(): Promise<void> {\n await (await this.host()).sendKeys(TestKey.ESCAPE);\n }\n\n /** Gets te dialog's text. */\n async getText() {\n return (await this.host()).text();\n }\n\n /** Gets the dialog's title text. This only works if the dialog is using mat-dialog-title. */\n async getTitleText() {\n return (await this._title())?.text() ?? '';\n }\n\n /** Gets the dialog's content text. This only works if the dialog is using mat-dialog-content. */\n async getContentText() {\n return (await this._content())?.text() ?? '';\n }\n\n /** Gets the dialog's actions text. This only works if the dialog is using mat-dialog-actions. */\n async getActionsText() {\n return (await this._actions())?.text() ?? '';\n }\n}\n\n/** Harness for interacting with a standard `MatDialog` in tests. */\nexport class MatDialogHarness extends _MatDialogHarnessBase {\n // Developers can provide a custom component or template for the\n // dialog. The canonical dialog parent is the \"MatDialogContainer\".\n /** The selector for the host element of a `MatDialog` instance. */\n static hostSelector = '.mat-dialog-container';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatDialogHarness` that meets\n * certain criteria.\n * @param options Options for filtering which dialog instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(options: DialogHarnessFilters = {}): HarnessPredicate<MatDialogHarness> {\n return new HarnessPredicate(MatDialogHarness, options);\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 {BaseHarnessFilters} from '@angular/cdk/testing';\n\n/** A set of criteria that can be used to filter a list of `MatDialogHarness` instances. */\nexport interface DialogHarnessFilters extends BaseHarnessFilters {}\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 './dialog-harness';\nexport * from './dialog-harness-filters';\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"],"names":[],"mappings":";;AAAA;;;;;;;AAmBA;MACa,qBAAqB;AAChC;AACA,SAAQ,gCAA2D;IAFrE;;QAIY,WAAM,GAAG,IAAI,CAAC,kBAAkB,iCAAwB,CAAC;QACzD,aAAQ,GAAG,IAAI,CAAC,kBAAkB,qCAA0B,CAAC;QAC7D,aAAQ,GAAG,IAAI,CAAC,kBAAkB,qCAA0B,CAAC;KA0DxE;;IAvDC,MAAM,KAAK;QACT,MAAM,EAAE,GAAG,MAAM,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,YAAY,CAAC,IAAI,CAAC,CAAC;;;QAGxD,OAAO,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;KAC9B;;IAGD,MAAM,OAAO;QACX,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,YAAY,CAAC,MAAM,CAA+B,CAAC;KAC/E;;IAGD,MAAM,YAAY;QAChB,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,YAAY,CAAC,YAAY,CAAC,CAAC;KACvD;;IAGD,MAAM,iBAAiB;QACrB,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,YAAY,CAAC,iBAAiB,CAAC,CAAC;KAC5D;;IAGD,MAAM,kBAAkB;QACtB,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,YAAY,CAAC,kBAAkB,CAAC,CAAC;KAC7D;;;;;;IAOD,MAAM,KAAK;QACT,MAAM,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;KACpD;;IAGD,MAAM,OAAO;QACX,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,IAAI,EAAE,CAAC;KACnC;;IAGD,MAAM,YAAY;QAChB,OAAO,CAAC,MAAM,IAAI,CAAC,MAAM,EAAE,GAAG,IAAI,EAAE,IAAI,EAAE,CAAC;KAC5C;;IAGD,MAAM,cAAc;QAClB,OAAO,CAAC,MAAM,IAAI,CAAC,QAAQ,EAAE,GAAG,IAAI,EAAE,IAAI,EAAE,CAAC;KAC9C;;IAGD,MAAM,cAAc;QAClB,OAAO,CAAC,MAAM,IAAI,CAAC,QAAQ,EAAE,GAAG,IAAI,EAAE,IAAI,EAAE,CAAC;KAC9C;CACF;AAED;MACa,gBAAiB,SAAQ,qBAAqB;;;;;;;IAYzD,OAAO,IAAI,CAAC,UAAgC,EAAE;QAC5C,OAAO,IAAI,gBAAgB,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC;KACxD;;AAbD;AACA;AACA;AACO,6BAAY,GAAG,uBAAuB;;AC3F/C;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;;;"}
@@ -94,7 +94,7 @@ const matDialogAnimations = {
94
94
  state('enter', style({ transform: 'none' })),
95
95
  transition('* => enter', animate('150ms cubic-bezier(0, 0, 0.2, 1)', style({ transform: 'none', opacity: 1 }))),
96
96
  transition('* => void, * => exit', animate('75ms cubic-bezier(0.4, 0.0, 0.2, 1)', style({ opacity: 0 }))),
97
- ])
97
+ ]),
98
98
  };
99
99
 
100
100
  /**
@@ -250,7 +250,8 @@ class _MatDialogContainerBase extends BasePortalOutlet {
250
250
  _restoreFocus() {
251
251
  const previousElement = this._elementFocusedBeforeDialogWasOpened;
252
252
  // We need the extra check, because IE can set the `activeElement` to null in some cases.
253
- if (this._config.restoreFocus && previousElement &&
253
+ if (this._config.restoreFocus &&
254
+ previousElement &&
254
255
  typeof previousElement.focus === 'function') {
255
256
  const activeElement = _getFocusedElementPierceShadowDom();
256
257
  const element = this._elementRef.nativeElement;
@@ -258,7 +259,9 @@ class _MatDialogContainerBase extends BasePortalOutlet {
258
259
  // non-focusable element like the backdrop was clicked) before moving it. It's possible that
259
260
  // the consumer moved it themselves before the animation was done, in which case we shouldn't
260
261
  // do anything.
261
- if (!activeElement || activeElement === this._document.body || activeElement === element ||
262
+ if (!activeElement ||
263
+ activeElement === this._document.body ||
264
+ activeElement === element ||
262
265
  element.contains(activeElement)) {
263
266
  if (this._focusMonitor) {
264
267
  this._focusMonitor.focusVia(previousElement, this._closeInteractionType);
@@ -401,13 +404,16 @@ class MatDialogRef {
401
404
  // Pass the id along to the container.
402
405
  _containerInstance._id = id;
403
406
  // Emit when opening animation completes
404
- _containerInstance._animationStateChanged.pipe(filter(event => event.state === 'opened'), take(1))
407
+ _containerInstance._animationStateChanged
408
+ .pipe(filter(event => event.state === 'opened'), take(1))
405
409
  .subscribe(() => {
406
410
  this._afterOpened.next();
407
411
  this._afterOpened.complete();
408
412
  });
409
413
  // Dispose overlay when closing animation is complete
410
- _containerInstance._animationStateChanged.pipe(filter(event => event.state === 'closed'), take(1)).subscribe(() => {
414
+ _containerInstance._animationStateChanged
415
+ .pipe(filter(event => event.state === 'closed'), take(1))
416
+ .subscribe(() => {
411
417
  clearTimeout(this._closeFallbackTimeout);
412
418
  this._finishDialogClose();
413
419
  });
@@ -419,7 +425,8 @@ class MatDialogRef {
419
425
  this.componentInstance = null;
420
426
  this._overlayRef.dispose();
421
427
  });
422
- _overlayRef.keydownEvents()
428
+ _overlayRef
429
+ .keydownEvents()
423
430
  .pipe(filter(event => {
424
431
  return event.keyCode === ESCAPE && !this.disableClose && !hasModifierKey(event);
425
432
  }))
@@ -443,7 +450,8 @@ class MatDialogRef {
443
450
  close(dialogResult) {
444
451
  this._result = dialogResult;
445
452
  // Transition the backdrop in parallel to the dialog.
446
- this._containerInstance._animationStateChanged.pipe(filter(event => event.state === 'closing'), take(1))
453
+ this._containerInstance._animationStateChanged
454
+ .pipe(filter(event => event.state === 'closing'), take(1))
447
455
  .subscribe(event => {
448
456
  this._beforeClosed.next(dialogResult);
449
457
  this._beforeClosed.complete();
@@ -613,9 +621,9 @@ class _MatDialogBase {
613
621
  * Stream that emits when all open dialog have finished closing.
614
622
  * Will emit on subscribe if there are no open dialogs to begin with.
615
623
  */
616
- this.afterAllClosed = defer(() => this.openDialogs.length ?
617
- this._getAfterAllClosed() :
618
- this._getAfterAllClosed().pipe(startWith(undefined)));
624
+ this.afterAllClosed = defer(() => this.openDialogs.length
625
+ ? this._getAfterAllClosed()
626
+ : this._getAfterAllClosed().pipe(startWith(undefined)));
619
627
  this._scrollStrategy = scrollStrategy;
620
628
  }
621
629
  /** Keeps track of the currently-open dialogs. */
@@ -632,7 +640,8 @@ class _MatDialogBase {
632
640
  }
633
641
  open(componentOrTemplateRef, config) {
634
642
  config = _applyConfigDefaults(config, this._defaultOptions || new MatDialogConfig());
635
- if (config.id && this.getDialogById(config.id) &&
643
+ if (config.id &&
644
+ this.getDialogById(config.id) &&
636
645
  (typeof ngDevMode === 'undefined' || ngDevMode)) {
637
646
  throw Error(`Dialog with id "${config.id}" exists already. The dialog id must be unique.`);
638
647
  }
@@ -643,7 +652,7 @@ class _MatDialogBase {
643
652
  const overlayRef = this._createOverlay(config);
644
653
  const dialogContainer = this._attachDialogContainer(overlayRef, config);
645
654
  if (this._animationMode !== 'NoopAnimations') {
646
- const animationStateSubscription = dialogContainer._animationStateChanged.subscribe((dialogAnimationEvent) => {
655
+ const animationStateSubscription = dialogContainer._animationStateChanged.subscribe(dialogAnimationEvent => {
647
656
  if (dialogAnimationEvent.state === 'opening') {
648
657
  this._dialogAnimatingOpen = true;
649
658
  }
@@ -719,7 +728,7 @@ class _MatDialogBase {
719
728
  minHeight: dialogConfig.minHeight,
720
729
  maxWidth: dialogConfig.maxWidth,
721
730
  maxHeight: dialogConfig.maxHeight,
722
- disposeOnNavigation: dialogConfig.closeOnNavigation
731
+ disposeOnNavigation: dialogConfig.closeOnNavigation,
723
732
  });
724
733
  if (dialogConfig.backdropClass) {
725
734
  state.backdropClass = dialogConfig.backdropClass;
@@ -736,7 +745,7 @@ class _MatDialogBase {
736
745
  const userInjector = config && config.viewContainerRef && config.viewContainerRef.injector;
737
746
  const injector = Injector.create({
738
747
  parent: userInjector || this._injector,
739
- providers: [{ provide: MatDialogConfig, useValue: config }]
748
+ providers: [{ provide: MatDialogConfig, useValue: config }],
740
749
  });
741
750
  const containerPortal = new ComponentPortal(this._dialogContainerType, config.viewContainerRef, injector, config.componentFactoryResolver);
742
751
  const containerRef = overlay.attach(containerPortal);
@@ -756,16 +765,17 @@ class _MatDialogBase {
756
765
  // to modify and close it.
757
766
  const dialogRef = new this._dialogRefConstructor(overlayRef, dialogContainer, config.id);
758
767
  if (componentOrTemplateRef instanceof TemplateRef) {
759
- dialogContainer.attachTemplatePortal(new TemplatePortal(componentOrTemplateRef, null, { $implicit: config.data, dialogRef }));
768
+ dialogContainer.attachTemplatePortal(new TemplatePortal(componentOrTemplateRef, null, {
769
+ $implicit: config.data,
770
+ dialogRef,
771
+ }));
760
772
  }
761
773
  else {
762
774
  const injector = this._createInjector(config, dialogRef, dialogContainer);
763
775
  const contentRef = dialogContainer.attachComponentPortal(new ComponentPortal(componentOrTemplateRef, config.viewContainerRef, injector));
764
776
  dialogRef.componentInstance = contentRef.instance;
765
777
  }
766
- dialogRef
767
- .updateSize(config.width, config.height)
768
- .updatePosition(config.position);
778
+ dialogRef.updateSize(config.width, config.height).updatePosition(config.position);
769
779
  return dialogRef;
770
780
  }
771
781
  /**
@@ -785,13 +795,14 @@ class _MatDialogBase {
785
795
  const providers = [
786
796
  { provide: this._dialogContainerType, useValue: dialogContainer },
787
797
  { provide: this._dialogDataToken, useValue: config.data },
788
- { provide: this._dialogRefConstructor, useValue: dialogRef }
798
+ { provide: this._dialogRefConstructor, useValue: dialogRef },
789
799
  ];
790
- if (config.direction && (!userInjector ||
791
- !userInjector.get(Directionality, null, InjectFlags.Optional))) {
800
+ if (config.direction &&
801
+ (!userInjector ||
802
+ !userInjector.get(Directionality, null, InjectFlags.Optional))) {
792
803
  providers.push({
793
804
  provide: Directionality,
794
- useValue: { value: config.direction, change: of() }
805
+ useValue: { value: config.direction, change: of() },
795
806
  });
796
807
  }
797
808
  return Injector.create({ parent: userInjector || this._injector, providers });
@@ -967,7 +978,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.15",
967
978
  '(click)': '_onButtonClick($event)',
968
979
  '[attr.aria-label]': 'ariaLabel || null',
969
980
  '[attr.type]': 'type',
970
- }
981
+ },
971
982
  }]
972
983
  }], ctorParameters: function () { return [{ type: MatDialogRef, decorators: [{
973
984
  type: Optional
@@ -1039,7 +1050,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.15",
1039
1050
  type: Directive,
1040
1051
  args: [{
1041
1052
  selector: `[mat-dialog-content], mat-dialog-content, [matDialogContent]`,
1042
- host: { 'class': 'mat-dialog-content' }
1053
+ host: { 'class': 'mat-dialog-content' },
1043
1054
  }]
1044
1055
  }] });
1045
1056
  /**
@@ -1054,7 +1065,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.15",
1054
1065
  type: Directive,
1055
1066
  args: [{
1056
1067
  selector: `[mat-dialog-actions], mat-dialog-actions, [matDialogActions]`,
1057
- host: { 'class': 'mat-dialog-actions' }
1068
+ host: { 'class': 'mat-dialog-actions' },
1058
1069
  }]
1059
1070
  }] });
1060
1071
  /**
@@ -1084,30 +1095,17 @@ MatDialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version
1084
1095
  MatDialogClose,
1085
1096
  MatDialogTitle,
1086
1097
  MatDialogActions,
1087
- MatDialogContent], imports: [OverlayModule,
1088
- PortalModule,
1089
- MatCommonModule], exports: [MatDialogContainer,
1098
+ MatDialogContent], imports: [OverlayModule, PortalModule, MatCommonModule], exports: [MatDialogContainer,
1090
1099
  MatDialogClose,
1091
1100
  MatDialogTitle,
1092
1101
  MatDialogContent,
1093
1102
  MatDialogActions,
1094
1103
  MatCommonModule] });
1095
- MatDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: MatDialogModule, providers: [
1096
- MatDialog,
1097
- MAT_DIALOG_SCROLL_STRATEGY_PROVIDER,
1098
- ], imports: [[
1099
- OverlayModule,
1100
- PortalModule,
1101
- MatCommonModule,
1102
- ], MatCommonModule] });
1104
+ MatDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: MatDialogModule, providers: [MatDialog, MAT_DIALOG_SCROLL_STRATEGY_PROVIDER], imports: [[OverlayModule, PortalModule, MatCommonModule], MatCommonModule] });
1103
1105
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: MatDialogModule, decorators: [{
1104
1106
  type: NgModule,
1105
1107
  args: [{
1106
- imports: [
1107
- OverlayModule,
1108
- PortalModule,
1109
- MatCommonModule,
1110
- ],
1108
+ imports: [OverlayModule, PortalModule, MatCommonModule],
1111
1109
  exports: [
1112
1110
  MatDialogContainer,
1113
1111
  MatDialogClose,
@@ -1123,10 +1121,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.15",
1123
1121
  MatDialogActions,
1124
1122
  MatDialogContent,
1125
1123
  ],
1126
- providers: [
1127
- MatDialog,
1128
- MAT_DIALOG_SCROLL_STRATEGY_PROVIDER,
1129
- ],
1124
+ providers: [MatDialog, MAT_DIALOG_SCROLL_STRATEGY_PROVIDER],
1130
1125
  entryComponents: [MatDialogContainer],
1131
1126
  }]
1132
1127
  }] });