@das-fed/ui 7.0.7-hot.21 → 7.0.7-hot.23

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 (99) hide show
  1. package/package.json +5 -5
  2. package/packages/business-components/ai-panel/{index-8yffh0Id.js → index-DMJXZM7n.js} +1067 -1056
  3. package/packages/business-components/ai-panel/index-DMJXZM7n.js.gz +0 -0
  4. package/packages/business-components/ai-panel/{index-IzGl26KU.js → index-MqhMkLo9.js} +9 -9
  5. package/packages/business-components/ai-panel/index-MqhMkLo9.js.gz +0 -0
  6. package/packages/business-components/ai-panel/{index-OwRrV6K8.js → index-_q72oKSF.js} +63 -62
  7. package/packages/business-components/ai-panel/index-_q72oKSF.js.gz +0 -0
  8. package/packages/business-components/ai-panel/index.js +1 -1
  9. package/packages/business-components/device-panel/index.js +14908 -14808
  10. package/packages/business-components/device-panel/index.js.gz +0 -0
  11. package/packages/business-components/echarts/index.js +2056 -2049
  12. package/packages/business-components/echarts/index.js.gz +0 -0
  13. package/packages/business-components/process-configuration/index.js +46 -46
  14. package/packages/business-components/process-configuration/index.js.gz +0 -0
  15. package/packages/business-components/process-form/index.js +99 -99
  16. package/packages/business-components/process-form/index.js.gz +0 -0
  17. package/packages/business-components/process-search-form/index.js +77 -77
  18. package/packages/business-components/process-search-form/index.js.gz +0 -0
  19. package/packages/business-components/process-table/index.js +215 -213
  20. package/packages/business-components/process-table/index.js.gz +0 -0
  21. package/packages/business-components/urgent-panel/index.js +1104 -1096
  22. package/packages/business-components/urgent-panel/index.js.gz +0 -0
  23. package/packages/business-components/user-org-dialog/index.js +243 -240
  24. package/packages/business-components/user-org-dialog/index.js.gz +0 -0
  25. package/packages/business-components/video-dialog/index.js +65 -64
  26. package/packages/business-components/video-dialog/index.js.gz +0 -0
  27. package/packages/components/autocomplete/index.js +12 -6
  28. package/packages/components/autocomplete/index.js.gz +0 -0
  29. package/packages/components/calendar/index.js +99 -99
  30. package/packages/components/calendar/index.js.gz +0 -0
  31. package/packages/components/cascader/index.js +2 -2
  32. package/packages/components/cascader/index.js.gz +0 -0
  33. package/packages/components/checkbox/index.js +30 -30
  34. package/packages/components/checkbox/index.js.gz +0 -0
  35. package/packages/components/date-picker/index.js +212 -212
  36. package/packages/components/date-picker/index.js.gz +0 -0
  37. package/packages/components/dimple-layout/index.js +77 -75
  38. package/packages/components/dimple-layout/index.js.gz +0 -0
  39. package/packages/components/dropdown/index.js +25 -24
  40. package/packages/components/dropdown/index.js.gz +0 -0
  41. package/packages/components/edit-table/index.js +398 -397
  42. package/packages/components/edit-table/index.js.gz +0 -0
  43. package/packages/components/error-overlay-model/index.js +47 -45
  44. package/packages/components/error-overlay-model/index.js.gz +0 -0
  45. package/packages/components/form-item/index.js +67 -67
  46. package/packages/components/form-item/index.js.gz +0 -0
  47. package/packages/components/hls-player/index.js +14 -7
  48. package/packages/components/hls-player/index.js.gz +0 -0
  49. package/packages/components/image-upload/index.js +147 -143
  50. package/packages/components/image-upload/index.js.gz +0 -0
  51. package/packages/components/image-viewer/index.js +297 -293
  52. package/packages/components/image-viewer/index.js.gz +0 -0
  53. package/packages/components/input/index.js +52 -52
  54. package/packages/components/input/index.js.gz +0 -0
  55. package/packages/components/input-number/index.js +26 -26
  56. package/packages/components/input-number/index.js.gz +0 -0
  57. package/packages/components/live-player/index.js +251 -248
  58. package/packages/components/live-player/index.js.gz +0 -0
  59. package/packages/components/map/index.js +421 -415
  60. package/packages/components/map/index.js.gz +0 -0
  61. package/packages/components/menu-aside/index.js +1 -1
  62. package/packages/components/menu-aside/index.js.gz +0 -0
  63. package/packages/components/message/index.js +6 -6
  64. package/packages/components/message/index.js.gz +0 -0
  65. package/packages/components/popover/index.js +12 -12
  66. package/packages/components/popover/index.js.gz +0 -0
  67. package/packages/components/radio-tabs/index.js +34 -34
  68. package/packages/components/radio-tabs/index.js.gz +0 -0
  69. package/packages/components/rich-editor/index.js +4613 -4583
  70. package/packages/components/rich-editor/index.js.gz +0 -0
  71. package/packages/components/scrollbar/index.js +135 -135
  72. package/packages/components/scrollbar/index.js.gz +0 -0
  73. package/packages/components/search/index.js +24 -24
  74. package/packages/components/search/index.js.gz +0 -0
  75. package/packages/components/select/index.js +60 -60
  76. package/packages/components/select/index.js.gz +0 -0
  77. package/packages/components/select-list/index.js +9 -5
  78. package/packages/components/select-list/index.js.gz +0 -0
  79. package/packages/components/special-range-picker-month/index.js +16 -14
  80. package/packages/components/special-range-picker-month/index.js.gz +0 -0
  81. package/packages/components/special-range-picker-year/index.js +53 -51
  82. package/packages/components/special-range-picker-year/index.js.gz +0 -0
  83. package/packages/components/spin/index.js +33 -33
  84. package/packages/components/spin/index.js.gz +0 -0
  85. package/packages/components/split-panel/index.js +129 -128
  86. package/packages/components/split-panel/index.js.gz +0 -0
  87. package/packages/components/table/index.js +179 -178
  88. package/packages/components/table/index.js.gz +0 -0
  89. package/packages/components/time-line/index.js +1 -1
  90. package/packages/components/time-line/index.js.gz +0 -0
  91. package/packages/components/tree-select/index.js +1 -1
  92. package/packages/components/tree-select/index.js.gz +0 -0
  93. package/packages/components/tree-table/index.js +2 -2
  94. package/packages/components/tree-table/index.js.gz +0 -0
  95. package/packages/components/tree-v2/index.js +1117 -1093
  96. package/packages/components/tree-v2/index.js.gz +0 -0
  97. package/packages/business-components/ai-panel/index-8yffh0Id.js.gz +0 -0
  98. package/packages/business-components/ai-panel/index-IzGl26KU.js.gz +0 -0
  99. package/packages/business-components/ai-panel/index-OwRrV6K8.js.gz +0 -0
