asiaint-lowcode 3.0.74 → 3.1.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 (41) hide show
  1. package/README.md +31 -31
  2. package/dist/asiaint-lowcode.js +3 -3
  3. package/dist/asiaint-lowcode.umd.cjs +142 -142
  4. package/dist/index.d.ts +168 -28
  5. package/dist/lazy/{Card-BLkyronF.js → Card-6y3b8xK9.js} +2 -2
  6. package/dist/lazy/{Cascader-BWayPZsj.js → Cascader-1XEBAirk.js} +2 -1
  7. package/dist/lazy/{Checkbox-B0f2osCE.js → Checkbox-DY7Ufmrz.js} +8 -7
  8. package/dist/lazy/{Collapse-CwiKPgVS.js → Collapse-BT7RNNg6.js} +1 -1
  9. package/dist/lazy/{Component-BgbXAvZP.js → Component-AYxGCLAH.js} +20 -20
  10. package/dist/lazy/{Component-CxjtIKb4.js → Component-BYlYtzWb.js} +2 -2
  11. package/dist/lazy/{Component-DtKK0pz0.js → Component-CF4m_685.js} +1 -1
  12. package/dist/lazy/{Component-B0YN5w1O.js → Component-CkSnYtMh.js} +1 -1
  13. package/dist/lazy/{Component-BTW9MMvF.js → Component-DITfSg2v.js} +1 -1
  14. package/dist/lazy/{Component-DN6wPVjw.js → Component-DZMCcrpa.js} +2 -2
  15. package/dist/lazy/CurdCard-BXOxRtCA.js +167 -0
  16. package/dist/lazy/{Custom-BHrk3rwy.js → Custom-Df5H1QJV.js} +7 -7
  17. package/dist/lazy/{DragList-BfxZ0XM8.js → DragList-BH1VY62B.js} +59 -57
  18. package/dist/lazy/{FormList-Bve4HUdY.js → FormList-BMk_lCx8.js} +1 -1
  19. package/dist/lazy/{Grid-gYua8Lbh.js → Grid-SVpxXRzO.js} +1 -1
  20. package/dist/lazy/Inline-CE2A9Of4.js +35 -0
  21. package/dist/lazy/{JsonEdit-DspEkIiw.js → JsonEdit-C_CUvw5t.js} +3 -3
  22. package/dist/lazy/{LogList-BJ0N-SZh.js → LogList-COeBYixP.js} +7 -7
  23. package/dist/lazy/{ObjGroup-DwogU-tX.js → ObjGroup-BB2eQigf.js} +1 -1
  24. package/dist/lazy/{OfferDetails-BRQXALnl.js → OfferDetails-BEyNKQsf.js} +8 -7
  25. package/dist/lazy/{Progress-CZiRwjox.js → Progress-CYBbCXFh.js} +5 -5
  26. package/dist/lazy/{Radio-DAQ63lEp.js → Radio-qI1r_rWj.js} +24 -22
  27. package/dist/lazy/{SearchSelect-B4rd3IEr.js → SearchSelect-ZmOPM_QH.js} +18 -17
  28. package/dist/lazy/{Select-B9ka9Z-o.js → Select-CxtVmfLu.js} +10 -9
  29. package/dist/lazy/Table-YeT82lnr.js +438 -0
  30. package/dist/lazy/{Tabs-D_jMk0g4.js → Tabs-DFvfP_nb.js} +1 -1
  31. package/dist/lazy/Wrapper-DAFSrkAr.js +87 -0
  32. package/dist/lazy/{index-CPs7U1jG.js → index-DQ889qV3.js} +10461 -9979
  33. package/dist/lazy/useSelect-EfaZqc6a.js +77 -0
  34. package/dist/style.css +2 -2
  35. package/global.d.ts +10 -10
  36. package/package.json +36 -36
  37. package/dist/lazy/CurdCard-YilgvVgg.js +0 -160
  38. package/dist/lazy/Inline-DP_W3TA1.js +0 -33
  39. package/dist/lazy/Table-BT_PlC1e.js +0 -351
  40. package/dist/lazy/Wrapper-Db2njs9z.js +0 -36
  41. package/dist/lazy/useSelect-DBsTZmYm.js +0 -76
