asiaint-lowcode 3.0.58 → 3.0.60

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 (34) hide show
  1. package/README.md +31 -31
  2. package/dist/asiaint-lowcode.js +1 -1
  3. package/dist/asiaint-lowcode.umd.cjs +88 -88
  4. package/dist/lazy/{Card-Bamx5f-J.js → Card-CQajBHtu.js} +2 -2
  5. package/dist/lazy/{Cascader-BAupVMe9.js → Cascader-C83h2Cuy.js} +1 -1
  6. package/dist/lazy/{Checkbox-CVM9RNdS.js → Checkbox-mF9fc7se.js} +2 -2
  7. package/dist/lazy/{Collapse-ygRgkAo1.js → Collapse-CLrkIQkS.js} +1 -1
  8. package/dist/lazy/{Component-C7wuvEP3.js → Component-AgVXLVTR.js} +1 -1
  9. package/dist/lazy/{Component-7kKPoIn9.js → Component-B-d3d6i0.js} +1 -1
  10. package/dist/lazy/{Component-wHuKQR1C.js → Component-Cu9oc5-r.js} +1 -1
  11. package/dist/lazy/{Component-C6jOmv6P.js → Component-D1rp1iAb.js} +9 -9
  12. package/dist/lazy/{Component-CWQwHPKS.js → Component-DUFg39vv.js} +2 -2
  13. package/dist/lazy/{Component-DyPOkXL8.js → Component-DbzkLf3W.js} +2 -2
  14. package/dist/lazy/{CurdCard-Bttv_jr4.js → CurdCard-B1FVEN2D.js} +2 -2
  15. package/dist/lazy/{Custom-BI3EHXde.js → Custom-EWhBeA51.js} +7 -7
  16. package/dist/lazy/{FormList-Cc6Tw5eS.js → FormList-s_FnsovP.js} +1 -1
  17. package/dist/lazy/{Grid-CX6F2iNP.js → Grid-tAUChGsO.js} +1 -1
  18. package/dist/lazy/{Inline-BuV13r6l.js → Inline-Bzrt7MVc.js} +7 -7
  19. package/dist/lazy/{JsonEdit-CTqi5lZr.js → JsonEdit-CvtQJI6H.js} +3 -3
  20. package/dist/lazy/{LogList-C8ddXmg7.js → LogList-Cl5S0Jyl.js} +7 -7
  21. package/dist/lazy/{ObjGroup-Dw4Vz0py.js → ObjGroup-CyRkmJKQ.js} +1 -1
  22. package/dist/lazy/{OfferDetails-DdAYrmZy.js → OfferDetails-IyawSYZC.js} +24 -24
  23. package/dist/lazy/{Progress-D5tjWAsU.js → Progress-Bz5aTrvO.js} +5 -5
  24. package/dist/lazy/{Radio-C0jjTnYR.js → Radio-Bxgad7-H.js} +2 -2
  25. package/dist/lazy/{SearchSelect-K0EUZ-tG.js → SearchSelect-KSRhjL0j.js} +14 -14
  26. package/dist/lazy/{Select-C_RsOLwW.js → Select-BKquBNiy.js} +2 -2
  27. package/dist/lazy/{Table-BEI51FbD.js → Table-ct3K-sCN.js} +124 -115
  28. package/dist/lazy/{Tabs-Bkg6yLl1.js → Tabs-CdqOLc6Z.js} +1 -1
  29. package/dist/lazy/{Wrapper-CW6qLtcX.js → Wrapper-PEq2jdIH.js} +9 -9
  30. package/dist/lazy/{index-DYXVLrj8.js → index-Dh80sNdg.js} +3041 -3027
  31. package/dist/lazy/{useSelect-CKmHvtVQ.js → useSelect-CRURtZpb.js} +1 -1
  32. package/dist/style.css +2 -2
  33. package/global.d.ts +10 -10
  34. package/package.json +36 -36
