hoeditor-web 3.1.89 → 3.1.90
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 +16 -6
- package/lib/hoeditor.umd.min.js +1 -1
- package/package.json +1 -1
package/lib/hoeditor.umd.js
CHANGED
|
@@ -207322,7 +207322,7 @@ var TextNode = __webpack_require__(27198);
|
|
|
207322
207322
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
207323
207323
|
var ParagraphNode = __webpack_require__(67945);
|
|
207324
207324
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
207325
|
-
/* harmony default export */ var version = ('3.1.
|
|
207325
|
+
/* harmony default export */ var version = ('3.1.90');
|
|
207326
207326
|
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
|
|
207327
207327
|
var PoperTipText = __webpack_require__(50987);
|
|
207328
207328
|
;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
|
|
@@ -221988,7 +221988,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
221988
221988
|
}
|
|
221989
221989
|
}, {
|
|
221990
221990
|
key: "getSignNodeList",
|
|
221991
|
-
value: function getSignNodeList(nodeDataId) {
|
|
221991
|
+
value: function getSignNodeList(nodeDataId, bce01) {
|
|
221992
221992
|
var _this9 = this;
|
|
221993
221993
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
221994
221994
|
var signList = [];
|
|
@@ -222013,6 +222013,9 @@ var VueController = /*#__PURE__*/function () {
|
|
|
222013
222013
|
node: _node9
|
|
222014
222014
|
};
|
|
222015
222015
|
sign.previousText = _this9.getPreviousText(_node9);
|
|
222016
|
+
if (_node9.imgSrc || _node9.fingerPrintSrc) {
|
|
222017
|
+
sign.signed = true;
|
|
222018
|
+
}
|
|
222016
222019
|
if (sign.number == 0 || sign.number == 1) {
|
|
222017
222020
|
if (arr.length > 0) {
|
|
222018
222021
|
signList.push(arr);
|
|
@@ -222023,9 +222026,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
222023
222026
|
} else {
|
|
222024
222027
|
arr.push(sign);
|
|
222025
222028
|
}
|
|
222026
|
-
// }
|
|
222027
222029
|
}
|
|
222028
|
-
|
|
222029
222030
|
if (_node9 instanceof BaseCombineNode/* BaseCombineNode */.V) {
|
|
222030
222031
|
// 医生签名不存在的情况不在深层调用深层遍历
|
|
222031
222032
|
getAllNodes(_node9.childNodes);
|
|
@@ -222037,14 +222038,23 @@ var VueController = /*#__PURE__*/function () {
|
|
|
222037
222038
|
signList.push(arr);
|
|
222038
222039
|
if (nodeDataId) {
|
|
222039
222040
|
var signCount = 0;
|
|
222041
|
+
var isSigned = false;
|
|
222040
222042
|
signList.forEach(function (m) {
|
|
222041
222043
|
if (m.filter(function (v) {
|
|
222042
222044
|
return v.dataId == nodeDataId;
|
|
222043
222045
|
}).length == 1) {
|
|
222044
|
-
signCount = m.
|
|
222046
|
+
signCount = m.filter(function (v) {
|
|
222047
|
+
return v.signed;
|
|
222048
|
+
}).length;
|
|
222049
|
+
isSigned = m.filter(function (v) {
|
|
222050
|
+
return v.customProperty && v.customProperty.bce01 == bce01 && v.signed;
|
|
222051
|
+
}).length > 0;
|
|
222045
222052
|
}
|
|
222046
222053
|
});
|
|
222047
|
-
return
|
|
222054
|
+
return {
|
|
222055
|
+
signCount: signCount,
|
|
222056
|
+
isSigned: isSigned
|
|
222057
|
+
};
|
|
222048
222058
|
} else {
|
|
222049
222059
|
return signList;
|
|
222050
222060
|
}
|