@baosight/er4j 0.1.17 → 0.1.19
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-ChkQzh-0.js → ErAdvanceFilter-CFmdudu-.js} +2 -2
- package/er4j-dist/{ErAdvanceFilter-ChkQzh-0.js.map → ErAdvanceFilter-CFmdudu-.js.map} +1 -1
- package/er4j-dist/{ErLayoutDesign-TLcXqsNO.js → ErLayoutDesign-eujcyxbB.js} +2 -2
- package/er4j-dist/{ErLayoutDesign-TLcXqsNO.js.map → ErLayoutDesign-eujcyxbB.js.map} +1 -1
- package/er4j-dist/{ErPopAttachment-UoTv8Qlb.js → ErPopAttachment-BFlOQl6t.js} +2 -2
- package/er4j-dist/{ErPopAttachment-UoTv8Qlb.js.map → ErPopAttachment-BFlOQl6t.js.map} +1 -1
- package/er4j-dist/{ErPopForm-PKHDaqs4.js → ErPopForm-crQu8tIn.js} +2 -2
- package/er4j-dist/{ErPopForm-PKHDaqs4.js.map → ErPopForm-crQu8tIn.js.map} +1 -1
- package/er4j-dist/ErPopFree-D4XMPer7.js +5 -0
- package/er4j-dist/ErPopFree-D4XMPer7.js.map +1 -0
- package/er4j-dist/ErPopQuery-BoYF0uoI.js +5 -0
- package/er4j-dist/ErPopQuery-BoYF0uoI.js.map +1 -0
- package/er4j-dist/ErPopRichEditor-BN_06Rj_.js +5 -0
- package/er4j-dist/ErPopRichEditor-BN_06Rj_.js.map +1 -0
- package/er4j-dist/ErPopTree-B7R1oBgi.js +5 -0
- package/er4j-dist/ErPopTree-B7R1oBgi.js.map +1 -0
- package/er4j-dist/{ErPopWindow-Btm0GoHD.js → ErPopWindow-KOoSvDeJ.js} +2 -2
- package/er4j-dist/{ErPopWindow-Btm0GoHD.js.map → ErPopWindow-KOoSvDeJ.js.map} +1 -1
- package/er4j-dist/er4j.es.js +1 -1
- package/er4j-dist/er4j.umd.js +2 -2
- package/er4j-dist/er4j.umd.js.map +1 -1
- package/er4j-dist/{index-DqTHrtUC.js → index-DW2G-lZd.js} +22 -14
- package/er4j-dist/{index-DqTHrtUC.js.map → index-DW2G-lZd.js.map} +1 -1
- package/package.json +1 -1
- package/er4j-dist/ErPopFree-DLr4CkBb.js +0 -5
- package/er4j-dist/ErPopFree-DLr4CkBb.js.map +0 -1
- package/er4j-dist/ErPopQuery-QJKAaxJw.js +0 -5
- package/er4j-dist/ErPopQuery-QJKAaxJw.js.map +0 -1
- package/er4j-dist/ErPopRichEditor-eeZ0KxK6.js +0 -5
- package/er4j-dist/ErPopRichEditor-eeZ0KxK6.js.map +0 -1
- package/er4j-dist/ErPopTree-CpjyR-TF.js +0 -5
- package/er4j-dist/ErPopTree-CpjyR-TF.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-BN_06Rj_.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-D4XMPer7.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-B7R1oBgi.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-BoYF0uoI.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-crQu8tIn.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-BFlOQl6t.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,
|
|
@@ -32774,6 +32774,14 @@ let vd = class {
|
|
|
32774
32774
|
})) : console.error("ER: No view configuration information found");
|
|
32775
32775
|
}
|
|
32776
32776
|
setMenuFormInstance(r) {
|
|
32777
|
+
var e, n, a, i, o, l, s, c, u;
|
|
32778
|
+
if (r) {
|
|
32779
|
+
const d = (e = r == null ? void 0 : r.attrs) == null ? void 0 : e.__eiInfo;
|
|
32780
|
+
this._currentFormRegitInfo.formEname = (n = d == null ? void 0 : d.extAttr) == null ? void 0 : n.efFormEname, this._currentFormRegitInfo.formCname = (a = d == null ? void 0 : d.extAttr) == null ? void 0 : a.efFormCname, this._currentFormRegitInfo.formLoadPath = (i = d == null ? void 0 : d.extAttr) == null ? void 0 : i.efFormLoadPath, this._currentFormRegitInfo.formInfo = d == null ? void 0 : d.extAttr, this._currentFormRegitInfo.formQueryParams = G.getQueryParams((o = d == null ? void 0 : d.extAttr) == null ? void 0 : o.efFormLoadPath), this._currentFormRegitInfo.formButtons = {}, (s = (l = r == null ? void 0 : r.attrs) == null ? void 0 : l.__buttonsEi) != null && s.blocks && Object.keys((u = (c = r == null ? void 0 : r.attrs) == null ? void 0 : c.__buttonsEi) == null ? void 0 : u.blocks).forEach((f) => {
|
|
32781
|
+
var h, E;
|
|
32782
|
+
this._currentFormRegitInfo.formButtons[f] = (E = (h = r == null ? void 0 : r.attrs) == null ? void 0 : h.__buttonsEi) == null ? void 0 : E.getBlock(f).getMappedRows(), this._formAuthButtons[f] = this._currentFormRegitInfo.formButtons[f];
|
|
32783
|
+
});
|
|
32784
|
+
}
|
|
32777
32785
|
}
|
|
32778
32786
|
/**
|
|
32779
32787
|
* 动态追加获取相关配置信息
|
|
@@ -36792,7 +36800,7 @@ let vd = class {
|
|
|
36792
36800
|
const g = h ? JSON.parse(h) : {};
|
|
36793
36801
|
h = JSON.stringify({ ...g, structureOptions: E });
|
|
36794
36802
|
}
|
|
36795
|
-
const T = Ct.buildMap([{ ...d, EXT_OPTIONS: h }], d.QUERY_TYPE), F = await En.callServiceEx(pt.saveDevConfigService, T, { partition: i || this._serverPartition });
|
|
36803
|
+
const T = Ct.buildMap([{ ...d, EXT_OPTIONS: h }], d.QUERY_TYPE.toUpperCase()), F = await En.callServiceEx(pt.saveDevConfigService, T, { partition: i || this._serverPartition });
|
|
36796
36804
|
return F.sysFlag < 0 ? G.messageError(F.sysMsg) : G.messageSuccess(G.$t("ERX.OperateSuccess") || "操作成功!"), F.sysFlag >= 0;
|
|
36797
36805
|
}), c.setOptions({
|
|
36798
36806
|
title: d.QUERY_TYPE === "tsi00formext" ? `Form Extend Options [${d.FORM_NAME}]` : d.QUERY_TYPE === "tsi00gridviewext" ? `View Extend Options [${d.FORM_NAME}.${d.FUNCTION_ID}]` : `Item Extend Options [${d.FORM_NAME}.${d.FUNCTION_ID}.${u}]`
|
|
@@ -40439,7 +40447,7 @@ class jm {
|
|
|
40439
40447
|
var a;
|
|
40440
40448
|
if (this._app)
|
|
40441
40449
|
this._windowOpened.value = !0;
|
|
40442
|
-
else if (this._component = await import("./ErAdvanceFilter-
|
|
40450
|
+
else if (this._component = await import("./ErAdvanceFilter-CFmdudu-.js"), (a = this._component) != null && a.default && this._gridConfigId) {
|
|
40443
40451
|
this._filterDataStructure = await Bn.createDataTable(this._partition, "DataSet_SI000", "TSI00FORMVALUES");
|
|
40444
40452
|
const i = Oi(this._component.default, {
|
|
40445
40453
|
popAdvanceFilterHelperProps: this,
|
|
@@ -41091,7 +41099,7 @@ let XA = class extends hu {
|
|
|
41091
41099
|
return;
|
|
41092
41100
|
}
|
|
41093
41101
|
if (e && this.setEvent("ok", e), n && this.setEvent("cancel", n), r && !this._popWindowComponent) {
|
|
41094
|
-
this._popWindowComponent = await import("./ErPopWindow-
|
|
41102
|
+
this._popWindowComponent = await import("./ErPopWindow-KOoSvDeJ.js"), (o = this._popWindowComponent) != null && o.default && (this._popWindowComponent = this._popWindowComponent.default);
|
|
41095
41103
|
const l = Oi(this._popWindowComponent, {
|
|
41096
41104
|
popWindowHelperProp: this,
|
|
41097
41105
|
component: r,
|
|
@@ -44555,7 +44563,7 @@ const rE = /* @__PURE__ */ Yr(tb, [["render", nb]]), ab = {
|
|
|
44555
44563
|
itemCode: zt("designItemCode") || "",
|
|
44556
44564
|
autoBind: !1,
|
|
44557
44565
|
initializeService: e.erFormHelperProp.InitialService
|
|
44558
|
-
}), w.value === null && (w.value = Zn((await import("./ErLayoutDesign-
|
|
44566
|
+
}), w.value === null && (w.value = Zn((await import("./ErLayoutDesign-eujcyxbB.js")).default));
|
|
44559
44567
|
}, Re = () => {
|
|
44560
44568
|
e.erFormHelperProp.setGridOptions(e.configId, "designOpen", !1, !0);
|
|
44561
44569
|
}, ve = () => {
|
|
@@ -44582,7 +44590,7 @@ const rE = /* @__PURE__ */ Yr(tb, [["render", nb]]), ab = {
|
|
|
44582
44590
|
itemCode: zt("designItemCode", u) || "",
|
|
44583
44591
|
autoBind: !1,
|
|
44584
44592
|
initializeService: e.erFormHelperProp.InitialService
|
|
44585
|
-
}), N.value === null && (N.value = Zn((await import("./ErLayoutDesign-
|
|
44593
|
+
}), N.value === null && (N.value = Zn((await import("./ErLayoutDesign-eujcyxbB.js")).default));
|
|
44586
44594
|
}, qe = () => {
|
|
44587
44595
|
e.erFormHelperProp.setGridOptions(u, "designOpen", !1, !0);
|
|
44588
44596
|
}, Ne = () => {
|
|
@@ -46505,7 +46513,7 @@ const Yb = xt({
|
|
|
46505
46513
|
autoBind: e.autoBind,
|
|
46506
46514
|
initializeService: e.erFormHelperProp.InitialService,
|
|
46507
46515
|
visibleColumns: l.value ? P : void 0
|
|
46508
|
-
}), R.value === null && (R.value = Zn((await import("./ErLayoutDesign-
|
|
46516
|
+
}), R.value === null && (R.value = Zn((await import("./ErLayoutDesign-eujcyxbB.js")).default));
|
|
46509
46517
|
}, Se = (X) => {
|
|
46510
46518
|
n("codeMirrorReady", X);
|
|
46511
46519
|
}, be = (X, he) => {
|
|
@@ -46679,7 +46687,7 @@ const Yb = xt({
|
|
|
46679
46687
|
}
|
|
46680
46688
|
}, er = (X) => {
|
|
46681
46689
|
X.key === "devMode" && setTimeout(async () => {
|
|
46682
|
-
a.value = !a.value, a.value && R.value === null && (R.value = Zn((await import("./ErLayoutDesign-
|
|
46690
|
+
a.value = !a.value, a.value && R.value === null && (R.value = Zn((await import("./ErLayoutDesign-eujcyxbB.js")).default), z.value = {
|
|
46683
46691
|
partition: e.erFormHelperProp.ServerPartition,
|
|
46684
46692
|
companyCode: e.erFormHelperProp.CurrentConfigCompanyCode["TSI00GRIDCOLUMN" + e.configId],
|
|
46685
46693
|
formName: e.erFormHelperProp.FormName,
|
|
@@ -65618,4 +65626,4 @@ export {
|
|
|
65618
65626
|
m5 as x,
|
|
65619
65627
|
_5 as y
|
|
65620
65628
|
};
|
|
65621
|
-
//# sourceMappingURL=index-
|
|
65629
|
+
//# sourceMappingURL=index-DW2G-lZd.js.map
|