@@ -0,0 +1,438 @@
1
+ import { defineComponent as Ne, computed as T, inject as _, ref as b, useTemplateRef as $e, readonly as Me, toRefs as Te, onMounted as De, nextTick as Fe, onActivated as Ee, onUnmounted as Ie, resolveComponent as z, openBlock as s, createElementBlock as h, normalizeClass as D, withDirectives as x, createElementVNode as m, createVNode as v, unref as C, withCtx as d, createBlock as f, createCommentVNode as y, Fragment as B, renderList as W, toDisplayString as N, withModifiers as q, vShow as J, mergeProps as Ae } from "vue";
2
+ import { $ as Le, f as F, i as Ve, _ as Ue, I as E, a as je, C as Ge, b as He } from "./index-DQ889qV3.js";
3
+ import { ElTable as Ke, ElLoading as O } from "element-plus";
4
+ const xe = ["id"], We = { class: "empty-content" }, qe = ["title"], Je = ["title", "onClick"], Oe = {
5
+ key: 1,
6
+ class: "icon-text-wrapper"
7
+ }, Qe = ["title"], Xe = ["title"], Ye = { class: "row-btn-wrapper" }, Ze = /* @__PURE__ */ Ne({
8
+ __name: "Table",
9
+ props: {
10
+ title: {},
11
+ key: {},
12
+ rulePath: {},
13
+ rowKey: {},
14
+ showDynamicSearch: { type: Boolean },
15
+ multipleSelection: { type: Boolean },
16
+ highlightCurrentRow: { type: Boolean },
17
+ "highlight-current-row": { type: Boolean },
18
+ stripe: { type: Boolean },
19
+ rowClick: {},
20
+ rowDbClick: {},
21
+ sizeChange: {},
22
+ pageChange: {},
23
+ topBtns: {},
24
+ rowBtns: {},
25
+ columns: {},
26
+ hidden: { type: Boolean },
27
+ hiddenPagination: { type: Boolean },
28
+ handleCurrentChange: {},
29
+ selectable: {},
30
+ pageSizes: {},
31
+ pagerCount: {},
32
+ defaultPageSize: {},
33
+ typeSwitch: { type: Boolean },
34
+ displayType: { default: "table" },
35
+ onMounted: {},
36
+ onActivated: {},
37
+ height: {},
38
+ collapsible: { type: Boolean },
39
+ name: {},
40
+ gridColumns: {}
41
+ },
42
+ setup(Q, { expose: X }) {
43
+ const n = Q, R = T(() => n.displayType ? n.displayType : n.typeSwitch ? "card" : "table"), Y = _("ruleModule", void 0), I = _("ruleMap", void 0), u = T(() => n.rulePath && I[n.rulePath] ? I[n.rulePath] : Y), g = _("pageMethodMap", {}), $ = _("getGlobalParams", () => {
44
+ }), A = _(Le), L = A ? A.translateFn : null, S = b(), Z = (e, t, o) => {
45
+ i.value[e] && (i.value[e][t] = o);
46
+ }, ee = (e, t) => {
47
+ const o = n.columns.find((r) => r.key === e);
48
+ o && (o.hidden = !t);
49
+ }, M = (e, t, o) => {
50
+ try {
51
+ u.value[e.onClick](g, t, o);
52
+ } catch (r) {
53
+ console.error(r);
54
+ }
55
+ }, te = (e) => {
56
+ if (n.rowClick)
57
+ try {
58
+ u.value[n.rowClick](g, e);
59
+ } catch (t) {
60
+ console.error(t);
61
+ }
62
+ }, ne = (e) => {
63
+ if (n.rowDbClick)
64
+ try {
65
+ u.value[n.rowDbClick](g, e);
66
+ } catch (t) {
67
+ console.error(t);
68
+ }
69
+ }, oe = b([]), ae = (e) => {
70
+ oe.value = e;
71
+ }, le = (e, t) => {
72
+ if (!n.selectable)
73
+ return !0;
74
+ try {
75
+ return u.value[n.selectable](g, e, t);
76
+ } catch (o) {
77
+ console.error(o);
78
+ }
79
+ return !0;
80
+ }, re = () => {
81
+ var e;
82
+ (e = S.value) == null || e.clearSelection();
83
+ }, ie = () => i.value, V = b(), se = (e) => {
84
+ if (V.value = e, !!n.handleCurrentChange)
85
+ try {
86
+ u.value[n.handleCurrentChange](g, e);
87
+ } catch (t) {
88
+ console.error(t);
89
+ }
90
+ }, ce = () => V.value, ue = () => {
91
+ var e;
92
+ return (e = S.value) == null ? void 0 : e.getSelectionRows();
93
+ }, pe = async () => !0, de = (e, t) => {
94
+ var r;
95
+ const o = (r = n.topBtns) == null ? void 0 : r.find((w) => w.key === e);
96
+ o && (o.hidden = t);
97
+ }, ge = (e, t) => {
98
+ var r;
99
+ const o = (r = n.rowBtns) == null ? void 0 : r.find((w) => w.key === e);
100
+ o && (o.condition = !t);
101
+ }, U = b(0), he = (e) => {
102
+ U.value = e;
103
+ }, c = b({ pageNum: 1, pageSize: n.defaultPageSize || 5 }), me = () => c.value, ve = (e) => {
104
+ let t = !1;
105
+ return e.pageNum !== void 0 && e.pageNum > -1 && (c.value.pageNum !== e.pageNum && (t = !0), c.value.pageNum = e.pageNum), e.pageSize !== void 0 && e.pageSize > -1 && (c.value.pageSize !== e.pageSize && (t = !0), c.value.pageSize = e.pageSize), { pagination: c.value, isChange: t };
106
+ }, fe = async (e) => {
107
+ if (c.value.pageNum = 1, c.value.pageSize = e, !n.sizeChange)
108
+ return;
109
+ const t = O.service({
110
+ target: `#${n.name}`,
111
+ text: "Loading..."
112
+ });
113
+ try {
114
+ await u.value[n.sizeChange](g, c.value);
115
+ } catch (o) {
116
+ console.error(o);
117
+ } finally {
118
+ t.close();
119
+ }
120
+ }, ye = async (e) => {
121
+ if (c.value.pageNum = e, !n.pageChange)
122
+ return;
123
+ const t = O.service({
124
+ target: `#${n.name}`,
125
+ text: "Loading..."
126
+ });
127
+ try {
128
+ await u.value[n.pageChange](g, c.value);
129
+ } catch (o) {
130
+ console.error(o);
131
+ } finally {
132
+ t.close();
133
+ }
134
+ }, ke = (e) => {
135
+ var t;
136
+ (t = S.value) == null || t.setCurrentRow(e);
137
+ }, Ce = (e) => {
138
+ var t;
139
+ (t = S.value) == null || t.setCurrentRow(i.value[e]);
140
+ }, we = (e, t, o) => {
141
+ n.columns.forEach((r) => {
142
+ r.key === e && r[t] && (r[t] = o);
143
+ });
144
+ }, i = b([]), be = (e) => {
145
+ i.value = e;
146
+ }, Se = (e = {}) => {
147
+ i.value.push(e);
148
+ }, _e = (e) => {
149
+ e >= 0 && e < i.value.length && i.value.splice(e, 1);
150
+ }, ze = async () => {
151
+ i.value = [...i.value];
152
+ }, j = $e("rootRef"), G = Me({
153
+ ...Te(n),
154
+ setCellData: Z,
155
+ clearSelection: re,
156
+ getData: ie,
157
+ getCurrentRow: ce,
158
+ getSelectedRows: ue,
159
+ addRow: Se,
160
+ deleteRow: _e,
161
+ refresh: ze,
162
+ validate: pe,
163
+ setData: be,
164
+ selectRow: ke,
165
+ selectRowNum: Ce,
166
+ setTotal: he,
167
+ getPagination: me,
168
+ setPagination: ve,
169
+ setTopBtnHidden: de,
170
+ setColVisible: ee,
171
+ setColumn: we,
172
+ setRowsBtnHidden: ge,
173
+ rootRef: j,
174
+ type: "table"
175
+ }), k = (e, t) => {
176
+ const o = L ? L(e.key, t) : t[e.key];
177
+ if (!e.encrypted || !o)
178
+ return o;
179
+ const r = `${o}`;
180
+ return r.length <= 4 ? "*".repeat(r.length) : r.slice(0, -4) + "****";
181
+ }, H = (e, t) => {
182
+ if (!(!e.getIconInfo || !u.value))
183
+ try {
184
+ return u.value[e.getIconInfo](g, t, e);
185
+ } catch (o) {
186
+ console.error(o);
187
+ }
188
+ }, Be = T(() => !n.rowBtns || n.rowBtns.length === 0 || !i.value || i.value.length === 0 ? !1 : i.value.some(
189
+ (e) => {
190
+ var t;
191
+ return (t = n.rowBtns) == null ? void 0 : t.some((o) => o.condition === void 0 || o.condition === null ? !0 : F(o.condition, {
192
+ $row: e,
193
+ $globalParams: $()
194
+ }));
195
+ }
196
+ ));
197
+ if (De(async () => {
198
+ if (!n.onMounted || !u.value)
199
+ return;
200
+ await Fe();
201
+ const e = n.onMounted;
202
+ try {
203
+ u.value[e](g);
204
+ } catch (t) {
205
+ console.error(t);
206
+ }
207
+ }), Ee(() => {
208
+ if (!n.onActivated || !u.value)
209
+ return;
210
+ const e = n.onActivated;
211
+ try {
212
+ u.value[e](g);
213
+ } catch (t) {
214
+ console.error(t);
215
+ }
216
+ }), n.name) {
217
+ const e = Ve(n.name, G);
218
+ Ie(() => {
219
+ e();
220
+ });
221
+ }
222
+ return X(G), (e, t) => {
223
+ const o = z("el-table-column"), r = z("el-tooltip"), w = z("el-button"), Re = z("el-popover"), Pe = z("el-pagination");
224
+ return e.hidden ? y("", !0) : (s(), h("div", {
225
+ key: 0,
226
+ class: D(["table-render", { tableBorder: R.value === "table" }]),
227
+ ref_key: "rootRef",
228
+ ref: j,
229
+ id: e.name
230
+ }, [
231
+ x(m("div", null, [
232
+ v(C(Ke), {
233
+ ref_key: "tableRef",
234
+ ref: S,
235
+ data: i.value,
236
+ "highlight-current-row": "",
237
+ "row-key": e.rowKey,
238
+ stripe: e.stripe,
239
+ "show-overflow-tooltip": "",
240
+ onRowClick: te,
241
+ onRowDblclick: ne,
242
+ onSelectionChange: ae,
243
+ onCurrentChange: se,
244
+ height: e.height
245
+ }, {
246
+ empty: d(() => [
247
+ m("div", We, [
248
+ v(C(Ue), {
249
+ name: "tableEmpty",
250
+ style: { width: 56, height: 56 }
251
+ }),
252
+ t[2] || (t[2] = m("div", null, "No data available,please check", -1))
253
+ ])
254
+ ]),
255
+ default: d(() => [
256
+ e.multipleSelection ? (s(), f(o, {
257
+ key: 0,
258
+ type: "selection",
259
+ width: "55",
260
+ selectable: le
261
+ })) : y("", !0),
262
+ (s(!0), h(B, null, W(e.columns, (a) => (s(), h(B, {
263
+ key: a.key
264
+ }, [
265
+ a.hidden ? y("", !0) : (s(), f(o, {
266
+ key: 0,
267
+ prop: a.key,
268
+ "min-width": a.minWidth,
269
+ fixed: a.fixed || !1
270
+ }, {
271
+ header: d(() => [
272
+ m("div", {
273
+ class: "text-ellipsis",
274
+ title: a.label
275
+ }, N(a.label), 9, qe)
276
+ ]),
277
+ default: d(({ row: p, $index: l }) => {
278
+ var P, K;
279
+ return [
280
+ a.type === "link" ? (s(), h("div", {
281
+ key: 0,
282
+ class: D(["text-ellipsis link-style", { "click-style": a.onClick }]),
283
+ title: k(a, p),
284
+ onClick: (et) => M(a, p, l)
285
+ }, N(k(a, p)), 11, Je)) : a.type === "iconText" ? (s(), h("div", Oe, [
286
+ v(E, {
287
+ name: (P = H(a, p)) == null ? void 0 : P.name,
288
+ color: (K = H(a, p)) == null ? void 0 : K.color
289
+ }, null, 8, ["name", "color"]),
290
+ m("span", {
291
+ class: "text-ellipsis",
292
+ title: k(a, p)
293
+ }, N(k(a, p)), 9, Qe)
294
+ ])) : (s(), h("div", {
295
+ key: 2,
296
+ class: "text-ellipsis",
297
+ title: k(a, p)
298
+ }, N(k(a, p)), 9, Xe))
299
+ ];
300
+ }),
301
+ _: 2
302
+ }, 1032, ["prop", "min-width", "fixed"]))
303
+ ], 64))), 128)),
304
+ Be.value && e.rowBtns && e.rowBtns.length > 0 ? (s(), f(o, {
305
+ key: 1,
306
+ label: "Action",
307
+ fixed: "right",
308
+ align: "left",
309
+ width: e.rowBtns.length * 34 + 12 > 100 ? e.rowBtns.length * 34 + 12 : 100
310
+ }, {
311
+ default: d(({ row: a, $index: p }) => [
312
+ m("div", Ye, [
313
+ (s(!0), h(B, null, W(e.rowBtns, (l) => (s(), h(B, {
314
+ key: l.key
315
+ }, [
316
+ l.component === "Popover" ? (s(), f(Re, {
317
+ key: 0,
318
+ title: l.label,
319
+ trigger: "click",
320
+ "popper-class": "btn-popover",
321
+ width: "400"
322
+ }, {
323
+ reference: d(() => [
324
+ l.condition === void 0 || l.condition === null || C(F)(l.condition, {
325
+ $row: a,
326
+ $globalParams: C($)()
327
+ }) ? (s(), f(w, {
328
+ key: 0,
329
+ disabled: l.disabled,
330
+ link: "",
331
+ size: "small",
332
+ type: l.type,
333
+ onClick: q((P) => M(l, a, p), ["stop"])
334
+ }, {
335
+ default: d(() => [
336
+ v(r, {
337
+ class: "box-item",
338
+ effect: "dark",
339
+ content: l.label,
340
+ placement: "top",
341
+ "popper-class": "low-tsp"
342
+ }, {
343
+ default: d(() => [
344
+ l.icon ? (s(), f(E, {
345
+ key: 0,
346
+ name: l.icon.name,
347
+ color: l.icon.color
348
+ }, null, 8, ["name", "color"])) : y("", !0)
349
+ ]),
350
+ _: 2
351
+ }, 1032, ["content"])
352
+ ]),
353
+ _: 2
354
+ }, 1032, ["disabled", "type", "onClick"])) : y("", !0)
355
+ ]),
356
+ default: d(() => [
357
+ m("div", null, [
358
+ v(C(je), {
359
+ list: l.children
360
+ }, null, 8, ["list"])
361
+ ])
362
+ ]),
363
+ _: 2
364
+ }, 1032, ["title"])) : (s(), h(B, { key: 1 }, [
365
+ l.condition === void 0 || l.condition === null || C(F)(l.condition, {
366
+ $row: a,
367
+ $globalParams: C($)()
368
+ }) ? (s(), f(w, {
369
+ key: 0,
370
+ disabled: l.disabled,
371
+ link: "",
372
+ size: "small",
373
+ type: l.type,
374
+ onClick: q((P) => M(l, a, p), ["stop"])
375
+ }, {
376
+ default: d(() => [
377
+ v(r, {
378
+ class: "box-item",
379
+ effect: "dark",
380
+ content: l.label,
381
+ placement: "top",
382
+ "popper-class": "low-tsp"
383
+ }, {
384
+ default: d(() => [
385
+ l.icon ? (s(), f(E, {
386
+ key: 0,
387
+ name: l.icon.name,
388
+ color: l.icon.color
389
+ }, null, 8, ["name", "color"])) : y("", !0)
390
+ ]),
391
+ _: 2
392
+ }, 1032, ["content"])
393
+ ]),
394
+ _: 2
395
+ }, 1032, ["disabled", "type", "onClick"])) : y("", !0)
396
+ ], 64))
397
+ ], 64))), 128))
398
+ ])
399
+ ]),
400
+ _: 1
401
+ }, 8, ["width"])) : y("", !0)
402
+ ]),
403
+ _: 1
404
+ }, 8, ["data", "row-key", "stripe", "height"])
405
+ ], 512), [
406
+ [J, R.value === "table"]
407
+ ]),
408
+ x(v(Ge, Ae({ data: i.value }, n, { getColText: k }), null, 16, ["data"]), [
409
+ [J, R.value === "card"]
410
+ ]),
411
+ m("div", {
412
+ class: D(["pagination-wrapper", {
413
+ hidePagination: (e.hiddenPagination || i.value.length === 0) && !e.height,
414
+ transparentPagination: (e.hiddenPagination || i.value.length === 0) && e.height,
415
+ cardlistPadding: R.value === "card"
416
+ }])
417
+ }, [
418
+ v(Pe, {
419
+ layout: "total,sizes, prev, pager, next,jumper",
420
+ total: U.value,
421
+ "page-sizes": e.pageSizes || [5, 10, 20, 30, 40],
422
+ "default-page-size": e.defaultPageSize,
423
+ "current-page": c.value.pageNum,
424
+ "onUpdate:currentPage": t[0] || (t[0] = (a) => c.value.pageNum = a),
425
+ "page-size": c.value.pageSize,
426
+ "onUpdate:pageSize": t[1] || (t[1] = (a) => c.value.pageSize = a),
427
+ "pager-count": e.pagerCount,
428
+ onSizeChange: fe,
429
+ onCurrentChange: ye
430
+ }, null, 8, ["total", "page-sizes", "default-page-size", "current-page", "page-size", "pager-count"])
431
+ ], 2)
432
+ ], 10, xe));
433
+ };
434
+ }
435
+ }), at = /* @__PURE__ */ He(Ze, [["__scopeId", "data-v-550c8708"]]);
436
+ export {
437
+ at as default
438
+ };
@@ -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-CPs7U1jG.js";
2
+ import { a as V } from "./index-DQ889qV3.js";
3
3
  import "element-plus";
