@dazhicheng/ui 1.5.203 → 1.5.204

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 (149) hide show
  1. package/dist/_virtual/___vite-browser-external.js +6 -0
  2. package/dist/_virtual/__vite-browser-external.js +4 -0
  3. package/dist/_virtual/_commonjs-dynamic-modules.js +6 -0
  4. package/dist/_virtual/_commonjsHelpers.js +24 -0
  5. package/dist/_virtual/aes.js +4 -0
  6. package/dist/_virtual/cipher-core.js +4 -0
  7. package/dist/_virtual/core.js +4 -0
  8. package/dist/_virtual/enc-base64.js +4 -0
  9. package/dist/_virtual/enc-utf8.js +4 -0
  10. package/dist/_virtual/evpkdf.js +4 -0
  11. package/dist/_virtual/hmac.js +4 -0
  12. package/dist/_virtual/md5.js +4 -0
  13. package/dist/_virtual/mode-ecb.js +4 -0
  14. package/dist/_virtual/pad-pkcs7.js +4 -0
  15. package/dist/_virtual/sha1.js +4 -0
  16. package/dist/components/tt-api-component/index.js +17 -4
  17. package/dist/components/tt-api-component/index.vue2.js +24 -13
  18. package/dist/components/tt-area/TtArea.vue3.js +24 -13
  19. package/dist/components/tt-button/index.js +18 -5
  20. package/dist/components/tt-button/index.vue2.js +27 -16
  21. package/dist/components/tt-checkbox/index.js +17 -4
  22. package/dist/components/tt-checkbox/index.vue.js +38 -28
  23. package/dist/components/tt-drawer/index.js +17 -7
  24. package/dist/components/tt-drawer/src/RenderDrawer.vue.js +48 -36
  25. package/dist/components/tt-drawer/src/components/DrawerFooter.vue.js +39 -26
  26. package/dist/components/tt-drawer/src/components/DrawerHeader.vue2.js +23 -10
  27. package/dist/components/tt-drawer/src/props.js +22 -9
  28. package/dist/components/tt-drawer/src/utils/drawer-api.js +42 -33
  29. package/dist/components/tt-empty/index.js +28 -18
  30. package/dist/components/tt-form/index.js +22 -14
  31. package/dist/components/tt-form/src/components/ExpandableArrow.vue2.js +23 -14
  32. package/dist/components/tt-form/src/components/FormActions.vue2.js +42 -32
  33. package/dist/components/tt-form/src/form/FormDescription.vue.js +19 -10
  34. package/dist/components/tt-form/src/form/FormItem.vue.js +18 -9
  35. package/dist/components/tt-form/src/form/FormLabel.vue.js +18 -9
  36. package/dist/components/tt-form/src/form/RenderContent.vue.js +25 -13
  37. package/dist/components/tt-form/src/form-render/FormField.vue2.js +62 -55
  38. package/dist/components/tt-form/src/form-render/FormLabel.vue2.js +36 -28
  39. package/dist/components/tt-form/src/form-render/array-register/FormArrayRegister.js +64 -56
  40. package/dist/components/tt-form/src/form-render/array-register/utils.js +18 -8
  41. package/dist/components/tt-form/src/form-render/dependencies.js +36 -24
  42. package/dist/components/tt-form/src/form-render/form.vue2.js +17 -7
  43. package/dist/components/tt-form/src/form-render/helper.js +29 -16
  44. package/dist/components/tt-form/src/form-render/rootWrapperClass.js +17 -7
  45. package/dist/components/tt-form/src/formApi.js +59 -48
  46. package/dist/components/tt-form/src/group-form/GroupForm.vue2.js +17 -4
  47. package/dist/components/tt-form/src/group-form/GroupSection.vue2.js +67 -57
  48. package/dist/components/tt-form/src/group-form/LazyFormField.vue.js +55 -46
  49. package/dist/components/tt-form/src/group-form/groupFormApi.js +21 -10
  50. package/dist/components/tt-form/src/hooks/useForwardPriorityValues.js +27 -17
  51. package/dist/components/tt-form/src/hooks/useSelectCollapse.js +32 -23
  52. package/dist/components/tt-form/src/index.vue2.js +53 -45
  53. package/dist/components/tt-form/src/useFormContext.js +74 -62
  54. package/dist/components/tt-form-item-error-tooltip/index.js +18 -5
  55. package/dist/components/tt-form-item-error-tooltip/index.vue.js +32 -21
  56. package/dist/components/tt-icon/index.js +20 -7
  57. package/dist/components/tt-image/index.js +19 -6
  58. package/dist/components/tt-image/src/components/ImageViewer.js +27 -17
  59. package/dist/components/tt-loading/index.js +16 -4
  60. package/dist/components/tt-loading/src/directive.js +34 -22
  61. package/dist/components/tt-log/index.js +17 -4
  62. package/dist/components/tt-log/index.vue.js +21 -8
  63. package/dist/components/tt-modal/index.js +16 -5
  64. package/dist/components/tt-modal/src/RenderModal.vue.js +163 -151
  65. package/dist/components/tt-modal/src/components/ModalFooter.vue2.js +38 -28
  66. package/dist/components/tt-modal/src/components/ModalHeader.vue2.js +24 -11
  67. package/dist/components/tt-modal/src/components/ModalWrapper.vue.js +36 -23
  68. package/dist/components/tt-modal/src/props.js +22 -9
  69. package/dist/components/tt-modal/src/utils/modal-api.js +39 -29
  70. package/dist/components/tt-modal-form/index.vue.js +44 -36
  71. package/dist/components/tt-nav-anchor/index.js +17 -4
  72. package/dist/components/tt-nav-anchor/src/TtNavAnchor.vue.js +69 -57
  73. package/dist/components/tt-panel-select/index.js +17 -4
  74. package/dist/components/tt-panel-select/src/hooks/usePanelData.js +51 -40
  75. package/dist/components/tt-panel-select/src/index.vue.js +35 -24
  76. package/dist/components/tt-select/index.js +17 -4
  77. package/dist/components/tt-select/src/Select.vue.js +79 -68
  78. package/dist/components/tt-select/src/components/SelectTable.vue.js +41 -30
  79. package/dist/components/tt-select/src/components/Table.vue.js +86 -76
  80. package/dist/components/tt-select/src/hooks/useDataSource.js +59 -49
  81. package/dist/components/tt-select/src/hooks/useSelect.js +46 -38
  82. package/dist/components/tt-select/src/hooks/useSelectTableEvent.js +123 -112
  83. package/dist/components/tt-table/index.js +19 -12
  84. package/dist/components/tt-table/src/Table.vue.js +82 -71
  85. package/dist/components/tt-table/src/TableForm.vue.js +77 -65
  86. package/dist/components/tt-table/src/components/TableAction.vue.js +49 -39
  87. package/dist/components/tt-table/src/components/TableButtons.js +73 -60
  88. package/dist/components/tt-table/src/components/TableColumnModal.vue2.js +14 -3
  89. package/dist/components/tt-table/src/components/TableToobalTools.vue.js +36 -25
  90. package/dist/components/tt-table/src/hooks/useColumns.js +72 -65
  91. package/dist/components/tt-table/src/hooks/useCustomColumns.js +43 -31
  92. package/dist/components/tt-table/src/hooks/useDataSource.js +50 -42
  93. package/dist/components/tt-table/src/hooks/usePagination.js +36 -25
  94. package/dist/components/tt-table/src/props.js +55 -42
  95. package/dist/components/tt-table/src/utils/table-api.js +33 -22
  96. package/dist/components/tt-table/src/utils/table-form-api.js +35 -24
  97. package/dist/components/tt-text/index.js +17 -4
  98. package/dist/components/tt-upload/index.js +19 -6
  99. package/dist/components/tt-upload/src/TtUpload.vue.js +77 -66
  100. package/dist/directives/disabled-tip/index.js +37 -26
  101. package/dist/hooks/useFormSchemasLink.js +90 -79
  102. package/dist/hooks/useScreenshotOss.js +49 -35
  103. package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js +17 -0
  104. package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/aes.js +64 -0
  105. package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/cipher-core.js +545 -0
  106. package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/core.js +508 -0
  107. package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/enc-base64.js +81 -0
  108. package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/enc-utf8.js +10 -0
  109. package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/evpkdf.js +71 -0
  110. package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/hmac.js +84 -0
  111. package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/md5.js +72 -0
  112. package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ecb.js +22 -0
  113. package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-pkcs7.js +11 -0
  114. package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/sha1.js +50 -0
  115. package/dist/node_modules/.pnpm/decimal.js@10.6.0/node_modules/decimal.js/decimal.js +1024 -0
  116. package/dist/node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.js +32 -0
  117. package/dist/node_modules/.pnpm/html-to-image@1.11.13/node_modules/html-to-image/es/apply-style.js +11 -0
  118. package/dist/node_modules/.pnpm/html-to-image@1.11.13/node_modules/html-to-image/es/clone-node.js +92 -0
  119. package/dist/node_modules/.pnpm/html-to-image@1.11.13/node_modules/html-to-image/es/clone-pseudos.js +34 -0
  120. package/dist/node_modules/.pnpm/html-to-image@1.11.13/node_modules/html-to-image/es/dataurl.js +52 -0
  121. package/dist/node_modules/.pnpm/html-to-image@1.11.13/node_modules/html-to-image/es/embed-images.js +43 -0
  122. package/dist/node_modules/.pnpm/html-to-image@1.11.13/node_modules/html-to-image/es/embed-resources.js +47 -0
  123. package/dist/node_modules/.pnpm/html-to-image@1.11.13/node_modules/html-to-image/es/embed-webfonts.js +122 -0
  124. package/dist/node_modules/.pnpm/html-to-image@1.11.13/node_modules/html-to-image/es/index.js +30 -0
  125. package/dist/node_modules/.pnpm/html-to-image@1.11.13/node_modules/html-to-image/es/mimes.js +24 -0
  126. package/dist/node_modules/.pnpm/html-to-image@1.11.13/node_modules/html-to-image/es/util.js +106 -0
  127. package/dist/node_modules/.pnpm/is-plain-object@5.0.0/node_modules/is-plain-object/dist/is-plain-object.js +16 -0
  128. package/dist/node_modules/.pnpm/klona@2.0.6/node_modules/klona/full/index.js +21 -0
  129. package/dist/node_modules/.pnpm/tailwind-merge@3.5.0/node_modules/tailwind-merge/dist/bundle-mjs.js +2922 -0
  130. package/dist/node_modules/.pnpm/vue-types@5.1.3_vue@3.5.21_typescript@5.9.3_/node_modules/vue-types/shim/index.modern.js +93 -0
  131. package/dist/packages/hooks/src/propTypes.js +17 -0
  132. package/dist/packages/hooks/src/tools.js +6 -0
  133. package/dist/packages/hooks/src/useDebounce.js +32 -0
  134. package/dist/packages/hooks/src/useDesign.js +12 -0
  135. package/dist/packages/hooks/src/useElementScreenshot.js +136 -0
  136. package/dist/packages/hooks/src/useIsScroll.js +12 -0
  137. package/dist/packages/hooks/src/usePriorityValue.js +45 -0
  138. package/dist/packages/utils/src/calc.js +14 -0
  139. package/dist/packages/utils/src/check.js +10 -0
  140. package/dist/packages/utils/src/install.js +11 -0
  141. package/dist/packages/utils/src/is.js +64 -0
  142. package/dist/packages/utils/src/merge.js +13 -0
  143. package/dist/packages/utils/src/stateHandler.js +33 -0
  144. package/dist/packages/utils/src/string.js +6 -0
  145. package/dist/packages/utils/src/testid-helper.js +14 -0
  146. package/dist/packages/utils/src/tool.js +181 -0
  147. package/dist/plugins/default/renderCellContent.js +39 -28
  148. package/dist/plugins/vxeTable/switchStatus.js +37 -26
  149. package/package.json +1 -1
