@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.js
CHANGED
@@ -2610,8 +2610,13 @@ class DataElementBarcodeProps {
|
|
2610
2610
|
};
|
2611
2611
|
}
|
2612
2612
|
}
|
2613
|
-
class BodyPartProps {
|
2613
|
+
class BodyPartProps extends INotifyPropertyChanged {
|
2614
2614
|
partId;
|
2615
|
+
getSerializeProps(viewOptions) {
|
2616
|
+
return {
|
2617
|
+
partId: this.partId
|
2618
|
+
};
|
2619
|
+
}
|
2615
2620
|
}
|
2616
2621
|
|
2617
2622
|
class CommsContainerElement extends BlockContainerElement {
|
@@ -27580,6 +27585,11 @@ class DocEditor {
|
|
27580
27585
|
this.selectionState.destroy();
|
27581
27586
|
this.destroyDOM();
|
27582
27587
|
this.flushTask = null;
|
27588
|
+
Object.keys(this).forEach(key => {
|
27589
|
+
if (this[key] instanceof Subject$1) {
|
27590
|
+
this[key].unsubscribe();
|
27591
|
+
}
|
27592
|
+
});
|
27583
27593
|
}
|
27584
27594
|
/**
|
27585
27595
|
* 获取选区文本属性
|
@@ -28352,7 +28362,7 @@ class DocEditor {
|
|
28352
28362
|
rule.setRuleOptions({ width: this.viewOptions.docPageSettings.width, pagePL, pagePR, docLeft });
|
28353
28363
|
}
|
28354
28364
|
version() {
|
28355
|
-
return "2.0.
|
28365
|
+
return "2.0.52";
|
28356
28366
|
}
|
28357
28367
|
}
|
28358
28368
|
|