4
4
  const w = /* @__PURE__ */ i({
5
5
  __name: "Tabs",
@@ -0,0 +1,87 @@
1
+ import { defineComponent as f, ref as i, resolveComponent as C, openBlock as r, createElementBlock as t, normalizeStyle as c, createVNode as l, withCtx as _, withDirectives as b, createElementVNode as g, normalizeClass as d, unref as S, createCommentVNode as u, vShow as x } from "vue";
2
+ import { j as B, a as k, I as y, b as E } from "./index-DQ889qV3.js";
3
+ import "element-plus";
4
+ const D = {
5
+ key: 0,
6
+ class: "dropdown-icon-wrapper"
7
+ }, j = {
8
+ key: 1,
9
+ class: "expansion-icon-wrapper"
10
+ }, A = /* @__PURE__ */ f({
11
+ __name: "Wrapper",
12
+ props: {
13
+ children: {},
14
+ style: { type: [Boolean, null, String, Object, Array] },
15
+ innerStyle: { type: [Boolean, null, String, Object, Array] },
16
+ type: {},
17
+ collapse: { type: Boolean },
18
+ dropdown: { type: Boolean },
19
+ expansion: { type: Boolean },
20
+ onDropdownChange: {},
21
+ onExpand: {}
22
+ },
23
+ setup(m) {
24
+ const o = m, { ruleModule: s, pageMethodMap: p } = B(), n = i(!1), h = () => {
25
+ if (o.onDropdownChange) {
26
+ n.value = !n.value;
27
+ try {
28
+ s[o.onDropdownChange](p, n.value);
29
+ } catch (e) {
30
+ console.error(e);
31
+ }
32
+ }
33
+ }, a = i(!1), v = () => {
34
+ if (o.onExpand) {
35
+ a.value = !a.value;
36
+ try {
37
+ s[o.onExpand](p, a.value);
38
+ } catch (e) {
39
+ console.error(e);
40
+ }
41
+ }
42
+ };
43
+ return (e, I) => {
44
+ const w = C("el-collapse-transition");
45
+ return r(), t("div", {
46
+ style: c(e.style)
47
+ }, [
48
+ l(w, null, {
49
+ default: _(() => [
50
+ b(g("div", {
51
+ class: d({
52
+ normal: e.type === "normal",
53
+ onlytable: e.type === "onlytable",
54
+ dropdownChildren: e.type === "dropdown-children",
55
+ expansionWrapper: e.expansion
56
+ }),
57
+ style: c(e.innerStyle)
58
+ }, [
59
+ l(S(k), { list: e.children }, null, 8, ["list"]),
60
+ e.dropdown ? (r(), t("div", D, [
61
+ l(y, {
62
+ name: "icon-xialaliebiao",
63
+ color: "#666666",
64
+ onClick: h,
65
+ class: d({ reversed: n.value })
66
+ }, null, 8, ["class"])
67
+ ])) : u("", !0),
68
+ e.expansion ? (r(), t("div", j, [
69
+ l(y, {
70
+ name: "icon-shuangxiangjiantou",
71
+ color: a.value ? "#18AAF8" : "#666666",
72
+ onClick: v
73
+ }, null, 8, ["color"])
74
+ ])) : u("", !0)
75
+ ], 6), [
76
+ [x, !e.collapse]
77
+ ])
78
+ ]),
79
+ _: 1
80
+ })
81
+ ], 4);
82
+ };
83
+ }
84
+ }), W = /* @__PURE__ */ E(A, [["__scopeId", "data-v-bdb9b825"]]);
85
+ export {
86
+ W as default
87
+ };