sat-earth 0.8.42 → 0.9.0

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/README.md CHANGED
@@ -1,2 +1,241 @@
1
- ## 什么是快乐“星球” ?
2
-   [SatEarth](https://gitee.com/gengkaibo/sat-earth)是一个三维地球组件库,目的是支持开发人员快速搭建三维场景。
1
+ ## 什么是快乐“星球” ?
2
+   [SatEarth](https://gitee.com/gengkaibo/sat-earth)是一个基于Vue3.x,面向开发者的三维地球组件库。
3
+
4
+ ## 组件库亮点
5
+ - 内置丰富基础功能组件以及菜单组件
6
+ - 对外暴露API,可随意调用sat-earth、mars3d、cesium API 进行定制化开发
7
+ - 功能组件可配合菜单组件也可独立运行,兼顾灵活与便捷
8
+ - ...
9
+
10
+ ## 前序准备
11
+ - [node](http://nodejs.org/) 和 [git](https://git-scm.com/) - 项目开发环境
12
+ - [Vite](https://vitejs.dev/) - 熟悉 vite 特性
13
+ - [Vue3](https://v3.vuejs.org/) - 熟悉 Vue 基础语法
14
+ - [TypeScript](https://www.typescriptlang.org/) - 熟悉 `TypeScript` 基本语法
15
+ - [Es6+](http://es6.ruanyifeng.com/) - 熟悉`es6`基本语法
16
+ - [Cesium](https://cesium.com/) - Cesium是一个开源的,基于webgl的二、三维地图引擎
17
+ - [Mars3D](http://mars3d.cn/) - 基于Cesium优化提升与B/S架构设计,支持多行业扩展的轻量级高效能GIS开发平台
18
+
19
+ ## 安装
20
+ - 首先在命令行执行如下命令添加 `sat-earth` 的依赖
21
+ ```bash
22
+ npm i sat-earth
23
+ ```
24
+
25
+ - 将 `node_modules/mars3d-cesium/Build/Cesium` 目录拷贝到我们开发目录中的public下
26
+ 然后在index.html中引入 `cesium` 库
27
+ ```html
28
+ <!--引入cesium基础lib-->
29
+ <link href="/Cesium/Widgets/widgets.css" rel="stylesheet" type="text/css" />
30
+ <script src="/Cesium/Cesium.js" type="text/javascript"></script>
31
+ ```
32
+
33
+ - 如果您的项目也用了`pinia`,请修改您项目中的piniaStore直接使用`sat-earth`的导出,并且main.ts中不需要在调用App.use(piniaStore)
34
+ ```ts
35
+ // const piniaStore = createPinia()
36
+ // export { piniaStore }
37
+ import { SatStore } from 'sat-earth'
38
+ const piniaStore = SatStore.piniaStore
39
+ export {
40
+ piniaStore
41
+ }
42
+ ```
43
+
44
+ - 在 `main.[jt]s` 中引入我们的 `sat-earth` 资源
45
+
46
+ ```ts
47
+ import { createApp } from "vue"
48
+ import App from "./app.vue"
49
+ import SatEarth from 'sat-earth'
50
+ import 'sat-earth/dist/style.css'
51
+ const app = createApp(App)
52
+ // SatEarth内部引入了ElementPlus,如果你也使用了element-plus,请在你的代码中注释掉不再引入,并且取消element-plus的按需自动导入(目前发现一些样式上的bug,我弃用了)
53
+ // import ElementPlus from 'element-plus'
54
+ // import 'element-plus/dist/index.css'
55
+ // import 'element-plus/theme-chalk/dark/css-vars.css'
56
+ // app.use(ElementPlus)
57
+ app.use(SatEarth)
58
+ app.mount("#app")
59
+
60
+ ```
61
+
62
+ - 在`tsconfig.json`中的`types`加入类型声明文件`sat-earth/dist/packages/auto-components`,来支持[Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar)的类型提示
63
+ ```json
64
+ {
65
+ "compilerOptions": {
66
+ "target": "esnext", // 指定ts编译后的ECMAScript目标版本: 'es3' (default), 'es5', 'es2015', 'es2016', 'es2017', or 'esnext'
67
+ "module": "esnext", // 指定编译后代码使用的模块化规范: 'commonjs', 'amd', 'umd' or 'es...'
68
+ "declaration": false, // 是否生成声明文件
69
+ "strict": true, // 开启全部严格模式
70
+ "removeComments": true, // 删除注释
71
+ "allowJs": true, // 是否对js文件开启编译
72
+ "noImplicitAny": false, // 支持类型不标注可以默认any
73
+ "allowSyntheticDefaultImports": true, // 允许没有导出的模块中导入
74
+ "resolveJsonModule": true, // json文件是否可导入
75
+ "isolatedModules": true, // 将每个文件作为单独的模块
76
+ "useDefineForClassFields": true, // class类的变量声明方式从 = 赋值的方式变更成了Object.defineProperty;所有的字段声明都会生效,即使它没有指定默认值
77
+ "moduleResolution": "node", // 置顶模块的解析策略,'node' or 'classic'
78
+ "esModuleInterop": true, // 支持es6,commonjs模块
79
+ "skipLibCheck": true, // 跳过类库检测
80
+ "jsx": "preserve",
81
+ "lib": [
82
+ "esnext",
83
+ "dom"
84
+ ],
85
+ "types": [
86
+ "vite/client",
87
+ "sat-earth/dist/packages/auto-components"
88
+ ],
89
+ "paths": {
90
+ "@src/*": [
91
+ "./src/*"
92
+ ]
93
+ }
94
+ },
95
+ "include": [
96
+ "**/*.ts",
97
+ "**/*.d.ts",
98
+ "**/*.vue"
99
+ ]
100
+ }
101
+ ```
102
+
103
+ ## 开发文档
104
+ 等发布1.0版本补文档,暂时没有
105
+
106
+ ## 快速开始
107
+ ```ts
108
+ <script setup lang="ts">
109
+ import { type SatMapOptions } from 'sat-earth'
110
+ /*
111
+ 初始化参数尽量保证了和mars3d的Map构造一致性,但是任然有一些地方进行了小改动,具体查看类型SatMapOptions,下面请看改动:
112
+ 1. 在mars3d的Map构造参数的基础上扩展了custom对象。
113
+
114
+ custom: {
115
+ // 工具栏新增项
116
+ layoutTheme: {
117
+ primaryColor: '#409eff',
118
+ isDark: true,
119
+ },
120
+ toolbar: {
121
+ mapSplit: true // 开启卷帘工具
122
+ bookmark: true // 开启视角书签工具
123
+ keyboardRoam: true // 开启键盘漫游功能
124
+ },
125
+ plotModelUrlPrefix?: string // 标绘模型地址前缀
126
+ layers: {
127
+ // list 这是要加入到 'SatSource' 数据源管理中的自定义Layer图层,参数与 mars3d构造 Layer 的参数
128
+ // 一致,通过 'id/pid' 在 'SatSource' 组件中形成对应的树形结构, 如果不加pid的时候或者任意添加的
129
+ // pid导致在所有图层中并没有查找到该 pid 对应图层项时,组件会给该项添加默认pid并加到树的跟节点上。
130
+ list: []
131
+ // 辅助图层
132
+ auxiliaryLayers: {
133
+ cover: boolean // 是否覆盖内置的辅助图层
134
+ list: [] // 自定义的辅助图层Layer集合
135
+ },
136
+ // 地形图层
137
+ terrainLayers: {
138
+ cover: boolean // 是否覆盖内置的地形图层
139
+ list: [] // 自定义的地形图层Layer集合
140
+ }
141
+ }
142
+ }
143
+
144
+ 2. 对mars3d的Map构造参数中原有的basemaps的传参略作了修改。
145
+
146
+ basemaps:[] => basemaps:{
147
+ cover: boolean
148
+ list: []
149
+ }
150
+ ①. 在 'sat-earth' 中加入了默认的基础底图,这里可以选择是否覆盖重写;
151
+ ②. basemaps中配置的底图最终也会出现在 'SatSource' 数据源组件中的树形结构中;
152
+
153
+ */
154
+ const options: SatMapOptions = {
155
+ map3d: {
156
+ control: {
157
+ baseLayerPicker: true,
158
+ animation: false,
159
+ timeline: false
160
+ },
161
+ basemaps: {
162
+ cover: false,
163
+ list: []
164
+ },
165
+ custom: {
166
+ layoutTheme: {
167
+ primaryColor: '#409eff',
168
+ isDark: true,
169
+ },
170
+ toolbar: {
171
+ mapSplit: true, // 开启卷帘工具
172
+ bookmark: true, // 开启视角书签工具
173
+ keyboardRoam: true, // 开启键盘漫游功能
174
+ },
175
+ layers: {
176
+ /* list 这是要加入到数据源管理中的自定义Layer图层,参数与 mars3d构造 Layer 的参数一致,
177
+ 通过 'id/pid' 在 'SatSource' 组件中形成对应的树形结构, 不加 pid 的时候或者任意添加的 pid
178
+ 导致所有图层中并没有该 pid 对应图层项时,组件会给该项添加默认的 pid,并加入到树的跟节点上。
179
+ */
180
+ list: [
181
+ {
182
+ 'id': 202012,
183
+ 'type': '3dtiles',
184
+ 'name': '石化工厂',
185
+ 'url': 'http://data.mars3d.cn/3dtiles/max-shihua/tileset.json',
186
+ 'position': { 'lng': 117.077158, 'lat': 31.659116, 'alt': 24.6 },
187
+ 'maximumScreenSpaceError': 1,
188
+ 'maximumMemoryUsage': 1024,
189
+ 'highlight': { 'type': 'click', 'color': '#00FF00' },
190
+ 'popup': 'all',
191
+ 'flyTo': true,
192
+ 'scenetree': 'scenetree.json',
193
+ 'center': { 'lat': 31.654916, 'lng': 117.08278, 'alt': 279, 'heading': 316, 'pitch': -29 }
194
+ },
195
+ ],
196
+ // 辅助图层
197
+ auxiliaryLayers: {
198
+ cover: false, // 是否覆盖内置的辅助图层
199
+ list: [] // 自定义的辅助图层Layer集合
200
+ },
201
+ // 地形图层
202
+ terrainLayers: {
203
+ cover: false, // 是否覆盖内置的地形图层
204
+ list: [] // 自定义的地形图层Layer集合
205
+ },
206
+ },
207
+ },
208
+ },
209
+ }
210
+
211
+ </script>
212
+ ```
213
+ ```html
214
+ <template>
215
+ <!-- 注意:在SatGlobe外部无法使用组件 -->
216
+ <SatGlobe :sat-map-options="options">
217
+ <SatTaskView></SatTaskView>
218
+ <SatMenu>
219
+ <SatSource></SatSource>
220
+ <SatMapPart></SatMapPart>
221
+ <SatLocation></SatLocation>
222
+ <SatMeasure></SatMeasure>
223
+ <SatPlot></SatPlot>
224
+ <SatPicture ref="satPicture"></SatPicture>
225
+ </SatMenu>
226
+ </SatGlobe>
227
+ </template>
228
+ <style>
229
+ body {
230
+ margin: 0;
231
+ padding: 0;
232
+ }
233
+
234
+ #app {
235
+ width: 100vw;
236
+ height: 100vh;
237
+ position: relative;
238
+ }
239
+ </style>
240
+
241
+ ```
@@ -20,13 +20,13 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
20
20
  $data: {};
21
21
  $props: Partial<{
22
22
  readonly disabled: boolean;
23
- readonly labelPosition: any;
24
- readonly requireAsteriskPosition: any;
25
- readonly labelWidth: any;
23
+ readonly labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
24
+ readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right", unknown>;
25
+ readonly labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
26
26
  readonly labelSuffix: string;
27
- readonly showMessage: any;
28
- readonly validateOnRuleChange: any;
29
- readonly hideRequiredAsterisk: any;
27
+ readonly showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
28
+ readonly validateOnRuleChange: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
29
+ readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
30
30
  readonly inline: boolean;
31
31
  readonly inlineMessage: boolean;
32
32
  readonly statusIcon: boolean;
@@ -39,23 +39,23 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
39
39
  readonly validator: ((val: unknown) => boolean) | undefined;
40
40
  __epPropKey: true;
41
41
  };
42
- readonly labelPosition: any;
43
- readonly requireAsteriskPosition: any;
44
- readonly labelWidth: any;
45
- readonly labelSuffix: any;
42
+ readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
43
+ readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
44
+ readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
45
+ readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
46
46
  readonly inline: BooleanConstructor;
47
47
  readonly inlineMessage: BooleanConstructor;
48
48
  readonly statusIcon: BooleanConstructor;
49
- readonly showMessage: any;
49
+ readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
50
50
  readonly size: {
51
- readonly type: import("vue").PropType<any>;
51
+ readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
52
52
  readonly required: false;
53
53
  readonly validator: ((val: unknown) => boolean) | undefined;
54
54
  __epPropKey: true;
55
55
  };
56
56
  readonly disabled: BooleanConstructor;
57
- readonly validateOnRuleChange: any;
58
- readonly hideRequiredAsterisk: any;
57
+ readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
58
+ readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
59
59
  readonly scrollToError: BooleanConstructor;
60
60
  }>> & {
61
61
  onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
@@ -81,23 +81,23 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
81
81
  readonly validator: ((val: unknown) => boolean) | undefined;
82
82
  __epPropKey: true;
83
83
  };
84
- readonly labelPosition: any;
85
- readonly requireAsteriskPosition: any;
86
- readonly labelWidth: any;
87
- readonly labelSuffix: any;
84
+ readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
85
+ readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
86
+ readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
87
+ readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
88
88
  readonly inline: BooleanConstructor;
89
89
  readonly inlineMessage: BooleanConstructor;
90
90
  readonly statusIcon: BooleanConstructor;
91
- readonly showMessage: any;
91
+ readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
92
92
  readonly size: {
93
- readonly type: import("vue").PropType<any>;
93
+ readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
94
94
  readonly required: false;
95
95
  readonly validator: ((val: unknown) => boolean) | undefined;
96
96
  __epPropKey: true;
97
97
  };
98
98
  readonly disabled: BooleanConstructor;
99
- readonly validateOnRuleChange: any;
100
- readonly hideRequiredAsterisk: any;
99
+ readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
100
+ readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
101
101
  readonly scrollToError: BooleanConstructor;
102
102
  }>> & {
103
103
  onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
@@ -111,23 +111,23 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
111
111
  readonly validator: ((val: unknown) => boolean) | undefined;
112
112
  __epPropKey: true;
113
113
  };
114
- readonly labelPosition: any;
115
- readonly requireAsteriskPosition: any;
116
- readonly labelWidth: any;
117
- readonly labelSuffix: any;
114
+ readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
115
+ readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
116
+ readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
117
+ readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
118
118
  readonly inline: BooleanConstructor;
119
119
  readonly inlineMessage: BooleanConstructor;
120
120
  readonly statusIcon: BooleanConstructor;
121
- readonly showMessage: any;
121
+ readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
122
122
  readonly size: {
123
- readonly type: import("vue").PropType<any>;
123
+ readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
124
124
  readonly required: false;
125
125
  readonly validator: ((val: unknown) => boolean) | undefined;
126
126
  __epPropKey: true;
127
127
  };
128
128
  readonly disabled: BooleanConstructor;
129
- readonly validateOnRuleChange: any;
130
- readonly hideRequiredAsterisk: any;
129
+ readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
130
+ readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
131
131
  readonly scrollToError: BooleanConstructor;
132
132
  }>> & {
133
133
  onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
@@ -154,7 +154,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
154
154
  cssVarBlockName: (name: string) => string;
155
155
  };
156
156
  formClasses: import("vue").ComputedRef<(string | {
157
- [x: string]: any;
157
+ [x: string]: boolean | import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
158
158
  })[]>;
159
159
  addField: (field: import("element-plus").FormItemContext) => void;
160
160
  removeField: (field: import("element-plus").FormItemContext) => void;
@@ -170,13 +170,13 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
170
170
  validate: (prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => boolean;
171
171
  }, string, {
172
172
  readonly disabled: boolean;
173
- readonly labelPosition: any;
174
- readonly requireAsteriskPosition: any;
175
- readonly labelWidth: any;
173
+ readonly labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
174
+ readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right", unknown>;
175
+ readonly labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
176
176
  readonly labelSuffix: string;
177
- readonly showMessage: any;
178
- readonly validateOnRuleChange: any;
179
- readonly hideRequiredAsterisk: any;
177
+ readonly showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
178
+ readonly validateOnRuleChange: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
179
+ readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
180
180
  readonly inline: boolean;
181
181
  readonly inlineMessage: boolean;
182
182
  readonly statusIcon: boolean;
@@ -209,23 +209,23 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
209
209
  readonly validator: ((val: unknown) => boolean) | undefined;
210
210
  __epPropKey: true;
211
211
  };
212
- readonly labelPosition: any;
213
- readonly requireAsteriskPosition: any;
214
- readonly labelWidth: any;
215
- readonly labelSuffix: any;
212
+ readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
213
+ readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
214
+ readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
215
+ readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
216
216
  readonly inline: BooleanConstructor;
217
217
  readonly inlineMessage: BooleanConstructor;
218
218
  readonly statusIcon: BooleanConstructor;
219
- readonly showMessage: any;
219
+ readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
220
220
  readonly size: {
221
- readonly type: import("vue").PropType<any>;
221
+ readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
222
222
  readonly required: false;
223
223
  readonly validator: ((val: unknown) => boolean) | undefined;
224
224
  __epPropKey: true;
225
225
  };
226
226
  readonly disabled: BooleanConstructor;
227
- readonly validateOnRuleChange: any;
228
- readonly hideRequiredAsterisk: any;
227
+ readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
228
+ readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
229
229
  readonly scrollToError: BooleanConstructor;
230
230
  }>> & {
231
231
  onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
@@ -239,23 +239,23 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
239
239
  readonly validator: ((val: unknown) => boolean) | undefined;
240
240
  __epPropKey: true;
241
241
  };
242
- readonly labelPosition: any;
243
- readonly requireAsteriskPosition: any;
244
- readonly labelWidth: any;
245
- readonly labelSuffix: any;
242
+ readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
243
+ readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
244
+ readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
245
+ readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
246
246
  readonly inline: BooleanConstructor;
247
247
  readonly inlineMessage: BooleanConstructor;
248
248
  readonly statusIcon: BooleanConstructor;
249
- readonly showMessage: any;
249
+ readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
250
250
  readonly size: {
251
- readonly type: import("vue").PropType<any>;
251
+ readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
252
252
  readonly required: false;
253
253
  readonly validator: ((val: unknown) => boolean) | undefined;
254
254
  __epPropKey: true;
255
255
  };
256
256
  readonly disabled: BooleanConstructor;
257
- readonly validateOnRuleChange: any;
258
- readonly hideRequiredAsterisk: any;
257
+ readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
258
+ readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
259
259
  readonly scrollToError: BooleanConstructor;
260
260
  }>> & {
261
261
  onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
@@ -282,7 +282,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
282
282
  cssVarBlockName: (name: string) => string;
283
283
  };
284
284
  formClasses: import("vue").ComputedRef<(string | {
285
- [x: string]: any;
285
+ [x: string]: boolean | import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
286
286
  })[]>;
287
287
  addField: (field: import("element-plus").FormItemContext) => void;
288
288
  removeField: (field: import("element-plus").FormItemContext) => void;