@@ -1,11 +1,22 @@
1
- import { defineComponent as vt, useAttrs as St, useSlots as xt, ref as P, getCurrentInstance as wt, computed as v, provide as Ce, reactive as Ct, toValue as B, toRaw as _, unref as t, watch as M, nextTick as F, onMounted as Tt, onUnmounted as kt, createElementBlock as p, openBlock as d, normalizeClass as K, createVNode as O, mergeProps as ee, toHandlers as $t, createSlots as Rt, withCtx as u, renderSlot as m, createBlock as te, createCommentVNode as V, normalizeStyle as k, createElementVNode as w, normalizeProps as j, guardReactiveProps as J, Fragment as Te, toDisplayString as L, renderList as oe, withModifiers as Pt, createTextVNode as re } from "vue";
1
+ import { defineComponent as vt, useAttrs as St, useSlots as xt, ref as P, getCurrentInstance as wt, computed as v, provide as Ce, reactive as Ct, toValue as B, toRaw as _, unref as t, watch as M, nextTick as F, onMounted as Tt, onUnmounted as kt, createElementBlock as m, openBlock as d, normalizeClass as K, createVNode as O, mergeProps as ee, toHandlers as $t, createSlots as Rt, withCtx as u, renderSlot as g, createBlock as te, createCommentVNode as V, normalizeStyle as k, createElementVNode as w, normalizeProps as j, guardReactiveProps as J, Fragment as Te, toDisplayString as L, renderList as oe, withModifiers as Pt, createTextVNode as re } from "vue";
2
2
  import { useLoading as _t } from "../../../hooks/useLoading.js";
