@angular/material 17.1.0-next.0 → 17.1.0-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/autocomplete/_autocomplete-theme.scss +47 -14
- package/autocomplete/index.d.ts +14 -10
- package/badge/_badge-theme.scss +67 -35
- package/badge/index.d.ts +5 -5
- package/bottom-sheet/_bottom-sheet-theme.scss +51 -18
- package/bottom-sheet/index.d.ts +6 -6
- package/button/_button-theme.scss +4 -1
- package/button/_fab-theme.scss +65 -32
- package/button/_icon-button-theme.scss +89 -56
- package/button/index.d.ts +13 -13
- package/button-toggle/_button-toggle-theme.scss +66 -32
- package/button-toggle/index.d.ts +5 -5
- package/card/index.d.ts +18 -18
- package/checkbox/index.d.ts +6 -6
- package/chips/_chips-theme.scss +64 -32
- package/chips/index.d.ts +46 -73
- package/core/_core-theme.scss +1 -3
- package/core/index.d.ts +50 -31
- package/core/option/_optgroup-theme.scss +47 -16
- package/core/option/_option-theme.scss +54 -23
- package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +18 -58
- package/core/tokens/m2/_index.scss +38 -0
- package/core/tokens/m2/mat/_full-pseudo-checkbox.scss +49 -0
- package/core/tokens/m2/mat/_minimal-pseudo-checkbox.scss +43 -0
- package/datepicker/_datepicker-theme.scss +70 -38
- package/datepicker/index.d.ts +88 -86
- package/dialog/_dialog-theme.scss +48 -17
- package/divider/_divider-theme.scss +49 -16
- package/divider/index.d.ts +4 -4
- package/esm2022/autocomplete/autocomplete-origin.mjs +5 -4
- package/esm2022/autocomplete/autocomplete-trigger.mjs +27 -11
- package/esm2022/autocomplete/autocomplete.mjs +6 -6
- package/esm2022/autocomplete/module.mjs +23 -7
- package/esm2022/autocomplete/public-api.mjs +3 -1
- package/esm2022/badge/badge-module.mjs +6 -7
- package/esm2022/badge/badge.mjs +5 -4
- package/esm2022/bottom-sheet/bottom-sheet-container.mjs +6 -6
- package/esm2022/bottom-sheet/bottom-sheet-module.mjs +8 -7
- package/esm2022/bottom-sheet/bottom-sheet.mjs +5 -6
- package/esm2022/button/button-base.mjs +6 -6
- package/esm2022/button/button.mjs +9 -9
- package/esm2022/button/fab.mjs +17 -17
- package/esm2022/button/icon-button.mjs +9 -9
- package/esm2022/button/module.mjs +16 -12
- package/esm2022/button-toggle/button-toggle-module.mjs +6 -7
- package/esm2022/button-toggle/button-toggle.mjs +10 -9
- package/esm2022/card/card.mjs +57 -46
- package/esm2022/card/module.mjs +7 -8
- package/esm2022/checkbox/checkbox-required-validator.mjs +6 -4
- package/esm2022/checkbox/checkbox.mjs +5 -6
- package/esm2022/checkbox/module.mjs +11 -12
- package/esm2022/chips/chip-action.mjs +5 -4
- package/esm2022/chips/chip-edit-input.mjs +5 -4
- package/esm2022/chips/chip-grid.mjs +39 -51
- package/esm2022/chips/chip-icons.mjs +13 -10
- package/esm2022/chips/chip-input.mjs +5 -4
- package/esm2022/chips/chip-listbox.mjs +5 -5
- package/esm2022/chips/chip-option.mjs +7 -7
- package/esm2022/chips/chip-row.mjs +7 -8
- package/esm2022/chips/chip-set.mjs +5 -5
- package/esm2022/chips/chip.mjs +5 -6
- package/esm2022/chips/module.mjs +7 -8
- package/esm2022/chips/tokens.mjs +8 -2
- package/esm2022/core/common-behaviors/common-module.mjs +4 -4
- package/esm2022/core/common-behaviors/error-state.mjs +50 -11
- package/esm2022/core/common-behaviors/index.mjs +2 -2
- package/esm2022/core/datetime/index.mjs +8 -8
- package/esm2022/core/datetime/native-date-adapter.mjs +3 -3
- package/esm2022/core/error/error-options.mjs +6 -6
- package/esm2022/core/line/line.mjs +10 -10
- package/esm2022/core/option/index.mjs +6 -7
- package/esm2022/core/option/optgroup.mjs +5 -5
- package/esm2022/core/option/option.mjs +9 -9
- package/esm2022/core/private/ripple-loader.mjs +3 -3
- package/esm2022/core/ripple/index.mjs +6 -7
- package/esm2022/core/ripple/ripple.mjs +5 -4
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox-module.mjs +6 -7
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +5 -5
- package/esm2022/core/version.mjs +1 -1
- package/esm2022/datepicker/calendar-body.mjs +6 -6
- package/esm2022/datepicker/calendar.mjs +12 -16
- package/esm2022/datepicker/date-range-input-parts.mjs +41 -20
- package/esm2022/datepicker/date-range-input.mjs +7 -7
- package/esm2022/datepicker/date-range-picker.mjs +5 -4
- package/esm2022/datepicker/date-range-selection-strategy.mjs +3 -3
- package/esm2022/datepicker/date-selection-model.mjs +9 -9
- package/esm2022/datepicker/datepicker-actions.mjs +13 -11
- package/esm2022/datepicker/datepicker-base.mjs +23 -20
- package/esm2022/datepicker/datepicker-input-base.mjs +6 -5
- package/esm2022/datepicker/datepicker-input.mjs +5 -4
- package/esm2022/datepicker/datepicker-intl.mjs +3 -3
- package/esm2022/datepicker/datepicker-module.mjs +18 -16
- package/esm2022/datepicker/datepicker-toggle.mjs +10 -10
- package/esm2022/datepicker/datepicker.mjs +5 -4
- package/esm2022/datepicker/month-view.mjs +5 -6
- package/esm2022/datepicker/multi-year-view.mjs +5 -6
- package/esm2022/datepicker/year-view.mjs +5 -6
- package/esm2022/dialog/dialog-container.mjs +7 -8
- package/esm2022/dialog/dialog-content-directives.mjs +12 -12
- package/esm2022/dialog/dialog.mjs +3 -3
- package/esm2022/dialog/module.mjs +5 -5
- package/esm2022/dialog/testing/dialog-opener.mjs +3 -3
- package/esm2022/divider/divider-module.mjs +6 -7
- package/esm2022/divider/divider.mjs +5 -5
- package/esm2022/expansion/accordion.mjs +5 -4
- package/esm2022/expansion/expansion-module.mjs +16 -9
- package/esm2022/expansion/expansion-panel-content.mjs +5 -4
- package/esm2022/expansion/expansion-panel-header.mjs +13 -11
- package/esm2022/expansion/expansion-panel.mjs +11 -11
- package/esm2022/form-field/directives/error.mjs +5 -4
- package/esm2022/form-field/directives/floating-label.mjs +5 -4
- package/esm2022/form-field/directives/hint.mjs +5 -4
- package/esm2022/form-field/directives/label.mjs +5 -4
- package/esm2022/form-field/directives/line-ripple.mjs +5 -4
- package/esm2022/form-field/directives/notched-outline.mjs +5 -5
- package/esm2022/form-field/directives/prefix.mjs +5 -4
- package/esm2022/form-field/directives/suffix.mjs +5 -4
- package/esm2022/form-field/form-field-control.mjs +3 -3
- package/esm2022/form-field/form-field.mjs +14 -13
- package/esm2022/form-field/module.mjs +16 -18
- package/esm2022/grid-list/grid-list-module.mjs +15 -11
- package/esm2022/grid-list/grid-list.mjs +5 -5
- package/esm2022/grid-list/grid-tile.mjs +21 -18
- package/esm2022/grid-list/tile-coordinator.mjs +1 -1
- package/esm2022/icon/icon-module.mjs +6 -7
- package/esm2022/icon/icon-registry.mjs +3 -3
- package/esm2022/icon/icon.mjs +5 -5
- package/esm2022/icon/testing/fake-icon-registry.mjs +7 -7
- package/esm2022/input/input.mjs +28 -30
- package/esm2022/input/module.mjs +6 -7
- package/esm2022/input/public-api.mjs +3 -1
- package/esm2022/list/action-list.mjs +5 -5
- package/esm2022/list/list-base.mjs +9 -7
- package/esm2022/list/list-item-sections.mjs +25 -19
- package/esm2022/list/list-module.mjs +15 -16
- package/esm2022/list/list-option.mjs +8 -8
- package/esm2022/list/list.mjs +10 -10
- package/esm2022/list/nav-list.mjs +5 -5
- package/esm2022/list/selection-list.mjs +5 -5
- package/esm2022/list/subheader.mjs +5 -4
- package/esm2022/menu/menu-content.mjs +5 -4
- package/esm2022/menu/menu-item.mjs +6 -6
- package/esm2022/menu/menu-trigger.mjs +12 -5
- package/esm2022/menu/menu.mjs +6 -6
- package/esm2022/menu/module.mjs +25 -7
- package/esm2022/paginator/module.mjs +6 -7
- package/esm2022/paginator/paginator-intl.mjs +3 -3
- package/esm2022/paginator/paginator.mjs +10 -11
- package/esm2022/progress-bar/module.mjs +6 -6
- package/esm2022/progress-bar/progress-bar.mjs +5 -5
- package/esm2022/progress-spinner/module.mjs +6 -7
- package/esm2022/progress-spinner/progress-spinner.mjs +6 -6
- package/esm2022/radio/module.mjs +6 -7
- package/esm2022/radio/radio.mjs +10 -9
- package/esm2022/select/module.mjs +21 -7
- package/esm2022/select/public-api.mjs +5 -1
- package/esm2022/select/select.mjs +51 -42
- package/esm2022/sidenav/drawer.mjs +13 -12
- package/esm2022/sidenav/sidenav-module.mjs +14 -10
- package/esm2022/sidenav/sidenav.mjs +13 -12
- package/esm2022/slide-toggle/module.mjs +20 -12
- package/esm2022/slide-toggle/slide-toggle-required-validator.mjs +5 -4
- package/esm2022/slide-toggle/slide-toggle.mjs +6 -6
- package/esm2022/slider/module.mjs +19 -7
- package/esm2022/slider/slider-input.mjs +9 -7
- package/esm2022/slider/slider-thumb.mjs +5 -6
- package/esm2022/slider/slider.mjs +6 -6
- package/esm2022/snack-bar/module.mjs +6 -6
- package/esm2022/snack-bar/simple-snack-bar.mjs +6 -8
- package/esm2022/snack-bar/snack-bar-container.mjs +7 -8
- package/esm2022/snack-bar/snack-bar-content.mjs +9 -9
- package/esm2022/snack-bar/snack-bar-ref.mjs +1 -1
- package/esm2022/snack-bar/snack-bar.mjs +3 -3
- package/esm2022/sort/sort-header-intl.mjs +3 -3
- package/esm2022/sort/sort-header.mjs +5 -5
- package/esm2022/sort/sort-module.mjs +6 -7
- package/esm2022/sort/sort.mjs +5 -4
- package/esm2022/stepper/step-content.mjs +5 -4
- package/esm2022/stepper/step-header.mjs +8 -8
- package/esm2022/stepper/step-label.mjs +5 -4
- package/esm2022/stepper/stepper-button.mjs +9 -7
- package/esm2022/stepper/stepper-icon.mjs +5 -4
- package/esm2022/stepper/stepper-intl.mjs +3 -3
- package/esm2022/stepper/stepper-module.mjs +17 -16
- package/esm2022/stepper/stepper.mjs +14 -16
- package/esm2022/table/cell.mjs +29 -22
- package/esm2022/table/module.mjs +7 -8
- package/esm2022/table/row.mjs +33 -24
- package/esm2022/table/table.mjs +11 -11
- package/esm2022/table/text-column.mjs +8 -6
- package/esm2022/tabs/module.mjs +10 -43
- package/esm2022/tabs/paginated-tab-header.mjs +3 -3
- package/esm2022/tabs/tab-body.mjs +10 -8
- package/esm2022/tabs/tab-content.mjs +5 -4
- package/esm2022/tabs/tab-group.mjs +20 -13
- package/esm2022/tabs/tab-header.mjs +7 -7
- package/esm2022/tabs/tab-label-wrapper.mjs +5 -4
- package/esm2022/tabs/tab-label.mjs +5 -4
- package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +17 -17
- package/esm2022/tabs/tab.mjs +5 -5
- package/esm2022/toolbar/toolbar-module.mjs +6 -7
- package/esm2022/toolbar/toolbar.mjs +9 -8
- package/esm2022/tooltip/module.mjs +6 -7
- package/esm2022/tooltip/tooltip.mjs +18 -12
- package/esm2022/tree/node.mjs +13 -10
- package/esm2022/tree/outlet.mjs +5 -4
- package/esm2022/tree/padding.mjs +5 -4
- package/esm2022/tree/toggle.mjs +5 -4
- package/esm2022/tree/tree-module.mjs +7 -8
- package/esm2022/tree/tree.mjs +5 -6
- package/expansion/_expansion-theme.scss +56 -22
- package/expansion/index.d.ts +15 -15
- package/fesm2022/autocomplete.mjs +60 -27
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge.mjs +9 -9
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/bottom-sheet.mjs +25 -26
- package/fesm2022/bottom-sheet.mjs.map +1 -1
- package/fesm2022/button-toggle.mjs +14 -15
- package/fesm2022/button-toggle.mjs.map +1 -1
- package/fesm2022/button.mjs +53 -49
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card.mjs +62 -52
- package/fesm2022/card.mjs.map +1 -1
- package/fesm2022/checkbox.mjs +19 -19
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips.mjs +94 -96
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/core.mjs +115 -78
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +178 -146
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog/testing.mjs +2 -2
- package/fesm2022/dialog/testing.mjs.map +1 -1
- package/fesm2022/dialog.mjs +25 -26
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/divider.mjs +9 -10
- package/fesm2022/divider.mjs.map +1 -1
- package/fesm2022/expansion.mjs +47 -36
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/form-field.mjs +61 -48
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/grid-list.mjs +38 -31
- package/fesm2022/grid-list.mjs.map +1 -1
- package/fesm2022/icon/testing.mjs +7 -7
- package/fesm2022/icon.mjs +12 -13
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/input.mjs +33 -35
- package/fesm2022/input.mjs.map +1 -1
- package/fesm2022/list.mjs +77 -71
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/menu.mjs +51 -27
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/paginator.mjs +17 -22
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs +9 -9
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs +10 -12
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/radio.mjs +14 -15
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/select.mjs +72 -48
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/sidenav.mjs +37 -31
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +28 -20
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider.mjs +36 -23
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +32 -34
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/sort.mjs +16 -16
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper.mjs +58 -55
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table.mjs +81 -63
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/tabs.mjs +408 -424
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +13 -13
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tooltip.mjs +22 -17
- package/fesm2022/tooltip.mjs.map +1 -1
- package/fesm2022/tree.mjs +34 -29
- package/fesm2022/tree.mjs.map +1 -1
- package/form-field/index.d.ts +33 -45
- package/grid-list/index.d.ts +10 -10
- package/icon/_icon-theme.scss +55 -23
- package/icon/index.d.ts +4 -4
- package/input/index.d.ts +33 -32
- package/list/index.d.ts +36 -36
- package/menu/_menu-theme.scss +50 -18
- package/menu/index.d.ts +12 -12
- package/package.json +2 -2
- package/paginator/_paginator-theme.scss +62 -29
- package/paginator/index.d.ts +6 -6
- package/prebuilt-themes/deeppurple-amber.css +1 -1
- package/prebuilt-themes/indigo-pink.css +1 -1
- package/prebuilt-themes/pink-bluegrey.css +1 -1
- package/prebuilt-themes/purple-green.css +1 -1
- package/progress-bar/index.d.ts +2 -2
- package/progress-spinner/index.d.ts +4 -4
- package/radio/index.d.ts +6 -6
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/schematics/ng-generate/mdc-migration/index_bundled.js +427 -201
- package/schematics/ng-generate/mdc-migration/index_bundled.js.map +4 -4
- package/schematics/ng-update/index_bundled.js +41 -37
- package/schematics/ng-update/index_bundled.js.map +2 -2
- package/select/_select-theme.scss +71 -38
- package/select/index.d.ts +47 -35
- package/sidenav/_sidenav-theme.scss +49 -16
- package/sidenav/index.d.ts +11 -11
- package/slide-toggle/index.d.ts +6 -6
- package/slider/index.d.ts +9 -9
- package/sort/index.d.ts +6 -6
- package/stepper/index.d.ts +29 -29
- package/table/index.d.ts +24 -24
- package/tabs/index.d.ts +18 -43
- package/toolbar/index.d.ts +5 -5
- package/tooltip/index.d.ts +8 -8
- package/tree/index.d.ts +15 -15
|
@@ -474,9 +474,9 @@ var require_tslib = __commonJS({
|
|
|
474
474
|
}
|
|
475
475
|
});
|
|
476
476
|
|
|
477
|
-
// bazel-out/
|
|
477
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/migrations/legacy-imports-error.js
|
|
478
478
|
var require_legacy_imports_error = __commonJS({
|
|
479
|
-
"bazel-out/
|
|
479
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/migrations/legacy-imports-error.js"(exports) {
|
|
480
480
|
"use strict";
|
|
481
481
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
482
482
|
exports.legacyImportsError = void 0;
|
|
@@ -489,18 +489,22 @@ var require_legacy_imports_error = __commonJS({
|
|
|
489
489
|
return (tree, context) => __async(this, null, function* () {
|
|
490
490
|
const filesUsingLegacyImports = /* @__PURE__ */ new Set();
|
|
491
491
|
tree.visit((path) => {
|
|
492
|
-
if (!path.endsWith(".ts")) {
|
|
492
|
+
if (path.includes("node_modules") || path.endsWith(".d.ts") || !path.endsWith(".ts")) {
|
|
493
493
|
return;
|
|
494
494
|
}
|
|
495
495
|
const content = tree.readText(path);
|
|
496
|
+
if (!content.includes(LEGACY_IMPORTS_START)) {
|
|
497
|
+
return;
|
|
498
|
+
}
|
|
496
499
|
const sourceFile = ts.createSourceFile(path, content, ts.ScriptTarget.Latest);
|
|
497
|
-
sourceFile.
|
|
498
|
-
|
|
499
|
-
|
|
500
|
+
for (const statement of sourceFile.statements) {
|
|
501
|
+
if (!ts.isImportDeclaration(statement) && !ts.isExportDeclaration(statement)) {
|
|
502
|
+
continue;
|
|
503
|
+
}
|
|
504
|
+
if (statement.moduleSpecifier && ts.isStringLiteralLike(statement.moduleSpecifier) && statement.moduleSpecifier.text.startsWith(LEGACY_IMPORTS_START)) {
|
|
500
505
|
filesUsingLegacyImports.add(path);
|
|
501
506
|
}
|
|
502
|
-
|
|
503
|
-
});
|
|
507
|
+
}
|
|
504
508
|
});
|
|
505
509
|
if (filesUsingLegacyImports.size === 0) {
|
|
506
510
|
return onSuccess;
|
|
@@ -543,9 +547,9 @@ ${filesMessage}
|
|
|
543
547
|
}
|
|
544
548
|
});
|
|
545
549
|
|
|
546
|
-
// bazel-out/
|
|
550
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/attribute-selectors.js
|
|
547
551
|
var require_attribute_selectors = __commonJS({
|
|
548
|
-
"bazel-out/
|
|
552
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/attribute-selectors.js"(exports) {
|
|
549
553
|
"use strict";
|
|
550
554
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
551
555
|
exports.attributeSelectors = void 0;
|
|
@@ -553,9 +557,9 @@ var require_attribute_selectors = __commonJS({
|
|
|
553
557
|
}
|
|
554
558
|
});
|
|
555
559
|
|
|
556
|
-
// bazel-out/
|
|
560
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/class-names.js
|
|
557
561
|
var require_class_names = __commonJS({
|
|
558
|
-
"bazel-out/
|
|
562
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/class-names.js"(exports) {
|
|
559
563
|
"use strict";
|
|
560
564
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
561
565
|
exports.classNames = void 0;
|
|
@@ -563,9 +567,9 @@ var require_class_names = __commonJS({
|
|
|
563
567
|
}
|
|
564
568
|
});
|
|
565
569
|
|
|
566
|
-
// bazel-out/
|
|
570
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/constructor-checks.js
|
|
567
571
|
var require_constructor_checks = __commonJS({
|
|
568
|
-
"bazel-out/
|
|
572
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/constructor-checks.js"(exports) {
|
|
569
573
|
"use strict";
|
|
570
574
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
571
575
|
exports.constructorChecks = void 0;
|
|
@@ -573,9 +577,9 @@ var require_constructor_checks = __commonJS({
|
|
|
573
577
|
}
|
|
574
578
|
});
|
|
575
579
|
|
|
576
|
-
// bazel-out/
|
|
580
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/css-selectors.js
|
|
577
581
|
var require_css_selectors = __commonJS({
|
|
578
|
-
"bazel-out/
|
|
582
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/css-selectors.js"(exports) {
|
|
579
583
|
"use strict";
|
|
580
584
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
581
585
|
exports.cssSelectors = void 0;
|
|
@@ -583,9 +587,9 @@ var require_css_selectors = __commonJS({
|
|
|
583
587
|
}
|
|
584
588
|
});
|
|
585
589
|
|
|
586
|
-
// bazel-out/
|
|
590
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/element-selectors.js
|
|
587
591
|
var require_element_selectors = __commonJS({
|
|
588
|
-
"bazel-out/
|
|
592
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/element-selectors.js"(exports) {
|
|
589
593
|
"use strict";
|
|
590
594
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
591
595
|
exports.elementSelectors = void 0;
|
|
@@ -593,9 +597,9 @@ var require_element_selectors = __commonJS({
|
|
|
593
597
|
}
|
|
594
598
|
});
|
|
595
599
|
|
|
596
|
-
// bazel-out/
|
|
600
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/input-names.js
|
|
597
601
|
var require_input_names = __commonJS({
|
|
598
|
-
"bazel-out/
|
|
602
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/input-names.js"(exports) {
|
|
599
603
|
"use strict";
|
|
600
604
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
601
605
|
exports.inputNames = void 0;
|
|
@@ -603,9 +607,9 @@ var require_input_names = __commonJS({
|
|
|
603
607
|
}
|
|
604
608
|
});
|
|
605
609
|
|
|
606
|
-
// bazel-out/
|
|
610
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/method-call-checks.js
|
|
607
611
|
var require_method_call_checks = __commonJS({
|
|
608
|
-
"bazel-out/
|
|
612
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/method-call-checks.js"(exports) {
|
|
609
613
|
"use strict";
|
|
610
614
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
611
615
|
exports.methodCallChecks = void 0;
|
|
@@ -613,9 +617,9 @@ var require_method_call_checks = __commonJS({
|
|
|
613
617
|
}
|
|
614
618
|
});
|
|
615
619
|
|
|
616
|
-
// bazel-out/
|
|
620
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/output-names.js
|
|
617
621
|
var require_output_names = __commonJS({
|
|
618
|
-
"bazel-out/
|
|
622
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/output-names.js"(exports) {
|
|
619
623
|
"use strict";
|
|
620
624
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
621
625
|
exports.outputNames = void 0;
|
|
@@ -623,9 +627,9 @@ var require_output_names = __commonJS({
|
|
|
623
627
|
}
|
|
624
628
|
});
|
|
625
629
|
|
|
626
|
-
// bazel-out/
|
|
630
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/property-names.js
|
|
627
631
|
var require_property_names = __commonJS({
|
|
628
|
-
"bazel-out/
|
|
632
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/property-names.js"(exports) {
|
|
629
633
|
"use strict";
|
|
630
634
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
631
635
|
exports.propertyNames = void 0;
|
|
@@ -633,9 +637,9 @@ var require_property_names = __commonJS({
|
|
|
633
637
|
}
|
|
634
638
|
});
|
|
635
639
|
|
|
636
|
-
// bazel-out/
|
|
640
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/symbol-removal.js
|
|
637
641
|
var require_symbol_removal = __commonJS({
|
|
638
|
-
"bazel-out/
|
|
642
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/symbol-removal.js"(exports) {
|
|
639
643
|
"use strict";
|
|
640
644
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
641
645
|
exports.symbolRemoval = void 0;
|
|
@@ -643,9 +647,9 @@ var require_symbol_removal = __commonJS({
|
|
|
643
647
|
}
|
|
644
648
|
});
|
|
645
649
|
|
|
646
|
-
// bazel-out/
|
|
650
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/index.js
|
|
647
651
|
var require_data = __commonJS({
|
|
648
|
-
"bazel-out/
|
|
652
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/index.js"(exports) {
|
|
649
653
|
"use strict";
|
|
650
654
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
651
655
|
var tslib_1 = require_tslib();
|
|
@@ -662,9 +666,9 @@ var require_data = __commonJS({
|
|
|
662
666
|
}
|
|
663
667
|
});
|
|
664
668
|
|
|
665
|
-
// bazel-out/
|
|
669
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/upgrade-data.js
|
|
666
670
|
var require_upgrade_data = __commonJS({
|
|
667
|
-
"bazel-out/
|
|
671
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/upgrade-data.js"(exports) {
|
|
668
672
|
"use strict";
|
|
669
673
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
670
674
|
exports.materialUpgradeData = void 0;
|
|
@@ -684,9 +688,9 @@ var require_upgrade_data = __commonJS({
|
|
|
684
688
|
}
|
|
685
689
|
});
|
|
686
690
|
|
|
687
|
-
// bazel-out/
|
|
691
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/migrations/theme-base-v17/migration.js
|
|
688
692
|
var require_migration = __commonJS({
|
|
689
|
-
"bazel-out/
|
|
693
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/migrations/theme-base-v17/migration.js"(exports) {
|
|
690
694
|
"use strict";
|
|
691
695
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
692
696
|
exports.addThemeBaseMixins = exports.checkThemeBaseMixins = void 0;
|
|
@@ -903,9 +907,9 @@ var require_migration = __commonJS({
|
|
|
903
907
|
}
|
|
904
908
|
});
|
|
905
909
|
|
|
906
|
-
// bazel-out/
|
|
910
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/migrations/theme-base-v17/index.js
|
|
907
911
|
var require_theme_base_v17 = __commonJS({
|
|
908
|
-
"bazel-out/
|
|
912
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/migrations/theme-base-v17/index.js"(exports) {
|
|
909
913
|
"use strict";
|
|
910
914
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
911
915
|
exports.ThemeBaseMigration = void 0;
|
|
@@ -988,7 +992,7 @@ ${mixinsText}`
|
|
|
988
992
|
}
|
|
989
993
|
});
|
|
990
994
|
|
|
991
|
-
// bazel-out/
|
|
995
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/index.mjs
|
|
992
996
|
var ng_update_exports = {};
|
|
993
997
|
__export(ng_update_exports, {
|
|
994
998
|
updateToV17: () => updateToV17
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../node_modules/tslib/tslib.js", "../../../../../../../src/material/schematics/ng-update/migrations/legacy-imports-error.ts", "../../../../../../../src/material/schematics/ng-update/data/attribute-selectors.ts", "../../../../../../../src/material/schematics/ng-update/data/class-names.ts", "../../../../../../../src/material/schematics/ng-update/data/constructor-checks.ts", "../../../../../../../src/material/schematics/ng-update/data/css-selectors.ts", "../../../../../../../src/material/schematics/ng-update/data/element-selectors.ts", "../../../../../../../src/material/schematics/ng-update/data/input-names.ts", "../../../../../../../src/material/schematics/ng-update/data/method-call-checks.ts", "../../../../../../../src/material/schematics/ng-update/data/output-names.ts", "../../../../../../../src/material/schematics/ng-update/data/property-names.ts", "../../../../../../../src/material/schematics/ng-update/data/symbol-removal.ts", "../../../../../../../src/material/schematics/ng-update/data/index.ts", "../../../../../../../src/material/schematics/ng-update/upgrade-data.ts", "../../../../../../../src/material/schematics/ng-update/migrations/theme-base-v17/migration.ts", "../../../../../../../src/material/schematics/ng-update/migrations/theme-base-v17/index.ts", "../../../../../../../src/material/schematics/ng-update/index.ts"],
|
|
4
|
-
"sourcesContent": ["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global global, define, System, Reflect, Promise */\r\nvar __extends;\r\nvar __assign;\r\nvar __rest;\r\nvar __decorate;\r\nvar __param;\r\nvar __metadata;\r\nvar __awaiter;\r\nvar __generator;\r\nvar __exportStar;\r\nvar __values;\r\nvar __read;\r\nvar __spread;\r\nvar __spreadArrays;\r\nvar __spreadArray;\r\nvar __await;\r\nvar __asyncGenerator;\r\nvar __asyncDelegator;\r\nvar __asyncValues;\r\nvar __makeTemplateObject;\r\nvar __importStar;\r\nvar __importDefault;\r\nvar __classPrivateFieldGet;\r\nvar __classPrivateFieldSet;\r\nvar __createBinding;\r\n(function (factory) {\r\n var root = typeof global === \"object\" ? global : typeof self === \"object\" ? self : typeof this === \"object\" ? this : {};\r\n if (typeof define === \"function\" && define.amd) {\r\n define(\"tslib\", [\"exports\"], function (exports) { factory(createExporter(root, createExporter(exports))); });\r\n }\r\n else if (typeof module === \"object\" && typeof module.exports === \"object\") {\r\n factory(createExporter(root, createExporter(module.exports)));\r\n }\r\n else {\r\n factory(createExporter(root));\r\n }\r\n function createExporter(exports, previous) {\r\n if (exports !== root) {\r\n if (typeof Object.create === \"function\") {\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n }\r\n else {\r\n exports.__esModule = true;\r\n }\r\n }\r\n return function (id, v) { return exports[id] = previous ? previous(id, v) : v; };\r\n }\r\n})\r\n(function (exporter) {\r\n var extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n\r\n __extends = function (d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n\r\n __assign = Object.assign || function (t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n\r\n __rest = function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n };\r\n\r\n __decorate = function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n };\r\n\r\n __param = function (paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n };\r\n\r\n __metadata = function (metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n };\r\n\r\n __awaiter = function (thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n };\r\n\r\n __generator = function (thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n 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) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n };\r\n\r\n __exportStar = function(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n };\r\n\r\n __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\r\n }) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n });\r\n\r\n __values = function (o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n };\r\n\r\n __read = function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n };\r\n\r\n /** @deprecated */\r\n __spread = function () {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n };\r\n\r\n /** @deprecated */\r\n __spreadArrays = function () {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n };\r\n\r\n __spreadArray = function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n };\r\n\r\n __await = function (v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n };\r\n\r\n __asyncGenerator = function (thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n };\r\n\r\n __asyncDelegator = function (o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n };\r\n\r\n __asyncValues = function (o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n };\r\n\r\n __makeTemplateObject = function (cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n };\r\n\r\n var __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n }) : function(o, v) {\r\n o[\"default\"] = v;\r\n };\r\n\r\n __importStar = function (mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n };\r\n\r\n __importDefault = function (mod) {\r\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\r\n };\r\n\r\n __classPrivateFieldGet = function (receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n };\r\n\r\n __classPrivateFieldSet = function (receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n };\r\n\r\n exporter(\"__extends\", __extends);\r\n exporter(\"__assign\", __assign);\r\n exporter(\"__rest\", __rest);\r\n exporter(\"__decorate\", __decorate);\r\n exporter(\"__param\", __param);\r\n exporter(\"__metadata\", __metadata);\r\n exporter(\"__awaiter\", __awaiter);\r\n exporter(\"__generator\", __generator);\r\n exporter(\"__exportStar\", __exportStar);\r\n exporter(\"__createBinding\", __createBinding);\r\n exporter(\"__values\", __values);\r\n exporter(\"__read\", __read);\r\n exporter(\"__spread\", __spread);\r\n exporter(\"__spreadArrays\", __spreadArrays);\r\n exporter(\"__spreadArray\", __spreadArray);\r\n exporter(\"__await\", __await);\r\n exporter(\"__asyncGenerator\", __asyncGenerator);\r\n exporter(\"__asyncDelegator\", __asyncDelegator);\r\n exporter(\"__asyncValues\", __asyncValues);\r\n exporter(\"__makeTemplateObject\", __makeTemplateObject);\r\n exporter(\"__importStar\", __importStar);\r\n exporter(\"__importDefault\", __importDefault);\r\n exporter(\"__classPrivateFieldGet\", __classPrivateFieldGet);\r\n exporter(\"__classPrivateFieldSet\", __classPrivateFieldSet);\r\n});\r\n", "/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {Rule, SchematicContext, Tree} from '@angular-devkit/schematics';\nimport {NodePackageInstallTask} from '@angular-devkit/schematics/tasks';\nimport * as ts from 'typescript';\n\n/** String with which legacy imports start. */\nconst LEGACY_IMPORTS_START = '@angular/material/legacy-';\n\n/** Maximum files to print in the error message. */\nconst MAX_FILES_TO_PRINT = 50;\n\n/**\n * \"Migration\" that logs an error and prevents further migrations\n * from running if the project is using legacy components.\n * @param onSuccess Rule to run if there are no legacy imports.\n */\nexport function legacyImportsError(onSuccess: Rule): Rule {\n return async (tree: Tree, context: SchematicContext) => {\n const filesUsingLegacyImports = new Set<string>();\n\n tree.visit(path => {\n if (!path.endsWith('.ts')) {\n return;\n }\n\n const content = tree.readText(path);\n const sourceFile = ts.createSourceFile(path, content, ts.ScriptTarget.Latest);\n\n sourceFile.forEachChild(function walk(node) {\n const isImportOrExport = ts.isImportDeclaration(node) || ts.isExportDeclaration(node);\n\n if (\n isImportOrExport &&\n node.moduleSpecifier &&\n ts.isStringLiteralLike(node.moduleSpecifier) &&\n node.moduleSpecifier.text.startsWith(LEGACY_IMPORTS_START)\n ) {\n filesUsingLegacyImports.add(path);\n }\n\n node.forEachChild(walk);\n });\n });\n\n // If there are no legacy imports left, we can continue with the migrations.\n if (filesUsingLegacyImports.size === 0) {\n return onSuccess;\n }\n\n // At this point the project is already at v17 so we need to downgrade it back\n // to v16 and run `npm install` again. Ideally we would also throw an error here\n // to interrupt the update process, but that would interrupt `npm install` as well.\n if (tree.exists('package.json')) {\n let packageJson: Record<string, any> | null = null;\n\n try {\n packageJson = JSON.parse(tree.readText('package.json')) as Record<string, any>;\n } catch {}\n\n if (packageJson !== null && packageJson['dependencies']) {\n packageJson['dependencies']['@angular/material'] = '^16.2.0';\n tree.overwrite('package.json', JSON.stringify(packageJson, null, 2));\n context.addTask(new NodePackageInstallTask());\n }\n }\n\n context.logger.fatal(formatErrorMessage(filesUsingLegacyImports));\n return;\n };\n}\n\nfunction formatErrorMessage(filesUsingLegacyImports: Set<string>): string {\n const files = Array.from(filesUsingLegacyImports, path => ' - ' + path);\n const filesMessage =\n files.length > MAX_FILES_TO_PRINT\n ? [\n ...files.slice(0, MAX_FILES_TO_PRINT),\n `${files.length - MAX_FILES_TO_PRINT} more...`,\n `Search your project for \"${LEGACY_IMPORTS_START}\" to view all usages.`,\n ].join('\\n')\n : files.join('\\n');\n\n return (\n `Cannot update to Angular Material v17 because the project is using the legacy ` +\n `Material components\\nthat have been deleted. While Angular Material v16 is compatible with ` +\n `Angular v17, it is recommended\\nto switch away from the legacy components as soon as possible ` +\n `because they no longer receive bug fixes,\\naccessibility improvements and new features.\\n\\n` +\n `Read more about migrating away from legacy components: https://material.angular.io/guide/mdc-migration\\n\\n` +\n `Files in the project using legacy Material components:\\n${filesMessage}\\n`\n );\n}\n", "/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {AttributeSelectorUpgradeData, VersionChanges} from '@angular/cdk/schematics';\n\nexport const attributeSelectors: VersionChanges<AttributeSelectorUpgradeData> = {};\n", "/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {ClassNameUpgradeData, VersionChanges} from '@angular/cdk/schematics';\n\nexport const classNames: VersionChanges<ClassNameUpgradeData> = {};\n", "/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {ConstructorChecksUpgradeData, VersionChanges} from '@angular/cdk/schematics';\n\n/**\n * List of class names for which the constructor signature has been changed. The new constructor\n * signature types don't need to be stored here because the signature will be determined\n * automatically through type checking.\n */\nexport const constructorChecks: VersionChanges<ConstructorChecksUpgradeData> = {};\n", "/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {VersionChanges} from '@angular/cdk/schematics';\n\nexport interface MaterialCssSelectorData {\n /** The CSS selector to replace. */\n replace: string;\n /** The new CSS selector. */\n replaceWith: string;\n /**\n * Controls which file types in which this replacement is made. If omitted, it is made in all\n * files.\n */\n replaceIn?: {\n /** Replace this name in stylesheet files. */\n stylesheet?: boolean;\n /** Replace this name in HTML files. */\n html?: boolean;\n /** Replace this name in TypeScript strings. */\n tsStringLiterals?: boolean;\n };\n}\n\nexport const cssSelectors: VersionChanges<MaterialCssSelectorData> = {};\n", "/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {ElementSelectorUpgradeData, VersionChanges} from '@angular/cdk/schematics';\n\nexport const elementSelectors: VersionChanges<ElementSelectorUpgradeData> = {};\n", "/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {InputNameUpgradeData, VersionChanges} from '@angular/cdk/schematics';\n\nexport const inputNames: VersionChanges<InputNameUpgradeData> = {};\n", "/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {MethodCallUpgradeData, VersionChanges} from '@angular/cdk/schematics';\n\nexport const methodCallChecks: VersionChanges<MethodCallUpgradeData> = {};\n", "/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {OutputNameUpgradeData, VersionChanges} from '@angular/cdk/schematics';\n\nexport const outputNames: VersionChanges<OutputNameUpgradeData> = {};\n", "/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {PropertyNameUpgradeData, VersionChanges} from '@angular/cdk/schematics';\n\nexport const propertyNames: VersionChanges<PropertyNameUpgradeData> = {};\n", "/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {SymbolRemovalUpgradeData, VersionChanges} from '@angular/cdk/schematics';\n\nexport const symbolRemoval: VersionChanges<SymbolRemovalUpgradeData> = {};\n", "/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nexport * from './attribute-selectors';\nexport * from './class-names';\nexport * from './constructor-checks';\nexport * from './css-selectors';\nexport * from './element-selectors';\nexport * from './input-names';\nexport * from './method-call-checks';\nexport * from './output-names';\nexport * from './property-names';\nexport * from './symbol-removal';\n", "/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {UpgradeData} from '@angular/cdk/schematics';\nimport {\n attributeSelectors,\n classNames,\n constructorChecks,\n cssSelectors,\n elementSelectors,\n inputNames,\n methodCallChecks,\n outputNames,\n propertyNames,\n symbolRemoval,\n} from './data';\n\n/** Upgrade data that will be used for the Angular Material ng-update schematic. */\nexport const materialUpgradeData: UpgradeData = {\n attributeSelectors,\n classNames,\n constructorChecks,\n cssSelectors,\n elementSelectors,\n inputNames,\n methodCallChecks,\n outputNames,\n propertyNames,\n symbolRemoval,\n};\n", "/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/** Preamble to insert before the missing mixins. */\nconst MISSING_MIXIN_PREAMBLE_LINES = `\n// The following mixins include base theme styles that are only needed once per application. These\n// theme styles do not depend on the color, typography, or density settings in your theme. However,\n// these styles may differ depending on the theme's design system. Currently all themes use the\n// Material 2 design system, but in the future it may be possible to create theme based on other\n// design systems, such as Material 3.\n//\n// Please note: you do not need to include the 'base' mixins, if you include the corresponding\n// 'theme' mixin elsewhere in your Sass. The full 'theme' mixins already include the base styles.\n//\n// To learn more about \"base\" theme styles visit our theming guide:\n// https://material.angular.io/guide/theming#theming-dimensions\n//\n// TODO(v17): Please move these @include statements to the preferred place in your Sass, and pass\n// your theme to them. This will ensure the correct values for your app are included.\\\n`.split('\\n');\n\n/** The sets of theme mixins to check for. */\nconst THEME_MIXIN_SETS: {\n theme: string;\n color: string;\n typography: string;\n density: string;\n base: string;\n}[] = [\n {\n theme: 'all-component-themes',\n color: 'all-component-colors',\n typography: 'all-component-typographies',\n density: 'all-component-densities',\n base: 'all-component-bases',\n },\n ...[\n 'core',\n 'card',\n 'progress-bar',\n 'tooltip',\n 'form-field',\n 'input',\n 'select',\n 'autocomplete',\n 'dialog',\n 'chips',\n 'slide-toggle',\n 'radio',\n 'slider',\n 'menu',\n 'list',\n 'paginator',\n 'tabs',\n 'checkbox',\n 'button',\n 'icon-button',\n 'fab',\n 'snack-bar',\n 'table',\n 'progress-spinner',\n 'badge',\n 'bottom-sheet',\n 'button-toggle',\n 'datepicker',\n 'divider',\n 'expansion',\n 'grid-list',\n 'icon',\n 'sidenav',\n 'stepper',\n 'sort',\n 'toolbar',\n 'tree',\n ].map(comp => ({\n theme: `${comp}-theme`,\n color: `${comp}-color`,\n typography: `${comp}-typography`,\n density: `${comp}-density`,\n base: `${comp}-base`,\n })),\n];\n\n/** Possible pairs of comment characters in a Sass file. */\nconst COMMENT_PAIRS = new Map<string, string>([\n ['/*', '*/'],\n ['//', '\\n'],\n]);\n\n/** Prefix for the placeholder that will be used to escape comments. */\nconst COMMENT_PLACEHOLDER_START = '__<<ngThemingMigrationEscapedComment';\n\n/** Suffix for the comment escape placeholder. */\nconst COMMENT_PLACEHOLDER_END = '>>__';\n\n/**\n * Replaces all the comments in a Sass file with placeholders and\n * returns the list of placeholders, so they can be restored later.\n */\nfunction escapeComments(content: string): {content: string; placeholders: Record<string, string>} {\n const placeholders: Record<string, string> = {};\n let commentCounter = 0;\n let [openIndex, closeIndex] = findComment(content);\n\n while (openIndex > -1 && closeIndex > -1) {\n const placeholder = COMMENT_PLACEHOLDER_START + commentCounter++ + COMMENT_PLACEHOLDER_END;\n placeholders[placeholder] = content.slice(openIndex, closeIndex);\n content = content.slice(0, openIndex) + placeholder + content.slice(closeIndex);\n [openIndex, closeIndex] = findComment(content);\n }\n\n return {content, placeholders};\n}\n\n/** Finds the start and end index of a comment in a file. */\nfunction findComment(content: string): [openIndex: number, closeIndex: number] {\n // Add an extra new line at the end so that we can correctly capture single-line comments\n // at the end of the file. It doesn't really matter that the end index will be out of bounds,\n // because `String.prototype.slice` will clamp it to the string length.\n content += '\\n';\n\n for (const [open, close] of COMMENT_PAIRS.entries()) {\n const openIndex = content.indexOf(open);\n\n if (openIndex > -1) {\n const closeIndex = content.indexOf(close, openIndex + 1);\n return closeIndex > -1 ? [openIndex, closeIndex + close.length] : [-1, -1];\n }\n }\n\n return [-1, -1];\n}\n\n/** Restores the comments that have been escaped by `escapeComments`. */\nfunction restoreComments(content: string, placeholders: Record<string, string>): string {\n Object.keys(placeholders).forEach(key => (content = content.replace(key, placeholders[key])));\n return content;\n}\n\n/** Escapes special regex characters in a string. */\nfunction escapeRegExp(str: string): string {\n return str.replace(/([.*+?^=!:${}()|[\\]\\/\\\\])/g, '\\\\$1');\n}\n\n/** Parses out the namespace from a Sass `@use` statement. */\nfunction extractNamespaceFromUseStatement(fullImport: string): string {\n const closeQuoteIndex = Math.max(fullImport.lastIndexOf(`\"`), fullImport.lastIndexOf(`'`));\n\n if (closeQuoteIndex > -1) {\n const asExpression = 'as ';\n const asIndex = fullImport.indexOf(asExpression, closeQuoteIndex);\n\n // If we found an ` as ` expression, we consider the rest of the text as the namespace.\n if (asIndex > -1) {\n return fullImport\n .slice(asIndex + asExpression.length)\n .split(';')[0]\n .trim();\n }\n\n // Otherwise the namespace is the name of the file that is being imported.\n const lastSlashIndex = fullImport.lastIndexOf('/', closeQuoteIndex);\n\n if (lastSlashIndex > -1) {\n const fileName = fullImport\n .slice(lastSlashIndex + 1, closeQuoteIndex)\n // Sass allows for leading underscores to be omitted and it technically supports .scss.\n .replace(/^_|(\\.import)?\\.scss$|\\.import$/g, '');\n\n // Sass ignores `/index` and infers the namespace as the next segment in the path.\n if (fileName === 'index') {\n const nextSlashIndex = fullImport.lastIndexOf('/', lastSlashIndex - 1);\n\n if (nextSlashIndex > -1) {\n return fullImport.slice(nextSlashIndex + 1, lastSlashIndex);\n }\n } else {\n return fileName;\n }\n }\n }\n\n throw Error(`Could not extract namespace from import \"${fullImport}\".`);\n}\n\n/** Gets the set of namespaces that the given import path is aliased to by @use. */\nfunction getAtUseNamespaces(content: string, path: string) {\n const namespaces = new Set<string>();\n const pattern = new RegExp(`@use +['\"]~?${escapeRegExp(path)}['\"].*;?\\n`, 'g');\n let match: RegExpExecArray | null = null;\n\n while ((match = pattern.exec(content))) {\n namespaces.add(extractNamespaceFromUseStatement(match[0]));\n }\n\n return namespaces;\n}\n\n/** Gets a list of matches representing where the given mixin is included with `@include`. */\nfunction getAtIncludes(content: string, namespace: string, mixin: string): RegExpMatchArray[] {\n // The ending checks what comes after the mixin name. We need to check that we don't see a word\n // character or `-` immediately following the mixin name, as that would change the name. Beyond\n // that character we can match anything, to the end of the line.\n const ending = '([^\\\\n\\\\w-][^\\\\n]*)?($|\\\\n)';\n const pattern = new RegExp(\n `@include\\\\s+${escapeRegExp(namespace)}\\\\.${escapeRegExp(mixin)}${ending}`,\n 'g',\n );\n return [...content.matchAll(pattern)];\n}\n\n/** Checks whether the given mixin is included with `@include`. */\nfunction isMixinAtIncluded(content: string, namespace: string, mixin: string) {\n return !!getAtIncludes(content, namespace, mixin).length;\n}\n\n/** Inserts the given lines after the match point. */\nfunction insertLinesAfterMatch(content: string, match: RegExpMatchArray, lines: string[]): string {\n const insertionPoint = match.index! + match[0].length;\n return (\n content.substring(0, insertionPoint) +\n lines.join('\\n') +\n '\\n' +\n content.substring(insertionPoint)\n );\n}\n\n/** Gets the indentation at the given line in the content. */\nfunction getIndentation(content: string, index: number) {\n let indentationStart = 0;\n let indentationEnd = index;\n for (let i = index; i >= 0; i--) {\n if (content[i] === '\\n') {\n indentationStart = i + 1;\n break;\n }\n if (!/\\s/.exec(content[i])) {\n indentationEnd = i;\n }\n }\n return content.slice(indentationStart, indentationEnd);\n}\n\n/** Gets the lines to insert to address the missing mixins. */\nfunction getMissingMixinLines(namespace: string, mixins: Set<string>, indentation: string) {\n return [\n ...MISSING_MIXIN_PREAMBLE_LINES,\n ...[...mixins]\n .sort()\n .map(mixin => `@include ${namespace}.${mixin}(/* TODO(v17): pass $your-theme here */);`),\n '',\n ].map(line => (indentation + line).trimRight());\n}\n\n/**\n * Checks which theme bases are found in the file via the existing included mixins,\n * and which ones may be missing.\n */\nexport function checkThemeBaseMixins(fileContent: string): {\n found: Set<string>;\n missing: Set<string>;\n} {\n const found = new Set<string>();\n const missing = new Set<string>();\n\n // Strip out comments, so they don't confuse our migration.\n const {content} = escapeComments(fileContent);\n const materialNamespaces = getAtUseNamespaces(content, '@angular/material');\n\n // Check over all namespaces for mixins of interest.\n for (const namespace of materialNamespaces) {\n for (const mixins of THEME_MIXIN_SETS) {\n // If they include the theme mixin, that accounts for the base theme styles.\n if (isMixinAtIncluded(content, namespace, mixins.theme)) {\n found.add(mixins.base);\n missing.delete(mixins.base);\n continue;\n }\n // If they haven't called the theme mixin, but do call one of the partials,\n // we assume they're missing the base styles.\n if (!found.has(mixins.base)) {\n if (\n isMixinAtIncluded(content, namespace, mixins.color) ||\n isMixinAtIncluded(content, namespace, mixins.typography) ||\n isMixinAtIncluded(content, namespace, mixins.density)\n ) {\n missing.add(mixins.base);\n }\n }\n }\n }\n\n return {found, missing};\n}\n\n/** Adds the given theme base mixins, after the call to `mat.core()`. */\nexport function addThemeBaseMixins(fileContent: string, mixins: Set<string>): string {\n // Strip out comments, so they don't confuse our migration.\n let {content, placeholders} = escapeComments(fileContent);\n const materialNamespaces = getAtUseNamespaces(content, '@angular/material');\n\n for (const namespace of materialNamespaces) {\n // Update the @includes in reverse order, so our changes don't mess up the indices we found.\n const coreIncludes = getAtIncludes(content, namespace, 'core').reverse();\n for (const coreInclude of coreIncludes) {\n if (coreInclude.index === undefined) {\n throw Error(`Cannot find location of mat.core() match: ${coreInclude}`);\n }\n const indentation = getIndentation(content, coreInclude.index);\n const lines = getMissingMixinLines(namespace, mixins, indentation);\n content = insertLinesAfterMatch(content, coreInclude, lines);\n }\n }\n\n return restoreComments(content, placeholders);\n}\n", "/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {extname} from '@angular-devkit/core';\nimport {SchematicContext} from '@angular-devkit/schematics';\nimport {DevkitMigration, ResolvedResource, TargetVersion} from '@angular/cdk/schematics';\nimport {addThemeBaseMixins, checkThemeBaseMixins} from './migration';\n\n/** Adds an @include for theme base mixins that aren't already included by the app. */\nexport class ThemeBaseMigration extends DevkitMigration<null> {\n /** Number of files that have been migrated. */\n static migratedFileCount = 0;\n\n /** All base mixins that we have found an existing @include for. */\n static foundBaseMixins = new Set<string>();\n\n /** All base mixins that appear to be missing an @include. */\n static missingBaseMixins = new Set<string>();\n\n /** Whether to run this migration. */\n enabled = this.targetVersion === TargetVersion.V17;\n\n /**\n * All Sass stylesheets visited. (We save a record, so we can go back through them in the\n * `postAnalysis` phase).\n */\n visitedSassStylesheets: ResolvedResource[] = [];\n\n /**\n * Visit each stylesheet, noting which base mixins are accounted for (because the user is calling\n * `mat.<component>-theme()`), and which ones are missing (because the user is calling one of the\n * theme-partial mixins: `mat.<component-color>()`, `mat.<component>-typography()`,\n * or `mat.<component>-density()`.\n *\n * We don't make any modifications at this point. Instead, the results of visiting each stylesheet\n * are aggregated into a static variable which is used to determine which mixins to add in\n * `postAnalysis` phase.\n */\n override visitStylesheet(stylesheet: ResolvedResource): void {\n if (extname(stylesheet.filePath) === '.scss') {\n this.visitedSassStylesheets.push(stylesheet);\n\n const content = stylesheet.content;\n const {found, missing} = checkThemeBaseMixins(content);\n for (const mixin of found) {\n ThemeBaseMigration.foundBaseMixins.add(mixin);\n ThemeBaseMigration.missingBaseMixins.delete(mixin);\n }\n for (const mixin of missing) {\n if (!ThemeBaseMigration.foundBaseMixins.has(mixin)) {\n ThemeBaseMigration.missingBaseMixins.add(mixin);\n }\n }\n }\n }\n\n /**\n * Perform the necessary updates detected while visiting the stylesheets. The\n * `mat.<component>-base()` mixins behave similarly to `mat.core()`, in that they needed to be\n * included once globally. So we locate calls to `mat.core()` and add the missing mixins\n * identified by earlier at these locations.\n */\n override postAnalysis() {\n // If we're not missing any mixins, there's nothing to migrate.\n if (ThemeBaseMigration.missingBaseMixins.size === 0) {\n return;\n }\n // If we have all-component-bases, we don't need any others and there is nothing to migrate.\n if (ThemeBaseMigration.foundBaseMixins.has('all-component-bases')) {\n return;\n }\n // If we're missing all-component-bases, we just need to add it, not the individual mixins.\n if (ThemeBaseMigration.missingBaseMixins.has('all-component-bases')) {\n ThemeBaseMigration.missingBaseMixins = new Set(['all-component-bases']);\n }\n for (const stylesheet of this.visitedSassStylesheets) {\n const content = stylesheet.content;\n const migratedContent = content\n ? addThemeBaseMixins(content, ThemeBaseMigration.missingBaseMixins)\n : content;\n\n if (migratedContent && migratedContent !== content) {\n this.fileSystem\n .edit(stylesheet.filePath)\n .remove(0, stylesheet.content.length)\n .insertLeft(0, migratedContent);\n ThemeBaseMigration.migratedFileCount++;\n }\n }\n if (ThemeBaseMigration.migratedFileCount === 0) {\n const mixinsText = [...ThemeBaseMigration.missingBaseMixins]\n .sort()\n .map(m => `mat.${m}($theme)`)\n .join('\\n');\n this.failures.push({\n filePath: this.context.tree.root.path,\n message:\n `The following mixins could not be automatically added, please add them manually` +\n ` if needed:\\n${mixinsText}`,\n });\n }\n }\n\n /** Logs out the number of migrated files at the end of the migration. */\n static override globalPostMigration(\n _tree: unknown,\n _targetVersion: TargetVersion,\n context: SchematicContext,\n ): void {\n const fileCount = ThemeBaseMigration.migratedFileCount;\n const mixinCount = ThemeBaseMigration.missingBaseMixins.size;\n\n if (fileCount > 0 && mixinCount > 0) {\n const fileCountText = fileCount === 1 ? '1 file' : `${fileCount} files`;\n const mixinCountText =\n mixinCount === 1 ? '1 theme base mixin' : `${mixinCount} theme base mixins`;\n context.logger.info(\n `Added ${mixinCountText} to ${fileCountText}.` +\n ' Please search for, and address, any \"TODO(v17)\" comments.',\n );\n }\n\n // Reset to avoid leaking between tests.\n ThemeBaseMigration.migratedFileCount = 0;\n ThemeBaseMigration.missingBaseMixins = new Set();\n ThemeBaseMigration.foundBaseMixins = new Set();\n }\n}\n", "/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {Rule, SchematicContext} from '@angular-devkit/schematics';\nimport {\n createMigrationSchematicRule,\n NullableDevkitMigration,\n TargetVersion,\n} from '@angular/cdk/schematics';\n\nimport {legacyImportsError} from './migrations/legacy-imports-error';\nimport {materialUpgradeData} from './upgrade-data';\nimport {ThemeBaseMigration} from './migrations/theme-base-v17';\n\nconst materialMigrations: NullableDevkitMigration[] = [ThemeBaseMigration];\n\n/** Entry point for the migration schematics with target of Angular Material v17 */\nexport function updateToV17(): Rule {\n // We pass the v17 migration rule as a callback, instead of using `chain()`, because the\n // legacy imports error only logs an error message, it doesn't actually interrupt the migration\n // process and we don't want to execute migrations if there are leftover legacy imports.\n return legacyImportsError(\n createMigrationSchematicRule(\n TargetVersion.V17,\n materialMigrations,\n materialUpgradeData,\n onMigrationComplete,\n ),\n );\n}\n\n/** Function that will be called when the migration completed. */\nfunction onMigrationComplete(\n context: SchematicContext,\n targetVersion: TargetVersion,\n hasFailures: boolean,\n) {\n context.logger.info('');\n context.logger.info(` ✓ Updated Angular Material to ${targetVersion}`);\n context.logger.info('');\n\n if (hasFailures) {\n context.logger.warn(\n ' ⚠ Some issues were detected but could not be fixed automatically. Please check the ' +\n 'output above and fix these issues manually.',\n );\n }\n}\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA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e;AACvE,UAAQ,OAAO,KAAK,EAAE;AAEtB,MAAI,aAAa;AACf,YAAQ,OAAO,KACb,wIAC+C;;AAGrD;",
|
|
4
|
+
"sourcesContent": ["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global global, define, System, Reflect, Promise */\r\nvar __extends;\r\nvar __assign;\r\nvar __rest;\r\nvar __decorate;\r\nvar __param;\r\nvar __metadata;\r\nvar __awaiter;\r\nvar __generator;\r\nvar __exportStar;\r\nvar __values;\r\nvar __read;\r\nvar __spread;\r\nvar __spreadArrays;\r\nvar __spreadArray;\r\nvar __await;\r\nvar __asyncGenerator;\r\nvar __asyncDelegator;\r\nvar __asyncValues;\r\nvar __makeTemplateObject;\r\nvar __importStar;\r\nvar __importDefault;\r\nvar __classPrivateFieldGet;\r\nvar __classPrivateFieldSet;\r\nvar __createBinding;\r\n(function (factory) {\r\n var root = typeof global === \"object\" ? global : typeof self === \"object\" ? self : typeof this === \"object\" ? this : {};\r\n if (typeof define === \"function\" && define.amd) {\r\n define(\"tslib\", [\"exports\"], function (exports) { factory(createExporter(root, createExporter(exports))); });\r\n }\r\n else if (typeof module === \"object\" && typeof module.exports === \"object\") {\r\n factory(createExporter(root, createExporter(module.exports)));\r\n }\r\n else {\r\n factory(createExporter(root));\r\n }\r\n function createExporter(exports, previous) {\r\n if (exports !== root) {\r\n if (typeof Object.create === \"function\") {\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n }\r\n else {\r\n exports.__esModule = true;\r\n }\r\n }\r\n return function (id, v) { return exports[id] = previous ? previous(id, v) : v; };\r\n }\r\n})\r\n(function (exporter) {\r\n var extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n\r\n __extends = function (d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n\r\n __assign = Object.assign || function (t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n\r\n __rest = function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n };\r\n\r\n __decorate = function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n };\r\n\r\n __param = function (paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n };\r\n\r\n __metadata = function (metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n };\r\n\r\n __awaiter = function (thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n };\r\n\r\n __generator = function (thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n 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) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n };\r\n\r\n __exportStar = function(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n };\r\n\r\n __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\r\n }) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n });\r\n\r\n __values = function (o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n };\r\n\r\n __read = function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n };\r\n\r\n /** @deprecated */\r\n __spread = function () {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n };\r\n\r\n /** @deprecated */\r\n __spreadArrays = function () {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n };\r\n\r\n __spreadArray = function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n };\r\n\r\n __await = function (v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n };\r\n\r\n __asyncGenerator = function (thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n };\r\n\r\n __asyncDelegator = function (o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n };\r\n\r\n __asyncValues = function (o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n };\r\n\r\n __makeTemplateObject = function (cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n };\r\n\r\n var __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n }) : function(o, v) {\r\n o[\"default\"] = v;\r\n };\r\n\r\n __importStar = function (mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n };\r\n\r\n __importDefault = function (mod) {\r\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\r\n };\r\n\r\n __classPrivateFieldGet = function (receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n };\r\n\r\n __classPrivateFieldSet = function (receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n };\r\n\r\n exporter(\"__extends\", __extends);\r\n exporter(\"__assign\", __assign);\r\n exporter(\"__rest\", __rest);\r\n exporter(\"__decorate\", __decorate);\r\n exporter(\"__param\", __param);\r\n exporter(\"__metadata\", __metadata);\r\n exporter(\"__awaiter\", __awaiter);\r\n exporter(\"__generator\", __generator);\r\n exporter(\"__exportStar\", __exportStar);\r\n exporter(\"__createBinding\", __createBinding);\r\n exporter(\"__values\", __values);\r\n exporter(\"__read\", __read);\r\n exporter(\"__spread\", __spread);\r\n exporter(\"__spreadArrays\", __spreadArrays);\r\n exporter(\"__spreadArray\", __spreadArray);\r\n exporter(\"__await\", __await);\r\n exporter(\"__asyncGenerator\", __asyncGenerator);\r\n exporter(\"__asyncDelegator\", __asyncDelegator);\r\n exporter(\"__asyncValues\", __asyncValues);\r\n exporter(\"__makeTemplateObject\", __makeTemplateObject);\r\n exporter(\"__importStar\", __importStar);\r\n exporter(\"__importDefault\", __importDefault);\r\n exporter(\"__classPrivateFieldGet\", __classPrivateFieldGet);\r\n exporter(\"__classPrivateFieldSet\", __classPrivateFieldSet);\r\n});\r\n", "/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {Rule, SchematicContext, Tree} from '@angular-devkit/schematics';\nimport {NodePackageInstallTask} from '@angular-devkit/schematics/tasks';\nimport * as ts from 'typescript';\n\n/** String with which legacy imports start. */\nconst LEGACY_IMPORTS_START = '@angular/material/legacy-';\n\n/** Maximum files to print in the error message. */\nconst MAX_FILES_TO_PRINT = 50;\n\n/**\n * \"Migration\" that logs an error and prevents further migrations\n * from running if the project is using legacy components.\n * @param onSuccess Rule to run if there are no legacy imports.\n */\nexport function legacyImportsError(onSuccess: Rule): Rule {\n return async (tree: Tree, context: SchematicContext) => {\n const filesUsingLegacyImports = new Set<string>();\n\n tree.visit(path => {\n if (path.includes('node_modules') || path.endsWith('.d.ts') || !path.endsWith('.ts')) {\n return;\n }\n\n const content = tree.readText(path);\n\n // Skip over any files that definitely cannot contain the legacy imports.\n if (!content.includes(LEGACY_IMPORTS_START)) {\n return;\n }\n\n const sourceFile = ts.createSourceFile(path, content, ts.ScriptTarget.Latest);\n\n // Only check top-level imports/exports.\n for (const statement of sourceFile.statements) {\n if (!ts.isImportDeclaration(statement) && !ts.isExportDeclaration(statement)) {\n continue;\n }\n\n if (\n statement.moduleSpecifier &&\n ts.isStringLiteralLike(statement.moduleSpecifier) &&\n statement.moduleSpecifier.text.startsWith(LEGACY_IMPORTS_START)\n ) {\n filesUsingLegacyImports.add(path);\n }\n }\n });\n\n // If there are no legacy imports left, we can continue with the migrations.\n if (filesUsingLegacyImports.size === 0) {\n return onSuccess;\n }\n\n // At this point the project is already at v17 so we need to downgrade it back\n // to v16 and run `npm install` again. Ideally we would also throw an error here\n // to interrupt the update process, but that would interrupt `npm install` as well.\n if (tree.exists('package.json')) {\n let packageJson: Record<string, any> | null = null;\n\n try {\n packageJson = JSON.parse(tree.readText('package.json')) as Record<string, any>;\n } catch {}\n\n if (packageJson !== null && packageJson['dependencies']) {\n packageJson['dependencies']['@angular/material'] = '^16.2.0';\n tree.overwrite('package.json', JSON.stringify(packageJson, null, 2));\n context.addTask(new NodePackageInstallTask());\n }\n }\n\n context.logger.fatal(formatErrorMessage(filesUsingLegacyImports));\n return;\n };\n}\n\nfunction formatErrorMessage(filesUsingLegacyImports: Set<string>): string {\n const files = Array.from(filesUsingLegacyImports, path => ' - ' + path);\n const filesMessage =\n files.length > MAX_FILES_TO_PRINT\n ? [\n ...files.slice(0, MAX_FILES_TO_PRINT),\n `${files.length - MAX_FILES_TO_PRINT} more...`,\n `Search your project for \"${LEGACY_IMPORTS_START}\" to view all usages.`,\n ].join('\\n')\n : files.join('\\n');\n\n return (\n `Cannot update to Angular Material v17 because the project is using the legacy ` +\n `Material components\\nthat have been deleted. While Angular Material v16 is compatible with ` +\n `Angular v17, it is recommended\\nto switch away from the legacy components as soon as possible ` +\n `because they no longer receive bug fixes,\\naccessibility improvements and new features.\\n\\n` +\n `Read more about migrating away from legacy components: https://material.angular.io/guide/mdc-migration\\n\\n` +\n `Files in the project using legacy Material components:\\n${filesMessage}\\n`\n );\n}\n", "/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {AttributeSelectorUpgradeData, VersionChanges} from '@angular/cdk/schematics';\n\nexport const attributeSelectors: VersionChanges<AttributeSelectorUpgradeData> = {};\n", "/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {ClassNameUpgradeData, VersionChanges} from '@angular/cdk/schematics';\n\nexport const classNames: VersionChanges<ClassNameUpgradeData> = {};\n", "/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {ConstructorChecksUpgradeData, VersionChanges} from '@angular/cdk/schematics';\n\n/**\n * List of class names for which the constructor signature has been changed. The new constructor\n * signature types don't need to be stored here because the signature will be determined\n * automatically through type checking.\n */\nexport const constructorChecks: VersionChanges<ConstructorChecksUpgradeData> = {};\n", "/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {VersionChanges} from '@angular/cdk/schematics';\n\nexport interface MaterialCssSelectorData {\n /** The CSS selector to replace. */\n replace: string;\n /** The new CSS selector. */\n replaceWith: string;\n /**\n * Controls which file types in which this replacement is made. If omitted, it is made in all\n * files.\n */\n replaceIn?: {\n /** Replace this name in stylesheet files. */\n stylesheet?: boolean;\n /** Replace this name in HTML files. */\n html?: boolean;\n /** Replace this name in TypeScript strings. */\n tsStringLiterals?: boolean;\n };\n}\n\nexport const cssSelectors: VersionChanges<MaterialCssSelectorData> = {};\n", "/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {ElementSelectorUpgradeData, VersionChanges} from '@angular/cdk/schematics';\n\nexport const elementSelectors: VersionChanges<ElementSelectorUpgradeData> = {};\n", "/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {InputNameUpgradeData, VersionChanges} from '@angular/cdk/schematics';\n\nexport const inputNames: VersionChanges<InputNameUpgradeData> = {};\n", "/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {MethodCallUpgradeData, VersionChanges} from '@angular/cdk/schematics';\n\nexport const methodCallChecks: VersionChanges<MethodCallUpgradeData> = {};\n", "/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {OutputNameUpgradeData, VersionChanges} from '@angular/cdk/schematics';\n\nexport const outputNames: VersionChanges<OutputNameUpgradeData> = {};\n", "/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {PropertyNameUpgradeData, VersionChanges} from '@angular/cdk/schematics';\n\nexport const propertyNames: VersionChanges<PropertyNameUpgradeData> = {};\n", "/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {SymbolRemovalUpgradeData, VersionChanges} from '@angular/cdk/schematics';\n\nexport const symbolRemoval: VersionChanges<SymbolRemovalUpgradeData> = {};\n", "/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nexport * from './attribute-selectors';\nexport * from './class-names';\nexport * from './constructor-checks';\nexport * from './css-selectors';\nexport * from './element-selectors';\nexport * from './input-names';\nexport * from './method-call-checks';\nexport * from './output-names';\nexport * from './property-names';\nexport * from './symbol-removal';\n", "/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {UpgradeData} from '@angular/cdk/schematics';\nimport {\n attributeSelectors,\n classNames,\n constructorChecks,\n cssSelectors,\n elementSelectors,\n inputNames,\n methodCallChecks,\n outputNames,\n propertyNames,\n symbolRemoval,\n} from './data';\n\n/** Upgrade data that will be used for the Angular Material ng-update schematic. */\nexport const materialUpgradeData: UpgradeData = {\n attributeSelectors,\n classNames,\n constructorChecks,\n cssSelectors,\n elementSelectors,\n inputNames,\n methodCallChecks,\n outputNames,\n propertyNames,\n symbolRemoval,\n};\n", "/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/** Preamble to insert before the missing mixins. */\nconst MISSING_MIXIN_PREAMBLE_LINES = `\n// The following mixins include base theme styles that are only needed once per application. These\n// theme styles do not depend on the color, typography, or density settings in your theme. However,\n// these styles may differ depending on the theme's design system. Currently all themes use the\n// Material 2 design system, but in the future it may be possible to create theme based on other\n// design systems, such as Material 3.\n//\n// Please note: you do not need to include the 'base' mixins, if you include the corresponding\n// 'theme' mixin elsewhere in your Sass. The full 'theme' mixins already include the base styles.\n//\n// To learn more about \"base\" theme styles visit our theming guide:\n// https://material.angular.io/guide/theming#theming-dimensions\n//\n// TODO(v17): Please move these @include statements to the preferred place in your Sass, and pass\n// your theme to them. This will ensure the correct values for your app are included.\\\n`.split('\\n');\n\n/** The sets of theme mixins to check for. */\nconst THEME_MIXIN_SETS: {\n theme: string;\n color: string;\n typography: string;\n density: string;\n base: string;\n}[] = [\n {\n theme: 'all-component-themes',\n color: 'all-component-colors',\n typography: 'all-component-typographies',\n density: 'all-component-densities',\n base: 'all-component-bases',\n },\n ...[\n 'core',\n 'card',\n 'progress-bar',\n 'tooltip',\n 'form-field',\n 'input',\n 'select',\n 'autocomplete',\n 'dialog',\n 'chips',\n 'slide-toggle',\n 'radio',\n 'slider',\n 'menu',\n 'list',\n 'paginator',\n 'tabs',\n 'checkbox',\n 'button',\n 'icon-button',\n 'fab',\n 'snack-bar',\n 'table',\n 'progress-spinner',\n 'badge',\n 'bottom-sheet',\n 'button-toggle',\n 'datepicker',\n 'divider',\n 'expansion',\n 'grid-list',\n 'icon',\n 'sidenav',\n 'stepper',\n 'sort',\n 'toolbar',\n 'tree',\n ].map(comp => ({\n theme: `${comp}-theme`,\n color: `${comp}-color`,\n typography: `${comp}-typography`,\n density: `${comp}-density`,\n base: `${comp}-base`,\n })),\n];\n\n/** Possible pairs of comment characters in a Sass file. */\nconst COMMENT_PAIRS = new Map<string, string>([\n ['/*', '*/'],\n ['//', '\\n'],\n]);\n\n/** Prefix for the placeholder that will be used to escape comments. */\nconst COMMENT_PLACEHOLDER_START = '__<<ngThemingMigrationEscapedComment';\n\n/** Suffix for the comment escape placeholder. */\nconst COMMENT_PLACEHOLDER_END = '>>__';\n\n/**\n * Replaces all the comments in a Sass file with placeholders and\n * returns the list of placeholders, so they can be restored later.\n */\nfunction escapeComments(content: string): {content: string; placeholders: Record<string, string>} {\n const placeholders: Record<string, string> = {};\n let commentCounter = 0;\n let [openIndex, closeIndex] = findComment(content);\n\n while (openIndex > -1 && closeIndex > -1) {\n const placeholder = COMMENT_PLACEHOLDER_START + commentCounter++ + COMMENT_PLACEHOLDER_END;\n placeholders[placeholder] = content.slice(openIndex, closeIndex);\n content = content.slice(0, openIndex) + placeholder + content.slice(closeIndex);\n [openIndex, closeIndex] = findComment(content);\n }\n\n return {content, placeholders};\n}\n\n/** Finds the start and end index of a comment in a file. */\nfunction findComment(content: string): [openIndex: number, closeIndex: number] {\n // Add an extra new line at the end so that we can correctly capture single-line comments\n // at the end of the file. It doesn't really matter that the end index will be out of bounds,\n // because `String.prototype.slice` will clamp it to the string length.\n content += '\\n';\n\n for (const [open, close] of COMMENT_PAIRS.entries()) {\n const openIndex = content.indexOf(open);\n\n if (openIndex > -1) {\n const closeIndex = content.indexOf(close, openIndex + 1);\n return closeIndex > -1 ? [openIndex, closeIndex + close.length] : [-1, -1];\n }\n }\n\n return [-1, -1];\n}\n\n/** Restores the comments that have been escaped by `escapeComments`. */\nfunction restoreComments(content: string, placeholders: Record<string, string>): string {\n Object.keys(placeholders).forEach(key => (content = content.replace(key, placeholders[key])));\n return content;\n}\n\n/** Escapes special regex characters in a string. */\nfunction escapeRegExp(str: string): string {\n return str.replace(/([.*+?^=!:${}()|[\\]\\/\\\\])/g, '\\\\$1');\n}\n\n/** Parses out the namespace from a Sass `@use` statement. */\nfunction extractNamespaceFromUseStatement(fullImport: string): string {\n const closeQuoteIndex = Math.max(fullImport.lastIndexOf(`\"`), fullImport.lastIndexOf(`'`));\n\n if (closeQuoteIndex > -1) {\n const asExpression = 'as ';\n const asIndex = fullImport.indexOf(asExpression, closeQuoteIndex);\n\n // If we found an ` as ` expression, we consider the rest of the text as the namespace.\n if (asIndex > -1) {\n return fullImport\n .slice(asIndex + asExpression.length)\n .split(';')[0]\n .trim();\n }\n\n // Otherwise the namespace is the name of the file that is being imported.\n const lastSlashIndex = fullImport.lastIndexOf('/', closeQuoteIndex);\n\n if (lastSlashIndex > -1) {\n const fileName = fullImport\n .slice(lastSlashIndex + 1, closeQuoteIndex)\n // Sass allows for leading underscores to be omitted and it technically supports .scss.\n .replace(/^_|(\\.import)?\\.scss$|\\.import$/g, '');\n\n // Sass ignores `/index` and infers the namespace as the next segment in the path.\n if (fileName === 'index') {\n const nextSlashIndex = fullImport.lastIndexOf('/', lastSlashIndex - 1);\n\n if (nextSlashIndex > -1) {\n return fullImport.slice(nextSlashIndex + 1, lastSlashIndex);\n }\n } else {\n return fileName;\n }\n }\n }\n\n throw Error(`Could not extract namespace from import \"${fullImport}\".`);\n}\n\n/** Gets the set of namespaces that the given import path is aliased to by @use. */\nfunction getAtUseNamespaces(content: string, path: string) {\n const namespaces = new Set<string>();\n const pattern = new RegExp(`@use +['\"]~?${escapeRegExp(path)}['\"].*;?\\n`, 'g');\n let match: RegExpExecArray | null = null;\n\n while ((match = pattern.exec(content))) {\n namespaces.add(extractNamespaceFromUseStatement(match[0]));\n }\n\n return namespaces;\n}\n\n/** Gets a list of matches representing where the given mixin is included with `@include`. */\nfunction getAtIncludes(content: string, namespace: string, mixin: string): RegExpMatchArray[] {\n // The ending checks what comes after the mixin name. We need to check that we don't see a word\n // character or `-` immediately following the mixin name, as that would change the name. Beyond\n // that character we can match anything, to the end of the line.\n const ending = '([^\\\\n\\\\w-][^\\\\n]*)?($|\\\\n)';\n const pattern = new RegExp(\n `@include\\\\s+${escapeRegExp(namespace)}\\\\.${escapeRegExp(mixin)}${ending}`,\n 'g',\n );\n return [...content.matchAll(pattern)];\n}\n\n/** Checks whether the given mixin is included with `@include`. */\nfunction isMixinAtIncluded(content: string, namespace: string, mixin: string) {\n return !!getAtIncludes(content, namespace, mixin).length;\n}\n\n/** Inserts the given lines after the match point. */\nfunction insertLinesAfterMatch(content: string, match: RegExpMatchArray, lines: string[]): string {\n const insertionPoint = match.index! + match[0].length;\n return (\n content.substring(0, insertionPoint) +\n lines.join('\\n') +\n '\\n' +\n content.substring(insertionPoint)\n );\n}\n\n/** Gets the indentation at the given line in the content. */\nfunction getIndentation(content: string, index: number) {\n let indentationStart = 0;\n let indentationEnd = index;\n for (let i = index; i >= 0; i--) {\n if (content[i] === '\\n') {\n indentationStart = i + 1;\n break;\n }\n if (!/\\s/.exec(content[i])) {\n indentationEnd = i;\n }\n }\n return content.slice(indentationStart, indentationEnd);\n}\n\n/** Gets the lines to insert to address the missing mixins. */\nfunction getMissingMixinLines(namespace: string, mixins: Set<string>, indentation: string) {\n return [\n ...MISSING_MIXIN_PREAMBLE_LINES,\n ...[...mixins]\n .sort()\n .map(mixin => `@include ${namespace}.${mixin}(/* TODO(v17): pass $your-theme here */);`),\n '',\n ].map(line => (indentation + line).trimRight());\n}\n\n/**\n * Checks which theme bases are found in the file via the existing included mixins,\n * and which ones may be missing.\n */\nexport function checkThemeBaseMixins(fileContent: string): {\n found: Set<string>;\n missing: Set<string>;\n} {\n const found = new Set<string>();\n const missing = new Set<string>();\n\n // Strip out comments, so they don't confuse our migration.\n const {content} = escapeComments(fileContent);\n const materialNamespaces = getAtUseNamespaces(content, '@angular/material');\n\n // Check over all namespaces for mixins of interest.\n for (const namespace of materialNamespaces) {\n for (const mixins of THEME_MIXIN_SETS) {\n // If they include the theme mixin, that accounts for the base theme styles.\n if (isMixinAtIncluded(content, namespace, mixins.theme)) {\n found.add(mixins.base);\n missing.delete(mixins.base);\n continue;\n }\n // If they haven't called the theme mixin, but do call one of the partials,\n // we assume they're missing the base styles.\n if (!found.has(mixins.base)) {\n if (\n isMixinAtIncluded(content, namespace, mixins.color) ||\n isMixinAtIncluded(content, namespace, mixins.typography) ||\n isMixinAtIncluded(content, namespace, mixins.density)\n ) {\n missing.add(mixins.base);\n }\n }\n }\n }\n\n return {found, missing};\n}\n\n/** Adds the given theme base mixins, after the call to `mat.core()`. */\nexport function addThemeBaseMixins(fileContent: string, mixins: Set<string>): string {\n // Strip out comments, so they don't confuse our migration.\n let {content, placeholders} = escapeComments(fileContent);\n const materialNamespaces = getAtUseNamespaces(content, '@angular/material');\n\n for (const namespace of materialNamespaces) {\n // Update the @includes in reverse order, so our changes don't mess up the indices we found.\n const coreIncludes = getAtIncludes(content, namespace, 'core').reverse();\n for (const coreInclude of coreIncludes) {\n if (coreInclude.index === undefined) {\n throw Error(`Cannot find location of mat.core() match: ${coreInclude}`);\n }\n const indentation = getIndentation(content, coreInclude.index);\n const lines = getMissingMixinLines(namespace, mixins, indentation);\n content = insertLinesAfterMatch(content, coreInclude, lines);\n }\n }\n\n return restoreComments(content, placeholders);\n}\n", "/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {extname} from '@angular-devkit/core';\nimport {SchematicContext} from '@angular-devkit/schematics';\nimport {DevkitMigration, ResolvedResource, TargetVersion} from '@angular/cdk/schematics';\nimport {addThemeBaseMixins, checkThemeBaseMixins} from './migration';\n\n/** Adds an @include for theme base mixins that aren't already included by the app. */\nexport class ThemeBaseMigration extends DevkitMigration<null> {\n /** Number of files that have been migrated. */\n static migratedFileCount = 0;\n\n /** All base mixins that we have found an existing @include for. */\n static foundBaseMixins = new Set<string>();\n\n /** All base mixins that appear to be missing an @include. */\n static missingBaseMixins = new Set<string>();\n\n /** Whether to run this migration. */\n enabled = this.targetVersion === TargetVersion.V17;\n\n /**\n * All Sass stylesheets visited. (We save a record, so we can go back through them in the\n * `postAnalysis` phase).\n */\n visitedSassStylesheets: ResolvedResource[] = [];\n\n /**\n * Visit each stylesheet, noting which base mixins are accounted for (because the user is calling\n * `mat.<component>-theme()`), and which ones are missing (because the user is calling one of the\n * theme-partial mixins: `mat.<component-color>()`, `mat.<component>-typography()`,\n * or `mat.<component>-density()`.\n *\n * We don't make any modifications at this point. Instead, the results of visiting each stylesheet\n * are aggregated into a static variable which is used to determine which mixins to add in\n * `postAnalysis` phase.\n */\n override visitStylesheet(stylesheet: ResolvedResource): void {\n if (extname(stylesheet.filePath) === '.scss') {\n this.visitedSassStylesheets.push(stylesheet);\n\n const content = stylesheet.content;\n const {found, missing} = checkThemeBaseMixins(content);\n for (const mixin of found) {\n ThemeBaseMigration.foundBaseMixins.add(mixin);\n ThemeBaseMigration.missingBaseMixins.delete(mixin);\n }\n for (const mixin of missing) {\n if (!ThemeBaseMigration.foundBaseMixins.has(mixin)) {\n ThemeBaseMigration.missingBaseMixins.add(mixin);\n }\n }\n }\n }\n\n /**\n * Perform the necessary updates detected while visiting the stylesheets. The\n * `mat.<component>-base()` mixins behave similarly to `mat.core()`, in that they needed to be\n * included once globally. So we locate calls to `mat.core()` and add the missing mixins\n * identified by earlier at these locations.\n */\n override postAnalysis() {\n // If we're not missing any mixins, there's nothing to migrate.\n if (ThemeBaseMigration.missingBaseMixins.size === 0) {\n return;\n }\n // If we have all-component-bases, we don't need any others and there is nothing to migrate.\n if (ThemeBaseMigration.foundBaseMixins.has('all-component-bases')) {\n return;\n }\n // If we're missing all-component-bases, we just need to add it, not the individual mixins.\n if (ThemeBaseMigration.missingBaseMixins.has('all-component-bases')) {\n ThemeBaseMigration.missingBaseMixins = new Set(['all-component-bases']);\n }\n for (const stylesheet of this.visitedSassStylesheets) {\n const content = stylesheet.content;\n const migratedContent = content\n ? addThemeBaseMixins(content, ThemeBaseMigration.missingBaseMixins)\n : content;\n\n if (migratedContent && migratedContent !== content) {\n this.fileSystem\n .edit(stylesheet.filePath)\n .remove(0, stylesheet.content.length)\n .insertLeft(0, migratedContent);\n ThemeBaseMigration.migratedFileCount++;\n }\n }\n if (ThemeBaseMigration.migratedFileCount === 0) {\n const mixinsText = [...ThemeBaseMigration.missingBaseMixins]\n .sort()\n .map(m => `mat.${m}($theme)`)\n .join('\\n');\n this.failures.push({\n filePath: this.context.tree.root.path,\n message:\n `The following mixins could not be automatically added, please add them manually` +\n ` if needed:\\n${mixinsText}`,\n });\n }\n }\n\n /** Logs out the number of migrated files at the end of the migration. */\n static override globalPostMigration(\n _tree: unknown,\n _targetVersion: TargetVersion,\n context: SchematicContext,\n ): void {\n const fileCount = ThemeBaseMigration.migratedFileCount;\n const mixinCount = ThemeBaseMigration.missingBaseMixins.size;\n\n if (fileCount > 0 && mixinCount > 0) {\n const fileCountText = fileCount === 1 ? '1 file' : `${fileCount} files`;\n const mixinCountText =\n mixinCount === 1 ? '1 theme base mixin' : `${mixinCount} theme base mixins`;\n context.logger.info(\n `Added ${mixinCountText} to ${fileCountText}.` +\n ' Please search for, and address, any \"TODO(v17)\" comments.',\n );\n }\n\n // Reset to avoid leaking between tests.\n ThemeBaseMigration.migratedFileCount = 0;\n ThemeBaseMigration.missingBaseMixins = new Set();\n ThemeBaseMigration.foundBaseMixins = new Set();\n }\n}\n", "/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {Rule, SchematicContext} from '@angular-devkit/schematics';\nimport {\n createMigrationSchematicRule,\n NullableDevkitMigration,\n TargetVersion,\n} from '@angular/cdk/schematics';\n\nimport {legacyImportsError} from './migrations/legacy-imports-error';\nimport {materialUpgradeData} from './upgrade-data';\nimport {ThemeBaseMigration} from './migrations/theme-base-v17';\n\nconst materialMigrations: NullableDevkitMigration[] = [ThemeBaseMigration];\n\n/** Entry point for the migration schematics with target of Angular Material v17 */\nexport function updateToV17(): Rule {\n // We pass the v17 migration rule as a callback, instead of using `chain()`, because the\n // legacy imports error only logs an error message, it doesn't actually interrupt the migration\n // process and we don't want to execute migrations if there are leftover legacy imports.\n return legacyImportsError(\n createMigrationSchematicRule(\n TargetVersion.V17,\n materialMigrations,\n materialUpgradeData,\n onMigrationComplete,\n ),\n );\n}\n\n/** Function that will be called when the migration completed. */\nfunction onMigrationComplete(\n context: SchematicContext,\n targetVersion: TargetVersion,\n hasFailures: boolean,\n) {\n context.logger.info('');\n context.logger.info(` ✓ Updated Angular Material to ${targetVersion}`);\n context.logger.info('');\n\n if (hasFailures) {\n context.logger.warn(\n ' ⚠ Some issues were detected but could not be fixed automatically. Please check the ' +\n 'output above and fix these issues manually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