super-page-runtime 2.3.5 → 2.3.6-sit1

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 (46) hide show
  1. package/dist/es/components/runtime/utils/api/page-expose-util.js +78 -70
  2. package/dist/es/components/runtime/utils/charts/chart-util.js +1 -1
  3. package/dist/es/components/runtime/utils/common-util.d.ts +1 -1
  4. package/dist/es/components/runtime/utils/common-util.js +62 -47
  5. package/dist/es/components/runtime/utils/events/event-util.js +3 -3
  6. package/dist/es/components/runtime/utils/events/print-label.js +25 -26
  7. package/dist/es/components/runtime/utils/events/standard-event.js +21 -19
  8. package/dist/es/components/runtime/utils/events/validator-util.js +23 -23
  9. package/dist/es/components/runtime/utils/page-init-util.d.ts +1 -1
  10. package/dist/es/components/runtime/utils/page-init-util.js +45 -33
  11. package/dist/es/components/runtime/utils/page-store.js +10 -10
  12. package/dist/es/components/runtime/utils/table-utils.d.ts +14 -0
  13. package/dist/es/components/runtime/utils/table-utils.js +57 -32
  14. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +6 -10
  15. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +6 -8
  16. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +3 -3
  17. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.d.ts +10 -2
  18. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +36 -33
  19. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +6 -6
  20. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +131 -131
  21. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +8 -4
  22. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +26 -26
  23. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +0 -2
  24. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +10 -12
  25. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +9 -10
  26. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +48 -48
  27. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +42 -42
  28. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +1 -1
  29. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +15 -15
  30. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +22 -21
  31. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +32 -32
  32. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +1 -1
  33. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +45 -46
  34. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +3 -5
  35. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +0 -1
  36. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -1
  37. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +60 -51
  38. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +69 -67
  39. package/dist/es/components/runtime/views/home-chart.vue.js +7 -7
  40. package/dist/es/components/runtime/views/super-page-dialog.vue.js +0 -1
  41. package/dist/es/components/runtime/views/super-page.vue.d.ts +2 -2
  42. package/dist/es/components/runtime/views/super-page.vue.js +1 -1
  43. package/dist/es/components/runtime/views/super-page.vue2.js +11 -12
  44. package/dist/es/style.css +82 -82
  45. package/package.json +2 -2
  46. package/dist/es.zip +0 -0
@@ -3,13 +3,12 @@ import { Search as p } from "@element-plus/icons-vue";
3
3
  import g from "./common-chart-header-group.vue.js";
4
4
  import m from "./common-chart-header-breadcrumb.vue.js";
5
5
  import b from "./common-homepage-search.vue.js";