3
- import { useDesign as Et } from "@dazhicheng/hooks";
4
- import { extractResourceFromApi as It, generateTestId as ke, checkVersion as zt, isBoolean as Ot, isString as Vt, getDifference as Dt, kebabToCamelCase as Ht } from "@dazhicheng/utils";
5
- import { TtErrorTooltip as Bt } from "../../tt-form-item-error-tooltip/index.js";
6
- import { useStore as Ft } from "@tanstack/vue-store";
7
- import { ElScrollbar as $e } from "element-plus";
8
- import { omit as N, cloneDeep as Kt } from "lodash-es";
3
+ 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";
4
+ import { useDesign as Et } from "../../../packages/hooks/src/useDesign.js";
5
+ import { kebabToCamelCase as It } from "../../../packages/utils/src/string.js";
6
+ import "axios";
7
+ import { ElScrollbar as ke } from "element-plus";
8
+ import { isBoolean as zt, isString as Ot } from "../../../packages/utils/src/is.js";
9
+ import { extractResourceFromApi as Vt, generateTestId as $e } from "../../../packages/utils/src/testid-helper.js";
10
+ import { getDifference as Dt } from "../../../packages/utils/src/tool.js";
11
+ import "../../../node_modules/.pnpm/decimal.js@10.6.0/node_modules/decimal.js/decimal.js";
12
+ import "../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/aes.js";
13
+ import "../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/enc-utf8.js";
14
+ import "../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ecb.js";
15
+ import "../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-pkcs7.js";
16
+ import { checkVersion as Ht } from "../../../packages/utils/src/check.js";
17
+ import { omit as N, cloneDeep as Bt } from "lodash-es";
18
+ import { TtErrorTooltip as Ft } from "../../tt-form-item-error-tooltip/index.js";
19
+ import { useStore as Kt } from "@tanstack/vue-store";
9
20
  import { VxeUI as jt, VxePager as Lt } from "vxe-pc-ui";
