bitboss-ui 1.0.59 → 1.0.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +33 -33
- package/dist/components/BaseDatePicker/BaseDatePicker.vue.d.ts +1 -1
- package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +23 -9
- package/dist/components/BaseDialog/BaseDialog.vue.d.ts +3 -3
- package/dist/components/BaseInputContainer/BaseInputContainer.vue.d.ts +1 -1
- package/dist/components/BaseNumberInput/BaseNumberInput.vue.d.ts +1 -1
- package/dist/components/BaseRadioGroup/BaseRadioGroup.vue.d.ts +33 -33
- package/dist/components/BaseSelect/BaseSelect.vue.d.ts +88 -74
- package/dist/components/BaseSlider/BaseSlider.vue.d.ts +1 -1
- package/dist/components/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +33 -33
- package/dist/components/BaseTag/BaseTag.vue.d.ts +14 -0
- package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +14 -0
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +39 -39
- package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +7 -0
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +20 -14
- package/dist/components/BbDialog/BbDialog.vue.d.ts +2 -2
- package/dist/components/BbDropdown/BbDropdown.vue.d.ts +3 -3
- package/dist/components/BbDropzone/BbDropzone.vue.d.ts +1 -1
- package/dist/components/BbIntersection/BbIntersection.vue.d.ts +2 -2
- package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +1 -1
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +4 -4
- package/dist/components/BbPopover/BbPopover.vue.d.ts +3 -3
- package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +39 -39
- package/dist/components/BbRatio/BbRatio.vue.d.ts +1 -1
- package/dist/components/BbSelect/BbSelect.vue.d.ts +74 -51
- package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +2 -2
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +39 -39
- package/dist/components/BbTab/BbTab.vue.d.ts +5 -5
- package/dist/components/BbTable/BbTable.vue.d.ts +3 -3
- package/dist/components/BbTag/BbTag.vue.d.ts +14 -0
- package/dist/components/BbTextarea/BbTextarea.vue.d.ts +13 -1
- package/dist/components/BbTooltip/BbTooltip.vue.d.ts +2 -2
- package/dist/components/CommonInputInnerContainer.vue.d.ts +32 -0
- package/dist/components/CommonInputOuterContainer.vue.d.ts +11 -0
- package/dist/index105.js +4 -4
- package/dist/index107.js +43 -31
- package/dist/index107.js.map +1 -1
- package/dist/index109.js +28 -16
- package/dist/index109.js.map +1 -1
- package/dist/index113.js +1 -1
- package/dist/index115.js +2 -2
- package/dist/index117.js +1 -1
- package/dist/index12.js +1 -1
- package/dist/index120.js +29 -22
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +1 -1
- package/dist/index122.js +2 -2
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +1 -1
- package/dist/index128.js +1 -1
- package/dist/index14.js +3 -3
- package/dist/index16.js +1 -1
- package/dist/index18.js +7 -6
- package/dist/index18.js.map +1 -1
- package/dist/index199.js +4 -4
- package/dist/index20.js +212 -163
- package/dist/index20.js.map +1 -1
- package/dist/index200.js +2 -2
- package/dist/index201.js +2 -2
- package/dist/index202.js +3 -3
- package/dist/index205.js +1 -1
- package/dist/index208.js +42 -369
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +1 -429
- package/dist/index209.js.map +1 -1
- package/dist/index210.js +13 -2
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +369 -4
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +427 -2
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +14 -172
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +10 -10
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +17 -13
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +24 -15
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +8 -29
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +2 -8
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +4 -5
- package/dist/index219.js.map +1 -1
- package/dist/index22.js +18 -14
- package/dist/index22.js.map +1 -1
- package/dist/index220.js +2 -3
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +174 -3
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +3 -26
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +3 -3
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +5 -7
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +3 -224
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +7 -2
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +2 -18
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +10 -12
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +3 -2
- package/dist/index229.js.map +1 -1
- package/dist/index230.js +223 -9
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +2 -3
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +17 -8
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +12 -23
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +3 -3
- package/dist/index236.js +1 -1
- package/dist/index237.js +9 -295
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +23 -6
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +295 -2
- package/dist/index239.js.map +1 -1
- package/dist/index24.js +55 -47
- package/dist/index24.js.map +1 -1
- package/dist/index240.js +6 -2
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +2 -2
- package/dist/index242.js +2 -106
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +2 -435
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +106 -4
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +424 -189
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +3 -118
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +1 -4
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +7 -2
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +4 -2
- package/dist/index249.js.map +1 -1
- package/dist/index251.js +2 -69
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +2 -2
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +2 -5
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +112 -218
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +200 -258
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +226 -1
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +258 -7
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +2 -89
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +67 -233
- package/dist/index259.js.map +1 -1
- package/dist/index26.js +99 -93
- package/dist/index26.js.map +1 -1
- package/dist/index260.js +5 -15
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +89 -4
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +235 -4
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +14 -60
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +4 -2
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +4 -2
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +64 -0
- package/dist/index266.js.map +1 -0
- package/dist/index267.js +38 -0
- package/dist/index267.js.map +1 -0
- package/dist/index268.js +5 -0
- package/dist/index268.js.map +1 -0
- package/dist/index269.js +5 -0
- package/dist/index269.js.map +1 -0
- package/dist/index270.js +2 -0
- package/dist/index270.js.map +1 -0
- package/dist/index28.js +2 -2
- package/dist/index30.js +1 -1
- package/dist/index32.js +2 -2
- package/dist/index34.js +359 -344
- package/dist/index34.js.map +1 -1
- package/dist/index36.js +3 -3
- package/dist/index38.js +2 -2
- package/dist/index40.js +1 -1
- package/dist/index42.js +134 -98
- package/dist/index42.js.map +1 -1
- package/dist/index44.js +94 -57
- package/dist/index44.js.map +1 -1
- package/dist/index46.js +64 -61
- package/dist/index46.js.map +1 -1
- package/dist/index48.js +12 -11
- package/dist/index48.js.map +1 -1
- package/dist/index52.js +1 -1
- package/dist/index54.js +1 -1
- package/dist/index58.js +2 -2
- package/dist/index66.js +19 -13
- package/dist/index66.js.map +1 -1
- package/dist/index70.js +4 -4
- package/dist/index76.js +1 -1
- package/dist/index79.js +1 -1
- package/dist/index83.js +2 -2
- package/dist/index95.js +38 -26
- package/dist/index95.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -117,29 +117,29 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
117
117
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
118
118
|
onMousedown?: ((event: MouseEvent) => any) | undefined;
|
|
119
119
|
onMouseup?: ((event: MouseEvent) => any) | undefined;
|
|
120
|
-
disabled?: boolean | undefined;
|
|
121
|
-
name?: string | undefined;
|
|
122
120
|
autofocus?: (boolean | "true" | "false") | undefined;
|
|
123
121
|
id?: string | undefined;
|
|
122
|
+
name?: string | undefined;
|
|
124
123
|
readonly?: (boolean | "true" | "false") | undefined;
|
|
125
|
-
|
|
124
|
+
disabled?: boolean | undefined;
|
|
126
125
|
color?: string | undefined;
|
|
127
|
-
hasErrors?: boolean | undefined;
|
|
128
|
-
modelValue: any[];
|
|
129
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
130
|
-
matchStrategy?: "string" | "equality" | undefined;
|
|
131
126
|
dependencies?: any[] | undefined;
|
|
132
127
|
depsDebounceTime?: number | undefined;
|
|
128
|
+
direction?: "horizontal" | "vertical" | undefined;
|
|
133
129
|
enforceCoherence?: boolean | undefined;
|
|
130
|
+
hasErrors?: boolean | undefined;
|
|
131
|
+
hideLabel?: boolean | undefined;
|
|
134
132
|
itemText?: (T extends object ? NestedKeyOf<T> | ((item: T) => string) : ((item: T) => string) | undefined) | undefined;
|
|
135
133
|
itemValue?: (T extends object ? NestedKeyOf<T> | ((item: T) => string) : ((item: T) => any) | undefined) | undefined;
|
|
134
|
+
loadingText?: string | undefined;
|
|
135
|
+
matchStrategy?: "string" | "equality" | undefined;
|
|
136
136
|
modelValueDebounceTime?: number | undefined;
|
|
137
|
+
noDataText?: string | undefined;
|
|
138
|
+
modelValue: any[];
|
|
139
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
140
|
+
ariaDescribedby?: string | undefined;
|
|
137
141
|
onInactive?: (() => any) | undefined;
|
|
138
|
-
direction?: "horizontal" | "vertical" | undefined;
|
|
139
|
-
hideLabel?: boolean | undefined;
|
|
140
142
|
items: T[] | ((prefill: boolean, modelValue?: any[] | undefined) => Promise<T[]>) | ((prefill: boolean, modelValue?: any[] | undefined) => T[]);
|
|
141
|
-
loadingText?: string | undefined;
|
|
142
|
-
noDataText?: string | undefined;
|
|
143
143
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
144
144
|
attrs: any;
|
|
145
145
|
slots: Readonly<{
|
|
@@ -210,29 +210,29 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
210
210
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
211
211
|
onMousedown?: ((event: MouseEvent) => any) | undefined;
|
|
212
212
|
onMouseup?: ((event: MouseEvent) => any) | undefined;
|
|
213
|
-
disabled?: boolean | undefined;
|
|
214
|
-
name?: string | undefined;
|
|
215
213
|
autofocus?: (boolean | "true" | "false") | undefined;
|
|
216
214
|
id?: string | undefined;
|
|
215
|
+
name?: string | undefined;
|
|
217
216
|
readonly?: (boolean | "true" | "false") | undefined;
|
|
218
|
-
|
|
217
|
+
disabled?: boolean | undefined;
|
|
219
218
|
color?: string | undefined;
|
|
220
|
-
hasErrors?: boolean | undefined;
|
|
221
|
-
modelValue: any[];
|
|
222
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
223
|
-
matchStrategy?: "string" | "equality" | undefined;
|
|
224
219
|
dependencies?: any[] | undefined;
|
|
225
220
|
depsDebounceTime?: number | undefined;
|
|
221
|
+
direction?: "horizontal" | "vertical" | undefined;
|
|
226
222
|
enforceCoherence?: boolean | undefined;
|
|
223
|
+
hasErrors?: boolean | undefined;
|
|
224
|
+
hideLabel?: boolean | undefined;
|
|
227
225
|
itemText?: (T extends object ? NestedKeyOf<T> | ((item: T) => string) : ((item: T) => string) | undefined) | undefined;
|
|
228
226
|
itemValue?: (T extends object ? NestedKeyOf<T> | ((item: T) => string) : ((item: T) => any) | undefined) | undefined;
|
|
227
|
+
loadingText?: string | undefined;
|
|
228
|
+
matchStrategy?: "string" | "equality" | undefined;
|
|
229
229
|
modelValueDebounceTime?: number | undefined;
|
|
230
|
+
noDataText?: string | undefined;
|
|
231
|
+
modelValue: any[];
|
|
232
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
233
|
+
ariaDescribedby?: string | undefined;
|
|
230
234
|
onInactive?: (() => any) | undefined;
|
|
231
|
-
direction?: "horizontal" | "vertical" | undefined;
|
|
232
|
-
hideLabel?: boolean | undefined;
|
|
233
235
|
items: T[] | ((prefill: boolean, modelValue?: any[] | undefined) => Promise<T[]>) | ((prefill: boolean, modelValue?: any[] | undefined) => T[]);
|
|
234
|
-
loadingText?: string | undefined;
|
|
235
|
-
noDataText?: string | undefined;
|
|
236
236
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
237
237
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
238
238
|
attrs: any;
|
|
@@ -307,29 +307,29 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
307
307
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
308
308
|
onMousedown?: ((event: MouseEvent) => any) | undefined;
|
|
309
309
|
onMouseup?: ((event: MouseEvent) => any) | undefined;
|
|
310
|
-
disabled?: boolean | undefined;
|
|
311
|
-
name?: string | undefined;
|
|
312
310
|
autofocus?: (boolean | "true" | "false") | undefined;
|
|
313
311
|
id?: string | undefined;
|
|
312
|
+
name?: string | undefined;
|
|
314
313
|
readonly?: (boolean | "true" | "false") | undefined;
|
|
315
|
-
|
|
314
|
+
disabled?: boolean | undefined;
|
|
316
315
|
color?: string | undefined;
|
|
317
|
-
hasErrors?: boolean | undefined;
|
|
318
|
-
modelValue: any[];
|
|
319
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
320
|
-
matchStrategy?: "string" | "equality" | undefined;
|
|
321
316
|
dependencies?: any[] | undefined;
|
|
322
317
|
depsDebounceTime?: number | undefined;
|
|
318
|
+
direction?: "horizontal" | "vertical" | undefined;
|
|
323
319
|
enforceCoherence?: boolean | undefined;
|
|
320
|
+
hasErrors?: boolean | undefined;
|
|
321
|
+
hideLabel?: boolean | undefined;
|
|
324
322
|
itemText?: (T extends object ? NestedKeyOf<T> | ((item: T) => string) : ((item: T) => string) | undefined) | undefined;
|
|
325
323
|
itemValue?: (T extends object ? NestedKeyOf<T> | ((item: T) => string) : ((item: T) => any) | undefined) | undefined;
|
|
324
|
+
loadingText?: string | undefined;
|
|
325
|
+
matchStrategy?: "string" | "equality" | undefined;
|
|
326
326
|
modelValueDebounceTime?: number | undefined;
|
|
327
|
+
noDataText?: string | undefined;
|
|
328
|
+
modelValue: any[];
|
|
329
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
330
|
+
ariaDescribedby?: string | undefined;
|
|
327
331
|
onInactive?: (() => any) | undefined;
|
|
328
|
-
direction?: "horizontal" | "vertical" | undefined;
|
|
329
|
-
hideLabel?: boolean | undefined;
|
|
330
332
|
items: T[] | ((prefill: boolean, modelValue?: any[] | undefined) => Promise<T[]>) | ((prefill: boolean, modelValue?: any[] | undefined) => T[]);
|
|
331
|
-
loadingText?: string | undefined;
|
|
332
|
-
noDataText?: string | undefined;
|
|
333
333
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
334
334
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
335
335
|
attrs: any;
|
|
@@ -97,8 +97,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
97
97
|
}>>> & {
|
|
98
98
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
99
99
|
}, {
|
|
100
|
-
firstDayOfWeek: number;
|
|
101
100
|
width: string | number;
|
|
101
|
+
firstDayOfWeek: number;
|
|
102
102
|
}, {}>, Readonly<{
|
|
103
103
|
day?: ((props: {
|
|
104
104
|
first: boolean;
|
|
@@ -6,6 +6,10 @@ export type BaseDatePickerInputProps = {
|
|
|
6
6
|
* Allows typing into the input.
|
|
7
7
|
*/
|
|
8
8
|
allowWriting?: boolean | 'not-mobile';
|
|
9
|
+
/**
|
|
10
|
+
* Name of the icon to be added at the end of the input.
|
|
11
|
+
*/
|
|
12
|
+
'append:icon'?: string;
|
|
9
13
|
/**
|
|
10
14
|
* Guides to the browser as to the type of information expected in the field.
|
|
11
15
|
*/
|
|
@@ -31,6 +35,10 @@ export type BaseDatePickerInputProps = {
|
|
|
31
35
|
* The identifier of the component.
|
|
32
36
|
*/
|
|
33
37
|
id?: HTMLAttributes['id'];
|
|
38
|
+
/**
|
|
39
|
+
* Sets the component in a loading state, usually triggering some visual styles.
|
|
40
|
+
*/
|
|
41
|
+
loading?: boolean;
|
|
34
42
|
/**
|
|
35
43
|
* Maximum selectable date
|
|
36
44
|
*/
|
|
@@ -51,6 +59,10 @@ export type BaseDatePickerInputProps = {
|
|
|
51
59
|
* String displayed when there's no data.
|
|
52
60
|
*/
|
|
53
61
|
placeholder?: InputHTMLAttributes['placeholder'];
|
|
62
|
+
/**
|
|
63
|
+
* Name of the icon to be added at the start of the input.
|
|
64
|
+
*/
|
|
65
|
+
'prepend:icon'?: string;
|
|
54
66
|
/**
|
|
55
67
|
* Selects a range of dates between two dates. It selects all of the days between start and end
|
|
56
68
|
*/
|
|
@@ -98,26 +110,27 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
98
110
|
onActive?: (() => any) | undefined;
|
|
99
111
|
}, {
|
|
100
112
|
autocomplete: string;
|
|
101
|
-
width: string | number;
|
|
102
113
|
allowWriting: boolean | "not-mobile";
|
|
114
|
+
width: string | number;
|
|
103
115
|
}, {}>, Readonly<{
|
|
104
116
|
'prepend-outer'?: ((props: object) => any) | undefined;
|
|
105
117
|
prepend?: ((props: object) => any) | undefined;
|
|
118
|
+
prefix?: ((props: object) => any) | undefined;
|
|
106
119
|
append?: ((props: object) => any) | undefined;
|
|
107
120
|
'append-outer'?: ((props: object) => any) | undefined;
|
|
121
|
+
suffix?: ((props: object) => any) | undefined;
|
|
108
122
|
} & {
|
|
109
123
|
day?: ((props: {
|
|
110
124
|
first: boolean;
|
|
111
|
-
/**
|
|
112
|
-
* Sets the input in a readonly state.
|
|
113
|
-
*/
|
|
114
125
|
highlighted: boolean;
|
|
115
126
|
item: Dayjs;
|
|
116
127
|
label: string;
|
|
117
128
|
last: boolean;
|
|
118
129
|
middle: boolean;
|
|
119
130
|
selected: boolean;
|
|
120
|
-
}) => any) | undefined;
|
|
131
|
+
}) => any) | undefined; /**
|
|
132
|
+
* String displayed when there's no data.
|
|
133
|
+
*/
|
|
121
134
|
} & {
|
|
122
135
|
[key: string]: (props: {
|
|
123
136
|
first: boolean;
|
|
@@ -131,21 +144,22 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
131
144
|
}> & {
|
|
132
145
|
'prepend-outer'?: ((props: object) => any) | undefined;
|
|
133
146
|
prepend?: ((props: object) => any) | undefined;
|
|
147
|
+
prefix?: ((props: object) => any) | undefined;
|
|
134
148
|
append?: ((props: object) => any) | undefined;
|
|
135
149
|
'append-outer'?: ((props: object) => any) | undefined;
|
|
150
|
+
suffix?: ((props: object) => any) | undefined;
|
|
136
151
|
} & {
|
|
137
152
|
day?: ((props: {
|
|
138
153
|
first: boolean;
|
|
139
|
-
/**
|
|
140
|
-
* Sets the input in a readonly state.
|
|
141
|
-
*/
|
|
142
154
|
highlighted: boolean;
|
|
143
155
|
item: Dayjs;
|
|
144
156
|
label: string;
|
|
145
157
|
last: boolean;
|
|
146
158
|
middle: boolean;
|
|
147
159
|
selected: boolean;
|
|
148
|
-
}) => any) | undefined;
|
|
160
|
+
}) => any) | undefined; /**
|
|
161
|
+
* String displayed when there's no data.
|
|
162
|
+
*/
|
|
149
163
|
} & {
|
|
150
164
|
[key: string]: (props: {
|
|
151
165
|
first: boolean;
|
|
@@ -74,18 +74,18 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
74
74
|
panelClasses: () => never[];
|
|
75
75
|
overlayClasses: () => never[];
|
|
76
76
|
}>>> & {
|
|
77
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
78
|
-
onHidden?: (() => any) | undefined;
|
|
79
77
|
onShown?: (() => any) | undefined;
|
|
78
|
+
onHidden?: (() => any) | undefined;
|
|
79
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
80
80
|
}, {
|
|
81
81
|
size: number | ({
|
|
82
82
|
size?: any;
|
|
83
83
|
} & string) | keyof Sizes;
|
|
84
|
-
transition: string;
|
|
85
84
|
closeLabel: string;
|
|
86
85
|
panelClasses: import("../../types/Classes").Classes;
|
|
87
86
|
overlayClasses: import("../../types/Classes").Classes;
|
|
88
87
|
showClose: boolean;
|
|
88
|
+
transition: string;
|
|
89
89
|
transitionDuration: number;
|
|
90
90
|
}, {}>, Readonly<BaseDialogSlots> & BaseDialogSlots>;
|
|
91
91
|
export default _default;
|
|
@@ -94,10 +94,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
94
94
|
tag: string;
|
|
95
95
|
}>>>, {
|
|
96
96
|
reverse: boolean;
|
|
97
|
-
tag: string;
|
|
98
97
|
direction: string;
|
|
99
98
|
inputPosition: "left" | "center" | "right";
|
|
100
99
|
labelPosition: "left" | "center" | "right";
|
|
100
|
+
tag: string;
|
|
101
101
|
labelTag: string;
|
|
102
102
|
}, {}>, Readonly<BaseInputContainerSlots> & BaseInputContainerSlots>;
|
|
103
103
|
export default _default;
|
|
@@ -132,8 +132,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
132
132
|
onMousedown?: ((event: MouseEvent) => any) | undefined;
|
|
133
133
|
onMouseup?: ((event: MouseEvent) => any) | undefined;
|
|
134
134
|
"onUpdate:modelValue"?: ((value: number | null) => any) | undefined;
|
|
135
|
-
onIncrease?: ((value: number) => any) | undefined;
|
|
136
135
|
onDecrease?: ((value: number) => any) | undefined;
|
|
136
|
+
onIncrease?: ((value: number) => any) | undefined;
|
|
137
137
|
}, {
|
|
138
138
|
step: number;
|
|
139
139
|
}, {}>, Readonly<BaseNumberInputSlots> & BaseNumberInputSlots>;
|
|
@@ -117,29 +117,29 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
117
117
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
118
118
|
onMousedown?: ((event: MouseEvent) => any) | undefined;
|
|
119
119
|
onMouseup?: ((event: MouseEvent) => any) | undefined;
|
|
120
|
-
disabled?: boolean | undefined;
|
|
121
|
-
name: string | undefined;
|
|
122
120
|
autofocus?: (boolean | "true" | "false") | undefined;
|
|
123
121
|
id?: string | undefined;
|
|
122
|
+
name: string | undefined;
|
|
124
123
|
readonly?: (boolean | "true" | "false") | undefined;
|
|
125
|
-
|
|
124
|
+
disabled?: boolean | undefined;
|
|
126
125
|
color?: string | undefined;
|
|
127
|
-
hasErrors?: boolean | undefined;
|
|
128
|
-
modelValue: any;
|
|
129
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
130
|
-
matchStrategy?: "string" | "equality" | undefined;
|
|
131
126
|
dependencies?: any[] | undefined;
|
|
132
127
|
depsDebounceTime?: number | undefined;
|
|
128
|
+
direction?: "horizontal" | "vertical" | undefined;
|
|
133
129
|
enforceCoherence?: boolean | undefined;
|
|
130
|
+
hasErrors?: boolean | undefined;
|
|
131
|
+
hideLabel?: boolean | undefined;
|
|
134
132
|
itemText?: (T extends object ? NestedKeyOf<T> | ((item: T) => string) : ((item: T) => string) | undefined) | undefined;
|
|
135
133
|
itemValue?: (T extends object ? NestedKeyOf<T> | ((item: T) => string) : ((item: T) => any) | undefined) | undefined;
|
|
134
|
+
loadingText?: string | undefined;
|
|
135
|
+
matchStrategy?: "string" | "equality" | undefined;
|
|
136
136
|
modelValueDebounceTime?: number | undefined;
|
|
137
|
+
noDataText?: string | undefined;
|
|
138
|
+
modelValue: any;
|
|
139
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
140
|
+
ariaDescribedby?: string | undefined;
|
|
137
141
|
onInactive?: (() => any) | undefined;
|
|
138
|
-
direction?: "horizontal" | "vertical" | undefined;
|
|
139
|
-
hideLabel?: boolean | undefined;
|
|
140
142
|
items: T[] | ((prefill: boolean, modelValue?: any[] | undefined) => Promise<T[]>) | ((prefill: boolean, modelValue?: any[] | undefined) => T[]);
|
|
141
|
-
loadingText?: string | undefined;
|
|
142
|
-
noDataText?: string | undefined;
|
|
143
143
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
144
144
|
attrs: any;
|
|
145
145
|
slots: Readonly<{
|
|
@@ -210,29 +210,29 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
210
210
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
211
211
|
onMousedown?: ((event: MouseEvent) => any) | undefined;
|
|
212
212
|
onMouseup?: ((event: MouseEvent) => any) | undefined;
|
|
213
|
-
disabled?: boolean | undefined;
|
|
214
|
-
name: string | undefined;
|
|
215
213
|
autofocus?: (boolean | "true" | "false") | undefined;
|
|
216
214
|
id?: string | undefined;
|
|
215
|
+
name: string | undefined;
|
|
217
216
|
readonly?: (boolean | "true" | "false") | undefined;
|
|
218
|
-
|
|
217
|
+
disabled?: boolean | undefined;
|
|
219
218
|
color?: string | undefined;
|
|
220
|
-
hasErrors?: boolean | undefined;
|
|
221
|
-
modelValue: any;
|
|
222
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
223
|
-
matchStrategy?: "string" | "equality" | undefined;
|
|
224
219
|
dependencies?: any[] | undefined;
|
|
225
220
|
depsDebounceTime?: number | undefined;
|
|
221
|
+
direction?: "horizontal" | "vertical" | undefined;
|
|
226
222
|
enforceCoherence?: boolean | undefined;
|
|
223
|
+
hasErrors?: boolean | undefined;
|
|
224
|
+
hideLabel?: boolean | undefined;
|
|
227
225
|
itemText?: (T extends object ? NestedKeyOf<T> | ((item: T) => string) : ((item: T) => string) | undefined) | undefined;
|
|
228
226
|
itemValue?: (T extends object ? NestedKeyOf<T> | ((item: T) => string) : ((item: T) => any) | undefined) | undefined;
|
|
227
|
+
loadingText?: string | undefined;
|
|
228
|
+
matchStrategy?: "string" | "equality" | undefined;
|
|
229
229
|
modelValueDebounceTime?: number | undefined;
|
|
230
|
+
noDataText?: string | undefined;
|
|
231
|
+
modelValue: any;
|
|
232
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
233
|
+
ariaDescribedby?: string | undefined;
|
|
230
234
|
onInactive?: (() => any) | undefined;
|
|
231
|
-
direction?: "horizontal" | "vertical" | undefined;
|
|
232
|
-
hideLabel?: boolean | undefined;
|
|
233
235
|
items: T[] | ((prefill: boolean, modelValue?: any[] | undefined) => Promise<T[]>) | ((prefill: boolean, modelValue?: any[] | undefined) => T[]);
|
|
234
|
-
loadingText?: string | undefined;
|
|
235
|
-
noDataText?: string | undefined;
|
|
236
236
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
237
237
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
238
238
|
attrs: any;
|
|
@@ -307,29 +307,29 @@ declare const _default: <T = any>(__VLS_props: {
|
|
|
307
307
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
308
308
|
onMousedown?: ((event: MouseEvent) => any) | undefined;
|
|
309
309
|
onMouseup?: ((event: MouseEvent) => any) | undefined;
|
|
310
|
-
disabled?: boolean | undefined;
|
|
311
|
-
name: string | undefined;
|
|
312
310
|
autofocus?: (boolean | "true" | "false") | undefined;
|
|
313
311
|
id?: string | undefined;
|
|
312
|
+
name: string | undefined;
|
|
314
313
|
readonly?: (boolean | "true" | "false") | undefined;
|
|
315
|
-
|
|
314
|
+
disabled?: boolean | undefined;
|
|
316
315
|
color?: string | undefined;
|
|
317
|
-
hasErrors?: boolean | undefined;
|
|
318
|
-
modelValue: any;
|
|
319
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
320
|
-
matchStrategy?: "string" | "equality" | undefined;
|
|
321
316
|
dependencies?: any[] | undefined;
|
|
322
317
|
depsDebounceTime?: number | undefined;
|
|
318
|
+
direction?: "horizontal" | "vertical" | undefined;
|
|
323
319
|
enforceCoherence?: boolean | undefined;
|
|
320
|
+
hasErrors?: boolean | undefined;
|
|
321
|
+
hideLabel?: boolean | undefined;
|
|
324
322
|
itemText?: (T extends object ? NestedKeyOf<T> | ((item: T) => string) : ((item: T) => string) | undefined) | undefined;
|
|
325
323
|
itemValue?: (T extends object ? NestedKeyOf<T> | ((item: T) => string) : ((item: T) => any) | undefined) | undefined;
|
|
324
|
+
loadingText?: string | undefined;
|
|
325
|
+
matchStrategy?: "string" | "equality" | undefined;
|
|
326
326
|
modelValueDebounceTime?: number | undefined;
|
|
327
|
+
noDataText?: string | undefined;
|
|
328
|
+
modelValue: any;
|
|
329
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
330
|
+
ariaDescribedby?: string | undefined;
|
|
327
331
|
onInactive?: (() => any) | undefined;
|
|
328
|
-
direction?: "horizontal" | "vertical" | undefined;
|
|
329
|
-
hideLabel?: boolean | undefined;
|
|
330
332
|
items: T[] | ((prefill: boolean, modelValue?: any[] | undefined) => Promise<T[]>) | ((prefill: boolean, modelValue?: any[] | undefined) => T[]);
|
|
331
|
-
loadingText?: string | undefined;
|
|
332
|
-
noDataText?: string | undefined;
|
|
333
333
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
334
334
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
335
335
|
attrs: any;
|
|
@@ -1,9 +1,20 @@
|
|
|
1
1
|
import type { HTMLAttributes, InputHTMLAttributes } from 'vue';
|
|
2
2
|
export type BaseSelectProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Allows the user to add options to the list by
|
|
5
|
+
* inserting text in the input and pressing ENTER.
|
|
6
|
+
* The value and text of the option generated is a
|
|
7
|
+
* string equal to what has been inserted.
|
|
8
|
+
*/
|
|
9
|
+
addOptions?: boolean;
|
|
3
10
|
/**
|
|
4
11
|
* Allows typing into the input.
|
|
5
12
|
*/
|
|
6
13
|
allowWriting?: boolean | 'not-mobile';
|
|
14
|
+
/**
|
|
15
|
+
* Name of the icon to be added at the end of the input.
|
|
16
|
+
*/
|
|
17
|
+
'append:icon'?: string;
|
|
7
18
|
/**
|
|
8
19
|
* Guides to the browser as to the type of information expected in the field.
|
|
9
20
|
*/
|
|
@@ -16,6 +27,12 @@ export type BaseSelectProps = {
|
|
|
16
27
|
* Sets autofocus on page load.
|
|
17
28
|
*/
|
|
18
29
|
autofocus?: InputHTMLAttributes['autofocus'];
|
|
30
|
+
/**
|
|
31
|
+
* Sets the display model for selected values to a list
|
|
32
|
+
* of comma separated string. In this mode the user
|
|
33
|
+
* cannot deselect an option by pressing the close button.
|
|
34
|
+
*/
|
|
35
|
+
comma?: boolean;
|
|
19
36
|
/**
|
|
20
37
|
* Defines an array of dependencies that will trigger actions in the component upon change.
|
|
21
38
|
*/
|
|
@@ -36,6 +53,16 @@ export type BaseSelectProps = {
|
|
|
36
53
|
* modelValue will be reset upon incoherence.
|
|
37
54
|
*/
|
|
38
55
|
enforceCoherence?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Defines how the filtering should work.
|
|
58
|
+
* In any case options are always filtered by the text displayed but
|
|
59
|
+
* they can also take into account other properties of the
|
|
60
|
+
* passed elements when this property is a string or an array of string.
|
|
61
|
+
* E.g. items could be a list of users and you can filter users by email or phone by passing `['email', 'phone']`
|
|
62
|
+
* You can also pass false to not filter anything or a function for more granular control.
|
|
63
|
+
*
|
|
64
|
+
*/
|
|
65
|
+
filterBy?: string | string[] | false | ((value: any, item: any) => boolean) | null;
|
|
39
66
|
/**
|
|
40
67
|
* Define if the component should be in an error state.
|
|
41
68
|
* It usually attaches a CSS class for styling purposes.
|
|
@@ -45,6 +72,22 @@ export type BaseSelectProps = {
|
|
|
45
72
|
* The identifier of the component.
|
|
46
73
|
*/
|
|
47
74
|
id?: HTMLAttributes['id'];
|
|
75
|
+
/**
|
|
76
|
+
* Used to retrieve items can be an array or a function.
|
|
77
|
+
*/
|
|
78
|
+
items: any[] | ((query: string, prefill: boolean, modelValue: any) => Promise<any[]>) | ((query: string, prefill: boolean, modelValue: any) => any[]);
|
|
79
|
+
/**
|
|
80
|
+
* Defines a path that returns a property of the object to use as text or a function that returns a string
|
|
81
|
+
*/
|
|
82
|
+
itemText?: string | ((item: any) => string) | undefined;
|
|
83
|
+
/**
|
|
84
|
+
* Defines a path that returns a property of the object to use as value or a function that returns any value
|
|
85
|
+
*/
|
|
86
|
+
itemValue?: string | ((item: any) => string) | undefined;
|
|
87
|
+
/**
|
|
88
|
+
* Sets the component in a loading state, usually triggering some visual styles.
|
|
89
|
+
*/
|
|
90
|
+
loading?: boolean;
|
|
48
91
|
/**
|
|
49
92
|
* String displayed while items are being loaded.
|
|
50
93
|
*/
|
|
@@ -55,6 +98,14 @@ export type BaseSelectProps = {
|
|
|
55
98
|
* `equality` is more reliable but is slower.
|
|
56
99
|
*/
|
|
57
100
|
matchStrategy?: 'string' | 'equality';
|
|
101
|
+
/**
|
|
102
|
+
* Defines the prefill strategy for the input. By default the input will prefill
|
|
103
|
+
* on focus. It can also always prefill with `true` and only prefill on search with `false`.
|
|
104
|
+
*/
|
|
105
|
+
/**
|
|
106
|
+
* Used by v-model. Can be any serializable type.
|
|
107
|
+
*/
|
|
108
|
+
modelValue: any;
|
|
58
109
|
/**
|
|
59
110
|
* Timeout used to debounce response to changes to modelValue.
|
|
60
111
|
*/
|
|
@@ -75,63 +126,20 @@ export type BaseSelectProps = {
|
|
|
75
126
|
* String displayed when there's no data.
|
|
76
127
|
*/
|
|
77
128
|
placeholder?: InputHTMLAttributes['placeholder'];
|
|
129
|
+
prefill?: boolean | 'focus';
|
|
78
130
|
/**
|
|
79
|
-
*
|
|
80
|
-
*/
|
|
81
|
-
readonly?: InputHTMLAttributes['readonly'];
|
|
82
|
-
/**
|
|
83
|
-
* How long the transition has to last in milliseconds
|
|
84
|
-
*/
|
|
85
|
-
transitionDuration?: number;
|
|
86
|
-
/**
|
|
87
|
-
* Used to retrieve items can be an array or a function.
|
|
88
|
-
*/
|
|
89
|
-
items: any[] | ((query: string, prefill: boolean, modelValue: any) => Promise<any[]>) | ((query: string, prefill: boolean, modelValue: any) => any[]);
|
|
90
|
-
/**
|
|
91
|
-
* Defines a path that returns a property of the object to use as text or a function that returns a string
|
|
92
|
-
*/
|
|
93
|
-
itemText?: string | ((item: any) => string) | undefined;
|
|
94
|
-
/**
|
|
95
|
-
* Defines a path that returns a property of the object to use as value or a function that returns any value
|
|
96
|
-
*/
|
|
97
|
-
itemValue?: string | ((item: any) => string) | undefined;
|
|
98
|
-
/**
|
|
99
|
-
* Used by v-model. Can be any serializable type.
|
|
100
|
-
*/
|
|
101
|
-
modelValue: any;
|
|
102
|
-
/**
|
|
103
|
-
* Allows the user to add options to the list by
|
|
104
|
-
* inserting text in the input and pressing ENTER.
|
|
105
|
-
* The value and text of the option generated is a
|
|
106
|
-
* string equal to what has been inserted.
|
|
107
|
-
*/
|
|
108
|
-
addOptions?: boolean;
|
|
109
|
-
/**
|
|
110
|
-
* Sets the display model for selected values to a list
|
|
111
|
-
* of comma separated string. In this mode the user
|
|
112
|
-
* cannot deselect an option by pressing the close button.
|
|
113
|
-
*/
|
|
114
|
-
comma?: boolean;
|
|
115
|
-
/**
|
|
116
|
-
* Defines how the filtering should work.
|
|
117
|
-
* In any case options are always filtered by the text displayed but
|
|
118
|
-
* they can also take into account other properties of the
|
|
119
|
-
* passed elements when this property is a string or an array of string.
|
|
120
|
-
* E.g. items could be a list of users and you can filter users by email or phone by passing `['email', 'phone']`
|
|
121
|
-
* You can also pass false to not filter anything or a function for more granular control.
|
|
122
|
-
*
|
|
131
|
+
* Name of the icon to be added at the start of the input.
|
|
123
132
|
*/
|
|
124
|
-
|
|
125
|
-
/**
|
|
126
|
-
* Defines the prefill strategy for the input. By default the input will prefill
|
|
127
|
-
* on focus. It can also always prefill with `true` and only prefill on search with `false`.
|
|
128
|
-
*/
|
|
129
|
-
prefill?: boolean | 'focus';
|
|
133
|
+
'prepend:icon'?: string;
|
|
130
134
|
/**
|
|
131
135
|
* Time to wait when the users stops writing in the input before querying data.
|
|
132
136
|
* Especially useful when searching live data on big datasets.
|
|
133
137
|
*/
|
|
134
138
|
queryDebounceTime?: number;
|
|
139
|
+
/**
|
|
140
|
+
* Sets the input in a readonly state.
|
|
141
|
+
*/
|
|
142
|
+
readonly?: InputHTMLAttributes['readonly'];
|
|
135
143
|
/**
|
|
136
144
|
* If `true` when in multiple selection, reset the query immediately
|
|
137
145
|
* upon selecting an option. By default the query is
|
|
@@ -147,6 +155,10 @@ export type BaseSelectProps = {
|
|
|
147
155
|
* you either always return the previous items or you stash them passing `true` to this option.
|
|
148
156
|
*/
|
|
149
157
|
stash?: boolean;
|
|
158
|
+
/**
|
|
159
|
+
* How long the transition has to last in milliseconds
|
|
160
|
+
*/
|
|
161
|
+
transitionDuration?: number;
|
|
150
162
|
/**
|
|
151
163
|
* Pass `true` if the dropdown is not updating following movement in the UI, like in modals. Very expensive so use with care.
|
|
152
164
|
*/
|
|
@@ -162,21 +174,15 @@ export type BaseSelectEvents = {
|
|
|
162
174
|
(e: 'update:modelValue', value: any): void;
|
|
163
175
|
};
|
|
164
176
|
export type BaseSelectSlots = {
|
|
165
|
-
|
|
166
|
-
query: string;
|
|
167
|
-
}) => any;
|
|
168
|
-
prepend?: (props: {
|
|
169
|
-
query: string;
|
|
170
|
-
}) => any;
|
|
171
|
-
'options:prepend'?: (props: object) => any;
|
|
172
|
-
loading?: (props: {
|
|
177
|
+
append?: (props: {
|
|
173
178
|
query: string;
|
|
174
179
|
}) => any;
|
|
175
|
-
'
|
|
180
|
+
'append-outer'?: (props: {
|
|
176
181
|
query: string;
|
|
177
182
|
}) => any;
|
|
178
|
-
|
|
179
|
-
|
|
183
|
+
chevron?: (props: {
|
|
184
|
+
loading: boolean;
|
|
185
|
+
shown: boolean;
|
|
180
186
|
}) => any;
|
|
181
187
|
chip?: (props: {
|
|
182
188
|
disabled: boolean;
|
|
@@ -189,6 +195,12 @@ export type BaseSelectSlots = {
|
|
|
189
195
|
text: string;
|
|
190
196
|
value: any;
|
|
191
197
|
}) => any;
|
|
198
|
+
loading?: (props: {
|
|
199
|
+
query: string;
|
|
200
|
+
}) => any;
|
|
201
|
+
'no-data'?: (props: {
|
|
202
|
+
query: string;
|
|
203
|
+
}) => any;
|
|
192
204
|
option?: (props: {
|
|
193
205
|
disabled: boolean;
|
|
194
206
|
focused: boolean;
|
|
@@ -204,29 +216,31 @@ export type BaseSelectSlots = {
|
|
|
204
216
|
'option:append'?: (props: {
|
|
205
217
|
item: any;
|
|
206
218
|
}) => any;
|
|
219
|
+
'option:prepend'?: (props: {
|
|
220
|
+
item: any;
|
|
221
|
+
}) => any;
|
|
207
222
|
'options:append'?: (props: object) => any;
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
223
|
+
'options:prepend'?: (props: object) => any;
|
|
224
|
+
prefix?: (props: object) => any;
|
|
225
|
+
prepend?: (props: {
|
|
226
|
+
query: string;
|
|
211
227
|
}) => any;
|
|
212
|
-
|
|
228
|
+
'prepend-outer'?: (props: {
|
|
213
229
|
query: string;
|
|
214
230
|
}) => any;
|
|
215
231
|
spinner?: (props: {
|
|
216
232
|
loading: boolean;
|
|
217
233
|
}) => any;
|
|
218
|
-
|
|
219
|
-
query: string;
|
|
220
|
-
}) => any;
|
|
234
|
+
suffix?: (props: object) => any;
|
|
221
235
|
};
|
|
222
236
|
export type BaseOption = {
|
|
237
|
+
disabled: boolean;
|
|
223
238
|
id: string;
|
|
224
239
|
jsonValue: string;
|
|
225
240
|
manual: boolean;
|
|
226
241
|
original: any;
|
|
227
242
|
text: string;
|
|
228
243
|
value: any;
|
|
229
|
-
disabled: boolean;
|
|
230
244
|
};
|
|
231
245
|
export type Option = BaseOption & {
|
|
232
246
|
index: number;
|
|
@@ -273,14 +287,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
273
287
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
274
288
|
onInactive?: (() => any) | undefined;
|
|
275
289
|
}, {
|
|
276
|
-
|
|
290
|
+
transitionDuration: number;
|
|
291
|
+
allowWriting: boolean | "not-mobile";
|
|
277
292
|
depsDebounceTime: number;
|
|
278
|
-
modelValueDebounceTime: number;
|
|
279
|
-
prefill: boolean | "focus";
|
|
280
293
|
loadingText: string;
|
|
294
|
+
matchStrategy: "string" | "equality";
|
|
295
|
+
modelValueDebounceTime: number;
|
|
281
296
|
noDataText: string;
|
|
282
|
-
|
|
283
|
-
transitionDuration: number;
|
|
297
|
+
prefill: boolean | "focus";
|
|
284
298
|
filterBy: string | false | string[] | ((value: any, item: any) => boolean) | null;
|
|
285
299
|
queryDebounceTime: number;
|
|
286
300
|
updateOnAnimationFrame: boolean;
|
|
@@ -133,8 +133,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
133
133
|
onInactive?: (() => any) | undefined;
|
|
134
134
|
onActive?: (() => any) | undefined;
|
|
135
135
|
}, {
|
|
136
|
-
step: number;
|
|
137
136
|
modelValue: string | number | number[] | null;
|
|
137
|
+
step: number;
|
|
138
138
|
max: number;
|
|
139
139
|
min: number;
|
|
140
140
|
thumbTranslate: boolean;
|