@angular/cdk 20.0.0-next.6 → 20.0.0-next.7
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 +10 -11
- package/{a11y-module.d-9e4162d8.d.ts → a11y-module.d-DrV0SO0k.d.ts} +4 -4
- package/a11y-prebuilt.css +1 -1
- package/accordion/index.d.ts +2 -2
- package/{activedescendant-key-manager.d-8f004111.d.ts → activedescendant-key-manager.d-DSYvyoT0.d.ts} +3 -3
- package/bidi/index.d.ts +1 -1
- package/{bidi-module.d-e02fd94c.d.ts → bidi-module.d-bsVYOt0R.d.ts} +2 -2
- package/clipboard/index.d.ts +1 -1
- package/coercion/index.d.ts +1 -1
- package/collections/index.d.ts +8 -8
- package/{data-source.d-7eda4d9a.d.ts → data-source.d-DAIyaEMO.d.ts} +2 -2
- package/dialog/index.d.ts +16 -16
- package/drag-drop/index.d.ts +6 -6
- package/fesm2022/{a11y-module-3f18e5c2.mjs → a11y-module-tRUj0Pog.mjs} +10 -10
- package/fesm2022/{a11y-module-3f18e5c2.mjs.map → a11y-module-tRUj0Pog.mjs.map} +1 -1
- package/fesm2022/a11y.mjs +24 -24
- package/fesm2022/a11y.mjs.map +1 -1
- package/fesm2022/accordion.mjs +3 -3
- package/fesm2022/accordion.mjs.map +1 -1
- package/fesm2022/{activedescendant-key-manager-ca3e95bd.mjs → activedescendant-key-manager-BYiHZAZc.mjs} +3 -3
- package/fesm2022/{activedescendant-key-manager-ca3e95bd.mjs.map → activedescendant-key-manager-BYiHZAZc.mjs.map} +1 -1
- package/fesm2022/{array-88204b72.mjs → array-Hg8isvLj.mjs} +2 -2
- package/fesm2022/{array-88204b72.mjs.map → array-Hg8isvLj.mjs.map} +1 -1
- package/fesm2022/bidi.mjs +77 -3
- package/fesm2022/bidi.mjs.map +1 -1
- package/fesm2022/{breakpoints-observer-9d296976.mjs → breakpoints-observer-CsCzbYlX.mjs} +4 -4
- package/fesm2022/{breakpoints-observer-9d296976.mjs.map → breakpoints-observer-CsCzbYlX.mjs.map} +1 -1
- package/fesm2022/cdk.mjs +1 -1
- package/fesm2022/cdk.mjs.map +1 -1
- package/fesm2022/clipboard.mjs +1 -1
- package/fesm2022/clipboard.mjs.map +1 -1
- package/fesm2022/coercion/private.mjs +14 -2
- package/fesm2022/coercion/private.mjs.map +1 -1
- package/fesm2022/coercion.mjs +3 -3
- package/fesm2022/coercion.mjs.map +1 -1
- package/fesm2022/collections.mjs +5 -5
- package/fesm2022/{css-pixel-value-5ab12b77.mjs → css-pixel-value-C1yoKJ7R.mjs} +2 -2
- package/fesm2022/{css-pixel-value-5ab12b77.mjs.map → css-pixel-value-C1yoKJ7R.mjs.map} +1 -1
- package/fesm2022/{data-source-a3a3a257.mjs → data-source-CL6Fasig.mjs} +2 -2
- package/fesm2022/{data-source-a3a3a257.mjs.map → data-source-CL6Fasig.mjs.map} +1 -1
- package/fesm2022/dialog.mjs +38 -38
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/{directionality-25132624.mjs → directionality-6lVHj23y.mjs} +2 -2
- package/fesm2022/{directionality-25132624.mjs.map → directionality-6lVHj23y.mjs.map} +1 -1
- package/fesm2022/{dispose-view-repeater-strategy-0bf96031.mjs → dispose-view-repeater-strategy-BLw1RSwm.mjs} +3 -3
- package/fesm2022/{dispose-view-repeater-strategy-0bf96031.mjs.map → dispose-view-repeater-strategy-BLw1RSwm.mjs.map} +1 -1
- package/fesm2022/drag-drop.mjs +17 -17
- package/fesm2022/drag-drop.mjs.map +1 -1
- package/fesm2022/{element-bed495ef.mjs → element-CpqV8p-X.mjs} +2 -2
- package/fesm2022/{element-bed495ef.mjs.map → element-CpqV8p-X.mjs.map} +1 -1
- package/fesm2022/{fake-event-detection-61bf2988.mjs → fake-event-detection-D0_6qVp2.mjs} +2 -2
- package/fesm2022/{fake-event-detection-61bf2988.mjs.map → fake-event-detection-D0_6qVp2.mjs.map} +1 -1
- package/fesm2022/{focus-key-manager-f4cf48e1.mjs → focus-key-manager-DgyxYbV2.mjs} +3 -3
- package/fesm2022/{focus-key-manager-f4cf48e1.mjs.map → focus-key-manager-DgyxYbV2.mjs.map} +1 -1
- package/fesm2022/{focus-monitor-4af46fa6.mjs → focus-monitor-BZnK-7fT.mjs} +9 -9
- package/fesm2022/{focus-monitor-4af46fa6.mjs.map → focus-monitor-BZnK-7fT.mjs.map} +1 -1
- package/fesm2022/{id-generator-dd03740e.mjs → id-generator-B33AfkWd.mjs} +2 -2
- package/fesm2022/{id-generator-dd03740e.mjs.map → id-generator-B33AfkWd.mjs.map} +1 -1
- package/fesm2022/{keycodes-fbdb6e67.mjs → keycodes-DPWmI2Ix.mjs} +2 -2
- package/fesm2022/{keycodes-fbdb6e67.mjs.map → keycodes-DPWmI2Ix.mjs.map} +1 -1
- package/fesm2022/keycodes.mjs +14 -2
- package/fesm2022/keycodes.mjs.map +1 -1
- package/fesm2022/layout.mjs +3 -3
- package/fesm2022/layout.mjs.map +1 -1
- package/fesm2022/{list-key-manager-0ce9d5be.mjs → list-key-manager-CYBoL_nN.mjs} +5 -5
- package/fesm2022/{list-key-manager-0ce9d5be.mjs.map → list-key-manager-CYBoL_nN.mjs.map} +1 -1
- package/fesm2022/listbox.mjs +11 -11
- package/fesm2022/listbox.mjs.map +1 -1
- package/fesm2022/menu.mjs +26 -26
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/observers/private.mjs.map +1 -1
- package/fesm2022/observers.mjs +209 -5
- package/fesm2022/observers.mjs.map +1 -1
- package/fesm2022/{overlay-module-a2bddb9f.mjs → overlay-module-UgjfuiDh.mjs} +19 -19
- package/fesm2022/{overlay-module-a2bddb9f.mjs.map → overlay-module-UgjfuiDh.mjs.map} +1 -1
- package/fesm2022/overlay.mjs +20 -20
- package/fesm2022/overlay.mjs.map +1 -1
- package/fesm2022/{passive-listeners-1189a3bc.mjs → passive-listeners-ZmZRMx8D.mjs} +2 -2
- package/fesm2022/{passive-listeners-1189a3bc.mjs.map → passive-listeners-ZmZRMx8D.mjs.map} +1 -1
- package/fesm2022/{platform-3b280dd2.mjs → platform-BInyKIh1.mjs} +2 -2
- package/fesm2022/{platform-3b280dd2.mjs.map → platform-BInyKIh1.mjs.map} +1 -1
- package/fesm2022/platform.mjs +5 -5
- package/fesm2022/platform.mjs.map +1 -1
- package/fesm2022/portal.mjs +614 -3
- package/fesm2022/portal.mjs.map +1 -1
- package/fesm2022/private.mjs +18 -3
- package/fesm2022/private.mjs.map +1 -1
- package/fesm2022/{recycle-view-repeater-strategy-7fe34ce5.mjs → recycle-view-repeater-strategy-Ce0p4WhD.mjs} +4 -4
- package/fesm2022/{recycle-view-repeater-strategy-7fe34ce5.mjs.map → recycle-view-repeater-strategy-Ce0p4WhD.mjs.map} +1 -1
- package/fesm2022/{scrolling-4b9e82b7.mjs → scrolling-BXVcIfjZ.mjs} +2 -2
- package/fesm2022/{scrolling-4b9e82b7.mjs.map → scrolling-BXVcIfjZ.mjs.map} +1 -1
- package/fesm2022/scrolling.mjs +1463 -12
- package/fesm2022/scrolling.mjs.map +1 -1
- package/fesm2022/{selection-model-7800ff2c.mjs → selection-model-88BErm4w.mjs} +2 -2
- package/fesm2022/{selection-model-7800ff2c.mjs.map → selection-model-88BErm4w.mjs.map} +1 -1
- package/fesm2022/{shadow-dom-09da63d7.mjs → shadow-dom-DFvX9W95.mjs} +2 -2
- package/fesm2022/{shadow-dom-09da63d7.mjs.map → shadow-dom-DFvX9W95.mjs.map} +1 -1
- package/fesm2022/stepper.mjs +10 -10
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/{style-loader-f70e1cd6.mjs → style-loader-DpEDdstc.mjs} +2 -2
- package/fesm2022/{style-loader-f70e1cd6.mjs.map → style-loader-DpEDdstc.mjs.map} +1 -1
- package/fesm2022/table.mjs +13 -13
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/{test-environment-75e095b5.mjs → test-environment-BgaaXvCA.mjs} +2 -2
- package/fesm2022/{test-environment-75e095b5.mjs.map → test-environment-BgaaXvCA.mjs.map} +1 -1
- package/fesm2022/testing/selenium-webdriver.mjs +1 -1
- package/fesm2022/testing/selenium-webdriver.mjs.map +1 -1
- package/fesm2022/testing/testbed.mjs +2 -2
- package/fesm2022/testing/testbed.mjs.map +1 -1
- package/fesm2022/testing.mjs +697 -2
- package/fesm2022/testing.mjs.map +1 -1
- package/fesm2022/text-field.mjs +6 -6
- package/fesm2022/text-field.mjs.map +1 -1
- package/fesm2022/{tree-key-manager-fb779925.mjs → tree-key-manager-DIhQ-v4R.mjs} +5 -5
- package/fesm2022/{tree-key-manager-fb779925.mjs.map → tree-key-manager-DIhQ-v4R.mjs.map} +1 -1
- package/fesm2022/tree.mjs +8 -8
- package/fesm2022/tree.mjs.map +1 -1
- package/fesm2022/{typeahead-5b1c5e41.mjs → typeahead-BAa3HZoh.mjs} +3 -3
- package/fesm2022/{typeahead-5b1c5e41.mjs.map → typeahead-BAa3HZoh.mjs.map} +1 -1
- package/fesm2022/{unique-selection-dispatcher-95d71775.mjs → unique-selection-dispatcher-SqPM2COI.mjs} +2 -2
- package/fesm2022/{unique-selection-dispatcher-95d71775.mjs.map → unique-selection-dispatcher-SqPM2COI.mjs.map} +1 -1
- package/{focus-key-manager.d-808a8cfc.d.ts → focus-key-manager.d-DCiEwxN7.d.ts} +4 -4
- package/{focus-monitor.d-463f4526.d.ts → focus-monitor.d-BBkiOKUH.d.ts} +2 -2
- package/{harness-environment.d-ccca6bee.d.ts → harness-environment.d-ByFLvxZh.d.ts} +2 -2
- package/{list-key-manager.d-6b8e8454.d.ts → list-key-manager.d-CylnKWfo.d.ts} +2 -2
- package/listbox/index.d.ts +3 -3
- package/menu/index.d.ts +12 -12
- package/{number-property.d-1067cb21.d.ts → number-property.d-BzBQchZ2.d.ts} +2 -2
- package/observers/index.d.ts +84 -4
- package/overlay/_index.scss +4 -1
- package/overlay/index.d.ts +12 -13
- package/{overlay-module.d-bb9fd227.d.ts → overlay-module.d-24bhgNtF.d.ts} +8 -8
- package/overlay-prebuilt.css +1 -1
- package/package.json +1 -1
- package/platform/index.d.ts +1 -1
- package/{platform.d-54a48c5c.d.ts → platform.d-cnFZCLss.d.ts} +1 -1
- package/portal/index.d.ts +3 -3
- package/{portal-directives.d-7048496c.d.ts → portal-directives.d-D9c4J36c.d.ts} +2 -2
- package/private/index.d.ts +1 -1
- package/schematics/ng-add/index.js +1 -1
- package/scrolling/index.d.ts +62 -7
- package/{scrolling-module.d-a309d6c8.d.ts → scrolling-module.d-CuNwYGVM.d.ts} +6 -6
- package/{selection-model.d-8f93f170.d.ts → selection-model.d-CHuTS0tw.d.ts} +2 -2
- package/stepper/index.d.ts +5 -5
- package/{style-loader.d-a4916e34.d.ts → style-loader.d-DbvWk0ty.d.ts} +1 -1
- package/table/index.d.ts +6 -7
- package/testing/index.d.ts +1 -1
- package/testing/selenium-webdriver/index.d.ts +1 -1
- package/testing/testbed/index.d.ts +1 -1
- package/text-field/index.d.ts +1 -1
- package/text-field-prebuilt.css +1 -1
- package/tree/index.d.ts +4 -4
- package/{tree-key-manager-strategy.d-e1a4bb7c.d.ts → tree-key-manager-strategy.d-DipnXoCr.d.ts} +1 -1
- package/{unique-selection-dispatcher.d-49e3cd5f.d.ts → unique-selection-dispatcher.d-BgWACqWn.d.ts} +2 -2
- package/{view-repeater.d-bf5e36f0.d.ts → view-repeater.d-CJ9e48MX.d.ts} +3 -3
- package/fesm2022/bidi-module-93941905.mjs +0 -77
- package/fesm2022/bidi-module-93941905.mjs.map +0 -1
- package/fesm2022/modifiers-68a3bc3a.mjs +0 -13
- package/fesm2022/modifiers-68a3bc3a.mjs.map +0 -1
- package/fesm2022/observable-36bb5527.mjs +0 -15
- package/fesm2022/observable-36bb5527.mjs.map +0 -1
- package/fesm2022/observe-content-85983868.mjs +0 -210
- package/fesm2022/observe-content-85983868.mjs.map +0 -1
- package/fesm2022/portal-directives-4da94e82.mjs +0 -615
- package/fesm2022/portal-directives-4da94e82.mjs.map +0 -1
- package/fesm2022/scrolling-module-2ed090a6.mjs +0 -1463
- package/fesm2022/scrolling-module-2ed090a6.mjs.map +0 -1
- package/fesm2022/text-filtering-682c2e05.mjs +0 -698
- package/fesm2022/text-filtering-682c2e05.mjs.map +0 -1
- package/fesm2022/visually-hidden-912d0ccc.mjs +0 -18
- package/fesm2022/visually-hidden-912d0ccc.mjs.map +0 -1
- package/observe-content.d-406532a1.d.ts +0 -84
- package/viewport-ruler.d-5b507354.d.ts +0 -58
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Subject } from 'rxjs';
|
|
2
2
|
import { tap, debounceTime, filter, map } from 'rxjs/operators';
|
|
3
|
-
import {
|
|
3
|
+
import { A, Z, ZERO, NINE } from './keycodes-DPWmI2Ix.mjs';
|
|
4
4
|
|
|
5
5
|
const DEFAULT_TYPEAHEAD_DEBOUNCE_INTERVAL_MS = 200;
|
|
6
6
|
/**
|
|
@@ -84,5 +84,5 @@ class Typeahead {
|
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
export { Typeahead
|
|
88
|
-
//# sourceMappingURL=typeahead-
|
|
87
|
+
export { Typeahead };
|
|
88
|
+
//# sourceMappingURL=typeahead-BAa3HZoh.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typeahead-
|
|
1
|
+
{"version":3,"file":"typeahead-BAa3HZoh.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-46c76129e412/bin/src/cdk/a11y/key-manager/typeahead.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {A, NINE, Z, ZERO} from '../../keycodes';\nimport {Subject, Observable} from 'rxjs';\nimport {debounceTime, filter, map, tap} from 'rxjs/operators';\n\nconst DEFAULT_TYPEAHEAD_DEBOUNCE_INTERVAL_MS = 200;\n\ninterface TypeaheadItem {\n getLabel?(): string;\n}\n\ninterface TypeaheadConfig<T> {\n debounceInterval?: number;\n skipPredicate?: (item: T) => boolean | undefined;\n}\n\n/**\n * Selects items based on keyboard inputs. Implements the typeahead functionality of\n * `role=\"listbox\"` or `role=\"tree\"` and other related roles.\n */\nexport class Typeahead<T extends TypeaheadItem> {\n private readonly _letterKeyStream = new Subject<string>();\n private _items: readonly T[] = [];\n private _selectedItemIndex = -1;\n\n /** Buffer for the letters that the user has pressed */\n private _pressedLetters: string[] = [];\n\n private _skipPredicateFn?: (item: T) => boolean | undefined;\n\n private readonly _selectedItem = new Subject<T>();\n readonly selectedItem: Observable<T> = this._selectedItem;\n\n constructor(initialItems: readonly T[], config?: TypeaheadConfig<T>) {\n const typeAheadInterval =\n typeof config?.debounceInterval === 'number'\n ? config.debounceInterval\n : DEFAULT_TYPEAHEAD_DEBOUNCE_INTERVAL_MS;\n\n if (config?.skipPredicate) {\n this._skipPredicateFn = config.skipPredicate;\n }\n\n if (\n (typeof ngDevMode === 'undefined' || ngDevMode) &&\n initialItems.length &&\n initialItems.some(item => typeof item.getLabel !== 'function')\n ) {\n throw new Error('KeyManager items in typeahead mode must implement the `getLabel` method.');\n }\n\n this.setItems(initialItems);\n this._setupKeyHandler(typeAheadInterval);\n }\n\n destroy() {\n this._pressedLetters = [];\n this._letterKeyStream.complete();\n this._selectedItem.complete();\n }\n\n setCurrentSelectedItemIndex(index: number) {\n this._selectedItemIndex = index;\n }\n\n setItems(items: readonly T[]) {\n this._items = items;\n }\n\n handleKey(event: KeyboardEvent): void {\n const keyCode = event.keyCode;\n\n // Attempt to use the `event.key` which also maps it to the user's keyboard language,\n // otherwise fall back to resolving alphanumeric characters via the keyCode.\n if (event.key && event.key.length === 1) {\n this._letterKeyStream.next(event.key.toLocaleUpperCase());\n } else if ((keyCode >= A && keyCode <= Z) || (keyCode >= ZERO && keyCode <= NINE)) {\n this._letterKeyStream.next(String.fromCharCode(keyCode));\n }\n }\n\n /** Gets whether the user is currently typing into the manager using the typeahead feature. */\n isTyping(): boolean {\n return this._pressedLetters.length > 0;\n }\n\n /** Resets the currently stored sequence of typed letters. */\n reset(): void {\n this._pressedLetters = [];\n }\n\n private _setupKeyHandler(typeAheadInterval: number) {\n // Debounce the presses of non-navigational keys, collect the ones that correspond to letters\n // and convert those letters back into a string. Afterwards find the first item that starts\n // with that string and select it.\n this._letterKeyStream\n .pipe(\n tap(letter => this._pressedLetters.push(letter)),\n debounceTime(typeAheadInterval),\n filter(() => this._pressedLetters.length > 0),\n map(() => this._pressedLetters.join('').toLocaleUpperCase()),\n )\n .subscribe(inputString => {\n // Start at 1 because we want to start searching at the item immediately\n // following the current active item.\n for (let i = 1; i < this._items.length + 1; i++) {\n const index = (this._selectedItemIndex + i) % this._items.length;\n const item = this._items[index];\n\n if (\n !this._skipPredicateFn?.(item) &&\n item.getLabel?.().toLocaleUpperCase().trim().indexOf(inputString) === 0\n ) {\n this._selectedItem.next(item);\n break;\n }\n }\n\n this._pressedLetters = [];\n });\n }\n}\n"],"names":[],"mappings":"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"}
|
|
@@ -45,5 +45,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5",
|
|
|
45
45
|
args: [{ providedIn: 'root' }]
|
|
46
46
|
}] });
|
|
47
47
|
|
|
48
|
-
export { UniqueSelectionDispatcher
|
|
49
|
-
//# sourceMappingURL=unique-selection-dispatcher-
|
|
48
|
+
export { UniqueSelectionDispatcher };
|
|
49
|
+
//# sourceMappingURL=unique-selection-dispatcher-SqPM2COI.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unique-selection-dispatcher-
|
|
1
|
+
{"version":3,"file":"unique-selection-dispatcher-SqPM2COI.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-46c76129e412/bin/src/cdk/collections/unique-selection-dispatcher.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {Injectable, OnDestroy} from '@angular/core';\n\n// Users of the Dispatcher never need to see this type, but TypeScript requires it to be exported.\nexport type UniqueSelectionDispatcherListener = (id: string, name: string) => void;\n\n/**\n * Class to coordinate unique selection based on name.\n * Intended to be consumed as an Angular service.\n * This service is needed because native radio change events are only fired on the item currently\n * being selected, and we still need to uncheck the previous selection.\n *\n * This service does not *store* any IDs and names because they may change at any time, so it is\n * less error-prone if they are simply passed through when the events occur.\n */\n@Injectable({providedIn: 'root'})\nexport class UniqueSelectionDispatcher implements OnDestroy {\n private _listeners: UniqueSelectionDispatcherListener[] = [];\n\n /**\n * Notify other items that selection for the given name has been set.\n * @param id ID of the item.\n * @param name Name of the item.\n */\n notify(id: string, name: string) {\n for (let listener of this._listeners) {\n listener(id, name);\n }\n }\n\n /**\n * Listen for future changes to item selection.\n * @return Function used to deregister listener\n */\n listen(listener: UniqueSelectionDispatcherListener): () => void {\n this._listeners.push(listener);\n return () => {\n this._listeners = this._listeners.filter((registered: UniqueSelectionDispatcherListener) => {\n return listener !== registered;\n });\n };\n }\n\n ngOnDestroy() {\n this._listeners = [];\n }\n}\n"],"names":[],"mappings":";;;AAaA;;;;;;;;AAQG;MAEU,yBAAyB,CAAA;IAC5B,UAAU,GAAwC,EAAE;AAE5D;;;;AAIG;IACH,MAAM,CAAC,EAAU,EAAE,IAAY,EAAA;AAC7B,QAAA,KAAK,IAAI,QAAQ,IAAI,IAAI,CAAC,UAAU,EAAE;AACpC,YAAA,QAAQ,CAAC,EAAE,EAAE,IAAI,CAAC;;;AAItB;;;AAGG;AACH,IAAA,MAAM,CAAC,QAA2C,EAAA;AAChD,QAAA,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC;AAC9B,QAAA,OAAO,MAAK;AACV,YAAA,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,UAA6C,KAAI;gBACzF,OAAO,QAAQ,KAAK,UAAU;AAChC,aAAC,CAAC;AACJ,SAAC;;IAGH,WAAW,GAAA;AACT,QAAA,IAAI,CAAC,UAAU,GAAG,EAAE;;8GA5BX,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;AAAzB,IAAA,OAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,eAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,yBAAyB,cADb,MAAM,EAAA,CAAA;;kGAClB,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBADrC,UAAU;mBAAC,EAAC,UAAU,EAAE,MAAM,EAAC;;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { ListKeyManagerOption, ListKeyManager } from './list-key-manager.d-CylnKWfo.js';
|
|
2
|
+
import { FocusOrigin } from './focus-monitor.d-BBkiOKUH.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* This is the interface for focusable items (used by the FocusKeyManager).
|
|
@@ -30,5 +30,5 @@ declare class FocusKeyManager<T> extends ListKeyManager<FocusableOption & T> {
|
|
|
30
30
|
setActiveItem(item: T): void;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
export { FocusKeyManager
|
|
34
|
-
export type { FocusableOption
|
|
33
|
+
export { FocusKeyManager };
|
|
34
|
+
export type { FocusableOption };
|
|
@@ -206,5 +206,5 @@ declare class CdkMonitorFocus implements AfterViewInit, OnDestroy {
|
|
|
206
206
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkMonitorFocus, "[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]", ["cdkMonitorFocus"], {}, { "cdkFocusChange": "cdkFocusChange"; }, never, never, true, never>;
|
|
207
207
|
}
|
|
208
208
|
|
|
209
|
-
export { CdkMonitorFocus
|
|
210
|
-
export type {
|
|
209
|
+
export { CdkMonitorFocus, FOCUS_MONITOR_DEFAULT_OPTIONS, FocusMonitor, FocusMonitorDetectionMode };
|
|
210
|
+
export type { FocusMonitorOptions, FocusOptions, FocusOrigin };
|
|
@@ -616,5 +616,5 @@ declare abstract class HarnessEnvironment<E> implements HarnessLoader, LocatorFa
|
|
|
616
616
|
private _getQueryResultForElement;
|
|
617
617
|
}
|
|
618
618
|
|
|
619
|
-
export { ComponentHarness
|
|
620
|
-
export type { AsyncFactoryFn
|
|
619
|
+
export { ComponentHarness, ContentContainerComponentHarness, HarnessEnvironment, HarnessPredicate, TestKey };
|
|
620
|
+
export type { AsyncFactoryFn, AsyncOptionPredicate, AsyncPredicate, BaseHarnessFilters, ComponentHarnessConstructor, ElementDimensions, EventData, HarnessLoader, HarnessQuery, LocatorFactory, LocatorFnResult, ModifierKeys, TestElement, TextOptions };
|
|
@@ -161,5 +161,5 @@ declare class ListKeyManager<T extends ListKeyManagerOption> {
|
|
|
161
161
|
private _itemsChanged;
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export { ListKeyManager
|
|
165
|
-
export type {
|
|
164
|
+
export { ListKeyManager };
|
|
165
|
+
export type { ListKeyManagerModifierKey, ListKeyManagerOption };
|
package/listbox/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { OnDestroy, AfterContentInit, QueryList, NgZone, ChangeDetectorRef } from '@angular/core';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { Highlightable, ActiveDescendantKeyManager } from '../activedescendant-key-manager.d-DSYvyoT0.js';
|
|
4
|
+
import { ListKeyManagerOption } from '../list-key-manager.d-CylnKWfo.js';
|
|
5
5
|
import { Subject } from 'rxjs';
|
|
6
|
-
import {
|
|
6
|
+
import { SelectionModel } from '../selection-model.d-CHuTS0tw.js';
|
|
7
7
|
import { ControlValueAccessor } from '@angular/forms';
|
|
8
8
|
|
|
9
9
|
/**
|
package/menu/index.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { ElementRef, Renderer2, QueryList, InjectionToken, Optional, OnDestroy, Injector, ViewContainerRef, EventEmitter, TemplateRef, OnChanges, SimpleChanges, NgZone, AfterContentInit } from '@angular/core';
|
|
3
|
-
import {
|
|
3
|
+
import { ScrollStrategy, ConnectedPosition, OverlayRef, OverlayModule } from '../overlay-module.d-24bhgNtF.js';
|
|
4
4
|
import * as rxjs from 'rxjs';
|
|
5
5
|
import { Observable, Subject } from 'rxjs';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import '../scrolling-module.d-
|
|
11
|
-
import '../data-source.d-
|
|
12
|
-
import '../number-property.d-
|
|
6
|
+
import { FocusOrigin } from '../focus-monitor.d-BBkiOKUH.js';
|
|
7
|
+
import { FocusableOption, FocusKeyManager } from '../focus-key-manager.d-DCiEwxN7.js';
|
|
8
|
+
import { Directionality } from '../bidi-module.d-bsVYOt0R.js';
|
|
9
|
+
import { TemplatePortal } from '../portal-directives.d-D9c4J36c.js';
|
|
10
|
+
import '../scrolling-module.d-CuNwYGVM.js';
|
|
11
|
+
import '../data-source.d-DAIyaEMO.js';
|
|
12
|
+
import '../number-property.d-BzBQchZ2.js';
|
|
13
13
|
import '@angular/common';
|
|
14
|
-
import '../
|
|
15
|
-
import '../platform.d-
|
|
16
|
-
import '../style-loader.d-
|
|
17
|
-
import '../list-key-manager.d-
|
|
14
|
+
import '../scrolling/index.js';
|
|
15
|
+
import '../platform.d-cnFZCLss.js';
|
|
16
|
+
import '../style-loader.d-DbvWk0ty.js';
|
|
17
|
+
import '../list-key-manager.d-CylnKWfo.js';
|
|
18
18
|
|
|
19
19
|
/** Item to track for mouse focus events. */
|
|
20
20
|
interface FocusableElement {
|
|
@@ -12,5 +12,5 @@ declare function coerceNumberProperty<D>(value: any, fallback: D): number | D;
|
|
|
12
12
|
*/
|
|
13
13
|
declare function _isNumberValue(value: any): boolean;
|
|
14
14
|
|
|
15
|
-
export { _isNumberValue
|
|
16
|
-
export type { NumberInput
|
|
15
|
+
export { _isNumberValue, coerceNumberProperty };
|
|
16
|
+
export type { NumberInput };
|
package/observers/index.d.ts
CHANGED
|
@@ -1,4 +1,84 @@
|
|
|
1
|
-
|
|
2
|
-
import '
|
|
3
|
-
import '@angular/core';
|
|
4
|
-
import 'rxjs';
|
|
1
|
+
import { NumberInput } from '../number-property.d-BzBQchZ2.js';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { AfterContentInit, OnDestroy, EventEmitter, ElementRef } from '@angular/core';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Factory that creates a new MutationObserver and allows us to stub it out in unit tests.
|
|
8
|
+
* @docs-private
|
|
9
|
+
*/
|
|
10
|
+
declare class MutationObserverFactory {
|
|
11
|
+
create(callback: MutationCallback): MutationObserver | null;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MutationObserverFactory, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MutationObserverFactory>;
|
|
14
|
+
}
|
|
15
|
+
/** An injectable service that allows watching elements for changes to their content. */
|
|
16
|
+
declare class ContentObserver implements OnDestroy {
|
|
17
|
+
private _mutationObserverFactory;
|
|
18
|
+
/** Keeps track of the existing MutationObservers so they can be reused. */
|
|
19
|
+
private _observedElements;
|
|
20
|
+
private _ngZone;
|
|
21
|
+
constructor(...args: unknown[]);
|
|
22
|
+
ngOnDestroy(): void;
|
|
23
|
+
/**
|
|
24
|
+
* Observe content changes on an element.
|
|
25
|
+
* @param element The element to observe for content changes.
|
|
26
|
+
*/
|
|
27
|
+
observe(element: Element): Observable<MutationRecord[]>;
|
|
28
|
+
/**
|
|
29
|
+
* Observe content changes on an element.
|
|
30
|
+
* @param element The element to observe for content changes.
|
|
31
|
+
*/
|
|
32
|
+
observe(element: ElementRef<Element>): Observable<MutationRecord[]>;
|
|
33
|
+
/**
|
|
34
|
+
* Observes the given element by using the existing MutationObserver if available, or creating a
|
|
35
|
+
* new one if not.
|
|
36
|
+
*/
|
|
37
|
+
private _observeElement;
|
|
38
|
+
/**
|
|
39
|
+
* Un-observes the given element and cleans up the underlying MutationObserver if nobody else is
|
|
40
|
+
* observing this element.
|
|
41
|
+
*/
|
|
42
|
+
private _unobserveElement;
|
|
43
|
+
/** Clean up the underlying MutationObserver for the specified element. */
|
|
44
|
+
private _cleanupObserver;
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContentObserver, never>;
|
|
46
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ContentObserver>;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Directive that triggers a callback whenever the content of
|
|
50
|
+
* its associated element has changed.
|
|
51
|
+
*/
|
|
52
|
+
declare class CdkObserveContent implements AfterContentInit, OnDestroy {
|
|
53
|
+
private _contentObserver;
|
|
54
|
+
private _elementRef;
|
|
55
|
+
/** Event emitted for each change in the element's content. */
|
|
56
|
+
readonly event: EventEmitter<MutationRecord[]>;
|
|
57
|
+
/**
|
|
58
|
+
* Whether observing content is disabled. This option can be used
|
|
59
|
+
* to disconnect the underlying MutationObserver until it is needed.
|
|
60
|
+
*/
|
|
61
|
+
get disabled(): boolean;
|
|
62
|
+
set disabled(value: boolean);
|
|
63
|
+
private _disabled;
|
|
64
|
+
/** Debounce interval for emitting the changes. */
|
|
65
|
+
get debounce(): number;
|
|
66
|
+
set debounce(value: NumberInput);
|
|
67
|
+
private _debounce;
|
|
68
|
+
private _currentSubscription;
|
|
69
|
+
constructor(...args: unknown[]);
|
|
70
|
+
ngAfterContentInit(): void;
|
|
71
|
+
ngOnDestroy(): void;
|
|
72
|
+
private _subscribe;
|
|
73
|
+
private _unsubscribe;
|
|
74
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CdkObserveContent, never>;
|
|
75
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkObserveContent, "[cdkObserveContent]", ["cdkObserveContent"], { "disabled": { "alias": "cdkObserveContentDisabled"; "required": false; }; "debounce": { "alias": "debounce"; "required": false; }; }, { "event": "cdkObserveContent"; }, never, never, true, never>;
|
|
76
|
+
static ngAcceptInputType_disabled: unknown;
|
|
77
|
+
}
|
|
78
|
+
declare class ObserversModule {
|
|
79
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ObserversModule, never>;
|
|
80
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ObserversModule, never, [typeof CdkObserveContent], [typeof CdkObserveContent]>;
|
|
81
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ObserversModule>;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export { CdkObserveContent, ContentObserver, MutationObserverFactory, ObserversModule };
|
package/overlay/_index.scss
CHANGED
|
@@ -85,7 +85,6 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
|
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
.cdk-overlay-backdrop {
|
|
88
|
-
// TODO(jelbourn): reuse sidenav fullscreen mixin.
|
|
89
88
|
position: absolute;
|
|
90
89
|
top: 0;
|
|
91
90
|
bottom: 0;
|
|
@@ -100,6 +99,10 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
|
|
|
100
99
|
z-index: $overlay-backdrop-z-index;
|
|
101
100
|
transition: opacity $backdrop-animation-duration $backdrop-animation-timing-function;
|
|
102
101
|
}
|
|
102
|
+
|
|
103
|
+
@media (prefers-reduced-motion) {
|
|
104
|
+
transition-duration: 1ms;
|
|
105
|
+
}
|
|
103
106
|
}
|
|
104
107
|
|
|
105
108
|
.cdk-overlay-backdrop-showing {
|
package/overlay/index.d.ts
CHANGED
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
3
|
-
import {
|
|
4
|
-
export {
|
|
5
|
-
import {
|
|
6
|
-
export { V as ViewportRuler } from '../viewport-ruler.d-5b507354.js';
|
|
1
|
+
import { ScrollStrategy, OverlayRef, PositionStrategy, FlexibleConnectedPositionStrategyOrigin, FlexibleConnectedPositionStrategy, OverlayConfig, OverlayContainer } from '../overlay-module.d-24bhgNtF.js';
|
|
2
|
+
export { CdkConnectedOverlay, CdkOverlayOrigin, ConnectedOverlayPositionChange, ConnectedPosition, ConnectionPositionPair, HorizontalConnectionPos, OriginConnectionPosition, OverlayConnectionPosition, OverlayKeyboardDispatcher, OverlayModule, OverlayOutsideClickDispatcher, OverlaySizeConfig, STANDARD_DROPDOWN_ADJACENT_POSITIONS, STANDARD_DROPDOWN_BELOW_POSITIONS, ScrollingVisibility, VerticalConnectionPos, validateHorizontalPosition, validateVerticalPosition } from '../overlay-module.d-24bhgNtF.js';
|
|
3
|
+
import { ScrollDispatcher } from '../scrolling-module.d-CuNwYGVM.js';
|
|
4
|
+
export { CdkScrollable, CdkFixedSizeVirtualScroll as ɵɵCdkFixedSizeVirtualScroll, CdkScrollableModule as ɵɵCdkScrollableModule, CdkVirtualForOf as ɵɵCdkVirtualForOf, CdkVirtualScrollViewport as ɵɵCdkVirtualScrollViewport, CdkVirtualScrollableElement as ɵɵCdkVirtualScrollableElement, CdkVirtualScrollableWindow as ɵɵCdkVirtualScrollableWindow } from '../scrolling-module.d-CuNwYGVM.js';
|
|
5
|
+
import { ViewportRuler } from '../scrolling/index.js';
|
|
7
6
|
import * as i0 from '@angular/core';
|
|
8
7
|
import { NgZone, OnDestroy } from '@angular/core';
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
8
|
+
export { ComponentType } from '../portal-directives.d-D9c4J36c.js';
|
|
9
|
+
export { Dir as ɵɵDir } from '../bidi-module.d-bsVYOt0R.js';
|
|
11
10
|
import '@angular/common';
|
|
12
11
|
import 'rxjs';
|
|
13
|
-
import '../platform.d-
|
|
14
|
-
import '../style-loader.d-
|
|
15
|
-
import '../data-source.d-
|
|
16
|
-
import '../number-property.d-
|
|
12
|
+
import '../platform.d-cnFZCLss.js';
|
|
13
|
+
import '../style-loader.d-DbvWk0ty.js';
|
|
14
|
+
import '../data-source.d-DAIyaEMO.js';
|
|
15
|
+
import '../number-property.d-BzBQchZ2.js';
|
|
17
16
|
|
|
18
17
|
/**
|
|
19
18
|
* Strategy that will prevent the user from scrolling while the overlay is visible.
|
|
@@ -328,5 +327,5 @@ declare class FullscreenOverlayContainer extends OverlayContainer implements OnD
|
|
|
328
327
|
static ɵprov: i0.ɵɵInjectableDeclaration<FullscreenOverlayContainer>;
|
|
329
328
|
}
|
|
330
329
|
|
|
331
|
-
export { BlockScrollStrategy, CloseScrollStrategy, FullscreenOverlayContainer, GlobalPositionStrategy, NoopScrollStrategy, Overlay, OverlayPositionBuilder, RepositionScrollStrategy, ScrollStrategyOptions };
|
|
330
|
+
export { BlockScrollStrategy, CloseScrollStrategy, FlexibleConnectedPositionStrategy, FlexibleConnectedPositionStrategyOrigin, FullscreenOverlayContainer, GlobalPositionStrategy, NoopScrollStrategy, Overlay, OverlayConfig, OverlayContainer, OverlayPositionBuilder, OverlayRef, PositionStrategy, RepositionScrollStrategy, ScrollDispatcher, ScrollStrategy, ScrollStrategyOptions, ViewportRuler };
|
|
332
331
|
export type { RepositionScrollStrategyConfig };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { OnDestroy, NgZone, EnvironmentInjector, Renderer2, ComponentRef, EmbeddedViewRef, ElementRef, OnChanges, EventEmitter, SimpleChanges } from '@angular/core';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import { Direction, Directionality, BidiModule } from './bidi-module.d-bsVYOt0R.js';
|
|
4
|
+
import { PortalOutlet, ComponentPortal, TemplatePortal, PortalModule } from './portal-directives.d-D9c4J36c.js';
|
|
5
|
+
import { CdkScrollable, ScrollingModule } from './scrolling-module.d-CuNwYGVM.js';
|
|
6
6
|
import { Location } from '@angular/common';
|
|
7
7
|
import { Subject, Observable } from 'rxjs';
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
8
|
+
import { ViewportRuler } from './scrolling/index.js';
|
|
9
|
+
import { Platform } from './platform.d-cnFZCLss.js';
|
|
10
|
+
import { _CdkPrivateStyleLoader } from './style-loader.d-DbvWk0ty.js';
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* Service for dispatching events that land on the body to appropriate overlay ref,
|
|
@@ -791,5 +791,5 @@ declare class OverlayModule {
|
|
|
791
791
|
static ɵinj: i0.ɵɵInjectorDeclaration<OverlayModule>;
|
|
792
792
|
}
|
|
793
793
|
|
|
794
|
-
export {
|
|
795
|
-
export type { ConnectedPosition
|
|
794
|
+
export { CdkConnectedOverlay, CdkOverlayOrigin, ConnectedOverlayPositionChange, ConnectionPositionPair, FlexibleConnectedPositionStrategy, OverlayConfig, OverlayContainer, OverlayKeyboardDispatcher, OverlayModule, OverlayOutsideClickDispatcher, OverlayRef, STANDARD_DROPDOWN_ADJACENT_POSITIONS, STANDARD_DROPDOWN_BELOW_POSITIONS, ScrollingVisibility, validateHorizontalPosition, validateVerticalPosition };
|
|
795
|
+
export type { ConnectedPosition, FlexibleConnectedPositionStrategyOrigin, HorizontalConnectionPos, OriginConnectionPosition, OverlayConnectionPosition, OverlaySizeConfig, PositionStrategy, ScrollStrategy, VerticalConnectionPos };
|
package/overlay-prebuilt.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%;z-index:1000}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px;z-index:1000}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}
|
|
1
|
+
.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%;z-index:1000}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px;z-index:1000}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}
|
package/package.json
CHANGED
package/platform/index.d.ts
CHANGED
package/portal/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { BasePortalOutlet, ComponentPortal, TemplatePortal, DomPortal } from '../portal-directives.d-D9c4J36c.js';
|
|
2
|
+
export { CdkPortal, CdkPortalOutlet, CdkPortalOutletAttachedRef, ComponentType, Portal, PortalHostDirective, PortalModule, PortalOutlet, TemplatePortalDirective } from '../portal-directives.d-D9c4J36c.js';
|
|
3
3
|
import { ApplicationRef, Injector, ComponentRef, EmbeddedViewRef } from '@angular/core';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -48,4 +48,4 @@ declare class DomPortalOutlet extends BasePortalOutlet {
|
|
|
48
48
|
private _getComponentRootNode;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
export { DomPortalOutlet };
|
|
51
|
+
export { BasePortalOutlet, ComponentPortal, DomPortal, DomPortalOutlet, TemplatePortal };
|
|
@@ -207,5 +207,5 @@ declare class PortalModule {
|
|
|
207
207
|
static ɵinj: i0.ɵɵInjectorDeclaration<PortalModule>;
|
|
208
208
|
}
|
|
209
209
|
|
|
210
|
-
export { BasePortalOutlet
|
|
211
|
-
export type { ComponentType
|
|
210
|
+
export { BasePortalOutlet, CdkPortal, CdkPortalOutlet, ComponentPortal, DomPortal, Portal, PortalHostDirective, PortalModule, TemplatePortal, TemplatePortalDirective };
|
|
211
|
+
export type { CdkPortalOutletAttachedRef, ComponentType, PortalOutlet };
|
package/private/index.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ function default_1() {
|
|
|
29
29
|
// In order to align the CDK version with other Angular dependencies that are setup by
|
|
30
30
|
// `@schematics/angular`, we use tilde instead of caret. This is default for Angular
|
|
31
31
|
// dependencies in new CLI projects.
|
|
32
|
-
(0, package_config_1.addPackageToPackageJson)(host, '@angular/cdk', `~20.0.0-next.
|
|
32
|
+
(0, package_config_1.addPackageToPackageJson)(host, '@angular/cdk', `~20.0.0-next.7`);
|
|
33
33
|
// Add a task to run the package manager. This is necessary because we updated the
|
|
34
34
|
// workspace "package.json" file and we want lock files to reflect the new version range.
|
|
35
35
|
context.addTask(new tasks_1.NodePackageInstallTask());
|
package/scrolling/index.d.ts
CHANGED
|
@@ -1,7 +1,62 @@
|
|
|
1
|
-
export {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import '
|
|
5
|
-
|
|
6
|
-
import '../data-source.d-
|
|
7
|
-
import '../number-property.d-
|
|
1
|
+
export { CdkFixedSizeVirtualScroll, CdkScrollable, CdkScrollableModule, CdkVirtualForOf, CdkVirtualForOfContext, CdkVirtualScrollRepeater, CdkVirtualScrollViewport, CdkVirtualScrollable, CdkVirtualScrollableElement, CdkVirtualScrollableWindow, DEFAULT_SCROLL_TIME, ExtendedScrollToOptions, FixedSizeVirtualScrollStrategy, ScrollDispatcher, ScrollingModule, VIRTUAL_SCROLLABLE, VIRTUAL_SCROLL_STRATEGY, VirtualScrollStrategy, _Bottom, _End, _Left, _Right, _Start, _Top, _Without, _XAxis, _XOR, _YAxis, _fixedSizeVirtualScrollStrategyFactory } from '../scrolling-module.d-CuNwYGVM.js';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { OnDestroy } from '@angular/core';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
export { Dir as ɵɵDir } from '../bidi-module.d-bsVYOt0R.js';
|
|
6
|
+
import '../data-source.d-DAIyaEMO.js';
|
|
7
|
+
import '../number-property.d-BzBQchZ2.js';
|
|
8
|
+
|
|
9
|
+
/** Time in ms to throttle the resize events by default. */
|
|
10
|
+
declare const DEFAULT_RESIZE_TIME = 20;
|
|
11
|
+
/** Object that holds the scroll position of the viewport in each direction. */
|
|
12
|
+
interface ViewportScrollPosition {
|
|
13
|
+
top: number;
|
|
14
|
+
left: number;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Simple utility for getting the bounds of the browser viewport.
|
|
18
|
+
* @docs-private
|
|
19
|
+
*/
|
|
20
|
+
declare class ViewportRuler implements OnDestroy {
|
|
21
|
+
private _platform;
|
|
22
|
+
private _listeners;
|
|
23
|
+
/** Cached viewport dimensions. */
|
|
24
|
+
private _viewportSize;
|
|
25
|
+
/** Stream of viewport change events. */
|
|
26
|
+
private readonly _change;
|
|
27
|
+
/** Used to reference correct document/window */
|
|
28
|
+
protected _document: Document;
|
|
29
|
+
constructor(...args: unknown[]);
|
|
30
|
+
ngOnDestroy(): void;
|
|
31
|
+
/** Returns the viewport's width and height. */
|
|
32
|
+
getViewportSize(): Readonly<{
|
|
33
|
+
width: number;
|
|
34
|
+
height: number;
|
|
35
|
+
}>;
|
|
36
|
+
/** Gets a DOMRect for the viewport's bounds. */
|
|
37
|
+
getViewportRect(): {
|
|
38
|
+
top: number;
|
|
39
|
+
left: number;
|
|
40
|
+
bottom: number;
|
|
41
|
+
right: number;
|
|
42
|
+
height: number;
|
|
43
|
+
width: number;
|
|
44
|
+
};
|
|
45
|
+
/** Gets the (top, left) scroll position of the viewport. */
|
|
46
|
+
getViewportScrollPosition(): ViewportScrollPosition;
|
|
47
|
+
/**
|
|
48
|
+
* Returns a stream that emits whenever the size of the viewport changes.
|
|
49
|
+
* This stream emits outside of the Angular zone.
|
|
50
|
+
* @param throttleTime Time in milliseconds to throttle the stream.
|
|
51
|
+
*/
|
|
52
|
+
change(throttleTime?: number): Observable<Event>;
|
|
53
|
+
/** Use defaultView of injected document if available or fallback to global window reference */
|
|
54
|
+
private _getWindow;
|
|
55
|
+
/** Updates the cached viewport size. */
|
|
56
|
+
private _updateViewportSize;
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ViewportRuler, never>;
|
|
58
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ViewportRuler>;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export { DEFAULT_RESIZE_TIME, ViewportRuler };
|
|
62
|
+
export type { ViewportScrollPosition };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnDestroy, ElementRef, OnInit, NgZone, InjectionToken, OnChanges,
|
|
3
|
-
import {
|
|
2
|
+
import { OnDestroy, ElementRef, OnInit, NgZone, InjectionToken, OnChanges, DoCheck, NgIterable, TrackByFunction, TemplateRef } from '@angular/core';
|
|
3
|
+
import { Directionality, BidiModule } from './bidi-module.d-bsVYOt0R.js';
|
|
4
4
|
import { Observable, Subscription, Subject } from 'rxjs';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { ListRange, CollectionViewer, DataSource } from './data-source.d-DAIyaEMO.js';
|
|
6
|
+
import { NumberInput } from './number-property.d-BzBQchZ2.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* An item to be repeated by the VirtualScrollViewport
|
|
@@ -548,5 +548,5 @@ declare class ScrollingModule {
|
|
|
548
548
|
static ɵinj: i0.ɵɵInjectorDeclaration<ScrollingModule>;
|
|
549
549
|
}
|
|
550
550
|
|
|
551
|
-
export {
|
|
552
|
-
export type {
|
|
551
|
+
export { CdkFixedSizeVirtualScroll, CdkScrollable, CdkScrollableModule, CdkVirtualForOf, CdkVirtualScrollViewport, CdkVirtualScrollable, CdkVirtualScrollableElement, CdkVirtualScrollableWindow, DEFAULT_SCROLL_TIME, FixedSizeVirtualScrollStrategy, ScrollDispatcher, ScrollingModule, VIRTUAL_SCROLLABLE, VIRTUAL_SCROLL_STRATEGY, _fixedSizeVirtualScrollStrategyFactory };
|
|
552
|
+
export type { CdkVirtualForOfContext, CdkVirtualScrollRepeater, ExtendedScrollToOptions, VirtualScrollStrategy, _Bottom, _End, _Left, _Right, _Start, _Top, _Without, _XAxis, _XOR, _YAxis };
|
|
@@ -108,5 +108,5 @@ interface SelectionChange<T> {
|
|
|
108
108
|
*/
|
|
109
109
|
declare function getMultipleValuesInSingleSelectionError(): Error;
|
|
110
110
|
|
|
111
|
-
export { SelectionModel
|
|
112
|
-
export type { SelectionChange
|
|
111
|
+
export { SelectionModel, getMultipleValuesInSingleSelectionError };
|
|
112
|
+
export type { SelectionChange };
|
package/stepper/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { ElementRef, TemplateRef,
|
|
2
|
+
import { ElementRef, TemplateRef, OnChanges, AfterContentInit, AfterViewInit, OnDestroy, QueryList, EventEmitter, InjectionToken } from '@angular/core';
|
|
3
3
|
import { NgForm, FormGroupDirective, AbstractControl } from '@angular/forms';
|
|
4
4
|
import { Subject } from 'rxjs';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import '../list-key-manager.d-
|
|
8
|
-
import '../focus-monitor.d-
|
|
5
|
+
import { FocusableOption } from '../focus-key-manager.d-DCiEwxN7.js';
|
|
6
|
+
import { BidiModule } from '../bidi-module.d-bsVYOt0R.js';
|
|
7
|
+
import '../list-key-manager.d-CylnKWfo.js';
|
|
8
|
+
import '../focus-monitor.d-BBkiOKUH.js';
|
|
9
9
|
|
|
10
10
|
declare class CdkStepHeader implements FocusableOption {
|
|
11
11
|
_elementRef: ElementRef<HTMLElement>;
|
package/table/index.d.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Directionality, Direction } from '../bidi-module.d-bsVYOt0R.js';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
3
|
import { TemplateRef, ElementRef, InjectionToken, OnChanges, IterableDiffers, IterableDiffer, SimpleChanges, IterableChanges, OnDestroy, ViewContainerRef, AfterContentInit, AfterContentChecked, OnInit, ChangeDetectorRef, TrackByFunction, EventEmitter, QueryList, Injector } from '@angular/core';
|
|
4
4
|
import { Observable, BehaviorSubject } from 'rxjs';
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import '../number-property.d-1067cb21.js';
|
|
5
|
+
import { DataSource, CollectionViewer } from '../data-source.d-DAIyaEMO.js';
|
|
6
|
+
import { _ViewRepeater } from '../view-repeater.d-CJ9e48MX.js';
|
|
7
|
+
import { ScrollingModule } from '../scrolling-module.d-CuNwYGVM.js';
|
|
8
|
+
import '../number-property.d-BzBQchZ2.js';
|
|
10
9
|
|
|
11
10
|
/**
|
|
12
11
|
* Interface for a mixin to provide a directive with a function that checks if the sticky input has
|
|
@@ -1084,5 +1083,5 @@ interface TextColumnOptions<T> {
|
|
|
1084
1083
|
/** Injection token that can be used to specify the text column options. */
|
|
1085
1084
|
declare const TEXT_COLUMN_OPTIONS: InjectionToken<TextColumnOptions<any>>;
|
|
1086
1085
|
|
|
1087
|
-
export { BaseCdkCell, BaseRowDef, CDK_ROW_TEMPLATE, CDK_TABLE, CDK_TABLE_TEMPLATE, CdkCell, CdkCellDef, CdkCellOutlet, CdkColumnDef, CdkFooterCell, CdkFooterCellDef, CdkFooterRow, CdkFooterRowDef, CdkHeaderCell, CdkHeaderCellDef, CdkHeaderRow, CdkHeaderRowDef, CdkNoDataRow, CdkRecycleRows, CdkRow, CdkRowDef, CdkTable, CdkTableModule, CdkTextColumn, DataRowOutlet, FooterRowOutlet, HeaderRowOutlet, NoDataRowOutlet, STICKY_DIRECTIONS, STICKY_POSITIONING_LISTENER, StickyStyler, TEXT_COLUMN_OPTIONS, _COALESCED_STYLE_SCHEDULER, _CoalescedStyleScheduler, _Schedule };
|
|
1086
|
+
export { BaseCdkCell, BaseRowDef, CDK_ROW_TEMPLATE, CDK_TABLE, CDK_TABLE_TEMPLATE, CdkCell, CdkCellDef, CdkCellOutlet, CdkColumnDef, CdkFooterCell, CdkFooterCellDef, CdkFooterRow, CdkFooterRowDef, CdkHeaderCell, CdkHeaderCellDef, CdkHeaderRow, CdkHeaderRowDef, CdkNoDataRow, CdkRecycleRows, CdkRow, CdkRowDef, CdkTable, CdkTableModule, CdkTextColumn, DataRowOutlet, DataSource, FooterRowOutlet, HeaderRowOutlet, NoDataRowOutlet, STICKY_DIRECTIONS, STICKY_POSITIONING_LISTENER, StickyStyler, TEXT_COLUMN_OPTIONS, _COALESCED_STYLE_SCHEDULER, _CoalescedStyleScheduler, _Schedule };
|
|
1088
1087
|
export type { CanStick, CdkCellOutletMultiRowContext, CdkCellOutletRowContext, CdkTableDataSourceInput, CellDef, RenderRow, RowContext, RowOutlet, StickyDirection, StickyOffset, StickyPositioningListener, StickySize, StickyUpdate, TextColumnOptions };
|