@guodun/antdv 1.3.2 → 1.4.0

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 (109) hide show
  1. package/dist/es/components/contract-signing-location/index.mjs +1 -0
  2. package/dist/es/components/contract-signing-location/src/ContractSigningLocation.vue.mjs +304 -289
  3. package/dist/es/components/contract-signing-location/src/ContractSigningLocationCanvas.vue.mjs +337 -326
  4. package/dist/es/components/contract-signing-location/src/ContractSigningLocationNavigator.vue.mjs +41 -33
  5. package/dist/es/components/contract-signing-location/src/ContractSigningTemplatePage.mjs +5 -0
  6. package/dist/es/components/contract-signing-location/src/ContractSigningTemplatePage.vue.mjs +23 -0
  7. package/dist/es/components/contract-signing-location/src/location-rules.mjs +115 -77
  8. package/dist/es/components/contract-signing-location/src/template-source.mjs +85 -0
  9. package/dist/es/components/contract-signing-location/style/index.css +1 -1
  10. package/dist/es/components/index.mjs +8 -6
  11. package/dist/es/components/pro-contract-signing-flow/src/ContractSigningFlowCanvas.vue.mjs +164 -57
  12. package/dist/es/components/pro-contract-signing-flow/src/ContractSigningFlowInspector.vue.mjs +128 -125
  13. package/dist/es/components/pro-contract-signing-flow/src/ContractSigningFlowNodeCard.vue.mjs +75 -49
  14. package/dist/es/components/pro-contract-signing-flow/src/ProContractSigningFlow.vue.mjs +135 -91
  15. package/dist/es/components/pro-contract-signing-flow/src/constants.mjs +25 -5
  16. package/dist/es/components/pro-contract-signing-flow/style/index.css +1 -1
  17. package/dist/es/components/pro-contract-template-designer/index.mjs +5 -4
  18. package/dist/es/components/pro-contract-template-designer/src/ContractTemplateDesignerInspector.mjs +5 -0
  19. package/dist/es/components/pro-contract-template-designer/src/ContractTemplateDesignerInspector.vue.mjs +347 -0
  20. package/dist/es/components/pro-contract-template-designer/src/ContractTemplateDesignerSidebar.mjs +5 -0
  21. package/dist/es/components/pro-contract-template-designer/src/ContractTemplateDesignerSidebar.vue.mjs +171 -0
  22. package/dist/es/components/pro-contract-template-designer/src/ContractTemplateFileBar.mjs +5 -0
  23. package/dist/es/components/pro-contract-template-designer/src/ContractTemplateFileBar.vue.mjs +166 -0
  24. package/dist/es/components/pro-contract-template-designer/src/ContractTemplateRendererField.vue.mjs +4 -4
  25. package/dist/es/components/pro-contract-template-designer/src/ContractTemplateRendererValidation.mjs +5 -0
  26. package/dist/es/components/pro-contract-template-designer/src/ContractTemplateRendererValidation.vue.mjs +36 -0
  27. package/dist/es/components/pro-contract-template-designer/src/DesignerPage.vue.mjs +202 -202
  28. package/dist/es/components/pro-contract-template-designer/src/ProContractTemplateDesigner.vue.mjs +1591 -1612
  29. package/dist/es/components/pro-contract-template-designer/src/ProContractTemplateRenderer.vue.mjs +235 -239
  30. package/dist/es/components/pro-contract-template-designer/src/SigningPlacementLayer.vue.mjs +16 -16
  31. package/dist/es/components/pro-contract-template-designer/src/composables/use-template-designer.mjs +166 -166
  32. package/dist/es/components/pro-contract-template-designer/src/composables/use-template-draft-cache.mjs +100 -33
  33. package/dist/es/components/pro-contract-template-designer/src/composables/use-template-files.mjs +77 -0
  34. package/dist/es/components/pro-contract-template-designer/src/extensions/word-paste.mjs +23 -23
  35. package/dist/es/components/pro-contract-template-designer/src/utils/file-tabs.mjs +14 -0
  36. package/dist/es/components/pro-contract-template-designer/src/utils/template-renderer.mjs +121 -121
  37. package/dist/es/components/pro-contract-template-designer/src/utils/toolbar-overflow.mjs +19 -0
  38. package/dist/es/components/pro-contract-template-designer/style/index.css +1 -1
  39. package/dist/es/index.mjs +23 -21
  40. package/dist/lib/components/contract-signing-location/index.cjs +1 -1
  41. package/dist/lib/components/contract-signing-location/src/ContractSigningLocation.vue.cjs +1 -1
  42. package/dist/lib/components/contract-signing-location/src/ContractSigningLocationCanvas.vue.cjs +1 -1
  43. package/dist/lib/components/contract-signing-location/src/ContractSigningLocationNavigator.vue.cjs +1 -1
  44. package/dist/lib/components/contract-signing-location/src/ContractSigningTemplatePage.cjs +1 -0
  45. package/dist/lib/components/contract-signing-location/src/ContractSigningTemplatePage.vue.cjs +1 -0
  46. package/dist/lib/components/contract-signing-location/src/location-rules.cjs +1 -1
  47. package/dist/lib/components/contract-signing-location/src/template-source.cjs +1 -0
  48. package/dist/lib/components/contract-signing-location/style/index.css +1 -1
  49. package/dist/lib/components/index.cjs +1 -1
  50. package/dist/lib/components/pro-contract-signing-flow/src/ContractSigningFlowCanvas.vue.cjs +1 -1
  51. package/dist/lib/components/pro-contract-signing-flow/src/ContractSigningFlowInspector.vue.cjs +1 -1
  52. package/dist/lib/components/pro-contract-signing-flow/src/ContractSigningFlowNodeCard.vue.cjs +1 -1
  53. package/dist/lib/components/pro-contract-signing-flow/src/ProContractSigningFlow.vue.cjs +1 -1
  54. package/dist/lib/components/pro-contract-signing-flow/src/constants.cjs +1 -1
  55. package/dist/lib/components/pro-contract-signing-flow/style/index.css +1 -1
  56. package/dist/lib/components/pro-contract-template-designer/index.cjs +1 -1
  57. package/dist/lib/components/pro-contract-template-designer/src/ContractTemplateDesignerInspector.cjs +1 -0
  58. package/dist/lib/components/pro-contract-template-designer/src/ContractTemplateDesignerInspector.vue.cjs +1 -0
  59. package/dist/lib/components/pro-contract-template-designer/src/ContractTemplateDesignerSidebar.cjs +1 -0
  60. package/dist/lib/components/pro-contract-template-designer/src/ContractTemplateDesignerSidebar.vue.cjs +1 -0
  61. package/dist/lib/components/pro-contract-template-designer/src/ContractTemplateFileBar.cjs +1 -0
  62. package/dist/lib/components/pro-contract-template-designer/src/ContractTemplateFileBar.vue.cjs +1 -0
  63. package/dist/lib/components/pro-contract-template-designer/src/ContractTemplateRendererField.vue.cjs +1 -1
  64. package/dist/lib/components/pro-contract-template-designer/src/ContractTemplateRendererValidation.cjs +1 -0
  65. package/dist/lib/components/pro-contract-template-designer/src/ContractTemplateRendererValidation.vue.cjs +1 -0
  66. package/dist/lib/components/pro-contract-template-designer/src/DesignerPage.vue.cjs +2 -2
  67. package/dist/lib/components/pro-contract-template-designer/src/ProContractTemplateDesigner.vue.cjs +1 -1
  68. package/dist/lib/components/pro-contract-template-designer/src/ProContractTemplateRenderer.vue.cjs +1 -1
  69. package/dist/lib/components/pro-contract-template-designer/src/SigningPlacementLayer.vue.cjs +1 -1
  70. package/dist/lib/components/pro-contract-template-designer/src/composables/use-template-designer.cjs +2 -2
  71. package/dist/lib/components/pro-contract-template-designer/src/composables/use-template-draft-cache.cjs +1 -1
  72. package/dist/lib/components/pro-contract-template-designer/src/composables/use-template-files.cjs +2 -0
  73. package/dist/lib/components/pro-contract-template-designer/src/extensions/word-paste.cjs +1 -1
  74. package/dist/lib/components/pro-contract-template-designer/src/utils/file-tabs.cjs +1 -0
  75. package/dist/lib/components/pro-contract-template-designer/src/utils/template-renderer.cjs +2 -2
  76. package/dist/lib/components/pro-contract-template-designer/src/utils/toolbar-overflow.cjs +1 -0
  77. package/dist/lib/components/pro-contract-template-designer/style/index.css +1 -1
  78. package/dist/lib/index.cjs +1 -1
  79. package/dist/theme/contract-signing-location.css +1 -1
  80. package/dist/theme/icon.css +1 -1
  81. package/dist/theme/index.css +1 -1
  82. package/dist/theme/pro-contract-signing-flow.css +1 -1
  83. package/dist/types/components/contract-signing-location/index.d.ts +1 -0
  84. package/dist/types/components/contract-signing-location/src/ContractSigningLocation.vue.d.ts +3 -1
  85. package/dist/types/components/contract-signing-location/src/ContractSigningLocationInspector.vue.d.ts +2 -2
  86. package/dist/types/components/contract-signing-location/src/ContractSigningTemplatePage.vue.d.ts +6 -0
  87. package/dist/types/components/contract-signing-location/src/location-rules.d.ts +3 -3
  88. package/dist/types/components/contract-signing-location/src/template-source.d.ts +20 -0
  89. package/dist/types/components/contract-signing-location/src/types.d.ts +47 -2
  90. package/dist/types/components/pro-contract-signing-flow/src/ContractSigningFlowCanvas.vue.d.ts +19 -3
  91. package/dist/types/components/pro-contract-signing-flow/src/ProContractSigningFlow.vue.d.ts +223 -2
  92. package/dist/types/components/pro-contract-signing-flow/src/constants.d.ts +15 -0
  93. package/dist/types/components/pro-contract-signing-flow/src/types.d.ts +12 -0
  94. package/dist/types/components/pro-contract-template-designer/index.d.ts +1 -0
  95. package/dist/types/components/pro-contract-template-designer/src/ContractTemplateDesignerInspector.vue.d.ts +103 -0
  96. package/dist/types/components/pro-contract-template-designer/src/ContractTemplateDesignerSidebar.vue.d.ts +48 -0
  97. package/dist/types/components/pro-contract-template-designer/src/ContractTemplateFileBar.vue.d.ts +231 -0
  98. package/dist/types/components/pro-contract-template-designer/src/ContractTemplateRendererValidation.vue.d.ts +15 -0
  99. package/dist/types/components/pro-contract-template-designer/src/DesignerPage.vue.d.ts +1 -1
  100. package/dist/types/components/pro-contract-template-designer/src/ProContractTemplateDesigner.vue.d.ts +25 -2
  101. package/dist/types/components/pro-contract-template-designer/src/SigningPlacementInspector.vue.d.ts +2 -2
  102. package/dist/types/components/pro-contract-template-designer/src/composables/use-template-designer.d.ts +1 -1
  103. package/dist/types/components/pro-contract-template-designer/src/composables/use-template-draft-cache.d.ts +29 -1
  104. package/dist/types/components/pro-contract-template-designer/src/composables/use-template-files.d.ts +24 -0
  105. package/dist/types/components/pro-contract-template-designer/src/constants.d.ts +2 -2
  106. package/dist/types/components/pro-contract-template-designer/src/types.d.ts +59 -1
  107. package/dist/types/components/pro-contract-template-designer/src/utils/file-tabs.d.ts +3 -0
  108. package/dist/types/components/pro-contract-template-designer/src/utils/toolbar-overflow.d.ts +11 -0
  109. package/package.json +2 -1
