hoeditor-web 3.3.5-beta.6 → 3.3.6-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-BUU_YDdy.mjs";
|
|
3
3
|
export {
|
|
4
4
|
i as HoDocs,
|
|
5
5
|
r as HoEditorProvide,
|
|
@@ -5988,7 +5988,33 @@ const appendPrevTextResult = (a, t, r) => {
|
|
|
5988
5988
|
}, o = !1;
|
|
5989
5989
|
}
|
|
5990
5990
|
return r;
|
|
5991
|
-
}
|
|
5991
|
+
};
|
|
5992
|
+
function safeJsonParse(a) {
|
|
5993
|
+
try {
|
|
5994
|
+
return JSON.parse(a);
|
|
5995
|
+
} catch {
|
|
5996
|
+
return JSON.parse(repairJson(a));
|
|
5997
|
+
}
|
|
5998
|
+
}
|
|
5999
|
+
function repairJson(a) {
|
|
6000
|
+
let t = "", r = !1, o = !1;
|
|
6001
|
+
for (let n = 0; n < a.length; n++) {
|
|
6002
|
+
const s = a[n];
|
|
6003
|
+
if (!r)
|
|
6004
|
+
t += s, s === '"' && (r = !0, o = !1);
|
|
6005
|
+
else if (o)
|
|
6006
|
+
t += s, o = !1;
|
|
6007
|
+
else if (s === "\\")
|
|
6008
|
+
t += "\\", o = !0;
|
|
6009
|
+
else if (s === '"') {
|
|
6010
|
+
const l = a.slice(n + 1).trimStart();
|
|
6011
|
+
l.length > 0 && (l[0] === ":" || l[0] === "," || l[0] === "}" || l[0] === "]") ? (t += '"', r = !1) : t += '\\"';
|
|
6012
|
+
} else
|
|
6013
|
+
t += s;
|
|
6014
|
+
}
|
|
6015
|
+
return t;
|
|
6016
|
+
}
|
|
6017
|
+
const deepCloneWithWhiteList = (a, t) => {
|
|
5992
6018
|
if (a === null || typeof a != "object")
|
|
5993
6019
|
return a;
|
|
5994
6020
|
if (Array.isArray(a))
|
|
@@ -6740,21 +6766,12 @@ const zo = class zo extends createjs$1.Text {
|
|
|
6740
6766
|
let p = 0;
|
|
6741
6767
|
for (let m = 0, g = f.length; m < g; m++) {
|
|
6742
6768
|
const y = f[m], w = this.getCharWidth(r, y);
|
|
6743
|
-
isMissingGlyph(y) ? drawCircledNumber(
|
|
6744
|
-
r,
|
|
6745
|
-
p,
|
|
6746
|
-
0,
|
|
6747
|
-
w,
|
|
6748
|
-
getMissingGlyphNumber(y),
|
|
6749
|
-
this.font || "12pt SimSun",
|
|
6750
|
-
l,
|
|
6751
|
-
this.outline
|
|
6752
|
-
) : this.outline ? r.strokeText(y, p, 0, w || this._maxWidth) : r.fillText(y, p, 0, w || this._maxWidth), p += w + this._letterSpacing;
|
|
6769
|
+
isMissingGlyph(y) ? drawCircledNumber(r, p, 0, w, getMissingGlyphNumber(y), this.font || "12pt SimSun", l, this.outline) : this.outline ? r.strokeText(y, p, 0, w || this._maxWidth) : r.fillText(y, p, 0, w || this._maxWidth), p += w + this._letterSpacing;
|
|
6753
6770
|
}
|
|
6754
6771
|
} else
|
|
6755
6772
|
this.outline ? r.strokeText(f, 0, 0, u || this._maxWidth) : (this.font.indexOf("bold") != -1 && (r.strokeStyle = r.fillStyle, r.strokeText(f, 0, 0, u || this._maxWidth)), r.fillText(f, 0, 0, u || this._maxWidth));
|
|
6756
6773
|
}
|
|
6757
|
-
return this._docWidth = u, this._dWidth = d > 0 ? d - this._letterSpacing : 0, o && (o.width = this._dWidth, o.height = this._node.dHeight), s || r.restore(), o;
|
|
6774
|
+
return this._docWidth = u, this._dWidth = d > 0 ? d - this._letterSpacing : 0, o && (o.width = this._dWidth, o.height = this._node.dHeight), s || r.restore(), r.hasOwnProperty("letterSpacing") && (r.letterSpacing = 0), o;
|
|
6758
6775
|
}
|
|
6759
6776
|
static getWorkingContext() {
|
|
6760
6777
|
if (!zo._workingContext) {
|
|
@@ -10159,7 +10176,7 @@ class RadioAndCheckBoxNode extends ControlNode {
|
|
|
10159
10176
|
const p = d._event;
|
|
10160
10177
|
p && p.alpha === 0 && (p.alpha = 0.01), o.addChild(d), o.drawItems.push(d);
|
|
10161
10178
|
}
|
|
10162
|
-
return o.fitLines(), c.docTree.radioAndCheckBoxsMap.set(this.dataId, this), o.paragraphNode.getLastDrawline();
|
|
10179
|
+
return o.fitLines(), o.updateLineStyle(), c.docTree.radioAndCheckBoxsMap.set(this.dataId, this), o.paragraphNode.getLastDrawline();
|
|
10163
10180
|
}
|
|
10164
10181
|
clear() {
|
|
10165
10182
|
var o, n, s;
|
|
@@ -10168,9 +10185,7 @@ class RadioAndCheckBoxNode extends ControlNode {
|
|
|
10168
10185
|
const r = (n = (o = t.drawTree.activePage) == null ? void 0 : o.drawSelectLevel) == null ? void 0 : n.shapesColor;
|
|
10169
10186
|
if (r) {
|
|
10170
10187
|
const l = r.get(this.id);
|
|
10171
|
-
r.delete(this.id), l && ((s = t.drawTree.activePage) == null || s.selectContainer.removeChild(
|
|
10172
|
-
l
|
|
10173
|
-
));
|
|
10188
|
+
r.delete(this.id), l && ((s = t.drawTree.activePage) == null || s.selectContainer.removeChild(l));
|
|
10174
10189
|
}
|
|
10175
10190
|
}
|
|
10176
10191
|
hasChildPath() {
|
|
@@ -10244,14 +10259,7 @@ class RadioAndCheckBoxNode extends ControlNode {
|
|
|
10244
10259
|
}
|
|
10245
10260
|
r.isAllowDelete = r.isAllowDelete ? r.isAllowDelete : !1, r.isSelected = r.isSelected ? r.isSelected.text != null ? r.isSelected.text : r.isSelected : !1, r.boxAlign = r.boxAlign === void 0 ? !0 : r.boxAlign, r.isEditText = r.isEditText ? r.isEditText : !1, r.isTransToText = r.isTransToText ? r.isTransToText : !1, r.groupHasOptions = r.groupHasOptions ? r.groupHasOptions : !1, r.numericValue = r.numericValue === void 0 ? "0" : Number(r.numericValue);
|
|
10246
10261
|
const l = Number(r.styleIndex);
|
|
10247
|
-
return r.type = parseInt(ControlType[r.type]), r.readType = r.readType ? Number(r.readType) : -1, r.isMutualExclusion = r.isMutualExclusion ? r.isMutualExclusion : !1, r.text = r.text || "", n instanceof CellNode && r.groupName != "" && (r.groupName = r.groupName + "_" + n.table.tableProperty.id), new RadioAndCheckBoxNode(
|
|
10248
|
-
t,
|
|
10249
|
-
o,
|
|
10250
|
-
n || null,
|
|
10251
|
-
NodeType$1.ntControl,
|
|
10252
|
-
JSON.stringify(r),
|
|
10253
|
-
l
|
|
10254
|
-
);
|
|
10262
|
+
return r.type = parseInt(ControlType[r.type]), r.readType = r.readType ? Number(r.readType) : -1, r.isMutualExclusion = r.isMutualExclusion ? r.isMutualExclusion : !1, r.text = r.text || "", n instanceof CellNode && r.groupName != "" && (r.groupName = r.groupName + "_" + n.table.tableProperty.id), new RadioAndCheckBoxNode(t, o, n || null, NodeType$1.ntControl, JSON.stringify(r), l);
|
|
10255
10263
|
}
|
|
10256
10264
|
toString() {
|
|
10257
10265
|
return this.text;
|
|
@@ -10512,8 +10520,8 @@ let TableFormula$1 = class _TableFormula extends ControlNode {
|
|
|
10512
10520
|
y !== "" && (s = new Decimal(Number(s) || 0).add(new Decimal(Number(y) || 0)).toString());
|
|
10513
10521
|
else {
|
|
10514
10522
|
const v = m.getCellText();
|
|
10515
|
-
let C =
|
|
10516
|
-
C.length === void 0 && (C = Array(
|
|
10523
|
+
let C = safeJsonParse(w.listItems);
|
|
10524
|
+
C.length === void 0 && (C = Array(safeJsonParse(w.listItems)));
|
|
10517
10525
|
for (let _ = 0; _ < C.length; _++) {
|
|
10518
10526
|
const D = C[_];
|
|
10519
10527
|
if (D.text === v)
|
|
@@ -10825,7 +10833,7 @@ let TableFormula$1 = class _TableFormula extends ControlNode {
|
|
|
10825
10833
|
if (isNaN(v)) {
|
|
10826
10834
|
const C = m.cellProperty.downListProperty;
|
|
10827
10835
|
let _ = [];
|
|
10828
|
-
C && C.listItems && (_ = Array(
|
|
10836
|
+
C && C.listItems && (_ = Array(safeJsonParse(C.listItems)));
|
|
10829
10837
|
for (let D = 0; D < _.length; D++) {
|
|
10830
10838
|
const E = _[D];
|
|
10831
10839
|
if (E.text === w) {
|
|
@@ -15304,7 +15312,7 @@ class DrawSignNode extends DrawCombineNode {
|
|
|
15304
15312
|
}
|
|
15305
15313
|
}
|
|
15306
15314
|
}
|
|
15307
|
-
const version = "3.3.
|
|
15315
|
+
const version = "3.3.6-beta.0";
|
|
15308
15316
|
var FingerPosition = /* @__PURE__ */ ((a) => (a[a.left = 0] = "left", a[a.center = 1] = "center", a[a.right = 2] = "right", a))(FingerPosition || {});
|
|
15309
15317
|
class SignNode extends BaseNode {
|
|
15310
15318
|
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) {
|
|
@@ -20915,7 +20923,7 @@ class DrawTextNode extends DrawCombineNode {
|
|
|
20915
20923
|
const d = c.downListProperty;
|
|
20916
20924
|
if (o.isSameColorWithEmptyVlaue && d.listItems) {
|
|
20917
20925
|
let u = !1;
|
|
20918
|
-
const f =
|
|
20926
|
+
const f = safeJsonParse(d.listItems);
|
|
20919
20927
|
if (d.allowMultiSelected) {
|
|
20920
20928
|
let p = "";
|
|
20921
20929
|
for (let g = 0; g < f.length; g++) {
|
|
@@ -27593,7 +27601,7 @@ class PrintStatus {
|
|
|
27593
27601
|
let l = s.length - 1;
|
|
27594
27602
|
for (; ; ) {
|
|
27595
27603
|
const c = s[l];
|
|
27596
|
-
if (c instanceof DrawLine)
|
|
27604
|
+
if (c instanceof DrawLine || c instanceof DrawPageTable)
|
|
27597
27605
|
if (c.isEmpty())
|
|
27598
27606
|
l -= 1;
|
|
27599
27607
|
else
|
|
@@ -27605,7 +27613,7 @@ class PrintStatus {
|
|
|
27605
27613
|
const c = n.y;
|
|
27606
27614
|
this._printRecord.push([o.pageIndex, c]);
|
|
27607
27615
|
} else {
|
|
27608
|
-
const c =
|
|
27616
|
+
const c = s[l], d = c.y + c.dHeight + n.y;
|
|
27609
27617
|
this._printRecord.push([o.pageIndex, d]);
|
|
27610
27618
|
}
|
|
27611
27619
|
}
|
|
@@ -37397,7 +37405,7 @@ const PoperMark = __component__$1f.exports, getCellNode = (a) => {
|
|
|
37397
37405
|
this.poperNode.includes(s) && (n = s);
|
|
37398
37406
|
}), o = this.poperNode.split(n);
|
|
37399
37407
|
}
|
|
37400
|
-
this.poperList = a.downListProperty.listItems ? [...
|
|
37408
|
+
this.poperList = a.downListProperty.listItems ? [...safeJsonParse(a.downListProperty.listItems)] : [], (r = this.poperList) == null || r.forEach((n) => {
|
|
37401
37409
|
n.default = !1, o.filter((s) => n.text.split("<元素>")[0] == s).length === 1 && (n.default = !0);
|
|
37402
37410
|
}), this.currentList = [...this.poperList], this.poperList.length > 20 && (this.isCanSearch = !0), this.poperList.length * 36 + 72, this.isCanSearch;
|
|
37403
37411
|
}
|
|
@@ -38972,7 +38980,7 @@ const scaleXY = DrawConfig.instance().scale, defaultWidth = Math.floor(793 * sca
|
|
|
38972
38980
|
a.drawTree.paintStatus;
|
|
38973
38981
|
const t = a.vueController.getNodeByDataID("main", this.selectMarkStyle.dataid);
|
|
38974
38982
|
if (t) {
|
|
38975
|
-
let n = (r = t.downListProperty) != null && r.listItems ?
|
|
38983
|
+
let n = (r = t.downListProperty) != null && r.listItems ? safeJsonParse((o = t.downListProperty) == null ? void 0 : o.listItems) : [];
|
|
38976
38984
|
this.computedPoperPosition(t.childNodes[t.childNodes.length - 1], this.selectMarkStyle.pageIndex), this.poperSelectList = n.filter((s) => s.value || s.text), this.selectMarkStyle.open = !0, this.poperType = "selectPoper";
|
|
38977
38985
|
}
|
|
38978
38986
|
},
|
|
@@ -39000,12 +39008,12 @@ const scaleXY = DrawConfig.instance().scale, defaultWidth = Math.floor(793 * sca
|
|
|
39000
39008
|
let n = [];
|
|
39001
39009
|
if (t) {
|
|
39002
39010
|
const p = a.text.replace(/ /g, "");
|
|
39003
|
-
n = (l = t.downListProperty) != null && l.listItems ?
|
|
39011
|
+
n = (l = t.downListProperty) != null && l.listItems ? safeJsonParse((c = t.downListProperty) == null ? void 0 : c.listItems) : [];
|
|
39004
39012
|
const m = ((d = t.downListProperty) == null ? void 0 : d.allowMultiSelected) || !1, g = t.childNodes.filter((y) => y.nodeType != 5 && y.nodeType != 2);
|
|
39005
39013
|
if (n.filter((y) => y.text.includes("<元素>")).length > 0 && a.nodeType != 2 && g.length > 0 && p != t.name && p !== "" && !m)
|
|
39006
39014
|
return;
|
|
39007
39015
|
} else
|
|
39008
|
-
n = (u = a.downListProperty) != null && u.listItems ?
|
|
39016
|
+
n = (u = a.downListProperty) != null && u.listItems ? safeJsonParse((f = a.downListProperty) == null ? void 0 : f.listItems) : [];
|
|
39009
39017
|
const s = (p) => {
|
|
39010
39018
|
this.computedPoperPosition(a, o), Array.isArray(p) && p.length > 0 ? this.poperSelectList = Object.freeze(p) : this.poperSelectList = n.filter((m) => m.value || m.text), this.poperType = "selectPoper";
|
|
39011
39019
|
};
|
|
@@ -39055,8 +39063,8 @@ const scaleXY = DrawConfig.instance().scale, defaultWidth = Math.floor(793 * sca
|
|
|
39055
39063
|
const n = t.table.colInfos[t.row.indexOf(t)].colProperty, s = t.cellProperty;
|
|
39056
39064
|
let l = !0;
|
|
39057
39065
|
if (n !== null && n.editorProperty === 0 && s !== null && s.editorProperty !== 0) {
|
|
39058
|
-
if (s.editorProperty === 1 &&
|
|
39059
|
-
const u =
|
|
39066
|
+
if (s.editorProperty === 1 && safeJsonParse((c = s.downListProperty) == null ? void 0 : c.listItems).length === 1) {
|
|
39067
|
+
const u = safeJsonParse((d = s.downListProperty) == null ? void 0 : d.listItems);
|
|
39060
39068
|
let f = "";
|
|
39061
39069
|
u.map((p, m) => {
|
|
39062
39070
|
let g = p.num ? p.num : p.text ? p.text : "";
|
|
@@ -49621,7 +49629,7 @@ class VueController {
|
|
|
49621
49629
|
if (f instanceof TextInputFieldNode && f.inputFieldType == 1 && f.insCheckSyncUpdateList) {
|
|
49622
49630
|
const p = f.downListProperty;
|
|
49623
49631
|
if (p.allowMultiSelected) {
|
|
49624
|
-
let m = p.listItems ?
|
|
49632
|
+
let m = p.listItems ? safeJsonParse(p.listItems) : [];
|
|
49625
49633
|
if (s) {
|
|
49626
49634
|
f.value = "", f.text = "", f.keyValue = "", m = [];
|
|
49627
49635
|
const g = f.StartMarkNode.getNodePath(), y = l.docTree.getNodeLastPath(f.childNodes[f.childNodes.length - 2]), w = new DomRange(this.hoEditorFactoryID, g, y), v = f.canModifyContent;
|
|
@@ -65272,7 +65280,7 @@ WebPDecoder.prototype.getData = function() {
|
|
|
65272
65280
|
(function(a) {
|
|
65273
65281
|
function t() {
|
|
65274
65282
|
return function() {
|
|
65275
|
-
return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-
|
|
65283
|
+
return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-0kYmUUky.mjs");
|
|
65276
65284
|
}().catch(function(r) {
|
|
65277
65285
|
return Promise.reject(new Error("Could not load canvg: " + r));
|
|
65278
65286
|
}).then(function(r) {
|
|
@@ -75355,7 +75363,7 @@ const VerifyTip$1 = __component__$13.exports, _sfc_main$12 = {
|
|
|
75355
75363
|
this.textParam.valueArea = n ? JSON.parse(n) : [];
|
|
75356
75364
|
} else o === "hideDuringPrint" ? this.textParam.hideDuringPrint = t.hideDuringPrint == "undefined" || t.hideDuringPrint == null ? !1 : t.hideDuringPrint : o === "notReplaceElement" ? this.textParam.notReplaceElement = t.notReplaceElement == "undefined" || t.notReplaceElement == null ? !1 : t.notReplaceElement : this.textParam[o] = t[o];
|
|
75357
75365
|
}), this.textParam.inputFieldType === 1) {
|
|
75358
|
-
let r = this.textParam.downListProperty.listItems, o = r ?
|
|
75366
|
+
let r = this.textParam.downListProperty.listItems, o = r ? safeJsonParse(r) : [];
|
|
75359
75367
|
this.hoEditorProvider.setListStyle(o, this.textParam.downListProperty.source);
|
|
75360
75368
|
} else
|
|
75361
75369
|
this.textParam.inputFieldType = 0;
|
|
@@ -76911,7 +76919,7 @@ const TableRowProperty = __component__$X.exports, _sfc_main$W = {
|
|
|
76911
76919
|
const r = HOEditorFactorys.instance().getFactory(this.hoEditorFactoryId), o = t.colProperty;
|
|
76912
76920
|
if (this.editorProperty = o.editorProperty ? o.editorProperty : 0, this.colWidth = (r.unitConvert.pxConversionMm(t.colWidth, !1) / 10).toFixed(2), this.align = o.align ? o.align : 0, this.width = o.width ? o.width : 0, this.isSpecifyWidth = !!o.isSpecifyWidth, this.isSignLock = !!o.isSignLock, this.addWithDefaultValue = !!o.addWithDefaultValue, o.downListProperty) {
|
|
76913
76921
|
const s = [{ value: "", text: "", id: this.getKeyId(0) }];
|
|
76914
|
-
this.listItems =
|
|
76922
|
+
this.listItems = safeJsonParse(o.downListProperty.listItems) ? [...safeJsonParse(o.downListProperty.listItems), ...s] : [...s], this.canModifyContent = o.downListProperty.canModifyContent, this.isAllowDel = o.downListProperty.isAllowDel, this.allowMultiSelected = o.downListProperty.allowMultiSelected, this.splitCharacter = o.downListProperty.splitCharacter;
|
|
76915
76923
|
} else o.dateTimeProperty ? (this.inputStyle = o.dateTimeProperty.inputStyle || "yyyy-MM-dd", this.isAutoInputCurDate = o.dateTimeProperty.isAutoInputCurDate) : o.numberProperty && (this.maxNumVal = o.numberProperty.maxNumVal, this.minNumVal = o.numberProperty.minNumVal);
|
|
76916
76924
|
}
|
|
76917
76925
|
},
|
|
@@ -77431,7 +77439,7 @@ const HoColorPicker = __component__$U.exports, columns = [
|
|
|
77431
77439
|
if (r !== null) {
|
|
77432
77440
|
this.lightCellBorders = r.cellProperty.lightCellBorders, this.title = r.cellProperty.title ? r.cellProperty.title : "", this.align = r.cellProperty.align, this.isDrawGridlines = r.cellProperty.isDrawGridlines, Array.isArray(r.cellProperty.gridLinesColor) ? this.gridLinesColor = [...r.cellProperty.gridLinesColor] : this.gridLinesColor = ["#000000", "#000000", "#000000", "#000000"], Array.isArray(r.cellProperty.gridLineDisplay) ? this.gridLineDisplay = [...r.cellProperty.gridLineDisplay].map((c) => c == !0 || c == "true") : this.gridLineDisplay = [!0, !0, !0, !0], this.formula = r.cellProperty.formula, this.backColor = r.cellProperty.backColor ? r.cellProperty.backColor : "#ffffff", this.gridLinesStyle = r.cellProperty.gridLinesStyle, this.span = r.cellProperty.span, this.alignTextToGridline = r.cellProperty.alignTextToGridline, this.printGridLines = r.cellProperty.printGridLines, this.isSignLock = r.cellProperty.isSignLock ? r.cellProperty.isSignLock : !1, this.notAllowEdit = r.cellProperty.notAllowEdit ? r.cellProperty.notAllowEdit : !1, this.isTruncated = r.cellProperty.isTruncated ? r.cellProperty.isTruncated : !1, [this.cellTop, this.cellBottom, this.cellLeft, this.cellRight] = r.cellProperty.cellInnerMargin ? r.cellProperty.cellInnerMargin : [0, 0, 0, 0], this.editorProperty = r.cellProperty.editorProperty;
|
|
77433
77441
|
const n = [{ value: "", text: "", id: this.getKeyId(0) }], s = r.cellProperty.downListProperty;
|
|
77434
|
-
s ? (this.listItems =
|
|
77442
|
+
s ? (this.listItems = safeJsonParse(s.listItems) ? [...safeJsonParse(s.listItems), ...n] : [...n], this.source = s.source ? s.source : "", this.canModifyContent = s.canModifyContent !== void 0 ? s.canModifyContent : !0, this.isAllowDel = s.isAllowDel !== void 0 ? s.isAllowDel : !0, this.allowMultiSelected = s.allowMultiSelected !== void 0 ? s.allowMultiSelected : !1, this.splitCharacter = s.splitCharacter ? s.splitCharacter : ",") : this.listItems = [...n];
|
|
77435
77443
|
const l = r.cellProperty.dateTimeProperty;
|
|
77436
77444
|
l && (this.inputStyle = l.inputStyle ? l.inputStyle : "yyyy-MM-dd", this.isAutoInputCurDate = l.isAutoInputCurDate !== void 0 ? l.isAutoInputCurDate : !1, this.daysInterval = l.daysInterval ? l.daysInterval : 0, this.isUpdateNextDays = l.isUpdateNextDays ? l.isUpdateNextDays : !1), this.obliqueSplitLine = r.cellProperty.obliqueSplitLine;
|
|
77437
77445
|
}
|
|
@@ -78066,7 +78074,7 @@ const TableFormTree = __component__$R.exports, _sfc_main$Q = {
|
|
|
78066
78074
|
editorProperty: y.editorProperty,
|
|
78067
78075
|
cellIndex: g
|
|
78068
78076
|
};
|
|
78069
|
-
y.dateTimeProperty && (w.inputStyle = y.dateTimeProperty.inputStyle), y.downListProperty && (w.allowMultiSelected = y.downListProperty.allowMultiSelected, w.splitCharacter = y.downListProperty.splitCharacter, w.listItems =
|
|
78077
|
+
y.dateTimeProperty && (w.inputStyle = y.dateTimeProperty.inputStyle), y.downListProperty && (w.allowMultiSelected = y.downListProperty.allowMultiSelected, w.splitCharacter = y.downListProperty.splitCharacter, w.listItems = safeJsonParse(y.downListProperty.listItems)), y.numberProperty && (w.maxNumVal = y.numberProperty.maxNumVal, w.minNumVal = y.numberProperty.minNumVal || 0), w.value = "", this.hoEditorProvider.controlStatus === "update" && (w.value = m.getCellText()), s.push(w);
|
|
78070
78078
|
}
|
|
78071
78079
|
});
|
|
78072
78080
|
}), l.map((f, p) => (n.includes(p) ? f = void 0 : o.forEach((m, g) => {
|