@logicflow/core 1.2.0-alpha.1 → 1.2.0-alpha.2

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.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@logicflow/core",
3
- "version": "1.2.0-alpha.1",
3
+ "version": "1.2.0-alpha.2",
4
4
  "description": "LogicFlow core, to quickly build flowchart editor",
5
5
  "main": "dist/logic-flow.js",
6
6
  "unpkg": "dist/logic-flow.js",
@@ -514,6 +514,11 @@ export default class LogicFlow {
514
514
  * 用于fakerNode移除对齐线
515
515
  */
516
516
  setView(type: string, component: any): void;
517
+ /**
518
+ * 内部保留方法
519
+ * 用于支持国际化
520
+ */
521
+ static t(text: string): string;
517
522
  renderRawData(graphRawData: any): void;
518
523
  /**
519
524
  * 渲染图