@angular/cdk 20.1.0-next.1 → 20.1.0-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/a11y-module-DHa4AVFz.mjs.map +1 -1
- package/fesm2022/a11y.mjs.map +1 -1
- package/fesm2022/accordion.mjs.map +1 -1
- package/fesm2022/activedescendant-key-manager-CZAE5aFC.mjs.map +1 -1
- package/fesm2022/array-I1yfCXUO.mjs.map +1 -1
- package/fesm2022/bidi.mjs.map +1 -1
- package/fesm2022/breakpoints-observer-QutrMj4x.mjs.map +1 -1
- package/fesm2022/cdk.mjs +1 -1
- package/fesm2022/cdk.mjs.map +1 -1
- package/fesm2022/clipboard.mjs.map +1 -1
- package/fesm2022/coercion/private.mjs.map +1 -1
- package/fesm2022/coercion.mjs.map +1 -1
- package/fesm2022/css-pixel-value-C_HEqLhI.mjs.map +1 -1
- package/fesm2022/data-source-D34wiQZj.mjs.map +1 -1
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/directionality-CChdj3az.mjs.map +1 -1
- package/fesm2022/dispose-view-repeater-strategy-Cvpav0PR.mjs.map +1 -1
- package/fesm2022/drag-drop.mjs.map +1 -1
- package/fesm2022/element-x4z00URv.mjs.map +1 -1
- package/fesm2022/fake-event-detection-DWOdFTFz.mjs.map +1 -1
- package/fesm2022/focus-key-manager-CPmlyB_c.mjs.map +1 -1
- package/fesm2022/focus-monitor-DLjkiju1.mjs.map +1 -1
- package/fesm2022/id-generator-LuoRZSid.mjs.map +1 -1
- package/fesm2022/keycodes-CpHkExLC.mjs.map +1 -1
- package/fesm2022/keycodes.mjs.map +1 -1
- package/fesm2022/layout.mjs.map +1 -1
- package/fesm2022/list-key-manager-C7tp3RbG.mjs.map +1 -1
- package/fesm2022/listbox.mjs.map +1 -1
- package/fesm2022/menu.mjs +44 -24
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/observers/private.mjs.map +1 -1
- package/fesm2022/observers.mjs.map +1 -1
- package/fesm2022/overlay-module-Bd2UplUU.mjs.map +1 -1
- package/fesm2022/overlay.mjs.map +1 -1
- package/fesm2022/passive-listeners-esHZRgIN.mjs.map +1 -1
- package/fesm2022/platform-DNDzkVcI.mjs.map +1 -1
- package/fesm2022/platform.mjs.map +1 -1
- package/fesm2022/portal.mjs.map +1 -1
- package/fesm2022/private.mjs.map +1 -1
- package/fesm2022/recycle-view-repeater-strategy-SfuyU210.mjs.map +1 -1
- package/fesm2022/scrolling-BkvA05C8.mjs.map +1 -1
- package/fesm2022/scrolling.mjs.map +1 -1
- package/fesm2022/selection-model-BCgC8uEN.mjs.map +1 -1
- package/fesm2022/shadow-dom-B0oHn41l.mjs.map +1 -1
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/style-loader-B2sGQXxD.mjs.map +1 -1
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/test-environment-CT0XxPyp.mjs.map +1 -1
- package/fesm2022/testing/selenium-webdriver.mjs.map +1 -1
- package/fesm2022/testing/testbed.mjs.map +1 -1
- package/fesm2022/testing.mjs.map +1 -1
- package/fesm2022/text-field.mjs.map +1 -1
- package/fesm2022/tree-key-manager-KnCoIkIC.mjs.map +1 -1
- package/fesm2022/tree.mjs.map +1 -1
- package/fesm2022/typeahead-9ZW4Dtsf.mjs.map +1 -1
- package/fesm2022/unique-selection-dispatcher-Cewa_Eg3.mjs.map +1 -1
- package/menu/index.d.ts +24 -14
- package/package.json +1 -1
- package/schematics/ng-add/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typeahead-9ZW4Dtsf.mjs","sources":["../../../../../
|
|
1
|
+
{"version":3,"file":"typeahead-9ZW4Dtsf.mjs","sources":["../../../../../k8-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":";;;;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;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C,CAAC;;AAEP;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unique-selection-dispatcher-Cewa_Eg3.mjs","sources":["../../../../../
|
|
1
|
+
{"version":3,"file":"unique-selection-dispatcher-Cewa_Eg3.mjs","sources":["../../../../../k8-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;;uGA5BX,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,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,yBAAyB,cADb,MAAM,EAAA,CAAA;;2FAClB,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBADrC,UAAU;mBAAC,EAAC,UAAU,EAAE,MAAM,EAAC;;;;;"}
|
package/menu/index.d.ts
CHANGED
|
@@ -283,6 +283,18 @@ declare class CdkMenuGroup {
|
|
|
283
283
|
declare const MENU_TRIGGER: InjectionToken<CdkMenuTriggerBase>;
|
|
284
284
|
/** Injection token used to configure the behavior of the menu when the page is scrolled. */
|
|
285
285
|
declare const MENU_SCROLL_STRATEGY: InjectionToken<() => ScrollStrategy>;
|
|
286
|
+
/** Tracks the last open menu trigger across the entire application. */
|
|
287
|
+
declare class MenuTracker {
|
|
288
|
+
/** The last open menu trigger. */
|
|
289
|
+
private static _openMenuTrigger?;
|
|
290
|
+
/**
|
|
291
|
+
* Close the previous open menu and set the given one as being open.
|
|
292
|
+
* @param trigger The trigger for the currently open Menu.
|
|
293
|
+
*/
|
|
294
|
+
update(trigger: CdkMenuTriggerBase): void;
|
|
295
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MenuTracker, never>;
|
|
296
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MenuTracker>;
|
|
297
|
+
}
|
|
286
298
|
/**
|
|
287
299
|
* Abstract directive that implements shared logic common to all menu triggers.
|
|
288
300
|
* This class can be extended to create custom menu trigger types.
|
|
@@ -309,6 +321,8 @@ declare abstract class CdkMenuTriggerBase implements OnDestroy {
|
|
|
309
321
|
menuTemplateRef: TemplateRef<unknown> | null;
|
|
310
322
|
/** Context data to be passed along to the menu template */
|
|
311
323
|
menuData: unknown;
|
|
324
|
+
/** Close the opened menu. */
|
|
325
|
+
abstract close(): void;
|
|
312
326
|
/** A reference to the overlay which manages the triggered menu */
|
|
313
327
|
protected overlayRef: OverlayRef | null;
|
|
314
328
|
/** Emits when this trigger is destroyed. */
|
|
@@ -361,6 +375,8 @@ declare class CdkMenuTrigger extends CdkMenuTriggerBase implements OnChanges, On
|
|
|
361
375
|
private readonly _renderer;
|
|
362
376
|
private readonly _injector;
|
|
363
377
|
private _cleanupMouseenter;
|
|
378
|
+
/** The app's menu tracking registry */
|
|
379
|
+
private readonly _menuTracker;
|
|
364
380
|
/** The parent menu this trigger belongs to. */
|
|
365
381
|
private readonly _parentMenu;
|
|
366
382
|
/** The menu aim service used by this menu. */
|
|
@@ -585,6 +601,11 @@ declare abstract class CdkMenuBase extends CdkMenuGroup implements Menu, AfterCo
|
|
|
585
601
|
* @param focusOrigin The origin input mode of the focus event.
|
|
586
602
|
*/
|
|
587
603
|
focusLastItem(focusOrigin?: FocusOrigin): void;
|
|
604
|
+
/**
|
|
605
|
+
* Sets the active item to the item at the specified index and focuses the newly active item.
|
|
606
|
+
* @param item The index of the item to be set as active, or the CdkMenuItem instance.
|
|
607
|
+
*/
|
|
608
|
+
setActiveMenuItem(item: number | CdkMenuItem): void;
|
|
588
609
|
/** Gets the tabindex for this menu. */
|
|
589
610
|
_getTabIndex(): 0 | -1 | null;
|
|
590
611
|
/**
|
|
@@ -737,18 +758,6 @@ declare class CdkMenuItemCheckbox extends CdkMenuItemSelectable {
|
|
|
737
758
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkMenuItemCheckbox, "[cdkMenuItemCheckbox]", ["cdkMenuItemCheckbox"], {}, {}, never, never, true, never>;
|
|
738
759
|
}
|
|
739
760
|
|
|
740
|
-
/** Tracks the last open context menu trigger across the entire application. */
|
|
741
|
-
declare class ContextMenuTracker {
|
|
742
|
-
/** The last open context menu trigger. */
|
|
743
|
-
private static _openContextMenuTrigger?;
|
|
744
|
-
/**
|
|
745
|
-
* Close the previous open context menu and set the given one as being open.
|
|
746
|
-
* @param trigger The trigger for the currently open Context Menu.
|
|
747
|
-
*/
|
|
748
|
-
update(trigger: CdkContextMenuTrigger): void;
|
|
749
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuTracker, never>;
|
|
750
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ContextMenuTracker>;
|
|
751
|
-
}
|
|
752
761
|
/** The coordinates where the context menu should open. */
|
|
753
762
|
type ContextMenuCoordinates = {
|
|
754
763
|
x: number;
|
|
@@ -761,7 +770,8 @@ type ContextMenuCoordinates = {
|
|
|
761
770
|
declare class CdkContextMenuTrigger extends CdkMenuTriggerBase implements OnDestroy {
|
|
762
771
|
private readonly _injector;
|
|
763
772
|
private readonly _directionality;
|
|
764
|
-
|
|
773
|
+
/** The app's menu tracking registry */
|
|
774
|
+
private readonly _menuTracker;
|
|
765
775
|
private readonly _changeDetectorRef;
|
|
766
776
|
/** Whether the context menu is disabled. */
|
|
767
777
|
disabled: boolean;
|
|
@@ -814,5 +824,5 @@ declare class CdkMenuModule {
|
|
|
814
824
|
static ɵinj: i0.ɵɵInjectorDeclaration<CdkMenuModule>;
|
|
815
825
|
}
|
|
816
826
|
|
|
817
|
-
export { CDK_MENU, CdkContextMenuTrigger, CdkMenu, CdkMenuBar, CdkMenuBase, CdkMenuGroup, CdkMenuItem, CdkMenuItemCheckbox, CdkMenuItemRadio, CdkMenuItemSelectable, CdkMenuModule, CdkMenuTrigger, CdkMenuTriggerBase, CdkTargetMenuAim, ContextMenuTracker, FocusNext, MENU_AIM, MENU_SCROLL_STRATEGY, MENU_STACK, MENU_TRIGGER, MenuStack, PARENT_OR_NEW_INLINE_MENU_STACK_PROVIDER, PARENT_OR_NEW_MENU_STACK_PROVIDER, PointerFocusTracker, TargetMenuAim };
|
|
827
|
+
export { CDK_MENU, CdkContextMenuTrigger, CdkMenu, CdkMenuBar, CdkMenuBase, CdkMenuGroup, CdkMenuItem, CdkMenuItemCheckbox, CdkMenuItemRadio, CdkMenuItemSelectable, CdkMenuModule, CdkMenuTrigger, CdkMenuTriggerBase, CdkTargetMenuAim, MenuTracker as ContextMenuTracker, FocusNext, MENU_AIM, MENU_SCROLL_STRATEGY, MENU_STACK, MENU_TRIGGER, MenuStack, MenuTracker, PARENT_OR_NEW_INLINE_MENU_STACK_PROVIDER, PARENT_OR_NEW_MENU_STACK_PROVIDER, PointerFocusTracker, TargetMenuAim };
|
|
818
828
|
export type { CloseOptions, ContextMenuCoordinates, FocusableElement, Menu, MenuAim, MenuStackCloseEvent, MenuStackItem, Toggler };
|
package/package.json
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.1.0-next.
|
|
29
|
+
return (0, utility_1.addDependency)('@angular/cdk', `~20.1.0-next.2`, { existing: utility_1.ExistingBehavior.Skip });
|
|
30
30
|
}
|
|
31
31
|
//# sourceMappingURL=index.js.map
|