hoeditor-web 3.3.4-beta.3 → 3.3.5-beta.0
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.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "vue";
|
|
2
|
-
import { H as i, d as r, b as e, a as l, e as t, T as H, f as d, i as f } from "./index-
|
|
2
|
+
import { H as i, d as r, b as e, a as l, e as t, T as H, f as d, i as f } from "./index-BFSa6MR8.mjs";
|
|
3
3
|
export {
|
|
4
4
|
i as HoDocs,
|
|
5
5
|
r as HoEditorProvide,
|
|
@@ -15080,7 +15080,7 @@ class DrawSignNode extends DrawCombineNode {
|
|
|
15080
15080
|
const f = () => {
|
|
15081
15081
|
const p = d.naturalWidth !== 0 ? d.naturalWidth : d.width, m = d.naturalHeight !== 0 ? d.naturalHeight : d.height;
|
|
15082
15082
|
let g = n.signHeight / m < 0.4 ? 0.4 : n.signHeight / m > 0.7 ? 1 : n.signHeight / m;
|
|
15083
|
-
if (o.fingerPosition == FingerPosition.center && n.signHeight / m < 0.2 && (g = n.signHeight * 1.5 / m), n.patientSignHeight != 0 && (g = n.patientSignHeight / m), this.
|
|
15083
|
+
if (o.fingerPosition == FingerPosition.center && n.signHeight / m < 0.2 && (g = n.signHeight * 1.5 / m), n.patientSignHeight != 0 && (g = n.patientSignHeight / m), this._dWidth = p * g, o.fingerPrintSrc !== "")
|
|
15084
15084
|
this._imageManager.addImageQueue(this, () => new Promise((y) => {
|
|
15085
15085
|
const w = new Image();
|
|
15086
15086
|
let v;
|
|
@@ -15210,7 +15210,7 @@ class DrawSignNode extends DrawCombineNode {
|
|
|
15210
15210
|
}
|
|
15211
15211
|
}
|
|
15212
15212
|
}
|
|
15213
|
-
const version = "3.3.
|
|
15213
|
+
const version = "3.3.5-beta.0";
|
|
15214
15214
|
var FingerPosition = /* @__PURE__ */ ((a) => (a[a.left = 0] = "left", a[a.center = 1] = "center", a[a.right = 2] = "right", a))(FingerPosition || {});
|
|
15215
15215
|
class SignNode extends BaseNode {
|
|
15216
15216
|
constructor(hoEditorFactoryID, rootNodes, pNode, nodeType, number, type, name, signType, signFormat, signor, signTime, signTimeFormat, imgSrc, imgWidth, imgHeight, customProperty, isTemplate, styleIndex, connectMode, isFront, allowEditSignTime, fingerPrintSrc, fingerPosition, attribute, connectChar, otherProperties, dataId, associatedElement, isTemp, innerIdentifier) {
|
|
@@ -15429,10 +15429,10 @@ class SignNode extends BaseNode {
|
|
|
15429
15429
|
this._associatedElement !== t && (this._associatedElement = t);
|
|
15430
15430
|
}
|
|
15431
15431
|
/**
|
|
15432
|
-
|
|
15433
|
-
|
|
15434
|
-
|
|
15435
|
-
|
|
15432
|
+
*
|
|
15433
|
+
* @param drawTree 绘制树
|
|
15434
|
+
* @param dline 绘制行
|
|
15435
|
+
*/
|
|
15436
15436
|
//根据可放置的宽度,将普通组件转换成绘制组件
|
|
15437
15437
|
node2DrawNodeRange(t, r) {
|
|
15438
15438
|
this._drawNodes.length = 0;
|
|
@@ -15460,12 +15460,12 @@ class SignNode extends BaseNode {
|
|
|
15460
15460
|
this._drawNodes.push(l);
|
|
15461
15461
|
}
|
|
15462
15462
|
/**
|
|
15463
|
-
|
|
15464
|
-
|
|
15465
|
-
|
|
15466
|
-
|
|
15467
|
-
|
|
15468
|
-
|
|
15463
|
+
* @author xyl
|
|
15464
|
+
* @param dRoots 绘制根数组
|
|
15465
|
+
* @param paragraphNode 对应的段落
|
|
15466
|
+
* @param start 当前起始位置,绘制时不应含入
|
|
15467
|
+
* @param endIndex 结束位置 ,包含入
|
|
15468
|
+
*/
|
|
15469
15469
|
//根据可放置的宽度,将普通组件转换成绘制组件
|
|
15470
15470
|
placeDNode2DrawLine(t, r, o, n, s) {
|
|
15471
15471
|
if (n >= 1)
|
|
@@ -65135,7 +65135,7 @@ WebPDecoder.prototype.getData = function() {
|
|
|
65135
65135
|
(function(a) {
|
|
65136
65136
|
function t() {
|
|
65137
65137
|
return function() {
|
|
65138
|
-
return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-
|
|
65138
|
+
return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-DNV87B__.mjs");
|
|
65139
65139
|
}().catch(function(r) {
|
|
65140
65140
|
return Promise.reject(new Error("Could not load canvg: " + r));
|
|
65141
65141
|
}).then(function(r) {
|
|
@@ -75163,7 +75163,8 @@ const VerifyTip$1 = __component__$13.exports, _sfc_main$12 = {
|
|
|
75163
75163
|
"value",
|
|
75164
75164
|
"hideDuringPrint",
|
|
75165
75165
|
"notReplaceElement",
|
|
75166
|
-
"insCheckSyncUpdateList"
|
|
75166
|
+
"insCheckSyncUpdateList",
|
|
75167
|
+
"isTipText"
|
|
75167
75168
|
]
|
|
75168
75169
|
};
|
|
75169
75170
|
},
|
|
@@ -75228,9 +75229,11 @@ const VerifyTip$1 = __component__$13.exports, _sfc_main$12 = {
|
|
|
75228
75229
|
methods: {
|
|
75229
75230
|
setWatchProps() {
|
|
75230
75231
|
this.watchProps.forEach((a) => {
|
|
75231
|
-
this.unwatchProps.push(
|
|
75232
|
-
a
|
|
75233
|
-
|
|
75232
|
+
this.unwatchProps.push(
|
|
75233
|
+
this.$watch(`textParam.${a}`, function(t, r) {
|
|
75234
|
+
a === "readTypeBool" ? this.modifyProps.readType = t ? "1" : "0" : this.modifyProps[a] = t;
|
|
75235
|
+
})
|
|
75236
|
+
);
|
|
75234
75237
|
});
|
|
75235
75238
|
},
|
|
75236
75239
|
clearWatchProps() {
|
|
@@ -82932,6 +82935,16 @@ const HoPrint = __component__$z.exports, _sfc_main$y = {
|
|
|
82932
82935
|
"⑧",
|
|
82933
82936
|
"⑨",
|
|
82934
82937
|
"⑩",
|
|
82938
|
+
"⑪",
|
|
82939
|
+
"⑫",
|
|
82940
|
+
"⑬",
|
|
82941
|
+
"⑭",
|
|
82942
|
+
"⑮",
|
|
82943
|
+
"⑯",
|
|
82944
|
+
"⑰",
|
|
82945
|
+
"⑱",
|
|
82946
|
+
"⑲",
|
|
82947
|
+
"⑳",
|
|
82935
82948
|
"㈠",
|
|
82936
82949
|
"㈡",
|
|
82937
82950
|
"㈢",
|