@angular/material 18.1.0-next.0 → 18.1.0-next.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 (317) hide show
  1. package/_index.scss +1 -1
  2. package/autocomplete/index.d.ts +1 -1
  3. package/badge/index.d.ts +4 -1
  4. package/bottom-sheet/index.d.ts +1 -1
  5. package/checkbox/_checkbox-common.scss +523 -0
  6. package/checkbox/_checkbox-theme.scss +23 -8
  7. package/checkbox/index.d.ts +10 -2
  8. package/chips/index.d.ts +5 -1
  9. package/core/index.d.ts +1 -1
  10. package/core/m2/_typography.scss +1 -1
  11. package/core/ripple/_ripple.scss +6 -0
  12. package/core/style/_vendor-prefixes.scss +5 -0
  13. package/core/theming/_config-validation.scss +3 -2
  14. package/core/theming/_definition.scss +4 -2
  15. package/core/theming/_palettes.scss +2 -0
  16. package/core/tokens/_m3-tokens.scss +168 -152
  17. package/core/tokens/m2/mdc/_checkbox.scss +3 -4
  18. package/core/tokens/m3/mat/_divider.scss +1 -1
  19. package/core/tokens/m3/mat/_expansion.scss +1 -1
  20. package/core/tokens/m3/mat/_stepper.scss +1 -1
  21. package/core/tokens/m3/mat/_table.scss +1 -1
  22. package/datepicker/index.d.ts +10 -2
  23. package/dialog/index.d.ts +0 -1
  24. package/dialog/testing/index.d.ts +1 -0
  25. package/esm2022/autocomplete/autocomplete-origin.mjs +4 -4
  26. package/esm2022/autocomplete/autocomplete-trigger.mjs +11 -10
  27. package/esm2022/autocomplete/autocomplete.mjs +4 -4
  28. package/esm2022/autocomplete/module.mjs +5 -5
  29. package/esm2022/badge/badge-module.mjs +5 -5
  30. package/esm2022/badge/badge.mjs +11 -8
  31. package/esm2022/bottom-sheet/bottom-sheet-container.mjs +4 -4
  32. package/esm2022/bottom-sheet/bottom-sheet-module.mjs +5 -5
  33. package/esm2022/bottom-sheet/bottom-sheet.mjs +4 -4
  34. package/esm2022/button/button-base.mjs +7 -7
  35. package/esm2022/button/button.mjs +7 -7
  36. package/esm2022/button/fab.mjs +13 -13
  37. package/esm2022/button/icon-button.mjs +7 -7
  38. package/esm2022/button/module.mjs +5 -5
  39. package/esm2022/button-toggle/button-toggle-module.mjs +5 -5
  40. package/esm2022/button-toggle/button-toggle.mjs +7 -7
  41. package/esm2022/card/card.mjs +43 -43
  42. package/esm2022/card/module.mjs +5 -5
  43. package/esm2022/checkbox/checkbox-config.mjs +1 -1
  44. package/esm2022/checkbox/checkbox-required-validator.mjs +4 -4
  45. package/esm2022/checkbox/checkbox.mjs +8 -15
  46. package/esm2022/checkbox/module.mjs +9 -9
  47. package/esm2022/chips/chip-action.mjs +4 -4
  48. package/esm2022/chips/chip-edit-input.mjs +4 -4
  49. package/esm2022/chips/chip-grid.mjs +4 -4
  50. package/esm2022/chips/chip-icons.mjs +10 -10
  51. package/esm2022/chips/chip-input.mjs +4 -4
  52. package/esm2022/chips/chip-listbox.mjs +4 -4
  53. package/esm2022/chips/chip-option.mjs +4 -4
  54. package/esm2022/chips/chip-row.mjs +4 -4
  55. package/esm2022/chips/chip-set.mjs +4 -4
  56. package/esm2022/chips/chip.mjs +9 -9
  57. package/esm2022/chips/module.mjs +5 -5
  58. package/esm2022/core/common-behaviors/common-module.mjs +5 -5
  59. package/esm2022/core/datetime/index.mjs +9 -9
  60. package/esm2022/core/datetime/native-date-adapter.mjs +4 -4
  61. package/esm2022/core/error/error-options.mjs +7 -7
  62. package/esm2022/core/internal-form-field/internal-form-field.mjs +4 -4
  63. package/esm2022/core/line/line.mjs +8 -8
  64. package/esm2022/core/option/index.mjs +5 -5
  65. package/esm2022/core/option/optgroup.mjs +4 -4
  66. package/esm2022/core/option/option.mjs +4 -4
  67. package/esm2022/core/private/ripple-loader.mjs +4 -4
  68. package/esm2022/core/ripple/index.mjs +5 -5
  69. package/esm2022/core/ripple/ripple.mjs +4 -4
  70. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox-module.mjs +5 -5
  71. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +4 -4
  72. package/esm2022/core/version.mjs +1 -1
  73. package/esm2022/datepicker/calendar-body.mjs +4 -4
  74. package/esm2022/datepicker/calendar.mjs +8 -8
  75. package/esm2022/datepicker/date-range-input-parts.mjs +10 -10
  76. package/esm2022/datepicker/date-range-input.mjs +4 -4
  77. package/esm2022/datepicker/date-range-picker.mjs +4 -4
  78. package/esm2022/datepicker/date-range-selection-strategy.mjs +4 -4
  79. package/esm2022/datepicker/date-selection-model.mjs +10 -10
  80. package/esm2022/datepicker/datepicker-actions.mjs +10 -10
  81. package/esm2022/datepicker/datepicker-base.mjs +20 -23
  82. package/esm2022/datepicker/datepicker-input-base.mjs +4 -4
  83. package/esm2022/datepicker/datepicker-input.mjs +4 -4
  84. package/esm2022/datepicker/datepicker-intl.mjs +4 -4
  85. package/esm2022/datepicker/datepicker-module.mjs +5 -5
  86. package/esm2022/datepicker/datepicker-toggle.mjs +7 -7
  87. package/esm2022/datepicker/datepicker.mjs +4 -4
  88. package/esm2022/datepicker/month-view.mjs +4 -4
  89. package/esm2022/datepicker/multi-year-view.mjs +4 -4
  90. package/esm2022/datepicker/year-view.mjs +4 -4
  91. package/esm2022/dialog/dialog-container.mjs +4 -9
  92. package/esm2022/dialog/dialog-content-directives.mjs +16 -16
  93. package/esm2022/dialog/dialog.mjs +4 -4
  94. package/esm2022/dialog/module.mjs +5 -5
  95. package/esm2022/dialog/testing/dialog-opener.mjs +4 -3
  96. package/esm2022/divider/divider-module.mjs +5 -5
  97. package/esm2022/divider/divider.mjs +4 -4
  98. package/esm2022/expansion/accordion.mjs +4 -4
  99. package/esm2022/expansion/expansion-module.mjs +5 -5
  100. package/esm2022/expansion/expansion-panel-content.mjs +4 -4
  101. package/esm2022/expansion/expansion-panel-header.mjs +10 -10
  102. package/esm2022/expansion/expansion-panel.mjs +7 -7
  103. package/esm2022/form-field/directives/error.mjs +4 -4
  104. package/esm2022/form-field/directives/floating-label.mjs +4 -4
  105. package/esm2022/form-field/directives/hint.mjs +4 -4
  106. package/esm2022/form-field/directives/label.mjs +4 -4
  107. package/esm2022/form-field/directives/line-ripple.mjs +4 -4
  108. package/esm2022/form-field/directives/notched-outline.mjs +4 -4
  109. package/esm2022/form-field/directives/prefix.mjs +4 -4
  110. package/esm2022/form-field/directives/suffix.mjs +4 -4
  111. package/esm2022/form-field/form-field-control.mjs +4 -4
  112. package/esm2022/form-field/form-field.mjs +4 -4
  113. package/esm2022/form-field/module.mjs +5 -5
  114. package/esm2022/grid-list/grid-list-module.mjs +5 -5
  115. package/esm2022/grid-list/grid-list.mjs +4 -4
  116. package/esm2022/grid-list/grid-tile.mjs +16 -16
  117. package/esm2022/icon/icon-module.mjs +5 -5
  118. package/esm2022/icon/icon-registry.mjs +4 -4
  119. package/esm2022/icon/icon.mjs +4 -4
  120. package/esm2022/icon/testing/fake-icon-registry.mjs +8 -8
  121. package/esm2022/input/input.mjs +4 -4
  122. package/esm2022/input/module.mjs +5 -5
  123. package/esm2022/list/action-list.mjs +4 -4
  124. package/esm2022/list/list-base.mjs +7 -7
  125. package/esm2022/list/list-item-sections.mjs +19 -19
  126. package/esm2022/list/list-module.mjs +5 -5
  127. package/esm2022/list/list-option.mjs +6 -6
  128. package/esm2022/list/list.mjs +7 -7
  129. package/esm2022/list/nav-list.mjs +4 -4
  130. package/esm2022/list/selection-list.mjs +4 -4
  131. package/esm2022/list/subheader.mjs +4 -4
  132. package/esm2022/menu/menu-content.mjs +4 -4
  133. package/esm2022/menu/menu-item.mjs +4 -4
  134. package/esm2022/menu/menu-trigger.mjs +4 -4
  135. package/esm2022/menu/menu.mjs +4 -4
  136. package/esm2022/menu/module.mjs +5 -5
  137. package/esm2022/paginator/module.mjs +5 -5
  138. package/esm2022/paginator/paginator-intl.mjs +4 -4
  139. package/esm2022/paginator/paginator.mjs +4 -4
  140. package/esm2022/progress-bar/module.mjs +5 -5
  141. package/esm2022/progress-bar/progress-bar.mjs +4 -4
  142. package/esm2022/progress-spinner/module.mjs +5 -5
  143. package/esm2022/progress-spinner/progress-spinner.mjs +4 -4
  144. package/esm2022/radio/module.mjs +5 -5
  145. package/esm2022/radio/radio.mjs +31 -9
  146. package/esm2022/select/module.mjs +5 -5
  147. package/esm2022/select/select.mjs +7 -7
  148. package/esm2022/sidenav/drawer.mjs +10 -10
  149. package/esm2022/sidenav/sidenav-module.mjs +5 -5
  150. package/esm2022/sidenav/sidenav.mjs +10 -10
  151. package/esm2022/slide-toggle/module.mjs +9 -9
  152. package/esm2022/slide-toggle/slide-toggle-required-validator.mjs +4 -4
  153. package/esm2022/slide-toggle/slide-toggle.mjs +4 -4
  154. package/esm2022/slider/module.mjs +5 -5
  155. package/esm2022/slider/slider-input.mjs +7 -7
  156. package/esm2022/slider/slider-interface.mjs +2 -2
  157. package/esm2022/slider/slider-thumb.mjs +4 -4
  158. package/esm2022/slider/slider.mjs +9 -9
  159. package/esm2022/snack-bar/module.mjs +5 -5
  160. package/esm2022/snack-bar/simple-snack-bar.mjs +4 -4
  161. package/esm2022/snack-bar/snack-bar-container.mjs +6 -6
  162. package/esm2022/snack-bar/snack-bar-content.mjs +10 -10
  163. package/esm2022/snack-bar/snack-bar.mjs +4 -4
  164. package/esm2022/sort/sort-header-intl.mjs +4 -4
  165. package/esm2022/sort/sort-header.mjs +4 -4
  166. package/esm2022/sort/sort-module.mjs +5 -5
  167. package/esm2022/sort/sort.mjs +4 -4
  168. package/esm2022/stepper/step-content.mjs +4 -4
  169. package/esm2022/stepper/step-header.mjs +4 -4
  170. package/esm2022/stepper/step-label.mjs +4 -4
  171. package/esm2022/stepper/stepper-button.mjs +7 -7
  172. package/esm2022/stepper/stepper-icon.mjs +4 -4
  173. package/esm2022/stepper/stepper-intl.mjs +4 -4
  174. package/esm2022/stepper/stepper-module.mjs +5 -5
  175. package/esm2022/stepper/stepper.mjs +7 -7
  176. package/esm2022/table/cell.mjs +22 -22
  177. package/esm2022/table/module.mjs +5 -5
  178. package/esm2022/table/row.mjs +22 -22
  179. package/esm2022/table/table.mjs +9 -9
  180. package/esm2022/table/text-column.mjs +4 -4
  181. package/esm2022/tabs/ink-bar.mjs +4 -4
  182. package/esm2022/tabs/module.mjs +5 -5
  183. package/esm2022/tabs/paginated-tab-header.mjs +4 -4
  184. package/esm2022/tabs/tab-body.mjs +7 -7
  185. package/esm2022/tabs/tab-content.mjs +4 -4
  186. package/esm2022/tabs/tab-group.mjs +4 -4
  187. package/esm2022/tabs/tab-header.mjs +4 -4
  188. package/esm2022/tabs/tab-label-wrapper.mjs +4 -4
  189. package/esm2022/tabs/tab-label.mjs +4 -4
  190. package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +10 -10
  191. package/esm2022/tabs/tab.mjs +4 -4
  192. package/esm2022/toolbar/toolbar-module.mjs +5 -5
  193. package/esm2022/toolbar/toolbar.mjs +7 -7
  194. package/esm2022/tooltip/module.mjs +5 -5
  195. package/esm2022/tooltip/tooltip.mjs +7 -7
  196. package/esm2022/tree/node.mjs +10 -10
  197. package/esm2022/tree/outlet.mjs +4 -4
  198. package/esm2022/tree/padding.mjs +4 -4
  199. package/esm2022/tree/toggle.mjs +4 -4
  200. package/esm2022/tree/tree-module.mjs +5 -5
  201. package/esm2022/tree/tree.mjs +4 -4
  202. package/fesm2022/autocomplete.mjs +14 -13
  203. package/fesm2022/autocomplete.mjs.map +1 -1
  204. package/fesm2022/badge.mjs +14 -11
  205. package/fesm2022/badge.mjs.map +1 -1
  206. package/fesm2022/bottom-sheet.mjs +10 -10
  207. package/fesm2022/bottom-sheet.mjs.map +1 -1
  208. package/fesm2022/button-toggle.mjs +10 -10
  209. package/fesm2022/button-toggle.mjs.map +1 -1
  210. package/fesm2022/button.mjs +34 -34
  211. package/fesm2022/button.mjs.map +1 -1
  212. package/fesm2022/card.mjs +46 -46
  213. package/fesm2022/card.mjs.map +1 -1
  214. package/fesm2022/checkbox.mjs +16 -16
  215. package/fesm2022/checkbox.mjs.map +1 -1
  216. package/fesm2022/chips.mjs +44 -44
  217. package/fesm2022/chips.mjs.map +1 -1
  218. package/fesm2022/core.mjs +59 -59
  219. package/fesm2022/core.mjs.map +1 -1
  220. package/fesm2022/datepicker.mjs +88 -84
  221. package/fesm2022/datepicker.mjs.map +1 -1
  222. package/fesm2022/dialog/testing.mjs +3 -2
  223. package/fesm2022/dialog/testing.mjs.map +1 -1
  224. package/fesm2022/dialog.mjs +25 -30
  225. package/fesm2022/dialog.mjs.map +1 -1
  226. package/fesm2022/divider.mjs +7 -7
  227. package/fesm2022/divider.mjs.map +1 -1
  228. package/fesm2022/expansion.mjs +25 -25
  229. package/fesm2022/expansion.mjs.map +1 -1
  230. package/fesm2022/form-field.mjs +34 -34
  231. package/fesm2022/form-field.mjs.map +1 -1
  232. package/fesm2022/grid-list.mjs +22 -22
  233. package/fesm2022/grid-list.mjs.map +1 -1
  234. package/fesm2022/icon/testing.mjs +7 -7
  235. package/fesm2022/icon/testing.mjs.map +1 -1
  236. package/fesm2022/icon.mjs +10 -10
  237. package/fesm2022/icon.mjs.map +1 -1
  238. package/fesm2022/input.mjs +7 -7
  239. package/fesm2022/input.mjs.map +1 -1
  240. package/fesm2022/list.mjs +51 -51
  241. package/fesm2022/list.mjs.map +1 -1
  242. package/fesm2022/menu.mjs +16 -16
  243. package/fesm2022/menu.mjs.map +1 -1
  244. package/fesm2022/paginator.mjs +10 -10
  245. package/fesm2022/paginator.mjs.map +1 -1
  246. package/fesm2022/progress-bar.mjs +7 -7
  247. package/fesm2022/progress-bar.mjs.map +1 -1
  248. package/fesm2022/progress-spinner.mjs +7 -7
  249. package/fesm2022/progress-spinner.mjs.map +1 -1
  250. package/fesm2022/radio.mjs +35 -13
  251. package/fesm2022/radio.mjs.map +1 -1
  252. package/fesm2022/select.mjs +10 -10
  253. package/fesm2022/select.mjs.map +1 -1
  254. package/fesm2022/sidenav.mjs +22 -22
  255. package/fesm2022/sidenav.mjs.map +1 -1
  256. package/fesm2022/slide-toggle.mjs +14 -14
  257. package/fesm2022/slide-toggle.mjs.map +1 -1
  258. package/fesm2022/slider.mjs +22 -22
  259. package/fesm2022/slider.mjs.map +1 -1
  260. package/fesm2022/snack-bar.mjs +24 -24
  261. package/fesm2022/snack-bar.mjs.map +1 -1
  262. package/fesm2022/sort.mjs +13 -13
  263. package/fesm2022/sort.mjs.map +1 -1
  264. package/fesm2022/stepper.mjs +31 -31
  265. package/fesm2022/stepper.mjs.map +1 -1
  266. package/fesm2022/table.mjs +57 -57
  267. package/fesm2022/table.mjs.map +1 -1
  268. package/fesm2022/tabs.mjs +43 -43
  269. package/fesm2022/tabs.mjs.map +1 -1
  270. package/fesm2022/toolbar.mjs +10 -10
  271. package/fesm2022/toolbar.mjs.map +1 -1
  272. package/fesm2022/tooltip.mjs +10 -10
  273. package/fesm2022/tooltip.mjs.map +1 -1
  274. package/fesm2022/tree.mjs +25 -25
  275. package/fesm2022/tree.mjs.map +1 -1
  276. package/list/_list-item-hcm-indicator.scss +19 -19
  277. package/list/_list-theme.scss +6 -4
  278. package/package.json +2 -2
  279. package/prebuilt-themes/azure-blue.css +1 -1
  280. package/prebuilt-themes/cyan-orange.css +1 -1
  281. package/prebuilt-themes/deeppurple-amber.css +1 -1
  282. package/prebuilt-themes/indigo-pink.css +1 -1
  283. package/prebuilt-themes/magenta-violet.css +1 -1
  284. package/prebuilt-themes/pink-bluegrey.css +1 -1
  285. package/prebuilt-themes/purple-green.css +1 -1
  286. package/prebuilt-themes/rose-red.css +1 -1
  287. package/radio/index.d.ts +1 -0
  288. package/schematics/ng-add/fonts/material-fonts.js +2 -3
  289. package/schematics/ng-add/fonts/material-fonts.mjs +2 -3
  290. package/schematics/ng-add/index.js +3 -3
  291. package/schematics/ng-add/index.mjs +3 -3
  292. package/schematics/ng-add/package-config.js +3 -4
  293. package/schematics/ng-add/package-config.mjs +3 -4
  294. package/schematics/ng-add/setup-project.js +2 -2
  295. package/schematics/ng-add/setup-project.mjs +2 -2
  296. package/schematics/ng-add/theming/create-custom-theme.js +4 -5
  297. package/schematics/ng-add/theming/create-custom-theme.mjs +4 -5
  298. package/schematics/ng-add/theming/theming.js +3 -4
  299. package/schematics/ng-add/theming/theming.mjs +3 -4
  300. package/schematics/ng-generate/address-form/index.js +2 -2
  301. package/schematics/ng-generate/address-form/index.mjs +2 -2
  302. package/schematics/ng-generate/dashboard/index.js +2 -2
  303. package/schematics/ng-generate/dashboard/index.mjs +2 -2
  304. package/schematics/ng-generate/m3-theme/index_bundled.js +83 -4
  305. package/schematics/ng-generate/m3-theme/index_bundled.js.map +3 -3
  306. package/schematics/ng-generate/navigation/index.js +2 -2
  307. package/schematics/ng-generate/navigation/index.mjs +2 -2
  308. package/schematics/ng-generate/table/index.js +2 -2
  309. package/schematics/ng-generate/table/index.mjs +2 -2
  310. package/schematics/ng-generate/tree/index.js +2 -2
  311. package/schematics/ng-generate/tree/index.mjs +2 -2
  312. package/schematics/ng-update/index_bundled.js +192 -57
  313. package/schematics/ng-update/index_bundled.js.map +2 -2
  314. package/slider/index.d.ts +1 -1
  315. package/snack-bar/_snack-bar-theme.scss +16 -7
  316. package/sort/index.d.ts +1 -1
  317. package/tree/index.d.ts +2 -2
