hoeditor-web 3.1.94 → 3.1.96
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.css +1 -17966
- package/lib/hoeditor.umd.js +13 -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.96');
|
|
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
|
|
@@ -217092,6 +217088,13 @@ var VueController = /*#__PURE__*/function () {
|
|
|
217092
217088
|
} else {
|
|
217093
217089
|
var superiorSign = hoEditorFactory.structureConvert._superiorSign;
|
|
217094
217090
|
var signNode = superiorSign[0];
|
|
217091
|
+
if (hoEditorFactory.forbidEditBeforeSign && hoEditorFactory.drawTree.paintStatus == DrawTree/* PaintState */.Dh.psReview) {
|
|
217092
|
+
var _signNode$customPrope;
|
|
217093
|
+
if (((_signNode$customPrope = signNode.customProperty) === null || _signNode$customPrope === void 0 ? void 0 : _signNode$customPrope.bce01) != hoEditorFactory.userInfo.id) {
|
|
217094
|
+
this.hiddenMask(true);
|
|
217095
|
+
return;
|
|
217096
|
+
}
|
|
217097
|
+
}
|
|
217095
217098
|
var curArea = hoEditorFactory.drawPageTree.getMainRootArea(signNode.drawNodes[0]);
|
|
217096
217099
|
var actualHeight = hoEditorFactory.drawPageTree.drawHeaders[0].displayHeight;
|
|
217097
217100
|
if (curArea && curArea instanceof DrawPageMainDoc/* DrawPageMainDoc */.$) {
|
|
@@ -217257,7 +217260,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
217257
217260
|
var iteratesNodes = function iteratesNodes(nodes) {
|
|
217258
217261
|
for (var i = 0; i < nodes.length; i++) {
|
|
217259
217262
|
var anode = nodes[i];
|
|
217260
|
-
if (anode instanceof SignNode/* SignNode */.N && anode.imgSrc === "" && anode.attribute
|
|
217263
|
+
if (anode instanceof SignNode/* SignNode */.N && anode.imgSrc === "" && (hoEditorFactory.lockContent && anode.attribute == 1 || !hoEditorFactory.lockContent)) {
|
|
217261
217264
|
var path2 = anode.getNodePath();
|
|
217262
217265
|
var result = NodePosition/* NodePosition */.F.treePathCompare(path1, path2);
|
|
217263
217266
|
if (result > 0) {
|