@dt-frames/ui 2.0.23 → 3.0.1

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 (350) hide show
  1. package/README.md +9 -9
  2. package/es/assets/icons/ui-blank.svg +1 -0
  3. package/es/assets/icons/ui-docx.svg +1 -0
  4. package/es/assets/icons/ui-exl.svg +1 -0
  5. package/es/assets/icons/ui-forder-open.svg +1 -0
  6. package/es/assets/icons/ui-forder.svg +1 -0
  7. package/es/assets/icons/ui-jpg.svg +1 -0
  8. package/es/assets/icons/ui-pdf.svg +1 -0
  9. package/es/assets/icons/ui-ppt.svg +1 -0
  10. package/es/assets/icons/ui-rar.svg +1 -0
  11. package/es/assets/icons/ui-table-empty.svg +1 -0
  12. package/es/assets/icons/ui-txt.svg +1 -0
  13. package/es/assets/index.e67ea2f5.css +1 -0
  14. package/es/assets/locales/en.d.ts +1 -0
  15. package/es/assets/locales/en.ts +1 -0
  16. package/es/assets/locales/zh.d.ts +1 -0
  17. package/es/assets/locales/zh.ts +1 -0
  18. package/es/assets/test.ts +1 -0
  19. package/es/components/container/index.d.ts +2 -93
  20. package/es/components/container/index.js +92 -15
  21. package/es/components/container/src/components/bar.d.ts +2 -2
  22. package/es/components/container/{index.less → src/index.scss} +9 -16
  23. package/es/components/container/src/utils/scroll.d.ts +1 -1
  24. package/es/components/curd/index.d.ts +3 -1
  25. package/es/components/curd/index.js +66 -141
  26. package/es/components/curd/src/components/props.d.ts +53 -0
  27. package/es/components/curd/src/components/types/curd.type.d.ts +13 -0
  28. package/es/components/curd/src/hooks/useCurd.d.ts +3 -110
  29. package/es/components/curd/src/props.d.ts +109 -159
  30. package/es/components/curd/src/types/curd.type.d.ts +54 -8
  31. package/es/components/drawer/index.d.ts +3 -7881
  32. package/es/components/drawer/index.js +209 -307
  33. package/es/components/drawer/src/components/DrawerFooter.d.ts +19 -21
  34. package/es/components/drawer/src/hooks/useDrawer.d.ts +2 -2
  35. package/es/components/drawer/src/index.d.ts +11 -7876
  36. package/es/components/drawer/src/index.scss +24 -0
  37. package/es/components/drawer/src/props.d.ts +2 -64
  38. package/es/components/drawer/src/{types/index.type.d.ts → type/drawer.type.d.ts} +26 -14
  39. package/es/components/form/index.d.ts +5 -5
  40. package/es/components/form/index.js +641 -634
  41. package/es/components/form/src/components/DynanicInput.d.ts +2 -0
  42. package/es/components/form/src/components/FormButtons.d.ts +13 -3086
  43. package/es/components/form/src/components/FormInputUseDialog.d.ts +2 -0
  44. package/es/components/form/src/components/FormItem.d.ts +53 -156
  45. package/es/components/form/src/components/RadioButton.d.ts +26 -0
  46. package/es/components/form/src/components/componentMap.d.ts +2 -2
  47. package/es/components/form/src/components/index.d.ts +2 -4
  48. package/es/components/form/src/hooks/useForm.d.ts +3 -3
  49. package/es/components/form/src/hooks/useFormActions.d.ts +38 -5
  50. package/es/components/form/src/hooks/useFormEvent.d.ts +9 -7
  51. package/es/components/form/src/hooks/useFormValue.d.ts +2 -2
  52. package/es/components/form/src/hooks/useFormValues.d.ts +8 -6
  53. package/es/components/form/src/hooks/useLabelWidth.d.ts +1 -1
  54. package/es/components/form/src/index.d.ts +358 -0
  55. package/es/components/form/src/index.scss +162 -0
  56. package/es/components/form/src/props.d.ts +45 -7
  57. package/es/components/form/src/types/actions.type.d.ts +1 -1
  58. package/es/components/form/src/types/form.type.d.ts +59 -26
  59. package/es/components/form/src/types/items.type.d.ts +33 -33
  60. package/es/components/form/src/{hooks → utils}/helper.d.ts +7 -0
  61. package/es/components/icons/index.d.ts +2 -497
  62. package/es/components/icons/index.js +42 -1911
  63. package/es/components/icons/src/{svg-icon.d.ts → SvgIcon.d.ts} +7 -14
  64. package/es/components/icons/src/index.scss +3 -0
  65. package/es/components/iframe/index.js +40 -29
  66. package/es/components/iframe/src/index.d.ts +16 -11
  67. package/es/components/iframe/src/index.scss +20 -0
  68. package/es/components/modal/index.d.ts +3 -2
  69. package/es/components/modal/index.js +188 -198
  70. package/es/components/modal/src/components/CloseIcon.d.ts +4 -20
  71. package/es/components/modal/src/components/Modal.d.ts +201 -108
  72. package/es/components/modal/src/components/ModalFooter.d.ts +12 -20
  73. package/es/components/modal/src/hooks/useDrag.d.ts +2 -3
  74. package/es/components/modal/src/hooks/useFullScreen.d.ts +1 -1
  75. package/es/components/modal/src/hooks/useModal.d.ts +3 -3
  76. package/es/components/modal/src/index.d.ts +32 -359
  77. package/es/components/modal/{index.less → src/index.scss} +104 -82
  78. package/es/components/modal/src/props.d.ts +10 -17
  79. package/es/components/modal/src/types/{modal.type.d.ts → index.type.d.ts} +7 -6
  80. package/es/components/source/index.d.ts +1 -1
  81. package/es/components/source/index.js +142 -113
  82. package/es/components/source/{hooks → src/hooks}/useDownload.d.ts +1 -1
  83. package/es/components/source/{hooks → src/hooks}/useSource.d.ts +24 -20
  84. package/es/components/source/{types → src/types}/source.type.d.ts +12 -13
  85. package/es/components/table/index.d.ts +7 -2
  86. package/es/components/table/index.js +197 -286
  87. package/es/components/table/src/components/TableAction.d.ts +16 -24
  88. package/es/components/table/src/components/TableHeader.d.ts +35 -0
  89. package/es/components/table/src/components/TableRender.d.ts +10 -14
  90. package/es/components/table/src/components/editTable/CellComponent.d.ts +4 -4
  91. package/es/components/table/src/components/editTable/EditTableCell.d.ts +15 -57
  92. package/es/components/table/src/components/editTable/componentMap.d.ts +1 -1
  93. package/es/components/table/src/components/editTable/index.d.ts +3 -3
  94. package/es/components/table/src/components/editTable/props.d.ts +6 -6
  95. package/es/components/table/src/components/tableSetting/Column.d.ts +3 -68
  96. package/es/components/table/src/components/tableSetting/Download.d.ts +11 -0
  97. package/es/components/table/src/components/tableSetting/DownloadCtrl.d.ts +2 -22
  98. package/es/components/table/src/components/tableSetting/Fullscreen.d.ts +2 -22
  99. package/es/components/table/src/components/tableSetting/index.d.ts +17 -0
  100. package/es/components/table/src/hooks/useDataSource.d.ts +3 -4
  101. package/es/components/table/src/hooks/useHeader.d.ts +3 -3
  102. package/es/components/table/src/hooks/useHeaderCode.d.ts +2 -2
  103. package/es/components/table/src/hooks/useLoading.d.ts +3 -3
  104. package/es/components/table/src/hooks/usePagination.d.ts +2 -2
  105. package/es/components/table/src/hooks/useRowSelection.d.ts +1 -1
  106. package/es/components/table/src/hooks/useTable.d.ts +1 -1
  107. package/es/components/table/src/hooks/useTableInstance.d.ts +2 -2
  108. package/es/components/table/src/hooks/useTableScroll.d.ts +0 -1
  109. package/es/components/table/src/hooks/useTableStyle.d.ts +5 -0
  110. package/es/components/table/src/index.d.ts +169 -324
  111. package/es/components/table/{index.less → src/index.scss} +309 -279
  112. package/es/components/table/src/props.d.ts +39 -14
  113. package/es/components/table/src/types/actions.type.d.ts +5 -5
  114. package/es/components/table/src/types/header.type.d.ts +6 -6
  115. package/es/components/table/src/types/table.type.d.ts +84 -21
  116. package/es/components/tree/index.d.ts +2 -1
  117. package/es/components/tree/index.js +320 -324
  118. package/es/components/tree/src/basicProps.d.ts +9 -9
  119. package/es/components/tree/src/components/ContextMenu.d.ts +17 -17
  120. package/es/components/tree/src/components/TreeHeader.d.ts +13 -33
  121. package/es/components/tree/src/hooks/useContextMenu.d.ts +2 -2
  122. package/es/components/tree/src/hooks/useMethod.d.ts +16 -0
  123. package/es/components/tree/src/hooks/useTree.d.ts +5 -15
  124. package/es/components/tree/src/index.d.ts +52 -6369
  125. package/es/components/tree/src/index.scss +178 -0
  126. package/es/components/tree/src/types/action.type.d.ts +64 -0
  127. package/es/components/tree/src/{type → types}/menu.d.ts +1 -1
  128. package/es/components/tree/src/types/tree.d.ts +31 -0
  129. package/es/components/tree/src/utils/tree.d.ts +1 -1
  130. package/es/components/upload/index.d.ts +1 -1
  131. package/es/components/upload/index.js +111 -102
  132. package/es/components/upload/src/basicProps.d.ts +11 -7
  133. package/es/components/upload/src/components/PdfView.d.ts +2 -9
  134. package/es/components/upload/src/components/WordView.d.ts +2 -7
  135. package/es/components/upload/src/hooks/useFile.d.ts +3 -3
  136. package/es/components/upload/src/index.d.ts +47 -96
  137. package/es/components/upload/{index.less → src/index.scss} +19 -13
  138. package/es/components/upload/src/type/file.d.ts +2 -2
  139. package/es/components/upload/src/utils/upload.d.ts +1 -1
  140. package/es/components/vxe_table/index.d.ts +4 -0
  141. package/es/components/vxe_table/index.js +1162 -0
  142. package/es/components/vxe_table/src/components/AApiSelect.d.ts +12 -0
  143. package/es/components/vxe_table/src/components/AAutoComplete.d.ts +2 -0
  144. package/es/components/vxe_table/src/components/AButton.d.ts +12 -0
  145. package/es/components/vxe_table/src/components/AButtonGroup.d.ts +2 -0
  146. package/es/components/vxe_table/src/components/ACascader.d.ts +2 -0
  147. package/es/components/vxe_table/src/components/ACheckbox.d.ts +2 -0
  148. package/es/components/vxe_table/src/components/ACheckboxGroup.d.ts +6 -0
  149. package/es/components/vxe_table/src/components/ADatePicker.d.ts +4 -0
  150. package/es/components/vxe_table/src/components/AEmpty.d.ts +6 -0
  151. package/es/components/vxe_table/src/components/AInput.d.ts +2 -0
  152. package/es/components/vxe_table/src/components/AInputNumber.d.ts +2 -0
  153. package/es/components/vxe_table/src/components/AInputSearch.d.ts +2 -0
  154. package/es/components/vxe_table/src/components/AMonthPicker.d.ts +2 -0
  155. package/es/components/vxe_table/src/components/ARadioGroup.d.ts +6 -0
  156. package/es/components/vxe_table/src/components/ARangePicker.d.ts +2 -0
  157. package/es/components/vxe_table/src/components/ARate.d.ts +2 -0
  158. package/es/components/vxe_table/src/components/ASelect.d.ts +2 -0
  159. package/es/components/vxe_table/src/components/ASwitch.d.ts +2 -0
  160. package/es/components/vxe_table/src/components/ATimePicker.d.ts +2 -0
  161. package/es/components/vxe_table/src/components/ATreeSelect.d.ts +2 -0
  162. package/es/components/vxe_table/src/components/AWeekPicker.d.ts +2 -0
  163. package/es/components/vxe_table/src/components/AYearPicker.d.ts +2 -0
  164. package/es/components/vxe_table/src/components/Select.d.ts +2 -0
  165. package/es/components/vxe_table/src/components/common.d.ts +52 -0
  166. package/es/components/vxe_table/src/components/componentMap.d.ts +3 -0
  167. package/es/components/vxe_table/src/components/index.d.ts +4 -0
  168. package/es/components/vxe_table/src/hooks/useColumns.d.ts +1 -0
  169. package/es/components/vxe_table/src/hooks/useComponents.d.ts +2 -0
  170. package/es/components/vxe_table/src/hooks/useHeader.d.ts +6 -0
  171. package/es/components/vxe_table/src/hooks/useProps.d.ts +3 -0
  172. package/es/components/vxe_table/src/hooks/useVxeTable.d.ts +7 -0
  173. package/es/components/vxe_table/src/index.d.ts +26 -0
  174. package/es/components/vxe_table/src/index.scss +13 -0
  175. package/es/components/vxe_table/src/props.d.ts +1 -0
  176. package/es/components/vxe_table/src/types/componentType.d.ts +1 -0
  177. package/es/components/vxe_table/src/types/vxeTable.type.d.ts +45 -0
  178. package/es/components/vxe_table/src/utils/index.d.ts +6 -0
  179. package/es/directives/index.d.ts +1 -4
  180. package/es/directives/index.js +6 -1991
  181. package/es/theme/index.d.ts +9 -9
  182. package/es/theme/index.js +2112 -2344
  183. package/es/theme/src/components/content/index.d.ts +2 -31
  184. package/es/theme/src/components/feature/BackTop.d.ts +2 -0
  185. package/es/theme/src/components/feature/index.d.ts +2 -7
  186. package/es/theme/src/components/footer/index.d.ts +2 -31
  187. package/es/theme/src/components/header/MultipleHeader.d.ts +2 -0
  188. package/es/theme/src/components/header/components/BreadCrumb.d.ts +2 -0
  189. package/es/theme/src/components/header/components/FullScreen.d.ts +2 -0
  190. package/es/theme/src/components/header/components/LangPicker.d.ts +12 -0
  191. package/es/theme/src/components/header/components/Logo.d.ts +22 -0
  192. package/es/theme/src/components/header/components/MenuFilter.d.ts +2 -0
  193. package/es/theme/src/components/header/components/Notice.d.ts +2 -0
  194. package/es/theme/src/components/header/components/SettintTheme.d.ts +2 -0
  195. package/es/theme/src/components/header/components/Size.d.ts +2 -0
  196. package/es/theme/src/components/header/components/Trigger.d.ts +6 -0
  197. package/es/theme/src/components/header/components/UserInfo.d.ts +2 -0
  198. package/es/theme/src/components/header/components/lock/Lockscreen.d.ts +2 -85
  199. package/es/theme/src/components/header/components/lock/Recharge.d.ts +4 -6
  200. package/es/theme/src/components/header/components/lock/useBattery.d.ts +4 -4
  201. package/es/theme/src/components/header/components/lock/useTime.d.ts +5 -5
  202. package/es/theme/src/components/header/components/theme-drawer/Color.d.ts +26 -0
  203. package/es/theme/src/components/header/components/theme-drawer/ColorPrimary.d.ts +27 -0
  204. package/es/theme/src/components/header/components/theme-drawer/Feature.d.ts +2 -0
  205. package/es/theme/src/components/header/components/theme-drawer/InputNumber.d.ts +28 -0
  206. package/es/theme/src/components/header/components/theme-drawer/MenuType.d.ts +2 -0
  207. package/es/theme/src/components/header/components/theme-drawer/Select.d.ts +44 -0
  208. package/es/theme/src/components/header/components/theme-drawer/Switch.d.ts +29 -0
  209. package/es/theme/src/components/header/components/theme-drawer/Var.d.ts +2 -0
  210. package/es/theme/src/components/header/components/theme-drawer/styles/GlobalStyle.d.ts +2 -0
  211. package/es/theme/src/components/header/components/theme-drawer/styles/MenuStyle.d.ts +2 -0
  212. package/es/theme/src/components/header/helper/changeTheme.d.ts +15 -0
  213. package/es/theme/src/components/header/helper/{menu-tree.d.ts → menuTree.d.ts} +1 -1
  214. package/es/theme/src/components/header/index.d.ts +4 -547
  215. package/es/theme/src/components/sider/components/DragBar.d.ts +2 -0
  216. package/es/theme/src/components/sider/components/{layout-menu.d.ts → LayoutMenu.d.ts} +5 -5
  217. package/es/theme/src/components/sider/components/MixSider.d.ts +2 -0
  218. package/es/theme/src/components/sider/components/SiderTrigger.d.ts +14 -0
  219. package/es/theme/src/components/sider/components/basic-menu/basic-menu-item.d.ts +8 -35
  220. package/es/theme/src/components/sider/components/basic-menu/basic-sub-menu-item.d.ts +8 -100
  221. package/es/theme/src/components/sider/components/basic-menu/index.d.ts +64 -0
  222. package/es/theme/src/components/sider/components/basic-menu/menu-item-content.d.ts +6 -10
  223. package/es/theme/src/components/sider/components/{props.d.ts → basic-menu/props.d.ts} +12 -29
  224. package/es/theme/src/components/sider/helper/sider.d.ts +3 -3
  225. package/es/theme/src/components/sider/helper/split-menu.d.ts +2 -2
  226. package/es/theme/src/components/sider/index.d.ts +2 -235
  227. package/es/theme/src/components/tabs/components/TabContent.d.ts +4 -21
  228. package/es/theme/src/components/tabs/components/TabRedo.d.ts +2 -23
  229. package/es/theme/src/components/tabs/hooks/useTabDropdown.d.ts +9 -3
  230. package/es/theme/src/components/tabs/hooks/useTabs.d.ts +1 -1
  231. package/es/theme/src/components/tabs/index.d.ts +2 -86
  232. package/es/theme/src/consts/color.d.ts +3 -0
  233. package/es/theme/src/consts/index.d.ts +14 -0
  234. package/es/theme/src/enums/index.d.ts +34 -1
  235. package/es/theme/src/hooks/index.d.ts +6 -6
  236. package/es/theme/src/hooks/useDragLine.d.ts +1 -1
  237. package/es/theme/src/hooks/useHeader.d.ts +22 -23
  238. package/es/theme/src/hooks/useMenu.d.ts +26 -26
  239. package/es/theme/src/hooks/useMultifyTab.d.ts +6 -6
  240. package/es/theme/src/hooks/useOpenKeys.d.ts +3 -3
  241. package/es/theme/src/hooks/useTheme.d.ts +25 -7
  242. package/es/theme/src/index.d.ts +2 -1630
  243. package/es/theme/src/index.scss +1134 -0
  244. package/es/theme/src/stores/index.d.ts +2 -2
  245. package/es/theme/src/stores/lockscreen.store.d.ts +7 -5
  246. package/es/theme/src/stores/routeReuse.store.d.ts +18 -20
  247. package/es/theme/src/stores/theme.store.d.ts +9 -15
  248. package/es/theme/{transition.less → src/transition.scss} +1 -1
  249. package/es/theme/src/types/index.d.ts +0 -3
  250. package/es/theme/src/types/menu.type.d.ts +2 -1
  251. package/es/theme/src/types/theme.type.d.ts +31 -12
  252. package/es/theme/src/utils/color.d.ts +14 -0
  253. package/es/theme/src/utils/index.d.ts +3 -0
  254. package/es/theme/src/utils.ts/index.d.ts +3 -0
  255. package/index.d.ts +12 -13
  256. package/index.js +44 -62
  257. package/manualContentPath.js +73 -19
  258. package/package.json +65 -65
  259. package/tsconfig.json +19 -30
  260. package/tsconfig.tsbuildinfo +1 -0
  261. package/vite.config.ts +82 -68
  262. package/es/assets/data/icons/actions.d.ts +0 -1
  263. package/es/assets/data/icons/actions.ts +0 -423
  264. package/es/assets/data/icons/code.d.ts +0 -1
  265. package/es/assets/data/icons/code.ts +0 -10
  266. package/es/assets/data/icons/commuticate.d.ts +0 -1
  267. package/es/assets/data/icons/commuticate.ts +0 -182
  268. package/es/assets/data/icons/currency.d.ts +0 -1
  269. package/es/assets/data/icons/currency.ts +0 -44
  270. package/es/assets/data/icons/devices.d.ts +0 -1
  271. package/es/assets/data/icons/devices.ts +0 -126
  272. package/es/assets/data/icons/edit.d.ts +0 -1
  273. package/es/assets/data/icons/edit.ts +0 -163
  274. package/es/assets/data/icons/file.d.ts +0 -1
  275. package/es/assets/data/icons/file.ts +0 -99
  276. package/es/assets/data/icons/math.d.ts +0 -1
  277. package/es/assets/data/icons/math.ts +0 -53
  278. package/es/assets/data/icons/message.d.ts +0 -1
  279. package/es/assets/data/icons/message.ts +0 -68
  280. package/es/assets/data/icons/navigate.d.ts +0 -1
  281. package/es/assets/data/icons/navigate.ts +0 -181
  282. package/es/assets/data/icons/other.d.ts +0 -1
  283. package/es/assets/data/icons/other.ts +0 -324
  284. package/es/assets/data/index.d.ts +0 -4
  285. package/es/assets/data/index.ts +0 -58
  286. package/es/assets/imgs/tree/forder-open.svg +0 -1
  287. package/es/assets/imgs/tree/forder.svg +0 -1
  288. package/es/components/container/src/components/scroll-bar.d.ts +0 -70
  289. package/es/components/container/src/scroll-container.d.ts +0 -76
  290. package/es/components/container/src/slot-container.d.ts +0 -20
  291. package/es/components/curd/src/components/Curd.d.ts +0 -384
  292. package/es/components/drawer/index.less +0 -16
  293. package/es/components/drawer/src/components/DrawerHeader.d.ts +0 -11
  294. package/es/components/form/index.less +0 -361
  295. package/es/components/form/src/components/formIcon.d.ts +0 -14
  296. package/es/components/form/src/components/formInputUseDialog.d.ts +0 -17
  297. package/es/components/form/src/components/radioButton.d.ts +0 -34
  298. package/es/components/form/src/enums/index.d.ts +0 -7
  299. package/es/components/icons/index.less +0 -47
  300. package/es/components/icons/src/pick-icon.d.ts +0 -455
  301. package/es/components/iframe/index.less +0 -29
  302. package/es/components/modal/src/components/ModalWrap.d.ts +0 -79
  303. package/es/components/source/utils/index.d.ts +0 -8
  304. package/es/components/table/src/enums/table.enum.d.ts +0 -5
  305. package/es/components/table/src/hooks/useRow.d.ts +0 -5
  306. package/es/components/tree/index.less +0 -200
  307. package/es/components/tree/src/type/tree.d.ts +0 -50
  308. package/es/directives/icon.d.ts +0 -2
  309. package/es/global.d.ts +0 -7
  310. package/es/index.d.ts +0 -1
  311. package/es/index.js +0 -4
  312. package/es/theme/index.less +0 -1003
  313. package/es/theme/src/components/feature/back-top.d.ts +0 -5
  314. package/es/theme/src/components/header/components/bread-crumb.d.ts +0 -6
  315. package/es/theme/src/components/header/components/fullscreen.d.ts +0 -5
  316. package/es/theme/src/components/header/components/index.d.ts +0 -11
  317. package/es/theme/src/components/header/components/lang-picker.d.ts +0 -23
  318. package/es/theme/src/components/header/components/lock/index.d.ts +0 -2
  319. package/es/theme/src/components/header/components/logo.d.ts +0 -55
  320. package/es/theme/src/components/header/components/menu-filter.d.ts +0 -22
  321. package/es/theme/src/components/header/components/notify.d.ts +0 -22
  322. package/es/theme/src/components/header/components/setting-theme.d.ts +0 -223
  323. package/es/theme/src/components/header/components/size.d.ts +0 -21
  324. package/es/theme/src/components/header/components/theme-drawer/feature.d.ts +0 -138
  325. package/es/theme/src/components/header/components/theme-drawer/index.d.ts +0 -3
  326. package/es/theme/src/components/header/components/theme-drawer/menu-type.d.ts +0 -16
  327. package/es/theme/src/components/header/components/theme-drawer/select.d.ts +0 -58
  328. package/es/theme/src/components/header/components/theme-drawer/switch.d.ts +0 -49
  329. package/es/theme/src/components/header/components/trigger.d.ts +0 -10
  330. package/es/theme/src/components/header/components/user-info.d.ts +0 -44
  331. package/es/theme/src/components/header/helper/change-theme.d.ts +0 -13
  332. package/es/theme/src/components/header/multiple-header.d.ts +0 -660
  333. package/es/theme/src/components/sider/components/basic-menu/basic-menu.d.ts +0 -207
  334. package/es/theme/src/components/sider/components/drag-bar.d.ts +0 -14
  335. package/es/theme/src/components/sider/components/sider-trigger.d.ts +0 -17
  336. package/es/theme/src/components/sider/mix-sider.d.ts +0 -167
  337. package/es/theme/src/components/tabs/components/index.d.ts +0 -3
  338. package/es/theme/src/components/tabs/types/tabs.type.d.ts +0 -7
  339. package/es/theme/src/enums/theme.enum.d.ts +0 -34
  340. package/es/theme/src/setting/theme.setting.d.ts +0 -2
  341. package/es/utils/withInstall.d.ts +0 -4
  342. package/tailwind.config.cjs +0 -11
  343. package/tsconfig.node.json +0 -9
  344. /package/es/assets/{icons → fonts}/iconfont.css +0 -0
  345. /package/es/assets/{icons → fonts}/iconfont.eot +0 -0
  346. /package/es/assets/{icons → fonts}/iconfont.svg +0 -0
  347. /package/es/assets/{icons → fonts}/iconfont.ttf +0 -0
  348. /package/es/assets/{icons → fonts}/iconfont.woff +0 -0
  349. /package/es/assets/{icons → fonts}/iconfont.woff2 +0 -0
  350. /package/es/components/container/src/types/{scroll.type.d.ts → index.d.ts} +0 -0
