hoeditor-web 3.1.94 → 3.1.95
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/lib/hoeditor.umd.js +6 -10
- package/lib/hoeditor.umd.min.js +2 -2
- package/package.json +1 -1
package/lib/hoeditor.umd.js
CHANGED
|
@@ -50408,12 +50408,6 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
50408
50408
|
if (convertNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_32__/* .MarkNode */ .j) {
|
|
50409
50409
|
hoEditorFactory.structureConvert._markNodes.push(convertNode);
|
|
50410
50410
|
}
|
|
50411
|
-
// if (convertNode instanceof SignNode && ((convertNode.imgSrc != ""
|
|
50412
|
-
// && ((hoEditorFactory.superiorSigns.length > 0
|
|
50413
|
-
// && hoEditorFactory.superiorSigns.includes((convertNode.customProperty as any).bce01)) || hoEditorFactory.forbidEditBeforeSign))
|
|
50414
|
-
// || hoEditorFactory.lockContent)) {
|
|
50415
|
-
// hoEditorFactory.structureConvert._superiorSign[0] = convertNode;
|
|
50416
|
-
// }
|
|
50417
50411
|
}
|
|
50418
50412
|
} else {
|
|
50419
50413
|
cellNode.childNodes[0].paraNo = Number(item.styleIndex);
|
|
@@ -59299,8 +59293,10 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
59299
59293
|
json.fingerPrintSrc = '';
|
|
59300
59294
|
}
|
|
59301
59295
|
var signNode = new SignNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_20__/* .NodeType */ .Jq.ntSign, number, type, json.name, json.signType ? Number(json.signType) : 0, json.signFormat ? json.signFormat : "签名医师", isClearSign ? "" : json.signor, isClearSign ? "" : json.signTime, json.signTimeFormat ? json.signTimeFormat : "yyyy-MM-dd HH:mm", isClearSign ? "" : json.imgSrc, imgWidth, imgHeight, isClearSign ? undefined : json.customProperty, isTemplate, json.styleIndex ? Number(json.styleIndex) : undefined, json.connectMode, isFront, allowEditSignTime, isClearSign ? "" : json.fingerPrintSrc, isClearSign ? 0 : json.fingerPosition, attribute, json.connectChar, json.otherProperties, json.dataId, json.associatedElement);
|
|
59302
|
-
if (signNode.
|
|
59303
|
-
hoEditorFactory.
|
|
59296
|
+
if (signNode.attribute != 1) {
|
|
59297
|
+
if (signNode.imgSrc != "" && (hoEditorFactory.superiorSigns.length > 0 && hoEditorFactory.superiorSigns.includes(signNode.customProperty.bce01) || hoEditorFactory.forbidEditBeforeSign) || hoEditorFactory.lockContent) {
|
|
59298
|
+
hoEditorFactory.structureConvert._superiorSign[0] = signNode;
|
|
59299
|
+
}
|
|
59304
59300
|
}
|
|
59305
59301
|
// if (json.id != "") {
|
|
59306
59302
|
// signNode.id = json.id;
|
|
@@ -207358,7 +207354,7 @@ var TextNode = __webpack_require__(27198);
|
|
|
207358
207354
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
207359
207355
|
var ParagraphNode = __webpack_require__(67945);
|
|
207360
207356
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
207361
|
-
/* harmony default export */ var version = ('3.1.
|
|
207357
|
+
/* harmony default export */ var version = ('3.1.95');
|
|
207362
207358
|
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
|
|
207363
207359
|
var PoperTipText = __webpack_require__(50987);
|
|
207364
207360
|
;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
|
|
@@ -217257,7 +217253,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
217257
217253
|
var iteratesNodes = function iteratesNodes(nodes) {
|
|
217258
217254
|
for (var i = 0; i < nodes.length; i++) {
|
|
217259
217255
|
var anode = nodes[i];
|
|
217260
|
-
if (anode instanceof SignNode/* SignNode */.N && anode.imgSrc === "" && anode.attribute
|
|
217256
|
+
if (anode instanceof SignNode/* SignNode */.N && anode.imgSrc === "" && (hoEditorFactory.lockContent && anode.attribute == 1 || !hoEditorFactory.lockContent)) {
|
|
217261
217257
|
var path2 = anode.getNodePath();
|
|
217262
217258
|
var result = NodePosition/* NodePosition */.F.treePathCompare(path1, path2);
|
|
217263
217259
|
if (result > 0) {
|