asiaint-lowcode 3.1.179 → 3.1.181

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 (42) hide show
  1. package/dist/asiaint-lowcode.js +1 -1
  2. package/dist/asiaint-lowcode.umd.cjs +160 -160
  3. package/dist/lazy/{Card-DaVnv5GX.js → Card-Kfu5J-k1.js} +1 -1
  4. package/dist/lazy/{Cascader-BzTCiKz4.js → Cascader-njucYJKU.js} +1 -1
  5. package/dist/lazy/{Checkbox-DLmN7vrL.js → Checkbox-K9JwI4K1.js} +2 -2
  6. package/dist/lazy/{Collapse-Cg2XGJ4V.js → Collapse-BguRi9YQ.js} +2 -2
  7. package/dist/lazy/{Component-D338glh6.js → Component-Bl64FtkX.js} +1 -1
  8. package/dist/lazy/{Component-gstJXE0L.js → Component-CIwBV4FS.js} +1 -1
  9. package/dist/lazy/{Component-BlJbkvPh.js → Component-Cp6RJQsB.js} +1 -1
  10. package/dist/lazy/{Component-Cb_vVYxr.js → Component-Cttf-7YQ.js} +1 -1
  11. package/dist/lazy/{CurdCard-DLK79fbW.js → CurdCard-zeCvlGW_.js} +1 -1
  12. package/dist/lazy/{Custom-Y7KyocYI.js → Custom-DbdsnG4f.js} +1 -1
  13. package/dist/lazy/{DatePicker-CHlLih1P.js → DatePicker-RkENUOJI.js} +1 -1
  14. package/dist/lazy/{DragList-Bb39ikgl.js → DragList-BzqeY14N.js} +1 -1
  15. package/dist/lazy/{FilterSearch-CwRm0dEF.js → FilterSearch-WF5ZA-SJ.js} +1 -1
  16. package/dist/lazy/FloatCurd-CLapVl8M.js +276 -0
  17. package/dist/lazy/{FloatSearchCurd-FULs5Qhp.js → FloatSearchCurd-CFSoXoEI.js} +1 -1
  18. package/dist/lazy/{FormList-Dp0-GLUC.js → FormList-ZjJVgtpf.js} +1 -1
  19. package/dist/lazy/{Grid-DM9_cXYo.js → Grid-astoimHq.js} +1 -1
  20. package/dist/lazy/{InfiniteScroll-uzAG-Nt2.js → InfiniteScroll-BGjCdxnY.js} +1 -1
  21. package/dist/lazy/{Inline-cQ1k7AI9.js → Inline-DF1DB2Z3.js} +1 -1
  22. package/dist/lazy/{JsonEdit-BuNwV7du.js → JsonEdit-D5I-Eqim.js} +1 -1
  23. package/dist/lazy/{LogList-DmvVjelN.js → LogList-C4Ug5Yol.js} +1 -1
  24. package/dist/lazy/{ObjGroup-BIXfvkFi.js → ObjGroup-DwZtJTp-.js} +1 -1
  25. package/dist/lazy/{OfferDetails-CLwmmiGb.js → OfferDetails-BOgAgnXi.js} +1 -1
  26. package/dist/lazy/{Pagination-1NSYApGE.js → Pagination-BdM8dC98.js} +1 -1
  27. package/dist/lazy/{Progress-B72RVNq5.js → Progress-BpC8IuEN.js} +1 -1
  28. package/dist/lazy/{Radio-CayWnnZc.js → Radio-L1C9CMHH.js} +2 -2
  29. package/dist/lazy/{SearchSelect-BNUi9iZK.js → SearchSelect-BWOTCgSn.js} +2 -2
  30. package/dist/lazy/{Select-BDWBHtA7.js → Select-DTNJNp88.js} +2 -2
  31. package/dist/lazy/{Table-D_1rHnlz.js → Table-ByJ2iH7z.js} +183 -193
  32. package/dist/lazy/{Tabs-B7OqG3ii.js → Tabs-0ZSJNlTe.js} +1 -1
  33. package/dist/lazy/{Tag-Abe0-Tzm.js → Tag-BQLGGskE.js} +1 -1
  34. package/dist/lazy/{TextArea-BuGRq9i2.js → TextArea-CQJj7aH2.js} +1 -1
  35. package/dist/lazy/{Title-B4bUdcdu.js → Title-wF2j2MCD.js} +1 -1
  36. package/dist/lazy/{Title.vue_vue_type_script_setup_true_lang-DHaVsPpz.js → Title.vue_vue_type_script_setup_true_lang-BCyiY8Ec.js} +1 -1
  37. package/dist/lazy/{Wrapper-m6v8pYMf.js → Wrapper-crhzRsL5.js} +1 -1
  38. package/dist/lazy/{index-CYBR736j.js → index-D1oe2LlE.js} +4951 -4897
  39. package/dist/lazy/{useSelect-kj3vzD_O.js → useSelect-nnF2_lcE.js} +1 -1
  40. package/dist/style.css +2 -2
  41. package/package.json +1 -1
  42. package/dist/lazy/FloatCurd-COlhj4nl.js +0 -268
