@vunk/form 1.4.4 → 1.4.5

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.
Files changed (195) hide show
  1. package/components/cascader/index.cjs +3 -3
  2. package/components/cascader/index.mjs +3 -3
  3. package/components/color-picker/index.cjs +1 -1
  4. package/components/color-picker/index.mjs +1 -1
  5. package/components/form/index.cjs +1 -1
  6. package/components/form/index.mjs +1 -1
  7. package/components/form-item-renderer/index.cjs +1 -0
  8. package/components/form-item-renderer/index.mjs +1 -0
  9. package/components/input/index.cjs +2 -6
  10. package/components/input/index.mjs +2 -6
  11. package/components/input-link/index.cjs +7 -7
  12. package/components/input-link/index.mjs +7 -7
  13. package/components/radio/index.cjs +3 -3
  14. package/components/radio/index.mjs +3 -3
  15. package/components/templates-default/index.cjs +0 -2
  16. package/components/templates-default/index.mjs +0 -2
  17. package/components/templates-layout/index.cjs +1 -1
  18. package/components/templates-layout/index.mjs +1 -1
  19. package/package.json +1 -1
  20. package/components/button/index.d.ts +0 -4
  21. package/components/button/src/ctx.d.ts +0 -96
  22. package/components/button/src/index.vue.d.ts +0 -495
  23. package/components/button/src/types.d.ts +0 -13
  24. package/components/cascader/index.d.ts +0 -6
  25. package/components/cascader/src/ctx.d.ts +0 -120
  26. package/components/cascader/src/index.vue.d.ts +0 -13955
  27. package/components/cascader/src/types.d.ts +0 -7
  28. package/components/cascader/src/use.d.ts +0 -5
  29. package/components/checkbox/index.d.ts +0 -5
  30. package/components/checkbox/src/ctx.d.ts +0 -89
  31. package/components/checkbox/src/index.vue.d.ts +0 -1099
  32. package/components/checkbox/src/types.d.ts +0 -8
  33. package/components/color-picker/index.d.ts +0 -4
  34. package/components/color-picker/src/ctx.d.ts +0 -80
  35. package/components/color-picker/src/index.vue.d.ts +0 -11135
  36. package/components/color-picker/src/types.d.ts +0 -7
  37. package/components/date-picker/index.d.ts +0 -5
  38. package/components/date-picker/src/ctx.d.ts +0 -158
  39. package/components/date-picker/src/index.vue.d.ts +0 -590
  40. package/components/date-picker/src/types.d.ts +0 -20
  41. package/components/date-picker-range/index.d.ts +0 -4
  42. package/components/date-picker-range/src/ctx.d.ts +0 -177
  43. package/components/date-picker-range/src/index.vue.d.ts +0 -410
  44. package/components/date-picker-range/src/types.d.ts +0 -12
  45. package/components/download-plus/index.d.ts +0 -4
  46. package/components/download-plus/src/api.d.ts +0 -13
  47. package/components/download-plus/src/const.d.ts +0 -9
  48. package/components/download-plus/src/ctx.d.ts +0 -84
  49. package/components/download-plus/src/index.vue.d.ts +0 -1020
  50. package/components/download-plus/src/types.d.ts +0 -17
  51. package/components/esri-input-geojson/index.d.ts +0 -6
  52. package/components/esri-input-geojson/src/append.vue.d.ts +0 -2259
  53. package/components/esri-input-geojson/src/const.d.ts +0 -12
  54. package/components/esri-input-geojson/src/ctx.d.ts +0 -223
  55. package/components/esri-input-geojson/src/default-view.vue.d.ts +0 -133
  56. package/components/esri-input-geojson/src/index.vue.d.ts +0 -1249
  57. package/components/esri-input-geojson/src/types.d.ts +0 -22
  58. package/components/esri-input-geojson/src/viewer.vue.d.ts +0 -427
  59. package/components/form/index.d.ts +0 -5
  60. package/components/form/src/ctx.d.ts +0 -84
  61. package/components/form/src/index.vue.d.ts +0 -789
  62. package/components/form/src/types.d.ts +0 -12
  63. package/components/form/src/utils.d.ts +0 -15
  64. package/components/form-item/index.d.ts +0 -5
  65. package/components/form-item/src/ctx.d.ts +0 -62
  66. package/components/form-item/src/index.vue.d.ts +0 -320
  67. package/components/form-item/src/types.d.ts +0 -6
  68. package/components/form-item-renderer/index.d.ts +0 -5
  69. package/components/form-item-renderer/src/ctx.d.ts +0 -16
  70. package/components/form-item-renderer/src/index.vue.d.ts +0 -38
  71. package/components/form-item-renderer/src/symbols.d.ts +0 -3
  72. package/components/form-item-renderer/src/types.d.ts +0 -7
  73. package/components/form-item-renderer-template/index.d.ts +0 -4
  74. package/components/form-item-renderer-template/src/ctx.d.ts +0 -7
  75. package/components/form-item-renderer-template/src/index.vue.d.ts +0 -16
  76. package/components/form-item-renderer-template/src/types.d.ts +0 -1
  77. package/components/geoinput/index.d.ts +0 -4
  78. package/components/geoinput/src/ctx.d.ts +0 -228
  79. package/components/geoinput/src/index.vue.d.ts +0 -519
  80. package/components/geoinput/src/types.d.ts +0 -12
  81. package/components/geoinput-read/index.d.ts +0 -5
  82. package/components/geoinput-read/src/append.vue.d.ts +0 -383
  83. package/components/geoinput-read/src/core.vue.d.ts +0 -644
  84. package/components/geoinput-read/src/ctx.d.ts +0 -199
  85. package/components/geoinput-read/src/index.vue.d.ts +0 -1169
  86. package/components/geoinput-read/src/types.d.ts +0 -3
  87. package/components/geoinput-update/index.d.ts +0 -5
  88. package/components/geoinput-update/src/append.vue.d.ts +0 -2246
  89. package/components/geoinput-update/src/ctx.d.ts +0 -207
  90. package/components/geoinput-update/src/index.vue.d.ts +0 -1302
  91. package/components/geoinput-update/src/types.d.ts +0 -6
  92. package/components/input/index.d.ts +0 -5
  93. package/components/input/src/ctx.d.ts +0 -148
  94. package/components/input/src/index.vue.d.ts +0 -809
  95. package/components/input/src/types.d.ts +0 -13
  96. package/components/input-collection/index.d.ts +0 -4
  97. package/components/input-collection/src/ctx.d.ts +0 -72
  98. package/components/input-collection/src/index.vue.d.ts +0 -1160
  99. package/components/input-collection/src/types.d.ts +0 -19
  100. package/components/input-link/index.d.ts +0 -4
  101. package/components/input-link/src/ctx.d.ts +0 -179
  102. package/components/input-link/src/index.vue.d.ts +0 -385
  103. package/components/input-link/src/types.d.ts +0 -7
  104. package/components/input-number/index.d.ts +0 -4
  105. package/components/input-number/src/ctx.d.ts +0 -90
  106. package/components/input-number/src/index.vue.d.ts +0 -1783
  107. package/components/input-number/src/types.d.ts +0 -8
  108. package/components/monaco-editor/index.d.ts +0 -4
  109. package/components/monaco-editor/src/ctx.d.ts +0 -70
  110. package/components/monaco-editor/src/index.vue.d.ts +0 -209
  111. package/components/monaco-editor/src/types.d.ts +0 -7
  112. package/components/radio/index.d.ts +0 -4
  113. package/components/radio/src/ctx.d.ts +0 -82
  114. package/components/radio/src/index.vue.d.ts +0 -629
  115. package/components/radio/src/types.d.ts +0 -8
  116. package/components/select/index.d.ts +0 -4
  117. package/components/select/src/ctx.d.ts +0 -156
  118. package/components/select/src/index.vue.d.ts +0 -13405
  119. package/components/select/src/types.d.ts +0 -11
  120. package/components/slider/index.d.ts +0 -4
  121. package/components/slider/src/ctx.d.ts +0 -127
  122. package/components/slider/src/index.vue.d.ts +0 -341
  123. package/components/slider/src/types.d.ts +0 -7
  124. package/components/switch/index.d.ts +0 -4
  125. package/components/switch/src/ctx.d.ts +0 -114
  126. package/components/switch/src/index.vue.d.ts +0 -584
  127. package/components/switch/src/types.d.ts +0 -8
  128. package/components/template-instances-provider/index.d.ts +0 -3
  129. package/components/template-instances-provider/src/index.vue.d.ts +0 -4
  130. package/components/templates-default/index.d.ts +0 -4
  131. package/components/templates-default/src/ctx.d.ts +0 -19
  132. package/components/templates-default/src/index.vue.d.ts +0 -198
  133. package/components/templates-default/src/types.d.ts +0 -53
  134. package/components/templates-element-plus/index.d.ts +0 -4
  135. package/components/templates-element-plus/src/ctx.d.ts +0 -9
  136. package/components/templates-element-plus/src/index.vue.d.ts +0 -206
  137. package/components/templates-element-plus/src/types.d.ts +0 -13
  138. package/components/templates-esri/index.d.ts +0 -4
  139. package/components/templates-esri/src/ctx.d.ts +0 -11
  140. package/components/templates-esri/src/index.vue.d.ts +0 -43
  141. package/components/templates-esri/src/types.d.ts +0 -2
  142. package/components/templates-layout/index.d.ts +0 -4
  143. package/components/templates-layout/src/ctx.d.ts +0 -9
  144. package/components/templates-layout/src/index.vue.d.ts +0 -161
  145. package/components/templates-layout/src/types.d.ts +0 -32
  146. package/components/templates-mapbox/index.d.ts +0 -4
  147. package/components/templates-mapbox/src/ctx.d.ts +0 -11
  148. package/components/templates-mapbox/src/index.vue.d.ts +0 -43
  149. package/components/templates-mapbox/src/types.d.ts +0 -3
  150. package/components/templates-variant/index.d.ts +0 -4
  151. package/components/templates-variant/src/ctx.d.ts +0 -11
  152. package/components/templates-variant/src/index.vue.d.ts +0 -43
  153. package/components/templates-variant/src/types.d.ts +0 -2
  154. package/components/upload/index.d.ts +0 -5
  155. package/components/upload/src/ctx.d.ts +0 -180
  156. package/components/upload/src/file.vue.d.ts +0 -363
  157. package/components/upload/src/index.vue.d.ts +0 -2784
  158. package/components/upload/src/types.d.ts +0 -7
  159. package/components/upload-plus/index.d.ts +0 -6
  160. package/components/upload-plus/src/api.d.ts +0 -38
  161. package/components/upload-plus/src/const.d.ts +0 -9
  162. package/components/upload-plus/src/ctx.d.ts +0 -103
  163. package/components/upload-plus/src/index.vue.d.ts +0 -1077
  164. package/components/upload-plus/src/types.d.ts +0 -32
  165. package/components/van-cascader/index.d.ts +0 -4
  166. package/components/van-cascader/src/ctx.d.ts +0 -118
  167. package/components/van-cascader/src/index.vue.d.ts +0 -13312
  168. package/components/van-cascader/src/types.d.ts +0 -1
  169. package/components/var-datetime-picker/index.d.ts +0 -4
  170. package/components/var-datetime-picker/src/const.d.ts +0 -10
  171. package/components/var-datetime-picker/src/ctx.d.ts +0 -67
  172. package/components/var-datetime-picker/src/index.vue.d.ts +0 -771
  173. package/components/var-datetime-picker/src/types.d.ts +0 -22
  174. package/components/vditor/index.d.ts +0 -4
  175. package/components/vditor/src/ctx.d.ts +0 -77
  176. package/components/vditor/src/index.vue.d.ts +0 -324
  177. package/components/vditor/src/types.d.ts +0 -7
  178. package/shared/const/index.d.ts +0 -4
  179. package/shared/element-plus/ctx.d.ts +0 -26
  180. package/shared/element-plus/index.d.ts +0 -3
  181. package/shared/element-plus/instances.d.ts +0 -195
  182. package/shared/element-plus/version.d.ts +0 -1
  183. package/shared/form/index.d.ts +0 -18
  184. package/shared/helper/index.d.ts +0 -4
  185. package/shared/index.d.ts +0 -2
  186. package/shared/infer-prop/index.d.ts +0 -17
  187. package/shared/progress-it/index.d.ts +0 -16
  188. package/shared/rules/index.d.ts +0 -35
  189. package/shared/types/form/checkbox.d.ts +0 -13
  190. package/shared/types/form/index.d.ts +0 -2
  191. package/shared/types/form/radio.d.ts +0 -8
  192. package/shared/types/index.d.ts +0 -2
  193. package/shared/types/source/index.d.ts +0 -21
  194. package/shared/types/source-manager/index.d.ts +0 -6
  195. package/shared/upload/index.d.ts +0 -7
