@king-one/form-design 0.0.18 → 0.0.20

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 (54) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/es/src/components/form-desgin.mjs +8 -7
  3. package/dist/es/src/components/form-material.vue.mjs +53 -51
  4. package/dist/es/src/components/form-panel.vue.mjs +69 -70
  5. package/dist/es/src/components/panel/index.mjs +12 -9
  6. package/dist/es/src/components/panel/panel-item.vue.mjs +28 -28
  7. package/dist/es/src/components/panel/panel-wrapper.mjs +25 -15
  8. package/dist/es/src/components/panel/widget/array-card.vue2.mjs +39 -26
  9. package/dist/es/src/components/panel/widget/array-table.vue.mjs +4 -0
  10. package/dist/es/src/components/panel/widget/array-table.vue2.mjs +105 -0
  11. package/dist/es/src/components/panel/widget/date-range.vue2.mjs +10 -10
  12. package/dist/es/src/components/panel/widget/object.vue2.mjs +40 -29
  13. package/dist/es/src/components/props/form-config.vue.mjs +7 -8
  14. package/dist/es/src/config/index.mjs +90 -21
  15. package/dist/es/src/core/Design.mjs +15 -12
  16. package/dist/es/src/core/FormSchema.mjs +1 -1
  17. package/dist/es/src/internal.mjs +5 -4
  18. package/dist/es/src/plugins/index.mjs +23 -11
  19. package/dist/es/src/plugins/modules/drag-add.mjs +23 -0
  20. package/dist/lib/src/components/form-desgin.js +1 -1
  21. package/dist/lib/src/components/form-material.vue.js +1 -1
  22. package/dist/lib/src/components/form-panel.vue.js +2 -2
  23. package/dist/lib/src/components/panel/index.js +1 -1
  24. package/dist/lib/src/components/panel/panel-item.vue.js +1 -1
  25. package/dist/lib/src/components/panel/panel-wrapper.js +1 -1
  26. package/dist/lib/src/components/panel/widget/array-card.vue2.js +1 -1
  27. package/dist/lib/src/components/panel/widget/array-table.vue.js +1 -0
  28. package/dist/lib/src/components/panel/widget/array-table.vue2.js +1 -0
  29. package/dist/lib/src/components/panel/widget/date-range.vue2.js +1 -1
  30. package/dist/lib/src/components/panel/widget/object.vue2.js +1 -1
  31. package/dist/lib/src/components/props/form-config.vue.js +1 -1
  32. package/dist/lib/src/config/index.js +1 -1
  33. package/dist/lib/src/core/Design.js +1 -1
  34. package/dist/lib/src/core/FormSchema.js +1 -1
  35. package/dist/lib/src/internal.js +1 -1
  36. package/dist/lib/src/plugins/index.js +1 -1
  37. package/dist/lib/src/plugins/modules/drag-add.js +1 -0
  38. package/dist/theme-chalk/array-table.css +1 -0
  39. package/dist/theme-chalk/icon.css +1 -1
  40. package/dist/theme-chalk/index.css +1 -1
  41. package/dist/theme-chalk/panel-item.css +1 -1
  42. package/dist/theme-chalk/panel.css +1 -1
  43. package/dist/types/src/components/base/Carousel.vue.d.ts +1 -1
  44. package/dist/types/src/components/panel/panel-item.vue.d.ts +2 -0
  45. package/dist/types/src/components/panel/panel-wrapper.d.ts +11 -1
  46. package/dist/types/src/components/panel/widget/array-table.vue.d.ts +20 -0
  47. package/dist/types/src/core/Design.d.ts +3 -2
  48. package/dist/types/src/internal.d.ts +1 -0
  49. package/dist/types/src/plugins/index.d.ts +3 -2
  50. package/dist/types/src/plugins/modules/{drag-put.d.ts → drag-add.d.ts} +2 -1
  51. package/dist/types/src/types.d.ts +3 -3
  52. package/package.json +1 -1
  53. package/dist/es/src/plugins/modules/drag-put.mjs +0 -14
  54. package/dist/lib/src/plugins/modules/drag-put.js +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @king-one/form-design