@@ -1,10 +1,10 @@
1
- import { defineComponent as ot, computed as q, inject as M, ref as y, watch as at, nextTick as de, useTemplateRef as lt, onMounted as rt, onActivated as it, onBeforeUnmount as st, readonly as ut, toRefs as ct, onUnmounted as pt, resolveComponent as L, resolveDirective as dt, openBlock as i, createElementBlock as g, normalizeClass as A, withDirectives as O, createElementVNode as B, createBlock as v, unref as d, withCtx as h, createVNode as k, toDisplayString as _, createCommentVNode as f, Fragment as R, renderList as ge, normalizeStyle as J, withModifiers as he, vShow as me, mergeProps as gt } from "vue";
2
- import { u as ht, $ as mt, h as I, d as yt, i as vt, a as ft, I as N, b as j, C as Ct, f as kt, _ as wt } from "./index-CYBR736j.js";
3
- import { ElTable as St, ElLoading as ye } from "element-plus";
4
- const bt = ["id"], Pt = { class: "empty-content" }, zt = ["title"], Bt = ["title", "onClick"], _t = {
1
+ import { defineComponent as nt, computed as q, inject as A, ref as y, watch as at, nextTick as de, useTemplateRef as ot, onMounted as lt, onActivated as rt, onBeforeUnmount as it, readonly as st, toRefs as ut, onUnmounted as ct, resolveComponent as I, resolveDirective as pt, openBlock as i, createElementBlock as g, normalizeClass as L, withDirectives as O, createElementVNode as _, createBlock as v, unref as d, withCtx as h, createVNode as k, toDisplayString as R, createCommentVNode as f, Fragment as T, renderList as ge, normalizeStyle as J, withModifiers as he, vShow as me, mergeProps as dt } from "vue";
2
+ import { u as gt, $ as ht, h as F, d as mt, i as yt, a as vt, I as $, b as W, C as ft, f as Ct, _ as kt } from "./index-D1oe2LlE.js";
3
+ import { ElTable as wt } from "element-plus";
4
+ const St = ["id"], bt = { class: "empty-content" }, Pt = ["title"], zt = ["title", "onClick"], Bt = {
5
5
  key: 1,
6
6
  class: "icon-text-wrapper"
7
- }, Rt = ["title", "onClick"], Tt = { key: 2 }, Nt = ["title"], $t = { class: "row-btn-wrapper" }, xt = /* @__PURE__ */ ot({
7
+ }, _t = ["title", "onClick"], Rt = { key: 2 }, Tt = ["title"], Nt = { class: "row-btn-wrapper" }, $t = /* @__PURE__ */ nt({
8
8
  __name: "Table",
9
9
  props: {
10
10
  title: {},
@@ -52,30 +52,30 @@ const bt = ["id"], Pt = { class: "empty-content" }, zt = ["title"], Bt = ["title
52
52
  gridColumns: {},
53
53
  heightDifference: {}
54
54
  },
55
- setup(ve, { expose: fe }) {
56
- const o = ve, Q = (e) => e == null ? void 0 : e.replace(/ /g, " "), Ce = ht(), W = () => {
55
+ setup(ye, { expose: ve }) {
56
+ const o = ye, Q = (e) => e == null ? void 0 : e.replace(/ /g, " "), fe = gt(), G = () => {
57
57
  var t, a;
58
- const e = (t = Ce.schema) == null ? void 0 : t.items;
58
+ const e = (t = fe.schema) == null ? void 0 : t.items;
59
59
  if (o.name && Array.isArray(e)) {
60
- const r = kt(e, o.name);
60
+ const r = Ct(e, o.name);
61
61
  if (Array.isArray((a = r == null ? void 0 : r.props) == null ? void 0 : a.columns))
62
62
  return r.props.columns;
63
63
  }
64
64
  return o.columns;
65
- }, F = q(() => o.displayType ? o.displayType : o.typeSwitch ? "card" : "table"), ke = M("ruleModule", void 0), X = M("ruleMap", void 0), c = q(() => o.rulePath && X[o.rulePath] ? X[o.rulePath] : ke), m = M("pageMethodMap", {}), $ = M("getGlobalParams", () => {
66
- }), Y = M(mt), Z = Y ? Y.translateFn : null, S = y(), ee = y(), we = (e, t, a) => {
65
+ }, E = q(() => o.displayType ? o.displayType : o.typeSwitch ? "card" : "table"), Ce = A("ruleModule", void 0), X = A("ruleMap", void 0), c = q(() => o.rulePath && X[o.rulePath] ? X[o.rulePath] : Ce), m = A("pageMethodMap", {}), D = A("getGlobalParams", () => {
66
+ }), Y = A(ht), Z = Y ? Y.translateFn : null, S = y(), ee = y(), ke = (e, t, a) => {
67
67
  p.value[e] && (p.value[e][t] = a);
68
- }, Se = (e, t) => {
69
- const a = W().find((r) => r.key === e);
68
+ }, we = (e, t) => {
69
+ const a = G().find((r) => r.key === e);
70
70
  a && (a.hidden = !t);
71
- }, E = (e, t, a, r) => {
71
+ }, H = (e, t, a, r) => {
72
72
  try {
73
73
  c.value[e.onClick](m, t, a, r), r == null || r.stopPropagation();
74
74
  } catch (C) {
75
75
  console.error(C + `
76
76
  onClick: ${e.onClick}`);
77
77
  }
78
- }, be = (e) => {
78
+ }, Se = (e) => {
79
79
  if (o.rowClick)
80
80
  try {
81
81
  c.value[o.rowClick](m, e);
@@ -89,16 +89,16 @@ handleRowClick: ${o.rowClick}
89
89
  `
90
90
  );
91
91
  }
92
- }, Pe = (e) => {
92
+ }, be = (e) => {
93
93
  if (o.rowDbClick)
94
94
  try {
95
95
  c.value[o.rowDbClick](m, e);
96
96
  } catch (t) {
97
97
  console.error(t);
98
98
  }
99
- }, ze = y([]), Be = (e) => {
100
- ze.value = e;
101
- }, _e = (e, t) => {
99
+ }, Pe = y([]), ze = (e) => {
100
+ Pe.value = e;
101
+ }, Be = (e, t) => {
102
102
  if (!o.selectable)
103
103
  return !0;
104
104
  try {
@@ -107,80 +107,70 @@ handleRowClick: ${o.rowClick}
107
107
  console.error(a);
108
108
  }
109
109
  return !0;
110
- }, Re = () => {
110
+ }, _e = () => {
111
111
  var e;
112
112
  (e = S.value) == null || e.clearSelection();
113
- }, Te = (e, t) => {
113
+ }, Re = (e, t) => {
114
114
  var a, r;
115
115
  if (o.rowKey) {
116
- const C = p.value.find((U) => U[o.rowKey] === e);
116
+ const C = p.value.find((j) => j[o.rowKey] === e);
117
117
  if (!C)
118
118
  return;
119
119
  t === void 0 ? (a = S.value) == null || a.toggleRowSelection(C) : (r = S.value) == null || r.toggleRowSelection(C, t);
120
120
  } else
121
121
  return console.error("rowKey is required");
122
- }, Ne = () => p.value, te = y(), ne = (e) => {
122
+ }, Te = () => p.value, te = y(), ne = (e) => {
123
123
  if (te.value = e, !!o.handleCurrentChange)
124
124
  try {
125
125
  c.value[o.handleCurrentChange](m, e || {});
126
126
  } catch (t) {
127
127
  console.error(t);
128
128
  }
129
- }, $e = () => te.value, xe = () => {
129
+ }, Ne = () => te.value, $e = () => {
130
130
  var e;
131
131
  return (e = S.value) == null ? void 0 : e.getSelectionRows();
132
- }, De = async () => !0, Me = (e, t) => {
132
+ }, De = async () => !0, xe = (e, t) => {
133
133
  var r;
134
134
  const a = (r = o.topBtns) == null ? void 0 : r.find((C) => C.key === e);
135
135
  a && (a.hidden = t);
136
- }, Le = (e, t) => {
136
+ }, Me = (e, t) => {
137
137
  var r;
138
138
  const a = (r = o.rowBtns) == null ? void 0 : r.find((C) => C.key === e);
139
139
  a && (a.condition = !t);
140
- }, H = y(0), Ae = (e) => {
141
- H.value = e;
142
- }, Ie = () => H.value, u = y({ pageNum: 1, pageSize: o.defaultPageSize || 10 }), b = y({ pageNum: 1, pageSize: o.defaultPageSize || 10 }), Fe = () => u.value, Ee = (e) => {
140
+ }, K = y(0), Ae = (e) => {
141
+ K.value = e;
142
+ }, Ie = () => K.value, u = y({ pageNum: 1, pageSize: o.defaultPageSize || 10 }), b = y({ pageNum: 1, pageSize: o.defaultPageSize || 10 }), Le = () => u.value, Fe = (e) => {
143
143
  let t = !1;
144
144
  return e.pageNum !== void 0 && e.pageNum > -1 && (u.value.pageNum !== e.pageNum && (t = !0), u.value.pageNum = e.pageNum), e.pageSize !== void 0 && e.pageSize > -1 && (u.value.pageSize !== e.pageSize && (t = !0), u.value.pageSize = e.pageSize), { pagination: u.value, isChange: t };
145
+ }, Ee = async () => {
146
+ if (u.value.pageNum = 1, !!o.sizeChange)
147
+ try {
148
+ B.value = !0, await c.value[o.sizeChange](m, u.value), b.value.pageNum = u.value.pageNum, b.value.pageSize = u.value.pageSize;
149
+ } catch (e) {
150
+ console.error(e), u.value.pageNum = b.value.pageNum, u.value.pageSize = b.value.pageSize;
151
+ } finally {
152
+ B.value = !1;
153
+ }
145
154
  }, He = async () => {
146
- if (u.value.pageNum = 1, !o.sizeChange)
147
- return;
148
- const e = ye.service({
149
- target: `#${o.name}`,
150
- text: "Loading..."
151
- });
152
- try {
153
- await c.value[o.sizeChange](m, u.value), b.value.pageNum = u.value.pageNum, b.value.pageSize = u.value.pageSize;
154
- } catch (t) {
155
- console.error(t), u.value.pageNum = b.value.pageNum, u.value.pageSize = b.value.pageSize;
156
- } finally {
157
- e.close();
158
- }
159
- }, Ke = async () => {
160
- if (!o.pageChange)
161
- return;
162
- const e = ye.service({
163
- target: `#${o.name}`,
164
- text: "Loading..."
165
- });
166
- try {
167
- await c.value[o.pageChange](m, u.value), b.value.pageNum = u.value.pageNum, b.value.pageSize = u.value.pageSize;
168
- } catch (t) {
169
- console.error(t), u.value.pageNum = b.value.pageNum, u.value.pageSize = b.value.pageSize;
170
- } finally {
171
- e.close();
172
- }
173
- }, Ve = (e) => {
155
+ if (o.pageChange)
156
+ try {
157
+ B.value = !0, await c.value[o.pageChange](m, u.value), b.value.pageNum = u.value.pageNum, b.value.pageSize = u.value.pageSize;
158
+ } catch (e) {
159
+ console.error(e), u.value.pageNum = b.value.pageNum, u.value.pageSize = b.value.pageSize;
160
+ } finally {
161
+ B.value = !1;
162
+ }
163
+ }, Ke = (e) => {
174
164
  var t, a;
175
- console.log("zytest---selectRow-row", e), F.value === "card" ? (t = ee.value) == null || t.selectRow(e) : (a = S.value) == null || a.setCurrentRow(e);
176
- }, Ue = (e) => {
165
+ console.log("zytest---selectRow-row", e), E.value === "card" ? (t = ee.value) == null || t.selectRow(e) : (a = S.value) == null || a.setCurrentRow(e);
166
+ }, Ve = (e) => {
177
167
  var t;
178
168
  (t = S.value) == null || t.setCurrentRow(p.value[e]);
179
- }, je = (e, t, a) => {
180
- W().forEach((r) => {
169
+ }, Ue = (e, t, a) => {
170
+ G().forEach((r) => {
181
171
  r.key === e && (r[t] = a);
182
172
  });
183
- }, p = y([]), We = (e) => {
173
+ }, p = y([]), je = (e) => {
184
174
  p.value = e || [];
185
175
  };
186
176
  at(
@@ -193,19 +183,19 @@ handleRowClick: ${o.rowClick}
193
183
  },
194
184
  { flush: "post" }
195
185
  );
196
- const Ge = (e = {}) => {
186
+ const We = (e = {}) => {
197
187
  p.value.push(e);
198
- }, qe = (e) => {
188
+ }, Ge = (e) => {
199
189
  e >= 0 && e < p.value.length && p.value.splice(e, 1);
200
- }, Oe = async () => {
190
+ }, qe = async () => {
201
191
  p.value = [...p.value];
202
- }, oe = lt("rootRef"), z = (e, t) => {
192
+ }, ae = ot("rootRef"), z = (e, t) => {
203
193
  const a = Z ? Z(e, t) : t[e.key];
204
194
  if (!e.encrypted || !a)
205
195
  return a;
206
196
  const r = `${a}`;
207
197
  return r.length <= 4 ? "*".repeat(r.length) : r.slice(0, -4) + "****";
208
- }, Je = (e, t) => {
198
+ }, Oe = (e, t) => {
209
199
  if (!e.getTextStyle || !c.value)
210
200
  return {};
211
201
  try {
@@ -220,41 +210,41 @@ handleRowClick: ${o.rowClick}
220
210
  } catch (a) {
221
211
  console.error(a);
222
212
  }
223
- }, K = (e, t) => {
213
+ }, V = (e, t) => {
224
214
  if (!(!e.getIconPopoverContent || !c.value))
225
215
  try {
226
216
  return c.value[e.getIconPopoverContent](m, t, e);
227
217
  } catch (a) {
228
218
  console.error(a);
229
219
  }
230
- }, Qe = (e, t) => {
220
+ }, Je = (e, t) => {
231
221
  if (!(!e.getCustomContent || !c.value))
232
222
  try {
233
223
  return c.value[e.getCustomContent](m, t, e);
234
224
  } catch (a) {
235
225
  console.error(a);
236
226
  }
237
- }, Xe = q(() => !o.rowBtns || o.rowBtns.length === 0 || !p.value || p.value.length === 0 ? !1 : p.value.some(
227
+ }, Qe = q(() => !o.rowBtns || o.rowBtns.length === 0 || !p.value || p.value.length === 0 ? !1 : p.value.some(
238
228
  (e) => {
239
229
  var t;
240
- return (t = o.rowBtns) == null ? void 0 : t.some((a) => a.condition === void 0 || a.condition === null ? !0 : I(a.condition, {
230
+ return (t = o.rowBtns) == null ? void 0 : t.some((a) => a.condition === void 0 || a.condition === null ? !0 : F(a.condition, {
241
231
  $row: e,
242
- $globalParams: $()
232
+ $globalParams: D()
243
233
  }));
244
234
  }
245
- )), ae = yt(), Ye = y(o.showPollCheckbox || !1);
235
+ )), oe = mt(), Xe = y(o.showPollCheckbox || !1);
246
236
  y(10);
247
- const Ze = y(10), V = y(void 0);
237
+ const Ye = y(10), U = y(void 0);
248
238
  function le(e) {
249
239
  if (e) {
250
- V.value = e;
240
+ U.value = e;
251
241
  return;
252
242
  }
253
- o.heightDifference && Number(o.heightDifference) > 0 ? V.value = window.innerHeight - Number(o.heightDifference) : V.value = void 0;
243
+ o.heightDifference && Number(o.heightDifference) > 0 ? U.value = window.innerHeight - Number(o.heightDifference) : U.value = void 0;
254
244
  }
255
- const G = y(!1), et = (e) => {
256
- G.value = e;
257
- }, tt = () => W(), re = async () => {
245
+ const B = y(!1), Ze = (e) => {
246
+ B.value = e;
247
+ }, et = () => G(), re = async () => {
258
248
  if (!o.onMounted || !c.value)
259
249
  return;
260
250
  await de();
@@ -274,65 +264,65 @@ handleRowClick: ${o.rowClick}
274
264
  console.error(t);
275
265
  }
276
266
  };
277
- rt(async () => {
267
+ lt(async () => {
278
268
  await re(), le();
279
- }), it(() => {
269
+ }), rt(() => {
280
270
  ie();
281
- }), st(() => {
271
+ }), it(() => {
282
272
  });
283
- const se = ut({
284
- ...ct(o),
285
- setCellData: we,
286
- clearSelection: Re,
287
- getData: Ne,
288
- getCurrentRow: $e,
289
- getSelectedRows: xe,
290
- addRow: Ge,
291
- deleteRow: qe,
292
- refresh: Oe,
273
+ const se = st({
274
+ ...ut(o),
275
+ setCellData: ke,
276
+ clearSelection: _e,
277
+ getData: Te,
278
+ getCurrentRow: Ne,
279
+ getSelectedRows: $e,
280
+ addRow: We,
281
+ deleteRow: Ge,
282
+ refresh: qe,
293
283
  validate: De,
294
- setData: We,
295
- selectRow: Ve,
296
- selectRowNum: Ue,
284
+ setData: je,
285
+ selectRow: Ke,
286
+ selectRowNum: Ve,
297
287
  setTotal: Ae,
298
288
  getTotal: Ie,
299
- getPagination: Fe,
300
- setPagination: Ee,
301
- setTopBtnHidden: Me,
302
- setColVisible: Se,
303
- setColumn: je,
304
- setRowsBtnHidden: Le,
305
- pollEnabled: Ye,
306
- pollInterval: Ze,
307
- rootRef: oe,
289
+ getPagination: Le,
290
+ setPagination: Fe,
291
+ setTopBtnHidden: xe,
292
+ setColVisible: we,
293
+ setColumn: Ue,
294
+ setRowsBtnHidden: Me,
295
+ pollEnabled: Xe,
296
+ pollInterval: Ye,
297
+ rootRef: ae,
308
298
  mounted: re,
309
299
  activated: ie,
310
- toggleSelection: Te,
311
- setLoading: et,
300
+ toggleSelection: Re,
301
+ setLoading: Ze,
312
302
  setMaxTableHeight: le,
313
- getColumns: tt,
303
+ getColumns: et,
314
304
  type: "table"
315
305
  });
316
306
  if (o.name) {
317
- const e = vt(o.name, se);
318
- pt(() => {
307
+ const e = yt(o.name, se);
308
+ ct(() => {
319
309
  e();
320
310
  });
321
311
  }
322
- return fe(se), (e, t) => {
323
- const a = L("el-table-column"), r = L("el-popover"), C = L("el-tooltip"), U = L("el-button"), nt = L("el-pagination"), ue = dt("loading");
312
+ return ve(se), (e, t) => {
313
+ const a = I("el-table-column"), r = I("el-popover"), C = I("el-tooltip"), j = I("el-button"), tt = I("el-pagination"), ue = pt("loading");
324
314
  return e.hidden ? f("", !0) : (i(), g("div", {
325
315
  key: 0,
326
- class: A(["table-render", {
316
+ class: L(["table-render", {
327
317
  [e.name]: !0,
328
318
  "legacy-pagination-padding": e.paginationPosition === "top"
329
319
  }]),
330
320
  ref_key: "rootRef",
331
- ref: oe,
321
+ ref: ae,
332
322
  id: e.name
333
323
  }, [
334
- O(B("div", null, [
335
- O((i(), v(d(St), {
324
+ O(_("div", null, [
325
+ O((i(), v(d(wt), {
336
326
  ref_key: "tableRef",
337
327
  ref: S,
338
328
  data: p.value,
@@ -340,21 +330,21 @@ handleRowClick: ${o.rowClick}
340
330
  border: !0,
341
331
  "row-key": e.rowKey,
342
332
  stripe: e.stripe,
343
- onRowClick: be,
344
- onRowDblclick: Pe,
345
- onSelectionChange: Be,
333
+ onRowClick: Se,
334
+ onRowDblclick: be,
335
+ onSelectionChange: ze,
346
336
  onCurrentChange: ne,
347
337
  height: e.height || void 0,
348
- "max-height": V.value,
338
+ "max-height": U.value,
349
339
  "scrollbar-always-on": ""
350
340
  }, {
351
341
  empty: h(() => [
352
- B("div", Pt, [
353
- k(d(ft), {
342
+ _("div", bt, [
343
+ k(d(vt), {
354
344
  name: "tableEmpty",
355
345
  style: { width: 56, height: 56 }
356
346
  }),
357
- B("div", null, _(d(ae).table.emptyText), 1)
347
+ _("div", null, R(d(oe).table.emptyText), 1)
358
348
  ])
359
349
  ]),
360
350
  default: h(() => [
@@ -363,9 +353,9 @@ handleRowClick: ${o.rowClick}
363
353
  type: "selection",
364
354
  fixed: "left",
365
355
  width: "55",
366
- selectable: _e
356
+ selectable: Be
367
357
  })) : f("", !0),
368
- (i(!0), g(R, null, ge(e.columns, (n) => (i(), g(R, {
358
+ (i(!0), g(T, null, ge(e.columns, (n) => (i(), g(T, {
369
359
  key: n.key
370
360
  }, [
371
361
  n.hidden ? f("", !0) : (i(), v(a, {
@@ -376,98 +366,98 @@ handleRowClick: ${o.rowClick}
376
366
  sortable: n.sortable ?? e.sortable ?? !0
377
367
  }, {
378
368
  header: h(() => [
379
- B("div", {
369
+ _("div", {
380
370
  class: "text-ellipsis",
381
371
  title: Q(n.label)
382
- }, _(Q(n.label)), 9, zt)
372
+ }, R(Q(n.label)), 9, Pt)
383
373
  ]),
384
374
  default: h(({ row: s, $index: l }) => {
385
- var x, T, ce, pe;
375
+ var x, N, ce, pe;
386
376
  return [
387
377
  n.type === "link" ? (i(), g("div", {
388
378
  key: 0,
389
- class: A(["text-ellipsis link-style", { "click-style": n.onClick }]),
379
+ class: L(["text-ellipsis link-style", { "click-style": n.onClick }]),
390
380
  title: z(n, s),
391
- onClick: (w) => E(n, s, l, w)
392
- }, _(z(n, s)), 11, Bt)) : n.type === "iconText" ? (i(), g("div", _t, [
393
- n.iconPosition === "left" ? (i(), g(R, { key: 0 }, [
394
- n.iconPopover && Array.isArray(K(n, s)) ? (i(), v(r, { key: 0 }, {
381
+ onClick: (w) => H(n, s, l, w)
382
+ }, R(z(n, s)), 11, zt)) : n.type === "iconText" ? (i(), g("div", Bt, [
383
+ n.iconPosition === "left" ? (i(), g(T, { key: 0 }, [
384
+ n.iconPopover && Array.isArray(V(n, s)) ? (i(), v(r, { key: 0 }, {
395
385
  reference: h(() => {
396
- var w, D;
386
+ var w, M;
397
387
  return [
398
- k(N, {
388
+ k($, {
399
389
  name: (w = P(n, s)) == null ? void 0 : w.name,
400
- color: (D = P(n, s)) == null ? void 0 : D.color
390
+ color: (M = P(n, s)) == null ? void 0 : M.color
401
391
  }, null, 8, ["name", "color"])
402
392
  ];
403
393
  }),
404
394
  default: h(() => [
405
- k(d(j), {
406
- list: K(n, s) || []
395
+ k(d(W), {
396
+ list: V(n, s) || []
407
397
  }, null, 8, ["list"])
408
398
  ]),
409
399
  _: 2
410
- }, 1024)) : (i(), v(N, {
400
+ }, 1024)) : (i(), v($, {
411
401
  key: 1,
412
402
  name: (x = P(n, s)) == null ? void 0 : x.name,
413
- color: (T = P(n, s)) == null ? void 0 : T.color
403
+ color: (N = P(n, s)) == null ? void 0 : N.color
414
404
  }, null, 8, ["name", "color"]))
415
405
  ], 64)) : f("", !0),
416
- B("span", {
417
- class: A(["text-ellipsis", { "click-style": n.onClick }]),
406
+ _("span", {
407
+ class: L(["text-ellipsis", { "click-style": n.onClick }]),
418
408
  title: z(n, s),
419
- onClick: (w) => E(n, s, l, w)
420
- }, _(z(n, s)), 11, Rt),
421
- n.iconPosition === "right" ? (i(), g(R, { key: 1 }, [
422
- n.iconPopover && Array.isArray(K(n, s)) ? (i(), v(r, { key: 0 }, {
409
+ onClick: (w) => H(n, s, l, w)
410
+ }, R(z(n, s)), 11, _t),
411
+ n.iconPosition === "right" ? (i(), g(T, { key: 1 }, [
412
+ n.iconPopover && Array.isArray(V(n, s)) ? (i(), v(r, { key: 0 }, {
423
413
  reference: h(() => {
424
- var w, D;
414
+ var w, M;
425
415
  return [
426
- k(N, {
416
+ k($, {
427
417
  name: (w = P(n, s)) == null ? void 0 : w.name,
428
- color: (D = P(n, s)) == null ? void 0 : D.color
418
+ color: (M = P(n, s)) == null ? void 0 : M.color
429
419
  }, null, 8, ["name", "color"])
430
420
  ];
431
421
  }),
432
422
  default: h(() => [
433
- k(d(j), {
434
- list: K(n, s) || []
423
+ k(d(W), {
424
+ list: V(n, s) || []
435
425
  }, null, 8, ["list"])
436
426
  ]),
437
427
  _: 2
438
- }, 1024)) : (i(), v(N, {
428
+ }, 1024)) : (i(), v($, {
439
429
  key: 1,
440
430
  name: (ce = P(n, s)) == null ? void 0 : ce.name,
441
431
  color: (pe = P(n, s)) == null ? void 0 : pe.color
442
432
  }, null, 8, ["name", "color"]))
443
433
  ], 64)) : f("", !0)
444
- ])) : n.type === "customContent" ? (i(), g("div", Tt, [
445
- k(d(j), {
446
- list: Qe(n, s) || []
434
+ ])) : n.type === "customContent" ? (i(), g("div", Rt, [
435
+ k(d(W), {
436
+ list: Je(n, s) || []
447
437
  }, null, 8, ["list"])
448
438
  ])) : (i(), g("div", {
449
439
  key: 3,
450
- class: A({ "text-ellipsis": !n.noEllipsis }),
440
+ class: L({ "text-ellipsis": !n.noEllipsis }),
451
441
  title: z(n, s),
452
- style: J(Je(n, s))
453
- }, _(z(n, s)), 15, Nt))
442
+ style: J(Oe(n, s))
443
+ }, R(z(n, s)), 15, Tt))
454
444
  ];
455
445
  }),
456
446
  _: 2
457
447
  }, 1032, ["prop", "min-width", "fixed", "sortable"]))
458
448
  ], 64))), 128)),
459
- Xe.value && e.rowBtns && e.rowBtns.length > 0 ? (i(), v(a, {
449
+ Qe.value && e.rowBtns && e.rowBtns.length > 0 ? (i(), v(a, {
460
450
  key: 1,
461
- label: e.rowBtnsLabel || d(ae).table.actionColumn,
451
+ label: e.rowBtnsLabel || d(oe).table.actionColumn,
462
452
  fixed: "right",
463
453
  align: "left",
464
454
  width: e.rowBtnsWidth || (e.rowBtns.length * 34 + 12 > 100 ? e.rowBtns.length * 34 + 12 : 100)
465
455
  }, {
466
456
  default: h(({ row: n, $index: s }) => [
467
- B("div", $t, [
468
- (i(!0), g(R, null, ge(e.rowBtns, (l) => {
457
+ _("div", Nt, [
458
+ (i(!0), g(T, null, ge(e.rowBtns, (l) => {
469
459
  var x;
470
- return i(), g(R, {
460
+ return i(), g(T, {
471
461
  key: l.key
472
462
  }, [
473
463
  l.component === "Popover" ? (i(), v(r, {
@@ -478,16 +468,16 @@ handleRowClick: ${o.rowClick}
478
468
  width: (x = l.children) != null && x.length && l.children[0].width || 400
479
469
  }, {
480
470
  reference: h(() => [
481
- l.condition === void 0 || l.condition === null || d(I)(l.condition, {
471
+ l.condition === void 0 || l.condition === null || d(F)(l.condition, {
482
472
  $row: n,
483
- $globalParams: d($)()
484
- }) ? (i(), v(U, {
473
+ $globalParams: d(D)()
474
+ }) ? (i(), v(j, {
485
475
  key: 0,
486
476
  disabled: l.disabled,
487
477
  link: "",
488
478
  size: "small",
489
479
  type: l.type,
490
- onClick: he((T) => E(l, n, s, T), ["stop"])
480
+ onClick: he((N) => H(l, n, s, N), ["stop"])
491
481
  }, {
492
482
  default: h(() => [
493
483
  k(C, {
@@ -497,7 +487,7 @@ handleRowClick: ${o.rowClick}
497
487
  placement: "top"
498
488
  }, {
499
489
  default: h(() => [
500
- l.icon ? (i(), v(N, {
490
+ l.icon ? (i(), v($, {
501
491
  key: 0,
502
492
  name: l.icon.name,
503
493
  color: l.icon.color
@@ -508,33 +498,33 @@ handleRowClick: ${o.rowClick}
508
498
  l.buttonText ? (i(), g("span", {
509
499
  key: 0,
510
500
  style: J({ color: l.buttonText.color, fontSize: "14px" })
511
- }, _(d(I)(l.buttonText.text, {
501
+ }, R(d(F)(l.buttonText.text, {
512
502
  $row: n,
513
- $globalParams: d($)()
503
+ $globalParams: d(D)()
514
504
  })), 5)) : f("", !0)
515
505
  ]),
516
506
  _: 2
517
507
  }, 1032, ["disabled", "type", "onClick"])) : f("", !0)
518
508
  ]),
519
509
  default: h(() => [
520
- B("div", null, [
521
- k(d(j), {
510
+ _("div", null, [
511
+ k(d(W), {
522
512
  list: l.children
523
513
  }, null, 8, ["list"])
524
514
  ])
525
515
  ]),
526
516
  _: 2
527
- }, 1032, ["title", "width"])) : (i(), g(R, { key: 1 }, [
528
- l.condition === void 0 || l.condition === null || d(I)(l.condition, {
517
+ }, 1032, ["title", "width"])) : (i(), g(T, { key: 1 }, [
518
+ l.condition === void 0 || l.condition === null || d(F)(l.condition, {
529
519
  $row: n,
530
- $globalParams: d($)()
531
- }) ? (i(), v(U, {
520
+ $globalParams: d(D)()
521
+ }) ? (i(), v(j, {
532
522
  key: 0,
533
523
  disabled: l.disabled,
534
524
  link: "",
535
525
  size: "small",
536
526
  type: l.type,
537
- onClick: he((T) => E(l, n, s, T), ["stop"])
527
+ onClick: he((N) => H(l, n, s, N), ["stop"])
538
528
  }, {
539
529
  default: h(() => [
540
530
  k(C, {
@@ -544,7 +534,7 @@ handleRowClick: ${o.rowClick}
544
534
  placement: "top"
545
535
  }, {
546
536
  default: h(() => [
547
- l.icon ? (i(), v(N, {
537
+ l.icon ? (i(), v($, {
548
538
  key: 0,
549
539
  name: l.icon.name,
550
540
  color: l.icon.color
@@ -555,9 +545,9 @@ handleRowClick: ${o.rowClick}
555
545
  l.buttonText ? (i(), g("span", {
556
546
  key: 0,
557
547
  style: J({ color: l.buttonText.color, fontSize: "14px" })
558
- }, _(d(I)(l.buttonText.text, {
548
+ }, R(d(F)(l.buttonText.text, {
559
549
  $row: n,
560
- $globalParams: d($)()
550
+ $globalParams: d(D)()
561
551
  })), 5)) : f("", !0)
562
552
  ]),
563
553
  _: 2
@@ -572,12 +562,12 @@ handleRowClick: ${o.rowClick}
572
562
  ]),
573
563
  _: 1
574
564
  }, 8, ["data", "row-key", "stripe", "height", "max-height"])), [
575
- [ue, G.value]
565
+ [ue, B.value]
576
566
  ])
577
567
  ], 512), [
578
- [me, F.value === "table"]
568
+ [me, E.value === "table"]
579
569
  ]),
580
- O(k(Ct, gt({
570
+ O(k(ft, dt({
581
571
  ref_key: "cardListRef",
582
572
  ref: ee,
583
573
  data: p.value
@@ -585,20 +575,20 @@ handleRowClick: ${o.rowClick}
585
575
  getColText: z,
586
576
  onCurrentChange: ne
587
577
  }), null, 16, ["data"]), [
588
- [me, F.value === "card"],
589
- [ue, G.value]
578
+ [me, E.value === "card"],
579
+ [ue, B.value]
590
580
  ]),
591
- H.value > 0 ? (i(), g("div", {
581
+ K.value > 0 ? (i(), g("div", {
592
582
  key: 0,
593
- class: A(["pagination-wrapper", {
583
+ class: L(["pagination-wrapper", {
594
584
  hidePagination: e.hiddenPagination && !e.height,
595
585
  transparentPagination: e.hiddenPagination && e.height,
596
- cardlistPadding: F.value === "card"
586
+ cardlistPadding: E.value === "card"
597
587
  }])
598
588
  }, [
599
- k(nt, {
589
+ k(tt, {
600
590
  layout: e.paginationLayout || "total,sizes, prev, pager, next,jumper",
601
- total: H.value,
591
+ total: K.value,
602
592
  "page-sizes": e.pageSizes || [5, 6, 10, 20, 30, 40],
603
593
  "default-page-size": e.defaultPageSize,
604
594
  "current-page": u.value.pageNum,
@@ -606,14 +596,14 @@ handleRowClick: ${o.rowClick}
606
596
  "page-size": u.value.pageSize,
607
597
  "onUpdate:pageSize": t[1] || (t[1] = (n) => u.value.pageSize = n),
608
598
  "pager-count": 5,
609
- onSizeChange: He,
610
- onCurrentChange: Ke
599
+ onSizeChange: Ee,
600
+ onCurrentChange: He
611
601
  }, null, 8, ["layout", "total", "page-sizes", "default-page-size", "current-page", "page-size"])
612
602
  ], 2)) : f("", !0)
613
- ], 10, bt));
603
+ ], 10, St));
614
604
  };
615
605
  }
616
- }), At = /* @__PURE__ */ wt(xt, [["__scopeId", "data-v-104b64d4"]]);
606
+ }), At = /* @__PURE__ */ kt($t, [["__scopeId", "data-v-363bb345"]]);
617
607
  export {
618
608
  At as default
619
609
  };