@vunk/form 1.1.65 → 1.1.66
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/component.d.ts +1 -1
- package/components/button/index.css +1 -0
- package/components/button/index.d.ts +1 -1
- package/components/button/index.js +43 -57
- package/components/button/src/ctx.d.ts +13 -13
- package/components/button/src/ctx.js +1 -39
- package/components/button/src/index.css +1 -0
- package/components/button/src/index.vue.d.ts +37 -73
- package/components/button/src/types.d.ts +1 -1
- package/components/cascader/index.css +1 -0
- package/components/cascader/index.d.ts +1 -1
- package/components/cascader/index.js +34 -49
- package/components/cascader/src/ctx.d.ts +15 -15
- package/components/cascader/src/ctx.js +1 -38
- package/components/cascader/src/index.css +1 -0
- package/components/cascader/src/index.vue.d.ts +45 -70
- package/components/cascader/src/use.d.ts +1 -1
- package/components/cascader/src/use.js +1 -28
- package/components/checkbox/index.css +1 -0
- package/components/checkbox/index.d.ts +1 -1
- package/components/checkbox/index.js +48 -53
- package/components/checkbox/src/ctx.d.ts +14 -14
- package/components/checkbox/src/ctx.js +1 -46
- package/components/checkbox/src/index.css +1 -0
- package/components/checkbox/src/index.vue.d.ts +43 -63
- package/components/color-picker/index.css +1 -0
- package/components/color-picker/index.d.ts +1 -1
- package/components/color-picker/index.js +38 -42
- package/components/color-picker/src/ctx.d.ts +15 -13
- package/components/color-picker/src/ctx.js +1 -23
- package/components/color-picker/src/index.css +1 -0
- package/components/color-picker/src/index.vue.d.ts +36 -65
- package/components/date-picker/index.css +1 -0
- package/components/date-picker/index.d.ts +1 -1
- package/components/date-picker/index.js +42 -55
- package/components/date-picker/src/ctx.d.ts +41 -34
- package/components/date-picker/src/ctx.js +1 -31
- package/components/date-picker/src/index.css +1 -0
- package/components/date-picker/src/index.vue.d.ts +122 -133
- package/components/date-picker/src/types.d.ts +9 -9
- package/components/date-picker/src/types.js +1 -11
- package/components/esri-input-geojson/index.css +8 -6
- package/components/esri-input-geojson/index.d.ts +1 -1
- package/components/esri-input-geojson/index.js +417 -535
- package/components/esri-input-geojson/src/append.vue.d.ts +7 -7
- package/components/esri-input-geojson/src/const.d.ts +1 -1
- package/components/esri-input-geojson/src/const.js +1 -33
- package/components/esri-input-geojson/src/ctx.d.ts +44 -35
- package/components/esri-input-geojson/src/ctx.js +1 -128
- package/components/esri-input-geojson/src/default-view.vue.d.ts +9 -9
- package/components/esri-input-geojson/src/index.css +1 -0
- package/components/esri-input-geojson/src/index.vue.d.ts +142 -119
- package/components/esri-input-geojson/src/types.d.ts +1 -0
- package/components/esri-input-geojson/src/viewer.vue.d.ts +23 -22
- package/components/form/index.css +1 -0
- package/components/form/index.d.ts +1 -1
- package/components/form/index.js +57 -87
- package/components/form/src/ctx.d.ts +176 -204
- package/components/form/src/ctx.js +1 -61
- package/components/form/src/index.css +1 -0
- package/components/form/src/index.vue.d.ts +515 -601
- package/components/form/src/types.d.ts +3 -3
- package/components/form/src/utils.d.ts +1 -1
- package/components/form/src/utils.js +1 -55
- package/components/form-item/index.css +1 -0
- package/components/form-item/index.d.ts +1 -1
- package/components/form-item/index.js +22 -50
- package/components/form-item/src/ctx.d.ts +9 -9
- package/components/form-item/src/ctx.js +1 -53
- package/components/form-item/src/index.css +1 -0
- package/components/form-item/src/index.vue.d.ts +26 -26
- package/components/form-item/src/types.d.ts +1 -1
- package/components/form-item-renderer/index.css +1 -0
- package/components/form-item-renderer/index.d.ts +1 -1
- package/components/form-item-renderer/index.js +10 -18
- package/components/form-item-renderer/src/ctx.d.ts +3 -3
- package/components/form-item-renderer/src/ctx.js +1 -16
- package/components/form-item-renderer/src/index.css +1 -0
- package/components/form-item-renderer/src/index.vue.d.ts +9 -9
- package/components/form-item-renderer/src/symbols.js +1 -3
- package/components/form-item-renderer-template/index.css +1 -0
- package/components/form-item-renderer-template/index.d.ts +1 -1
- package/components/form-item-renderer-template/index.js +6 -13
- package/components/form-item-renderer-template/src/ctx.js +1 -9
- package/components/form-item-renderer-template/src/index.css +1 -0
- package/components/form-item-renderer-template/src/index.vue.d.ts +2 -2
- package/components/geoinput/index.css +1 -0
- package/components/geoinput/index.d.ts +1 -1
- package/components/geoinput/index.js +45 -43
- package/components/geoinput/src/ctx.d.ts +42 -28
- package/components/geoinput/src/ctx.js +1 -39
- package/components/geoinput/src/index.css +1 -0
- package/components/geoinput/src/index.vue.d.ts +111 -223
- package/components/geoinput/src/types.d.ts +3 -3
- package/components/geoinput-read/index.css +1 -0
- package/components/geoinput-read/index.d.ts +1 -1
- package/components/geoinput-read/index.js +120 -160
- package/components/geoinput-read/src/append.vue.d.ts +4 -4
- package/components/geoinput-read/src/core.vue.d.ts +130 -104
- package/components/geoinput-read/src/ctx.d.ts +42 -30
- package/components/geoinput-read/src/ctx.js +1 -66
- package/components/geoinput-read/src/index.css +1 -0
- package/components/geoinput-read/src/index.vue.d.ts +108 -151
- package/components/geoinput-read/src/types.d.ts +1 -1
- package/components/geoinput-update/index.css +9 -7
- package/components/geoinput-update/index.d.ts +1 -1
- package/components/geoinput-update/index.js +335 -366
- package/components/geoinput-update/src/append.vue.d.ts +5 -5
- package/components/geoinput-update/src/ctx.d.ts +38 -28
- package/components/geoinput-update/src/ctx.js +1 -85
- package/components/geoinput-update/src/index.css +1 -0
- package/components/geoinput-update/src/index.vue.d.ts +120 -98
- package/components/geoinput-update/src/types.d.ts +2 -2
- package/components/input/index.css +1 -0
- package/components/input/index.d.ts +1 -1
- package/components/input/index.js +43 -60
- package/components/input/src/ctx.d.ts +31 -25
- package/components/input/src/ctx.js +1 -46
- package/components/input/src/index.css +1 -0
- package/components/input/src/index.vue.d.ts +94 -110
- package/components/input/src/types.d.ts +2 -2
- package/components/input-link/index.css +1 -0
- package/components/input-link/index.d.ts +1 -1
- package/components/input-link/index.js +71 -92
- package/components/input-link/src/ctx.d.ts +26 -20
- package/components/input-link/src/ctx.js +1 -66
- package/components/input-link/src/index.css +1 -0
- package/components/input-link/src/index.vue.d.ts +72 -116
- package/components/input-number/index.css +1 -0
- package/components/input-number/index.d.ts +1 -1
- package/components/input-number/index.js +37 -45
- package/components/input-number/src/ctx.d.ts +15 -15
- package/components/input-number/src/ctx.js +1 -38
- package/components/input-number/src/index.css +1 -0
- package/components/input-number/src/index.vue.d.ts +42 -65
- package/components/input-number/src/types.d.ts +1 -1
- package/components/radio/index.css +1 -0
- package/components/radio/index.d.ts +1 -1
- package/components/radio/index.js +45 -50
- package/components/radio/src/ctx.d.ts +11 -11
- package/components/radio/src/ctx.js +1 -39
- package/components/radio/src/index.css +1 -0
- package/components/radio/src/index.vue.d.ts +41 -60
- package/components/radio/src/types.d.ts +1 -1
- package/components/select/index.css +1 -0
- package/components/select/index.d.ts +1 -1
- package/components/select/index.js +59 -64
- package/components/select/src/ctx.d.ts +39 -41
- package/components/select/src/ctx.js +1 -40
- package/components/select/src/index.css +1 -0
- package/components/select/src/index.vue.d.ts +130 -162
- package/components/select/src/types.d.ts +2 -2
- package/components/slider/index.css +1 -0
- package/components/slider/index.d.ts +1 -1
- package/components/slider/index.js +33 -50
- package/components/slider/src/ctx.d.ts +18 -18
- package/components/slider/src/ctx.js +1 -29
- package/components/slider/src/index.css +1 -0
- package/components/slider/src/index.vue.d.ts +62 -81
- package/components/switch/index.css +1 -0
- package/components/switch/index.d.ts +1 -1
- package/components/switch/index.js +33 -50
- package/components/switch/src/ctx.d.ts +22 -22
- package/components/switch/src/ctx.js +1 -31
- package/components/switch/src/index.css +1 -0
- package/components/switch/src/index.vue.d.ts +65 -83
- package/components/switch/src/types.d.ts +1 -1
- package/components/templates-default/index.css +1 -0
- package/components/templates-default/index.d.ts +1 -1
- package/components/templates-default/index.js +243 -172
- package/components/templates-default/src/ctx.d.ts +1 -1
- package/components/templates-default/src/ctx.js +1 -18
- package/components/templates-default/src/index.css +1 -0
- package/components/templates-default/src/index.vue.d.ts +9 -9
- package/components/templates-default/src/types.d.ts +16 -16
- package/components/templates-element-plus/index.css +1 -0
- package/components/templates-element-plus/index.d.ts +1 -1
- package/components/templates-element-plus/index.js +66 -36
- package/components/templates-element-plus/src/ctx.js +1 -9
- package/components/templates-element-plus/src/index.css +1 -0
- package/components/templates-element-plus/src/index.vue.d.ts +7 -7
- package/components/templates-element-plus/src/types.d.ts +1 -1
- package/components/templates-esri/index.css +1 -0
- package/components/templates-esri/index.d.ts +1 -1
- package/components/templates-esri/index.js +25 -24
- package/components/templates-esri/src/ctx.d.ts +1 -1
- package/components/templates-esri/src/ctx.js +1 -11
- package/components/templates-esri/src/index.css +1 -0
- package/components/templates-esri/src/index.vue.d.ts +6 -6
- package/components/templates-esri/src/types.d.ts +1 -1
- package/components/templates-layout/index.css +1 -0
- package/components/templates-layout/index.d.ts +1 -1
- package/components/templates-layout/index.js +96 -63
- package/components/templates-layout/src/ctx.js +1 -9
- package/components/templates-layout/src/index.css +1 -0
- package/components/templates-layout/src/index.vue.d.ts +7 -7
- package/components/templates-layout/src/types.d.ts +3 -3
- package/components/templates-mapbox/index.css +1 -0
- package/components/templates-mapbox/index.d.ts +1 -1
- package/components/templates-mapbox/index.js +25 -24
- package/components/templates-mapbox/src/ctx.d.ts +1 -1
- package/components/templates-mapbox/src/ctx.js +1 -11
- package/components/templates-mapbox/src/index.css +1 -0
- package/components/templates-mapbox/src/index.vue.d.ts +6 -6
- package/components/templates-mapbox/src/types.d.ts +1 -1
- package/components/upload/index.css +11 -9
- package/components/upload/index.d.ts +1 -1
- package/components/upload/index.js +264 -289
- package/components/upload/src/ctx.d.ts +21 -16
- package/components/upload/src/ctx.js +1 -45
- package/components/upload/src/file.vue.d.ts +19 -19
- package/components/upload/src/index.css +1 -0
- package/components/upload/src/index.vue.d.ts +54 -62
- package/components/upload-plus/index.css +1 -0
- package/components/upload-plus/index.d.ts +1 -1
- package/components/upload-plus/index.js +911 -9539
- package/components/upload-plus/src/api.d.ts +3 -3
- package/components/upload-plus/src/api.js +21 -18114
- package/components/upload-plus/src/const.js +1 -12
- package/components/upload-plus/src/ctx.d.ts +13 -13
- package/components/upload-plus/src/ctx.js +1 -58
- package/components/upload-plus/src/index.css +1 -0
- package/components/upload-plus/src/index.vue.d.ts +31 -48
- package/components/upload-plus/src/types.d.ts +1 -1
- package/components/van-cascader/index.css +1 -0
- package/components/van-cascader/index.d.ts +1 -1
- package/components/van-cascader/index.js +47 -55
- package/components/van-cascader/src/ctx.d.ts +13 -13
- package/components/van-cascader/src/ctx.js +1 -22
- package/components/van-cascader/src/index.css +1 -0
- package/components/van-cascader/src/index.vue.d.ts +40 -57
- package/components/var-datetime-picker/index.css +1 -0
- package/components/var-datetime-picker/index.d.ts +1 -1
- package/components/var-datetime-picker/index.js +137 -168
- package/components/var-datetime-picker/src/const.js +1 -91
- package/components/var-datetime-picker/src/ctx.d.ts +10 -10
- package/components/var-datetime-picker/src/ctx.js +1 -43
- package/components/var-datetime-picker/src/index.css +1 -0
- package/components/var-datetime-picker/src/index.vue.d.ts +26 -42
- package/components/var-datetime-picker/src/types.d.ts +1 -1
- package/components/vditor/index.css +1 -0
- package/components/vditor/index.d.ts +1 -1
- package/components/vditor/index.js +22 -17
- package/components/vditor/src/ctx.js +1 -15
- package/components/vditor/src/index.css +1 -0
- package/components/vditor/src/index.vue.d.ts +4 -3
- package/components/vditor/src/types.d.ts +1 -1
- package/composables/index.css +1 -0
- package/composables/index.js +1 -104
- package/composables/useForm.d.ts +2 -2
- package/composables/useSourceManager.d.ts +1 -1
- package/index.css +127 -20
- package/index.esm.js +1 -44
- package/package.json +1 -1
- package/shared/const/index.css +1 -0
- package/shared/const/index.d.ts +1 -1
- package/shared/const/index.js +1 -56
- package/shared/element-plus/ctx.d.ts +28 -26
- package/shared/element-plus/index.css +1 -0
- package/shared/element-plus/index.js +1 -220
- package/shared/element-plus/instances.d.ts +45 -38
- package/shared/form/index.css +1 -0
- package/shared/form/index.js +1 -30
- package/shared/helper/index.css +1 -0
- package/shared/helper/index.js +1 -9
- package/shared/index.css +1 -0
- package/shared/index.js +1 -56
- package/shared/infer-prop/index.css +1 -0
- package/shared/infer-prop/index.d.ts +1 -1
- package/shared/infer-prop/index.js +1 -34
- package/shared/progress-it/index.css +1 -0
- package/shared/progress-it/index.d.ts +4 -4
- package/shared/progress-it/index.js +1 -57
- package/shared/rules/index.css +1 -0
- package/shared/rules/index.js +1 -32
- package/shared/types/form/index.css +1 -0
- package/shared/types/index.css +1 -0
- package/shared/types/source/index.css +1 -0
- package/shared/types/source/index.d.ts +2 -2
- package/shared/types/source-manager/index.css +1 -0
- package/shared/upload/index.css +1 -0
- package/shared/upload/index.js +1 -767
|
@@ -3,36 +3,36 @@ import { RendererTreeData } from './types';
|
|
|
3
3
|
declare const VkfFormItemRenderer: import("vue").DefineComponent<{
|
|
4
4
|
source: {
|
|
5
5
|
type: import("vue").PropType<RendererTreeData[]>;
|
|
6
|
-
default: () =>
|
|
6
|
+
default: () => any[];
|
|
7
7
|
};
|
|
8
8
|
templateInstances: {
|
|
9
9
|
type: import("vue").PropType<Record<string, ComponentInternalInstance>>;
|
|
10
|
-
default:
|
|
10
|
+
default: any;
|
|
11
11
|
};
|
|
12
12
|
k: {
|
|
13
13
|
type: import("vue").PropType<(string | number)[]>;
|
|
14
|
-
default: () =>
|
|
14
|
+
default: () => any[];
|
|
15
15
|
};
|
|
16
16
|
}, () => (VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
17
17
|
[key: string]: any;
|
|
18
|
-
}>[] |
|
|
18
|
+
}>[] | VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
19
19
|
[key: string]: any;
|
|
20
|
-
}>
|
|
20
|
+
}>[][])[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
21
|
source: {
|
|
22
22
|
type: import("vue").PropType<RendererTreeData[]>;
|
|
23
|
-
default: () =>
|
|
23
|
+
default: () => any[];
|
|
24
24
|
};
|
|
25
25
|
templateInstances: {
|
|
26
26
|
type: import("vue").PropType<Record<string, ComponentInternalInstance>>;
|
|
27
|
-
default:
|
|
27
|
+
default: any;
|
|
28
28
|
};
|
|
29
29
|
k: {
|
|
30
30
|
type: import("vue").PropType<(string | number)[]>;
|
|
31
|
-
default: () =>
|
|
31
|
+
default: () => any[];
|
|
32
32
|
};
|
|
33
33
|
}>>, {
|
|
34
34
|
source: RendererTreeData[];
|
|
35
35
|
templateInstances: Record<string, ComponentInternalInstance>;
|
|
36
36
|
k: (string | number)[];
|
|
37
|
-
}>;
|
|
37
|
+
}, {}>;
|
|
38
38
|
export default VkfFormItemRenderer;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import VkfFormItemRendererTemplate from './src/index.vue
|
|
1
|
+
import VkfFormItemRendererTemplate from './src/index.vue';
|
|
2
2
|
export * as __VkfFormItemRendererTemplate from './src/types';
|
|
3
3
|
export { VkfFormItemRendererTemplate, };
|
|
4
4
|
export default VkfFormItemRendererTemplate;
|
|
@@ -9,15 +9,7 @@ const props = {
|
|
|
9
9
|
}
|
|
10
10
|
};
|
|
11
11
|
|
|
12
|
-
var
|
|
13
|
-
const target = sfc.__vccOpts || sfc;
|
|
14
|
-
for (const [key, val] of props) {
|
|
15
|
-
target[key] = val;
|
|
16
|
-
}
|
|
17
|
-
return target;
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
const _sfc_main = defineComponent({
|
|
12
|
+
var script = defineComponent({
|
|
21
13
|
name: "VkfFormItemRendererTemplate",
|
|
22
14
|
props,
|
|
23
15
|
setup(props2) {
|
|
@@ -35,14 +27,15 @@ const _sfc_main = defineComponent({
|
|
|
35
27
|
return () => null;
|
|
36
28
|
}
|
|
37
29
|
});
|
|
38
|
-
|
|
30
|
+
|
|
31
|
+
script.__file = "form-item-renderer-template/src/index.vue";
|
|
39
32
|
|
|
40
33
|
var types = /*#__PURE__*/Object.freeze({
|
|
41
34
|
__proto__: null
|
|
42
35
|
});
|
|
43
36
|
|
|
44
|
-
|
|
45
|
-
app.component(
|
|
37
|
+
script.install = (app) => {
|
|
38
|
+
app.component(script.name, script);
|
|
46
39
|
};
|
|
47
40
|
|
|
48
|
-
export { VkfFormItemRendererTemplate, types as __VkfFormItemRendererTemplate,
|
|
41
|
+
export { script as VkfFormItemRendererTemplate, types as __VkfFormItemRendererTemplate, script as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -4,7 +4,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4
4
|
required: boolean;
|
|
5
5
|
default: string;
|
|
6
6
|
};
|
|
7
|
-
}, () =>
|
|
7
|
+
}, () => any, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
8
|
type: {
|
|
9
9
|
type: StringConstructor;
|
|
10
10
|
required: boolean;
|
|
@@ -12,5 +12,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
12
12
|
};
|
|
13
13
|
}>>, {
|
|
14
14
|
type: string;
|
|
15
|
-
}>;
|
|
15
|
+
}, {}>;
|
|
16
16
|
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -3,26 +3,9 @@ import { _VkfGeoinputReadCtx, VkfGeoinputRead } from '@vunk/form/components/geoi
|
|
|
3
3
|
import { _VkfGeoinputUpdateCtx, VkfGeoinputUpdate } from '@vunk/form/components/geoinput-update';
|
|
4
4
|
import { useComputedReadonly } from '@vunk/form/composables';
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
10
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
11
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
12
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
13
|
-
var __spreadValues = (a, b) => {
|
|
14
|
-
for (var prop in b || (b = {}))
|
|
15
|
-
if (__hasOwnProp.call(b, prop))
|
|
16
|
-
__defNormalProp(a, prop, b[prop]);
|
|
17
|
-
if (__getOwnPropSymbols)
|
|
18
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
19
|
-
if (__propIsEnum.call(b, prop))
|
|
20
|
-
__defNormalProp(a, prop, b[prop]);
|
|
21
|
-
}
|
|
22
|
-
return a;
|
|
23
|
-
};
|
|
24
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
25
|
-
const props = __spreadProps(__spreadValues(__spreadValues({}, _VkfGeoinputReadCtx.props), _VkfGeoinputUpdateCtx.props), {
|
|
6
|
+
const props = {
|
|
7
|
+
..._VkfGeoinputReadCtx.props,
|
|
8
|
+
..._VkfGeoinputUpdateCtx.props,
|
|
26
9
|
readonly: {
|
|
27
10
|
type: Boolean,
|
|
28
11
|
default: void 0
|
|
@@ -31,22 +14,20 @@ const props = __spreadProps(__spreadValues(__spreadValues({}, _VkfGeoinputReadCt
|
|
|
31
14
|
type: Boolean,
|
|
32
15
|
default: true
|
|
33
16
|
},
|
|
17
|
+
/**
|
|
18
|
+
* @description geoinput-read GeojsonLayer 的 type
|
|
19
|
+
*/
|
|
34
20
|
type: {
|
|
35
21
|
type: String,
|
|
36
22
|
default: ""
|
|
37
23
|
}
|
|
38
|
-
}
|
|
39
|
-
const emits =
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
const target = sfc.__vccOpts || sfc;
|
|
43
|
-
for (const [key, val] of props) {
|
|
44
|
-
target[key] = val;
|
|
45
|
-
}
|
|
46
|
-
return target;
|
|
24
|
+
};
|
|
25
|
+
const emits = {
|
|
26
|
+
..._VkfGeoinputReadCtx.emits,
|
|
27
|
+
..._VkfGeoinputUpdateCtx.emits
|
|
47
28
|
};
|
|
48
29
|
|
|
49
|
-
|
|
30
|
+
var script = defineComponent({
|
|
50
31
|
name: "VkfGeoinput",
|
|
51
32
|
inheritAttrs: false,
|
|
52
33
|
components: {
|
|
@@ -55,7 +36,9 @@ const _sfc_main = defineComponent({
|
|
|
55
36
|
},
|
|
56
37
|
emits,
|
|
57
38
|
props,
|
|
58
|
-
setup(props2, {
|
|
39
|
+
setup(props2, {
|
|
40
|
+
emit
|
|
41
|
+
}) {
|
|
59
42
|
const readonly = useComputedReadonly(props2);
|
|
60
43
|
const readProps = _VkfGeoinputReadCtx.createBindProps(props2);
|
|
61
44
|
const updateProps = _VkfGeoinputUpdateCtx.createBindProps(props2);
|
|
@@ -70,25 +53,44 @@ const _sfc_main = defineComponent({
|
|
|
70
53
|
};
|
|
71
54
|
}
|
|
72
55
|
});
|
|
73
|
-
|
|
56
|
+
|
|
57
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
74
58
|
const _component_VkfGeoinputRead = resolveComponent("VkfGeoinputRead");
|
|
75
59
|
const _component_VkfGeoinputUpdate = resolveComponent("VkfGeoinputUpdate");
|
|
76
|
-
return _ctx.readonly ? (openBlock(), createBlock(
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
60
|
+
return _ctx.readonly ? (openBlock(), createBlock(
|
|
61
|
+
_component_VkfGeoinputRead,
|
|
62
|
+
mergeProps({
|
|
63
|
+
key: 0
|
|
64
|
+
}, {
|
|
65
|
+
..._ctx.readProps,
|
|
66
|
+
..._ctx.$attrs
|
|
67
|
+
}, toHandlers(_ctx.readEmits)),
|
|
68
|
+
null,
|
|
69
|
+
16
|
|
70
|
+
/* FULL_PROPS */
|
|
71
|
+
)) : (openBlock(), createBlock(
|
|
72
|
+
_component_VkfGeoinputUpdate,
|
|
73
|
+
mergeProps({
|
|
74
|
+
key: 1
|
|
75
|
+
}, {
|
|
76
|
+
..._ctx.updateProps,
|
|
77
|
+
..._ctx.$attrs
|
|
78
|
+
}, toHandlers(_ctx.updateEmits)),
|
|
79
|
+
null,
|
|
80
|
+
16
|
|
81
|
+
/* FULL_PROPS */
|
|
82
|
+
));
|
|
83
83
|
}
|
|
84
|
-
|
|
84
|
+
|
|
85
|
+
script.render = render;
|
|
86
|
+
script.__file = "geoinput/src/index.vue";
|
|
85
87
|
|
|
86
88
|
var types = /*#__PURE__*/Object.freeze({
|
|
87
89
|
__proto__: null
|
|
88
90
|
});
|
|
89
91
|
|
|
90
|
-
|
|
91
|
-
app.component(
|
|
92
|
+
script.install = (app) => {
|
|
93
|
+
app.component(script.name, script);
|
|
92
94
|
};
|
|
93
95
|
|
|
94
|
-
export { VkfGeoinput, types as __VkfGeoinput,
|
|
96
|
+
export { script as VkfGeoinput, types as __VkfGeoinput, script as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const props: {
|
|
2
2
|
readonly: {
|
|
3
3
|
type: BooleanConstructor;
|
|
4
|
-
default:
|
|
4
|
+
default: any;
|
|
5
5
|
};
|
|
6
6
|
showMap: {
|
|
7
7
|
type: BooleanConstructor;
|
|
@@ -28,7 +28,9 @@ export declare const props: {
|
|
|
28
28
|
};
|
|
29
29
|
modelValue: {
|
|
30
30
|
type: import("vue").PropType<import("geojson").FeatureCollection<import("geojson").Geometry, any>>;
|
|
31
|
-
default: () => import("geojson").FeatureCollection<import("geojson").Geometry,
|
|
31
|
+
default: () => import("geojson").FeatureCollection<import("geojson").Geometry, {
|
|
32
|
+
[name: string]: any;
|
|
33
|
+
}>;
|
|
32
34
|
};
|
|
33
35
|
editControls: {
|
|
34
36
|
type: import("vue").PropType<import("../../geoinput-update/src/types").EditType[]>;
|
|
@@ -44,7 +46,7 @@ export declare const props: {
|
|
|
44
46
|
};
|
|
45
47
|
mapTo: {
|
|
46
48
|
type: import("vue").PropType<string | import("vue").RendererElement>;
|
|
47
|
-
default:
|
|
49
|
+
default: any;
|
|
48
50
|
};
|
|
49
51
|
mapCenter: {
|
|
50
52
|
type: import("vue").PropType<import("mapbox-gl").LngLatLike>;
|
|
@@ -52,7 +54,7 @@ export declare const props: {
|
|
|
52
54
|
};
|
|
53
55
|
editStyles: {
|
|
54
56
|
type: import("vue").PropType<import("@vumap/core/components/control-draw/src/types").StyleLayer[]>;
|
|
55
|
-
default: () =>
|
|
57
|
+
default: () => any[];
|
|
56
58
|
};
|
|
57
59
|
slots: {
|
|
58
60
|
type: import("vue").PropType<import("../../geoinput-update/src/types").Slots>;
|
|
@@ -72,32 +74,32 @@ export declare const props: {
|
|
|
72
74
|
};
|
|
73
75
|
inputSlots: {
|
|
74
76
|
type: import("vue").PropType<import("../../input/src/types").InputSlots>;
|
|
75
|
-
default:
|
|
77
|
+
default: any;
|
|
76
78
|
};
|
|
77
79
|
rows: {
|
|
78
80
|
type: NumberConstructor;
|
|
79
|
-
default:
|
|
81
|
+
default: any;
|
|
80
82
|
};
|
|
81
|
-
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
82
83
|
label: StringConstructor;
|
|
83
84
|
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
84
85
|
prop: {
|
|
85
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) =>
|
|
86
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp))[], unknown, unknown>>;
|
|
86
87
|
readonly required: false;
|
|
87
|
-
readonly validator: (
|
|
88
|
+
readonly validator: (val: unknown) => boolean;
|
|
88
89
|
__epPropKey: true;
|
|
89
90
|
};
|
|
91
|
+
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
90
92
|
rules: {
|
|
91
|
-
readonly type: import("vue").PropType<
|
|
93
|
+
readonly type: import("vue").PropType<unknown>;
|
|
92
94
|
readonly required: false;
|
|
93
|
-
readonly validator: (
|
|
95
|
+
readonly validator: (val: unknown) => boolean;
|
|
94
96
|
__epPropKey: true;
|
|
95
97
|
};
|
|
96
98
|
error: StringConstructor;
|
|
97
99
|
validateStatus: {
|
|
98
100
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
99
101
|
readonly required: false;
|
|
100
|
-
readonly validator: (
|
|
102
|
+
readonly validator: (val: unknown) => boolean;
|
|
101
103
|
__epPropKey: true;
|
|
102
104
|
};
|
|
103
105
|
for: StringConstructor;
|
|
@@ -111,7 +113,7 @@ export declare const props: {
|
|
|
111
113
|
};
|
|
112
114
|
formItemSlots: {
|
|
113
115
|
type: import("vue").PropType<import("../../form-item/src/types").FormItemSlots>;
|
|
114
|
-
default:
|
|
116
|
+
default: any;
|
|
115
117
|
};
|
|
116
118
|
elRef: {
|
|
117
119
|
type: import("vue").PropType<any>;
|
|
@@ -129,65 +131,71 @@ export declare const props: {
|
|
|
129
131
|
size: {
|
|
130
132
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
131
133
|
readonly required: false;
|
|
132
|
-
readonly validator: (
|
|
134
|
+
readonly validator: (val: unknown) => boolean;
|
|
133
135
|
__epPropKey: true;
|
|
134
136
|
};
|
|
135
137
|
disabled: BooleanConstructor;
|
|
136
138
|
resize: {
|
|
137
139
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "horizontal" | "vertical" | "none" | "both", unknown>>;
|
|
138
140
|
readonly required: false;
|
|
139
|
-
readonly validator: (
|
|
141
|
+
readonly validator: (val: unknown) => boolean;
|
|
140
142
|
__epPropKey: true;
|
|
141
143
|
};
|
|
142
|
-
autosize: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) =>
|
|
144
|
+
autosize: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => boolean | {
|
|
145
|
+
minRows?: number;
|
|
146
|
+
maxRows?: number;
|
|
147
|
+
}) | (() => import("element-plus").InputAutoSize) | ((new (...args: any[]) => boolean | {
|
|
148
|
+
minRows?: number;
|
|
149
|
+
maxRows?: number;
|
|
150
|
+
}) | (() => import("element-plus").InputAutoSize))[], unknown, unknown, false, boolean>;
|
|
143
151
|
autocomplete: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "off", boolean>;
|
|
144
152
|
formatter: {
|
|
145
153
|
readonly type: import("vue").PropType<Function>;
|
|
146
154
|
readonly required: false;
|
|
147
|
-
readonly validator: (
|
|
155
|
+
readonly validator: (val: unknown) => boolean;
|
|
148
156
|
__epPropKey: true;
|
|
149
157
|
};
|
|
150
158
|
parser: {
|
|
151
159
|
readonly type: import("vue").PropType<Function>;
|
|
152
160
|
readonly required: false;
|
|
153
|
-
readonly validator: (
|
|
161
|
+
readonly validator: (val: unknown) => boolean;
|
|
154
162
|
__epPropKey: true;
|
|
155
163
|
};
|
|
156
164
|
placeholder: {
|
|
157
165
|
readonly type: import("vue").PropType<string>;
|
|
158
166
|
readonly required: false;
|
|
159
|
-
readonly validator: (
|
|
167
|
+
readonly validator: (val: unknown) => boolean;
|
|
160
168
|
__epPropKey: true;
|
|
161
169
|
};
|
|
162
170
|
form: {
|
|
163
171
|
readonly type: import("vue").PropType<string>;
|
|
164
172
|
readonly required: false;
|
|
165
|
-
readonly validator: (
|
|
173
|
+
readonly validator: (val: unknown) => boolean;
|
|
166
174
|
__epPropKey: true;
|
|
167
175
|
};
|
|
168
176
|
clearable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
169
177
|
showPassword: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
170
178
|
showWordLimit: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
171
179
|
suffixIcon: {
|
|
172
|
-
readonly type: import("vue").PropType<
|
|
180
|
+
readonly type: import("vue").PropType<unknown>;
|
|
173
181
|
readonly required: false;
|
|
174
|
-
readonly validator: (
|
|
182
|
+
readonly validator: (val: unknown) => boolean;
|
|
175
183
|
__epPropKey: true;
|
|
176
184
|
};
|
|
177
185
|
prefixIcon: {
|
|
178
|
-
readonly type: import("vue").PropType<
|
|
186
|
+
readonly type: import("vue").PropType<unknown>;
|
|
179
187
|
readonly required: false;
|
|
180
|
-
readonly validator: (
|
|
188
|
+
readonly validator: (val: unknown) => boolean;
|
|
181
189
|
__epPropKey: true;
|
|
182
190
|
};
|
|
183
191
|
containerRole: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
184
192
|
tabindex: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>;
|
|
185
193
|
validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
186
|
-
inputStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("vue").
|
|
194
|
+
inputStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | ((new (...args: any[]) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
187
195
|
autofocus: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
188
196
|
paint: {
|
|
189
197
|
type: import("vue").PropType<import("mapbox-gl").FillPaint | import("mapbox-gl").LinePaint>;
|
|
190
|
-
default:
|
|
198
|
+
default: any;
|
|
191
199
|
};
|
|
192
200
|
custom: {
|
|
193
201
|
type: BooleanConstructor;
|
|
@@ -202,11 +210,17 @@ export declare const props: {
|
|
|
202
210
|
before: StringConstructor;
|
|
203
211
|
data: {
|
|
204
212
|
type: import("vue").PropType<any>;
|
|
205
|
-
default: () => import("geojson").FeatureCollection<import("geojson").Geometry,
|
|
213
|
+
default: () => import("geojson").FeatureCollection<import("geojson").Geometry, {
|
|
214
|
+
[name: string]: any;
|
|
215
|
+
}>;
|
|
206
216
|
};
|
|
207
217
|
};
|
|
208
218
|
export declare const emits: {
|
|
209
|
-
'update:modelValue': (e: import("geojson").FeatureCollection<import("geojson").Geometry,
|
|
219
|
+
'update:modelValue': (e: import("geojson").FeatureCollection<import("geojson").Geometry, {
|
|
220
|
+
[name: string]: any;
|
|
221
|
+
}>) => import("geojson").FeatureCollection<import("geojson").Geometry, {
|
|
222
|
+
[name: string]: any;
|
|
223
|
+
}>;
|
|
210
224
|
editUpdate: (e: any) => any;
|
|
211
225
|
input: (value: string) => boolean;
|
|
212
226
|
change: (value: string) => boolean;
|
|
@@ -1,39 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { _VkfGeoinputUpdateCtx } from '@vunk/form/components/geoinput-update';
|
|
3
|
-
|
|
4
|
-
var __defProp = Object.defineProperty;
|
|
5
|
-
var __defProps = Object.defineProperties;
|
|
6
|
-
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
7
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
8
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
10
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
11
|
-
var __spreadValues = (a, b) => {
|
|
12
|
-
for (var prop in b || (b = {}))
|
|
13
|
-
if (__hasOwnProp.call(b, prop))
|
|
14
|
-
__defNormalProp(a, prop, b[prop]);
|
|
15
|
-
if (__getOwnPropSymbols)
|
|
16
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
17
|
-
if (__propIsEnum.call(b, prop))
|
|
18
|
-
__defNormalProp(a, prop, b[prop]);
|
|
19
|
-
}
|
|
20
|
-
return a;
|
|
21
|
-
};
|
|
22
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
23
|
-
const props = __spreadProps(__spreadValues(__spreadValues({}, _VkfGeoinputReadCtx.props), _VkfGeoinputUpdateCtx.props), {
|
|
24
|
-
readonly: {
|
|
25
|
-
type: Boolean,
|
|
26
|
-
default: void 0
|
|
27
|
-
},
|
|
28
|
-
showMap: {
|
|
29
|
-
type: Boolean,
|
|
30
|
-
default: true
|
|
31
|
-
},
|
|
32
|
-
type: {
|
|
33
|
-
type: String,
|
|
34
|
-
default: ""
|
|
35
|
-
}
|
|
36
|
-
});
|
|
37
|
-
const emits = __spreadValues(__spreadValues({}, _VkfGeoinputReadCtx.emits), _VkfGeoinputUpdateCtx.emits);
|
|
38
|
-
|
|
39
|
-
export { emits, props };
|
|
1
|
+
import{_VkfGeoinputReadCtx as t}from"@vunk/form/components/geoinput-read";import{_VkfGeoinputUpdateCtx as e}from"@vunk/form/components/geoinput-update";const o={...t.props,...e.props,readonly:{type:Boolean,default:void 0},showMap:{type:Boolean,default:!0},type:{type:String,default:""}},p={...t.emits,...e.emits};export{p as emits,o as props};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|