@angular/cdk 14.0.0-next.10 → 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 +410 -0
- package/drag-drop/index.d.ts +1456 -5
- package/esm2020/a11y/a11y-module.mjs +5 -5
- package/esm2020/a11y/aria-describer/aria-describer.mjs +4 -4
- package/esm2020/a11y/focus-monitor/focus-monitor.mjs +7 -7
- package/esm2020/a11y/focus-trap/configurable-focus-trap-factory.mjs +4 -4
- package/esm2020/a11y/focus-trap/focus-trap-manager.mjs +4 -4
- package/esm2020/a11y/focus-trap/focus-trap.mjs +7 -7
- package/esm2020/a11y/high-contrast-mode/high-contrast-mode-detector.mjs +4 -4
- package/esm2020/a11y/input-modality/input-modality-detector.mjs +4 -4
- package/esm2020/a11y/interactivity-checker/interactivity-checker.mjs +4 -4
- package/esm2020/a11y/live-announcer/live-announcer.mjs +7 -7
- package/esm2020/accordion/accordion-item.mjs +4 -4
- package/esm2020/accordion/accordion-module.mjs +5 -5
- package/esm2020/accordion/accordion.mjs +4 -4
- package/esm2020/bidi/bidi-module.mjs +5 -5
- package/esm2020/bidi/dir.mjs +4 -4
- package/esm2020/bidi/directionality.mjs +4 -4
- package/esm2020/clipboard/clipboard-module.mjs +5 -5
- package/esm2020/clipboard/clipboard.mjs +4 -4
- package/esm2020/clipboard/copy-to-clipboard.mjs +4 -4
- package/esm2020/collections/unique-selection-dispatcher.mjs +4 -4
- package/esm2020/dialog/dialog-config.mjs +63 -0
- package/esm2020/dialog/dialog-container.mjs +278 -0
- package/esm2020/dialog/dialog-injectors.mjs +26 -0
- package/esm2020/dialog/dialog-module.mjs +42 -0
- package/esm2020/dialog/dialog-ref.mjs +76 -0
- package/esm2020/dialog/dialog.mjs +298 -0
- package/esm2020/dialog/dialog_public_index.mjs +5 -0
- package/esm2020/dialog/index.mjs +9 -0
- package/esm2020/dialog/public-api.mjs +14 -0
- package/esm2020/drag-drop/directives/drag-handle.mjs +4 -4
- package/esm2020/drag-drop/directives/drag-placeholder.mjs +4 -4
- package/esm2020/drag-drop/directives/drag-preview.mjs +4 -4
- package/esm2020/drag-drop/directives/drag.mjs +11 -4
- package/esm2020/drag-drop/directives/drop-list-group.mjs +4 -4
- package/esm2020/drag-drop/directives/drop-list.mjs +4 -4
- package/esm2020/drag-drop/drag-drop-module.mjs +5 -5
- package/esm2020/drag-drop/drag-drop-registry.mjs +4 -4
- package/esm2020/drag-drop/drag-drop.mjs +4 -4
- package/esm2020/layout/breakpoints-observer.mjs +4 -4
- package/esm2020/layout/layout-module.mjs +5 -5
- package/esm2020/layout/media-matcher.mjs +4 -4
- package/esm2020/menu/context-menu-trigger.mjs +229 -0
- package/esm2020/menu/index.mjs +9 -0
- package/esm2020/menu/menu-aim.mjs +204 -0
- package/esm2020/menu/menu-bar.mjs +159 -0
- package/esm2020/menu/menu-base.mjs +203 -0
- package/esm2020/menu/menu-errors.mjs +22 -0
- package/esm2020/menu/menu-group.mjs +30 -0
- package/esm2020/menu/menu-interface.mjs +11 -0
- package/esm2020/menu/menu-item-checkbox.mjs +48 -0
- package/esm2020/menu/menu-item-radio.mjs +114 -0
- package/esm2020/menu/menu-item-selectable.mjs +42 -0
- package/esm2020/menu/menu-item.mjs +289 -0
- package/esm2020/menu/menu-module.mjs +62 -0
- package/esm2020/menu/menu-stack.mjs +156 -0
- package/esm2020/menu/menu-trigger-base.mjs +114 -0
- package/esm2020/menu/menu-trigger.mjs +304 -0
- package/esm2020/menu/menu.mjs +168 -0
- package/esm2020/menu/menu_public_index.mjs +5 -0
- package/esm2020/menu/pointer-focus-tracker.mjs +51 -0
- package/esm2020/menu/public-api.mjs +24 -0
- package/esm2020/observers/observe-content.mjs +14 -14
- package/esm2020/overlay/dispatchers/base-overlay-dispatcher.mjs +4 -4
- package/esm2020/overlay/dispatchers/overlay-keyboard-dispatcher.mjs +4 -4
- package/esm2020/overlay/dispatchers/overlay-outside-click-dispatcher.mjs +4 -4
- package/esm2020/overlay/fullscreen-overlay-container.mjs +4 -4
- package/esm2020/overlay/overlay-container.mjs +4 -4
- package/esm2020/overlay/overlay-directives.mjs +7 -7
- package/esm2020/overlay/overlay-module.mjs +5 -5
- package/esm2020/overlay/overlay-ref.mjs +4 -3
- package/esm2020/overlay/overlay.mjs +4 -4
- package/esm2020/overlay/position/overlay-position-builder.mjs +4 -4
- package/esm2020/overlay/scroll/scroll-strategy-options.mjs +4 -4
- package/esm2020/platform/platform-module.mjs +5 -5
- package/esm2020/platform/platform.mjs +4 -4
- package/esm2020/portal/dom-portal-outlet.mjs +6 -2
- package/esm2020/portal/portal-directives.mjs +17 -17
- package/esm2020/scrolling/fixed-size-virtual-scroll.mjs +4 -4
- package/esm2020/scrolling/scroll-dispatcher.mjs +4 -4
- package/esm2020/scrolling/scrollable.mjs +4 -4
- package/esm2020/scrolling/scrolling-module.mjs +9 -9
- package/esm2020/scrolling/viewport-ruler.mjs +4 -4
- package/esm2020/scrolling/virtual-for-of.mjs +4 -4
- package/esm2020/scrolling/virtual-scroll-viewport.mjs +4 -4
- package/esm2020/stepper/step-header.mjs +4 -4
- package/esm2020/stepper/step-label.mjs +4 -4
- package/esm2020/stepper/stepper-button.mjs +7 -7
- package/esm2020/stepper/stepper-module.mjs +5 -5
- package/esm2020/stepper/stepper.mjs +7 -7
- package/esm2020/table/cell.mjs +22 -22
- package/esm2020/table/coalesced-style-scheduler.mjs +4 -4
- package/esm2020/table/row.mjs +28 -28
- package/esm2020/table/table-module.mjs +5 -5
- package/esm2020/table/table.mjs +20 -20
- package/esm2020/table/text-column.mjs +5 -5
- 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 +7 -7
- package/esm2020/text-field/autosize.mjs +4 -4
- package/esm2020/text-field/text-field-module.mjs +5 -5
- package/esm2020/tree/nested-node.mjs +4 -4
- package/esm2020/tree/node.mjs +4 -4
- package/esm2020/tree/outlet.mjs +4 -4
- package/esm2020/tree/padding.mjs +4 -4
- package/esm2020/tree/toggle.mjs +4 -4
- package/esm2020/tree/tree-module.mjs +5 -5
- package/esm2020/tree/tree.mjs +7 -7
- 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/accordion.mjs.map +1 -1
- package/fesm2015/bidi.mjs +10 -10
- package/fesm2015/bidi.mjs.map +1 -1
- package/fesm2015/cdk.mjs +1 -1
- package/fesm2015/cdk.mjs.map +1 -1
- package/fesm2015/clipboard.mjs +10 -10
- package/fesm2015/clipboard.mjs.map +1 -1
- package/fesm2015/collections.mjs +3 -3
- package/fesm2015/collections.mjs.map +1 -1
- package/fesm2015/dialog.mjs +780 -0
- package/fesm2015/dialog.mjs.map +1 -0
- package/fesm2015/drag-drop.mjs +35 -28
- package/fesm2015/drag-drop.mjs.map +1 -1
- package/fesm2015/layout.mjs +10 -10
- package/fesm2015/layout.mjs.map +1 -1
- package/fesm2015/menu.mjs +2135 -0
- package/fesm2015/menu.mjs.map +1 -0
- package/fesm2015/observers.mjs +13 -13
- package/fesm2015/observers.mjs.map +1 -1
- package/fesm2015/overlay.mjs +37 -36
- package/fesm2015/overlay.mjs.map +1 -1
- package/fesm2015/platform.mjs +7 -7
- package/fesm2015/platform.mjs.map +1 -1
- package/fesm2015/portal.mjs +21 -17
- package/fesm2015/portal.mjs.map +1 -1
- 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 +78 -78
- 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/text-field.mjs.map +1 -1
- package/fesm2015/tree.mjs +25 -25
- package/fesm2015/tree.mjs.map +1 -1
- package/fesm2020/a11y.mjs +40 -40
- package/fesm2020/a11y.mjs.map +1 -1
- package/fesm2020/accordion.mjs +10 -10
- package/fesm2020/accordion.mjs.map +1 -1
- package/fesm2020/bidi.mjs +10 -10
- package/fesm2020/bidi.mjs.map +1 -1
- package/fesm2020/cdk.mjs +1 -1
- package/fesm2020/cdk.mjs.map +1 -1
- package/fesm2020/clipboard.mjs +10 -10
- package/fesm2020/clipboard.mjs.map +1 -1
- package/fesm2020/collections.mjs +3 -3
- package/fesm2020/collections.mjs.map +1 -1
- package/fesm2020/dialog.mjs +784 -0
- package/fesm2020/dialog.mjs.map +1 -0
- package/fesm2020/drag-drop.mjs +35 -28
- package/fesm2020/drag-drop.mjs.map +1 -1
- package/fesm2020/layout.mjs +10 -10
- package/fesm2020/layout.mjs.map +1 -1
- package/fesm2020/menu.mjs +2108 -0
- package/fesm2020/menu.mjs.map +1 -0
- package/fesm2020/observers.mjs +13 -13
- package/fesm2020/observers.mjs.map +1 -1
- package/fesm2020/overlay.mjs +37 -36
- package/fesm2020/overlay.mjs.map +1 -1
- package/fesm2020/platform.mjs +7 -7
- package/fesm2020/platform.mjs.map +1 -1
- package/fesm2020/portal.mjs +21 -17
- package/fesm2020/portal.mjs.map +1 -1
- 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 +78 -78
- 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/text-field.mjs.map +1 -1
- package/fesm2020/tree.mjs +25 -25
- package/fesm2020/tree.mjs.map +1 -1
- 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 +992 -0
- package/observers/index.d.ts +89 -6
- package/overlay/index.d.ts +1202 -5
- package/package.json +34 -18
- 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/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 -160
- 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/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 -494
- 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
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,87 +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, NumberInput } from '@angular/cdk/coercion';
|
|
9
|
-
import { AfterContentInit, ElementRef, EventEmitter, NgZone, OnDestroy } from '@angular/core';
|
|
10
|
-
import { Observable } from 'rxjs';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
/**
|
|
13
|
-
* Factory that creates a new MutationObserver and allows us to stub it out in unit tests.
|
|
14
|
-
* @docs-private
|
|
15
|
-
*/
|
|
16
|
-
export declare class MutationObserverFactory {
|
|
17
|
-
create(callback: MutationCallback): MutationObserver | null;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MutationObserverFactory, never>;
|
|
19
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MutationObserverFactory>;
|
|
20
|
-
}
|
|
21
|
-
/** An injectable service that allows watching elements for changes to their content. */
|
|
22
|
-
export declare class ContentObserver implements OnDestroy {
|
|
23
|
-
private _mutationObserverFactory;
|
|
24
|
-
/** Keeps track of the existing MutationObservers so they can be reused. */
|
|
25
|
-
private _observedElements;
|
|
26
|
-
constructor(_mutationObserverFactory: MutationObserverFactory);
|
|
27
|
-
ngOnDestroy(): void;
|
|
28
|
-
/**
|
|
29
|
-
* Observe content changes on an element.
|
|
30
|
-
* @param element The element to observe for content changes.
|
|
31
|
-
*/
|
|
32
|
-
observe(element: Element): Observable<MutationRecord[]>;
|
|
33
|
-
/**
|
|
34
|
-
* Observe content changes on an element.
|
|
35
|
-
* @param element The element to observe for content changes.
|
|
36
|
-
*/
|
|
37
|
-
observe(element: ElementRef<Element>): Observable<MutationRecord[]>;
|
|
38
|
-
/**
|
|
39
|
-
* Observes the given element by using the existing MutationObserver if available, or creating a
|
|
40
|
-
* new one if not.
|
|
41
|
-
*/
|
|
42
|
-
private _observeElement;
|
|
43
|
-
/**
|
|
44
|
-
* Un-observes the given element and cleans up the underlying MutationObserver if nobody else is
|
|
45
|
-
* observing this element.
|
|
46
|
-
*/
|
|
47
|
-
private _unobserveElement;
|
|
48
|
-
/** Clean up the underlying MutationObserver for the specified element. */
|
|
49
|
-
private _cleanupObserver;
|
|
50
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ContentObserver, never>;
|
|
51
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ContentObserver>;
|
|
52
|
-
}
|
|
53
|
-
/**
|
|
54
|
-
* Directive that triggers a callback whenever the content of
|
|
55
|
-
* its associated element has changed.
|
|
56
|
-
*/
|
|
57
|
-
export declare class CdkObserveContent implements AfterContentInit, OnDestroy {
|
|
58
|
-
private _contentObserver;
|
|
59
|
-
private _elementRef;
|
|
60
|
-
private _ngZone;
|
|
61
|
-
/** Event emitted for each change in the element's content. */
|
|
62
|
-
readonly event: EventEmitter<MutationRecord[]>;
|
|
63
|
-
/**
|
|
64
|
-
* Whether observing content is disabled. This option can be used
|
|
65
|
-
* to disconnect the underlying MutationObserver until it is needed.
|
|
66
|
-
*/
|
|
67
|
-
get disabled(): boolean;
|
|
68
|
-
set disabled(value: BooleanInput);
|
|
69
|
-
private _disabled;
|
|
70
|
-
/** Debounce interval for emitting the changes. */
|
|
71
|
-
get debounce(): number;
|
|
72
|
-
set debounce(value: NumberInput);
|
|
73
|
-
private _debounce;
|
|
74
|
-
private _currentSubscription;
|
|
75
|
-
constructor(_contentObserver: ContentObserver, _elementRef: ElementRef<HTMLElement>, _ngZone: NgZone);
|
|
76
|
-
ngAfterContentInit(): void;
|
|
77
|
-
ngOnDestroy(): void;
|
|
78
|
-
private _subscribe;
|
|
79
|
-
private _unsubscribe;
|
|
80
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkObserveContent, never>;
|
|
81
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkObserveContent, "[cdkObserveContent]", ["cdkObserveContent"], { "disabled": "cdkObserveContentDisabled"; "debounce": "debounce"; }, { "event": "cdkObserveContent"; }, never>;
|
|
82
|
-
}
|
|
83
|
-
export declare class ObserversModule {
|
|
84
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ObserversModule, never>;
|
|
85
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ObserversModule, [typeof CdkObserveContent], never, [typeof CdkObserveContent]>;
|
|
86
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ObserversModule>;
|
|
87
|
-
}
|
package/observers/package.json
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@angular/cdk/observers",
|
|
3
|
-
"fesm2020": "../fesm2020/observers.mjs",
|
|
4
|
-
"fesm2015": "../fesm2015/observers.mjs",
|
|
5
|
-
"esm2020": "../esm2020/observers/observers_public_index.mjs",
|
|
6
|
-
"typings": "./observers_public_index.d.ts",
|
|
7
|
-
"module": "../fesm2015/observers.mjs",
|
|
8
|
-
"es2020": "../fesm2020/observers.mjs"
|
|
9
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { OverlayReference } from '../overlay-reference';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Service for dispatching events that land on the body to appropriate overlay ref,
|
|
6
|
-
* if any. It maintains a list of attached overlays to determine best suited overlay based
|
|
7
|
-
* on event target and order of overlay opens.
|
|
8
|
-
*/
|
|
9
|
-
export declare abstract class BaseOverlayDispatcher implements OnDestroy {
|
|
10
|
-
/** Currently attached overlays in the order they were attached. */
|
|
11
|
-
_attachedOverlays: OverlayReference[];
|
|
12
|
-
protected _document: Document;
|
|
13
|
-
protected _isAttached: boolean;
|
|
14
|
-
constructor(document: any);
|
|
15
|
-
ngOnDestroy(): void;
|
|
16
|
-
/** Add a new overlay to the list of attached overlay refs. */
|
|
17
|
-
add(overlayRef: OverlayReference): void;
|
|
18
|
-
/** Remove an overlay from the list of attached overlay refs. */
|
|
19
|
-
remove(overlayRef: OverlayReference): void;
|
|
20
|
-
/** Detaches the global event listener. */
|
|
21
|
-
protected abstract detach(): void;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseOverlayDispatcher, never>;
|
|
23
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BaseOverlayDispatcher>;
|
|
24
|
-
}
|
|
@@ -1,9 +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 { OverlayOutsideClickDispatcher } from './overlay-outside-click-dispatcher';
|
|
9
|
-
export { OverlayKeyboardDispatcher } from './overlay-keyboard-dispatcher';
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { NgZone } from '@angular/core';
|
|
2
|
-
import { OverlayReference } from '../overlay-reference';
|
|
3
|
-
import { BaseOverlayDispatcher } from './base-overlay-dispatcher';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* Service for dispatching keyboard events that land on the body to appropriate overlay ref,
|
|
7
|
-
* if any. It maintains a list of attached overlays to determine best suited overlay based
|
|
8
|
-
* on event target and order of overlay opens.
|
|
9
|
-
*/
|
|
10
|
-
export declare class OverlayKeyboardDispatcher extends BaseOverlayDispatcher {
|
|
11
|
-
/** @breaking-change 14.0.0 _ngZone will be required. */
|
|
12
|
-
private _ngZone?;
|
|
13
|
-
constructor(document: any,
|
|
14
|
-
/** @breaking-change 14.0.0 _ngZone will be required. */
|
|
15
|
-
_ngZone?: NgZone | undefined);
|
|
16
|
-
/** Add a new overlay to the list of attached overlay refs. */
|
|
17
|
-
add(overlayRef: OverlayReference): void;
|
|
18
|
-
/** Detaches the global keyboard event listener. */
|
|
19
|
-
protected detach(): void;
|
|
20
|
-
/** Keyboard event listener that will be attached to the body. */
|
|
21
|
-
private _keydownListener;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OverlayKeyboardDispatcher, [null, { optional: true; }]>;
|
|
23
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<OverlayKeyboardDispatcher>;
|
|
24
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { NgZone } from '@angular/core';
|
|
2
|
-
import { OverlayReference } from '../overlay-reference';
|
|
3
|
-
import { Platform } from '@angular/cdk/platform';
|
|
4
|
-
import { BaseOverlayDispatcher } from './base-overlay-dispatcher';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
/**
|
|
7
|
-
* Service for dispatching mouse click events that land on the body to appropriate overlay ref,
|
|
8
|
-
* if any. It maintains a list of attached overlays to determine best suited overlay based
|
|
9
|
-
* on event target and order of overlay opens.
|
|
10
|
-
*/
|
|
11
|
-
export declare class OverlayOutsideClickDispatcher extends BaseOverlayDispatcher {
|
|
12
|
-
private _platform;
|
|
13
|
-
/** @breaking-change 14.0.0 _ngZone will be required. */
|
|
14
|
-
private _ngZone?;
|
|
15
|
-
private _cursorOriginalValue;
|
|
16
|
-
private _cursorStyleIsSet;
|
|
17
|
-
private _pointerDownEventTarget;
|
|
18
|
-
constructor(document: any, _platform: Platform,
|
|
19
|
-
/** @breaking-change 14.0.0 _ngZone will be required. */
|
|
20
|
-
_ngZone?: NgZone | undefined);
|
|
21
|
-
/** Add a new overlay to the list of attached overlay refs. */
|
|
22
|
-
add(overlayRef: OverlayReference): void;
|
|
23
|
-
/** Detaches the global keyboard event listener. */
|
|
24
|
-
protected detach(): void;
|
|
25
|
-
private _addEventListeners;
|
|
26
|
-
/** Store pointerdown event target to track origin of click. */
|
|
27
|
-
private _pointerDownListener;
|
|
28
|
-
/** Click event listener that will be attached to the body propagate phase. */
|
|
29
|
-
private _clickListener;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OverlayOutsideClickDispatcher, [null, null, { optional: true; }]>;
|
|
31
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<OverlayOutsideClickDispatcher>;
|
|
32
|
-
}
|
|
@@ -1,35 +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 { OnDestroy } from '@angular/core';
|
|
9
|
-
import { OverlayContainer } from './overlay-container';
|
|
10
|
-
import { Platform } from '@angular/cdk/platform';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
/**
|
|
13
|
-
* Alternative to OverlayContainer that supports correct displaying of overlay elements in
|
|
14
|
-
* Fullscreen mode
|
|
15
|
-
* https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullScreen
|
|
16
|
-
*
|
|
17
|
-
* Should be provided in the root component.
|
|
18
|
-
*/
|
|
19
|
-
export declare class FullscreenOverlayContainer extends OverlayContainer implements OnDestroy {
|
|
20
|
-
private _fullScreenEventName;
|
|
21
|
-
private _fullScreenListener;
|
|
22
|
-
constructor(_document: any, platform: Platform);
|
|
23
|
-
ngOnDestroy(): void;
|
|
24
|
-
protected _createContainer(): void;
|
|
25
|
-
private _adjustParentForFullscreenChange;
|
|
26
|
-
private _addFullscreenChangeListener;
|
|
27
|
-
private _getEventName;
|
|
28
|
-
/**
|
|
29
|
-
* When the page is put into fullscreen mode, a specific element is specified.
|
|
30
|
-
* Only that element and its children are visible when in fullscreen mode.
|
|
31
|
-
*/
|
|
32
|
-
getFullscreenElement(): Element;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FullscreenOverlayContainer, never>;
|
|
34
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FullscreenOverlayContainer>;
|
|
35
|
-
}
|
|
@@ -1,47 +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 { PositionStrategy } from './position/position-strategy';
|
|
9
|
-
import { Direction, Directionality } from '@angular/cdk/bidi';
|
|
10
|
-
import { ScrollStrategy } from './scroll/index';
|
|
11
|
-
/** Initial configuration used when creating an overlay. */
|
|
12
|
-
export declare class OverlayConfig {
|
|
13
|
-
/** Strategy with which to position the overlay. */
|
|
14
|
-
positionStrategy?: PositionStrategy;
|
|
15
|
-
/** Strategy to be used when handling scroll events while the overlay is open. */
|
|
16
|
-
scrollStrategy?: ScrollStrategy;
|
|
17
|
-
/** Custom class to add to the overlay pane. */
|
|
18
|
-
panelClass?: string | string[];
|
|
19
|
-
/** Whether the overlay has a backdrop. */
|
|
20
|
-
hasBackdrop?: boolean;
|
|
21
|
-
/** Custom class to add to the backdrop */
|
|
22
|
-
backdropClass?: string | string[];
|
|
23
|
-
/** The width of the overlay panel. If a number is provided, pixel units are assumed. */
|
|
24
|
-
width?: number | string;
|
|
25
|
-
/** The height of the overlay panel. If a number is provided, pixel units are assumed. */
|
|
26
|
-
height?: number | string;
|
|
27
|
-
/** The min-width of the overlay panel. If a number is provided, pixel units are assumed. */
|
|
28
|
-
minWidth?: number | string;
|
|
29
|
-
/** The min-height of the overlay panel. If a number is provided, pixel units are assumed. */
|
|
30
|
-
minHeight?: number | string;
|
|
31
|
-
/** The max-width of the overlay panel. If a number is provided, pixel units are assumed. */
|
|
32
|
-
maxWidth?: number | string;
|
|
33
|
-
/** The max-height of the overlay panel. If a number is provided, pixel units are assumed. */
|
|
34
|
-
maxHeight?: number | string;
|
|
35
|
-
/**
|
|
36
|
-
* Direction of the text in the overlay panel. If a `Directionality` instance
|
|
37
|
-
* is passed in, the overlay will handle changes to its value automatically.
|
|
38
|
-
*/
|
|
39
|
-
direction?: Direction | Directionality;
|
|
40
|
-
/**
|
|
41
|
-
* Whether the overlay should be disposed of when the user goes backwards/forwards in history.
|
|
42
|
-
* Note that this usually doesn't include clicking on links (unless the user is using
|
|
43
|
-
* the `HashLocationStrategy`).
|
|
44
|
-
*/
|
|
45
|
-
disposeOnNavigation?: boolean;
|
|
46
|
-
constructor(config?: OverlayConfig);
|
|
47
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { Platform } from '@angular/cdk/platform';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/** Container inside which all overlays will render. */
|
|
5
|
-
export declare class OverlayContainer implements OnDestroy {
|
|
6
|
-
protected _platform: Platform;
|
|
7
|
-
protected _containerElement: HTMLElement;
|
|
8
|
-
protected _document: Document;
|
|
9
|
-
constructor(document: any, _platform: Platform);
|
|
10
|
-
ngOnDestroy(): void;
|
|
11
|
-
/**
|
|
12
|
-
* This method returns the overlay container element. It will lazily
|
|
13
|
-
* create the element the first time it is called to facilitate using
|
|
14
|
-
* the container in non-browser environments.
|
|
15
|
-
* @returns the container element
|
|
16
|
-
*/
|
|
17
|
-
getContainerElement(): HTMLElement;
|
|
18
|
-
/**
|
|
19
|
-
* Create the overlay container element, which is simply a div
|
|
20
|
-
* with the 'cdk-overlay-container' class on the document body.
|
|
21
|
-
*/
|
|
22
|
-
protected _createContainer(): void;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OverlayContainer, never>;
|
|
24
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<OverlayContainer>;
|
|
25
|
-
}
|
|
@@ -1,148 +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 { Direction, Directionality } from '@angular/cdk/bidi';
|
|
9
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
10
|
-
import { ElementRef, EventEmitter, InjectionToken, OnChanges, OnDestroy, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
11
|
-
import { Overlay } from './overlay';
|
|
12
|
-
import { OverlayRef } from './overlay-ref';
|
|
13
|
-
import { ConnectedOverlayPositionChange } from './position/connected-position';
|
|
14
|
-
import { ConnectedPosition, FlexibleConnectedPositionStrategy, FlexibleConnectedPositionStrategyOrigin } from './position/flexible-connected-position-strategy';
|
|
15
|
-
import { RepositionScrollStrategy, ScrollStrategy } from './scroll/index';
|
|
16
|
-
import * as i0 from "@angular/core";
|
|
17
|
-
/** Injection token that determines the scroll handling while the connected overlay is open. */
|
|
18
|
-
export declare const CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY: InjectionToken<() => ScrollStrategy>;
|
|
19
|
-
/**
|
|
20
|
-
* Directive applied to an element to make it usable as an origin for an Overlay using a
|
|
21
|
-
* ConnectedPositionStrategy.
|
|
22
|
-
*/
|
|
23
|
-
export declare class CdkOverlayOrigin {
|
|
24
|
-
/** Reference to the element on which the directive is applied. */
|
|
25
|
-
elementRef: ElementRef;
|
|
26
|
-
constructor(
|
|
27
|
-
/** Reference to the element on which the directive is applied. */
|
|
28
|
-
elementRef: ElementRef);
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkOverlayOrigin, never>;
|
|
30
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkOverlayOrigin, "[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]", ["cdkOverlayOrigin"], {}, {}, never>;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Directive to facilitate declarative creation of an
|
|
34
|
-
* Overlay using a FlexibleConnectedPositionStrategy.
|
|
35
|
-
*/
|
|
36
|
-
export declare class CdkConnectedOverlay implements OnDestroy, OnChanges {
|
|
37
|
-
private _overlay;
|
|
38
|
-
private _dir;
|
|
39
|
-
private _overlayRef;
|
|
40
|
-
private _templatePortal;
|
|
41
|
-
private _hasBackdrop;
|
|
42
|
-
private _lockPosition;
|
|
43
|
-
private _growAfterOpen;
|
|
44
|
-
private _flexibleDimensions;
|
|
45
|
-
private _push;
|
|
46
|
-
private _backdropSubscription;
|
|
47
|
-
private _attachSubscription;
|
|
48
|
-
private _detachSubscription;
|
|
49
|
-
private _positionSubscription;
|
|
50
|
-
private _offsetX;
|
|
51
|
-
private _offsetY;
|
|
52
|
-
private _position;
|
|
53
|
-
private _scrollStrategyFactory;
|
|
54
|
-
/** Origin for the connected overlay. */
|
|
55
|
-
origin: CdkOverlayOrigin | FlexibleConnectedPositionStrategyOrigin;
|
|
56
|
-
/** Registered connected position pairs. */
|
|
57
|
-
positions: ConnectedPosition[];
|
|
58
|
-
/**
|
|
59
|
-
* This input overrides the positions input if specified. It lets users pass
|
|
60
|
-
* in arbitrary positioning strategies.
|
|
61
|
-
*/
|
|
62
|
-
positionStrategy: FlexibleConnectedPositionStrategy;
|
|
63
|
-
/** The offset in pixels for the overlay connection point on the x-axis */
|
|
64
|
-
get offsetX(): number;
|
|
65
|
-
set offsetX(offsetX: number);
|
|
66
|
-
/** The offset in pixels for the overlay connection point on the y-axis */
|
|
67
|
-
get offsetY(): number;
|
|
68
|
-
set offsetY(offsetY: number);
|
|
69
|
-
/** The width of the overlay panel. */
|
|
70
|
-
width: number | string;
|
|
71
|
-
/** The height of the overlay panel. */
|
|
72
|
-
height: number | string;
|
|
73
|
-
/** The min width of the overlay panel. */
|
|
74
|
-
minWidth: number | string;
|
|
75
|
-
/** The min height of the overlay panel. */
|
|
76
|
-
minHeight: number | string;
|
|
77
|
-
/** The custom class to be set on the backdrop element. */
|
|
78
|
-
backdropClass: string;
|
|
79
|
-
/** The custom class to add to the overlay pane element. */
|
|
80
|
-
panelClass: string | string[];
|
|
81
|
-
/** Margin between the overlay and the viewport edges. */
|
|
82
|
-
viewportMargin: number;
|
|
83
|
-
/** Strategy to be used when handling scroll events while the overlay is open. */
|
|
84
|
-
scrollStrategy: ScrollStrategy;
|
|
85
|
-
/** Whether the overlay is open. */
|
|
86
|
-
open: boolean;
|
|
87
|
-
/** Whether the overlay can be closed by user interaction. */
|
|
88
|
-
disableClose: boolean;
|
|
89
|
-
/** CSS selector which to set the transform origin. */
|
|
90
|
-
transformOriginSelector: string;
|
|
91
|
-
/** Whether or not the overlay should attach a backdrop. */
|
|
92
|
-
get hasBackdrop(): boolean;
|
|
93
|
-
set hasBackdrop(value: BooleanInput);
|
|
94
|
-
/** Whether or not the overlay should be locked when scrolling. */
|
|
95
|
-
get lockPosition(): boolean;
|
|
96
|
-
set lockPosition(value: BooleanInput);
|
|
97
|
-
/** Whether the overlay's width and height can be constrained to fit within the viewport. */
|
|
98
|
-
get flexibleDimensions(): boolean;
|
|
99
|
-
set flexibleDimensions(value: BooleanInput);
|
|
100
|
-
/** Whether the overlay can grow after the initial open when flexible positioning is turned on. */
|
|
101
|
-
get growAfterOpen(): boolean;
|
|
102
|
-
set growAfterOpen(value: BooleanInput);
|
|
103
|
-
/** Whether the overlay can be pushed on-screen if none of the provided positions fit. */
|
|
104
|
-
get push(): boolean;
|
|
105
|
-
set push(value: BooleanInput);
|
|
106
|
-
/** Event emitted when the backdrop is clicked. */
|
|
107
|
-
readonly backdropClick: EventEmitter<MouseEvent>;
|
|
108
|
-
/** Event emitted when the position has changed. */
|
|
109
|
-
readonly positionChange: EventEmitter<ConnectedOverlayPositionChange>;
|
|
110
|
-
/** Event emitted when the overlay has been attached. */
|
|
111
|
-
readonly attach: EventEmitter<void>;
|
|
112
|
-
/** Event emitted when the overlay has been detached. */
|
|
113
|
-
readonly detach: EventEmitter<void>;
|
|
114
|
-
/** Emits when there are keyboard events that are targeted at the overlay. */
|
|
115
|
-
readonly overlayKeydown: EventEmitter<KeyboardEvent>;
|
|
116
|
-
/** Emits when there are mouse outside click events that are targeted at the overlay. */
|
|
117
|
-
readonly overlayOutsideClick: EventEmitter<MouseEvent>;
|
|
118
|
-
constructor(_overlay: Overlay, templateRef: TemplateRef<any>, viewContainerRef: ViewContainerRef, scrollStrategyFactory: any, _dir: Directionality);
|
|
119
|
-
/** The associated overlay reference. */
|
|
120
|
-
get overlayRef(): OverlayRef;
|
|
121
|
-
/** The element's layout direction. */
|
|
122
|
-
get dir(): Direction;
|
|
123
|
-
ngOnDestroy(): void;
|
|
124
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
125
|
-
/** Creates an overlay */
|
|
126
|
-
private _createOverlay;
|
|
127
|
-
/** Builds the overlay config based on the directive's inputs */
|
|
128
|
-
private _buildConfig;
|
|
129
|
-
/** Updates the state of a position strategy, based on the values of the directive inputs. */
|
|
130
|
-
private _updatePositionStrategy;
|
|
131
|
-
/** Returns the position strategy of the overlay to be set on the overlay config */
|
|
132
|
-
private _createPositionStrategy;
|
|
133
|
-
private _getFlexibleConnectedPositionStrategyOrigin;
|
|
134
|
-
/** Attaches the overlay and subscribes to backdrop clicks if backdrop exists */
|
|
135
|
-
private _attachOverlay;
|
|
136
|
-
/** Detaches the overlay and unsubscribes to backdrop clicks if backdrop exists */
|
|
137
|
-
private _detachOverlay;
|
|
138
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkConnectedOverlay, [null, null, null, null, { optional: true; }]>;
|
|
139
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkConnectedOverlay, "[cdk-connected-overlay], [connected-overlay], [cdkConnectedOverlay]", ["cdkConnectedOverlay"], { "origin": "cdkConnectedOverlayOrigin"; "positions": "cdkConnectedOverlayPositions"; "positionStrategy": "cdkConnectedOverlayPositionStrategy"; "offsetX": "cdkConnectedOverlayOffsetX"; "offsetY": "cdkConnectedOverlayOffsetY"; "width": "cdkConnectedOverlayWidth"; "height": "cdkConnectedOverlayHeight"; "minWidth": "cdkConnectedOverlayMinWidth"; "minHeight": "cdkConnectedOverlayMinHeight"; "backdropClass": "cdkConnectedOverlayBackdropClass"; "panelClass": "cdkConnectedOverlayPanelClass"; "viewportMargin": "cdkConnectedOverlayViewportMargin"; "scrollStrategy": "cdkConnectedOverlayScrollStrategy"; "open": "cdkConnectedOverlayOpen"; "disableClose": "cdkConnectedOverlayDisableClose"; "transformOriginSelector": "cdkConnectedOverlayTransformOriginOn"; "hasBackdrop": "cdkConnectedOverlayHasBackdrop"; "lockPosition": "cdkConnectedOverlayLockPosition"; "flexibleDimensions": "cdkConnectedOverlayFlexibleDimensions"; "growAfterOpen": "cdkConnectedOverlayGrowAfterOpen"; "push": "cdkConnectedOverlayPush"; }, { "backdropClick": "backdropClick"; "positionChange": "positionChange"; "attach": "attach"; "detach": "detach"; "overlayKeydown": "overlayKeydown"; "overlayOutsideClick": "overlayOutsideClick"; }, never>;
|
|
140
|
-
}
|
|
141
|
-
/** @docs-private */
|
|
142
|
-
export declare function CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER_FACTORY(overlay: Overlay): () => RepositionScrollStrategy;
|
|
143
|
-
/** @docs-private */
|
|
144
|
-
export declare const CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER: {
|
|
145
|
-
provide: InjectionToken<() => ScrollStrategy>;
|
|
146
|
-
deps: (typeof Overlay)[];
|
|
147
|
-
useFactory: typeof CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER_FACTORY;
|
|
148
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./overlay-directives";
|
|
3
|
-
import * as i2 from "@angular/cdk/bidi";
|
|
4
|
-
import * as i3 from "@angular/cdk/portal";
|
|
5
|
-
import * as i4 from "@angular/cdk/scrolling";
|
|
6
|
-
export declare class OverlayModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OverlayModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<OverlayModule, [typeof i1.CdkConnectedOverlay, typeof i1.CdkOverlayOrigin], [typeof i2.BidiModule, typeof i3.PortalModule, typeof i4.ScrollingModule], [typeof i1.CdkConnectedOverlay, typeof i1.CdkOverlayOrigin, typeof i4.ScrollingModule]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<OverlayModule>;
|
|
10
|
-
}
|
package/overlay/overlay-ref.d.ts
DELETED
|
@@ -1,145 +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 { Direction, Directionality } from '@angular/cdk/bidi';
|
|
9
|
-
import { ComponentPortal, PortalOutlet, TemplatePortal } from '@angular/cdk/portal';
|
|
10
|
-
import { ComponentRef, EmbeddedViewRef, NgZone } from '@angular/core';
|
|
11
|
-
import { Location } from '@angular/common';
|
|
12
|
-
import { Observable, Subject } from 'rxjs';
|
|
13
|
-
import { OverlayKeyboardDispatcher } from './dispatchers/overlay-keyboard-dispatcher';
|
|
14
|
-
import { OverlayOutsideClickDispatcher } from './dispatchers/overlay-outside-click-dispatcher';
|
|
15
|
-
import { OverlayConfig } from './overlay-config';
|
|
16
|
-
import { OverlayReference } from './overlay-reference';
|
|
17
|
-
import { PositionStrategy } from './position/position-strategy';
|
|
18
|
-
import { ScrollStrategy } from './scroll';
|
|
19
|
-
/** An object where all of its properties cannot be written. */
|
|
20
|
-
export declare type ImmutableObject<T> = {
|
|
21
|
-
readonly [P in keyof T]: T[P];
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* Reference to an overlay that has been created with the Overlay service.
|
|
25
|
-
* Used to manipulate or dispose of said overlay.
|
|
26
|
-
*/
|
|
27
|
-
export declare class OverlayRef implements PortalOutlet, OverlayReference {
|
|
28
|
-
private _portalOutlet;
|
|
29
|
-
private _host;
|
|
30
|
-
private _pane;
|
|
31
|
-
private _config;
|
|
32
|
-
private _ngZone;
|
|
33
|
-
private _keyboardDispatcher;
|
|
34
|
-
private _document;
|
|
35
|
-
private _location;
|
|
36
|
-
private _outsideClickDispatcher;
|
|
37
|
-
private _animationsDisabled;
|
|
38
|
-
private _backdropElement;
|
|
39
|
-
private _backdropTimeout;
|
|
40
|
-
private readonly _backdropClick;
|
|
41
|
-
private readonly _attachments;
|
|
42
|
-
private readonly _detachments;
|
|
43
|
-
private _positionStrategy;
|
|
44
|
-
private _scrollStrategy;
|
|
45
|
-
private _locationChanges;
|
|
46
|
-
private _backdropClickHandler;
|
|
47
|
-
private _backdropTransitionendHandler;
|
|
48
|
-
/**
|
|
49
|
-
* Reference to the parent of the `_host` at the time it was detached. Used to restore
|
|
50
|
-
* the `_host` to its original position in the DOM when it gets re-attached.
|
|
51
|
-
*/
|
|
52
|
-
private _previousHostParent;
|
|
53
|
-
/** Stream of keydown events dispatched to this overlay. */
|
|
54
|
-
readonly _keydownEvents: Subject<KeyboardEvent>;
|
|
55
|
-
/** Stream of mouse outside events dispatched to this overlay. */
|
|
56
|
-
readonly _outsidePointerEvents: Subject<MouseEvent>;
|
|
57
|
-
constructor(_portalOutlet: PortalOutlet, _host: HTMLElement, _pane: HTMLElement, _config: ImmutableObject<OverlayConfig>, _ngZone: NgZone, _keyboardDispatcher: OverlayKeyboardDispatcher, _document: Document, _location: Location, _outsideClickDispatcher: OverlayOutsideClickDispatcher, _animationsDisabled?: boolean);
|
|
58
|
-
/** The overlay's HTML element */
|
|
59
|
-
get overlayElement(): HTMLElement;
|
|
60
|
-
/** The overlay's backdrop HTML element. */
|
|
61
|
-
get backdropElement(): HTMLElement | null;
|
|
62
|
-
/**
|
|
63
|
-
* Wrapper around the panel element. Can be used for advanced
|
|
64
|
-
* positioning where a wrapper with specific styling is
|
|
65
|
-
* required around the overlay pane.
|
|
66
|
-
*/
|
|
67
|
-
get hostElement(): HTMLElement;
|
|
68
|
-
attach<T>(portal: ComponentPortal<T>): ComponentRef<T>;
|
|
69
|
-
attach<T>(portal: TemplatePortal<T>): EmbeddedViewRef<T>;
|
|
70
|
-
attach(portal: any): any;
|
|
71
|
-
/**
|
|
72
|
-
* Detaches an overlay from a portal.
|
|
73
|
-
* @returns The portal detachment result.
|
|
74
|
-
*/
|
|
75
|
-
detach(): any;
|
|
76
|
-
/** Cleans up the overlay from the DOM. */
|
|
77
|
-
dispose(): void;
|
|
78
|
-
/** Whether the overlay has attached content. */
|
|
79
|
-
hasAttached(): boolean;
|
|
80
|
-
/** Gets an observable that emits when the backdrop has been clicked. */
|
|
81
|
-
backdropClick(): Observable<MouseEvent>;
|
|
82
|
-
/** Gets an observable that emits when the overlay has been attached. */
|
|
83
|
-
attachments(): Observable<void>;
|
|
84
|
-
/** Gets an observable that emits when the overlay has been detached. */
|
|
85
|
-
detachments(): Observable<void>;
|
|
86
|
-
/** Gets an observable of keydown events targeted to this overlay. */
|
|
87
|
-
keydownEvents(): Observable<KeyboardEvent>;
|
|
88
|
-
/** Gets an observable of pointer events targeted outside this overlay. */
|
|
89
|
-
outsidePointerEvents(): Observable<MouseEvent>;
|
|
90
|
-
/** Gets the current overlay configuration, which is immutable. */
|
|
91
|
-
getConfig(): OverlayConfig;
|
|
92
|
-
/** Updates the position of the overlay based on the position strategy. */
|
|
93
|
-
updatePosition(): void;
|
|
94
|
-
/** Switches to a new position strategy and updates the overlay position. */
|
|
95
|
-
updatePositionStrategy(strategy: PositionStrategy): void;
|
|
96
|
-
/** Update the size properties of the overlay. */
|
|
97
|
-
updateSize(sizeConfig: OverlaySizeConfig): void;
|
|
98
|
-
/** Sets the LTR/RTL direction for the overlay. */
|
|
99
|
-
setDirection(dir: Direction | Directionality): void;
|
|
100
|
-
/** Add a CSS class or an array of classes to the overlay pane. */
|
|
101
|
-
addPanelClass(classes: string | string[]): void;
|
|
102
|
-
/** Remove a CSS class or an array of classes from the overlay pane. */
|
|
103
|
-
removePanelClass(classes: string | string[]): void;
|
|
104
|
-
/**
|
|
105
|
-
* Returns the layout direction of the overlay panel.
|
|
106
|
-
*/
|
|
107
|
-
getDirection(): Direction;
|
|
108
|
-
/** Switches to a new scroll strategy. */
|
|
109
|
-
updateScrollStrategy(strategy: ScrollStrategy): void;
|
|
110
|
-
/** Updates the text direction of the overlay panel. */
|
|
111
|
-
private _updateElementDirection;
|
|
112
|
-
/** Updates the size of the overlay element based on the overlay config. */
|
|
113
|
-
private _updateElementSize;
|
|
114
|
-
/** Toggles the pointer events for the overlay pane element. */
|
|
115
|
-
private _togglePointerEvents;
|
|
116
|
-
/** Attaches a backdrop for this overlay. */
|
|
117
|
-
private _attachBackdrop;
|
|
118
|
-
/**
|
|
119
|
-
* Updates the stacking order of the element, moving it to the top if necessary.
|
|
120
|
-
* This is required in cases where one overlay was detached, while another one,
|
|
121
|
-
* that should be behind it, was destroyed. The next time both of them are opened,
|
|
122
|
-
* the stacking will be wrong, because the detached element's pane will still be
|
|
123
|
-
* in its original DOM position.
|
|
124
|
-
*/
|
|
125
|
-
private _updateStackingOrder;
|
|
126
|
-
/** Detaches the backdrop (if any) associated with the overlay. */
|
|
127
|
-
detachBackdrop(): void;
|
|
128
|
-
/** Toggles a single CSS class or an array of classes on an element. */
|
|
129
|
-
private _toggleClasses;
|
|
130
|
-
/** Detaches the overlay content next time the zone stabilizes. */
|
|
131
|
-
private _detachContentWhenStable;
|
|
132
|
-
/** Disposes of a scroll strategy. */
|
|
133
|
-
private _disposeScrollStrategy;
|
|
134
|
-
/** Removes a backdrop element from the DOM. */
|
|
135
|
-
private _disposeBackdrop;
|
|
136
|
-
}
|
|
137
|
-
/** Size properties for an overlay. */
|
|
138
|
-
export interface OverlaySizeConfig {
|
|
139
|
-
width?: number | string;
|
|
140
|
-
height?: number | string;
|
|
141
|
-
minWidth?: number | string;
|
|
142
|
-
minHeight?: number | string;
|
|
143
|
-
maxWidth?: number | string;
|
|
144
|
-
maxHeight?: number | string;
|
|
145
|
-
}
|