@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
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,24 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
# 3.2.10 (2025-10-07)
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- **DataTable**: Added optional `sort` prop for external sort state control:
|
|
13
|
+
- **Controlled Mode**: Pass `sort` prop to control sort state externally
|
|
14
|
+
- **Uncontrolled Mode**: Component manages sort state internally (default behavior)
|
|
15
|
+
- **v-model Support**: Full support for `v-model:sort` pattern
|
|
16
|
+
- **Backward Compatible**: Existing implementations continue working without changes
|
|
17
|
+
|
|
18
|
+
# 3.2.9 (2025-10-03)
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
|
|
22
|
+
- **Chip Component**: Fixed layout shift issue when border state changes:
|
|
23
|
+
- **Consistent Sizing**: Component now maintains consistent dimensions regardless of border visibility
|
|
24
|
+
- **Smooth Transitions**: Eliminated visual "jumps" when toggling between selected/unselected states
|
|
25
|
+
|
|
8
26
|
# 3.2.8 (2025-09-25)
|
|
9
27
|
|
|
10
28
|
### Changed
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Chip.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.vue"],"names":[],"mappings":"AA6BA;
|
|
1
|
+
{"version":3,"file":"Chip.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.vue"],"names":[],"mappings":"AA6BA;AAsIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;;;;;;AAsHzC,wBAQG"}
|
|
@@ -8,6 +8,11 @@ type DataTableHeader = {
|
|
|
8
8
|
type DataTableItem = {
|
|
9
9
|
[key: string]: any;
|
|
10
10
|
};
|
|
11
|
+
type SortState = {
|
|
12
|
+
header: string;
|
|
13
|
+
itemKey: string;
|
|
14
|
+
order: string;
|
|
15
|
+
};
|
|
11
16
|
interface Props {
|
|
12
17
|
headers: DataTableHeader[];
|
|
13
18
|
items: DataTableItem[];
|
|
@@ -23,6 +28,7 @@ interface Props {
|
|
|
23
28
|
pageTotal?: number;
|
|
24
29
|
pageInterval?: number;
|
|
25
30
|
locale?: string;
|
|
31
|
+
sort?: SortState;
|
|
26
32
|
}
|
|
27
33
|
declare function __VLS_template(): any;
|
|
28
34
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
@@ -44,6 +50,7 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
44
50
|
"onUpdate:page"?: ((page: number) => any) | undefined;
|
|
45
51
|
}>, {
|
|
46
52
|
size: "sm" | "md";
|
|
53
|
+
sort: SortState;
|
|
47
54
|
height: string;
|
|
48
55
|
clickable: boolean;
|
|
49
56
|
locale: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/index.vue"],"names":[],"mappings":"AAqKA;
|
|
1
|
+
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/index.vue"],"names":[],"mappings":"AAqKA;AAwfA,KAAK,eAAe,GAAG;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;IACnC,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACxB,CAAC;AAEF,KAAK,aAAa,GAAG;IACnB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB,CAAC;AAEF,KAAK,SAAS,GAAG;IACf,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,UAAU,KAAK;IACb,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,KAAK,EAAE,aAAa,EAAE,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AAqID,iBAAS,cAAc,QAyPtB;AAsBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;gBA5Ya,MAAM;iBAAW,MAAM;eAAS,MAAM;;;;;;gBAAtC,MAAM;iBAAW,MAAM;eAAS,MAAM;;;;;UArB/D,IAAI,GAAG,IAAI;UAWX,SAAS;YAVP,MAAM;eAEH,OAAO;YAOV,MAAM;eAXH,OAAO;iBAML,OAAO;eAHT,MAAM;kBAEH,OAAO;oBAEL,OAAO;UACjB,MAAM;eACD,MAAM;kBACH,MAAM;6EAiarB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -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
|
hasLabelSlot(): 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, ("update:modelValue" | "clear")[], "update:modelValue" | "clear", 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
|
size: string;
|
|
231
256
|
type: string;
|
|
@@ -236,6 +261,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
236
261
|
modelValue: string;
|
|
237
262
|
nativeType: string;
|
|
238
263
|
maxlength: number | null;
|
|
264
|
+
readonly: boolean;
|
|
265
|
+
forceActiveStatus: boolean;
|
|
239
266
|
placeholder: string;
|
|
240
267
|
iconLeft: string;
|
|
241
268
|
iconRight: string;
|
|
@@ -243,8 +270,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
243
270
|
iconRightClickable: boolean;
|
|
244
271
|
allowTogglePassword: boolean;
|
|
245
272
|
hasCloudyColor: boolean;
|
|
246
|
-
|
|
273
|
+
showClear: boolean;
|
|
247
274
|
tooltip: string;
|
|
275
|
+
errors: string | unknown[];
|
|
248
276
|
showMaxlengthCounter: boolean;
|
|
249
277
|
}, {}, {
|
|
250
278
|
TextInput: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
@@ -301,6 +329,18 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
301
329
|
type: BooleanConstructor;
|
|
302
330
|
default: boolean;
|
|
303
331
|
};
|
|
332
|
+
readonly: {
|
|
333
|
+
type: BooleanConstructor;
|
|
334
|
+
default: boolean;
|
|
335
|
+
};
|
|
336
|
+
forceActiveStatus: {
|
|
337
|
+
type: BooleanConstructor;
|
|
338
|
+
default: boolean;
|
|
339
|
+
};
|
|
340
|
+
showClear: {
|
|
341
|
+
type: BooleanConstructor;
|
|
342
|
+
default: boolean;
|
|
343
|
+
};
|
|
304
344
|
}>, {}, {
|
|
305
345
|
isFocused: boolean;
|
|
306
346
|
showPassword: boolean;
|
|
@@ -314,8 +354,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
314
354
|
onFocus(): void;
|
|
315
355
|
onBlur(): void;
|
|
316
356
|
onIconLeftClick(): void;
|
|
357
|
+
onClearClick(): void;
|
|
317
358
|
onIconRightClick(): void;
|
|
318
|
-
}, 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<{
|
|
359
|
+
}, 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<{
|
|
319
360
|
placeholder: {
|
|
320
361
|
type: StringConstructor;
|
|
321
362
|
default: null;
|
|
@@ -369,7 +410,20 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
369
410
|
type: BooleanConstructor;
|
|
370
411
|
default: boolean;
|
|
371
412
|
};
|
|
413
|
+
readonly: {
|
|
414
|
+
type: BooleanConstructor;
|
|
415
|
+
default: boolean;
|
|
416
|
+
};
|
|
417
|
+
forceActiveStatus: {
|
|
418
|
+
type: BooleanConstructor;
|
|
419
|
+
default: boolean;
|
|
420
|
+
};
|
|
421
|
+
showClear: {
|
|
422
|
+
type: BooleanConstructor;
|
|
423
|
+
default: boolean;
|
|
424
|
+
};
|
|
372
425
|
}>> & Readonly<{
|
|
426
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
373
427
|
"onIcon-left-click"?: ((...args: any[]) => any) | undefined;
|
|
374
428
|
"onIcon-right-click"?: ((...args: any[]) => any) | undefined;
|
|
375
429
|
}>, {
|
|
@@ -379,6 +433,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
379
433
|
modelValue: string;
|
|
380
434
|
nativeType: string;
|
|
381
435
|
maxlength: number;
|
|
436
|
+
readonly: boolean;
|
|
437
|
+
forceActiveStatus: boolean;
|
|
382
438
|
placeholder: string;
|
|
383
439
|
iconLeft: string;
|
|
384
440
|
iconRight: string;
|
|
@@ -386,6 +442,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
386
442
|
iconRightClickable: boolean;
|
|
387
443
|
allowTogglePassword: boolean;
|
|
388
444
|
hasCloudyColor: boolean;
|
|
445
|
+
showClear: boolean;
|
|
389
446
|
}, {}, {
|
|
390
447
|
BaseInput: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
391
448
|
type: {
|
|
@@ -411,15 +468,25 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
411
468
|
};
|
|
412
469
|
hasIconLeft: BooleanConstructor;
|
|
413
470
|
hasIconRight: BooleanConstructor;
|
|
471
|
+
hasClearIcon: BooleanConstructor;
|
|
414
472
|
maxlength: {
|
|
415
473
|
type: NumberConstructor;
|
|
416
474
|
default: null;
|
|
417
475
|
};
|
|
476
|
+
readonly: {
|
|
477
|
+
type: BooleanConstructor;
|
|
478
|
+
default: boolean;
|
|
479
|
+
};
|
|
480
|
+
forceActiveStatus: {
|
|
481
|
+
type: BooleanConstructor;
|
|
482
|
+
default: boolean;
|
|
483
|
+
};
|
|
418
484
|
}>, {}, {}, {
|
|
419
485
|
attributes(): any;
|
|
420
486
|
classes(): (string | {
|
|
421
487
|
'input--has-icon-left': boolean;
|
|
422
488
|
'input--has-icon-right': boolean;
|
|
489
|
+
'input--has-clear-icon': boolean;
|
|
423
490
|
})[];
|
|
424
491
|
}, {
|
|
425
492
|
fullySanitize: typeof import('../../utils/sanitize').fullySanitize;
|
|
@@ -447,10 +514,19 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
447
514
|
};
|
|
448
515
|
hasIconLeft: BooleanConstructor;
|
|
449
516
|
hasIconRight: BooleanConstructor;
|
|
517
|
+
hasClearIcon: BooleanConstructor;
|
|
450
518
|
maxlength: {
|
|
451
519
|
type: NumberConstructor;
|
|
452
520
|
default: null;
|
|
453
521
|
};
|
|
522
|
+
readonly: {
|
|
523
|
+
type: BooleanConstructor;
|
|
524
|
+
default: boolean;
|
|
525
|
+
};
|
|
526
|
+
forceActiveStatus: {
|
|
527
|
+
type: BooleanConstructor;
|
|
528
|
+
default: boolean;
|
|
529
|
+
};
|
|
454
530
|
}>> & Readonly<{
|
|
455
531
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
456
532
|
}>, {
|
|
@@ -459,9 +535,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
459
535
|
mask: string | unknown[];
|
|
460
536
|
hasIconLeft: boolean;
|
|
461
537
|
hasIconRight: boolean;
|
|
538
|
+
hasClearIcon: boolean;
|
|
462
539
|
modelValue: string;
|
|
463
540
|
nativeType: string;
|
|
464
541
|
maxlength: number;
|
|
542
|
+
readonly: boolean;
|
|
543
|
+
forceActiveStatus: boolean;
|
|
465
544
|
}, {}, {}, {
|
|
466
545
|
mask: any;
|
|
467
546
|
}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -483,98 +562,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
483
562
|
scheme: import('../Icon.vue').SchemeColor;
|
|
484
563
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
485
564
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
enabled: {
|
|
492
|
-
type: BooleanConstructor;
|
|
493
|
-
default: boolean;
|
|
494
|
-
};
|
|
495
|
-
forceOpen: {
|
|
496
|
-
type: BooleanConstructor;
|
|
497
|
-
default: boolean;
|
|
498
|
-
};
|
|
499
|
-
side: {
|
|
500
|
-
type: StringConstructor;
|
|
501
|
-
default: string;
|
|
502
|
-
validator(value: unknown): boolean;
|
|
503
|
-
};
|
|
504
|
-
maxWidth: {
|
|
505
|
-
type: StringConstructor;
|
|
506
|
-
default: string;
|
|
507
|
-
};
|
|
508
|
-
shortcutText: {
|
|
509
|
-
type: StringConstructor;
|
|
510
|
-
default: null;
|
|
511
|
-
};
|
|
512
|
-
enableHtml: {
|
|
513
|
-
type: BooleanConstructor;
|
|
514
|
-
default: boolean;
|
|
515
|
-
};
|
|
516
|
-
}>, {}, {
|
|
517
|
-
topPos: null;
|
|
518
|
-
leftPos: null;
|
|
519
|
-
}, {}, {
|
|
520
|
-
handleResize(): void;
|
|
521
|
-
getRightPost(element: any): void;
|
|
522
|
-
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
523
|
-
text: {
|
|
524
|
-
type: StringConstructor;
|
|
525
|
-
default: string;
|
|
526
|
-
};
|
|
527
|
-
enabled: {
|
|
528
|
-
type: BooleanConstructor;
|
|
529
|
-
default: boolean;
|
|
530
|
-
};
|
|
531
|
-
forceOpen: {
|
|
532
|
-
type: BooleanConstructor;
|
|
533
|
-
default: boolean;
|
|
534
|
-
};
|
|
535
|
-
side: {
|
|
536
|
-
type: StringConstructor;
|
|
537
|
-
default: string;
|
|
538
|
-
validator(value: unknown): boolean;
|
|
539
|
-
};
|
|
540
|
-
maxWidth: {
|
|
541
|
-
type: StringConstructor;
|
|
542
|
-
default: string;
|
|
543
|
-
};
|
|
544
|
-
shortcutText: {
|
|
545
|
-
type: StringConstructor;
|
|
546
|
-
default: null;
|
|
547
|
-
};
|
|
548
|
-
enableHtml: {
|
|
549
|
-
type: BooleanConstructor;
|
|
550
|
-
default: boolean;
|
|
551
|
-
};
|
|
552
|
-
}>> & Readonly<{}>, {
|
|
553
|
-
text: string;
|
|
554
|
-
enabled: boolean;
|
|
555
|
-
forceOpen: boolean;
|
|
556
|
-
side: string;
|
|
557
|
-
maxWidth: string;
|
|
558
|
-
shortcutText: string;
|
|
559
|
-
enableHtml: boolean;
|
|
560
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
561
|
-
UnnnicIcon: import('vue').DefineComponent<import('../Icon.vue').IconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
562
|
-
click: (event: Event) => any;
|
|
563
|
-
mousedown: (event: Event) => any;
|
|
564
|
-
mouseup: (event: Event) => any;
|
|
565
|
-
}, string, import('vue').PublicProps, Readonly<import('../Icon.vue').IconProps> & Readonly<{
|
|
566
|
-
onClick?: ((event: Event) => any) | undefined;
|
|
567
|
-
onMousedown?: ((event: Event) => any) | undefined;
|
|
568
|
-
onMouseup?: ((event: Event) => any) | undefined;
|
|
569
|
-
}>, {
|
|
570
|
-
size: import('../Icon.vue').IconSize;
|
|
571
|
-
filled: boolean;
|
|
572
|
-
next: boolean;
|
|
573
|
-
icon: string | null;
|
|
574
|
-
clickable: boolean;
|
|
575
|
-
lineHeight: import('../Icon.vue').LineHeight | null;
|
|
576
|
-
scheme: import('../Icon.vue').SchemeColor;
|
|
577
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
565
|
+
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<{}>, {
|
|
566
|
+
label: string;
|
|
567
|
+
tooltip: string;
|
|
568
|
+
useHtmlTooltip: boolean;
|
|
569
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
578
570
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
579
571
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
580
572
|
export default _default;
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAwJ8B,sBAAsB"}
|