@vunk/form 1.1.77 → 1.1.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/_plugin-vue_export-helper.mjs +9 -0
- package/components/button/{index.js → index.mjs} +33 -29
- package/components/button/src/ctx.d.ts +30 -30
- package/components/button/src/index.vue.d.ts +69 -69
- package/components/cascader/index.css +0 -2
- package/components/cascader/{index.js → index.mjs} +22 -22
- package/components/cascader/src/ctx.d.ts +37 -45
- package/components/cascader/src/index.vue.d.ts +92 -92
- package/components/cascader/src/use.d.ts +1 -1
- package/components/checkbox/index.css +0 -9
- package/components/checkbox/{index.js → index.mjs} +45 -42
- package/components/checkbox/src/ctx.d.ts +29 -32
- package/components/checkbox/src/index.vue.d.ts +65 -65
- package/components/color-picker/{index.js → index.mjs} +23 -22
- package/components/color-picker/src/ctx.d.ts +29 -29
- package/components/color-picker/src/index.vue.d.ts +67 -67
- package/components/date-picker/index.d.ts +1 -0
- package/components/date-picker/{index.js → index.mjs} +46 -26
- package/components/date-picker/src/ctx.d.ts +51 -49
- package/components/date-picker/src/index.vue.d.ts +104 -104
- package/components/date-picker-range/index.css +18 -0
- package/components/date-picker-range/index.d.ts +4 -0
- package/components/date-picker-range/index.mjs +164 -0
- package/components/date-picker-range/src/ctx.d.ts +177 -0
- package/components/date-picker-range/src/index.vue.d.ts +398 -0
- package/components/date-picker-range/src/types.d.ts +12 -0
- package/components/download-plus/index.css +0 -6
- package/components/download-plus/{index.js → index.mjs} +119 -147
- package/components/download-plus/src/api.d.ts +1 -1
- package/components/download-plus/src/ctx.d.ts +27 -26
- package/components/download-plus/src/index.vue.d.ts +59 -59
- package/components/esri-input-geojson/index.css +0 -10
- package/components/esri-input-geojson/index.mjs +1109 -0
- package/components/esri-input-geojson/src/append.vue.d.ts +1 -1
- package/components/esri-input-geojson/src/ctx.d.ts +49 -72
- package/components/esri-input-geojson/src/index.vue.d.ts +138 -158
- package/components/esri-input-geojson/src/types.d.ts +0 -1
- package/components/esri-input-geojson/src/viewer.vue.d.ts +18 -19
- package/components/form/{index.js → index.mjs} +38 -36
- package/components/form/src/ctx.d.ts +13 -297
- package/components/form/src/index.vue.d.ts +97 -659
- package/components/form-item/index.css +0 -8
- package/components/form-item/{index.js → index.mjs} +22 -19
- package/components/form-item/src/ctx.d.ts +13 -11
- package/components/form-item/src/index.vue.d.ts +20 -20
- package/components/form-item-renderer/{index.js → index.mjs} +9 -7
- package/components/form-item-renderer/src/index.vue.d.ts +1 -1
- package/components/form-item-renderer-template/{index.js → index.mjs} +7 -7
- package/components/geoinput/{index.js → index.mjs} +10 -17
- package/components/geoinput/src/ctx.d.ts +48 -60
- package/components/geoinput/src/index.vue.d.ts +114 -132
- package/components/geoinput-read/index.css +0 -2
- package/components/geoinput-read/{index.js → index.mjs} +101 -109
- package/components/geoinput-read/src/core.vue.d.ts +123 -142
- package/components/geoinput-read/src/ctx.d.ts +50 -74
- package/components/geoinput-read/src/index.vue.d.ts +102 -120
- package/components/geoinput-update/index.css +0 -6
- package/components/geoinput-update/index.mjs +399 -0
- package/components/geoinput-update/src/ctx.d.ts +49 -69
- package/components/geoinput-update/src/index.vue.d.ts +126 -141
- package/components/index.mjs +11 -0
- package/components/index2.mjs +306 -0
- package/components/index3.mjs +484 -0
- package/components/input/{index.js → index.mjs} +31 -27
- package/components/input/src/ctx.d.ts +47 -66
- package/components/input/src/index.vue.d.ts +101 -113
- package/components/input-link/index.css +0 -2
- package/components/input-link/index.mjs +151 -0
- package/components/input-link/src/ctx.d.ts +40 -56
- package/components/input-link/src/index.vue.d.ts +89 -101
- package/components/input-number/index.css +0 -2
- package/components/input-number/{index.js → index.mjs} +25 -25
- package/components/input-number/src/ctx.d.ts +31 -37
- package/components/input-number/src/index.vue.d.ts +71 -71
- package/components/radio/index.css +0 -6
- package/components/radio/{index.js → index.mjs} +50 -47
- package/components/radio/src/ctx.d.ts +29 -29
- package/components/radio/src/index.vue.d.ts +64 -64
- package/components/select/index.css +0 -2
- package/components/select/{index.js → index.mjs} +49 -48
- package/components/select/src/ctx.d.ts +31 -85
- package/components/select/src/index.vue.d.ts +121 -230
- package/components/slider/{index.js → index.mjs} +28 -24
- package/components/slider/src/ctx.d.ts +35 -35
- package/components/slider/src/index.vue.d.ts +93 -93
- package/components/switch/index.css +0 -2
- package/components/switch/{index.js → index.mjs} +29 -24
- package/components/switch/src/ctx.d.ts +40 -40
- package/components/switch/src/index.vue.d.ts +91 -91
- package/components/templates-default/index.mjs +302 -0
- package/components/templates-default/src/ctx.d.ts +2 -4
- package/components/templates-default/src/index.vue.d.ts +2 -8
- package/components/templates-element-plus/index.mjs +106 -0
- package/components/templates-esri/index.mjs +59 -0
- package/components/templates-layout/index.css +0 -3
- package/components/templates-layout/index.mjs +131 -0
- package/components/templates-mapbox/index.mjs +59 -0
- package/components/templates-variant/index.d.ts +4 -0
- package/components/templates-variant/index.mjs +64 -0
- package/components/templates-variant/src/ctx.d.ts +11 -0
- package/components/templates-variant/src/index.vue.d.ts +20 -0
- package/components/templates-variant/src/types.d.ts +2 -0
- package/components/upload/index.css +0 -7
- package/components/upload/index.mjs +501 -0
- package/components/upload/src/ctx.d.ts +36 -38
- package/components/upload/src/file.vue.d.ts +22 -21
- package/components/upload/src/index.vue.d.ts +78 -78
- package/components/upload-plus/index.css +4 -8
- package/components/upload-plus/{index.js → index.mjs} +9497 -926
- package/components/upload-plus/src/api.d.ts +1 -1
- package/components/upload-plus/src/ctx.d.ts +25 -28
- package/components/upload-plus/src/index.vue.d.ts +58 -58
- package/components/van-cascader/index.css +0 -2
- package/components/van-cascader/{index.js → index.mjs} +41 -44
- package/components/van-cascader/src/ctx.d.ts +35 -35
- package/components/van-cascader/src/index.vue.d.ts +82 -82
- package/components/var-datetime-picker/index.css +0 -2
- package/components/var-datetime-picker/index.mjs +324 -0
- package/components/var-datetime-picker/src/ctx.d.ts +27 -26
- package/components/var-datetime-picker/src/index.vue.d.ts +57 -57
- package/components/vditor/{index.js → index.mjs} +9 -14
- package/components/vditor/src/ctx.d.ts +2 -1
- package/components/vditor/src/index.vue.d.ts +2 -3
- package/composables/index.mjs +85 -0
- package/composables/useSourceManager.d.ts +2 -2
- package/defaults.d.ts +1 -1
- package/index.css +22 -168
- package/index.d.ts +1 -1
- package/index.esm.js +44 -1
- package/package.json +257 -2
- package/shared/const/index.d.ts +1 -1
- package/shared/const/index.mjs +56 -0
- package/shared/element-plus/ctx.d.ts +26 -94
- package/shared/element-plus/index.mjs +285 -0
- package/shared/element-plus/instances.d.ts +29 -28
- package/shared/form/index.mjs +30 -0
- package/shared/helper/index.mjs +9 -0
- package/shared/index.mjs +1 -0
- package/shared/infer-prop/index.mjs +34 -0
- package/shared/progress-it/index.mjs +38 -0
- package/shared/rules/index.mjs +53 -0
- package/shared/types/source/index.d.ts +2 -1
- package/shared/upload/index.mjs +771 -0
- package/components/button/src/ctx.js +0 -1
- package/components/cascader/src/ctx.js +0 -1
- package/components/cascader/src/types.js +0 -1
- package/components/cascader/src/use.js +0 -1
- package/components/checkbox/src/ctx.js +0 -1
- package/components/checkbox/src/index.css +0 -1
- package/components/checkbox/src/types.js +0 -1
- package/components/color-picker/index.css +0 -1
- package/components/color-picker/src/ctx.js +0 -1
- package/components/color-picker/src/index.css +0 -1
- package/components/color-picker/src/types.js +0 -1
- package/components/date-picker/index.css +0 -1
- package/components/date-picker/src/ctx.js +0 -1
- package/components/date-picker/src/index.css +0 -1
- package/components/date-picker/src/types.js +0 -1
- package/components/download-plus/src/api.js +0 -1
- package/components/download-plus/src/const.js +0 -1
- package/components/download-plus/src/ctx.js +0 -1
- package/components/download-plus/src/index.css +0 -1
- package/components/download-plus/src/types.js +0 -1
- package/components/esri-input-geojson/index.js +0 -1563
- package/components/esri-input-geojson/src/const.js +0 -1
- package/components/esri-input-geojson/src/ctx.js +0 -1
- package/components/esri-input-geojson/src/index.css +0 -1
- package/components/esri-input-geojson/src/types.js +0 -1
- package/components/form/index.css +0 -1
- package/components/form/src/ctx.js +0 -1
- package/components/form/src/index.css +0 -1
- package/components/form/src/types.js +0 -1
- package/components/form/src/utils.js +0 -1
- package/components/form-item/src/ctx.js +0 -1
- package/components/form-item/src/index.css +0 -1
- package/components/form-item/src/types.js +0 -1
- package/components/form-item-renderer/index.css +0 -1
- package/components/form-item-renderer/src/ctx.js +0 -1
- package/components/form-item-renderer/src/index.css +0 -1
- package/components/form-item-renderer/src/symbols.js +0 -1
- package/components/form-item-renderer/src/types.js +0 -1
- package/components/form-item-renderer-template/index.css +0 -1
- package/components/form-item-renderer-template/src/ctx.js +0 -1
- package/components/form-item-renderer-template/src/index.css +0 -1
- package/components/form-item-renderer-template/src/types.js +0 -1
- package/components/geoinput/index.css +0 -1
- package/components/geoinput/src/ctx.js +0 -1
- package/components/geoinput/src/index.css +0 -1
- package/components/geoinput/src/types.js +0 -1
- package/components/geoinput-read/src/ctx.js +0 -1
- package/components/geoinput-read/src/index.css +0 -1
- package/components/geoinput-read/src/types.js +0 -1
- package/components/geoinput-update/index.js +0 -930
- package/components/geoinput-update/src/ctx.js +0 -1
- package/components/geoinput-update/src/index.css +0 -1
- package/components/geoinput-update/src/types.js +0 -1
- package/components/input/index.css +0 -1
- package/components/input/src/ctx.js +0 -1
- package/components/input/src/index.css +0 -1
- package/components/input/src/types.js +0 -1
- package/components/input-link/index.js +0 -163
- package/components/input-link/src/ctx.js +0 -1
- package/components/input-link/src/index.css +0 -1
- package/components/input-link/src/types.js +0 -1
- package/components/input-number/src/ctx.js +0 -1
- package/components/input-number/src/index.css +0 -1
- package/components/input-number/src/types.js +0 -1
- package/components/radio/src/ctx.js +0 -1
- package/components/radio/src/index.css +0 -1
- package/components/radio/src/types.js +0 -1
- package/components/select/src/ctx.js +0 -1
- package/components/select/src/index.css +0 -1
- package/components/select/src/types.js +0 -1
- package/components/slider/index.css +0 -1
- package/components/slider/src/ctx.js +0 -1
- package/components/slider/src/index.css +0 -1
- package/components/slider/src/types.js +0 -1
- package/components/switch/src/ctx.js +0 -1
- package/components/switch/src/index.css +0 -1
- package/components/switch/src/types.js +0 -1
- package/components/templates-default/index.css +0 -1
- package/components/templates-default/index.js +0 -347
- package/components/templates-default/src/ctx.js +0 -1
- package/components/templates-default/src/index.css +0 -1
- package/components/templates-default/src/types.js +0 -1
- package/components/templates-element-plus/index.css +0 -1
- package/components/templates-element-plus/index.js +0 -110
- package/components/templates-element-plus/src/ctx.js +0 -1
- package/components/templates-element-plus/src/index.css +0 -1
- package/components/templates-element-plus/src/types.js +0 -1
- package/components/templates-esri/index.css +0 -1
- package/components/templates-esri/index.js +0 -65
- package/components/templates-esri/src/ctx.js +0 -1
- package/components/templates-esri/src/index.css +0 -1
- package/components/templates-esri/src/types.js +0 -1
- package/components/templates-layout/index.js +0 -141
- package/components/templates-layout/src/ctx.js +0 -1
- package/components/templates-layout/src/index.css +0 -1
- package/components/templates-layout/src/types.js +0 -1
- package/components/templates-mapbox/index.css +0 -1
- package/components/templates-mapbox/index.js +0 -65
- package/components/templates-mapbox/src/ctx.js +0 -1
- package/components/templates-mapbox/src/index.css +0 -1
- package/components/templates-mapbox/src/types.js +0 -1
- package/components/upload/index.js +0 -565
- package/components/upload/src/ctx.js +0 -1
- package/components/upload/src/index.css +0 -1
- package/components/upload/src/types.js +0 -1
- package/components/upload-plus/src/api.js +0 -28
- package/components/upload-plus/src/const.js +0 -1
- package/components/upload-plus/src/ctx.js +0 -1
- package/components/upload-plus/src/index.css +0 -1
- package/components/upload-plus/src/types.js +0 -1
- package/components/van-cascader/src/ctx.js +0 -1
- package/components/van-cascader/src/index.css +0 -1
- package/components/van-cascader/src/types.js +0 -1
- package/components/var-datetime-picker/index.js +0 -299
- package/components/var-datetime-picker/src/const.js +0 -1
- package/components/var-datetime-picker/src/ctx.js +0 -1
- package/components/var-datetime-picker/src/index.css +0 -1
- package/components/var-datetime-picker/src/types.js +0 -1
- package/components/vditor/index.css +0 -1
- package/components/vditor/src/ctx.js +0 -1
- package/components/vditor/src/index.css +0 -1
- package/components/vditor/src/types.js +0 -1
- package/composables/index.css +0 -1
- package/composables/index.js +0 -1
- package/shared/const/index.css +0 -1
- package/shared/const/index.js +0 -1
- package/shared/element-plus/index.css +0 -1
- package/shared/element-plus/index.js +0 -1
- package/shared/form/index.css +0 -1
- package/shared/form/index.js +0 -1
- package/shared/helper/index.css +0 -1
- package/shared/helper/index.js +0 -1
- package/shared/index.css +0 -1
- package/shared/index.js +0 -1
- package/shared/infer-prop/index.css +0 -1
- package/shared/infer-prop/index.js +0 -1
- package/shared/progress-it/index.css +0 -1
- package/shared/progress-it/index.js +0 -1
- package/shared/rules/index.css +0 -1
- package/shared/rules/index.js +0 -1
- package/shared/types/form/index.css +0 -1
- package/shared/types/form/index.js +0 -1
- package/shared/types/index.css +0 -1
- package/shared/types/index.js +0 -1
- package/shared/types/source/index.css +0 -1
- package/shared/types/source/index.js +0 -1
- package/shared/types/source-manager/index.css +0 -1
- package/shared/types/source-manager/index.js +0 -1
- package/shared/upload/index.css +0 -1
- package/shared/upload/index.js +0 -1
- /package/{components/button/index.css → shared/types/form/index.mjs} +0 -0
- /package/{components/button/src/index.css → shared/types/index.mjs} +0 -0
- /package/{components/cascader/src/index.css → shared/types/source/index.mjs} +0 -0
- /package/{components/button/src/types.js → shared/types/source-manager/index.mjs} +0 -0
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/// <reference types="arcgis-js-api" />
|
|
2
1
|
import { PropType } from 'vue';
|
|
3
2
|
import MapView from '@arcgis/core/views/MapView';
|
|
4
3
|
declare const _default: import("vue").DefineComponent<{
|
|
5
4
|
view: {
|
|
6
|
-
type: PropType<MapView>;
|
|
5
|
+
type: PropType<__esri.MapView>;
|
|
7
6
|
default: any;
|
|
8
7
|
};
|
|
9
8
|
viewComponent: {
|
|
@@ -11,13 +10,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
11
10
|
default: () => import("vue").DefineComponent<{}, {
|
|
12
11
|
readonly VaTdtBasemap: import("vue").DefineComponent<{
|
|
13
12
|
spatialReference: {
|
|
14
|
-
type: PropType<__esri.SpatialReferenceProperties>;
|
|
13
|
+
type: import("vue").PropType<__esri.SpatialReferenceProperties>;
|
|
15
14
|
default: () => {
|
|
16
15
|
wkid: number;
|
|
17
16
|
};
|
|
18
17
|
};
|
|
19
18
|
type: {
|
|
20
|
-
type: PropType<"img_c" | "vec_c" | "ter_c" | "img_w" | "vec_w" | "ter_w">;
|
|
19
|
+
type: import("vue").PropType<"img_c" | "vec_c" | "ter_c" | "img_w" | "vec_w" | "ter_w">;
|
|
21
20
|
default: string;
|
|
22
21
|
};
|
|
23
22
|
orphan: {
|
|
@@ -45,7 +44,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
45
44
|
default: any;
|
|
46
45
|
};
|
|
47
46
|
webTileLayerOptions: {
|
|
48
|
-
type: PropType<__esri.WebTileLayerProperties>;
|
|
47
|
+
type: import("vue").PropType<__esri.WebTileLayerProperties>;
|
|
49
48
|
default: () => __esri.WebTileLayerProperties;
|
|
50
49
|
};
|
|
51
50
|
}, {
|
|
@@ -55,13 +54,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
55
54
|
load: (e: import("@vuesri/core/components/basemap/src/types").LoadEvent) => import("@vuesri/core/components/basemap/src/types").LoadEvent;
|
|
56
55
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
57
56
|
spatialReference: {
|
|
58
|
-
type: PropType<__esri.SpatialReferenceProperties>;
|
|
57
|
+
type: import("vue").PropType<__esri.SpatialReferenceProperties>;
|
|
59
58
|
default: () => {
|
|
60
59
|
wkid: number;
|
|
61
60
|
};
|
|
62
61
|
};
|
|
63
62
|
type: {
|
|
64
|
-
type: PropType<"img_c" | "vec_c" | "ter_c" | "img_w" | "vec_w" | "ter_w">;
|
|
63
|
+
type: import("vue").PropType<"img_c" | "vec_c" | "ter_c" | "img_w" | "vec_w" | "ter_w">;
|
|
65
64
|
default: string;
|
|
66
65
|
};
|
|
67
66
|
orphan: {
|
|
@@ -89,7 +88,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
89
88
|
default: any;
|
|
90
89
|
};
|
|
91
90
|
webTileLayerOptions: {
|
|
92
|
-
type: PropType<__esri.WebTileLayerProperties>;
|
|
91
|
+
type: import("vue").PropType<__esri.WebTileLayerProperties>;
|
|
93
92
|
default: () => __esri.WebTileLayerProperties;
|
|
94
93
|
};
|
|
95
94
|
}>> & {
|
|
@@ -109,7 +108,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
109
108
|
}, {}>;
|
|
110
109
|
readonly VaMapView: import("vue").DefineComponent<{
|
|
111
110
|
defaultOptions: {
|
|
112
|
-
type: PropType<__esri.MapViewProperties>;
|
|
111
|
+
type: import("vue").PropType<__esri.MapViewProperties>;
|
|
113
112
|
default: () => {};
|
|
114
113
|
};
|
|
115
114
|
cursor: {
|
|
@@ -125,7 +124,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
125
124
|
'update:cursor': (e: string) => string | true;
|
|
126
125
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
127
126
|
defaultOptions: {
|
|
128
|
-
type: PropType<__esri.MapViewProperties>;
|
|
127
|
+
type: import("vue").PropType<__esri.MapViewProperties>;
|
|
129
128
|
default: () => {};
|
|
130
129
|
};
|
|
131
130
|
cursor: {
|
|
@@ -147,7 +146,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
147
146
|
};
|
|
148
147
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
149
148
|
view: {
|
|
150
|
-
type: PropType<MapView>;
|
|
149
|
+
type: PropType<__esri.MapView>;
|
|
151
150
|
default: any;
|
|
152
151
|
};
|
|
153
152
|
viewComponent: {
|
|
@@ -155,13 +154,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
155
154
|
default: () => import("vue").DefineComponent<{}, {
|
|
156
155
|
readonly VaTdtBasemap: import("vue").DefineComponent<{
|
|
157
156
|
spatialReference: {
|
|
158
|
-
type: PropType<__esri.SpatialReferenceProperties>;
|
|
157
|
+
type: import("vue").PropType<__esri.SpatialReferenceProperties>;
|
|
159
158
|
default: () => {
|
|
160
159
|
wkid: number;
|
|
161
160
|
};
|
|
162
161
|
};
|
|
163
162
|
type: {
|
|
164
|
-
type: PropType<"img_c" | "vec_c" | "ter_c" | "img_w" | "vec_w" | "ter_w">;
|
|
163
|
+
type: import("vue").PropType<"img_c" | "vec_c" | "ter_c" | "img_w" | "vec_w" | "ter_w">;
|
|
165
164
|
default: string;
|
|
166
165
|
};
|
|
167
166
|
orphan: {
|
|
@@ -189,7 +188,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
189
188
|
default: any;
|
|
190
189
|
};
|
|
191
190
|
webTileLayerOptions: {
|
|
192
|
-
type: PropType<__esri.WebTileLayerProperties>;
|
|
191
|
+
type: import("vue").PropType<__esri.WebTileLayerProperties>;
|
|
193
192
|
default: () => __esri.WebTileLayerProperties;
|
|
194
193
|
};
|
|
195
194
|
}, {
|
|
@@ -199,13 +198,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
199
198
|
load: (e: import("@vuesri/core/components/basemap/src/types").LoadEvent) => import("@vuesri/core/components/basemap/src/types").LoadEvent;
|
|
200
199
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
201
200
|
spatialReference: {
|
|
202
|
-
type: PropType<__esri.SpatialReferenceProperties>;
|
|
201
|
+
type: import("vue").PropType<__esri.SpatialReferenceProperties>;
|
|
203
202
|
default: () => {
|
|
204
203
|
wkid: number;
|
|
205
204
|
};
|
|
206
205
|
};
|
|
207
206
|
type: {
|
|
208
|
-
type: PropType<"img_c" | "vec_c" | "ter_c" | "img_w" | "vec_w" | "ter_w">;
|
|
207
|
+
type: import("vue").PropType<"img_c" | "vec_c" | "ter_c" | "img_w" | "vec_w" | "ter_w">;
|
|
209
208
|
default: string;
|
|
210
209
|
};
|
|
211
210
|
orphan: {
|
|
@@ -233,7 +232,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
233
232
|
default: any;
|
|
234
233
|
};
|
|
235
234
|
webTileLayerOptions: {
|
|
236
|
-
type: PropType<__esri.WebTileLayerProperties>;
|
|
235
|
+
type: import("vue").PropType<__esri.WebTileLayerProperties>;
|
|
237
236
|
default: () => __esri.WebTileLayerProperties;
|
|
238
237
|
};
|
|
239
238
|
}>> & {
|
|
@@ -253,7 +252,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
253
252
|
}, {}>;
|
|
254
253
|
readonly VaMapView: import("vue").DefineComponent<{
|
|
255
254
|
defaultOptions: {
|
|
256
|
-
type: PropType<__esri.MapViewProperties>;
|
|
255
|
+
type: import("vue").PropType<__esri.MapViewProperties>;
|
|
257
256
|
default: () => {};
|
|
258
257
|
};
|
|
259
258
|
cursor: {
|
|
@@ -269,7 +268,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
269
268
|
'update:cursor': (e: string) => string | true;
|
|
270
269
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
271
270
|
defaultOptions: {
|
|
272
|
-
type: PropType<__esri.MapViewProperties>;
|
|
271
|
+
type: import("vue").PropType<__esri.MapViewProperties>;
|
|
273
272
|
default: () => {};
|
|
274
273
|
};
|
|
275
274
|
cursor: {
|
|
@@ -9,6 +9,7 @@ import { VkfTemplatesDefault } from '@vunk/form/components/templates-default';
|
|
|
9
9
|
import { VkfTemplatesLayout } from '@vunk/form/components/templates-layout';
|
|
10
10
|
import { pickObject } from '@vunk/core/shared/utils-object';
|
|
11
11
|
import { genTemplateIfFunc } from '@vunk/form/shared/form';
|
|
12
|
+
import { _ as _export_sfc } from '../_plugin-vue_export-helper.mjs';
|
|
12
13
|
|
|
13
14
|
const props = {
|
|
14
15
|
...formProps,
|
|
@@ -87,32 +88,34 @@ const genColItem = (formItem, options = {}) => {
|
|
|
87
88
|
...options,
|
|
88
89
|
templateType: "ElCol",
|
|
89
90
|
span,
|
|
90
|
-
templateSlots: [
|
|
91
|
-
|
|
92
|
-
|
|
91
|
+
templateSlots: [
|
|
92
|
+
pickObject(formItem, {
|
|
93
|
+
excludes: ["span"]
|
|
94
|
+
})
|
|
95
|
+
]
|
|
93
96
|
};
|
|
94
97
|
};
|
|
95
98
|
const genRowItem = (defaultItem, options = {}) => {
|
|
96
99
|
return {
|
|
97
100
|
...options,
|
|
98
101
|
templateType: "ElRow",
|
|
99
|
-
templateSlots: defaultItem ? [
|
|
102
|
+
templateSlots: defaultItem ? [
|
|
103
|
+
defaultItem
|
|
104
|
+
] : []
|
|
100
105
|
};
|
|
101
106
|
};
|
|
102
107
|
|
|
103
|
-
var
|
|
108
|
+
var _sfc_main = defineComponent({
|
|
104
109
|
name: "VkfForm",
|
|
105
|
-
props,
|
|
106
|
-
emits,
|
|
107
110
|
components: {
|
|
108
111
|
ElForm,
|
|
109
112
|
VkfFormItemRenderer,
|
|
110
113
|
VkfTemplatesDefault,
|
|
111
114
|
VkfTemplatesLayout
|
|
112
115
|
},
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
}) {
|
|
116
|
+
props,
|
|
117
|
+
emits,
|
|
118
|
+
setup(props2, { emit }) {
|
|
116
119
|
const formProps = createFormBindProps(props2, ["model"]);
|
|
117
120
|
const formEmits = createFormOnEmits(emit);
|
|
118
121
|
const formRef = shallowRef();
|
|
@@ -166,46 +169,45 @@ var script = defineComponent({
|
|
|
166
169
|
}
|
|
167
170
|
});
|
|
168
171
|
|
|
169
|
-
function
|
|
172
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
170
173
|
const _component_VkfTemplatesDefault = resolveComponent("VkfTemplatesDefault");
|
|
171
174
|
const _component_VkfTemplatesLayout = resolveComponent("VkfTemplatesLayout");
|
|
172
175
|
const _component_VkfFormItemRenderer = resolveComponent("VkfFormItemRenderer");
|
|
173
176
|
const _component_ElForm = resolveComponent("ElForm");
|
|
174
|
-
return openBlock(), createBlock(_component_ElForm, mergeProps({
|
|
177
|
+
return openBlock(), createBlock(_component_ElForm, mergeProps(_ctx.formProps, {
|
|
178
|
+
ref: _ctx.getRef,
|
|
175
179
|
class: {
|
|
176
180
|
"is-readonly": _ctx.readonly
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
181
|
+
},
|
|
182
|
+
model: _ctx.model || _ctx.data
|
|
183
|
+
}, toHandlers(_ctx.formEmits), { onSubmit: _ctx.handleSubmit }), {
|
|
184
|
+
default: withCtx(() => [
|
|
185
|
+
createVNode(_component_VkfFormItemRenderer, { source: _ctx.rendererSource }, {
|
|
186
|
+
default: withCtx(() => [
|
|
187
|
+
createVNode(_component_VkfTemplatesDefault, {
|
|
188
|
+
data: _ctx.data,
|
|
189
|
+
onSetData: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("setData", $event))
|
|
190
|
+
}, null, 8, ["data"]),
|
|
191
|
+
createVNode(_component_VkfTemplatesLayout, { data: _ctx.data }, null, 8, ["data"]),
|
|
192
|
+
renderSlot(_ctx.$slots, "rendererTemplate")
|
|
193
|
+
]),
|
|
194
|
+
_: 3
|
|
195
|
+
/* FORWARDED */
|
|
196
|
+
}, 8, ["source"]),
|
|
197
|
+
renderSlot(_ctx.$slots, "default")
|
|
198
|
+
]),
|
|
195
199
|
_: 3
|
|
196
200
|
/* FORWARDED */
|
|
197
201
|
}, 16, ["class", "model", "onSubmit"]);
|
|
198
202
|
}
|
|
199
|
-
|
|
200
|
-
script.render = render;
|
|
201
|
-
script.__file = "form/src/index.vue";
|
|
203
|
+
var VkfForm = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/home/runner/work/private-vunk-form/private-vunk-form/packages/components/form/src/index.vue"]]);
|
|
202
204
|
|
|
203
205
|
var types = /*#__PURE__*/Object.freeze({
|
|
204
206
|
__proto__: null
|
|
205
207
|
});
|
|
206
208
|
|
|
207
|
-
|
|
208
|
-
app.component(
|
|
209
|
+
VkfForm.install = (app) => {
|
|
210
|
+
app.component(VkfForm.name, VkfForm);
|
|
209
211
|
};
|
|
210
212
|
|
|
211
|
-
export {
|
|
213
|
+
export { VkfForm, ctx as _VkfFormCtx, types as __VkfForm, VkfForm as default };
|