@clr/angular 18.0.0-beta.1 → 18.0.0-beta.11
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/clr-angular-accordion.mjs +1 -1
- package/fesm2022/clr-angular-accordion.mjs.map +1 -1
- package/fesm2022/clr-angular-button.mjs +6 -6
- package/fesm2022/clr-angular-button.mjs.map +1 -1
- package/fesm2022/clr-angular-data-datagrid.mjs +45 -35
- package/fesm2022/clr-angular-data-datagrid.mjs.map +1 -1
- package/fesm2022/clr-angular-data-tree-view.mjs +3 -3
- package/fesm2022/clr-angular-data-tree-view.mjs.map +1 -1
- package/fesm2022/clr-angular-data.mjs +11 -9116
- package/fesm2022/clr-angular-data.mjs.map +1 -1
- package/fesm2022/clr-angular-emphasis-alert.mjs +2 -2
- package/fesm2022/clr-angular-emphasis-alert.mjs.map +1 -1
- package/fesm2022/clr-angular-emphasis.mjs +12 -778
- package/fesm2022/clr-angular-emphasis.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-checkbox.mjs +13 -44
- package/fesm2022/clr-angular-forms-checkbox.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-combobox.mjs +420 -90
- package/fesm2022/clr-angular-forms-combobox.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-common.mjs +62 -57
- package/fesm2022/clr-angular-forms-common.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-datalist.mjs +2 -14
- package/fesm2022/clr-angular-forms-datalist.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-datepicker.mjs +20 -28
- package/fesm2022/clr-angular-forms-datepicker.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-file-input.mjs +78 -62
- package/fesm2022/clr-angular-forms-file-input.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-input.mjs +4 -18
- package/fesm2022/clr-angular-forms-input.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-number-input.mjs +2 -14
- package/fesm2022/clr-angular-forms-number-input.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-password.mjs +2 -14
- package/fesm2022/clr-angular-forms-password.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-radio.mjs +13 -44
- package/fesm2022/clr-angular-forms-radio.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-range.mjs +3 -16
- package/fesm2022/clr-angular-forms-range.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-select.mjs +3 -16
- package/fesm2022/clr-angular-forms-select.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-textarea.mjs +4 -17
- package/fesm2022/clr-angular-forms-textarea.mjs.map +1 -1
- package/fesm2022/clr-angular-forms.mjs +68 -8560
- package/fesm2022/clr-angular-forms.mjs.map +1 -1
- package/fesm2022/clr-angular-icon.mjs +10 -0
- package/fesm2022/clr-angular-icon.mjs.map +1 -1
- package/fesm2022/clr-angular-layout-nav.mjs +27 -25
- package/fesm2022/clr-angular-layout-nav.mjs.map +1 -1
- package/fesm2022/clr-angular-layout-tabs.mjs +1 -1
- package/fesm2022/clr-angular-layout-tabs.mjs.map +1 -1
- package/fesm2022/clr-angular-layout.mjs +15 -2057
- package/fesm2022/clr-angular-layout.mjs.map +1 -1
- package/fesm2022/clr-angular-modal.mjs +4 -5
- package/fesm2022/clr-angular-modal.mjs.map +1 -1
- package/fesm2022/clr-angular-popover-common.mjs +151 -85
- package/fesm2022/clr-angular-popover-common.mjs.map +1 -1
- package/fesm2022/clr-angular-popover-dropdown.mjs +7 -4
- package/fesm2022/clr-angular-popover-dropdown.mjs.map +1 -1
- package/fesm2022/clr-angular-popover-signpost.mjs +30 -15
- package/fesm2022/clr-angular-popover-signpost.mjs.map +1 -1
- package/fesm2022/clr-angular-popover-tooltip.mjs +7 -7
- package/fesm2022/clr-angular-popover-tooltip.mjs.map +1 -1
- package/fesm2022/clr-angular-popover.mjs +12 -2242
- package/fesm2022/clr-angular-popover.mjs.map +1 -1
- package/fesm2022/clr-angular-stepper.mjs +5 -5
- package/fesm2022/clr-angular-stepper.mjs.map +1 -1
- package/fesm2022/clr-angular-utils.mjs +20 -485
- package/fesm2022/clr-angular-utils.mjs.map +1 -1
- package/fesm2022/clr-angular-wizard.mjs +434 -223
- package/fesm2022/clr-angular-wizard.mjs.map +1 -1
- package/fesm2022/clr-angular.mjs +94 -38740
- package/fesm2022/clr-angular.mjs.map +1 -1
- package/package.json +10 -5
- package/popover/common/README.md +14 -12
- package/schematics/collection.json +14 -0
- package/schematics/ng-update/index.d.ts +2 -0
- package/schematics/ng-update/index.js +69 -0
- package/schematics/ng-update/index.js.map +1 -0
- package/schematics/ng-update/migrations/css-migration.d.ts +6 -0
- package/schematics/ng-update/migrations/css-migration.js +177 -0
- package/schematics/ng-update/migrations/css-migration.js.map +1 -0
- package/schematics/ng-update/migrations/import-migration.d.ts +4 -0
- package/schematics/ng-update/migrations/import-migration.js +187 -0
- package/schematics/ng-update/migrations/import-migration.js.map +1 -0
- package/schematics/ng-update/migrations/template-migration.d.ts +6 -0
- package/schematics/ng-update/migrations/template-migration.js +261 -0
- package/schematics/ng-update/migrations/template-migration.js.map +1 -0
- package/schematics/ng-update/replacements/css-replacements.d.ts +17 -0
- package/schematics/ng-update/replacements/css-replacements.js +74 -0
- package/schematics/ng-update/replacements/css-replacements.js.map +1 -0
- package/schematics/ng-update/replacements/import-replacements.d.ts +13 -0
- package/schematics/ng-update/replacements/import-replacements.js +108 -0
- package/schematics/ng-update/replacements/import-replacements.js.map +1 -0
- package/schematics/ng-update/replacements/symbol-replacements.d.ts +12 -0
- package/schematics/ng-update/replacements/symbol-replacements.js +67 -0
- package/schematics/ng-update/replacements/symbol-replacements.js.map +1 -0
- package/schematics/ng-update/replacements/template-replacements.d.ts +19 -0
- package/schematics/ng-update/replacements/template-replacements.js +57 -0
- package/schematics/ng-update/replacements/template-replacements.js.map +1 -0
- package/schematics/ng-update/tests/test-helpers.d.ts +6 -0
- package/schematics/ng-update/tests/test-helpers.js +34 -0
- package/schematics/ng-update/tests/test-helpers.js.map +1 -0
- package/schematics/ng-update/utils/file-visitor.d.ts +8 -0
- package/schematics/ng-update/utils/file-visitor.js +44 -0
- package/schematics/ng-update/utils/file-visitor.js.map +1 -0
- package/schematics/ng-update/utils/regexp-utils.d.ts +16 -0
- package/schematics/ng-update/utils/regexp-utils.js +34 -0
- package/schematics/ng-update/utils/regexp-utils.js.map +1 -0
- package/schematics/vitest.config.d.ts +2 -0
- package/schematics/vitest.config.js +17 -0
- package/schematics/vitest.config.js.map +1 -0
- package/types/clr-angular-accordion.d.ts +1 -1
- package/types/clr-angular-button.d.ts +1 -1
- package/types/clr-angular-data-datagrid.d.ts +23 -33
- package/types/clr-angular-data-tree-view.d.ts +10 -1
- package/types/clr-angular-data.d.ts +4 -2136
- package/types/clr-angular-emphasis.d.ts +4 -220
- package/types/clr-angular-forms-combobox.d.ts +64 -11
- package/types/clr-angular-forms-common.d.ts +9 -9
- package/types/clr-angular-forms-datepicker.d.ts +8 -1
- package/types/clr-angular-forms-file-input.d.ts +6 -3
- package/types/clr-angular-forms.d.ts +26 -2062
- package/types/clr-angular-layout-nav.d.ts +6 -2
- package/types/clr-angular-layout-tabs.d.ts +1 -1
- package/types/clr-angular-layout.d.ts +6 -463
- package/types/clr-angular-popover-common.d.ts +38 -13
- package/types/clr-angular-popover-dropdown.d.ts +2 -1
- package/types/clr-angular-popover-signpost.d.ts +15 -7
- package/types/clr-angular-popover-tooltip.d.ts +1 -1
- package/types/clr-angular-popover.d.ts +7 -559
- package/types/clr-angular-stepper.d.ts +1 -1
- package/types/clr-angular-utils.d.ts +13 -175
- package/types/clr-angular-wizard.d.ts +92 -35
- package/types/clr-angular.d.ts +22 -10238
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
|
|
4
|
+
* The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
5
|
+
* This software is released under MIT license.
|
|
6
|
+
* The full license information can be found in LICENSE in the root directory of this project.
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.HEADER_CLASS_REPLACEMENTS = exports.TEMPLATE_DATAGRID_MIGRATION_CANDIDATES = exports.TEMPLATE_INPUT_REPLACEMENTS = exports.TEMPLATE_ATTRIBUTE_REPLACEMENTS = exports.TEMPLATE_OUTPUT_REPLACEMENTS = void 0;
|
|
10
|
+
exports.TEMPLATE_OUTPUT_REPLACEMENTS = [
|
|
11
|
+
// #2249 - Wizard currentPageChanged → currentPageChange
|
|
12
|
+
{
|
|
13
|
+
old: 'clrWizardCurrentPageChanged',
|
|
14
|
+
new: 'clrWizardCurrentPageChange',
|
|
15
|
+
context: 'wizard',
|
|
16
|
+
},
|
|
17
|
+
];
|
|
18
|
+
exports.TEMPLATE_ATTRIBUTE_REPLACEMENTS = [
|
|
19
|
+
// #2101 - cds-icon: [attr.shape] → [shape], [attr.size] → [size], etc.
|
|
20
|
+
{ old: '[attr.shape]', new: '[shape]', context: 'cds-icon' },
|
|
21
|
+
{ old: '[attr.size]', new: '[size]', context: 'cds-icon' },
|
|
22
|
+
{ old: '[attr.dir]', new: '[dir]', context: 'cds-icon' },
|
|
23
|
+
{ old: '[attr.flip]', new: '[flip]', context: 'cds-icon' },
|
|
24
|
+
{ old: '[attr.status]', new: '[status]', context: 'cds-icon' },
|
|
25
|
+
{ old: '[attr.inverse]', new: '[inverse]', context: 'cds-icon' },
|
|
26
|
+
{ old: '[attr.badge]', new: '[badge]', context: 'cds-icon' },
|
|
27
|
+
{ old: '[attr.solid]', new: '[solid]', context: 'cds-icon' },
|
|
28
|
+
// #2267 - Popover anchor directive selector rename (beta.2)
|
|
29
|
+
// Matches bare attribute: clrPopoverAnchor and bound: [clrPopoverAnchor]
|
|
30
|
+
{ old: 'clrPopoverAnchor', new: 'clrPopoverOrigin', context: 'popover-anchor-origin' },
|
|
31
|
+
];
|
|
32
|
+
exports.TEMPLATE_INPUT_REPLACEMENTS = [
|
|
33
|
+
// #2022 - Badge color input rename
|
|
34
|
+
{
|
|
35
|
+
old: 'clrBadgeColor',
|
|
36
|
+
new: 'clrColor',
|
|
37
|
+
context: 'badge',
|
|
38
|
+
},
|
|
39
|
+
];
|
|
40
|
+
/**
|
|
41
|
+
* Substrings that trigger the clr-datagrid–scoped migration pass (see template-migration).
|
|
42
|
+
* `clrDgItemsTrackBy` alone can appear on clr-dg-items (unchanged); the pass no-ops without `<clr-datagrid`.
|
|
43
|
+
*/
|
|
44
|
+
exports.TEMPLATE_DATAGRID_MIGRATION_CANDIDATES = [
|
|
45
|
+
'<clr-datagrid',
|
|
46
|
+
'clrDgSingleSelected',
|
|
47
|
+
'clrDgSingleSelectedChange',
|
|
48
|
+
'clrDgItemsTrackBy',
|
|
49
|
+
];
|
|
50
|
+
exports.HEADER_CLASS_REPLACEMENTS = [
|
|
51
|
+
// #2180 - Header variant removals
|
|
52
|
+
{ old: 'header-4', new: 'header-3' },
|
|
53
|
+
{ old: 'header-5', new: 'header-3' },
|
|
54
|
+
{ old: 'header-6', new: 'header-1' },
|
|
55
|
+
{ old: 'header-7', new: 'header-2' },
|
|
56
|
+
];
|
|
57
|
+
//# sourceMappingURL=template-replacements.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"template-replacements.js","sourceRoot":"","sources":["../../../../../projects/angular/schematics/ng-update/replacements/template-replacements.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAaU,QAAA,4BAA4B,GAAmC;IAC1E,wDAAwD;IACxD;QACE,GAAG,EAAE,6BAA6B;QAClC,GAAG,EAAE,4BAA4B;QACjC,OAAO,EAAE,QAAQ;KAClB;CACF,CAAC;AAEW,QAAA,+BAA+B,GAAmC;IAC7E,uEAAuE;IACvE,EAAE,GAAG,EAAE,cAAc,EAAE,GAAG,EAAE,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE;IAC5D,EAAE,GAAG,EAAE,aAAa,EAAE,GAAG,EAAE,QAAQ,EAAE,OAAO,EAAE,UAAU,EAAE;IAC1D,EAAE,GAAG,EAAE,YAAY,EAAE,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE;IACxD,EAAE,GAAG,EAAE,aAAa,EAAE,GAAG,EAAE,QAAQ,EAAE,OAAO,EAAE,UAAU,EAAE;IAC1D,EAAE,GAAG,EAAE,eAAe,EAAE,GAAG,EAAE,UAAU,EAAE,OAAO,EAAE,UAAU,EAAE;IAC9D,EAAE,GAAG,EAAE,gBAAgB,EAAE,GAAG,EAAE,WAAW,EAAE,OAAO,EAAE,UAAU,EAAE;IAChE,EAAE,GAAG,EAAE,cAAc,EAAE,GAAG,EAAE,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE;IAC5D,EAAE,GAAG,EAAE,cAAc,EAAE,GAAG,EAAE,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE;IAE5D,4DAA4D;IAC5D,yEAAyE;IACzE,EAAE,GAAG,EAAE,kBAAkB,EAAE,GAAG,EAAE,kBAAkB,EAAE,OAAO,EAAE,uBAAuB,EAAE;CACvF,CAAC;AAEW,QAAA,2BAA2B,GAAmC;IACzE,mCAAmC;IACnC;QACE,GAAG,EAAE,eAAe;QACpB,GAAG,EAAE,UAAU;QACf,OAAO,EAAE,OAAO;KACjB;CACF,CAAC;AAEF;;;GAGG;AACU,QAAA,sCAAsC,GAAsB;IACvE,eAAe;IACf,qBAAqB;IACrB,2BAA2B;IAC3B,mBAAmB;CACpB,CAAC;AAEW,QAAA,yBAAyB,GAAmC;IACvE,kCAAkC;IAClC,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG,EAAE,UAAU,EAAE;IACpC,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG,EAAE,UAAU,EAAE;IACpC,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG,EAAE,UAAU,EAAE;IACpC,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG,EAAE,UAAU,EAAE;CACrC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { HostTree, SchematicContext } from '@angular-devkit/schematics';
|
|
2
|
+
export declare function createContext(): SchematicContext;
|
|
3
|
+
/** Runs all three migration phases against an in-memory tree (mirrors index.ts). */
|
|
4
|
+
export declare function runMigrations(tree: HostTree): HostTree;
|
|
5
|
+
/** Applies all pure TypeScript transforms in sequence (mirrors the unified pass in index.ts). */
|
|
6
|
+
export declare function applyTsTransforms(text: string): string;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
|
|
4
|
+
* The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
5
|
+
* This software is released under MIT license.
|
|
6
|
+
* The full license information can be found in LICENSE in the root directory of this project.
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.createContext = createContext;
|
|
10
|
+
exports.runMigrations = runMigrations;
|
|
11
|
+
exports.applyTsTransforms = applyTsTransforms;
|
|
12
|
+
const core_1 = require("@angular-devkit/core");
|
|
13
|
+
const css_migration_1 = require("../migrations/css-migration");
|
|
14
|
+
const import_migration_1 = require("../migrations/import-migration");
|
|
15
|
+
const template_migration_1 = require("../migrations/template-migration");
|
|
16
|
+
function createContext() {
|
|
17
|
+
return { logger: new core_1.logging.NullLogger() };
|
|
18
|
+
}
|
|
19
|
+
/** Runs all three migration phases against an in-memory tree (mirrors index.ts). */
|
|
20
|
+
function runMigrations(tree) {
|
|
21
|
+
const context = createContext();
|
|
22
|
+
(0, import_migration_1.migrateImports)()(tree, context);
|
|
23
|
+
(0, template_migration_1.migrateTemplates)()(tree, context);
|
|
24
|
+
(0, css_migration_1.migrateCssProperties)()(tree, context);
|
|
25
|
+
return tree;
|
|
26
|
+
}
|
|
27
|
+
/** Applies all pure TypeScript transforms in sequence (mirrors the unified pass in index.ts). */
|
|
28
|
+
function applyTsTransforms(text) {
|
|
29
|
+
text = (0, import_migration_1.transformImports)(text);
|
|
30
|
+
text = (0, template_migration_1.transformInlineTemplates)(text);
|
|
31
|
+
text = (0, css_migration_1.transformInlineStyles)(text);
|
|
32
|
+
return text;
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=test-helpers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"test-helpers.js","sourceRoot":"","sources":["../../../../../projects/angular/schematics/ng-update/tests/test-helpers.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;AASH,sCAEC;AAGD,sCAMC;AAGD,8CAKC;AA1BD,+CAA+C;AAG/C,+DAA0F;AAC1F,qEAAkF;AAClF,yEAA8F;AAE9F,SAAgB,aAAa;IAC3B,OAAO,EAAE,MAAM,EAAE,IAAI,cAAO,CAAC,UAAU,EAAE,EAAiC,CAAC;AAC7E,CAAC;AAED,oFAAoF;AACpF,SAAgB,aAAa,CAAC,IAAc;IAC1C,MAAM,OAAO,GAAG,aAAa,EAAE,CAAC;IAChC,IAAA,iCAAc,GAAE,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAChC,IAAA,qCAAgB,GAAE,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAClC,IAAA,oCAAoB,GAAE,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IACtC,OAAO,IAAI,CAAC;AACd,CAAC;AAED,iGAAiG;AACjG,SAAgB,iBAAiB,CAAC,IAAY;IAC5C,IAAI,GAAG,IAAA,mCAAgB,EAAC,IAAI,CAAC,CAAC;IAC9B,IAAI,GAAG,IAAA,6CAAwB,EAAC,IAAI,CAAC,CAAC;IACtC,IAAI,GAAG,IAAA,qCAAqB,EAAC,IAAI,CAAC,CAAC;IACnC,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Tree } from '@angular-devkit/schematics';
|
|
2
|
+
/**
|
|
3
|
+
* Visits all files in the tree matching a glob-like pattern.
|
|
4
|
+
* Supports simple extension matching: '**\/*.ts', '**\/*.html', '**\/*.{css,scss,sass,less}'
|
|
5
|
+
*
|
|
6
|
+
* Skips generated/build directories and .d.ts declaration files for performance.
|
|
7
|
+
*/
|
|
8
|
+
export declare function visitFiles(tree: Tree, pattern: string, callback: (filePath: string) => void): void;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
|
|
4
|
+
* The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
5
|
+
* This software is released under MIT license.
|
|
6
|
+
* The full license information can be found in LICENSE in the root directory of this project.
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.visitFiles = visitFiles;
|
|
10
|
+
const EXCLUDED_DIRS = ['/node_modules/', '/.git/', '/dist/', '/coverage/', '/.angular/', '/.nx/', '/.cache/'];
|
|
11
|
+
/**
|
|
12
|
+
* Visits all files in the tree matching a glob-like pattern.
|
|
13
|
+
* Supports simple extension matching: '**\/*.ts', '**\/*.html', '**\/*.{css,scss,sass,less}'
|
|
14
|
+
*
|
|
15
|
+
* Skips generated/build directories and .d.ts declaration files for performance.
|
|
16
|
+
*/
|
|
17
|
+
function visitFiles(tree, pattern, callback) {
|
|
18
|
+
const extensions = parseExtensions(pattern);
|
|
19
|
+
tree.visit(filePath => {
|
|
20
|
+
if (EXCLUDED_DIRS.some(d => filePath.includes(d))) {
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
// Skip TypeScript declaration files — they are generated, never user-edited
|
|
24
|
+
if (filePath.endsWith('.d.ts')) {
|
|
25
|
+
return;
|
|
26
|
+
}
|
|
27
|
+
if (extensions.length > 0 && !extensions.some(ext => filePath.endsWith(ext))) {
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
callback(filePath);
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
function parseExtensions(pattern) {
|
|
34
|
+
// Match patterns like '**/*.ts' or '**/*.{css,scss,sass,less}'
|
|
35
|
+
const match = pattern.match(/\*\.(?:\{([^}]+)\}|(\w+))$/);
|
|
36
|
+
if (!match) {
|
|
37
|
+
return [];
|
|
38
|
+
}
|
|
39
|
+
if (match[1]) {
|
|
40
|
+
return match[1].split(',').map(ext => `.${ext.trim()}`);
|
|
41
|
+
}
|
|
42
|
+
return [`.${match[2]}`];
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=file-visitor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-visitor.js","sourceRoot":"","sources":["../../../../../projects/angular/schematics/ng-update/utils/file-visitor.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;AAYH,gCAmBC;AA3BD,MAAM,aAAa,GAAG,CAAC,gBAAgB,EAAE,QAAQ,EAAE,QAAQ,EAAE,YAAY,EAAE,YAAY,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC;AAE9G;;;;;GAKG;AACH,SAAgB,UAAU,CAAC,IAAU,EAAE,OAAe,EAAE,QAAoC;IAC1F,MAAM,UAAU,GAAG,eAAe,CAAC,OAAO,CAAC,CAAC;IAE5C,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE;QACpB,IAAI,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;YAClD,OAAO;QACT,CAAC;QAED,4EAA4E;QAC5E,IAAI,QAAQ,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC;YAC/B,OAAO;QACT,CAAC;QAED,IAAI,UAAU,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;YAC7E,OAAO;QACT,CAAC;QAED,QAAQ,CAAC,QAAQ,CAAC,CAAC;IACrB,CAAC,CAAC,CAAC;AACL,CAAC;AAED,SAAS,eAAe,CAAC,OAAe;IACtC,+DAA+D;IAC/D,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,4BAA4B,CAAC,CAAC;IAC1D,IAAI,CAAC,KAAK,EAAE,CAAC;QACX,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,IAAI,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;QACb,OAAO,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,GAAG,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;IAC1D,CAAC;IAED,OAAO,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;AAC1B,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/** Escapes all regex special characters in a literal string. */
|
|
2
|
+
export declare function escapeRegExp(str: string): string;
|
|
3
|
+
/**
|
|
4
|
+
* Builds a regex that matches the literal string only at whole-identifier
|
|
5
|
+
* boundaries (\b), preventing partial matches inside longer names.
|
|
6
|
+
* The `g` flag is set so the regex can be reused with lastIndex reset.
|
|
7
|
+
*/
|
|
8
|
+
export declare function wordBoundaryRegex(literal: string): RegExp;
|
|
9
|
+
/**
|
|
10
|
+
* Builds a regex that matches the literal string only when it is NOT
|
|
11
|
+
* immediately followed by a hyphen or word character.
|
|
12
|
+
* Used for CSS custom properties to prevent `--clr-foo` from matching
|
|
13
|
+
* inside `--clr-foo-extra`.
|
|
14
|
+
* The `g` flag is set so the regex can be reused with lastIndex reset.
|
|
15
|
+
*/
|
|
16
|
+
export declare function prefixNegativeLookaheadRegex(literal: string): RegExp;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
|
|
4
|
+
* The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
5
|
+
* This software is released under MIT license.
|
|
6
|
+
* The full license information can be found in LICENSE in the root directory of this project.
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.escapeRegExp = escapeRegExp;
|
|
10
|
+
exports.wordBoundaryRegex = wordBoundaryRegex;
|
|
11
|
+
exports.prefixNegativeLookaheadRegex = prefixNegativeLookaheadRegex;
|
|
12
|
+
/** Escapes all regex special characters in a literal string. */
|
|
13
|
+
function escapeRegExp(str) {
|
|
14
|
+
return str.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Builds a regex that matches the literal string only at whole-identifier
|
|
18
|
+
* boundaries (\b), preventing partial matches inside longer names.
|
|
19
|
+
* The `g` flag is set so the regex can be reused with lastIndex reset.
|
|
20
|
+
*/
|
|
21
|
+
function wordBoundaryRegex(literal) {
|
|
22
|
+
return new RegExp(`\\b${escapeRegExp(literal)}\\b`, 'g');
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Builds a regex that matches the literal string only when it is NOT
|
|
26
|
+
* immediately followed by a hyphen or word character.
|
|
27
|
+
* Used for CSS custom properties to prevent `--clr-foo` from matching
|
|
28
|
+
* inside `--clr-foo-extra`.
|
|
29
|
+
* The `g` flag is set so the regex can be reused with lastIndex reset.
|
|
30
|
+
*/
|
|
31
|
+
function prefixNegativeLookaheadRegex(literal) {
|
|
32
|
+
return new RegExp(`${escapeRegExp(literal)}(?![-\\w])`, 'g');
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=regexp-utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"regexp-utils.js","sourceRoot":"","sources":["../../../../../projects/angular/schematics/ng-update/utils/regexp-utils.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;AAGH,oCAEC;AAOD,8CAEC;AASD,oEAEC;AAvBD,gEAAgE;AAChE,SAAgB,YAAY,CAAC,GAAW;IACtC,OAAO,GAAG,CAAC,OAAO,CAAC,qBAAqB,EAAE,MAAM,CAAC,CAAC;AACpD,CAAC;AAED;;;;GAIG;AACH,SAAgB,iBAAiB,CAAC,OAAe;IAC/C,OAAO,IAAI,MAAM,CAAC,MAAM,YAAY,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;AAC3D,CAAC;AAED;;;;;;GAMG;AACH,SAAgB,4BAA4B,CAAC,OAAe;IAC1D,OAAO,IAAI,MAAM,CAAC,GAAG,YAAY,CAAC,OAAO,CAAC,YAAY,EAAE,GAAG,CAAC,CAAC;AAC/D,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
|
|
4
|
+
* The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
5
|
+
* This software is released under MIT license.
|
|
6
|
+
* The full license information can be found in LICENSE in the root directory of this project.
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
const config_1 = require("vitest/config");
|
|
10
|
+
exports.default = (0, config_1.defineConfig)({
|
|
11
|
+
test: {
|
|
12
|
+
root: 'projects/angular/schematics',
|
|
13
|
+
include: ['**/*.vitest.ts'],
|
|
14
|
+
globals: true,
|
|
15
|
+
},
|
|
16
|
+
});
|
|
17
|
+
//# sourceMappingURL=vitest.config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vitest.config.js","sourceRoot":"","sources":["../../../projects/angular/schematics/vitest.config.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;AAEH,0CAA6C;AAE7C,kBAAe,IAAA,qBAAY,EAAC;IAC1B,IAAI,EAAE;QACJ,IAAI,EAAE,6BAA6B;QACnC,OAAO,EAAE,CAAC,gBAAgB,CAAC;QAC3B,OAAO,EAAE,IAAI;KACd;CACF,CAAC,CAAC"}
|
|
@@ -97,4 +97,4 @@ declare class ClrAccordionModule {
|
|
|
97
97
|
static ɵinj: i0.ɵɵInjectorDeclaration<ClrAccordionModule>;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
export { AccordionModel, AccordionService, AccordionStrategy, ClrAccordion, ClrAccordionContent, ClrAccordionDescription, ClrAccordionModule, ClrAccordionPanel, ClrAccordionTitle
|
|
100
|
+
export { AccordionModel, AccordionOompaLoompa, AccordionService, AccordionStrategy, AccordionWillyWonka, ClrAccordion, ClrAccordionContent, ClrAccordionDescription, ClrAccordionModule, ClrAccordionPanel, ClrAccordionTitle };
|
|
@@ -155,7 +155,7 @@ declare class ClrButtonGroup implements AfterContentInit, AfterViewInit {
|
|
|
155
155
|
declare const CLR_BUTTON_GROUP_DIRECTIVES: Type<any>[];
|
|
156
156
|
declare class ClrButtonGroupModule {
|
|
157
157
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrButtonGroupModule, never>;
|
|
158
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrButtonGroupModule, [typeof ClrButton, typeof ClrButtonGroup], [typeof i2.CommonModule, typeof i4.ClrIcon, typeof i1
|
|
158
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrButtonGroupModule, [typeof ClrButton, typeof ClrButtonGroup], [typeof i2.CommonModule, typeof i4.ClrIcon, typeof i1.ClrPopoverModuleNext], [typeof ClrButton, typeof ClrButtonGroup]>;
|
|
159
159
|
static ɵinj: i0.ɵɵInjectorDeclaration<ClrButtonGroupModule>;
|
|
160
160
|
}
|
|
161
161
|
|
|
@@ -1633,6 +1633,27 @@ declare class DatagridPropertyComparator<T = any> implements ClrDatagridComparat
|
|
|
1633
1633
|
compare(a: T, b: T): number;
|
|
1634
1634
|
}
|
|
1635
1635
|
|
|
1636
|
+
declare class DatagridWillyWonka extends WillyWonka {
|
|
1637
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatagridWillyWonka, never>;
|
|
1638
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DatagridWillyWonka, "clr-datagrid", never, {}, {}, never, never, false, never>;
|
|
1639
|
+
}
|
|
1640
|
+
|
|
1641
|
+
declare class ExpandableOompaLoompa extends OompaLoompa {
|
|
1642
|
+
private expandableCount;
|
|
1643
|
+
constructor(cdr: ChangeDetectorRef, willyWonka: DatagridWillyWonka, expandableCount: ExpandableRowsCount);
|
|
1644
|
+
get flavor(): boolean;
|
|
1645
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ExpandableOompaLoompa, [null, { optional: true; }, null]>;
|
|
1646
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ExpandableOompaLoompa, "clr-datagrid, clr-dg-row", never, {}, {}, never, never, false, never>;
|
|
1647
|
+
}
|
|
1648
|
+
|
|
1649
|
+
declare class ActionableOompaLoompa extends OompaLoompa {
|
|
1650
|
+
private rowActions;
|
|
1651
|
+
constructor(cdr: ChangeDetectorRef, willyWonka: DatagridWillyWonka, rowActions: RowActionService);
|
|
1652
|
+
get flavor(): boolean;
|
|
1653
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ActionableOompaLoompa, [null, { optional: true; }, null]>;
|
|
1654
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ActionableOompaLoompa, "clr-datagrid, clr-dg-row", never, {}, {}, never, never, false, never>;
|
|
1655
|
+
}
|
|
1656
|
+
|
|
1636
1657
|
declare class ClrDatagridSelectionCellDirective {
|
|
1637
1658
|
private readonly selection;
|
|
1638
1659
|
constructor(selection: Selection);
|
|
@@ -1751,16 +1772,6 @@ declare class DatagridMainRenderer implements AfterContentInit, AfterViewInit, A
|
|
|
1751
1772
|
toggleDetailPane(state: boolean): void;
|
|
1752
1773
|
private setupColumns;
|
|
1753
1774
|
private shouldComputeHeight;
|
|
1754
|
-
/**
|
|
1755
|
-
* Computes the height of the datagrid.
|
|
1756
|
-
*
|
|
1757
|
-
* NOTE: We had to choose to set the height instead of the min-height because
|
|
1758
|
-
* IE 11 requires the height on the parent for the children flex grow/shrink properties to work.
|
|
1759
|
-
* When we used min-height, 1 1 auto doesn't used to work in IE11 :-(
|
|
1760
|
-
* But this doesn't affect the fix. It works in both fixed & variable height datagrids.
|
|
1761
|
-
*
|
|
1762
|
-
* Refer: http://stackoverflow.com/questions/24396205/flex-grow-not-working-in-internet-explorer-11-0
|
|
1763
|
-
*/
|
|
1764
1775
|
private computeDatagridHeight;
|
|
1765
1776
|
private resetDatagridHeight;
|
|
1766
1777
|
/**
|
|
@@ -1798,27 +1809,6 @@ declare class DatagridRowDetailRenderer extends DatagridRowRenderer implements O
|
|
|
1798
1809
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DatagridRowDetailRenderer, "clr-dg-row-detail", never, {}, {}, never, never, false, never>;
|
|
1799
1810
|
}
|
|
1800
1811
|
|
|
1801
|
-
declare class DatagridWillyWonka extends WillyWonka {
|
|
1802
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DatagridWillyWonka, never>;
|
|
1803
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DatagridWillyWonka, "clr-datagrid", never, {}, {}, never, never, false, never>;
|
|
1804
|
-
}
|
|
1805
|
-
|
|
1806
|
-
declare class ActionableOompaLoompa extends OompaLoompa {
|
|
1807
|
-
private rowActions;
|
|
1808
|
-
constructor(cdr: ChangeDetectorRef, willyWonka: DatagridWillyWonka, rowActions: RowActionService);
|
|
1809
|
-
get flavor(): boolean;
|
|
1810
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ActionableOompaLoompa, [null, { optional: true; }, null]>;
|
|
1811
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ActionableOompaLoompa, "clr-datagrid, clr-dg-row", never, {}, {}, never, never, false, never>;
|
|
1812
|
-
}
|
|
1813
|
-
|
|
1814
|
-
declare class ExpandableOompaLoompa extends OompaLoompa {
|
|
1815
|
-
private expandableCount;
|
|
1816
|
-
constructor(cdr: ChangeDetectorRef, willyWonka: DatagridWillyWonka, expandableCount: ExpandableRowsCount);
|
|
1817
|
-
get flavor(): boolean;
|
|
1818
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ExpandableOompaLoompa, [null, { optional: true; }, null]>;
|
|
1819
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ExpandableOompaLoompa, "clr-datagrid, clr-dg-row", never, {}, {}, never, never, false, never>;
|
|
1820
|
-
}
|
|
1821
|
-
|
|
1822
1812
|
declare class ClrDatagridSingleSelectionValueAccessor implements ControlValueAccessor {
|
|
1823
1813
|
private renderer;
|
|
1824
1814
|
private elementRef;
|
|
@@ -1842,9 +1832,9 @@ declare const CLR_DATAGRID_DIRECTIVES: Type<any>[];
|
|
|
1842
1832
|
declare class ClrDatagridModule {
|
|
1843
1833
|
constructor();
|
|
1844
1834
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrDatagridModule, never>;
|
|
1845
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrDatagridModule, [typeof ClrDatagrid, typeof ClrDatagridActionBar, typeof ClrDatagridActionOverflow, typeof ClrDatagridCell, typeof ClrDatagridColumn, typeof ClrDatagridColumnSeparator, typeof ClrDatagridDetail, typeof ClrDatagridDetailBody, typeof ClrDatagridDetailHeader, typeof ClrDatagridFilter, typeof ClrDatagridFooter, typeof ClrDatagridHideableColumn, typeof ClrDatagridItems, typeof ClrDatagridPageSize, typeof ClrDatagridPagination, typeof ClrDatagridPlaceholder, typeof ClrDatagridRow, typeof ClrDatagridRowDetail, typeof ClrDatagridSelectionCellDirective, typeof ClrDatagridVirtualScrollDirective, typeof ClrIfDetail, typeof DatagridDetailRegisterer, typeof WrappedCell, typeof WrappedColumn, typeof WrappedRow, typeof DatagridCellRenderer, typeof DatagridHeaderRenderer, typeof DatagridMainRenderer, typeof DatagridRowDetailRenderer, typeof DatagridRowRenderer, typeof ActionableOompaLoompa, typeof DatagridWillyWonka, typeof ExpandableOompaLoompa, typeof DatagridNumericFilter, typeof DatagridStringFilter, typeof ClrDatagridColumnToggle, typeof ClrDatagridColumnToggleButton], [typeof i38.CommonModule, typeof i39.CdkDragModule, typeof i39.CdkTrapFocusModule, typeof i40.ClrIcon, typeof i41.ClrInputModule, typeof i42.ClrRadioModule, typeof i43.ClrCheckboxModule, typeof i44.ClrNumberInputModule, typeof i45.ClrSelectModule, typeof i46.FormsModule, typeof i39.ClrLoadingModule, typeof i39.ClrConditionalModule, typeof i39.ClrOutsideClickModule, typeof i39.ClrExpandableAnimationModule, typeof i47.ClrSpinnerModule, typeof i1
|
|
1835
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrDatagridModule, [typeof ClrDatagrid, typeof ClrDatagridActionBar, typeof ClrDatagridActionOverflow, typeof ClrDatagridCell, typeof ClrDatagridColumn, typeof ClrDatagridColumnSeparator, typeof ClrDatagridDetail, typeof ClrDatagridDetailBody, typeof ClrDatagridDetailHeader, typeof ClrDatagridFilter, typeof ClrDatagridFooter, typeof ClrDatagridHideableColumn, typeof ClrDatagridItems, typeof ClrDatagridPageSize, typeof ClrDatagridPagination, typeof ClrDatagridPlaceholder, typeof ClrDatagridRow, typeof ClrDatagridRowDetail, typeof ClrDatagridSelectionCellDirective, typeof ClrDatagridVirtualScrollDirective, typeof ClrIfDetail, typeof DatagridDetailRegisterer, typeof WrappedCell, typeof WrappedColumn, typeof WrappedRow, typeof DatagridCellRenderer, typeof DatagridHeaderRenderer, typeof DatagridMainRenderer, typeof DatagridRowDetailRenderer, typeof DatagridRowRenderer, typeof ActionableOompaLoompa, typeof DatagridWillyWonka, typeof ExpandableOompaLoompa, typeof DatagridNumericFilter, typeof DatagridStringFilter, typeof ClrDatagridColumnToggle, typeof ClrDatagridColumnToggleButton], [typeof i38.CommonModule, typeof i39.CdkDragModule, typeof i39.CdkTrapFocusModule, typeof i40.ClrIcon, typeof i41.ClrInputModule, typeof i42.ClrRadioModule, typeof i43.ClrCheckboxModule, typeof i44.ClrNumberInputModule, typeof i45.ClrSelectModule, typeof i46.FormsModule, typeof i39.ClrLoadingModule, typeof i39.ClrConditionalModule, typeof i39.ClrOutsideClickModule, typeof i39.ClrExpandableAnimationModule, typeof i47.ClrSpinnerModule, typeof i1.ClrPopoverModuleNext, typeof i39.ClrKeyFocusModule, typeof ClrDatagridSingleSelectionValueAccessor, typeof i39.ClrIfExpanded], [typeof ClrDatagrid, typeof ClrDatagridActionBar, typeof ClrDatagridActionOverflow, typeof ClrDatagridCell, typeof ClrDatagridColumn, typeof ClrDatagridColumnSeparator, typeof ClrDatagridDetail, typeof ClrDatagridDetailBody, typeof ClrDatagridDetailHeader, typeof ClrDatagridFilter, typeof ClrDatagridFooter, typeof ClrDatagridHideableColumn, typeof ClrDatagridItems, typeof ClrDatagridPageSize, typeof ClrDatagridPagination, typeof ClrDatagridPlaceholder, typeof ClrDatagridRow, typeof ClrDatagridRowDetail, typeof ClrDatagridSelectionCellDirective, typeof ClrDatagridVirtualScrollDirective, typeof ClrIfDetail, typeof DatagridDetailRegisterer, typeof WrappedCell, typeof WrappedColumn, typeof WrappedRow, typeof DatagridCellRenderer, typeof DatagridHeaderRenderer, typeof DatagridMainRenderer, typeof DatagridRowDetailRenderer, typeof DatagridRowRenderer, typeof ActionableOompaLoompa, typeof DatagridWillyWonka, typeof ExpandableOompaLoompa, typeof DatagridNumericFilter, typeof DatagridStringFilter, typeof ClrDatagridSingleSelectionValueAccessor, typeof i39.ClrIfExpanded]>;
|
|
1846
1836
|
static ɵinj: i0.ɵɵInjectorDeclaration<ClrDatagridModule>;
|
|
1847
1837
|
}
|
|
1848
1838
|
|
|
1849
|
-
export { CLR_DATAGRID_DIRECTIVES, ClrDatagrid, ClrDatagridActionBar, ClrDatagridActionOverflow, ClrDatagridAriaSortOrder, ClrDatagridCell, ClrDatagridColumn, ClrDatagridColumnSeparator, ClrDatagridColumnToggle, ClrDatagridColumnToggleButton, ClrDatagridDetail, ClrDatagridDetailBody, ClrDatagridDetailHeader, ClrDatagridFilter, ClrDatagridFooter, ClrDatagridHideableColumn, ClrDatagridItems, ClrDatagridModule, ClrDatagridPageSize, ClrDatagridPagination, ClrDatagridPlaceholder, ClrDatagridRow, ClrDatagridRowDetail,
|
|
1839
|
+
export { ActionableOompaLoompa, CLR_DATAGRID_DIRECTIVES, ClrDatagrid, ClrDatagridActionBar, ClrDatagridActionOverflow, ClrDatagridAriaSortOrder, ClrDatagridCell, ClrDatagridColumn, ClrDatagridColumnSeparator, ClrDatagridColumnToggle, ClrDatagridColumnToggleButton, ClrDatagridDetail, ClrDatagridDetailBody, ClrDatagridDetailHeader, ClrDatagridFilter, ClrDatagridFooter, ClrDatagridHideableColumn, ClrDatagridItems, ClrDatagridModule, ClrDatagridPageSize, ClrDatagridPagination, ClrDatagridPlaceholder, ClrDatagridRow, ClrDatagridRowDetail, ClrDatagridSelectionCellDirective, ClrDatagridSingleSelectionValueAccessor, ClrDatagridSortOrder, ClrDatagridVirtualScrollDirective, ClrIfDetail, DatagridCellRenderer, DatagridDetailRegisterer, DatagridHeaderRenderer, DatagridMainRenderer, DatagridNumericFilter, DatagridPropertyComparator, DatagridPropertyNumericFilter, DatagridPropertyStringFilter, DatagridRowDetailRenderer, DatagridRowRenderer, DatagridStringFilter, DatagridWillyWonka, ExpandableOompaLoompa, Selection, SelectionType, WrappedCell, WrappedColumn, WrappedRow, selectionTypeAttribute };
|
|
1850
1840
|
export type { ClrDatagridComparatorInterface, ClrDatagridFilterInterface, ClrDatagridItemsIdentityFunction, ClrDatagridNumericFilterInterface, ClrDatagridStateInterface, ClrDatagridStringFilterInterface, ClrDatagridVirtualScrollRangeInterface };
|
|
@@ -216,5 +216,14 @@ declare class ClrTreeViewModule {
|
|
|
216
216
|
static ɵinj: i0.ɵɵInjectorDeclaration<ClrTreeViewModule>;
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
-
|
|
219
|
+
declare class DeclarativeTreeNodeModel<T> extends TreeNodeModel<T> {
|
|
220
|
+
parent: DeclarativeTreeNodeModel<T> | null;
|
|
221
|
+
children: DeclarativeTreeNodeModel<T>[];
|
|
222
|
+
constructor(parent: DeclarativeTreeNodeModel<T> | null);
|
|
223
|
+
destroy(): void;
|
|
224
|
+
_addChild(child: DeclarativeTreeNodeModel<T>): void;
|
|
225
|
+
_removeChild(child: DeclarativeTreeNodeModel<T>): void;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
export { CLR_TREE_VIEW_DIRECTIVES, ClrRecursiveForOf, ClrSelectedState, ClrTree, ClrTreeNode, ClrTreeNodeLink, ClrTreeViewModule, DeclarativeTreeNodeModel, RecursiveTreeNodeModel, TreeNodeModel };
|
|
220
229
|
export type { ClrRecursiveForOfContext };
|