hoeditor-web 3.3.2-beta.8 → 3.3.2
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-ByPK7_PH.mjs";
|
|
3
3
|
export {
|
|
4
4
|
i as HoDocs,
|
|
5
5
|
r as HoEditorProvide,
|
|
@@ -9598,6 +9598,7 @@ class RadioAndCheckBoxInstance {
|
|
|
9598
9598
|
// 选项互斥加类型区分组 参考下拉列表和下拉框的选项互斥
|
|
9599
9599
|
constructor() {
|
|
9600
9600
|
b(this, "id");
|
|
9601
|
+
b(this, "mId");
|
|
9601
9602
|
b(this, "dataId");
|
|
9602
9603
|
b(this, "type");
|
|
9603
9604
|
//private name!: string;
|
|
@@ -9648,6 +9649,12 @@ class RadioAndCheckBoxInstance {
|
|
|
9648
9649
|
set Id(t) {
|
|
9649
9650
|
this.id !== t && (this.id = t);
|
|
9650
9651
|
}
|
|
9652
|
+
get MId() {
|
|
9653
|
+
return this.mId;
|
|
9654
|
+
}
|
|
9655
|
+
set MId(t) {
|
|
9656
|
+
this.mId !== t && (this.mId = t);
|
|
9657
|
+
}
|
|
9651
9658
|
get DataId() {
|
|
9652
9659
|
return this.dataId;
|
|
9653
9660
|
}
|
|
@@ -9809,7 +9816,7 @@ class RadioAndCheckBoxInstance {
|
|
|
9809
9816
|
this.isTransToText !== t && (this.isTransToText = t);
|
|
9810
9817
|
}
|
|
9811
9818
|
static makeDefaultValue(t) {
|
|
9812
|
-
return t.id = "", t.dataId = "", t.type = ControlType.ctRadioAndCheckBox, t.text = "", t.controlStyle = "CheckBox", t.groupName = "", t.groupType = "0", t.isSelected = !1, t.isAllowDelete = !0, t.boxAlign = !0, t.numericValue = "", t.AdditionalData = "", t.tipText = "", t.readType = -1, t.isEditText = !1, t.appendText = "", t.isTransToText = !1, t.groupHasOptions = !1, t.associatedElement = "", t.associatedShowElement = "", t.associatedId = "", t.isMutualExclusion = !1, t.innerIdentifier = "", t.customProperty = new Object(), t;
|
|
9819
|
+
return t.id = "", t.dataId = "", t.type = ControlType.ctRadioAndCheckBox, t.text = "", t.controlStyle = "CheckBox", t.groupName = "", t.groupType = "0", t.isSelected = !1, t.isAllowDelete = !0, t.boxAlign = !0, t.numericValue = "", t.AdditionalData = "", t.tipText = "", t.readType = -1, t.isEditText = !1, t.appendText = "", t.isTransToText = !1, t.groupHasOptions = !1, t.associatedElement = "", t.associatedShowElement = "", t.associatedId = "", t.isMutualExclusion = !1, t.innerIdentifier = "", t.mId = "", t.customProperty = new Object(), t;
|
|
9813
9820
|
}
|
|
9814
9821
|
}
|
|
9815
9822
|
class RadioAndCheckBoxNode extends ControlNode {
|
|
@@ -9997,7 +10004,7 @@ class RadioAndCheckBoxNode extends ControlNode {
|
|
|
9997
10004
|
}
|
|
9998
10005
|
get radioAndCheckBoxInstance() {
|
|
9999
10006
|
const t = new RadioAndCheckBoxInstance();
|
|
10000
|
-
return RadioAndCheckBoxInstance.makeDefaultValue(t), t.DataId = this.dataId !== void 0 ? this.dataId : t.DataId, t.ControlStyle = this.controlStyle !== void 0 ? this.controlStyle : t.ControlStyle, t.GroupName = this.groupName !== void 0 ? this.groupName : t.GroupName, t.groupType = this.groupType !== void 0 ? this.groupType : t.groupType, t.AdditionalData = this.additionalData !== void 0 ? this.additionalData : t.AdditionalData, t.TipText = this.tipText !== void 0 ? this.tipText : t.TipText, t.BoxAlign = this.boxAlign !== void 0 ? this.boxAlign : t.BoxAlign, t.IsAllowDelete = this.isAllowDelete !== void 0 ? this.isAllowDelete : t.IsAllowDelete, t.IsSelected = this.isSelected !== void 0 ? this.isSelected : t.IsSelected, t.NumericValue = this.numericValue !== void 0 ? this.numericValue : t.NumericValue, t.Id = this.id !== void 0 ? this.id : t.Id, t.Type = this.type !== void 0 ? this.type : t.Type, t.Text = this.text !== void 0 ? this.text : t.Text, t.innerIdentifier = this.innerIdentifier, t.customProperty = this.customProperty, t.ReadType = this.readType !== void 0 ? this.readType : t.ReadType, t.IsEditText = this.isEditText !== void 0 ? this.isEditText : t.IsEditText, t.AppendText = this.appendText !== void 0 ? this.appendText : t.AppendText, t.IsTransToText = this.isTransToText != null ? this.isTransToText : t.IsTransToText, t.GroupHasOptions = this.groupHasOptions != null ? this.groupHasOptions : t.GroupHasOptions, t.AssociatedElement = this.associatedElement != null ? this.associatedElement : t.AssociatedElement, t.AssociatedId = this.associatedId != null ? this.associatedId : t.AssociatedId, t.IsMutualExclusion = this.isMutualExclusion != null ? this.isMutualExclusion : t.IsMutualExclusion, t.AssociatedShowElement = this.associatedShowElement != null ? this.associatedShowElement : t.AssociatedShowElement, t;
|
|
10007
|
+
return RadioAndCheckBoxInstance.makeDefaultValue(t), t.DataId = this.dataId !== void 0 ? this.dataId : t.DataId, t.ControlStyle = this.controlStyle !== void 0 ? this.controlStyle : t.ControlStyle, t.GroupName = this.groupName !== void 0 ? this.groupName : t.GroupName, t.groupType = this.groupType !== void 0 ? this.groupType : t.groupType, t.AdditionalData = this.additionalData !== void 0 ? this.additionalData : t.AdditionalData, t.TipText = this.tipText !== void 0 ? this.tipText : t.TipText, t.BoxAlign = this.boxAlign !== void 0 ? this.boxAlign : t.BoxAlign, t.IsAllowDelete = this.isAllowDelete !== void 0 ? this.isAllowDelete : t.IsAllowDelete, t.IsSelected = this.isSelected !== void 0 ? this.isSelected : t.IsSelected, t.NumericValue = this.numericValue !== void 0 ? this.numericValue : t.NumericValue, t.Id = this.id !== void 0 ? this.id : t.Id, t.MId = this.mId !== void 0 ? this.mId : t.MId, t.Type = this.type !== void 0 ? this.type : t.Type, t.Text = this.text !== void 0 ? this.text : t.Text, t.innerIdentifier = this.innerIdentifier, t.customProperty = this.customProperty, t.ReadType = this.readType !== void 0 ? this.readType : t.ReadType, t.IsEditText = this.isEditText !== void 0 ? this.isEditText : t.IsEditText, t.AppendText = this.appendText !== void 0 ? this.appendText : t.AppendText, t.IsTransToText = this.isTransToText != null ? this.isTransToText : t.IsTransToText, t.GroupHasOptions = this.groupHasOptions != null ? this.groupHasOptions : t.GroupHasOptions, t.AssociatedElement = this.associatedElement != null ? this.associatedElement : t.AssociatedElement, t.AssociatedId = this.associatedId != null ? this.associatedId : t.AssociatedId, t.IsMutualExclusion = this.isMutualExclusion != null ? this.isMutualExclusion : t.IsMutualExclusion, t.AssociatedShowElement = this.associatedShowElement != null ? this.associatedShowElement : t.AssociatedShowElement, t;
|
|
10001
10008
|
}
|
|
10002
10009
|
/**
|
|
10003
10010
|
*
|
|
@@ -13322,7 +13329,7 @@ class ParagraphNode extends BaseNode {
|
|
|
13322
13329
|
let r = 0;
|
|
13323
13330
|
const { firstIndent: o, leftMarginPixes: n, rightMarginPixes: s } = this.combineParagraph, [l, c] = this.getParagraphLeftWidth();
|
|
13324
13331
|
this._drawLines.forEach((d, u) => {
|
|
13325
|
-
u === 0 && (d.dWidth = c - n - s, d.dLeft = l, d.x = n + l), u === 0 && o && (d.dWidth -= 10, d.dLeft += 10, d.x += 10), d.dTop = this.dTop + r, r += d.dHeight;
|
|
13332
|
+
u === 0 && (d.dWidth = c - n - s, d.dLeft = l, d.x = n + l), u === 0 && o && (d.dWidth -= 10, d.dLeft += 10, d.x += 10), d.dTop = this.dTop + r, r += d.dHeight + this.combineParagraph.lineSpace;
|
|
13326
13333
|
}), this._dHeight = r;
|
|
13327
13334
|
}
|
|
13328
13335
|
range() {
|
|
@@ -13622,7 +13629,7 @@ class DrawDateTime extends DrawCombineNode {
|
|
|
13622
13629
|
}
|
|
13623
13630
|
}
|
|
13624
13631
|
class DateTimeNode extends ControlNode {
|
|
13625
|
-
//
|
|
13632
|
+
// 打印时是否隐藏
|
|
13626
13633
|
constructor(t, r, o, n, s, l, c) {
|
|
13627
13634
|
super(t, r, o, n);
|
|
13628
13635
|
b(this, "_isReadOnly", !1);
|
|
@@ -13633,6 +13640,8 @@ class DateTimeNode extends ControlNode {
|
|
|
13633
13640
|
//样式
|
|
13634
13641
|
b(this, "_canWrapLine", !1);
|
|
13635
13642
|
b(this, "_mId", "");
|
|
13643
|
+
// 元素内存id
|
|
13644
|
+
b(this, "_hideDuringPrint", !1);
|
|
13636
13645
|
this._styleIndex = l, this.remark = "", this._type = ControlType.ctDateTime, this.customProperty = new Object(), this.setValuesObject(s), this.dataId || (this.dataId = HOEditorFactorys.instance().getFactory(t).gernerateCode.generateID("DateTime")), this._labelText === "" && (this.labelText = this._name !== "" ? this.name : this._controlStyle), this._text === "" && (this._text = this._labelText !== "" && this._labelText !== void 0 && this._labelText != null ? this._labelText : " "), this.isTrace = c === void 0 ? !1 : c, this.node2DrawNodeRange(0, 0);
|
|
13637
13646
|
}
|
|
13638
13647
|
setValuesObject(valuesObject) {
|
|
@@ -13658,6 +13667,12 @@ class DateTimeNode extends ControlNode {
|
|
|
13658
13667
|
set isReadOnly(t) {
|
|
13659
13668
|
this._isReadOnly !== t && (this._isReadOnly = t);
|
|
13660
13669
|
}
|
|
13670
|
+
get hideDuringPrint() {
|
|
13671
|
+
return this._hideDuringPrint;
|
|
13672
|
+
}
|
|
13673
|
+
set hideDuringPrint(t) {
|
|
13674
|
+
this._hideDuringPrint !== t && (this._hideDuringPrint = t);
|
|
13675
|
+
}
|
|
13661
13676
|
get canWrapLine() {
|
|
13662
13677
|
return this._canWrapLine;
|
|
13663
13678
|
}
|
|
@@ -13741,7 +13756,7 @@ class DateTimeNode extends ControlNode {
|
|
|
13741
13756
|
else
|
|
13742
13757
|
for (let f = u.children.length - 1; f >= 0; f--)
|
|
13743
13758
|
u.children[f].name === "backColor" && u.children.splice(f, 1);
|
|
13744
|
-
return o.addChild(u), o.drawItems.push(u), o.fitLines(), o.updateLineStyle(), o.paragraphNode.getLastDrawline();
|
|
13759
|
+
return this.hideDuringPrint && (c.drawTree.paintStatus == PaintState.psPreview || c.drawTree.paintStatus == PaintState.psPrint) && (u.alpha = 0), o.addChild(u), o.drawItems.push(u), o.fitLines(), o.updateLineStyle(), o.paragraphNode.getLastDrawline();
|
|
13745
13760
|
}
|
|
13746
13761
|
hasChildPath() {
|
|
13747
13762
|
return !1;
|
|
@@ -13771,7 +13786,8 @@ class DateTimeNode extends ControlNode {
|
|
|
13771
13786
|
customProperty: this.customProperty,
|
|
13772
13787
|
notReplaceElement: this.notReplaceElement,
|
|
13773
13788
|
notSelectTime: this.notSelectTime,
|
|
13774
|
-
remark: this.remark
|
|
13789
|
+
remark: this.remark,
|
|
13790
|
+
hideDuringPrint: this.hideDuringPrint
|
|
13775
13791
|
};
|
|
13776
13792
|
let s = "";
|
|
13777
13793
|
this.parentNode && this.parentNode instanceof TextInputFieldNode && (s = this.parentNode.id);
|
|
@@ -13801,7 +13817,7 @@ class DateTimeNode extends ControlNode {
|
|
|
13801
13817
|
//notSelectTime: this.notSelectTime,
|
|
13802
13818
|
//remark: this.remark,
|
|
13803
13819
|
};
|
|
13804
|
-
return this.isSynchro && (l.isSynchro = this.isSynchro), this.tipText && (l.tipText = this.tipText), this.isAllowDelete && (l.isAllowDelete = this.isAllowDelete), this.isReadOnly && (l.isReadOnly = this.isReadOnly), this.notReplaceElement && (l.notReplaceElement = this.notReplaceElement), this.notSelectTime && (l.notSelectTime = this.notSelectTime), this.remark && (l.remark = this.remark), this.canWrapLine && (l.canWrapLine = this.canWrapLine), {
|
|
13820
|
+
return this.isSynchro && (l.isSynchro = this.isSynchro), this.tipText && (l.tipText = this.tipText), this.isAllowDelete && (l.isAllowDelete = this.isAllowDelete), this.isReadOnly && (l.isReadOnly = this.isReadOnly), this.notReplaceElement && (l.notReplaceElement = this.notReplaceElement), this.notSelectTime && (l.notSelectTime = this.notSelectTime), this.remark && (l.remark = this.remark), this.canWrapLine && (l.canWrapLine = this.canWrapLine), this.hideDuringPrint && (l.hideDuringPrint = this.hideDuringPrint), {
|
|
13805
13821
|
DateTimeNode: l
|
|
13806
13822
|
};
|
|
13807
13823
|
}
|
|
@@ -13810,7 +13826,7 @@ class DateTimeNode extends ControlNode {
|
|
|
13810
13826
|
const l = HOEditorFactorys.instance().getFactory(t);
|
|
13811
13827
|
l.vueController.getNodeByDataID("all", r.dataId) && (r.dataId = l.gernerateCode.generateID("DateTime"));
|
|
13812
13828
|
}
|
|
13813
|
-
if (r.readType = r.readType ? Number(r.readType) : -1, r.isSynchro = r.isSynchro ? r.isSynchro : !1, r.isAllowDelete = r.isAllowDelete ? r.isAllowDelete : !1, r.isReadOnly = r.isReadOnly ? r.isReadOnly : !1, r.notReplaceElement = r.notReplaceElement ? r.notReplaceElement : !1, r.notSelectTime = r.notSelectTime ? r.notSelectTime : !1, r.canWrapLine = r.canWrapLine ? r.canWrapLine : !1, r.type = parseInt(ControlType[r.type]), r.controlStyle = r.controlStyle.replace("hh", "HH"), r.text = r.text || "", r.controlStyle !== "yyyy-MM-dd HH:mm:ss" && r.controlStyle !== "" && r.text.replace(" ", "").length > 0 && r.text !== r.labelText) {
|
|
13829
|
+
if (r.readType = r.readType ? Number(r.readType) : -1, r.isSynchro = r.isSynchro ? r.isSynchro : !1, r.isAllowDelete = r.isAllowDelete ? r.isAllowDelete : !1, r.isReadOnly = r.isReadOnly ? r.isReadOnly : !1, r.notReplaceElement = r.notReplaceElement ? r.notReplaceElement : !1, r.notSelectTime = r.notSelectTime ? r.notSelectTime : !1, r.canWrapLine = r.canWrapLine ? r.canWrapLine : !1, r.type = parseInt(ControlType[r.type]), r.controlStyle = r.controlStyle.replace("hh", "HH"), r.hideDuringPrint = r.hideDuringPrint ? r.hideDuringPrint : !1, r.text = r.text || "", r.controlStyle !== "yyyy-MM-dd HH:mm:ss" && r.controlStyle !== "" && r.text.replace(" ", "").length > 0 && r.text !== r.labelText) {
|
|
13814
13830
|
const l = dateFormat(r.text.toString(), r.controlStyle);
|
|
13815
13831
|
r.text = l;
|
|
13816
13832
|
}
|
|
@@ -15244,7 +15260,7 @@ class DrawSignNode extends DrawCombineNode {
|
|
|
15244
15260
|
}
|
|
15245
15261
|
}
|
|
15246
15262
|
}
|
|
15247
|
-
const version = "3.3.2
|
|
15263
|
+
const version = "3.3.2";
|
|
15248
15264
|
var FingerPosition = /* @__PURE__ */ ((a) => (a[a.left = 0] = "left", a[a.center = 1] = "center", a[a.right = 2] = "right", a))(FingerPosition || {});
|
|
15249
15265
|
class SignNode extends BaseNode {
|
|
15250
15266
|
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) {
|
|
@@ -38212,7 +38228,7 @@ class DrawImageNode extends DrawCombineNode {
|
|
|
38212
38228
|
const r = this;
|
|
38213
38229
|
this._imageManager.addImageQueue(this, () => new Promise((o) => {
|
|
38214
38230
|
const n = new Image();
|
|
38215
|
-
process.env.NODE_ENV !== "production" && !this.imagePath.startsWith("http") ? n.src = "http://192.168.1.211:8088" + this.imagePath : n.src = this.imagePath, this._bitMap = new createjs$1.Bitmap(n);
|
|
38231
|
+
process.env.NODE_ENV !== "production" && !this.imagePath.startsWith("http") && !this.imagePath.startsWith("data:image") ? n.src = "http://192.168.1.211:8088" + this.imagePath : n.src = this.imagePath, this._bitMap = new createjs$1.Bitmap(n);
|
|
38216
38232
|
const s = HOEditorFactorys.instance().getFactory(r.node.hoEditorFactoryID);
|
|
38217
38233
|
this._bitMap.y = this._imageY, this._bitMap.x = 0, this._bitMap.name = this.node.id;
|
|
38218
38234
|
const l = new createjs$1.Shape();
|
|
@@ -50244,7 +50260,9 @@ class VueController {
|
|
|
50244
50260
|
"",
|
|
50245
50261
|
0,
|
|
50246
50262
|
0,
|
|
50247
|
-
{
|
|
50263
|
+
{
|
|
50264
|
+
elementDataId: t.customProperty.elementDataId || ""
|
|
50265
|
+
},
|
|
50248
50266
|
!0,
|
|
50249
50267
|
t.styleIndex,
|
|
50250
50268
|
t.connectMode,
|
|
@@ -65232,7 +65250,7 @@ WebPDecoder.prototype.getData = function() {
|
|
|
65232
65250
|
(function(a) {
|
|
65233
65251
|
function t() {
|
|
65234
65252
|
return function() {
|
|
65235
|
-
return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-
|
|
65253
|
+
return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-BwX_pFTi.mjs");
|
|
65236
65254
|
}().catch(function(r) {
|
|
65237
65255
|
return Promise.reject(new Error("Could not load canvg: " + r));
|
|
65238
65256
|
}).then(function(r) {
|
|
@@ -75677,6 +75695,7 @@ const TextBorderDialog = __component__$10.exports, _sfc_main$$ = defineComponent
|
|
|
75677
75695
|
title: i18nHelper("04-001-009-EMR.3.3.117", null, "日期时间"),
|
|
75678
75696
|
tipText: "",
|
|
75679
75697
|
isAllowDelete: !1,
|
|
75698
|
+
hideDuringPrint: !1,
|
|
75680
75699
|
notReplaceElement: !1,
|
|
75681
75700
|
notSelectTime: !1,
|
|
75682
75701
|
canWrapLine: !1,
|
|
@@ -75699,6 +75718,7 @@ const TextBorderDialog = __component__$10.exports, _sfc_main$$ = defineComponent
|
|
|
75699
75718
|
"notSelectTime",
|
|
75700
75719
|
"canWrapLine",
|
|
75701
75720
|
"isAllowDelete",
|
|
75721
|
+
"hideDuringPrint",
|
|
75702
75722
|
"innerIdentifier",
|
|
75703
75723
|
"identifierFormat",
|
|
75704
75724
|
"notReplaceElement",
|
|
@@ -75724,7 +75744,7 @@ const TextBorderDialog = __component__$10.exports, _sfc_main$$ = defineComponent
|
|
|
75724
75744
|
created() {
|
|
75725
75745
|
if (this.controlStatus === "update") {
|
|
75726
75746
|
const a = this.getDateNode();
|
|
75727
|
-
this.id = a.id, this.name = a.name, this.text = a.text && a.text !== a.controlStyle && a.text !== a.name ? a.text : null, this.title = a.title, this.tipText = a.tipText, this.isAllowDelete = a.isAllowDelete, this.notReplaceElement = a.notReplaceElement == "undefined" || a.notReplaceElement == null ? !1 : a.notReplaceElement, this.notSelectTime = a.notSelectTime == "undefined" || a.notSelectTime == null ? !1 : a.notSelectTime, this.canWrapLine = a.canWrapLine == "undefined" || a.canWrapLine == null ? !1 : a.canWrapLine, this.isReadOnly = a.isReadOnly, this.controlStyle = a.controlStyle, this.innerIdentifier = a.innerIdentifier, this.dataMetaIdentifier = a.dataMetaIdentifier, this.identifierFormat = a.identifierFormat, this.dataId = a.dataId, this.readType = a.readType === 1, isObject(a.customProperty) ? this.customPropertys = a.customProperty : this.customPropertys = new Object();
|
|
75747
|
+
this.id = a.id, this.name = a.name, this.text = a.text && a.text !== a.controlStyle && a.text !== a.name ? a.text : null, this.title = a.title, this.tipText = a.tipText, this.isAllowDelete = a.isAllowDelete, this.hideDuringPrint = a.hideDuringPrint, this.notReplaceElement = a.notReplaceElement == "undefined" || a.notReplaceElement == null ? !1 : a.notReplaceElement, this.notSelectTime = a.notSelectTime == "undefined" || a.notSelectTime == null ? !1 : a.notSelectTime, this.canWrapLine = a.canWrapLine == "undefined" || a.canWrapLine == null ? !1 : a.canWrapLine, this.isReadOnly = a.isReadOnly, this.controlStyle = a.controlStyle, this.innerIdentifier = a.innerIdentifier, this.dataMetaIdentifier = a.dataMetaIdentifier, this.identifierFormat = a.identifierFormat, this.dataId = a.dataId, this.readType = a.readType === 1, isObject(a.customProperty) ? this.customPropertys = a.customProperty : this.customPropertys = new Object();
|
|
75728
75748
|
let t = new Object();
|
|
75729
75749
|
Object.keys(this.customPropertys).forEach((r) => {
|
|
75730
75750
|
t[r] = this.customPropertys[r];
|
|
@@ -75773,6 +75793,7 @@ const TextBorderDialog = __component__$10.exports, _sfc_main$$ = defineComponent
|
|
|
75773
75793
|
title: i18nHelper("04-001-009-EMR.3.3.117", null, "日期时间"),
|
|
75774
75794
|
tipText: this.tipText,
|
|
75775
75795
|
isAllowDelete: this.isAllowDelete,
|
|
75796
|
+
hideDuringPrint: this.hideDuringPrint,
|
|
75776
75797
|
isReadOnly: this.isReadOnly,
|
|
75777
75798
|
controlStyle: this.controlStyle,
|
|
75778
75799
|
innerIdentifier: this.innerIdentifier,
|
|
@@ -75820,7 +75841,9 @@ var _sfc_render$$ = function a() {
|
|
|
75820
75841
|
t.isAllowDelete = o;
|
|
75821
75842
|
}, expression: "isAllowDelete" } }, [t._v(i18nHelper("04-001-009-EMR.3.3.185", null, "允许删除"))]), r("a-checkbox", { attrs: { size: "small" }, model: { value: t.readType, callback: function(o) {
|
|
75822
75843
|
t.readType = o;
|
|
75823
|
-
}, expression: "readType" } }, [t._v(i18nHelper("04-001-009-EMR.3.3.222", null, "自动回填"))]), r("a-checkbox", { attrs: { size: "small" }, model: { value: t.
|
|
75844
|
+
}, expression: "readType" } }, [t._v(i18nHelper("04-001-009-EMR.3.3.222", null, "自动回填"))]), r("a-checkbox", { attrs: { size: "small" }, model: { value: t.hideDuringPrint, callback: function(o) {
|
|
75845
|
+
t.hideDuringPrint = o;
|
|
75846
|
+
}, expression: "hideDuringPrint" } }, [t._v(i18nHelper("04-001-009-EMR.3.3.164", null, "打印时隐藏"))]), r("a-checkbox", { attrs: { size: "small" }, model: { value: t.notReplaceElement, callback: function(o) {
|
|
75824
75847
|
t.notReplaceElement = o;
|
|
75825
75848
|
}, expression: "notReplaceElement" } }, [t._v(i18nHelper("04-001-009-EMR.3.3.163", null, "不启用元素引用"))]), r("a-checkbox", { attrs: { size: "small" }, model: { value: t.notSelectTime, callback: function(o) {
|
|
75826
75849
|
t.notSelectTime = o;
|
|
@@ -83746,7 +83769,11 @@ const ControlModal = __component__$u.exports, _sfc_main$t = {
|
|
|
83746
83769
|
},
|
|
83747
83770
|
mounted() {
|
|
83748
83771
|
this.findModal = this.$refs.findModal, this.$nextTick(() => {
|
|
83749
|
-
|
|
83772
|
+
if (this.$refs.findInput) {
|
|
83773
|
+
this.$refs.findInput.focus();
|
|
83774
|
+
const a = HOEditorFactorys.instance().getFactory(this.hoEditorFactoryId);
|
|
83775
|
+
this.findContent = a.vueController.getSelectText() || "", this.toFind();
|
|
83776
|
+
}
|
|
83750
83777
|
});
|
|
83751
83778
|
},
|
|
83752
83779
|
methods: {
|