super-page-runtime 2.3.13 → 2.3.14-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 (76) hide show
  1. package/dist/es/components/runtime/utils/ai-chat-util.js +16 -0
  2. package/dist/es/components/runtime/utils/api/page-expose-util.js +50 -50
  3. package/dist/es/components/runtime/utils/assemblys-config.js +1 -1
  4. package/dist/es/components/runtime/utils/events/event-util.js +3 -3
  5. package/dist/es/components/runtime/utils/events/print-label.js +25 -26
  6. package/dist/es/components/runtime/utils/events/standard-event.d.ts +4 -0
  7. package/dist/es/components/runtime/utils/events/standard-event.js +307 -270
  8. package/dist/es/components/runtime/utils/events/validator-util.js +77 -72
  9. package/dist/es/components/runtime/utils/page-init-util.js +108 -91
  10. package/dist/es/components/runtime/utils/page-permission-util.js +12 -12
  11. package/dist/es/components/runtime/utils/page-store.js +10 -10
  12. package/dist/es/components/runtime/utils/table-utils.js +1 -1
  13. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +3 -3
  14. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +3 -3
  15. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +3 -3
  16. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +1 -1
  17. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +3 -3
  18. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +1 -1
  19. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +6 -10
  20. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +6 -8
  21. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +15 -14
  22. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +1 -1
  23. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +1 -1
  24. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +1 -1
  25. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +1 -1
  26. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +93 -98
  27. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +2 -3
  28. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +9 -11
  29. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +1 -1
  30. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +3 -3
  31. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +3 -3
  32. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +3 -3
  33. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +0 -2
  34. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +3 -3
  35. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +3 -3
  36. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +1 -1
  37. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +3 -3
  38. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +10 -12
  39. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +18 -18
  40. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +19 -18
  41. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +1 -1
  42. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +16 -16
  43. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +3 -3
  44. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +3 -3
  45. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +6 -6
  46. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +53 -42
  47. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +3 -3
  48. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +3 -3
  49. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +4 -4
  50. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +3 -3
  51. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +37 -38
  52. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +5 -7
  53. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +3 -4
  54. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +3 -3
  55. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +14 -15
  56. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +3 -3
  57. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +1 -1
  58. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +3 -3
  59. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +11 -11
  60. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +3 -3
  61. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +3 -3
  62. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +17 -17
  63. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.js +7 -0
  64. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +37 -0
  65. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +1 -1
  66. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +1 -1
  67. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.js +12 -12
  68. package/dist/es/components/runtime/views/home-chart.vue.js +7 -7
  69. package/dist/es/components/runtime/views/super-page-dialog.vue.js +0 -1
  70. package/dist/es/components/runtime/views/super-page.vue.d.ts +2 -0
  71. package/dist/es/components/runtime/views/super-page.vue.js +1 -1
  72. package/dist/es/components/runtime/views/super-page.vue2.js +185 -182
  73. package/dist/es/i18n/langs/cn.js +1 -1
  74. package/dist/es/i18n/langs/en.js +1 -1
  75. package/dist/es/style.css +82 -79
  76. package/package.json +2 -2
