@weni/unnnic-system 3.12.3-alpha-teleports.1 → 3.12.3-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/ChartFunnel/DefaultFunnel/ChartDefaultFunnelBase.vue.d.ts.map +1 -1
- package/dist/components/Checkbox/Checkbox.vue.d.ts.map +1 -1
- package/dist/components/CheckboxGroup/CheckboxGroup.vue.d.ts.map +1 -1
- package/dist/components/DateFilter/DateFilter.vue.d.ts +81 -2
- package/dist/components/Drawer/Drawer.vue.d.ts.map +1 -1
- package/dist/components/FormElement/FormElement.vue.d.ts.map +1 -1
- package/dist/components/Input/BaseInput.vue.d.ts +22 -0
- package/dist/components/Input/BaseInput.vue.d.ts.map +1 -1
- package/dist/components/Input/Input.vue.d.ts +81 -2
- package/dist/components/Input/Input.vue.d.ts.map +1 -1
- package/dist/components/Input/TextInput.vue.d.ts +52 -1
- package/dist/components/Input/TextInput.vue.d.ts.map +1 -1
- package/dist/components/InputNext/InputNext.vue.d.ts +1 -1
- package/dist/components/ModalNext/ModalNext.vue.d.ts +81 -2
- package/dist/components/MultiSelect/MultSelectOption.vue.d.ts +17 -0
- package/dist/components/MultiSelect/MultSelectOption.vue.d.ts.map +1 -0
- package/dist/components/MultiSelect/index.vue.d.ts +44 -0
- package/dist/components/MultiSelect/index.vue.d.ts.map +1 -0
- package/dist/components/Radio/Radio.vue.d.ts.map +1 -1
- package/dist/components/Select/index.vue.d.ts +44 -0
- package/dist/components/Select/index.vue.d.ts.map +1 -0
- package/dist/components/SelectSmart/SelectSmart.vue.d.ts +52 -1
- package/dist/components/SelectTime/index.vue.d.ts +52 -1
- package/dist/components/Switch/Switch.vue.d.ts.map +1 -1
- package/dist/components/TemplatePreview/TemplatePreview.vue.d.ts.map +1 -1
- package/dist/components/Toast/Toast.vue.d.ts.map +1 -1
- package/dist/components/index.d.ts +23720 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/ui/popover/PopoverOption.vue.d.ts +18 -0
- package/dist/components/ui/popover/PopoverOption.vue.d.ts.map +1 -0
- package/dist/components/ui/popover/index.d.ts +1 -0
- package/dist/components/ui/popover/index.d.ts.map +1 -1
- package/dist/{es-4aa88754.mjs → es-239c29c2.mjs} +1 -1
- package/dist/{index-ec96f88a.mjs → index-40e176e4.mjs} +9498 -9233
- package/dist/lib/layer-manager.d.ts.map +1 -1
- package/dist/locales/en.json.d.ts +2 -1
- package/dist/locales/es.json.d.ts +2 -1
- package/dist/locales/pt_br.json.d.ts +2 -1
- package/dist/{pt-br-ec1ec185.mjs → pt-br-5004a35e.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/unnnic.mjs +176 -172
- package/dist/unnnic.umd.js +33 -33
- package/package.json +1 -1
- package/src/assets/scss/scheme-colors.scss +223 -223
- package/src/components/ChartFunnel/DefaultFunnel/ChartDefaultFunnelBase.vue +1 -2
- package/src/components/ChartFunnel/SvgFunnel/ChartFunnelTwoRows.vue +60 -61
- package/src/components/Checkbox/Checkbox.vue +9 -3
- package/src/components/CheckboxGroup/CheckboxGroup.vue +7 -5
- package/src/components/Chip/Chip.vue +1 -1
- package/src/components/Drawer/Drawer.vue +20 -9
- package/src/components/Drawer/__tests__/Drawer.spec.js +11 -9
- package/src/components/Drawer/__tests__/__snapshots__/Drawer.spec.js.snap +9 -9
- package/src/components/FormElement/FormElement.vue +96 -87
- package/src/components/Input/BaseInput.vue +21 -2
- package/src/components/Input/Input.scss +2 -3
- package/src/components/Input/Input.vue +21 -3
- package/src/components/Input/TextInput.vue +58 -22
- package/src/components/Input/__test__/__snapshots__/Input.spec.js.snap +5 -1
- package/src/components/Input/__test__/__snapshots__/TextInput.spec.js.snap +7 -1
- package/src/components/ModalDialog/ModalDialog.vue +2 -2
- package/src/components/MultiSelect/MultSelectOption.vue +49 -0
- package/src/components/MultiSelect/__tests__/MultiSelect.spec.js +556 -0
- package/src/components/MultiSelect/__tests__/MultiSelectOption.spec.js +229 -0
- package/src/components/MultiSelect/__tests__/__snapshots__/MultiSelect.spec.js.snap +81 -0
- package/src/components/MultiSelect/__tests__/__snapshots__/MultiSelectOption.spec.js.snap +51 -0
- package/src/components/MultiSelect/index.vue +224 -0
- package/src/components/Radio/Radio.vue +12 -6
- package/src/components/Radio/__test__/Radio.spec.js +3 -1
- package/src/components/RadioGroup/RadioGroup.vue +18 -10
- package/src/components/Select/__tests__/Select.spec.js +422 -0
- package/src/components/Select/__tests__/SelectItem.spec.js +330 -0
- package/src/components/Select/__tests__/__snapshots__/Popover.spec.js.snap +8 -0
- package/src/components/Select/__tests__/__snapshots__/Select.spec.js.snap +65 -0
- package/src/components/Select/__tests__/__snapshots__/SelectItem.spec.js.snap +15 -0
- package/src/components/Select/__tests__/__snapshots__/SelectOption.spec.js.snap +25 -0
- package/src/components/Select/__tests__/__snapshots__/SelectPopover.spec.js.snap +8 -0
- package/src/components/Select/index.vue +261 -0
- package/src/components/Switch/Switch.vue +10 -3
- package/src/components/TemplatePreview/TemplatePreview.vue +28 -25
- package/src/components/TemplatePreview/TemplatePreviewModal.vue +10 -10
- package/src/components/TemplatePreview/types.d.ts +3 -3
- package/src/components/Toast/Toast.vue +12 -8
- package/src/components/index.ts +7 -7
- package/src/components/ui/dialog/DialogClose.vue +3 -3
- package/src/components/ui/drawer/DrawerClose.vue +9 -3
- package/src/components/ui/popover/PopoverOption.vue +4 -0
- package/src/lib/layer-manager.ts +12 -20
- package/src/locales/en.json +2 -1
- package/src/locales/es.json +2 -1
- package/src/locales/pt_br.json +2 -1
- package/src/stories/MultiSelect.stories.js +142 -46
- package/src/stories/Select.stories.js +158 -0
- package/src/stories/TemplatePreview.stories.js +27 -27
- package/src/stories/TemplatePreviewModal.stories.js +31 -31
- package/dist/components/MultiSelect/MultiSelect.vue.d.ts +0 -163
- package/dist/components/MultiSelect/MultiSelect.vue.d.ts.map +0 -1
- package/src/components/MultiSelect/MultiSelect.vue +0 -297
|
@@ -151,13 +151,25 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
151
151
|
type: BooleanConstructor;
|
|
152
152
|
default: boolean;
|
|
153
153
|
};
|
|
154
|
+
readonly: {
|
|
155
|
+
type: BooleanConstructor;
|
|
156
|
+
default: boolean;
|
|
157
|
+
};
|
|
158
|
+
forceActiveStatus: {
|
|
159
|
+
type: BooleanConstructor;
|
|
160
|
+
default: boolean;
|
|
161
|
+
};
|
|
162
|
+
showClear: {
|
|
163
|
+
type: BooleanConstructor;
|
|
164
|
+
default: boolean;
|
|
165
|
+
};
|
|
154
166
|
}>, {}, {
|
|
155
167
|
val: string;
|
|
156
168
|
}, {
|
|
157
169
|
computedError(): string | boolean;
|
|
158
170
|
}, {
|
|
159
171
|
fullySanitize: typeof import('../../utils/sanitize').fullySanitize;
|
|
160
|
-
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
172
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("clear" | "update:modelValue")[], "clear" | "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
161
173
|
placeholder: {
|
|
162
174
|
type: StringConstructor;
|
|
163
175
|
default: string;
|
|
@@ -235,8 +247,21 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
235
247
|
type: BooleanConstructor;
|
|
236
248
|
default: boolean;
|
|
237
249
|
};
|
|
250
|
+
readonly: {
|
|
251
|
+
type: BooleanConstructor;
|
|
252
|
+
default: boolean;
|
|
253
|
+
};
|
|
254
|
+
forceActiveStatus: {
|
|
255
|
+
type: BooleanConstructor;
|
|
256
|
+
default: boolean;
|
|
257
|
+
};
|
|
258
|
+
showClear: {
|
|
259
|
+
type: BooleanConstructor;
|
|
260
|
+
default: boolean;
|
|
261
|
+
};
|
|
238
262
|
}>> & Readonly<{
|
|
239
263
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
264
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
240
265
|
}>, {
|
|
241
266
|
disabled: boolean;
|
|
242
267
|
type: string;
|
|
@@ -249,11 +274,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
249
274
|
modelValue: string;
|
|
250
275
|
nativeType: string;
|
|
251
276
|
maxlength: number | null;
|
|
277
|
+
readonly: boolean;
|
|
278
|
+
forceActiveStatus: boolean;
|
|
252
279
|
iconLeft: string;
|
|
253
280
|
iconRight: string;
|
|
254
281
|
iconLeftClickable: boolean;
|
|
255
282
|
iconRightClickable: boolean;
|
|
256
283
|
allowTogglePassword: boolean;
|
|
284
|
+
showClear: boolean;
|
|
257
285
|
errors: string | unknown[];
|
|
258
286
|
hasCloudyColor: boolean;
|
|
259
287
|
showMaxlengthCounter: boolean;
|
|
@@ -308,6 +336,18 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
308
336
|
type: BooleanConstructor;
|
|
309
337
|
default: boolean;
|
|
310
338
|
};
|
|
339
|
+
readonly: {
|
|
340
|
+
type: BooleanConstructor;
|
|
341
|
+
default: boolean;
|
|
342
|
+
};
|
|
343
|
+
forceActiveStatus: {
|
|
344
|
+
type: BooleanConstructor;
|
|
345
|
+
default: boolean;
|
|
346
|
+
};
|
|
347
|
+
showClear: {
|
|
348
|
+
type: BooleanConstructor;
|
|
349
|
+
default: boolean;
|
|
350
|
+
};
|
|
311
351
|
}>, {}, {
|
|
312
352
|
isFocused: boolean;
|
|
313
353
|
showPassword: boolean;
|
|
@@ -321,8 +361,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
321
361
|
onFocus(): void;
|
|
322
362
|
onBlur(): void;
|
|
323
363
|
onIconLeftClick(): void;
|
|
364
|
+
onClearClick(): void;
|
|
324
365
|
onIconRightClick(): void;
|
|
325
|
-
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("icon-left-click" | "icon-right-click")[], "icon-left-click" | "icon-right-click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
366
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("clear" | "icon-left-click" | "icon-right-click")[], "clear" | "icon-left-click" | "icon-right-click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
326
367
|
placeholder: {
|
|
327
368
|
type: StringConstructor;
|
|
328
369
|
default: null;
|
|
@@ -372,7 +413,20 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
372
413
|
type: BooleanConstructor;
|
|
373
414
|
default: boolean;
|
|
374
415
|
};
|
|
416
|
+
readonly: {
|
|
417
|
+
type: BooleanConstructor;
|
|
418
|
+
default: boolean;
|
|
419
|
+
};
|
|
420
|
+
forceActiveStatus: {
|
|
421
|
+
type: BooleanConstructor;
|
|
422
|
+
default: boolean;
|
|
423
|
+
};
|
|
424
|
+
showClear: {
|
|
425
|
+
type: BooleanConstructor;
|
|
426
|
+
default: boolean;
|
|
427
|
+
};
|
|
375
428
|
}>> & Readonly<{
|
|
429
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
376
430
|
"onIcon-left-click"?: ((...args: any[]) => any) | undefined;
|
|
377
431
|
"onIcon-right-click"?: ((...args: any[]) => any) | undefined;
|
|
378
432
|
}>, {
|
|
@@ -383,11 +437,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
383
437
|
modelValue: string;
|
|
384
438
|
nativeType: string;
|
|
385
439
|
maxlength: number;
|
|
440
|
+
readonly: boolean;
|
|
441
|
+
forceActiveStatus: boolean;
|
|
386
442
|
iconLeft: string;
|
|
387
443
|
iconRight: string;
|
|
388
444
|
iconLeftClickable: boolean;
|
|
389
445
|
iconRightClickable: boolean;
|
|
390
446
|
allowTogglePassword: boolean;
|
|
447
|
+
showClear: boolean;
|
|
391
448
|
}, {}, {
|
|
392
449
|
BaseInput: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
393
450
|
type: {
|
|
@@ -413,15 +470,25 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
413
470
|
};
|
|
414
471
|
hasIconLeft: BooleanConstructor;
|
|
415
472
|
hasIconRight: BooleanConstructor;
|
|
473
|
+
hasClearIcon: BooleanConstructor;
|
|
416
474
|
maxlength: {
|
|
417
475
|
type: NumberConstructor;
|
|
418
476
|
default: null;
|
|
419
477
|
};
|
|
478
|
+
readonly: {
|
|
479
|
+
type: BooleanConstructor;
|
|
480
|
+
default: boolean;
|
|
481
|
+
};
|
|
482
|
+
forceActiveStatus: {
|
|
483
|
+
type: BooleanConstructor;
|
|
484
|
+
default: boolean;
|
|
485
|
+
};
|
|
420
486
|
}>, {}, {}, {
|
|
421
487
|
attributes(): any;
|
|
422
488
|
classes(): (string | {
|
|
423
489
|
'input--has-icon-left': boolean;
|
|
424
490
|
'input--has-icon-right': boolean;
|
|
491
|
+
'input--has-clear-icon': boolean;
|
|
425
492
|
})[];
|
|
426
493
|
}, {
|
|
427
494
|
fullySanitize: typeof import('../../utils/sanitize').fullySanitize;
|
|
@@ -449,10 +516,19 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
449
516
|
};
|
|
450
517
|
hasIconLeft: BooleanConstructor;
|
|
451
518
|
hasIconRight: BooleanConstructor;
|
|
519
|
+
hasClearIcon: BooleanConstructor;
|
|
452
520
|
maxlength: {
|
|
453
521
|
type: NumberConstructor;
|
|
454
522
|
default: null;
|
|
455
523
|
};
|
|
524
|
+
readonly: {
|
|
525
|
+
type: BooleanConstructor;
|
|
526
|
+
default: boolean;
|
|
527
|
+
};
|
|
528
|
+
forceActiveStatus: {
|
|
529
|
+
type: BooleanConstructor;
|
|
530
|
+
default: boolean;
|
|
531
|
+
};
|
|
456
532
|
}>> & Readonly<{
|
|
457
533
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
458
534
|
}>, {
|
|
@@ -461,9 +537,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
461
537
|
mask: string | unknown[];
|
|
462
538
|
hasIconLeft: boolean;
|
|
463
539
|
hasIconRight: boolean;
|
|
540
|
+
hasClearIcon: boolean;
|
|
464
541
|
modelValue: string;
|
|
465
542
|
nativeType: string;
|
|
466
543
|
maxlength: number;
|
|
544
|
+
readonly: boolean;
|
|
545
|
+
forceActiveStatus: boolean;
|
|
467
546
|
}, {}, {}, {
|
|
468
547
|
mask: any;
|
|
469
548
|
}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
interface SelectOptionProps {
|
|
2
|
+
label: string;
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
active?: boolean;
|
|
5
|
+
focused?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: import('vue').DefineComponent<SelectOptionProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
"update:modelValue": (args_0: boolean) => any;
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<SelectOptionProps> & Readonly<{
|
|
10
|
+
"onUpdate:modelValue"?: ((args_0: boolean) => any) | undefined;
|
|
11
|
+
}>, {
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
active: boolean;
|
|
14
|
+
focused: boolean;
|
|
15
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
16
|
+
export default _default;
|
|
17
|
+
//# sourceMappingURL=MultSelectOption.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MultSelectOption.vue.d.ts","sourceRoot":"","sources":["../../../src/components/MultiSelect/MultSelectOption.vue"],"names":[],"mappings":"AAUA;AA8DA,UAAU,iBAAiB;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;;;;;;cAHY,OAAO;YACT,OAAO;aACN,OAAO;;AAiFnB,wBASG"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
interface MultiSelectProps {
|
|
2
|
+
options: Array<{
|
|
3
|
+
[key: string]: any;
|
|
4
|
+
}>;
|
|
5
|
+
modelValue: any[];
|
|
6
|
+
returnObject?: boolean;
|
|
7
|
+
itemLabel?: string;
|
|
8
|
+
itemValue?: string;
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
label?: string;
|
|
11
|
+
type?: 'normal' | 'error';
|
|
12
|
+
errors?: string | Array<string>;
|
|
13
|
+
message?: string;
|
|
14
|
+
size?: 'sm' | 'md';
|
|
15
|
+
optionsLines?: number;
|
|
16
|
+
enableSearch?: boolean;
|
|
17
|
+
search?: string;
|
|
18
|
+
locale?: string;
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
}
|
|
21
|
+
declare const _default: import('vue').DefineComponent<MultiSelectProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
|
+
"update:modelValue": (args_0: unknown[]) => any;
|
|
23
|
+
"update:search": (args_0: string) => any;
|
|
24
|
+
}, string, import('vue').PublicProps, Readonly<MultiSelectProps> & Readonly<{
|
|
25
|
+
"onUpdate:modelValue"?: ((args_0: unknown[]) => any) | undefined;
|
|
26
|
+
"onUpdate:search"?: ((args_0: string) => any) | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
disabled: boolean;
|
|
29
|
+
type: "normal" | "error";
|
|
30
|
+
placeholder: string;
|
|
31
|
+
label: string;
|
|
32
|
+
size: "sm" | "md";
|
|
33
|
+
search: string;
|
|
34
|
+
locale: string;
|
|
35
|
+
message: string;
|
|
36
|
+
errors: string | Array<string>;
|
|
37
|
+
returnObject: boolean;
|
|
38
|
+
itemLabel: string;
|
|
39
|
+
itemValue: string;
|
|
40
|
+
optionsLines: number;
|
|
41
|
+
enableSearch: boolean;
|
|
42
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
43
|
+
export default _default;
|
|
44
|
+
//# sourceMappingURL=index.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/MultiSelect/index.vue"],"names":[],"mappings":"AAqDA;AA4OA,UAAU,gBAAgB;IAExB,OAAO,EAAE,KAAK,CAAC;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC,CAAC;IAEvC,UAAU,EAAE,GAAG,EAAE,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;;;;;;;;cADY,OAAO;UARX,QAAQ,GAAG,OAAO;iBAFX,MAAM;WACZ,MAAM;UAIP,IAAI,GAAG,IAAI;YAGT,MAAM;YACN,MAAM;aALL,MAAM;YADP,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;kBANhB,OAAO;eACV,MAAM;eACN,MAAM;kBAOH,MAAM;kBACN,OAAO;;AA0UxB,wBASG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Radio.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Radio/Radio.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Radio.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Radio/Radio.vue"],"names":[],"mappings":"AAsCA;wBAsTqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;;6BAEtE,CAAC,EAAE,CAAC;;;AAZjC;;;;;;;;;;;;;;;;mPASG"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
interface SelectProps {
|
|
2
|
+
options: Array<{
|
|
3
|
+
[key: string]: any;
|
|
4
|
+
}>;
|
|
5
|
+
modelValue: any;
|
|
6
|
+
returnObject?: boolean;
|
|
7
|
+
itemLabel?: string;
|
|
8
|
+
itemValue?: string;
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
label?: string;
|
|
11
|
+
type?: 'normal' | 'error';
|
|
12
|
+
errors?: string | Array<string>;
|
|
13
|
+
message?: string;
|
|
14
|
+
size?: 'sm' | 'md';
|
|
15
|
+
optionsLines?: number;
|
|
16
|
+
enableSearch?: boolean;
|
|
17
|
+
search?: string;
|
|
18
|
+
locale?: string;
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
}
|
|
21
|
+
declare const _default: import('vue').DefineComponent<SelectProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
|
+
"update:modelValue": (value: any) => any;
|
|
23
|
+
"update:search": (value: string) => any;
|
|
24
|
+
}, string, import('vue').PublicProps, Readonly<SelectProps> & Readonly<{
|
|
25
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
26
|
+
"onUpdate:search"?: ((value: string) => any) | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
disabled: boolean;
|
|
29
|
+
type: "normal" | "error";
|
|
30
|
+
placeholder: string;
|
|
31
|
+
label: string;
|
|
32
|
+
size: "sm" | "md";
|
|
33
|
+
search: string;
|
|
34
|
+
locale: string;
|
|
35
|
+
message: string;
|
|
36
|
+
errors: string | Array<string>;
|
|
37
|
+
returnObject: boolean;
|
|
38
|
+
itemLabel: string;
|
|
39
|
+
itemValue: string;
|
|
40
|
+
optionsLines: number;
|
|
41
|
+
enableSearch: boolean;
|
|
42
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
43
|
+
export default _default;
|
|
44
|
+
//# sourceMappingURL=index.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select/index.vue"],"names":[],"mappings":"AA4DA;AAuRA,UAAU,WAAW;IAEnB,OAAO,EAAE,KAAK,CAAC;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC,CAAC;IAEvC,UAAU,EAAE,GAAG,CAAC;IAChB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;;;;;;;;cADY,OAAO;UARX,QAAQ,GAAG,OAAO;iBAFX,MAAM;WACZ,MAAM;UAIP,IAAI,GAAG,IAAI;YAGT,MAAM;YACN,MAAM;aALL,MAAM;YADP,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;kBANhB,OAAO;eACV,MAAM;eACN,MAAM;kBAOH,MAAM;kBACN,OAAO;;AAqXxB,wBASG"}
|
|
@@ -296,6 +296,18 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
296
296
|
type: BooleanConstructor;
|
|
297
297
|
default: boolean;
|
|
298
298
|
};
|
|
299
|
+
readonly: {
|
|
300
|
+
type: BooleanConstructor;
|
|
301
|
+
default: boolean;
|
|
302
|
+
};
|
|
303
|
+
forceActiveStatus: {
|
|
304
|
+
type: BooleanConstructor;
|
|
305
|
+
default: boolean;
|
|
306
|
+
};
|
|
307
|
+
showClear: {
|
|
308
|
+
type: BooleanConstructor;
|
|
309
|
+
default: boolean;
|
|
310
|
+
};
|
|
299
311
|
}>, {}, {
|
|
300
312
|
isFocused: boolean;
|
|
301
313
|
showPassword: boolean;
|
|
@@ -309,8 +321,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
309
321
|
onFocus(): void;
|
|
310
322
|
onBlur(): void;
|
|
311
323
|
onIconLeftClick(): void;
|
|
324
|
+
onClearClick(): void;
|
|
312
325
|
onIconRightClick(): void;
|
|
313
|
-
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("icon-left-click" | "icon-right-click")[], "icon-left-click" | "icon-right-click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
326
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("clear" | "icon-left-click" | "icon-right-click")[], "clear" | "icon-left-click" | "icon-right-click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
314
327
|
placeholder: {
|
|
315
328
|
type: StringConstructor;
|
|
316
329
|
default: null;
|
|
@@ -360,7 +373,20 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
360
373
|
type: BooleanConstructor;
|
|
361
374
|
default: boolean;
|
|
362
375
|
};
|
|
376
|
+
readonly: {
|
|
377
|
+
type: BooleanConstructor;
|
|
378
|
+
default: boolean;
|
|
379
|
+
};
|
|
380
|
+
forceActiveStatus: {
|
|
381
|
+
type: BooleanConstructor;
|
|
382
|
+
default: boolean;
|
|
383
|
+
};
|
|
384
|
+
showClear: {
|
|
385
|
+
type: BooleanConstructor;
|
|
386
|
+
default: boolean;
|
|
387
|
+
};
|
|
363
388
|
}>> & Readonly<{
|
|
389
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
364
390
|
"onIcon-left-click"?: ((...args: any[]) => any) | undefined;
|
|
365
391
|
"onIcon-right-click"?: ((...args: any[]) => any) | undefined;
|
|
366
392
|
}>, {
|
|
@@ -371,11 +397,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
371
397
|
modelValue: string;
|
|
372
398
|
nativeType: string;
|
|
373
399
|
maxlength: number;
|
|
400
|
+
readonly: boolean;
|
|
401
|
+
forceActiveStatus: boolean;
|
|
374
402
|
iconLeft: string;
|
|
375
403
|
iconRight: string;
|
|
376
404
|
iconLeftClickable: boolean;
|
|
377
405
|
iconRightClickable: boolean;
|
|
378
406
|
allowTogglePassword: boolean;
|
|
407
|
+
showClear: boolean;
|
|
379
408
|
}, {}, {
|
|
380
409
|
BaseInput: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
381
410
|
type: {
|
|
@@ -401,15 +430,25 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
401
430
|
};
|
|
402
431
|
hasIconLeft: BooleanConstructor;
|
|
403
432
|
hasIconRight: BooleanConstructor;
|
|
433
|
+
hasClearIcon: BooleanConstructor;
|
|
404
434
|
maxlength: {
|
|
405
435
|
type: NumberConstructor;
|
|
406
436
|
default: null;
|
|
407
437
|
};
|
|
438
|
+
readonly: {
|
|
439
|
+
type: BooleanConstructor;
|
|
440
|
+
default: boolean;
|
|
441
|
+
};
|
|
442
|
+
forceActiveStatus: {
|
|
443
|
+
type: BooleanConstructor;
|
|
444
|
+
default: boolean;
|
|
445
|
+
};
|
|
408
446
|
}>, {}, {}, {
|
|
409
447
|
attributes(): any;
|
|
410
448
|
classes(): (string | {
|
|
411
449
|
'input--has-icon-left': boolean;
|
|
412
450
|
'input--has-icon-right': boolean;
|
|
451
|
+
'input--has-clear-icon': boolean;
|
|
413
452
|
})[];
|
|
414
453
|
}, {
|
|
415
454
|
fullySanitize: typeof import('../../utils/sanitize').fullySanitize;
|
|
@@ -437,10 +476,19 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
437
476
|
};
|
|
438
477
|
hasIconLeft: BooleanConstructor;
|
|
439
478
|
hasIconRight: BooleanConstructor;
|
|
479
|
+
hasClearIcon: BooleanConstructor;
|
|
440
480
|
maxlength: {
|
|
441
481
|
type: NumberConstructor;
|
|
442
482
|
default: null;
|
|
443
483
|
};
|
|
484
|
+
readonly: {
|
|
485
|
+
type: BooleanConstructor;
|
|
486
|
+
default: boolean;
|
|
487
|
+
};
|
|
488
|
+
forceActiveStatus: {
|
|
489
|
+
type: BooleanConstructor;
|
|
490
|
+
default: boolean;
|
|
491
|
+
};
|
|
444
492
|
}>> & Readonly<{
|
|
445
493
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
446
494
|
}>, {
|
|
@@ -449,9 +497,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
449
497
|
mask: string | unknown[];
|
|
450
498
|
hasIconLeft: boolean;
|
|
451
499
|
hasIconRight: boolean;
|
|
500
|
+
hasClearIcon: boolean;
|
|
452
501
|
modelValue: string;
|
|
453
502
|
nativeType: string;
|
|
454
503
|
maxlength: number;
|
|
504
|
+
readonly: boolean;
|
|
505
|
+
forceActiveStatus: boolean;
|
|
455
506
|
}, {}, {}, {
|
|
456
507
|
mask: any;
|
|
457
508
|
}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -159,6 +159,18 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
159
159
|
type: BooleanConstructor;
|
|
160
160
|
default: boolean;
|
|
161
161
|
};
|
|
162
|
+
readonly: {
|
|
163
|
+
type: BooleanConstructor;
|
|
164
|
+
default: boolean;
|
|
165
|
+
};
|
|
166
|
+
forceActiveStatus: {
|
|
167
|
+
type: BooleanConstructor;
|
|
168
|
+
default: boolean;
|
|
169
|
+
};
|
|
170
|
+
showClear: {
|
|
171
|
+
type: BooleanConstructor;
|
|
172
|
+
default: boolean;
|
|
173
|
+
};
|
|
162
174
|
}>, {}, {
|
|
163
175
|
isFocused: boolean;
|
|
164
176
|
showPassword: boolean;
|
|
@@ -172,8 +184,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
172
184
|
onFocus(): void;
|
|
173
185
|
onBlur(): void;
|
|
174
186
|
onIconLeftClick(): void;
|
|
187
|
+
onClearClick(): void;
|
|
175
188
|
onIconRightClick(): void;
|
|
176
|
-
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("icon-left-click" | "icon-right-click")[], "icon-left-click" | "icon-right-click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
189
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("clear" | "icon-left-click" | "icon-right-click")[], "clear" | "icon-left-click" | "icon-right-click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
177
190
|
placeholder: {
|
|
178
191
|
type: StringConstructor;
|
|
179
192
|
default: null;
|
|
@@ -223,7 +236,20 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
223
236
|
type: BooleanConstructor;
|
|
224
237
|
default: boolean;
|
|
225
238
|
};
|
|
239
|
+
readonly: {
|
|
240
|
+
type: BooleanConstructor;
|
|
241
|
+
default: boolean;
|
|
242
|
+
};
|
|
243
|
+
forceActiveStatus: {
|
|
244
|
+
type: BooleanConstructor;
|
|
245
|
+
default: boolean;
|
|
246
|
+
};
|
|
247
|
+
showClear: {
|
|
248
|
+
type: BooleanConstructor;
|
|
249
|
+
default: boolean;
|
|
250
|
+
};
|
|
226
251
|
}>> & Readonly<{
|
|
252
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
227
253
|
"onIcon-left-click"?: ((...args: any[]) => any) | undefined;
|
|
228
254
|
"onIcon-right-click"?: ((...args: any[]) => any) | undefined;
|
|
229
255
|
}>, {
|
|
@@ -234,11 +260,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
234
260
|
modelValue: string;
|
|
235
261
|
nativeType: string;
|
|
236
262
|
maxlength: number;
|
|
263
|
+
readonly: boolean;
|
|
264
|
+
forceActiveStatus: boolean;
|
|
237
265
|
iconLeft: string;
|
|
238
266
|
iconRight: string;
|
|
239
267
|
iconLeftClickable: boolean;
|
|
240
268
|
iconRightClickable: boolean;
|
|
241
269
|
allowTogglePassword: boolean;
|
|
270
|
+
showClear: boolean;
|
|
242
271
|
}, {}, {
|
|
243
272
|
BaseInput: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
244
273
|
type: {
|
|
@@ -264,15 +293,25 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
264
293
|
};
|
|
265
294
|
hasIconLeft: BooleanConstructor;
|
|
266
295
|
hasIconRight: BooleanConstructor;
|
|
296
|
+
hasClearIcon: BooleanConstructor;
|
|
267
297
|
maxlength: {
|
|
268
298
|
type: NumberConstructor;
|
|
269
299
|
default: null;
|
|
270
300
|
};
|
|
301
|
+
readonly: {
|
|
302
|
+
type: BooleanConstructor;
|
|
303
|
+
default: boolean;
|
|
304
|
+
};
|
|
305
|
+
forceActiveStatus: {
|
|
306
|
+
type: BooleanConstructor;
|
|
307
|
+
default: boolean;
|
|
308
|
+
};
|
|
271
309
|
}>, {}, {}, {
|
|
272
310
|
attributes(): any;
|
|
273
311
|
classes(): (string | {
|
|
274
312
|
'input--has-icon-left': boolean;
|
|
275
313
|
'input--has-icon-right': boolean;
|
|
314
|
+
'input--has-clear-icon': boolean;
|
|
276
315
|
})[];
|
|
277
316
|
}, {
|
|
278
317
|
fullySanitize: typeof import('../../utils/sanitize').fullySanitize;
|
|
@@ -300,10 +339,19 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
300
339
|
};
|
|
301
340
|
hasIconLeft: BooleanConstructor;
|
|
302
341
|
hasIconRight: BooleanConstructor;
|
|
342
|
+
hasClearIcon: BooleanConstructor;
|
|
303
343
|
maxlength: {
|
|
304
344
|
type: NumberConstructor;
|
|
305
345
|
default: null;
|
|
306
346
|
};
|
|
347
|
+
readonly: {
|
|
348
|
+
type: BooleanConstructor;
|
|
349
|
+
default: boolean;
|
|
350
|
+
};
|
|
351
|
+
forceActiveStatus: {
|
|
352
|
+
type: BooleanConstructor;
|
|
353
|
+
default: boolean;
|
|
354
|
+
};
|
|
307
355
|
}>> & Readonly<{
|
|
308
356
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
309
357
|
}>, {
|
|
@@ -312,9 +360,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
312
360
|
mask: string | unknown[];
|
|
313
361
|
hasIconLeft: boolean;
|
|
314
362
|
hasIconRight: boolean;
|
|
363
|
+
hasClearIcon: boolean;
|
|
315
364
|
modelValue: string;
|
|
316
365
|
nativeType: string;
|
|
317
366
|
maxlength: number;
|
|
367
|
+
readonly: boolean;
|
|
368
|
+
forceActiveStatus: boolean;
|
|
318
369
|
}, {}, {}, {
|
|
319
370
|
mask: any;
|
|
320
371
|
}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Switch.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Switch.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.vue"],"names":[],"mappings":"AA+CA;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TemplatePreview.vue.d.ts","sourceRoot":"","sources":["../../../src/components/TemplatePreview/TemplatePreview.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TemplatePreview.vue.d.ts","sourceRoot":"","sources":["../../../src/components/TemplatePreview/TemplatePreview.vue"],"names":[],"mappings":"AAmGA;AAgQA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAQxC,UAAU,KAAK;IACb,QAAQ,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;CAC5B;;cADY,QAAQ,GAAG,IAAI;;AAkN5B,wBAQG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toast.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Toast/Toast.vue"],"names":[],"mappings":"AAuEA;
|
|
1
|
+
{"version":3,"file":"Toast.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Toast/Toast.vue"],"names":[],"mappings":"AAuEA;AAqQA,OAAO,KAAK,EAAE,UAAU,EAAc,MAAM,SAAS,CAAC;;;;;;;;;;;;;;AA8QtD,wBASG"}
|