@angular/cdk 14.0.0-next.12 → 14.0.0-next.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/a11y/index.d.ts +1119 -5
- package/accordion/index.d.ts +108 -6
- package/bidi/index.d.ts +77 -5
- package/clipboard/index.d.ts +112 -5
- package/coercion/index.d.ts +64 -5
- package/collections/index.d.ts +348 -5
- package/dialog/index.d.ts +408 -6
- package/drag-drop/index.d.ts +1456 -5
- package/esm2020/a11y/a11y-module.mjs +5 -5
- package/esm2020/a11y/aria-describer/aria-describer.mjs +3 -3
- package/esm2020/a11y/focus-monitor/focus-monitor.mjs +6 -6
- package/esm2020/a11y/focus-trap/configurable-focus-trap-factory.mjs +3 -3
- package/esm2020/a11y/focus-trap/focus-trap-manager.mjs +3 -3
- package/esm2020/a11y/focus-trap/focus-trap.mjs +6 -6
- package/esm2020/a11y/high-contrast-mode/high-contrast-mode-detector.mjs +3 -3
- package/esm2020/a11y/input-modality/input-modality-detector.mjs +3 -3
- package/esm2020/a11y/interactivity-checker/interactivity-checker.mjs +3 -3
- package/esm2020/a11y/live-announcer/live-announcer.mjs +6 -6
- package/esm2020/accordion/accordion-item.mjs +3 -3
- package/esm2020/accordion/accordion-module.mjs +4 -4
- package/esm2020/accordion/accordion.mjs +3 -3
- package/esm2020/bidi/bidi-module.mjs +4 -4
- package/esm2020/bidi/dir.mjs +3 -3
- package/esm2020/bidi/directionality.mjs +3 -3
- package/esm2020/clipboard/clipboard-module.mjs +4 -4
- package/esm2020/clipboard/clipboard.mjs +3 -3
- package/esm2020/clipboard/copy-to-clipboard.mjs +3 -3
- package/esm2020/collections/unique-selection-dispatcher.mjs +3 -3
- package/esm2020/dialog/dialog-config.mjs +6 -1
- package/esm2020/dialog/dialog-container.mjs +23 -10
- package/esm2020/dialog/dialog-module.mjs +5 -5
- package/esm2020/dialog/dialog.mjs +35 -22
- package/esm2020/drag-drop/directives/drag-handle.mjs +3 -3
- package/esm2020/drag-drop/directives/drag-placeholder.mjs +3 -3
- package/esm2020/drag-drop/directives/drag-preview.mjs +3 -3
- package/esm2020/drag-drop/directives/drag.mjs +3 -3
- package/esm2020/drag-drop/directives/drop-list-group.mjs +3 -3
- package/esm2020/drag-drop/directives/drop-list.mjs +3 -3
- package/esm2020/drag-drop/drag-drop-module.mjs +4 -4
- package/esm2020/drag-drop/drag-drop-registry.mjs +3 -3
- package/esm2020/drag-drop/drag-drop.mjs +3 -3
- package/esm2020/layout/breakpoints-observer.mjs +3 -3
- package/esm2020/layout/layout-module.mjs +4 -4
- package/esm2020/layout/media-matcher.mjs +3 -3
- package/esm2020/menu/context-menu-trigger.mjs +10 -8
- package/esm2020/menu/menu-aim.mjs +6 -6
- package/esm2020/menu/menu-bar.mjs +3 -3
- package/esm2020/menu/menu-base.mjs +3 -3
- package/esm2020/menu/menu-group.mjs +3 -3
- package/esm2020/menu/menu-item-checkbox.mjs +3 -3
- package/esm2020/menu/menu-item-radio.mjs +3 -3
- package/esm2020/menu/menu-item-selectable.mjs +3 -3
- package/esm2020/menu/menu-item.mjs +3 -3
- package/esm2020/menu/menu-module.mjs +5 -5
- package/esm2020/menu/menu-stack.mjs +3 -3
- package/esm2020/menu/menu-trigger-base.mjs +3 -3
- package/esm2020/menu/menu-trigger.mjs +7 -5
- package/esm2020/menu/menu.mjs +3 -3
- package/esm2020/observers/observe-content.mjs +13 -13
- package/esm2020/overlay/dispatchers/base-overlay-dispatcher.mjs +3 -3
- package/esm2020/overlay/dispatchers/overlay-keyboard-dispatcher.mjs +3 -3
- package/esm2020/overlay/dispatchers/overlay-outside-click-dispatcher.mjs +3 -3
- package/esm2020/overlay/fullscreen-overlay-container.mjs +3 -3
- package/esm2020/overlay/overlay-container.mjs +3 -3
- package/esm2020/overlay/overlay-directives.mjs +6 -6
- package/esm2020/overlay/overlay-module.mjs +5 -5
- package/esm2020/overlay/overlay.mjs +3 -3
- package/esm2020/overlay/position/overlay-position-builder.mjs +3 -3
- package/esm2020/overlay/scroll/scroll-strategy-options.mjs +3 -3
- package/esm2020/platform/platform-module.mjs +4 -4
- package/esm2020/platform/platform.mjs +3 -3
- package/esm2020/portal/portal-directives.mjs +16 -16
- package/esm2020/scrolling/fixed-size-virtual-scroll.mjs +3 -3
- package/esm2020/scrolling/scroll-dispatcher.mjs +3 -3
- package/esm2020/scrolling/scrollable.mjs +3 -3
- package/esm2020/scrolling/scrolling-module.mjs +9 -9
- package/esm2020/scrolling/viewport-ruler.mjs +3 -3
- package/esm2020/scrolling/virtual-for-of.mjs +3 -3
- package/esm2020/scrolling/virtual-scroll-viewport.mjs +3 -3
- package/esm2020/stepper/step-header.mjs +3 -3
- package/esm2020/stepper/step-label.mjs +3 -3
- package/esm2020/stepper/stepper-button.mjs +6 -6
- package/esm2020/stepper/stepper-module.mjs +5 -5
- package/esm2020/stepper/stepper.mjs +6 -6
- package/esm2020/table/cell.mjs +21 -21
- package/esm2020/table/coalesced-style-scheduler.mjs +3 -3
- package/esm2020/table/row.mjs +27 -27
- package/esm2020/table/table-module.mjs +5 -5
- package/esm2020/table/table.mjs +18 -18
- package/esm2020/table/text-column.mjs +3 -3
- package/esm2020/testing/selenium-webdriver/selenium-web-driver-harness-environment.mjs +1 -1
- package/esm2020/testing/test-element.mjs +1 -1
- package/esm2020/text-field/autofill.mjs +6 -6
- package/esm2020/text-field/autosize.mjs +3 -3
- package/esm2020/text-field/text-field-module.mjs +4 -4
- package/esm2020/tree/nested-node.mjs +3 -3
- package/esm2020/tree/node.mjs +3 -3
- package/esm2020/tree/outlet.mjs +3 -3
- package/esm2020/tree/padding.mjs +3 -3
- package/esm2020/tree/toggle.mjs +3 -3
- package/esm2020/tree/tree-module.mjs +4 -4
- package/esm2020/tree/tree.mjs +6 -6
- package/esm2020/version.mjs +1 -1
- package/fesm2015/a11y.mjs +40 -40
- package/fesm2015/a11y.mjs.map +1 -1
- package/fesm2015/accordion.mjs +10 -10
- package/fesm2015/bidi.mjs +10 -10
- package/fesm2015/cdk.mjs +1 -1
- package/fesm2015/cdk.mjs.map +1 -1
- package/fesm2015/clipboard.mjs +10 -10
- package/fesm2015/collections.mjs +3 -3
- package/fesm2015/dialog.mjs +65 -34
- package/fesm2015/dialog.mjs.map +1 -1
- package/fesm2015/drag-drop.mjs +28 -28
- package/fesm2015/layout.mjs +10 -10
- package/fesm2015/menu.mjs +55 -51
- package/fesm2015/menu.mjs.map +1 -1
- package/fesm2015/observers.mjs +13 -13
- package/fesm2015/overlay.mjs +34 -34
- package/fesm2015/overlay.mjs.map +1 -1
- package/fesm2015/platform.mjs +7 -7
- package/fesm2015/portal.mjs +16 -16
- package/fesm2015/scrolling.mjs +26 -26
- package/fesm2015/scrolling.mjs.map +1 -1
- package/fesm2015/stepper.mjs +22 -22
- package/fesm2015/stepper.mjs.map +1 -1
- package/fesm2015/table.mjs +76 -76
- package/fesm2015/table.mjs.map +1 -1
- package/fesm2015/testing/selenium-webdriver.mjs.map +1 -1
- package/fesm2015/testing.mjs.map +1 -1
- package/fesm2015/text-field.mjs +13 -13
- package/fesm2015/tree.mjs +25 -25
- package/fesm2020/a11y.mjs +40 -40
- package/fesm2020/a11y.mjs.map +1 -1
- package/fesm2020/accordion.mjs +10 -10
- package/fesm2020/bidi.mjs +10 -10
- package/fesm2020/cdk.mjs +1 -1
- package/fesm2020/cdk.mjs.map +1 -1
- package/fesm2020/clipboard.mjs +10 -10
- package/fesm2020/collections.mjs +3 -3
- package/fesm2020/dialog.mjs +65 -34
- package/fesm2020/dialog.mjs.map +1 -1
- package/fesm2020/drag-drop.mjs +28 -28
- package/fesm2020/layout.mjs +10 -10
- package/fesm2020/menu.mjs +55 -51
- package/fesm2020/menu.mjs.map +1 -1
- package/fesm2020/observers.mjs +13 -13
- package/fesm2020/overlay.mjs +34 -34
- package/fesm2020/overlay.mjs.map +1 -1
- package/fesm2020/platform.mjs +7 -7
- package/fesm2020/portal.mjs +16 -16
- package/fesm2020/scrolling.mjs +26 -26
- package/fesm2020/scrolling.mjs.map +1 -1
- package/fesm2020/stepper.mjs +22 -22
- package/fesm2020/stepper.mjs.map +1 -1
- package/fesm2020/table.mjs +76 -76
- package/fesm2020/table.mjs.map +1 -1
- package/fesm2020/testing/selenium-webdriver.mjs.map +1 -1
- package/fesm2020/testing.mjs.map +1 -1
- package/fesm2020/text-field.mjs +13 -13
- package/fesm2020/tree.mjs +25 -25
- package/index.d.ts +6 -8
- package/keycodes/index.d.ts +247 -6
- package/layout/index.d.ts +91 -8
- package/menu/index.d.ts +989 -5
- package/observers/index.d.ts +89 -6
- package/overlay/index.d.ts +1202 -5
- package/package.json +20 -20
- package/platform/index.d.ts +104 -6
- package/portal/index.d.ts +325 -5
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/schematics/utils/build-component.js +2 -2
- package/schematics/utils/build-component.mjs +2 -2
- package/schematics/utils/schematic-options.js +2 -2
- package/schematics/utils/schematic-options.mjs +2 -2
- package/scrolling/index.d.ts +647 -6
- package/stepper/index.d.ts +328 -6
- package/table/index.d.ts +1172 -5
- package/testing/index.d.ts +726 -5
- package/testing/selenium-webdriver/index.d.ts +134 -8
- package/testing/testbed/index.d.ts +161 -8
- package/text-field/index.d.ts +175 -6
- package/tree/index.d.ts +498 -6
- package/a11y/a11y-module.d.ts +0 -12
- package/a11y/a11y_public_index.d.ts +0 -4
- package/a11y/aria-describer/aria-describer.d.ts +0 -101
- package/a11y/aria-describer/aria-reference.d.ts +0 -22
- package/a11y/fake-event-detection.d.ts +0 -11
- package/a11y/focus-monitor/focus-monitor.d.ts +0 -209
- package/a11y/focus-trap/configurable-focus-trap-config.d.ts +0 -16
- package/a11y/focus-trap/configurable-focus-trap-factory.d.ts +0 -30
- package/a11y/focus-trap/configurable-focus-trap.d.ts +0 -33
- package/a11y/focus-trap/event-listener-inert-strategy.d.ts +0 -29
- package/a11y/focus-trap/focus-trap-inert-strategy.d.ts +0 -21
- package/a11y/focus-trap/focus-trap-manager.d.ts +0 -26
- package/a11y/focus-trap/focus-trap.d.ts +0 -163
- package/a11y/high-contrast-mode/high-contrast-mode-detector.d.ts +0 -48
- package/a11y/input-modality/input-modality-detector.d.ts +0 -99
- package/a11y/interactivity-checker/interactivity-checker.d.ts +0 -60
- package/a11y/key-manager/activedescendant-key-manager.d.ts +0 -35
- package/a11y/key-manager/focus-key-manager.d.ts +0 -37
- package/a11y/key-manager/list-key-manager.d.ts +0 -152
- package/a11y/live-announcer/live-announcer-tokens.d.ts +0 -22
- package/a11y/live-announcer/live-announcer.d.ts +0 -85
- package/a11y/package.json +0 -9
- package/a11y/public-api.d.ts +0 -25
- package/accordion/accordion-item.d.ts +0 -59
- package/accordion/accordion-module.d.ts +0 -8
- package/accordion/accordion.d.ts +0 -40
- package/accordion/accordion_public_index.d.ts +0 -4
- package/accordion/package.json +0 -9
- package/accordion/public-api.d.ts +0 -10
- package/bidi/bidi-module.d.ts +0 -7
- package/bidi/bidi_public_index.d.ts +0 -4
- package/bidi/dir-document-token.d.ts +0 -26
- package/bidi/dir.d.ts +0 -36
- package/bidi/directionality.d.ts +0 -26
- package/bidi/package.json +0 -9
- package/bidi/public-api.d.ts +0 -11
- package/clipboard/clipboard-module.d.ts +0 -7
- package/clipboard/clipboard.d.ts +0 -28
- package/clipboard/clipboard_public_index.d.ts +0 -4
- package/clipboard/copy-to-clipboard.d.ts +0 -49
- package/clipboard/package.json +0 -9
- package/clipboard/pending-copy.d.ts +0 -29
- package/clipboard/public-api.d.ts +0 -11
- package/coercion/array.d.ts +0 -10
- package/coercion/boolean-property.d.ts +0 -14
- package/coercion/css-pixel-value.d.ts +0 -9
- package/coercion/element.d.ts +0 -13
- package/coercion/number-property.d.ts +0 -20
- package/coercion/package.json +0 -9
- package/coercion/public-api.d.ts +0 -13
- package/coercion/string-array.d.ts +0 -25
- package/collections/array-data-source.d.ts +0 -16
- package/collections/collection-viewer.d.ts +0 -24
- package/collections/collections_public_index.d.ts +0 -4
- package/collections/data-source.d.ts +0 -30
- package/collections/dispose-view-repeater-strategy.d.ts +0 -22
- package/collections/package.json +0 -9
- package/collections/public-api.d.ts +0 -16
- package/collections/recycle-view-repeater-strategy.d.ts +0 -54
- package/collections/selection-model.d.ts +0 -95
- package/collections/tree-adapter.d.ts +0 -26
- package/collections/unique-selection-dispatcher.d.ts +0 -36
- package/collections/view-repeater.d.ts +0 -92
- package/dialog/dialog-config.d.ts +0 -115
- package/dialog/dialog-container.d.ts +0 -95
- package/dialog/dialog-injectors.d.ts +0 -24
- package/dialog/dialog-module.d.ts +0 -10
- package/dialog/dialog-ref.d.ts +0 -64
- package/dialog/dialog.d.ts +0 -103
- package/dialog/dialog_public_index.d.ts +0 -4
- package/dialog/package.json +0 -9
- package/dialog/public-api.d.ts +0 -13
- package/drag-drop/client-rect.d.ts +0 -38
- package/drag-drop/clone-node.d.ts +0 -9
- package/drag-drop/directives/assertions.d.ts +0 -13
- package/drag-drop/directives/config.d.ts +0 -43
- package/drag-drop/directives/drag-handle.d.ts +0 -33
- package/drag-drop/directives/drag-placeholder.d.ts +0 -27
- package/drag-drop/directives/drag-preview.d.ts +0 -32
- package/drag-drop/directives/drag.d.ts +0 -159
- package/drag-drop/directives/drop-list-group.d.ts +0 -33
- package/drag-drop/directives/drop-list.d.ts +0 -123
- package/drag-drop/drag-drop-module.d.ts +0 -13
- package/drag-drop/drag-drop-registry.d.ts +0 -89
- package/drag-drop/drag-drop.d.ts +0 -36
- package/drag-drop/drag-drop_public_index.d.ts +0 -4
- package/drag-drop/drag-events.d.ts +0 -124
- package/drag-drop/drag-parent.d.ts +0 -15
- package/drag-drop/drag-ref.d.ts +0 -448
- package/drag-drop/drag-styling.d.ts +0 -42
- package/drag-drop/drag-utils.d.ts +0 -32
- package/drag-drop/drop-list-ref.d.ts +0 -312
- package/drag-drop/package.json +0 -9
- package/drag-drop/parent-position-tracker.d.ts +0 -39
- package/drag-drop/public-api.d.ts +0 -22
- package/drag-drop/transition-duration.d.ts +0 -9
- package/keycodes/keycodes.d.ts +0 -126
- package/keycodes/keycodes_public_index.d.ts +0 -4
- package/keycodes/modifiers.d.ts +0 -14
- package/keycodes/package.json +0 -9
- package/keycodes/public-api.d.ts +0 -9
- package/layout/breakpoints-observer.d.ts +0 -45
- package/layout/breakpoints.d.ts +0 -23
- package/layout/layout-module.d.ts +0 -6
- package/layout/layout_public_index.d.ts +0 -4
- package/layout/media-matcher.d.ts +0 -18
- package/layout/package.json +0 -9
- package/layout/public-api.d.ts +0 -11
- package/menu/context-menu-trigger.d.ts +0 -98
- package/menu/menu-aim.d.ts +0 -107
- package/menu/menu-bar.d.ts +0 -52
- package/menu/menu-base.d.ts +0 -104
- package/menu/menu-errors.d.ts +0 -17
- package/menu/menu-group.d.ts +0 -8
- package/menu/menu-interface.d.ts +0 -25
- package/menu/menu-item-checkbox.d.ts +0 -18
- package/menu/menu-item-radio.d.ts +0 -59
- package/menu/menu-item-selectable.d.ts +0 -21
- package/menu/menu-item.d.ts +0 -140
- package/menu/menu-module.d.ts +0 -17
- package/menu/menu-stack.d.ts +0 -122
- package/menu/menu-trigger-base.d.ts +0 -77
- package/menu/menu-trigger.d.ts +0 -104
- package/menu/menu.d.ts +0 -60
- package/menu/menu_public_index.d.ts +0 -4
- package/menu/package.json +0 -9
- package/menu/pointer-focus-tracker.d.ts +0 -47
- package/menu/public-api.d.ts +0 -23
- package/observers/observe-content.d.ts +0 -87
- package/observers/observers_public_index.d.ts +0 -4
- package/observers/package.json +0 -9
- package/observers/public-api.d.ts +0 -8
- package/overlay/dispatchers/base-overlay-dispatcher.d.ts +0 -24
- package/overlay/dispatchers/index.d.ts +0 -9
- package/overlay/dispatchers/overlay-keyboard-dispatcher.d.ts +0 -24
- package/overlay/dispatchers/overlay-outside-click-dispatcher.d.ts +0 -32
- package/overlay/fullscreen-overlay-container.d.ts +0 -35
- package/overlay/overlay-config.d.ts +0 -47
- package/overlay/overlay-container.d.ts +0 -25
- package/overlay/overlay-directives.d.ts +0 -148
- package/overlay/overlay-module.d.ts +0 -10
- package/overlay/overlay-ref.d.ts +0 -145
- package/overlay/overlay-reference.d.ts +0 -38
- package/overlay/overlay.d.ts +0 -76
- package/overlay/overlay_public_index.d.ts +0 -4
- package/overlay/package.json +0 -9
- package/overlay/position/connected-position.d.ts +0 -102
- package/overlay/position/flexible-connected-position-strategy.d.ts +0 -282
- package/overlay/position/global-position-strategy.d.ts +0 -99
- package/overlay/position/overlay-position-builder.d.ts +0 -32
- package/overlay/position/position-strategy.d.ts +0 -19
- package/overlay/position/scroll-clip.d.ts +0 -26
- package/overlay/public-api.d.ts +0 -23
- package/overlay/scroll/block-scroll-strategy.d.ts +0 -27
- package/overlay/scroll/close-scroll-strategy.d.ts +0 -40
- package/overlay/scroll/index.d.ts +0 -14
- package/overlay/scroll/noop-scroll-strategy.d.ts +0 -17
- package/overlay/scroll/reposition-scroll-strategy.d.ts +0 -39
- package/overlay/scroll/scroll-strategy-options.d.ts +0 -44
- package/overlay/scroll/scroll-strategy.d.ts +0 -25
- package/platform/features/input-types.d.ts +0 -9
- package/platform/features/passive-listeners.d.ts +0 -19
- package/platform/features/scrolling.d.ts +0 -32
- package/platform/features/shadow-dom.d.ts +0 -18
- package/platform/features/test-environment.d.ts +0 -9
- package/platform/package.json +0 -9
- package/platform/platform-module.d.ts +0 -6
- package/platform/platform.d.ts +0 -29
- package/platform/platform_public_index.d.ts +0 -4
- package/platform/public-api.d.ts +0 -14
- package/portal/dom-portal-outlet.d.ts +0 -71
- package/portal/package.json +0 -9
- package/portal/portal-directives.d.ts +0 -99
- package/portal/portal-errors.d.ts +0 -37
- package/portal/portal-injector.d.ts +0 -21
- package/portal/portal.d.ts +0 -140
- package/portal/portal_public_index.d.ts +0 -4
- package/portal/public-api.d.ts +0 -11
- package/public-api.d.ts +0 -8
- package/scrolling/fixed-size-virtual-scroll.d.ts +0 -97
- package/scrolling/package.json +0 -9
- package/scrolling/public-api.d.ts +0 -16
- package/scrolling/scroll-dispatcher.d.ts +0 -71
- package/scrolling/scrollable.d.ts +0 -85
- package/scrolling/scrolling-module.d.ts +0 -19
- package/scrolling/scrolling_public_index.d.ts +0 -4
- package/scrolling/viewport-ruler.d.ts +0 -63
- package/scrolling/virtual-for-of.d.ts +0 -117
- package/scrolling/virtual-scroll-repeater.d.ts +0 -16
- package/scrolling/virtual-scroll-strategy.d.ts +0 -38
- package/scrolling/virtual-scroll-viewport.d.ts +0 -147
- package/stepper/package.json +0 -9
- package/stepper/public-api.d.ts +0 -12
- package/stepper/step-header.d.ts +0 -18
- package/stepper/step-label.d.ts +0 -15
- package/stepper/stepper-button.d.ts +0 -20
- package/stepper/stepper-module.d.ts +0 -11
- package/stepper/stepper.d.ts +0 -233
- package/stepper/stepper_public_index.d.ts +0 -4
- package/table/can-stick.d.ts +0 -34
- package/table/cell.d.ts +0 -126
- package/table/coalesced-style-scheduler.d.ts +0 -46
- package/table/package.json +0 -9
- package/table/public-api.d.ts +0 -19
- package/table/row.d.ts +0 -175
- package/table/sticky-position-listener.d.ts +0 -31
- package/table/sticky-styler.d.ts +0 -126
- package/table/table-errors.d.ts +0 -48
- package/table/table-module.d.ts +0 -11
- package/table/table.d.ts +0 -490
- package/table/table_public_index.d.ts +0 -4
- package/table/text-column.d.ts +0 -73
- package/table/tokens.d.ts +0 -25
- package/testing/change-detection.d.ts +0 -83
- package/testing/component-harness.d.ts +0 -426
- package/testing/element-dimensions.d.ts +0 -16
- package/testing/harness-environment.d.ts +0 -62
- package/testing/package.json +0 -9
- package/testing/public-api.d.ts +0 -14
- package/testing/selenium-webdriver/package.json +0 -9
- package/testing/selenium-webdriver/public-api.d.ts +0 -9
- package/testing/selenium-webdriver/selenium-web-driver-element.d.ts +0 -91
- package/testing/selenium-webdriver/selenium-web-driver-harness-environment.d.ts +0 -66
- package/testing/selenium-webdriver/selenium-webdriver-keys.d.ts +0 -46
- package/testing/test-element-errors.d.ts +0 -12
- package/testing/test-element.d.ts +0 -135
- package/testing/testbed/fake-events/dispatch-events.d.ts +0 -39
- package/testing/testbed/fake-events/element-focus.d.ts +0 -18
- package/testing/testbed/fake-events/event-objects.d.ts +0 -39
- package/testing/testbed/fake-events/index.d.ts +0 -11
- package/testing/testbed/fake-events/type-in-element.d.ts +0 -41
- package/testing/testbed/package.json +0 -9
- package/testing/testbed/proxy-zone-types.d.ts +0 -29
- package/testing/testbed/public-api.d.ts +0 -9
- package/testing/testbed/task-state-zone-interceptor.d.ts +0 -37
- package/testing/testbed/testbed-harness-environment.d.ts +0 -64
- package/testing/testbed/unit-test-element.d.ts +0 -98
- package/testing/testbed/zone-types.d.ts +0 -22
- package/testing/text-filtering.d.ts +0 -13
- package/text-field/autofill.d.ts +0 -66
- package/text-field/autosize.d.ts +0 -95
- package/text-field/package.json +0 -9
- package/text-field/public-api.d.ts +0 -10
- package/text-field/text-field-module.d.ts +0 -8
- package/text-field/text-field_public_index.d.ts +0 -4
- package/tree/control/base-tree-control.d.ts +0 -54
- package/tree/control/flat-tree-control.d.ts +0 -34
- package/tree/control/nested-tree-control.d.ts +0 -31
- package/tree/control/tree-control.d.ts +0 -49
- package/tree/nested-node.d.ts +0 -38
- package/tree/node.d.ts +0 -40
- package/tree/outlet.d.ts +0 -26
- package/tree/package.json +0 -9
- package/tree/padding.d.ts +0 -60
- package/tree/public-api.d.ts +0 -19
- package/tree/toggle.d.ts +0 -25
- package/tree/tree-errors.d.ts +0 -32
- package/tree/tree-module.d.ts +0 -12
- package/tree/tree.d.ts +0 -128
- package/tree/tree_public_index.d.ts +0 -4
- package/version.d.ts +0 -10
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Platform } from '@angular/cdk/platform';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/** A utility for calling matchMedia queries. */
|
|
4
|
-
export declare class MediaMatcher {
|
|
5
|
-
private _platform;
|
|
6
|
-
/** The internal matchMedia method to return back a MediaQueryList like object. */
|
|
7
|
-
private _matchMedia;
|
|
8
|
-
constructor(_platform: Platform);
|
|
9
|
-
/**
|
|
10
|
-
* Evaluates the given media query and returns the native MediaQueryList from which results
|
|
11
|
-
* can be retrieved.
|
|
12
|
-
* Confirms the layout engine will trigger for the selector query provided and returns the
|
|
13
|
-
* MediaQueryList for the query provided.
|
|
14
|
-
*/
|
|
15
|
-
matchMedia(query: string): MediaQueryList;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MediaMatcher, never>;
|
|
17
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MediaMatcher>;
|
|
18
|
-
}
|
package/layout/package.json
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@angular/cdk/layout",
|
|
3
|
-
"fesm2020": "../fesm2020/layout.mjs",
|
|
4
|
-
"fesm2015": "../fesm2015/layout.mjs",
|
|
5
|
-
"esm2020": "../esm2020/layout/layout_public_index.mjs",
|
|
6
|
-
"typings": "./layout_public_index.d.ts",
|
|
7
|
-
"module": "../fesm2015/layout.mjs",
|
|
8
|
-
"es2020": "../fesm2020/layout.mjs"
|
|
9
|
-
}
|
package/layout/public-api.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
export { LayoutModule } from './layout-module';
|
|
9
|
-
export { BreakpointObserver, BreakpointState } from './breakpoints-observer';
|
|
10
|
-
export { Breakpoints } from './breakpoints';
|
|
11
|
-
export { MediaMatcher } from './media-matcher';
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
import { Injector, OnDestroy, ViewContainerRef } from '@angular/core';
|
|
9
|
-
import { Directionality } from '@angular/cdk/bidi';
|
|
10
|
-
import { Overlay } from '@angular/cdk/overlay';
|
|
11
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
12
|
-
import { MenuStack } from './menu-stack';
|
|
13
|
-
import { CdkMenuTriggerBase } from './menu-trigger-base';
|
|
14
|
-
import * as i0 from "@angular/core";
|
|
15
|
-
/** Tracks the last open context menu trigger across the entire application. */
|
|
16
|
-
export declare class ContextMenuTracker {
|
|
17
|
-
/** The last open context menu trigger. */
|
|
18
|
-
private static _openContextMenuTrigger?;
|
|
19
|
-
/**
|
|
20
|
-
* Close the previous open context menu and set the given one as being open.
|
|
21
|
-
* @param trigger The trigger for the currently open Context Menu.
|
|
22
|
-
*/
|
|
23
|
-
update(trigger: CdkContextMenuTrigger): void;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuTracker, never>;
|
|
25
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ContextMenuTracker>;
|
|
26
|
-
}
|
|
27
|
-
/** The coordinates where the context menu should open. */
|
|
28
|
-
export declare type ContextMenuCoordinates = {
|
|
29
|
-
x: number;
|
|
30
|
-
y: number;
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* A directive that opens a menu when a user right-clicks within its host element.
|
|
34
|
-
* It is aware of nested context menus and will trigger only the lowest level non-disabled context menu.
|
|
35
|
-
*/
|
|
36
|
-
export declare class CdkContextMenuTrigger extends CdkMenuTriggerBase implements OnDestroy {
|
|
37
|
-
/** The CDK overlay service */
|
|
38
|
-
private readonly _overlay;
|
|
39
|
-
/** The app's context menu tracking registry */
|
|
40
|
-
private readonly _contextMenuTracker;
|
|
41
|
-
/** The directionality of the current page */
|
|
42
|
-
private readonly _directionality?;
|
|
43
|
-
/** Whether the context menu is disabled. */
|
|
44
|
-
get disabled(): boolean;
|
|
45
|
-
set disabled(value: BooleanInput);
|
|
46
|
-
private _disabled;
|
|
47
|
-
constructor(
|
|
48
|
-
/** The DI injector for this component */
|
|
49
|
-
injector: Injector,
|
|
50
|
-
/** The view container ref for this component */
|
|
51
|
-
viewContainerRef: ViewContainerRef,
|
|
52
|
-
/** The CDK overlay service */
|
|
53
|
-
_overlay: Overlay,
|
|
54
|
-
/** The app's context menu tracking registry */
|
|
55
|
-
_contextMenuTracker: ContextMenuTracker,
|
|
56
|
-
/** The menu stack this menu is part of. */
|
|
57
|
-
menuStack: MenuStack,
|
|
58
|
-
/** The directionality of the current page */
|
|
59
|
-
_directionality?: Directionality | undefined);
|
|
60
|
-
/**
|
|
61
|
-
* Open the attached menu at the specified location.
|
|
62
|
-
* @param coordinates where to open the context menu
|
|
63
|
-
*/
|
|
64
|
-
open(coordinates: ContextMenuCoordinates): void;
|
|
65
|
-
/** Close the currently opened context menu. */
|
|
66
|
-
close(): void;
|
|
67
|
-
/**
|
|
68
|
-
* Open the context menu and closes any previously open menus.
|
|
69
|
-
* @param event the mouse event which opens the context menu.
|
|
70
|
-
*/
|
|
71
|
-
_openOnContextMenu(event: MouseEvent): void;
|
|
72
|
-
/**
|
|
73
|
-
* Get the configuration object used to create the overlay.
|
|
74
|
-
* @param coordinates the location to place the opened menu
|
|
75
|
-
*/
|
|
76
|
-
private _getOverlayConfig;
|
|
77
|
-
/**
|
|
78
|
-
* Get the position strategy for the overlay which specifies where to place the menu.
|
|
79
|
-
* @param coordinates the location to place the opened menu
|
|
80
|
-
*/
|
|
81
|
-
private _getOverlayPositionStrategy;
|
|
82
|
-
/** Subscribe to the menu stack close events and close this menu when requested. */
|
|
83
|
-
private _setMenuStackCloseListener;
|
|
84
|
-
/**
|
|
85
|
-
* Subscribe to the overlays outside pointer events stream and handle closing out the stack if a
|
|
86
|
-
* click occurs outside the menus.
|
|
87
|
-
* @param ignoreFirstAuxClick Whether to ignore the first auxclick event outside the menu.
|
|
88
|
-
*/
|
|
89
|
-
private _subscribeToOutsideClicks;
|
|
90
|
-
/**
|
|
91
|
-
* Open the attached menu at the specified location.
|
|
92
|
-
* @param coordinates where to open the context menu
|
|
93
|
-
* @param ignoreFirstOutsideAuxClick Whether to ignore the first auxclick outside the menu after opening.
|
|
94
|
-
*/
|
|
95
|
-
private _open;
|
|
96
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkContextMenuTrigger, [null, null, null, null, null, { optional: true; }]>;
|
|
97
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkContextMenuTrigger, "[cdkContextMenuTriggerFor]", ["cdkContextMenuTriggerFor"], { "menuTemplateRef": "cdkContextMenuTriggerFor"; "menuPosition": "cdkContextMenuPosition"; "disabled": "cdkContextMenuDisabled"; }, { "opened": "cdkContextMenuOpened"; "closed": "cdkContextMenuClosed"; }, never, never, false>;
|
|
98
|
-
}
|
package/menu/menu-aim.d.ts
DELETED
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
import { NgZone, OnDestroy, InjectionToken } from '@angular/core';
|
|
9
|
-
import { PointerFocusTracker, FocusableElement } from './pointer-focus-tracker';
|
|
10
|
-
import { Menu } from './menu-interface';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
/**
|
|
13
|
-
* MenuAim is responsible for determining if a sibling menuitem's menu should be closed when a
|
|
14
|
-
* Toggler item is hovered into. It is up to the hovered in item to call the MenuAim service in
|
|
15
|
-
* order to determine if it may perform its close actions.
|
|
16
|
-
*/
|
|
17
|
-
export interface MenuAim {
|
|
18
|
-
/**
|
|
19
|
-
* Set the Menu and its PointerFocusTracker.
|
|
20
|
-
* @param menu The menu that this menu aim service controls.
|
|
21
|
-
* @param pointerTracker The `PointerFocusTracker` for the given menu.
|
|
22
|
-
*/
|
|
23
|
-
initialize(menu: Menu, pointerTracker: PointerFocusTracker<FocusableElement & Toggler>): void;
|
|
24
|
-
/**
|
|
25
|
-
* Calls the `doToggle` callback when it is deemed that the user is not moving towards
|
|
26
|
-
* the submenu.
|
|
27
|
-
* @param doToggle the function called when the user is not moving towards the submenu.
|
|
28
|
-
*/
|
|
29
|
-
toggle(doToggle: () => void): void;
|
|
30
|
-
}
|
|
31
|
-
/** Injection token used for an implementation of MenuAim. */
|
|
32
|
-
export declare const MENU_AIM: InjectionToken<MenuAim>;
|
|
33
|
-
/** An element which when hovered over may open or close a menu. */
|
|
34
|
-
export interface Toggler {
|
|
35
|
-
/** Gets the open menu, or undefined if no menu is open. */
|
|
36
|
-
getMenu(): Menu | undefined;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* TargetMenuAim predicts if a user is moving into a submenu. It calculates the
|
|
40
|
-
* trajectory of the user's mouse movement in the current menu to determine if the
|
|
41
|
-
* mouse is moving towards an open submenu.
|
|
42
|
-
*
|
|
43
|
-
* The determination is made by calculating the slope of the users last NUM_POINTS moves where each
|
|
44
|
-
* pair of points determines if the trajectory line points into the submenu. It uses consensus
|
|
45
|
-
* approach by checking if at least NUM_POINTS / 2 pairs determine that the user is moving towards
|
|
46
|
-
* to submenu.
|
|
47
|
-
*/
|
|
48
|
-
export declare class TargetMenuAim implements MenuAim, OnDestroy {
|
|
49
|
-
/** The Angular zone. */
|
|
50
|
-
private readonly _ngZone;
|
|
51
|
-
/** The last NUM_POINTS mouse move events. */
|
|
52
|
-
private readonly _points;
|
|
53
|
-
/** Reference to the root menu in which we are tracking mouse moves. */
|
|
54
|
-
private _menu;
|
|
55
|
-
/** Reference to the root menu's mouse manager. */
|
|
56
|
-
private _pointerTracker;
|
|
57
|
-
/** The id associated with the current timeout call waiting to resolve. */
|
|
58
|
-
private _timeoutId;
|
|
59
|
-
/** Emits when this service is destroyed. */
|
|
60
|
-
private readonly _destroyed;
|
|
61
|
-
constructor(
|
|
62
|
-
/** The Angular zone. */
|
|
63
|
-
_ngZone: NgZone);
|
|
64
|
-
ngOnDestroy(): void;
|
|
65
|
-
/**
|
|
66
|
-
* Set the Menu and its PointerFocusTracker.
|
|
67
|
-
* @param menu The menu that this menu aim service controls.
|
|
68
|
-
* @param pointerTracker The `PointerFocusTracker` for the given menu.
|
|
69
|
-
*/
|
|
70
|
-
initialize(menu: Menu, pointerTracker: PointerFocusTracker<FocusableElement & Toggler>): void;
|
|
71
|
-
/**
|
|
72
|
-
* Calls the `doToggle` callback when it is deemed that the user is not moving towards
|
|
73
|
-
* the submenu.
|
|
74
|
-
* @param doToggle the function called when the user is not moving towards the submenu.
|
|
75
|
-
*/
|
|
76
|
-
toggle(doToggle: () => void): void;
|
|
77
|
-
/**
|
|
78
|
-
* Start the delayed toggle handler if one isn't running already.
|
|
79
|
-
*
|
|
80
|
-
* The delayed toggle handler executes the `doToggle` callback after some period of time iff the
|
|
81
|
-
* users mouse is on an item in the current menu.
|
|
82
|
-
*
|
|
83
|
-
* @param doToggle the function called when the user is not moving towards the submenu.
|
|
84
|
-
*/
|
|
85
|
-
private _startTimeout;
|
|
86
|
-
/** Whether the user is heading towards the open submenu. */
|
|
87
|
-
private _isMovingToSubmenu;
|
|
88
|
-
/** Get the bounding DOMRect for the open submenu. */
|
|
89
|
-
private _getSubmenuBounds;
|
|
90
|
-
/**
|
|
91
|
-
* Check if a reference to the PointerFocusTracker and menu element is provided.
|
|
92
|
-
* @throws an error if neither reference is provided.
|
|
93
|
-
*/
|
|
94
|
-
private _checkConfigured;
|
|
95
|
-
/** Subscribe to the root menus mouse move events and update the tracked mouse points. */
|
|
96
|
-
private _subscribeToMouseMoves;
|
|
97
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TargetMenuAim, never>;
|
|
98
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TargetMenuAim>;
|
|
99
|
-
}
|
|
100
|
-
/**
|
|
101
|
-
* CdkTargetMenuAim is a provider for the TargetMenuAim service. It can be added to an
|
|
102
|
-
* element with either the `cdkMenu` or `cdkMenuBar` directive and child menu items.
|
|
103
|
-
*/
|
|
104
|
-
export declare class CdkTargetMenuAim {
|
|
105
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkTargetMenuAim, never>;
|
|
106
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkTargetMenuAim, "[cdkTargetMenuAim]", ["cdkTargetMenuAim"], {}, {}, never, never, false>;
|
|
107
|
-
}
|
package/menu/menu-bar.d.ts
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
import { AfterContentInit, ElementRef, NgZone } from '@angular/core';
|
|
9
|
-
import { Directionality } from '@angular/cdk/bidi';
|
|
10
|
-
import { MenuStack } from './menu-stack';
|
|
11
|
-
import { MenuAim } from './menu-aim';
|
|
12
|
-
import { CdkMenuBase } from './menu-base';
|
|
13
|
-
import * as i0 from "@angular/core";
|
|
14
|
-
/**
|
|
15
|
-
* Directive applied to an element which configures it as a MenuBar by setting the appropriate
|
|
16
|
-
* role, aria attributes, and accessible keyboard and mouse handling logic. The component that
|
|
17
|
-
* this directive is applied to should contain components marked with CdkMenuItem.
|
|
18
|
-
*
|
|
19
|
-
*/
|
|
20
|
-
export declare class CdkMenuBar extends CdkMenuBase implements AfterContentInit {
|
|
21
|
-
/** The direction items in the menu flow. */
|
|
22
|
-
readonly orientation = "horizontal";
|
|
23
|
-
/** Whether the menu is displayed inline (i.e. always present vs a conditional popup that the user triggers with a trigger element). */
|
|
24
|
-
readonly isInline = true;
|
|
25
|
-
constructor(
|
|
26
|
-
/** The host element. */
|
|
27
|
-
elementRef: ElementRef<HTMLElement>,
|
|
28
|
-
/** The Angular zone. */
|
|
29
|
-
ngZone: NgZone,
|
|
30
|
-
/** The menu stack this menu is part of. */
|
|
31
|
-
menuStack: MenuStack,
|
|
32
|
-
/** The menu aim service used by this menu. */
|
|
33
|
-
menuAim?: MenuAim,
|
|
34
|
-
/** The directionality of the page. */
|
|
35
|
-
dir?: Directionality);
|
|
36
|
-
ngAfterContentInit(): void;
|
|
37
|
-
/**
|
|
38
|
-
* Handle keyboard events for the Menu.
|
|
39
|
-
* @param event The keyboard event to be handled.
|
|
40
|
-
*/
|
|
41
|
-
_handleKeyEvent(event: KeyboardEvent): void;
|
|
42
|
-
/**
|
|
43
|
-
* Set focus to either the current, previous or next item based on the FocusNext event, then
|
|
44
|
-
* open the previous or next item.
|
|
45
|
-
* @param focusNext The element to focus.
|
|
46
|
-
*/
|
|
47
|
-
private _toggleOpenMenu;
|
|
48
|
-
/** Subscribe to the MenuStack emptied events. */
|
|
49
|
-
private _subscribeToMenuStackEmptied;
|
|
50
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkMenuBar, [null, null, null, { optional: true; self: true; }, { optional: true; }]>;
|
|
51
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkMenuBar, "[cdkMenuBar]", ["cdkMenuBar"], {}, {}, never, never, false>;
|
|
52
|
-
}
|
package/menu/menu-base.d.ts
DELETED
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
import { CdkMenuGroup } from './menu-group';
|
|
9
|
-
import { AfterContentInit, ElementRef, NgZone, OnDestroy, QueryList } from '@angular/core';
|
|
10
|
-
import { FocusKeyManager, FocusOrigin } from '@angular/cdk/a11y';
|
|
11
|
-
import { CdkMenuItem } from './menu-item';
|
|
12
|
-
import { Subject } from 'rxjs';
|
|
13
|
-
import { Directionality } from '@angular/cdk/bidi';
|
|
14
|
-
import { MenuStack, MenuStackItem } from './menu-stack';
|
|
15
|
-
import { Menu } from './menu-interface';
|
|
16
|
-
import { PointerFocusTracker } from './pointer-focus-tracker';
|
|
17
|
-
import { MenuAim } from './menu-aim';
|
|
18
|
-
import * as i0 from "@angular/core";
|
|
19
|
-
/**
|
|
20
|
-
* Abstract directive that implements shared logic common to all menus.
|
|
21
|
-
* This class can be extended to create custom menu types.
|
|
22
|
-
*/
|
|
23
|
-
export declare abstract class CdkMenuBase extends CdkMenuGroup implements Menu, AfterContentInit, OnDestroy {
|
|
24
|
-
/** The Angular zone. */
|
|
25
|
-
protected ngZone: NgZone;
|
|
26
|
-
/** The stack of menus this menu belongs to. */
|
|
27
|
-
readonly menuStack: MenuStack;
|
|
28
|
-
/** The menu aim service used by this menu. */
|
|
29
|
-
protected readonly menuAim?: MenuAim | undefined;
|
|
30
|
-
/** The directionality of the current page. */
|
|
31
|
-
protected readonly dir?: Directionality | undefined;
|
|
32
|
-
/** The id of the menu's host element. */
|
|
33
|
-
id: string;
|
|
34
|
-
/** All child MenuItem elements nested in this Menu. */
|
|
35
|
-
readonly items: QueryList<CdkMenuItem>;
|
|
36
|
-
/** The direction items in the menu flow. */
|
|
37
|
-
orientation: 'horizontal' | 'vertical';
|
|
38
|
-
/** Whether the menu is displayed inline (i.e. always present vs a conditional popup that the user triggers with a trigger element). */
|
|
39
|
-
isInline: boolean;
|
|
40
|
-
/** The menu's native DOM host element. */
|
|
41
|
-
readonly nativeElement: HTMLElement;
|
|
42
|
-
/** Handles keyboard events for the menu. */
|
|
43
|
-
protected keyManager: FocusKeyManager<CdkMenuItem>;
|
|
44
|
-
/** Emits when the MenuBar is destroyed. */
|
|
45
|
-
protected readonly destroyed: Subject<void>;
|
|
46
|
-
/** The Menu Item which triggered the open submenu. */
|
|
47
|
-
protected triggerItem?: CdkMenuItem;
|
|
48
|
-
/** Tracks the users mouse movements over the menu. */
|
|
49
|
-
protected pointerTracker?: PointerFocusTracker<CdkMenuItem>;
|
|
50
|
-
/** Whether this menu's menu stack has focus. */
|
|
51
|
-
private _menuStackHasFocus;
|
|
52
|
-
protected constructor(
|
|
53
|
-
/** The host element. */
|
|
54
|
-
elementRef: ElementRef<HTMLElement>,
|
|
55
|
-
/** The Angular zone. */
|
|
56
|
-
ngZone: NgZone,
|
|
57
|
-
/** The stack of menus this menu belongs to. */
|
|
58
|
-
menuStack: MenuStack,
|
|
59
|
-
/** The menu aim service used by this menu. */
|
|
60
|
-
menuAim?: MenuAim | undefined,
|
|
61
|
-
/** The directionality of the current page. */
|
|
62
|
-
dir?: Directionality | undefined);
|
|
63
|
-
ngAfterContentInit(): void;
|
|
64
|
-
ngOnDestroy(): void;
|
|
65
|
-
/**
|
|
66
|
-
* Place focus on the first MenuItem in the menu and set the focus origin.
|
|
67
|
-
* @param focusOrigin The origin input mode of the focus event.
|
|
68
|
-
*/
|
|
69
|
-
focusFirstItem(focusOrigin?: FocusOrigin): void;
|
|
70
|
-
/**
|
|
71
|
-
* Place focus on the last MenuItem in the menu and set the focus origin.
|
|
72
|
-
* @param focusOrigin The origin input mode of the focus event.
|
|
73
|
-
*/
|
|
74
|
-
focusLastItem(focusOrigin?: FocusOrigin): void;
|
|
75
|
-
/** Gets the tabindex for this menu. */
|
|
76
|
-
_getTabIndex(): 0 | -1 | null;
|
|
77
|
-
/**
|
|
78
|
-
* Close the open menu if the current active item opened the requested MenuStackItem.
|
|
79
|
-
* @param menu The menu requested to be closed.
|
|
80
|
-
* @param options Options to configure the behavior on close.
|
|
81
|
-
* - `focusParentTrigger` Whether to focus the parent trigger after closing the menu.
|
|
82
|
-
*/
|
|
83
|
-
protected closeOpenMenu(menu: MenuStackItem, options?: {
|
|
84
|
-
focusParentTrigger?: boolean;
|
|
85
|
-
}): void;
|
|
86
|
-
/** Setup the FocusKeyManager with the correct orientation for the menu. */
|
|
87
|
-
private _setKeyManager;
|
|
88
|
-
/**
|
|
89
|
-
* Subscribe to the menu trigger's open events in order to track the trigger which opened the menu
|
|
90
|
-
* and stop tracking it when the menu is closed.
|
|
91
|
-
*/
|
|
92
|
-
private _subscribeToMenuOpen;
|
|
93
|
-
/** Subscribe to the MenuStack close events. */
|
|
94
|
-
private _subscribeToMenuStackClosed;
|
|
95
|
-
/** Subscribe to the MenuStack hasFocus events. */
|
|
96
|
-
private _subscribeToMenuStackHasFocus;
|
|
97
|
-
/**
|
|
98
|
-
* Set the PointerFocusTracker and ensure that when mouse focus changes the key manager is updated
|
|
99
|
-
* with the latest menu item under mouse focus.
|
|
100
|
-
*/
|
|
101
|
-
private _setUpPointerTracker;
|
|
102
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkMenuBase, [null, null, null, { optional: true; self: true; }, { optional: true; }]>;
|
|
103
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkMenuBase, never, never, { "id": "id"; }, {}, ["items"], never, false>;
|
|
104
|
-
}
|
package/menu/menu-errors.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
/**
|
|
9
|
-
* Throws an exception when an instance of the PointerFocusTracker is not provided.
|
|
10
|
-
* @docs-private
|
|
11
|
-
*/
|
|
12
|
-
export declare function throwMissingPointerFocusTracker(): void;
|
|
13
|
-
/**
|
|
14
|
-
* Throws an exception when a reference to the parent menu is not provided.
|
|
15
|
-
* @docs-private
|
|
16
|
-
*/
|
|
17
|
-
export declare function throwMissingMenuReference(): void;
|
package/menu/menu-group.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* A grouping container for `CdkMenuItemRadio` instances, similar to a `role="radiogroup"` element.
|
|
4
|
-
*/
|
|
5
|
-
export declare class CdkMenuGroup {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkMenuGroup, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkMenuGroup, "[cdkMenuGroup]", ["cdkMenuGroup"], {}, {}, never, never, false>;
|
|
8
|
-
}
|
package/menu/menu-interface.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
import { InjectionToken } from '@angular/core';
|
|
9
|
-
import { MenuStackItem } from './menu-stack';
|
|
10
|
-
import { FocusOrigin } from '@angular/cdk/a11y';
|
|
11
|
-
/** Injection token used to return classes implementing the Menu interface */
|
|
12
|
-
export declare const CDK_MENU: InjectionToken<Menu>;
|
|
13
|
-
/** Interface which specifies Menu operations and used to break circular dependency issues */
|
|
14
|
-
export interface Menu extends MenuStackItem {
|
|
15
|
-
/** The id of the menu's host element. */
|
|
16
|
-
id: string;
|
|
17
|
-
/** The menu's native DOM host element. */
|
|
18
|
-
nativeElement: HTMLElement;
|
|
19
|
-
/** The direction items in the menu flow. */
|
|
20
|
-
readonly orientation: 'horizontal' | 'vertical';
|
|
21
|
-
/** Place focus on the first MenuItem in the menu. */
|
|
22
|
-
focusFirstItem(focusOrigin: FocusOrigin): void;
|
|
23
|
-
/** Place focus on the last MenuItem in the menu. */
|
|
24
|
-
focusLastItem(focusOrigin: FocusOrigin): void;
|
|
25
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { CdkMenuItemSelectable } from './menu-item-selectable';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* A directive providing behavior for the "menuitemcheckbox" ARIA role, which behaves similarly to a
|
|
5
|
-
* conventional checkbox.
|
|
6
|
-
*/
|
|
7
|
-
export declare class CdkMenuItemCheckbox extends CdkMenuItemSelectable {
|
|
8
|
-
/**
|
|
9
|
-
* Toggle the checked state of the checkbox.
|
|
10
|
-
* @param options Options the configure how the item is triggered
|
|
11
|
-
* - keepOpen: specifies that the menu should be kept open after triggering the item.
|
|
12
|
-
*/
|
|
13
|
-
trigger(options?: {
|
|
14
|
-
keepOpen: boolean;
|
|
15
|
-
}): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkMenuItemCheckbox, never>;
|
|
17
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkMenuItemCheckbox, "[cdkMenuItemCheckbox]", ["cdkMenuItemCheckbox"], {}, {}, never, never, false>;
|
|
18
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
import { UniqueSelectionDispatcher } from '@angular/cdk/collections';
|
|
9
|
-
import { ElementRef, NgZone, OnDestroy } from '@angular/core';
|
|
10
|
-
import { Directionality } from '@angular/cdk/bidi';
|
|
11
|
-
import { CdkMenuItemSelectable } from './menu-item-selectable';
|
|
12
|
-
import { CdkMenuTrigger } from './menu-trigger';
|
|
13
|
-
import { Menu } from './menu-interface';
|
|
14
|
-
import { MenuAim } from './menu-aim';
|
|
15
|
-
import { MenuStack } from './menu-stack';
|
|
16
|
-
import * as i0 from "@angular/core";
|
|
17
|
-
/**
|
|
18
|
-
* A directive providing behavior for the "menuitemradio" ARIA role, which behaves similarly to
|
|
19
|
-
* a conventional radio-button. Any sibling `CdkMenuItemRadio` instances within the same `CdkMenu`
|
|
20
|
-
* or `CdkMenuGroup` comprise a radio group with unique selection enforced.
|
|
21
|
-
*/
|
|
22
|
-
export declare class CdkMenuItemRadio extends CdkMenuItemSelectable implements OnDestroy {
|
|
23
|
-
/** The unique selection dispatcher for this radio's `CdkMenuGroup`. */
|
|
24
|
-
private readonly _selectionDispatcher;
|
|
25
|
-
/** An ID to identify this radio item to the `UniqueSelectionDisptcher`. */
|
|
26
|
-
private _id;
|
|
27
|
-
/** Function to unregister the selection dispatcher */
|
|
28
|
-
private _removeDispatcherListener;
|
|
29
|
-
constructor(
|
|
30
|
-
/** The host element for this radio item. */
|
|
31
|
-
element: ElementRef<HTMLElement>,
|
|
32
|
-
/** The Angular zone. */
|
|
33
|
-
ngZone: NgZone,
|
|
34
|
-
/** The unique selection dispatcher for this radio's `CdkMenuGroup`. */
|
|
35
|
-
_selectionDispatcher: UniqueSelectionDispatcher,
|
|
36
|
-
/** The menu stack this item belongs to. */
|
|
37
|
-
menuStack: MenuStack,
|
|
38
|
-
/** The parent menu for this item. */
|
|
39
|
-
parentMenu?: Menu,
|
|
40
|
-
/** The menu aim used for this item. */
|
|
41
|
-
menuAim?: MenuAim,
|
|
42
|
-
/** The directionality of the page. */
|
|
43
|
-
dir?: Directionality,
|
|
44
|
-
/** Reference to the CdkMenuItemTrigger directive if one is added to the same element */
|
|
45
|
-
menuTrigger?: CdkMenuTrigger);
|
|
46
|
-
ngOnDestroy(): void;
|
|
47
|
-
/**
|
|
48
|
-
* Toggles the checked state of the radio-button.
|
|
49
|
-
* @param options Options the configure how the item is triggered
|
|
50
|
-
* - keepOpen: specifies that the menu should be kept open after triggering the item.
|
|
51
|
-
*/
|
|
52
|
-
trigger(options?: {
|
|
53
|
-
keepOpen: boolean;
|
|
54
|
-
}): void;
|
|
55
|
-
/** Configure the unique selection dispatcher listener in order to toggle the checked state */
|
|
56
|
-
private _registerDispatcherListener;
|
|
57
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkMenuItemRadio, [null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; self: true; }]>;
|
|
58
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkMenuItemRadio, "[cdkMenuItemRadio]", ["cdkMenuItemRadio"], {}, {}, never, never, false>;
|
|
59
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
9
|
-
import { CdkMenuItem } from './menu-item';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
/** Base class providing checked state for selectable MenuItems. */
|
|
12
|
-
export declare abstract class CdkMenuItemSelectable extends CdkMenuItem {
|
|
13
|
-
/** Whether the element is checked */
|
|
14
|
-
get checked(): boolean;
|
|
15
|
-
set checked(value: BooleanInput);
|
|
16
|
-
private _checked;
|
|
17
|
-
/** Whether the item should close the menu if triggered by the spacebar. */
|
|
18
|
-
protected closeOnSpacebarTrigger: boolean;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkMenuItemSelectable, never>;
|
|
20
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkMenuItemSelectable, never, never, { "checked": "cdkMenuItemChecked"; }, {}, never, never, false>;
|
|
21
|
-
}
|