10
21
  import { VxeGrid as Nt } from "vxe-table";
11
22
  import { tableProps as Gt } from "vxe-table/es/table/src/props";
@@ -29,15 +40,15 @@ import { tableOtherProps as so, tableProps as _e } from "./props.js";
29
40
  import { TableApi as lo } from "./utils/table-api.js";
30
41
  const no = ["data-testid", "data-table-columns"], ao = ["onClick"], io = {
31
42
  class: "mr-4px flex-1 overflow-hidden"
32
- }, co = ["src"], uo = ["src"], fo = ["src"], go = {
43
+ }, co = ["src"], uo = ["src"], fo = ["src"], po = {
33
44
  style: {
34
45
  color: "#009ffa"
35
46
  }
36
- }, po = {
37
- key: 0
38
47
  }, mo = {
39
48
  key: 0
40
- }, Ao = /* @__PURE__ */ vt({
49
+ }, go = {
50
+ key: 0
51
+ }, or = /* @__PURE__ */ vt({
41
52
  name: "TtTable",
42
53
  __name: "Table",
43
54
  props: {
@@ -53,14 +64,14 @@ const no = ["data-testid", "data-table-columns"], ao = ["onClick"], io = {
53
64
  var we;
54
65
  const b = Ee, c = ze, se = St(), E = xt(), {
55
66
  prefixCls: $
56
- } = Et("table"), le = P(), Oe = P({}), G = P(null), g = P(), ne = P([]), ae = {}, ie = P({}), h = wt();
67
+ } = Et("table"), le = P(), Oe = P({}), G = P(null), p = P(), ne = P([]), ae = {}, ie = P({}), h = wt();
57
68
  let l = b.tableApi;
58
69
  if (!l) {
59
70
  l = new lo(b);
60
71
  const e = l;
61
- e.useStore = (o) => Ft(l.store, o), l = e;
72
+ e.useStore = (o) => Kt(l.store, o), l = e;
62
73
  }
63
- const D = (we = l == null ? void 0 : l.useStore) == null ? void 0 : we.call(l), q = v(() => b.testId ? b.testId : b.api ? It(b.api) : "table"), Ve = v(() => ke(q.value, "table"));
74
+ const D = (we = l == null ? void 0 : l.useStore) == null ? void 0 : we.call(l), q = v(() => b.testId ? b.testId : b.api ? Vt(b.api) : "table"), Ve = v(() => $e(q.value, "table"));
64
75
  Ce("tableIdContext", q);
65
76
  const C = Ct({
66
77
  emptyText: B(D).emptyText,
@@ -100,25 +111,25 @@ const no = ["data-testid", "data-table-columns"], ao = ["onClick"], io = {
100
111
  onCellAreaSelectionEndSetCheckbox: Ge,
101
112
  onCheckboxRangeChange: fe,
102
113
  onRadioChange: We
103
- } = to(a, c, g), {
114
+ } = to(a, c, p), {
104
115
  handleLeftRightSlotInit: Ae,
105
116
  handleLeftRightSlotScroll: Ue,
106
- leftRightSlotRows: ge,
117
+ leftRightSlotRows: pe,
107
118
  tableBodyWrapHeight: z,
108
- tableHeaderHight: pe,
109
- tableBodyScrollHeight: me,
119
+ tableHeaderHight: me,
120
+ tableBodyScrollHeight: ge,
110
121
  tableBodyHeight: A,
111
122
  leftSlotScrollbarRef: Ye,
112
123
  rightSlotScrollbarRef: Me,
113
124
  tableBodyScrollTop: he
114
- } = Zt(a, g, ne), {
125
+ } = Zt(a, p, ne), {
115
126
  reload: Je,
116
127
  reloadFilter: be,
117
128
  getDataSource: qe,
118
129
  dataSource: Xe,
119
130
  isloaded: Qe
120
131
  } = Qt(a, {
121
- xGrid: g,
132
+ xGrid: p,
122
133
  tableData: ne,
123
134
  paginationRef: H,
124
135
  getPaginationInfo: I,
@@ -137,7 +148,7 @@ const no = ["data-testid", "data-table-columns"], ao = ["onClick"], io = {
137
148
  onResizableChange: ot,
138
149
  onColumnDragend: rt
139
150
  } = Xt(a, {
140
- xGrid: g,
151
+ xGrid: p,
141
152
  tableWidth: v(() => t(G).offsetWidth)
142
153
  }, c), y = v(() => {
143
154
  const {
@@ -159,7 +170,7 @@ const no = ["data-testid", "data-table-columns"], ao = ["onClick"], io = {
159
170
  buttons: E.toolbar_buttons ? "toolbar_buttons" : void 0
160
171
  } : void 0,
161
172
  ...f
162
- }), S || (T.pagerConfig = void 0), x && (T.height = "auto", T.autoResize = !0, T.syncResize = !0), zt(jt.tableVersion, 4, 16) ? T.virtualYConfig = {
173
+ }), S || (T.pagerConfig = void 0), x && (T.height = "auto", T.autoResize = !0, T.syncResize = !0), Ht(jt.tableVersion, 4, 16) ? T.virtualYConfig = {
163
174
  enabled: !0,
164
175
  mode: "wheel",
165
176
  ...U
@@ -202,12 +213,12 @@ const no = ["data-testid", "data-table-columns"], ao = ["onClick"], io = {
202
213
  round: !0,
203
214
  loading: !1
204
215
  };
205
- }), st = v(() => Ot(t(y).showHeaderOverflow) ? t(y).showHeaderOverflow : Vt(t(y).showHeaderOverflow) ? t(y).showHeaderOverflow === "tooltip" : !1), {
216
+ }), st = v(() => zt(t(y).showHeaderOverflow) ? t(y).showHeaderOverflow : Ot(t(y).showHeaderOverflow) ? t(y).showHeaderOverflow === "tooltip" : !1), {
206
217
  onCellAreaSelectionEnd: lt
207
- } = qt(y, c, g, {
218
+ } = qt(y, c, p, {
208
219
  onCellAreaSelectionEndSetCheckbox: Ge,
209
220
  onCheckboxRangeChange: fe
210
- }), ve = ro(g, C, c, l, a, {
221
+ }), ve = ro(p, C, c, l, a, {
211
222
  clearSelectedRowKeys: Z
212
223
  });
213
224
  M(() => y.value, (e, o) => {
@@ -256,7 +267,7 @@ const no = ["data-testid", "data-table-columns"], ao = ["onClick"], io = {
256
267
  } = e.$grid.getTableData(), {
257
268
  isDataCloneDeep: r
258
269
  } = t(a);
259
- c("update:modelValue", r ? Kt(o) : o), c("edit-closed", e);
270
+ c("update:modelValue", r ? Bt(o) : o), c("edit-closed", e);
260
271
  }
261
272
  }));
262
273
  async function at(e) {
@@ -265,7 +276,7 @@ const no = ["data-testid", "data-table-columns"], ao = ["onClick"], io = {
265
276
  function xe() {
266
277
  F(() => {
267
278
  var e;
268
- (e = t(g)) == null || e.recalculate(!0);
279
+ (e = t(p)) == null || e.recalculate(!0);
269
280
  });
270
281
  }
271
282
  function it(e, o) {
@@ -280,7 +291,7 @@ const no = ["data-testid", "data-table-columns"], ao = ["onClick"], io = {
280
291
  });
281
292
  return;
282
293
  }
283
- const o = g.value;
294
+ const o = p.value;
284
295
  switch (e.order) {
285
296
  case "desc":
286
297
  await (o == null ? void 0 : o.sort(e.field, "asc"));
@@ -314,7 +325,7 @@ const no = ["data-testid", "data-table-columns"], ao = ["onClick"], io = {
314
325
  total: i = 0
315
326
  } = t(I), {
316
327
  fullData: n = []
317
- } = ((f = t(g)) == null ? void 0 : f.getTableData()) || {};
328
+ } = ((f = t(p)) == null ? void 0 : f.getTableData()) || {};
318
329
  i <= n.length || X({
319
330
  currentPage: s + 1
320
331
  });
@@ -324,7 +335,7 @@ const no = ["data-testid", "data-table-columns"], ao = ["onClick"], io = {
324
335
  Ae(!1);
325
336
  }, 30);
326
337
  }
327
- const gt = (e) => {
338
+ const pt = (e) => {
328
339
  var i;
329
340
  const {
330
341
  visible: o,
@@ -361,7 +372,7 @@ const no = ["data-testid", "data-table-columns"], ao = ["onClick"], io = {
361
372
  getPagination: De,
362
373
  getSelectRowKeys: je,
363
374
  getSelectRows: Le,
364
- getTableInstance: () => t(g),
375
+ getTableInstance: () => t(p),
365
376
  getLoading: W,
366
377
  getTableColumns: ye,
367
378
  setSelectedRowKeys: Ne,
@@ -376,7 +387,7 @@ const no = ["data-testid", "data-table-columns"], ao = ["onClick"], io = {
376
387
  getBindValues: y
377
388
  }), Ie({
378
389
  ...R,
379
- xGrid: g
390
+ xGrid: p
380
391
  }), h && c("register", R, `${h == null ? void 0 : h.uid}`), M(() => W.value, (e) => {
381
392
  l.setProxyState({
382
393
  loading: e
@@ -385,10 +396,10 @@ const no = ["data-testid", "data-table-columns"], ao = ["onClick"], io = {
385
396
  h && ((o = R.emitLoading) == null || o.call(R, e, h == null ? void 0 : h.uid));
386
397
  });
387
398
  });
388
- function pt(e) {
399
+ function mt(e) {
389
400
  return Object.fromEntries(Object.entries(e).filter(([o]) => !o.startsWith("on")));
390
401
  }
391
- function mt(e, o) {
402
+ function gt(e, o) {
392
403
  return Object.fromEntries(Object.keys(e).map((r) => [r, o[r]]));
393
404
  }
394
405
  function ht(e) {
@@ -398,10 +409,10 @@ const no = ["data-testid", "data-table-columns"], ao = ["onClick"], io = {
398
409
  var n;
399
410
  const e = {}, o = ((n = h == null ? void 0 : h.vnode) == null ? void 0 : n.props) || {}, r = new Set(Object.keys(b));
400
411
  for (const [f, S] of Object.entries(o)) {
401
- const x = Ht(f);
412
+ const x = It(f);
402
413
  r.has(x) && (e[x] = S);
403
414
  }
404
- const s = pt(e), i = mt(s, b);
415
+ const s = mt(e), i = gt(s, b);
405
416
  l.setState(i);
406
417
  }, {
407
418
  deep: !0
@@ -411,12 +422,12 @@ const no = ["data-testid", "data-table-columns"], ao = ["onClick"], io = {
411
422
  selectedRows: t(ue)
412
423
  });
413
424
  });
414
- const bt = v(() => ke(q.value, "table-toolbar"));
425
+ const bt = v(() => $e(q.value, "table-toolbar"));
415
426
  return Tt(() => {
416
427
  var e;
417
428
  l.setState({
418
429
  modelValue: b.modelValue
419
- }), (e = l.mount) == null || e.call(l, g.value, R), F(() => {
430
+ }), (e = l.mount) == null || e.call(l, p.value, R), F(() => {
420
431
  var r;
421
432
  const o = (r = G.value) == null ? void 0 : r.querySelector(".vxe-toolbar");
422
433
  o && o.setAttribute("data-testid", t(bt));
@@ -424,7 +435,7 @@ const no = ["data-testid", "data-table-columns"], ao = ["onClick"], io = {
424
435
  }), kt(() => {
425
436
  var e;
426
437
  (e = l == null ? void 0 : l.unmount) == null || e.call(l);
427
- }), (e, o) => (d(), p("div", {
438
+ }), (e, o) => (d(), m("div", {
428
439
  ref_key: "wrapRef",
429
440
  ref: G,
430
441
  class: K([t($), t(se).class]),
@@ -435,30 +446,30 @@ const no = ["data-testid", "data-table-columns"], ao = ["onClick"], io = {
435
446
  })))
436
447
  }, [O(t(Nt), ee({
437
448
  ref_key: "xGrid",
438
- ref: g
449
+ ref: p
439
450
  }, ie.value, {
440
451
  onFilterChange: o[2] || (o[2] = (r) => t(be)())
441
452
  }, $t(nt.value), {
442
- onFilterVisible: gt
453
+ onFilterVisible: pt
443
454
  }), Rt({
444
- empty: u(() => [t(W) ? (d(), p("div", {
455
+ empty: u(() => [t(W) ? (d(), m("div", {
445
456
  key: 1,
446
457
  class: K(`${t($)}-empty-image`)
447
- }, [w("span", null, L(C.emptyText || ""), 1)], 2)) : (d(), p("div", {
458
+ }, [w("span", null, L(C.emptyText || ""), 1)], 2)) : (d(), m("div", {
448
459
  key: 0,
449
460
  class: K(`${t($)}-empty-image`)
450
- }, [t(Qe) || !a.value.api ? (d(), p(Te, {
461
+ }, [t(Qe) || !a.value.api ? (d(), m(Te, {
451
462
  key: 0
452
463
  }, [O(t(Re), {
453
464
  style: k(Se.value),
454
465
  status: C.emptyImageStatus
455
- }, null, 8, ["style", "status"]), C.emptyText ? (d(), p("span", po, L(C.emptyText), 1)) : V("", !0)], 64)) : (d(), p(Te, {
466
+ }, null, 8, ["style", "status"]), C.emptyText ? (d(), m("span", mo, L(C.emptyText), 1)) : V("", !0)], 64)) : (d(), m(Te, {
456
467
  key: 1
457
468
  }, [O(t(Re), {
458
469
  style: k(Se.value),
459
470
  status: C.emptyImageStatus
460
- }, null, 8, ["style", "status"]), C.noSearchText ? (d(), p("span", mo, L(C.noSearchText), 1)) : V("", !0)], 64))], 2))]),
461
- left: u(() => [m(e.$slots, "left", {}, () => [t(z) ? (d(), te(t($e), {
471
+ }, null, 8, ["style", "status"]), C.noSearchText ? (d(), m("span", go, L(C.noSearchText), 1)) : V("", !0)], 64))], 2))]),
472
+ left: u(() => [g(e.$slots, "left", {}, () => [t(z) ? (d(), te(t(ke), {
462
473
  key: 0,
463
474
  ref_key: "leftSlotScrollbarRef",
464
475
  ref: Ye,
@@ -468,13 +479,13 @@ const no = ["data-testid", "data-table-columns"], ao = ["onClick"], io = {
468
479
  style: k({
469
480
  width: `${a.value.leftSlotWidth}px`,
470
481
  height: `${t(z)}px`,
471
- marginTop: `${t(pe)}px`
482
+ marginTop: `${t(me)}px`
472
483
  })
473
484
  }, {
474
485
  default: u(() => [w("div", {
475
486
  class: "float-left w-0",
476
487
  style: k({
477
- height: `${t(me)}px`
488
+ height: `${t(ge)}px`
478
489
  })
479
490
  }, null, 4), w("div", {
480
491
  style: k({
@@ -483,13 +494,13 @@ const no = ["data-testid", "data-table-columns"], ao = ["onClick"], io = {
483
494
  marginTop: `${t(he)}`
484
495
  }),
485
496
  class: "relative"
486
- }, [m(e.$slots, "tableLeft", j(J({
487
- rowNodes: t(ge),
497
+ }, [g(e.$slots, "tableLeft", j(J({
498
+ rowNodes: t(pe),
488
499
  height: t(A)
489
500
  })))], 4)]),
490
501
  _: 3
491
502
  }, 8, ["height", "style"])) : V("", !0)])]),
492
- right: u(() => [m(e.$slots, "right", {}, () => [t(z) ? (d(), te(t($e), {
503
+ right: u(() => [g(e.$slots, "right", {}, () => [t(z) ? (d(), te(t(ke), {
493
504
  key: 0,
494
505
  ref_key: "rightSlotScrollbarRef",
495
506
  ref: Me,
@@ -500,13 +511,13 @@ const no = ["data-testid", "data-table-columns"], ao = ["onClick"], io = {
500
511
  style: k({
501
512
  width: `${a.value.rightSlotWidth}px`,
502
513
  height: `${t(z)}px`,
503
- marginTop: `${t(pe)}px`
514
+ marginTop: `${t(me)}px`
504
515
  })
505
516
  }, {
506
517
  default: u(() => [w("div", {
507
518
  class: "float-left w-0",
508
519
  style: k({
509
- height: `${t(me)}px`
520
+ height: `${t(ge)}px`
510
521
  })
511
522
  }, null, 4), w("div", {
512
523
  style: k({
@@ -515,8 +526,8 @@ const no = ["data-testid", "data-table-columns"], ao = ["onClick"], io = {
515
526
  marginTop: `${t(he)}`
516
527
  }),
517
528
  class: "relative"
518
- }, [m(e.$slots, "tableRight", j(J({
519
- rowNodes: t(ge),
529
+ }, [g(e.$slots, "tableRight", j(J({
530
+ rowNodes: t(pe),
520
531
  height: t(A)
521
532
  })))], 4)]),
522
533
  _: 3
@@ -527,24 +538,24 @@ const no = ["data-testid", "data-table-columns"], ao = ["onClick"], io = {
527
538
  fn: u((s) => [w("div", {
528
539
  class: "flex items-center",
529
540
  onClick: Pt((i) => ct(s.column), ["stop"])
530
- }, [w("div", io, [m(e.$slots, ht(s), j(J(s)), () => [O(t(Mt), {
541
+ }, [w("div", io, [g(e.$slots, ht(s), j(J(s)), () => [O(t(Mt), {
531
542
  "tool-tip": st.value
532
543
  }, {
533
544
  default: u(() => [re(L(s.column.title), 1)]),
534
545
  _: 2
535
- }, 1032, ["tool-tip"])])]), s.column.sortable ? (d(), p("div", {
546
+ }, 1032, ["tool-tip"])])]), s.column.sortable ? (d(), m("div", {
536
547
  key: 0,
537
548
  class: K(["flex-x", {
538
549
  "is-order": s.column.order,
539
550
  [`${t($)}-custom-sort`]: !0
540
551
  }])
541
- }, [s.column.order === "asc" ? (d(), p("img", {
552
+ }, [s.column.order === "asc" ? (d(), m("img", {
542
553
  key: 0,
543
554
  src: t(Yt)
544
- }, null, 8, co)) : s.column.order === "desc" ? (d(), p("img", {
555
+ }, null, 8, co)) : s.column.order === "desc" ? (d(), m("img", {
545
556
  key: 1,
546
557
  src: t(At)
547
- }, null, 8, uo)) : (d(), p("img", {
558
+ }, null, 8, uo)) : (d(), m("img", {
548
559
  key: 2,
549
560
  src: t(Ut)
550
561
  }, null, 8, fo))], 2)) : V("", !0)], 8, ao)])
@@ -554,26 +565,26 @@ const no = ["data-testid", "data-table-columns"], ao = ["onClick"], io = {
554
565
  key: 0,
555
566
  "row-index": s.$rowIndex
556
567
  }, {
557
- default: u(() => [m(e.$slots, r, ee(s, {
568
+ default: u(() => [g(e.$slots, r, ee(s, {
558
569
  rowIndex: s.$rowIndex
559
570
  }))]),
560
571
  _: 2
561
- }, 1032, ["row-index"])) : m(e.$slots, r, j(ee({
572
+ }, 1032, ["row-index"])) : g(e.$slots, r, j(ee({
562
573
  key: 1
563
574
  }, s)))])
564
575
  })), y.value.showTableAlert ? {
565
576
  name: "top",
566
577
  fn: u(() => [w("div", {
567
578
  class: K(`${t($)}-top-alert`)
568
- }, [o[3] || (o[3] = re(" 已选中 ", -1)), w("span", go, L(t(Be).length), 1), o[4] || (o[4] = re(" 条 ", -1)), m(e.$slots, "top_title")], 2)]),
579
+ }, [o[3] || (o[3] = re(" 已选中 ", -1)), w("span", po, L(t(Be).length), 1), o[4] || (o[4] = re(" 条 ", -1)), g(e.$slots, "top_title")], 2)]),
569
580
  key: "0"
570
581
  } : void 0, t(E).toolbar_buttons ? {
571
582
  name: "toolbar_buttons",
572
- fn: u(() => [m(e.$slots, "toolbar_buttons")]),
583
+ fn: u(() => [g(e.$slots, "toolbar_buttons")]),
573
584
  key: "1"
574
585
  } : void 0, t(E).toolbar_tools ? {
575
586
  name: "toolbar_tools",
576
- fn: u(() => [m(e.$slots, "toolbar_tools")]),
587
+ fn: u(() => [g(e.$slots, "toolbar_tools")]),
577
588
  key: "2"
578
589
  } : void 0, oe(t(et), (r) => ({
579
590
  name: r,
@@ -583,11 +594,11 @@ const no = ["data-testid", "data-table-columns"], ao = ["onClick"], io = {
583
594
  columnIndex: n,
584
595
  column: f,
585
596
  fixed: S
586
- }) => [!S || S === f.fixed ? (d(), p("div", {
597
+ }) => [!S || S === f.fixed ? (d(), m("div", {
587
598
  key: 0,
588
599
  ref: (x) => it(x, `valid_${i}_${n}`),
589
600
  class: "h-full w-full"
590
- }, [O(t(Bt), {
601
+ }, [O(t(Ft), {
591
602
  placement: a.value.toolTipErrorPlacement,
592
603
  "err-msg": s,
593
604
  "ref-dom": ce.value[`valid_${i}_${n}`]
@@ -608,9 +619,9 @@ const no = ["data-testid", "data-table-columns"], ao = ["onClick"], io = {
608
619
  "class-name": `${t($)}-vxe-pager`,
609
620
  onPageChange: t(He)
610
621
  }, {
611
- left: u(() => [m(e.$slots, "pager_left", j(J({
622
+ left: u(() => [g(e.$slots, "pager_left", j(J({
612
623
  selectedKeys: t(Q)
613
- }))), m(e.$slots, "buttom_left")]),
624
+ }))), g(e.$slots, "buttom_left")]),
614
625
  _: 3
615
626
  }, 8, ["current-page", "page-size", "page-sizes", "layouts", "total", "size", "class-name", "onPageChange"])];
616
627
  }),
@@ -619,5 +630,5 @@ const no = ["data-testid", "data-table-columns"], ao = ["onClick"], io = {
619
630
  }
620
631
  });
621
632
  export {
622
- Ao as default
633
+ or as default
623
634
  };