@dazhicheng/ui 1.5.220 → 1.5.221

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.
@@ -1,39 +1,39 @@
1
- import { defineComponent as Me, useSlots as Ee, ref as Oe, computed as b, toValue as S, getCurrentInstance as Ae, onMounted as U, watch as O, onUnmounted as _e, createElementBlock as q, openBlock as G, normalizeClass as B, unref as a, createCommentVNode as ke, createElementVNode as Re, createVNode as A, renderSlot as g, createSlots as J, renderList as Q, withCtx as M, normalizeProps as X, guardReactiveProps as Y, mergeProps as Z, toHandlers as $e, nextTick as Be } from "vue";
1
+ import { defineComponent as Ae, useSlots as Ee, ref as Oe, computed as f, toValue as E, getCurrentInstance as _e, onMounted as q, watch as O, onUnmounted as ke, createElementBlock as G, openBlock as J, normalizeClass as V, unref as s, createCommentVNode as Re, createElementVNode as $e, createVNode as _, renderSlot as g, createSlots as Q, renderList as X, withCtx as M, normalizeProps as Y, guardReactiveProps as Z, mergeProps as ee, toHandlers as Be, nextTick as Ve } from "vue";
2
2
  import "../../tt-button/index.js";
3
3
  import "../../tt-checkbox/index.js";
4
4
  import "../../tt-empty/index.js";
5
- import { kebabToCamelCase as Ve } from "../../../packages/utils/src/string.js";
5
+ import { kebabToCamelCase as Le } from "../../../packages/utils/src/string.js";
6
6
  import "axios";
7
7
  import "element-plus";
8
- import { isFunction as Le } from "../../../packages/utils/src/is.js";
9
- import { extractResourceFromApi as xe, generateTestId as _ } from "../../../packages/utils/src/testid-helper.js";
10
- import Ke from "xe-utils";
8
+ import { isFunction as xe } from "../../../packages/utils/src/is.js";
9
+ import { extractResourceFromApi as Ke, generateTestId as k } from "../../../packages/utils/src/testid-helper.js";
10
+ import je from "xe-utils";
11
11
  import "dayjs";
12
12
  import "dayjs/plugin/utc";
13
13
  import "dayjs/plugin/timezone";
14
- import { mergeWithArrayOverride as je } from "../../../packages/utils/src/merge.js";
14
+ import { mergeWithArrayOverride as ze } from "../../../packages/utils/src/merge.js";
15
15
  import "../../../node_modules/.pnpm/decimal.js@10.6.0/node_modules/decimal.js/decimal.js";
16
16
  import "../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/aes.js";
17
17
  import "../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/enc-utf8.js";
18
18
  import "../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ecb.js";
19
19
  import "../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-pkcs7.js";
20
- import { omit as ze } from "lodash-es";
20
+ import { omit as De } from "lodash-es";
21
21
  import "../../tt-select/index.js";
22
22
  import "../../tt-radio-group/index.js";
23
23
  import "../../tt-panel-select/index.js";
24
24
  import "../../tt-upload/index.js";
25
25
  import "../../tt-api-component/index.js";
26
26
  import "vee-validate";
27
- import { useForm as De } from "../../tt-form/src/useForm.js";
27
+ import { useForm as Ne } from "../../tt-form/src/useForm.js";
28
28
  import "zod";
29
29
  import "@vee-validate/zod";
30
- import { useStore as Ne } from "@tanstack/vue-store";
30
+ import { useStore as He } from "@tanstack/vue-store";
31
31
  import "es-toolkit/compat";
32
32
  import "../../tt-form/src/shared/zod-defaults.js";
33
33
  import "../../tt-nav-anchor/index.js";
34
34
  import "../../../node_modules/.pnpm/vue-types@5.1.3_vue@3.5.21_typescript@5.9.3_/node_modules/vue-types/shim/index.modern.js";
