leafer-ui 2.3.0 → 2.3.1

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
@@ -6,9 +6,11 @@
6
6
 
7
7
  轻松实现图形交互与编辑,AI 时代的无限画布引擎
8
8
 
9
- 官网: [leaferjs.com](https://www.leaferjs.com)
9
+ 开源官网: [leaferjs.com](https://www.leaferjs.com)
10
10
 
11
- 森林: [leafer.pro](https://www.leafer.pro)
11
+ 开源森林: [leafer.pro](https://www.leafer.pro)
12
+
13
+ PxGrow: [pxgrow.com](https://www.pxgrow.com)
12
14
 
13
15
  **👉 在浏览器里 “跑得动 100 万个图形” 的 Canvas 引擎**
14
16
  **👉 可以做 “Figma 级编辑器” 的 Canvas 内核**
@@ -120,7 +122,11 @@ leafer.add(rect)
120
122
  - **[PxGrow](https://www.pxgrow.com/) 提供可选商业插件:** 专注于解决**工业级应用**中的复杂业务难题。包括专业编辑器套件、复杂图形算法与性能优化能力,帮助企业节省数月甚至数年的研发投入。
121
123
  - **良性循环与长期主义:** 开发者因开源受益,企业因商业能力提效,而商业支持又持续推动 LeaferJS 的发展与创新,形成开放、透明、可持续的发展循环。
122
124
 
123
- ### LeaferJS 仓库组成一览表
125
+ ### 企业为什么选择 LeaferJS × PxGrow
126
+
127
+ [在线 PPT · 适合团队演示与技术方案评估](https://www.pxgrow.com/presentation)
128
+
129
+ ## LeaferJS 仓库组成一览表
124
130
 
125
131
  | 仓库名称 | 功能描述 | 开源地址 |
126
132
  | :------------ | :--------------------------- | :---------------------------------------------- |
package/dist/web.js CHANGED
@@ -6153,6 +6153,7 @@ var LeaferUI = function(exports) {
6153
6153
  this.__layout.update();
6154
6154
  }
6155
6155
  forceUpdate(typeOrAttrName) {
6156
+ if (this.__hasComplex) LeafHelper.updateComplex(this);
6156
6157
  let quick;
6157
6158
  if (!typeOrAttrName || typeOrAttrName === "bounds") doBoundsType(this), quick = true; else if (typeOrAttrName === "surface") doSurfaceType(this),
6158
6159
  quick = true; else if (typeOrAttrName === "stroke") doStrokeType(this), quick = true;
@@ -6652,7 +6653,7 @@ var LeaferUI = function(exports) {
6652
6653
  this.levelMap = null;
6653
6654
  }
6654
6655
  }
6655
- const version = "2.3.0";
6656
+ const version = "2.3.1";
6656
6657
  if (typeof globalThis !== "undefined") {
6657
6658
  const globalLeafer = globalThis.Leafer || (globalThis.Leafer = {});
6658
6659
  globalLeafer.version = version;