@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,99 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { D as DataSource } from '../data-source.d-Bblv7Zvh.js';
|
|
3
|
-
export { C as CollectionViewer, L as ListRange, i as isDataSource } from '../data-source.d-Bblv7Zvh.js';
|
|
4
|
-
import { IterableChanges, ViewContainerRef } from '@angular/core';
|
|
5
|
-
import { _ as _ViewRepeaterItemContext, a as _ViewRepeater, b as _ViewRepeaterItemContextFactory, c as _ViewRepeaterItemValueResolver, d as _ViewRepeaterItemChanged } from '../view-repeater.d-BKljR8u8.js';
|
|
6
|
-
export { h as _VIEW_REPEATER_STRATEGY, g as _ViewRepeaterItemChange, e as _ViewRepeaterItemInsertArgs, f as _ViewRepeaterOperation } from '../view-repeater.d-BKljR8u8.js';
|
|
7
|
-
import { S as SelectionModel } from '../selection-model.d-C_vvNGP-.js';
|
|
8
|
-
export { a as SelectionChange, g as getMultipleValuesInSingleSelectionError } from '../selection-model.d-C_vvNGP-.js';
|
|
9
|
-
export { U as UniqueSelectionDispatcher, a as UniqueSelectionDispatcherListener } from '../unique-selection-dispatcher.d-DSFqf1MM.js';
|
|
10
|
-
|
|
11
|
-
/** DataSource wrapper for a native array. */
|
|
12
|
-
declare class ArrayDataSource<T> extends DataSource<T> {
|
|
13
|
-
private _data;
|
|
14
|
-
constructor(_data: readonly T[] | Observable<readonly T[]>);
|
|
15
|
-
connect(): Observable<readonly T[]>;
|
|
16
|
-
disconnect(): void;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* A repeater that destroys views when they are removed from a
|
|
21
|
-
* {@link ViewContainerRef}. When new items are inserted into the container,
|
|
22
|
-
* the repeater will always construct a new embedded view for each item.
|
|
23
|
-
*
|
|
24
|
-
* @template T The type for the embedded view's $implicit property.
|
|
25
|
-
* @template R The type for the item in each IterableDiffer change record.
|
|
26
|
-
* @template C The type for the context passed to each embedded view.
|
|
27
|
-
*/
|
|
28
|
-
declare class _DisposeViewRepeaterStrategy<T, R, C extends _ViewRepeaterItemContext<T>> implements _ViewRepeater<T, R, C> {
|
|
29
|
-
applyChanges(changes: IterableChanges<R>, viewContainerRef: ViewContainerRef, itemContextFactory: _ViewRepeaterItemContextFactory<T, R, C>, itemValueResolver: _ViewRepeaterItemValueResolver<T, R>, itemViewChanged?: _ViewRepeaterItemChanged<R, C>): void;
|
|
30
|
-
detach(): void;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* A repeater that caches views when they are removed from a
|
|
35
|
-
* {@link ViewContainerRef}. When new items are inserted into the container,
|
|
36
|
-
* the repeater will reuse one of the cached views instead of creating a new
|
|
37
|
-
* embedded view. Recycling cached views reduces the quantity of expensive DOM
|
|
38
|
-
* inserts.
|
|
39
|
-
*
|
|
40
|
-
* @template T The type for the embedded view's $implicit property.
|
|
41
|
-
* @template R The type for the item in each IterableDiffer change record.
|
|
42
|
-
* @template C The type for the context passed to each embedded view.
|
|
43
|
-
*/
|
|
44
|
-
declare class _RecycleViewRepeaterStrategy<T, R, C extends _ViewRepeaterItemContext<T>> implements _ViewRepeater<T, R, C> {
|
|
45
|
-
/**
|
|
46
|
-
* The size of the cache used to store unused views.
|
|
47
|
-
* Setting the cache size to `0` will disable caching. Defaults to 20 views.
|
|
48
|
-
*/
|
|
49
|
-
viewCacheSize: number;
|
|
50
|
-
/**
|
|
51
|
-
* View cache that stores embedded view instances that have been previously stamped out,
|
|
52
|
-
* but don't are not currently rendered. The view repeater will reuse these views rather than
|
|
53
|
-
* creating brand new ones.
|
|
54
|
-
*
|
|
55
|
-
* TODO(michaeljamesparsons) Investigate whether using a linked list would improve performance.
|
|
56
|
-
*/
|
|
57
|
-
private _viewCache;
|
|
58
|
-
/** Apply changes to the DOM. */
|
|
59
|
-
applyChanges(changes: IterableChanges<R>, viewContainerRef: ViewContainerRef, itemContextFactory: _ViewRepeaterItemContextFactory<T, R, C>, itemValueResolver: _ViewRepeaterItemValueResolver<T, R>, itemViewChanged?: _ViewRepeaterItemChanged<R, C>): void;
|
|
60
|
-
detach(): void;
|
|
61
|
-
/**
|
|
62
|
-
* Inserts a view for a new item, either from the cache or by creating a new
|
|
63
|
-
* one. Returns `undefined` if the item was inserted into a cached view.
|
|
64
|
-
*/
|
|
65
|
-
private _insertView;
|
|
66
|
-
/** Detaches the view at the given index and inserts into the view cache. */
|
|
67
|
-
private _detachAndCacheView;
|
|
68
|
-
/** Moves view at the previous index to the current index. */
|
|
69
|
-
private _moveView;
|
|
70
|
-
/**
|
|
71
|
-
* Cache the given detached view. If the cache is full, the view will be
|
|
72
|
-
* destroyed.
|
|
73
|
-
*/
|
|
74
|
-
private _maybeCacheView;
|
|
75
|
-
/** Inserts a recycled view from the cache at the given index. */
|
|
76
|
-
private _insertViewFromCache;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* Interface for a class that can flatten hierarchical structured data and re-expand the flattened
|
|
81
|
-
* data back into its original structure. Should be used in conjunction with the cdk-tree.
|
|
82
|
-
*/
|
|
83
|
-
interface TreeDataNodeFlattener<T> {
|
|
84
|
-
/** Transforms a set of hierarchical structured data into a flattened data array. */
|
|
85
|
-
flattenNodes(structuredData: any[]): T[];
|
|
86
|
-
/**
|
|
87
|
-
* Expands a flattened array of data into its hierarchical form using the provided expansion
|
|
88
|
-
* model.
|
|
89
|
-
*/
|
|
90
|
-
expandFlattenedNodes(nodes: T[], expansionModel: SelectionModel<T>): T[];
|
|
91
|
-
/**
|
|
92
|
-
* Put node descendants of node in array.
|
|
93
|
-
* If `onlyExpandable` is true, then only process expandable descendants.
|
|
94
|
-
*/
|
|
95
|
-
nodeDescendents(node: T, nodes: T[], onlyExpandable: boolean): void;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
export { ArrayDataSource, DataSource, SelectionModel, _DisposeViewRepeaterStrategy, _RecycleViewRepeaterStrategy, _ViewRepeater, _ViewRepeaterItemChanged, _ViewRepeaterItemContext, _ViewRepeaterItemContextFactory, _ViewRepeaterItemValueResolver };
|
|
99
|
-
export type { TreeDataNodeFlattener };
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
|
|
3
|
-
/** Represents a range of numbers with a specified start and end. */
|
|
4
|
-
type ListRange = {
|
|
5
|
-
start: number;
|
|
6
|
-
end: number;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Interface for any component that provides a view of some data collection and wants to provide
|
|
10
|
-
* information regarding the view and any changes made.
|
|
11
|
-
*/
|
|
12
|
-
interface CollectionViewer {
|
|
13
|
-
/**
|
|
14
|
-
* A stream that emits whenever the `CollectionViewer` starts looking at a new portion of the
|
|
15
|
-
* data. The `start` index is inclusive, while the `end` is exclusive.
|
|
16
|
-
*/
|
|
17
|
-
viewChange: Observable<ListRange>;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
declare abstract class DataSource<T> {
|
|
21
|
-
/**
|
|
22
|
-
* Connects a collection viewer (such as a data-table) to this data source. Note that
|
|
23
|
-
* the stream provided will be accessed during change detection and should not directly change
|
|
24
|
-
* values that are bound in template views.
|
|
25
|
-
* @param collectionViewer The component that exposes a view over the data provided by this
|
|
26
|
-
* data source.
|
|
27
|
-
* @returns Observable that emits a new value when the data changes.
|
|
28
|
-
*/
|
|
29
|
-
abstract connect(collectionViewer: CollectionViewer): Observable<readonly T[]>;
|
|
30
|
-
/**
|
|
31
|
-
* Disconnects a collection viewer (such as a data-table) from this data source. Can be used
|
|
32
|
-
* to perform any clean-up or tear-down operations when a view is being destroyed.
|
|
33
|
-
*
|
|
34
|
-
* @param collectionViewer The component that exposes a view over the data provided by this
|
|
35
|
-
* data source.
|
|
36
|
-
*/
|
|
37
|
-
abstract disconnect(collectionViewer: CollectionViewer): void;
|
|
38
|
-
}
|
|
39
|
-
/** Checks whether an object is a data source. */
|
|
40
|
-
declare function isDataSource(value: any): value is DataSource<any>;
|
|
41
|
-
|
|
42
|
-
export { DataSource as D, isDataSource as i };
|
|
43
|
-
export type { CollectionViewer as C, ListRange as L };
|
|
@@ -1,426 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { ViewContainerRef, Injector, StaticProvider, Type, OnDestroy, ElementRef, NgZone, ChangeDetectorRef, ComponentRef, EmbeddedViewRef, TemplateRef, InjectionToken } from '@angular/core';
|
|
3
|
-
import { F as FocusOrigin } from '../focus-monitor.d-CvvJeQRc.js';
|
|
4
|
-
import { F as FocusTrapFactory, A as A11yModule } from '../a11y-module.d-DBHGyKoh.js';
|
|
5
|
-
import { B as BasePortalOutlet, h as CdkPortalOutlet, a as ComponentPortal, T as TemplatePortal, D as DomPortal, C as ComponentType, j as PortalModule } from '../portal-directives.d-BoG39gYN.js';
|
|
6
|
-
export { e as ɵɵCdkPortal, i as ɵɵPortalHostDirective, f as ɵɵTemplatePortalDirective } from '../portal-directives.d-BoG39gYN.js';
|
|
7
|
-
import { a as Direction } from '../bidi-module.d-D-fEBKdS.js';
|
|
8
|
-
import { P as PositionStrategy, n as ScrollStrategy, b as OverlayRef, o as OverlayModule } from '../overlay-module.d-B3qEQtts.js';
|
|
9
|
-
import { Observable, Subject } from 'rxjs';
|
|
10
|
-
import * as _angular_cdk_portal from '@angular/cdk/portal';
|
|
11
|
-
import { O as Overlay } from '../overlay.d-BdoMy0hX.js';
|
|
12
|
-
import '../observers/index.js';
|
|
13
|
-
import '../number-property.d-CJVxXUcb.js';
|
|
14
|
-
import '../scrolling-module.d-ud2XrbF8.js';
|
|
15
|
-
import '../data-source.d-Bblv7Zvh.js';
|
|
16
|
-
import '@angular/common';
|
|
17
|
-
import '../scrolling/index.js';
|
|
18
|
-
import '../platform.d-B3vREl3q.js';
|
|
19
|
-
import '../style-loader.d-BXZfQZTF.js';
|
|
20
|
-
|
|
21
|
-
/** Options for where to set focus to automatically on dialog open */
|
|
22
|
-
type AutoFocusTarget = 'dialog' | 'first-tabbable' | 'first-heading';
|
|
23
|
-
/** Valid ARIA roles for a dialog. */
|
|
24
|
-
type DialogRole = 'dialog' | 'alertdialog';
|
|
25
|
-
/** Configuration for opening a modal dialog. */
|
|
26
|
-
declare class DialogConfig<D = unknown, R = unknown, C extends BasePortalOutlet = BasePortalOutlet> {
|
|
27
|
-
/**
|
|
28
|
-
* Where the attached component should live in Angular's *logical* component tree.
|
|
29
|
-
* This affects what is available for injection and the change detection order for the
|
|
30
|
-
* component instantiated inside of the dialog. This does not affect where the dialog
|
|
31
|
-
* content will be rendered.
|
|
32
|
-
*/
|
|
33
|
-
viewContainerRef?: ViewContainerRef;
|
|
34
|
-
/**
|
|
35
|
-
* Injector used for the instantiation of the component to be attached. If provided,
|
|
36
|
-
* takes precedence over the injector indirectly provided by `ViewContainerRef`.
|
|
37
|
-
*/
|
|
38
|
-
injector?: Injector;
|
|
39
|
-
/** ID for the dialog. If omitted, a unique one will be generated. */
|
|
40
|
-
id?: string;
|
|
41
|
-
/** The ARIA role of the dialog element. */
|
|
42
|
-
role?: DialogRole;
|
|
43
|
-
/** Optional CSS class or classes applied to the overlay panel. */
|
|
44
|
-
panelClass?: string | string[];
|
|
45
|
-
/** Whether the dialog has a backdrop. */
|
|
46
|
-
hasBackdrop?: boolean;
|
|
47
|
-
/** Optional CSS class or classes applied to the overlay backdrop. */
|
|
48
|
-
backdropClass?: string | string[];
|
|
49
|
-
/** Whether the dialog closes with the escape key or pointer events outside the panel element. */
|
|
50
|
-
disableClose?: boolean;
|
|
51
|
-
/** Width of the dialog. */
|
|
52
|
-
width?: string;
|
|
53
|
-
/** Height of the dialog. */
|
|
54
|
-
height?: string;
|
|
55
|
-
/** Min-width of the dialog. If a number is provided, assumes pixel units. */
|
|
56
|
-
minWidth?: number | string;
|
|
57
|
-
/** Min-height of the dialog. If a number is provided, assumes pixel units. */
|
|
58
|
-
minHeight?: number | string;
|
|
59
|
-
/** Max-width of the dialog. If a number is provided, assumes pixel units. Defaults to 80vw. */
|
|
60
|
-
maxWidth?: number | string;
|
|
61
|
-
/** Max-height of the dialog. If a number is provided, assumes pixel units. */
|
|
62
|
-
maxHeight?: number | string;
|
|
63
|
-
/** Strategy to use when positioning the dialog. Defaults to centering it on the page. */
|
|
64
|
-
positionStrategy?: PositionStrategy;
|
|
65
|
-
/** Data being injected into the child component. */
|
|
66
|
-
data?: D | null;
|
|
67
|
-
/** Layout direction for the dialog's content. */
|
|
68
|
-
direction?: Direction;
|
|
69
|
-
/** ID of the element that describes the dialog. */
|
|
70
|
-
ariaDescribedBy?: string | null;
|
|
71
|
-
/** ID of the element that labels the dialog. */
|
|
72
|
-
ariaLabelledBy?: string | null;
|
|
73
|
-
/** Dialog label applied via `aria-label` */
|
|
74
|
-
ariaLabel?: string | null;
|
|
75
|
-
/**
|
|
76
|
-
* Whether this is a modal dialog. Used to set the `aria-modal` attribute. Off by default,
|
|
77
|
-
* because it can interfere with other overlay-based components (e.g. `mat-select`) and because
|
|
78
|
-
* it is redundant since the dialog marks all outside content as `aria-hidden` anyway.
|
|
79
|
-
*/
|
|
80
|
-
ariaModal?: boolean;
|
|
81
|
-
/**
|
|
82
|
-
* Where the dialog should focus on open.
|
|
83
|
-
* @breaking-change 14.0.0 Remove boolean option from autoFocus. Use string or
|
|
84
|
-
* AutoFocusTarget instead.
|
|
85
|
-
*/
|
|
86
|
-
autoFocus?: AutoFocusTarget | string | boolean;
|
|
87
|
-
/**
|
|
88
|
-
* Whether the dialog should restore focus to the previously-focused element upon closing.
|
|
89
|
-
* Has the following behavior based on the type that is passed in:
|
|
90
|
-
* - `boolean` - when true, will return focus to the element that was focused before the dialog
|
|
91
|
-
* was opened, otherwise won't restore focus at all.
|
|
92
|
-
* - `string` - focus will be restored to the first element that matches the CSS selector.
|
|
93
|
-
* - `HTMLElement` - focus will be restored to the specific element.
|
|
94
|
-
*/
|
|
95
|
-
restoreFocus?: boolean | string | HTMLElement;
|
|
96
|
-
/**
|
|
97
|
-
* Scroll strategy to be used for the dialog. This determines how
|
|
98
|
-
* the dialog responds to scrolling underneath the panel element.
|
|
99
|
-
*/
|
|
100
|
-
scrollStrategy?: ScrollStrategy;
|
|
101
|
-
/**
|
|
102
|
-
* Whether the dialog should close when the user navigates backwards or forwards through browser
|
|
103
|
-
* history. This does not apply to navigation via anchor element unless using URL-hash based
|
|
104
|
-
* routing (`HashLocationStrategy` in the Angular router).
|
|
105
|
-
*/
|
|
106
|
-
closeOnNavigation?: boolean;
|
|
107
|
-
/**
|
|
108
|
-
* Whether the dialog should close when the dialog service is destroyed. This is useful if
|
|
109
|
-
* another service is wrapping the dialog and is managing the destruction instead.
|
|
110
|
-
*/
|
|
111
|
-
closeOnDestroy?: boolean;
|
|
112
|
-
/**
|
|
113
|
-
* Whether the dialog should close when the underlying overlay is detached. This is useful if
|
|
114
|
-
* another service is wrapping the dialog and is managing the destruction instead. E.g. an
|
|
115
|
-
* external detachment can happen as a result of a scroll strategy triggering it or when the
|
|
116
|
-
* browser location changes.
|
|
117
|
-
*/
|
|
118
|
-
closeOnOverlayDetachments?: boolean;
|
|
119
|
-
/**
|
|
120
|
-
* Alternate `ComponentFactoryResolver` to use when resolving the associated component.
|
|
121
|
-
* @deprecated No longer used. Will be removed.
|
|
122
|
-
* @breaking-change 20.0.0
|
|
123
|
-
*/
|
|
124
|
-
componentFactoryResolver?: unknown;
|
|
125
|
-
/**
|
|
126
|
-
* Providers that will be exposed to the contents of the dialog. Can also
|
|
127
|
-
* be provided as a function in order to generate the providers lazily.
|
|
128
|
-
*/
|
|
129
|
-
providers?: StaticProvider[] | ((dialogRef: R, config: DialogConfig<D, R, C>, container: C) => StaticProvider[]);
|
|
130
|
-
/**
|
|
131
|
-
* Component into which the dialog content will be rendered. Defaults to `CdkDialogContainer`.
|
|
132
|
-
* A configuration object can be passed in to customize the providers that will be exposed
|
|
133
|
-
* to the dialog container.
|
|
134
|
-
*/
|
|
135
|
-
container?: Type<C> | {
|
|
136
|
-
type: Type<C>;
|
|
137
|
-
providers: (config: DialogConfig<D, R, C>) => StaticProvider[];
|
|
138
|
-
};
|
|
139
|
-
/**
|
|
140
|
-
* Context that will be passed to template-based dialogs.
|
|
141
|
-
* A function can be passed in to resolve the context lazily.
|
|
142
|
-
*/
|
|
143
|
-
templateContext?: Record<string, any> | (() => Record<string, any>);
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
declare function throwDialogContentAlreadyAttachedError(): void;
|
|
147
|
-
/**
|
|
148
|
-
* Internal component that wraps user-provided dialog content.
|
|
149
|
-
* @docs-private
|
|
150
|
-
*/
|
|
151
|
-
declare class CdkDialogContainer<C extends DialogConfig = DialogConfig> extends BasePortalOutlet implements OnDestroy {
|
|
152
|
-
protected _elementRef: ElementRef<HTMLElement>;
|
|
153
|
-
protected _focusTrapFactory: FocusTrapFactory;
|
|
154
|
-
readonly _config: C;
|
|
155
|
-
private _interactivityChecker;
|
|
156
|
-
protected _ngZone: NgZone;
|
|
157
|
-
private _overlayRef;
|
|
158
|
-
private _focusMonitor;
|
|
159
|
-
private _renderer;
|
|
160
|
-
private _platform;
|
|
161
|
-
protected _document: Document;
|
|
162
|
-
/** The portal outlet inside of this container into which the dialog content will be loaded. */
|
|
163
|
-
_portalOutlet: CdkPortalOutlet;
|
|
164
|
-
/** The class that traps and manages focus within the dialog. */
|
|
165
|
-
private _focusTrap;
|
|
166
|
-
/** Element that was focused before the dialog was opened. Save this to restore upon close. */
|
|
167
|
-
private _elementFocusedBeforeDialogWasOpened;
|
|
168
|
-
/**
|
|
169
|
-
* Type of interaction that led to the dialog being closed. This is used to determine
|
|
170
|
-
* whether the focus style will be applied when returning focus to its original location
|
|
171
|
-
* after the dialog is closed.
|
|
172
|
-
*/
|
|
173
|
-
_closeInteractionType: FocusOrigin | null;
|
|
174
|
-
/**
|
|
175
|
-
* Queue of the IDs of the dialog's label element, based on their definition order. The first
|
|
176
|
-
* ID will be used as the `aria-labelledby` value. We use a queue here to handle the case
|
|
177
|
-
* where there are two or more titles in the DOM at a time and the first one is destroyed while
|
|
178
|
-
* the rest are present.
|
|
179
|
-
*/
|
|
180
|
-
_ariaLabelledByQueue: string[];
|
|
181
|
-
protected readonly _changeDetectorRef: ChangeDetectorRef;
|
|
182
|
-
private _injector;
|
|
183
|
-
private _isDestroyed;
|
|
184
|
-
constructor(...args: unknown[]);
|
|
185
|
-
_addAriaLabelledBy(id: string): void;
|
|
186
|
-
_removeAriaLabelledBy(id: string): void;
|
|
187
|
-
protected _contentAttached(): void;
|
|
188
|
-
/**
|
|
189
|
-
* Can be used by child classes to customize the initial focus
|
|
190
|
-
* capturing behavior (e.g. if it's tied to an animation).
|
|
191
|
-
*/
|
|
192
|
-
protected _captureInitialFocus(): void;
|
|
193
|
-
ngOnDestroy(): void;
|
|
194
|
-
/**
|
|
195
|
-
* Attach a ComponentPortal as content to this dialog container.
|
|
196
|
-
* @param portal Portal to be attached as the dialog content.
|
|
197
|
-
*/
|
|
198
|
-
attachComponentPortal<T>(portal: ComponentPortal<T>): ComponentRef<T>;
|
|
199
|
-
/**
|
|
200
|
-
* Attach a TemplatePortal as content to this dialog container.
|
|
201
|
-
* @param portal Portal to be attached as the dialog content.
|
|
202
|
-
*/
|
|
203
|
-
attachTemplatePortal<T>(portal: TemplatePortal<T>): EmbeddedViewRef<T>;
|
|
204
|
-
/**
|
|
205
|
-
* Attaches a DOM portal to the dialog container.
|
|
206
|
-
* @param portal Portal to be attached.
|
|
207
|
-
* @deprecated To be turned into a method.
|
|
208
|
-
* @breaking-change 10.0.0
|
|
209
|
-
*/
|
|
210
|
-
attachDomPortal: (portal: DomPortal) => void;
|
|
211
|
-
/** Captures focus if it isn't already inside the dialog. */
|
|
212
|
-
_recaptureFocus(): void;
|
|
213
|
-
/**
|
|
214
|
-
* Focuses the provided element. If the element is not focusable, it will add a tabIndex
|
|
215
|
-
* attribute to forcefully focus it. The attribute is removed after focus is moved.
|
|
216
|
-
* @param element The element to focus.
|
|
217
|
-
*/
|
|
218
|
-
private _forceFocus;
|
|
219
|
-
/**
|
|
220
|
-
* Focuses the first element that matches the given selector within the focus trap.
|
|
221
|
-
* @param selector The CSS selector for the element to set focus to.
|
|
222
|
-
*/
|
|
223
|
-
private _focusByCssSelector;
|
|
224
|
-
/**
|
|
225
|
-
* Moves the focus inside the focus trap. When autoFocus is not set to 'dialog', if focus
|
|
226
|
-
* cannot be moved then focus will go to the dialog container.
|
|
227
|
-
*/
|
|
228
|
-
protected _trapFocus(options?: FocusOptions): void;
|
|
229
|
-
/** Restores focus to the element that was focused before the dialog opened. */
|
|
230
|
-
private _restoreFocus;
|
|
231
|
-
/** Focuses the dialog container. */
|
|
232
|
-
private _focusDialogContainer;
|
|
233
|
-
/** Returns whether focus is inside the dialog. */
|
|
234
|
-
private _containsFocus;
|
|
235
|
-
/** Sets up the focus trap. */
|
|
236
|
-
private _initializeFocusTrap;
|
|
237
|
-
/** Sets up the listener that handles clicks on the dialog backdrop. */
|
|
238
|
-
private _handleBackdropClicks;
|
|
239
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkDialogContainer<any>, never>;
|
|
240
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CdkDialogContainer<any>, "cdk-dialog-container", never, {}, {}, never, never, true, never>;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
/** Additional options that can be passed in when closing a dialog. */
|
|
244
|
-
interface DialogCloseOptions {
|
|
245
|
-
/** Focus original to use when restoring focus. */
|
|
246
|
-
focusOrigin?: FocusOrigin;
|
|
247
|
-
}
|
|
248
|
-
/**
|
|
249
|
-
* Reference to a dialog opened via the Dialog service.
|
|
250
|
-
*/
|
|
251
|
-
declare class DialogRef<R = unknown, C = unknown> {
|
|
252
|
-
readonly overlayRef: OverlayRef;
|
|
253
|
-
readonly config: DialogConfig<any, DialogRef<R, C>, BasePortalOutlet>;
|
|
254
|
-
/**
|
|
255
|
-
* Instance of component opened into the dialog. Will be
|
|
256
|
-
* null when the dialog is opened using a `TemplateRef`.
|
|
257
|
-
*/
|
|
258
|
-
readonly componentInstance: C | null;
|
|
259
|
-
/**
|
|
260
|
-
* `ComponentRef` of the component opened into the dialog. Will be
|
|
261
|
-
* null when the dialog is opened using a `TemplateRef`.
|
|
262
|
-
*/
|
|
263
|
-
readonly componentRef: ComponentRef<C> | null;
|
|
264
|
-
/** Instance of the container that is rendering out the dialog content. */
|
|
265
|
-
readonly containerInstance: BasePortalOutlet & {
|
|
266
|
-
_closeInteractionType?: FocusOrigin;
|
|
267
|
-
};
|
|
268
|
-
/** Whether the user is allowed to close the dialog. */
|
|
269
|
-
disableClose: boolean | undefined;
|
|
270
|
-
/** Emits when the dialog has been closed. */
|
|
271
|
-
readonly closed: Observable<R | undefined>;
|
|
272
|
-
/** Emits when the backdrop of the dialog is clicked. */
|
|
273
|
-
readonly backdropClick: Observable<MouseEvent>;
|
|
274
|
-
/** Emits when on keyboard events within the dialog. */
|
|
275
|
-
readonly keydownEvents: Observable<KeyboardEvent>;
|
|
276
|
-
/** Emits on pointer events that happen outside of the dialog. */
|
|
277
|
-
readonly outsidePointerEvents: Observable<MouseEvent>;
|
|
278
|
-
/** Unique ID for the dialog. */
|
|
279
|
-
readonly id: string;
|
|
280
|
-
/** Subscription to external detachments of the dialog. */
|
|
281
|
-
private _detachSubscription;
|
|
282
|
-
constructor(overlayRef: OverlayRef, config: DialogConfig<any, DialogRef<R, C>, BasePortalOutlet>);
|
|
283
|
-
/**
|
|
284
|
-
* Close the dialog.
|
|
285
|
-
* @param result Optional result to return to the dialog opener.
|
|
286
|
-
* @param options Additional options to customize the closing behavior.
|
|
287
|
-
*/
|
|
288
|
-
close(result?: R, options?: DialogCloseOptions): void;
|
|
289
|
-
/** Updates the position of the dialog based on the current position strategy. */
|
|
290
|
-
updatePosition(): this;
|
|
291
|
-
/**
|
|
292
|
-
* Updates the dialog's width and height.
|
|
293
|
-
* @param width New width of the dialog.
|
|
294
|
-
* @param height New height of the dialog.
|
|
295
|
-
*/
|
|
296
|
-
updateSize(width?: string | number, height?: string | number): this;
|
|
297
|
-
/** Add a CSS class or an array of classes to the overlay pane. */
|
|
298
|
-
addPanelClass(classes: string | string[]): this;
|
|
299
|
-
/** Remove a CSS class or an array of classes from the overlay pane. */
|
|
300
|
-
removePanelClass(classes: string | string[]): this;
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
declare class Dialog implements OnDestroy {
|
|
304
|
-
private _overlay;
|
|
305
|
-
private _injector;
|
|
306
|
-
private _defaultOptions;
|
|
307
|
-
private _parentDialog;
|
|
308
|
-
private _overlayContainer;
|
|
309
|
-
private _idGenerator;
|
|
310
|
-
private _openDialogsAtThisLevel;
|
|
311
|
-
private readonly _afterAllClosedAtThisLevel;
|
|
312
|
-
private readonly _afterOpenedAtThisLevel;
|
|
313
|
-
private _ariaHiddenElements;
|
|
314
|
-
private _scrollStrategy;
|
|
315
|
-
/** Keeps track of the currently-open dialogs. */
|
|
316
|
-
get openDialogs(): readonly DialogRef<any, any>[];
|
|
317
|
-
/** Stream that emits when a dialog has been opened. */
|
|
318
|
-
get afterOpened(): Subject<DialogRef<any, any>>;
|
|
319
|
-
/**
|
|
320
|
-
* Stream that emits when all open dialog have finished closing.
|
|
321
|
-
* Will emit on subscribe if there are no open dialogs to begin with.
|
|
322
|
-
*/
|
|
323
|
-
readonly afterAllClosed: Observable<void>;
|
|
324
|
-
constructor(...args: unknown[]);
|
|
325
|
-
/**
|
|
326
|
-
* Opens a modal dialog containing the given component.
|
|
327
|
-
* @param component Type of the component to load into the dialog.
|
|
328
|
-
* @param config Extra configuration options.
|
|
329
|
-
* @returns Reference to the newly-opened dialog.
|
|
330
|
-
*/
|
|
331
|
-
open<R = unknown, D = unknown, C = unknown>(component: ComponentType<C>, config?: DialogConfig<D, DialogRef<R, C>>): DialogRef<R, C>;
|
|
332
|
-
/**
|
|
333
|
-
* Opens a modal dialog containing the given template.
|
|
334
|
-
* @param template TemplateRef to instantiate as the dialog content.
|
|
335
|
-
* @param config Extra configuration options.
|
|
336
|
-
* @returns Reference to the newly-opened dialog.
|
|
337
|
-
*/
|
|
338
|
-
open<R = unknown, D = unknown, C = unknown>(template: TemplateRef<C>, config?: DialogConfig<D, DialogRef<R, C>>): DialogRef<R, C>;
|
|
339
|
-
open<R = unknown, D = unknown, C = unknown>(componentOrTemplateRef: ComponentType<C> | TemplateRef<C>, config?: DialogConfig<D, DialogRef<R, C>>): DialogRef<R, C>;
|
|
340
|
-
/**
|
|
341
|
-
* Closes all of the currently-open dialogs.
|
|
342
|
-
*/
|
|
343
|
-
closeAll(): void;
|
|
344
|
-
/**
|
|
345
|
-
* Finds an open dialog by its id.
|
|
346
|
-
* @param id ID to use when looking up the dialog.
|
|
347
|
-
*/
|
|
348
|
-
getDialogById<R, C>(id: string): DialogRef<R, C> | undefined;
|
|
349
|
-
ngOnDestroy(): void;
|
|
350
|
-
/**
|
|
351
|
-
* Creates an overlay config from a dialog config.
|
|
352
|
-
* @param config The dialog configuration.
|
|
353
|
-
* @returns The overlay configuration.
|
|
354
|
-
*/
|
|
355
|
-
private _getOverlayConfig;
|
|
356
|
-
/**
|
|
357
|
-
* Attaches a dialog container to a dialog's already-created overlay.
|
|
358
|
-
* @param overlay Reference to the dialog's underlying overlay.
|
|
359
|
-
* @param config The dialog configuration.
|
|
360
|
-
* @returns A promise resolving to a ComponentRef for the attached container.
|
|
361
|
-
*/
|
|
362
|
-
private _attachContainer;
|
|
363
|
-
/**
|
|
364
|
-
* Attaches the user-provided component to the already-created dialog container.
|
|
365
|
-
* @param componentOrTemplateRef The type of component being loaded into the dialog,
|
|
366
|
-
* or a TemplateRef to instantiate as the content.
|
|
367
|
-
* @param dialogRef Reference to the dialog being opened.
|
|
368
|
-
* @param dialogContainer Component that is going to wrap the dialog content.
|
|
369
|
-
* @param config Configuration used to open the dialog.
|
|
370
|
-
*/
|
|
371
|
-
private _attachDialogContent;
|
|
372
|
-
/**
|
|
373
|
-
* Creates a custom injector to be used inside the dialog. This allows a component loaded inside
|
|
374
|
-
* of a dialog to close itself and, optionally, to return a value.
|
|
375
|
-
* @param config Config object that is used to construct the dialog.
|
|
376
|
-
* @param dialogRef Reference to the dialog being opened.
|
|
377
|
-
* @param dialogContainer Component that is going to wrap the dialog content.
|
|
378
|
-
* @param fallbackInjector Injector to use as a fallback when a lookup fails in the custom
|
|
379
|
-
* dialog injector, if the user didn't provide a custom one.
|
|
380
|
-
* @returns The custom injector that can be used inside the dialog.
|
|
381
|
-
*/
|
|
382
|
-
private _createInjector;
|
|
383
|
-
/**
|
|
384
|
-
* Removes a dialog from the array of open dialogs.
|
|
385
|
-
* @param dialogRef Dialog to be removed.
|
|
386
|
-
* @param emitEvent Whether to emit an event if this is the last dialog.
|
|
387
|
-
*/
|
|
388
|
-
private _removeOpenDialog;
|
|
389
|
-
/** Hides all of the content that isn't an overlay from assistive technology. */
|
|
390
|
-
private _hideNonDialogContentFromAssistiveTechnology;
|
|
391
|
-
private _getAfterAllClosed;
|
|
392
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Dialog, never>;
|
|
393
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<Dialog>;
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
declare class DialogModule {
|
|
397
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DialogModule, never>;
|
|
398
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DialogModule, never, [typeof OverlayModule, typeof PortalModule, typeof A11yModule, typeof CdkDialogContainer], [typeof PortalModule, typeof CdkDialogContainer]>;
|
|
399
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<DialogModule>;
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
/** Injection token for the Dialog's ScrollStrategy. */
|
|
403
|
-
declare const DIALOG_SCROLL_STRATEGY: InjectionToken<() => ScrollStrategy>;
|
|
404
|
-
/** Injection token for the Dialog's Data. */
|
|
405
|
-
declare const DIALOG_DATA: InjectionToken<any>;
|
|
406
|
-
/** Injection token that can be used to provide default options for the dialog module. */
|
|
407
|
-
declare const DEFAULT_DIALOG_CONFIG: InjectionToken<DialogConfig<unknown, unknown, _angular_cdk_portal.BasePortalOutlet>>;
|
|
408
|
-
/**
|
|
409
|
-
* @docs-private
|
|
410
|
-
* @deprecated No longer used. To be removed.
|
|
411
|
-
* @breaking-change 19.0.0
|
|
412
|
-
*/
|
|
413
|
-
declare function DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY(overlay: Overlay): () => ScrollStrategy;
|
|
414
|
-
/**
|
|
415
|
-
* @docs-private
|
|
416
|
-
* @deprecated No longer used. To be removed.
|
|
417
|
-
* @breaking-change 19.0.0
|
|
418
|
-
*/
|
|
419
|
-
declare const DIALOG_SCROLL_STRATEGY_PROVIDER: {
|
|
420
|
-
provide: InjectionToken<() => ScrollStrategy>;
|
|
421
|
-
deps: (typeof Overlay)[];
|
|
422
|
-
useFactory: typeof DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY;
|
|
423
|
-
};
|
|
424
|
-
|
|
425
|
-
export { CdkDialogContainer, DEFAULT_DIALOG_CONFIG, DIALOG_DATA, DIALOG_SCROLL_STRATEGY, DIALOG_SCROLL_STRATEGY_PROVIDER, DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY, Dialog, DialogConfig, DialogModule, DialogRef, throwDialogContentAlreadyAttachedError, CdkPortalOutlet as ɵɵCdkPortalOutlet };
|
|
426
|
-
export type { AutoFocusTarget, DialogCloseOptions, DialogRole };
|