@zhongguo168a/yxeditor-common 0.0.76 → 0.0.78

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.d.ts CHANGED
@@ -692,6 +692,7 @@ declare class ListSource extends EventDispatcher {
692
692
  refresh(node: ListNode): void;
693
693
  walk(f: (node: ListNode) => boolean): boolean;
694
694
  walkPrev(node: ListNode, f: (node: ListNode) => boolean): boolean;
695
+ resetData(data: any[]): void;
695
696
  get data(): any[];
696
697
  private _data;
697
698
  }
package/dist/index.esm.js CHANGED
@@ -2736,6 +2736,9 @@ class ListSource extends EventDispatcher {
2736
2736
  }
2737
2737
  }
2738
2738
  }
2739
+ resetData(data) {
2740
+ this._data = data;
2741
+ }
2739
2742
  get data() {
2740
2743
  return this._data;
2741
2744
  }