@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,314 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { NgZone, Injector, OnDestroy, AfterContentInit, OnChanges, DoCheck, SimpleChanges, InjectionToken } from '@angular/core';
|
|
3
|
-
import { ObserversModule } from './observers/index.js';
|
|
4
|
-
import { C as CdkMonitorFocus } from './focus-monitor.d-CvvJeQRc.js';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Configuration for the isFocusable method.
|
|
8
|
-
*/
|
|
9
|
-
declare class IsFocusableConfig {
|
|
10
|
-
/**
|
|
11
|
-
* Whether to count an element as focusable even if it is not currently visible.
|
|
12
|
-
*/
|
|
13
|
-
ignoreVisibility: boolean;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Utility for checking the interactivity of an element, such as whether it is focusable or
|
|
17
|
-
* tabbable.
|
|
18
|
-
*/
|
|
19
|
-
declare class InteractivityChecker {
|
|
20
|
-
private _platform;
|
|
21
|
-
constructor(...args: unknown[]);
|
|
22
|
-
/**
|
|
23
|
-
* Gets whether an element is disabled.
|
|
24
|
-
*
|
|
25
|
-
* @param element Element to be checked.
|
|
26
|
-
* @returns Whether the element is disabled.
|
|
27
|
-
*/
|
|
28
|
-
isDisabled(element: HTMLElement): boolean;
|
|
29
|
-
/**
|
|
30
|
-
* Gets whether an element is visible for the purposes of interactivity.
|
|
31
|
-
*
|
|
32
|
-
* This will capture states like `display: none` and `visibility: hidden`, but not things like
|
|
33
|
-
* being clipped by an `overflow: hidden` parent or being outside the viewport.
|
|
34
|
-
*
|
|
35
|
-
* @returns Whether the element is visible.
|
|
36
|
-
*/
|
|
37
|
-
isVisible(element: HTMLElement): boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Gets whether an element can be reached via Tab key.
|
|
40
|
-
* Assumes that the element has already been checked with isFocusable.
|
|
41
|
-
*
|
|
42
|
-
* @param element Element to be checked.
|
|
43
|
-
* @returns Whether the element is tabbable.
|
|
44
|
-
*/
|
|
45
|
-
isTabbable(element: HTMLElement): boolean;
|
|
46
|
-
/**
|
|
47
|
-
* Gets whether an element can be focused by the user.
|
|
48
|
-
*
|
|
49
|
-
* @param element Element to be checked.
|
|
50
|
-
* @param config The config object with options to customize this method's behavior
|
|
51
|
-
* @returns Whether the element is focusable.
|
|
52
|
-
*/
|
|
53
|
-
isFocusable(element: HTMLElement, config?: IsFocusableConfig): boolean;
|
|
54
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InteractivityChecker, never>;
|
|
55
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<InteractivityChecker>;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* Class that allows for trapping focus within a DOM element.
|
|
60
|
-
*
|
|
61
|
-
* This class currently uses a relatively simple approach to focus trapping.
|
|
62
|
-
* It assumes that the tab order is the same as DOM order, which is not necessarily true.
|
|
63
|
-
* Things like `tabIndex > 0`, flex `order`, and shadow roots can cause the two to be misaligned.
|
|
64
|
-
*/
|
|
65
|
-
declare class FocusTrap {
|
|
66
|
-
readonly _element: HTMLElement;
|
|
67
|
-
private _checker;
|
|
68
|
-
readonly _ngZone: NgZone;
|
|
69
|
-
readonly _document: Document;
|
|
70
|
-
/** @breaking-change 20.0.0 param to become required */
|
|
71
|
-
readonly _injector?: Injector | undefined;
|
|
72
|
-
private _startAnchor;
|
|
73
|
-
private _endAnchor;
|
|
74
|
-
private _hasAttached;
|
|
75
|
-
protected startAnchorListener: () => boolean;
|
|
76
|
-
protected endAnchorListener: () => boolean;
|
|
77
|
-
/** Whether the focus trap is active. */
|
|
78
|
-
get enabled(): boolean;
|
|
79
|
-
set enabled(value: boolean);
|
|
80
|
-
protected _enabled: boolean;
|
|
81
|
-
constructor(_element: HTMLElement, _checker: InteractivityChecker, _ngZone: NgZone, _document: Document, deferAnchors?: boolean,
|
|
82
|
-
/** @breaking-change 20.0.0 param to become required */
|
|
83
|
-
_injector?: Injector | undefined);
|
|
84
|
-
/** Destroys the focus trap by cleaning up the anchors. */
|
|
85
|
-
destroy(): void;
|
|
86
|
-
/**
|
|
87
|
-
* Inserts the anchors into the DOM. This is usually done automatically
|
|
88
|
-
* in the constructor, but can be deferred for cases like directives with `*ngIf`.
|
|
89
|
-
* @returns Whether the focus trap managed to attach successfully. This may not be the case
|
|
90
|
-
* if the target element isn't currently in the DOM.
|
|
91
|
-
*/
|
|
92
|
-
attachAnchors(): boolean;
|
|
93
|
-
/**
|
|
94
|
-
* Waits for the zone to stabilize, then focuses the first tabbable element.
|
|
95
|
-
* @returns Returns a promise that resolves with a boolean, depending
|
|
96
|
-
* on whether focus was moved successfully.
|
|
97
|
-
*/
|
|
98
|
-
focusInitialElementWhenReady(options?: FocusOptions): Promise<boolean>;
|
|
99
|
-
/**
|
|
100
|
-
* Waits for the zone to stabilize, then focuses
|
|
101
|
-
* the first tabbable element within the focus trap region.
|
|
102
|
-
* @returns Returns a promise that resolves with a boolean, depending
|
|
103
|
-
* on whether focus was moved successfully.
|
|
104
|
-
*/
|
|
105
|
-
focusFirstTabbableElementWhenReady(options?: FocusOptions): Promise<boolean>;
|
|
106
|
-
/**
|
|
107
|
-
* Waits for the zone to stabilize, then focuses
|
|
108
|
-
* the last tabbable element within the focus trap region.
|
|
109
|
-
* @returns Returns a promise that resolves with a boolean, depending
|
|
110
|
-
* on whether focus was moved successfully.
|
|
111
|
-
*/
|
|
112
|
-
focusLastTabbableElementWhenReady(options?: FocusOptions): Promise<boolean>;
|
|
113
|
-
/**
|
|
114
|
-
* Get the specified boundary element of the trapped region.
|
|
115
|
-
* @param bound The boundary to get (start or end of trapped region).
|
|
116
|
-
* @returns The boundary element.
|
|
117
|
-
*/
|
|
118
|
-
private _getRegionBoundary;
|
|
119
|
-
/**
|
|
120
|
-
* Focuses the element that should be focused when the focus trap is initialized.
|
|
121
|
-
* @returns Whether focus was moved successfully.
|
|
122
|
-
*/
|
|
123
|
-
focusInitialElement(options?: FocusOptions): boolean;
|
|
124
|
-
/**
|
|
125
|
-
* Focuses the first tabbable element within the focus trap region.
|
|
126
|
-
* @returns Whether focus was moved successfully.
|
|
127
|
-
*/
|
|
128
|
-
focusFirstTabbableElement(options?: FocusOptions): boolean;
|
|
129
|
-
/**
|
|
130
|
-
* Focuses the last tabbable element within the focus trap region.
|
|
131
|
-
* @returns Whether focus was moved successfully.
|
|
132
|
-
*/
|
|
133
|
-
focusLastTabbableElement(options?: FocusOptions): boolean;
|
|
134
|
-
/**
|
|
135
|
-
* Checks whether the focus trap has successfully been attached.
|
|
136
|
-
*/
|
|
137
|
-
hasAttached(): boolean;
|
|
138
|
-
/** Get the first tabbable element from a DOM subtree (inclusive). */
|
|
139
|
-
private _getFirstTabbableElement;
|
|
140
|
-
/** Get the last tabbable element from a DOM subtree (inclusive). */
|
|
141
|
-
private _getLastTabbableElement;
|
|
142
|
-
/** Creates an anchor element. */
|
|
143
|
-
private _createAnchor;
|
|
144
|
-
/**
|
|
145
|
-
* Toggles the `tabindex` of an anchor, based on the enabled state of the focus trap.
|
|
146
|
-
* @param isEnabled Whether the focus trap is enabled.
|
|
147
|
-
* @param anchor Anchor on which to toggle the tabindex.
|
|
148
|
-
*/
|
|
149
|
-
private _toggleAnchorTabIndex;
|
|
150
|
-
/**
|
|
151
|
-
* Toggles the`tabindex` of both anchors to either trap Tab focus or allow it to escape.
|
|
152
|
-
* @param enabled: Whether the anchors should trap Tab.
|
|
153
|
-
*/
|
|
154
|
-
protected toggleAnchors(enabled: boolean): void;
|
|
155
|
-
/** Executes a function when the zone is stable. */
|
|
156
|
-
private _executeOnStable;
|
|
157
|
-
}
|
|
158
|
-
/**
|
|
159
|
-
* Factory that allows easy instantiation of focus traps.
|
|
160
|
-
*/
|
|
161
|
-
declare class FocusTrapFactory {
|
|
162
|
-
private _checker;
|
|
163
|
-
private _ngZone;
|
|
164
|
-
private _document;
|
|
165
|
-
private _injector;
|
|
166
|
-
constructor(...args: unknown[]);
|
|
167
|
-
/**
|
|
168
|
-
* Creates a focus-trapped region around the given element.
|
|
169
|
-
* @param element The element around which focus will be trapped.
|
|
170
|
-
* @param deferCaptureElements Defers the creation of focus-capturing elements to be done
|
|
171
|
-
* manually by the user.
|
|
172
|
-
* @returns The created focus trap instance.
|
|
173
|
-
*/
|
|
174
|
-
create(element: HTMLElement, deferCaptureElements?: boolean): FocusTrap;
|
|
175
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FocusTrapFactory, never>;
|
|
176
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FocusTrapFactory>;
|
|
177
|
-
}
|
|
178
|
-
/** Directive for trapping focus within a region. */
|
|
179
|
-
declare class CdkTrapFocus implements OnDestroy, AfterContentInit, OnChanges, DoCheck {
|
|
180
|
-
private _elementRef;
|
|
181
|
-
private _focusTrapFactory;
|
|
182
|
-
/** Underlying FocusTrap instance. */
|
|
183
|
-
focusTrap: FocusTrap;
|
|
184
|
-
/** Previously focused element to restore focus to upon destroy when using autoCapture. */
|
|
185
|
-
private _previouslyFocusedElement;
|
|
186
|
-
/** Whether the focus trap is active. */
|
|
187
|
-
get enabled(): boolean;
|
|
188
|
-
set enabled(value: boolean);
|
|
189
|
-
/**
|
|
190
|
-
* Whether the directive should automatically move focus into the trapped region upon
|
|
191
|
-
* initialization and return focus to the previous activeElement upon destruction.
|
|
192
|
-
*/
|
|
193
|
-
autoCapture: boolean;
|
|
194
|
-
constructor(...args: unknown[]);
|
|
195
|
-
ngOnDestroy(): void;
|
|
196
|
-
ngAfterContentInit(): void;
|
|
197
|
-
ngDoCheck(): void;
|
|
198
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
199
|
-
private _captureFocus;
|
|
200
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkTrapFocus, never>;
|
|
201
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkTrapFocus, "[cdkTrapFocus]", ["cdkTrapFocus"], { "enabled": { "alias": "cdkTrapFocus"; "required": false; }; "autoCapture": { "alias": "cdkTrapFocusAutoCapture"; "required": false; }; }, {}, never, never, true, never>;
|
|
202
|
-
static ngAcceptInputType_enabled: unknown;
|
|
203
|
-
static ngAcceptInputType_autoCapture: unknown;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
/** Possible politeness levels. */
|
|
207
|
-
type AriaLivePoliteness = 'off' | 'polite' | 'assertive';
|
|
208
|
-
declare const LIVE_ANNOUNCER_ELEMENT_TOKEN: InjectionToken<HTMLElement | null>;
|
|
209
|
-
/**
|
|
210
|
-
* @docs-private
|
|
211
|
-
* @deprecated No longer used, will be removed.
|
|
212
|
-
* @breaking-change 21.0.0
|
|
213
|
-
*/
|
|
214
|
-
declare function LIVE_ANNOUNCER_ELEMENT_TOKEN_FACTORY(): null;
|
|
215
|
-
/** Object that can be used to configure the default options for the LiveAnnouncer. */
|
|
216
|
-
interface LiveAnnouncerDefaultOptions {
|
|
217
|
-
/** Default politeness for the announcements. */
|
|
218
|
-
politeness?: AriaLivePoliteness;
|
|
219
|
-
/** Default duration for the announcement messages. */
|
|
220
|
-
duration?: number;
|
|
221
|
-
}
|
|
222
|
-
/** Injection token that can be used to configure the default options for the LiveAnnouncer. */
|
|
223
|
-
declare const LIVE_ANNOUNCER_DEFAULT_OPTIONS: InjectionToken<LiveAnnouncerDefaultOptions>;
|
|
224
|
-
|
|
225
|
-
declare class LiveAnnouncer implements OnDestroy {
|
|
226
|
-
private _ngZone;
|
|
227
|
-
private _defaultOptions;
|
|
228
|
-
private _liveElement;
|
|
229
|
-
private _document;
|
|
230
|
-
private _previousTimeout;
|
|
231
|
-
private _currentPromise;
|
|
232
|
-
private _currentResolve;
|
|
233
|
-
constructor(...args: unknown[]);
|
|
234
|
-
/**
|
|
235
|
-
* Announces a message to screen readers.
|
|
236
|
-
* @param message Message to be announced to the screen reader.
|
|
237
|
-
* @returns Promise that will be resolved when the message is added to the DOM.
|
|
238
|
-
*/
|
|
239
|
-
announce(message: string): Promise<void>;
|
|
240
|
-
/**
|
|
241
|
-
* Announces a message to screen readers.
|
|
242
|
-
* @param message Message to be announced to the screen reader.
|
|
243
|
-
* @param politeness The politeness of the announcer element.
|
|
244
|
-
* @returns Promise that will be resolved when the message is added to the DOM.
|
|
245
|
-
*/
|
|
246
|
-
announce(message: string, politeness?: AriaLivePoliteness): Promise<void>;
|
|
247
|
-
/**
|
|
248
|
-
* Announces a message to screen readers.
|
|
249
|
-
* @param message Message to be announced to the screen reader.
|
|
250
|
-
* @param duration Time in milliseconds after which to clear out the announcer element. Note
|
|
251
|
-
* that this takes effect after the message has been added to the DOM, which can be up to
|
|
252
|
-
* 100ms after `announce` has been called.
|
|
253
|
-
* @returns Promise that will be resolved when the message is added to the DOM.
|
|
254
|
-
*/
|
|
255
|
-
announce(message: string, duration?: number): Promise<void>;
|
|
256
|
-
/**
|
|
257
|
-
* Announces a message to screen readers.
|
|
258
|
-
* @param message Message to be announced to the screen reader.
|
|
259
|
-
* @param politeness The politeness of the announcer element.
|
|
260
|
-
* @param duration Time in milliseconds after which to clear out the announcer element. Note
|
|
261
|
-
* that this takes effect after the message has been added to the DOM, which can be up to
|
|
262
|
-
* 100ms after `announce` has been called.
|
|
263
|
-
* @returns Promise that will be resolved when the message is added to the DOM.
|
|
264
|
-
*/
|
|
265
|
-
announce(message: string, politeness?: AriaLivePoliteness, duration?: number): Promise<void>;
|
|
266
|
-
/**
|
|
267
|
-
* Clears the current text from the announcer element. Can be used to prevent
|
|
268
|
-
* screen readers from reading the text out again while the user is going
|
|
269
|
-
* through the page landmarks.
|
|
270
|
-
*/
|
|
271
|
-
clear(): void;
|
|
272
|
-
ngOnDestroy(): void;
|
|
273
|
-
private _createLiveElement;
|
|
274
|
-
/**
|
|
275
|
-
* Some browsers won't expose the accessibility node of the live announcer element if there is an
|
|
276
|
-
* `aria-modal` and the live announcer is outside of it. This method works around the issue by
|
|
277
|
-
* pointing the `aria-owns` of all modals to the live announcer element.
|
|
278
|
-
*/
|
|
279
|
-
private _exposeAnnouncerToModals;
|
|
280
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LiveAnnouncer, never>;
|
|
281
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LiveAnnouncer>;
|
|
282
|
-
}
|
|
283
|
-
/**
|
|
284
|
-
* A directive that works similarly to aria-live, but uses the LiveAnnouncer to ensure compatibility
|
|
285
|
-
* with a wider range of browsers and screen readers.
|
|
286
|
-
*/
|
|
287
|
-
declare class CdkAriaLive implements OnDestroy {
|
|
288
|
-
private _elementRef;
|
|
289
|
-
private _liveAnnouncer;
|
|
290
|
-
private _contentObserver;
|
|
291
|
-
private _ngZone;
|
|
292
|
-
/** The aria-live politeness level to use when announcing messages. */
|
|
293
|
-
get politeness(): AriaLivePoliteness;
|
|
294
|
-
set politeness(value: AriaLivePoliteness);
|
|
295
|
-
private _politeness;
|
|
296
|
-
/** Time in milliseconds after which to clear out the announcer element. */
|
|
297
|
-
duration: number;
|
|
298
|
-
private _previousAnnouncedText?;
|
|
299
|
-
private _subscription;
|
|
300
|
-
constructor(...args: unknown[]);
|
|
301
|
-
ngOnDestroy(): void;
|
|
302
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkAriaLive, never>;
|
|
303
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkAriaLive, "[cdkAriaLive]", ["cdkAriaLive"], { "politeness": { "alias": "cdkAriaLive"; "required": false; }; "duration": { "alias": "cdkAriaLiveDuration"; "required": false; }; }, {}, never, never, true, never>;
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
declare class A11yModule {
|
|
307
|
-
constructor();
|
|
308
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<A11yModule, never>;
|
|
309
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<A11yModule, never, [typeof ObserversModule, typeof CdkAriaLive, typeof CdkTrapFocus, typeof CdkMonitorFocus], [typeof CdkAriaLive, typeof CdkTrapFocus, typeof CdkMonitorFocus]>;
|
|
310
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<A11yModule>;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
export { A11yModule as A, CdkTrapFocus as C, FocusTrapFactory as F, InteractivityChecker as I, LiveAnnouncer as L, FocusTrap as a, IsFocusableConfig as b, CdkAriaLive as c, LIVE_ANNOUNCER_ELEMENT_TOKEN as e, LIVE_ANNOUNCER_ELEMENT_TOKEN_FACTORY as f, LIVE_ANNOUNCER_DEFAULT_OPTIONS as h };
|
|
314
|
-
export type { AriaLivePoliteness as d, LiveAnnouncerDefaultOptions as g };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, OnDestroy, OnChanges, SimpleChanges, OnInit, EventEmitter } from '@angular/core';
|
|
3
|
-
import { U as UniqueSelectionDispatcher } from '../unique-selection-dispatcher.d-DSFqf1MM.js';
|
|
4
|
-
import { Subject } from 'rxjs';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Injection token that can be used to reference instances of `CdkAccordion`. It serves
|
|
8
|
-
* as alternative token to the actual `CdkAccordion` class which could cause unnecessary
|
|
9
|
-
* retention of the class and its directive metadata.
|
|
10
|
-
*/
|
|
11
|
-
declare const CDK_ACCORDION: InjectionToken<CdkAccordion>;
|
|
12
|
-
/**
|
|
13
|
-
* Directive whose purpose is to manage the expanded state of CdkAccordionItem children.
|
|
14
|
-
*/
|
|
15
|
-
declare class CdkAccordion implements OnDestroy, OnChanges {
|
|
16
|
-
/** Emits when the state of the accordion changes */
|
|
17
|
-
readonly _stateChanges: Subject<SimpleChanges>;
|
|
18
|
-
/** Stream that emits true/false when openAll/closeAll is triggered. */
|
|
19
|
-
readonly _openCloseAllActions: Subject<boolean>;
|
|
20
|
-
/** A readonly id value to use for unique selection coordination. */
|
|
21
|
-
readonly id: string;
|
|
22
|
-
/** Whether the accordion should allow multiple expanded accordion items simultaneously. */
|
|
23
|
-
multi: boolean;
|
|
24
|
-
/** Opens all enabled accordion items in an accordion where multi is enabled. */
|
|
25
|
-
openAll(): void;
|
|
26
|
-
/** Closes all enabled accordion items. */
|
|
27
|
-
closeAll(): void;
|
|
28
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
29
|
-
ngOnDestroy(): void;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkAccordion, never>;
|
|
31
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkAccordion, "cdk-accordion, [cdkAccordion]", ["cdkAccordion"], { "multi": { "alias": "multi"; "required": false; }; }, {}, never, never, true, never>;
|
|
32
|
-
static ngAcceptInputType_multi: unknown;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* A basic directive expected to be extended and decorated as a component. Sets up all
|
|
37
|
-
* events and attributes needed to be managed by a CdkAccordion parent.
|
|
38
|
-
*/
|
|
39
|
-
declare class CdkAccordionItem implements OnInit, OnDestroy {
|
|
40
|
-
accordion: CdkAccordion;
|
|
41
|
-
private _changeDetectorRef;
|
|
42
|
-
protected _expansionDispatcher: UniqueSelectionDispatcher;
|
|
43
|
-
/** Subscription to openAll/closeAll events. */
|
|
44
|
-
private _openCloseAllSubscription;
|
|
45
|
-
/** Event emitted every time the AccordionItem is closed. */
|
|
46
|
-
readonly closed: EventEmitter<void>;
|
|
47
|
-
/** Event emitted every time the AccordionItem is opened. */
|
|
48
|
-
readonly opened: EventEmitter<void>;
|
|
49
|
-
/** Event emitted when the AccordionItem is destroyed. */
|
|
50
|
-
readonly destroyed: EventEmitter<void>;
|
|
51
|
-
/**
|
|
52
|
-
* Emits whenever the expanded state of the accordion changes.
|
|
53
|
-
* Primarily used to facilitate two-way binding.
|
|
54
|
-
* @docs-private
|
|
55
|
-
*/
|
|
56
|
-
readonly expandedChange: EventEmitter<boolean>;
|
|
57
|
-
/** The unique AccordionItem id. */
|
|
58
|
-
readonly id: string;
|
|
59
|
-
/** Whether the AccordionItem is expanded. */
|
|
60
|
-
get expanded(): boolean;
|
|
61
|
-
set expanded(expanded: boolean);
|
|
62
|
-
private _expanded;
|
|
63
|
-
/** Whether the AccordionItem is disabled. */
|
|
64
|
-
disabled: boolean;
|
|
65
|
-
/** Unregister function for _expansionDispatcher. */
|
|
66
|
-
private _removeUniqueSelectionListener;
|
|
67
|
-
constructor(...args: unknown[]);
|
|
68
|
-
ngOnInit(): void;
|
|
69
|
-
/** Emits an event for the accordion item being destroyed. */
|
|
70
|
-
ngOnDestroy(): void;
|
|
71
|
-
/** Toggles the expanded state of the accordion item. */
|
|
72
|
-
toggle(): void;
|
|
73
|
-
/** Sets the expanded state of the accordion item to false. */
|
|
74
|
-
close(): void;
|
|
75
|
-
/** Sets the expanded state of the accordion item to true. */
|
|
76
|
-
open(): void;
|
|
77
|
-
private _subscribeToOpenCloseAllActions;
|
|
78
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkAccordionItem, never>;
|
|
79
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkAccordionItem, "cdk-accordion-item, [cdkAccordionItem]", ["cdkAccordionItem"], { "expanded": { "alias": "expanded"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "closed": "closed"; "opened": "opened"; "destroyed": "destroyed"; "expandedChange": "expandedChange"; }, never, never, true, never>;
|
|
80
|
-
static ngAcceptInputType_expanded: unknown;
|
|
81
|
-
static ngAcceptInputType_disabled: unknown;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
declare class CdkAccordionModule {
|
|
85
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkAccordionModule, never>;
|
|
86
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CdkAccordionModule, never, [typeof CdkAccordion, typeof CdkAccordionItem], [typeof CdkAccordion, typeof CdkAccordionItem]>;
|
|
87
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<CdkAccordionModule>;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
export { CDK_ACCORDION, CdkAccordion, CdkAccordionItem, CdkAccordionModule };
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { L as ListKeyManagerOption, a as ListKeyManager } from './list-key-manager.d-BlK3jyRn.js';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* This is the interface for highlightable items (used by the ActiveDescendantKeyManager).
|
|
5
|
-
* Each item must know how to style itself as active or inactive and whether or not it is
|
|
6
|
-
* currently disabled.
|
|
7
|
-
*/
|
|
8
|
-
interface Highlightable extends ListKeyManagerOption {
|
|
9
|
-
/** Applies the styles for an active item to this item. */
|
|
10
|
-
setActiveStyles(): void;
|
|
11
|
-
/** Applies the styles for an inactive item to this item. */
|
|
12
|
-
setInactiveStyles(): void;
|
|
13
|
-
}
|
|
14
|
-
declare class ActiveDescendantKeyManager<T> extends ListKeyManager<Highlightable & T> {
|
|
15
|
-
/**
|
|
16
|
-
* Sets the active item to the item at the specified index and adds the
|
|
17
|
-
* active styles to the newly active item. Also removes active styles
|
|
18
|
-
* from the previously active item.
|
|
19
|
-
* @param index Index of the item to be set as active.
|
|
20
|
-
*/
|
|
21
|
-
setActiveItem(index: number): void;
|
|
22
|
-
/**
|
|
23
|
-
* Sets the active item to the item to the specified one and adds the
|
|
24
|
-
* active styles to the it. Also removes active styles from the
|
|
25
|
-
* previously active item.
|
|
26
|
-
* @param item Item to be set as active.
|
|
27
|
-
*/
|
|
28
|
-
setActiveItem(item: T): void;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export { ActiveDescendantKeyManager as A };
|
|
32
|
-
export type { Highlightable as H };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export { B as BidiModule, b as Dir, a as Direction, D as Directionality } from '../bidi-module.d-D-fEBKdS.js';
|
|
2
|
-
import { InjectionToken } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Injection token used to inject the document into Directionality.
|
|
6
|
-
* This is used so that the value can be faked in tests.
|
|
7
|
-
*
|
|
8
|
-
* We can't use the real document in tests because changing the real `dir` causes geometry-based
|
|
9
|
-
* tests in Safari to fail.
|
|
10
|
-
*
|
|
11
|
-
* We also can't re-provide the DOCUMENT token from platform-browser because the unit tests
|
|
12
|
-
* themselves use things like `querySelector` in test code.
|
|
13
|
-
*
|
|
14
|
-
* This token is defined in a separate file from Directionality as a workaround for
|
|
15
|
-
* https://github.com/angular/angular/issues/22559
|
|
16
|
-
*
|
|
17
|
-
* @docs-private
|
|
18
|
-
*/
|
|
19
|
-
declare const DIR_DOCUMENT: InjectionToken<Document>;
|
|
20
|
-
|
|
21
|
-
export { DIR_DOCUMENT };
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnDestroy, EventEmitter, AfterContentInit } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
type Direction = 'ltr' | 'rtl';
|
|
5
|
-
/**
|
|
6
|
-
* The directionality (LTR / RTL) context for the application (or a subtree of it).
|
|
7
|
-
* Exposes the current direction and a stream of direction changes.
|
|
8
|
-
*/
|
|
9
|
-
declare class Directionality implements OnDestroy {
|
|
10
|
-
/** The current 'ltr' or 'rtl' value. */
|
|
11
|
-
readonly value: Direction;
|
|
12
|
-
/** Stream that emits whenever the 'ltr' / 'rtl' state changes. */
|
|
13
|
-
readonly change: EventEmitter<Direction>;
|
|
14
|
-
constructor(...args: unknown[]);
|
|
15
|
-
ngOnDestroy(): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Directionality, never>;
|
|
17
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<Directionality>;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* Directive to listen for changes of direction of part of the DOM.
|
|
22
|
-
*
|
|
23
|
-
* Provides itself as Directionality such that descendant directives only need to ever inject
|
|
24
|
-
* Directionality to get the closest direction.
|
|
25
|
-
*/
|
|
26
|
-
declare class Dir implements Directionality, AfterContentInit, OnDestroy {
|
|
27
|
-
/** Normalized direction that accounts for invalid/unsupported values. */
|
|
28
|
-
private _dir;
|
|
29
|
-
/** Whether the `value` has been set to its initial value. */
|
|
30
|
-
private _isInitialized;
|
|
31
|
-
/** Direction as passed in by the consumer. */
|
|
32
|
-
_rawDir: string;
|
|
33
|
-
/** Event emitted when the direction changes. */
|
|
34
|
-
readonly change: EventEmitter<Direction>;
|
|
35
|
-
/** @docs-private */
|
|
36
|
-
get dir(): Direction;
|
|
37
|
-
set dir(value: Direction | 'auto');
|
|
38
|
-
/** Current layout direction of the element. */
|
|
39
|
-
get value(): Direction;
|
|
40
|
-
/** Initialize once default value has been set. */
|
|
41
|
-
ngAfterContentInit(): void;
|
|
42
|
-
ngOnDestroy(): void;
|
|
43
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Dir, never>;
|
|
44
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<Dir, "[dir]", ["dir"], { "dir": { "alias": "dir"; "required": false; }; }, { "change": "dirChange"; }, never, never, true, never>;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
declare class BidiModule {
|
|
48
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BidiModule, never>;
|
|
49
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BidiModule, never, [typeof Dir], [typeof Dir]>;
|
|
50
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<BidiModule>;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
export { BidiModule as B, Directionality as D, Dir as b };
|
|
54
|
-
export type { Direction as a };
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, OnDestroy, EventEmitter } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* A pending copy-to-clipboard operation.
|
|
6
|
-
*
|
|
7
|
-
* The implementation of copying text to the clipboard modifies the DOM and
|
|
8
|
-
* forces a re-layout. This re-layout can take too long if the string is large,
|
|
9
|
-
* causing the execCommand('copy') to happen too long after the user clicked.
|
|
10
|
-
* This results in the browser refusing to copy. This object lets the
|
|
11
|
-
* re-layout happen in a separate tick from copying by providing a copy function
|
|
12
|
-
* that can be called later.
|
|
13
|
-
*
|
|
14
|
-
* Destroy must be called when no longer in use, regardless of whether `copy` is
|
|
15
|
-
* called.
|
|
16
|
-
*/
|
|
17
|
-
declare class PendingCopy {
|
|
18
|
-
private readonly _document;
|
|
19
|
-
private _textarea;
|
|
20
|
-
constructor(text: string, _document: Document);
|
|
21
|
-
/** Finishes copying the text. */
|
|
22
|
-
copy(): boolean;
|
|
23
|
-
/** Cleans up DOM changes used to perform the copy operation. */
|
|
24
|
-
destroy(): void;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* A service for copying text to the clipboard.
|
|
29
|
-
*/
|
|
30
|
-
declare class Clipboard {
|
|
31
|
-
private readonly _document;
|
|
32
|
-
constructor(...args: unknown[]);
|
|
33
|
-
/**
|
|
34
|
-
* Copies the provided text into the user's clipboard.
|
|
35
|
-
*
|
|
36
|
-
* @param text The string to copy.
|
|
37
|
-
* @returns Whether the operation was successful.
|
|
38
|
-
*/
|
|
39
|
-
copy(text: string): boolean;
|
|
40
|
-
/**
|
|
41
|
-
* Prepares a string to be copied later. This is useful for large strings
|
|
42
|
-
* which take too long to successfully render and be copied in the same tick.
|
|
43
|
-
*
|
|
44
|
-
* The caller must call `destroy` on the returned `PendingCopy`.
|
|
45
|
-
*
|
|
46
|
-
* @param text The string to copy.
|
|
47
|
-
* @returns the pending copy operation.
|
|
48
|
-
*/
|
|
49
|
-
beginCopy(text: string): PendingCopy;
|
|
50
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Clipboard, never>;
|
|
51
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<Clipboard>;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/** Object that can be used to configure the default options for `CdkCopyToClipboard`. */
|
|
55
|
-
interface CdkCopyToClipboardConfig {
|
|
56
|
-
/** Default number of attempts to make when copying text to the clipboard. */
|
|
57
|
-
attempts?: number;
|
|
58
|
-
}
|
|
59
|
-
/** Injection token that can be used to provide the default options to `CdkCopyToClipboard`. */
|
|
60
|
-
declare const CDK_COPY_TO_CLIPBOARD_CONFIG: InjectionToken<CdkCopyToClipboardConfig>;
|
|
61
|
-
/**
|
|
62
|
-
* Provides behavior for a button that when clicked copies content into user's
|
|
63
|
-
* clipboard.
|
|
64
|
-
*/
|
|
65
|
-
declare class CdkCopyToClipboard implements OnDestroy {
|
|
66
|
-
private _clipboard;
|
|
67
|
-
private _ngZone;
|
|
68
|
-
/** Content to be copied. */
|
|
69
|
-
text: string;
|
|
70
|
-
/**
|
|
71
|
-
* How many times to attempt to copy the text. This may be necessary for longer text, because
|
|
72
|
-
* the browser needs time to fill an intermediate textarea element and copy the content.
|
|
73
|
-
*/
|
|
74
|
-
attempts: number;
|
|
75
|
-
/**
|
|
76
|
-
* Emits when some text is copied to the clipboard. The
|
|
77
|
-
* emitted value indicates whether copying was successful.
|
|
78
|
-
*/
|
|
79
|
-
readonly copied: EventEmitter<boolean>;
|
|
80
|
-
/** Copies that are currently being attempted. */
|
|
81
|
-
private _pending;
|
|
82
|
-
/** Whether the directive has been destroyed. */
|
|
83
|
-
private _destroyed;
|
|
84
|
-
/** Timeout for the current copy attempt. */
|
|
85
|
-
private _currentTimeout;
|
|
86
|
-
constructor(...args: unknown[]);
|
|
87
|
-
/** Copies the current text to the clipboard. */
|
|
88
|
-
copy(attempts?: number): void;
|
|
89
|
-
ngOnDestroy(): void;
|
|
90
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkCopyToClipboard, never>;
|
|
91
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkCopyToClipboard, "[cdkCopyToClipboard]", never, { "text": { "alias": "cdkCopyToClipboard"; "required": false; }; "attempts": { "alias": "cdkCopyToClipboardAttempts"; "required": false; }; }, { "copied": "cdkCopyToClipboardCopied"; }, never, never, true, never>;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
declare class ClipboardModule {
|
|
95
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ClipboardModule, never>;
|
|
96
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ClipboardModule, never, [typeof CdkCopyToClipboard], [typeof CdkCopyToClipboard]>;
|
|
97
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ClipboardModule>;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
export { CDK_COPY_TO_CLIPBOARD_CONFIG, CdkCopyToClipboard, Clipboard, ClipboardModule, PendingCopy };
|
|
101
|
-
export type { CdkCopyToClipboardConfig };
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
export { N as NumberInput, _ as _isNumberValue, c as coerceNumberProperty } from '../number-property.d-CJVxXUcb.js';
|
|
2
|
-
import { ElementRef } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Type describing the allowed values for a boolean input.
|
|
6
|
-
* @docs-private
|
|
7
|
-
*/
|
|
8
|
-
type BooleanInput = string | boolean | null | undefined;
|
|
9
|
-
/** Coerces a data-bound value (typically a string) to a boolean. */
|
|
10
|
-
declare function coerceBooleanProperty(value: any): boolean;
|
|
11
|
-
|
|
12
|
-
/** Wraps the provided value in an array, unless the provided value is an array. */
|
|
13
|
-
declare function coerceArray<T>(value: T | T[]): T[];
|
|
14
|
-
declare function coerceArray<T>(value: T | readonly T[]): readonly T[];
|
|
15
|
-
|
|
16
|
-
/** Coerces a value to a CSS pixel value. */
|
|
17
|
-
declare function coerceCssPixelValue(value: any): string;
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* Coerces an ElementRef or an Element into an element.
|
|
21
|
-
* Useful for APIs that can accept either a ref or the native element itself.
|
|
22
|
-
*/
|
|
23
|
-
declare function coerceElement<T>(elementOrRef: ElementRef<T> | T): T;
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* Coerces a value to an array of trimmed non-empty strings.
|
|
27
|
-
* Any input that is not an array, `null` or `undefined` will be turned into a string
|
|
28
|
-
* via `toString()` and subsequently split with the given separator.
|
|
29
|
-
* `null` and `undefined` will result in an empty array.
|
|
30
|
-
* This results in the following outcomes:
|
|
31
|
-
* - `null` -> `[]`
|
|
32
|
-
* - `[null]` -> `["null"]`
|
|
33
|
-
* - `["a", "b ", " "]` -> `["a", "b"]`
|
|
34
|
-
* - `[1, [2, 3]]` -> `["1", "2,3"]`
|
|
35
|
-
* - `[{ a: 0 }]` -> `["[object Object]"]`
|
|
36
|
-
* - `{ a: 0 }` -> `["[object", "Object]"]`
|
|
37
|
-
*
|
|
38
|
-
* Useful for defining CSS classes or table columns.
|
|
39
|
-
* @param value the value to coerce into an array of strings
|
|
40
|
-
* @param separator split-separator if value isn't an array
|
|
41
|
-
*/
|
|
42
|
-
declare function coerceStringArray(value: any, separator?: string | RegExp): string[];
|
|
43
|
-
|
|
44
|
-
export { coerceArray, coerceBooleanProperty, coerceCssPixelValue, coerceElement, coerceStringArray };
|
|
45
|
-
export type { BooleanInput };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Given either an Observable or non-Observable value, returns either the original
|
|
5
|
-
* Observable, or wraps it in an Observable that emits the non-Observable value.
|
|
6
|
-
*/
|
|
7
|
-
declare function coerceObservable<T>(data: T | Observable<T>): Observable<T>;
|
|
8
|
-
|
|
9
|
-
export { coerceObservable };
|