6
- import { setVariableValueWithProp as v, getValueFromSource as y, setValueForVariableName as O } from "../../../../utils/page-helper-util.js";
7
- const w = { class: "amb-widget-chart-header" }, x = { class: "amb-widget-chart-header-item" }, k = { class: "amb-widget-chart-header-item amb-widget-chart-header-center" }, j = { class: "amb-widget-chart-header-item" }, C = { key: 0, class: "amb-widget-chart-header-item" }, P = e({ __name: "common-chart-header", props: { headerInfo: { type: Object, required: true }, configure: { type: Object, required: true }, pageContext: { type: Object, required: true } }, emits: ["drill-end"], setup(e2, { expose: P2, emit: _ }) {
6
+ import { setVariableValueWithProp as v, getValueFromSource as y, setValueForVariableName as w } from "../../../../utils/page-helper-util.js";
7
+ const x = { class: "amb-widget-chart-header" }, O = { class: "amb-widget-chart-header-item" }, k = { class: "amb-widget-chart-header-item amb-widget-chart-header-center" }, j = { class: "amb-widget-chart-header-item" }, C = { key: 0, class: "amb-widget-chart-header-item" }, P = e({ __name: "common-chart-header", props: { headerInfo: { type: Object, required: true }, configure: { type: Object, required: true }, pageContext: { type: Object, required: true } }, emits: ["drill-end"], setup(e2, { expose: P2, emit: _ }) {
8
8
  const N = e2, D = o(null), A = o(), R = _;
9
9
  function S(e3) {
10
10
  const o2 = N.headerInfo.drillOptions.length;
11
- if (e3 >= o2) N.headerInfo.drillOptions;
12
- else {
11
+ if (!(e3 >= o2)) {
13
12
  for (let r2 = o2 - 1; r2 >= e3; r2--) N.headerInfo.drillOptions.splice(r2, 1);
14
13
  q(e3);
15
14
  }
@@ -35,7 +34,7 @@ const w = { class: "amb-widget-chart-header" }, x = { class: "amb-widget-chart-h
35
34
  for (let e4 of o2.variables) {
36
35
  if (!e4.fieldName || !e4.variable) continue;
37
36
  const o3 = y(r2, e4.fieldName, void 0);
38
- O(N.pageContext.entity, e4.variable, o3);
37
+ w(N.pageContext.entity, e4.variable, o3);
39
38
  }
40
39
  }
41
40
  N.headerInfo.drillOptions || (N.headerInfo.drillOptions = []);
@@ -47,12 +46,11 @@ const w = { class: "amb-widget-chart-header" }, x = { class: "amb-widget-chart-h
47
46
  if (r2 + 1 >= N.headerInfo.options.length) {
48
47
  return F(o2 && e3.dataIndex < o2.length ? o2[e3.dataIndex] : void 0), void R("drill-end", e3);
49
48
  }
50
- N.headerInfo.options;
51
49
  const n2 = N.headerInfo.options[r2], t2 = o2 && e3.dataIndex < o2.length ? o2[e3.dataIndex] : null, a2 = { fieldName: n2.target ? n2.target.replace(".", "_") : "", rawFieldName: n2.target ? n2.target : "", label: e3.name, value: e3.name, data: t2 };
52
50
  N.headerInfo.drillOptions.push(a2), q(r2 + 1);
53
51
  }, closeDrill: S }), (o2, v2) => {
54
- const y2 = r("el-icon"), O2 = r("el-tooltip");
55
- return t(), n("div", w, [a("div", x, [i(a("label", { style: f(e2.headerInfo.style) }, h(e2.headerInfo.title) + "  ", 5), [[s, e2.headerInfo.title && (!e2.headerInfo.textAlign || "left" == e2.headerInfo.textAlign)]]), !e2.headerInfo.showDrill || e2.headerInfo.groupPosition && "left" != e2.headerInfo.groupPosition ? l("", true) : (t(), d(m, { key: 0, ref_key: "drillObjRef", ref: D, headerInfo: e2.headerInfo, onCloseDrill: S }, null, 8, ["headerInfo"])), !e2.headerInfo.showGroup || e2.headerInfo.groupPosition && "left" != e2.headerInfo.groupPosition ? l("", true) : (t(), d(g, { key: 1, headerInfo: e2.headerInfo }, null, 8, ["headerInfo"]))]), a("div", k, [i(a("label", { style: f(e2.headerInfo.style) }, h(e2.headerInfo.title) + "  ", 5), [[s, e2.headerInfo.title && "center" == e2.headerInfo.textAlign]]), e2.headerInfo.showDrill && "center" == e2.headerInfo.groupPosition ? (t(), d(m, { key: 0, headerInfo: e2.headerInfo, onCloseDrill: S, ref_key: "drillObjRef", ref: D }, null, 8, ["headerInfo"])) : l("", true), e2.headerInfo.showGroup && "center" == e2.headerInfo.groupPosition ? (t(), d(g, { key: 1, headerInfo: e2.headerInfo }, null, 8, ["headerInfo"])) : l("", true)]), a("div", j, [i(a("label", { style: f(e2.headerInfo.style) }, h(e2.headerInfo.title) + "  ", 5), [[s, e2.headerInfo.title && "right" == e2.headerInfo.textAlign]]), e2.headerInfo.showDrill && "right" == e2.headerInfo.groupPosition ? (t(), d(m, { key: 0, headerInfo: e2.headerInfo, onCloseDrill: S, ref_key: "drillObjRef", ref: D }, null, 8, ["headerInfo"])) : l("", true), e2.headerInfo.showGroup && "right" == e2.headerInfo.groupPosition ? (t(), d(g, { key: 1, headerInfo: e2.headerInfo }, null, 8, ["headerInfo"])) : l("", true)]), e2.pageContext.showHomepageSearch ? (t(), n("div", C, [c(O2, { content: "打开查询弹窗", effect: "light" }, { default: I(() => [c(y2, { onClick: G }, { default: I(() => [c(u(p))]), _: 1 })]), _: 1 }), c(b, { ref_key: "commonHomepageSearchRef", ref: A, configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["configure", "pageContext"])])) : l("", true)]);
52
+ const y2 = r("el-icon"), w2 = r("el-tooltip");
53
+ return t(), n("div", x, [a("div", O, [i(a("label", { style: f(e2.headerInfo.style) }, h(e2.headerInfo.title) + "  ", 5), [[s, e2.headerInfo.title && (!e2.headerInfo.textAlign || "left" == e2.headerInfo.textAlign)]]), !e2.headerInfo.showDrill || e2.headerInfo.groupPosition && "left" != e2.headerInfo.groupPosition ? l("", true) : (t(), d(m, { key: 0, ref_key: "drillObjRef", ref: D, headerInfo: e2.headerInfo, onCloseDrill: S }, null, 8, ["headerInfo"])), !e2.headerInfo.showGroup || e2.headerInfo.groupPosition && "left" != e2.headerInfo.groupPosition ? l("", true) : (t(), d(g, { key: 1, headerInfo: e2.headerInfo }, null, 8, ["headerInfo"]))]), a("div", k, [i(a("label", { style: f(e2.headerInfo.style) }, h(e2.headerInfo.title) + "  ", 5), [[s, e2.headerInfo.title && "center" == e2.headerInfo.textAlign]]), e2.headerInfo.showDrill && "center" == e2.headerInfo.groupPosition ? (t(), d(m, { key: 0, headerInfo: e2.headerInfo, onCloseDrill: S, ref_key: "drillObjRef", ref: D }, null, 8, ["headerInfo"])) : l("", true), e2.headerInfo.showGroup && "center" == e2.headerInfo.groupPosition ? (t(), d(g, { key: 1, headerInfo: e2.headerInfo }, null, 8, ["headerInfo"])) : l("", true)]), a("div", j, [i(a("label", { style: f(e2.headerInfo.style) }, h(e2.headerInfo.title) + "  ", 5), [[s, e2.headerInfo.title && "right" == e2.headerInfo.textAlign]]), e2.headerInfo.showDrill && "right" == e2.headerInfo.groupPosition ? (t(), d(m, { key: 0, headerInfo: e2.headerInfo, onCloseDrill: S, ref_key: "drillObjRef", ref: D }, null, 8, ["headerInfo"])) : l("", true), e2.headerInfo.showGroup && "right" == e2.headerInfo.groupPosition ? (t(), d(g, { key: 1, headerInfo: e2.headerInfo }, null, 8, ["headerInfo"])) : l("", true)]), e2.pageContext.showHomepageSearch ? (t(), n("div", C, [c(w2, { content: "打开查询弹窗", effect: "light" }, { default: I(() => [c(y2, { onClick: G }, { default: I(() => [c(u(p))]), _: 1 })]), _: 1 }), c(b, { ref_key: "commonHomepageSearchRef", ref: A, configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["configure", "pageContext"])])) : l("", true)]);
56
54
  };
57
55
  } });
58
56
  export {
@@ -5,14 +5,14 @@ import { ElLoading as y, ElMessage as C } from "element-plus";
5
5
  import S from "agilebuilder-ui/src/utils/request";
6
6
  import "agilebuilder-ui/src/utils/common-util";
7
7
  import "agilebuilder-ui/src/utils/util";
8
- import "agilebuilder-ui/src/utils/auth";
8
+ import "async-validator";
9
9
  import "../../../../utils/global-refs.js";
10
10
  import "../../../../utils/eventBus.js";
11
- import "axios";
12
- import "async-validator";
13
11
  import "../../../../utils/page-store.js";
14
12
  import "agilebuilder-ui/src/utils/i18n-util";
15
13
  import "vue-i18n";
14
+ import "agilebuilder-ui/src/utils/auth";
15
+ import "axios";
16
16
  import "../../../../utils/events/print-label.js";
17
17
  const b = { style: { overflow: "auto", height: "calc(100vh - 140px)" }, ref: "dialogBody" }, O = { class: "dialog-footer" }, x = e({ __name: "common-homepage-search", props: { configure: { type: Object, required: true }, pageContext: { type: Object, default: () => {
18
18
  } } }, setup(e2, { expose: x2 }) {
@@ -3,16 +3,24 @@ import { Component, PageContext } from '../../../../utils/interfaces/page-design
3
3
  type Condition = {
4
4
  propValueType: string;
5
5
  joinSign: string;
6
- dataType: 'number' | 'date' | 'string';
6
+ dataType: 'number' | 'date' | 'string' | 'boolean' | 'TEXT' | 'DATE' | 'TIME' | 'DOUBLE' | 'FLOAT' | 'INTEGER' | 'LONG';
7
7
  rightBracket: string;
8
8
  leftBracket: string;
9
9
  propValue: string;
10
10
  propName: string;
11
11
  operator: 'GT' | 'LT' | 'GET' | 'LET' | 'NET' | 'CONTAIN' | 'NOT_CONTAIN' | 'IS_NULL' | 'IS_NOT_NULL';
12
+ variableIsNull?: string;
12
13
  };
13
14
  type Data = Record<string, any>;
14
15
  export declare class ExpressionEvaluator {
15
- static evaluate(pageContext: PageContext, conditions: Condition[], data: Data): boolean;
16
+ /**
17
+ *
18
+ * @param pageContext 页面上下文
19
+ * @param conditions 条件集合
20
+ * @param data 数据对象,一般是行数据
21
+ * @returns
22
+ */
23
+ static evaluate(pageContext: PageContext, conditions: Condition[], data?: Data): boolean;
16
24
  private static createExpression;
17
25
  private static getComparisonExpression;
18
26
  private static changeDataType;
@@ -10,40 +10,48 @@ class ExpressionEvaluator {
10
10
  const { propName: o, operator: a, propValue: n, leftBracket: s, rightBracket: l, joinSign: i, dataType: c } = t;
11
11
  if (!o || "" === o) return "";
12
12
  const u = getValueFromVariable(e.entity, o, r);
13
- let p = `${s} ${this.getComparisonExpression(u, a, getValueFromVariable(e.entity, n, r), c)} ${l}`;
13
+ let p = `${s} ${this.getComparisonExpression(u, t, getValueFromVariable(e.entity, n, r))} ${l}`;
14
14
  return i && ("and" === i || "AND" === i ? p += "&&" : "or" !== i && "OR" !== i || (p += "||")), p.trim();
15
15
  }
16
- static getComparisonExpression(e, t, r, o) {
17
- t || (t = "EQ");
18
- const a = this.parseValue(e, o), n = this.parseValue(r, o);
19
- switch (t) {
16
+ static getComparisonExpression(e, t, r) {
17
+ const { dataType: o, variableIsNull: a } = t;
18
+ let n = t.operator;
19
+ n || (n = "EQ");
20
+ let s = this.parseValue(e, o);
21
+ const l = this.parseValue(r, o);
22
+ if (null == l && a) {
23
+ if (null == s && (s = "null"), "null" === a) return `${s} === null`;
24
+ if ("ignore" === a) return "1=1";
25
+ if ("notequal" === a) return "1!=1";
26
+ }
27
+ switch (n) {
20
28
  case "EQ":
21
- return `${a} === ${n}`;
29
+ return `${s} === ${l}`;
22
30
  case "GT":
23
- return `${a} > ${n}`;
31
+ return `${s} > ${l}`;
24
32
  case "LT":
25
- return `${a} < ${n}`;
33
+ return `${s} < ${l}`;
26
34
  case "GET":
27
- return `${a} >= ${n}`;
35
+ return `${s} >= ${l}`;
28
36
  case "LET":
29
- return `${a} <= ${n}`;
37
+ return `${s} <= ${l}`;
30
38
  case "NET":
31
- return `${a} !== ${n}`;
39
+ return `${s} !== ${l}`;
32
40
  case "CONTAIN":
33
- return `${a}.includes(${n})`;
41
+ return `${s}.includes(${l})`;
34
42
  case "NOT_CONTAIN":
35
- return `!${a}.includes(${n})`;
43
+ return `!${s}.includes(${l})`;
36
44
  case "IS_NULL":
37
- return `${a} === null`;
45
+ return `${s} === null`;
38
46
  case "IS_NOT_NULL":
39
- return `${a} !== null`;
47
+ return `${s} !== null`;
40
48
  case "IN":
41
49
  if ("TEXT" === o) {
42
- return `${n.split(",")}.includes(${a})`;
50
+ return `${l.split(",")}.includes(${s})`;
43
51
  }
44
- return `[${n}].includes(${a})`;
52
+ return `[${l}].includes(${s})`;
45
53
  default:
46
- throw new Error(`比较符号不匹配: ${t}`);
54
+ throw new Error(`比较符号不匹配: ${n}`);
47
55
  }
48
56
  }
49
57
  static changeDataType(e) {
@@ -57,24 +65,24 @@ class ExpressionEvaluator {
57
65
  return t;
58
66
  }
59
67
  static parseValue(e, t) {
60
- switch (t = this.changeDataType(t)) {
68
+ if (t = this.changeDataType(t), null == e) return null;
69
+ switch (t) {
61
70
  case "number":
62
71
  return getNumberValue(e);
63
72
  case "date":
64
73
  return new Date(e).getTime();
65
74
  case "string":
75
+ default:
66
76
  return `"${e}"`;
67
77
  case "boolean":
68
78
  return "true" === e || true === e || 1 === e;
69
- default:
70
- throw new Error(`数据类型解析错误: ${t}`);
71
79
  }
72
80
  }
73
81
  static evaluateExpression(expression) {
74
82
  try {
75
83
  return eval(expression);
76
84
  } catch (e) {
77
- return console.error("表达式错误:", expression, e), false;
85
+ return false;
78
86
  }
79
87
  }
80
88
  }
@@ -115,7 +123,6 @@ function summaryStatistics(e, t, r, o) {
115
123
  const e2 = n2.apply(n2, [{ data: t, prop: r }]);
116
124
  a = e2 ? ` ${e2}` : " N/A";
117
125
  } catch (e2) {
118
- console.error("自定义函数脚本错误:", t, e2);
119
126
  }
120
127
  else a = " N/A";
121
128
  } else switch (n) {
@@ -148,8 +155,7 @@ function getHeaderCellStyleUtil(e, t, r) {
148
155
  const a2 = getCustomFunc(r.pageContext, t2.scopeFunc);
149
156
  if (a2) try {
150
157
  false !== a2.apply(a2, [{ item: t2, data: e }]) && copyStyle(o, t2);
151
- } catch (r2) {
152
- console.error("自定义函数脚本错误:", t2, e, r2);
158
+ } catch (e2) {
153
159
  }
154
160
  } else copyStyle(o, t2);
155
161
  }));
@@ -165,8 +171,7 @@ function getRowStyleUtil(e, t, r) {
165
171
  if (t3) try {
166
172
  const r2 = t3.apply(t3, [{ data: e }]);
167
173
  null != r2 && false !== r2 && copyStyle(o, a);
168
- } catch (t4) {
169
- console.error("自定义函数脚本错误:", e, t4);
174
+ } catch (e2) {
170
175
  }
171
176
  } else if (a.matchingCondition) {
172
177
  const t3 = ExpressionEvaluator.evaluate(r.pageContext, a.matchingCondition, e.row);
@@ -190,8 +195,7 @@ function getCellStyleUtil(e, t, r) {
190
195
  const t2 = getCustomFunc(r.pageContext, n.scopeFunc);
191
196
  if (t2) try {
192
197
  false !== t2.apply(t2, [{ data: e }]) && copyStyle(o, n);
193
- } catch (t3) {
194
- console.error("自定义函数脚本错误:", e, t3);
198
+ } catch (e2) {
195
199
  }
196
200
  } else if (n.matchingCondition) {
197
201
  const t2 = ExpressionEvaluator.evaluate(r.pageContext, n.matchingCondition, e.row);
@@ -315,7 +319,7 @@ function computeFormula(itemConfs, datas, entity) {
315
319
  r += Number(e2[t]);
316
320
  });
317
321
  } catch (e2) {
318
- console.error("计算错误:", e2), r = 0;
322
+ r = 0;
319
323
  }
320
324
  totalValueMap[e] = r;
321
325
  } else (e.startsWith("${page.") || e.startsWith("${data.") || e.startsWith("${row.") || e.startsWith("${request.") || e.startsWith("${context.") || e.startsWith("${system.") || e.startsWith("${fixed.")) && (totalValueMap[e] = getValueFromVariable(entity, e, data));
@@ -327,7 +331,7 @@ function computeFormula(itemConfs, datas, entity) {
327
331
  try {
328
332
  data[key] = eval(expr);
329
333
  } catch (e) {
330
- console.error(itemConfs[key] + " 计算错误, 替换后表达式为:" + expr, e), data[key] = 0;
334
+ data[key] = 0;
331
335
  }
332
336
  });
333
337
  });
@@ -367,8 +371,7 @@ function formatCustomFunc(e, t, r, o, a) {
367
371
  if (n) {
368
372
  try {
369
373
  return n.apply(n, [{ pageContext: o, configureObj: a, row: e, prop: r.props.base.prop }]);
370
- } catch (t2) {
371
- console.error("自定义函数脚本错误:", e, t2);
374
+ } catch (e2) {
372
375
  }
373
376
  return "";
374
377
  }
@@ -1,26 +1,26 @@
1
1
  import { defineComponent as o, ref as e, resolveComponent as t, createBlock as r, openBlock as p, withCtx as l, createElementBlock as s, Fragment as n, createTextVNode as a, toDisplayString as u, resolveDynamicComponent as i, createVNode as c, createCommentVNode as m, createElementVNode as f, normalizeClass as g } from "vue";
2
2
  import "agilebuilder-ui/src/utils/common-util";
3
3
  import "agilebuilder-ui/src/utils/util";
4
+ import { formatColContent as d } from "./chart-table-util.js";
4
5
  import "agilebuilder-ui/src/utils/request";
5
6
  import "element-plus";
6
7
  import "agilebuilder-ui/src/utils/auth";
7
8
  import "../../../../utils/global-refs.js";
8
- import d from "../../../../utils/eventBus.js";
9
+ import y from "../../../../utils/eventBus.js";
9
10
  import "axios";
10
11
  import "dayjs";
11
12
  import "agilebuilder-ui/src/utils/calculator/calculator-util";
12
13
  import "async-validator";
14
+ import { expressJump as b } from "../../../../utils/table-utils.js";
13
15
  import "../../../../utils/events/print-label.js";
14
- import { expressJump as y } from "../../../../utils/table-utils.js";
15
16
  import "../../../../utils/page-store.js";
16
- import { formatColContent as b } from "./chart-table-util.js";
17
17
  const k = { key: 0 }, w = { key: 1 }, h = { key: 1 }, x = { key: 2 }, C = o({ __name: "normal-column", props: { configure: { type: Object, default: () => ({}) }, pageContext: { type: Object, default: () => ({}) }, column: { type: Object, default: () => ({}) } }, setup(o2) {
18
18
  const C2 = o2, j = e(false);
19
19
  let v = null;
20
20
  function O(o3, e2, t2, r2) {
21
21
  }
22
22
  function _(o3) {
23
- const e2 = y(C2.pageContext, C2.configure, C2.column.linkPage, o3);
23
+ const e2 = b(C2.pageContext, C2.configure, C2.column.linkPage, o3);
24
24
  let t2 = false;
25
25
  return e2 && (t2 = e2.show, v = e2.toPage), t2;
26
26
  }
@@ -29,11 +29,11 @@ const k = { key: 0 }, w = { key: 1 }, h = { key: 1 }, x = { key: 2 }, C = o({ __
29
29
  const e2 = C2.pageContext.code + "_", t2 = JSON.parse(JSON.stringify(v));
30
30
  t2.base = { successOperation: "closeWindow" };
31
31
  const r2 = { id: o3.id ? o3.id : o3.ID, selections: [o3] };
32
- d.$emit(e2 + "open-dialog", { pageContext: C2.pageContext, configureObj: { props: t2 }, eventParams: r2 });
32
+ y.$emit(e2 + "open-dialog", { pageContext: C2.pageContext, configureObj: { props: t2 }, eventParams: r2 });
33
33
  }
34
34
  }
35
35
  function T(o3, e2) {
36
- return b(o3, e2, C2.column, C2.pageContext, C2.configure);
36
+ return d(o3, e2, C2.column, C2.pageContext, C2.configure);
37
37
  }
38
38
  return C2.column.linkPage && C2.column.linkPage.length > 0 && (j.value = true), (e2, d2) => {
39
39
  const y2 = t("el-table-column"), b2 = t("el-progress"), C3 = t("el-tag"), v2 = t("el-link");