@angular/cdk-experimental 21.0.0-next.0 → 21.0.0-next.10
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/{polyfill.mjs → _polyfill-chunk.mjs} +1 -1
- package/fesm2022/_polyfill-chunk.mjs.map +1 -0
- package/fesm2022/cdk-experimental.mjs +1 -1
- package/fesm2022/cdk-experimental.mjs.map +1 -1
- package/fesm2022/column-resize.mjs +54 -54
- package/fesm2022/column-resize.mjs.map +1 -1
- package/fesm2022/popover-edit.mjs +44 -44
- package/fesm2022/popover-edit.mjs.map +1 -1
- package/fesm2022/scrolling.mjs +7 -7
- package/fesm2022/scrolling.mjs.map +1 -1
- package/fesm2022/selection.mjs +19 -19
- package/fesm2022/selection.mjs.map +1 -1
- package/fesm2022/table-scroll-container.mjs +7 -7
- package/fesm2022/table-scroll-container.mjs.map +1 -1
- package/package.json +10 -45
- package/{column-resize/index.d.ts → types/column-resize.d.ts} +37 -37
- package/{popover-edit/index.d.ts → types/popover-edit.d.ts} +30 -30
- package/{scrolling/index.d.ts → types/scrolling.d.ts} +6 -6
- package/{selection/index.d.ts → types/selection.d.ts} +14 -14
- package/{table-scroll-container/index.d.ts → types/table-scroll-container.d.ts} +6 -6
- package/accordion/index.d.ts +0 -92
- package/accordion.d.d.ts +0 -89
- package/combobox/index.d.ts +0 -94
- package/deferred-content/index.d.ts +0 -37
- package/expansion.d.d.ts +0 -71
- package/fesm2022/accordion.mjs +0 -192
- package/fesm2022/accordion.mjs.map +0 -1
- package/fesm2022/accordion2.mjs +0 -152
- package/fesm2022/accordion2.mjs.map +0 -1
- package/fesm2022/combobox.mjs +0 -340
- package/fesm2022/combobox.mjs.map +0 -1
- package/fesm2022/deferred-content.mjs +0 -60
- package/fesm2022/deferred-content.mjs.map +0 -1
- package/fesm2022/expansion.mjs +0 -87
- package/fesm2022/expansion.mjs.map +0 -1
- package/fesm2022/list-navigation.mjs +0 -263
- package/fesm2022/list-navigation.mjs.map +0 -1
- package/fesm2022/list.mjs +0 -355
- package/fesm2022/list.mjs.map +0 -1
- package/fesm2022/listbox.mjs +0 -160
- package/fesm2022/listbox.mjs.map +0 -1
- package/fesm2022/option.mjs +0 -231
- package/fesm2022/option.mjs.map +0 -1
- package/fesm2022/polyfill.mjs.map +0 -1
- package/fesm2022/radio-group.mjs +0 -202
- package/fesm2022/radio-group.mjs.map +0 -1
- package/fesm2022/radio-group2.mjs +0 -143
- package/fesm2022/radio-group2.mjs.map +0 -1
- package/fesm2022/tabs.mjs +0 -299
- package/fesm2022/tabs.mjs.map +0 -1
- package/fesm2022/tabs2.mjs +0 -211
- package/fesm2022/tabs2.mjs.map +0 -1
- package/fesm2022/toolbar.mjs +0 -168
- package/fesm2022/toolbar.mjs.map +0 -1
- package/fesm2022/toolbar2.mjs +0 -224
- package/fesm2022/toolbar2.mjs.map +0 -1
- package/fesm2022/tree.mjs +0 -631
- package/fesm2022/tree.mjs.map +0 -1
- package/fesm2022/ui-patterns.mjs +0 -21
- package/fesm2022/ui-patterns.mjs.map +0 -1
- package/list.d.d.ts +0 -207
- package/listbox/index.d.ts +0 -87
- package/listbox.d.d.ts +0 -101
- package/pointer-event-manager.d.d.ts +0 -189
- package/radio-group/index.d.ts +0 -85
- package/radio-group.d.d.ts +0 -80
- package/tabs/index.d.ts +0 -157
- package/tabs.d.d.ts +0 -137
- package/toolbar/index.d.ts +0 -89
- package/toolbar.d.d.ts +0 -136
- package/tree/index.d.ts +0 -273
- package/ui-patterns/index.d.ts +0 -9
- /package/{index.d.ts → types/cdk-experimental.d.ts} +0 -0
package/accordion/index.d.ts
DELETED
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import * as _angular_cdk_bidi from '@angular/cdk/bidi';
|
|
2
|
-
import * as _angular_core from '@angular/core';
|
|
3
|
-
import { WritableSignal } from '@angular/core';
|
|
4
|
-
import { AccordionTriggerPattern, AccordionPanelPattern, AccordionGroupPattern } from '../accordion.d.js';
|
|
5
|
-
import * as i1 from '@angular/cdk-experimental/deferred-content';
|
|
6
|
-
import '../pointer-event-manager.d.js';
|
|
7
|
-
import '../expansion.d.js';
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Represents the content panel of an accordion item. It is controlled by an
|
|
11
|
-
* associated `CdkAccordionTrigger`.
|
|
12
|
-
*/
|
|
13
|
-
declare class CdkAccordionPanel {
|
|
14
|
-
/** The DeferredContentAware host directive. */
|
|
15
|
-
private readonly _deferredContentAware;
|
|
16
|
-
/** A global unique identifier for the panel. */
|
|
17
|
-
private readonly _id;
|
|
18
|
-
/** A local unique identifier for the panel, used to match with its trigger's value. */
|
|
19
|
-
value: _angular_core.InputSignal<string>;
|
|
20
|
-
/** The parent accordion trigger pattern that controls this panel. This is set by CdkAccordionGroup. */
|
|
21
|
-
readonly accordionTrigger: WritableSignal<AccordionTriggerPattern | undefined>;
|
|
22
|
-
/** The UI pattern instance for this panel. */
|
|
23
|
-
readonly pattern: AccordionPanelPattern;
|
|
24
|
-
constructor();
|
|
25
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CdkAccordionPanel, never>;
|
|
26
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CdkAccordionPanel, "[cdkAccordionPanel]", ["cdkAccordionPanel"], { "value": { "alias": "value"; "required": true; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.DeferredContentAware; inputs: { "preserveContent": "preserveContent"; }; outputs: {}; }]>;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Represents the trigger button for an accordion item. It controls the expansion
|
|
30
|
-
* state of an associated `CdkAccordionPanel`.
|
|
31
|
-
*/
|
|
32
|
-
declare class CdkAccordionTrigger {
|
|
33
|
-
/** A global unique identifier for the trigger. */
|
|
34
|
-
private readonly _id;
|
|
35
|
-
/** A reference to the trigger element. */
|
|
36
|
-
private readonly _elementRef;
|
|
37
|
-
/** The parent CdkAccordionGroup. */
|
|
38
|
-
private readonly _accordionGroup;
|
|
39
|
-
/** A local unique identifier for the trigger, used to match with its panel's value. */
|
|
40
|
-
value: _angular_core.InputSignal<string>;
|
|
41
|
-
/** Whether the trigger is disabled. */
|
|
42
|
-
disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
43
|
-
/**
|
|
44
|
-
* Whether this trigger is completely inaccessible.
|
|
45
|
-
*
|
|
46
|
-
* TODO(ok7sai): Consider move this to UI patterns.
|
|
47
|
-
*/
|
|
48
|
-
readonly hardDisabled: _angular_core.Signal<boolean>;
|
|
49
|
-
/** The accordion panel pattern controlled by this trigger. This is set by CdkAccordionGroup. */
|
|
50
|
-
readonly accordionPanel: WritableSignal<AccordionPanelPattern | undefined>;
|
|
51
|
-
/** The UI pattern instance for this trigger. */
|
|
52
|
-
readonly pattern: AccordionTriggerPattern;
|
|
53
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CdkAccordionTrigger, never>;
|
|
54
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CdkAccordionTrigger, "[cdkAccordionTrigger]", ["cdkAccordionTrigger"], { "value": { "alias": "value"; "required": true; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Container for a group of accordion items. It manages the overall state and
|
|
58
|
-
* interactions of the accordion, such as keyboard navigation and expansion mode.
|
|
59
|
-
*/
|
|
60
|
-
declare class CdkAccordionGroup {
|
|
61
|
-
/** The CdkAccordionTriggers nested inside this group. */
|
|
62
|
-
protected readonly _triggers: _angular_core.Signal<readonly CdkAccordionTrigger[]>;
|
|
63
|
-
/** The CdkAccordionPanels nested inside this group. */
|
|
64
|
-
protected readonly _panels: _angular_core.Signal<readonly CdkAccordionPanel[]>;
|
|
65
|
-
/** The text direction (ltr or rtl). */
|
|
66
|
-
readonly textDirection: WritableSignal<_angular_cdk_bidi.Direction>;
|
|
67
|
-
/** Whether the entire accordion group is disabled. */
|
|
68
|
-
disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
69
|
-
/** Whether multiple accordion items can be expanded simultaneously. */
|
|
70
|
-
multiExpandable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
71
|
-
/** The values of the current selected/expanded accordions. */
|
|
72
|
-
value: _angular_core.ModelSignal<string[]>;
|
|
73
|
-
/** Whether disabled items should be skipped during keyboard navigation. */
|
|
74
|
-
skipDisabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
75
|
-
/** Whether keyboard navigation should wrap around from the last item to the first, and vice-versa. */
|
|
76
|
-
wrap: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
77
|
-
/** The UI pattern instance for this accordion group. */
|
|
78
|
-
readonly pattern: AccordionGroupPattern;
|
|
79
|
-
constructor();
|
|
80
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CdkAccordionGroup, never>;
|
|
81
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CdkAccordionGroup, "[cdkAccordionGroup]", ["cdkAccordionGroup"], { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "multiExpandable": { "alias": "multiExpandable"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "skipDisabled": { "alias": "skipDisabled"; "required": false; "isSignal": true; }; "wrap": { "alias": "wrap"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, ["_triggers", "_panels"], never, true, never>;
|
|
82
|
-
}
|
|
83
|
-
/**
|
|
84
|
-
* A structural directive that marks the `ng-template` to be used as the content
|
|
85
|
-
* for a `CdkAccordionPanel`. This content can be lazily loaded.
|
|
86
|
-
*/
|
|
87
|
-
declare class CdkAccordionContent {
|
|
88
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CdkAccordionContent, never>;
|
|
89
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CdkAccordionContent, "ng-template[cdkAccordionContent]", never, {}, {}, never, never, true, [{ directive: typeof i1.DeferredContent; inputs: {}; outputs: {}; }]>;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
export { CdkAccordionContent, CdkAccordionGroup, CdkAccordionPanel, CdkAccordionTrigger };
|
package/accordion.d.d.ts
DELETED
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { ListNavigationInputs, ListFocusInputs, ListNavigation, ListFocus, ListNavigationItem, ListFocusItem, SignalLike, KeyboardEventManager, PointerEventManager } from './pointer-event-manager.d.js';
|
|
3
|
-
import { ListExpansionInputs, ListExpansion, ExpansionItem, ExpansionControl } from './expansion.d.js';
|
|
4
|
-
|
|
5
|
-
/** Inputs of the AccordionGroupPattern. */
|
|
6
|
-
type AccordionGroupInputs = Omit<ListNavigationInputs<AccordionTriggerPattern> & ListFocusInputs<AccordionTriggerPattern> & Omit<ListExpansionInputs, 'items'>, 'focusMode'>;
|
|
7
|
-
interface AccordionGroupPattern extends AccordionGroupInputs {
|
|
8
|
-
}
|
|
9
|
-
/** A pattern controls the nested Accordions. */
|
|
10
|
-
declare class AccordionGroupPattern {
|
|
11
|
-
readonly inputs: AccordionGroupInputs;
|
|
12
|
-
/** Controls navigation for the group. */
|
|
13
|
-
navigation: ListNavigation<AccordionTriggerPattern>;
|
|
14
|
-
/** Controls focus for the group. */
|
|
15
|
-
focusManager: ListFocus<AccordionTriggerPattern>;
|
|
16
|
-
/** Controls expansion for the group. */
|
|
17
|
-
expansionManager: ListExpansion;
|
|
18
|
-
constructor(inputs: AccordionGroupInputs);
|
|
19
|
-
}
|
|
20
|
-
/** Inputs for the AccordionTriggerPattern. */
|
|
21
|
-
type AccordionTriggerInputs = Omit<ListNavigationItem & ListFocusItem, 'index'> & Omit<ExpansionItem, 'expansionId' | 'expandable'> & {
|
|
22
|
-
/** A local unique identifier for the trigger. */
|
|
23
|
-
value: SignalLike<string>;
|
|
24
|
-
/** The parent accordion group that controls this trigger. */
|
|
25
|
-
accordionGroup: SignalLike<AccordionGroupPattern>;
|
|
26
|
-
/** The accordion panel controlled by this trigger. */
|
|
27
|
-
accordionPanel: SignalLike<AccordionPanelPattern | undefined>;
|
|
28
|
-
};
|
|
29
|
-
interface AccordionTriggerPattern extends AccordionTriggerInputs {
|
|
30
|
-
}
|
|
31
|
-
/** A pattern controls the expansion state of an accordion. */
|
|
32
|
-
declare class AccordionTriggerPattern {
|
|
33
|
-
readonly inputs: AccordionTriggerInputs;
|
|
34
|
-
/** Whether this tab has expandable content. */
|
|
35
|
-
expandable: SignalLike<boolean>;
|
|
36
|
-
/** The unique identifier used by the expansion behavior. */
|
|
37
|
-
expansionId: SignalLike<string>;
|
|
38
|
-
/** Whether an accordion is expanded. */
|
|
39
|
-
expanded: SignalLike<boolean>;
|
|
40
|
-
/** Controls the expansion state for the trigger. */
|
|
41
|
-
expansionControl: ExpansionControl;
|
|
42
|
-
/** Whether the trigger is active. */
|
|
43
|
-
active: _angular_core.Signal<boolean>;
|
|
44
|
-
/** Id of the accordion panel controlled by the trigger. */
|
|
45
|
-
controls: _angular_core.Signal<string | undefined>;
|
|
46
|
-
/** The tabindex of the trigger. */
|
|
47
|
-
tabindex: _angular_core.Signal<-1 | 0>;
|
|
48
|
-
/** Whether the trigger is disabled. Disabling an accordion group disables all the triggers. */
|
|
49
|
-
disabled: _angular_core.Signal<boolean>;
|
|
50
|
-
/** The index of the trigger within its accordion group. */
|
|
51
|
-
index: _angular_core.Signal<number>;
|
|
52
|
-
constructor(inputs: AccordionTriggerInputs);
|
|
53
|
-
/** The key used to navigate to the previous accordion trigger. */
|
|
54
|
-
prevKey: _angular_core.Signal<"ArrowUp" | "ArrowRight" | "ArrowLeft">;
|
|
55
|
-
/** The key used to navigate to the next accordion trigger. */
|
|
56
|
-
nextKey: _angular_core.Signal<"ArrowRight" | "ArrowLeft" | "ArrowDown">;
|
|
57
|
-
/** The keydown event manager for the accordion trigger. */
|
|
58
|
-
keydown: _angular_core.Signal<KeyboardEventManager<KeyboardEvent>>;
|
|
59
|
-
/** The pointerdown event manager for the accordion trigger. */
|
|
60
|
-
pointerdown: _angular_core.Signal<PointerEventManager<PointerEvent>>;
|
|
61
|
-
/** Handles keydown events on the trigger, delegating to the group if not disabled. */
|
|
62
|
-
onKeydown(event: KeyboardEvent): void;
|
|
63
|
-
/** Handles pointerdown events on the trigger, delegating to the group if not disabled. */
|
|
64
|
-
onPointerdown(event: PointerEvent): void;
|
|
65
|
-
/** Handles focus events on the trigger. This ensures the tabbing changes the active index. */
|
|
66
|
-
onFocus(event: FocusEvent): void;
|
|
67
|
-
private _getItem;
|
|
68
|
-
}
|
|
69
|
-
/** Represents the required inputs for the AccordionPanelPattern. */
|
|
70
|
-
interface AccordionPanelInputs {
|
|
71
|
-
/** A global unique identifier for the panel. */
|
|
72
|
-
id: SignalLike<string>;
|
|
73
|
-
/** A local unique identifier for the panel, matching its trigger's value. */
|
|
74
|
-
value: SignalLike<string>;
|
|
75
|
-
/** The parent accordion trigger that controls this panel. */
|
|
76
|
-
accordionTrigger: SignalLike<AccordionTriggerPattern | undefined>;
|
|
77
|
-
}
|
|
78
|
-
interface AccordionPanelPattern extends AccordionPanelInputs {
|
|
79
|
-
}
|
|
80
|
-
/** Represents an accordion panel. */
|
|
81
|
-
declare class AccordionPanelPattern {
|
|
82
|
-
readonly inputs: AccordionPanelInputs;
|
|
83
|
-
/** Whether the accordion panel is hidden. True if the associated trigger is not expanded. */
|
|
84
|
-
hidden: SignalLike<boolean>;
|
|
85
|
-
constructor(inputs: AccordionPanelInputs);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
export { AccordionGroupPattern, AccordionPanelPattern, AccordionTriggerPattern };
|
|
89
|
-
export type { AccordionGroupInputs, AccordionPanelInputs, AccordionTriggerInputs };
|
package/combobox/index.d.ts
DELETED
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { InjectionToken, OnDestroy, ViewContainerRef, TemplateRef, EventEmitter, OnInit } from '@angular/core';
|
|
3
|
-
import * as i1 from '@angular/cdk/overlay';
|
|
4
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
5
|
-
|
|
6
|
-
type AriaHasPopupValue = 'false' | 'true' | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog';
|
|
7
|
-
type OpenAction = 'focus' | 'click' | 'downKey' | 'toggle';
|
|
8
|
-
type OpenActionInput = OpenAction | OpenAction[] | string | null | undefined;
|
|
9
|
-
declare const CDK_COMBOBOX: InjectionToken<CdkCombobox<unknown>>;
|
|
10
|
-
declare class CdkCombobox<T = unknown> implements OnDestroy {
|
|
11
|
-
private readonly _tagName;
|
|
12
|
-
private readonly _elementRef;
|
|
13
|
-
protected readonly _viewContainerRef: ViewContainerRef;
|
|
14
|
-
private readonly _injector;
|
|
15
|
-
private readonly _doc;
|
|
16
|
-
private readonly _directionality;
|
|
17
|
-
private _changeDetectorRef;
|
|
18
|
-
private _overlayRef;
|
|
19
|
-
private _panelPortal;
|
|
20
|
-
_panelTemplateRef: TemplateRef<unknown>;
|
|
21
|
-
value: T | T[];
|
|
22
|
-
get disabled(): boolean;
|
|
23
|
-
set disabled(value: BooleanInput);
|
|
24
|
-
private _disabled;
|
|
25
|
-
get openActions(): OpenAction[];
|
|
26
|
-
set openActions(action: OpenActionInput);
|
|
27
|
-
private _openActions;
|
|
28
|
-
/** Whether the textContent is automatically updated upon change of the combobox value. */
|
|
29
|
-
get autoSetText(): boolean;
|
|
30
|
-
set autoSetText(value: BooleanInput);
|
|
31
|
-
private _autoSetText;
|
|
32
|
-
readonly opened: EventEmitter<void>;
|
|
33
|
-
readonly closed: EventEmitter<void>;
|
|
34
|
-
readonly panelValueChanged: EventEmitter<T[]>;
|
|
35
|
-
contentId: string;
|
|
36
|
-
contentType: AriaHasPopupValue;
|
|
37
|
-
ngOnDestroy(): void;
|
|
38
|
-
_keydown(event: KeyboardEvent): void;
|
|
39
|
-
/** Handles click or focus interactions. */
|
|
40
|
-
_handleInteractions(interaction: OpenAction): void;
|
|
41
|
-
/** Given a click in the document, determines if the click was inside a combobox. */
|
|
42
|
-
_attemptClose(event: MouseEvent): void;
|
|
43
|
-
/** Toggles the open state of the panel. */
|
|
44
|
-
toggle(): void;
|
|
45
|
-
/** If the combobox is closed and not disabled, opens the panel. */
|
|
46
|
-
open(): void;
|
|
47
|
-
/** If the combobox is open and not disabled, closes the panel. */
|
|
48
|
-
close(): void;
|
|
49
|
-
/** Returns true if panel is currently opened. */
|
|
50
|
-
isOpen(): boolean;
|
|
51
|
-
/** Returns true if combobox has a child panel. */
|
|
52
|
-
hasPanel(): boolean;
|
|
53
|
-
_getTabIndex(): string | null;
|
|
54
|
-
private _setComboboxValue;
|
|
55
|
-
updateAndClose(value: T | T[]): void;
|
|
56
|
-
private _setTextContent;
|
|
57
|
-
private _isTextTrigger;
|
|
58
|
-
private _getOverlayConfig;
|
|
59
|
-
private _getOverlayPositionStrategy;
|
|
60
|
-
private _getOverlayPositions;
|
|
61
|
-
private _getPanelInjector;
|
|
62
|
-
private _getPanelContent;
|
|
63
|
-
private _coerceOpenActionProperty;
|
|
64
|
-
/** Registers the content's id and the content type with the panel. */
|
|
65
|
-
_registerContent(contentId: string, contentType: AriaHasPopupValue): void;
|
|
66
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CdkCombobox<any>, never>;
|
|
67
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CdkCombobox<any>, "[cdkCombobox]", ["cdkCombobox"], { "_panelTemplateRef": { "alias": "cdkComboboxTriggerFor"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "openActions": { "alias": "openActions"; "required": false; }; "autoSetText": { "alias": "autoSetText"; "required": false; }; }, { "opened": "comboboxPanelOpened"; "closed": "comboboxPanelClosed"; "panelValueChanged": "panelValueChanged"; }, never, never, true, never>;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
declare class CdkComboboxPopup<T = unknown> implements OnInit {
|
|
71
|
-
private readonly _elementRef;
|
|
72
|
-
private readonly _combobox;
|
|
73
|
-
get role(): AriaHasPopupValue;
|
|
74
|
-
set role(value: AriaHasPopupValue);
|
|
75
|
-
private _role;
|
|
76
|
-
get firstFocus(): HTMLElement;
|
|
77
|
-
set firstFocus(id: HTMLElement);
|
|
78
|
-
private _firstFocusElement;
|
|
79
|
-
id: string;
|
|
80
|
-
ngOnInit(): void;
|
|
81
|
-
registerWithPanel(): void;
|
|
82
|
-
focusFirstElement(): void;
|
|
83
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CdkComboboxPopup<any>, never>;
|
|
84
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CdkComboboxPopup<any>, "[cdkComboboxPopup]", ["cdkComboboxPopup"], { "role": { "alias": "role"; "required": false; }; "firstFocus": { "alias": "firstFocus"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, {}, never, never, true, never>;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
declare class CdkComboboxModule {
|
|
88
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CdkComboboxModule, never>;
|
|
89
|
-
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<CdkComboboxModule, never, [typeof i1.OverlayModule, typeof CdkCombobox, typeof CdkComboboxPopup], [typeof CdkCombobox, typeof CdkComboboxPopup]>;
|
|
90
|
-
static ɵinj: _angular_core.ɵɵInjectorDeclaration<CdkComboboxModule>;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
export { CDK_COMBOBOX, CdkCombobox, CdkComboboxModule, CdkComboboxPopup };
|
|
94
|
-
export type { AriaHasPopupValue, OpenAction, OpenActionInput };
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import * as _angular_core from '@angular/core';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* A container directive controls the visibility of its content.
|
|
5
|
-
*/
|
|
6
|
-
declare class DeferredContentAware {
|
|
7
|
-
contentVisible: _angular_core.WritableSignal<boolean>;
|
|
8
|
-
readonly preserveContent: _angular_core.InputSignal<boolean>;
|
|
9
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DeferredContentAware, never>;
|
|
10
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<DeferredContentAware, never, never, { "preserveContent": { "alias": "preserveContent"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* DeferredContent loads/unloads the content based on the visibility.
|
|
14
|
-
* The visibilty signal is sent from a parent directive implements
|
|
15
|
-
* DeferredContentAware.
|
|
16
|
-
*
|
|
17
|
-
* Use this directive as a host directive. For example:
|
|
18
|
-
*
|
|
19
|
-
* ```ts
|
|
20
|
-
* @Directive({
|
|
21
|
-
* selector: 'ng-template[cdkAccordionContent]',
|
|
22
|
-
* hostDirectives: [DeferredContent],
|
|
23
|
-
* })
|
|
24
|
-
* class CdkAccordionContent {}
|
|
25
|
-
* ```
|
|
26
|
-
*/
|
|
27
|
-
declare class DeferredContent {
|
|
28
|
-
private readonly _deferredContentAware;
|
|
29
|
-
private readonly _templateRef;
|
|
30
|
-
private readonly _viewContainerRef;
|
|
31
|
-
private _isRendered;
|
|
32
|
-
constructor();
|
|
33
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DeferredContent, never>;
|
|
34
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<DeferredContent, never, never, {}, {}, never, never, true, never>;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export { DeferredContent, DeferredContentAware };
|
package/expansion.d.d.ts
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { SignalLike, WritableSignalLike } from './pointer-event-manager.d.js';
|
|
3
|
-
|
|
4
|
-
/** Represents an item that can be expanded or collapsed. */
|
|
5
|
-
interface ExpansionItem {
|
|
6
|
-
/** Whether the item is expandable. */
|
|
7
|
-
expandable: SignalLike<boolean>;
|
|
8
|
-
/** Used to uniquely identify an expansion item. */
|
|
9
|
-
expansionId: SignalLike<string>;
|
|
10
|
-
/** Whether the expansion is disabled. */
|
|
11
|
-
disabled: SignalLike<boolean>;
|
|
12
|
-
}
|
|
13
|
-
interface ExpansionControl extends ExpansionItem {
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Controls a single item's expansion state and interactions,
|
|
17
|
-
* delegating actual state changes to an Expansion manager.
|
|
18
|
-
*/
|
|
19
|
-
declare class ExpansionControl {
|
|
20
|
-
readonly inputs: ExpansionItem & {
|
|
21
|
-
expansionManager: ListExpansion;
|
|
22
|
-
};
|
|
23
|
-
/** Whether this specific item is currently expanded. Derived from the Expansion manager. */
|
|
24
|
-
readonly isExpanded: _angular_core.Signal<boolean>;
|
|
25
|
-
/** Whether this item can be expanded. */
|
|
26
|
-
readonly isExpandable: _angular_core.Signal<boolean>;
|
|
27
|
-
constructor(inputs: ExpansionItem & {
|
|
28
|
-
expansionManager: ListExpansion;
|
|
29
|
-
});
|
|
30
|
-
/** Requests the Expansopn manager to open this item. */
|
|
31
|
-
open(): void;
|
|
32
|
-
/** Requests the Expansion manager to close this item. */
|
|
33
|
-
close(): void;
|
|
34
|
-
/** Requests the Expansion manager to toggle this item. */
|
|
35
|
-
toggle(): void;
|
|
36
|
-
}
|
|
37
|
-
/** Represents the required inputs for an expansion behavior. */
|
|
38
|
-
interface ListExpansionInputs {
|
|
39
|
-
/** Whether multiple items can be expanded at once. */
|
|
40
|
-
multiExpandable: SignalLike<boolean>;
|
|
41
|
-
/** An array of ids of the currently expanded items. */
|
|
42
|
-
expandedIds: WritableSignalLike<string[]>;
|
|
43
|
-
/** An array of expansion items. */
|
|
44
|
-
items: SignalLike<ExpansionItem[]>;
|
|
45
|
-
/** Whether all expansions are disabled. */
|
|
46
|
-
disabled: SignalLike<boolean>;
|
|
47
|
-
}
|
|
48
|
-
/** Manages the expansion state of a list of items. */
|
|
49
|
-
declare class ListExpansion {
|
|
50
|
-
readonly inputs: ListExpansionInputs;
|
|
51
|
-
/** A signal holding an array of ids of the currently expanded items. */
|
|
52
|
-
expandedIds: WritableSignalLike<string[]>;
|
|
53
|
-
constructor(inputs: ListExpansionInputs);
|
|
54
|
-
/** Opens the specified item. */
|
|
55
|
-
open(item: ExpansionItem): void;
|
|
56
|
-
/** Closes the specified item. */
|
|
57
|
-
close(item: ExpansionItem): void;
|
|
58
|
-
/** Toggles the expansion state of the specified item. */
|
|
59
|
-
toggle(item: ExpansionItem): void;
|
|
60
|
-
/** Opens all focusable items in the list. */
|
|
61
|
-
openAll(): void;
|
|
62
|
-
/** Closes all focusable items in the list. */
|
|
63
|
-
closeAll(): void;
|
|
64
|
-
/** Checks whether the specified item is expandable / collapsible. */
|
|
65
|
-
isExpandable(item: ExpansionItem): boolean;
|
|
66
|
-
/** Checks whether the specified item is currently expanded. */
|
|
67
|
-
isExpanded(item: ExpansionItem): boolean;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export { ExpansionControl, ListExpansion };
|
|
71
|
-
export type { ExpansionItem, ListExpansionInputs };
|
package/fesm2022/accordion.mjs
DELETED
|
@@ -1,192 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, input, signal, afterRenderEffect, Directive, ElementRef, booleanAttribute, computed, contentChildren, model } from '@angular/core';
|
|
3
|
-
import { _IdGenerator } from '@angular/cdk/a11y';
|
|
4
|
-
import { Directionality } from '@angular/cdk/bidi';
|
|
5
|
-
import * as i1 from '@angular/cdk-experimental/deferred-content';
|
|
6
|
-
import { DeferredContentAware, DeferredContent } from '@angular/cdk-experimental/deferred-content';
|
|
7
|
-
import { AccordionPanelPattern, AccordionTriggerPattern, AccordionGroupPattern } from './accordion2.mjs';
|
|
8
|
-
import './expansion.mjs';
|
|
9
|
-
import './list-navigation.mjs';
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* Represents the content panel of an accordion item. It is controlled by an
|
|
13
|
-
* associated `CdkAccordionTrigger`.
|
|
14
|
-
*/
|
|
15
|
-
class CdkAccordionPanel {
|
|
16
|
-
/** The DeferredContentAware host directive. */
|
|
17
|
-
_deferredContentAware = inject(DeferredContentAware);
|
|
18
|
-
/** A global unique identifier for the panel. */
|
|
19
|
-
_id = inject(_IdGenerator).getId('cdk-accordion-trigger-');
|
|
20
|
-
/** A local unique identifier for the panel, used to match with its trigger's value. */
|
|
21
|
-
value = input.required(...(ngDevMode ? [{ debugName: "value" }] : []));
|
|
22
|
-
/** The parent accordion trigger pattern that controls this panel. This is set by CdkAccordionGroup. */
|
|
23
|
-
accordionTrigger = signal(undefined, ...(ngDevMode ? [{ debugName: "accordionTrigger" }] : []));
|
|
24
|
-
/** The UI pattern instance for this panel. */
|
|
25
|
-
pattern = new AccordionPanelPattern({
|
|
26
|
-
id: () => this._id,
|
|
27
|
-
value: this.value,
|
|
28
|
-
accordionTrigger: () => this.accordionTrigger(),
|
|
29
|
-
});
|
|
30
|
-
constructor() {
|
|
31
|
-
// Connect the panel's hidden state to the DeferredContentAware's visibility.
|
|
32
|
-
afterRenderEffect(() => {
|
|
33
|
-
this._deferredContentAware.contentVisible.set(!this.pattern.hidden());
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-rc.1", ngImport: i0, type: CdkAccordionPanel, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
37
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.2.0-rc.1", type: CdkAccordionPanel, isStandalone: true, selector: "[cdkAccordionPanel]", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null } }, host: { attributes: { "role": "region" }, properties: { "attr.id": "pattern.id()", "attr.aria-labelledby": "pattern.accordionTrigger()?.id()", "attr.inert": "pattern.hidden() ? true : null" }, classAttribute: "cdk-accordion-panel" }, exportAs: ["cdkAccordionPanel"], hostDirectives: [{ directive: i1.DeferredContentAware, inputs: ["preserveContent", "preserveContent"] }], ngImport: i0 });
|
|
38
|
-
}
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-rc.1", ngImport: i0, type: CdkAccordionPanel, decorators: [{
|
|
40
|
-
type: Directive,
|
|
41
|
-
args: [{
|
|
42
|
-
selector: '[cdkAccordionPanel]',
|
|
43
|
-
exportAs: 'cdkAccordionPanel',
|
|
44
|
-
hostDirectives: [
|
|
45
|
-
{
|
|
46
|
-
directive: DeferredContentAware,
|
|
47
|
-
inputs: ['preserveContent'],
|
|
48
|
-
},
|
|
49
|
-
],
|
|
50
|
-
host: {
|
|
51
|
-
'class': 'cdk-accordion-panel',
|
|
52
|
-
'role': 'region',
|
|
53
|
-
'[attr.id]': 'pattern.id()',
|
|
54
|
-
'[attr.aria-labelledby]': 'pattern.accordionTrigger()?.id()',
|
|
55
|
-
'[attr.inert]': 'pattern.hidden() ? true : null',
|
|
56
|
-
},
|
|
57
|
-
}]
|
|
58
|
-
}], ctorParameters: () => [] });
|
|
59
|
-
/**
|
|
60
|
-
* Represents the trigger button for an accordion item. It controls the expansion
|
|
61
|
-
* state of an associated `CdkAccordionPanel`.
|
|
62
|
-
*/
|
|
63
|
-
class CdkAccordionTrigger {
|
|
64
|
-
/** A global unique identifier for the trigger. */
|
|
65
|
-
_id = inject(_IdGenerator).getId('cdk-accordion-trigger-');
|
|
66
|
-
/** A reference to the trigger element. */
|
|
67
|
-
_elementRef = inject(ElementRef);
|
|
68
|
-
/** The parent CdkAccordionGroup. */
|
|
69
|
-
_accordionGroup = inject(CdkAccordionGroup);
|
|
70
|
-
/** A local unique identifier for the trigger, used to match with its panel's value. */
|
|
71
|
-
value = input.required(...(ngDevMode ? [{ debugName: "value" }] : []));
|
|
72
|
-
/** Whether the trigger is disabled. */
|
|
73
|
-
disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
|
|
74
|
-
/**
|
|
75
|
-
* Whether this trigger is completely inaccessible.
|
|
76
|
-
*
|
|
77
|
-
* TODO(ok7sai): Consider move this to UI patterns.
|
|
78
|
-
*/
|
|
79
|
-
hardDisabled = computed(() => this.pattern.disabled() && this.pattern.tabindex() < 0, ...(ngDevMode ? [{ debugName: "hardDisabled" }] : []));
|
|
80
|
-
/** The accordion panel pattern controlled by this trigger. This is set by CdkAccordionGroup. */
|
|
81
|
-
accordionPanel = signal(undefined, ...(ngDevMode ? [{ debugName: "accordionPanel" }] : []));
|
|
82
|
-
/** The UI pattern instance for this trigger. */
|
|
83
|
-
pattern = new AccordionTriggerPattern({
|
|
84
|
-
id: () => this._id,
|
|
85
|
-
value: this.value,
|
|
86
|
-
disabled: this.disabled,
|
|
87
|
-
element: () => this._elementRef.nativeElement,
|
|
88
|
-
accordionGroup: computed(() => this._accordionGroup.pattern),
|
|
89
|
-
accordionPanel: this.accordionPanel,
|
|
90
|
-
});
|
|
91
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-rc.1", ngImport: i0, type: CdkAccordionTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
92
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.2.0-rc.1", type: CdkAccordionTrigger, isStandalone: true, selector: "[cdkAccordionTrigger]", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "button" }, listeners: { "keydown": "pattern.onKeydown($event)", "pointerdown": "pattern.onPointerdown($event)", "focusin": "pattern.onFocus($event)" }, properties: { "class.cdk-active": "pattern.active()", "id": "pattern.id()", "attr.aria-expanded": "pattern.expanded()", "attr.aria-controls": "pattern.controls()", "attr.aria-disabled": "pattern.disabled()", "attr.inert": "hardDisabled() ? true : null", "attr.disabled": "hardDisabled() ? true : null", "attr.tabindex": "pattern.tabindex()" }, classAttribute: "cdk-accordion-trigger" }, exportAs: ["cdkAccordionTrigger"], ngImport: i0 });
|
|
93
|
-
}
|
|
94
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-rc.1", ngImport: i0, type: CdkAccordionTrigger, decorators: [{
|
|
95
|
-
type: Directive,
|
|
96
|
-
args: [{
|
|
97
|
-
selector: '[cdkAccordionTrigger]',
|
|
98
|
-
exportAs: 'cdkAccordionTrigger',
|
|
99
|
-
host: {
|
|
100
|
-
'class': 'cdk-accordion-trigger',
|
|
101
|
-
'[class.cdk-active]': 'pattern.active()',
|
|
102
|
-
'role': 'button',
|
|
103
|
-
'[id]': 'pattern.id()',
|
|
104
|
-
'[attr.aria-expanded]': 'pattern.expanded()',
|
|
105
|
-
'[attr.aria-controls]': 'pattern.controls()',
|
|
106
|
-
'[attr.aria-disabled]': 'pattern.disabled()',
|
|
107
|
-
'[attr.inert]': 'hardDisabled() ? true : null',
|
|
108
|
-
'[attr.disabled]': 'hardDisabled() ? true : null',
|
|
109
|
-
'[attr.tabindex]': 'pattern.tabindex()',
|
|
110
|
-
'(keydown)': 'pattern.onKeydown($event)',
|
|
111
|
-
'(pointerdown)': 'pattern.onPointerdown($event)',
|
|
112
|
-
'(focusin)': 'pattern.onFocus($event)',
|
|
113
|
-
},
|
|
114
|
-
}]
|
|
115
|
-
}] });
|
|
116
|
-
/**
|
|
117
|
-
* Container for a group of accordion items. It manages the overall state and
|
|
118
|
-
* interactions of the accordion, such as keyboard navigation and expansion mode.
|
|
119
|
-
*/
|
|
120
|
-
class CdkAccordionGroup {
|
|
121
|
-
/** The CdkAccordionTriggers nested inside this group. */
|
|
122
|
-
_triggers = contentChildren(CdkAccordionTrigger, ...(ngDevMode ? [{ debugName: "_triggers", descendants: true }] : [{ descendants: true }]));
|
|
123
|
-
/** The CdkAccordionPanels nested inside this group. */
|
|
124
|
-
_panels = contentChildren(CdkAccordionPanel, ...(ngDevMode ? [{ debugName: "_panels", descendants: true }] : [{ descendants: true }]));
|
|
125
|
-
/** The text direction (ltr or rtl). */
|
|
126
|
-
textDirection = inject(Directionality).valueSignal;
|
|
127
|
-
/** Whether the entire accordion group is disabled. */
|
|
128
|
-
disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
|
|
129
|
-
/** Whether multiple accordion items can be expanded simultaneously. */
|
|
130
|
-
multiExpandable = input(true, ...(ngDevMode ? [{ debugName: "multiExpandable", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
|
|
131
|
-
/** The values of the current selected/expanded accordions. */
|
|
132
|
-
value = model([], ...(ngDevMode ? [{ debugName: "value" }] : []));
|
|
133
|
-
/** Whether disabled items should be skipped during keyboard navigation. */
|
|
134
|
-
skipDisabled = input(true, ...(ngDevMode ? [{ debugName: "skipDisabled", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
|
|
135
|
-
/** Whether keyboard navigation should wrap around from the last item to the first, and vice-versa. */
|
|
136
|
-
wrap = input(false, ...(ngDevMode ? [{ debugName: "wrap", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
|
|
137
|
-
/** The UI pattern instance for this accordion group. */
|
|
138
|
-
pattern = new AccordionGroupPattern({
|
|
139
|
-
...this,
|
|
140
|
-
// TODO(ok7sai): Consider making `activeItem` an internal state in the pattern and call
|
|
141
|
-
// `setDefaultState` in the CDK.
|
|
142
|
-
activeItem: signal(undefined),
|
|
143
|
-
items: computed(() => this._triggers().map(trigger => trigger.pattern)),
|
|
144
|
-
expandedIds: this.value,
|
|
145
|
-
// TODO(ok7sai): Investigate whether an accordion should support horizontal mode.
|
|
146
|
-
orientation: () => 'vertical',
|
|
147
|
-
});
|
|
148
|
-
constructor() {
|
|
149
|
-
// Effect to link triggers with their corresponding panels and update the group's items.
|
|
150
|
-
afterRenderEffect(() => {
|
|
151
|
-
const triggers = this._triggers();
|
|
152
|
-
const panels = this._panels();
|
|
153
|
-
for (const trigger of triggers) {
|
|
154
|
-
const panel = panels.find(p => p.value() === trigger.value());
|
|
155
|
-
trigger.accordionPanel.set(panel?.pattern);
|
|
156
|
-
if (panel) {
|
|
157
|
-
panel.accordionTrigger.set(trigger.pattern);
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
});
|
|
161
|
-
}
|
|
162
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-rc.1", ngImport: i0, type: CdkAccordionGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
163
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "20.2.0-rc.1", type: CdkAccordionGroup, isStandalone: true, selector: "[cdkAccordionGroup]", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, multiExpandable: { classPropertyName: "multiExpandable", publicName: "multiExpandable", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, skipDisabled: { classPropertyName: "skipDisabled", publicName: "skipDisabled", isSignal: true, isRequired: false, transformFunction: null }, wrap: { classPropertyName: "wrap", publicName: "wrap", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange" }, host: { classAttribute: "cdk-accordion-group" }, queries: [{ propertyName: "_triggers", predicate: CdkAccordionTrigger, descendants: true, isSignal: true }, { propertyName: "_panels", predicate: CdkAccordionPanel, descendants: true, isSignal: true }], exportAs: ["cdkAccordionGroup"], ngImport: i0 });
|
|
164
|
-
}
|
|
165
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-rc.1", ngImport: i0, type: CdkAccordionGroup, decorators: [{
|
|
166
|
-
type: Directive,
|
|
167
|
-
args: [{
|
|
168
|
-
selector: '[cdkAccordionGroup]',
|
|
169
|
-
exportAs: 'cdkAccordionGroup',
|
|
170
|
-
host: {
|
|
171
|
-
'class': 'cdk-accordion-group',
|
|
172
|
-
},
|
|
173
|
-
}]
|
|
174
|
-
}], ctorParameters: () => [] });
|
|
175
|
-
/**
|
|
176
|
-
* A structural directive that marks the `ng-template` to be used as the content
|
|
177
|
-
* for a `CdkAccordionPanel`. This content can be lazily loaded.
|
|
178
|
-
*/
|
|
179
|
-
class CdkAccordionContent {
|
|
180
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-rc.1", ngImport: i0, type: CdkAccordionContent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
181
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-rc.1", type: CdkAccordionContent, isStandalone: true, selector: "ng-template[cdkAccordionContent]", hostDirectives: [{ directive: i1.DeferredContent }], ngImport: i0 });
|
|
182
|
-
}
|
|
183
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-rc.1", ngImport: i0, type: CdkAccordionContent, decorators: [{
|
|
184
|
-
type: Directive,
|
|
185
|
-
args: [{
|
|
186
|
-
selector: 'ng-template[cdkAccordionContent]',
|
|
187
|
-
hostDirectives: [DeferredContent],
|
|
188
|
-
}]
|
|
189
|
-
}] });
|
|
190
|
-
|
|
191
|
-
export { CdkAccordionContent, CdkAccordionGroup, CdkAccordionPanel, CdkAccordionTrigger };
|
|
192
|
-
//# sourceMappingURL=accordion.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"accordion.mjs","sources":["../../../../../k8-fastbuild-ST-c646aa77115d/bin/src/cdk-experimental/accordion/accordion.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 {\n Directive,\n input,\n ElementRef,\n inject,\n contentChildren,\n afterRenderEffect,\n signal,\n model,\n booleanAttribute,\n computed,\n WritableSignal,\n} from '@angular/core';\nimport {_IdGenerator} from '@angular/cdk/a11y';\nimport {Directionality} from '@angular/cdk/bidi';\nimport {DeferredContent, DeferredContentAware} from '@angular/cdk-experimental/deferred-content';\nimport {\n AccordionGroupPattern,\n AccordionPanelPattern,\n AccordionTriggerPattern,\n} from '../ui-patterns/';\n\n/**\n * Represents the content panel of an accordion item. It is controlled by an\n * associated `CdkAccordionTrigger`.\n */\n@Directive({\n selector: '[cdkAccordionPanel]',\n exportAs: 'cdkAccordionPanel',\n hostDirectives: [\n {\n directive: DeferredContentAware,\n inputs: ['preserveContent'],\n },\n ],\n host: {\n 'class': 'cdk-accordion-panel',\n 'role': 'region',\n '[attr.id]': 'pattern.id()',\n '[attr.aria-labelledby]': 'pattern.accordionTrigger()?.id()',\n '[attr.inert]': 'pattern.hidden() ? true : null',\n },\n})\nexport class CdkAccordionPanel {\n /** The DeferredContentAware host directive. */\n private readonly _deferredContentAware = inject(DeferredContentAware);\n\n /** A global unique identifier for the panel. */\n private readonly _id = inject(_IdGenerator).getId('cdk-accordion-trigger-');\n\n /** A local unique identifier for the panel, used to match with its trigger's value. */\n value = input.required<string>();\n\n /** The parent accordion trigger pattern that controls this panel. This is set by CdkAccordionGroup. */\n readonly accordionTrigger: WritableSignal<AccordionTriggerPattern | undefined> =\n signal(undefined);\n\n /** The UI pattern instance for this panel. */\n readonly pattern: AccordionPanelPattern = new AccordionPanelPattern({\n id: () => this._id,\n value: this.value,\n accordionTrigger: () => this.accordionTrigger(),\n });\n\n constructor() {\n // Connect the panel's hidden state to the DeferredContentAware's visibility.\n afterRenderEffect(() => {\n this._deferredContentAware.contentVisible.set(!this.pattern.hidden());\n });\n }\n}\n\n/**\n * Represents the trigger button for an accordion item. It controls the expansion\n * state of an associated `CdkAccordionPanel`.\n */\n@Directive({\n selector: '[cdkAccordionTrigger]',\n exportAs: 'cdkAccordionTrigger',\n host: {\n 'class': 'cdk-accordion-trigger',\n '[class.cdk-active]': 'pattern.active()',\n 'role': 'button',\n '[id]': 'pattern.id()',\n '[attr.aria-expanded]': 'pattern.expanded()',\n '[attr.aria-controls]': 'pattern.controls()',\n '[attr.aria-disabled]': 'pattern.disabled()',\n '[attr.inert]': 'hardDisabled() ? true : null',\n '[attr.disabled]': 'hardDisabled() ? true : null',\n '[attr.tabindex]': 'pattern.tabindex()',\n '(keydown)': 'pattern.onKeydown($event)',\n '(pointerdown)': 'pattern.onPointerdown($event)',\n '(focusin)': 'pattern.onFocus($event)',\n },\n})\nexport class CdkAccordionTrigger {\n /** A global unique identifier for the trigger. */\n private readonly _id = inject(_IdGenerator).getId('cdk-accordion-trigger-');\n\n /** A reference to the trigger element. */\n private readonly _elementRef = inject(ElementRef);\n\n /** The parent CdkAccordionGroup. */\n private readonly _accordionGroup = inject(CdkAccordionGroup);\n\n /** A local unique identifier for the trigger, used to match with its panel's value. */\n value = input.required<string>();\n\n /** Whether the trigger is disabled. */\n disabled = input(false, {transform: booleanAttribute});\n\n /**\n * Whether this trigger is completely inaccessible.\n *\n * TODO(ok7sai): Consider move this to UI patterns.\n */\n readonly hardDisabled = computed(() => this.pattern.disabled() && this.pattern.tabindex() < 0);\n\n /** The accordion panel pattern controlled by this trigger. This is set by CdkAccordionGroup. */\n readonly accordionPanel: WritableSignal<AccordionPanelPattern | undefined> = signal(undefined);\n\n /** The UI pattern instance for this trigger. */\n readonly pattern: AccordionTriggerPattern = new AccordionTriggerPattern({\n id: () => this._id,\n value: this.value,\n disabled: this.disabled,\n element: () => this._elementRef.nativeElement,\n accordionGroup: computed(() => this._accordionGroup.pattern),\n accordionPanel: this.accordionPanel,\n });\n}\n\n/**\n * Container for a group of accordion items. It manages the overall state and\n * interactions of the accordion, such as keyboard navigation and expansion mode.\n */\n@Directive({\n selector: '[cdkAccordionGroup]',\n exportAs: 'cdkAccordionGroup',\n host: {\n 'class': 'cdk-accordion-group',\n },\n})\nexport class CdkAccordionGroup {\n /** The CdkAccordionTriggers nested inside this group. */\n protected readonly _triggers = contentChildren(CdkAccordionTrigger, {descendants: true});\n\n /** The CdkAccordionPanels nested inside this group. */\n protected readonly _panels = contentChildren(CdkAccordionPanel, {descendants: true});\n\n /** The text direction (ltr or rtl). */\n readonly textDirection = inject(Directionality).valueSignal;\n\n /** Whether the entire accordion group is disabled. */\n disabled = input(false, {transform: booleanAttribute});\n\n /** Whether multiple accordion items can be expanded simultaneously. */\n multiExpandable = input(true, {transform: booleanAttribute});\n\n /** The values of the current selected/expanded accordions. */\n value = model<string[]>([]);\n\n /** Whether disabled items should be skipped during keyboard navigation. */\n skipDisabled = input(true, {transform: booleanAttribute});\n\n /** Whether keyboard navigation should wrap around from the last item to the first, and vice-versa. */\n wrap = input(false, {transform: booleanAttribute});\n\n /** The UI pattern instance for this accordion group. */\n readonly pattern: AccordionGroupPattern = new AccordionGroupPattern({\n ...this,\n // TODO(ok7sai): Consider making `activeItem` an internal state in the pattern and call\n // `setDefaultState` in the CDK.\n activeItem: signal(undefined),\n items: computed(() => this._triggers().map(trigger => trigger.pattern)),\n expandedIds: this.value,\n // TODO(ok7sai): Investigate whether an accordion should support horizontal mode.\n orientation: () => 'vertical',\n });\n\n constructor() {\n // Effect to link triggers with their corresponding panels and update the group's items.\n afterRenderEffect(() => {\n const triggers = this._triggers();\n const panels = this._panels();\n\n for (const trigger of triggers) {\n const panel = panels.find(p => p.value() === trigger.value());\n trigger.accordionPanel.set(panel?.pattern);\n if (panel) {\n panel.accordionTrigger.set(trigger.pattern);\n }\n }\n });\n }\n}\n\n/**\n * A structural directive that marks the `ng-template` to be used as the content\n * for a `CdkAccordionPanel`. This content can be lazily loaded.\n */\n@Directive({\n selector: 'ng-template[cdkAccordionContent]',\n hostDirectives: [DeferredContent],\n})\nexport class CdkAccordionContent {}\n"],"names":[],"mappings":";;;;;;;;;;AA8BA;;;AAGG;MAkBU,iBAAiB,CAAA;;AAEX,IAAA,qBAAqB,GAAG,MAAM,CAAC,oBAAoB,CAAC;;IAGpD,GAAG,GAAG,MAAM,CAAC,YAAY,CAAC,CAAC,KAAK,CAAC,wBAAwB,CAAC;;AAG3E,IAAA,KAAK,G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