sprintify-ui 0.10.87 → 0.10.88
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 +3464 -3360
- package/dist/types/components/BaseAutocomplete.vue.d.ts +88 -4
- package/dist/types/components/BaseAutocompleteDrawer.vue.d.ts +44 -4
- package/dist/types/components/BaseAutocompleteFetch.vue.d.ts +88 -4
- package/dist/types/components/BaseBelongsTo.vue.d.ts +88 -4
- package/dist/types/components/BaseBelongsToFetch.vue.d.ts +58 -4
- package/dist/types/components/BaseHasMany.vue.d.ts +36 -0
- package/dist/types/components/BaseTagAutocomplete.vue.d.ts +96 -10
- package/dist/types/components/BaseTagAutocompleteFetch.vue.d.ts +52 -4
- package/package.json +1 -1
- package/src/components/BaseAutocomplete.stories.js +10 -0
- package/src/components/BaseAutocomplete.vue +11 -1
- package/src/components/BaseAutocompleteDrawer.vue +52 -1
- package/src/components/BaseAutocompleteFetch.stories.js +6 -0
- package/src/components/BaseAutocompleteFetch.vue +10 -0
- package/src/components/BaseBelongsTo.stories.js +5 -0
- package/src/components/BaseBelongsTo.vue +10 -0
- package/src/components/BaseBelongsToFetch.stories.js +6 -0
- package/src/components/BaseBelongsToFetch.vue +6 -0
- package/src/components/BaseHasMany.stories.js +5 -0
- package/src/components/BaseHasMany.vue +10 -0
- package/src/components/BaseHasManyFetch.stories.js +12 -0
- package/src/components/BaseTagAutocomplete.stories.js +5 -0
- package/src/components/BaseTagAutocomplete.vue +34 -1
- package/src/components/BaseTagAutocompleteFetch.stories.js +6 -0
|
@@ -20,6 +20,8 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
20
20
|
visibleFocus: boolean;
|
|
21
21
|
loading: boolean;
|
|
22
22
|
loadingBottom: boolean;
|
|
23
|
+
optionColor: (option: RawOption) => string;
|
|
24
|
+
optionIcon: (option: RawOption) => string;
|
|
23
25
|
dropdownShow: "always" | "focus";
|
|
24
26
|
showModelValue: boolean;
|
|
25
27
|
focusOnMount: boolean;
|
|
@@ -52,6 +54,8 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
52
54
|
readonly name?: string | undefined;
|
|
53
55
|
readonly modelValue?: RawOption | null | undefined;
|
|
54
56
|
readonly placeholder?: string | undefined;
|
|
57
|
+
readonly optionColor?: ((option: RawOption) => string) | undefined;
|
|
58
|
+
readonly optionIcon?: ((option: RawOption) => string) | undefined;
|
|
55
59
|
readonly twInput?: string | string[] | undefined;
|
|
56
60
|
readonly twSelect?: string | string[] | undefined;
|
|
57
61
|
readonly onClose?: ((...args: any[]) => any) | undefined;
|
|
@@ -61,7 +65,7 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
61
65
|
readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
62
66
|
readonly onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
63
67
|
readonly onTyping?: ((...args: any[]) => any) | undefined;
|
|
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">;
|
|
68
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "filter" | "select" | "size" | "required" | "icon" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "loading" | "loadingBottom" | "optionColor" | "optionIcon" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "twSelect">;
|
|
65
69
|
$attrs: {
|
|
66
70
|
[x: string]: unknown;
|
|
67
71
|
};
|
|
@@ -169,6 +173,14 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
169
173
|
default(): string;
|
|
170
174
|
type: PropType<string>;
|
|
171
175
|
};
|
|
176
|
+
optionColor: {
|
|
177
|
+
default: undefined;
|
|
178
|
+
type: PropType<(option: RawOption) => string>;
|
|
179
|
+
};
|
|
180
|
+
optionIcon: {
|
|
181
|
+
default: undefined;
|
|
182
|
+
type: PropType<(option: RawOption) => string>;
|
|
183
|
+
};
|
|
172
184
|
twInput: {
|
|
173
185
|
default: undefined;
|
|
174
186
|
type: PropType<string | string[]>;
|
|
@@ -214,6 +226,8 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
214
226
|
visibleFocus: boolean;
|
|
215
227
|
loading: boolean;
|
|
216
228
|
loadingBottom: boolean;
|
|
229
|
+
optionColor: (option: RawOption) => string;
|
|
230
|
+
optionIcon: (option: RawOption) => string;
|
|
217
231
|
dropdownShow: "always" | "focus";
|
|
218
232
|
showModelValue: boolean;
|
|
219
233
|
focusOnMount: boolean;
|
|
@@ -257,6 +271,8 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
257
271
|
visibleFocus: boolean;
|
|
258
272
|
loading: boolean;
|
|
259
273
|
loadingBottom: boolean;
|
|
274
|
+
optionColor: (option: RawOption) => string;
|
|
275
|
+
optionIcon: (option: RawOption) => string;
|
|
260
276
|
dropdownShow: "always" | "focus";
|
|
261
277
|
showModelValue: boolean;
|
|
262
278
|
focusOnMount: boolean;
|
|
@@ -358,6 +374,14 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
358
374
|
default(): string;
|
|
359
375
|
type: PropType<string>;
|
|
360
376
|
};
|
|
377
|
+
optionColor: {
|
|
378
|
+
default: undefined;
|
|
379
|
+
type: PropType<(option: RawOption) => string>;
|
|
380
|
+
};
|
|
381
|
+
optionIcon: {
|
|
382
|
+
default: undefined;
|
|
383
|
+
type: PropType<(option: RawOption) => string>;
|
|
384
|
+
};
|
|
361
385
|
twInput: {
|
|
362
386
|
default: undefined;
|
|
363
387
|
type: PropType<string | string[]>;
|
|
@@ -374,7 +398,7 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
374
398
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
375
399
|
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
376
400
|
onTyping?: ((...args: any[]) => any) | undefined;
|
|
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<{
|
|
401
|
+
}>, "blur" | "close" | "focus" | "open" | "setKeywords" | ("filter" | "select" | "size" | "required" | "icon" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "loading" | "loadingBottom" | "optionColor" | "optionIcon" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "twSelect")> & import("vue").ShallowUnwrapRef<{
|
|
378
402
|
focus: () => void;
|
|
379
403
|
blur: () => void;
|
|
380
404
|
close: () => void;
|
|
@@ -428,6 +452,8 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
428
452
|
visibleFocus: boolean;
|
|
429
453
|
loading: boolean;
|
|
430
454
|
loadingBottom: boolean;
|
|
455
|
+
optionColor: (option: RawOption) => string;
|
|
456
|
+
optionIcon: (option: RawOption) => string;
|
|
431
457
|
dropdownShow: "always" | "focus";
|
|
432
458
|
showModelValue: boolean;
|
|
433
459
|
focusOnMount: boolean;
|
|
@@ -460,6 +486,8 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
460
486
|
readonly name?: string | undefined;
|
|
461
487
|
readonly modelValue?: RawOption | null | undefined;
|
|
462
488
|
readonly placeholder?: string | undefined;
|
|
489
|
+
readonly optionColor?: ((option: RawOption) => string) | undefined;
|
|
490
|
+
readonly optionIcon?: ((option: RawOption) => string) | undefined;
|
|
463
491
|
readonly twInput?: string | string[] | undefined;
|
|
464
492
|
readonly twSelect?: string | string[] | undefined;
|
|
465
493
|
readonly onClose?: ((...args: any[]) => any) | undefined;
|
|
@@ -469,7 +497,7 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
469
497
|
readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
470
498
|
readonly onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
471
499
|
readonly onTyping?: ((...args: any[]) => any) | undefined;
|
|
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">;
|
|
500
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "filter" | "select" | "size" | "required" | "icon" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "loading" | "loadingBottom" | "optionColor" | "optionIcon" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "twSelect">;
|
|
473
501
|
$attrs: {
|
|
474
502
|
[x: string]: unknown;
|
|
475
503
|
};
|
|
@@ -577,6 +605,14 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
577
605
|
default(): string;
|
|
578
606
|
type: PropType<string>;
|
|
579
607
|
};
|
|
608
|
+
optionColor: {
|
|
609
|
+
default: undefined;
|
|
610
|
+
type: PropType<(option: RawOption) => string>;
|
|
611
|
+
};
|
|
612
|
+
optionIcon: {
|
|
613
|
+
default: undefined;
|
|
614
|
+
type: PropType<(option: RawOption) => string>;
|
|
615
|
+
};
|
|
580
616
|
twInput: {
|
|
581
617
|
default: undefined;
|
|
582
618
|
type: PropType<string | string[]>;
|
|
@@ -622,6 +658,8 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
622
658
|
visibleFocus: boolean;
|
|
623
659
|
loading: boolean;
|
|
624
660
|
loadingBottom: boolean;
|
|
661
|
+
optionColor: (option: RawOption) => string;
|
|
662
|
+
optionIcon: (option: RawOption) => string;
|
|
625
663
|
dropdownShow: "always" | "focus";
|
|
626
664
|
showModelValue: boolean;
|
|
627
665
|
focusOnMount: boolean;
|
|
@@ -665,6 +703,8 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
665
703
|
visibleFocus: boolean;
|
|
666
704
|
loading: boolean;
|
|
667
705
|
loadingBottom: boolean;
|
|
706
|
+
optionColor: (option: RawOption) => string;
|
|
707
|
+
optionIcon: (option: RawOption) => string;
|
|
668
708
|
dropdownShow: "always" | "focus";
|
|
669
709
|
showModelValue: boolean;
|
|
670
710
|
focusOnMount: boolean;
|
|
@@ -766,6 +806,14 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
766
806
|
default(): string;
|
|
767
807
|
type: PropType<string>;
|
|
768
808
|
};
|
|
809
|
+
optionColor: {
|
|
810
|
+
default: undefined;
|
|
811
|
+
type: PropType<(option: RawOption) => string>;
|
|
812
|
+
};
|
|
813
|
+
optionIcon: {
|
|
814
|
+
default: undefined;
|
|
815
|
+
type: PropType<(option: RawOption) => string>;
|
|
816
|
+
};
|
|
769
817
|
twInput: {
|
|
770
818
|
default: undefined;
|
|
771
819
|
type: PropType<string | string[]>;
|
|
@@ -782,7 +830,7 @@ declare const autocomplete: import("vue").Ref<({
|
|
|
782
830
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
783
831
|
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
784
832
|
onTyping?: ((...args: any[]) => any) | undefined;
|
|
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<{
|
|
833
|
+
}>, "blur" | "close" | "focus" | "open" | "setKeywords" | ("filter" | "select" | "size" | "required" | "icon" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "loading" | "loadingBottom" | "optionColor" | "optionIcon" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "twSelect")> & import("vue").ShallowUnwrapRef<{
|
|
786
834
|
focus: () => void;
|
|
787
835
|
blur: () => void;
|
|
788
836
|
close: () => void;
|
|
@@ -939,6 +987,14 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
939
987
|
default: undefined;
|
|
940
988
|
type: StringConstructor;
|
|
941
989
|
};
|
|
990
|
+
optionColor: {
|
|
991
|
+
default: undefined;
|
|
992
|
+
type: PropType<(option: RawOption) => string>;
|
|
993
|
+
};
|
|
994
|
+
optionIcon: {
|
|
995
|
+
default: undefined;
|
|
996
|
+
type: PropType<(option: RawOption) => string>;
|
|
997
|
+
};
|
|
942
998
|
}>, {
|
|
943
999
|
BaseAutocomplete: typeof BaseAutocomplete;
|
|
944
1000
|
autocomplete: typeof autocomplete;
|
|
@@ -1031,6 +1087,14 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
1031
1087
|
default: undefined;
|
|
1032
1088
|
type: StringConstructor;
|
|
1033
1089
|
};
|
|
1090
|
+
optionColor: {
|
|
1091
|
+
default: undefined;
|
|
1092
|
+
type: PropType<(option: RawOption) => string>;
|
|
1093
|
+
};
|
|
1094
|
+
optionIcon: {
|
|
1095
|
+
default: undefined;
|
|
1096
|
+
type: PropType<(option: RawOption) => string>;
|
|
1097
|
+
};
|
|
1034
1098
|
}>> & Readonly<{
|
|
1035
1099
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1036
1100
|
}>, {
|
|
@@ -1047,6 +1111,8 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
1047
1111
|
hasError: boolean;
|
|
1048
1112
|
visibleFocus: boolean;
|
|
1049
1113
|
primaryKey: string;
|
|
1114
|
+
optionColor: (option: RawOption) => string;
|
|
1115
|
+
optionIcon: (option: RawOption) => string;
|
|
1050
1116
|
dropdownShow: "always" | "focus";
|
|
1051
1117
|
showModelValue: boolean;
|
|
1052
1118
|
focusOnMount: boolean;
|
|
@@ -1139,6 +1205,14 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
1139
1205
|
default: undefined;
|
|
1140
1206
|
type: StringConstructor;
|
|
1141
1207
|
};
|
|
1208
|
+
optionColor: {
|
|
1209
|
+
default: undefined;
|
|
1210
|
+
type: PropType<(option: RawOption) => string>;
|
|
1211
|
+
};
|
|
1212
|
+
optionIcon: {
|
|
1213
|
+
default: undefined;
|
|
1214
|
+
type: PropType<(option: RawOption) => string>;
|
|
1215
|
+
};
|
|
1142
1216
|
}>, {
|
|
1143
1217
|
focus: () => void | undefined;
|
|
1144
1218
|
blur: () => void | undefined;
|
|
@@ -1232,6 +1306,14 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
1232
1306
|
default: undefined;
|
|
1233
1307
|
type: StringConstructor;
|
|
1234
1308
|
};
|
|
1309
|
+
optionColor: {
|
|
1310
|
+
default: undefined;
|
|
1311
|
+
type: PropType<(option: RawOption) => string>;
|
|
1312
|
+
};
|
|
1313
|
+
optionIcon: {
|
|
1314
|
+
default: undefined;
|
|
1315
|
+
type: PropType<(option: RawOption) => string>;
|
|
1316
|
+
};
|
|
1235
1317
|
}>> & Readonly<{
|
|
1236
1318
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1237
1319
|
}>, {
|
|
@@ -1248,6 +1330,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
1248
1330
|
hasError: boolean;
|
|
1249
1331
|
visibleFocus: boolean;
|
|
1250
1332
|
primaryKey: string;
|
|
1333
|
+
optionColor: (option: RawOption) => string;
|
|
1334
|
+
optionIcon: (option: RawOption) => string;
|
|
1251
1335
|
dropdownShow: "always" | "focus";
|
|
1252
1336
|
showModelValue: boolean;
|
|
1253
1337
|
focusOnMount: boolean;
|
|
@@ -23,6 +23,8 @@ type __VLS_Props = {
|
|
|
23
23
|
showRemoveButton?: boolean;
|
|
24
24
|
emptyOptionLabel?: string;
|
|
25
25
|
select?: SelectConfiguration;
|
|
26
|
+
optionColor?: (option: RawOption) => string;
|
|
27
|
+
optionIcon?: (option: RawOption) => string;
|
|
26
28
|
};
|
|
27
29
|
declare const autocompleteFetch: import("vue").Ref<({
|
|
28
30
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -38,6 +40,8 @@ declare const autocompleteFetch: import("vue").Ref<({
|
|
|
38
40
|
placeholder: string;
|
|
39
41
|
hasError: boolean;
|
|
40
42
|
visibleFocus: boolean;
|
|
43
|
+
optionColor: (option: RawOption) => string;
|
|
44
|
+
optionIcon: (option: RawOption) => string;
|
|
41
45
|
dropdownShow: "always" | "focus";
|
|
42
46
|
showModelValue: boolean;
|
|
43
47
|
focusOnMount: boolean;
|
|
@@ -66,6 +70,8 @@ declare const autocompleteFetch: import("vue").Ref<({
|
|
|
66
70
|
readonly name?: string | undefined;
|
|
67
71
|
readonly modelValue?: RawOption | null | undefined;
|
|
68
72
|
readonly placeholder?: string | undefined;
|
|
73
|
+
readonly optionColor?: ((option: RawOption) => string) | undefined;
|
|
74
|
+
readonly optionIcon?: ((option: RawOption) => string) | undefined;
|
|
69
75
|
readonly emptyOptionLabel?: string | undefined;
|
|
70
76
|
readonly twInput?: string | string[] | undefined;
|
|
71
77
|
readonly onFocus?: ((...args: any[]) => any) | undefined;
|
|
@@ -73,7 +79,7 @@ declare const autocompleteFetch: import("vue").Ref<({
|
|
|
73
79
|
readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
74
80
|
readonly onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
75
81
|
readonly onTyping?: ((...args: any[]) => any) | undefined;
|
|
76
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "select" | "size" | "required" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "queryKey">;
|
|
82
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "select" | "size" | "required" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "optionColor" | "optionIcon" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "queryKey">;
|
|
77
83
|
$attrs: {
|
|
78
84
|
[x: string]: unknown;
|
|
79
85
|
};
|
|
@@ -169,6 +175,14 @@ declare const autocompleteFetch: import("vue").Ref<({
|
|
|
169
175
|
default: undefined;
|
|
170
176
|
type: import("vue").PropType<SelectConfiguration | undefined>;
|
|
171
177
|
};
|
|
178
|
+
optionColor: {
|
|
179
|
+
default: undefined;
|
|
180
|
+
type: import("vue").PropType<(option: RawOption) => string>;
|
|
181
|
+
};
|
|
182
|
+
optionIcon: {
|
|
183
|
+
default: undefined;
|
|
184
|
+
type: import("vue").PropType<(option: RawOption) => string>;
|
|
185
|
+
};
|
|
172
186
|
twInput: {
|
|
173
187
|
default: undefined;
|
|
174
188
|
type: import("vue").PropType<string | string[]>;
|
|
@@ -202,6 +216,8 @@ declare const autocompleteFetch: import("vue").Ref<({
|
|
|
202
216
|
placeholder: string;
|
|
203
217
|
hasError: boolean;
|
|
204
218
|
visibleFocus: boolean;
|
|
219
|
+
optionColor: (option: RawOption) => string;
|
|
220
|
+
optionIcon: (option: RawOption) => string;
|
|
205
221
|
dropdownShow: "always" | "focus";
|
|
206
222
|
showModelValue: boolean;
|
|
207
223
|
focusOnMount: boolean;
|
|
@@ -241,6 +257,8 @@ declare const autocompleteFetch: import("vue").Ref<({
|
|
|
241
257
|
placeholder: string;
|
|
242
258
|
hasError: boolean;
|
|
243
259
|
visibleFocus: boolean;
|
|
260
|
+
optionColor: (option: RawOption) => string;
|
|
261
|
+
optionIcon: (option: RawOption) => string;
|
|
244
262
|
dropdownShow: "always" | "focus";
|
|
245
263
|
showModelValue: boolean;
|
|
246
264
|
focusOnMount: boolean;
|
|
@@ -330,6 +348,14 @@ declare const autocompleteFetch: import("vue").Ref<({
|
|
|
330
348
|
default: undefined;
|
|
331
349
|
type: import("vue").PropType<SelectConfiguration | undefined>;
|
|
332
350
|
};
|
|
351
|
+
optionColor: {
|
|
352
|
+
default: undefined;
|
|
353
|
+
type: import("vue").PropType<(option: RawOption) => string>;
|
|
354
|
+
};
|
|
355
|
+
optionIcon: {
|
|
356
|
+
default: undefined;
|
|
357
|
+
type: import("vue").PropType<(option: RawOption) => string>;
|
|
358
|
+
};
|
|
333
359
|
twInput: {
|
|
334
360
|
default: undefined;
|
|
335
361
|
type: import("vue").PropType<string | string[]>;
|
|
@@ -340,7 +366,7 @@ declare const autocompleteFetch: import("vue").Ref<({
|
|
|
340
366
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
341
367
|
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
342
368
|
onTyping?: ((...args: any[]) => any) | undefined;
|
|
343
|
-
}>, "blur" | "close" | "focus" | "open" | "setKeywords" | ("select" | "size" | "required" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "queryKey")> & import("vue").ShallowUnwrapRef<{
|
|
369
|
+
}>, "blur" | "close" | "focus" | "open" | "setKeywords" | ("select" | "size" | "required" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "optionColor" | "optionIcon" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "queryKey")> & import("vue").ShallowUnwrapRef<{
|
|
344
370
|
focus: () => void | undefined;
|
|
345
371
|
blur: () => void | undefined;
|
|
346
372
|
open: () => void | undefined;
|
|
@@ -391,6 +417,8 @@ declare const autocompleteFetch: import("vue").Ref<({
|
|
|
391
417
|
placeholder: string;
|
|
392
418
|
hasError: boolean;
|
|
393
419
|
visibleFocus: boolean;
|
|
420
|
+
optionColor: (option: RawOption) => string;
|
|
421
|
+
optionIcon: (option: RawOption) => string;
|
|
394
422
|
dropdownShow: "always" | "focus";
|
|
395
423
|
showModelValue: boolean;
|
|
396
424
|
focusOnMount: boolean;
|
|
@@ -419,6 +447,8 @@ declare const autocompleteFetch: import("vue").Ref<({
|
|
|
419
447
|
readonly name?: string | undefined;
|
|
420
448
|
readonly modelValue?: RawOption | null | undefined;
|
|
421
449
|
readonly placeholder?: string | undefined;
|
|
450
|
+
readonly optionColor?: ((option: RawOption) => string) | undefined;
|
|
451
|
+
readonly optionIcon?: ((option: RawOption) => string) | undefined;
|
|
422
452
|
readonly emptyOptionLabel?: string | undefined;
|
|
423
453
|
readonly twInput?: string | string[] | undefined;
|
|
424
454
|
readonly onFocus?: ((...args: any[]) => any) | undefined;
|
|
@@ -426,7 +456,7 @@ declare const autocompleteFetch: import("vue").Ref<({
|
|
|
426
456
|
readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
427
457
|
readonly onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
428
458
|
readonly onTyping?: ((...args: any[]) => any) | undefined;
|
|
429
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "select" | "size" | "required" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "queryKey">;
|
|
459
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "select" | "size" | "required" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "optionColor" | "optionIcon" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "queryKey">;
|
|
430
460
|
$attrs: {
|
|
431
461
|
[x: string]: unknown;
|
|
432
462
|
};
|
|
@@ -522,6 +552,14 @@ declare const autocompleteFetch: import("vue").Ref<({
|
|
|
522
552
|
default: undefined;
|
|
523
553
|
type: import("vue").PropType<SelectConfiguration | undefined>;
|
|
524
554
|
};
|
|
555
|
+
optionColor: {
|
|
556
|
+
default: undefined;
|
|
557
|
+
type: import("vue").PropType<(option: RawOption) => string>;
|
|
558
|
+
};
|
|
559
|
+
optionIcon: {
|
|
560
|
+
default: undefined;
|
|
561
|
+
type: import("vue").PropType<(option: RawOption) => string>;
|
|
562
|
+
};
|
|
525
563
|
twInput: {
|
|
526
564
|
default: undefined;
|
|
527
565
|
type: import("vue").PropType<string | string[]>;
|
|
@@ -555,6 +593,8 @@ declare const autocompleteFetch: import("vue").Ref<({
|
|
|
555
593
|
placeholder: string;
|
|
556
594
|
hasError: boolean;
|
|
557
595
|
visibleFocus: boolean;
|
|
596
|
+
optionColor: (option: RawOption) => string;
|
|
597
|
+
optionIcon: (option: RawOption) => string;
|
|
558
598
|
dropdownShow: "always" | "focus";
|
|
559
599
|
showModelValue: boolean;
|
|
560
600
|
focusOnMount: boolean;
|
|
@@ -594,6 +634,8 @@ declare const autocompleteFetch: import("vue").Ref<({
|
|
|
594
634
|
placeholder: string;
|
|
595
635
|
hasError: boolean;
|
|
596
636
|
visibleFocus: boolean;
|
|
637
|
+
optionColor: (option: RawOption) => string;
|
|
638
|
+
optionIcon: (option: RawOption) => string;
|
|
597
639
|
dropdownShow: "always" | "focus";
|
|
598
640
|
showModelValue: boolean;
|
|
599
641
|
focusOnMount: boolean;
|
|
@@ -683,6 +725,14 @@ declare const autocompleteFetch: import("vue").Ref<({
|
|
|
683
725
|
default: undefined;
|
|
684
726
|
type: import("vue").PropType<SelectConfiguration | undefined>;
|
|
685
727
|
};
|
|
728
|
+
optionColor: {
|
|
729
|
+
default: undefined;
|
|
730
|
+
type: import("vue").PropType<(option: RawOption) => string>;
|
|
731
|
+
};
|
|
732
|
+
optionIcon: {
|
|
733
|
+
default: undefined;
|
|
734
|
+
type: import("vue").PropType<(option: RawOption) => string>;
|
|
735
|
+
};
|
|
686
736
|
twInput: {
|
|
687
737
|
default: undefined;
|
|
688
738
|
type: import("vue").PropType<string | string[]>;
|
|
@@ -693,7 +743,7 @@ declare const autocompleteFetch: import("vue").Ref<({
|
|
|
693
743
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
694
744
|
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
695
745
|
onTyping?: ((...args: any[]) => any) | undefined;
|
|
696
|
-
}>, "blur" | "close" | "focus" | "open" | "setKeywords" | ("select" | "size" | "required" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "queryKey")> & import("vue").ShallowUnwrapRef<{
|
|
746
|
+
}>, "blur" | "close" | "focus" | "open" | "setKeywords" | ("select" | "size" | "required" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "optionColor" | "optionIcon" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "queryKey")> & import("vue").ShallowUnwrapRef<{
|
|
697
747
|
focus: () => void | undefined;
|
|
698
748
|
blur: () => void | undefined;
|
|
699
749
|
open: () => void | undefined;
|
|
@@ -788,6 +838,8 @@ declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
|
788
838
|
hasError: boolean;
|
|
789
839
|
visibleFocus: boolean;
|
|
790
840
|
primaryKey: string;
|
|
841
|
+
optionColor: (option: RawOption) => string;
|
|
842
|
+
optionIcon: (option: RawOption) => string;
|
|
791
843
|
dropdownShow: "focus" | "always";
|
|
792
844
|
showModelValue: boolean;
|
|
793
845
|
focusOnMount: boolean;
|
|
@@ -819,6 +871,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
819
871
|
hasError: boolean;
|
|
820
872
|
visibleFocus: boolean;
|
|
821
873
|
primaryKey: string;
|
|
874
|
+
optionColor: (option: RawOption) => string;
|
|
875
|
+
optionIcon: (option: RawOption) => string;
|
|
822
876
|
dropdownShow: "focus" | "always";
|
|
823
877
|
showModelValue: boolean;
|
|
824
878
|
focusOnMount: boolean;
|
|
@@ -551,6 +551,14 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
551
551
|
default: boolean;
|
|
552
552
|
type: BooleanConstructor;
|
|
553
553
|
};
|
|
554
|
+
optionColor: {
|
|
555
|
+
default: undefined;
|
|
556
|
+
type: PropType<(option: RawOption) => string>;
|
|
557
|
+
};
|
|
558
|
+
optionIcon: {
|
|
559
|
+
default: undefined;
|
|
560
|
+
type: PropType<(option: RawOption) => string>;
|
|
561
|
+
};
|
|
554
562
|
}>, {
|
|
555
563
|
BaseTagAutocomplete: typeof BaseTagAutocomplete;
|
|
556
564
|
tagAutocompleteFetch: typeof tagAutocompleteFetch;
|
|
@@ -603,6 +611,14 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
603
611
|
default: boolean;
|
|
604
612
|
type: BooleanConstructor;
|
|
605
613
|
};
|
|
614
|
+
optionColor: {
|
|
615
|
+
default: undefined;
|
|
616
|
+
type: PropType<(option: RawOption) => string>;
|
|
617
|
+
};
|
|
618
|
+
optionIcon: {
|
|
619
|
+
default: undefined;
|
|
620
|
+
type: PropType<(option: RawOption) => string>;
|
|
621
|
+
};
|
|
606
622
|
}>> & Readonly<{
|
|
607
623
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
608
624
|
}>, {
|
|
@@ -615,6 +631,8 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
615
631
|
hasError: boolean;
|
|
616
632
|
max: number;
|
|
617
633
|
primaryKey: string;
|
|
634
|
+
optionColor: (option: RawOption) => string;
|
|
635
|
+
optionIcon: (option: RawOption) => string;
|
|
618
636
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
619
637
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
620
638
|
modelValue: {
|
|
@@ -661,6 +679,14 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
661
679
|
default: boolean;
|
|
662
680
|
type: BooleanConstructor;
|
|
663
681
|
};
|
|
682
|
+
optionColor: {
|
|
683
|
+
default: undefined;
|
|
684
|
+
type: PropType<(option: RawOption) => string>;
|
|
685
|
+
};
|
|
686
|
+
optionIcon: {
|
|
687
|
+
default: undefined;
|
|
688
|
+
type: PropType<(option: RawOption) => string>;
|
|
689
|
+
};
|
|
664
690
|
}>, {
|
|
665
691
|
focus: () => void | undefined;
|
|
666
692
|
blur: () => void | undefined;
|
|
@@ -714,6 +740,14 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
714
740
|
default: boolean;
|
|
715
741
|
type: BooleanConstructor;
|
|
716
742
|
};
|
|
743
|
+
optionColor: {
|
|
744
|
+
default: undefined;
|
|
745
|
+
type: PropType<(option: RawOption) => string>;
|
|
746
|
+
};
|
|
747
|
+
optionIcon: {
|
|
748
|
+
default: undefined;
|
|
749
|
+
type: PropType<(option: RawOption) => string>;
|
|
750
|
+
};
|
|
717
751
|
}>> & Readonly<{
|
|
718
752
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
719
753
|
}>, {
|
|
@@ -726,6 +760,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
726
760
|
hasError: boolean;
|
|
727
761
|
max: number;
|
|
728
762
|
primaryKey: string;
|
|
763
|
+
optionColor: (option: RawOption) => string;
|
|
764
|
+
optionIcon: (option: RawOption) => string;
|
|
729
765
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
730
766
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
731
767
|
export default _default;
|