@nywqs/scada-engine 1.1.17 → 1.1.19

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.
Files changed (32) hide show
  1. package/README.md +34 -34
  2. package/dist/scada-components/iot/AlarmLight3D.d.ts +14 -0
  3. package/dist/scada-components/iot/Conveyor3D.d.ts +14 -0
  4. package/dist/scada-components/iot/Cylinder3D.d.ts +14 -0
  5. package/dist/scada-components/iot/EChartsGauge.d.ts +14 -0
  6. package/dist/scada-components/iot/EChartsLine.d.ts +14 -0
  7. package/dist/scada-components/iot/Filter3D.d.ts +14 -0
  8. package/dist/scada-components/iot/HeatExchanger3D.d.ts +14 -0
  9. package/dist/scada-components/iot/Light3D.d.ts +14 -0
  10. package/dist/scada-components/iot/Motor3D.d.ts +14 -0
  11. package/dist/scada-components/iot/Pipe3D.d.ts +14 -0
  12. package/dist/scada-components/iot/Pump3D.d.ts +14 -0
  13. package/dist/scada-components/iot/Switch3D.d.ts +14 -0
  14. package/dist/scada-components/iot/Tank3D.d.ts +14 -0
  15. package/dist/scada-components/iot/Tee3D.d.ts +14 -0
  16. package/dist/scada-components/iot/TemperatureSensor3D.d.ts +14 -0
  17. package/dist/scada-components/iot/Valve3D.d.ts +14 -0
  18. package/dist/scada-components/iot/echarts-gauge-presets.d.ts +18 -0
  19. package/dist/scada-components/iot/echarts-gauge.d.ts +6 -0
  20. package/dist/scada-components/iot/echarts-line-presets.d.ts +13 -0
  21. package/dist/scada-components/iot/echarts-line.d.ts +6 -0
  22. package/dist/scada-components/iot/index.d.ts +5 -1
  23. package/dist/scada-components/iot/industrial-3d-extended.d.ts +18 -0
  24. package/dist/scada-components/iot/industrial-3d-fluid.d.ts +9 -0
  25. package/dist/scada-components/iot/industrial-3d.d.ts +18 -0
  26. package/dist/scada-components/iot/light.d.ts +1 -1
  27. package/dist/scada-components/iot/switch.d.ts +1 -1
  28. package/dist/scada-engine.css +1 -1
  29. package/dist/scada-engine.es.js +8593 -3119
  30. package/dist/scada-engine.umd.js +18 -18
  31. package/package.json +2 -1
  32. package/dist/scada-components/iot/gauge.d.ts +0 -6
