@angular/cdk 20.0.0-next.1 → 20.0.0-next.10
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 +1 -0
- package/_adev_assets/cdk_testing_protractor.json +1 -0
- package/_adev_assets/cdk_testing_selenium_webdriver.json +1 -0
- package/_adev_assets/cdk_testing_testbed.json +1 -0
- package/a11y/index.d.ts +11 -11
- package/{a11y-module.d-7d03e079.d.ts → a11y-module.d-DBHGyKoh.d.ts} +4 -3
- package/a11y-prebuilt.css +1 -1
- package/accordion/index.d.ts +1 -1
- package/{activedescendant-key-manager.d-11921e3a.d.ts → activedescendant-key-manager.d-Bjic5obv.d.ts} +3 -2
- package/bidi/index.d.ts +1 -1
- package/{bidi-module.d-f8648621.d.ts → bidi-module.d-IN1Vp56w.d.ts} +8 -4
- package/clipboard/index.d.ts +2 -1
- package/coercion/index.d.ts +3 -2
- package/collections/index.d.ts +9 -8
- package/{data-source.d-7cab2c9d.d.ts → data-source.d-Bblv7Zvh.d.ts} +2 -1
- package/dialog/index.d.ts +26 -19
- package/drag-drop/index.d.ts +14 -6
- package/fesm2022/{a11y-module-e6996d20.mjs → a11y-module-DpEjWNCj.mjs} +32 -33
- package/fesm2022/a11y-module-DpEjWNCj.mjs.map +1 -0
- package/fesm2022/a11y.mjs +35 -36
- package/fesm2022/a11y.mjs.map +1 -1
- package/fesm2022/accordion.mjs +12 -12
- package/fesm2022/accordion.mjs.map +1 -1
- package/fesm2022/{activedescendant-key-manager-1351a9d3.mjs → activedescendant-key-manager-DC3-fwQI.mjs} +2 -2
- package/fesm2022/activedescendant-key-manager-DC3-fwQI.mjs.map +1 -0
- package/fesm2022/{array-ee3b4bab.mjs → array-I1yfCXUO.mjs} +1 -1
- package/fesm2022/array-I1yfCXUO.mjs.map +1 -0
- package/fesm2022/bidi.mjs +77 -4
- package/fesm2022/bidi.mjs.map +1 -1
- package/fesm2022/{breakpoints-observer-d4584b66.mjs → breakpoints-observer-DpQzdtrE.mjs} +9 -9
- package/fesm2022/breakpoints-observer-DpQzdtrE.mjs.map +1 -0
- package/fesm2022/cdk.mjs +1 -1
- package/fesm2022/cdk.mjs.map +1 -1
- package/fesm2022/clipboard.mjs +11 -12
- package/fesm2022/clipboard.mjs.map +1 -1
- package/fesm2022/coercion/private.mjs +14 -2
- package/fesm2022/coercion/private.mjs.map +1 -1
- package/fesm2022/coercion.mjs +3 -3
- package/fesm2022/coercion.mjs.map +1 -1
- package/fesm2022/collections.mjs +5 -5
- package/fesm2022/{css-pixel-value-286c9a60.mjs → css-pixel-value-C_HEqLhI.mjs} +1 -1
- package/fesm2022/css-pixel-value-C_HEqLhI.mjs.map +1 -0
- package/fesm2022/{data-source-5320b6fd.mjs → data-source-D34wiQZj.mjs} +1 -1
- package/fesm2022/data-source-D34wiQZj.mjs.map +1 -0
- package/fesm2022/dialog.mjs +88 -71
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/{directionality-7ea26429.mjs → directionality-Ck5Uc9Se.mjs} +13 -8
- package/fesm2022/directionality-Ck5Uc9Se.mjs.map +1 -0
- package/fesm2022/{dispose-view-repeater-strategy-b11b87ea.mjs → dispose-view-repeater-strategy-D_JReLI1.mjs} +2 -2
- package/fesm2022/dispose-view-repeater-strategy-D_JReLI1.mjs.map +1 -0
- package/fesm2022/drag-drop.mjs +125 -60
- package/fesm2022/drag-drop.mjs.map +1 -1
- package/fesm2022/{element-705567fe.mjs → element-x4z00URv.mjs} +2 -2
- package/fesm2022/element-x4z00URv.mjs.map +1 -0
- package/fesm2022/{fake-event-detection-7055b1bd.mjs → fake-event-detection-DWOdFTFz.mjs} +1 -1
- package/fesm2022/fake-event-detection-DWOdFTFz.mjs.map +1 -0
- package/fesm2022/{focus-key-manager-58d29acd.mjs → focus-key-manager-C1rAQJ5z.mjs} +2 -2
- package/fesm2022/focus-key-manager-C1rAQJ5z.mjs.map +1 -0
- package/fesm2022/{focus-monitor-cebaa0d1.mjs → focus-monitor-DKFfep8Q.mjs} +21 -23
- package/fesm2022/focus-monitor-DKFfep8Q.mjs.map +1 -0
- package/fesm2022/{id-generator-fba495fb.mjs → id-generator-BwB8lolC.mjs} +4 -4
- package/fesm2022/id-generator-BwB8lolC.mjs.map +1 -0
- package/fesm2022/{keycodes-107cd3e4.mjs → keycodes-CpHkExLC.mjs} +2 -2
- package/fesm2022/keycodes-CpHkExLC.mjs.map +1 -0
- package/fesm2022/keycodes.mjs +14 -2
- package/fesm2022/keycodes.mjs.map +1 -1
- package/fesm2022/layout.mjs +7 -7
- package/fesm2022/layout.mjs.map +1 -1
- package/fesm2022/{list-key-manager-c7b5cefb.mjs → list-key-manager-CyOIXo8P.mjs} +4 -4
- package/fesm2022/list-key-manager-CyOIXo8P.mjs.map +1 -0
- package/fesm2022/listbox.mjs +20 -20
- package/fesm2022/listbox.mjs.map +1 -1
- package/fesm2022/menu.mjs +85 -90
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/observers/private.mjs +3 -3
- package/fesm2022/observers/private.mjs.map +1 -1
- package/fesm2022/observers.mjs +209 -5
- package/fesm2022/observers.mjs.map +1 -1
- package/fesm2022/{overlay-module-863b82c9.mjs → overlay-module-BaGhSGqO.mjs} +204 -171
- package/fesm2022/overlay-module-BaGhSGqO.mjs.map +1 -0
- package/fesm2022/overlay.mjs +23 -24
- package/fesm2022/overlay.mjs.map +1 -1
- package/fesm2022/{passive-listeners-c0bdc49f.mjs → passive-listeners-esHZRgIN.mjs} +1 -1
- package/fesm2022/passive-listeners-esHZRgIN.mjs.map +1 -0
- package/fesm2022/{platform-1be098b0.mjs → platform-CPg0IbDW.mjs} +4 -4
- package/fesm2022/platform-CPg0IbDW.mjs.map +1 -0
- package/fesm2022/platform.mjs +9 -10
- package/fesm2022/platform.mjs.map +1 -1
- package/fesm2022/portal.mjs +613 -3
- package/fesm2022/portal.mjs.map +1 -1
- package/fesm2022/private.mjs +18 -3
- package/fesm2022/private.mjs.map +1 -1
- package/fesm2022/{recycle-view-repeater-strategy-c1712813.mjs → recycle-view-repeater-strategy-DoWdPqVw.mjs} +2 -2
- package/fesm2022/recycle-view-repeater-strategy-DoWdPqVw.mjs.map +1 -0
- package/fesm2022/{scrolling-61955dd1.mjs → scrolling-BkvA05C8.mjs} +1 -1
- package/fesm2022/scrolling-BkvA05C8.mjs.map +1 -0
- package/fesm2022/scrolling.mjs +1462 -11
- package/fesm2022/scrolling.mjs.map +1 -1
- package/fesm2022/{selection-model-30243dba.mjs → selection-model-BCgC8uEN.mjs} +1 -1
- package/fesm2022/selection-model-BCgC8uEN.mjs.map +1 -0
- package/fesm2022/{shadow-dom-9f403d00.mjs → shadow-dom-B0oHn41l.mjs} +2 -2
- package/fesm2022/shadow-dom-B0oHn41l.mjs.map +1 -0
- package/fesm2022/stepper.mjs +43 -38
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/{style-loader-e14dc585.mjs → style-loader-BDEAZOey.mjs} +4 -4
- package/fesm2022/style-loader-BDEAZOey.mjs.map +1 -0
- package/fesm2022/table.mjs +170 -226
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/{test-environment-34eef1ee.mjs → test-environment-CT0XxPyp.mjs} +1 -1
- package/fesm2022/test-environment-CT0XxPyp.mjs.map +1 -0
- package/fesm2022/testing/selenium-webdriver.mjs +1 -1
- package/fesm2022/testing/selenium-webdriver.mjs.map +1 -1
- package/fesm2022/testing/testbed.mjs +2 -2
- package/fesm2022/testing/testbed.mjs.map +1 -1
- package/fesm2022/testing.mjs +697 -2
- package/fesm2022/testing.mjs.map +1 -1
- package/fesm2022/text-field.mjs +27 -24
- package/fesm2022/text-field.mjs.map +1 -1
- package/fesm2022/{tree-key-manager-2f20c79c.mjs → tree-key-manager-KnCoIkIC.mjs} +3 -3
- package/fesm2022/tree-key-manager-KnCoIkIC.mjs.map +1 -0
- package/fesm2022/tree.mjs +47 -35
- package/fesm2022/tree.mjs.map +1 -1
- package/fesm2022/{typeahead-11ae39bd.mjs → typeahead-9ZW4Dtsf.mjs} +2 -2
- package/fesm2022/typeahead-9ZW4Dtsf.mjs.map +1 -0
- package/fesm2022/{unique-selection-dispatcher-1d6f91d8.mjs → unique-selection-dispatcher-Cag6cZJ2.mjs} +4 -4
- package/fesm2022/unique-selection-dispatcher-Cag6cZJ2.mjs.map +1 -0
- package/{focus-key-manager.d-415a6958.d.ts → focus-key-manager.d-BIKDy8oD.d.ts} +4 -3
- package/{focus-monitor.d-810a02e6.d.ts → focus-monitor.d-CvvJeQRc.d.ts} +2 -1
- package/{harness-environment.d-4d615248.d.ts → harness-environment.d-BatBdODN.d.ts} +2 -1
- package/keycodes/index.d.ts +2 -1
- package/layout/index.d.ts +2 -1
- package/{list-key-manager.d-72e9a2e7.d.ts → list-key-manager.d-BlK3jyRn.d.ts} +2 -1
- package/listbox/index.d.ts +5 -4
- package/menu/index.d.ts +16 -18
- package/{number-property.d-ce316715.d.ts → number-property.d-CJVxXUcb.d.ts} +2 -1
- package/observers/index.d.ts +84 -4
- package/overlay/_index.scss +7 -1
- package/overlay/index.d.ts +77 -80
- package/{overlay-module.d-5d06db8a.d.ts → overlay-module.d-BiAhhk6g.d.ts} +23 -12
- package/overlay-prebuilt.css +1 -1
- package/package.json +2 -4
- package/platform/index.d.ts +2 -17
- package/portal/index.d.ts +3 -3
- package/{portal-directives.d-d345bd53.d.ts → portal-directives.d-DbeNrI5D.d.ts} +2 -1
- package/private/index.d.ts +1 -1
- package/schematics/index.js +1 -1
- package/schematics/index.js.map +1 -0
- package/schematics/ng-add/index.js +11 -19
- package/schematics/ng-add/index.js.map +1 -0
- package/schematics/ng-add/schema.js +1 -1
- package/schematics/ng-add/schema.js.map +1 -0
- package/schematics/ng-generate/drag-drop/index.js +15 -6
- package/schematics/ng-generate/drag-drop/index.js.map +1 -0
- package/schematics/ng-generate/drag-drop/schema.js +1 -1
- package/schematics/ng-generate/drag-drop/schema.js.map +1 -0
- package/schematics/ng-update/data/attribute-selectors.js +1 -1
- package/schematics/ng-update/data/attribute-selectors.js.map +1 -0
- package/schematics/ng-update/data/class-names.js +1 -1
- package/schematics/ng-update/data/class-names.js.map +1 -0
- package/schematics/ng-update/data/constructor-checks.js +1 -1
- package/schematics/ng-update/data/constructor-checks.js.map +1 -0
- package/schematics/ng-update/data/css-selectors.js +1 -1
- package/schematics/ng-update/data/css-selectors.js.map +1 -0
- package/schematics/ng-update/data/css-tokens.js +1 -1
- package/schematics/ng-update/data/css-tokens.js.map +1 -0
- package/schematics/ng-update/data/element-selectors.js +1 -1
- package/schematics/ng-update/data/element-selectors.js.map +1 -0
- package/schematics/ng-update/data/index.js +1 -1
- package/schematics/ng-update/data/index.js.map +1 -0
- package/schematics/ng-update/data/input-names.js +1 -1
- package/schematics/ng-update/data/input-names.js.map +1 -0
- package/schematics/ng-update/data/method-call-checks.js +1 -1
- package/schematics/ng-update/data/method-call-checks.js.map +1 -0
- package/schematics/ng-update/data/output-names.js +1 -1
- package/schematics/ng-update/data/output-names.js.map +1 -0
- package/schematics/ng-update/data/property-names.js +1 -1
- package/schematics/ng-update/data/property-names.js.map +1 -0
- package/schematics/ng-update/data/symbol-removal.js +1 -1
- package/schematics/ng-update/data/symbol-removal.js.map +1 -0
- package/schematics/ng-update/devkit-file-system.js +2 -3
- package/schematics/ng-update/devkit-file-system.js.map +1 -0
- package/schematics/ng-update/devkit-migration-rule.js +13 -4
- package/schematics/ng-update/devkit-migration-rule.js.map +1 -0
- package/schematics/ng-update/devkit-migration.d.ts +2 -2
- package/schematics/ng-update/devkit-migration.js +1 -1
- package/schematics/ng-update/devkit-migration.js.map +1 -0
- package/schematics/ng-update/find-stylesheets.js +1 -1
- package/schematics/ng-update/find-stylesheets.js.map +1 -0
- package/schematics/ng-update/html-parsing/angular.js +2 -2
- package/schematics/ng-update/html-parsing/angular.js.map +1 -0
- package/schematics/ng-update/html-parsing/elements.js +3 -2
- package/schematics/ng-update/html-parsing/elements.js.map +1 -0
- package/schematics/ng-update/index.js +1 -1
- package/schematics/ng-update/index.js.map +1 -0
- package/schematics/ng-update/migrations/attribute-selectors.js +8 -5
- package/schematics/ng-update/migrations/attribute-selectors.js.map +1 -0
- package/schematics/ng-update/migrations/class-inheritance.js +11 -8
- package/schematics/ng-update/migrations/class-inheritance.js.map +1 -0
- package/schematics/ng-update/migrations/class-names.js +15 -12
- package/schematics/ng-update/migrations/class-names.js.map +1 -0
- package/schematics/ng-update/migrations/constructor-signature.js +10 -7
- package/schematics/ng-update/migrations/constructor-signature.js.map +1 -0
- package/schematics/ng-update/migrations/css-selectors.js +8 -5
- package/schematics/ng-update/migrations/css-selectors.js.map +1 -0
- package/schematics/ng-update/migrations/css-tokens.js +8 -5
- package/schematics/ng-update/migrations/css-tokens.js.map +1 -0
- package/schematics/ng-update/migrations/element-selectors.js +8 -5
- package/schematics/ng-update/migrations/element-selectors.js.map +1 -0
- package/schematics/ng-update/migrations/input-names.js +8 -5
- package/schematics/ng-update/migrations/input-names.js.map +1 -0
- package/schematics/ng-update/migrations/method-call-arguments.js +8 -5
- package/schematics/ng-update/migrations/method-call-arguments.js.map +1 -0
- package/schematics/ng-update/migrations/misc-template.js +6 -3
- package/schematics/ng-update/migrations/misc-template.js.map +1 -0
- package/schematics/ng-update/migrations/output-names.js +8 -5
- package/schematics/ng-update/migrations/output-names.js.map +1 -0
- package/schematics/ng-update/migrations/property-names.js +8 -5
- package/schematics/ng-update/migrations/property-names.js.map +1 -0
- package/schematics/ng-update/migrations/symbol-removal.js +10 -6
- package/schematics/ng-update/migrations/symbol-removal.js.map +1 -0
- package/schematics/ng-update/public-api.js +1 -1
- package/schematics/ng-update/public-api.js.map +1 -0
- package/schematics/ng-update/typescript/base-types.js +1 -1
- package/schematics/ng-update/typescript/base-types.js.map +1 -0
- package/schematics/ng-update/typescript/imports.js +1 -1
- package/schematics/ng-update/typescript/imports.js.map +1 -0
- package/schematics/ng-update/typescript/literal.js +1 -1
- package/schematics/ng-update/typescript/literal.js.map +1 -0
- package/schematics/ng-update/typescript/module-specifiers.js +1 -1
- package/schematics/ng-update/typescript/module-specifiers.js.map +1 -0
- package/schematics/ng-update/upgrade-data.js +1 -1
- package/schematics/ng-update/upgrade-data.js.map +1 -0
- package/schematics/paths.js +1 -1
- package/schematics/paths.js.map +1 -0
- package/schematics/update-tool/component-resource-collector.js +3 -5
- package/schematics/update-tool/component-resource-collector.js.map +1 -0
- package/schematics/update-tool/file-system.js +1 -1
- package/schematics/update-tool/file-system.js.map +1 -0
- package/schematics/update-tool/index.js +2 -8
- package/schematics/update-tool/index.js.map +1 -0
- package/schematics/update-tool/logger.js +1 -1
- package/schematics/update-tool/logger.js.map +1 -0
- package/schematics/update-tool/migration.js +3 -10
- package/schematics/update-tool/migration.js.map +1 -0
- package/schematics/update-tool/public-api.js +1 -1
- package/schematics/update-tool/public-api.js.map +1 -0
- package/schematics/update-tool/target-version.js +1 -1
- package/schematics/update-tool/target-version.js.map +1 -0
- package/schematics/update-tool/update-recorder.js +1 -1
- package/schematics/update-tool/update-recorder.js.map +1 -0
- package/schematics/update-tool/utils/decorators.js +1 -1
- package/schematics/update-tool/utils/decorators.js.map +1 -0
- package/schematics/update-tool/utils/diagnostics.js +1 -1
- package/schematics/update-tool/utils/diagnostics.js.map +1 -0
- package/schematics/update-tool/utils/functions.js +1 -1
- package/schematics/update-tool/utils/functions.js.map +1 -0
- package/schematics/update-tool/utils/imports.js +1 -1
- package/schematics/update-tool/utils/imports.js.map +1 -0
- package/schematics/update-tool/utils/line-mappings.js +1 -1
- package/schematics/update-tool/utils/line-mappings.js.map +1 -0
- package/schematics/update-tool/utils/parse-tsconfig.js +1 -1
- package/schematics/update-tool/utils/parse-tsconfig.js.map +1 -0
- package/schematics/update-tool/utils/property-name.js +1 -1
- package/schematics/update-tool/utils/property-name.js.map +1 -0
- package/schematics/update-tool/utils/virtual-host.js +2 -3
- package/schematics/update-tool/utils/virtual-host.js.map +1 -0
- package/schematics/update-tool/version-changes.js +1 -1
- package/schematics/update-tool/version-changes.js.map +1 -0
- package/schematics/utils/ast/ng-module-imports.js +1 -1
- package/schematics/utils/ast/ng-module-imports.js.map +1 -0
- package/schematics/utils/ast.d.ts +2 -2
- package/schematics/utils/ast.js +23 -12
- package/schematics/utils/ast.js.map +1 -0
- package/schematics/utils/build-component.js +22 -17
- package/schematics/utils/build-component.js.map +1 -0
- package/schematics/utils/get-project.d.ts +2 -2
- package/schematics/utils/get-project.js +1 -1
- package/schematics/utils/get-project.js.map +1 -0
- package/schematics/utils/html-manipulation.js +1 -1
- package/schematics/utils/html-manipulation.js.map +1 -0
- package/schematics/utils/index.js +1 -1
- package/schematics/utils/index.js.map +1 -0
- package/schematics/utils/parse5-element.js +1 -1
- package/schematics/utils/parse5-element.js.map +1 -0
- package/schematics/utils/project-index-file.d.ts +6 -3
- package/schematics/utils/project-index-file.js +30 -7
- package/schematics/utils/project-index-file.js.map +1 -0
- package/schematics/utils/project-main-file.d.ts +3 -2
- package/schematics/utils/project-main-file.js +1 -1
- package/schematics/utils/project-main-file.js.map +1 -0
- package/schematics/utils/project-style-file.d.ts +2 -2
- package/schematics/utils/project-style-file.js +1 -1
- package/schematics/utils/project-style-file.js.map +1 -0
- package/schematics/utils/project-targets.d.ts +5 -4
- package/schematics/utils/project-targets.js +15 -8
- package/schematics/utils/project-targets.js.map +1 -0
- package/schematics/utils/project-tsconfig-paths.d.ts +3 -3
- package/schematics/utils/project-tsconfig-paths.js +26 -14
- package/schematics/utils/project-tsconfig-paths.js.map +1 -0
- package/schematics/utils/schematic-options.d.ts +2 -2
- package/schematics/utils/schematic-options.js +27 -15
- package/schematics/utils/schematic-options.js.map +1 -0
- package/scrolling/index.d.ts +62 -7
- package/{scrolling-module.d-a08a462d.d.ts → scrolling-module.d-DP0Qb7T9.d.ts} +5 -4
- package/{selection-model.d-1a70542c.d.ts → selection-model.d-DNgOONDg.d.ts} +2 -1
- package/stepper/index.d.ts +6 -5
- package/table/index.d.ts +9 -197
- package/testing/index.d.ts +3 -2
- package/testing/selenium-webdriver/index.d.ts +3 -2
- package/testing/testbed/index.d.ts +3 -2
- package/text-field/index.d.ts +5 -2
- package/text-field-prebuilt.css +1 -1
- package/tree/index.d.ts +7 -4
- package/{tree-key-manager-strategy.d-603161dd.d.ts → tree-key-manager-strategy.d-XB6M79l-.d.ts} +1 -1
- package/{unique-selection-dispatcher.d-7993b9f5.d.ts → unique-selection-dispatcher.d-DSFqf1MM.d.ts} +2 -1
- package/{view-repeater.d-79039e1f.d.ts → view-repeater.d-BKljR8u8.d.ts} +2 -1
- package/fesm2022/a11y-module-e6996d20.mjs.map +0 -1
- package/fesm2022/activedescendant-key-manager-1351a9d3.mjs.map +0 -1
- package/fesm2022/array-ee3b4bab.mjs.map +0 -1
- package/fesm2022/backwards-compatibility-bcbe473e.mjs +0 -25
- package/fesm2022/backwards-compatibility-bcbe473e.mjs.map +0 -1
- package/fesm2022/bidi-module-0726b65c.mjs +0 -78
- package/fesm2022/bidi-module-0726b65c.mjs.map +0 -1
- package/fesm2022/breakpoints-observer-d4584b66.mjs.map +0 -1
- package/fesm2022/css-pixel-value-286c9a60.mjs.map +0 -1
- package/fesm2022/data-source-5320b6fd.mjs.map +0 -1
- package/fesm2022/directionality-7ea26429.mjs.map +0 -1
- package/fesm2022/dispose-view-repeater-strategy-b11b87ea.mjs.map +0 -1
- package/fesm2022/element-705567fe.mjs.map +0 -1
- package/fesm2022/fake-event-detection-7055b1bd.mjs.map +0 -1
- package/fesm2022/focus-key-manager-58d29acd.mjs.map +0 -1
- package/fesm2022/focus-monitor-cebaa0d1.mjs.map +0 -1
- package/fesm2022/id-generator-fba495fb.mjs.map +0 -1
- package/fesm2022/keycodes-107cd3e4.mjs.map +0 -1
- package/fesm2022/list-key-manager-c7b5cefb.mjs.map +0 -1
- package/fesm2022/modifiers-33a5859e.mjs +0 -13
- package/fesm2022/modifiers-33a5859e.mjs.map +0 -1
- package/fesm2022/observable-97c0792c.mjs +0 -15
- package/fesm2022/observable-97c0792c.mjs.map +0 -1
- package/fesm2022/observe-content-d2a6b5a0.mjs +0 -210
- package/fesm2022/observe-content-d2a6b5a0.mjs.map +0 -1
- package/fesm2022/overlay-module-863b82c9.mjs.map +0 -1
- package/fesm2022/passive-listeners-c0bdc49f.mjs.map +0 -1
- package/fesm2022/platform-1be098b0.mjs.map +0 -1
- package/fesm2022/portal-directives-c88fea11.mjs +0 -615
- package/fesm2022/portal-directives-c88fea11.mjs.map +0 -1
- package/fesm2022/recycle-view-repeater-strategy-c1712813.mjs.map +0 -1
- package/fesm2022/scrolling-61955dd1.mjs.map +0 -1
- package/fesm2022/scrolling-module-aa9eeac5.mjs +0 -1463
- package/fesm2022/scrolling-module-aa9eeac5.mjs.map +0 -1
- package/fesm2022/selection-model-30243dba.mjs.map +0 -1
- package/fesm2022/shadow-dom-9f403d00.mjs.map +0 -1
- package/fesm2022/style-loader-e14dc585.mjs.map +0 -1
- package/fesm2022/test-environment-34eef1ee.mjs.map +0 -1
- package/fesm2022/text-filtering-b60ba8a2.mjs +0 -698
- package/fesm2022/text-filtering-b60ba8a2.mjs.map +0 -1
- package/fesm2022/tree-key-manager-2f20c79c.mjs.map +0 -1
- package/fesm2022/typeahead-11ae39bd.mjs.map +0 -1
- package/fesm2022/unique-selection-dispatcher-1d6f91d8.mjs.map +0 -1
- package/fesm2022/visually-hidden-83aea4a0.mjs +0 -18
- package/fesm2022/visually-hidden-83aea4a0.mjs.map +0 -1
- package/observe-content.d-c08bc882.d.ts +0 -84
- package/schematics/index.mjs +0 -37
- package/schematics/ng-add/index.mjs +0 -39
- package/schematics/ng-add/package-config.d.ts +0 -12
- package/schematics/ng-add/package-config.js +0 -51
- package/schematics/ng-add/package-config.mjs +0 -51
- package/schematics/ng-add/schema.mjs +0 -10
- package/schematics/ng-generate/drag-drop/index.mjs +0 -33
- package/schematics/ng-generate/drag-drop/schema.mjs +0 -10
- package/schematics/ng-update/data/attribute-selectors.mjs +0 -12
- package/schematics/ng-update/data/class-names.mjs +0 -12
- package/schematics/ng-update/data/constructor-checks.mjs +0 -17
- package/schematics/ng-update/data/css-selectors.mjs +0 -12
- package/schematics/ng-update/data/css-tokens.mjs +0 -12
- package/schematics/ng-update/data/element-selectors.mjs +0 -12
- package/schematics/ng-update/data/index.mjs +0 -35
- package/schematics/ng-update/data/input-names.mjs +0 -12
- package/schematics/ng-update/data/method-call-checks.mjs +0 -12
- package/schematics/ng-update/data/output-names.mjs +0 -12
- package/schematics/ng-update/data/property-names.mjs +0 -12
- package/schematics/ng-update/data/symbol-removal.mjs +0 -12
- package/schematics/ng-update/devkit-file-system.mjs +0 -84
- package/schematics/ng-update/devkit-migration-rule.mjs +0 -133
- package/schematics/ng-update/devkit-migration.mjs +0 -20
- package/schematics/ng-update/find-stylesheets.mjs +0 -41
- package/schematics/ng-update/html-parsing/angular.mjs +0 -51
- package/schematics/ng-update/html-parsing/elements.mjs +0 -62
- package/schematics/ng-update/index.mjs +0 -29
- package/schematics/ng-update/migrations/attribute-selectors.mjs +0 -68
- package/schematics/ng-update/migrations/class-inheritance.mjs +0 -55
- package/schematics/ng-update/migrations/class-names.mjs +0 -88
- package/schematics/ng-update/migrations/constructor-signature.mjs +0 -136
- package/schematics/ng-update/migrations/css-selectors.mjs +0 -72
- package/schematics/ng-update/migrations/css-tokens.mjs +0 -80
- package/schematics/ng-update/migrations/element-selectors.mjs +0 -63
- package/schematics/ng-update/migrations/input-names.mjs +0 -56
- package/schematics/ng-update/migrations/method-call-arguments.mjs +0 -59
- package/schematics/ng-update/migrations/misc-template.mjs +0 -22
- package/schematics/ng-update/migrations/output-names.mjs +0 -43
- package/schematics/ng-update/migrations/property-names.mjs +0 -57
- package/schematics/ng-update/migrations/symbol-removal.mjs +0 -43
- package/schematics/ng-update/public-api.mjs +0 -36
- package/schematics/ng-update/typescript/base-types.mjs +0 -23
- package/schematics/ng-update/typescript/imports.mjs +0 -53
- package/schematics/ng-update/typescript/literal.mjs +0 -32
- package/schematics/ng-update/typescript/module-specifiers.mjs +0 -35
- package/schematics/ng-update/upgrade-data.mjs +0 -40
- package/schematics/paths.mjs +0 -16
- package/schematics/schematics.externs.js +0 -0
- package/schematics/tsconfig.json +0 -29
- package/schematics/update-tool/component-resource-collector.mjs +0 -166
- package/schematics/update-tool/file-system.mjs +0 -18
- package/schematics/update-tool/index.mjs +0 -178
- package/schematics/update-tool/logger.mjs +0 -18
- package/schematics/update-tool/migration.mjs +0 -77
- package/schematics/update-tool/public-api.mjs +0 -33
- package/schematics/update-tool/target-version.mjs +0 -27
- package/schematics/update-tool/update-recorder.mjs +0 -10
- package/schematics/update-tool/update-tool.externs.js +0 -0
- package/schematics/update-tool/utils/decorators.mjs +0 -41
- package/schematics/update-tool/utils/diagnostics.mjs +0 -18
- package/schematics/update-tool/utils/functions.mjs +0 -20
- package/schematics/update-tool/utils/imports.mjs +0 -110
- package/schematics/update-tool/utils/line-mappings.mjs +0 -75
- package/schematics/update-tool/utils/parse-tsconfig.mjs +0 -45
- package/schematics/update-tool/utils/property-name.mjs +0 -27
- package/schematics/update-tool/utils/virtual-host.mjs +0 -72
- package/schematics/update-tool/version-changes.mjs +0 -38
- package/schematics/utils/ast/ng-module-imports.mjs +0 -82
- package/schematics/utils/ast.mjs +0 -68
- package/schematics/utils/build-component.mjs +0 -183
- package/schematics/utils/get-project.mjs +0 -28
- package/schematics/utils/html-manipulation.mjs +0 -91
- package/schematics/utils/index.mjs +0 -36
- package/schematics/utils/parse5-element.mjs +0 -30
- package/schematics/utils/project-index-file.mjs +0 -20
- package/schematics/utils/project-main-file.mjs +0 -25
- package/schematics/utils/project-style-file.mjs +0 -42
- package/schematics/utils/project-targets.mjs +0 -39
- package/schematics/utils/project-tsconfig-paths.mjs +0 -34
- package/schematics/utils/schematic-options.mjs +0 -77
- package/viewport-ruler.d-f3d3e82f.d.ts +0 -57
- /package/{platform.d-0a5b4792.d.ts → platform.d-B3vREl3q.d.ts} +0 -0
- /package/{style-loader.d-19baab84.d.ts → style-loader.d-BXZfQZTF.d.ts} +0 -0
package/fesm2022/menu.mjs
CHANGED
|
@@ -1,43 +1,42 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Directive, InjectionToken, Optional, SkipSelf, Inject, inject, Injectable, Injector, ViewContainerRef, EventEmitter, NgZone, RendererFactory2, ElementRef, ChangeDetectorRef, Renderer2, booleanAttribute, Input, Output, signal, computed, ContentChildren, NgModule } from '@angular/core';
|
|
3
3
|
import { startWith, debounceTime, distinctUntilChanged, takeUntil, mergeMap, mapTo, mergeAll, switchMap, skipWhile, skip } from 'rxjs/operators';
|
|
4
|
-
import { U as UniqueSelectionDispatcher } from './unique-selection-dispatcher-
|
|
4
|
+
import { U as UniqueSelectionDispatcher } from './unique-selection-dispatcher-Cag6cZJ2.mjs';
|
|
5
5
|
import { Subject, merge, partition } from 'rxjs';
|
|
6
|
-
import { _ as _IdGenerator } from './id-generator-
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { I as InputModalityDetector,
|
|
11
|
-
import { D as Directionality } from './directionality-
|
|
12
|
-
import {
|
|
13
|
-
import { _ as _getEventTarget } from './shadow-dom-
|
|
14
|
-
import { F as FocusKeyManager } from './focus-key-manager-
|
|
6
|
+
import { _ as _IdGenerator } from './id-generator-BwB8lolC.mjs';
|
|
7
|
+
import { o as createRepositionScrollStrategy, c as createOverlayRef, i as OverlayConfig, h as createFlexibleConnectedPositionStrategy, g as STANDARD_DROPDOWN_BELOW_POSITIONS, S as STANDARD_DROPDOWN_ADJACENT_POSITIONS, t as OverlayModule } from './overlay-module-BaGhSGqO.mjs';
|
|
8
|
+
import { TemplatePortal } from './portal.mjs';
|
|
9
|
+
import { c as ENTER, S as SPACE, U as UP_ARROW, D as DOWN_ARROW, L as LEFT_ARROW, R as RIGHT_ARROW, T as TAB, g as ESCAPE } from './keycodes-CpHkExLC.mjs';
|
|
10
|
+
import { I as InputModalityDetector, F as FocusMonitor } from './focus-monitor-DKFfep8Q.mjs';
|
|
11
|
+
import { D as Directionality } from './directionality-Ck5Uc9Se.mjs';
|
|
12
|
+
import { hasModifierKey } from './keycodes.mjs';
|
|
13
|
+
import { _ as _getEventTarget } from './shadow-dom-B0oHn41l.mjs';
|
|
14
|
+
import { F as FocusKeyManager } from './focus-key-manager-C1rAQJ5z.mjs';
|
|
15
15
|
import '@angular/common';
|
|
16
|
-
import './platform-
|
|
17
|
-
import './
|
|
18
|
-
import './
|
|
19
|
-
import './
|
|
20
|
-
import './
|
|
21
|
-
import './
|
|
22
|
-
import './
|
|
23
|
-
import './
|
|
24
|
-
import './
|
|
25
|
-
import './recycle-view-repeater-strategy-
|
|
26
|
-
import './data-source-
|
|
27
|
-
import './
|
|
28
|
-
import './
|
|
29
|
-
import './
|
|
30
|
-
import './
|
|
31
|
-
import './typeahead-11ae39bd.mjs';
|
|
16
|
+
import './platform-CPg0IbDW.mjs';
|
|
17
|
+
import './test-environment-CT0XxPyp.mjs';
|
|
18
|
+
import './style-loader-BDEAZOey.mjs';
|
|
19
|
+
import './css-pixel-value-C_HEqLhI.mjs';
|
|
20
|
+
import './array-I1yfCXUO.mjs';
|
|
21
|
+
import './scrolling.mjs';
|
|
22
|
+
import './element-x4z00URv.mjs';
|
|
23
|
+
import './scrolling-BkvA05C8.mjs';
|
|
24
|
+
import './bidi.mjs';
|
|
25
|
+
import './recycle-view-repeater-strategy-DoWdPqVw.mjs';
|
|
26
|
+
import './data-source-D34wiQZj.mjs';
|
|
27
|
+
import './fake-event-detection-DWOdFTFz.mjs';
|
|
28
|
+
import './passive-listeners-esHZRgIN.mjs';
|
|
29
|
+
import './list-key-manager-CyOIXo8P.mjs';
|
|
30
|
+
import './typeahead-9ZW4Dtsf.mjs';
|
|
32
31
|
|
|
33
32
|
/**
|
|
34
33
|
* A grouping container for `CdkMenuItemRadio` instances, similar to a `role="radiogroup"` element.
|
|
35
34
|
*/
|
|
36
35
|
class CdkMenuGroup {
|
|
37
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
38
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-next.
|
|
36
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkMenuGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
37
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-next.5", type: CdkMenuGroup, isStandalone: true, selector: "[cdkMenuGroup]", host: { attributes: { "role": "group" }, classAttribute: "cdk-menu-group" }, providers: [{ provide: UniqueSelectionDispatcher, useClass: UniqueSelectionDispatcher }], exportAs: ["cdkMenuGroup"], ngImport: i0 });
|
|
39
38
|
}
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkMenuGroup, decorators: [{
|
|
41
40
|
type: Directive,
|
|
42
41
|
args: [{
|
|
43
42
|
selector: '[cdkMenuGroup]',
|
|
@@ -194,10 +193,10 @@ class MenuStack {
|
|
|
194
193
|
setHasFocus(hasFocus) {
|
|
195
194
|
this._hasFocus.next(hasFocus);
|
|
196
195
|
}
|
|
197
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
198
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
196
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: MenuStack, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
197
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: MenuStack });
|
|
199
198
|
}
|
|
200
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
199
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: MenuStack, decorators: [{
|
|
201
200
|
type: Injectable
|
|
202
201
|
}] });
|
|
203
202
|
|
|
@@ -207,8 +206,8 @@ const MENU_TRIGGER = new InjectionToken('cdk-menu-trigger');
|
|
|
207
206
|
const MENU_SCROLL_STRATEGY = new InjectionToken('cdk-menu-scroll-strategy', {
|
|
208
207
|
providedIn: 'root',
|
|
209
208
|
factory: () => {
|
|
210
|
-
const
|
|
211
|
-
return () =>
|
|
209
|
+
const injector = inject(Injector);
|
|
210
|
+
return () => createRepositionScrollStrategy(injector);
|
|
212
211
|
},
|
|
213
212
|
});
|
|
214
213
|
/**
|
|
@@ -306,10 +305,10 @@ class CdkMenuTriggerBase {
|
|
|
306
305
|
});
|
|
307
306
|
return this._childMenuInjector;
|
|
308
307
|
}
|
|
309
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
310
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-next.
|
|
308
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkMenuTriggerBase, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
309
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-next.5", type: CdkMenuTriggerBase, isStandalone: true, host: { properties: { "attr.aria-controls": "childMenu?.id", "attr.data-cdk-menu-stack-id": "menuStack.id" } }, ngImport: i0 });
|
|
311
310
|
}
|
|
312
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
311
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkMenuTriggerBase, decorators: [{
|
|
313
312
|
type: Directive,
|
|
314
313
|
args: [{
|
|
315
314
|
host: {
|
|
@@ -511,10 +510,10 @@ class TargetMenuAim {
|
|
|
511
510
|
});
|
|
512
511
|
});
|
|
513
512
|
}
|
|
514
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
515
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
513
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: TargetMenuAim, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
514
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: TargetMenuAim });
|
|
516
515
|
}
|
|
517
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
516
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: TargetMenuAim, decorators: [{
|
|
518
517
|
type: Injectable
|
|
519
518
|
}] });
|
|
520
519
|
/**
|
|
@@ -522,10 +521,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.1",
|
|
|
522
521
|
* element with either the `cdkMenu` or `cdkMenuBar` directive and child menu items.
|
|
523
522
|
*/
|
|
524
523
|
class CdkTargetMenuAim {
|
|
525
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
526
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-next.
|
|
524
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkTargetMenuAim, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
525
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-next.5", type: CdkTargetMenuAim, isStandalone: true, selector: "[cdkTargetMenuAim]", providers: [{ provide: MENU_AIM, useClass: TargetMenuAim }], exportAs: ["cdkTargetMenuAim"], ngImport: i0 });
|
|
527
526
|
}
|
|
528
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
527
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkTargetMenuAim, decorators: [{
|
|
529
528
|
type: Directive,
|
|
530
529
|
args: [{
|
|
531
530
|
selector: '[cdkTargetMenuAim]',
|
|
@@ -563,12 +562,12 @@ function eventDispatchesNativeClick(elementRef, event) {
|
|
|
563
562
|
*/
|
|
564
563
|
class CdkMenuTrigger extends CdkMenuTriggerBase {
|
|
565
564
|
_elementRef = inject(ElementRef);
|
|
566
|
-
_overlay = inject(Overlay);
|
|
567
565
|
_ngZone = inject(NgZone);
|
|
568
566
|
_changeDetectorRef = inject(ChangeDetectorRef);
|
|
569
567
|
_inputModalityDetector = inject(InputModalityDetector);
|
|
570
568
|
_directionality = inject(Directionality, { optional: true });
|
|
571
569
|
_renderer = inject(Renderer2);
|
|
570
|
+
_injector = inject(Injector);
|
|
572
571
|
_cleanupMouseenter;
|
|
573
572
|
/** The parent menu this trigger belongs to. */
|
|
574
573
|
_parentMenu = inject(CDK_MENU, { optional: true });
|
|
@@ -591,7 +590,8 @@ class CdkMenuTrigger extends CdkMenuTriggerBase {
|
|
|
591
590
|
open() {
|
|
592
591
|
if (!this.isOpen() && this.menuTemplateRef != null) {
|
|
593
592
|
this.opened.next();
|
|
594
|
-
this.overlayRef =
|
|
593
|
+
this.overlayRef =
|
|
594
|
+
this.overlayRef || createOverlayRef(this._injector, this._getOverlayConfig());
|
|
595
595
|
this.overlayRef.attach(this.getMenuContentPortal());
|
|
596
596
|
this._changeDetectorRef.markForCheck();
|
|
597
597
|
this._subscribeToOutsideClicks();
|
|
@@ -735,9 +735,7 @@ class CdkMenuTrigger extends CdkMenuTriggerBase {
|
|
|
735
735
|
}
|
|
736
736
|
/** Build the position strategy for the overlay which specifies where to place the menu. */
|
|
737
737
|
_getOverlayPositionStrategy() {
|
|
738
|
-
return this.
|
|
739
|
-
.position()
|
|
740
|
-
.flexibleConnectedTo(this._elementRef)
|
|
738
|
+
return createFlexibleConnectedPositionStrategy(this._injector, this._elementRef)
|
|
741
739
|
.withLockedPosition()
|
|
742
740
|
.withFlexibleDimensions(false)
|
|
743
741
|
.withPositions(this._getOverlayPositions());
|
|
@@ -821,13 +819,13 @@ class CdkMenuTrigger extends CdkMenuTriggerBase {
|
|
|
821
819
|
element.setAttribute('type', 'button');
|
|
822
820
|
}
|
|
823
821
|
}
|
|
824
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
825
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-next.
|
|
822
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkMenuTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
823
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-next.5", type: CdkMenuTrigger, isStandalone: true, selector: "[cdkMenuTriggerFor]", inputs: { menuTemplateRef: ["cdkMenuTriggerFor", "menuTemplateRef"], menuPosition: ["cdkMenuPosition", "menuPosition"], menuData: ["cdkMenuTriggerData", "menuData"] }, outputs: { opened: "cdkMenuOpened", closed: "cdkMenuClosed" }, host: { listeners: { "focusin": "_setHasFocus(true)", "focusout": "_setHasFocus(false)", "keydown": "_toggleOnKeydown($event)", "click": "_handleClick()" }, properties: { "attr.aria-haspopup": "menuTemplateRef ? \"menu\" : null", "attr.aria-expanded": "menuTemplateRef == null ? null : isOpen()" }, classAttribute: "cdk-menu-trigger" }, providers: [
|
|
826
824
|
{ provide: MENU_TRIGGER, useExisting: CdkMenuTrigger },
|
|
827
825
|
PARENT_OR_NEW_MENU_STACK_PROVIDER,
|
|
828
826
|
], exportAs: ["cdkMenuTriggerFor"], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
829
827
|
}
|
|
830
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
828
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkMenuTrigger, decorators: [{
|
|
831
829
|
type: Directive,
|
|
832
830
|
args: [{
|
|
833
831
|
selector: '[cdkMenuTriggerFor]',
|
|
@@ -1085,10 +1083,10 @@ class CdkMenuItem {
|
|
|
1085
1083
|
element.setAttribute('type', 'button');
|
|
1086
1084
|
}
|
|
1087
1085
|
}
|
|
1088
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
1089
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.0.0-next.
|
|
1086
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkMenuItem, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1087
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.0.0-next.5", type: CdkMenuItem, isStandalone: true, selector: "[cdkMenuItem]", inputs: { disabled: ["cdkMenuItemDisabled", "disabled", booleanAttribute], typeaheadLabel: ["cdkMenuitemTypeaheadLabel", "typeaheadLabel"] }, outputs: { triggered: "cdkMenuItemTriggered" }, host: { attributes: { "role": "menuitem" }, listeners: { "blur": "_resetTabIndex()", "focus": "_setTabIndex()", "click": "trigger()", "keydown": "_onKeydown($event)" }, properties: { "tabindex": "_tabindex", "attr.aria-disabled": "disabled || null" }, classAttribute: "cdk-menu-item" }, exportAs: ["cdkMenuItem"], ngImport: i0 });
|
|
1090
1088
|
}
|
|
1091
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
1089
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkMenuItem, decorators: [{
|
|
1092
1090
|
type: Directive,
|
|
1093
1091
|
args: [{
|
|
1094
1092
|
selector: '[cdkMenuItem]',
|
|
@@ -1337,10 +1335,10 @@ class CdkMenuBase extends CdkMenuGroup {
|
|
|
1337
1335
|
}
|
|
1338
1336
|
});
|
|
1339
1337
|
}
|
|
1340
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
1341
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-next.
|
|
1338
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkMenuBase, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1339
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-next.5", type: CdkMenuBase, isStandalone: true, inputs: { id: "id" }, host: { attributes: { "role": "menu" }, listeners: { "focusin": "menuStack.setHasFocus(true)", "focusout": "menuStack.setHasFocus(false)" }, properties: { "tabindex": "_getTabIndex()", "id": "id", "attr.aria-orientation": "orientation", "attr.data-cdk-menu-stack-id": "menuStack.id" } }, queries: [{ propertyName: "items", predicate: CdkMenuItem, descendants: true }], usesInheritance: true, ngImport: i0 });
|
|
1342
1340
|
}
|
|
1343
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
1341
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkMenuBase, decorators: [{
|
|
1344
1342
|
type: Directive,
|
|
1345
1343
|
args: [{
|
|
1346
1344
|
host: {
|
|
@@ -1451,14 +1449,14 @@ class CdkMenu extends CdkMenuBase {
|
|
|
1451
1449
|
.pipe(takeUntil(this.destroyed))
|
|
1452
1450
|
.subscribe(event => this._toggleMenuFocus(event));
|
|
1453
1451
|
}
|
|
1454
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
1455
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-next.
|
|
1452
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkMenu, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1453
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-next.5", type: CdkMenu, isStandalone: true, selector: "[cdkMenu]", outputs: { closed: "closed" }, host: { attributes: { "role": "menu" }, listeners: { "keydown": "_handleKeyEvent($event)" }, properties: { "class.cdk-menu-inline": "isInline" }, classAttribute: "cdk-menu" }, providers: [
|
|
1456
1454
|
{ provide: CdkMenuGroup, useExisting: CdkMenu },
|
|
1457
1455
|
{ provide: CDK_MENU, useExisting: CdkMenu },
|
|
1458
1456
|
PARENT_OR_NEW_INLINE_MENU_STACK_PROVIDER('vertical'),
|
|
1459
1457
|
], exportAs: ["cdkMenu"], usesInheritance: true, ngImport: i0 });
|
|
1460
1458
|
}
|
|
1461
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
1459
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkMenu, decorators: [{
|
|
1462
1460
|
type: Directive,
|
|
1463
1461
|
args: [{
|
|
1464
1462
|
selector: '[cdkMenu]',
|
|
@@ -1569,14 +1567,14 @@ class CdkMenuBar extends CdkMenuBase {
|
|
|
1569
1567
|
.pipe(takeUntil(this.destroyed))
|
|
1570
1568
|
.subscribe(event => this._toggleOpenMenu(event));
|
|
1571
1569
|
}
|
|
1572
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
1573
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-next.
|
|
1570
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkMenuBar, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1571
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-next.5", type: CdkMenuBar, isStandalone: true, selector: "[cdkMenuBar]", host: { attributes: { "role": "menubar" }, listeners: { "keydown": "_handleKeyEvent($event)" }, classAttribute: "cdk-menu-bar" }, providers: [
|
|
1574
1572
|
{ provide: CdkMenuGroup, useExisting: CdkMenuBar },
|
|
1575
1573
|
{ provide: CDK_MENU, useExisting: CdkMenuBar },
|
|
1576
1574
|
{ provide: MENU_STACK, useFactory: () => MenuStack.inline('horizontal') },
|
|
1577
1575
|
], exportAs: ["cdkMenuBar"], usesInheritance: true, ngImport: i0 });
|
|
1578
1576
|
}
|
|
1579
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
1577
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkMenuBar, decorators: [{
|
|
1580
1578
|
type: Directive,
|
|
1581
1579
|
args: [{
|
|
1582
1580
|
selector: '[cdkMenuBar]',
|
|
@@ -1600,10 +1598,10 @@ class CdkMenuItemSelectable extends CdkMenuItem {
|
|
|
1600
1598
|
checked = false;
|
|
1601
1599
|
/** Whether the item should close the menu if triggered by the spacebar. */
|
|
1602
1600
|
closeOnSpacebarTrigger = false;
|
|
1603
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
1604
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.0.0-next.
|
|
1601
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkMenuItemSelectable, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1602
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.0.0-next.5", type: CdkMenuItemSelectable, isStandalone: true, inputs: { checked: ["cdkMenuItemChecked", "checked", booleanAttribute] }, host: { properties: { "attr.aria-checked": "!!checked", "attr.aria-disabled": "disabled || null" } }, usesInheritance: true, ngImport: i0 });
|
|
1605
1603
|
}
|
|
1606
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
1604
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkMenuItemSelectable, decorators: [{
|
|
1607
1605
|
type: Directive,
|
|
1608
1606
|
args: [{
|
|
1609
1607
|
host: {
|
|
@@ -1653,13 +1651,13 @@ class CdkMenuItemRadio extends CdkMenuItemSelectable {
|
|
|
1653
1651
|
this.checked = this._id === id;
|
|
1654
1652
|
});
|
|
1655
1653
|
}
|
|
1656
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
1657
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-next.
|
|
1654
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkMenuItemRadio, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1655
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-next.5", type: CdkMenuItemRadio, isStandalone: true, selector: "[cdkMenuItemRadio]", host: { attributes: { "role": "menuitemradio" }, properties: { "class.cdk-menu-item-radio": "true" } }, providers: [
|
|
1658
1656
|
{ provide: CdkMenuItemSelectable, useExisting: CdkMenuItemRadio },
|
|
1659
1657
|
{ provide: CdkMenuItem, useExisting: CdkMenuItemSelectable },
|
|
1660
1658
|
], exportAs: ["cdkMenuItemRadio"], usesInheritance: true, ngImport: i0 });
|
|
1661
1659
|
}
|
|
1662
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
1660
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkMenuItemRadio, decorators: [{
|
|
1663
1661
|
type: Directive,
|
|
1664
1662
|
args: [{
|
|
1665
1663
|
selector: '[cdkMenuItemRadio]',
|
|
@@ -1691,13 +1689,13 @@ class CdkMenuItemCheckbox extends CdkMenuItemSelectable {
|
|
|
1691
1689
|
this.checked = !this.checked;
|
|
1692
1690
|
}
|
|
1693
1691
|
}
|
|
1694
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
1695
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-next.
|
|
1692
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkMenuItemCheckbox, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1693
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-next.5", type: CdkMenuItemCheckbox, isStandalone: true, selector: "[cdkMenuItemCheckbox]", host: { attributes: { "role": "menuitemcheckbox" }, properties: { "class.cdk-menu-item-checkbox": "true" } }, providers: [
|
|
1696
1694
|
{ provide: CdkMenuItemSelectable, useExisting: CdkMenuItemCheckbox },
|
|
1697
1695
|
{ provide: CdkMenuItem, useExisting: CdkMenuItemSelectable },
|
|
1698
1696
|
], exportAs: ["cdkMenuItemCheckbox"], usesInheritance: true, ngImport: i0 });
|
|
1699
1697
|
}
|
|
1700
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
1698
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkMenuItemCheckbox, decorators: [{
|
|
1701
1699
|
type: Directive,
|
|
1702
1700
|
args: [{
|
|
1703
1701
|
selector: '[cdkMenuItemCheckbox]',
|
|
@@ -1735,10 +1733,10 @@ class ContextMenuTracker {
|
|
|
1735
1733
|
ContextMenuTracker._openContextMenuTrigger = trigger;
|
|
1736
1734
|
}
|
|
1737
1735
|
}
|
|
1738
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
1739
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
1736
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: ContextMenuTracker, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1737
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: ContextMenuTracker, providedIn: 'root' });
|
|
1740
1738
|
}
|
|
1741
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
1739
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: ContextMenuTracker, decorators: [{
|
|
1742
1740
|
type: Injectable,
|
|
1743
1741
|
args: [{ providedIn: 'root' }]
|
|
1744
1742
|
}] });
|
|
@@ -1747,11 +1745,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.1",
|
|
|
1747
1745
|
* It is aware of nested context menus and will trigger only the lowest level non-disabled context menu.
|
|
1748
1746
|
*/
|
|
1749
1747
|
class CdkContextMenuTrigger extends CdkMenuTriggerBase {
|
|
1750
|
-
|
|
1751
|
-
_overlay = inject(Overlay);
|
|
1752
|
-
/** The directionality of the page. */
|
|
1748
|
+
_injector = inject(Injector);
|
|
1753
1749
|
_directionality = inject(Directionality, { optional: true });
|
|
1754
|
-
/** The app's context menu tracking registry */
|
|
1755
1750
|
_contextMenuTracker = inject(ContextMenuTracker);
|
|
1756
1751
|
_changeDetectorRef = inject(ChangeDetectorRef);
|
|
1757
1752
|
/** Whether the context menu is disabled. */
|
|
@@ -1814,9 +1809,7 @@ class CdkContextMenuTrigger extends CdkMenuTriggerBase {
|
|
|
1814
1809
|
* @param coordinates the location to place the opened menu
|
|
1815
1810
|
*/
|
|
1816
1811
|
_getOverlayPositionStrategy(coordinates) {
|
|
1817
|
-
return this.
|
|
1818
|
-
.position()
|
|
1819
|
-
.flexibleConnectedTo(coordinates)
|
|
1812
|
+
return createFlexibleConnectedPositionStrategy(this._injector, coordinates)
|
|
1820
1813
|
.withLockedPosition()
|
|
1821
1814
|
.withGrowAfterOpen()
|
|
1822
1815
|
.withPositions(this.menuPosition ?? CONTEXT_MENU_POSITIONS);
|
|
@@ -1827,6 +1820,8 @@ class CdkContextMenuTrigger extends CdkMenuTriggerBase {
|
|
|
1827
1820
|
if (item === this.childMenu && this.isOpen()) {
|
|
1828
1821
|
this.closed.next();
|
|
1829
1822
|
this.overlayRef.detach();
|
|
1823
|
+
this.childMenu = undefined;
|
|
1824
|
+
this._changeDetectorRef.markForCheck();
|
|
1830
1825
|
}
|
|
1831
1826
|
});
|
|
1832
1827
|
}
|
|
@@ -1882,19 +1877,19 @@ class CdkContextMenuTrigger extends CdkMenuTriggerBase {
|
|
|
1882
1877
|
this.overlayRef.updatePosition();
|
|
1883
1878
|
}
|
|
1884
1879
|
else {
|
|
1885
|
-
this.overlayRef = this.
|
|
1880
|
+
this.overlayRef = createOverlayRef(this._injector, this._getOverlayConfig(coordinates));
|
|
1886
1881
|
}
|
|
1887
1882
|
this.overlayRef.attach(this.getMenuContentPortal());
|
|
1888
1883
|
this._subscribeToOutsideClicks(userEvent);
|
|
1889
1884
|
}
|
|
1890
1885
|
}
|
|
1891
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
1892
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.0.0-next.
|
|
1886
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkContextMenuTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1887
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.0.0-next.5", type: CdkContextMenuTrigger, isStandalone: true, selector: "[cdkContextMenuTriggerFor]", inputs: { menuTemplateRef: ["cdkContextMenuTriggerFor", "menuTemplateRef"], menuPosition: ["cdkContextMenuPosition", "menuPosition"], menuData: ["cdkContextMenuTriggerData", "menuData"], disabled: ["cdkContextMenuDisabled", "disabled", booleanAttribute] }, outputs: { opened: "cdkContextMenuOpened", closed: "cdkContextMenuClosed" }, host: { listeners: { "contextmenu": "_openOnContextMenu($event)" }, properties: { "attr.data-cdk-menu-stack-id": "null" } }, providers: [
|
|
1893
1888
|
{ provide: MENU_TRIGGER, useExisting: CdkContextMenuTrigger },
|
|
1894
1889
|
{ provide: MENU_STACK, useClass: MenuStack },
|
|
1895
1890
|
], exportAs: ["cdkContextMenuTriggerFor"], usesInheritance: true, ngImport: i0 });
|
|
1896
1891
|
}
|
|
1897
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
1892
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkContextMenuTrigger, decorators: [{
|
|
1898
1893
|
type: Directive,
|
|
1899
1894
|
args: [{
|
|
1900
1895
|
selector: '[cdkContextMenuTriggerFor]',
|
|
@@ -1932,8 +1927,8 @@ const MENU_DIRECTIVES = [
|
|
|
1932
1927
|
];
|
|
1933
1928
|
/** Module that declares components and directives for the CDK menu. */
|
|
1934
1929
|
class CdkMenuModule {
|
|
1935
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
1936
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.0-next.
|
|
1930
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1931
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkMenuModule, imports: [OverlayModule, CdkMenuBar,
|
|
1937
1932
|
CdkMenu,
|
|
1938
1933
|
CdkMenuItem,
|
|
1939
1934
|
CdkMenuItemRadio,
|
|
@@ -1950,9 +1945,9 @@ class CdkMenuModule {
|
|
|
1950
1945
|
CdkMenuGroup,
|
|
1951
1946
|
CdkContextMenuTrigger,
|
|
1952
1947
|
CdkTargetMenuAim] });
|
|
1953
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
1948
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkMenuModule, imports: [OverlayModule] });
|
|
1954
1949
|
}
|
|
1955
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
1950
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkMenuModule, decorators: [{
|
|
1956
1951
|
type: NgModule,
|
|
1957
1952
|
args: [{
|
|
1958
1953
|
imports: [OverlayModule, ...MENU_DIRECTIVES],
|