agilebuilder-ui 1.0.85-temp2 → 1.0.85-temp3

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/lib/super-ui.js CHANGED
@@ -18478,54 +18478,18 @@ function initialization(e, t, n, o, l, s, d, m) {
18478
18478
  debugger;
18479
18479
  for (let k = 0; k < e.length; k++) {
18480
18480
  const O = e[k];
18481
- if (O.jumpConditionType === "none")
18482
- return initialization(
18483
- O.jumpPageSetting,
18484
- t,
18485
- n,
18486
- o,
18487
- l,
18488
- s,
18489
- d,
18490
- m
18491
- );
18492
- if (O.jumpConditionType === "config")
18493
- if (O.conditions && O.conditions.length > 0) {
18494
- if (analysisCondition(
18495
- JSON.stringify(O.conditions),
18496
- t,
18497
- E,
18498
- S,
18499
- n,
18500
- s,
18501
- d,
18502
- m
18503
- ))
18504
- return initialization(
18505
- O.jumpPageSetting,
18506
- t,
18507
- n,
18508
- o,
18509
- l,
18510
- s,
18511
- d,
18512
- m
18513
- );
18514
- } else
18515
- return initialization(
18516
- O.jumpPageSetting,
18517
- t,
18518
- n,
18519
- o,
18520
- l,
18521
- s,
18522
- d,
18523
- m
18524
- );
18525
- else
18526
- O.jumpConditionType;
18481
+ O.jumpConditionType === "none" || (O.jumpConditionType === "config" ? O.conditions && O.conditions.length > 0 && analysisCondition(
18482
+ JSON.stringify(O.conditions),
18483
+ t,
18484
+ E,
18485
+ S,
18486
+ n,
18487
+ s,
18488
+ d,
18489
+ m
18490
+ ) : O.jumpConditionType);
18527
18491
  const B = initialization(
18528
- O,
18492
+ O.jumpPageSetting,
18529
18493
  t,
18530
18494
  n,
18531
18495
  o,
@@ -18534,8 +18498,10 @@ function initialization(e, t, n, o, l, s, d, m) {
18534
18498
  d,
18535
18499
  m
18536
18500
  );
18537
- if (B && B.visible)
18538
- return B;
18501
+ if (B && B.visible) {
18502
+ const R = { ...B };
18503
+ return R.jumpPageSetting = JSON.stringify(O.jumpPageSetting), R;
18504
+ }
18539
18505
  }
18540
18506
  }
18541
18507
  y.visible = !0;
@@ -20929,14 +20895,7 @@ const DynamicInput = /* @__PURE__ */ _export_sfc$1(_sfc_main$1m, [["render", _sf
20929
20895
  if (this.customFormat) {
20930
20896
  let l = e[t];
20931
20897
  this.isObjectProp(t) && (l = this.objectPropOriginalValue(e, t));
20932
- const s = doFormat$1(this.column, l), d = n.call(
20933
- this,
20934
- l,
20935
- s,
20936
- e,
20937
- this.column,
20938
- o
20939
- );
20898
+ const s = doFormat$1(this.column, l), d = n.call(this, l, s, e, this.column, o);
20940
20899
  return typeof d > "u" ? !1 : (window.$vueApp.component(t + o, d), !0);
20941
20900
  } else
20942
20901
  return !1;
@@ -20968,12 +20927,7 @@ const DynamicInput = /* @__PURE__ */ _export_sfc$1(_sfc_main$1m, [["render", _sf
20968
20927
  if (n.childAnnexDataTableCode) {
20969
20928
  const o = analysisFileSetObj(n, this.isSql), l = this.objectPropValue(e, t.prop);
20970
20929
  if (l && l.length > 0) {
20971
- const s = otherFilesToStandard(
20972
- n,
20973
- o,
20974
- l,
20975
- null
20976
- );
20930
+ const s = otherFilesToStandard(n, o, l, null);
20977
20931
  return s[s.length - 1].showName;
20978
20932
  }
20979
20933
  } else
@@ -20983,12 +20937,7 @@ const DynamicInput = /* @__PURE__ */ _export_sfc$1(_sfc_main$1m, [["render", _sf
20983
20937
  if (n.childAnnexDataTableCode) {
20984
20938
  const o = analysisFileSetObj(n, this.isSql), l = this.objectPropValue(e, t.prop);
20985
20939
  if (l && l.length > 0) {
20986
- const s = otherFilesToStandard(
20987
- n,
20988
- o,
20989
- l,
20990
- null
20991
- );
20940
+ const s = otherFilesToStandard(n, o, l, null);
20992
20941
  return s[s.length - 1].showName;
20993
20942
  }
20994
20943
  } else
@@ -21030,29 +20979,14 @@ const DynamicInput = /* @__PURE__ */ _export_sfc$1(_sfc_main$1m, [["render", _sf
21030
20979
  },
21031
20980
  onClickFun(e, t, n, o, l) {
21032
20981
  const s = this.getColumnValue(e, t);
21033
- n.call(
21034
- this,
21035
- s.originalValue,
21036
- s.formatValue,
21037
- e,
21038
- t,
21039
- o,
21040
- l
21041
- );
20982
+ n.call(this, s.originalValue, s.formatValue, e, t, o, l);
21042
20983
  },
21043
20984
  isShowButtonFun(e, t, n, o) {
21044
20985
  if (n === void 0)
21045
20986
  return !0;
21046
20987
  if (typeof n == "function") {
21047
20988
  const l = this.getColumnValue(e, t);
21048
- let s = n.call(
21049
- this,
21050
- l.originalValue,
21051
- l.formatValue,
21052
- e,
21053
- t,
21054
- o
21055
- );
20989
+ let s = n.call(this, l.originalValue, l.formatValue, e, t, o);
21056
20990
  return s === void 0 && (s = !0), s;
21057
20991
  } else
21058
20992
  return n;
@@ -21074,7 +21008,8 @@ const DynamicInput = /* @__PURE__ */ _export_sfc$1(_sfc_main$1m, [["render", _sf
21074
21008
  y,
21075
21009
  m.pageContext
21076
21010
  );
21077
- k && k.label && k.label !== "" ? console.log("label存在") : k.label = this.objectPropValueTwo(t, e), k && k.title && k.title !== "" ? console.log("title存在") : k.title = k.label, E = k;
21011
+ debugger;
21012
+ k.jumpPageSetting && (e.formatter.options.format = k.jumpPageSetting), k && k.label && k.label !== "" ? console.log("label存在") : k.label = this.objectPropValueTwo(t, e), k && k.title && k.title !== "" ? console.log("title存在") : k.title = k.label, E = k;
21078
21013
  } else
21079
21014
  E.visible = !0, E.label = this.objectPropValueTwo(t, e), E.title = E.label;
21080
21015
  return E;
@@ -21085,15 +21020,9 @@ const DynamicInput = /* @__PURE__ */ _export_sfc$1(_sfc_main$1m, [["render", _sf
21085
21020
  if (e && e.formatter && e.formatter.options && e.formatter.options.format && (l = e.formatter.options.format), l && l !== "") {
21086
21021
  let s = !0;
21087
21022
  const d = store$1.get(n), m = JSON.parse(l);
21088
- if (console.log(
21089
- "gupre-grid---clickHyperLink--jumpPageSetting=",
21090
- m
21091
- ), m.beforeClick) {
21023
+ if (console.log("gupre-grid---clickHyperLink--jumpPageSetting=", m), m.beforeClick) {
21092
21024
  const y = m.beforeClick;
21093
- if (console.log(
21094
- "gupre-grid---clickHyperLink--jumpPageSetting.beforeClick=",
21095
- y
21096
- ), console.log(
21025
+ if (console.log("gupre-grid---clickHyperLink--jumpPageSetting.beforeClick=", y), console.log(
21097
21026
  "gupre-grid---clickHyperLink--gridParams.options[eventCallBack]=",
21098
21027
  d.options.eventCallBack
21099
21028
  ), d.options && d.options.eventCallBack && d.options.eventCallBack[y] && typeof d.options.eventCallBack[y] == "function") {
@@ -21104,36 +21033,20 @@ const DynamicInput = /* @__PURE__ */ _export_sfc$1(_sfc_main$1m, [["render", _sf
21104
21033
  listCode: n,
21105
21034
  additionalParamMap: d.additionalParamMap
21106
21035
  };
21107
- s = d.options.eventCallBack[y].call(
21108
- this,
21109
- E
21110
- );
21036
+ s = d.options.eventCallBack[y].call(this, E);
21111
21037
  }
21112
21038
  }
21113
21039
  isPromise$1(s) ? s.then((y) => {
21114
- this.doClickHyperLink(
21115
- t,
21116
- n,
21117
- o,
21118
- m,
21119
- d
21120
- );
21121
- }) : this.doClickHyperLink(
21122
- t,
21123
- n,
21124
- o,
21125
- m,
21126
- d
21127
- );
21040
+ this.doClickHyperLink(t, n, o, m, d);
21041
+ }) : this.doClickHyperLink(t, n, o, m, d);
21128
21042
  }
21129
21043
  },
21130
21044
  doClickHyperLink(e, t, n, o, l) {
21131
21045
  let s = null;
21132
- l.options.extraParam && l.options.extraParam.entityMap && (s = l.options.extraParam.entityMap), console.log(
21133
- "ridParams.options.extraParam.entityMap",
21134
- l.options.extraParam
21046
+ l.options.extraParam && l.options.extraParam.entityMap && (s = l.options.extraParam.entityMap), console.log("ridParams.options.extraParam.entityMap", l.options.extraParam);
21047
+ const d = JSON.parse(
21048
+ JSON.stringify(l.pageContext && l.pageContext.page ? l.pageContext.page : {})
21135
21049
  );
21136
- const d = JSON.parse(JSON.stringify(l.pageContext && l.pageContext.page ? l.pageContext.page : {}));
21137
21050
  o._pageData = d, jumpToPage(
21138
21051
  o,
21139
21052
  l.system,
@@ -21156,7 +21069,16 @@ const DynamicInput = /* @__PURE__ */ _export_sfc$1(_sfc_main$1m, [["render", _sf
21156
21069
  o.options.extraParam && o.options.extraParam.entityMap && (y = o.options.extraParam.entityMap);
21157
21070
  let E = {}, S;
21158
21071
  if (e && e.formatter && e.formatter.options && e.formatter.options.format && (S = e.formatter.options.format), S && S !== "") {
21159
- const k = initialization(JSON.parse(S), t, n, d, m, s, y, o.pageContext);
21072
+ const k = initialization(
21073
+ JSON.parse(S),
21074
+ t,
21075
+ n,
21076
+ d,
21077
+ m,
21078
+ s,
21079
+ y,
21080
+ o.pageContext
21081
+ );
21160
21082
  k && k.label && k.label !== "" ? console.log("label存在") : k.label = this.objectPropValueTwo(t, e), k && k.title && k.title !== "" ? console.log("title存在") : k.title = k.label, E = k;
21161
21083
  } else
21162
21084
  E.visible = !0, E.label = this.objectPropValueTwo(t, e), E.title = E.label;