sprintify-ui 0.0.32 → 0.0.34
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 +3616 -3402
- package/dist/types/src/components/BaseAutocomplete.vue.d.ts +9 -9
- package/dist/types/src/components/BaseAutocompleteFetch.vue.d.ts +9 -9
- package/dist/types/src/components/BaseBelongsTo.vue.d.ts +10 -10
- package/dist/types/src/components/BaseButtonGroup.vue.d.ts +23 -23
- package/dist/types/src/components/BaseFilePicker.vue.d.ts +1 -1
- package/dist/types/src/components/BaseFileUploader.vue.d.ts +4 -4
- package/dist/types/src/components/BaseHasMany.vue.d.ts +0 -1
- package/dist/types/src/components/BaseRadioGroup.vue.d.ts +226 -0
- package/dist/types/src/components/BaseTagAutocomplete.vue.d.ts +0 -1
- package/dist/types/src/components/BaseTagAutocompleteFetch.vue.d.ts +0 -1
- package/dist/types/src/components/index.d.ts +3 -1
- package/dist/types/src/composables/hasOptions.d.ts +7 -0
- package/dist/types/src/types/types.d.ts +0 -2
- package/package.json +1 -1
- package/src/components/BaseAutocomplete.vue +29 -40
- package/src/components/BaseAutocompleteFetch.vue +2 -2
- package/src/components/BaseBelongsTo.vue +3 -3
- package/src/components/BaseButtonGroup.stories.js +5 -8
- package/src/components/BaseButtonGroup.vue +24 -66
- package/src/components/BaseRadioGroup.stories.js +88 -0
- package/src/components/BaseRadioGroup.vue +84 -0
- package/src/components/BaseTagAutocomplete.stories.js +4 -6
- package/src/components/BaseTagAutocomplete.vue +35 -53
- package/src/components/index.ts +4 -0
- package/src/composables/hasOptions.ts +68 -0
- package/src/types/types.ts +0 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { NormalizedOption, Option
|
|
2
|
+
import { NormalizedOption, Option } from '@/types/types';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
new (...args: any[]): {
|
|
5
5
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -7,7 +7,7 @@ declare const _default: {
|
|
|
7
7
|
$props: Partial<{
|
|
8
8
|
filter: (option: NormalizedOption) => boolean;
|
|
9
9
|
required: boolean;
|
|
10
|
-
modelValue:
|
|
10
|
+
modelValue: Option | null | undefined;
|
|
11
11
|
inputClass: string;
|
|
12
12
|
placeholder: string;
|
|
13
13
|
loading: boolean;
|
|
@@ -15,7 +15,7 @@ declare const _default: {
|
|
|
15
15
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
16
16
|
modelValue: {
|
|
17
17
|
default: undefined;
|
|
18
|
-
type: PropType<
|
|
18
|
+
type: PropType<Option | null | undefined>;
|
|
19
19
|
};
|
|
20
20
|
options: {
|
|
21
21
|
required: true;
|
|
@@ -76,7 +76,7 @@ declare const _default: {
|
|
|
76
76
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
77
77
|
modelValue: {
|
|
78
78
|
default: undefined;
|
|
79
|
-
type: PropType<
|
|
79
|
+
type: PropType<Option | null | undefined>;
|
|
80
80
|
};
|
|
81
81
|
options: {
|
|
82
82
|
required: true;
|
|
@@ -123,7 +123,7 @@ declare const _default: {
|
|
|
123
123
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "update:modelValue" | "typing" | "focus" | "scrollBottom")[], string, {
|
|
124
124
|
filter: (option: NormalizedOption) => boolean;
|
|
125
125
|
required: boolean;
|
|
126
|
-
modelValue:
|
|
126
|
+
modelValue: Option | null | undefined;
|
|
127
127
|
inputClass: string;
|
|
128
128
|
placeholder: string;
|
|
129
129
|
loading: boolean;
|
|
@@ -151,7 +151,7 @@ declare const _default: {
|
|
|
151
151
|
} & Readonly<import("vue").ExtractPropTypes<{
|
|
152
152
|
modelValue: {
|
|
153
153
|
default: undefined;
|
|
154
|
-
type: PropType<
|
|
154
|
+
type: PropType<Option | null | undefined>;
|
|
155
155
|
};
|
|
156
156
|
options: {
|
|
157
157
|
required: true;
|
|
@@ -202,7 +202,7 @@ declare const _default: {
|
|
|
202
202
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
203
203
|
modelValue: {
|
|
204
204
|
default: undefined;
|
|
205
|
-
type: PropType<
|
|
205
|
+
type: PropType<Option | null | undefined>;
|
|
206
206
|
};
|
|
207
207
|
options: {
|
|
208
208
|
required: true;
|
|
@@ -249,7 +249,7 @@ declare const _default: {
|
|
|
249
249
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "update:modelValue" | "typing" | "focus" | "scrollBottom")[], "clear" | "update:modelValue" | "typing" | "focus" | "scrollBottom", {
|
|
250
250
|
filter: (option: NormalizedOption) => boolean;
|
|
251
251
|
required: boolean;
|
|
252
|
-
modelValue:
|
|
252
|
+
modelValue: Option | null | undefined;
|
|
253
253
|
inputClass: string;
|
|
254
254
|
placeholder: string;
|
|
255
255
|
loading: boolean;
|
|
@@ -259,7 +259,7 @@ declare const _default: {
|
|
|
259
259
|
empty: (_: {}) => any;
|
|
260
260
|
option: (_: {
|
|
261
261
|
option: Option;
|
|
262
|
-
selected: boolean
|
|
262
|
+
selected: boolean;
|
|
263
263
|
active: boolean;
|
|
264
264
|
}) => any;
|
|
265
265
|
footer: (_: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { Option
|
|
2
|
+
import { Option } from '@/types/types';
|
|
3
3
|
import { RouteLocationRaw } from 'vue-router';
|
|
4
4
|
declare const _default: {
|
|
5
5
|
new (...args: any[]): {
|
|
@@ -7,7 +7,7 @@ declare const _default: {
|
|
|
7
7
|
$data: {};
|
|
8
8
|
$props: Partial<{
|
|
9
9
|
required: boolean;
|
|
10
|
-
modelValue:
|
|
10
|
+
modelValue: Option | null | undefined;
|
|
11
11
|
inputClass: string;
|
|
12
12
|
placeholder: string;
|
|
13
13
|
disabled: boolean;
|
|
@@ -16,7 +16,7 @@ declare const _default: {
|
|
|
16
16
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
17
17
|
modelValue: {
|
|
18
18
|
default: undefined;
|
|
19
|
-
type: PropType<
|
|
19
|
+
type: PropType<Option | null | undefined>;
|
|
20
20
|
};
|
|
21
21
|
url: {
|
|
22
22
|
required: true;
|
|
@@ -77,7 +77,7 @@ declare const _default: {
|
|
|
77
77
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
78
78
|
modelValue: {
|
|
79
79
|
default: undefined;
|
|
80
|
-
type: PropType<
|
|
80
|
+
type: PropType<Option | null | undefined>;
|
|
81
81
|
};
|
|
82
82
|
url: {
|
|
83
83
|
required: true;
|
|
@@ -123,7 +123,7 @@ declare const _default: {
|
|
|
123
123
|
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
124
124
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "update:modelValue" | "typing" | "focus" | "scrollBottom")[], string, {
|
|
125
125
|
required: boolean;
|
|
126
|
-
modelValue:
|
|
126
|
+
modelValue: Option | null | undefined;
|
|
127
127
|
inputClass: string;
|
|
128
128
|
placeholder: string;
|
|
129
129
|
disabled: boolean;
|
|
@@ -152,7 +152,7 @@ declare const _default: {
|
|
|
152
152
|
} & Readonly<import("vue").ExtractPropTypes<{
|
|
153
153
|
modelValue: {
|
|
154
154
|
default: undefined;
|
|
155
|
-
type: PropType<
|
|
155
|
+
type: PropType<Option | null | undefined>;
|
|
156
156
|
};
|
|
157
157
|
url: {
|
|
158
158
|
required: true;
|
|
@@ -203,7 +203,7 @@ declare const _default: {
|
|
|
203
203
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
204
204
|
modelValue: {
|
|
205
205
|
default: undefined;
|
|
206
|
-
type: PropType<
|
|
206
|
+
type: PropType<Option | null | undefined>;
|
|
207
207
|
};
|
|
208
208
|
url: {
|
|
209
209
|
required: true;
|
|
@@ -249,7 +249,7 @@ declare const _default: {
|
|
|
249
249
|
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
250
250
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "update:modelValue" | "typing" | "focus" | "scrollBottom")[], "clear" | "update:modelValue" | "typing" | "focus" | "scrollBottom", {
|
|
251
251
|
required: boolean;
|
|
252
|
-
modelValue:
|
|
252
|
+
modelValue: Option | null | undefined;
|
|
253
253
|
inputClass: string;
|
|
254
254
|
placeholder: string;
|
|
255
255
|
disabled: boolean;
|
|
@@ -259,7 +259,7 @@ declare const _default: {
|
|
|
259
259
|
$slots: {
|
|
260
260
|
option: (_: {
|
|
261
261
|
option: Option;
|
|
262
|
-
selected: boolean
|
|
262
|
+
selected: boolean;
|
|
263
263
|
active: boolean;
|
|
264
264
|
}) => any;
|
|
265
265
|
footer: (_: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Selection } from '@/types/types';
|
|
2
1
|
import { PropType } from 'vue';
|
|
3
2
|
import { RouteLocationRaw } from 'vue-router';
|
|
3
|
+
import { Option } from '@/types/types';
|
|
4
4
|
declare const _default: {
|
|
5
5
|
new (...args: any[]): {
|
|
6
6
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -14,7 +14,7 @@ declare const _default: {
|
|
|
14
14
|
createNewUrl: RouteLocationRaw;
|
|
15
15
|
showRouteUrl: ((id: string | number) => string) | undefined;
|
|
16
16
|
foreignKey: string;
|
|
17
|
-
currentModel:
|
|
17
|
+
currentModel: Option | null;
|
|
18
18
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
19
19
|
modelValue: {
|
|
20
20
|
default: undefined;
|
|
@@ -54,7 +54,7 @@ declare const _default: {
|
|
|
54
54
|
};
|
|
55
55
|
currentModel: {
|
|
56
56
|
default: null;
|
|
57
|
-
type: PropType<
|
|
57
|
+
type: PropType<Option | null>;
|
|
58
58
|
};
|
|
59
59
|
createNewUrl: {
|
|
60
60
|
default: string;
|
|
@@ -115,7 +115,7 @@ declare const _default: {
|
|
|
115
115
|
};
|
|
116
116
|
currentModel: {
|
|
117
117
|
default: null;
|
|
118
|
-
type: PropType<
|
|
118
|
+
type: PropType<Option | null>;
|
|
119
119
|
};
|
|
120
120
|
createNewUrl: {
|
|
121
121
|
default: string;
|
|
@@ -132,7 +132,7 @@ declare const _default: {
|
|
|
132
132
|
createNewUrl: RouteLocationRaw;
|
|
133
133
|
showRouteUrl: ((id: string | number) => string) | undefined;
|
|
134
134
|
foreignKey: string;
|
|
135
|
-
currentModel:
|
|
135
|
+
currentModel: Option | null;
|
|
136
136
|
}, {}, string> & {
|
|
137
137
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
138
138
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -192,7 +192,7 @@ declare const _default: {
|
|
|
192
192
|
};
|
|
193
193
|
currentModel: {
|
|
194
194
|
default: null;
|
|
195
|
-
type: PropType<
|
|
195
|
+
type: PropType<Option | null>;
|
|
196
196
|
};
|
|
197
197
|
createNewUrl: {
|
|
198
198
|
default: string;
|
|
@@ -243,7 +243,7 @@ declare const _default: {
|
|
|
243
243
|
};
|
|
244
244
|
currentModel: {
|
|
245
245
|
default: null;
|
|
246
|
-
type: PropType<
|
|
246
|
+
type: PropType<Option | null>;
|
|
247
247
|
};
|
|
248
248
|
createNewUrl: {
|
|
249
249
|
default: string;
|
|
@@ -260,12 +260,12 @@ declare const _default: {
|
|
|
260
260
|
createNewUrl: RouteLocationRaw;
|
|
261
261
|
showRouteUrl: ((id: string | number) => string) | undefined;
|
|
262
262
|
foreignKey: string;
|
|
263
|
-
currentModel:
|
|
263
|
+
currentModel: Option | null;
|
|
264
264
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
265
265
|
$slots: {
|
|
266
266
|
option: (_: {
|
|
267
|
-
option:
|
|
268
|
-
selected: boolean
|
|
267
|
+
option: Option;
|
|
268
|
+
selected: boolean;
|
|
269
269
|
active: boolean;
|
|
270
270
|
}) => any;
|
|
271
271
|
empty: (_: {
|
|
@@ -8,12 +8,12 @@ declare const _default: {
|
|
|
8
8
|
required: boolean;
|
|
9
9
|
modelValue: Option | Option[] | undefined;
|
|
10
10
|
disabled: boolean;
|
|
11
|
-
multiple: boolean;
|
|
12
|
-
buttonClass: string;
|
|
13
11
|
buttonType: "button" | "submit";
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
buttonClass: string;
|
|
13
|
+
buttonSelectedClass: string;
|
|
14
|
+
buttonUnselectedClass: string;
|
|
16
15
|
spacing: string;
|
|
16
|
+
multiple: boolean;
|
|
17
17
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
18
18
|
modelValue: {
|
|
19
19
|
default: undefined;
|
|
@@ -35,11 +35,11 @@ declare const _default: {
|
|
|
35
35
|
default: string;
|
|
36
36
|
type: StringConstructor;
|
|
37
37
|
};
|
|
38
|
-
|
|
38
|
+
buttonSelectedClass: {
|
|
39
39
|
default: string;
|
|
40
40
|
type: StringConstructor;
|
|
41
41
|
};
|
|
42
|
-
|
|
42
|
+
buttonUnselectedClass: {
|
|
43
43
|
default: string;
|
|
44
44
|
type: StringConstructor;
|
|
45
45
|
};
|
|
@@ -65,7 +65,7 @@ declare const _default: {
|
|
|
65
65
|
};
|
|
66
66
|
}>> & {
|
|
67
67
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
68
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "required" | "modelValue" | "disabled" | "
|
|
68
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "required" | "modelValue" | "disabled" | "buttonType" | "buttonClass" | "buttonSelectedClass" | "buttonUnselectedClass" | "spacing" | "multiple">;
|
|
69
69
|
$attrs: {
|
|
70
70
|
[x: string]: unknown;
|
|
71
71
|
};
|
|
@@ -100,11 +100,11 @@ declare const _default: {
|
|
|
100
100
|
default: string;
|
|
101
101
|
type: StringConstructor;
|
|
102
102
|
};
|
|
103
|
-
|
|
103
|
+
buttonSelectedClass: {
|
|
104
104
|
default: string;
|
|
105
105
|
type: StringConstructor;
|
|
106
106
|
};
|
|
107
|
-
|
|
107
|
+
buttonUnselectedClass: {
|
|
108
108
|
default: string;
|
|
109
109
|
type: StringConstructor;
|
|
110
110
|
};
|
|
@@ -134,12 +134,12 @@ declare const _default: {
|
|
|
134
134
|
required: boolean;
|
|
135
135
|
modelValue: Option | Option[] | undefined;
|
|
136
136
|
disabled: boolean;
|
|
137
|
-
multiple: boolean;
|
|
138
|
-
buttonClass: string;
|
|
139
137
|
buttonType: "button" | "submit";
|
|
140
|
-
|
|
141
|
-
|
|
138
|
+
buttonClass: string;
|
|
139
|
+
buttonSelectedClass: string;
|
|
140
|
+
buttonUnselectedClass: string;
|
|
142
141
|
spacing: string;
|
|
142
|
+
multiple: boolean;
|
|
143
143
|
}, {}, string> & {
|
|
144
144
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
145
145
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -181,11 +181,11 @@ declare const _default: {
|
|
|
181
181
|
default: string;
|
|
182
182
|
type: StringConstructor;
|
|
183
183
|
};
|
|
184
|
-
|
|
184
|
+
buttonSelectedClass: {
|
|
185
185
|
default: string;
|
|
186
186
|
type: StringConstructor;
|
|
187
187
|
};
|
|
188
|
-
|
|
188
|
+
buttonUnselectedClass: {
|
|
189
189
|
default: string;
|
|
190
190
|
type: StringConstructor;
|
|
191
191
|
};
|
|
@@ -236,11 +236,11 @@ declare const _default: {
|
|
|
236
236
|
default: string;
|
|
237
237
|
type: StringConstructor;
|
|
238
238
|
};
|
|
239
|
-
|
|
239
|
+
buttonSelectedClass: {
|
|
240
240
|
default: string;
|
|
241
241
|
type: StringConstructor;
|
|
242
242
|
};
|
|
243
|
-
|
|
243
|
+
buttonUnselectedClass: {
|
|
244
244
|
default: string;
|
|
245
245
|
type: StringConstructor;
|
|
246
246
|
};
|
|
@@ -270,18 +270,18 @@ declare const _default: {
|
|
|
270
270
|
required: boolean;
|
|
271
271
|
modelValue: Option | Option[] | undefined;
|
|
272
272
|
disabled: boolean;
|
|
273
|
-
multiple: boolean;
|
|
274
|
-
buttonClass: string;
|
|
275
273
|
buttonType: "button" | "submit";
|
|
276
|
-
|
|
277
|
-
|
|
274
|
+
buttonClass: string;
|
|
275
|
+
buttonSelectedClass: string;
|
|
276
|
+
buttonUnselectedClass: string;
|
|
278
277
|
spacing: string;
|
|
278
|
+
multiple: boolean;
|
|
279
279
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
280
280
|
$slots: {
|
|
281
281
|
option: (_: {
|
|
282
|
-
|
|
283
|
-
onSelect: (option: NormalizedOption) => void;
|
|
282
|
+
selected: boolean;
|
|
284
283
|
option: NormalizedOption;
|
|
284
|
+
disabled: boolean;
|
|
285
285
|
}) => any;
|
|
286
286
|
};
|
|
287
287
|
});
|
|
@@ -7,8 +7,8 @@ declare const _default: {
|
|
|
7
7
|
loading: boolean;
|
|
8
8
|
disabled: boolean;
|
|
9
9
|
url: string;
|
|
10
|
-
accept: string;
|
|
11
10
|
buttonClass: string;
|
|
11
|
+
accept: string;
|
|
12
12
|
beforeUpload: () => boolean;
|
|
13
13
|
maxSize: number;
|
|
14
14
|
acceptedExtensions: string[];
|
|
@@ -50,7 +50,7 @@ declare const _default: {
|
|
|
50
50
|
"onUpload:success"?: ((...args: any[]) => any) | undefined;
|
|
51
51
|
"onUpload:fail"?: ((...args: any[]) => any) | undefined;
|
|
52
52
|
"onUpload:end"?: ((...args: any[]) => any) | undefined;
|
|
53
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "loading" | "disabled" | "url" | "
|
|
53
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "loading" | "disabled" | "url" | "buttonClass" | "accept" | "beforeUpload" | "maxSize" | "acceptedExtensions">;
|
|
54
54
|
$attrs: {
|
|
55
55
|
[x: string]: unknown;
|
|
56
56
|
};
|
|
@@ -106,8 +106,8 @@ declare const _default: {
|
|
|
106
106
|
loading: boolean;
|
|
107
107
|
disabled: boolean;
|
|
108
108
|
url: string;
|
|
109
|
-
accept: string;
|
|
110
109
|
buttonClass: string;
|
|
110
|
+
accept: string;
|
|
111
111
|
beforeUpload: () => boolean;
|
|
112
112
|
maxSize: number;
|
|
113
113
|
acceptedExtensions: string[];
|
|
@@ -215,8 +215,8 @@ declare const _default: {
|
|
|
215
215
|
loading: boolean;
|
|
216
216
|
disabled: boolean;
|
|
217
217
|
url: string;
|
|
218
|
-
accept: string;
|
|
219
218
|
buttonClass: string;
|
|
219
|
+
accept: string;
|
|
220
220
|
beforeUpload: () => boolean;
|
|
221
221
|
maxSize: number;
|
|
222
222
|
acceptedExtensions: string[];
|
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { Option } from '@/types/types';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
new (...args: any[]): {
|
|
5
|
+
$: import("vue").ComponentInternalInstance;
|
|
6
|
+
$data: {};
|
|
7
|
+
$props: Partial<{
|
|
8
|
+
required: boolean;
|
|
9
|
+
modelValue: Option | undefined;
|
|
10
|
+
inputClass: string;
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
labelClass: string;
|
|
13
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
+
modelValue: {
|
|
15
|
+
default: undefined;
|
|
16
|
+
type: PropType<Option | undefined>;
|
|
17
|
+
};
|
|
18
|
+
name: {
|
|
19
|
+
required: true;
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
};
|
|
22
|
+
required: {
|
|
23
|
+
default: boolean;
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
};
|
|
26
|
+
disabled: {
|
|
27
|
+
default: boolean;
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
};
|
|
30
|
+
options: {
|
|
31
|
+
required: true;
|
|
32
|
+
type: PropType<Option[]>;
|
|
33
|
+
};
|
|
34
|
+
labelKey: {
|
|
35
|
+
required: true;
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
};
|
|
38
|
+
valueKey: {
|
|
39
|
+
required: true;
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
};
|
|
42
|
+
labelClass: {
|
|
43
|
+
default: string;
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
};
|
|
46
|
+
inputClass: {
|
|
47
|
+
default: string;
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
};
|
|
50
|
+
}>> & {
|
|
51
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
52
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "required" | "modelValue" | "inputClass" | "disabled" | "labelClass">;
|
|
53
|
+
$attrs: {
|
|
54
|
+
[x: string]: unknown;
|
|
55
|
+
};
|
|
56
|
+
$refs: {
|
|
57
|
+
[x: string]: unknown;
|
|
58
|
+
};
|
|
59
|
+
$slots: Readonly<{
|
|
60
|
+
[name: string]: import("vue").Slot | undefined;
|
|
61
|
+
}>;
|
|
62
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
63
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
64
|
+
$emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
65
|
+
$el: any;
|
|
66
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
67
|
+
modelValue: {
|
|
68
|
+
default: undefined;
|
|
69
|
+
type: PropType<Option | undefined>;
|
|
70
|
+
};
|
|
71
|
+
name: {
|
|
72
|
+
required: true;
|
|
73
|
+
type: StringConstructor;
|
|
74
|
+
};
|
|
75
|
+
required: {
|
|
76
|
+
default: boolean;
|
|
77
|
+
type: BooleanConstructor;
|
|
78
|
+
};
|
|
79
|
+
disabled: {
|
|
80
|
+
default: boolean;
|
|
81
|
+
type: BooleanConstructor;
|
|
82
|
+
};
|
|
83
|
+
options: {
|
|
84
|
+
required: true;
|
|
85
|
+
type: PropType<Option[]>;
|
|
86
|
+
};
|
|
87
|
+
labelKey: {
|
|
88
|
+
required: true;
|
|
89
|
+
type: StringConstructor;
|
|
90
|
+
};
|
|
91
|
+
valueKey: {
|
|
92
|
+
required: true;
|
|
93
|
+
type: StringConstructor;
|
|
94
|
+
};
|
|
95
|
+
labelClass: {
|
|
96
|
+
default: string;
|
|
97
|
+
type: StringConstructor;
|
|
98
|
+
};
|
|
99
|
+
inputClass: {
|
|
100
|
+
default: string;
|
|
101
|
+
type: StringConstructor;
|
|
102
|
+
};
|
|
103
|
+
}>> & {
|
|
104
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
105
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], string, {
|
|
106
|
+
required: boolean;
|
|
107
|
+
modelValue: Option | undefined;
|
|
108
|
+
inputClass: string;
|
|
109
|
+
disabled: boolean;
|
|
110
|
+
labelClass: string;
|
|
111
|
+
}, {}, string> & {
|
|
112
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
113
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
114
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
115
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
116
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
117
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
118
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
119
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
120
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
121
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
122
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
123
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
124
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
125
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
126
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
127
|
+
};
|
|
128
|
+
$forceUpdate: () => void;
|
|
129
|
+
$nextTick: typeof import("vue").nextTick;
|
|
130
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
131
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
132
|
+
modelValue: {
|
|
133
|
+
default: undefined;
|
|
134
|
+
type: PropType<Option | undefined>;
|
|
135
|
+
};
|
|
136
|
+
name: {
|
|
137
|
+
required: true;
|
|
138
|
+
type: StringConstructor;
|
|
139
|
+
};
|
|
140
|
+
required: {
|
|
141
|
+
default: boolean;
|
|
142
|
+
type: BooleanConstructor;
|
|
143
|
+
};
|
|
144
|
+
disabled: {
|
|
145
|
+
default: boolean;
|
|
146
|
+
type: BooleanConstructor;
|
|
147
|
+
};
|
|
148
|
+
options: {
|
|
149
|
+
required: true;
|
|
150
|
+
type: PropType<Option[]>;
|
|
151
|
+
};
|
|
152
|
+
labelKey: {
|
|
153
|
+
required: true;
|
|
154
|
+
type: StringConstructor;
|
|
155
|
+
};
|
|
156
|
+
valueKey: {
|
|
157
|
+
required: true;
|
|
158
|
+
type: StringConstructor;
|
|
159
|
+
};
|
|
160
|
+
labelClass: {
|
|
161
|
+
default: string;
|
|
162
|
+
type: StringConstructor;
|
|
163
|
+
};
|
|
164
|
+
inputClass: {
|
|
165
|
+
default: string;
|
|
166
|
+
type: StringConstructor;
|
|
167
|
+
};
|
|
168
|
+
}>> & {
|
|
169
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
170
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
171
|
+
__isFragment?: undefined;
|
|
172
|
+
__isTeleport?: undefined;
|
|
173
|
+
__isSuspense?: undefined;
|
|
174
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
175
|
+
modelValue: {
|
|
176
|
+
default: undefined;
|
|
177
|
+
type: PropType<Option | undefined>;
|
|
178
|
+
};
|
|
179
|
+
name: {
|
|
180
|
+
required: true;
|
|
181
|
+
type: StringConstructor;
|
|
182
|
+
};
|
|
183
|
+
required: {
|
|
184
|
+
default: boolean;
|
|
185
|
+
type: BooleanConstructor;
|
|
186
|
+
};
|
|
187
|
+
disabled: {
|
|
188
|
+
default: boolean;
|
|
189
|
+
type: BooleanConstructor;
|
|
190
|
+
};
|
|
191
|
+
options: {
|
|
192
|
+
required: true;
|
|
193
|
+
type: PropType<Option[]>;
|
|
194
|
+
};
|
|
195
|
+
labelKey: {
|
|
196
|
+
required: true;
|
|
197
|
+
type: StringConstructor;
|
|
198
|
+
};
|
|
199
|
+
valueKey: {
|
|
200
|
+
required: true;
|
|
201
|
+
type: StringConstructor;
|
|
202
|
+
};
|
|
203
|
+
labelClass: {
|
|
204
|
+
default: string;
|
|
205
|
+
type: StringConstructor;
|
|
206
|
+
};
|
|
207
|
+
inputClass: {
|
|
208
|
+
default: string;
|
|
209
|
+
type: StringConstructor;
|
|
210
|
+
};
|
|
211
|
+
}>> & {
|
|
212
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
213
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", {
|
|
214
|
+
required: boolean;
|
|
215
|
+
modelValue: Option | undefined;
|
|
216
|
+
inputClass: string;
|
|
217
|
+
disabled: boolean;
|
|
218
|
+
labelClass: string;
|
|
219
|
+
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
220
|
+
$slots: {
|
|
221
|
+
option: (_: {
|
|
222
|
+
option: import("@/types/types").NormalizedOption;
|
|
223
|
+
}) => any;
|
|
224
|
+
};
|
|
225
|
+
});
|
|
226
|
+
export default _default;
|