v-openlayers 2.10.2 → 2.10.4
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/package/v-map/components-v3/Draggable/index.vue.d.ts +50 -0
- package/package/v-map/components-v3/Popup/Popup.vue.d.ts +10 -0
- package/package/v-map/components-v3/SvgIcon/SvgIconInner.vue.d.ts +40 -0
- package/package/v-map/components-v3/SvgIcon/svgs.d.ts +2 -0
- package/package/v-map/components-v3/Table/index.vue.d.ts +18 -0
- package/package/v-map/components-v3/Upload/index.vue.d.ts +29 -0
- package/package/v-map/components-v3/Upload/js/wkid.d.ts +5 -0
- package/package/v-map/global.d.ts +1 -1
- package/package/v-map/ol/init.d.ts +7 -0
- package/package/v-map/ol/lib/business/OlHandler.d.ts +4 -3
- package/package/v-map/ol/lib/config/default.config.d.ts +40 -0
- package/package/v-map/ol/lib/core/VMap.d.ts +22 -23
- package/package/v-map/ol/lib/core/plugins/DrawHandler.d.ts +2 -3
- package/package/v-map/ol/lib/core/plugins/FeatureHandler.d.ts +2 -3
- package/package/v-map/ol/lib/core/plugins/GeojsonHandler.d.ts +3 -3
- package/package/v-map/ol/lib/core/plugins/GeometryHandler.d.ts +3 -3
- package/package/v-map/ol/lib/core/plugins/InteractionHandler.d.ts +5 -5
- package/package/v-map/ol/lib/core/plugins/LayerHandler.d.ts +23 -17
- package/package/v-map/ol/lib/core/plugins/MeasureHandler.d.ts +1 -1
- package/package/v-map/ol/lib/core/plugins/ProjectionHandler.d.ts +3 -0
- package/package/v-map/ol/lib/core/plugins/StyleHandler.d.ts +1 -1
- package/package/v-map/ol/lib/core/plugins/TransformHandler.d.ts +1 -1
- package/package/v-map/ol/lib/core/plugins/WMTSExplorer.d.ts +6 -6
- package/package/v-map/ol/lib/core/plugins/WfsHandler.d.ts +1 -1
- package/package/v-map/ol/lib/core/plugins/WktHandler.d.ts +3 -3
- package/package/v-map/ol/lib/core/plugins/WmsHandler.d.ts +3 -3
- package/package/v-map/ol/lib/core/plugins/baidu/BaiduMap.d.ts +2 -2
- package/package/v-map/ol/v3/assets/js/data.d.ts +18 -0
- package/package/v-map/ol/v3/components/OlMap.vue.d.ts +131 -0
- package/package/v-map/ol/v3/components/eagle/index.vue.d.ts +96 -0
- package/package/v-map/ol/v3/components/index.d.ts +26 -0
- package/package/v-map/ol/v3/components/layer/arcgis/index.vue.d.ts +7 -0
- package/package/v-map/ol/v3/components/layer/display/Display.vue.d.ts +27 -0
- package/package/v-map/ol/v3/components/layer/layer/index.vue.d.ts +205 -0
- package/package/v-map/ol/v3/components/layer/overlay/index.vue.d.ts +78 -0
- package/package/v-map/ol/v3/components/layer/popup/identify/index.vue.d.ts +27 -0
- package/package/v-map/ol/v3/components/layer/popup/index.vue.d.ts +97 -0
- package/package/v-map/ol/v3/components/layer/popup/usePopup.d.ts +40 -0
- package/package/v-map/ol/v3/components/layer/supermap/index.vue.d.ts +7 -0
- package/package/v-map/ol/v3/components/layer/tdt/index.vue.d.ts +7 -0
- package/package/v-map/ol/v3/components/layer/tile/index.vue.d.ts +9 -0
- package/package/v-map/ol/v3/components/layer/useLayer.d.ts +72 -0
- package/package/v-map/ol/v3/components/layer/vector/index.vue.d.ts +182 -0
- package/package/v-map/ol/v3/components/layer/vectorTile/index.vue.d.ts +7 -0
- package/package/v-map/ol/v3/components/layer/web/baidu.vue.d.ts +2 -0
- package/package/v-map/ol/v3/components/layer/web/gaode.vue.d.ts +2 -0
- package/package/v-map/ol/v3/components/layer/wms/index.vue.d.ts +7 -0
- package/package/v-map/ol/v3/components/popup/index.vue.d.ts +30 -0
- package/package/v-map/ol/v3/components/toolbar/bar/index.vue.d.ts +41 -0
- package/package/v-map/ol/v3/components/toolbar/baseBar.d.ts +20 -0
- package/package/v-map/ol/v3/components/toolbar/baseLayer/index.vue.d.ts +10 -0
- package/package/v-map/ol/v3/components/toolbar/drawer/index.vue.d.ts +18 -0
- package/package/v-map/ol/v3/components/toolbar/layerManager/index.vue.d.ts +27 -0
- package/package/v-map/ol/v3/components/toolbar/mapBar.d.ts +6 -0
- package/package/v-map/ol/v3/components/widgets/MapStatus.vue.d.ts +32 -0
- package/package/v-map/public/use/theme.d.ts +1 -0
- package/package/v-map/public/use/useEvent.d.ts +1 -0
- package/package/v-map/public/use/usePosition.d.ts +21 -0
- package/package/v-map/public/utils/advanced/canvas2image.d.ts +30 -0
- package/package/v-map/public/utils/advanced/export-excel.d.ts +30 -0
- package/package/v-map/public/utils/advanced/layout.d.ts +10 -0
- package/package/v-map/public/utils/base/prototype.d.ts +0 -0
- package/package/v-map/public/utils/date-formatter.d.ts +56 -0
- package/package/v-map/public/utils/extend.d.ts +1 -0
- package/package/v-map/public/utils/map/arcgis.d.ts +1 -0
- package/package/v-map/public/utils/map/cesium.d.ts +13 -0
- package/package/v-map/public/utils/map/index.d.ts +12 -0
- package/package/v-map/public/utils/map/kriging.d.ts +2 -0
- package/package/v-map/public/utils/map/ogc.d.ts +12 -0
- package/package/v-map/public/utils/map/tif.d.ts +12 -0
- package/package/v-map/public/utils/mix.d.ts +3 -0
- package/package/v-map/public/utils/open-window.d.ts +8 -0
- package/package/v-map/public/utils/scroll-to.d.ts +6 -0
- package/package/v-map/public/utils/web-layout-controller.d.ts +11 -0
- package/package/v-map/shims.d.ts +29 -0
- package/package/v-openlayers.css +1 -1
- package/package/v-openlayers.d.ts +23 -22
- package/package/v-openlayers.mjs +195 -260
- package/package.json +1 -1
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export namespace useProps {
|
|
2
|
+
namespace theme {
|
|
3
|
+
export let type: StringConstructor;
|
|
4
|
+
let _default: string;
|
|
5
|
+
export { _default as default };
|
|
6
|
+
}
|
|
7
|
+
namespace visible {
|
|
8
|
+
let type_1: BooleanConstructor;
|
|
9
|
+
export { type_1 as type };
|
|
10
|
+
let _default_1: boolean;
|
|
11
|
+
export { _default_1 as default };
|
|
12
|
+
}
|
|
13
|
+
namespace title {
|
|
14
|
+
let type_2: StringConstructor;
|
|
15
|
+
export { type_2 as type };
|
|
16
|
+
let _default_2: string;
|
|
17
|
+
export { _default_2 as default };
|
|
18
|
+
}
|
|
19
|
+
namespace showTitle {
|
|
20
|
+
let type_3: BooleanConstructor;
|
|
21
|
+
export { type_3 as type };
|
|
22
|
+
let _default_3: boolean;
|
|
23
|
+
export { _default_3 as default };
|
|
24
|
+
}
|
|
25
|
+
namespace tableHeight {
|
|
26
|
+
let type_4: NumberConstructor;
|
|
27
|
+
export { type_4 as type };
|
|
28
|
+
let _default_4: number;
|
|
29
|
+
export { _default_4 as default };
|
|
30
|
+
}
|
|
31
|
+
namespace tableHeader {
|
|
32
|
+
let type_5: ArrayConstructor;
|
|
33
|
+
export { type_5 as type };
|
|
34
|
+
function _default(): {
|
|
35
|
+
label: string;
|
|
36
|
+
value: string;
|
|
37
|
+
}[];
|
|
38
|
+
export { _default as default };
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
+
mapProvider: string;
|
|
3
|
+
$props: {
|
|
4
|
+
readonly mapProvider?: string;
|
|
5
|
+
};
|
|
6
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
+
mapStyle: string | unknown[];
|
|
3
|
+
$props: {
|
|
4
|
+
readonly mapStyle?: string | unknown[];
|
|
5
|
+
};
|
|
6
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
+
mapProvider: string;
|
|
3
|
+
baseUrl: string;
|
|
4
|
+
$props: {
|
|
5
|
+
readonly mapProvider?: string;
|
|
6
|
+
readonly baseUrl?: string;
|
|
7
|
+
};
|
|
8
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
export namespace useProps {
|
|
2
|
+
namespace name {
|
|
3
|
+
export let type: StringConstructor;
|
|
4
|
+
let _default: string;
|
|
5
|
+
export { _default as default };
|
|
6
|
+
}
|
|
7
|
+
namespace layerId {
|
|
8
|
+
let type_1: StringConstructor;
|
|
9
|
+
export { type_1 as type };
|
|
10
|
+
let _default_1: string;
|
|
11
|
+
export { _default_1 as default };
|
|
12
|
+
}
|
|
13
|
+
namespace layerName {
|
|
14
|
+
let type_2: StringConstructor;
|
|
15
|
+
export { type_2 as type };
|
|
16
|
+
let _default_2: string;
|
|
17
|
+
export { _default_2 as default };
|
|
18
|
+
}
|
|
19
|
+
namespace layerStyle {
|
|
20
|
+
let type_3: (ObjectConstructor | FunctionConstructor)[];
|
|
21
|
+
export { type_3 as type };
|
|
22
|
+
function _default(): {};
|
|
23
|
+
export { _default as default };
|
|
24
|
+
}
|
|
25
|
+
namespace visible {
|
|
26
|
+
let type_4: BooleanConstructor;
|
|
27
|
+
export { type_4 as type };
|
|
28
|
+
let _default_3: boolean;
|
|
29
|
+
export { _default_3 as default };
|
|
30
|
+
}
|
|
31
|
+
namespace opacity {
|
|
32
|
+
let type_5: (NumberConstructor | StringConstructor)[];
|
|
33
|
+
export { type_5 as type };
|
|
34
|
+
let _default_4: number;
|
|
35
|
+
export { _default_4 as default };
|
|
36
|
+
}
|
|
37
|
+
namespace extent {
|
|
38
|
+
let type_6: ArrayConstructor[];
|
|
39
|
+
export { type_6 as type };
|
|
40
|
+
let _default_5: any;
|
|
41
|
+
export { _default_5 as default };
|
|
42
|
+
}
|
|
43
|
+
namespace zIndex {
|
|
44
|
+
let type_7: (NumberConstructor | StringConstructor)[];
|
|
45
|
+
export { type_7 as type };
|
|
46
|
+
let _default_6: any;
|
|
47
|
+
export { _default_6 as default };
|
|
48
|
+
}
|
|
49
|
+
namespace minZoom {
|
|
50
|
+
let type_8: NumberConstructor[];
|
|
51
|
+
export { type_8 as type };
|
|
52
|
+
let _default_7: any;
|
|
53
|
+
export { _default_7 as default };
|
|
54
|
+
}
|
|
55
|
+
namespace maxZoom {
|
|
56
|
+
let type_9: NumberConstructor[];
|
|
57
|
+
export { type_9 as type };
|
|
58
|
+
let _default_8: any;
|
|
59
|
+
export { _default_8 as default };
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
export const useEmits: string[];
|
|
63
|
+
export function useWatch({ visible, zIndex, opacity, minZoom, maxZoom, layerStyle, requestParams }: {
|
|
64
|
+
visible: any;
|
|
65
|
+
zIndex: any;
|
|
66
|
+
opacity: any;
|
|
67
|
+
minZoom: any;
|
|
68
|
+
maxZoom: any;
|
|
69
|
+
layerStyle: any;
|
|
70
|
+
requestParams: any;
|
|
71
|
+
}, layer: any): void;
|
|
72
|
+
export function useSelect(selectable: any): void;
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
features: {
|
|
3
|
+
type: (ArrayConstructor | ObjectConstructor)[];
|
|
4
|
+
default(): any[];
|
|
5
|
+
};
|
|
6
|
+
selectable: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
modifiable: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
snapable: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
clusterOptions: {
|
|
19
|
+
type: ObjectConstructor[];
|
|
20
|
+
default(): any;
|
|
21
|
+
};
|
|
22
|
+
geomField: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
layerType: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
simplify: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
simplifyOptions: {
|
|
35
|
+
type: ObjectConstructor[];
|
|
36
|
+
default(): {
|
|
37
|
+
threshold: number;
|
|
38
|
+
strategy: string;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
name: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
layerId: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
default: string;
|
|
48
|
+
};
|
|
49
|
+
layerName: {
|
|
50
|
+
type: StringConstructor;
|
|
51
|
+
default: string;
|
|
52
|
+
};
|
|
53
|
+
layerStyle: {
|
|
54
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
55
|
+
default(): {};
|
|
56
|
+
};
|
|
57
|
+
visible: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
|
+
opacity: {
|
|
62
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
63
|
+
default: number;
|
|
64
|
+
};
|
|
65
|
+
extent: {
|
|
66
|
+
type: ArrayConstructor[];
|
|
67
|
+
default: any;
|
|
68
|
+
};
|
|
69
|
+
zIndex: {
|
|
70
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
71
|
+
default: any;
|
|
72
|
+
};
|
|
73
|
+
minZoom: {
|
|
74
|
+
type: NumberConstructor[];
|
|
75
|
+
default: any;
|
|
76
|
+
};
|
|
77
|
+
maxZoom: {
|
|
78
|
+
type: NumberConstructor[];
|
|
79
|
+
default: any;
|
|
80
|
+
};
|
|
81
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
82
|
+
features: {
|
|
83
|
+
type: (ArrayConstructor | ObjectConstructor)[];
|
|
84
|
+
default(): any[];
|
|
85
|
+
};
|
|
86
|
+
selectable: {
|
|
87
|
+
type: BooleanConstructor;
|
|
88
|
+
default: boolean;
|
|
89
|
+
};
|
|
90
|
+
modifiable: {
|
|
91
|
+
type: BooleanConstructor;
|
|
92
|
+
default: boolean;
|
|
93
|
+
};
|
|
94
|
+
snapable: {
|
|
95
|
+
type: BooleanConstructor;
|
|
96
|
+
default: boolean;
|
|
97
|
+
};
|
|
98
|
+
clusterOptions: {
|
|
99
|
+
type: ObjectConstructor[];
|
|
100
|
+
default(): any;
|
|
101
|
+
};
|
|
102
|
+
geomField: {
|
|
103
|
+
type: StringConstructor;
|
|
104
|
+
default: string;
|
|
105
|
+
};
|
|
106
|
+
layerType: {
|
|
107
|
+
type: StringConstructor;
|
|
108
|
+
default: string;
|
|
109
|
+
};
|
|
110
|
+
simplify: {
|
|
111
|
+
type: BooleanConstructor;
|
|
112
|
+
default: boolean;
|
|
113
|
+
};
|
|
114
|
+
simplifyOptions: {
|
|
115
|
+
type: ObjectConstructor[];
|
|
116
|
+
default(): {
|
|
117
|
+
threshold: number;
|
|
118
|
+
strategy: string;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
name: {
|
|
122
|
+
type: StringConstructor;
|
|
123
|
+
default: string;
|
|
124
|
+
};
|
|
125
|
+
layerId: {
|
|
126
|
+
type: StringConstructor;
|
|
127
|
+
default: string;
|
|
128
|
+
};
|
|
129
|
+
layerName: {
|
|
130
|
+
type: StringConstructor;
|
|
131
|
+
default: string;
|
|
132
|
+
};
|
|
133
|
+
layerStyle: {
|
|
134
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
135
|
+
default(): {};
|
|
136
|
+
};
|
|
137
|
+
visible: {
|
|
138
|
+
type: BooleanConstructor;
|
|
139
|
+
default: boolean;
|
|
140
|
+
};
|
|
141
|
+
opacity: {
|
|
142
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
143
|
+
default: number;
|
|
144
|
+
};
|
|
145
|
+
extent: {
|
|
146
|
+
type: ArrayConstructor[];
|
|
147
|
+
default: any;
|
|
148
|
+
};
|
|
149
|
+
zIndex: {
|
|
150
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
151
|
+
default: any;
|
|
152
|
+
};
|
|
153
|
+
minZoom: {
|
|
154
|
+
type: NumberConstructor[];
|
|
155
|
+
default: any;
|
|
156
|
+
};
|
|
157
|
+
maxZoom: {
|
|
158
|
+
type: NumberConstructor[];
|
|
159
|
+
default: any;
|
|
160
|
+
};
|
|
161
|
+
}>> & Readonly<{}>, {
|
|
162
|
+
zIndex: string | number;
|
|
163
|
+
layerId: string;
|
|
164
|
+
simplify: boolean;
|
|
165
|
+
layerStyle: Function | Record<string, any>;
|
|
166
|
+
features: unknown[] | Record<string, any>;
|
|
167
|
+
visible: boolean;
|
|
168
|
+
opacity: string | number;
|
|
169
|
+
geomField: string;
|
|
170
|
+
clusterOptions: Record<string, any>;
|
|
171
|
+
simplifyOptions: Record<string, any>;
|
|
172
|
+
maxZoom: number;
|
|
173
|
+
minZoom: number;
|
|
174
|
+
extent: unknown[];
|
|
175
|
+
name: string;
|
|
176
|
+
snapable: boolean;
|
|
177
|
+
modifiable: boolean;
|
|
178
|
+
selectable: boolean;
|
|
179
|
+
layerType: string;
|
|
180
|
+
layerName: string;
|
|
181
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
182
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
+
mapProvider: string;
|
|
3
|
+
$props: {
|
|
4
|
+
readonly mapProvider?: string;
|
|
5
|
+
};
|
|
6
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
+
mapProvider: string;
|
|
3
|
+
$props: {
|
|
4
|
+
readonly mapProvider?: string;
|
|
5
|
+
};
|
|
6
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
7
|
+
$emit: (event: "on-close", ...args: any[]) => void;
|
|
8
|
+
title: string;
|
|
9
|
+
visible: boolean;
|
|
10
|
+
popupId: string;
|
|
11
|
+
theme: string;
|
|
12
|
+
showTitle: boolean;
|
|
13
|
+
contentHtml: string;
|
|
14
|
+
$props: {
|
|
15
|
+
readonly title?: string;
|
|
16
|
+
readonly visible?: boolean;
|
|
17
|
+
readonly popupId?: string;
|
|
18
|
+
readonly theme?: string;
|
|
19
|
+
readonly showTitle?: boolean;
|
|
20
|
+
readonly contentHtml?: string;
|
|
21
|
+
};
|
|
22
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
23
|
+
type __VLS_TemplateResult = {
|
|
24
|
+
attrs: Partial<{}>;
|
|
25
|
+
slots: {
|
|
26
|
+
default?(_: {}): any;
|
|
27
|
+
};
|
|
28
|
+
refs: {};
|
|
29
|
+
rootEl: HTMLDivElement;
|
|
30
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
offset: {
|
|
3
|
+
type: ArrayConstructor;
|
|
4
|
+
default(): number[];
|
|
5
|
+
};
|
|
6
|
+
expand: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
theme: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
position: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
19
|
+
offset: {
|
|
20
|
+
type: ArrayConstructor;
|
|
21
|
+
default(): number[];
|
|
22
|
+
};
|
|
23
|
+
expand: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
theme: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
position: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
}>> & Readonly<{}>, {
|
|
36
|
+
offset: unknown[];
|
|
37
|
+
theme: string;
|
|
38
|
+
position: string;
|
|
39
|
+
expand: boolean;
|
|
40
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
41
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export namespace useProps {
|
|
2
|
+
namespace position {
|
|
3
|
+
export let type: StringConstructor;
|
|
4
|
+
let _default: string;
|
|
5
|
+
export { _default as default };
|
|
6
|
+
}
|
|
7
|
+
namespace offset {
|
|
8
|
+
let type_1: ArrayConstructor;
|
|
9
|
+
export { type_1 as type };
|
|
10
|
+
function _default(): number[];
|
|
11
|
+
export { _default as default };
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export const useEmits: string[];
|
|
15
|
+
export function usePosition({ position, offset }: {
|
|
16
|
+
position: any;
|
|
17
|
+
offset: any;
|
|
18
|
+
}): import('vue').ComputedRef<{
|
|
19
|
+
position: string;
|
|
20
|
+
}>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
+
$emit: (event: "change", ...args: any[]) => void;
|
|
3
|
+
offset: unknown[];
|
|
4
|
+
position: string;
|
|
5
|
+
$props: {
|
|
6
|
+
readonly offset?: unknown[];
|
|
7
|
+
readonly position?: string;
|
|
8
|
+
};
|
|
9
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
+
$emit: (event: "close" | "draw-end" | "select-change" | "modify-end", ...args: any[]) => void;
|
|
3
|
+
onceOnly: boolean;
|
|
4
|
+
freehand: boolean;
|
|
5
|
+
shapes: unknown[];
|
|
6
|
+
snapable: boolean;
|
|
7
|
+
modifiable: boolean;
|
|
8
|
+
selectable: boolean;
|
|
9
|
+
$props: {
|
|
10
|
+
readonly onceOnly?: boolean;
|
|
11
|
+
readonly freehand?: boolean;
|
|
12
|
+
readonly shapes?: unknown[];
|
|
13
|
+
readonly snapable?: boolean;
|
|
14
|
+
readonly modifiable?: boolean;
|
|
15
|
+
readonly selectable?: boolean;
|
|
16
|
+
};
|
|
17
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
treeCheckedKeys: {
|
|
3
|
+
type: ArrayConstructor;
|
|
4
|
+
default: () => any[];
|
|
5
|
+
};
|
|
6
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
"menu-click": (...args: any[]) => void;
|
|
8
|
+
"tree-update": (...args: any[]) => void;
|
|
9
|
+
"title-click": (...args: any[]) => void;
|
|
10
|
+
"check-change": (...args: any[]) => void;
|
|
11
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
12
|
+
treeCheckedKeys: {
|
|
13
|
+
type: ArrayConstructor;
|
|
14
|
+
default: () => any[];
|
|
15
|
+
};
|
|
16
|
+
}>> & Readonly<{
|
|
17
|
+
"onMenu-click"?: (...args: any[]) => any;
|
|
18
|
+
"onTree-update"?: (...args: any[]) => any;
|
|
19
|
+
"onTitle-click"?: (...args: any[]) => any;
|
|
20
|
+
"onCheck-change"?: (...args: any[]) => any;
|
|
21
|
+
}>, {
|
|
22
|
+
treeCheckedKeys: unknown[];
|
|
23
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
24
|
+
treeContainerRef: HTMLDivElement;
|
|
25
|
+
layerTreeRef: unknown;
|
|
26
|
+
}, HTMLDivElement>;
|
|
27
|
+
export default _default;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
theme: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
position: {
|
|
7
|
+
type: ArrayConstructor;
|
|
8
|
+
default(): number[];
|
|
9
|
+
};
|
|
10
|
+
zoom: {
|
|
11
|
+
type: NumberConstructor;
|
|
12
|
+
default: number;
|
|
13
|
+
};
|
|
14
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
15
|
+
theme: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
position: {
|
|
20
|
+
type: ArrayConstructor;
|
|
21
|
+
default(): number[];
|
|
22
|
+
};
|
|
23
|
+
zoom: {
|
|
24
|
+
type: NumberConstructor;
|
|
25
|
+
default: number;
|
|
26
|
+
};
|
|
27
|
+
}>> & Readonly<{}>, {
|
|
28
|
+
zoom: number;
|
|
29
|
+
theme: string;
|
|
30
|
+
position: unknown[];
|
|
31
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
32
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getClassByTheme: (theme: any) => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useEmits: string[];
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare const useProps: {
|
|
2
|
+
theme: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
position: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
offset: {
|
|
11
|
+
type: ArrayConstructor;
|
|
12
|
+
default(): number[];
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export declare const useEmits: string[];
|
|
16
|
+
export declare const usePosition: ({ position, offset }: {
|
|
17
|
+
position: any;
|
|
18
|
+
offset: any;
|
|
19
|
+
}) => import('vue').ComputedRef<{
|
|
20
|
+
position: string;
|
|
21
|
+
}>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 导出canvas对象
|
|
3
|
+
* @param {*} canvas
|
|
4
|
+
*/
|
|
5
|
+
export function exportCanvas(canvas: any): void;
|
|
6
|
+
declare namespace _default {
|
|
7
|
+
export { Canvas2Image };
|
|
8
|
+
}
|
|
9
|
+
export default _default;
|
|
10
|
+
declare namespace Canvas2Image {
|
|
11
|
+
export { saveAsImage };
|
|
12
|
+
export function saveAsPNG(canvas: any, width: any, height: any): void;
|
|
13
|
+
export function saveAsJPEG(canvas: any, width: any, height: any): void;
|
|
14
|
+
export function saveAsGIF(canvas: any, width: any, height: any): void;
|
|
15
|
+
export function saveAsBMP(canvas: any, width: any, height: any): void;
|
|
16
|
+
export { convertToImage };
|
|
17
|
+
export function convertToPNG(canvas: any, width: any, height: any): HTMLImageElement;
|
|
18
|
+
export function convertToJPEG(canvas: any, width: any, height: any): HTMLImageElement;
|
|
19
|
+
export function convertToGIF(canvas: any, width: any, height: any): HTMLImageElement;
|
|
20
|
+
export function convertToBMP(canvas: any, width: any, height: any): HTMLImageElement;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* saveAsImage
|
|
24
|
+
* @param canvasElement
|
|
25
|
+
* @param {String} image type
|
|
26
|
+
* @param {Number} [optional] png width
|
|
27
|
+
* @param {Number} [optional] png height
|
|
28
|
+
*/
|
|
29
|
+
declare function saveAsImage(canvas: any, width: any, height: any, type: any): void;
|
|
30
|
+
declare function convertToImage(canvas: any, width: any, height: any, type: any): HTMLImageElement;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @Description: 导出excel工具函数
|
|
3
|
+
* @param {*} id 元素id
|
|
4
|
+
* @param {*} fileName 文件名
|
|
5
|
+
*/
|
|
6
|
+
export function exportExcelByElementId(id: any, fileName?: any): any;
|
|
7
|
+
/**
|
|
8
|
+
* @Description: 导出excel工具函数
|
|
9
|
+
* @param {*} data 数据
|
|
10
|
+
* @param {*} fileName 文件名
|
|
11
|
+
*
|
|
12
|
+
* // data = [
|
|
13
|
+
// ["id", "name", "value"],
|
|
14
|
+
// [1, "sheetjs", 7262],
|
|
15
|
+
// [2, "js-xlsx", 6969]
|
|
16
|
+
// ]
|
|
17
|
+
*/
|
|
18
|
+
export function exportExcelByData(data: any, fileName?: any): void;
|
|
19
|
+
/**
|
|
20
|
+
* @Description: 导出excel工具函数
|
|
21
|
+
* @param {*} jsonData 数据
|
|
22
|
+
* @param {*} options 选项
|
|
23
|
+
*/
|
|
24
|
+
export function exportExcelByJson(jsonData: any, { header, skipHeader, fileName }?: any): void;
|
|
25
|
+
/**
|
|
26
|
+
* @Description: 导出excel工具函数
|
|
27
|
+
* @param {*} data 数据
|
|
28
|
+
* @param {*} options 选项
|
|
29
|
+
*/
|
|
30
|
+
export function exportExcelWithMultipleSheet(data: any, { header, skipHeader, fileName }?: any): void;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export function layoutUpdate({ tableHeight, container, offset, }: {
|
|
2
|
+
tableHeight: any;
|
|
3
|
+
container?: string;
|
|
4
|
+
offset?: number;
|
|
5
|
+
}): void;
|
|
6
|
+
export function draggableLayoutUpdate({ vue, container, offset, }: {
|
|
7
|
+
vue: any;
|
|
8
|
+
container?: string;
|
|
9
|
+
offset?: number;
|
|
10
|
+
}): void;
|
|
File without changes
|