@@ -1,8 +1,7 @@
1
- import { PropType } from 'vue';
2
- import { ButtonType } from '../types/table.type';
3
- declare const _sfc_main: import("vue").DefineComponent<{
1
+ import { ButtonType } from '../types/table.type.js';
2
+ declare const _default: import("vue").DefineComponent<{
4
3
  fixed: {
5
- type: PropType<boolean | "left" | "right">;
4
+ type: globalThis.PropType<boolean | "left" | "right">;
6
5
  default: string;
7
6
  };
8
7
  expand: {
@@ -17,13 +16,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
17
16
  default: string;
18
17
  };
19
18
  btns: {
20
- type: PropType<ButtonType[]>;
21
- default: any[];
19
+ type: globalThis.PropType<ButtonType[]>;
20
+ default: () => any[];
22
21
  };
23
22
  flag: {
24
- type: PropType<"ACTION">;
23
+ type: globalThis.PropType<"ACTION">;
25
24
  };
26
25
  record: {
26
+ type: globalThis.PropType<globalThis.Recordable>;
27
27
  default: {};
28
28
  };
29
29
  index: {
@@ -32,18 +32,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
32
32
  authPrefix: {
33
33
  type: StringConstructor;
34
34
  };
35
- }, {
36
- actionBtns: import("vue").Ref<any[]>;
37
- props: any;
38
- getAuth: (auth: string) => string | null;
39
- handleAction: (it: ButtonType) => void;
40
- attrs: {
41
- [x: string]: unknown;
42
- };
43
- getPopupContainer: () => any;
44
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
35
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
45
36
  fixed: {
46
- type: PropType<boolean | "left" | "right">;
37
+ type: globalThis.PropType<boolean | "left" | "right">;
47
38
  default: string;
48
39
  };
49
40
  expand: {
@@ -58,13 +49,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
58
49
  default: string;
59
50
  };
60
51
  btns: {
61
- type: PropType<ButtonType[]>;
62
- default: any[];
52
+ type: globalThis.PropType<ButtonType[]>;
53
+ default: () => any[];
63
54
  };
64
55
  flag: {
65
- type: PropType<"ACTION">;
56
+ type: globalThis.PropType<"ACTION">;
66
57
  };
67
58
  record: {
59
+ type: globalThis.PropType<globalThis.Recordable>;
68
60
  default: {};
69
61
  };
70
62
  index: {
@@ -74,10 +66,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
74
66
  type: StringConstructor;
75
67
  };
76
68
  }>>, {
69
+ width: string;
77
70
  fixed: boolean | "left" | "right";
78
71
  btns: ButtonType[];
79
- width: string;
80
72
  expand: boolean;
81
73
  record: {};
82
- }>;
83
- export default _sfc_main;
74
+ }, {}>;
75
+ export default _default;
@@ -0,0 +1,35 @@
1
+ import { ButtonType, TableSetting } from '../types/table.type';
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
+ tableSetting: {
4
+ type: globalThis.PropType<boolean | TableSetting>;
5
+ };
6
+ toolbar: {
7
+ type: globalThis.PropType<ButtonType[]>;
8
+ default: () => any[];
9
+ };
10
+ authPrefix: {
11
+ type: StringConstructor;
12
+ };
13
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
14
+ tableSetting: {
15
+ type: globalThis.PropType<boolean | TableSetting>;
16
+ };
17
+ toolbar: {
18
+ type: globalThis.PropType<ButtonType[]>;
19
+ default: () => any[];
20
+ };
21
+ authPrefix: {
22
+ type: StringConstructor;
23
+ };
24
+ }>>, {
25
+ toolbar: ButtonType[];
26
+ }, {}>, {
27
+ toolbar?(_: {}): any;
28
+ headerTop?(_: {}): any;
29
+ }>;
30
+ export default _default;
31
+ type __VLS_WithTemplateSlots<T, S> = T & {
32
+ new (): {
33
+ $slots: S;
34
+ };
35
+ };
@@ -1,17 +1,13 @@
1
1
  import { Recordable } from '@dt-frames/core';
