@angular/cdk 14.0.0-next.9 → 14.0.0-rc.2
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.scss +11 -0
- package/a11y/index.d.ts +1119 -5
- package/a11y-prebuilt.css +1 -1
- 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 +10 -9
- package/esm2020/a11y/focus-monitor/focus-monitor.mjs +10 -10
- 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 +10 -10
- 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/dispose-view-repeater-strategy.mjs +4 -4
- package/esm2020/collections/recycle-view-repeater-strategy.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/drag-drop/drop-list-ref.mjs +23 -23
- 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 +212 -0
- package/esm2020/menu/index.mjs +9 -0
- package/esm2020/menu/menu-aim.mjs +203 -0
- package/esm2020/menu/menu-bar.mjs +133 -0
- package/esm2020/menu/menu-base.mjs +187 -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 +49 -0
- package/esm2020/menu/menu-item-radio.mjs +71 -0
- package/esm2020/menu/menu-item-selectable.mjs +42 -0
- package/esm2020/menu/menu-item.mjs +259 -0
- package/esm2020/menu/menu-module.mjs +62 -0
- package/esm2020/menu/menu-stack.mjs +156 -0
- package/esm2020/menu/menu-trigger-base.mjs +107 -0
- package/esm2020/menu/menu-trigger.mjs +283 -0
- package/esm2020/menu/menu.mjs +134 -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 +14 -5
- package/esm2020/overlay/overlay.mjs +14 -8
- package/esm2020/overlay/position/overlay-position-builder.mjs +4 -4
- package/esm2020/overlay/scroll/scroll-strategy-options.mjs +4 -4
- package/esm2020/platform/features/scrolling.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 +9 -9
- 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 +21 -21
- 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 +55 -54
- 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 +9 -9
- 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 +57 -50
- 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 +1960 -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 +57 -42
- package/fesm2015/overlay.mjs.map +1 -1
- package/fesm2015/platform.mjs +10 -10
- package/fesm2015/platform.mjs.map +1 -1
- package/fesm2015/portal.mjs +21 -17
- package/fesm2015/portal.mjs.map +1 -1
- package/fesm2015/scrolling.mjs +31 -31
- package/fesm2015/scrolling.mjs.map +1 -1
- package/fesm2015/stepper.mjs +22 -22
- package/fesm2015/stepper.mjs.map +1 -1
- package/fesm2015/table.mjs +79 -79
- 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 +55 -54
- 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 +9 -9
- 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 +57 -50
- 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 +1942 -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 +57 -42
- package/fesm2020/overlay.mjs.map +1 -1
- package/fesm2020/platform.mjs +10 -10
- package/fesm2020/platform.mjs.map +1 -1
- package/fesm2020/portal.mjs +21 -17
- package/fesm2020/portal.mjs.map +1 -1
- package/fesm2020/scrolling.mjs +31 -31
- package/fesm2020/scrolling.mjs.map +1 -1
- package/fesm2020/stepper.mjs +22 -22
- package/fesm2020/stepper.mjs.map +1 -1
- package/fesm2020/table.mjs +79 -79
- 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 +893 -0
- package/observers/index.d.ts +89 -6
- package/overlay/_index.scss +4 -0
- package/overlay/index.d.ts +1202 -5
- package/overlay-prebuilt.css +1 -1
- package/package.json +34 -18
- package/platform/index.d.ts +104 -6
- package/portal/index.d.ts +325 -5
- package/schematics/index.d.ts +2 -1
- package/schematics/index.js +4 -4
- package/schematics/index.mjs +4 -4
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/schematics/ng-generate/drag-drop/schema.json +3 -0
- package/schematics/utils/ast/standalone.d.ts +26 -0
- package/schematics/utils/ast/standalone.js +191 -0
- package/schematics/utils/ast/standalone.mjs +191 -0
- package/schematics/utils/ast.js +5 -4
- package/schematics/utils/ast.mjs +5 -4
- package/schematics/utils/build-component.js +5 -5
- package/schematics/utils/build-component.mjs +5 -5
- package/schematics/utils/index.d.ts +1 -0
- package/schematics/utils/index.js +5 -1
- package/schematics/utils/index.mjs +5 -1
- 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 -144
- package/overlay/overlay-reference.d.ts +0 -38
- package/overlay/overlay.d.ts +0 -75
- 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/schematics/utils/vendored-ast-utils/index.d.ts +0 -70
- package/schematics/utils/vendored-ast-utils/index.js +0 -480
- package/schematics/utils/vendored-ast-utils/index.mjs +0 -480
- 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
|
@@ -1,312 +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 { ElementRef, NgZone } from '@angular/core';
|
|
9
|
-
import { Direction } from '@angular/cdk/bidi';
|
|
10
|
-
import { ViewportRuler } from '@angular/cdk/scrolling';
|
|
11
|
-
import { Subject } from 'rxjs';
|
|
12
|
-
import { DragDropRegistry } from './drag-drop-registry';
|
|
13
|
-
import { DragRefInternal as DragRef, Point } from './drag-ref';
|
|
14
|
-
/**
|
|
15
|
-
* Internal compile-time-only representation of a `DropListRef`.
|
|
16
|
-
* Used to avoid circular import issues between the `DropListRef` and the `DragRef`.
|
|
17
|
-
* @docs-private
|
|
18
|
-
*/
|
|
19
|
-
export interface DropListRefInternal extends DropListRef {
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Reference to a drop list. Used to manipulate or dispose of the container.
|
|
23
|
-
*/
|
|
24
|
-
export declare class DropListRef<T = any> {
|
|
25
|
-
private _dragDropRegistry;
|
|
26
|
-
private _ngZone;
|
|
27
|
-
private _viewportRuler;
|
|
28
|
-
/** Element that the drop list is attached to. */
|
|
29
|
-
element: HTMLElement | ElementRef<HTMLElement>;
|
|
30
|
-
/** Whether starting a dragging sequence from this container is disabled. */
|
|
31
|
-
disabled: boolean;
|
|
32
|
-
/** Whether sorting items within the list is disabled. */
|
|
33
|
-
sortingDisabled: boolean;
|
|
34
|
-
/** Locks the position of the draggable elements inside the container along the specified axis. */
|
|
35
|
-
lockAxis: 'x' | 'y';
|
|
36
|
-
/**
|
|
37
|
-
* Whether auto-scrolling the view when the user
|
|
38
|
-
* moves their pointer close to the edges is disabled.
|
|
39
|
-
*/
|
|
40
|
-
autoScrollDisabled: boolean;
|
|
41
|
-
/** Number of pixels to scroll for each frame when auto-scrolling an element. */
|
|
42
|
-
autoScrollStep: number;
|
|
43
|
-
/**
|
|
44
|
-
* Function that is used to determine whether an item
|
|
45
|
-
* is allowed to be moved into a drop container.
|
|
46
|
-
*/
|
|
47
|
-
enterPredicate: (drag: DragRef, drop: DropListRef) => boolean;
|
|
48
|
-
/** Functions that is used to determine whether an item can be sorted into a particular index. */
|
|
49
|
-
sortPredicate: (index: number, drag: DragRef, drop: DropListRef) => boolean;
|
|
50
|
-
/** Emits right before dragging has started. */
|
|
51
|
-
readonly beforeStarted: Subject<void>;
|
|
52
|
-
/**
|
|
53
|
-
* Emits when the user has moved a new drag item into this container.
|
|
54
|
-
*/
|
|
55
|
-
readonly entered: Subject<{
|
|
56
|
-
item: DragRef;
|
|
57
|
-
container: DropListRef;
|
|
58
|
-
currentIndex: number;
|
|
59
|
-
}>;
|
|
60
|
-
/**
|
|
61
|
-
* Emits when the user removes an item from the container
|
|
62
|
-
* by dragging it into another container.
|
|
63
|
-
*/
|
|
64
|
-
readonly exited: Subject<{
|
|
65
|
-
item: DragRef;
|
|
66
|
-
container: DropListRef;
|
|
67
|
-
}>;
|
|
68
|
-
/** Emits when the user drops an item inside the container. */
|
|
69
|
-
readonly dropped: Subject<{
|
|
70
|
-
item: DragRef;
|
|
71
|
-
currentIndex: number;
|
|
72
|
-
previousIndex: number;
|
|
73
|
-
container: DropListRef;
|
|
74
|
-
previousContainer: DropListRef;
|
|
75
|
-
isPointerOverContainer: boolean;
|
|
76
|
-
distance: Point;
|
|
77
|
-
dropPoint: Point;
|
|
78
|
-
event: MouseEvent | TouchEvent;
|
|
79
|
-
}>;
|
|
80
|
-
/** Emits as the user is swapping items while actively dragging. */
|
|
81
|
-
readonly sorted: Subject<{
|
|
82
|
-
previousIndex: number;
|
|
83
|
-
currentIndex: number;
|
|
84
|
-
container: DropListRef;
|
|
85
|
-
item: DragRef;
|
|
86
|
-
}>;
|
|
87
|
-
/** Arbitrary data that can be attached to the drop list. */
|
|
88
|
-
data: T;
|
|
89
|
-
/** Whether an item in the list is being dragged. */
|
|
90
|
-
private _isDragging;
|
|
91
|
-
/** Cache of the dimensions of all the items inside the container. */
|
|
92
|
-
private _itemPositions;
|
|
93
|
-
/** Keeps track of the positions of any parent scrollable elements. */
|
|
94
|
-
private _parentPositions;
|
|
95
|
-
/** Cached `ClientRect` of the drop list. */
|
|
96
|
-
private _clientRect;
|
|
97
|
-
/**
|
|
98
|
-
* Draggable items that are currently active inside the container. Includes the items
|
|
99
|
-
* from `_draggables`, as well as any items that have been dragged in, but haven't
|
|
100
|
-
* been dropped yet.
|
|
101
|
-
*/
|
|
102
|
-
private _activeDraggables;
|
|
103
|
-
/**
|
|
104
|
-
* Keeps track of the item that was last swapped with the dragged item, as well as what direction
|
|
105
|
-
* the pointer was moving in when the swap occured and whether the user's pointer continued to
|
|
106
|
-
* overlap with the swapped item after the swapping occurred.
|
|
107
|
-
*/
|
|
108
|
-
private _previousSwap;
|
|
109
|
-
/** Draggable items in the container. */
|
|
110
|
-
private _draggables;
|
|
111
|
-
/** Drop lists that are connected to the current one. */
|
|
112
|
-
private _siblings;
|
|
113
|
-
/** Direction in which the list is oriented. */
|
|
114
|
-
private _orientation;
|
|
115
|
-
/** Connected siblings that currently have a dragged item. */
|
|
116
|
-
private _activeSiblings;
|
|
117
|
-
/** Layout direction of the drop list. */
|
|
118
|
-
private _direction;
|
|
119
|
-
/** Subscription to the window being scrolled. */
|
|
120
|
-
private _viewportScrollSubscription;
|
|
121
|
-
/** Vertical direction in which the list is currently scrolling. */
|
|
122
|
-
private _verticalScrollDirection;
|
|
123
|
-
/** Horizontal direction in which the list is currently scrolling. */
|
|
124
|
-
private _horizontalScrollDirection;
|
|
125
|
-
/** Node that is being auto-scrolled. */
|
|
126
|
-
private _scrollNode;
|
|
127
|
-
/** Used to signal to the current auto-scroll sequence when to stop. */
|
|
128
|
-
private readonly _stopScrollTimers;
|
|
129
|
-
/** Shadow root of the current element. Necessary for `elementFromPoint` to resolve correctly. */
|
|
130
|
-
private _cachedShadowRoot;
|
|
131
|
-
/** Reference to the document. */
|
|
132
|
-
private _document;
|
|
133
|
-
/** Elements that can be scrolled while the user is dragging. */
|
|
134
|
-
private _scrollableElements;
|
|
135
|
-
/** Initial value for the element's `scroll-snap-type` style. */
|
|
136
|
-
private _initialScrollSnap;
|
|
137
|
-
constructor(element: ElementRef<HTMLElement> | HTMLElement, _dragDropRegistry: DragDropRegistry<DragRef, DropListRef>, _document: any, _ngZone: NgZone, _viewportRuler: ViewportRuler);
|
|
138
|
-
/** Removes the drop list functionality from the DOM element. */
|
|
139
|
-
dispose(): void;
|
|
140
|
-
/** Whether an item from this list is currently being dragged. */
|
|
141
|
-
isDragging(): boolean;
|
|
142
|
-
/** Starts dragging an item. */
|
|
143
|
-
start(): void;
|
|
144
|
-
/**
|
|
145
|
-
* Emits an event to indicate that the user moved an item into the container.
|
|
146
|
-
* @param item Item that was moved into the container.
|
|
147
|
-
* @param pointerX Position of the item along the X axis.
|
|
148
|
-
* @param pointerY Position of the item along the Y axis.
|
|
149
|
-
* @param index Index at which the item entered. If omitted, the container will try to figure it
|
|
150
|
-
* out automatically.
|
|
151
|
-
*/
|
|
152
|
-
enter(item: DragRef, pointerX: number, pointerY: number, index?: number): void;
|
|
153
|
-
/**
|
|
154
|
-
* Removes an item from the container after it was dragged into another container by the user.
|
|
155
|
-
* @param item Item that was dragged out.
|
|
156
|
-
*/
|
|
157
|
-
exit(item: DragRef): void;
|
|
158
|
-
/**
|
|
159
|
-
* Drops an item into this container.
|
|
160
|
-
* @param item Item being dropped into the container.
|
|
161
|
-
* @param currentIndex Index at which the item should be inserted.
|
|
162
|
-
* @param previousIndex Index of the item when dragging started.
|
|
163
|
-
* @param previousContainer Container from which the item got dragged in.
|
|
164
|
-
* @param isPointerOverContainer Whether the user's pointer was over the
|
|
165
|
-
* container when the item was dropped.
|
|
166
|
-
* @param distance Distance the user has dragged since the start of the dragging sequence.
|
|
167
|
-
* @param event Event that triggered the dropping sequence.
|
|
168
|
-
*
|
|
169
|
-
* @breaking-change 15.0.0 `previousIndex` and `event` parameters to become required.
|
|
170
|
-
*/
|
|
171
|
-
drop(item: DragRef, currentIndex: number, previousIndex: number, previousContainer: DropListRef, isPointerOverContainer: boolean, distance: Point, dropPoint: Point, event?: MouseEvent | TouchEvent): void;
|
|
172
|
-
/**
|
|
173
|
-
* Sets the draggable items that are a part of this list.
|
|
174
|
-
* @param items Items that are a part of this list.
|
|
175
|
-
*/
|
|
176
|
-
withItems(items: DragRef[]): this;
|
|
177
|
-
/** Sets the layout direction of the drop list. */
|
|
178
|
-
withDirection(direction: Direction): this;
|
|
179
|
-
/**
|
|
180
|
-
* Sets the containers that are connected to this one. When two or more containers are
|
|
181
|
-
* connected, the user will be allowed to transfer items between them.
|
|
182
|
-
* @param connectedTo Other containers that the current containers should be connected to.
|
|
183
|
-
*/
|
|
184
|
-
connectedTo(connectedTo: DropListRef[]): this;
|
|
185
|
-
/**
|
|
186
|
-
* Sets the orientation of the container.
|
|
187
|
-
* @param orientation New orientation for the container.
|
|
188
|
-
*/
|
|
189
|
-
withOrientation(orientation: 'vertical' | 'horizontal'): this;
|
|
190
|
-
/**
|
|
191
|
-
* Sets which parent elements are can be scrolled while the user is dragging.
|
|
192
|
-
* @param elements Elements that can be scrolled.
|
|
193
|
-
*/
|
|
194
|
-
withScrollableParents(elements: HTMLElement[]): this;
|
|
195
|
-
/** Gets the scrollable parents that are registered with this drop container. */
|
|
196
|
-
getScrollableParents(): readonly HTMLElement[];
|
|
197
|
-
/**
|
|
198
|
-
* Figures out the index of an item in the container.
|
|
199
|
-
* @param item Item whose index should be determined.
|
|
200
|
-
*/
|
|
201
|
-
getItemIndex(item: DragRef): number;
|
|
202
|
-
/**
|
|
203
|
-
* Whether the list is able to receive the item that
|
|
204
|
-
* is currently being dragged inside a connected drop list.
|
|
205
|
-
*/
|
|
206
|
-
isReceiving(): boolean;
|
|
207
|
-
/**
|
|
208
|
-
* Sorts an item inside the container based on its position.
|
|
209
|
-
* @param item Item to be sorted.
|
|
210
|
-
* @param pointerX Position of the item along the X axis.
|
|
211
|
-
* @param pointerY Position of the item along the Y axis.
|
|
212
|
-
* @param pointerDelta Direction in which the pointer is moving along each axis.
|
|
213
|
-
*/
|
|
214
|
-
_sortItem(item: DragRef, pointerX: number, pointerY: number, pointerDelta: {
|
|
215
|
-
x: number;
|
|
216
|
-
y: number;
|
|
217
|
-
}): void;
|
|
218
|
-
/**
|
|
219
|
-
* Checks whether the user's pointer is close to the edges of either the
|
|
220
|
-
* viewport or the drop list and starts the auto-scroll sequence.
|
|
221
|
-
* @param pointerX User's pointer position along the x axis.
|
|
222
|
-
* @param pointerY User's pointer position along the y axis.
|
|
223
|
-
*/
|
|
224
|
-
_startScrollingIfNecessary(pointerX: number, pointerY: number): void;
|
|
225
|
-
/** Stops any currently-running auto-scroll sequences. */
|
|
226
|
-
_stopScrolling(): void;
|
|
227
|
-
/** Starts the dragging sequence within the list. */
|
|
228
|
-
private _draggingStarted;
|
|
229
|
-
/** Caches the positions of the configured scrollable parents. */
|
|
230
|
-
private _cacheParentPositions;
|
|
231
|
-
/** Refreshes the position cache of the items and sibling containers. */
|
|
232
|
-
private _cacheItemPositions;
|
|
233
|
-
/** Resets the container to its initial state. */
|
|
234
|
-
private _reset;
|
|
235
|
-
/**
|
|
236
|
-
* Gets the offset in pixels by which the items that aren't being dragged should be moved.
|
|
237
|
-
* @param currentIndex Index of the item currently being dragged.
|
|
238
|
-
* @param siblings All of the items in the list.
|
|
239
|
-
* @param delta Direction in which the user is moving.
|
|
240
|
-
*/
|
|
241
|
-
private _getSiblingOffsetPx;
|
|
242
|
-
/**
|
|
243
|
-
* Gets the offset in pixels by which the item that is being dragged should be moved.
|
|
244
|
-
* @param currentPosition Current position of the item.
|
|
245
|
-
* @param newPosition Position of the item where the current item should be moved.
|
|
246
|
-
* @param delta Direction in which the user is moving.
|
|
247
|
-
*/
|
|
248
|
-
private _getItemOffsetPx;
|
|
249
|
-
/**
|
|
250
|
-
* Checks if pointer is entering in the first position
|
|
251
|
-
* @param pointerX Position of the user's pointer along the X axis.
|
|
252
|
-
* @param pointerY Position of the user's pointer along the Y axis.
|
|
253
|
-
*/
|
|
254
|
-
private _shouldEnterAsFirstChild;
|
|
255
|
-
/**
|
|
256
|
-
* Gets the index of an item in the drop container, based on the position of the user's pointer.
|
|
257
|
-
* @param item Item that is being sorted.
|
|
258
|
-
* @param pointerX Position of the user's pointer along the X axis.
|
|
259
|
-
* @param pointerY Position of the user's pointer along the Y axis.
|
|
260
|
-
* @param delta Direction in which the user is moving their pointer.
|
|
261
|
-
*/
|
|
262
|
-
private _getItemIndexFromPointerPosition;
|
|
263
|
-
/** Caches the current items in the list and their positions. */
|
|
264
|
-
private _cacheItems;
|
|
265
|
-
/** Starts the interval that'll auto-scroll the element. */
|
|
266
|
-
private _startScrollInterval;
|
|
267
|
-
/**
|
|
268
|
-
* Checks whether the user's pointer is positioned over the container.
|
|
269
|
-
* @param x Pointer position along the X axis.
|
|
270
|
-
* @param y Pointer position along the Y axis.
|
|
271
|
-
*/
|
|
272
|
-
_isOverContainer(x: number, y: number): boolean;
|
|
273
|
-
/**
|
|
274
|
-
* Figures out whether an item should be moved into a sibling
|
|
275
|
-
* drop container, based on its current position.
|
|
276
|
-
* @param item Drag item that is being moved.
|
|
277
|
-
* @param x Position of the item along the X axis.
|
|
278
|
-
* @param y Position of the item along the Y axis.
|
|
279
|
-
*/
|
|
280
|
-
_getSiblingContainerFromPosition(item: DragRef, x: number, y: number): DropListRef | undefined;
|
|
281
|
-
/**
|
|
282
|
-
* Checks whether the drop list can receive the passed-in item.
|
|
283
|
-
* @param item Item that is being dragged into the list.
|
|
284
|
-
* @param x Position of the item along the X axis.
|
|
285
|
-
* @param y Position of the item along the Y axis.
|
|
286
|
-
*/
|
|
287
|
-
_canReceive(item: DragRef, x: number, y: number): boolean;
|
|
288
|
-
/**
|
|
289
|
-
* Called by one of the connected drop lists when a dragging sequence has started.
|
|
290
|
-
* @param sibling Sibling in which dragging has started.
|
|
291
|
-
*/
|
|
292
|
-
_startReceiving(sibling: DropListRef, items: DragRef[]): void;
|
|
293
|
-
/**
|
|
294
|
-
* Called by a connected drop list when dragging has stopped.
|
|
295
|
-
* @param sibling Sibling whose dragging has stopped.
|
|
296
|
-
*/
|
|
297
|
-
_stopReceiving(sibling: DropListRef): void;
|
|
298
|
-
/**
|
|
299
|
-
* Starts listening to scroll events on the viewport.
|
|
300
|
-
* Used for updating the internal state of the list.
|
|
301
|
-
*/
|
|
302
|
-
private _listenToScrollEvents;
|
|
303
|
-
/**
|
|
304
|
-
* Lazily resolves and returns the shadow root of the element. We do this in a function, rather
|
|
305
|
-
* than saving it in property directly on init, because we want to resolve it as late as possible
|
|
306
|
-
* in order to ensure that the element has been moved into the shadow DOM. Doing it inside the
|
|
307
|
-
* constructor might be too early if the element is inside of something like `ngFor` or `ngIf`.
|
|
308
|
-
*/
|
|
309
|
-
private _getShadowRoot;
|
|
310
|
-
/** Notifies any siblings that may potentially receive the item. */
|
|
311
|
-
private _notifyReceivingSiblings;
|
|
312
|
-
}
|
package/drag-drop/package.json
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@angular/cdk/drag-drop",
|
|
3
|
-
"fesm2020": "../fesm2020/drag-drop.mjs",
|
|
4
|
-
"fesm2015": "../fesm2015/drag-drop.mjs",
|
|
5
|
-
"esm2020": "../esm2020/drag-drop/drag-drop_public_index.mjs",
|
|
6
|
-
"typings": "./drag-drop_public_index.d.ts",
|
|
7
|
-
"module": "../fesm2015/drag-drop.mjs",
|
|
8
|
-
"es2020": "../fesm2020/drag-drop.mjs"
|
|
9
|
-
}
|
|
@@ -1,39 +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
|
-
/** Object holding the scroll position of something. */
|
|
9
|
-
interface ScrollPosition {
|
|
10
|
-
top: number;
|
|
11
|
-
left: number;
|
|
12
|
-
}
|
|
13
|
-
/** Keeps track of the scroll position and dimensions of the parents of an element. */
|
|
14
|
-
export declare class ParentPositionTracker {
|
|
15
|
-
private _document;
|
|
16
|
-
/** Cached positions of the scrollable parent elements. */
|
|
17
|
-
readonly positions: Map<HTMLElement | Document, {
|
|
18
|
-
scrollPosition: ScrollPosition;
|
|
19
|
-
clientRect?: ClientRect | undefined;
|
|
20
|
-
}>;
|
|
21
|
-
constructor(_document: Document);
|
|
22
|
-
/** Clears the cached positions. */
|
|
23
|
-
clear(): void;
|
|
24
|
-
/** Caches the positions. Should be called at the beginning of a drag sequence. */
|
|
25
|
-
cache(elements: readonly HTMLElement[]): void;
|
|
26
|
-
/** Handles scrolling while a drag is taking place. */
|
|
27
|
-
handleScroll(event: Event): ScrollPosition | null;
|
|
28
|
-
/**
|
|
29
|
-
* Gets the scroll position of the viewport. Note that we use the scrollX and scrollY directly,
|
|
30
|
-
* instead of going through the `ViewportRuler`, because the first value the ruler looks at is
|
|
31
|
-
* the top/left offset of the `document.documentElement` which works for most cases, but breaks
|
|
32
|
-
* if the element is offset by something like the `BlockScrollStrategy`.
|
|
33
|
-
*/
|
|
34
|
-
getViewportScrollPosition(): {
|
|
35
|
-
top: number;
|
|
36
|
-
left: number;
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
export {};
|
|
@@ -1,22 +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 { DragDrop } from './drag-drop';
|
|
9
|
-
export { DragRef, DragRefConfig, Point, PreviewContainer } from './drag-ref';
|
|
10
|
-
export { DropListRef } from './drop-list-ref';
|
|
11
|
-
export { CDK_DRAG_PARENT } from './drag-parent';
|
|
12
|
-
export * from './drag-events';
|
|
13
|
-
export * from './drag-utils';
|
|
14
|
-
export * from './drag-drop-module';
|
|
15
|
-
export * from './drag-drop-registry';
|
|
16
|
-
export { CdkDropList, CDK_DROP_LIST } from './directives/drop-list';
|
|
17
|
-
export * from './directives/config';
|
|
18
|
-
export * from './directives/drop-list-group';
|
|
19
|
-
export * from './directives/drag';
|
|
20
|
-
export * from './directives/drag-handle';
|
|
21
|
-
export * from './directives/drag-preview';
|
|
22
|
-
export * from './directives/drag-placeholder';
|
|
@@ -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
|
-
/** Gets the transform transition duration, including the delay, of an element in milliseconds. */
|
|
9
|
-
export declare function getTransformTransitionDurationInMs(element: HTMLElement): number;
|
package/keycodes/keycodes.d.ts
DELETED
|
@@ -1,126 +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 declare const MAC_ENTER = 3;
|
|
9
|
-
export declare const BACKSPACE = 8;
|
|
10
|
-
export declare const TAB = 9;
|
|
11
|
-
export declare const NUM_CENTER = 12;
|
|
12
|
-
export declare const ENTER = 13;
|
|
13
|
-
export declare const SHIFT = 16;
|
|
14
|
-
export declare const CONTROL = 17;
|
|
15
|
-
export declare const ALT = 18;
|
|
16
|
-
export declare const PAUSE = 19;
|
|
17
|
-
export declare const CAPS_LOCK = 20;
|
|
18
|
-
export declare const ESCAPE = 27;
|
|
19
|
-
export declare const SPACE = 32;
|
|
20
|
-
export declare const PAGE_UP = 33;
|
|
21
|
-
export declare const PAGE_DOWN = 34;
|
|
22
|
-
export declare const END = 35;
|
|
23
|
-
export declare const HOME = 36;
|
|
24
|
-
export declare const LEFT_ARROW = 37;
|
|
25
|
-
export declare const UP_ARROW = 38;
|
|
26
|
-
export declare const RIGHT_ARROW = 39;
|
|
27
|
-
export declare const DOWN_ARROW = 40;
|
|
28
|
-
export declare const PLUS_SIGN = 43;
|
|
29
|
-
export declare const PRINT_SCREEN = 44;
|
|
30
|
-
export declare const INSERT = 45;
|
|
31
|
-
export declare const DELETE = 46;
|
|
32
|
-
export declare const ZERO = 48;
|
|
33
|
-
export declare const ONE = 49;
|
|
34
|
-
export declare const TWO = 50;
|
|
35
|
-
export declare const THREE = 51;
|
|
36
|
-
export declare const FOUR = 52;
|
|
37
|
-
export declare const FIVE = 53;
|
|
38
|
-
export declare const SIX = 54;
|
|
39
|
-
export declare const SEVEN = 55;
|
|
40
|
-
export declare const EIGHT = 56;
|
|
41
|
-
export declare const NINE = 57;
|
|
42
|
-
export declare const FF_SEMICOLON = 59;
|
|
43
|
-
export declare const FF_EQUALS = 61;
|
|
44
|
-
export declare const QUESTION_MARK = 63;
|
|
45
|
-
export declare const AT_SIGN = 64;
|
|
46
|
-
export declare const A = 65;
|
|
47
|
-
export declare const B = 66;
|
|
48
|
-
export declare const C = 67;
|
|
49
|
-
export declare const D = 68;
|
|
50
|
-
export declare const E = 69;
|
|
51
|
-
export declare const F = 70;
|
|
52
|
-
export declare const G = 71;
|
|
53
|
-
export declare const H = 72;
|
|
54
|
-
export declare const I = 73;
|
|
55
|
-
export declare const J = 74;
|
|
56
|
-
export declare const K = 75;
|
|
57
|
-
export declare const L = 76;
|
|
58
|
-
export declare const M = 77;
|
|
59
|
-
export declare const N = 78;
|
|
60
|
-
export declare const O = 79;
|
|
61
|
-
export declare const P = 80;
|
|
62
|
-
export declare const Q = 81;
|
|
63
|
-
export declare const R = 82;
|
|
64
|
-
export declare const S = 83;
|
|
65
|
-
export declare const T = 84;
|
|
66
|
-
export declare const U = 85;
|
|
67
|
-
export declare const V = 86;
|
|
68
|
-
export declare const W = 87;
|
|
69
|
-
export declare const X = 88;
|
|
70
|
-
export declare const Y = 89;
|
|
71
|
-
export declare const Z = 90;
|
|
72
|
-
export declare const META = 91;
|
|
73
|
-
export declare const MAC_WK_CMD_LEFT = 91;
|
|
74
|
-
export declare const MAC_WK_CMD_RIGHT = 93;
|
|
75
|
-
export declare const CONTEXT_MENU = 93;
|
|
76
|
-
export declare const NUMPAD_ZERO = 96;
|
|
77
|
-
export declare const NUMPAD_ONE = 97;
|
|
78
|
-
export declare const NUMPAD_TWO = 98;
|
|
79
|
-
export declare const NUMPAD_THREE = 99;
|
|
80
|
-
export declare const NUMPAD_FOUR = 100;
|
|
81
|
-
export declare const NUMPAD_FIVE = 101;
|
|
82
|
-
export declare const NUMPAD_SIX = 102;
|
|
83
|
-
export declare const NUMPAD_SEVEN = 103;
|
|
84
|
-
export declare const NUMPAD_EIGHT = 104;
|
|
85
|
-
export declare const NUMPAD_NINE = 105;
|
|
86
|
-
export declare const NUMPAD_MULTIPLY = 106;
|
|
87
|
-
export declare const NUMPAD_PLUS = 107;
|
|
88
|
-
export declare const NUMPAD_MINUS = 109;
|
|
89
|
-
export declare const NUMPAD_PERIOD = 110;
|
|
90
|
-
export declare const NUMPAD_DIVIDE = 111;
|
|
91
|
-
export declare const F1 = 112;
|
|
92
|
-
export declare const F2 = 113;
|
|
93
|
-
export declare const F3 = 114;
|
|
94
|
-
export declare const F4 = 115;
|
|
95
|
-
export declare const F5 = 116;
|
|
96
|
-
export declare const F6 = 117;
|
|
97
|
-
export declare const F7 = 118;
|
|
98
|
-
export declare const F8 = 119;
|
|
99
|
-
export declare const F9 = 120;
|
|
100
|
-
export declare const F10 = 121;
|
|
101
|
-
export declare const F11 = 122;
|
|
102
|
-
export declare const F12 = 123;
|
|
103
|
-
export declare const NUM_LOCK = 144;
|
|
104
|
-
export declare const SCROLL_LOCK = 145;
|
|
105
|
-
export declare const FIRST_MEDIA = 166;
|
|
106
|
-
export declare const FF_MINUS = 173;
|
|
107
|
-
export declare const MUTE = 173;
|
|
108
|
-
export declare const VOLUME_DOWN = 174;
|
|
109
|
-
export declare const VOLUME_UP = 175;
|
|
110
|
-
export declare const FF_MUTE = 181;
|
|
111
|
-
export declare const FF_VOLUME_DOWN = 182;
|
|
112
|
-
export declare const LAST_MEDIA = 183;
|
|
113
|
-
export declare const FF_VOLUME_UP = 183;
|
|
114
|
-
export declare const SEMICOLON = 186;
|
|
115
|
-
export declare const EQUALS = 187;
|
|
116
|
-
export declare const COMMA = 188;
|
|
117
|
-
export declare const DASH = 189;
|
|
118
|
-
export declare const PERIOD = 190;
|
|
119
|
-
export declare const SLASH = 191;
|
|
120
|
-
export declare const APOSTROPHE = 192;
|
|
121
|
-
export declare const TILDE = 192;
|
|
122
|
-
export declare const OPEN_SQUARE_BRACKET = 219;
|
|
123
|
-
export declare const BACKSLASH = 220;
|
|
124
|
-
export declare const CLOSE_SQUARE_BRACKET = 221;
|
|
125
|
-
export declare const SINGLE_QUOTE = 222;
|
|
126
|
-
export declare const MAC_META = 224;
|
package/keycodes/modifiers.d.ts
DELETED
|
@@ -1,14 +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
|
-
declare type ModifierKey = 'altKey' | 'shiftKey' | 'ctrlKey' | 'metaKey';
|
|
9
|
-
/**
|
|
10
|
-
* Checks whether a modifier key is pressed.
|
|
11
|
-
* @param event Event to be checked.
|
|
12
|
-
*/
|
|
13
|
-
export declare function hasModifierKey(event: KeyboardEvent, ...modifiers: ModifierKey[]): boolean;
|
|
14
|
-
export {};
|
package/keycodes/package.json
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@angular/cdk/keycodes",
|
|
3
|
-
"fesm2020": "../fesm2020/keycodes.mjs",
|
|
4
|
-
"fesm2015": "../fesm2015/keycodes.mjs",
|
|
5
|
-
"esm2020": "../esm2020/keycodes/keycodes_public_index.mjs",
|
|
6
|
-
"typings": "./keycodes_public_index.d.ts",
|
|
7
|
-
"module": "../fesm2015/keycodes.mjs",
|
|
8
|
-
"es2020": "../fesm2020/keycodes.mjs"
|
|
9
|
-
}
|
package/keycodes/public-api.d.ts
DELETED
|
@@ -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 * from './keycodes';
|
|
9
|
-
export * from './modifiers';
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { NgZone, OnDestroy } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { MediaMatcher } from './media-matcher';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/** The current state of a layout breakpoint. */
|
|
6
|
-
export interface BreakpointState {
|
|
7
|
-
/** Whether the breakpoint is currently matching. */
|
|
8
|
-
matches: boolean;
|
|
9
|
-
/**
|
|
10
|
-
* A key boolean pair for each query provided to the observe method,
|
|
11
|
-
* with its current matched state.
|
|
12
|
-
*/
|
|
13
|
-
breakpoints: {
|
|
14
|
-
[key: string]: boolean;
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
/** Utility for checking the matching state of @media queries. */
|
|
18
|
-
export declare class BreakpointObserver implements OnDestroy {
|
|
19
|
-
private _mediaMatcher;
|
|
20
|
-
private _zone;
|
|
21
|
-
/** A map of all media queries currently being listened for. */
|
|
22
|
-
private _queries;
|
|
23
|
-
/** A subject for all other observables to takeUntil based on. */
|
|
24
|
-
private readonly _destroySubject;
|
|
25
|
-
constructor(_mediaMatcher: MediaMatcher, _zone: NgZone);
|
|
26
|
-
/** Completes the active subject, signalling to all other observables to complete. */
|
|
27
|
-
ngOnDestroy(): void;
|
|
28
|
-
/**
|
|
29
|
-
* Whether one or more media queries match the current viewport size.
|
|
30
|
-
* @param value One or more media queries to check.
|
|
31
|
-
* @returns Whether any of the media queries match.
|
|
32
|
-
*/
|
|
33
|
-
isMatched(value: string | readonly string[]): boolean;
|
|
34
|
-
/**
|
|
35
|
-
* Gets an observable of results for the given queries that will emit new results for any changes
|
|
36
|
-
* in matching of the given queries.
|
|
37
|
-
* @param value One or more media queries to check.
|
|
38
|
-
* @returns A stream of matches for the given queries.
|
|
39
|
-
*/
|
|
40
|
-
observe(value: string | readonly string[]): Observable<BreakpointState>;
|
|
41
|
-
/** Registers a specific query to be listened for. */
|
|
42
|
-
private _registerQuery;
|
|
43
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BreakpointObserver, never>;
|
|
44
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BreakpointObserver>;
|
|
45
|
-
}
|
package/layout/breakpoints.d.ts
DELETED
|
@@ -1,23 +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 declare const Breakpoints: {
|
|
9
|
-
XSmall: string;
|
|
10
|
-
Small: string;
|
|
11
|
-
Medium: string;
|
|
12
|
-
Large: string;
|
|
13
|
-
XLarge: string;
|
|
14
|
-
Handset: string;
|
|
15
|
-
Tablet: string;
|
|
16
|
-
Web: string;
|
|
17
|
-
HandsetPortrait: string;
|
|
18
|
-
TabletPortrait: string;
|
|
19
|
-
WebPortrait: string;
|
|
20
|
-
HandsetLandscape: string;
|
|
21
|
-
TabletLandscape: string;
|
|
22
|
-
WebLandscape: string;
|
|
23
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class LayoutModule {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutModule, never>;
|
|
4
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<LayoutModule, never, never, never>;
|
|
5
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<LayoutModule>;
|
|
6
|
-
}
|
|
@@ -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
|
-
}
|