@angular/cdk 20.2.0-next.2 → 20.2.0-rc.0
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 +8 -8
- package/{a11y-module.d--J1yhM7R.d.ts → a11y-module.d.d.ts} +3 -3
- package/accordion/index.d.ts +1 -1
- package/{activedescendant-key-manager.d-DLNLWTtr.d.ts → activedescendant-key-manager.d.d.ts} +3 -3
- package/bidi/index.d.ts +1 -1
- package/{bidi-module.d-IN1Vp56w.d.ts → bidi-module.d.d.ts} +2 -2
- package/coercion/index.d.ts +1 -1
- package/collections/index.d.ts +7 -7
- package/{data-source.d-Bblv7Zvh.d.ts → data-source.d.d.ts} +2 -2
- package/dialog/index.d.ts +11 -11
- package/drag-drop/index.d.ts +5 -5
- package/fesm2022/{a11y-module-i3TQk2dk.mjs → a11y-module.mjs} +29 -29
- package/fesm2022/a11y-module.mjs.map +1 -0
- package/fesm2022/a11y.mjs +28 -28
- package/fesm2022/a11y.mjs.map +1 -1
- package/fesm2022/accordion.mjs +12 -12
- package/fesm2022/accordion.mjs.map +1 -1
- package/fesm2022/{activedescendant-key-manager-Uaf4ZFAJ.mjs → activedescendant-key-manager.mjs} +3 -3
- package/fesm2022/activedescendant-key-manager.mjs.map +1 -0
- package/fesm2022/{array-I1yfCXUO.mjs → array.mjs} +2 -2
- package/fesm2022/array.mjs.map +1 -0
- package/fesm2022/bidi.mjs +9 -9
- package/fesm2022/bidi.mjs.map +1 -1
- package/fesm2022/{breakpoints-observer-B9oGujtp.mjs → breakpoints-observer.mjs} +10 -10
- package/fesm2022/breakpoints-observer.mjs.map +1 -0
- package/fesm2022/cdk.mjs +1 -1
- package/fesm2022/cdk.mjs.map +1 -1
- package/fesm2022/clipboard.mjs +10 -10
- package/fesm2022/clipboard.mjs.map +1 -1
- 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-C_HEqLhI.mjs → css-pixel-value.mjs} +2 -2
- package/fesm2022/css-pixel-value.mjs.map +1 -0
- package/fesm2022/{data-source-D34wiQZj.mjs → data-source.mjs} +2 -2
- package/fesm2022/data-source.mjs.map +1 -0
- package/fesm2022/dialog.mjs +29 -29
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/{directionality-Cbl-1nFG.mjs → directionality.mjs} +5 -5
- package/fesm2022/directionality.mjs.map +1 -0
- package/fesm2022/{dispose-view-repeater-strategy-Cvpav0PR.mjs → dispose-view-repeater-strategy.mjs} +3 -3
- package/fesm2022/dispose-view-repeater-strategy.mjs.map +1 -0
- package/fesm2022/drag-drop.mjs +42 -42
- package/fesm2022/drag-drop.mjs.map +1 -1
- package/fesm2022/{element-x4z00URv.mjs → element.mjs} +2 -2
- package/fesm2022/element.mjs.map +1 -0
- package/fesm2022/{fake-event-detection-DWOdFTFz.mjs → fake-event-detection.mjs} +2 -2
- package/fesm2022/fake-event-detection.mjs.map +1 -0
- package/fesm2022/{focus-key-manager-C8nuVjSq.mjs → focus-key-manager.mjs} +3 -3
- package/fesm2022/focus-key-manager.mjs.map +1 -0
- package/fesm2022/{focus-monitor-CprcLT6A.mjs → focus-monitor.mjs} +17 -17
- package/fesm2022/focus-monitor.mjs.map +1 -0
- package/fesm2022/{id-generator-CeVEEGXw.mjs → id-generator.mjs} +5 -5
- package/fesm2022/id-generator.mjs.map +1 -0
- package/fesm2022/keycodes.mjs +1 -1
- package/fesm2022/keycodes.mjs.map +1 -1
- package/fesm2022/{keycodes-CpHkExLC.mjs → keycodes2.mjs} +2 -2
- package/fesm2022/keycodes2.mjs.map +1 -0
- package/fesm2022/layout.mjs +7 -7
- package/fesm2022/layout.mjs.map +1 -1
- package/fesm2022/{list-key-manager-BPo6sXWX.mjs → list-key-manager.mjs} +4 -4
- package/fesm2022/list-key-manager.mjs.map +1 -0
- package/fesm2022/listbox.mjs +19 -19
- package/fesm2022/listbox.mjs.map +1 -1
- package/fesm2022/menu.mjs +90 -76
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/observers/private.mjs +3 -3
- package/fesm2022/observers/private.mjs.map +1 -1
- package/fesm2022/observers.mjs +14 -14
- package/fesm2022/observers.mjs.map +1 -1
- package/fesm2022/{overlay-module-CMC8dXNw.mjs → overlay-module.mjs} +46 -46
- package/fesm2022/overlay-module.mjs.map +1 -0
- package/fesm2022/overlay.mjs +18 -18
- package/fesm2022/overlay.mjs.map +1 -1
- package/fesm2022/{passive-listeners-esHZRgIN.mjs → passive-listeners.mjs} +2 -2
- package/fesm2022/passive-listeners.mjs.map +1 -0
- package/fesm2022/platform.mjs +9 -9
- package/fesm2022/platform.mjs.map +1 -1
- package/fesm2022/{platform-BWwIqQ_X.mjs → platform2.mjs} +5 -5
- package/fesm2022/platform2.mjs.map +1 -0
- package/fesm2022/portal.mjs +16 -16
- package/fesm2022/portal.mjs.map +1 -1
- package/fesm2022/private.mjs +4 -4
- package/fesm2022/private.mjs.map +1 -1
- package/fesm2022/{recycle-view-repeater-strategy-SfuyU210.mjs → recycle-view-repeater-strategy.mjs} +3 -3
- package/fesm2022/recycle-view-repeater-strategy.mjs.map +1 -0
- package/fesm2022/scrolling.mjs +41 -41
- package/fesm2022/scrolling.mjs.map +1 -1
- package/fesm2022/{scrolling-BkvA05C8.mjs → scrolling2.mjs} +2 -2
- package/fesm2022/scrolling2.mjs.map +1 -0
- package/fesm2022/{selection-model-BCgC8uEN.mjs → selection-model.mjs} +2 -2
- package/fesm2022/selection-model.mjs.map +1 -0
- package/fesm2022/{shadow-dom-B0oHn41l.mjs → shadow-dom.mjs} +2 -2
- package/fesm2022/shadow-dom.mjs.map +1 -0
- package/fesm2022/stepper.mjs +29 -29
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/{style-loader-BTuU6vCe.mjs → style-loader.mjs} +5 -5
- package/fesm2022/style-loader.mjs.map +1 -0
- package/fesm2022/table.mjs +81 -81
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/{test-environment-CT0XxPyp.mjs → test-environment.mjs} +2 -2
- package/fesm2022/test-environment.mjs.map +1 -0
- package/fesm2022/testing/selenium-webdriver.mjs.map +1 -1
- package/fesm2022/testing/testbed.mjs +1 -1
- package/fesm2022/testing/testbed.mjs.map +1 -1
- package/fesm2022/testing.mjs.map +1 -1
- package/fesm2022/text-field.mjs +19 -19
- package/fesm2022/text-field.mjs.map +1 -1
- package/fesm2022/{tree-key-manager-KnCoIkIC.mjs → tree-key-manager.mjs} +3 -3
- package/fesm2022/tree-key-manager.mjs.map +1 -0
- package/fesm2022/tree.mjs +31 -31
- package/fesm2022/tree.mjs.map +1 -1
- package/fesm2022/{typeahead-9ZW4Dtsf.mjs → typeahead.mjs} +3 -3
- package/fesm2022/typeahead.mjs.map +1 -0
- package/fesm2022/{unique-selection-dispatcher-CSFLc-6k.mjs → unique-selection-dispatcher.mjs} +5 -5
- package/fesm2022/unique-selection-dispatcher.mjs.map +1 -0
- package/{focus-key-manager.d-DBw2_DcY.d.ts → focus-key-manager.d.d.ts} +4 -4
- package/{focus-monitor.d-2iZxjw4R.d.ts → focus-monitor.d.d.ts} +2 -2
- package/{harness-environment.d-C-TBj7IN.d.ts → harness-environment.d.d.ts} +2 -2
- package/{list-key-manager.d-CkFcwXee.d.ts → list-key-manager.d.d.ts} +2 -2
- package/listbox/index.d.ts +3 -3
- package/menu/index.d.ts +18 -14
- package/{number-property.d-CJVxXUcb.d.ts → number-property.d.d.ts} +2 -2
- package/observers/index.d.ts +1 -1
- package/overlay/index.d.ts +10 -10
- package/{overlay-module.d-BvvR6Y05.d.ts → overlay-module.d.d.ts} +7 -7
- package/package.json +1 -1
- package/platform/index.d.ts +1 -1
- package/{platform.d-B3vREl3q.d.ts → platform.d.d.ts} +1 -1
- package/portal/index.d.ts +2 -2
- package/{portal-directives.d-DbeNrI5D.d.ts → portal-directives.d.d.ts} +2 -2
- package/private/index.d.ts +1 -1
- package/schematics/ng-add/index.js +1 -1
- package/scrolling/index.d.ts +4 -4
- package/{scrolling-module.d-3Rw5UxLk.d.ts → scrolling-module.d.d.ts} +5 -5
- package/{selection-model.d-DNgOONDg.d.ts → selection-model.d.d.ts} +2 -2
- package/stepper/index.d.ts +4 -4
- package/{style-loader.d-BXZfQZTF.d.ts → style-loader.d.d.ts} +1 -1
- package/table/index.d.ts +5 -5
- 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/tree/index.d.ts +3 -3
- package/{tree-key-manager-strategy.d-XB6M79l-.d.ts → tree-key-manager-strategy.d.d.ts} +1 -1
- package/{unique-selection-dispatcher.d-DSFqf1MM.d.ts → unique-selection-dispatcher.d.d.ts} +2 -2
- package/{view-repeater.d-DUdkOYhk.d.ts → view-repeater.d.d.ts} +2 -2
- package/fesm2022/a11y-module-i3TQk2dk.mjs.map +0 -1
- package/fesm2022/activedescendant-key-manager-Uaf4ZFAJ.mjs.map +0 -1
- package/fesm2022/array-I1yfCXUO.mjs.map +0 -1
- package/fesm2022/breakpoints-observer-B9oGujtp.mjs.map +0 -1
- package/fesm2022/css-pixel-value-C_HEqLhI.mjs.map +0 -1
- package/fesm2022/data-source-D34wiQZj.mjs.map +0 -1
- package/fesm2022/directionality-Cbl-1nFG.mjs.map +0 -1
- package/fesm2022/dispose-view-repeater-strategy-Cvpav0PR.mjs.map +0 -1
- package/fesm2022/element-x4z00URv.mjs.map +0 -1
- package/fesm2022/fake-event-detection-DWOdFTFz.mjs.map +0 -1
- package/fesm2022/focus-key-manager-C8nuVjSq.mjs.map +0 -1
- package/fesm2022/focus-monitor-CprcLT6A.mjs.map +0 -1
- package/fesm2022/id-generator-CeVEEGXw.mjs.map +0 -1
- package/fesm2022/keycodes-CpHkExLC.mjs.map +0 -1
- package/fesm2022/list-key-manager-BPo6sXWX.mjs.map +0 -1
- package/fesm2022/overlay-module-CMC8dXNw.mjs.map +0 -1
- package/fesm2022/passive-listeners-esHZRgIN.mjs.map +0 -1
- package/fesm2022/platform-BWwIqQ_X.mjs.map +0 -1
- package/fesm2022/recycle-view-repeater-strategy-SfuyU210.mjs.map +0 -1
- package/fesm2022/scrolling-BkvA05C8.mjs.map +0 -1
- package/fesm2022/selection-model-BCgC8uEN.mjs.map +0 -1
- package/fesm2022/shadow-dom-B0oHn41l.mjs.map +0 -1
- package/fesm2022/style-loader-BTuU6vCe.mjs.map +0 -1
- package/fesm2022/test-environment-CT0XxPyp.mjs.map +0 -1
- package/fesm2022/tree-key-manager-KnCoIkIC.mjs.map +0 -1
- package/fesm2022/typeahead-9ZW4Dtsf.mjs.map +0 -1
- package/fesm2022/unique-selection-dispatcher-CSFLc-6k.mjs.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typeahead.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-c646aa77115d/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":";;;;AAYA,MAAM,sCAAsC,GAAG,GAAG;AAWlD;;;AAGG;MACU,SAAS,CAAA;AACH,IAAA,gBAAgB,GAAG,IAAI,OAAO,EAAU;IACjD,MAAM,GAAiB,EAAE;IACzB,kBAAkB,GAAG,CAAC,CAAC;;IAGvB,eAAe,GAAa,EAAE;AAE9B,IAAA,gBAAgB;AAEP,IAAA,aAAa,GAAG,IAAI,OAAO,EAAK;AACxC,IAAA,YAAY,GAAkB,IAAI,CAAC,aAAa;IAEzD,WAAY,CAAA,YAA0B,EAAE,MAA2B,EAAA;AACjE,QAAA,MAAM,iBAAiB,GACrB,OAAO,MAAM,EAAE,gBAAgB,KAAK;cAChC,MAAM,CAAC;cACP,sCAAsC;AAE5C,QAAA,IAAI,MAAM,EAAE,aAAa,EAAE;AACzB,YAAA,IAAI,CAAC,gBAAgB,GAAG,MAAM,CAAC,aAAa;;AAG9C,QAAA,IACE,CAAC,OAAO,SAAS,KAAK,WAAW,IAAI,SAAS;AAC9C,YAAA,YAAY,CAAC,MAAM;AACnB,YAAA,YAAY,CAAC,IAAI,CAAC,IAAI,IAAI,OAAO,IAAI,CAAC,QAAQ,KAAK,UAAU,CAAC,EAC9D;AACA,YAAA,MAAM,IAAI,KAAK,CAAC,0EAA0E,CAAC;;AAG7F,QAAA,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC;AAC3B,QAAA,IAAI,CAAC,gBAAgB,CAAC,iBAAiB,CAAC;;IAG1C,OAAO,GAAA;AACL,QAAA,IAAI,CAAC,eAAe,GAAG,EAAE;AACzB,QAAA,IAAI,CAAC,gBAAgB,CAAC,QAAQ,EAAE;AAChC,QAAA,IAAI,CAAC,aAAa,CAAC,QAAQ,EAAE;;AAG/B,IAAA,2BAA2B,CAAC,KAAa,EAAA;AACvC,QAAA,IAAI,CAAC,kBAAkB,GAAG,KAAK;;AAGjC,IAAA,QAAQ,CAAC,KAAmB,EAAA;AAC1B,QAAA,IAAI,CAAC,MAAM,GAAG,KAAK;;AAGrB,IAAA,SAAS,CAAC,KAAoB,EAAA;AAC5B,QAAA,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO;;;AAI7B,QAAA,IAAI,KAAK,CAAC,GAAG,IAAI,KAAK,CAAC,GAAG,CAAC,MAAM,KAAK,CAAC,EAAE;AACvC,YAAA,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,iBAAiB,EAAE,CAAC;;aACpD,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,OAAO,IAAI,CAAC,MAAM,OAAO,IAAI,IAAI,IAAI,OAAO,IAAI,IAAI,CAAC,EAAE;AACjF,YAAA,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;;;;IAK5D,QAAQ,GAAA;AACN,QAAA,OAAO,IAAI,CAAC,eAAe,CAAC,MAAM,GAAG,CAAC;;;IAIxC,KAAK,GAAA;AACH,QAAA,IAAI,CAAC,eAAe,GAAG,EAAE;;AAGnB,IAAA,gBAAgB,CAAC,iBAAyB,EAAA;;;;AAIhD,QAAA,IAAI,CAAC;aACF,IAAI,CACH,GAAG,CAAC,MAAM,IAAI,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,EAChD,YAAY,CAAC,iBAAiB,CAAC,EAC/B,MAAM,CAAC,MAAM,IAAI,CAAC,eAAe,CAAC,MAAM,GAAG,CAAC,CAAC,EAC7C,GAAG,CAAC,MAAM,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,iBAAiB,EAAE,CAAC;aAE7D,SAAS,CAAC,WAAW,IAAG;;;AAGvB,YAAA,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE;AAC/C,gBAAA,MAAM,KAAK,GAAG,CAAC,IAAI,CAAC,kBAAkB,GAAG,CAAC,IAAI,IAAI,CAAC,MAAM,CAAC,MAAM;gBAChE,MAAM,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC;AAE/B,gBAAA,IACE,CAAC,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;AAC9B,oBAAA,IAAI,CAAC,QAAQ,IAAI,CAAC,iBAAiB,EAAE,CAAC,IAAI,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,KAAK,CAAC,EACvE;AACA,oBAAA,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC;oBAC7B;;;AAIJ,YAAA,IAAI,CAAC,eAAe,GAAG,EAAE;AAC3B,SAAC,CAAC;;AAEP;;;;"}
|
package/fesm2022/{unique-selection-dispatcher-CSFLc-6k.mjs → unique-selection-dispatcher.mjs}
RENAMED
|
@@ -37,13 +37,13 @@ class UniqueSelectionDispatcher {
|
|
|
37
37
|
ngOnDestroy() {
|
|
38
38
|
this._listeners = [];
|
|
39
39
|
}
|
|
40
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
41
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.0-
|
|
40
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-rc.1", ngImport: i0, type: UniqueSelectionDispatcher, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
41
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.0-rc.1", ngImport: i0, type: UniqueSelectionDispatcher, providedIn: 'root' });
|
|
42
42
|
}
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-rc.1", ngImport: i0, type: UniqueSelectionDispatcher, decorators: [{
|
|
44
44
|
type: Injectable,
|
|
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.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unique-selection-dispatcher.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-c646aa77115d/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;;4GA5BX,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,aAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,yBAAyB,cADb,MAAM,EAAA,CAAA;;gGAClB,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.js';
|
|
2
|
+
import { FocusOrigin } from './focus-monitor.d.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* This is the interface for focusable items (used by the FocusKeyManager).
|
|
@@ -35,5 +35,5 @@ declare class FocusKeyManager<T> extends ListKeyManager<FocusableOption & T> {
|
|
|
35
35
|
setActiveItem(item: T | number): void;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
export { FocusKeyManager
|
|
39
|
-
export type { FocusableOption
|
|
38
|
+
export { FocusKeyManager };
|
|
39
|
+
export type { FocusableOption };
|
|
@@ -204,5 +204,5 @@ declare class CdkMonitorFocus implements AfterViewInit, OnDestroy {
|
|
|
204
204
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkMonitorFocus, "[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]", ["cdkMonitorFocus"], {}, { "cdkFocusChange": "cdkFocusChange"; }, never, never, true, never>;
|
|
205
205
|
}
|
|
206
206
|
|
|
207
|
-
export { CdkMonitorFocus
|
|
208
|
-
export type {
|
|
207
|
+
export { CdkMonitorFocus, FOCUS_MONITOR_DEFAULT_OPTIONS, FocusMonitor, FocusMonitorDetectionMode };
|
|
208
|
+
export type { FocusMonitorOptions, FocusOptions, FocusOrigin };
|
|
@@ -940,5 +940,5 @@ declare abstract class HarnessEnvironment<E> implements HarnessLoader, LocatorFa
|
|
|
940
940
|
private _getQueryResultForElement;
|
|
941
941
|
}
|
|
942
942
|
|
|
943
|
-
export { ComponentHarness
|
|
944
|
-
export type { AsyncFactoryFn
|
|
943
|
+
export { ComponentHarness, ContentContainerComponentHarness, HarnessEnvironment, HarnessPredicate, TestKey };
|
|
944
|
+
export type { AsyncFactoryFn, AsyncOptionPredicate, AsyncPredicate, BaseHarnessFilters, ComponentHarnessConstructor, ElementDimensions, EventData, HarnessLoader, HarnessQuery, LocatorFactory, LocatorFnResult, ModifierKeys, TestElement, TextOptions };
|
|
@@ -166,5 +166,5 @@ declare class ListKeyManager<T extends ListKeyManagerOption> {
|
|
|
166
166
|
private _itemsChanged;
|
|
167
167
|
}
|
|
168
168
|
|
|
169
|
-
export { ListKeyManager
|
|
170
|
-
export type {
|
|
169
|
+
export { ListKeyManager };
|
|
170
|
+
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.js';
|
|
4
|
+
import { ListKeyManagerOption } from '../list-key-manager.d.js';
|
|
5
5
|
import { Subject } from 'rxjs';
|
|
6
|
-
import {
|
|
6
|
+
import { SelectionModel } from '../selection-model.d.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.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.js';
|
|
7
|
+
import { FocusableOption, FocusKeyManager } from '../focus-key-manager.d.js';
|
|
8
|
+
import { Directionality } from '../bidi-module.d.js';
|
|
9
|
+
import { TemplatePortal } from '../portal-directives.d.js';
|
|
10
|
+
import '../scrolling-module.d.js';
|
|
11
|
+
import '../data-source.d.js';
|
|
12
|
+
import '../number-property.d.js';
|
|
13
13
|
import '@angular/common';
|
|
14
14
|
import '../scrolling/index.js';
|
|
15
|
-
import '../platform.d
|
|
16
|
-
import '../style-loader.d
|
|
17
|
-
import '../list-key-manager.d
|
|
15
|
+
import '../platform.d.js';
|
|
16
|
+
import '../style-loader.d.js';
|
|
17
|
+
import '../list-key-manager.d.js';
|
|
18
18
|
|
|
19
19
|
/** Item to track for mouse focus events. */
|
|
20
20
|
interface FocusableElement {
|
|
@@ -458,7 +458,7 @@ declare class CdkMenuItem implements FocusableOption, FocusableElement, Toggler,
|
|
|
458
458
|
/** The stack of menus this menu belongs to. */
|
|
459
459
|
private readonly _menuStack;
|
|
460
460
|
/** The parent menu in which this menuitem resides. */
|
|
461
|
-
|
|
461
|
+
readonly _parentMenu: Menu | null;
|
|
462
462
|
/** Reference to the CdkMenuItemTrigger directive if one is added to the same element */
|
|
463
463
|
private readonly _menuTrigger;
|
|
464
464
|
/** Whether the CdkMenuItem is disabled - defaults to false */
|
|
@@ -567,9 +567,11 @@ declare abstract class CdkMenuBase extends CdkMenuGroup implements Menu, AfterCo
|
|
|
567
567
|
protected readonly menuAim: MenuAim | null;
|
|
568
568
|
/** The directionality (text direction) of the current page. */
|
|
569
569
|
protected readonly dir: Directionality | null;
|
|
570
|
+
/** All items inside the menu, including ones that belong to other menus. */
|
|
571
|
+
protected _allItems: QueryList<CdkMenuItem>;
|
|
570
572
|
/** The id of the menu's host element. */
|
|
571
573
|
id: string;
|
|
572
|
-
/** All child MenuItem elements
|
|
574
|
+
/** All child MenuItem elements belonging to this Menu. */
|
|
573
575
|
readonly items: QueryList<CdkMenuItem>;
|
|
574
576
|
/** The direction items in the menu flow. */
|
|
575
577
|
orientation: 'horizontal' | 'vertical';
|
|
@@ -617,6 +619,8 @@ declare abstract class CdkMenuBase extends CdkMenuGroup implements Menu, AfterCo
|
|
|
617
619
|
protected closeOpenMenu(menu: MenuStackItem, options?: {
|
|
618
620
|
focusParentTrigger?: boolean;
|
|
619
621
|
}): void;
|
|
622
|
+
/** Sets up the subscription that keeps the items list in sync. */
|
|
623
|
+
private _setItems;
|
|
620
624
|
/** Setup the FocusKeyManager with the correct orientation for the menu. */
|
|
621
625
|
private _setKeyManager;
|
|
622
626
|
/**
|
|
@@ -636,7 +640,7 @@ declare abstract class CdkMenuBase extends CdkMenuGroup implements Menu, AfterCo
|
|
|
636
640
|
/** Handles focus landing on the host element of the menu. */
|
|
637
641
|
private _handleFocus;
|
|
638
642
|
static ɵfac: i0.ɵɵFactoryDeclaration<CdkMenuBase, never>;
|
|
639
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkMenuBase, never, never, { "id": { "alias": "id"; "required": false; }; }, {}, ["
|
|
643
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkMenuBase, never, never, { "id": { "alias": "id"; "required": false; }; }, {}, ["_allItems"], never, true, never>;
|
|
640
644
|
}
|
|
641
645
|
|
|
642
646
|
/**
|
|
@@ -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,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { NumberInput } from '../number-property.d.js';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
3
|
import { OnDestroy, ElementRef, AfterContentInit, EventEmitter } from '@angular/core';
|
|
4
4
|
import { Observable } from 'rxjs';
|
package/overlay/index.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
3
|
-
import {
|
|
4
|
-
export {
|
|
1
|
+
import { ScrollStrategy, OverlayRef, PositionStrategy, FlexibleConnectedPositionStrategyOrigin, FlexibleConnectedPositionStrategy, OverlayConfig, OverlayContainer } from '../overlay-module.d.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, createFlexibleConnectedPositionStrategy, validateHorizontalPosition, validateVerticalPosition } from '../overlay-module.d.js';
|
|
3
|
+
import { ScrollDispatcher } from '../scrolling-module.d.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.js';
|
|
5
5
|
import { ViewportRuler } from '../scrolling/index.js';
|
|
6
6
|
import * as i0 from '@angular/core';
|
|
7
7
|
import { Injector, NgZone, OnDestroy } from '@angular/core';
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
8
|
+
export { ComponentType } from '../portal-directives.d.js';
|
|
9
|
+
export { Dir as ɵɵDir } from '../bidi-module.d.js';
|
|
10
10
|
import '@angular/common';
|
|
11
11
|
import 'rxjs';
|
|
12
|
-
import '../platform.d
|
|
13
|
-
import '../style-loader.d
|
|
14
|
-
import '../data-source.d
|
|
15
|
-
import '../number-property.d
|
|
12
|
+
import '../platform.d.js';
|
|
13
|
+
import '../style-loader.d.js';
|
|
14
|
+
import '../data-source.d.js';
|
|
15
|
+
import '../number-property.d.js';
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* Config options for the RepositionScrollStrategy.
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { OnDestroy, NgZone, EnvironmentInjector, Renderer2, ComponentRef, EmbeddedViewRef, ElementRef, Injector, OnChanges, EventEmitter, SimpleChanges } from '@angular/core';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import { Direction, Directionality, BidiModule } from './bidi-module.d.js';
|
|
4
|
+
import { PortalOutlet, ComponentPortal, TemplatePortal, PortalModule } from './portal-directives.d.js';
|
|
5
|
+
import { CdkScrollable, ScrollingModule } from './scrolling-module.d.js';
|
|
6
6
|
import { Location } from '@angular/common';
|
|
7
7
|
import { Subject, Observable } from 'rxjs';
|
|
8
8
|
import { ViewportRuler } from './scrolling/index.js';
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
9
|
+
import { Platform } from './platform.d.js';
|
|
10
|
+
import { _CdkPrivateStyleLoader } from './style-loader.d.js';
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* Service for dispatching events that land on the body to appropriate overlay ref,
|
|
@@ -797,5 +797,5 @@ declare class OverlayModule {
|
|
|
797
797
|
static ɵinj: i0.ɵɵInjectorDeclaration<OverlayModule>;
|
|
798
798
|
}
|
|
799
799
|
|
|
800
|
-
export { CdkOverlayOrigin
|
|
801
|
-
export type { FlexibleConnectedPositionStrategyOrigin
|
|
800
|
+
export { CdkConnectedOverlay, CdkOverlayOrigin, ConnectedOverlayPositionChange, ConnectionPositionPair, FlexibleConnectedPositionStrategy, OverlayConfig, OverlayContainer, OverlayKeyboardDispatcher, OverlayModule, OverlayOutsideClickDispatcher, OverlayRef, STANDARD_DROPDOWN_ADJACENT_POSITIONS, STANDARD_DROPDOWN_BELOW_POSITIONS, ScrollingVisibility, createFlexibleConnectedPositionStrategy, validateHorizontalPosition, validateVerticalPosition };
|
|
801
|
+
export type { ConnectedPosition, FlexibleConnectedPositionStrategyOrigin, HorizontalConnectionPos, OriginConnectionPosition, OverlayConnectionPosition, OverlaySizeConfig, PositionStrategy, ScrollStrategy, VerticalConnectionPos };
|
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.js';
|
|
2
|
+
export { CdkPortal, CdkPortalOutlet, CdkPortalOutletAttachedRef, ComponentType, Portal, PortalHostDirective, PortalModule, PortalOutlet, TemplatePortalDirective } from '../portal-directives.d.js';
|
|
3
3
|
import { ApplicationRef, Injector, ComponentRef, EmbeddedViewRef } from '@angular/core';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -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
|
@@ -26,6 +26,6 @@ function default_1() {
|
|
|
26
26
|
// In order to align the CDK version with other Angular dependencies that are setup by
|
|
27
27
|
// `@schematics/angular`, we use tilde instead of caret. This is default for Angular
|
|
28
28
|
// dependencies in new CLI projects.
|
|
29
|
-
return (0, utility_1.addDependency)('@angular/cdk', `~20.2.0-
|
|
29
|
+
return (0, utility_1.addDependency)('@angular/cdk', `~20.2.0-rc.0`, { existing: utility_1.ExistingBehavior.Skip });
|
|
30
30
|
}
|
|
31
31
|
//# sourceMappingURL=index.js.map
|
package/scrolling/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export {
|
|
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.js';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
3
|
import { OnDestroy } from '@angular/core';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
|
-
export {
|
|
6
|
-
import '../data-source.d
|
|
7
|
-
import '../number-property.d
|
|
5
|
+
export { Dir as ɵɵDir } from '../bidi-module.d.js';
|
|
6
|
+
import '../data-source.d.js';
|
|
7
|
+
import '../number-property.d.js';
|
|
8
8
|
|
|
9
9
|
/** Time in ms to throttle the resize events by default. */
|
|
10
10
|
declare const DEFAULT_RESIZE_TIME = 20;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { OnDestroy, ElementRef, OnInit, NgZone, InjectionToken, OnChanges, NgIterable, DoCheck, TrackByFunction, TemplateRef } from '@angular/core';
|
|
3
|
-
import {
|
|
3
|
+
import { Directionality, BidiModule } from './bidi-module.d.js';
|
|
4
4
|
import { Observable, Subscription, Subject } from 'rxjs';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { ListRange, DataSource, CollectionViewer } from './data-source.d.js';
|
|
6
|
+
import { NumberInput } from './number-property.d.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* An item to be repeated by the VirtualScrollViewport
|
|
@@ -547,5 +547,5 @@ declare class ScrollingModule {
|
|
|
547
547
|
static ɵinj: i0.ɵɵInjectorDeclaration<ScrollingModule>;
|
|
548
548
|
}
|
|
549
549
|
|
|
550
|
-
export {
|
|
551
|
-
export type {
|
|
550
|
+
export { CdkFixedSizeVirtualScroll, CdkScrollable, CdkScrollableModule, CdkVirtualForOf, CdkVirtualScrollViewport, CdkVirtualScrollable, CdkVirtualScrollableElement, CdkVirtualScrollableWindow, DEFAULT_SCROLL_TIME, FixedSizeVirtualScrollStrategy, ScrollDispatcher, ScrollingModule, VIRTUAL_SCROLLABLE, VIRTUAL_SCROLL_STRATEGY, _fixedSizeVirtualScrollStrategyFactory };
|
|
551
|
+
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
|
@@ -2,10 +2,10 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { ElementRef, TemplateRef, InjectionToken, OnChanges, QueryList, EventEmitter, AfterContentInit, AfterViewInit, OnDestroy } 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.js';
|
|
6
|
+
import { BidiModule } from '../bidi-module.d.js';
|
|
7
|
+
import '../list-key-manager.d.js';
|
|
8
|
+
import '../focus-monitor.d.js';
|
|
9
9
|
|
|
10
10
|
declare class CdkStepHeader implements FocusableOption {
|
|
11
11
|
_elementRef: ElementRef<HTMLElement>;
|
package/table/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Directionality } from '../bidi-module.d.js';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
3
|
import { TemplateRef, ElementRef, OnChanges, IterableDiffers, IterableDiffer, SimpleChanges, IterableChanges, OnDestroy, ViewContainerRef, InjectionToken, AfterContentInit, AfterContentChecked, OnInit, ChangeDetectorRef, TrackByFunction, EventEmitter, QueryList } from '@angular/core';
|
|
4
4
|
import { Observable, BehaviorSubject } from 'rxjs';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import '../number-property.d
|
|
5
|
+
import { DataSource, CollectionViewer } from '../data-source.d.js';
|
|
6
|
+
import { _ViewRepeater } from '../view-repeater.d.js';
|
|
7
|
+
import { ScrollingModule } from '../scrolling-module.d.js';
|
|
8
|
+
import '../number-property.d.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Interface for a mixin to provide a directive with a function that checks if the sticky input has
|
package/testing/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { AsyncFactoryFn, AsyncOptionPredicate, AsyncPredicate, BaseHarnessFilters, ComponentHarness, ComponentHarnessConstructor, ContentContainerComponentHarness, ElementDimensions, EventData, HarnessEnvironment, HarnessLoader, HarnessPredicate, HarnessQuery, LocatorFactory, LocatorFnResult, ModifierKeys, TestElement, TestKey, TextOptions } from '../harness-environment.d.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Returns an error which reports that no keys have been specified.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as webdriver from 'selenium-webdriver';
|
|
2
|
-
import {
|
|
2
|
+
import { TestElement, ModifierKeys, TestKey, TextOptions, ElementDimensions, EventData, HarnessEnvironment, HarnessLoader } from '../../harness-environment.d.js';
|
|
3
3
|
|
|
4
4
|
/** A `TestElement` implementation for WebDriver. */
|
|
5
5
|
declare class SeleniumWebDriverElement implements TestElement {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { HarnessEnvironment, HarnessLoader, TestElement, ComponentHarness, ComponentHarnessConstructor, ModifierKeys, TestKey, TextOptions, ElementDimensions, EventData } from '../../harness-environment.d.js';
|
|
2
2
|
import { ComponentFixture } from '@angular/core/testing';
|
|
3
3
|
|
|
4
4
|
/** Options to configure the environment. */
|
package/text-field/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { OnDestroy, ElementRef, OnInit, EventEmitter, AfterViewInit, DoCheck } from '@angular/core';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
|
-
import {
|
|
4
|
+
import { NumberInput } from '../number-property.d.js';
|
|
5
5
|
|
|
6
6
|
/** An event that is emitted when the autofill state of an input changes. */
|
|
7
7
|
type AutofillEvent = {
|
package/tree/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Observable, BehaviorSubject, Subject } from 'rxjs';
|
|
2
|
-
import {
|
|
2
|
+
import { SelectionModel } from '../selection-model.d.js';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
4
|
import { InjectionToken, ViewContainerRef, TemplateRef, AfterContentChecked, AfterContentInit, AfterViewInit, OnDestroy, OnInit, TrackByFunction, QueryList, IterableDiffer, ElementRef, EventEmitter, IterableDiffers } from '@angular/core';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { TreeKeyManagerStrategy, TreeKeyManagerItem } from '../tree-key-manager-strategy.d.js';
|
|
6
|
+
import { CollectionViewer, DataSource } from '../data-source.d.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Tree control interface. User can implement TreeControl to expand/collapse dataNodes in the tree.
|
|
@@ -113,4 +113,4 @@ interface TreeKeyManagerStrategy<T extends TreeKeyManagerItem> {
|
|
|
113
113
|
}
|
|
114
114
|
type TreeKeyManagerFactory<T extends TreeKeyManagerItem> = (items: Observable<T[]> | QueryList<T> | T[], options: TreeKeyManagerOptions<T>) => TreeKeyManagerStrategy<T>;
|
|
115
115
|
|
|
116
|
-
export type {
|
|
116
|
+
export type { TreeKeyManagerFactory, TreeKeyManagerItem, TreeKeyManagerOptions, TreeKeyManagerStrategy };
|
|
@@ -29,5 +29,5 @@ declare class UniqueSelectionDispatcher implements OnDestroy {
|
|
|
29
29
|
static ɵprov: i0.ɵɵInjectableDeclaration<UniqueSelectionDispatcher>;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export { UniqueSelectionDispatcher
|
|
33
|
-
export type { UniqueSelectionDispatcherListener
|
|
32
|
+
export { UniqueSelectionDispatcher };
|
|
33
|
+
export type { UniqueSelectionDispatcherListener };
|
|
@@ -84,5 +84,5 @@ interface _ViewRepeater<T, R, C extends _ViewRepeaterItemContext<T>> {
|
|
|
84
84
|
*/
|
|
85
85
|
declare const _VIEW_REPEATER_STRATEGY: InjectionToken<_ViewRepeater<unknown, unknown, _ViewRepeaterItemContext<unknown>>>;
|
|
86
86
|
|
|
87
|
-
export {
|
|
88
|
-
export type {
|
|
87
|
+
export { _VIEW_REPEATER_STRATEGY, _ViewRepeaterOperation };
|
|
88
|
+
export type { _ViewRepeater, _ViewRepeaterItemChange, _ViewRepeaterItemChanged, _ViewRepeaterItemContext, _ViewRepeaterItemContextFactory, _ViewRepeaterItemInsertArgs, _ViewRepeaterItemValueResolver };
|