package/README.md CHANGED
@@ -346,30 +346,26 @@ const handlePreview = () => {
346
346
 
347
347
  ### 软件授权使用
348
348
 
349
- 本软件默认在底部显示版权信息。如需隐藏或修改版权信息,必须获取授权码。
349
+ 本软件默认在底部显示版权信息。如需隐藏或修改版权信息,必须使用有效的数字签名令牌与公钥。
350
350
 
351
- #### 获取授权码
351
+ #### 获取授权
352
+
353
+ 请联系作者获取:
354
+ 1. **授权令牌 (Token)**:包含公司名、有效期等信息的签名串。
355
+ 2. **公钥 (Public Key)**:用于验证签名的 `public.pem` 文件内容。
352
356
 
353
- 请联系作者获取授权码:
354
357
  - 邮箱:nywqs@outlook.com
355
358
  - 电话:18637762001
356
359
 
357
- #### 使用授权码
360
+ #### 使用方式
358
361
 
359
- ```vue
360
- <template>
361
- <ScadaCanvas
362
- auth-code="your-auth-code-here"
363
- />
364
- </template>
365
- ```
366
-
367
- #### 自定义 Footer 信息(需授权)
362
+ 在使用 `ScadaCanvas` 组件时,需同时传入 `auth-code`(令牌)与 `public-key-pem`(公钥内容)。
368
363
 
369
364
  ```vue
370
365
  <template>
371
366
  <ScadaCanvas
372
- auth-code="your-auth-code-here"
367
+ :auth-code="licenseToken"
368
+ :public-key-pem="publicKey"
373
369
  :custom-footer="{
374
370
  copyright: '© 2025 您的公司',
375
371
  license: '商业授权使用',
@@ -377,25 +373,33 @@ const handlePreview = () => {
377
373
  }"
378
374
  />
379
375
  </template>
376
+
377
+ <script setup lang="ts">
378
+ // 填入从授权方获取的 Token 字符串
379
+ const licenseToken = 'eyJh...<完整Token字符串>'
380
+
381
+ // 填入 public.pem 的完整内容
382
+ const publicKey = `-----BEGIN PUBLIC KEY-----
383
+ MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAExxxxxxxxxxxxxxxxxxxxxxxxxxxx
384
+ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
385
+ xxxxxxxx==
386
+ -----END PUBLIC KEY-----`
387
+ </script>
380
388
  ```
381
389
 
382
390
  **授权模式说明**
383
- - 不提供 authCode:显示默认版权信息
384
- - 有效 authCode + 无 customFooter:隐藏 Footer
385
- - 有效 authCode + customFooter:显示自定义 Footer
386
-
387
- **授权信息解密**
391
+ - 未提供有效 Token 或 公钥验证失败:显示默认版权信息
392
+ - 验证通过 + 无 customFooter:隐藏 Footer
393
+ - 验证通过 + customFooter:显示自定义 Footer
388
394
 
389
- 授权码采用 AES-256-CBC + OpenSSL 格式加密,可解密出:
390
- - 公司/授权名称
391
- - 有效期(可选)
392
- - 机器码绑定(可选)
395
+ **授权验证机制**
396
+ 采用 ECDSA P-256 + SHA-256 数字签名技术。前端仅持有公钥进行验签,无法伪造授权。
393
397
 
394
398
  控制台会输出授权验证信息:
395
399
  ```javascript
396
- 授权验证成功
397
- 授权公司: leoncheng
398
- 有效期至: 2026-12-17
400
+ 授权验证成功
401
+ 🏛️ 授权公司: ACME Corp
402
+ 📅 有效期至: 2026-12-31
399
403
  ```
400
404
 
401
405
  ## 预览模式
@@ -488,15 +492,11 @@ npm publish
488
492
 
489
493
  ## 许可协议
490
494
 
491
- 版权所有 © 2025 leoncheng
492
-
493
- 本项目采用专有许可协议,详见 [LICENSE](LICENSE) 文件。
495
+ 本项目采用 **MIT 许可协议**,详见 [LICENSE](LICENSE) 文件。
494
496
 
495
- 简要说明:
496
- - 允许用于学习和研究目的
497
- - 禁止未经授权的商业使用
498
- - 商业使用需获取书面授权和有效授权码
499
- - 详细条款请查看 LICENSE 文件
497
+ - 允许商业使用、修改、分发
498
+ - 需保留版权声明与许可文本
499
+ - 软件按“原样”提供,无任何担保
500
500
 
501
501
  如需商业授权,请联系作者。
502
502
 
@@ -0,0 +1,14 @@
1
+ interface Props {
2
+ node?: any;
3
+ }
4
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
5
+ export default _default;
6
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
7
+ type __VLS_TypePropsToRuntimeProps<T> = {
8
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
9
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
10
+ } : {
11
+ type: import('vue').PropType<T[K]>;
12
+ required: true;
13
+ };
14
+ };
@@ -0,0 +1,14 @@
1
+ interface Props {
2
+ node?: any;
3
+ }
4
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
5
+ export default _default;
6
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
7
+ type __VLS_TypePropsToRuntimeProps<T> = {
8
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
9
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
10
+ } : {
11
+ type: import('vue').PropType<T[K]>;
12
+ required: true;
13
+ };
14
+ };
@@ -0,0 +1,14 @@
1
+ interface Props {
2
+ node?: any;
3
+ }
4
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
5
+ export default _default;
6
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
7
+ type __VLS_TypePropsToRuntimeProps<T> = {
8
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
9
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
10
+ } : {
11
+ type: import('vue').PropType<T[K]>;
12
+ required: true;
13
+ };
14
+ };
@@ -0,0 +1,14 @@
1
+ interface Props {
2
+ node?: any;
3
+ }
4
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
5
+ export default _default;
6
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
7
+ type __VLS_TypePropsToRuntimeProps<T> = {
8
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
9
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
10
+ } : {
11
+ type: import('vue').PropType<T[K]>;
12
+ required: true;
13
+ };
14
+ };
@@ -0,0 +1,14 @@
1
+ interface Props {
2
+ node?: any;
3
+ }
4
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
5
+ export default _default;
6
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
7
+ type __VLS_TypePropsToRuntimeProps<T> = {
8
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
9
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
10
+ } : {
11
+ type: import('vue').PropType<T[K]>;
12
+ required: true;
13
+ };
14
+ };
@@ -0,0 +1,14 @@
1
+ interface Props {
2
+ node?: any;
3
+ }
4
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
5
+ export default _default;
6
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
7
+ type __VLS_TypePropsToRuntimeProps<T> = {
8
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
9
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
10
+ } : {
11
+ type: import('vue').PropType<T[K]>;
12
+ required: true;
13
+ };
14
+ };
@@ -0,0 +1,14 @@
1
+ interface Props {
2
+ node?: any;
3
+ }
4
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
5
+ export default _default;
6
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
7
+ type __VLS_TypePropsToRuntimeProps<T> = {
8
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
9
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
10
+ } : {
11
+ type: import('vue').PropType<T[K]>;
12
+ required: true;
13
+ };
14
+ };
@@ -0,0 +1,14 @@
1
+ interface Props {
2
+ node?: any;
3
+ }
4
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
5
+ export default _default;
6
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
7
+ type __VLS_TypePropsToRuntimeProps<T> = {
8
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
9
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
10
+ } : {
11
+ type: import('vue').PropType<T[K]>;
12
+ required: true;
13
+ };
14
+ };
@@ -0,0 +1,14 @@
1
+ interface Props {
2
+ node?: any;
3
+ }
4
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
5
+ export default _default;
6
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
7
+ type __VLS_TypePropsToRuntimeProps<T> = {
8
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
9
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
10
+ } : {
11
+ type: import('vue').PropType<T[K]>;
12
+ required: true;
13
+ };
14
+ };
@@ -0,0 +1,14 @@
1
+ interface Props {
2
+ node?: any;
3
+ }
4
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
5
+ export default _default;
6
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
7
+ type __VLS_TypePropsToRuntimeProps<T> = {
8
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
9
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
10
+ } : {
11
+ type: import('vue').PropType<T[K]>;
12
+ required: true;
13
+ };
14
+ };
@@ -0,0 +1,14 @@
1
+ interface Props {
2
+ node?: any;
3
+ }
4
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
5
+ export default _default;
6
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
7
+ type __VLS_TypePropsToRuntimeProps<T> = {
8
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
9
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
10
+ } : {
11
+ type: import('vue').PropType<T[K]>;
12
+ required: true;
13
+ };
14
+ };
@@ -0,0 +1,14 @@
1
+ interface Props {
2
+ node?: any;
3
+ }
4
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
5
+ export default _default;
6
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
7
+ type __VLS_TypePropsToRuntimeProps<T> = {
8
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
9
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
10
+ } : {
11
+ type: import('vue').PropType<T[K]>;
12
+ required: true;
13
+ };
14
+ };
@@ -0,0 +1,14 @@
1
+ interface Props {
2
+ node?: any;
3
+ }
4
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
5
+ export default _default;
6
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
7
+ type __VLS_TypePropsToRuntimeProps<T> = {
8
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
9
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
10
+ } : {
11
+ type: import('vue').PropType<T[K]>;
12
+ required: true;
13
+ };
14
+ };
@@ -0,0 +1,14 @@
1
+ interface Props {
2
+ node?: any;
3
+ }
4
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
5
+ export default _default;
6
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
7
+ type __VLS_TypePropsToRuntimeProps<T> = {
8
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
9
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
10
+ } : {
11
+ type: import('vue').PropType<T[K]>;
12
+ required: true;
13
+ };
14
+ };
@@ -0,0 +1,14 @@
1
+ interface Props {
2
+ node?: any;
3
+ }
4
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
5
+ export default _default;
6
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
7
+ type __VLS_TypePropsToRuntimeProps<T> = {
8
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
9
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
10
+ } : {
11
+ type: import('vue').PropType<T[K]>;
12
+ required: true;
13
+ };
14
+ };
@@ -0,0 +1,14 @@
1
+ interface Props {
2
+ node?: any;
3
+ }
4
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
5
+ export default _default;
6
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
7
+ type __VLS_TypePropsToRuntimeProps<T> = {
8
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
9
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
10
+ } : {
11
+ type: import('vue').PropType<T[K]>;
12
+ required: true;
13
+ };
14
+ };
@@ -0,0 +1,18 @@
1
+ /**
2
+ * ECharts 仪表盘预设样式配置
3
+ * 优化版本:减少拥挤感,增加留白和可读性
4
+ */
5
+ export interface GaugePreset {
6
+ id: string;
7
+ name: string;
8
+ config: any;
9
+ }
10
+ export declare const gaugePresets: GaugePreset[];
11
+ /**
12
+ * 根据预设ID获取预设配置
13
+ */
14
+ export declare function getPresetById(presetId: string): GaugePreset | undefined;
15
+ /**
16
+ * 应用预设配置到节点数据
17
+ */
18
+ export declare function applyPresetConfig(presetId: string): any;
@@ -0,0 +1,6 @@
1
+ import { ComponentConfig } from '../types';
2
+
3
+ /**
4
+ * ECharts 仪表盘组件配置
5
+ */
6
+ export declare const EChartsGaugeComponent: ComponentConfig;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * ECharts 折线图预设样式配置
3
+ */
4
+ export interface LinePreset {
5
+ id: string;
6
+ name: string;
7
+ config: any;
8
+ }
9
+ export declare const linePresets: LinePreset[];
10
+ /**
11
+ * 根据预设ID获取预设配置
12
+ */
13
+ export declare function getLinePresetById(presetId: string): LinePreset | undefined;
@@ -0,0 +1,6 @@
1
+ import { ComponentConfig } from '../types';
2
+
3
+ /**
4
+ * ECharts 折线图组件配置
5
+ */
6
+ export declare const EChartsLineComponent: ComponentConfig;
@@ -3,4 +3,8 @@
3
3
  */
