@dazhicheng/ui 1.5.199 → 1.5.202

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 (257) hide show
  1. package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
  2. package/dist/api/dataTypeContext.js +17 -0
  3. package/dist/assets/img/empty_images/no_data.png.js +4 -0
  4. package/dist/assets/img/empty_images/search.png.js +4 -0
  5. package/dist/assets/img/image_status/develop.png.js +4 -0
  6. package/dist/assets/img/image_status/loading.gif.js +4 -0
  7. package/dist/assets/img/image_status/loading_fail.png.js +4 -0
  8. package/dist/assets/img/image_status/no_network.png.js +4 -0
  9. package/dist/assets/img/image_status/no_permission.png.js +4 -0
  10. package/dist/assets/svg/RiRefreshLine.svg.js +4 -0
  11. package/dist/assets/svg/action_more.svg.js +4 -0
  12. package/dist/assets/svg/add.svg.js +4 -0
  13. package/dist/assets/svg/addCircleLine.svg.js +4 -0
  14. package/dist/assets/svg/arrowDown.svg.js +4 -0
  15. package/dist/assets/svg/arrowLineDown.svg.js +5 -0
  16. package/dist/assets/svg/arrowSUp.svg.js +4 -0
  17. package/dist/assets/svg/arrowUp.svg.js +4 -0
  18. package/dist/assets/svg/close.svg.js +4 -0
  19. package/dist/assets/svg/columnSet.svg.js +4 -0
  20. package/dist/assets/svg/determinateCircleLine.svg.js +5 -0
  21. package/dist/assets/svg/drag.svg.js +5 -0
  22. package/dist/assets/svg/exportSvg.svg.js +4 -0
  23. package/dist/assets/svg/fileSvg.svg.js +4 -0
  24. package/dist/assets/svg/help.svg.js +4 -0
  25. package/dist/assets/svg/item_error.svg.js +4 -0
  26. package/dist/assets/svg/paixu-jiangxu.svg.js +4 -0
  27. package/dist/assets/svg/paixu-moren.svg.js +4 -0
  28. package/dist/assets/svg/paixu-shengxu.svg.js +4 -0
  29. package/dist/assets/svg/quanping.svg.js +4 -0
  30. package/dist/assets/svg/suoxiao.svg.js +4 -0
  31. package/dist/components/tt-api-component/index.js +7 -0
  32. package/dist/components/tt-api-component/index.vue.js +7 -0
  33. package/dist/components/tt-api-component/index.vue2.js +199 -0
  34. package/dist/components/tt-area/TtArea.vue.js +7 -0
  35. package/dist/components/tt-area/TtArea.vue3.js +36 -0
  36. package/dist/components/tt-button/components/AddButton.vue.js +24 -0
  37. package/dist/components/tt-button/components/AddButton.vue2.js +4 -0
  38. package/dist/components/tt-button/index.js +9 -0
  39. package/dist/components/tt-button/index.vue.js +7 -0
  40. package/dist/components/tt-button/index.vue2.js +68 -0
  41. package/dist/components/tt-checkbox/index.js +7 -0
  42. package/dist/components/tt-checkbox/index.vue.js +77 -0
  43. package/dist/components/tt-checkbox/index.vue2.js +4 -0
  44. package/dist/components/tt-drawer/index.js +14 -0
  45. package/dist/components/tt-drawer/src/RenderDrawer.vue.js +157 -0
  46. package/dist/components/tt-drawer/src/RenderDrawer.vue3.js +5 -0
  47. package/dist/components/tt-drawer/src/components/DrawerFooter.vue.js +56 -0
  48. package/dist/components/tt-drawer/src/components/DrawerFooter.vue3.js +5 -0
  49. package/dist/components/tt-drawer/src/components/DrawerHeader.vue.js +7 -0
  50. package/dist/components/tt-drawer/src/components/DrawerHeader.vue2.js +21 -0
  51. package/dist/components/tt-drawer/src/hooks/useDrawerRender.js +124 -0
  52. package/dist/components/tt-drawer/src/hooks/useResizable.js +98 -0
  53. package/dist/components/tt-drawer/src/index.js +17 -0
  54. package/dist/components/tt-drawer/src/props.js +72 -0
  55. package/dist/components/tt-drawer/src/utils/drawer-api.js +191 -0
  56. package/dist/components/tt-empty/index.js +34 -0
  57. package/dist/components/tt-form/index.js +59 -0
  58. package/dist/components/tt-form/src/components/ExpandableArrow.vue2.js +38 -0
  59. package/dist/components/tt-form/src/components/ExpandableArrow.vue3.js +5 -0
  60. package/dist/components/tt-form/src/components/FormActions.vue2.js +177 -0
  61. package/dist/components/tt-form/src/components/FormActions.vue3.js +5 -0
  62. package/dist/components/tt-form/src/components/FormElInput.vue.js +80 -0
  63. package/dist/components/tt-form/src/components/FormElInput.vue2.js +4 -0
  64. package/dist/components/tt-form/src/components/Slot.js +28 -0
  65. package/dist/components/tt-form/src/config.js +57 -0
  66. package/dist/components/tt-form/src/form/FormControl.vue.js +16 -0
  67. package/dist/components/tt-form/src/form/FormControl.vue2.js +4 -0
  68. package/dist/components/tt-form/src/form/FormDescription.vue.js +21 -0
  69. package/dist/components/tt-form/src/form/FormDescription.vue2.js +4 -0
  70. package/dist/components/tt-form/src/form/FormItem.vue.js +20 -0
  71. package/dist/components/tt-form/src/form/FormItem.vue2.js +4 -0
  72. package/dist/components/tt-form/src/form/FormLabel.vue.js +19 -0
  73. package/dist/components/tt-form/src/form/FormLabel.vue2.js +4 -0
  74. package/dist/components/tt-form/src/form/FormMessage.vue.js +18 -0
  75. package/dist/components/tt-form/src/form/FormMessage.vue2.js +4 -0
  76. package/dist/components/tt-form/src/form/FormMessageToolTip.vue.js +30 -0
  77. package/dist/components/tt-form/src/form/FormMessageToolTip.vue2.js +4 -0
  78. package/dist/components/tt-form/src/form/RenderContent.vue.js +31 -0
  79. package/dist/components/tt-form/src/form/RenderContent.vue2.js +4 -0
  80. package/dist/components/tt-form/src/form/injectionKeys.js +4 -0
  81. package/dist/components/tt-form/src/form/useFormField.js +24 -0
  82. package/dist/components/tt-form/src/form-render/FormField.vue.js +4 -0
  83. package/dist/components/tt-form/src/form-render/FormField.vue2.js +345 -0
  84. package/dist/components/tt-form/src/form-render/FormFieldContact.js +54 -0
  85. package/dist/components/tt-form/src/form-render/FormLabel.vue.js +4 -0
  86. package/dist/components/tt-form/src/form-render/FormLabel.vue2.js +101 -0
  87. package/dist/components/tt-form/src/form-render/array-register/FormArrayRegister.js +195 -0
  88. package/dist/components/tt-form/src/form-render/array-register/props.js +47 -0
  89. package/dist/components/tt-form/src/form-render/array-register/utils.js +12 -0
  90. package/dist/components/tt-form/src/form-render/context.js +15 -0
  91. package/dist/components/tt-form/src/form-render/dependencies.js +51 -0
  92. package/dist/components/tt-form/src/form-render/expandable.js +46 -0
  93. package/dist/components/tt-form/src/form-render/form.vue2.js +196 -0
  94. package/dist/components/tt-form/src/form-render/form.vue3.js +5 -0
  95. package/dist/components/tt-form/src/form-render/helper.js +22 -0
  96. package/dist/components/tt-form/src/form-render/rootWrapperClass.js +10 -0
  97. package/dist/components/tt-form/src/formApi.js +790 -0
  98. package/dist/components/tt-form/src/group-form/GroupForm.vue2.js +223 -0
  99. package/dist/components/tt-form/src/group-form/GroupForm.vue3.js +5 -0
  100. package/dist/components/tt-form/src/group-form/GroupSection.vue2.js +277 -0
  101. package/dist/components/tt-form/src/group-form/GroupSection.vue3.js +5 -0
  102. package/dist/components/tt-form/src/group-form/LazyFormField.vue.js +153 -0
  103. package/dist/components/tt-form/src/group-form/LazyFormField.vue3.js +5 -0
  104. package/dist/components/tt-form/src/group-form/groupFormApi.js +700 -0
  105. package/dist/components/tt-form/src/group-form/lazyContext.js +38 -0
  106. package/dist/components/tt-form/src/group-form/useGroupForm.js +83 -0
  107. package/dist/components/tt-form/src/group-form/utils.js +106 -0
  108. package/dist/components/tt-form/src/hooks/useArrayRegistry.js +22 -0
  109. package/dist/components/tt-form/src/hooks/useFieldArray.js +137 -0
  110. package/dist/components/tt-form/src/hooks/useForwardPriorityValues.js +33 -0
  111. package/dist/components/tt-form/src/hooks/useSelectCollapse.js +81 -0
  112. package/dist/components/tt-form/src/index.vue2.js +147 -0
  113. package/dist/components/tt-form/src/index.vue3.js +5 -0
  114. package/dist/components/tt-form/src/shared/createContext.js +14 -0
  115. package/dist/components/tt-form/src/shared/global-state.js +22 -0
  116. package/dist/components/tt-form/src/shared/zod-defaults.js +47 -0
  117. package/dist/components/tt-form/src/types/forms.js +6 -0
  118. package/dist/components/tt-form/src/useForm.js +28 -0
  119. package/dist/components/tt-form/src/useFormContext.js +320 -0
  120. package/dist/components/tt-form/src/utils/array-path.js +18 -0
  121. package/dist/components/tt-form-item-error-tooltip/index.js +9 -0
  122. package/dist/components/tt-form-item-error-tooltip/index.vue.js +183 -0
  123. package/dist/components/tt-form-item-error-tooltip/index.vue3.js +5 -0
  124. package/dist/components/tt-icon/components/AddIcon.vue.js +28 -0
  125. package/dist/components/tt-icon/components/AddIcon.vue2.js +4 -0
  126. package/dist/components/tt-icon/components/SubIcon.vue.js +28 -0
  127. package/dist/components/tt-icon/components/SubIcon.vue2.js +4 -0
  128. package/dist/components/tt-icon/index.js +11 -0
  129. package/dist/components/tt-icon/index.vue.js +8 -0
  130. package/dist/components/tt-icon/index.vue2.js +115 -0
  131. package/dist/components/tt-image/index.js +9 -0
  132. package/dist/components/tt-image/src/components/ImageViewer.js +41 -0
  133. package/dist/components/tt-image/tt-image.js +55 -0
  134. package/dist/components/tt-loading/index.js +8 -0
  135. package/dist/components/tt-loading/src/directive.js +51 -0
  136. package/dist/components/tt-loading/src/loading.vue.js +7 -0
  137. package/dist/components/tt-loading/src/loading.vue2.js +75 -0
  138. package/dist/components/tt-loading/src/service.js +79 -0
  139. package/dist/components/tt-log/index.js +7 -0
  140. package/dist/components/tt-log/index.vue.js +31 -0
  141. package/dist/components/tt-log/index.vue2.js +4 -0
  142. package/dist/components/tt-modal/index.js +14 -0
  143. package/dist/components/tt-modal/src/RenderModal.vue.js +310 -0
  144. package/dist/components/tt-modal/src/RenderModal.vue3.js +5 -0
  145. package/dist/components/tt-modal/src/components/ModalFooter.vue.js +7 -0
  146. package/dist/components/tt-modal/src/components/ModalFooter.vue2.js +74 -0
  147. package/dist/components/tt-modal/src/components/ModalHeader.vue.js +7 -0
  148. package/dist/components/tt-modal/src/components/ModalHeader.vue2.js +22 -0
  149. package/dist/components/tt-modal/src/components/ModalWrapper.vue.js +48 -0
  150. package/dist/components/tt-modal/src/components/ModalWrapper.vue2.js +4 -0
  151. package/dist/components/tt-modal/src/hooks/useModalRender.js +131 -0
  152. package/dist/components/tt-modal/src/index.js +17 -0
  153. package/dist/components/tt-modal/src/props.js +75 -0
  154. package/dist/components/tt-modal/src/utils/modal-api.js +200 -0
  155. package/dist/components/tt-modal/src/utils/modal-stack.js +28 -0
  156. package/dist/components/tt-modal-form/hooks/useModalFormSlot.js +22 -0
  157. package/dist/components/tt-modal-form/index.vue.js +201 -0
  158. package/dist/components/tt-modal-form/index.vue2.js +4 -0
  159. package/dist/components/tt-modal-form/useModalForm.js +30 -0
  160. package/dist/components/tt-nav-anchor/index.js +8 -0
  161. package/dist/components/tt-nav-anchor/src/TtNavAnchor.vue.js +234 -0
  162. package/dist/components/tt-nav-anchor/src/TtNavAnchor.vue3.js +5 -0
  163. package/dist/components/tt-nav-anchor/src/constants.js +4 -0
  164. package/dist/components/tt-panel-select/index.js +7 -0
  165. package/dist/components/tt-panel-select/src/common.js +4 -0
  166. package/dist/components/tt-panel-select/src/components/PanelLeft.vue.js +56 -0
  167. package/dist/components/tt-panel-select/src/components/PanelLeft.vue2.js +4 -0
  168. package/dist/components/tt-panel-select/src/components/PanelMiddle.vue.js +277 -0
  169. package/dist/components/tt-panel-select/src/components/PanelMiddle.vue2.js +4 -0
  170. package/dist/components/tt-panel-select/src/components/PanelRight.vue.js +108 -0
  171. package/dist/components/tt-panel-select/src/components/PanelRight.vue2.js +4 -0
  172. package/dist/components/tt-panel-select/src/hooks/usePanelData.js +184 -0
  173. package/dist/components/tt-panel-select/src/hooks/usePanelSelection.js +91 -0
  174. package/dist/components/tt-panel-select/src/index.vue.js +386 -0
  175. package/dist/components/tt-panel-select/src/index.vue2.js +4 -0
  176. package/dist/components/tt-select/index.js +8 -0
  177. package/dist/components/tt-select/src/Select.vue.js +315 -0
  178. package/dist/components/tt-select/src/Select.vue3.js +5 -0
  179. package/dist/components/tt-select/src/components/SelectTable.vue.js +86 -0
  180. package/dist/components/tt-select/src/components/SelectTable.vue3.js +5 -0
  181. package/dist/components/tt-select/src/components/Table.vue.js +307 -0
  182. package/dist/components/tt-select/src/components/Table.vue3.js +5 -0
  183. package/dist/components/tt-select/src/const.js +19 -0
  184. package/dist/components/tt-select/src/hooks/useDataSource.js +196 -0
  185. package/dist/components/tt-select/src/hooks/useGrid.js +97 -0
  186. package/dist/components/tt-select/src/hooks/useKeyboard.js +63 -0
  187. package/dist/components/tt-select/src/hooks/usePagination.js +45 -0
  188. package/dist/components/tt-select/src/hooks/useSelect.js +100 -0
  189. package/dist/components/tt-select/src/hooks/useSelectTableEvent.d.ts +1 -1
  190. package/dist/components/tt-select/src/hooks/useSelectTableEvent.js +345 -0
  191. package/dist/components/tt-select/src/props.js +201 -0
  192. package/dist/components/tt-select/src/utils/index.js +16 -0
  193. package/dist/components/tt-table/index.js +63 -0
  194. package/dist/components/tt-table/src/Table.vue.js +623 -0
  195. package/dist/components/tt-table/src/Table.vue3.js +5 -0
  196. package/dist/components/tt-table/src/TableForm.vue.js +356 -0
  197. package/dist/components/tt-table/src/TableForm.vue2.js +4 -0
  198. package/dist/components/tt-table/src/componentMap.js +4 -0
  199. package/dist/components/tt-table/src/components/RowContext.js +24 -0
  200. package/dist/components/tt-table/src/components/TableAction.vue.js +222 -0
  201. package/dist/components/tt-table/src/components/TableAction.vue2.js +4 -0
  202. package/dist/components/tt-table/src/components/TableButtons.js +117 -0
  203. package/dist/components/tt-table/src/components/TableColumnModal.vue2.js +234 -0
  204. package/dist/components/tt-table/src/components/TableColumnModal.vue3.js +5 -0
  205. package/dist/components/tt-table/src/components/TableToobalTools.vue.js +87 -0
  206. package/dist/components/tt-table/src/components/TableToobalTools.vue2.js +4 -0
  207. package/dist/components/tt-table/src/emits.js +15 -0
  208. package/dist/components/tt-table/src/hooks/useCellArea.js +15 -0
  209. package/dist/components/tt-table/src/hooks/useColumns.js +275 -0
  210. package/dist/components/tt-table/src/hooks/useCustomColumns.js +53 -0
  211. package/dist/components/tt-table/src/hooks/useDataSource.js +224 -0
  212. package/dist/components/tt-table/src/hooks/useLeftRightSlot.js +64 -0
  213. package/dist/components/tt-table/src/hooks/usePagination.js +44 -0
  214. package/dist/components/tt-table/src/hooks/useRowSelection.js +84 -0
  215. package/dist/components/tt-table/src/hooks/useTableContext.js +20 -0
  216. package/dist/components/tt-table/src/hooks/useTableEvent.js +197 -0
  217. package/dist/components/tt-table/src/hooks/useTableForm.js +60 -0
  218. package/dist/components/tt-table/src/hooks/useTableRender.js +33 -0
  219. package/dist/components/tt-table/src/hooks/useTableSlot.js +17 -0
  220. package/dist/components/tt-table/src/props.js +482 -0
  221. package/dist/components/tt-table/src/toolProps.js +30 -0
  222. package/dist/components/tt-table/src/utils/context.js +17 -0
  223. package/dist/components/tt-table/src/utils/table-api.js +386 -0
  224. package/dist/components/tt-table/src/utils/table-form-api.js +122 -0
  225. package/dist/components/tt-text/index.js +7 -0
  226. package/dist/components/tt-text/index.vue.js +7 -0
  227. package/dist/components/tt-text/index.vue2.js +73 -0
  228. package/dist/components/tt-upload/index.js +9 -0
  229. package/dist/components/tt-upload/src/TtUpload.vue.js +306 -0
  230. package/dist/components/tt-upload/src/TtUpload.vue2.js +4 -0
  231. package/dist/components/tt-upload/src/typing.js +107 -0
  232. package/dist/directives/auto-tip/index.js +62 -0
  233. package/dist/directives/dialog-resize/index.js +49 -0
  234. package/dist/directives/dialog-resize/use-css-variable.js +44 -0
  235. package/dist/directives/dialog-resize/use-draggable.js +35 -0
  236. package/dist/directives/dialog-resize/use-fullscreen.js +38 -0
  237. package/dist/directives/dialog-resize/use-parse-translate.js +9 -0
  238. package/dist/directives/dialog-resize/use-resizer.js +37 -0
  239. package/dist/directives/disabled-tip/index.js +78 -0
  240. package/dist/directives/index.js +8 -0
  241. package/dist/hooks/useDataPermissionOptions.js +142 -0
  242. package/dist/hooks/useFormSchemasLink.js +261 -0
  243. package/dist/hooks/useFormat.js +44 -0
  244. package/dist/hooks/useLoading.js +22 -0
  245. package/dist/hooks/useScreenshotOss.js +69 -0
  246. package/dist/hooks/useSetup.js +59 -0
  247. package/dist/hooks/useTable.js +13 -0
  248. package/dist/hooks/useTemplateSlot.js +13 -0
  249. package/dist/index.js +142 -60274
  250. package/dist/plugins/default/renderCellContent.js +58 -0
  251. package/dist/plugins/vxeTable/switchStatus.js +91 -0
  252. package/dist/plugins.js +4 -146
  253. package/dist/style.css +1 -1
  254. package/dist/utils/xhr.js +8 -0
  255. package/package.json +5 -3
  256. package/dist/index-NG5FNCLD.js +0 -3430
  257. package/dist/index.modern-4Cf3dcJP.js +0 -3069
