@useinsider/ab-components 0.0.44 → 0.0.47
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/dist/ab-components.cjs.js +51 -1
- package/dist/ab-components.cjs.js.map +1 -1
- package/dist/ab-components.css +1 -1
- package/dist/ab-components.es.js +2524 -1338
- package/dist/ab-components.es.js.map +1 -1
- package/dist/ab-components.iife.js +51 -1
- package/dist/ab-components.iife.js.map +1 -1
- package/dist/ab-components.umd.js +51 -1
- package/dist/ab-components.umd.js.map +1 -1
- package/dist/icons.svg +44 -0
- package/dist/index.d.ts +463 -21
- package/package.json +3 -1
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { ComponentProvideOptions } from 'vue';
|
|
|
3
3
|
import { DefineComponent } from 'vue';
|
|
4
4
|
import { Placement } from '@floating-ui/vue';
|
|
5
5
|
import { PublicProps } from 'vue';
|
|
6
|
+
import { Ref } from 'vue';
|
|
6
7
|
|
|
7
8
|
declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
8
9
|
tooltipRef: HTMLDivElement;
|
|
@@ -11,11 +12,11 @@ triggerRef: HTMLDivElement;
|
|
|
11
12
|
}, any>;
|
|
12
13
|
|
|
13
14
|
declare const __VLS_component_2: DefineComponent<ModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
14
|
-
close: () => any;
|
|
15
15
|
submit: () => any;
|
|
16
|
+
close: () => any;
|
|
16
17
|
}, string, PublicProps, Readonly<ModalProps> & Readonly<{
|
|
17
|
-
onClose?: (() => any) | undefined;
|
|
18
18
|
onSubmit?: (() => any) | undefined;
|
|
19
|
+
onClose?: (() => any) | undefined;
|
|
19
20
|
}>, {
|
|
20
21
|
hasOverlay: boolean;
|
|
21
22
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
@@ -31,6 +32,139 @@ descriptionText: string;
|
|
|
31
32
|
fullWidthContentStatus: boolean;
|
|
32
33
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
33
34
|
|
|
35
|
+
declare const __VLS_component_4: DefineComponent<InBasicTextInputProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
36
|
+
click: (event: MouseEvent) => any;
|
|
37
|
+
input: (value: string | number) => any;
|
|
38
|
+
blur: (event: FocusEvent) => any;
|
|
39
|
+
change: (value: string | number) => any;
|
|
40
|
+
focus: (event: FocusEvent) => any;
|
|
41
|
+
keypress: (event: KeyboardEvent) => any;
|
|
42
|
+
keyup: (event: KeyboardEvent) => any;
|
|
43
|
+
paste: (event: ClipboardEvent) => any;
|
|
44
|
+
"update:modelValue": (value: string | number) => any;
|
|
45
|
+
leftIconClick: (event: MouseEvent) => any;
|
|
46
|
+
rightIconClick: (event: MouseEvent) => any;
|
|
47
|
+
}, string, PublicProps, Readonly<InBasicTextInputProps> & Readonly<{
|
|
48
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
49
|
+
onInput?: ((value: string | number) => any) | undefined;
|
|
50
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
51
|
+
onChange?: ((value: string | number) => any) | undefined;
|
|
52
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
53
|
+
onKeypress?: ((event: KeyboardEvent) => any) | undefined;
|
|
54
|
+
onKeyup?: ((event: KeyboardEvent) => any) | undefined;
|
|
55
|
+
onPaste?: ((event: ClipboardEvent) => any) | undefined;
|
|
56
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
57
|
+
onLeftIconClick?: ((event: MouseEvent) => any) | undefined;
|
|
58
|
+
onRightIconClick?: ((event: MouseEvent) => any) | undefined;
|
|
59
|
+
}>, {
|
|
60
|
+
leftIconName: IconNames;
|
|
61
|
+
rightIconName: IconNames;
|
|
62
|
+
type: "text" | "number";
|
|
63
|
+
modelValue: string | number;
|
|
64
|
+
preventXss: boolean;
|
|
65
|
+
theme: "grey" | "white";
|
|
66
|
+
labelStatus: boolean;
|
|
67
|
+
labelText: string;
|
|
68
|
+
states: "default" | "error" | "warning";
|
|
69
|
+
disabledStatus: boolean;
|
|
70
|
+
readonly: boolean;
|
|
71
|
+
leftIconStatus: boolean;
|
|
72
|
+
rightIconStatus: boolean;
|
|
73
|
+
suffixTextStatus: boolean;
|
|
74
|
+
suffixText: string;
|
|
75
|
+
autoComplete: string;
|
|
76
|
+
maxCharacterLength: number | string;
|
|
77
|
+
minValue: number | string;
|
|
78
|
+
maxValue: number | string;
|
|
79
|
+
autoFocus: boolean;
|
|
80
|
+
allowDecimal: boolean;
|
|
81
|
+
allowComma: boolean;
|
|
82
|
+
helperMessageStatus: boolean;
|
|
83
|
+
helperMessage: string;
|
|
84
|
+
stateMessage: string;
|
|
85
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
86
|
+
componentRoot: HTMLFieldSetElement;
|
|
87
|
+
textInput: HTMLInputElement;
|
|
88
|
+
}, HTMLFieldSetElement>;
|
|
89
|
+
|
|
90
|
+
declare const __VLS_component_5: DefineComponent<InDropdownMenuProps, {
|
|
91
|
+
isOpen: Ref<boolean, boolean>;
|
|
92
|
+
toggleMenu: () => void;
|
|
93
|
+
closeMenu: () => void;
|
|
94
|
+
selectedItem: Ref< {
|
|
95
|
+
text: string;
|
|
96
|
+
value: string;
|
|
97
|
+
} | null, MenuItem | {
|
|
98
|
+
text: string;
|
|
99
|
+
value: string;
|
|
100
|
+
} | null>;
|
|
101
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
102
|
+
"update:modelValue": (value: string) => any;
|
|
103
|
+
"add-error": (error: string) => any;
|
|
104
|
+
"item-added": (item: MenuItem) => any;
|
|
105
|
+
"select-item": (item: MenuItem) => any;
|
|
106
|
+
}, string, PublicProps, Readonly<InDropdownMenuProps> & Readonly<{
|
|
107
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
108
|
+
"onAdd-error"?: ((error: string) => any) | undefined;
|
|
109
|
+
"onItem-added"?: ((item: MenuItem) => any) | undefined;
|
|
110
|
+
"onSelect-item"?: ((item: MenuItem) => any) | undefined;
|
|
111
|
+
}>, {
|
|
112
|
+
modelValue: string;
|
|
113
|
+
menuHeight: number;
|
|
114
|
+
addable: boolean;
|
|
115
|
+
addButtonText: string;
|
|
116
|
+
searchable: boolean;
|
|
117
|
+
validateAddItem: (item: string, items: MenuItem[]) => string | null;
|
|
118
|
+
searchPlaceholder: string;
|
|
119
|
+
showSelectedIcon: boolean;
|
|
120
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
121
|
+
|
|
122
|
+
declare const __VLS_component_6: DefineComponent<PopoverProps, {
|
|
123
|
+
isOpen: Ref<boolean, boolean>;
|
|
124
|
+
toggle: () => void;
|
|
125
|
+
close: () => void;
|
|
126
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
127
|
+
close: () => any;
|
|
128
|
+
"update:modelValue": (value: boolean) => any;
|
|
129
|
+
open: () => any;
|
|
130
|
+
}, string, PublicProps, Readonly<PopoverProps> & Readonly<{
|
|
131
|
+
onClose?: (() => any) | undefined;
|
|
132
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
133
|
+
onOpen?: (() => any) | undefined;
|
|
134
|
+
}>, {
|
|
135
|
+
modelValue: boolean;
|
|
136
|
+
align: "left" | "center" | "right";
|
|
137
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
138
|
+
popoverRef: HTMLDivElement;
|
|
139
|
+
contentRef: HTMLDivElement;
|
|
140
|
+
}, HTMLDivElement>;
|
|
141
|
+
|
|
142
|
+
declare const __VLS_component_7: DefineComponent<InBoxProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<InBoxProps> & Readonly<{}>, {
|
|
143
|
+
border: string;
|
|
144
|
+
borderRadius: string;
|
|
145
|
+
borderTriangle: boolean;
|
|
146
|
+
borderTrianglePosition: string;
|
|
147
|
+
borderTriangleAlign: string;
|
|
148
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
149
|
+
|
|
150
|
+
declare const __VLS_component_8: DefineComponent<ColorPickerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
151
|
+
close: () => any;
|
|
152
|
+
"color-change": (color: string) => any;
|
|
153
|
+
}, string, PublicProps, Readonly<ColorPickerProps> & Readonly<{
|
|
154
|
+
onClose?: (() => any) | undefined;
|
|
155
|
+
"onColor-change"?: ((color: string) => any) | undefined;
|
|
156
|
+
}>, {
|
|
157
|
+
color: string;
|
|
158
|
+
title: string;
|
|
159
|
+
showSaveButton: boolean;
|
|
160
|
+
presetColors: string[];
|
|
161
|
+
showOpacityInHex: boolean;
|
|
162
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
163
|
+
colorPickerRef: HTMLDivElement;
|
|
164
|
+
hueSliderRef: HTMLDivElement;
|
|
165
|
+
opacitySliderRef: HTMLDivElement;
|
|
166
|
+
}, HTMLDivElement>;
|
|
167
|
+
|
|
34
168
|
declare type __VLS_Props = {
|
|
35
169
|
id: string;
|
|
36
170
|
text: string;
|
|
@@ -72,12 +206,92 @@ declare function __VLS_template_3(): {
|
|
|
72
206
|
rootEl: HTMLDivElement;
|
|
73
207
|
};
|
|
74
208
|
|
|
209
|
+
declare function __VLS_template_4(): {
|
|
210
|
+
attrs: Partial<{}>;
|
|
211
|
+
slots: {
|
|
212
|
+
leftSlot?(_: {}): any;
|
|
213
|
+
rightSlot?(_: {}): any;
|
|
214
|
+
};
|
|
215
|
+
refs: {
|
|
216
|
+
componentRoot: HTMLFieldSetElement;
|
|
217
|
+
textInput: HTMLInputElement;
|
|
218
|
+
};
|
|
219
|
+
rootEl: HTMLFieldSetElement;
|
|
220
|
+
};
|
|
221
|
+
|
|
222
|
+
declare function __VLS_template_5(): {
|
|
223
|
+
attrs: Partial<{}>;
|
|
224
|
+
slots: {
|
|
225
|
+
trigger?(_: {
|
|
226
|
+
isOpen: boolean;
|
|
227
|
+
toggle: () => void;
|
|
228
|
+
}): any;
|
|
229
|
+
item?(_: {
|
|
230
|
+
item: {
|
|
231
|
+
text: string;
|
|
232
|
+
value: string;
|
|
233
|
+
};
|
|
234
|
+
isSelected: boolean;
|
|
235
|
+
}): any;
|
|
236
|
+
};
|
|
237
|
+
refs: {};
|
|
238
|
+
rootEl: HTMLDivElement;
|
|
239
|
+
};
|
|
240
|
+
|
|
241
|
+
declare function __VLS_template_6(): {
|
|
242
|
+
attrs: Partial<{}>;
|
|
243
|
+
slots: {
|
|
244
|
+
trigger?(_: {
|
|
245
|
+
isOpen: boolean;
|
|
246
|
+
toggle: () => void;
|
|
247
|
+
}): any;
|
|
248
|
+
default?(_: {}): any;
|
|
249
|
+
};
|
|
250
|
+
refs: {
|
|
251
|
+
popoverRef: HTMLDivElement;
|
|
252
|
+
contentRef: HTMLDivElement;
|
|
253
|
+
};
|
|
254
|
+
rootEl: HTMLDivElement;
|
|
255
|
+
};
|
|
256
|
+
|
|
257
|
+
declare function __VLS_template_7(): {
|
|
258
|
+
attrs: Partial<{}>;
|
|
259
|
+
slots: {
|
|
260
|
+
default?(_: {}): any;
|
|
261
|
+
};
|
|
262
|
+
refs: {};
|
|
263
|
+
rootEl: HTMLDivElement;
|
|
264
|
+
};
|
|
265
|
+
|
|
266
|
+
declare function __VLS_template_8(): {
|
|
267
|
+
attrs: Partial<{}>;
|
|
268
|
+
slots: {
|
|
269
|
+
tabs?(_: {}): any;
|
|
270
|
+
};
|
|
271
|
+
refs: {
|
|
272
|
+
colorPickerRef: HTMLDivElement;
|
|
273
|
+
hueSliderRef: HTMLDivElement;
|
|
274
|
+
opacitySliderRef: HTMLDivElement;
|
|
275
|
+
};
|
|
276
|
+
rootEl: HTMLDivElement;
|
|
277
|
+
};
|
|
278
|
+
|
|
75
279
|
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
76
280
|
|
|
77
281
|
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
78
282
|
|
|
79
283
|
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
80
284
|
|
|
285
|
+
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
286
|
+
|
|
287
|
+
declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
|
|
288
|
+
|
|
289
|
+
declare type __VLS_TemplateResult_6 = ReturnType<typeof __VLS_template_6>;
|
|
290
|
+
|
|
291
|
+
declare type __VLS_TemplateResult_7 = ReturnType<typeof __VLS_template_7>;
|
|
292
|
+
|
|
293
|
+
declare type __VLS_TemplateResult_8 = ReturnType<typeof __VLS_template_8>;
|
|
294
|
+
|
|
81
295
|
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
82
296
|
new (): {
|
|
83
297
|
$slots: S;
|
|
@@ -96,45 +310,122 @@ declare type __VLS_WithTemplateSlots_3<T, S> = T & {
|
|
|
96
310
|
};
|
|
97
311
|
};
|
|
98
312
|
|
|
313
|
+
declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
314
|
+
new (): {
|
|
315
|
+
$slots: S;
|
|
316
|
+
};
|
|
317
|
+
};
|
|
318
|
+
|
|
319
|
+
declare type __VLS_WithTemplateSlots_5<T, S> = T & {
|
|
320
|
+
new (): {
|
|
321
|
+
$slots: S;
|
|
322
|
+
};
|
|
323
|
+
};
|
|
324
|
+
|
|
325
|
+
declare type __VLS_WithTemplateSlots_6<T, S> = T & {
|
|
326
|
+
new (): {
|
|
327
|
+
$slots: S;
|
|
328
|
+
};
|
|
329
|
+
};
|
|
330
|
+
|
|
331
|
+
declare type __VLS_WithTemplateSlots_7<T, S> = T & {
|
|
332
|
+
new (): {
|
|
333
|
+
$slots: S;
|
|
334
|
+
};
|
|
335
|
+
};
|
|
336
|
+
|
|
337
|
+
declare type __VLS_WithTemplateSlots_8<T, S> = T & {
|
|
338
|
+
new (): {
|
|
339
|
+
$slots: S;
|
|
340
|
+
};
|
|
341
|
+
};
|
|
342
|
+
|
|
343
|
+
export declare type AllIconNames = IconNames | CustomIconNames;
|
|
344
|
+
|
|
99
345
|
export declare const Button: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
100
346
|
click: (event: MouseEvent) => any;
|
|
101
347
|
}, string, PublicProps, Readonly<ButtonProps> & Readonly<{
|
|
102
348
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
103
349
|
}>, {
|
|
104
350
|
size: "default" | "small";
|
|
351
|
+
iconSize: 16 | 24;
|
|
105
352
|
loadingStatus: boolean;
|
|
106
353
|
successStatus: boolean;
|
|
107
354
|
disabled: boolean;
|
|
108
355
|
fill: boolean;
|
|
356
|
+
selected: boolean;
|
|
109
357
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
110
358
|
|
|
111
359
|
declare interface ButtonProps {
|
|
112
360
|
variant: 'solid' | 'ghost' | 'text' | 'outline';
|
|
113
|
-
color: 'primary' | 'subtle-primary' | 'secondary' | 'danger' | 'warning' | 'smart';
|
|
361
|
+
color: 'primary' | 'subtle-primary' | 'secondary' | 'neutral' | 'danger' | 'warning' | 'smart';
|
|
114
362
|
size?: 'default' | 'small';
|
|
115
|
-
leftIconName?:
|
|
116
|
-
rightIconName?:
|
|
363
|
+
leftIconName?: AllIconNames;
|
|
364
|
+
rightIconName?: AllIconNames;
|
|
365
|
+
iconSize?: 16 | 24;
|
|
366
|
+
iconColor?: string;
|
|
117
367
|
loadingStatus?: boolean;
|
|
118
368
|
successStatus?: boolean;
|
|
119
369
|
label?: string;
|
|
120
370
|
disabled?: boolean;
|
|
121
371
|
fill?: boolean;
|
|
372
|
+
selected?: boolean;
|
|
373
|
+
customClass?: string;
|
|
122
374
|
}
|
|
123
375
|
|
|
376
|
+
export declare const ColorPicker: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
|
|
377
|
+
|
|
378
|
+
declare interface ColorPickerProps {
|
|
379
|
+
color?: string;
|
|
380
|
+
title?: string;
|
|
381
|
+
showSaveButton?: boolean;
|
|
382
|
+
presetColors?: string[];
|
|
383
|
+
showOpacityInHex?: boolean;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
declare type CustomIconNames = keyof typeof customIconObjects;
|
|
387
|
+
|
|
388
|
+
declare const customIconObjects: {
|
|
389
|
+
readonly 'mixed-text-color-icon': {
|
|
390
|
+
readonly viewBox: "0 0 24 24";
|
|
391
|
+
readonly content: "\n <path d=\"M20 18H4C2.9 18 2 18.9 2 20C2 21.1 2.9 22 4 22H20C21.1 22 22 21.1 22 20C22 18.9 21.1 18 20 18Z\" fill=\"url(#pattern0_5043_65214)\"/>\n <path d=\"M11.9997 2C12.3784 2 12.7248 2.21401 12.8942 2.55273L18.8942 14.5527C19.1412 15.0467 18.9409 15.6475 18.447 15.8945C17.953 16.1414 17.3521 15.9412 17.1052 15.4473L15.3815 12H8.61785L6.89422 15.4473C6.6472 15.9412 6.04637 16.1415 5.55242 15.8945C5.05863 15.6475 4.85828 15.0466 5.10516 14.5527L11.1052 2.55273L11.1764 2.43164C11.3613 2.16374 11.6683 2.00009 11.9997 2ZM9.61785 10H14.3815L11.9997 5.23633L9.61785 10Z\" fill=\"#495366\"/>\n <defs>\n <pattern id=\"pattern0_5043_65214\" patternContentUnits=\"objectBoundingBox\" width=\"1\" height=\"1\">\n <use xlink:href=\"#image0_5043_65214\" transform=\"matrix(0.05 0 0 0.25 0 -0.25)\"/>\n </pattern>\n <image id=\"image0_5043_65214\" width=\"20\" height=\"6\" preserveAspectRatio=\"none\" xlink:href=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAGCAYAAADDl76dAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAADOSURBVHgBrZFLagJBFEXP608K8zGdBGeBBJJpCIS4kEBmWVPWEAi4CRciTh04EBE/TdMqbZVX2qkg4oUzeXXrVnGfBSPQAt5FW3yIN/EMw9TozGL+eg364yd4/Nb8B/wr/A/gt8vFKOcr/aTdemGdGxGxLj+IpmiIlFoVhJDg/CVZfIclGUQyBJ35vTdz3Jjj+jbC3Qdc0yvwkIyTFHFmHRl4/HeTXVdMxFwUYk3dk54yq1hawXTjCdWVuis19HV+KdNkRRFKFrl86n63lC1PDzizA2gvbQAAAABJRU5ErkJggg==\"/>\n </defs>";
|
|
392
|
+
};
|
|
393
|
+
readonly 'mixed-fill-color-icon': {
|
|
394
|
+
readonly viewBox: "0 0 24 24";
|
|
395
|
+
readonly content: "\n <path d=\"M19 2.5C20.3807 2.5 21.5 3.61929 21.5 5V19C21.5 20.3807 20.3807 21.5 19 21.5H5C3.61929 21.5 2.5 20.3807 2.5 19V5C2.5 3.61929 3.61929 2.5 5 2.5H19Z\" fill=\"url(#pattern0_5681_20639)\" stroke=\"#E1E1E1\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <defs>\n <pattern id=\"pattern0_5681_20639\" patternContentUnits=\"objectBoundingBox\" width=\"1\" height=\"1\">\n <use xlink:href=\"#image0_5681_20639\" transform=\"scale(0.0416667)\"/>\n </pattern>\n <image id=\"image0_5681_20639\" width=\"24\" height=\"24\" preserveAspectRatio=\"none\" xlink:href=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAATmSURBVHgBTZYJct02EEQHC8mvb9mVVDlJVXKC3CD3v0oqXrQvfyMJYPIalFyWi4a4oKenpzGj8M/f7q25BQ+WrdkQol3Hap/5/Xd3+602++yr/dJm+2Rn25dX2/uNjfWb7dp/NpZ/Wb9YbneW/ADOah6KmYHJ/7kUN/0E7laPPHZbWrCZ11pXr7bwrPGv1pUvL9Z8AehkoR0sA5rbyaLuIcALsAQdzGOD9E8/4JvirS1a4cPCvbJrBFGAwGVeLLYLOGdLBjABFdRC7YzZ2oO8s84o0+Xx/rz1j1CpZ6R8AjfR3/e8BYFZdO/f61kTeAymEFGbkVjfAEB27ExcPTBX4sMQiyWYJ2kI+/z2e0/7PVWeeGexkRCGWDh7Q/KNYUaiMsAqRtXERjamVG3ifuSDtC7AqPhkUSMG4C5kgHUNAAxIOPBsgD2xskA37VNWMPa2D9FqaBs34oz8NsAq1Qo4gF1zveI7mSBSNgJ5HKnNaJ5ZCZgVfAClExbbnr7l9Vc2DUhCmlsx0VG2pdrhKEKRIICWZlpQH9YZM2DquCPQFWaYLGdw0DEImCA2aS1I9EcxH0kpbrUo5FqwcT2xosIC6Joo5MyGmrv+iAhrmA+DlZQsJ4IOCYnIc3CrO7JntYkaLH8WG6ZoMyCx8YCDtQB2PuLqK7Pjzm1/aLa7kOUKEQLIKSXpQmOAFZco1B3dd60H8Wnp2eT1L+sSKb2I7oHDlU/U4dRsvHZW2BxI61SsFU4pNbF4oU4na5mDlY4YgzUv3X2SJXLBlABREnm30w8Trki1Z98FtsiUzoCfITDP1uqMKw+46dE+pAcC3VmMDwC/sPnAbg4fQWLQ2djOS14/A8CNnNRa7xcWrij1guRLtXqh8Ng1rDMKvNjO7+yj3VKKrxC6IcA9wK+9baSydDOQaneeKGf/VLqHk3oNmc28CBRHPaMiSShba5gA+OQPOO0GN31lx3e23/LuAUvT5AD3ebG4oAJxfN3WbOhcW1XTAVQ2JLMdoNgpIMlIY1vswKtH7HjDy6/9ivE7+t4T4Bnm9KIZMtQtnCnwMfbOoH6aw6TCcQHoY0VjpKqOUgsv1VOPfPwC4K2N8Rt+p00TaLQ7SvfCNZsvMBfwsF2mdoNp/EyR83SGPEBDe+uSsGgrhWRTPHfdh/RI+yBA+mL7qAC3trNnmyi41TP10iGEb1KbkI3V7GK3bp7GV+qCWE1958I128CaccQOO472xPrIdW/7/N124YaLgGSV5BoVFhd6TL2jtt5toT9w+LB73ud7ILGghkY4I8vJBieIEyQekeWVxvdkU3jagsQnguIYKhPb1qbVnhLdwBkGft17tDWM0jikeT/c44wTLwWI8ZsAFyQ64RxOeXoBHJmQJBMsI5sKn/Ge2kvIMoROM+eGU9xS6P53MsgTAXYcmEK6hQCaTmIteUYYjqmwIkM4bNML8Gg6sTID7MPaD6fT4iPtvVG/qLlAf3I1RyZsvqJoM4UMUeYlbQZ2RrIoz+qEBI1D3snUKl6Q67ZJJrdo6Gi6uSbclPswW6vaxUThqcE17Gd/tlPUQF9/jEHNXo/qTaUfezXyPpl9m7VNPuzzjecCEh0oN023lLcDRXfNHwG+wLL6q21jZxuBYkmjYPj3vyf6Wni+eawpH5zE1AsbqaJCt20yqqWHRK9vH+x//WrzK98GywMAAAAASUVORK5CYII=\"/>\n </defs>";
|
|
396
|
+
};
|
|
397
|
+
readonly 'mixed-border-color-icon': {
|
|
398
|
+
readonly viewBox: "0 0 24 24";
|
|
399
|
+
readonly content: "\n <path class=\"preserve-fill\" d=\"M19 2.5C20.3807 2.5 21.5 3.61929 21.5 5V19C21.5 20.3807 20.3807 21.5 19 21.5H5C3.61929 21.5 2.5 20.3807 2.5 19V5C2.5 3.61929 3.61929 2.5 5 2.5H19ZM8.11133 7.5C7.77382 7.5 7.5 7.77382 7.5 8.11133V15.8887C7.5 16.2262 7.77382 16.5 8.11133 16.5H15.8887C16.2262 16.5 16.5 16.2262 16.5 15.8887V8.11133C16.5 7.77382 16.2262 7.5 15.8887 7.5H8.11133Z\" fill=\"url(#pattern0_5699_20986)\" stroke=\"#E1E1E1\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <defs>\n <pattern id=\"pattern0_5699_20986\" patternContentUnits=\"objectBoundingBox\" width=\"1\" height=\"1\">\n <use xlink:href=\"#image0_5699_20986\" transform=\"scale(0.0416667)\"/>\n </pattern>\n <image id=\"image0_5699_20986\" width=\"24\" height=\"24\" preserveAspectRatio=\"none\" xlink:href=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAATmSURBVHgBTZYJct02EEQHC8mvb9mVVDlJVXKC3CD3v0oqXrQvfyMJYPIalFyWi4a4oKenpzGj8M/f7q25BQ+WrdkQol3Hap/5/Xd3+602++yr/dJm+2Rn25dX2/uNjfWb7dp/NpZ/Wb9YbneW/ADOah6KmYHJ/7kUN/0E7laPPHZbWrCZ11pXr7bwrPGv1pUvL9Z8AehkoR0sA5rbyaLuIcALsAQdzGOD9E8/4JvirS1a4cPCvbJrBFGAwGVeLLYLOGdLBjABFdRC7YzZ2oO8s84o0+Xx/rz1j1CpZ6R8AjfR3/e8BYFZdO/f61kTeAymEFGbkVjfAEB27ExcPTBX4sMQiyWYJ2kI+/z2e0/7PVWeeGexkRCGWDh7Q/KNYUaiMsAqRtXERjamVG3ifuSDtC7AqPhkUSMG4C5kgHUNAAxIOPBsgD2xskA37VNWMPa2D9FqaBs34oz8NsAq1Qo4gF1zveI7mSBSNgJ5HKnNaJ5ZCZgVfAClExbbnr7l9Vc2DUhCmlsx0VG2pdrhKEKRIICWZlpQH9YZM2DquCPQFWaYLGdw0DEImCA2aS1I9EcxH0kpbrUo5FqwcT2xosIC6Joo5MyGmrv+iAhrmA+DlZQsJ4IOCYnIc3CrO7JntYkaLH8WG6ZoMyCx8YCDtQB2PuLqK7Pjzm1/aLa7kOUKEQLIKSXpQmOAFZco1B3dd60H8Wnp2eT1L+sSKb2I7oHDlU/U4dRsvHZW2BxI61SsFU4pNbF4oU4na5mDlY4YgzUv3X2SJXLBlABREnm30w8Trki1Z98FtsiUzoCfITDP1uqMKw+46dE+pAcC3VmMDwC/sPnAbg4fQWLQ2djOS14/A8CNnNRa7xcWrij1guRLtXqh8Ng1rDMKvNjO7+yj3VKKrxC6IcA9wK+9baSydDOQaneeKGf/VLqHk3oNmc28CBRHPaMiSShba5gA+OQPOO0GN31lx3e23/LuAUvT5AD3ebG4oAJxfN3WbOhcW1XTAVQ2JLMdoNgpIMlIY1vswKtH7HjDy6/9ivE7+t4T4Bnm9KIZMtQtnCnwMfbOoH6aw6TCcQHoY0VjpKqOUgsv1VOPfPwC4K2N8Rt+p00TaLQ7SvfCNZsvMBfwsF2mdoNp/EyR83SGPEBDe+uSsGgrhWRTPHfdh/RI+yBA+mL7qAC3trNnmyi41TP10iGEb1KbkI3V7GK3bp7GV+qCWE1958I128CaccQOO472xPrIdW/7/N124YaLgGSV5BoVFhd6TL2jtt5toT9w+LB73ud7ILGghkY4I8vJBieIEyQekeWVxvdkU3jagsQnguIYKhPb1qbVnhLdwBkGft17tDWM0jikeT/c44wTLwWI8ZsAFyQ64RxOeXoBHJmQJBMsI5sKn/Ge2kvIMoROM+eGU9xS6P53MsgTAXYcmEK6hQCaTmIteUYYjqmwIkM4bNML8Gg6sTID7MPaD6fT4iPtvVG/qLlAf3I1RyZsvqJoM4UMUeYlbQZ2RrIoz+qEBI1D3snUKl6Q67ZJJrdo6Gi6uSbclPswW6vaxUThqcE17Gd/tlPUQF9/jEHNXo/qTaUfezXyPpl9m7VNPuzzjecCEh0oN023lLcDRXfNHwG+wLL6q21jZxuBYkmjYPj3vyf6Wni+eawpH5zE1AsbqaJCt20yqqWHRK9vH+x//WrzK98GywMAAAAASUVORK5CYII=\"/>\n </defs>";
|
|
400
|
+
};
|
|
401
|
+
readonly 'transparent-text-color-icon': {
|
|
402
|
+
readonly viewBox: "0 0 24 24";
|
|
403
|
+
readonly content: "\n <path d=\"M20 18H4C2.9 18 2 18.9 2 20C2 21.1 2.9 22 4 22H20C21.1 22 22 21.1 22 20C22 18.9 21.1 18 20 18Z\" fill=\"url(#pattern0_5699_16553)\"/>\n <path class=\"transparent-fill\" d=\"M20 18H4C2.9 18 2 18.9 2 20C2 21.1 2.9 22 4 22H20C21.1 22 22 21.1 22 20C22 18.9 21.1 18 20 18Z\"/>\n <path class=\"preserve-fill\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M11.9999 2C12.3787 2 12.725 2.21401 12.8945 2.55273L18.8945 14.5527C19.1414 15.0467 18.9412 15.6475 18.4472 15.8945C17.9532 16.1414 17.3523 15.9412 17.1054 15.4473L15.3818 12H8.61809L6.89446 15.4473C6.64743 15.9412 6.0466 16.1415 5.55266 15.8945C5.05887 15.6475 4.85852 15.0466 5.10539 14.5527L11.1054 2.55273L11.1767 2.43164C11.3616 2.16374 11.6686 2.00009 11.9999 2ZM9.61809 10H14.3818L11.9999 5.23633L9.61809 10Z\" fill=\"#495366\"/>\n <defs>\n <pattern id=\"pattern0_5699_16553\" patternContentUnits=\"objectBoundingBox\" width=\"1\" height=\"1\">\n <use xlink:href=\"#image0_5699_16553\" transform=\"scale(0.05 0.25)\"/>\n </pattern>\n <image id=\"image0_5699_16553\" width=\"20\" height=\"4\" preserveAspectRatio=\"none\" xlink:href=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAECAYAAACOXx+WAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAuSURBVHgBrY45EQAwDMPcXrCYPx6TyTMEQaxFp00vGzSSRiCJS3+YCdfZtv2wAIDSIZT/uGh0AAAAAElFTkSuQmCC\"/>\n </defs>";
|
|
404
|
+
};
|
|
405
|
+
readonly 'transparent-fill-color-icon': {
|
|
406
|
+
readonly viewBox: "0 0 24 24";
|
|
407
|
+
readonly content: "\n <path class=\"preserve-fill\" d=\"M19 2.5C20.3807 2.5 21.5 3.61929 21.5 5V19C21.5 20.3807 20.3807 21.5 19 21.5H5C3.61929 21.5 2.5 20.3807 2.5 19V5C2.5 3.61929 3.61929 2.5 5 2.5H19Z\" fill=\"url(#pattern0_5699_13077)\"/>\n <path class=\"transparent-fill\" d=\"M19 2.5C20.3807 2.5 21.5 3.61929 21.5 5V19C21.5 20.3807 20.3807 21.5 19 21.5H5C3.61929 21.5 2.5 20.3807 2.5 19V5C2.5 3.61929 3.61929 2.5 5 2.5H19Z\"/>\n <path class=\"transparent-fill\" d=\"M19 2.5C20.3807 2.5 21.5 3.61929 21.5 5V19C21.5 20.3807 20.3807 21.5 19 21.5H5C3.61929 21.5 2.5 20.3807 2.5 19V5C2.5 3.61929 3.61929 2.5 5 2.5H19Z\" stroke=\"#E1E1E1\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <defs>\n <pattern id=\"pattern0_5699_13077\" patternContentUnits=\"objectBoundingBox\" width=\"1\" height=\"1\">\n <use xlink:href=\"#image0_5699_13077\" transform=\"scale(0.0416667)\"/>\n </pattern>\n <image id=\"image0_5699_13077\" width=\"24\" height=\"24\" preserveAspectRatio=\"none\" xlink:href=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAElSURBVHgB7ZWxioRAEER7jlHQwEAFDUz8/38yUVADDQwUVLjbGq6b9mDXY0HYwIJhe33i2GXZmu+H6Fdd19E0Ta72PI/KsmRETdPQPM+uDsOQiqIQVlUV7fvu6iiKKM9zYV90sS7fwLRtKxbBFiwWWwLBFta2bW79h1n2HIJ38JBPxDNh4ThfCBsPwyAsTVOy1roa19PscoustgTi9vCrGVKiW9dsXVdSYTwwc8f0TKaua7EoCAK3WOM4So3WOSmwQ6fvFbM66zqKeKCaxXF8iKlm8FzHVLPrY6rfQr47CK1qhv/PGGKKBaFzze6Ynso82hOLkiSRmMLLvu/lxCzLZAQsy3IYaK+Y1fMF0nPkGfs7kn3fl5hiA80+54Pz7sfojumpfgBl1ghs9EsbCQAAAABJRU5ErkJggg==\"/>\n </defs>";
|
|
408
|
+
};
|
|
409
|
+
readonly 'transparent-border-color-icon': {
|
|
410
|
+
readonly viewBox: "0 0 24 24";
|
|
411
|
+
readonly content: "\n <path class=\"preserve-fill\" d=\"M19 2.5C20.3807 2.5 21.5 3.61929 21.5 5V19C21.5 20.3807 20.3807 21.5 19 21.5H5C3.61929 21.5 2.5 20.3807 2.5 19V5C2.5 3.61929 3.61929 2.5 5 2.5H19ZM8.11133 7.5C7.77382 7.5 7.5 7.77382 7.5 8.11133V15.8887C7.5 16.2262 7.77382 16.5 8.11133 16.5H15.8887C16.2262 16.5 16.5 16.2262 16.5 15.8887V8.11133C16.5 7.77382 16.2262 7.5 15.8887 7.5H8.11133Z\" fill=\"url(#pattern0_5699_9951)\"/>\n <path class=\"transparent-fill\" d=\"M19 2.5C20.3807 2.5 21.5 3.61929 21.5 5V19C21.5 20.3807 20.3807 21.5 19 21.5H5C3.61929 21.5 2.5 20.3807 2.5 19V5C2.5 3.61929 3.61929 2.5 5 2.5H19ZM8.11133 7.5C7.77382 7.5 7.5 7.77382 7.5 8.11133V15.8887C7.5 16.2262 7.77382 16.5 8.11133 16.5H15.8887C16.2262 16.5 16.5 16.2262 16.5 15.8887V8.11133C16.5 7.77382 16.2262 7.5 15.8887 7.5H8.11133Z\"/>\n <path class=\"transparent-fill\" d=\"M19 2.5C20.3807 2.5 21.5 3.61929 21.5 5V19C21.5 20.3807 20.3807 21.5 19 21.5H5C3.61929 21.5 2.5 20.3807 2.5 19V5C2.5 3.61929 3.61929 2.5 5 2.5H19ZM8.11133 7.5C7.77382 7.5 7.5 7.77382 7.5 8.11133V15.8887C7.5 16.2262 7.77382 16.5 8.11133 16.5H15.8887C16.2262 16.5 16.5 16.2262 16.5 15.8887V8.11133C16.5 7.77382 16.2262 7.5 15.8887 7.5H8.11133Z\" stroke=\"#E1E1E1\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <defs>\n <pattern id=\"pattern0_5699_9951\" patternContentUnits=\"objectBoundingBox\" width=\"1\" height=\"1\">\n <use xlink:href=\"#image0_5699_9951\" transform=\"scale(0.0416667)\"/>\n </pattern>\n <image id=\"image0_5699_9951\" width=\"24\" height=\"24\" preserveAspectRatio=\"none\" xlink:href=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAElSURBVHgB7ZWxioRAEER7jlHQwEAFDUz8/38yUVADDQwUVLjbGq6b9mDXY0HYwIJhe33i2GXZmu+H6Fdd19E0Ta72PI/KsmRETdPQPM+uDsOQiqIQVlUV7fvu6iiKKM9zYV90sS7fwLRtKxbBFiwWWwLBFta2bW79h1n2HIJ38JBPxDNh4ThfCBsPwyAsTVOy1roa19PscoustgTi9vCrGVKiW9dsXVdSYTwwc8f0TKaua7EoCAK3WOM4So3WOSmwQ6fvFbM66zqKeKCaxXF8iKlm8FzHVLPrY6rfQr47CK1qhv/PGGKKBaFzze6Ynso82hOLkiSRmMLLvu/lxCzLZAQsy3IYaK+Y1fMF0nPkGfs7kn3fl5hiA80+54Pz7sfojumpfgBl1ghs9EsbCQAAAABJRU5ErkJggg==\"/>\n </defs>";
|
|
412
|
+
};
|
|
413
|
+
};
|
|
414
|
+
|
|
124
415
|
export declare const DropdownMenu: DefineComponent<DropdownProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
125
416
|
"update:modelValue": (value: string) => any;
|
|
126
417
|
"add-error": (error: string) => any;
|
|
127
|
-
"item-added": (item:
|
|
128
|
-
"select-item": (item:
|
|
418
|
+
"item-added": (item: MenuItem_2) => any;
|
|
419
|
+
"select-item": (item: MenuItem_2) => any;
|
|
129
420
|
}, string, PublicProps, Readonly<DropdownProps> & Readonly<{
|
|
130
421
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
131
422
|
"onAdd-error"?: ((error: string) => any) | undefined;
|
|
132
|
-
"onItem-added"?: ((item:
|
|
133
|
-
"onSelect-item"?: ((item:
|
|
423
|
+
"onItem-added"?: ((item: MenuItem_2) => any) | undefined;
|
|
424
|
+
"onSelect-item"?: ((item: MenuItem_2) => any) | undefined;
|
|
134
425
|
}>, {
|
|
135
426
|
modelValue: string;
|
|
136
427
|
menuHeight: number;
|
|
137
|
-
validateAddItem: (item: string, items:
|
|
428
|
+
validateAddItem: (item: string, items: MenuItem_2[]) => string | null;
|
|
138
429
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
139
430
|
dropdownRef: HTMLDivElement;
|
|
140
431
|
menuRef: HTMLDivElement;
|
|
@@ -150,25 +441,83 @@ declare interface DropdownProps {
|
|
|
150
441
|
addButtonText?: string;
|
|
151
442
|
searchable?: boolean;
|
|
152
443
|
searchPlaceHolder?: string;
|
|
153
|
-
items:
|
|
154
|
-
validateAddItem?: (item: string, items:
|
|
444
|
+
items: MenuItem_2[];
|
|
445
|
+
validateAddItem?: (item: string, items: MenuItem_2[]) => string | null;
|
|
155
446
|
}
|
|
156
447
|
|
|
157
448
|
export declare const Icon: DefineComponent<IconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IconProps> & Readonly<{}>, {
|
|
158
|
-
size:
|
|
159
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
449
|
+
size: number | string;
|
|
450
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
160
451
|
|
|
161
452
|
/**
|
|
162
453
|
* Automatically generated icon types.
|
|
163
454
|
*
|
|
164
455
|
* NOTE: This file was auto-generated from 'icons.svg'
|
|
165
456
|
*/
|
|
166
|
-
export declare type IconNames = 'icon-info-box-error' | 'icon-tooltip-info' | 'filled-info-circle' | '
|
|
457
|
+
export declare type IconNames = 'icon-info-box-error' | 'icon-tooltip-info' | 'filled-info-circle' | 'filled-caution-circle' | 'filled-caution-triangle' | 'filled-caution-triangle-colored' | 'filled-error-box-colored' | 'line-plus-netural' | 'line-close-netural' | 'no-color' | 'line-search' | 'filled-dropdown-down' | 'filled-text-bold' | 'filled-text-italic' | 'filled-text-underline' | 'filled-text-strikethrough' | 'line-caution-triangle' | 'filled-error-box' | 'filled-info-circle' | 'line-check-natural' | 'loading-circle' | 'icon-smart' | 'line-reset' | 'line-arrow-left' | 'line-academy-02' | 'line-undo' | 'line-redo' | 'line-ai-message-reply-plus' | 'line-architect-segments-closed' | 'line-ai-send-icon' | 'line-smart-sirius-ai' | 'line-smart-ai' | 'line-minus-netural' | 'line-check-netural' | 'filled-caution-triangle' | 'line-tooltip' | 'gamification-icon' | 'popup-icon';
|
|
167
458
|
|
|
168
459
|
declare interface IconProps {
|
|
169
|
-
name:
|
|
170
|
-
size?:
|
|
460
|
+
name: AllIconNames;
|
|
461
|
+
size?: number | string;
|
|
171
462
|
color?: string;
|
|
463
|
+
fillOpacity?: number | string;
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
export declare const InBasicTextInput: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
467
|
+
|
|
468
|
+
declare interface InBasicTextInputProps {
|
|
469
|
+
id: string;
|
|
470
|
+
name: string;
|
|
471
|
+
theme?: "grey" | "white";
|
|
472
|
+
modelValue?: string | number;
|
|
473
|
+
labelStatus?: boolean;
|
|
474
|
+
labelText?: string;
|
|
475
|
+
type?: "text" | "number";
|
|
476
|
+
states?: "default" | "error" | "warning";
|
|
477
|
+
placeholderText: string;
|
|
478
|
+
disabledStatus?: boolean;
|
|
479
|
+
readonly?: boolean;
|
|
480
|
+
leftIconStatus?: boolean;
|
|
481
|
+
leftIconName?: IconNames;
|
|
482
|
+
rightIconStatus?: boolean;
|
|
483
|
+
rightIconName?: IconNames;
|
|
484
|
+
suffixTextStatus?: boolean;
|
|
485
|
+
suffixText?: string;
|
|
486
|
+
autoComplete?: string;
|
|
487
|
+
maxCharacterLength?: number | string;
|
|
488
|
+
minValue?: number | string;
|
|
489
|
+
maxValue?: number | string;
|
|
490
|
+
autoFocus?: boolean;
|
|
491
|
+
allowDecimal?: boolean;
|
|
492
|
+
allowComma?: boolean;
|
|
493
|
+
preventXss?: boolean;
|
|
494
|
+
helperMessageStatus?: boolean;
|
|
495
|
+
helperMessage?: string;
|
|
496
|
+
stateMessage?: string;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
export declare const InBox: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
500
|
+
|
|
501
|
+
declare interface InBoxProps {
|
|
502
|
+
border?: string;
|
|
503
|
+
borderRadius?: string;
|
|
504
|
+
borderTriangle?: boolean;
|
|
505
|
+
borderTrianglePosition?: string;
|
|
506
|
+
borderTriangleAlign?: string;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
export declare const InDropdownMenu: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
510
|
+
|
|
511
|
+
declare interface InDropdownMenuProps {
|
|
512
|
+
modelValue?: string;
|
|
513
|
+
items: MenuItem[];
|
|
514
|
+
menuHeight?: number;
|
|
515
|
+
searchable?: boolean;
|
|
516
|
+
searchPlaceholder?: string;
|
|
517
|
+
addable?: boolean;
|
|
518
|
+
addButtonText?: string;
|
|
519
|
+
validateAddItem?: (item: string, items: MenuItem[]) => string | null;
|
|
520
|
+
showSelectedIcon?: boolean;
|
|
172
521
|
}
|
|
173
522
|
|
|
174
523
|
export declare const InInfoBox: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
@@ -185,8 +534,62 @@ export declare interface InInfoBoxProps {
|
|
|
185
534
|
fullWidthContentStatus?: boolean;
|
|
186
535
|
}
|
|
187
536
|
|
|
188
|
-
export declare const
|
|
537
|
+
export declare const InputButton: DefineComponent<InputButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
189
538
|
click: (event: MouseEvent) => any;
|
|
539
|
+
"input-change": (value: string) => any;
|
|
540
|
+
}, string, PublicProps, Readonly<InputButtonProps> & Readonly<{
|
|
541
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
542
|
+
"onInput-change"?: ((value: string) => any) | undefined;
|
|
543
|
+
}>, {
|
|
544
|
+
size: "default" | "small";
|
|
545
|
+
iconSize: 16 | 24;
|
|
546
|
+
loadingStatus: boolean;
|
|
547
|
+
successStatus: boolean;
|
|
548
|
+
disabled: boolean;
|
|
549
|
+
fill: boolean;
|
|
550
|
+
inputValue: string;
|
|
551
|
+
inputPlaceholder: string;
|
|
552
|
+
inputType: "text" | "number";
|
|
553
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
554
|
+
|
|
555
|
+
declare interface InputButtonProps {
|
|
556
|
+
variant: 'solid' | 'ghost' | 'text' | 'outline';
|
|
557
|
+
color: 'primary' | 'subtle-primary' | 'secondary' | 'neutral' | 'danger' | 'warning' | 'smart';
|
|
558
|
+
size?: 'default' | 'small';
|
|
559
|
+
rightIconName?: IconNames;
|
|
560
|
+
iconSize?: 16 | 24;
|
|
561
|
+
loadingStatus?: boolean;
|
|
562
|
+
successStatus?: boolean;
|
|
563
|
+
disabled?: boolean;
|
|
564
|
+
fill?: boolean;
|
|
565
|
+
customClass?: string;
|
|
566
|
+
inputValue?: string;
|
|
567
|
+
inputPlaceholder?: string;
|
|
568
|
+
inputType?: 'text' | 'number';
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
export declare const InTabs: DefineComponent<InTabsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
572
|
+
change: (value: string) => any;
|
|
573
|
+
"update:modelValue": (value: string) => any;
|
|
574
|
+
}, string, PublicProps, Readonly<InTabsProps> & Readonly<{
|
|
575
|
+
onChange?: ((value: string) => any) | undefined;
|
|
576
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
577
|
+
}>, {
|
|
578
|
+
disabled: boolean;
|
|
579
|
+
modelValue: string;
|
|
580
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
581
|
+
|
|
582
|
+
declare interface InTabsProps {
|
|
583
|
+
tabs: TabItem[];
|
|
584
|
+
modelValue?: string;
|
|
585
|
+
disabled?: boolean;
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
export declare const InTextArea: DefineComponent<InTextAreaProps, {
|
|
589
|
+
textareaRef: Ref<HTMLTextAreaElement | undefined, HTMLTextAreaElement | undefined>;
|
|
590
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
591
|
+
click: (event: MouseEvent) => any;
|
|
592
|
+
blur: (event: FocusEvent) => any;
|
|
190
593
|
cut: (event: ClipboardEvent) => any;
|
|
191
594
|
keypress: (event: KeyboardEvent) => any;
|
|
192
595
|
keyup: (event: KeyboardEvent) => any;
|
|
@@ -194,6 +597,7 @@ paste: (event: ClipboardEvent) => any;
|
|
|
194
597
|
"update:modelValue": (value: string) => any;
|
|
195
598
|
}, string, PublicProps, Readonly<InTextAreaProps> & Readonly<{
|
|
196
599
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
600
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
197
601
|
onCut?: ((event: ClipboardEvent) => any) | undefined;
|
|
198
602
|
onKeypress?: ((event: KeyboardEvent) => any) | undefined;
|
|
199
603
|
onKeyup?: ((event: KeyboardEvent) => any) | undefined;
|
|
@@ -230,7 +634,32 @@ export declare interface InTextAreaProps {
|
|
|
230
634
|
maxLength?: number;
|
|
231
635
|
}
|
|
232
636
|
|
|
233
|
-
declare
|
|
637
|
+
export declare const InToggle: DefineComponent<InToggleProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
638
|
+
click: (checked: boolean) => any;
|
|
639
|
+
"update:modelValue": (value: boolean) => any;
|
|
640
|
+
}, string, PublicProps, Readonly<InToggleProps> & Readonly<{
|
|
641
|
+
onClick?: ((checked: boolean) => any) | undefined;
|
|
642
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
643
|
+
}>, {
|
|
644
|
+
disabled: boolean;
|
|
645
|
+
checked: boolean;
|
|
646
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
647
|
+
inputRef: HTMLInputElement;
|
|
648
|
+
}, HTMLFieldSetElement>;
|
|
649
|
+
|
|
650
|
+
declare interface InToggleProps {
|
|
651
|
+
id: string;
|
|
652
|
+
name: string;
|
|
653
|
+
checked?: boolean;
|
|
654
|
+
disabled?: boolean;
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
export declare interface MenuItem {
|
|
658
|
+
text: string;
|
|
659
|
+
value: string;
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
declare interface MenuItem_2 {
|
|
234
663
|
text: string;
|
|
235
664
|
value: string;
|
|
236
665
|
}
|
|
@@ -263,9 +692,9 @@ onPaste?: ((event: ClipboardEvent) => any) | undefined;
|
|
|
263
692
|
}>, {
|
|
264
693
|
size: "default" | "small";
|
|
265
694
|
label: string;
|
|
695
|
+
placeholder: string;
|
|
266
696
|
error: string;
|
|
267
697
|
modelValue: number;
|
|
268
|
-
placeholder: string;
|
|
269
698
|
maxLength: number;
|
|
270
699
|
min: number;
|
|
271
700
|
max: number;
|
|
@@ -280,6 +709,13 @@ declare interface OnPageMessageProps {
|
|
|
280
709
|
text: string;
|
|
281
710
|
}
|
|
282
711
|
|
|
712
|
+
export declare const Popover: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
713
|
+
|
|
714
|
+
declare interface PopoverProps {
|
|
715
|
+
modelValue?: boolean;
|
|
716
|
+
align?: 'left' | 'center' | 'right';
|
|
717
|
+
}
|
|
718
|
+
|
|
283
719
|
declare interface Props {
|
|
284
720
|
id: string;
|
|
285
721
|
name: string;
|
|
@@ -338,6 +774,12 @@ declare interface SegmentType {
|
|
|
338
774
|
icon?: IconNames;
|
|
339
775
|
}
|
|
340
776
|
|
|
777
|
+
export declare interface TabItem {
|
|
778
|
+
value: string;
|
|
779
|
+
label: string;
|
|
780
|
+
disabled?: boolean;
|
|
781
|
+
}
|
|
782
|
+
|
|
341
783
|
export declare const TextInput: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
342
784
|
input: (event: Event) => any;
|
|
343
785
|
blur: (event: FocusEvent) => any;
|
|
@@ -354,9 +796,9 @@ onPaste?: ((event: ClipboardEvent) => any) | undefined;
|
|
|
354
796
|
"onUpdate:modelValue"?: ((args_0: string | undefined) => any) | undefined;
|
|
355
797
|
}>, {
|
|
356
798
|
label: string;
|
|
799
|
+
placeholder: string;
|
|
357
800
|
error: string;
|
|
358
801
|
modelValue: string;
|
|
359
|
-
placeholder: string;
|
|
360
802
|
maxHeight: number;
|
|
361
803
|
maxLength: number;
|
|
362
804
|
multiline: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@useinsider/ab-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.47",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -29,6 +29,8 @@
|
|
|
29
29
|
"test:unit": "vitest",
|
|
30
30
|
"build-only": "vite build",
|
|
31
31
|
"type-check": "vue-tsc --build",
|
|
32
|
+
"pack:move": "npm pack --pack-destination ../design-editor",
|
|
33
|
+
"publish:def": "npm run build && npm run pack:move && cd ../design-editor && npm i ./useinsider-ab-components-0.0.47.tgz && npm run dev",
|
|
32
34
|
"lint": "eslint . --fix",
|
|
33
35
|
"storybook": "storybook dev -p 6006",
|
|
34
36
|
"build-storybook": "storybook build"
|