@weni/unnnic-system 3.9.1-alpha.5 → 3.9.1-alpha.6
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/DateFilter/DateFilter.vue.d.ts +82 -3
- 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 +82 -3
- package/dist/components/Input/Input.vue.d.ts.map +1 -1
- package/dist/components/Input/TextInput.vue.d.ts +53 -2
- package/dist/components/Input/TextInput.vue.d.ts.map +1 -1
- package/dist/components/InputDatePicker/InputDatePicker.vue.d.ts +82 -3
- package/dist/components/InputNext/InputNext.vue.d.ts +1 -1
- package/dist/components/ModalNext/ModalNext.vue.d.ts +82 -3
- package/dist/components/SelectSmart/SelectSmart.vue.d.ts +53 -2
- package/dist/components/SelectTime/index.vue.d.ts +53 -2
- package/dist/components/index.d.ts +658 -26
- package/dist/components/index.d.ts.map +1 -1
- package/dist/{es-34d30fa1.mjs → es-18dc2623.mjs} +1 -1
- package/dist/{index-70478d63.mjs → index-d490afbf.mjs} +2423 -2365
- 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-c6ed3625.mjs → pt-br-ea959d2d.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/unnnic.mjs +1 -1
- package/dist/unnnic.umd.js +28 -28
- package/package.json +1 -1
- package/src/assets/scss/scheme-colors.scss +309 -223
- package/src/components/Checkbox/Checkbox.vue +1 -1
- package/src/components/Input/BaseInput.vue +21 -2
- package/src/components/Input/Input.scss +2 -1
- package/src/components/Input/Input.vue +19 -1
- package/src/components/Input/TextInput.vue +66 -21
- package/src/components/Input/__test__/__snapshots__/Input.spec.js.snap +10 -6
- package/src/components/Input/__test__/__snapshots__/TextInput.spec.js.snap +7 -1
- package/src/components/MultiSelectV2/MultSelectOption.vue +67 -0
- package/src/components/MultiSelectV2/__tests__/MultiSelect.spec.js +556 -0
- package/src/components/MultiSelectV2/__tests__/MultiSelectOption.spec.js +229 -0
- package/src/components/MultiSelectV2/__tests__/__snapshots__/MultiSelect.spec.js.snap +121 -0
- package/src/components/MultiSelectV2/__tests__/__snapshots__/MultiSelectOption.spec.js.snap +51 -0
- package/src/components/MultiSelectV2/index.vue +221 -0
- package/src/components/Popover/__tests__/Popover.spec.js +147 -0
- package/src/components/Popover/__tests__/__snapshots__/Popover.spec.js.snap +8 -0
- package/src/components/Popover/index.vue +146 -0
- package/src/components/Select/SelectOption.vue +65 -0
- package/src/components/Select/__tests__/Select.spec.js +412 -0
- package/src/components/Select/__tests__/SelectItem.spec.js +330 -0
- package/src/components/Select/__tests__/SelectOption.spec.js +174 -0
- package/src/components/Select/__tests__/__snapshots__/Select.spec.js.snap +97 -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/index.vue +249 -0
- 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/MultiSelectV2.stories.js +158 -0
- package/src/stories/Select.stories.js +158 -0
|
@@ -140,13 +140,25 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
140
140
|
type: BooleanConstructor;
|
|
141
141
|
default: boolean;
|
|
142
142
|
};
|
|
143
|
+
readonly: {
|
|
144
|
+
type: BooleanConstructor;
|
|
145
|
+
default: boolean;
|
|
146
|
+
};
|
|
147
|
+
forceActiveStatus: {
|
|
148
|
+
type: BooleanConstructor;
|
|
149
|
+
default: boolean;
|
|
150
|
+
};
|
|
151
|
+
showClear: {
|
|
152
|
+
type: BooleanConstructor;
|
|
153
|
+
default: boolean;
|
|
154
|
+
};
|
|
143
155
|
}>, {}, {
|
|
144
156
|
val: string;
|
|
145
157
|
}, {
|
|
146
158
|
computedError(): string | boolean;
|
|
147
159
|
}, {
|
|
148
160
|
fullySanitize: typeof import('../../utils/sanitize').fullySanitize;
|
|
149
|
-
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
161
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("clear" | "update:modelValue")[], "clear" | "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
150
162
|
placeholder: {
|
|
151
163
|
type: StringConstructor;
|
|
152
164
|
default: string;
|
|
@@ -224,8 +236,21 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
224
236
|
type: BooleanConstructor;
|
|
225
237
|
default: boolean;
|
|
226
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
|
+
};
|
|
227
251
|
}>> & Readonly<{
|
|
228
252
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
253
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
229
254
|
}>, {
|
|
230
255
|
type: string;
|
|
231
256
|
size: string;
|
|
@@ -238,11 +263,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
238
263
|
modelValue: string;
|
|
239
264
|
nativeType: string;
|
|
240
265
|
maxlength: number | null;
|
|
266
|
+
readonly: boolean;
|
|
267
|
+
forceActiveStatus: boolean;
|
|
241
268
|
iconLeft: string;
|
|
242
269
|
iconRight: string;
|
|
243
270
|
iconLeftClickable: boolean;
|
|
244
271
|
iconRightClickable: boolean;
|
|
245
272
|
allowTogglePassword: boolean;
|
|
273
|
+
showClear: boolean;
|
|
246
274
|
errors: string | unknown[];
|
|
247
275
|
hasCloudyColor: boolean;
|
|
248
276
|
showMaxlengthCounter: boolean;
|
|
@@ -297,21 +325,34 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
297
325
|
type: BooleanConstructor;
|
|
298
326
|
default: boolean;
|
|
299
327
|
};
|
|
328
|
+
readonly: {
|
|
329
|
+
type: BooleanConstructor;
|
|
330
|
+
default: boolean;
|
|
331
|
+
};
|
|
332
|
+
forceActiveStatus: {
|
|
333
|
+
type: BooleanConstructor;
|
|
334
|
+
default: boolean;
|
|
335
|
+
};
|
|
336
|
+
showClear: {
|
|
337
|
+
type: BooleanConstructor;
|
|
338
|
+
default: boolean;
|
|
339
|
+
};
|
|
300
340
|
}>, {}, {
|
|
301
341
|
isFocused: boolean;
|
|
302
342
|
showPassword: boolean;
|
|
303
343
|
}, {
|
|
304
344
|
isDisabled(): {};
|
|
305
345
|
iconRightSvg(): string;
|
|
306
|
-
iconScheme(): "fg-base" | "fg-muted";
|
|
346
|
+
iconScheme(): "fg-base" | "fg-muted" | "color-gray-700";
|
|
307
347
|
attributes(): any;
|
|
308
348
|
}, {
|
|
309
349
|
focus(): void;
|
|
310
350
|
onFocus(): void;
|
|
311
351
|
onBlur(): void;
|
|
312
352
|
onIconLeftClick(): void;
|
|
353
|
+
onClearClick(): void;
|
|
313
354
|
onIconRightClick(): void;
|
|
314
|
-
}, 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<{
|
|
355
|
+
}, 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<{
|
|
315
356
|
placeholder: {
|
|
316
357
|
type: StringConstructor;
|
|
317
358
|
default: null;
|
|
@@ -361,7 +402,20 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
361
402
|
type: BooleanConstructor;
|
|
362
403
|
default: boolean;
|
|
363
404
|
};
|
|
405
|
+
readonly: {
|
|
406
|
+
type: BooleanConstructor;
|
|
407
|
+
default: boolean;
|
|
408
|
+
};
|
|
409
|
+
forceActiveStatus: {
|
|
410
|
+
type: BooleanConstructor;
|
|
411
|
+
default: boolean;
|
|
412
|
+
};
|
|
413
|
+
showClear: {
|
|
414
|
+
type: BooleanConstructor;
|
|
415
|
+
default: boolean;
|
|
416
|
+
};
|
|
364
417
|
}>> & Readonly<{
|
|
418
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
365
419
|
"onIcon-left-click"?: ((...args: any[]) => any) | undefined;
|
|
366
420
|
"onIcon-right-click"?: ((...args: any[]) => any) | undefined;
|
|
367
421
|
}>, {
|
|
@@ -372,11 +426,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
372
426
|
modelValue: string;
|
|
373
427
|
nativeType: string;
|
|
374
428
|
maxlength: number;
|
|
429
|
+
readonly: boolean;
|
|
430
|
+
forceActiveStatus: boolean;
|
|
375
431
|
iconLeft: string;
|
|
376
432
|
iconRight: string;
|
|
377
433
|
iconLeftClickable: boolean;
|
|
378
434
|
iconRightClickable: boolean;
|
|
379
435
|
allowTogglePassword: boolean;
|
|
436
|
+
showClear: boolean;
|
|
380
437
|
}, {}, {
|
|
381
438
|
BaseInput: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
382
439
|
type: {
|
|
@@ -402,15 +459,25 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
402
459
|
};
|
|
403
460
|
hasIconLeft: BooleanConstructor;
|
|
404
461
|
hasIconRight: BooleanConstructor;
|
|
462
|
+
hasClearIcon: BooleanConstructor;
|
|
405
463
|
maxlength: {
|
|
406
464
|
type: NumberConstructor;
|
|
407
465
|
default: null;
|
|
408
466
|
};
|
|
467
|
+
readonly: {
|
|
468
|
+
type: BooleanConstructor;
|
|
469
|
+
default: boolean;
|
|
470
|
+
};
|
|
471
|
+
forceActiveStatus: {
|
|
472
|
+
type: BooleanConstructor;
|
|
473
|
+
default: boolean;
|
|
474
|
+
};
|
|
409
475
|
}>, {}, {}, {
|
|
410
476
|
attributes(): any;
|
|
411
477
|
classes(): (string | {
|
|
412
478
|
'input--has-icon-left': boolean;
|
|
413
479
|
'input--has-icon-right': boolean;
|
|
480
|
+
'input--has-clear-icon': boolean;
|
|
414
481
|
})[];
|
|
415
482
|
}, {
|
|
416
483
|
fullySanitize: typeof import('../../utils/sanitize').fullySanitize;
|
|
@@ -438,10 +505,19 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
438
505
|
};
|
|
439
506
|
hasIconLeft: BooleanConstructor;
|
|
440
507
|
hasIconRight: BooleanConstructor;
|
|
508
|
+
hasClearIcon: BooleanConstructor;
|
|
441
509
|
maxlength: {
|
|
442
510
|
type: NumberConstructor;
|
|
443
511
|
default: null;
|
|
444
512
|
};
|
|
513
|
+
readonly: {
|
|
514
|
+
type: BooleanConstructor;
|
|
515
|
+
default: boolean;
|
|
516
|
+
};
|
|
517
|
+
forceActiveStatus: {
|
|
518
|
+
type: BooleanConstructor;
|
|
519
|
+
default: boolean;
|
|
520
|
+
};
|
|
445
521
|
}>> & Readonly<{
|
|
446
522
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
447
523
|
}>, {
|
|
@@ -450,9 +526,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
450
526
|
mask: string | unknown[];
|
|
451
527
|
hasIconLeft: boolean;
|
|
452
528
|
hasIconRight: boolean;
|
|
529
|
+
hasClearIcon: boolean;
|
|
453
530
|
modelValue: string;
|
|
454
531
|
nativeType: string;
|
|
455
532
|
maxlength: number;
|
|
533
|
+
readonly: boolean;
|
|
534
|
+
forceActiveStatus: boolean;
|
|
456
535
|
}, {}, {}, {
|
|
457
536
|
mask: any;
|
|
458
537
|
}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -23,15 +23,25 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
23
23
|
};
|
|
24
24
|
hasIconLeft: BooleanConstructor;
|
|
25
25
|
hasIconRight: BooleanConstructor;
|
|
26
|
+
hasClearIcon: BooleanConstructor;
|
|
26
27
|
maxlength: {
|
|
27
28
|
type: NumberConstructor;
|
|
28
29
|
default: null;
|
|
29
30
|
};
|
|
31
|
+
readonly: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
forceActiveStatus: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
30
39
|
}>, {}, {}, {
|
|
31
40
|
attributes(): any;
|
|
32
41
|
classes(): (string | {
|
|
33
42
|
'input--has-icon-left': boolean;
|
|
34
43
|
'input--has-icon-right': boolean;
|
|
44
|
+
'input--has-clear-icon': boolean;
|
|
35
45
|
})[];
|
|
36
46
|
}, {
|
|
37
47
|
fullySanitize: typeof fullySanitize;
|
|
@@ -59,10 +69,19 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
59
69
|
};
|
|
60
70
|
hasIconLeft: BooleanConstructor;
|
|
61
71
|
hasIconRight: BooleanConstructor;
|
|
72
|
+
hasClearIcon: BooleanConstructor;
|
|
62
73
|
maxlength: {
|
|
63
74
|
type: NumberConstructor;
|
|
64
75
|
default: null;
|
|
65
76
|
};
|
|
77
|
+
readonly: {
|
|
78
|
+
type: BooleanConstructor;
|
|
79
|
+
default: boolean;
|
|
80
|
+
};
|
|
81
|
+
forceActiveStatus: {
|
|
82
|
+
type: BooleanConstructor;
|
|
83
|
+
default: boolean;
|
|
84
|
+
};
|
|
66
85
|
}>> & Readonly<{
|
|
67
86
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
68
87
|
}>, {
|
|
@@ -71,9 +90,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
71
90
|
mask: string | unknown[];
|
|
72
91
|
hasIconLeft: boolean;
|
|
73
92
|
hasIconRight: boolean;
|
|
93
|
+
hasClearIcon: boolean;
|
|
74
94
|
modelValue: string;
|
|
75
95
|
nativeType: string;
|
|
76
96
|
maxlength: number;
|
|
97
|
+
readonly: boolean;
|
|
98
|
+
forceActiveStatus: boolean;
|
|
77
99
|
}, {}, {}, {
|
|
78
100
|
mask: any;
|
|
79
101
|
}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Input/BaseInput.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BaseInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Input/BaseInput.vue"],"names":[],"mappings":"AAoBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BA0J8B,sBAAsB"}
|
|
@@ -77,13 +77,25 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
77
77
|
type: BooleanConstructor;
|
|
78
78
|
default: boolean;
|
|
79
79
|
};
|
|
80
|
+
readonly: {
|
|
81
|
+
type: BooleanConstructor;
|
|
82
|
+
default: boolean;
|
|
83
|
+
};
|
|
84
|
+
forceActiveStatus: {
|
|
85
|
+
type: BooleanConstructor;
|
|
86
|
+
default: boolean;
|
|
87
|
+
};
|
|
88
|
+
showClear: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
80
92
|
}>, {}, {
|
|
81
93
|
val: string;
|
|
82
94
|
}, {
|
|
83
95
|
computedError(): string | boolean;
|
|
84
96
|
}, {
|
|
85
97
|
fullySanitize: typeof fullySanitize;
|
|
86
|
-
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
98
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("clear" | "update:modelValue")[], "clear" | "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
87
99
|
placeholder: {
|
|
88
100
|
type: StringConstructor;
|
|
89
101
|
default: string;
|
|
@@ -161,8 +173,21 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
161
173
|
type: BooleanConstructor;
|
|
162
174
|
default: boolean;
|
|
163
175
|
};
|
|
176
|
+
readonly: {
|
|
177
|
+
type: BooleanConstructor;
|
|
178
|
+
default: boolean;
|
|
179
|
+
};
|
|
180
|
+
forceActiveStatus: {
|
|
181
|
+
type: BooleanConstructor;
|
|
182
|
+
default: boolean;
|
|
183
|
+
};
|
|
184
|
+
showClear: {
|
|
185
|
+
type: BooleanConstructor;
|
|
186
|
+
default: boolean;
|
|
187
|
+
};
|
|
164
188
|
}>> & Readonly<{
|
|
165
189
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
190
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
166
191
|
}>, {
|
|
167
192
|
type: string;
|
|
168
193
|
size: string;
|
|
@@ -175,11 +200,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
175
200
|
modelValue: string;
|
|
176
201
|
nativeType: string;
|
|
177
202
|
maxlength: number | null;
|
|
203
|
+
readonly: boolean;
|
|
204
|
+
forceActiveStatus: boolean;
|
|
178
205
|
iconLeft: string;
|
|
179
206
|
iconRight: string;
|
|
180
207
|
iconLeftClickable: boolean;
|
|
181
208
|
iconRightClickable: boolean;
|
|
182
209
|
allowTogglePassword: boolean;
|
|
210
|
+
showClear: boolean;
|
|
183
211
|
errors: string | unknown[];
|
|
184
212
|
hasCloudyColor: boolean;
|
|
185
213
|
showMaxlengthCounter: boolean;
|
|
@@ -234,21 +262,34 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
234
262
|
type: BooleanConstructor;
|
|
235
263
|
default: boolean;
|
|
236
264
|
};
|
|
265
|
+
readonly: {
|
|
266
|
+
type: BooleanConstructor;
|
|
267
|
+
default: boolean;
|
|
268
|
+
};
|
|
269
|
+
forceActiveStatus: {
|
|
270
|
+
type: BooleanConstructor;
|
|
271
|
+
default: boolean;
|
|
272
|
+
};
|
|
273
|
+
showClear: {
|
|
274
|
+
type: BooleanConstructor;
|
|
275
|
+
default: boolean;
|
|
276
|
+
};
|
|
237
277
|
}>, {}, {
|
|
238
278
|
isFocused: boolean;
|
|
239
279
|
showPassword: boolean;
|
|
240
280
|
}, {
|
|
241
281
|
isDisabled(): {};
|
|
242
282
|
iconRightSvg(): string;
|
|
243
|
-
iconScheme(): "fg-base" | "fg-muted";
|
|
283
|
+
iconScheme(): "fg-base" | "fg-muted" | "color-gray-700";
|
|
244
284
|
attributes(): any;
|
|
245
285
|
}, {
|
|
246
286
|
focus(): void;
|
|
247
287
|
onFocus(): void;
|
|
248
288
|
onBlur(): void;
|
|
249
289
|
onIconLeftClick(): void;
|
|
290
|
+
onClearClick(): void;
|
|
250
291
|
onIconRightClick(): void;
|
|
251
|
-
}, 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<{
|
|
292
|
+
}, 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<{
|
|
252
293
|
placeholder: {
|
|
253
294
|
type: StringConstructor;
|
|
254
295
|
default: null;
|
|
@@ -298,7 +339,20 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
298
339
|
type: BooleanConstructor;
|
|
299
340
|
default: boolean;
|
|
300
341
|
};
|
|
342
|
+
readonly: {
|
|
343
|
+
type: BooleanConstructor;
|
|
344
|
+
default: boolean;
|
|
345
|
+
};
|
|
346
|
+
forceActiveStatus: {
|
|
347
|
+
type: BooleanConstructor;
|
|
348
|
+
default: boolean;
|
|
349
|
+
};
|
|
350
|
+
showClear: {
|
|
351
|
+
type: BooleanConstructor;
|
|
352
|
+
default: boolean;
|
|
353
|
+
};
|
|
301
354
|
}>> & Readonly<{
|
|
355
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
302
356
|
"onIcon-left-click"?: ((...args: any[]) => any) | undefined;
|
|
303
357
|
"onIcon-right-click"?: ((...args: any[]) => any) | undefined;
|
|
304
358
|
}>, {
|
|
@@ -309,11 +363,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
309
363
|
modelValue: string;
|
|
310
364
|
nativeType: string;
|
|
311
365
|
maxlength: number;
|
|
366
|
+
readonly: boolean;
|
|
367
|
+
forceActiveStatus: boolean;
|
|
312
368
|
iconLeft: string;
|
|
313
369
|
iconRight: string;
|
|
314
370
|
iconLeftClickable: boolean;
|
|
315
371
|
iconRightClickable: boolean;
|
|
316
372
|
allowTogglePassword: boolean;
|
|
373
|
+
showClear: boolean;
|
|
317
374
|
}, {}, {
|
|
318
375
|
BaseInput: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
319
376
|
type: {
|
|
@@ -339,15 +396,25 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
339
396
|
};
|
|
340
397
|
hasIconLeft: BooleanConstructor;
|
|
341
398
|
hasIconRight: BooleanConstructor;
|
|
399
|
+
hasClearIcon: BooleanConstructor;
|
|
342
400
|
maxlength: {
|
|
343
401
|
type: NumberConstructor;
|
|
344
402
|
default: null;
|
|
345
403
|
};
|
|
404
|
+
readonly: {
|
|
405
|
+
type: BooleanConstructor;
|
|
406
|
+
default: boolean;
|
|
407
|
+
};
|
|
408
|
+
forceActiveStatus: {
|
|
409
|
+
type: BooleanConstructor;
|
|
410
|
+
default: boolean;
|
|
411
|
+
};
|
|
346
412
|
}>, {}, {}, {
|
|
347
413
|
attributes(): any;
|
|
348
414
|
classes(): (string | {
|
|
349
415
|
'input--has-icon-left': boolean;
|
|
350
416
|
'input--has-icon-right': boolean;
|
|
417
|
+
'input--has-clear-icon': boolean;
|
|
351
418
|
})[];
|
|
352
419
|
}, {
|
|
353
420
|
fullySanitize: typeof fullySanitize;
|
|
@@ -375,10 +442,19 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
375
442
|
};
|
|
376
443
|
hasIconLeft: BooleanConstructor;
|
|
377
444
|
hasIconRight: BooleanConstructor;
|
|
445
|
+
hasClearIcon: BooleanConstructor;
|
|
378
446
|
maxlength: {
|
|
379
447
|
type: NumberConstructor;
|
|
380
448
|
default: null;
|
|
381
449
|
};
|
|
450
|
+
readonly: {
|
|
451
|
+
type: BooleanConstructor;
|
|
452
|
+
default: boolean;
|
|
453
|
+
};
|
|
454
|
+
forceActiveStatus: {
|
|
455
|
+
type: BooleanConstructor;
|
|
456
|
+
default: boolean;
|
|
457
|
+
};
|
|
382
458
|
}>> & Readonly<{
|
|
383
459
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
384
460
|
}>, {
|
|
@@ -387,9 +463,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
387
463
|
mask: string | unknown[];
|
|
388
464
|
hasIconLeft: boolean;
|
|
389
465
|
hasIconRight: boolean;
|
|
466
|
+
hasClearIcon: boolean;
|
|
390
467
|
modelValue: string;
|
|
391
468
|
nativeType: string;
|
|
392
469
|
maxlength: number;
|
|
470
|
+
readonly: boolean;
|
|
471
|
+
forceActiveStatus: boolean;
|
|
393
472
|
}, {}, {}, {
|
|
394
473
|
mask: any;
|
|
395
474
|
}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Input.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.vue"],"names":[],"mappings":"AAyCA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BA6L8B,sBAAsB"}
|
|
@@ -48,21 +48,34 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
48
48
|
type: BooleanConstructor;
|
|
49
49
|
default: boolean;
|
|
50
50
|
};
|
|
51
|
+
readonly: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
55
|
+
forceActiveStatus: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
showClear: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
51
63
|
}>, {}, {
|
|
52
64
|
isFocused: boolean;
|
|
53
65
|
showPassword: boolean;
|
|
54
66
|
}, {
|
|
55
67
|
isDisabled(): {};
|
|
56
68
|
iconRightSvg(): string;
|
|
57
|
-
iconScheme(): "fg-base" | "fg-muted";
|
|
69
|
+
iconScheme(): "fg-base" | "fg-muted" | "color-gray-700";
|
|
58
70
|
attributes(): any;
|
|
59
71
|
}, {
|
|
60
72
|
focus(): void;
|
|
61
73
|
onFocus(): void;
|
|
62
74
|
onBlur(): void;
|
|
63
75
|
onIconLeftClick(): void;
|
|
76
|
+
onClearClick(): void;
|
|
64
77
|
onIconRightClick(): void;
|
|
65
|
-
}, 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<{
|
|
78
|
+
}, 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<{
|
|
66
79
|
placeholder: {
|
|
67
80
|
type: StringConstructor;
|
|
68
81
|
default: null;
|
|
@@ -112,7 +125,20 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
112
125
|
type: BooleanConstructor;
|
|
113
126
|
default: boolean;
|
|
114
127
|
};
|
|
128
|
+
readonly: {
|
|
129
|
+
type: BooleanConstructor;
|
|
130
|
+
default: boolean;
|
|
131
|
+
};
|
|
132
|
+
forceActiveStatus: {
|
|
133
|
+
type: BooleanConstructor;
|
|
134
|
+
default: boolean;
|
|
135
|
+
};
|
|
136
|
+
showClear: {
|
|
137
|
+
type: BooleanConstructor;
|
|
138
|
+
default: boolean;
|
|
139
|
+
};
|
|
115
140
|
}>> & Readonly<{
|
|
141
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
116
142
|
"onIcon-left-click"?: ((...args: any[]) => any) | undefined;
|
|
117
143
|
"onIcon-right-click"?: ((...args: any[]) => any) | undefined;
|
|
118
144
|
}>, {
|
|
@@ -123,11 +149,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
123
149
|
modelValue: string;
|
|
124
150
|
nativeType: string;
|
|
125
151
|
maxlength: number;
|
|
152
|
+
readonly: boolean;
|
|
153
|
+
forceActiveStatus: boolean;
|
|
126
154
|
iconLeft: string;
|
|
127
155
|
iconRight: string;
|
|
128
156
|
iconLeftClickable: boolean;
|
|
129
157
|
iconRightClickable: boolean;
|
|
130
158
|
allowTogglePassword: boolean;
|
|
159
|
+
showClear: boolean;
|
|
131
160
|
}, {}, {
|
|
132
161
|
BaseInput: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
133
162
|
type: {
|
|
@@ -153,15 +182,25 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
153
182
|
};
|
|
154
183
|
hasIconLeft: BooleanConstructor;
|
|
155
184
|
hasIconRight: BooleanConstructor;
|
|
185
|
+
hasClearIcon: BooleanConstructor;
|
|
156
186
|
maxlength: {
|
|
157
187
|
type: NumberConstructor;
|
|
158
188
|
default: null;
|
|
159
189
|
};
|
|
190
|
+
readonly: {
|
|
191
|
+
type: BooleanConstructor;
|
|
192
|
+
default: boolean;
|
|
193
|
+
};
|
|
194
|
+
forceActiveStatus: {
|
|
195
|
+
type: BooleanConstructor;
|
|
196
|
+
default: boolean;
|
|
197
|
+
};
|
|
160
198
|
}>, {}, {}, {
|
|
161
199
|
attributes(): any;
|
|
162
200
|
classes(): (string | {
|
|
163
201
|
'input--has-icon-left': boolean;
|
|
164
202
|
'input--has-icon-right': boolean;
|
|
203
|
+
'input--has-clear-icon': boolean;
|
|
165
204
|
})[];
|
|
166
205
|
}, {
|
|
167
206
|
fullySanitize: typeof import('../../utils/sanitize').fullySanitize;
|
|
@@ -189,10 +228,19 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
189
228
|
};
|
|
190
229
|
hasIconLeft: BooleanConstructor;
|
|
191
230
|
hasIconRight: BooleanConstructor;
|
|
231
|
+
hasClearIcon: BooleanConstructor;
|
|
192
232
|
maxlength: {
|
|
193
233
|
type: NumberConstructor;
|
|
194
234
|
default: null;
|
|
195
235
|
};
|
|
236
|
+
readonly: {
|
|
237
|
+
type: BooleanConstructor;
|
|
238
|
+
default: boolean;
|
|
239
|
+
};
|
|
240
|
+
forceActiveStatus: {
|
|
241
|
+
type: BooleanConstructor;
|
|
242
|
+
default: boolean;
|
|
243
|
+
};
|
|
196
244
|
}>> & Readonly<{
|
|
197
245
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
198
246
|
}>, {
|
|
@@ -201,9 +249,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
201
249
|
mask: string | unknown[];
|
|
202
250
|
hasIconLeft: boolean;
|
|
203
251
|
hasIconRight: boolean;
|
|
252
|
+
hasClearIcon: boolean;
|
|
204
253
|
modelValue: string;
|
|
205
254
|
nativeType: string;
|
|
206
255
|
maxlength: number;
|
|
256
|
+
readonly: boolean;
|
|
257
|
+
forceActiveStatus: boolean;
|
|
207
258
|
}, {}, {}, {
|
|
208
259
|
mask: any;
|
|
209
260
|
}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Input/TextInput.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TextInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Input/TextInput.vue"],"names":[],"mappings":"AAwDA;"}
|