@vunk/form 2.19.0 → 2.19.2
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-CHgC5LLL.mjs +9 -0
- package/components/api-tables-select/index.cjs +1 -1
- package/components/api-tables-select/index.mjs +1 -1
- package/components/api-tables-select/src/ctx.d.ts +16 -22
- package/components/api-tables-select/src/index.vue.d.ts +39 -43
- package/components/button/index.cjs +1 -1
- package/components/button/index.mjs +2 -3
- package/components/button/src/ctx.d.ts +7 -7
- package/components/button/src/index.vue.d.ts +64 -63
- package/components/card-input-collection/index.cjs +1 -1
- package/components/card-input-collection/index.mjs +9 -9
- package/components/card-input-collection/src/core.vue.d.ts +12 -8
- package/components/card-input-collection/src/ctx.d.ts +2 -2
- package/components/card-input-collection/src/index.vue.d.ts +7 -6
- package/components/cascader/src/ctx.d.ts +33 -25
- package/components/cascader/src/index.vue.d.ts +67 -50
- package/components/cascader/src/use.d.ts +1 -1
- package/components/checkbox/index.cjs +1 -1
- package/components/checkbox/index.mjs +4 -4
- package/components/checkbox/src/ctx.d.ts +19 -19
- package/components/checkbox/src/index.vue.d.ts +128 -127
- package/components/cloneDeep-DE0l40hv.mjs +486 -0
- package/components/cloneDeep-DaYwfXwD.js +1 -0
- package/components/color-picker/src/ctx.d.ts +22 -14
- package/components/color-picker/src/index.vue.d.ts +52 -32
- package/components/date-picker/src/ctx.d.ts +32 -24
- package/components/date-picker/src/index.vue.d.ts +68 -51
- package/components/date-picker-range/index.cjs +1 -1
- package/components/date-picker-range/index.mjs +1 -1
- package/components/date-picker-range/src/ctx.d.ts +23 -15
- package/components/date-picker-range/src/index.vue.d.ts +131 -98
- package/components/debounce-CliSPkvP.js +1 -0
- package/components/debounce-DIph5ENi.mjs +85 -0
- package/components/dialog/src/ctx.d.ts +5 -5
- package/components/dialog/src/index.vue.d.ts +18 -16
- package/components/dialog-input-collection/index.cjs +1 -1
- package/components/dialog-input-collection/index.mjs +11 -11
- package/components/dialog-input-collection/src/ctx.d.ts +4 -3
- package/components/dialog-input-collection/src/dialog-form.vue.d.ts +12 -8
- package/components/dialog-input-collection/src/index.vue.d.ts +13 -11
- package/components/dialog-input-collection/src/layout.vue.d.ts +8 -4
- package/components/download-plus/index.cjs +1 -1
- package/components/download-plus/index.mjs +24 -25
- package/components/download-plus/src/api.d.ts +1 -1
- package/components/download-plus/src/ctx.d.ts +4 -3
- package/components/download-plus/src/index.vue.d.ts +81 -78
- package/components/editable-text/index.cjs +1 -1
- package/components/editable-text/index.mjs +1 -1
- package/components/editable-text/src/ctx.d.ts +2 -6
- package/components/editable-text/src/index.vue.d.ts +14 -10
- package/components/el-slider/index.cjs +1 -1
- package/components/el-slider/index.mjs +5 -5
- package/components/el-slider/src/button.vue.d.ts +2 -1
- package/components/el-slider/src/composables/index.cjs +1 -1
- package/components/el-slider/src/composables/index.mjs +1 -1
- package/components/el-slider/src/composables/use-slide.d.ts +1 -1
- package/components/el-slider/src/composables/use-slider-button.d.ts +1 -1
- package/components/el-slider/src/composables/use-watch.d.ts +1 -1
- package/components/el-slider/src/slider-core.vue.d.ts +7 -6
- package/components/el-slider/src/slider.d.ts +2 -1
- package/components/esri-input-geojson/index.cjs +1 -1
- package/components/esri-input-geojson/index.mjs +42 -57
- package/components/esri-input-geojson/src/append.vue.d.ts +97 -96
- package/components/esri-input-geojson/src/ctx.d.ts +21 -22
- package/components/esri-input-geojson/src/default-view.vue.d.ts +7 -3
- package/components/esri-input-geojson/src/index.vue.d.ts +593 -186
- package/components/esri-input-geojson/src/types.d.ts +0 -1
- package/components/esri-input-geojson/src/viewer.vue.d.ts +406 -40
- package/components/fieldset/index.cjs +1 -1
- package/components/fieldset/index.mjs +3 -5
- package/components/fieldset/src/index.vue.d.ts +3 -2
- package/components/form/index.cjs +1 -1
- package/components/form/index.mjs +1 -1
- package/components/form/src/ctx.d.ts +1 -1
- package/components/form/src/index.vue.d.ts +68 -67
- package/components/form-item/index.cjs +1 -1
- package/components/form-item/index.mjs +7 -8
- package/components/form-item/src/core.vue.d.ts +12 -10
- package/components/form-item/src/ctx.d.ts +6 -4
- package/components/form-item/src/index.vue.d.ts +7 -6
- package/components/form-item-renderer/index.mjs +2 -3
- package/components/form-item-renderer/src/core.vue.d.ts +3 -2
- package/components/form-item-renderer/src/index.vue.d.ts +7 -5
- package/components/form-item-renderer-template/index.mjs +1 -2
- package/components/form-item-renderer-template/src/index.vue.d.ts +3 -2
- package/components/forms-provider/src/index.vue.d.ts +5 -2
- package/components/forms-provider/src/segment.vue.d.ts +7 -3
- package/components/forms-provider/src/view.vue.d.ts +11 -7
- package/components/index-BCZuzyeO.mjs +317 -0
- package/components/index-BNPcMpOO.js +1 -0
- package/components/index-DJv1MwwH.mjs +14 -0
- package/components/information/src/index.vue.d.ts +3 -2
- package/components/information-collection/src/ctx.d.ts +17 -11
- package/components/information-collection/src/index.vue.d.ts +36 -27
- package/components/information-renderer/index.d.ts +9 -9
- package/components/information-tag/src/ctx.d.ts +4 -3
- package/components/information-tag/src/index.vue.d.ts +12 -11
- package/components/information-templates-default/src/index.vue.d.ts +2 -1
- package/components/input/index.cjs +1 -1
- package/components/input/index.mjs +1 -1
- package/components/input/src/ctx.d.ts +20 -20
- package/components/input/src/index.vue.d.ts +70 -69
- package/components/input-array/index.cjs +1 -1
- package/components/input-array/index.mjs +2 -2
- package/components/input-array/src/ctx.d.ts +2 -2
- package/components/input-array/src/form-template.vue.d.ts +2 -1
- package/components/input-array/src/index.vue.d.ts +6 -5
- package/components/input-collection/index.cjs +1 -1
- package/components/input-collection/index.mjs +2 -2
- package/components/input-collection/src/core.vue.d.ts +17 -15
- package/components/input-collection/src/ctx.d.ts +4 -4
- package/components/input-collection/src/index.vue.d.ts +13 -12
- package/components/input-file/src/index.vue.d.ts +51 -50
- package/components/input-file/src/template.vue.d.ts +2 -1
- package/components/input-link/index.cjs +1 -1
- package/components/input-link/index.mjs +2 -2
- package/components/input-link/src/ctx.d.ts +19 -21
- package/components/input-link/src/index.vue.d.ts +111 -110
- package/components/input-number/index.cjs +1 -1
- package/components/input-number/index.mjs +1 -1
- package/components/input-number/src/ctx.d.ts +5 -5
- package/components/input-number/src/index.vue.d.ts +39 -38
- package/components/input-tag/index.cjs +1 -1
- package/components/input-tag/index.mjs +1 -1
- package/components/input-tag/src/ctx.d.ts +10 -10
- package/components/input-tag/src/index.vue.d.ts +48 -47
- package/components/isObject-DQpnfMRp.mjs +34 -0
- package/components/monaco-editor/index.cjs +1 -1
- package/components/monaco-editor/index.mjs +1 -1
- package/components/monaco-editor/src/ctx.d.ts +2 -2
- package/components/monaco-editor/src/index.vue.d.ts +17 -16
- package/components/radio/index.cjs +1 -1
- package/components/radio/index.mjs +3 -3
- package/components/radio/src/ctx.d.ts +3 -3
- package/components/radio/src/index.vue.d.ts +32 -31
- package/components/radio/src/option.vue.d.ts +12 -10
- package/components/radio/src/wraper.vue.d.ts +9 -8
- package/components/renderer-data/src/index.vue.d.ts +3 -2
- package/components/select/index.cjs +1 -1
- package/components/select/index.mjs +1 -1
- package/components/select/src/core.vue.d.ts +99 -239
- package/components/select/src/ctx.d.ts +23 -95
- package/components/select/src/index.vue.d.ts +76 -75
- package/components/select/src/options.vue.d.ts +3 -2
- package/components/slider/src/ctx.d.ts +10 -10
- package/components/slider/src/index.vue.d.ts +29 -25
- package/components/style.css +1 -1
- package/components/switch/src/ctx.d.ts +11 -11
- package/components/switch/src/index.vue.d.ts +24 -20
- package/components/tables-select/index.mjs +1 -2
- package/components/tables-select/src/ctx.d.ts +27 -43
- package/components/tables-select/src/index.vue.d.ts +57 -71
- package/components/template-instances-provider/src/index.vue.d.ts +3 -2
- package/components/templates-default/index.cjs +1 -1
- package/components/templates-default/index.mjs +1 -1
- package/components/templates-default/src/ctx.d.ts +3 -5
- package/components/templates-default/src/index.vue.d.ts +778 -727
- package/components/templates-element-plus/index.cjs +1 -1
- package/components/templates-element-plus/index.mjs +4 -4
- package/components/templates-element-plus/src/index.vue.d.ts +27 -26
- package/components/templates-esri/index.cjs +1 -1
- package/components/templates-esri/index.mjs +1 -1
- package/components/templates-esri/src/index.vue.d.ts +600 -193
- package/components/templates-layout/index.cjs +1 -1
- package/components/templates-layout/index.mjs +4 -4
- package/components/templates-layout/src/index.vue.d.ts +14 -13
- package/components/templates-variant/index.cjs +1 -1
- package/components/templates-variant/index.mjs +1 -1
- package/components/templates-variant/src/index.vue.d.ts +132 -99
- package/components/time-picker/src/ctx.d.ts +31 -23
- package/components/time-picker/src/index.vue.d.ts +66 -49
- package/components/upload/index.cjs +1 -1
- package/components/upload/index.mjs +46 -46
- package/components/upload/src/ctx.d.ts +24 -22
- package/components/upload/src/file.vue.d.ts +75 -73
- package/components/upload/src/index.vue.d.ts +188 -187
- package/components/upload/src/wraper.vue.d.ts +48 -47
- package/components/upload-plus/index.cjs +7 -7
- package/components/upload-plus/index.mjs +1911 -1937
- package/components/upload-plus/src/api.d.ts +1 -1
- package/components/upload-plus/src/ctx.d.ts +2 -5
- package/components/upload-plus/src/index.vue.d.ts +6 -5
- package/components/use-watch-Bfrz9pv_.js +1 -0
- package/components/use-watch-t49wP7jy.mjs +414 -0
- package/components/van-cascader/src/ctx.d.ts +33 -25
- package/components/van-cascader/src/index.vue.d.ts +67 -50
- package/components/var-datetime-picker/index.cjs +1 -1
- package/components/var-datetime-picker/index.mjs +19 -21
- package/components/var-datetime-picker/src/ctx.d.ts +4 -3
- package/components/var-datetime-picker/src/index.vue.d.ts +144 -179
- package/components/vditor/index.cjs +1 -1
- package/components/vditor/index.mjs +1 -1
- package/components/vditor/src/ctx.d.ts +2 -3
- package/components/vditor/src/index.vue.d.ts +19 -19
- package/composables/index.mjs +3 -5
- package/composables/useSourceManager.d.ts +2 -2
- package/index.css +1 -1
- package/package.json +1 -1
- package/shared/element-plus/instances.d.ts +60 -43
- package/components/cloneDeep.cjs +0 -1
- package/components/debounce.cjs +0 -1
- package/components/index2.cjs +0 -1
- package/components/use-watch.cjs +0 -1
- /package/components/{_plugin-vue_export-helper.cjs → _plugin-vue_export-helper-BHFhmbuH.js} +0 -0
- /package/components/{index.cjs → index-DSyxYMB0.js} +0 -0
- /package/components/{isObject.cjs → isObject-fAvOGw_H.js} +0 -0
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
/// <reference types="arcgis-js-api" />
|
|
2
1
|
import { PropType } from 'vue';
|
|
3
2
|
import MapView from '@arcgis/core/views/MapView';
|
|
4
|
-
declare const _default:
|
|
3
|
+
declare const _default: typeof __VLS_export;
|
|
4
|
+
export default _default;
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
6
|
view: {
|
|
6
|
-
type: PropType<MapView>;
|
|
7
|
+
type: PropType<__esri.MapView>;
|
|
7
8
|
default: undefined;
|
|
8
9
|
};
|
|
9
10
|
viewComponent: {
|
|
@@ -17,12 +18,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
17
18
|
M: {};
|
|
18
19
|
Defaults: {};
|
|
19
20
|
}, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
20
|
-
__isFragment?:
|
|
21
|
-
__isTeleport?:
|
|
22
|
-
__isSuspense?:
|
|
21
|
+
__isFragment?: never;
|
|
22
|
+
__isTeleport?: never;
|
|
23
|
+
__isSuspense?: never;
|
|
23
24
|
} & import("vue").ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
24
25
|
$slots: {
|
|
25
|
-
default?: (
|
|
26
|
+
default?: (props: {}) => any;
|
|
26
27
|
};
|
|
27
28
|
});
|
|
28
29
|
};
|
|
@@ -32,7 +33,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
32
33
|
};
|
|
33
34
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
35
|
view: {
|
|
35
|
-
type: PropType<MapView>;
|
|
36
|
+
type: PropType<__esri.MapView>;
|
|
36
37
|
default: undefined;
|
|
37
38
|
};
|
|
38
39
|
viewComponent: {
|
|
@@ -46,12 +47,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
46
47
|
M: {};
|
|
47
48
|
Defaults: {};
|
|
48
49
|
}, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
49
|
-
__isFragment?:
|
|
50
|
-
__isTeleport?:
|
|
51
|
-
__isSuspense?:
|
|
50
|
+
__isFragment?: never;
|
|
51
|
+
__isTeleport?: never;
|
|
52
|
+
__isSuspense?: never;
|
|
52
53
|
} & import("vue").ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
53
54
|
$slots: {
|
|
54
|
-
default?: (
|
|
55
|
+
default?: (props: {}) => any;
|
|
55
56
|
};
|
|
56
57
|
});
|
|
57
58
|
};
|
|
@@ -64,15 +65,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
64
65
|
viewComponent: any;
|
|
65
66
|
viewComponentAttrs: any;
|
|
66
67
|
}, {}, {
|
|
67
|
-
VaTdtBasemap: import("vue").DefineComponent<{
|
|
68
|
+
VaTdtBasemap: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
68
69
|
spatialReference: {
|
|
69
|
-
type: PropType<__esri.SpatialReferenceProperties>;
|
|
70
|
+
type: import("vue").PropType<__esri.SpatialReferenceProperties>;
|
|
70
71
|
default: () => {
|
|
71
72
|
wkid: number;
|
|
72
73
|
};
|
|
73
74
|
};
|
|
74
75
|
type: {
|
|
75
|
-
type: PropType<"img_c" | "vec_c" | "ter_c" | "img_w" | "vec_w" | "ter_w">;
|
|
76
|
+
type: import("vue").PropType<"img_c" | "vec_c" | "ter_c" | "img_w" | "vec_w" | "ter_w">;
|
|
76
77
|
default: string;
|
|
77
78
|
};
|
|
78
79
|
orphan: {
|
|
@@ -100,23 +101,31 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
100
101
|
default: any;
|
|
101
102
|
};
|
|
102
103
|
webTileLayerOptions: {
|
|
103
|
-
type: PropType<__esri.WebTileLayerProperties>;
|
|
104
|
+
type: import("vue").PropType<__esri.WebTileLayerProperties>;
|
|
104
105
|
default: () => __esri.WebTileLayerProperties;
|
|
105
106
|
};
|
|
106
|
-
|
|
107
|
+
keepAlive: {
|
|
108
|
+
type: BooleanConstructor;
|
|
109
|
+
default: boolean;
|
|
110
|
+
};
|
|
111
|
+
baseUrlTemplate: {
|
|
112
|
+
type: StringConstructor;
|
|
113
|
+
default: string;
|
|
114
|
+
};
|
|
115
|
+
}>, {
|
|
107
116
|
thumbnailUrl: import("vue").ComputedRef<string>;
|
|
108
117
|
annoType: import("vue").ComputedRef<"cia_c" | "cva_c" | "cta_c" | "cia_w" | "cva_w" | "cta_w">;
|
|
109
|
-
},
|
|
118
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
110
119
|
load: (e: import("@vuesri/core/components/basemap/src/types").LoadEvent) => import("@vuesri/core/components/basemap/src/types").LoadEvent;
|
|
111
120
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
112
121
|
spatialReference: {
|
|
113
|
-
type: PropType<__esri.SpatialReferenceProperties>;
|
|
122
|
+
type: import("vue").PropType<__esri.SpatialReferenceProperties>;
|
|
114
123
|
default: () => {
|
|
115
124
|
wkid: number;
|
|
116
125
|
};
|
|
117
126
|
};
|
|
118
127
|
type: {
|
|
119
|
-
type: PropType<"img_c" | "vec_c" | "ter_c" | "img_w" | "vec_w" | "ter_w">;
|
|
128
|
+
type: import("vue").PropType<"img_c" | "vec_c" | "ter_c" | "img_w" | "vec_w" | "ter_w">;
|
|
120
129
|
default: string;
|
|
121
130
|
};
|
|
122
131
|
orphan: {
|
|
@@ -144,55 +153,412 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
144
153
|
default: any;
|
|
145
154
|
};
|
|
146
155
|
webTileLayerOptions: {
|
|
147
|
-
type: PropType<__esri.WebTileLayerProperties>;
|
|
156
|
+
type: import("vue").PropType<__esri.WebTileLayerProperties>;
|
|
148
157
|
default: () => __esri.WebTileLayerProperties;
|
|
149
158
|
};
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
159
|
+
keepAlive: {
|
|
160
|
+
type: BooleanConstructor;
|
|
161
|
+
default: boolean;
|
|
162
|
+
};
|
|
163
|
+
baseUrlTemplate: {
|
|
164
|
+
type: StringConstructor;
|
|
165
|
+
default: string;
|
|
166
|
+
};
|
|
167
|
+
}>> & Readonly<{
|
|
168
|
+
onLoad?: (e: import("@vuesri/core/components/basemap/src/types").LoadEvent) => any;
|
|
169
|
+
}>, {
|
|
153
170
|
orphan: boolean;
|
|
154
171
|
type: "img_c" | "vec_c" | "ter_c" | "img_w" | "vec_w" | "ter_w";
|
|
155
|
-
spatialReference:
|
|
156
|
-
wkid: number;
|
|
157
|
-
};
|
|
172
|
+
spatialReference: __esri.SpatialReferenceProperties;
|
|
158
173
|
thumbnailUrl: string;
|
|
159
174
|
maxScale: number;
|
|
160
175
|
minScale: number;
|
|
176
|
+
keepAlive: boolean;
|
|
161
177
|
token: string;
|
|
178
|
+
baseUrlTemplate: string;
|
|
162
179
|
anno: boolean;
|
|
163
180
|
webTileLayerOptions: __esri.WebTileLayerProperties;
|
|
164
|
-
}, {}, {
|
|
165
|
-
|
|
181
|
+
}, {}, {
|
|
182
|
+
VaBasemap: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
183
|
+
baseLayers: {
|
|
184
|
+
type: import("vue").PropType<__esri.CollectionProperties<__esri.LayerProperties>>;
|
|
185
|
+
default: () => any[];
|
|
186
|
+
};
|
|
187
|
+
spatialReference: {
|
|
188
|
+
type: import("vue").PropType<__esri.SpatialReferenceProperties>;
|
|
189
|
+
default: any;
|
|
190
|
+
};
|
|
191
|
+
orphan: {
|
|
192
|
+
type: BooleanConstructor;
|
|
193
|
+
default: boolean;
|
|
194
|
+
};
|
|
195
|
+
defaultOptions: {
|
|
196
|
+
type: import("vue").PropType<__esri.BasemapProperties>;
|
|
197
|
+
default: () => {};
|
|
198
|
+
};
|
|
199
|
+
thumbnailUrl: {
|
|
200
|
+
type: StringConstructor;
|
|
201
|
+
default: string;
|
|
202
|
+
};
|
|
203
|
+
keepAlive: {
|
|
204
|
+
type: BooleanConstructor;
|
|
205
|
+
default: boolean;
|
|
206
|
+
};
|
|
207
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
208
|
+
[key: string]: any;
|
|
209
|
+
}>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
210
|
+
load: (e: import("@vuesri/core/components/basemap/src/types").LoadEvent) => import("@vuesri/core/components/basemap/src/types").LoadEvent;
|
|
211
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
212
|
+
baseLayers: {
|
|
213
|
+
type: import("vue").PropType<__esri.CollectionProperties<__esri.LayerProperties>>;
|
|
214
|
+
default: () => any[];
|
|
215
|
+
};
|
|
216
|
+
spatialReference: {
|
|
217
|
+
type: import("vue").PropType<__esri.SpatialReferenceProperties>;
|
|
218
|
+
default: any;
|
|
219
|
+
};
|
|
220
|
+
orphan: {
|
|
221
|
+
type: BooleanConstructor;
|
|
222
|
+
default: boolean;
|
|
223
|
+
};
|
|
224
|
+
defaultOptions: {
|
|
225
|
+
type: import("vue").PropType<__esri.BasemapProperties>;
|
|
226
|
+
default: () => {};
|
|
227
|
+
};
|
|
228
|
+
thumbnailUrl: {
|
|
229
|
+
type: StringConstructor;
|
|
230
|
+
default: string;
|
|
231
|
+
};
|
|
232
|
+
keepAlive: {
|
|
233
|
+
type: BooleanConstructor;
|
|
234
|
+
default: boolean;
|
|
235
|
+
};
|
|
236
|
+
}>> & Readonly<{
|
|
237
|
+
onLoad?: (e: import("@vuesri/core/components/basemap/src/types").LoadEvent) => any;
|
|
238
|
+
}>, {
|
|
239
|
+
defaultOptions: __esri.BasemapProperties;
|
|
240
|
+
orphan: boolean;
|
|
241
|
+
spatialReference: __esri.SpatialReferenceProperties;
|
|
242
|
+
baseLayers: __esri.CollectionProperties<__esri.LayerProperties>;
|
|
243
|
+
thumbnailUrl: string;
|
|
244
|
+
keepAlive: boolean;
|
|
245
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
246
|
+
VaBasemapBaseLayers: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
247
|
+
keepAlive: {
|
|
248
|
+
type: BooleanConstructor;
|
|
249
|
+
default: boolean;
|
|
250
|
+
};
|
|
251
|
+
index: {
|
|
252
|
+
type: NumberConstructor;
|
|
253
|
+
default: any;
|
|
254
|
+
};
|
|
255
|
+
}>, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
256
|
+
keepAlive: {
|
|
257
|
+
type: BooleanConstructor;
|
|
258
|
+
default: boolean;
|
|
259
|
+
};
|
|
260
|
+
index: {
|
|
261
|
+
type: NumberConstructor;
|
|
262
|
+
default: any;
|
|
263
|
+
};
|
|
264
|
+
}>> & Readonly<{}>, {
|
|
265
|
+
index: number;
|
|
266
|
+
keepAlive: boolean;
|
|
267
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
268
|
+
VaTdtWebTileLayer: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
269
|
+
type: {
|
|
270
|
+
type: import("vue").PropType<"img_c" | "vec_c" | "ter_c" | "img_w" | "vec_w" | "ter_w" | "cia_c" | "cva_c" | "cta_c" | "cia_w" | "cva_w" | "cta_w">;
|
|
271
|
+
default: string;
|
|
272
|
+
};
|
|
273
|
+
spatialReference: {
|
|
274
|
+
type: import("vue").PropType<__esri.SpatialReferenceProperties>;
|
|
275
|
+
default: () => {
|
|
276
|
+
wkid: number;
|
|
277
|
+
};
|
|
278
|
+
};
|
|
279
|
+
token: {
|
|
280
|
+
type: StringConstructor;
|
|
281
|
+
default: string;
|
|
282
|
+
};
|
|
283
|
+
minScale: {
|
|
284
|
+
type: NumberConstructor;
|
|
285
|
+
default: number;
|
|
286
|
+
};
|
|
287
|
+
maxScale: {
|
|
288
|
+
type: NumberConstructor;
|
|
289
|
+
default: number;
|
|
290
|
+
};
|
|
291
|
+
tileInfoVersion: {
|
|
292
|
+
type: NumberConstructor;
|
|
293
|
+
default: number;
|
|
294
|
+
};
|
|
295
|
+
baseUrlTemplate: {
|
|
296
|
+
type: StringConstructor;
|
|
297
|
+
default: string;
|
|
298
|
+
};
|
|
299
|
+
defaultOptions: {
|
|
300
|
+
type: import("vue").PropType<import("@vuesri/core/components/web-tile-layer/src/types").DefaultOptions>;
|
|
301
|
+
default: () => {};
|
|
302
|
+
};
|
|
303
|
+
cursor: {
|
|
304
|
+
type: StringConstructor;
|
|
305
|
+
default: string;
|
|
306
|
+
};
|
|
307
|
+
title: {
|
|
308
|
+
type: StringConstructor;
|
|
309
|
+
default: string;
|
|
310
|
+
};
|
|
311
|
+
visible: {
|
|
312
|
+
type: BooleanConstructor;
|
|
313
|
+
default: boolean;
|
|
314
|
+
};
|
|
315
|
+
opacity: {
|
|
316
|
+
type: NumberConstructor;
|
|
317
|
+
default: any;
|
|
318
|
+
};
|
|
319
|
+
index: {
|
|
320
|
+
type: NumberConstructor;
|
|
321
|
+
default: any;
|
|
322
|
+
};
|
|
323
|
+
orphan: {
|
|
324
|
+
type: BooleanConstructor;
|
|
325
|
+
default: boolean;
|
|
326
|
+
};
|
|
327
|
+
}>, {
|
|
328
|
+
defaultOptions: import("vue").ComputedRef<import("@vuesri/core/components/web-tile-layer/src/types").DefaultOptions>;
|
|
329
|
+
coreProps: import("vue").ComputedRef<{
|
|
330
|
+
visible: boolean;
|
|
331
|
+
orphan: boolean;
|
|
332
|
+
index: number;
|
|
333
|
+
cursor: string;
|
|
334
|
+
title: string;
|
|
335
|
+
maxScale: number;
|
|
336
|
+
minScale: number;
|
|
337
|
+
opacity: number;
|
|
338
|
+
}>;
|
|
339
|
+
coreEmits: {};
|
|
340
|
+
ready: import("vue").Ref<boolean, boolean>;
|
|
341
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
342
|
+
load: (e: import("@vuesri/core/components/web-tile-layer/src/types").LoadEvent) => import("@vuesri/core/components/web-tile-layer/src/types").LoadEvent;
|
|
343
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
344
|
+
type: {
|
|
345
|
+
type: import("vue").PropType<"img_c" | "vec_c" | "ter_c" | "img_w" | "vec_w" | "ter_w" | "cia_c" | "cva_c" | "cta_c" | "cia_w" | "cva_w" | "cta_w">;
|
|
346
|
+
default: string;
|
|
347
|
+
};
|
|
348
|
+
spatialReference: {
|
|
349
|
+
type: import("vue").PropType<__esri.SpatialReferenceProperties>;
|
|
350
|
+
default: () => {
|
|
351
|
+
wkid: number;
|
|
352
|
+
};
|
|
353
|
+
};
|
|
354
|
+
token: {
|
|
355
|
+
type: StringConstructor;
|
|
356
|
+
default: string;
|
|
357
|
+
};
|
|
358
|
+
minScale: {
|
|
359
|
+
type: NumberConstructor;
|
|
360
|
+
default: number;
|
|
361
|
+
};
|
|
362
|
+
maxScale: {
|
|
363
|
+
type: NumberConstructor;
|
|
364
|
+
default: number;
|
|
365
|
+
};
|
|
366
|
+
tileInfoVersion: {
|
|
367
|
+
type: NumberConstructor;
|
|
368
|
+
default: number;
|
|
369
|
+
};
|
|
370
|
+
baseUrlTemplate: {
|
|
371
|
+
type: StringConstructor;
|
|
372
|
+
default: string;
|
|
373
|
+
};
|
|
374
|
+
defaultOptions: {
|
|
375
|
+
type: import("vue").PropType<import("@vuesri/core/components/web-tile-layer/src/types").DefaultOptions>;
|
|
376
|
+
default: () => {};
|
|
377
|
+
};
|
|
378
|
+
cursor: {
|
|
379
|
+
type: StringConstructor;
|
|
380
|
+
default: string;
|
|
381
|
+
};
|
|
382
|
+
title: {
|
|
383
|
+
type: StringConstructor;
|
|
384
|
+
default: string;
|
|
385
|
+
};
|
|
386
|
+
visible: {
|
|
387
|
+
type: BooleanConstructor;
|
|
388
|
+
default: boolean;
|
|
389
|
+
};
|
|
390
|
+
opacity: {
|
|
391
|
+
type: NumberConstructor;
|
|
392
|
+
default: any;
|
|
393
|
+
};
|
|
394
|
+
index: {
|
|
395
|
+
type: NumberConstructor;
|
|
396
|
+
default: any;
|
|
397
|
+
};
|
|
398
|
+
orphan: {
|
|
399
|
+
type: BooleanConstructor;
|
|
400
|
+
default: boolean;
|
|
401
|
+
};
|
|
402
|
+
}>> & Readonly<{
|
|
403
|
+
onLoad?: (e: import("@vuesri/core/components/web-tile-layer/src/types").LoadEvent) => any;
|
|
404
|
+
}>, {
|
|
405
|
+
defaultOptions: import("@vuesri/core/components/web-tile-layer/src/types").DefaultOptions;
|
|
406
|
+
visible: boolean;
|
|
407
|
+
orphan: boolean;
|
|
408
|
+
type: "img_c" | "vec_c" | "ter_c" | "img_w" | "vec_w" | "ter_w" | "cia_c" | "cva_c" | "cta_c" | "cia_w" | "cva_w" | "cta_w";
|
|
409
|
+
index: number;
|
|
410
|
+
cursor: string;
|
|
411
|
+
spatialReference: __esri.SpatialReferenceProperties;
|
|
412
|
+
title: string;
|
|
413
|
+
maxScale: number;
|
|
414
|
+
minScale: number;
|
|
415
|
+
opacity: number;
|
|
416
|
+
token: string;
|
|
417
|
+
tileInfoVersion: number;
|
|
418
|
+
baseUrlTemplate: string;
|
|
419
|
+
}, {}, {
|
|
420
|
+
VaWebTileLayer: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
421
|
+
defaultOptions: {
|
|
422
|
+
type: import("vue").PropType<import("@vuesri/core/components/web-tile-layer/src/types").DefaultOptions>;
|
|
423
|
+
default: () => {};
|
|
424
|
+
};
|
|
425
|
+
maxScale: {
|
|
426
|
+
type: NumberConstructor;
|
|
427
|
+
default: number;
|
|
428
|
+
};
|
|
429
|
+
minScale: {
|
|
430
|
+
type: NumberConstructor;
|
|
431
|
+
default: number;
|
|
432
|
+
};
|
|
433
|
+
cursor: {
|
|
434
|
+
type: StringConstructor;
|
|
435
|
+
default: string;
|
|
436
|
+
};
|
|
437
|
+
title: {
|
|
438
|
+
type: StringConstructor;
|
|
439
|
+
default: string;
|
|
440
|
+
};
|
|
441
|
+
visible: {
|
|
442
|
+
type: BooleanConstructor;
|
|
443
|
+
default: boolean;
|
|
444
|
+
};
|
|
445
|
+
opacity: {
|
|
446
|
+
type: NumberConstructor;
|
|
447
|
+
default: any;
|
|
448
|
+
};
|
|
449
|
+
index: {
|
|
450
|
+
type: NumberConstructor;
|
|
451
|
+
default: any;
|
|
452
|
+
};
|
|
453
|
+
orphan: {
|
|
454
|
+
type: BooleanConstructor;
|
|
455
|
+
default: boolean;
|
|
456
|
+
};
|
|
457
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
458
|
+
[key: string]: any;
|
|
459
|
+
}>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
460
|
+
load: (e: import("@vuesri/core/components/web-tile-layer/src/types").LoadEvent) => import("@vuesri/core/components/web-tile-layer/src/types").LoadEvent;
|
|
461
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
462
|
+
defaultOptions: {
|
|
463
|
+
type: import("vue").PropType<import("@vuesri/core/components/web-tile-layer/src/types").DefaultOptions>;
|
|
464
|
+
default: () => {};
|
|
465
|
+
};
|
|
466
|
+
maxScale: {
|
|
467
|
+
type: NumberConstructor;
|
|
468
|
+
default: number;
|
|
469
|
+
};
|
|
470
|
+
minScale: {
|
|
471
|
+
type: NumberConstructor;
|
|
472
|
+
default: number;
|
|
473
|
+
};
|
|
474
|
+
cursor: {
|
|
475
|
+
type: StringConstructor;
|
|
476
|
+
default: string;
|
|
477
|
+
};
|
|
478
|
+
title: {
|
|
479
|
+
type: StringConstructor;
|
|
480
|
+
default: string;
|
|
481
|
+
};
|
|
482
|
+
visible: {
|
|
483
|
+
type: BooleanConstructor;
|
|
484
|
+
default: boolean;
|
|
485
|
+
};
|
|
486
|
+
opacity: {
|
|
487
|
+
type: NumberConstructor;
|
|
488
|
+
default: any;
|
|
489
|
+
};
|
|
490
|
+
index: {
|
|
491
|
+
type: NumberConstructor;
|
|
492
|
+
default: any;
|
|
493
|
+
};
|
|
494
|
+
orphan: {
|
|
495
|
+
type: BooleanConstructor;
|
|
496
|
+
default: boolean;
|
|
497
|
+
};
|
|
498
|
+
}>> & Readonly<{
|
|
499
|
+
onLoad?: (e: import("@vuesri/core/components/web-tile-layer/src/types").LoadEvent) => any;
|
|
500
|
+
}>, {
|
|
501
|
+
defaultOptions: import("@vuesri/core/components/web-tile-layer/src/types").DefaultOptions;
|
|
502
|
+
visible: boolean;
|
|
503
|
+
orphan: boolean;
|
|
504
|
+
index: number;
|
|
505
|
+
cursor: string;
|
|
506
|
+
title: string;
|
|
507
|
+
maxScale: number;
|
|
508
|
+
minScale: number;
|
|
509
|
+
opacity: number;
|
|
510
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
511
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
512
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
513
|
+
VaMapView: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
166
514
|
defaultOptions: {
|
|
167
|
-
type: PropType<__esri.MapViewProperties>;
|
|
515
|
+
type: import("vue").PropType<__esri.MapViewProperties>;
|
|
168
516
|
default: () => {};
|
|
169
517
|
};
|
|
170
518
|
cursor: {
|
|
171
519
|
type: StringConstructor;
|
|
172
520
|
default: string;
|
|
173
521
|
};
|
|
174
|
-
}
|
|
522
|
+
}>, {
|
|
175
523
|
viewNode: import("vue").Ref<HTMLDivElement, HTMLDivElement>;
|
|
176
524
|
eventCursor: import("vue").Ref<string, string>;
|
|
177
525
|
cursorStyle: import("vue").ComputedRef<import("vue").StyleValue>;
|
|
178
|
-
},
|
|
526
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
179
527
|
load: (e: import("@vuesri/core/components/map-view/src/types").LoadEvent) => import("@vuesri/core/components/map-view/src/types").LoadEvent;
|
|
180
528
|
'update:cursor': (e: string) => string | true;
|
|
181
529
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
182
530
|
defaultOptions: {
|
|
183
|
-
type: PropType<__esri.MapViewProperties>;
|
|
531
|
+
type: import("vue").PropType<__esri.MapViewProperties>;
|
|
184
532
|
default: () => {};
|
|
185
533
|
};
|
|
186
534
|
cursor: {
|
|
187
535
|
type: StringConstructor;
|
|
188
536
|
default: string;
|
|
189
537
|
};
|
|
190
|
-
}>> & {
|
|
191
|
-
onLoad?: (
|
|
192
|
-
"onUpdate:cursor"?: (
|
|
193
|
-
}
|
|
194
|
-
defaultOptions:
|
|
538
|
+
}>> & Readonly<{
|
|
539
|
+
onLoad?: (e: import("@vuesri/core/components/map-view/src/types").LoadEvent) => any;
|
|
540
|
+
"onUpdate:cursor"?: (e: string) => any;
|
|
541
|
+
}>, {
|
|
542
|
+
defaultOptions: __esri.MapViewProperties;
|
|
195
543
|
cursor: string;
|
|
196
|
-
}, {}, {
|
|
544
|
+
}, {}, {
|
|
545
|
+
ViewEvents: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
546
|
+
cursor: {
|
|
547
|
+
type: StringConstructor;
|
|
548
|
+
default: string;
|
|
549
|
+
};
|
|
550
|
+
}>, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
551
|
+
"update:cursor": (e: string) => string | true;
|
|
552
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
553
|
+
cursor: {
|
|
554
|
+
type: StringConstructor;
|
|
555
|
+
default: string;
|
|
556
|
+
};
|
|
557
|
+
}>> & Readonly<{
|
|
558
|
+
"onUpdate:cursor"?: (e: string) => any;
|
|
559
|
+
}>, {
|
|
560
|
+
cursor: string;
|
|
561
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
562
|
+
ViewWatchs: import("vue").DefineComponent<{}, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
563
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
197
564
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
198
|
-
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("vue"),u=require("element-plus"),d=require("@vunk/shared/function"),f=require("../_plugin-vue_export-helper.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("vue"),u=require("element-plus"),d=require("@vunk/shared/function"),f=require("../_plugin-vue_export-helper-BHFhmbuH.js"),p={labelWidth:{type:[String,Number],default:void 0},labelPosition:{type:String,default:void 0},labelSuffix:{type:String,default:void 0}},b={};var m=class extends Error{constructor(e){super(e),this.name="ElementPlusError"}};function x(e,r){{const o=new m(`[${e}] ${r}`);console.warn(o)}}const _="ElForm";function h(){const e=n.ref([]),r=n.computed(()=>{if(!e.value.length)return"0";const t=Math.max(...e.value);return t?`${t}px`:""});function o(t){const i=e.value.indexOf(t);return i===-1&&r.value==="0"&&x(_,`unexpected width ${t}`),i}function l(t,i){if(t&&i){const a=o(i);e.value.splice(a,1,t)}else t&&e.value.push(t)}function s(t){const i=o(t);i>-1&&e.value.splice(i,1)}return{autoLabelWidth:r,registerLabelWidth:l,deregisterLabelWidth:s}}const v=n.defineComponent({name:"VkfFieldset",props:p,emits:b,setup(e){const r={addField:d.noop},o=n.inject(u.formContextKey,r),l=n.computed(()=>e.labelWidth??o.labelWidth),s=n.computed(()=>e.labelPosition??o.labelPosition),t=n.computed(()=>e.labelSuffix??o.labelSuffix);return n.provide(u.formContextKey,n.reactive({...o===r?r:n.toRefs(o),labelWidth:l,labelPosition:s,labelSuffix:t,...h()})),{}}}),g={class:"vkf-fieldset"};function S(e,r,o,l,s,t){return n.openBlock(),n.createElementBlock("fieldset",g,[n.renderSlot(e.$slots,"default")])}const c=f._export_sfc(v,[["render",S]]),W=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));exports.VkfFieldset=c;exports.__VkfFieldset=W;exports.default=c;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref as c, computed as s, defineComponent as f, inject as d, provide as p, reactive as m, toRefs as b, openBlock as x, createElementBlock as h, renderSlot as _ } from "vue";
|
|
2
2
|
import { formContextKey as a } from "element-plus";
|
|
3
3
|
import { noop as v } from "@vunk/shared/function";
|
|
4
|
-
import { _ as S } from "../_plugin-vue_export-helper.
|
|
4
|
+
import { _ as S } from "../_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
5
5
|
const W = {
|
|
6
6
|
labelWidth: {
|
|
7
7
|
type: [String, Number],
|
|
@@ -30,8 +30,7 @@ function E(e, n) {
|
|
|
30
30
|
const P = "ElForm";
|
|
31
31
|
function k() {
|
|
32
32
|
const e = c([]), n = s(() => {
|
|
33
|
-
if (!e.value.length)
|
|
34
|
-
return "0";
|
|
33
|
+
if (!e.value.length) return "0";
|
|
35
34
|
const t = Math.max(...e.value);
|
|
36
35
|
return t ? `${t}px` : "";
|
|
37
36
|
});
|
|
@@ -43,8 +42,7 @@ function k() {
|
|
|
43
42
|
if (t && r) {
|
|
44
43
|
const u = o(r);
|
|
45
44
|
e.value.splice(u, 1, t);
|
|
46
|
-
} else
|
|
47
|
-
t && e.value.push(t);
|
|
45
|
+
} else t && e.value.push(t);
|
|
48
46
|
}
|
|
49
47
|
function l(t) {
|
|
50
48
|
const r = o(t);
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
4
|
labelWidth: {
|
|
3
5
|
type: (StringConstructor | NumberConstructor)[];
|
|
4
6
|
default: undefined;
|
|
@@ -29,4 +31,3 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
29
31
|
labelPosition: "left" | "right" | "top";
|
|
30
32
|
labelSuffix: string;
|
|
31
33
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
32
|
-
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const p=require("element-plus"),b=require("@vunk/core/shared/utils-vue"),_=require("@vunk/core/shared/utils-function"),t=require("vue"),v=require("@vunk/form/components/form-item-renderer"),g=require("@vunk/form/shared/element-plus"),E=require("@vunk/core/shared/helper"),w=require("@vunk/form/components/templates-default"),C=require("@vunk/form/components/templates-layout"),q=require("@vunk/core/shared/utils-object"),I=require("@vunk/form/shared/form"),O=require("@vunk/form/components/renderer-data"),T=require("@vunk/shared/object"),P=require("@vunk/form/components/forms-provider"),h=require("../_plugin-vue_export-helper.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const p=require("element-plus"),b=require("@vunk/core/shared/utils-vue"),_=require("@vunk/core/shared/utils-function"),t=require("vue"),v=require("@vunk/form/components/form-item-renderer"),g=require("@vunk/form/shared/element-plus"),E=require("@vunk/core/shared/helper"),w=require("@vunk/form/components/templates-default"),C=require("@vunk/form/components/templates-layout"),q=require("@vunk/core/shared/utils-object"),I=require("@vunk/form/shared/form"),O=require("@vunk/form/components/renderer-data"),T=require("@vunk/shared/object"),P=require("@vunk/form/components/forms-provider"),h=require("../_plugin-vue_export-helper-BHFhmbuH.js"),d={...p.formProps,data:{type:Object,default:()=>({})},formItems:{type:Array,default:()=>[]},readonly:{type:Boolean},elRef:{type:Function,default:()=>_.NOOP},layout:{type:Boolean,default:!1},rowSource:{type:Object,default:()=>({})},colSource:{type:Object,default:()=>({})},segmentAttrs:{type:Object,default:()=>({})}},D=b.bindPropsFactory(d),i={...p.formEmits,setData:e=>e,validate:null,submit:null},j=b.onEmitsFactory(i),L=Object.freeze(Object.defineProperty({__proto__:null,createBindProps:D,createOnEmits:j,emits:i,props:d},Symbol.toStringTag,{value:"Module"})),$=e=>24-e.templateSlots.reduce((r,n)=>{if(!n.span)throw new Error("ElColSource span is required");return r+n.span},0),B=(e,r={})=>{const n=e.span??r.span;if(n==null)throw new Error("genColItem ElColSource span is required");return{...r,templateType:"ElCol",span:n,templateSlots:[q.pickObject(e,{excludes:["span"]})]}},N=(e,r={})=>({...r,templateType:"ElRow",templateSlots:e?[e]:[]}),M=t.defineComponent({name:"VkfForm",components:{VkfRendererData:O.VkfRendererData,ElForm:p.ElForm,VkfFormItemRenderer:v.VkfFormItemRenderer,VkfTemplatesDefault:w.VkfTemplatesDefault,VkfTemplatesLayout:C.VkfTemplatesLayout,VkfFormsSegment:P.VkfFormsSegment},props:d,emits:i,setup(e,{emit:r}){const n=g.createFormBindProps(e,["model"]),y=g.createFormOnEmits(r),m=t.shallowRef(),V=t.getCurrentInstance();t.provide("vkfFormVm",V),t.provide("elFormRef",m);const u=o=>{m.value=o,e.elRef(o)},c=t.computed(()=>e.layout?e.formItems.reduce((o,l)=>{var k;const s=o.findLast(F=>F.templateType==="ElRow"),a=l.span??e.colSource.span;if(!a)return o.push(l),o;if(!((k=l.templateLayout)!=null&&k.allowEmpty)&&Reflect.has(l,"templateIf")&&!I.genTemplateIfFunc(l.templateIf)(e.data))return o;const S=B(l,T.pickObject({...e.colSource,...l.templateLayout},{excludes:["allowEmpty"]}));return!s||$(s)<a?o.push(N(S,e.rowSource)):s.templateSlots.push(S),o},[]):e.formItems),f=o=>{o.preventDefault(),r("submit",o)};return{formProps:n,formEmits:y,getValue:E.getValue,getRef:u,computed:t.computed,rendererSource:c,handleSubmit:f}}});function A(e,r,n,y,m,V){const u=t.resolveComponent("VkfFormsSegment"),c=t.resolveComponent("VkfTemplatesDefault"),f=t.resolveComponent("VkfTemplatesLayout"),o=t.resolveComponent("VkfFormItemRenderer"),l=t.resolveComponent("VkfRendererData"),s=t.resolveComponent("ElForm");return t.openBlock(),t.createBlock(s,t.mergeProps(e.formProps,{ref:e.getRef,class:{"is-readonly":e.readonly},model:e.model||e.data},t.toHandlers(e.formEmits),{onSubmit:e.handleSubmit}),{default:t.withCtx(()=>[t.createVNode(l,{data:e.data,onSetData:r[0]||(r[0]=a=>e.$emit("setData",a))},{default:t.withCtx(()=>[t.createVNode(u,t.mergeProps({data:e.data},e.segmentAttrs),null,16,["data"]),t.createVNode(o,{source:e.rendererSource},{placeholder:t.withCtx(()=>[t.createVNode(c),t.createVNode(f)]),default:t.withCtx(()=>[t.renderSlot(e.$slots,"rendererTemplate")]),_:3},8,["source"]),t.renderSlot(e.$slots,"default")]),_:3},8,["data"])]),_:3},16,["class","model","onSubmit"])}const R=h._export_sfc(M,[["render",A]]),z=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));exports.VkfForm=R;exports._VkfFormCtx=L;exports.__VkfForm=z;exports.default=R;
|
|
@@ -12,7 +12,7 @@ import { genTemplateIfFunc as G } from "@vunk/form/shared/form";
|
|
|
12
12
|
import { VkfRendererData as J } from "@vunk/form/components/renderer-data";
|
|
13
13
|
import { pickObject as K } from "@vunk/shared/object";
|
|
14
14
|
import { VkfFormsSegment as Q } from "@vunk/form/components/forms-provider";
|
|
15
|
-
import { _ as U } from "../_plugin-vue_export-helper.
|
|
15
|
+
import { _ as U } from "../_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
16
16
|
const d = {
|
|
17
17
|
...w,
|
|
18
18
|
data: {
|
|
@@ -68,7 +68,7 @@ export declare const props: {
|
|
|
68
68
|
validateOnRuleChange: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
69
69
|
hideRequiredAsterisk: BooleanConstructor;
|
|
70
70
|
scrollToError: BooleanConstructor;
|
|
71
|
-
scrollIntoViewOptions: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | null)[], unknown, unknown, true, boolean>;
|
|
71
|
+
scrollIntoViewOptions: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | (((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions)) | null)[], unknown, unknown, true, boolean>;
|
|
72
72
|
size: {
|
|
73
73
|
readonly type: PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
74
74
|
readonly required: false;
|