@angular/cdk 9.2.1 → 9.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/a11y/focus-monitor/focus-monitor.d.ts +10 -3
- package/a11y/high-contrast-mode/high-contrast-mode-detector.d.ts +2 -2
- package/a11y/index.metadata.json +1 -1
- package/bundles/cdk-a11y.umd.js +62 -27
- package/bundles/cdk-a11y.umd.js.map +1 -1
- package/bundles/cdk-a11y.umd.min.js +12 -5
- package/bundles/cdk-a11y.umd.min.js.map +1 -1
- package/bundles/cdk-drag-drop.umd.js +193 -109
- package/bundles/cdk-drag-drop.umd.js.map +1 -1
- package/bundles/cdk-drag-drop.umd.min.js +17 -10
- package/bundles/cdk-drag-drop.umd.min.js.map +1 -1
- package/bundles/cdk-overlay.umd.js.map +1 -1
- package/bundles/cdk-platform.umd.js +3 -1
- package/bundles/cdk-platform.umd.js.map +1 -1
- package/bundles/cdk-platform.umd.min.js +4 -4
- package/bundles/cdk-platform.umd.min.js.map +1 -1
- package/bundles/cdk-scrolling.umd.js +18 -3
- package/bundles/cdk-scrolling.umd.js.map +1 -1
- package/bundles/cdk-scrolling.umd.min.js +2 -2
- package/bundles/cdk-scrolling.umd.min.js.map +1 -1
- package/bundles/cdk-testing-testbed.umd.js +62 -10
- package/bundles/cdk-testing-testbed.umd.js.map +1 -1
- package/bundles/cdk-testing-testbed.umd.min.js +5 -5
- package/bundles/cdk-testing-testbed.umd.min.js.map +1 -1
- package/bundles/cdk-tree.umd.js +1 -0
- package/bundles/cdk-tree.umd.js.map +1 -1
- package/bundles/cdk-tree.umd.min.js +1 -1
- package/bundles/cdk-tree.umd.min.js.map +1 -1
- package/bundles/cdk.umd.js +1 -1
- package/bundles/cdk.umd.js.map +1 -1
- package/bundles/cdk.umd.min.js +1 -1
- package/bundles/cdk.umd.min.js.map +1 -1
- package/drag-drop/drag-ref.d.ts +4 -2
- package/drag-drop/drop-list-ref.d.ts +9 -8
- package/drag-drop/index.metadata.json +1 -1
- package/drag-drop/parent-position-tracker.d.ts +31 -0
- package/drag-drop/public-api.d.ts +1 -1
- package/esm2015/a11y/aria-describer/aria-reference.js +6 -6
- package/esm2015/a11y/focus-monitor/focus-monitor.js +84 -26
- package/esm2015/a11y/high-contrast-mode/high-contrast-mode-detector.js +3 -3
- package/esm2015/drag-drop/drag-drop-module.js +3 -1
- package/esm2015/drag-drop/drag-ref.js +55 -35
- package/esm2015/drag-drop/drop-list-ref.js +115 -124
- package/esm2015/drag-drop/parent-position-tracker.js +141 -0
- package/esm2015/drag-drop/public-api.js +1 -1
- package/esm2015/overlay/position/flexible-connected-position-strategy.js +1 -1
- package/esm2015/platform/features/shadow-dom.js +4 -2
- package/esm2015/scrolling/public-api.js +2 -2
- package/esm2015/scrolling/scrolling-module.js +15 -4
- package/esm2015/testing/testbed/fake-events/dispatch-events.js +11 -4
- package/esm2015/testing/testbed/fake-events/event-objects.js +37 -3
- package/esm2015/testing/testbed/unit-test-element.js +13 -2
- package/esm2015/tree/tree.js +2 -1
- package/esm2015/version.js +1 -1
- package/esm5/a11y/aria-describer/aria-reference.js +6 -6
- package/esm5/a11y/focus-monitor/focus-monitor.js +57 -22
- package/esm5/a11y/high-contrast-mode/high-contrast-mode-detector.js +3 -3
- package/esm5/drag-drop/drag-drop-module.js +3 -1
- package/esm5/drag-drop/drag-ref.js +39 -26
- package/esm5/drag-drop/drop-list-ref.js +85 -86
- package/esm5/drag-drop/parent-position-tracker.js +74 -0
- package/esm5/drag-drop/public-api.js +1 -1
- package/esm5/overlay/position/flexible-connected-position-strategy.js +1 -1
- package/esm5/platform/features/shadow-dom.js +4 -2
- package/esm5/scrolling/scrolling-module.js +19 -4
- package/esm5/testing/testbed/fake-events/dispatch-events.js +15 -7
- package/esm5/testing/testbed/fake-events/event-objects.js +43 -5
- package/esm5/testing/testbed/unit-test-element.js +10 -3
- package/esm5/tree/tree.js +2 -1
- package/esm5/version.js +1 -1
- package/fesm2015/a11y.js +90 -32
- package/fesm2015/a11y.js.map +1 -1
- package/fesm2015/cdk.js +1 -1
- package/fesm2015/cdk.js.map +1 -1
- package/fesm2015/drag-drop.js +302 -158
- package/fesm2015/drag-drop.js.map +1 -1
- package/fesm2015/overlay.js.map +1 -1
- package/fesm2015/platform.js +3 -1
- package/fesm2015/platform.js.map +1 -1
- package/fesm2015/scrolling.js +15 -4
- package/fesm2015/scrolling.js.map +1 -1
- package/fesm2015/testing/testbed.js +56 -4
- package/fesm2015/testing/testbed.js.map +1 -1
- package/fesm2015/tree.js +1 -0
- package/fesm2015/tree.js.map +1 -1
- package/fesm5/a11y.js +63 -28
- package/fesm5/a11y.js.map +1 -1
- package/fesm5/cdk.js +1 -1
- package/fesm5/cdk.js.map +1 -1
- package/fesm5/drag-drop.js +195 -111
- package/fesm5/drag-drop.js.map +1 -1
- package/fesm5/overlay.js.map +1 -1
- package/fesm5/platform.js +3 -1
- package/fesm5/platform.js.map +1 -1
- package/fesm5/scrolling.js +18 -4
- package/fesm5/scrolling.js.map +1 -1
- package/fesm5/testing/testbed.js +63 -11
- package/fesm5/testing/testbed.js.map +1 -1
- package/fesm5/tree.js +1 -0
- package/fesm5/tree.js.map +1 -1
- package/overlay/position/flexible-connected-position-strategy.d.ts +1 -1
- package/package.json +1 -1
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-update/devkit-file-system.d.ts +29 -0
- package/schematics/ng-update/devkit-file-system.js +67 -0
- package/schematics/ng-update/devkit-migration-rule.d.ts +25 -0
- package/schematics/ng-update/devkit-migration-rule.js +152 -0
- package/schematics/ng-update/devkit-migration.d.ts +37 -0
- package/schematics/ng-update/devkit-migration.js +29 -0
- package/schematics/ng-update/index.js +7 -7
- package/schematics/ng-update/{upgrade-rules/attribute-selectors-rule.d.ts → migrations/attribute-selectors.d.ts} +6 -6
- package/schematics/ng-update/migrations/attribute-selectors.js +76 -0
- package/schematics/ng-update/{upgrade-rules/class-inheritance-rule.d.ts → migrations/class-inheritance.d.ts} +6 -6
- package/schematics/ng-update/migrations/class-inheritance.js +67 -0
- package/schematics/ng-update/{upgrade-rules/class-names-rule.d.ts → migrations/class-names.d.ts} +6 -6
- package/schematics/ng-update/migrations/class-names.js +98 -0
- package/schematics/ng-update/{upgrade-rules/constructor-signature-rule.d.ts → migrations/constructor-signature.d.ts} +6 -6
- package/schematics/ng-update/migrations/constructor-signature.js +144 -0
- package/schematics/ng-update/{upgrade-rules/css-selectors-rule.d.ts → migrations/css-selectors.d.ts} +6 -6
- package/schematics/ng-update/migrations/css-selectors.js +83 -0
- package/schematics/ng-update/{upgrade-rules/element-selectors-rule.d.ts → migrations/element-selectors.d.ts} +6 -6
- package/schematics/ng-update/migrations/element-selectors.js +74 -0
- package/schematics/ng-update/{upgrade-rules/input-names-rule.d.ts → migrations/input-names.d.ts} +6 -6
- package/schematics/ng-update/migrations/input-names.js +69 -0
- package/schematics/ng-update/{upgrade-rules/method-call-arguments-rule.d.ts → migrations/method-call-arguments.d.ts} +6 -6
- package/schematics/ng-update/migrations/method-call-arguments.js +70 -0
- package/schematics/ng-update/{upgrade-rules/misc-template-rule.d.ts → migrations/misc-template.d.ts} +6 -6
- package/schematics/ng-update/migrations/misc-template.js +47 -0
- package/schematics/ng-update/{upgrade-rules/output-names-rule.d.ts → migrations/output-names.d.ts} +6 -6
- package/schematics/ng-update/migrations/output-names.js +56 -0
- package/schematics/ng-update/{upgrade-rules/property-names-rule.d.ts → migrations/property-names.d.ts} +6 -6
- package/schematics/ng-update/migrations/property-names.js +56 -0
- package/schematics/ng-update/public-api.d.ts +3 -2
- package/schematics/ng-update/public-api.js +5 -4
- package/schematics/ng-update/upgrade-data.d.ts +7 -8
- package/schematics/ng-update/upgrade-data.js +6 -7
- package/schematics/update-tool/component-resource-collector.d.ts +3 -1
- package/schematics/update-tool/component-resource-collector.js +8 -8
- package/schematics/update-tool/file-system.d.ts +38 -0
- package/schematics/update-tool/file-system.js +20 -0
- package/schematics/update-tool/index.d.ts +41 -11
- package/schematics/update-tool/index.js +135 -106
- package/schematics/update-tool/logger.d.ts +16 -0
- package/schematics/update-tool/logger.js +27 -0
- package/schematics/update-tool/{migration-rule.d.ts → migration.d.ts} +23 -45
- package/schematics/update-tool/migration.js +76 -0
- package/schematics/update-tool/public-api.d.ts +5 -4
- package/schematics/update-tool/public-api.js +6 -6
- package/schematics/update-tool/update-recorder.d.ts +14 -0
- package/schematics/update-tool/update-recorder.js +20 -0
- package/schematics/update-tool/utils/parse-tsconfig.js +1 -1
- package/schematics/update-tool/version-changes.js +3 -4
- package/scrolling/index.metadata.json +1 -1
- package/scrolling/scrolling-module.d.ts +2 -0
- package/testing/testbed/fake-events/dispatch-events.d.ts +8 -3
- package/testing/testbed/fake-events/event-objects.d.ts +12 -1
- package/tree/index.metadata.json +1 -1
- package/schematics/ng-update/upgrade-rules/attribute-selectors-rule.js +0 -76
- package/schematics/ng-update/upgrade-rules/class-inheritance-rule.js +0 -67
- package/schematics/ng-update/upgrade-rules/class-names-rule.js +0 -98
- package/schematics/ng-update/upgrade-rules/constructor-signature-rule.js +0 -144
- package/schematics/ng-update/upgrade-rules/css-selectors-rule.js +0 -83
- package/schematics/ng-update/upgrade-rules/element-selectors-rule.js +0 -74
- package/schematics/ng-update/upgrade-rules/index.d.ts +0 -22
- package/schematics/ng-update/upgrade-rules/index.js +0 -116
- package/schematics/ng-update/upgrade-rules/input-names-rule.js +0 -69
- package/schematics/ng-update/upgrade-rules/method-call-arguments-rule.js +0 -70
- package/schematics/ng-update/upgrade-rules/misc-template-rule.js +0 -47
- package/schematics/ng-update/upgrade-rules/output-names-rule.js +0 -56
- package/schematics/ng-update/upgrade-rules/property-names-rule.js +0 -56
- package/schematics/update-tool/migration-rule.js +0 -101
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
if (v !== undefined) module.exports = v;
|
|
12
12
|
}
|
|
13
13
|
else if (typeof define === "function" && define.amd) {
|
|
14
|
-
define("@angular/cdk/schematics/update-tool/public-api", ["require", "exports", "@angular/cdk/schematics/update-tool", "@angular/cdk/schematics/update-tool
|
|
14
|
+
define("@angular/cdk/schematics/update-tool/public-api", ["require", "exports", "@angular/cdk/schematics/update-tool/component-resource-collector", "@angular/cdk/schematics/update-tool", "@angular/cdk/schematics/update-tool/migration", "@angular/cdk/schematics/update-tool/target-version", "@angular/cdk/schematics/update-tool/utils/decorators", "@angular/cdk/schematics/update-tool/utils/imports", "@angular/cdk/schematics/update-tool/version-changes"], factory);
|
|
15
15
|
}
|
|
16
16
|
})(function (require, exports) {
|
|
17
17
|
"use strict";
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
20
20
|
}
|
|
21
21
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
+
__export(require("@angular/cdk/schematics/update-tool/component-resource-collector"));
|
|
22
23
|
__export(require("@angular/cdk/schematics/update-tool"));
|
|
24
|
+
__export(require("@angular/cdk/schematics/update-tool/migration"));
|
|
23
25
|
__export(require("@angular/cdk/schematics/update-tool/target-version"));
|
|
24
|
-
__export(require("@angular/cdk/schematics/update-tool/version-changes"));
|
|
25
|
-
__export(require("@angular/cdk/schematics/update-tool/migration-rule"));
|
|
26
|
-
__export(require("@angular/cdk/schematics/update-tool/component-resource-collector"));
|
|
27
|
-
__export(require("@angular/cdk/schematics/update-tool/utils/imports"));
|
|
28
26
|
__export(require("@angular/cdk/schematics/update-tool/utils/decorators"));
|
|
27
|
+
__export(require("@angular/cdk/schematics/update-tool/utils/imports"));
|
|
28
|
+
__export(require("@angular/cdk/schematics/update-tool/version-changes"));
|
|
29
29
|
});
|
|
30
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9jZGsvc2NoZW1hdGljcy91cGRhdGUtdG9vbC9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7R0FNRzs7Ozs7Ozs7Ozs7Ozs7O0lBRUgsc0ZBQStDO0lBRS9DLHlEQUF3QjtJQUN4QixtRUFBNEI7SUFDNUIsd0VBQWlDO0lBQ2pDLDBFQUFtQztJQUNuQyx1RUFBZ0M7SUFDaEMseUVBQWtDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBAbGljZW5zZVxuICogQ29weXJpZ2h0IEdvb2dsZSBMTEMgQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuaW8vbGljZW5zZVxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vY29tcG9uZW50LXJlc291cmNlLWNvbGxlY3Rvcic7XG5leHBvcnQgKiBmcm9tICcuL2ZpbGUtc3lzdGVtJztcbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuZXhwb3J0ICogZnJvbSAnLi9taWdyYXRpb24nO1xuZXhwb3J0ICogZnJvbSAnLi90YXJnZXQtdmVyc2lvbic7XG5leHBvcnQgKiBmcm9tICcuL3V0aWxzL2RlY29yYXRvcnMnO1xuZXhwb3J0ICogZnJvbSAnLi91dGlscy9pbXBvcnRzJztcbmV4cG9ydCAqIGZyb20gJy4vdmVyc2lvbi1jaGFuZ2VzJztcbiJdfQ==
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright Google LLC All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
+
* found in the LICENSE file at https://angular.io/license
|
|
7
|
+
*/
|
|
8
|
+
/// <amd-module name="@angular/cdk/schematics/update-tool/update-recorder" />
|
|
9
|
+
/** Update recorder that can be used to apply changes to a source file. */
|
|
10
|
+
export interface UpdateRecorder {
|
|
11
|
+
insertLeft(index: number, content: string): UpdateRecorder;
|
|
12
|
+
insertRight(index: number, content: string): UpdateRecorder;
|
|
13
|
+
remove(index: number, length: number): UpdateRecorder;
|
|
14
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright Google LLC All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
+
* found in the LICENSE file at https://angular.io/license
|
|
7
|
+
*/
|
|
8
|
+
(function (factory) {
|
|
9
|
+
if (typeof module === "object" && typeof module.exports === "object") {
|
|
10
|
+
var v = factory(require, exports);
|
|
11
|
+
if (v !== undefined) module.exports = v;
|
|
12
|
+
}
|
|
13
|
+
else if (typeof define === "function" && define.amd) {
|
|
14
|
+
define("@angular/cdk/schematics/update-tool/update-recorder", ["require", "exports"], factory);
|
|
15
|
+
}
|
|
16
|
+
})(function (require, exports) {
|
|
17
|
+
"use strict";
|
|
18
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
+
});
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXBkYXRlLXJlY29yZGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2Nkay9zY2hlbWF0aWNzL3VwZGF0ZS10b29sL3VwZGF0ZS1yZWNvcmRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7O0dBTUciLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEBsaWNlbnNlXG4gKiBDb3B5cmlnaHQgR29vZ2xlIExMQyBBbGwgUmlnaHRzIFJlc2VydmVkLlxuICpcbiAqIFVzZSBvZiB0aGlzIHNvdXJjZSBjb2RlIGlzIGdvdmVybmVkIGJ5IGFuIE1JVC1zdHlsZSBsaWNlbnNlIHRoYXQgY2FuIGJlXG4gKiBmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlIGF0IGh0dHBzOi8vYW5ndWxhci5pby9saWNlbnNlXG4gKi9cblxuLyoqIFVwZGF0ZSByZWNvcmRlciB0aGF0IGNhbiBiZSB1c2VkIHRvIGFwcGx5IGNoYW5nZXMgdG8gYSBzb3VyY2UgZmlsZS4gKi9cbmV4cG9ydCBpbnRlcmZhY2UgVXBkYXRlUmVjb3JkZXIge1xuICBpbnNlcnRMZWZ0KGluZGV4OiBudW1iZXIsIGNvbnRlbnQ6IHN0cmluZyk6IFVwZGF0ZVJlY29yZGVyO1xuICBpbnNlcnRSaWdodChpbmRleDogbnVtYmVyLCBjb250ZW50OiBzdHJpbmcpOiBVcGRhdGVSZWNvcmRlcjtcbiAgcmVtb3ZlKGluZGV4OiBudW1iZXIsIGxlbmd0aDogbnVtYmVyKTogVXBkYXRlUmVjb3JkZXI7XG59XG4iXX0=
|
|
@@ -29,4 +29,4 @@
|
|
|
29
29
|
}
|
|
30
30
|
exports.parseTsconfigFile = parseTsconfigFile;
|
|
31
31
|
});
|
|
32
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFyc2UtdHNjb25maWcuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvY2RrL3NjaGVtYXRpY3MvdXBkYXRlLXRvb2wvdXRpbHMvcGFyc2UtdHNjb25maWcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7OztHQU1HOzs7Ozs7Ozs7Ozs7SUFFSCxpQ0FBaUM7SUFFakM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tYW5kTGluZSB7XG4gIGNvbnN0IHtjb25maWd9ID0gdHMucmVhZENvbmZpZ0ZpbGUodHNjb25maWdQYXRoLCB0cy5zeXMucmVhZEZpbGUpO1xuICBjb25zdCBwYXJzZUNvbmZpZ0hvc3QgPSB7XG4gICAgdXNlQ2FzZVNlbnNpdGl2ZUZpbGVOYW1lczogdHMuc3lzLnVzZUNhc2VTZW5zaXRpdmVGaWxlTmFtZXMsXG4gICAgZmlsZUV4aXN0czogdHMuc3lzLmZpbGVFeGlzdHMsXG4gICAgcmVhZERpcmVjdG9yeTogdHMuc3lzLnJlYWREaXJlY3RvcnksXG4gICAgcmVhZEZpbGU6IHRzLnN5cy5yZWFkRmlsZSxcbiAgfTtcblxuXG5cbiAgcmV0dXJuIHRzLnBhcnNlSnNvbkNvbmZpZ0ZpbGVDb250ZW50KGNvbmZpZywgcGFyc2VDb25maWdIb3N0LCBiYXNlUGF0aCwge30pO1xufVxuIl19
|
|
@@ -11,12 +11,11 @@
|
|
|
11
11
|
if (v !== undefined) module.exports = v;
|
|
12
12
|
}
|
|
13
13
|
else if (typeof define === "function" && define.amd) {
|
|
14
|
-
define("@angular/cdk/schematics/update-tool/version-changes", ["require", "exports", "@angular
|
|
14
|
+
define("@angular/cdk/schematics/update-tool/version-changes", ["require", "exports", "@angular/cdk/schematics/update-tool/target-version"], factory);
|
|
15
15
|
}
|
|
16
16
|
})(function (require, exports) {
|
|
17
17
|
"use strict";
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
const schematics_1 = require("@angular-devkit/schematics");
|
|
20
19
|
const target_version_1 = require("@angular/cdk/schematics/update-tool/target-version");
|
|
21
20
|
/**
|
|
22
21
|
* Gets the changes for a given target version from the specified version changes object.
|
|
@@ -28,7 +27,7 @@
|
|
|
28
27
|
*/
|
|
29
28
|
function getChangesForTarget(target, data) {
|
|
30
29
|
if (!data) {
|
|
31
|
-
throw new
|
|
30
|
+
throw new Error(`No data could be found for target version: ${target_version_1.TargetVersion[target]}`);
|
|
32
31
|
}
|
|
33
32
|
if (!data[target]) {
|
|
34
33
|
return [];
|
|
@@ -48,4 +47,4 @@
|
|
|
48
47
|
}
|
|
49
48
|
exports.getAllChanges = getAllChanges;
|
|
50
49
|
});
|
|
51
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
50
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi1jaGFuZ2VzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2Nkay9zY2hlbWF0aWNzL3VwZGF0ZS10b29sL3ZlcnNpb24tY2hhbmdlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7O0dBTUc7Ozs7Ozs7Ozs7OztJQUVILHVGQUErQztJQWEvQzs7Ozs7OztPQU9HO0lBQ0gsU0FBZ0IsbUJBQW1CLENBQUksTUFBcUIsRUFBRSxJQUF1QjtRQUNuRixJQUFJLENBQUMsSUFBSSxFQUFFO1lBQ1QsTUFBTSxJQUFJLEtBQUssQ0FDWCw4Q0FBOEMsOEJBQWEsQ0FBQyxNQUFNLENBQUMsRUFBRSxDQUFDLENBQUM7U0FDNUU7UUFFRCxJQUFJLENBQUMsSUFBSSxDQUFDLE1BQU0sQ0FBQyxFQUFFO1lBQ2pCLE9BQU8sRUFBRSxDQUFDO1NBQ1g7UUFFRCxPQUFPLElBQUksQ0FBQyxNQUFNLENBQUUsQ0FBQyxNQUFNLENBQUMsQ0FBQyxNQUFNLEVBQUUsTUFBTSxFQUFFLEVBQUUsQ0FBQyxNQUFNLENBQUMsTUFBTSxDQUFDLE1BQU0sQ0FBQyxPQUFPLENBQUMsRUFBRSxFQUFTLENBQUMsQ0FBQztJQUM1RixDQUFDO0lBWEQsa0RBV0M7SUFFRDs7OztPQUlHO0lBQ0gsU0FBZ0IsYUFBYSxDQUFJLElBQXVCO1F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dlcyksIFtdIGFzIFRbXSk7XG59XG5cbi8qKlxuICogR2V0cyBhbGwgY2hhbmdlcyBmcm9tIHRoZSBzcGVjaWZpZWQgdmVyc2lvbiBjaGFuZ2VzIG9iamVjdC4gVGhpcyBpcyBoZWxwZnVsIGluIGNhc2UgYSBtaWdyYXRpb25cbiAqIHJ1bGUgZG9lcyBub3QgZGlzdGluZ3Vpc2ggZGF0YSBiYXNlZCBvbiB0aGUgdGFyZ2V0IHZlcnNpb24sIGJ1dCBmb3IgcmVhZGFiaWxpdHkgdGhlXG4gKiB1cGdyYWRlIGRhdGEgaXMgc2VwYXJhdGVkIGZvciBlYWNoIHRhcmdldCB2ZXJzaW9uLlxuICovXG5leHBvcnQgZnVuY3Rpb24gZ2V0QWxsQ2hhbmdlczxUPihkYXRhOiBWZXJzaW9uQ2hhbmdlczxUPik6IFRbXSB7XG4gIHJldHVybiBPYmplY3Qua2V5cyhkYXRhKVxuICAgICAgLm1hcCh0YXJnZXRWZXJzaW9uID0+IGdldENoYW5nZXNGb3JUYXJnZXQodGFyZ2V0VmVyc2lvbiBhcyBUYXJnZXRWZXJzaW9uLCBkYXRhKSlcbiAgICAgIC5yZWR1Y2UoKHJlc3VsdCwgdmVyc2lvbkRhdGEpID0+IHJlc3VsdC5jb25jYXQodmVyc2lvbkRhdGEpLCBbXSk7XG59XG4iXX0=
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"FixedSizeVirtualScrollStrategy":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","name":"number"}]}],"attach":[{"__symbolic":"method"}],"detach":[{"__symbolic":"method"}],"updateItemAndBufferSize":[{"__symbolic":"method"}],"onContentScrolled":[{"__symbolic":"method"}],"onDataLengthChanged":[{"__symbolic":"method"}],"onContentRendered":[{"__symbolic":"method"}],"onRenderedOffsetChanged":[{"__symbolic":"method"}],"scrollToIndex":[{"__symbolic":"method"}],"_updateTotalContentSize":[{"__symbolic":"method"}],"_updateRenderedRange":[{"__symbolic":"method"}]}},"_fixedSizeVirtualScrollStrategyFactory":{"__symbolic":"function","parameters":["fixedSizeDir"],"value":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"fixedSizeDir"},"member":"_scrollStrategy"}},"CdkFixedSizeVirtualScroll":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":166,"character":1},"arguments":[{"selector":"cdk-virtual-scroll-viewport[itemSize]","providers":[{"provide":{"__symbolic":"reference","name":"VIRTUAL_SCROLL_STRATEGY"},"useFactory":{"__symbolic":"reference","name":"_fixedSizeVirtualScrollStrategyFactory"},"deps":[{"__symbolic":"reference","name":"CdkFixedSizeVirtualScroll"}]}]}]}],"members":{"itemSize":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":176,"character":3}}]}],"minBufferPx":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":185,"character":3}}]}],"maxBufferPx":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":193,"character":3}}]}],"ngOnChanges":[{"__symbolic":"method"}]}},"DEFAULT_SCROLL_TIME":20,"ScrollDispatcher":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":22,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":30,"character":15}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":30,"character":27},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":30,"character":34}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":27,"character":31},{"__symbolic":"reference","module":"@angular/cdk/platform","name":"Platform","line":28,"character":33},{"__symbolic":"reference","name":"any"}]}],"register":[{"__symbolic":"method"}],"deregister":[{"__symbolic":"method"}],"scrolled":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"ancestorScrolled":[{"__symbolic":"method"}],"getAncestorScrollContainers":[{"__symbolic":"method"}],"_getDocument":[{"__symbolic":"method"}],"_getWindow":[{"__symbolic":"method"}],"_scrollableContainsElement":[{"__symbolic":"method"}],"_addGlobalListener":[{"__symbolic":"method"}],"_removeGlobalListener":[{"__symbolic":"method"}]},"statics":{"ɵprov":{}}},"_Without":{"__symbolic":"interface"},"_XOR":{"__symbolic":"interface"},"_Top":{"__symbolic":"interface"},"_Bottom":{"__symbolic":"interface"},"_Left":{"__symbolic":"interface"},"_Right":{"__symbolic":"interface"},"_Start":{"__symbolic":"interface"},"_End":{"__symbolic":"interface"},"_XAxis":{"__symbolic":"interface"},"_YAxis":{"__symbolic":"interface"},"ExtendedScrollToOptions":{"__symbolic":"interface"},"CdkScrollable":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":43,"character":1},"arguments":[{"selector":"[cdk-scrollable], [cdkScrollable]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":57,"character":15}}]],"parameters":[{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":54,"character":47,"context":{"typeName":"HTMLElement"},"module":"./scrollable"}]},{"__symbolic":"reference","name":"ScrollDispatcher"},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":56,"character":32},{"__symbolic":"reference","module":"@angular/cdk/bidi","name":"Directionality","line":57,"character":42}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"elementScrolled":[{"__symbolic":"method"}],"getElementRef":[{"__symbolic":"method"}],"scrollTo":[{"__symbolic":"method"}],"_applyScrollToOptions":[{"__symbolic":"method"}],"measureScrollOffset":[{"__symbolic":"method"}]}},"ScrollingModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":16,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/cdk/bidi","name":"BidiModule","line":17,"character":12},{"__symbolic":"reference","module":"@angular/cdk/platform","name":"PlatformModule","line":17,"character":24}],"exports":[{"__symbolic":"reference","module":"@angular/cdk/bidi","name":"BidiModule","line":19,"character":4},{"__symbolic":"reference","name":"CdkFixedSizeVirtualScroll"},{"__symbolic":"reference","name":"CdkScrollable"},{"__symbolic":"reference","name":"CdkVirtualForOf"},{"__symbolic":"reference","name":"CdkVirtualScrollViewport"}],"declarations":[{"__symbolic":"reference","name":"CdkFixedSizeVirtualScroll"},{"__symbolic":"reference","name":"CdkScrollable"},{"__symbolic":"reference","name":"CdkVirtualForOf"},{"__symbolic":"reference","name":"CdkVirtualScrollViewport"}]}]}],"members":{}},"DEFAULT_RESIZE_TIME":20,"ViewportScrollPosition":{"__symbolic":"interface"},"ViewportRuler":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":27,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":44,"character":15}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":44,"character":27},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":44,"character":34}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/cdk/platform","name":"Platform","line":41,"character":33},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":42,"character":22},{"__symbolic":"reference","name":"any"}]}],"ngOnDestroy":[{"__symbolic":"method"}],"getViewportSize":[{"__symbolic":"method"}],"getViewportRect":[{"__symbolic":"method"}],"getViewportScrollPosition":[{"__symbolic":"method"}],"change":[{"__symbolic":"method"}],"_getDocument":[{"__symbolic":"method"}],"_getWindow":[{"__symbolic":"method"}],"_updateViewportSize":[{"__symbolic":"method"}]},"statics":{"ɵprov":{}}},"CdkVirtualForOfContext":{"__symbolic":"interface"},"CdkVirtualForOf":{"__symbolic":"class","arity":1,"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":73,"character":1},"arguments":[{"selector":"[cdkVirtualFor][cdkVirtualForOf]"}]}],"members":{"cdkVirtualForOf":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":84,"character":3}}]}],"cdkVirtualForTrackBy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":104,"character":3}}]}],"cdkVirtualForTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":117,"character":3}}]}],"cdkVirtualForTemplateCacheSize":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":129,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"SkipSelf","line":177,"character":7}}],null],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef","line":171,"character":33},{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":173,"character":37,"context":{"typeName":"CdkVirtualForOfContext"},"module":"./virtual-for-of"}]},{"__symbolic":"reference","module":"@angular/core","name":"IterableDiffers","line":175,"character":24},{"__symbolic":"reference","name":"CdkVirtualScrollViewport"},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":178,"character":14}]}],"measureRangeSize":[{"__symbolic":"method"}],"ngDoCheck":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"_onRenderedDataChange":[{"__symbolic":"method"}],"_changeDataSource":[{"__symbolic":"method"}],"_updateContext":[{"__symbolic":"method"}],"_applyChanges":[{"__symbolic":"method"}],"_cacheView":[{"__symbolic":"method"}],"_insertViewForNewItem":[{"__symbolic":"method"}],"_updateComputedContextProperties":[{"__symbolic":"method"}],"_createEmbeddedViewAt":[{"__symbolic":"method"}],"_insertViewFromCache":[{"__symbolic":"method"}],"_detachView":[{"__symbolic":"method"}]}},"VIRTUAL_SCROLL_STRATEGY":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":15,"character":8},"arguments":["VIRTUAL_SCROLL_STRATEGY"]},"VirtualScrollStrategy":{"__symbolic":"interface"},"CdkVirtualScrollViewport":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"CdkScrollable"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":55,"character":1},"arguments":[{"selector":"cdk-virtual-scroll-viewport","host":{"class":"cdk-virtual-scroll-viewport","[class.cdk-virtual-scroll-orientation-horizontal]":"orientation === \"horizontal\"","[class.cdk-virtual-scroll-orientation-vertical]":"orientation !== \"horizontal\"","$quoted$":["class","[class.cdk-virtual-scroll-orientation-horizontal]","[class.cdk-virtual-scroll-orientation-vertical]"]},"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":64,"character":17},"member":"None"},"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":65,"character":19},"member":"OnPush"},"providers":[{"provide":{"__symbolic":"reference","name":"CdkScrollable"},"useExisting":{"__symbolic":"reference","name":"CdkVirtualScrollViewport"}}],"template":"<!--\n Wrap the rendered content in an element that will be used to offset it based on the scroll\n position.\n-->\n<div #contentWrapper class=\"cdk-virtual-scroll-content-wrapper\">\n <ng-content></ng-content>\n</div>\n<!--\n Spacer used to force the scrolling container to the correct size for the *total* number of items\n so that the scrollbar captures the size of the entire data set.\n-->\n<div class=\"cdk-virtual-scroll-spacer\"\n [style.width]=\"_totalContentWidth\" [style.height]=\"_totalContentHeight\"></div>\n","styles":["cdk-virtual-scroll-viewport{display:block;position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0}[dir=rtl] .cdk-virtual-scroll-spacer{right:0;left:auto;transform-origin:100% 0}\n"]}]}],"members":{"orientation":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":79,"character":3}}]}],"scrolledIndexChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":96,"character":3}}]}],"_contentWrapper":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":102,"character":3},"arguments":["contentWrapper",{"static":true}]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":157,"character":15}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":157,"character":27},"arguments":[{"__symbolic":"reference","name":"VIRTUAL_SCROLL_STRATEGY"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":159,"character":15}}],null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":165,"character":15}}]],"parameters":[{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":154,"character":44,"context":{"typeName":"HTMLElement"},"module":"./virtual-scroll-viewport"}]},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":155,"character":42},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":156,"character":22},{"__symbolic":"reference","name":"VirtualScrollStrategy"},{"__symbolic":"reference","module":"@angular/cdk/bidi","name":"Directionality","line":159,"character":31},{"__symbolic":"reference","name":"ScrollDispatcher"},{"__symbolic":"reference","name":"ViewportRuler"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"attach":[{"__symbolic":"method"}],"detach":[{"__symbolic":"method"}],"getDataLength":[{"__symbolic":"method"}],"getViewportSize":[{"__symbolic":"method"}],"getRenderedRange":[{"__symbolic":"method"}],"setTotalContentSize":[{"__symbolic":"method"}],"setRenderedRange":[{"__symbolic":"method"}],"getOffsetToRenderedContentStart":[{"__symbolic":"method"}],"setRenderedContentOffset":[{"__symbolic":"method"}],"scrollToOffset":[{"__symbolic":"method"}],"scrollToIndex":[{"__symbolic":"method"}],"measureScrollOffset":[{"__symbolic":"method"}],"measureRenderedContentSize":[{"__symbolic":"method"}],"measureRangeSize":[{"__symbolic":"method"}],"checkViewportSize":[{"__symbolic":"method"}],"_measureViewportSize":[{"__symbolic":"method"}],"_markChangeDetectionNeeded":[{"__symbolic":"method"}],"_doChangeDetection":[{"__symbolic":"method"}],"_calculateSpacerSize":[{"__symbolic":"method"}]}}},"origins":{"FixedSizeVirtualScrollStrategy":"./fixed-size-virtual-scroll","_fixedSizeVirtualScrollStrategyFactory":"./fixed-size-virtual-scroll","CdkFixedSizeVirtualScroll":"./fixed-size-virtual-scroll","DEFAULT_SCROLL_TIME":"./scroll-dispatcher","ScrollDispatcher":"./scroll-dispatcher","_Without":"./scrollable","_XOR":"./scrollable","_Top":"./scrollable","_Bottom":"./scrollable","_Left":"./scrollable","_Right":"./scrollable","_Start":"./scrollable","_End":"./scrollable","_XAxis":"./scrollable","_YAxis":"./scrollable","ExtendedScrollToOptions":"./scrollable","CdkScrollable":"./scrollable","ScrollingModule":"./scrolling-module","DEFAULT_RESIZE_TIME":"./viewport-ruler","ViewportScrollPosition":"./viewport-ruler","ViewportRuler":"./viewport-ruler","CdkVirtualForOfContext":"./virtual-for-of","CdkVirtualForOf":"./virtual-for-of","VIRTUAL_SCROLL_STRATEGY":"./virtual-scroll-strategy","VirtualScrollStrategy":"./virtual-scroll-strategy","CdkVirtualScrollViewport":"./virtual-scroll-viewport"},"importAs":"@angular/cdk/scrolling"}
|
|
1
|
+
{"__symbolic":"module","version":4,"metadata":{"FixedSizeVirtualScrollStrategy":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","name":"number"}]}],"attach":[{"__symbolic":"method"}],"detach":[{"__symbolic":"method"}],"updateItemAndBufferSize":[{"__symbolic":"method"}],"onContentScrolled":[{"__symbolic":"method"}],"onDataLengthChanged":[{"__symbolic":"method"}],"onContentRendered":[{"__symbolic":"method"}],"onRenderedOffsetChanged":[{"__symbolic":"method"}],"scrollToIndex":[{"__symbolic":"method"}],"_updateTotalContentSize":[{"__symbolic":"method"}],"_updateRenderedRange":[{"__symbolic":"method"}]}},"_fixedSizeVirtualScrollStrategyFactory":{"__symbolic":"function","parameters":["fixedSizeDir"],"value":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"fixedSizeDir"},"member":"_scrollStrategy"}},"CdkFixedSizeVirtualScroll":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":166,"character":1},"arguments":[{"selector":"cdk-virtual-scroll-viewport[itemSize]","providers":[{"provide":{"__symbolic":"reference","name":"VIRTUAL_SCROLL_STRATEGY"},"useFactory":{"__symbolic":"reference","name":"_fixedSizeVirtualScrollStrategyFactory"},"deps":[{"__symbolic":"reference","name":"CdkFixedSizeVirtualScroll"}]}]}]}],"members":{"itemSize":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":176,"character":3}}]}],"minBufferPx":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":185,"character":3}}]}],"maxBufferPx":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":193,"character":3}}]}],"ngOnChanges":[{"__symbolic":"method"}]}},"DEFAULT_SCROLL_TIME":20,"ScrollDispatcher":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":22,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":30,"character":15}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":30,"character":27},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":30,"character":34}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":27,"character":31},{"__symbolic":"reference","module":"@angular/cdk/platform","name":"Platform","line":28,"character":33},{"__symbolic":"reference","name":"any"}]}],"register":[{"__symbolic":"method"}],"deregister":[{"__symbolic":"method"}],"scrolled":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"ancestorScrolled":[{"__symbolic":"method"}],"getAncestorScrollContainers":[{"__symbolic":"method"}],"_getDocument":[{"__symbolic":"method"}],"_getWindow":[{"__symbolic":"method"}],"_scrollableContainsElement":[{"__symbolic":"method"}],"_addGlobalListener":[{"__symbolic":"method"}],"_removeGlobalListener":[{"__symbolic":"method"}]},"statics":{"ɵprov":{}}},"_Without":{"__symbolic":"interface"},"_XOR":{"__symbolic":"interface"},"_Top":{"__symbolic":"interface"},"_Bottom":{"__symbolic":"interface"},"_Left":{"__symbolic":"interface"},"_Right":{"__symbolic":"interface"},"_Start":{"__symbolic":"interface"},"_End":{"__symbolic":"interface"},"_XAxis":{"__symbolic":"interface"},"_YAxis":{"__symbolic":"interface"},"ExtendedScrollToOptions":{"__symbolic":"interface"},"CdkScrollable":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":43,"character":1},"arguments":[{"selector":"[cdk-scrollable], [cdkScrollable]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":57,"character":15}}]],"parameters":[{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":54,"character":47,"context":{"typeName":"HTMLElement"},"module":"./scrollable"}]},{"__symbolic":"reference","name":"ScrollDispatcher"},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":56,"character":32},{"__symbolic":"reference","module":"@angular/cdk/bidi","name":"Directionality","line":57,"character":42}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"elementScrolled":[{"__symbolic":"method"}],"getElementRef":[{"__symbolic":"method"}],"scrollTo":[{"__symbolic":"method"}],"_applyScrollToOptions":[{"__symbolic":"method"}],"measureScrollOffset":[{"__symbolic":"method"}]}},"CdkScrollableModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":16,"character":1},"arguments":[{"exports":[{"__symbolic":"reference","name":"CdkScrollable"}],"declarations":[{"__symbolic":"reference","name":"CdkScrollable"}]}]}],"members":{}},"ScrollingModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":22,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/cdk/bidi","name":"BidiModule","line":24,"character":4},{"__symbolic":"reference","module":"@angular/cdk/platform","name":"PlatformModule","line":25,"character":4},{"__symbolic":"reference","name":"CdkScrollableModule"}],"exports":[{"__symbolic":"reference","module":"@angular/cdk/bidi","name":"BidiModule","line":29,"character":4},{"__symbolic":"reference","name":"CdkScrollableModule"},{"__symbolic":"reference","name":"CdkFixedSizeVirtualScroll"},{"__symbolic":"reference","name":"CdkVirtualForOf"},{"__symbolic":"reference","name":"CdkVirtualScrollViewport"}],"declarations":[{"__symbolic":"reference","name":"CdkFixedSizeVirtualScroll"},{"__symbolic":"reference","name":"CdkVirtualForOf"},{"__symbolic":"reference","name":"CdkVirtualScrollViewport"}]}]}],"members":{}},"DEFAULT_RESIZE_TIME":20,"ViewportScrollPosition":{"__symbolic":"interface"},"ViewportRuler":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":27,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":44,"character":15}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":44,"character":27},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":44,"character":34}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/cdk/platform","name":"Platform","line":41,"character":33},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":42,"character":22},{"__symbolic":"reference","name":"any"}]}],"ngOnDestroy":[{"__symbolic":"method"}],"getViewportSize":[{"__symbolic":"method"}],"getViewportRect":[{"__symbolic":"method"}],"getViewportScrollPosition":[{"__symbolic":"method"}],"change":[{"__symbolic":"method"}],"_getDocument":[{"__symbolic":"method"}],"_getWindow":[{"__symbolic":"method"}],"_updateViewportSize":[{"__symbolic":"method"}]},"statics":{"ɵprov":{}}},"CdkVirtualForOfContext":{"__symbolic":"interface"},"CdkVirtualForOf":{"__symbolic":"class","arity":1,"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":73,"character":1},"arguments":[{"selector":"[cdkVirtualFor][cdkVirtualForOf]"}]}],"members":{"cdkVirtualForOf":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":84,"character":3}}]}],"cdkVirtualForTrackBy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":104,"character":3}}]}],"cdkVirtualForTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":117,"character":3}}]}],"cdkVirtualForTemplateCacheSize":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":129,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"SkipSelf","line":177,"character":7}}],null],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef","line":171,"character":33},{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":173,"character":37,"context":{"typeName":"CdkVirtualForOfContext"},"module":"./virtual-for-of"}]},{"__symbolic":"reference","module":"@angular/core","name":"IterableDiffers","line":175,"character":24},{"__symbolic":"reference","name":"CdkVirtualScrollViewport"},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":178,"character":14}]}],"measureRangeSize":[{"__symbolic":"method"}],"ngDoCheck":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"_onRenderedDataChange":[{"__symbolic":"method"}],"_changeDataSource":[{"__symbolic":"method"}],"_updateContext":[{"__symbolic":"method"}],"_applyChanges":[{"__symbolic":"method"}],"_cacheView":[{"__symbolic":"method"}],"_insertViewForNewItem":[{"__symbolic":"method"}],"_updateComputedContextProperties":[{"__symbolic":"method"}],"_createEmbeddedViewAt":[{"__symbolic":"method"}],"_insertViewFromCache":[{"__symbolic":"method"}],"_detachView":[{"__symbolic":"method"}]}},"VIRTUAL_SCROLL_STRATEGY":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":15,"character":8},"arguments":["VIRTUAL_SCROLL_STRATEGY"]},"VirtualScrollStrategy":{"__symbolic":"interface"},"CdkVirtualScrollViewport":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"CdkScrollable"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":55,"character":1},"arguments":[{"selector":"cdk-virtual-scroll-viewport","host":{"class":"cdk-virtual-scroll-viewport","[class.cdk-virtual-scroll-orientation-horizontal]":"orientation === \"horizontal\"","[class.cdk-virtual-scroll-orientation-vertical]":"orientation !== \"horizontal\"","$quoted$":["class","[class.cdk-virtual-scroll-orientation-horizontal]","[class.cdk-virtual-scroll-orientation-vertical]"]},"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":64,"character":17},"member":"None"},"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":65,"character":19},"member":"OnPush"},"providers":[{"provide":{"__symbolic":"reference","name":"CdkScrollable"},"useExisting":{"__symbolic":"reference","name":"CdkVirtualScrollViewport"}}],"template":"<!--\n Wrap the rendered content in an element that will be used to offset it based on the scroll\n position.\n-->\n<div #contentWrapper class=\"cdk-virtual-scroll-content-wrapper\">\n <ng-content></ng-content>\n</div>\n<!--\n Spacer used to force the scrolling container to the correct size for the *total* number of items\n so that the scrollbar captures the size of the entire data set.\n-->\n<div class=\"cdk-virtual-scroll-spacer\"\n [style.width]=\"_totalContentWidth\" [style.height]=\"_totalContentHeight\"></div>\n","styles":["cdk-virtual-scroll-viewport{display:block;position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0}[dir=rtl] .cdk-virtual-scroll-spacer{right:0;left:auto;transform-origin:100% 0}\n"]}]}],"members":{"orientation":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":79,"character":3}}]}],"scrolledIndexChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":96,"character":3}}]}],"_contentWrapper":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":102,"character":3},"arguments":["contentWrapper",{"static":true}]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":157,"character":15}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":157,"character":27},"arguments":[{"__symbolic":"reference","name":"VIRTUAL_SCROLL_STRATEGY"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":159,"character":15}}],null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":165,"character":15}}]],"parameters":[{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":154,"character":44,"context":{"typeName":"HTMLElement"},"module":"./virtual-scroll-viewport"}]},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":155,"character":42},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":156,"character":22},{"__symbolic":"reference","name":"VirtualScrollStrategy"},{"__symbolic":"reference","module":"@angular/cdk/bidi","name":"Directionality","line":159,"character":31},{"__symbolic":"reference","name":"ScrollDispatcher"},{"__symbolic":"reference","name":"ViewportRuler"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"attach":[{"__symbolic":"method"}],"detach":[{"__symbolic":"method"}],"getDataLength":[{"__symbolic":"method"}],"getViewportSize":[{"__symbolic":"method"}],"getRenderedRange":[{"__symbolic":"method"}],"setTotalContentSize":[{"__symbolic":"method"}],"setRenderedRange":[{"__symbolic":"method"}],"getOffsetToRenderedContentStart":[{"__symbolic":"method"}],"setRenderedContentOffset":[{"__symbolic":"method"}],"scrollToOffset":[{"__symbolic":"method"}],"scrollToIndex":[{"__symbolic":"method"}],"measureScrollOffset":[{"__symbolic":"method"}],"measureRenderedContentSize":[{"__symbolic":"method"}],"measureRangeSize":[{"__symbolic":"method"}],"checkViewportSize":[{"__symbolic":"method"}],"_measureViewportSize":[{"__symbolic":"method"}],"_markChangeDetectionNeeded":[{"__symbolic":"method"}],"_doChangeDetection":[{"__symbolic":"method"}],"_calculateSpacerSize":[{"__symbolic":"method"}]}}},"origins":{"FixedSizeVirtualScrollStrategy":"./fixed-size-virtual-scroll","_fixedSizeVirtualScrollStrategyFactory":"./fixed-size-virtual-scroll","CdkFixedSizeVirtualScroll":"./fixed-size-virtual-scroll","DEFAULT_SCROLL_TIME":"./scroll-dispatcher","ScrollDispatcher":"./scroll-dispatcher","_Without":"./scrollable","_XOR":"./scrollable","_Top":"./scrollable","_Bottom":"./scrollable","_Left":"./scrollable","_Right":"./scrollable","_Start":"./scrollable","_End":"./scrollable","_XAxis":"./scrollable","_YAxis":"./scrollable","ExtendedScrollToOptions":"./scrollable","CdkScrollable":"./scrollable","CdkScrollableModule":"./scrolling-module","ScrollingModule":"./scrolling-module","DEFAULT_RESIZE_TIME":"./viewport-ruler","ViewportScrollPosition":"./viewport-ruler","ViewportRuler":"./viewport-ruler","CdkVirtualForOfContext":"./virtual-for-of","CdkVirtualForOf":"./virtual-for-of","VIRTUAL_SCROLL_STRATEGY":"./virtual-scroll-strategy","VirtualScrollStrategy":"./virtual-scroll-strategy","CdkVirtualScrollViewport":"./virtual-scroll-viewport"},"importAs":"@angular/cdk/scrolling"}
|
|
@@ -10,7 +10,7 @@ import { ModifierKeys } from '@angular/cdk/testing';
|
|
|
10
10
|
* Utility to dispatch any event on a Node.
|
|
11
11
|
* @docs-private
|
|
12
12
|
*/
|
|
13
|
-
export declare function dispatchEvent(node: Node | Window, event:
|
|
13
|
+
export declare function dispatchEvent<T extends Event>(node: Node | Window, event: T): T;
|
|
14
14
|
/**
|
|
15
15
|
* Shorthand to dispatch a fake event on a specified node.
|
|
16
16
|
* @docs-private
|
|
@@ -25,9 +25,14 @@ export declare function dispatchKeyboardEvent(node: Node, type: string, keyCode?
|
|
|
25
25
|
* Shorthand to dispatch a mouse event on the specified coordinates.
|
|
26
26
|
* @docs-private
|
|
27
27
|
*/
|
|
28
|
-
export declare function dispatchMouseEvent(node: Node, type: string,
|
|
28
|
+
export declare function dispatchMouseEvent(node: Node, type: string, clientX?: number, clientY?: number): MouseEvent;
|
|
29
|
+
/**
|
|
30
|
+
* Shorthand to dispatch a pointer event on the specified coordinates.
|
|
31
|
+
* @docs-private
|
|
32
|
+
*/
|
|
33
|
+
export declare function dispatchPointerEvent(node: Node, type: string, clientX?: number, clientY?: number, options?: PointerEventInit): PointerEvent;
|
|
29
34
|
/**
|
|
30
35
|
* Shorthand to dispatch a touch event on the specified coordinates.
|
|
31
36
|
* @docs-private
|
|
32
37
|
*/
|
|
33
|
-
export declare function dispatchTouchEvent(node: Node, type: string, x?: number, y?: number):
|
|
38
|
+
export declare function dispatchTouchEvent(node: Node, type: string, x?: number, y?: number): UIEvent;
|
|
@@ -10,7 +10,18 @@ import { ModifierKeys } from '@angular/cdk/testing';
|
|
|
10
10
|
* Creates a browser MouseEvent with the specified options.
|
|
11
11
|
* @docs-private
|
|
12
12
|
*/
|
|
13
|
-
export declare function createMouseEvent(type: string,
|
|
13
|
+
export declare function createMouseEvent(type: string, clientX?: number, clientY?: number, button?: number): MouseEvent;
|
|
14
|
+
/**
|
|
15
|
+
* Creates a browser `PointerEvent` with the specified options. Pointer events
|
|
16
|
+
* by default will appear as if they are the primary pointer of their type.
|
|
17
|
+
* https://www.w3.org/TR/pointerevents2/#dom-pointerevent-isprimary.
|
|
18
|
+
*
|
|
19
|
+
* For example, if pointer events for a multi-touch interaction are created, the non-primary
|
|
20
|
+
* pointer touches would need to be represented by non-primary pointer events.
|
|
21
|
+
*
|
|
22
|
+
* @docs-private
|
|
23
|
+
*/
|
|
24
|
+
export declare function createPointerEvent(type: string, clientX?: number, clientY?: number, options?: PointerEventInit): PointerEvent;
|
|
14
25
|
/**
|
|
15
26
|
* Creates a browser TouchEvent with the specified pointer coordinates.
|
|
16
27
|
* @docs-private
|
package/tree/index.metadata.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"BaseTreeControl":{"__symbolic":"class","arity":1,"members":{"getDescendants":[{"__symbolic":"method"}],"expandAll":[{"__symbolic":"method"}],"toggle":[{"__symbolic":"method"}],"expand":[{"__symbolic":"method"}],"collapse":[{"__symbolic":"method"}],"isExpanded":[{"__symbolic":"method"}],"toggleDescendants":[{"__symbolic":"method"}],"collapseAll":[{"__symbolic":"method"}],"expandDescendants":[{"__symbolic":"method"}],"collapseDescendants":[{"__symbolic":"method"}]}},"FlatTreeControl":{"__symbolic":"class","arity":1,"extends":{"__symbolic":"reference","name":"BaseTreeControl"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":14,"character":31,"module":"./control/flat-tree-control"},{"__symbolic":"error","message":"Expression form not supported","line":15,"character":35,"module":"./control/flat-tree-control"}]}],"getDescendants":[{"__symbolic":"method"}],"expandAll":[{"__symbolic":"method"}]}},"NestedTreeControl":{"__symbolic":"class","arity":1,"extends":{"__symbolic":"reference","name":"BaseTreeControl"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":15,"character":34,"module":"./control/nested-tree-control"}]}],"expandAll":[{"__symbolic":"method"}],"getDescendants":[{"__symbolic":"method"}],"_getDescendants":[{"__symbolic":"method"}]}},"TreeControl":{"__symbolic":"interface"},"CdkNestedTreeNode":{"__symbolic":"class","arity":1,"extends":{"__symbolic":"reference","name":"CdkTreeNode"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":30,"character":1},"arguments":[{"selector":"cdk-nested-tree-node","exportAs":"cdkNestedTreeNode","host":{"[attr.aria-expanded]":"isExpanded","[attr.role]":"role","class":"cdk-tree-node cdk-nested-tree-node","$quoted$":["[attr.aria-expanded]","[attr.role]","class"]},"providers":[{"provide":{"__symbolic":"reference","name":"CdkTreeNode"},"useExisting":{"__symbolic":"reference","name":"CdkNestedTreeNode"}},{"provide":{"__symbolic":"reference","name":"CDK_TREE_NODE_OUTLET_NODE"},"useExisting":{"__symbolic":"reference","name":"CdkNestedTreeNode"}}]}]}],"members":{"nodeOutlet":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren","line":51,"character":3},"arguments":[{"__symbolic":"reference","name":"CdkTreeNodeOutlet"},{"descendants":true}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":58,"character":48,"context":{"typeName":"HTMLElement"},"module":"./nested-node"}]},{"__symbolic":"reference","name":"CdkTree"},{"__symbolic":"reference","module":"@angular/core","name":"IterableDiffers","line":60,"character":34}]}],"ngAfterContentInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"updateChildrenNodes":[{"__symbolic":"method"}],"_clear":[{"__symbolic":"method"}],"_getNodeOutlet":[{"__symbolic":"method"}]}},"CdkTreeNodeOutletContext":{"__symbolic":"class","arity":1,"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Could not resolve type","line":25,"character":20,"context":{"typeName":"T"},"module":"./node"}]}]}},"CdkTreeNodeDef":{"__symbolic":"class","arity":1,"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":34,"character":1},"arguments":[{"selector":"[cdkTreeNodeDef]","inputs":["when: cdkTreeNodeDefWhen"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"any"}]}]}]}},"CdkTreeNodePadding":{"__symbolic":"class","arity":1,"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":22,"character":1},"arguments":[{"selector":"[cdkTreeNodePadding]"}]}],"members":{"level":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":36,"character":3},"arguments":["cdkTreeNodePadding"]}]}],"indent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":51,"character":3},"arguments":["cdkTreeNodePaddingIndent"]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":77,"character":15}}]],"parameters":[{"__symbolic":"reference","name":"CdkTreeNode"},{"__symbolic":"reference","name":"CdkTree"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":75,"character":25},{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":76,"character":43,"context":{"typeName":"HTMLElement"},"module":"./padding"}]},{"__symbolic":"reference","module":"@angular/cdk/bidi","name":"Directionality","line":77,"character":40}]}],"ngOnDestroy":[{"__symbolic":"method"}],"_paddingIndent":[{"__symbolic":"method"}],"_setPadding":[{"__symbolic":"method"}]}},"CDK_TREE_NODE_OUTLET_NODE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":20,"character":45},"arguments":["CDK_TREE_NODE_OUTLET_NODE"]},"CdkTreeNodeOutlet":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":26,"character":1},"arguments":[{"selector":"[cdkTreeNodeOutlet]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":32,"character":7},"arguments":[{"__symbolic":"reference","name":"CDK_TREE_NODE_OUTLET_NODE"}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":32,"character":42}}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef","line":31,"character":28},{"__symbolic":"reference","name":"any"}]}]}},"CdkTree":{"__symbolic":"class","arity":1,"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":53,"character":1},"arguments":[{"selector":"cdk-tree","exportAs":"cdkTree","template":"<ng-container cdkTreeNodeOutlet></ng-container>","host":{"class":"cdk-tree","role":"tree","$quoted$":["class","role"]},"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":61,"character":17},"member":"None"},"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":67,"character":19},"member":"Default"}}]}],"members":{"dataSource":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":90,"character":3}}]}],"treeControl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":100,"character":3}}]}],"trackBy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":108,"character":3}}]}],"_nodeOutlet":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":111,"character":3},"arguments":[{"__symbolic":"reference","name":"CdkTreeNodeOutlet"},{"static":true}]}]}],"_nodeDefs":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren","line":114,"character":3},"arguments":[{"__symbolic":"reference","name":"CdkTreeNodeDef"},{"descendants":true}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"IterableDiffers","line":129,"character":32},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":130,"character":42}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"ngAfterContentChecked":[{"__symbolic":"method"}],"_switchDataSource":[{"__symbolic":"method"}],"_observeRenderChanges":[{"__symbolic":"method"}],"renderNodeChanges":[{"__symbolic":"method"}],"_getNodeDef":[{"__symbolic":"method"}],"insertNode":[{"__symbolic":"method"}]}},"CdkTreeNode":{"__symbolic":"class","arity":1,"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":295,"character":1},"arguments":[{"selector":"cdk-tree-node","exportAs":"cdkTreeNode","host":{"[attr.aria-expanded]":"isExpanded","[attr.aria-level]":"role === \"treeitem\" ? level : null","[attr.role]":"role","class":"cdk-tree-node","$quoted$":["[attr.aria-expanded]","[attr.aria-level]","[attr.role]","class"]}}]}],"members":{"role":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":341,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":343,"character":48,"context":{"typeName":"HTMLElement"},"module":"./tree"}]},{"__symbolic":"reference","name":"CdkTree"}]}],"ngOnDestroy":[{"__symbolic":"method"}],"focus":[{"__symbolic":"method"}],"_setRoleFromData":[{"__symbolic":"method"}],"_setRoleFromChildren":[{"__symbolic":"method"}]},"statics":{"mostRecentTreeNode":null}},"getTreeNoValidDataSourceError":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"Error"},"arguments":["A valid data source must be provided."]}},"getTreeMultipleDefaultNodeDefsError":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"Error"},"arguments":["There can only be one default row without a when predicate function."]}},"getTreeMissingMatchingNodeDefError":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"Error"},"arguments":["Could not find a matching node definition for the provided node data."]}},"getTreeControlMissingError":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"Error"},"arguments":["Could not find a tree control for the tree."]}},"getTreeControlFunctionsMissingError":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"Error"},"arguments":["Could not find functions for nested/flat tree in tree control."]}},"CdkTreeModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":27,"character":1},"arguments":[{"exports":[{"__symbolic":"reference","name":"CdkNestedTreeNode"},{"__symbolic":"reference","name":"CdkTreeNodeDef"},{"__symbolic":"reference","name":"CdkTreeNodePadding"},{"__symbolic":"reference","name":"CdkTreeNodeToggle"},{"__symbolic":"reference","name":"CdkTree"},{"__symbolic":"reference","name":"CdkTreeNode"},{"__symbolic":"reference","name":"CdkTreeNodeOutlet"}],"declarations":[{"__symbolic":"reference","name":"CdkNestedTreeNode"},{"__symbolic":"reference","name":"CdkTreeNodeDef"},{"__symbolic":"reference","name":"CdkTreeNodePadding"},{"__symbolic":"reference","name":"CdkTreeNodeToggle"},{"__symbolic":"reference","name":"CdkTree"},{"__symbolic":"reference","name":"CdkTreeNode"},{"__symbolic":"reference","name":"CdkTreeNodeOutlet"}],"providers":[{"__symbolic":"reference","module":"@angular/cdk/a11y","name":"FocusMonitor","line":30,"character":14},{"__symbolic":"reference","name":"CdkTreeNodeDef"}]}]}],"members":{}},"CdkTreeNodeToggle":{"__symbolic":"class","arity":1,"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":16,"character":1},"arguments":[{"selector":"[cdkTreeNodeToggle]"}]}],"members":{"recursive":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":19,"character":3},"arguments":["cdkTreeNodeToggleRecursive"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"CdkTree"},{"__symbolic":"reference","name":"CdkTreeNode"}]}],"_toggle":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":32,"character":3},"arguments":["click",["$event"]]}]}]}}},"origins":{"BaseTreeControl":"./control/base-tree-control","FlatTreeControl":"./control/flat-tree-control","NestedTreeControl":"./control/nested-tree-control","TreeControl":"./control/tree-control","CdkNestedTreeNode":"./nested-node","CdkTreeNodeOutletContext":"./node","CdkTreeNodeDef":"./node","CdkTreeNodePadding":"./padding","CDK_TREE_NODE_OUTLET_NODE":"./outlet","CdkTreeNodeOutlet":"./outlet","CdkTree":"./tree","CdkTreeNode":"./tree","getTreeNoValidDataSourceError":"./tree-errors","getTreeMultipleDefaultNodeDefsError":"./tree-errors","getTreeMissingMatchingNodeDefError":"./tree-errors","getTreeControlMissingError":"./tree-errors","getTreeControlFunctionsMissingError":"./tree-errors","CdkTreeModule":"./tree-module","CdkTreeNodeToggle":"./toggle"},"importAs":"@angular/cdk/tree"}
|
|
1
|
+
{"__symbolic":"module","version":4,"metadata":{"BaseTreeControl":{"__symbolic":"class","arity":1,"members":{"getDescendants":[{"__symbolic":"method"}],"expandAll":[{"__symbolic":"method"}],"toggle":[{"__symbolic":"method"}],"expand":[{"__symbolic":"method"}],"collapse":[{"__symbolic":"method"}],"isExpanded":[{"__symbolic":"method"}],"toggleDescendants":[{"__symbolic":"method"}],"collapseAll":[{"__symbolic":"method"}],"expandDescendants":[{"__symbolic":"method"}],"collapseDescendants":[{"__symbolic":"method"}]}},"FlatTreeControl":{"__symbolic":"class","arity":1,"extends":{"__symbolic":"reference","name":"BaseTreeControl"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":14,"character":31,"module":"./control/flat-tree-control"},{"__symbolic":"error","message":"Expression form not supported","line":15,"character":35,"module":"./control/flat-tree-control"}]}],"getDescendants":[{"__symbolic":"method"}],"expandAll":[{"__symbolic":"method"}]}},"NestedTreeControl":{"__symbolic":"class","arity":1,"extends":{"__symbolic":"reference","name":"BaseTreeControl"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":15,"character":34,"module":"./control/nested-tree-control"}]}],"expandAll":[{"__symbolic":"method"}],"getDescendants":[{"__symbolic":"method"}],"_getDescendants":[{"__symbolic":"method"}]}},"TreeControl":{"__symbolic":"interface"},"CdkNestedTreeNode":{"__symbolic":"class","arity":1,"extends":{"__symbolic":"reference","name":"CdkTreeNode"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":30,"character":1},"arguments":[{"selector":"cdk-nested-tree-node","exportAs":"cdkNestedTreeNode","host":{"[attr.aria-expanded]":"isExpanded","[attr.role]":"role","class":"cdk-tree-node cdk-nested-tree-node","$quoted$":["[attr.aria-expanded]","[attr.role]","class"]},"providers":[{"provide":{"__symbolic":"reference","name":"CdkTreeNode"},"useExisting":{"__symbolic":"reference","name":"CdkNestedTreeNode"}},{"provide":{"__symbolic":"reference","name":"CDK_TREE_NODE_OUTLET_NODE"},"useExisting":{"__symbolic":"reference","name":"CdkNestedTreeNode"}}]}]}],"members":{"nodeOutlet":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren","line":51,"character":3},"arguments":[{"__symbolic":"reference","name":"CdkTreeNodeOutlet"},{"descendants":true}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":58,"character":48,"context":{"typeName":"HTMLElement"},"module":"./nested-node"}]},{"__symbolic":"reference","name":"CdkTree"},{"__symbolic":"reference","module":"@angular/core","name":"IterableDiffers","line":60,"character":34}]}],"ngAfterContentInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"updateChildrenNodes":[{"__symbolic":"method"}],"_clear":[{"__symbolic":"method"}],"_getNodeOutlet":[{"__symbolic":"method"}]}},"CdkTreeNodeOutletContext":{"__symbolic":"class","arity":1,"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Could not resolve type","line":25,"character":20,"context":{"typeName":"T"},"module":"./node"}]}]}},"CdkTreeNodeDef":{"__symbolic":"class","arity":1,"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":34,"character":1},"arguments":[{"selector":"[cdkTreeNodeDef]","inputs":["when: cdkTreeNodeDefWhen"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"any"}]}]}]}},"CdkTreeNodePadding":{"__symbolic":"class","arity":1,"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":22,"character":1},"arguments":[{"selector":"[cdkTreeNodePadding]"}]}],"members":{"level":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":36,"character":3},"arguments":["cdkTreeNodePadding"]}]}],"indent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":51,"character":3},"arguments":["cdkTreeNodePaddingIndent"]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":77,"character":15}}]],"parameters":[{"__symbolic":"reference","name":"CdkTreeNode"},{"__symbolic":"reference","name":"CdkTree"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":75,"character":25},{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":76,"character":43,"context":{"typeName":"HTMLElement"},"module":"./padding"}]},{"__symbolic":"reference","module":"@angular/cdk/bidi","name":"Directionality","line":77,"character":40}]}],"ngOnDestroy":[{"__symbolic":"method"}],"_paddingIndent":[{"__symbolic":"method"}],"_setPadding":[{"__symbolic":"method"}]}},"CDK_TREE_NODE_OUTLET_NODE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":20,"character":45},"arguments":["CDK_TREE_NODE_OUTLET_NODE"]},"CdkTreeNodeOutlet":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":26,"character":1},"arguments":[{"selector":"[cdkTreeNodeOutlet]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":32,"character":7},"arguments":[{"__symbolic":"reference","name":"CDK_TREE_NODE_OUTLET_NODE"}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":32,"character":42}}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef","line":31,"character":28},{"__symbolic":"reference","name":"any"}]}]}},"CdkTree":{"__symbolic":"class","arity":1,"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":53,"character":1},"arguments":[{"selector":"cdk-tree","exportAs":"cdkTree","template":"<ng-container cdkTreeNodeOutlet></ng-container>","host":{"class":"cdk-tree","role":"tree","$quoted$":["class","role"]},"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":61,"character":17},"member":"None"},"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":67,"character":19},"member":"Default"}}]}],"members":{"dataSource":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":90,"character":3}}]}],"treeControl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":100,"character":3}}]}],"trackBy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":108,"character":3}}]}],"_nodeOutlet":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":111,"character":3},"arguments":[{"__symbolic":"reference","name":"CdkTreeNodeOutlet"},{"static":true}]}]}],"_nodeDefs":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren","line":114,"character":3},"arguments":[{"__symbolic":"reference","name":"CdkTreeNodeDef"},{"descendants":true}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"IterableDiffers","line":129,"character":32},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":130,"character":42}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"ngAfterContentChecked":[{"__symbolic":"method"}],"_switchDataSource":[{"__symbolic":"method"}],"_observeRenderChanges":[{"__symbolic":"method"}],"renderNodeChanges":[{"__symbolic":"method"}],"_getNodeDef":[{"__symbolic":"method"}],"insertNode":[{"__symbolic":"method"}]}},"CdkTreeNode":{"__symbolic":"class","arity":1,"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":296,"character":1},"arguments":[{"selector":"cdk-tree-node","exportAs":"cdkTreeNode","host":{"[attr.aria-expanded]":"isExpanded","[attr.aria-level]":"role === \"treeitem\" ? level : null","[attr.role]":"role","class":"cdk-tree-node","$quoted$":["[attr.aria-expanded]","[attr.aria-level]","[attr.role]","class"]}}]}],"members":{"role":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":342,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":344,"character":48,"context":{"typeName":"HTMLElement"},"module":"./tree"}]},{"__symbolic":"reference","name":"CdkTree"}]}],"ngOnDestroy":[{"__symbolic":"method"}],"focus":[{"__symbolic":"method"}],"_setRoleFromData":[{"__symbolic":"method"}],"_setRoleFromChildren":[{"__symbolic":"method"}]},"statics":{"mostRecentTreeNode":null}},"getTreeNoValidDataSourceError":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"Error"},"arguments":["A valid data source must be provided."]}},"getTreeMultipleDefaultNodeDefsError":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"Error"},"arguments":["There can only be one default row without a when predicate function."]}},"getTreeMissingMatchingNodeDefError":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"Error"},"arguments":["Could not find a matching node definition for the provided node data."]}},"getTreeControlMissingError":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"Error"},"arguments":["Could not find a tree control for the tree."]}},"getTreeControlFunctionsMissingError":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"Error"},"arguments":["Could not find functions for nested/flat tree in tree control."]}},"CdkTreeModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":27,"character":1},"arguments":[{"exports":[{"__symbolic":"reference","name":"CdkNestedTreeNode"},{"__symbolic":"reference","name":"CdkTreeNodeDef"},{"__symbolic":"reference","name":"CdkTreeNodePadding"},{"__symbolic":"reference","name":"CdkTreeNodeToggle"},{"__symbolic":"reference","name":"CdkTree"},{"__symbolic":"reference","name":"CdkTreeNode"},{"__symbolic":"reference","name":"CdkTreeNodeOutlet"}],"declarations":[{"__symbolic":"reference","name":"CdkNestedTreeNode"},{"__symbolic":"reference","name":"CdkTreeNodeDef"},{"__symbolic":"reference","name":"CdkTreeNodePadding"},{"__symbolic":"reference","name":"CdkTreeNodeToggle"},{"__symbolic":"reference","name":"CdkTree"},{"__symbolic":"reference","name":"CdkTreeNode"},{"__symbolic":"reference","name":"CdkTreeNodeOutlet"}],"providers":[{"__symbolic":"reference","module":"@angular/cdk/a11y","name":"FocusMonitor","line":30,"character":14},{"__symbolic":"reference","name":"CdkTreeNodeDef"}]}]}],"members":{}},"CdkTreeNodeToggle":{"__symbolic":"class","arity":1,"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":16,"character":1},"arguments":[{"selector":"[cdkTreeNodeToggle]"}]}],"members":{"recursive":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":19,"character":3},"arguments":["cdkTreeNodeToggleRecursive"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"CdkTree"},{"__symbolic":"reference","name":"CdkTreeNode"}]}],"_toggle":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":32,"character":3},"arguments":["click",["$event"]]}]}]}}},"origins":{"BaseTreeControl":"./control/base-tree-control","FlatTreeControl":"./control/flat-tree-control","NestedTreeControl":"./control/nested-tree-control","TreeControl":"./control/tree-control","CdkNestedTreeNode":"./nested-node","CdkTreeNodeOutletContext":"./node","CdkTreeNodeDef":"./node","CdkTreeNodePadding":"./padding","CDK_TREE_NODE_OUTLET_NODE":"./outlet","CdkTreeNodeOutlet":"./outlet","CdkTree":"./tree","CdkTreeNode":"./tree","getTreeNoValidDataSourceError":"./tree-errors","getTreeMultipleDefaultNodeDefsError":"./tree-errors","getTreeMissingMatchingNodeDefError":"./tree-errors","getTreeControlMissingError":"./tree-errors","getTreeControlFunctionsMissingError":"./tree-errors","CdkTreeModule":"./tree-module","CdkTreeNodeToggle":"./toggle"},"importAs":"@angular/cdk/tree"}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
(function (factory) {
|
|
9
|
-
if (typeof module === "object" && typeof module.exports === "object") {
|
|
10
|
-
var v = factory(require, exports);
|
|
11
|
-
if (v !== undefined) module.exports = v;
|
|
12
|
-
}
|
|
13
|
-
else if (typeof define === "function" && define.amd) {
|
|
14
|
-
define("@angular/cdk/schematics/ng-update/upgrade-rules/attribute-selectors-rule", ["require", "exports", "typescript", "@angular/cdk/schematics/update-tool/migration-rule", "@angular/cdk/schematics/ng-update/typescript/literal", "@angular/cdk/schematics/ng-update/upgrade-data"], factory);
|
|
15
|
-
}
|
|
16
|
-
})(function (require, exports) {
|
|
17
|
-
"use strict";
|
|
18
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
const ts = require("typescript");
|
|
20
|
-
const migration_rule_1 = require("@angular/cdk/schematics/update-tool/migration-rule");
|
|
21
|
-
const literal_1 = require("@angular/cdk/schematics/ng-update/typescript/literal");
|
|
22
|
-
const upgrade_data_1 = require("@angular/cdk/schematics/ng-update/upgrade-data");
|
|
23
|
-
/**
|
|
24
|
-
* Migration rule that walks through every string literal, template and stylesheet
|
|
25
|
-
* in order to switch deprecated attribute selectors to the updated selector.
|
|
26
|
-
*/
|
|
27
|
-
class AttributeSelectorsRule extends migration_rule_1.MigrationRule {
|
|
28
|
-
constructor() {
|
|
29
|
-
super(...arguments);
|
|
30
|
-
/** Required upgrade changes for specified target version. */
|
|
31
|
-
this.data = upgrade_data_1.getVersionUpgradeData(this, 'attributeSelectors');
|
|
32
|
-
// Only enable the migration rule if there is upgrade data.
|
|
33
|
-
this.ruleEnabled = this.data.length !== 0;
|
|
34
|
-
}
|
|
35
|
-
visitNode(node) {
|
|
36
|
-
if (ts.isStringLiteralLike(node)) {
|
|
37
|
-
this._visitStringLiteralLike(node);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
visitTemplate(template) {
|
|
41
|
-
this.data.forEach(selector => {
|
|
42
|
-
literal_1.findAllSubstringIndices(template.content, selector.replace)
|
|
43
|
-
.map(offset => template.start + offset)
|
|
44
|
-
.forEach(start => this._replaceSelector(template.filePath, start, selector));
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
visitStylesheet(stylesheet) {
|
|
48
|
-
this.data.forEach(selector => {
|
|
49
|
-
const currentSelector = `[${selector.replace}]`;
|
|
50
|
-
const updatedSelector = `[${selector.replaceWith}]`;
|
|
51
|
-
literal_1.findAllSubstringIndices(stylesheet.content, currentSelector)
|
|
52
|
-
.map(offset => stylesheet.start + offset)
|
|
53
|
-
.forEach(start => this._replaceSelector(stylesheet.filePath, start, { replace: currentSelector, replaceWith: updatedSelector }));
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
_visitStringLiteralLike(literal) {
|
|
57
|
-
if (literal.parent && literal.parent.kind !== ts.SyntaxKind.CallExpression) {
|
|
58
|
-
return;
|
|
59
|
-
}
|
|
60
|
-
const literalText = literal.getText();
|
|
61
|
-
const filePath = literal.getSourceFile().fileName;
|
|
62
|
-
this.data.forEach(selector => {
|
|
63
|
-
literal_1.findAllSubstringIndices(literalText, selector.replace)
|
|
64
|
-
.map(offset => literal.getStart() + offset)
|
|
65
|
-
.forEach(start => this._replaceSelector(filePath, start, selector));
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
_replaceSelector(filePath, start, data) {
|
|
69
|
-
const updateRecorder = this.getUpdateRecorder(filePath);
|
|
70
|
-
updateRecorder.remove(start, data.replace.length);
|
|
71
|
-
updateRecorder.insertRight(start, data.replaceWith);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
exports.AttributeSelectorsRule = AttributeSelectorsRule;
|
|
75
|
-
});
|
|
76
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXR0cmlidXRlLXNlbGVjdG9ycy1ydWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2Nkay9zY2hlbWF0aWNzL25nLXVwZGF0ZS91cGdyYWRlLXJ1bGVzL2F0dHJpYnV0ZS1zZWxlY3RvcnMtcnVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7O0dBTUc7Ozs7Ozs7Ozs7O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