@vunk/form 1.1.21 → 1.1.24
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/esri-input-geojson/index.css +38 -0
- package/components/esri-input-geojson/index.d.ts +5 -0
- package/components/esri-input-geojson/index.js +1526 -0
- package/components/esri-input-geojson/src/append.vue.d.ts +30 -0
- package/components/esri-input-geojson/src/const.d.ts +8 -0
- package/components/esri-input-geojson/src/const.js +29 -0
- package/components/esri-input-geojson/src/ctx.d.ts +213 -0
- package/components/esri-input-geojson/src/ctx.js +90 -0
- package/components/esri-input-geojson/src/index.vue.d.ts +494 -0
- package/components/esri-input-geojson/src/types.d.ts +13 -0
- package/components/esri-input-geojson/src/types.js +1 -0
- package/components/esri-input-geojson/src/viewer.vue.d.ts +12 -0
- package/components/select/src/ctx.d.ts +4 -0
- package/components/select/src/index.vue.d.ts +16 -0
- package/components/slider/index.js +1 -4
- package/components/slider/src/ctx.d.ts +11 -15
- package/components/slider/src/ctx.js +1 -4
- package/components/slider/src/index.vue.d.ts +2 -9
- package/components/switch/index.js +1 -4
- package/components/switch/src/ctx.d.ts +25 -17
- package/components/switch/src/ctx.js +1 -4
- package/components/switch/src/index.vue.d.ts +28 -9
- package/components/templates-esri/index.d.ts +4 -0
- package/components/templates-esri/index.js +64 -0
- package/components/templates-esri/src/ctx.d.ts +11 -0
- package/components/templates-esri/src/ctx.js +11 -0
- package/components/templates-esri/src/index.vue.d.ts +20 -0
- package/components/templates-esri/src/types.d.ts +2 -0
- package/components/templates-esri/src/types.js +1 -0
- package/index.css +39 -0
- package/package.json +1 -1
- package/shared/element-plus/ctx.d.ts +1 -1
- package/shared/types/source/index.d.ts +2 -1
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
1
|
export declare const props: {
|
|
3
|
-
modelValue:
|
|
4
|
-
type: PropType<any>;
|
|
5
|
-
default: undefined;
|
|
6
|
-
};
|
|
2
|
+
modelValue: null;
|
|
7
3
|
defaultModelValue: null;
|
|
8
4
|
id: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
9
5
|
min: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
@@ -12,13 +8,13 @@ export declare const props: {
|
|
|
12
8
|
showInput: BooleanConstructor;
|
|
13
9
|
showInputControls: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
14
10
|
size: {
|
|
15
|
-
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
11
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
16
12
|
readonly required: false;
|
|
17
13
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
18
14
|
__epPropKey: true;
|
|
19
15
|
};
|
|
20
16
|
inputSize: {
|
|
21
|
-
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
17
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
22
18
|
readonly required: false;
|
|
23
19
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
24
20
|
__epPropKey: true;
|
|
@@ -54,7 +50,7 @@ export declare const props: {
|
|
|
54
50
|
tooltipClass: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
55
51
|
placement: import("element-plus/es/utils").EpPropFinalized<StringConstructor, import("element-plus").Placement, unknown, "top", boolean>;
|
|
56
52
|
marks: {
|
|
57
|
-
readonly type: PropType<{
|
|
53
|
+
readonly type: import("vue").PropType<{
|
|
58
54
|
[x: number]: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | {
|
|
59
55
|
style: import("vue").CSSProperties;
|
|
60
56
|
label: any;
|
|
@@ -77,20 +73,20 @@ export declare const props: {
|
|
|
77
73
|
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
78
74
|
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
79
75
|
prop: {
|
|
80
|
-
readonly type: 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>>;
|
|
76
|
+
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>>;
|
|
81
77
|
readonly required: false;
|
|
82
78
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
83
79
|
__epPropKey: true;
|
|
84
80
|
};
|
|
85
81
|
rules: {
|
|
86
|
-
readonly type: 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>>;
|
|
82
|
+
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>>;
|
|
87
83
|
readonly required: false;
|
|
88
84
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
89
85
|
__epPropKey: true;
|
|
90
86
|
};
|
|
91
87
|
error: StringConstructor;
|
|
92
88
|
validateStatus: {
|
|
93
|
-
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
89
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
94
90
|
readonly required: false;
|
|
95
91
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
96
92
|
__epPropKey: true;
|
|
@@ -99,15 +95,15 @@ export declare const props: {
|
|
|
99
95
|
inlineMessage: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
100
96
|
showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
101
97
|
formItemSize: {
|
|
102
|
-
type: PropType<"default" | "small" | "large">;
|
|
98
|
+
type: import("vue").PropType<"default" | "small" | "large">;
|
|
103
99
|
default: string;
|
|
104
100
|
};
|
|
105
101
|
formItemSlots: {
|
|
106
|
-
type: PropType<import("../../form-item/src/types").FormItemSlots>;
|
|
102
|
+
type: import("vue").PropType<import("../../form-item/src/types").FormItemSlots>;
|
|
107
103
|
default: undefined;
|
|
108
104
|
};
|
|
109
105
|
elRef: {
|
|
110
|
-
type: PropType<any>;
|
|
106
|
+
type: import("vue").PropType<any>;
|
|
111
107
|
required: boolean;
|
|
112
108
|
};
|
|
113
109
|
inline: {
|
|
@@ -119,7 +115,7 @@ export declare const props: {
|
|
|
119
115
|
default: undefined;
|
|
120
116
|
};
|
|
121
117
|
labelPosition: {
|
|
122
|
-
type: PropType<"right">;
|
|
118
|
+
type: import("vue").PropType<"right">;
|
|
123
119
|
default: string;
|
|
124
120
|
};
|
|
125
121
|
};
|
|
@@ -21,10 +21,7 @@ var __spreadValues = (a, b) => {
|
|
|
21
21
|
};
|
|
22
22
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
23
23
|
const props = __spreadProps(__spreadValues(__spreadValues({}, _VkfFormItemCtx.props), sliderProps), {
|
|
24
|
-
modelValue:
|
|
25
|
-
type: [],
|
|
26
|
-
default: void 0
|
|
27
|
-
},
|
|
24
|
+
modelValue: null,
|
|
28
25
|
defaultModelValue: null
|
|
29
26
|
});
|
|
30
27
|
const emits = __spreadValues({}, sliderEmits);
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
modelValue:
|
|
3
|
-
type: import("vue").PropType<any>;
|
|
4
|
-
default: undefined;
|
|
5
|
-
};
|
|
2
|
+
modelValue: null;
|
|
6
3
|
defaultModelValue: null;
|
|
7
4
|
id: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
8
5
|
min: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
@@ -190,10 +187,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
190
187
|
input: (value: import("element-plus/es/utils").Arrayable<number>) => boolean;
|
|
191
188
|
change: (value: import("element-plus/es/utils").Arrayable<number>) => boolean;
|
|
192
189
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
193
|
-
modelValue:
|
|
194
|
-
type: import("vue").PropType<any>;
|
|
195
|
-
default: undefined;
|
|
196
|
-
};
|
|
190
|
+
modelValue: null;
|
|
197
191
|
defaultModelValue: null;
|
|
198
192
|
id: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
199
193
|
min: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
@@ -330,7 +324,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
330
324
|
disabled: boolean;
|
|
331
325
|
placement: import("element-plus/es/utils").EpPropMergeType<StringConstructor, import("element-plus").Placement, unknown>;
|
|
332
326
|
id: string;
|
|
333
|
-
modelValue: any;
|
|
334
327
|
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
335
328
|
vertical: boolean;
|
|
336
329
|
step: number;
|
|
@@ -24,10 +24,7 @@ var __spreadValues = (a, b) => {
|
|
|
24
24
|
};
|
|
25
25
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
26
26
|
const props = __spreadProps(__spreadValues(__spreadValues({}, _VkfFormItemCtx.props), switchProps), {
|
|
27
|
-
modelValue:
|
|
28
|
-
type: [],
|
|
29
|
-
default: void 0
|
|
30
|
-
},
|
|
27
|
+
modelValue: null,
|
|
31
28
|
defaultModelValue: {
|
|
32
29
|
default: false
|
|
33
30
|
}
|
|
@@ -1,30 +1,38 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
1
|
export declare const props: {
|
|
3
|
-
modelValue:
|
|
4
|
-
type: PropType<any>;
|
|
5
|
-
default: undefined;
|
|
6
|
-
};
|
|
2
|
+
modelValue: null;
|
|
7
3
|
defaultModelValue: {
|
|
8
4
|
default: boolean;
|
|
9
5
|
};
|
|
10
6
|
disabled: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
11
7
|
loading: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
12
8
|
size: {
|
|
13
|
-
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => ("" | "default" | "small" | "large") & {}) | (() => "" | "default" | "small" | "large") | ((new (...args: any[]) => ("" | "default" | "small" | "large") & {}) | (() => "" | "default" | "small" | "large"))[], unknown, "" | "default" | "small" | "large">>;
|
|
9
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => ("" | "default" | "small" | "large") & {}) | (() => "" | "default" | "small" | "large") | ((new (...args: any[]) => ("" | "default" | "small" | "large") & {}) | (() => "" | "default" | "small" | "large"))[], unknown, "" | "default" | "small" | "large">>;
|
|
14
10
|
readonly required: false;
|
|
15
11
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
16
12
|
__epPropKey: true;
|
|
17
13
|
};
|
|
18
14
|
width: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
19
15
|
inlinePrompt: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
16
|
+
inactiveActionIcon: {
|
|
17
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
18
|
+
readonly required: false;
|
|
19
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
20
|
+
__epPropKey: true;
|
|
21
|
+
};
|
|
22
|
+
activeActionIcon: {
|
|
23
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
24
|
+
readonly required: false;
|
|
25
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
26
|
+
__epPropKey: true;
|
|
27
|
+
};
|
|
20
28
|
activeIcon: {
|
|
21
|
-
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
29
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
22
30
|
readonly required: false;
|
|
23
31
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
24
32
|
__epPropKey: true;
|
|
25
33
|
};
|
|
26
34
|
inactiveIcon: {
|
|
27
|
-
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
35
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
28
36
|
readonly required: false;
|
|
29
37
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
30
38
|
__epPropKey: true;
|
|
@@ -39,14 +47,14 @@ export declare const props: {
|
|
|
39
47
|
name: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
40
48
|
validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
41
49
|
beforeChange: {
|
|
42
|
-
readonly type: PropType<() => boolean | Promise<boolean>>;
|
|
50
|
+
readonly type: import("vue").PropType<() => boolean | Promise<boolean>>;
|
|
43
51
|
readonly required: false;
|
|
44
52
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
45
53
|
__epPropKey: true;
|
|
46
54
|
};
|
|
47
55
|
id: StringConstructor;
|
|
48
56
|
tabindex: {
|
|
49
|
-
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
57
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
50
58
|
readonly required: false;
|
|
51
59
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
52
60
|
__epPropKey: true;
|
|
@@ -56,20 +64,20 @@ export declare const props: {
|
|
|
56
64
|
label: StringConstructor;
|
|
57
65
|
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
58
66
|
prop: {
|
|
59
|
-
readonly type: 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>>;
|
|
67
|
+
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>>;
|
|
60
68
|
readonly required: false;
|
|
61
69
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
62
70
|
__epPropKey: true;
|
|
63
71
|
};
|
|
64
72
|
rules: {
|
|
65
|
-
readonly type: 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>>;
|
|
73
|
+
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>>;
|
|
66
74
|
readonly required: false;
|
|
67
75
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
68
76
|
__epPropKey: true;
|
|
69
77
|
};
|
|
70
78
|
error: StringConstructor;
|
|
71
79
|
validateStatus: {
|
|
72
|
-
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
80
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
73
81
|
readonly required: false;
|
|
74
82
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
75
83
|
__epPropKey: true;
|
|
@@ -78,15 +86,15 @@ export declare const props: {
|
|
|
78
86
|
inlineMessage: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
79
87
|
showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
80
88
|
formItemSize: {
|
|
81
|
-
type: PropType<"default" | "small" | "large">;
|
|
89
|
+
type: import("vue").PropType<"default" | "small" | "large">;
|
|
82
90
|
default: string;
|
|
83
91
|
};
|
|
84
92
|
formItemSlots: {
|
|
85
|
-
type: PropType<import("../../form-item/src/types").FormItemSlots>;
|
|
93
|
+
type: import("vue").PropType<import("../../form-item/src/types").FormItemSlots>;
|
|
86
94
|
default: undefined;
|
|
87
95
|
};
|
|
88
96
|
elRef: {
|
|
89
|
-
type: PropType<any>;
|
|
97
|
+
type: import("vue").PropType<any>;
|
|
90
98
|
required: boolean;
|
|
91
99
|
};
|
|
92
100
|
inline: {
|
|
@@ -98,7 +106,7 @@ export declare const props: {
|
|
|
98
106
|
default: undefined;
|
|
99
107
|
};
|
|
100
108
|
labelPosition: {
|
|
101
|
-
type: PropType<"right">;
|
|
109
|
+
type: import("vue").PropType<"right">;
|
|
102
110
|
default: string;
|
|
103
111
|
};
|
|
104
112
|
};
|
|
@@ -21,10 +21,7 @@ var __spreadValues = (a, b) => {
|
|
|
21
21
|
};
|
|
22
22
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
23
23
|
const props = __spreadProps(__spreadValues(__spreadValues({}, _VkfFormItemCtx.props), switchProps), {
|
|
24
|
-
modelValue:
|
|
25
|
-
type: [],
|
|
26
|
-
default: void 0
|
|
27
|
-
},
|
|
24
|
+
modelValue: null,
|
|
28
25
|
defaultModelValue: {
|
|
29
26
|
default: false
|
|
30
27
|
}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
modelValue:
|
|
3
|
-
type: import("vue").PropType<any>;
|
|
4
|
-
default: undefined;
|
|
5
|
-
};
|
|
2
|
+
modelValue: null;
|
|
6
3
|
defaultModelValue: {
|
|
7
4
|
default: boolean;
|
|
8
5
|
};
|
|
@@ -16,6 +13,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
16
13
|
};
|
|
17
14
|
width: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
18
15
|
inlinePrompt: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
16
|
+
inactiveActionIcon: {
|
|
17
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
18
|
+
readonly required: false;
|
|
19
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
20
|
+
__epPropKey: true;
|
|
21
|
+
};
|
|
22
|
+
activeActionIcon: {
|
|
23
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
24
|
+
readonly required: false;
|
|
25
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
26
|
+
__epPropKey: true;
|
|
27
|
+
};
|
|
19
28
|
activeIcon: {
|
|
20
29
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
21
30
|
readonly required: false;
|
|
@@ -129,6 +138,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
129
138
|
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
130
139
|
width: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
131
140
|
inlinePrompt: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
141
|
+
inactiveActionIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown> | undefined;
|
|
142
|
+
activeActionIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown> | undefined;
|
|
132
143
|
activeIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown> | undefined;
|
|
133
144
|
inactiveIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown> | undefined;
|
|
134
145
|
activeText: string;
|
|
@@ -151,10 +162,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
151
162
|
change: (val: string | number | boolean) => boolean;
|
|
152
163
|
input: (val: string | number | boolean) => boolean;
|
|
153
164
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
154
|
-
modelValue:
|
|
155
|
-
type: import("vue").PropType<any>;
|
|
156
|
-
default: undefined;
|
|
157
|
-
};
|
|
165
|
+
modelValue: null;
|
|
158
166
|
defaultModelValue: {
|
|
159
167
|
default: boolean;
|
|
160
168
|
};
|
|
@@ -168,6 +176,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
168
176
|
};
|
|
169
177
|
width: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
170
178
|
inlinePrompt: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
179
|
+
inactiveActionIcon: {
|
|
180
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
181
|
+
readonly required: false;
|
|
182
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
183
|
+
__epPropKey: true;
|
|
184
|
+
};
|
|
185
|
+
activeActionIcon: {
|
|
186
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
187
|
+
readonly required: false;
|
|
188
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
189
|
+
__epPropKey: true;
|
|
190
|
+
};
|
|
171
191
|
activeIcon: {
|
|
172
192
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
173
193
|
readonly required: false;
|
|
@@ -270,7 +290,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
270
290
|
value: import("element-plus/es/utils").EpPropMergeType<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown>;
|
|
271
291
|
disabled: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
272
292
|
loading: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
273
|
-
modelValue: any;
|
|
274
293
|
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
275
294
|
defaultModelValue: boolean;
|
|
276
295
|
width: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { defineComponent, resolveComponent, openBlock, createBlock, withCtx, mergeProps, createCommentVNode } from 'vue';
|
|
2
|
+
import { VkfEsriInputGeojson } from '@vunk/form/components/esri-input-geojson';
|
|
3
|
+
import { VkfFormItemRendererTemplate } from '@vunk/form/components/form-item-renderer-template';
|
|
4
|
+
import { getValue } from '@vunk/core';
|
|
5
|
+
|
|
6
|
+
const props = {
|
|
7
|
+
data: {
|
|
8
|
+
type: Object,
|
|
9
|
+
default: () => ({})
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
const emits = {
|
|
13
|
+
setData: (data) => data
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
var _export_sfc = (sfc, props) => {
|
|
17
|
+
const target = sfc.__vccOpts || sfc;
|
|
18
|
+
for (const [key, val] of props) {
|
|
19
|
+
target[key] = val;
|
|
20
|
+
}
|
|
21
|
+
return target;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
const _sfc_main = defineComponent({
|
|
25
|
+
name: "VkfTemplatesEsri",
|
|
26
|
+
components: {
|
|
27
|
+
VkfFormItemRendererTemplate,
|
|
28
|
+
VkfEsriInputGeojson
|
|
29
|
+
},
|
|
30
|
+
emits,
|
|
31
|
+
props,
|
|
32
|
+
setup() {
|
|
33
|
+
return {
|
|
34
|
+
getValue
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
39
|
+
const _component_VkfEsriInputGeojson = resolveComponent("VkfEsriInputGeojson");
|
|
40
|
+
const _component_VkfFormItemRendererTemplate = resolveComponent("VkfFormItemRendererTemplate");
|
|
41
|
+
return openBlock(), createBlock(_component_VkfFormItemRendererTemplate, { type: "VkfEsriInputGeojson" }, {
|
|
42
|
+
default: withCtx(({ data: props2, templateIf }) => [
|
|
43
|
+
templateIf(_ctx.data) ? (openBlock(), createBlock(_component_VkfEsriInputGeojson, mergeProps({ key: 0 }, props2, {
|
|
44
|
+
"model-value": _ctx.getValue(_ctx.data, props2.prop),
|
|
45
|
+
"onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
|
|
46
|
+
k: props2.prop,
|
|
47
|
+
v: $event
|
|
48
|
+
})
|
|
49
|
+
}), null, 16, ["model-value", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
|
|
50
|
+
]),
|
|
51
|
+
_: 1
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
var VkfTemplatesEsri = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "index.vue"]]);
|
|
55
|
+
|
|
56
|
+
var types = /*#__PURE__*/Object.freeze({
|
|
57
|
+
__proto__: null
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
VkfTemplatesEsri.install = (app) => {
|
|
61
|
+
app.component(VkfTemplatesEsri.name, VkfTemplatesEsri);
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
export { VkfTemplatesEsri, types as __VkfTemplatesEsri, VkfTemplatesEsri as default };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { NormalObject, SetDataEvent } from '@vunk/core';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
export declare const props: {
|
|
4
|
+
data: {
|
|
5
|
+
type: PropType<NormalObject>;
|
|
6
|
+
default: () => {};
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export declare const emits: {
|
|
10
|
+
setData: (data: SetDataEvent) => SetDataEvent<any>;
|
|
11
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
data: {
|
|
3
|
+
type: import("vue").PropType<import("@vunk/core").NormalObject>;
|
|
4
|
+
default: () => {};
|
|
5
|
+
};
|
|
6
|
+
}, {
|
|
7
|
+
getValue: (obj: any, k: any, intoUndefined?: import("@vunk/core").IntoUndefined | undefined, safe?: boolean | undefined) => any;
|
|
8
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
setData: (data: import("@vunk/core").SetDataEvent<any>) => import("@vunk/core").SetDataEvent<any>;
|
|
10
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
+
data: {
|
|
12
|
+
type: import("vue").PropType<import("@vunk/core").NormalObject>;
|
|
13
|
+
default: () => {};
|
|
14
|
+
};
|
|
15
|
+
}>> & {
|
|
16
|
+
onSetData?: ((data: import("@vunk/core").SetDataEvent<any>) => any) | undefined;
|
|
17
|
+
}, {
|
|
18
|
+
data: import("@vunk/core").NormalObject;
|
|
19
|
+
}>;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
package/index.css
CHANGED
|
@@ -49,6 +49,45 @@
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
|
|
52
|
+
.vkf-esri-input-geojson__map{
|
|
53
|
+
height: 350px;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.vkf-esri-input-geojson-dialog .el-dialog.is-fullscreen{
|
|
57
|
+
height: 100%;
|
|
58
|
+
}
|
|
59
|
+
.vkf-esri-input-geojson-dialog .el-dialog{
|
|
60
|
+
display: flex;
|
|
61
|
+
flex-direction: column;
|
|
62
|
+
min-height: 50%;
|
|
63
|
+
}
|
|
64
|
+
.vkf-esri-input-geojson-dialog .el-dialog__body{
|
|
65
|
+
display: flex;
|
|
66
|
+
flex-direction: column;
|
|
67
|
+
flex: 1;
|
|
68
|
+
overflow: hidden;
|
|
69
|
+
padding: 0;
|
|
70
|
+
}
|
|
71
|
+
.vkf-esri-input-geojson-dialog__map{
|
|
72
|
+
flex: 1;
|
|
73
|
+
display: flex;
|
|
74
|
+
flex-direction: column;
|
|
75
|
+
overflow: hidden;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.vkf-esri-input-geojson-dialog__map > .va-map-view{
|
|
79
|
+
flex: 1;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
.el-button.vkf-esri-input-geojson__upload{
|
|
84
|
+
border-color: transparent;
|
|
85
|
+
background-color: transparent;
|
|
86
|
+
color: inherit;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
52
91
|
|
|
53
92
|
.vkf-form-item.vkf-form-item--label-right.el-form-item{
|
|
54
93
|
display: flex;
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@ export declare const createFormOnEmits: <T2 extends import("@vunk/core").AnyFunc
|
|
|
18
18
|
validate: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
19
19
|
}[P]; };
|
|
20
20
|
export declare const createFormItemBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2>)[] | undefined>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"required", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"prop", keyof T2>, KE> | Exclude<Extract<"rules", keyof T2>, KE> | Exclude<Extract<"error", keyof T2>, KE> | Exclude<Extract<"validateStatus", keyof T2>, KE> | Exclude<Extract<"for", keyof T2>, KE> | Exclude<Extract<"inlineMessage", keyof T2>, KE> | Exclude<Extract<"showMessage", keyof T2>, KE> : Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2>]: { [k in Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2>]: T2[k]; }[P]; }>;
|
|
21
|
-
export declare const createSwitchBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"value", keyof T2> | Extract<"id", keyof T2> | Extract<"disabled", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"name", keyof T2> | Extract<"loading", keyof T2> | Extract<"width", keyof T2> | Extract<"inlinePrompt", keyof T2> | Extract<"activeIcon", keyof T2> | Extract<"inactiveIcon", keyof T2> | Extract<"activeText", keyof T2> | Extract<"inactiveText", keyof T2> | Extract<"activeValue", keyof T2> | Extract<"inactiveValue", keyof T2> | Extract<"activeColor", keyof T2> | Extract<"inactiveColor", keyof T2> | Extract<"borderColor", keyof T2> | Extract<"beforeChange", keyof T2>)[] | undefined>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"value", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"tabindex", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"name", keyof T2>, KE> | Exclude<Extract<"loading", keyof T2>, KE> | Exclude<Extract<"width", keyof T2>, KE> | Exclude<Extract<"inlinePrompt", keyof T2>, KE> | Exclude<Extract<"activeIcon", keyof T2>, KE> | Exclude<Extract<"inactiveIcon", keyof T2>, KE> | Exclude<Extract<"activeText", keyof T2>, KE> | Exclude<Extract<"inactiveText", keyof T2>, KE> | Exclude<Extract<"activeValue", keyof T2>, KE> | Exclude<Extract<"inactiveValue", keyof T2>, KE> | Exclude<Extract<"activeColor", keyof T2>, KE> | Exclude<Extract<"inactiveColor", keyof T2>, KE> | Exclude<Extract<"borderColor", keyof T2>, KE> | Exclude<Extract<"beforeChange", keyof T2>, KE> : Extract<"size", keyof T2> | Extract<"value", keyof T2> | Extract<"id", keyof T2> | Extract<"disabled", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"name", keyof T2> | Extract<"loading", keyof T2> | Extract<"width", keyof T2> | Extract<"inlinePrompt", keyof T2> | Extract<"activeIcon", keyof T2> | Extract<"inactiveIcon", keyof T2> | Extract<"activeText", keyof T2> | Extract<"inactiveText", keyof T2> | Extract<"activeValue", keyof T2> | Extract<"inactiveValue", keyof T2> | Extract<"activeColor", keyof T2> | Extract<"inactiveColor", keyof T2> | Extract<"borderColor", keyof T2> | Extract<"beforeChange", keyof T2>]: { [k in Extract<"size", keyof T2> | Extract<"value", keyof T2> | Extract<"id", keyof T2> | Extract<"disabled", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"name", keyof T2> | Extract<"loading", keyof T2> | Extract<"width", keyof T2> | Extract<"inlinePrompt", keyof T2> | Extract<"activeIcon", keyof T2> | Extract<"inactiveIcon", keyof T2> | Extract<"activeText", keyof T2> | Extract<"inactiveText", keyof T2> | Extract<"activeValue", keyof T2> | Extract<"inactiveValue", keyof T2> | Extract<"activeColor", keyof T2> | Extract<"inactiveColor", keyof T2> | Extract<"borderColor", keyof T2> | Extract<"beforeChange", keyof T2>]: T2[k]; }[P]; }>;
|
|
21
|
+
export declare const createSwitchBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"value", keyof T2> | Extract<"id", keyof T2> | Extract<"disabled", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"name", keyof T2> | Extract<"loading", keyof T2> | Extract<"width", keyof T2> | Extract<"inlinePrompt", keyof T2> | Extract<"inactiveActionIcon", keyof T2> | Extract<"activeActionIcon", keyof T2> | Extract<"activeIcon", keyof T2> | Extract<"inactiveIcon", keyof T2> | Extract<"activeText", keyof T2> | Extract<"inactiveText", keyof T2> | Extract<"activeValue", keyof T2> | Extract<"inactiveValue", keyof T2> | Extract<"activeColor", keyof T2> | Extract<"inactiveColor", keyof T2> | Extract<"borderColor", keyof T2> | Extract<"beforeChange", keyof T2>)[] | undefined>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"value", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"tabindex", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"name", keyof T2>, KE> | Exclude<Extract<"loading", keyof T2>, KE> | Exclude<Extract<"width", keyof T2>, KE> | Exclude<Extract<"inlinePrompt", keyof T2>, KE> | Exclude<Extract<"inactiveActionIcon", keyof T2>, KE> | Exclude<Extract<"activeActionIcon", keyof T2>, KE> | Exclude<Extract<"activeIcon", keyof T2>, KE> | Exclude<Extract<"inactiveIcon", keyof T2>, KE> | Exclude<Extract<"activeText", keyof T2>, KE> | Exclude<Extract<"inactiveText", keyof T2>, KE> | Exclude<Extract<"activeValue", keyof T2>, KE> | Exclude<Extract<"inactiveValue", keyof T2>, KE> | Exclude<Extract<"activeColor", keyof T2>, KE> | Exclude<Extract<"inactiveColor", keyof T2>, KE> | Exclude<Extract<"borderColor", keyof T2>, KE> | Exclude<Extract<"beforeChange", keyof T2>, KE> : Extract<"size", keyof T2> | Extract<"value", keyof T2> | Extract<"id", keyof T2> | Extract<"disabled", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"name", keyof T2> | Extract<"loading", keyof T2> | Extract<"width", keyof T2> | Extract<"inlinePrompt", keyof T2> | Extract<"inactiveActionIcon", keyof T2> | Extract<"activeActionIcon", keyof T2> | Extract<"activeIcon", keyof T2> | Extract<"inactiveIcon", keyof T2> | Extract<"activeText", keyof T2> | Extract<"inactiveText", keyof T2> | Extract<"activeValue", keyof T2> | Extract<"inactiveValue", keyof T2> | Extract<"activeColor", keyof T2> | Extract<"inactiveColor", keyof T2> | Extract<"borderColor", keyof T2> | Extract<"beforeChange", keyof T2>]: { [k in Extract<"size", keyof T2> | Extract<"value", keyof T2> | Extract<"id", keyof T2> | Extract<"disabled", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"name", keyof T2> | Extract<"loading", keyof T2> | Extract<"width", keyof T2> | Extract<"inlinePrompt", keyof T2> | Extract<"inactiveActionIcon", keyof T2> | Extract<"activeActionIcon", keyof T2> | Extract<"activeIcon", keyof T2> | Extract<"inactiveIcon", keyof T2> | Extract<"activeText", keyof T2> | Extract<"inactiveText", keyof T2> | Extract<"activeValue", keyof T2> | Extract<"inactiveValue", keyof T2> | Extract<"activeColor", keyof T2> | Extract<"inactiveColor", keyof T2> | Extract<"borderColor", keyof T2> | Extract<"beforeChange", keyof T2>]: T2[k]; }[P]; }>;
|
|
22
22
|
export declare const createSwitchOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("update:modelValue" | "input" | "change")[] | undefined>(emit: T2, excludes?: EX | undefined) => { [P in EX extends (infer KE)[] ? Exclude<"update:modelValue", KE> | Exclude<"input", KE> | Exclude<"change", KE> : "update:modelValue" | "input" | "change"]: {
|
|
23
23
|
"update:modelValue": (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
24
24
|
change: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
@@ -2,6 +2,7 @@ import { __VkfTemplatesDefault } from '@vunk/form/components/templates-default';
|
|
|
2
2
|
import { __VkfTemplatesLayout } from '@vunk/form/components/templates-layout';
|
|
3
3
|
import { __VkfTemplatesElementPlus } from '@vunk/form/components/templates-element-plus';
|
|
4
4
|
import { __VkfTemplatesMapbox } from '@vunk/form/components/templates-mapbox';
|
|
5
|
+
import { __VkfTemplatesEsri } from '@vunk/form/components/templates-esri';
|
|
5
6
|
import { NormalObject } from '@vunk/core';
|
|
6
7
|
export interface BasicSource {
|
|
7
8
|
templateIf?: ((data?: NormalObject) => boolean) | string | boolean;
|
|
@@ -16,4 +17,4 @@ export interface BasicSource {
|
|
|
16
17
|
* ```
|
|
17
18
|
*/
|
|
18
19
|
export declare type FormItemRendererSource<P extends string = string> = __VkfTemplatesDefault.Source<P>;
|
|
19
|
-
export declare type AllTemplatesSource<P extends string = string> = __VkfTemplatesDefault.Source<P> | __VkfTemplatesMapbox.Source<P> | __VkfTemplatesLayout.ElRowSource<AllTemplatesSource<P>> | __VkfTemplatesLayout.ElColSource<AllTemplatesSource<P>> | __VkfTemplatesLayout.VkfFlexSource<AllTemplatesSource<P>> | __VkfTemplatesElementPlus.Source;
|
|
20
|
+
export declare type AllTemplatesSource<P extends string = string> = __VkfTemplatesDefault.Source<P> | __VkfTemplatesMapbox.Source<P> | __VkfTemplatesEsri.Source<P> | __VkfTemplatesLayout.ElRowSource<AllTemplatesSource<P>> | __VkfTemplatesLayout.ElColSource<AllTemplatesSource<P>> | __VkfTemplatesLayout.VkfFlexSource<AllTemplatesSource<P>> | __VkfTemplatesElementPlus.Source;
|