super-page-runtime 2.2.77-sit8 → 2.2.78

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 (68) hide show
  1. package/dist/es/components/runtime/utils/api/page-expose-util.js +56 -56
  2. package/dist/es/components/runtime/utils/barcode-util.js +5 -5
  3. package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +74 -74
  4. package/dist/es/components/runtime/utils/charts/chart-pie-util.js +46 -45
  5. package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +16 -14
  6. package/dist/es/components/runtime/utils/charts/chart-util.d.ts +1 -1
  7. package/dist/es/components/runtime/utils/charts/chart-util.js +9 -7
  8. package/dist/es/components/runtime/utils/events/event-util.js +113 -113
  9. package/dist/es/components/runtime/utils/events/print-label.js +38 -37
  10. package/dist/es/components/runtime/utils/events/standard-event.js +523 -508
  11. package/dist/es/components/runtime/utils/events/validator-util.js +62 -72
  12. package/dist/es/components/runtime/utils/form/scan-util.js +4 -3
  13. package/dist/es/components/runtime/utils/page-helper-util.js +210 -210
  14. package/dist/es/components/runtime/utils/page-init-util.js +50 -47
  15. package/dist/es/components/runtime/utils/page-permission-util.js +16 -16
  16. package/dist/es/components/runtime/utils/page-store.js +1 -1
  17. package/dist/es/components/runtime/utils/table-utils.js +23 -23
  18. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +13 -16
  19. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +1 -4
  20. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +11 -15
  21. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +16 -12
  22. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +10 -6
  23. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +11 -9
  24. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +1 -1
  25. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +1 -1
  26. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +13 -12
  27. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +14 -13
  28. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +15 -14
  29. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +17 -16
  30. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +122 -131
  31. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +57 -90
  32. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +26 -22
  33. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +4 -4
  34. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +1 -1
  35. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +2 -2
  36. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +1 -1
  37. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +6 -6
  38. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.js +1 -1
  39. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +35 -38
  40. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +1 -1
  41. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +1 -1
  42. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +12 -10
  43. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +94 -92
  44. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +124 -123
  45. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +14 -16
  46. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +1 -1
  47. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +77 -80
  48. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +1 -0
  49. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +29 -34
  50. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +41 -39
  51. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +22 -22
  52. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +51 -50
  53. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +8 -6
  54. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +10 -9
  55. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +1 -0
  56. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +1 -0
  57. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +8 -8
  58. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +4 -5
  59. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +1 -4
  60. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +7 -7
  61. package/dist/es/components/runtime/views/home-chart.vue.js +7 -7
  62. package/dist/es/components/runtime/views/super-page-dialog.vue.js +10 -9
  63. package/dist/es/components/runtime/views/{super-page-dialog.vue3.js → super-page-dialog.vue2.js} +0 -1
  64. package/dist/es/components/runtime/views/super-page.vue.js +1 -1
  65. package/dist/es/components/runtime/views/super-page.vue2.js +126 -126
  66. package/dist/es/index.js +0 -1
  67. package/dist/es/style.css +99 -225
  68. package/package.json +2 -2
@@ -1,9 +1,9 @@
1
1
  import e from "async-validator";
2
2
  import { ElMessage as t } from "element-plus";
3
- import { getComponentRefByCode as n, getAllComponentRefs as r, getComponentRef as s } from "../global-refs.js";
3
+ import { getComponentRefByCode as n, getComponentRef as r, getAllComponentRefs as s } from "../global-refs.js";
4
4
  import { getI18n as i } from "agilebuilder-ui/src/utils/util";
5
- import { getAdditionalParamMap as l } from "./standard-event.js";
6
- import { isPromise as o } from "agilebuilder-ui/src/utils/common-util";
5
+ import { getAdditionalParamMap as o } from "./standard-event.js";
6
+ import { isPromise as l } from "agilebuilder-ui/src/utils/common-util";
7
7
  import { getListCode as a, isWorkflowPage as u } from "../common-util.js";
