@vunk/form 1.1.76 → 1.1.79
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} +24 -23
- package/components/color-picker/src/ctx.d.ts +29 -29
- package/components/color-picker/src/index.vue.d.ts +77 -64
- package/components/date-picker/{index.js → index.mjs} +28 -25
- package/components/date-picker/src/ctx.d.ts +49 -49
- package/components/date-picker/src/index.vue.d.ts +104 -104
- 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} +31 -27
- 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/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 +4 -169
- package/index.d.ts +1 -1
- package/index.esm.js +44 -1
- package/package.json +246 -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/upload/index.mjs +771 -0
- package/components/button/src/ctx.js +0 -1
- package/components/cascader/src/ctx.js +0 -1
- package/components/cascader/src/types.js +0 -1
- package/components/cascader/src/use.js +0 -1
- package/components/checkbox/src/ctx.js +0 -1
- package/components/checkbox/src/index.css +0 -1
- package/components/checkbox/src/types.js +0 -1
- package/components/color-picker/index.css +0 -1
- package/components/color-picker/src/ctx.js +0 -1
- package/components/color-picker/src/index.css +0 -1
- package/components/color-picker/src/types.js +0 -1
- package/components/date-picker/index.css +0 -1
- package/components/date-picker/src/ctx.js +0 -1
- package/components/date-picker/src/index.css +0 -1
- package/components/date-picker/src/types.js +0 -1
- package/components/download-plus/src/api.js +0 -1
- package/components/download-plus/src/const.js +0 -1
- package/components/download-plus/src/ctx.js +0 -1
- package/components/download-plus/src/index.css +0 -1
- package/components/download-plus/src/types.js +0 -1
- package/components/esri-input-geojson/index.js +0 -1563
- package/components/esri-input-geojson/src/const.js +0 -1
- package/components/esri-input-geojson/src/ctx.js +0 -1
- package/components/esri-input-geojson/src/index.css +0 -1
- package/components/esri-input-geojson/src/types.js +0 -1
- package/components/form/index.css +0 -1
- package/components/form/src/ctx.js +0 -1
- package/components/form/src/index.css +0 -1
- package/components/form/src/types.js +0 -1
- package/components/form/src/utils.js +0 -1
- package/components/form-item/src/ctx.js +0 -1
- package/components/form-item/src/index.css +0 -1
- package/components/form-item/src/types.js +0 -1
- package/components/form-item-renderer/index.css +0 -1
- package/components/form-item-renderer/src/ctx.js +0 -1
- package/components/form-item-renderer/src/index.css +0 -1
- package/components/form-item-renderer/src/symbols.js +0 -1
- package/components/form-item-renderer/src/types.js +0 -1
- package/components/form-item-renderer-template/index.css +0 -1
- package/components/form-item-renderer-template/src/ctx.js +0 -1
- package/components/form-item-renderer-template/src/index.css +0 -1
- package/components/form-item-renderer-template/src/types.js +0 -1
- package/components/geoinput/index.css +0 -1
- package/components/geoinput/src/ctx.js +0 -1
- package/components/geoinput/src/index.css +0 -1
- package/components/geoinput/src/types.js +0 -1
- package/components/geoinput-read/src/ctx.js +0 -1
- package/components/geoinput-read/src/index.css +0 -1
- package/components/geoinput-read/src/types.js +0 -1
- package/components/geoinput-update/index.js +0 -930
- package/components/geoinput-update/src/ctx.js +0 -1
- package/components/geoinput-update/src/index.css +0 -1
- package/components/geoinput-update/src/types.js +0 -1
- package/components/input/index.css +0 -1
- package/components/input/src/ctx.js +0 -1
- package/components/input/src/index.css +0 -1
- package/components/input/src/types.js +0 -1
- package/components/input-link/index.js +0 -163
- package/components/input-link/src/ctx.js +0 -1
- package/components/input-link/src/index.css +0 -1
- package/components/input-link/src/types.js +0 -1
- package/components/input-number/src/ctx.js +0 -1
- package/components/input-number/src/index.css +0 -1
- package/components/input-number/src/types.js +0 -1
- package/components/radio/src/ctx.js +0 -1
- package/components/radio/src/index.css +0 -1
- package/components/radio/src/types.js +0 -1
- package/components/select/src/ctx.js +0 -1
- package/components/select/src/index.css +0 -1
- package/components/select/src/types.js +0 -1
- package/components/slider/index.css +0 -1
- package/components/slider/src/ctx.js +0 -1
- package/components/slider/src/index.css +0 -1
- package/components/slider/src/types.js +0 -1
- package/components/switch/src/ctx.js +0 -1
- package/components/switch/src/index.css +0 -1
- package/components/switch/src/types.js +0 -1
- package/components/templates-default/index.css +0 -1
- package/components/templates-default/index.js +0 -347
- package/components/templates-default/src/ctx.js +0 -1
- package/components/templates-default/src/index.css +0 -1
- package/components/templates-default/src/types.js +0 -1
- package/components/templates-element-plus/index.css +0 -1
- package/components/templates-element-plus/index.js +0 -110
- package/components/templates-element-plus/src/ctx.js +0 -1
- package/components/templates-element-plus/src/index.css +0 -1
- package/components/templates-element-plus/src/types.js +0 -1
- package/components/templates-esri/index.css +0 -1
- package/components/templates-esri/index.js +0 -65
- package/components/templates-esri/src/ctx.js +0 -1
- package/components/templates-esri/src/index.css +0 -1
- package/components/templates-esri/src/types.js +0 -1
- package/components/templates-layout/index.js +0 -141
- package/components/templates-layout/src/ctx.js +0 -1
- package/components/templates-layout/src/index.css +0 -1
- package/components/templates-layout/src/types.js +0 -1
- package/components/templates-mapbox/index.css +0 -1
- package/components/templates-mapbox/index.js +0 -65
- package/components/templates-mapbox/src/ctx.js +0 -1
- package/components/templates-mapbox/src/index.css +0 -1
- package/components/templates-mapbox/src/types.js +0 -1
- package/components/upload/index.js +0 -565
- package/components/upload/src/ctx.js +0 -1
- package/components/upload/src/index.css +0 -1
- package/components/upload/src/types.js +0 -1
- package/components/upload-plus/src/api.js +0 -28
- package/components/upload-plus/src/const.js +0 -1
- package/components/upload-plus/src/ctx.js +0 -1
- package/components/upload-plus/src/index.css +0 -1
- package/components/upload-plus/src/types.js +0 -1
- package/components/van-cascader/src/ctx.js +0 -1
- package/components/van-cascader/src/index.css +0 -1
- package/components/van-cascader/src/types.js +0 -1
- package/components/var-datetime-picker/index.js +0 -299
- package/components/var-datetime-picker/src/const.js +0 -1
- package/components/var-datetime-picker/src/ctx.js +0 -1
- package/components/var-datetime-picker/src/index.css +0 -1
- package/components/var-datetime-picker/src/types.js +0 -1
- package/components/vditor/index.css +0 -1
- package/components/vditor/src/ctx.js +0 -1
- package/components/vditor/src/index.css +0 -1
- package/components/vditor/src/types.js +0 -1
- package/composables/index.css +0 -1
- package/composables/index.js +0 -1
- package/shared/const/index.css +0 -1
- package/shared/const/index.js +0 -1
- package/shared/element-plus/index.css +0 -1
- package/shared/element-plus/index.js +0 -1
- package/shared/form/index.css +0 -1
- package/shared/form/index.js +0 -1
- package/shared/helper/index.css +0 -1
- package/shared/helper/index.js +0 -1
- package/shared/index.css +0 -1
- package/shared/index.js +0 -1
- package/shared/infer-prop/index.css +0 -1
- package/shared/infer-prop/index.js +0 -1
- package/shared/progress-it/index.css +0 -1
- package/shared/progress-it/index.js +0 -1
- package/shared/rules/index.css +0 -1
- package/shared/rules/index.js +0 -1
- package/shared/types/form/index.css +0 -1
- package/shared/types/form/index.js +0 -1
- package/shared/types/index.css +0 -1
- package/shared/types/index.js +0 -1
- package/shared/types/source/index.css +0 -1
- package/shared/types/source/index.js +0 -1
- package/shared/types/source-manager/index.css +0 -1
- package/shared/types/source-manager/index.js +0 -1
- package/shared/upload/index.css +0 -1
- package/shared/upload/index.js +0 -1
- /package/{components/button/index.css → shared/types/form/index.mjs} +0 -0
- /package/{components/button/src/index.css → shared/types/index.mjs} +0 -0
- /package/{components/cascader/src/index.css → shared/types/source/index.mjs} +0 -0
- /package/{components/button/src/types.js → shared/types/source-manager/index.mjs} +0 -0
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="arcgis-js-api" />
|
|
2
1
|
import { PropType } from 'vue';
|
|
3
2
|
import { FeatureCollection, Geometry } from 'geojson';
|
|
4
3
|
import { EDIT_TYPE } from './const';
|
|
@@ -13,7 +12,7 @@ export declare const props: {
|
|
|
13
12
|
type: PropType<__esri.MapView>;
|
|
14
13
|
};
|
|
15
14
|
editTypes: {
|
|
16
|
-
type: PropType<EDIT_TYPE | EDIT_TYPE
|
|
15
|
+
type: PropType<EDIT_TYPE[] | EDIT_TYPE>;
|
|
17
16
|
default: () => string;
|
|
18
17
|
};
|
|
19
18
|
viewModelActiveFillSymbol: {
|
|
@@ -71,7 +70,7 @@ export declare const props: {
|
|
|
71
70
|
default: number;
|
|
72
71
|
};
|
|
73
72
|
visibleElements: {
|
|
74
|
-
type: PropType<__esri.
|
|
73
|
+
type: PropType<__esri.SketchProperties["visibleElements"]>;
|
|
75
74
|
default: any;
|
|
76
75
|
};
|
|
77
76
|
maxlength: {
|
|
@@ -83,44 +82,20 @@ export declare const props: {
|
|
|
83
82
|
required: boolean;
|
|
84
83
|
};
|
|
85
84
|
inputSlots: {
|
|
86
|
-
type: PropType<import("
|
|
85
|
+
type: PropType<import("@vunk/form/components/input/src/types").InputSlots>;
|
|
87
86
|
default: any;
|
|
88
87
|
};
|
|
89
88
|
rows: {
|
|
90
89
|
type: NumberConstructor;
|
|
91
90
|
default: any;
|
|
92
91
|
};
|
|
93
|
-
label: StringConstructor;
|
|
94
|
-
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
95
|
-
prop: {
|
|
96
|
-
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp))[], unknown, unknown>>;
|
|
97
|
-
readonly required: false;
|
|
98
|
-
readonly validator: (val: unknown) => boolean;
|
|
99
|
-
__epPropKey: true;
|
|
100
|
-
};
|
|
101
92
|
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
102
|
-
rules: {
|
|
103
|
-
readonly type: PropType<unknown>;
|
|
104
|
-
readonly required: false;
|
|
105
|
-
readonly validator: (val: unknown) => boolean;
|
|
106
|
-
__epPropKey: true;
|
|
107
|
-
};
|
|
108
|
-
error: StringConstructor;
|
|
109
|
-
validateStatus: {
|
|
110
|
-
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
111
|
-
readonly required: false;
|
|
112
|
-
readonly validator: (val: unknown) => boolean;
|
|
113
|
-
__epPropKey: true;
|
|
114
|
-
};
|
|
115
|
-
for: StringConstructor;
|
|
116
|
-
inlineMessage: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
117
|
-
showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
118
93
|
formItemSize: {
|
|
119
94
|
type: PropType<"default" | "small" | "large">;
|
|
120
95
|
default: "default" | "small" | "large";
|
|
121
96
|
};
|
|
122
97
|
formItemSlots: {
|
|
123
|
-
type: PropType<import("
|
|
98
|
+
type: PropType<import("@vunk/form/components/form-item/src/types").FormItemSlots>;
|
|
124
99
|
default: any;
|
|
125
100
|
};
|
|
126
101
|
elRef: {
|
|
@@ -135,76 +110,94 @@ export declare const props: {
|
|
|
135
110
|
type: PropType<"right">;
|
|
136
111
|
default: string;
|
|
137
112
|
};
|
|
113
|
+
label: StringConstructor;
|
|
114
|
+
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
115
|
+
prop: {
|
|
116
|
+
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>>;
|
|
117
|
+
readonly required: false;
|
|
118
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
119
|
+
__epPropKey: true;
|
|
120
|
+
};
|
|
121
|
+
rules: {
|
|
122
|
+
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>>;
|
|
123
|
+
readonly required: false;
|
|
124
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
125
|
+
__epPropKey: true;
|
|
126
|
+
};
|
|
127
|
+
error: StringConstructor;
|
|
128
|
+
validateStatus: {
|
|
129
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
|
|
130
|
+
readonly required: false;
|
|
131
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
132
|
+
__epPropKey: true;
|
|
133
|
+
};
|
|
134
|
+
for: StringConstructor;
|
|
135
|
+
inlineMessage: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
136
|
+
showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
138
137
|
ariaLabel: StringConstructor;
|
|
139
138
|
id: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
140
139
|
size: {
|
|
141
|
-
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
140
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
142
141
|
readonly required: false;
|
|
143
|
-
readonly validator: (val: unknown) => boolean;
|
|
142
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
144
143
|
__epPropKey: true;
|
|
145
144
|
};
|
|
146
145
|
disabled: BooleanConstructor;
|
|
147
146
|
type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
148
147
|
resize: {
|
|
149
|
-
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "
|
|
148
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "none" | "vertical" | "horizontal" | "both", unknown>>;
|
|
150
149
|
readonly required: false;
|
|
151
|
-
readonly validator: (val: unknown) => boolean;
|
|
150
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
152
151
|
__epPropKey: true;
|
|
153
152
|
};
|
|
154
|
-
autosize: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) =>
|
|
155
|
-
minRows?: number;
|
|
156
|
-
maxRows?: number;
|
|
157
|
-
}) | (() => import("element-plus").InputAutoSize) | ((new (...args: any[]) => boolean | {
|
|
158
|
-
minRows?: number;
|
|
159
|
-
maxRows?: number;
|
|
160
|
-
}) | (() => import("element-plus").InputAutoSize))[], unknown, unknown, false, boolean>;
|
|
153
|
+
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>;
|
|
161
154
|
autocomplete: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "off", boolean>;
|
|
162
155
|
formatter: {
|
|
163
|
-
readonly type: PropType<Function>;
|
|
156
|
+
readonly type: import("vue").PropType<Function>;
|
|
164
157
|
readonly required: false;
|
|
165
|
-
readonly validator: (val: unknown) => boolean;
|
|
158
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
166
159
|
__epPropKey: true;
|
|
167
160
|
};
|
|
168
161
|
parser: {
|
|
169
|
-
readonly type: PropType<Function>;
|
|
162
|
+
readonly type: import("vue").PropType<Function>;
|
|
170
163
|
readonly required: false;
|
|
171
|
-
readonly validator: (val: unknown) => boolean;
|
|
164
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
172
165
|
__epPropKey: true;
|
|
173
166
|
};
|
|
174
167
|
placeholder: {
|
|
175
|
-
readonly type: PropType<string>;
|
|
168
|
+
readonly type: import("vue").PropType<string>;
|
|
176
169
|
readonly required: false;
|
|
177
|
-
readonly validator: (val: unknown) => boolean;
|
|
170
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
178
171
|
__epPropKey: true;
|
|
179
172
|
};
|
|
180
173
|
form: {
|
|
181
|
-
readonly type: PropType<string>;
|
|
174
|
+
readonly type: import("vue").PropType<string>;
|
|
182
175
|
readonly required: false;
|
|
183
|
-
readonly validator: (val: unknown) => boolean;
|
|
176
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
184
177
|
__epPropKey: true;
|
|
185
178
|
};
|
|
186
179
|
clearable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
187
180
|
showPassword: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
188
181
|
showWordLimit: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
189
182
|
suffixIcon: {
|
|
190
|
-
readonly type: PropType<unknown
|
|
183
|
+
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>>;
|
|
191
184
|
readonly required: false;
|
|
192
|
-
readonly validator: (val: unknown) => boolean;
|
|
185
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
193
186
|
__epPropKey: true;
|
|
194
187
|
};
|
|
195
188
|
prefixIcon: {
|
|
196
|
-
readonly type: PropType<unknown
|
|
189
|
+
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>>;
|
|
197
190
|
readonly required: false;
|
|
198
|
-
readonly validator: (val: unknown) => boolean;
|
|
191
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
199
192
|
__epPropKey: true;
|
|
200
193
|
};
|
|
201
194
|
containerRole: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
202
195
|
tabindex: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>;
|
|
203
196
|
validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
204
|
-
inputStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) =>
|
|
197
|
+
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>;
|
|
205
198
|
autofocus: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
206
199
|
};
|
|
207
|
-
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"
|
|
200
|
+
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"type", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"required", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"visibleElements", keyof T2> | Extract<"id", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"clearable", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"form", keyof T2> | Extract<"multiple", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"view", keyof T2> | Extract<"viewComponent", keyof T2> | Extract<"viewComponentAttrs", keyof T2> | Extract<"viewModelActiveFillSymbol", keyof T2> | Extract<"editTypes", keyof T2> | Extract<"viewModelActiveLineSymbol", keyof T2> | Extract<"viewModelActivePointSymbol", keyof T2> | Extract<"skipSave", keyof T2> | Extract<"showMap", keyof T2> | Extract<"dialogEdit", keyof T2> | Extract<"dialogEditFullscreen", keyof T2> | Extract<"dialogEditTitle", keyof T2> | Extract<"flying", keyof T2> | Extract<"layerIndex", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size" | "disabled" | "type" | "autofocus" | "required" | "formItemSize" | "formItemSlots" | "elRef" | "inline" | "readonly" | "labelPosition" | "label" | "labelWidth" | "prop" | "rules" | "error" | "validateStatus" | "for" | "inlineMessage" | "showMessage" | "visibleElements" | "id" | "placeholder" | "clearable" | "validateEvent" | "modelValue" | "form" | "multiple" | "ariaLabel" | "tabindex" | "prefixIcon" | "maxlength" | "minlength" | "resize" | "autosize" | "autocomplete" | "formatter" | "parser" | "showPassword" | "showWordLimit" | "suffixIcon" | "containerRole" | "inputStyle" | "view" | "viewComponent" | "viewComponentAttrs" | "viewModelActiveFillSymbol" | "editTypes" | "viewModelActiveLineSymbol" | "viewModelActivePointSymbol" | "skipSave" | "showMap" | "dialogEdit" | "dialogEditFullscreen" | "dialogEditTitle" | "flying" | "layerIndex" | "inputSlots" | "rows", keyof T2>, KE> : Extract<"size" | "disabled" | "type" | "autofocus" | "required" | "formItemSize" | "formItemSlots" | "elRef" | "inline" | "readonly" | "labelPosition" | "label" | "labelWidth" | "prop" | "rules" | "error" | "validateStatus" | "for" | "inlineMessage" | "showMessage" | "visibleElements" | "id" | "placeholder" | "clearable" | "validateEvent" | "modelValue" | "form" | "multiple" | "ariaLabel" | "tabindex" | "prefixIcon" | "maxlength" | "minlength" | "resize" | "autosize" | "autocomplete" | "formatter" | "parser" | "showPassword" | "showWordLimit" | "suffixIcon" | "containerRole" | "inputStyle" | "view" | "viewComponent" | "viewComponentAttrs" | "viewModelActiveFillSymbol" | "editTypes" | "viewModelActiveLineSymbol" | "viewModelActivePointSymbol" | "skipSave" | "showMap" | "dialogEdit" | "dialogEditFullscreen" | "dialogEditTitle" | "flying" | "layerIndex" | "inputSlots" | "rows", keyof T2>]: { [k in Extract<"size" | "disabled" | "type" | "autofocus" | "required" | "formItemSize" | "formItemSlots" | "elRef" | "inline" | "readonly" | "labelPosition" | "label" | "labelWidth" | "prop" | "rules" | "error" | "validateStatus" | "for" | "inlineMessage" | "showMessage" | "visibleElements" | "id" | "placeholder" | "clearable" | "validateEvent" | "modelValue" | "form" | "multiple" | "ariaLabel" | "tabindex" | "prefixIcon" | "maxlength" | "minlength" | "resize" | "autosize" | "autocomplete" | "formatter" | "parser" | "showPassword" | "showWordLimit" | "suffixIcon" | "containerRole" | "inputStyle" | "view" | "viewComponent" | "viewComponentAttrs" | "viewModelActiveFillSymbol" | "editTypes" | "viewModelActiveLineSymbol" | "viewModelActivePointSymbol" | "skipSave" | "showMap" | "dialogEdit" | "dialogEditFullscreen" | "dialogEditTitle" | "flying" | "layerIndex" | "inputSlots" | "rows", keyof T2>]: T2[k]; }[P]; }>;
|
|
208
201
|
export declare const emits: {
|
|
209
202
|
'update:modelValue': (e: FeatureCollection) => FeatureCollection<Geometry, {
|
|
210
203
|
[name: string]: any;
|
|
@@ -222,25 +215,9 @@ export declare const emits: {
|
|
|
222
215
|
clear: () => boolean;
|
|
223
216
|
mouseleave: (evt: MouseEvent) => boolean;
|
|
224
217
|
mouseenter: (evt: MouseEvent) => boolean;
|
|
225
|
-
keydown: (evt:
|
|
218
|
+
keydown: (evt: KeyboardEvent | Event) => boolean;
|
|
226
219
|
compositionstart: (evt: CompositionEvent) => boolean;
|
|
227
220
|
compositionupdate: (evt: CompositionEvent) => boolean;
|
|
228
221
|
compositionend: (evt: CompositionEvent) => boolean;
|
|
229
222
|
};
|
|
230
|
-
export declare const createOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("clear" | "
|
|
231
|
-
'update:modelValue': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
232
|
-
'update:flying': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
233
|
-
appendFly: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
234
|
-
appendEdit: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
235
|
-
input: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
236
|
-
change: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
237
|
-
focus: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
238
|
-
blur: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
239
|
-
clear: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
240
|
-
mouseleave: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
241
|
-
mouseenter: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
242
|
-
keydown: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
243
|
-
compositionstart: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
244
|
-
compositionupdate: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
245
|
-
compositionend: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
246
|
-
}[P]; };
|
|
223
|
+
export declare const createOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("clear" | "update:modelValue" | "input" | "change" | "focus" | "blur" | "keydown" | "compositionend" | "compositionstart" | "compositionupdate" | "mouseenter" | "mouseleave" | "update:flying" | "appendFly" | "appendEdit")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"clear" | "update:modelValue" | "input" | "change" | "focus" | "blur" | "keydown" | "compositionend" | "compositionstart" | "compositionupdate" | "mouseenter" | "mouseleave" | "update:flying" | "appendFly" | "appendEdit", KE> : "clear" | "update:modelValue" | "input" | "change" | "focus" | "blur" | "keydown" | "compositionend" | "compositionstart" | "compositionupdate" | "mouseenter" | "mouseleave" | "update:flying" | "appendFly" | "appendEdit"]: { [k in "clear" | "update:modelValue" | "input" | "change" | "focus" | "blur" | "keydown" | "compositionend" | "compositionstart" | "compositionupdate" | "mouseenter" | "mouseleave" | "update:flying" | "appendFly" | "appendEdit"]: (...e: import("@vunk/core").RestParameters<T2>) => void; }[P]; };
|