@hailin-zheng/editor-core 2.0.51 → 2.0.52
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/index-cjs.js +12 -2
- package/index-cjs.js.map +1 -1
- package/index.js +12 -2
- package/index.js.map +1 -1
- package/med_editor/framework/element-props.d.ts +2 -1
- package/package.json +1 -1
package/index-cjs.js
CHANGED
@@ -2640,8 +2640,13 @@ class DataElementBarcodeProps {
|
|
2640
2640
|
};
|
2641
2641
|
}
|
2642
2642
|
}
|
2643
|
-
class BodyPartProps {
|
2643
|
+
class BodyPartProps extends INotifyPropertyChanged {
|
2644
2644
|
partId;
|
2645
|
+
getSerializeProps(viewOptions) {
|
2646
|
+
return {
|
2647
|
+
partId: this.partId
|
2648
|
+
};
|
2649
|
+
}
|
2645
2650
|
}
|
2646
2651
|
|
2647
2652
|
class CommsContainerElement extends BlockContainerElement {
|
@@ -27610,6 +27615,11 @@ class DocEditor {
|
|
27610
27615
|
this.selectionState.destroy();
|
27611
27616
|
this.destroyDOM();
|
27612
27617
|
this.flushTask = null;
|
27618
|
+
Object.keys(this).forEach(key => {
|
27619
|
+
if (this[key] instanceof Subject$1) {
|
27620
|
+
this[key].unsubscribe();
|
27621
|
+
}
|
27622
|
+
});
|
27613
27623
|
}
|
27614
27624
|
/**
|
27615
27625
|
* 获取选区文本属性
|
@@ -28382,7 +28392,7 @@ class DocEditor {
|
|
28382
28392
|
rule.setRuleOptions({ width: this.viewOptions.docPageSettings.width, pagePL, pagePR, docLeft });
|
28383
28393
|
}
|
28384
28394
|
version() {
|
28385
|
-
return "2.0.
|
28395
|
+
return "2.0.52";
|
28386
28396
|
}
|
28387
28397
|
}
|
28388
28398
|
|