@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.
- package/_index.scss +1 -1
- package/autocomplete/index.d.ts +1 -1
- package/badge/index.d.ts +4 -1
- package/bottom-sheet/index.d.ts +1 -1
- package/checkbox/_checkbox-common.scss +523 -0
- package/checkbox/_checkbox-theme.scss +23 -8
- package/checkbox/index.d.ts +10 -2
- package/chips/index.d.ts +5 -1
- package/core/index.d.ts +1 -1
- package/core/m2/_typography.scss +1 -1
- package/core/ripple/_ripple.scss +6 -0
- package/core/style/_vendor-prefixes.scss +5 -0
- package/core/theming/_config-validation.scss +3 -2
- package/core/theming/_definition.scss +4 -2
- package/core/theming/_palettes.scss +2 -0
- package/core/tokens/_m3-tokens.scss +168 -152
- package/core/tokens/m2/mdc/_checkbox.scss +3 -4
- package/core/tokens/m3/mat/_divider.scss +1 -1
- package/core/tokens/m3/mat/_expansion.scss +1 -1
- package/core/tokens/m3/mat/_stepper.scss +1 -1
- package/core/tokens/m3/mat/_table.scss +1 -1
- package/datepicker/index.d.ts +10 -2
- package/dialog/index.d.ts +0 -1
- package/dialog/testing/index.d.ts +1 -0
- package/esm2022/autocomplete/autocomplete-origin.mjs +4 -4
- package/esm2022/autocomplete/autocomplete-trigger.mjs +11 -10
- package/esm2022/autocomplete/autocomplete.mjs +4 -4
- package/esm2022/autocomplete/module.mjs +5 -5
- package/esm2022/badge/badge-module.mjs +5 -5
- package/esm2022/badge/badge.mjs +11 -8
- package/esm2022/bottom-sheet/bottom-sheet-container.mjs +4 -4
- package/esm2022/bottom-sheet/bottom-sheet-module.mjs +5 -5
- package/esm2022/bottom-sheet/bottom-sheet.mjs +4 -4
- package/esm2022/button/button-base.mjs +7 -7
- package/esm2022/button/button.mjs +7 -7
- package/esm2022/button/fab.mjs +13 -13
- package/esm2022/button/icon-button.mjs +7 -7
- package/esm2022/button/module.mjs +5 -5
- package/esm2022/button-toggle/button-toggle-module.mjs +5 -5
- package/esm2022/button-toggle/button-toggle.mjs +7 -7
- package/esm2022/card/card.mjs +43 -43
- package/esm2022/card/module.mjs +5 -5
- package/esm2022/checkbox/checkbox-config.mjs +1 -1
- package/esm2022/checkbox/checkbox-required-validator.mjs +4 -4
- package/esm2022/checkbox/checkbox.mjs +8 -15
- package/esm2022/checkbox/module.mjs +9 -9
- package/esm2022/chips/chip-action.mjs +4 -4
- package/esm2022/chips/chip-edit-input.mjs +4 -4
- package/esm2022/chips/chip-grid.mjs +4 -4
- package/esm2022/chips/chip-icons.mjs +10 -10
- package/esm2022/chips/chip-input.mjs +4 -4
- package/esm2022/chips/chip-listbox.mjs +4 -4
- package/esm2022/chips/chip-option.mjs +4 -4
- package/esm2022/chips/chip-row.mjs +4 -4
- package/esm2022/chips/chip-set.mjs +4 -4
- package/esm2022/chips/chip.mjs +9 -9
- package/esm2022/chips/module.mjs +5 -5
- package/esm2022/core/common-behaviors/common-module.mjs +5 -5
- package/esm2022/core/datetime/index.mjs +9 -9
- package/esm2022/core/datetime/native-date-adapter.mjs +4 -4
- package/esm2022/core/error/error-options.mjs +7 -7
- package/esm2022/core/internal-form-field/internal-form-field.mjs +4 -4
- package/esm2022/core/line/line.mjs +8 -8
- package/esm2022/core/option/index.mjs +5 -5
- package/esm2022/core/option/optgroup.mjs +4 -4
- package/esm2022/core/option/option.mjs +4 -4
- package/esm2022/core/private/ripple-loader.mjs +4 -4
- package/esm2022/core/ripple/index.mjs +5 -5
- package/esm2022/core/ripple/ripple.mjs +4 -4
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox-module.mjs +5 -5
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +4 -4
- package/esm2022/core/version.mjs +1 -1
- package/esm2022/datepicker/calendar-body.mjs +4 -4
- package/esm2022/datepicker/calendar.mjs +8 -8
- package/esm2022/datepicker/date-range-input-parts.mjs +10 -10
- package/esm2022/datepicker/date-range-input.mjs +4 -4
- package/esm2022/datepicker/date-range-picker.mjs +4 -4
- package/esm2022/datepicker/date-range-selection-strategy.mjs +4 -4
- package/esm2022/datepicker/date-selection-model.mjs +10 -10
- package/esm2022/datepicker/datepicker-actions.mjs +10 -10
- package/esm2022/datepicker/datepicker-base.mjs +20 -23
- package/esm2022/datepicker/datepicker-input-base.mjs +4 -4
- package/esm2022/datepicker/datepicker-input.mjs +4 -4
- package/esm2022/datepicker/datepicker-intl.mjs +4 -4
- package/esm2022/datepicker/datepicker-module.mjs +5 -5
- package/esm2022/datepicker/datepicker-toggle.mjs +7 -7
- package/esm2022/datepicker/datepicker.mjs +4 -4
- package/esm2022/datepicker/month-view.mjs +4 -4
- package/esm2022/datepicker/multi-year-view.mjs +4 -4
- package/esm2022/datepicker/year-view.mjs +4 -4
- package/esm2022/dialog/dialog-container.mjs +4 -9
- package/esm2022/dialog/dialog-content-directives.mjs +16 -16
- package/esm2022/dialog/dialog.mjs +4 -4
- package/esm2022/dialog/module.mjs +5 -5
- package/esm2022/dialog/testing/dialog-opener.mjs +4 -3
- package/esm2022/divider/divider-module.mjs +5 -5
- package/esm2022/divider/divider.mjs +4 -4
- package/esm2022/expansion/accordion.mjs +4 -4
- package/esm2022/expansion/expansion-module.mjs +5 -5
- package/esm2022/expansion/expansion-panel-content.mjs +4 -4
- package/esm2022/expansion/expansion-panel-header.mjs +10 -10
- package/esm2022/expansion/expansion-panel.mjs +7 -7
- package/esm2022/form-field/directives/error.mjs +4 -4
- package/esm2022/form-field/directives/floating-label.mjs +4 -4
- package/esm2022/form-field/directives/hint.mjs +4 -4
- package/esm2022/form-field/directives/label.mjs +4 -4
- package/esm2022/form-field/directives/line-ripple.mjs +4 -4
- package/esm2022/form-field/directives/notched-outline.mjs +4 -4
- package/esm2022/form-field/directives/prefix.mjs +4 -4
- package/esm2022/form-field/directives/suffix.mjs +4 -4
- package/esm2022/form-field/form-field-control.mjs +4 -4
- package/esm2022/form-field/form-field.mjs +4 -4
- package/esm2022/form-field/module.mjs +5 -5
- package/esm2022/grid-list/grid-list-module.mjs +5 -5
- package/esm2022/grid-list/grid-list.mjs +4 -4
- package/esm2022/grid-list/grid-tile.mjs +16 -16
- package/esm2022/icon/icon-module.mjs +5 -5
- package/esm2022/icon/icon-registry.mjs +4 -4
- package/esm2022/icon/icon.mjs +4 -4
- package/esm2022/icon/testing/fake-icon-registry.mjs +8 -8
- package/esm2022/input/input.mjs +4 -4
- package/esm2022/input/module.mjs +5 -5
- package/esm2022/list/action-list.mjs +4 -4
- package/esm2022/list/list-base.mjs +7 -7
- package/esm2022/list/list-item-sections.mjs +19 -19
- package/esm2022/list/list-module.mjs +5 -5
- package/esm2022/list/list-option.mjs +6 -6
- package/esm2022/list/list.mjs +7 -7
- package/esm2022/list/nav-list.mjs +4 -4
- package/esm2022/list/selection-list.mjs +4 -4
- package/esm2022/list/subheader.mjs +4 -4
- package/esm2022/menu/menu-content.mjs +4 -4
- package/esm2022/menu/menu-item.mjs +4 -4
- package/esm2022/menu/menu-trigger.mjs +4 -4
- package/esm2022/menu/menu.mjs +4 -4
- package/esm2022/menu/module.mjs +5 -5
- package/esm2022/paginator/module.mjs +5 -5
- package/esm2022/paginator/paginator-intl.mjs +4 -4
- package/esm2022/paginator/paginator.mjs +4 -4
- package/esm2022/progress-bar/module.mjs +5 -5
- package/esm2022/progress-bar/progress-bar.mjs +4 -4
- package/esm2022/progress-spinner/module.mjs +5 -5
- package/esm2022/progress-spinner/progress-spinner.mjs +4 -4
- package/esm2022/radio/module.mjs +5 -5
- package/esm2022/radio/radio.mjs +31 -9
- package/esm2022/select/module.mjs +5 -5
- package/esm2022/select/select.mjs +7 -7
- package/esm2022/sidenav/drawer.mjs +10 -10
- package/esm2022/sidenav/sidenav-module.mjs +5 -5
- package/esm2022/sidenav/sidenav.mjs +10 -10
- package/esm2022/slide-toggle/module.mjs +9 -9
- package/esm2022/slide-toggle/slide-toggle-required-validator.mjs +4 -4
- package/esm2022/slide-toggle/slide-toggle.mjs +4 -4
- package/esm2022/slider/module.mjs +5 -5
- package/esm2022/slider/slider-input.mjs +7 -7
- package/esm2022/slider/slider-interface.mjs +2 -2
- package/esm2022/slider/slider-thumb.mjs +4 -4
- package/esm2022/slider/slider.mjs +9 -9
- package/esm2022/snack-bar/module.mjs +5 -5
- package/esm2022/snack-bar/simple-snack-bar.mjs +4 -4
- package/esm2022/snack-bar/snack-bar-container.mjs +6 -6
- package/esm2022/snack-bar/snack-bar-content.mjs +10 -10
- package/esm2022/snack-bar/snack-bar.mjs +4 -4
- package/esm2022/sort/sort-header-intl.mjs +4 -4
- package/esm2022/sort/sort-header.mjs +4 -4
- package/esm2022/sort/sort-module.mjs +5 -5
- package/esm2022/sort/sort.mjs +4 -4
- package/esm2022/stepper/step-content.mjs +4 -4
- package/esm2022/stepper/step-header.mjs +4 -4
- package/esm2022/stepper/step-label.mjs +4 -4
- package/esm2022/stepper/stepper-button.mjs +7 -7
- package/esm2022/stepper/stepper-icon.mjs +4 -4
- package/esm2022/stepper/stepper-intl.mjs +4 -4
- package/esm2022/stepper/stepper-module.mjs +5 -5
- package/esm2022/stepper/stepper.mjs +7 -7
- package/esm2022/table/cell.mjs +22 -22
- package/esm2022/table/module.mjs +5 -5
- package/esm2022/table/row.mjs +22 -22
- package/esm2022/table/table.mjs +9 -9
- package/esm2022/table/text-column.mjs +4 -4
- package/esm2022/tabs/ink-bar.mjs +4 -4
- package/esm2022/tabs/module.mjs +5 -5
- package/esm2022/tabs/paginated-tab-header.mjs +4 -4
- package/esm2022/tabs/tab-body.mjs +7 -7
- package/esm2022/tabs/tab-content.mjs +4 -4
- package/esm2022/tabs/tab-group.mjs +4 -4
- package/esm2022/tabs/tab-header.mjs +4 -4
- package/esm2022/tabs/tab-label-wrapper.mjs +4 -4
- package/esm2022/tabs/tab-label.mjs +4 -4
- package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +10 -10
- package/esm2022/tabs/tab.mjs +4 -4
- package/esm2022/toolbar/toolbar-module.mjs +5 -5
- package/esm2022/toolbar/toolbar.mjs +7 -7
- package/esm2022/tooltip/module.mjs +5 -5
- package/esm2022/tooltip/tooltip.mjs +7 -7
- package/esm2022/tree/node.mjs +10 -10
- package/esm2022/tree/outlet.mjs +4 -4
- package/esm2022/tree/padding.mjs +4 -4
- package/esm2022/tree/toggle.mjs +4 -4
- package/esm2022/tree/tree-module.mjs +5 -5
- package/esm2022/tree/tree.mjs +4 -4
- package/fesm2022/autocomplete.mjs +14 -13
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge.mjs +14 -11
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/bottom-sheet.mjs +10 -10
- package/fesm2022/bottom-sheet.mjs.map +1 -1
- package/fesm2022/button-toggle.mjs +10 -10
- package/fesm2022/button-toggle.mjs.map +1 -1
- package/fesm2022/button.mjs +34 -34
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card.mjs +46 -46
- package/fesm2022/card.mjs.map +1 -1
- package/fesm2022/checkbox.mjs +16 -16
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips.mjs +44 -44
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/core.mjs +59 -59
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +88 -84
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog/testing.mjs +3 -2
- package/fesm2022/dialog/testing.mjs.map +1 -1
- package/fesm2022/dialog.mjs +25 -30
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/divider.mjs +7 -7
- package/fesm2022/divider.mjs.map +1 -1
- package/fesm2022/expansion.mjs +25 -25
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/form-field.mjs +34 -34
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/grid-list.mjs +22 -22
- package/fesm2022/grid-list.mjs.map +1 -1
- package/fesm2022/icon/testing.mjs +7 -7
- package/fesm2022/icon/testing.mjs.map +1 -1
- package/fesm2022/icon.mjs +10 -10
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/input.mjs +7 -7
- package/fesm2022/input.mjs.map +1 -1
- package/fesm2022/list.mjs +51 -51
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/menu.mjs +16 -16
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/paginator.mjs +10 -10
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs +7 -7
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs +7 -7
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/radio.mjs +35 -13
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/select.mjs +10 -10
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/sidenav.mjs +22 -22
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +14 -14
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider.mjs +22 -22
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +24 -24
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/sort.mjs +13 -13
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper.mjs +31 -31
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table.mjs +57 -57
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/tabs.mjs +43 -43
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +10 -10
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tooltip.mjs +10 -10
- package/fesm2022/tooltip.mjs.map +1 -1
- package/fesm2022/tree.mjs +25 -25
- package/fesm2022/tree.mjs.map +1 -1
- package/list/_list-item-hcm-indicator.scss +19 -19
- package/list/_list-theme.scss +6 -4
- package/package.json +2 -2
- package/prebuilt-themes/azure-blue.css +1 -1
- package/prebuilt-themes/cyan-orange.css +1 -1
- package/prebuilt-themes/deeppurple-amber.css +1 -1
- package/prebuilt-themes/indigo-pink.css +1 -1
- package/prebuilt-themes/magenta-violet.css +1 -1
- package/prebuilt-themes/pink-bluegrey.css +1 -1
- package/prebuilt-themes/purple-green.css +1 -1
- package/prebuilt-themes/rose-red.css +1 -1
- package/radio/index.d.ts +1 -0
- package/schematics/ng-add/fonts/material-fonts.js +2 -3
- package/schematics/ng-add/fonts/material-fonts.mjs +2 -3
- package/schematics/ng-add/index.js +3 -3
- package/schematics/ng-add/index.mjs +3 -3
- package/schematics/ng-add/package-config.js +3 -4
- package/schematics/ng-add/package-config.mjs +3 -4
- package/schematics/ng-add/setup-project.js +2 -2
- package/schematics/ng-add/setup-project.mjs +2 -2
- package/schematics/ng-add/theming/create-custom-theme.js +4 -5
- package/schematics/ng-add/theming/create-custom-theme.mjs +4 -5
- package/schematics/ng-add/theming/theming.js +3 -4
- package/schematics/ng-add/theming/theming.mjs +3 -4
- package/schematics/ng-generate/address-form/index.js +2 -2
- package/schematics/ng-generate/address-form/index.mjs +2 -2
- package/schematics/ng-generate/dashboard/index.js +2 -2
- package/schematics/ng-generate/dashboard/index.mjs +2 -2
- package/schematics/ng-generate/m3-theme/index_bundled.js +83 -4
- package/schematics/ng-generate/m3-theme/index_bundled.js.map +3 -3
- package/schematics/ng-generate/navigation/index.js +2 -2
- package/schematics/ng-generate/navigation/index.mjs +2 -2
- package/schematics/ng-generate/table/index.js +2 -2
- package/schematics/ng-generate/table/index.mjs +2 -2
- package/schematics/ng-generate/tree/index.js +2 -2
- package/schematics/ng-generate/tree/index.mjs +2 -2
- package/schematics/ng-update/index_bundled.js +192 -57
- package/schematics/ng-update/index_bundled.js.map +2 -2
- package/slider/index.d.ts +1 -1
- package/snack-bar/_snack-bar-theme.scss +16 -7
- package/sort/index.d.ts +1 -1
- 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.
|
|
247
|
-
|
|
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
|
|
324
|
-
|
|
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:
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
751
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/index.js
|
|
601
752
|
var require_data = __commonJS({
|
|
602
|
-
"bazel-out/
|
|
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/
|
|
771
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/upgrade-data.js
|
|
621
772
|
var require_upgrade_data = __commonJS({
|
|
622
|
-
"bazel-out/
|
|
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/
|
|
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/
|
|
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 =
|
|
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/
|
|
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/
|
|
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/
|
|
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.
|