35
- import { useDesign as He } from "../../../packages/hooks/src/useDesign.js";
36
- import { useDebounceFn as V } from "../../../packages/hooks/src/useDebounce.js";
35
+ import { useDesign as We } from "../../../packages/hooks/src/useDesign.js";
36
+ import { useDebounceFn as L } from "../../../packages/hooks/src/useDebounce.js";
37
37
  import "../../tt-icon/index.js";
38
38
  import "../../tt-form/src/components/Slot.js";
39
39
  import "../../tt-form-item-error-tooltip/index.js";
@@ -48,7 +48,7 @@ import "../../tt-drawer/index.js";
48
48
  import "../../tt-modal/index.js";
49
49
  import "../../tt-text/index.js";
50
50
  import "../../../directives/disabled-tip/index.js";
51
- import { GlobalConfig as We } from "../../../hooks/useSetup.js";
51
+ import { GlobalConfig as Ue } from "../../../hooks/useSetup.js";
52
52
  import "../../tt-log/index.js";
53
53
  /* empty css */
54
54
  /* empty css */
@@ -59,24 +59,24 @@ import "../../tt-loading/index.js";
59
59
  import "../index.js";
60
60
  import "vue-router";
61
61
  import "numeral";
62
- import Ue from "./components/TableColumnModal.vue2.js";
62
+ import qe from "./components/TableColumnModal.vue2.js";
63
63
  /* empty css */
64
- import { provideFormActionTestIds as qe } from "./utils/context.js";
65
- import Ge from "./components/TableToobalTools.vue.js";
66
- import { basicTableEmits as ee } from "./emits.js";
67
- import Je from "./Table.vue.js";
64
+ import { provideFormActionTestIds as Ge } from "./utils/context.js";
65
+ import Je from "./components/TableToobalTools.vue.js";
66
+ import { basicTableEmits as te } from "./emits.js";
67
+ import Qe from "./Table.vue.js";
68
68
  /* empty css */
