@depup/angular__material 21.2.2-depup.19

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 (578) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +31 -0
  3. package/_index.scss +145 -0
  4. package/autocomplete/_autocomplete-theme.scss +76 -0
  5. package/autocomplete/_m2-autocomplete.scss +19 -0
  6. package/autocomplete/_m3-autocomplete.scss +26 -0
  7. package/badge/_badge-theme.scss +106 -0
  8. package/badge/_m2-badge.scss +73 -0
  9. package/badge/_m3-badge.scss +52 -0
  10. package/bottom-sheet/_bottom-sheet-theme.scss +76 -0
  11. package/bottom-sheet/_m2-bottom-sheet.scss +24 -0
  12. package/bottom-sheet/_m3-bottom-sheet.scss +25 -0
  13. package/button/_button-theme.scss +113 -0
  14. package/button/_fab-theme.scss +111 -0
  15. package/button/_icon-button-theme.scss +136 -0
  16. package/button/_m2-button.scss +194 -0
  17. package/button/_m2-fab.scss +101 -0
  18. package/button/_m2-icon-button.scss +59 -0
  19. package/button/_m3-button.scss +170 -0
  20. package/button/_m3-fab.scss +92 -0
  21. package/button/_m3-icon-button.scss +54 -0
  22. package/button-toggle/_button-toggle-theme.scss +93 -0
  23. package/button-toggle/_m2-button-toggle.scss +68 -0
  24. package/button-toggle/_m3-button-toggle.scss +72 -0
  25. package/card/_card-theme.scss +76 -0
  26. package/card/_m2-card.scss +39 -0
  27. package/card/_m3-card.scss +44 -0
  28. package/changes.json +10 -0
  29. package/checkbox/_checkbox-theme.scss +105 -0
  30. package/checkbox/_m2-checkbox.scss +78 -0
  31. package/checkbox/_m3-checkbox.scss +68 -0
  32. package/chips/_chips-theme.scss +115 -0
  33. package/chips/_m2-chip.scss +85 -0
  34. package/chips/_m3-chip.scss +81 -0
  35. package/core/_core-theme.scss +125 -0
  36. package/core/_core.scss +50 -0
  37. package/core/_m2-app.scss +24 -0
  38. package/core/_m3-app.scss +44 -0
  39. package/core/color/_all-color.scss +17 -0
  40. package/core/density/private/_all-density.scss +78 -0
  41. package/core/focus-indicators/_private.scss +126 -0
  42. package/core/m2/_index.scss +52 -0
  43. package/core/m2/_palette.scss +748 -0
  44. package/core/m2/_theming.scss +340 -0
  45. package/core/m2/_typography-utils.scss +81 -0
  46. package/core/m2/_typography.scss +388 -0
  47. package/core/option/_m2-optgroup.scss +21 -0
  48. package/core/option/_m2-option.scss +38 -0
  49. package/core/option/_m3-optgroup.scss +25 -0
  50. package/core/option/_m3-option.scss +37 -0
  51. package/core/option/_optgroup-theme.scss +76 -0
  52. package/core/option/_option-theme.scss +103 -0
  53. package/core/ripple/_m2-ripple.scss +17 -0
  54. package/core/ripple/_m3-ripple.scss +17 -0
  55. package/core/ripple/_ripple-theme.scss +75 -0
  56. package/core/ripple/_ripple.scss +56 -0
  57. package/core/selection/pseudo-checkbox/_m2-pseudo-checkbox.scss +32 -0
  58. package/core/selection/pseudo-checkbox/_m3-pseudo-checkbox.scss +34 -0
  59. package/core/selection/pseudo-checkbox/_pseudo-checkbox-common.scss +86 -0
  60. package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +110 -0
  61. package/core/style/_checkbox-common.scss +11 -0
  62. package/core/style/_elevation.scss +208 -0
  63. package/core/style/_layout-common.scss +8 -0
  64. package/core/style/_private.scss +27 -0
  65. package/core/style/_sass-utils.scss +57 -0
  66. package/core/style/_validation.scss +52 -0
  67. package/core/style/_variables.scss +44 -0
  68. package/core/style/_vendor-prefixes.scss +56 -0
  69. package/core/theming/_all-theme.scss +168 -0
  70. package/core/theming/_color-api-backwards-compatibility.scss +159 -0
  71. package/core/theming/_config-validation.scss +174 -0
  72. package/core/theming/_definition.scss +141 -0
  73. package/core/theming/_inspection.scss +289 -0
  74. package/core/theming/_m2-inspection.scss +243 -0
  75. package/core/theming/_palettes.scss +1036 -0
  76. package/core/theming/_theming.scss +193 -0
  77. package/core/theming/_validation.scss +5 -0
  78. package/core/tokens/_classes.scss +398 -0
  79. package/core/tokens/_m2-utils.scss +25 -0
  80. package/core/tokens/_m3-tokens.scss +126 -0
  81. package/core/tokens/_m3-utils.scss +36 -0
  82. package/core/tokens/_system.scss +398 -0
  83. package/core/tokens/_token-utils.scss +119 -0
  84. package/core/tokens/m2/_index.scss +6 -0
  85. package/core/tokens/m2/_md-sys-color-internal.scss +11 -0
  86. package/core/tokens/m2/_md-sys-color.scss +123 -0
  87. package/core/tokens/m2/_md-sys-elevation.scss +10 -0
  88. package/core/tokens/m2/_md-sys-motion.scss +30 -0
  89. package/core/tokens/m2/_md-sys-shape.scss +16 -0
  90. package/core/tokens/m2/_md-sys-state.scss +8 -0
  91. package/core/tokens/m2/_md-sys-typescale.scss +68 -0
  92. package/core/tokens/m3/_index.scss +7 -0
  93. package/core/tokens/m3/_md-sys-color-internal.scss +11 -0
  94. package/core/tokens/m3/_md-sys-color.scss +118 -0
  95. package/core/tokens/m3/_md-sys-elevation.scss +15 -0
  96. package/core/tokens/m3/_md-sys-motion.scss +35 -0
  97. package/core/tokens/m3/_md-sys-shape.scss +21 -0
  98. package/core/tokens/m3/_md-sys-state.scss +13 -0
  99. package/core/tokens/m3/_md-sys-typescale-internal.scss +5 -0
  100. package/core/tokens/m3/_md-sys-typescale.scss +114 -0
  101. package/core/tokens/m3/_theme.scss +35 -0
  102. package/core/typography/_all-typography.scss +104 -0
  103. package/core/typography/_typography-utils.scss +31 -0
  104. package/core/typography/_typography.scss +269 -0
  105. package/core/typography/_versioning.scss +90 -0
  106. package/datepicker/_datepicker-theme.scss +132 -0
  107. package/datepicker/_m2-datepicker.scss +81 -0
  108. package/datepicker/_m3-datepicker.scss +74 -0
  109. package/dialog/_dialog-legacy-padding.scss +31 -0
  110. package/dialog/_dialog-theme.scss +76 -0
  111. package/dialog/_m2-dialog.scss +43 -0
  112. package/dialog/_m3-dialog.scss +47 -0
  113. package/divider/_divider-theme.scss +75 -0
  114. package/divider/_m2-divider.scss +17 -0
  115. package/divider/_m3-divider.scss +19 -0
  116. package/expansion/_expansion-theme.scss +76 -0
  117. package/expansion/_m2-expansion.scss +64 -0
  118. package/expansion/_m3-expansion.scss +61 -0
  119. package/fesm2022/_animation-chunk.mjs +22 -0
  120. package/fesm2022/_animation-chunk.mjs.map +1 -0
  121. package/fesm2022/_date-formats-chunk.mjs +86 -0
  122. package/fesm2022/_date-formats-chunk.mjs.map +1 -0
  123. package/fesm2022/_date-range-input-harness-chunk.mjs +322 -0
  124. package/fesm2022/_date-range-input-harness-chunk.mjs.map +1 -0
  125. package/fesm2022/_error-options-chunk.mjs +66 -0
  126. package/fesm2022/_error-options-chunk.mjs.map +1 -0
  127. package/fesm2022/_error-state-chunk.mjs +30 -0
  128. package/fesm2022/_error-state-chunk.mjs.map +1 -0
  129. package/fesm2022/_form-field-chunk.mjs +1351 -0
  130. package/fesm2022/_form-field-chunk.mjs.map +1 -0
  131. package/fesm2022/_icon-button-chunk.mjs +268 -0
  132. package/fesm2022/_icon-button-chunk.mjs.map +1 -0
  133. package/fesm2022/_icon-registry-chunk.mjs +368 -0
  134. package/fesm2022/_icon-registry-chunk.mjs.map +1 -0
  135. package/fesm2022/_input-harness-chunk.mjs +67 -0
  136. package/fesm2022/_input-harness-chunk.mjs.map +1 -0
  137. package/fesm2022/_input-value-accessor-chunk.mjs +6 -0
  138. package/fesm2022/_input-value-accessor-chunk.mjs.map +1 -0
  139. package/fesm2022/_internal-form-field-chunk.mjs +67 -0
  140. package/fesm2022/_internal-form-field-chunk.mjs.map +1 -0
  141. package/fesm2022/_line-chunk.mjs +99 -0
  142. package/fesm2022/_line-chunk.mjs.map +1 -0
  143. package/fesm2022/_option-chunk.mjs +385 -0
  144. package/fesm2022/_option-chunk.mjs.map +1 -0
  145. package/fesm2022/_option-harness-chunk.mjs +30 -0
  146. package/fesm2022/_option-harness-chunk.mjs.map +1 -0
  147. package/fesm2022/_option-module-chunk.mjs +48 -0
  148. package/fesm2022/_option-module-chunk.mjs.map +1 -0
  149. package/fesm2022/_pseudo-checkbox-chunk.mjs +88 -0
  150. package/fesm2022/_pseudo-checkbox-chunk.mjs.map +1 -0
  151. package/fesm2022/_pseudo-checkbox-module-chunk.mjs +46 -0
  152. package/fesm2022/_pseudo-checkbox-module-chunk.mjs.map +1 -0
  153. package/fesm2022/_public-api-chunk.mjs +84 -0
  154. package/fesm2022/_public-api-chunk.mjs.map +1 -0
  155. package/fesm2022/_ripple-chunk.mjs +544 -0
  156. package/fesm2022/_ripple-chunk.mjs.map +1 -0
  157. package/fesm2022/_ripple-loader-chunk.mjs +144 -0
  158. package/fesm2022/_ripple-loader-chunk.mjs.map +1 -0
  159. package/fesm2022/_ripple-module-chunk.mjs +46 -0
  160. package/fesm2022/_ripple-module-chunk.mjs.map +1 -0
  161. package/fesm2022/_structural-styles-chunk.mjs +45 -0
  162. package/fesm2022/_structural-styles-chunk.mjs.map +1 -0
  163. package/fesm2022/_tooltip-chunk.mjs +848 -0
  164. package/fesm2022/_tooltip-chunk.mjs.map +1 -0
  165. package/fesm2022/autocomplete-testing.mjs +75 -0
  166. package/fesm2022/autocomplete-testing.mjs.map +1 -0
  167. package/fesm2022/autocomplete.mjs +1068 -0
  168. package/fesm2022/autocomplete.mjs.map +1 -0
  169. package/fesm2022/badge-testing.mjs +48 -0
  170. package/fesm2022/badge-testing.mjs.map +1 -0
  171. package/fesm2022/badge.mjs +357 -0
  172. package/fesm2022/badge.mjs.map +1 -0
  173. package/fesm2022/bottom-sheet-testing.mjs +17 -0
  174. package/fesm2022/bottom-sheet-testing.mjs.map +1 -0
  175. package/fesm2022/bottom-sheet.mjs +390 -0
  176. package/fesm2022/bottom-sheet.mjs.map +1 -0
  177. package/fesm2022/button-testing.mjs +81 -0
  178. package/fesm2022/button-testing.mjs.map +1 -0
  179. package/fesm2022/button-toggle-testing.mjs +87 -0
  180. package/fesm2022/button-toggle-testing.mjs.map +1 -0
  181. package/fesm2022/button-toggle.mjs +789 -0
  182. package/fesm2022/button-toggle.mjs.map +1 -0
  183. package/fesm2022/button.mjs +308 -0
  184. package/fesm2022/button.mjs.map +1 -0
  185. package/fesm2022/card-testing.mjs +29 -0
  186. package/fesm2022/card-testing.mjs.map +1 -0
  187. package/fesm2022/card.mjs +615 -0
  188. package/fesm2022/card.mjs.map +1 -0
  189. package/fesm2022/checkbox-testing.mjs +79 -0
  190. package/fesm2022/checkbox-testing.mjs.map +1 -0
  191. package/fesm2022/checkbox.mjs +551 -0
  192. package/fesm2022/checkbox.mjs.map +1 -0
  193. package/fesm2022/chips-testing.mjs +239 -0
  194. package/fesm2022/chips-testing.mjs.map +1 -0
  195. package/fesm2022/chips.mjs +2663 -0
  196. package/fesm2022/chips.mjs.map +1 -0
  197. package/fesm2022/core-testing.mjs +22 -0
  198. package/fesm2022/core-testing.mjs.map +1 -0
  199. package/fesm2022/core.mjs +408 -0
  200. package/fesm2022/core.mjs.map +1 -0
  201. package/fesm2022/datepicker-testing.mjs +26 -0
  202. package/fesm2022/datepicker-testing.mjs.map +1 -0
  203. package/fesm2022/datepicker.mjs +5015 -0
  204. package/fesm2022/datepicker.mjs.map +1 -0
  205. package/fesm2022/dialog-testing.mjs +123 -0
  206. package/fesm2022/dialog-testing.mjs.map +1 -0
  207. package/fesm2022/dialog.mjs +873 -0
  208. package/fesm2022/dialog.mjs.map +1 -0
  209. package/fesm2022/divider-testing.mjs +17 -0
  210. package/fesm2022/divider-testing.mjs.map +1 -0
  211. package/fesm2022/divider.mjs +132 -0
  212. package/fesm2022/divider.mjs.map +1 -0
  213. package/fesm2022/expansion-testing.mjs +87 -0
  214. package/fesm2022/expansion-testing.mjs.map +1 -0
  215. package/fesm2022/expansion.mjs +749 -0
  216. package/fesm2022/expansion.mjs.map +1 -0
  217. package/fesm2022/form-field-testing-control.mjs +24 -0
  218. package/fesm2022/form-field-testing-control.mjs.map +1 -0
  219. package/fesm2022/form-field-testing.mjs +135 -0
  220. package/fesm2022/form-field-testing.mjs.map +1 -0
  221. package/fesm2022/form-field.mjs +57 -0
  222. package/fesm2022/form-field.mjs.map +1 -0
  223. package/fesm2022/grid-list-testing.mjs +80 -0
  224. package/fesm2022/grid-list-testing.mjs.map +1 -0
  225. package/fesm2022/grid-list.mjs +604 -0
  226. package/fesm2022/grid-list.mjs.map +1 -0
  227. package/fesm2022/icon-testing.mjs +172 -0
  228. package/fesm2022/icon-testing.mjs.map +1 -0
  229. package/fesm2022/icon.mjs +366 -0
  230. package/fesm2022/icon.mjs.map +1 -0
  231. package/fesm2022/input-testing.mjs +73 -0
  232. package/fesm2022/input-testing.mjs.map +1 -0
  233. package/fesm2022/input.mjs +495 -0
  234. package/fesm2022/input.mjs.map +1 -0
  235. package/fesm2022/list-testing.mjs +295 -0
  236. package/fesm2022/list-testing.mjs.map +1 -0
  237. package/fesm2022/list.mjs +1604 -0
  238. package/fesm2022/list.mjs.map +1 -0
  239. package/fesm2022/material.mjs +4 -0
  240. package/fesm2022/material.mjs.map +1 -0
  241. package/fesm2022/menu-testing.mjs +174 -0
  242. package/fesm2022/menu-testing.mjs.map +1 -0
  243. package/fesm2022/menu.mjs +1421 -0
  244. package/fesm2022/menu.mjs.map +1 -0
  245. package/fesm2022/paginator-testing.mjs +69 -0
  246. package/fesm2022/paginator-testing.mjs.map +1 -0
  247. package/fesm2022/paginator.mjs +445 -0
  248. package/fesm2022/paginator.mjs.map +1 -0
  249. package/fesm2022/progress-bar-testing.mjs +20 -0
  250. package/fesm2022/progress-bar-testing.mjs.map +1 -0
  251. package/fesm2022/progress-bar.mjs +247 -0
  252. package/fesm2022/progress-bar.mjs.map +1 -0
  253. package/fesm2022/progress-spinner-testing.mjs +21 -0
  254. package/fesm2022/progress-spinner-testing.mjs.map +1 -0
  255. package/fesm2022/progress-spinner.mjs +258 -0
  256. package/fesm2022/progress-spinner.mjs.map +1 -0
  257. package/fesm2022/radio-testing.mjs +143 -0
  258. package/fesm2022/radio-testing.mjs.map +1 -0
  259. package/fesm2022/radio.mjs +751 -0
  260. package/fesm2022/radio.mjs.map +1 -0
  261. package/fesm2022/select-testing.mjs +92 -0
  262. package/fesm2022/select-testing.mjs.map +1 -0
  263. package/fesm2022/select.mjs +1181 -0
  264. package/fesm2022/select.mjs.map +1 -0
  265. package/fesm2022/sidenav-testing.mjs +80 -0
  266. package/fesm2022/sidenav-testing.mjs.map +1 -0
  267. package/fesm2022/sidenav.mjs +1151 -0
  268. package/fesm2022/sidenav.mjs.map +1 -0
  269. package/fesm2022/slide-toggle-testing.mjs +68 -0
  270. package/fesm2022/slide-toggle-testing.mjs.map +1 -0
  271. package/fesm2022/slide-toggle.mjs +403 -0
  272. package/fesm2022/slide-toggle.mjs.map +1 -0
  273. package/fesm2022/slider-testing.mjs +105 -0
  274. package/fesm2022/slider-testing.mjs.map +1 -0
  275. package/fesm2022/slider.mjs +1720 -0
  276. package/fesm2022/slider.mjs.map +1 -0
  277. package/fesm2022/snack-bar-testing.mjs +47 -0
  278. package/fesm2022/snack-bar-testing.mjs.map +1 -0
  279. package/fesm2022/snack-bar.mjs +820 -0
  280. package/fesm2022/snack-bar.mjs.map +1 -0
  281. package/fesm2022/sort-testing.mjs +55 -0
  282. package/fesm2022/sort-testing.mjs.map +1 -0
  283. package/fesm2022/sort.mjs +470 -0
  284. package/fesm2022/sort.mjs.map +1 -0
  285. package/fesm2022/stepper-testing.mjs +99 -0
  286. package/fesm2022/stepper-testing.mjs.map +1 -0
  287. package/fesm2022/stepper.mjs +900 -0
  288. package/fesm2022/stepper.mjs.map +1 -0
  289. package/fesm2022/table-testing.mjs +152 -0
  290. package/fesm2022/table-testing.mjs.map +1 -0
  291. package/fesm2022/table.mjs +1151 -0
  292. package/fesm2022/table.mjs.map +1 -0
  293. package/fesm2022/tabs-testing.mjs +144 -0
  294. package/fesm2022/tabs-testing.mjs.map +1 -0
  295. package/fesm2022/tabs.mjs +2435 -0
  296. package/fesm2022/tabs.mjs.map +1 -0
  297. package/fesm2022/timepicker-testing.mjs +128 -0
  298. package/fesm2022/timepicker-testing.mjs.map +1 -0
  299. package/fesm2022/timepicker.mjs +1284 -0
  300. package/fesm2022/timepicker.mjs.map +1 -0
  301. package/fesm2022/toolbar-testing.mjs +26 -0
  302. package/fesm2022/toolbar-testing.mjs.map +1 -0
  303. package/fesm2022/toolbar.mjs +182 -0
  304. package/fesm2022/toolbar.mjs.map +1 -0
  305. package/fesm2022/tooltip-testing.mjs +48 -0
  306. package/fesm2022/tooltip-testing.mjs.map +1 -0
  307. package/fesm2022/tooltip.mjs +58 -0
  308. package/fesm2022/tooltip.mjs.map +1 -0
  309. package/fesm2022/tree-testing.mjs +104 -0
  310. package/fesm2022/tree-testing.mjs.map +1 -0
  311. package/fesm2022/tree.mjs +681 -0
  312. package/fesm2022/tree.mjs.map +1 -0
  313. package/form-field/_form-field-theme.scss +96 -0
  314. package/form-field/_m2-form-field.scss +226 -0
  315. package/form-field/_m3-form-field.scss +137 -0
  316. package/grid-list/_grid-list-theme.scss +76 -0
  317. package/grid-list/_m2-grid-list.scss +21 -0
  318. package/grid-list/_m3-grid-list.scss +20 -0
  319. package/icon/_icon-theme.scss +109 -0
  320. package/icon/_m2-icon.scss +15 -0
  321. package/icon/_m3-icon.scss +21 -0
  322. package/input/_input-theme.scss +36 -0
  323. package/list/_list-theme.scss +201 -0
  324. package/list/_m2-list.scss +92 -0
  325. package/list/_m3-list.scss +93 -0
  326. package/menu/_m2-menu.scss +44 -0
  327. package/menu/_m3-menu.scss +42 -0
  328. package/menu/_menu-theme.scss +76 -0
  329. package/package.json +404 -0
  330. package/paginator/_m2-paginator.scss +69 -0
  331. package/paginator/_m3-paginator.scss +46 -0
  332. package/paginator/_paginator-theme.scss +76 -0
  333. package/prebuilt-themes/azure-blue.css +1 -0
  334. package/prebuilt-themes/cyan-orange.css +1 -0
  335. package/prebuilt-themes/deeppurple-amber.css +1 -0
  336. package/prebuilt-themes/indigo-pink.css +1 -0
  337. package/prebuilt-themes/magenta-violet.css +1 -0
  338. package/prebuilt-themes/pink-bluegrey.css +1 -0
  339. package/prebuilt-themes/purple-green.css +1 -0
  340. package/prebuilt-themes/rose-red.css +1 -0
  341. package/progress-bar/_m2-progress-bar.scss +36 -0
  342. package/progress-bar/_m3-progress-bar.scss +29 -0
  343. package/progress-bar/_progress-bar-theme.scss +93 -0
  344. package/progress-spinner/_m2-progress-spinner.scss +25 -0
  345. package/progress-spinner/_m3-progress-spinner.scss +27 -0
  346. package/progress-spinner/_progress-spinner-theme.scss +95 -0
  347. package/radio/_m2-radio.scss +67 -0
  348. package/radio/_m3-radio.scss +65 -0
  349. package/radio/_radio-theme.scss +102 -0
  350. package/schematics/collection.json +55 -0
  351. package/schematics/migration.json +15 -0
  352. package/schematics/ng-add/fonts/material-fonts.d.ts +11 -0
  353. package/schematics/ng-add/fonts/material-fonts.js +41 -0
  354. package/schematics/ng-add/fonts/material-fonts.js.map +1 -0
  355. package/schematics/ng-add/index.d.ts +17 -0
  356. package/schematics/ng-add/index.js +54 -0
  357. package/schematics/ng-add/index.js.map +1 -0
  358. package/schematics/ng-add/package-config.d.ts +12 -0
  359. package/schematics/ng-add/package-config.js +51 -0
  360. package/schematics/ng-add/package-config.js.map +1 -0
  361. package/schematics/ng-add/schema.d.ts +15 -0
  362. package/schematics/ng-add/schema.js +10 -0
  363. package/schematics/ng-add/schema.js.map +1 -0
  364. package/schematics/ng-add/schema.json +43 -0
  365. package/schematics/ng-add/setup-project.d.ts +15 -0
  366. package/schematics/ng-add/setup-project.js +36 -0
  367. package/schematics/ng-add/setup-project.js.map +1 -0
  368. package/schematics/ng-add/theming/create-theme.d.ts +9 -0
  369. package/schematics/ng-add/theming/create-theme.js +58 -0
  370. package/schematics/ng-add/theming/create-theme.js.map +1 -0
  371. package/schematics/ng-add/theming/theming.d.ts +11 -0
  372. package/schematics/ng-add/theming/theming.js +133 -0
  373. package/schematics/ng-add/theming/theming.js.map +1 -0
  374. package/schematics/ng-generate/address-form/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.__style__.template +27 -0
  375. package/schematics/ng-generate/address-form/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +99 -0
  376. package/schematics/ng-generate/address-form/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.spec.ts.template +38 -0
  377. package/schematics/ng-generate/address-form/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts.template +118 -0
  378. package/schematics/ng-generate/address-form/index.d.ts +14 -0
  379. package/schematics/ng-generate/address-form/index.js +43 -0
  380. package/schematics/ng-generate/address-form/index.js.map +1 -0
  381. package/schematics/ng-generate/address-form/schema.d.ts +10 -0
  382. package/schematics/ng-generate/address-form/schema.js +10 -0
  383. package/schematics/ng-generate/address-form/schema.js.map +1 -0
  384. package/schematics/ng-generate/address-form/schema.json +100 -0
  385. package/schematics/ng-generate/dashboard/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.__style__.template +21 -0
  386. package/schematics/ng-generate/dashboard/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +26 -0
  387. package/schematics/ng-generate/dashboard/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.spec.ts.template +36 -0
  388. package/schematics/ng-generate/dashboard/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts.template +56 -0
  389. package/schematics/ng-generate/dashboard/index.d.ts +14 -0
  390. package/schematics/ng-generate/dashboard/index.js +42 -0
  391. package/schematics/ng-generate/dashboard/index.js.map +1 -0
  392. package/schematics/ng-generate/dashboard/schema.d.ts +10 -0
  393. package/schematics/ng-generate/dashboard/schema.js +10 -0
  394. package/schematics/ng-generate/dashboard/schema.js.map +1 -0
  395. package/schematics/ng-generate/dashboard/schema.json +100 -0
  396. package/schematics/ng-generate/navigation/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.__style__.template +17 -0
  397. package/schematics/ng-generate/navigation/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +28 -0
  398. package/schematics/ng-generate/navigation/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.spec.ts.template +36 -0
  399. package/schematics/ng-generate/navigation/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts.template +42 -0
  400. package/schematics/ng-generate/navigation/index.d.ts +14 -0
  401. package/schematics/ng-generate/navigation/index.js +42 -0
  402. package/schematics/ng-generate/navigation/index.js.map +1 -0
  403. package/schematics/ng-generate/navigation/schema.d.ts +10 -0
  404. package/schematics/ng-generate/navigation/schema.js +10 -0
  405. package/schematics/ng-generate/navigation/schema.js.map +1 -0
  406. package/schematics/ng-generate/navigation/schema.json +105 -0
  407. package/schematics/ng-generate/table/files/__path__/__name@dasherize@if-flat__/__name@dasherize__-datasource.ts.template +111 -0
  408. package/schematics/ng-generate/table/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.__style__.template +3 -0
  409. package/schematics/ng-generate/table/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +26 -0
  410. package/schematics/ng-generate/table/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.spec.ts.template +32 -0
  411. package/schematics/ng-generate/table/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts.template +36 -0
  412. package/schematics/ng-generate/table/index.d.ts +14 -0
  413. package/schematics/ng-generate/table/index.js +40 -0
  414. package/schematics/ng-generate/table/index.js.map +1 -0
  415. package/schematics/ng-generate/table/schema.d.ts +10 -0
  416. package/schematics/ng-generate/table/schema.js +10 -0
  417. package/schematics/ng-generate/table/schema.js.map +1 -0
  418. package/schematics/ng-generate/table/schema.json +100 -0
  419. package/schematics/ng-generate/theme-color/index_bundled.js +6561 -0
  420. package/schematics/ng-generate/theme-color/index_bundled.js.map +6 -0
  421. package/schematics/ng-generate/theme-color/schema.json +55 -0
  422. package/schematics/ng-generate/tree/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.__style__.template +4 -0
  423. package/schematics/ng-generate/tree/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +22 -0
  424. package/schematics/ng-generate/tree/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.spec.ts.template +32 -0
  425. package/schematics/ng-generate/tree/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts.template +93 -0
  426. package/schematics/ng-generate/tree/files/__path__/__name@dasherize@if-flat__/example-data.ts.template +47 -0
  427. package/schematics/ng-generate/tree/index.d.ts +14 -0
  428. package/schematics/ng-generate/tree/index.js +40 -0
  429. package/schematics/ng-generate/tree/index.js.map +1 -0
  430. package/schematics/ng-generate/tree/schema.d.ts +10 -0
  431. package/schematics/ng-generate/tree/schema.js +10 -0
  432. package/schematics/ng-generate/tree/schema.js.map +1 -0
  433. package/schematics/ng-generate/tree/schema.json +100 -0
  434. package/schematics/ng-update/index_bundled.js +204 -0
  435. package/schematics/ng-update/index_bundled.js.map +6 -0
  436. package/schematics/package.json +3 -0
  437. package/select/_m2-select.scss +49 -0
  438. package/select/_m3-select.scss +54 -0
  439. package/select/_select-theme.scss +99 -0
  440. package/sidenav/_m2-sidenav.scss +48 -0
  441. package/sidenav/_m3-sidenav.scss +26 -0
  442. package/sidenav/_sidenav-theme.scss +75 -0
  443. package/slide-toggle/_m2-slide-toggle.scss +134 -0
  444. package/slide-toggle/_m3-slide-toggle.scss +133 -0
  445. package/slide-toggle/_slide-toggle-theme.scss +119 -0
  446. package/slider/_m2-slider.scss +73 -0
  447. package/slider/_m3-slider.scss +69 -0
  448. package/slider/_slider-theme.scss +103 -0
  449. package/snack-bar/_m2-snack-bar.scss +24 -0
  450. package/snack-bar/_m3-snack-bar.scss +26 -0
  451. package/snack-bar/_snack-bar-theme.scss +77 -0
  452. package/sort/_m2-sort.scss +16 -0
  453. package/sort/_m3-sort.scss +20 -0
  454. package/sort/_sort-theme.scss +76 -0
  455. package/stepper/_m2-stepper.scss +65 -0
  456. package/stepper/_m3-stepper.scss +66 -0
  457. package/stepper/_stepper-theme.scss +102 -0
  458. package/table/_m2-table.scss +63 -0
  459. package/table/_m3-table.scss +52 -0
  460. package/table/_table-theme.scss +76 -0
  461. package/tabs/_m2-tabs.scss +68 -0
  462. package/tabs/_m3-tabs.scss +58 -0
  463. package/tabs/_tabs-theme.scss +131 -0
  464. package/timepicker/_m2-timepicker.scss +19 -0
  465. package/timepicker/_m3-timepicker.scss +21 -0
  466. package/timepicker/_timepicker-theme.scss +81 -0
  467. package/toolbar/_m2-toolbar.scss +43 -0
  468. package/toolbar/_m3-toolbar.scss +41 -0
  469. package/toolbar/_toolbar-theme.scss +114 -0
  470. package/tooltip/_m2-tooltip.scss +24 -0
  471. package/tooltip/_m3-tooltip.scss +25 -0
  472. package/tooltip/_tooltip-theme.scss +76 -0
  473. package/tree/_m2-tree.scss +30 -0
  474. package/tree/_m3-tree.scss +37 -0
  475. package/tree/_tree-theme.scss +76 -0
  476. package/types/_badge-chunk.d.ts +100 -0
  477. package/types/_button-toggle-chunk.d.ts +252 -0
  478. package/types/_date-adapter-chunk.d.ts +261 -0
  479. package/types/_date-range-input-harness-chunk.d.ts +284 -0
  480. package/types/_dialog-chunk.d.ts +336 -0
  481. package/types/_error-options-chunk.d.ts +17 -0
  482. package/types/_form-field-chunk.d.ts +375 -0
  483. package/types/_form-field-control-chunk.d.ts +64 -0
  484. package/types/_form-field-control-harness-chunk.d.ts +20 -0
  485. package/types/_form-field-module-chunk.d.ts +18 -0
  486. package/types/_icon-module-chunk.d.ts +162 -0
  487. package/types/_icon-registry-chunk.d.ts +271 -0
  488. package/types/_input-harness-chunk.d.ts +61 -0
  489. package/types/_line-chunk.d.ts +25 -0
  490. package/types/_list-option-types-chunk.d.ts +15 -0
  491. package/types/_option-chunk.d.ts +146 -0
  492. package/types/_option-harness-chunk.d.ts +35 -0
  493. package/types/_option-module-chunk.d.ts +13 -0
  494. package/types/_option-parent-chunk.d.ts +20 -0
  495. package/types/_paginator-chunk.d.ts +184 -0
  496. package/types/_palette-chunk.d.ts +4 -0
  497. package/types/_progress-spinner-chunk.d.ts +91 -0
  498. package/types/_pseudo-checkbox-module-chunk.d.ts +45 -0
  499. package/types/_ripple-chunk.d.ts +256 -0
  500. package/types/_ripple-loader-chunk.d.ts +48 -0
  501. package/types/_ripple-module-chunk.d.ts +11 -0
  502. package/types/_sort-chunk.d.ts +88 -0
  503. package/types/_sort-direction-chunk.d.ts +3 -0
  504. package/types/_tooltip-chunk.d.ts +315 -0
  505. package/types/autocomplete-testing.d.ts +53 -0
  506. package/types/autocomplete.d.ts +420 -0
  507. package/types/badge-testing.d.ts +36 -0
  508. package/types/badge.d.ts +14 -0
  509. package/types/bottom-sheet-testing.d.ts +26 -0
  510. package/types/bottom-sheet.d.ts +192 -0
  511. package/types/button-testing.d.ts +70 -0
  512. package/types/button-toggle-testing.d.ts +97 -0
  513. package/types/button-toggle.d.ts +16 -0
  514. package/types/button.d.ts +210 -0
  515. package/types/card-testing.d.ts +41 -0
  516. package/types/card.d.ts +156 -0
  517. package/types/checkbox-testing.d.ts +86 -0
  518. package/types/checkbox.d.ts +216 -0
  519. package/types/chips-testing.d.ts +270 -0
  520. package/types/chips.d.ts +993 -0
  521. package/types/core-testing.d.ts +32 -0
  522. package/types/core.d.ts +185 -0
  523. package/types/datepicker-testing.d.ts +25 -0
  524. package/types/datepicker.d.ts +1746 -0
  525. package/types/dialog-testing.d.ts +83 -0
  526. package/types/dialog.d.ts +84 -0
  527. package/types/divider-testing.d.ts +15 -0
  528. package/types/divider.d.ts +24 -0
  529. package/types/expansion-testing.d.ts +101 -0
  530. package/types/expansion.d.ts +258 -0
  531. package/types/form-field-testing-control.d.ts +13 -0
  532. package/types/form-field-testing.d.ts +127 -0
  533. package/types/form-field.d.ts +19 -0
  534. package/types/grid-list-testing.d.ts +82 -0
  535. package/types/grid-list.d.ts +207 -0
  536. package/types/icon-testing.d.ts +81 -0
  537. package/types/icon.d.ts +8 -0
  538. package/types/input-testing.d.ts +73 -0
  539. package/types/input.d.ts +208 -0
  540. package/types/list-testing.d.ts +354 -0
  541. package/types/list.d.ts +516 -0
  542. package/types/material.d.ts +3 -0
  543. package/types/menu-testing.d.ts +141 -0
  544. package/types/menu.d.ts +547 -0
  545. package/types/paginator-testing.d.ts +51 -0
  546. package/types/paginator.d.ts +36 -0
  547. package/types/progress-bar-testing.d.ts +24 -0
  548. package/types/progress-bar.d.ts +106 -0
  549. package/types/progress-spinner-testing.d.ts +28 -0
  550. package/types/progress-spinner.d.ts +13 -0
  551. package/types/radio-testing.d.ts +109 -0
  552. package/types/radio.d.ts +295 -0
  553. package/types/select-testing.d.ts +63 -0
  554. package/types/select.d.ts +448 -0
  555. package/types/sidenav-testing.d.ts +122 -0
  556. package/types/sidenav.d.ts +335 -0
  557. package/types/slide-toggle-testing.d.ts +66 -0
  558. package/types/slide-toggle.d.ts +151 -0
  559. package/types/slider-testing.d.ts +90 -0
  560. package/types/slider.d.ts +662 -0
  561. package/types/snack-bar-testing.d.ts +64 -0
  562. package/types/snack-bar.d.ts +328 -0
  563. package/types/sort-testing.d.ts +48 -0
  564. package/types/sort.d.ts +126 -0
  565. package/types/stepper-testing.d.ts +136 -0
  566. package/types/stepper.d.ts +225 -0
  567. package/types/table-testing.d.ts +174 -0
  568. package/types/table.d.ts +302 -0
  569. package/types/tabs-testing.d.ts +145 -0
  570. package/types/tabs.d.ts +890 -0
  571. package/types/timepicker-testing.d.ts +108 -0
  572. package/types/timepicker.d.ts +318 -0
  573. package/types/toolbar-testing.d.ts +33 -0
  574. package/types/toolbar.d.ts +44 -0
  575. package/types/tooltip-testing.d.ts +35 -0
  576. package/types/tooltip.d.ts +17 -0
  577. package/types/tree-testing.d.ts +119 -0
  578. package/types/tree.d.ts +233 -0
