@nywqs/scada-engine 1.1.13 → 1.1.15

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
@@ -169,7 +169,6 @@ const handleLoadData = (jsonData: any) => {
169
169
  | `workflow()` | - | `void` | 打开流程编排弹窗 |
170
170
  | `zoomIn()` | - | `void` | 放大画布 |
171
171
  | `zoomOut()` | - | `void` | 缩小画布 |
172
- | `fitView()` | - | `void` | 适应画布视图 |
173
172
  | `clearAll()` | - | `void` | 清空画布所有元素 |
174
173
  | `getGraph()` | - | `Graph \| null` | 获取 X6 Graph 实例 |
175
174
  | `getCanvasData()` | - | `object \| null` | 获取画布完整数据 |
package/dist/index.d.ts CHANGED
@@ -58,8 +58,6 @@ export interface ScadaCanvasExposed {
58
58
  zoomIn: () => void;
59
59
  /** 缩小画布 */
60
60
  zoomOut: () => void;
61
- /** 适应画布视图 */
62
- fitView: () => void;
63
61
  /** 清空画布所有元素 */
64
62
  clearAll: () => void;
65
63
  /** 添加节点 */
@@ -6,7 +6,7 @@ import { Graph as it, Shape as Uo } from "@antv/x6";
6
6
  import { Selection as Z0 } from "@antv/x6-plugin-selection";
7
7
  import { Snapline as Mo } from "@antv/x6-plugin-snapline";
8
8
  /*!
9
- * @nywqs/scada-engine v1.1.13
9
+ * @nywqs/scada-engine v1.1.15
10
10
  * Copyright (c) 2025 leoncheng
11
11
  * Licensed under proprietary license - see LICENSE file
12
12
  * Contact: nywqs@outlook.com
@@ -1,5 +1,5 @@
1
1
  (function(U,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("@antv/x6"),require("@antv/x6-plugin-selection"),require("@antv/x6-plugin-snapline")):typeof define=="function"&&define.amd?define(["exports","vue","@antv/x6","@antv/x6-plugin-selection","@antv/x6-plugin-snapline"],e):(U=typeof globalThis<"u"?globalThis:U||self,e(U.ScadaEngine={},U.Vue,U.X6,U.X6PluginSelection,U.X6PluginSnapline))})(this,function(U,e,ge,Gt,nn){"use strict";var vp=Object.defineProperty;var bp=(U,e,ge)=>e in U?vp(U,e,{enumerable:!0,configurable:!0,writable:!0,value:ge}):U[e]=ge;var Ue=(U,e,ge)=>bp(U,typeof e!="symbol"?e+"":e,ge);/*!
2
- * @nywqs/scada-engine v1.1.13
2
+ * @nywqs/scada-engine v1.1.15
3
3
  * Copyright (c) 2025 leoncheng
4
4
  * Licensed under proprietary license - see LICENSE file
5
5
  * Contact: nywqs@outlook.com
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nywqs/scada-engine",
3
- "version": "1.1.13",
3
+ "version": "1.1.15",
4
4
  "description": "自研 SCADA 组态引擎 - 基于 AntV X6",
5
5
  "type": "module",
6
6
  "main": "./dist/scada-engine.umd.js",
@@ -72,6 +72,6 @@
72
72
  "license": "SEE LICENSE IN LICENSE",
73
73
  "repository": {
74
74
  "type": "git",
75
- "url": "https://github.com/yourusername/scada-engine.git"
75
+ "url": "https://github.com/leoncheng2030/scada-engine.git"
76
76
  }
77
77
  }