@koobiq/components 21.0.0 → 21.0.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/fesm2022/koobiq-components-code-block.mjs +45 -17
- package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +1 -1
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-filter-bar.mjs +9 -5
- package/fesm2022/koobiq-components-filter-bar.mjs.map +1 -1
- package/fesm2022/koobiq-components-icon.mjs +37 -16
- package/fesm2022/koobiq-components-icon.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree-select.mjs +20 -5
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +218 -83
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/package.json +3 -3
- package/schematics/collection.json +94 -89
- package/schematics/migrations/accordion-state-saving-default/{index.js → index.cjs} +5 -4
- package/schematics/migrations/actions-panel-overlay-container/{index.js → index.cjs} +5 -4
- package/schematics/migrations/alert-signals/{index.js → index.cjs} +14 -13
- package/schematics/migrations/angular-animations-removal/index.cjs +21 -0
- package/schematics/migrations/app-switcher-signals/{index.js → index.cjs} +7 -6
- package/schematics/migrations/autocomplete-panel-width-auto/{index.js → index.cjs} +6 -5
- package/schematics/migrations/autocomplete-signals/{index.js → index.cjs} +7 -6
- package/schematics/migrations/badge-signals/{index.js → index.cjs} +7 -6
- package/schematics/migrations/button-state-and-styles/{index.js → index.cjs} +7 -6
- package/schematics/migrations/button-supported-colors/{index.js → index.cjs} +7 -6
- package/schematics/migrations/button-toggle-signals-and-aria/{index.js → index.cjs} +7 -6
- package/schematics/migrations/button-truncation/{index.js → index.cjs} +7 -6
- package/schematics/migrations/checkbox-signals/{index.js → index.cjs} +9 -8
- package/schematics/migrations/clamped-text-disclosure/{index.js → index.cjs} +5 -4
- package/schematics/migrations/code-block-highlight-js-core/README.md +53 -0
- package/schematics/migrations/code-block-highlight-js-core/data.cjs +64 -0
- package/schematics/migrations/code-block-highlight-js-core/index.cjs +319 -0
- package/schematics/migrations/code-block-highlight-js-core/schema.json +20 -0
- package/schematics/migrations/code-block-signals/{index.js → index.cjs} +7 -6
- package/schematics/migrations/color-signals/index.cjs +20 -0
- package/schematics/migrations/core-mixins-removal/index.cjs +18 -0
- package/schematics/migrations/css-selectors/{index.js → index.cjs} +4 -3
- package/schematics/migrations/datepicker-signals/index.cjs +18 -0
- package/schematics/migrations/deprecated-icons/{index.js → index.cjs} +8 -7
- package/schematics/migrations/design-tokens-v4/{index.js → index.cjs} +3 -2
- package/schematics/migrations/divider-signals-and-aria/{index.js → index.cjs} +5 -4
- package/schematics/migrations/dl-attribute-coercion/{index.js → index.cjs} +7 -6
- package/schematics/migrations/dl-standalone-names/{index.js → index.cjs} +11 -10
- package/schematics/migrations/dropdown-demote-overlay/{index.js → index.cjs} +7 -6
- package/schematics/migrations/dropdown-signals/index.cjs +20 -0
- package/schematics/migrations/empty-state-error-color/{index.js → index.cjs} +5 -4
- package/schematics/migrations/empty-state-size-attr/{index.js → index.cjs} +6 -5
- package/schematics/migrations/file-upload-cva-and-primitives/{index.js → index.cjs} +5 -4
- package/schematics/migrations/file-upload-deprecated-outputs/{index.js → index.cjs} +5 -4
- package/schematics/migrations/filter-bar-rename-action/{index.js → index.cjs} +5 -4
- package/schematics/migrations/filter-bar-signals/{index.js → index.cjs} +16 -15
- package/schematics/migrations/filter-bar-state-saving-default/{index.js → index.cjs} +5 -4
- package/schematics/migrations/flag-inner-html/{index.js → index.cjs} +5 -4
- package/schematics/migrations/form-field-signals/{index.js → index.cjs} +18 -17
- package/schematics/migrations/icon-semantics-and-api/{data.js → data.cjs} +4 -4
- package/schematics/migrations/icon-semantics-and-api/{index.js → index.cjs} +6 -5
- package/schematics/migrations/icons-replacement/{index.js → index.cjs} +4 -3
- package/schematics/migrations/inline-edit-a11y-and-types/{index.js → index.cjs} +5 -4
- package/schematics/migrations/input-number-surface/{index.js → index.cjs} +5 -4
- package/schematics/migrations/input-signals/index.cjs +18 -0
- package/schematics/migrations/link-deprecated-path/{index.js → index.cjs} +4 -3
- package/schematics/migrations/link-signals/{index.js → index.cjs} +5 -4
- package/schematics/migrations/list-signals/index.cjs +18 -0
- package/schematics/migrations/list-tree-multiple-input/{index.js → index.cjs} +7 -6
- package/schematics/migrations/loader-overlay-signals/{index.js → index.cjs} +7 -6
- package/schematics/migrations/loader-overlay-size-attr/{index.js → index.cjs} +6 -5
- package/schematics/migrations/locale-configuration-providers/{index.js → index.cjs} +5 -4
- package/schematics/migrations/mandatory-peer-dependencies/{index.js → index.cjs} +3 -2
- package/schematics/migrations/markdown-signals/{index.js → index.cjs} +7 -6
- package/schematics/migrations/modal-dialog-semantics/{index.js → index.cjs} +5 -4
- package/schematics/migrations/modal-signals/index.cjs +20 -0
- package/schematics/migrations/navbar-signals-and-aria/{index.js → index.cjs} +7 -6
- package/schematics/migrations/new-icons-pack/{index.js → index.cjs} +8 -7
- package/schematics/migrations/notification-center-signals/{index.js → index.cjs} +5 -4
- package/schematics/migrations/option-signals/index.cjs +20 -0
- package/schematics/migrations/popover-leave-delay/{index.js → index.cjs} +5 -4
- package/schematics/migrations/progress-bar-percentage-and-aria/{index.js → index.cjs} +5 -4
- package/schematics/migrations/progress-spinner-signals/{index.js → index.cjs} +7 -6
- package/schematics/migrations/query-list-signals/index.cjs +18 -0
- package/schematics/migrations/radio-signals-and-aria/{index.js → index.cjs} +9 -8
- package/schematics/migrations/read-state-dwell-handlers/{index.js → index.cjs} +5 -4
- package/schematics/migrations/scrollbar-deprecated-path/{index.js → index.cjs} +4 -3
- package/schematics/migrations/select-signal-inputs/{index.js → index.cjs} +5 -4
- package/schematics/migrations/sidepanel-non-modal-behavior/{index.js → index.cjs} +5 -4
- package/schematics/migrations/signal-inputs-subclasses/index.cjs +18 -0
- package/schematics/migrations/split-button-optional-disabled/{index.js → index.cjs} +5 -4
- package/schematics/migrations/splitter-deprecated-path/{index.js → index.cjs} +4 -3
- package/schematics/migrations/state-saving-default/{index.js → index.cjs} +5 -4
- package/schematics/migrations/table-cell-content/{index.js → index.cjs} +5 -4
- package/schematics/migrations/tabs-signals-and-aria/{index.js → index.cjs} +5 -4
- package/schematics/migrations/tag-list-cleaner/{index.js → index.cjs} +7 -6
- package/schematics/migrations/tag-slots/{index.js → index.cjs} +6 -5
- package/schematics/migrations/tags-signals/{index.js → index.cjs} +7 -6
- package/schematics/migrations/textarea-signals/{index.js → index.cjs} +7 -6
- package/schematics/migrations/time-range-title-for/{index.js → index.cjs} +5 -4
- package/schematics/migrations/timepicker-signals/{index.js → index.cjs} +7 -6
- package/schematics/migrations/timezone-grouping-utils/{index.js → index.cjs} +5 -4
- package/schematics/migrations/title-encapsulation/{index.js → index.cjs} +5 -4
- package/schematics/migrations/toast-stack-and-defaults/{index.js → index.cjs} +5 -4
- package/schematics/migrations/tooltip-pointer-events-and-types/{index.js → index.cjs} +5 -4
- package/schematics/migrations/top-bar-container-selectors/{index.js → index.cjs} +5 -4
- package/schematics/migrations/tree-select-signals/{index.js → index.cjs} +5 -4
- package/schematics/migrations/tree-signals/{index.js → index.cjs} +5 -4
- package/schematics/migrations/tree-state-saving-default/{index.js → index.cjs} +5 -4
- package/schematics/migrations/username-pipe-injection/{index.js → index.cjs} +5 -4
- package/schematics/migrations/v20-upgrade/{data.js → data.cjs} +7 -7
- package/schematics/migrations/v20-upgrade/index.cjs +19 -0
- package/schematics/migrations/v21-upgrade/{data.js → data.cjs} +22 -22
- package/schematics/migrations/v21-upgrade/{index.js → index.cjs} +11 -10
- package/schematics/migrations/zoneless-change-detection/index.cjs +21 -0
- package/schematics/migrations.json +87 -82
- package/schematics/ng-add/{index.js → index.cjs} +12 -286
- package/schematics/utils/{angular-parsing.js → angular-parsing.cjs} +2 -2
- package/schematics/utils/{deprecated-path-migration.js → deprecated-path-migration.cjs} +4 -3
- package/schematics/utils/html-config.cjs +148 -0
- package/schematics/utils/{icon-migration.js → icon-migration.cjs} +2 -2
- package/schematics/utils/list-item-pattern.cjs +16 -0
- package/schematics/utils/package-config.cjs +80 -0
- package/schematics/utils/project-files.cjs +25 -0
- package/schematics/utils/replacement-driver.cjs +337 -0
- package/schematics/utils/safe-rule.cjs +23 -0
- package/schematics/utils/signal-members-migration.cjs +779 -0
- package/schematics/utils/tag-patterns.cjs +21 -0
- package/schematics/utils/template-ref-access.cjs +155 -0
- package/schematics/utils/{typescript.js → typescript.cjs} +1 -1
- package/schematics/utils/warn-only-migration.cjs +52 -0
- package/schematics/utils/workspace-styles.cjs +123 -0
- package/types/koobiq-components-code-block.d.ts +38 -11
- package/types/koobiq-components-filter-bar.d.ts +2 -2
- package/types/koobiq-components-tree-select.d.ts +11 -8
- package/types/koobiq-components-tree.d.ts +108 -59
- package/schematics/migrations/angular-animations-removal/index.js +0 -20
- package/schematics/migrations/color-signals/index.js +0 -19
- package/schematics/migrations/core-mixins-removal/index.js +0 -17
- package/schematics/migrations/datepicker-signals/index.js +0 -17
- package/schematics/migrations/dropdown-signals/index.js +0 -19
- package/schematics/migrations/input-signals/index.js +0 -17
- package/schematics/migrations/list-signals/index.js +0 -17
- package/schematics/migrations/modal-signals/index.js +0 -19
- package/schematics/migrations/option-signals/index.js +0 -19
- package/schematics/migrations/query-list-signals/index.js +0 -17
- package/schematics/migrations/signal-inputs-subclasses/index.js +0 -17
- package/schematics/migrations/v20-upgrade/index.js +0 -18
- package/schematics/migrations/zoneless-change-detection/index.js +0 -20
- package/schematics/utils/package-config.js +0 -13
- /package/schematics/migrations/accordion-state-saving-default/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/actions-panel-overlay-container/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/alert-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/angular-animations-removal/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/app-switcher-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/autocomplete-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/badge-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/button-state-and-styles/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/button-supported-colors/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/button-toggle-signals-and-aria/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/button-truncation/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/checkbox-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/clamped-text-disclosure/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/code-block-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/color-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/core-mixins-removal/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/css-selectors/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/datepicker-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/deprecated-icons/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/divider-signals-and-aria/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/dl-attribute-coercion/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/dl-standalone-names/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/dropdown-demote-overlay/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/dropdown-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/empty-state-error-color/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/file-upload-cva-and-primitives/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/file-upload-deprecated-outputs/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/filter-bar-rename-action/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/filter-bar-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/filter-bar-state-saving-default/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/flag-inner-html/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/form-field-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/icons-replacement/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/inline-edit-a11y-and-types/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/input-number-surface/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/input-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/link-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/list-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/list-tree-multiple-input/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/loader-overlay-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/locale-configuration-providers/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/markdown-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/modal-dialog-semantics/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/modal-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/navbar-signals-and-aria/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/new-icons-pack/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/notification-center-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/option-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/popover-leave-delay/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/progress-bar-percentage-and-aria/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/progress-spinner-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/query-list-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/radio-signals-and-aria/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/read-state-dwell-handlers/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/select-signal-inputs/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/sidepanel-non-modal-behavior/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/signal-inputs-subclasses/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/split-button-optional-disabled/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/state-saving-default/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/table-cell-content/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/tabs-signals-and-aria/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/tag-list-cleaner/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/tags-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/textarea-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/time-range-title-for/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/timepicker-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/timezone-grouping-utils/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/title-encapsulation/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/toast-stack-and-defaults/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/tooltip-pointer-events-and-types/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/top-bar-container-selectors/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/tree-select-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/tree-signals/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/tree-state-saving-default/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/username-pipe-injection/{data.js → data.cjs} +0 -0
- /package/schematics/migrations/zoneless-change-detection/{data.js → data.cjs} +0 -0
- /package/schematics/utils/{ast.js → ast.cjs} +0 -0
- /package/schematics/utils/{messages.js → messages.cjs} +0 -0
|
@@ -3,9 +3,10 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var ts = require('typescript');
|
|
6
|
-
var utils_messages = require('../../utils/messages.
|
|
7
|
-
var utils_packageConfig = require('../../package-config
|
|
8
|
-
var
|
|
6
|
+
var utils_messages = require('../../utils/messages.cjs');
|
|
7
|
+
var utils_packageConfig = require('../../utils/package-config.cjs');
|
|
8
|
+
var utils_projectFiles = require('../../utils/project-files.cjs');
|
|
9
|
+
var migrations_localeConfigurationProviders_data = require('./data.cjs');
|
|
9
10
|
require('@angular-devkit/schematics');
|
|
10
11
|
require('@schematics/angular/utility');
|
|
11
12
|
|
|
@@ -226,7 +227,7 @@ function localeConfigurationProviders(options) {
|
|
|
226
227
|
const root = projectDefinition?.root ?? '';
|
|
227
228
|
const rootDir = root ? tree.getDir(root) : tree.root;
|
|
228
229
|
const filePaths = [];
|
|
229
|
-
|
|
230
|
+
utils_projectFiles.visitProjectFiles(rootDir, (filePath) => {
|
|
230
231
|
if (!filePath.endsWith(TS_EXT) && !filePath.endsWith(HTML_EXT))
|
|
231
232
|
return;
|
|
232
233
|
filePaths.push(filePath);
|
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var tasks = require('@angular-devkit/schematics/tasks');
|
|
6
|
-
var utils_messages = require('../../utils/messages.
|
|
7
|
-
var utils_packageConfig = require('../../package-config
|
|
6
|
+
var utils_messages = require('../../utils/messages.cjs');
|
|
7
|
+
var utils_packageConfig = require('../../utils/package-config.cjs');
|
|
8
8
|
require('@angular-devkit/schematics');
|
|
9
9
|
require('@schematics/angular/utility');
|
|
10
|
+
require('../../utils/project-files.cjs');
|
|
10
11
|
|
|
11
12
|
/**
|
|
12
13
|
* `@koobiq/components` now declares `overlayscrollbars` and `@koobiq/date-adapter` as mandatory peers.
|
|
@@ -3,11 +3,12 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var ts = require('typescript');
|
|
6
|
-
var utils_ast = require('../../utils/ast.
|
|
7
|
-
var utils_messages = require('../../utils/messages.
|
|
8
|
-
var utils_packageConfig = require('../../package-config
|
|
9
|
-
var
|
|
10
|
-
var
|
|
6
|
+
var utils_ast = require('../../utils/ast.cjs');
|
|
7
|
+
var utils_messages = require('../../utils/messages.cjs');
|
|
8
|
+
var utils_packageConfig = require('../../utils/package-config.cjs');
|
|
9
|
+
var utils_projectFiles = require('../../utils/project-files.cjs');
|
|
10
|
+
var utils_typescript = require('../../utils/typescript.cjs');
|
|
11
|
+
var migrations_markdownSignals_data = require('./data.cjs');
|
|
11
12
|
require('@angular-devkit/schematics');
|
|
12
13
|
require('@schematics/angular/utility');
|
|
13
14
|
|
|
@@ -572,7 +573,7 @@ function markdownSignals(options) {
|
|
|
572
573
|
const rootDir = root ? tree.getDir(root) : tree.root;
|
|
573
574
|
const tsPaths = [];
|
|
574
575
|
const htmlPaths = [];
|
|
575
|
-
|
|
576
|
+
utils_projectFiles.visitProjectFiles(rootDir, (filePath) => {
|
|
576
577
|
if (filePath.endsWith(TS_EXT))
|
|
577
578
|
tsPaths.push(filePath);
|
|
578
579
|
else if (filePath.endsWith(HTML_EXT))
|
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var utils_messages = require('../../utils/messages.
|
|
6
|
-
var utils_packageConfig = require('../../package-config
|
|
7
|
-
var
|
|
5
|
+
var utils_messages = require('../../utils/messages.cjs');
|
|
6
|
+
var utils_packageConfig = require('../../utils/package-config.cjs');
|
|
7
|
+
var utils_projectFiles = require('../../utils/project-files.cjs');
|
|
8
|
+
var migrations_modalDialogSemantics_data = require('./data.cjs');
|
|
8
9
|
require('@angular-devkit/schematics');
|
|
9
10
|
require('@schematics/angular/utility');
|
|
10
11
|
|
|
@@ -30,7 +31,7 @@ function modalDialogSemantics(options) {
|
|
|
30
31
|
const rootDir = root ? tree.getDir(root) : tree.root;
|
|
31
32
|
let consumers = 0;
|
|
32
33
|
let reported = 0;
|
|
33
|
-
|
|
34
|
+
utils_projectFiles.visitProjectFiles(rootDir, (filePath, entry) => {
|
|
34
35
|
if (!EXTENSIONS.some((extension) => filePath.endsWith(extension)))
|
|
35
36
|
return;
|
|
36
37
|
const content = entry?.content.toString();
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var utils_signalMembersMigration = require('../../utils/signal-members-migration.cjs');
|
|
6
|
+
var migrations_modalSignals_data = require('./data.cjs');
|
|
7
|
+
require('typescript');
|
|
8
|
+
require('../../utils/ast.cjs');
|
|
9
|
+
require('../../utils/messages.cjs');
|
|
10
|
+
require('../../utils/package-config.cjs');
|
|
11
|
+
require('@angular-devkit/schematics');
|
|
12
|
+
require('@schematics/angular/utility');
|
|
13
|
+
require('../../utils/project-files.cjs');
|
|
14
|
+
require('../../utils/typescript.cjs');
|
|
15
|
+
|
|
16
|
+
function modalSignals(options) {
|
|
17
|
+
return utils_signalMembersMigration.signalMembersRule(migrations_modalSignals_data.config, options);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
exports.default = modalSignals;
|
|
@@ -3,11 +3,12 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var ts = require('typescript');
|
|
6
|
-
var utils_ast = require('../../utils/ast.
|
|
7
|
-
var utils_messages = require('../../utils/messages.
|
|
8
|
-
var utils_packageConfig = require('../../package-config
|
|
9
|
-
var
|
|
10
|
-
var
|
|
6
|
+
var utils_ast = require('../../utils/ast.cjs');
|
|
7
|
+
var utils_messages = require('../../utils/messages.cjs');
|
|
8
|
+
var utils_packageConfig = require('../../utils/package-config.cjs');
|
|
9
|
+
var utils_projectFiles = require('../../utils/project-files.cjs');
|
|
10
|
+
var utils_typescript = require('../../utils/typescript.cjs');
|
|
11
|
+
var migrations_navbarSignalsAndAria_data = require('./data.cjs');
|
|
11
12
|
require('@angular-devkit/schematics');
|
|
12
13
|
require('@schematics/angular/utility');
|
|
13
14
|
|
|
@@ -498,7 +499,7 @@ function navbarSignalsAndAria(options) {
|
|
|
498
499
|
const tsPaths = [];
|
|
499
500
|
const htmlPaths = [];
|
|
500
501
|
const stylePaths = [];
|
|
501
|
-
|
|
502
|
+
utils_projectFiles.visitProjectFiles(rootDir, (filePath) => {
|
|
502
503
|
if (filePath.endsWith(TS_EXT))
|
|
503
504
|
tsPaths.push(filePath);
|
|
504
505
|
else if (filePath.endsWith(HTML_EXT))
|
|
@@ -4,16 +4,17 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var fs = require('fs');
|
|
6
6
|
var path = require('path');
|
|
7
|
-
var utils_angularParsing = require('../../utils/angular-parsing.
|
|
8
|
-
var utils_iconMigration = require('../../utils/icon-migration.
|
|
9
|
-
var utils_messages = require('../../utils/messages.
|
|
10
|
-
var utils_packageConfig = require('../../package-config
|
|
11
|
-
var migrations_newIconsPack_data = require('./data.
|
|
7
|
+
var utils_angularParsing = require('../../utils/angular-parsing.cjs');
|
|
8
|
+
var utils_iconMigration = require('../../utils/icon-migration.cjs');
|
|
9
|
+
var utils_messages = require('../../utils/messages.cjs');
|
|
10
|
+
var utils_packageConfig = require('../../utils/package-config.cjs');
|
|
11
|
+
var migrations_newIconsPack_data = require('./data.cjs');
|
|
12
12
|
require('typescript');
|
|
13
|
-
require('../../utils/ast.
|
|
14
|
-
require('../../utils/typescript.
|
|
13
|
+
require('../../utils/ast.cjs');
|
|
14
|
+
require('../../utils/typescript.cjs');
|
|
15
15
|
require('@angular-devkit/schematics');
|
|
16
16
|
require('@schematics/angular/utility');
|
|
17
|
+
require('../../utils/project-files.cjs');
|
|
17
18
|
|
|
18
19
|
function _interopNamespaceDefault(e) {
|
|
19
20
|
var n = Object.create(null);
|
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var utils_messages = require('../../utils/messages.
|
|
6
|
-
var utils_packageConfig = require('../../package-config
|
|
7
|
-
var
|
|
5
|
+
var utils_messages = require('../../utils/messages.cjs');
|
|
6
|
+
var utils_packageConfig = require('../../utils/package-config.cjs');
|
|
7
|
+
var utils_projectFiles = require('../../utils/project-files.cjs');
|
|
8
|
+
var migrations_notificationCenterSignals_data = require('./data.cjs');
|
|
8
9
|
require('@angular-devkit/schematics');
|
|
9
10
|
require('@schematics/angular/utility');
|
|
10
11
|
|
|
@@ -40,7 +41,7 @@ function notificationCenterSignals(options) {
|
|
|
40
41
|
const root = projectDefinition?.root ?? '';
|
|
41
42
|
const rootDir = root ? tree.getDir(root) : tree.root;
|
|
42
43
|
let reported = 0;
|
|
43
|
-
|
|
44
|
+
utils_projectFiles.visitProjectFiles(rootDir, (filePath, entry) => {
|
|
44
45
|
// A declaration file re-states the API this reports on, so scanning one turns the report
|
|
45
46
|
// into noise about the consumer's own typings rather than their call sites.
|
|
46
47
|
if (!isMigratableTs(filePath))
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var utils_signalMembersMigration = require('../../utils/signal-members-migration.cjs');
|
|
6
|
+
var migrations_optionSignals_data = require('./data.cjs');
|
|
7
|
+
require('typescript');
|
|
8
|
+
require('../../utils/ast.cjs');
|
|
9
|
+
require('../../utils/messages.cjs');
|
|
10
|
+
require('../../utils/package-config.cjs');
|
|
11
|
+
require('@angular-devkit/schematics');
|
|
12
|
+
require('@schematics/angular/utility');
|
|
13
|
+
require('../../utils/project-files.cjs');
|
|
14
|
+
require('../../utils/typescript.cjs');
|
|
15
|
+
|
|
16
|
+
function optionSignals(options) {
|
|
17
|
+
return utils_signalMembersMigration.signalMembersRule(migrations_optionSignals_data.config, options);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
exports.default = optionSignals;
|
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var utils_messages = require('../../utils/messages.
|
|
6
|
-
var utils_packageConfig = require('../../package-config
|
|
7
|
-
var
|
|
5
|
+
var utils_messages = require('../../utils/messages.cjs');
|
|
6
|
+
var utils_packageConfig = require('../../utils/package-config.cjs');
|
|
7
|
+
var utils_projectFiles = require('../../utils/project-files.cjs');
|
|
8
|
+
var migrations_popoverLeaveDelay_data = require('./data.cjs');
|
|
8
9
|
require('@angular-devkit/schematics');
|
|
9
10
|
require('@schematics/angular/utility');
|
|
10
11
|
|
|
@@ -26,7 +27,7 @@ function popoverLeaveDelay(options) {
|
|
|
26
27
|
const rootDir = root ? tree.getDir(root) : tree.root;
|
|
27
28
|
let consumers = 0;
|
|
28
29
|
let reported = 0;
|
|
29
|
-
|
|
30
|
+
utils_projectFiles.visitProjectFiles(rootDir, (filePath, entry) => {
|
|
30
31
|
if (!EXTENSIONS.some((extension) => filePath.endsWith(extension)))
|
|
31
32
|
return;
|
|
32
33
|
const content = entry?.content.toString();
|
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var utils_messages = require('../../utils/messages.
|
|
6
|
-
var utils_packageConfig = require('../../package-config
|
|
7
|
-
var
|
|
5
|
+
var utils_messages = require('../../utils/messages.cjs');
|
|
6
|
+
var utils_packageConfig = require('../../utils/package-config.cjs');
|
|
7
|
+
var utils_projectFiles = require('../../utils/project-files.cjs');
|
|
8
|
+
var migrations_progressBarPercentageAndAria_data = require('./data.cjs');
|
|
8
9
|
require('@angular-devkit/schematics');
|
|
9
10
|
require('@schematics/angular/utility');
|
|
10
11
|
|
|
@@ -30,7 +31,7 @@ function progressBarPercentageAndAria(options) {
|
|
|
30
31
|
const rootDir = root ? tree.getDir(root) : tree.root;
|
|
31
32
|
let consumers = 0;
|
|
32
33
|
let reported = 0;
|
|
33
|
-
|
|
34
|
+
utils_projectFiles.visitProjectFiles(rootDir, (filePath, entry) => {
|
|
34
35
|
if (!EXTENSIONS.some((extension) => filePath.endsWith(extension)))
|
|
35
36
|
return;
|
|
36
37
|
const content = entry?.content.toString();
|
|
@@ -3,11 +3,12 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var ts = require('typescript');
|
|
6
|
-
var utils_ast = require('../../utils/ast.
|
|
7
|
-
var utils_messages = require('../../utils/messages.
|
|
8
|
-
var utils_packageConfig = require('../../package-config
|
|
9
|
-
var
|
|
10
|
-
var
|
|
6
|
+
var utils_ast = require('../../utils/ast.cjs');
|
|
7
|
+
var utils_messages = require('../../utils/messages.cjs');
|
|
8
|
+
var utils_packageConfig = require('../../utils/package-config.cjs');
|
|
9
|
+
var utils_projectFiles = require('../../utils/project-files.cjs');
|
|
10
|
+
var utils_typescript = require('../../utils/typescript.cjs');
|
|
11
|
+
var migrations_progressSpinnerSignals_data = require('./data.cjs');
|
|
11
12
|
require('@angular-devkit/schematics');
|
|
12
13
|
require('@schematics/angular/utility');
|
|
13
14
|
|
|
@@ -633,7 +634,7 @@ function progressSpinnerSignals(options) {
|
|
|
633
634
|
const rootDir = root ? tree.getDir(root) : tree.root;
|
|
634
635
|
const tsPaths = [];
|
|
635
636
|
const htmlPaths = [];
|
|
636
|
-
|
|
637
|
+
utils_projectFiles.visitProjectFiles(rootDir, (filePath) => {
|
|
637
638
|
if (filePath.endsWith(TS_EXT))
|
|
638
639
|
tsPaths.push(filePath);
|
|
639
640
|
else if (filePath.endsWith(HTML_EXT))
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var utils_warnOnlyMigration = require('../../utils/warn-only-migration.cjs');
|
|
6
|
+
var migrations_queryListSignals_data = require('./data.cjs');
|
|
7
|
+
require('../../utils/messages.cjs');
|
|
8
|
+
require('../../utils/package-config.cjs');
|
|
9
|
+
require('@angular-devkit/schematics');
|
|
10
|
+
require('@schematics/angular/utility');
|
|
11
|
+
require('../../utils/project-files.cjs');
|
|
12
|
+
|
|
13
|
+
/** Reports subclasses that redeclare the query members now behind getters, and writes to them. Never writes. */
|
|
14
|
+
function queryListSignals(options) {
|
|
15
|
+
return utils_warnOnlyMigration.warnOnlyRule({ label: '[query-list-signals]', warnPatterns: migrations_queryListSignals_data.warnPatterns, summary: migrations_queryListSignals_data.SUMMARY }, options);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
exports.default = queryListSignals;
|
|
@@ -3,14 +3,15 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var schematics = require('@angular-devkit/schematics');
|
|
6
|
-
var utils_messages = require('../../utils/messages.
|
|
7
|
-
var utils_packageConfig = require('../../package-config
|
|
8
|
-
var
|
|
9
|
-
var
|
|
6
|
+
var utils_messages = require('../../utils/messages.cjs');
|
|
7
|
+
var utils_packageConfig = require('../../utils/package-config.cjs');
|
|
8
|
+
var utils_projectFiles = require('../../utils/project-files.cjs');
|
|
9
|
+
var utils_signalMembersMigration = require('../../utils/signal-members-migration.cjs');
|
|
10
|
+
var migrations_radioSignalsAndAria_data = require('./data.cjs');
|
|
10
11
|
require('@schematics/angular/utility');
|
|
11
12
|
require('typescript');
|
|
12
|
-
require('../../utils/ast.
|
|
13
|
-
require('../../utils/typescript.
|
|
13
|
+
require('../../utils/ast.cjs');
|
|
14
|
+
require('../../utils/typescript.cjs');
|
|
14
15
|
|
|
15
16
|
const STYLE_EXTENSIONS = ['.scss', '.css'];
|
|
16
17
|
/**
|
|
@@ -22,7 +23,7 @@ function removedTokensRule(options) {
|
|
|
22
23
|
const projectDefinition = await utils_packageConfig.setupOptions(options.project, tree);
|
|
23
24
|
const root = projectDefinition?.root ?? '';
|
|
24
25
|
const rootDir = root ? tree.getDir(root) : tree.root;
|
|
25
|
-
|
|
26
|
+
utils_projectFiles.visitProjectFiles(rootDir, (filePath, entry) => {
|
|
26
27
|
if (!STYLE_EXTENSIONS.some((extension) => filePath.endsWith(extension)))
|
|
27
28
|
return;
|
|
28
29
|
const content = entry?.content.toString();
|
|
@@ -33,7 +34,7 @@ function removedTokensRule(options) {
|
|
|
33
34
|
};
|
|
34
35
|
}
|
|
35
36
|
function radioSignalsAndAria(options) {
|
|
36
|
-
return schematics.chain([removedTokensRule(options),
|
|
37
|
+
return schematics.chain([removedTokensRule(options), utils_signalMembersMigration.signalMembersRule(migrations_radioSignalsAndAria_data.config, options)]);
|
|
37
38
|
}
|
|
38
39
|
|
|
39
40
|
exports.default = radioSignalsAndAria;
|
|
@@ -3,9 +3,10 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var ts = require('typescript');
|
|
6
|
-
var utils_messages = require('../../utils/messages.
|
|
7
|
-
var utils_packageConfig = require('../../package-config
|
|
8
|
-
var
|
|
6
|
+
var utils_messages = require('../../utils/messages.cjs');
|
|
7
|
+
var utils_packageConfig = require('../../utils/package-config.cjs');
|
|
8
|
+
var utils_projectFiles = require('../../utils/project-files.cjs');
|
|
9
|
+
var migrations_readStateDwellHandlers_data = require('./data.cjs');
|
|
9
10
|
require('@angular-devkit/schematics');
|
|
10
11
|
require('@schematics/angular/utility');
|
|
11
12
|
|
|
@@ -179,7 +180,7 @@ function readStateDwellHandlers(options) {
|
|
|
179
180
|
const root = projectDefinition?.root ?? '';
|
|
180
181
|
const rootDir = root ? tree.getDir(root) : tree.root;
|
|
181
182
|
const filePaths = [];
|
|
182
|
-
|
|
183
|
+
utils_projectFiles.visitProjectFiles(rootDir, (filePath) => {
|
|
183
184
|
// Declarations carry no call sites and `.ngtypecheck.ts` is regenerated on every build, so
|
|
184
185
|
// neither can hold a call worth rewriting — and an edit to either would be noise at best.
|
|
185
186
|
if (isMigratableTs(filePath))
|
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var utils_deprecatedPathMigration = require('../../utils/deprecated-path-migration.
|
|
6
|
-
require('../../utils/messages.
|
|
7
|
-
require('../../package-config
|
|
5
|
+
var utils_deprecatedPathMigration = require('../../utils/deprecated-path-migration.cjs');
|
|
6
|
+
require('../../utils/messages.cjs');
|
|
7
|
+
require('../../utils/package-config.cjs');
|
|
8
8
|
require('@angular-devkit/schematics');
|
|
9
9
|
require('@schematics/angular/utility');
|
|
10
|
+
require('../../utils/project-files.cjs');
|
|
10
11
|
|
|
11
12
|
/**
|
|
12
13
|
* `@koobiq/components/scrollbar` now resolves to the new, dependency-free directive —
|
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var utils_messages = require('../../utils/messages.
|
|
6
|
-
var utils_packageConfig = require('../../package-config
|
|
7
|
-
var
|
|
5
|
+
var utils_messages = require('../../utils/messages.cjs');
|
|
6
|
+
var utils_packageConfig = require('../../utils/package-config.cjs');
|
|
7
|
+
var utils_projectFiles = require('../../utils/project-files.cjs');
|
|
8
|
+
var migrations_selectSignalInputs_data = require('./data.cjs');
|
|
8
9
|
require('@angular-devkit/schematics');
|
|
9
10
|
require('@schematics/angular/utility');
|
|
10
11
|
|
|
@@ -29,7 +30,7 @@ function selectSignalInputs(options) {
|
|
|
29
30
|
const rootDir = root ? tree.getDir(root) : tree.root;
|
|
30
31
|
let consumers = 0;
|
|
31
32
|
let reported = 0;
|
|
32
|
-
|
|
33
|
+
utils_projectFiles.visitProjectFiles(rootDir, (filePath, entry) => {
|
|
33
34
|
if (!EXTENSIONS.some((extension) => filePath.endsWith(extension)))
|
|
34
35
|
return;
|
|
35
36
|
const content = entry?.content.toString();
|
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var utils_messages = require('../../utils/messages.
|
|
6
|
-
var utils_packageConfig = require('../../package-config
|
|
7
|
-
var
|
|
5
|
+
var utils_messages = require('../../utils/messages.cjs');
|
|
6
|
+
var utils_packageConfig = require('../../utils/package-config.cjs');
|
|
7
|
+
var utils_projectFiles = require('../../utils/project-files.cjs');
|
|
8
|
+
var migrations_sidepanelNonModalBehavior_data = require('./data.cjs');
|
|
8
9
|
require('@angular-devkit/schematics');
|
|
9
10
|
require('@schematics/angular/utility');
|
|
10
11
|
|
|
@@ -29,7 +30,7 @@ function sidepanelNonModalBehavior(options) {
|
|
|
29
30
|
const rootDir = root ? tree.getDir(root) : tree.root;
|
|
30
31
|
let consumers = 0;
|
|
31
32
|
let reported = 0;
|
|
32
|
-
|
|
33
|
+
utils_projectFiles.visitProjectFiles(rootDir, (filePath, entry) => {
|
|
33
34
|
if (!EXTENSIONS.some((extension) => filePath.endsWith(extension)))
|
|
34
35
|
return;
|
|
35
36
|
const content = entry?.content.toString();
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var utils_warnOnlyMigration = require('../../utils/warn-only-migration.cjs');
|
|
6
|
+
var migrations_signalInputsSubclasses_data = require('./data.cjs');
|
|
7
|
+
require('../../utils/messages.cjs');
|
|
8
|
+
require('../../utils/package-config.cjs');
|
|
9
|
+
require('@angular-devkit/schematics');
|
|
10
|
+
require('@schematics/angular/utility');
|
|
11
|
+
require('../../utils/project-files.cjs');
|
|
12
|
+
|
|
13
|
+
/** Reports subclasses of the components whose inputs became signal inputs feeding writable members. Never writes. */
|
|
14
|
+
function signalInputsSubclasses(options) {
|
|
15
|
+
return utils_warnOnlyMigration.warnOnlyRule({ label: '[signal-inputs-subclasses]', warnPatterns: migrations_signalInputsSubclasses_data.warnPatterns, summary: migrations_signalInputsSubclasses_data.SUMMARY }, options);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
exports.default = signalInputsSubclasses;
|
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var utils_messages = require('../../utils/messages.
|
|
6
|
-
var utils_packageConfig = require('../../package-config
|
|
7
|
-
var
|
|
5
|
+
var utils_messages = require('../../utils/messages.cjs');
|
|
6
|
+
var utils_packageConfig = require('../../utils/package-config.cjs');
|
|
7
|
+
var utils_projectFiles = require('../../utils/project-files.cjs');
|
|
8
|
+
var migrations_splitButtonOptionalDisabled_data = require('./data.cjs');
|
|
8
9
|
require('@angular-devkit/schematics');
|
|
9
10
|
require('@schematics/angular/utility');
|
|
10
11
|
|
|
@@ -29,7 +30,7 @@ function splitButtonOptionalDisabled(options) {
|
|
|
29
30
|
const rootDir = root ? tree.getDir(root) : tree.root;
|
|
30
31
|
let consumers = 0;
|
|
31
32
|
let reported = 0;
|
|
32
|
-
|
|
33
|
+
utils_projectFiles.visitProjectFiles(rootDir, (filePath, entry) => {
|
|
33
34
|
if (!EXTENSIONS.some((extension) => filePath.endsWith(extension)))
|
|
34
35
|
return;
|
|
35
36
|
const content = entry?.content.toString();
|
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var utils_deprecatedPathMigration = require('../../utils/deprecated-path-migration.
|
|
6
|
-
require('../../utils/messages.
|
|
7
|
-
require('../../package-config
|
|
5
|
+
var utils_deprecatedPathMigration = require('../../utils/deprecated-path-migration.cjs');
|
|
6
|
+
require('../../utils/messages.cjs');
|
|
7
|
+
require('../../utils/package-config.cjs');
|
|
8
8
|
require('@angular-devkit/schematics');
|
|
9
9
|
require('@schematics/angular/utility');
|
|
10
|
+
require('../../utils/project-files.cjs');
|
|
10
11
|
|
|
11
12
|
/**
|
|
12
13
|
* `@koobiq/components/splitter` now resolves to the rewritten splitter — the `flex-basis` based
|
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var utils_messages = require('../../utils/messages.
|
|
6
|
-
var utils_packageConfig = require('../../package-config
|
|
7
|
-
var
|
|
5
|
+
var utils_messages = require('../../utils/messages.cjs');
|
|
6
|
+
var utils_packageConfig = require('../../utils/package-config.cjs');
|
|
7
|
+
var utils_projectFiles = require('../../utils/project-files.cjs');
|
|
8
|
+
var migrations_stateSavingDefault_data = require('./data.cjs');
|
|
8
9
|
require('@angular-devkit/schematics');
|
|
9
10
|
require('@schematics/angular/utility');
|
|
10
11
|
|
|
@@ -31,7 +32,7 @@ function stateSavingDefault(options) {
|
|
|
31
32
|
const rootDir = root ? tree.getDir(root) : tree.root;
|
|
32
33
|
let consumers = 0;
|
|
33
34
|
let reported = 0;
|
|
34
|
-
|
|
35
|
+
utils_projectFiles.visitProjectFiles(rootDir, (filePath, entry) => {
|
|
35
36
|
if (!EXTENSIONS.some((extension) => filePath.endsWith(extension)))
|
|
36
37
|
return;
|
|
37
38
|
const content = entry?.content.toString();
|
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var utils_messages = require('../../utils/messages.
|
|
6
|
-
var utils_packageConfig = require('../../package-config
|
|
7
|
-
var
|
|
5
|
+
var utils_messages = require('../../utils/messages.cjs');
|
|
6
|
+
var utils_packageConfig = require('../../utils/package-config.cjs');
|
|
7
|
+
var utils_projectFiles = require('../../utils/project-files.cjs');
|
|
8
|
+
var migrations_tableCellContent_data = require('./data.cjs');
|
|
8
9
|
require('@angular-devkit/schematics');
|
|
9
10
|
require('@schematics/angular/utility');
|
|
10
11
|
|
|
@@ -38,7 +39,7 @@ function tableCellContent(options) {
|
|
|
38
39
|
const rootDir = root ? tree.getDir(root) : tree.root;
|
|
39
40
|
let consumers = 0;
|
|
40
41
|
let reported = 0;
|
|
41
|
-
|
|
42
|
+
utils_projectFiles.visitProjectFiles(rootDir, (filePath, entry) => {
|
|
42
43
|
if (!EXTENSIONS.some((extension) => filePath.endsWith(extension)))
|
|
43
44
|
return;
|
|
44
45
|
const content = entry?.content.toString();
|
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var utils_messages = require('../../utils/messages.
|
|
6
|
-
var utils_packageConfig = require('../../package-config
|
|
7
|
-
var
|
|
5
|
+
var utils_messages = require('../../utils/messages.cjs');
|
|
6
|
+
var utils_packageConfig = require('../../utils/package-config.cjs');
|
|
7
|
+
var utils_projectFiles = require('../../utils/project-files.cjs');
|
|
8
|
+
var migrations_tabsSignalsAndAria_data = require('./data.cjs');
|
|
8
9
|
require('@angular-devkit/schematics');
|
|
9
10
|
require('@schematics/angular/utility');
|
|
10
11
|
|
|
@@ -35,7 +36,7 @@ function tabsSignalsAndAria(options) {
|
|
|
35
36
|
const root = projectDefinition?.root ?? '';
|
|
36
37
|
let consumers = 0;
|
|
37
38
|
let reported = 0;
|
|
38
|
-
|
|
39
|
+
utils_projectFiles.visitProjectFiles(root ? tree.getDir(root) : tree.root, (filePath, entry) => {
|
|
39
40
|
if (!EXTENSIONS.some((extension) => filePath.endsWith(extension)))
|
|
40
41
|
return;
|
|
41
42
|
const content = entry.content.toString();
|
|
@@ -3,11 +3,12 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var ts = require('typescript');
|
|
6
|
-
var utils_ast = require('../../utils/ast.
|
|
7
|
-
var utils_messages = require('../../utils/messages.
|
|
8
|
-
var utils_packageConfig = require('../../package-config
|
|
9
|
-
var
|
|
10
|
-
var
|
|
6
|
+
var utils_ast = require('../../utils/ast.cjs');
|
|
7
|
+
var utils_messages = require('../../utils/messages.cjs');
|
|
8
|
+
var utils_packageConfig = require('../../utils/package-config.cjs');
|
|
9
|
+
var utils_projectFiles = require('../../utils/project-files.cjs');
|
|
10
|
+
var utils_typescript = require('../../utils/typescript.cjs');
|
|
11
|
+
var migrations_tagListCleaner_data = require('./data.cjs');
|
|
11
12
|
require('@angular-devkit/schematics');
|
|
12
13
|
require('@schematics/angular/utility');
|
|
13
14
|
|
|
@@ -139,7 +140,7 @@ function tagListCleaner(options) {
|
|
|
139
140
|
const root = projectDefinition?.root ?? '';
|
|
140
141
|
const rootDir = root ? tree.getDir(root) : tree.root;
|
|
141
142
|
const filePaths = [];
|
|
142
|
-
|
|
143
|
+
utils_projectFiles.visitProjectFiles(rootDir, (filePath) => {
|
|
143
144
|
if (!filePath.endsWith(TS_EXT) && !filePath.endsWith(HTML_EXT))
|
|
144
145
|
return;
|
|
145
146
|
filePaths.push(filePath);
|
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var ts = require('typescript');
|
|
6
|
-
var utils_ast = require('../../utils/ast.
|
|
7
|
-
var utils_messages = require('../../utils/messages.
|
|
8
|
-
var utils_packageConfig = require('../../package-config
|
|
9
|
-
var
|
|
6
|
+
var utils_ast = require('../../utils/ast.cjs');
|
|
7
|
+
var utils_messages = require('../../utils/messages.cjs');
|
|
8
|
+
var utils_packageConfig = require('../../utils/package-config.cjs');
|
|
9
|
+
var utils_projectFiles = require('../../utils/project-files.cjs');
|
|
10
|
+
var utils_typescript = require('../../utils/typescript.cjs');
|
|
10
11
|
require('@angular-devkit/schematics');
|
|
11
12
|
require('@schematics/angular/utility');
|
|
12
13
|
|
|
@@ -149,7 +150,7 @@ function tagSlots(options) {
|
|
|
149
150
|
const rootDir = root ? tree.getDir(root) : tree.root;
|
|
150
151
|
const tsPaths = [];
|
|
151
152
|
const htmlPaths = [];
|
|
152
|
-
|
|
153
|
+
utils_projectFiles.visitProjectFiles(rootDir, (filePath) => {
|
|
153
154
|
if (filePath.endsWith(TS_EXT))
|
|
154
155
|
tsPaths.push(filePath);
|
|
155
156
|
else if (filePath.endsWith(HTML_EXT))
|