sprintify-ui 0.10.73 → 0.10.74
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/sprintify-ui.es.js +6 -2
- package/dist/types/components/BaseAutocomplete.vue.d.ts +18 -0
- package/dist/types/components/BaseAutocompleteFetch.vue.d.ts +28 -4
- package/dist/types/components/BaseBelongsTo.vue.d.ts +28 -4
- package/package.json +1 -1
- package/src/components/BaseAutocomplete.vue +5 -1
package/dist/sprintify-ui.es.js
CHANGED
|
@@ -10728,6 +10728,10 @@ const Ac = /* @__PURE__ */ Yo(Gv, [["render", Zv]]), Qv = { class: "relative w-f
|
|
|
10728
10728
|
default: void 0,
|
|
10729
10729
|
type: Object
|
|
10730
10730
|
},
|
|
10731
|
+
icon: {
|
|
10732
|
+
default: "heroicons:magnifying-glass-solid",
|
|
10733
|
+
type: String
|
|
10734
|
+
},
|
|
10731
10735
|
twInput: {
|
|
10732
10736
|
default: void 0,
|
|
10733
10737
|
type: [String, Array]
|
|
@@ -10947,13 +10951,13 @@ const Ac = /* @__PURE__ */ Yo(Gv, [["render", Zv]]), Qv = { class: "relative w-f
|
|
|
10947
10951
|
size: c(s),
|
|
10948
10952
|
autocomplete: !1,
|
|
10949
10953
|
disabled: t.disabled,
|
|
10950
|
-
"icon-left":
|
|
10954
|
+
"icon-left": t.icon,
|
|
10951
10955
|
onFocus: V[1] || (V[1] = (ne) => {
|
|
10952
10956
|
C(), $e();
|
|
10953
10957
|
}),
|
|
10954
10958
|
"onUpdate:modelValue": O,
|
|
10955
10959
|
onKeydown: F
|
|
10956
|
-
}, null, 8, ["model-value", "visible-focus", "placeholder", "class", "has-error", "size", "disabled"])
|
|
10960
|
+
}, null, 8, ["model-value", "visible-focus", "placeholder", "class", "has-error", "size", "disabled", "icon-left"])
|
|
10957
10961
|
], 2),
|
|
10958
10962
|
c(D) ? (b(), z("div", u0, [
|
|
10959
10963
|
B("button", {
|
|
@@ -493,6 +493,10 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
493
493
|
default: undefined;
|
|
494
494
|
type: PropType<SelectConfiguration | undefined>;
|
|
495
495
|
};
|
|
496
|
+
icon: {
|
|
497
|
+
default: string;
|
|
498
|
+
type: StringConstructor;
|
|
499
|
+
};
|
|
496
500
|
twInput: {
|
|
497
501
|
default: undefined;
|
|
498
502
|
type: PropType<string | string[]>;
|
|
@@ -633,6 +637,10 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
633
637
|
default: undefined;
|
|
634
638
|
type: PropType<SelectConfiguration | undefined>;
|
|
635
639
|
};
|
|
640
|
+
icon: {
|
|
641
|
+
default: string;
|
|
642
|
+
type: StringConstructor;
|
|
643
|
+
};
|
|
636
644
|
twInput: {
|
|
637
645
|
default: undefined;
|
|
638
646
|
type: PropType<string | string[]>;
|
|
@@ -654,6 +662,7 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
654
662
|
select: SelectConfiguration | undefined;
|
|
655
663
|
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
656
664
|
required: boolean;
|
|
665
|
+
icon: string;
|
|
657
666
|
inline: boolean;
|
|
658
667
|
disabled: boolean;
|
|
659
668
|
name: string;
|
|
@@ -763,6 +772,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
763
772
|
default: undefined;
|
|
764
773
|
type: PropType<SelectConfiguration | undefined>;
|
|
765
774
|
};
|
|
775
|
+
icon: {
|
|
776
|
+
default: string;
|
|
777
|
+
type: StringConstructor;
|
|
778
|
+
};
|
|
766
779
|
twInput: {
|
|
767
780
|
default: undefined;
|
|
768
781
|
type: PropType<string | string[]>;
|
|
@@ -876,6 +889,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
876
889
|
default: undefined;
|
|
877
890
|
type: PropType<SelectConfiguration | undefined>;
|
|
878
891
|
};
|
|
892
|
+
icon: {
|
|
893
|
+
default: string;
|
|
894
|
+
type: StringConstructor;
|
|
895
|
+
};
|
|
879
896
|
twInput: {
|
|
880
897
|
default: undefined;
|
|
881
898
|
type: PropType<string | string[]>;
|
|
@@ -897,6 +914,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
897
914
|
select: SelectConfiguration | undefined;
|
|
898
915
|
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
899
916
|
required: boolean;
|
|
917
|
+
icon: string;
|
|
900
918
|
inline: boolean;
|
|
901
919
|
disabled: boolean;
|
|
902
920
|
name: string;
|
|
@@ -16,6 +16,7 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
16
16
|
select: SelectConfiguration | undefined;
|
|
17
17
|
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
18
18
|
required: boolean;
|
|
19
|
+
icon: string;
|
|
19
20
|
inline: boolean;
|
|
20
21
|
disabled: boolean;
|
|
21
22
|
name: string;
|
|
@@ -34,6 +35,7 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
34
35
|
twInput: string | string[];
|
|
35
36
|
twSelect: string | string[];
|
|
36
37
|
}> & Omit<{
|
|
38
|
+
readonly icon: string;
|
|
37
39
|
readonly inline: boolean;
|
|
38
40
|
readonly disabled: boolean;
|
|
39
41
|
readonly options: RawOption[];
|
|
@@ -65,7 +67,7 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
65
67
|
readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
66
68
|
readonly onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
67
69
|
readonly onTyping?: ((...args: any[]) => any) | undefined;
|
|
68
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "filter" | "select" | "size" | "required" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "loading" | "loadingBottom" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "twSelect">;
|
|
70
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "filter" | "select" | "size" | "required" | "icon" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "loading" | "loadingBottom" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "twSelect">;
|
|
69
71
|
$attrs: {
|
|
70
72
|
[x: string]: unknown;
|
|
71
73
|
};
|
|
@@ -169,6 +171,10 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
169
171
|
default: undefined;
|
|
170
172
|
type: PropType<SelectConfiguration | undefined>;
|
|
171
173
|
};
|
|
174
|
+
icon: {
|
|
175
|
+
default: string;
|
|
176
|
+
type: StringConstructor;
|
|
177
|
+
};
|
|
172
178
|
twInput: {
|
|
173
179
|
default: undefined;
|
|
174
180
|
type: PropType<string | string[]>;
|
|
@@ -204,6 +210,7 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
204
210
|
select: SelectConfiguration | undefined;
|
|
205
211
|
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
206
212
|
required: boolean;
|
|
213
|
+
icon: string;
|
|
207
214
|
inline: boolean;
|
|
208
215
|
disabled: boolean;
|
|
209
216
|
name: string;
|
|
@@ -246,6 +253,7 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
246
253
|
select: SelectConfiguration | undefined;
|
|
247
254
|
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
248
255
|
required: boolean;
|
|
256
|
+
icon: string;
|
|
249
257
|
inline: boolean;
|
|
250
258
|
disabled: boolean;
|
|
251
259
|
name: string;
|
|
@@ -352,6 +360,10 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
352
360
|
default: undefined;
|
|
353
361
|
type: PropType<SelectConfiguration | undefined>;
|
|
354
362
|
};
|
|
363
|
+
icon: {
|
|
364
|
+
default: string;
|
|
365
|
+
type: StringConstructor;
|
|
366
|
+
};
|
|
355
367
|
twInput: {
|
|
356
368
|
default: undefined;
|
|
357
369
|
type: PropType<string | string[]>;
|
|
@@ -368,7 +380,7 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
368
380
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
369
381
|
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
370
382
|
onTyping?: ((...args: any[]) => any) | undefined;
|
|
371
|
-
}>, "blur" | "close" | "focus" | "open" | "setKeywords" | ("filter" | "select" | "size" | "required" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "loading" | "loadingBottom" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "twSelect")> & import("vue").ShallowUnwrapRef<{
|
|
383
|
+
}>, "blur" | "close" | "focus" | "open" | "setKeywords" | ("filter" | "select" | "size" | "required" | "icon" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "loading" | "loadingBottom" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "twSelect")> & import("vue").ShallowUnwrapRef<{
|
|
372
384
|
focus: () => void;
|
|
373
385
|
blur: () => void;
|
|
374
386
|
close: () => void;
|
|
@@ -412,6 +424,7 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
412
424
|
select: SelectConfiguration | undefined;
|
|
413
425
|
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
414
426
|
required: boolean;
|
|
427
|
+
icon: string;
|
|
415
428
|
inline: boolean;
|
|
416
429
|
disabled: boolean;
|
|
417
430
|
name: string;
|
|
@@ -430,6 +443,7 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
430
443
|
twInput: string | string[];
|
|
431
444
|
twSelect: string | string[];
|
|
432
445
|
}> & Omit<{
|
|
446
|
+
readonly icon: string;
|
|
433
447
|
readonly inline: boolean;
|
|
434
448
|
readonly disabled: boolean;
|
|
435
449
|
readonly options: RawOption[];
|
|
@@ -461,7 +475,7 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
461
475
|
readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
462
476
|
readonly onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
463
477
|
readonly onTyping?: ((...args: any[]) => any) | undefined;
|
|
464
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "filter" | "select" | "size" | "required" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "loading" | "loadingBottom" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "twSelect">;
|
|
478
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "filter" | "select" | "size" | "required" | "icon" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "loading" | "loadingBottom" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "twSelect">;
|
|
465
479
|
$attrs: {
|
|
466
480
|
[x: string]: unknown;
|
|
467
481
|
};
|
|
@@ -565,6 +579,10 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
565
579
|
default: undefined;
|
|
566
580
|
type: PropType<SelectConfiguration | undefined>;
|
|
567
581
|
};
|
|
582
|
+
icon: {
|
|
583
|
+
default: string;
|
|
584
|
+
type: StringConstructor;
|
|
585
|
+
};
|
|
568
586
|
twInput: {
|
|
569
587
|
default: undefined;
|
|
570
588
|
type: PropType<string | string[]>;
|
|
@@ -600,6 +618,7 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
600
618
|
select: SelectConfiguration | undefined;
|
|
601
619
|
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
602
620
|
required: boolean;
|
|
621
|
+
icon: string;
|
|
603
622
|
inline: boolean;
|
|
604
623
|
disabled: boolean;
|
|
605
624
|
name: string;
|
|
@@ -642,6 +661,7 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
642
661
|
select: SelectConfiguration | undefined;
|
|
643
662
|
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
644
663
|
required: boolean;
|
|
664
|
+
icon: string;
|
|
645
665
|
inline: boolean;
|
|
646
666
|
disabled: boolean;
|
|
647
667
|
name: string;
|
|
@@ -748,6 +768,10 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
748
768
|
default: undefined;
|
|
749
769
|
type: PropType<SelectConfiguration | undefined>;
|
|
750
770
|
};
|
|
771
|
+
icon: {
|
|
772
|
+
default: string;
|
|
773
|
+
type: StringConstructor;
|
|
774
|
+
};
|
|
751
775
|
twInput: {
|
|
752
776
|
default: undefined;
|
|
753
777
|
type: PropType<string | string[]>;
|
|
@@ -764,7 +788,7 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
764
788
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
765
789
|
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
766
790
|
onTyping?: ((...args: any[]) => any) | undefined;
|
|
767
|
-
}>, "blur" | "close" | "focus" | "open" | "setKeywords" | ("filter" | "select" | "size" | "required" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "loading" | "loadingBottom" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "twSelect")> & import("vue").ShallowUnwrapRef<{
|
|
791
|
+
}>, "blur" | "close" | "focus" | "open" | "setKeywords" | ("filter" | "select" | "size" | "required" | "icon" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "loading" | "loadingBottom" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "twSelect")> & import("vue").ShallowUnwrapRef<{
|
|
768
792
|
focus: () => void;
|
|
769
793
|
blur: () => void;
|
|
770
794
|
close: () => void;
|
|
@@ -10,6 +10,7 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
10
10
|
select: SelectConfiguration | undefined;
|
|
11
11
|
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
12
12
|
required: boolean;
|
|
13
|
+
icon: string;
|
|
13
14
|
inline: boolean;
|
|
14
15
|
disabled: boolean;
|
|
15
16
|
name: string;
|
|
@@ -28,6 +29,7 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
28
29
|
twInput: string | string[];
|
|
29
30
|
twSelect: string | string[];
|
|
30
31
|
}> & Omit<{
|
|
32
|
+
readonly icon: string;
|
|
31
33
|
readonly inline: boolean;
|
|
32
34
|
readonly disabled: boolean;
|
|
33
35
|
readonly options: RawOption[];
|
|
@@ -59,7 +61,7 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
59
61
|
readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
60
62
|
readonly onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
61
63
|
readonly onTyping?: ((...args: any[]) => any) | undefined;
|
|
62
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "filter" | "select" | "size" | "required" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "loading" | "loadingBottom" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "twSelect">;
|
|
64
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "filter" | "select" | "size" | "required" | "icon" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "loading" | "loadingBottom" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "twSelect">;
|
|
63
65
|
$attrs: {
|
|
64
66
|
[x: string]: unknown;
|
|
65
67
|
};
|
|
@@ -163,6 +165,10 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
163
165
|
default: undefined;
|
|
164
166
|
type: PropType<SelectConfiguration | undefined>;
|
|
165
167
|
};
|
|
168
|
+
icon: {
|
|
169
|
+
default: string;
|
|
170
|
+
type: StringConstructor;
|
|
171
|
+
};
|
|
166
172
|
twInput: {
|
|
167
173
|
default: undefined;
|
|
168
174
|
type: PropType<string | string[]>;
|
|
@@ -198,6 +204,7 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
198
204
|
select: SelectConfiguration | undefined;
|
|
199
205
|
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
200
206
|
required: boolean;
|
|
207
|
+
icon: string;
|
|
201
208
|
inline: boolean;
|
|
202
209
|
disabled: boolean;
|
|
203
210
|
name: string;
|
|
@@ -240,6 +247,7 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
240
247
|
select: SelectConfiguration | undefined;
|
|
241
248
|
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
242
249
|
required: boolean;
|
|
250
|
+
icon: string;
|
|
243
251
|
inline: boolean;
|
|
244
252
|
disabled: boolean;
|
|
245
253
|
name: string;
|
|
@@ -346,6 +354,10 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
346
354
|
default: undefined;
|
|
347
355
|
type: PropType<SelectConfiguration | undefined>;
|
|
348
356
|
};
|
|
357
|
+
icon: {
|
|
358
|
+
default: string;
|
|
359
|
+
type: StringConstructor;
|
|
360
|
+
};
|
|
349
361
|
twInput: {
|
|
350
362
|
default: undefined;
|
|
351
363
|
type: PropType<string | string[]>;
|
|
@@ -362,7 +374,7 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
362
374
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
363
375
|
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
364
376
|
onTyping?: ((...args: any[]) => any) | undefined;
|
|
365
|
-
}>, "blur" | "close" | "focus" | "open" | "setKeywords" | ("filter" | "select" | "size" | "required" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "loading" | "loadingBottom" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "twSelect")> & import("vue").ShallowUnwrapRef<{
|
|
377
|
+
}>, "blur" | "close" | "focus" | "open" | "setKeywords" | ("filter" | "select" | "size" | "required" | "icon" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "loading" | "loadingBottom" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "twSelect")> & import("vue").ShallowUnwrapRef<{
|
|
366
378
|
focus: () => void;
|
|
367
379
|
blur: () => void;
|
|
368
380
|
close: () => void;
|
|
@@ -406,6 +418,7 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
406
418
|
select: SelectConfiguration | undefined;
|
|
407
419
|
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
408
420
|
required: boolean;
|
|
421
|
+
icon: string;
|
|
409
422
|
inline: boolean;
|
|
410
423
|
disabled: boolean;
|
|
411
424
|
name: string;
|
|
@@ -424,6 +437,7 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
424
437
|
twInput: string | string[];
|
|
425
438
|
twSelect: string | string[];
|
|
426
439
|
}> & Omit<{
|
|
440
|
+
readonly icon: string;
|
|
427
441
|
readonly inline: boolean;
|
|
428
442
|
readonly disabled: boolean;
|
|
429
443
|
readonly options: RawOption[];
|
|
@@ -455,7 +469,7 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
455
469
|
readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
456
470
|
readonly onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
457
471
|
readonly onTyping?: ((...args: any[]) => any) | undefined;
|
|
458
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "filter" | "select" | "size" | "required" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "loading" | "loadingBottom" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "twSelect">;
|
|
472
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "filter" | "select" | "size" | "required" | "icon" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "loading" | "loadingBottom" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "twSelect">;
|
|
459
473
|
$attrs: {
|
|
460
474
|
[x: string]: unknown;
|
|
461
475
|
};
|
|
@@ -559,6 +573,10 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
559
573
|
default: undefined;
|
|
560
574
|
type: PropType<SelectConfiguration | undefined>;
|
|
561
575
|
};
|
|
576
|
+
icon: {
|
|
577
|
+
default: string;
|
|
578
|
+
type: StringConstructor;
|
|
579
|
+
};
|
|
562
580
|
twInput: {
|
|
563
581
|
default: undefined;
|
|
564
582
|
type: PropType<string | string[]>;
|
|
@@ -594,6 +612,7 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
594
612
|
select: SelectConfiguration | undefined;
|
|
595
613
|
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
596
614
|
required: boolean;
|
|
615
|
+
icon: string;
|
|
597
616
|
inline: boolean;
|
|
598
617
|
disabled: boolean;
|
|
599
618
|
name: string;
|
|
@@ -636,6 +655,7 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
636
655
|
select: SelectConfiguration | undefined;
|
|
637
656
|
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
638
657
|
required: boolean;
|
|
658
|
+
icon: string;
|
|
639
659
|
inline: boolean;
|
|
640
660
|
disabled: boolean;
|
|
641
661
|
name: string;
|
|
@@ -742,6 +762,10 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
742
762
|
default: undefined;
|
|
743
763
|
type: PropType<SelectConfiguration | undefined>;
|
|
744
764
|
};
|
|
765
|
+
icon: {
|
|
766
|
+
default: string;
|
|
767
|
+
type: StringConstructor;
|
|
768
|
+
};
|
|
745
769
|
twInput: {
|
|
746
770
|
default: undefined;
|
|
747
771
|
type: PropType<string | string[]>;
|
|
@@ -758,7 +782,7 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
758
782
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
759
783
|
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
760
784
|
onTyping?: ((...args: any[]) => any) | undefined;
|
|
761
|
-
}>, "blur" | "close" | "focus" | "open" | "setKeywords" | ("filter" | "select" | "size" | "required" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "loading" | "loadingBottom" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "twSelect")> & import("vue").ShallowUnwrapRef<{
|
|
785
|
+
}>, "blur" | "close" | "focus" | "open" | "setKeywords" | ("filter" | "select" | "size" | "required" | "icon" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "loading" | "loadingBottom" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "twSelect")> & import("vue").ShallowUnwrapRef<{
|
|
762
786
|
focus: () => void;
|
|
763
787
|
blur: () => void;
|
|
764
788
|
close: () => void;
|
package/package.json
CHANGED
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
:size="sizeInternal"
|
|
42
42
|
:autocomplete="false"
|
|
43
43
|
:disabled="disabled"
|
|
44
|
-
icon-left="
|
|
44
|
+
:icon-left="icon"
|
|
45
45
|
@focus="open(); highlight();"
|
|
46
46
|
@update:model-value="onTextInput"
|
|
47
47
|
@keydown="onTextKeydown"
|
|
@@ -225,6 +225,10 @@ const props = defineProps({
|
|
|
225
225
|
default: undefined,
|
|
226
226
|
type: Object as PropType<SelectConfiguration | undefined>,
|
|
227
227
|
},
|
|
228
|
+
icon: {
|
|
229
|
+
default: 'heroicons:magnifying-glass-solid',
|
|
230
|
+
type: String,
|
|
231
|
+
},
|
|
228
232
|
twInput: {
|
|
229
233
|
default: undefined,
|
|
230
234
|
type: [String, Array] as PropType<string | string[]>,
|