@@ -4,8 +4,9 @@ import { getComponentRefByCode as n, getComponentRef as s, getAllComponentRefs a
4
4
  import { getI18n as i } from "agilebuilder-ui/src/utils/util";
5
5
  import { getAdditionalParamMap as o } from "./standard-event.js";
6
6
  import { isPromise as l } from "agilebuilder-ui/src/utils/common-util";
7
- import { getListCode as a, isWorkflowPage as u } from "../common-util.js";
8
- function f(e2, t2, n2) {
7
+ import { parseSubTablePermissionCondition as a } from "agilebuilder-ui/src/utils/calculator/calculator-util";
8
+ import { getListCode as u, isWorkflowPage as f } from "../common-util.js";
9
+ function c(e2, t2, n2) {
9
10
  const s2 = {};
10
11
  t2 || (t2 = {});
11
12
  let r2 = 0;
@@ -33,10 +34,10 @@ function f(e2, t2, n2) {
33
34
  r2++;
34
35
  }), s2;
35
36
  }
36
- function c(e2, t2, n2, s2, r2, i2) {
37
- return m(e2, t2, n2, s2, true, r2, i2);
37
+ function d(e2, t2, n2, s2, r2, i2) {
38
+ return p(e2, t2, n2, s2, true, r2, i2);
38
39
  }
39
- function d(e2) {
40
+ function m(e2) {
40
41
  if (e2) return Object.keys(e2).forEach((t2) => {
41
42
  if (t2.indexOf(".") >= 0) {
42
43
  let n2 = [];
@@ -44,8 +45,8 @@ function d(e2) {
44
45
  }
45
46
  }), e2;
46
47
  }
47
- function m(s2, r2, i2, o2, l2, a2, u2) {
48
- let f2, c2 = d(r2);
48
+ function p(s2, r2, i2, o2, l2, a2, u2) {
49
+ let f2, c2 = m(r2);
49
50
  if (r2 && null !== r2 || !i2 || (c2 = {}), !c2 || 0 === Object.keys(c2).length) return s2.validateErrorField = "", true;
50
51
  return new e(c2).validate(s2, { first: true }, (e2, c3) => {
51
52
  let d2;
@@ -57,59 +58,63 @@ function m(s2, r2, i2, o2, l2, a2, u2) {
57
58
  if (d2 && true === l2) {
58
59
  if (/[A-Z]+/.test(d2) && void 0 !== s2[d2.toLowerCase()]) {
59
60
  const e3 = JSON.parse(JSON.stringify(s2));
60
- e3[d2.toUpperCase()] = s2[d2.toLowerCase()], delete e3[d2.toLowerCase()], f2 = m(e3, r2, i2, o2, false, a2, u2);
61
+ e3[d2.toUpperCase()] = s2[d2.toLowerCase()], delete e3[d2.toLowerCase()], f2 = p(e3, r2, i2, o2, false, a2, u2);
61
62
  }
62
63
  }
63
64
  }), f2;
64
65
  }
65
- function p(e2, s2, r2) {
66
- const l2 = e2.entity.data, a2 = { ...e2.entity.page, ...l2 }, f2 = e2.rules, c2 = s2.props.base ? s2.props.base.isEnableRequired : null;
67
- return null != c2 && (r2 = c2), null == r2 && (r2 = false), function(e3, s3, r3, l3) {
66
+ function g(e2, s2, r2) {
67
+ const l2 = e2.entity.data, u2 = { ...e2.entity.page, ...l2 }, c2 = e2.rules, d2 = s2.props.base ? s2.props.base.isEnableRequired : null;
68
+ return null != d2 && (r2 = d2), null == r2 && (r2 = false), function(e3, s3, r3, l3) {
68
69
  if (e3) {
69
- return u(l3) ? function(e4, s4, r4) {
70
- return new Promise((l4, a3) => {
71
- const u2 = o(s4), f3 = s4.entity.context, c3 = s4.entity.task, d2 = true, m2 = s4.subTablePageInfo;
72
- b(e4, s4, r4).then((r5) => {
70
+ return f(l3) ? function(e4, s4, r4) {
71
+ return new Promise((l4, u3) => {
72
+ const f2 = o(s4), c3 = s4.entity.context, d3 = s4.entity.task, m2 = true, p2 = s4.subTablePageInfo;
73
+ h(e4, s4, r4).then((r5) => {
73
74
  if (r5) {
74
- let o2, a4, p2, g2, b2 = r5;
75
- const h2 = s4.workflowRules;
76
- if (h2) {
75
+ let o2, u4, g2, b2, h2 = r5;
76
+ const y2 = s4.workflowRules;
77
+ if (y2) {
77
78
  if (!function(e5, s5) {
79
+ var _a, _b, _c;
78
80
  if (!e5.actionPermissions) return true;
79
81
  const r7 = Object.keys(e5.actionPermissions);
80
82
  for (let o3 = 0; o3 < r7.length; o3++) {
81
- const l5 = r7[o3], a5 = e5.actionPermissions[l5];
82
- if (a5 && a5.notEmpty) {
83
+ const l5 = r7[o3], u5 = e5.actionPermissions[l5];
84
+ if (u5 && u5.notEmpty) {
83
85
  let r8 = false;
84
86
  if (s5[l5] ? Array.isArray(s5[l5]) && 0 === s5[l5].length && (r8 = true) : r8 = true, r8) {
85
- const s6 = n(e5, l5).getConfigure();
86
- return t({ showClose: true, message: i().t("superPageRuntimeMessage.xxxNotEmpty", { label: s6.title ? s6.title : l5 }), type: "warning" }), false;
87
+ const r9 = n(e5, l5).getConfigure();
88
+ if ((_a = u5.notEmptyCondition) == null ? void 0 : _a.parentCondition) {
89
+ if (false === a(u5.notEmptyCondition.parentCondition.replaceAll("${field[", "${parent["), e5.dataTypeMaps, s5, {}, (_b = e5.entity) == null ? void 0 : _b.request, (_c = e5.entity) == null ? void 0 : _c.task, e5.contextParam)) return true;
90
+ }
91
+ return t({ showClose: true, message: i().t("superPageRuntimeMessage.xxxNotEmpty", { label: r9.title ? r9.title : l5 }), type: "warning" }), false;
87
92
  }
88
93
  }
89
94
  }
90
95
  return true;
91
96
  }(s4, e4)) return void l4(false);
92
- const r6 = true, y2 = window.$vueApp.config.globalProperties.$formValidator(e4, h2, d2, u2, c3, f3, m2, r6);
93
- b2 = y2.msg, o2 = y2.field, a4 = y2.listCode, p2 = y2.rowIndex, g2 = y2.pageNum;
94
- } else b2 = true;
95
- if (true !== b2) {
96
- if (t({ showClose: true, message: b2 + "", type: "warning" }), a4) {
97
- const e5 = n(s4, a4);
98
- e5 && e5.addRequiredClass && e5.addRequiredClass(o2, p2, g2);
97
+ const r6 = true, w2 = window.$vueApp.config.globalProperties.$formValidator(e4, y2, m2, f2, d3, c3, p2, r6);
98
+ h2 = w2.msg, o2 = w2.field, u4 = w2.listCode, g2 = w2.rowIndex, b2 = w2.pageNum;
99
+ } else h2 = true;
100
+ if (true !== h2) {
101
+ if (t({ showClose: true, message: h2 + "", type: "warning" }), u4) {
102
+ const e5 = n(s4, u4);
103
+ e5 && e5.addRequiredClass && e5.addRequiredClass(o2, g2, b2);
99
104
  } else {
100
105
  const e5 = n(s4, o2);
101
106
  e5 && e5.addRequiredClass && e5.addRequiredClass();
102
107
  }
103
108
  l4(false);
104
109
  } else Object.keys(e4).indexOf("validateErrorField") >= 0 && delete e4.validateErrorField, l4(e4);
105
- } else a3(new Error(i().t("superPageRuntimeMessage.formDataVerificationFailed")).message);
110
+ } else u3(new Error(i().t("superPageRuntimeMessage.formDataVerificationFailed")).message);
106
111
  }).catch((e5) => {
107
- a3(e5);
112
+ u3(e5);
108
113
  });
109
114
  });
110
115
  }(s3, l3, r3) : function(e4, t2, n2) {
111
116
  return new Promise((s4, r4) => {
112
- b(e4, t2, n2).then((t3) => {
117
+ h(e4, t2, n2).then((t3) => {
113
118
  if (t3) {
114
119
  const t4 = JSON.parse(JSON.stringify(e4));
115
120
  Object.keys(t4).indexOf("validateErrorField") >= 0 && delete t4.validateErrorField, s4(t4);
@@ -123,9 +128,9 @@ function p(e2, s2, r2) {
123
128
  return new Promise((e4, t2) => {
124
129
  e4(true);
125
130
  });
126
- }(r2, a2, f2, e2);
131
+ }(r2, u2, c2, e2);
127
132
  }
128
- function g(e2) {
133
+ function b(e2) {
129
134
  return new Promise((t2, n2) => {
130
135
  const r2 = [], i2 = e2.customValidatorUuids;
131
136
  i2 && i2.forEach((t3) => {
@@ -136,11 +141,11 @@ function g(e2) {
136
141
  }) : t2(true);
137
142
  });
138
143
  }
139
- function b(e2, n2, r2) {
144
+ function h(e2, n2, r2) {
140
145
  return new Promise((o2, a2) => {
141
146
  const u2 = JSON.parse(JSON.stringify(e2));
142
147
  if (r2 && 0 !== Object.keys(r2).length) {
143
- if (true === c(u2, r2, null, null, true, n2)) {
148
+ if (true === d(u2, r2, null, null, true, n2)) {
144
149
  const e3 = function(e4) {
145
150
  var _a;
146
151
  if (!e4) return true;
@@ -177,16 +182,16 @@ function b(e2, n2, r2) {
177
182
  }), r3.includes(false) && e6(false), s2.length > 0 ? Promise.all(s2).then((t3) => {
178
183
  t3.includes(false) ? e6(false) : e6(true);
179
184
  }).catch((t3) => {
180
- console.error(t3), e6(false);
185
+ e6(false);
181
186
  }) : e6(true);
182
187
  });
183
188
  return null;
184
189
  }(n2);
185
190
  e4 && l(e4) ? e4.then((e5) => {
186
- e5 ? g(n2).then((e6) => {
191
+ e5 ? b(n2).then((e6) => {
187
192
  o2(e6);
188
193
  }) : o2(false);
189
- }) : g(n2).then((e5) => {
194
+ }) : b(n2).then((e5) => {
190
195
  o2(e5);
191
196
  });
192
197
  } else a2(new Error(i().t("superPageRuntimeMessage.tableListSubTableDataVerificationFailed")).message);
@@ -194,7 +199,7 @@ function b(e2, n2, r2) {
194
199
  } else o2(true);
195
200
  });
196
201
  }
197
- function h(e2, t2) {
202
+ function y(e2, t2) {
198
203
  if (!e2) return t2;
199
204
  t2 || (t2 = {});
200
205
  const n2 = Object.keys(e2), s2 = e2;
@@ -204,34 +209,34 @@ function h(e2, t2) {
204
209
  Object.keys(e4).forEach((n3) => {
205
210
  t2.subRules || (t2.subRules = {}), t2.subRules[n3] ? Object.assign(t2.subRules[n3], e4[n3]) : t2.subRules[n3] = e4[n3];
206
211
  });
207
- } else C(s2[e3]), t2[e3] = s2[e3];
208
- }), d(t2);
212
+ } else x(s2[e3]), t2[e3] = s2[e3];
213
+ }), m(t2);
209
214
  }
210
- function y(e2) {
215
+ function w(e2) {
211
216
  if (!e2 || 0 === Object.keys(e2).length) return;
212
217
  const t2 = {}, n2 = Object.keys(e2);
213
218
  for (let s2 = 0; s2 < n2.length; s2++) {
214
219
  const r2 = n2[s2], i2 = e2[r2];
215
- w(i2), r2.indexOf(".") > 0 ? f(r2, t2, i2) : i2 && i2.length > 0 && (t2[r2] = [...i2]);
220
+ R(i2), r2.indexOf(".") > 0 ? c(r2, t2, i2) : i2 && i2.length > 0 && (t2[r2] = [...i2]);
216
221
  }
217
222
  return t2;
218
223
  }
219
- function w(e2, t2) {
224
+ function R(e2, t2) {
220
225
  e2.forEach((e3) => {
221
226
  e3.message;
222
227
  const t3 = e3.label, n2 = i().t(t3);
223
228
  e3.required && (e3.message = i().t("superPageRuntimeMessage.required", { label: n2 })), e3.myType && (e3.message = i().t("superPageRuntimeMessage.formatMismatch", { label: n2 })), e3.patternType && (e3.message = i().t("superPageRuntimeMessage.formatMismatch", { label: n2 })), void 0 !== e3.max && null !== e3.max && (e3.message = i().t("superPageRuntimeMessage.overMaxLength", { label: n2, value: e3.max })), void 0 !== e3.min && null !== e3.min && (e3.message = i().t("superPageRuntimeMessage.limitMinLength", { label: n2, value: e3.min }));
224
229
  });
225
230
  }
226
- function R(e2) {
231
+ function v(e2) {
227
232
  const t2 = e2.entity.data, n2 = { ...e2.entity.page, ...t2 }, s2 = o(e2), r2 = e2.entity.context, i2 = e2.entity.task;
228
233
  e2.formPropTiltleMap && Object.keys(e2.formPropTiltleMap).length > 0 && e2.completeTaskParam.fieldPermissions && e2.completeTaskParam.fieldPermissions.length > 0 && e2.completeTaskParam.fieldPermissions.forEach((t3) => {
229
234
  t3.name && e2.formPropTiltleMap[t3.name] && (t3.label = e2.formPropTiltleMap[t3.name]);
230
235
  });
231
236
  let l2 = window.$vueApp.config.globalProperties.$getValidator(e2.completeTaskParam.fieldPermissions, n2, true, s2, i2, r2);
232
- return l2 = h(e2.customRules, l2), l2;
237
+ return l2 = y(e2.customRules, l2), l2;
233
238
  }
234
- function v(e2, t2) {
239
+ function P(e2, t2) {
235
240
  if (!t2) return;
236
241
  const s2 = {};
237
242
  t2.forEach((e3) => {
@@ -239,31 +244,31 @@ function v(e2, t2) {
239
244
  n2 ? s2[t3] = n2 : false === e3.required && (s2[t3] = []);
240
245
  });
241
246
  let r2 = e2.rules ? e2.rules : {};
242
- r2 = h(s2, r2), e2.rules = r2;
247
+ r2 = y(s2, r2), e2.rules = r2;
243
248
  let i2 = e2.workflowRules ? e2.workflowRules : {};
244
- i2 = h(s2, i2), e2.workflowRules = i2;
249
+ i2 = y(s2, i2), e2.workflowRules = i2;
245
250
  const o2 = t2.filter((e3) => "_all_fields" === e3.name);
246
- o2 && o2.length > 0 && E(e2, o2[0]), t2.forEach((t3) => {
251
+ o2 && o2.length > 0 && k(e2, o2[0]), t2.forEach((t3) => {
247
252
  if ("_all_fields" !== t3.name) {
248
253
  O(n(e2, t3.name), t3);
249
254
  }
250
255
  });
251
256
  }
252
- function P(e2) {
253
- E(e2, { disabled: true });
257
+ function E(e2) {
258
+ k(e2, { disabled: true });
254
259
  }
255
- function E(e2, t2) {
260
+ function k(e2, t2) {
256
261
  const n2 = r(e2);
257
262
  if (n2) for (const e3 in n2) {
258
263
  const s2 = n2[e3];
259
264
  O(s2 ? s2.value : s2, t2);
260
265
  }
261
266
  }
262
- function k(e2, t2, r2) {
267
+ function C(e2, t2, r2) {
263
268
  var _a;
264
269
  let i2, o2;
265
270
  if (r2 ? (i2 = n(e2, r2), o2 = i2 ? i2.getTableUuid() : null) : (o2 = e2.tableUuids && e2.tableUuids.length > 0 ? e2.tableUuids[0] : null, i2 = o2 ? s(e2, o2) : null), !i2) return;
266
- const l2 = e2.code, u2 = e2.version, f2 = a(l2, u2, o2);
271
+ const l2 = e2.code, a2 = e2.version, f2 = u(l2, a2, o2);
267
272
  if (((_a = e2.workflowRules) == null ? void 0 : _a.subRules) && e2.workflowRules.subRules[r2]) {
268
273
  const n2 = e2.workflowRules.subRules[r2];
269
274
  t2.forEach((e3) => {
@@ -279,31 +284,31 @@ function O(e2, t2) {
279
284
  void 0 !== t2.show && (t2.show ? e2.show() : e2.hide()), void 0 !== t2.required && ((_a = n2 == null ? void 0 : n2.runtime) == null ? void 0 : _a.props) && (n2.runtime.props.required = t2.required), void 0 !== t2.readonly && ((_b = n2 == null ? void 0 : n2.runtime) == null ? void 0 : _b.props) && (t2.readonly ? n2.runtime.props.state = "readonly" : n2.runtime.props.state = "enabled"), void 0 !== t2.disabled && n2 && (((_c = n2 == null ? void 0 : n2.runtime) == null ? void 0 : _c.props) && (t2.disabled ? n2.runtime.props.state = "disabled" : n2.runtime.props.state = "enabled"), "table" === n2.name && e2.changeOperationAddState(false));
280
285
  }
281
286
  }
282
- function C(e2) {
287
+ function x(e2) {
283
288
  if (!(e2 == null ? void 0 : e2.type)) return;
284
289
  const t2 = j[e2.type];
285
290
  t2 && (e2.validator = t2.validator);
286
291
  }
287
292
  const j = { boolean: { validator: function(e2, t2, n2) {
288
- return true === x(e2, t2) && ("number" == typeof t2 && (1 === t2 || 0 === t2) || "boolean" == typeof t2 && (true === t2 || false === t2));
293
+ return true === M(e2, t2) && ("number" == typeof t2 && (1 === t2 || 0 === t2) || "boolean" == typeof t2 && (true === t2 || false === t2));
289
294
  } }, date: { validator: function(e2, t2, n2) {
290
- if (true !== x(e2, t2)) return false;
295
+ if (true !== M(e2, t2)) return false;
291
296
  const s2 = new Date(t2);
292
297
  return !isNaN(s2.getTime());
293
298
  } }, number: { validator: function(e2, t2, n2) {
294
- return true === x(e2, t2) && (("string" != typeof t2 || "" !== t2.trim()) && ("number" == typeof t2 || !isNaN(Number(t2))));
295
- } } }, x = (e2, t2) => null != t2 && "" !== t2 || !e2.required;
299
+ return true === M(e2, t2) && (("string" != typeof t2 || "" !== t2.trim()) && ("number" == typeof t2 || !isNaN(Number(t2))));
300
+ } } }, M = (e2, t2) => null != t2 && "" !== t2 || !e2.required;
296
301
  export {
297
- P as disabledAllFields,
298
- k as dynamicControlTableEdit,
299
- R as getWorkflowRules,
300
- w as i18nValidatePropRulesMessage,
301
- y as i18nValidateRulesMessage,
302
- h as packageCustomRules,
303
- C as packageCustomValidator,
304
- f as setObjectPropRule,
302
+ E as disabledAllFields,
303
+ C as dynamicControlTableEdit,
304
+ v as getWorkflowRules,
305
+ R as i18nValidatePropRulesMessage,
306
+ w as i18nValidateRulesMessage,
307
+ y as packageCustomRules,
308
+ x as packageCustomValidator,
309
+ c as setObjectPropRule,
305
310
  O as updateComponentDisplayState,
306
- v as updateFormItemEditState,
307
- p as validateDataModelFunc,
308
- c as validator
311
+ P as updateFormItemEditState,
312
+ g as validateDataModelFunc,
313
+ d as validator
309
314
  };
@@ -1,26 +1,26 @@
1
1
  import e from "agilebuilder-ui/src/utils/request";
2
2
  import { getAdditionalParamMap as t } from "./events/standard-event.js";
3
- import { PageDimensions as s } from "./interfaces/page-design-types.js";
4
- import { getFormPropName as i, getVariableValue as n, setVariableValue as o, formatVariableValue as r } from "./page-helper-util.js";
3
+ import { PageDimensions as i } from "./interfaces/page-design-types.js";
4
+ import { getFormPropName as s, getVariableValue as o, setVariableValue as n, formatVariableValue as r } from "./page-helper-util.js";
5
5
  import { getSessionCache as l } from "agilebuilder-ui/src/utils/auth";
6
6
  import { functions as a } from "./api/page-expose-util.js";
7
7
  import { isWorkflowPage as p, deepCopy as u } from "./common-util.js";
8
8
  import { packageCustomValidator as d } from "./events/validator-util.js";
9
9
  import { isMobileBrowser as f } from "agilebuilder-ui/src/utils/common-util";
10
- function m(t2) {
10
+ function c(t2) {
11
11
  return e.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/runtime/" + t2);
12
12
  }
13
- function c(e2) {
13
+ function m(e2) {
14
14
  var _a, _b, _c;
15
15
  if (null == e2) return null;
16
- const t2 = { uuid: e2.uuid, name: e2.name, label: e2.label, code: e2.code, version: e2.version, dimensions: e2.dimensions, systemCode: e2.systemCode, systemVersion: e2.systemVersion, backendUrl: e2.backendUrl, rules: {}, tableUuids: e2.tableUuids, listCodesMap: e2.listCodesMap, formNoRuleCode: e2.props ? e2.props.formNoRuleCode : null, judgeHeavyList: g(e2), pageType: e2.pageType, beanName: e2.props ? e2.props.beanName : null, importBeanName: e2.props ? e2.props.importBeanName : null, subTablePageInfo: e2.subTablePageInfo, workflowCode: e2.workflowCode, workflowVersion: e2.workflowVersion, refercePropMap: (_a = e2.runtime) == null ? void 0 : _a.refercePropMap, subTableWatchProps: e2.subTableWatchProps, dataTypeMaps: e2.dataTypeMaps, isWorkflowEntity: void 0 !== ((_b = e2.props) == null ? void 0 : _b.activeWorkflow) ? (_c = e2.props) == null ? void 0 : _c.activeWorkflow : e2.isWorkflowEntity, allChartUuids: e2.allChartUuids, branchFieldAuth: e2.branchFieldAuth, entity: { data: {}, task: {}, request: {}, page: {}, context: e2.contextParam, system: e2.systemParam } };
16
+ const t2 = { uuid: e2.uuid, name: e2.name, label: e2.label, code: e2.code, version: e2.version, dimensions: e2.dimensions, systemCode: e2.systemCode, systemVersion: e2.systemVersion, backendUrl: e2.backendUrl, rules: {}, tableUuids: e2.tableUuids, listCodesMap: e2.listCodesMap, listCodesInitSearchForm: e2.listCodesInitSearchForm, formNoRuleCode: e2.props ? e2.props.formNoRuleCode : null, judgeHeavyList: g(e2), pageType: e2.pageType, beanName: e2.props ? e2.props.beanName : null, importBeanName: e2.props ? e2.props.importBeanName : null, subTablePageInfo: e2.subTablePageInfo, workflowCode: e2.workflowCode, workflowVersion: e2.workflowVersion, refercePropMap: (_a = e2.runtime) == null ? void 0 : _a.refercePropMap, subTableWatchProps: e2.subTableWatchProps, dataTypeMaps: e2.dataTypeMaps, isWorkflowEntity: void 0 !== ((_b = e2.props) == null ? void 0 : _b.activeWorkflow) ? (_c = e2.props) == null ? void 0 : _c.activeWorkflow : e2.isWorkflowEntity, allChartUuids: e2.allChartUuids, branchFieldAuth: e2.branchFieldAuth, entity: { data: {}, task: {}, request: {}, page: {}, context: e2.contextParam, system: e2.systemParam }, propTitleMap: {} };
17
17
  if (e2.props && e2.props.notIdInitializationList) {
18
- let s2 = e2.props.notIdInitializationList;
19
- "string" == typeof s2 && (s2 = JSON.parse(s2)), s2.length > 0 && (t2.notIdInitializationList = s2);
18
+ let i2 = e2.props.notIdInitializationList;
19
+ "string" == typeof i2 && (i2 = JSON.parse(i2)), i2.length > 0 && (t2.notIdInitializationList = i2);
20
20
  }
21
21
  if (e2.variables) {
22
- const s2 = t2.entity.page;
23
- for (const t3 of e2.variables) t3.name && (t3.isArrayElement ? s2[t3.name] = [] : t3.defaultValue ? s2[t3.name] = t3.defaultValue : s2[t3.name] = void 0);
22
+ const i2 = t2.entity.page;
23
+ for (const t3 of e2.variables) t3.name && (t3.isArrayElement ? i2[t3.name] = [] : t3.defaultValue ? i2[t3.name] = t3.defaultValue : i2[t3.name] = void 0);
24
24
  }
25
25
  return function(e3) {
26
26
  if (f()) {
@@ -30,8 +30,8 @@ function c(e2) {
30
30
  } else e3.entity.page._isMobile = "false";
31
31
  }(t2), Object.assign(t2, e2), t2.dimensions = function() {
32
32
  const e3 = window.outerWidth;
33
- if (!e3) return s.PC;
34
- return e3 > 768 ? s.PC : e3 > 414 ? s.IPAD : s.PHONE;
33
+ if (!e3) return i.PC;
34
+ return e3 > 768 ? i.PC : e3 > 414 ? i.IPAD : i.PHONE;
35
35
  }(), t2.events = e2.runtime && e2.runtime.events ? e2.runtime.events : [], t2;
36
36
  }
37
37
  function g(e2) {
@@ -40,164 +40,181 @@ function g(e2) {
40
40
  e3.duplicateFieldList && e3.duplicateFieldList.length > 0 && (e3.duplicateFieldList = e3.duplicateFieldList.map((e4) => "string" == typeof e4 ? { propDbName: e4 } : e4));
41
41
  }), e2.props.judgeHeavyList) : null;
42
42
  } catch (e3) {
43
- console.error("getJudgeHeavyList error:", e3);
44
43
  }
45
44
  }
46
45
  function b(e2) {
47
46
  let t2 = decodeURI(window.location.href);
47
+ try {
48
+ window.top && !Array.isArray(window.top) && (t2 = decodeURI(window.top.location.href));
49
+ } catch (e3) {
50
+ }
48
51
  if (t2 && t2.includes("?")) {
49
52
  t2 = t2.substring(t2.lastIndexOf("?") + 1);
50
- const s2 = t2.split("&");
51
- for (const t3 of s2) {
52
- const s3 = t3.split("=");
53
- let i2 = s3[0];
54
- const n2 = s3.length > 1 ? s3[1] : "";
55
- e2[i2] = n2, i2.indexOf("ai__") >= 0 && (i2 = i2.substring(i2.indexOf("ai__") + 4)), e2[i2] = n2;
53
+ const i2 = t2.split("&");
54
+ for (const t3 of i2) {
55
+ const i3 = t3.split("=");
56
+ let s2 = i3[0];
57
+ if (s2) {
58
+ const t4 = i3.length > 1 ? i3[1] : "";
59
+ s2.indexOf("ai__") >= 0 && (s2 = s2.substring(s2.indexOf("ai__") + 4)), e2[s2] = t4;
60
+ }
56
61
  }
57
62
  }
58
63
  e2._t_;
59
64
  }
60
- function y(e2, t2) {
65
+ function h(e2, t2) {
61
66
  if (e2) {
62
67
  Object.assign(t2, e2);
63
68
  w(e2.paramStoreId, t2), delete e2.paramStoreId, e2.jumpMode && (t2.jumpMode = e2.jumpMode);
64
69
  }
65
70
  }
66
- function h(e2, t2) {
67
- if (e2 && (e2.params && Object.assign(t2, e2.params), e2.query, e2.query)) {
71
+ function y(e2, t2) {
72
+ if (e2 && (e2.params && Object.assign(t2, e2.params), e2.query)) {
68
73
  Object.assign(t2, e2.query);
69
74
  w(e2.query.paramStoreId, t2);
70
75
  }
71
76
  }
72
77
  function w(e2, t2) {
73
78
  if (e2) {
74
- const s2 = l(e2);
75
- if (s2) {
76
- const e3 = JSON.parse(s2);
79
+ const i2 = l(e2);
80
+ if (i2) {
81
+ const e3 = JSON.parse(i2);
77
82
  Object.assign(t2, e3);
78
83
  }
79
84
  }
80
85
  }
81
86
  function E(e2, t2) {
82
- let s2, i2 = t2;
83
- t2 || (s2 = e2.props.base ? e2.props.base : {}, i2 = s2.prop);
84
- let n2 = null;
85
- return t2 && !t2.startsWith("${") ? n2 = ["data", t2] : !e2 || i2 && i2.startsWith("${") ? i2.startsWith("${") ? (i2 = i2.substring(2, i2.length - 1), n2 = i2.split("."), e2 && n2.length < 2 && (n2 = [e2.uuid])) : e2 && (n2 = ["page", e2.uuid]) : n2 = ["page", e2.uuid], n2 || e2 ? n2 : ["temp"];
87
+ let i2, s2 = t2;
88
+ t2 || (i2 = e2.props.base ? e2.props.base : {}, s2 = i2.prop);
89
+ let o2 = null;
90
+ return t2 && !t2.startsWith("${") ? o2 = ["data", t2] : !e2 || s2 && s2.startsWith("${") ? s2.startsWith("${") ? (s2 = s2.substring(2, s2.length - 1), o2 = s2.split("."), e2 && o2.length < 2 && (o2 = [e2.uuid])) : e2 && (o2 = ["page", e2.uuid]) : o2 = ["page", e2.uuid], o2 || e2 ? o2 : ["temp"];
86
91
  }
87
- function v(e2, t2, s2) {
88
- const i2 = E(t2, s2), r2 = e2.entity;
92
+ function v(e2, t2, i2) {
93
+ var _a;
94
+ const s2 = E(t2, i2), r2 = e2.entity;
89
95
  if (null == r2.data.ID && null == r2.data.id) {
90
- let s3, l2, a2 = false;
91
- t2 && (s3 = t2.props.base ? t2.props.base : {}, l2 = t2.name, a2 = s3.multiple);
92
- const p2 = n(r2, i2);
96
+ let i3, l2, a2 = false;
97
+ t2 && (i3 = t2.props.base ? t2.props.base : {}, l2 = t2.name, a2 = i3.multiple);
98
+ const p2 = o(r2, s2);
93
99
  if (null == p2) {
94
- const t3 = s3 ? s3.defaultValue : null;
95
- if (t3) {
96
- const s4 = P(e2, t3, l2, a2);
97
- null != s4 && o(r2, i2, s4);
100
+ const t3 = i3 ? i3.defaultValue : null;
101
+ if (t3) try {
102
+ const o2 = P(e2, t3, l2, a2);
103
+ if (null != o2 && "" !== o2) n(r2, s2, o2);
104
+ else if (((_a = i3.moreDefaultValue) == null ? void 0 : _a.length) > 0) {
105
+ const t4 = i3.moreDefaultValue;
106
+ for (let i4 = 0; i4 < t4.length; i4++) {
107
+ const o3 = P(e2, t4[i4], l2, a2);
108
+ if (null != o3 && "" !== o3) {
109
+ n(r2, s2, o3);
110
+ break;
111
+ }
112
+ }
113
+ }
114
+ } catch (e3) {
98
115
  }
99
116
  }
100
117
  }
101
- return i2;
118
+ return s2;
102
119
  }
103
- function P(e2, t2, s2, i2) {
104
- let n2;
105
- if (t2 && (n2 = r(e2, t2), null != n2 && null != n2 && s2)) {
120
+ function P(e2, t2, i2, s2) {
121
+ let o2;
122
+ if (t2 && (o2 = r(e2, t2), null != o2 && null != o2 && i2)) {
106
123
  let e3 = false;
107
- "checkbox" == s2 ? e3 = true : "select" == s2 && (e3 = i2), e3 && (n2 = (n2 + "").split(","));
124
+ "checkbox" == i2 ? e3 = true : "select" == i2 && (e3 = s2), e3 && (o2 = (o2 + "").split(","));
108
125
  }
109
- return n2;
126
+ return o2;
110
127
  }
111
128
  function M(e2, t2) {
112
129
  var _a, _b;
113
130
  if (false === ((_b = (_a = e2.props) == null ? void 0 : _a.base) == null ? void 0 : _b.isPermission)) return "true";
114
- const s2 = [];
115
- if (e2.autoPermissions) for (const i2 of e2.autoPermissions) s2.push(t2.code + "." + i2.simpleCode);
131
+ const i2 = [];
132
+ if (e2.autoPermissions) for (const s2 of e2.autoPermissions) i2.push(t2.code + "." + s2.simpleCode);
116
133
  if (e2.functionCodes) {
117
- const i2 = e2.sourceTypes ? e2.sourceTypes : [], n2 = e2.functionCodes;
118
- for (let e3 = 0; e3 < n2.length; e3++) {
119
- const o2 = n2[e3], r2 = e3 < i2.length ? i2[e3] : "";
134
+ const s2 = e2.sourceTypes ? e2.sourceTypes : [], o2 = e2.functionCodes;
135
+ for (let e3 = 0; e3 < o2.length; e3++) {
136
+ const n2 = o2[e3], r2 = e3 < s2.length ? s2[e3] : "";
120
137
  let l2 = "";
121
- if ("service" == r2) l2 = o2;
122
- else if ("standard" === r2) l2 = t2.code + "." + o2;
138
+ if ("service" == r2) l2 = n2;
139
+ else if ("standard" === r2) l2 = t2.code + "." + n2;
123
140
  else {
124
- l2 = "custom" === k(o2, t2).type ? o2 : t2.code + "." + o2;
141
+ l2 = "custom" === k(n2, t2).type ? n2 : t2.code + "." + n2;
125
142
  }
126
- s2.includes(l2) || s2.push(l2);
143
+ i2.includes(l2) || i2.push(l2);
127
144
  }
128
145
  }
129
- return s2.join(",");
146
+ return i2.join(",");
130
147
  }
131
148
  function k(e2, t2) {
132
- const s2 = t2.pagePermissions;
133
- if (s2 && s2.length > 0) {
134
- for (let t3 = 0; t3 < s2.length; t3++) if (s2[t3].simpleCode === e2) return s2[t3];
149
+ const i2 = t2.pagePermissions;
150
+ if (i2 && i2.length > 0) {
151
+ for (let t3 = 0; t3 < i2.length; t3++) if (i2[t3].simpleCode === e2) return i2[t3];
135
152
  }
136
153
  return null;
137
154
  }
138
- function j(s2, i2, n2) {
139
- const o2 = s2.tableRuntimes, r2 = t(i2);
155
+ function C(i2, s2, o2) {
156
+ const n2 = i2.tableRuntimes, r2 = t(s2);
140
157
  let l2;
141
- const a2 = i2.code;
142
- return r2 && Object.keys(r2) > 0 && (l2 = JSON.stringify(r2)), e.post(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/super-grids", { tableRuntimes: o2, additionalParamMapJson: l2, pageCode: a2, publishVersion: n2, pageType: s2.pageType });
158
+ const a2 = s2.code;
159
+ return r2 && Object.keys(r2) > 0 && (l2 = JSON.stringify(r2)), e.post(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/super-grids", { tableRuntimes: n2, additionalParamMapJson: l2, pageCode: a2, publishVersion: o2, pageType: i2.pageType });
143
160
  }
144
- const C = ["button-detail", "print-label"];
145
- function I(e2, t2, s2) {
161
+ const I = ["button-detail", "print-label"];
162
+ function j(e2, t2, i2) {
146
163
  var _a, _b;
147
- const n2 = t2.props && t2.props.base ? t2.props.base.prop : null, o2 = p(e2);
164
+ const o2 = t2.props && t2.props.base ? t2.props.base.prop : null, n2 = p(e2);
148
165
  let r2 = false;
149
- if (o2 && C.indexOf(t2.name) < 0 && e2.fieldPermissionMap) {
150
- const s3 = e2.fieldPermissionMap.get("all_fields");
151
- false === (s3 == null ? void 0 : s3.canEdit) && ((_a = t2.runtime) == null ? void 0 : _a.props) && (t2.runtime.props.state = "disabled", r2 = true);
166
+ if (n2 && I.indexOf(t2.name) < 0 && e2.fieldPermissionMap) {
167
+ const i3 = e2.fieldPermissionMap.get("all_fields");
168
+ false === (i3 == null ? void 0 : i3.canEdit) && ((_a = t2.runtime) == null ? void 0 : _a.props) && (t2.runtime.props.state = "disabled", r2 = true);
152
169
  }
153
- if (n2) {
154
- const l2 = i(n2);
170
+ if (o2) {
171
+ const l2 = s(o2);
155
172
  if (e2.rules || (e2.rules = {}), t2.props.rules && t2.props.rules.length > 0 && (e2.rules[l2] || (e2.rules[l2] = []), t2.props.rules.forEach((e3) => {
156
- d(e3), !s2 && e3 && e3.required && (e3.required = false);
157
- }), e2.rules[l2] = t2.props.rules), o2 && !r2 && "button-detail" !== t2.name && e2.fieldPermissionMap) {
158
- const i2 = e2.fieldPermissionMap.get(l2);
159
- if (!s2 && e2.workflowRules && (e2.workflowRules[l2] || e2.workflowRules.rules && e2.workflowRules.rules[l2])) {
173
+ d(e3), !i2 && e3 && e3.required && (e3.required = false);
174
+ }), e2.rules[l2] = t2.props.rules), n2 && !r2 && "button-detail" !== t2.name && e2.fieldPermissionMap) {
175
+ const s2 = e2.fieldPermissionMap.get(l2);
176
+ if (!i2 && e2.workflowRules && (e2.workflowRules[l2] || e2.workflowRules.rules && e2.workflowRules.rules[l2])) {
160
177
  let t3 = e2.workflowRules[l2];
161
178
  if (!t3 && e2.workflowRules.rules && (t3 = e2.workflowRules.rules[l2]), t3 && Array.isArray(t3) && t3.length > 0) for (let e3 = 0; e3 < t3.length; e3++) {
162
- const s3 = t3[e3];
163
- if (s3 && s3.required) {
164
- s3.required = false;
179
+ const i3 = t3[e3];
180
+ if (i3 && i3.required) {
181
+ i3.required = false;
165
182
  break;
166
183
  }
167
184
  }
168
185
  else t3 && t3.required && (t3.required = false);
169
186
  }
170
- t2.runtime.props || (t2.runtime.props = {}), i2 ? (!s2 && i2.canEdit && (i2.canEdit = false), false === i2.canEdit ? t2.runtime.props.state = "disabled" : i2.canEdit && (t2.runtime.props.state = "", t2.runtime.props.required = true)) : t2.runtime.props.state = "";
187
+ t2.runtime.props || (t2.runtime.props = {}), s2 ? (!i2 && s2.canEdit && (s2.canEdit = false), false === s2.canEdit ? t2.runtime.props.state = "disabled" : s2.canEdit && (t2.runtime.props.state = "", t2.runtime.props.required = true)) : t2.runtime.props.state = "";
171
188
  }
172
189
  ((_b = t2.props) == null ? void 0 : _b.customRuleEvents) && (e2.customRuleEvents || (e2.customRuleEvents = []), e2.customRuleEvents.push({ prop: l2, events: t2.props.customRuleEvents }));
173
190
  }
174
191
  }
175
192
  function O(e2, t2) {
176
193
  if (e2.initInfo) {
177
- ["dynamicControlFormEdit", "disableElement", "enableElement", "hideElement", "showElement"].forEach((s2) => {
178
- const i2 = e2.initInfo[s2];
179
- if (i2) if ("dynamicControlFormEdit" === s2) {
180
- let s3 = i2.filter((e3) => "_all_fields" === e3.name || e3.name === t2);
181
- if (s3 && s3.length > 0 && (s3 = s3.filter((e3) => "_all_fields" === e3.name), s3 && s3.length > 0)) {
182
- const e3 = u(s3[0]);
183
- e3.name = t2, s3 = [e3];
194
+ ["dynamicControlFormEdit", "disableElement", "enableElement", "hideElement", "showElement"].forEach((i2) => {
195
+ const s2 = e2.initInfo[i2];
196
+ if (s2) if ("dynamicControlFormEdit" === i2) {
197
+ let i3 = s2.filter((e3) => "_all_fields" === e3.name || e3.name === t2);
198
+ if (i3 && i3.length > 0 && (i3 = i3.filter((e3) => "_all_fields" === e3.name), i3 && i3.length > 0)) {
199
+ const e3 = u(i3[0]);
200
+ e3.name = t2, i3 = [e3];
184
201
  }
185
- a.dynamicControlFormEdit(e2, s3, false);
186
- } else "disableElement" === s2 ? i2.indexOf(t2) >= 0 && a.disableElement(e2, [t2], false) : "enableElement" === s2 ? i2.indexOf(t2) >= 0 && a.enableElement(e2, [t2], false) : "hideElement" === s2 ? i2.indexOf(t2) >= 0 && a.hideElement(e2, [t2], false) : "showElement" === s2 && i2.indexOf(t2) >= 0 && a.showElement(e2, [t2], false);
202
+ a.dynamicControlFormEdit(e2, i3, false);
203
+ } else "disableElement" === i2 ? s2.indexOf(t2) >= 0 && a.disableElement(e2, [t2], false) : "enableElement" === i2 ? s2.indexOf(t2) >= 0 && a.enableElement(e2, [t2], false) : "hideElement" === i2 ? s2.indexOf(t2) >= 0 && a.hideElement(e2, [t2], false) : "showElement" === i2 && s2.indexOf(t2) >= 0 && a.showElement(e2, [t2], false);
187
204
  });
188
205
  }
189
206
  }
190
207
  export {
191
208
  O as controlObjectRenderState,
192
- c as convertToPageContext,
209
+ m as convertToPageContext,
193
210
  P as getDefaultValue,
194
211
  v as getFormModelFields,
195
212
  E as getModelFields,
196
213
  M as getPermissionCodes,
197
214
  b as packageAdditionalMapWithLocationSearch,
198
- y as packageAdditionalMapWithPageRequest,
199
- h as packageAdditionalMapWithRoute,
200
- I as packageFormRules,
201
- m as queryPageDesignByCode,
202
- j as queryPageSuperGrids
215
+ h as packageAdditionalMapWithPageRequest,
216
+ y as packageAdditionalMapWithRoute,
217
+ j as packageFormRules,
218
+ c as queryPageDesignByCode,
219
+ C as queryPageSuperGrids
203
220
  };