@@ -0,0 +1,873 @@
1
+ import * as i0 from '@angular/core';
2
+ import { EventEmitter, Component, ViewEncapsulation, ChangeDetectionStrategy, InjectionToken, inject, Injector, Injectable, ElementRef, Directive, Input, NgModule } from '@angular/core';
3
+ import { _IdGenerator } from '@angular/cdk/a11y';
4
+ import * as i1 from '@angular/cdk/scrolling';
5
+ import { CdkScrollable } from '@angular/cdk/scrolling';
6
+ import { createBlockScrollStrategy, createGlobalPositionStrategy, OverlayModule } from '@angular/cdk/overlay';
7
+ import { CdkDialogContainer, Dialog, DialogConfig, DialogModule } from '@angular/cdk/dialog';
8
+ import { coerceNumberProperty } from '@angular/cdk/coercion';
9
+ import { CdkPortalOutlet, PortalModule } from '@angular/cdk/portal';
10
+ import { _animationsDisabled } from './_animation-chunk.mjs';
11
+ import { ReplaySubject, merge, Subject, defer } from 'rxjs';
12
+ import { filter, take, startWith } from 'rxjs/operators';
13
+ import { ESCAPE, hasModifierKey } from '@angular/cdk/keycodes';
14
+ import { BidiModule } from '@angular/cdk/bidi';
15
+ import '@angular/cdk/layout';
16
+
17
+ class MatDialogConfig {
18
+ viewContainerRef;
19
+ injector;
20
+ id;
21
+ role = 'dialog';
22
+ panelClass = '';
23
+ hasBackdrop = true;
24
+ backdropClass = '';
25
+ disableClose = false;
26
+ closePredicate;
27
+ width = '';
28
+ height = '';
29
+ minWidth;
30
+ minHeight;
31
+ maxWidth;
32
+ maxHeight;
33
+ position;
34
+ data = null;
35
+ direction;
36
+ ariaDescribedBy = null;
37
+ ariaLabelledBy = null;
38
+ ariaLabel = null;
39
+ ariaModal = false;
40
+ autoFocus = 'first-tabbable';
41
+ restoreFocus = true;
42
+ delayFocusTrap = true;
43
+ scrollStrategy;
44
+ closeOnNavigation = true;
45
+ enterAnimationDuration;
46
+ exitAnimationDuration;
47
+ }
48
+
49
+ const OPEN_CLASS = 'mdc-dialog--open';
50
+ const OPENING_CLASS = 'mdc-dialog--opening';
51
+ const CLOSING_CLASS = 'mdc-dialog--closing';
52
+ const OPEN_ANIMATION_DURATION = 150;
53
+ const CLOSE_ANIMATION_DURATION = 75;
54
+ class MatDialogContainer extends CdkDialogContainer {
55
+ _animationStateChanged = new EventEmitter();
56
+ _animationsEnabled = !_animationsDisabled();
57
+ _actionSectionCount = 0;
58
+ _hostElement = this._elementRef.nativeElement;
59
+ _enterAnimationDuration = this._animationsEnabled ? parseCssTime(this._config.enterAnimationDuration) ?? OPEN_ANIMATION_DURATION : 0;
60
+ _exitAnimationDuration = this._animationsEnabled ? parseCssTime(this._config.exitAnimationDuration) ?? CLOSE_ANIMATION_DURATION : 0;
61
+ _animationTimer = null;
62
+ _contentAttached() {
63
+ super._contentAttached();
64
+ this._startOpenAnimation();
65
+ }
66
+ _startOpenAnimation() {
67
+ this._animationStateChanged.emit({
68
+ state: 'opening',
69
+ totalTime: this._enterAnimationDuration
70
+ });
71
+ if (this._animationsEnabled) {
72
+ this._hostElement.style.setProperty(TRANSITION_DURATION_PROPERTY, `${this._enterAnimationDuration}ms`);
73
+ this._requestAnimationFrame(() => this._hostElement.classList.add(OPENING_CLASS, OPEN_CLASS));
74
+ this._waitForAnimationToComplete(this._enterAnimationDuration, this._finishDialogOpen);
75
+ } else {
76
+ this._hostElement.classList.add(OPEN_CLASS);
77
+ Promise.resolve().then(() => this._finishDialogOpen());
78
+ }
79
+ }
80
+ _startExitAnimation() {
81
+ this._animationStateChanged.emit({
82
+ state: 'closing',
83
+ totalTime: this._exitAnimationDuration
84
+ });
85
+ this._hostElement.classList.remove(OPEN_CLASS);
86
+ if (this._animationsEnabled) {
87
+ this._hostElement.style.setProperty(TRANSITION_DURATION_PROPERTY, `${this._exitAnimationDuration}ms`);
88
+ this._requestAnimationFrame(() => this._hostElement.classList.add(CLOSING_CLASS));
89
+ this._waitForAnimationToComplete(this._exitAnimationDuration, this._finishDialogClose);
90
+ } else {
91
+ Promise.resolve().then(() => this._finishDialogClose());
92
+ }
93
+ }
94
+ _updateActionSectionCount(delta) {
95
+ this._actionSectionCount += delta;
96
+ this._changeDetectorRef.markForCheck();
97
+ }
98
+ _finishDialogOpen = () => {
99
+ this._clearAnimationClasses();
100
+ this._openAnimationDone(this._enterAnimationDuration);
101
+ };
102
+ _finishDialogClose = () => {
103
+ this._clearAnimationClasses();
104
+ this._animationStateChanged.emit({
105
+ state: 'closed',
106
+ totalTime: this._exitAnimationDuration
107
+ });
108
+ };
109
+ _clearAnimationClasses() {
110
+ this._hostElement.classList.remove(OPENING_CLASS, CLOSING_CLASS);
111
+ }
112
+ _waitForAnimationToComplete(duration, callback) {
113
+ if (this._animationTimer !== null) {
114
+ clearTimeout(this._animationTimer);
115
+ }
116
+ this._animationTimer = setTimeout(callback, duration);
117
+ }
118
+ _requestAnimationFrame(callback) {
119
+ this._ngZone.runOutsideAngular(() => {
120
+ if (typeof requestAnimationFrame === 'function') {
121
+ requestAnimationFrame(callback);
122
+ } else {
123
+ callback();
124
+ }
125
+ });
126
+ }
127
+ _captureInitialFocus() {
128
+ if (!this._config.delayFocusTrap) {
129
+ this._trapFocus();
130
+ }
131
+ }
132
+ _openAnimationDone(totalTime) {
133
+ if (this._config.delayFocusTrap) {
134
+ this._trapFocus();
135
+ }
136
+ this._animationStateChanged.next({
137
+ state: 'opened',
138
+ totalTime
139
+ });
140
+ }
141
+ ngOnDestroy() {
142
+ super.ngOnDestroy();
143
+ if (this._animationTimer !== null) {
144
+ clearTimeout(this._animationTimer);
145
+ }
146
+ }
147
+ attachComponentPortal(portal) {
148
+ const ref = super.attachComponentPortal(portal);
149
+ ref.location.nativeElement.classList.add('mat-mdc-dialog-component-host');
150
+ return ref;
151
+ }
152
+ static ɵfac = i0.ɵɵngDeclareFactory({
153
+ minVersion: "12.0.0",
154
+ version: "22.0.0-next.1",
155
+ ngImport: i0,
156
+ type: MatDialogContainer,
157
+ deps: null,
158
+ target: i0.ɵɵFactoryTarget.Component
159
+ });
160
+ static ɵcmp = i0.ɵɵngDeclareComponent({
161
+ minVersion: "14.0.0",
162
+ version: "22.0.0-next.1",
163
+ type: MatDialogContainer,
164
+ isStandalone: true,
165
+ selector: "mat-dialog-container",
166
+ host: {
167
+ attributes: {
168
+ "tabindex": "-1"
169
+ },
170
+ properties: {
171
+ "attr.aria-modal": "_config.ariaModal",
172
+ "id": "_config.id",
173
+ "attr.role": "_config.role",
174
+ "attr.aria-labelledby": "_config.ariaLabel ? null : _ariaLabelledByQueue[0]",
175
+ "attr.aria-label": "_config.ariaLabel",
176
+ "attr.aria-describedby": "_config.ariaDescribedBy || null",
177
+ "class._mat-animation-noopable": "!_animationsEnabled",
178
+ "class.mat-mdc-dialog-container-with-actions": "_actionSectionCount > 0"
179
+ },
180
+ classAttribute: "mat-mdc-dialog-container mdc-dialog"
181
+ },
182
+ usesInheritance: true,
183
+ ngImport: i0,
184
+ template: "<div class=\"mat-mdc-dialog-inner-container mdc-dialog__container\">\n <div class=\"mat-mdc-dialog-surface mdc-dialog__surface\">\n <ng-template cdkPortalOutlet />\n </div>\n</div>\n",
185
+ styles: [".mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 560px);min-width:var(--mat-dialog-container-min-width, 280px)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, calc(100vw - 32px))}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, none);border-radius:var(--mat-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));background-color:var(--mat-dialog-container-color, var(--mat-sys-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-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}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 6px 24px 13px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:\"\";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mat-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));line-height:var(--mat-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));font-size:var(--mat-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));font-weight:var(--mat-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));letter-spacing:var(--mat-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mat-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mat-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));line-height:var(--mat-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));font-size:var(--mat-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));font-weight:var(--mat-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));letter-spacing:var(--mat-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px 0)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;box-sizing:border-box;min-height:52px;margin:0;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 16px 24px);justify-content:var(--mat-dialog-actions-alignment, flex-end)}@media(forced-colors: active){.mat-mdc-dialog-actions{border-top-color:CanvasText}}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{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-component-host{display:contents}\n"],
186
+ dependencies: [{
187
+ kind: "directive",
188
+ type: CdkPortalOutlet,
189
+ selector: "[cdkPortalOutlet]",
190
+ inputs: ["cdkPortalOutlet"],
191
+ outputs: ["attached"],
192
+ exportAs: ["cdkPortalOutlet"]
193
+ }],
194
+ changeDetection: i0.ChangeDetectionStrategy.Eager,
195
+ encapsulation: i0.ViewEncapsulation.None
196
+ });
197
+ }
198
+ i0.ɵɵngDeclareClassMetadata({
199
+ minVersion: "12.0.0",
200
+ version: "22.0.0-next.1",
201
+ ngImport: i0,
202
+ type: MatDialogContainer,
203
+ decorators: [{
204
+ type: Component,
205
+ args: [{
206
+ selector: 'mat-dialog-container',
207
+ encapsulation: ViewEncapsulation.None,
208
+ changeDetection: ChangeDetectionStrategy.Default,
209
+ imports: [CdkPortalOutlet],
210
+ host: {
211
+ 'class': 'mat-mdc-dialog-container mdc-dialog',
212
+ 'tabindex': '-1',
213
+ '[attr.aria-modal]': '_config.ariaModal',
214
+ '[id]': '_config.id',
215
+ '[attr.role]': '_config.role',
216
+ '[attr.aria-labelledby]': '_config.ariaLabel ? null : _ariaLabelledByQueue[0]',
217
+ '[attr.aria-label]': '_config.ariaLabel',
218
+ '[attr.aria-describedby]': '_config.ariaDescribedBy || null',
219
+ '[class._mat-animation-noopable]': '!_animationsEnabled',
220
+ '[class.mat-mdc-dialog-container-with-actions]': '_actionSectionCount > 0'
221
+ },
222
+ template: "<div class=\"mat-mdc-dialog-inner-container mdc-dialog__container\">\n <div class=\"mat-mdc-dialog-surface mdc-dialog__surface\">\n <ng-template cdkPortalOutlet />\n </div>\n</div>\n",
223
+ styles: [".mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 560px);min-width:var(--mat-dialog-container-min-width, 280px)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, calc(100vw - 32px))}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, none);border-radius:var(--mat-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));background-color:var(--mat-dialog-container-color, var(--mat-sys-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-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}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 6px 24px 13px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:\"\";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mat-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));line-height:var(--mat-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));font-size:var(--mat-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));font-weight:var(--mat-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));letter-spacing:var(--mat-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mat-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mat-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));line-height:var(--mat-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));font-size:var(--mat-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));font-weight:var(--mat-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));letter-spacing:var(--mat-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px 0)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;box-sizing:border-box;min-height:52px;margin:0;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 16px 24px);justify-content:var(--mat-dialog-actions-alignment, flex-end)}@media(forced-colors: active){.mat-mdc-dialog-actions{border-top-color:CanvasText}}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{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-component-host{display:contents}\n"]
224
+ }]
225
+ }]
226
+ });
227
+ const TRANSITION_DURATION_PROPERTY = '--mat-dialog-transition-duration';
228
+ function parseCssTime(time) {
229
+ if (time == null) {
230
+ return null;
231
+ }
232
+ if (typeof time === 'number') {
233
+ return time;
234
+ }
235
+ if (time.endsWith('ms')) {
236
+ return coerceNumberProperty(time.substring(0, time.length - 2));
237
+ }
238
+ if (time.endsWith('s')) {
239
+ return coerceNumberProperty(time.substring(0, time.length - 1)) * 1000;
240
+ }
241
+ if (time === '0') {
242
+ return 0;
243
+ }
244
+ return null;
245
+ }
246
+
247
+ var MatDialogState;
248
+ (function (MatDialogState) {
249
+ MatDialogState[MatDialogState["OPEN"] = 0] = "OPEN";
250
+ MatDialogState[MatDialogState["CLOSING"] = 1] = "CLOSING";
251
+ MatDialogState[MatDialogState["CLOSED"] = 2] = "CLOSED";
252
+ })(MatDialogState || (MatDialogState = {}));
253
+ class MatDialogRef {
254
+ _ref;
255
+ _config;
256
+ _containerInstance;
257
+ componentInstance;
258
+ componentRef = null;
259
+ disableClose;
260
+ id;
261
+ _afterOpened = new ReplaySubject(1);
262
+ _beforeClosed = new ReplaySubject(1);
263
+ _result;
264
+ _closeFallbackTimeout;
265
+ _state = MatDialogState.OPEN;
266
+ _closeInteractionType;
267
+ constructor(_ref, _config, _containerInstance) {
268
+ this._ref = _ref;
269
+ this._config = _config;
270
+ this._containerInstance = _containerInstance;
271
+ this.disableClose = _config.disableClose;
272
+ this.id = _ref.id;
273
+ _ref.addPanelClass('mat-mdc-dialog-panel');
274
+ _containerInstance._animationStateChanged.pipe(filter(event => event.state === 'opened'), take(1)).subscribe(() => {
275
+ this._afterOpened.next();
276
+ this._afterOpened.complete();
277
+ });
278
+ _containerInstance._animationStateChanged.pipe(filter(event => event.state === 'closed'), take(1)).subscribe(() => {
279
+ clearTimeout(this._closeFallbackTimeout);
280
+ this._finishDialogClose();
281
+ });
282
+ _ref.overlayRef.detachments().subscribe(() => {
283
+ this._beforeClosed.next(this._result);
284
+ this._beforeClosed.complete();
285
+ this._finishDialogClose();
286
+ });
287
+ merge(this.backdropClick(), this.keydownEvents().pipe(filter(event => event.keyCode === ESCAPE && !this.disableClose && !hasModifierKey(event)))).subscribe(event => {
288
+ if (!this.disableClose) {
289
+ event.preventDefault();
290
+ _closeDialogVia(this, event.type === 'keydown' ? 'keyboard' : 'mouse');
291
+ }
292
+ });
293
+ }
294
+ close(dialogResult) {
295
+ const closePredicate = this._config.closePredicate;
296
+ if (closePredicate && !closePredicate(dialogResult, this._config, this.componentInstance)) {
297
+ return;
298
+ }
299
+ this._result = dialogResult;
300
+ this._containerInstance._animationStateChanged.pipe(filter(event => event.state === 'closing'), take(1)).subscribe(event => {
301
+ this._beforeClosed.next(dialogResult);
302
+ this._beforeClosed.complete();
303
+ this._ref.overlayRef.detachBackdrop();
304
+ this._closeFallbackTimeout = setTimeout(() => this._finishDialogClose(), event.totalTime + 100);
305
+ });
306
+ this._state = MatDialogState.CLOSING;
307
+ this._containerInstance._startExitAnimation();
308
+ }
309
+ afterOpened() {
310
+ return this._afterOpened;
311
+ }
312
+ afterClosed() {
313
+ return this._ref.closed;
314
+ }
315
+ beforeClosed() {
316
+ return this._beforeClosed;
317
+ }
318
+ backdropClick() {
319
+ return this._ref.backdropClick;
320
+ }
321
+ keydownEvents() {
322
+ return this._ref.keydownEvents;
323
+ }
324
+ updatePosition(position) {
325
+ let strategy = this._ref.config.positionStrategy;
326
+ if (position && (position.left || position.right)) {
327
+ position.left ? strategy.left(position.left) : strategy.right(position.right);
328
+ } else {
329
+ strategy.centerHorizontally();
330
+ }
331
+ if (position && (position.top || position.bottom)) {
332
+ position.top ? strategy.top(position.top) : strategy.bottom(position.bottom);
333
+ } else {
334
+ strategy.centerVertically();
335
+ }
336
+ this._ref.updatePosition();
337
+ return this;
338
+ }
339
+ updateSize(width = '', height = '') {
340
+ this._ref.updateSize(width, height);
341
+ return this;
342
+ }
343
+ addPanelClass(classes) {
344
+ this._ref.addPanelClass(classes);
345
+ return this;
346
+ }
347
+ removePanelClass(classes) {
348
+ this._ref.removePanelClass(classes);
349
+ return this;
350
+ }
351
+ getState() {
352
+ return this._state;
353
+ }
354
+ _finishDialogClose() {
355
+ this._state = MatDialogState.CLOSED;
356
+ this._ref.close(this._result, {
357
+ focusOrigin: this._closeInteractionType
358
+ });
359
+ this.componentInstance = null;
360
+ }
361
+ }
362
+ function _closeDialogVia(ref, interactionType, result) {
363
+ ref._closeInteractionType = interactionType;
364
+ return ref.close(result);
365
+ }
366
+
367
+ const MAT_DIALOG_DATA = new InjectionToken('MatMdcDialogData');
368
+ const MAT_DIALOG_DEFAULT_OPTIONS = new InjectionToken('mat-mdc-dialog-default-options');
369
+ const MAT_DIALOG_SCROLL_STRATEGY = new InjectionToken('mat-mdc-dialog-scroll-strategy', {
370
+ providedIn: 'root',
371
+ factory: () => {
372
+ const injector = inject(Injector);
373
+ return () => createBlockScrollStrategy(injector);
374
+ }
375
+ });
376
+ class MatDialog {
377
+ _defaultOptions = inject(MAT_DIALOG_DEFAULT_OPTIONS, {
378
+ optional: true
379
+ });
380
+ _scrollStrategy = inject(MAT_DIALOG_SCROLL_STRATEGY);
381
+ _parentDialog = inject(MatDialog, {
382
+ optional: true,
383
+ skipSelf: true
384
+ });
385
+ _idGenerator = inject(_IdGenerator);
386
+ _injector = inject(Injector);
387
+ _dialog = inject(Dialog);
388
+ _animationsDisabled = _animationsDisabled();
389
+ _openDialogsAtThisLevel = [];
390
+ _afterAllClosedAtThisLevel = new Subject();
391
+ _afterOpenedAtThisLevel = new Subject();
392
+ dialogConfigClass = MatDialogConfig;
393
+ _dialogRefConstructor;
394
+ _dialogContainerType;
395
+ _dialogDataToken;
396
+ get openDialogs() {
397
+ return this._parentDialog ? this._parentDialog.openDialogs : this._openDialogsAtThisLevel;
398
+ }
399
+ get afterOpened() {
400
+ return this._parentDialog ? this._parentDialog.afterOpened : this._afterOpenedAtThisLevel;
401
+ }
402
+ _getAfterAllClosed() {
403
+ const parent = this._parentDialog;
404
+ return parent ? parent._getAfterAllClosed() : this._afterAllClosedAtThisLevel;
405
+ }
406
+ afterAllClosed = defer(() => this.openDialogs.length ? this._getAfterAllClosed() : this._getAfterAllClosed().pipe(startWith(undefined)));
407
+ constructor() {
408
+ this._dialogRefConstructor = MatDialogRef;
409
+ this._dialogContainerType = MatDialogContainer;
410
+ this._dialogDataToken = MAT_DIALOG_DATA;
411
+ }
412
+ open(componentOrTemplateRef, config) {
413
+ let dialogRef;
414
+ config = {
415
+ ...(this._defaultOptions || new MatDialogConfig()),
416
+ ...config
417
+ };
418
+ config.id = config.id || this._idGenerator.getId('mat-mdc-dialog-');
419
+ config.scrollStrategy = config.scrollStrategy || this._scrollStrategy();
420
+ const cdkRef = this._dialog.open(componentOrTemplateRef, {
421
+ ...config,
422
+ positionStrategy: createGlobalPositionStrategy(this._injector).centerHorizontally().centerVertically(),
423
+ disableClose: true,
424
+ closePredicate: undefined,
425
+ closeOnDestroy: false,
426
+ closeOnOverlayDetachments: false,
427
+ disableAnimations: this._animationsDisabled || config.enterAnimationDuration?.toLocaleString() === '0' || config.exitAnimationDuration?.toString() === '0',
428
+ container: {
429
+ type: this._dialogContainerType,
430
+ providers: () => [{
431
+ provide: this.dialogConfigClass,
432
+ useValue: config
433
+ }, {
434
+ provide: DialogConfig,
435
+ useValue: config
436
+ }]
437
+ },
438
+ templateContext: () => ({
439
+ dialogRef
440
+ }),
441
+ providers: (ref, cdkConfig, dialogContainer) => {
442
+ dialogRef = new this._dialogRefConstructor(ref, config, dialogContainer);
443
+ dialogRef.updatePosition(config?.position);
444
+ return [{
445
+ provide: this._dialogContainerType,
446
+ useValue: dialogContainer
447
+ }, {
448
+ provide: this._dialogDataToken,
449
+ useValue: cdkConfig.data
450
+ }, {
451
+ provide: this._dialogRefConstructor,
452
+ useValue: dialogRef
453
+ }];
454
+ }
455
+ });
456
+ dialogRef.componentRef = cdkRef.componentRef;
457
+ dialogRef.componentInstance = cdkRef.componentInstance;
458
+ this.openDialogs.push(dialogRef);
459
+ this.afterOpened.next(dialogRef);
460
+ dialogRef.afterClosed().subscribe(() => {
461
+ const index = this.openDialogs.indexOf(dialogRef);
462
+ if (index > -1) {
463
+ this.openDialogs.splice(index, 1);
464
+ if (!this.openDialogs.length) {
465
+ this._getAfterAllClosed().next();
466
+ }
467
+ }
468
+ });
469
+ return dialogRef;
470
+ }
471
+ closeAll() {
472
+ this._closeDialogs(this.openDialogs);
473
+ }
474
+ getDialogById(id) {
475
+ return this.openDialogs.find(dialog => dialog.id === id);
476
+ }
477
+ ngOnDestroy() {
478
+ this._closeDialogs(this._openDialogsAtThisLevel);
479
+ this._afterAllClosedAtThisLevel.complete();
480
+ this._afterOpenedAtThisLevel.complete();
481
+ }
482
+ _closeDialogs(dialogs) {
483
+ let i = dialogs.length;
484
+ while (i--) {
485
+ dialogs[i].close();
486
+ }
487
+ }
488
+ static ɵfac = i0.ɵɵngDeclareFactory({
489
+ minVersion: "12.0.0",
490
+ version: "22.0.0-next.1",
491
+ ngImport: i0,
492
+ type: MatDialog,
493
+ deps: [],
494
+ target: i0.ɵɵFactoryTarget.Injectable
495
+ });
496
+ static ɵprov = i0.ɵɵngDeclareInjectable({
497
+ minVersion: "12.0.0",
498
+ version: "22.0.0-next.1",
499
+ ngImport: i0,
500
+ type: MatDialog,
501
+ providedIn: 'root'
502
+ });
503
+ }
504
+ i0.ɵɵngDeclareClassMetadata({
505
+ minVersion: "12.0.0",
506
+ version: "22.0.0-next.1",
507
+ ngImport: i0,
508
+ type: MatDialog,
509
+ decorators: [{
510
+ type: Injectable,
511
+ args: [{
512
+ providedIn: 'root'
513
+ }]
514
+ }],
515
+ ctorParameters: () => []
516
+ });
517
+
518
+ class MatDialogClose {
519
+ dialogRef = inject(MatDialogRef, {
520
+ optional: true
521
+ });
522
+ _elementRef = inject(ElementRef);
523
+ _dialog = inject(MatDialog);
524
+ ariaLabel;
525
+ type = 'button';
526
+ dialogResult;
527
+ _matDialogClose;
528
+ constructor() {}
529
+ ngOnInit() {
530
+ if (!this.dialogRef) {
531
+ this.dialogRef = getClosestDialog(this._elementRef, this._dialog.openDialogs);
532
+ }
533
+ }
534
+ ngOnChanges(changes) {
535
+ const proxiedChange = changes['_matDialogClose'] || changes['_matDialogCloseResult'];
536
+ if (proxiedChange) {
537
+ this.dialogResult = proxiedChange.currentValue;
538
+ }
539
+ }
540
+ _onButtonClick(event) {
541
+ _closeDialogVia(this.dialogRef, event.screenX === 0 && event.screenY === 0 ? 'keyboard' : 'mouse', this.dialogResult);
542
+ }
543
+ static ɵfac = i0.ɵɵngDeclareFactory({
544
+ minVersion: "12.0.0",
545
+ version: "22.0.0-next.1",
546
+ ngImport: i0,
547
+ type: MatDialogClose,
548
+ deps: [],
549
+ target: i0.ɵɵFactoryTarget.Directive
550
+ });
551
+ static ɵdir = i0.ɵɵngDeclareDirective({
552
+ minVersion: "14.0.0",
553
+ version: "22.0.0-next.1",
554
+ type: MatDialogClose,
555
+ isStandalone: true,
556
+ selector: "[mat-dialog-close], [matDialogClose]",
557
+ inputs: {
558
+ ariaLabel: ["aria-label", "ariaLabel"],
559
+ type: "type",
560
+ dialogResult: ["mat-dialog-close", "dialogResult"],
561
+ _matDialogClose: ["matDialogClose", "_matDialogClose"]
562
+ },
563
+ host: {
564
+ listeners: {
565
+ "click": "_onButtonClick($event)"
566
+ },
567
+ properties: {
568
+ "attr.aria-label": "ariaLabel || null",
569
+ "attr.type": "type"
570
+ }
571
+ },
572
+ exportAs: ["matDialogClose"],
573
+ usesOnChanges: true,
574
+ ngImport: i0
575
+ });
576
+ }
577
+ i0.ɵɵngDeclareClassMetadata({
578
+ minVersion: "12.0.0",
579
+ version: "22.0.0-next.1",
580
+ ngImport: i0,
581
+ type: MatDialogClose,
582
+ decorators: [{
583
+ type: Directive,
584
+ args: [{
585
+ selector: '[mat-dialog-close], [matDialogClose]',
586
+ exportAs: 'matDialogClose',
587
+ host: {
588
+ '(click)': '_onButtonClick($event)',
589
+ '[attr.aria-label]': 'ariaLabel || null',
590
+ '[attr.type]': 'type'
591
+ }
592
+ }]
593
+ }],
594
+ ctorParameters: () => [],
595
+ propDecorators: {
596
+ ariaLabel: [{
597
+ type: Input,
598
+ args: ['aria-label']
599
+ }],
600
+ type: [{
601
+ type: Input
602
+ }],
603
+ dialogResult: [{
604
+ type: Input,
605
+ args: ['mat-dialog-close']
606
+ }],
607
+ _matDialogClose: [{
608
+ type: Input,
609
+ args: ['matDialogClose']
610
+ }]
611
+ }
612
+ });
613
+ class MatDialogLayoutSection {
614
+ _dialogRef = inject(MatDialogRef, {
615
+ optional: true
616
+ });
617
+ _elementRef = inject(ElementRef);
618
+ _dialog = inject(MatDialog);
619
+ constructor() {}
620
+ ngOnInit() {
621
+ if (!this._dialogRef) {
622
+ this._dialogRef = getClosestDialog(this._elementRef, this._dialog.openDialogs);
623
+ }
624
+ if (this._dialogRef) {
625
+ Promise.resolve().then(() => {
626
+ this._onAdd();
627
+ });
628
+ }
629
+ }
630
+ ngOnDestroy() {
631
+ const instance = this._dialogRef?._containerInstance;
632
+ if (instance) {
633
+ Promise.resolve().then(() => {
634
+ this._onRemove();
635
+ });
636
+ }
637
+ }
638
+ static ɵfac = i0.ɵɵngDeclareFactory({
639
+ minVersion: "12.0.0",
640
+ version: "22.0.0-next.1",
641
+ ngImport: i0,
642
+ type: MatDialogLayoutSection,
643
+ deps: [],
644
+ target: i0.ɵɵFactoryTarget.Directive
645
+ });
646
+ static ɵdir = i0.ɵɵngDeclareDirective({
647
+ minVersion: "14.0.0",
648
+ version: "22.0.0-next.1",
649
+ type: MatDialogLayoutSection,
650
+ isStandalone: true,
651
+ ngImport: i0
652
+ });
653
+ }
654
+ i0.ɵɵngDeclareClassMetadata({
655
+ minVersion: "12.0.0",
656
+ version: "22.0.0-next.1",
657
+ ngImport: i0,
658
+ type: MatDialogLayoutSection,
659
+ decorators: [{
660
+ type: Directive
661
+ }],
662
+ ctorParameters: () => []
663
+ });
664
+ class MatDialogTitle extends MatDialogLayoutSection {
665
+ id = inject(_IdGenerator).getId('mat-mdc-dialog-title-');
666
+ _onAdd() {
667
+ this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id);
668
+ }
669
+ _onRemove() {
670
+ this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id);
671
+ }
672
+ static ɵfac = i0.ɵɵngDeclareFactory({
673
+ minVersion: "12.0.0",
674
+ version: "22.0.0-next.1",
675
+ ngImport: i0,
676
+ type: MatDialogTitle,
677
+ deps: null,
678
+ target: i0.ɵɵFactoryTarget.Directive
679
+ });
680
+ static ɵdir = i0.ɵɵngDeclareDirective({
681
+ minVersion: "14.0.0",
682
+ version: "22.0.0-next.1",
683
+ type: MatDialogTitle,
684
+ isStandalone: true,
685
+ selector: "[mat-dialog-title], [matDialogTitle]",
686
+ inputs: {
687
+ id: "id"
688
+ },
689
+ host: {
690
+ properties: {
691
+ "id": "id"
692
+ },
693
+ classAttribute: "mat-mdc-dialog-title mdc-dialog__title"
694
+ },
695
+ exportAs: ["matDialogTitle"],
696
+ usesInheritance: true,
697
+ ngImport: i0
698
+ });
699
+ }
700
+ i0.ɵɵngDeclareClassMetadata({
701
+ minVersion: "12.0.0",
702
+ version: "22.0.0-next.1",
703
+ ngImport: i0,
704
+ type: MatDialogTitle,
705
+ decorators: [{
706
+ type: Directive,
707
+ args: [{
708
+ selector: '[mat-dialog-title], [matDialogTitle]',
709
+ exportAs: 'matDialogTitle',
710
+ host: {
711
+ 'class': 'mat-mdc-dialog-title mdc-dialog__title',
712
+ '[id]': 'id'
713
+ }
714
+ }]
715
+ }],
716
+ propDecorators: {
717
+ id: [{
718
+ type: Input
719
+ }]
720
+ }
721
+ });
722
+ class MatDialogContent {
723
+ static ɵfac = i0.ɵɵngDeclareFactory({
724
+ minVersion: "12.0.0",
725
+ version: "22.0.0-next.1",
726
+ ngImport: i0,
727
+ type: MatDialogContent,
728
+ deps: [],
729
+ target: i0.ɵɵFactoryTarget.Directive
730
+ });
731
+ static ɵdir = i0.ɵɵngDeclareDirective({
732
+ minVersion: "14.0.0",
733
+ version: "22.0.0-next.1",
734
+ type: MatDialogContent,
735
+ isStandalone: true,
736
+ selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]",
737
+ host: {
738
+ classAttribute: "mat-mdc-dialog-content mdc-dialog__content"
739
+ },
740
+ hostDirectives: [{
741
+ directive: i1.CdkScrollable
742
+ }],
743
+ ngImport: i0
744
+ });
745
+ }
746
+ i0.ɵɵngDeclareClassMetadata({
747
+ minVersion: "12.0.0",
748
+ version: "22.0.0-next.1",
749
+ ngImport: i0,
750
+ type: MatDialogContent,
751
+ decorators: [{
752
+ type: Directive,
753
+ args: [{
754
+ selector: `[mat-dialog-content], mat-dialog-content, [matDialogContent]`,
755
+ host: {
756
+ 'class': 'mat-mdc-dialog-content mdc-dialog__content'
757
+ },
758
+ hostDirectives: [CdkScrollable]
759
+ }]
760
+ }]
761
+ });
762
+ class MatDialogActions extends MatDialogLayoutSection {
763
+ align;
764
+ _onAdd() {
765
+ this._dialogRef._containerInstance?._updateActionSectionCount?.(1);
766
+ }
767
+ _onRemove() {
768
+ this._dialogRef._containerInstance?._updateActionSectionCount?.(-1);
769
+ }
770
+ static ɵfac = i0.ɵɵngDeclareFactory({
771
+ minVersion: "12.0.0",
772
+ version: "22.0.0-next.1",
773
+ ngImport: i0,
774
+ type: MatDialogActions,
775
+ deps: null,
776
+ target: i0.ɵɵFactoryTarget.Directive
777
+ });
778
+ static ɵdir = i0.ɵɵngDeclareDirective({
779
+ minVersion: "14.0.0",
780
+ version: "22.0.0-next.1",
781
+ type: MatDialogActions,
782
+ isStandalone: true,
783
+ selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]",
784
+ inputs: {
785
+ align: "align"
786
+ },
787
+ host: {
788
+ properties: {
789
+ "class.mat-mdc-dialog-actions-align-start": "align === \"start\"",
790
+ "class.mat-mdc-dialog-actions-align-center": "align === \"center\"",
791
+ "class.mat-mdc-dialog-actions-align-end": "align === \"end\""
792
+ },
793
+ classAttribute: "mat-mdc-dialog-actions mdc-dialog__actions"
794
+ },
795
+ usesInheritance: true,
796
+ ngImport: i0
797
+ });
798
+ }
799
+ i0.ɵɵngDeclareClassMetadata({
800
+ minVersion: "12.0.0",
801
+ version: "22.0.0-next.1",
802
+ ngImport: i0,
803
+ type: MatDialogActions,
804
+ decorators: [{
805
+ type: Directive,
806
+ args: [{
807
+ selector: `[mat-dialog-actions], mat-dialog-actions, [matDialogActions]`,
808
+ host: {
809
+ 'class': 'mat-mdc-dialog-actions mdc-dialog__actions',
810
+ '[class.mat-mdc-dialog-actions-align-start]': 'align === "start"',
811
+ '[class.mat-mdc-dialog-actions-align-center]': 'align === "center"',
812
+ '[class.mat-mdc-dialog-actions-align-end]': 'align === "end"'
813
+ }
814
+ }]
815
+ }],
816
+ propDecorators: {
817
+ align: [{
818
+ type: Input
819
+ }]
820
+ }
821
+ });
822
+ function getClosestDialog(element, openDialogs) {
823
+ let parent = element.nativeElement.parentElement;
824
+ while (parent && !parent.classList.contains('mat-mdc-dialog-container')) {
825
+ parent = parent.parentElement;
826
+ }
827
+ return parent ? openDialogs.find(dialog => dialog.id === parent.id) : null;
828
+ }
829
+
830
+ const DIRECTIVES = [MatDialogContainer, MatDialogClose, MatDialogTitle, MatDialogActions, MatDialogContent];
831
+ class MatDialogModule {
832
+ static ɵfac = i0.ɵɵngDeclareFactory({
833
+ minVersion: "12.0.0",
834
+ version: "22.0.0-next.1",
835
+ ngImport: i0,
836
+ type: MatDialogModule,
837
+ deps: [],
838
+ target: i0.ɵɵFactoryTarget.NgModule
839
+ });
840
+ static ɵmod = i0.ɵɵngDeclareNgModule({
841
+ minVersion: "14.0.0",
842
+ version: "22.0.0-next.1",
843
+ ngImport: i0,
844
+ type: MatDialogModule,
845
+ imports: [DialogModule, OverlayModule, PortalModule, MatDialogContainer, MatDialogClose, MatDialogTitle, MatDialogActions, MatDialogContent],
846
+ exports: [BidiModule, MatDialogContainer, MatDialogClose, MatDialogTitle, MatDialogActions, MatDialogContent]
847
+ });
848
+ static ɵinj = i0.ɵɵngDeclareInjector({
849
+ minVersion: "12.0.0",
850
+ version: "22.0.0-next.1",
851
+ ngImport: i0,
852
+ type: MatDialogModule,
853
+ providers: [MatDialog],
854
+ imports: [DialogModule, OverlayModule, PortalModule, BidiModule]
855
+ });
856
+ }
857
+ i0.ɵɵngDeclareClassMetadata({
858
+ minVersion: "12.0.0",
859
+ version: "22.0.0-next.1",
860
+ ngImport: i0,
861
+ type: MatDialogModule,
862
+ decorators: [{
863
+ type: NgModule,
864
+ args: [{
865
+ imports: [DialogModule, OverlayModule, PortalModule, ...DIRECTIVES],
866
+ exports: [BidiModule, ...DIRECTIVES],
867
+ providers: [MatDialog]
868
+ }]
869
+ }]
870
+ });
871
+
872
+ export { MAT_DIALOG_DATA, MAT_DIALOG_DEFAULT_OPTIONS, MAT_DIALOG_SCROLL_STRATEGY, MatDialog, MatDialogActions, MatDialogClose, MatDialogConfig, MatDialogContainer, MatDialogContent, MatDialogModule, MatDialogRef, MatDialogState, MatDialogTitle, _closeDialogVia };
873
+ //# sourceMappingURL=dialog.mjs.map