@@ -1,7 +1,7 @@
1
- import { defineComponent as ke, computed as V, inject as w, ref as v, useTemplateRef as we, readonly as be, toRefs as Se, onMounted as ze, nextTick as Re, onActivated as Be, onUnmounted as Pe, resolveComponent as R, openBlock as u, createElementBlock as g, normalizeClass as U, withDirectives as j, createElementVNode as f, createVNode as b, unref as B, withCtx as h, createBlock as S, createCommentVNode as m, Fragment as P, renderList as G, toDisplayString as _, withModifiers as _e, vShow as H, mergeProps as Ne } from "vue";
2
- import { $ as Me, i as Te, _ as De, f as Fe, I as $e, C as Ae, b as Ee } from "./index-DYXVLrj8.js";
3
- import { ElTable as Ve } from "element-plus";
4
- const Ue = { class: "empty-content" }, je = ["title"], Ge = ["title", "onClick"], He = ["title"], Ke = { class: "row-btn-wrapper" }, Le = /* @__PURE__ */ ke({
1
+ import { defineComponent as be, computed as _, inject as k, ref as f, useTemplateRef as Se, readonly as ze, toRefs as Be, onMounted as Re, nextTick as Pe, onActivated as _e, onUnmounted as Ne, resolveComponent as B, openBlock as u, createElementBlock as g, normalizeClass as j, withDirectives as G, createElementVNode as v, createVNode as b, unref as R, withCtx as h, createBlock as S, createCommentVNode as m, Fragment as P, renderList as H, toDisplayString as N, withModifiers as Me, vShow as K, mergeProps as Te } from "vue";
2
+ import { $ as De, f as L, i as $e, _ as Fe, I as Ae, C as Ee, b as Ve } from "./index-Dh80sNdg.js";
3
+ import { ElTable as Ue } from "element-plus";
4
+ const je = ["id"], Ge = { class: "empty-content" }, He = ["title"], Ke = ["title", "onClick"], Le = ["title"], We = { class: "row-btn-wrapper" }, qe = /* @__PURE__ */ be({
5
5
  __name: "Table",
6
6
  props: {
7
7
  title: {},
@@ -34,134 +34,142 @@ const Ue = { class: "empty-content" }, je = ["title"], Ge = ["title", "onClick"]
34
34
  collapsible: { type: Boolean },
35
35
  name: {}
36
36
  },
37
- setup(K, { expose: L }) {
38
- const n = K, z = V(() => n.displayType ? n.displayType : n.typeSwitch ? "card" : "table"), W = w("ruleModule", void 0), N = w("ruleMap", void 0), c = V(() => n.rulePath && N[n.rulePath] ? N[n.rulePath] : W), p = w("pageMethodMap", {}), q = w("getGlobalParams", () => {
39
- }), M = w(Me), T = M ? M.translateFn : null, y = v(), I = (e, t, a) => {
40
- i.value[e] && (i.value[e][t] = a);
41
- }, J = (e, t) => {
37
+ setup(W, { expose: q }) {
38
+ const n = W, z = _(() => n.displayType ? n.displayType : n.typeSwitch ? "card" : "table"), I = k("ruleModule", void 0), M = k("ruleMap", void 0), c = _(() => n.rulePath && M[n.rulePath] ? M[n.rulePath] : I), p = k("pageMethodMap", {}), T = k("getGlobalParams", () => {
39
+ }), D = k(De), $ = D ? D.translateFn : null, y = f(), J = (e, t, a) => {
40
+ r.value[e] && (r.value[e][t] = a);
41
+ }, O = (e, t) => {
42
42
  const a = n.columns.find((l) => l.key === e);
43
43
  a && (a.hidden = !t);
44
- }, D = (e, t, a) => {
44
+ }, F = (e, t, a) => {
45
45
  try {
46
46
  c.value[e.onClick](p, t, a);
47
47
  } catch (l) {
48
48
  console.error(l);
49
49
  }
50
- }, O = (e) => {
50
+ }, Q = (e) => {
51
51
  if (n.rowClick)
52
52
  try {
53
53
  c.value[n.rowClick](p, e);
54
54
  } catch (t) {
55
55
  console.error(t);
56
56
  }
57
- }, Q = (e) => {
57
+ }, X = (e) => {
58
58
  if (n.rowDbClick)
59
59
  try {
60
60
  c.value[n.rowDbClick](p, e);
61
61
  } catch (t) {
62
62
  console.error(t);
63
63
  }
64
- }, X = v([]), Y = (e) => {
65
- X.value = e;
66
- }, Z = () => {
64
+ }, Y = f([]), Z = (e) => {
65
+ Y.value = e;
66
+ }, x = () => {
67
67
  var e;
68
68
  (e = y.value) == null || e.clearSelection();
69
- }, x = () => i.value, F = v(), ee = (e) => {
70
- if (F.value = e, !!n.handleCurrentChange)
69
+ }, ee = () => r.value, A = f(), te = (e) => {
70
+ if (A.value = e, !!n.handleCurrentChange)
71
71
  try {
72
72
  c.value[n.handleCurrentChange](p, e);
73
73
  } catch (t) {
74
74
  console.error(t);
75
75
  }
76
- }, te = () => F.value, ne = () => {
76
+ }, ne = () => A.value, ae = () => {
77
77
  var e;
78
78
  return (e = y.value) == null ? void 0 : e.getSelectionRows();
79
- }, ae = async () => !0, oe = (e, t) => {
79
+ }, oe = async () => !0, le = (e, t) => {
80
80
  var l;
81
- const a = (l = n.topBtns) == null ? void 0 : l.find((k) => k.key === e);
81
+ const a = (l = n.topBtns) == null ? void 0 : l.find((w) => w.key === e);
82
82
  a && (a.hidden = t);
83
- }, le = (e, t) => {
83
+ }, re = (e, t) => {
84
84
  var l;
85
- const a = (l = n.rowBtns) == null ? void 0 : l.find((k) => k.key === e);
85
+ const a = (l = n.rowBtns) == null ? void 0 : l.find((w) => w.key === e);
86
86
  a && (a.condition = !t);
87
- }, $ = v(0), re = (e) => {
88
- $.value = e;
89
- }, r = v({ pageNum: 1, pageSize: n.defaultPageSize || 5 }), ie = () => r.value, se = (e) => {
87
+ }, E = f(0), ie = (e) => {
88
+ E.value = e;
89
+ }, i = f({ pageNum: 1, pageSize: n.defaultPageSize || 5 }), se = () => i.value, ue = (e) => {
90
90
  let t = !1;
91
- return e.pageNum > -1 && (r.value.pageNum !== e.pageNum && (t = !0), r.value.pageNum = e.pageNum), e.pageSize > -1 && (r.value.pageSize !== e.pageSize && (t = !0), r.value.pageSize = e.pageSize), { pagination: r.value, isChange: t };
92
- }, ue = (e) => {
93
- if (r.value.pageNum = 1, r.value.pageSize = e, !!n.sizeChange)
91
+ return e.pageNum > -1 && (i.value.pageNum !== e.pageNum && (t = !0), i.value.pageNum = e.pageNum), e.pageSize > -1 && (i.value.pageSize !== e.pageSize && (t = !0), i.value.pageSize = e.pageSize), { pagination: i.value, isChange: t };
92
+ }, ce = (e) => {
93
+ if (i.value.pageNum = 1, i.value.pageSize = e, !!n.sizeChange)
94
94
  try {
95
- c.value[n.sizeChange](p, r.value);
95
+ c.value[n.sizeChange](p, i.value);
96
96
  } catch (t) {
97
97
  console.error(t);
98
98
  }
99
- }, ce = (e) => {
100
- if (r.value.pageNum = e, !!n.pageChange)
99
+ }, pe = (e) => {
100
+ if (i.value.pageNum = e, !!n.pageChange)
101
101
  try {
102
- c.value[n.pageChange](p, r.value);
102
+ c.value[n.pageChange](p, i.value);
103
103
  } catch (t) {
104
104
  console.error(t);
105
105
  }
106
- }, pe = (e) => {
106
+ }, de = (e) => {
107
107
  var t;
108
108
  (t = y.value) == null || t.setCurrentRow(e);
109
- }, de = (e) => {
109
+ }, ge = (e) => {
110
110
  var t;
111
- (t = y.value) == null || t.setCurrentRow(i.value[e]);
112
- }, ge = (e, t, a) => {
111
+ (t = y.value) == null || t.setCurrentRow(r.value[e]);
112
+ }, he = (e, t, a) => {
113
113
  n.columns.forEach((l) => {
114
114
  l.key === e && l[t] && (l[t] = a);
115
115
  });
116
- }, i = v([]), he = (e) => {
117
- i.value = e;
116
+ }, r = f([]), fe = (e) => {
117
+ r.value = e;
118
118
  }, ve = (e = {}) => {
119
- i.value.push(e);
120
- }, fe = (e) => {
121
- e >= 0 && e < i.value.length && i.value.splice(e, 1);
122
- }, me = async () => {
123
- i.value = [...i.value];
124
- }, A = we("rootRef"), E = be({
125
- ...Se(n),
126
- setCellData: I,
127
- clearSelection: Z,
128
- getData: x,
129
- getCurrentRow: te,
130
- getSelectedRows: ne,
119
+ r.value.push(e);
120
+ }, me = (e) => {
121
+ e >= 0 && e < r.value.length && r.value.splice(e, 1);
122
+ }, ye = async () => {
123
+ r.value = [...r.value];
124
+ }, V = Se("rootRef"), U = ze({
125
+ ...Be(n),
126
+ setCellData: J,
127
+ clearSelection: x,
128
+ getData: ee,
129
+ getCurrentRow: ne,
130
+ getSelectedRows: ae,
131
131
  addRow: ve,
132
- deleteRow: fe,
133
- refresh: me,
134
- validate: ae,
135
- setData: he,
136
- selectRow: pe,
137
- selectRowNum: de,
138
- setTotal: re,
139
- getPagination: ie,
140
- setPagination: se,
141
- setTopBtnHidden: oe,
142
- setColVisible: J,
143
- setColumn: ge,
144
- setRowsBtnHidden: le,
145
- rootRef: A,
132
+ deleteRow: me,
133
+ refresh: ye,
134
+ validate: oe,
135
+ setData: fe,
136
+ selectRow: de,
137
+ selectRowNum: ge,
138
+ setTotal: ie,
139
+ getPagination: se,
140
+ setPagination: ue,
141
+ setTopBtnHidden: le,
142
+ setColVisible: O,
143
+ setColumn: he,
144
+ setRowsBtnHidden: re,
145
+ rootRef: V,
146
146
  type: "table"
147
147
  }), C = (e, t) => {
148
- const a = T ? T(e.key, t) : t[e.key];
148
+ const a = $ ? $(e.key, t) : t[e.key];
149
149
  if (!e.encrypted || !a)
150
150
  return a;
151
151
  const l = `${a}`;
152
152
  return l.length <= 4 ? "*".repeat(l.length) : l.slice(0, -4) + "****";
153
- };
154
- if (ze(async () => {
153
+ }, Ce = _(() => !n.rowBtns || n.rowBtns.length === 0 || !r.value || r.value.length === 0 ? !1 : r.value.some(
154
+ (e) => {
155
+ var t;
156
+ return (t = n.rowBtns) == null ? void 0 : t.some((a) => a.condition === void 0 || a.condition === null ? !0 : L(a.condition, {
157
+ $row: e,
158
+ $globalParams: T()
159
+ }));
160
+ }
161
+ ));
162
+ if (Re(async () => {
155
163
  if (!n.onMounted || !c.value)
156
164
  return;
157
- await Re();
165
+ await Pe();
158
166
  const e = n.onMounted;
159
167
  try {
160
168
  c.value[e](p);
161
169
  } catch (t) {
162
170
  console.error(t);
163
171
  }
164
- }), Be(() => {
172
+ }), _e(() => {
165
173
  if (!n.onActivated || !c.value)
166
174
  return;
167
175
  const e = n.onActivated;
@@ -171,41 +179,42 @@ const Ue = { class: "empty-content" }, je = ["title"], Ge = ["title", "onClick"]
171
179
  console.error(t);
172
180
  }
173
181
  }), n.name) {
174
- const e = Te(n.name, E);
175
- Pe(() => {
182
+ const e = $e(n.name, U);
183
+ Ne(() => {
176
184
  e();
177
185
  });
178
186
  }
179
- return L(E), (e, t) => {
180
- const a = R("el-table-column"), l = R("el-tooltip"), k = R("el-button"), ye = R("el-pagination");
187
+ return q(U), (e, t) => {
188
+ const a = B("el-table-column"), l = B("el-tooltip"), w = B("el-button"), we = B("el-pagination");
181
189
  return e.hidden ? m("", !0) : (u(), g("div", {
182
190
  key: 0,
183
- class: U(["table-render", { tableBorder: z.value === "table" }]),
191
+ class: j(["table-render", { tableBorder: z.value === "table" }]),
184
192
  ref_key: "rootRef",
185
- ref: A
193
+ ref: V,
194
+ id: e.name
186
195
  }, [
187
- j(f("div", null, [
188
- b(B(Ve), {
196
+ G(v("div", null, [
197
+ b(R(Ue), {
189
198
  ref_key: "tableRef",
190
199
  ref: y,
191
- data: i.value,
200
+ data: r.value,
192
201
  "highlight-current-row": "",
193
202
  "row-key": e.rowKey,
194
203
  stripe: e.stripe,
195
204
  "show-overflow-tooltip": "",
196
- onRowClick: O,
197
- onRowDblclick: Q,
198
- onSelectionChange: Y,
199
- onCurrentChange: ee,
205
+ onRowClick: Q,
206
+ onRowDblclick: X,
207
+ onSelectionChange: Z,
208
+ onCurrentChange: te,
200
209
  height: e.height
201
210
  }, {
202
211
  empty: h(() => [
203
- f("div", Ue, [
204
- b(B(De), {
212
+ v("div", Ge, [
213
+ b(R(Fe), {
205
214
  name: "tableEmpty",
206
215
  style: { width: 56, height: 56 }
207
216
  }),
208
- t[2] || (t[2] = f("div", null, "No data available,please check", -1))
217
+ t[2] || (t[2] = v("div", null, "No data available,please check", -1))
209
218
  ])
210
219
  ]),
211
220
  default: h(() => [
@@ -214,7 +223,7 @@ const Ue = { class: "empty-content" }, je = ["title"], Ge = ["title", "onClick"]
214
223
  type: "selection",
215
224
  width: "55"
216
225
  })) : m("", !0),
217
- (u(!0), g(P, null, G(e.columns, (o) => (u(), g(P, {
226
+ (u(!0), g(P, null, H(e.columns, (o) => (u(), g(P, {
218
227
  key: o.key
219
228
  }, [
220
229
  o.hidden ? m("", !0) : (u(), S(a, {
@@ -224,27 +233,27 @@ const Ue = { class: "empty-content" }, je = ["title"], Ge = ["title", "onClick"]
224
233
  fixed: o.fixed || !1
225
234
  }, {
226
235
  header: h(() => [
227
- f("div", {
236
+ v("div", {
228
237
  class: "text-ellipsis",
229
238
  title: o.label
230
- }, _(o.label), 9, je)
239
+ }, N(o.label), 9, He)
231
240
  ]),
232
241
  default: h(({ row: d, $index: s }) => [
233
242
  o.type === "link" ? (u(), g("div", {
234
243
  key: 0,
235
244
  class: "text-ellipsis link-style",
236
245
  title: C(o, d),
237
- onClick: (Ce) => D(o, d, s)
238
- }, _(C(o, d)), 9, Ge)) : (u(), g("div", {
246
+ onClick: (ke) => F(o, d, s)
247
+ }, N(C(o, d)), 9, Ke)) : (u(), g("div", {
239
248
  key: 1,
240
249
  class: "text-ellipsis",
241
250
  title: C(o, d)
242
- }, _(C(o, d)), 9, He))
251
+ }, N(C(o, d)), 9, Le))
243
252
  ]),
244
253
  _: 2
245
254
  }, 1032, ["prop", "min-width", "fixed"]))
246
255
  ], 64))), 128)),
247
- e.rowBtns && e.rowBtns.length > 0 ? (u(), S(a, {
256
+ Ce.value && e.rowBtns && e.rowBtns.length > 0 ? (u(), S(a, {
248
257
  key: 1,
249
258
  label: "Action",
250
259
  fixed: "right",
@@ -252,17 +261,17 @@ const Ue = { class: "empty-content" }, je = ["title"], Ge = ["title", "onClick"]
252
261
  width: e.rowBtns.length * 34 + 12 > 100 ? e.rowBtns.length * 34 + 12 : 100
253
262
  }, {
254
263
  default: h(({ row: o, $index: d }) => [
255
- f("div", Ke, [
256
- (u(!0), g(P, null, G(e.rowBtns, (s) => (u(), g(P, {
264
+ v("div", We, [
265
+ (u(!0), g(P, null, H(e.rowBtns, (s) => (u(), g(P, {
257
266
  key: s.key
258
267
  }, [
259
- s.condition === void 0 || s.condition === null || B(Fe)(s.condition, { $row: o, $globalParams: B(q)() }) ? (u(), S(k, {
268
+ s.condition === void 0 || s.condition === null || R(L)(s.condition, { $row: o, $globalParams: R(T)() }) ? (u(), S(w, {
260
269
  key: 0,
261
270
  disabled: s.disabled,
262
271
  link: "",
263
272
  size: "small",
264
273
  type: s.type,
265
- onClick: _e((Ce) => D(s, o, d), ["stop"])
274
+ onClick: Me((ke) => F(s, o, d), ["stop"])
266
275
  }, {
267
276
  default: h(() => [
268
277
  b(l, {
@@ -274,7 +283,7 @@ const Ue = { class: "empty-content" }, je = ["title"], Ge = ["title", "onClick"]
274
283
  "show-after": 300
275
284
  }, {
276
285
  default: h(() => [
277
- s.icon ? (u(), S($e, {
286
+ s.icon ? (u(), S(Ae, {
278
287
  key: 0,
279
288
  name: s.icon.name,
280
289
  color: s.icon.color
@@ -294,36 +303,36 @@ const Ue = { class: "empty-content" }, je = ["title"], Ge = ["title", "onClick"]
294
303
  _: 1
295
304
  }, 8, ["data", "row-key", "stripe", "height"])
296
305
  ], 512), [
297
- [H, z.value === "table"]
306
+ [K, z.value === "table"]
298
307
  ]),
299
- j(b(Ae, Ne({ data: i.value }, n, { getColText: C }), null, 16, ["data"]), [
300
- [H, z.value === "card"]
308
+ G(b(Ee, Te({ data: r.value }, n, { getColText: C }), null, 16, ["data"]), [
309
+ [K, z.value === "card"]
301
310
  ]),
302
- f("div", {
303
- class: U(["pagination-wrapper", {
304
- hidePagination: (e.hiddenPagination || i.value.length === 0) && !e.height,
305
- transparentPagination: (e.hiddenPagination || i.value.length === 0) && e.height,
311
+ v("div", {
312
+ class: j(["pagination-wrapper", {
313
+ hidePagination: (e.hiddenPagination || r.value.length === 0) && !e.height,
314
+ transparentPagination: (e.hiddenPagination || r.value.length === 0) && e.height,
306
315
  cardlistPadding: z.value === "card"
307
316
  }])
308
317
  }, [
309
- b(ye, {
318
+ b(we, {
310
319
  layout: "total,sizes, prev, pager, next,jumper",
311
- total: $.value,
320
+ total: E.value,
312
321
  "page-sizes": e.pageSizes || [5, 10, 20, 30, 40],
313
322
  "default-page-size": e.defaultPageSize,
314
- "current-page": r.value.pageNum,
315
- "onUpdate:currentPage": t[0] || (t[0] = (o) => r.value.pageNum = o),
316
- "page-size": r.value.pageSize,
317
- "onUpdate:pageSize": t[1] || (t[1] = (o) => r.value.pageSize = o),
323
+ "current-page": i.value.pageNum,
324
+ "onUpdate:currentPage": t[0] || (t[0] = (o) => i.value.pageNum = o),
325
+ "page-size": i.value.pageSize,
326
+ "onUpdate:pageSize": t[1] || (t[1] = (o) => i.value.pageSize = o),
318
327
  "pager-count": e.pagerCount,
319
- onSizeChange: ue,
320
- onCurrentChange: ce
328
+ onSizeChange: ce,
329
+ onCurrentChange: pe
321
330
  }, null, 8, ["total", "page-sizes", "default-page-size", "current-page", "page-size", "pager-count"])
322
331
  ], 2)
323
- ], 2));
332
+ ], 10, je));
324
333
  };
325
334
  }
326
- }), Je = /* @__PURE__ */ Ee(Le, [["__scopeId", "data-v-6e2d7939"]]);
335
+ }), Qe = /* @__PURE__ */ Ve(qe, [["__scopeId", "data-v-169ffe61"]]);
327
336
  export {
328
- Je as default
337
+ Qe as default
329
338
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as i, ref as m, watch as _, onMounted as h, resolveComponent as a, openBlock as l, createBlock as c, mergeProps as u, withCtx as d, createElementBlock as b, Fragment as v, renderList as y, createVNode as k, unref as K } from "vue";
2
- import { a as V } from "./index-DYXVLrj8.js";
2
+ import { a as V } from "./index-Dh80sNdg.js";
3
3
  import "element-plus";
4
4
  const w = /* @__PURE__ */ i({
5
5
  __name: "Tabs",
@@ -1,7 +1,7 @@
1
- import { defineComponent as t, resolveComponent as n, openBlock as r, createElementBlock as a, normalizeStyle as s, createVNode as o, withCtx as p, withDirectives as i, createElementVNode as c, normalizeClass as m, unref as _, vShow as d } from "vue";
2
- import { a as f, b as u } from "./index-DYXVLrj8.js";
1
+ import { defineComponent as t, resolveComponent as n, openBlock as a, createElementBlock as r, normalizeStyle as s, createVNode as l, withCtx as p, withDirectives as i, createElementVNode as c, normalizeClass as m, unref as _, vShow as d } from "vue";
2
+ import { a as y, b as f } from "./index-Dh80sNdg.js";
3
3
  import "element-plus";
4
- const y = /* @__PURE__ */ t({
4
+ const u = /* @__PURE__ */ t({
5
5
  __name: "Wrapper",
6
6
  props: {
7
7
  children: {},
@@ -11,16 +11,16 @@ const y = /* @__PURE__ */ t({
11
11
  },
12
12
  setup(h) {
13
13
  return (e, v) => {
14
- const l = n("el-collapse-transition");
15
- return r(), a("div", {
14
+ const o = n("el-collapse-transition");
15
+ return a(), r("div", {
16
16
  style: s(e.style)
17
17
  }, [
18
- o(l, null, {
18
+ l(o, null, {
19
19
  default: p(() => [
20
20
  i(c("div", {
21
- class: m({ normal: e.type === "normal" })
21
+ class: m({ normal: e.type === "normal", onlytable: e.type === "onlytable" })
22
22
  }, [
23
- o(_(f), { list: e.children }, null, 8, ["list"])
23
+ l(_(y), { list: e.children }, null, 8, ["list"])
24
24
  ], 2), [
25
25
  [d, !e.collapse]
26
26
  ])
@@ -30,7 +30,7 @@ const y = /* @__PURE__ */ t({
30
30
  ], 4);
31
31
  };
32
32
  }
33
- }), w = /* @__PURE__ */ u(y, [["__scopeId", "data-v-438b622d"]]);
33
+ }), w = /* @__PURE__ */ f(u, [["__scopeId", "data-v-cde87480"]]);
34
34
  export {
35
35
  w as default
36
36
  };