@@ -33,6 +33,10 @@ var require_tslib = __commonJS({
33
33
  var __rest;
34
34
  var __decorate;
35
35
  var __param;
36
+ var __esDecorate;
37
+ var __runInitializers;
38
+ var __propKey;
39
+ var __setFunctionName;
36
40
  var __metadata;
37
41
  var __awaiter;
38
42
  var __generator;
@@ -51,7 +55,10 @@ var require_tslib = __commonJS({
51
55
  var __importDefault;
52
56
  var __classPrivateFieldGet;
53
57
  var __classPrivateFieldSet;
58
+ var __classPrivateFieldIn;
54
59
  var __createBinding;
60
+ var __addDisposableResource;
61
+ var __disposeResources;
55
62
  (function(factory) {
56
63
  var root = typeof global === "object" ? global : typeof self === "object" ? self : typeof this === "object" ? this : {};
57
64
  if (typeof define === "function" && define.amd) {
@@ -128,6 +135,65 @@ var require_tslib = __commonJS({
128
135
  decorator(target, key, paramIndex);
129
136
  };
130
137
  };
138
+ __esDecorate = function(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
139
+ function accept(f) {
140
+ if (f !== void 0 && typeof f !== "function")
141
+ throw new TypeError("Function expected");
142
+ return f;
143
+ }
144
+ var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
145
+ var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
146
+ var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
147
+ var _, done = false;
148
+ for (var i = decorators.length - 1; i >= 0; i--) {
149
+ var context = {};
150
+ for (var p in contextIn)
151
+ context[p] = p === "access" ? {} : contextIn[p];
152
+ for (var p in contextIn.access)
153
+ context.access[p] = contextIn.access[p];
154
+ context.addInitializer = function(f) {
155
+ if (done)
156
+ throw new TypeError("Cannot add initializers after decoration has completed");
157
+ extraInitializers.push(accept(f || null));
158
+ };
159
+ var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
160
+ if (kind === "accessor") {
161
+ if (result === void 0)
162
+ continue;
163
+ if (result === null || typeof result !== "object")
164
+ throw new TypeError("Object expected");
165
+ if (_ = accept(result.get))
166
+ descriptor.get = _;
167
+ if (_ = accept(result.set))
168
+ descriptor.set = _;
169
+ if (_ = accept(result.init))
170
+ initializers.unshift(_);
171
+ } else if (_ = accept(result)) {
172
+ if (kind === "field")
173
+ initializers.unshift(_);
174
+ else
175
+ descriptor[key] = _;
176
+ }
177
+ }
178
+ if (target)
179
+ Object.defineProperty(target, contextIn.name, descriptor);
180
+ done = true;
181
+ };
182
+ __runInitializers = function(thisArg, initializers, value) {
183
+ var useValue = arguments.length > 2;
184
+ for (var i = 0; i < initializers.length; i++) {
185
+ value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
186
+ }
187
+ return useValue ? value : void 0;
188
+ };
189
+ __propKey = function(x) {
190
+ return typeof x === "symbol" ? x : "".concat(x);
191
+ };
192
+ __setFunctionName = function(f, name, prefix) {
193
+ if (typeof name === "symbol")
194
+ name = name.description ? "[".concat(name.description, "]") : "";
195
+ return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
196
+ };
131
197
  __metadata = function(metadataKey, metadataValue) {
132
198
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
133
199
  return Reflect.metadata(metadataKey, metadataValue);
@@ -176,7 +242,7 @@ var require_tslib = __commonJS({
176
242
  function step(op) {
177
243
  if (f)
178
244
  throw new TypeError("Generator is already executing.");
179
- while (_)
245
+ while (g && (g = 0, op[0] && (_ = 0)), _)
180
246
  try {
181
247
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
182
248
  return t;
@@ -243,9 +309,13 @@ var require_tslib = __commonJS({
243
309
  __createBinding = Object.create ? function(o, m, k, k2) {
244
310
  if (k2 === void 0)
245
311
  k2 = k;
246
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
247
- return m[k];
248
- } });
312
+ var desc = Object.getOwnPropertyDescriptor(m, k);
313
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
314
+ desc = { enumerable: true, get: function() {
315
+ return m[k];
316
+ } };
317
+ }
318
+ Object.defineProperty(o, k2, desc);
249
319
  } : function(o, m, k, k2) {
250
320
  if (k2 === void 0)
251
321
  k2 = k;
@@ -317,16 +387,24 @@ var require_tslib = __commonJS({
317
387
  if (!Symbol.asyncIterator)
318
388
  throw new TypeError("Symbol.asyncIterator is not defined.");
319
389
  var g = generator.apply(thisArg, _arguments || []), i, q = [];
320
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function() {
390
+ return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function() {
321
391
  return this;
322
392
  }, i;
323
- function verb(n) {
324
- if (g[n])
393
+ function awaitReturn(f) {
394
+ return function(v) {
395
+ return Promise.resolve(v).then(f, reject);
396
+ };
397
+ }
398
+ function verb(n, f) {
399
+ if (g[n]) {
325
400
  i[n] = function(v) {
326
401
  return new Promise(function(a, b) {
327
402
  q.push([n, v, a, b]) > 1 || resume(n, v);
328
403
  });
329
404
  };
405
+ if (f)
406
+ i[n] = f(i[n]);
407
+ }
330
408
  }
331
409
  function resume(n, v) {
332
410
  try {
@@ -358,7 +436,7 @@ var require_tslib = __commonJS({
358
436
  }, i;
359
437
  function verb(n, f) {
360
438
  i[n] = o[n] ? function(v) {
361
- return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v;
439
+ return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v;
362
440
  } : f;
363
441
  }
364
442
  };
@@ -426,11 +504,81 @@ var require_tslib = __commonJS({
426
504
  throw new TypeError("Cannot write private member to an object whose class did not declare it");
427
505
  return kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value), value;
428
506
  };
507
+ __classPrivateFieldIn = function(state, receiver) {
508
+ if (receiver === null || typeof receiver !== "object" && typeof receiver !== "function")
509
+ throw new TypeError("Cannot use 'in' operator on non-object");
510
+ return typeof state === "function" ? receiver === state : state.has(receiver);
511
+ };
512
+ __addDisposableResource = function(env, value, async) {
513
+ if (value !== null && value !== void 0) {
514
+ if (typeof value !== "object" && typeof value !== "function")
515
+ throw new TypeError("Object expected.");
516
+ var dispose, inner;
517
+ if (async) {
518
+ if (!Symbol.asyncDispose)
519
+ throw new TypeError("Symbol.asyncDispose is not defined.");
520
+ dispose = value[Symbol.asyncDispose];
521
+ }
522
+ if (dispose === void 0) {
523
+ if (!Symbol.dispose)
524
+ throw new TypeError("Symbol.dispose is not defined.");
525
+ dispose = value[Symbol.dispose];
526
+ if (async)
527
+ inner = dispose;
528
+ }
529
+ if (typeof dispose !== "function")
530
+ throw new TypeError("Object not disposable.");
531
+ if (inner)
532
+ dispose = function() {
533
+ try {
534
+ inner.call(this);
535
+ } catch (e) {
536
+ return Promise.reject(e);
537
+ }
538
+ };
539
+ env.stack.push({ value, dispose, async });
540
+ } else if (async) {
541
+ env.stack.push({ async: true });
542
+ }
543
+ return value;
544
+ };
545
+ var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function(error, suppressed, message) {
546
+ var e = new Error(message);
547
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
548
+ };
549
+ __disposeResources = function(env) {
550
+ function fail(e) {
551
+ env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
552
+ env.hasError = true;
553
+ }
554
+ function next() {
555
+ while (env.stack.length) {
556
+ var rec = env.stack.pop();
557
+ try {
558
+ var result = rec.dispose && rec.dispose.call(rec.value);
559
+ if (rec.async)
560
+ return Promise.resolve(result).then(next, function(e) {
561
+ fail(e);
562
+ return next();
563
+ });
564
+ } catch (e) {
565
+ fail(e);
566
+ }
567
+ }
568
+ if (env.hasError)
569
+ throw env.error;
570
+ }
571
+ return next();
572
+ };
429
573
  exporter("__extends", __extends);
430
574
  exporter("__assign", __assign);
431
575
  exporter("__rest", __rest);
432
576
  exporter("__decorate", __decorate);
433
577
  exporter("__param", __param);
578
+ exporter("__esDecorate", __esDecorate);
579
+ exporter("__runInitializers", __runInitializers);
580
+ exporter("__propKey", __propKey);
581
+ exporter("__setFunctionName", __setFunctionName);
434
582
  exporter("__metadata", __metadata);
435
583
  exporter("__awaiter", __awaiter);
436
584
  exporter("__generator", __generator);
@@ -450,13 +598,16 @@ var require_tslib = __commonJS({
450
598
  exporter("__importDefault", __importDefault);
451
599
  exporter("__classPrivateFieldGet", __classPrivateFieldGet);
452
600
  exporter("__classPrivateFieldSet", __classPrivateFieldSet);
601
+ exporter("__classPrivateFieldIn", __classPrivateFieldIn);
602
+ exporter("__addDisposableResource", __addDisposableResource);
603
+ exporter("__disposeResources", __disposeResources);
453
604
  });
454
605
  }
455
606
  });
456
607
 
457
- // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/attribute-selectors.js
608
+ // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/attribute-selectors.js
458
609
  var require_attribute_selectors = __commonJS({
459
- "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/attribute-selectors.js"(exports) {
610
+ "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/attribute-selectors.js"(exports) {
460
611
  "use strict";
461
612
  Object.defineProperty(exports, "__esModule", { value: true });
462
613
  exports.attributeSelectors = void 0;
@@ -464,9 +615,9 @@ var require_attribute_selectors = __commonJS({
464
615
  }
465
616
  });
466
617
 
467
- // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/class-names.js
618
+ // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/class-names.js
468
619
  var require_class_names = __commonJS({
469
- "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/class-names.js"(exports) {
620
+ "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/class-names.js"(exports) {
470
621
  "use strict";
471
622
  Object.defineProperty(exports, "__esModule", { value: true });
472
623
  exports.classNames = void 0;
@@ -474,9 +625,9 @@ var require_class_names = __commonJS({
474
625
  }
475
626
  });
476
627
 
477
- // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/constructor-checks.js
628
+ // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/constructor-checks.js
478
629
  var require_constructor_checks = __commonJS({
479
- "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/constructor-checks.js"(exports) {
630
+ "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/constructor-checks.js"(exports) {
480
631
  "use strict";
481
632
  Object.defineProperty(exports, "__esModule", { value: true });
482
633
  exports.constructorChecks = void 0;
@@ -484,9 +635,9 @@ var require_constructor_checks = __commonJS({
484
635
  }
485
636
  });
486
637
 
487
- // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/css-selectors.js
638
+ // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/css-selectors.js
488
639
  var require_css_selectors = __commonJS({
489
- "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/css-selectors.js"(exports) {
640
+ "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/css-selectors.js"(exports) {
490
641
  "use strict";
491
642
  Object.defineProperty(exports, "__esModule", { value: true });
492
643
  exports.cssSelectors = void 0;
@@ -494,9 +645,9 @@ var require_css_selectors = __commonJS({
494
645
  }
495
646
  });
496
647
 
497
- // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/css-tokens.js
648
+ // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/css-tokens.js
498
649
  var require_css_tokens = __commonJS({
499
- "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/css-tokens.js"(exports) {
650
+ "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/css-tokens.js"(exports) {
500
651
  "use strict";
501
652
  Object.defineProperty(exports, "__esModule", { value: true });
502
653
  exports.cssTokens = void 0;
@@ -537,9 +688,9 @@ var require_css_tokens = __commonJS({
537
688
  }
538
689
  });
539
690
 
540
- // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/element-selectors.js
691
+ // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/element-selectors.js
541
692
  var require_element_selectors = __commonJS({
542
- "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/element-selectors.js"(exports) {
693
+ "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/element-selectors.js"(exports) {
543
694
  "use strict";
544
695
  Object.defineProperty(exports, "__esModule", { value: true });
545
696
  exports.elementSelectors = void 0;
@@ -547,9 +698,9 @@ var require_element_selectors = __commonJS({
547
698
  }
548
699
  });
549
700
 
550
- // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/input-names.js
701
+ // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/input-names.js
551
702
  var require_input_names = __commonJS({
552
- "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/input-names.js"(exports) {
703
+ "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/input-names.js"(exports) {
553
704
  "use strict";
554
705
  Object.defineProperty(exports, "__esModule", { value: true });
555
706
  exports.inputNames = void 0;
@@ -557,9 +708,9 @@ var require_input_names = __commonJS({
557
708
  }
558
709
  });
559
710
 
560
- // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/method-call-checks.js
711
+ // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/method-call-checks.js
561
712
  var require_method_call_checks = __commonJS({
562
- "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/method-call-checks.js"(exports) {
713
+ "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/method-call-checks.js"(exports) {
563
714
  "use strict";
564
715
  Object.defineProperty(exports, "__esModule", { value: true });
565
716
  exports.methodCallChecks = void 0;
@@ -567,9 +718,9 @@ var require_method_call_checks = __commonJS({
567
718
  }
568
719
  });
569
720
 
570
- // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/output-names.js
721
+ // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/output-names.js
571
722
  var require_output_names = __commonJS({
572
- "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/output-names.js"(exports) {
723
+ "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/output-names.js"(exports) {
573
724
  "use strict";
574
725
  Object.defineProperty(exports, "__esModule", { value: true });
575
726
  exports.outputNames = void 0;
@@ -577,9 +728,9 @@ var require_output_names = __commonJS({
577
728
  }
578
729
  });
579
730
 
580
- // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/property-names.js
731
+ // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/property-names.js
581
732
  var require_property_names = __commonJS({
582
- "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/property-names.js"(exports) {
733
+ "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/property-names.js"(exports) {
583
734
  "use strict";
584
735
  Object.defineProperty(exports, "__esModule", { value: true });
585
736
  exports.propertyNames = void 0;
@@ -587,9 +738,9 @@ var require_property_names = __commonJS({
587
738
  }
588
739
  });
589
740
 
590
- // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/symbol-removal.js
741
+ // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/symbol-removal.js
591
742
  var require_symbol_removal = __commonJS({
592
- "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/symbol-removal.js"(exports) {
743
+ "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/symbol-removal.js"(exports) {
593
744
  "use strict";
594
745
  Object.defineProperty(exports, "__esModule", { value: true });
595
746
  exports.symbolRemoval = void 0;
@@ -597,9 +748,9 @@ var require_symbol_removal = __commonJS({
597
748
  }
598
749
  });
599
750
 
600
- // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/index.js
751
+ // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/index.js
601
752
  var require_data = __commonJS({
602
- "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/index.js"(exports) {
753
+ "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/index.js"(exports) {
603
754
  "use strict";
604
755
  Object.defineProperty(exports, "__esModule", { value: true });
605
756
  var tslib_1 = require_tslib();
@@ -617,9 +768,9 @@ var require_data = __commonJS({
617
768
  }
618
769
  });
619
770
 
620
- // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/upgrade-data.js
771
+ // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/upgrade-data.js
621
772
  var require_upgrade_data = __commonJS({
622
- "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/upgrade-data.js"(exports) {
773
+ "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/upgrade-data.js"(exports) {
623
774
  "use strict";
624
775
  Object.defineProperty(exports, "__esModule", { value: true });
625
776
  exports.materialUpgradeData = void 0;
@@ -640,12 +791,12 @@ var require_upgrade_data = __commonJS({
640
791
  }
641
792
  });
642
793
 
643
- // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/migrations/m2-theming-v18/migration.js
794
+ // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/migrations/m2-theming-v18/migration.js
644
795
  var require_migration = __commonJS({
645
- "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/migrations/m2-theming-v18/migration.js"(exports) {
796
+ "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/migrations/m2-theming-v18/migration.js"(exports) {
646
797
  "use strict";
647
798
  Object.defineProperty(exports, "__esModule", { value: true });
648
- exports.migrateM2ThemingApiUsages = void 0;
799
+ exports.migrateM2ThemingApiUsages = migrateM2ThemingApiUsages;
649
800
  var RENAMED_FUNCTIONS = [
650
801
  "define-light-theme",
651
802
  "define-dark-theme",
@@ -744,7 +895,6 @@ var require_migration = __commonJS({
744
895
  }
745
896
  return restoreComments(content, placeholders);
746
897
  }
747
- exports.migrateM2ThemingApiUsages = migrateM2ThemingApiUsages;
748
898
  function migrateFunction(fileContent, oldNamespace, oldName, newNamespace, newName) {
749
899
  return fileContent.replace(new RegExp(`${oldNamespace}\\.${oldName}\\(`, "g"), `${newNamespace}.${newName}(`);
750
900
  }
@@ -808,8 +958,7 @@ var require_migration = __commonJS({
808
958
  function getNamespaces(moduleName, content) {
809
959
  const namespaces = /* @__PURE__ */ new Set();
810
960
  const escapedName = moduleName.replace(/([.*+?^=!:${}()|[\]\/\\])/g, "\\$1");
811
- const pattern = new RegExp(`@use +['"]${escapedName}['"].*;?
812
- `, "g");
961
+ const pattern = new RegExp(`@use +['"]${escapedName}['"].*;?\\r?\\n`, "g");
813
962
  let match = null;
814
963
  while (match = pattern.exec(content)) {
815
964
  namespaces.add(extractNamespaceFromUseStatement(match[0]));
@@ -819,9 +968,9 @@ var require_migration = __commonJS({
819
968
  }
820
969
  });
821
970
 
822
- // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/migrations/m2-theming-v18/index.js
971
+ // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/migrations/m2-theming-v18/index.js
823
972
  var require_m2_theming_v18 = __commonJS({
824
- "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/migrations/m2-theming-v18/index.js"(exports) {
973
+ "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/migrations/m2-theming-v18/index.js"(exports) {
825
974
  "use strict";
826
975
  Object.defineProperty(exports, "__esModule", { value: true });
827
976
  exports.M2ThemingMigration = void 0;
@@ -853,7 +1002,7 @@ var require_m2_theming_v18 = __commonJS({
853
1002
  }
854
1003
  });
855
1004
 
856
- // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/index.mjs
1005
+ // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/index.mjs
857
1006
  var ng_update_exports = {};
858
1007
  __export(ng_update_exports, {
859
1008
  updateToV18: () => updateToV18
@@ -878,20 +1027,6 @@ function onMigrationComplete(context, targetVersion, hasFailures) {
878
1027
  0 && (module.exports = {
879
1028
  updateToV18
880
1029
  });
881
- /*! *****************************************************************************
882
- Copyright (c) Microsoft Corporation.
883
-
884
- Permission to use, copy, modify, and/or distribute this software for any
885
- purpose with or without fee is hereby granted.
886
-
887
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
888
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
889
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
890
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
891
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
892
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
893
- PERFORMANCE OF THIS SOFTWARE.
894
- ***************************************************************************** */
895
1030
  /**
896
1031
  * @license
897
1032
  * Copyright Google LLC All Rights Reserved.