@angular/material-experimental 14.0.0-next.9 → 14.0.0-rc.2

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 (720) hide show
  1. package/column-resize/index.d.ts +238 -6
  2. package/esm2020/column-resize/column-resize-directives/column-resize-flex.mjs +4 -4
  3. package/esm2020/column-resize/column-resize-directives/column-resize.mjs +4 -4
  4. package/esm2020/column-resize/column-resize-directives/default-enabled-column-resize-flex.mjs +4 -4
  5. package/esm2020/column-resize/column-resize-directives/default-enabled-column-resize.mjs +4 -4
  6. package/esm2020/column-resize/column-resize-module.mjs +13 -13
  7. package/esm2020/column-resize/overlay-handle.mjs +4 -4
  8. package/esm2020/column-resize/resizable-directives/default-enabled-resizable.mjs +4 -4
  9. package/esm2020/column-resize/resizable-directives/resizable.mjs +4 -4
  10. package/esm2020/column-resize/resize-strategy.mjs +4 -4
  11. package/esm2020/mdc-autocomplete/autocomplete-origin.mjs +4 -4
  12. package/esm2020/mdc-autocomplete/autocomplete-trigger.mjs +4 -4
  13. package/esm2020/mdc-autocomplete/autocomplete.mjs +4 -4
  14. package/esm2020/mdc-autocomplete/module.mjs +5 -5
  15. package/esm2020/mdc-autocomplete/testing/autocomplete-harness.mjs +4 -4
  16. package/esm2020/mdc-button/button-base.mjs +7 -7
  17. package/esm2020/mdc-button/button.mjs +9 -9
  18. package/esm2020/mdc-button/fab.mjs +17 -17
  19. package/esm2020/mdc-button/icon-button.mjs +9 -9
  20. package/esm2020/mdc-button/module.mjs +5 -5
  21. package/esm2020/mdc-button/testing/button-harness.mjs +3 -3
  22. package/esm2020/mdc-card/card.mjs +44 -44
  23. package/esm2020/mdc-card/module.mjs +5 -5
  24. package/esm2020/mdc-card/testing/card-harness.mjs +4 -5
  25. package/esm2020/mdc-checkbox/checkbox.mjs +29 -283
  26. package/esm2020/mdc-checkbox/module.mjs +5 -5
  27. package/esm2020/mdc-checkbox/testing/checkbox-harness.mjs +2 -2
  28. package/esm2020/mdc-chips/chip-action.mjs +43 -76
  29. package/esm2020/mdc-chips/chip-edit-input.mjs +4 -4
  30. package/esm2020/mdc-chips/chip-grid.mjs +59 -70
  31. package/esm2020/mdc-chips/chip-icons.mjs +27 -41
  32. package/esm2020/mdc-chips/chip-input.mjs +5 -8
  33. package/esm2020/mdc-chips/chip-listbox.mjs +24 -66
  34. package/esm2020/mdc-chips/chip-option.mjs +41 -86
  35. package/esm2020/mdc-chips/chip-row.mjs +51 -75
  36. package/esm2020/mdc-chips/chip-set.mjs +117 -118
  37. package/esm2020/mdc-chips/chip.mjs +79 -164
  38. package/esm2020/mdc-chips/module.mjs +7 -7
  39. package/esm2020/mdc-chips/public-api.mjs +2 -2
  40. package/esm2020/mdc-chips/testing/chip-avatar-harness.mjs +5 -5
  41. package/esm2020/mdc-chips/testing/chip-grid-harness.mjs +5 -3
  42. package/esm2020/mdc-chips/testing/chip-harness.mjs +5 -5
  43. package/esm2020/mdc-chips/testing/chip-input-harness.mjs +5 -5
  44. package/esm2020/mdc-chips/testing/chip-listbox-harness.mjs +5 -3
  45. package/esm2020/mdc-chips/testing/chip-option-harness.mjs +3 -3
  46. package/esm2020/mdc-chips/testing/chip-remove-harness.mjs +5 -5
  47. package/esm2020/mdc-chips/testing/chip-row-harness.mjs +1 -10
  48. package/esm2020/mdc-chips/testing/chip-set-harness.mjs +5 -3
  49. package/esm2020/mdc-chips/tokens.mjs +33 -0
  50. package/esm2020/mdc-core/option/index.mjs +5 -5
  51. package/esm2020/mdc-core/option/optgroup.mjs +4 -4
  52. package/esm2020/mdc-core/option/option.mjs +5 -5
  53. package/esm2020/mdc-core/testing/optgroup-harness.mjs +5 -5
  54. package/esm2020/mdc-core/testing/option-harness.mjs +4 -5
  55. package/esm2020/mdc-dialog/dialog-container.mjs +19 -18
  56. package/esm2020/mdc-dialog/dialog-content-directives.mjs +13 -13
  57. package/esm2020/mdc-dialog/dialog-ref.mjs +1 -6
  58. package/esm2020/mdc-dialog/dialog.mjs +12 -7
  59. package/esm2020/mdc-dialog/module.mjs +8 -7
  60. package/esm2020/mdc-dialog/public-api.mjs +2 -2
  61. package/esm2020/mdc-dialog/testing/dialog-harness.mjs +6 -7
  62. package/esm2020/mdc-form-field/directives/error.mjs +4 -4
  63. package/esm2020/mdc-form-field/directives/floating-label.mjs +26 -6
  64. package/esm2020/mdc-form-field/directives/hint.mjs +4 -4
  65. package/esm2020/mdc-form-field/directives/label.mjs +4 -4
  66. package/esm2020/mdc-form-field/directives/line-ripple.mjs +32 -11
  67. package/esm2020/mdc-form-field/directives/notched-outline.mjs +25 -46
  68. package/esm2020/mdc-form-field/directives/prefix.mjs +4 -4
  69. package/esm2020/mdc-form-field/directives/suffix.mjs +4 -4
  70. package/esm2020/mdc-form-field/form-field.mjs +17 -101
  71. package/esm2020/mdc-form-field/module.mjs +5 -5
  72. package/esm2020/mdc-form-field/testing/form-field-harness.mjs +4 -4
  73. package/esm2020/mdc-input/input.mjs +4 -4
  74. package/esm2020/mdc-input/module.mjs +5 -5
  75. package/esm2020/mdc-list/action-list.mjs +5 -5
  76. package/esm2020/mdc-list/list-base.mjs +7 -15
  77. package/esm2020/mdc-list/list-item-sections.mjs +19 -19
  78. package/esm2020/mdc-list/list-option.mjs +42 -24
  79. package/esm2020/mdc-list/list.mjs +8 -8
  80. package/esm2020/mdc-list/module.mjs +9 -11
  81. package/esm2020/mdc-list/nav-list.mjs +5 -5
  82. package/esm2020/mdc-list/selection-list.mjs +124 -124
  83. package/esm2020/mdc-list/subheader.mjs +4 -4
  84. package/esm2020/mdc-list/testing/action-list-harness.mjs +7 -7
  85. package/esm2020/mdc-list/testing/list-harness.mjs +5 -7
  86. package/esm2020/mdc-list/testing/list-item-harness-base.mjs +6 -6
  87. package/esm2020/mdc-list/testing/nav-list-harness.mjs +7 -7
  88. package/esm2020/mdc-list/testing/selection-list-harness.mjs +7 -7
  89. package/esm2020/mdc-menu/directives.mjs +7 -7
  90. package/esm2020/mdc-menu/menu-item.mjs +6 -6
  91. package/esm2020/mdc-menu/menu.mjs +5 -5
  92. package/esm2020/mdc-menu/module.mjs +5 -5
  93. package/esm2020/mdc-menu/testing/menu-harness.mjs +5 -7
  94. package/esm2020/mdc-paginator/module.mjs +5 -5
  95. package/esm2020/mdc-paginator/paginator.mjs +9 -9
  96. package/esm2020/mdc-paginator/testing/paginator-harness.mjs +3 -4
  97. package/esm2020/mdc-progress-bar/module.mjs +5 -5
  98. package/esm2020/mdc-progress-bar/progress-bar.mjs +8 -5
  99. package/esm2020/mdc-progress-bar/testing/progress-bar-harness.mjs +5 -3
  100. package/esm2020/mdc-progress-spinner/module.mjs +5 -5
  101. package/esm2020/mdc-progress-spinner/progress-spinner.mjs +14 -61
  102. package/esm2020/mdc-progress-spinner/testing/progress-spinner-harness.mjs +5 -5
  103. package/esm2020/mdc-radio/module.mjs +5 -5
  104. package/esm2020/mdc-radio/radio.mjs +9 -43
  105. package/esm2020/mdc-radio/testing/radio-harness.mjs +7 -7
  106. package/esm2020/mdc-select/module.mjs +5 -5
  107. package/esm2020/mdc-select/select.mjs +11 -12
  108. package/esm2020/mdc-select/testing/select-harness.mjs +3 -4
  109. package/esm2020/mdc-slide-toggle/module.mjs +5 -5
  110. package/esm2020/mdc-slide-toggle/slide-toggle.mjs +16 -178
  111. package/esm2020/mdc-slide-toggle/testing/slide-toggle-harness.mjs +4 -3
  112. package/esm2020/mdc-slider/global-change-and-input-listener.mjs +4 -4
  113. package/esm2020/mdc-slider/module.mjs +5 -5
  114. package/esm2020/mdc-slider/slider.mjs +14 -14
  115. package/esm2020/mdc-slider/testing/slider-harness.mjs +6 -7
  116. package/esm2020/mdc-slider/testing/slider-thumb-harness.mjs +5 -6
  117. package/esm2020/mdc-snack-bar/module.mjs +5 -5
  118. package/esm2020/mdc-snack-bar/simple-snack-bar.mjs +7 -7
  119. package/esm2020/mdc-snack-bar/snack-bar-container.mjs +51 -32
  120. package/esm2020/mdc-snack-bar/snack-bar-content.mjs +10 -10
  121. package/esm2020/mdc-snack-bar/snack-bar.mjs +4 -4
  122. package/esm2020/mdc-snack-bar/testing/snack-bar-harness.mjs +3 -4
  123. package/esm2020/mdc-table/cell.mjs +22 -22
  124. package/esm2020/mdc-table/module.mjs +5 -5
  125. package/esm2020/mdc-table/row.mjs +22 -22
  126. package/esm2020/mdc-table/table.mjs +9 -9
  127. package/esm2020/mdc-table/testing/cell-harness.mjs +8 -8
  128. package/esm2020/mdc-table/testing/row-harness.mjs +8 -8
  129. package/esm2020/mdc-table/testing/table-harness.mjs +2 -2
  130. package/esm2020/mdc-table/text-column.mjs +5 -5
  131. package/esm2020/mdc-tabs/ink-bar.mjs +93 -114
  132. package/esm2020/mdc-tabs/module.mjs +10 -12
  133. package/esm2020/mdc-tabs/tab-body.mjs +7 -7
  134. package/esm2020/mdc-tabs/tab-content.mjs +4 -4
  135. package/esm2020/mdc-tabs/tab-group.mjs +13 -13
  136. package/esm2020/mdc-tabs/tab-header.mjs +5 -5
  137. package/esm2020/mdc-tabs/tab-label-wrapper.mjs +10 -34
  138. package/esm2020/mdc-tabs/tab-label.mjs +4 -4
  139. package/esm2020/mdc-tabs/tab-nav-bar/tab-nav-bar.mjs +17 -26
  140. package/esm2020/mdc-tabs/tab.mjs +4 -4
  141. package/esm2020/mdc-tabs/testing/tab-group-harness.mjs +4 -5
  142. package/esm2020/mdc-tabs/testing/tab-harness.mjs +3 -4
  143. package/esm2020/mdc-tabs/testing/tab-link-harness.mjs +4 -5
  144. package/esm2020/mdc-tabs/testing/tab-nav-bar-harness.mjs +5 -5
  145. package/esm2020/mdc-tabs/testing/tab-nav-panel-harness.mjs +5 -5
  146. package/esm2020/mdc-tooltip/module.mjs +5 -5
  147. package/esm2020/mdc-tooltip/testing/tooltip-harness.mjs +4 -4
  148. package/esm2020/mdc-tooltip/tooltip.mjs +8 -8
  149. package/esm2020/menubar/menubar-item.mjs +8 -8
  150. package/esm2020/menubar/menubar-module.mjs +6 -6
  151. package/esm2020/menubar/menubar.mjs +6 -6
  152. package/esm2020/popover-edit/lens-directives.mjs +10 -10
  153. package/esm2020/popover-edit/popover-edit-module.mjs +5 -5
  154. package/esm2020/popover-edit/table-directives.mjs +13 -13
  155. package/esm2020/selection/row-selection.mjs +4 -4
  156. package/esm2020/selection/select-all.mjs +4 -4
  157. package/esm2020/selection/selection-column.mjs +7 -7
  158. package/esm2020/selection/selection-module.mjs +5 -5
  159. package/esm2020/selection/selection-toggle.mjs +4 -4
  160. package/esm2020/selection/selection.mjs +4 -4
  161. package/esm2020/version.mjs +1 -1
  162. package/fesm2015/column-resize.mjs +36 -36
  163. package/fesm2015/column-resize.mjs.map +1 -1
  164. package/fesm2015/material-experimental.mjs +1 -1
  165. package/fesm2015/material-experimental.mjs.map +1 -1
  166. package/fesm2015/mdc-autocomplete/testing.mjs +3 -3
  167. package/fesm2015/mdc-autocomplete/testing.mjs.map +1 -1
  168. package/fesm2015/mdc-autocomplete.mjs +13 -13
  169. package/fesm2015/mdc-autocomplete.mjs.map +1 -1
  170. package/fesm2015/mdc-button/testing.mjs +1 -1
  171. package/fesm2015/mdc-button/testing.mjs.map +1 -1
  172. package/fesm2015/mdc-button.mjs +42 -42
  173. package/fesm2015/mdc-button.mjs.map +1 -1
  174. package/fesm2015/mdc-card/testing.mjs +2 -3
  175. package/fesm2015/mdc-card/testing.mjs.map +1 -1
  176. package/fesm2015/mdc-card.mjs +47 -47
  177. package/fesm2015/mdc-card.mjs.map +1 -1
  178. package/fesm2015/mdc-checkbox/testing.mjs +1 -1
  179. package/fesm2015/mdc-checkbox/testing.mjs.map +1 -1
  180. package/fesm2015/mdc-checkbox.mjs +34 -287
  181. package/fesm2015/mdc-checkbox.mjs.map +1 -1
  182. package/fesm2015/mdc-chips/testing.mjs +23 -25
  183. package/fesm2015/mdc-chips/testing.mjs.map +1 -1
  184. package/fesm2015/mdc-chips.mjs +528 -783
  185. package/fesm2015/mdc-chips.mjs.map +1 -1
  186. package/fesm2015/mdc-core/testing.mjs +5 -6
  187. package/fesm2015/mdc-core/testing.mjs.map +1 -1
  188. package/fesm2015/mdc-core.mjs +11 -11
  189. package/fesm2015/mdc-core.mjs.map +1 -1
  190. package/fesm2015/mdc-dialog/testing.mjs +5 -6
  191. package/fesm2015/mdc-dialog/testing.mjs.map +1 -1
  192. package/fesm2015/mdc-dialog.mjs +47 -46
  193. package/fesm2015/mdc-dialog.mjs.map +1 -1
  194. package/fesm2015/mdc-form-field/testing.mjs +3 -3
  195. package/fesm2015/mdc-form-field/testing.mjs.map +1 -1
  196. package/fesm2015/mdc-form-field.mjs +120 -175
  197. package/fesm2015/mdc-form-field.mjs.map +1 -1
  198. package/fesm2015/mdc-input.mjs +7 -7
  199. package/fesm2015/mdc-input.mjs.map +1 -1
  200. package/fesm2015/mdc-list/testing.mjs +27 -29
  201. package/fesm2015/mdc-list/testing.mjs.map +1 -1
  202. package/fesm2015/mdc-list.mjs +215 -403
  203. package/fesm2015/mdc-list.mjs.map +1 -1
  204. package/fesm2015/mdc-menu/testing.mjs +4 -6
  205. package/fesm2015/mdc-menu/testing.mjs.map +1 -1
  206. package/fesm2015/mdc-menu.mjs +18 -18
  207. package/fesm2015/mdc-menu.mjs.map +1 -1
  208. package/fesm2015/mdc-paginator/testing.mjs +2 -3
  209. package/fesm2015/mdc-paginator/testing.mjs.map +1 -1
  210. package/fesm2015/mdc-paginator.mjs +12 -12
  211. package/fesm2015/mdc-paginator.mjs.map +1 -1
  212. package/fesm2015/mdc-progress-bar/testing.mjs +3 -1
  213. package/fesm2015/mdc-progress-bar/testing.mjs.map +1 -1
  214. package/fesm2015/mdc-progress-bar.mjs +11 -8
  215. package/fesm2015/mdc-progress-bar.mjs.map +1 -1
  216. package/fesm2015/mdc-progress-spinner/testing.mjs +3 -3
  217. package/fesm2015/mdc-progress-spinner/testing.mjs.map +1 -1
  218. package/fesm2015/mdc-progress-spinner.mjs +17 -64
  219. package/fesm2015/mdc-progress-spinner.mjs.map +1 -1
  220. package/fesm2015/mdc-radio/testing.mjs +6 -6
  221. package/fesm2015/mdc-radio/testing.mjs.map +1 -1
  222. package/fesm2015/mdc-radio.mjs +13 -47
  223. package/fesm2015/mdc-radio.mjs.map +1 -1
  224. package/fesm2015/mdc-select/testing.mjs +2 -3
  225. package/fesm2015/mdc-select/testing.mjs.map +1 -1
  226. package/fesm2015/mdc-select.mjs +14 -15
  227. package/fesm2015/mdc-select.mjs.map +1 -1
  228. package/fesm2015/mdc-slide-toggle/testing.mjs +3 -2
  229. package/fesm2015/mdc-slide-toggle/testing.mjs.map +1 -1
  230. package/fesm2015/mdc-slide-toggle.mjs +20 -184
  231. package/fesm2015/mdc-slide-toggle.mjs.map +1 -1
  232. package/fesm2015/mdc-slider/testing.mjs +7 -9
  233. package/fesm2015/mdc-slider/testing.mjs.map +1 -1
  234. package/fesm2015/mdc-slider.mjs +20 -20
  235. package/fesm2015/mdc-slider.mjs.map +1 -1
  236. package/fesm2015/mdc-snack-bar/testing.mjs +2 -3
  237. package/fesm2015/mdc-snack-bar/testing.mjs.map +1 -1
  238. package/fesm2015/mdc-snack-bar.mjs +75 -56
  239. package/fesm2015/mdc-snack-bar.mjs.map +1 -1
  240. package/fesm2015/mdc-table/testing.mjs +15 -15
  241. package/fesm2015/mdc-table/testing.mjs.map +1 -1
  242. package/fesm2015/mdc-table.mjs +58 -58
  243. package/fesm2015/mdc-table.mjs.map +1 -1
  244. package/fesm2015/mdc-tabs/testing.mjs +12 -15
  245. package/fesm2015/mdc-tabs/testing.mjs.map +1 -1
  246. package/fesm2015/mdc-tabs.mjs +151 -205
  247. package/fesm2015/mdc-tabs.mjs.map +1 -1
  248. package/fesm2015/mdc-tooltip/testing.mjs +3 -3
  249. package/fesm2015/mdc-tooltip/testing.mjs.map +1 -1
  250. package/fesm2015/mdc-tooltip.mjs +11 -11
  251. package/fesm2015/mdc-tooltip.mjs.map +1 -1
  252. package/fesm2015/menubar.mjs +15 -15
  253. package/fesm2015/menubar.mjs.map +1 -1
  254. package/fesm2015/popover-edit.mjs +25 -25
  255. package/fesm2015/popover-edit.mjs.map +1 -1
  256. package/fesm2015/selection.mjs +23 -23
  257. package/fesm2015/selection.mjs.map +1 -1
  258. package/fesm2020/column-resize.mjs +36 -36
  259. package/fesm2020/column-resize.mjs.map +1 -1
  260. package/fesm2020/material-experimental.mjs +1 -1
  261. package/fesm2020/material-experimental.mjs.map +1 -1
  262. package/fesm2020/mdc-autocomplete/testing.mjs +3 -3
  263. package/fesm2020/mdc-autocomplete/testing.mjs.map +1 -1
  264. package/fesm2020/mdc-autocomplete.mjs +13 -13
  265. package/fesm2020/mdc-autocomplete.mjs.map +1 -1
  266. package/fesm2020/mdc-button/testing.mjs +1 -1
  267. package/fesm2020/mdc-button/testing.mjs.map +1 -1
  268. package/fesm2020/mdc-button.mjs +42 -42
  269. package/fesm2020/mdc-button.mjs.map +1 -1
  270. package/fesm2020/mdc-card/testing.mjs +2 -3
  271. package/fesm2020/mdc-card/testing.mjs.map +1 -1
  272. package/fesm2020/mdc-card.mjs +47 -47
  273. package/fesm2020/mdc-card.mjs.map +1 -1
  274. package/fesm2020/mdc-checkbox/testing.mjs +1 -1
  275. package/fesm2020/mdc-checkbox/testing.mjs.map +1 -1
  276. package/fesm2020/mdc-checkbox.mjs +34 -287
  277. package/fesm2020/mdc-checkbox.mjs.map +1 -1
  278. package/fesm2020/mdc-chips/testing.mjs +23 -25
  279. package/fesm2020/mdc-chips/testing.mjs.map +1 -1
  280. package/fesm2020/mdc-chips.mjs +441 -699
  281. package/fesm2020/mdc-chips.mjs.map +1 -1
  282. package/fesm2020/mdc-core/testing.mjs +5 -6
  283. package/fesm2020/mdc-core/testing.mjs.map +1 -1
  284. package/fesm2020/mdc-core.mjs +11 -11
  285. package/fesm2020/mdc-core.mjs.map +1 -1
  286. package/fesm2020/mdc-dialog/testing.mjs +5 -6
  287. package/fesm2020/mdc-dialog/testing.mjs.map +1 -1
  288. package/fesm2020/mdc-dialog.mjs +47 -46
  289. package/fesm2020/mdc-dialog.mjs.map +1 -1
  290. package/fesm2020/mdc-form-field/testing.mjs +3 -3
  291. package/fesm2020/mdc-form-field/testing.mjs.map +1 -1
  292. package/fesm2020/mdc-form-field.mjs +112 -174
  293. package/fesm2020/mdc-form-field.mjs.map +1 -1
  294. package/fesm2020/mdc-input.mjs +7 -7
  295. package/fesm2020/mdc-input.mjs.map +1 -1
  296. package/fesm2020/mdc-list/testing.mjs +27 -29
  297. package/fesm2020/mdc-list/testing.mjs.map +1 -1
  298. package/fesm2020/mdc-list.mjs +214 -392
  299. package/fesm2020/mdc-list.mjs.map +1 -1
  300. package/fesm2020/mdc-menu/testing.mjs +4 -6
  301. package/fesm2020/mdc-menu/testing.mjs.map +1 -1
  302. package/fesm2020/mdc-menu.mjs +18 -18
  303. package/fesm2020/mdc-menu.mjs.map +1 -1
  304. package/fesm2020/mdc-paginator/testing.mjs +2 -3
  305. package/fesm2020/mdc-paginator/testing.mjs.map +1 -1
  306. package/fesm2020/mdc-paginator.mjs +12 -12
  307. package/fesm2020/mdc-paginator.mjs.map +1 -1
  308. package/fesm2020/mdc-progress-bar/testing.mjs +3 -1
  309. package/fesm2020/mdc-progress-bar/testing.mjs.map +1 -1
  310. package/fesm2020/mdc-progress-bar.mjs +11 -8
  311. package/fesm2020/mdc-progress-bar.mjs.map +1 -1
  312. package/fesm2020/mdc-progress-spinner/testing.mjs +3 -3
  313. package/fesm2020/mdc-progress-spinner/testing.mjs.map +1 -1
  314. package/fesm2020/mdc-progress-spinner.mjs +17 -64
  315. package/fesm2020/mdc-progress-spinner.mjs.map +1 -1
  316. package/fesm2020/mdc-radio/testing.mjs +6 -6
  317. package/fesm2020/mdc-radio/testing.mjs.map +1 -1
  318. package/fesm2020/mdc-radio.mjs +13 -47
  319. package/fesm2020/mdc-radio.mjs.map +1 -1
  320. package/fesm2020/mdc-select/testing.mjs +2 -3
  321. package/fesm2020/mdc-select/testing.mjs.map +1 -1
  322. package/fesm2020/mdc-select.mjs +14 -15
  323. package/fesm2020/mdc-select.mjs.map +1 -1
  324. package/fesm2020/mdc-slide-toggle/testing.mjs +3 -2
  325. package/fesm2020/mdc-slide-toggle/testing.mjs.map +1 -1
  326. package/fesm2020/mdc-slide-toggle.mjs +20 -183
  327. package/fesm2020/mdc-slide-toggle.mjs.map +1 -1
  328. package/fesm2020/mdc-slider/testing.mjs +7 -9
  329. package/fesm2020/mdc-slider/testing.mjs.map +1 -1
  330. package/fesm2020/mdc-slider.mjs +20 -20
  331. package/fesm2020/mdc-slider.mjs.map +1 -1
  332. package/fesm2020/mdc-snack-bar/testing.mjs +2 -3
  333. package/fesm2020/mdc-snack-bar/testing.mjs.map +1 -1
  334. package/fesm2020/mdc-snack-bar.mjs +75 -56
  335. package/fesm2020/mdc-snack-bar.mjs.map +1 -1
  336. package/fesm2020/mdc-table/testing.mjs +15 -15
  337. package/fesm2020/mdc-table/testing.mjs.map +1 -1
  338. package/fesm2020/mdc-table.mjs +58 -58
  339. package/fesm2020/mdc-table.mjs.map +1 -1
  340. package/fesm2020/mdc-tabs/testing.mjs +12 -15
  341. package/fesm2020/mdc-tabs/testing.mjs.map +1 -1
  342. package/fesm2020/mdc-tabs.mjs +149 -203
  343. package/fesm2020/mdc-tabs.mjs.map +1 -1
  344. package/fesm2020/mdc-tooltip/testing.mjs +3 -3
  345. package/fesm2020/mdc-tooltip/testing.mjs.map +1 -1
  346. package/fesm2020/mdc-tooltip.mjs +11 -11
  347. package/fesm2020/mdc-tooltip.mjs.map +1 -1
  348. package/fesm2020/menubar.mjs +15 -15
  349. package/fesm2020/menubar.mjs.map +1 -1
  350. package/fesm2020/popover-edit.mjs +25 -25
  351. package/fesm2020/popover-edit.mjs.map +1 -1
  352. package/fesm2020/selection.mjs +23 -23
  353. package/fesm2020/selection.mjs.map +1 -1
  354. package/index.d.ts +6 -8
  355. package/mdc-autocomplete/index.d.ts +95 -6
  356. package/mdc-autocomplete/testing/index.d.ts +32 -8
  357. package/mdc-button/index.d.ts +217 -5
  358. package/mdc-button/testing/index.d.ts +41 -8
  359. package/mdc-card/index.d.ts +191 -5
  360. package/mdc-card/testing/index.d.ts +44 -8
  361. package/mdc-checkbox/_checkbox-private.scss +10 -3
  362. package/mdc-checkbox/_checkbox-theme.scss +3 -3
  363. package/mdc-checkbox/index.d.ts +79 -8
  364. package/mdc-checkbox/testing/index.d.ts +28 -8
  365. package/mdc-chips/index.d.ts +970 -5
  366. package/mdc-chips/testing/index.d.ts +232 -8
  367. package/mdc-core/index.d.ts +204 -6
  368. package/mdc-core/testing/index.d.ts +64 -8
  369. package/mdc-dialog/index.d.ts +215 -6
  370. package/mdc-dialog/testing/index.d.ts +47 -8
  371. package/mdc-form-field/index.d.ts +428 -5
  372. package/mdc-form-field/testing/index.d.ts +48 -8
  373. package/mdc-input/index.d.ts +30 -8
  374. package/mdc-input/testing/index.d.ts +20 -8
  375. package/mdc-list/_list-option-theme.scss +2 -2
  376. package/mdc-list/_list-theme.scss +3 -6
  377. package/mdc-list/index.d.ts +531 -5
  378. package/mdc-list/testing/index.d.ts +367 -6
  379. package/mdc-menu/index.d.ts +108 -6
  380. package/mdc-menu/testing/index.d.ts +38 -8
  381. package/mdc-paginator/index.d.ts +70 -6
  382. package/mdc-paginator/testing/index.d.ts +30 -8
  383. package/mdc-progress-bar/index.d.ts +101 -8
  384. package/mdc-progress-bar/testing/index.d.ts +24 -8
  385. package/mdc-progress-spinner/index.d.ts +87 -5
  386. package/mdc-progress-spinner/testing/index.d.ts +26 -8
  387. package/mdc-radio/_radio-theme.scss +8 -2
  388. package/mdc-radio/index.d.ts +70 -6
  389. package/mdc-radio/testing/index.d.ts +43 -8
  390. package/mdc-select/index.d.ts +108 -5
  391. package/mdc-select/testing/index.d.ts +28 -8
  392. package/mdc-slide-toggle/index.d.ts +83 -8
  393. package/mdc-slide-toggle/testing/index.d.ts +27 -8
  394. package/mdc-slider/index.d.ts +426 -5
  395. package/mdc-slider/testing/index.d.ts +92 -8
  396. package/mdc-snack-bar/index.d.ts +198 -6
  397. package/mdc-snack-bar/testing/index.d.ts +23 -8
  398. package/mdc-table/index.d.ts +235 -5
  399. package/mdc-table/testing/index.d.ts +118 -8
  400. package/mdc-tabs/index.d.ts +305 -6
  401. package/mdc-tabs/testing/index.d.ts +151 -8
  402. package/mdc-theming/prebuilt/deeppurple-amber.css +1 -1
  403. package/mdc-theming/prebuilt/indigo-pink.css +1 -1
  404. package/mdc-theming/prebuilt/pink-bluegrey.css +1 -1
  405. package/mdc-theming/prebuilt/purple-green.css +1 -1
  406. package/mdc-tooltip/index.d.ts +115 -5
  407. package/mdc-tooltip/testing/index.d.ts +26 -8
  408. package/menubar/index.d.ts +42 -6
  409. package/package.json +79 -79
  410. package/popover-edit/index.d.ts +99 -6
  411. package/selection/index.d.ts +137 -5
  412. package/column-resize/column-resize-directives/column-resize-flex.d.ts +0 -25
  413. package/column-resize/column-resize-directives/column-resize.d.ts +0 -25
  414. package/column-resize/column-resize-directives/common.d.ts +0 -20
  415. package/column-resize/column-resize-directives/default-enabled-column-resize-flex.d.ts +0 -25
  416. package/column-resize/column-resize-directives/default-enabled-column-resize.d.ts +0 -25
  417. package/column-resize/column-resize-module.d.ts +0 -25
  418. package/column-resize/column-resize_public_index.d.ts +0 -4
  419. package/column-resize/overlay-handle.d.ts +0 -33
  420. package/column-resize/package.json +0 -9
  421. package/column-resize/public-api.d.ts +0 -16
  422. package/column-resize/resizable-directives/common.d.ts +0 -19
  423. package/column-resize/resizable-directives/default-enabled-resizable.d.ts +0 -37
  424. package/column-resize/resizable-directives/resizable.d.ts +0 -36
  425. package/column-resize/resize-strategy.d.ts +0 -22
  426. package/esm2020/mdc-chips/chip-default-options.mjs +0 -11
  427. package/esm2020/mdc-chips/emit-event.mjs +0 -27
  428. package/esm2020/mdc-list/interactive-list-base.mjs +0 -196
  429. package/mdc-autocomplete/animations.d.ts +0 -9
  430. package/mdc-autocomplete/autocomplete-origin.d.ts +0 -10
  431. package/mdc-autocomplete/autocomplete-trigger.d.ts +0 -12
  432. package/mdc-autocomplete/autocomplete.d.ts +0 -21
  433. package/mdc-autocomplete/mdc-autocomplete_public_index.d.ts +0 -4
  434. package/mdc-autocomplete/module.d.ts +0 -13
  435. package/mdc-autocomplete/package.json +0 -9
  436. package/mdc-autocomplete/public-api.d.ts +0 -12
  437. package/mdc-autocomplete/testing/autocomplete-harness-filters.d.ts +0 -13
  438. package/mdc-autocomplete/testing/autocomplete-harness.d.ts +0 -26
  439. package/mdc-autocomplete/testing/package.json +0 -9
  440. package/mdc-autocomplete/testing/public-api.d.ts +0 -9
  441. package/mdc-button/button-base.d.ts +0 -70
  442. package/mdc-button/button.d.ts +0 -40
  443. package/mdc-button/fab.d.ts +0 -80
  444. package/mdc-button/icon-button.d.ts +0 -33
  445. package/mdc-button/mdc-button_public_index.d.ts +0 -4
  446. package/mdc-button/module.d.ts +0 -10
  447. package/mdc-button/package.json +0 -9
  448. package/mdc-button/public-api.d.ts +0 -11
  449. package/mdc-button/testing/button-harness.d.ts +0 -41
  450. package/mdc-button/testing/package.json +0 -9
  451. package/mdc-button/testing/public-api.d.ts +0 -9
  452. package/mdc-card/card.d.ts +0 -152
  453. package/mdc-card/mdc-card_public_index.d.ts +0 -4
  454. package/mdc-card/module.d.ts +0 -9
  455. package/mdc-card/package.json +0 -9
  456. package/mdc-card/public-api.d.ts +0 -9
  457. package/mdc-card/testing/card-harness-filters.d.ts +0 -17
  458. package/mdc-card/testing/card-harness.d.ts +0 -36
  459. package/mdc-card/testing/package.json +0 -9
  460. package/mdc-card/testing/public-api.d.ts +0 -9
  461. package/mdc-checkbox/checkbox.d.ts +0 -155
  462. package/mdc-checkbox/mdc-checkbox_public_index.d.ts +0 -4
  463. package/mdc-checkbox/module.d.ts +0 -9
  464. package/mdc-checkbox/package.json +0 -9
  465. package/mdc-checkbox/public-api.d.ts +0 -15
  466. package/mdc-checkbox/testing/checkbox-harness.d.ts +0 -26
  467. package/mdc-checkbox/testing/package.json +0 -9
  468. package/mdc-checkbox/testing/public-api.d.ts +0 -9
  469. package/mdc-chips/chip-action.d.ts +0 -40
  470. package/mdc-chips/chip-default-options.d.ts +0 -15
  471. package/mdc-chips/chip-edit-input.d.ts +0 -25
  472. package/mdc-chips/chip-grid.d.ts +0 -211
  473. package/mdc-chips/chip-icons.d.ts +0 -73
  474. package/mdc-chips/chip-input.d.ts +0 -95
  475. package/mdc-chips/chip-listbox.d.ts +0 -152
  476. package/mdc-chips/chip-option.d.ts +0 -81
  477. package/mdc-chips/chip-row.d.ts +0 -62
  478. package/mdc-chips/chip-set.d.ts +0 -113
  479. package/mdc-chips/chip-text-control.d.ts +0 -22
  480. package/mdc-chips/chip.d.ts +0 -139
  481. package/mdc-chips/emit-event.d.ts +0 -16
  482. package/mdc-chips/mdc-chips_public_index.d.ts +0 -4
  483. package/mdc-chips/module.d.ts +0 -18
  484. package/mdc-chips/package.json +0 -9
  485. package/mdc-chips/public-api.d.ts +0 -19
  486. package/mdc-chips/testing/chip-avatar-harness.d.ts +0 -20
  487. package/mdc-chips/testing/chip-grid-harness.d.ts +0 -29
  488. package/mdc-chips/testing/chip-harness-filters.d.ts +0 -34
  489. package/mdc-chips/testing/chip-harness.d.ts +0 -36
  490. package/mdc-chips/testing/chip-input-harness.d.ts +0 -47
  491. package/mdc-chips/testing/chip-listbox-harness.d.ts +0 -38
  492. package/mdc-chips/testing/chip-option-harness.d.ts +0 -27
  493. package/mdc-chips/testing/chip-remove-harness.d.ts +0 -22
  494. package/mdc-chips/testing/chip-row-harness.d.ts +0 -22
  495. package/mdc-chips/testing/chip-set-harness.d.ts +0 -20
  496. package/mdc-chips/testing/package.json +0 -9
  497. package/mdc-chips/testing/public-api.d.ts +0 -17
  498. package/mdc-core/mdc-core_public_index.d.ts +0 -4
  499. package/mdc-core/option/index.d.ts +0 -13
  500. package/mdc-core/option/optgroup.d.ts +0 -9
  501. package/mdc-core/option/option.d.ts +0 -19
  502. package/mdc-core/package.json +0 -9
  503. package/mdc-core/public-api.d.ts +0 -9
  504. package/mdc-core/testing/optgroup-harness-filters.d.ts +0 -11
  505. package/mdc-core/testing/optgroup-harness.d.ts +0 -33
  506. package/mdc-core/testing/option-harness-filters.d.ts +0 -12
  507. package/mdc-core/testing/option-harness.d.ts +0 -35
  508. package/mdc-core/testing/package.json +0 -9
  509. package/mdc-core/testing/public-api.d.ts +0 -11
  510. package/mdc-dialog/dialog-container.d.ts +0 -53
  511. package/mdc-dialog/dialog-content-directives.d.ts +0 -64
  512. package/mdc-dialog/dialog-ref.d.ts +0 -16
  513. package/mdc-dialog/dialog.d.ts +0 -45
  514. package/mdc-dialog/mdc-dialog_public_index.d.ts +0 -4
  515. package/mdc-dialog/module.d.ts +0 -11
  516. package/mdc-dialog/package.json +0 -9
  517. package/mdc-dialog/public-api.d.ts +0 -13
  518. package/mdc-dialog/testing/dialog-harness.d.ts +0 -30
  519. package/mdc-dialog/testing/dialog-opener.d.ts +0 -18
  520. package/mdc-dialog/testing/package.json +0 -9
  521. package/mdc-dialog/testing/public-api.d.ts +0 -10
  522. package/mdc-form-field/directives/error.d.ts +0 -22
  523. package/mdc-form-field/directives/floating-label.d.ts +0 -34
  524. package/mdc-form-field/directives/hint.d.ts +0 -10
  525. package/mdc-form-field/directives/label.d.ts +0 -6
  526. package/mdc-form-field/directives/line-ripple.d.ts +0 -24
  527. package/mdc-form-field/directives/notched-outline.d.ts +0 -37
  528. package/mdc-form-field/directives/prefix.d.ts +0 -22
  529. package/mdc-form-field/directives/suffix.d.ts +0 -22
  530. package/mdc-form-field/form-field.d.ts +0 -212
  531. package/mdc-form-field/mdc-form-field_public_index.d.ts +0 -4
  532. package/mdc-form-field/module.d.ts +0 -18
  533. package/mdc-form-field/package.json +0 -9
  534. package/mdc-form-field/public-api.d.ts +0 -15
  535. package/mdc-form-field/testing/form-field-harness.d.ts +0 -41
  536. package/mdc-form-field/testing/package.json +0 -9
  537. package/mdc-form-field/testing/public-api.d.ts +0 -10
  538. package/mdc-input/input.d.ts +0 -6
  539. package/mdc-input/mdc-input_public_index.d.ts +0 -4
  540. package/mdc-input/module.d.ts +0 -10
  541. package/mdc-input/package.json +0 -9
  542. package/mdc-input/public-api.d.ts +0 -10
  543. package/mdc-input/testing/package.json +0 -9
  544. package/mdc-input/testing/public-api.d.ts +0 -8
  545. package/mdc-list/action-list.d.ts +0 -7
  546. package/mdc-list/interactive-list-base.d.ts +0 -41
  547. package/mdc-list/list-base.d.ts +0 -120
  548. package/mdc-list/list-item-sections.d.ts +0 -77
  549. package/mdc-list/list-option-types.d.ts +0 -28
  550. package/mdc-list/list-option.d.ts +0 -98
  551. package/mdc-list/list.d.ts +0 -31
  552. package/mdc-list/mdc-list_public_index.d.ts +0 -4
  553. package/mdc-list/module.d.ts +0 -17
  554. package/mdc-list/nav-list.d.ts +0 -7
  555. package/mdc-list/package.json +0 -9
  556. package/mdc-list/public-api.d.ts +0 -18
  557. package/mdc-list/selection-list.d.ts +0 -118
  558. package/mdc-list/subheader.d.ts +0 -9
  559. package/mdc-list/testing/action-list-harness.d.ts +0 -44
  560. package/mdc-list/testing/list-harness-base.d.ts +0 -100
  561. package/mdc-list/testing/list-harness-filters.d.ts +0 -40
  562. package/mdc-list/testing/list-harness.d.ts +0 -36
  563. package/mdc-list/testing/list-item-harness-base.d.ts +0 -79
  564. package/mdc-list/testing/nav-list-harness.d.ts +0 -46
  565. package/mdc-list/testing/package.json +0 -9
  566. package/mdc-list/testing/public-api.d.ts +0 -13
  567. package/mdc-list/testing/selection-list-harness.d.ts +0 -74
  568. package/mdc-menu/directives.d.ts +0 -12
  569. package/mdc-menu/mdc-menu_public_index.d.ts +0 -4
  570. package/mdc-menu/menu-item.d.ts +0 -9
  571. package/mdc-menu/menu.d.ts +0 -22
  572. package/mdc-menu/module.d.ts +0 -13
  573. package/mdc-menu/package.json +0 -9
  574. package/mdc-menu/public-api.d.ts +0 -12
  575. package/mdc-menu/testing/menu-harness.d.ts +0 -35
  576. package/mdc-menu/testing/package.json +0 -9
  577. package/mdc-menu/testing/public-api.d.ts +0 -9
  578. package/mdc-paginator/mdc-paginator_public_index.d.ts +0 -4
  579. package/mdc-paginator/module.d.ts +0 -11
  580. package/mdc-paginator/package.json +0 -9
  581. package/mdc-paginator/paginator.d.ts +0 -40
  582. package/mdc-paginator/public-api.d.ts +0 -10
  583. package/mdc-paginator/testing/package.json +0 -9
  584. package/mdc-paginator/testing/paginator-harness.d.ts +0 -29
  585. package/mdc-paginator/testing/public-api.d.ts +0 -9
  586. package/mdc-progress-bar/mdc-progress-bar_public_index.d.ts +0 -4
  587. package/mdc-progress-bar/module.d.ts +0 -8
  588. package/mdc-progress-bar/package.json +0 -9
  589. package/mdc-progress-bar/progress-bar.d.ts +0 -67
  590. package/mdc-progress-bar/public-api.d.ts +0 -10
  591. package/mdc-progress-bar/testing/package.json +0 -9
  592. package/mdc-progress-bar/testing/progress-bar-harness.d.ts +0 -22
  593. package/mdc-progress-bar/testing/public-api.d.ts +0 -9
  594. package/mdc-progress-bar/testing/testing_public_index.d.ts +0 -4
  595. package/mdc-progress-spinner/mdc-progress-spinner_public_index.d.ts +0 -4
  596. package/mdc-progress-spinner/module.d.ts +0 -9
  597. package/mdc-progress-spinner/package.json +0 -9
  598. package/mdc-progress-spinner/progress-spinner.d.ts +0 -77
  599. package/mdc-progress-spinner/public-api.d.ts +0 -10
  600. package/mdc-progress-spinner/testing/package.json +0 -9
  601. package/mdc-progress-spinner/testing/progress-spinner-harness.d.ts +0 -26
  602. package/mdc-progress-spinner/testing/public-api.d.ts +0 -9
  603. package/mdc-progress-spinner/testing/testing_public_index.d.ts +0 -4
  604. package/mdc-radio/mdc-radio_public_index.d.ts +0 -4
  605. package/mdc-radio/module.d.ts +0 -9
  606. package/mdc-radio/package.json +0 -9
  607. package/mdc-radio/public-api.d.ts +0 -10
  608. package/mdc-radio/radio.d.ts +0 -53
  609. package/mdc-radio/testing/package.json +0 -9
  610. package/mdc-radio/testing/public-api.d.ts +0 -9
  611. package/mdc-radio/testing/radio-harness.d.ts +0 -36
  612. package/mdc-select/mdc-select_public_index.d.ts +0 -4
  613. package/mdc-select/module.d.ts +0 -12
  614. package/mdc-select/package.json +0 -9
  615. package/mdc-select/public-api.d.ts +0 -11
  616. package/mdc-select/select-animations.d.ts +0 -23
  617. package/mdc-select/select-errors.d.ts +0 -26
  618. package/mdc-select/select.d.ts +0 -54
  619. package/mdc-select/testing/package.json +0 -9
  620. package/mdc-select/testing/public-api.d.ts +0 -9
  621. package/mdc-select/testing/select-harness-filters.d.ts +0 -11
  622. package/mdc-select/testing/select-harness.d.ts +0 -25
  623. package/mdc-slide-toggle/mdc-slide-toggle_public_index.d.ts +0 -4
  624. package/mdc-slide-toggle/module.d.ts +0 -10
  625. package/mdc-slide-toggle/package.json +0 -9
  626. package/mdc-slide-toggle/public-api.d.ts +0 -11
  627. package/mdc-slide-toggle/slide-toggle-config.d.ts +0 -18
  628. package/mdc-slide-toggle/slide-toggle.d.ts +0 -107
  629. package/mdc-slide-toggle/testing/package.json +0 -9
  630. package/mdc-slide-toggle/testing/public-api.d.ts +0 -9
  631. package/mdc-slide-toggle/testing/slide-toggle-harness.d.ts +0 -25
  632. package/mdc-slider/global-change-and-input-listener.d.ts +0 -29
  633. package/mdc-slider/mdc-slider_public_index.d.ts +0 -4
  634. package/mdc-slider/module.d.ts +0 -9
  635. package/mdc-slider/package.json +0 -9
  636. package/mdc-slider/public-api.d.ts +0 -9
  637. package/mdc-slider/slider.d.ts +0 -373
  638. package/mdc-slider/testing/package.json +0 -9
  639. package/mdc-slider/testing/public-api.d.ts +0 -10
  640. package/mdc-slider/testing/slider-harness-filters.d.ts +0 -23
  641. package/mdc-slider/testing/slider-harness.d.ts +0 -35
  642. package/mdc-slider/testing/slider-thumb-harness.d.ts +0 -52
  643. package/mdc-snack-bar/mdc-snack-bar_public_index.d.ts +0 -4
  644. package/mdc-snack-bar/module.d.ts +0 -14
  645. package/mdc-snack-bar/package.json +0 -9
  646. package/mdc-snack-bar/public-api.d.ts +0 -13
  647. package/mdc-snack-bar/simple-snack-bar.d.ts +0 -19
  648. package/mdc-snack-bar/snack-bar-container.d.ts +0 -79
  649. package/mdc-snack-bar/snack-bar-content.d.ts +0 -16
  650. package/mdc-snack-bar/snack-bar.d.ts +0 -26
  651. package/mdc-snack-bar/testing/package.json +0 -9
  652. package/mdc-snack-bar/testing/public-api.d.ts +0 -9
  653. package/mdc-snack-bar/testing/snack-bar-harness.d.ts +0 -24
  654. package/mdc-table/cell.d.ts +0 -59
  655. package/mdc-table/mdc-table_public_index.d.ts +0 -4
  656. package/mdc-table/module.d.ts +0 -12
  657. package/mdc-table/package.json +0 -9
  658. package/mdc-table/public-api.d.ts +0 -14
  659. package/mdc-table/row.d.ts +0 -55
  660. package/mdc-table/table-data-source.d.ts +0 -23
  661. package/mdc-table/table.d.ts +0 -27
  662. package/mdc-table/testing/cell-harness.d.ts +0 -44
  663. package/mdc-table/testing/package.json +0 -9
  664. package/mdc-table/testing/public-api.d.ts +0 -11
  665. package/mdc-table/testing/row-harness.d.ts +0 -48
  666. package/mdc-table/testing/table-harness.d.ts +0 -24
  667. package/mdc-table/text-column.d.ts +0 -22
  668. package/mdc-tabs/ink-bar.d.ts +0 -72
  669. package/mdc-tabs/mdc-tabs_public_index.d.ts +0 -4
  670. package/mdc-tabs/module.d.ts +0 -19
  671. package/mdc-tabs/package.json +0 -9
  672. package/mdc-tabs/public-api.d.ts +0 -18
  673. package/mdc-tabs/tab-body.d.ts +0 -31
  674. package/mdc-tabs/tab-content.d.ts +0 -7
  675. package/mdc-tabs/tab-group.d.ts +0 -34
  676. package/mdc-tabs/tab-header.d.ts +0 -35
  677. package/mdc-tabs/tab-label-wrapper.d.ts +0 -28
  678. package/mdc-tabs/tab-label.d.ts +0 -7
  679. package/mdc-tabs/tab-nav-bar/tab-nav-bar.d.ts +0 -68
  680. package/mdc-tabs/tab.d.ts +0 -22
  681. package/mdc-tabs/testing/package.json +0 -9
  682. package/mdc-tabs/testing/public-api.d.ts +0 -12
  683. package/mdc-tabs/testing/tab-group-harness.d.ts +0 -35
  684. package/mdc-tabs/testing/tab-harness-filters.d.ts +0 -29
  685. package/mdc-tabs/testing/tab-harness.d.ts +0 -38
  686. package/mdc-tabs/testing/tab-link-harness.d.ts +0 -29
  687. package/mdc-tabs/testing/tab-nav-bar-harness.d.ts +0 -38
  688. package/mdc-tabs/testing/tab-nav-panel-harness.d.ts +0 -23
  689. package/mdc-tooltip/mdc-tooltip_public_index.d.ts +0 -4
  690. package/mdc-tooltip/module.d.ts +0 -12
  691. package/mdc-tooltip/package.json +0 -9
  692. package/mdc-tooltip/public-api.d.ts +0 -11
  693. package/mdc-tooltip/testing/package.json +0 -9
  694. package/mdc-tooltip/testing/public-api.d.ts +0 -9
  695. package/mdc-tooltip/testing/tooltip-harness.d.ts +0 -24
  696. package/mdc-tooltip/tooltip-animations.d.ts +0 -15
  697. package/mdc-tooltip/tooltip.d.ts +0 -52
  698. package/menubar/menubar-item.d.ts +0 -12
  699. package/menubar/menubar-module.d.ts +0 -9
  700. package/menubar/menubar.d.ts +0 -10
  701. package/menubar/menubar_public_index.d.ts +0 -4
  702. package/menubar/package.json +0 -9
  703. package/menubar/public-api.d.ts +0 -10
  704. package/popover-edit/lens-directives.d.ts +0 -22
  705. package/popover-edit/package.json +0 -9
  706. package/popover-edit/popover-edit-module.d.ts +0 -10
  707. package/popover-edit/popover-edit_public_index.d.ts +0 -4
  708. package/popover-edit/public-api.d.ts +0 -10
  709. package/popover-edit/table-directives.d.ts +0 -41
  710. package/public-api.d.ts +0 -8
  711. package/selection/package.json +0 -9
  712. package/selection/public-api.d.ts +0 -13
  713. package/selection/row-selection.d.ts +0 -22
  714. package/selection/select-all.d.ts +0 -23
  715. package/selection/selection-column.d.ts +0 -34
  716. package/selection/selection-module.d.ts +0 -14
  717. package/selection/selection-toggle.d.ts +0 -25
  718. package/selection/selection.d.ts +0 -22
  719. package/selection/selection_public_index.d.ts +0 -4
  720. package/version.d.ts +0 -10
