@baosight/er4j 0.1.18 → 0.1.20
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-DJ-bhq3g.js → ErAdvanceFilter-DXlp5Muc.js} +2 -2
- package/er4j-dist/{ErAdvanceFilter-DJ-bhq3g.js.map → ErAdvanceFilter-DXlp5Muc.js.map} +1 -1
- package/er4j-dist/{ErLayoutDesign-ArUZnezc.js → ErLayoutDesign-CDZWbhb5.js} +2 -2
- package/er4j-dist/{ErLayoutDesign-ArUZnezc.js.map → ErLayoutDesign-CDZWbhb5.js.map} +1 -1
- package/er4j-dist/{ErPopAttachment-D101CDT1.js → ErPopAttachment-SEZrb5Ay.js} +2 -2
- package/er4j-dist/{ErPopAttachment-D101CDT1.js.map → ErPopAttachment-SEZrb5Ay.js.map} +1 -1
- package/er4j-dist/{ErPopForm-DQlqNAD3.js → ErPopForm-DFl34lyp.js} +2 -2
- package/er4j-dist/{ErPopForm-DQlqNAD3.js.map → ErPopForm-DFl34lyp.js.map} +1 -1
- package/er4j-dist/ErPopFree-Dx2cLG3d.js +5 -0
- package/er4j-dist/ErPopFree-Dx2cLG3d.js.map +1 -0
- package/er4j-dist/ErPopQuery-DFeTLNnl.js +5 -0
- package/er4j-dist/ErPopQuery-DFeTLNnl.js.map +1 -0
- package/er4j-dist/ErPopRichEditor-BtKoFkiN.js +5 -0
- package/er4j-dist/ErPopRichEditor-BtKoFkiN.js.map +1 -0
- package/er4j-dist/ErPopTree-0-JHH7GG.js +5 -0
- package/er4j-dist/ErPopTree-0-JHH7GG.js.map +1 -0
- package/er4j-dist/{ErPopWindow-jhEir-gX.js → ErPopWindow-DR0gf6Xo.js} +2 -2
- package/er4j-dist/{ErPopWindow-jhEir-gX.js.map → ErPopWindow-DR0gf6Xo.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-HtZa_eng.js → index-B0-kI1cL.js} +25 -19
- package/er4j-dist/{index-HtZa_eng.js.map → index-B0-kI1cL.js.map} +1 -1
- package/package.json +1 -1
- package/er4j-dist/ErPopFree-DdNz0zCI.js +0 -5
- package/er4j-dist/ErPopFree-DdNz0zCI.js.map +0 -1
- package/er4j-dist/ErPopQuery-C3JVe1tf.js +0 -5
- package/er4j-dist/ErPopQuery-C3JVe1tf.js.map +0 -1
- package/er4j-dist/ErPopRichEditor-73MvyPIw.js +0 -5
- package/er4j-dist/ErPopRichEditor-73MvyPIw.js.map +0 -1
- package/er4j-dist/ErPopTree-B8kod3_Z.js +0 -5
- package/er4j-dist/ErPopTree-B8kod3_Z.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-BtKoFkiN.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-Dx2cLG3d.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-0-JHH7GG.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-DFeTLNnl.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-DFl34lyp.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-SEZrb5Ay.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
|
* 动态追加获取相关配置信息
|
|
@@ -40195,7 +40203,7 @@ let vd = class {
|
|
|
40195
40203
|
var o;
|
|
40196
40204
|
let a = 0;
|
|
40197
40205
|
const i = this.getGrid(e);
|
|
40198
|
-
return i ? (r instanceof Array ? a = Cr.mergeDataToGrid(r, i, n) : ((o = r.sys) == null ? void 0 : o.status) >= 0 ? a = Cr.mergeDataToGrid(r.getBlock(0).data, i, n) : r.data instanceof Array ? a = Cr.mergeDataToGrid(r.data, i, n) : r.getStatus instanceof Function && r.getStatus() >= 0 ? a = Cr.mergeDataToGrid(r.
|
|
40206
|
+
return i ? (r instanceof Array ? a = Cr.mergeDataToGrid(r, i, n) : ((o = r.sys) == null ? void 0 : o.status) >= 0 ? a = Cr.mergeDataToGrid(r.getBlock(0).data, i, n) : r.data instanceof Array ? a = Cr.mergeDataToGrid(r.data, i, n) : r.getStatus instanceof Function && r.getStatus() >= 0 ? a = Cr.mergeDataToGrid(r.getBlockByIndex(0).getMappedRows(), i, n) : r.getMappedRows instanceof Function ? a = Cr.mergeDataToGrid(r.getMappedRows(), i, n) : r.getMapData instanceof Function && (a = Cr.mergeDataToGrid(r.getMapData(), i, n)), this.autoBestFit(i)) : console.warn("ER: Attempting to bind data to a non-existent grid"), a;
|
|
40199
40207
|
}
|
|
40200
40208
|
/**
|
|
40201
40209
|
* 清空Grid数据
|
|
@@ -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-DXlp5Muc.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-DR0gf6Xo.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,
|
|
@@ -42949,11 +42957,9 @@ const KA = { style: { display: "inline-block" } }, JA = xt({
|
|
|
42949
42957
|
r("authButtonClick", f);
|
|
42950
42958
|
};
|
|
42951
42959
|
return tu(() => {
|
|
42952
|
-
var
|
|
42953
|
-
|
|
42954
|
-
|
|
42955
|
-
a.value = ((_ = (m = (E = t.menuFormInstance) == null ? void 0 : E.attrs) == null ? void 0 : m.__buttonsEi.getBlock(g)) == null ? void 0 : _.getMappedRows()) || [];
|
|
42956
|
-
} else (T = t.menuFormInstance) != null && T.authButtons && (a.value = ((F = t.menuFormInstance) == null ? void 0 : F.authButtons) || []);
|
|
42960
|
+
var h, E, m, _, T, F;
|
|
42961
|
+
const f = ((h = t.buttonRegionId) == null ? void 0 : h.trim()) || ((E = t.id) == null ? void 0 : E.trim()) || "";
|
|
42962
|
+
(f == null ? void 0 : f.trim().length) > 0 && ((_ = (m = t.menuFormInstance) == null ? void 0 : m.formButtons) != null && _[f]) && (a.value = ((F = (T = t.menuFormInstance) == null ? void 0 : T.formButtons) == null ? void 0 : F[f]) || []);
|
|
42957
42963
|
}), {
|
|
42958
42964
|
ER: I,
|
|
42959
42965
|
antdLocale: e,
|
|
@@ -44555,7 +44561,7 @@ const rE = /* @__PURE__ */ Yr(tb, [["render", nb]]), ab = {
|
|
|
44555
44561
|
itemCode: zt("designItemCode") || "",
|
|
44556
44562
|
autoBind: !1,
|
|
44557
44563
|
initializeService: e.erFormHelperProp.InitialService
|
|
44558
|
-
}), w.value === null && (w.value = Zn((await import("./ErLayoutDesign-
|
|
44564
|
+
}), w.value === null && (w.value = Zn((await import("./ErLayoutDesign-CDZWbhb5.js")).default));
|
|
44559
44565
|
}, Re = () => {
|
|
44560
44566
|
e.erFormHelperProp.setGridOptions(e.configId, "designOpen", !1, !0);
|
|
44561
44567
|
}, ve = () => {
|
|
@@ -44582,7 +44588,7 @@ const rE = /* @__PURE__ */ Yr(tb, [["render", nb]]), ab = {
|
|
|
44582
44588
|
itemCode: zt("designItemCode", u) || "",
|
|
44583
44589
|
autoBind: !1,
|
|
44584
44590
|
initializeService: e.erFormHelperProp.InitialService
|
|
44585
|
-
}), N.value === null && (N.value = Zn((await import("./ErLayoutDesign-
|
|
44591
|
+
}), N.value === null && (N.value = Zn((await import("./ErLayoutDesign-CDZWbhb5.js")).default));
|
|
44586
44592
|
}, qe = () => {
|
|
44587
44593
|
e.erFormHelperProp.setGridOptions(u, "designOpen", !1, !0);
|
|
44588
44594
|
}, Ne = () => {
|
|
@@ -46505,7 +46511,7 @@ const Yb = xt({
|
|
|
46505
46511
|
autoBind: e.autoBind,
|
|
46506
46512
|
initializeService: e.erFormHelperProp.InitialService,
|
|
46507
46513
|
visibleColumns: l.value ? P : void 0
|
|
46508
|
-
}), R.value === null && (R.value = Zn((await import("./ErLayoutDesign-
|
|
46514
|
+
}), R.value === null && (R.value = Zn((await import("./ErLayoutDesign-CDZWbhb5.js")).default));
|
|
46509
46515
|
}, Se = (X) => {
|
|
46510
46516
|
n("codeMirrorReady", X);
|
|
46511
46517
|
}, be = (X, he) => {
|
|
@@ -46679,7 +46685,7 @@ const Yb = xt({
|
|
|
46679
46685
|
}
|
|
46680
46686
|
}, er = (X) => {
|
|
46681
46687
|
X.key === "devMode" && setTimeout(async () => {
|
|
46682
|
-
a.value = !a.value, a.value && R.value === null && (R.value = Zn((await import("./ErLayoutDesign-
|
|
46688
|
+
a.value = !a.value, a.value && R.value === null && (R.value = Zn((await import("./ErLayoutDesign-CDZWbhb5.js")).default), z.value = {
|
|
46683
46689
|
partition: e.erFormHelperProp.ServerPartition,
|
|
46684
46690
|
companyCode: e.erFormHelperProp.CurrentConfigCompanyCode["TSI00GRIDCOLUMN" + e.configId],
|
|
46685
46691
|
formName: e.erFormHelperProp.FormName,
|
|
@@ -65618,4 +65624,4 @@ export {
|
|
|
65618
65624
|
m5 as x,
|
|
65619
65625
|
_5 as y
|
|
65620
65626
|
};
|
|
65621
|
-
//# sourceMappingURL=index-
|
|
65627
|
+
//# sourceMappingURL=index-B0-kI1cL.js.map
|