@@ -0,0 +1,16 @@
1
+ import { isEqual as i, get as f } from "lodash-es";
2
+ function c(t, n, e = []) {
3
+ if (e.length === 0)
4
+ return !i(t, n);
5
+ const l = e.reduce(
6
+ (u, r) => (r && (u[r] = f(t, r)), u),
7
+ {}
8
+ ), o = e.reduce(
9
+ (u, r) => (r && (u[r] = f(n, r)), u),
10
+ {}
11
+ );
12
+ return !i(l, o);
13
+ }
14
+ export {
15
+ c as isEqualObject
16
+ };
@@ -0,0 +1,63 @@
1
+ import { withInstall as t } from "@dazhicheng/utils";
2
+ import o from "./src/components/TableAction.vue.js";
3
+ import r from "./src/components/TableButtons.js";
4
+ import m from "./src/Table.vue.js";
5
+ /* empty css */
6
+ import "vue";
7
+ import "@tanstack/vue-store";
8
+ import "../tt-button/index.js";
9
+ import "../tt-checkbox/index.js";
10
+ import "../tt-empty/index.js";
11
+ import "element-plus";
12
+ import "../tt-select/index.js";
13
+ import "../tt-panel-select/index.js";
14
+ import "../tt-upload/index.js";
15
+ import "../tt-api-component/index.js";
16
+ import "vee-validate";
17
+ import "dayjs";
18
+ import "dayjs/plugin/timezone";
19
+ import "lodash-es";
20
+ import "es-toolkit/compat";
21
+ import "zod";
22
+ import "../tt-form/src/shared/zod-defaults.js";
23
+ import "@dazhicheng/hooks";
24
+ import "@vueuse/core";
25
+ import "../tt-icon/index.js";
26
+ /* empty css */
27
+ /* empty css */
28
+ import "../tt-form/src/components/Slot.js";
29
+ import "../tt-form-item-error-tooltip/index.js";
30
+ /* empty css */
31
+ import "../tt-form/src/form/RenderContent.vue.js";
32
+ import "@vee-validate/zod";
33
+ import "../tt-text/index.js";
34
+ import "../tt-form/src/form-render/FormFieldContact.js";
35
+ /* empty css */
36
+ /* empty css */
37
+ import "../tt-nav-anchor/index.js";
38
+ /* empty css */
39
+ /* empty css */
40
+ import "../tt-image/index.js";
41
+ import "../tt-drawer/index.js";
42
+ import "../tt-modal/index.js";
43
+ import "../../directives/disabled-tip/index.js";
44
+ import "xe-utils";
45
+ import "../tt-log/index.js";
46
+ /* empty css */
47
+ /* empty css */
48
+ /* empty css */
49
+ /* empty css */
50
+ /* empty css */
51
+ import "../tt-loading/index.js";
52
+ import "vue-router";
53
+ import "numeral";
54
+ import "sortablejs";
55
+ /* empty css */
56
+ import "./src/emits.js";
57
+ import "./src/props.js";
58
+ const st = t(o), Tt = t(r), at = t(m);
59
+ export {
60
+ at as TtTable,
61
+ st as TtTableAction,
62
+ Tt as TtTableButton
63
+ };
@@ -0,0 +1,623 @@
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";
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";
9
+ import { VxeUI as jt, VxePager as Lt } from "vxe-pc-ui";
10
+ import { VxeGrid as Nt } from "vxe-table";
11
+ import { tableProps as Gt } from "vxe-table/es/table/src/props";
12
+ import Wt from "xe-utils";
13
+ import At from "../../../assets/svg/paixu-jiangxu.svg.js";
14
+ import Ut from "../../../assets/svg/paixu-moren.svg.js";
15
+ import Yt from "../../../assets/svg/paixu-shengxu.svg.js";
16
+ import { TtImage as Re } from "../../tt-image/index.js";
17
+ import { TtText as Mt } from "../../tt-text/index.js";
18
+ import { RowContext as Jt } from "./components/RowContext.js";
19
+ import { basicTableEmits as Pe } from "./emits.js";
20
+ import { useCellArea as qt } from "./hooks/useCellArea.js";
21
+ import { useColumns as Xt } from "./hooks/useColumns.js";
22
+ import { useDataSource as Qt } from "./hooks/useDataSource.js";
23
+ import { useLeftRightSlot as Zt } from "./hooks/useLeftRightSlot.js";
24
+ import { usePagination as eo } from "./hooks/usePagination.js";
25
+ import { useRowSelection as to } from "./hooks/useRowSelection.js";
26
+ import { createTableContext as oo } from "./hooks/useTableContext.js";
27
+ import { useTableEvents as ro } from "./hooks/useTableEvent.js";
28
+ import { tableOtherProps as so, tableProps as _e } from "./props.js";
29
+ import { TableApi as lo } from "./utils/table-api.js";
30
+ const no = ["data-testid", "data-table-columns"], ao = ["onClick"], io = {
31
+ class: "mr-4px flex-1 overflow-hidden"
32
+ }, co = ["src"], uo = ["src"], fo = ["src"], go = {
33
+ style: {
34
+ color: "#009ffa"
35
+ }
36
+ }, po = {
37
+ key: 0
38
+ }, mo = {
39
+ key: 0
40
+ }, Ao = /* @__PURE__ */ vt({
41
+ name: "TtTable",
42
+ __name: "Table",
43
+ props: {
44
+ ...Gt,
45
+ ..._e,
46
+ ...so
47
+ },
48
+ emits: ["register", "fetch-success", "fetch-error", "selection-change", "update:modelValue", ...Pe],
49
+ setup(Ee, {
50
+ expose: Ie,
51
+ emit: ze
52
+ }) {
53
+ var we;
54
+ const b = Ee, c = ze, se = St(), E = xt(), {
55
+ prefixCls: $
56
+ } = Et("table"), le = P(), Oe = P({}), G = P(null), g = P(), ne = P([]), ae = {}, ie = P({}), h = wt();
57
+ let l = b.tableApi;
58
+ if (!l) {
59
+ l = new lo(b);
60
+ const e = l;
61
+ e.useStore = (o) => Ft(l.store, o), l = e;
62
+ }
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"));
64
+ Ce("tableIdContext", q);
65
+ const C = Ct({
66
+ emptyText: B(D).emptyText,
67
+ noSearchText: B(D).noSearchText,
68
+ isFirstLoad: !0,
69
+ emptyImageStatus: B(D).emptyImageStatus
70
+ }), ce = P({}), a = v(() => {
71
+ const {
72
+ toolTipErrorPlacement: e,
73
+ ...o
74
+ } = _(B(D)) || {};
75
+ return {
76
+ ...o,
77
+ toolTipErrorPlacement: e
78
+ };
79
+ });
80
+ Ce(`${$}-props`, a);
81
+ const {
82
+ getLoading: W,
83
+ setLoading: de
84
+ } = _t(v(() => t(a).loading || !1)), {
85
+ configRef: H,
86
+ getPaginationInfo: I,
87
+ getPagination: De,
88
+ setPagination: X,
89
+ handlePageChange: He
90
+ } = eo(a, c), {
91
+ selectedKeys: Q,
92
+ selectedRows: ue,
93
+ getCheckboxSelectedKeys: Be,
94
+ onCheckboxChange: Fe,
95
+ onCheckboxAll: Ke,
96
+ getSelectRowKeys: je,
97
+ getSelectRows: Le,
98
+ clearSelectedRowKeys: Z,
99
+ setSelectedRowKeys: Ne,
100
+ onCellAreaSelectionEndSetCheckbox: Ge,
101
+ onCheckboxRangeChange: fe,
102
+ onRadioChange: We
103
+ } = to(a, c, g), {
104
+ handleLeftRightSlotInit: Ae,
105
+ handleLeftRightSlotScroll: Ue,
106
+ leftRightSlotRows: ge,
107
+ tableBodyWrapHeight: z,
108
+ tableHeaderHight: pe,
109
+ tableBodyScrollHeight: me,
110
+ tableBodyHeight: A,
111
+ leftSlotScrollbarRef: Ye,
112
+ rightSlotScrollbarRef: Me,
113
+ tableBodyScrollTop: he
114
+ } = Zt(a, g, ne), {
115
+ reload: Je,
116
+ reloadFilter: be,
117
+ getDataSource: qe,
118
+ dataSource: Xe,
119
+ isloaded: Qe
120
+ } = Qt(a, {
121
+ xGrid: g,
122
+ tableData: ne,
123
+ paginationRef: H,
124
+ getPaginationInfo: I,
125
+ setLoading: de,
126
+ setPagination: X,
127
+ clearSelectedRowKeys: Z,
128
+ getIsTableEvent: l.getIsTableEvent
129
+ }, c), {
130
+ titleSolts: Ze,
131
+ validSolts: et,
132
+ // httpFieldSolts,
133
+ // httpFieldEditSolts,
134
+ setTableColumns: tt,
135
+ getTableColumns: ye,
136
+ // setCacheColumns,
137
+ onResizableChange: ot,
138
+ onColumnDragend: rt
139
+ } = Xt(a, {
140
+ xGrid: g,
141
+ tableWidth: v(() => t(G).offsetWidth)
142
+ }, c), y = v(() => {
143
+ const {
144
+ tableRowId: e,
145
+ checkboxConfig: o,
146
+ rowConfig: r,
147
+ columnConfig: s,
148
+ scrollY: i = {},
149
+ showToolbar: n,
150
+ toolbarConfig: f = {},
151
+ showPager: S,
152
+ autoHeight: x,
153
+ virtualYConfig: U = {},
154
+ expandConfig: Y = {}
155
+ } = t(a), T = {}, yt = N(t(a), ["data", "columns"]);
156
+ return n && (T.toolbarConfig = {
157
+ slots: E.toolbar_tools || E.toolbar_buttons ? {
158
+ tools: E.toolbar_tools ? "toolbar_tools" : void 0,
159
+ buttons: E.toolbar_buttons ? "toolbar_buttons" : void 0
160
+ } : void 0,
161
+ ...f
162
+ }), S || (T.pagerConfig = void 0), x && (T.height = "auto", T.autoResize = !0, T.syncResize = !0), zt(jt.tableVersion, 4, 16) ? T.virtualYConfig = {
163
+ enabled: !0,
164
+ mode: "wheel",
165
+ ...U
166
+ } : T.scrollY = {
167
+ enabled: !0,
168
+ mode: "wheel",
169
+ ...i
170
+ }, {
171
+ ...yt,
172
+ ...T,
173
+ columnConfig: {
174
+ useKey: !0,
175
+ resizable: !1,
176
+ ...s
177
+ },
178
+ rowConfig: {
179
+ useKey: !0,
180
+ keyField: e,
181
+ isHover: !1,
182
+ isCurrent: !1,
183
+ ...r
184
+ },
185
+ resizableConfig: {
186
+ showDragTip: !0
187
+ },
188
+ checkboxConfig: {
189
+ // checkField: 'checked',
190
+ highlight: !1,
191
+ ...o
192
+ },
193
+ expandConfig: {
194
+ padding: !0,
195
+ iconClose: "vxe-icon-caret-down",
196
+ iconOpen: "vxe-icon-caret-up",
197
+ ...Y
198
+ },
199
+ // data: unref(dataSource),
200
+ // height: unref(tableHeight),
201
+ // stripe: true,
202
+ round: !0,
203
+ loading: !1
204
+ };
205
+ }), st = v(() => Ot(t(y).showHeaderOverflow) ? t(y).showHeaderOverflow : Vt(t(y).showHeaderOverflow) ? t(y).showHeaderOverflow === "tooltip" : !1), {
206
+ onCellAreaSelectionEnd: lt
207
+ } = qt(y, c, g, {
208
+ onCellAreaSelectionEndSetCheckbox: Ge,
209
+ onCheckboxRangeChange: fe
210
+ }), ve = ro(g, C, c, l, a, {
211
+ clearSelectedRowKeys: Z
212
+ });
213
+ M(() => y.value, (e, o) => {
214
+ const r = Object.keys(_e), s = Dt(e, o || {}, {
215
+ exclude: r
216
+ });
217
+ if (Object.keys(s).length) {
218
+ const i = {
219
+ ...se,
220
+ ...t(y)
221
+ }, n = N(i, [...r, "showFullscreen", "data", "columns"]);
222
+ ie.value = n, ve.setEmptyText(e.emptyText || "");
223
+ }
224
+ }, {
225
+ deep: !0,
226
+ immediate: !0
227
+ });
228
+ const Se = v(() => {
229
+ const {
230
+ emptyImageStyle: e
231
+ } = B(D);
232
+ return {
233
+ ...e
234
+ };
235
+ });
236
+ Pe.forEach((e) => {
237
+ const o = Wt.camelCase(e);
238
+ ae[o] = (...r) => c(e, ...r);
239
+ });
240
+ const nt = v(() => ({
241
+ ...ae,
242
+ radioChange: We,
243
+ checkboxChange: Fe,
244
+ checkboxAll: Ke,
245
+ resizableChange: ot,
246
+ cellAreaSelectionEnd: lt,
247
+ scroll: dt,
248
+ toggleRowExpand: ft,
249
+ checkboxRangeChange: fe,
250
+ columnDragend: rt,
251
+ // columnResizableChange: onColumnResizableChange,
252
+ scrollBoundary: ut,
253
+ editClosed: (e) => {
254
+ const {
255
+ fullData: o = []
256
+ } = e.$grid.getTableData(), {
257
+ isDataCloneDeep: r
258
+ } = t(a);
259
+ c("update:modelValue", r ? Kt(o) : o), c("edit-closed", e);
260
+ }
261
+ }));
262
+ async function at(e) {
263
+ l.setState(e);
264
+ }
265
+ function xe() {
266
+ F(() => {
267
+ var e;
268
+ (e = t(g)) == null || e.recalculate(!0);
269
+ });
270
+ }
271
+ function it(e, o) {
272
+ e && (ce.value[o] = e);
273
+ }
274
+ async function ct(e) {
275
+ if (!e.sortable) {
276
+ c("sort-change", {
277
+ order: _(e).order || "desc",
278
+ originOrder: _(e).order,
279
+ ...N(_(e), ["order"])
280
+ });
281
+ return;
282
+ }
283
+ const o = g.value;
284
+ switch (e.order) {
285
+ case "desc":
286
+ await (o == null ? void 0 : o.sort(e.field, "asc"));
287
+ break;
288
+ case "asc":
289
+ await (o == null ? void 0 : o.clearSort(e.field));
290
+ break;
291
+ default:
292
+ await (o == null ? void 0 : o.sort(e.field, "desc"));
293
+ }
294
+ c("sort-change", {
295
+ order: _(e).order || "desc",
296
+ originOrder: _(e).order,
297
+ ...N(_(e), ["order"])
298
+ }), be();
299
+ }
300
+ function dt(e) {
301
+ c("scroll", e), ((e == null ? void 0 : e.type) === "body" || (e == null ? void 0 : e.type) === "table") && Ue(e == null ? void 0 : e.scrollTop);
302
+ }
303
+ function ut(e) {
304
+ var f;
305
+ c("scroll-boundary", e);
306
+ const {
307
+ isScrollFetch: o
308
+ } = t(a), {
309
+ isBottom: r
310
+ } = e;
311
+ if (!o || !r || W.value) return;
312
+ const {
313
+ currentPage: s = 0,
314
+ total: i = 0
315
+ } = t(I), {
316
+ fullData: n = []
317
+ } = ((f = t(g)) == null ? void 0 : f.getTableData()) || {};
318
+ i <= n.length || X({
319
+ currentPage: s + 1
320
+ });
321
+ }
322
+ function ft(e) {
323
+ c("toggle-row-expand", e), setTimeout(() => {
324
+ Ae(!1);
325
+ }, 30);
326
+ }
327
+ const gt = (e) => {
328
+ var i;
329
+ const {
330
+ visible: o,
331
+ column: r
332
+ } = e, {
333
+ filterExclude: s = []
334
+ } = r.filterRender.props || {};
335
+ o && ((i = t(le)) == null || i.hidePopper(), F(() => {
336
+ var S, x, U, Y;
337
+ const n = (S = e == null ? void 0 : e.$event) == null ? void 0 : S.target, f = (U = (x = n == null ? void 0 : n.parentNode) == null ? void 0 : x.parentNode) == null ? void 0 : U.parentNode;
338
+ (Y = t(le)) == null || Y.showPopper(f), Object.assign(Oe.value, {
339
+ column: e.column,
340
+ $event: e.$event,
341
+ $table: e.$table,
342
+ $grid: e.$grid,
343
+ filterExclude: s
344
+ });
345
+ })), c("filter-visible", e);
346
+ };
347
+ F(() => {
348
+ const {
349
+ autoHeight: e
350
+ } = t(a);
351
+ e && xe();
352
+ });
353
+ const R = {
354
+ reload: Je,
355
+ setProps: at,
356
+ setTableColumns: tt,
357
+ setPagination: X,
358
+ setLoading: de,
359
+ redoHeight: xe,
360
+ getDataSource: qe,
361
+ getPagination: De,
362
+ getSelectRowKeys: je,
363
+ getSelectRows: Le,
364
+ getTableInstance: () => t(g),
365
+ getLoading: W,
366
+ getTableColumns: ye,
367
+ setSelectedRowKeys: Ne,
368
+ clearSelectedRowKeys: Z,
369
+ selectedKeys: Q,
370
+ selectedRows: ue,
371
+ ...ve
372
+ };
373
+ oo({
374
+ ...R,
375
+ wrapRef: G,
376
+ getBindValues: y
377
+ }), Ie({
378
+ ...R,
379
+ xGrid: g
380
+ }), h && c("register", R, `${h == null ? void 0 : h.uid}`), M(() => W.value, (e) => {
381
+ l.setProxyState({
382
+ loading: e
383
+ }), F(() => {
384
+ var o;
385
+ h && ((o = R.emitLoading) == null || o.call(R, e, h == null ? void 0 : h.uid));
386
+ });
387
+ });
388
+ function pt(e) {
389
+ return Object.fromEntries(Object.entries(e).filter(([o]) => !o.startsWith("on")));
390
+ }
391
+ function mt(e, o) {
392
+ return Object.fromEntries(Object.keys(e).map((r) => [r, o[r]]));
393
+ }
394
+ function ht(e) {
395
+ return e.column.slots.title;
396
+ }
397
+ M(() => N(b, ["tableApi", "formApi"]), () => {
398
+ var n;
399
+ const e = {}, o = ((n = h == null ? void 0 : h.vnode) == null ? void 0 : n.props) || {}, r = new Set(Object.keys(b));
400
+ for (const [f, S] of Object.entries(o)) {
401
+ const x = Ht(f);
402
+ r.has(x) && (e[x] = S);
403
+ }
404
+ const s = pt(e), i = mt(s, b);
405
+ l.setState(i);
406
+ }, {
407
+ deep: !0
408
+ }), M(() => Q.value, (e) => {
409
+ l.setProxyState({
410
+ selectedKeys: e,
411
+ selectedRows: t(ue)
412
+ });
413
+ });
414
+ const bt = v(() => ke(q.value, "table-toolbar"));
415
+ return Tt(() => {
416
+ var e;
417
+ l.setState({
418
+ modelValue: b.modelValue
419
+ }), (e = l.mount) == null || e.call(l, g.value, R), F(() => {
420
+ var r;
421
+ const o = (r = G.value) == null ? void 0 : r.querySelector(".vxe-toolbar");
422
+ o && o.setAttribute("data-testid", t(bt));
423
+ });
424
+ }), kt(() => {
425
+ var e;
426
+ (e = l == null ? void 0 : l.unmount) == null || e.call(l);
427
+ }), (e, o) => (d(), p("div", {
428
+ ref_key: "wrapRef",
429
+ ref: G,
430
+ class: K([t($), t(se).class]),
431
+ "data-testid": Ve.value,
432
+ "data-table-columns": JSON.stringify(t(ye)().map((r) => ({
433
+ title: r.title,
434
+ field: r.field
435
+ })))
436
+ }, [O(t(Nt), ee({
437
+ ref_key: "xGrid",
438
+ ref: g
439
+ }, ie.value, {
440
+ onFilterChange: o[2] || (o[2] = (r) => t(be)())
441
+ }, $t(nt.value), {
442
+ onFilterVisible: gt
443
+ }), Rt({
444
+ empty: u(() => [t(W) ? (d(), p("div", {
445
+ key: 1,
446
+ class: K(`${t($)}-empty-image`)
447
+ }, [w("span", null, L(C.emptyText || ""), 1)], 2)) : (d(), p("div", {
448
+ key: 0,
449
+ class: K(`${t($)}-empty-image`)
450
+ }, [t(Qe) || !a.value.api ? (d(), p(Te, {
451
+ key: 0
452
+ }, [O(t(Re), {
453
+ style: k(Se.value),
454
+ status: C.emptyImageStatus
455
+ }, null, 8, ["style", "status"]), C.emptyText ? (d(), p("span", po, L(C.emptyText), 1)) : V("", !0)], 64)) : (d(), p(Te, {
456
+ key: 1
457
+ }, [O(t(Re), {
458
+ style: k(Se.value),
459
+ 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), {
462
+ key: 0,
463
+ ref_key: "leftSlotScrollbarRef",
464
+ ref: Ye,
465
+ "wrap-class": "overflow-hidden",
466
+ class: "tt-table-left-right-scroll",
467
+ height: `${t(z)}px`,
468
+ style: k({
469
+ width: `${a.value.leftSlotWidth}px`,
470
+ height: `${t(z)}px`,
471
+ marginTop: `${t(pe)}px`
472
+ })
473
+ }, {
474
+ default: u(() => [w("div", {
475
+ class: "float-left w-0",
476
+ style: k({
477
+ height: `${t(me)}px`
478
+ })
479
+ }, null, 4), w("div", {
480
+ style: k({
481
+ width: "100%",
482
+ height: `${t(A)}px`,
483
+ marginTop: `${t(he)}`
484
+ }),
485
+ class: "relative"
486
+ }, [m(e.$slots, "tableLeft", j(J({
487
+ rowNodes: t(ge),
488
+ height: t(A)
489
+ })))], 4)]),
490
+ _: 3
491
+ }, 8, ["height", "style"])) : V("", !0)])]),
492
+ right: u(() => [m(e.$slots, "right", {}, () => [t(z) ? (d(), te(t($e), {
493
+ key: 0,
494
+ ref_key: "rightSlotScrollbarRef",
495
+ ref: Me,
496
+ "wrap-class": "overflow-hidden",
497
+ class: "tt-table-left-right-scroll",
498
+ always: "",
499
+ height: `${t(z)}px`,
500
+ style: k({
501
+ width: `${a.value.rightSlotWidth}px`,
502
+ height: `${t(z)}px`,
503
+ marginTop: `${t(pe)}px`
504
+ })
505
+ }, {
506
+ default: u(() => [w("div", {
507
+ class: "float-left w-0",
508
+ style: k({
509
+ height: `${t(me)}px`
510
+ })
511
+ }, null, 4), w("div", {
512
+ style: k({
513
+ width: "100%",
514
+ height: `${t(A)}px`,
515
+ marginTop: `${t(he)}`
516
+ }),
517
+ class: "relative"
518
+ }, [m(e.$slots, "tableRight", j(J({
519
+ rowNodes: t(ge),
520
+ height: t(A)
521
+ })))], 4)]),
522
+ _: 3
523
+ }, 8, ["height", "style"])) : V("", !0)])]),
524
+ _: 2
525
+ }, [oe(t(Ze), (r) => ({
526
+ name: r,
527
+ fn: u((s) => [w("div", {
528
+ class: "flex items-center",
529
+ onClick: Pt((i) => ct(s.column), ["stop"])
530
+ }, [w("div", io, [m(e.$slots, ht(s), j(J(s)), () => [O(t(Mt), {
531
+ "tool-tip": st.value
532
+ }, {
533
+ default: u(() => [re(L(s.column.title), 1)]),
534
+ _: 2
535
+ }, 1032, ["tool-tip"])])]), s.column.sortable ? (d(), p("div", {
536
+ key: 0,
537
+ class: K(["flex-x", {
538
+ "is-order": s.column.order,
539
+ [`${t($)}-custom-sort`]: !0
540
+ }])
541
+ }, [s.column.order === "asc" ? (d(), p("img", {
542
+ key: 0,
543
+ src: t(Yt)
544
+ }, null, 8, co)) : s.column.order === "desc" ? (d(), p("img", {
545
+ key: 1,
546
+ src: t(At)
547
+ }, null, 8, uo)) : (d(), p("img", {
548
+ key: 2,
549
+ src: t(Ut)
550
+ }, null, 8, fo))], 2)) : V("", !0)], 8, ao)])
551
+ })), oe(Object.keys(e.$slots), (r) => ({
552
+ name: r,
553
+ fn: u((s) => [r.includes("action") ? (d(), te(t(Jt), {
554
+ key: 0,
555
+ "row-index": s.$rowIndex
556
+ }, {
557
+ default: u(() => [m(e.$slots, r, ee(s, {
558
+ rowIndex: s.$rowIndex
559
+ }))]),
560
+ _: 2
561
+ }, 1032, ["row-index"])) : m(e.$slots, r, j(ee({
562
+ key: 1
563
+ }, s)))])
564
+ })), y.value.showTableAlert ? {
565
+ name: "top",
566
+ fn: u(() => [w("div", {
567
+ 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)]),
569
+ key: "0"
570
+ } : void 0, t(E).toolbar_buttons ? {
571
+ name: "toolbar_buttons",
572
+ fn: u(() => [m(e.$slots, "toolbar_buttons")]),
573
+ key: "1"
574
+ } : void 0, t(E).toolbar_tools ? {
575
+ name: "toolbar_tools",
576
+ fn: u(() => [m(e.$slots, "toolbar_tools")]),
577
+ key: "2"
578
+ } : void 0, oe(t(et), (r) => ({
579
+ name: r,
580
+ fn: u(({
581
+ content: s,
582
+ rowIndex: i,
583
+ columnIndex: n,
584
+ column: f,
585
+ fixed: S
586
+ }) => [!S || S === f.fixed ? (d(), p("div", {
587
+ key: 0,
588
+ ref: (x) => it(x, `valid_${i}_${n}`),
589
+ class: "h-full w-full"
590
+ }, [O(t(Bt), {
591
+ placement: a.value.toolTipErrorPlacement,
592
+ "err-msg": s,
593
+ "ref-dom": ce.value[`valid_${i}_${n}`]
594
+ }, null, 8, ["placement", "err-msg", "ref-dom"])], 512)) : V("", !0)])
595
+ })), y.value.showPager ? {
596
+ name: "pager",
597
+ fn: u(() => {
598
+ var r, s, i, n;
599
+ return [O(t(Lt), {
600
+ "current-page": t(H).currentPage,
601
+ "onUpdate:currentPage": o[0] || (o[0] = (f) => t(H).currentPage = f),
602
+ "page-size": t(H).pageSize,
603
+ "onUpdate:pageSize": o[1] || (o[1] = (f) => t(H).pageSize = f),
604
+ "page-sizes": (r = t(I)) == null ? void 0 : r.pageSizes,
605
+ layouts: (s = t(I)) == null ? void 0 : s.layouts,
606
+ total: ((i = t(I)) == null ? void 0 : i.total) || t(Xe).length,
607
+ size: (n = t(I)) == null ? void 0 : n.size,
608
+ "class-name": `${t($)}-vxe-pager`,
609
+ onPageChange: t(He)
610
+ }, {
611
+ left: u(() => [m(e.$slots, "pager_left", j(J({
612
+ selectedKeys: t(Q)
613
+ }))), m(e.$slots, "buttom_left")]),
614
+ _: 3
615
+ }, 8, ["current-page", "page-size", "page-sizes", "layouts", "total", "size", "class-name", "onPageChange"])];
616
+ }),
617
+ key: "3"
618
+ } : void 0]), 1040)], 10, no));
619
+ }
620
+ });
621
+ export {
622
+ Ao as default
623
+ };
@@ -0,0 +1,5 @@
1
+ import o from "./Table.vue.js";
2
+ /* empty css */
3
+ export {
4
+ o as default
5
+ };