2
2
 
3
+ ## 0.0.20
4
+
5
+ ### Patch Changes
6
+
7
+ - fix: 修复type类型引入错误
8
+
9
+ ## 0.0.19
10
+
11
+ ### Patch Changes
12
+
13
+ - feat:升级部分功能
14
+
3
15
  ## 0.0.18
4
16
 
5
17
  ### Patch Changes
@@ -1,9 +1,10 @@
1
- import { defineComponent as a, ref as i, h as o } from "vue";
1
+ import { defineComponent as i, ref as a, h as o } from "vue";
2
2
  import "../internal.mjs";
3
- import { useProvideDragContext as f, useProvideDesignContext as p } from "../context/design.mjs";
3
+ import { useProvideDragContext as p, useProvideDesignContext as f } from "../context/design.mjs";
4
4
  import "./index.mjs";
5
5
  import { FormDesignProps as c } from "./types.mjs";
6
6
  import { merge as g } from "../utils/merge.mjs";
7
+ import "@king-one/form-design/dist/theme-chalk/index.css";
7
8
  import { useNamespace as u } from "../hooks/use-namespace/index.mjs";
8
9
  import l from "./form-material.vue.mjs";
9
10
  import d from "./form-panel.vue.mjs";
@@ -35,7 +36,7 @@ const {
35
36
  // }
36
37
  });
37
38
  console.log(h);