@@ -1,18 +1,19 @@
1
- import { CONTRACT_SIGNING_FLOW_SEAL_TYPES as e } from "./constants.mjs";
2
- import { Fragment as t, computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, createVNode as c, defineComponent as l, normalizeClass as ee, openBlock as u, ref as d, renderList as te, toDisplayString as f, unref as p, vShow as ne, withCtx as m, withDirectives as re } from "vue";
3
- import { Button as ie, Checkbox as ae, Empty as h, Form as oe, FormItem as g, Input as _, RadioGroup as se, Select as v, Switch as y, Tag as b } from "ant-design-vue";
4
- import { DownOutlined as x, EnvironmentOutlined as ce, RightOutlined as le } from "@ant-design/icons-vue";
1
+ import e from "../../pro-title/index.mjs";
2
+ import { CONTRACT_SIGNING_FLOW_IDENTITY_OPTIONS as t, CONTRACT_SIGNING_FLOW_SEAL_TYPES as n } from "./constants.mjs";
3
+ import { Fragment as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createTextVNode as l, createVNode as u, defineComponent as d, normalizeClass as f, openBlock as p, ref as m, renderList as ee, toDisplayString as h, unref as g, vShow as te, withCtx as _, withDirectives as ne } from "vue";
4
+ import { Button as re, Checkbox as ie, Empty as v, Form as ae, FormItem as y, Input as b, RadioGroup as x, Select as oe, Switch as S, Tag as se } from "ant-design-vue";
5
+ import { DownOutlined as ce, EnvironmentOutlined as le, ExclamationCircleOutlined as ue, FileDoneOutlined as de, PlayCircleOutlined as fe, RightOutlined as pe } from "@ant-design/icons-vue";
5
6
  //#region src/components/pro-contract-signing-flow/src/ContractSigningFlowInspector.vue?vue&type=script&setup=true&lang.ts