8
8
  function f(e2, t2, n2) {
9
9
  const r2 = {};
@@ -11,32 +11,32 @@ function f(e2, t2, n2) {
11
11
  let s2 = 0;
12
12
  const i2 = e2.split(".");
13
13
  return i2.forEach((e3) => {
14
- let l2;
15
- if (s2 === i2.length - 1) l2 = function(e4, t3, n3) {
14
+ let o2;
15
+ if (s2 === i2.length - 1) o2 = function(e4, t3, n3) {
16
16
  let r3;
17
17
  for (let s3 = 0; s3 < t3.length; s3++) if (r3 = 0 === s3 ? e4[t3[s3]] : r3.fields[t3[s3]], s3 !== t3.length - 1) {
18
18
  if (t3[s3 + 1] === n3) break;
19
19
  }
20
20
  return r3;
21
- }(r2, i2, e3), l2.fields[e3] = n2;
21
+ }(r2, i2, e3), o2.fields[e3] = n2;
22
22
  else {
23
23
  let n3;
24
- 0 === s2 ? l2 = t2 : (n3 = function(e4, t3, n4) {
24
+ 0 === s2 ? o2 = t2 : (n3 = function(e4, t3, n4) {
25
25
  let r3;
26
26
  for (let s3 = 0; s3 < t3.length; s3++) {
27
27
  const i3 = t3[s3];
28
28
  if (r3 = 0 === s3 ? e4[i3] : r3.fields[t3[s3]], i3 === n4) break;
29
29
  }
30
30
  return r3;
31
- }(r2, i2, i2[s2 - 1]), l2 = n3.fields), l2[e3] || (l2[e3] = { type: "object", required: true, fields: {} }), 0 === s2 ? r2[e3] = l2[e3] : n3.fields[e3] = l2[e3];
31
+ }(r2, i2, i2[s2 - 1]), o2 = n3.fields), o2[e3] || (o2[e3] = { type: "object", required: true, fields: {} }), 0 === s2 ? r2[e3] = o2[e3] : n3.fields[e3] = o2[e3];
32
32
  }
33
33
  s2++;
34
34
  }), r2;
35
35
  }
36
36
  function c(e2, t2, n2, r2, s2) {
37
- return d(e2, t2, n2, r2, true);
37
+ return m(e2, t2, n2, r2, true);
38
38
  }
39
- function m(e2) {
39
+ function d(e2) {
40
40
  if (e2) return Object.keys(e2).forEach((t2) => {
41
41
  if (t2.indexOf(".") >= 0) {
42
42
  let n2 = [];
@@ -44,34 +44,34 @@ function m(e2) {
44
44
  }
45
45
  }), e2;
46
46
  }
47
- function d(n2, r2, s2, i2, l2, o2) {
48
- let a2, u2 = m(r2);
47
+ function m(n2, r2, s2, i2, o2, l2) {
48
+ let a2, u2 = d(r2);
49
49
  if (r2 && null !== r2 || !s2 || (u2 = {}), !u2 || 0 === Object.keys(u2).length) return n2.validateErrorField = "", true;
50
- return new e(u2).validate(n2, { first: true }, (e2, o3) => {
50
+ return new e(u2).validate(n2, { first: true }, (e2, l3) => {
51
51
  let u3;
52
- if (e2 ? (a2 = e2[0].message, u3 = e2[0].field, t({ message: a2, showClose: true, type: "warning", duration: 3e3 })) : a2 = true, u3 && true === l2) {
52
+ if (e2 ? (a2 = e2[0].message, u3 = e2[0].field, t({ message: a2, showClose: true, type: "warning", duration: 3e3 }), console.log("errors", e2, "fields", l3)) : a2 = true, u3 && true === o2) {
53
53
  if (/[A-Z]+/.test(u3) && void 0 !== n2[u3.toLowerCase()]) {
54
54
  const e3 = JSON.parse(JSON.stringify(n2));
55
- e3[u3.toUpperCase()] = n2[u3.toLowerCase()], delete e3[u3.toLowerCase()], a2 = d(e3, r2, s2, i2, false);
55
+ e3[u3.toUpperCase()] = n2[u3.toLowerCase()], delete e3[u3.toLowerCase()], a2 = m(e3, r2, s2, i2, false);
56
56
  }
57
57
  }
58
58
  }), a2;
59
59
  }
60
60
  function p(e2, n2, r2) {
61
- const s2 = e2.entity.data, o2 = { ...e2.entity.page, ...s2 }, a2 = e2.rules, f2 = n2.props.base ? n2.props.base.isEnableRequired : null;
61
+ const s2 = e2.entity.data, l2 = { ...e2.entity.page, ...s2 }, a2 = e2.rules, f2 = n2.props.base ? n2.props.base.isEnableRequired : null;
62
62
  return null != f2 && (r2 = f2), null == r2 && (r2 = false), function(e3, n3, r3, s3) {
63
63
  if (e3) {
64
64
  return u(s3) ? function(e4, n4, r4) {
65
- return new Promise((s4, o3) => {
66
- const a3 = l(n4), u2 = n4.entity.context, f3 = n4.entity.task, c2 = true, m2 = n4.subTablePageInfo;
65
+ return new Promise((s4, l3) => {
66
+ const a3 = o(n4), u2 = n4.entity.context, f3 = n4.entity.task, c2 = true, d2 = n4.subTablePageInfo;
67
67
  b(e4, n4, r4).then((r5) => {
68
68
  if (r5) {
69
69
  let i2 = r5;
70
- const l2 = n4.workflowRules;
71
- i2 = !l2 || window.$vueApp.config.globalProperties.$formValidator(e4, l2, c2, a3, f3, u2, m2), true !== i2 ? (t({ showClose: true, message: i2 + "", type: "warning" }), s4(false)) : (Object.keys(e4).indexOf("validateErrorField") >= 0 && delete e4.validateErrorField, s4(e4));
72
- } else o3(new Error(i().t("superPageRuntimeMessage.formDataVerificationFailed")).message);
70
+ const o2 = n4.workflowRules;
71
+ i2 = !o2 || window.$vueApp.config.globalProperties.$formValidator(e4, o2, c2, a3, f3, u2, d2), true !== i2 ? (t({ showClose: true, message: i2 + "", type: "warning" }), s4(false)) : (Object.keys(e4).indexOf("validateErrorField") >= 0 && delete e4.validateErrorField, s4(e4));
72
+ } else l3(new Error(i().t("superPageRuntimeMessage.formDataVerificationFailed")).message);
73
73
  }).catch((e5) => {
74
- o3(e5);
74
+ l3(e5);
75
75
  });
76
76
  });
77
77
  }(n3, s3, r3) : function(e4, t2, n4) {
@@ -90,21 +90,21 @@ function p(e2, n2, r2) {
90
90
  return new Promise((e4, t2) => {
91
91
  e4(true);
92
92
  });
93
- }(r2, o2, a2, e2);
93
+ }(r2, l2, a2, e2);
94
94
  }
95
95
  function g(e2) {
96
96
  return new Promise((t2, n2) => {
97
- const r2 = [], i2 = e2.customValidatorUuids;
97
+ const s2 = [], i2 = e2.customValidatorUuids;
98
98
  i2 && i2.forEach((t3) => {
99
- const n3 = s(e2, t3);
100
- n3 && n3.validator && r2.push(n3.validator());
101
- }), r2 && r2.length > 0 ? Promise.all(r2).then((e3) => {
99
+ const n3 = r(e2, t3);
100
+ n3 && n3.validator && s2.push(n3.validator());
101
+ }), s2 && s2.length > 0 ? Promise.all(s2).then((e3) => {
102
102
  e3.includes(false) ? t2(false) : t2(true);
103
103
  }) : t2(true);
104
104
  });
105
105
  }
106
106
  function b(e2, t2, n2) {
107
- return new Promise((r2, l2) => {
107
+ return new Promise((s2, o2) => {
108
108
  const a2 = JSON.parse(JSON.stringify(e2));
109
109
  if (n2 && 0 !== Object.keys(n2).length) {
110
110
  if (true === c(a2, n2, null, null)) {
@@ -113,7 +113,7 @@ function b(e2, t2, n2) {
113
113
  const t3 = e4.tableUuids;
114
114
  if (!t3) return true;
115
115
  for (let n3 = 0; n3 < t3.length; n3++) {
116
- const r3 = t3[n3], i2 = s(e4, r3);
116
+ const s3 = t3[n3], i2 = r(e4, s3);
117
117
  if (i2) {
118
118
  if (!i2.validatorSunTableListData()) return false;
119
119
  }
@@ -124,33 +124,33 @@ function b(e2, t2, n2) {
124
124
  const e4 = function(e5) {
125
125
  const t3 = [];
126
126
  e5.customRuleEvents && e5.customRuleEvents.length > 0 && e5.customRuleEvents.forEach((n3) => {
127
- n3.events.forEach((r3) => {
128
- const s2 = e5.customEvents[r3];
129
- t3.push(s2.apply(s2, [{ prop: n3.prop, pageContext: e5 }]));
127
+ n3.events.forEach((r2) => {
128
+ const s3 = e5.customEvents[r2];
129
+ t3.push(s3.apply(s3, [{ prop: n3.prop, pageContext: e5 }]));
130
130
  });
131
131
  });
132
132
  if (t3 && t3.length > 0) return new Promise((e6, n3) => {
133
- const r3 = [], s2 = [];
133
+ const r2 = [], s3 = [];
134
134
  t3.forEach((e7) => {
135
- o(e7) ? r3.push(e7) : s2.push(e7);
136
- }), s2.includes(false) && e6(false), r3.length > 0 ? Promise.all(r3).then((t4) => {
135
+ l(e7) ? r2.push(e7) : s3.push(e7);
136
+ }), s3.includes(false) && e6(false), r2.length > 0 ? Promise.all(r2).then((t4) => {
137
137
  t4.includes(false) ? e6(false) : e6(true);
138
138
  }).catch((t4) => {
139
- e6(false);
139
+ console.error(t4), e6(false);
140
140
  }) : e6(true);
141
141
  });
142
142
  return null;
143
143
  }(t2);
144
- e4 && o(e4) ? e4.then((e5) => {
144
+ e4 && l(e4) ? e4.then((e5) => {
145
145
  e5 ? g(t2).then((e6) => {
146
- r2(e6);
147
- }) : r2(false);
146
+ s2(e6);
147
+ }) : s2(false);
148
148
  }) : g(t2).then((e5) => {
149
- r2(e5);
149
+ s2(e5);
150
150
  });
151
- } else l2(new Error(i().t("superPageRuntimeMessage.tableListSubTableDataVerificationFailed")).message);
152
- } else l2(new Error(i().t("superPageRuntimeMessage.formDataVerificationFailed")).message);
153
- } else r2(true);
151
+ } else o2(new Error(i().t("superPageRuntimeMessage.tableListSubTableDataVerificationFailed")).message);
152
+ } else o2(new Error(i().t("superPageRuntimeMessage.formDataVerificationFailed")).message);
153
+ } else s2(true);
154
154
  });
155
155
  }
156
156
  function h(e2, t2) {
@@ -163,8 +163,8 @@ function h(e2, t2) {
163
163
  Object.keys(e4).forEach((n3) => {
164
164
  t2.subRules || (t2.subRules = {}), t2.subRules[n3] ? Object.assign(t2.subRules[n3], e4[n3]) : t2.subRules[n3] = e4[n3];
165
165
  });
166
- } else j(r2[e3]), t2[e3] = r2[e3];
167
- }), m(t2);
166
+ } else k(r2[e3]), t2[e3] = r2[e3];
167
+ }), d(t2);
168
168
  }
169
169
  function y(e2) {
170
170
  if (!e2 || 0 === Object.keys(e2).length) return;
@@ -183,12 +183,12 @@ function w(e2, t2) {
183
183
  });
184
184
  }
185
185
  function v(e2) {
186
- const t2 = e2.entity.data, n2 = { ...e2.entity.page, ...t2 }, r2 = l(e2), s2 = e2.entity.context, i2 = e2.entity.task;
186
+ const t2 = e2.entity.data, n2 = { ...e2.entity.page, ...t2 }, r2 = o(e2), s2 = e2.entity.context, i2 = e2.entity.task;
187
187
  e2.formPropTiltleMap && Object.keys(e2.formPropTiltleMap).length > 0 && e2.completeTaskParam.fieldPermissions && e2.completeTaskParam.fieldPermissions.length > 0 && e2.completeTaskParam.fieldPermissions.forEach((t3) => {
188
188
  t3.name && e2.formPropTiltleMap[t3.name] && (t3.label = e2.formPropTiltleMap[t3.name]);
189
189
  });
190
- let o2 = window.$vueApp.config.globalProperties.$getValidator(e2.completeTaskParam.fieldPermissions, n2, true, r2, i2, s2);
191
- return o2 = h(e2.customRules, o2), o2;
190
+ let l2 = window.$vueApp.config.globalProperties.$getValidator(e2.completeTaskParam.fieldPermissions, n2, true, r2, i2, s2);
191
+ return l2 = h(e2.customRules, l2), l2;
192
192
  }
193
193
  function P(e2, t2) {
194
194
  if (!t2) return;
@@ -200,38 +200,28 @@ function P(e2, t2) {
200
200
  let s2 = e2.rules ? e2.rules : {};
201
201
  s2 = h(r2, s2), e2.rules = s2;
202
202
  let i2 = e2.workflowRules ? e2.workflowRules : {};
203
- i2 = h(r2, i2), e2.workflowRules = i2;
204
- const l2 = t2.filter((e3) => "_all_fields" === e3.name);
205
- l2 && l2.length > 0 && O(e2, l2[0]), t2.forEach((t3) => {
206
- if ("_all_fields" !== t3.name) {
207
- k(n(e2, t3.name), t3);
208
- }
203
+ i2 = h(r2, i2), e2.workflowRules = i2, t2.forEach((t3) => {
204
+ O(n(e2, t3.name), t3);
209
205
  });
210
206
  }
211
207
  function E(e2) {
212
- O(e2, { disabled: true });
213
- }
214
- function O(e2, t2) {
215
- const n2 = r(e2);
216
- if (n2) for (const e3 in n2) {
217
- const r2 = n2[e3];
218
- k(r2 ? r2.value : r2, t2);
219
- }
208
+ s(e2).forEach((e3) => {
209
+ O(e3, { disabled: true });
210
+ });
220
211
  }
221
- function R(e2, t2, r2) {
222
- let i2, l2;
223
- if (r2 ? (i2 = n(e2, r2), l2 = i2 ? i2.getTableUuid() : null) : (l2 = e2.tableUuids && e2.tableUuids.length > 0 ? e2.tableUuids[0] : null, i2 = l2 ? s(e2, l2) : null), !i2) return;
224
- const o2 = e2.code, u2 = e2.version, f2 = a(o2, u2, l2);
212
+ function R(e2, t2, s2) {
213
+ let i2, o2;
214
+ if (s2 ? (i2 = n(e2, s2), o2 = i2 ? i2.getTableUuid() : null) : (o2 = e2.tableUuids && e2.tableUuids.length > 0 ? e2.tableUuids[0] : null, i2 = o2 ? r(e2, o2) : null), !i2) return;
215
+ const l2 = e2.code, u2 = e2.version, f2 = a(l2, u2, o2);
225
216
  i2.dynamicControlTableEdit(e2, t2, f2);
226
217
  }
227
- function k(e2, t2) {
228
- var _a, _b, _c;
218
+ function O(e2, t2) {
229
219
  if (e2) {
230
220
  const n2 = e2.getConfigure();
231
- 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));
221
+ void 0 !== t2.show && (t2.show ? e2.show() : e2.hide()), void 0 !== t2.required && (n2.runtime.props.required = t2.required), void 0 !== t2.readonly && (t2.readonly ? n2.runtime.props.state = "readonly" : n2.runtime.props.state = "enabled"), void 0 !== t2.disabled && (t2.disabled ? n2.runtime.props.state = "disabled" : n2.runtime.props.state = "enabled");
232
222
  }
233
223
  }
234
- function j(e2) {
224
+ function k(e2) {
235
225
  e2 && e2.type && "boolean" === e2.type ? e2.validator = function(e3, t2, n2) {
236
226
  return null == t2 ? !e3.required : "number" == typeof t2 && (1 === t2 || 0 === t2) || "boolean" == typeof t2 && (true === t2 || false === t2);
237
227
  } : e2 && e2.type && "date" === e2.type && (e2.validator = function(e3, t2, n2) {
@@ -249,9 +239,9 @@ export {
249
239
  w as i18nValidatePropRulesMessage,
250
240
  y as i18nValidateRulesMessage,
251
241
  h as packageCustomRules,
252
- j as packageCustomValidator,
242
+ k as packageCustomValidator,
253
243
  f as setObjectPropRule,
254
- k as updateComponentDisplayState,
244
+ O as updateComponentDisplayState,
255
245
  P as updateFormItemEditState,
256
246
  p as validateDataModelFunc,
257
247
  c as validator
@@ -44,8 +44,9 @@ function analysisScanValue(scanValue, scanRuleSets) {
44
44
  }
45
45
  let res = false;
46
46
  if (validStr) try {
47
- res = eval("(" + validStr + ")");
47
+ console.log("validStr", validStr), res = eval("(" + validStr + ")"), console.log("res", res);
48
48
  } catch (e) {
49
+ console.log(e);
49
50
  }
50
51
  else res = true;
51
52
  if (res) return executeAnalysisForScan(scanValue, scanSet);
@@ -62,11 +63,11 @@ function executeAnalysisForScan(e, t) {
62
63
  let n = e;
63
64
  if (t2.splitChar && t2.splitNum) {
64
65
  const a3 = (t2.splitChar, t2.splitChar), s2 = e.split(a3), l = t2.splitNum < 1 ? 1 : t2.splitNum;
65
- n = l <= s2.length ? s2[l - 1] : "";
66
+ console.log(n, a3, s2, l), n = l <= s2.length ? s2[l - 1] : "";
66
67
  }
67
68
  if (t2.splitChar2 && t2.splitNum2) {
68
69
  const e2 = (t2.splitChar2, t2.splitChar2), a3 = n.split(e2), s2 = t2.splitNum2 < 1 ? 1 : t2.splitNum2;
69
- n = s2 <= a3.length ? a3[s2 - 1] : "";
70
+ console.log(n, e2, a3, s2), n = s2 <= a3.length ? a3[s2 - 1] : "";
70
71
  }
71
72
  if (n.length > 0) {
72
73
  const e2 = _getScanIndexs(n, t2.startIndex, t2.endIndex), a3 = e2[0], s2 = e2[1];