@@ -3,15 +3,16 @@ import { Overlay, OverlayModule } from '@angular/cdk/overlay';
3
3
  import * as i2$1 from '@angular/common';
4
4
  import { DOCUMENT } from '@angular/common';
5
5
  import * as i0 from '@angular/core';
6
- import { Component, ViewEncapsulation, ChangeDetectionStrategy, Optional, Inject, InjectionToken, Injectable, SkipSelf, Directive, Input, NgModule } from '@angular/core';
6
+ import { Component, ViewEncapsulation, ChangeDetectionStrategy, Optional, Inject, InjectionToken, ANIMATION_MODULE_TYPE as ANIMATION_MODULE_TYPE$1, Injectable, SkipSelf, Directive, Input, NgModule } from '@angular/core';
7
7
  import * as i2 from '@angular/material/dialog';
8
8
  import { _MatDialogContainerBase, MatDialogRef as MatDialogRef$1, _MatDialogBase, _closeDialogVia } from '@angular/material/dialog';
9
- export { MAT_DIALOG_SCROLL_STRATEGY_FACTORY, MatDialogConfig, matDialogAnimations, throwMatDialogContentAlreadyAttachedError } from '@angular/material/dialog';
9
+ export { MAT_DIALOG_SCROLL_STRATEGY_FACTORY, MatDialogConfig, matDialogAnimations } from '@angular/material/dialog';
10
10
  import * as i1 from '@angular/cdk/a11y';