4
4
  export { LightComponent } from './light';
5
5
  export { SwitchComponent } from './switch';
6
- export { GaugeComponent } from './gauge';
6
+ export { EChartsGaugeComponent } from './echarts-gauge';
7
+ export { EChartsLineComponent } from './echarts-line';
8
+ export { Motor3DComponent, Valve3DComponent, Tank3DComponent, Pump3DComponent } from './industrial-3d';
9
+ export { Conveyor3DComponent, AlarmLight3DComponent, TemperatureSensor3DComponent, Cylinder3DComponent } from './industrial-3d-extended';
10
+ export { Pipe3DComponent, Filter3DComponent, HeatExchanger3DComponent, Tee3DComponent } from './industrial-3d-fluid';
@@ -0,0 +1,18 @@
1
+ import { ComponentConfig } from '../types';
2
+
3
+ /**
4
+ * 3D传送带组件配置
5
+ */
6
+ export declare const Conveyor3DComponent: ComponentConfig;
7
+ /**
8
+ * 3D报警灯组件配置
9
+ */
10
+ export declare const AlarmLight3DComponent: ComponentConfig;
11
+ /**
12
+ * 3D温度传感器组件配置
13
+ */
14
+ export declare const TemperatureSensor3DComponent: ComponentConfig;
15
+ /**
16
+ * 3D气缸组件配置
17
+ */
18
+ export declare const Cylinder3DComponent: ComponentConfig;
@@ -0,0 +1,9 @@
1
+ import { ComponentConfig } from '../types';
2
+
3
+ /**
4
+ * 3D管道组件配置
5
+ */
6
+ export declare const Pipe3DComponent: ComponentConfig;
7
+ export declare const Filter3DComponent: ComponentConfig;
8
+ export declare const HeatExchanger3DComponent: ComponentConfig;
9
+ export declare const Tee3DComponent: ComponentConfig;
@@ -0,0 +1,18 @@
1
+ import { ComponentConfig } from '../types';
2
+
3
+ /**
4
+ * 3D电机组件配置
5
+ */
6
+ export declare const Motor3DComponent: ComponentConfig;
7
+ /**
8
+ * 3D阀门组件配置
9
+ */
10
+ export declare const Valve3DComponent: ComponentConfig;
11
+ /**
12
+ * 3D储罐组件配置
13
+ */
14
+ export declare const Tank3DComponent: ComponentConfig;
15
+ /**
16
+ * 3D水泵组件配置
17
+ */
18
+ export declare const Pump3DComponent: ComponentConfig;
@@ -1,6 +1,6 @@
1
1
  import { ComponentConfig } from '../types';
2
2
 
3
3
  /**
4
- * 灯泡组件配置
4
+ * 灯泡组件配置(使用3D仿真效果)
5
5
  */
6
6
  export declare const LightComponent: ComponentConfig;
@@ -1,6 +1,6 @@
1
1
  import { ComponentConfig } from '../types';
2
2
 
3
3
  /**
4
- * 开关组件配置
4
+ * 3D开关组件配置
5
5
  */
6
6
  export declare const SwitchComponent: ComponentConfig;