@@ -1,22 +0,0 @@
1
- import { __VaSketch } from '@vuesri/core';
2
- import { AnyFunc, Media, VueComponentPropsType } from '@vunk/core';
3
- import { EDIT_TYPE } from './const';
4
- import type { VkfEsriInputGeojson } from '@vunk/form/components/esri-input-geojson';
5
- import { BasicSource } from '@vunk/form/shared';
6
- import type { FeatureCollection } from 'geojson';
7
- import GraphicsLayer from '@arcgis/core/layers/GraphicsLayer';
8
- export interface EditTypeMedia extends Media {
9
- value: EDIT_TYPE;
10
- availableCreatureTools: __VaSketch.AvailableCreatureTool[];
11
- }
12
- export interface Source<P extends string = string> extends VueComponentPropsType<typeof VkfEsriInputGeojson>, BasicSource {
13
- prop?: P;
14
- templateType: 'VkfEsriInputGeojson';
15
- }
16
- export interface CustomSlotProps {
17
- setDialogShow: (show: boolean) => void;
18
- fly: AnyFunc;
19
- modelValue: FeatureCollection<any, any>;
20
- layer: GraphicsLayer;
21
- showMap: boolean;
22
- }
@@ -1,427 +0,0 @@
1
- import { PropType } from 'vue';
2
- import MapView from '@arcgis/core/views/MapView';
3
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
- view: {
5
- type: PropType<__esri.MapView>;
6
- default: any;
7
- };
8
- viewComponent: {
9
- type: PropType<any>;
10
- default: () => import("vue").DefineComponent<{}, {
11
- readonly VaTdtBasemap: import("vue").DefineComponent<{
12
- spatialReference: {
13
- type: import("vue").PropType<__esri.SpatialReferenceProperties>;
14
- default: () => {
15
- wkid: number;
16
- };
17
- };
18
- type: {
19
- type: import("vue").PropType<"img_c" | "vec_c" | "ter_c" | "img_w" | "vec_w" | "ter_w">;
20
- default: string;
21
- };
22
- orphan: {
23
- type: BooleanConstructor;
24
- default: boolean;
25
- };
26
- anno: {
27
- type: BooleanConstructor;
28
- default: boolean;
29
- };
30
- thumbnailUrl: {
31
- type: StringConstructor;
32
- default: string;
33
- };
34
- minScale: {
35
- type: NumberConstructor;
36
- default: number;
37
- };
38
- maxScale: {
39
- type: NumberConstructor;
40
- default: number;
41
- };
42
- token: {
43
- type: StringConstructor;
44
- default: any;
45
- };
46
- webTileLayerOptions: {
47
- type: import("vue").PropType<__esri.WebTileLayerProperties>;
48
- default: () => __esri.WebTileLayerProperties;
49
- };
50
- }, {
51
- thumbnailUrl: import("vue").ComputedRef<string>;
52
- annoType: import("vue").ComputedRef<"cia_c" | "cva_c" | "cta_c" | "cia_w" | "cva_w" | "cta_w">;
53
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
54
- load: (e: import("@vuesri/core/components/basemap/src/types").LoadEvent) => import("@vuesri/core/components/basemap/src/types").LoadEvent;
55
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
56
- spatialReference: {
57
- type: import("vue").PropType<__esri.SpatialReferenceProperties>;
58
- default: () => {
59
- wkid: number;
60
- };
61
- };
62
- type: {
63
- type: import("vue").PropType<"img_c" | "vec_c" | "ter_c" | "img_w" | "vec_w" | "ter_w">;
64
- default: string;
65
- };
66
- orphan: {
67
- type: BooleanConstructor;
68
- default: boolean;
69
- };
70
- anno: {
71
- type: BooleanConstructor;
72
- default: boolean;
73
- };
74
- thumbnailUrl: {
75
- type: StringConstructor;
76
- default: string;
77
- };
78
- minScale: {
79
- type: NumberConstructor;
80
- default: number;
81
- };
82
- maxScale: {
83
- type: NumberConstructor;
84
- default: number;
85
- };
86
- token: {
87
- type: StringConstructor;
88
- default: any;
89
- };
90
- webTileLayerOptions: {
91
- type: import("vue").PropType<__esri.WebTileLayerProperties>;
92
- default: () => __esri.WebTileLayerProperties;
93
- };
94
- }>> & {
95
- onLoad?: (e: import("@vuesri/core/components/basemap/src/types").LoadEvent) => any;
96
- }, {
97
- orphan: boolean;
98
- type: "img_c" | "vec_c" | "ter_c" | "img_w" | "vec_w" | "ter_w";
99
- spatialReference: {
100
- wkid: number;
101
- };
102
- thumbnailUrl: string;
103
- maxScale: number;
104
- minScale: number;
105
- token: string;
106
- anno: boolean;
107
- webTileLayerOptions: __esri.WebTileLayerProperties;
108
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
109
- readonly VaMapView: import("vue").DefineComponent<{
110
- defaultOptions: {
111
- type: import("vue").PropType<__esri.MapViewProperties>;
112
- default: () => {};
113
- };
114
- cursor: {
115
- type: StringConstructor;
116
- default: string;
117
- };
118
- }, {
119
- viewNode: import("vue").Ref<HTMLDivElement>;
120
- eventCursor: import("vue").Ref<string>;
121
- cursorStyle: import("vue").ComputedRef<import("vue").StyleValue>;
122
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
123
- load: (e: import("@vuesri/core/components/map-view/src/types").LoadEvent) => import("@vuesri/core/components/map-view/src/types").LoadEvent;
124
- 'update:cursor': (e: string) => string | true;
125
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
126
- defaultOptions: {
127
- type: import("vue").PropType<__esri.MapViewProperties>;
128
- default: () => {};
129
- };
130
- cursor: {
131
- type: StringConstructor;
132
- default: string;
133
- };
134
- }>> & {
135
- onLoad?: (e: import("@vuesri/core/components/map-view/src/types").LoadEvent) => any;
136
- "onUpdate:cursor"?: (e: string) => any;
137
- }, {
138
- defaultOptions: {};
139
- cursor: string;
140
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
141
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
142
- };
143
- viewComponentAttrs: {
144
- type: PropType<any>;
145
- default: () => {};
146
- };
147
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
148
- view: {
149
- type: PropType<__esri.MapView>;
150
- default: any;
151
- };
152
- viewComponent: {
153
- type: PropType<any>;
154
- default: () => import("vue").DefineComponent<{}, {
155
- readonly VaTdtBasemap: import("vue").DefineComponent<{
156
- spatialReference: {
157
- type: import("vue").PropType<__esri.SpatialReferenceProperties>;
158
- default: () => {
159
- wkid: number;
160
- };
161
- };
162
- type: {
163
- type: import("vue").PropType<"img_c" | "vec_c" | "ter_c" | "img_w" | "vec_w" | "ter_w">;
164
- default: string;
165
- };
166
- orphan: {
167
- type: BooleanConstructor;
168
- default: boolean;
169
- };
170
- anno: {
171
- type: BooleanConstructor;
172
- default: boolean;
173
- };
174
- thumbnailUrl: {
175
- type: StringConstructor;
176
- default: string;
177
- };
178
- minScale: {
179
- type: NumberConstructor;
180
- default: number;
181
- };
182
- maxScale: {
183
- type: NumberConstructor;
184
- default: number;
185
- };
186
- token: {
187
- type: StringConstructor;
188
- default: any;
189
- };
190
- webTileLayerOptions: {
191
- type: import("vue").PropType<__esri.WebTileLayerProperties>;
192
- default: () => __esri.WebTileLayerProperties;
193
- };
194
- }, {
195
- thumbnailUrl: import("vue").ComputedRef<string>;
196
- annoType: import("vue").ComputedRef<"cia_c" | "cva_c" | "cta_c" | "cia_w" | "cva_w" | "cta_w">;
197
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
198
- load: (e: import("@vuesri/core/components/basemap/src/types").LoadEvent) => import("@vuesri/core/components/basemap/src/types").LoadEvent;
199
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
200
- spatialReference: {
201
- type: import("vue").PropType<__esri.SpatialReferenceProperties>;
202
- default: () => {
203
- wkid: number;
204
- };
205
- };
206
- type: {
207
- type: import("vue").PropType<"img_c" | "vec_c" | "ter_c" | "img_w" | "vec_w" | "ter_w">;
208
- default: string;
209
- };
210
- orphan: {
211
- type: BooleanConstructor;
212
- default: boolean;
213
- };
214
- anno: {
215
- type: BooleanConstructor;
216
- default: boolean;
217
- };
218
- thumbnailUrl: {
219
- type: StringConstructor;
220
- default: string;
221
- };
222
- minScale: {
223
- type: NumberConstructor;
224
- default: number;
225
- };
226
- maxScale: {
227
- type: NumberConstructor;
228
- default: number;
229
- };
230
- token: {
231
- type: StringConstructor;
232
- default: any;
233
- };
234
- webTileLayerOptions: {
235
- type: import("vue").PropType<__esri.WebTileLayerProperties>;
236
- default: () => __esri.WebTileLayerProperties;
237
- };
238
- }>> & {
239
- onLoad?: (e: import("@vuesri/core/components/basemap/src/types").LoadEvent) => any;
240
- }, {
241
- orphan: boolean;
242
- type: "img_c" | "vec_c" | "ter_c" | "img_w" | "vec_w" | "ter_w";
243
- spatialReference: {
244
- wkid: number;
245
- };
246
- thumbnailUrl: string;
247
- maxScale: number;
248
- minScale: number;
249
- token: string;
250
- anno: boolean;
251
- webTileLayerOptions: __esri.WebTileLayerProperties;
252
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
253
- readonly VaMapView: import("vue").DefineComponent<{
254
- defaultOptions: {
255
- type: import("vue").PropType<__esri.MapViewProperties>;
256
- default: () => {};
257
- };
258
- cursor: {
259
- type: StringConstructor;
260
- default: string;
261
- };
262
- }, {
263
- viewNode: import("vue").Ref<HTMLDivElement>;
264
- eventCursor: import("vue").Ref<string>;
265
- cursorStyle: import("vue").ComputedRef<import("vue").StyleValue>;
266
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
267
- load: (e: import("@vuesri/core/components/map-view/src/types").LoadEvent) => import("@vuesri/core/components/map-view/src/types").LoadEvent;
268
- 'update:cursor': (e: string) => string | true;
269
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
270
- defaultOptions: {
271
- type: import("vue").PropType<__esri.MapViewProperties>;
272
- default: () => {};
273
- };
274
- cursor: {
275
- type: StringConstructor;
276
- default: string;
277
- };
278
- }>> & {
279
- onLoad?: (e: import("@vuesri/core/components/map-view/src/types").LoadEvent) => any;
280
- "onUpdate:cursor"?: (e: string) => any;
281
- }, {
282
- defaultOptions: {};
283
- cursor: string;
284
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
285
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
286
- };
287
- viewComponentAttrs: {
288
- type: PropType<any>;
289
- default: () => {};
290
- };
291
- }>> & Readonly<{}>, {
292
- view: MapView;
293
- viewComponent: any;
294
- viewComponentAttrs: any;
295
- }, {}, {
296
- VaTdtBasemap: import("vue").DefineComponent<{
297
- spatialReference: {
298
- type: import("vue").PropType<__esri.SpatialReferenceProperties>;
299
- default: () => {
300
- wkid: number;
301
- };
302
- };
303
- type: {
304
- type: import("vue").PropType<"img_c" | "vec_c" | "ter_c" | "img_w" | "vec_w" | "ter_w">;
305
- default: string;
306
- };
307
- orphan: {
308
- type: BooleanConstructor;
309
- default: boolean;
310
- };
311
- anno: {
312
- type: BooleanConstructor;
313
- default: boolean;
314
- };
315
- thumbnailUrl: {
316
- type: StringConstructor;
317
- default: string;
318
- };
319
- minScale: {
320
- type: NumberConstructor;
321
- default: number;
322
- };
323
- maxScale: {
324
- type: NumberConstructor;
325
- default: number;
326
- };
327
- token: {
328
- type: StringConstructor;
329
- default: any;
330
- };
331
- webTileLayerOptions: {
332
- type: import("vue").PropType<__esri.WebTileLayerProperties>;
333
- default: () => __esri.WebTileLayerProperties;
334
- };
335
- }, {
336
- thumbnailUrl: import("vue").ComputedRef<string>;
337
- annoType: import("vue").ComputedRef<"cia_c" | "cva_c" | "cta_c" | "cia_w" | "cva_w" | "cta_w">;
338
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
339
- load: (e: import("@vuesri/core/components/basemap/src/types").LoadEvent) => import("@vuesri/core/components/basemap/src/types").LoadEvent;
340
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
341
- spatialReference: {
342
- type: import("vue").PropType<__esri.SpatialReferenceProperties>;
343
- default: () => {
344
- wkid: number;
345
- };
346
- };
347
- type: {
348
- type: import("vue").PropType<"img_c" | "vec_c" | "ter_c" | "img_w" | "vec_w" | "ter_w">;
349
- default: string;
350
- };
351
- orphan: {
352
- type: BooleanConstructor;
353
- default: boolean;
354
- };
355
- anno: {
356
- type: BooleanConstructor;
357
- default: boolean;
358
- };
359
- thumbnailUrl: {
360
- type: StringConstructor;
361
- default: string;
362
- };
363
- minScale: {
364
- type: NumberConstructor;
365
- default: number;
366
- };
367
- maxScale: {
368
- type: NumberConstructor;
369
- default: number;
370
- };
371
- token: {
372
- type: StringConstructor;
373
- default: any;
374
- };
375
- webTileLayerOptions: {
376
- type: import("vue").PropType<__esri.WebTileLayerProperties>;
377
- default: () => __esri.WebTileLayerProperties;
378
- };
379
- }>> & {
380
- onLoad?: (e: import("@vuesri/core/components/basemap/src/types").LoadEvent) => any;
381
- }, {
382
- orphan: boolean;
383
- type: "img_c" | "vec_c" | "ter_c" | "img_w" | "vec_w" | "ter_w";
384
- spatialReference: {
385
- wkid: number;
386
- };
387
- thumbnailUrl: string;
388
- maxScale: number;
389
- minScale: number;
390
- token: string;
391
- anno: boolean;
392
- webTileLayerOptions: __esri.WebTileLayerProperties;
393
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
394
- VaMapView: import("vue").DefineComponent<{
395
- defaultOptions: {
396
- type: import("vue").PropType<__esri.MapViewProperties>;
397
- default: () => {};
398
- };
399
- cursor: {
400
- type: StringConstructor;
401
- default: string;
402
- };
403
- }, {
404
- viewNode: import("vue").Ref<HTMLDivElement>;
405
- eventCursor: import("vue").Ref<string>;
406
- cursorStyle: import("vue").ComputedRef<import("vue").StyleValue>;
407
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
408
- load: (e: import("@vuesri/core/components/map-view/src/types").LoadEvent) => import("@vuesri/core/components/map-view/src/types").LoadEvent;
409
- 'update:cursor': (e: string) => string | true;
410
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
411
- defaultOptions: {
412
- type: import("vue").PropType<__esri.MapViewProperties>;
413
- default: () => {};
414
- };
415
- cursor: {
416
- type: StringConstructor;
417
- default: string;
418
- };
419
- }>> & {
420
- onLoad?: (e: import("@vuesri/core/components/map-view/src/types").LoadEvent) => any;
421
- "onUpdate:cursor"?: (e: string) => any;
422
- }, {
423
- defaultOptions: {};
424
- cursor: string;
425
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
426
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
427
- export default _default;
@@ -1,5 +0,0 @@
1
- import VkfForm from './src/index.vue';
2
- export * as __VkfForm from './src/types';
3
- export * as _VkfFormCtx from './src/ctx';
4
- export { VkfForm, };
5
- export default VkfForm;
@@ -1,84 +0,0 @@
1
- import { PropType } from 'vue';
2
- import { ElForm } from 'element-plus';
3
- import type { Func, SetDataEvent } from '@vunk/core';
4
- import { ColItem, RowItem } from './types';
5
- export declare const props: {
6
- data: {
7
- type: PropType<Record<string, any>>;
8
- default: () => {};
9
- };
10
- formItems: {
11
- type: PropType<any[]>;
12
- default: () => any[];
13
- };
14
- readonly: {
15
- type: BooleanConstructor;
16
- };
17
- elRef: {
18
- type: PropType<Func<InstanceType<typeof ElForm>>>;
19
- default: () => () => void;
20
- };
21
- /**
22
- * 是否开启布局模式
23
- */
24
- layout: {
25
- type: BooleanConstructor;
26
- default: boolean;
27
- };
28
- /**
29
- * layout 为 true 时,
30
- * 该值生效
31
- * el-row 添加额外属性
32
- */
33
- rowSource: {
34
- type: PropType<Partial<RowItem>>;
35
- default: () => {};
36
- };
37
- /**
38
- * layout 为 true 时,
39
- * 该值生效
40
- * el-col 添加额外属性
41
- */
42
- colSource: {
43
- type: PropType<Partial<ColItem>>;
44
- default: () => ColItem;
45
- };
46
- model: ObjectConstructor;
47
- rules: {
48
- readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
49
- readonly required: false;
50
- readonly validator: ((val: unknown) => boolean) | undefined;
51
- __epPropKey: true;
52
- };
53
- labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
54
- requireAsteriskPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
55
- labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
56
- labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
57
- inline: BooleanConstructor;
58
- inlineMessage: BooleanConstructor;
59
- statusIcon: BooleanConstructor;
60
- showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
61
- validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
62
- hideRequiredAsterisk: BooleanConstructor;
63
- scrollToError: BooleanConstructor;
64
- scrollIntoViewOptions: {
65
- readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
66
- readonly required: false;
67
- readonly validator: ((val: unknown) => boolean) | undefined;
68
- __epPropKey: true;
69
- };
70
- size: {
71
- readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
72
- readonly required: false;
73
- readonly validator: ((val: unknown) => boolean) | undefined;
74
- __epPropKey: true;
75
- };
76
- disabled: BooleanConstructor;
77
- };
78
- export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"data", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"rules", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"model", keyof T2> | Extract<"requireAsteriskPosition", keyof T2> | Extract<"labelSuffix", keyof T2> | Extract<"statusIcon", keyof T2> | Extract<"validateOnRuleChange", keyof T2> | Extract<"hideRequiredAsterisk", keyof T2> | Extract<"scrollToError", keyof T2> | Extract<"scrollIntoViewOptions", keyof T2> | Extract<"formItems", keyof T2> | Extract<"layout", keyof T2> | Extract<"rowSource", keyof T2> | Extract<"colSource", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size" | "disabled" | "data" | "elRef" | "inline" | "readonly" | "labelPosition" | "labelWidth" | "rules" | "inlineMessage" | "showMessage" | "model" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "formItems" | "layout" | "rowSource" | "colSource", keyof T2>, KE> : Extract<"size" | "disabled" | "data" | "elRef" | "inline" | "readonly" | "labelPosition" | "labelWidth" | "rules" | "inlineMessage" | "showMessage" | "model" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "formItems" | "layout" | "rowSource" | "colSource", keyof T2>]: { [k in Extract<"size" | "disabled" | "data" | "elRef" | "inline" | "readonly" | "labelPosition" | "labelWidth" | "rules" | "inlineMessage" | "showMessage" | "model" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "formItems" | "layout" | "rowSource" | "colSource", keyof T2>]: T2[k]; }[P]; }>;
79
- export declare const emits: {
80
- setData: (e: SetDataEvent) => SetDataEvent;
81
- validate: any;
82
- submit: any;
83
- };
84
- export declare const createOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("submit" | "validate" | "setData")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"submit" | "validate" | "setData", KE> : "submit" | "validate" | "setData"]: { [k in "submit" | "validate" | "setData"]: (...e: import("@vunk/core").RestParameters<T2>) => void; }[P]; };