@angular/cdk 13.0.0-next.8 → 13.0.0-rc.3
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 +1 -1
- package/a11y/a11y_public_index.d.ts +4 -0
- package/a11y/index.d.ts +5 -1
- package/a11y/package.json +2 -2
- package/accordion/accordion_public_index.d.ts +4 -0
- package/accordion/index.d.ts +5 -1
- package/accordion/package.json +2 -2
- package/bidi/bidi_public_index.d.ts +4 -0
- package/bidi/index.d.ts +5 -1
- package/bidi/package.json +2 -2
- package/clipboard/clipboard_public_index.d.ts +4 -0
- package/clipboard/index.d.ts +5 -1
- package/clipboard/package.json +2 -2
- package/collections/collections_public_index.d.ts +4 -0
- package/collections/index.d.ts +5 -1
- package/collections/package.json +2 -2
- package/drag-drop/drag-drop_public_index.d.ts +4 -0
- package/drag-drop/index.d.ts +5 -1
- package/drag-drop/package.json +2 -2
- package/esm2020/a11y/a11y-module.mjs +5 -5
- package/esm2020/a11y/a11y_public_index.mjs +5 -0
- package/esm2020/a11y/aria-describer/aria-describer.mjs +6 -7
- package/esm2020/a11y/aria-describer/aria-reference.mjs +1 -1
- package/esm2020/a11y/fake-event-detection.mjs +6 -5
- package/esm2020/a11y/focus-monitor/focus-monitor.mjs +26 -22
- package/esm2020/a11y/focus-trap/configurable-focus-trap-factory.mjs +5 -5
- package/esm2020/a11y/focus-trap/configurable-focus-trap.mjs +4 -2
- package/esm2020/a11y/focus-trap/event-listener-inert-strategy.mjs +1 -1
- package/esm2020/a11y/focus-trap/focus-trap-inert-strategy.mjs +2 -2
- package/esm2020/a11y/focus-trap/focus-trap-manager.mjs +5 -5
- package/esm2020/a11y/focus-trap/focus-trap.mjs +36 -26
- package/esm2020/a11y/high-contrast-mode/high-contrast-mode-detector.mjs +12 -9
- package/esm2020/a11y/index.mjs +6 -2
- package/esm2020/a11y/input-modality/input-modality-detector.mjs +4 -4
- package/esm2020/a11y/interactivity-checker/interactivity-checker.mjs +18 -16
- package/esm2020/a11y/key-manager/activedescendant-key-manager.mjs +1 -1
- package/esm2020/a11y/key-manager/list-key-manager.mjs +10 -6
- package/esm2020/a11y/live-announcer/live-announcer-tokens.mjs +1 -1
- package/esm2020/a11y/live-announcer/live-announcer.mjs +12 -12
- package/esm2020/accordion/accordion-item.mjs +21 -14
- package/esm2020/accordion/accordion-module.mjs +5 -5
- package/esm2020/accordion/accordion.mjs +10 -6
- package/esm2020/accordion/accordion_public_index.mjs +5 -0
- package/esm2020/accordion/index.mjs +6 -2
- package/esm2020/bidi/bidi-module.mjs +5 -5
- package/esm2020/bidi/bidi_public_index.mjs +5 -0
- package/esm2020/bidi/dir-document-token.mjs +1 -1
- package/esm2020/bidi/dir.mjs +12 -8
- package/esm2020/bidi/directionality.mjs +5 -5
- package/esm2020/bidi/index.mjs +6 -2
- package/esm2020/bidi/public-api.mjs +1 -1
- package/esm2020/clipboard/clipboard-module.mjs +5 -5
- package/esm2020/clipboard/clipboard.mjs +4 -4
- package/esm2020/clipboard/clipboard_public_index.mjs +5 -0
- package/esm2020/clipboard/copy-to-clipboard.mjs +5 -5
- package/esm2020/clipboard/index.mjs +6 -2
- package/esm2020/clipboard/pending-copy.mjs +4 -3
- package/esm2020/collections/array-data-source.mjs +1 -1
- package/esm2020/collections/collection-viewer.mjs +1 -1
- package/esm2020/collections/collections_public_index.mjs +5 -0
- package/esm2020/collections/dispose-view-repeater-strategy.mjs +2 -3
- package/esm2020/collections/index.mjs +6 -2
- package/esm2020/collections/recycle-view-repeater-strategy.mjs +7 -4
- package/esm2020/collections/selection-model.mjs +2 -2
- package/esm2020/collections/tree-adapter.mjs +1 -1
- package/esm2020/collections/unique-selection-dispatcher.mjs +4 -4
- package/esm2020/collections/view-repeater.mjs +2 -2
- package/esm2020/drag-drop/client-rect.mjs +6 -4
- package/esm2020/drag-drop/clone-node.mjs +1 -1
- package/esm2020/drag-drop/directives/assertions.mjs +2 -3
- package/esm2020/drag-drop/directives/config.mjs +1 -1
- package/esm2020/drag-drop/directives/drag-handle.mjs +8 -6
- package/esm2020/drag-drop/directives/drag-placeholder.mjs +4 -4
- package/esm2020/drag-drop/directives/drag-preview.mjs +10 -6
- package/esm2020/drag-drop/directives/drag.mjs +49 -40
- package/esm2020/drag-drop/directives/drop-list-group.mjs +7 -5
- package/esm2020/drag-drop/directives/drop-list.mjs +15 -14
- package/esm2020/drag-drop/drag-drop-module.mjs +6 -10
- package/esm2020/drag-drop/drag-drop-registry.mjs +9 -9
- package/esm2020/drag-drop/drag-drop.mjs +5 -5
- package/esm2020/drag-drop/drag-drop_public_index.mjs +5 -0
- package/esm2020/drag-drop/drag-events.mjs +1 -1
- package/esm2020/drag-drop/drag-ref.mjs +56 -41
- package/esm2020/drag-drop/drag-styling.mjs +6 -6
- package/esm2020/drag-drop/drag-utils.mjs +1 -1
- package/esm2020/drag-drop/drop-list-ref.mjs +55 -37
- package/esm2020/drag-drop/index.mjs +6 -2
- package/esm2020/drag-drop/parent-position-tracker.mjs +2 -2
- package/esm2020/drag-drop/transition-duration.mjs +3 -3
- package/esm2020/keycodes/index.mjs +6 -2
- package/esm2020/keycodes/keycodes.mjs +1 -1
- package/esm2020/keycodes/keycodes_public_index.mjs +5 -0
- package/esm2020/layout/breakpoints-observer.mjs +6 -5
- package/esm2020/layout/breakpoints.mjs +1 -1
- package/esm2020/layout/index.mjs +6 -2
- package/esm2020/layout/layout-module.mjs +5 -5
- package/esm2020/layout/layout_public_index.mjs +5 -0
- package/esm2020/layout/media-matcher.mjs +11 -10
- package/esm2020/observers/index.mjs +6 -2
- package/esm2020/observers/observe-content.mjs +24 -21
- package/esm2020/observers/observers_public_index.mjs +5 -0
- 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 +25 -6
- package/esm2020/overlay/fullscreen-overlay-container.mjs +6 -6
- package/esm2020/overlay/index.mjs +6 -2
- package/esm2020/overlay/overlay-config.mjs +1 -1
- package/esm2020/overlay/overlay-container.mjs +5 -6
- package/esm2020/overlay/overlay-directives.mjs +55 -30
- package/esm2020/overlay/overlay-module.mjs +6 -12
- package/esm2020/overlay/overlay-ref.mjs +2 -4
- package/esm2020/overlay/overlay.mjs +4 -4
- package/esm2020/overlay/overlay_public_index.mjs +5 -0
- package/esm2020/overlay/position/connected-position.mjs +1 -1
- package/esm2020/overlay/position/flexible-connected-position-strategy.mjs +26 -27
- package/esm2020/overlay/position/global-position-strategy.mjs +9 -3
- package/esm2020/overlay/position/overlay-position-builder.mjs +4 -4
- package/esm2020/overlay/position/scroll-clip.mjs +1 -1
- package/esm2020/overlay/scroll/block-scroll-strategy.mjs +1 -1
- package/esm2020/overlay/scroll/close-scroll-strategy.mjs +1 -1
- package/esm2020/overlay/scroll/index.mjs +2 -2
- package/esm2020/overlay/scroll/noop-scroll-strategy.mjs +1 -1
- package/esm2020/overlay/scroll/reposition-scroll-strategy.mjs +1 -1
- package/esm2020/overlay/scroll/scroll-strategy-options.mjs +4 -4
- package/esm2020/platform/features/input-types.mjs +1 -1
- package/esm2020/platform/features/passive-listeners.mjs +2 -2
- package/esm2020/platform/features/scrolling.mjs +1 -1
- package/esm2020/platform/features/shadow-dom.mjs +4 -3
- package/esm2020/platform/features/test-environment.mjs +3 -3
- package/esm2020/platform/index.mjs +6 -2
- package/esm2020/platform/platform-module.mjs +5 -5
- package/esm2020/platform/platform.mjs +18 -12
- package/esm2020/platform/platform_public_index.mjs +5 -0
- package/esm2020/portal/dom-portal-outlet.mjs +3 -3
- package/esm2020/portal/index.mjs +6 -2
- package/esm2020/portal/portal-directives.mjs +40 -33
- package/esm2020/portal/portal-errors.mjs +1 -1
- package/esm2020/portal/portal-injector.mjs +1 -1
- package/esm2020/portal/portal.mjs +2 -2
- package/esm2020/portal/portal_public_index.mjs +5 -0
- package/esm2020/scrolling/fixed-size-virtual-scroll.mjs +36 -16
- package/esm2020/scrolling/index.mjs +6 -2
- package/esm2020/scrolling/scroll-dispatcher.mjs +9 -10
- package/esm2020/scrolling/scrollable.mjs +8 -7
- package/esm2020/scrolling/scrolling-module.mjs +12 -27
- package/esm2020/scrolling/scrolling_public_index.mjs +5 -0
- package/esm2020/scrolling/viewport-ruler.mjs +18 -12
- package/esm2020/scrolling/virtual-for-of.mjs +14 -18
- package/esm2020/scrolling/virtual-scroll-strategy.mjs +1 -1
- package/esm2020/scrolling/virtual-scroll-viewport.mjs +17 -13
- package/esm2020/stepper/index.mjs +6 -2
- package/esm2020/stepper/step-header.mjs +4 -4
- package/esm2020/stepper/step-label.mjs +4 -4
- package/esm2020/stepper/stepper-button.mjs +9 -9
- package/esm2020/stepper/stepper-module.mjs +8 -20
- package/esm2020/stepper/stepper.mjs +30 -19
- package/esm2020/stepper/stepper_public_index.mjs +5 -0
- package/esm2020/table/can-stick.mjs +4 -2
- package/esm2020/table/cell.mjs +33 -31
- package/esm2020/table/coalesced-style-scheduler.mjs +10 -8
- package/esm2020/table/index.mjs +6 -2
- package/esm2020/table/row.mjs +30 -30
- package/esm2020/table/sticky-position-listener.mjs +1 -1
- package/esm2020/table/sticky-styler.mjs +26 -16
- package/esm2020/table/table-errors.mjs +1 -1
- package/esm2020/table/table-module.mjs +8 -8
- package/esm2020/table/table.mjs +42 -37
- package/esm2020/table/table_public_index.mjs +5 -0
- package/esm2020/table/text-column.mjs +4 -4
- package/esm2020/table/tokens.mjs +1 -1
- package/esm2020/testing/change-detection.mjs +2 -2
- package/esm2020/testing/component-harness.mjs +4 -3
- package/esm2020/testing/element-dimensions.mjs +1 -1
- package/esm2020/testing/harness-environment.mjs +15 -11
- package/esm2020/testing/protractor/protractor-element.mjs +11 -10
- package/esm2020/testing/protractor/protractor-harness-environment.mjs +2 -2
- package/esm2020/testing/selenium-webdriver/selenium-web-driver-element.mjs +12 -11
- package/esm2020/testing/selenium-webdriver/selenium-web-driver-harness-environment.mjs +3 -4
- package/esm2020/testing/selenium-webdriver/selenium-webdriver-keys.mjs +2 -2
- package/esm2020/testing/test-element.mjs +1 -1
- package/esm2020/testing/testbed/fake-events/dispatch-events.mjs +1 -1
- package/esm2020/testing/testbed/fake-events/element-focus.mjs +2 -2
- package/esm2020/testing/testbed/fake-events/event-objects.mjs +1 -1
- package/esm2020/testing/testbed/fake-events/type-in-element.mjs +17 -8
- package/esm2020/testing/testbed/task-state-zone-interceptor.mjs +2 -2
- package/esm2020/testing/testbed/testbed-harness-environment.mjs +3 -3
- package/esm2020/testing/testbed/unit-test-element.mjs +4 -5
- package/esm2020/text-field/autofill.mjs +8 -8
- package/esm2020/text-field/autosize.mjs +22 -16
- package/esm2020/text-field/index.mjs +6 -2
- package/esm2020/text-field/text-field-module.mjs +5 -5
- package/esm2020/text-field/text-field_public_index.mjs +5 -0
- package/esm2020/tree/control/base-tree-control.mjs +4 -4
- package/esm2020/tree/control/flat-tree-control.mjs +1 -1
- package/esm2020/tree/control/nested-tree-control.mjs +2 -3
- package/esm2020/tree/index.mjs +6 -2
- package/esm2020/tree/nested-node.mjs +12 -10
- package/esm2020/tree/node.mjs +5 -7
- package/esm2020/tree/outlet.mjs +6 -6
- package/esm2020/tree/padding.mjs +17 -9
- package/esm2020/tree/toggle.mjs +10 -6
- package/esm2020/tree/tree-module.mjs +5 -5
- package/esm2020/tree/tree.mjs +31 -19
- package/esm2020/tree/tree_public_index.mjs +5 -0
- package/esm2020/version.mjs +1 -1
- package/fesm2015/a11y.mjs +142 -109
- package/fesm2015/a11y.mjs.map +1 -1
- package/fesm2015/accordion.mjs +41 -22
- package/fesm2015/accordion.mjs.map +1 -1
- package/fesm2015/bidi.mjs +26 -14
- package/fesm2015/bidi.mjs.map +1 -1
- package/fesm2015/cdk.mjs +1 -1
- package/fesm2015/cdk.mjs.map +1 -1
- package/fesm2015/clipboard.mjs +22 -13
- package/fesm2015/clipboard.mjs.map +1 -1
- package/fesm2015/collections.mjs +19 -9
- package/fesm2015/collections.mjs.map +1 -1
- package/fesm2015/drag-drop.mjs +233 -177
- package/fesm2015/drag-drop.mjs.map +1 -1
- package/fesm2015/keycodes.mjs +8 -0
- package/fesm2015/keycodes.mjs.map +1 -1
- package/fesm2015/layout.mjs +27 -17
- package/fesm2015/layout.mjs.map +1 -1
- package/fesm2015/observers.mjs +30 -19
- package/fesm2015/observers.mjs.map +1 -1
- package/fesm2015/overlay.mjs +149 -101
- package/fesm2015/overlay.mjs.map +1 -1
- package/fesm2015/platform.mjs +35 -20
- package/fesm2015/platform.mjs.map +1 -1
- package/fesm2015/portal.mjs +49 -34
- package/fesm2015/portal.mjs.map +1 -1
- package/fesm2015/scrolling.mjs +114 -95
- package/fesm2015/scrolling.mjs.map +1 -1
- package/fesm2015/stepper.mjs +57 -50
- package/fesm2015/stepper.mjs.map +1 -1
- package/fesm2015/table.mjs +152 -123
- package/fesm2015/table.mjs.map +1 -1
- package/fesm2015/testing/protractor.mjs +11 -10
- package/fesm2015/testing/protractor.mjs.map +1 -1
- package/fesm2015/testing/selenium-webdriver.mjs +13 -13
- package/fesm2015/testing/selenium-webdriver.mjs.map +1 -1
- package/fesm2015/testing/testbed.mjs +22 -14
- package/fesm2015/testing/testbed.mjs.map +1 -1
- package/fesm2015/testing.mjs +17 -12
- package/fesm2015/testing.mjs.map +1 -1
- package/fesm2015/text-field.mjs +39 -25
- package/fesm2015/text-field.mjs.map +1 -1
- package/fesm2015/tree.mjs +88 -57
- package/fesm2015/tree.mjs.map +1 -1
- package/fesm2020/a11y.mjs +142 -109
- package/fesm2020/a11y.mjs.map +1 -1
- package/fesm2020/accordion.mjs +41 -22
- package/fesm2020/accordion.mjs.map +1 -1
- package/fesm2020/bidi.mjs +26 -14
- package/fesm2020/bidi.mjs.map +1 -1
- package/fesm2020/cdk.mjs +1 -1
- package/fesm2020/cdk.mjs.map +1 -1
- package/fesm2020/clipboard.mjs +22 -13
- package/fesm2020/clipboard.mjs.map +1 -1
- package/fesm2020/collections.mjs +19 -9
- package/fesm2020/collections.mjs.map +1 -1
- package/fesm2020/drag-drop.mjs +233 -177
- package/fesm2020/drag-drop.mjs.map +1 -1
- package/fesm2020/keycodes.mjs +8 -0
- package/fesm2020/keycodes.mjs.map +1 -1
- package/fesm2020/layout.mjs +27 -17
- package/fesm2020/layout.mjs.map +1 -1
- package/fesm2020/observers.mjs +30 -19
- package/fesm2020/observers.mjs.map +1 -1
- package/fesm2020/overlay.mjs +149 -101
- package/fesm2020/overlay.mjs.map +1 -1
- package/fesm2020/platform.mjs +35 -20
- package/fesm2020/platform.mjs.map +1 -1
- package/fesm2020/portal.mjs +49 -34
- package/fesm2020/portal.mjs.map +1 -1
- package/fesm2020/scrolling.mjs +114 -95
- package/fesm2020/scrolling.mjs.map +1 -1
- package/fesm2020/stepper.mjs +57 -50
- package/fesm2020/stepper.mjs.map +1 -1
- package/fesm2020/table.mjs +152 -123
- package/fesm2020/table.mjs.map +1 -1
- package/fesm2020/testing/protractor.mjs +11 -10
- package/fesm2020/testing/protractor.mjs.map +1 -1
- package/fesm2020/testing/selenium-webdriver.mjs +13 -13
- package/fesm2020/testing/selenium-webdriver.mjs.map +1 -1
- package/fesm2020/testing/testbed.mjs +22 -14
- package/fesm2020/testing/testbed.mjs.map +1 -1
- package/fesm2020/testing.mjs +18 -13
- package/fesm2020/testing.mjs.map +1 -1
- package/fesm2020/text-field.mjs +39 -25
- package/fesm2020/text-field.mjs.map +1 -1
- package/fesm2020/tree.mjs +88 -57
- package/fesm2020/tree.mjs.map +1 -1
- package/keycodes/index.d.ts +5 -1
- package/keycodes/keycodes_public_index.d.ts +4 -0
- package/keycodes/package.json +2 -2
- package/layout/index.d.ts +5 -1
- package/layout/layout_public_index.d.ts +4 -0
- package/layout/package.json +2 -2
- package/observers/index.d.ts +5 -1
- package/observers/observers_public_index.d.ts +4 -0
- package/observers/package.json +2 -2
- package/overlay/dispatchers/overlay-outside-click-dispatcher.d.ts +3 -0
- package/overlay/index.d.ts +5 -1
- package/overlay/overlay_public_index.d.ts +4 -0
- package/overlay/package.json +2 -2
- package/overlay/position/flexible-connected-position-strategy.d.ts +2 -2
- package/overlay/scroll/index.d.ts +1 -1
- package/package.json +38 -35
- package/platform/index.d.ts +5 -1
- package/platform/package.json +2 -2
- package/platform/platform_public_index.d.ts +4 -0
- package/portal/index.d.ts +5 -1
- package/portal/package.json +2 -2
- package/portal/portal_public_index.d.ts +4 -0
- package/schematics/ng-add/index.js +2 -2
- package/schematics/ng-add/index.mjs +2 -2
- package/schematics/ng-add/package-config.js +4 -2
- package/schematics/ng-add/package-config.mjs +4 -2
- package/schematics/ng-add/schema.js +1 -1
- package/schematics/ng-add/schema.mjs +1 -1
- package/schematics/ng-generate/drag-drop/index.js +15 -6
- package/schematics/ng-generate/drag-drop/index.mjs +15 -6
- package/schematics/ng-update/data/attribute-selectors.js +7 -5
- package/schematics/ng-update/data/attribute-selectors.mjs +7 -5
- package/schematics/ng-update/data/class-names.js +13 -11
- package/schematics/ng-update/data/class-names.mjs +13 -11
- package/schematics/ng-update/data/constructor-checks.js +28 -20
- package/schematics/ng-update/data/constructor-checks.mjs +28 -20
- package/schematics/ng-update/data/css-selectors.js +2 -2
- package/schematics/ng-update/data/css-selectors.mjs +2 -2
- package/schematics/ng-update/data/element-selectors.js +2 -2
- package/schematics/ng-update/data/element-selectors.mjs +2 -2
- package/schematics/ng-update/data/input-names.js +40 -16
- package/schematics/ng-update/data/input-names.mjs +40 -16
- package/schematics/ng-update/data/method-call-checks.js +32 -18
- package/schematics/ng-update/data/method-call-checks.mjs +32 -18
- package/schematics/ng-update/data/output-names.js +8 -6
- package/schematics/ng-update/data/output-names.mjs +8 -6
- package/schematics/ng-update/data/property-names.js +40 -32
- package/schematics/ng-update/data/property-names.mjs +40 -32
- package/schematics/ng-update/devkit-migration-rule.js +16 -6
- package/schematics/ng-update/devkit-migration-rule.mjs +16 -6
- package/schematics/ng-update/devkit-migration.d.ts +3 -2
- package/schematics/ng-update/devkit-migration.js +1 -1
- package/schematics/ng-update/devkit-migration.mjs +1 -1
- package/schematics/ng-update/html-parsing/elements.js +3 -2
- package/schematics/ng-update/html-parsing/elements.mjs +3 -2
- package/schematics/ng-update/index.js +11 -9
- package/schematics/ng-update/index.mjs +11 -9
- package/schematics/ng-update/migrations/attribute-selectors.js +7 -3
- package/schematics/ng-update/migrations/attribute-selectors.mjs +7 -3
- package/schematics/ng-update/migrations/class-inheritance.js +1 -1
- package/schematics/ng-update/migrations/class-inheritance.mjs +1 -1
- package/schematics/ng-update/migrations/class-names.js +3 -2
- package/schematics/ng-update/migrations/class-names.mjs +3 -2
- package/schematics/ng-update/migrations/constructor-signature.js +15 -12
- package/schematics/ng-update/migrations/constructor-signature.mjs +15 -12
- package/schematics/ng-update/migrations/css-selectors.js +3 -2
- package/schematics/ng-update/migrations/css-selectors.mjs +3 -2
- package/schematics/ng-update/migrations/element-selectors.js +3 -2
- package/schematics/ng-update/migrations/element-selectors.mjs +3 -2
- package/schematics/ng-update/migrations/input-names.js +4 -5
- package/schematics/ng-update/migrations/input-names.mjs +4 -5
- package/schematics/ng-update/migrations/method-call-arguments.js +3 -2
- package/schematics/ng-update/migrations/method-call-arguments.mjs +3 -2
- package/schematics/ng-update/migrations/misc-template.js +2 -2
- package/schematics/ng-update/migrations/misc-template.mjs +2 -2
- package/schematics/ng-update/migrations/output-names.js +4 -5
- package/schematics/ng-update/migrations/output-names.mjs +4 -5
- package/schematics/ng-update/migrations/property-names.js +3 -2
- package/schematics/ng-update/migrations/property-names.mjs +3 -2
- package/schematics/ng-update/migrations/symbol-removal.js +3 -2
- package/schematics/ng-update/migrations/symbol-removal.mjs +3 -2
- package/schematics/ng-update/migrations/tilde-import-v13/tilde-import-migration.d.ts +14 -0
- package/schematics/ng-update/migrations/tilde-import-v13/tilde-import-migration.js +38 -0
- package/schematics/ng-update/migrations/tilde-import-v13/tilde-import-migration.mjs +38 -0
- package/schematics/ng-update/typescript/base-types.js +1 -1
- package/schematics/ng-update/typescript/base-types.mjs +1 -1
- package/schematics/ng-update/typescript/literal.d.ts +1 -1
- package/schematics/ng-update/typescript/literal.js +1 -1
- package/schematics/ng-update/typescript/literal.mjs +1 -1
- package/schematics/ng-update/typescript/module-specifiers.js +3 -3
- package/schematics/ng-update/typescript/module-specifiers.mjs +3 -3
- package/schematics/ng-update/upgrade-data.js +1 -1
- package/schematics/ng-update/upgrade-data.mjs +1 -1
- package/schematics/update-tool/component-resource-collector.js +2 -2
- package/schematics/update-tool/component-resource-collector.mjs +2 -2
- package/schematics/update-tool/file-system.js +1 -1
- package/schematics/update-tool/file-system.mjs +1 -1
- package/schematics/update-tool/index.d.ts +4 -1
- package/schematics/update-tool/index.js +7 -3
- package/schematics/update-tool/index.mjs +7 -3
- package/schematics/update-tool/migration.d.ts +1 -1
- package/schematics/update-tool/migration.js +1 -1
- package/schematics/update-tool/migration.mjs +1 -1
- package/schematics/update-tool/target-version.js +1 -1
- package/schematics/update-tool/target-version.mjs +1 -1
- package/schematics/update-tool/utils/decorators.js +7 -3
- package/schematics/update-tool/utils/decorators.mjs +7 -3
- package/schematics/update-tool/utils/functions.js +1 -1
- package/schematics/update-tool/utils/functions.mjs +1 -1
- package/schematics/update-tool/utils/imports.js +2 -2
- package/schematics/update-tool/utils/imports.mjs +2 -2
- package/schematics/update-tool/utils/line-mappings.js +1 -1
- package/schematics/update-tool/utils/line-mappings.mjs +1 -1
- package/schematics/update-tool/utils/parse-tsconfig.js +1 -1
- package/schematics/update-tool/utils/parse-tsconfig.mjs +1 -1
- package/schematics/update-tool/utils/property-name.js +1 -1
- package/schematics/update-tool/utils/property-name.mjs +1 -1
- package/schematics/update-tool/utils/virtual-host.js +2 -2
- package/schematics/update-tool/utils/virtual-host.mjs +2 -2
- package/schematics/update-tool/version-changes.js +1 -1
- package/schematics/update-tool/version-changes.mjs +1 -1
- package/schematics/utils/ast/ng-module-imports.js +5 -3
- package/schematics/utils/ast/ng-module-imports.mjs +5 -3
- package/schematics/utils/ast.js +22 -11
- package/schematics/utils/ast.mjs +22 -11
- package/schematics/utils/build-component.js +25 -26
- package/schematics/utils/build-component.mjs +25 -26
- package/schematics/utils/get-project.js +1 -1
- package/schematics/utils/get-project.mjs +1 -1
- package/schematics/utils/html-manipulation.js +6 -5
- package/schematics/utils/html-manipulation.mjs +6 -5
- package/schematics/utils/parse5-element.js +9 -10
- package/schematics/utils/parse5-element.mjs +9 -10
- package/schematics/utils/project-index-file.js +2 -2
- package/schematics/utils/project-index-file.mjs +2 -2
- package/schematics/utils/project-main-file.js +1 -1
- package/schematics/utils/project-main-file.mjs +1 -1
- package/schematics/utils/project-style-file.js +3 -5
- package/schematics/utils/project-style-file.mjs +3 -5
- package/schematics/utils/project-targets.js +4 -3
- package/schematics/utils/project-targets.mjs +4 -3
- package/schematics/utils/project-tsconfig-paths.js +28 -16
- package/schematics/utils/project-tsconfig-paths.mjs +28 -16
- package/schematics/utils/schematic-options.js +7 -5
- package/schematics/utils/schematic-options.mjs +7 -5
- package/schematics/utils/vendored-ast-utils/index.js +15 -16
- package/schematics/utils/vendored-ast-utils/index.mjs +15 -16
- package/scrolling/index.d.ts +5 -1
- package/scrolling/package.json +2 -2
- package/scrolling/scrolling_public_index.d.ts +4 -0
- package/stepper/index.d.ts +5 -1
- package/stepper/package.json +2 -2
- package/stepper/stepper_public_index.d.ts +4 -0
- package/table/index.d.ts +5 -1
- package/table/package.json +2 -2
- package/table/table_public_index.d.ts +4 -0
- package/testing/testbed/proxy-zone-types.d.ts +1 -1
- package/testing/testbed/zone-types.d.ts +1 -1
- package/text-field/index.d.ts +5 -1
- package/text-field/package.json +2 -2
- package/text-field/text-field_public_index.d.ts +4 -0
- package/tree/control/base-tree-control.d.ts +1 -1
- package/tree/control/nested-tree-control.d.ts +2 -2
- package/tree/index.d.ts +5 -1
- package/tree/package.json +2 -2
- package/tree/tree_public_index.d.ts +4 -0
package/fesm2015/overlay.mjs
CHANGED
|
@@ -313,9 +313,9 @@ class ScrollStrategyOptions {
|
|
|
313
313
|
this._document = document;
|
|
314
314
|
}
|
|
315
315
|
}
|
|
316
|
-
ScrollStrategyOptions.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-
|
|
317
|
-
ScrollStrategyOptions.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-
|
|
318
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-
|
|
316
|
+
ScrollStrategyOptions.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: ScrollStrategyOptions, deps: [{ token: i1.ScrollDispatcher }, { token: i1.ViewportRuler }, { token: i0.NgZone }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
317
|
+
ScrollStrategyOptions.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: ScrollStrategyOptions, providedIn: 'root' });
|
|
318
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: ScrollStrategyOptions, decorators: [{
|
|
319
319
|
type: Injectable,
|
|
320
320
|
args: [{ providedIn: 'root' }]
|
|
321
321
|
}], ctorParameters: function () {
|
|
@@ -549,9 +549,7 @@ class OverlayRef {
|
|
|
549
549
|
// Update the position once the zone is stable so that the overlay will be fully rendered
|
|
550
550
|
// before attempting to position it, as the position may depend on the size of the rendered
|
|
551
551
|
// content.
|
|
552
|
-
this._ngZone.onStable
|
|
553
|
-
.pipe(take(1))
|
|
554
|
-
.subscribe(() => {
|
|
552
|
+
this._ngZone.onStable.pipe(take(1)).subscribe(() => {
|
|
555
553
|
// The overlay could've been detached before the zone has stabilized.
|
|
556
554
|
if (this.hasAttached()) {
|
|
557
555
|
this.updatePosition();
|
|
@@ -911,8 +909,7 @@ class OverlayContainer {
|
|
|
911
909
|
// module or Angular starts tearing down the testing `NgModule`. See:
|
|
912
910
|
// https://github.com/angular/angular/issues/18831
|
|
913
911
|
if (this._platform.isBrowser || _isTestEnvironment()) {
|
|
914
|
-
const oppositePlatformContainers = this._document.querySelectorAll(`.${containerClass}[platform="server"], ` +
|
|
915
|
-
`.${containerClass}[platform="test"]`);
|
|
912
|
+
const oppositePlatformContainers = this._document.querySelectorAll(`.${containerClass}[platform="server"], ` + `.${containerClass}[platform="test"]`);
|
|
916
913
|
// Remove any old containers from the opposite platform.
|
|
917
914
|
// This can happen when transitioning from the server to the client.
|
|
918
915
|
for (let i = 0; i < oppositePlatformContainers.length; i++) {
|
|
@@ -940,9 +937,9 @@ class OverlayContainer {
|
|
|
940
937
|
this._containerElement = container;
|
|
941
938
|
}
|
|
942
939
|
}
|
|
943
|
-
OverlayContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-
|
|
944
|
-
OverlayContainer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-
|
|
945
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-
|
|
940
|
+
OverlayContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: OverlayContainer, deps: [{ token: DOCUMENT }, { token: i1$1.Platform }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
941
|
+
OverlayContainer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: OverlayContainer, providedIn: 'root' });
|
|
942
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: OverlayContainer, decorators: [{
|
|
946
943
|
type: Injectable,
|
|
947
944
|
args: [{ providedIn: 'root' }]
|
|
948
945
|
}], ctorParameters: function () {
|
|
@@ -1016,7 +1013,8 @@ class FlexibleConnectedPositionStrategy {
|
|
|
1016
1013
|
}
|
|
1017
1014
|
/** Attaches this position strategy to an overlay. */
|
|
1018
1015
|
attach(overlayRef) {
|
|
1019
|
-
if (this._overlayRef &&
|
|
1016
|
+
if (this._overlayRef &&
|
|
1017
|
+
overlayRef !== this._overlayRef &&
|
|
1020
1018
|
(typeof ngDevMode === 'undefined' || ngDevMode)) {
|
|
1021
1019
|
throw Error('This position strategy is already attached to an overlay');
|
|
1022
1020
|
}
|
|
@@ -1105,7 +1103,7 @@ class FlexibleConnectedPositionStrategy {
|
|
|
1105
1103
|
position: pos,
|
|
1106
1104
|
origin: originPoint,
|
|
1107
1105
|
overlayRect,
|
|
1108
|
-
boundingBoxRect: this._calculateBoundingBoxRect(originPoint, pos)
|
|
1106
|
+
boundingBoxRect: this._calculateBoundingBoxRect(originPoint, pos),
|
|
1109
1107
|
});
|
|
1110
1108
|
continue;
|
|
1111
1109
|
}
|
|
@@ -1298,7 +1296,7 @@ class FlexibleConnectedPositionStrategy {
|
|
|
1298
1296
|
if (pos.originX == 'center') {
|
|
1299
1297
|
// Note: when centering we should always use the `left`
|
|
1300
1298
|
// offset, otherwise the position will be wrong in RTL.
|
|
1301
|
-
x = originRect.left +
|
|
1299
|
+
x = originRect.left + originRect.width / 2;
|
|
1302
1300
|
}
|
|
1303
1301
|
else {
|
|
1304
1302
|
const startX = this._isRtl() ? originRect.right : originRect.left;
|
|
@@ -1307,7 +1305,7 @@ class FlexibleConnectedPositionStrategy {
|
|
|
1307
1305
|
}
|
|
1308
1306
|
let y;
|
|
1309
1307
|
if (pos.originY == 'center') {
|
|
1310
|
-
y = originRect.top +
|
|
1308
|
+
y = originRect.top + originRect.height / 2;
|
|
1311
1309
|
}
|
|
1312
1310
|
else {
|
|
1313
1311
|
y = pos.originY == 'top' ? originRect.top : originRect.bottom;
|
|
@@ -1361,16 +1359,16 @@ class FlexibleConnectedPositionStrategy {
|
|
|
1361
1359
|
}
|
|
1362
1360
|
// How much the overlay would overflow at this position, on each side.
|
|
1363
1361
|
let leftOverflow = 0 - x;
|
|
1364
|
-
let rightOverflow =
|
|
1362
|
+
let rightOverflow = x + overlay.width - viewport.width;
|
|
1365
1363
|
let topOverflow = 0 - y;
|
|
1366
|
-
let bottomOverflow =
|
|
1364
|
+
let bottomOverflow = y + overlay.height - viewport.height;
|
|
1367
1365
|
// Visible parts of the element on each axis.
|
|
1368
1366
|
let visibleWidth = this._subtractOverflows(overlay.width, leftOverflow, rightOverflow);
|
|
1369
1367
|
let visibleHeight = this._subtractOverflows(overlay.height, topOverflow, bottomOverflow);
|
|
1370
1368
|
let visibleArea = visibleWidth * visibleHeight;
|
|
1371
1369
|
return {
|
|
1372
1370
|
visibleArea,
|
|
1373
|
-
isCompletelyWithinViewport:
|
|
1371
|
+
isCompletelyWithinViewport: overlay.width * overlay.height === visibleArea,
|
|
1374
1372
|
fitsInViewportVertically: visibleHeight === overlay.height,
|
|
1375
1373
|
fitsInViewportHorizontally: visibleWidth == overlay.width,
|
|
1376
1374
|
};
|
|
@@ -1387,10 +1385,8 @@ class FlexibleConnectedPositionStrategy {
|
|
|
1387
1385
|
const availableWidth = viewport.right - point.x;
|
|
1388
1386
|
const minHeight = getPixelValue(this._overlayRef.getConfig().minHeight);
|
|
1389
1387
|
const minWidth = getPixelValue(this._overlayRef.getConfig().minWidth);
|
|
1390
|
-
const verticalFit = fit.fitsInViewportVertically ||
|
|
1391
|
-
|
|
1392
|
-
const horizontalFit = fit.fitsInViewportHorizontally ||
|
|
1393
|
-
(minWidth != null && minWidth <= availableWidth);
|
|
1388
|
+
const verticalFit = fit.fitsInViewportVertically || (minHeight != null && minHeight <= availableHeight);
|
|
1389
|
+
const horizontalFit = fit.fitsInViewportHorizontally || (minWidth != null && minWidth <= availableWidth);
|
|
1394
1390
|
return verticalFit && horizontalFit;
|
|
1395
1391
|
}
|
|
1396
1392
|
return false;
|
|
@@ -1413,7 +1409,7 @@ class FlexibleConnectedPositionStrategy {
|
|
|
1413
1409
|
if (this._previousPushAmount && this._positionLocked) {
|
|
1414
1410
|
return {
|
|
1415
1411
|
x: start.x + this._previousPushAmount.x,
|
|
1416
|
-
y: start.y + this._previousPushAmount.y
|
|
1412
|
+
y: start.y + this._previousPushAmount.y,
|
|
1417
1413
|
};
|
|
1418
1414
|
}
|
|
1419
1415
|
// Round the overlay rect when comparing against the
|
|
@@ -1436,13 +1432,13 @@ class FlexibleConnectedPositionStrategy {
|
|
|
1436
1432
|
pushX = overflowLeft || -overflowRight;
|
|
1437
1433
|
}
|
|
1438
1434
|
else {
|
|
1439
|
-
pushX = start.x < this._viewportMargin ?
|
|
1435
|
+
pushX = start.x < this._viewportMargin ? viewport.left - scrollPosition.left - start.x : 0;
|
|
1440
1436
|
}
|
|
1441
1437
|
if (overlay.height <= viewport.height) {
|
|
1442
1438
|
pushY = overflowTop || -overflowBottom;
|
|
1443
1439
|
}
|
|
1444
1440
|
else {
|
|
1445
|
-
pushY = start.y < this._viewportMargin ?
|
|
1441
|
+
pushY = start.y < this._viewportMargin ? viewport.top - scrollPosition.top - start.y : 0;
|
|
1446
1442
|
}
|
|
1447
1443
|
this._previousPushAmount = { x: pushX, y: pushY };
|
|
1448
1444
|
return {
|
|
@@ -1527,15 +1523,13 @@ class FlexibleConnectedPositionStrategy {
|
|
|
1527
1523
|
height = smallestDistanceToViewportEdge * 2;
|
|
1528
1524
|
top = origin.y - smallestDistanceToViewportEdge;
|
|
1529
1525
|
if (height > previousHeight && !this._isInitialRender && !this._growAfterOpen) {
|
|
1530
|
-
top = origin.y -
|
|
1526
|
+
top = origin.y - previousHeight / 2;
|
|
1531
1527
|
}
|
|
1532
1528
|
}
|
|
1533
1529
|
// The overlay is opening 'right-ward' (the content flows to the right).
|
|
1534
|
-
const isBoundedByRightViewportEdge = (position.overlayX === 'start' && !isRtl) ||
|
|
1535
|
-
(position.overlayX === 'end' && isRtl);
|
|
1530
|
+
const isBoundedByRightViewportEdge = (position.overlayX === 'start' && !isRtl) || (position.overlayX === 'end' && isRtl);
|
|
1536
1531
|
// The overlay is opening 'left-ward' (the content flows to the left).
|
|
1537
|
-
const isBoundedByLeftViewportEdge = (position.overlayX === 'end' && !isRtl) ||
|
|
1538
|
-
(position.overlayX === 'start' && isRtl);
|
|
1532
|
+
const isBoundedByLeftViewportEdge = (position.overlayX === 'end' && !isRtl) || (position.overlayX === 'start' && isRtl);
|
|
1539
1533
|
let width, left, right;
|
|
1540
1534
|
if (isBoundedByLeftViewportEdge) {
|
|
1541
1535
|
right = viewport.width - origin.x + this._viewportMargin;
|
|
@@ -1555,7 +1549,7 @@ class FlexibleConnectedPositionStrategy {
|
|
|
1555
1549
|
width = smallestDistanceToViewportEdge * 2;
|
|
1556
1550
|
left = origin.x - smallestDistanceToViewportEdge;
|
|
1557
1551
|
if (width > previousWidth && !this._isInitialRender && !this._growAfterOpen) {
|
|
1558
|
-
left = origin.x -
|
|
1552
|
+
left = origin.x - previousWidth / 2;
|
|
1559
1553
|
}
|
|
1560
1554
|
}
|
|
1561
1555
|
return { top: top, left: left, bottom: bottom, right: right, width, height };
|
|
@@ -1698,7 +1692,9 @@ class FlexibleConnectedPositionStrategy {
|
|
|
1698
1692
|
if (this._isPushed) {
|
|
1699
1693
|
overlayPoint = this._pushOverlayOnScreen(overlayPoint, this._overlayRect, scrollPosition);
|
|
1700
1694
|
}
|
|
1701
|
-
let virtualKeyboardOffset = this._overlayContainer
|
|
1695
|
+
let virtualKeyboardOffset = this._overlayContainer
|
|
1696
|
+
.getContainerElement()
|
|
1697
|
+
.getBoundingClientRect().top;
|
|
1702
1698
|
// Normally this would be zero, however when the overlay is attached to an input (e.g. in an
|
|
1703
1699
|
// autocomplete), mobile browsers will shift everything in order to put the input in the middle
|
|
1704
1700
|
// of the screen and to make space for the virtual keyboard. We need to account for this offset,
|
|
@@ -1790,8 +1786,8 @@ class FlexibleConnectedPositionStrategy {
|
|
|
1790
1786
|
left: scrollPosition.left + this._viewportMargin,
|
|
1791
1787
|
right: scrollPosition.left + width - this._viewportMargin,
|
|
1792
1788
|
bottom: scrollPosition.top + height - this._viewportMargin,
|
|
1793
|
-
width: width -
|
|
1794
|
-
height: height -
|
|
1789
|
+
width: width - 2 * this._viewportMargin,
|
|
1790
|
+
height: height - 2 * this._viewportMargin,
|
|
1795
1791
|
};
|
|
1796
1792
|
}
|
|
1797
1793
|
/** Whether the we're dealing with an RTL context */
|
|
@@ -1866,7 +1862,7 @@ class FlexibleConnectedPositionStrategy {
|
|
|
1866
1862
|
left: origin.x,
|
|
1867
1863
|
right: origin.x + width,
|
|
1868
1864
|
height,
|
|
1869
|
-
width
|
|
1865
|
+
width,
|
|
1870
1866
|
};
|
|
1871
1867
|
}
|
|
1872
1868
|
}
|
|
@@ -1886,7 +1882,7 @@ function extendStyles(destination, source) {
|
|
|
1886
1882
|
function getPixelValue(input) {
|
|
1887
1883
|
if (typeof input !== 'number' && input != null) {
|
|
1888
1884
|
const [value, units] = input.split(cssUnitPattern);
|
|
1889
|
-
return
|
|
1885
|
+
return !units || units === 'px' ? parseFloat(value) : null;
|
|
1890
1886
|
}
|
|
1891
1887
|
return input || null;
|
|
1892
1888
|
}
|
|
@@ -1903,7 +1899,7 @@ function getRoundedBoundingClientRect(clientRect) {
|
|
|
1903
1899
|
bottom: Math.floor(clientRect.bottom),
|
|
1904
1900
|
left: Math.floor(clientRect.left),
|
|
1905
1901
|
width: Math.floor(clientRect.width),
|
|
1906
|
-
height: Math.floor(clientRect.height)
|
|
1902
|
+
height: Math.floor(clientRect.height),
|
|
1907
1903
|
};
|
|
1908
1904
|
}
|
|
1909
1905
|
|
|
@@ -2097,8 +2093,14 @@ class GlobalPositionStrategy {
|
|
|
2097
2093
|
const parent = this._overlayRef.hostElement;
|
|
2098
2094
|
const parentStyles = parent.style;
|
|
2099
2095
|
parent.classList.remove(wrapperClass);
|
|
2100
|
-
parentStyles.justifyContent =
|
|
2101
|
-
|
|
2096
|
+
parentStyles.justifyContent =
|
|
2097
|
+
parentStyles.alignItems =
|
|
2098
|
+
styles.marginTop =
|
|
2099
|
+
styles.marginBottom =
|
|
2100
|
+
styles.marginLeft =
|
|
2101
|
+
styles.marginRight =
|
|
2102
|
+
styles.position =
|
|
2103
|
+
'';
|
|
2102
2104
|
this._overlayRef = null;
|
|
2103
2105
|
this._isDisposed = true;
|
|
2104
2106
|
}
|
|
@@ -2126,9 +2128,9 @@ class OverlayPositionBuilder {
|
|
|
2126
2128
|
return new FlexibleConnectedPositionStrategy(origin, this._viewportRuler, this._document, this._platform, this._overlayContainer);
|
|
2127
2129
|
}
|
|
2128
2130
|
}
|
|
2129
|
-
OverlayPositionBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-
|
|
2130
|
-
OverlayPositionBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-
|
|
2131
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-
|
|
2131
|
+
OverlayPositionBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: OverlayPositionBuilder, deps: [{ token: i1.ViewportRuler }, { token: DOCUMENT }, { token: i1$1.Platform }, { token: OverlayContainer }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2132
|
+
OverlayPositionBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: OverlayPositionBuilder, providedIn: 'root' });
|
|
2133
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: OverlayPositionBuilder, decorators: [{
|
|
2132
2134
|
type: Injectable,
|
|
2133
2135
|
args: [{ providedIn: 'root' }]
|
|
2134
2136
|
}], ctorParameters: function () {
|
|
@@ -2177,9 +2179,9 @@ class BaseOverlayDispatcher {
|
|
|
2177
2179
|
}
|
|
2178
2180
|
}
|
|
2179
2181
|
}
|
|
2180
|
-
BaseOverlayDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-
|
|
2181
|
-
BaseOverlayDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-
|
|
2182
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-
|
|
2182
|
+
BaseOverlayDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: BaseOverlayDispatcher, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2183
|
+
BaseOverlayDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: BaseOverlayDispatcher, providedIn: 'root' });
|
|
2184
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: BaseOverlayDispatcher, decorators: [{
|
|
2183
2185
|
type: Injectable,
|
|
2184
2186
|
args: [{ providedIn: 'root' }]
|
|
2185
2187
|
}], ctorParameters: function () {
|
|
@@ -2238,9 +2240,9 @@ class OverlayKeyboardDispatcher extends BaseOverlayDispatcher {
|
|
|
2238
2240
|
}
|
|
2239
2241
|
}
|
|
2240
2242
|
}
|
|
2241
|
-
OverlayKeyboardDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-
|
|
2242
|
-
OverlayKeyboardDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-
|
|
2243
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-
|
|
2243
|
+
OverlayKeyboardDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: OverlayKeyboardDispatcher, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2244
|
+
OverlayKeyboardDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: OverlayKeyboardDispatcher, providedIn: 'root' });
|
|
2245
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: OverlayKeyboardDispatcher, decorators: [{
|
|
2244
2246
|
type: Injectable,
|
|
2245
2247
|
args: [{ providedIn: 'root' }]
|
|
2246
2248
|
}], ctorParameters: function () {
|
|
@@ -2267,9 +2269,24 @@ class OverlayOutsideClickDispatcher extends BaseOverlayDispatcher {
|
|
|
2267
2269
|
super(document);
|
|
2268
2270
|
this._platform = _platform;
|
|
2269
2271
|
this._cursorStyleIsSet = false;
|
|
2272
|
+
/** Store pointerdown event target to track origin of click. */
|
|
2273
|
+
this._pointerDownListener = (event) => {
|
|
2274
|
+
this._pointerDownEventTarget = _getEventTarget(event);
|
|
2275
|
+
};
|
|
2270
2276
|
/** Click event listener that will be attached to the body propagate phase. */
|
|
2271
2277
|
this._clickListener = (event) => {
|
|
2272
2278
|
const target = _getEventTarget(event);
|
|
2279
|
+
// In case of a click event, we want to check the origin of the click
|
|
2280
|
+
// (e.g. in case where a user starts a click inside the overlay and
|
|
2281
|
+
// releases the click outside of it).
|
|
2282
|
+
// This is done by using the event target of the preceding pointerdown event.
|
|
2283
|
+
// Every click event caused by a pointer device has a preceding pointerdown
|
|
2284
|
+
// event, unless the click was programmatically triggered (e.g. in a unit test).
|
|
2285
|
+
const origin = event.type === 'click' && this._pointerDownEventTarget
|
|
2286
|
+
? this._pointerDownEventTarget : target;
|
|
2287
|
+
// Reset the stored pointerdown event target, to avoid having it interfere
|
|
2288
|
+
// in subsequent events.
|
|
2289
|
+
this._pointerDownEventTarget = null;
|
|
2273
2290
|
// We copy the array because the original may be modified asynchronously if the
|
|
2274
2291
|
// outsidePointerEvents listener decides to detach overlays resulting in index errors inside
|
|
2275
2292
|
// the for loop.
|
|
@@ -2284,8 +2301,10 @@ class OverlayOutsideClickDispatcher extends BaseOverlayDispatcher {
|
|
|
2284
2301
|
continue;
|
|
2285
2302
|
}
|
|
2286
2303
|
// If it's a click inside the overlay, just break - we should do nothing
|
|
2287
|
-
// If it's an outside click
|
|
2288
|
-
|
|
2304
|
+
// If it's an outside click (both origin and target of the click) dispatch the mouse event,
|
|
2305
|
+
// and proceed with the next overlay
|
|
2306
|
+
if (overlayRef.overlayElement.contains(target) ||
|
|
2307
|
+
overlayRef.overlayElement.contains(origin)) {
|
|
2289
2308
|
break;
|
|
2290
2309
|
}
|
|
2291
2310
|
overlayRef._outsidePointerEvents.next(event);
|
|
@@ -2303,6 +2322,7 @@ class OverlayOutsideClickDispatcher extends BaseOverlayDispatcher {
|
|
|
2303
2322
|
// https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariWebContent/HandlingEvents/HandlingEvents.html
|
|
2304
2323
|
if (!this._isAttached) {
|
|
2305
2324
|
const body = this._document.body;
|
|
2325
|
+
body.addEventListener('pointerdown', this._pointerDownListener, true);
|
|
2306
2326
|
body.addEventListener('click', this._clickListener, true);
|
|
2307
2327
|
body.addEventListener('auxclick', this._clickListener, true);
|
|
2308
2328
|
body.addEventListener('contextmenu', this._clickListener, true);
|
|
@@ -2320,6 +2340,7 @@ class OverlayOutsideClickDispatcher extends BaseOverlayDispatcher {
|
|
|
2320
2340
|
detach() {
|
|
2321
2341
|
if (this._isAttached) {
|
|
2322
2342
|
const body = this._document.body;
|
|
2343
|
+
body.removeEventListener('pointerdown', this._pointerDownListener, true);
|
|
2323
2344
|
body.removeEventListener('click', this._clickListener, true);
|
|
2324
2345
|
body.removeEventListener('auxclick', this._clickListener, true);
|
|
2325
2346
|
body.removeEventListener('contextmenu', this._clickListener, true);
|
|
@@ -2331,9 +2352,9 @@ class OverlayOutsideClickDispatcher extends BaseOverlayDispatcher {
|
|
|
2331
2352
|
}
|
|
2332
2353
|
}
|
|
2333
2354
|
}
|
|
2334
|
-
OverlayOutsideClickDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-
|
|
2335
|
-
OverlayOutsideClickDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-
|
|
2336
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-
|
|
2355
|
+
OverlayOutsideClickDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: OverlayOutsideClickDispatcher, deps: [{ token: DOCUMENT }, { token: i1$1.Platform }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2356
|
+
OverlayOutsideClickDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: OverlayOutsideClickDispatcher, providedIn: 'root' });
|
|
2357
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: OverlayOutsideClickDispatcher, decorators: [{
|
|
2337
2358
|
type: Injectable,
|
|
2338
2359
|
args: [{ providedIn: 'root' }]
|
|
2339
2360
|
}], ctorParameters: function () {
|
|
@@ -2427,9 +2448,9 @@ class Overlay {
|
|
|
2427
2448
|
return new DomPortalOutlet(pane, this._componentFactoryResolver, this._appRef, this._injector, this._document);
|
|
2428
2449
|
}
|
|
2429
2450
|
}
|
|
2430
|
-
Overlay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-
|
|
2431
|
-
Overlay.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-
|
|
2432
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-
|
|
2451
|
+
Overlay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: Overlay, deps: [{ token: ScrollStrategyOptions }, { token: OverlayContainer }, { token: i0.ComponentFactoryResolver }, { token: OverlayPositionBuilder }, { token: OverlayKeyboardDispatcher }, { token: i0.Injector }, { token: i0.NgZone }, { token: DOCUMENT }, { token: i5.Directionality }, { token: i6.Location }, { token: OverlayOutsideClickDispatcher }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2452
|
+
Overlay.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: Overlay });
|
|
2453
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: Overlay, decorators: [{
|
|
2433
2454
|
type: Injectable
|
|
2434
2455
|
}], ctorParameters: function () {
|
|
2435
2456
|
return [{ type: ScrollStrategyOptions }, { type: OverlayContainer }, { type: i0.ComponentFactoryResolver }, { type: OverlayPositionBuilder }, { type: OverlayKeyboardDispatcher }, { type: i0.Injector }, { type: i0.NgZone }, { type: undefined, decorators: [{
|
|
@@ -2444,26 +2465,26 @@ const defaultPositionList = [
|
|
|
2444
2465
|
originX: 'start',
|
|
2445
2466
|
originY: 'bottom',
|
|
2446
2467
|
overlayX: 'start',
|
|
2447
|
-
overlayY: 'top'
|
|
2468
|
+
overlayY: 'top',
|
|
2448
2469
|
},
|
|
2449
2470
|
{
|
|
2450
2471
|
originX: 'start',
|
|
2451
2472
|
originY: 'top',
|
|
2452
2473
|
overlayX: 'start',
|
|
2453
|
-
overlayY: 'bottom'
|
|
2474
|
+
overlayY: 'bottom',
|
|
2454
2475
|
},
|
|
2455
2476
|
{
|
|
2456
2477
|
originX: 'end',
|
|
2457
2478
|
originY: 'top',
|
|
2458
2479
|
overlayX: 'end',
|
|
2459
|
-
overlayY: 'bottom'
|
|
2480
|
+
overlayY: 'bottom',
|
|
2460
2481
|
},
|
|
2461
2482
|
{
|
|
2462
2483
|
originX: 'end',
|
|
2463
2484
|
originY: 'bottom',
|
|
2464
2485
|
overlayX: 'end',
|
|
2465
|
-
overlayY: 'top'
|
|
2466
|
-
}
|
|
2486
|
+
overlayY: 'top',
|
|
2487
|
+
},
|
|
2467
2488
|
];
|
|
2468
2489
|
/** Injection token that determines the scroll handling while the connected overlay is open. */
|
|
2469
2490
|
const CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY = new InjectionToken('cdk-connected-overlay-scroll-strategy');
|
|
@@ -2478,9 +2499,9 @@ class CdkOverlayOrigin {
|
|
|
2478
2499
|
this.elementRef = elementRef;
|
|
2479
2500
|
}
|
|
2480
2501
|
}
|
|
2481
|
-
CdkOverlayOrigin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-
|
|
2482
|
-
CdkOverlayOrigin.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0-
|
|
2483
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-
|
|
2502
|
+
CdkOverlayOrigin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: CdkOverlayOrigin, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2503
|
+
CdkOverlayOrigin.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0-rc.3", type: CdkOverlayOrigin, selector: "[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]", exportAs: ["cdkOverlayOrigin"], ngImport: i0 });
|
|
2504
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: CdkOverlayOrigin, decorators: [{
|
|
2484
2505
|
type: Directive,
|
|
2485
2506
|
args: [{
|
|
2486
2507
|
selector: '[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]',
|
|
@@ -2528,7 +2549,9 @@ class CdkConnectedOverlay {
|
|
|
2528
2549
|
this.scrollStrategy = this._scrollStrategyFactory();
|
|
2529
2550
|
}
|
|
2530
2551
|
/** The offset in pixels for the overlay connection point on the x-axis */
|
|
2531
|
-
get offsetX() {
|
|
2552
|
+
get offsetX() {
|
|
2553
|
+
return this._offsetX;
|
|
2554
|
+
}
|
|
2532
2555
|
set offsetX(offsetX) {
|
|
2533
2556
|
this._offsetX = offsetX;
|
|
2534
2557
|
if (this._position) {
|
|
@@ -2536,7 +2559,9 @@ class CdkConnectedOverlay {
|
|
|
2536
2559
|
}
|
|
2537
2560
|
}
|
|
2538
2561
|
/** The offset in pixels for the overlay connection point on the y-axis */
|
|
2539
|
-
get offsetY() {
|
|
2562
|
+
get offsetY() {
|
|
2563
|
+
return this._offsetY;
|
|
2564
|
+
}
|
|
2540
2565
|
set offsetY(offsetY) {
|
|
2541
2566
|
this._offsetY = offsetY;
|
|
2542
2567
|
if (this._position) {
|
|
@@ -2544,22 +2569,40 @@ class CdkConnectedOverlay {
|
|
|
2544
2569
|
}
|
|
2545
2570
|
}
|
|
2546
2571
|
/** Whether or not the overlay should attach a backdrop. */
|
|
2547
|
-
get hasBackdrop() {
|
|
2548
|
-
|
|
2572
|
+
get hasBackdrop() {
|
|
2573
|
+
return this._hasBackdrop;
|
|
2574
|
+
}
|
|
2575
|
+
set hasBackdrop(value) {
|
|
2576
|
+
this._hasBackdrop = coerceBooleanProperty(value);
|
|
2577
|
+
}
|
|
2549
2578
|
/** Whether or not the overlay should be locked when scrolling. */
|
|
2550
|
-
get lockPosition() {
|
|
2551
|
-
|
|
2579
|
+
get lockPosition() {
|
|
2580
|
+
return this._lockPosition;
|
|
2581
|
+
}
|
|
2582
|
+
set lockPosition(value) {
|
|
2583
|
+
this._lockPosition = coerceBooleanProperty(value);
|
|
2584
|
+
}
|
|
2552
2585
|
/** Whether the overlay's width and height can be constrained to fit within the viewport. */
|
|
2553
|
-
get flexibleDimensions() {
|
|
2586
|
+
get flexibleDimensions() {
|
|
2587
|
+
return this._flexibleDimensions;
|
|
2588
|
+
}
|
|
2554
2589
|
set flexibleDimensions(value) {
|
|
2555
2590
|
this._flexibleDimensions = coerceBooleanProperty(value);
|
|
2556
2591
|
}
|
|
2557
2592
|
/** Whether the overlay can grow after the initial open when flexible positioning is turned on. */
|
|
2558
|
-
get growAfterOpen() {
|
|
2559
|
-
|
|
2593
|
+
get growAfterOpen() {
|
|
2594
|
+
return this._growAfterOpen;
|
|
2595
|
+
}
|
|
2596
|
+
set growAfterOpen(value) {
|
|
2597
|
+
this._growAfterOpen = coerceBooleanProperty(value);
|
|
2598
|
+
}
|
|
2560
2599
|
/** Whether the overlay can be pushed on-screen if none of the provided positions fit. */
|
|
2561
|
-
get push() {
|
|
2562
|
-
|
|
2600
|
+
get push() {
|
|
2601
|
+
return this._push;
|
|
2602
|
+
}
|
|
2603
|
+
set push(value) {
|
|
2604
|
+
this._push = coerceBooleanProperty(value);
|
|
2605
|
+
}
|
|
2563
2606
|
/** The associated overlay reference. */
|
|
2564
2607
|
get overlayRef() {
|
|
2565
2608
|
return this._overlayRef;
|
|
@@ -2599,7 +2642,7 @@ class CdkConnectedOverlay {
|
|
|
2599
2642
|
if (!this.positions || !this.positions.length) {
|
|
2600
2643
|
this.positions = defaultPositionList;
|
|
2601
2644
|
}
|
|
2602
|
-
const overlayRef = this._overlayRef = this._overlay.create(this._buildConfig());
|
|
2645
|
+
const overlayRef = (this._overlayRef = this._overlay.create(this._buildConfig()));
|
|
2603
2646
|
this._attachSubscription = overlayRef.attachments().subscribe(() => this.attach.emit());
|
|
2604
2647
|
this._detachSubscription = overlayRef.detachments().subscribe(() => this.detach.emit());
|
|
2605
2648
|
overlayRef.keydownEvents().subscribe((event) => {
|
|
@@ -2615,13 +2658,13 @@ class CdkConnectedOverlay {
|
|
|
2615
2658
|
}
|
|
2616
2659
|
/** Builds the overlay config based on the directive's inputs */
|
|
2617
2660
|
_buildConfig() {
|
|
2618
|
-
const positionStrategy = this._position =
|
|
2619
|
-
this.positionStrategy || this._createPositionStrategy();
|
|
2661
|
+
const positionStrategy = (this._position =
|
|
2662
|
+
this.positionStrategy || this._createPositionStrategy());
|
|
2620
2663
|
const overlayConfig = new OverlayConfig({
|
|
2621
2664
|
direction: this._dir,
|
|
2622
2665
|
positionStrategy,
|
|
2623
2666
|
scrollStrategy: this.scrollStrategy,
|
|
2624
|
-
hasBackdrop: this.hasBackdrop
|
|
2667
|
+
hasBackdrop: this.hasBackdrop,
|
|
2625
2668
|
});
|
|
2626
2669
|
if (this.width || this.width === 0) {
|
|
2627
2670
|
overlayConfig.width = this.width;
|
|
@@ -2654,7 +2697,8 @@ class CdkConnectedOverlay {
|
|
|
2654
2697
|
offsetY: currentPosition.offsetY || this.offsetY,
|
|
2655
2698
|
panelClass: currentPosition.panelClass || undefined,
|
|
2656
2699
|
}));
|
|
2657
|
-
return positionStrategy
|
|
2700
|
+
return positionStrategy
|
|
2701
|
+
.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin())
|
|
2658
2702
|
.withPositions(positions)
|
|
2659
2703
|
.withFlexibleDimensions(this.flexibleDimensions)
|
|
2660
2704
|
.withPush(this.push)
|
|
@@ -2665,7 +2709,9 @@ class CdkConnectedOverlay {
|
|
|
2665
2709
|
}
|
|
2666
2710
|
/** Returns the position strategy of the overlay to be set on the overlay config */
|
|
2667
2711
|
_createPositionStrategy() {
|
|
2668
|
-
const strategy = this._overlay
|
|
2712
|
+
const strategy = this._overlay
|
|
2713
|
+
.position()
|
|
2714
|
+
.flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());
|
|
2669
2715
|
this._updatePositionStrategy(strategy);
|
|
2670
2716
|
return strategy;
|
|
2671
2717
|
}
|
|
@@ -2720,13 +2766,13 @@ class CdkConnectedOverlay {
|
|
|
2720
2766
|
this._positionSubscription.unsubscribe();
|
|
2721
2767
|
}
|
|
2722
2768
|
}
|
|
2723
|
-
CdkConnectedOverlay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-
|
|
2724
|
-
CdkConnectedOverlay.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0-
|
|
2725
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-
|
|
2769
|
+
CdkConnectedOverlay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: CdkConnectedOverlay, deps: [{ token: Overlay }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY }, { token: i5.Directionality, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2770
|
+
CdkConnectedOverlay.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0-rc.3", type: CdkConnectedOverlay, selector: "[cdk-connected-overlay], [connected-overlay], [cdkConnectedOverlay]", inputs: { origin: ["cdkConnectedOverlayOrigin", "origin"], positions: ["cdkConnectedOverlayPositions", "positions"], positionStrategy: ["cdkConnectedOverlayPositionStrategy", "positionStrategy"], offsetX: ["cdkConnectedOverlayOffsetX", "offsetX"], offsetY: ["cdkConnectedOverlayOffsetY", "offsetY"], width: ["cdkConnectedOverlayWidth", "width"], height: ["cdkConnectedOverlayHeight", "height"], minWidth: ["cdkConnectedOverlayMinWidth", "minWidth"], minHeight: ["cdkConnectedOverlayMinHeight", "minHeight"], backdropClass: ["cdkConnectedOverlayBackdropClass", "backdropClass"], panelClass: ["cdkConnectedOverlayPanelClass", "panelClass"], viewportMargin: ["cdkConnectedOverlayViewportMargin", "viewportMargin"], scrollStrategy: ["cdkConnectedOverlayScrollStrategy", "scrollStrategy"], open: ["cdkConnectedOverlayOpen", "open"], disableClose: ["cdkConnectedOverlayDisableClose", "disableClose"], transformOriginSelector: ["cdkConnectedOverlayTransformOriginOn", "transformOriginSelector"], hasBackdrop: ["cdkConnectedOverlayHasBackdrop", "hasBackdrop"], lockPosition: ["cdkConnectedOverlayLockPosition", "lockPosition"], flexibleDimensions: ["cdkConnectedOverlayFlexibleDimensions", "flexibleDimensions"], growAfterOpen: ["cdkConnectedOverlayGrowAfterOpen", "growAfterOpen"], push: ["cdkConnectedOverlayPush", "push"] }, outputs: { backdropClick: "backdropClick", positionChange: "positionChange", attach: "attach", detach: "detach", overlayKeydown: "overlayKeydown", overlayOutsideClick: "overlayOutsideClick" }, exportAs: ["cdkConnectedOverlay"], usesOnChanges: true, ngImport: i0 });
|
|
2771
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: CdkConnectedOverlay, decorators: [{
|
|
2726
2772
|
type: Directive,
|
|
2727
2773
|
args: [{
|
|
2728
2774
|
selector: '[cdk-connected-overlay], [connected-overlay], [cdkConnectedOverlay]',
|
|
2729
|
-
exportAs: 'cdkConnectedOverlay'
|
|
2775
|
+
exportAs: 'cdkConnectedOverlay',
|
|
2730
2776
|
}]
|
|
2731
2777
|
}], ctorParameters: function () {
|
|
2732
2778
|
return [{ type: Overlay }, { type: i0.TemplateRef }, { type: i0.ViewContainerRef }, { type: undefined, decorators: [{
|
|
@@ -2831,22 +2877,16 @@ const CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER = {
|
|
|
2831
2877
|
*/
|
|
2832
2878
|
class OverlayModule {
|
|
2833
2879
|
}
|
|
2834
|
-
OverlayModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-
|
|
2835
|
-
OverlayModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.0-
|
|
2836
|
-
OverlayModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0-
|
|
2837
|
-
|
|
2838
|
-
CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER,
|
|
2839
|
-
], imports: [[BidiModule, PortalModule, ScrollingModule], ScrollingModule] });
|
|
2840
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.15", ngImport: i0, type: OverlayModule, decorators: [{
|
|
2880
|
+
OverlayModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: OverlayModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2881
|
+
OverlayModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: OverlayModule, declarations: [CdkConnectedOverlay, CdkOverlayOrigin], imports: [BidiModule, PortalModule, ScrollingModule], exports: [CdkConnectedOverlay, CdkOverlayOrigin, ScrollingModule] });
|
|
2882
|
+
OverlayModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: OverlayModule, providers: [Overlay, CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER], imports: [[BidiModule, PortalModule, ScrollingModule], ScrollingModule] });
|
|
2883
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: OverlayModule, decorators: [{
|
|
2841
2884
|
type: NgModule,
|
|
2842
2885
|
args: [{
|
|
2843
2886
|
imports: [BidiModule, PortalModule, ScrollingModule],
|
|
2844
2887
|
exports: [CdkConnectedOverlay, CdkOverlayOrigin, ScrollingModule],
|
|
2845
2888
|
declarations: [CdkConnectedOverlay, CdkOverlayOrigin],
|
|
2846
|
-
providers: [
|
|
2847
|
-
Overlay,
|
|
2848
|
-
CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER,
|
|
2849
|
-
],
|
|
2889
|
+
providers: [Overlay, CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER],
|
|
2850
2890
|
}]
|
|
2851
2891
|
}] });
|
|
2852
2892
|
|
|
@@ -2929,16 +2969,16 @@ class FullscreenOverlayContainer extends OverlayContainer {
|
|
|
2929
2969
|
*/
|
|
2930
2970
|
getFullscreenElement() {
|
|
2931
2971
|
const _document = this._document;
|
|
2932
|
-
return _document.fullscreenElement ||
|
|
2972
|
+
return (_document.fullscreenElement ||
|
|
2933
2973
|
_document.webkitFullscreenElement ||
|
|
2934
2974
|
_document.mozFullScreenElement ||
|
|
2935
2975
|
_document.msFullscreenElement ||
|
|
2936
|
-
null;
|
|
2976
|
+
null);
|
|
2937
2977
|
}
|
|
2938
2978
|
}
|
|
2939
|
-
FullscreenOverlayContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-
|
|
2940
|
-
FullscreenOverlayContainer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-
|
|
2941
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-
|
|
2979
|
+
FullscreenOverlayContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: FullscreenOverlayContainer, deps: [{ token: DOCUMENT }, { token: i1$1.Platform }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2980
|
+
FullscreenOverlayContainer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: FullscreenOverlayContainer, providedIn: 'root' });
|
|
2981
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: FullscreenOverlayContainer, decorators: [{
|
|
2942
2982
|
type: Injectable,
|
|
2943
2983
|
args: [{ providedIn: 'root' }]
|
|
2944
2984
|
}], ctorParameters: function () {
|
|
@@ -2956,6 +2996,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.15",
|
|
|
2956
2996
|
* found in the LICENSE file at https://angular.io/license
|
|
2957
2997
|
*/
|
|
2958
2998
|
|
|
2999
|
+
/**
|
|
3000
|
+
* @license
|
|
3001
|
+
* Copyright Google LLC All Rights Reserved.
|
|
3002
|
+
*
|
|
3003
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
3004
|
+
* found in the LICENSE file at https://angular.io/license
|
|
3005
|
+
*/
|
|
3006
|
+
|
|
2959
3007
|
/**
|
|
2960
3008
|
* Generated bundle index. Do not edit.
|
|
2961
3009
|
*/
|