@baosight/er4j 0.1.19 → 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.
Files changed (32) hide show
  1. package/er4j-dist/{ErAdvanceFilter-CFmdudu-.js → ErAdvanceFilter-DXlp5Muc.js} +2 -2
  2. package/er4j-dist/{ErAdvanceFilter-CFmdudu-.js.map → ErAdvanceFilter-DXlp5Muc.js.map} +1 -1
  3. package/er4j-dist/{ErLayoutDesign-eujcyxbB.js → ErLayoutDesign-CDZWbhb5.js} +2 -2
  4. package/er4j-dist/{ErLayoutDesign-eujcyxbB.js.map → ErLayoutDesign-CDZWbhb5.js.map} +1 -1
  5. package/er4j-dist/{ErPopAttachment-BFlOQl6t.js → ErPopAttachment-SEZrb5Ay.js} +2 -2
  6. package/er4j-dist/{ErPopAttachment-BFlOQl6t.js.map → ErPopAttachment-SEZrb5Ay.js.map} +1 -1
  7. package/er4j-dist/{ErPopForm-crQu8tIn.js → ErPopForm-DFl34lyp.js} +2 -2
  8. package/er4j-dist/{ErPopForm-crQu8tIn.js.map → ErPopForm-DFl34lyp.js.map} +1 -1
  9. package/er4j-dist/ErPopFree-Dx2cLG3d.js +5 -0
  10. package/er4j-dist/ErPopFree-Dx2cLG3d.js.map +1 -0
  11. package/er4j-dist/ErPopQuery-DFeTLNnl.js +5 -0
  12. package/er4j-dist/ErPopQuery-DFeTLNnl.js.map +1 -0
  13. package/er4j-dist/ErPopRichEditor-BtKoFkiN.js +5 -0
  14. package/er4j-dist/ErPopRichEditor-BtKoFkiN.js.map +1 -0
  15. package/er4j-dist/ErPopTree-0-JHH7GG.js +5 -0
  16. package/er4j-dist/ErPopTree-0-JHH7GG.js.map +1 -0
  17. package/er4j-dist/{ErPopWindow-KOoSvDeJ.js → ErPopWindow-DR0gf6Xo.js} +2 -2
  18. package/er4j-dist/{ErPopWindow-KOoSvDeJ.js.map → ErPopWindow-DR0gf6Xo.js.map} +1 -1
  19. package/er4j-dist/er4j.es.js +1 -1
  20. package/er4j-dist/er4j.umd.js +1 -1
  21. package/er4j-dist/er4j.umd.js.map +1 -1
  22. package/er4j-dist/{index-DW2G-lZd.js → index-B0-kI1cL.js} +17 -19
  23. package/er4j-dist/{index-DW2G-lZd.js.map → index-B0-kI1cL.js.map} +1 -1
  24. package/package.json +1 -1
  25. package/er4j-dist/ErPopFree-D4XMPer7.js +0 -5
  26. package/er4j-dist/ErPopFree-D4XMPer7.js.map +0 -1
  27. package/er4j-dist/ErPopQuery-BoYF0uoI.js +0 -5
  28. package/er4j-dist/ErPopQuery-BoYF0uoI.js.map +0 -1
  29. package/er4j-dist/ErPopRichEditor-BN_06Rj_.js +0 -5
  30. package/er4j-dist/ErPopRichEditor-BN_06Rj_.js.map +0 -1
  31. package/er4j-dist/ErPopTree-B7R1oBgi.js +0 -5
  32. package/er4j-dist/ErPopTree-B7R1oBgi.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-BN_06Rj_.js"), (i = this._component) != null && i.default && (this._component = this._component.default));
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-D4XMPer7.js"), (u = this._component) != null && u.default && (this._component = this._component.default))), this.doEvent("initial", this), this._initializeFlag = 1;
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-B7R1oBgi.js"), (o = this._component) != null && o.default && (this._component = this._component.default)));
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-BoYF0uoI.js"), (c = this._component) != null && c.default && (this._component = this._component.default))), this.doEvent("initial", this), this.FormConfigQueryService.trim().length === 0) {
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-crQu8tIn.js"), (u = this._component) != null && u.default && (this._component = this._component.default))), this._initializeFlag = 1, this.doEvent("initial", this);
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-BFlOQl6t.js"), (e = this._component) != null && e.default && (this._component = this._component.default)));
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,
@@ -40203,7 +40203,7 @@ let vd = class {
40203
40203
  var o;
40204
40204
  let a = 0;
40205
40205
  const i = this.getGrid(e);
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.getBlock(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;
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;
40207
40207
  }
40208
40208
  /**
40209
40209
  * 清空Grid数据
@@ -40447,7 +40447,7 @@ class jm {
40447
40447
  var a;
40448
40448
  if (this._app)
40449
40449
  this._windowOpened.value = !0;
40450
- else if (this._component = await import("./ErAdvanceFilter-CFmdudu-.js"), (a = this._component) != null && a.default && this._gridConfigId) {
40450
+ else if (this._component = await import("./ErAdvanceFilter-DXlp5Muc.js"), (a = this._component) != null && a.default && this._gridConfigId) {
40451
40451
  this._filterDataStructure = await Bn.createDataTable(this._partition, "DataSet_SI000", "TSI00FORMVALUES");
40452
40452
  const i = Oi(this._component.default, {
40453
40453
  popAdvanceFilterHelperProps: this,
@@ -41099,7 +41099,7 @@ let XA = class extends hu {
41099
41099
  return;
41100
41100
  }
41101
41101
  if (e && this.setEvent("ok", e), n && this.setEvent("cancel", n), r && !this._popWindowComponent) {
41102
- this._popWindowComponent = await import("./ErPopWindow-KOoSvDeJ.js"), (o = this._popWindowComponent) != null && o.default && (this._popWindowComponent = this._popWindowComponent.default);
41102
+ this._popWindowComponent = await import("./ErPopWindow-DR0gf6Xo.js"), (o = this._popWindowComponent) != null && o.default && (this._popWindowComponent = this._popWindowComponent.default);
41103
41103
  const l = Oi(this._popWindowComponent, {
41104
41104
  popWindowHelperProp: this,
41105
41105
  component: r,
@@ -42957,11 +42957,9 @@ const KA = { style: { display: "inline-block" } }, JA = xt({
42957
42957
  r("authButtonClick", f);
42958
42958
  };
42959
42959
  return tu(() => {
42960
- var f, h, E, m, _, T, F;
42961
- if ((h = (f = t.menuFormInstance) == null ? void 0 : f.attrs) != null && h.__buttonsEi) {
42962
- const g = t.buttonRegionId || t.id;
42963
- a.value = ((_ = (m = (E = t.menuFormInstance) == null ? void 0 : E.attrs) == null ? void 0 : m.__buttonsEi.getBlock(g)) == null ? void 0 : _.getMappedRows()) || [];
42964
- } 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]) || []);
42965
42963
  }), {
42966
42964
  ER: I,
42967
42965
  antdLocale: e,
@@ -44563,7 +44561,7 @@ const rE = /* @__PURE__ */ Yr(tb, [["render", nb]]), ab = {
44563
44561
  itemCode: zt("designItemCode") || "",
44564
44562
  autoBind: !1,
44565
44563
  initializeService: e.erFormHelperProp.InitialService
44566
- }), w.value === null && (w.value = Zn((await import("./ErLayoutDesign-eujcyxbB.js")).default));
44564
+ }), w.value === null && (w.value = Zn((await import("./ErLayoutDesign-CDZWbhb5.js")).default));
44567
44565
  }, Re = () => {
44568
44566
  e.erFormHelperProp.setGridOptions(e.configId, "designOpen", !1, !0);
44569
44567
  }, ve = () => {
@@ -44590,7 +44588,7 @@ const rE = /* @__PURE__ */ Yr(tb, [["render", nb]]), ab = {
44590
44588
  itemCode: zt("designItemCode", u) || "",
44591
44589
  autoBind: !1,
44592
44590
  initializeService: e.erFormHelperProp.InitialService
44593
- }), N.value === null && (N.value = Zn((await import("./ErLayoutDesign-eujcyxbB.js")).default));
44591
+ }), N.value === null && (N.value = Zn((await import("./ErLayoutDesign-CDZWbhb5.js")).default));
44594
44592
  }, qe = () => {
44595
44593
  e.erFormHelperProp.setGridOptions(u, "designOpen", !1, !0);
44596
44594
  }, Ne = () => {
@@ -46513,7 +46511,7 @@ const Yb = xt({
46513
46511
  autoBind: e.autoBind,
46514
46512
  initializeService: e.erFormHelperProp.InitialService,
46515
46513
  visibleColumns: l.value ? P : void 0
46516
- }), R.value === null && (R.value = Zn((await import("./ErLayoutDesign-eujcyxbB.js")).default));
46514
+ }), R.value === null && (R.value = Zn((await import("./ErLayoutDesign-CDZWbhb5.js")).default));
46517
46515
  }, Se = (X) => {
46518
46516
  n("codeMirrorReady", X);
46519
46517
  }, be = (X, he) => {
@@ -46687,7 +46685,7 @@ const Yb = xt({
46687
46685
  }
46688
46686
  }, er = (X) => {
46689
46687
  X.key === "devMode" && setTimeout(async () => {
46690
- a.value = !a.value, a.value && R.value === null && (R.value = Zn((await import("./ErLayoutDesign-eujcyxbB.js")).default), z.value = {
46688
+ a.value = !a.value, a.value && R.value === null && (R.value = Zn((await import("./ErLayoutDesign-CDZWbhb5.js")).default), z.value = {
46691
46689
  partition: e.erFormHelperProp.ServerPartition,
46692
46690
  companyCode: e.erFormHelperProp.CurrentConfigCompanyCode["TSI00GRIDCOLUMN" + e.configId],
46693
46691
  formName: e.erFormHelperProp.FormName,
@@ -65626,4 +65624,4 @@ export {
65626
65624
  m5 as x,
65627
65625
  _5 as y
65628
65626
  };
65629
- //# sourceMappingURL=index-DW2G-lZd.js.map
65627
+ //# sourceMappingURL=index-B0-kI1cL.js.map