@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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vunk/form",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.80",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.esm.js",
|
|
6
6
|
"scripts": {
|
|
@@ -12,5 +12,260 @@
|
|
|
12
12
|
"keywords": [],
|
|
13
13
|
"author": "",
|
|
14
14
|
"license": "ISC",
|
|
15
|
-
"module": "index.esm.js"
|
|
15
|
+
"module": "index.esm.js",
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"import": "./index.esm.js",
|
|
19
|
+
"types": "./index.d.ts"
|
|
20
|
+
},
|
|
21
|
+
"./shared": {
|
|
22
|
+
"import": "./shared/index.mjs",
|
|
23
|
+
"types": "./shared/index.d.ts"
|
|
24
|
+
},
|
|
25
|
+
"./shared/upload": {
|
|
26
|
+
"import": "./shared/upload/index.mjs",
|
|
27
|
+
"types": "./shared/upload/index.d.ts"
|
|
28
|
+
},
|
|
29
|
+
"./shared/types": {
|
|
30
|
+
"import": "./shared/types/index.mjs",
|
|
31
|
+
"types": "./shared/types/index.d.ts"
|
|
32
|
+
},
|
|
33
|
+
"./shared/types/source-manager": {
|
|
34
|
+
"import": "./shared/types/source-manager/index.mjs",
|
|
35
|
+
"types": "./shared/types/source-manager/index.d.ts"
|
|
36
|
+
},
|
|
37
|
+
"./shared/types/source": {
|
|
38
|
+
"import": "./shared/types/source/index.mjs",
|
|
39
|
+
"types": "./shared/types/source/index.d.ts"
|
|
40
|
+
},
|
|
41
|
+
"./shared/types/form": {
|
|
42
|
+
"import": "./shared/types/form/index.mjs",
|
|
43
|
+
"types": "./shared/types/form/index.d.ts"
|
|
44
|
+
},
|
|
45
|
+
"./shared/rules": {
|
|
46
|
+
"import": "./shared/rules/index.mjs",
|
|
47
|
+
"types": "./shared/rules/index.d.ts"
|
|
48
|
+
},
|
|
49
|
+
"./shared/progress-it": {
|
|
50
|
+
"import": "./shared/progress-it/index.mjs",
|
|
51
|
+
"types": "./shared/progress-it/index.d.ts"
|
|
52
|
+
},
|
|
53
|
+
"./shared/infer-prop": {
|
|
54
|
+
"import": "./shared/infer-prop/index.mjs",
|
|
55
|
+
"types": "./shared/infer-prop/index.d.ts"
|
|
56
|
+
},
|
|
57
|
+
"./shared/helper": {
|
|
58
|
+
"import": "./shared/helper/index.mjs",
|
|
59
|
+
"types": "./shared/helper/index.d.ts"
|
|
60
|
+
},
|
|
61
|
+
"./shared/form": {
|
|
62
|
+
"import": "./shared/form/index.mjs",
|
|
63
|
+
"types": "./shared/form/index.d.ts"
|
|
64
|
+
},
|
|
65
|
+
"./shared/element-plus": {
|
|
66
|
+
"import": "./shared/element-plus/index.mjs",
|
|
67
|
+
"types": "./shared/element-plus/index.d.ts"
|
|
68
|
+
},
|
|
69
|
+
"./shared/const": {
|
|
70
|
+
"import": "./shared/const/index.mjs",
|
|
71
|
+
"types": "./shared/const/index.d.ts"
|
|
72
|
+
},
|
|
73
|
+
"./composables": {
|
|
74
|
+
"import": "./composables/index.mjs",
|
|
75
|
+
"types": "./composables/index.d.ts"
|
|
76
|
+
},
|
|
77
|
+
"./components": {
|
|
78
|
+
"import": "./components/index.mjs",
|
|
79
|
+
"types": "./components/index.d.ts"
|
|
80
|
+
},
|
|
81
|
+
"./components/vditor": {
|
|
82
|
+
"import": "./components/vditor/index.mjs",
|
|
83
|
+
"types": "./components/vditor/index.d.ts"
|
|
84
|
+
},
|
|
85
|
+
"./components/var-datetime-picker": {
|
|
86
|
+
"import": "./components/var-datetime-picker/index.mjs",
|
|
87
|
+
"types": "./components/var-datetime-picker/index.d.ts"
|
|
88
|
+
},
|
|
89
|
+
"./components/van-cascader": {
|
|
90
|
+
"import": "./components/van-cascader/index.mjs",
|
|
91
|
+
"types": "./components/van-cascader/index.d.ts"
|
|
92
|
+
},
|
|
93
|
+
"./components/upload-plus": {
|
|
94
|
+
"import": "./components/upload-plus/index.mjs",
|
|
95
|
+
"types": "./components/upload-plus/index.d.ts"
|
|
96
|
+
},
|
|
97
|
+
"./components/upload": {
|
|
98
|
+
"import": "./components/upload/index.mjs",
|
|
99
|
+
"types": "./components/upload/index.d.ts"
|
|
100
|
+
},
|
|
101
|
+
"./components/templates-variant": {
|
|
102
|
+
"import": "./components/templates-variant/index.mjs",
|
|
103
|
+
"types": "./components/templates-variant/index.d.ts"
|
|
104
|
+
},
|
|
105
|
+
"./components/templates-mapbox": {
|
|
106
|
+
"import": "./components/templates-mapbox/index.mjs",
|
|
107
|
+
"types": "./components/templates-mapbox/index.d.ts"
|
|
108
|
+
},
|
|
109
|
+
"./components/templates-layout": {
|
|
110
|
+
"import": "./components/templates-layout/index.mjs",
|
|
111
|
+
"types": "./components/templates-layout/index.d.ts"
|
|
112
|
+
},
|
|
113
|
+
"./components/templates-esri": {
|
|
114
|
+
"import": "./components/templates-esri/index.mjs",
|
|
115
|
+
"types": "./components/templates-esri/index.d.ts"
|
|
116
|
+
},
|
|
117
|
+
"./components/templates-element-plus": {
|
|
118
|
+
"import": "./components/templates-element-plus/index.mjs",
|
|
119
|
+
"types": "./components/templates-element-plus/index.d.ts"
|
|
120
|
+
},
|
|
121
|
+
"./components/templates-default": {
|
|
122
|
+
"import": "./components/templates-default/index.mjs",
|
|
123
|
+
"types": "./components/templates-default/index.d.ts"
|
|
124
|
+
},
|
|
125
|
+
"./components/switch": {
|
|
126
|
+
"import": "./components/switch/index.mjs",
|
|
127
|
+
"types": "./components/switch/index.d.ts"
|
|
128
|
+
},
|
|
129
|
+
"./components/slider": {
|
|
130
|
+
"import": "./components/slider/index.mjs",
|
|
131
|
+
"types": "./components/slider/index.d.ts"
|
|
132
|
+
},
|
|
133
|
+
"./components/select": {
|
|
134
|
+
"import": "./components/select/index.mjs",
|
|
135
|
+
"types": "./components/select/index.d.ts"
|
|
136
|
+
},
|
|
137
|
+
"./components/radio": {
|
|
138
|
+
"import": "./components/radio/index.mjs",
|
|
139
|
+
"types": "./components/radio/index.d.ts"
|
|
140
|
+
},
|
|
141
|
+
"./components/input-number": {
|
|
142
|
+
"import": "./components/input-number/index.mjs",
|
|
143
|
+
"types": "./components/input-number/index.d.ts"
|
|
144
|
+
},
|
|
145
|
+
"./components/input-link": {
|
|
146
|
+
"import": "./components/input-link/index.mjs",
|
|
147
|
+
"types": "./components/input-link/index.d.ts"
|
|
148
|
+
},
|
|
149
|
+
"./components/input": {
|
|
150
|
+
"import": "./components/input/index.mjs",
|
|
151
|
+
"types": "./components/input/index.d.ts"
|
|
152
|
+
},
|
|
153
|
+
"./components/geoinput-update": {
|
|
154
|
+
"import": "./components/geoinput-update/index.mjs",
|
|
155
|
+
"types": "./components/geoinput-update/index.d.ts"
|
|
156
|
+
},
|
|
157
|
+
"./components/geoinput-read": {
|
|
158
|
+
"import": "./components/geoinput-read/index.mjs",
|
|
159
|
+
"types": "./components/geoinput-read/index.d.ts"
|
|
160
|
+
},
|
|
161
|
+
"./components/geoinput": {
|
|
162
|
+
"import": "./components/geoinput/index.mjs",
|
|
163
|
+
"types": "./components/geoinput/index.d.ts"
|
|
164
|
+
},
|
|
165
|
+
"./components/form-item-renderer-template": {
|
|
166
|
+
"import": "./components/form-item-renderer-template/index.mjs",
|
|
167
|
+
"types": "./components/form-item-renderer-template/index.d.ts"
|
|
168
|
+
},
|
|
169
|
+
"./components/form-item-renderer": {
|
|
170
|
+
"import": "./components/form-item-renderer/index.mjs",
|
|
171
|
+
"types": "./components/form-item-renderer/index.d.ts"
|
|
172
|
+
},
|
|
173
|
+
"./components/form-item": {
|
|
174
|
+
"import": "./components/form-item/index.mjs",
|
|
175
|
+
"types": "./components/form-item/index.d.ts"
|
|
176
|
+
},
|
|
177
|
+
"./components/form": {
|
|
178
|
+
"import": "./components/form/index.mjs",
|
|
179
|
+
"types": "./components/form/index.d.ts"
|
|
180
|
+
},
|
|
181
|
+
"./components/esri-input-geojson": {
|
|
182
|
+
"import": "./components/esri-input-geojson/index.mjs",
|
|
183
|
+
"types": "./components/esri-input-geojson/index.d.ts"
|
|
184
|
+
},
|
|
185
|
+
"./components/download-plus": {
|
|
186
|
+
"import": "./components/download-plus/index.mjs",
|
|
187
|
+
"types": "./components/download-plus/index.d.ts"
|
|
188
|
+
},
|
|
189
|
+
"./components/date-picker-range": {
|
|
190
|
+
"import": "./components/date-picker-range/index.mjs",
|
|
191
|
+
"types": "./components/date-picker-range/index.d.ts"
|
|
192
|
+
},
|
|
193
|
+
"./components/date-picker": {
|
|
194
|
+
"import": "./components/date-picker/index.mjs",
|
|
195
|
+
"types": "./components/date-picker/index.d.ts"
|
|
196
|
+
},
|
|
197
|
+
"./components/color-picker": {
|
|
198
|
+
"import": "./components/color-picker/index.mjs",
|
|
199
|
+
"types": "./components/color-picker/index.d.ts"
|
|
200
|
+
},
|
|
201
|
+
"./components/checkbox": {
|
|
202
|
+
"import": "./components/checkbox/index.mjs",
|
|
203
|
+
"types": "./components/checkbox/index.d.ts"
|
|
204
|
+
},
|
|
205
|
+
"./components/cascader": {
|
|
206
|
+
"import": "./components/cascader/index.mjs",
|
|
207
|
+
"types": "./components/cascader/index.d.ts"
|
|
208
|
+
},
|
|
209
|
+
"./components/button": {
|
|
210
|
+
"import": "./components/button/index.mjs",
|
|
211
|
+
"types": "./components/button/index.d.ts"
|
|
212
|
+
},
|
|
213
|
+
"./index.css": {
|
|
214
|
+
"import": "./index.css"
|
|
215
|
+
},
|
|
216
|
+
"./components/var-datetime-picker/index.css": {
|
|
217
|
+
"import": "./components/var-datetime-picker/index.css"
|
|
218
|
+
},
|
|
219
|
+
"./components/van-cascader/index.css": {
|
|
220
|
+
"import": "./components/van-cascader/index.css"
|
|
221
|
+
},
|
|
222
|
+
"./components/upload-plus/index.css": {
|
|
223
|
+
"import": "./components/upload-plus/index.css"
|
|
224
|
+
},
|
|
225
|
+
"./components/upload/index.css": {
|
|
226
|
+
"import": "./components/upload/index.css"
|
|
227
|
+
},
|
|
228
|
+
"./components/templates-layout/index.css": {
|
|
229
|
+
"import": "./components/templates-layout/index.css"
|
|
230
|
+
},
|
|
231
|
+
"./components/switch/index.css": {
|
|
232
|
+
"import": "./components/switch/index.css"
|
|
233
|
+
},
|
|
234
|
+
"./components/select/index.css": {
|
|
235
|
+
"import": "./components/select/index.css"
|
|
236
|
+
},
|
|
237
|
+
"./components/radio/index.css": {
|
|
238
|
+
"import": "./components/radio/index.css"
|
|
239
|
+
},
|
|
240
|
+
"./components/input-number/index.css": {
|
|
241
|
+
"import": "./components/input-number/index.css"
|
|
242
|
+
},
|
|
243
|
+
"./components/input-link/index.css": {
|
|
244
|
+
"import": "./components/input-link/index.css"
|
|
245
|
+
},
|
|
246
|
+
"./components/geoinput-update/index.css": {
|
|
247
|
+
"import": "./components/geoinput-update/index.css"
|
|
248
|
+
},
|
|
249
|
+
"./components/geoinput-read/index.css": {
|
|
250
|
+
"import": "./components/geoinput-read/index.css"
|
|
251
|
+
},
|
|
252
|
+
"./components/form-item/index.css": {
|
|
253
|
+
"import": "./components/form-item/index.css"
|
|
254
|
+
},
|
|
255
|
+
"./components/esri-input-geojson/index.css": {
|
|
256
|
+
"import": "./components/esri-input-geojson/index.css"
|
|
257
|
+
},
|
|
258
|
+
"./components/download-plus/index.css": {
|
|
259
|
+
"import": "./components/download-plus/index.css"
|
|
260
|
+
},
|
|
261
|
+
"./components/date-picker-range/index.css": {
|
|
262
|
+
"import": "./components/date-picker-range/index.css"
|
|
263
|
+
},
|
|
264
|
+
"./components/checkbox/index.css": {
|
|
265
|
+
"import": "./components/checkbox/index.css"
|
|
266
|
+
},
|
|
267
|
+
"./components/cascader/index.css": {
|
|
268
|
+
"import": "./components/cascader/index.css"
|
|
269
|
+
}
|
|
270
|
+
}
|
|
16
271
|
}
|
package/shared/const/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Media } from '@vunk/core';
|
|
2
2
|
import { AllTemplatesSource } from '@vunk/form/shared';
|
|
3
3
|
export declare const CORE_FORM_TEMPLATE_OPTIONS: Media<AllTemplatesSource['templateType']>[];
|
|
4
|
-
export declare const CORE_FORM_TEMPLATE_REFLECT: Record<string, Media<"VkfInput" | "
|
|
4
|
+
export declare const CORE_FORM_TEMPLATE_REFLECT: Record<string, Media<"VkfInput" | "VkfInputNumber" | "VkfSelect" | "VkfRadio" | "VkfCheckbox" | "VkfSwitch" | "VkfColorPicker" | "VkfUpload" | "VkfDatePicker" | "VkfButton" | "VkfCascader" | "VkfInputLink" | "ElRow" | "ElCol" | "VkfFlex" | "ElDivider" | "ElLink" | "VkfGeoinput" | "VkfEsriInputGeojson" | "VkfDatePickerRange" | "Component" | "VkfSlider">>;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
const CORE_FORM_TEMPLATE_OPTIONS = [
|
|
2
|
+
{
|
|
3
|
+
value: "VkfInput",
|
|
4
|
+
label: "\u8F93\u5165\u6846"
|
|
5
|
+
},
|
|
6
|
+
{
|
|
7
|
+
value: "VkfSelect",
|
|
8
|
+
label: "\u4E0B\u62C9\u6846"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
value: "VkfCheckbox",
|
|
12
|
+
label: "\u591A\u9009\u6846"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
value: "VkfRadio",
|
|
16
|
+
label: "\u5355\u9009\u6846"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
value: "VkfDatePicker",
|
|
20
|
+
label: "\u65E5\u671F\u9009\u62E9\u5668"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
value: "VkfInputNumber",
|
|
24
|
+
label: "\u6570\u5B57\u8F93\u5165\u6846"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
value: "VkfSwitch",
|
|
28
|
+
label: "\u5F00\u5173"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
value: "VkfSlider",
|
|
32
|
+
label: "\u6ED1\u5757"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
value: "VkfInputLink",
|
|
36
|
+
label: "\u94FE\u63A5\u8F93\u5165\u6846"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
value: "VkfEsriInputGeojson",
|
|
40
|
+
label: "\u5730\u4FE1\u8F93\u5165\u6846"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
value: "VkfCascader",
|
|
44
|
+
label: "\u7EA7\u8054\u9009\u62E9\u5668"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
value: "VkfUpload",
|
|
48
|
+
label: "\u4E0A\u4F20"
|
|
49
|
+
}
|
|
50
|
+
];
|
|
51
|
+
const CORE_FORM_TEMPLATE_REFLECT = CORE_FORM_TEMPLATE_OPTIONS.reduce((acc, cur) => {
|
|
52
|
+
acc[cur.value] = cur;
|
|
53
|
+
return acc;
|
|
54
|
+
}, {});
|
|
55
|
+
|
|
56
|
+
export { CORE_FORM_TEMPLATE_OPTIONS, CORE_FORM_TEMPLATE_REFLECT };
|