@baosight/er4j 0.1.16 → 0.1.17
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/er4j-dist/{ErAdvanceFilter-CR7dP_nU.js → ErAdvanceFilter-ChkQzh-0.js} +2 -2
- package/er4j-dist/{ErAdvanceFilter-CR7dP_nU.js.map → ErAdvanceFilter-ChkQzh-0.js.map} +1 -1
- package/er4j-dist/{ErLayoutDesign-CNuXv050.js → ErLayoutDesign-TLcXqsNO.js} +137 -138
- package/er4j-dist/{ErLayoutDesign-CNuXv050.js.map → ErLayoutDesign-TLcXqsNO.js.map} +1 -1
- package/er4j-dist/{ErPopAttachment-DSA4PknN.js → ErPopAttachment-UoTv8Qlb.js} +2 -2
- package/er4j-dist/{ErPopAttachment-DSA4PknN.js.map → ErPopAttachment-UoTv8Qlb.js.map} +1 -1
- package/er4j-dist/{ErPopForm-DlsqCsPa.js → ErPopForm-PKHDaqs4.js} +2 -2
- package/er4j-dist/{ErPopForm-DlsqCsPa.js.map → ErPopForm-PKHDaqs4.js.map} +1 -1
- package/er4j-dist/ErPopFree-DLr4CkBb.js +5 -0
- package/er4j-dist/ErPopFree-DLr4CkBb.js.map +1 -0
- package/er4j-dist/ErPopQuery-QJKAaxJw.js +5 -0
- package/er4j-dist/ErPopQuery-QJKAaxJw.js.map +1 -0
- package/er4j-dist/ErPopRichEditor-eeZ0KxK6.js +5 -0
- package/er4j-dist/ErPopRichEditor-eeZ0KxK6.js.map +1 -0
- package/er4j-dist/ErPopTree-CpjyR-TF.js +5 -0
- package/er4j-dist/ErPopTree-CpjyR-TF.js.map +1 -0
- package/er4j-dist/{ErPopWindow-TVWXykvO.js → ErPopWindow-Btm0GoHD.js} +2 -2
- package/er4j-dist/{ErPopWindow-TVWXykvO.js.map → ErPopWindow-Btm0GoHD.js.map} +1 -1
- package/er4j-dist/er4j.es.js +1 -1
- package/er4j-dist/er4j.umd.js +16 -16
- package/er4j-dist/er4j.umd.js.map +1 -1
- package/er4j-dist/{index-DkX-Pz40.js → index-DqTHrtUC.js} +94 -89
- package/er4j-dist/{index-DkX-Pz40.js.map → index-DqTHrtUC.js.map} +1 -1
- package/er4j-dist/types/components/ErLayout/ErLayout.vue.d.ts +3 -3
- package/er4j-dist/types/components/ErMemoEditor/ErMemoEditor.vue.d.ts +4 -4
- package/package.json +1 -1
- package/er4j-dist/ErPopFree-Dgik17FX.js +0 -5
- package/er4j-dist/ErPopFree-Dgik17FX.js.map +0 -1
- package/er4j-dist/ErPopQuery-DLWMLBff.js +0 -5
- package/er4j-dist/ErPopQuery-DLWMLBff.js.map +0 -1
- package/er4j-dist/ErPopRichEditor-CqmCcbKs.js +0 -5
- package/er4j-dist/ErPopRichEditor-CqmCcbKs.js.map +0 -1
- package/er4j-dist/ErPopTree-DbWfp9Ww.js +0 -5
- package/er4j-dist/ErPopTree-DbWfp9Ww.js.map +0 -1
|
@@ -29450,7 +29450,7 @@ let Bn = (To = class extends hu {
|
|
|
29450
29450
|
if (this._app)
|
|
29451
29451
|
this._windowOpened.value = !0;
|
|
29452
29452
|
else {
|
|
29453
|
-
this._component || this._component || (this._component = await import("./ErPopRichEditor-
|
|
29453
|
+
this._component || this._component || (this._component = await import("./ErPopRichEditor-eeZ0KxK6.js"), (i = this._component) != null && i.default && (this._component = this._component.default));
|
|
29454
29454
|
const l = Oi(this._component, {
|
|
29455
29455
|
popRichEditorProps: this,
|
|
29456
29456
|
options: this._options,
|
|
@@ -29781,7 +29781,7 @@ let Bn = (To = class extends hu {
|
|
|
29781
29781
|
};
|
|
29782
29782
|
e && this.setEvent("ok", e), n && this.setEvent("cancel", n), this.app ? o() : this.Initialize().then(async (l) => {
|
|
29783
29783
|
var u;
|
|
29784
|
-
this._component || (this._component = r, this._component || (this._component = await import("./ErPopFree-
|
|
29784
|
+
this._component || (this._component = r, this._component || (this._component = await import("./ErPopFree-DLr4CkBb.js"), (u = this._component) != null && u.default && (this._component = this._component.default))), this.doEvent("initial", this), this._initializeFlag = 1;
|
|
29785
29785
|
const s = Oi(this._component, {
|
|
29786
29786
|
popFreeHelperProp: this,
|
|
29787
29787
|
formWidth: this.getFormOption("width") ?? this.getFormOption("formWidth"),
|
|
@@ -29986,7 +29986,7 @@ let Xm = class {
|
|
|
29986
29986
|
if (e && this.setEvent("ok", e), n && this.setEvent("cancel", n), this._app)
|
|
29987
29987
|
this._windowOpened.value = !0;
|
|
29988
29988
|
else {
|
|
29989
|
-
this._component || (this._component = r, this._component || (this._component = await import("./ErPopTree-
|
|
29989
|
+
this._component || (this._component = r, this._component || (this._component = await import("./ErPopTree-CpjyR-TF.js"), (o = this._component) != null && o.default && (this._component = this._component.default)));
|
|
29990
29990
|
const l = Oi(this._component, {
|
|
29991
29991
|
popTreeHelperProp: this
|
|
29992
29992
|
});
|
|
@@ -30368,7 +30368,7 @@ let Qm = class {
|
|
|
30368
30368
|
return new Promise((a, i) => {
|
|
30369
30369
|
e && this.setEvent("ok", e), n && this.setEvent("cancel", n), this.app ? this.WindowOpened.value = !0 : this.Initialize().then(async (o) => {
|
|
30370
30370
|
var c, u, d;
|
|
30371
|
-
if (this._component || (this._component = r, this._component || (this._component = await import("./ErPopQuery-
|
|
30371
|
+
if (this._component || (this._component = r, this._component || (this._component = await import("./ErPopQuery-QJKAaxJw.js"), (c = this._component) != null && c.default && (this._component = this._component.default))), this.doEvent("initial", this), this.FormConfigQueryService.trim().length === 0) {
|
|
30372
30372
|
const f = this._formHelper.getFormButtonConfigInfo("btnQuery");
|
|
30373
30373
|
this.FormConfigQueryService = ((u = f == null ? void 0 : f.SVC_NAME) == null ? void 0 : u.trim()) || "", this.FormButtonQueryFilter = ((d = f == null ? void 0 : f.FILTER_STRING) == null ? void 0 : d.trim()) || "";
|
|
30374
30374
|
}
|
|
@@ -30733,7 +30733,7 @@ let bF = class {
|
|
|
30733
30733
|
};
|
|
30734
30734
|
e && this.setEvent("save", e), n && this.setEvent("close", n), this.app ? o() : this.Initialize().then(async (l) => {
|
|
30735
30735
|
var u;
|
|
30736
|
-
this._component || (this._component = r, this._component || (this._component = await import("./ErPopForm-
|
|
30736
|
+
this._component || (this._component = r, this._component || (this._component = await import("./ErPopForm-PKHDaqs4.js"), (u = this._component) != null && u.default && (this._component = this._component.default))), this._initializeFlag = 1, this.doEvent("initial", this);
|
|
30737
30737
|
const s = Oi(this._component, {
|
|
30738
30738
|
popFormHelperProp: this,
|
|
30739
30739
|
formWidth: this.getFormOption("width"),
|
|
@@ -32342,7 +32342,7 @@ let vd = class {
|
|
|
32342
32342
|
if (this._app)
|
|
32343
32343
|
this._options.refreshKey = G.guid(), this._popWindowOpened.value = !0;
|
|
32344
32344
|
else {
|
|
32345
|
-
this._component || (this._component = r, this._component || (this._component = await import("./ErPopAttachment-
|
|
32345
|
+
this._component || (this._component = r, this._component || (this._component = await import("./ErPopAttachment-UoTv8Qlb.js"), (e = this._component) != null && e.default && (this._component = this._component.default)));
|
|
32346
32346
|
const n = Oi(this._component, {
|
|
32347
32347
|
attachmentHelperProps: this,
|
|
32348
32348
|
formWidth: -1,
|
|
@@ -40439,7 +40439,7 @@ class jm {
|
|
|
40439
40439
|
var a;
|
|
40440
40440
|
if (this._app)
|
|
40441
40441
|
this._windowOpened.value = !0;
|
|
40442
|
-
else if (this._component = await import("./ErAdvanceFilter-
|
|
40442
|
+
else if (this._component = await import("./ErAdvanceFilter-ChkQzh-0.js"), (a = this._component) != null && a.default && this._gridConfigId) {
|
|
40443
40443
|
this._filterDataStructure = await Bn.createDataTable(this._partition, "DataSet_SI000", "TSI00FORMVALUES");
|
|
40444
40444
|
const i = Oi(this._component.default, {
|
|
40445
40445
|
popAdvanceFilterHelperProps: this,
|
|
@@ -41091,7 +41091,7 @@ let XA = class extends hu {
|
|
|
41091
41091
|
return;
|
|
41092
41092
|
}
|
|
41093
41093
|
if (e && this.setEvent("ok", e), n && this.setEvent("cancel", n), r && !this._popWindowComponent) {
|
|
41094
|
-
this._popWindowComponent = await import("./ErPopWindow-
|
|
41094
|
+
this._popWindowComponent = await import("./ErPopWindow-Btm0GoHD.js"), (o = this._popWindowComponent) != null && o.default && (this._popWindowComponent = this._popWindowComponent.default);
|
|
41095
41095
|
const l = Oi(this._popWindowComponent, {
|
|
41096
41096
|
popWindowHelperProp: this,
|
|
41097
41097
|
component: r,
|
|
@@ -44555,7 +44555,7 @@ const rE = /* @__PURE__ */ Yr(tb, [["render", nb]]), ab = {
|
|
|
44555
44555
|
itemCode: zt("designItemCode") || "",
|
|
44556
44556
|
autoBind: !1,
|
|
44557
44557
|
initializeService: e.erFormHelperProp.InitialService
|
|
44558
|
-
}), w.value === null && (w.value = Zn((await import("./ErLayoutDesign-
|
|
44558
|
+
}), w.value === null && (w.value = Zn((await import("./ErLayoutDesign-TLcXqsNO.js")).default));
|
|
44559
44559
|
}, Re = () => {
|
|
44560
44560
|
e.erFormHelperProp.setGridOptions(e.configId, "designOpen", !1, !0);
|
|
44561
44561
|
}, ve = () => {
|
|
@@ -44582,7 +44582,7 @@ const rE = /* @__PURE__ */ Yr(tb, [["render", nb]]), ab = {
|
|
|
44582
44582
|
itemCode: zt("designItemCode", u) || "",
|
|
44583
44583
|
autoBind: !1,
|
|
44584
44584
|
initializeService: e.erFormHelperProp.InitialService
|
|
44585
|
-
}), N.value === null && (N.value = Zn((await import("./ErLayoutDesign-
|
|
44585
|
+
}), N.value === null && (N.value = Zn((await import("./ErLayoutDesign-TLcXqsNO.js")).default));
|
|
44586
44586
|
}, qe = () => {
|
|
44587
44587
|
e.erFormHelperProp.setGridOptions(u, "designOpen", !1, !0);
|
|
44588
44588
|
}, Ne = () => {
|
|
@@ -46191,78 +46191,82 @@ const wf = /* @__PURE__ */ Yr(cb, [["render", ub]]), db = { style: { "padding-le
|
|
|
46191
46191
|
theme: c.value,
|
|
46192
46192
|
locale: Ee(on)()
|
|
46193
46193
|
}, {
|
|
46194
|
-
default: ge(() =>
|
|
46195
|
-
|
|
46196
|
-
|
|
46197
|
-
|
|
46198
|
-
|
|
46199
|
-
|
|
46200
|
-
|
|
46201
|
-
|
|
46202
|
-
|
|
46203
|
-
|
|
46204
|
-
|
|
46205
|
-
|
|
46206
|
-
|
|
46207
|
-
|
|
46208
|
-
|
|
46209
|
-
|
|
46210
|
-
|
|
46211
|
-
|
|
46212
|
-
|
|
46213
|
-
|
|
46214
|
-
|
|
46215
|
-
|
|
46216
|
-
|
|
46217
|
-
|
|
46218
|
-
|
|
46219
|
-
|
|
46220
|
-
|
|
46221
|
-
|
|
46222
|
-
|
|
46223
|
-
|
|
46224
|
-
|
|
46225
|
-
|
|
46226
|
-
|
|
46227
|
-
|
|
46228
|
-
|
|
46229
|
-
|
|
46230
|
-
|
|
46231
|
-
|
|
46232
|
-
|
|
46233
|
-
|
|
46234
|
-
|
|
46235
|
-
|
|
46236
|
-
|
|
46237
|
-
|
|
46238
|
-
|
|
46239
|
-
|
|
46240
|
-
|
|
46241
|
-
|
|
46242
|
-
|
|
46194
|
+
default: ge(() => {
|
|
46195
|
+
var w;
|
|
46196
|
+
return [
|
|
46197
|
+
ke(v, {
|
|
46198
|
+
open: o.value,
|
|
46199
|
+
"onUpdate:open": x[2] || (x[2] = (D) => o.value = D),
|
|
46200
|
+
trigger: "click",
|
|
46201
|
+
"overlay-style": s.value,
|
|
46202
|
+
placement: ((w = e.options) == null ? void 0 : w.placement) || "bottomLeft",
|
|
46203
|
+
onOpenChange: d,
|
|
46204
|
+
overlayClassName: "erMemoEditorContainer"
|
|
46205
|
+
}, {
|
|
46206
|
+
content: ge(() => {
|
|
46207
|
+
var D, O, N, C;
|
|
46208
|
+
return [
|
|
46209
|
+
Je("div", Eb, [
|
|
46210
|
+
(te(), xe(B, wr({
|
|
46211
|
+
value: l.value,
|
|
46212
|
+
"onUpdate:value": x[0] || (x[0] = (A) => l.value = A)
|
|
46213
|
+
}, Ee(a), {
|
|
46214
|
+
readonly: e.readonly,
|
|
46215
|
+
"allow-clear": e.readonly !== !0 && e.disabled !== !0,
|
|
46216
|
+
disabled: e.disabled,
|
|
46217
|
+
rows: ((D = Ee(a)) == null ? void 0 : D.rows) || 8,
|
|
46218
|
+
id: ((O = Ee(a)) == null ? void 0 : O.id) + "-PopoverTextarea",
|
|
46219
|
+
name: ((N = Ee(a)) == null ? void 0 : N.id) + "-PopoverTextarea",
|
|
46220
|
+
key: ((C = Ee(a)) == null ? void 0 : C.id) + "-PopoverTextarea"
|
|
46221
|
+
}), null, 16, ["value", "readonly", "allow-clear", "disabled", "rows", "id", "name"])),
|
|
46222
|
+
Je("div", _b, [
|
|
46223
|
+
e.readonly !== !0 && e.disabled !== !0 ? (te(), xe(L, {
|
|
46224
|
+
key: 0,
|
|
46225
|
+
type: "primary",
|
|
46226
|
+
class: "er-button",
|
|
46227
|
+
icon: nt(Ee(tl)),
|
|
46228
|
+
onClick: h
|
|
46229
|
+
}, {
|
|
46230
|
+
default: ge(() => [
|
|
46231
|
+
rr(St(Ee(I).Core.$t("ERX.Confirm") || "确认"), 1)
|
|
46232
|
+
]),
|
|
46233
|
+
_: 1
|
|
46234
|
+
}, 8, ["icon"])) : He("", !0),
|
|
46235
|
+
ke(L, {
|
|
46236
|
+
type: "primary",
|
|
46237
|
+
class: "er-button",
|
|
46238
|
+
icon: nt(Ee(ou)),
|
|
46239
|
+
onClick: E
|
|
46240
|
+
}, {
|
|
46241
|
+
default: ge(() => [
|
|
46242
|
+
rr(St(Ee(I).Core.$t("ERX.Cancel") || "取消"), 1)
|
|
46243
|
+
]),
|
|
46244
|
+
_: 1
|
|
46245
|
+
}, 8, ["icon"])
|
|
46246
|
+
])
|
|
46243
46247
|
])
|
|
46244
|
-
]
|
|
46245
|
-
|
|
46246
|
-
|
|
46247
|
-
|
|
46248
|
-
|
|
46249
|
-
|
|
46250
|
-
|
|
46251
|
-
|
|
46252
|
-
|
|
46253
|
-
|
|
46254
|
-
|
|
46255
|
-
|
|
46256
|
-
|
|
46257
|
-
|
|
46258
|
-
|
|
46259
|
-
|
|
46260
|
-
|
|
46261
|
-
|
|
46262
|
-
|
|
46263
|
-
|
|
46264
|
-
|
|
46265
|
-
|
|
46248
|
+
];
|
|
46249
|
+
}),
|
|
46250
|
+
default: ge(() => [
|
|
46251
|
+
ke(M, wr({
|
|
46252
|
+
value: u.value,
|
|
46253
|
+
"onUpdate:value": x[1] || (x[1] = (D) => u.value = D)
|
|
46254
|
+
}, Ee(a), {
|
|
46255
|
+
"allow-clear": e.readonly !== !0 && e.disabled !== !0,
|
|
46256
|
+
readOnly: e.readonly,
|
|
46257
|
+
disabled: e.disabled,
|
|
46258
|
+
ref_key: "inputRef",
|
|
46259
|
+
ref: i,
|
|
46260
|
+
onChange: f,
|
|
46261
|
+
onPressEnter: m,
|
|
46262
|
+
onFocus: _,
|
|
46263
|
+
onBlur: T
|
|
46264
|
+
}), null, 16, ["value", "allow-clear", "readOnly", "disabled"])
|
|
46265
|
+
]),
|
|
46266
|
+
_: 1
|
|
46267
|
+
}, 8, ["open", "overlay-style", "placement"])
|
|
46268
|
+
];
|
|
46269
|
+
}),
|
|
46266
46270
|
_: 1
|
|
46267
46271
|
}, 8, ["theme", "locale"]);
|
|
46268
46272
|
};
|
|
@@ -46418,8 +46422,8 @@ const Yb = xt({
|
|
|
46418
46422
|
emits: [
|
|
46419
46423
|
"layoutReady",
|
|
46420
46424
|
"configUpdate",
|
|
46421
|
-
"
|
|
46422
|
-
"
|
|
46425
|
+
"QueryClick",
|
|
46426
|
+
"DisplayAllClick",
|
|
46423
46427
|
"resetClick",
|
|
46424
46428
|
"loaded",
|
|
46425
46429
|
"toolbarClick",
|
|
@@ -46501,7 +46505,7 @@ const Yb = xt({
|
|
|
46501
46505
|
autoBind: e.autoBind,
|
|
46502
46506
|
initializeService: e.erFormHelperProp.InitialService,
|
|
46503
46507
|
visibleColumns: l.value ? P : void 0
|
|
46504
|
-
}), R.value === null && (R.value = Zn((await import("./ErLayoutDesign-
|
|
46508
|
+
}), R.value === null && (R.value = Zn((await import("./ErLayoutDesign-TLcXqsNO.js")).default));
|
|
46505
46509
|
}, Se = (X) => {
|
|
46506
46510
|
n("codeMirrorReady", X);
|
|
46507
46511
|
}, be = (X, he) => {
|
|
@@ -46675,7 +46679,7 @@ const Yb = xt({
|
|
|
46675
46679
|
}
|
|
46676
46680
|
}, er = (X) => {
|
|
46677
46681
|
X.key === "devMode" && setTimeout(async () => {
|
|
46678
|
-
a.value = !a.value, a.value && R.value === null && (R.value = Zn((await import("./ErLayoutDesign-
|
|
46682
|
+
a.value = !a.value, a.value && R.value === null && (R.value = Zn((await import("./ErLayoutDesign-TLcXqsNO.js")).default), z.value = {
|
|
46679
46683
|
partition: e.erFormHelperProp.ServerPartition,
|
|
46680
46684
|
companyCode: e.erFormHelperProp.CurrentConfigCompanyCode["TSI00GRIDCOLUMN" + e.configId],
|
|
46681
46685
|
formName: e.erFormHelperProp.FormName,
|
|
@@ -46874,7 +46878,7 @@ const Yb = xt({
|
|
|
46874
46878
|
break;
|
|
46875
46879
|
}
|
|
46876
46880
|
}, Le = (X) => {
|
|
46877
|
-
n("
|
|
46881
|
+
n("QueryClick", { ...X, erFormHelper: e.erFormHelperProp, data: g.value, configId: e.configId });
|
|
46878
46882
|
}, Ye = (X) => {
|
|
46879
46883
|
e.erFormHelperProp.setAllControlDefalutValue(e.configId, !1), n("resetClick", { ...X, erFormHelper: e.erFormHelperProp, data: g.value, configId: e.configId });
|
|
46880
46884
|
}, Fe = (X) => {
|
|
@@ -46922,7 +46926,7 @@ const Yb = xt({
|
|
|
46922
46926
|
});
|
|
46923
46927
|
!he && X.type === "clear" && X.data && X.field && X.data.set(X.field, "");
|
|
46924
46928
|
}, Be = (X) => {
|
|
46925
|
-
u.value = !u.value, X.displayAll = u.value, H.value = X.displayAll ? I.Core.$t("ERX.ErLayout.Collapse") || "隐藏更多" : I.Core.$t("ERX.ErLayout.Expand") || "显示更多", n("
|
|
46929
|
+
u.value = !u.value, X.displayAll = u.value, H.value = X.displayAll ? I.Core.$t("ERX.ErLayout.Collapse") || "隐藏更多" : I.Core.$t("ERX.ErLayout.Expand") || "显示更多", n("DisplayAllClick", { ...X, erFormHelper: e.erFormHelperProp, data: g.value, configId: e.configId });
|
|
46926
46930
|
}, mt = (X) => {
|
|
46927
46931
|
n("groupButtonClick", { ...X, erFormHelper: e.erFormHelperProp, data: g.value, configId: e.configId, expanded: X });
|
|
46928
46932
|
}, et = (X) => {
|
|
@@ -48110,8 +48114,9 @@ const Yb = xt({
|
|
|
48110
48114
|
mask: S(p.ITEM_CODE, "mask"),
|
|
48111
48115
|
spellcheck: S(p.ITEM_CODE, "spellCheck") === !0,
|
|
48112
48116
|
rows: S(p.ITEM_CODE, "rows"),
|
|
48117
|
+
options: p.extendOptions,
|
|
48113
48118
|
style: Ot({ width: "100%", color: S(p.ITEM_CODE, "TextForeColor"), backgroundColor: S(p.ITEM_CODE, "TextBackColor") })
|
|
48114
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "onChange", "onPressEnter", "onFocus", "onBlur", "name", "id", "readonly", "disabled", "placeholder", "mask", "spellcheck", "rows", "style"]))
|
|
48119
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "onChange", "onPressEnter", "onFocus", "onBlur", "name", "id", "readonly", "disabled", "placeholder", "mask", "spellcheck", "rows", "options", "style"]))
|
|
48115
48120
|
]),
|
|
48116
48121
|
_: 2
|
|
48117
48122
|
}, [
|
|
@@ -65613,4 +65618,4 @@ export {
|
|
|
65613
65618
|
m5 as x,
|
|
65614
65619
|
_5 as y
|
|
65615
65620
|
};
|
|
65616
|
-
//# sourceMappingURL=index-
|
|
65621
|
+
//# sourceMappingURL=index-DqTHrtUC.js.map
|