@vunk/form 1.1.21 → 1.1.24
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/esri-input-geojson/index.css +38 -0
- package/components/esri-input-geojson/index.d.ts +5 -0
- package/components/esri-input-geojson/index.js +1526 -0
- package/components/esri-input-geojson/src/append.vue.d.ts +30 -0
- package/components/esri-input-geojson/src/const.d.ts +8 -0
- package/components/esri-input-geojson/src/const.js +29 -0
- package/components/esri-input-geojson/src/ctx.d.ts +213 -0
- package/components/esri-input-geojson/src/ctx.js +90 -0
- package/components/esri-input-geojson/src/index.vue.d.ts +494 -0
- package/components/esri-input-geojson/src/types.d.ts +13 -0
- package/components/esri-input-geojson/src/types.js +1 -0
- package/components/esri-input-geojson/src/viewer.vue.d.ts +12 -0
- package/components/select/src/ctx.d.ts +4 -0
- package/components/select/src/index.vue.d.ts +16 -0
- package/components/slider/index.js +1 -4
- package/components/slider/src/ctx.d.ts +11 -15
- package/components/slider/src/ctx.js +1 -4
- package/components/slider/src/index.vue.d.ts +2 -9
- package/components/switch/index.js +1 -4
- package/components/switch/src/ctx.d.ts +25 -17
- package/components/switch/src/ctx.js +1 -4
- package/components/switch/src/index.vue.d.ts +28 -9
- package/components/templates-esri/index.d.ts +4 -0
- package/components/templates-esri/index.js +64 -0
- package/components/templates-esri/src/ctx.d.ts +11 -0
- package/components/templates-esri/src/ctx.js +11 -0
- package/components/templates-esri/src/index.vue.d.ts +20 -0
- package/components/templates-esri/src/types.d.ts +2 -0
- package/components/templates-esri/src/types.js +1 -0
- package/index.css +39 -0
- package/package.json +1 -1
- package/shared/element-plus/ctx.d.ts +1 -1
- package/shared/types/source/index.d.ts +2 -1
|
@@ -0,0 +1,494 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { __VaSketch } from '@vuesri/core';
|
|
3
|
+
import Graphic from '@arcgis/core/Graphic';
|
|
4
|
+
declare const _default: import("vue").DefineComponent<{
|
|
5
|
+
readonly: {
|
|
6
|
+
type: BooleanConstructor;
|
|
7
|
+
default: undefined;
|
|
8
|
+
};
|
|
9
|
+
view: {
|
|
10
|
+
type: import("vue").PropType<__esri.MapView>;
|
|
11
|
+
};
|
|
12
|
+
editTypes: {
|
|
13
|
+
type: import("vue").PropType<import("./const").EDIT_TYPE | import("./const").EDIT_TYPE[]>;
|
|
14
|
+
default: () => string;
|
|
15
|
+
};
|
|
16
|
+
viewModelActiveFillSymbol: {
|
|
17
|
+
type: import("vue").PropType<any>;
|
|
18
|
+
default: () => {
|
|
19
|
+
type: string;
|
|
20
|
+
color: number[];
|
|
21
|
+
style: string;
|
|
22
|
+
outline: {
|
|
23
|
+
color: number[];
|
|
24
|
+
width: number;
|
|
25
|
+
style: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
viewModelActiveLineSymbol: null;
|
|
30
|
+
viewModelActivePointSymbol: null;
|
|
31
|
+
modelValue: {
|
|
32
|
+
type: import("vue").PropType<import("geojson").FeatureCollection<import("geojson").Geometry, any>>;
|
|
33
|
+
default: () => import("geojson").FeatureCollection<import("geojson").Geometry, import("geojson").GeoJsonProperties>;
|
|
34
|
+
};
|
|
35
|
+
multiple: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
mapTo: {
|
|
40
|
+
type: import("vue").PropType<string | import("vue").RendererElement>;
|
|
41
|
+
default: undefined;
|
|
42
|
+
};
|
|
43
|
+
skipSave: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
showMap: {
|
|
48
|
+
type: BooleanConstructor;
|
|
49
|
+
default: boolean;
|
|
50
|
+
};
|
|
51
|
+
dialogEdit: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
55
|
+
dialogEditFullscreen: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
dialogEditTitle: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
63
|
+
maxlength: {
|
|
64
|
+
type: NumberConstructor;
|
|
65
|
+
required: boolean;
|
|
66
|
+
};
|
|
67
|
+
minlength: {
|
|
68
|
+
type: NumberConstructor;
|
|
69
|
+
required: boolean;
|
|
70
|
+
};
|
|
71
|
+
inputSlots: {
|
|
72
|
+
type: import("vue").PropType<import("../../input/src/types").InputSlots>;
|
|
73
|
+
default: undefined;
|
|
74
|
+
};
|
|
75
|
+
rows: {
|
|
76
|
+
type: NumberConstructor;
|
|
77
|
+
default: undefined;
|
|
78
|
+
};
|
|
79
|
+
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
80
|
+
label: StringConstructor;
|
|
81
|
+
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
82
|
+
prop: {
|
|
83
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemProp & {}) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => import("element-plus").FormItemProp & {}) | (() => import("element-plus").FormItemProp))[], unknown, unknown>>;
|
|
84
|
+
readonly required: false;
|
|
85
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
86
|
+
__epPropKey: true;
|
|
87
|
+
};
|
|
88
|
+
rules: {
|
|
89
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>) | ((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>))[], unknown, unknown>>;
|
|
90
|
+
readonly required: false;
|
|
91
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
92
|
+
__epPropKey: true;
|
|
93
|
+
};
|
|
94
|
+
error: StringConstructor;
|
|
95
|
+
validateStatus: {
|
|
96
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
97
|
+
readonly required: false;
|
|
98
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
99
|
+
__epPropKey: true;
|
|
100
|
+
};
|
|
101
|
+
for: StringConstructor;
|
|
102
|
+
inlineMessage: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
103
|
+
showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
104
|
+
formItemSize: {
|
|
105
|
+
type: import("vue").PropType<"default" | "small" | "large">;
|
|
106
|
+
default: string;
|
|
107
|
+
};
|
|
108
|
+
formItemSlots: {
|
|
109
|
+
type: import("vue").PropType<import("../../form-item/src/types").FormItemSlots>;
|
|
110
|
+
default: undefined;
|
|
111
|
+
};
|
|
112
|
+
elRef: {
|
|
113
|
+
type: import("vue").PropType<any>;
|
|
114
|
+
required: boolean;
|
|
115
|
+
};
|
|
116
|
+
inline: {
|
|
117
|
+
type: BooleanConstructor;
|
|
118
|
+
default: boolean;
|
|
119
|
+
};
|
|
120
|
+
labelPosition: {
|
|
121
|
+
type: import("vue").PropType<"right">;
|
|
122
|
+
default: string;
|
|
123
|
+
};
|
|
124
|
+
id: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
125
|
+
size: {
|
|
126
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
127
|
+
readonly required: false;
|
|
128
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
129
|
+
__epPropKey: true;
|
|
130
|
+
};
|
|
131
|
+
disabled: BooleanConstructor;
|
|
132
|
+
type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
133
|
+
resize: {
|
|
134
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
135
|
+
readonly required: false;
|
|
136
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
137
|
+
__epPropKey: true;
|
|
138
|
+
};
|
|
139
|
+
autosize: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").InputAutoSize & {}) | (() => import("element-plus").InputAutoSize) | ((new (...args: any[]) => import("element-plus").InputAutoSize & {}) | (() => import("element-plus").InputAutoSize))[], unknown, unknown, false, boolean>;
|
|
140
|
+
autocomplete: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "off", boolean>;
|
|
141
|
+
formatter: {
|
|
142
|
+
readonly type: import("vue").PropType<Function>;
|
|
143
|
+
readonly required: false;
|
|
144
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
145
|
+
__epPropKey: true;
|
|
146
|
+
};
|
|
147
|
+
parser: {
|
|
148
|
+
readonly type: import("vue").PropType<Function>;
|
|
149
|
+
readonly required: false;
|
|
150
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
151
|
+
__epPropKey: true;
|
|
152
|
+
};
|
|
153
|
+
placeholder: {
|
|
154
|
+
readonly type: import("vue").PropType<string>;
|
|
155
|
+
readonly required: false;
|
|
156
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
157
|
+
__epPropKey: true;
|
|
158
|
+
};
|
|
159
|
+
form: {
|
|
160
|
+
readonly type: import("vue").PropType<string>;
|
|
161
|
+
readonly required: false;
|
|
162
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
163
|
+
__epPropKey: true;
|
|
164
|
+
};
|
|
165
|
+
clearable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
166
|
+
showPassword: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
167
|
+
showWordLimit: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
168
|
+
suffixIcon: {
|
|
169
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
170
|
+
readonly required: false;
|
|
171
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
172
|
+
__epPropKey: true;
|
|
173
|
+
};
|
|
174
|
+
prefixIcon: {
|
|
175
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
176
|
+
readonly required: false;
|
|
177
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
178
|
+
__epPropKey: true;
|
|
179
|
+
};
|
|
180
|
+
containerRole: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
181
|
+
tabindex: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>;
|
|
182
|
+
validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
183
|
+
inputStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue) | ((new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
184
|
+
}, {
|
|
185
|
+
inputBindProps: import("vue").ComputedRef<{
|
|
186
|
+
required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
187
|
+
type: string;
|
|
188
|
+
label: string | undefined;
|
|
189
|
+
labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
190
|
+
prop: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemProp & {}) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => import("element-plus").FormItemProp & {}) | (() => import("element-plus").FormItemProp))[], unknown, unknown> | undefined;
|
|
191
|
+
rules: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>) | ((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>))[], unknown, unknown> | undefined;
|
|
192
|
+
error: string | undefined;
|
|
193
|
+
validateStatus: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown> | undefined;
|
|
194
|
+
for: string | undefined;
|
|
195
|
+
inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
|
|
196
|
+
showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
197
|
+
size: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never> | undefined;
|
|
198
|
+
formItemSize: "default" | "small" | "large";
|
|
199
|
+
formItemSlots: import("../../form-item/src/types").FormItemSlots | undefined;
|
|
200
|
+
elRef: any;
|
|
201
|
+
inline: boolean;
|
|
202
|
+
labelPosition: "right";
|
|
203
|
+
disabled: boolean;
|
|
204
|
+
id: string | undefined;
|
|
205
|
+
resize: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown> | undefined;
|
|
206
|
+
autosize: import("element-plus").InputAutoSize;
|
|
207
|
+
autocomplete: string;
|
|
208
|
+
formatter: Function | undefined;
|
|
209
|
+
parser: Function | undefined;
|
|
210
|
+
placeholder: string | undefined;
|
|
211
|
+
form: string | undefined;
|
|
212
|
+
clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
213
|
+
showPassword: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
214
|
+
showWordLimit: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
215
|
+
suffixIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown> | undefined;
|
|
216
|
+
prefixIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown> | undefined;
|
|
217
|
+
containerRole: string | undefined;
|
|
218
|
+
tabindex: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
219
|
+
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
220
|
+
inputStyle: import("vue").StyleValue;
|
|
221
|
+
maxlength: number | undefined;
|
|
222
|
+
minlength: number | undefined;
|
|
223
|
+
rows: number | undefined;
|
|
224
|
+
}>;
|
|
225
|
+
inputOnEmits: {
|
|
226
|
+
input: (evt: CompositionEvent) => void;
|
|
227
|
+
change: (evt: CompositionEvent) => void;
|
|
228
|
+
focus: (evt: CompositionEvent) => void;
|
|
229
|
+
blur: (evt: CompositionEvent) => void;
|
|
230
|
+
clear: (evt: CompositionEvent) => void;
|
|
231
|
+
mouseleave: (evt: CompositionEvent) => void;
|
|
232
|
+
mouseenter: (evt: CompositionEvent) => void;
|
|
233
|
+
keydown: (evt: CompositionEvent) => void;
|
|
234
|
+
compositionstart: (evt: CompositionEvent) => void;
|
|
235
|
+
compositionupdate: (evt: CompositionEvent) => void;
|
|
236
|
+
compositionend: (evt: CompositionEvent) => void;
|
|
237
|
+
};
|
|
238
|
+
append: () => JSX.Element;
|
|
239
|
+
availableCreatureTools: import("vue").ComputedRef<("circle" | "point" | "polygon" | "polyline" | "rectangle")[]>;
|
|
240
|
+
sketchValue: Ref<Graphic[]>;
|
|
241
|
+
handleUpdateSketchValue: (e: __esri.Graphic[]) => void;
|
|
242
|
+
sketchRef: Ref<__esri.Sketch>;
|
|
243
|
+
sketchLoad: __VaSketch.OnLoad;
|
|
244
|
+
shetchPanel: import("vue").ComputedRef<Element | null>;
|
|
245
|
+
dialogShow: Ref<boolean>;
|
|
246
|
+
normalMapRef: Ref<HTMLDivElement>;
|
|
247
|
+
dialogMapRef: Ref<HTMLDivElement>;
|
|
248
|
+
dialogOnOpen: () => Promise<void>;
|
|
249
|
+
dialogOnClose: () => Promise<void>;
|
|
250
|
+
mapTo: Ref<HTMLDivElement>;
|
|
251
|
+
doSave: () => void;
|
|
252
|
+
readonly: import("vue").ComputedRef<boolean>;
|
|
253
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
254
|
+
'update:modelValue': (e: import("geojson").FeatureCollection<import("geojson").Geometry, import("geojson").GeoJsonProperties>) => import("geojson").FeatureCollection<import("geojson").Geometry, import("geojson").GeoJsonProperties>;
|
|
255
|
+
input: (value: string) => boolean;
|
|
256
|
+
change: (value: string) => boolean;
|
|
257
|
+
focus: (evt: FocusEvent) => boolean;
|
|
258
|
+
blur: (evt: FocusEvent) => boolean;
|
|
259
|
+
clear: () => boolean;
|
|
260
|
+
mouseleave: (evt: MouseEvent) => boolean;
|
|
261
|
+
mouseenter: (evt: MouseEvent) => boolean;
|
|
262
|
+
keydown: (evt: Event | KeyboardEvent) => boolean;
|
|
263
|
+
compositionstart: (evt: CompositionEvent) => boolean;
|
|
264
|
+
compositionupdate: (evt: CompositionEvent) => boolean;
|
|
265
|
+
compositionend: (evt: CompositionEvent) => boolean;
|
|
266
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
267
|
+
readonly: {
|
|
268
|
+
type: BooleanConstructor;
|
|
269
|
+
default: undefined;
|
|
270
|
+
};
|
|
271
|
+
view: {
|
|
272
|
+
type: import("vue").PropType<__esri.MapView>;
|
|
273
|
+
};
|
|
274
|
+
editTypes: {
|
|
275
|
+
type: import("vue").PropType<import("./const").EDIT_TYPE | import("./const").EDIT_TYPE[]>;
|
|
276
|
+
default: () => string;
|
|
277
|
+
};
|
|
278
|
+
viewModelActiveFillSymbol: {
|
|
279
|
+
type: import("vue").PropType<any>;
|
|
280
|
+
default: () => {
|
|
281
|
+
type: string;
|
|
282
|
+
color: number[];
|
|
283
|
+
style: string;
|
|
284
|
+
outline: {
|
|
285
|
+
color: number[];
|
|
286
|
+
width: number;
|
|
287
|
+
style: string;
|
|
288
|
+
};
|
|
289
|
+
};
|
|
290
|
+
};
|
|
291
|
+
viewModelActiveLineSymbol: null;
|
|
292
|
+
viewModelActivePointSymbol: null;
|
|
293
|
+
modelValue: {
|
|
294
|
+
type: import("vue").PropType<import("geojson").FeatureCollection<import("geojson").Geometry, any>>;
|
|
295
|
+
default: () => import("geojson").FeatureCollection<import("geojson").Geometry, import("geojson").GeoJsonProperties>;
|
|
296
|
+
};
|
|
297
|
+
multiple: {
|
|
298
|
+
type: BooleanConstructor;
|
|
299
|
+
default: boolean;
|
|
300
|
+
};
|
|
301
|
+
mapTo: {
|
|
302
|
+
type: import("vue").PropType<string | import("vue").RendererElement>;
|
|
303
|
+
default: undefined;
|
|
304
|
+
};
|
|
305
|
+
skipSave: {
|
|
306
|
+
type: BooleanConstructor;
|
|
307
|
+
default: boolean;
|
|
308
|
+
};
|
|
309
|
+
showMap: {
|
|
310
|
+
type: BooleanConstructor;
|
|
311
|
+
default: boolean;
|
|
312
|
+
};
|
|
313
|
+
dialogEdit: {
|
|
314
|
+
type: BooleanConstructor;
|
|
315
|
+
default: boolean;
|
|
316
|
+
};
|
|
317
|
+
dialogEditFullscreen: {
|
|
318
|
+
type: BooleanConstructor;
|
|
319
|
+
default: boolean;
|
|
320
|
+
};
|
|
321
|
+
dialogEditTitle: {
|
|
322
|
+
type: StringConstructor;
|
|
323
|
+
default: string;
|
|
324
|
+
};
|
|
325
|
+
maxlength: {
|
|
326
|
+
type: NumberConstructor;
|
|
327
|
+
required: boolean;
|
|
328
|
+
};
|
|
329
|
+
minlength: {
|
|
330
|
+
type: NumberConstructor;
|
|
331
|
+
required: boolean;
|
|
332
|
+
};
|
|
333
|
+
inputSlots: {
|
|
334
|
+
type: import("vue").PropType<import("../../input/src/types").InputSlots>;
|
|
335
|
+
default: undefined;
|
|
336
|
+
};
|
|
337
|
+
rows: {
|
|
338
|
+
type: NumberConstructor;
|
|
339
|
+
default: undefined;
|
|
340
|
+
};
|
|
341
|
+
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
342
|
+
label: StringConstructor;
|
|
343
|
+
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
344
|
+
prop: {
|
|
345
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemProp & {}) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => import("element-plus").FormItemProp & {}) | (() => import("element-plus").FormItemProp))[], unknown, unknown>>;
|
|
346
|
+
readonly required: false;
|
|
347
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
348
|
+
__epPropKey: true;
|
|
349
|
+
};
|
|
350
|
+
rules: {
|
|
351
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>) | ((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>))[], unknown, unknown>>;
|
|
352
|
+
readonly required: false;
|
|
353
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
354
|
+
__epPropKey: true;
|
|
355
|
+
};
|
|
356
|
+
error: StringConstructor;
|
|
357
|
+
validateStatus: {
|
|
358
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
359
|
+
readonly required: false;
|
|
360
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
361
|
+
__epPropKey: true;
|
|
362
|
+
};
|
|
363
|
+
for: StringConstructor;
|
|
364
|
+
inlineMessage: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
365
|
+
showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
366
|
+
formItemSize: {
|
|
367
|
+
type: import("vue").PropType<"default" | "small" | "large">;
|
|
368
|
+
default: string;
|
|
369
|
+
};
|
|
370
|
+
formItemSlots: {
|
|
371
|
+
type: import("vue").PropType<import("../../form-item/src/types").FormItemSlots>;
|
|
372
|
+
default: undefined;
|
|
373
|
+
};
|
|
374
|
+
elRef: {
|
|
375
|
+
type: import("vue").PropType<any>;
|
|
376
|
+
required: boolean;
|
|
377
|
+
};
|
|
378
|
+
inline: {
|
|
379
|
+
type: BooleanConstructor;
|
|
380
|
+
default: boolean;
|
|
381
|
+
};
|
|
382
|
+
labelPosition: {
|
|
383
|
+
type: import("vue").PropType<"right">;
|
|
384
|
+
default: string;
|
|
385
|
+
};
|
|
386
|
+
id: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
387
|
+
size: {
|
|
388
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
389
|
+
readonly required: false;
|
|
390
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
391
|
+
__epPropKey: true;
|
|
392
|
+
};
|
|
393
|
+
disabled: BooleanConstructor;
|
|
394
|
+
type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
395
|
+
resize: {
|
|
396
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
397
|
+
readonly required: false;
|
|
398
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
399
|
+
__epPropKey: true;
|
|
400
|
+
};
|
|
401
|
+
autosize: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").InputAutoSize & {}) | (() => import("element-plus").InputAutoSize) | ((new (...args: any[]) => import("element-plus").InputAutoSize & {}) | (() => import("element-plus").InputAutoSize))[], unknown, unknown, false, boolean>;
|
|
402
|
+
autocomplete: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "off", boolean>;
|
|
403
|
+
formatter: {
|
|
404
|
+
readonly type: import("vue").PropType<Function>;
|
|
405
|
+
readonly required: false;
|
|
406
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
407
|
+
__epPropKey: true;
|
|
408
|
+
};
|
|
409
|
+
parser: {
|
|
410
|
+
readonly type: import("vue").PropType<Function>;
|
|
411
|
+
readonly required: false;
|
|
412
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
413
|
+
__epPropKey: true;
|
|
414
|
+
};
|
|
415
|
+
placeholder: {
|
|
416
|
+
readonly type: import("vue").PropType<string>;
|
|
417
|
+
readonly required: false;
|
|
418
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
419
|
+
__epPropKey: true;
|
|
420
|
+
};
|
|
421
|
+
form: {
|
|
422
|
+
readonly type: import("vue").PropType<string>;
|
|
423
|
+
readonly required: false;
|
|
424
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
425
|
+
__epPropKey: true;
|
|
426
|
+
};
|
|
427
|
+
clearable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
428
|
+
showPassword: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
429
|
+
showWordLimit: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
430
|
+
suffixIcon: {
|
|
431
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
432
|
+
readonly required: false;
|
|
433
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
434
|
+
__epPropKey: true;
|
|
435
|
+
};
|
|
436
|
+
prefixIcon: {
|
|
437
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
438
|
+
readonly required: false;
|
|
439
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
440
|
+
__epPropKey: true;
|
|
441
|
+
};
|
|
442
|
+
containerRole: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
443
|
+
tabindex: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>;
|
|
444
|
+
validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
445
|
+
inputStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue) | ((new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
446
|
+
}>> & {
|
|
447
|
+
onChange?: ((value: string) => any) | undefined;
|
|
448
|
+
"onUpdate:modelValue"?: ((e: import("geojson").FeatureCollection<import("geojson").Geometry, import("geojson").GeoJsonProperties>) => any) | undefined;
|
|
449
|
+
onInput?: ((value: string) => any) | undefined;
|
|
450
|
+
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
451
|
+
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
452
|
+
onClear?: (() => any) | undefined;
|
|
453
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
454
|
+
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
455
|
+
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
|
|
456
|
+
onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
|
|
457
|
+
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
|
|
458
|
+
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
459
|
+
}, {
|
|
460
|
+
required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
461
|
+
type: string;
|
|
462
|
+
labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
463
|
+
inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
|
|
464
|
+
showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
465
|
+
formItemSize: "default" | "small" | "large";
|
|
466
|
+
formItemSlots: import("../../form-item/src/types").FormItemSlots;
|
|
467
|
+
inline: boolean;
|
|
468
|
+
readonly: boolean;
|
|
469
|
+
labelPosition: "right";
|
|
470
|
+
disabled: boolean;
|
|
471
|
+
id: string;
|
|
472
|
+
modelValue: import("geojson").FeatureCollection<import("geojson").Geometry, any>;
|
|
473
|
+
autosize: import("element-plus").InputAutoSize;
|
|
474
|
+
autocomplete: string;
|
|
475
|
+
clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
476
|
+
showPassword: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
477
|
+
showWordLimit: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
478
|
+
containerRole: string;
|
|
479
|
+
tabindex: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
480
|
+
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
481
|
+
inputStyle: import("vue").StyleValue;
|
|
482
|
+
inputSlots: import("../../input/src/types").InputSlots;
|
|
483
|
+
rows: number;
|
|
484
|
+
multiple: boolean;
|
|
485
|
+
editTypes: import("./const").EDIT_TYPE | import("./const").EDIT_TYPE[];
|
|
486
|
+
showMap: boolean;
|
|
487
|
+
dialogEdit: boolean;
|
|
488
|
+
dialogEditFullscreen: boolean;
|
|
489
|
+
dialogEditTitle: string;
|
|
490
|
+
mapTo: string | import("vue").RendererElement;
|
|
491
|
+
viewModelActiveFillSymbol: any;
|
|
492
|
+
skipSave: boolean;
|
|
493
|
+
}>;
|
|
494
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { __VaSketch } from '@vuesri/core';
|
|
2
|
+
import { 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
|
+
export interface EditTypeMedia extends Media {
|
|
7
|
+
value: EDIT_TYPE;
|
|
8
|
+
availableCreatureTools: __VaSketch.AvailableCreatureTool[];
|
|
9
|
+
}
|
|
10
|
+
export interface Source<P extends string = string> extends VueComponentPropsType<typeof VkfEsriInputGeojson>, BasicSource {
|
|
11
|
+
prop?: P;
|
|
12
|
+
templateType: 'VkfEsriInputGeojson';
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import MapView from '@arcgis/core/views/MapView';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
view: {
|
|
5
|
+
type: PropType<MapView>;
|
|
6
|
+
};
|
|
7
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
+
view: {
|
|
9
|
+
type: PropType<MapView>;
|
|
10
|
+
};
|
|
11
|
+
}>>, {}>;
|
|
12
|
+
export default _default;
|
|
@@ -33,6 +33,10 @@ export declare const props: {
|
|
|
33
33
|
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
34
34
|
cssVarBlockName: (name: string) => string;
|
|
35
35
|
};
|
|
36
|
+
containerKls: import("vue").ComputedRef<(string | {
|
|
37
|
+
selected: boolean;
|
|
38
|
+
hover: boolean;
|
|
39
|
+
})[]>;
|
|
36
40
|
currentLabel: import("vue").ComputedRef<any>;
|
|
37
41
|
itemSelected: import("vue").ComputedRef<boolean>;
|
|
38
42
|
isDisabled: import("vue").ComputedRef<any>;
|
|
@@ -30,6 +30,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
30
|
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
31
31
|
cssVarBlockName: (name: string) => string;
|
|
32
32
|
};
|
|
33
|
+
containerKls: import("vue").ComputedRef<(string | {
|
|
34
|
+
selected: boolean;
|
|
35
|
+
hover: boolean;
|
|
36
|
+
})[]>;
|
|
33
37
|
currentLabel: import("vue").ComputedRef<any>;
|
|
34
38
|
itemSelected: import("vue").ComputedRef<boolean>;
|
|
35
39
|
isDisabled: import("vue").ComputedRef<any>;
|
|
@@ -290,6 +294,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
290
294
|
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
291
295
|
cssVarBlockName: (name: string) => string;
|
|
292
296
|
};
|
|
297
|
+
containerKls: import("vue").ComputedRef<(string | {
|
|
298
|
+
selected: boolean;
|
|
299
|
+
hover: boolean;
|
|
300
|
+
})[]>;
|
|
293
301
|
currentLabel: import("vue").ComputedRef<any>;
|
|
294
302
|
itemSelected: import("vue").ComputedRef<boolean>;
|
|
295
303
|
isDisabled: import("vue").ComputedRef<any>;
|
|
@@ -364,6 +372,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
364
372
|
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
365
373
|
cssVarBlockName: (name: string) => string;
|
|
366
374
|
};
|
|
375
|
+
containerKls: import("vue").ComputedRef<(string | {
|
|
376
|
+
selected: boolean;
|
|
377
|
+
hover: boolean;
|
|
378
|
+
})[]>;
|
|
367
379
|
currentLabel: import("vue").ComputedRef<any>;
|
|
368
380
|
itemSelected: import("vue").ComputedRef<boolean>;
|
|
369
381
|
isDisabled: import("vue").ComputedRef<any>;
|
|
@@ -605,6 +617,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
605
617
|
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
606
618
|
cssVarBlockName: (name: string) => string;
|
|
607
619
|
};
|
|
620
|
+
containerKls: import("vue").ComputedRef<(string | {
|
|
621
|
+
selected: boolean;
|
|
622
|
+
hover: boolean;
|
|
623
|
+
})[]>;
|
|
608
624
|
currentLabel: import("vue").ComputedRef<any>;
|
|
609
625
|
itemSelected: import("vue").ComputedRef<boolean>;
|
|
610
626
|
isDisabled: import("vue").ComputedRef<any>;
|
|
@@ -24,10 +24,7 @@ var __spreadValues = (a, b) => {
|
|
|
24
24
|
};
|
|
25
25
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
26
26
|
const props = __spreadProps(__spreadValues(__spreadValues({}, _VkfFormItemCtx.props), sliderProps), {
|
|
27
|
-
modelValue:
|
|
28
|
-
type: [],
|
|
29
|
-
default: void 0
|
|
30
|
-
},
|
|
27
|
+
modelValue: null,
|
|
31
28
|
defaultModelValue: null
|
|
32
29
|
});
|
|
33
30
|
const emits = __spreadValues({}, sliderEmits);
|