@weni/unnnic-system 3.2.9-alpha.1 → 3.2.9-alpha.10
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/CHANGELOG.md +18 -0
- package/dist/components/Chip/Chip.vue.d.ts.map +1 -1
- package/dist/components/DataTable/index.vue.d.ts +7 -0
- package/dist/components/DataTable/index.vue.d.ts.map +1 -1
- package/dist/components/DateFilter/DateFilter.vue.d.ts +87 -95
- 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 +87 -95
- 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/InputDatePicker/InputDatePicker.vue.d.ts +87 -95
- package/dist/components/InputNext/InputNext.vue.d.ts +1 -1
- package/dist/components/Label/Label.vue.d.ts +2 -2
- package/dist/components/Label/Label.vue.d.ts.map +1 -1
- package/dist/components/ModalNext/ModalNext.vue.d.ts +87 -95
- package/dist/components/SelectSmart/SelectSmart.vue.d.ts +52 -1
- package/dist/components/SelectTime/index.vue.d.ts +52 -1
- package/dist/components/Tab/Tab.vue.d.ts +11 -0
- package/dist/components/index.d.ts +895 -937
- package/dist/components/index.d.ts.map +1 -1
- package/dist/{es-2735a8fb.js → es-3cbe331a.js} +1 -1
- package/dist/{index-e012fa52.js → index-2241773d.js} +4242 -4189
- 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-f38a8b9c.js → pt-br-9ddee0e9.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/unnnic.js +1 -1
- package/dist/unnnic.umd.cjs +39 -39
- package/package.json +1 -1
- package/src/assets/scss/scheme-colors.scss +115 -238
- package/src/components/Alert/__tests__/__snapshots__/Alert.spec.js.snap +11 -7
- package/src/components/Alert/__tests__/__snapshots__/Version1dot1.spec.js.snap +2 -2
- package/src/components/Chip/Chip.vue +3 -2
- package/src/components/DataTable/index.vue +25 -10
- package/src/components/Input/BaseInput.vue +21 -2
- package/src/components/Input/Input.scss +2 -1
- package/src/components/Input/Input.vue +26 -30
- package/src/components/Input/TextInput.vue +59 -22
- package/src/components/Input/__test__/__snapshots__/Input.spec.js.snap +7 -3
- package/src/components/Input/__test__/__snapshots__/TextInput.spec.js.snap +7 -1
- package/src/components/Label/Label.vue +2 -2
- 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 +245 -0
- package/src/components/Tab/Tab.vue +37 -23
- package/src/components/Tab/__test__/__snapshots__/Tab.spec.js.snap +1 -1
- 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/DataTable.stories.js +60 -0
- package/src/stories/Input.stories.js +6 -0
- package/src/stories/Popover.stories.js +39 -0
- package/src/stories/Select.stories.js +91 -0
- package/src/stories/Tab.stories.js +11 -4
|
@@ -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
|
hasLabelSlot(): 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, ("update:modelValue" | "clear")[], "update:modelValue" | "clear", 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
|
size: string;
|
|
168
193
|
type: string;
|
|
@@ -173,6 +198,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
173
198
|
modelValue: string;
|
|
174
199
|
nativeType: string;
|
|
175
200
|
maxlength: number | null;
|
|
201
|
+
readonly: boolean;
|
|
202
|
+
forceActiveStatus: boolean;
|
|
176
203
|
placeholder: string;
|
|
177
204
|
iconLeft: string;
|
|
178
205
|
iconRight: string;
|
|
@@ -180,8 +207,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
180
207
|
iconRightClickable: boolean;
|
|
181
208
|
allowTogglePassword: boolean;
|
|
182
209
|
hasCloudyColor: boolean;
|
|
183
|
-
|
|
210
|
+
showClear: boolean;
|
|
184
211
|
tooltip: string;
|
|
212
|
+
errors: string | unknown[];
|
|
185
213
|
showMaxlengthCounter: boolean;
|
|
186
214
|
}, {}, {
|
|
187
215
|
TextInput: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
@@ -238,6 +266,18 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
238
266
|
type: BooleanConstructor;
|
|
239
267
|
default: boolean;
|
|
240
268
|
};
|
|
269
|
+
readonly: {
|
|
270
|
+
type: BooleanConstructor;
|
|
271
|
+
default: boolean;
|
|
272
|
+
};
|
|
273
|
+
forceActiveStatus: {
|
|
274
|
+
type: BooleanConstructor;
|
|
275
|
+
default: boolean;
|
|
276
|
+
};
|
|
277
|
+
showClear: {
|
|
278
|
+
type: BooleanConstructor;
|
|
279
|
+
default: boolean;
|
|
280
|
+
};
|
|
241
281
|
}>, {}, {
|
|
242
282
|
isFocused: boolean;
|
|
243
283
|
showPassword: boolean;
|
|
@@ -251,8 +291,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
251
291
|
onFocus(): void;
|
|
252
292
|
onBlur(): void;
|
|
253
293
|
onIconLeftClick(): void;
|
|
294
|
+
onClearClick(): void;
|
|
254
295
|
onIconRightClick(): void;
|
|
255
|
-
}, 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<{
|
|
296
|
+
}, 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<{
|
|
256
297
|
placeholder: {
|
|
257
298
|
type: StringConstructor;
|
|
258
299
|
default: null;
|
|
@@ -306,7 +347,20 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
306
347
|
type: BooleanConstructor;
|
|
307
348
|
default: boolean;
|
|
308
349
|
};
|
|
350
|
+
readonly: {
|
|
351
|
+
type: BooleanConstructor;
|
|
352
|
+
default: boolean;
|
|
353
|
+
};
|
|
354
|
+
forceActiveStatus: {
|
|
355
|
+
type: BooleanConstructor;
|
|
356
|
+
default: boolean;
|
|
357
|
+
};
|
|
358
|
+
showClear: {
|
|
359
|
+
type: BooleanConstructor;
|
|
360
|
+
default: boolean;
|
|
361
|
+
};
|
|
309
362
|
}>> & Readonly<{
|
|
363
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
310
364
|
"onIcon-left-click"?: ((...args: any[]) => any) | undefined;
|
|
311
365
|
"onIcon-right-click"?: ((...args: any[]) => any) | undefined;
|
|
312
366
|
}>, {
|
|
@@ -316,6 +370,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
316
370
|
modelValue: string;
|
|
317
371
|
nativeType: string;
|
|
318
372
|
maxlength: number;
|
|
373
|
+
readonly: boolean;
|
|
374
|
+
forceActiveStatus: boolean;
|
|
319
375
|
placeholder: string;
|
|
320
376
|
iconLeft: string;
|
|
321
377
|
iconRight: string;
|
|
@@ -323,6 +379,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
323
379
|
iconRightClickable: boolean;
|
|
324
380
|
allowTogglePassword: boolean;
|
|
325
381
|
hasCloudyColor: boolean;
|
|
382
|
+
showClear: boolean;
|
|
326
383
|
}, {}, {
|
|
327
384
|
BaseInput: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
328
385
|
type: {
|
|
@@ -348,15 +405,25 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
348
405
|
};
|
|
349
406
|
hasIconLeft: BooleanConstructor;
|
|
350
407
|
hasIconRight: BooleanConstructor;
|
|
408
|
+
hasClearIcon: BooleanConstructor;
|
|
351
409
|
maxlength: {
|
|
352
410
|
type: NumberConstructor;
|
|
353
411
|
default: null;
|
|
354
412
|
};
|
|
413
|
+
readonly: {
|
|
414
|
+
type: BooleanConstructor;
|
|
415
|
+
default: boolean;
|
|
416
|
+
};
|
|
417
|
+
forceActiveStatus: {
|
|
418
|
+
type: BooleanConstructor;
|
|
419
|
+
default: boolean;
|
|
420
|
+
};
|
|
355
421
|
}>, {}, {}, {
|
|
356
422
|
attributes(): any;
|
|
357
423
|
classes(): (string | {
|
|
358
424
|
'input--has-icon-left': boolean;
|
|
359
425
|
'input--has-icon-right': boolean;
|
|
426
|
+
'input--has-clear-icon': boolean;
|
|
360
427
|
})[];
|
|
361
428
|
}, {
|
|
362
429
|
fullySanitize: typeof fullySanitize;
|
|
@@ -384,10 +451,19 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
384
451
|
};
|
|
385
452
|
hasIconLeft: BooleanConstructor;
|
|
386
453
|
hasIconRight: BooleanConstructor;
|
|
454
|
+
hasClearIcon: BooleanConstructor;
|
|
387
455
|
maxlength: {
|
|
388
456
|
type: NumberConstructor;
|
|
389
457
|
default: null;
|
|
390
458
|
};
|
|
459
|
+
readonly: {
|
|
460
|
+
type: BooleanConstructor;
|
|
461
|
+
default: boolean;
|
|
462
|
+
};
|
|
463
|
+
forceActiveStatus: {
|
|
464
|
+
type: BooleanConstructor;
|
|
465
|
+
default: boolean;
|
|
466
|
+
};
|
|
391
467
|
}>> & Readonly<{
|
|
392
468
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
393
469
|
}>, {
|
|
@@ -396,9 +472,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
396
472
|
mask: string | unknown[];
|
|
397
473
|
hasIconLeft: boolean;
|
|
398
474
|
hasIconRight: boolean;
|
|
475
|
+
hasClearIcon: boolean;
|
|
399
476
|
modelValue: string;
|
|
400
477
|
nativeType: string;
|
|
401
478
|
maxlength: number;
|
|
479
|
+
readonly: boolean;
|
|
480
|
+
forceActiveStatus: boolean;
|
|
402
481
|
}, {}, {}, {
|
|
403
482
|
mask: any;
|
|
404
483
|
}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -420,98 +499,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
420
499
|
scheme: import('../Icon.vue').SchemeColor;
|
|
421
500
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
422
501
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
enabled: {
|
|
429
|
-
type: BooleanConstructor;
|
|
430
|
-
default: boolean;
|
|
431
|
-
};
|
|
432
|
-
forceOpen: {
|
|
433
|
-
type: BooleanConstructor;
|
|
434
|
-
default: boolean;
|
|
435
|
-
};
|
|
436
|
-
side: {
|
|
437
|
-
type: StringConstructor;
|
|
438
|
-
default: string;
|
|
439
|
-
validator(value: unknown): boolean;
|
|
440
|
-
};
|
|
441
|
-
maxWidth: {
|
|
442
|
-
type: StringConstructor;
|
|
443
|
-
default: string;
|
|
444
|
-
};
|
|
445
|
-
shortcutText: {
|
|
446
|
-
type: StringConstructor;
|
|
447
|
-
default: null;
|
|
448
|
-
};
|
|
449
|
-
enableHtml: {
|
|
450
|
-
type: BooleanConstructor;
|
|
451
|
-
default: boolean;
|
|
452
|
-
};
|
|
453
|
-
}>, {}, {
|
|
454
|
-
topPos: null;
|
|
455
|
-
leftPos: null;
|
|
456
|
-
}, {}, {
|
|
457
|
-
handleResize(): void;
|
|
458
|
-
getRightPost(element: any): void;
|
|
459
|
-
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
460
|
-
text: {
|
|
461
|
-
type: StringConstructor;
|
|
462
|
-
default: string;
|
|
463
|
-
};
|
|
464
|
-
enabled: {
|
|
465
|
-
type: BooleanConstructor;
|
|
466
|
-
default: boolean;
|
|
467
|
-
};
|
|
468
|
-
forceOpen: {
|
|
469
|
-
type: BooleanConstructor;
|
|
470
|
-
default: boolean;
|
|
471
|
-
};
|
|
472
|
-
side: {
|
|
473
|
-
type: StringConstructor;
|
|
474
|
-
default: string;
|
|
475
|
-
validator(value: unknown): boolean;
|
|
476
|
-
};
|
|
477
|
-
maxWidth: {
|
|
478
|
-
type: StringConstructor;
|
|
479
|
-
default: string;
|
|
480
|
-
};
|
|
481
|
-
shortcutText: {
|
|
482
|
-
type: StringConstructor;
|
|
483
|
-
default: null;
|
|
484
|
-
};
|
|
485
|
-
enableHtml: {
|
|
486
|
-
type: BooleanConstructor;
|
|
487
|
-
default: boolean;
|
|
488
|
-
};
|
|
489
|
-
}>> & Readonly<{}>, {
|
|
490
|
-
text: string;
|
|
491
|
-
enabled: boolean;
|
|
492
|
-
forceOpen: boolean;
|
|
493
|
-
side: string;
|
|
494
|
-
maxWidth: string;
|
|
495
|
-
shortcutText: string;
|
|
496
|
-
enableHtml: boolean;
|
|
497
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
498
|
-
UnnnicIcon: import('vue').DefineComponent<import('../Icon.vue').IconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
499
|
-
click: (event: Event) => any;
|
|
500
|
-
mousedown: (event: Event) => any;
|
|
501
|
-
mouseup: (event: Event) => any;
|
|
502
|
-
}, string, import('vue').PublicProps, Readonly<import('../Icon.vue').IconProps> & Readonly<{
|
|
503
|
-
onClick?: ((event: Event) => any) | undefined;
|
|
504
|
-
onMousedown?: ((event: Event) => any) | undefined;
|
|
505
|
-
onMouseup?: ((event: Event) => any) | undefined;
|
|
506
|
-
}>, {
|
|
507
|
-
size: import('../Icon.vue').IconSize;
|
|
508
|
-
filled: boolean;
|
|
509
|
-
next: boolean;
|
|
510
|
-
icon: string | null;
|
|
511
|
-
clickable: boolean;
|
|
512
|
-
lineHeight: import('../Icon.vue').LineHeight | null;
|
|
513
|
-
scheme: import('../Icon.vue').SchemeColor;
|
|
514
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
502
|
+
UnnnicLabel: import('vue').DefineComponent<import('../Label/Label.vue').LabelProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('../Label/Label.vue').LabelProps> & Readonly<{}>, {
|
|
503
|
+
label: string;
|
|
504
|
+
tooltip: string;
|
|
505
|
+
useHtmlTooltip: boolean;
|
|
506
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
515
507
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
516
508
|
export default _default;
|
|
517
509
|
//# sourceMappingURL=Input.vue.d.ts.map
|
|
@@ -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":"AA2DA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAsO8B,sBAAsB"}
|
|
@@ -52,6 +52,18 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
52
52
|
type: BooleanConstructor;
|
|
53
53
|
default: boolean;
|
|
54
54
|
};
|
|
55
|
+
readonly: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
forceActiveStatus: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
showClear: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
55
67
|
}>, {}, {
|
|
56
68
|
isFocused: boolean;
|
|
57
69
|
showPassword: boolean;
|
|
@@ -65,8 +77,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
65
77
|
onFocus(): void;
|
|
66
78
|
onBlur(): void;
|
|
67
79
|
onIconLeftClick(): void;
|
|
80
|
+
onClearClick(): void;
|
|
68
81
|
onIconRightClick(): void;
|
|
69
|
-
}, 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<{
|
|
82
|
+
}, 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<{
|
|
70
83
|
placeholder: {
|
|
71
84
|
type: StringConstructor;
|
|
72
85
|
default: null;
|
|
@@ -120,7 +133,20 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
120
133
|
type: BooleanConstructor;
|
|
121
134
|
default: boolean;
|
|
122
135
|
};
|
|
136
|
+
readonly: {
|
|
137
|
+
type: BooleanConstructor;
|
|
138
|
+
default: boolean;
|
|
139
|
+
};
|
|
140
|
+
forceActiveStatus: {
|
|
141
|
+
type: BooleanConstructor;
|
|
142
|
+
default: boolean;
|
|
143
|
+
};
|
|
144
|
+
showClear: {
|
|
145
|
+
type: BooleanConstructor;
|
|
146
|
+
default: boolean;
|
|
147
|
+
};
|
|
123
148
|
}>> & Readonly<{
|
|
149
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
124
150
|
"onIcon-left-click"?: ((...args: any[]) => any) | undefined;
|
|
125
151
|
"onIcon-right-click"?: ((...args: any[]) => any) | undefined;
|
|
126
152
|
}>, {
|
|
@@ -130,6 +156,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
130
156
|
modelValue: string;
|
|
131
157
|
nativeType: string;
|
|
132
158
|
maxlength: number;
|
|
159
|
+
readonly: boolean;
|
|
160
|
+
forceActiveStatus: boolean;
|
|
133
161
|
placeholder: string;
|
|
134
162
|
iconLeft: string;
|
|
135
163
|
iconRight: string;
|
|
@@ -137,6 +165,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
137
165
|
iconRightClickable: boolean;
|
|
138
166
|
allowTogglePassword: boolean;
|
|
139
167
|
hasCloudyColor: boolean;
|
|
168
|
+
showClear: boolean;
|
|
140
169
|
}, {}, {
|
|
141
170
|
BaseInput: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
142
171
|
type: {
|
|
@@ -162,15 +191,25 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
162
191
|
};
|
|
163
192
|
hasIconLeft: BooleanConstructor;
|
|
164
193
|
hasIconRight: BooleanConstructor;
|
|
194
|
+
hasClearIcon: BooleanConstructor;
|
|
165
195
|
maxlength: {
|
|
166
196
|
type: NumberConstructor;
|
|
167
197
|
default: null;
|
|
168
198
|
};
|
|
199
|
+
readonly: {
|
|
200
|
+
type: BooleanConstructor;
|
|
201
|
+
default: boolean;
|
|
202
|
+
};
|
|
203
|
+
forceActiveStatus: {
|
|
204
|
+
type: BooleanConstructor;
|
|
205
|
+
default: boolean;
|
|
206
|
+
};
|
|
169
207
|
}>, {}, {}, {
|
|
170
208
|
attributes(): any;
|
|
171
209
|
classes(): (string | {
|
|
172
210
|
'input--has-icon-left': boolean;
|
|
173
211
|
'input--has-icon-right': boolean;
|
|
212
|
+
'input--has-clear-icon': boolean;
|
|
174
213
|
})[];
|
|
175
214
|
}, {
|
|
176
215
|
fullySanitize: typeof import('../../utils/sanitize').fullySanitize;
|
|
@@ -198,10 +237,19 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
198
237
|
};
|
|
199
238
|
hasIconLeft: BooleanConstructor;
|
|
200
239
|
hasIconRight: BooleanConstructor;
|
|
240
|
+
hasClearIcon: BooleanConstructor;
|
|
201
241
|
maxlength: {
|
|
202
242
|
type: NumberConstructor;
|
|
203
243
|
default: null;
|
|
204
244
|
};
|
|
245
|
+
readonly: {
|
|
246
|
+
type: BooleanConstructor;
|
|
247
|
+
default: boolean;
|
|
248
|
+
};
|
|
249
|
+
forceActiveStatus: {
|
|
250
|
+
type: BooleanConstructor;
|
|
251
|
+
default: boolean;
|
|
252
|
+
};
|
|
205
253
|
}>> & Readonly<{
|
|
206
254
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
207
255
|
}>, {
|
|
@@ -210,9 +258,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
210
258
|
mask: string | unknown[];
|
|
211
259
|
hasIconLeft: boolean;
|
|
212
260
|
hasIconRight: boolean;
|
|
261
|
+
hasClearIcon: boolean;
|
|
213
262
|
modelValue: string;
|
|
214
263
|
nativeType: string;
|
|
215
264
|
maxlength: number;
|
|
265
|
+
readonly: boolean;
|
|
266
|
+
forceActiveStatus: boolean;
|
|
216
267
|
}, {}, {}, {
|
|
217
268
|
mask: any;
|
|
218
269
|
}, 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;"}
|