2
2
  import { PropType } from 'vue';
3
3
  import { BasicColumn } from '../types/table.type';
4
- declare const _sfc_main: {
5
- name: string;
6
- props: {
7
- column: PropType<BasicColumn>;
8
- record: PropType<Recordable<any>>;
9
- index: NumberConstructor;
10
- };
11
- setup(props: {
12
- column: BasicColumn;
13
- record: Recordable;
14
- index: number;
15
- }, {}: {}): () => JSX.Element;
16
- };
17
- export default _sfc_main;
4
+ declare const _default: import("vue").DefineComponent<{
5
+ column: PropType<BasicColumn>;
6
+ record: PropType<Recordable>;
7
+ index: NumberConstructor;
8
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
9
+ column: PropType<BasicColumn>;
10
+ record: PropType<Recordable>;
11
+ index: NumberConstructor;
12
+ }>>, {}, {}>;
13
+ export default _default;
@@ -1,6 +1,6 @@
1
- import { Recordable } from "@dt-frames/core";
2
- import { FunctionalComponent, Ref } from "vue";
3
- import { ComponentType } from "../../types/table.type";
1
+ import { Recordable } from '@dt-frames/core';
2
+ import { FunctionalComponent, Ref } from 'vue';
3
+ import { ComponentType } from '../../types/table.type';
4
4
  export interface ComponentProps {
5
5
  component: ComponentType;
6
6
  rule: boolean;
@@ -8,7 +8,7 @@ export interface ComponentProps {
8
8
  ruleMessage: string;
9
9
  getPopupContainer?: any;
10
10
  }
11
- export declare type EditRecordRow<T = Recordable> = Partial<{
11
+ export type EditRecordRow<T = Recordable> = Partial<{
12
12
  onEdit: (editable: boolean, submit?: boolean) => Promise<boolean>;
13
13
  onValid: () => Promise<boolean>;
14
14
  editable: boolean;
@@ -1,12 +1,11 @@
1
- import { Recordable } from "@dt-frames/core";
2
- import { ComponentType, LableValOptions } from "../../types/table.type";
3
- declare const _sfc_main: import("vue").DefineComponent<{
1
+ import { Recordable } from '@dt-frames/core';
2
+ declare const _default: import("vue").DefineComponent<{
4
3
  value: {
5
- type: import("vue").PropType<string | number | boolean | Recordable<any>>;
4
+ type: globalThis.PropType<string | number | boolean | Recordable>;
6
5
  default: string;
7
6
  };
8
7
  record: {
9
- type: import("vue").PropType<Partial<{
8
+ type: globalThis.PropType<Partial<{
10
9
  onEdit: (editable: boolean, submit?: boolean) => Promise<boolean>;
11
10
  onValid: () => Promise<boolean>;
12
11
  editable: boolean;
@@ -15,62 +14,21 @@ declare const _sfc_main: import("vue").DefineComponent<{
15
14
  submitCbs: Function[];
16
15
  cancelCbs: Function[];
17
16
  validCbs: Function[];
18
- editValueRefs: Recordable<import("vue").Ref<any>>;
19
- } & Recordable<any>>>;
17
+ editValueRefs: Recordable<globalThis.Ref<any>>;
18
+ } & Recordable>>;
20
19
  };
21
20
  column: {
22
- type: import("vue").PropType<import("../../types/table.type").BasicColumn>;
21
+ type: globalThis.PropType<import("../../types/table.type").BasicColumn>;
23
22
  default: () => import("../../types/table.type").BasicColumn;
24
23
  };
25
24
  index: NumberConstructor;
26
- }, {
27
- getUiSize: import("vue").ComputedRef<import('../../../../../theme').UiSize>;
28
- t: {
29
- (key: string): string;
30
- (key: string, locale: string): string;
31
- (key: string, locale: string, list: unknown[]): string;
32
- (key: string, locale: string, named: Record<string, unknown>): string;
33
- (key: string, list: unknown[]): string;
34
- (key: string, named: Record<string, unknown>): string;
35
- };
36
- props: any;
37
- editRule: boolean | ((text: string, record: Recordable<any>) => Promise<string>);
38
- align: import("ant-design-vue/es/vc-table/interface").AlignType;
39
- table: Omit<import("../../types/actions.type").TableActionType & {
40
- tableElRef: import("vue").Ref<HTMLElement>;
41
- getBind: import("vue").ComputedRef<Recordable<any>>;
42
- getProps: import("vue").ComputedRef<Recordable<any>>;
43
- }, "getBind"> & {
44
- getBind: import("vue").ComputedRef<import("../../types/table.type").BasicTableProps>;
45
- getProps: import("vue").ComputedRef<Recordable<any>>;
46
- };
47
- ruleMessage: import("vue").Ref<string>;
48
- ruleVisible: import("vue").Ref<boolean>;
49
- optionsRef: import("vue").Ref<{
50
- [x: string]: string | number | boolean;
51
- label: string;
52
- value: any;
53
- }[]>;
54
- currentValueRef: any;
55
- getComponent: import("vue").ComputedRef<ComponentType>;
56
- getRuleVisible: import("vue").ComputedRef<boolean>;
57
- getWrapperClass: import("vue").ComputedRef<string>;
58
- getIsCheckComp: import("vue").ComputedRef<boolean>;
59
- createPlaceholderMessage: (component: ComponentType) => string;
60
- setTableValue: () => void;
61
- getComponentProps: import("vue").ComputedRef<any>;
62
- handleChange: (e: any) => Promise<void>;
63
- handleSubmitRule: () => Promise<boolean>;
64
- handleOptionsChange: (options: LableValOptions) => void;
65
- readonly omit: any;
66
- readonly CellComponent: import("vue").FunctionalComponent<{}, {}>;
67
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
25
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
68
26
  value: {
69
- type: import("vue").PropType<string | number | boolean | Recordable<any>>;
27
+ type: globalThis.PropType<string | number | boolean | Recordable>;
70
28
  default: string;
71
29
  };
72
30
  record: {
73
- type: import("vue").PropType<Partial<{
31
+ type: globalThis.PropType<Partial<{
74
32
  onEdit: (editable: boolean, submit?: boolean) => Promise<boolean>;
75
33
  onValid: () => Promise<boolean>;
76
34
  editable: boolean;
@@ -79,16 +37,16 @@ declare const _sfc_main: import("vue").DefineComponent<{
79
37
  submitCbs: Function[];
80
38
  cancelCbs: Function[];
81
39
  validCbs: Function[];
82
- editValueRefs: Recordable<import("vue").Ref<any>>;
83
- } & Recordable<any>>>;
40
+ editValueRefs: Recordable<globalThis.Ref<any>>;
41
+ } & Recordable>>;
84
42
  };
85
43
  column: {
86
- type: import("vue").PropType<import("../../types/table.type").BasicColumn>;
44
+ type: globalThis.PropType<import("../../types/table.type").BasicColumn>;
87
45
  default: () => import("../../types/table.type").BasicColumn;
88
46
  };
89
47
  index: NumberConstructor;
90
48
  }>>, {
91
49
  value: string;
92
50
  column: import("../../types/table.type").BasicColumn;
93
- }>;
94
- export default _sfc_main;
51
+ }, {}>;
52
+ export default _default;
@@ -1,4 +1,4 @@
1
1
  import { Component } from 'vue';
2
2
  import { ComponentType } from "../../types/table.type";
3
- declare const componentMap: Map<ComponentType, Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>;
3
+ declare const componentMap: Map<ComponentType, Component>;
4
4
  export { componentMap };
@@ -1,9 +1,9 @@
1
- import { BasicColumn } from "../../types/table.type";
2
- declare function renderEditCell(column: BasicColumn): ({ text, record, index }: {
1
+ import { BasicColumn } from '../../types/table.type';
2
+ declare function renderEditCell(column: BasicColumn): ({ text: value, record, index }: {
3
3
  text: any;
4
4
  record: any;
5
5
  index: any;
6
- }) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
6
+ }) => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
7
7
  [key: string]: any;
8
8
  }>;
9
9
  export { renderEditCell };
@@ -1,9 +1,9 @@
1
- import { Recordable } from "@dt-frames/core";
2
- import { PropType } from "vue";
3
- import { BasicColumn } from "../../types/table.type";
1
+ import { Recordable } from '@dt-frames/core';
2
+ import { PropType } from 'vue';
3
+ import { BasicColumn } from '../../types/table.type';
4
4
  export declare const basicProps: {
5
5
  value: {
6
- type: PropType<string | number | boolean | Recordable<any>>;
6
+ type: PropType<string | number | boolean | Recordable>;
7
7
  default: string;
8
8
  };
9
9
  record: {
@@ -16,8 +16,8 @@ export declare const basicProps: {
16
16
  submitCbs: Function[];
17
17
  cancelCbs: Function[];
18
18
  validCbs: Function[];
19
- editValueRefs: Recordable<import("vue").Ref<any>>;
20
- } & Recordable<any>>>;
19
+ editValueRefs: Recordable<globalThis.Ref<any>>;
20
+ } & Recordable>>;
21
21
  };
22
22
  column: {
23
23
  type: PropType<BasicColumn>;
@@ -1,69 +1,4 @@
1
- import { CheckboxChangeEvent } from 'ant-design-vue/lib/checkbox/interface';
2
- import { BasicColumn } from '../../types/table.type';
3
- declare const _sfc_main: import("vue").DefineComponent<{}, {
4
- t: {
5
- (key: string): string;
6
- (key: string, locale: string): string;
7
- (key: string, locale: string, list: unknown[]): string;
8
- (key: string, locale: string, named: Record<string, unknown>): string;
9
- (key: string, list: unknown[]): string;
10
- (key: string, named: Record<string, unknown>): string;
11
- };
12
- emits: (event: "columns-change", ...args: any[]) => void;
13
- attrs: {
14
- [x: string]: unknown;
15
- };
16
- prefixCls: string;
17
- table: Omit<import("../../types/actions.type").TableActionType & {
18
- tableElRef: import("vue").Ref<HTMLElement>;
19
- getBind: import("vue").ComputedRef<import("@dt-frames/core").Recordable<any>>;
20
- getProps: import("vue").ComputedRef<import("@dt-frames/core").Recordable<any>>;
21
- }, "getBind"> & {
22
- getBind: import("vue").ComputedRef<import("../../types/table.type").BasicTableProps>;
23
- getProps: import("vue").ComputedRef<import("@dt-frames/core").Recordable<any>>;
24
- };
25
- defaultRowSelection: any;
26
- inited: boolean;
27
- cachePlainOptions: import("vue").Ref<{
28
- label: string;
29
- value: string;
30
- fixed?: boolean | "left" | "right";
31
- }[]>;
32
- plainOptions: import("vue").Ref<{
33
- label: string;
34
- value: string;
35
- fixed?: boolean | "left" | "right";
36
- }[]>;
37
- plainSortOptions: import("vue").Ref<{
38
- label: string;
39
- value: string;
40
- fixed?: boolean | "left" | "right";
41
- }[]>;
42
- columnListRef: any;
43
- checkIndex: import("vue").Ref<boolean>;
44
- checkSelect: import("vue").Ref<boolean>;
45
- getValues: import("vue").ComputedRef<import("../../types/table.type").BasicTableProps>;
46
- sortable: Sortable;
47
- sortableOrder: string[];
48
- state: {
49
- checkAll: boolean;
50
- isInit?: boolean;
51
- checkedList: string[];
52
- defaultCheckList: string[];
53
- };
54
- indeterminate: import("vue").ComputedRef<boolean>;
55
- handleVisibleChange: () => void;
56
- onCheckAllChange: (e: CheckboxChangeEvent) => void;
57
- handleIndexCheckChange: (e: CheckboxChangeEvent) => void;
58
- handleSelectCheckChange: (e: CheckboxChangeEvent) => void;
59
- onChange: (checkedList: string[]) => void;
60
- reset: () => void;
61
- getColumns: () => any[];
62
- handleColumnFixed: (item: BasicColumn, fixed?: 'left' | 'right') => void;
63
- setColumns: (columns: BasicColumn[] | string[]) => void;
64
- init: () => void;
65
- getPopupContainer: () => any;
66
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "columns-change"[], "columns-change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "columns-change"[], "columns-change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
67
2
  "onColumns-change"?: (...args: any[]) => any;
68
- }, {}>;
69
- export default _sfc_main;
3
+ }, {}, {}>;
4
+ export default _default;
@@ -0,0 +1,11 @@
1
+ import { DownloadType } from '../../types/table.type';
2
+ declare const _default: import("vue").DefineComponent<{
3
+ download: {
4
+ type: globalThis.PropType<boolean | DownloadType[]>;
5
+ };
6
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
+ download: {
8
+ type: globalThis.PropType<boolean | DownloadType[]>;
9
+ };
10
+ }>>, {}, {}>;
11
+ export default _default;
@@ -1,22 +1,2 @@
1
- declare const _sfc_main: import("vue").DefineComponent<{}, {
2
- t: {
3
- (key: string): string;
4
- (key: string, locale: string): string;
5
- (key: string, locale: string, list: unknown[]): string;
6
- (key: string, locale: string, named: Record<string, unknown>): string;
7
- (key: string, list: unknown[]): string;
8
- (key: string, named: Record<string, unknown>): string;
9
- };
10
- message: import("ant-design-vue/es/message").MessageApi;
11
- state: {
12
- indeterminate: boolean;
13
- checkAll: boolean;
14
- };
15
- modalData: import("vue").Ref<any[]>;
16
- onCheckAllChange: (e: any) => void;
17
- registerDialog: import("../../../../modal/src/types/modal.type").RegisterFn;
18
- closeModal: <T = any>(res?: T) => void;
19
- save: () => void;
20
- readonly DtModal: import("vue").DefineComponent<{}, {}, any, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
21
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
22
- export default _sfc_main;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -1,22 +1,2 @@
1
- declare const _sfc_main: import("vue").DefineComponent<{}, {
2
- t: {
3
- (key: string): string;
4
- (key: string, locale: string): string;
5
- (key: string, locale: string, list: unknown[]): string;
6
- (key: string, locale: string, named: Record<string, unknown>): string;
7
- (key: string, list: unknown[]): string;
8
- (key: string, named: Record<string, unknown>): string;
9
- };
10
- table: Omit<import("../../types/actions.type").TableActionType & {
11
- tableElRef: import("vue").Ref<HTMLElement>;
12
- getBind: import("vue").ComputedRef<import("@dt-frames/core").Recordable<any>>;
13
- getProps: import("vue").ComputedRef<import("@dt-frames/core").Recordable<any>>;
14
- }, "getBind"> & {
15
- getBind: import("vue").ComputedRef<import("../../types/table.type").BasicTableProps>;
16
- getProps: import("vue").ComputedRef<import("@dt-frames/core").Recordable<any>>;
17
- };
18
- wrapEl: any;
19
- toggle: () => Promise<void>;
20
- isFullscreen: import("vue").Ref<boolean>;
21
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
22
- export default _sfc_main;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1,17 @@
1
+ import { TableSetting } from '../../types/table.type';
2
+ declare const _default: import("vue").DefineComponent<{
3
+ setting: {
4
+ type: globalThis.PropType<boolean | TableSetting>;
5
+ default: () => {};
6
+ };
7
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "columns-change"[], "columns-change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
8
+ setting: {
9
+ type: globalThis.PropType<boolean | TableSetting>;
10
+ default: () => {};
11
+ };
12
+ }>> & {
13
+ "onColumns-change"?: (...args: any[]) => any;
14
+ }, {
15
+ setting: {};
16
+ }, {}>;
17
+ export default _default;
@@ -1,13 +1,12 @@
1
1
  import { ComputedRef } from 'vue';
2
2
  import { BasicTableProps, SorterResult, PaginationProps } from '../types/table.type';
3
3
  import { Recordable } from '@dt-frames/core';
4
- declare type ActionsType = {
5
- getPaginationInfo: ComputedRef<boolean | PaginationProps>;
4
+ type ActionsType = {
6
5
  setPagination: (info: Partial<PaginationProps>) => void;
7
6
  clearSelectedRowKeys: () => void;
8
7
  };
9
- export declare function useDataSource(propsRef: ComputedRef<BasicTableProps>, { getPaginationInfo, setPagination, clearSelectedRowKeys }: ActionsType): {
10
- getDataSourceRef: ComputedRef<Recordable<any>[]>;
8
+ export declare function useDataSource(propsRef: ComputedRef<BasicTableProps>, { setPagination, clearSelectedRowKeys }: ActionsType): {
9
+ getDataSourceRef: ComputedRef<import("vue").Raw<Recordable[]>>;
11
10
  handleTableChange: (pagination: PaginationProps, filters: Partial<Recordable<string[]>>, sorter: SorterResult) => any;
12
11
  updateTableDataRecord: (rowKey: string | number, record: Recordable) => Recordable | undefined;
13
12
  findTableDataRecord: (rowKey: string | number) => any;
@@ -1,8 +1,8 @@
1
- import { Recordable } from "@dt-frames/core";
2
- import { ComputedRef, Slots } from "vue";
1
+ import { Recordable } from '@dt-frames/core';
2
+ import { ComputedRef, Slots } from 'vue';
3
3
  import { BasicTableProps, ColumnChangeParam } from "../types/table.type";
4
4
  export declare function useTableHeader(propsRef: ComputedRef<BasicTableProps>, slots: Slots, handlers: {
5
5
  onColumnsChange: (data: ColumnChangeParam[]) => void;
6
6
  }): {
7
- getHeaderProps: ComputedRef<Recordable<any>>;
7
+ getHeaderProps: ComputedRef<Recordable>;
8
8
  };
@@ -1,3 +1,3 @@
1
- import { ComputedRef, Ref } from "vue";
2
- import { BasicColumn } from "../types/table.type";
1
+ import { ComputedRef, Ref } from 'vue';
2
+ import { BasicColumn } from '../types/table.type';
3
3
  export declare function useHeaderCode(code: string | Ref<string> | ComputedRef<string>, changeColumns: (rows: BasicColumn[]) => void): void;
@@ -1,6 +1,6 @@
1
- import { ComputedRef } from "vue";
2
- import { BasicTableProps } from "../types/table.type";
1
+ import { ComputedRef } from 'vue';
2
+ import { BasicTableProps } from '../types/table.type';
3
3
  export declare function useLoading(props: ComputedRef<BasicTableProps>): {
4
- getLoading: import("vue").Ref<boolean>;
4
+ getLoading: ComputedRef<Boolean>;
5
5
  setLoading: (loading: boolean) => void;
6
6
  };
@@ -1,5 +1,5 @@
1
- import { ComputedRef } from "vue";
2
- import { BasicTableProps, PaginationProps } from "../types/table.type";
1
+ import { ComputedRef } from 'vue';
2
+ import { BasicTableProps, PaginationProps } from '../types/table.type';
3
3
  export declare function usePagination(props: ComputedRef<BasicTableProps>): {
4
4
  getPaginationInfo: ComputedRef<boolean | PaginationProps>;
5
5
  setPagination: (info: Partial<PaginationProps>) => void;
@@ -7,6 +7,6 @@ export declare function useRowSelection(propsRef: ComputedRef<BasicTableProps>,
7
7
  clearSelectedRowKeys: () => void;
8
8
  getRowSelection: () => TableRowSelection<any>;
9
9
  getSelectedRowKeys: () => Key[];
10
- getSelectRows: () => Recordable<any>[];
10
+ getSelectRows: () => Recordable[];
11
11
  setSelectedRowKeys: (rowKeys: Key[]) => void;
12
12
  };
@@ -1,7 +1,7 @@
1
1
  import { DynamicProps } from '@dt-frames/core';
2
2
  import { TableActionType } from '../types/actions.type';
3
3
  import { BasicTableProps } from "../types/table.type";
4
- declare type Props = Partial<DynamicProps<BasicTableProps>>;
4
+ type Props = Partial<DynamicProps<BasicTableProps>>;
5
5
  export declare function useTable(props?: Props): [
6
6
  registerTable: (instance: TableActionType) => void,
7
7
  methods: TableActionType
@@ -2,12 +2,12 @@ import { Nullable, Recordable } from "@dt-frames/core";
2
2
  import { ComputedRef, Ref } from "vue";
3
3
  import { TableActionType } from "../types/actions.type";
4
4
  import { BasicTableProps } from "../types/table.type";
5
- declare type Instance = TableActionType & {
5
+ type Instance = TableActionType & {
6
6
  tableElRef: Ref<Nullable<HTMLElement>>;
7
7
  getBind: ComputedRef<Recordable>;
8
8
  getProps: ComputedRef<Recordable>;
9
9
  };
10
- declare type RetInstance = Omit<Instance, 'getBind'> & {
10
+ type RetInstance = Omit<Instance, 'getBind'> & {
11
11
  getBind: ComputedRef<BasicTableProps>;
12
12
  getProps: ComputedRef<Recordable>;
13
13
  };
@@ -9,5 +9,4 @@ export declare function useTableScroll(propsRef: ComputedRef<BasicTableProps>, t
9
9
  y: string | number;
10
10
  scrollToFirstRowOnChange: boolean;
11
11
  }>;
12
- filterSource: Ref<any[]>;
13
12
  };
@@ -0,0 +1,5 @@
1
+ import { ComputedRef } from 'vue';
2
+ import { BasicTableProps, TableCustomRecord } from '../types/table.type';
3
+ export declare function useTableStyle(propsRef: ComputedRef<BasicTableProps>): {
4
+ getRowClassName: (record: TableCustomRecord, index: number) => string;
5
+ };