@baosight/er4j 0.1.28 → 0.1.29

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-BXA8ThMy.js → ErAdvanceFilter-CktxlJpU.js} +2 -2
  2. package/er4j-dist/{ErAdvanceFilter-BXA8ThMy.js.map → ErAdvanceFilter-CktxlJpU.js.map} +1 -1
  3. package/er4j-dist/{ErLayoutDesign-dZllKKiy.js → ErLayoutDesign-CWGioPWo.js} +2 -2
  4. package/er4j-dist/{ErLayoutDesign-dZllKKiy.js.map → ErLayoutDesign-CWGioPWo.js.map} +1 -1
  5. package/er4j-dist/{ErPopAttachment-CVP-orhW.js → ErPopAttachment-BYk8l6ry.js} +2 -2
  6. package/er4j-dist/{ErPopAttachment-CVP-orhW.js.map → ErPopAttachment-BYk8l6ry.js.map} +1 -1
  7. package/er4j-dist/{ErPopForm-CBAFhaJa.js → ErPopForm-BCcNlduH.js} +2 -2
  8. package/er4j-dist/{ErPopForm-CBAFhaJa.js.map → ErPopForm-BCcNlduH.js.map} +1 -1
  9. package/er4j-dist/ErPopFree-6n2q-9wE.js +5 -0
  10. package/er4j-dist/ErPopFree-6n2q-9wE.js.map +1 -0
  11. package/er4j-dist/ErPopQuery-DfG5qZ-f.js +5 -0
  12. package/er4j-dist/ErPopQuery-DfG5qZ-f.js.map +1 -0
  13. package/er4j-dist/ErPopRichEditor-B6f0cEZy.js +5 -0
  14. package/er4j-dist/ErPopRichEditor-B6f0cEZy.js.map +1 -0
  15. package/er4j-dist/ErPopTree-D89uf-2A.js +5 -0
  16. package/er4j-dist/ErPopTree-D89uf-2A.js.map +1 -0
  17. package/er4j-dist/{ErPopWindow-lc1cu33J.js → ErPopWindow-D8U-_Ak_.js} +2 -2
  18. package/er4j-dist/{ErPopWindow-lc1cu33J.js.map → ErPopWindow-D8U-_Ak_.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-C7g5czhs.js → index-V_nUapgz.js} +15 -23
  23. package/er4j-dist/{index-C7g5czhs.js.map → index-V_nUapgz.js.map} +1 -1
  24. package/package.json +1 -1
  25. package/er4j-dist/ErPopFree-ClLSY7JN.js +0 -5
  26. package/er4j-dist/ErPopFree-ClLSY7JN.js.map +0 -1
  27. package/er4j-dist/ErPopQuery-BCrJL6FO.js +0 -5
  28. package/er4j-dist/ErPopQuery-BCrJL6FO.js.map +0 -1
  29. package/er4j-dist/ErPopRichEditor-8O4rgwvL.js +0 -5
  30. package/er4j-dist/ErPopRichEditor-8O4rgwvL.js.map +0 -1
  31. package/er4j-dist/ErPopTree-h3MF45nA.js +0 -5
  32. package/er4j-dist/ErPopTree-h3MF45nA.js.map +0 -1
