@king-one/form-design 0.0.26 → 0.0.28

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 (33) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/es/src/components/form-material.vue.mjs +33 -29
  3. package/dist/es/src/components/panel/index.mjs +26 -24
  4. package/dist/es/src/components/panel/widget/leave-kit.vue.mjs +4 -0
  5. package/dist/es/src/components/panel/widget/leave-kit.vue2.mjs +66 -0
  6. package/dist/es/src/components/panel/widget/overtime-kit.vue.mjs +4 -0
  7. package/dist/es/src/components/panel/widget/overtime-kit.vue2.mjs +66 -0
  8. package/dist/es/src/components/props/widget/GridProps.vue2.mjs +84 -83
  9. package/dist/es/src/config/index.mjs +153 -124
  10. package/dist/es/src/core/FormSchema.mjs +45 -40
  11. package/dist/lib/src/components/form-material.vue.js +1 -1
  12. package/dist/lib/src/components/panel/index.js +1 -1
  13. package/dist/lib/src/components/panel/widget/leave-kit.vue.js +1 -0
  14. package/dist/lib/src/components/panel/widget/leave-kit.vue2.js +1 -0
  15. package/dist/lib/src/components/panel/widget/overtime-kit.vue.js +1 -0
  16. package/dist/lib/src/components/panel/widget/overtime-kit.vue2.js +1 -0
  17. package/dist/lib/src/components/props/widget/GridProps.vue2.js +1 -1
  18. package/dist/lib/src/config/index.js +15 -1
  19. package/dist/lib/src/core/FormSchema.js +1 -1
  20. package/dist/theme-chalk/icon.css +1 -1
  21. package/dist/theme-chalk/index.css +1 -1
  22. package/dist/theme-chalk/kit-panel.css +1 -1
  23. package/dist/types/src/components/panel/widget/leave-kit.vue.d.ts +3 -0
  24. package/dist/types/src/components/panel/widget/overtime-kit.vue.d.ts +3 -0
  25. package/dist/types/src/core/Design.d.ts +211 -79
  26. package/dist/types/src/core/FormSchema.d.ts +77 -13
  27. package/dist/types/src/types.d.ts +23 -7
  28. package/package.json +1 -1
  29. package/dist/es/src/components/panel/widget/kit.vue.mjs +0 -4
  30. package/dist/es/src/components/panel/widget/kit.vue2.mjs +0 -48
  31. package/dist/lib/src/components/panel/widget/kit.vue.js +0 -1
  32. package/dist/lib/src/components/panel/widget/kit.vue2.js +0 -1
  33. package/dist/types/src/components/panel/widget/kit.vue.d.ts +0 -8
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @king-one/form-design
2
2
 
3
+ ## 0.0.28
4
+
5
+ ### Patch Changes
6
+
7
+ - fix:修复栅格布局组件转换问题
8
+
9
+ ## 0.0.27
10
+
11
+ ### Patch Changes
12
+
13
+ - feat: 优化json-schema转换规则
14
+
3
15
  ## 0.0.26
4
16
 
5
17
  ### Patch Changes
@@ -1,4 +1,4 @@
1
- import { defineComponent as J, ref as w, openBlock as l, createElementBlock as m, normalizeClass as u, unref as o, createElementVNode as n, createVNode as a, withCtx as r, createTextVNode as N, Fragment as T, renderList as W, toDisplayString as y, createBlock as K, createCommentVNode as p } from "vue";
1
+ import { defineComponent as J, ref as w, openBlock as r, createElementBlock as m, normalizeClass as p, unref as o, createElementVNode as n, createVNode as a, withCtx as l, createTextVNode as N, Fragment as T, renderList as W, toDisplayString as y, createBlock as K, createCommentVNode as u } from "vue";
2
2
  import "../internal.mjs";
3
3
  import { RadioGroup as L, RadioButton as S } from "ant-design-vue";
4
4
  import $ from "vuedraggable";
