Skip to content

Commit bac6bf2

Browse files
committed
main - 3cc2b54 build: update @angular/bazel to support .d.ts code splitting
1 parent d87ee7d commit bac6bf2

18 files changed

+927
-1141
lines changed

column-resize/index.d.ts

+247-295
Large diffs are not rendered by default.

combobox/index.d.ts

+13-38
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
1-
import { BooleanInput } from '@angular/cdk/coercion';
2-
import { EventEmitter } from '@angular/core';
31
import * as i0 from '@angular/core';
2+
import { InjectionToken, OnDestroy, ViewContainerRef, TemplateRef, EventEmitter, OnInit } from '@angular/core';
43
import * as i1 from '@angular/cdk/overlay';
5-
import { InjectionToken } from '@angular/core';
6-
import { OnDestroy } from '@angular/core';
7-
import { OnInit } from '@angular/core';
8-
import { TemplateRef } from '@angular/core';
9-
import { ViewContainerRef } from '@angular/core';
10-
11-
export declare type AriaHasPopupValue = 'false' | 'true' | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog';
12-
13-
export declare const CDK_COMBOBOX: InjectionToken<CdkCombobox<unknown>>;
4+
import { BooleanInput } from '@angular/cdk/coercion';
145

15-
export declare class CdkCombobox<T = unknown> implements OnDestroy {
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 {
1611
private readonly _elementRef;
1712
private readonly _overlay;
1813
protected readonly _viewContainerRef: ViewContainerRef;
@@ -72,13 +67,7 @@ export declare class CdkCombobox<T = unknown> implements OnDestroy {
7267
static ɵdir: i0.ɵɵ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>;
7368
}
7469

75-
export declare class CdkComboboxModule {
76-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkComboboxModule, never>;
77-
static ɵmod: i0.ɵɵNgModuleDeclaration<CdkComboboxModule, never, [typeof i1.OverlayModule, typeof i2.CdkCombobox, typeof i3.CdkComboboxPopup], [typeof i2.CdkCombobox, typeof i3.CdkComboboxPopup]>;
78-
static ɵinj: i0.ɵɵInjectorDeclaration<CdkComboboxModule>;
79-
}
80-
81-
export declare class CdkComboboxPopup<T = unknown> implements OnInit {
70+
declare class CdkComboboxPopup<T = unknown> implements OnInit {
8271
private readonly _elementRef;
8372
private readonly _combobox;
8473
get role(): AriaHasPopupValue;
@@ -95,24 +84,10 @@ export declare class CdkComboboxPopup<T = unknown> implements OnInit {
9584
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkComboboxPopup<any>, "[cdkComboboxPopup]", ["cdkComboboxPopup"], { "role": { "alias": "role"; "required": false; }; "firstFocus": { "alias": "firstFocus"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, {}, never, never, true, never>;
9685
}
9786

98-
declare namespace i2 {
99-
export {
100-
AriaHasPopupValue,
101-
OpenAction,
102-
OpenActionInput,
103-
CDK_COMBOBOX,
104-
CdkCombobox
105-
}
106-
}
107-
108-
declare namespace i3 {
109-
export {
110-
CdkComboboxPopup
111-
}
87+
declare class CdkComboboxModule {
88+
static ɵfac: i0.ɵɵFactoryDeclaration<CdkComboboxModule, never>;
89+
static ɵmod: i0.ɵɵNgModuleDeclaration<CdkComboboxModule, never, [typeof i1.OverlayModule, typeof CdkCombobox, typeof CdkComboboxPopup], [typeof CdkCombobox, typeof CdkComboboxPopup]>;
90+
static ɵinj: i0.ɵɵInjectorDeclaration<CdkComboboxModule>;
11291
}
11392

114-
export declare type OpenAction = 'focus' | 'click' | 'downKey' | 'toggle';
115-
116-
export declare type OpenActionInput = OpenAction | OpenAction[] | string | null | undefined;
117-
118-
export { }
93+
export { type AriaHasPopupValue, CDK_COMBOBOX, CdkCombobox, CdkComboboxModule, CdkComboboxPopup, type OpenAction, type OpenActionInput };

fesm2022/cdk-experimental.mjs.map

+1-1
Original file line numberDiff line numberDiff line change

fesm2022/column-resize.mjs.map

+1-1
Large diffs are not rendered by default.

fesm2022/combobox.mjs.map

+1-1
Large diffs are not rendered by default.

fesm2022/listbox.mjs.map

+1-1
Large diffs are not rendered by default.

fesm2022/popover-edit.mjs.map

+1-1
Large diffs are not rendered by default.

fesm2022/scrolling.mjs.map

+1-1
Large diffs are not rendered by default.

fesm2022/selection.mjs.map

+1-1
Large diffs are not rendered by default.

fesm2022/table-scroll-container.mjs.map

+1-1
Large diffs are not rendered by default.

fesm2022/ui-patterns.mjs.map

+1-1
Large diffs are not rendered by default.

index.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Version } from '@angular/core';
22

33
/** Current version of the CDK Experimental package. */
4-
export declare const VERSION: Version;
4+
declare const VERSION: Version;
55

6-
export { }
6+
export { VERSION };

listbox/index.d.ts

+23-29
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
1-
import { Direction } from '@angular/cdk/bidi';
21
import * as i0 from '@angular/core';
3-
import { InputSignal } from '@angular/core';
4-
import { InputSignalWithTransform } from '@angular/core';
5-
import { ListboxPattern } from '@angular/cdk-experimental/ui-patterns';
6-
import { ModelSignal } from '@angular/core';
7-
import { OptionPattern } from '@angular/cdk-experimental/ui-patterns';
8-
import { Signal } from '@angular/core';
2+
import * as _angular_cdk_bidi from '@angular/cdk/bidi';
3+
import { OptionPattern, ListboxPattern } from '@angular/cdk-experimental/ui-patterns';
94

105
/**
116
* A listbox container.
@@ -21,65 +16,64 @@ import { Signal } from '@angular/core';
2116
* </ul>
2217
* ```
2318
*/
24-
export declare class CdkListbox {
19+
declare class CdkListbox {
2520
/** The directionality (LTR / RTL) context for the application (or a subtree of it). */
2621
private readonly _directionality;
2722
/** The CdkOptions nested inside of the CdkListbox. */
2823
private readonly _cdkOptions;
2924
/** A signal wrapper for directionality. */
30-
protected textDirection: Signal<Direction>;
25+
protected textDirection: i0.Signal<_angular_cdk_bidi.Direction>;
3126
/** The Option UIPatterns of the child CdkOptions. */
32-
protected items: Signal<OptionPattern[]>;
27+
protected items: i0.Signal<OptionPattern[]>;
3328
/** Whether the list is vertically or horizontally oriented. */
34-
orientation: InputSignal<"vertical" | "horizontal">;
29+
orientation: i0.InputSignal<"vertical" | "horizontal">;
3530
/** Whether multiple items in the list can be selected at once. */
36-
multiselectable: InputSignalWithTransform<boolean, unknown>;
31+
multiselectable: i0.InputSignalWithTransform<boolean, unknown>;
3732
/** Whether focus should wrap when navigating. */
38-
wrap: InputSignalWithTransform<boolean, unknown>;
33+
wrap: i0.InputSignalWithTransform<boolean, unknown>;
3934
/** Whether disabled items in the list should be skipped when navigating. */
40-
skipDisabled: InputSignalWithTransform<boolean, unknown>;
35+
skipDisabled: i0.InputSignalWithTransform<boolean, unknown>;
4136
/** The focus strategy used by the list. */
42-
focusMode: InputSignal<"roving" | "activedescendant">;
37+
focusMode: i0.InputSignal<"roving" | "activedescendant">;
4338
/** The selection strategy used by the list. */
44-
selectionMode: InputSignal<"follow" | "explicit">;
39+
selectionMode: i0.InputSignal<"follow" | "explicit">;
4540
/** The amount of time before the typeahead search is reset. */
46-
typeaheadDelay: InputSignal<number>;
41+
typeaheadDelay: i0.InputSignal<number>;
4742
/** Whether the listbox is disabled. */
48-
disabled: InputSignalWithTransform<boolean, unknown>;
43+
disabled: i0.InputSignalWithTransform<boolean, unknown>;
4944
/** The ids of the current selected items. */
50-
selectedIds: ModelSignal<string[]>;
45+
selectedIds: i0.ModelSignal<string[]>;
5146
/** The current index that has been navigated to. */
52-
activeIndex: ModelSignal<number>;
47+
activeIndex: i0.ModelSignal<number>;
5348
/** The Listbox UIPattern. */
5449
pattern: ListboxPattern;
5550
static ɵfac: i0.ɵɵFactoryDeclaration<CdkListbox, never>;
5651
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkListbox, "[cdkListbox]", ["cdkListbox"], { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "multiselectable": { "alias": "multiselectable"; "required": false; "isSignal": true; }; "wrap": { "alias": "wrap"; "required": false; "isSignal": true; }; "skipDisabled": { "alias": "skipDisabled"; "required": false; "isSignal": true; }; "focusMode": { "alias": "focusMode"; "required": false; "isSignal": true; }; "selectionMode": { "alias": "selectionMode"; "required": false; "isSignal": true; }; "typeaheadDelay": { "alias": "typeaheadDelay"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "selectedIds": { "alias": "selectedIds"; "required": false; "isSignal": true; }; "activeIndex": { "alias": "activeIndex"; "required": false; "isSignal": true; }; }, { "selectedIds": "selectedIdsChange"; "activeIndex": "activeIndexChange"; }, ["_cdkOptions"], never, true, never>;
5752
}
58-
5953
/** A selectable option in a CdkListbox. */
60-
export declare class CdkOption {
54+
declare class CdkOption {
6155
/** A reference to the option element. */
6256
private readonly _elementRef;
6357
/** The parent CdkListbox. */
6458
private readonly _cdkListbox;
6559
/** A unique identifier for the option. */
6660
private readonly _generatedId;
6761
/** A unique identifier for the option. */
68-
protected id: Signal<string>;
62+
protected id: i0.Signal<string>;
6963
/** The text used by the typeahead search. */
70-
protected searchTerm: Signal<any>;
64+
protected searchTerm: i0.Signal<any>;
7165
/** The parent Listbox UIPattern. */
72-
protected listbox: Signal<ListboxPattern>;
66+
protected listbox: i0.Signal<ListboxPattern>;
7367
/** A reference to the option element to be focused on navigation. */
74-
protected element: Signal<any>;
68+
protected element: i0.Signal<any>;
7569
/** Whether an item is disabled. */
76-
disabled: InputSignalWithTransform<boolean, unknown>;
70+
disabled: i0.InputSignalWithTransform<boolean, unknown>;
7771
/** The text used by the typeahead search. */
78-
label: InputSignal<string | undefined>;
72+
label: i0.InputSignal<string | undefined>;
7973
/** The Option UIPattern. */
8074
pattern: OptionPattern;
8175
static ɵfac: i0.ɵɵFactoryDeclaration<CdkOption, never>;
8276
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkOption, "[cdkOption]", ["cdkOption"], { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
8377
}
8478

85-
export { }
79+
export { CdkListbox, CdkOption };

0 commit comments

Comments
 (0)