@angular/cdk 19.2.13 → 19.2.15
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/_adev_assets/cdk_testing.json +7032 -1
- package/_adev_assets/cdk_testing_protractor.json +1747 -1
- package/_adev_assets/cdk_testing_selenium_webdriver.json +1801 -1
- package/_adev_assets/cdk_testing_testbed.json +1903 -1
- package/dialog/index.d.ts +17 -12
- package/fesm2022/cdk.mjs +1 -1
- package/fesm2022/cdk.mjs.map +1 -1
- package/fesm2022/dialog.mjs +21 -9
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/testing.mjs +255 -52
- package/fesm2022/testing.mjs.map +1 -1
- package/{harness-environment.d-BatBdODN.d.ts → harness-environment.d-BbFzIFDE.d.ts} +362 -89
- package/package.json +1 -1
- package/schematics/ng-add/index.js +1 -1
- package/testing/index.d.ts +6 -2
- package/testing/selenium-webdriver/index.d.ts +1 -1
- package/testing/testbed/index.d.ts +1 -1
- package/npm_package/LICENSE +0 -21
- package/npm_package/README.md +0 -6
- package/npm_package/_adev_assets/cdk_testing.json +0 -1
- package/npm_package/_adev_assets/cdk_testing_protractor.json +0 -1
- package/npm_package/_adev_assets/cdk_testing_selenium_webdriver.json +0 -1
- package/npm_package/_adev_assets/cdk_testing_testbed.json +0 -1
- package/npm_package/_index.scss +0 -8
- package/npm_package/a11y/_index.scss +0 -60
- package/npm_package/a11y/index.d.ts +0 -550
- package/npm_package/a11y-module.d-DBHGyKoh.d.ts +0 -314
- package/npm_package/a11y-prebuilt.css +0 -1
- package/npm_package/accordion/index.d.ts +0 -90
- package/npm_package/activedescendant-key-manager.d-Bjic5obv.d.ts +0 -32
- package/npm_package/bidi/index.d.ts +0 -21
- package/npm_package/bidi-module.d-D-fEBKdS.d.ts +0 -54
- package/npm_package/clipboard/index.d.ts +0 -101
- package/npm_package/coercion/index.d.ts +0 -45
- package/npm_package/coercion/private/index.d.ts +0 -9
- package/npm_package/collections/index.d.ts +0 -99
- package/npm_package/data-source.d-Bblv7Zvh.d.ts +0 -43
- package/npm_package/dialog/index.d.ts +0 -426
- package/npm_package/drag-drop/index.d.ts +0 -1383
- package/npm_package/fesm2022/a11y-module-BYox5gpI.mjs +0 -952
- package/npm_package/fesm2022/a11y-module-BYox5gpI.mjs.map +0 -1
- package/npm_package/fesm2022/a11y.mjs +0 -539
- package/npm_package/fesm2022/a11y.mjs.map +0 -1
- package/npm_package/fesm2022/accordion.mjs +0 -210
- package/npm_package/fesm2022/accordion.mjs.map +0 -1
- package/npm_package/fesm2022/activedescendant-key-manager-DC3-fwQI.mjs +0 -16
- package/npm_package/fesm2022/activedescendant-key-manager-DC3-fwQI.mjs.map +0 -1
- package/npm_package/fesm2022/array-I1yfCXUO.mjs +0 -6
- package/npm_package/fesm2022/array-I1yfCXUO.mjs.map +0 -1
- package/npm_package/fesm2022/backwards-compatibility-DHR38MsD.mjs +0 -25
- package/npm_package/fesm2022/backwards-compatibility-DHR38MsD.mjs.map +0 -1
- package/npm_package/fesm2022/bidi.mjs +0 -80
- package/npm_package/fesm2022/bidi.mjs.map +0 -1
- package/npm_package/fesm2022/boolean-property-DaaVhX5A.mjs +0 -7
- package/npm_package/fesm2022/boolean-property-DaaVhX5A.mjs.map +0 -1
- package/npm_package/fesm2022/breakpoints-observer-CljOfYGy.mjs +0 -179
- package/npm_package/fesm2022/breakpoints-observer-CljOfYGy.mjs.map +0 -1
- package/npm_package/fesm2022/cdk.mjs +0 -7
- package/npm_package/fesm2022/cdk.mjs.map +0 -1
- package/npm_package/fesm2022/clipboard.mjs +0 -211
- package/npm_package/fesm2022/clipboard.mjs.map +0 -1
- package/npm_package/fesm2022/coercion/private.mjs +0 -15
- package/npm_package/fesm2022/coercion/private.mjs.map +0 -1
- package/npm_package/fesm2022/coercion.mjs +0 -39
- package/npm_package/fesm2022/coercion.mjs.map +0 -1
- package/npm_package/fesm2022/collections.mjs +0 -8
- package/npm_package/fesm2022/collections.mjs.map +0 -1
- package/npm_package/fesm2022/css-pixel-value-C_HEqLhI.mjs +0 -10
- package/npm_package/fesm2022/css-pixel-value-C_HEqLhI.mjs.map +0 -1
- package/npm_package/fesm2022/data-source-D34wiQZj.mjs +0 -15
- package/npm_package/fesm2022/data-source-D34wiQZj.mjs.map +0 -1
- package/npm_package/fesm2022/dialog.mjs +0 -870
- package/npm_package/fesm2022/dialog.mjs.map +0 -1
- package/npm_package/fesm2022/directionality-CBXD4hga.mjs +0 -72
- package/npm_package/fesm2022/directionality-CBXD4hga.mjs.map +0 -1
- package/npm_package/fesm2022/dispose-view-repeater-strategy-D_JReLI1.mjs +0 -44
- package/npm_package/fesm2022/dispose-view-repeater-strategy-D_JReLI1.mjs.map +0 -1
- package/npm_package/fesm2022/drag-drop.mjs +0 -4359
- package/npm_package/fesm2022/drag-drop.mjs.map +0 -1
- package/npm_package/fesm2022/element-x4z00URv.mjs +0 -29
- package/npm_package/fesm2022/element-x4z00URv.mjs.map +0 -1
- package/npm_package/fesm2022/fake-event-detection-DWOdFTFz.mjs +0 -24
- package/npm_package/fesm2022/fake-event-detection-DWOdFTFz.mjs.map +0 -1
- package/npm_package/fesm2022/focus-key-manager-C1rAQJ5z.mjs +0 -22
- package/npm_package/fesm2022/focus-key-manager-C1rAQJ5z.mjs.map +0 -1
- package/npm_package/fesm2022/focus-monitor-e2l_RpN3.mjs +0 -629
- package/npm_package/fesm2022/focus-monitor-e2l_RpN3.mjs.map +0 -1
- package/npm_package/fesm2022/id-generator-Dw_9dSDu.mjs +0 -37
- package/npm_package/fesm2022/id-generator-Dw_9dSDu.mjs.map +0 -1
- package/npm_package/fesm2022/keycodes-CpHkExLC.mjs +0 -122
- package/npm_package/fesm2022/keycodes-CpHkExLC.mjs.map +0 -1
- package/npm_package/fesm2022/keycodes.mjs +0 -15
- package/npm_package/fesm2022/keycodes.mjs.map +0 -1
- package/npm_package/fesm2022/layout.mjs +0 -43
- package/npm_package/fesm2022/layout.mjs.map +0 -1
- package/npm_package/fesm2022/list-key-manager-CyOIXo8P.mjs +0 -360
- package/npm_package/fesm2022/list-key-manager-CyOIXo8P.mjs.map +0 -1
- package/npm_package/fesm2022/listbox.mjs +0 -925
- package/npm_package/fesm2022/listbox.mjs.map +0 -1
- package/npm_package/fesm2022/menu.mjs +0 -1966
- package/npm_package/fesm2022/menu.mjs.map +0 -1
- package/npm_package/fesm2022/observers/private.mjs +0 -124
- package/npm_package/fesm2022/observers/private.mjs.map +0 -1
- package/npm_package/fesm2022/observers.mjs +0 -210
- package/npm_package/fesm2022/observers.mjs.map +0 -1
- package/npm_package/fesm2022/overlay-module-BUj0D19H.mjs +0 -3029
- package/npm_package/fesm2022/overlay-module-BUj0D19H.mjs.map +0 -1
- package/npm_package/fesm2022/overlay.mjs +0 -102
- package/npm_package/fesm2022/overlay.mjs.map +0 -1
- package/npm_package/fesm2022/passive-listeners-esHZRgIN.mjs +0 -31
- package/npm_package/fesm2022/passive-listeners-esHZRgIN.mjs.map +0 -1
- package/npm_package/fesm2022/platform-DmdVEw_C.mjs +0 -77
- package/npm_package/fesm2022/platform-DmdVEw_C.mjs.map +0 -1
- package/npm_package/fesm2022/platform.mjs +0 -74
- package/npm_package/fesm2022/platform.mjs.map +0 -1
- package/npm_package/fesm2022/portal-directives-Bw5woq8I.mjs +0 -653
- package/npm_package/fesm2022/portal-directives-Bw5woq8I.mjs.map +0 -1
- package/npm_package/fesm2022/portal.mjs +0 -29
- package/npm_package/fesm2022/portal.mjs.map +0 -1
- package/npm_package/fesm2022/private.mjs +0 -19
- package/npm_package/fesm2022/private.mjs.map +0 -1
- package/npm_package/fesm2022/recycle-view-repeater-strategy-DoWdPqVw.mjs +0 -156
- package/npm_package/fesm2022/recycle-view-repeater-strategy-DoWdPqVw.mjs.map +0 -1
- package/npm_package/fesm2022/scrolling-BkvA05C8.mjs +0 -99
- package/npm_package/fesm2022/scrolling-BkvA05C8.mjs.map +0 -1
- package/npm_package/fesm2022/scrolling.mjs +0 -1464
- package/npm_package/fesm2022/scrolling.mjs.map +0 -1
- package/npm_package/fesm2022/selection-model-CeeHVIcP.mjs +0 -226
- package/npm_package/fesm2022/selection-model-CeeHVIcP.mjs.map +0 -1
- package/npm_package/fesm2022/shadow-dom-B0oHn41l.mjs +0 -49
- package/npm_package/fesm2022/shadow-dom-B0oHn41l.mjs.map +0 -1
- package/npm_package/fesm2022/stepper.mjs +0 -614
- package/npm_package/fesm2022/stepper.mjs.map +0 -1
- package/npm_package/fesm2022/style-loader-Cu9AvjH9.mjs +0 -47
- package/npm_package/fesm2022/style-loader-Cu9AvjH9.mjs.map +0 -1
- package/npm_package/fesm2022/table.mjs +0 -2602
- package/npm_package/fesm2022/table.mjs.map +0 -1
- package/npm_package/fesm2022/test-environment-CT0XxPyp.mjs +0 -19
- package/npm_package/fesm2022/test-environment-CT0XxPyp.mjs.map +0 -1
- package/npm_package/fesm2022/testing/selenium-webdriver.mjs +0 -353
- package/npm_package/fesm2022/testing/selenium-webdriver.mjs.map +0 -1
- package/npm_package/fesm2022/testing/testbed.mjs +0 -782
- package/npm_package/fesm2022/testing/testbed.mjs.map +0 -1
- package/npm_package/fesm2022/testing.mjs +0 -698
- package/npm_package/fesm2022/testing.mjs.map +0 -1
- package/npm_package/fesm2022/text-field.mjs +0 -437
- package/npm_package/fesm2022/text-field.mjs.map +0 -1
- package/npm_package/fesm2022/tree-key-manager-KnCoIkIC.mjs +0 -360
- package/npm_package/fesm2022/tree-key-manager-KnCoIkIC.mjs.map +0 -1
- package/npm_package/fesm2022/tree.mjs +0 -1795
- package/npm_package/fesm2022/tree.mjs.map +0 -1
- package/npm_package/fesm2022/typeahead-9ZW4Dtsf.mjs +0 -88
- package/npm_package/fesm2022/typeahead-9ZW4Dtsf.mjs.map +0 -1
- package/npm_package/fesm2022/unique-selection-dispatcher-DtHZDqyJ.mjs +0 -49
- package/npm_package/fesm2022/unique-selection-dispatcher-DtHZDqyJ.mjs.map +0 -1
- package/npm_package/focus-key-manager.d-BIKDy8oD.d.ts +0 -34
- package/npm_package/focus-monitor.d-CvvJeQRc.d.ts +0 -210
- package/npm_package/harness-environment.d-BatBdODN.d.ts +0 -620
- package/npm_package/index.d.ts +0 -6
- package/npm_package/keycodes/index.d.ts +0 -129
- package/npm_package/layout/index.d.ts +0 -89
- package/npm_package/list-key-manager.d-BlK3jyRn.d.ts +0 -165
- package/npm_package/listbox/index.d.ts +0 -353
- package/npm_package/menu/index.d.ts +0 -821
- package/npm_package/number-property.d-CJVxXUcb.d.ts +0 -16
- package/npm_package/observers/index.d.ts +0 -84
- package/npm_package/observers/private/index.d.ts +0 -34
- package/npm_package/overlay/_index-deprecated.scss +0 -13
- package/npm_package/overlay/_index.scss +0 -193
- package/npm_package/overlay/index.d.ts +0 -42
- package/npm_package/overlay-module.d-B3qEQtts.d.ts +0 -791
- package/npm_package/overlay-prebuilt.css +0 -1
- package/npm_package/overlay.d-BdoMy0hX.d.ts +0 -296
- package/npm_package/package.json +0 -186
- package/npm_package/platform/index.d.ts +0 -83
- package/npm_package/platform.d-B3vREl3q.d.ts +0 -33
- package/npm_package/portal/index.d.ts +0 -86
- package/npm_package/portal-directives.d-BoG39gYN.d.ts +0 -232
- package/npm_package/private/index.d.ts +0 -13
- package/npm_package/schematics/collection.json +0 -18
- package/npm_package/schematics/index.d.ts +0 -14
- package/npm_package/schematics/index.js +0 -37
- package/npm_package/schematics/index.js.map +0 -1
- package/npm_package/schematics/migration.json +0 -15
- package/npm_package/schematics/ng-add/index.d.ts +0 -17
- package/npm_package/schematics/ng-add/index.js +0 -39
- package/npm_package/schematics/ng-add/index.js.map +0 -1
- package/npm_package/schematics/ng-add/package-config.d.ts +0 -12
- package/npm_package/schematics/ng-add/package-config.js +0 -51
- package/npm_package/schematics/ng-add/package-config.js.map +0 -1
- package/npm_package/schematics/ng-add/schema.d.ts +0 -11
- package/npm_package/schematics/ng-add/schema.js +0 -10
- package/npm_package/schematics/ng-add/schema.js.map +0 -1
- package/npm_package/schematics/ng-add/schema.json +0 -16
- package/npm_package/schematics/ng-generate/drag-drop/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.__style__.template +0 -53
- package/npm_package/schematics/ng-generate/drag-drop/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +0 -21
- package/npm_package/schematics/ng-generate/drag-drop/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.spec.ts.template +0 -25
- package/npm_package/schematics/ng-generate/drag-drop/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts.template +0 -45
- package/npm_package/schematics/ng-generate/drag-drop/index.d.ts +0 -11
- package/npm_package/schematics/ng-generate/drag-drop/index.js +0 -42
- package/npm_package/schematics/ng-generate/drag-drop/index.js.map +0 -1
- package/npm_package/schematics/ng-generate/drag-drop/schema.d.ts +0 -10
- package/npm_package/schematics/ng-generate/drag-drop/schema.js +0 -10
- package/npm_package/schematics/ng-generate/drag-drop/schema.js.map +0 -1
- package/npm_package/schematics/ng-generate/drag-drop/schema.json +0 -100
- package/npm_package/schematics/ng-update/data/attribute-selectors.d.ts +0 -15
- package/npm_package/schematics/ng-update/data/attribute-selectors.js +0 -12
- package/npm_package/schematics/ng-update/data/attribute-selectors.js.map +0 -1
- package/npm_package/schematics/ng-update/data/class-names.d.ts +0 -15
- package/npm_package/schematics/ng-update/data/class-names.js +0 -12
- package/npm_package/schematics/ng-update/data/class-names.js.map +0 -1
- package/npm_package/schematics/ng-update/data/constructor-checks.d.ts +0 -15
- package/npm_package/schematics/ng-update/data/constructor-checks.js +0 -17
- package/npm_package/schematics/ng-update/data/constructor-checks.js.map +0 -1
- package/npm_package/schematics/ng-update/data/css-selectors.d.ts +0 -27
- package/npm_package/schematics/ng-update/data/css-selectors.js +0 -12
- package/npm_package/schematics/ng-update/data/css-selectors.js.map +0 -1
- package/npm_package/schematics/ng-update/data/css-tokens.d.ts +0 -27
- package/npm_package/schematics/ng-update/data/css-tokens.js +0 -12
- package/npm_package/schematics/ng-update/data/css-tokens.js.map +0 -1
- package/npm_package/schematics/ng-update/data/element-selectors.d.ts +0 -15
- package/npm_package/schematics/ng-update/data/element-selectors.js +0 -12
- package/npm_package/schematics/ng-update/data/element-selectors.js.map +0 -1
- package/npm_package/schematics/ng-update/data/index.d.ts +0 -18
- package/npm_package/schematics/ng-update/data/index.js +0 -35
- package/npm_package/schematics/ng-update/data/index.js.map +0 -1
- package/npm_package/schematics/ng-update/data/input-names.d.ts +0 -22
- package/npm_package/schematics/ng-update/data/input-names.js +0 -12
- package/npm_package/schematics/ng-update/data/input-names.js.map +0 -1
- package/npm_package/schematics/ng-update/data/method-call-checks.d.ts +0 -17
- package/npm_package/schematics/ng-update/data/method-call-checks.js +0 -12
- package/npm_package/schematics/ng-update/data/method-call-checks.js.map +0 -1
- package/npm_package/schematics/ng-update/data/output-names.d.ts +0 -22
- package/npm_package/schematics/ng-update/data/output-names.js +0 -12
- package/npm_package/schematics/ng-update/data/output-names.js.map +0 -1
- package/npm_package/schematics/ng-update/data/property-names.d.ts +0 -20
- package/npm_package/schematics/ng-update/data/property-names.js +0 -12
- package/npm_package/schematics/ng-update/data/property-names.js.map +0 -1
- package/npm_package/schematics/ng-update/data/symbol-removal.d.ts +0 -17
- package/npm_package/schematics/ng-update/data/symbol-removal.js +0 -12
- package/npm_package/schematics/ng-update/data/symbol-removal.js.map +0 -1
- package/npm_package/schematics/ng-update/devkit-file-system.d.ts +0 -30
- package/npm_package/schematics/ng-update/devkit-file-system.js +0 -83
- package/npm_package/schematics/ng-update/devkit-file-system.js.map +0 -1
- package/npm_package/schematics/ng-update/devkit-migration-rule.d.ts +0 -24
- package/npm_package/schematics/ng-update/devkit-migration-rule.js +0 -142
- package/npm_package/schematics/ng-update/devkit-migration-rule.js.map +0 -1
- package/npm_package/schematics/ng-update/devkit-migration.d.ts +0 -35
- package/npm_package/schematics/ng-update/devkit-migration.js +0 -20
- package/npm_package/schematics/ng-update/devkit-migration.js.map +0 -1
- package/npm_package/schematics/ng-update/find-stylesheets.d.ts +0 -16
- package/npm_package/schematics/ng-update/find-stylesheets.js +0 -41
- package/npm_package/schematics/ng-update/find-stylesheets.js.map +0 -1
- package/npm_package/schematics/ng-update/html-parsing/angular.d.ts +0 -15
- package/npm_package/schematics/ng-update/html-parsing/angular.js +0 -51
- package/npm_package/schematics/ng-update/html-parsing/angular.js.map +0 -1
- package/npm_package/schematics/ng-update/html-parsing/elements.d.ts +0 -24
- package/npm_package/schematics/ng-update/html-parsing/elements.js +0 -63
- package/npm_package/schematics/ng-update/html-parsing/elements.js.map +0 -1
- package/npm_package/schematics/ng-update/index.d.ts +0 -10
- package/npm_package/schematics/ng-update/index.js +0 -29
- package/npm_package/schematics/ng-update/index.js.map +0 -1
- package/npm_package/schematics/ng-update/migrations/attribute-selectors.d.ts +0 -26
- package/npm_package/schematics/ng-update/migrations/attribute-selectors.js +0 -71
- package/npm_package/schematics/ng-update/migrations/attribute-selectors.js.map +0 -1
- package/npm_package/schematics/ng-update/migrations/class-inheritance.d.ts +0 -26
- package/npm_package/schematics/ng-update/migrations/class-inheritance.js +0 -58
- package/npm_package/schematics/ng-update/migrations/class-inheritance.js.map +0 -1
- package/npm_package/schematics/ng-update/migrations/class-names.d.ts +0 -32
- package/npm_package/schematics/ng-update/migrations/class-names.js +0 -91
- package/npm_package/schematics/ng-update/migrations/class-names.js.map +0 -1
- package/npm_package/schematics/ng-update/migrations/constructor-signature.d.ts +0 -29
- package/npm_package/schematics/ng-update/migrations/constructor-signature.js +0 -139
- package/npm_package/schematics/ng-update/migrations/constructor-signature.js.map +0 -1
- package/npm_package/schematics/ng-update/migrations/css-selectors.d.ts +0 -26
- package/npm_package/schematics/ng-update/migrations/css-selectors.js +0 -75
- package/npm_package/schematics/ng-update/migrations/css-selectors.js.map +0 -1
- package/npm_package/schematics/ng-update/migrations/css-tokens.d.ts +0 -26
- package/npm_package/schematics/ng-update/migrations/css-tokens.js +0 -83
- package/npm_package/schematics/ng-update/migrations/css-tokens.js.map +0 -1
- package/npm_package/schematics/ng-update/migrations/element-selectors.d.ts +0 -26
- package/npm_package/schematics/ng-update/migrations/element-selectors.js +0 -66
- package/npm_package/schematics/ng-update/migrations/element-selectors.js.map +0 -1
- package/npm_package/schematics/ng-update/migrations/input-names.d.ts +0 -26
- package/npm_package/schematics/ng-update/migrations/input-names.js +0 -59
- package/npm_package/schematics/ng-update/migrations/input-names.js.map +0 -1
- package/npm_package/schematics/ng-update/migrations/method-call-arguments.d.ts +0 -22
- package/npm_package/schematics/ng-update/migrations/method-call-arguments.js +0 -62
- package/npm_package/schematics/ng-update/migrations/method-call-arguments.js.map +0 -1
- package/npm_package/schematics/ng-update/migrations/misc-template.d.ts +0 -18
- package/npm_package/schematics/ng-update/migrations/misc-template.js +0 -25
- package/npm_package/schematics/ng-update/migrations/misc-template.js.map +0 -1
- package/npm_package/schematics/ng-update/migrations/output-names.d.ts +0 -22
- package/npm_package/schematics/ng-update/migrations/output-names.js +0 -46
- package/npm_package/schematics/ng-update/migrations/output-names.js.map +0 -1
- package/npm_package/schematics/ng-update/migrations/property-names.d.ts +0 -22
- package/npm_package/schematics/ng-update/migrations/property-names.js +0 -60
- package/npm_package/schematics/ng-update/migrations/property-names.js.map +0 -1
- package/npm_package/schematics/ng-update/migrations/symbol-removal.d.ts +0 -18
- package/npm_package/schematics/ng-update/migrations/symbol-removal.js +0 -47
- package/npm_package/schematics/ng-update/migrations/symbol-removal.js.map +0 -1
- package/npm_package/schematics/ng-update/public-api.d.ts +0 -19
- package/npm_package/schematics/ng-update/public-api.js +0 -36
- package/npm_package/schematics/ng-update/public-api.js.map +0 -1
- package/npm_package/schematics/ng-update/typescript/base-types.d.ts +0 -10
- package/npm_package/schematics/ng-update/typescript/base-types.js +0 -23
- package/npm_package/schematics/ng-update/typescript/base-types.js.map +0 -1
- package/npm_package/schematics/ng-update/typescript/imports.d.ts +0 -18
- package/npm_package/schematics/ng-update/typescript/imports.js +0 -53
- package/npm_package/schematics/ng-update/typescript/imports.js.map +0 -1
- package/npm_package/schematics/ng-update/typescript/literal.d.ts +0 -18
- package/npm_package/schematics/ng-update/typescript/literal.js +0 -32
- package/npm_package/schematics/ng-update/typescript/literal.js.map +0 -1
- package/npm_package/schematics/ng-update/typescript/module-specifiers.d.ts +0 -16
- package/npm_package/schematics/ng-update/typescript/module-specifiers.js +0 -35
- package/npm_package/schematics/ng-update/typescript/module-specifiers.js.map +0 -1
- package/npm_package/schematics/ng-update/upgrade-data.d.ts +0 -35
- package/npm_package/schematics/ng-update/upgrade-data.js +0 -40
- package/npm_package/schematics/ng-update/upgrade-data.js.map +0 -1
- package/npm_package/schematics/package.json +0 -3
- package/npm_package/schematics/paths.d.ts +0 -11
- package/npm_package/schematics/paths.js +0 -16
- package/npm_package/schematics/paths.js.map +0 -1
- package/npm_package/schematics/update-tool/component-resource-collector.d.ts +0 -44
- package/npm_package/schematics/update-tool/component-resource-collector.js +0 -164
- package/npm_package/schematics/update-tool/component-resource-collector.js.map +0 -1
- package/npm_package/schematics/update-tool/file-system.d.ts +0 -72
- package/npm_package/schematics/update-tool/file-system.js +0 -18
- package/npm_package/schematics/update-tool/file-system.js.map +0 -1
- package/npm_package/schematics/update-tool/index.d.ts +0 -74
- package/npm_package/schematics/update-tool/index.js +0 -172
- package/npm_package/schematics/update-tool/index.js.map +0 -1
- package/npm_package/schematics/update-tool/logger.d.ts +0 -15
- package/npm_package/schematics/update-tool/logger.js +0 -18
- package/npm_package/schematics/update-tool/logger.js.map +0 -1
- package/npm_package/schematics/update-tool/migration.d.ts +0 -87
- package/npm_package/schematics/update-tool/migration.js +0 -70
- package/npm_package/schematics/update-tool/migration.js.map +0 -1
- package/npm_package/schematics/update-tool/public-api.d.ts +0 -16
- package/npm_package/schematics/update-tool/public-api.js +0 -33
- package/npm_package/schematics/update-tool/public-api.js.map +0 -1
- package/npm_package/schematics/update-tool/target-version.d.ts +0 -16
- package/npm_package/schematics/update-tool/target-version.js +0 -27
- package/npm_package/schematics/update-tool/target-version.js.map +0 -1
- package/npm_package/schematics/update-tool/update-recorder.d.ts +0 -13
- package/npm_package/schematics/update-tool/update-recorder.js +0 -10
- package/npm_package/schematics/update-tool/update-recorder.js.map +0 -1
- package/npm_package/schematics/update-tool/utils/decorators.d.ts +0 -22
- package/npm_package/schematics/update-tool/utils/decorators.js +0 -41
- package/npm_package/schematics/update-tool/utils/decorators.js.map +0 -1
- package/npm_package/schematics/update-tool/utils/diagnostics.d.ts +0 -11
- package/npm_package/schematics/update-tool/utils/diagnostics.js +0 -18
- package/npm_package/schematics/update-tool/utils/diagnostics.js.map +0 -1
- package/npm_package/schematics/update-tool/utils/functions.d.ts +0 -14
- package/npm_package/schematics/update-tool/utils/functions.js +0 -20
- package/npm_package/schematics/update-tool/utils/functions.js.map +0 -1
- package/npm_package/schematics/update-tool/utils/imports.d.ts +0 -17
- package/npm_package/schematics/update-tool/utils/imports.js +0 -110
- package/npm_package/schematics/update-tool/utils/imports.js.map +0 -1
- package/npm_package/schematics/update-tool/utils/line-mappings.d.ts +0 -21
- package/npm_package/schematics/update-tool/utils/line-mappings.js +0 -75
- package/npm_package/schematics/update-tool/utils/line-mappings.js.map +0 -1
- package/npm_package/schematics/update-tool/utils/parse-tsconfig.d.ts +0 -18
- package/npm_package/schematics/update-tool/utils/parse-tsconfig.js +0 -45
- package/npm_package/schematics/update-tool/utils/parse-tsconfig.js.map +0 -1
- package/npm_package/schematics/update-tool/utils/property-name.d.ts +0 -18
- package/npm_package/schematics/update-tool/utils/property-name.js +0 -27
- package/npm_package/schematics/update-tool/utils/property-name.js.map +0 -1
- package/npm_package/schematics/update-tool/utils/virtual-host.d.ts +0 -36
- package/npm_package/schematics/update-tool/utils/virtual-host.js +0 -71
- package/npm_package/schematics/update-tool/utils/virtual-host.js.map +0 -1
- package/npm_package/schematics/update-tool/version-changes.d.ts +0 -32
- package/npm_package/schematics/update-tool/version-changes.js +0 -38
- package/npm_package/schematics/update-tool/version-changes.js.map +0 -1
- package/npm_package/schematics/utils/ast/ng-module-imports.d.ts +0 -12
- package/npm_package/schematics/utils/ast/ng-module-imports.js +0 -82
- package/npm_package/schematics/utils/ast/ng-module-imports.js.map +0 -1
- package/npm_package/schematics/utils/ast.d.ts +0 -25
- package/npm_package/schematics/utils/ast.js +0 -79
- package/npm_package/schematics/utils/ast.js.map +0 -1
- package/npm_package/schematics/utils/build-component.d.ts +0 -20
- package/npm_package/schematics/utils/build-component.js +0 -188
- package/npm_package/schematics/utils/build-component.js.map +0 -1
- package/npm_package/schematics/utils/get-project.d.ts +0 -13
- package/npm_package/schematics/utils/get-project.js +0 -28
- package/npm_package/schematics/utils/get-project.js.map +0 -1
- package/npm_package/schematics/utils/html-manipulation.d.ts +0 -15
- package/npm_package/schematics/utils/html-manipulation.js +0 -91
- package/npm_package/schematics/utils/html-manipulation.js.map +0 -1
- package/npm_package/schematics/utils/index.d.ts +0 -19
- package/npm_package/schematics/utils/index.js +0 -36
- package/npm_package/schematics/utils/index.js.map +0 -1
- package/npm_package/schematics/utils/parse5-element.d.ts +0 -12
- package/npm_package/schematics/utils/parse5-element.js +0 -30
- package/npm_package/schematics/utils/parse5-element.js.map +0 -1
- package/npm_package/schematics/utils/project-index-file.d.ts +0 -10
- package/npm_package/schematics/utils/project-index-file.js +0 -20
- package/npm_package/schematics/utils/project-index-file.js.map +0 -1
- package/npm_package/schematics/utils/project-main-file.d.ts +0 -10
- package/npm_package/schematics/utils/project-main-file.js +0 -25
- package/npm_package/schematics/utils/project-main-file.js.map +0 -1
- package/npm_package/schematics/utils/project-style-file.d.ts +0 -13
- package/npm_package/schematics/utils/project-style-file.js +0 -42
- package/npm_package/schematics/utils/project-style-file.js.map +0 -1
- package/npm_package/schematics/utils/project-targets.d.ts +0 -14
- package/npm_package/schematics/utils/project-targets.js +0 -46
- package/npm_package/schematics/utils/project-targets.js.map +0 -1
- package/npm_package/schematics/utils/project-tsconfig-paths.d.ts +0 -14
- package/npm_package/schematics/utils/project-tsconfig-paths.js +0 -46
- package/npm_package/schematics/utils/project-tsconfig-paths.js.map +0 -1
- package/npm_package/schematics/utils/schematic-options.d.ts +0 -20
- package/npm_package/schematics/utils/schematic-options.js +0 -89
- package/npm_package/schematics/utils/schematic-options.js.map +0 -1
- package/npm_package/scrolling/index.d.ts +0 -62
- package/npm_package/scrolling-module.d-ud2XrbF8.d.ts +0 -552
- package/npm_package/selection-model.d-C_vvNGP-.d.ts +0 -117
- package/npm_package/stepper/index.d.ts +0 -228
- package/npm_package/style-loader.d-BXZfQZTF.d.ts +0 -21
- package/npm_package/table/index.d.ts +0 -1100
- package/npm_package/testing/index.d.ts +0 -94
- package/npm_package/testing/selenium-webdriver/index.d.ts +0 -150
- package/npm_package/testing/testbed/index.d.ts +0 -157
- package/npm_package/text-field/_index.scss +0 -89
- package/npm_package/text-field/index.d.ts +0 -156
- package/npm_package/text-field-prebuilt.css +0 -1
- package/npm_package/tree/index.d.ts +0 -720
- package/npm_package/tree-key-manager-strategy.d-XB6M79l-.d.ts +0 -116
- package/npm_package/unique-selection-dispatcher.d-DSFqf1MM.d.ts +0 -33
- package/npm_package/view-repeater.d-BKljR8u8.d.ts +0 -89
|
@@ -1,232 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { ComponentRef, ViewContainerRef, Injector, EmbeddedViewRef, TemplateRef, ElementRef, OnInit, OnDestroy, EventEmitter } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
/** Interface that can be used to generically type a class. */
|
|
5
|
-
interface ComponentType<T> {
|
|
6
|
-
new (...args: any[]): T;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* A `Portal` is something that you want to render somewhere else.
|
|
10
|
-
* It can be attach to / detached from a `PortalOutlet`.
|
|
11
|
-
*/
|
|
12
|
-
declare abstract class Portal<T> {
|
|
13
|
-
private _attachedHost;
|
|
14
|
-
/** Attach this portal to a host. */
|
|
15
|
-
attach(host: PortalOutlet): T;
|
|
16
|
-
/** Detach this portal from its host */
|
|
17
|
-
detach(): void;
|
|
18
|
-
/** Whether this portal is attached to a host. */
|
|
19
|
-
get isAttached(): boolean;
|
|
20
|
-
/**
|
|
21
|
-
* Sets the PortalOutlet reference without performing `attach()`. This is used directly by
|
|
22
|
-
* the PortalOutlet when it is performing an `attach()` or `detach()`.
|
|
23
|
-
*/
|
|
24
|
-
setAttachedHost(host: PortalOutlet | null): void;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* A `ComponentPortal` is a portal that instantiates some Component upon attachment.
|
|
28
|
-
*/
|
|
29
|
-
declare class ComponentPortal<T> extends Portal<ComponentRef<T>> {
|
|
30
|
-
/** The type of the component that will be instantiated for attachment. */
|
|
31
|
-
component: ComponentType<T>;
|
|
32
|
-
/**
|
|
33
|
-
* Where the attached component should live in Angular's *logical* component tree.
|
|
34
|
-
* This is different from where the component *renders*, which is determined by the PortalOutlet.
|
|
35
|
-
* The origin is necessary when the host is outside of the Angular application context.
|
|
36
|
-
*/
|
|
37
|
-
viewContainerRef?: ViewContainerRef | null;
|
|
38
|
-
/** Injector used for the instantiation of the component. */
|
|
39
|
-
injector?: Injector | null;
|
|
40
|
-
/**
|
|
41
|
-
* @deprecated No longer in use. To be removed.
|
|
42
|
-
* @breaking-change 18.0.0
|
|
43
|
-
*/
|
|
44
|
-
componentFactoryResolver?: any;
|
|
45
|
-
/**
|
|
46
|
-
* List of DOM nodes that should be projected through `<ng-content>` of the attached component.
|
|
47
|
-
*/
|
|
48
|
-
projectableNodes?: Node[][] | null;
|
|
49
|
-
constructor(component: ComponentType<T>, viewContainerRef?: ViewContainerRef | null, injector?: Injector | null,
|
|
50
|
-
/**
|
|
51
|
-
* @deprecated No longer in use. To be removed.
|
|
52
|
-
* @breaking-change 18.0.0
|
|
53
|
-
*/
|
|
54
|
-
_componentFactoryResolver?: any, projectableNodes?: Node[][] | null);
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* A `TemplatePortal` is a portal that represents some embedded template (TemplateRef).
|
|
58
|
-
*/
|
|
59
|
-
declare class TemplatePortal<C = any> extends Portal<EmbeddedViewRef<C>> {
|
|
60
|
-
/** The embedded template that will be used to instantiate an embedded View in the host. */
|
|
61
|
-
templateRef: TemplateRef<C>;
|
|
62
|
-
/** Reference to the ViewContainer into which the template will be stamped out. */
|
|
63
|
-
viewContainerRef: ViewContainerRef;
|
|
64
|
-
/** Contextual data to be passed in to the embedded view. */
|
|
65
|
-
context?: C | undefined;
|
|
66
|
-
/** The injector to use for the embedded view. */
|
|
67
|
-
injector?: Injector | undefined;
|
|
68
|
-
constructor(
|
|
69
|
-
/** The embedded template that will be used to instantiate an embedded View in the host. */
|
|
70
|
-
templateRef: TemplateRef<C>,
|
|
71
|
-
/** Reference to the ViewContainer into which the template will be stamped out. */
|
|
72
|
-
viewContainerRef: ViewContainerRef,
|
|
73
|
-
/** Contextual data to be passed in to the embedded view. */
|
|
74
|
-
context?: C | undefined,
|
|
75
|
-
/** The injector to use for the embedded view. */
|
|
76
|
-
injector?: Injector | undefined);
|
|
77
|
-
get origin(): ElementRef;
|
|
78
|
-
/**
|
|
79
|
-
* Attach the portal to the provided `PortalOutlet`.
|
|
80
|
-
* When a context is provided it will override the `context` property of the `TemplatePortal`
|
|
81
|
-
* instance.
|
|
82
|
-
*/
|
|
83
|
-
attach(host: PortalOutlet, context?: C | undefined): EmbeddedViewRef<C>;
|
|
84
|
-
detach(): void;
|
|
85
|
-
}
|
|
86
|
-
/**
|
|
87
|
-
* A `DomPortal` is a portal whose DOM element will be taken from its current position
|
|
88
|
-
* in the DOM and moved into a portal outlet, when it is attached. On detach, the content
|
|
89
|
-
* will be restored to its original position.
|
|
90
|
-
*/
|
|
91
|
-
declare class DomPortal<T = HTMLElement> extends Portal<T> {
|
|
92
|
-
/** DOM node hosting the portal's content. */
|
|
93
|
-
readonly element: T;
|
|
94
|
-
constructor(element: T | ElementRef<T>);
|
|
95
|
-
}
|
|
96
|
-
/** A `PortalOutlet` is a space that can contain a single `Portal`. */
|
|
97
|
-
interface PortalOutlet {
|
|
98
|
-
/** Attaches a portal to this outlet. */
|
|
99
|
-
attach(portal: Portal<any>): any;
|
|
100
|
-
/** Detaches the currently attached portal from this outlet. */
|
|
101
|
-
detach(): any;
|
|
102
|
-
/** Performs cleanup before the outlet is destroyed. */
|
|
103
|
-
dispose(): void;
|
|
104
|
-
/** Whether there is currently a portal attached to this outlet. */
|
|
105
|
-
hasAttached(): boolean;
|
|
106
|
-
}
|
|
107
|
-
/**
|
|
108
|
-
* @deprecated Use `PortalOutlet` instead.
|
|
109
|
-
* @breaking-change 9.0.0
|
|
110
|
-
*/
|
|
111
|
-
type PortalHost = PortalOutlet;
|
|
112
|
-
/**
|
|
113
|
-
* Partial implementation of PortalOutlet that handles attaching
|
|
114
|
-
* ComponentPortal and TemplatePortal.
|
|
115
|
-
*/
|
|
116
|
-
declare abstract class BasePortalOutlet implements PortalOutlet {
|
|
117
|
-
/** The portal currently attached to the host. */
|
|
118
|
-
protected _attachedPortal: Portal<any> | null;
|
|
119
|
-
/** A function that will permanently dispose this host. */
|
|
120
|
-
private _disposeFn;
|
|
121
|
-
/** Whether this host has already been permanently disposed. */
|
|
122
|
-
private _isDisposed;
|
|
123
|
-
/** Whether this host has an attached portal. */
|
|
124
|
-
hasAttached(): boolean;
|
|
125
|
-
attach<T>(portal: ComponentPortal<T>): ComponentRef<T>;
|
|
126
|
-
attach<T>(portal: TemplatePortal<T>): EmbeddedViewRef<T>;
|
|
127
|
-
attach(portal: any): any;
|
|
128
|
-
abstract attachComponentPortal<T>(portal: ComponentPortal<T>): ComponentRef<T>;
|
|
129
|
-
abstract attachTemplatePortal<C>(portal: TemplatePortal<C>): EmbeddedViewRef<C>;
|
|
130
|
-
readonly attachDomPortal: null | ((portal: DomPortal) => any);
|
|
131
|
-
/** Detaches a previously attached portal. */
|
|
132
|
-
detach(): void;
|
|
133
|
-
/** Permanently dispose of this portal host. */
|
|
134
|
-
dispose(): void;
|
|
135
|
-
/** @docs-private */
|
|
136
|
-
setDisposeFn(fn: () => void): void;
|
|
137
|
-
private _invokeDisposeFn;
|
|
138
|
-
}
|
|
139
|
-
/**
|
|
140
|
-
* @deprecated Use `BasePortalOutlet` instead.
|
|
141
|
-
* @breaking-change 9.0.0
|
|
142
|
-
*/
|
|
143
|
-
declare abstract class BasePortalHost extends BasePortalOutlet {
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
/**
|
|
147
|
-
* Directive version of a `TemplatePortal`. Because the directive *is* a TemplatePortal,
|
|
148
|
-
* the directive instance itself can be attached to a host, enabling declarative use of portals.
|
|
149
|
-
*/
|
|
150
|
-
declare class CdkPortal extends TemplatePortal {
|
|
151
|
-
constructor(...args: unknown[]);
|
|
152
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkPortal, never>;
|
|
153
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkPortal, "[cdkPortal]", ["cdkPortal"], {}, {}, never, never, true, never>;
|
|
154
|
-
}
|
|
155
|
-
/**
|
|
156
|
-
* @deprecated Use `CdkPortal` instead.
|
|
157
|
-
* @breaking-change 9.0.0
|
|
158
|
-
*/
|
|
159
|
-
declare class TemplatePortalDirective extends CdkPortal {
|
|
160
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TemplatePortalDirective, never>;
|
|
161
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TemplatePortalDirective, "[cdk-portal], [portal]", ["cdkPortal"], {}, {}, never, never, true, never>;
|
|
162
|
-
}
|
|
163
|
-
/**
|
|
164
|
-
* Possible attached references to the CdkPortalOutlet.
|
|
165
|
-
*/
|
|
166
|
-
type CdkPortalOutletAttachedRef = ComponentRef<any> | EmbeddedViewRef<any> | null;
|
|
167
|
-
/**
|
|
168
|
-
* Directive version of a PortalOutlet. Because the directive *is* a PortalOutlet, portals can be
|
|
169
|
-
* directly attached to it, enabling declarative use.
|
|
170
|
-
*
|
|
171
|
-
* Usage:
|
|
172
|
-
* `<ng-template [cdkPortalOutlet]="greeting"></ng-template>`
|
|
173
|
-
*/
|
|
174
|
-
declare class CdkPortalOutlet extends BasePortalOutlet implements OnInit, OnDestroy {
|
|
175
|
-
private _moduleRef;
|
|
176
|
-
private _document;
|
|
177
|
-
private _viewContainerRef;
|
|
178
|
-
/** Whether the portal component is initialized. */
|
|
179
|
-
private _isInitialized;
|
|
180
|
-
/** Reference to the currently-attached component/view ref. */
|
|
181
|
-
private _attachedRef;
|
|
182
|
-
constructor(...args: unknown[]);
|
|
183
|
-
/** Portal associated with the Portal outlet. */
|
|
184
|
-
get portal(): Portal<any> | null;
|
|
185
|
-
set portal(portal: Portal<any> | null | undefined | '');
|
|
186
|
-
/** Emits when a portal is attached to the outlet. */
|
|
187
|
-
readonly attached: EventEmitter<CdkPortalOutletAttachedRef>;
|
|
188
|
-
/** Component or view reference that is attached to the portal. */
|
|
189
|
-
get attachedRef(): CdkPortalOutletAttachedRef;
|
|
190
|
-
ngOnInit(): void;
|
|
191
|
-
ngOnDestroy(): void;
|
|
192
|
-
/**
|
|
193
|
-
* Attach the given ComponentPortal to this PortalOutlet.
|
|
194
|
-
*
|
|
195
|
-
* @param portal Portal to be attached to the portal outlet.
|
|
196
|
-
* @returns Reference to the created component.
|
|
197
|
-
*/
|
|
198
|
-
attachComponentPortal<T>(portal: ComponentPortal<T>): ComponentRef<T>;
|
|
199
|
-
/**
|
|
200
|
-
* Attach the given TemplatePortal to this PortalHost as an embedded View.
|
|
201
|
-
* @param portal Portal to be attached.
|
|
202
|
-
* @returns Reference to the created embedded view.
|
|
203
|
-
*/
|
|
204
|
-
attachTemplatePortal<C>(portal: TemplatePortal<C>): EmbeddedViewRef<C>;
|
|
205
|
-
/**
|
|
206
|
-
* Attaches the given DomPortal to this PortalHost by moving all of the portal content into it.
|
|
207
|
-
* @param portal Portal to be attached.
|
|
208
|
-
* @deprecated To be turned into a method.
|
|
209
|
-
* @breaking-change 10.0.0
|
|
210
|
-
*/
|
|
211
|
-
attachDomPortal: (portal: DomPortal) => void;
|
|
212
|
-
/** Gets the root node of the portal outlet. */
|
|
213
|
-
private _getRootNode;
|
|
214
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkPortalOutlet, never>;
|
|
215
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkPortalOutlet, "[cdkPortalOutlet]", ["cdkPortalOutlet"], { "portal": { "alias": "cdkPortalOutlet"; "required": false; }; }, { "attached": "attached"; }, never, never, true, never>;
|
|
216
|
-
}
|
|
217
|
-
/**
|
|
218
|
-
* @deprecated Use `CdkPortalOutlet` instead.
|
|
219
|
-
* @breaking-change 9.0.0
|
|
220
|
-
*/
|
|
221
|
-
declare class PortalHostDirective extends CdkPortalOutlet {
|
|
222
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PortalHostDirective, never>;
|
|
223
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PortalHostDirective, "[cdkPortalHost], [portalHost]", ["cdkPortalHost"], { "portal": { "alias": "cdkPortalHost"; "required": false; }; }, {}, never, never, true, never>;
|
|
224
|
-
}
|
|
225
|
-
declare class PortalModule {
|
|
226
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PortalModule, never>;
|
|
227
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PortalModule, never, [typeof CdkPortal, typeof CdkPortalOutlet, typeof TemplatePortalDirective, typeof PortalHostDirective], [typeof CdkPortal, typeof CdkPortalOutlet, typeof TemplatePortalDirective, typeof PortalHostDirective]>;
|
|
228
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<PortalModule>;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
export { BasePortalOutlet as B, DomPortal as D, Portal as P, TemplatePortal as T, ComponentPortal as a, BasePortalHost as d, CdkPortal as e, TemplatePortalDirective as f, CdkPortalOutlet as h, PortalHostDirective as i, PortalModule as j };
|
|
232
|
-
export type { ComponentType as C, PortalOutlet as b, PortalHost as c, CdkPortalOutletAttachedRef as g };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export { _ as _CdkPrivateStyleLoader } from '../style-loader.d-BXZfQZTF.js';
|
|
2
|
-
import * as i0 from '@angular/core';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Component used to load the .cdk-visually-hidden styles.
|
|
6
|
-
* @docs-private
|
|
7
|
-
*/
|
|
8
|
-
declare class _VisuallyHiddenLoader {
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<_VisuallyHiddenLoader, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<_VisuallyHiddenLoader, "ng-component", ["cdkVisuallyHidden"], {}, {}, never, never, true, never>;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export { _VisuallyHiddenLoader };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "./node_modules/@angular-devkit/schematics/collection-schema.json",
|
|
3
|
-
"schematics": {
|
|
4
|
-
"ng-add": {
|
|
5
|
-
"description": "Installs the Angular CDK",
|
|
6
|
-
"factory": "./ng-add/index",
|
|
7
|
-
"schema": "./ng-add/schema.json",
|
|
8
|
-
"aliases": ["install"],
|
|
9
|
-
"hidden": true
|
|
10
|
-
},
|
|
11
|
-
"drag-drop": {
|
|
12
|
-
"description": "Generates a component using the Drag and Drop module",
|
|
13
|
-
"factory": "./ng-generate/drag-drop/index",
|
|
14
|
-
"schema": "./ng-generate/drag-drop/schema.json",
|
|
15
|
-
"aliases": ["dragdrop", "drag-and-drop"]
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|
|
@@ -1,14 +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.dev/license
|
|
7
|
-
*/
|
|
8
|
-
export * from './utils';
|
|
9
|
-
export * from './ng-update/public-api';
|
|
10
|
-
export * from './update-tool/public-api';
|
|
11
|
-
export * from '@schematics/angular/utility/ast-utils';
|
|
12
|
-
export * from '@schematics/angular/utility/ng-ast-utils';
|
|
13
|
-
import * as parse5 from 'parse5';
|
|
14
|
-
export { parse5 };
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* @license
|
|
4
|
-
* Copyright Google LLC All Rights Reserved.
|
|
5
|
-
*
|
|
6
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
7
|
-
* found in the LICENSE file at https://angular.dev/license
|
|
8
|
-
*/
|
|
9
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
12
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
13
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
14
|
-
}
|
|
15
|
-
Object.defineProperty(o, k2, desc);
|
|
16
|
-
}) : (function(o, m, k, k2) {
|
|
17
|
-
if (k2 === undefined) k2 = k;
|
|
18
|
-
o[k2] = m[k];
|
|
19
|
-
}));
|
|
20
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
21
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
22
|
-
};
|
|
23
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24
|
-
exports.parse5 = void 0;
|
|
25
|
-
__exportStar(require("./utils"), exports);
|
|
26
|
-
__exportStar(require("./ng-update/public-api"), exports);
|
|
27
|
-
__exportStar(require("./update-tool/public-api"), exports);
|
|
28
|
-
// Re-exported so that Angular Material schematic code can consume the same AST utils as the CDK.
|
|
29
|
-
__exportStar(require("@schematics/angular/utility/ast-utils"), exports);
|
|
30
|
-
__exportStar(require("@schematics/angular/utility/ng-ast-utils"), exports);
|
|
31
|
-
// Re-export parse5 from the CDK. Material schematics code cannot simply import
|
|
32
|
-
// "parse5" because it could result in a different version. As long as we import
|
|
33
|
-
// it from within the CDK, it will always be the correct version that is specified
|
|
34
|
-
// in the CDK "package.json" as optional dependency.
|
|
35
|
-
const parse5 = require("parse5");
|
|
36
|
-
exports.parse5 = parse5;
|
|
37
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;;;;;;;;;;;;;AAEH,0CAAwB;AACxB,yDAAuC;AACvC,2DAAyC;AAEzC,iGAAiG;AACjG,wEAAsD;AACtD,2EAAyD;AAEzD,+EAA+E;AAC/E,gFAAgF;AAChF,kFAAkF;AAClF,oDAAoD;AACpD,iCAAiC;AACzB,wBAAM"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "./node_modules/@angular-devkit/schematics/collection-schema.json",
|
|
3
|
-
"schematics": {
|
|
4
|
-
"migration-v19": {
|
|
5
|
-
"version": "19.0.0-0",
|
|
6
|
-
"description": "Updates the Angular CDK to v19",
|
|
7
|
-
"factory": "./ng-update/index#updateToV19"
|
|
8
|
-
},
|
|
9
|
-
"ng-post-update": {
|
|
10
|
-
"description": "Prints out results after ng-update.",
|
|
11
|
-
"factory": "./ng-update/index#postUpdate",
|
|
12
|
-
"private": true
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,17 +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.dev/license
|
|
7
|
-
*/
|
|
8
|
-
import { Rule } from '@angular-devkit/schematics';
|
|
9
|
-
/**
|
|
10
|
-
* Schematic factory entry-point for the `ng-add` schematic. The ng-add schematic will be
|
|
11
|
-
* automatically executed if developers run `ng add @angular/cdk`.
|
|
12
|
-
*
|
|
13
|
-
* By default, the CLI already installs the package that has been specified with `ng add`.
|
|
14
|
-
* We just store the version in the `package.json` in case the package manager didn't. Also
|
|
15
|
-
* this ensures that there will be no error that says that the CDK does not support `ng add`.
|
|
16
|
-
*/
|
|
17
|
-
export default function (): Rule;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* @license
|
|
4
|
-
* Copyright Google LLC All Rights Reserved.
|
|
5
|
-
*
|
|
6
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
7
|
-
* found in the LICENSE file at https://angular.dev/license
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.default = default_1;
|
|
11
|
-
const tasks_1 = require("@angular-devkit/schematics/tasks");
|
|
12
|
-
const package_config_1 = require("./package-config");
|
|
13
|
-
/**
|
|
14
|
-
* Schematic factory entry-point for the `ng-add` schematic. The ng-add schematic will be
|
|
15
|
-
* automatically executed if developers run `ng add @angular/cdk`.
|
|
16
|
-
*
|
|
17
|
-
* By default, the CLI already installs the package that has been specified with `ng add`.
|
|
18
|
-
* We just store the version in the `package.json` in case the package manager didn't. Also
|
|
19
|
-
* this ensures that there will be no error that says that the CDK does not support `ng add`.
|
|
20
|
-
*/
|
|
21
|
-
function default_1() {
|
|
22
|
-
return (host, context) => {
|
|
23
|
-
// The CLI inserts `@angular/cdk` into the `package.json` before this schematic runs. This
|
|
24
|
-
// means that we do not need to insert the CDK into `package.json` files again. In some cases
|
|
25
|
-
// though, it could happen that this schematic runs outside of the CLI `ng add` command, or
|
|
26
|
-
// the CDK is only listed as a dev dependency. If that is the case, we insert a version based
|
|
27
|
-
// on the current build version (substituted version placeholder).
|
|
28
|
-
if ((0, package_config_1.getPackageVersionFromPackageJson)(host, '@angular/cdk') === null) {
|
|
29
|
-
// In order to align the CDK version with other Angular dependencies that are setup by
|
|
30
|
-
// `@schematics/angular`, we use tilde instead of caret. This is default for Angular
|
|
31
|
-
// dependencies in new CLI projects.
|
|
32
|
-
(0, package_config_1.addPackageToPackageJson)(host, '@angular/cdk', `~19.2.13`);
|
|
33
|
-
// Add a task to run the package manager. This is necessary because we updated the
|
|
34
|
-
// workspace "package.json" file and we want lock files to reflect the new version range.
|
|
35
|
-
context.addTask(new tasks_1.NodePackageInstallTask());
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAcH,4BAkBC;AA7BD,4DAAwE;AACxE,qDAA2F;AAE3F;;;;;;;GAOG;AACH;IACE,OAAO,CAAC,IAAU,EAAE,OAAyB,EAAE,EAAE;QAC/C,0FAA0F;QAC1F,6FAA6F;QAC7F,2FAA2F;QAC3F,6FAA6F;QAC7F,kEAAkE;QAClE,IAAI,IAAA,iDAAgC,EAAC,IAAI,EAAE,cAAc,CAAC,KAAK,IAAI,EAAE,CAAC;YACpE,sFAAsF;YACtF,oFAAoF;YACpF,oCAAoC;YACpC,IAAA,wCAAuB,EAAC,IAAI,EAAE,cAAc,EAAE,oBAAoB,CAAC,CAAC;YAEpE,kFAAkF;YAClF,yFAAyF;YACzF,OAAO,CAAC,OAAO,CAAC,IAAI,8BAAsB,EAAE,CAAC,CAAC;QAChD,CAAC;IACH,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -1,12 +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.dev/license
|
|
7
|
-
*/
|
|
8
|
-
import { Tree } from '@angular-devkit/schematics';
|
|
9
|
-
/** Adds a package to the package.json in the given host tree. */
|
|
10
|
-
export declare function addPackageToPackageJson(host: Tree, pkg: string, version: string): Tree;
|
|
11
|
-
/** Gets the version of the specified package by looking at the package.json in the given tree. */
|
|
12
|
-
export declare function getPackageVersionFromPackageJson(tree: Tree, name: string): string | null;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* @license
|
|
4
|
-
* Copyright Google LLC All Rights Reserved.
|
|
5
|
-
*
|
|
6
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
7
|
-
* found in the LICENSE file at https://angular.dev/license
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.addPackageToPackageJson = addPackageToPackageJson;
|
|
11
|
-
exports.getPackageVersionFromPackageJson = getPackageVersionFromPackageJson;
|
|
12
|
-
/**
|
|
13
|
-
* Sorts the keys of the given object.
|
|
14
|
-
* @returns A new object instance with sorted keys
|
|
15
|
-
*/
|
|
16
|
-
function sortObjectByKeys(obj) {
|
|
17
|
-
return Object.keys(obj)
|
|
18
|
-
.sort()
|
|
19
|
-
.reduce((result, key) => {
|
|
20
|
-
result[key] = obj[key];
|
|
21
|
-
return result;
|
|
22
|
-
}, {});
|
|
23
|
-
}
|
|
24
|
-
/** Adds a package to the package.json in the given host tree. */
|
|
25
|
-
function addPackageToPackageJson(host, pkg, version) {
|
|
26
|
-
if (host.exists('package.json')) {
|
|
27
|
-
const sourceText = host.read('package.json').toString('utf-8');
|
|
28
|
-
const json = JSON.parse(sourceText);
|
|
29
|
-
if (!json.dependencies) {
|
|
30
|
-
json.dependencies = {};
|
|
31
|
-
}
|
|
32
|
-
if (!json.dependencies[pkg]) {
|
|
33
|
-
json.dependencies[pkg] = version;
|
|
34
|
-
json.dependencies = sortObjectByKeys(json.dependencies);
|
|
35
|
-
}
|
|
36
|
-
host.overwrite('package.json', JSON.stringify(json, null, 2));
|
|
37
|
-
}
|
|
38
|
-
return host;
|
|
39
|
-
}
|
|
40
|
-
/** Gets the version of the specified package by looking at the package.json in the given tree. */
|
|
41
|
-
function getPackageVersionFromPackageJson(tree, name) {
|
|
42
|
-
if (!tree.exists('package.json')) {
|
|
43
|
-
return null;
|
|
44
|
-
}
|
|
45
|
-
const packageJson = JSON.parse(tree.read('package.json').toString('utf8'));
|
|
46
|
-
if (packageJson.dependencies && packageJson.dependencies[name]) {
|
|
47
|
-
return packageJson.dependencies[name];
|
|
48
|
-
}
|
|
49
|
-
return null;
|
|
50
|
-
}
|
|
51
|
-
//# sourceMappingURL=package-config.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"package-config.js","sourceRoot":"","sources":["package-config.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAyBH,0DAkBC;AAGD,4EAYC;AAlDD;;;GAGG;AACH,SAAS,gBAAgB,CAAC,GAA2B;IACnD,OAAO,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;SACpB,IAAI,EAAE;SACN,MAAM,CACL,CAAC,MAAM,EAAE,GAAG,EAAE,EAAE;QACd,MAAM,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;QACvB,OAAO,MAAM,CAAC;IAChB,CAAC,EACD,EAA4B,CAC7B,CAAC;AACN,CAAC;AAED,iEAAiE;AACjE,SAAgB,uBAAuB,CAAC,IAAU,EAAE,GAAW,EAAE,OAAe;IAC9E,IAAI,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,EAAE,CAAC;QAChC,MAAM,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC,cAAc,CAAE,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;QAChE,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,UAAU,CAAgB,CAAC;QAEnD,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC;YACvB,IAAI,CAAC,YAAY,GAAG,EAAE,CAAC;QACzB,CAAC;QAED,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,EAAE,CAAC;YAC5B,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC;YACjC,IAAI,CAAC,YAAY,GAAG,gBAAgB,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC1D,CAAC;QAED,IAAI,CAAC,SAAS,CAAC,cAAc,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;IAChE,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC;AAED,kGAAkG;AAClG,SAAgB,gCAAgC,CAAC,IAAU,EAAE,IAAY;IACvE,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,EAAE,CAAC;QACjC,OAAO,IAAI,CAAC;IACd,CAAC;IAED,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,cAAc,CAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAgB,CAAC;IAE3F,IAAI,WAAW,CAAC,YAAY,IAAI,WAAW,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,CAAC;QAC/D,OAAO,WAAW,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;IACxC,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -1,11 +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.dev/license
|
|
7
|
-
*/
|
|
8
|
-
export interface Schema {
|
|
9
|
-
/** Name of the project to target. */
|
|
10
|
-
project: string;
|
|
11
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* @license
|
|
4
|
-
* Copyright Google LLC All Rights Reserved.
|
|
5
|
-
*
|
|
6
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
7
|
-
* found in the LICENSE file at https://angular.dev/license
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
//# sourceMappingURL=schema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"","sources":["schema.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema",
|
|
3
|
-
"$id": "angular-cdk-ng-add",
|
|
4
|
-
"title": "Angular CDK ng-add",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"project": {
|
|
8
|
-
"type": "string",
|
|
9
|
-
"description": "The name of the project.",
|
|
10
|
-
"$default": {
|
|
11
|
-
"$source": "projectName"
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"required": []
|
|
16
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
.container {
|
|
2
|
-
width: 400px;
|
|
3
|
-
max-width: 100%;
|
|
4
|
-
margin: 0 20px;
|
|
5
|
-
display: inline-block;
|
|
6
|
-
vertical-align: top;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.list {
|
|
10
|
-
border: solid 1px #ccc;
|
|
11
|
-
min-height: 60px;
|
|
12
|
-
background: white;
|
|
13
|
-
border-radius: 4px;
|
|
14
|
-
display: block;
|
|
15
|
-
overflow: hidden;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.list-item {
|
|
19
|
-
padding: 20px 10px;
|
|
20
|
-
border-bottom: solid 1px #ccc;
|
|
21
|
-
box-sizing: border-box;
|
|
22
|
-
cursor: move;
|
|
23
|
-
background: white;
|
|
24
|
-
color: black;
|
|
25
|
-
font-size: 14px;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.list-item:last-child {
|
|
29
|
-
border: none;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
/* Highlight the list item that is being dragged. */
|
|
33
|
-
.cdk-drag-preview {
|
|
34
|
-
border-radius: 4px;
|
|
35
|
-
box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2),
|
|
36
|
-
0 8px 10px 1px rgba(0, 0, 0, 0.14),
|
|
37
|
-
0 3px 14px 2px rgba(0, 0, 0, 0.12);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
/* Animate items as they're being sorted. */
|
|
41
|
-
.cdk-drop-list-dragging .cdk-drag {
|
|
42
|
-
transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
/* Animate an item that has been dropped. */
|
|
46
|
-
.cdk-drag-animating {
|
|
47
|
-
transition: transform 300ms cubic-bezier(0, 0, 0.2, 1);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.cdk-drag-placeholder {
|
|
51
|
-
opacity: 0;
|
|
52
|
-
}
|
|
53
|
-
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
<div class="container">
|
|
2
|
-
<h2>To do</h2>
|
|
3
|
-
|
|
4
|
-
<div cdkDropList #todoList="cdkDropList" [cdkDropListData]="todo"
|
|
5
|
-
[cdkDropListConnectedTo]="doneList" class="list" (cdkDropListDropped)="drop($event)">
|
|
6
|
-
@for (item of todo; track item) {
|
|
7
|
-
<div class="list-item" cdkDrag>{{item}}</div>
|
|
8
|
-
}
|
|
9
|
-
</div>
|
|
10
|
-
</div>
|
|
11
|
-
|
|
12
|
-
<div class="container">
|
|
13
|
-
<h2>Done</h2>
|
|
14
|
-
|
|
15
|
-
<div cdkDropList #doneList="cdkDropList" [cdkDropListData]="done"
|
|
16
|
-
[cdkDropListConnectedTo]="todoList" class="list" (cdkDropListDropped)="drop($event)">
|
|
17
|
-
@for (item of done; track item) {
|
|
18
|
-
<div class="list-item" cdkDrag>{{item}}</div>
|
|
19
|
-
}
|
|
20
|
-
</div>
|
|
21
|
-
</div>
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { <% if(!standalone) { %>waitForAsync, <% } %>ComponentFixture, TestBed } from '@angular/core/testing';<% if(!standalone) { %>
|
|
2
|
-
import { DragDropModule } from '@angular/cdk/drag-drop';<% } %>
|
|
3
|
-
import { <%= classify(name) %>Component } from './<%= dasherize(name) %>.component';
|
|
4
|
-
|
|
5
|
-
describe('<%= classify(name) %>Component', () => {
|
|
6
|
-
let component: <%= classify(name) %>Component;
|
|
7
|
-
let fixture: ComponentFixture<<%= classify(name) %>Component>;<% if(!standalone) { %>
|
|
8
|
-
|
|
9
|
-
beforeEach(waitForAsync(() => {
|
|
10
|
-
TestBed.configureTestingModule({
|
|
11
|
-
declarations: [<%= classify(name) %>Component],
|
|
12
|
-
imports: [DragDropModule]
|
|
13
|
-
});
|
|
14
|
-
}));<% } %>
|
|
15
|
-
|
|
16
|
-
beforeEach(() => {
|
|
17
|
-
fixture = TestBed.createComponent(<%= classify(name) %>Component);
|
|
18
|
-
component = fixture.componentInstance;
|
|
19
|
-
fixture.detectChanges();
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
it('should compile', () => {
|
|
23
|
-
expect(component).toBeTruthy();
|
|
24
|
-
});
|
|
25
|
-
});
|