6
- var ue = { class: "gd-contract-signing-flow__inspector" }, de = { class: "gd-contract-signing-flow__inspector-header" }, fe = { class: "gd-contract-signing-flow__inspector-scroll" }, pe = { class: "gd-contract-signing-flow__form-section" }, S = { class: "gd-contract-signing-flow__form-section" }, C = { class: "gd-contract-signing-flow__setting-list" }, w = { class: "gd-contract-signing-flow__setting-row" }, T = { class: "gd-contract-signing-flow__form-section" }, E = { class: "gd-contract-signing-flow__section-heading" }, D = { class: "gd-contract-signing-flow__rule-grid" }, O = {
7
+ var me = { class: "gd-contract-signing-flow__inspector" }, C = { class: "gd-contract-signing-flow__inspector-header" }, w = { class: "gd-contract-signing-flow__inspector-type" }, T = { class: "gd-contract-signing-flow__inspector-scroll" }, E = { class: "gd-contract-signing-flow__form-section" }, D = { class: "gd-contract-signing-flow__form-section" }, O = { class: "gd-contract-signing-flow__segmented is-two" }, k = {
8
+ key: 0,
9
+ class: "gd-contract-signing-flow__identity-note"
10
+ }, A = { class: "gd-contract-signing-flow__setting-list" }, j = { class: "gd-contract-signing-flow__setting-row" }, M = { class: "gd-contract-signing-flow__form-section" }, N = { class: "gd-contract-signing-flow__section-heading" }, P = { class: "gd-contract-signing-flow__rule-summary" }, F = { class: "gd-contract-signing-flow__rule-grid" }, I = { class: "gd-contract-signing-flow__segmented is-three" }, L = { class: "gd-contract-signing-flow__segmented is-three" }, R = {
7
11
  key: 0,
8
12
  class: "gd-contract-signing-flow__seal-types"
9
- }, k = { class: "gd-contract-signing-flow__seal-list" }, A = { class: "gd-contract-signing-flow__section-heading-meta" }, j = { class: "gd-contract-signing-flow__setting-list is-compact" }, M = { class: "gd-contract-signing-flow__setting-row" }, N = { class: "gd-contract-signing-flow__setting-row" }, P = { class: "gd-contract-signing-flow__setting-row" }, F = { class: "gd-contract-signing-flow__setting-row" }, I = { class: "gd-contract-signing-flow__setting-row" }, L = { class: "gd-contract-signing-flow__setting-row" }, R = { class: "gd-contract-signing-flow__setting-row" }, z = { class: "gd-contract-signing-flow__setting-row" }, B = {
13
+ }, z = { class: "gd-contract-signing-flow__seal-list" }, he = { class: "gd-contract-signing-flow__section-heading-meta" }, ge = { class: "gd-contract-signing-flow__setting-list is-compact" }, _e = { class: "gd-contract-signing-flow__setting-row" }, ve = { class: "gd-contract-signing-flow__setting-row" }, ye = { class: "gd-contract-signing-flow__setting-row" }, be = { class: "gd-contract-signing-flow__setting-row" }, B = { class: "gd-contract-signing-flow__setting-row" }, xe = { class: "gd-contract-signing-flow__setting-row" }, Se = { class: "gd-contract-signing-flow__setting-row" }, Ce = { class: "gd-contract-signing-flow__setting-row" }, we = {
10
14
  key: 0,
11
15
  class: "gd-contract-signing-flow__form-section is-placement"
12
- }, me = { class: "gd-contract-signing-flow__section-heading" }, he = {
13
- key: 1,
14
- class: "gd-contract-signing-flow__node-overview"
15
- }, ge = { class: "gd-contract-signing-flow__node-overview-icon" }, V = /* @__PURE__ */ l({
16
+ }, Te = { class: "gd-contract-signing-flow__placement-summary" }, Ee = { class: "gd-contract-signing-flow__placement-count" }, De = { class: "gd-contract-signing-flow__node-overview-icon" }, V = /* @__PURE__ */ d({
16
17
  __name: "ContractSigningFlowInspector",
17
18
  props: {
18
19
  node: {},
@@ -21,8 +22,8 @@ var ue = { class: "gd-contract-signing-flow__inspector" }, de = { class: "gd-con
21
22
  showPlacement: { type: Boolean }
22
23
  },
23
24
  emits: ["change", "placementRequest"],
24
- setup(l, { emit: V }) {
25
- let H = l, U = d(!1), _e = [
25
+ setup(d, { emit: V }) {
26
+ let H = d, U = m(!1), Oe = [
26
27
  "smsVerify",
27
28
  "faceVerify",
28
29
  "passwordVerify",
@@ -31,13 +32,7 @@ var ue = { class: "gd-contract-signing-flow__inspector" }, de = { class: "gd-con
31
32
  "batchFunctionEnable",
32
33
  "perforationSealEnable",
33
34
  "cannotExtraLocations"
34
- ], W = V, G = n(() => H.readonly || H.disabled), ve = [{
35
- label: "个人",
36
- value: "person"
37
- }, {
38
- label: "企业",
39
- value: "company"
40
- }], K = [
35
+ ], W = V, G = i(() => H.readonly || H.disabled), K = [
41
36
  {
42
37
  label: "必须",
43
38
  value: "must"
@@ -50,7 +45,7 @@ var ue = { class: "gd-contract-signing-flow__inspector" }, de = { class: "gd-con
50
45
  label: "禁止",
51
46
  value: "forbid"
52
47
  }
53
- ], ye = [{
48
+ ], ke = [{
54
49
  label: "任一人通过",
55
50
  value: "ONE_PASS"
56
51
  }, {
@@ -84,7 +79,7 @@ var ue = { class: "gd-contract-signing-flow__inspector" }, de = { class: "gd-con
84
79
  e === "description" ? n.description = t || null : n[e] = t;
85
80
  });
86
81
  }
87
- function be(e) {
82
+ function Ae(e) {
88
83
  e !== "person" && e !== "company" || q((t) => {
89
84
  if (t.identity = e, e === "person") {
90
85
  let e = t.config.signRule;
@@ -92,12 +87,12 @@ var ue = { class: "gd-contract-signing-flow__inspector" }, de = { class: "gd-con
92
87
  }
93
88
  });
94
89
  }
95
- function xe(e) {
90
+ function je(e) {
96
91
  q((t) => {
97
92
  t.multi = e === !0;
98
93
  });
99
94
  }
100
- function Se(e) {
95
+ function Me(e) {
101
96
  e !== "ONE_PASS" && e !== "ALL_PASS" || q((t) => {
102
97
  t.multiCompletedCondition = {
103
98
  ...t.multiCompletedCondition || {
@@ -108,7 +103,7 @@ var ue = { class: "gd-contract-signing-flow__inspector" }, de = { class: "gd-con
108
103
  };
109
104
  });
110
105
  }
111
- function Ce(e, t) {
106
+ function Ne(e, t) {
112
107
  q((n) => {
113
108
  let r = n.config.signRule;
114
109
  r.sealType = t === !0 ? Array.from(new Set([...r.sealType, e])) : r.sealType.filter((t) => t !== e);
@@ -125,209 +120,217 @@ var ue = { class: "gd-contract-signing-flow__inspector" }, de = { class: "gd-con
125
120
  r[e] = t === !0, t === !0 && (e === "noneVerify" ? (r.smsVerify = !1, r.faceVerify = !1, r.passwordVerify = !1) : r.noneVerify = !1);
126
121
  });
127
122
  }
128
- function we() {
123
+ function Pe() {
129
124
  let e = J();
130
125
  return e ? e.mustSeal ? "必须印章" : e.cannotSignature ? "仅印章" : e.cannotSeal ? "仅签名" : "签名可选" : "未配置";
131
126
  }
132
- let Te = n(() => {
127
+ let Fe = i(() => {
133
128
  let e = J();
134
- return e ? _e.filter((t) => e[t] === !0).length : 0;
129
+ return e ? Oe.filter((t) => e[t] === !0).length : 0;
135
130
  });
136
- function Ee(e) {
131
+ function Ie(e) {
137
132
  return e === "sign" ? "签署节点" : e === "start" ? "开始节点" : e === "end" ? "结束节点" : "异常节点";
138
133
  }
139
- return (n, d) => (u(), a("aside", ue, [l.node ? (u(), a(t, { key: 0 }, [o("header", de, [o("div", null, [d[15] ||= o("h2", null, "节点配置", -1), o("p", null, f(l.node.name || "未命名节点"), 1)]), c(p(b), { color: l.node.type === "sign" ? "blue" : void 0 }, {
140
- default: m(() => [s(f(Ee(l.node.type)), 1)]),
141
- _: 1
142
- }, 8, ["color"])]), o("div", fe, [l.node.type === "sign" ? (u(), a(t, { key: 0 }, [
143
- o("section", pe, [d[16] ||= o("div", { class: "gd-contract-signing-flow__section-heading" }, [o("h3", null, "基础信息")], -1), c(p(oe), {
134
+ return (i, m) => (p(), s("aside", me, [d.node ? (p(), s(r, { key: 0 }, [c("header", C, [c("div", null, [u(g(e), {
135
+ title: "节点配置",
136
+ size: 16
137
+ }), c("p", null, h(d.node.name || "未命名节点"), 1)]), c("span", w, h(Ie(d.node.type)), 1)]), c("div", T, [d.node.type === "sign" ? (p(), s(r, { key: 0 }, [
138
+ c("section", E, [m[15] ||= c("div", { class: "gd-contract-signing-flow__section-heading" }, [c("h3", null, "基础信息")], -1), u(g(ae), {
144
139
  layout: "vertical",
145
140
  class: "gd-contract-signing-flow__form"
146
141
  }, {
147
- default: m(() => [
148
- c(p(g), { label: "节点名称" }, {
149
- default: m(() => [c(p(_), {
150
- value: l.node.name,
142
+ default: _(() => [
143
+ u(g(y), { label: "节点名称" }, {
144
+ default: _(() => [u(g(b), {
145
+ value: d.node.name,
151
146
  disabled: G.value,
152
147
  placeholder: "请输入节点名称",
153
- "onUpdate:value": d[0] ||= (e) => Z("name", String(e))
148
+ "onUpdate:value": m[0] ||= (e) => Z("name", String(e))
154
149
  }, null, 8, ["value", "disabled"])]),
155
150
  _: 1
156
151
  }),
157
- c(p(g), { label: "节点标识" }, {
158
- default: m(() => [c(p(_), {
159
- value: l.node.customKey || "",
152
+ u(g(y), { label: "节点标识" }, {
153
+ default: _(() => [u(g(b), {
154
+ value: d.node.customKey || "",
160
155
  disabled: G.value,
161
156
  placeholder: "请输入唯一标识",
162
- "onUpdate:value": d[1] ||= (e) => Z("customKey", String(e))
157
+ "onUpdate:value": m[1] ||= (e) => Z("customKey", String(e))
163
158
  }, null, 8, ["value", "disabled"])]),
164
159
  _: 1
165
160
  }),
166
- c(p(g), { label: "节点描述" }, {
167
- default: m(() => [c(p(_).TextArea, {
168
- value: l.node.description || "",
161
+ u(g(y), { label: "节点描述" }, {
162
+ default: _(() => [u(g(b).TextArea, {
163
+ value: d.node.description || "",
169
164
  disabled: G.value,
170
165
  "auto-size": {
171
166
  minRows: 2,
172
167
  maxRows: 4
173
168
  },
174
169
  placeholder: "请输入节点描述",
175
- "onUpdate:value": d[2] ||= (e) => Z("description", String(e))
170
+ "onUpdate:value": m[2] ||= (e) => Z("description", String(e))
176
171
  }, null, 8, ["value", "disabled"])]),
177
172
  _: 1
178
173
  })
179
174
  ]),
180
175
  _: 1
181
176
  })]),
182
- o("section", S, [
183
- d[18] ||= o("div", { class: "gd-contract-signing-flow__section-heading" }, [o("h3", null, "签署主体")], -1),
184
- c(p(se), {
185
- value: l.node.identity,
186
- options: ve,
177
+ c("section", D, [
178
+ m[17] ||= c("div", { class: "gd-contract-signing-flow__section-heading" }, [c("h3", null, "签署主体")], -1),
179
+ c("div", O, [u(g(x), {
180
+ value: d.node.identity,
181
+ options: g(t),
187
182
  "option-type": "button",
188
183
  "button-style": "solid",
189
184
  disabled: G.value,
190
- "onUpdate:value": be
191
- }, null, 8, ["value", "disabled"]),
192
- o("div", C, [o("div", w, [d[17] ||= o("div", null, [o("strong", null, "多人签署"), o("span", null, "允许多位签署人共同完成该节点")], -1), c(p(y), {
193
- checked: l.node.multi,
185
+ "onUpdate:value": Ae
186
+ }, null, 8, [
187
+ "value",
188
+ "options",
189
+ "disabled"
190
+ ])]),
191
+ d.node.identity === "person" ? (p(), s("p", k, "个人节点不允许使用印章或骑缝章。")) : o("", !0),
192
+ c("div", A, [c("div", j, [m[16] ||= c("div", null, [c("strong", null, "多人签署"), c("span", null, "允许多位签署人共同完成该节点")], -1), u(g(S), {
193
+ checked: d.node.multi,
194
194
  disabled: G.value,
195
195
  size: "small",
196
- "onUpdate:checked": xe
197
- }, null, 8, ["checked", "disabled"])]), l.node.multi ? (u(), r(p(g), {
196
+ "onUpdate:checked": je
197
+ }, null, 8, ["checked", "disabled"])]), d.node.multi ? (p(), a(g(y), {
198
198
  key: 0,
199
199
  label: "完成条件",
200
200
  class: "gd-contract-signing-flow__inline-form-item"
201
201
  }, {
202
- default: m(() => [c(p(v), {
203
- value: l.node.multiCompletedCondition?.type,
204
- options: ye,
202
+ default: _(() => [u(g(oe), {
203
+ value: d.node.multiCompletedCondition?.type,
204
+ options: ke,
205
205
  disabled: G.value,
206
- "onUpdate:value": Se
206
+ "onUpdate:value": Me
207
207
  }, null, 8, ["value", "disabled"])]),
208
208
  _: 1
209
- })) : i("", !0)])
209
+ })) : o("", !0)])
210
210
  ]),
211
- o("section", T, [
212
- o("div", E, [d[19] ||= o("h3", null, "签署规则", -1), c(p(b), { color: "blue" }, {
213
- default: m(() => [s(f(we()), 1)]),
214
- _: 1
215
- })]),
216
- o("div", D, [c(p(g), { label: "个人签名" }, {
217
- default: m(() => [c(p(v), {
211
+ c("section", M, [
212
+ c("div", N, [m[18] ||= c("h3", null, "签署规则", -1), c("span", P, h(Pe()), 1)]),
213
+ c("div", F, [u(g(y), { label: "个人签名" }, {
214
+ default: _(() => [c("div", I, [u(g(x), {
218
215
  value: Y("signature"),
219
216
  options: K,
217
+ "option-type": "button",
218
+ "button-style": "solid",
220
219
  disabled: G.value,
221
- "onUpdate:value": d[3] ||= (e) => X("signature", e)
222
- }, null, 8, ["value", "disabled"])]),
220
+ "onUpdate:value": m[3] ||= (e) => X("signature", e)
221
+ }, null, 8, ["value", "disabled"])])]),
223
222
  _: 1
224
- }), l.node.identity === "company" ? (u(), r(p(g), {
223
+ }), d.node.identity === "company" ? (p(), a(g(y), {
225
224
  key: 0,
226
225
  label: "企业印章"
227
226
  }, {
228
- default: m(() => [c(p(v), {
227
+ default: _(() => [c("div", L, [u(g(x), {
229
228
  value: Y("seal"),
230
229
  options: K,
230
+ "option-type": "button",
231
+ "button-style": "solid",
231
232
  disabled: G.value,
232
- "onUpdate:value": d[4] ||= (e) => X("seal", e)
233
- }, null, 8, ["value", "disabled"])]),
233
+ "onUpdate:value": m[4] ||= (e) => X("seal", e)
234
+ }, null, 8, ["value", "disabled"])])]),
234
235
  _: 1
235
- })) : i("", !0)]),
236
- l.node.identity === "company" && !J()?.cannotSeal ? (u(), a("div", O, [d[20] ||= o("span", { class: "gd-contract-signing-flow__field-label" }, "允许的印章类型", -1), o("div", k, [(u(!0), a(t, null, te(p(e), (e) => (u(), r(p(ae), {
236
+ })) : o("", !0)]),
237
+ d.node.identity === "company" && !J()?.cannotSeal ? (p(), s("div", R, [m[19] ||= c("span", { class: "gd-contract-signing-flow__field-label" }, "允许的印章类型", -1), c("div", z, [(p(!0), s(r, null, ee(g(n), (e) => (p(), a(g(ie), {
237
238
  key: e.value,
239
+ class: "gd-contract-signing-flow__seal-tile",
238
240
  checked: J()?.sealType.includes(e.value),
239
241
  disabled: G.value,
240
- "onUpdate:checked": (t) => Ce(e.value, t)
242
+ "onUpdate:checked": (t) => Ne(e.value, t)
241
243
  }, {
242
- default: m(() => [s(f(e.label), 1)]),
244
+ default: _(() => [l(h(e.label), 1)]),
243
245
  _: 2
244
246
  }, 1032, [
245
247
  "checked",
246
248
  "disabled",
247
249
  "onUpdate:checked"
248
- ]))), 128))])])) : i("", !0)
250
+ ]))), 128))])])) : o("", !0)
249
251
  ]),
250
- o("section", { class: ee(["gd-contract-signing-flow__form-section", { "is-collapsed": !U.value }]) }, [o("button", {
252
+ c("section", { class: f(["gd-contract-signing-flow__form-section", { "is-collapsed": !U.value }]) }, [c("button", {
251
253
  type: "button",
252
254
  class: "gd-contract-signing-flow__section-heading is-toggle",
253
- onClick: d[5] ||= (e) => U.value = !U.value
254
- }, [d[21] ||= o("h3", null, "验证与权限", -1), o("span", A, [U.value ? i("", !0) : (u(), r(p(b), { key: 0 }, {
255
- default: m(() => [s("已开启 " + f(Te.value) + " 项", 1)]),
255
+ onClick: m[5] ||= (e) => U.value = !U.value
256
+ }, [m[20] ||= c("h3", null, "验证与权限", -1), c("span", he, [U.value ? o("", !0) : (p(), a(g(se), { key: 0 }, {
257
+ default: _(() => [l("已开启 " + h(Fe.value) + " 项", 1)]),
256
258
  _: 1
257
- })), U.value ? (u(), r(p(x), { key: 2 })) : (u(), r(p(le), { key: 1 }))])]), re(o("div", j, [
258
- o("div", M, [d[22] ||= o("span", null, "短信验证", -1), c(p(y), {
259
+ })), U.value ? (p(), a(g(ce), { key: 2 })) : (p(), a(g(pe), { key: 1 }))])]), ne(c("div", ge, [
260
+ c("div", _e, [m[21] ||= c("span", null, "短信验证", -1), u(g(S), {
259
261
  checked: J()?.smsVerify,
260
262
  disabled: G.value,
261
263
  size: "small",
262
- "onUpdate:checked": d[6] ||= (e) => $("smsVerify", e)
264
+ "onUpdate:checked": m[6] ||= (e) => $("smsVerify", e)
263
265
  }, null, 8, ["checked", "disabled"])]),
264
- o("div", N, [d[23] ||= o("span", null, "人脸验证", -1), c(p(y), {
266
+ c("div", ve, [m[22] ||= c("span", null, "人脸验证", -1), u(g(S), {
265
267
  checked: J()?.faceVerify,
266
268
  disabled: G.value,
267
269
  size: "small",
268
- "onUpdate:checked": d[7] ||= (e) => $("faceVerify", e)
270
+ "onUpdate:checked": m[7] ||= (e) => $("faceVerify", e)
269
271
  }, null, 8, ["checked", "disabled"])]),
270
- o("div", P, [d[24] ||= o("span", null, "密码验证", -1), c(p(y), {
272
+ c("div", ye, [m[23] ||= c("span", null, "密码验证", -1), u(g(S), {
271
273
  checked: J()?.passwordVerify,
272
274
  disabled: G.value,
273
275
  size: "small",
274
- "onUpdate:checked": d[8] ||= (e) => $("passwordVerify", e)
276
+ "onUpdate:checked": m[8] ||= (e) => $("passwordVerify", e)
275
277
  }, null, 8, ["checked", "disabled"])]),
276
- o("div", F, [d[25] ||= o("span", null, "免验证", -1), c(p(y), {
278
+ c("div", be, [m[24] ||= c("span", null, "免验证", -1), u(g(S), {
277
279
  checked: J()?.noneVerify,
278
280
  disabled: G.value,
279
281
  size: "small",
280
- "onUpdate:checked": d[9] ||= (e) => $("noneVerify", e)
282
+ "onUpdate:checked": m[9] ||= (e) => $("noneVerify", e)
281
283
  }, null, 8, ["checked", "disabled"])]),
282
- o("div", I, [d[26] ||= o("span", null, "允许拒签", -1), c(p(y), {
284
+ c("div", B, [m[25] ||= c("span", null, "允许拒签", -1), u(g(S), {
283
285
  checked: J()?.refuseFunctionEnable,
284
286
  disabled: G.value,
285
287
  size: "small",
286
- "onUpdate:checked": d[10] ||= (e) => Q("refuseFunctionEnable", e)
288
+ "onUpdate:checked": m[10] ||= (e) => Q("refuseFunctionEnable", e)
287
289
  }, null, 8, ["checked", "disabled"])]),
288
- o("div", L, [d[27] ||= o("span", null, "批量签署", -1), c(p(y), {
290
+ c("div", xe, [m[26] ||= c("span", null, "批量签署", -1), u(g(S), {
289
291
  checked: J()?.batchFunctionEnable,
290
292
  disabled: G.value,
291
293
  size: "small",
292
- "onUpdate:checked": d[11] ||= (e) => Q("batchFunctionEnable", e)
294
+ "onUpdate:checked": m[11] ||= (e) => Q("batchFunctionEnable", e)
293
295
  }, null, 8, ["checked", "disabled"])]),
294
- o("div", R, [d[28] ||= o("span", null, "骑缝章", -1), c(p(y), {
296
+ c("div", Se, [m[27] ||= c("span", null, "骑缝章", -1), u(g(S), {
295
297
  checked: J()?.perforationSealEnable,
296
- disabled: G.value || l.node.identity !== "company",
298
+ disabled: G.value || d.node.identity !== "company",
297
299
  size: "small",
298
- "onUpdate:checked": d[12] ||= (e) => Q("perforationSealEnable", e)
300
+ "onUpdate:checked": m[12] ||= (e) => Q("perforationSealEnable", e)
299
301
  }, null, 8, ["checked", "disabled"])]),
300
- o("div", z, [d[29] ||= o("span", null, "禁止额外签署位置", -1), c(p(y), {
302
+ c("div", Ce, [m[28] ||= c("span", null, "禁止额外签署位置", -1), u(g(S), {
301
303
  checked: J()?.cannotExtraLocations,
302
304
  disabled: G.value,
303
305
  size: "small",
304
- "onUpdate:checked": d[13] ||= (e) => Q("cannotExtraLocations", e)
306
+ "onUpdate:checked": m[13] ||= (e) => Q("cannotExtraLocations", e)
305
307
  }, null, 8, ["checked", "disabled"])])
306
- ], 512), [[ne, U.value]])], 2),
307
- l.showPlacement === !1 ? i("", !0) : (u(), a("section", B, [o("div", me, [d[30] ||= o("div", null, [o("h3", null, "签署位置"), o("p", null, "由业务侧位置编辑器配置并回填")], -1), c(p(b), null, {
308
- default: m(() => [s(f(l.node.config.locationRules?.length || 0) + " 个", 1)]),
309
- _: 1
310
- })]), c(p(ie), {
311
- block: "",
312
- disabled: l.disabled,
313
- onClick: d[14] ||= (e) => W("placementRequest")
314
- }, {
315
- icon: m(() => [c(p(ce))]),
316
- default: m(() => [d[31] ||= s("设置签署位置", -1)]),
317
- _: 1
318
- }, 8, ["disabled"])]))
319
- ], 64)) : (u(), a("section", he, [
320
- o("div", ge, f(l.node.type === "start" ? "始" : l.node.type === "end" ? "终" : "!"), 1),
321
- o("h3", null, f(l.node.type === "start" ? "流程入口" : l.node.type === "end" ? "流程出口" : "异常节点"), 1),
322
- o("p", null, f(l.node.description || "该节点仅用于展示,不能编辑。"), 1),
323
- c(p(b), null, {
324
- default: m(() => [s(f(l.node.key), 1)]),
325
- _: 1
326
- })
327
- ]))])], 64)) : (u(), r(p(h), {
308
+ ], 512), [[te, U.value]])], 2),
309
+ d.showPlacement === !1 ? o("", !0) : (p(), s("section", we, [
310
+ m[31] ||= c("div", { class: "gd-contract-signing-flow__section-heading" }, [c("h3", null, "签署位置")], -1),
311
+ c("div", Te, [c("span", Ee, h(d.node.config.locationRules?.length || 0), 1), m[29] ||= c("div", null, [c("strong", null, "已设置位置"), c("p", null, "由业务侧位置编辑器配置并回填")], -1)]),
312
+ u(g(re), {
313
+ block: "",
314
+ disabled: d.disabled,
315
+ onClick: m[14] ||= (e) => W("placementRequest")
316
+ }, {
317
+ icon: _(() => [u(g(le))]),
318
+ default: _(() => [m[30] ||= l("设置签署位置", -1)]),
319
+ _: 1
320
+ }, 8, ["disabled"])
321
+ ]))
322
+ ], 64)) : (p(), s("section", {
323
+ key: 1,
324
+ class: f(["gd-contract-signing-flow__node-overview", `is-${d.node.type}`])
325
+ }, [
326
+ c("div", De, [d.node.type === "start" ? (p(), a(g(fe), { key: 0 })) : d.node.type === "end" ? (p(), a(g(de), { key: 1 })) : (p(), a(g(ue), { key: 2 }))]),
327
+ c("h3", null, h(d.node.type === "start" ? "流程入口" : d.node.type === "end" ? "流程出口" : "异常节点"), 1),
328
+ c("p", null, h(d.node.description || "该节点仅用于展示,不能编辑。"), 1),
329
+ m[32] ||= c("span", { class: "gd-contract-signing-flow__node-overview-hint" }, "系统节点无需配置", -1)
330
+ ], 2))])], 64)) : (p(), a(g(v), {
328
331
  key: 1,
329
332
  class: "gd-contract-signing-flow__empty-inspector",
330
- image: p(h).PRESENTED_IMAGE_SIMPLE,
333
+ image: g(v).PRESENTED_IMAGE_SIMPLE,
331
334
  description: "请选择一个节点"
332
335
  }, null, 8, ["image"]))]));
333
336
  }
@@ -1,18 +1,21 @@
1
- import { computed as e, createBlock as t, createCommentVNode as n, createElementBlock as r, createElementVNode as i, createTextVNode as a, createVNode as o, defineComponent as s, normalizeClass as c, openBlock as l, toDisplayString as u, unref as d, withCtx as f, withKeys as p, withModifiers as m } from "vue";
2
- import { Button as h, Tag as g, Tooltip as _ } from "ant-design-vue";
3
- import { ApartmentOutlined as v, ArrowDownOutlined as y, ArrowUpOutlined as b, DeleteOutlined as x, FileDoneOutlined as S, PlayCircleOutlined as C, SafetyCertificateOutlined as w, UserOutlined as T } from "@ant-design/icons-vue";
1
+ import { Fragment as e, computed as t, createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createVNode as o, defineComponent as s, normalizeClass as c, openBlock as l, renderList as u, toDisplayString as d, unref as f, withCtx as p, withKeys as m, withModifiers as h } from "vue";
2
+ import { Button as g, Tooltip as _ } from "ant-design-vue";
3
+ import { ArrowDownOutlined as v, ArrowUpOutlined as y, DeleteOutlined as b, FileDoneOutlined as x, PlayCircleOutlined as S, SafetyCertificateOutlined as C, UserOutlined as w } from "@ant-design/icons-vue";
4
4
  //#region src/components/pro-contract-signing-flow/src/ContractSigningFlowNodeCard.vue?vue&type=script&setup=true&lang.ts
5
- var E = [
5
+ var T = [
6
6
  "tabindex",
7
7
  "aria-disabled",
8
8
  "aria-current"
9
- ], D = { class: "gd-contract-signing-flow__node-body" }, O = { class: "gd-contract-signing-flow__node-title-row" }, k = { class: "gd-contract-signing-flow__node-name" }, A = {
9
+ ], E = {
10
10
  key: 0,
11
- class: "gd-contract-signing-flow__node-meta"
12
- }, j = {
11
+ class: "gd-contract-signing-flow__node-caption"
12
+ }, D = {
13
13
  key: 1,
14
- class: "gd-contract-signing-flow__node-description"
15
- }, M = /* @__PURE__ */ s({
14
+ class: "gd-contract-signing-flow__node-body"
15
+ }, O = { class: "gd-contract-signing-flow__node-title-row" }, k = { class: "gd-contract-signing-flow__node-name" }, A = { class: "gd-contract-signing-flow__node-description" }, j = {
16
+ key: 2,
17
+ class: "gd-contract-signing-flow__node-body"
18
+ }, M = { class: "gd-contract-signing-flow__node-title-row" }, N = { class: "gd-contract-signing-flow__node-name" }, P = { class: "gd-contract-signing-flow__node-chips" }, F = /* @__PURE__ */ s({
16
19
  __name: "ContractSigningFlowNodeCard",
17
20
  props: {
18
21
  node: {},
@@ -27,82 +30,105 @@ var E = [
27
30
  "remove",
28
31
  "move"
29
32
  ],
30
- setup(s, { emit: M }) {
31
- let N = s, P = M, F = e(() => N.node.type === "sign" && N.node.config.locationRules?.length || 0), I = e(() => N.node.type === "start" ? "开始" : N.node.type === "end" ? "结束" : N.node.type === "sign" ? "签署" : "异常"), L = e(() => {
32
- let e = N.node.config.signRule;
33
+ setup(s, { emit: F }) {
34
+ let I = s, L = F, R = t(() => I.node.type === "start" || I.node.type === "end"), z = t(() => I.node.type === "sign"), B = t(() => !R.value && !z.value), V = t(() => z.value && I.node.config.locationRules?.length || 0), H = t(() => I.node.type === "start" ? "开始" : I.node.type === "end" ? "结束" : I.node.type === "sign" ? "签署" : "异常"), U = t(() => {
35
+ let e = I.node.config.signRule;
33
36
  return e ? e.mustSeal ? "必须盖章" : e.cannotSignature ? "仅盖章" : e.cannotSeal ? "仅签名" : "签名可选" : "未配置规则";
34
- });
35
- return (e, M) => (l(), r("article", {
36
- class: c(["gd-contract-signing-flow__node", {
37
- "is-selected": s.selected,
38
- "is-disabled": s.disabled,
39
- "is-unknown": s.node.type !== "start" && s.node.type !== "sign" && s.node.type !== "end"
40
- }]),
37
+ }), W = t(() => {
38
+ if (!z.value) return [];
39
+ let e = [
40
+ {
41
+ key: "identity",
42
+ label: I.node.identity === "company" ? "企业" : "个人"
43
+ },
44
+ {
45
+ key: "multi",
46
+ label: I.node.multi ? I.node.multiCompletedCondition?.type === "ALL_PASS" ? "多人全部通过" : "多人任一通过" : "单人签署"
47
+ },
48
+ {
49
+ key: "rule",
50
+ label: U.value
51
+ },
52
+ {
53
+ key: "location",
54
+ label: `${V.value} 个位置`
55
+ }
56
+ ];
57
+ return I.node.config.signRule?.smsVerify && e.push({
58
+ key: "sms",
59
+ label: "短信"
60
+ }), e;
61
+ }), G = t(() => ({
62
+ "is-selected": I.selected,
63
+ "is-disabled": I.disabled,
64
+ "is-terminal": R.value,
65
+ "is-sign": z.value,
66
+ "is-unknown": B.value,
67
+ "is-person": z.value && I.node.identity !== "company",
68
+ "is-company": z.value && I.node.identity === "company"
69
+ })), K = t(() => z.value && I.selected && !I.readonly);
70
+ return (t, F) => (l(), i("article", {
71
+ class: c(["gd-contract-signing-flow__node", G.value]),
41
72
  role: "group",
42
73
  tabindex: s.disabled ? -1 : 0,
43
74
  "aria-disabled": s.disabled,
44
75
  "aria-current": s.selected ? "step" : void 0,
45
- onClick: M[4] ||= (e) => P("select"),
46
- onKeydown: [M[5] ||= p(m((e) => P("select"), ["prevent"]), ["enter"]), M[6] ||= p(m((e) => P("select"), ["prevent"]), ["space"])]
47
- }, [
48
- i("div", { class: c(["gd-contract-signing-flow__node-icon", `is-${s.node.type}`]) }, [s.node.type === "start" ? (l(), t(d(C), { key: 0 })) : s.node.type === "end" ? (l(), t(d(S), { key: 1 })) : s.node.identity === "company" ? (l(), t(d(w), { key: 2 })) : (l(), t(d(T), { key: 3 }))], 2),
49
- i("div", D, [i("div", O, [i("strong", k, u(s.node.name || "未命名节点"), 1), o(d(g), { color: s.node.type === "sign" ? "blue" : void 0 }, {
50
- default: f(() => [a(u(I.value), 1)]),
51
- _: 1
52
- }, 8, ["color"])]), s.node.type === "sign" ? (l(), r("div", A, [
53
- i("span", null, [s.node.identity === "company" ? (l(), t(d(v), { key: 0 })) : (l(), t(d(T), { key: 1 })), a(u(s.node.identity === "company" ? "企业" : "个人"), 1)]),
54
- i("span", null, u(s.node.multi ? s.node.multiCompletedCondition?.type === "ALL_PASS" ? "多人全部通过" : "多人任一通过" : "单人签署"), 1),
55
- i("span", null, u(L.value), 1),
56
- i("span", null, u(F.value) + " 个位置", 1)
57
- ])) : (l(), r("p", j, u(s.node.description || "流程节点"), 1))]),
58
- s.node.type === "sign" && !s.readonly ? (l(), r("div", {
76
+ onClick: F[4] ||= (e) => L("select"),
77
+ onKeydown: [F[5] ||= m(h((e) => L("select"), ["prevent"]), ["enter"]), F[6] ||= m(h((e) => L("select"), ["prevent"]), ["space"])]
78
+ }, [a("div", { class: c(["gd-contract-signing-flow__node-icon", `is-${s.node.type}`]) }, [s.node.type === "start" ? (l(), n(f(S), { key: 0 })) : s.node.type === "end" ? (l(), n(f(x), { key: 1 })) : s.node.identity === "company" ? (l(), n(f(C), { key: 2 })) : (l(), n(f(w), { key: 3 }))], 2), R.value ? (l(), i("span", E, d(H.value), 1)) : B.value ? (l(), i("div", D, [a("div", O, [a("strong", k, d(s.node.name || "未命名节点"), 1)]), a("p", A, d(s.node.description || H.value) + " · " + d(s.node.type), 1)])) : (l(), i("div", j, [
79
+ a("div", M, [a("strong", N, d(s.node.name || "未命名节点"), 1)]),
80
+ a("div", P, [(l(!0), i(e, null, u(W.value, (e) => (l(), i("span", {
81
+ key: e.key,
82
+ class: "gd-contract-signing-flow__node-chip"
83
+ }, d(e.label), 1))), 128))]),
84
+ K.value ? (l(), i("div", {
59
85
  key: 0,
60
86
  class: "gd-contract-signing-flow__node-actions",
61
- onClick: M[3] ||= m(() => {}, ["stop"])
87
+ onClick: F[3] ||= h(() => {}, ["stop"])
62
88
  }, [
63
- o(d(_), { title: "上移节点" }, {
64
- default: f(() => [o(d(h), {
89
+ o(f(_), { title: "上移节点" }, {
90
+ default: p(() => [o(f(g), {
65
91
  type: "text",
66
92
  size: "small",
67
93
  disabled: s.disabled || !s.canMoveUp,
68
94
  "aria-label": "上移节点",
69
- onClick: M[0] ||= (e) => P("move", -1)
95
+ onClick: F[0] ||= (e) => L("move", -1)
70
96
  }, {
71
- default: f(() => [o(d(b))]),
97
+ default: p(() => [o(f(y))]),
72
98
  _: 1
73
99
  }, 8, ["disabled"])]),
74
100
  _: 1
75
101
  }),
76
- o(d(_), { title: "下移节点" }, {
77
- default: f(() => [o(d(h), {
102
+ o(f(_), { title: "下移节点" }, {
103
+ default: p(() => [o(f(g), {
78
104
  type: "text",
79
105
  size: "small",
80
106
  disabled: s.disabled || !s.canMoveDown,
81
107
  "aria-label": "下移节点",
82
- onClick: M[1] ||= (e) => P("move", 1)
108
+ onClick: F[1] ||= (e) => L("move", 1)
83
109
  }, {
84
- default: f(() => [o(d(y))]),
110
+ default: p(() => [o(f(v))]),
85
111
  _: 1
86
112
  }, 8, ["disabled"])]),
87
113
  _: 1
88
114
  }),
89
- o(d(_), { title: "删除节点" }, {
90
- default: f(() => [o(d(h), {
115
+ o(f(_), { title: "删除节点" }, {
116
+ default: p(() => [o(f(g), {
91
117
  type: "text",
92
118
  danger: "",
93
119
  size: "small",
94
120
  disabled: s.disabled,
95
121
  "aria-label": "删除节点",
96
- onClick: M[2] ||= (e) => P("remove")
122
+ onClick: F[2] ||= (e) => L("remove")
97
123
  }, {
98
- default: f(() => [o(d(x))]),
124
+ default: p(() => [o(f(b))]),
99
125
  _: 1
100
126
  }, 8, ["disabled"])]),
101
127
  _: 1
102
128
  })
103
- ])) : n("", !0)
104
- ], 42, E));
129
+ ])) : r("", !0)
130
+ ]))], 42, T));
105
131
  }
106
132
  });
107
133
  //#endregion
108
- export { M as default };
134
+ export { F as default };