@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/table/can-stick.d.ts
DELETED
|
@@ -1,34 +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
|
-
/** @docs-private */
|
|
9
|
-
export declare type Constructor<T> = new (...args: any[]) => T;
|
|
10
|
-
/**
|
|
11
|
-
* Interface for a mixin to provide a directive with a function that checks if the sticky input has
|
|
12
|
-
* been changed since the last time the function was called. Essentially adds a dirty-check to the
|
|
13
|
-
* sticky value.
|
|
14
|
-
* @docs-private
|
|
15
|
-
*/
|
|
16
|
-
export interface CanStick {
|
|
17
|
-
/** Whether sticky positioning should be applied. */
|
|
18
|
-
sticky: boolean;
|
|
19
|
-
/** Whether the sticky input has changed since it was last checked. */
|
|
20
|
-
_hasStickyChanged: boolean;
|
|
21
|
-
/** Whether the sticky value has changed since this was last called. */
|
|
22
|
-
hasStickyChanged(): boolean;
|
|
23
|
-
/** Resets the dirty check for cases where the sticky state has been used without checking. */
|
|
24
|
-
resetStickyChanged(): void;
|
|
25
|
-
}
|
|
26
|
-
/** @docs-private */
|
|
27
|
-
export declare type CanStickCtor = Constructor<CanStick>;
|
|
28
|
-
/**
|
|
29
|
-
* Mixin to provide a directive with a function that checks if the sticky input has been
|
|
30
|
-
* changed since the last time the function was called. Essentially adds a dirty-check to the
|
|
31
|
-
* sticky value.
|
|
32
|
-
* @docs-private
|
|
33
|
-
*/
|
|
34
|
-
export declare function mixinHasStickyInput<T extends Constructor<{}>>(base: T): CanStickCtor & T;
|
package/table/cell.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
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
9
|
-
import { ElementRef, TemplateRef } from '@angular/core';
|
|
10
|
-
import { CanStick, CanStickCtor } from './can-stick';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
/** Base interface for a cell definition. Captures a column's cell template definition. */
|
|
13
|
-
export interface CellDef {
|
|
14
|
-
template: TemplateRef<any>;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Cell definition for a CDK table.
|
|
18
|
-
* Captures the template of a column's data row cell as well as cell-specific properties.
|
|
19
|
-
*/
|
|
20
|
-
export declare class CdkCellDef implements CellDef {
|
|
21
|
-
template: TemplateRef<any>;
|
|
22
|
-
constructor(/** @docs-private */ template: TemplateRef<any>);
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkCellDef, never>;
|
|
24
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkCellDef, "[cdkCellDef]", never, {}, {}, never>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Header cell definition for a CDK table.
|
|
28
|
-
* Captures the template of a column's header cell and as well as cell-specific properties.
|
|
29
|
-
*/
|
|
30
|
-
export declare class CdkHeaderCellDef implements CellDef {
|
|
31
|
-
template: TemplateRef<any>;
|
|
32
|
-
constructor(/** @docs-private */ template: TemplateRef<any>);
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkHeaderCellDef, never>;
|
|
34
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkHeaderCellDef, "[cdkHeaderCellDef]", never, {}, {}, never>;
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* Footer cell definition for a CDK table.
|
|
38
|
-
* Captures the template of a column's footer cell and as well as cell-specific properties.
|
|
39
|
-
*/
|
|
40
|
-
export declare class CdkFooterCellDef implements CellDef {
|
|
41
|
-
template: TemplateRef<any>;
|
|
42
|
-
constructor(/** @docs-private */ template: TemplateRef<any>);
|
|
43
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkFooterCellDef, never>;
|
|
44
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkFooterCellDef, "[cdkFooterCellDef]", never, {}, {}, never>;
|
|
45
|
-
}
|
|
46
|
-
/** @docs-private */
|
|
47
|
-
declare class CdkColumnDefBase {
|
|
48
|
-
}
|
|
49
|
-
declare const _CdkColumnDefBase: CanStickCtor & typeof CdkColumnDefBase;
|
|
50
|
-
/**
|
|
51
|
-
* Column definition for the CDK table.
|
|
52
|
-
* Defines a set of cells available for a table column.
|
|
53
|
-
*/
|
|
54
|
-
export declare class CdkColumnDef extends _CdkColumnDefBase implements CanStick {
|
|
55
|
-
_table?: any;
|
|
56
|
-
/** Unique name for this column. */
|
|
57
|
-
get name(): string;
|
|
58
|
-
set name(name: string);
|
|
59
|
-
protected _name: string;
|
|
60
|
-
/**
|
|
61
|
-
* Whether this column should be sticky positioned on the end of the row. Should make sure
|
|
62
|
-
* that it mimics the `CanStick` mixin such that `_hasStickyChanged` is set to true if the value
|
|
63
|
-
* has been changed.
|
|
64
|
-
*/
|
|
65
|
-
get stickyEnd(): boolean;
|
|
66
|
-
set stickyEnd(v: BooleanInput);
|
|
67
|
-
_stickyEnd: boolean;
|
|
68
|
-
/** @docs-private */
|
|
69
|
-
cell: CdkCellDef;
|
|
70
|
-
/** @docs-private */
|
|
71
|
-
headerCell: CdkHeaderCellDef;
|
|
72
|
-
/** @docs-private */
|
|
73
|
-
footerCell: CdkFooterCellDef;
|
|
74
|
-
/**
|
|
75
|
-
* Transformed version of the column name that can be used as part of a CSS classname. Excludes
|
|
76
|
-
* all non-alphanumeric characters and the special characters '-' and '_'. Any characters that
|
|
77
|
-
* do not match are replaced by the '-' character.
|
|
78
|
-
*/
|
|
79
|
-
cssClassFriendlyName: string;
|
|
80
|
-
/**
|
|
81
|
-
* Class name for cells in this column.
|
|
82
|
-
* @docs-private
|
|
83
|
-
*/
|
|
84
|
-
_columnCssClassName: string[];
|
|
85
|
-
constructor(_table?: any);
|
|
86
|
-
/**
|
|
87
|
-
* Overridable method that sets the css classes that will be added to every cell in this
|
|
88
|
-
* column.
|
|
89
|
-
* In the future, columnCssClassName will change from type string[] to string and this
|
|
90
|
-
* will set a single string value.
|
|
91
|
-
* @docs-private
|
|
92
|
-
*/
|
|
93
|
-
protected _updateColumnCssClassName(): void;
|
|
94
|
-
/**
|
|
95
|
-
* This has been extracted to a util because of TS 4 and VE.
|
|
96
|
-
* View Engine doesn't support property rename inheritance.
|
|
97
|
-
* TS 4.0 doesn't allow properties to override accessors or vice-versa.
|
|
98
|
-
* @docs-private
|
|
99
|
-
*/
|
|
100
|
-
protected _setNameInput(value: string): void;
|
|
101
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkColumnDef, [{ optional: true; }]>;
|
|
102
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkColumnDef, "[cdkColumnDef]", never, { "sticky": "sticky"; "name": "cdkColumnDef"; "stickyEnd": "stickyEnd"; }, {}, ["cell", "headerCell", "footerCell"]>;
|
|
103
|
-
}
|
|
104
|
-
/** Base class for the cells. Adds a CSS classname that identifies the column it renders in. */
|
|
105
|
-
export declare class BaseCdkCell {
|
|
106
|
-
constructor(columnDef: CdkColumnDef, elementRef: ElementRef);
|
|
107
|
-
}
|
|
108
|
-
/** Header cell template container that adds the right classes and role. */
|
|
109
|
-
export declare class CdkHeaderCell extends BaseCdkCell {
|
|
110
|
-
constructor(columnDef: CdkColumnDef, elementRef: ElementRef);
|
|
111
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkHeaderCell, never>;
|
|
112
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkHeaderCell, "cdk-header-cell, th[cdk-header-cell]", never, {}, {}, never>;
|
|
113
|
-
}
|
|
114
|
-
/** Footer cell template container that adds the right classes and role. */
|
|
115
|
-
export declare class CdkFooterCell extends BaseCdkCell {
|
|
116
|
-
constructor(columnDef: CdkColumnDef, elementRef: ElementRef);
|
|
117
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkFooterCell, never>;
|
|
118
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkFooterCell, "cdk-footer-cell, td[cdk-footer-cell]", never, {}, {}, never>;
|
|
119
|
-
}
|
|
120
|
-
/** Cell template container that adds the right classes and role. */
|
|
121
|
-
export declare class CdkCell extends BaseCdkCell {
|
|
122
|
-
constructor(columnDef: CdkColumnDef, elementRef: ElementRef);
|
|
123
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkCell, never>;
|
|
124
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkCell, "cdk-cell, td[cdk-cell]", never, {}, {}, never>;
|
|
125
|
-
}
|
|
126
|
-
export {};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
import { NgZone, OnDestroy, InjectionToken } from '@angular/core';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
/**
|
|
11
|
-
* @docs-private
|
|
12
|
-
*/
|
|
13
|
-
export declare class _Schedule {
|
|
14
|
-
tasks: (() => unknown)[];
|
|
15
|
-
endTasks: (() => unknown)[];
|
|
16
|
-
}
|
|
17
|
-
/** Injection token used to provide a coalesced style scheduler. */
|
|
18
|
-
export declare const _COALESCED_STYLE_SCHEDULER: InjectionToken<_CoalescedStyleScheduler>;
|
|
19
|
-
/**
|
|
20
|
-
* Allows grouping up CSSDom mutations after the current execution context.
|
|
21
|
-
* This can significantly improve performance when separate consecutive functions are
|
|
22
|
-
* reading from the CSSDom and then mutating it.
|
|
23
|
-
*
|
|
24
|
-
* @docs-private
|
|
25
|
-
*/
|
|
26
|
-
export declare class _CoalescedStyleScheduler implements OnDestroy {
|
|
27
|
-
private readonly _ngZone;
|
|
28
|
-
private _currentSchedule;
|
|
29
|
-
private readonly _destroyed;
|
|
30
|
-
constructor(_ngZone: NgZone);
|
|
31
|
-
/**
|
|
32
|
-
* Schedules the specified task to run at the end of the current VM turn.
|
|
33
|
-
*/
|
|
34
|
-
schedule(task: () => unknown): void;
|
|
35
|
-
/**
|
|
36
|
-
* Schedules the specified task to run after other scheduled tasks at the end of the current
|
|
37
|
-
* VM turn.
|
|
38
|
-
*/
|
|
39
|
-
scheduleEnd(task: () => unknown): void;
|
|
40
|
-
/** Prevent any further tasks from running. */
|
|
41
|
-
ngOnDestroy(): void;
|
|
42
|
-
private _createScheduleIfNeeded;
|
|
43
|
-
private _getScheduleObservable;
|
|
44
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<_CoalescedStyleScheduler, never>;
|
|
45
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<_CoalescedStyleScheduler>;
|
|
46
|
-
}
|
package/table/package.json
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@angular/cdk/table",
|
|
3
|
-
"fesm2020": "../fesm2020/table.mjs",
|
|
4
|
-
"fesm2015": "../fesm2015/table.mjs",
|
|
5
|
-
"esm2020": "../esm2020/table/table_public_index.mjs",
|
|
6
|
-
"typings": "./table_public_index.d.ts",
|
|
7
|
-
"module": "../fesm2015/table.mjs",
|
|
8
|
-
"es2020": "../fesm2020/table.mjs"
|
|
9
|
-
}
|
package/table/public-api.d.ts
DELETED
|
@@ -1,19 +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 './table';
|
|
9
|
-
export * from './cell';
|
|
10
|
-
export * from './coalesced-style-scheduler';
|
|
11
|
-
export * from './row';
|
|
12
|
-
export * from './table-module';
|
|
13
|
-
export * from './sticky-styler';
|
|
14
|
-
export * from './sticky-position-listener';
|
|
15
|
-
export * from './can-stick';
|
|
16
|
-
export * from './text-column';
|
|
17
|
-
export * from './tokens';
|
|
18
|
-
/** Re-export DataSource for a more intuitive experience for users of just the table. */
|
|
19
|
-
export { DataSource } from '@angular/cdk/collections';
|
package/table/row.d.ts
DELETED
|
@@ -1,175 +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 { IterableChanges, IterableDiffer, IterableDiffers, OnChanges, OnDestroy, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
9
|
-
import { CanStick, CanStickCtor } from './can-stick';
|
|
10
|
-
import { CdkCellDef, CdkColumnDef } from './cell';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
/**
|
|
13
|
-
* The row template that can be used by the mat-table. Should not be used outside of the
|
|
14
|
-
* material library.
|
|
15
|
-
*/
|
|
16
|
-
export declare const CDK_ROW_TEMPLATE = "<ng-container cdkCellOutlet></ng-container>";
|
|
17
|
-
/**
|
|
18
|
-
* Base class for the CdkHeaderRowDef and CdkRowDef that handles checking their columns inputs
|
|
19
|
-
* for changes and notifying the table.
|
|
20
|
-
*/
|
|
21
|
-
export declare abstract class BaseRowDef implements OnChanges {
|
|
22
|
-
/** @docs-private */ template: TemplateRef<any>;
|
|
23
|
-
protected _differs: IterableDiffers;
|
|
24
|
-
/** The columns to be displayed on this row. */
|
|
25
|
-
columns: Iterable<string>;
|
|
26
|
-
/** Differ used to check if any changes were made to the columns. */
|
|
27
|
-
protected _columnsDiffer: IterableDiffer<any>;
|
|
28
|
-
constructor(
|
|
29
|
-
/** @docs-private */ template: TemplateRef<any>, _differs: IterableDiffers);
|
|
30
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
31
|
-
/**
|
|
32
|
-
* Returns the difference between the current columns and the columns from the last diff, or null
|
|
33
|
-
* if there is no difference.
|
|
34
|
-
*/
|
|
35
|
-
getColumnsDiff(): IterableChanges<any> | null;
|
|
36
|
-
/** Gets this row def's relevant cell template from the provided column def. */
|
|
37
|
-
extractCellTemplate(column: CdkColumnDef): TemplateRef<any>;
|
|
38
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseRowDef, never>;
|
|
39
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseRowDef, never, never, {}, {}, never>;
|
|
40
|
-
}
|
|
41
|
-
/** @docs-private */
|
|
42
|
-
declare class CdkHeaderRowDefBase extends BaseRowDef {
|
|
43
|
-
}
|
|
44
|
-
declare const _CdkHeaderRowDefBase: CanStickCtor & typeof CdkHeaderRowDefBase;
|
|
45
|
-
/**
|
|
46
|
-
* Header row definition for the CDK table.
|
|
47
|
-
* Captures the header row's template and other header properties such as the columns to display.
|
|
48
|
-
*/
|
|
49
|
-
export declare class CdkHeaderRowDef extends _CdkHeaderRowDefBase implements CanStick, OnChanges {
|
|
50
|
-
_table?: any;
|
|
51
|
-
constructor(template: TemplateRef<any>, _differs: IterableDiffers, _table?: any);
|
|
52
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
53
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkHeaderRowDef, [null, null, { optional: true; }]>;
|
|
54
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkHeaderRowDef, "[cdkHeaderRowDef]", never, { "columns": "cdkHeaderRowDef"; "sticky": "cdkHeaderRowDefSticky"; }, {}, never>;
|
|
55
|
-
}
|
|
56
|
-
/** @docs-private */
|
|
57
|
-
declare class CdkFooterRowDefBase extends BaseRowDef {
|
|
58
|
-
}
|
|
59
|
-
declare const _CdkFooterRowDefBase: CanStickCtor & typeof CdkFooterRowDefBase;
|
|
60
|
-
/**
|
|
61
|
-
* Footer row definition for the CDK table.
|
|
62
|
-
* Captures the footer row's template and other footer properties such as the columns to display.
|
|
63
|
-
*/
|
|
64
|
-
export declare class CdkFooterRowDef extends _CdkFooterRowDefBase implements CanStick, OnChanges {
|
|
65
|
-
_table?: any;
|
|
66
|
-
constructor(template: TemplateRef<any>, _differs: IterableDiffers, _table?: any);
|
|
67
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
68
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkFooterRowDef, [null, null, { optional: true; }]>;
|
|
69
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkFooterRowDef, "[cdkFooterRowDef]", never, { "columns": "cdkFooterRowDef"; "sticky": "cdkFooterRowDefSticky"; }, {}, never>;
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* Data row definition for the CDK table.
|
|
73
|
-
* Captures the header row's template and other row properties such as the columns to display and
|
|
74
|
-
* a when predicate that describes when this row should be used.
|
|
75
|
-
*/
|
|
76
|
-
export declare class CdkRowDef<T> extends BaseRowDef {
|
|
77
|
-
_table?: any;
|
|
78
|
-
/**
|
|
79
|
-
* Function that should return true if this row template should be used for the provided index
|
|
80
|
-
* and row data. If left undefined, this row will be considered the default row template to use
|
|
81
|
-
* when no other when functions return true for the data.
|
|
82
|
-
* For every row, there must be at least one when function that passes or an undefined to default.
|
|
83
|
-
*/
|
|
84
|
-
when: (index: number, rowData: T) => boolean;
|
|
85
|
-
constructor(template: TemplateRef<any>, _differs: IterableDiffers, _table?: any);
|
|
86
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkRowDef<any>, [null, null, { optional: true; }]>;
|
|
87
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkRowDef<any>, "[cdkRowDef]", never, { "columns": "cdkRowDefColumns"; "when": "cdkRowDefWhen"; }, {}, never>;
|
|
88
|
-
}
|
|
89
|
-
/** Context provided to the row cells when `multiTemplateDataRows` is false */
|
|
90
|
-
export interface CdkCellOutletRowContext<T> {
|
|
91
|
-
/** Data for the row that this cell is located within. */
|
|
92
|
-
$implicit?: T;
|
|
93
|
-
/** Index of the data object in the provided data array. */
|
|
94
|
-
index?: number;
|
|
95
|
-
/** Length of the number of total rows. */
|
|
96
|
-
count?: number;
|
|
97
|
-
/** True if this cell is contained in the first row. */
|
|
98
|
-
first?: boolean;
|
|
99
|
-
/** True if this cell is contained in the last row. */
|
|
100
|
-
last?: boolean;
|
|
101
|
-
/** True if this cell is contained in a row with an even-numbered index. */
|
|
102
|
-
even?: boolean;
|
|
103
|
-
/** True if this cell is contained in a row with an odd-numbered index. */
|
|
104
|
-
odd?: boolean;
|
|
105
|
-
}
|
|
106
|
-
/**
|
|
107
|
-
* Context provided to the row cells when `multiTemplateDataRows` is true. This context is the same
|
|
108
|
-
* as CdkCellOutletRowContext except that the single `index` value is replaced by `dataIndex` and
|
|
109
|
-
* `renderIndex`.
|
|
110
|
-
*/
|
|
111
|
-
export interface CdkCellOutletMultiRowContext<T> {
|
|
112
|
-
/** Data for the row that this cell is located within. */
|
|
113
|
-
$implicit?: T;
|
|
114
|
-
/** Index of the data object in the provided data array. */
|
|
115
|
-
dataIndex?: number;
|
|
116
|
-
/** Index location of the rendered row that this cell is located within. */
|
|
117
|
-
renderIndex?: number;
|
|
118
|
-
/** Length of the number of total rows. */
|
|
119
|
-
count?: number;
|
|
120
|
-
/** True if this cell is contained in the first row. */
|
|
121
|
-
first?: boolean;
|
|
122
|
-
/** True if this cell is contained in the last row. */
|
|
123
|
-
last?: boolean;
|
|
124
|
-
/** True if this cell is contained in a row with an even-numbered index. */
|
|
125
|
-
even?: boolean;
|
|
126
|
-
/** True if this cell is contained in a row with an odd-numbered index. */
|
|
127
|
-
odd?: boolean;
|
|
128
|
-
}
|
|
129
|
-
/**
|
|
130
|
-
* Outlet for rendering cells inside of a row or header row.
|
|
131
|
-
* @docs-private
|
|
132
|
-
*/
|
|
133
|
-
export declare class CdkCellOutlet implements OnDestroy {
|
|
134
|
-
_viewContainer: ViewContainerRef;
|
|
135
|
-
/** The ordered list of cells to render within this outlet's view container */
|
|
136
|
-
cells: CdkCellDef[];
|
|
137
|
-
/** The data context to be provided to each cell */
|
|
138
|
-
context: any;
|
|
139
|
-
/**
|
|
140
|
-
* Static property containing the latest constructed instance of this class.
|
|
141
|
-
* Used by the CDK table when each CdkHeaderRow and CdkRow component is created using
|
|
142
|
-
* createEmbeddedView. After one of these components are created, this property will provide
|
|
143
|
-
* a handle to provide that component's cells and context. After init, the CdkCellOutlet will
|
|
144
|
-
* construct the cells with the provided context.
|
|
145
|
-
*/
|
|
146
|
-
static mostRecentCellOutlet: CdkCellOutlet | null;
|
|
147
|
-
constructor(_viewContainer: ViewContainerRef);
|
|
148
|
-
ngOnDestroy(): void;
|
|
149
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkCellOutlet, never>;
|
|
150
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkCellOutlet, "[cdkCellOutlet]", never, {}, {}, never>;
|
|
151
|
-
}
|
|
152
|
-
/** Header template container that contains the cell outlet. Adds the right class and role. */
|
|
153
|
-
export declare class CdkHeaderRow {
|
|
154
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkHeaderRow, never>;
|
|
155
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CdkHeaderRow, "cdk-header-row, tr[cdk-header-row]", never, {}, {}, never, never>;
|
|
156
|
-
}
|
|
157
|
-
/** Footer template container that contains the cell outlet. Adds the right class and role. */
|
|
158
|
-
export declare class CdkFooterRow {
|
|
159
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkFooterRow, never>;
|
|
160
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CdkFooterRow, "cdk-footer-row, tr[cdk-footer-row]", never, {}, {}, never, never>;
|
|
161
|
-
}
|
|
162
|
-
/** Data row template container that contains the cell outlet. Adds the right class and role. */
|
|
163
|
-
export declare class CdkRow {
|
|
164
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkRow, never>;
|
|
165
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CdkRow, "cdk-row, tr[cdk-row]", never, {}, {}, never, never>;
|
|
166
|
-
}
|
|
167
|
-
/** Row that can be used to display a message when no data is shown in the table. */
|
|
168
|
-
export declare class CdkNoDataRow {
|
|
169
|
-
templateRef: TemplateRef<any>;
|
|
170
|
-
_contentClassName: string;
|
|
171
|
-
constructor(templateRef: TemplateRef<any>);
|
|
172
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkNoDataRow, never>;
|
|
173
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkNoDataRow, "ng-template[cdkNoDataRow]", never, {}, {}, never>;
|
|
174
|
-
}
|
|
175
|
-
export {};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
import { InjectionToken } from '@angular/core';
|
|
9
|
-
/** The injection token used to specify the StickyPositioningListener. */
|
|
10
|
-
export declare const STICKY_POSITIONING_LISTENER: InjectionToken<StickyPositioningListener>;
|
|
11
|
-
export declare type StickySize = number | null | undefined;
|
|
12
|
-
export declare type StickyOffset = number | null | undefined;
|
|
13
|
-
export interface StickyUpdate {
|
|
14
|
-
elements?: readonly (HTMLElement[] | undefined)[];
|
|
15
|
-
offsets?: StickyOffset[];
|
|
16
|
-
sizes: StickySize[];
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* If provided, CdkTable will call the methods below when it updates the size/
|
|
20
|
-
* postion/etc of its sticky rows and columns.
|
|
21
|
-
*/
|
|
22
|
-
export interface StickyPositioningListener {
|
|
23
|
-
/** Called when CdkTable updates its sticky start columns. */
|
|
24
|
-
stickyColumnsUpdated(update: StickyUpdate): void;
|
|
25
|
-
/** Called when CdkTable updates its sticky end columns. */
|
|
26
|
-
stickyEndColumnsUpdated(update: StickyUpdate): void;
|
|
27
|
-
/** Called when CdkTable updates its sticky header rows. */
|
|
28
|
-
stickyHeaderRowsUpdated(update: StickyUpdate): void;
|
|
29
|
-
/** Called when CdkTable updates its sticky footer rows. */
|
|
30
|
-
stickyFooterRowsUpdated(update: StickyUpdate): void;
|
|
31
|
-
}
|
package/table/sticky-styler.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
|
-
/**
|
|
9
|
-
* Directions that can be used when setting sticky positioning.
|
|
10
|
-
* @docs-private
|
|
11
|
-
*/
|
|
12
|
-
import { Direction } from '@angular/cdk/bidi';
|
|
13
|
-
import { _CoalescedStyleScheduler } from './coalesced-style-scheduler';
|
|
14
|
-
import { StickyPositioningListener } from './sticky-position-listener';
|
|
15
|
-
export declare type StickyDirection = 'top' | 'bottom' | 'left' | 'right';
|
|
16
|
-
/**
|
|
17
|
-
* List of all possible directions that can be used for sticky positioning.
|
|
18
|
-
* @docs-private
|
|
19
|
-
*/
|
|
20
|
-
export declare const STICKY_DIRECTIONS: StickyDirection[];
|
|
21
|
-
/**
|
|
22
|
-
* Applies and removes sticky positioning styles to the `CdkTable` rows and columns cells.
|
|
23
|
-
* @docs-private
|
|
24
|
-
*/
|
|
25
|
-
export declare class StickyStyler {
|
|
26
|
-
private _isNativeHtmlTable;
|
|
27
|
-
private _stickCellCss;
|
|
28
|
-
direction: Direction;
|
|
29
|
-
private _coalescedStyleScheduler;
|
|
30
|
-
private _isBrowser;
|
|
31
|
-
private readonly _needsPositionStickyOnElement;
|
|
32
|
-
private readonly _positionListener?;
|
|
33
|
-
private _cachedCellWidths;
|
|
34
|
-
private readonly _borderCellCss;
|
|
35
|
-
/**
|
|
36
|
-
* @param _isNativeHtmlTable Whether the sticky logic should be based on a table
|
|
37
|
-
* that uses the native `<table>` element.
|
|
38
|
-
* @param _stickCellCss The CSS class that will be applied to every row/cell that has
|
|
39
|
-
* sticky positioning applied.
|
|
40
|
-
* @param direction The directionality context of the table (ltr/rtl); affects column positioning
|
|
41
|
-
* by reversing left/right positions.
|
|
42
|
-
* @param _isBrowser Whether the table is currently being rendered on the server or the client.
|
|
43
|
-
* @param _needsPositionStickyOnElement Whether we need to specify position: sticky on cells
|
|
44
|
-
* using inline styles. If false, it is assumed that position: sticky is included in
|
|
45
|
-
* the component stylesheet for _stickCellCss.
|
|
46
|
-
* @param _positionListener A listener that is notified of changes to sticky rows/columns
|
|
47
|
-
* and their dimensions.
|
|
48
|
-
*/
|
|
49
|
-
constructor(_isNativeHtmlTable: boolean, _stickCellCss: string, direction: Direction, _coalescedStyleScheduler: _CoalescedStyleScheduler, _isBrowser?: boolean, _needsPositionStickyOnElement?: boolean, _positionListener?: StickyPositioningListener | undefined);
|
|
50
|
-
/**
|
|
51
|
-
* Clears the sticky positioning styles from the row and its cells by resetting the `position`
|
|
52
|
-
* style, setting the zIndex to 0, and unsetting each provided sticky direction.
|
|
53
|
-
* @param rows The list of rows that should be cleared from sticking in the provided directions
|
|
54
|
-
* @param stickyDirections The directions that should no longer be set as sticky on the rows.
|
|
55
|
-
*/
|
|
56
|
-
clearStickyPositioning(rows: HTMLElement[], stickyDirections: StickyDirection[]): void;
|
|
57
|
-
/**
|
|
58
|
-
* Applies sticky left and right positions to the cells of each row according to the sticky
|
|
59
|
-
* states of the rendered column definitions.
|
|
60
|
-
* @param rows The rows that should have its set of cells stuck according to the sticky states.
|
|
61
|
-
* @param stickyStartStates A list of boolean states where each state represents whether the cell
|
|
62
|
-
* in this index position should be stuck to the start of the row.
|
|
63
|
-
* @param stickyEndStates A list of boolean states where each state represents whether the cell
|
|
64
|
-
* in this index position should be stuck to the end of the row.
|
|
65
|
-
* @param recalculateCellWidths Whether the sticky styler should recalculate the width of each
|
|
66
|
-
* column cell. If `false` cached widths will be used instead.
|
|
67
|
-
*/
|
|
68
|
-
updateStickyColumns(rows: HTMLElement[], stickyStartStates: boolean[], stickyEndStates: boolean[], recalculateCellWidths?: boolean): void;
|
|
69
|
-
/**
|
|
70
|
-
* Applies sticky positioning to the row's cells if using the native table layout, and to the
|
|
71
|
-
* row itself otherwise.
|
|
72
|
-
* @param rowsToStick The list of rows that should be stuck according to their corresponding
|
|
73
|
-
* sticky state and to the provided top or bottom position.
|
|
74
|
-
* @param stickyStates A list of boolean states where each state represents whether the row
|
|
75
|
-
* should be stuck in the particular top or bottom position.
|
|
76
|
-
* @param position The position direction in which the row should be stuck if that row should be
|
|
77
|
-
* sticky.
|
|
78
|
-
*
|
|
79
|
-
*/
|
|
80
|
-
stickRows(rowsToStick: HTMLElement[], stickyStates: boolean[], position: 'top' | 'bottom'): void;
|
|
81
|
-
/**
|
|
82
|
-
* When using the native table in Safari, sticky footer cells do not stick. The only way to stick
|
|
83
|
-
* footer rows is to apply sticky styling to the tfoot container. This should only be done if
|
|
84
|
-
* all footer rows are sticky. If not all footer rows are sticky, remove sticky positioning from
|
|
85
|
-
* the tfoot element.
|
|
86
|
-
*/
|
|
87
|
-
updateStickyFooterContainer(tableElement: Element, stickyStates: boolean[]): void;
|
|
88
|
-
/**
|
|
89
|
-
* Removes the sticky style on the element by removing the sticky cell CSS class, re-evaluating
|
|
90
|
-
* the zIndex, removing each of the provided sticky directions, and removing the
|
|
91
|
-
* sticky position if there are no more directions.
|
|
92
|
-
*/
|
|
93
|
-
_removeStickyStyle(element: HTMLElement, stickyDirections: StickyDirection[]): void;
|
|
94
|
-
/**
|
|
95
|
-
* Adds the sticky styling to the element by adding the sticky style class, changing position
|
|
96
|
-
* to be sticky (and -webkit-sticky), setting the appropriate zIndex, and adding a sticky
|
|
97
|
-
* direction and value.
|
|
98
|
-
*/
|
|
99
|
-
_addStickyStyle(element: HTMLElement, dir: StickyDirection, dirValue: number, isBorderElement: boolean): void;
|
|
100
|
-
/**
|
|
101
|
-
* Calculate what the z-index should be for the element, depending on what directions (top,
|
|
102
|
-
* bottom, left, right) have been set. It should be true that elements with a top direction
|
|
103
|
-
* should have the highest index since these are elements like a table header. If any of those
|
|
104
|
-
* elements are also sticky in another direction, then they should appear above other elements
|
|
105
|
-
* that are only sticky top (e.g. a sticky column on a sticky header). Bottom-sticky elements
|
|
106
|
-
* (e.g. footer rows) should then be next in the ordering such that they are below the header
|
|
107
|
-
* but above any non-sticky elements. Finally, left/right sticky elements (e.g. sticky columns)
|
|
108
|
-
* should minimally increment so that they are above non-sticky elements but below top and bottom
|
|
109
|
-
* elements.
|
|
110
|
-
*/
|
|
111
|
-
_getCalculatedZIndex(element: HTMLElement): string;
|
|
112
|
-
/** Gets the widths for each cell in the provided row. */
|
|
113
|
-
_getCellWidths(row: HTMLElement, recalculateCellWidths?: boolean): number[];
|
|
114
|
-
/**
|
|
115
|
-
* Determines the left and right positions of each sticky column cell, which will be the
|
|
116
|
-
* accumulation of all sticky column cell widths to the left and right, respectively.
|
|
117
|
-
* Non-sticky cells do not need to have a value set since their positions will not be applied.
|
|
118
|
-
*/
|
|
119
|
-
_getStickyStartColumnPositions(widths: number[], stickyStates: boolean[]): number[];
|
|
120
|
-
/**
|
|
121
|
-
* Determines the left and right positions of each sticky column cell, which will be the
|
|
122
|
-
* accumulation of all sticky column cell widths to the left and right, respectively.
|
|
123
|
-
* Non-sticky cells do not need to have a value set since their positions will not be applied.
|
|
124
|
-
*/
|
|
125
|
-
_getStickyEndColumnPositions(widths: number[], stickyStates: boolean[]): number[];
|
|
126
|
-
}
|
package/table/table-errors.d.ts
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
/**
|
|
9
|
-
* Returns an error to be thrown when attempting to find an unexisting column.
|
|
10
|
-
* @param id Id whose lookup failed.
|
|
11
|
-
* @docs-private
|
|
12
|
-
*/
|
|
13
|
-
export declare function getTableUnknownColumnError(id: string): Error;
|
|
14
|
-
/**
|
|
15
|
-
* Returns an error to be thrown when two column definitions have the same name.
|
|
16
|
-
* @docs-private
|
|
17
|
-
*/
|
|
18
|
-
export declare function getTableDuplicateColumnNameError(name: string): Error;
|
|
19
|
-
/**
|
|
20
|
-
* Returns an error to be thrown when there are multiple rows that are missing a when function.
|
|
21
|
-
* @docs-private
|
|
22
|
-
*/
|
|
23
|
-
export declare function getTableMultipleDefaultRowDefsError(): Error;
|
|
24
|
-
/**
|
|
25
|
-
* Returns an error to be thrown when there are no matching row defs for a particular set of data.
|
|
26
|
-
* @docs-private
|
|
27
|
-
*/
|
|
28
|
-
export declare function getTableMissingMatchingRowDefError(data: any): Error;
|
|
29
|
-
/**
|
|
30
|
-
* Returns an error to be thrown when there is no row definitions present in the content.
|
|
31
|
-
* @docs-private
|
|
32
|
-
*/
|
|
33
|
-
export declare function getTableMissingRowDefsError(): Error;
|
|
34
|
-
/**
|
|
35
|
-
* Returns an error to be thrown when the data source does not match the compatible types.
|
|
36
|
-
* @docs-private
|
|
37
|
-
*/
|
|
38
|
-
export declare function getTableUnknownDataSourceError(): Error;
|
|
39
|
-
/**
|
|
40
|
-
* Returns an error to be thrown when the text column cannot find a parent table to inject.
|
|
41
|
-
* @docs-private
|
|
42
|
-
*/
|
|
43
|
-
export declare function getTableTextColumnMissingParentTableError(): Error;
|
|
44
|
-
/**
|
|
45
|
-
* Returns an error to be thrown when a table text column doesn't have a name.
|
|
46
|
-
* @docs-private
|
|
47
|
-
*/
|
|
48
|
-
export declare function getTableTextColumnMissingNameError(): Error;
|
package/table/table-module.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./table";
|
|
3
|
-
import * as i2 from "./row";
|
|
4
|
-
import * as i3 from "./cell";
|
|
5
|
-
import * as i4 from "./text-column";
|
|
6
|
-
import * as i5 from "@angular/cdk/scrolling";
|
|
7
|
-
export declare class CdkTableModule {
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkTableModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CdkTableModule, [typeof i1.CdkTable, typeof i2.CdkRowDef, typeof i3.CdkCellDef, typeof i2.CdkCellOutlet, typeof i3.CdkHeaderCellDef, typeof i3.CdkFooterCellDef, typeof i3.CdkColumnDef, typeof i3.CdkCell, typeof i2.CdkRow, typeof i3.CdkHeaderCell, typeof i3.CdkFooterCell, typeof i2.CdkHeaderRow, typeof i2.CdkHeaderRowDef, typeof i2.CdkFooterRow, typeof i2.CdkFooterRowDef, typeof i1.DataRowOutlet, typeof i1.HeaderRowOutlet, typeof i1.FooterRowOutlet, typeof i4.CdkTextColumn, typeof i2.CdkNoDataRow, typeof i1.CdkRecycleRows, typeof i1.NoDataRowOutlet], [typeof i5.ScrollingModule], [typeof i1.CdkTable, typeof i2.CdkRowDef, typeof i3.CdkCellDef, typeof i2.CdkCellOutlet, typeof i3.CdkHeaderCellDef, typeof i3.CdkFooterCellDef, typeof i3.CdkColumnDef, typeof i3.CdkCell, typeof i2.CdkRow, typeof i3.CdkHeaderCell, typeof i3.CdkFooterCell, typeof i2.CdkHeaderRow, typeof i2.CdkHeaderRowDef, typeof i2.CdkFooterRow, typeof i2.CdkFooterRowDef, typeof i1.DataRowOutlet, typeof i1.HeaderRowOutlet, typeof i1.FooterRowOutlet, typeof i4.CdkTextColumn, typeof i2.CdkNoDataRow, typeof i1.CdkRecycleRows, typeof i1.NoDataRowOutlet]>;
|
|
10
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<CdkTableModule>;
|
|
11
|
-
}
|