69
- import { createTableFormContext as Qe } from "./hooks/useTableContext.js";
70
- import { useTableForm as Xe } from "./hooks/useTableForm.js";
71
- import { useCustomColumns as Ye } from "./hooks/useCustomColumns.js";
72
- import { useTableSlot as Ze } from "./hooks/useTableSlot.js";
73
- import { tableFormProps as et } from "./props.js";
74
- import { getDefaultState as tt } from "./utils/table-api.js";
75
- import { TableFormApi as ot } from "./utils/table-form-api.js";
76
- const rt = ["data-testid"], st = ["data-testid"], Mo = /* @__PURE__ */ Me({
69
+ import { createTableFormContext as Xe } from "./hooks/useTableContext.js";
70
+ import { useTableForm as Ye } from "./hooks/useTableForm.js";
71
+ import { useCustomColumns as Ze } from "./hooks/useCustomColumns.js";
72
+ import { useTableSlot as et } from "./hooks/useTableSlot.js";
73
+ import { tableFormProps as tt } from "./props.js";
74
+ import { getDefaultState as ot } from "./utils/table-api.js";
75
+ import { TableFormApi as rt } from "./utils/table-form-api.js";
76
+ const st = ["data-testid"], at = ["data-testid"], Ao = /* @__PURE__ */ Ae({
77
77
  name: "TtTableForm",
78
78
  __name: "TableForm",
79
- props: et,
79
+ props: tt,
80
80
  emits: [
81
81
  "register",
82
82
  "update:table-data",
@@ -85,101 +85,101 @@ const rt = ["data-testid"], st = ["data-testid"], Mo = /* @__PURE__ */ Me({
85
85
  "export",
86
86
  "import",
87
87
  "set-columns",
88
- ...ee
88
+ ...te
89
89
  ],
90
- setup(te, { expose: oe, emit: re }) {
91
- var N, H, W;
92
- const p = te, T = re, L = Ee(), { prefixCls: k } = He("table-form"), w = Oe();
90
+ setup(oe, { expose: re, emit: se }) {
91
+ var H, W, U;
92
+ const p = oe, S = se, x = Ee(), { prefixCls: R } = We("table-form"), T = Oe();
93
93
  let t = p.tableFormApi;
94
94
  if (!t) {
95
- t = new ot(p);
95
+ t = new rt(p);
96
96
  const e = t;
97
- e.useStore = (o) => Ne(t.store, o), t = e;
97
+ e.useStore = (o) => He(t.store, o), t = e;
98
98
  }
99
- const R = (N = t == null ? void 0 : t.useStore) == null ? void 0 : N.call(t), C = b(() => {
99
+ const $ = (H = t == null ? void 0 : t.useStore) == null ? void 0 : H.call(t), C = f(() => {
100
100
  var o;
101
101
  if (p.testId) return p.testId;
102
- const e = (o = S(R)) == null ? void 0 : o.table;
103
- return e != null && e.api ? xe(e.api) : "table";
104
- }), se = b(() => _(C.value, "tableform")), ae = b(() => _(C.value, "search-form-header")), ie = b(() => _(C.value, "search-btn-query")), le = b(() => _(C.value, "search-btn-reset")), ne = b(() => ({
105
- submit: ie.value,
106
- reset: le.value
102
+ const e = (o = E($)) == null ? void 0 : o.table;
103
+ return e != null && e.api ? Ke(e.api) : "table";
104
+ }), ae = f(() => k(C.value, "tableform")), ie = f(() => k(C.value, "search-form-header")), le = f(() => k(C.value, "search-btn-query")), ne = f(() => k(C.value, "search-btn-reset")), me = f(() => ({
105
+ submit: le.value,
106
+ reset: ne.value
107
107
  }));
108
- qe(ne);
109
- const x = {}, u = Ae(), v = b(() => S(R)), { getFormSlotKeysFunc: me, getTableSlotKeysFunc: pe, replaceTableSlotKey: ue, replaceFormSlotKey: ce } = Ze(), {
110
- tableData: de,
111
- getFormProps: $,
108
+ Ge(me);
109
+ const K = {}, u = _e(), v = f(() => E($)), { getFormSlotKeysFunc: pe, getTableSlotKeysFunc: ue, replaceTableSlotKey: ce, replaceFormSlotKey: de } = et(), {
110
+ tableData: be,
111
+ getFormProps: B,
112
112
  getTableProps: c,
113
113
  getTableToolProps: fe,
114
- handleSearchInfoChange: K
115
- } = Xe(
114
+ handleSearchInfoChange: j
115
+ } = Ye(
116
116
  v,
117
117
  t.tableApi.reload,
118
118
  t.tableApi.getLoading,
119
119
  t.tableApi.getPagination,
120
- T
121
- ), { run: be } = V(
120
+ S
121
+ ), { run: ge } = L(
122
122
  async () => {
123
123
  const e = await r.getValues();
124
124
  await r.resetForm(e, { force: !0 });
125
125
  const o = await r.getValues();
126
- r.setLatestSubmissionValues(o), (await (r == null ? void 0 : r.validate())).valid && K(o);
126
+ r.setLatestSubmissionValues(o), (await (r == null ? void 0 : r.validate())).valid && j(o);
127
127
  },
128
128
  200,
129
129
  { leading: !0 }
130
- ), { run: ge } = V(
130
+ ), { run: he } = L(
131
131
  async (e) => {
132
- await t.grid.clearFilter(), await K(e);
132
+ await t.grid.clearFilter(), await j(e);
133
133
  },
134
134
  200,
135
135
  { leading: !0 }
136
- ), [he, r] = De({
137
- ...S($),
138
- handleSubmit: ge,
139
- handleReset: be,
136
+ ), [Ce, r] = Ne({
137
+ ...E(B),
138
+ handleSubmit: he,
139
+ handleReset: ge,
140
140
  submitOnEnter: !0,
141
141
  submitButtonOptions: {
142
- content: (H = We.form) == null ? void 0 : H.submitTitle
142
+ content: (W = Ue.form) == null ? void 0 : W.submitTitle
143
143
  },
144
144
  showCollapseButton: !0,
145
145
  collapsed: !0,
146
146
  collapseTriggerResize: !0
147
- }), { initCustomSetting: Ce, saveColumns: ve } = Ye({
147
+ }), { initCustomSetting: ve, saveColumns: Se } = Ze({
148
148
  getTableProps: c,
149
149
  tableMethods: t.tableApi,
150
150
  getProps: v
151
- }), j = async () => {
152
- await Be(), t.tableApi && t.tableApi.redoHeight();
151
+ }), z = async () => {
152
+ await Ve(), t.tableApi && t.tableApi.redoHeight();
153
153
  };
154
- ee.forEach((e) => {
155
- const o = Ke.camelCase(e);
156
- x[o] = (...s) => T(e, ...s);
154
+ te.forEach((e) => {
155
+ const o = je.camelCase(e);
156
+ K[o] = (...a) => S(e, ...a);
157
157
  });
158
- const Se = {
159
- ...x
158
+ const Te = {
159
+ ...K
160
160
  };
161
- function Te(e) {
162
- t.setState((o) => o.table ? (o.table.getSyncSlotComponent = p.table.getSyncSlotComponent, je(
161
+ function we(e) {
162
+ t.setState((o) => o.table ? (o.table.getSyncSlotComponent = p.table.getSyncSlotComponent, ze(
163
163
  {
164
164
  ...e,
165
165
  table: {
166
- ...tt(),
166
+ ...ot(),
167
167
  ...e.table
168
168
  }
169
169
  },
170
170
  o
171
171
  )) : {}), e.table && t.tableApi.setState(e.table), e.form && (r == null || r.setState(e.form));
172
172
  }
173
- const { run: we } = V(
173
+ const { run: ye } = L(
174
174
  async (e) => {
175
- r.isMounted && a(v).useSearchForm ? r.validate().then(async (o) => {
175
+ r.isMounted && s(v).useSearchForm ? r.validate().then(async (o) => {
176
176
  if (o.valid) {
177
- const s = await r.getValues();
177
+ const a = await r.getValues();
178
178
  await t.tableApi.reload({
179
179
  ...e,
180
180
  searchInfo: {
181
181
  ...e == null ? void 0 : e.searchInfo,
182
- ...s
182
+ ...a
183
183
  }
184
184
  });
185
185
  }
@@ -192,58 +192,62 @@ const rt = ["data-testid"], st = ["data-testid"], Mo = /* @__PURE__ */ Me({
192
192
  },
193
193
  200,
194
194
  { leading: !0 }
195
- ), E = {
195
+ ), A = {
196
196
  tableMethods: t.tableApi,
197
197
  formMethods: r,
198
198
  setTableProps: t.tableApi.setState,
199
199
  setFormProps: r.setState,
200
- setProps: Te,
201
- reload: we,
202
- selectedKeys: b(() => S(t.tableApi.selectedKeys))
200
+ setProps: we,
201
+ reload: ye,
202
+ selectedKeys: f(() => E(t.tableApi.selectedKeys))
203
203
  };
204
- async function ye() {
204
+ async function Fe() {
205
205
  const { tableRefreshBefore: e } = v.value;
206
- e && Le(e) && await e(), E.reload();
206
+ e && xe(e) && await e(), A.reload();
207
207
  }
208
- async function Fe(e) {
208
+ async function Pe(e) {
209
209
  var d, m;
210
- const o = ((m = (d = v.value) == null ? void 0 : d.table) == null ? void 0 : m.columns) || [], s = new Map(o.map((n) => [n.field, n])), l = e.checkedModel.map((n) => s.get(n)).filter(Boolean);
210
+ const o = ((m = (d = v.value) == null ? void 0 : d.table) == null ? void 0 : m.columns) || [], a = new Map(o.map((n) => [n.field, n])), l = e.checkedModel.map((n) => a.get(n)).filter(Boolean);
211
211
  if (e.isExport) {
212
- T("export", e.checkedModel, e.modalApi);
212
+ S("export", e.checkedModel, e.modalApi);
213
213
  return;
214
214
  }
215
215
  e.modalApi.setModalProps({
216
216
  confirmLoading: !0
217
- }), c.value.useHttpCache && await ve(JSON.stringify(e.checkedModel)), t.tableApi.setTableColumns(l), e.modalApi.setModalProps({
217
+ }), c.value.useHttpCache && await Se(JSON.stringify(e.checkedModel)), t.tableApi.setTableColumns(l), e.modalApi.setModalProps({
218
218
  confirmLoading: !1
219
- }), e.modalApi.closeModal(), T("set-columns", l);
219
+ }), e.modalApi.closeModal(), S("set-columns", l);
220
220
  }
221
- function z(e = !1) {
222
- var m, n, h, f, y, F, P, I;
223
- const { notSetColumnField: o, columns: s } = a(c), l = (f = (h = (n = ((m = t.tableApi.getTableInstance()) == null ? void 0 : m.getTableColumn()) || []) == null ? void 0 : n.visibleColumn) == null ? void 0 : h.map((i) => i.field)) == null ? void 0 : f.filter(Boolean), d = ((F = (y = a(s)) == null ? void 0 : y.filter((i) => i.visible === !0 || i.visible === void 0)) == null ? void 0 : F.map((i) => i.field)) || [];
224
- (P = w.value) == null || P.openModal({
225
- columns: (S(s) || []).filter((i) => i.visible !== !1),
221
+ function D(e = !1) {
222
+ var m, n, h, b, w, y, F, P, I;
223
+ const { notSetColumnField: o, columns: a } = s(c), l = (b = (h = (n = ((m = t.tableApi.getTableInstance()) == null ? void 0 : m.getTableColumn()) || []) == null ? void 0 : n.visibleColumn) == null ? void 0 : h.map((i) => i.field)) == null ? void 0 : b.filter(Boolean), d = ((y = (w = s(a)) == null ? void 0 : w.filter((i) => i.visible === !0 || i.visible === void 0)) == null ? void 0 : y.map((i) => i.field)) || [];
224
+ (P = T.value) == null || P.openModal({
225
+ columns: (((F = t.tableApi) == null ? void 0 : F.getTableColumns()) || []).filter(
226
+ (i) => i.visible !== !1
227
+ ),
226
228
  displayFields: e ? d : l,
227
229
  disabledColumnField: o || []
228
- }), (I = w.value) == null || I.setModalProps({
230
+ }), (I = T.value) == null || I.setModalProps({
229
231
  title: "列设置"
230
232
  });
231
233
  }
232
- function D(e = !1) {
233
- var m, n, h, f, y, F, P, I;
234
- const { notSetColumnField: o, columns: s } = a(c), l = (f = (h = (n = ((m = t.tableApi.getTableInstance()) == null ? void 0 : m.getTableColumn()) || []) == null ? void 0 : n.visibleColumn) == null ? void 0 : h.map((i) => i.field)) == null ? void 0 : f.filter(Boolean), d = ((F = (y = a(s)) == null ? void 0 : y.filter((i) => i.visible === !0 || i.visible === void 0)) == null ? void 0 : F.map((i) => i.field)) || [];
235
- (P = w.value) == null || P.openModal({
236
- columns: S(s) || [],
234
+ function N(e = !1) {
235
+ var m, n, h, b, w, y, F, P, I;
236
+ const { notSetColumnField: o, columns: a } = s(c), l = (b = (h = (n = ((m = t.tableApi.getTableInstance()) == null ? void 0 : m.getTableColumn()) || []) == null ? void 0 : n.visibleColumn) == null ? void 0 : h.map((i) => i.field)) == null ? void 0 : b.filter(Boolean), d = ((y = (w = s(a)) == null ? void 0 : w.filter((i) => i.visible === !0 || i.visible === void 0)) == null ? void 0 : y.map((i) => i.field)) || [];
237
+ (P = T.value) == null || P.openModal({
238
+ columns: (((F = t.tableApi) == null ? void 0 : F.getTableColumns()) || []).filter(
239
+ (i) => i.visible !== !1
240
+ ),
237
241
  displayFields: e ? d : l,
238
242
  disabledColumnField: o || [],
239
243
  isExport: !0
240
- }), (I = w.value) == null || I.setModalProps({
244
+ }), (I = T.value) == null || I.setModalProps({
241
245
  title: "自定义导出"
242
246
  });
243
247
  }
244
- Qe({ formInstance: r }), U(() => {
245
- u && T("register", E, u == null ? void 0 : u.uid), setTimeout(() => {
246
- Ce();
248
+ Xe({ formInstance: r }), q(() => {
249
+ u && S("register", A, u == null ? void 0 : u.uid), setTimeout(() => {
250
+ ve();
247
251
  }, 16);
248
252
  }), O(
249
253
  () => t.tableApi.getLoading.value,
@@ -252,9 +256,9 @@ const rt = ["data-testid"], st = ["data-testid"], Mo = /* @__PURE__ */ Me({
252
256
  submitButtonOptions: { loading: t.tableApi.getLoading.value }
253
257
  });
254
258
  },
255
- { immediate: (W = R.value.table) == null ? void 0 : W.immediate }
259
+ { immediate: (U = $.value.table) == null ? void 0 : U.immediate }
256
260
  ), O(
257
- () => $.value,
261
+ () => B.value,
258
262
  (e) => {
259
263
  r && (r == null || r.setState(e));
260
264
  },
@@ -266,79 +270,79 @@ const rt = ["data-testid"], st = ["data-testid"], Mo = /* @__PURE__ */ Me({
266
270
  t != null && t.tableApi && ((o = t == null ? void 0 : t.tableApi) == null || o.setState(e));
267
271
  },
268
272
  { deep: !0 }
269
- ), window.addEventListener("resize", j), U(() => {
270
- t == null || t.mount(E, r), r == null || r.setState($.value);
273
+ ), window.addEventListener("resize", z), q(() => {
274
+ t == null || t.mount(A, r), r == null || r.setState(B.value);
271
275
  });
272
- function Pe(e) {
276
+ function Ie(e) {
273
277
  return Object.fromEntries(Object.entries(e).filter(([o]) => !o.startsWith("on")));
274
278
  }
275
- function Ie(e, o) {
276
- return Object.fromEntries(Object.keys(e).map((s) => [s, o[s]]));
279
+ function Me(e, o) {
280
+ return Object.fromEntries(Object.keys(e).map((a) => [a, o[a]]));
277
281
  }
278
282
  return O(
279
- () => ze(p, ["tableFormApi"]),
283
+ () => De(p, ["tableFormApi"]),
280
284
  () => {
281
285
  var m;
282
- const e = {}, o = ((m = u == null ? void 0 : u.vnode) == null ? void 0 : m.props) || {}, s = new Set(Object.keys(p));
286
+ const e = {}, o = ((m = u == null ? void 0 : u.vnode) == null ? void 0 : m.props) || {}, a = new Set(Object.keys(p));
283
287
  for (const [n, h] of Object.entries(o)) {
284
- const f = Ve(n);
285
- s.has(f) && (e[f] = h);
288
+ const b = Le(n);
289
+ a.has(b) && (e[b] = h);
286
290
  }
287
- const l = Pe(e), d = Ie(l, p);
291
+ const l = Ie(e), d = Me(l, p);
288
292
  t.setState(d);
289
293
  },
290
294
  { deep: !0 }
291
- ), _e(() => {
292
- t == null || t.unmount(), window.removeEventListener("resize", j);
293
- }), oe({ ...E, instance: u }), (e, o) => (G(), q("div", {
294
- class: B(a(k)),
295
- "data-testid": se.value
295
+ ), ke(() => {
296
+ t == null || t.unmount(), window.removeEventListener("resize", z);
297
+ }), re({ ...A, instance: u }), (e, o) => (J(), G("div", {
298
+ class: V(s(R)),
299
+ "data-testid": ae.value
296
300
  }, [
297
- v.value.useSearchForm ? (G(), q("div", {
301
+ v.value.useSearchForm ? (J(), G("div", {
298
302
  key: 0,
299
- class: B(`${a(k)}-header`),
300
- "data-testid": ae.value
303
+ class: V(`${s(R)}-header`),
304
+ "data-testid": ie.value
301
305
  }, [
302
- A(a(he), {
306
+ _(s(Ce), {
303
307
  "test-id": `${C.value}-search-form`
304
- }, J({ _: 2 }, [
305
- Q(a(me)(a(L)), (s) => ({
306
- name: a(ce)(s),
308
+ }, Q({ _: 2 }, [
309
+ X(s(pe)(s(x)), (a) => ({
310
+ name: s(de)(a),
307
311
  fn: M((l) => [
308
- g(e.$slots, s, X(Y(l || {})))
312
+ g(e.$slots, a, Y(Z(l || {})))
309
313
  ])
310
314
  }))
311
315
  ]), 1032, ["test-id"]),
312
316
  g(e.$slots, "header-down")
313
- ], 10, st)) : ke("", !0),
314
- Re("div", {
315
- class: B({
316
- [`${a(k)}-wrapper`]: !0,
317
+ ], 10, at)) : Re("", !0),
318
+ $e("div", {
319
+ class: V({
320
+ [`${s(R)}-wrapper`]: !0,
317
321
  "pt-(--tt-base-padding)!": !0,
318
- "pb-(--tt-base-padding)!": !a(c).showPager
322
+ "pb-(--tt-base-padding)!": !s(c).showPager
319
323
  })
320
324
  }, [
321
325
  g(e.$slots, "table-top"),
322
- A(Je, Z(a(c), {
323
- data: a(de),
326
+ _(Qe, ee(s(c), {
327
+ data: s(be),
324
328
  "table-row-id": e.tableRowId,
325
329
  "table-id": C.value,
326
- "form-api": a(r),
327
- "table-api": a(t).tableApi
328
- }, $e(Se)), J({ _: 2 }, [
329
- Q(a(pe)(a(L)), (s) => ({
330
- name: a(ue)(s),
330
+ "form-api": s(r),
331
+ "table-api": s(t).tableApi
332
+ }, Be(Te)), Q({ _: 2 }, [
333
+ X(s(ue)(s(x)), (a) => ({
334
+ name: s(ce)(a),
331
335
  fn: M((l) => [
332
- g(e.$slots, s, X(Y(l || {})))
336
+ g(e.$slots, a, Y(Z(l || {})))
333
337
  ])
334
338
  })),
335
- a(c).showToolbar ? {
339
+ s(c).showToolbar ? {
336
340
  name: "toolbar_tools",
337
341
  fn: M(() => [
338
- A(Ge, Z(a(fe), {
339
- onOnRefresh: ye,
340
- onOnExport: D,
341
- onOnColumnsSetting: z
342
+ _(Je, ee(s(fe), {
343
+ onOnRefresh: Fe,
344
+ onOnExport: N,
345
+ onOnColumnsSetting: D
342
346
  }), {
343
347
  "toolbar-left": M(() => [
344
348
  g(e.$slots, "t-toolbar_tools-left")
@@ -355,16 +359,16 @@ const rt = ["data-testid"], st = ["data-testid"], Mo = /* @__PURE__ */ Me({
355
359
  ]), 1040, ["data", "table-row-id", "table-id", "form-api", "table-api"]),
356
360
  g(e.$slots, "table-bottom")
357
361
  ], 2),
358
- A(Ue, {
362
+ _(qe, {
359
363
  ref_key: "tableColumnModalRef",
360
- ref: w,
361
- "open-export": D,
362
- "open-column": z,
363
- onOnSubmit: Fe
364
+ ref: T,
365
+ "open-export": N,
366
+ "open-column": D,
367
+ onOnSubmit: Pe
364
368
  }, null, 512)
365
- ], 10, rt));
369
+ ], 10, st));
366
370
  }
367
371
  });
368
372
  export {
369
- Mo as default
373
+ Ao as default
370
374
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dazhicheng/ui",
3
- "version": "1.5.220",
3
+ "version": "1.5.221",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",