@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
@@ -0,0 +1,2 @@
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,158 +1,55 @@
1
- import { PropType, Ref } from 'vue';
2
- import { Recordable } from '@dt-frames/core';
3
1
  import { FormActionType } from '../types/actions.type';
4
- import { FormSchema } from '../types/form.type';
5
- declare const _sfc_main: {
6
- name: string;
7
- inheritAttrs: boolean;
8
- props: {
9
- schema: {
10
- type: PropType<FormSchema>;
11
- default: () => {};
12
- };
13
- formProps: {
14
- type: PropType<Partial<import("vue").ExtractPropTypes<{
15
- mode: {
16
- type: PropType<"search" | "dialog">;
17
- default: string;
18
- };
19
- autoFetch: {
20
- type: BooleanConstructor;
21
- default: boolean;
22
- };
23
- model: {
24
- type: PropType<Recordable<any>>;
25
- default: () => {};
26
- };
27
- layout: {
28
- type: PropType<"inline" | "horizontal" | "vertical">;
29
- default: string;
30
- };
31
- labelWidth: {
32
- type: PropType<string | number>;
33
- default: number;
34
- };
35
- enLabelWidth: {
36
- type: PropType<string | number>;
37
- default: number;
38
- };
39
- labelAlign: {
40
- type: PropType<"left" | "right">;
41
- default: string;
42
- };
43
- labelCol: {
44
- type: PropType<Partial<import("../types/form.type").ColEx>>;
45
- default: () => {};
46
- };
47
- wrapperCol: {
48
- type: PropType<Partial<import("../types/form.type").ColEx>>;
49
- default: () => {};
50
- };
51
- rowProps: {
52
- type: PropType<Partial<import("vue").ExtractPropTypes<{
53
- align: PropType<"stretch" | "bottom" | "top" | "middle">;
54
- justify: PropType<"space-around" | "space-between" | "center" | "end" | "start">;
55
- prefixCls: StringConstructor;
56
- gutter: {
57
- type: PropType<import("ant-design-vue/lib/grid/Row").Gutter | [import("ant-design-vue/lib/grid/Row").Gutter, import("ant-design-vue/lib/grid/Row").Gutter]>;
58
- default: import("ant-design-vue/lib/grid/Row").Gutter | [import("ant-design-vue/lib/grid/Row").Gutter, import("ant-design-vue/lib/grid/Row").Gutter];
59
- };
60
- wrap: {
61
- type: BooleanConstructor;
62
- default: any;
63
- };
64
- }>>>;
65
- default: () => {};
66
- };
67
- colProps: {
68
- type: PropType<Partial<import("../types/form.type").ColEx>>;
69
- };
70
- span: {
71
- type: NumberConstructor;
72
- };
73
- size: {
74
- type: PropType<"large" | "small" | "middle">;
75
- };
76
- disabled: {
77
- type: BooleanConstructor;
78
- default: boolean;
79
- };
80
- compact: {
81
- type: BooleanConstructor;
82
- default: any;
83
- };
84
- schemas: {
85
- type: PropType<FormSchema[]>;
86
- default: () => any[];
87
- };
88
- autoSearchOnEnter: {
89
- type: BooleanConstructor;
90
- default: boolean;
91
- };
92
- minShowColumn: {
93
- type: NumberConstructor;
94
- default: number;
95
- };
96
- showAdvancedButton: {
97
- type: BooleanConstructor;
98
- default: boolean;
99
- };
100
- allowClear: {
101
- type: BooleanConstructor;
102
- default: boolean;
103
- };
104
- scrollToFirstError: {
105
- type: BooleanConstructor;
106
- default: boolean;
107
- };
108
- colon: {
109
- type: BooleanConstructor;
110
- default: boolean;
111
- };
112
- loading: {
113
- type: PropType<{
114
- [key: string]: Ref<boolean>;
115
- }>;
116
- default: () => {};
117
- };
118
- onSearch: {
119
- type: PropType<(params: Recordable<any>) => void>;
120
- default: (params: Recordable<any>) => void;
121
- };
122
- onReset: {
123
- type: PropType<(params: Recordable<any>) => void>;
124
- default: (params: Recordable<any>) => void;
125
- };
126
- buttons: {
127
- type: PropType<boolean | import("../types/form.type").ButtonProps[]>;
128
- default: boolean;
129
- };
130
- resetFunc: {
131
- type: PropType<() => void>;
132
- };
133
- registerInstance: {
134
- type: PropType<(instance: FormActionType) => void>;
135
- };
136
- }>>>;
137
- default: () => {};
138
- };
139
- defaultValues: {
140
- type: PropType<Recordable<any>>;
141
- default: () => {};
142
- };
143
- formModel: {
144
- type: PropType<Recordable<any>>;
145
- default: () => {};
146
- };
147
- setFormModel: {
148
- type: PropType<(key: string, value: any) => void>;
149
- };
150
- formActionType: {
151
- type: PropType<FormActionType>;
152
- };
2
+ import { FormProps, FormSchema } from '../types/form.type';
3
+ declare const _default: import("vue").DefineComponent<{
4
+ schema: {
5
+ type: globalThis.PropType<FormSchema>;
6
+ default: () => {};
153
7
  };
154
- setup(props: any, { slots }: {
155
- slots: any;
156
- }): () => JSX.Element;
157
- };
158
- export default _sfc_main;
8
+ formProps: {
9
+ type: globalThis.PropType<FormProps>;
10
+ default: () => {};
11
+ };
12
+ defaultValues: {
13
+ type: globalThis.PropType<globalThis.Recordable>;
14
+ default: () => {};
15
+ };
16
+ formModel: {
17
+ type: globalThis.PropType<globalThis.Recordable>;
18
+ default: () => {};
19
+ };
20
+ setFormModel: {
21
+ type: globalThis.PropType<(key: string, value: any) => void>;
22
+ };
23
+ formActionType: {
24
+ type: globalThis.PropType<FormActionType>;
25
+ };
26
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
27
+ schema: {
28
+ type: globalThis.PropType<FormSchema>;
29
+ default: () => {};
30
+ };
31
+ formProps: {
32
+ type: globalThis.PropType<FormProps>;
33
+ default: () => {};
34
+ };
35
+ defaultValues: {
36
+ type: globalThis.PropType<globalThis.Recordable>;
37
+ default: () => {};
38
+ };
39
+ formModel: {
40
+ type: globalThis.PropType<globalThis.Recordable>;
41
+ default: () => {};
42
+ };
43
+ setFormModel: {
44
+ type: globalThis.PropType<(key: string, value: any) => void>;
45
+ };
46
+ formActionType: {
47
+ type: globalThis.PropType<FormActionType>;
48
+ };
49
+ }>>, {
50
+ schema: {};
51
+ formProps: {};
52
+ defaultValues: {};
53
+ formModel: {};
54
+ }, {}>;
55
+ export default _default;
@@ -0,0 +1,26 @@
1
+ type OptionsItem = {
2
+ label: string;
3
+ value: string | number | boolean;
4
+ disabled?: boolean;
5
+ };
6
+ type RadioItem = string | OptionsItem;
7
+ declare const _default: import("vue").DefineComponent<{
8
+ value: {
9
+ type: globalThis.PropType<string | number | boolean>;
10
+ };
11
+ options: {
12
+ type: globalThis.PropType<RadioItem[]>;
13
+ default: () => any[];
14
+ };
15
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
16
+ value: {
17
+ type: globalThis.PropType<string | number | boolean>;
18
+ };
19
+ options: {
20
+ type: globalThis.PropType<RadioItem[]>;
21
+ default: () => any[];
22
+ };
23
+ }>>, {
24
+ options: RadioItem[];
25
+ }, {}>;
26
+ export default _default;
@@ -1,4 +1,4 @@
1
- import { Component } from "vue";
1
+ import { Component } from 'vue';
2
2
  import { ComponentType } from "../types/form.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,4 +1,2 @@
1
- import { default as DtFormItem } from "./FormItem";
2
- import { default as DtFormButtons } from "./FormButtons";
3
- import { default as DtFormIcon } from "./formIcon";
4
- export { DtFormItem, DtFormButtons, DtFormIcon };
1
+ import { default as FormItem } from "./FormItem";
2
+ export { FormItem };
@@ -1,6 +1,6 @@
1
1
  import { FormActionType } from '../types/actions.type';
2
- import { FormProps } from "../types/form.type";
3
- declare type RegisterFn = (formInstance: FormActionType) => void;
4
- declare type UseFormReturnType = [RegisterFn, FormActionType];
2
+ import { FormProps } from '../types/form.type';
3
+ type RegisterFn = (formInstance: FormActionType) => void;
4
+ type UseFormReturnType = [RegisterFn, FormActionType];
5
5
  export declare function useForm(props: FormProps): UseFormReturnType;
6
6
  export {};
@@ -1,12 +1,45 @@
1
- import { Recordable } from "@dt-frames/core";
2
- import { ComputedRef, Ref } from "vue";
3
- import { ButtonProps, FormProps, FormSchema } from "../types/form.type";
4
- declare type FormOpt = {
1
+ import { ComputedRef, Ref } from 'vue';
2
+ import { Recordable } from '@dt-frames/core';
3
+ import { ButtonProps, FormProps, FormSchema } from '../types/form.type';
4
+ type paramsType = {
5
5
  updateSchema: (data: Partial<FormSchema> | Partial<FormSchema>[]) => void;
6
6
  getProps: ComputedRef<FormProps>;
7
7
  defaultValue: Ref<Recordable>;
8
8
  getFormValues: () => Recordable;
9
9
  setFormValues: (values: Recordable) => Promise<void>;
10
10
  };
11
- export declare function useFormActions(opt: FormOpt): ((params: boolean | ButtonProps) => void)[];
11
+ export declare function useFormActions(opt: paramsType): {
12
+ handleMethod: (params: boolean | ButtonProps) => void;
13
+ actionsProps: ComputedRef<{
14
+ mode: "dialog";
15
+ showAdvancedButton: boolean;
16
+ isAdvanced: boolean;
17
+ buttonList: ButtonProps[];
18
+ colspan: {
19
+ span?: number;
20
+ md?: number;
21
+ xl?: number;
22
+ xxl?: number;
23
+ };
24
+ } | {
25
+ showAdvancedButton: boolean;
26
+ buttonList: ButtonProps[];
27
+ colspan: {
28
+ span?: number;
29
+ md?: number;
30
+ xl?: number;
31
+ xxl?: number;
32
+ };
33
+ style: {
34
+ marginLeft: string;
35
+ };
36
+ }>;
37
+ actionStyle: ComputedRef<{
38
+ style: any;
39
+ span?: undefined;
40
+ } | {
41
+ style: any;
42
+ span: number;
43
+ }>;
44
+ };
12
45
  export {};
@@ -1,8 +1,8 @@
1
- import { Recordable } from "@dt-frames/core";
2
- import { ComputedRef, Ref } from "vue";
3
- import { FormActionType } from "../types/actions.type";
4
- import { FormProps, FormSchema } from "../types/form.type";
5
- export declare function useFormEvents({ emits, getSchema, formModel, defaultValue, formElRef, schemaRef, getProps, handleFormValues }: {
1
+ import { ComputedRef, Ref } from 'vue';
2
+ import { Recordable } from '@dt-frames/core';
3
+ import { FormProps, FormSchema } from '../types/form.type';
4
+ import { FormActionType } from '../types/actions.type';
5
+ type ParamsType = {
6
6
  emits: (event: string, ...args: any[]) => void;
7
7
  getSchema: ComputedRef<FormSchema[]>;
8
8
  formModel: Recordable;
@@ -11,8 +11,9 @@ export declare function useFormEvents({ emits, getSchema, formModel, defaultValu
11
11
  schemaRef: Ref<FormSchema[]>;
12
12
  getProps: ComputedRef<FormProps>;
13
13
  handleFormValues: (model: Recordable) => Recordable;
14
- }): {
15
- getFormValues: () => Recordable<any>;
14
+ };
15
+ export declare function useFormEvents({ emits, getSchema, formModel, defaultValue, formElRef, schemaRef, getProps, handleFormValues }: ParamsType): {
16
+ getFormValues: () => Recordable;
16
17
  updateSchema: (data: Partial<FormSchema> | Partial<FormSchema>[]) => void;
17
18
  resetSchema: (data: Partial<FormSchema> | Partial<FormSchema>[]) => void;
18
19
  clearValidate: (name?: string | string[]) => Promise<void>;
@@ -23,3 +24,4 @@ export declare function useFormEvents({ emits, getSchema, formModel, defaultValu
23
24
  validate: (nameList: (string | number)[]) => Promise<any>;
24
25
  appendFormItems: (schema: FormSchema[], prefixName?: string, first?: boolean) => void;
25
26
  };
27
+ export {};
@@ -1,3 +1,3 @@
1
- import { Recordable } from "@dt-frames/core";
2
- import { Ref } from "vue";
1
+ import type { Ref } from 'vue';
2
+ import type { Recordable } from '@dt-frames/core';
3
3
  export declare function useFormValue<T extends Recordable>(props: T, key?: keyof T, changeEvent?: string, emitData?: Ref<any[]>): any[];
@@ -1,11 +1,13 @@
1
- import { Recordable } from "@dt-frames/core";
2
- import { ComputedRef, Ref } from "vue";
1
+ import { Ref, ComputedRef } from 'vue';
2
+ import { Recordable } from '@dt-frames/core';
3
3
  import { FormSchema } from '../types/form.type';
4
- export declare function useFormValues({ defaultValue, getSchema, formModel }: {
5
- defaultValue: Ref<any>;
4
+ type FormProps = {
5
+ defaultValue: Ref<Recordable>;
6
6
  getSchema: ComputedRef<FormSchema[]>;
7
7
  formModel: Recordable;
8
- }): {
8
+ };
9
+ export declare function useFormValues({ defaultValue, getSchema, formModel }: FormProps): {
9
10
  initDefault: () => void;
10
- handleFormValues: (model: Recordable) => Recordable<any>;
11
+ handleFormValues: (model: Recordable) => Recordable;
11
12
  };
13
+ export {};
@@ -1,6 +1,6 @@
1
1
  import { Ref } from "vue";
2
2
  import { FormProps, FormSchema } from "../types/form.type";
3
- export declare function useLabelWidth(schemaItemRef: Ref<FormSchema>, propsRef: Ref<FormProps>): import("vue").ComputedRef<{
3
+ export declare function useLabelWidth(schemaItemRef: Ref<FormSchema>, propsRef: Ref<FormProps>): globalThis.ComputedRef<{
4
4
  labelCol: any;
5
5
  wrapperCol: any;
6
6
  }>;