@vunk/form 1.1.77 → 1.1.80
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/components/_plugin-vue_export-helper.mjs +9 -0
- package/components/button/{index.js → index.mjs} +33 -29
- package/components/button/src/ctx.d.ts +30 -30
- package/components/button/src/index.vue.d.ts +69 -69
- package/components/cascader/index.css +0 -2
- package/components/cascader/{index.js → index.mjs} +22 -22
- package/components/cascader/src/ctx.d.ts +37 -45
- package/components/cascader/src/index.vue.d.ts +92 -92
- package/components/cascader/src/use.d.ts +1 -1
- package/components/checkbox/index.css +0 -9
- package/components/checkbox/{index.js → index.mjs} +45 -42
- package/components/checkbox/src/ctx.d.ts +29 -32
- package/components/checkbox/src/index.vue.d.ts +65 -65
- package/components/color-picker/{index.js → index.mjs} +23 -22
- package/components/color-picker/src/ctx.d.ts +29 -29
- package/components/color-picker/src/index.vue.d.ts +67 -67
- package/components/date-picker/index.d.ts +1 -0
- package/components/date-picker/{index.js → index.mjs} +46 -26
- package/components/date-picker/src/ctx.d.ts +51 -49
- package/components/date-picker/src/index.vue.d.ts +104 -104
- package/components/date-picker-range/index.css +18 -0
- package/components/date-picker-range/index.d.ts +4 -0
- package/components/date-picker-range/index.mjs +164 -0
- package/components/date-picker-range/src/ctx.d.ts +177 -0
- package/components/date-picker-range/src/index.vue.d.ts +398 -0
- package/components/date-picker-range/src/types.d.ts +12 -0
- package/components/download-plus/index.css +0 -6
- package/components/download-plus/{index.js → index.mjs} +119 -147
- package/components/download-plus/src/api.d.ts +1 -1
- package/components/download-plus/src/ctx.d.ts +27 -26
- package/components/download-plus/src/index.vue.d.ts +59 -59
- package/components/esri-input-geojson/index.css +0 -10
- package/components/esri-input-geojson/index.mjs +1109 -0
- package/components/esri-input-geojson/src/append.vue.d.ts +1 -1
- package/components/esri-input-geojson/src/ctx.d.ts +49 -72
- package/components/esri-input-geojson/src/index.vue.d.ts +138 -158
- package/components/esri-input-geojson/src/types.d.ts +0 -1
- package/components/esri-input-geojson/src/viewer.vue.d.ts +18 -19
- package/components/form/{index.js → index.mjs} +38 -36
- package/components/form/src/ctx.d.ts +13 -297
- package/components/form/src/index.vue.d.ts +97 -659
- package/components/form-item/index.css +0 -8
- package/components/form-item/{index.js → index.mjs} +22 -19
- package/components/form-item/src/ctx.d.ts +13 -11
- package/components/form-item/src/index.vue.d.ts +20 -20
- package/components/form-item-renderer/{index.js → index.mjs} +9 -7
- package/components/form-item-renderer/src/index.vue.d.ts +1 -1
- package/components/form-item-renderer-template/{index.js → index.mjs} +7 -7
- package/components/geoinput/{index.js → index.mjs} +10 -17
- package/components/geoinput/src/ctx.d.ts +48 -60
- package/components/geoinput/src/index.vue.d.ts +114 -132
- package/components/geoinput-read/index.css +0 -2
- package/components/geoinput-read/{index.js → index.mjs} +101 -109
- package/components/geoinput-read/src/core.vue.d.ts +123 -142
- package/components/geoinput-read/src/ctx.d.ts +50 -74
- package/components/geoinput-read/src/index.vue.d.ts +102 -120
- package/components/geoinput-update/index.css +0 -6
- package/components/geoinput-update/index.mjs +399 -0
- package/components/geoinput-update/src/ctx.d.ts +49 -69
- package/components/geoinput-update/src/index.vue.d.ts +126 -141
- package/components/index.mjs +11 -0
- package/components/index2.mjs +306 -0
- package/components/index3.mjs +484 -0
- package/components/input/{index.js → index.mjs} +31 -27
- package/components/input/src/ctx.d.ts +47 -66
- package/components/input/src/index.vue.d.ts +101 -113
- package/components/input-link/index.css +0 -2
- package/components/input-link/index.mjs +151 -0
- package/components/input-link/src/ctx.d.ts +40 -56
- package/components/input-link/src/index.vue.d.ts +89 -101
- package/components/input-number/index.css +0 -2
- package/components/input-number/{index.js → index.mjs} +25 -25
- package/components/input-number/src/ctx.d.ts +31 -37
- package/components/input-number/src/index.vue.d.ts +71 -71
- package/components/radio/index.css +0 -6
- package/components/radio/{index.js → index.mjs} +50 -47
- package/components/radio/src/ctx.d.ts +29 -29
- package/components/radio/src/index.vue.d.ts +64 -64
- package/components/select/index.css +0 -2
- package/components/select/{index.js → index.mjs} +49 -48
- package/components/select/src/ctx.d.ts +31 -85
- package/components/select/src/index.vue.d.ts +121 -230
- package/components/slider/{index.js → index.mjs} +28 -24
- package/components/slider/src/ctx.d.ts +35 -35
- package/components/slider/src/index.vue.d.ts +93 -93
- package/components/switch/index.css +0 -2
- package/components/switch/{index.js → index.mjs} +29 -24
- package/components/switch/src/ctx.d.ts +40 -40
- package/components/switch/src/index.vue.d.ts +91 -91
- package/components/templates-default/index.mjs +302 -0
- package/components/templates-default/src/ctx.d.ts +2 -4
- package/components/templates-default/src/index.vue.d.ts +2 -8
- package/components/templates-element-plus/index.mjs +106 -0
- package/components/templates-esri/index.mjs +59 -0
- package/components/templates-layout/index.css +0 -3
- package/components/templates-layout/index.mjs +131 -0
- package/components/templates-mapbox/index.mjs +59 -0
- package/components/templates-variant/index.d.ts +4 -0
- package/components/templates-variant/index.mjs +64 -0
- package/components/templates-variant/src/ctx.d.ts +11 -0
- package/components/templates-variant/src/index.vue.d.ts +20 -0
- package/components/templates-variant/src/types.d.ts +2 -0
- package/components/upload/index.css +0 -7
- package/components/upload/index.mjs +501 -0
- package/components/upload/src/ctx.d.ts +36 -38
- package/components/upload/src/file.vue.d.ts +22 -21
- package/components/upload/src/index.vue.d.ts +78 -78
- package/components/upload-plus/index.css +4 -8
- package/components/upload-plus/{index.js → index.mjs} +9497 -926
- package/components/upload-plus/src/api.d.ts +1 -1
- package/components/upload-plus/src/ctx.d.ts +25 -28
- package/components/upload-plus/src/index.vue.d.ts +58 -58
- package/components/van-cascader/index.css +0 -2
- package/components/van-cascader/{index.js → index.mjs} +41 -44
- package/components/van-cascader/src/ctx.d.ts +35 -35
- package/components/van-cascader/src/index.vue.d.ts +82 -82
- package/components/var-datetime-picker/index.css +0 -2
- package/components/var-datetime-picker/index.mjs +324 -0
- package/components/var-datetime-picker/src/ctx.d.ts +27 -26
- package/components/var-datetime-picker/src/index.vue.d.ts +57 -57
- package/components/vditor/{index.js → index.mjs} +9 -14
- package/components/vditor/src/ctx.d.ts +2 -1
- package/components/vditor/src/index.vue.d.ts +2 -3
- package/composables/index.mjs +85 -0
- package/composables/useSourceManager.d.ts +2 -2
- package/defaults.d.ts +1 -1
- package/index.css +22 -168
- package/index.d.ts +1 -1
- package/index.esm.js +44 -1
- package/package.json +257 -2
- package/shared/const/index.d.ts +1 -1
- package/shared/const/index.mjs +56 -0
- package/shared/element-plus/ctx.d.ts +26 -94
- package/shared/element-plus/index.mjs +285 -0
- package/shared/element-plus/instances.d.ts +29 -28
- package/shared/form/index.mjs +30 -0
- package/shared/helper/index.mjs +9 -0
- package/shared/index.mjs +1 -0
- package/shared/infer-prop/index.mjs +34 -0
- package/shared/progress-it/index.mjs +38 -0
- package/shared/rules/index.mjs +53 -0
- package/shared/types/source/index.d.ts +2 -1
- package/shared/upload/index.mjs +771 -0
- package/components/button/src/ctx.js +0 -1
- package/components/cascader/src/ctx.js +0 -1
- package/components/cascader/src/types.js +0 -1
- package/components/cascader/src/use.js +0 -1
- package/components/checkbox/src/ctx.js +0 -1
- package/components/checkbox/src/index.css +0 -1
- package/components/checkbox/src/types.js +0 -1
- package/components/color-picker/index.css +0 -1
- package/components/color-picker/src/ctx.js +0 -1
- package/components/color-picker/src/index.css +0 -1
- package/components/color-picker/src/types.js +0 -1
- package/components/date-picker/index.css +0 -1
- package/components/date-picker/src/ctx.js +0 -1
- package/components/date-picker/src/index.css +0 -1
- package/components/date-picker/src/types.js +0 -1
- package/components/download-plus/src/api.js +0 -1
- package/components/download-plus/src/const.js +0 -1
- package/components/download-plus/src/ctx.js +0 -1
- package/components/download-plus/src/index.css +0 -1
- package/components/download-plus/src/types.js +0 -1
- package/components/esri-input-geojson/index.js +0 -1563
- package/components/esri-input-geojson/src/const.js +0 -1
- package/components/esri-input-geojson/src/ctx.js +0 -1
- package/components/esri-input-geojson/src/index.css +0 -1
- package/components/esri-input-geojson/src/types.js +0 -1
- package/components/form/index.css +0 -1
- package/components/form/src/ctx.js +0 -1
- package/components/form/src/index.css +0 -1
- package/components/form/src/types.js +0 -1
- package/components/form/src/utils.js +0 -1
- package/components/form-item/src/ctx.js +0 -1
- package/components/form-item/src/index.css +0 -1
- package/components/form-item/src/types.js +0 -1
- package/components/form-item-renderer/index.css +0 -1
- package/components/form-item-renderer/src/ctx.js +0 -1
- package/components/form-item-renderer/src/index.css +0 -1
- package/components/form-item-renderer/src/symbols.js +0 -1
- package/components/form-item-renderer/src/types.js +0 -1
- package/components/form-item-renderer-template/index.css +0 -1
- package/components/form-item-renderer-template/src/ctx.js +0 -1
- package/components/form-item-renderer-template/src/index.css +0 -1
- package/components/form-item-renderer-template/src/types.js +0 -1
- package/components/geoinput/index.css +0 -1
- package/components/geoinput/src/ctx.js +0 -1
- package/components/geoinput/src/index.css +0 -1
- package/components/geoinput/src/types.js +0 -1
- package/components/geoinput-read/src/ctx.js +0 -1
- package/components/geoinput-read/src/index.css +0 -1
- package/components/geoinput-read/src/types.js +0 -1
- package/components/geoinput-update/index.js +0 -930
- package/components/geoinput-update/src/ctx.js +0 -1
- package/components/geoinput-update/src/index.css +0 -1
- package/components/geoinput-update/src/types.js +0 -1
- package/components/input/index.css +0 -1
- package/components/input/src/ctx.js +0 -1
- package/components/input/src/index.css +0 -1
- package/components/input/src/types.js +0 -1
- package/components/input-link/index.js +0 -163
- package/components/input-link/src/ctx.js +0 -1
- package/components/input-link/src/index.css +0 -1
- package/components/input-link/src/types.js +0 -1
- package/components/input-number/src/ctx.js +0 -1
- package/components/input-number/src/index.css +0 -1
- package/components/input-number/src/types.js +0 -1
- package/components/radio/src/ctx.js +0 -1
- package/components/radio/src/index.css +0 -1
- package/components/radio/src/types.js +0 -1
- package/components/select/src/ctx.js +0 -1
- package/components/select/src/index.css +0 -1
- package/components/select/src/types.js +0 -1
- package/components/slider/index.css +0 -1
- package/components/slider/src/ctx.js +0 -1
- package/components/slider/src/index.css +0 -1
- package/components/slider/src/types.js +0 -1
- package/components/switch/src/ctx.js +0 -1
- package/components/switch/src/index.css +0 -1
- package/components/switch/src/types.js +0 -1
- package/components/templates-default/index.css +0 -1
- package/components/templates-default/index.js +0 -347
- package/components/templates-default/src/ctx.js +0 -1
- package/components/templates-default/src/index.css +0 -1
- package/components/templates-default/src/types.js +0 -1
- package/components/templates-element-plus/index.css +0 -1
- package/components/templates-element-plus/index.js +0 -110
- package/components/templates-element-plus/src/ctx.js +0 -1
- package/components/templates-element-plus/src/index.css +0 -1
- package/components/templates-element-plus/src/types.js +0 -1
- package/components/templates-esri/index.css +0 -1
- package/components/templates-esri/index.js +0 -65
- package/components/templates-esri/src/ctx.js +0 -1
- package/components/templates-esri/src/index.css +0 -1
- package/components/templates-esri/src/types.js +0 -1
- package/components/templates-layout/index.js +0 -141
- package/components/templates-layout/src/ctx.js +0 -1
- package/components/templates-layout/src/index.css +0 -1
- package/components/templates-layout/src/types.js +0 -1
- package/components/templates-mapbox/index.css +0 -1
- package/components/templates-mapbox/index.js +0 -65
- package/components/templates-mapbox/src/ctx.js +0 -1
- package/components/templates-mapbox/src/index.css +0 -1
- package/components/templates-mapbox/src/types.js +0 -1
- package/components/upload/index.js +0 -565
- package/components/upload/src/ctx.js +0 -1
- package/components/upload/src/index.css +0 -1
- package/components/upload/src/types.js +0 -1
- package/components/upload-plus/src/api.js +0 -28
- package/components/upload-plus/src/const.js +0 -1
- package/components/upload-plus/src/ctx.js +0 -1
- package/components/upload-plus/src/index.css +0 -1
- package/components/upload-plus/src/types.js +0 -1
- package/components/van-cascader/src/ctx.js +0 -1
- package/components/van-cascader/src/index.css +0 -1
- package/components/van-cascader/src/types.js +0 -1
- package/components/var-datetime-picker/index.js +0 -299
- package/components/var-datetime-picker/src/const.js +0 -1
- package/components/var-datetime-picker/src/ctx.js +0 -1
- package/components/var-datetime-picker/src/index.css +0 -1
- package/components/var-datetime-picker/src/types.js +0 -1
- package/components/vditor/index.css +0 -1
- package/components/vditor/src/ctx.js +0 -1
- package/components/vditor/src/index.css +0 -1
- package/components/vditor/src/types.js +0 -1
- package/composables/index.css +0 -1
- package/composables/index.js +0 -1
- package/shared/const/index.css +0 -1
- package/shared/const/index.js +0 -1
- package/shared/element-plus/index.css +0 -1
- package/shared/element-plus/index.js +0 -1
- package/shared/form/index.css +0 -1
- package/shared/form/index.js +0 -1
- package/shared/helper/index.css +0 -1
- package/shared/helper/index.js +0 -1
- package/shared/index.css +0 -1
- package/shared/index.js +0 -1
- package/shared/infer-prop/index.css +0 -1
- package/shared/infer-prop/index.js +0 -1
- package/shared/progress-it/index.css +0 -1
- package/shared/progress-it/index.js +0 -1
- package/shared/rules/index.css +0 -1
- package/shared/rules/index.js +0 -1
- package/shared/types/form/index.css +0 -1
- package/shared/types/form/index.js +0 -1
- package/shared/types/index.css +0 -1
- package/shared/types/index.js +0 -1
- package/shared/types/source/index.css +0 -1
- package/shared/types/source/index.js +0 -1
- package/shared/types/source-manager/index.css +0 -1
- package/shared/types/source-manager/index.js +0 -1
- package/shared/upload/index.css +0 -1
- package/shared/upload/index.js +0 -1
- /package/{components/button/index.css → shared/types/form/index.mjs} +0 -0
- /package/{components/button/src/index.css → shared/types/index.mjs} +0 -0
- /package/{components/cascader/src/index.css → shared/types/source/index.mjs} +0 -0
- /package/{components/button/src/types.js → shared/types/source-manager/index.mjs} +0 -0
|
@@ -1,61 +1,7 @@
|
|
|
1
|
+
import { ElOption } from 'element-plus';
|
|
1
2
|
declare const _default: import("vue").DefineComponent<{
|
|
2
3
|
options: {
|
|
3
|
-
type: import("vue").PropType<import("@vunk/core").VueComponentPropsType<
|
|
4
|
-
value: {
|
|
5
|
-
required: true;
|
|
6
|
-
type: (BooleanConstructor | StringConstructor | NumberConstructor | ObjectConstructor)[];
|
|
7
|
-
};
|
|
8
|
-
label: (StringConstructor | NumberConstructor)[];
|
|
9
|
-
created: BooleanConstructor;
|
|
10
|
-
disabled: BooleanConstructor;
|
|
11
|
-
}, {
|
|
12
|
-
ns: {
|
|
13
|
-
namespace: import("vue").ComputedRef<string>;
|
|
14
|
-
b: (blockSuffix?: string) => string;
|
|
15
|
-
e: (element?: string) => string;
|
|
16
|
-
m: (modifier?: string) => string;
|
|
17
|
-
be: (blockSuffix?: string, element?: string) => string;
|
|
18
|
-
em: (element?: string, modifier?: string) => string;
|
|
19
|
-
bm: (blockSuffix?: string, modifier?: string) => string;
|
|
20
|
-
bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
|
|
21
|
-
is: {
|
|
22
|
-
(name: string, state: boolean): string;
|
|
23
|
-
(name: string): string;
|
|
24
|
-
};
|
|
25
|
-
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
26
|
-
cssVarName: (name: string) => string;
|
|
27
|
-
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
28
|
-
cssVarBlockName: (name: string) => string;
|
|
29
|
-
};
|
|
30
|
-
id: import("vue").Ref<string>;
|
|
31
|
-
containerKls: import("vue").ComputedRef<string[]>;
|
|
32
|
-
currentLabel: import("vue").ComputedRef<any>;
|
|
33
|
-
itemSelected: import("vue").ComputedRef<boolean>;
|
|
34
|
-
isDisabled: import("vue").ComputedRef<any>;
|
|
35
|
-
select: import("element-plus").SelectContext;
|
|
36
|
-
hoverItem: () => void;
|
|
37
|
-
updateOption: (query: string) => void;
|
|
38
|
-
visible: import("vue").Ref<boolean>;
|
|
39
|
-
hover: import("vue").Ref<boolean>;
|
|
40
|
-
selectOptionClick: () => void;
|
|
41
|
-
states: {
|
|
42
|
-
index: number;
|
|
43
|
-
groupDisabled: boolean;
|
|
44
|
-
visible: boolean;
|
|
45
|
-
hover: boolean;
|
|
46
|
-
};
|
|
47
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
48
|
-
value: {
|
|
49
|
-
required: true;
|
|
50
|
-
type: (BooleanConstructor | StringConstructor | NumberConstructor | ObjectConstructor)[];
|
|
51
|
-
};
|
|
52
|
-
label: (StringConstructor | NumberConstructor)[];
|
|
53
|
-
created: BooleanConstructor;
|
|
54
|
-
disabled: BooleanConstructor;
|
|
55
|
-
}>>, {
|
|
56
|
-
disabled: boolean;
|
|
57
|
-
created: boolean;
|
|
58
|
-
}, {}>>>[]>;
|
|
4
|
+
type: import("vue").PropType<import("@vunk/core").VueComponentPropsType<typeof ElOption>[]>;
|
|
59
5
|
default: () => any[];
|
|
60
6
|
};
|
|
61
7
|
selectSlots: {
|
|
@@ -70,7 +16,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
70
16
|
name: StringConstructor;
|
|
71
17
|
id: StringConstructor;
|
|
72
18
|
modelValue: {
|
|
73
|
-
type: (BooleanConstructor | StringConstructor |
|
|
19
|
+
type: (BooleanConstructor | StringConstructor | ObjectConstructor | NumberConstructor | ArrayConstructor)[];
|
|
74
20
|
default: any;
|
|
75
21
|
};
|
|
76
22
|
autocomplete: {
|
|
@@ -79,10 +25,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
79
25
|
};
|
|
80
26
|
automaticDropdown: BooleanConstructor;
|
|
81
27
|
size: {
|
|
82
|
-
type: import("vue").PropType<""
|
|
28
|
+
type: import("vue").PropType<import("element-plus").ComponentSize>;
|
|
83
29
|
};
|
|
84
30
|
effect: {
|
|
85
|
-
type: import("vue").PropType<string>;
|
|
31
|
+
type: import("vue").PropType<"light" | "dark" | string>;
|
|
86
32
|
default: string;
|
|
87
33
|
};
|
|
88
34
|
disabled: BooleanConstructor;
|
|
@@ -143,40 +89,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
143
89
|
default: string;
|
|
144
90
|
type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown>>;
|
|
145
91
|
required: false;
|
|
146
|
-
validator: (val: unknown) => boolean;
|
|
147
|
-
__epPropKey: true;
|
|
148
|
-
};
|
|
149
|
-
label: StringConstructor;
|
|
150
|
-
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
151
|
-
prop: {
|
|
152
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp))[], unknown, unknown>>;
|
|
153
|
-
readonly required: false;
|
|
154
|
-
readonly validator: (val: unknown) => boolean;
|
|
92
|
+
validator: ((val: unknown) => boolean) | undefined;
|
|
155
93
|
__epPropKey: true;
|
|
156
94
|
};
|
|
157
95
|
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
158
|
-
rules: {
|
|
159
|
-
readonly type: import("vue").PropType<unknown>;
|
|
160
|
-
readonly required: false;
|
|
161
|
-
readonly validator: (val: unknown) => boolean;
|
|
162
|
-
__epPropKey: true;
|
|
163
|
-
};
|
|
164
|
-
error: StringConstructor;
|
|
165
|
-
validateStatus: {
|
|
166
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
167
|
-
readonly required: false;
|
|
168
|
-
readonly validator: (val: unknown) => boolean;
|
|
169
|
-
__epPropKey: true;
|
|
170
|
-
};
|
|
171
|
-
for: StringConstructor;
|
|
172
|
-
inlineMessage: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
173
|
-
showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
174
96
|
formItemSize: {
|
|
175
97
|
type: import("vue").PropType<"default" | "small" | "large">;
|
|
176
98
|
default: "default" | "small" | "large";
|
|
177
99
|
};
|
|
178
100
|
formItemSlots: {
|
|
179
|
-
type: import("vue").PropType<import("
|
|
101
|
+
type: import("vue").PropType<import("@vunk/form/components/form-item/src/types").FormItemSlots>;
|
|
180
102
|
default: any;
|
|
181
103
|
};
|
|
182
104
|
elRef: {
|
|
@@ -195,62 +117,86 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
195
117
|
type: import("vue").PropType<"right">;
|
|
196
118
|
default: string;
|
|
197
119
|
};
|
|
120
|
+
label: StringConstructor;
|
|
121
|
+
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
122
|
+
prop: {
|
|
123
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemProp & {}) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => import("element-plus").FormItemProp & {}) | (() => import("element-plus").FormItemProp))[], unknown, unknown>>;
|
|
124
|
+
readonly required: false;
|
|
125
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
126
|
+
__epPropKey: true;
|
|
127
|
+
};
|
|
128
|
+
rules: {
|
|
129
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>) | ((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>))[], unknown, unknown>>;
|
|
130
|
+
readonly required: false;
|
|
131
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
132
|
+
__epPropKey: true;
|
|
133
|
+
};
|
|
134
|
+
error: StringConstructor;
|
|
135
|
+
validateStatus: {
|
|
136
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
|
|
137
|
+
readonly required: false;
|
|
138
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
139
|
+
__epPropKey: true;
|
|
140
|
+
};
|
|
141
|
+
for: StringConstructor;
|
|
142
|
+
inlineMessage: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
143
|
+
showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
198
144
|
}, {
|
|
199
145
|
formItemBindProps: import("vue").ComputedRef<{}>;
|
|
200
146
|
selectBindProps: import("vue").ComputedRef<{
|
|
201
147
|
size: "" | "default" | "small" | "large";
|
|
202
|
-
name: string;
|
|
203
148
|
loading: boolean;
|
|
149
|
+
name: string;
|
|
204
150
|
id: string;
|
|
205
|
-
autocomplete: string;
|
|
206
151
|
placeholder: string;
|
|
207
152
|
clearable: boolean;
|
|
153
|
+
filterable: boolean;
|
|
154
|
+
filterMethod: Function;
|
|
155
|
+
collapseTags: boolean;
|
|
156
|
+
collapseTagsTooltip: boolean;
|
|
157
|
+
popperClass: string;
|
|
158
|
+
teleported: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
159
|
+
tagType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown>;
|
|
160
|
+
multiple: boolean;
|
|
161
|
+
clearIcon: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
162
|
+
autocomplete: string;
|
|
208
163
|
suffixIcon: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
209
164
|
automaticDropdown: boolean;
|
|
210
165
|
effect: string;
|
|
211
|
-
filterable: boolean;
|
|
212
166
|
allowCreate: boolean;
|
|
213
|
-
popperClass: string;
|
|
214
167
|
remote: boolean;
|
|
215
168
|
loadingText: string;
|
|
216
169
|
noMatchText: string;
|
|
217
170
|
noDataText: string;
|
|
218
171
|
remoteMethod: Function;
|
|
219
|
-
filterMethod: Function;
|
|
220
|
-
multiple: boolean;
|
|
221
172
|
multipleLimit: number;
|
|
222
173
|
defaultFirstOption: boolean;
|
|
223
174
|
reserveKeyword: boolean;
|
|
224
175
|
valueKey: string;
|
|
225
|
-
collapseTags: boolean;
|
|
226
|
-
collapseTagsTooltip: boolean;
|
|
227
|
-
teleported: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
228
176
|
persistent: boolean;
|
|
229
|
-
clearIcon: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
230
177
|
fitInputWidth: boolean;
|
|
231
|
-
tagType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown>;
|
|
232
178
|
}>;
|
|
233
179
|
selectOnEmits: {};
|
|
234
180
|
selectOptions: import("vue").ComputedRef<(import("@vunk/core").VueComponentPropsType<import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
235
181
|
value: {
|
|
236
182
|
required: true;
|
|
237
|
-
type: (
|
|
183
|
+
type: (ObjectConstructor | NumberConstructor | BooleanConstructor | StringConstructor)[];
|
|
238
184
|
};
|
|
239
|
-
label: (
|
|
185
|
+
label: (NumberConstructor | StringConstructor)[];
|
|
240
186
|
created: BooleanConstructor;
|
|
241
187
|
disabled: BooleanConstructor;
|
|
242
188
|
}, {
|
|
243
189
|
ns: {
|
|
244
190
|
namespace: import("vue").ComputedRef<string>;
|
|
245
191
|
b: (blockSuffix?: string) => string;
|
|
246
|
-
e: (element?: string) => string;
|
|
247
|
-
m: (modifier?: string) => string;
|
|
248
|
-
be: (blockSuffix?: string, element?: string) => string;
|
|
249
|
-
em: (element?: string, modifier?: string) => string;
|
|
250
|
-
bm: (blockSuffix?: string, modifier?: string) => string;
|
|
251
|
-
bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
|
|
192
|
+
e: (element?: string | undefined) => string;
|
|
193
|
+
m: (modifier?: string | undefined) => string;
|
|
194
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
195
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
196
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
197
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
252
198
|
is: {
|
|
253
|
-
(name: string, state: boolean): string;
|
|
199
|
+
(name: string, state: boolean | undefined): string;
|
|
254
200
|
(name: string): string;
|
|
255
201
|
};
|
|
256
202
|
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
@@ -263,7 +209,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
263
209
|
currentLabel: import("vue").ComputedRef<any>;
|
|
264
210
|
itemSelected: import("vue").ComputedRef<boolean>;
|
|
265
211
|
isDisabled: import("vue").ComputedRef<any>;
|
|
266
|
-
select: import("element-plus").SelectContext;
|
|
212
|
+
select: import("element-plus").SelectContext | undefined;
|
|
267
213
|
hoverItem: () => void;
|
|
268
214
|
updateOption: (query: string) => void;
|
|
269
215
|
visible: import("vue").Ref<boolean>;
|
|
@@ -278,9 +224,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
278
224
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
279
225
|
value: {
|
|
280
226
|
required: true;
|
|
281
|
-
type: (
|
|
227
|
+
type: (ObjectConstructor | NumberConstructor | BooleanConstructor | StringConstructor)[];
|
|
282
228
|
};
|
|
283
|
-
label: (
|
|
229
|
+
label: (NumberConstructor | StringConstructor)[];
|
|
284
230
|
created: BooleanConstructor;
|
|
285
231
|
disabled: BooleanConstructor;
|
|
286
232
|
}>>, {
|
|
@@ -301,62 +247,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
301
247
|
blur: any;
|
|
302
248
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
303
249
|
options: {
|
|
304
|
-
type: import("vue").PropType<import("@vunk/core").VueComponentPropsType<
|
|
305
|
-
value: {
|
|
306
|
-
required: true;
|
|
307
|
-
type: (BooleanConstructor | StringConstructor | NumberConstructor | ObjectConstructor)[];
|
|
308
|
-
};
|
|
309
|
-
label: (StringConstructor | NumberConstructor)[];
|
|
310
|
-
created: BooleanConstructor;
|
|
311
|
-
disabled: BooleanConstructor;
|
|
312
|
-
}, {
|
|
313
|
-
ns: {
|
|
314
|
-
namespace: import("vue").ComputedRef<string>;
|
|
315
|
-
b: (blockSuffix?: string) => string;
|
|
316
|
-
e: (element?: string) => string;
|
|
317
|
-
m: (modifier?: string) => string;
|
|
318
|
-
be: (blockSuffix?: string, element?: string) => string;
|
|
319
|
-
em: (element?: string, modifier?: string) => string;
|
|
320
|
-
bm: (blockSuffix?: string, modifier?: string) => string;
|
|
321
|
-
bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
|
|
322
|
-
is: {
|
|
323
|
-
(name: string, state: boolean): string;
|
|
324
|
-
(name: string): string;
|
|
325
|
-
};
|
|
326
|
-
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
327
|
-
cssVarName: (name: string) => string;
|
|
328
|
-
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
329
|
-
cssVarBlockName: (name: string) => string;
|
|
330
|
-
};
|
|
331
|
-
id: import("vue").Ref<string>;
|
|
332
|
-
containerKls: import("vue").ComputedRef<string[]>;
|
|
333
|
-
currentLabel: import("vue").ComputedRef<any>;
|
|
334
|
-
itemSelected: import("vue").ComputedRef<boolean>;
|
|
335
|
-
isDisabled: import("vue").ComputedRef<any>;
|
|
336
|
-
select: import("element-plus").SelectContext;
|
|
337
|
-
hoverItem: () => void;
|
|
338
|
-
updateOption: (query: string) => void;
|
|
339
|
-
visible: import("vue").Ref<boolean>;
|
|
340
|
-
hover: import("vue").Ref<boolean>;
|
|
341
|
-
selectOptionClick: () => void;
|
|
342
|
-
states: {
|
|
343
|
-
index: number;
|
|
344
|
-
groupDisabled: boolean;
|
|
345
|
-
visible: boolean;
|
|
346
|
-
hover: boolean;
|
|
347
|
-
};
|
|
348
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
349
|
-
value: {
|
|
350
|
-
required: true;
|
|
351
|
-
type: (BooleanConstructor | StringConstructor | NumberConstructor | ObjectConstructor)[];
|
|
352
|
-
};
|
|
353
|
-
label: (StringConstructor | NumberConstructor)[];
|
|
354
|
-
created: BooleanConstructor;
|
|
355
|
-
disabled: BooleanConstructor;
|
|
356
|
-
}>>, {
|
|
357
|
-
disabled: boolean;
|
|
358
|
-
created: boolean;
|
|
359
|
-
}, {}>>>[]>;
|
|
250
|
+
type: import("vue").PropType<import("@vunk/core").VueComponentPropsType<typeof ElOption>[]>;
|
|
360
251
|
default: () => any[];
|
|
361
252
|
};
|
|
362
253
|
selectSlots: {
|
|
@@ -371,7 +262,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
371
262
|
name: StringConstructor;
|
|
372
263
|
id: StringConstructor;
|
|
373
264
|
modelValue: {
|
|
374
|
-
type: (BooleanConstructor | StringConstructor |
|
|
265
|
+
type: (BooleanConstructor | StringConstructor | ObjectConstructor | NumberConstructor | ArrayConstructor)[];
|
|
375
266
|
default: any;
|
|
376
267
|
};
|
|
377
268
|
autocomplete: {
|
|
@@ -380,10 +271,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
380
271
|
};
|
|
381
272
|
automaticDropdown: BooleanConstructor;
|
|
382
273
|
size: {
|
|
383
|
-
type: import("vue").PropType<""
|
|
274
|
+
type: import("vue").PropType<import("element-plus").ComponentSize>;
|
|
384
275
|
};
|
|
385
276
|
effect: {
|
|
386
|
-
type: import("vue").PropType<string>;
|
|
277
|
+
type: import("vue").PropType<"light" | "dark" | string>;
|
|
387
278
|
default: string;
|
|
388
279
|
};
|
|
389
280
|
disabled: BooleanConstructor;
|
|
@@ -444,40 +335,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
444
335
|
default: string;
|
|
445
336
|
type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown>>;
|
|
446
337
|
required: false;
|
|
447
|
-
validator: (val: unknown) => boolean;
|
|
448
|
-
__epPropKey: true;
|
|
449
|
-
};
|
|
450
|
-
label: StringConstructor;
|
|
451
|
-
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
452
|
-
prop: {
|
|
453
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp))[], unknown, unknown>>;
|
|
454
|
-
readonly required: false;
|
|
455
|
-
readonly validator: (val: unknown) => boolean;
|
|
338
|
+
validator: ((val: unknown) => boolean) | undefined;
|
|
456
339
|
__epPropKey: true;
|
|
457
340
|
};
|
|
458
341
|
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
459
|
-
rules: {
|
|
460
|
-
readonly type: import("vue").PropType<unknown>;
|
|
461
|
-
readonly required: false;
|
|
462
|
-
readonly validator: (val: unknown) => boolean;
|
|
463
|
-
__epPropKey: true;
|
|
464
|
-
};
|
|
465
|
-
error: StringConstructor;
|
|
466
|
-
validateStatus: {
|
|
467
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
468
|
-
readonly required: false;
|
|
469
|
-
readonly validator: (val: unknown) => boolean;
|
|
470
|
-
__epPropKey: true;
|
|
471
|
-
};
|
|
472
|
-
for: StringConstructor;
|
|
473
|
-
inlineMessage: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
474
|
-
showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
475
342
|
formItemSize: {
|
|
476
343
|
type: import("vue").PropType<"default" | "small" | "large">;
|
|
477
344
|
default: "default" | "small" | "large";
|
|
478
345
|
};
|
|
479
346
|
formItemSlots: {
|
|
480
|
-
type: import("vue").PropType<import("
|
|
347
|
+
type: import("vue").PropType<import("@vunk/form/components/form-item/src/types").FormItemSlots>;
|
|
481
348
|
default: any;
|
|
482
349
|
};
|
|
483
350
|
elRef: {
|
|
@@ -496,69 +363,78 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
496
363
|
type: import("vue").PropType<"right">;
|
|
497
364
|
default: string;
|
|
498
365
|
};
|
|
366
|
+
label: StringConstructor;
|
|
367
|
+
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
368
|
+
prop: {
|
|
369
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemProp & {}) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => import("element-plus").FormItemProp & {}) | (() => import("element-plus").FormItemProp))[], unknown, unknown>>;
|
|
370
|
+
readonly required: false;
|
|
371
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
372
|
+
__epPropKey: true;
|
|
373
|
+
};
|
|
374
|
+
rules: {
|
|
375
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>) | ((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>))[], unknown, unknown>>;
|
|
376
|
+
readonly required: false;
|
|
377
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
378
|
+
__epPropKey: true;
|
|
379
|
+
};
|
|
380
|
+
error: StringConstructor;
|
|
381
|
+
validateStatus: {
|
|
382
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
|
|
383
|
+
readonly required: false;
|
|
384
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
385
|
+
__epPropKey: true;
|
|
386
|
+
};
|
|
387
|
+
for: StringConstructor;
|
|
388
|
+
inlineMessage: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
389
|
+
showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
499
390
|
}>> & {
|
|
500
391
|
onChange?: (...args: any[] | unknown[]) => any;
|
|
501
392
|
"onUpdate:modelValue"?: (...args: any[] | unknown[]) => any;
|
|
502
393
|
onFocus?: (...args: any[] | unknown[]) => any;
|
|
503
394
|
onBlur?: (...args: any[] | unknown[]) => any;
|
|
504
|
-
onClear?: (...args: any[] | unknown[]) => any;
|
|
505
395
|
"onVisible-change"?: (...args: any[] | unknown[]) => any;
|
|
396
|
+
onClear?: (...args: any[] | unknown[]) => any;
|
|
506
397
|
"onRemove-tag"?: (...args: any[] | unknown[]) => any;
|
|
507
398
|
}, {
|
|
508
|
-
|
|
399
|
+
disabled: boolean;
|
|
400
|
+
loading: boolean;
|
|
509
401
|
required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
510
|
-
inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
|
|
511
|
-
showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
512
402
|
formItemSize: "default" | "small" | "large";
|
|
513
|
-
formItemSlots: import("
|
|
403
|
+
formItemSlots: import("@vunk/form/components/form-item/src/types").FormItemSlots;
|
|
514
404
|
inline: boolean;
|
|
515
405
|
readonly: boolean;
|
|
516
406
|
labelPosition: "right";
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
autocomplete: string;
|
|
407
|
+
labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
408
|
+
inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
|
|
409
|
+
showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
521
410
|
clearable: boolean;
|
|
522
|
-
suffixIcon: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
523
|
-
defaultModelValue: any;
|
|
524
|
-
automaticDropdown: boolean;
|
|
525
|
-
effect: string;
|
|
526
411
|
filterable: boolean;
|
|
527
|
-
allowCreate: boolean;
|
|
528
|
-
popperClass: string;
|
|
529
|
-
remote: boolean;
|
|
530
|
-
multiple: boolean;
|
|
531
|
-
multipleLimit: number;
|
|
532
|
-
defaultFirstOption: boolean;
|
|
533
|
-
reserveKeyword: boolean;
|
|
534
|
-
valueKey: string;
|
|
535
412
|
collapseTags: boolean;
|
|
536
413
|
collapseTagsTooltip: boolean;
|
|
414
|
+
popperClass: string;
|
|
537
415
|
teleported: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
538
|
-
persistent: boolean;
|
|
539
|
-
clearIcon: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
540
|
-
fitInputWidth: boolean;
|
|
541
416
|
tagType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown>;
|
|
417
|
+
modelValue: string | number | boolean | unknown[] | Record<string, any>;
|
|
542
418
|
options: import("@vunk/core").VueComponentPropsType<import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
543
419
|
value: {
|
|
544
420
|
required: true;
|
|
545
|
-
type: (
|
|
421
|
+
type: (ObjectConstructor | NumberConstructor | BooleanConstructor | StringConstructor)[];
|
|
546
422
|
};
|
|
547
|
-
label: (
|
|
423
|
+
label: (NumberConstructor | StringConstructor)[];
|
|
548
424
|
created: BooleanConstructor;
|
|
549
425
|
disabled: BooleanConstructor;
|
|
550
426
|
}, {
|
|
551
427
|
ns: {
|
|
552
428
|
namespace: import("vue").ComputedRef<string>;
|
|
553
429
|
b: (blockSuffix?: string) => string;
|
|
554
|
-
e: (element?: string) => string;
|
|
555
|
-
m: (modifier?: string) => string;
|
|
556
|
-
be: (blockSuffix?: string, element?: string) => string;
|
|
557
|
-
em: (element?: string, modifier?: string) => string;
|
|
558
|
-
bm: (blockSuffix?: string, modifier?: string) => string;
|
|
559
|
-
bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
|
|
430
|
+
e: (element?: string | undefined) => string;
|
|
431
|
+
m: (modifier?: string | undefined) => string;
|
|
432
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
433
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
434
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
435
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
560
436
|
is: {
|
|
561
|
-
(name: string, state: boolean): string;
|
|
437
|
+
(name: string, state: boolean | undefined): string;
|
|
562
438
|
(name: string): string;
|
|
563
439
|
};
|
|
564
440
|
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
@@ -571,7 +447,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
571
447
|
currentLabel: import("vue").ComputedRef<any>;
|
|
572
448
|
itemSelected: import("vue").ComputedRef<boolean>;
|
|
573
449
|
isDisabled: import("vue").ComputedRef<any>;
|
|
574
|
-
select: import("element-plus").SelectContext;
|
|
450
|
+
select: import("element-plus").SelectContext | undefined;
|
|
575
451
|
hoverItem: () => void;
|
|
576
452
|
updateOption: (query: string) => void;
|
|
577
453
|
visible: import("vue").Ref<boolean>;
|
|
@@ -586,16 +462,31 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
586
462
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
587
463
|
value: {
|
|
588
464
|
required: true;
|
|
589
|
-
type: (
|
|
465
|
+
type: (ObjectConstructor | NumberConstructor | BooleanConstructor | StringConstructor)[];
|
|
590
466
|
};
|
|
591
|
-
label: (
|
|
467
|
+
label: (NumberConstructor | StringConstructor)[];
|
|
592
468
|
created: BooleanConstructor;
|
|
593
469
|
disabled: BooleanConstructor;
|
|
594
470
|
}>>, {
|
|
595
471
|
disabled: boolean;
|
|
596
472
|
created: boolean;
|
|
597
473
|
}, {}>>>[];
|
|
598
|
-
|
|
474
|
+
multiple: boolean;
|
|
599
475
|
optionsUrl: string;
|
|
476
|
+
defaultModelValue: any;
|
|
477
|
+
clearIcon: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
478
|
+
autocomplete: string;
|
|
479
|
+
suffixIcon: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
480
|
+
automaticDropdown: boolean;
|
|
481
|
+
effect: string;
|
|
482
|
+
allowCreate: boolean;
|
|
483
|
+
remote: boolean;
|
|
484
|
+
multipleLimit: number;
|
|
485
|
+
defaultFirstOption: boolean;
|
|
486
|
+
reserveKeyword: boolean;
|
|
487
|
+
valueKey: string;
|
|
488
|
+
persistent: boolean;
|
|
489
|
+
fitInputWidth: boolean;
|
|
490
|
+
selectSlots: any;
|
|
600
491
|
}, {}>;
|
|
601
492
|
export default _default;
|
|
@@ -3,6 +3,7 @@ import { sliderProps, sliderEmits, ElSlider } from 'element-plus';
|
|
|
3
3
|
import { defineComponent, resolveComponent, openBlock, createBlock, normalizeProps, guardReactiveProps, withCtx, createVNode, mergeProps, toHandlers, renderSlot } from 'vue';
|
|
4
4
|
import { useComputedReadonly } from '@vunk/form/composables';
|
|
5
5
|
import { createSliderBindProps, createSliderOnEmits } from '@vunk/form/shared/element-plus';
|
|
6
|
+
import { _ as _export_sfc } from '../_plugin-vue_export-helper.mjs';
|
|
6
7
|
|
|
7
8
|
const props = {
|
|
8
9
|
..._VkfFormItemCtx.props,
|
|
@@ -14,7 +15,7 @@ const emits = {
|
|
|
14
15
|
...sliderEmits
|
|
15
16
|
};
|
|
16
17
|
|
|
17
|
-
var
|
|
18
|
+
var _sfc_main = defineComponent({
|
|
18
19
|
name: "VkfSlider",
|
|
19
20
|
components: {
|
|
20
21
|
ElSlider,
|
|
@@ -22,12 +23,13 @@ var script = defineComponent({
|
|
|
22
23
|
},
|
|
23
24
|
emits,
|
|
24
25
|
props,
|
|
25
|
-
setup(props2, {
|
|
26
|
-
emit
|
|
27
|
-
}) {
|
|
26
|
+
setup(props2, { emit }) {
|
|
28
27
|
const formItemBindProps = _VkfFormItemCtx.createBindProps(props2);
|
|
29
28
|
const readonly = useComputedReadonly(props2);
|
|
30
|
-
const coreProps = createSliderBindProps(props2, [
|
|
29
|
+
const coreProps = createSliderBindProps(props2, [
|
|
30
|
+
"modelValue",
|
|
31
|
+
"disabled"
|
|
32
|
+
]);
|
|
31
33
|
const coreEmits = createSliderOnEmits(emit);
|
|
32
34
|
return {
|
|
33
35
|
readonly,
|
|
@@ -38,25 +40,29 @@ var script = defineComponent({
|
|
|
38
40
|
}
|
|
39
41
|
});
|
|
40
42
|
|
|
41
|
-
function
|
|
43
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
42
44
|
const _component_ElSlider = resolveComponent("ElSlider");
|
|
43
45
|
const _component_VkfFormItem = resolveComponent("VkfFormItem");
|
|
44
46
|
return openBlock(), createBlock(
|
|
45
47
|
_component_VkfFormItem,
|
|
46
48
|
normalizeProps(guardReactiveProps(_ctx.formItemBindProps)),
|
|
47
49
|
{
|
|
48
|
-
default: withCtx(() => [
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
50
|
+
default: withCtx(() => [
|
|
51
|
+
createVNode(_component_ElSlider, mergeProps({
|
|
52
|
+
class: {
|
|
53
|
+
"is-readonly": _ctx.readonly
|
|
54
|
+
}
|
|
55
|
+
}, _ctx.coreProps, toHandlers(_ctx.coreEmits), {
|
|
56
|
+
"model-value": _ctx.modelValue ?? _ctx.defaultModelValue,
|
|
57
|
+
disabled: _ctx.readonly || _ctx.disabled
|
|
58
|
+
}), {
|
|
59
|
+
default: withCtx(() => [
|
|
60
|
+
renderSlot(_ctx.$slots, "default")
|
|
61
|
+
]),
|
|
62
|
+
_: 3
|
|
63
|
+
/* FORWARDED */
|
|
64
|
+
}, 16, ["class", "model-value", "disabled"])
|
|
65
|
+
]),
|
|
60
66
|
_: 3
|
|
61
67
|
/* FORWARDED */
|
|
62
68
|
},
|
|
@@ -64,16 +70,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
64
70
|
/* FULL_PROPS */
|
|
65
71
|
);
|
|
66
72
|
}
|
|
67
|
-
|
|
68
|
-
script.render = render;
|
|
69
|
-
script.__file = "slider/src/index.vue";
|
|
73
|
+
var VkfSlider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/home/runner/work/private-vunk-form/private-vunk-form/packages/components/slider/src/index.vue"]]);
|
|
70
74
|
|
|
71
75
|
var types = /*#__PURE__*/Object.freeze({
|
|
72
76
|
__proto__: null
|
|
73
77
|
});
|
|
74
78
|
|
|
75
|
-
|
|
76
|
-
app.component(
|
|
79
|
+
VkfSlider.install = (app) => {
|
|
80
|
+
app.component(VkfSlider.name, VkfSlider);
|
|
77
81
|
};
|
|
78
82
|
|
|
79
|
-
export {
|
|
83
|
+
export { VkfSlider, types as __VkfSlider, VkfSlider as default };
|