38
- const q = /* @__PURE__ */ a({
39
+ const w = /* @__PURE__ */ i({
39
40
  name: "FormDesign",
40
41
  props: c,
41
42
  setup(t, {
@@ -44,13 +45,13 @@ const q = /* @__PURE__ */ a({
44
45
  const {
45
46
  toolbar: m,
46
47
  setting: r
47
- } = s, e = i(!1);
48
- return f({
48
+ } = s, e = a(!1);
49
+ return p({
49
50
  isDrag: e,
50
51
  updateDrag: (n) => {
51
52
  e.value = n;
52
53
  }
53
- }), p(t.design), () => o("form", {
54
+ }), f(t.design), () => o("form", {
54
55
  class: _()
55
56
  }, [o(l), o(d, {}, {
56
57
  toolbar: m
@@ -60,5 +61,5 @@ const q = /* @__PURE__ */ a({
60
61
  }
61
62
  });
62
63
  export {
63
- q as default
64
+ w as default
64
65
  };
@@ -1,12 +1,12 @@
1
- import { defineComponent as O, ref as b, openBlock as l, createElementBlock as d, normalizeClass as c, unref as o, createElementVNode as n, createVNode as a, withCtx as r, createTextVNode as x, Fragment as z, renderList as F, toDisplayString as v, createBlock as J, createCommentVNode as u } from "vue";
1
+ import { defineComponent as O, ref as b, openBlock as l, createElementBlock as d, normalizeClass as u, unref as o, createElementVNode as i, createVNode as a, withCtx as r, createTextVNode as x, Fragment as z, renderList as F, toDisplayString as v, createBlock as J, createCommentVNode as p } from "vue";
2
2
  import "../internal.mjs";
3
3
  import { RadioGroup as T, RadioButton as w } from "ant-design-vue";
4
- import N from "vuedraggable";
4
+ import h from "vuedraggable";
5
5
  import { uid as W } from "@king-one/utils";
6
6
  import { useInjectDragContext as G, useInjectDesignContext as K } from "../context/design.mjs";
7
7
  import "./base/Carousel.vue2.mjs";
8
- import h from "./base/widget-icon.mjs";
9
- import { useNamespace as p } from "../hooks/use-namespace/index.mjs";
8
+ import N from "./base/widget-icon.mjs";
9
+ import { useNamespace as g } from "../hooks/use-namespace/index.mjs";
10
10
  import L from "./base/Carousel.vue.mjs";
11
11
  const M = { class: "widget-group-name" }, U = { class: "widget-col" }, q = { class: "widget-item" }, A = {
12
12
  key: 0,
@@ -18,10 +18,10 @@ const M = { class: "widget-group-name" }, U = { class: "widget-col" }, q = { cla
18
18
  name: "FormMaterial",
19
19
  __name: "form-material",
20
20
  setup(Y) {
21
- const _ = b(), { updateDrag: m } = G(), { b: S } = p("material"), { b: D } = p("toolbar"), { b: $ } = p("widget"), { b: B } = p("temp"), g = K(), { schema: E, tempSchema: I } = g, y = b("1");
22
- function R(i) {
23
- const { icon: e, ...t } = i, s = JSON.parse(JSON.stringify(t)), k = W(), f = {
24
- ...s,
21
+ const y = b(), { updateDrag: m } = G(), { b: S } = g("material"), { b: D } = g("toolbar"), { b: $ } = g("widget"), { b: j } = g("temp"), f = K(), { schema: B, tempSchema: E } = f, _ = b("1");
22
+ function I(s) {
23
+ const { icon: e, ...t } = s, n = JSON.parse(JSON.stringify(t)), k = W(), c = {
24
+ ...n,
25
25
  name: k,
26
26
  id: k,
27
27
  "x-design-props": Object.assign({
@@ -29,36 +29,38 @@ const M = { class: "widget-group-name" }, U = { class: "widget-col" }, q = { cla
29
29
  status: "",
30
30
  message: ""
31
31
  }
32
- }, i["x-design-props"] || {})
33
- }, { shared: C } = g;
34
- return C.draggedContext.field = f, C.draggedContext.key = f.key, f;
32
+ }, s["x-design-props"] || {})
33
+ };
34
+ (n.type === "array" || n.type === "object") && (c.children = []);
35
+ const { shared: C } = f;
36
+ return C.draggedContext.field = c, C.draggedContext.key = c.key, c;
35
37
  }
36
- function V(i) {
37
- const { schema: e } = i, { shared: t } = g;
38
+ function R(s) {
39
+ const { schema: e } = s, { shared: t } = f;
38
40
  return t.draggedContext.field = e, t.draggedContext.key = e.key, e;
39
41
  }
40
- function j(i) {
42
+ function V(s) {
41
43
  var e;
42
- (e = _.value) == null || e.goTo(Number(i.target.value) - 1);
44
+ (e = y.value) == null || e.goTo(Number(s.target.value) - 1);
43
45
  }
44
- return (i, e) => (l(), d(
46
+ return (s, e) => (l(), d(
45
47
  "div",
46
48
  {
47
- class: c(o(S)())
49
+ class: u(o(S)())
48
50
  },
49
51
  [
50
- n(
52
+ i(
51
53
  "div",
52
54
  {
53
- class: c(o(D)())
55
+ class: u(o(D)())
54
56
  },
55
57
  [
56
58
  a(o(T), {
57
- value: y.value,
58
- "onUpdate:value": e[0] || (e[0] = (t) => y.value = t),
59
+ value: _.value,
60
+ "onUpdate:value": e[0] || (e[0] = (t) => _.value = t),
59
61
  "button-style": "solid",
60
62
  size: "default",
61
- onChange: j
63
+ onChange: V
62
64
  }, {
63
65
  default: r(() => [
64
66
  a(o(w), {
@@ -93,32 +95,32 @@ const M = { class: "widget-group-name" }, U = { class: "widget-col" }, q = { cla
93
95
  L,
94
96
  {
95
97
  ref_key: "carouselRef",
96
- ref: _,
98
+ ref: y,
97
99
  "model-value": 0
98
100
  },
99
101
  {
100
102
  default: r(() => [
101
- n(
103
+ i(
102
104
  "div",
103
105
  {
104
- class: c(o($)())
106
+ class: u(o($)())
105
107
  },
106
108
  [
107
109
  (l(!0), d(
108
110
  z,
109
111
  null,
110
- F(o(E), (t) => (l(), d("div", {
112
+ F(o(B), (t) => (l(), d("div", {
111
113
  key: t.key,
112
114
  class: "widget-group"
113
115
  }, [
114
- n(
116
+ i(
115
117
  "div",
116
118
  M,
117
119
  v(t.name),
118
120
  1
119
121
  /* TEXT */
120
122
  ),
121
- t.widget ? (l(), J(o(N), {
123
+ t.widget ? (l(), J(o(h), {
122
124
  key: 0,
123
125
  list: t.widget,
124
126
  class: "widget-list-drag",
@@ -126,22 +128,22 @@ const M = { class: "widget-group-name" }, U = { class: "widget-col" }, q = { cla
126
128
  group: { name: "form", pull: "clone", put: !1 },
127
129
  sort: !1,
128
130
  options: { animation: 150 },
129
- clone: R,
130
- onStart: e[1] || (e[1] = (s) => o(m)(!0)),
131
- onEnd: e[2] || (e[2] = (s) => o(m)(!1))
131
+ clone: I,
132
+ onStart: e[1] || (e[1] = (n) => o(m)(!0)),
133
+ onEnd: e[2] || (e[2] = (n) => o(m)(!1))
132
134
  }, {
133
- item: r(({ element: s }) => [
134
- n("div", U, [
135
- n("div", q, [
136
- s.icon ? (l(), d("div", A, [
137
- a(o(h), {
138
- icon: s.icon
135
+ item: r(({ element: n }) => [
136
+ i("div", U, [
137
+ i("div", q, [
138
+ n.icon ? (l(), d("div", A, [
139
+ a(o(N), {
140
+ icon: n.icon
139
141
  }, null, 8, ["icon"])
140
- ])) : u("v-if", !0),
141
- n(
142
+ ])) : p("v-if", !0),
143
+ i(
142
144
  "div",
143
145
  H,
144
- v(s.title),
146
+ v(n.title),
145
147
  1
146
148
  /* TEXT */
147
149
  )
@@ -150,7 +152,7 @@ const M = { class: "widget-group-name" }, U = { class: "widget-col" }, q = { cla
150
152
  ]),
151
153
  _: 2
152
154
  /* DYNAMIC */
153
- }, 1032, ["list"])) : u("v-if", !0)
155
+ }, 1032, ["list"])) : p("v-if", !0)
154
156
  ]))),
155
157
  128
156
158
  /* KEYED_FRAGMENT */
@@ -159,31 +161,31 @@ const M = { class: "widget-group-name" }, U = { class: "widget-col" }, q = { cla
159
161
  2
160
162
  /* CLASS */
161
163
  ),
162
- n(
164
+ i(
163
165
  "div",
164
166
  {
165
- class: c(o(B)())
167
+ class: u(o(j)())
166
168
  },
167
169
  [
168
- a(o(N), {
169
- list: o(I),
170
+ a(o(h), {
171
+ list: o(E),
170
172
  class: "template-list-drag",
171
173
  "item-key": "key",
172
174
  group: { name: "form", pull: "clone", put: !1 },
173
175
  sort: !1,
174
176
  options: { animation: 150 },
175
- clone: V,
177
+ clone: R,
176
178
  onStart: e[3] || (e[3] = (t) => o(m)(!0)),
177
179
  onEnd: e[4] || (e[4] = (t) => o(m)(!1))
178
180
  }, {
179
181
  item: r(({ element: t }) => [
180
- n("div", P, [
182
+ i("div", P, [
181
183
  t.icon ? (l(), d("div", Q, [
182
- a(o(h), {
184
+ a(o(N), {
183
185
  icon: t.icon
184
186
  }, null, 8, ["icon"])
185
- ])) : u("v-if", !0),
186
- n(
187
+ ])) : p("v-if", !0),
188
+ i(
187
189
  "div",
188
190
  X,
189
191
  v(t.name),
@@ -195,7 +197,7 @@ const M = { class: "widget-group-name" }, U = { class: "widget-col" }, q = { cla
195
197
  _: 1
196
198
  /* STABLE */
197
199
  }, 8, ["list"]),
198
- u(` <div class="template-list">
200
+ p(` <div class="template-list">
199
201
  <div v-for="g in tempSchema" :key="g.key" class="template-item">
200
202
  <div v-if="g.icon" class="template-item-icon">
201
203
  <WidgetIcon :icon="g.icon" />
@@ -1,63 +1,61 @@
1
- import { defineComponent as E, ref as h, nextTick as R, toRaw as T, openBlock as v, createElementBlock as k, normalizeClass as r, unref as e, createElementVNode as n, createVNode as s, withCtx as i, createCommentVNode as f, renderSlot as C, withDirectives as b, vShow as x } from "vue";
1
+ import { defineComponent as z, ref as v, nextTick as A, toRaw as E, openBlock as h, createElementBlock as k, normalizeClass as c, unref as e, createElementVNode as o, createVNode as s, withCtx as i, createCommentVNode as f, renderSlot as C, withDirectives as b, vShow as x } from "vue";
2
2
  import "../internal.mjs";
3
- import { Tooltip as S, Form as j } from "ant-design-vue";
4
- import B from "vuedraggable";
5
- import { useInjectDragContext as J, useInjectDesignContext as P } from "../context/design.mjs";
6
- import "../utils/index.mjs";
3
+ import { Tooltip as D, Form as R } from "ant-design-vue";
4
+ import T from "vuedraggable";
5
+ import { useInjectDragContext as j, useInjectDesignContext as B } from "../context/design.mjs";
7
6
  import "./panel/panel-item.vue2.mjs";
8
- import O from "./base/json-preview.vue.mjs";
7
+ import J from "./base/json-preview.vue.mjs";
9
8
  import "./index.mjs";
10
- import { useNamespace as q } from "../hooks/use-namespace/index.mjs";
11
- import { debounce as A } from "../utils/debounce.mjs";
12
- import w from "./form-icon.vue2.mjs";
13
- import G from "./panel/panel-item.vue.mjs";
14
- const H = { class: "left" }, K = { class: "right" }, L = { class: "content-panel" }, M = {
9
+ import { useNamespace as O } from "../hooks/use-namespace/index.mjs";
10
+ import S from "./form-icon.vue2.mjs";
11
+ import P from "./panel/panel-item.vue.mjs";
12
+ const q = { class: "left" }, G = { class: "right" }, H = { class: "content-panel" }, K = {
15
13
  key: 0,
16
14
  class: "prompt"
17
- }, Q = { class: "form-item" }, U = { class: "content-editor" }, me = /* @__PURE__ */ E({
15
+ }, L = { class: "form-item" }, M = { class: "content-editor" }, le = /* @__PURE__ */ z({
18
16
  name: "FormPanel",
19
17
  __name: "form-panel",
20
- setup(W) {
21
- const p = h({}), { isDrag: D } = J(), c = h(!1), a = P(), { fields: m } = a;
22
- function F() {
23
- c.value = !c.value, R(() => {
18
+ setup(Q) {
19
+ const p = v({}), { isDrag: w } = j(), d = v(!1), a = B(), { fields: r } = a;
20
+ function y() {
21
+ d.value = !d.value, A(() => {
24
22
  p.value = a.getFormSchema();
25
23
  });
26
24
  }
27
- function y() {
28
- }
29
- const { b: $, e: u, em: g } = q("panel"), I = A(N, 200);
30
- function N() {
31
- const { shared: l } = a, { key: t, field: o } = l.draggedContext, d = a.hooks.dragPut.call({
32
- key: t,
33
- field: o,
34
- region: "form-panel"
35
- });
36
- return a.setCheckedField(o), d;
25
+ function F() {
37
26
  }
38
- function V(l, t) {
39
- const o = T(l), { oldIndex: d } = t, _ = o[d];
40
- if (_) {
41
- const { shared: z } = a;
42
- z.draggedContext.key = _.key;
27
+ const { b: $, e: u, em: g } = O("panel");
28
+ function I(l, t) {
29
+ const n = E(l), { oldIndex: V } = t, m = n[V];
30
+ if (m) {
31
+ const { shared: _ } = a;
32
+ _.draggedContext.key = m.key, _.draggedContext.field = m;
43
33
  }
44
34
  }
45
- return (l, t) => (v(), k(
35
+ async function N() {
36
+ const { shared: l } = a, { field: t } = l.draggedContext, n = {
37
+ source: t,
38
+ traget: r.value,
39
+ region: "form-panel"
40
+ };
41
+ a.hooks.syncDragAdd.call(n), a.setCheckedField(t);
42
+ }
43
+ return (l, t) => (h(), k(
46
44
  "div",
47
45
  {
48
- class: r(e($)())
46
+ class: c(e($)())
49
47
  },
50
48
  [
51
- n(
49
+ o(
52
50
  "div",
53
51
  {
54
- class: r(e(u)("toolbar"))
52
+ class: c(e(u)("toolbar"))
55
53
  },
56
54
  [
57
- n("div", H, [
58
- s(e(S), { placement: "bottom" }, {
55
+ o("div", q, [
56
+ s(e(D), { placement: "bottom" }, {
59
57
  title: i(() => t[1] || (t[1] = [
60
- n(
58
+ o(
61
59
  "span",
62
60
  null,
63
61
  "全部删除",
@@ -66,19 +64,19 @@ const H = { class: "left" }, K = { class: "right" }, L = { class: "content-panel
66
64
  )
67
65
  ])),
68
66
  default: i(() => [
69
- s(e(w), {
67
+ s(e(S), {
70
68
  name: "delete1",
71
- class: r(e(g)("toolbar", "icon")),
69
+ class: c(e(g)("toolbar", "icon")),
72
70
  size: 18,
73
- onClick: y
71
+ onClick: F
74
72
  }, null, 8, ["class"])
75
73
  ]),
76
74
  _: 1
77
75
  /* STABLE */
78
76
  }),
79
- s(e(S), { placement: "bottom" }, {
77
+ s(e(D), { placement: "bottom" }, {
80
78
  title: i(() => t[2] || (t[2] = [
81
- n(
79
+ o(
82
80
  "span",
83
81
  null,
84
82
  "查看JSON Schema",
@@ -87,11 +85,11 @@ const H = { class: "left" }, K = { class: "right" }, L = { class: "content-panel
87
85
  )
88
86
  ])),
89
87
  default: i(() => [
90
- s(e(w), {
88
+ s(e(S), {
91
89
  name: "code",
92
- class: r(e(g)("toolbar", "icon")),
90
+ class: c(e(g)("toolbar", "icon")),
93
91
  size: 18,
94
- onClick: F
92
+ onClick: y
95
93
  }, null, 8, ["class"])
96
94
  ]),
97
95
  _: 1
@@ -100,7 +98,7 @@ const H = { class: "left" }, K = { class: "right" }, L = { class: "content-panel
100
98
  f(` <FormIcon name="desktop" />
101
99
  <FormIcon name="mobile" /> `)
102
100
  ]),
103
- n("div", K, [
101
+ o("div", G, [
104
102
  C(l.$slots, "toolbar")
105
103
  ])
106
104
  ],
@@ -108,46 +106,47 @@ const H = { class: "left" }, K = { class: "right" }, L = { class: "content-panel
108
106
  /* CLASS */
109
107
  ),
110
108
  f(' ref="contentTelRef" '),
111
- n(
109
+ o(
112
110
  "div",
113
111
  {
114
- class: r(e(u)("content"))
112
+ class: c(e(u)("content"))
115
113
  },
116
114
  [
117
- b(n(
115
+ b(o(
118
116
  "div",
119
- L,
117
+ H,
120
118
  [
121
- !e(D) && e(m).length === 0 ? (v(), k("div", M, " 👈 请在左侧选择控件并拖至此处 ")) : f("v-if", !0),
122
- s(e(j), {
119
+ !e(w) && e(r).length === 0 ? (h(), k("div", K, " 👈 请在左侧选择控件并拖至此处 ")) : f("v-if", !0),
120
+ s(e(R), {
123
121
  autocomplete: "off",
124
122
  class: "design-from",
125
123
  "label-align": "left"
126
124
  }, {
127
125
  default: i(() => [
128
- s(e(B), {
126
+ s(e(T), {
129
127
  class: "drag-from",
130
- list: e(m),
131
- group: { name: "form", put: e(I) },
128
+ list: e(r),
129
+ group: { name: "form" },
132
130
  animation: 300,
133
131
  sort: !0,
134
132
  "item-key": "id",
135
133
  "chosen-class": "choose",
136
- onStart: t[0] || (t[0] = (o) => V(e(m), o))
134
+ onStart: t[0] || (t[0] = (n) => I(e(r), n)),
135
+ onAdd: N
137
136
  }, {
138
- item: i(({ element: o }) => [
139
- n("div", Q, [
140
- C(l.$slots, `panel-${o.key}`, {}, () => [
141
- s(G, {
142
- field: o,
143
- space: e(m)
137
+ item: i(({ element: n }) => [
138
+ o("div", L, [
139
+ C(l.$slots, `panel-${n.key}`, {}, () => [
140
+ s(P, {
141
+ field: n,
142
+ space: e(r)
144
143
  }, null, 8, ["field", "space"])
145
144
  ])
146
145
  ])
147
146
  ]),
148
147
  _: 3
149
148
  /* FORWARDED */
150
- }, 8, ["list", "group"])
149
+ }, 8, ["list"])
151
150
  ]),
152
151
  _: 3
153
152
  /* FORWARDED */
@@ -156,18 +155,18 @@ const H = { class: "left" }, K = { class: "right" }, L = { class: "content-panel
156
155
  512
157
156
  /* NEED_PATCH */
158
157
  ), [
159
- [x, !c.value]
158
+ [x, !d.value]
160
159
  ]),
161
- b(n(
160
+ b(o(
162
161
  "div",
163
- U,
162
+ M,
164
163
  [
165
- s(O, { data: p.value }, null, 8, ["data"])
164
+ s(J, { data: p.value }, null, 8, ["data"])
166
165
  ],
167
166
  512
168
167
  /* NEED_PATCH */
169
168
  ), [
170
- [x, c.value]
169
+ [x, d.value]
171
170
  ])
172
171
  ],
173
172
  2
@@ -180,5 +179,5 @@ const H = { class: "left" }, K = { class: "right" }, L = { class: "content-panel
180
179
  }
181
180
  });
182
181
  export {
183
- me as default
182
+ le as default
184
183
  };
@@ -1,4 +1,4 @@
1
- import { Input as m, Textarea as o, InputNumber as e } from "ant-design-vue";
1
+ import { Input as m, Textarea as o, InputNumber as i } 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";
@@ -6,24 +6,27 @@ import "./widget/array-card.vue.mjs";
6
6
  import "./widget/date-range.vue.mjs";
7
7
  import "./widget/date-single.vue.mjs";
8
8
  import "./widget/kit.vue.mjs";
9
- import i from "./widget/select.vue2.mjs";
9
+ import "./widget/array-table.vue.mjs";
10
+ import e from "./widget/select.vue2.mjs";
10
11
  import p from "./widget/object.vue2.mjs";
11
12
  import a from "./widget/date-range.vue2.mjs";
12
13
  import n from "./widget/date-single.vue2.mjs";
13
14
  import f from "./widget/array-card.vue2.mjs";
14
15
  import t from "./widget/kit.vue2.mjs";
15
- const c = r(m), s = r(o), _ = r(e), w = {
16
- "k-input": c,
17
- "k-textarea": s,
18
- "k-input-number": _,
19
- "k-select": i,
16
+ import c from "./widget/array-table.vue2.mjs";
17
+ const s = r(m), _ = r(o), k = r(i), W = {
18
+ "k-input": s,
19
+ "k-textarea": _,
20
+ "k-input-number": k,
21
+ "k-select": e,
20
22
  "k-object": p,
21
23
  "k-date-range": a,
22
24
  "k-date-single": n,
23
25
  "k-array-card": f,
24
26
  "k-overtime": t,
25
- "k-leave": t
27
+ "k-leave": t,
28
+ "k-table": c
26
29
  };
27
30
  export {
28
- w as widgetPanels
31
+ W as widgetPanels
29
32
  };