@@ -29126,20 +29126,12 @@ let zn = (ds = class extends zh {
29126
29126
  var l, s, c, u, d;
29127
29127
  const a = [], o = We(this, Yt).length > 0;
29128
29128
  if (n && (Or(this, Yt, []), Or(this, aa, []), Or(this, Si, []), Or(this, Ca, []), Or(this, _a, {}), Or(this, Na, {})), t !== void 0 && t.length > 0 && ((l = this.options) != null && l.schema)) {
29129
- const f = this.options.schema, h = Object.keys(t[0]), p = Object.keys(f);
29130
- console.log("dataFields", h), console.log("schemaFields", p);
29131
- const g = p.filter((k) => h.includes(k) || h.includes(U.camelCase(k)));
29132
- p.forEach((k) => {
29133
- console.log("field", k, U.camelCase(k));
29134
- });
29135
- const v = p.filter((k) => !h.includes(k) && !h.includes(U.camelCase(k)));
29136
- console.log("existFields", g), console.log("notExistFields", v);
29137
- const C = /* @__PURE__ */ new Map(), w = U.toString((c = (s = We(this, Wn)) == null ? void 0 : s.hierarchy) == null ? void 0 : c.primaryField, !0), E = U.toString((d = (u = We(this, Wn)) == null ? void 0 : u.hierarchy) == null ? void 0 : d.parentField, !0), S = w.length > 0 && E.length > 0 && f[w] && f[E];
29129
+ const f = this.options.schema, h = Object.keys(t[0]), p = Object.keys(f), g = p.filter((k) => h.includes(k) || h.includes(U.camelCase(k))), v = p.filter((k) => !h.includes(k) && !h.includes(U.camelCase(k))), C = /* @__PURE__ */ new Map(), w = U.toString((c = (s = We(this, Wn)) == null ? void 0 : s.hierarchy) == null ? void 0 : c.primaryField, !0), E = U.toString((d = (u = We(this, Wn)) == null ? void 0 : u.hierarchy) == null ? void 0 : d.parentField, !0), S = w.length > 0 && E.length > 0 && f[w] && f[E];
29138
29130
  for (let k = 0; k < t.length; k++) {
29139
29131
  const R = new vn(void 0, void 0, this);
29140
29132
  R.setSchema(f, !1), g.forEach((I) => {
29141
29133
  var y, T, A;
29142
- switch (console.log("field", I, t[k][I], t[k][U.camelCase(I)]), f[I].type) {
29134
+ switch (f[I].type) {
29143
29135
  case "datetime":
29144
29136
  case "time":
29145
29137
  R[I] = U.toDateTime(t[k][I] ?? U.toDateTime(t[k][U.camelCase(I)], "Dayjs"));
@@ -29697,7 +29689,7 @@ let zn = (ds = class extends zh {
29697
29689
  if (this._app)
29698
29690
  this._windowOpened.value = !0;
29699
29691
  else {
29700
- this._component || this._component || (this._component = await import("./ErPopRichEditor-8O4rgwvL.js"), (a = this._component) != null && a.default && (this._component = this._component.default));
29692
+ this._component || this._component || (this._component = await import("./ErPopRichEditor-B6f0cEZy.js"), (a = this._component) != null && a.default && (this._component = this._component.default));
29701
29693
  const l = sl(this._component, {
29702
29694
  popRichEditorProps: this,
29703
29695
  options: this._options,
@@ -30028,7 +30020,7 @@ let zn = (ds = class extends zh {
30028
30020
  };
30029
30021
  t && this.setEvent("ok", t), n && this.setEvent("cancel", n), this.app ? o() : this.Initialize().then(async (l) => {
30030
30022
  var u;
30031
- this._component || (this._component = e, this._component || (this._component = await import("./ErPopFree-ClLSY7JN.js"), (u = this._component) != null && u.default && (this._component = this._component.default))), this.doEvent("initial", this), this._initializeFlag = 1;
30023
+ this._component || (this._component = e, this._component || (this._component = await import("./ErPopFree-6n2q-9wE.js"), (u = this._component) != null && u.default && (this._component = this._component.default))), this.doEvent("initial", this), this._initializeFlag = 1;
30032
30024
  const s = sl(this._component, {
30033
30025
  popFreeHelperProp: this,
30034
30026
  formWidth: this.getFormOption("width") ?? this.getFormOption("formWidth"),
@@ -30233,7 +30225,7 @@ let kT = class {
30233
30225
  if (t && this.setEvent("ok", t), n && this.setEvent("cancel", n), this._app)
30234
30226
  this._windowOpened.value = !0;
30235
30227
  else {
30236
- this._component || (this._component = e, this._component || (this._component = await import("./ErPopTree-h3MF45nA.js"), (o = this._component) != null && o.default && (this._component = this._component.default)));
30228
+ this._component || (this._component = e, this._component || (this._component = await import("./ErPopTree-D89uf-2A.js"), (o = this._component) != null && o.default && (this._component = this._component.default)));
30237
30229
  const l = sl(this._component, {
30238
30230
  popTreeHelperProp: this
30239
30231
  });
@@ -30615,7 +30607,7 @@ let NT = class {
30615
30607
  return new Promise((i, a) => {
30616
30608
  t && this.setEvent("ok", t), n && this.setEvent("cancel", n), this.app ? this.WindowOpened.value = !0 : this.Initialize().then(async (o) => {
30617
30609
  var c, u, d;
30618
- if (this._component || (this._component = e, this._component || (this._component = await import("./ErPopQuery-BCrJL6FO.js"), (c = this._component) != null && c.default && (this._component = this._component.default))), this.doEvent("initial", this), this.FormConfigQueryService.trim().length === 0) {
30610
+ if (this._component || (this._component = e, this._component || (this._component = await import("./ErPopQuery-DfG5qZ-f.js"), (c = this._component) != null && c.default && (this._component = this._component.default))), this.doEvent("initial", this), this.FormConfigQueryService.trim().length === 0) {
30619
30611
  const f = this._formHelper.getFormButtonConfigInfo("btnQuery");
30620
30612
  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()) || "";
30621
30613
  }
@@ -30980,7 +30972,7 @@ let dL = class {
30980
30972
  };
30981
30973
  t && this.setEvent("save", t), n && this.setEvent("close", n), this.app ? o() : this.Initialize().then(async (l) => {
30982
30974
  var u;
30983
- this._component || (this._component = e, this._component || (this._component = await import("./ErPopForm-CBAFhaJa.js"), (u = this._component) != null && u.default && (this._component = this._component.default))), this._initializeFlag = 1, this.doEvent("initial", this);
30975
+ this._component || (this._component = e, this._component || (this._component = await import("./ErPopForm-BCcNlduH.js"), (u = this._component) != null && u.default && (this._component = this._component.default))), this._initializeFlag = 1, this.doEvent("initial", this);
30984
30976
  const s = sl(this._component, {
30985
30977
  popFormHelperProp: this,
30986
30978
  formWidth: this.getFormOption("width"),
@@ -32598,7 +32590,7 @@ let k0 = class {
32598
32590
  if (this._app)
32599
32591
  this._options.refreshKey = U.guid(), this._popWindowOpened.value = !0;
32600
32592
  else {
32601
- this._component || (this._component = e, this._component || (this._component = await import("./ErPopAttachment-CVP-orhW.js"), (t = this._component) != null && t.default && (this._component = this._component.default)));
32593
+ this._component || (this._component = e, this._component || (this._component = await import("./ErPopAttachment-BYk8l6ry.js"), (t = this._component) != null && t.default && (this._component = this._component.default)));
32602
32594
  const n = sl(this._component, {
32603
32595
  attachmentHelperProps: this,
32604
32596
  formWidth: -1,
@@ -40521,7 +40513,7 @@ class PT {
40521
40513
  var i;
40522
40514
  if (this._app)
40523
40515
  this._windowOpened.value = !0;
40524
- else if (this._component = await import("./ErAdvanceFilter-BXA8ThMy.js"), (i = this._component) != null && i.default && this._gridConfigId) {
40516
+ else if (this._component = await import("./ErAdvanceFilter-CktxlJpU.js"), (i = this._component) != null && i.default && this._gridConfigId) {
40525
40517
  this._filterDataStructure = await zn.createDataTable(this._partition, "DataSet_SI000", "TSI00FORMVALUES");
40526
40518
  const a = sl(this._component.default, {
40527
40519
  popAdvanceFilterHelperProps: this,
@@ -41177,7 +41169,7 @@ let wB = class extends zh {
41177
41169
  return;
41178
41170
  }
41179
41171
  if (t && this.setEvent("ok", t), n && this.setEvent("cancel", n), e && !this._popWindowComponent) {
41180
- this._popWindowComponent = await import("./ErPopWindow-lc1cu33J.js"), (o = this._popWindowComponent) != null && o.default && (this._popWindowComponent = this._popWindowComponent.default);
41172
+ this._popWindowComponent = await import("./ErPopWindow-D8U-_Ak_.js"), (o = this._popWindowComponent) != null && o.default && (this._popWindowComponent = this._popWindowComponent.default);
41181
41173
  const l = sl(this._popWindowComponent, {
41182
41174
  popWindowHelperProp: this,
41183
41175
  component: e,
@@ -44665,7 +44657,7 @@ const VT = /* @__PURE__ */ pn(V4, [["render", W4]]), z4 = {
44665
44657
  itemCode: vt("designItemCode") || "",
44666
44658
  autoBind: !1,
44667
44659
  initializeService: t.erFormHelperProp.InitialService
44668
- }), A.value === null && (A.value = xi((await import("./ErLayoutDesign-dZllKKiy.js")).default));
44660
+ }), A.value === null && (A.value = xi((await import("./ErLayoutDesign-CWGioPWo.js")).default));
44669
44661
  }, Le = () => {
44670
44662
  t.erFormHelperProp.setGridOptions(t.configId, "designOpen", !1, !0);
44671
44663
  }, _e = () => {
@@ -44692,7 +44684,7 @@ const VT = /* @__PURE__ */ pn(V4, [["render", W4]]), z4 = {
44692
44684
  itemCode: vt("designItemCode", u) || "",
44693
44685
  autoBind: !1,
44694
44686
  initializeService: t.erFormHelperProp.InitialService
44695
- }), P.value === null && (P.value = xi((await import("./ErLayoutDesign-dZllKKiy.js")).default));
44687
+ }), P.value === null && (P.value = xi((await import("./ErLayoutDesign-CWGioPWo.js")).default));
44696
44688
  }, _t = () => {
44697
44689
  t.erFormHelperProp.setGridOptions(u, "designOpen", !1, !0);
44698
44690
  }, pt = () => {
@@ -46630,7 +46622,7 @@ const M3 = It({
46630
46622
  autoBind: t.autoBind,
46631
46623
  initializeService: t.erFormHelperProp.InitialService,
46632
46624
  visibleColumns: l.value ? G : void 0
46633
- }), L.value === null && (L.value = xi((await import("./ErLayoutDesign-dZllKKiy.js")).default));
46625
+ }), L.value === null && (L.value = xi((await import("./ErLayoutDesign-CWGioPWo.js")).default));
46634
46626
  }, we = (J) => {
46635
46627
  n("codeMirrorReady", J);
46636
46628
  }, Fe = (J, xe) => {
@@ -46804,7 +46796,7 @@ const M3 = It({
46804
46796
  }
46805
46797
  }, wr = (J) => {
46806
46798
  J.key === "devMode" && setTimeout(async () => {
46807
- i.value = !i.value, i.value && L.value === null && (L.value = xi((await import("./ErLayoutDesign-dZllKKiy.js")).default), X.value = {
46799
+ i.value = !i.value, i.value && L.value === null && (L.value = xi((await import("./ErLayoutDesign-CWGioPWo.js")).default), X.value = {
46808
46800
  partition: t.erFormHelperProp.ServerPartition,
46809
46801
  companyCode: t.erFormHelperProp.CurrentConfigCompanyCode["TSI00GRIDCOLUMN" + t.configId],
46810
46802
  formName: t.erFormHelperProp.FormName,
@@ -80242,4 +80234,4 @@ export {
80242
80234
  IK as x,
80243
80235
  FK as y
80244
80236
  };
80245
- //# sourceMappingURL=index-C7g5czhs.js.map
80237
+ //# sourceMappingURL=index-V_nUapgz.js.map