11
11
  import { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations';
12
12
  import { numbers, cssClasses } from '@material/dialog';
13
- import * as i3 from '@angular/cdk/portal';
13
+ import * as i4 from '@angular/cdk/portal';
14
14
  import { PortalModule } from '@angular/cdk/portal';
15
+ import { DialogModule } from '@angular/cdk/dialog';
15
16
  import { MatCommonModule } from '@angular/material-experimental/mdc-core';
16
17
 
17
18
  /**
@@ -26,8 +27,8 @@ import { MatCommonModule } from '@angular/material-experimental/mdc-core';
26
27
  * @docs-private
27
28
  */
28
29
  class MatDialogContainer extends _MatDialogContainerBase {
29
- constructor(elementRef, focusTrapFactory, changeDetectorRef, document, config, checker, ngZone, _animationMode, focusMonitor) {
30
- super(elementRef, focusTrapFactory, changeDetectorRef, document, config, checker, ngZone, focusMonitor);
30
+ constructor(elementRef, focusTrapFactory, document, dialogConfig, checker, ngZone, overlayRef, _animationMode, focusMonitor) {
31
+ super(elementRef, focusTrapFactory, document, dialogConfig, checker, ngZone, overlayRef, focusMonitor);
31
32
  this._animationMode = _animationMode;
32
33
  /** Whether animations are enabled. */
33
34
  this._animationsEnabled = this._animationMode !== 'NoopAnimations';
@@ -49,8 +50,7 @@ class MatDialogContainer extends _MatDialogContainerBase {
49
50
  */
50
51
  this._finishDialogOpen = () => {
51
52
  this._clearAnimationClasses();
52
- this._trapFocus();
53
- this._animationStateChanged.emit({ state: 'opened', totalTime: this._openAnimationDuration });
53
+ this._openAnimationDone(this._openAnimationDuration);
54
54
  };
55
55
  /**
56
56
  * Completes the dialog close by clearing potential animation classes, restoring
@@ -58,14 +58,13 @@ class MatDialogContainer extends _MatDialogContainerBase {
58
58
  */
59
59
  this._finishDialogClose = () => {
60
60
  this._clearAnimationClasses();
61
- this._restoreFocus();
62
61
  this._animationStateChanged.emit({ state: 'closed', totalTime: this._closeAnimationDuration });
63
62
  };
64
63
  }
65
- _initializeWithAttachedContent() {
64
+ _contentAttached() {
66
65
  // Delegate to the original dialog-container initialization (i.e. saving the
67
66
  // previous element, setting up the focus trap and moving focus to the container).
68
- super._initializeWithAttachedContent();
67
+ super._contentAttached();
69
68
  // Note: Usually we would be able to use the MDC dialog foundation here to handle
70
69
  // the dialog animation for us, but there are a few reasons why we just leverage
71
70
  // their styles and not use the runtime foundation code:
@@ -78,6 +77,7 @@ class MatDialogContainer extends _MatDialogContainerBase {
78
77
  this._startOpenAnimation();
79
78
  }
80
79
  ngOnDestroy() {
80
+ super.ngOnDestroy();
81
81
  if (this._animationTimer !== null) {
82
82
  clearTimeout(this._animationTimer);
83
83
  }
@@ -147,27 +147,27 @@ class MatDialogContainer extends _MatDialogContainerBase {
147
147
  this._animationTimer = setTimeout(callback, duration);
148
148
  }
149
149
  }
150
- MatDialogContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: MatDialogContainer, deps: [{ token: i0.ElementRef }, { token: i1.FocusTrapFactory }, { token: i0.ChangeDetectorRef }, { token: DOCUMENT, optional: true }, { token: i2.MatDialogConfig }, { token: i1.InteractivityChecker }, { token: i0.NgZone }, { token: ANIMATION_MODULE_TYPE, optional: true }, { token: i1.FocusMonitor }], target: i0.ɵɵFactoryTarget.Component });
151
- MatDialogContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "14.0.0-next.9", type: MatDialogContainer, selector: "mat-dialog-container", host: { attributes: { "tabindex": "-1", "aria-modal": "true" }, properties: { "id": "_id", "attr.role": "_config.role", "attr.aria-labelledby": "_config.ariaLabel ? null : _ariaLabelledBy", "attr.aria-label": "_config.ariaLabel", "attr.aria-describedby": "_config.ariaDescribedBy || null", "class._mat-animation-noopable": "!_animationsEnabled" }, classAttribute: "mat-mdc-dialog-container mdc-dialog" }, usesInheritance: true, ngImport: i0, template: "<div class=\"mdc-dialog__container\">\n <div class=\"mat-mdc-dialog-surface mdc-dialog__surface\">\n <ng-template cdkPortalOutlet></ng-template>\n </div>\n</div>\n", styles: [".mdc-dialog .mdc-dialog__close.mdc-ripple-upgraded--background-focused .mdc-icon-button__ripple::before,.mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded):focus .mdc-icon-button__ripple::before{transition-duration:75ms}.mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded) .mdc-icon-button__ripple::after{transition:opacity 150ms linear}.mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded):active .mdc-icon-button__ripple::after{transition-duration:75ms}.mdc-dialog .mdc-dialog__surface{border-radius:var(--mdc-shape-medium, 4px)}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(max-width: 600px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid transparent;border-radius:inherit;content:\"\";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:\"\";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid transparent;display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid transparent}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid transparent}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1;z-index:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{display:block;width:100%;height:100%}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:white;background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{--mdc-elevation-box-shadow-for-gss:0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);box-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);box-shadow:var(--mdc-dialog-container-elevation, var(--mdc-elevation-box-shadow-for-gss))}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title,.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__actions,.mat-mdc-dialog-container.mdc-dialog--scrollable.mdc-dialog-scroll-divider-footer .mdc-dialog__actions{border-color:black;border-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title{border-bottom-color:black;border-bottom-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:Arial;font-family:var(--mdc-dialog-subhead-font, \"Arial\");line-height:14px;line-height:var(--mdc-dialog-subhead-line-height, 14px);font-size:14px;font-size:var(--mdc-dialog-subhead-size, 14px);font-weight:500;font-weight:var(--mdc-dialog-subhead-weight, 500);letter-spacing:1px;letter-spacing:var(--mdc-dialog-subhead-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__title{color:black;color:var(--mdc-dialog-subhead-color, black)}.mat-mdc-dialog-container .mdc-dialog__content{font-family:Arial;font-family:var(--mdc-dialog-supporting-text-font, \"Arial\");line-height:14px;line-height:var(--mdc-dialog-supporting-text-line-height, 14px);font-size:14px;font-size:var(--mdc-dialog-supporting-text-size, 14px);font-weight:500;font-weight:var(--mdc-dialog-supporting-text-weight, 500);letter-spacing:1px;letter-spacing:var(--mdc-dialog-supporting-text-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__content{color:black;color:var(--mdc-dialog-supporting-text-color, black)}.mat-mdc-dialog-container{outline:0}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}"], directives: [{ type: i3.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None });
152
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: MatDialogContainer, decorators: [{
150
+ MatDialogContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: MatDialogContainer, deps: [{ token: i0.ElementRef }, { token: i1.FocusTrapFactory }, { token: DOCUMENT, optional: true }, { token: i2.MatDialogConfig }, { token: i1.InteractivityChecker }, { token: i0.NgZone }, { token: i1$1.OverlayRef }, { token: ANIMATION_MODULE_TYPE, optional: true }, { token: i1.FocusMonitor }], target: i0.ɵɵFactoryTarget.Component });
151
+ MatDialogContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0-rc.1", type: MatDialogContainer, selector: "mat-dialog-container", host: { attributes: { "tabindex": "-1" }, properties: { "attr.aria-modal": "_config.ariaModal", "id": "_config.id", "attr.role": "_config.role", "attr.aria-labelledby": "_config.ariaLabel ? null : _ariaLabelledBy", "attr.aria-label": "_config.ariaLabel", "attr.aria-describedby": "_config.ariaDescribedBy || null", "class._mat-animation-noopable": "!_animationsEnabled" }, classAttribute: "mat-mdc-dialog-container mdc-dialog" }, usesInheritance: true, ngImport: i0, template: "<div class=\"mdc-dialog__container\">\n <div class=\"mat-mdc-dialog-surface mdc-dialog__surface\">\n <ng-template cdkPortalOutlet></ng-template>\n </div>\n</div>\n", styles: [".mdc-dialog .mdc-dialog__close.mdc-ripple-upgraded--background-focused .mdc-icon-button__ripple::before,.mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded):focus .mdc-icon-button__ripple::before{transition-duration:75ms}.mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded) .mdc-icon-button__ripple::after{transition:opacity 150ms linear}.mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded):active .mdc-icon-button__ripple::after{transition-duration:75ms}.mdc-dialog .mdc-dialog__surface{border-radius:var(--mdc-shape-medium, 4px)}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(max-width: 600px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:\"\";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:\"\";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1;z-index:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{display:block;width:100%;height:100%}.mat-mdc-dialog-container{outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{--mdc-elevation-box-shadow-for-gss:0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);box-shadow:var(--mdc-dialog-container-elevation, var(--mdc-elevation-box-shadow-for-gss))}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title,.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__actions,.mat-mdc-dialog-container.mdc-dialog--scrollable.mdc-dialog-scroll-divider-footer .mdc-dialog__actions{border-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title{border-bottom-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, \"Arial\");line-height:var(--mdc-dialog-subhead-line-height, 14px);font-size:var(--mdc-dialog-subhead-size, 14px);font-weight:var(--mdc-dialog-subhead-weight, 500);letter-spacing:var(--mdc-dialog-subhead-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, black)}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, \"Arial\");line-height:var(--mdc-dialog-supporting-text-line-height, 14px);font-size:var(--mdc-dialog-supporting-text-size, 14px);font-weight:var(--mdc-dialog-supporting-text-weight, 500);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, black)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}"], dependencies: [{ kind: "directive", type: i4.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None });
152
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: MatDialogContainer, decorators: [{
153
153
  type: Component,
154
154
  args: [{ selector: 'mat-dialog-container', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, host: {
155
155
  'class': 'mat-mdc-dialog-container mdc-dialog',
156
156
  'tabindex': '-1',
157
- 'aria-modal': 'true',
158
- '[id]': '_id',
157
+ '[attr.aria-modal]': '_config.ariaModal',
158
+ '[id]': '_config.id',
159
159
  '[attr.role]': '_config.role',
160
160
  '[attr.aria-labelledby]': '_config.ariaLabel ? null : _ariaLabelledBy',
161
161
  '[attr.aria-label]': '_config.ariaLabel',
162
162
  '[attr.aria-describedby]': '_config.ariaDescribedBy || null',
163
163
  '[class._mat-animation-noopable]': '!_animationsEnabled',
164
- }, template: "<div class=\"mdc-dialog__container\">\n <div class=\"mat-mdc-dialog-surface mdc-dialog__surface\">\n <ng-template cdkPortalOutlet></ng-template>\n </div>\n</div>\n", styles: [".mdc-dialog .mdc-dialog__close.mdc-ripple-upgraded--background-focused .mdc-icon-button__ripple::before,.mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded):focus .mdc-icon-button__ripple::before{transition-duration:75ms}.mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded) .mdc-icon-button__ripple::after{transition:opacity 150ms linear}.mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded):active .mdc-icon-button__ripple::after{transition-duration:75ms}.mdc-dialog .mdc-dialog__surface{border-radius:var(--mdc-shape-medium, 4px)}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(max-width: 600px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid transparent;border-radius:inherit;content:\"\";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:\"\";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid transparent;display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid transparent}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid transparent}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1;z-index:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{display:block;width:100%;height:100%}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:white;background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{--mdc-elevation-box-shadow-for-gss:0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);box-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);box-shadow:var(--mdc-dialog-container-elevation, var(--mdc-elevation-box-shadow-for-gss))}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title,.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__actions,.mat-mdc-dialog-container.mdc-dialog--scrollable.mdc-dialog-scroll-divider-footer .mdc-dialog__actions{border-color:black;border-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title{border-bottom-color:black;border-bottom-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:Arial;font-family:var(--mdc-dialog-subhead-font, \"Arial\");line-height:14px;line-height:var(--mdc-dialog-subhead-line-height, 14px);font-size:14px;font-size:var(--mdc-dialog-subhead-size, 14px);font-weight:500;font-weight:var(--mdc-dialog-subhead-weight, 500);letter-spacing:1px;letter-spacing:var(--mdc-dialog-subhead-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__title{color:black;color:var(--mdc-dialog-subhead-color, black)}.mat-mdc-dialog-container .mdc-dialog__content{font-family:Arial;font-family:var(--mdc-dialog-supporting-text-font, \"Arial\");line-height:14px;line-height:var(--mdc-dialog-supporting-text-line-height, 14px);font-size:14px;font-size:var(--mdc-dialog-supporting-text-size, 14px);font-weight:500;font-weight:var(--mdc-dialog-supporting-text-weight, 500);letter-spacing:1px;letter-spacing:var(--mdc-dialog-supporting-text-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__content{color:black;color:var(--mdc-dialog-supporting-text-color, black)}.mat-mdc-dialog-container{outline:0}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}"] }]
165
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.FocusTrapFactory }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
164
+ }, template: "<div class=\"mdc-dialog__container\">\n <div class=\"mat-mdc-dialog-surface mdc-dialog__surface\">\n <ng-template cdkPortalOutlet></ng-template>\n </div>\n</div>\n", styles: [".mdc-dialog .mdc-dialog__close.mdc-ripple-upgraded--background-focused .mdc-icon-button__ripple::before,.mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded):focus .mdc-icon-button__ripple::before{transition-duration:75ms}.mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded) .mdc-icon-button__ripple::after{transition:opacity 150ms linear}.mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded):active .mdc-icon-button__ripple::after{transition-duration:75ms}.mdc-dialog .mdc-dialog__surface{border-radius:var(--mdc-shape-medium, 4px)}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(max-width: 600px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:\"\";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:\"\";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1;z-index:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{display:block;width:100%;height:100%}.mat-mdc-dialog-container{outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{--mdc-elevation-box-shadow-for-gss:0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);box-shadow:var(--mdc-dialog-container-elevation, var(--mdc-elevation-box-shadow-for-gss))}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title,.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__actions,.mat-mdc-dialog-container.mdc-dialog--scrollable.mdc-dialog-scroll-divider-footer .mdc-dialog__actions{border-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title{border-bottom-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, \"Arial\");line-height:var(--mdc-dialog-subhead-line-height, 14px);font-size:var(--mdc-dialog-subhead-size, 14px);font-weight:var(--mdc-dialog-subhead-weight, 500);letter-spacing:var(--mdc-dialog-subhead-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, black)}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, \"Arial\");line-height:var(--mdc-dialog-supporting-text-line-height, 14px);font-size:var(--mdc-dialog-supporting-text-size, 14px);font-weight:var(--mdc-dialog-supporting-text-weight, 500);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, black)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}"] }]
165
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.FocusTrapFactory }, { type: undefined, decorators: [{
166
166
  type: Optional
167
167
  }, {
168
168
  type: Inject,
169
169
  args: [DOCUMENT]
170
- }] }, { type: i2.MatDialogConfig }, { type: i1.InteractivityChecker }, { type: i0.NgZone }, { type: undefined, decorators: [{
170
+ }] }, { type: i2.MatDialogConfig }, { type: i1.InteractivityChecker }, { type: i0.NgZone }, { type: i1$1.OverlayRef }, { type: undefined, decorators: [{
171
171
  type: Optional
172
172
  }, {
173
173
  type: Inject,
@@ -181,15 +181,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9",
181
181
  * Use of this source code is governed by an MIT-style license that can be
182
182
  * found in the LICENSE file at https://angular.io/license
183
183
  */
184
- // Counter for unique dialog ids.
185
- let uniqueId = 0;
186
184
  /**
187
185
  * Reference to a dialog opened via the MatDialog service.
188
186
  */
189
187
  class MatDialogRef extends MatDialogRef$1 {
190
- constructor(overlayRef, containerInstance, id = `mat-mdc-dialog-${uniqueId++}`) {
191
- super(overlayRef, containerInstance, id);
192
- }
193
188
  }
194
189
 
195
190
  /**
@@ -224,18 +219,24 @@ class MatDialog extends _MatDialogBase {
224
219
  * @deprecated `_location` parameter to be removed.
225
220
  * @breaking-change 10.0.0
226
221
  */
227
- location, defaultOptions, scrollStrategy, parentDialog, overlayContainer,
222
+ location, defaultOptions, scrollStrategy, parentDialog,
223
+ /**
224
+ * @deprecated No longer used. To be removed.
225
+ * @breaking-change 15.0.0
226
+ */
227
+ overlayContainer,
228
228
  /**
229
229
  * @deprecated No longer used. To be removed.
230
230
  * @breaking-change 14.0.0
231
231
  */
232
232
  animationMode) {
233
233
  super(overlay, injector, defaultOptions, parentDialog, overlayContainer, scrollStrategy, MatDialogRef, MatDialogContainer, MAT_DIALOG_DATA, animationMode);
234
+ this._idPrefix = 'mat-mdc-dialog-';
234
235
  }
235
236
  }
236
- MatDialog.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: MatDialog, deps: [{ token: i1$1.Overlay }, { token: i0.Injector }, { token: i2$1.Location, optional: true }, { token: MAT_DIALOG_DEFAULT_OPTIONS, optional: true }, { token: MAT_DIALOG_SCROLL_STRATEGY }, { token: MatDialog, optional: true, skipSelf: true }, { token: i1$1.OverlayContainer }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
237
- MatDialog.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: MatDialog });
238
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: MatDialog, decorators: [{
237
+ MatDialog.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: MatDialog, deps: [{ token: i1$1.Overlay }, { token: i0.Injector }, { token: i2$1.Location, optional: true }, { token: MAT_DIALOG_DEFAULT_OPTIONS, optional: true }, { token: MAT_DIALOG_SCROLL_STRATEGY }, { token: MatDialog, optional: true, skipSelf: true }, { token: i1$1.OverlayContainer }, { token: ANIMATION_MODULE_TYPE$1, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
238
+ MatDialog.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: MatDialog });
239
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: MatDialog, decorators: [{
239
240
  type: Injectable
240
241
  }], ctorParameters: function () { return [{ type: i1$1.Overlay }, { type: i0.Injector }, { type: i2$1.Location, decorators: [{
241
242
  type: Optional
@@ -255,7 +256,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9",
255
256
  type: Optional
256
257
  }, {
257
258
  type: Inject,
258
- args: [ANIMATION_MODULE_TYPE]
259
+ args: [ANIMATION_MODULE_TYPE$1]
259
260
  }] }]; } });
260
261
 
261
262
  /**
@@ -305,9 +306,9 @@ class MatDialogClose {
305
306
  _closeDialogVia(this.dialogRef, event.screenX === 0 && event.screenY === 0 ? 'keyboard' : 'mouse', this.dialogResult);
306
307
  }
307
308
  }
308
- MatDialogClose.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: MatDialogClose, deps: [{ token: MatDialogRef, optional: true }, { token: i0.ElementRef }, { token: MatDialog }], target: i0.ɵɵFactoryTarget.Directive });
309
- MatDialogClose.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.9", type: MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: { ariaLabel: ["aria-label", "ariaLabel"], type: "type", dialogResult: ["mat-dialog-close", "dialogResult"], _matDialogClose: ["matDialogClose", "_matDialogClose"] }, host: { listeners: { "click": "_onButtonClick($event)" }, properties: { "attr.aria-label": "ariaLabel || null", "attr.type": "type" } }, exportAs: ["matDialogClose"], usesOnChanges: true, ngImport: i0 });
310
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: MatDialogClose, decorators: [{
309
+ MatDialogClose.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: MatDialogClose, deps: [{ token: MatDialogRef, optional: true }, { token: i0.ElementRef }, { token: MatDialog }], target: i0.ɵɵFactoryTarget.Directive });
310
+ MatDialogClose.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0-rc.1", type: MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: { ariaLabel: ["aria-label", "ariaLabel"], type: "type", dialogResult: ["mat-dialog-close", "dialogResult"], _matDialogClose: ["matDialogClose", "_matDialogClose"] }, host: { listeners: { "click": "_onButtonClick($event)" }, properties: { "attr.aria-label": "ariaLabel || null", "attr.type": "type" } }, exportAs: ["matDialogClose"], usesOnChanges: true, ngImport: i0 });
311
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: MatDialogClose, decorators: [{
311
312
  type: Directive,
312
313
  args: [{
313
314
  selector: '[mat-dialog-close], [matDialogClose]',
@@ -359,9 +360,9 @@ class MatDialogTitle {
359
360
  }
360
361
  }
361
362
  }
362
- MatDialogTitle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: MatDialogTitle, deps: [{ token: MatDialogRef, optional: true }, { token: i0.ElementRef }, { token: MatDialog }], target: i0.ɵɵFactoryTarget.Directive });
363
- MatDialogTitle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.9", type: MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: { id: "id" }, host: { properties: { "id": "id" }, classAttribute: "mat-mdc-dialog-title mdc-dialog__title" }, exportAs: ["matDialogTitle"], ngImport: i0 });
364
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: MatDialogTitle, decorators: [{
363
+ MatDialogTitle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: MatDialogTitle, deps: [{ token: MatDialogRef, optional: true }, { token: i0.ElementRef }, { token: MatDialog }], target: i0.ɵɵFactoryTarget.Directive });
364
+ MatDialogTitle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0-rc.1", type: MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: { id: "id" }, host: { properties: { "id": "id" }, classAttribute: "mat-mdc-dialog-title mdc-dialog__title" }, exportAs: ["matDialogTitle"], ngImport: i0 });
365
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: MatDialogTitle, decorators: [{
365
366
  type: Directive,
366
367
  args: [{
367
368
  selector: '[mat-dialog-title], [matDialogTitle]',
@@ -381,9 +382,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9",
381
382
  */
382
383
  class MatDialogContent {
383
384
  }
384
- MatDialogContent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: MatDialogContent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
385
- MatDialogContent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.9", type: MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]", host: { classAttribute: "mat-mdc-dialog-content mdc-dialog__content" }, ngImport: i0 });
386
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: MatDialogContent, decorators: [{
385
+ MatDialogContent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: MatDialogContent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
386
+ MatDialogContent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0-rc.1", type: MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]", host: { classAttribute: "mat-mdc-dialog-content mdc-dialog__content" }, ngImport: i0 });
387
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: MatDialogContent, decorators: [{
387
388
  type: Directive,
388
389
  args: [{
389
390
  selector: `[mat-dialog-content], mat-dialog-content, [matDialogContent]`,
@@ -402,9 +403,9 @@ class MatDialogActions {
402
403
  this.align = 'start';
403
404
  }
404
405
  }
405
- MatDialogActions.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: MatDialogActions, deps: [], target: i0.ɵɵFactoryTarget.Directive });
406
- MatDialogActions.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.9", type: MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: { align: "align" }, host: { properties: { "class.mat-mdc-dialog-actions-align-center": "align === \"center\"", "class.mat-mdc-dialog-actions-align-end": "align === \"end\"" }, classAttribute: "mat-mdc-dialog-actions mdc-dialog__actions" }, ngImport: i0 });
407
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: MatDialogActions, decorators: [{
406
+ MatDialogActions.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: MatDialogActions, deps: [], target: i0.ɵɵFactoryTarget.Directive });
407
+ MatDialogActions.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0-rc.1", type: MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: { align: "align" }, host: { properties: { "class.mat-mdc-dialog-actions-align-center": "align === \"center\"", "class.mat-mdc-dialog-actions-align-end": "align === \"end\"" }, classAttribute: "mat-mdc-dialog-actions mdc-dialog__actions" }, ngImport: i0 });
408
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: MatDialogActions, decorators: [{
408
409
  type: Directive,
409
410
  args: [{
410
411
  selector: `[mat-dialog-actions], mat-dialog-actions, [matDialogActions]`,
@@ -439,22 +440,22 @@ function getClosestDialog(element, openDialogs) {
439
440
  */
440
441
  class MatDialogModule {
441
442
  }
442
- MatDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: MatDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
443
- MatDialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: MatDialogModule, declarations: [MatDialogContainer,
443
+ MatDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: MatDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
444
+ MatDialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0-rc.1", ngImport: i0, type: MatDialogModule, declarations: [MatDialogContainer,
444
445
  MatDialogClose,
445
446
  MatDialogTitle,
446
447
  MatDialogActions,
447
- MatDialogContent], imports: [OverlayModule, PortalModule, MatCommonModule], exports: [MatDialogContainer,
448
+ MatDialogContent], imports: [DialogModule, OverlayModule, PortalModule, MatCommonModule], exports: [MatDialogContainer,
448
449
  MatDialogClose,
449
450
  MatDialogTitle,
450
451
  MatDialogContent,
451
452
  MatDialogActions,
452
453
  MatCommonModule] });
453
- MatDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: MatDialogModule, providers: [MatDialog, MAT_DIALOG_SCROLL_STRATEGY_PROVIDER], imports: [[OverlayModule, PortalModule, MatCommonModule], MatCommonModule] });
454
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: MatDialogModule, decorators: [{
454
+ MatDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: MatDialogModule, providers: [MatDialog, MAT_DIALOG_SCROLL_STRATEGY_PROVIDER], imports: [DialogModule, OverlayModule, PortalModule, MatCommonModule, MatCommonModule] });
455
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-rc.1", ngImport: i0, type: MatDialogModule, decorators: [{
455
456
  type: NgModule,
456
457
  args: [{
457
- imports: [OverlayModule, PortalModule, MatCommonModule],
458
+ imports: [DialogModule, OverlayModule, PortalModule, MatCommonModule],
458
459
  exports: [
459
460
  MatDialogContainer,
460
461
  MatDialogClose,
@@ -1 +1 @@
1
- {"version":3,"file":"mdc-dialog.mjs","sources":["../../../../../../src/material-experimental/mdc-dialog/dialog-container.ts","../../../../../../src/material-experimental/mdc-dialog/dialog-container.html","../../../../../../src/material-experimental/mdc-dialog/dialog-ref.ts","../../../../../../src/material-experimental/mdc-dialog/dialog.ts","../../../../../../src/material-experimental/mdc-dialog/dialog-content-directives.ts","../../../../../../src/material-experimental/mdc-dialog/module.ts","../../../../../../src/material-experimental/mdc-dialog/public-api.ts","../../../../../../src/material-experimental/mdc-dialog/index.ts","../../../../../../src/material-experimental/mdc-dialog/mdc-dialog_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 {FocusMonitor, FocusTrapFactory, InteractivityChecker} from '@angular/cdk/a11y';\nimport {DOCUMENT} from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n Inject,\n OnDestroy,\n Optional,\n ViewEncapsulation,\n NgZone,\n} from '@angular/core';\nimport {MatDialogConfig, _MatDialogContainerBase} from '@angular/material/dialog';\nimport {ANIMATION_MODULE_TYPE} from '@angular/platform-browser/animations';\nimport {cssClasses, numbers} from '@material/dialog';\n\n/**\n * Internal component that wraps user-provided dialog content in a MDC dialog.\n * @docs-private\n */\n@Component({\n selector: 'mat-dialog-container',\n templateUrl: 'dialog-container.html',\n styleUrls: ['dialog.css'],\n encapsulation: ViewEncapsulation.None,\n // Disabled for consistency with the non-MDC dialog container.\n // tslint:disable-next-line:validate-decorators\n changeDetection: ChangeDetectionStrategy.Default,\n host: {\n 'class': 'mat-mdc-dialog-container mdc-dialog',\n 'tabindex': '-1',\n 'aria-modal': 'true',\n '[id]': '_id',\n '[attr.role]': '_config.role',\n '[attr.aria-labelledby]': '_config.ariaLabel ? null : _ariaLabelledBy',\n '[attr.aria-label]': '_config.ariaLabel',\n '[attr.aria-describedby]': '_config.ariaDescribedBy || null',\n '[class._mat-animation-noopable]': '!_animationsEnabled',\n },\n})\nexport class MatDialogContainer extends _MatDialogContainerBase implements OnDestroy {\n /** Whether animations are enabled. */\n _animationsEnabled: boolean = this._animationMode !== 'NoopAnimations';\n\n /** Host element of the dialog container component. */\n private _hostElement: HTMLElement = this._elementRef.nativeElement;\n /** Duration of the dialog open animation. */\n private _openAnimationDuration = this._animationsEnabled\n ? numbers.DIALOG_ANIMATION_OPEN_TIME_MS\n : 0;\n /** Duration of the dialog close animation. */\n private _closeAnimationDuration = this._animationsEnabled\n ? numbers.DIALOG_ANIMATION_CLOSE_TIME_MS\n : 0;\n /** Current timer for dialog animations. */\n private _animationTimer: number | null = null;\n\n constructor(\n elementRef: ElementRef,\n focusTrapFactory: FocusTrapFactory,\n changeDetectorRef: ChangeDetectorRef,\n @Optional() @Inject(DOCUMENT) document: any,\n config: MatDialogConfig,\n checker: InteractivityChecker,\n ngZone: NgZone,\n @Optional() @Inject(ANIMATION_MODULE_TYPE) private _animationMode?: string,\n focusMonitor?: FocusMonitor,\n ) {\n super(\n elementRef,\n focusTrapFactory,\n changeDetectorRef,\n document,\n config,\n checker,\n ngZone,\n focusMonitor,\n );\n }\n\n override _initializeWithAttachedContent() {\n // Delegate to the original dialog-container initialization (i.e. saving the\n // previous element, setting up the focus trap and moving focus to the container).\n super._initializeWithAttachedContent();\n // Note: Usually we would be able to use the MDC dialog foundation here to handle\n // the dialog animation for us, but there are a few reasons why we just leverage\n // their styles and not use the runtime foundation code:\n // 1. Foundation does not allow us to disable animations.\n // 2. Foundation contains unnecessary features we don't need and aren't\n // tree-shakeable. e.g. background scrim, keyboard event handlers for ESC button.\n // 3. Foundation uses unnecessary timers for animations to work around limitations\n // in React's `setState` mechanism.\n // https://github.com/material-components/material-components-web/pull/3682.\n this._startOpenAnimation();\n }\n\n ngOnDestroy() {\n if (this._animationTimer !== null) {\n clearTimeout(this._animationTimer);\n }\n }\n\n /** Starts the dialog open animation if enabled. */\n private _startOpenAnimation() {\n this._animationStateChanged.emit({state: 'opening', totalTime: this._openAnimationDuration});\n\n if (this._animationsEnabled) {\n // One would expect that the open class is added once the animation finished, but MDC\n // uses the open class in combination with the opening class to start the animation.\n this._hostElement.classList.add(cssClasses.OPENING);\n this._hostElement.classList.add(cssClasses.OPEN);\n this._waitForAnimationToComplete(this._openAnimationDuration, this._finishDialogOpen);\n } else {\n this._hostElement.classList.add(cssClasses.OPEN);\n // Note: We could immediately finish the dialog opening here with noop animations,\n // but we defer until next tick so that consumers can subscribe to `afterOpened`.\n // Executing this immediately would mean that `afterOpened` emits synchronously\n // on `dialog.open` before the consumer had a change to subscribe to `afterOpened`.\n Promise.resolve().then(() => this._finishDialogOpen());\n }\n }\n\n /**\n * Starts the exit animation of the dialog if enabled. This method is\n * called by the dialog ref.\n */\n _startExitAnimation(): void {\n this._animationStateChanged.emit({state: 'closing', totalTime: this._closeAnimationDuration});\n this._hostElement.classList.remove(cssClasses.OPEN);\n\n if (this._animationsEnabled) {\n this._hostElement.classList.add(cssClasses.CLOSING);\n this._waitForAnimationToComplete(this._closeAnimationDuration, this._finishDialogClose);\n } else {\n // This subscription to the `OverlayRef#backdropClick` observable in the `DialogRef` is\n // set up before any user can subscribe to the backdrop click. The subscription triggers\n // the dialog close and this method synchronously. If we'd synchronously emit the `CLOSED`\n // animation state event if animations are disabled, the overlay would be disposed\n // immediately and all other subscriptions to `DialogRef#backdropClick` would be silently\n // skipped. We work around this by waiting with the dialog close until the next tick when\n // all subscriptions have been fired as expected. This is not an ideal solution, but\n // there doesn't seem to be any other good way. Alternatives that have been considered:\n // 1. Deferring `DialogRef.close`. This could be a breaking change due to a new microtask.\n // Also this issue is specific to the MDC implementation where the dialog could\n // technically be closed synchronously. In the non-MDC one, Angular animations are used\n // and closing always takes at least a tick.\n // 2. Ensuring that user subscriptions to `backdropClick`, `keydownEvents` in the dialog\n // ref are first. This would solve the issue, but has the risk of memory leaks and also\n // doesn't solve the case where consumers call `DialogRef.close` in their subscriptions.\n // Based on the fact that this is specific to the MDC-based implementation of the dialog\n // animations, the defer is applied here.\n Promise.resolve().then(() => this._finishDialogClose());\n }\n }\n\n /**\n * Completes the dialog open by clearing potential animation classes, trapping\n * focus and emitting an opened event.\n */\n private _finishDialogOpen = () => {\n this._clearAnimationClasses();\n this._trapFocus();\n this._animationStateChanged.emit({state: 'opened', totalTime: this._openAnimationDuration});\n };\n\n /**\n * Completes the dialog close by clearing potential animation classes, restoring\n * focus and emitting a closed event.\n */\n private _finishDialogClose = () => {\n this._clearAnimationClasses();\n this._restoreFocus();\n this._animationStateChanged.emit({state: 'closed', totalTime: this._closeAnimationDuration});\n };\n\n /** Clears all dialog animation classes. */\n private _clearAnimationClasses() {\n this._hostElement.classList.remove(cssClasses.OPENING);\n this._hostElement.classList.remove(cssClasses.CLOSING);\n }\n\n private _waitForAnimationToComplete(duration: number, callback: () => void) {\n if (this._animationTimer !== null) {\n clearTimeout(this._animationTimer);\n }\n\n // Note that we want this timer to run inside the NgZone, because we want\n // the related events like `afterClosed` to be inside the zone as well.\n this._animationTimer = setTimeout(callback, duration);\n }\n}\n","<div class=\"mdc-dialog__container\">\n <div class=\"mat-mdc-dialog-surface mdc-dialog__surface\">\n <ng-template cdkPortalOutlet></ng-template>\n </div>\n</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 {OverlayRef} from '@angular/cdk/overlay';\nimport {MatDialogRef as NonMdcDialogRef} from '@angular/material/dialog';\nimport {MatDialogContainer} from './dialog-container';\n\n// Counter for unique dialog ids.\nlet uniqueId = 0;\n\n/**\n * Reference to a dialog opened via the MatDialog service.\n */\nexport class MatDialogRef<T, R = any> extends NonMdcDialogRef<T, R> {\n constructor(\n overlayRef: OverlayRef,\n containerInstance: MatDialogContainer,\n id: string = `mat-mdc-dialog-${uniqueId++}`,\n ) {\n super(overlayRef, containerInstance, id);\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 {Overlay, OverlayContainer, ScrollStrategy} from '@angular/cdk/overlay';\nimport {Location} from '@angular/common';\nimport {Inject, Injectable, InjectionToken, Injector, Optional, SkipSelf} from '@angular/core';\nimport {_MatDialogBase, MatDialogConfig} from '@angular/material/dialog';\nimport {MatDialogContainer} from './dialog-container';\nimport {MatDialogRef} from './dialog-ref';\nimport {ANIMATION_MODULE_TYPE} from '@angular/platform-browser/animations';\n\n/** Injection token that can be used to access the data that was passed in to a dialog. */\nexport const MAT_DIALOG_DATA = new InjectionToken<any>('MatMdcDialogData');\n\n/** Injection token that can be used to specify default dialog options. */\nexport const MAT_DIALOG_DEFAULT_OPTIONS = new InjectionToken<MatDialogConfig>(\n 'mat-mdc-dialog-default-options',\n);\n\n/** Injection token that determines the scroll handling while the dialog is open. */\nexport const MAT_DIALOG_SCROLL_STRATEGY = new InjectionToken<() => ScrollStrategy>(\n 'mat-mdc-dialog-scroll-strategy',\n);\n\n/** @docs-private */\nexport function MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY(\n overlay: Overlay,\n): () => ScrollStrategy {\n return () => overlay.scrollStrategies.block();\n}\n\n/** @docs-private */\nexport const MAT_DIALOG_SCROLL_STRATEGY_PROVIDER = {\n provide: MAT_DIALOG_SCROLL_STRATEGY,\n deps: [Overlay],\n useFactory: MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY,\n};\n\n/**\n * Service to open Material Design modal dialogs.\n */\n@Injectable()\nexport class MatDialog extends _MatDialogBase<MatDialogContainer> {\n constructor(\n overlay: Overlay,\n injector: Injector,\n /**\n * @deprecated `_location` parameter to be removed.\n * @breaking-change 10.0.0\n */\n @Optional() location: Location,\n @Optional() @Inject(MAT_DIALOG_DEFAULT_OPTIONS) defaultOptions: MatDialogConfig,\n @Inject(MAT_DIALOG_SCROLL_STRATEGY) scrollStrategy: any,\n @Optional() @SkipSelf() parentDialog: MatDialog,\n overlayContainer: OverlayContainer,\n /**\n * @deprecated No longer used. To be removed.\n * @breaking-change 14.0.0\n */\n @Optional()\n @Inject(ANIMATION_MODULE_TYPE)\n animationMode?: 'NoopAnimations' | 'BrowserAnimations',\n ) {\n super(\n overlay,\n injector,\n defaultOptions,\n parentDialog,\n overlayContainer,\n scrollStrategy,\n MatDialogRef,\n MatDialogContainer,\n MAT_DIALOG_DATA,\n animationMode,\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 {\n Directive,\n ElementRef,\n Input,\n OnChanges,\n OnInit,\n Optional,\n SimpleChanges,\n} from '@angular/core';\nimport {_closeDialogVia} from '@angular/material/dialog';\n\nimport {MatDialog} from './dialog';\nimport {MatDialogRef} from './dialog-ref';\n\n/** Counter used to generate unique IDs for dialog elements. */\nlet dialogElementUid = 0;\n\n/**\n * Button that will close the current dialog.\n */\n@Directive({\n selector: '[mat-dialog-close], [matDialogClose]',\n exportAs: 'matDialogClose',\n host: {\n '(click)': '_onButtonClick($event)',\n '[attr.aria-label]': 'ariaLabel || null',\n '[attr.type]': 'type',\n },\n})\nexport class MatDialogClose implements OnInit, OnChanges {\n /** Screenreader label for the button. */\n @Input('aria-label') ariaLabel: string;\n\n /** Default to \"button\" to prevents accidental form submits. */\n @Input() type: 'submit' | 'button' | 'reset' = 'button';\n\n /** Dialog close input. */\n @Input('mat-dialog-close') dialogResult: any;\n\n @Input('matDialogClose') _matDialogClose: any;\n\n constructor(\n // The dialog title directive is always used in combination with a `MatDialogRef`.\n // tslint:disable-next-line: lightweight-tokens\n @Optional() public dialogRef: MatDialogRef<any>,\n private _elementRef: ElementRef<HTMLElement>,\n private _dialog: MatDialog,\n ) {}\n\n ngOnInit() {\n if (!this.dialogRef) {\n // When this directive is included in a dialog via TemplateRef (rather than being\n // in a Component), the DialogRef isn't available via injection because embedded\n // views cannot be given a custom injector. Instead, we look up the DialogRef by\n // ID. This must occur in `onInit`, as the ID binding for the dialog container won't\n // be resolved at constructor time.\n this.dialogRef = getClosestDialog(this._elementRef, this._dialog.openDialogs)!;\n }\n }\n\n ngOnChanges(changes: SimpleChanges) {\n const proxiedChange = changes['_matDialogClose'] || changes['_matDialogCloseResult'];\n\n if (proxiedChange) {\n this.dialogResult = proxiedChange.currentValue;\n }\n }\n\n _onButtonClick(event: MouseEvent) {\n // Determinate the focus origin using the click event, because using the FocusMonitor will\n // result in incorrect origins. Most of the time, close buttons will be auto focused in the\n // dialog, and therefore clicking the button won't result in a focus change. This means that\n // the FocusMonitor won't detect any origin change, and will always output `program`.\n _closeDialogVia(\n this.dialogRef,\n event.screenX === 0 && event.screenY === 0 ? 'keyboard' : 'mouse',\n this.dialogResult,\n );\n }\n}\n\n/**\n * Title of a dialog element. Stays fixed to the top of the dialog when scrolling.\n */\n@Directive({\n selector: '[mat-dialog-title], [matDialogTitle]',\n exportAs: 'matDialogTitle',\n host: {\n 'class': 'mat-mdc-dialog-title mdc-dialog__title',\n '[id]': 'id',\n },\n})\nexport class MatDialogTitle implements OnInit {\n @Input() id: string = `mat-mdc-dialog-title-${dialogElementUid++}`;\n\n constructor(\n // The dialog title directive is always used in combination with a `MatDialogRef`.\n // tslint:disable-next-line: lightweight-tokens\n @Optional() private _dialogRef: MatDialogRef<any>,\n private _elementRef: ElementRef<HTMLElement>,\n private _dialog: MatDialog,\n ) {}\n\n ngOnInit() {\n if (!this._dialogRef) {\n this._dialogRef = getClosestDialog(this._elementRef, this._dialog.openDialogs)!;\n }\n\n if (this._dialogRef) {\n Promise.resolve().then(() => {\n const container = this._dialogRef._containerInstance;\n\n if (container && !container._ariaLabelledBy) {\n container._ariaLabelledBy = this.id;\n }\n });\n }\n }\n}\n\n/**\n * Scrollable content container of a dialog.\n */\n@Directive({\n selector: `[mat-dialog-content], mat-dialog-content, [matDialogContent]`,\n host: {'class': 'mat-mdc-dialog-content mdc-dialog__content'},\n})\nexport class MatDialogContent {}\n\n/**\n * Container for the bottom action buttons in a dialog.\n * Stays fixed to the bottom when scrolling.\n */\n@Directive({\n selector: `[mat-dialog-actions], mat-dialog-actions, [matDialogActions]`,\n host: {\n 'class': 'mat-mdc-dialog-actions mdc-dialog__actions',\n '[class.mat-mdc-dialog-actions-align-center]': 'align === \"center\"',\n '[class.mat-mdc-dialog-actions-align-end]': 'align === \"end\"',\n },\n})\nexport class MatDialogActions {\n /**\n * Horizontal alignment of action buttons.\n */\n @Input() align?: 'start' | 'center' | 'end' = 'start';\n}\n\n/**\n * Finds the closest MatDialogRef to an element by looking at the DOM.\n * @param element Element relative to which to look for a dialog.\n * @param openDialogs References to the currently-open dialogs.\n */\nfunction getClosestDialog(element: ElementRef<HTMLElement>, openDialogs: MatDialogRef<any>[]) {\n let parent: HTMLElement | null = element.nativeElement.parentElement;\n\n while (parent && !parent.classList.contains('mat-mdc-dialog-container')) {\n parent = parent.parentElement;\n }\n\n return parent ? openDialogs.find(dialog => dialog.id === parent!.id) : null;\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 {OverlayModule} from '@angular/cdk/overlay';\nimport {PortalModule} from '@angular/cdk/portal';\nimport {NgModule} from '@angular/core';\nimport {MatCommonModule} from '@angular/material-experimental/mdc-core';\nimport {MAT_DIALOG_SCROLL_STRATEGY_PROVIDER, MatDialog} from './dialog';\nimport {MatDialogContainer} from './dialog-container';\nimport {\n MatDialogActions,\n MatDialogClose,\n MatDialogContent,\n MatDialogTitle,\n} from './dialog-content-directives';\n\n@NgModule({\n imports: [OverlayModule, PortalModule, MatCommonModule],\n exports: [\n MatDialogContainer,\n MatDialogClose,\n MatDialogTitle,\n MatDialogContent,\n MatDialogActions,\n MatCommonModule,\n ],\n declarations: [\n MatDialogContainer,\n MatDialogClose,\n MatDialogTitle,\n MatDialogActions,\n MatDialogContent,\n ],\n providers: [MatDialog, MAT_DIALOG_SCROLL_STRATEGY_PROVIDER],\n})\nexport class MatDialogModule {}\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';\nexport * from './dialog-ref';\nexport * from './dialog-content-directives';\nexport * from './dialog-container';\nexport * from './module';\n\nexport {\n AutoFocusTarget,\n MatDialogState,\n MatDialogConfig,\n matDialogAnimations,\n throwMatDialogContentAlreadyAttachedError,\n DialogRole,\n DialogPosition,\n MAT_DIALOG_SCROLL_STRATEGY_FACTORY,\n} from '@angular/material/dialog';\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":["NonMdcDialogRef","i1.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A,CAAA;kBAnB3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,aAAa,EAAE,YAAY,EAAE,eAAe,CAAC;AACvD,oBAAA,OAAO,EAAE;wBACP,kBAAkB;wBAClB,cAAc;wBACd,cAAc;wBACd,gBAAgB;wBAChB,gBAAgB;wBAChB,eAAe;AAChB,qBAAA;AACD,oBAAA,YAAY,EAAE;wBACZ,kBAAkB;wBAClB,cAAc;wBACd,cAAc;wBACd,gBAAgB;wBAChB,gBAAgB;AACjB,qBAAA;AACD,oBAAA,SAAS,EAAE,CAAC,SAAS,EAAE,mCAAmC,CAAC;AAC5D,iBAAA,CAAA;;;ACvCD;;;;;;AAMG;;ACNH;;;;;;AAMG;;ACNH;;AAEG;;;;"}
1
+ {"version":3,"file":"mdc-dialog.mjs","sources":["../../../../../../src/material-experimental/mdc-dialog/dialog-container.ts","../../../../../../src/material-experimental/mdc-dialog/dialog-container.html","../../../../../../src/material-experimental/mdc-dialog/dialog-ref.ts","../../../../../../src/material-experimental/mdc-dialog/dialog.ts","../../../../../../src/material-experimental/mdc-dialog/dialog-content-directives.ts","../../../../../../src/material-experimental/mdc-dialog/module.ts","../../../../../../src/material-experimental/mdc-dialog/public-api.ts","../../../../../../src/material-experimental/mdc-dialog/index.ts","../../../../../../src/material-experimental/mdc-dialog/mdc-dialog_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 {FocusMonitor, FocusTrapFactory, InteractivityChecker} from '@angular/cdk/a11y';\nimport {OverlayRef} from '@angular/cdk/overlay';\nimport {DOCUMENT} from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n Inject,\n OnDestroy,\n Optional,\n ViewEncapsulation,\n NgZone,\n} from '@angular/core';\nimport {MatDialogConfig, _MatDialogContainerBase} from '@angular/material/dialog';\nimport {ANIMATION_MODULE_TYPE} from '@angular/platform-browser/animations';\nimport {cssClasses, numbers} from '@material/dialog';\n\n/**\n * Internal component that wraps user-provided dialog content in a MDC dialog.\n * @docs-private\n */\n@Component({\n selector: 'mat-dialog-container',\n templateUrl: 'dialog-container.html',\n styleUrls: ['dialog.css'],\n encapsulation: ViewEncapsulation.None,\n // Disabled for consistency with the non-MDC dialog container.\n // tslint:disable-next-line:validate-decorators\n changeDetection: ChangeDetectionStrategy.Default,\n host: {\n 'class': 'mat-mdc-dialog-container mdc-dialog',\n 'tabindex': '-1',\n '[attr.aria-modal]': '_config.ariaModal',\n '[id]': '_config.id',\n '[attr.role]': '_config.role',\n '[attr.aria-labelledby]': '_config.ariaLabel ? null : _ariaLabelledBy',\n '[attr.aria-label]': '_config.ariaLabel',\n '[attr.aria-describedby]': '_config.ariaDescribedBy || null',\n '[class._mat-animation-noopable]': '!_animationsEnabled',\n },\n})\nexport class MatDialogContainer extends _MatDialogContainerBase implements OnDestroy {\n /** Whether animations are enabled. */\n _animationsEnabled: boolean = this._animationMode !== 'NoopAnimations';\n\n /** Host element of the dialog container component. */\n private _hostElement: HTMLElement = this._elementRef.nativeElement;\n /** Duration of the dialog open animation. */\n private _openAnimationDuration = this._animationsEnabled\n ? numbers.DIALOG_ANIMATION_OPEN_TIME_MS\n : 0;\n /** Duration of the dialog close animation. */\n private _closeAnimationDuration = this._animationsEnabled\n ? numbers.DIALOG_ANIMATION_CLOSE_TIME_MS\n : 0;\n /** Current timer for dialog animations. */\n private _animationTimer: number | null = null;\n\n constructor(\n elementRef: ElementRef,\n focusTrapFactory: FocusTrapFactory,\n @Optional() @Inject(DOCUMENT) document: any,\n dialogConfig: MatDialogConfig,\n checker: InteractivityChecker,\n ngZone: NgZone,\n overlayRef: OverlayRef,\n @Optional() @Inject(ANIMATION_MODULE_TYPE) private _animationMode?: string,\n focusMonitor?: FocusMonitor,\n ) {\n super(\n elementRef,\n focusTrapFactory,\n document,\n dialogConfig,\n checker,\n ngZone,\n overlayRef,\n focusMonitor,\n );\n }\n\n protected override _contentAttached(): void {\n // Delegate to the original dialog-container initialization (i.e. saving the\n // previous element, setting up the focus trap and moving focus to the container).\n super._contentAttached();\n\n // Note: Usually we would be able to use the MDC dialog foundation here to handle\n // the dialog animation for us, but there are a few reasons why we just leverage\n // their styles and not use the runtime foundation code:\n // 1. Foundation does not allow us to disable animations.\n // 2. Foundation contains unnecessary features we don't need and aren't\n // tree-shakeable. e.g. background scrim, keyboard event handlers for ESC button.\n // 3. Foundation uses unnecessary timers for animations to work around limitations\n // in React's `setState` mechanism.\n // https://github.com/material-components/material-components-web/pull/3682.\n this._startOpenAnimation();\n }\n\n override ngOnDestroy() {\n super.ngOnDestroy();\n\n if (this._animationTimer !== null) {\n clearTimeout(this._animationTimer);\n }\n }\n\n /** Starts the dialog open animation if enabled. */\n private _startOpenAnimation() {\n this._animationStateChanged.emit({state: 'opening', totalTime: this._openAnimationDuration});\n\n if (this._animationsEnabled) {\n // One would expect that the open class is added once the animation finished, but MDC\n // uses the open class in combination with the opening class to start the animation.\n this._hostElement.classList.add(cssClasses.OPENING);\n this._hostElement.classList.add(cssClasses.OPEN);\n this._waitForAnimationToComplete(this._openAnimationDuration, this._finishDialogOpen);\n } else {\n this._hostElement.classList.add(cssClasses.OPEN);\n // Note: We could immediately finish the dialog opening here with noop animations,\n // but we defer until next tick so that consumers can subscribe to `afterOpened`.\n // Executing this immediately would mean that `afterOpened` emits synchronously\n // on `dialog.open` before the consumer had a change to subscribe to `afterOpened`.\n Promise.resolve().then(() => this._finishDialogOpen());\n }\n }\n\n /**\n * Starts the exit animation of the dialog if enabled. This method is\n * called by the dialog ref.\n */\n _startExitAnimation(): void {\n this._animationStateChanged.emit({state: 'closing', totalTime: this._closeAnimationDuration});\n this._hostElement.classList.remove(cssClasses.OPEN);\n\n if (this._animationsEnabled) {\n this._hostElement.classList.add(cssClasses.CLOSING);\n this._waitForAnimationToComplete(this._closeAnimationDuration, this._finishDialogClose);\n } else {\n // This subscription to the `OverlayRef#backdropClick` observable in the `DialogRef` is\n // set up before any user can subscribe to the backdrop click. The subscription triggers\n // the dialog close and this method synchronously. If we'd synchronously emit the `CLOSED`\n // animation state event if animations are disabled, the overlay would be disposed\n // immediately and all other subscriptions to `DialogRef#backdropClick` would be silently\n // skipped. We work around this by waiting with the dialog close until the next tick when\n // all subscriptions have been fired as expected. This is not an ideal solution, but\n // there doesn't seem to be any other good way. Alternatives that have been considered:\n // 1. Deferring `DialogRef.close`. This could be a breaking change due to a new microtask.\n // Also this issue is specific to the MDC implementation where the dialog could\n // technically be closed synchronously. In the non-MDC one, Angular animations are used\n // and closing always takes at least a tick.\n // 2. Ensuring that user subscriptions to `backdropClick`, `keydownEvents` in the dialog\n // ref are first. This would solve the issue, but has the risk of memory leaks and also\n // doesn't solve the case where consumers call `DialogRef.close` in their subscriptions.\n // Based on the fact that this is specific to the MDC-based implementation of the dialog\n // animations, the defer is applied here.\n Promise.resolve().then(() => this._finishDialogClose());\n }\n }\n\n /**\n * Completes the dialog open by clearing potential animation classes, trapping\n * focus and emitting an opened event.\n */\n private _finishDialogOpen = () => {\n this._clearAnimationClasses();\n this._openAnimationDone(this._openAnimationDuration);\n };\n\n /**\n * Completes the dialog close by clearing potential animation classes, restoring\n * focus and emitting a closed event.\n */\n private _finishDialogClose = () => {\n this._clearAnimationClasses();\n this._animationStateChanged.emit({state: 'closed', totalTime: this._closeAnimationDuration});\n };\n\n /** Clears all dialog animation classes. */\n private _clearAnimationClasses() {\n this._hostElement.classList.remove(cssClasses.OPENING);\n this._hostElement.classList.remove(cssClasses.CLOSING);\n }\n\n private _waitForAnimationToComplete(duration: number, callback: () => void) {\n if (this._animationTimer !== null) {\n clearTimeout(this._animationTimer);\n }\n\n // Note that we want this timer to run inside the NgZone, because we want\n // the related events like `afterClosed` to be inside the zone as well.\n this._animationTimer = setTimeout(callback, duration);\n }\n}\n","<div class=\"mdc-dialog__container\">\n <div class=\"mat-mdc-dialog-surface mdc-dialog__surface\">\n <ng-template cdkPortalOutlet></ng-template>\n </div>\n</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 {MatDialogRef as NonMdcDialogRef} from '@angular/material/dialog';\n\n/**\n * Reference to a dialog opened via the MatDialog service.\n */\nexport class MatDialogRef<T, R = any> extends NonMdcDialogRef<T, R> {}\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 {Overlay, OverlayContainer, ScrollStrategy} from '@angular/cdk/overlay';\nimport {Location} from '@angular/common';\nimport {\n ANIMATION_MODULE_TYPE,\n Inject,\n Injectable,\n InjectionToken,\n Injector,\n Optional,\n SkipSelf,\n} from '@angular/core';\nimport {_MatDialogBase, MatDialogConfig} from '@angular/material/dialog';\nimport {MatDialogContainer} from './dialog-container';\nimport {MatDialogRef} from './dialog-ref';\n\n/** Injection token that can be used to access the data that was passed in to a dialog. */\nexport const MAT_DIALOG_DATA = new InjectionToken<any>('MatMdcDialogData');\n\n/** Injection token that can be used to specify default dialog options. */\nexport const MAT_DIALOG_DEFAULT_OPTIONS = new InjectionToken<MatDialogConfig>(\n 'mat-mdc-dialog-default-options',\n);\n\n/** Injection token that determines the scroll handling while the dialog is open. */\nexport const MAT_DIALOG_SCROLL_STRATEGY = new InjectionToken<() => ScrollStrategy>(\n 'mat-mdc-dialog-scroll-strategy',\n);\n\n/** @docs-private */\nexport function MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY(\n overlay: Overlay,\n): () => ScrollStrategy {\n return () => overlay.scrollStrategies.block();\n}\n\n/** @docs-private */\nexport const MAT_DIALOG_SCROLL_STRATEGY_PROVIDER = {\n provide: MAT_DIALOG_SCROLL_STRATEGY,\n deps: [Overlay],\n useFactory: MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY,\n};\n\n/**\n * Service to open Material Design modal dialogs.\n */\n@Injectable()\nexport class MatDialog extends _MatDialogBase<MatDialogContainer> {\n constructor(\n overlay: Overlay,\n injector: Injector,\n /**\n * @deprecated `_location` parameter to be removed.\n * @breaking-change 10.0.0\n */\n @Optional() location: Location,\n @Optional() @Inject(MAT_DIALOG_DEFAULT_OPTIONS) defaultOptions: MatDialogConfig,\n @Inject(MAT_DIALOG_SCROLL_STRATEGY) scrollStrategy: any,\n @Optional() @SkipSelf() parentDialog: MatDialog,\n /**\n * @deprecated No longer used. To be removed.\n * @breaking-change 15.0.0\n */\n overlayContainer: OverlayContainer,\n /**\n * @deprecated No longer used. To be removed.\n * @breaking-change 14.0.0\n */\n @Optional()\n @Inject(ANIMATION_MODULE_TYPE)\n animationMode?: 'NoopAnimations' | 'BrowserAnimations',\n ) {\n super(\n overlay,\n injector,\n defaultOptions,\n parentDialog,\n overlayContainer,\n scrollStrategy,\n MatDialogRef,\n MatDialogContainer,\n MAT_DIALOG_DATA,\n animationMode,\n );\n\n this._idPrefix = 'mat-mdc-dialog-';\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 {\n Directive,\n ElementRef,\n Input,\n OnChanges,\n OnInit,\n Optional,\n SimpleChanges,\n} from '@angular/core';\nimport {_closeDialogVia} from '@angular/material/dialog';\n\nimport {MatDialog} from './dialog';\nimport {MatDialogRef} from './dialog-ref';\n\n/** Counter used to generate unique IDs for dialog elements. */\nlet dialogElementUid = 0;\n\n/**\n * Button that will close the current dialog.\n */\n@Directive({\n selector: '[mat-dialog-close], [matDialogClose]',\n exportAs: 'matDialogClose',\n host: {\n '(click)': '_onButtonClick($event)',\n '[attr.aria-label]': 'ariaLabel || null',\n '[attr.type]': 'type',\n },\n})\nexport class MatDialogClose implements OnInit, OnChanges {\n /** Screenreader label for the button. */\n @Input('aria-label') ariaLabel: string;\n\n /** Default to \"button\" to prevents accidental form submits. */\n @Input() type: 'submit' | 'button' | 'reset' = 'button';\n\n /** Dialog close input. */\n @Input('mat-dialog-close') dialogResult: any;\n\n @Input('matDialogClose') _matDialogClose: any;\n\n constructor(\n // The dialog title directive is always used in combination with a `MatDialogRef`.\n // tslint:disable-next-line: lightweight-tokens\n @Optional() public dialogRef: MatDialogRef<any>,\n private _elementRef: ElementRef<HTMLElement>,\n private _dialog: MatDialog,\n ) {}\n\n ngOnInit() {\n if (!this.dialogRef) {\n // When this directive is included in a dialog via TemplateRef (rather than being\n // in a Component), the DialogRef isn't available via injection because embedded\n // views cannot be given a custom injector. Instead, we look up the DialogRef by\n // ID. This must occur in `onInit`, as the ID binding for the dialog container won't\n // be resolved at constructor time.\n this.dialogRef = getClosestDialog(this._elementRef, this._dialog.openDialogs)!;\n }\n }\n\n ngOnChanges(changes: SimpleChanges) {\n const proxiedChange = changes['_matDialogClose'] || changes['_matDialogCloseResult'];\n\n if (proxiedChange) {\n this.dialogResult = proxiedChange.currentValue;\n }\n }\n\n _onButtonClick(event: MouseEvent) {\n // Determinate the focus origin using the click event, because using the FocusMonitor will\n // result in incorrect origins. Most of the time, close buttons will be auto focused in the\n // dialog, and therefore clicking the button won't result in a focus change. This means that\n // the FocusMonitor won't detect any origin change, and will always output `program`.\n _closeDialogVia(\n this.dialogRef,\n event.screenX === 0 && event.screenY === 0 ? 'keyboard' : 'mouse',\n this.dialogResult,\n );\n }\n}\n\n/**\n * Title of a dialog element. Stays fixed to the top of the dialog when scrolling.\n */\n@Directive({\n selector: '[mat-dialog-title], [matDialogTitle]',\n exportAs: 'matDialogTitle',\n host: {\n 'class': 'mat-mdc-dialog-title mdc-dialog__title',\n '[id]': 'id',\n },\n})\nexport class MatDialogTitle implements OnInit {\n @Input() id: string = `mat-mdc-dialog-title-${dialogElementUid++}`;\n\n constructor(\n // The dialog title directive is always used in combination with a `MatDialogRef`.\n // tslint:disable-next-line: lightweight-tokens\n @Optional() private _dialogRef: MatDialogRef<any>,\n private _elementRef: ElementRef<HTMLElement>,\n private _dialog: MatDialog,\n ) {}\n\n ngOnInit() {\n if (!this._dialogRef) {\n this._dialogRef = getClosestDialog(this._elementRef, this._dialog.openDialogs)!;\n }\n\n if (this._dialogRef) {\n Promise.resolve().then(() => {\n const container = this._dialogRef._containerInstance;\n\n if (container && !container._ariaLabelledBy) {\n container._ariaLabelledBy = this.id;\n }\n });\n }\n }\n}\n\n/**\n * Scrollable content container of a dialog.\n */\n@Directive({\n selector: `[mat-dialog-content], mat-dialog-content, [matDialogContent]`,\n host: {'class': 'mat-mdc-dialog-content mdc-dialog__content'},\n})\nexport class MatDialogContent {}\n\n/**\n * Container for the bottom action buttons in a dialog.\n * Stays fixed to the bottom when scrolling.\n */\n@Directive({\n selector: `[mat-dialog-actions], mat-dialog-actions, [matDialogActions]`,\n host: {\n 'class': 'mat-mdc-dialog-actions mdc-dialog__actions',\n '[class.mat-mdc-dialog-actions-align-center]': 'align === \"center\"',\n '[class.mat-mdc-dialog-actions-align-end]': 'align === \"end\"',\n },\n})\nexport class MatDialogActions {\n /**\n * Horizontal alignment of action buttons.\n */\n @Input() align?: 'start' | 'center' | 'end' = 'start';\n}\n\n/**\n * Finds the closest MatDialogRef to an element by looking at the DOM.\n * @param element Element relative to which to look for a dialog.\n * @param openDialogs References to the currently-open dialogs.\n */\nfunction getClosestDialog(element: ElementRef<HTMLElement>, openDialogs: MatDialogRef<any>[]) {\n let parent: HTMLElement | null = element.nativeElement.parentElement;\n\n while (parent && !parent.classList.contains('mat-mdc-dialog-container')) {\n parent = parent.parentElement;\n }\n\n return parent ? openDialogs.find(dialog => dialog.id === parent!.id) : null;\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 {DialogModule} from '@angular/cdk/dialog';\nimport {OverlayModule} from '@angular/cdk/overlay';\nimport {PortalModule} from '@angular/cdk/portal';\nimport {NgModule} from '@angular/core';\nimport {MatCommonModule} from '@angular/material-experimental/mdc-core';\nimport {MAT_DIALOG_SCROLL_STRATEGY_PROVIDER, MatDialog} from './dialog';\nimport {MatDialogContainer} from './dialog-container';\nimport {\n MatDialogActions,\n MatDialogClose,\n MatDialogContent,\n MatDialogTitle,\n} from './dialog-content-directives';\n\n@NgModule({\n imports: [DialogModule, OverlayModule, PortalModule, MatCommonModule],\n exports: [\n MatDialogContainer,\n MatDialogClose,\n MatDialogTitle,\n MatDialogContent,\n MatDialogActions,\n MatCommonModule,\n ],\n declarations: [\n MatDialogContainer,\n MatDialogClose,\n MatDialogTitle,\n MatDialogActions,\n MatDialogContent,\n ],\n providers: [MatDialog, MAT_DIALOG_SCROLL_STRATEGY_PROVIDER],\n})\nexport class MatDialogModule {}\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';\nexport * from './dialog-ref';\nexport * from './dialog-content-directives';\nexport * from './dialog-container';\nexport * from './module';\n\nexport {\n AutoFocusTarget,\n MatDialogState,\n MatDialogConfig,\n matDialogAnimations,\n DialogRole,\n DialogPosition,\n MAT_DIALOG_SCROLL_STRATEGY_FACTORY,\n} from '@angular/material/dialog';\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":["i3","NonMdcDialogRef","ANIMATION_MODULE_TYPE","i1.MatDialogRef","i2.MatDialog"],"mappings":";;;;;;;;;;;;;;;;;AAAA;;;;;;AAMG;AAmBH;;;AAGG;AAqBG,MAAO,kBAAmB,SAAQ,uBAAuB,CAAA;AAiB7D,IAAA,WAAA,CACE,UAAsB,EACtB,gBAAkC,EACJ,QAAa,EAC3C,YAA6B,EAC7B,OAA6B,EAC7B,MAAc,EACd,UAA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AE,mCAAmC,CAAC;AAC5D,iBAAA,CAAA;;;ACxCD;;;;;;AAMG;;ACNH;;;;;;AAMG;;ACNH;;AAEG;;;;"}
@@ -28,13 +28,13 @@ class MatFormFieldHarness extends _MatFormFieldHarnessBase {
28
28
  this._mdcTextField = this.locatorFor('.mat-mdc-text-field-wrapper');
29
29
  }
30
30
  /**
31
- * Gets a `HarnessPredicate` that can be used to search for a `MatFormFieldHarness` that meets
32
- * certain criteria.
31
+ * Gets a `HarnessPredicate` that can be used to search for a form field with specific
32
+ * attributes.
33
33
  * @param options Options for filtering which form field instances are considered a match.
34
34
  * @return a `HarnessPredicate` configured with the given options.
35
35
  */
36
36
  static with(options = {}) {
37
- return new HarnessPredicate(MatFormFieldHarness, options)
37
+ return new HarnessPredicate(this, options)
38
38
  .addOption('floatingLabelText', options.floatingLabelText, async (harness, text) => HarnessPredicate.stringMatches(await harness.getLabel(), text))
39
39
  .addOption('hasErrors', options.hasErrors, async (harness, hasErrors) => (await harness.hasErrors()) === hasErrors);
40
40
  }
@@ -1 +1 @@
1
- {"version":3,"file":"testing.mjs","sources":["../../../../../../../src/material-experimental/mdc-form-field/testing/form-field-harness.ts","../../../../../../../src/material-experimental/mdc-form-field/testing/public-api.ts","../../../../../../../src/material-experimental/mdc-form-field/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 {HarnessPredicate} from '@angular/cdk/testing';\nimport {\n FormFieldHarnessFilters,\n _MatFormFieldHarnessBase,\n} from '@angular/material/form-field/testing';\nimport {MatInputHarness} from '@angular/material-experimental/mdc-input/testing';\nimport {MatSelectHarness} from '@angular/material-experimental/mdc-select/testing';\nimport {\n MatDatepickerInputHarness,\n MatDateRangeInputHarness,\n} from '@angular/material/datepicker/testing';\n\n// TODO(devversion): support support chip list harness\n/** Possible harnesses of controls which can be bound to a form-field. */\nexport type FormFieldControlHarness =\n | MatInputHarness\n | MatSelectHarness\n | MatDatepickerInputHarness\n | MatDateRangeInputHarness;\n\n/** Harness for interacting with a MDC-based form-field's in tests. */\nexport class MatFormFieldHarness extends _MatFormFieldHarnessBase<FormFieldControlHarness> {\n static hostSelector = '.mat-mdc-form-field';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatFormFieldHarness` that meets\n * certain criteria.\n * @param options Options for filtering which form field instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(options: FormFieldHarnessFilters = {}): HarnessPredicate<MatFormFieldHarness> {\n return new HarnessPredicate(MatFormFieldHarness, options)\n .addOption('floatingLabelText', options.floatingLabelText, async (harness, text) =>\n HarnessPredicate.stringMatches(await harness.getLabel(), text),\n )\n .addOption(\n 'hasErrors',\n options.hasErrors,\n async (harness, hasErrors) => (await harness.hasErrors()) === hasErrors,\n );\n }\n\n protected _prefixContainer = this.locatorForOptional('.mat-mdc-form-field-text-prefix');\n protected _suffixContainer = this.locatorForOptional('.mat-mdc-form-field-text-suffix');\n protected _label = this.locatorForOptional('.mdc-floating-label');\n protected _errors = this.locatorForAll('.mat-mdc-form-field-error');\n protected _hints = this.locatorForAll('.mat-mdc-form-field-hint');\n protected _inputControl = this.locatorForOptional(MatInputHarness);\n protected _selectControl = this.locatorForOptional(MatSelectHarness);\n protected _datepickerInputControl = this.locatorForOptional(MatDatepickerInputHarness);\n protected _dateRangeInputControl = this.locatorForOptional(MatDateRangeInputHarness);\n private _mdcTextField = this.locatorFor('.mat-mdc-text-field-wrapper');\n\n /** Gets the appearance of the form-field. */\n async getAppearance(): Promise<'fill' | 'outline'> {\n const textFieldEl = await this._mdcTextField();\n if (await textFieldEl.hasClass('mdc-text-field--outlined')) {\n return 'outline';\n }\n return 'fill';\n }\n\n /** Whether the form-field has a label. */\n async hasLabel(): Promise<boolean> {\n return (await this._label()) !== null;\n }\n\n /** Whether the label is currently floating. */\n async isLabelFloating(): Promise<boolean> {\n const labelEl = await this._label();\n return labelEl !== null ? await labelEl.hasClass('mdc-floating-label--float-above') : false;\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\n// Re-export the base control harness from the \"form-field/testing/control\" entry-point. To\n// avoid circular dependencies, harnesses for form-field controls (i.e. input, select)\n// need to import the base form-field control harness through a separate entry-point.\nexport {MatFormFieldControlHarness} from '@angular/material/form-field/testing/control';\n\nexport {FormFieldHarnessFilters} from '@angular/material/form-field/testing';\nexport * from './form-field-harness';\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;;;;;;AAMG;AAsBH;AACM,MAAO,mBAAoB,SAAQ,wBAAiD,CAAA;AAA1F,IAAA,WAAA,GAAA;;AAqBY,QAAA,IAAA,CAAA,gBAAgB,GAAG,IAAI,CAAC,kBAAkB,CAAC,iCAAiC,CAAC,CAAC;AAC9E,QAAA,IAAA,CAAA,gBAAgB,GAAG,IAAI,CAAC,kBAAkB,CAAC,iCAAiC,CAAC,CAAC;AAC9E,QAAA,IAAA,CAAA,MAAM,GAAG,IAAI,CAAC,kBAAkB,CAAC,qBAAqB,CAAC,CAAC;AACxD,QAAA,IAAA,CAAA,OAAO,GAAG,IAAI,CAAC,aAAa,CAAC,2BAA2B,CAAC,CAAC;AAC1D,QAAA,IAAA,CAAA,MAAM,GAAG,IAAI,CAAC,aAAa,CAAC,0BAA0B,CAAC,CAAC;AACxD,QAAA,IAAA,CAAA,aAAa,GAAG,IAAI,CAAC,kBAAkB,CAAC,eAAe,CAAC,CAAC;AACzD,QAAA,IAAA,CAAA,cAAc,GAAG,IAAI,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,CAAC;AAC3D,QAAA,IAAA,CAAA,uBAAuB,GAAG,IAAI,CAAC,kBAAkB,CAAC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CAAA,YAAA,GAAG,qBAAqB;;AC9B7C;;;;;;AAMG;;ACNH;;;;;;AAMG;;;;"}
1
+ {"version":3,"file":"testing.mjs","sources":["../../../../../../../src/material-experimental/mdc-form-field/testing/form-field-harness.ts","../../../../../../../src/material-experimental/mdc-form-field/testing/public-api.ts","../../../../../../../src/material-experimental/mdc-form-field/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 {ComponentHarnessConstructor, HarnessPredicate} from '@angular/cdk/testing';\nimport {\n FormFieldHarnessFilters,\n _MatFormFieldHarnessBase,\n} from '@angular/material/form-field/testing';\nimport {MatInputHarness} from '@angular/material-experimental/mdc-input/testing';\nimport {MatSelectHarness} from '@angular/material-experimental/mdc-select/testing';\nimport {\n MatDatepickerInputHarness,\n MatDateRangeInputHarness,\n} from '@angular/material/datepicker/testing';\n\n// TODO(devversion): support support chip list harness\n/** Possible harnesses of controls which can be bound to a form-field. */\nexport type FormFieldControlHarness =\n | MatInputHarness\n | MatSelectHarness\n | MatDatepickerInputHarness\n | MatDateRangeInputHarness;\n\n/** Harness for interacting with a MDC-based form-field's in tests. */\nexport class MatFormFieldHarness extends _MatFormFieldHarnessBase<FormFieldControlHarness> {\n static hostSelector = '.mat-mdc-form-field';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a form field with specific\n * attributes.\n * @param options Options for filtering which form field instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with<T extends MatFormFieldHarness>(\n this: ComponentHarnessConstructor<T>,\n options: FormFieldHarnessFilters = {},\n ): HarnessPredicate<T> {\n return new HarnessPredicate(this, options)\n .addOption('floatingLabelText', options.floatingLabelText, async (harness, text) =>\n HarnessPredicate.stringMatches(await harness.getLabel(), text),\n )\n .addOption(\n 'hasErrors',\n options.hasErrors,\n async (harness, hasErrors) => (await harness.hasErrors()) === hasErrors,\n );\n }\n\n protected _prefixContainer = this.locatorForOptional('.mat-mdc-form-field-text-prefix');\n protected _suffixContainer = this.locatorForOptional('.mat-mdc-form-field-text-suffix');\n protected _label = this.locatorForOptional('.mdc-floating-label');\n protected _errors = this.locatorForAll('.mat-mdc-form-field-error');\n protected _hints = this.locatorForAll('.mat-mdc-form-field-hint');\n protected _inputControl = this.locatorForOptional(MatInputHarness);\n protected _selectControl = this.locatorForOptional(MatSelectHarness);\n protected _datepickerInputControl = this.locatorForOptional(MatDatepickerInputHarness);\n protected _dateRangeInputControl = this.locatorForOptional(MatDateRangeInputHarness);\n private _mdcTextField = this.locatorFor('.mat-mdc-text-field-wrapper');\n\n /** Gets the appearance of the form-field. */\n async getAppearance(): Promise<'fill' | 'outline'> {\n const textFieldEl = await this._mdcTextField();\n if (await textFieldEl.hasClass('mdc-text-field--outlined')) {\n return 'outline';\n }\n return 'fill';\n }\n\n /** Whether the form-field has a label. */\n async hasLabel(): Promise<boolean> {\n return (await this._label()) !== null;\n }\n\n /** Whether the label is currently floating. */\n async isLabelFloating(): Promise<boolean> {\n const labelEl = await this._label();\n return labelEl !== null ? await labelEl.hasClass('mdc-floating-label--float-above') : false;\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\n// Re-export the base control harness from the \"form-field/testing/control\" entry-point. To\n// avoid circular dependencies, harnesses for form-field controls (i.e. input, select)\n// need to import the base form-field control harness through a separate entry-point.\nexport {MatFormFieldControlHarness} from '@angular/material/form-field/testing/control';\n\nexport {FormFieldHarnessFilters} from '@angular/material/form-field/testing';\nexport * from './form-field-harness';\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;;;;;;AAMG;AAsBH;AACM,MAAO,mBAAoB,SAAQ,wBAAiD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