@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="vue/jsx" />
|
|
2
1
|
import { Ref } from 'vue';
|
|
3
2
|
import { Deferred } from '@vunk/core/shared/utils-promise';
|
|
4
3
|
import type { Map as MgMap, MapboxOptions } from 'mapbox-gl';
|
|
@@ -30,7 +29,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
29
|
default: () => string[];
|
|
31
30
|
};
|
|
32
31
|
editTypes: {
|
|
33
|
-
type: import("vue").PropType<import("./types").EditType | import("./types").EditType
|
|
32
|
+
type: import("vue").PropType<import("./types").EditType[] | import("./types").EditType>;
|
|
34
33
|
default: () => string;
|
|
35
34
|
};
|
|
36
35
|
multiple: {
|
|
@@ -38,7 +37,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
38
37
|
default: boolean;
|
|
39
38
|
};
|
|
40
39
|
mapTo: {
|
|
41
|
-
type: import("vue").PropType<
|
|
40
|
+
type: import("vue").PropType<import("vue").RendererElement | string>;
|
|
42
41
|
default: any;
|
|
43
42
|
};
|
|
44
43
|
mapCenter: {
|
|
@@ -66,44 +65,20 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
66
65
|
required: boolean;
|
|
67
66
|
};
|
|
68
67
|
inputSlots: {
|
|
69
|
-
type: import("vue").PropType<import("
|
|
68
|
+
type: import("vue").PropType<import("@vunk/form/components/input/src/types").InputSlots>;
|
|
70
69
|
default: any;
|
|
71
70
|
};
|
|
72
71
|
rows: {
|
|
73
72
|
type: NumberConstructor;
|
|
74
73
|
default: any;
|
|
75
74
|
};
|
|
76
|
-
label: StringConstructor;
|
|
77
|
-
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
78
|
-
prop: {
|
|
79
|
-
readonly type: import("vue").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>>;
|
|
80
|
-
readonly required: false;
|
|
81
|
-
readonly validator: (val: unknown) => boolean;
|
|
82
|
-
__epPropKey: true;
|
|
83
|
-
};
|
|
84
75
|
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
85
|
-
rules: {
|
|
86
|
-
readonly type: import("vue").PropType<unknown>;
|
|
87
|
-
readonly required: false;
|
|
88
|
-
readonly validator: (val: unknown) => boolean;
|
|
89
|
-
__epPropKey: true;
|
|
90
|
-
};
|
|
91
|
-
error: StringConstructor;
|
|
92
|
-
validateStatus: {
|
|
93
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
94
|
-
readonly required: false;
|
|
95
|
-
readonly validator: (val: unknown) => boolean;
|
|
96
|
-
__epPropKey: true;
|
|
97
|
-
};
|
|
98
|
-
for: StringConstructor;
|
|
99
|
-
inlineMessage: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
100
|
-
showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
101
76
|
formItemSize: {
|
|
102
77
|
type: import("vue").PropType<"default" | "small" | "large">;
|
|
103
78
|
default: "default" | "small" | "large";
|
|
104
79
|
};
|
|
105
80
|
formItemSlots: {
|
|
106
|
-
type: import("vue").PropType<import("
|
|
81
|
+
type: import("vue").PropType<import("@vunk/form/components/form-item/src/types").FormItemSlots>;
|
|
107
82
|
default: any;
|
|
108
83
|
};
|
|
109
84
|
elRef: {
|
|
@@ -122,97 +97,121 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
122
97
|
type: import("vue").PropType<"right">;
|
|
123
98
|
default: string;
|
|
124
99
|
};
|
|
100
|
+
label: StringConstructor;
|
|
101
|
+
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
102
|
+
prop: {
|
|
103
|
+
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>>;
|
|
104
|
+
readonly required: false;
|
|
105
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
106
|
+
__epPropKey: true;
|
|
107
|
+
};
|
|
108
|
+
rules: {
|
|
109
|
+
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>>;
|
|
110
|
+
readonly required: false;
|
|
111
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
112
|
+
__epPropKey: true;
|
|
113
|
+
};
|
|
114
|
+
error: StringConstructor;
|
|
115
|
+
validateStatus: {
|
|
116
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
|
|
117
|
+
readonly required: false;
|
|
118
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
119
|
+
__epPropKey: true;
|
|
120
|
+
};
|
|
121
|
+
for: StringConstructor;
|
|
122
|
+
inlineMessage: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
123
|
+
showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
125
124
|
ariaLabel: StringConstructor;
|
|
126
125
|
id: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
127
126
|
size: {
|
|
128
127
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
129
128
|
readonly required: false;
|
|
130
|
-
readonly validator: (val: unknown) => boolean;
|
|
129
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
131
130
|
__epPropKey: true;
|
|
132
131
|
};
|
|
133
132
|
disabled: BooleanConstructor;
|
|
134
133
|
type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
135
134
|
resize: {
|
|
136
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "
|
|
135
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "none" | "vertical" | "horizontal" | "both", unknown>>;
|
|
137
136
|
readonly required: false;
|
|
138
|
-
readonly validator: (val: unknown) => boolean;
|
|
137
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
139
138
|
__epPropKey: true;
|
|
140
139
|
};
|
|
141
|
-
autosize: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) =>
|
|
142
|
-
minRows?: number;
|
|
143
|
-
maxRows?: number;
|
|
144
|
-
}) | (() => import("element-plus").InputAutoSize) | ((new (...args: any[]) => boolean | {
|
|
145
|
-
minRows?: number;
|
|
146
|
-
maxRows?: number;
|
|
147
|
-
}) | (() => import("element-plus").InputAutoSize))[], unknown, unknown, false, boolean>;
|
|
140
|
+
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>;
|
|
148
141
|
autocomplete: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "off", boolean>;
|
|
149
142
|
formatter: {
|
|
150
143
|
readonly type: import("vue").PropType<Function>;
|
|
151
144
|
readonly required: false;
|
|
152
|
-
readonly validator: (val: unknown) => boolean;
|
|
145
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
153
146
|
__epPropKey: true;
|
|
154
147
|
};
|
|
155
148
|
parser: {
|
|
156
149
|
readonly type: import("vue").PropType<Function>;
|
|
157
150
|
readonly required: false;
|
|
158
|
-
readonly validator: (val: unknown) => boolean;
|
|
151
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
159
152
|
__epPropKey: true;
|
|
160
153
|
};
|
|
161
154
|
placeholder: {
|
|
162
155
|
readonly type: import("vue").PropType<string>;
|
|
163
156
|
readonly required: false;
|
|
164
|
-
readonly validator: (val: unknown) => boolean;
|
|
157
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
165
158
|
__epPropKey: true;
|
|
166
159
|
};
|
|
167
160
|
form: {
|
|
168
161
|
readonly type: import("vue").PropType<string>;
|
|
169
162
|
readonly required: false;
|
|
170
|
-
readonly validator: (val: unknown) => boolean;
|
|
163
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
171
164
|
__epPropKey: true;
|
|
172
165
|
};
|
|
173
166
|
clearable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
174
167
|
showPassword: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
175
168
|
showWordLimit: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
176
169
|
suffixIcon: {
|
|
177
|
-
readonly type: import("vue").PropType<unknown
|
|
170
|
+
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>>;
|
|
178
171
|
readonly required: false;
|
|
179
|
-
readonly validator: (val: unknown) => boolean;
|
|
172
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
180
173
|
__epPropKey: true;
|
|
181
174
|
};
|
|
182
175
|
prefixIcon: {
|
|
183
|
-
readonly type: import("vue").PropType<unknown
|
|
176
|
+
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>>;
|
|
184
177
|
readonly required: false;
|
|
185
|
-
readonly validator: (val: unknown) => boolean;
|
|
178
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
186
179
|
__epPropKey: true;
|
|
187
180
|
};
|
|
188
181
|
containerRole: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
189
182
|
tabindex: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>;
|
|
190
183
|
validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
191
|
-
inputStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) =>
|
|
184
|
+
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>;
|
|
192
185
|
autofocus: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
193
186
|
}, {
|
|
194
187
|
inputBindProps: import("vue").ComputedRef<{
|
|
188
|
+
size: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>;
|
|
189
|
+
disabled: boolean;
|
|
190
|
+
type: string;
|
|
191
|
+
autofocus: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
192
|
+
required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
193
|
+
formItemSize: "default" | "small" | "large";
|
|
194
|
+
formItemSlots: import("@vunk/form/components/form-item/src/types").FormItemSlots;
|
|
195
|
+
elRef: any;
|
|
196
|
+
inline: boolean;
|
|
197
|
+
labelPosition: "right";
|
|
195
198
|
label: string;
|
|
196
199
|
labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
197
|
-
prop: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) =>
|
|
198
|
-
required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
200
|
+
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>;
|
|
199
201
|
rules: unknown;
|
|
200
202
|
error: string;
|
|
201
|
-
validateStatus: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
203
|
+
validateStatus: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>;
|
|
202
204
|
for: string;
|
|
203
205
|
inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
|
|
204
206
|
showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
205
|
-
size: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>;
|
|
206
|
-
type: string;
|
|
207
|
-
formItemSize: "default" | "small" | "large";
|
|
208
|
-
formItemSlots: import("../../form-item/src/types").FormItemSlots;
|
|
209
|
-
elRef: any;
|
|
210
|
-
inline: boolean;
|
|
211
|
-
labelPosition: "right";
|
|
212
|
-
disabled: boolean;
|
|
213
|
-
autofocus: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
214
|
-
ariaLabel: string;
|
|
215
207
|
id: string;
|
|
208
|
+
placeholder: string;
|
|
209
|
+
clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
210
|
+
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
211
|
+
form: string;
|
|
212
|
+
ariaLabel: string;
|
|
213
|
+
tabindex: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
214
|
+
prefixIcon: unknown;
|
|
216
215
|
maxlength: number;
|
|
217
216
|
minlength: number;
|
|
218
217
|
resize: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal" | "none" | "both", unknown>;
|
|
@@ -220,31 +219,25 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
220
219
|
autocomplete: string;
|
|
221
220
|
formatter: Function;
|
|
222
221
|
parser: Function;
|
|
223
|
-
placeholder: string;
|
|
224
|
-
form: string;
|
|
225
|
-
clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
226
222
|
showPassword: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
227
223
|
showWordLimit: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
228
224
|
suffixIcon: unknown;
|
|
229
|
-
prefixIcon: unknown;
|
|
230
225
|
containerRole: string;
|
|
231
|
-
tabindex: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
232
|
-
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
233
226
|
inputStyle: import("vue").StyleValue;
|
|
234
227
|
rows: number;
|
|
235
228
|
}>;
|
|
236
229
|
inputOnEmits: {
|
|
237
230
|
clear: (e: any) => void;
|
|
238
231
|
input: (e: any) => void;
|
|
232
|
+
change: (e: any) => void;
|
|
239
233
|
focus: (e: any) => void;
|
|
240
234
|
blur: (e: any) => void;
|
|
241
|
-
change: (e: any) => void;
|
|
242
|
-
mouseleave: (e: any) => void;
|
|
243
|
-
mouseenter: (e: any) => void;
|
|
244
235
|
keydown: (e: any) => void;
|
|
236
|
+
compositionend: (e: any) => void;
|
|
245
237
|
compositionstart: (e: any) => void;
|
|
246
238
|
compositionupdate: (e: any) => void;
|
|
247
|
-
|
|
239
|
+
mouseenter: (e: any) => void;
|
|
240
|
+
mouseleave: (e: any) => void;
|
|
248
241
|
};
|
|
249
242
|
append: () => JSX.Element;
|
|
250
243
|
dialogShow: Ref<boolean>;
|
|
@@ -260,12 +253,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
260
253
|
currentDrawValue: import("vue").ComputedRef<import("geojson").FeatureCollection<import("geojson").Geometry, any>>;
|
|
261
254
|
setCurrentDrawValue: (value: any) => void;
|
|
262
255
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
263
|
-
'update:modelValue': (e: import("geojson").FeatureCollection<import("geojson").Geometry, {
|
|
264
|
-
[name: string]: any;
|
|
265
|
-
}>) => import("geojson").FeatureCollection<import("geojson").Geometry, {
|
|
256
|
+
'update:modelValue': (e: import("geojson").FeatureCollection) => import("geojson").FeatureCollection<import("geojson").Geometry, {
|
|
266
257
|
[name: string]: any;
|
|
267
258
|
}>;
|
|
268
|
-
editUpdate: (e:
|
|
259
|
+
editUpdate: (e: import("@vumap/core/components/control-draw/src/types").UpdateEvent) => any;
|
|
269
260
|
input: (value: string) => boolean;
|
|
270
261
|
change: (value: string) => boolean;
|
|
271
262
|
focus: (evt: FocusEvent) => boolean;
|
|
@@ -273,7 +264,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
273
264
|
clear: () => boolean;
|
|
274
265
|
mouseleave: (evt: MouseEvent) => boolean;
|
|
275
266
|
mouseenter: (evt: MouseEvent) => boolean;
|
|
276
|
-
keydown: (evt:
|
|
267
|
+
keydown: (evt: KeyboardEvent | Event) => boolean;
|
|
277
268
|
compositionstart: (evt: CompositionEvent) => boolean;
|
|
278
269
|
compositionupdate: (evt: CompositionEvent) => boolean;
|
|
279
270
|
compositionend: (evt: CompositionEvent) => boolean;
|
|
@@ -305,7 +296,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
305
296
|
default: () => string[];
|
|
306
297
|
};
|
|
307
298
|
editTypes: {
|
|
308
|
-
type: import("vue").PropType<import("./types").EditType | import("./types").EditType
|
|
299
|
+
type: import("vue").PropType<import("./types").EditType[] | import("./types").EditType>;
|
|
309
300
|
default: () => string;
|
|
310
301
|
};
|
|
311
302
|
multiple: {
|
|
@@ -313,7 +304,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
313
304
|
default: boolean;
|
|
314
305
|
};
|
|
315
306
|
mapTo: {
|
|
316
|
-
type: import("vue").PropType<
|
|
307
|
+
type: import("vue").PropType<import("vue").RendererElement | string>;
|
|
317
308
|
default: any;
|
|
318
309
|
};
|
|
319
310
|
mapCenter: {
|
|
@@ -341,44 +332,20 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
341
332
|
required: boolean;
|
|
342
333
|
};
|
|
343
334
|
inputSlots: {
|
|
344
|
-
type: import("vue").PropType<import("
|
|
335
|
+
type: import("vue").PropType<import("@vunk/form/components/input/src/types").InputSlots>;
|
|
345
336
|
default: any;
|
|
346
337
|
};
|
|
347
338
|
rows: {
|
|
348
339
|
type: NumberConstructor;
|
|
349
340
|
default: any;
|
|
350
341
|
};
|
|
351
|
-
label: StringConstructor;
|
|
352
|
-
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
353
|
-
prop: {
|
|
354
|
-
readonly type: import("vue").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>>;
|
|
355
|
-
readonly required: false;
|
|
356
|
-
readonly validator: (val: unknown) => boolean;
|
|
357
|
-
__epPropKey: true;
|
|
358
|
-
};
|
|
359
342
|
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
360
|
-
rules: {
|
|
361
|
-
readonly type: import("vue").PropType<unknown>;
|
|
362
|
-
readonly required: false;
|
|
363
|
-
readonly validator: (val: unknown) => boolean;
|
|
364
|
-
__epPropKey: true;
|
|
365
|
-
};
|
|
366
|
-
error: StringConstructor;
|
|
367
|
-
validateStatus: {
|
|
368
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
369
|
-
readonly required: false;
|
|
370
|
-
readonly validator: (val: unknown) => boolean;
|
|
371
|
-
__epPropKey: true;
|
|
372
|
-
};
|
|
373
|
-
for: StringConstructor;
|
|
374
|
-
inlineMessage: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
375
|
-
showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
376
343
|
formItemSize: {
|
|
377
344
|
type: import("vue").PropType<"default" | "small" | "large">;
|
|
378
345
|
default: "default" | "small" | "large";
|
|
379
346
|
};
|
|
380
347
|
formItemSlots: {
|
|
381
|
-
type: import("vue").PropType<import("
|
|
348
|
+
type: import("vue").PropType<import("@vunk/form/components/form-item/src/types").FormItemSlots>;
|
|
382
349
|
default: any;
|
|
383
350
|
};
|
|
384
351
|
elRef: {
|
|
@@ -397,127 +364,145 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
397
364
|
type: import("vue").PropType<"right">;
|
|
398
365
|
default: string;
|
|
399
366
|
};
|
|
367
|
+
label: StringConstructor;
|
|
368
|
+
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
369
|
+
prop: {
|
|
370
|
+
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>>;
|
|
371
|
+
readonly required: false;
|
|
372
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
373
|
+
__epPropKey: true;
|
|
374
|
+
};
|
|
375
|
+
rules: {
|
|
376
|
+
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>>;
|
|
377
|
+
readonly required: false;
|
|
378
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
379
|
+
__epPropKey: true;
|
|
380
|
+
};
|
|
381
|
+
error: StringConstructor;
|
|
382
|
+
validateStatus: {
|
|
383
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
|
|
384
|
+
readonly required: false;
|
|
385
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
386
|
+
__epPropKey: true;
|
|
387
|
+
};
|
|
388
|
+
for: StringConstructor;
|
|
389
|
+
inlineMessage: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
390
|
+
showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
400
391
|
ariaLabel: StringConstructor;
|
|
401
392
|
id: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
402
393
|
size: {
|
|
403
394
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
404
395
|
readonly required: false;
|
|
405
|
-
readonly validator: (val: unknown) => boolean;
|
|
396
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
406
397
|
__epPropKey: true;
|
|
407
398
|
};
|
|
408
399
|
disabled: BooleanConstructor;
|
|
409
400
|
type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
410
401
|
resize: {
|
|
411
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "
|
|
402
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "none" | "vertical" | "horizontal" | "both", unknown>>;
|
|
412
403
|
readonly required: false;
|
|
413
|
-
readonly validator: (val: unknown) => boolean;
|
|
404
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
414
405
|
__epPropKey: true;
|
|
415
406
|
};
|
|
416
|
-
autosize: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) =>
|
|
417
|
-
minRows?: number;
|
|
418
|
-
maxRows?: number;
|
|
419
|
-
}) | (() => import("element-plus").InputAutoSize) | ((new (...args: any[]) => boolean | {
|
|
420
|
-
minRows?: number;
|
|
421
|
-
maxRows?: number;
|
|
422
|
-
}) | (() => import("element-plus").InputAutoSize))[], unknown, unknown, false, boolean>;
|
|
407
|
+
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>;
|
|
423
408
|
autocomplete: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "off", boolean>;
|
|
424
409
|
formatter: {
|
|
425
410
|
readonly type: import("vue").PropType<Function>;
|
|
426
411
|
readonly required: false;
|
|
427
|
-
readonly validator: (val: unknown) => boolean;
|
|
412
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
428
413
|
__epPropKey: true;
|
|
429
414
|
};
|
|
430
415
|
parser: {
|
|
431
416
|
readonly type: import("vue").PropType<Function>;
|
|
432
417
|
readonly required: false;
|
|
433
|
-
readonly validator: (val: unknown) => boolean;
|
|
418
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
434
419
|
__epPropKey: true;
|
|
435
420
|
};
|
|
436
421
|
placeholder: {
|
|
437
422
|
readonly type: import("vue").PropType<string>;
|
|
438
423
|
readonly required: false;
|
|
439
|
-
readonly validator: (val: unknown) => boolean;
|
|
424
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
440
425
|
__epPropKey: true;
|
|
441
426
|
};
|
|
442
427
|
form: {
|
|
443
428
|
readonly type: import("vue").PropType<string>;
|
|
444
429
|
readonly required: false;
|
|
445
|
-
readonly validator: (val: unknown) => boolean;
|
|
430
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
446
431
|
__epPropKey: true;
|
|
447
432
|
};
|
|
448
433
|
clearable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
449
434
|
showPassword: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
450
435
|
showWordLimit: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
451
436
|
suffixIcon: {
|
|
452
|
-
readonly type: import("vue").PropType<unknown
|
|
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>>;
|
|
453
438
|
readonly required: false;
|
|
454
|
-
readonly validator: (val: unknown) => boolean;
|
|
439
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
455
440
|
__epPropKey: true;
|
|
456
441
|
};
|
|
457
442
|
prefixIcon: {
|
|
458
|
-
readonly type: import("vue").PropType<unknown
|
|
443
|
+
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>>;
|
|
459
444
|
readonly required: false;
|
|
460
|
-
readonly validator: (val: unknown) => boolean;
|
|
445
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
461
446
|
__epPropKey: true;
|
|
462
447
|
};
|
|
463
448
|
containerRole: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
464
449
|
tabindex: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>;
|
|
465
450
|
validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
466
|
-
inputStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) =>
|
|
451
|
+
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>;
|
|
467
452
|
autofocus: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
468
453
|
}>> & {
|
|
469
454
|
onChange?: (value: string) => any;
|
|
470
455
|
"onUpdate:modelValue"?: (e: import("geojson").FeatureCollection<import("geojson").Geometry, {
|
|
471
456
|
[name: string]: any;
|
|
472
457
|
}>) => any;
|
|
473
|
-
onInput?: (value: string) => any;
|
|
474
458
|
onFocus?: (evt: FocusEvent) => any;
|
|
475
459
|
onBlur?: (evt: FocusEvent) => any;
|
|
460
|
+
onKeydown?: (evt: Event | KeyboardEvent) => any;
|
|
461
|
+
onInput?: (value: string) => any;
|
|
476
462
|
onClear?: () => any;
|
|
477
463
|
onMouseleave?: (evt: MouseEvent) => any;
|
|
478
464
|
onMouseenter?: (evt: MouseEvent) => any;
|
|
479
|
-
onKeydown?: (evt: Event | KeyboardEvent) => any;
|
|
480
465
|
onCompositionstart?: (evt: CompositionEvent) => any;
|
|
481
466
|
onCompositionupdate?: (evt: CompositionEvent) => any;
|
|
482
467
|
onCompositionend?: (evt: CompositionEvent) => any;
|
|
483
468
|
onEditUpdate?: (e: any) => any;
|
|
484
469
|
}, {
|
|
485
|
-
|
|
486
|
-
required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
487
|
-
inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
|
|
488
|
-
showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
470
|
+
disabled: boolean;
|
|
489
471
|
type: string;
|
|
490
|
-
|
|
472
|
+
autofocus: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
473
|
+
required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
491
474
|
formItemSize: "default" | "small" | "large";
|
|
492
|
-
formItemSlots: import("
|
|
475
|
+
formItemSlots: import("@vunk/form/components/form-item/src/types").FormItemSlots;
|
|
493
476
|
inline: boolean;
|
|
494
477
|
readonly: boolean;
|
|
495
478
|
labelPosition: "right";
|
|
496
|
-
|
|
497
|
-
|
|
479
|
+
labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
480
|
+
inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
|
|
481
|
+
showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
482
|
+
slots: import("./types").Slots;
|
|
498
483
|
id: string;
|
|
484
|
+
clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
485
|
+
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
499
486
|
modelValue: import("geojson").FeatureCollection<import("geojson").Geometry, any>;
|
|
487
|
+
multiple: boolean;
|
|
488
|
+
tabindex: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
500
489
|
autosize: false;
|
|
501
490
|
autocomplete: string;
|
|
502
|
-
clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
503
491
|
showPassword: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
504
492
|
showWordLimit: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
505
493
|
containerRole: string;
|
|
506
|
-
tabindex: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
507
|
-
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
508
494
|
inputStyle: import("vue").StyleValue;
|
|
509
|
-
inputSlots: any;
|
|
510
|
-
rows: number;
|
|
511
|
-
multiple: boolean;
|
|
512
|
-
editStyles: import("@vumap/core/components/control-draw/src/types").StyleLayer[];
|
|
513
495
|
editTypes: import("./types").EditType | import("./types").EditType[];
|
|
514
496
|
showMap: boolean;
|
|
515
497
|
dialogEdit: boolean;
|
|
516
498
|
dialogEditFullscreen: boolean;
|
|
517
499
|
dialogEditTitle: string;
|
|
518
|
-
|
|
500
|
+
inputSlots: any;
|
|
501
|
+
rows: number;
|
|
519
502
|
mapTo: any;
|
|
503
|
+
editControls: import("./types").EditType[];
|
|
520
504
|
mapCenter: import("mapbox-gl").LngLatLike;
|
|
505
|
+
editStyles: import("@vumap/core/components/control-draw/src/types").StyleLayer[];
|
|
521
506
|
spikSave: boolean;
|
|
522
507
|
}, {}>;
|
|
523
508
|
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
const KeyConfig = {
|
|
2
|
+
TokenKey: "VUNK_SKZZ_REST_TOKEN",
|
|
3
|
+
ApplicationKey: "VUNK_SKZZ_REST_APPLICATION",
|
|
4
|
+
TenantKey: "VUNK_SKZZ_REST_TENANT",
|
|
5
|
+
MenuDataKey: "VUNK_SKZZ_REST_MENU_DATA"
|
|
6
|
+
};
|
|
7
|
+
function getToken() {
|
|
8
|
+
return localStorage.getItem(KeyConfig.TokenKey) || "";
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export { getToken as g };
|