@windoc/core 0.3.18 → 0.3.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.
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  // src/version.ts
2
- var version = "0.3.18";
2
+ var version = "0.3.19";
3
3
 
4
4
  // src/dataset/enum/Common.ts
5
5
  var MaxHeightRatio = /* @__PURE__ */ ((MaxHeightRatio2) => {
@@ -24788,6 +24788,8 @@ var CommandAdapt = class {
24788
24788
  Reflect.set(this.options, key, newOption[key]);
24789
24789
  });
24790
24790
  this.forceUpdate();
24791
+ const { scale, paperDirection, width, height } = this.options;
24792
+ this.draw.getListener().optionsChange?.({ scale, paperDirection, width, height });
24791
24793
  }
24792
24794
  getControlList() {
24793
24795
  return this.draw.getControl().getList();
@@ -25163,6 +25165,7 @@ var Listener = class {
25163
25165
  this.controlContentChange = null;
25164
25166
  this.pageModeChange = null;
25165
25167
  this.zoneChange = null;
25168
+ this.optionsChange = null;
25166
25169
  }
25167
25170
  };
25168
25171