@thalassic/ui 0.9.0 → 0.11.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/fesm2022/thalassic-ui.mjs +880 -204
- package/fesm2022/thalassic-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/thalassic-ui.d.ts +429 -70
package/package.json
CHANGED
package/types/thalassic-ui.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InputSignal, InputSignalWithTransform, InjectionToken,
|
|
2
|
+
import { InputSignal, InputSignalWithTransform, InjectionToken, Signal, TemplateRef, ModelSignal, WritableSignal, ElementRef, OutputEmitterRef, TrackByFunction, OnDestroy, EnvironmentProviders } from '@angular/core';
|
|
3
3
|
import * as _thalassic_ui from '@thalassic/ui';
|
|
4
|
+
import { FormUiControl, WithOptionalFieldTree, ValidationError, FormCheckboxControl, FormValueControl, FieldTree } from '@angular/forms/signals';
|
|
4
5
|
import { CdkDialogContainer, DialogRole, DialogRef } from '@angular/cdk/dialog';
|
|
5
6
|
import { ComponentType } from '@angular/cdk/portal';
|
|
6
|
-
import { FieldTree, FormUiControl, WithOptionalFieldTree, ValidationError, FormCheckboxControl, FormValueControl } from '@angular/forms/signals';
|
|
7
7
|
import { Day } from 'date-fns';
|
|
8
|
+
import { FlexibleConnectedPositionStrategyOrigin, ConnectedPosition } from '@angular/cdk/overlay';
|
|
8
9
|
import { SafeHtml } from '@angular/platform-browser';
|
|
9
10
|
import { Point } from '@thalassic/core';
|
|
10
11
|
import { DataSource } from '@angular/cdk/table';
|
|
11
|
-
import { ConnectedPosition } from '@angular/cdk/overlay';
|
|
12
12
|
|
|
13
13
|
type color = 'primary' | 'secondary' | 'tertiary' | 'success' | 'info' | 'warning' | 'danger';
|
|
14
14
|
|
|
@@ -24,22 +24,34 @@ interface tlsUiConfigProvider {
|
|
|
24
24
|
components: {
|
|
25
25
|
alert?: Partial<AlertConfig>;
|
|
26
26
|
button?: Partial<ButtonConfig>;
|
|
27
|
+
checkbox?: Partial<CheckboxConfig>;
|
|
28
|
+
chip?: Partial<ChipConfig>;
|
|
29
|
+
chipControl?: Partial<ChipControlConfig>;
|
|
30
|
+
chipInput?: Partial<ChipInputConfig>;
|
|
27
31
|
dateTimePicker?: Partial<DateTimePickerConfig>;
|
|
28
32
|
dialog?: Partial<DialogConfig>;
|
|
29
33
|
divider?: Partial<DividerConfig>;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
select?: Partial<SelectConfig>;
|
|
33
|
-
switch?: Partial<SwitchConfig>;
|
|
34
|
+
fileUploader?: Partial<FileUploaderConfig>;
|
|
35
|
+
formControlGroup?: Partial<FormControlGroupConfig>;
|
|
34
36
|
formItem?: Partial<FormItemConfig>;
|
|
35
37
|
icon?: Partial<IconConfig>;
|
|
38
|
+
input?: Partial<InputConfig>;
|
|
39
|
+
loader?: Partial<LoaderConfig>;
|
|
40
|
+
menu?: Partial<MenuConfig>;
|
|
41
|
+
multiSelect?: Partial<MultiSelectConfig>;
|
|
36
42
|
pagination?: Partial<PaginationConfig>;
|
|
43
|
+
password?: Partial<PasswordConfig>;
|
|
44
|
+
pinInput?: Partial<PinInputConfig>;
|
|
37
45
|
popover?: Partial<PopoverConfig>;
|
|
46
|
+
radioButton?: Partial<RadioButtonConfig>;
|
|
47
|
+
select?: Partial<SelectConfig>;
|
|
38
48
|
skeleton?: Partial<SkeletonConfig>;
|
|
39
49
|
stepper?: Partial<StepperConfig>;
|
|
50
|
+
switch?: Partial<SwitchConfig>;
|
|
40
51
|
table?: Partial<TableConfig>;
|
|
41
52
|
tabs?: Partial<TabsConfig>;
|
|
42
53
|
textarea?: Partial<TextareaConfig>;
|
|
54
|
+
toggleGroup?: Partial<ToggleGroupConfig>;
|
|
43
55
|
tooltip?: Partial<TooltipConfig>;
|
|
44
56
|
};
|
|
45
57
|
}
|
|
@@ -89,6 +101,8 @@ declare abstract class ButtonBase {
|
|
|
89
101
|
|
|
90
102
|
declare class Button extends ButtonBase {
|
|
91
103
|
private _routerLink;
|
|
104
|
+
private _router;
|
|
105
|
+
private _locationStrategy;
|
|
92
106
|
protected APPLY_HOST_CLASSES: boolean;
|
|
93
107
|
/** The text label displayed inside the button. Takes priority over projected content. */
|
|
94
108
|
readonly label: InputSignal<string | undefined>;
|
|
@@ -96,7 +110,22 @@ declare class Button extends ButtonBase {
|
|
|
96
110
|
/** An optional URL that causes the button to render as an anchor link. */
|
|
97
111
|
readonly href: InputSignal<string | null>;
|
|
98
112
|
readonly tabindex: InputSignal<string>;
|
|
99
|
-
protected isLink:
|
|
113
|
+
protected isLink: Signal<boolean>;
|
|
114
|
+
/**
|
|
115
|
+
* Resolved URL placed on the inner anchor so the browser treats it as a real link
|
|
116
|
+
* (enables "Open in new tab", middle-click, status-bar preview, etc.). An explicit
|
|
117
|
+
* `href` wins; otherwise the URL is derived from the host `routerLink`.
|
|
118
|
+
*/
|
|
119
|
+
protected linkHref: Signal<string | null>;
|
|
120
|
+
/**
|
|
121
|
+
* Keeps navigation correct when the host carries a `routerLink` while the inner anchor
|
|
122
|
+
* exposes a real `href`:
|
|
123
|
+
* - modified / non-primary clicks bubble to the browser so it can open a new tab, and
|
|
124
|
+
* are stopped from reaching the host RouterLink to avoid a duplicate in-app navigation;
|
|
125
|
+
* - a plain left click defers to the host RouterLink for SPA navigation, so the anchor's
|
|
126
|
+
* own full-page navigation is prevented.
|
|
127
|
+
*/
|
|
128
|
+
protected onLinkClick(event: MouseEvent): void;
|
|
100
129
|
static ɵfac: i0.ɵɵFactoryDeclaration<Button, never>;
|
|
101
130
|
static ɵcmp: i0.ɵɵComponentDeclaration<Button, "tls-button", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "tabindex": { "alias": "tabindex"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
102
131
|
}
|
|
@@ -117,6 +146,107 @@ declare const DEFAULT_BUTTON_CONFIG: ButtonConfig;
|
|
|
117
146
|
|
|
118
147
|
declare const BUTTON_CONFIG: InjectionToken<ButtonConfig>;
|
|
119
148
|
|
|
149
|
+
type chipColor = color;
|
|
150
|
+
type chipVariant = 'filled' | 'outlined' | 'text';
|
|
151
|
+
interface ChipContext {
|
|
152
|
+
checked: boolean;
|
|
153
|
+
disabled: boolean;
|
|
154
|
+
readonly: boolean;
|
|
155
|
+
touched: boolean;
|
|
156
|
+
dirty: boolean;
|
|
157
|
+
invalid: boolean;
|
|
158
|
+
pending: boolean;
|
|
159
|
+
}
|
|
160
|
+
type chipTemplateContext = {
|
|
161
|
+
$implicit: ChipContext;
|
|
162
|
+
};
|
|
163
|
+
|
|
164
|
+
declare class Chip {
|
|
165
|
+
private _config;
|
|
166
|
+
readonly label: InputSignal<string | undefined>;
|
|
167
|
+
readonly color: InputSignal<chipColor>;
|
|
168
|
+
readonly variant: InputSignal<chipVariant>;
|
|
169
|
+
readonly size: InputSignal<controlSize>;
|
|
170
|
+
readonly rounded: i0.InputSignalWithTransform<boolean, unknown>;
|
|
171
|
+
readonly icon: i0.InputSignalWithTransform<boolean, unknown>;
|
|
172
|
+
readonly context: i0.WritableSignal<ChipContext>;
|
|
173
|
+
protected readonly startIconTemplate: i0.Signal<TemplateRef<chipTemplateContext> | undefined>;
|
|
174
|
+
protected readonly endIconTemplate: i0.Signal<TemplateRef<chipTemplateContext> | undefined>;
|
|
175
|
+
protected classes: i0.Signal<string[]>;
|
|
176
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Chip, never>;
|
|
177
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Chip, "tls-chip", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; }, {}, ["startIconTemplate", "endIconTemplate"], ["*"], true, never>;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
declare abstract class FormControl implements FormUiControl {
|
|
181
|
+
readonly touched: ModelSignal<boolean>;
|
|
182
|
+
readonly name: InputSignal<string>;
|
|
183
|
+
readonly disabled: InputSignalWithTransform<boolean, unknown>;
|
|
184
|
+
readonly readonly: InputSignalWithTransform<boolean, unknown>;
|
|
185
|
+
readonly hidden: InputSignalWithTransform<boolean, unknown>;
|
|
186
|
+
readonly invalid: InputSignalWithTransform<boolean, unknown>;
|
|
187
|
+
readonly pending: InputSignalWithTransform<boolean, unknown>;
|
|
188
|
+
readonly dirty: InputSignalWithTransform<boolean, unknown>;
|
|
189
|
+
readonly errors: InputSignal<readonly WithOptionalFieldTree<ValidationError>[]>;
|
|
190
|
+
readonly required: InputSignalWithTransform<boolean, unknown>;
|
|
191
|
+
protected CLASS_NAME: string;
|
|
192
|
+
protected notInteractive: Signal<boolean>;
|
|
193
|
+
protected controlClasses: Signal<string[]>;
|
|
194
|
+
protected baseControlClasses(): string[];
|
|
195
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormControl, never>;
|
|
196
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FormControl, never, never, { "touched": { "alias": "touched"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "hidden": { "alias": "hidden"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "pending": { "alias": "pending"; "required": false; "isSignal": true; }; "dirty": { "alias": "dirty"; "required": false; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; }, { "touched": "touchedChange"; }, never, never, true, never>;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
declare abstract class CheckboxFormControl extends FormControl implements FormCheckboxControl {
|
|
200
|
+
abstract readonly checked: ModelSignal<boolean>;
|
|
201
|
+
protected controlClasses: i0.Signal<string[]>;
|
|
202
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxFormControl, never>;
|
|
203
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CheckboxFormControl, never, never, {}, {}, never, never, true, never>;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
interface Option<V = unknown> {
|
|
207
|
+
value: V;
|
|
208
|
+
label: string;
|
|
209
|
+
disabled: boolean;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
type optionInput<T> = string | number | T;
|
|
213
|
+
|
|
214
|
+
declare abstract class ValueFormControl<T> extends FormControl implements FormValueControl<T> {
|
|
215
|
+
abstract readonly value: ModelSignal<T>;
|
|
216
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ValueFormControl<any>, never>;
|
|
217
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ValueFormControl<any>, never, never, {}, {}, never, never, true, never>;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
declare class ChipControl extends CheckboxFormControl {
|
|
221
|
+
protected CLASS_NAME: string;
|
|
222
|
+
private _config;
|
|
223
|
+
private _chip;
|
|
224
|
+
readonly checked: i0.ModelSignal<boolean>;
|
|
225
|
+
readonly checkedColor: i0.InputSignal<_thalassic_ui.color | undefined>;
|
|
226
|
+
protected hostClasses: i0.Signal<string[]>;
|
|
227
|
+
constructor();
|
|
228
|
+
protected toggle(): void;
|
|
229
|
+
protected onKeyboardToggle(event: Event): void;
|
|
230
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChipControl, never>;
|
|
231
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ChipControl, "tls-chip[tlsChipControl]", never, { "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "checkedColor": { "alias": "checkedColor"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; }, never, never, true, never>;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
interface ChipConfig {
|
|
235
|
+
color: chipColor;
|
|
236
|
+
variant: chipVariant;
|
|
237
|
+
size: controlSize;
|
|
238
|
+
}
|
|
239
|
+
declare const DEFAULT_CHIP_CONFIG: ChipConfig;
|
|
240
|
+
|
|
241
|
+
declare const CHIP_CONFIG: InjectionToken<ChipConfig>;
|
|
242
|
+
|
|
243
|
+
interface ChipControlConfig {
|
|
244
|
+
checkedColor: chipColor | undefined;
|
|
245
|
+
}
|
|
246
|
+
declare const DEFAULT_CHIP_CONTROL_CONFIG: ChipControlConfig;
|
|
247
|
+
|
|
248
|
+
declare const CHIP_CONTROL_CONFIG: InjectionToken<ChipControlConfig>;
|
|
249
|
+
|
|
120
250
|
type dialogSize = 'sm' | 'md' | 'lg' | 'xl' | 'wide' | 'full';
|
|
121
251
|
|
|
122
252
|
interface DialogConfig {
|
|
@@ -182,6 +312,28 @@ declare const DEFAULT_DIVIDER_CONFIG: DividerConfig;
|
|
|
182
312
|
|
|
183
313
|
declare const DIVIDER_CONFIG: InjectionToken<DividerConfig>;
|
|
184
314
|
|
|
315
|
+
declare class FormControlAddon {
|
|
316
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormControlAddon, never>;
|
|
317
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormControlAddon, "tls-form-control-addon", never, {}, {}, never, ["*"], true, never>;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
declare class FormControlGroup {
|
|
321
|
+
private _config;
|
|
322
|
+
readonly size: InputSignal<controlSize>;
|
|
323
|
+
readonly fluid: InputSignalWithTransform<boolean, unknown>;
|
|
324
|
+
protected readonly hostClasses: Signal<string[]>;
|
|
325
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormControlGroup, never>;
|
|
326
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormControlGroup, "tls-form-control-group", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
interface FormControlGroupConfig {
|
|
330
|
+
size: controlSize;
|
|
331
|
+
fluid: boolean;
|
|
332
|
+
}
|
|
333
|
+
declare const DEFAULT_FORM_CONTROL_GROUP_CONFIG: FormControlGroupConfig;
|
|
334
|
+
|
|
335
|
+
declare const FORM_CONTROL_GROUP_CONFIG: InjectionToken<FormControlGroupConfig>;
|
|
336
|
+
|
|
185
337
|
type ErrorMessageFn = (fieldTree?: FieldTree<unknown>) => string;
|
|
186
338
|
type ErrorMessageMap = Record<string, ErrorMessageFn>;
|
|
187
339
|
|
|
@@ -192,38 +344,6 @@ interface FormItemConfig {
|
|
|
192
344
|
}
|
|
193
345
|
declare const DEFAULT_FORM_ITEM_CONFIG: FormItemConfig;
|
|
194
346
|
|
|
195
|
-
declare abstract class FormControl implements FormUiControl {
|
|
196
|
-
readonly touched: ModelSignal<boolean>;
|
|
197
|
-
readonly name: InputSignal<string>;
|
|
198
|
-
readonly disabled: InputSignalWithTransform<boolean, unknown>;
|
|
199
|
-
readonly readonly: InputSignalWithTransform<boolean, unknown>;
|
|
200
|
-
readonly hidden: InputSignalWithTransform<boolean, unknown>;
|
|
201
|
-
readonly invalid: InputSignalWithTransform<boolean, unknown>;
|
|
202
|
-
readonly pending: InputSignalWithTransform<boolean, unknown>;
|
|
203
|
-
readonly dirty: InputSignalWithTransform<boolean, unknown>;
|
|
204
|
-
readonly errors: InputSignal<readonly WithOptionalFieldTree<ValidationError>[]>;
|
|
205
|
-
readonly required: InputSignalWithTransform<boolean, unknown>;
|
|
206
|
-
protected CLASS_NAME: string;
|
|
207
|
-
protected notInteractive: Signal<boolean>;
|
|
208
|
-
protected controlClasses: Signal<string[]>;
|
|
209
|
-
protected baseControlClasses(): string[];
|
|
210
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormControl, never>;
|
|
211
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FormControl, never, never, { "touched": { "alias": "touched"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "hidden": { "alias": "hidden"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "pending": { "alias": "pending"; "required": false; "isSignal": true; }; "dirty": { "alias": "dirty"; "required": false; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; }, { "touched": "touchedChange"; }, never, never, true, never>;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
declare abstract class CheckboxFormControl extends FormControl implements FormCheckboxControl {
|
|
215
|
-
abstract readonly checked: ModelSignal<boolean>;
|
|
216
|
-
protected controlClasses: i0.Signal<string[]>;
|
|
217
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxFormControl, never>;
|
|
218
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CheckboxFormControl, never, never, {}, {}, never, never, true, never>;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
declare abstract class ValueFormControl<T> extends FormControl implements FormValueControl<T> {
|
|
222
|
-
abstract readonly value: ModelSignal<T>;
|
|
223
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ValueFormControl<any>, never>;
|
|
224
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ValueFormControl<any>, never, never, {}, {}, never, never, true, never>;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
347
|
declare class FormItem {
|
|
228
348
|
private _config;
|
|
229
349
|
protected control: Signal<FormControl | undefined>;
|
|
@@ -304,6 +424,81 @@ declare const DEFAULT_DATE_TIME_PICKER_CONFIG: DateTimePickerConfig;
|
|
|
304
424
|
|
|
305
425
|
declare const DATE_TIME_PICKER_CONFIG: InjectionToken<DateTimePickerConfig>;
|
|
306
426
|
|
|
427
|
+
declare class ChipInput extends ValueFormControl<string[]> {
|
|
428
|
+
private readonly _config;
|
|
429
|
+
readonly value: ModelSignal<string[]>;
|
|
430
|
+
readonly placeholder: InputSignal<string>;
|
|
431
|
+
readonly size: InputSignal<controlSize>;
|
|
432
|
+
readonly fluid: InputSignalWithTransform<boolean, unknown>;
|
|
433
|
+
readonly separator: InputSignal<string[]>;
|
|
434
|
+
protected readonly inputValue: i0.WritableSignal<string>;
|
|
435
|
+
protected readonly classes: Signal<string[]>;
|
|
436
|
+
protected onKeydown(event: KeyboardEvent): void;
|
|
437
|
+
protected removeChip(index: number): void;
|
|
438
|
+
private _addChip;
|
|
439
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChipInput, never>;
|
|
440
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChipInput, "tls-chip-input", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "separator": { "alias": "separator"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
interface ChipInputConfig {
|
|
444
|
+
size: controlSize;
|
|
445
|
+
placeholder: string;
|
|
446
|
+
fluid: boolean;
|
|
447
|
+
separator: string[];
|
|
448
|
+
}
|
|
449
|
+
declare const DEFAULT_CHIP_INPUT_CONFIG: ChipInputConfig;
|
|
450
|
+
|
|
451
|
+
declare const CHIP_INPUT_CONFIG: InjectionToken<ChipInputConfig>;
|
|
452
|
+
|
|
453
|
+
type acceptInput = string | string[];
|
|
454
|
+
type fileUploaderDragState = 'idle' | 'valid' | 'invalid';
|
|
455
|
+
interface FileUploaderDropZoneContext {
|
|
456
|
+
$implicit: fileUploaderDragState;
|
|
457
|
+
accept: string;
|
|
458
|
+
}
|
|
459
|
+
interface FileUploaderFileContext {
|
|
460
|
+
$implicit: File;
|
|
461
|
+
index: number;
|
|
462
|
+
remove: (index: number) => void;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
declare class FileUploader extends ValueFormControl<File[]> {
|
|
466
|
+
private readonly _config;
|
|
467
|
+
protected CLASS_NAME: string;
|
|
468
|
+
readonly value: ModelSignal<File[]>;
|
|
469
|
+
readonly multiple: InputSignalWithTransform<boolean, unknown>;
|
|
470
|
+
readonly accept: InputSignalWithTransform<string, acceptInput>;
|
|
471
|
+
readonly fluid: InputSignalWithTransform<boolean, unknown>;
|
|
472
|
+
protected readonly fileInput: Signal<ElementRef<HTMLInputElement>>;
|
|
473
|
+
protected readonly dragState: i0.WritableSignal<fileUploaderDragState>;
|
|
474
|
+
protected readonly dropZoneTemplate: Signal<TemplateRef<FileUploaderDropZoneContext> | undefined>;
|
|
475
|
+
protected readonly fileTemplate: Signal<TemplateRef<FileUploaderFileContext> | undefined>;
|
|
476
|
+
protected readonly classes: Signal<string[]>;
|
|
477
|
+
protected readonly acceptHint: Signal<string>;
|
|
478
|
+
protected openFilePicker(): void;
|
|
479
|
+
protected onFilesSelected(event: Event): void;
|
|
480
|
+
protected onDropZoneKeydown(event: KeyboardEvent): void;
|
|
481
|
+
protected onDragOver(event: DragEvent): void;
|
|
482
|
+
protected onDragLeave(): void;
|
|
483
|
+
protected onDrop(event: DragEvent): void;
|
|
484
|
+
protected readonly removeFile: (fileIndex: number) => void;
|
|
485
|
+
private _addFiles;
|
|
486
|
+
private _acceptsFile;
|
|
487
|
+
private _formatAcceptRule;
|
|
488
|
+
private _isTypeRejected;
|
|
489
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileUploader, never>;
|
|
490
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploader, "tls-file-uploader", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "accept": { "alias": "accept"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, ["dropZoneTemplate", "fileTemplate"], never, true, never>;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
interface FileUploaderConfig {
|
|
494
|
+
multiple: boolean;
|
|
495
|
+
accept: acceptInput;
|
|
496
|
+
fluid: boolean;
|
|
497
|
+
}
|
|
498
|
+
declare const DEFAULT_FILE_UPLOADER_CONFIG: FileUploaderConfig;
|
|
499
|
+
|
|
500
|
+
declare const FILE_UPLOADER_CONFIG: InjectionToken<FileUploaderConfig>;
|
|
501
|
+
|
|
307
502
|
declare class Input extends ValueFormControl<string> {
|
|
308
503
|
private _config;
|
|
309
504
|
readonly type: InputSignal<string>;
|
|
@@ -345,12 +540,13 @@ declare class Password extends ValueFormControl<string> {
|
|
|
345
540
|
readonly placeholder: InputSignal<string>;
|
|
346
541
|
readonly size: InputSignal<controlSize>;
|
|
347
542
|
readonly fluid: InputSignalWithTransform<boolean, unknown>;
|
|
348
|
-
protected readonly
|
|
349
|
-
protected
|
|
543
|
+
protected readonly showIconTemplate: i0.Signal<TemplateRef<unknown> | undefined>;
|
|
544
|
+
protected readonly hideIconTemplate: i0.Signal<TemplateRef<unknown> | undefined>;
|
|
545
|
+
protected type: i0.Signal<"text" | "password">;
|
|
350
546
|
protected onInput(event: Event): void;
|
|
351
547
|
protected toggle(): void;
|
|
352
548
|
static ɵfac: i0.ɵɵFactoryDeclaration<Password, never>;
|
|
353
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Password, "tls-password", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "visible": { "alias": "visible"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "visible": "visibleChange"; },
|
|
549
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Password, "tls-password", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "visible": { "alias": "visible"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "visible": "visibleChange"; }, ["showIconTemplate", "hideIconTemplate"], never, true, never>;
|
|
354
550
|
}
|
|
355
551
|
|
|
356
552
|
interface PasswordConfig {
|
|
@@ -417,45 +613,171 @@ declare class RadioButton extends ValueFormControl<unknown> {
|
|
|
417
613
|
static ɵcmp: i0.ɵɵComponentDeclaration<RadioButton, "tls-radio-button", never, { "radioValue": { "alias": "radioValue"; "required": true; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "tabindex": { "alias": "tabindex"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
418
614
|
}
|
|
419
615
|
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
616
|
+
interface ConnectedOverlayConfig {
|
|
617
|
+
/** Template projected into the overlay. */
|
|
618
|
+
content: TemplateRef<unknown>;
|
|
619
|
+
/** Element or point the overlay is anchored to. */
|
|
620
|
+
origin: FlexibleConnectedPositionStrategyOrigin;
|
|
621
|
+
/** Connected positions to try, in order of preference. */
|
|
622
|
+
positions: ConnectedPosition[];
|
|
623
|
+
/** Forwarded to the position strategy. Defaults to the CDK default (true). */
|
|
624
|
+
flexibleDimensions?: boolean;
|
|
625
|
+
/** Forwarded to the position strategy. Defaults to the CDK default (true). */
|
|
626
|
+
push?: boolean;
|
|
627
|
+
/** Scroll handling while open. Defaults to `'reposition'`. */
|
|
628
|
+
scrollStrategy?: 'reposition' | 'close';
|
|
629
|
+
/** Whether to render a backdrop. Defaults to `true`. */
|
|
630
|
+
hasBackdrop?: boolean;
|
|
631
|
+
/** Backdrop class when a backdrop is rendered. Defaults to the transparent backdrop. */
|
|
632
|
+
backdropClass?: string;
|
|
633
|
+
/** Extra class(es) applied to the overlay pane. */
|
|
634
|
+
panelClass?: string | string[];
|
|
635
|
+
/** Close when the backdrop is clicked. Defaults to `true` when a backdrop is rendered. */
|
|
636
|
+
closeOnBackdropClick?: boolean;
|
|
637
|
+
/** Close on an outside pointer event. Defaults to `true` when no backdrop is rendered. */
|
|
638
|
+
closeOnOutsidePointer?: boolean;
|
|
639
|
+
/** Close when Escape is pressed. Defaults to `true`. */
|
|
640
|
+
closeOnEscape?: boolean;
|
|
641
|
+
/** Minimum width applied to the pane on every open (e.g. to match a trigger). */
|
|
642
|
+
minWidth?: number | string;
|
|
643
|
+
/**
|
|
644
|
+
* Keep the overlay alive across open/close (detach instead of dispose), so the
|
|
645
|
+
* same instance is reused on the next open. Defaults to `false`.
|
|
646
|
+
*/
|
|
647
|
+
reuse?: boolean;
|
|
648
|
+
/** Invoked after the overlay closes, from any cause (explicit, backdrop, outside, Escape). */
|
|
649
|
+
onClose?: () => void;
|
|
426
650
|
}
|
|
427
|
-
|
|
428
|
-
|
|
651
|
+
/**
|
|
652
|
+
* Owns the CDK-Overlay lifecycle shared by the library's connected overlay
|
|
653
|
+
* components (popover, menu, select): create/attach, dismissal wiring
|
|
654
|
+
* (backdrop / outside-pointer / Escape), `isOpen` state, and disposal. The
|
|
655
|
+
* positional and dismissal differences between components are expressed through
|
|
656
|
+
* {@link ConnectedOverlayConfig} rather than duplicated per component.
|
|
657
|
+
*
|
|
658
|
+
* Create one via {@link createOverlayManager} from a component field initializer
|
|
659
|
+
* so it is bound to the host's injection context.
|
|
660
|
+
*/
|
|
661
|
+
declare class OverlayManager {
|
|
429
662
|
private readonly _overlay;
|
|
430
|
-
private readonly
|
|
431
|
-
private readonly
|
|
432
|
-
|
|
663
|
+
private readonly _viewContainerRef;
|
|
664
|
+
private readonly _destroyRef;
|
|
665
|
+
private _overlayRef;
|
|
666
|
+
private _config;
|
|
667
|
+
private readonly _isOpen;
|
|
668
|
+
readonly isOpen: i0.Signal<boolean>;
|
|
669
|
+
private readonly _teardown;
|
|
670
|
+
open(config: ConnectedOverlayConfig): void;
|
|
671
|
+
close(): void;
|
|
672
|
+
private _buildPositionStrategy;
|
|
673
|
+
private _wireDismissal;
|
|
674
|
+
private _dispose;
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
/**
|
|
678
|
+
* Shared base for the single {@link Select} and {@link MultiSelect} controls.
|
|
679
|
+
* Owns everything the two listbox-combobox controls have in common: the option
|
|
680
|
+
* inputs, the connected overlay lifecycle, roving `aria-activedescendant`
|
|
681
|
+
* navigation, and the keyboard handler. The per-control differences (the value
|
|
682
|
+
* shape, the selected-state check, how the trigger label is built and what a
|
|
683
|
+
* commit does) are expressed through the abstract members below.
|
|
684
|
+
*/
|
|
685
|
+
declare abstract class AbstractSelect<T, V, ValueType> extends ValueFormControl<ValueType> {
|
|
686
|
+
protected readonly overlay: OverlayManager;
|
|
687
|
+
private readonly triggerElement;
|
|
688
|
+
private readonly panelTemplate;
|
|
433
689
|
readonly inputId: InputSignal<string | null>;
|
|
434
|
-
readonly options: InputSignal<
|
|
690
|
+
readonly options: InputSignal<optionInput<T>[]>;
|
|
435
691
|
readonly optionLabel: InputSignal<keyof T | undefined>;
|
|
436
692
|
readonly optionValue: InputSignal<keyof T | undefined>;
|
|
437
693
|
readonly optionDisabled: InputSignal<keyof T | undefined>;
|
|
438
|
-
readonly placeholder: InputSignal<string>;
|
|
439
|
-
readonly size: InputSignal<controlSize>;
|
|
440
|
-
readonly fluid: InputSignalWithTransform<boolean, unknown>;
|
|
441
694
|
readonly tabindex: InputSignal<string | number>;
|
|
442
|
-
readonly
|
|
695
|
+
abstract readonly placeholder: InputSignal<string>;
|
|
696
|
+
abstract readonly size: InputSignal<controlSize>;
|
|
697
|
+
abstract readonly fluid: InputSignalWithTransform<boolean, unknown>;
|
|
698
|
+
abstract readonly clearable: InputSignalWithTransform<boolean, unknown>;
|
|
443
699
|
protected readonly isOpen: Signal<boolean>;
|
|
444
700
|
protected readonly activeIndex: WritableSignal<number>;
|
|
445
|
-
protected readonly normalizedOptions: Signal<
|
|
446
|
-
protected readonly
|
|
447
|
-
protected readonly selectedLabel: Signal<string>;
|
|
701
|
+
protected readonly normalizedOptions: Signal<Option<V>[]>;
|
|
702
|
+
protected readonly activeDescendantId: Signal<string | null>;
|
|
448
703
|
protected readonly hostClasses: Signal<string[]>;
|
|
704
|
+
protected get listboxId(): string;
|
|
705
|
+
protected abstract readonly uniqueId: string;
|
|
706
|
+
protected abstract readonly hostClassBase: string;
|
|
707
|
+
protected abstract readonly panelClass: string;
|
|
708
|
+
protected abstract readonly hasValue: Signal<boolean>;
|
|
709
|
+
/** Index the active option starts on when the panel opens. */
|
|
710
|
+
protected abstract getInitialActiveIndex(): number;
|
|
711
|
+
/** Apply the active option's selection when committed via mouse or keyboard. */
|
|
712
|
+
protected abstract commitActiveOption(option: Option<V>): void;
|
|
713
|
+
/** Reset the control to its empty value. */
|
|
714
|
+
protected abstract clear(): void;
|
|
449
715
|
protected open(): void;
|
|
450
716
|
protected close(): void;
|
|
451
717
|
protected toggle(): void;
|
|
452
|
-
protected select(option: NormalizedOption<V>): void;
|
|
453
|
-
protected clear(): void;
|
|
454
718
|
protected onOptionHover(index: number, disabled?: boolean): void;
|
|
455
719
|
protected onKeydown(event: KeyboardEvent): void;
|
|
456
|
-
|
|
720
|
+
protected optionId(index: number): string;
|
|
721
|
+
private moveActive;
|
|
722
|
+
private moveActiveToEdge;
|
|
723
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractSelect<any, any, any>, never>;
|
|
724
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractSelect<any, any, any>, never, never, { "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "optionLabel": { "alias": "optionLabel"; "required": false; "isSignal": true; }; "optionValue": { "alias": "optionValue"; "required": false; "isSignal": true; }; "optionDisabled": { "alias": "optionDisabled"; "required": false; "isSignal": true; }; "tabindex": { "alias": "tabindex"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
declare class MultiSelect<T, V = unknown> extends AbstractSelect<T, V, V[]> {
|
|
728
|
+
private static _nextUniqueId;
|
|
729
|
+
private readonly _config;
|
|
730
|
+
protected readonly uniqueId: string;
|
|
731
|
+
protected readonly hostClassBase = "tls-multi-select";
|
|
732
|
+
protected readonly panelClass = "tls-multi-select-panel";
|
|
733
|
+
readonly value: ModelSignal<V[]>;
|
|
734
|
+
readonly placeholder: InputSignal<string>;
|
|
735
|
+
readonly size: InputSignal<controlSize>;
|
|
736
|
+
readonly fluid: InputSignalWithTransform<boolean, unknown>;
|
|
737
|
+
readonly clearable: InputSignalWithTransform<boolean, unknown>;
|
|
738
|
+
readonly maxLabels: InputSignal<number>;
|
|
739
|
+
protected readonly hasValue: Signal<boolean>;
|
|
740
|
+
protected readonly selectedValues: Signal<Set<V>>;
|
|
741
|
+
protected readonly triggerLabel: Signal<string>;
|
|
742
|
+
protected isSelected(option: Option<V>): boolean;
|
|
743
|
+
protected toggleOption(option: Option<V>): void;
|
|
744
|
+
protected clear(): void;
|
|
745
|
+
protected getInitialActiveIndex(): number;
|
|
746
|
+
protected commitActiveOption(option: Option<V>): void;
|
|
747
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MultiSelect<any, any>, never>;
|
|
748
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultiSelect<any, any>, "tls-multi-select", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "maxLabels": { "alias": "maxLabels"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
interface MultiSelectConfig {
|
|
752
|
+
size: controlSize;
|
|
753
|
+
placeholder: string;
|
|
754
|
+
fluid: boolean;
|
|
755
|
+
clearable: boolean;
|
|
756
|
+
maxLabels: number;
|
|
757
|
+
}
|
|
758
|
+
declare const DEFAULT_MULTI_SELECT_CONFIG: MultiSelectConfig;
|
|
759
|
+
|
|
760
|
+
declare const MULTI_SELECT_CONFIG: InjectionToken<MultiSelectConfig>;
|
|
761
|
+
|
|
762
|
+
declare class Select<T, V = unknown> extends AbstractSelect<T, V, V | null> {
|
|
763
|
+
private static _nextUniqueId;
|
|
764
|
+
private readonly _config;
|
|
765
|
+
protected readonly uniqueId: string;
|
|
766
|
+
protected readonly hostClassBase = "tls-select";
|
|
767
|
+
protected readonly panelClass = "tls-select-panel";
|
|
768
|
+
readonly value: ModelSignal<V | null>;
|
|
769
|
+
readonly placeholder: InputSignal<string>;
|
|
770
|
+
readonly size: InputSignal<controlSize>;
|
|
771
|
+
readonly fluid: InputSignalWithTransform<boolean, unknown>;
|
|
772
|
+
readonly clearable: InputSignalWithTransform<boolean, unknown>;
|
|
773
|
+
protected readonly hasValue: Signal<boolean>;
|
|
774
|
+
protected readonly selectedLabel: Signal<string>;
|
|
775
|
+
protected select(option: Option<V>): void;
|
|
776
|
+
protected clear(): void;
|
|
777
|
+
protected getInitialActiveIndex(): number;
|
|
778
|
+
protected commitActiveOption(option: Option<V>): void;
|
|
457
779
|
static ɵfac: i0.ɵɵFactoryDeclaration<Select<any, any>, never>;
|
|
458
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Select<any, any>, "tls-select", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "
|
|
780
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Select<any, any>, "tls-select", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
459
781
|
}
|
|
460
782
|
|
|
461
783
|
interface SelectConfig {
|
|
@@ -518,6 +840,43 @@ declare class Textarea extends ValueFormControl<string> {
|
|
|
518
840
|
|
|
519
841
|
declare const TEXTAREA_CONFIG: InjectionToken<TextareaConfig>;
|
|
520
842
|
|
|
843
|
+
type toggleGroupType = 'single' | 'multiple';
|
|
844
|
+
|
|
845
|
+
declare class ToggleGroup<T, V = unknown> extends ValueFormControl<V[]> {
|
|
846
|
+
private readonly _config;
|
|
847
|
+
protected CLASS_NAME: string;
|
|
848
|
+
readonly value: ModelSignal<V[]>;
|
|
849
|
+
readonly options: InputSignal<optionInput<T>[]>;
|
|
850
|
+
readonly optionLabel: InputSignal<keyof T | undefined>;
|
|
851
|
+
readonly optionValue: InputSignal<keyof T | undefined>;
|
|
852
|
+
readonly optionDisabled: InputSignal<keyof T | undefined>;
|
|
853
|
+
readonly type: InputSignal<toggleGroupType>;
|
|
854
|
+
readonly unselectable: InputSignalWithTransform<boolean, unknown>;
|
|
855
|
+
readonly size: InputSignal<controlSize>;
|
|
856
|
+
readonly color: InputSignal<color>;
|
|
857
|
+
readonly orientation: InputSignal<orientation>;
|
|
858
|
+
protected readonly optionTemplate: Signal<TemplateRef<{
|
|
859
|
+
$implicit: Option<V>;
|
|
860
|
+
}> | undefined>;
|
|
861
|
+
protected readonly normalizedOptions: Signal<Option<V>[]>;
|
|
862
|
+
protected readonly classes: Signal<string[]>;
|
|
863
|
+
protected isSelected(optionValue: V): boolean;
|
|
864
|
+
protected select(option: Option<V>): void;
|
|
865
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToggleGroup<any, any>, never>;
|
|
866
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToggleGroup<any, any>, "tls-toggle-group", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "optionLabel": { "alias": "optionLabel"; "required": false; "isSignal": true; }; "optionValue": { "alias": "optionValue"; "required": false; "isSignal": true; }; "optionDisabled": { "alias": "optionDisabled"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "unselectable": { "alias": "unselectable"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, ["optionTemplate"], never, true, never>;
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
interface ToggleGroupConfig {
|
|
870
|
+
size: controlSize;
|
|
871
|
+
color: color;
|
|
872
|
+
orientation: orientation;
|
|
873
|
+
type: toggleGroupType;
|
|
874
|
+
unselectable: boolean;
|
|
875
|
+
}
|
|
876
|
+
declare const DEFAULT_TOGGLE_GROUP_CONFIG: ToggleGroupConfig;
|
|
877
|
+
|
|
878
|
+
declare const TOGGLE_GROUP_CONFIG: InjectionToken<ToggleGroupConfig>;
|
|
879
|
+
|
|
521
880
|
declare class Icon {
|
|
522
881
|
private _iconService;
|
|
523
882
|
private _config;
|
|
@@ -738,7 +1097,7 @@ declare const POPOVER_CONFIG: InjectionToken<PopoverConfig>;
|
|
|
738
1097
|
|
|
739
1098
|
declare class Skeleton {
|
|
740
1099
|
private _config;
|
|
741
|
-
readonly size: InputSignal<number>;
|
|
1100
|
+
readonly size: InputSignal<number | null>;
|
|
742
1101
|
readonly width: InputSignal<number | null>;
|
|
743
1102
|
readonly height: InputSignal<number | null>;
|
|
744
1103
|
readonly radius: InputSignal<number>;
|
|
@@ -757,7 +1116,7 @@ declare class Skeleton {
|
|
|
757
1116
|
}
|
|
758
1117
|
|
|
759
1118
|
interface SkeletonConfig {
|
|
760
|
-
size: number;
|
|
1119
|
+
size: number | null;
|
|
761
1120
|
width: number | null;
|
|
762
1121
|
height: number | null;
|
|
763
1122
|
radius: number;
|
|
@@ -955,5 +1314,5 @@ declare const TOOLTIP_CONFIG: InjectionToken<TooltipConfig>;
|
|
|
955
1314
|
|
|
956
1315
|
declare const provideThalassicUIConfig: (config: tlsUiConfigProvider) => EnvironmentProviders;
|
|
957
1316
|
|
|
958
|
-
export { ALERT_CONFIG, Alert, BUTTON_CONFIG, Button, ButtonDirective, CHECKBOX_CONFIG, Checkbox, ContextMenuDirective, DATE_TIME_PICKER_CONFIG, DEFAULT_ALERT_CONFIG, DEFAULT_BUTTON_CONFIG, DEFAULT_CHECKBOX_CONFIG, DEFAULT_DATE_TIME_PICKER_CONFIG, DEFAULT_DIALOG_CONFIG, DEFAULT_DIVIDER_CONFIG, DEFAULT_FORM_ITEM_CONFIG, DEFAULT_ICON_CONFIG, DEFAULT_INPUT_CONFIG, DEFAULT_LOADER_CONFIG, DEFAULT_MENU_CONFIG, DEFAULT_PAGINATION_CONFIG, DEFAULT_PASSWORD_CONFIG, DEFAULT_PIN_INPUT_CONFIG, DEFAULT_POPOVER_CONFIG, DEFAULT_RADIO_BUTTON_CONFIG, DEFAULT_SELECT_CONFIG, DEFAULT_SKELETON_CONFIG, DEFAULT_STEPPER_CONFIG, DEFAULT_STEP_CONFIG, DEFAULT_SWITCH_CONFIG, DEFAULT_TABLE_CONFIG, DEFAULT_TABS_CONFIG, DEFAULT_TEXTAREA_CONFIG, DEFAULT_TOOLTIP_CONFIG, DIALOG_CONFIG, DIVIDER_CONFIG, DateTimePicker, Dialog, DialogService, Divider, FORM_ITEM_CONFIG, FormItem, ICON_CONFIG, INPUT_CONFIG, Icon, Input, InputDirective, LOADER_CONFIG, Loader, MENU_CONFIG, Menu, MenuItemComponent, MenuTriggerDirective, PAGINATION_CONFIG, PASSWORD_CONFIG, PIN_INPUT_CONFIG, POPOVER_CONFIG, Pagination, Password, PinInput, Popover, RADIO_BUTTON_CONFIG, RadioButton, SELECT_CONFIG, SKELETON_CONFIG, STEPPER_CONFIG, SWITCH_CONFIG, Select, Skeleton, Step, Stepper, Switch, TABLE_CONFIG, TABS_CONFIG, TEXTAREA_CONFIG, TOOLTIP_CONFIG, Tab, Table, TableColumn, Tabs, Textarea, TooltipDirective, provideThalassicUIConfig };
|
|
959
|
-
export type { AlertConfig, ButtonConfig, CheckboxConfig, DateTimePickerConfig, DialogConfig, DialogOpenConfig, DividerConfig, FormItemConfig, IconConfig, InputConfig, LoaderConfig, MenuActionItem, MenuConfig, MenuCustomItem, MenuDivider, MenuItemDefinition, MenuLabel, PaginationConfig, PasswordConfig, PinInputConfig, PopoverConfig, RadioButtonConfig, SelectConfig, SkeletonConfig, StepConfig, StepperConfig, StepperSelectEvent, SwitchConfig, TableColumnDefinition, TableConfig, TableData, TableTrackBy, TabsConfig, TextareaConfig, TooltipConfig, color, controlSize, dateTimePickerMode, dialogSize, dividerContentPosition, dividerOrientation, dividerVariant, menuItemType, menuPosition, orientation, overlayPosition, paginationItem, pinInputType,
|
|
1317
|
+
export { ALERT_CONFIG, Alert, BUTTON_CONFIG, Button, ButtonDirective, CHECKBOX_CONFIG, CHIP_CONFIG, CHIP_CONTROL_CONFIG, CHIP_INPUT_CONFIG, Checkbox, Chip, ChipControl, ChipInput, ContextMenuDirective, DATE_TIME_PICKER_CONFIG, DEFAULT_ALERT_CONFIG, DEFAULT_BUTTON_CONFIG, DEFAULT_CHECKBOX_CONFIG, DEFAULT_CHIP_CONFIG, DEFAULT_CHIP_CONTROL_CONFIG, DEFAULT_CHIP_INPUT_CONFIG, DEFAULT_DATE_TIME_PICKER_CONFIG, DEFAULT_DIALOG_CONFIG, DEFAULT_DIVIDER_CONFIG, DEFAULT_FILE_UPLOADER_CONFIG, DEFAULT_FORM_CONTROL_GROUP_CONFIG, DEFAULT_FORM_ITEM_CONFIG, DEFAULT_ICON_CONFIG, DEFAULT_INPUT_CONFIG, DEFAULT_LOADER_CONFIG, DEFAULT_MENU_CONFIG, DEFAULT_MULTI_SELECT_CONFIG, DEFAULT_PAGINATION_CONFIG, DEFAULT_PASSWORD_CONFIG, DEFAULT_PIN_INPUT_CONFIG, DEFAULT_POPOVER_CONFIG, DEFAULT_RADIO_BUTTON_CONFIG, DEFAULT_SELECT_CONFIG, DEFAULT_SKELETON_CONFIG, DEFAULT_STEPPER_CONFIG, DEFAULT_STEP_CONFIG, DEFAULT_SWITCH_CONFIG, DEFAULT_TABLE_CONFIG, DEFAULT_TABS_CONFIG, DEFAULT_TEXTAREA_CONFIG, DEFAULT_TOGGLE_GROUP_CONFIG, DEFAULT_TOOLTIP_CONFIG, DIALOG_CONFIG, DIVIDER_CONFIG, DateTimePicker, Dialog, DialogService, Divider, FILE_UPLOADER_CONFIG, FORM_CONTROL_GROUP_CONFIG, FORM_ITEM_CONFIG, FileUploader, FormControlAddon, FormControlGroup, FormItem, ICON_CONFIG, INPUT_CONFIG, Icon, Input, InputDirective, LOADER_CONFIG, Loader, MENU_CONFIG, MULTI_SELECT_CONFIG, Menu, MenuItemComponent, MenuTriggerDirective, MultiSelect, PAGINATION_CONFIG, PASSWORD_CONFIG, PIN_INPUT_CONFIG, POPOVER_CONFIG, Pagination, Password, PinInput, Popover, RADIO_BUTTON_CONFIG, RadioButton, SELECT_CONFIG, SKELETON_CONFIG, STEPPER_CONFIG, SWITCH_CONFIG, Select, Skeleton, Step, Stepper, Switch, TABLE_CONFIG, TABS_CONFIG, TEXTAREA_CONFIG, TOGGLE_GROUP_CONFIG, TOOLTIP_CONFIG, Tab, Table, TableColumn, Tabs, Textarea, ToggleGroup, TooltipDirective, provideThalassicUIConfig };
|
|
1318
|
+
export type { AlertConfig, ButtonConfig, CheckboxConfig, ChipConfig, ChipContext, ChipControlConfig, ChipInputConfig, DateTimePickerConfig, DialogConfig, DialogOpenConfig, DividerConfig, FileUploaderConfig, FileUploaderDropZoneContext, FileUploaderFileContext, FormControlGroupConfig, FormItemConfig, IconConfig, InputConfig, LoaderConfig, MenuActionItem, MenuConfig, MenuCustomItem, MenuDivider, MenuItemDefinition, MenuLabel, MultiSelectConfig, PaginationConfig, PasswordConfig, PinInputConfig, PopoverConfig, RadioButtonConfig, SelectConfig, SkeletonConfig, StepConfig, StepperConfig, StepperSelectEvent, SwitchConfig, TableColumnDefinition, TableConfig, TableData, TableTrackBy, TabsConfig, TextareaConfig, ToggleGroupConfig, TooltipConfig, acceptInput, chipColor, chipTemplateContext, chipVariant, color, controlSize, dateTimePickerMode, dialogSize, dividerContentPosition, dividerOrientation, dividerVariant, fileUploaderDragState, menuItemType, menuPosition, orientation, overlayPosition, paginationItem, pinInputType, size, stepperColor, stepperOrientation, stepperValue, tableColumnAlignment, textareaResize, tlsUiConfigProvider, toggleGroupType, tooltipColor, tooltipOrigin, tooltipPosition };
|