iflow-engine 1.3.3 → 1.3.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/dist/components/button-group/index.d.ts +6 -0
- package/dist/components/button-group/toolbar/buttons/camera-switch/index.d.ts +3 -0
- package/dist/components/engine/index.d.ts +10 -0
- package/dist/iflow-engine.es.js +177 -105
- package/dist/iflow-engine.es.js.map +1 -1
- package/dist/iflow-engine.umd.js +25 -25
- package/dist/iflow-engine.umd.js.map +1 -1
- package/dist/locales/types.d.ts +1 -0
- package/dist/managers/toolbar-manager.d.ts +6 -0
- package/package.json +3 -3
package/dist/locales/types.d.ts
CHANGED
|
@@ -53,6 +53,12 @@ export declare class ToolbarManager extends BaseManager {
|
|
|
53
53
|
* @param active 是否激活
|
|
54
54
|
*/
|
|
55
55
|
setBtnActive(id: string, active?: boolean): void;
|
|
56
|
+
/**
|
|
57
|
+
* 更新按钮图标
|
|
58
|
+
* @param id 按钮 ID
|
|
59
|
+
* @param icon 新的 SVG 图标字符串
|
|
60
|
+
*/
|
|
61
|
+
updateButtonIcon(id: string, icon: string): void;
|
|
56
62
|
/**
|
|
57
63
|
* 设置工具栏可见性
|
|
58
64
|
* @param visible 是否可见
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iflow-engine",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.4",
|
|
4
4
|
"description": "iFlow Engine SDK for Vue2, Vue3, React and HTML",
|
|
5
5
|
"main": "./dist/iflow-engine.umd.js",
|
|
6
6
|
"module": "./dist/iflow-engine.es.js",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"vite-plugin-dts": "^4.5.4"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"iflow-engine-base": "^2.
|
|
62
|
+
"iflow-engine-base": "^2.1.1",
|
|
63
63
|
"three": "^0.182.0"
|
|
64
64
|
}
|
|
65
|
-
}
|
|
65
|
+
}
|