@atelier-ui/angular 0.1.12 → 0.2.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/README.md +3 -3
- package/fesm2022/atelier-ui-angular.mjs +732 -732
- package/fesm2022/atelier-ui-angular.mjs.map +1 -1
- package/package.json +1 -1
- package/types/atelier-ui-angular.d.ts +462 -462
|
@@ -10,40 +10,40 @@ import * as i1$1 from '@angular/cdk/menu';
|
|
|
10
10
|
* @atelier-ui/spec
|
|
11
11
|
*
|
|
12
12
|
* Framework-agnostic TypeScript interfaces defining the public API contract
|
|
13
|
-
* for every
|
|
13
|
+
* for every Atelier component. Both the Angular and React libraries
|
|
14
14
|
* import from here so the compiler enforces parity.
|
|
15
15
|
*
|
|
16
16
|
* Angular: use the union types as `input<T>()` type parameters.
|
|
17
17
|
* React: extend the spec interface from the framework-specific props interface.
|
|
18
18
|
*/
|
|
19
|
-
type
|
|
20
|
-
type
|
|
21
|
-
interface
|
|
19
|
+
type AtlButtonVariant = 'primary' | 'secondary' | 'outline' | 'danger';
|
|
20
|
+
type AtlButtonSize = 'sm' | 'md' | 'lg';
|
|
21
|
+
interface AtlComboboxOption {
|
|
22
22
|
value: string;
|
|
23
23
|
label: string;
|
|
24
24
|
disabled?: boolean;
|
|
25
25
|
}
|
|
26
|
-
type
|
|
27
|
-
type
|
|
28
|
-
type
|
|
29
|
-
type
|
|
30
|
-
type
|
|
26
|
+
type AtlIconName = 'success' | 'warning' | 'danger' | 'info' | 'error' | 'chevron-up' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'sort-asc' | 'sort-desc' | 'arrow-right' | 'arrow-left' | 'copy' | 'paste' | 'add' | 'edit' | 'delete' | 'close' | 'more' | 'default-toast';
|
|
27
|
+
type AtlIconSize = 'sm' | 'md' | 'lg';
|
|
28
|
+
type AtlChatVariant = 'drawer' | 'popup' | 'inline';
|
|
29
|
+
type AtlChatStatus = 'idle' | 'streaming' | 'error';
|
|
30
|
+
type AtlChatMessageRole = 'user' | 'assistant' | 'system';
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
33
|
* Accessible button component with visual variants and sizes.
|
|
34
34
|
*
|
|
35
35
|
* Usage:
|
|
36
36
|
* ```html
|
|
37
|
-
* <
|
|
38
|
-
* <
|
|
39
|
-
* <
|
|
37
|
+
* <atl-button variant="primary" size="md" (click)="save()">Save</atl-button>
|
|
38
|
+
* <atl-button variant="outline" [disabled]="true">Cancel</atl-button>
|
|
39
|
+
* <atl-button [loading]="isSaving">Saving…</atl-button>
|
|
40
40
|
* ```
|
|
41
41
|
*/
|
|
42
|
-
declare class
|
|
42
|
+
declare class AtlButton {
|
|
43
43
|
/** Visual style of the button. */
|
|
44
|
-
readonly variant: _angular_core.InputSignal<
|
|
44
|
+
readonly variant: _angular_core.InputSignal<AtlButtonVariant>;
|
|
45
45
|
/** Size of the button. */
|
|
46
|
-
readonly size: _angular_core.InputSignal<
|
|
46
|
+
readonly size: _angular_core.InputSignal<AtlButtonSize>;
|
|
47
47
|
/** Disables the button, preventing interaction. */
|
|
48
48
|
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
49
49
|
/** Shows a loading spinner and disables interaction. */
|
|
@@ -54,26 +54,26 @@ declare class LlmButton {
|
|
|
54
54
|
private readonly el;
|
|
55
55
|
private readonly destroyRef;
|
|
56
56
|
constructor();
|
|
57
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
58
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
57
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlButton, never>;
|
|
58
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlButton, "atl-button", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
/**
|
|
62
62
|
* Card container component supporting elevated, outlined, and flat visual variants.
|
|
63
|
-
* Compose with `
|
|
63
|
+
* Compose with `atl-card-header`, `atl-card-content`, and `atl-card-footer` sub-components.
|
|
64
64
|
*
|
|
65
65
|
* Usage:
|
|
66
66
|
* ```html
|
|
67
|
-
* <
|
|
68
|
-
* <
|
|
69
|
-
* <
|
|
70
|
-
* <
|
|
71
|
-
* <
|
|
72
|
-
* </
|
|
73
|
-
* </
|
|
67
|
+
* <atl-card variant="elevated" padding="md">
|
|
68
|
+
* <atl-card-header>Card Title</atl-card-header>
|
|
69
|
+
* <atl-card-content>Main content goes here.</atl-card-content>
|
|
70
|
+
* <atl-card-footer>
|
|
71
|
+
* <atl-button variant="primary">Save</atl-button>
|
|
72
|
+
* </atl-card-footer>
|
|
73
|
+
* </atl-card>
|
|
74
74
|
* ```
|
|
75
75
|
*/
|
|
76
|
-
declare class
|
|
76
|
+
declare class AtlCard {
|
|
77
77
|
/** Visual style of the card. */
|
|
78
78
|
readonly variant: _angular_core.InputSignal<"elevated" | "outlined" | "flat">;
|
|
79
79
|
/** Internal padding of the card. */
|
|
@@ -91,78 +91,78 @@ declare class LlmCard {
|
|
|
91
91
|
*/
|
|
92
92
|
readonly role: _angular_core.InputSignal<"article" | "region" | "section" | undefined>;
|
|
93
93
|
protected readonly hostClasses: _angular_core.Signal<string>;
|
|
94
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
95
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
94
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlCard, never>;
|
|
95
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlCard, "atl-card", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "padding": { "alias": "padding"; "required": false; "isSignal": true; }; "role": { "alias": "role"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
96
96
|
}
|
|
97
97
|
/**
|
|
98
|
-
* Header slot for `
|
|
98
|
+
* Header slot for `atl-card`. Renders above the main content with a bottom separator.
|
|
99
99
|
*
|
|
100
100
|
* Usage:
|
|
101
101
|
* ```html
|
|
102
|
-
* <
|
|
102
|
+
* <atl-card-header>Card Title</atl-card-header>
|
|
103
103
|
* ```
|
|
104
104
|
*/
|
|
105
|
-
declare class
|
|
106
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
107
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
105
|
+
declare class AtlCardHeader {
|
|
106
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlCardHeader, never>;
|
|
107
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlCardHeader, "atl-card-header", never, {}, {}, never, ["*"], true, never>;
|
|
108
108
|
}
|
|
109
109
|
/**
|
|
110
|
-
* Content slot for `
|
|
110
|
+
* Content slot for `atl-card`. Primary content area of the card.
|
|
111
111
|
*
|
|
112
112
|
* Usage:
|
|
113
113
|
* ```html
|
|
114
|
-
* <
|
|
114
|
+
* <atl-card-content>Body text here.</atl-card-content>
|
|
115
115
|
* ```
|
|
116
116
|
*/
|
|
117
|
-
declare class
|
|
118
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
119
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
117
|
+
declare class AtlCardContent {
|
|
118
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlCardContent, never>;
|
|
119
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlCardContent, "atl-card-content", never, {}, {}, never, ["*"], true, never>;
|
|
120
120
|
}
|
|
121
121
|
/**
|
|
122
|
-
* Footer slot for `
|
|
122
|
+
* Footer slot for `atl-card`. Renders below the main content, typically holds actions.
|
|
123
123
|
*
|
|
124
124
|
* Usage:
|
|
125
125
|
* ```html
|
|
126
|
-
* <
|
|
127
|
-
* <
|
|
128
|
-
* </
|
|
126
|
+
* <atl-card-footer>
|
|
127
|
+
* <atl-button variant="primary">Save</atl-button>
|
|
128
|
+
* </atl-card-footer>
|
|
129
129
|
* ```
|
|
130
130
|
*/
|
|
131
|
-
declare class
|
|
132
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
133
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
131
|
+
declare class AtlCardFooter {
|
|
132
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlCardFooter, never>;
|
|
133
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlCardFooter, "atl-card-footer", never, {}, {}, never, ["*"], true, never>;
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
-
declare class
|
|
136
|
+
declare class AtlBadge {
|
|
137
137
|
/** Semantic color variant of the badge. */
|
|
138
138
|
readonly variant: _angular_core.InputSignal<"danger" | "default" | "success" | "warning" | "info">;
|
|
139
139
|
/** Size of the badge. */
|
|
140
140
|
readonly size: _angular_core.InputSignal<"sm" | "md">;
|
|
141
141
|
protected readonly hostClasses: _angular_core.Signal<string>;
|
|
142
142
|
protected readonly variantIcon: _angular_core.Signal<string | null>;
|
|
143
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
144
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
143
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlBadge, never>;
|
|
144
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlBadge, "atl-badge", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
/**
|
|
148
|
-
* Pictogram glyph icon. 21 named variants matching the Figma `
|
|
148
|
+
* Pictogram glyph icon. 21 named variants matching the Figma `AtlIcon`
|
|
149
149
|
* component set. Decorative by default; pass `label` to announce a meaning
|
|
150
150
|
* to assistive tech.
|
|
151
151
|
*
|
|
152
152
|
* Usage:
|
|
153
153
|
* ```html
|
|
154
|
-
* <
|
|
155
|
-
* <
|
|
154
|
+
* <atl-icon name="success" />
|
|
155
|
+
* <atl-icon name="warning" size="lg" label="Warning" />
|
|
156
156
|
* ```
|
|
157
157
|
*/
|
|
158
|
-
declare class
|
|
159
|
-
readonly name: _angular_core.InputSignal<
|
|
160
|
-
readonly size: _angular_core.InputSignal<
|
|
158
|
+
declare class AtlIcon {
|
|
159
|
+
readonly name: _angular_core.InputSignal<AtlIconName>;
|
|
160
|
+
readonly size: _angular_core.InputSignal<AtlIconSize>;
|
|
161
161
|
readonly label: _angular_core.InputSignal<string | undefined>;
|
|
162
162
|
protected readonly glyph: _angular_core.Signal<string>;
|
|
163
163
|
protected readonly hostClasses: _angular_core.Signal<string>;
|
|
164
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
165
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
164
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlIcon, never>;
|
|
165
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlIcon, "atl-icon", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
/**
|
|
@@ -170,11 +170,11 @@ declare class LlmIcon {
|
|
|
170
170
|
*
|
|
171
171
|
* Usage:
|
|
172
172
|
* ```html
|
|
173
|
-
* <
|
|
174
|
-
* <
|
|
173
|
+
* <atl-input type="email" placeholder="you@example.com" [(value)]="email" />
|
|
174
|
+
* <atl-input [formField]="loginForm.email" placeholder="Email" />
|
|
175
175
|
* ```
|
|
176
176
|
*/
|
|
177
|
-
declare class
|
|
177
|
+
declare class AtlInput implements FormValueControl<string> {
|
|
178
178
|
/** The current input value. Bound by [formField] directive. Supports [(value)] two-way binding. */
|
|
179
179
|
readonly value: _angular_core.ModelSignal<string>;
|
|
180
180
|
/** The type of input field. */
|
|
@@ -203,8 +203,8 @@ declare class LlmInput implements FormValueControl<string> {
|
|
|
203
203
|
protected readonly hostClasses: _angular_core.Signal<string>;
|
|
204
204
|
/** @internal */
|
|
205
205
|
protected onInput(event: Event): void;
|
|
206
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
207
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
206
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlInput, never>;
|
|
207
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlInput, "atl-input", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; "touched": { "alias": "touched"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "touched": "touchedChange"; }, never, never, true, never>;
|
|
208
208
|
}
|
|
209
209
|
|
|
210
210
|
/**
|
|
@@ -212,11 +212,11 @@ declare class LlmInput implements FormValueControl<string> {
|
|
|
212
212
|
*
|
|
213
213
|
* Usage:
|
|
214
214
|
* ```html
|
|
215
|
-
* <
|
|
216
|
-
* <
|
|
215
|
+
* <atl-textarea placeholder="Enter a description" [(value)]="description" />
|
|
216
|
+
* <atl-textarea [formField]="form.bio" [rows]="4" />
|
|
217
217
|
* ```
|
|
218
218
|
*/
|
|
219
|
-
declare class
|
|
219
|
+
declare class AtlTextarea implements FormValueControl<string> {
|
|
220
220
|
/** The current textarea value. Supports [(value)] two-way binding. */
|
|
221
221
|
readonly value: _angular_core.ModelSignal<string>;
|
|
222
222
|
/** Number of visible text rows. */
|
|
@@ -247,8 +247,8 @@ declare class LlmTextarea implements FormValueControl<string> {
|
|
|
247
247
|
protected readonly hostClasses: _angular_core.Signal<string>;
|
|
248
248
|
/** @internal */
|
|
249
249
|
protected onInput(event: Event): void;
|
|
250
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
251
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
250
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlTextarea, never>;
|
|
251
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlTextarea, "atl-textarea", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; "touched": { "alias": "touched"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "autoResize": { "alias": "autoResize"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "touched": "touchedChange"; }, never, never, true, never>;
|
|
252
252
|
}
|
|
253
253
|
|
|
254
254
|
/**
|
|
@@ -256,11 +256,11 @@ declare class LlmTextarea implements FormValueControl<string> {
|
|
|
256
256
|
*
|
|
257
257
|
* Usage:
|
|
258
258
|
* ```html
|
|
259
|
-
* <
|
|
260
|
-
* <
|
|
259
|
+
* <atl-checkbox [(checked)]="accepted">I agree to the terms</atl-checkbox>
|
|
260
|
+
* <atl-checkbox [formField]="form.accepted">Accept</atl-checkbox>
|
|
261
261
|
* ```
|
|
262
262
|
*/
|
|
263
|
-
declare class
|
|
263
|
+
declare class AtlCheckbox implements FormCheckboxControl {
|
|
264
264
|
/** The checked state. Bound by [formField] directive. Supports [(checked)] two-way binding. */
|
|
265
265
|
readonly checked: _angular_core.ModelSignal<boolean>;
|
|
266
266
|
/** Whether the user has interacted with the input. Bound by [formField] directive. */
|
|
@@ -290,17 +290,17 @@ declare class LlmCheckbox implements FormCheckboxControl {
|
|
|
290
290
|
constructor();
|
|
291
291
|
/** @internal */
|
|
292
292
|
protected onChange(event: Event): void;
|
|
293
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
294
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
293
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlCheckbox, never>;
|
|
294
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlCheckbox, "atl-checkbox", never, { "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "touched": { "alias": "touched"; "required": false; "isSignal": true; }; "indeterminate": { "alias": "indeterminate"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; "touched": "touchedChange"; }, never, ["*"], true, never>;
|
|
295
295
|
}
|
|
296
296
|
|
|
297
|
-
/** @internal — shape required by
|
|
297
|
+
/** @internal — shape required by AtlRadioGroup's FocusKeyManager */
|
|
298
298
|
interface RadioItem extends FocusableOption {
|
|
299
299
|
focus(): void;
|
|
300
300
|
disabled?: boolean;
|
|
301
301
|
readonly radioValue: Signal<string>;
|
|
302
302
|
}
|
|
303
|
-
interface
|
|
303
|
+
interface AtlRadioGroupContext {
|
|
304
304
|
readonly value: WritableSignal<string>;
|
|
305
305
|
readonly name: Signal<string>;
|
|
306
306
|
readonly disabled: Signal<boolean>;
|
|
@@ -309,20 +309,20 @@ interface LlmRadioGroupContext {
|
|
|
309
309
|
registerItem(item: RadioItem): void;
|
|
310
310
|
unregisterItem(item: RadioItem): void;
|
|
311
311
|
}
|
|
312
|
-
declare const
|
|
312
|
+
declare const ATL_RADIO_GROUP: InjectionToken<AtlRadioGroupContext>;
|
|
313
313
|
|
|
314
314
|
/**
|
|
315
|
-
* Individual radio button. Must be placed inside an `
|
|
315
|
+
* Individual radio button. Must be placed inside an `atl-radio-group`.
|
|
316
316
|
*
|
|
317
317
|
* Usage:
|
|
318
318
|
* ```html
|
|
319
|
-
* <
|
|
320
|
-
* <
|
|
321
|
-
* <
|
|
322
|
-
* </
|
|
319
|
+
* <atl-radio-group [(value)]="selected" name="plan">
|
|
320
|
+
* <atl-radio radioValue="free">Free</atl-radio>
|
|
321
|
+
* <atl-radio radioValue="pro">Pro</atl-radio>
|
|
322
|
+
* </atl-radio-group>
|
|
323
323
|
* ```
|
|
324
324
|
*/
|
|
325
|
-
declare class
|
|
325
|
+
declare class AtlRadio implements RadioItem, OnInit, OnDestroy {
|
|
326
326
|
/** The value this radio option represents within the group. */
|
|
327
327
|
readonly radioValue: _angular_core.InputSignal<string>;
|
|
328
328
|
/** Whether this specific radio is individually disabled (stacked with group disabled). */
|
|
@@ -351,8 +351,8 @@ declare class LlmRadio implements RadioItem, OnInit, OnDestroy {
|
|
|
351
351
|
protected onChange(): void;
|
|
352
352
|
/** @internal */
|
|
353
353
|
protected onBlur(): void;
|
|
354
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
355
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
354
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlRadio, never>;
|
|
355
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlRadio, "atl-radio", never, { "radioValue": { "alias": "radioValue"; "required": true; "isSignal": true; }; "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
356
356
|
}
|
|
357
357
|
|
|
358
358
|
/**
|
|
@@ -361,19 +361,19 @@ declare class LlmRadio implements RadioItem, OnInit, OnDestroy {
|
|
|
361
361
|
*
|
|
362
362
|
* Usage:
|
|
363
363
|
* ```html
|
|
364
|
-
* <
|
|
365
|
-
* <
|
|
366
|
-
* <
|
|
367
|
-
* <
|
|
368
|
-
* </
|
|
364
|
+
* <atl-radio-group [(value)]="size" name="size">
|
|
365
|
+
* <atl-radio radioValue="sm">Small</atl-radio>
|
|
366
|
+
* <atl-radio radioValue="md">Medium</atl-radio>
|
|
367
|
+
* <atl-radio radioValue="lg">Large</atl-radio>
|
|
368
|
+
* </atl-radio-group>
|
|
369
369
|
*
|
|
370
370
|
* <!-- With Signal Forms -->
|
|
371
|
-
* <
|
|
372
|
-
* <
|
|
373
|
-
* </
|
|
371
|
+
* <atl-radio-group [formField]="form.size">
|
|
372
|
+
* <atl-radio radioValue="sm">Small</atl-radio>
|
|
373
|
+
* </atl-radio-group>
|
|
374
374
|
* ```
|
|
375
375
|
*/
|
|
376
|
-
declare class
|
|
376
|
+
declare class AtlRadioGroup implements FormValueControl<string>, AtlRadioGroupContext {
|
|
377
377
|
/** The selected value. Bound by [formField] directive. Supports [(value)] two-way binding. */
|
|
378
378
|
readonly value: _angular_core.ModelSignal<string>;
|
|
379
379
|
/** Whether the user has interacted. Bound by [formField] directive. */
|
|
@@ -398,18 +398,18 @@ declare class LlmRadioGroup implements FormValueControl<string>, LlmRadioGroupCo
|
|
|
398
398
|
protected readonly showErrors: _angular_core.Signal<boolean>;
|
|
399
399
|
/** @internal */
|
|
400
400
|
protected readonly hostClasses: _angular_core.Signal<string>;
|
|
401
|
-
/** @internal — called by
|
|
401
|
+
/** @internal — called by AtlRadio on change */
|
|
402
402
|
select(v: string): void;
|
|
403
|
-
/** @internal — called by
|
|
403
|
+
/** @internal — called by AtlRadio on blur */
|
|
404
404
|
markTouched(): void;
|
|
405
|
-
/** @internal — called by
|
|
405
|
+
/** @internal — called by AtlRadio on init */
|
|
406
406
|
registerItem(item: RadioItem): void;
|
|
407
|
-
/** @internal — called by
|
|
407
|
+
/** @internal — called by AtlRadio on destroy */
|
|
408
408
|
unregisterItem(item: RadioItem): void;
|
|
409
409
|
/** @internal */
|
|
410
410
|
protected onKeydown(event: KeyboardEvent): void;
|
|
411
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
412
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
411
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlRadioGroup, never>;
|
|
412
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlRadioGroup, "atl-radio-group", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "touched": { "alias": "touched"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "touched": "touchedChange"; }, never, ["*"], true, never>;
|
|
413
413
|
}
|
|
414
414
|
|
|
415
415
|
/**
|
|
@@ -419,11 +419,11 @@ declare class LlmRadioGroup implements FormValueControl<string>, LlmRadioGroupCo
|
|
|
419
419
|
*
|
|
420
420
|
* Usage:
|
|
421
421
|
* ```html
|
|
422
|
-
* <
|
|
423
|
-
* <
|
|
422
|
+
* <atl-toggle [(checked)]="enabled">Enable notifications</atl-toggle>
|
|
423
|
+
* <atl-toggle [formField]="form.enabled">Enable</atl-toggle>
|
|
424
424
|
* ```
|
|
425
425
|
*/
|
|
426
|
-
declare class
|
|
426
|
+
declare class AtlToggle implements FormCheckboxControl {
|
|
427
427
|
/** The checked state. Bound by [formField] directive. Supports [(checked)] two-way binding. */
|
|
428
428
|
readonly checked: _angular_core.ModelSignal<boolean>;
|
|
429
429
|
/** Whether the user has interacted with the input. Bound by [formField] directive. */
|
|
@@ -448,11 +448,11 @@ declare class LlmToggle implements FormCheckboxControl {
|
|
|
448
448
|
protected readonly hostClasses: _angular_core.Signal<string>;
|
|
449
449
|
/** @internal */
|
|
450
450
|
protected onChange(event: Event): void;
|
|
451
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
452
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
451
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlToggle, never>;
|
|
452
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlToggle, "atl-toggle", never, { "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "touched": { "alias": "touched"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; "touched": "touchedChange"; }, never, ["*"], true, never>;
|
|
453
453
|
}
|
|
454
454
|
|
|
455
|
-
declare class
|
|
455
|
+
declare class AtlAlert {
|
|
456
456
|
/** Semantic color variant of the alert. */
|
|
457
457
|
readonly variant: _angular_core.InputSignal<"danger" | "success" | "warning" | "info">;
|
|
458
458
|
/** Whether to show a dismiss button. */
|
|
@@ -468,11 +468,11 @@ declare class LlmAlert {
|
|
|
468
468
|
/** @internal */
|
|
469
469
|
get ariaLive(): string;
|
|
470
470
|
protected dismiss(): void;
|
|
471
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
472
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
471
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlAlert, never>;
|
|
472
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlAlert, "atl-alert", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "dismissible": { "alias": "dismissible"; "required": false; "isSignal": true; }; }, { "dismissed": "dismissed"; }, never, ["*"], true, never>;
|
|
473
473
|
}
|
|
474
474
|
|
|
475
|
-
interface
|
|
475
|
+
interface AtlSelectContext {
|
|
476
476
|
readonly value: WritableSignal<string>;
|
|
477
477
|
readonly disabled: Signal<boolean>;
|
|
478
478
|
readonly activeOptionId: WritableSignal<string | null>;
|
|
@@ -481,7 +481,7 @@ interface LlmSelectContext {
|
|
|
481
481
|
registerOption(id: string, value: string, labelText: string, disabled: boolean): void;
|
|
482
482
|
unregisterOption(id: string): void;
|
|
483
483
|
}
|
|
484
|
-
declare const
|
|
484
|
+
declare const ATL_SELECT: InjectionToken<AtlSelectContext>;
|
|
485
485
|
|
|
486
486
|
/**
|
|
487
487
|
* Accessible dropdown select component for use with Angular Signal Forms.
|
|
@@ -489,18 +489,18 @@ declare const LLM_SELECT: InjectionToken<LlmSelectContext>;
|
|
|
489
489
|
*
|
|
490
490
|
* Usage:
|
|
491
491
|
* ```html
|
|
492
|
-
* <
|
|
493
|
-
* <
|
|
494
|
-
* <
|
|
495
|
-
* </
|
|
492
|
+
* <atl-select [(value)]="country" placeholder="Select a country">
|
|
493
|
+
* <atl-option optionValue="us">United States</atl-option>
|
|
494
|
+
* <atl-option optionValue="ca">Canada</atl-option>
|
|
495
|
+
* </atl-select>
|
|
496
496
|
*
|
|
497
497
|
* <!-- With Signal Forms -->
|
|
498
|
-
* <
|
|
499
|
-
* <
|
|
500
|
-
* </
|
|
498
|
+
* <atl-select [formField]="form.country" placeholder="Select a country">
|
|
499
|
+
* <atl-option optionValue="us">United States</atl-option>
|
|
500
|
+
* </atl-select>
|
|
501
501
|
* ```
|
|
502
502
|
*/
|
|
503
|
-
declare class
|
|
503
|
+
declare class AtlSelect implements FormValueControl<string>, AtlSelectContext, OnDestroy {
|
|
504
504
|
/** The selected value. Bound by [formField] directive. Supports [(value)] two-way binding. */
|
|
505
505
|
readonly value: _angular_core.ModelSignal<string>;
|
|
506
506
|
/** Whether the user has interacted. Bound by [formField] directive. */
|
|
@@ -548,13 +548,13 @@ declare class LlmSelect implements FormValueControl<string>, LlmSelectContext, O
|
|
|
548
548
|
private outsideClickHandler;
|
|
549
549
|
private readonly elementRef;
|
|
550
550
|
private readonly injector;
|
|
551
|
-
/** @internal — called by
|
|
551
|
+
/** @internal — called by AtlOption on init */
|
|
552
552
|
registerOption(id: string, value: string, labelText: string, disabled: boolean): void;
|
|
553
|
-
/** @internal — called by
|
|
553
|
+
/** @internal — called by AtlOption on destroy */
|
|
554
554
|
unregisterOption(id: string): void;
|
|
555
|
-
/** @internal — called by
|
|
555
|
+
/** @internal — called by AtlOption on select */
|
|
556
556
|
select(v: string): void;
|
|
557
|
-
/** @internal — called by
|
|
557
|
+
/** @internal — called by AtlOption on interaction */
|
|
558
558
|
markTouched(): void;
|
|
559
559
|
/** @internal */
|
|
560
560
|
protected onTriggerClick(): void;
|
|
@@ -566,19 +566,19 @@ declare class LlmSelect implements FormValueControl<string>, LlmSelectContext, O
|
|
|
566
566
|
private open;
|
|
567
567
|
private close;
|
|
568
568
|
private createOverlay;
|
|
569
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
570
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
569
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlSelect, never>;
|
|
570
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlSelect, "atl-select", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "touched": { "alias": "touched"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "touched": "touchedChange"; }, never, ["*"], true, never>;
|
|
571
571
|
}
|
|
572
572
|
|
|
573
573
|
/**
|
|
574
|
-
* Option item for use inside `<
|
|
574
|
+
* Option item for use inside `<atl-select>`.
|
|
575
575
|
*
|
|
576
576
|
* Usage:
|
|
577
577
|
* ```html
|
|
578
|
-
* <
|
|
578
|
+
* <atl-option optionValue="us">United States</atl-option>
|
|
579
579
|
* ```
|
|
580
580
|
*/
|
|
581
|
-
declare class
|
|
581
|
+
declare class AtlOption implements OnInit, OnDestroy {
|
|
582
582
|
/** The value this option represents. Required. */
|
|
583
583
|
readonly optionValue: _angular_core.InputSignal<string>;
|
|
584
584
|
/** Whether this option is disabled. */
|
|
@@ -599,8 +599,8 @@ declare class LlmOption implements OnInit, OnDestroy {
|
|
|
599
599
|
protected onClick(): void;
|
|
600
600
|
/** @internal */
|
|
601
601
|
protected onMouseEnter(): void;
|
|
602
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
603
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
602
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlOption, never>;
|
|
603
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlOption, "atl-option", never, { "optionValue": { "alias": "optionValue"; "required": true; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
604
604
|
}
|
|
605
605
|
|
|
606
606
|
/**
|
|
@@ -610,23 +610,23 @@ declare class LlmOption implements OnInit, OnDestroy {
|
|
|
610
610
|
*
|
|
611
611
|
* Usage:
|
|
612
612
|
* ```html
|
|
613
|
-
* <
|
|
613
|
+
* <atl-combobox
|
|
614
614
|
* [(value)]="country"
|
|
615
615
|
* [options]="countryOptions"
|
|
616
616
|
* placeholder="Search country…"
|
|
617
617
|
* />
|
|
618
618
|
*
|
|
619
619
|
* <!-- With Signal Forms -->
|
|
620
|
-
* <
|
|
620
|
+
* <atl-combobox [formField]="form.country" [options]="countryOptions" />
|
|
621
621
|
* ```
|
|
622
622
|
*/
|
|
623
|
-
declare class
|
|
623
|
+
declare class AtlCombobox implements FormValueControl<string> {
|
|
624
624
|
/** The selected value. Supports [(value)] two-way binding and [formField] directive. */
|
|
625
625
|
readonly value: _angular_core.ModelSignal<string>;
|
|
626
626
|
/** Whether the user has interacted. Bound by [formField] directive. */
|
|
627
627
|
readonly touched: _angular_core.ModelSignal<boolean>;
|
|
628
628
|
/** Options to display and filter. */
|
|
629
|
-
readonly options: _angular_core.InputSignal<
|
|
629
|
+
readonly options: _angular_core.InputSignal<AtlComboboxOption[]>;
|
|
630
630
|
/** Placeholder text for the input. */
|
|
631
631
|
readonly placeholder: _angular_core.InputSignal<string>;
|
|
632
632
|
/** Whether the combobox is disabled. */
|
|
@@ -656,7 +656,7 @@ declare class LlmCombobox implements FormValueControl<string> {
|
|
|
656
656
|
/** @internal */
|
|
657
657
|
protected readonly errorId: string;
|
|
658
658
|
/** @internal */
|
|
659
|
-
protected readonly filteredOptions: _angular_core.Signal<
|
|
659
|
+
protected readonly filteredOptions: _angular_core.Signal<AtlComboboxOption[]>;
|
|
660
660
|
/** @internal */
|
|
661
661
|
protected readonly activeOptionId: _angular_core.Signal<string | null>;
|
|
662
662
|
/** @internal */
|
|
@@ -674,32 +674,32 @@ declare class LlmCombobox implements FormValueControl<string> {
|
|
|
674
674
|
/** @internal */
|
|
675
675
|
protected onBlur(): void;
|
|
676
676
|
/** @internal */
|
|
677
|
-
protected onOptionSelect(option:
|
|
677
|
+
protected onOptionSelect(option: AtlComboboxOption): void;
|
|
678
678
|
/** @internal */
|
|
679
679
|
protected onKeydown(event: KeyboardEvent): void;
|
|
680
680
|
private open;
|
|
681
681
|
private close;
|
|
682
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
683
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
682
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlCombobox, never>;
|
|
683
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlCombobox, "atl-combobox", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "touched": { "alias": "touched"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "touched": "touchedChange"; }, never, never, true, never>;
|
|
684
684
|
}
|
|
685
685
|
|
|
686
686
|
/**
|
|
687
687
|
* Accessible modal dialog using the native `<dialog>` element.
|
|
688
688
|
* Includes focus trap, Escape to close, backdrop click to close, and animation.
|
|
689
|
-
* Compose with `
|
|
689
|
+
* Compose with `atl-dialog-header`, `atl-dialog-content`, and `atl-dialog-footer`.
|
|
690
690
|
*
|
|
691
691
|
* Usage:
|
|
692
692
|
* ```html
|
|
693
|
-
* <
|
|
694
|
-
* <
|
|
695
|
-
* <
|
|
696
|
-
* <
|
|
697
|
-
* <
|
|
698
|
-
* </
|
|
699
|
-
* </
|
|
693
|
+
* <atl-dialog [(open)]="isOpen">
|
|
694
|
+
* <atl-dialog-header>Dialog Title</atl-dialog-header>
|
|
695
|
+
* <atl-dialog-content>Dialog body content.</atl-dialog-content>
|
|
696
|
+
* <atl-dialog-footer>
|
|
697
|
+
* <atl-button variant="primary" (click)="isOpen = false">Confirm</atl-button>
|
|
698
|
+
* </atl-dialog-footer>
|
|
699
|
+
* </atl-dialog>
|
|
700
700
|
* ```
|
|
701
701
|
*/
|
|
702
|
-
declare class
|
|
702
|
+
declare class AtlDialog {
|
|
703
703
|
/** Whether the dialog is open. Supports two-way binding: [(open)]="isOpen". */
|
|
704
704
|
readonly open: _angular_core.ModelSignal<boolean>;
|
|
705
705
|
/** Whether clicking the backdrop closes the dialog. */
|
|
@@ -708,9 +708,9 @@ declare class LlmDialog {
|
|
|
708
708
|
readonly size: _angular_core.InputSignal<"sm" | "md" | "lg" | "xl" | "full">;
|
|
709
709
|
/** Accessible label for the dialog (use instead of aria-labelledby when no header is present). */
|
|
710
710
|
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
711
|
-
/** ID of the element that labels the dialog (defaults to the
|
|
711
|
+
/** ID of the element that labels the dialog (defaults to the atl-dialog-header id). */
|
|
712
712
|
readonly ariaLabelledby: _angular_core.InputSignal<string>;
|
|
713
|
-
/** @internal — referenced by
|
|
713
|
+
/** @internal — referenced by AtlDialogHeader via ATL_DIALOG token */
|
|
714
714
|
readonly headerId: string;
|
|
715
715
|
protected readonly dialogId: string;
|
|
716
716
|
protected readonly dialogRef: _angular_core.Signal<ElementRef<HTMLDialogElement> | undefined>;
|
|
@@ -720,38 +720,38 @@ declare class LlmDialog {
|
|
|
720
720
|
constructor();
|
|
721
721
|
protected onCancel(event: Event): void;
|
|
722
722
|
protected onBackdropClick(event: MouseEvent): void;
|
|
723
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
724
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
723
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlDialog, never>;
|
|
724
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlDialog, "atl-dialog", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "closeOnBackdrop": { "alias": "closeOnBackdrop"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; "isSignal": true; }; }, { "open": "openChange"; }, never, ["*"], true, never>;
|
|
725
725
|
}
|
|
726
726
|
/**
|
|
727
|
-
* Header slot for `
|
|
727
|
+
* Header slot for `atl-dialog`. Renders above content with a bottom separator.
|
|
728
728
|
* Automatically receives the correct `id` for `aria-labelledby` association.
|
|
729
729
|
*/
|
|
730
|
-
declare class
|
|
731
|
-
protected readonly context: _atelier_ui_angular.
|
|
732
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
733
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
730
|
+
declare class AtlDialogHeader {
|
|
731
|
+
protected readonly context: _atelier_ui_angular.AtlDialogContext;
|
|
732
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlDialogHeader, never>;
|
|
733
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlDialogHeader, "atl-dialog-header", never, {}, {}, never, ["*"], true, never>;
|
|
734
734
|
}
|
|
735
735
|
/**
|
|
736
|
-
* Content slot for `
|
|
736
|
+
* Content slot for `atl-dialog`. Scrollable primary content area.
|
|
737
737
|
*/
|
|
738
|
-
declare class
|
|
739
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
740
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
738
|
+
declare class AtlDialogContent {
|
|
739
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlDialogContent, never>;
|
|
740
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlDialogContent, "atl-dialog-content", never, {}, {}, never, ["*"], true, never>;
|
|
741
741
|
}
|
|
742
742
|
/**
|
|
743
|
-
* Footer slot for `
|
|
743
|
+
* Footer slot for `atl-dialog`. Renders below content, typically holds action buttons.
|
|
744
744
|
*/
|
|
745
|
-
declare class
|
|
746
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
747
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
745
|
+
declare class AtlDialogFooter {
|
|
746
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlDialogFooter, never>;
|
|
747
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlDialogFooter, "atl-dialog-footer", never, {}, {}, never, ["*"], true, never>;
|
|
748
748
|
}
|
|
749
749
|
|
|
750
|
-
interface
|
|
750
|
+
interface AtlDialogContext {
|
|
751
751
|
headerId: string;
|
|
752
752
|
close: () => void;
|
|
753
753
|
}
|
|
754
|
-
declare const
|
|
754
|
+
declare const ATL_DIALOG: InjectionToken<AtlDialogContext>;
|
|
755
755
|
|
|
756
756
|
interface TabInfo {
|
|
757
757
|
id: string;
|
|
@@ -760,13 +760,13 @@ interface TabInfo {
|
|
|
760
760
|
panelId: string;
|
|
761
761
|
tabId: string;
|
|
762
762
|
}
|
|
763
|
-
interface
|
|
763
|
+
interface AtlTabGroupContext {
|
|
764
764
|
readonly selectedIndex: WritableSignal<number>;
|
|
765
765
|
readonly tabs: Signal<TabInfo[]>;
|
|
766
766
|
registerTab(info: TabInfo): void;
|
|
767
767
|
unregisterTab(id: string): void;
|
|
768
768
|
}
|
|
769
|
-
declare const
|
|
769
|
+
declare const ATL_TAB_GROUP: InjectionToken<AtlTabGroupContext>;
|
|
770
770
|
|
|
771
771
|
/**
|
|
772
772
|
* Accessible tabbed interface container. Renders a tab list and manages
|
|
@@ -774,14 +774,14 @@ declare const LLM_TAB_GROUP: InjectionToken<LlmTabGroupContext>;
|
|
|
774
774
|
*
|
|
775
775
|
* Usage:
|
|
776
776
|
* ```html
|
|
777
|
-
* <
|
|
778
|
-
* <
|
|
779
|
-
* <
|
|
780
|
-
* <
|
|
781
|
-
* </
|
|
777
|
+
* <atl-tab-group [(selectedIndex)]="activeTab">
|
|
778
|
+
* <atl-tab label="Account">Account settings here.</atl-tab>
|
|
779
|
+
* <atl-tab label="Notifications">Notification prefs here.</atl-tab>
|
|
780
|
+
* <atl-tab label="Billing" [disabled]="true">Billing info here.</atl-tab>
|
|
781
|
+
* </atl-tab-group>
|
|
782
782
|
* ```
|
|
783
783
|
*/
|
|
784
|
-
declare class
|
|
784
|
+
declare class AtlTabGroup implements AtlTabGroupContext {
|
|
785
785
|
/** Index of the currently active tab. Supports two-way binding. */
|
|
786
786
|
readonly selectedIndex: _angular_core.ModelSignal<number>;
|
|
787
787
|
/** Visual variant. */
|
|
@@ -792,26 +792,26 @@ declare class LlmTabGroup implements LlmTabGroupContext {
|
|
|
792
792
|
protected readonly tabBtns: _angular_core.Signal<readonly ElementRef<HTMLButtonElement>[]>;
|
|
793
793
|
/** @internal */
|
|
794
794
|
protected readonly hostClasses: _angular_core.Signal<string>;
|
|
795
|
-
/** @internal — called by
|
|
795
|
+
/** @internal — called by AtlTab on init */
|
|
796
796
|
registerTab(info: TabInfo): void;
|
|
797
|
-
/** @internal — called by
|
|
797
|
+
/** @internal — called by AtlTab on destroy */
|
|
798
798
|
unregisterTab(id: string): void;
|
|
799
799
|
/** @internal */
|
|
800
800
|
protected selectTab(index: number): void;
|
|
801
801
|
/** @internal */
|
|
802
802
|
protected onTabKeydown(event: KeyboardEvent): void;
|
|
803
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
804
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
803
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlTabGroup, never>;
|
|
804
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlTabGroup, "atl-tab-group", never, { "selectedIndex": { "alias": "selectedIndex"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, { "selectedIndex": "selectedIndexChange"; }, never, ["*"], true, never>;
|
|
805
805
|
}
|
|
806
806
|
/**
|
|
807
|
-
* Individual tab definition. Place inside `<
|
|
807
|
+
* Individual tab definition. Place inside `<atl-tab-group>`.
|
|
808
808
|
*
|
|
809
809
|
* Usage:
|
|
810
810
|
* ```html
|
|
811
|
-
* <
|
|
811
|
+
* <atl-tab label="Settings">Settings content here.</atl-tab>
|
|
812
812
|
* ```
|
|
813
813
|
*/
|
|
814
|
-
declare class
|
|
814
|
+
declare class AtlTab implements OnInit, OnDestroy {
|
|
815
815
|
/** Text displayed on the tab button. Required. */
|
|
816
816
|
readonly label: _angular_core.InputSignal<string>;
|
|
817
817
|
/** Whether this tab is disabled. */
|
|
@@ -828,22 +828,22 @@ declare class LlmTab implements OnInit, OnDestroy {
|
|
|
828
828
|
protected readonly isActive: _angular_core.Signal<boolean>;
|
|
829
829
|
ngOnInit(): void;
|
|
830
830
|
ngOnDestroy(): void;
|
|
831
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
832
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
831
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlTab, never>;
|
|
832
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlTab, "atl-tab", never, { "label": { "alias": "label"; "required": true; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
833
833
|
}
|
|
834
834
|
|
|
835
|
-
/** @internal — shape required by
|
|
835
|
+
/** @internal — shape required by AtlAccordionGroup's FocusKeyManager */
|
|
836
836
|
interface AccordionItem extends FocusableOption {
|
|
837
837
|
readonly id: string;
|
|
838
838
|
focus(): void;
|
|
839
839
|
disabled?: boolean;
|
|
840
840
|
}
|
|
841
|
-
interface
|
|
841
|
+
interface AtlAccordionGroupContext {
|
|
842
842
|
register(item: AccordionItem): void;
|
|
843
843
|
unregister(item: AccordionItem): void;
|
|
844
844
|
handleKeydown(event: KeyboardEvent, item: AccordionItem): void;
|
|
845
845
|
}
|
|
846
|
-
declare const
|
|
846
|
+
declare const ATL_ACCORDION_GROUP: InjectionToken<AtlAccordionGroupContext>;
|
|
847
847
|
|
|
848
848
|
/**
|
|
849
849
|
* Container that manages accordion items. Controls single vs multi expansion
|
|
@@ -851,15 +851,15 @@ declare const LLM_ACCORDION_GROUP: InjectionToken<LlmAccordionGroupContext>;
|
|
|
851
851
|
*
|
|
852
852
|
* Usage:
|
|
853
853
|
* ```html
|
|
854
|
-
* <
|
|
855
|
-
* <
|
|
856
|
-
* <span
|
|
854
|
+
* <atl-accordion-group [multi]="true" variant="separated">
|
|
855
|
+
* <atl-accordion-item [(expanded)]="open">
|
|
856
|
+
* <span atlAccordionHeader>Title</span>
|
|
857
857
|
* Body content here.
|
|
858
|
-
* </
|
|
859
|
-
* </
|
|
858
|
+
* </atl-accordion-item>
|
|
859
|
+
* </atl-accordion-group>
|
|
860
860
|
* ```
|
|
861
861
|
*/
|
|
862
|
-
declare class
|
|
862
|
+
declare class AtlAccordionGroup implements AtlAccordionGroupContext {
|
|
863
863
|
/** Allow multiple items to be expanded simultaneously. */
|
|
864
864
|
readonly multi: _angular_core.InputSignal<boolean>;
|
|
865
865
|
/** Visual variant. */
|
|
@@ -873,28 +873,28 @@ declare class LlmAccordionGroup implements LlmAccordionGroupContext {
|
|
|
873
873
|
register(item: AccordionItem): void;
|
|
874
874
|
unregister(item: AccordionItem): void;
|
|
875
875
|
handleKeydown(event: KeyboardEvent, item: AccordionItem): void;
|
|
876
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
877
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
876
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlAccordionGroup, never>;
|
|
877
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlAccordionGroup, "atl-accordion-group", never, { "multi": { "alias": "multi"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.CdkAccordion; inputs: { "multi": "multi"; }; outputs: {}; }]>;
|
|
878
878
|
}
|
|
879
879
|
/**
|
|
880
880
|
* Directive to mark the accordion header content.
|
|
881
881
|
*/
|
|
882
|
-
declare class
|
|
883
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
884
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<
|
|
882
|
+
declare class AtlAccordionHeader {
|
|
883
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlAccordionHeader, never>;
|
|
884
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AtlAccordionHeader, "[atlAccordionHeader]", never, {}, {}, never, never, true, never>;
|
|
885
885
|
}
|
|
886
886
|
/**
|
|
887
|
-
* Individual collapsible accordion item. Place inside `<
|
|
887
|
+
* Individual collapsible accordion item. Place inside `<atl-accordion-group>`.
|
|
888
888
|
*
|
|
889
889
|
* Usage:
|
|
890
890
|
* ```html
|
|
891
|
-
* <
|
|
892
|
-
* <span
|
|
891
|
+
* <atl-accordion-item [(expanded)]="isOpen">
|
|
892
|
+
* <span atlAccordionHeader>Section Title</span>
|
|
893
893
|
* Section content goes here.
|
|
894
|
-
* </
|
|
894
|
+
* </atl-accordion-item>
|
|
895
895
|
* ```
|
|
896
896
|
*/
|
|
897
|
-
declare class
|
|
897
|
+
declare class AtlAccordionItem implements AccordionItem, OnInit, OnDestroy {
|
|
898
898
|
/** Whether this item is expanded. Supports two-way binding. */
|
|
899
899
|
readonly expanded: _angular_core.ModelSignal<boolean>;
|
|
900
900
|
/** Whether this item is disabled. */
|
|
@@ -937,27 +937,27 @@ declare class LlmAccordionItem implements AccordionItem, OnInit, OnDestroy {
|
|
|
937
937
|
protected onToggle(): void;
|
|
938
938
|
/** @internal */
|
|
939
939
|
protected onKeydown(event: KeyboardEvent): void;
|
|
940
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
941
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
940
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlAccordionItem, never>;
|
|
941
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlAccordionItem, "atl-accordion-item", never, { "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; "headingLevel": { "alias": "headingLevel"; "required": false; "isSignal": true; }; }, { "expanded": "expandedChange"; }, never, ["[atlAccordionHeader]", "*"], true, [{ directive: typeof i1.CdkAccordionItem; inputs: {}; outputs: {}; }]>;
|
|
942
942
|
}
|
|
943
943
|
|
|
944
944
|
/**
|
|
945
|
-
* Trigger directive that opens an `<
|
|
946
|
-
* Apply to any element (typically `<
|
|
945
|
+
* Trigger directive that opens an `<atl-menu>` dropdown.
|
|
946
|
+
* Apply to any element (typically `<atl-button>`) to wire up click + keyboard open/close.
|
|
947
947
|
*
|
|
948
948
|
* Usage:
|
|
949
949
|
* ```html
|
|
950
|
-
* <
|
|
950
|
+
* <atl-button [atlMenuTriggerFor]="myMenu">Open</atl-button>
|
|
951
951
|
* <ng-template #myMenu>
|
|
952
|
-
* <
|
|
953
|
-
* <
|
|
954
|
-
* </
|
|
952
|
+
* <atl-menu>
|
|
953
|
+
* <atl-menu-item (triggered)="action()">Action</atl-menu-item>
|
|
954
|
+
* </atl-menu>
|
|
955
955
|
* </ng-template>
|
|
956
956
|
* ```
|
|
957
957
|
*/
|
|
958
|
-
declare class
|
|
959
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
960
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<
|
|
958
|
+
declare class AtlMenuTrigger {
|
|
959
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlMenuTrigger, never>;
|
|
960
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AtlMenuTrigger, "[atlMenuTriggerFor]", never, {}, {}, never, never, true, [{ directive: typeof i1$1.CdkMenuTrigger; inputs: { "cdkMenuTriggerFor": "atlMenuTriggerFor"; }; outputs: {}; }]>;
|
|
961
961
|
}
|
|
962
962
|
/**
|
|
963
963
|
* Accessible dropdown menu panel.
|
|
@@ -965,57 +965,57 @@ declare class LlmMenuTrigger {
|
|
|
965
965
|
*
|
|
966
966
|
* Usage:
|
|
967
967
|
* ```html
|
|
968
|
-
* <
|
|
968
|
+
* <atl-button [atlMenuTriggerFor]="actions">Actions</atl-button>
|
|
969
969
|
* <ng-template #actions>
|
|
970
|
-
* <
|
|
971
|
-
* <
|
|
972
|
-
* <
|
|
973
|
-
* <
|
|
974
|
-
* </
|
|
970
|
+
* <atl-menu>
|
|
971
|
+
* <atl-menu-item (triggered)="onCopy()">Copy</atl-menu-item>
|
|
972
|
+
* <atl-menu-separator />
|
|
973
|
+
* <atl-menu-item [disabled]="true">Paste</atl-menu-item>
|
|
974
|
+
* </atl-menu>
|
|
975
975
|
* </ng-template>
|
|
976
976
|
* ```
|
|
977
977
|
*/
|
|
978
|
-
declare class
|
|
978
|
+
declare class AtlMenu {
|
|
979
979
|
/** Visual variant. `compact` reduces font size and padding. */
|
|
980
980
|
readonly variant: _angular_core.InputSignal<"default" | "compact">;
|
|
981
981
|
/** @internal */
|
|
982
982
|
protected readonly hostClasses: _angular_core.Signal<string>;
|
|
983
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
984
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
983
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlMenu, never>;
|
|
984
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlMenu, "atl-menu", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1$1.CdkMenu; inputs: {}; outputs: {}; }]>;
|
|
985
985
|
}
|
|
986
986
|
/**
|
|
987
|
-
* A single item inside an `<
|
|
988
|
-
* Supports keyboard navigation, disabled state, and nested submenus via `[
|
|
987
|
+
* A single item inside an `<atl-menu>`.
|
|
988
|
+
* Supports keyboard navigation, disabled state, and nested submenus via `[atlMenuTriggerFor]`.
|
|
989
989
|
*
|
|
990
990
|
* Usage:
|
|
991
991
|
* ```html
|
|
992
|
-
* <
|
|
993
|
-
* <
|
|
992
|
+
* <atl-menu-item (triggered)="doSomething()">Label</atl-menu-item>
|
|
993
|
+
* <atl-menu-item [disabled]="true">Disabled</atl-menu-item>
|
|
994
994
|
* ```
|
|
995
995
|
*/
|
|
996
|
-
declare class
|
|
996
|
+
declare class AtlMenuItem {
|
|
997
997
|
/** Whether this menu item is disabled. */
|
|
998
998
|
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
999
999
|
/** @internal — detect if this item also triggers a submenu */
|
|
1000
1000
|
private readonly menuTrigger;
|
|
1001
1001
|
/** @internal */
|
|
1002
1002
|
protected readonly hasSubmenu: _angular_core.Signal<boolean>;
|
|
1003
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1004
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
1003
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlMenuItem, never>;
|
|
1004
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlMenuItem, "atl-menu-item", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1$1.CdkMenuItem; inputs: { "cdkMenuItemDisabled": "disabled"; }; outputs: { "cdkMenuItemTriggered": "triggered"; }; }]>;
|
|
1005
1005
|
}
|
|
1006
1006
|
/**
|
|
1007
1007
|
* Visual separator between groups of menu items.
|
|
1008
1008
|
*
|
|
1009
1009
|
* Usage:
|
|
1010
1010
|
* ```html
|
|
1011
|
-
* <
|
|
1012
|
-
* <
|
|
1013
|
-
* <
|
|
1011
|
+
* <atl-menu-item>Copy</atl-menu-item>
|
|
1012
|
+
* <atl-menu-separator />
|
|
1013
|
+
* <atl-menu-item>Delete</atl-menu-item>
|
|
1014
1014
|
* ```
|
|
1015
1015
|
*/
|
|
1016
|
-
declare class
|
|
1017
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1018
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
1016
|
+
declare class AtlMenuSeparator {
|
|
1017
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlMenuSeparator, never>;
|
|
1018
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlMenuSeparator, "atl-menu-separator", never, {}, {}, never, never, true, never>;
|
|
1019
1019
|
}
|
|
1020
1020
|
|
|
1021
1021
|
/**
|
|
@@ -1024,21 +1024,21 @@ declare class LlmMenuSeparator {
|
|
|
1024
1024
|
*
|
|
1025
1025
|
* Usage:
|
|
1026
1026
|
* ```html
|
|
1027
|
-
* <
|
|
1028
|
-
* <
|
|
1027
|
+
* <atl-button atlTooltip="Save your changes">Save</atl-button>
|
|
1028
|
+
* <atl-button atlTooltip="Copy to clipboard" atlTooltipPosition="right">Copy</atl-button>
|
|
1029
1029
|
* ```
|
|
1030
1030
|
*/
|
|
1031
|
-
declare class
|
|
1031
|
+
declare class AtlTooltip implements OnDestroy {
|
|
1032
1032
|
/** The tooltip text. */
|
|
1033
|
-
readonly
|
|
1033
|
+
readonly atlTooltip: _angular_core.InputSignal<string>;
|
|
1034
1034
|
/** Preferred tooltip placement. Falls back to the opposite side if clipped. */
|
|
1035
|
-
readonly
|
|
1035
|
+
readonly atlTooltipPosition: _angular_core.InputSignal<"above" | "below" | "left" | "right">;
|
|
1036
1036
|
/** Disable the tooltip without removing the directive. */
|
|
1037
|
-
readonly
|
|
1037
|
+
readonly atlTooltipDisabled: _angular_core.InputSignal<boolean>;
|
|
1038
1038
|
/** Delay in ms before the tooltip appears. */
|
|
1039
|
-
readonly
|
|
1039
|
+
readonly atlTooltipShowDelay: _angular_core.InputSignal<number>;
|
|
1040
1040
|
/** Delay in ms before the tooltip hides. */
|
|
1041
|
-
readonly
|
|
1041
|
+
readonly atlTooltipHideDelay: _angular_core.InputSignal<number>;
|
|
1042
1042
|
private readonly injector;
|
|
1043
1043
|
private readonly elementRef;
|
|
1044
1044
|
private overlayRef;
|
|
@@ -1055,8 +1055,8 @@ declare class LlmTooltip implements OnDestroy {
|
|
|
1055
1055
|
private createOverlay;
|
|
1056
1056
|
private clearShowTimer;
|
|
1057
1057
|
private clearHideTimer;
|
|
1058
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1059
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<
|
|
1058
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlTooltip, never>;
|
|
1059
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AtlTooltip, "[atlTooltip]", never, { "atlTooltip": { "alias": "atlTooltip"; "required": true; "isSignal": true; }; "atlTooltipPosition": { "alias": "atlTooltipPosition"; "required": false; "isSignal": true; }; "atlTooltipDisabled": { "alias": "atlTooltipDisabled"; "required": false; "isSignal": true; }; "atlTooltipShowDelay": { "alias": "atlTooltipShowDelay"; "required": false; "isSignal": true; }; "atlTooltipHideDelay": { "alias": "atlTooltipHideDelay"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1060
1060
|
}
|
|
1061
1061
|
|
|
1062
1062
|
/**
|
|
@@ -1064,12 +1064,12 @@ declare class LlmTooltip implements OnDestroy {
|
|
|
1064
1064
|
*
|
|
1065
1065
|
* Usage:
|
|
1066
1066
|
* ```html
|
|
1067
|
-
* <
|
|
1068
|
-
* <
|
|
1069
|
-
* <
|
|
1067
|
+
* <atl-skeleton />
|
|
1068
|
+
* <atl-skeleton variant="circular" width="40px" />
|
|
1069
|
+
* <atl-skeleton variant="rectangular" height="200px" />
|
|
1070
1070
|
* ```
|
|
1071
1071
|
*/
|
|
1072
|
-
declare class
|
|
1072
|
+
declare class AtlSkeleton {
|
|
1073
1073
|
/** Shape variant of the skeleton placeholder. */
|
|
1074
1074
|
readonly variant: _angular_core.InputSignal<"text" | "circular" | "rectangular">;
|
|
1075
1075
|
/** CSS width of the skeleton. */
|
|
@@ -1080,8 +1080,8 @@ declare class LlmSkeleton {
|
|
|
1080
1080
|
readonly animated: _angular_core.InputSignal<boolean>;
|
|
1081
1081
|
protected readonly computedHeight: _angular_core.Signal<string>;
|
|
1082
1082
|
protected readonly hostClasses: _angular_core.Signal<string>;
|
|
1083
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1084
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
1083
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlSkeleton, never>;
|
|
1084
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlSkeleton, "atl-skeleton", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "animated": { "alias": "animated"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1085
1085
|
}
|
|
1086
1086
|
|
|
1087
1087
|
/** Variant types for toast notifications. */
|
|
@@ -1107,11 +1107,11 @@ interface ToastData {
|
|
|
1107
1107
|
*
|
|
1108
1108
|
* Usage:
|
|
1109
1109
|
* ```typescript
|
|
1110
|
-
* const toast = inject(
|
|
1110
|
+
* const toast = inject(AtlToastService);
|
|
1111
1111
|
* toast.show('Saved successfully', { variant: 'success' });
|
|
1112
1112
|
* ```
|
|
1113
1113
|
*/
|
|
1114
|
-
declare class
|
|
1114
|
+
declare class AtlToastService {
|
|
1115
1115
|
readonly toasts: _angular_core.WritableSignal<ToastData[]>;
|
|
1116
1116
|
private readonly timers;
|
|
1117
1117
|
/**
|
|
@@ -1123,15 +1123,15 @@ declare class LlmToastService {
|
|
|
1123
1123
|
dismiss(id: string): void;
|
|
1124
1124
|
/** Clear all active toasts. */
|
|
1125
1125
|
clear(): void;
|
|
1126
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1127
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<
|
|
1126
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlToastService, never>;
|
|
1127
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AtlToastService>;
|
|
1128
1128
|
}
|
|
1129
1129
|
/**
|
|
1130
1130
|
* Individual toast notification.
|
|
1131
1131
|
*
|
|
1132
|
-
* Typically rendered by `
|
|
1132
|
+
* Typically rendered by `atl-toast-container`, but can also be used standalone.
|
|
1133
1133
|
*/
|
|
1134
|
-
declare class
|
|
1134
|
+
declare class AtlToast {
|
|
1135
1135
|
/** Semantic color variant. */
|
|
1136
1136
|
readonly variant: _angular_core.InputSignal<ToastVariant>;
|
|
1137
1137
|
/** Whether to show a dismiss button. */
|
|
@@ -1144,8 +1144,8 @@ declare class LlmToast {
|
|
|
1144
1144
|
readonly dismissed: _angular_core.OutputEmitterRef<string>;
|
|
1145
1145
|
protected readonly hostClasses: _angular_core.Signal<string>;
|
|
1146
1146
|
protected onDismiss(): void;
|
|
1147
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1148
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
1147
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlToast, never>;
|
|
1148
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlToast, "atl-toast", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "dismissible": { "alias": "dismissible"; "required": false; "isSignal": true; }; "message": { "alias": "message"; "required": false; "isSignal": true; }; "toastId": { "alias": "toastId"; "required": false; "isSignal": true; }; }, { "dismissed": "dismissed"; }, never, never, true, never>;
|
|
1149
1149
|
}
|
|
1150
1150
|
/**
|
|
1151
1151
|
* Container that renders the toast stack at a fixed viewport position.
|
|
@@ -1153,18 +1153,18 @@ declare class LlmToast {
|
|
|
1153
1153
|
*
|
|
1154
1154
|
* Usage:
|
|
1155
1155
|
* ```html
|
|
1156
|
-
* <
|
|
1156
|
+
* <atl-toast-container position="bottom-right" />
|
|
1157
1157
|
* ```
|
|
1158
1158
|
*/
|
|
1159
|
-
declare class
|
|
1160
|
-
protected readonly toastService:
|
|
1159
|
+
declare class AtlToastContainer {
|
|
1160
|
+
protected readonly toastService: AtlToastService;
|
|
1161
1161
|
private readonly destroyRef;
|
|
1162
1162
|
/** Position of the toast stack on the viewport. */
|
|
1163
1163
|
readonly position: _angular_core.InputSignal<"top-right" | "top-center" | "bottom-right" | "bottom-center">;
|
|
1164
1164
|
protected readonly hostClasses: _angular_core.Signal<string>;
|
|
1165
1165
|
constructor();
|
|
1166
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1167
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
1166
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlToastContainer, never>;
|
|
1167
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlToastContainer, "atl-toast-container", never, { "position": { "alias": "position"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1168
1168
|
}
|
|
1169
1169
|
|
|
1170
1170
|
/**
|
|
@@ -1174,12 +1174,12 @@ declare class LlmToastContainer {
|
|
|
1174
1174
|
*
|
|
1175
1175
|
* Usage:
|
|
1176
1176
|
* ```html
|
|
1177
|
-
* <
|
|
1178
|
-
* <
|
|
1179
|
-
* <
|
|
1177
|
+
* <atl-avatar src="https://example.com/photo.jpg" name="Jane Doe" />
|
|
1178
|
+
* <atl-avatar name="John Smith" size="lg" status="online" />
|
|
1179
|
+
* <atl-avatar size="sm" shape="square" />
|
|
1180
1180
|
* ```
|
|
1181
1181
|
*/
|
|
1182
|
-
declare class
|
|
1182
|
+
declare class AtlAvatar {
|
|
1183
1183
|
/** Image URL. Falls back to initials or icon if empty or fails to load. */
|
|
1184
1184
|
readonly src: _angular_core.InputSignal<string>;
|
|
1185
1185
|
/** Alt text for the image (also used as aria-label). */
|
|
@@ -1201,23 +1201,23 @@ declare class LlmAvatar {
|
|
|
1201
1201
|
/** @internal */
|
|
1202
1202
|
protected readonly hostClasses: _angular_core.Signal<string>;
|
|
1203
1203
|
constructor();
|
|
1204
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1205
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
1204
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlAvatar, never>;
|
|
1205
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlAvatar, "atl-avatar", never, { "src": { "alias": "src"; "required": false; "isSignal": true; }; "alt": { "alias": "alt"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1206
1206
|
}
|
|
1207
1207
|
/**
|
|
1208
1208
|
* Groups multiple avatars with overlap and an overflow count badge.
|
|
1209
1209
|
*
|
|
1210
1210
|
* Usage:
|
|
1211
1211
|
* ```html
|
|
1212
|
-
* <
|
|
1213
|
-
* <
|
|
1214
|
-
* <
|
|
1215
|
-
* <
|
|
1216
|
-
* <
|
|
1217
|
-
* </
|
|
1212
|
+
* <atl-avatar-group [max]="3" size="md">
|
|
1213
|
+
* <atl-avatar name="Alice" />
|
|
1214
|
+
* <atl-avatar name="Bob" />
|
|
1215
|
+
* <atl-avatar name="Charlie" />
|
|
1216
|
+
* <atl-avatar name="Dave" />
|
|
1217
|
+
* </atl-avatar-group>
|
|
1218
1218
|
* ```
|
|
1219
1219
|
*/
|
|
1220
|
-
declare class
|
|
1220
|
+
declare class AtlAvatarGroup {
|
|
1221
1221
|
/** Maximum visible avatars before showing an overflow count. */
|
|
1222
1222
|
readonly max: _angular_core.InputSignal<number>;
|
|
1223
1223
|
/** Size applied to the overflow badge (match the size used on child avatars). */
|
|
@@ -1225,8 +1225,8 @@ declare class LlmAvatarGroup {
|
|
|
1225
1225
|
private readonly avatarEls;
|
|
1226
1226
|
protected readonly overflowCount: _angular_core.Signal<number>;
|
|
1227
1227
|
constructor();
|
|
1228
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1229
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
1228
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlAvatarGroup, never>;
|
|
1229
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlAvatarGroup, "atl-avatar-group", never, { "max": { "alias": "max"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, ["avatarEls"], ["*"], true, never>;
|
|
1230
1230
|
}
|
|
1231
1231
|
|
|
1232
1232
|
/**
|
|
@@ -1234,12 +1234,12 @@ declare class LlmAvatarGroup {
|
|
|
1234
1234
|
*
|
|
1235
1235
|
* Usage:
|
|
1236
1236
|
* ```html
|
|
1237
|
-
* <
|
|
1238
|
-
* <
|
|
1239
|
-
* <
|
|
1237
|
+
* <atl-progress [value]="75" />
|
|
1238
|
+
* <atl-progress variant="success" [value]="100" />
|
|
1239
|
+
* <atl-progress [indeterminate]="true" />
|
|
1240
1240
|
* ```
|
|
1241
1241
|
*/
|
|
1242
|
-
declare class
|
|
1242
|
+
declare class AtlProgress {
|
|
1243
1243
|
/** Current value of the progress bar. */
|
|
1244
1244
|
readonly value: _angular_core.InputSignal<number>;
|
|
1245
1245
|
/** Maximum value. */
|
|
@@ -1258,42 +1258,42 @@ declare class LlmProgress {
|
|
|
1258
1258
|
protected readonly clampedValue: _angular_core.Signal<number>;
|
|
1259
1259
|
protected readonly fillWidth: _angular_core.Signal<string>;
|
|
1260
1260
|
protected readonly hostClasses: _angular_core.Signal<string>;
|
|
1261
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1262
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
1261
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlProgress, never>;
|
|
1262
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlProgress, "atl-progress", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "indeterminate": { "alias": "indeterminate"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1263
1263
|
}
|
|
1264
1264
|
|
|
1265
1265
|
/**
|
|
1266
|
-
* Accessible breadcrumb navigation. Wrap `
|
|
1266
|
+
* Accessible breadcrumb navigation. Wrap `atl-breadcrumb-item` elements inside.
|
|
1267
1267
|
* The last item is automatically marked as the current page.
|
|
1268
1268
|
*
|
|
1269
1269
|
* Usage:
|
|
1270
1270
|
* ```html
|
|
1271
|
-
* <
|
|
1272
|
-
* <
|
|
1273
|
-
* <
|
|
1274
|
-
* <
|
|
1275
|
-
* </
|
|
1271
|
+
* <atl-breadcrumbs>
|
|
1272
|
+
* <atl-breadcrumb-item href="/home">Home</atl-breadcrumb-item>
|
|
1273
|
+
* <atl-breadcrumb-item href="/products">Products</atl-breadcrumb-item>
|
|
1274
|
+
* <atl-breadcrumb-item>Widget X</atl-breadcrumb-item>
|
|
1275
|
+
* </atl-breadcrumbs>
|
|
1276
1276
|
* ```
|
|
1277
1277
|
*/
|
|
1278
|
-
declare class
|
|
1278
|
+
declare class AtlBreadcrumbs {
|
|
1279
1279
|
readonly separator: _angular_core.InputSignal<string | undefined>;
|
|
1280
1280
|
protected readonly separatorCssVar: _angular_core.Signal<string>;
|
|
1281
1281
|
private readonly _itemIds;
|
|
1282
1282
|
private _nextId;
|
|
1283
|
-
/** @internal — used by
|
|
1283
|
+
/** @internal — used by AtlBreadcrumbItem via ATL_BREADCRUMBS token */
|
|
1284
1284
|
readonly lastItemId: _angular_core.Signal<number>;
|
|
1285
1285
|
/** @internal */
|
|
1286
1286
|
registerItem(): number;
|
|
1287
1287
|
/** @internal */
|
|
1288
1288
|
unregisterItem(id: number): void;
|
|
1289
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1290
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
1289
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlBreadcrumbs, never>;
|
|
1290
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlBreadcrumbs, "atl-breadcrumbs", never, { "separator": { "alias": "separator"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
1291
1291
|
}
|
|
1292
1292
|
/**
|
|
1293
1293
|
* A single breadcrumb step. The last item is automatically treated as
|
|
1294
1294
|
* `aria-current="page"` and rendered as plain text (no link).
|
|
1295
1295
|
*/
|
|
1296
|
-
declare class
|
|
1296
|
+
declare class AtlBreadcrumbItem implements OnInit, OnDestroy {
|
|
1297
1297
|
/** Optional href for navigation. Ignored on the last (current) item. */
|
|
1298
1298
|
readonly href: _angular_core.InputSignal<string>;
|
|
1299
1299
|
private readonly context;
|
|
@@ -1301,16 +1301,16 @@ declare class LlmBreadcrumbItem implements OnInit, OnDestroy {
|
|
|
1301
1301
|
protected readonly isCurrent: _angular_core.Signal<boolean>;
|
|
1302
1302
|
ngOnInit(): void;
|
|
1303
1303
|
ngOnDestroy(): void;
|
|
1304
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1305
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
1304
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlBreadcrumbItem, never>;
|
|
1305
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlBreadcrumbItem, "atl-breadcrumb-item", never, { "href": { "alias": "href"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
1306
1306
|
}
|
|
1307
1307
|
|
|
1308
|
-
interface
|
|
1308
|
+
interface AtlBreadcrumbsContext {
|
|
1309
1309
|
registerItem(): number;
|
|
1310
1310
|
unregisterItem(id: number): void;
|
|
1311
1311
|
readonly lastItemId: Signal<number>;
|
|
1312
1312
|
}
|
|
1313
|
-
declare const
|
|
1313
|
+
declare const ATL_BREADCRUMBS: InjectionToken<AtlBreadcrumbsContext>;
|
|
1314
1314
|
|
|
1315
1315
|
type PageItem = {
|
|
1316
1316
|
type: 'page';
|
|
@@ -1324,10 +1324,10 @@ type PageItem = {
|
|
|
1324
1324
|
*
|
|
1325
1325
|
* Usage:
|
|
1326
1326
|
* ```html
|
|
1327
|
-
* <
|
|
1327
|
+
* <atl-pagination [(page)]="currentPage" [pageCount]="totalPages" />
|
|
1328
1328
|
* ```
|
|
1329
1329
|
*/
|
|
1330
|
-
declare class
|
|
1330
|
+
declare class AtlPagination {
|
|
1331
1331
|
/** Current page (1-based). Supports two-way binding: [(page)]="currentPage". */
|
|
1332
1332
|
readonly page: _angular_core.ModelSignal<number>;
|
|
1333
1333
|
/** Total number of pages. */
|
|
@@ -1342,29 +1342,29 @@ declare class LlmPagination {
|
|
|
1342
1342
|
protected goNext(): void;
|
|
1343
1343
|
protected goFirst(): void;
|
|
1344
1344
|
protected goLast(): void;
|
|
1345
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1346
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
1345
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlPagination, never>;
|
|
1346
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlPagination, "atl-pagination", never, { "page": { "alias": "page"; "required": false; "isSignal": true; }; "pageCount": { "alias": "pageCount"; "required": false; "isSignal": true; }; "siblingCount": { "alias": "siblingCount"; "required": false; "isSignal": true; }; "showFirstLast": { "alias": "showFirstLast"; "required": false; "isSignal": true; }; }, { "page": "pageChange"; }, never, never, true, never>;
|
|
1347
1347
|
}
|
|
1348
1348
|
|
|
1349
1349
|
/**
|
|
1350
1350
|
* Slide-in drawer panel using the native `<dialog>` element.
|
|
1351
1351
|
* Supports left, right, top, and bottom positions with focus trap,
|
|
1352
1352
|
* Escape to close, and backdrop click to close.
|
|
1353
|
-
* Compose with `
|
|
1353
|
+
* Compose with `atl-drawer-header`, `atl-drawer-content`, and `atl-drawer-footer`.
|
|
1354
1354
|
*
|
|
1355
1355
|
* Usage:
|
|
1356
1356
|
* ```html
|
|
1357
|
-
* <
|
|
1358
|
-
* <
|
|
1359
|
-
* <
|
|
1360
|
-
* <
|
|
1361
|
-
* <
|
|
1362
|
-
* <
|
|
1363
|
-
* </
|
|
1364
|
-
* </
|
|
1357
|
+
* <atl-button (click)="isOpen = true">Open</atl-button>
|
|
1358
|
+
* <atl-drawer [(open)]="isOpen" position="right">
|
|
1359
|
+
* <atl-drawer-header>Settings</atl-drawer-header>
|
|
1360
|
+
* <atl-drawer-content>Content here.</atl-drawer-content>
|
|
1361
|
+
* <atl-drawer-footer>
|
|
1362
|
+
* <atl-button variant="primary" (click)="isOpen = false">Save</atl-button>
|
|
1363
|
+
* </atl-drawer-footer>
|
|
1364
|
+
* </atl-drawer>
|
|
1365
1365
|
* ```
|
|
1366
1366
|
*/
|
|
1367
|
-
declare class
|
|
1367
|
+
declare class AtlDrawer {
|
|
1368
1368
|
/** Whether the drawer is open. Supports two-way binding: [(open)]="isOpen". */
|
|
1369
1369
|
readonly open: _angular_core.ModelSignal<boolean>;
|
|
1370
1370
|
/** Which edge the drawer slides in from. */
|
|
@@ -1373,7 +1373,7 @@ declare class LlmDrawer {
|
|
|
1373
1373
|
readonly size: _angular_core.InputSignal<"sm" | "md" | "lg" | "full">;
|
|
1374
1374
|
/** Whether clicking the backdrop closes the drawer. */
|
|
1375
1375
|
readonly closeOnBackdrop: _angular_core.InputSignal<boolean>;
|
|
1376
|
-
/** @internal — referenced by
|
|
1376
|
+
/** @internal — referenced by AtlDrawerHeader via ATL_DRAWER token */
|
|
1377
1377
|
readonly headerId: string;
|
|
1378
1378
|
protected readonly drawerId: string;
|
|
1379
1379
|
protected readonly dialogRef: _angular_core.Signal<ElementRef<HTMLDialogElement> | undefined>;
|
|
@@ -1382,70 +1382,70 @@ declare class LlmDrawer {
|
|
|
1382
1382
|
constructor();
|
|
1383
1383
|
protected onCancel(event: Event): void;
|
|
1384
1384
|
protected onBackdropClick(event: MouseEvent): void;
|
|
1385
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1386
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
1385
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlDrawer, never>;
|
|
1386
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlDrawer, "atl-drawer", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "closeOnBackdrop": { "alias": "closeOnBackdrop"; "required": false; "isSignal": true; }; }, { "open": "openChange"; }, never, ["*"], true, never>;
|
|
1387
1387
|
}
|
|
1388
1388
|
/**
|
|
1389
|
-
* Header slot for `
|
|
1389
|
+
* Header slot for `atl-drawer`. Contains the title and a close button.
|
|
1390
1390
|
* Automatically receives the correct `id` for `aria-labelledby` association.
|
|
1391
1391
|
*/
|
|
1392
|
-
declare class
|
|
1393
|
-
protected readonly context: _atelier_ui_angular.
|
|
1394
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1395
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
1392
|
+
declare class AtlDrawerHeader {
|
|
1393
|
+
protected readonly context: _atelier_ui_angular.AtlDrawerContext;
|
|
1394
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlDrawerHeader, never>;
|
|
1395
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlDrawerHeader, "atl-drawer-header", never, {}, {}, never, ["*"], true, never>;
|
|
1396
1396
|
}
|
|
1397
1397
|
/**
|
|
1398
|
-
* Content slot for `
|
|
1398
|
+
* Content slot for `atl-drawer`. Scrollable primary content area.
|
|
1399
1399
|
*/
|
|
1400
|
-
declare class
|
|
1401
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1402
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
1400
|
+
declare class AtlDrawerContent {
|
|
1401
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlDrawerContent, never>;
|
|
1402
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlDrawerContent, "atl-drawer-content", never, {}, {}, never, ["*"], true, never>;
|
|
1403
1403
|
}
|
|
1404
1404
|
/**
|
|
1405
|
-
* Footer slot for `
|
|
1405
|
+
* Footer slot for `atl-drawer`. Renders at the bottom with action buttons.
|
|
1406
1406
|
*/
|
|
1407
|
-
declare class
|
|
1408
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1409
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
1407
|
+
declare class AtlDrawerFooter {
|
|
1408
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlDrawerFooter, never>;
|
|
1409
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlDrawerFooter, "atl-drawer-footer", never, {}, {}, never, ["*"], true, never>;
|
|
1410
1410
|
}
|
|
1411
1411
|
|
|
1412
|
-
interface
|
|
1412
|
+
interface AtlDrawerContext {
|
|
1413
1413
|
headerId: string;
|
|
1414
1414
|
close: () => void;
|
|
1415
1415
|
}
|
|
1416
|
-
declare const
|
|
1416
|
+
declare const ATL_DRAWER: InjectionToken<AtlDrawerContext>;
|
|
1417
1417
|
|
|
1418
|
-
interface
|
|
1418
|
+
interface AtlTableContext {
|
|
1419
1419
|
readonly size: Signal<'sm' | 'md' | 'lg'>;
|
|
1420
1420
|
readonly variant: Signal<'default' | 'striped' | 'bordered'>;
|
|
1421
1421
|
}
|
|
1422
|
-
declare const
|
|
1422
|
+
declare const ATL_TABLE: InjectionToken<AtlTableContext>;
|
|
1423
1423
|
/**
|
|
1424
1424
|
* Accessible data table with sorting, row selection, sticky header, and empty state.
|
|
1425
|
-
* Compose with `
|
|
1425
|
+
* Compose with `atl-thead`, `atl-tbody`, `atl-tr`, `atl-th`, and `atl-td`.
|
|
1426
1426
|
*
|
|
1427
1427
|
* Usage:
|
|
1428
1428
|
* ```html
|
|
1429
|
-
* <
|
|
1430
|
-
* <
|
|
1431
|
-
* <
|
|
1432
|
-
* <
|
|
1433
|
-
* <
|
|
1434
|
-
* </
|
|
1435
|
-
* </
|
|
1436
|
-
* <
|
|
1429
|
+
* <atl-table variant="striped" [stickyHeader]="true">
|
|
1430
|
+
* <atl-thead>
|
|
1431
|
+
* <atl-tr>
|
|
1432
|
+
* <atl-th sortable [sortDirection]="sort" (sort)="sort = $event">Name</atl-th>
|
|
1433
|
+
* <atl-th>Status</atl-th>
|
|
1434
|
+
* </atl-tr>
|
|
1435
|
+
* </atl-thead>
|
|
1436
|
+
* <atl-tbody [empty]="rows.length === 0" [colSpan]="2">
|
|
1437
1437
|
* @for (row of rows; track row.id) {
|
|
1438
|
-
* <
|
|
1439
|
-
* <
|
|
1440
|
-
* <
|
|
1441
|
-
* </
|
|
1438
|
+
* <atl-tr selectable [selected]="selection.has(row.id)" (selectedChange)="toggle(row.id, $event)">
|
|
1439
|
+
* <atl-td>{{ row.name }}</atl-td>
|
|
1440
|
+
* <atl-td>{{ row.status }}</atl-td>
|
|
1441
|
+
* </atl-tr>
|
|
1442
1442
|
* }
|
|
1443
|
-
* <div
|
|
1444
|
-
* </
|
|
1445
|
-
* </
|
|
1443
|
+
* <div atlTableEmpty>No results found.</div>
|
|
1444
|
+
* </atl-tbody>
|
|
1445
|
+
* </atl-table>
|
|
1446
1446
|
* ```
|
|
1447
1447
|
*/
|
|
1448
|
-
declare class
|
|
1448
|
+
declare class AtlTable implements AtlTableContext {
|
|
1449
1449
|
/** Visual style of the table rows. */
|
|
1450
1450
|
readonly variant: _angular_core.InputSignal<"default" | "bordered" | "striped">;
|
|
1451
1451
|
/** Row density. */
|
|
@@ -1461,58 +1461,58 @@ declare class LlmTable implements LlmTableContext {
|
|
|
1461
1461
|
readonly ariaLabel: _angular_core.InputSignal<string | undefined>;
|
|
1462
1462
|
/** @internal */
|
|
1463
1463
|
protected readonly hostClasses: Signal<string>;
|
|
1464
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1465
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
1464
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlTable, never>;
|
|
1465
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlTable, "atl-table", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "stickyHeader": { "alias": "stickyHeader"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
1466
1466
|
}
|
|
1467
1467
|
/**
|
|
1468
|
-
* Table head section. Contains header rows with `
|
|
1468
|
+
* Table head section. Contains header rows with `atl-tr` and `atl-th`.
|
|
1469
1469
|
*
|
|
1470
1470
|
* Usage:
|
|
1471
1471
|
* ```html
|
|
1472
|
-
* <
|
|
1473
|
-
* <
|
|
1474
|
-
* <
|
|
1475
|
-
* </
|
|
1476
|
-
* </
|
|
1472
|
+
* <atl-thead>
|
|
1473
|
+
* <atl-tr>
|
|
1474
|
+
* <atl-th sortable [sortDirection]="sort" (sort)="sort = $event">Name</atl-th>
|
|
1475
|
+
* </atl-tr>
|
|
1476
|
+
* </atl-thead>
|
|
1477
1477
|
* ```
|
|
1478
1478
|
*/
|
|
1479
|
-
declare class
|
|
1480
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1481
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
1479
|
+
declare class AtlThead {
|
|
1480
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlThead, never>;
|
|
1481
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlThead, "atl-thead", never, {}, {}, never, ["*"], true, never>;
|
|
1482
1482
|
}
|
|
1483
1483
|
/**
|
|
1484
1484
|
* Table body section. Shows rows or an empty state.
|
|
1485
1485
|
*
|
|
1486
1486
|
* Usage:
|
|
1487
1487
|
* ```html
|
|
1488
|
-
* <
|
|
1488
|
+
* <atl-tbody [empty]="rows.length === 0" [colSpan]="3">
|
|
1489
1489
|
* @for (row of rows; track row.id) {
|
|
1490
|
-
* <
|
|
1490
|
+
* <atl-tr><atl-td>{{ row.name }}</atl-td></atl-tr>
|
|
1491
1491
|
* }
|
|
1492
|
-
* <div
|
|
1493
|
-
* </
|
|
1492
|
+
* <div atlTableEmpty>No results found.</div>
|
|
1493
|
+
* </atl-tbody>
|
|
1494
1494
|
* ```
|
|
1495
1495
|
*/
|
|
1496
|
-
declare class
|
|
1497
|
-
/** When true, hides rows and shows the `[
|
|
1496
|
+
declare class AtlTbody {
|
|
1497
|
+
/** When true, hides rows and shows the `[atlTableEmpty]` slot content instead. */
|
|
1498
1498
|
readonly empty: _angular_core.InputSignal<boolean>;
|
|
1499
1499
|
/** Number of columns to span in the empty-state row. Should match total column count. */
|
|
1500
1500
|
readonly colSpan: _angular_core.InputSignal<number>;
|
|
1501
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1502
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
1501
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlTbody, never>;
|
|
1502
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlTbody, "atl-tbody", never, { "empty": { "alias": "empty"; "required": false; "isSignal": true; }; "colSpan": { "alias": "colSpan"; "required": false; "isSignal": true; }; }, {}, never, ["*", "[atlTableEmpty]"], true, never>;
|
|
1503
1503
|
}
|
|
1504
1504
|
/**
|
|
1505
|
-
* Table row. Use inside `
|
|
1505
|
+
* Table row. Use inside `atl-thead` or `atl-tbody`.
|
|
1506
1506
|
* Set `selectable` to auto-add a checkbox column for row selection.
|
|
1507
1507
|
*
|
|
1508
1508
|
* Usage:
|
|
1509
1509
|
* ```html
|
|
1510
|
-
* <
|
|
1511
|
-
* <
|
|
1512
|
-
* </
|
|
1510
|
+
* <atl-tr selectable [selected]="isSelected" (selectedChange)="toggle($event)">
|
|
1511
|
+
* <atl-td>Cell content</atl-td>
|
|
1512
|
+
* </atl-tr>
|
|
1513
1513
|
* ```
|
|
1514
1514
|
*/
|
|
1515
|
-
declare class
|
|
1515
|
+
declare class AtlTr {
|
|
1516
1516
|
/** Whether this row is currently selected. */
|
|
1517
1517
|
readonly selected: _angular_core.InputSignal<boolean>;
|
|
1518
1518
|
/** Whether this row shows a selection checkbox. */
|
|
@@ -1525,25 +1525,25 @@ declare class LlmTr {
|
|
|
1525
1525
|
protected readonly hostClasses: Signal<"" | "is-selectable">;
|
|
1526
1526
|
/** @internal — applied to inner <tr> for CSS selection styling */
|
|
1527
1527
|
protected readonly innerClasses: Signal<"" | "is-selected">;
|
|
1528
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1529
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
1528
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlTr, never>;
|
|
1529
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlTr, "atl-tr", never, { "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "rowId": { "alias": "rowId"; "required": false; "isSignal": true; }; }, { "selectedChange": "selectedChange"; }, never, ["*"], true, never>;
|
|
1530
1530
|
}
|
|
1531
1531
|
/** Sort direction for sortable column headers. */
|
|
1532
|
-
type
|
|
1532
|
+
type AtlSortDirection = 'asc' | 'desc' | null;
|
|
1533
1533
|
/**
|
|
1534
1534
|
* Table header cell. Set `sortable` to enable sort cycling.
|
|
1535
1535
|
* The consumer controls `sortDirection` (fully controlled — no internal state).
|
|
1536
1536
|
*
|
|
1537
1537
|
* Usage:
|
|
1538
1538
|
* ```html
|
|
1539
|
-
* <
|
|
1539
|
+
* <atl-th sortable [sortDirection]="nameSortDir" (sort)="nameSortDir = $event">Name</atl-th>
|
|
1540
1540
|
* ```
|
|
1541
1541
|
*/
|
|
1542
|
-
declare class
|
|
1542
|
+
declare class AtlTh {
|
|
1543
1543
|
/** Whether this column is sortable. Renders a sort button when true. */
|
|
1544
1544
|
readonly sortable: _angular_core.InputSignal<boolean>;
|
|
1545
1545
|
/** Current sort direction. Fully controlled — the consumer owns this state. */
|
|
1546
|
-
readonly sortDirection: _angular_core.InputSignal<
|
|
1546
|
+
readonly sortDirection: _angular_core.InputSignal<AtlSortDirection>;
|
|
1547
1547
|
/** Text alignment of the header cell content. */
|
|
1548
1548
|
readonly align: _angular_core.InputSignal<"start" | "center" | "end">;
|
|
1549
1549
|
/** Fixed column width (e.g. `'120px'`, `'10rem'`). */
|
|
@@ -1552,29 +1552,29 @@ declare class LlmTh {
|
|
|
1552
1552
|
* Emits when the header is clicked.
|
|
1553
1553
|
* Cycles: `null` → `'asc'` → `'desc'` → `null`.
|
|
1554
1554
|
*/
|
|
1555
|
-
readonly sort: _angular_core.OutputEmitterRef<
|
|
1555
|
+
readonly sort: _angular_core.OutputEmitterRef<AtlSortDirection>;
|
|
1556
1556
|
/** @internal */
|
|
1557
1557
|
protected readonly ariaSort: Signal<"none" | "ascending" | "descending" | undefined>;
|
|
1558
1558
|
/** @internal */
|
|
1559
1559
|
protected readonly cellClasses: Signal<string>;
|
|
1560
1560
|
/** @internal */
|
|
1561
1561
|
protected cycleSort(): void;
|
|
1562
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1563
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
1562
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlTh, never>;
|
|
1563
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlTh, "atl-th", never, { "sortable": { "alias": "sortable"; "required": false; "isSignal": true; }; "sortDirection": { "alias": "sortDirection"; "required": false; "isSignal": true; }; "align": { "alias": "align"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; }, { "sort": "sort"; }, never, ["*", "*"], true, never>;
|
|
1564
1564
|
}
|
|
1565
1565
|
/**
|
|
1566
|
-
* Table data cell. Use inside `
|
|
1566
|
+
* Table data cell. Use inside `atl-tr` inside `atl-tbody`.
|
|
1567
1567
|
*
|
|
1568
1568
|
* Usage:
|
|
1569
1569
|
* ```html
|
|
1570
|
-
* <
|
|
1570
|
+
* <atl-td align="end">{{ value }}</atl-td>
|
|
1571
1571
|
* ```
|
|
1572
1572
|
*/
|
|
1573
|
-
declare class
|
|
1573
|
+
declare class AtlTd {
|
|
1574
1574
|
/** Text alignment of the cell content. */
|
|
1575
1575
|
readonly align: _angular_core.InputSignal<"start" | "center" | "end">;
|
|
1576
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1577
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
1576
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlTd, never>;
|
|
1577
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlTd, "atl-td", never, { "align": { "alias": "align"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
1578
1578
|
}
|
|
1579
1579
|
|
|
1580
1580
|
interface StepInfo {
|
|
@@ -1586,7 +1586,7 @@ interface StepInfo {
|
|
|
1586
1586
|
optional: boolean;
|
|
1587
1587
|
disabled: boolean;
|
|
1588
1588
|
}
|
|
1589
|
-
interface
|
|
1589
|
+
interface AtlStepperContext {
|
|
1590
1590
|
readonly activeStep: WritableSignal<number>;
|
|
1591
1591
|
readonly steps: Signal<StepInfo[]>;
|
|
1592
1592
|
readonly linear: Signal<boolean>;
|
|
@@ -1597,21 +1597,21 @@ interface LlmStepperContext {
|
|
|
1597
1597
|
next(): void;
|
|
1598
1598
|
prev(): void;
|
|
1599
1599
|
}
|
|
1600
|
-
declare const
|
|
1600
|
+
declare const ATL_STEPPER: InjectionToken<AtlStepperContext>;
|
|
1601
1601
|
|
|
1602
1602
|
/**
|
|
1603
1603
|
* Multi-step wizard container.
|
|
1604
1604
|
*
|
|
1605
1605
|
* Usage:
|
|
1606
1606
|
* ```html
|
|
1607
|
-
* <
|
|
1608
|
-
* <
|
|
1609
|
-
* <
|
|
1610
|
-
* <
|
|
1611
|
-
* </
|
|
1607
|
+
* <atl-stepper [(activeStep)]="step">
|
|
1608
|
+
* <atl-step label="Account">Account form here.</atl-step>
|
|
1609
|
+
* <atl-step label="Profile">Profile form here.</atl-step>
|
|
1610
|
+
* <atl-step label="Review">Review and submit.</atl-step>
|
|
1611
|
+
* </atl-stepper>
|
|
1612
1612
|
* ```
|
|
1613
1613
|
*/
|
|
1614
|
-
declare class
|
|
1614
|
+
declare class AtlStepper implements AtlStepperContext {
|
|
1615
1615
|
/** Index of the currently active step. Supports two-way binding. */
|
|
1616
1616
|
readonly activeStep: _angular_core.ModelSignal<number>;
|
|
1617
1617
|
/** Layout orientation. */
|
|
@@ -1625,11 +1625,11 @@ declare class LlmStepper implements LlmStepperContext {
|
|
|
1625
1625
|
readonly steps: _angular_core.WritableSignal<StepInfo[]>;
|
|
1626
1626
|
/** @internal */
|
|
1627
1627
|
protected readonly hostClasses: _angular_core.Signal<string>;
|
|
1628
|
-
/** @internal — called by
|
|
1628
|
+
/** @internal — called by AtlStep on init */
|
|
1629
1629
|
registerStep(info: StepInfo): void;
|
|
1630
|
-
/** @internal — called by
|
|
1630
|
+
/** @internal — called by AtlStep on destroy */
|
|
1631
1631
|
unregisterStep(id: string): void;
|
|
1632
|
-
/** @internal — called by
|
|
1632
|
+
/** @internal — called by AtlStep effect when inputs change */
|
|
1633
1633
|
updateStep(id: string, info: Partial<StepInfo>): void;
|
|
1634
1634
|
/** Navigate to a specific step index. Respects linear mode. */
|
|
1635
1635
|
goTo(index: number): void;
|
|
@@ -1637,18 +1637,18 @@ declare class LlmStepper implements LlmStepperContext {
|
|
|
1637
1637
|
next(): void;
|
|
1638
1638
|
/** Go back to the previous step. */
|
|
1639
1639
|
prev(): void;
|
|
1640
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1641
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
1640
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlStepper, never>;
|
|
1641
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlStepper, "atl-stepper", never, { "activeStep": { "alias": "activeStep"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "linear": { "alias": "linear"; "required": false; "isSignal": true; }; }, { "activeStep": "activeStepChange"; }, never, ["*"], true, never>;
|
|
1642
1642
|
}
|
|
1643
1643
|
/**
|
|
1644
|
-
* Individual step. Place inside `<
|
|
1644
|
+
* Individual step. Place inside `<atl-stepper>`.
|
|
1645
1645
|
*
|
|
1646
1646
|
* Usage:
|
|
1647
1647
|
* ```html
|
|
1648
|
-
* <
|
|
1648
|
+
* <atl-step label="Account">Account form here.</atl-step>
|
|
1649
1649
|
* ```
|
|
1650
1650
|
*/
|
|
1651
|
-
declare class
|
|
1651
|
+
declare class AtlStep implements OnInit, OnDestroy {
|
|
1652
1652
|
/** Text displayed on the step indicator. Required. */
|
|
1653
1653
|
readonly label: _angular_core.InputSignal<string>;
|
|
1654
1654
|
/** Optional subtitle shown below the label. */
|
|
@@ -1672,8 +1672,8 @@ declare class LlmStep implements OnInit, OnDestroy {
|
|
|
1672
1672
|
constructor();
|
|
1673
1673
|
ngOnInit(): void;
|
|
1674
1674
|
ngOnDestroy(): void;
|
|
1675
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1676
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
1675
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlStep, never>;
|
|
1676
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlStep, "atl-step", never, { "label": { "alias": "label"; "required": true; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "completed": { "alias": "completed"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "optional": { "alias": "optional"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
1677
1677
|
}
|
|
1678
1678
|
|
|
1679
1679
|
/**
|
|
@@ -1682,11 +1682,11 @@ declare class LlmStep implements OnInit, OnDestroy {
|
|
|
1682
1682
|
*
|
|
1683
1683
|
* Usage:
|
|
1684
1684
|
* ```html
|
|
1685
|
-
* <
|
|
1686
|
-
* <
|
|
1685
|
+
* <atl-code-block code="const x = 1;" language="typescript" />
|
|
1686
|
+
* <atl-code-block [code]="generatedCode" filename="app.component.ts" [showLineNumbers]="true" />
|
|
1687
1687
|
* ```
|
|
1688
1688
|
*/
|
|
1689
|
-
declare class
|
|
1689
|
+
declare class AtlCodeBlock {
|
|
1690
1690
|
/** The code string to display. */
|
|
1691
1691
|
readonly code: _angular_core.InputSignal<string>;
|
|
1692
1692
|
/** Language label shown in the header. Ignored if filename is set. */
|
|
@@ -1701,8 +1701,8 @@ declare class LlmCodeBlock {
|
|
|
1701
1701
|
protected readonly displayLabel: _angular_core.Signal<string>;
|
|
1702
1702
|
protected readonly lines: _angular_core.Signal<string[]>;
|
|
1703
1703
|
protected copy(): void;
|
|
1704
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1705
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
1704
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlCodeBlock, never>;
|
|
1705
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlCodeBlock, "atl-code-block", never, { "code": { "alias": "code"; "required": false; "isSignal": true; }; "language": { "alias": "language"; "required": false; "isSignal": true; }; "filename": { "alias": "filename"; "required": false; "isSignal": true; }; "copyable": { "alias": "copyable"; "required": false; "isSignal": true; }; "showLineNumbers": { "alias": "showLineNumbers"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1706
1706
|
}
|
|
1707
1707
|
|
|
1708
1708
|
/**
|
|
@@ -1714,28 +1714,28 @@ declare class LlmCodeBlock {
|
|
|
1714
1714
|
* - `popup`: Floating bubble (bottom-right) + compact chat window.
|
|
1715
1715
|
* - `inline`: Embedded card, sits inline with page content.
|
|
1716
1716
|
*
|
|
1717
|
-
* Compose with `
|
|
1717
|
+
* Compose with `atl-chat-header`, `atl-chat-messages`, `atl-chat-input`.
|
|
1718
1718
|
*
|
|
1719
1719
|
* Usage:
|
|
1720
1720
|
* ```html
|
|
1721
|
-
* <
|
|
1722
|
-
* <
|
|
1723
|
-
* <
|
|
1724
|
-
* <
|
|
1725
|
-
* <
|
|
1726
|
-
* </
|
|
1727
|
-
* <
|
|
1728
|
-
* </
|
|
1721
|
+
* <atl-chat variant="drawer" [(open)]="isOpen" status="idle">
|
|
1722
|
+
* <atl-chat-header>AI Assistant</atl-chat-header>
|
|
1723
|
+
* <atl-chat-messages>
|
|
1724
|
+
* <atl-chat-message role="assistant">Hi! How can I help?</atl-chat-message>
|
|
1725
|
+
* <atl-chat-message role="user">Show me a sorting function.</atl-chat-message>
|
|
1726
|
+
* </atl-chat-messages>
|
|
1727
|
+
* <atl-chat-input placeholder="Ask anything…" (send)="onSend($event)" />
|
|
1728
|
+
* </atl-chat>
|
|
1729
1729
|
* ```
|
|
1730
1730
|
*/
|
|
1731
|
-
declare class
|
|
1731
|
+
declare class AtlChat {
|
|
1732
1732
|
/** Layout variant. */
|
|
1733
|
-
readonly variant: _angular_core.InputSignal<
|
|
1733
|
+
readonly variant: _angular_core.InputSignal<AtlChatVariant>;
|
|
1734
1734
|
/** Whether the chat is open. Used by drawer/popup; ignored by inline. Two-way bindable via [(open)]. */
|
|
1735
1735
|
readonly open: _angular_core.ModelSignal<boolean>;
|
|
1736
1736
|
/** Connection / response status. Drives badge color in header and disables input while streaming. */
|
|
1737
|
-
readonly status: _angular_core.InputSignal<
|
|
1738
|
-
/** @internal — referenced by
|
|
1737
|
+
readonly status: _angular_core.InputSignal<AtlChatStatus>;
|
|
1738
|
+
/** @internal — referenced by AtlChatHeader via ATL_CHAT token for aria-labelledby. */
|
|
1739
1739
|
readonly headerId: string;
|
|
1740
1740
|
protected readonly dialogRef: _angular_core.Signal<ElementRef<HTMLDialogElement> | undefined>;
|
|
1741
1741
|
private readonly host;
|
|
@@ -1744,89 +1744,89 @@ declare class LlmChat {
|
|
|
1744
1744
|
constructor();
|
|
1745
1745
|
protected onCancel(event: Event): void;
|
|
1746
1746
|
protected onBackdropClick(event: MouseEvent): void;
|
|
1747
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1748
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
1747
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlChat, never>;
|
|
1748
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlChat, "atl-chat", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "open": { "alias": "open"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; }, { "open": "openChange"; }, never, ["*"], true, never>;
|
|
1749
1749
|
}
|
|
1750
1750
|
/**
|
|
1751
|
-
* Header slot for `
|
|
1751
|
+
* Header slot for `atl-chat`. Holds the title, status indicator, and close button.
|
|
1752
1752
|
* Children are projected into the title area; the close button is rendered automatically.
|
|
1753
1753
|
*/
|
|
1754
|
-
declare class
|
|
1755
|
-
protected readonly context: _atelier_ui_angular.
|
|
1756
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1757
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
1754
|
+
declare class AtlChatHeader {
|
|
1755
|
+
protected readonly context: _atelier_ui_angular.AtlChatContext;
|
|
1756
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlChatHeader, never>;
|
|
1757
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlChatHeader, "atl-chat-header", never, {}, {}, never, ["*"], true, never>;
|
|
1758
1758
|
}
|
|
1759
1759
|
/**
|
|
1760
|
-
* Scrollable message list for `
|
|
1761
|
-
* `
|
|
1760
|
+
* Scrollable message list for `atl-chat`. Project `atl-chat-message`,
|
|
1761
|
+
* `atl-chat-typing`, or `atl-chat-suggestion` children inside. Auto-scrolls
|
|
1762
1762
|
* to the bottom whenever children are added or content changes — important
|
|
1763
1763
|
* for streaming responses where new tokens are appended live.
|
|
1764
1764
|
*/
|
|
1765
|
-
declare class
|
|
1765
|
+
declare class AtlChatMessages {
|
|
1766
1766
|
private readonly host;
|
|
1767
1767
|
private readonly destroyRef;
|
|
1768
1768
|
constructor();
|
|
1769
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1770
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
1769
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlChatMessages, never>;
|
|
1770
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlChatMessages, "atl-chat-messages", never, {}, {}, never, ["*"], true, never>;
|
|
1771
1771
|
}
|
|
1772
1772
|
/**
|
|
1773
1773
|
* A single chat message. Role drives bubble alignment and color.
|
|
1774
1774
|
*
|
|
1775
1775
|
* Usage:
|
|
1776
1776
|
* ```html
|
|
1777
|
-
* <
|
|
1778
|
-
* <
|
|
1779
|
-
* <
|
|
1777
|
+
* <atl-chat-message role="assistant">Sure, here you go.</atl-chat-message>
|
|
1778
|
+
* <atl-chat-message role="user">Thanks!</atl-chat-message>
|
|
1779
|
+
* <atl-chat-message role="assistant" [failed]="true">Couldn't reach the assistant.</atl-chat-message>
|
|
1780
1780
|
* ```
|
|
1781
1781
|
*/
|
|
1782
|
-
declare class
|
|
1782
|
+
declare class AtlChatMessage {
|
|
1783
1783
|
/** Sender of the message. Drives bubble alignment and color. */
|
|
1784
|
-
readonly role: _angular_core.InputSignal<
|
|
1784
|
+
readonly role: _angular_core.InputSignal<AtlChatMessageRole>;
|
|
1785
1785
|
/** Marks the message as failed (red dashed border, used in error state). */
|
|
1786
1786
|
readonly failed: _angular_core.InputSignal<boolean>;
|
|
1787
1787
|
protected readonly hostClasses: _angular_core.Signal<string>;
|
|
1788
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1789
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
1788
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlChatMessage, never>;
|
|
1789
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlChatMessage, "atl-chat-message", never, { "role": { "alias": "role"; "required": false; "isSignal": true; }; "failed": { "alias": "failed"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
1790
1790
|
}
|
|
1791
1791
|
/**
|
|
1792
1792
|
* Typing indicator (three animated dots).
|
|
1793
1793
|
*
|
|
1794
1794
|
* Two display modes:
|
|
1795
1795
|
* - **Standalone bubble** (default) — render as the last child of
|
|
1796
|
-
* `
|
|
1796
|
+
* `AtlChatMessages` to show "the assistant is starting to respond"
|
|
1797
1797
|
* before any tokens arrive.
|
|
1798
1798
|
* - **Inline cursor** (`inline`) — render as the LAST child INSIDE
|
|
1799
|
-
* `
|
|
1799
|
+
* `AtlChatMessage role="assistant"` to show the dots after the
|
|
1800
1800
|
* currently-streaming text. The bubble background is dropped so the
|
|
1801
1801
|
* dots read as a typing caret at the end of the partial response.
|
|
1802
1802
|
*/
|
|
1803
|
-
declare class
|
|
1803
|
+
declare class AtlChatTyping {
|
|
1804
1804
|
/** When true, renders as an inline cursor without bubble chrome. */
|
|
1805
1805
|
readonly inline: _angular_core.InputSignal<boolean>;
|
|
1806
1806
|
protected readonly hostClasses: _angular_core.Signal<"" | "is-inline">;
|
|
1807
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1808
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
1807
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlChatTyping, never>;
|
|
1808
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlChatTyping, "atl-chat-typing", never, { "inline": { "alias": "inline"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1809
1809
|
}
|
|
1810
1810
|
/**
|
|
1811
1811
|
* Tappable suggestion chip used in the empty state to seed a conversation.
|
|
1812
1812
|
*
|
|
1813
1813
|
* Usage:
|
|
1814
1814
|
* ```html
|
|
1815
|
-
* <
|
|
1815
|
+
* <atl-chat-suggestion label="Explain a code snippet" hint="Tap to start →" (selected)="prompt.set($event)" />
|
|
1816
1816
|
* ```
|
|
1817
1817
|
*/
|
|
1818
|
-
declare class
|
|
1818
|
+
declare class AtlChatSuggestion {
|
|
1819
1819
|
/** Primary label of the suggestion. */
|
|
1820
1820
|
readonly label: _angular_core.InputSignal<string>;
|
|
1821
1821
|
/** Optional secondary hint text shown below the label. */
|
|
1822
1822
|
readonly hint: _angular_core.InputSignal<string>;
|
|
1823
1823
|
/** Fires the label string when the chip is activated. */
|
|
1824
1824
|
readonly selected: _angular_core.OutputEmitterRef<string>;
|
|
1825
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1826
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
1825
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlChatSuggestion, never>;
|
|
1826
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlChatSuggestion, "atl-chat-suggestion", never, { "label": { "alias": "label"; "required": true; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; }, { "selected": "selected"; }, never, never, true, never>;
|
|
1827
1827
|
}
|
|
1828
1828
|
/**
|
|
1829
|
-
* Composable input footer for `
|
|
1829
|
+
* Composable input footer for `atl-chat`. Wraps a text field and emits
|
|
1830
1830
|
* `send` (or `stop` while the assistant is streaming).
|
|
1831
1831
|
*
|
|
1832
1832
|
* The button automatically switches to a `danger` "Stop" button when the
|
|
@@ -1834,10 +1834,10 @@ declare class LlmChatSuggestion {
|
|
|
1834
1834
|
*
|
|
1835
1835
|
* Usage:
|
|
1836
1836
|
* ```html
|
|
1837
|
-
* <
|
|
1837
|
+
* <atl-chat-input placeholder="Ask anything…" (send)="onSend($event)" (stop)="onStop()" />
|
|
1838
1838
|
* ```
|
|
1839
1839
|
*/
|
|
1840
|
-
declare class
|
|
1840
|
+
declare class AtlChatInput {
|
|
1841
1841
|
/** Placeholder shown in the empty input. Defaults change per parent status. */
|
|
1842
1842
|
readonly placeholder: _angular_core.InputSignal<string>;
|
|
1843
1843
|
/** Accessible label for the input field. */
|
|
@@ -1848,29 +1848,29 @@ declare class LlmChatInput {
|
|
|
1848
1848
|
readonly send: _angular_core.OutputEmitterRef<string>;
|
|
1849
1849
|
/** Fires when the Stop button is clicked while the parent chat is streaming. */
|
|
1850
1850
|
readonly stop: _angular_core.OutputEmitterRef<void>;
|
|
1851
|
-
protected readonly context: _atelier_ui_angular.
|
|
1851
|
+
protected readonly context: _atelier_ui_angular.AtlChatContext;
|
|
1852
1852
|
protected readonly isStreaming: _angular_core.Signal<boolean>;
|
|
1853
1853
|
protected readonly effectivePlaceholder: _angular_core.Signal<string>;
|
|
1854
1854
|
protected onInput(event: Event): void;
|
|
1855
1855
|
protected onEnter(event: Event): void;
|
|
1856
1856
|
protected emitSend(): void;
|
|
1857
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1858
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
1857
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AtlChatInput, never>;
|
|
1858
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlChatInput, "atl-chat-input", never, { "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "send": "send"; "stop": "stop"; }, never, never, true, never>;
|
|
1859
1859
|
}
|
|
1860
1860
|
|
|
1861
1861
|
/**
|
|
1862
|
-
* Context token used by `
|
|
1862
|
+
* Context token used by `atl-chat` sub-components (header, input) to
|
|
1863
1863
|
* read parent state and dispatch close/toggle actions without a direct
|
|
1864
1864
|
* component reference.
|
|
1865
1865
|
*/
|
|
1866
|
-
interface
|
|
1866
|
+
interface AtlChatContext {
|
|
1867
1867
|
readonly headerId: string;
|
|
1868
|
-
readonly variant: Signal<
|
|
1869
|
-
readonly status: Signal<
|
|
1868
|
+
readonly variant: Signal<AtlChatVariant>;
|
|
1869
|
+
readonly status: Signal<AtlChatStatus>;
|
|
1870
1870
|
close(): void;
|
|
1871
1871
|
toggle(): void;
|
|
1872
1872
|
}
|
|
1873
|
-
declare const
|
|
1873
|
+
declare const ATL_CHAT: InjectionToken<AtlChatContext>;
|
|
1874
1874
|
|
|
1875
|
-
export {
|
|
1876
|
-
export type {
|
|
1875
|
+
export { ATL_ACCORDION_GROUP, ATL_BREADCRUMBS, ATL_CHAT, ATL_DIALOG, ATL_DRAWER, ATL_RADIO_GROUP, ATL_SELECT, ATL_STEPPER, ATL_TABLE, ATL_TAB_GROUP, AtlAccordionGroup, AtlAccordionHeader, AtlAccordionItem, AtlAlert, AtlAvatar, AtlAvatarGroup, AtlBadge, AtlBreadcrumbItem, AtlBreadcrumbs, AtlButton, AtlCard, AtlCardContent, AtlCardFooter, AtlCardHeader, AtlChat, AtlChatHeader, AtlChatInput, AtlChatMessage, AtlChatMessages, AtlChatSuggestion, AtlChatTyping, AtlCheckbox, AtlCodeBlock, AtlCombobox, AtlDialog, AtlDialogContent, AtlDialogFooter, AtlDialogHeader, AtlDrawer, AtlDrawerContent, AtlDrawerFooter, AtlDrawerHeader, AtlIcon, AtlInput, AtlMenu, AtlMenuItem, AtlMenuSeparator, AtlMenuTrigger, AtlOption, AtlPagination, AtlProgress, AtlRadio, AtlRadioGroup, AtlSelect, AtlSkeleton, AtlStep, AtlStepper, AtlTab, AtlTabGroup, AtlTable, AtlTbody, AtlTd, AtlTextarea, AtlTh, AtlThead, AtlToast, AtlToastContainer, AtlToastService, AtlToggle, AtlTooltip, AtlTr };
|
|
1876
|
+
export type { AtlAccordionGroupContext, AtlBreadcrumbsContext, AtlChatContext, AtlDialogContext, AtlDrawerContext, AtlRadioGroupContext, AtlSelectContext, AtlSortDirection, AtlStepperContext, AtlTabGroupContext, AtlTableContext, PageItem, StepInfo, TabInfo, ToastData, ToastOptions };
|