@@ -9,14 +9,14 @@ import { DasUpload as wt } from "@das-fed/ui/packages/components/upload/index";
9
9
  import { DasFormItem as U } from "@das-fed/ui/packages/components/form-item/index";
10
10
  import { DasAutocomplete as Ct } from "@das-fed/ui/packages/components/autocomplete/index";
11
11
  import fe from "dayjs";
12
- import { DasImageViewer as Be } from "@das-fed/ui/packages/components/image-viewer/index";
12
+ import { DasImageViewer as Ee } from "@das-fed/ui/packages/components/image-viewer/index";
13
13
  import { DasInput as Dt } from "@das-fed/ui/packages/components/input/index";
14
14
  import { DasTooltip as Se } from "@das-fed/ui/packages/components/tooltip/index";
15
15
  import { i18n as A, t as C, setI18nRule as Vt } from "@das-fed/web/packages/i18n/index";
16
16
  import { DasTableColumn as I } from "@das-fed/ui/packages/components/table/index";
17
17
  import { DasSearchForm as kt } from "@das-fed/ui/packages/components/search-form/index";
18
18
  import { DasModelTableDialog as St } from "@das-fed/ui/packages/business-components/model-table-dialog";
19
- import { getProjectInfo as Ee } from "@das-fed/utils/common-info";
19
+ import { getProjectInfo as Be } from "@das-fed/utils/common-info";
20
20
  import { getConfig as Nt } from "@das-fed/utils/config";
21
21
  import { DasRichEditor as Ae } from "@das-fed/ui/packages/components/rich-editor/index";
22
22
  import { DasCollaspe as Qe } from "@das-fed/ui/packages/components/collaspe/index";