@@ -14,16 +14,16 @@ const A = { class: "widget-group-name" }, H = { class: "widget-col" }, P = { cla
14
14
  }, X = { class: "widget-item-title" }, Y = { class: "template-item" }, Z = {
15
15
  key: 0,
16
16
  class: "template-item-icon"
17
- }, ee = { class: "template-item-name" }, ue = /* @__PURE__ */ J({
17
+ }, ee = { class: "template-item-name" }, pe = /* @__PURE__ */ J({
18
18
  name: "FormMaterial",
19
19
  __name: "form-material",
20
20
  setup(te) {
21
21
  const k = w(), { updateDrag: c } = M(), { b: j } = g("material"), { b: B } = g("toolbar"), { b: E } = g("widget"), { b: I } = g("temp"), f = U(), { schema: R, tempSchema: O } = f, _ = w("1");
22
22
  function z(s) {
23
- const { icon: e, ...t } = s, i = JSON.parse(JSON.stringify(t)), C = D(), d = {
23
+ const { icon: e, ...t } = s, i = JSON.parse(JSON.stringify(t)), x = D(), d = {
24
24
  ...i,
25
- name: C,
26
- id: C,
25
+ name: x,
26
+ id: x,
27
27
  "x-design-props": Object.assign({
28
28
  validate: {
29
29
  status: "",
@@ -37,7 +37,7 @@ const A = { class: "widget-group-name" }, H = { class: "widget-col" }, P = { cla
37
37
  for (; v < 2; ) {
38
38
  const h = D();
39
39
  b.push({
40
- title: `列表容器${v + 1}`,
40
+ title: `栅格容器${v + 1}`,
41
41
  name: h,
42
42
  id: h,
43
43
  key: "k-grid-column",
@@ -48,13 +48,17 @@ const A = { class: "widget-group-name" }, H = { class: "widget-col" }, P = { cla
48
48
  "x-decorator": "Void",
49
49
  "x-component-props": {
50
50
  span: 12
51
+ },
52
+ "x-design-props": {
53
+ "convert-key": "properties",
54
+ "convert-type": "base"
51
55
  }
52
56
  }), v++;
53
57
  }
54
58
  d.children = b;
55
59
  }
56
- const { shared: x } = f;
57
- return x.draggedContext.field = d, x.draggedContext.key = d.key, d;
60
+ const { shared: C } = f;
61
+ return C.draggedContext.field = d, C.draggedContext.key = d.key, d;
58
62
  }
59
63
  function F(s) {
60
64
  const { schema: e } = s, { shared: t } = f;
@@ -64,16 +68,16 @@ const A = { class: "widget-group-name" }, H = { class: "widget-col" }, P = { cla
64
68
  var e;
65
69
  (e = k.value) == null || e.goTo(Number(s.target.value) - 1);
66
70
  }
67
- return (s, e) => (l(), m(
71
+ return (s, e) => (r(), m(
68
72
  "div",
69
73
  {
70
- class: u(o(j)())
74
+ class: p(o(j)())
71
75
  },
72
76
  [
73
77
  n(
74
78
  "div",
75
79
  {
76
- class: u(o(B)())
80
+ class: p(o(B)())
77
81
  },
78
82
  [
79
83
  a(o(L), {
@@ -83,12 +87,12 @@ const A = { class: "widget-group-name" }, H = { class: "widget-col" }, P = { cla
83
87
  size: "default",
84
88
  onChange: G
85
89
  }, {
86
- default: r(() => [
90
+ default: l(() => [
87
91
  a(o(S), {
88
92
  class: "toolbar-button",
89
93
  value: "1"
90
94
  }, {
91
- default: r(() => e[5] || (e[5] = [
95
+ default: l(() => e[5] || (e[5] = [
92
96
  N(" 组件库 ")
93
97
  ])),
94
98
  _: 1,
@@ -98,7 +102,7 @@ const A = { class: "widget-group-name" }, H = { class: "widget-col" }, P = { cla
98
102
  class: "toolbar-button",
99
103
  value: "2"
100
104
  }, {
101
- default: r(() => e[6] || (e[6] = [
105
+ default: l(() => e[6] || (e[6] = [
102
106
  N(" 业务套件 ")
103
107
  ])),
104
108
  _: 1,
@@ -120,17 +124,17 @@ const A = { class: "widget-group-name" }, H = { class: "widget-col" }, P = { cla
120
124
  "model-value": 0
121
125
  },
122
126
  {
123
- default: r(() => [
127
+ default: l(() => [
124
128
  n(
125
129
  "div",
126
130
  {
127
- class: u(o(E)())
131
+ class: p(o(E)())
128
132
  },
129
133
  [
130
- (l(!0), m(
134
+ (r(!0), m(
131
135
  T,
132
136
  null,
133
- W(o(R), (t) => (l(), m("div", {
137
+ W(o(R), (t) => (r(), m("div", {
134
138
  key: t.key,
135
139
  class: "widget-group"
136
140
  }, [
@@ -141,7 +145,7 @@ const A = { class: "widget-group-name" }, H = { class: "widget-col" }, P = { cla
141
145
  1
142
146
  /* TEXT */
143
147
  ),
144
- t.widget ? (l(), K(o($), {
148
+ t.widget ? (r(), K(o($), {
145
149
  key: 0,
146
150
  list: t.widget,
147
151
  class: "widget-list-drag",
@@ -153,14 +157,14 @@ const A = { class: "widget-group-name" }, H = { class: "widget-col" }, P = { cla
153
157
  onStart: e[1] || (e[1] = (i) => o(c)(!0)),
154
158
  onEnd: e[2] || (e[2] = (i) => o(c)(!1))
155
159
  }, {
156
- item: r(({ element: i }) => [
160
+ item: l(({ element: i }) => [
157
161
  n("div", H, [
158
162
  n("div", P, [
159
- i.icon ? (l(), m("div", Q, [
163
+ i.icon ? (r(), m("div", Q, [
160
164
  a(o(V), {
161
165
  icon: i.icon
162
166
  }, null, 8, ["icon"])
163
- ])) : p("v-if", !0),
167
+ ])) : u("v-if", !0),
164
168
  n(
165
169
  "div",
166
170
  X,
@@ -173,7 +177,7 @@ const A = { class: "widget-group-name" }, H = { class: "widget-col" }, P = { cla
173
177
  ]),
174
178
  _: 2
175
179
  /* DYNAMIC */
176
- }, 1032, ["list"])) : p("v-if", !0)
180
+ }, 1032, ["list"])) : u("v-if", !0)
177
181
  ]))),
178
182
  128
179
183
  /* KEYED_FRAGMENT */
@@ -185,7 +189,7 @@ const A = { class: "widget-group-name" }, H = { class: "widget-col" }, P = { cla
185
189
  n(
186
190
  "div",
187
191
  {
188
- class: u(o(I)())
192
+ class: p(o(I)())
189
193
  },
190
194
  [
191
195
  a(o($), {
@@ -199,13 +203,13 @@ const A = { class: "widget-group-name" }, H = { class: "widget-col" }, P = { cla
199
203
  onStart: e[3] || (e[3] = (t) => o(c)(!0)),
200
204
  onEnd: e[4] || (e[4] = (t) => o(c)(!1))
201
205
  }, {
202
- item: r(({ element: t }) => [
206
+ item: l(({ element: t }) => [
203
207
  n("div", Y, [
204
- t.icon ? (l(), m("div", Z, [
208
+ t.icon ? (r(), m("div", Z, [
205
209
  a(o(V), {
206
210
  icon: t.icon
207
211
  }, null, 8, ["icon"])
208
- ])) : p("v-if", !0),
212
+ ])) : u("v-if", !0),
209
213
  n(
210
214
  "div",
211
215
  ee,
@@ -218,7 +222,7 @@ const A = { class: "widget-group-name" }, H = { class: "widget-col" }, P = { cla
218
222
  _: 1
219
223
  /* STABLE */
220
224
  }, 8, ["list"]),
221
- p(` <div class="template-list">
225
+ u(` <div class="template-list">
222
226
  <div v-for="g in tempSchema" :key="g.key" class="template-item">
223
227
  <div v-if="g.icon" class="template-item-icon">
224
228
  <WidgetIcon :icon="g.icon" />
@@ -246,5 +250,5 @@ const A = { class: "widget-group-name" }, H = { class: "widget-col" }, P = { cla
246
250
  }
247
251
  });
248
252
  export {
249
- ue as default
253
+ pe as default
250
254
  };
@@ -1,35 +1,37 @@
1
- import { Input as t, Textarea as o, InputNumber as i } from "ant-design-vue";
1
+ import { Input as m, Textarea as t, InputNumber as o } from "ant-design-vue";
2
2
  import "./widget/object.vue.mjs";
3
3
  import { panelWarpper as r } from "./panel-wrapper.mjs";
4
4
  import "./widget/select.vue.mjs";
5
5
  import "./widget/array-card.vue.mjs";
6
6
  import "./widget/date-range.vue.mjs";
7
7
  import "./widget/date-single.vue.mjs";
8
- import "./widget/kit.vue.mjs";
8
+ import "./widget/overtime-kit.vue.mjs";
9
9
  import "./widget/array-table.vue.mjs";
10
10
  import "./widget/grid.vue.mjs";
11
- import p from "./widget/select.vue2.mjs";
12
- import e from "./widget/object.vue2.mjs";
13
- import a from "./widget/date-range.vue2.mjs";
14
- import n from "./widget/date-single.vue2.mjs";
15
- import f from "./widget/array-card.vue2.mjs";
16
- import m from "./widget/kit.vue2.mjs";
17
- import _ from "./widget/array-table.vue2.mjs";
18
- import c from "./widget/grid.vue2.mjs";
19
- const s = r(t), k = r(o), u = r(i), z = {
20
- "k-input": s,
21
- "k-textarea": k,
22
- "k-input-number": u,
23
- "k-select": p,
24
- "k-object": e,
25
- "k-date-range": a,
26
- "k-date-single": n,
27
- "k-array-card": f,
28
- "k-overtime": m,
29
- "k-leave": m,
30
- "k-table": _,
31
- "k-grid": c
11
+ import "./widget/leave-kit.vue.mjs";
12
+ import i from "./widget/select.vue2.mjs";
13
+ import p from "./widget/object.vue2.mjs";
14
+ import e from "./widget/date-range.vue2.mjs";
15
+ import a from "./widget/date-single.vue2.mjs";
16
+ import n from "./widget/array-card.vue2.mjs";
17
+ import f from "./widget/overtime-kit.vue2.mjs";
18
+ import _ from "./widget/leave-kit.vue2.mjs";
19
+ import c from "./widget/array-table.vue2.mjs";
20
+ import s from "./widget/grid.vue2.mjs";
21
+ const k = r(m), u = r(t), $ = r(o), C = {
22
+ "k-input": k,
23
+ "k-textarea": u,
24
+ "k-input-number": $,
25
+ "k-select": i,
26
+ "k-object": p,
27
+ "k-date-range": e,
28
+ "k-date-single": a,
29
+ "k-array-card": n,
30
+ "k-overtime": f,
31
+ "k-liveTime": _,
32
+ "k-table": c,
33
+ "k-grid": s
32
34
  };
33
35
  export {
34
- z as widgetPanels
36
+ C as widgetPanels
35
37
  };
@@ -0,0 +1,4 @@
1
+ import f from "./leave-kit.vue2.mjs";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,66 @@
1
+ import { defineComponent as r, openBlock as c, createElementBlock as m, normalizeClass as d, unref as e, createElementVNode as l, createVNode as t, withCtx as s } from "vue";
2
+ import "../../../internal.mjs";
3
+ import { FormItem as a, RangePicker as p, InputNumber as o } from "ant-design-vue";
4
+ import { useNamespace as _ } from "../../../hooks/use-namespace/index.mjs";
5
+ const u = { class: "details" }, f = { class: "detail-content" }, x = /* @__PURE__ */ r({
6
+ __name: "leave-kit",
7
+ setup(k) {
8
+ const { b: n } = _("kit-panel");
9
+ return (b, i) => (c(), m(
10
+ "div",
11
+ {
12
+ class: d(e(n)())
13
+ },
14
+ [
15
+ l("div", u, [
16
+ i[0] || (i[0] = l(
17
+ "div",
18
+ { class: "detail-title" },
19
+ [
20
+ l("span", null, "请假明细")
21
+ ],
22
+ -1
23
+ /* CACHED */
24
+ )),
25
+ l("div", f, [
26
+ t(e(a), {
27
+ label: "请假时长",
28
+ class: "kit-item"
29
+ }, {
30
+ default: s(() => [
31
+ t(e(p), { placeholder: ["开始日期", "结束日期"] })
32
+ ]),
33
+ _: 1
34
+ /* STABLE */
35
+ }),
36
+ t(e(a), {
37
+ label: "请假时长",
38
+ class: "kit-item"
39
+ }, {
40
+ default: s(() => [
41
+ t(e(o), { style: { width: "100%" } })
42
+ ]),
43
+ _: 1
44
+ /* STABLE */
45
+ })
46
+ ])
47
+ ]),
48
+ t(e(a), {
49
+ label: "总时长",
50
+ class: "kit-item"
51
+ }, {
52
+ default: s(() => [
53
+ t(e(o), { style: { width: "100%" } })
54
+ ]),
55
+ _: 1
56
+ /* STABLE */
57
+ })
58
+ ],
59
+ 2
60
+ /* CLASS */
61
+ ));
62
+ }
63
+ });
64
+ export {
65
+ x as default
66
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./overtime-kit.vue2.mjs";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,66 @@
1
+ import { defineComponent as r, openBlock as m, createElementBlock as c, normalizeClass as d, unref as e, createElementVNode as l, createVNode as t, withCtx as s } from "vue";
2
+ import "../../../internal.mjs";
3
+ import { FormItem as a, RangePicker as p, InputNumber as o } from "ant-design-vue";
4
+ import { useNamespace as _ } from "../../../hooks/use-namespace/index.mjs";
5
+ const u = { class: "details" }, f = { class: "detail-content" }, x = /* @__PURE__ */ r({
6
+ __name: "overtime-kit",
7
+ setup(k) {
8
+ const { b: n } = _("kit-panel");
9
+ return (b, i) => (m(), c(
10
+ "div",
11
+ {
12
+ class: d(e(n)())
13
+ },
14
+ [
15
+ l("div", u, [
16
+ i[0] || (i[0] = l(
17
+ "div",
18
+ { class: "detail-title" },
19
+ [
20
+ l("span", null, "加班明细")
21
+ ],
22
+ -1
23
+ /* CACHED */
24
+ )),
25
+ l("div", f, [
26
+ t(e(a), {
27
+ label: "加班日期",
28
+ class: "kit-item"
29
+ }, {
30
+ default: s(() => [
31
+ t(e(p), { placeholder: ["开始日期", "结束日期"] })
32
+ ]),
33
+ _: 1
34
+ /* STABLE */
35
+ }),
36
+ t(e(a), {
37
+ label: "加班时长",
38
+ class: "kit-item"
39
+ }, {
40
+ default: s(() => [
41
+ t(e(o), { style: { width: "100%" } })
42
+ ]),
43
+ _: 1
44
+ /* STABLE */
45
+ })
46
+ ])
47
+ ]),
48
+ t(e(a), {
49
+ label: "总时长",
50
+ class: "kit-item"
51
+ }, {
52
+ default: s(() => [
53
+ t(e(o), { style: { width: "100%" } })
54
+ ]),
55
+ _: 1
56
+ /* STABLE */
57
+ })
58
+ ],
59
+ 2
60
+ /* CLASS */
61
+ ));
62
+ }
63
+ });
64
+ export {
65
+ x as default
66
+ };
@@ -1,23 +1,23 @@
1
- import { defineComponent as _, computed as k, resolveComponent as y, openBlock as p, createBlock as C, unref as o, normalizeClass as g, withCtx as a, createVNode as n, createElementBlock as c, Fragment as h, renderList as b, createTextVNode as N } from "vue";
2
- import { Form as I, FormItem as d, InputNumber as B, Button as F } from "ant-design-vue";
1
+ import { defineComponent as _, computed as k, openBlock as s, createBlock as y, unref as t, normalizeClass as g, withCtx as p, createVNode as n, createElementBlock as c, Fragment as h, renderList as C, createTextVNode as b } from "vue";
2
+ import { Form as B, FormItem as u, InputNumber as d, Button as F } from "ant-design-vue";
3
3
  import "../../../internal.mjs";
4
- import { uid as w } from "@king-one/utils";
4
+ import { uid as N } from "@king-one/utils";
5
5
  import "../../form-icon.vue.mjs";
6
- import { useNamespace as U } from "../../../hooks/use-namespace/index.mjs";
7
- import { useInjectDesignContext as V } from "../../../context/design.mjs";
8
- import $ from "../../form-icon.vue2.mjs";
9
- const q = /* @__PURE__ */ _({
6
+ import { useNamespace as w } from "../../../hooks/use-namespace/index.mjs";
7
+ import { useInjectDesignContext as I } from "../../../context/design.mjs";
8
+ import U from "../../form-icon.vue2.mjs";
9
+ const T = /* @__PURE__ */ _({
10
10
  __name: "GridProps",
11
- setup(z) {
12
- const { b: f } = U("grid-props"), { checkedField: r } = V(), s = k(() => r.value["x-component-props"] || {});
11
+ setup(V) {
12
+ const { b: f } = w("grid-props"), { checkedField: r } = I(), m = k(() => r.value["x-component-props"] || {});
13
13
  function v(l) {
14
14
  var e;
15
15
  (e = r.value.children) == null || e.splice(l, 1);
16
16
  }
17
17
  function x() {
18
- var t, i;
19
- const l = w(), m = {
20
- title: `列表容器${(((t = r.value.children) == null ? void 0 : t.length) || 0) + 1}`,
18
+ var a, i;
19
+ const l = N(), o = {
20
+ title: `栅格容器${(((a = r.value.children) == null ? void 0 : a.length) || 0) + 1}`,
21
21
  name: l,
22
22
  id: l,
23
23
  key: "k-grid-column",
@@ -28,81 +28,82 @@ const q = /* @__PURE__ */ _({
28
28
  "x-decorator": "Void",
29
29
  "x-component-props": {
30
30
  span: 12
31
+ },
32
+ "x-design-props": {
33
+ "convert-key": "properties",
34
+ "convert-type": "base"
31
35
  }
32
36
  };
33
- (i = r.value.children) == null || i.push(m);
37
+ (i = r.value.children) == null || i.push(o);
34
38
  }
35
- return (l, e) => {
36
- const m = y("AInputNumber");
37
- return p(), C(o(I), {
38
- layout: "vertical",
39
- class: g(o(f)())
40
- }, {
41
- default: a(() => [
42
- n(o(d), { label: "间隔大小" }, {
43
- default: a(() => [
44
- n(o(B), {
45
- value: s.value.gutter,
46
- "onUpdate:value": e[0] || (e[0] = (t) => s.value.gutter = t),
47
- style: { width: "100%" },
48
- min: 1,
49
- precision: 0,
50
- max: 999,
51
- "addon-after": "px"
52
- }, null, 8, ["value"])
53
- ]),
54
- _: 1
55
- /* STABLE */
56
- }),
57
- n(o(d), { label: "配置项" }, {
58
- default: a(() => [
59
- (p(!0), c(
60
- h,
61
- null,
62
- b(o(r).children, (t, i) => (p(), c("div", {
63
- key: t.id,
64
- class: "col-item"
65
- }, [
66
- n(m, {
67
- value: t["x-component-props"].span,
68
- "onUpdate:value": (u) => t["x-component-props"].span = u,
69
- min: 1,
70
- style: { width: "200px" },
71
- precision: 0,
72
- max: 24
73
- }, null, 8, ["value", "onUpdate:value"]),
74
- n($, {
75
- name: "delete1",
76
- class: "close-icon",
77
- onClick: (u) => v(i)
78
- }, null, 8, ["onClick"])
79
- ]))),
80
- 128
81
- /* KEYED_FRAGMENT */
82
- )),
83
- n(o(F), {
84
- size: "small",
85
- type: "primary",
86
- style: { "margin-bottom": "10px" },
87
- onClick: x
88
- }, {
89
- default: a(() => e[1] || (e[1] = [
90
- N(" 添加 + ")
91
- ])),
92
- _: 1,
93
- __: [1]
94
- })
95
- ]),
96
- _: 1
97
- /* STABLE */
98
- })
99
- ]),
100
- _: 1
101
- /* STABLE */
102
- }, 8, ["class"]);
103
- };
39
+ return (l, e) => (s(), y(t(B), {
40
+ layout: "vertical",
41
+ class: g(t(f)())
42
+ }, {
43
+ default: p(() => [
44
+ n(t(u), { label: "间隔大小" }, {
45
+ default: p(() => [
46
+ n(t(d), {
47
+ value: m.value.gutter,
48
+ "onUpdate:value": e[0] || (e[0] = (o) => m.value.gutter = o),
49
+ style: { width: "100%" },
50
+ min: 1,
51
+ precision: 0,
52
+ max: 999,
53
+ "addon-after": "px"
54
+ }, null, 8, ["value"])
55
+ ]),
56
+ _: 1
57
+ /* STABLE */
58
+ }),
59
+ n(t(u), { label: "配置项" }, {
60
+ default: p(() => [
61
+ (s(!0), c(
62
+ h,
63
+ null,
64
+ C(t(r).children, (o, a) => (s(), c("div", {
65
+ key: o.id,
66
+ class: "col-item"
67
+ }, [
68
+ n(t(d), {
69
+ value: o["x-component-props"].span,
70
+ "onUpdate:value": (i) => o["x-component-props"].span = i,
71
+ min: 1,
72
+ style: { width: "200px" },
73
+ precision: 0,
74
+ max: 24
75
+ }, null, 8, ["value", "onUpdate:value"]),
76
+ n(U, {
77
+ name: "delete1",
78
+ class: "close-icon",
79
+ onClick: (i) => v(a)
80
+ }, null, 8, ["onClick"])
81
+ ]))),
82
+ 128
83
+ /* KEYED_FRAGMENT */
84
+ )),
85
+ n(t(F), {
86
+ size: "small",
87
+ type: "primary",
88
+ style: { "margin-bottom": "10px" },
89
+ onClick: x
90
+ }, {
91
+ default: p(() => e[1] || (e[1] = [
92
+ b(" 添加 + ")
93
+ ])),
94
+ _: 1,
95
+ __: [1]
96
+ })
97
+ ]),
98
+ _: 1
99
+ /* STABLE */
100
+ })
101
+ ]),
102
+ _: 1
103
+ /* STABLE */
104
+ }, 8, ["class"]));
104
105
  }
105
106
  });
106
107
  export {
107
- q as default
108
+ T as default
108
109
  };