@ids-group-ltd/ids-design-system 1.1.0 → 1.1.1
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/CHANGELOG.md +175 -0
- package/agent/INDEX.md +1 -1
- package/agent/feedback/ds-alert.md +3 -2
- package/agent/feedback/ds-chat-message.md +3 -3
- package/agent/feedback/ds-chat-step.md +1 -1
- package/agent/feedback/ds-chat-steps.md +1 -1
- package/agent/feedback/ds-chat-thread.md +2 -2
- package/agent/feedback/ds-tree.md +1 -1
- package/agent/forms/ds-chat-input.md +1 -1
- package/agent/foundations/tokens.md +2 -2
- package/components.md +14 -13
- package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs +5 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chat.mjs +141 -71
- package/fesm2022/ids-group-ltd-ids-design-system-components-chat.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs +16 -12
- package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-splitter.mjs +116 -10
- package/fesm2022/ids-group-ltd-ids-design-system-components-splitter.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs +4 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs +4 -19
- package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs +40 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +31 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +20 -0
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs +4 -2
- package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system.mjs +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
- package/migrations/0.11.2.json +1 -0
- package/migrations/1.0.1.json +4 -0
- package/migrations/1.0.2.json +9 -1
- package/migrations/1.1.0.json +25 -0
- package/migrations/1.1.1.json +190 -0
- package/migrations/README.md +6 -6
- package/package.json +1 -1
- package/schematics/check-overrides/surface.json +20 -3
- package/styles/_dropdown-overlay.scss +5 -2
- package/styles/_field-box.scss +2 -2
- package/themes/README.md +1 -1
- package/themes/_semantic.scss +5 -0
- package/themes/dark/_theme.scss +11 -3
- package/types/ids-group-ltd-ids-design-system-components-alert.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-chat.d.ts +42 -5
- package/types/ids-group-ltd-ids-design-system-components-splitter.d.ts +15 -1
- package/types/ids-group-ltd-ids-design-system-components-textarea.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-tree.d.ts +39 -3
- package/types/ids-group-ltd-ids-design-system-components.d.ts +8 -4
- package/types/ids-group-ltd-ids-design-system-core.d.ts +22 -0
- package/types/ids-group-ltd-ids-design-system.d.ts +2 -2
|
@@ -14,6 +14,8 @@ declare class AlertComponent {
|
|
|
14
14
|
readonly dismissible: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
15
15
|
/** Override the variant's default icon. */
|
|
16
16
|
readonly icon: _angular_core.InputSignal<IconName | null>;
|
|
17
|
+
/** Fills the container instead of hugging its content. */
|
|
18
|
+
readonly fullWidth: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
17
19
|
/** Fires when the user dismisses the alert. */
|
|
18
20
|
readonly closed: _angular_core.OutputEmitterRef<void>;
|
|
19
21
|
/** Announce this alert to a screen reader when it appears. Unset follows
|
|
@@ -29,7 +31,7 @@ declare class AlertComponent {
|
|
|
29
31
|
protected readonly resolvedIcon: _angular_core.Signal<IconName>;
|
|
30
32
|
protected onDismiss(leaving: HTMLElement): void;
|
|
31
33
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AlertComponent, never>;
|
|
32
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AlertComponent, "ds-alert", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "dismissible": { "alias": "dismissible"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "announce": { "alias": "announce"; "required": false; "isSignal": true; }; }, { "closed": "closed"; }, never, ["*", "[actions]"], true, never>;
|
|
34
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AlertComponent, "ds-alert", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "dismissible": { "alias": "dismissible"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "announce": { "alias": "announce"; "required": false; "isSignal": true; }; }, { "closed": "closed"; }, never, ["*", "[actions]"], true, never>;
|
|
33
35
|
}
|
|
34
36
|
|
|
35
37
|
export { AlertComponent };
|
|
@@ -24,9 +24,12 @@ interface ChatStepsContract {
|
|
|
24
24
|
readonly firstStep: Signal<object | undefined>;
|
|
25
25
|
/** The step that draws no gap below it. */
|
|
26
26
|
readonly lastStep: Signal<object | undefined>;
|
|
27
|
+
/** Milliseconds from now before a step that settles now may show it, given when it began running. */
|
|
28
|
+
settleDelay(runningSince: number): number;
|
|
27
29
|
}
|
|
28
30
|
|
|
29
|
-
type ChatMessageRole = 'user' | 'assistant';
|
|
31
|
+
type ChatMessageRole = 'user' | 'assistant' | 'system';
|
|
32
|
+
type ChatMessageTone = 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
30
33
|
type ChatMessageStatus = 'sending' | 'sent' | 'failed';
|
|
31
34
|
type ChatStepsEnter = 'together' | 'stagger';
|
|
32
35
|
type ChatStepStatus = 'done' | 'running' | 'pending' | 'waiting' | 'error';
|
|
@@ -40,6 +43,15 @@ type ChatStepStatus = 'done' | 'running' | 'pending' | 'waiting' | 'error';
|
|
|
40
43
|
declare class ChatMessageComponent {
|
|
41
44
|
/** Who wrote it: `'user'` draws a filled bubble on the right, `'assistant'` a subtle one on the left. */
|
|
42
45
|
readonly role: _angular_core.InputSignal<ChatMessageRole>;
|
|
46
|
+
/** What a `'system'` notice means. `'neutral'` is a quiet one-line plaque for a routine note
|
|
47
|
+
* (saved, switched, started); `'info'`, `'success'`, `'warning'` and `'error'` draw a card in that
|
|
48
|
+
* status colour with its icon, for a note the reader should not miss. Other roles ignore it. */
|
|
49
|
+
readonly tone: _angular_core.InputSignal<ChatMessageTone>;
|
|
50
|
+
/** A bold first line of a `'system'` notice, for one that carries a detail under it. */
|
|
51
|
+
readonly title: _angular_core.InputSignal<string>;
|
|
52
|
+
/** Icon at the start of a `'system'` notice. A toned notice shows its tone's icon without it; a
|
|
53
|
+
* `'neutral'` one shows none. */
|
|
54
|
+
readonly icon: _angular_core.InputSignal<IconName | null>;
|
|
43
55
|
/** Name shown above the bubble. Without it the role is spoken (`DS_INTL.chat.user` / `assistant`). */
|
|
44
56
|
readonly author: _angular_core.InputSignal<string>;
|
|
45
57
|
/** Time label, already formatted, shown under the bubble. In a `ds-chat-thread` only the last message
|
|
@@ -83,6 +95,7 @@ declare class ChatMessageComponent {
|
|
|
83
95
|
protected readonly wording: _angular_core.Signal<{
|
|
84
96
|
user: string;
|
|
85
97
|
assistant: string;
|
|
98
|
+
system: string;
|
|
86
99
|
thread: string;
|
|
87
100
|
working: string;
|
|
88
101
|
newMessages: (count: number) => string;
|
|
@@ -103,6 +116,7 @@ declare class ChatMessageComponent {
|
|
|
103
116
|
stepFailed: string;
|
|
104
117
|
stepDetails: (heading: string) => string;
|
|
105
118
|
}>;
|
|
119
|
+
protected readonly noticeIcon: _angular_core.Signal<IconName | null>;
|
|
106
120
|
protected readonly speaker: _angular_core.Signal<string>;
|
|
107
121
|
private readonly host;
|
|
108
122
|
constructor();
|
|
@@ -111,7 +125,7 @@ declare class ChatMessageComponent {
|
|
|
111
125
|
private growIn;
|
|
112
126
|
private applyFold;
|
|
113
127
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChatMessageComponent, never>;
|
|
114
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChatMessageComponent, "ds-chat-message", never, { "role": { "alias": "role"; "required": false; "isSignal": true; }; "author": { "alias": "author"; "required": false; "isSignal": true; }; "time": { "alias": "time"; "required": false; "isSignal": true; }; "sentAt": { "alias": "sentAt"; "required": false; "isSignal": true; }; "streaming": { "alias": "streaming"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "stepsFolded": { "alias": "stepsFolded"; "required": false; "isSignal": true; }; }, { "stepsFolded": "stepsFoldedChange"; "retry": "retry"; }, ["stepList", "steps", "stepElements"], ["[steps]", "*", "[attachments]", "[actions]"], true, never>;
|
|
128
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChatMessageComponent, "ds-chat-message", never, { "role": { "alias": "role"; "required": false; "isSignal": true; }; "tone": { "alias": "tone"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "author": { "alias": "author"; "required": false; "isSignal": true; }; "time": { "alias": "time"; "required": false; "isSignal": true; }; "sentAt": { "alias": "sentAt"; "required": false; "isSignal": true; }; "streaming": { "alias": "streaming"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "stepsFolded": { "alias": "stepsFolded"; "required": false; "isSignal": true; }; }, { "stepsFolded": "stepsFoldedChange"; "retry": "retry"; }, ["stepList", "steps", "stepElements"], ["[steps]", "*", "[attachments]", "[actions]"], true, never>;
|
|
115
129
|
}
|
|
116
130
|
|
|
117
131
|
/**
|
|
@@ -219,8 +233,17 @@ declare class ChatStepsComponent {
|
|
|
219
233
|
readonly firstStep: _angular_core.Signal<object | undefined>;
|
|
220
234
|
/** The step that draws no gap below it. */
|
|
221
235
|
readonly lastStep: _angular_core.Signal<object | undefined>;
|
|
236
|
+
/** Shortest time a step shows as running before its final status, even when it finishes at once;
|
|
237
|
+
* `0` shows the final status at once. */
|
|
238
|
+
readonly minRunningMs: _angular_core.InputSignal<number>;
|
|
239
|
+
/** Shortest gap between two steps showing their final status, so steps that finish together
|
|
240
|
+
* settle one after another; `0` lets them settle together. */
|
|
241
|
+
readonly revealStaggerMs: _angular_core.InputSignal<number>;
|
|
242
|
+
private lastSettle;
|
|
243
|
+
/** @internal */
|
|
244
|
+
settleDelay(runningSince: number): number;
|
|
222
245
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChatStepsComponent, never>;
|
|
223
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChatStepsComponent, "ds-chat-steps", never, { "enter": { "alias": "enter"; "required": false; "isSignal": true; }; }, {}, ["items"], ["*"], true, never>;
|
|
246
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChatStepsComponent, "ds-chat-steps", never, { "enter": { "alias": "enter"; "required": false; "isSignal": true; }; "minRunningMs": { "alias": "minRunningMs"; "required": false; "isSignal": true; }; "revealStaggerMs": { "alias": "revealStaggerMs"; "required": false; "isSignal": true; }; }, {}, ["items"], ["*"], true, never>;
|
|
224
247
|
}
|
|
225
248
|
|
|
226
249
|
/**
|
|
@@ -240,6 +263,12 @@ declare class ChatStepComponent {
|
|
|
240
263
|
private readonly intl;
|
|
241
264
|
protected readonly steps: ChatStepsContract | null;
|
|
242
265
|
protected readonly detailsId: string;
|
|
266
|
+
/** The status on screen: `status`, held back while `ds-chat-steps` paces an instant finish. */
|
|
267
|
+
protected readonly shownStatus: _angular_core.WritableSignal<ChatStepStatus | null>;
|
|
268
|
+
private runningSince;
|
|
269
|
+
private settleTimer;
|
|
270
|
+
constructor();
|
|
271
|
+
private show;
|
|
243
272
|
protected readonly isFirst: _angular_core.Signal<boolean>;
|
|
244
273
|
protected readonly isLast: _angular_core.Signal<boolean>;
|
|
245
274
|
protected readonly nodeIcon: _angular_core.Signal<IconName | null>;
|
|
@@ -277,6 +306,9 @@ declare class ChatInputComponent {
|
|
|
277
306
|
/** Work in flight: the send button keeps its place, shows a spinner and refuses to submit, and
|
|
278
307
|
* Enter does not submit. The text area stays editable. */
|
|
279
308
|
readonly busy: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
309
|
+
/** While `busy`, the default send button becomes Stop: a square inside a turning ring that emits
|
|
310
|
+
* `stopRequested`. */
|
|
311
|
+
readonly stoppable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
280
312
|
/** The current step while `busy`, such as "Rebuilding"; where it shows follows `layout`. */
|
|
281
313
|
readonly busyLabel: _angular_core.InputSignal<string>;
|
|
282
314
|
/** Where the buttons and the step text sit. `'status-bar'`: buttons inside, the step text in the
|
|
@@ -288,6 +320,8 @@ declare class ChatInputComponent {
|
|
|
288
320
|
/** The trimmed text, on Enter or the send button. Never fires for blank text, while `busy` or
|
|
289
321
|
* while `disabled`. */
|
|
290
322
|
readonly submitted: _angular_core.OutputEmitterRef<string>;
|
|
323
|
+
/** The Stop button was pressed; fires only while `busy`, `stoppable` and not `disabled`. */
|
|
324
|
+
readonly stopRequested: _angular_core.OutputEmitterRef<void>;
|
|
291
325
|
/** Image files pasted into the text area. The paste inserts no text when it carries images. */
|
|
292
326
|
readonly filesPasted: _angular_core.OutputEmitterRef<File[]>;
|
|
293
327
|
/** True when Enter or the send button would submit; bind it in a `[send]` slot. */
|
|
@@ -295,16 +329,19 @@ declare class ChatInputComponent {
|
|
|
295
329
|
private readonly labels;
|
|
296
330
|
protected readonly textareaLabel: _angular_core.Signal<string>;
|
|
297
331
|
protected readonly sendLabel: _angular_core.Signal<string>;
|
|
332
|
+
protected readonly stopLabel: _angular_core.Signal<string>;
|
|
333
|
+
protected readonly stopShown: _angular_core.Signal<boolean>;
|
|
298
334
|
protected readonly statusAbove: _angular_core.Signal<boolean>;
|
|
299
335
|
protected readonly statusText: _angular_core.Signal<string>;
|
|
300
336
|
/** Emits `submitted` when `canSubmit`; for a send button rendered in the `[send]` slot. */
|
|
301
337
|
submit(): void;
|
|
338
|
+
protected onSendPressed(): void;
|
|
302
339
|
/** Moves keyboard focus to the text area. */
|
|
303
340
|
focus(options?: FocusOptions): void;
|
|
304
341
|
protected onKeydown(event: KeyboardEvent): void;
|
|
305
342
|
protected onPaste(event: ClipboardEvent): void;
|
|
306
343
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChatInputComponent, never>;
|
|
307
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChatInputComponent, "ds-chat-input", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "minRows": { "alias": "minRows"; "required": false; "isSignal": true; }; "maxRows": { "alias": "maxRows"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "busy": { "alias": "busy"; "required": false; "isSignal": true; }; "busyLabel": { "alias": "busyLabel"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "submitted": "submitted"; "filesPasted": "filesPasted"; }, never, ["[attachments]", "[chips]", "[actions]", "[send]"], true, never>;
|
|
344
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChatInputComponent, "ds-chat-input", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "minRows": { "alias": "minRows"; "required": false; "isSignal": true; }; "maxRows": { "alias": "maxRows"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "busy": { "alias": "busy"; "required": false; "isSignal": true; }; "stoppable": { "alias": "stoppable"; "required": false; "isSignal": true; }; "busyLabel": { "alias": "busyLabel"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "submitted": "submitted"; "stopRequested": "stopRequested"; "filesPasted": "filesPasted"; }, never, ["[attachments]", "[chips]", "[actions]", "[send]"], true, never>;
|
|
308
345
|
}
|
|
309
346
|
|
|
310
347
|
type AttachmentKind = 'pdf' | 'doc' | 'image' | 'file';
|
|
@@ -337,4 +374,4 @@ declare class AttachmentComponent {
|
|
|
337
374
|
}
|
|
338
375
|
|
|
339
376
|
export { AttachmentComponent, ChatAttachmentComponent, ChatInputComponent, ChatMessageComponent, ChatStepComponent, ChatStepsComponent, ChatThreadComponent };
|
|
340
|
-
export type { AttachmentKind, ChatInputLayout, ChatMessageRole, ChatMessageStatus, ChatStepStatus, ChatStepsEnter };
|
|
377
|
+
export type { AttachmentKind, ChatInputLayout, ChatMessageRole, ChatMessageStatus, ChatMessageTone, ChatStepStatus, ChatStepsEnter };
|
|
@@ -21,6 +21,8 @@ declare class SplitterComponent implements OnInit, OnDestroy {
|
|
|
21
21
|
private readonly document;
|
|
22
22
|
private readonly zone;
|
|
23
23
|
private readonly handle;
|
|
24
|
+
private readonly fogStart;
|
|
25
|
+
private readonly fogEnd;
|
|
24
26
|
/** `'horizontal'`: panes side by side. `'vertical'`: panes stacked. */
|
|
25
27
|
readonly orientation: _angular_core.InputSignal<SplitterOrientation>;
|
|
26
28
|
/** The pane `size` measures; the other pane takes the rest. */
|
|
@@ -40,6 +42,10 @@ declare class SplitterComponent implements OnInit, OnDestroy {
|
|
|
40
42
|
/** Dragged past `min` or `max`: `'elastic'` follows the pointer with growing resistance and springs
|
|
41
43
|
* back on release, `'none'` stops at the limit. Off under `prefers-reduced-motion: reduce`. */
|
|
42
44
|
readonly overdrag: _angular_core.InputSignal<SplitterOverdrag>;
|
|
45
|
+
/** While dragging, shades the pane the handle moves towards, stronger the faster and farther the drag;
|
|
46
|
+
* the shade rides the rubber band past a limit and fades when the hand stops or lets go. Colour:
|
|
47
|
+
* `--ds-splitter-fog-color`. Off under `prefers-reduced-motion: reduce`. */
|
|
48
|
+
readonly dragFog: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
43
49
|
protected readonly startId: string;
|
|
44
50
|
protected readonly endId: string;
|
|
45
51
|
protected readonly dragging: _angular_core.WritableSignal<boolean>;
|
|
@@ -52,6 +58,7 @@ declare class SplitterComponent implements OnInit, OnDestroy {
|
|
|
52
58
|
private pendingMove;
|
|
53
59
|
private frame;
|
|
54
60
|
private springTimer;
|
|
61
|
+
private fogTimer;
|
|
55
62
|
constructor();
|
|
56
63
|
ngOnInit(): void;
|
|
57
64
|
ngOnDestroy(): void;
|
|
@@ -59,16 +66,23 @@ declare class SplitterComponent implements OnInit, OnDestroy {
|
|
|
59
66
|
private readonly onPointerMove;
|
|
60
67
|
private applyMove;
|
|
61
68
|
private stretch;
|
|
69
|
+
private shade;
|
|
70
|
+
private sideOf;
|
|
71
|
+
private clearFog;
|
|
72
|
+
private syncFogTransforms;
|
|
62
73
|
private movingParts;
|
|
63
74
|
private clearTransforms;
|
|
64
75
|
private stopSpring;
|
|
65
76
|
private springBack;
|
|
66
77
|
protected onPointerUp(event: PointerEvent): void;
|
|
78
|
+
private readonly finishDrag;
|
|
79
|
+
private readonly onWindowBlur;
|
|
67
80
|
protected onKeydown(event: KeyboardEvent): void;
|
|
68
81
|
protected reset(): void;
|
|
69
82
|
private commit;
|
|
70
83
|
private endDrag;
|
|
71
84
|
private storageKey;
|
|
85
|
+
private alongAxis;
|
|
72
86
|
private fromPaneEdge;
|
|
73
87
|
private clamp;
|
|
74
88
|
private clampToBox;
|
|
@@ -76,7 +90,7 @@ declare class SplitterComponent implements OnInit, OnDestroy {
|
|
|
76
90
|
private panesBox;
|
|
77
91
|
private cursorFor;
|
|
78
92
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SplitterComponent, never>;
|
|
79
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SplitterComponent, "ds-splitter", never, { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "pane": { "alias": "pane"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "defaultSize": { "alias": "defaultSize"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "persistKey": { "alias": "persistKey"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "overdrag": { "alias": "overdrag"; "required": false; "isSignal": true; }; }, { "size": "sizeChange"; }, never, ["[start]", "[end]"], true, never>;
|
|
93
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SplitterComponent, "ds-splitter", never, { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "pane": { "alias": "pane"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "defaultSize": { "alias": "defaultSize"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "persistKey": { "alias": "persistKey"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "overdrag": { "alias": "overdrag"; "required": false; "isSignal": true; }; "dragFog": { "alias": "dragFog"; "required": false; "isSignal": true; }; }, { "size": "sizeChange"; }, never, ["[start]", "[end]"], true, never>;
|
|
80
94
|
}
|
|
81
95
|
|
|
82
96
|
export { SplitterComponent };
|
|
@@ -87,6 +87,8 @@ declare class TextareaComponent extends DsControlValueAccessor<string> {
|
|
|
87
87
|
protected readonly wrapperClasses: _angular_core.Signal<string>;
|
|
88
88
|
protected readonly autosizeMinHeight: _angular_core.Signal<string | null>;
|
|
89
89
|
protected readonly autosizeMaxHeight: _angular_core.Signal<string | null>;
|
|
90
|
+
protected readonly placeholderLineShown: _angular_core.Signal<boolean>;
|
|
91
|
+
protected readonly placeholderRows: _angular_core.Signal<number>;
|
|
90
92
|
protected readonly effectiveResize: _angular_core.Signal<TextareaResize>;
|
|
91
93
|
constructor();
|
|
92
94
|
protected syncOverflowScroll(): void;
|
|
@@ -11,6 +11,41 @@ interface TreeNode {
|
|
|
11
11
|
}
|
|
12
12
|
type TreeSelection = 'single' | 'multiple';
|
|
13
13
|
|
|
14
|
+
/** What a `dsTreeLabel` template is handed: the row's node, its nesting level (`0` for a root
|
|
15
|
+
* node) and whether the row is selected and disabled. */
|
|
16
|
+
interface TreeLabelContext {
|
|
17
|
+
readonly $implicit: TreeNode;
|
|
18
|
+
readonly node: TreeNode;
|
|
19
|
+
readonly level: number;
|
|
20
|
+
readonly selected: boolean;
|
|
21
|
+
readonly disabled: boolean;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Content drawn in place of a `ds-tree` row's label, for a label of more than one line or one
|
|
25
|
+
* that mixes styles.
|
|
26
|
+
*
|
|
27
|
+
* ```html
|
|
28
|
+
* <ds-tree [nodes]="layers">
|
|
29
|
+
* <ng-template dsTreeLabel let-node>
|
|
30
|
+
* <span class="tag">{{ tags[node.id] }}</span>
|
|
31
|
+
* <span class="text">{{ node.label }}</span>
|
|
32
|
+
* </ng-template>
|
|
33
|
+
* </ds-tree>
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* The row grows to the template's height and the label takes the width between the icon and
|
|
37
|
+
* the trailing content, so an element inside it can cut its text with an ellipsis. The text the
|
|
38
|
+
* template renders is the row's accessible name; a template that draws no text needs a
|
|
39
|
+
* visually hidden element with the name in it. A click inside it selects the row as a click on
|
|
40
|
+
* the default label does.
|
|
41
|
+
*/
|
|
42
|
+
declare class TreeLabelDirective {
|
|
43
|
+
readonly template: TemplateRef<TreeLabelContext>;
|
|
44
|
+
static ngTemplateContextGuard(_directive: TreeLabelDirective, _context: unknown): _context is TreeLabelContext;
|
|
45
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TreeLabelDirective, never>;
|
|
46
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TreeLabelDirective, "ng-template[dsTreeLabel]", never, {}, {}, never, never, true, never>;
|
|
47
|
+
}
|
|
48
|
+
|
|
14
49
|
/** What a `dsTreeTrailing` template is handed: the row's node, as `$implicit` and again as `node`. */
|
|
15
50
|
interface TreeTrailingContext {
|
|
16
51
|
readonly $implicit: TreeNode;
|
|
@@ -60,6 +95,7 @@ declare class TreeComponent {
|
|
|
60
95
|
readonly nodeSelected: _angular_core.OutputEmitterRef<TreeNode>;
|
|
61
96
|
/** Fires with the node under the pointer or newly focused, and `null` when the pointer leaves the tree. */
|
|
62
97
|
readonly nodeHover: _angular_core.OutputEmitterRef<TreeNode | null>;
|
|
98
|
+
protected readonly label: _angular_core.Signal<TreeLabelDirective | undefined>;
|
|
63
99
|
protected readonly trailing: _angular_core.Signal<TreeTrailingDirective | undefined>;
|
|
64
100
|
protected readonly idPrefix: string;
|
|
65
101
|
private readonly activeId;
|
|
@@ -83,8 +119,8 @@ declare class TreeComponent {
|
|
|
83
119
|
private fromTrailing;
|
|
84
120
|
private parkTrailingTabStops;
|
|
85
121
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TreeComponent, never>;
|
|
86
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TreeComponent, "ds-tree", never, { "nodes": { "alias": "nodes"; "required": false; "isSignal": true; }; "expandedIds": { "alias": "expandedIds"; "required": false; "isSignal": true; }; "selection": { "alias": "selection"; "required": false; "isSignal": true; }; "selectedId": { "alias": "selectedId"; "required": false; "isSignal": true; }; "selectedIds": { "alias": "selectedIds"; "required": false; "isSignal": true; }; }, { "expandedIds": "expandedIdsChange"; "selectedId": "selectedIdChange"; "selectedIds": "selectedIdsChange"; "nodeSelected": "nodeSelected"; "nodeHover": "nodeHover"; }, ["trailing"], never, true, never>;
|
|
122
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TreeComponent, "ds-tree", never, { "nodes": { "alias": "nodes"; "required": false; "isSignal": true; }; "expandedIds": { "alias": "expandedIds"; "required": false; "isSignal": true; }; "selection": { "alias": "selection"; "required": false; "isSignal": true; }; "selectedId": { "alias": "selectedId"; "required": false; "isSignal": true; }; "selectedIds": { "alias": "selectedIds"; "required": false; "isSignal": true; }; }, { "expandedIds": "expandedIdsChange"; "selectedId": "selectedIdChange"; "selectedIds": "selectedIdsChange"; "nodeSelected": "nodeSelected"; "nodeHover": "nodeHover"; }, ["label", "trailing"], never, true, never>;
|
|
87
123
|
}
|
|
88
124
|
|
|
89
|
-
export { TreeComponent, TreeTrailingDirective };
|
|
90
|
-
export type { TreeNode, TreeSelection, TreeTrailingContext };
|
|
125
|
+
export { TreeComponent, TreeLabelDirective, TreeTrailingDirective };
|
|
126
|
+
export type { TreeLabelContext, TreeNode, TreeSelection, TreeTrailingContext };
|
|
@@ -5,7 +5,7 @@ import { ChartValueFormat, ChartCurve, DsIntl, ChartThreshold, IconName, ChartDa
|
|
|
5
5
|
import { ControlValueAccessor } from '@angular/forms';
|
|
6
6
|
import { FieldMessageState } from '@ids-group-ltd/ids-design-system/components/field-message';
|
|
7
7
|
import { Params, QueryParamsHandling, UrlTree } from '@angular/router';
|
|
8
|
-
import { OverlayRef, Overlay, FlexibleConnectedPositionStrategy, OverlayConfig } from '@angular/cdk/overlay';
|
|
8
|
+
import { OverlayRef, Overlay, FlexibleConnectedPositionStrategy, OverlayConfig, ConnectionPositionPair } from '@angular/cdk/overlay';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Resolves one brand string against the app-level default. `null` means unset;
|
|
@@ -848,10 +848,14 @@ declare function disposeWithLeave(overlayRef: OverlayRef | null | undefined, cau
|
|
|
848
848
|
* @internal
|
|
849
849
|
*/
|
|
850
850
|
declare function forwardOverlayTokens(overlayRef: OverlayRef, host: HTMLElement, tokens: readonly string[]): void;
|
|
851
|
-
/**
|
|
851
|
+
/** The side of the trigger a connection pair puts the panel on. An axis decides only where the
|
|
852
|
+
* pair pins opposite edges together: a side pair aligning top edges keeps `overlayY: 'top'`.
|
|
853
|
+
* A pair covering the trigger falls back to `overlayY`, so `top` means it hangs BELOW.
|
|
852
854
|
* @internal
|
|
853
855
|
*/
|
|
854
|
-
declare function overlayPlacementOf(overlayY:
|
|
856
|
+
declare function overlayPlacementOf({ originX, originY, overlayX, overlayY, }: Pick<ConnectionPositionPair, 'originX' | 'originY' | 'overlayX' | 'overlayY'>): DsOverlayPlacement;
|
|
857
|
+
/** @internal */
|
|
858
|
+
declare function pointArrowAtHost(ref: OverlayRef, panel: HTMLElement, host: HTMLElement): void;
|
|
855
859
|
/**
|
|
856
860
|
* Primes a `ds-overlay-pane` for its enter animation. Call right after `overlay.create()`:
|
|
857
861
|
* CDK positions in `afterNextRender`, so the placement stamp lands before the first painted
|
|
@@ -1047,5 +1051,5 @@ declare function resolveChartDefaults(inputs: ChartDefaultInputs): {
|
|
|
1047
1051
|
tooltipSwatches: Signal<boolean | "auto">;
|
|
1048
1052
|
};
|
|
1049
1053
|
|
|
1050
|
-
export { CHART_GLIDE_HEAD_START_MS, CHART_HEAT_COLORS, CHART_RAMP_COLORS, CHART_RENDER_GATE_PASSED, CHART_SERIES_COLORS, CHART_SKELETON_COUNT, CHART_TOOLTIP_LINGER_MS, DS_FIELD_WARNING_KIND, DsBooleanControlValueAccessor, DsChartBase, DsChipTemplateDirective, DsControlValueAccessor, DsCreateTemplateDirective, DsEmptyTemplateDirective, DsFieldBase, DsFormControlBase, DsGroupLabelTemplateDirective, DsMessageBase, DsOptionTemplateDirective, DsPanelFooterTemplateDirective, DsPanelHeaderTemplateDirective, DsPickerTriggerDirective, DsStaticPreview, FieldClickFocusDirective, ProjectionDroppedDirective, afterTwoFrames, announceOptionCount, areaPath, bandPath, bandScale, chartColors, chartDelay, chartDwell, chartHoverDelayMs, chartOf, chartRenderGate, chartTiming, chartValueFormat, chipFit, clearOnDetach, closeOnOutsidePointer, closeOnScroll, createTypeAhead, decimationTarget, describeSeries, describeShare, dimmedBy, disposeWithLeave, domainMinOf, dropdownMinWidth, dropdownOverlay, dsAriaCurrent, dsDestination, dwellHighlight, elementWidth, focusIsInside, focusMark, focusRescue, fontsLoaded, formatPercent, formatTick, formatValue, formatWholePercent, forwardOverlayTokens, labelInterval, largestRemainder, leaveMark, leftMark, linePath, lineSegments, linearScale, listenForEscape, listenForMarkFocus, lttbDecimate, markAt, markOf, minMaxDecimate, moveFocusOutOf, needsDecimating, nextControlId, nextRovingIndex, niceDomain, overlayPlacementOf, panelClassesOf, prepareOverlayEnter, readOnHostResize, resolveBrandValue, resolveChartDefaults, resolveFieldMessage, rotationWouldFit, roundStepAtLeast, rovingMarks, scrollActiveOptionIntoView, shareOfTotal, skeletonColumnHeights, skeletonFunnelClips, skeletonLineClip, skeletonMarkCount, skeletonWaterfallSteps, staggerDelay, tickValues, trimmedText, tweenMarks, valueControlBridge, watchElementWidth };
|
|
1054
|
+
export { CHART_GLIDE_HEAD_START_MS, CHART_HEAT_COLORS, CHART_RAMP_COLORS, CHART_RENDER_GATE_PASSED, CHART_SERIES_COLORS, CHART_SKELETON_COUNT, CHART_TOOLTIP_LINGER_MS, DS_FIELD_WARNING_KIND, DsBooleanControlValueAccessor, DsChartBase, DsChipTemplateDirective, DsControlValueAccessor, DsCreateTemplateDirective, DsEmptyTemplateDirective, DsFieldBase, DsFormControlBase, DsGroupLabelTemplateDirective, DsMessageBase, DsOptionTemplateDirective, DsPanelFooterTemplateDirective, DsPanelHeaderTemplateDirective, DsPickerTriggerDirective, DsStaticPreview, FieldClickFocusDirective, ProjectionDroppedDirective, afterTwoFrames, announceOptionCount, areaPath, bandPath, bandScale, chartColors, chartDelay, chartDwell, chartHoverDelayMs, chartOf, chartRenderGate, chartTiming, chartValueFormat, chipFit, clearOnDetach, closeOnOutsidePointer, closeOnScroll, createTypeAhead, decimationTarget, describeSeries, describeShare, dimmedBy, disposeWithLeave, domainMinOf, dropdownMinWidth, dropdownOverlay, dsAriaCurrent, dsDestination, dwellHighlight, elementWidth, focusIsInside, focusMark, focusRescue, fontsLoaded, formatPercent, formatTick, formatValue, formatWholePercent, forwardOverlayTokens, labelInterval, largestRemainder, leaveMark, leftMark, linePath, lineSegments, linearScale, listenForEscape, listenForMarkFocus, lttbDecimate, markAt, markOf, minMaxDecimate, moveFocusOutOf, needsDecimating, nextControlId, nextRovingIndex, niceDomain, overlayPlacementOf, panelClassesOf, pointArrowAtHost, prepareOverlayEnter, readOnHostResize, resolveBrandValue, resolveChartDefaults, resolveFieldMessage, rotationWouldFit, roundStepAtLeast, rovingMarks, scrollActiveOptionIntoView, shareOfTotal, skeletonColumnHeights, skeletonFunnelClips, skeletonLineClip, skeletonMarkCount, skeletonWaterfallSteps, staggerDelay, tickValues, trimmedText, tweenMarks, valueControlBridge, watchElementWidth };
|
|
1051
1055
|
export type { BandScale, ChartDimmable, ChartDwell, ChartMotionDelay, ChartMotionTiming, ChartStaggered, ChartWithDataTable, ChartWithTooltipTrigger, DsAriaCurrent, DsDestination, DsFieldError, DsFieldErrorsInput, DsFieldMessage, DsLinkModifiers, DsOverlayCloseCause, DsRouterLink, LinePoint, MarkHit, NiceDomain, RovingMarks, SummaryPoint };
|
|
@@ -152,6 +152,7 @@ declare const ICONS: {
|
|
|
152
152
|
readonly refresh: "<path d=\"M3 12a9 9 0 0 1 15-6.7L21 8\" /><path d=\"M21 3v5h-5\" /><path d=\"M21 12a9 9 0 0 1-15 6.7L3 16\" /><path d=\"M3 21v-5h5\" />";
|
|
153
153
|
readonly play: "<path d=\"M6 4l14 8-14 8z\" />";
|
|
154
154
|
readonly pause: "<path d=\"M7 4v16M17 4v16\" />";
|
|
155
|
+
readonly stop: "<rect x=\"7\" y=\"7\" width=\"10\" height=\"10\" rx=\"1.5\" fill=\"currentColor\" />";
|
|
155
156
|
readonly cmd: "<path d=\"M9 9h6v6H9zM6 9V7a3 3 0 1 1 3 3H6zM6 15v2a3 3 0 1 0 3-3H6zM18 9V7a3 3 0 1 0-3 3h3zM18 15v2a3 3 0 1 1-3-3h3z\" />";
|
|
156
157
|
readonly paperclip: "<path d=\"m21 11-9 9a5 5 0 0 1-7-7l9-9a3 3 0 0 1 4 4l-9 9a1 1 0 0 1-1-1l8-8\" />";
|
|
157
158
|
readonly file: "<path d=\"M14 3H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z\" /><path d=\"M14 3v6h6\" />";
|
|
@@ -186,6 +187,23 @@ declare const ICONS: {
|
|
|
186
187
|
readonly scan: "<path d=\"M4 8V5a1 1 0 0 1 1-1h3M16 4h3a1 1 0 0 1 1 1v3M20 16v3a1 1 0 0 1-1 1h-3M8 20H5a1 1 0 0 1-1-1v-3\" />";
|
|
187
188
|
readonly wifi: "<path d=\"M2 9.5a15 15 0 0 1 20 0\" /><path d=\"M5 13a10 10 0 0 1 14 0\" /><path d=\"M8.5 16.5a5 5 0 0 1 7 0\" /><path d=\"M12 20h.01\" />";
|
|
188
189
|
readonly 'wifi-off': "<path d=\"m3 3 18 18\" /><path d=\"M12 20h.01\" /><path d=\"M8.5 16.5a5 5 0 0 1 7 0\" /><path d=\"M5 13a10 10 0 0 1 3.5-2.3\" /><path d=\"M11 8.6A10 10 0 0 1 19 13\" /><path d=\"M2 9.5a15 15 0 0 1 5.7-3.2\" /><path d=\"M11.6 5.6A15 15 0 0 1 22 9.5\" />";
|
|
190
|
+
/*! @license The six icons below, mouse-pointer to panel-right, are from Lucide (ISC).
|
|
191
|
+
* Copyright (c) for portions of Lucide are held by Cole Bemis 2013-2022 as part of Feather (MIT).
|
|
192
|
+
* All other copyright (c) for Lucide are held by Lucide Contributors 2022.
|
|
193
|
+
* Permission to use, copy, modify, and/or distribute this software for any purpose with or without
|
|
194
|
+
* fee is hereby granted, provided that the above copyright notice and this permission notice appear
|
|
195
|
+
* in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
196
|
+
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO
|
|
197
|
+
* EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR
|
|
198
|
+
* ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF
|
|
199
|
+
* CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
200
|
+
* PERFORMANCE OF THIS SOFTWARE. */
|
|
201
|
+
readonly 'mouse-pointer': "<path d=\"M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z\" />";
|
|
202
|
+
readonly 'pencil-ruler': "<path d=\"M13 7 8.7 2.7a2.41 2.41 0 0 0-3.4 0L2.7 5.3a2.41 2.41 0 0 0 0 3.4L7 13\" /><path d=\"m8 6 2-2\" /><path d=\"m18 16 2-2\" /><path d=\"m17 11 4.3 4.3c.94.94.94 2.46 0 3.4l-2.6 2.6c-.94.94-2.46.94-3.4 0L11 17\" /><path d=\"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z\" /><path d=\"m15 5 4 4\" />";
|
|
203
|
+
readonly columns: "<rect x=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"2\" /><path d=\"M12 3v18\" />";
|
|
204
|
+
readonly history: "<path d=\"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8\" /><path d=\"M3 3v5h5\" /><path d=\"M12 7v5l4 2\" />";
|
|
205
|
+
readonly flask: "<path d=\"M10 2v7.527a2 2 0 0 1-.211.896L4.72 20.55a1 1 0 0 0 .9 1.45h12.76a1 1 0 0 0 .9-1.45l-5.069-10.127A2 2 0 0 1 14 9.527V2\" /><path d=\"M8.5 2h7\" /><path d=\"M7 16h10\" />";
|
|
206
|
+
readonly 'panel-right': "<rect x=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"2\" /><path d=\"M15 3v18\" />";
|
|
189
207
|
};
|
|
190
208
|
/** Built-in DS icon names. Consumers extend the runtime set via `provideDsIcons({...})`; the
|
|
191
209
|
* type widens to `string` so a custom name is accepted, without autocomplete. */
|
|
@@ -642,6 +660,8 @@ interface DsIntl {
|
|
|
642
660
|
readonly label?: string;
|
|
643
661
|
/** `'Send'` - its default send button. */
|
|
644
662
|
readonly send?: string;
|
|
663
|
+
/** `'Stop'` - the default send button while `busy` and `stoppable`. */
|
|
664
|
+
readonly stop?: string;
|
|
645
665
|
};
|
|
646
666
|
readonly spinner: {
|
|
647
667
|
readonly label: string;
|
|
@@ -706,6 +726,8 @@ interface DsIntl {
|
|
|
706
726
|
readonly user?: string;
|
|
707
727
|
/** `'Assistant'` - the same for `role="assistant"`. */
|
|
708
728
|
readonly assistant?: string;
|
|
729
|
+
/** `'Notice'` - the same for `role="system"`. */
|
|
730
|
+
readonly system?: string;
|
|
709
731
|
/** `'Conversation'` - accessible name of the `ds-chat-thread` scroll area when `ariaLabel` is unset. */
|
|
710
732
|
readonly thread?: string;
|
|
711
733
|
/** `'Assistant is working'` - the working row when `workingLabel` is empty. */
|
|
@@ -19,7 +19,7 @@ export { CHART_DEFAULT_VALUE_SPACE, CHART_SCALES, ChartAnnotation, ChartCategory
|
|
|
19
19
|
export { ChartDataRow, ChartDataTableComponent } from '@ids-group-ltd/ids-design-system/components/chart-data-table';
|
|
20
20
|
export { ChartLegendItem } from '@ids-group-ltd/ids-design-system/components/chart-legend';
|
|
21
21
|
export { ChartItemTooltipTrigger, ChartTooltipContext, ChartTooltipEntry, ChartTooltipOrigin, ChartTooltipTrigger } from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
|
|
22
|
-
export { AttachmentComponent, AttachmentKind, ChatAttachmentComponent, ChatInputComponent, ChatInputLayout, ChatMessageComponent, ChatMessageRole, ChatMessageStatus, ChatStepComponent, ChatStepStatus, ChatStepsComponent, ChatStepsEnter, ChatThreadComponent } from '@ids-group-ltd/ids-design-system/components/chat';
|
|
22
|
+
export { AttachmentComponent, AttachmentKind, ChatAttachmentComponent, ChatInputComponent, ChatInputLayout, ChatMessageComponent, ChatMessageRole, ChatMessageStatus, ChatMessageTone, ChatStepComponent, ChatStepStatus, ChatStepsComponent, ChatStepsEnter, ChatThreadComponent } from '@ids-group-ltd/ids-design-system/components/chat';
|
|
23
23
|
export { CheckboxComponent } from '@ids-group-ltd/ids-design-system/components/checkbox';
|
|
24
24
|
export { ColorPickerComponent } from '@ids-group-ltd/ids-design-system/components/color-picker';
|
|
25
25
|
export { ColumnChartComponent, ColumnChartPoint, ColumnChartSeries } from '@ids-group-ltd/ids-design-system/components/column-chart';
|
|
@@ -85,7 +85,7 @@ export { DS_TOAST_POSITION_DEFAULT, DsToastHorizontalPosition, DsToastPosition,
|
|
|
85
85
|
export { ToggleButtonComponent } from '@ids-group-ltd/ids-design-system/components/toggle-button';
|
|
86
86
|
export { DsTooltipConfig, TooltipDirective, TooltipPanelComponent, TooltipPlacement } from '@ids-group-ltd/ids-design-system/components/tooltip';
|
|
87
87
|
export { TopBarComponent } from '@ids-group-ltd/ids-design-system/components/topbar';
|
|
88
|
-
export { TreeComponent, TreeNode, TreeSelection, TreeTrailingContext, TreeTrailingDirective } from '@ids-group-ltd/ids-design-system/components/tree';
|
|
88
|
+
export { TreeComponent, TreeLabelContext, TreeLabelDirective, TreeNode, TreeSelection, TreeTrailingContext, TreeTrailingDirective } from '@ids-group-ltd/ids-design-system/components/tree';
|
|
89
89
|
export { W3wComponent } from '@ids-group-ltd/ids-design-system/components/w3w';
|
|
90
90
|
export { WaterfallChartBar, WaterfallChartComponent, WaterfallChartKind } from '@ids-group-ltd/ids-design-system/components/waterfall-chart';
|
|
91
91
|
export { AnnounceState, ChartAxis, ChartAxisMode, ChartCurve, ChartDataTable, ChartFormatLocation, ChartFrame, ChartGaps, ChartRendering, ChartStackMode, ChartThreshold, ChartThresholdDash, ChartValueFormat, DS_CONFIG, DS_INTL, DS_INTL_DEFAULTS, DsConfig, DsControlWidth, DsIntl, DsIntlOverrides, DsIntlSortDirection, DsIntlStepState, DsOption, DsOptionGroup, DsOptionItem, DsSize, DsStatus, DsStatusKey, DsStatusRegistry, DsTriggerDisplay, ICONS, IconName, flattenDsOptions, inheritDsConfig, isDsOptionGroup, isTextClipped, provideDsConfig, provideDsIntl } from '@ids-group-ltd/ids-design-system/core';
|