@@ -25,7 +25,7 @@ const ae = "v1", Lt = X(`/workflow/form/form/${ae}`), zt = X(`/workflow/form/for
25
25
  X(`/workflow/api/user/${ae}`);
26
26
  const xe = X(`/workflow/api/extend/${ae}`), Mt = X(`/workflow/flow/def/${ae}`), Tt = X(`/workflow/form/customQuery/${ae}`), le = X(`/api/enterpriseright/permission/${ae}`), Ne = X(`/api/space-manage/space-tree/${ae}`), Rt = X(`/workflow/form/dataTemplate/${ae}`), Le = X(`/api/supply/supplier/${ae}`), $t = X(`/api/warehouse/vms/${ae}/asset-receive`), Pt = Rt.get("/getBpmDataTemplateInfoByFlowKey"), Ft = Lt.get("/formDesign"), It = zt.get("/get"), jt = xe.get("/report-config");
27
27
  xe.get("/application-report");
28
- const Ot = Mt.get("/getBindRelationByDefKey"), qt = Tt.get("/getByAlias"), Kt = le.get("/organization/authTree"), Bt = le.post("/user/list"), Et = le.post("/data/user-query"), At = le.get("/role/list"), Qt = le.post("/data/role-ids"), Ut = le.get("/organization/organizationpage"), xt = le.get("/station/list"), Yt = le.get("/position/list"), _e = le.post("/organization/detailbyids"), Jt = Ne.get("/controller/area-children"), Ht = Ne.get("/controller/fuzzy-tree-all"), Wt = Ne.get("/controller/space"), Zt = Le.post("/supplier/list/page", (n) => {
28
+ const Ot = Mt.get("/getBindRelationByDefKey"), qt = Tt.get("/getByAlias"), Kt = le.get("/organization/authTree"), Et = le.post("/user/list"), Bt = le.post("/data/user-query"), At = le.get("/role/list"), Qt = le.post("/data/role-ids"), Ut = le.get("/organization/organizationpage"), xt = le.get("/station/list"), Yt = le.get("/position/list"), _e = le.post("/organization/detailbyids"), Jt = Ne.get("/controller/area-children"), Ht = Ne.get("/controller/fuzzy-tree-all"), Wt = Ne.get("/controller/space"), Zt = Le.post("/supplier/list/page", (n) => {
29
29
  var e, t;
30
30
  return n.data.pageBean = {
31
31
  page: ((e = n == null ? void 0 : n.data) == null ? void 0 : e.pageIndex) || 1,
@@ -33,8 +33,8 @@ const Ot = Mt.get("/getBindRelationByDefKey"), qt = Tt.get("/getByAlias"), Kt =
33
33
  }, n;
34
34
  }), Gt = Le.get("/supplier"), Xt = Le.post("/classification/list/all"), ea = $t.get("/receive-code"), we = r(""), ta = (n, e, t) => {
35
35
  const { setDetailData: l, getFormData: d, setFormData: i, formRule: h, showData: w, disabledData: s, encryptionData: o } = t, u = r([]), g = r([]), v = r([]), c = r(!1), _ = yt(), m = r([]), y = (k) => Object.keys(k).length === 0, p = async (k) => {
36
- const [B, q] = await Ft({ formId: k }).run();
37
- if (B) return;
36
+ const [E, q] = await Ft({ formId: k }).run();
37
+ if (E) return;
38
38
  const H = JSON.parse(q.bos);
39
39
  we.value = H[0].alias, g.value.length && g.value.forEach((G) => {
40
40
  G.formKey === q.formKey && i(q.formKey, we.value, G.id);
@@ -47,29 +47,29 @@ const Ot = Mt.get("/getBindRelationByDefKey"), qt = Tt.get("/getByAlias"), Kt =
47
47
  }, 50);
48
48
  }, f = async () => {
49
49
  if (n.formConfigurationId) {
50
- const [k, B] = await jt({ id: n.formConfigurationId }).run();
50
+ const [k, E] = await jt({ id: n.formConfigurationId }).run();
51
51
  if (k) return;
52
- g.value = B.reports, u.value = B.reports[0].buttons.filter((q) => !(n.isView && q.event !== "LINK")), p(B.reports[0].formId);
52
+ g.value = E.reports, u.value = E.reports[0].buttons.filter((q) => !(n.isView && q.event !== "LINK")), p(E.reports[0].formId);
53
53
  }
54
54
  if (n.flowKey) {
55
- const [k, B] = await Ot({ flowKey: n.flowKey }).run();
55
+ const [k, E] = await Ot({ flowKey: n.flowKey }).run();
56
56
  if (k) return;
57
- p(B.pcForm.pcFormId);
57
+ p(E.pcForm.pcFormId);
58
58
  }
59
59
  }, D = async () => {
60
60
  var q, H, ne, te;
61
61
  if (!n.flowKey) return;
62
- const [k, B] = await Pt().run({
62
+ const [k, E] = await Pt().run({
63
63
  flowKey: n.flowKey,
64
64
  needDisplayFileds: !1
65
65
  });
66
- o.value = ((te = (ne = (H = (q = B == null ? void 0 : B.value) == null ? void 0 : q.boDef) == null ? void 0 : H.boEnt) == null ? void 0 : ne.attributeList) == null ? void 0 : te.filter((G) => G.encryption == "phone")) || [];
67
- }, b = r({}), z = (k, B) => {
68
- const { key: q } = B;
66
+ o.value = ((te = (ne = (H = (q = E == null ? void 0 : E.value) == null ? void 0 : q.boDef) == null ? void 0 : H.boEnt) == null ? void 0 : ne.attributeList) == null ? void 0 : te.filter((G) => G.encryption == "phone")) || [];
67
+ }, b = r({}), z = (k, E) => {
68
+ const { key: q } = E;
69
69
  b.value[q] || (b.value[q] = k);
70
70
  }, K = async () => (v.value.forEach((k) => {
71
71
  k.columns && m.value.push(k.key);
72
- }), await ct(), new Promise((k, B) => {
72
+ }), await ct(), new Promise((k, E) => {
73
73
  let q = !0;
74
74
  for (const H in b.value)
75
75
  b.value[H].validate((ne) => {
@@ -91,8 +91,8 @@ const Ot = Mt.get("/getBindRelationByDefKey"), qt = Tt.get("/getByAlias"), Kt =
91
91
  getForm: p,
92
92
  getBtnSet: f,
93
93
  handleClick: async (k) => {
94
- let { result: B } = await K();
95
- B && (e("handleClick", k, d()), k.event === "LINK" && g.value.forEach((q) => {
94
+ let { result: E } = await K();
95
+ E && (e("handleClick", k, d()), k.event === "LINK" && g.value.forEach((q) => {
96
96
  k.eventTarget === q.formKey && (u.value = q.buttons.filter((H) => !(n.isView && H.event !== "LINK")), c.value = !1, h.value = {}, p(q.formId));
97
97
  }));
98
98
  },
@@ -507,7 +507,7 @@ const W = (n) => {
507
507
  }, {
508
508
  default: R(() => [
509
509
  Ke("div", ga, [
510
- S(a(Be), {
510
+ S(a(Ee), {
511
511
  modelValue: s.value,
512
512
  "onUpdate:modelValue": y[0] || (y[0] = (p) => s.value = p),
513
513
  status: v.value,
@@ -887,8 +887,8 @@ const _a = (n, e) => {
887
887
  const z = b.conditionfield.filter((N) => N.defaultType == 1);
888
888
  let K = {};
889
889
  z.forEach((N) => {
890
- const k = N.fieldPath.split("."), B = k[k.length - 1];
891
- K[N.field] = h(B);
890
+ const k = N.fieldPath.split("."), E = k[k.length - 1];
891
+ K[N.field] = h(E);
892
892
  }), ie(
893
893
  e.setting.options.customQuery.alias,
894
894
  e.setting.options.customQuery.conditionfield,
@@ -913,8 +913,8 @@ const _a = (n, e) => {
913
913
  let K = {};
914
914
  z.forEach((N) => {
915
915
  var q;
916
- const k = (q = N.fieldPath) == null ? void 0 : q.split("."), B = k[k.length - 1];
917
- K[N.field] = h(B);
916
+ const k = (q = N.fieldPath) == null ? void 0 : q.split("."), E = k[k.length - 1];
917
+ K[N.field] = h(E);
918
918
  }), ie(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield, K).then(
919
919
  (N) => {
920
920
  m.value = N;
@@ -963,7 +963,7 @@ const _a = (n, e) => {
963
963
  default: La
964
964
  }, Symbol.toStringTag, { value: "Module" })), za = (n, e, t) => {
965
965
  var ne, te, G, ce, ge;
966
- const l = Ee().id, d = r(!1), i = (ge = (ce = (G = (te = (ne = n == null ? void 0 : n.options) == null ? void 0 : ne.selector) == null ? void 0 : te.type) == null ? void 0 : G.alias) == null ? void 0 : ce.replace("eip-", "")) == null ? void 0 : ge.replace("-selector", ""), h = r([]), w = r(""), s = r(""), o = {
966
+ const l = Be().id, d = r(!1), i = (ge = (ce = (G = (te = (ne = n == null ? void 0 : n.options) == null ? void 0 : ne.selector) == null ? void 0 : te.type) == null ? void 0 : G.alias) == null ? void 0 : ce.replace("eip-", "")) == null ? void 0 : ge.replace("-selector", ""), h = r([]), w = r(""), s = r(""), o = {
967
967
  user: A("搜索姓名/账号/手机号").value,
968
968
  org: A("搜索组织名称/组织编码").value,
969
969
  role: A("搜索角色名称").value,
@@ -998,7 +998,7 @@ const _a = (n, e) => {
998
998
  0: A("无效").value,
999
999
  1: A("有效").value
1000
1000
  }, m = {
1001
- user: Et,
1001
+ user: Bt,
1002
1002
  org: _e,
1003
1003
  role: Qt,
1004
1004
  job: _e,
@@ -1082,7 +1082,7 @@ const _a = (n, e) => {
1082
1082
  }
1083
1083
  }
1084
1084
  }, i === "user" && (p.value.content = {
1085
- api: Bt,
1085
+ api: Et,
1086
1086
  searchKey: "groupId",
1087
1087
  params: {
1088
1088
  status: 1,
@@ -1164,21 +1164,21 @@ const _a = (n, e) => {
1164
1164
  const j = {
1165
1165
  name: "",
1166
1166
  published: 1
1167
- }, [x, E] = await Xt(j).run();
1168
- x || (f.value[1].options = E);
1167
+ }, [x, B] = await Xt(j).run();
1168
+ x || (f.value[1].options = B);
1169
1169
  }, N = () => {
1170
1170
  var x;
1171
1171
  w.value = "", d.value = !0;
1172
1172
  let j = g[i];
1173
- p.value.content.selectListProps.data = (x = h == null ? void 0 : h.value) == null ? void 0 : x.map((E) => ({ name: E == null ? void 0 : E.label, [j]: E == null ? void 0 : E.value }));
1173
+ p.value.content.selectListProps.data = (x = h == null ? void 0 : h.value) == null ? void 0 : x.map((B) => ({ name: B == null ? void 0 : B.label, [j]: B == null ? void 0 : B.value }));
1174
1174
  };
1175
1175
  D();
1176
1176
  const k = async () => {
1177
- var j, x, E, Y, M, T, $, F, re, ze, Me, Te, Re, $e, Pe, Fe, Ie;
1177
+ var j, x, B, Y, M, T, $, F, re, ze, Me, Te, Re, $e, Pe, Fe, Ie;
1178
1178
  p.value.content.params = {
1179
1179
  ...(x = (j = p == null ? void 0 : p.value) == null ? void 0 : j.content) == null ? void 0 : x.params,
1180
1180
  pageIndex: 1
1181
- }, (i === "user" || i === "org" || i === "post" || i === "role" || i === "job") && (p.value.content.params.name = (E = f == null ? void 0 : f.value[0]) == null ? void 0 : E.value), i === "source" && (p.value.content.params.key = (Y = f == null ? void 0 : f.value[0]) == null ? void 0 : Y.value), i === "supplier" && (p.value.content.params.querys = [
1181
+ }, (i === "user" || i === "org" || i === "post" || i === "role" || i === "job") && (p.value.content.params.name = (B = f == null ? void 0 : f.value[0]) == null ? void 0 : B.value), i === "source" && (p.value.content.params.key = (Y = f == null ? void 0 : f.value[0]) == null ? void 0 : Y.value), i === "supplier" && (p.value.content.params.querys = [
1182
1182
  {
1183
1183
  property: "orgId",
1184
1184
  value: l,
@@ -1214,10 +1214,10 @@ const _a = (n, e) => {
1214
1214
  L(
1215
1215
  () => d == null ? void 0 : d.value,
1216
1216
  (j) => {
1217
- j || B();
1217
+ j || E();
1218
1218
  }
1219
1219
  );
1220
- const B = async () => {
1220
+ const E = async () => {
1221
1221
  i === "supplier" ? (f.value[0].value = "", f.value[1].value = void 0) : (i === "org" || i === "user" || i === "source" || i === "post" || i === "role" || i === "job") && (f.value[0].value = ""), D();
1222
1222
  };
1223
1223
  return {
@@ -1232,14 +1232,14 @@ const _a = (n, e) => {
1232
1232
  roleStatusMap: _,
1233
1233
  openDialog: N,
1234
1234
  confirm: (j) => {
1235
- var E;
1235
+ var B;
1236
1236
  let x = g[i];
1237
- h.value = j == null ? void 0 : j.map((Y) => ({ label: (Y == null ? void 0 : Y.name) || (Y == null ? void 0 : Y.code), value: Y[x] })), i === "supplier" && (s.value = (E = j[0]) == null ? void 0 : E.linkmanPhone);
1237
+ h.value = j == null ? void 0 : j.map((Y) => ({ label: (Y == null ? void 0 : Y.name) || (Y == null ? void 0 : Y.code), value: Y[x] })), i === "supplier" && (s.value = (B = j[0]) == null ? void 0 : B.linkmanPhone);
1238
1238
  },
1239
1239
  getDetail: async (j) => {
1240
1240
  if (!j) return;
1241
1241
  const x = m[i];
1242
- let E = {};
1242
+ let B = {};
1243
1243
  const Y = j == null ? void 0 : j.split(",");
1244
1244
  if (i === "source") {
1245
1245
  h.value = [
@@ -1249,8 +1249,8 @@ const _a = (n, e) => {
1249
1249
  }
1250
1250
  ];
1251
1251
  return;
1252
- } else i === "user" ? E.userIds = Y : i === "role" ? E.ids = Y : i === "supplier" ? E.id = Y : E = Y;
1253
- const [M, T] = await x(E).run();
1252
+ } else i === "user" ? B.userIds = Y : i === "role" ? B.ids = Y : i === "supplier" ? B.id = Y : B = Y;
1253
+ const [M, T] = await x(B).run();
1254
1254
  M || (i === "supplier" ? h.value = [
1255
1255
  {
1256
1256
  label: (T == null ? void 0 : T.name) || (T == null ? void 0 : T.code),
@@ -1276,7 +1276,7 @@ const _a = (n, e) => {
1276
1276
  let u = {
1277
1277
  pageSize: 1e4,
1278
1278
  pageIndex: 1,
1279
- projectId: Ee().id,
1279
+ projectId: Be().id,
1280
1280
  //项目id
1281
1281
  spaceId: ""
1282
1282
  // orgId:getProjectInfo().id
@@ -1292,7 +1292,7 @@ const _a = (n, e) => {
1292
1292
  const g = {
1293
1293
  name: o
1294
1294
  }, [v, c] = await u(g).run();
1295
- return v ? {} : (c.forEach((_) => {
1295
+ return v ? {} : (console.log("requestfilterTree", c), c.forEach((_) => {
1296
1296
  _.path.startsWith("/0") && (_.path = _.path.slice(2) + `/${_.id}`), _._name = _.nodeName ? _.nodeName : _.name;
1297
1297
  }), c);
1298
1298
  },
@@ -1319,7 +1319,7 @@ const _a = (n, e) => {
1319
1319
  store: {}
1320
1320
  },
1321
1321
  setup(n) {
1322
- var E, Y;
1322
+ var B, Y;
1323
1323
  const e = n, t = gt(() => {
1324
1324
  var M, T, $;
1325
1325
  return e.isView ? !(i(e.setting.name).split(",").length > 1) : (($ = (T = (M = e == null ? void 0 : e.setting) == null ? void 0 : M.options) == null ? void 0 : T.selector) == null ? void 0 : $.isSingle) ?? !0;
@@ -1344,7 +1344,7 @@ const _a = (n, e) => {
1344
1344
  confirm: K,
1345
1345
  getDetail: N,
1346
1346
  searchData: k,
1347
- searchOptions: B,
1347
+ searchOptions: E,
1348
1348
  linkmanPhone: q
1349
1349
  } = za(e.setting, h, u), { spacePath: H, spaceName: ne, searchSpace: te, changeSpace: G, spaceLoad: ce, filterSpaceTree: ge } = Ma(
1350
1350
  t.value
@@ -1353,7 +1353,7 @@ const _a = (n, e) => {
1353
1353
  j.value = M;
1354
1354
  });
1355
1355
  const x = r();
1356
- return e.setting.options.tip && (x.value = W(e.setting.options.tip)), e.setting.options.validateList.length && w(e.setting.name, e.setting.options.validateList), y == "position" ? (t.value ? (H.value = i(e.setting.name) ?? "", u.value = i(e.setting.name) ? i(e.setting.name).split("/").pop() : u.value) : (H.value = [], u.value = i(e.setting.name) ? (Y = (E = i(e.setting.name)) == null ? void 0 : E.split(",")) == null ? void 0 : Y.map((M) => (H.value.push(M), M.split("/").pop())) : []), u.value || d(e.setting.name, null), L(u, (M) => {
1356
+ return e.setting.options.tip && (x.value = W(e.setting.options.tip)), e.setting.options.validateList.length && w(e.setting.name, e.setting.options.validateList), y == "position" ? (t.value ? (H.value = i(e.setting.name) ?? "", u.value = i(e.setting.name) ? i(e.setting.name).split("/").pop() : u.value) : (H.value = [], u.value = i(e.setting.name) ? (Y = (B = i(e.setting.name)) == null ? void 0 : B.split(",")) == null ? void 0 : Y.map((M) => (H.value.push(M), M.split("/").pop())) : []), u.value || d(e.setting.name, null), L(u, (M) => {
1357
1357
  t.value ? d(e.setting.name, M) : d(e.setting.name, (M == null ? void 0 : M.join(",")) || "");
1358
1358
  }), L(ne, (M) => {
1359
1359
  t.value ? d(e.setting.options.selector.type.positionName, M) : d(e.setting.options.selector.type.positionName, (M == null ? void 0 : M.join(",")) || "");
@@ -1399,13 +1399,13 @@ const _a = (n, e) => {
1399
1399
  _: 2
1400
1400
  /* DYNAMIC */
1401
1401
  }, [
1402
- (($ = a(B)) == null ? void 0 : $.length) > 0 ? {
1402
+ (($ = a(E)) == null ? void 0 : $.length) > 0 ? {
1403
1403
  name: "table-header-search",
1404
1404
  fn: R(() => [
1405
1405
  Ke("div", Ta, [
1406
1406
  S(a(kt), {
1407
1407
  labelLength: "6",
1408
- options: a(B),
1408
+ options: a(E),
1409
1409
  onConfirm: a(k),
1410
1410
  "is-margin-right": !1
1411
1411
  }, null, 8, ["options", "onConfirm"])
@@ -1759,7 +1759,7 @@ const _a = (n, e) => {
1759
1759
  }, {
1760
1760
  default: R(() => [
1761
1761
  s.value ? (V(), J("div", Fa, [
1762
- S(a(Be), {
1762
+ S(a(Ee), {
1763
1763
  modelValue: s.value,
1764
1764
  "onUpdate:modelValue": m[0] || (m[0] = (y) => s.value = y),
1765
1765
  status: v.value,
@@ -1777,7 +1777,7 @@ const _a = (n, e) => {
1777
1777
  default: qa
1778
1778
  }, Symbol.toStringTag, { value: "Module" })), Ka = {
1779
1779
  name: "switch"
1780
- }, Ba = /* @__PURE__ */ Q({
1780
+ }, Ea = /* @__PURE__ */ Q({
1781
1781
  ...Ka,
1782
1782
  props: {
1783
1783
  setting: { default: () => ({
@@ -1830,11 +1830,11 @@ const _a = (n, e) => {
1830
1830
  }
1831
1831
  }), ot = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1832
1832
  __proto__: null,
1833
- default: Ba
1834
- }, Symbol.toStringTag, { value: "Module" })), Ea = {
1833
+ default: Ea
1834
+ }, Symbol.toStringTag, { value: "Module" })), Ba = {
1835
1835
  name: "text"
1836
1836
  }, Aa = /* @__PURE__ */ Q({
1837
- ...Ea,
1837
+ ...Ba,
1838
1838
  props: {
1839
1839
  setting: { default: () => ({
1840
1840
  icon: "",
@@ -2011,7 +2011,7 @@ const _a = (n, e) => {
2011
2011
  const c = fe().format("YYYY-MM-DD ");
2012
2012
  i(e.setting.name) && (s.value = i(e.setting.name)), e.setting.options.formulasDiyJs && (s.value = fe(c + e.setting.options.formulasDiyJs)), s.value || d(e.setting.name, null);
2013
2013
  }, 50), e.setting.options.validateList.length && h(e.setting.name, e.setting.options.validateList), L(s, (c) => {
2014
- d(e.setting.name, c);
2014
+ console.log(c, "newVal"), d(e.setting.name, c);
2015
2015
  }), (c, _) => o.value ? (V(), P(a(U), {
2016
2016
  key: 0,
2017
2017
  col: e.span,
@@ -2186,79 +2186,79 @@ Object.keys(De).map((n) => ut[De[n].default.name] = De[n].default);
2186
2186
  Object.keys(Ve).map((n) => pt[Ve[n].default.name] = Ve[n].default);
2187
2187
  Object.keys(ke).map((n) => tn[ke[n].default.name] = ke[n].default);
2188
2188
  Object.keys(Ce).map((n) => de[Ce[n].default.name] = Ce[n].default);
2189
- const an = { ...ut, ...pt }, nn = (n, e, t, l) => {
2189
+ const an = { ...ut, ...pt }, nn = "---------测试验证规则传参-----------", sn = (n, e, t, l) => {
2190
2190
  (!e || e.toString() === "") && parseInt(e) !== 0 ? t(new Error(`${C("*必填")}`)) : t();
2191
- }, sn = (n, e, t, l) => {
2192
- e !== "" && e.length > parseInt(l.value) ? t(new Error(`${C("最大文本长度")}${C("不能超过")}${l.value}`)) : t();
2193
2191
  }, on = (n, e, t, l) => {
2194
- e !== "" && e.length < parseInt(l.value) ? t(new Error(`${C("最小文本长度")}${C("不能少于")}${l.value}`)) : t();
2192
+ e !== "" && e.length > parseInt(l.value) ? t(new Error(`${C("最大文本长度")}${C("不能超过")}${l.value}`)) : t();
2195
2193
  }, ln = (n, e, t, l) => {
2194
+ e !== "" && e.length < parseInt(l.value) ? t(new Error(`${C("最小文本长度")}${C("不能少于")}${l.value}`)) : t();
2195
+ }, rn = (n, e, t, l) => {
2196
2196
  if (e !== "" && !/^1[3456789]\d{9}$/.test(e))
2197
2197
  return t(new Error(C("手机号码格式不正确,请重新输入"))), !1;
2198
2198
  t();
2199
- }, rn = (n, e, t) => {
2199
+ }, un = (n, e, t) => {
2200
2200
  if (e !== "" && !/^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/.test(e))
2201
2201
  return t(new Error(C("电子邮箱格式不正确,请重新输入"))), !1;
2202
2202
  t();
2203
- }, un = (n, e, t) => {
2203
+ }, pn = (n, e, t) => {
2204
2204
  if (e !== "" && !/^-?\d+$/.test(e))
2205
2205
  return t(new Error(C("请输入整数"))), !1;
2206
2206
  t();
2207
- }, pn = (n, e, t, l) => {
2208
- if (e !== "" && e != l.value)
2207
+ }, dn = (n, e, t, l) => {
2208
+ if (console.log(nn), console.log(l.value), console.log(e), e !== "" && e != l.value)
2209
2209
  return t(new Error(C("请输入相同的值"))), !1;
2210
2210
  t();
2211
- }, dn = (n, e, t, l) => {
2212
- e === "" ? t() : /^[+-]?\d*\.?\d*$/.test(e) ? e < parseFloat(l.value) ? t(new Error(`${l.name}${C("不能小于")}${l.value}`)) : t() : t(new Error(C("请输入数字")));
2213
2211
  }, cn = (n, e, t, l) => {
2214
- e === "" ? t() : /^[+-]?\d*\.?\d*$/.test(e) ? e > parseFloat(l.value) ? t(new Error(`${l.name}${C("不能大于")}${l.value}`)) : t() : t(new Error(C("请输入数字")));
2212
+ e === "" ? t() : /^[+-]?\d*\.?\d*$/.test(e) ? e < parseFloat(l.value) ? t(new Error(`${l.name}${C("不能小于")}${l.value}`)) : t() : t(new Error(C("请输入数字")));
2215
2213
  }, gn = (n, e, t, l) => {
2214
+ e === "" ? t() : /^[+-]?\d*\.?\d*$/.test(e) ? e > parseFloat(l.value) ? t(new Error(`${l.name}${C("不能大于")}${l.value}`)) : t() : t(new Error(C("请输入数字")));
2215
+ }, mn = (n, e, t, l) => {
2216
2216
  const d = /^[+-]?(\d*\.\d+([eE]?[+-]?\d+)?|\d+[eE][+-]?\d+)$/, i = /^-?\d+$/;
2217
2217
  e === "" ? t() : d.test(e) || i.test(e) ? e >= parseFloat(l.start) && e <= parseFloat(l.end) ? t() : t(new Error(`${C("只能输入指定数字范围")}${l.start}-${l.end}`)) : t(new Error(C("请输入数字")));
2218
- }, mn = (n, e, t, l) => {
2219
- e === "" || parseFloat(e) === parseFloat(l.value) ? t() : t(new Error(`${C("只能输入指定的值")}${l.value}`));
2220
2218
  }, vn = (n, e, t, l) => {
2219
+ e === "" || parseFloat(e) === parseFloat(l.value) ? t() : t(new Error(`${C("只能输入指定的值")}${l.value}`));
2220
+ }, fn = (n, e, t, l) => {
2221
2221
  e === "" ? t() : /^-?\d+$/.test(e) ? Math.abs(e).toString().length === parseInt(l.value) ? t() : t(new Error(`${C("只能输入")}${l.value}${C("位数数字")}`)) : t(new Error(C("请输入整数")));
2222
- }, fn = (n, e, t) => {
2222
+ }, hn = (n, e, t) => {
2223
2223
  if (e !== "" && !/^[a-zA-Z]{1,}$/.test(e))
2224
2224
  return t(new Error(C("只能输入字母"))), !1;
2225
2225
  t();
2226
- }, hn = (n, e, t) => {
2226
+ }, yn = (n, e, t) => {
2227
2227
  if (e !== "" && !/^[a-zA-Z ]{1,}$/.test(e))
2228
2228
  return t(new Error(C("只能输入字母空格"))), !1;
2229
2229
  t();
2230
- }, yn = (n, e, t) => {
2230
+ }, bn = (n, e, t) => {
2231
2231
  if (e !== "" && !/^[0-9a-zA-Z_-]{1,}$/.test(e))
2232
2232
  return t(new Error(C("只能输入字母数字横线下划线"))), !1;
2233
2233
  t();
2234
- }, bn = (n, e, t) => {
2234
+ }, _n = (n, e, t) => {
2235
2235
  if (e !== "" && !/^[0-9a-zA-Z]{1,}$/.test(e))
2236
2236
  return t(new Error(C("只能输入字母数字"))), !1;
2237
2237
  t();
2238
- }, _n = (n, e, t, l) => {
2238
+ }, wn = (n, e, t, l) => {
2239
2239
  const d = new RegExp(l.value);
2240
2240
  if (e !== "" && !d.test(e))
2241
2241
  return t(new Error(l.errorMessage)), !1;
2242
2242
  t();
2243
- }, wn = {
2244
- required: nn,
2245
- min: on,
2246
- max: sn,
2247
- email: rn,
2248
- min_value: dn,
2249
- max_value: cn,
2250
- confirmed: pn,
2251
- numeric: un,
2252
- between: gn,
2253
- is: mn,
2254
- digits: vn,
2255
- mobile: ln,
2256
- alpha: fn,
2257
- alpha_spaces: hn,
2258
- alpha_dash: yn,
2259
- alpha_num: bn,
2260
- regex: _n
2261
- }, Cn = () => {
2243
+ }, Cn = {
2244
+ required: sn,
2245
+ min: ln,
2246
+ max: on,
2247
+ email: un,
2248
+ min_value: cn,
2249
+ max_value: gn,
2250
+ confirmed: dn,
2251
+ numeric: pn,
2252
+ between: mn,
2253
+ is: vn,
2254
+ digits: fn,
2255
+ mobile: rn,
2256
+ alpha: hn,
2257
+ alpha_spaces: yn,
2258
+ alpha_dash: bn,
2259
+ alpha_num: _n,
2260
+ regex: wn
2261
+ }, Dn = () => {
2262
2262
  const n = r({}), e = r([]), t = r({}), l = r({}), d = r([]), i = r(""), h = r(""), w = r({}), s = r([]), o = r({});
2263
2263
  return {
2264
2264
  data: n,
@@ -2297,7 +2297,7 @@ const an = { ...ut, ...pt }, nn = (n, e, t, l) => {
2297
2297
  setFormRule: (D, b) => {
2298
2298
  w.value[D] = [], b && b.length && b.forEach((z) => {
2299
2299
  w.value[D].push({
2300
- validator: (K, N, k) => wn[z.key](K, N, k, z)
2300
+ validator: (K, N, k) => Cn[z.key](K, N, k, z)
2301
2301
  });
2302
2302
  });
2303
2303
  },
@@ -2308,13 +2308,13 @@ const an = { ...ut, ...pt }, nn = (n, e, t, l) => {
2308
2308
  delete w.value[D];
2309
2309
  }
2310
2310
  };
2311
- }, Dn = { class: "custom-page" }, Vn = {
2311
+ }, Vn = { class: "custom-page" }, kn = {
2312
2312
  key: 0,
2313
2313
  class: "btn-box"
2314
- }, kn = {
2314
+ }, Sn = {
2315
2315
  key: 1,
2316
2316
  style: { "background-color": "#fff" }
2317
- }, Sn = /* @__PURE__ */ Q({
2317
+ }, Nn = /* @__PURE__ */ Q({
2318
2318
  __name: "App",
2319
2319
  props: {
2320
2320
  formConfigurationId: {},
@@ -2328,7 +2328,7 @@ const an = { ...ut, ...pt }, nn = (n, e, t, l) => {
2328
2328
  },
2329
2329
  emits: ["handleClick", "change"],
2330
2330
  setup(n, { expose: e, emit: t }) {
2331
- const l = Cn(), { formRule: d, data: i, flowKey: h, clearData: w, getFormData: s } = l, o = n, u = t;
2331
+ const l = Dn(), { formRule: d, data: i, flowKey: h, clearData: w, getFormData: s } = l, o = n, u = t;
2332
2332
  h.value = o.flowKey;
2333
2333
  const g = (z) => z === "accordion";
2334
2334
  L(
@@ -2357,8 +2357,8 @@ const an = { ...ut, ...pt }, nn = (n, e, t, l) => {
2357
2357
  }), e({
2358
2358
  validateFormData: D,
2359
2359
  clearData: w
2360
- }), (z, K) => (V(), J("div", Dn, [
2361
- a(_).length > 0 ? (V(), J("div", Vn, [
2360
+ }), (z, K) => (V(), J("div", Vn, [
2361
+ a(_).length > 0 ? (V(), J("div", kn, [
2362
2362
  (V(!0), J(
2363
2363
  ee,
2364
2364
  null,
@@ -2460,7 +2460,7 @@ const an = { ...ut, ...pt }, nn = (n, e, t, l) => {
2460
2460
  ]),
2461
2461
  _: 2
2462
2462
  /* DYNAMIC */
2463
- }, 1032, ["collapsible", "activeKey"])) : (V(), J("div", kn, [
2463
+ }, 1032, ["collapsible", "activeKey"])) : (V(), J("div", Sn, [
2464
2464
  a(c) ? (V(), P(a(je), {
2465
2465
  key: 0,
2466
2466
  ref_for: !0,
@@ -2498,7 +2498,7 @@ const an = { ...ut, ...pt }, nn = (n, e, t, l) => {
2498
2498
  ])
2499
2499
  ]));
2500
2500
  }
2501
- }), Nn = /* @__PURE__ */ ye(Sn, [["__scopeId", "data-v-ce01ee82"]]), Ln = {
2501
+ }), Ln = /* @__PURE__ */ ye(Nn, [["__scopeId", "data-v-ce01ee82"]]), zn = {
2502
2502
  姓名: { "zh-CN": "姓名", en: "Name", _appCode: "framework" },
2503
2503
  状态: { "zh-CN": "状态", en: "Status", _appCode: "framework" },
2504
2504
  组织名称: { "zh-CN": "组织名称", en: "Organization Name", _appCode: "framework" },
@@ -2620,9 +2620,9 @@ const an = { ...ut, ...pt }, nn = (n, e, t, l) => {
2620
2620
  选择源单: { "zh-CN": "选择源单", en: "Select Source Document", _appCode: "framework" },
2621
2621
  请选择: { "zh-CN": "请选择", en: "Please select", _appCode: "framework" }
2622
2622
  };
2623
- Vt(Ln);
2624
- const Zn = dt(Nn);
2623
+ Vt(zn);
2624
+ const Gn = dt(Ln);
2625
2625
  export {
2626
- Zn as DasProcessForm,
2627
- Zn as default
2626
+ Gn as DasProcessForm,
2627
+ Gn as default
2628
2628
  };