hoeditor-web 3.3.3-beta.7 → 3.3.3-beta.8
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-DOX1a4Yn.mjs";
|
|
3
3
|
export {
|
|
4
4
|
i as HoDocs,
|
|
5
5
|
r as HoEditorProvide,
|
|
@@ -9405,29 +9405,31 @@ class DrawRadioAndCheckBox extends DrawCombineNode {
|
|
|
9405
9405
|
n.isTransToText ? "" : this._text,
|
|
9406
9406
|
p.getStyleKey(),
|
|
9407
9407
|
p.color
|
|
9408
|
-
)
|
|
9409
|
-
|
|
9410
|
-
|
|
9411
|
-
"
|
|
9412
|
-
|
|
9408
|
+
);
|
|
9409
|
+
let m = 0;
|
|
9410
|
+
p.size <= 12 ? m = 18 : p.size <= 16 ? m = 22 : p.size <= 22 ? m = 24 : m = 42, l === "CheckBox" ? this._dBox = new createjs$1.Text(
|
|
9411
|
+
"þ",
|
|
9412
|
+
m.toString() + "px wingdings",
|
|
9413
|
+
// "☐",
|
|
9414
|
+
// textStyle.getStyleKey(),
|
|
9413
9415
|
p.color
|
|
9414
9416
|
) : this._dBox = new createjs$1.Text(
|
|
9415
|
-
|
|
9416
|
-
|
|
9417
|
-
"○",
|
|
9418
|
-
|
|
9417
|
+
"¤",
|
|
9418
|
+
m.toString() + "px wingdings",
|
|
9419
|
+
// "○",
|
|
9420
|
+
// textStyle.getStyleKey(),
|
|
9419
9421
|
p.color
|
|
9420
9422
|
);
|
|
9421
|
-
let
|
|
9422
|
-
this.text !== "" && (
|
|
9423
|
-
const
|
|
9424
|
-
if (this.dBoxWidth =
|
|
9425
|
-
let
|
|
9423
|
+
let g = 0;
|
|
9424
|
+
this.text !== "" && (g = 6);
|
|
9425
|
+
const y = this._dText.getMeasuredWidth(), w = this._dBox.getMeasuredWidth();
|
|
9426
|
+
if (this.dBoxWidth = w, this.dWidth = y + w + g, n.isEditText) {
|
|
9427
|
+
let v = 40;
|
|
9426
9428
|
n.appendText.length > 0 && (this._dAppendText = new createjs$1.Text(
|
|
9427
9429
|
n.appendText,
|
|
9428
9430
|
p.getStyleKey(),
|
|
9429
9431
|
p.color
|
|
9430
|
-
),
|
|
9432
|
+
), v = this._dAppendText.getMeasuredWidth()), this._dUnderLine = new createjs$1.Shape(), this._dUnderLine.graphics.beginStroke(p.color).moveTo(this.dWidth - g, 1).lineTo(this.dWidth - g + v, 1), this.dWidth = this.dWidth - g + v;
|
|
9431
9433
|
}
|
|
9432
9434
|
this.dHeight = f, this._textStyle = p, this.drawRadioAndCheckBox();
|
|
9433
9435
|
}
|
|
@@ -15270,7 +15272,7 @@ class DrawSignNode extends DrawCombineNode {
|
|
|
15270
15272
|
}
|
|
15271
15273
|
}
|
|
15272
15274
|
}
|
|
15273
|
-
const version = "3.3.3-beta.
|
|
15275
|
+
const version = "3.3.3-beta.8";
|
|
15274
15276
|
var FingerPosition = /* @__PURE__ */ ((a) => (a[a.left = 0] = "left", a[a.center = 1] = "center", a[a.right = 2] = "right", a))(FingerPosition || {});
|
|
15275
15277
|
class SignNode extends BaseNode {
|
|
15276
15278
|
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) {
|
|
@@ -65259,7 +65261,7 @@ WebPDecoder.prototype.getData = function() {
|
|
|
65259
65261
|
(function(a) {
|
|
65260
65262
|
function t() {
|
|
65261
65263
|
return function() {
|
|
65262
|
-
return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-
|
|
65264
|
+
return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-18XiuC36.mjs");
|
|
65263
65265
|
}().catch(function(r) {
|
|
65264
65266
|
return Promise.reject(new Error("Could not load canvg: " + r));
|
|
65265
65267
|
}).then(function(r) {
|