@tectra-ng/ui 0.1.8 → 0.1.9
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 +2 -2
- package/avatar/README.md +19 -6
- package/color-picker/README.md +6 -5
- package/fesm2022/tectra-ng-ui-avatar.mjs +243 -63
- package/fesm2022/tectra-ng-ui-avatar.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-color-picker.mjs +100 -18
- package/fesm2022/tectra-ng-ui-color-picker.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-list-input.mjs +693 -0
- package/fesm2022/tectra-ng-ui-list-input.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-mention-textarea.mjs +1 -0
- package/fesm2022/tectra-ng-ui-mention-textarea.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-month-calendar.mjs +1 -0
- package/fesm2022/tectra-ng-ui-month-calendar.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-tooltip.mjs +10 -5
- package/fesm2022/tectra-ng-ui-tooltip.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-truncate-text.mjs +390 -0
- package/fesm2022/tectra-ng-ui-truncate-text.mjs.map +1 -0
- package/list-input/README.md +52 -0
- package/package.json +12 -4
- package/truncate-text/README.md +38 -0
- package/types/tectra-ng-ui-avatar.d.ts +85 -3
- package/types/tectra-ng-ui-avatar.d.ts.map +1 -1
- package/types/tectra-ng-ui-color-picker.d.ts +22 -1
- package/types/tectra-ng-ui-color-picker.d.ts.map +1 -1
- package/types/tectra-ng-ui-list-input.d.ts +231 -0
- package/types/tectra-ng-ui-list-input.d.ts.map +1 -0
- package/types/tectra-ng-ui-tooltip.d.ts +20 -17
- package/types/tectra-ng-ui-tooltip.d.ts.map +1 -1
- package/types/tectra-ng-ui-truncate-text.d.ts +123 -0
- package/types/tectra-ng-ui-truncate-text.d.ts.map +1 -0
|
@@ -3,14 +3,16 @@ import { InjectionToken, Signal } from "@angular/core";
|
|
|
3
3
|
import { TxPassThroughOptions } from "@tectra-ng/core/config";
|
|
4
4
|
import { TxIconName } from "@tectra-ng/icons";
|
|
5
5
|
import { TectraDeepPartial } from "@tectra-ng/themes";
|
|
6
|
+
import * as i1 from "@tectra-ng/ui/tooltip";
|
|
6
7
|
export type TxAvatarSize = 'small' | 'medium' | 'large' | 'xlarge';
|
|
7
8
|
export type TxAvatarShape = 'circle' | 'square';
|
|
8
9
|
export type TxAvatarTone = 'blue' | 'green' | 'sky' | 'orange' | 'purple' | 'red';
|
|
9
10
|
export type TxAvatarPart = 'root' | 'image' | 'label' | 'icon';
|
|
10
|
-
export type TxAvatarGroupPart = 'root' | 'more';
|
|
11
|
+
export type TxAvatarGroupPart = 'root' | 'more' | 'add' | 'list' | 'item' | 'name';
|
|
11
12
|
export interface TxAvatarGroupContext {
|
|
12
13
|
readonly size: Signal<TxAvatarSize | number | undefined>;
|
|
13
14
|
readonly shape: Signal<TxAvatarShape | undefined>;
|
|
15
|
+
readonly tooltips: Signal<boolean>;
|
|
14
16
|
isHidden(avatar: object): boolean;
|
|
15
17
|
}
|
|
16
18
|
export declare const TX_AVATAR_GROUP: InjectionToken<TxAvatarGroupContext>;
|
|
@@ -25,6 +27,7 @@ export declare class TxAvatar {
|
|
|
25
27
|
readonly shape: import("@angular/core").InputSignal<TxAvatarShape | undefined>;
|
|
26
28
|
readonly tone: import("@angular/core").InputSignal<TxAvatarTone | undefined>;
|
|
27
29
|
readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
30
|
+
readonly tooltip: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
28
31
|
readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<{
|
|
29
32
|
root: {
|
|
30
33
|
size: string;
|
|
@@ -76,6 +79,23 @@ export declare class TxAvatar {
|
|
|
76
79
|
ringColor: string;
|
|
77
80
|
moreBackground: string;
|
|
78
81
|
moreColor: string;
|
|
82
|
+
moreFocusRingWidth: string;
|
|
83
|
+
moreFocusRingOffset: string;
|
|
84
|
+
moreFocusRingColor: string;
|
|
85
|
+
endGap: string;
|
|
86
|
+
addBackground: string;
|
|
87
|
+
addBorderColor: string;
|
|
88
|
+
addHoverBorderColor: string;
|
|
89
|
+
addColor: string;
|
|
90
|
+
addIconScale: string;
|
|
91
|
+
};
|
|
92
|
+
list: {
|
|
93
|
+
padding: string;
|
|
94
|
+
gap: string;
|
|
95
|
+
itemGap: string;
|
|
96
|
+
maxHeight: string;
|
|
97
|
+
nameFontSize: string;
|
|
98
|
+
nameColor: string;
|
|
79
99
|
};
|
|
80
100
|
}> | undefined>;
|
|
81
101
|
readonly pt: import("@angular/core").InputSignal<Partial<Record<TxAvatarPart, import("@tectra-ng/core/config").TxPassThroughValue<TxAvatar>>> | undefined>;
|
|
@@ -92,6 +112,8 @@ export declare class TxAvatar {
|
|
|
92
112
|
readonly resolvedShape: import("@angular/core").Signal<TxAvatarShape>;
|
|
93
113
|
readonly resolvedTone: import("@angular/core").Signal<TxAvatarTone | null>;
|
|
94
114
|
readonly accessibleName: import("@angular/core").Signal<string | null>;
|
|
115
|
+
readonly showsTooltip: import("@angular/core").Signal<boolean>;
|
|
116
|
+
readonly tooltipText: import("@angular/core").Signal<string>;
|
|
95
117
|
readonly isHidden: import("@angular/core").Signal<boolean>;
|
|
96
118
|
readonly iconName: import("@angular/core").Signal<TxIconName | (string & {}) | null>;
|
|
97
119
|
readonly hostStyle: import("@angular/core").Signal<{
|
|
@@ -141,6 +163,11 @@ export declare class TxAvatar {
|
|
|
141
163
|
"required": false;
|
|
142
164
|
"isSignal": true;
|
|
143
165
|
};
|
|
166
|
+
"tooltip": {
|
|
167
|
+
"alias": "tooltip";
|
|
168
|
+
"required": false;
|
|
169
|
+
"isSignal": true;
|
|
170
|
+
};
|
|
144
171
|
"dt": {
|
|
145
172
|
"alias": "dt";
|
|
146
173
|
"required": false;
|
|
@@ -163,14 +190,24 @@ export declare class TxAvatar {
|
|
|
163
190
|
};
|
|
164
191
|
}, {
|
|
165
192
|
"imageError": "imageError";
|
|
166
|
-
}, never, ["*"], true,
|
|
193
|
+
}, never, ["*"], true, [{
|
|
194
|
+
directive: typeof i1.TxTooltip;
|
|
195
|
+
inputs: {
|
|
196
|
+
"tooltipPlacement": "tooltipPlacement";
|
|
197
|
+
};
|
|
198
|
+
outputs: {};
|
|
199
|
+
}]>;
|
|
167
200
|
}
|
|
168
201
|
export declare class TxAvatarGroup {
|
|
169
202
|
readonly max: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
170
203
|
readonly size: import("@angular/core").InputSignal<number | TxAvatarSize | undefined>;
|
|
171
204
|
readonly shape: import("@angular/core").InputSignal<TxAvatarShape | undefined>;
|
|
205
|
+
readonly tooltips: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
206
|
+
readonly morePopover: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
172
207
|
readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
173
208
|
readonly moreLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
209
|
+
readonly addButton: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
210
|
+
readonly addLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
174
211
|
readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<{
|
|
175
212
|
root: {
|
|
176
213
|
size: string;
|
|
@@ -222,21 +259,44 @@ export declare class TxAvatarGroup {
|
|
|
222
259
|
ringColor: string;
|
|
223
260
|
moreBackground: string;
|
|
224
261
|
moreColor: string;
|
|
262
|
+
moreFocusRingWidth: string;
|
|
263
|
+
moreFocusRingOffset: string;
|
|
264
|
+
moreFocusRingColor: string;
|
|
265
|
+
endGap: string;
|
|
266
|
+
addBackground: string;
|
|
267
|
+
addBorderColor: string;
|
|
268
|
+
addHoverBorderColor: string;
|
|
269
|
+
addColor: string;
|
|
270
|
+
addIconScale: string;
|
|
271
|
+
};
|
|
272
|
+
list: {
|
|
273
|
+
padding: string;
|
|
274
|
+
gap: string;
|
|
275
|
+
itemGap: string;
|
|
276
|
+
maxHeight: string;
|
|
277
|
+
nameFontSize: string;
|
|
278
|
+
nameColor: string;
|
|
225
279
|
};
|
|
226
280
|
}> | undefined>;
|
|
227
281
|
readonly pt: import("@angular/core").InputSignal<Partial<Record<TxAvatarGroupPart, import("@tectra-ng/core/config").TxPassThroughValue<TxAvatarGroup>>> | undefined>;
|
|
228
282
|
readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
|
|
229
283
|
readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
284
|
+
readonly add: import("@angular/core").OutputEmitterRef<void>;
|
|
230
285
|
readonly avatars: import("@angular/core").Signal<readonly TxAvatar[]>;
|
|
231
286
|
readonly translations: import("@angular/core").Signal<import("@tectra-ng/core/config").TxTranslations>;
|
|
232
287
|
readonly isUnstyled: import("@angular/core").Signal<boolean>;
|
|
233
288
|
readonly passThrough: import("@angular/core").Signal<Partial<Record<TxAvatarGroupPart, import("@tectra-ng/core/config").TxPassThroughPart>>>;
|
|
289
|
+
readonly hiddenAvatars: import("@angular/core").Signal<TxAvatar[]>;
|
|
234
290
|
readonly extra: import("@angular/core").Signal<number>;
|
|
291
|
+
readonly moreText: import("@angular/core").Signal<string>;
|
|
292
|
+
readonly addText: import("@angular/core").Signal<string>;
|
|
293
|
+
readonly presetSize: import("@angular/core").Signal<TxAvatarSize | null>;
|
|
235
294
|
readonly hostStyle: import("@angular/core").Signal<{
|
|
236
295
|
'--tx-avatar-size'?: string | undefined;
|
|
237
296
|
'--_overlap': string;
|
|
238
297
|
}>;
|
|
239
298
|
readonly context: TxAvatarGroupContext;
|
|
299
|
+
nameOf(avatar: TxAvatar): string;
|
|
240
300
|
static ɵfac: i0.ɵɵFactoryDeclaration<TxAvatarGroup, never>;
|
|
241
301
|
static ɵcmp: i0.ɵɵComponentDeclaration<TxAvatarGroup, "tx-avatar-group", never, {
|
|
242
302
|
"max": {
|
|
@@ -254,6 +314,16 @@ export declare class TxAvatarGroup {
|
|
|
254
314
|
"required": false;
|
|
255
315
|
"isSignal": true;
|
|
256
316
|
};
|
|
317
|
+
"tooltips": {
|
|
318
|
+
"alias": "tooltips";
|
|
319
|
+
"required": false;
|
|
320
|
+
"isSignal": true;
|
|
321
|
+
};
|
|
322
|
+
"morePopover": {
|
|
323
|
+
"alias": "morePopover";
|
|
324
|
+
"required": false;
|
|
325
|
+
"isSignal": true;
|
|
326
|
+
};
|
|
257
327
|
"ariaLabel": {
|
|
258
328
|
"alias": "ariaLabel";
|
|
259
329
|
"required": false;
|
|
@@ -264,6 +334,16 @@ export declare class TxAvatarGroup {
|
|
|
264
334
|
"required": false;
|
|
265
335
|
"isSignal": true;
|
|
266
336
|
};
|
|
337
|
+
"addButton": {
|
|
338
|
+
"alias": "addButton";
|
|
339
|
+
"required": false;
|
|
340
|
+
"isSignal": true;
|
|
341
|
+
};
|
|
342
|
+
"addLabel": {
|
|
343
|
+
"alias": "addLabel";
|
|
344
|
+
"required": false;
|
|
345
|
+
"isSignal": true;
|
|
346
|
+
};
|
|
267
347
|
"dt": {
|
|
268
348
|
"alias": "dt";
|
|
269
349
|
"required": false;
|
|
@@ -284,6 +364,8 @@ export declare class TxAvatarGroup {
|
|
|
284
364
|
"required": false;
|
|
285
365
|
"isSignal": true;
|
|
286
366
|
};
|
|
287
|
-
}, {
|
|
367
|
+
}, {
|
|
368
|
+
"add": "add";
|
|
369
|
+
}, ["avatars"], ["*", "[txAvatarGroupEnd]"], true, never>;
|
|
288
370
|
}
|
|
289
371
|
//# sourceMappingURL=tectra-ng-ui-avatar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-ui-avatar.d.ts","names":[],"sources":["../../../../packages/ui/avatar/src/avatar.types.ts","../../../../packages/ui/avatar/src/avatar-group.token.ts","../../../../packages/ui/avatar/src/avatar.component.ts","../../../../packages/ui/avatar/src/avatar-group.component.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-avatar.d.ts","names":[],"sources":["../../../../packages/ui/avatar/src/avatar.types.ts","../../../../packages/ui/avatar/src/avatar-group.token.ts","../../../../packages/ui/avatar/src/avatar.component.ts","../../../../packages/ui/avatar/src/avatar-group.component.ts"],"mappings":";;;;;;YAAY;YACA;YACA;YACA;YACA;iBCDK;WACN,MAAM,OAAO;WACb,OAAO,OAAO;WACd,UAAU;EACnB,SAAS;;qBAGE,iBAAe,eAAA;qBCsCf;UACH;UACA;WAEC,+BAAK;WACL,8BAAI;WACJ,+BAAK;WACL,8BAAI,YAAA;WACJ,8BAAI,qBAAA;WACJ,+BAAK,YAAA;WACL,8BAAI,YAAA;WACJ,mCAAS;WACT,iCAAO;WACP,4BAAE,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WACF,4BAAE,YAAA,QAAA,OAAA,+CAAA,mBAAA;WACF,mCAAS,YAAA;WACT,kCAAQ;WAER,oCAAU,iBAAA;WAEV,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,+CAAA;WACX,gCAAM;WACN,mCAAS;WACT,kCAAQ;WACR,sCAAY,gBAAA;WACZ,oCAAU,gBAAA;WACV,uCAAa,OAAA;WACb,sCAAY,OAAA;WACZ,wCAAc;WACd,sCAAY;WACZ,qCAAW;WACX,kCAAQ;WACR,kCAAQ,OAAA;WACR,mCAAS;;;;EAiBlB,aAAa,OAAO;SAnDT,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAQ;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA;;IAAA,kBAAA,GAAA;IAAA;MAAA;;IAAA;;;qBClBR;WACF,6BAAG;WACH,8BAAI,qBAAA;WACJ,+BAAK,YAAA;WACL,kCAAQ;WACR,qCAAW;WACX,mCAAS;WACT,mCAAS;WACT,mCAAS;WACT,kCAAQ;WACR,4BAAE,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WACF,4BAAE,YAAA,QAAA,OAAA,oDAAA,mBAAA;WACF,mCAAS,YAAA;WACT,kCAAQ;WAER,6BAAG;WAEH,iCAAO,gBAAA;WAEP,sCAAY,wCAAA;WACZ,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,oDAAA;WACX,uCAAa,OAAA;WAIb,+BAAK;WACL,kCAAQ;WACR,iCAAO;WACP,oCAAU,OAAA;WAIV,mCAAS;;;;WAUT,SAAS;EAOlB,OAAO,QAAQ;SAlDJ,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAa;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ConnectedOverlayPositionChange } from "@angular/cdk/overlay";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import { ElementRef } from "@angular/core";
|
|
4
|
+
import { AbstractControl, ValidationErrors, Validator, ValidatorFn } from "@angular/forms";
|
|
4
5
|
import { TxPassThroughOptions } from "@tectra-ng/core/config";
|
|
5
6
|
import { TxFormControlBase } from "@tectra-ng/core/forms";
|
|
6
7
|
import { TxPlacement } from "@tectra-ng/core/overlay";
|
|
@@ -19,9 +20,10 @@ export interface TxHsb {
|
|
|
19
20
|
b: number;
|
|
20
21
|
}
|
|
21
22
|
export type TxColorValue = string | TxRgb | TxHsb;
|
|
22
|
-
export declare class TxColorPicker extends TxFormControlBase<TxColorValue> {
|
|
23
|
+
export declare class TxColorPicker extends TxFormControlBase<TxColorValue> implements Validator {
|
|
23
24
|
readonly format: import("@angular/core").InputSignal<TxColorFormat>;
|
|
24
25
|
readonly inline: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
26
|
+
readonly field: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
25
27
|
readonly presets: import("@angular/core").InputSignal<readonly string[]>;
|
|
26
28
|
readonly showClear: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
27
29
|
readonly showInput: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
@@ -40,6 +42,12 @@ export declare class TxColorPicker extends TxFormControlBase<TxColorValue> {
|
|
|
40
42
|
swatchBorderRadius: string;
|
|
41
43
|
swatchRing: string;
|
|
42
44
|
};
|
|
45
|
+
dot: {
|
|
46
|
+
size: string;
|
|
47
|
+
ringColor: string;
|
|
48
|
+
emptyBorderColor: string;
|
|
49
|
+
focusRingColor: string;
|
|
50
|
+
};
|
|
43
51
|
panel: {
|
|
44
52
|
width: string;
|
|
45
53
|
padding: string;
|
|
@@ -84,6 +92,8 @@ export declare class TxColorPicker extends TxFormControlBase<TxColorValue> {
|
|
|
84
92
|
readonly panel: import("@angular/core").Signal<ElementRef<HTMLElement> | undefined>;
|
|
85
93
|
private injector;
|
|
86
94
|
private host;
|
|
95
|
+
readonly hostElement: HTMLElement;
|
|
96
|
+
private inField;
|
|
87
97
|
private overlayInsets;
|
|
88
98
|
private readonly connectedOverlay;
|
|
89
99
|
private readonly followOrigin;
|
|
@@ -101,6 +111,7 @@ export declare class TxColorPicker extends TxFormControlBase<TxColorValue> {
|
|
|
101
111
|
readonly isPanelMounted: import("@angular/core").WritableSignal<boolean>;
|
|
102
112
|
readonly placement: import("@angular/core").WritableSignal<TxPlacement>;
|
|
103
113
|
readonly draft: import("@angular/core").WritableSignal<string | null>;
|
|
114
|
+
readonly fieldText: import("@angular/core").WritableSignal<string>;
|
|
104
115
|
private readonly exact;
|
|
105
116
|
private hasEntered;
|
|
106
117
|
readonly hex: import("@angular/core").Signal<string>;
|
|
@@ -108,6 +119,7 @@ export declare class TxColorPicker extends TxFormControlBase<TxColorValue> {
|
|
|
108
119
|
readonly areaText: import("@angular/core").Signal<string>;
|
|
109
120
|
readonly triggerText: import("@angular/core").Signal<string>;
|
|
110
121
|
readonly triggerLabel: import("@angular/core").Signal<string | null>;
|
|
122
|
+
readonly fieldLabel: import("@angular/core").Signal<string | null>;
|
|
111
123
|
readonly editable: import("@angular/core").Signal<boolean>;
|
|
112
124
|
readonly hostStyle: import("@angular/core").Signal<{
|
|
113
125
|
[x: string]: string;
|
|
@@ -116,6 +128,9 @@ export declare class TxColorPicker extends TxFormControlBase<TxColorValue> {
|
|
|
116
128
|
[x: string]: string;
|
|
117
129
|
}>;
|
|
118
130
|
writeValue(value: TxColorValue | null): void;
|
|
131
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
132
|
+
onFieldInput(event: Event): void;
|
|
133
|
+
onFieldBlur(): void;
|
|
119
134
|
open(): void;
|
|
120
135
|
close(focusTrigger?: boolean): void;
|
|
121
136
|
toggle(): void;
|
|
@@ -148,6 +163,11 @@ export declare class TxColorPicker extends TxFormControlBase<TxColorValue> {
|
|
|
148
163
|
"required": false;
|
|
149
164
|
"isSignal": true;
|
|
150
165
|
};
|
|
166
|
+
"field": {
|
|
167
|
+
"alias": "field";
|
|
168
|
+
"required": false;
|
|
169
|
+
"isSignal": true;
|
|
170
|
+
};
|
|
151
171
|
"presets": {
|
|
152
172
|
"alias": "presets";
|
|
153
173
|
"required": false;
|
|
@@ -234,4 +254,5 @@ export declare function rgbToHex({ r, g, b }: TxRgb): string;
|
|
|
234
254
|
export declare function rgbToHsb({ r, g, b }: TxRgb): TxHsb;
|
|
235
255
|
export declare function hsbToRgb({ h, s, b }: TxHsb): TxRgb;
|
|
236
256
|
export declare function toHsb(value: unknown): TxHsb | null;
|
|
257
|
+
export declare function txColorHexValidator(): ValidatorFn;
|
|
237
258
|
//# sourceMappingURL=tectra-ng-ui-color-picker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-ui-color-picker.d.ts","names":[],"sources":["../../../../packages/ui/color-picker/src/color-picker.types.ts","../../../../packages/ui/color-picker/src/color-picker.component.ts","../../../../packages/ui/color-picker/src/color.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-color-picker.d.ts","names":[],"sources":["../../../../packages/ui/color-picker/src/color-picker.types.ts","../../../../packages/ui/color-picker/src/color-picker.component.ts","../../../../packages/ui/color-picker/src/color.ts","../../../../packages/ui/color-picker/src/color-validator.ts"],"mappings":";;;;;;;;YAAY;YACA;YACA;iBAEK;EACf;EACA;EACA;;iBAGe;EACf;EACA;EACA;;YAGU,wBAAwB,QAAQ;qBC0C/B,sBAAsB,kBAAkB,yBAAyB;WACnE,gCAAM,YAAA;WACN,gCAAM;WACN,+BAAK;WACL,iCAAO;WACP,mCAAS;WACT,mCAAS;WACT,mCAAS;WACT,qCAAW;WACX,iCAAO;WACP,mCAAS;WACT,wCAAc;WACd,8BAAI,YAAA;WACJ,iCAAO;WACP,kCAAQ;WACR,4BAAE,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WACF,4BAAE,YAAA,QAAA,OAAA,oDAAA,mBAAA;WACF,mCAAS,YAAA;WACT,kCAAQ;WAER,iCAAO,iBAAA;WACP,gCAAM;WACN,gCAAM;WAEN,iCAAO,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AA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA;IAAA;IAAA;;;wBCpDV,SAAS,eAAe;wBASxB,WAAW,GAAG,GAAG,KAAK;wBAItB,WAAW,GAAG,GAAG,KAAK,QAAQ;wBAiB9B,WAAW,GAAG,GAAG,KAAK,QAAQ;wBAU9B,MAAM,iBAAiB;wBC3CvB,uBAAuB"}
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { ElementRef } from "@angular/core";
|
|
3
|
+
import { TxPassThroughOptions, TxTranslations } from "@tectra-ng/core/config";
|
|
4
|
+
import { TxFormControlBase } from "@tectra-ng/core/forms";
|
|
5
|
+
import { TxIconName } from "@tectra-ng/icons";
|
|
6
|
+
import { TectraDeepPartial } from "@tectra-ng/themes";
|
|
7
|
+
export type TxListInputType = 'domain' | 'email' | 'url' | 'text';
|
|
8
|
+
export type TxListInputParser = (token: string) => string | null;
|
|
9
|
+
export type TxListInputPart = 'root' | 'field' | 'footer' | 'stats' | 'actions' | 'invalid';
|
|
10
|
+
export interface TxListInputResult {
|
|
11
|
+
items: string[];
|
|
12
|
+
invalid: string[];
|
|
13
|
+
duplicates: number;
|
|
14
|
+
}
|
|
15
|
+
export declare const TX_LIST_INPUT_WORDS: RegExp;
|
|
16
|
+
export declare const TX_LIST_INPUT_LINES: RegExp;
|
|
17
|
+
export declare function txParseDomain(token: string): string | null;
|
|
18
|
+
export declare function txParseEmail(token: string): string | null;
|
|
19
|
+
export declare function txParseUrl(token: string): string | null;
|
|
20
|
+
export declare function txParseText(token: string): string | null;
|
|
21
|
+
export declare const TX_LIST_INPUT_PARSERS: Record<TxListInputType, TxListInputParser>;
|
|
22
|
+
export declare function txParseList(text: string | null | undefined, parser: TxListInputParser, separator?: RegExp): TxListInputResult;
|
|
23
|
+
export declare class TxListInput extends TxFormControlBase<string[]> {
|
|
24
|
+
private locale;
|
|
25
|
+
readonly text: import("@angular/core").ModelSignal<string>;
|
|
26
|
+
readonly type: import("@angular/core").InputSignal<TxListInputType>;
|
|
27
|
+
readonly parser: import("@angular/core").InputSignal<TxListInputParser | undefined>;
|
|
28
|
+
readonly splitByLines: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
29
|
+
readonly separator: import("@angular/core").InputSignal<RegExp | undefined>;
|
|
30
|
+
readonly placeholder: import("@angular/core").InputSignal<string | undefined>;
|
|
31
|
+
readonly hint: import("@angular/core").InputSignal<string | undefined>;
|
|
32
|
+
readonly countLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
33
|
+
readonly rows: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
34
|
+
readonly invalidLimit: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
35
|
+
readonly disabledInput: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
36
|
+
readonly readonly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
37
|
+
readonly invalid: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
38
|
+
readonly inputId: import("@angular/core").InputSignal<string | undefined>;
|
|
39
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
40
|
+
readonly ariaLabelledBy: import("@angular/core").InputSignal<string | undefined>;
|
|
41
|
+
readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<{
|
|
42
|
+
root: {
|
|
43
|
+
background: string;
|
|
44
|
+
borderColor: string;
|
|
45
|
+
borderWidth: string;
|
|
46
|
+
borderRadius: string;
|
|
47
|
+
focusBorderColor: string;
|
|
48
|
+
focusBorderWidth: string;
|
|
49
|
+
invalidBorderColor: string;
|
|
50
|
+
disabledOpacity: string;
|
|
51
|
+
transitionDuration: string;
|
|
52
|
+
};
|
|
53
|
+
field: {
|
|
54
|
+
minHeight: string;
|
|
55
|
+
padding: string;
|
|
56
|
+
fontFamily: string;
|
|
57
|
+
fontSize: string;
|
|
58
|
+
lineHeight: string;
|
|
59
|
+
color: string;
|
|
60
|
+
placeholderColor: string;
|
|
61
|
+
};
|
|
62
|
+
footer: {
|
|
63
|
+
padding: string;
|
|
64
|
+
gap: string;
|
|
65
|
+
background: string;
|
|
66
|
+
borderColor: string;
|
|
67
|
+
statsGap: string;
|
|
68
|
+
statsPaddingStart: string;
|
|
69
|
+
actionsGap: string;
|
|
70
|
+
};
|
|
71
|
+
hint: {
|
|
72
|
+
fontSize: string;
|
|
73
|
+
color: string;
|
|
74
|
+
};
|
|
75
|
+
unrecognized: {
|
|
76
|
+
padding: string;
|
|
77
|
+
gap: string;
|
|
78
|
+
borderColor: string;
|
|
79
|
+
titleFontSize: string;
|
|
80
|
+
titleFontWeight: string;
|
|
81
|
+
titleColor: string;
|
|
82
|
+
titleGap: string;
|
|
83
|
+
};
|
|
84
|
+
}> | undefined>;
|
|
85
|
+
readonly pt: import("@angular/core").InputSignal<Partial<Record<TxListInputPart, import("@tectra-ng/core/config").TxPassThroughValue<TxListInput>>> | undefined>;
|
|
86
|
+
readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
|
|
87
|
+
readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
88
|
+
readonly itemsChange: import("@angular/core").OutputEmitterRef<string[]>;
|
|
89
|
+
readonly parsedChange: import("@angular/core").OutputEmitterRef<TxListInputResult>;
|
|
90
|
+
readonly field: import("@angular/core").Signal<ElementRef<HTMLTextAreaElement>>;
|
|
91
|
+
readonly statusId: string;
|
|
92
|
+
readonly translations: import("@angular/core").Signal<TxTranslations>;
|
|
93
|
+
readonly isInvalid: import("@angular/core").Signal<boolean>;
|
|
94
|
+
readonly isUnstyled: import("@angular/core").Signal<boolean>;
|
|
95
|
+
readonly passThrough: import("@angular/core").Signal<Partial<Record<TxListInputPart, import("@tectra-ng/core/config").TxPassThroughPart>>>;
|
|
96
|
+
readonly isDisabled: import("@angular/core").Signal<boolean>;
|
|
97
|
+
readonly texts: import("@angular/core").Signal<{
|
|
98
|
+
placeholder: keyof TxTranslations;
|
|
99
|
+
hint: keyof TxTranslations;
|
|
100
|
+
count: keyof TxTranslations;
|
|
101
|
+
icon: TxIconName;
|
|
102
|
+
}>;
|
|
103
|
+
readonly parsed: import("@angular/core").Signal<TxListInputResult>;
|
|
104
|
+
readonly invalidPreview: import("@angular/core").Signal<string[]>;
|
|
105
|
+
readonly invalidHidden: import("@angular/core").Signal<number>;
|
|
106
|
+
readonly isEmpty: import("@angular/core").Signal<boolean>;
|
|
107
|
+
readonly canCleanUp: import("@angular/core").Signal<boolean>;
|
|
108
|
+
readonly placeholderText: import("@angular/core").Signal<string>;
|
|
109
|
+
readonly hintText: import("@angular/core").Signal<string>;
|
|
110
|
+
readonly countText: import("@angular/core").Signal<string>;
|
|
111
|
+
readonly duplicatesText: import("@angular/core").Signal<string>;
|
|
112
|
+
readonly invalidCountText: import("@angular/core").Signal<string>;
|
|
113
|
+
readonly moreText: import("@angular/core").Signal<string>;
|
|
114
|
+
readonly hostStyle: import("@angular/core").Signal<{
|
|
115
|
+
[x: string]: string;
|
|
116
|
+
}>;
|
|
117
|
+
writeValue(value: string[] | null): void;
|
|
118
|
+
onInput(event: Event): void;
|
|
119
|
+
onBlur(): void;
|
|
120
|
+
cleanUp(): void;
|
|
121
|
+
clear(): void;
|
|
122
|
+
private setText;
|
|
123
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxListInput, never>;
|
|
124
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TxListInput, "tx-list-input", never, {
|
|
125
|
+
"text": {
|
|
126
|
+
"alias": "text";
|
|
127
|
+
"required": false;
|
|
128
|
+
"isSignal": true;
|
|
129
|
+
};
|
|
130
|
+
"type": {
|
|
131
|
+
"alias": "type";
|
|
132
|
+
"required": false;
|
|
133
|
+
"isSignal": true;
|
|
134
|
+
};
|
|
135
|
+
"parser": {
|
|
136
|
+
"alias": "parser";
|
|
137
|
+
"required": false;
|
|
138
|
+
"isSignal": true;
|
|
139
|
+
};
|
|
140
|
+
"splitByLines": {
|
|
141
|
+
"alias": "splitByLines";
|
|
142
|
+
"required": false;
|
|
143
|
+
"isSignal": true;
|
|
144
|
+
};
|
|
145
|
+
"separator": {
|
|
146
|
+
"alias": "separator";
|
|
147
|
+
"required": false;
|
|
148
|
+
"isSignal": true;
|
|
149
|
+
};
|
|
150
|
+
"placeholder": {
|
|
151
|
+
"alias": "placeholder";
|
|
152
|
+
"required": false;
|
|
153
|
+
"isSignal": true;
|
|
154
|
+
};
|
|
155
|
+
"hint": {
|
|
156
|
+
"alias": "hint";
|
|
157
|
+
"required": false;
|
|
158
|
+
"isSignal": true;
|
|
159
|
+
};
|
|
160
|
+
"countLabel": {
|
|
161
|
+
"alias": "countLabel";
|
|
162
|
+
"required": false;
|
|
163
|
+
"isSignal": true;
|
|
164
|
+
};
|
|
165
|
+
"rows": {
|
|
166
|
+
"alias": "rows";
|
|
167
|
+
"required": false;
|
|
168
|
+
"isSignal": true;
|
|
169
|
+
};
|
|
170
|
+
"invalidLimit": {
|
|
171
|
+
"alias": "invalidLimit";
|
|
172
|
+
"required": false;
|
|
173
|
+
"isSignal": true;
|
|
174
|
+
};
|
|
175
|
+
"disabledInput": {
|
|
176
|
+
"alias": "disabled";
|
|
177
|
+
"required": false;
|
|
178
|
+
"isSignal": true;
|
|
179
|
+
};
|
|
180
|
+
"readonly": {
|
|
181
|
+
"alias": "readonly";
|
|
182
|
+
"required": false;
|
|
183
|
+
"isSignal": true;
|
|
184
|
+
};
|
|
185
|
+
"invalid": {
|
|
186
|
+
"alias": "invalid";
|
|
187
|
+
"required": false;
|
|
188
|
+
"isSignal": true;
|
|
189
|
+
};
|
|
190
|
+
"inputId": {
|
|
191
|
+
"alias": "inputId";
|
|
192
|
+
"required": false;
|
|
193
|
+
"isSignal": true;
|
|
194
|
+
};
|
|
195
|
+
"ariaLabel": {
|
|
196
|
+
"alias": "ariaLabel";
|
|
197
|
+
"required": false;
|
|
198
|
+
"isSignal": true;
|
|
199
|
+
};
|
|
200
|
+
"ariaLabelledBy": {
|
|
201
|
+
"alias": "ariaLabelledBy";
|
|
202
|
+
"required": false;
|
|
203
|
+
"isSignal": true;
|
|
204
|
+
};
|
|
205
|
+
"dt": {
|
|
206
|
+
"alias": "dt";
|
|
207
|
+
"required": false;
|
|
208
|
+
"isSignal": true;
|
|
209
|
+
};
|
|
210
|
+
"pt": {
|
|
211
|
+
"alias": "pt";
|
|
212
|
+
"required": false;
|
|
213
|
+
"isSignal": true;
|
|
214
|
+
};
|
|
215
|
+
"ptOptions": {
|
|
216
|
+
"alias": "ptOptions";
|
|
217
|
+
"required": false;
|
|
218
|
+
"isSignal": true;
|
|
219
|
+
};
|
|
220
|
+
"unstyled": {
|
|
221
|
+
"alias": "unstyled";
|
|
222
|
+
"required": false;
|
|
223
|
+
"isSignal": true;
|
|
224
|
+
};
|
|
225
|
+
}, {
|
|
226
|
+
"text": "textChange";
|
|
227
|
+
"itemsChange": "itemsChange";
|
|
228
|
+
"parsedChange": "parsedChange";
|
|
229
|
+
}, never, never, true, never>;
|
|
230
|
+
}
|
|
231
|
+
//# sourceMappingURL=tectra-ng-ui-list-input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-list-input.d.ts","names":[],"sources":["../../../../packages/ui/list-input/src/list-input.types.ts","../../../../packages/ui/list-input/src/list-input.parsers.ts","../../../../packages/ui/list-input/src/list-input.component.ts"],"mappings":";;;;;;YAAY;YACA,qBAAqB;YACrB;iBAEK;EACf;EACA;EACA;;qBCEW,qBAAmB;qBACnB,qBAAmB;wBAEhB,cAAc;wBAOd,aAAa;wBAcb,WAAW;wBAaX,YAAY;qBAIf,uBAAuB,OAAO,iBAAiB;wBAO5C,YAAY,iCAAiC,QAAQ,mBAAmB,YAAW,SAA+B;qBCCrH,oBAAoB;UACvB;WAEC,8BAAI;WACJ,8BAAI,YAAA;WACJ,gCAAM,YAAA;WACN,sCAAY;WACZ,mCAAS,YAAA;WACT,qCAAW;WACX,8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AA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA;IAAA;IAAA"}
|
|
@@ -129,6 +129,7 @@ export declare class TxTooltip implements TxTooltipHandle {
|
|
|
129
129
|
readonly tooltipShown: import("@angular/core").OutputEmitterRef<void>;
|
|
130
130
|
readonly tooltipHidden: import("@angular/core").OutputEmitterRef<void>;
|
|
131
131
|
private readonly ref;
|
|
132
|
+
private readonly contentSource;
|
|
132
133
|
private showTimer;
|
|
133
134
|
private hideTimer;
|
|
134
135
|
private lifeTimer;
|
|
@@ -138,26 +139,28 @@ export declare class TxTooltip implements TxTooltipHandle {
|
|
|
138
139
|
private touched;
|
|
139
140
|
private destroyed;
|
|
140
141
|
readonly id: string;
|
|
141
|
-
readonly isOpen:
|
|
142
|
-
readonly placement:
|
|
143
|
-
readonly event:
|
|
144
|
-
readonly showDelay:
|
|
145
|
-
readonly hideDelay:
|
|
146
|
-
readonly life:
|
|
147
|
-
readonly offset:
|
|
148
|
-
readonly arrow:
|
|
149
|
-
readonly interactive:
|
|
150
|
-
readonly isUnstyled:
|
|
151
|
-
readonly passThrough:
|
|
152
|
-
readonly panelStyle:
|
|
153
|
-
readonly
|
|
154
|
-
readonly
|
|
155
|
-
readonly
|
|
156
|
-
readonly
|
|
157
|
-
readonly
|
|
142
|
+
readonly isOpen: Signal<boolean>;
|
|
143
|
+
readonly placement: Signal<TxPlacement>;
|
|
144
|
+
readonly event: Signal<TxTooltipEvent>;
|
|
145
|
+
readonly showDelay: Signal<number>;
|
|
146
|
+
readonly hideDelay: Signal<number>;
|
|
147
|
+
readonly life: Signal<number | undefined>;
|
|
148
|
+
readonly offset: Signal<number>;
|
|
149
|
+
readonly arrow: Signal<boolean>;
|
|
150
|
+
readonly interactive: Signal<boolean>;
|
|
151
|
+
readonly isUnstyled: Signal<boolean>;
|
|
152
|
+
readonly passThrough: Signal<Partial<Record<TxTooltipPart, import("@tectra-ng/core/config").TxPassThroughPart>>>;
|
|
153
|
+
readonly panelStyle: Signal<Record<string, string>>;
|
|
154
|
+
readonly content: Signal<TxTooltipContent>;
|
|
155
|
+
readonly text: Signal<string>;
|
|
156
|
+
readonly template: Signal<TemplateRef<TxTooltipContext<unknown>> | null>;
|
|
157
|
+
readonly hasContent: Signal<boolean>;
|
|
158
|
+
readonly describesAhead: Signal<boolean>;
|
|
159
|
+
readonly context: Signal<TxTooltipContext<unknown>>;
|
|
158
160
|
private readonly listensToHover;
|
|
159
161
|
private readonly listensToFocus;
|
|
160
162
|
constructor();
|
|
163
|
+
useContent(source: Signal<TxTooltipContent>): void;
|
|
161
164
|
show(delay?: number): void;
|
|
162
165
|
hide(delay?: number): void;
|
|
163
166
|
hideNow(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-ui-tooltip.d.ts","names":[],"sources":["../../../../packages/ui/tooltip/src/tooltip.types.ts","../../../../packages/ui/tooltip/src/tooltip.options.ts","../../../../packages/ui/tooltip/src/tooltip-registry.service.ts","../../../../packages/ui/tooltip/src/tooltip-panel.component.ts","../../../../packages/ui/tooltip/src/tooltip.directive.ts"],"mappings":";;;;;YAGY;YACA;iBAEK,iBAAiB;EAChC,WAAW;EACX;;YAGU,qCAAqC,YAAY;iBAE5C;EACf,YAAY;EACZ,QAAQ;EACR;EACA;EACA;EACA;EACA;EACA;;qBClBW;;;;;;;;;qBAUA,oBAAkB,eAAA;wBAEf,iBAAiB,SAAS,mBAAmB;iBCX5C;EACf;;qBAIW;UACH;UACA;UACA;UACA;EAER,SAAS,aAAa;EAOtB,OAAO,MAAM;EAQb;EAIA,SAAS,SAAS;EAOlB,QAAQ,SAAS;UAOT;UAIA;SA3CG,MAAA,GAAA,qBAAA;;;iBCHI;EACf;EACA,QAAQ;EACR,SAAS,OAAO;EAChB,SAAS,OAAO;EAChB,WAAW,OAAO;EAClB,OAAO;EACP,aAAa;EACb,mBAAmB;EACnB,WAAW;EACX,UAAU;EACV,aAAa,OAAO,sBAAsB;EAC1C,OAAO,OAAO;EACd,YAAY;EACZ;EACA;;qBAGW,kBAAgB,eAAA;qBAmChB;WACF,OAAK;mBAEG;WAER,UAAQ,OAAA,YAAA;WAIR,MAAI,yCAAA;WACJ,WAAS;WACT,aAAW;WACX,WAAS;;;;SAZP,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-tooltip.d.ts","names":[],"sources":["../../../../packages/ui/tooltip/src/tooltip.types.ts","../../../../packages/ui/tooltip/src/tooltip.options.ts","../../../../packages/ui/tooltip/src/tooltip-registry.service.ts","../../../../packages/ui/tooltip/src/tooltip-panel.component.ts","../../../../packages/ui/tooltip/src/tooltip.directive.ts"],"mappings":";;;;;YAGY;YACA;iBAEK,iBAAiB;EAChC,WAAW;EACX;;YAGU,qCAAqC,YAAY;iBAE5C;EACf,YAAY;EACZ,QAAQ;EACR;EACA;EACA;EACA;EACA;EACA;;qBClBW;;;;;;;;;qBAUA,oBAAkB,eAAA;wBAEf,iBAAiB,SAAS,mBAAmB;iBCX5C;EACf;;qBAIW;UACH;UACA;UACA;UACA;EAER,SAAS,aAAa;EAOtB,OAAO,MAAM;EAQb;EAIA,SAAS,SAAS;EAOlB,QAAQ,SAAS;UAOT;UAIA;SA3CG,MAAA,GAAA,qBAAA;;;iBCHI;EACf;EACA,QAAQ;EACR,SAAS,OAAO;EAChB,SAAS,OAAO;EAChB,WAAW,OAAO;EAClB,OAAO;EACP,aAAa;EACb,mBAAmB;EACnB,WAAW;EACX,UAAU;EACV,aAAa,OAAO,sBAAsB;EAC1C,OAAO,OAAO;EACd,YAAY;EACZ;EACA;;qBAGW,kBAAgB,eAAA;qBAmChB;WACF,OAAK;mBAEG;WAER,UAAQ,OAAA,YAAA;WAIR,MAAI,yCAAA;WACJ,WAAS;WACT,aAAW;WACX,WAAS;;;;SAZP,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;qBCRA,qBAAqB;UACxB;UACA;UACA;UACA;UACA;UACA;WAEC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