3h1-ui 3.0.0-next.22 → 3.0.0-next.221

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (533) hide show
  1. package/es/index.js +46415 -34901
  2. package/es/style.css +4530 -3609
  3. package/es/ui/config/index.d.ts +5 -0
  4. package/es/ui/index.d.ts +34 -0
  5. package/es/ui/src/AdvancedSearch/index.d.ts +3 -0
  6. package/es/ui/src/AdvancedSearch/src/data.d.ts +27 -0
  7. package/es/ui/src/Basic/index.d.ts +4 -0
  8. package/es/ui/src/Basic/src/BasicArrow.vue.d.ts +114 -0
  9. package/es/ui/src/Basic/src/BasicHelp.d.ts +117 -0
  10. package/es/ui/src/Basic/src/BasicTitle.vue.d.ts +115 -0
  11. package/es/ui/src/BasicContainer/index.d.ts +3 -0
  12. package/es/ui/src/BasicContainer/src/BasicContainer.vue.d.ts +212 -0
  13. package/es/ui/src/BasicContainer/src/props.d.ts +94 -0
  14. package/es/ui/src/BasicResizeWrapper/index.d.ts +2 -0
  15. package/es/ui/src/BasicResizeWrapper/src/BasicResizeWrapper.vue.d.ts +31 -0
  16. package/es/ui/src/BasicResizeWrapper/src/props.d.ts +11 -0
  17. package/es/ui/src/Button/index.d.ts +235 -0
  18. package/es/ui/src/Button/src/BasicButton.d.ts +105 -0
  19. package/es/ui/src/Button/src/PopConfirmButton.d.ts +14 -0
  20. package/es/ui/src/Button/src/props.d.ts +48 -0
  21. package/es/ui/src/ClickOutSide/index.d.ts +2 -0
  22. package/es/ui/src/ClickOutSide/src/ClickOutSide.vue.d.ts +8 -0
  23. package/es/ui/src/ColorPickerPopover/index.d.ts +2 -0
  24. package/es/ui/src/ColorPickerPopover/src/ColorPickerPopover.d.ts +38 -0
  25. package/es/ui/src/ColorPickerPopover/src/hooks/useColorManipulation.d.ts +3 -0
  26. package/es/ui/src/ColorPickerPopover/src/utils/makeStyle.d.ts +7 -0
  27. package/es/ui/src/ColorPickerPopover/src/vue-colorful/components/HexColorPicker.d.ts +23 -0
  28. package/es/ui/src/ColorPickerPopover/src/vue-colorful/components/RgbaColorPicker.d.ts +23 -0
  29. package/es/ui/src/ColorPickerPopover/src/vue-colorful/components/common/Alpha.d.ts +27 -0
  30. package/es/ui/src/ColorPickerPopover/src/vue-colorful/components/common/AlphaColorPicker.d.ts +26 -0
  31. package/es/ui/src/ColorPickerPopover/src/vue-colorful/components/common/ColorPicker.d.ts +26 -0
  32. package/es/ui/src/ColorPickerPopover/src/vue-colorful/components/common/Hue.d.ts +27 -0
  33. package/es/ui/src/ColorPickerPopover/src/vue-colorful/components/common/Interactive.d.ts +24 -0
  34. package/es/ui/src/ColorPickerPopover/src/vue-colorful/components/common/Pointer.d.ts +30 -0
  35. package/es/ui/src/ColorPickerPopover/src/vue-colorful/components/common/Saturation.d.ts +30 -0
  36. package/es/ui/src/ColorPickerPopover/src/vue-colorful/css/styles.css.d.ts +2 -0
  37. package/es/ui/src/ColorPickerPopover/src/vue-colorful/hooks/useEventCallback.d.ts +1 -0
  38. package/es/ui/src/ColorPickerPopover/src/vue-colorful/hooks/useStyleSheet.d.ts +5 -0
  39. package/es/ui/src/ColorPickerPopover/src/vue-colorful/index.d.ts +2 -0
  40. package/es/ui/src/ColorPickerPopover/src/vue-colorful/types.d.ts +44 -0
  41. package/es/ui/src/ColorPickerPopover/src/vue-colorful/utils/clamp.d.ts +1 -0
  42. package/es/ui/src/ColorPickerPopover/src/vue-colorful/utils/compare.d.ts +4 -0
  43. package/es/ui/src/ColorPickerPopover/src/vue-colorful/utils/convert.d.ts +26 -0
  44. package/es/ui/src/ColorPickerPopover/src/vue-colorful/utils/format.d.ts +1 -0
  45. package/es/ui/src/ColorPickerPopover/src/vue-colorful/utils/nonce.d.ts +11 -0
  46. package/es/ui/src/ColorPickerPopover/src/vue-colorful/utils/round.d.ts +1 -0
  47. package/es/ui/src/Container/index.d.ts +5 -0
  48. package/es/ui/src/Container/src/LazyContainer.vue.d.ts +121 -0
  49. package/es/ui/src/Container/src/ScrollContainer.vue.d.ts +9 -0
  50. package/es/ui/src/Container/src/collapse/CollapseContainer.vue.d.ts +525 -0
  51. package/es/ui/src/Container/src/collapse/CollapseHeader.vue.d.ts +42 -0
  52. package/es/ui/src/Container/src/typing.d.ts +15 -0
  53. package/es/ui/src/ContextMenu/index.d.ts +3 -0
  54. package/es/ui/src/ContextMenu/src/ContextMenu.d.ts +64 -0
  55. package/es/ui/src/ContextMenu/src/createContextMenu.d.ts +3 -0
  56. package/es/ui/src/ContextMenu/src/typing.d.ts +33 -0
  57. package/es/ui/src/ContextMenu/src/useContextMenu.d.ts +3 -0
  58. package/es/ui/src/CountDown/index.d.ts +3 -0
  59. package/es/ui/src/CountDown/src/CountButton.vue.d.ts +35 -0
  60. package/es/ui/src/CountDown/src/CountdownInput.vue.d.ts +41 -0
  61. package/es/ui/src/CountDown/src/useCountdown.d.ts +9 -0
  62. package/es/ui/src/CountTo/index.d.ts +2 -0
  63. package/es/ui/src/CountTo/src/CountTo.vue.d.ts +137 -0
  64. package/es/ui/src/Cropper/index.d.ts +4 -0
  65. package/es/ui/src/Cropper/src/CopperModal.vue.d.ts +40 -0
  66. package/es/ui/src/Cropper/src/Cropper.vue.d.ts +87 -0
  67. package/es/ui/src/Cropper/src/CropperAvatar.vue.d.ts +173 -0
  68. package/es/ui/src/Cropper/src/typing.d.ts +6 -0
  69. package/es/ui/src/Description/index.d.ts +6 -0
  70. package/es/ui/src/Description/src/Description.d.ts +98 -0
  71. package/es/ui/src/Description/src/DescriptionGroup.d.ts +14 -0
  72. package/es/ui/src/Description/src/ShyComponentMap.d.ts +6 -0
  73. package/es/ui/src/Description/src/components/formItem.d.ts +41 -0
  74. package/es/ui/src/Description/src/props.d.ts +60 -0
  75. package/es/ui/src/Description/src/typing.d.ts +38 -0
  76. package/es/ui/src/Description/src/useDescription.d.ts +2 -0
  77. package/es/ui/src/Descriptions/index.d.ts +248 -0
  78. package/es/ui/src/Descriptions/src/Descriptions.d.ts +11 -0
  79. package/es/ui/src/Descriptions/src/ShyDescriptions.d.ts +111 -0
  80. package/es/ui/src/Descriptions/src/props.d.ts +52 -0
  81. package/es/ui/src/Descriptions/src/typing.d.ts +31 -0
  82. package/es/ui/src/Descriptions/src/useShyDescriptions.d.ts +2 -0
  83. package/es/ui/src/Drawer/index.d.ts +4 -0
  84. package/es/ui/src/Drawer/src/BasicDrawer.vue.d.ts +170 -0
  85. package/es/ui/src/Drawer/src/components/DrawerFooter.vue.d.ts +95 -0
  86. package/es/ui/src/Drawer/src/components/DrawerHeader.vue.d.ts +30 -0
  87. package/es/ui/src/Drawer/src/props.d.ts +115 -0
  88. package/es/ui/src/Drawer/src/typing.d.ts +177 -0
  89. package/es/ui/src/Drawer/src/useDrawer.d.ts +6 -0
  90. package/es/ui/src/Dropdown/index.d.ts +3 -0
  91. package/es/ui/src/Dropdown/src/typing.d.ts +9 -0
  92. package/es/ui/src/Icon/data/icons.data.tabler.d.ts +2 -0
  93. package/es/ui/src/Icon/index.d.ts +5 -0
  94. package/es/ui/src/Icon/src/Icon.vue.d.ts +51 -0
  95. package/es/ui/src/Icon/src/SvgIcon.vue.d.ts +45 -0
  96. package/es/ui/src/Label/index.d.ts +2 -0
  97. package/es/ui/src/Label/src/BasicLabel.vue.d.ts +32 -0
  98. package/es/ui/src/Label/src/props.d.ts +14 -0
  99. package/es/ui/src/Loading/index.d.ts +4 -0
  100. package/es/ui/src/Loading/src/Loading.vue.d.ts +57 -0
  101. package/es/ui/src/Loading/src/createLoading.d.ts +13 -0
  102. package/es/ui/src/Loading/src/typing.d.ts +9 -0
  103. package/es/ui/src/Loading/src/useLoading.d.ts +11 -0
  104. package/es/ui/src/Modal/index.d.ts +629 -0
  105. package/es/ui/src/Modal/src/BasicModal.vue.d.ts +282 -0
  106. package/es/ui/src/Modal/src/components/BasicTitle.vue.d.ts +126 -0
  107. package/es/ui/src/Modal/src/components/Modal.d.ts +260 -0
  108. package/es/ui/src/Modal/src/components/ModalClose.vue.d.ts +39 -0
  109. package/es/ui/src/Modal/src/components/ModalFooter.vue.d.ts +264 -0
  110. package/es/ui/src/Modal/src/components/ModalHeader.vue.d.ts +19 -0
  111. package/es/ui/src/Modal/src/components/ModalWrapper.vue.d.ts +97 -0
  112. package/es/ui/src/Modal/src/components/ScrollContainer.vue.d.ts +2 -0
  113. package/es/ui/src/Modal/src/hooks/useAttrs.d.ts +9 -0
  114. package/es/ui/src/Modal/src/hooks/useContext.d.ts +10 -0
  115. package/es/ui/src/Modal/src/hooks/useI18n.d.ts +15 -0
  116. package/es/ui/src/Modal/src/hooks/useModal.d.ts +6 -0
  117. package/es/ui/src/Modal/src/hooks/useModalContext.d.ts +7 -0
  118. package/es/ui/src/Modal/src/hooks/useModalDrag.d.ts +7 -0
  119. package/es/ui/src/Modal/src/hooks/useModalFullScreen.d.ts +11 -0
  120. package/es/ui/src/Modal/src/hooks/useScrollTo.d.ts +10 -0
  121. package/es/ui/src/Modal/src/hooks/useTimeout.d.ts +10 -0
  122. package/es/ui/src/Modal/src/hooks/useWindowSizeFn.d.ts +7 -0
  123. package/es/ui/src/Modal/src/props.d.ts +157 -0
  124. package/es/ui/src/Modal/src/typing.d.ts +174 -0
  125. package/es/ui/src/Modal/src/utils/index.d.ts +5 -0
  126. package/es/ui/src/Modal/src/utils/is.d.ts +13 -0
  127. package/es/ui/src/Modal/src/utils/log.d.ts +2 -0
  128. package/es/ui/src/Modal/src/utils/tsxHelper.d.ts +13 -0
  129. package/es/ui/src/Page/index.d.ts +5 -0
  130. package/es/ui/src/Page/src/PageFooter.vue.d.ts +5 -0
  131. package/es/ui/src/Page/src/PageSecond.d.ts +63 -0
  132. package/es/ui/src/Page/src/PageWrapper.vue.d.ts +86 -0
  133. package/es/ui/src/Process/index.d.ts +2 -0
  134. package/es/ui/src/Process/src/Process.d.ts +80 -0
  135. package/es/ui/src/Scrollbar/index.d.ts +6 -0
  136. package/es/ui/src/Scrollbar/src/Scrollbar.vue.d.ts +72 -0
  137. package/es/ui/src/Scrollbar/src/bar.d.ts +14 -0
  138. package/es/ui/src/Scrollbar/src/types.d.ts +18 -0
  139. package/es/ui/src/Scrollbar/src/util.d.ts +8 -0
  140. package/es/ui/src/ShyAdvancedSearch/index.d.ts +3 -0
  141. package/es/ui/src/ShyAdvancedSearch/src/ShyAdvancedSearch.d.ts +13 -0
  142. package/es/ui/src/ShyAdvancedSearch/src/ShyGlobalSearch.d.ts +13 -0
  143. package/es/ui/src/ShyAdvancedSearch/src/constant.d.ts +24 -0
  144. package/es/ui/src/ShyAdvancedSearch/src/hooks/useAdvancedSearch.d.ts +4 -0
  145. package/es/ui/src/ShyAdvancedSearch/src/types/index.d.ts +11 -0
  146. package/es/ui/src/ShyContainer/index.d.ts +3 -0
  147. package/es/ui/src/ShyContainer/src/ShyContainer.d.ts +217 -0
  148. package/es/ui/src/ShyContainer/src/props.d.ts +98 -0
  149. package/es/ui/src/ShyForm/index.d.ts +21 -0
  150. package/es/ui/src/ShyForm/src/ShyComponentMap.d.ts +6 -0
  151. package/es/ui/src/ShyForm/src/ShyForm.d.ts +1046 -0
  152. package/es/ui/src/ShyForm/src/components/ApiCascader.vue.d.ts +141 -0
  153. package/es/ui/src/ShyForm/src/components/ApiModalSelect/DeptTree.vue.d.ts +134 -0
  154. package/es/ui/src/ShyForm/src/components/ApiModalSelect/Modal.vue.d.ts +2000 -0
  155. package/es/ui/src/ShyForm/src/components/ApiModalSelect/Table.vue.d.ts +1213 -0
  156. package/es/ui/src/ShyForm/src/components/ApiSelect.vue.d.ts +102 -0
  157. package/es/ui/src/ShyForm/src/components/ApiTransfer.vue.d.ts +144 -0
  158. package/es/ui/src/ShyForm/src/components/ApiTree.vue.d.ts +50 -0
  159. package/es/ui/src/ShyForm/src/components/ApiTreeSelect.vue.d.ts +43 -0
  160. package/es/ui/src/ShyForm/src/components/FormAction.vue.d.ts +111 -0
  161. package/es/ui/src/ShyForm/src/components/FormItem.d.ts +70 -0
  162. package/es/ui/src/ShyForm/src/components/FormWrapper.vue.d.ts +18 -0
  163. package/es/ui/src/ShyForm/src/components/Group.d.ts +125 -0
  164. package/es/ui/src/ShyForm/src/components/RadioButtonGroup.vue.d.ts +35 -0
  165. package/es/ui/src/ShyForm/src/components/Table.d.ts +156 -0
  166. package/es/ui/src/ShyForm/src/components/Tinymce.vue.d.ts +19 -0
  167. package/es/ui/src/ShyForm/src/helper.d.ts +14 -0
  168. package/es/ui/src/ShyForm/src/hooks/useAutoFocus.d.ts +10 -0
  169. package/es/ui/src/ShyForm/src/hooks/useComponentRegister.d.ts +3 -0
  170. package/es/ui/src/ShyForm/src/hooks/useFormContext.d.ts +10 -0
  171. package/es/ui/src/ShyForm/src/hooks/useFormEvents.d.ts +28 -0
  172. package/es/ui/src/ShyForm/src/hooks/useFormValues.d.ts +13 -0
  173. package/es/ui/src/ShyForm/src/hooks/useLabelWidth.d.ts +310 -0
  174. package/es/ui/src/ShyForm/src/hooks/useShyForm.d.ts +10 -0
  175. package/es/ui/src/ShyForm/src/props.d.ts +430 -0
  176. package/es/ui/src/ShyForm/src/types/form.d.ts +127 -0
  177. package/es/ui/src/ShyForm/src/types/formItem.d.ts +82 -0
  178. package/es/ui/src/ShyForm/src/types/hooks.d.ts +6 -0
  179. package/es/ui/src/ShyForm/src/types/index.d.ts +90 -0
  180. package/es/ui/src/ShyLayoutContainer/index.d.ts +2 -0
  181. package/es/ui/src/ShyLayoutContainer/src/ShyLayoutContainer.d.ts +87 -0
  182. package/es/ui/src/ShyLayoutContainer/src/props.d.ts +62 -0
  183. package/es/ui/src/ShyLayoutContainer/src/types.d.ts +2 -0
  184. package/es/ui/src/ShyTable/index.d.ts +10 -0
  185. package/es/ui/src/ShyTable/src/ShyTable.d.ts +1200 -0
  186. package/es/ui/src/ShyTable/src/componentMap.d.ts +6 -0
  187. package/es/ui/src/ShyTable/src/components/EditTableHeaderIcon.vue.d.ts +14 -0
  188. package/es/ui/src/ShyTable/src/components/HeaderCell.vue.d.ts +95 -0
  189. package/es/ui/src/ShyTable/src/components/ShyInfo.d.ts +24 -0
  190. package/es/ui/src/ShyTable/src/components/ShyTableAction.d.ts +109 -0
  191. package/es/ui/src/ShyTable/src/components/ShyTableFooter.d.ts +57 -0
  192. package/es/ui/src/ShyTable/src/components/ShyTableHeader.d.ts +63 -0
  193. package/es/ui/src/ShyTable/src/components/ShyTableSettings/ShyShowMore.d.ts +2 -0
  194. package/es/ui/src/ShyTable/src/components/ShyTableSettings/ShyShowSearch.d.ts +2 -0
  195. package/es/ui/src/ShyTable/src/components/ShyTableSettings/ShyTableAdvancedSearch.d.ts +5 -0
  196. package/es/ui/src/ShyTable/src/components/ShyTableSettings/ShyTableColumn.d.ts +5 -0
  197. package/es/ui/src/ShyTable/src/components/ShyTableSettings/ShyTableFullScreen.d.ts +2 -0
  198. package/es/ui/src/ShyTable/src/components/ShyTableSettings/ShyTableGlobalSearch.d.ts +5 -0
  199. package/es/ui/src/ShyTable/src/components/ShyTableSettings/ShyTableSize.d.ts +10 -0
  200. package/es/ui/src/ShyTable/src/components/ShyTableSettings/index.d.ts +7 -0
  201. package/es/ui/src/ShyTable/src/components/TableImg.vue.d.ts +93 -0
  202. package/es/ui/src/ShyTable/src/components/editable/CellComponent.d.ts +10 -0
  203. package/es/ui/src/ShyTable/src/components/editable/EditableCell.d.ts +80 -0
  204. package/es/ui/src/ShyTable/src/components/editable/helper.d.ts +5 -0
  205. package/es/ui/src/ShyTable/src/components/editable/index.d.ts +23 -0
  206. package/es/ui/src/ShyTable/src/const.d.ts +25 -0
  207. package/es/ui/src/ShyTable/src/hooks/useColumns.d.ts +14 -0
  208. package/es/ui/src/ShyTable/src/hooks/useCustomRow.d.ts +19 -0
  209. package/es/ui/src/ShyTable/src/hooks/useDataSource.d.ts +29 -0
  210. package/es/ui/src/ShyTable/src/hooks/useLoading.d.ts +6 -0
  211. package/es/ui/src/ShyTable/src/hooks/usePagination.d.ts +10 -0
  212. package/es/ui/src/ShyTable/src/hooks/useRowSelection.d.ts +12 -0
  213. package/es/ui/src/ShyTable/src/hooks/useScrollTo.d.ts +4 -0
  214. package/es/ui/src/ShyTable/src/hooks/useShyTable.d.ts +16 -0
  215. package/es/ui/src/ShyTable/src/hooks/useShyTableContext.d.ts +16 -0
  216. package/es/ui/src/ShyTable/src/hooks/useShyTableForm.d.ts +9 -0
  217. package/es/ui/src/ShyTable/src/hooks/useTableExpand.d.ts +14 -0
  218. package/es/ui/src/ShyTable/src/hooks/useTableHeader.d.ts +5 -0
  219. package/es/ui/src/ShyTable/src/hooks/useTableScroll.d.ts +11 -0
  220. package/es/ui/src/ShyTable/src/hooks/useTableStyle.d.ts +5 -0
  221. package/es/ui/src/ShyTable/src/props.d.ts +577 -0
  222. package/es/ui/src/ShyTable/src/types/pagination.d.ts +93 -0
  223. package/es/ui/src/ShyTable/src/types/table.d.ts +422 -0
  224. package/es/ui/src/ShyTable/src/types/tableAction.d.ts +26 -0
  225. package/es/ui/src/ShyTag/index.d.ts +3 -0
  226. package/es/ui/src/ShyTag/src/ShyTag.d.ts +85 -0
  227. package/es/ui/src/ShyTag/src/props.d.ts +40 -0
  228. package/es/ui/src/StrengthMeter/index.d.ts +2 -0
  229. package/es/ui/src/StrengthMeter/src/StrengthMeter.vue.d.ts +35 -0
  230. package/es/ui/src/TablePlus/TableColGroup.vue.d.ts +52 -0
  231. package/es/ui/src/TablePlus/TablePlus.vue.d.ts +1977 -0
  232. package/es/ui/src/TablePlus/componentMap.d.ts +6 -0
  233. package/es/ui/src/TablePlus/components/ButtonGroupEdit.vue.d.ts +105 -0
  234. package/es/ui/src/TablePlus/components/Icon/Sort.vue.d.ts +28 -0
  235. package/es/ui/src/TablePlus/components/editable/CellComponent.d.ts +10 -0
  236. package/es/ui/src/TablePlus/hooks/index.d.ts +2 -0
  237. package/es/ui/src/TablePlus/hooks/useColumns.d.ts +8 -0
  238. package/es/ui/src/TablePlus/hooks/usePagination.d.ts +9 -0
  239. package/es/ui/src/TablePlus/hooks/useSort.d.ts +4 -0
  240. package/es/ui/src/TablePlus/hooks/useTableData.d.ts +11 -0
  241. package/es/ui/src/TablePlus/hooks/useTablePlus.d.ts +1 -0
  242. package/es/ui/src/TablePlus/index.d.ts +3 -0
  243. package/es/ui/src/TablePlus/props.d.ts +6 -0
  244. package/es/ui/src/TablePlus/types/componentType.d.ts +1 -0
  245. package/es/ui/src/Transition/index.d.ts +368 -0
  246. package/es/ui/src/Transition/src/CollapseTransition.vue.d.ts +11 -0
  247. package/es/ui/src/Transition/src/CreateTransition.d.ts +47 -0
  248. package/es/ui/src/Transition/src/ExpandTransition.d.ts +23 -0
  249. package/es/ui/src/Tree/index.d.ts +12 -0
  250. package/es/ui/src/Tree/src/BasicTree.d.ts +97 -0
  251. package/es/ui/src/Tree/src/TreeIcon.d.ts +2 -0
  252. package/es/ui/src/Tree/src/hooks/useTree.d.ts +14 -0
  253. package/es/ui/src/Tree/src/types/tree.d.ts +123 -0
  254. package/es/ui/src/Tree/style/index.d.ts +0 -0
  255. package/es/ui/src/Upload/src/components/FileList.d.ts +254 -0
  256. package/es/ui/src/Upload/src/components/UploadPreviewModal.vue.d.ts +912 -0
  257. package/es/ui/src/Upload/src/components/data.d.ts +9 -0
  258. package/es/ui/src/Upload/src/helper.d.ts +7 -0
  259. package/es/ui/src/Upload/src/hooks/useUpload.d.ts +11 -0
  260. package/es/ui/src/Upload/src/props.d.ts +153 -0
  261. package/es/ui/src/Upload/src/types/typing.d.ts +45 -0
  262. package/es/ui/src/directives/clickOutside.d.ts +3 -0
  263. package/es/ui/src/directives/index.d.ts +1 -0
  264. package/es/ui/src/enums/sizeEnum.d.ts +11 -0
  265. package/es/ui/types/global.d.ts +102 -0
  266. package/es/ui/types/index.d.ts +36 -0
  267. package/lib/index.js +46715 -35201
  268. package/lib/style.css +4530 -3609
  269. package/lib/ui/config/index.d.ts +5 -0
  270. package/lib/ui/index.d.ts +34 -0
  271. package/lib/ui/src/AdvancedSearch/index.d.ts +3 -0
  272. package/lib/ui/src/AdvancedSearch/src/data.d.ts +27 -0
  273. package/lib/ui/src/Basic/index.d.ts +4 -0
  274. package/lib/ui/src/Basic/src/BasicArrow.vue.d.ts +114 -0
  275. package/lib/ui/src/Basic/src/BasicHelp.d.ts +117 -0
  276. package/lib/ui/src/Basic/src/BasicTitle.vue.d.ts +115 -0
  277. package/lib/ui/src/BasicContainer/index.d.ts +3 -0
  278. package/lib/ui/src/BasicContainer/src/BasicContainer.vue.d.ts +212 -0
  279. package/lib/ui/src/BasicContainer/src/props.d.ts +94 -0
  280. package/lib/ui/src/BasicResizeWrapper/index.d.ts +2 -0
  281. package/lib/ui/src/BasicResizeWrapper/src/BasicResizeWrapper.vue.d.ts +31 -0
  282. package/lib/ui/src/BasicResizeWrapper/src/props.d.ts +11 -0
  283. package/lib/ui/src/Button/index.d.ts +235 -0
  284. package/lib/ui/src/Button/src/BasicButton.d.ts +105 -0
  285. package/lib/ui/src/Button/src/PopConfirmButton.d.ts +14 -0
  286. package/lib/ui/src/Button/src/props.d.ts +48 -0
  287. package/lib/ui/src/ClickOutSide/index.d.ts +2 -0
  288. package/lib/ui/src/ClickOutSide/src/ClickOutSide.vue.d.ts +8 -0
  289. package/lib/ui/src/ColorPickerPopover/index.d.ts +2 -0
  290. package/lib/ui/src/ColorPickerPopover/src/ColorPickerPopover.d.ts +38 -0
  291. package/lib/ui/src/ColorPickerPopover/src/hooks/useColorManipulation.d.ts +3 -0
  292. package/lib/ui/src/ColorPickerPopover/src/utils/makeStyle.d.ts +7 -0
  293. package/lib/ui/src/ColorPickerPopover/src/vue-colorful/components/HexColorPicker.d.ts +23 -0
  294. package/lib/ui/src/ColorPickerPopover/src/vue-colorful/components/RgbaColorPicker.d.ts +23 -0
  295. package/lib/ui/src/ColorPickerPopover/src/vue-colorful/components/common/Alpha.d.ts +27 -0
  296. package/lib/ui/src/ColorPickerPopover/src/vue-colorful/components/common/AlphaColorPicker.d.ts +26 -0
  297. package/lib/ui/src/ColorPickerPopover/src/vue-colorful/components/common/ColorPicker.d.ts +26 -0
  298. package/lib/ui/src/ColorPickerPopover/src/vue-colorful/components/common/Hue.d.ts +27 -0
  299. package/lib/ui/src/ColorPickerPopover/src/vue-colorful/components/common/Interactive.d.ts +24 -0
  300. package/lib/ui/src/ColorPickerPopover/src/vue-colorful/components/common/Pointer.d.ts +30 -0
  301. package/lib/ui/src/ColorPickerPopover/src/vue-colorful/components/common/Saturation.d.ts +30 -0
  302. package/lib/ui/src/ColorPickerPopover/src/vue-colorful/css/styles.css.d.ts +2 -0
  303. package/lib/ui/src/ColorPickerPopover/src/vue-colorful/hooks/useEventCallback.d.ts +1 -0
  304. package/lib/ui/src/ColorPickerPopover/src/vue-colorful/hooks/useStyleSheet.d.ts +5 -0
  305. package/lib/ui/src/ColorPickerPopover/src/vue-colorful/index.d.ts +2 -0
  306. package/lib/ui/src/ColorPickerPopover/src/vue-colorful/types.d.ts +44 -0
  307. package/lib/ui/src/ColorPickerPopover/src/vue-colorful/utils/clamp.d.ts +1 -0
  308. package/lib/ui/src/ColorPickerPopover/src/vue-colorful/utils/compare.d.ts +4 -0
  309. package/lib/ui/src/ColorPickerPopover/src/vue-colorful/utils/convert.d.ts +26 -0
  310. package/lib/ui/src/ColorPickerPopover/src/vue-colorful/utils/format.d.ts +1 -0
  311. package/lib/ui/src/ColorPickerPopover/src/vue-colorful/utils/nonce.d.ts +11 -0
  312. package/lib/ui/src/ColorPickerPopover/src/vue-colorful/utils/round.d.ts +1 -0
  313. package/lib/ui/src/Container/index.d.ts +5 -0
  314. package/lib/ui/src/Container/src/LazyContainer.vue.d.ts +121 -0
  315. package/lib/ui/src/Container/src/ScrollContainer.vue.d.ts +9 -0
  316. package/lib/ui/src/Container/src/collapse/CollapseContainer.vue.d.ts +525 -0
  317. package/lib/ui/src/Container/src/collapse/CollapseHeader.vue.d.ts +42 -0
  318. package/lib/ui/src/Container/src/typing.d.ts +15 -0
  319. package/lib/ui/src/ContextMenu/index.d.ts +3 -0
  320. package/lib/ui/src/ContextMenu/src/ContextMenu.d.ts +64 -0
  321. package/lib/ui/src/ContextMenu/src/createContextMenu.d.ts +3 -0
  322. package/lib/ui/src/ContextMenu/src/typing.d.ts +33 -0
  323. package/lib/ui/src/ContextMenu/src/useContextMenu.d.ts +3 -0
  324. package/lib/ui/src/CountDown/index.d.ts +3 -0
  325. package/lib/ui/src/CountDown/src/CountButton.vue.d.ts +35 -0
  326. package/lib/ui/src/CountDown/src/CountdownInput.vue.d.ts +41 -0
  327. package/lib/ui/src/CountDown/src/useCountdown.d.ts +9 -0
  328. package/lib/ui/src/CountTo/index.d.ts +2 -0
  329. package/lib/ui/src/CountTo/src/CountTo.vue.d.ts +137 -0
  330. package/lib/ui/src/Cropper/index.d.ts +4 -0
  331. package/lib/ui/src/Cropper/src/CopperModal.vue.d.ts +40 -0
  332. package/lib/ui/src/Cropper/src/Cropper.vue.d.ts +87 -0
  333. package/lib/ui/src/Cropper/src/CropperAvatar.vue.d.ts +173 -0
  334. package/lib/ui/src/Cropper/src/typing.d.ts +6 -0
  335. package/lib/ui/src/Description/index.d.ts +6 -0
  336. package/lib/ui/src/Description/src/Description.d.ts +98 -0
  337. package/lib/ui/src/Description/src/DescriptionGroup.d.ts +14 -0
  338. package/lib/ui/src/Description/src/ShyComponentMap.d.ts +6 -0
  339. package/lib/ui/src/Description/src/components/formItem.d.ts +41 -0
  340. package/lib/ui/src/Description/src/props.d.ts +60 -0
  341. package/lib/ui/src/Description/src/typing.d.ts +38 -0
  342. package/lib/ui/src/Description/src/useDescription.d.ts +2 -0
  343. package/lib/ui/src/Descriptions/index.d.ts +248 -0
  344. package/lib/ui/src/Descriptions/src/Descriptions.d.ts +11 -0
  345. package/lib/ui/src/Descriptions/src/ShyDescriptions.d.ts +111 -0
  346. package/lib/ui/src/Descriptions/src/props.d.ts +52 -0
  347. package/lib/ui/src/Descriptions/src/typing.d.ts +31 -0
  348. package/lib/ui/src/Descriptions/src/useShyDescriptions.d.ts +2 -0
  349. package/lib/ui/src/Drawer/index.d.ts +4 -0
  350. package/lib/ui/src/Drawer/src/BasicDrawer.vue.d.ts +170 -0
  351. package/lib/ui/src/Drawer/src/components/DrawerFooter.vue.d.ts +95 -0
  352. package/lib/ui/src/Drawer/src/components/DrawerHeader.vue.d.ts +30 -0
  353. package/lib/ui/src/Drawer/src/props.d.ts +115 -0
  354. package/lib/ui/src/Drawer/src/typing.d.ts +177 -0
  355. package/lib/ui/src/Drawer/src/useDrawer.d.ts +6 -0
  356. package/lib/ui/src/Dropdown/index.d.ts +3 -0
  357. package/lib/ui/src/Dropdown/src/typing.d.ts +9 -0
  358. package/lib/ui/src/Icon/data/icons.data.tabler.d.ts +2 -0
  359. package/lib/ui/src/Icon/index.d.ts +5 -0
  360. package/lib/ui/src/Icon/src/Icon.vue.d.ts +51 -0
  361. package/lib/ui/src/Icon/src/SvgIcon.vue.d.ts +45 -0
  362. package/lib/ui/src/Label/index.d.ts +2 -0
  363. package/lib/ui/src/Label/src/BasicLabel.vue.d.ts +32 -0
  364. package/lib/ui/src/Label/src/props.d.ts +14 -0
  365. package/lib/ui/src/Loading/index.d.ts +4 -0
  366. package/lib/ui/src/Loading/src/Loading.vue.d.ts +57 -0
  367. package/lib/ui/src/Loading/src/createLoading.d.ts +13 -0
  368. package/lib/ui/src/Loading/src/typing.d.ts +9 -0
  369. package/lib/ui/src/Loading/src/useLoading.d.ts +11 -0
  370. package/lib/ui/src/Modal/index.d.ts +629 -0
  371. package/lib/ui/src/Modal/src/BasicModal.vue.d.ts +282 -0
  372. package/lib/ui/src/Modal/src/components/BasicTitle.vue.d.ts +126 -0
  373. package/lib/ui/src/Modal/src/components/Modal.d.ts +260 -0
  374. package/lib/ui/src/Modal/src/components/ModalClose.vue.d.ts +39 -0
  375. package/lib/ui/src/Modal/src/components/ModalFooter.vue.d.ts +264 -0
  376. package/lib/ui/src/Modal/src/components/ModalHeader.vue.d.ts +19 -0
  377. package/lib/ui/src/Modal/src/components/ModalWrapper.vue.d.ts +97 -0
  378. package/lib/ui/src/Modal/src/components/ScrollContainer.vue.d.ts +2 -0
  379. package/lib/ui/src/Modal/src/hooks/useAttrs.d.ts +9 -0
  380. package/lib/ui/src/Modal/src/hooks/useContext.d.ts +10 -0
  381. package/lib/ui/src/Modal/src/hooks/useI18n.d.ts +15 -0
  382. package/lib/ui/src/Modal/src/hooks/useModal.d.ts +6 -0
  383. package/lib/ui/src/Modal/src/hooks/useModalContext.d.ts +7 -0
  384. package/lib/ui/src/Modal/src/hooks/useModalDrag.d.ts +7 -0
  385. package/lib/ui/src/Modal/src/hooks/useModalFullScreen.d.ts +11 -0
  386. package/lib/ui/src/Modal/src/hooks/useScrollTo.d.ts +10 -0
  387. package/lib/ui/src/Modal/src/hooks/useTimeout.d.ts +10 -0
  388. package/lib/ui/src/Modal/src/hooks/useWindowSizeFn.d.ts +7 -0
  389. package/lib/ui/src/Modal/src/props.d.ts +157 -0
  390. package/lib/ui/src/Modal/src/typing.d.ts +174 -0
  391. package/lib/ui/src/Modal/src/utils/index.d.ts +5 -0
  392. package/lib/ui/src/Modal/src/utils/is.d.ts +13 -0
  393. package/lib/ui/src/Modal/src/utils/log.d.ts +2 -0
  394. package/lib/ui/src/Modal/src/utils/tsxHelper.d.ts +13 -0
  395. package/lib/ui/src/Page/index.d.ts +5 -0
  396. package/lib/ui/src/Page/src/PageFooter.vue.d.ts +5 -0
  397. package/lib/ui/src/Page/src/PageSecond.d.ts +63 -0
  398. package/lib/ui/src/Page/src/PageWrapper.vue.d.ts +86 -0
  399. package/lib/ui/src/Process/index.d.ts +2 -0
  400. package/lib/ui/src/Process/src/Process.d.ts +80 -0
  401. package/lib/ui/src/Scrollbar/index.d.ts +6 -0
  402. package/lib/ui/src/Scrollbar/src/Scrollbar.vue.d.ts +72 -0
  403. package/lib/ui/src/Scrollbar/src/bar.d.ts +14 -0
  404. package/lib/ui/src/Scrollbar/src/types.d.ts +18 -0
  405. package/lib/ui/src/Scrollbar/src/util.d.ts +8 -0
  406. package/lib/ui/src/ShyAdvancedSearch/index.d.ts +3 -0
  407. package/lib/ui/src/ShyAdvancedSearch/src/ShyAdvancedSearch.d.ts +13 -0
  408. package/lib/ui/src/ShyAdvancedSearch/src/ShyGlobalSearch.d.ts +13 -0
  409. package/lib/ui/src/ShyAdvancedSearch/src/constant.d.ts +24 -0
  410. package/lib/ui/src/ShyAdvancedSearch/src/hooks/useAdvancedSearch.d.ts +4 -0
  411. package/lib/ui/src/ShyAdvancedSearch/src/types/index.d.ts +11 -0
  412. package/lib/ui/src/ShyContainer/index.d.ts +3 -0
  413. package/lib/ui/src/ShyContainer/src/ShyContainer.d.ts +217 -0
  414. package/lib/ui/src/ShyContainer/src/props.d.ts +98 -0
  415. package/lib/ui/src/ShyForm/index.d.ts +21 -0
  416. package/lib/ui/src/ShyForm/src/ShyComponentMap.d.ts +6 -0
  417. package/lib/ui/src/ShyForm/src/ShyForm.d.ts +1046 -0
  418. package/lib/ui/src/ShyForm/src/components/ApiCascader.vue.d.ts +141 -0
  419. package/lib/ui/src/ShyForm/src/components/ApiModalSelect/DeptTree.vue.d.ts +134 -0
  420. package/lib/ui/src/ShyForm/src/components/ApiModalSelect/Modal.vue.d.ts +2000 -0
  421. package/lib/ui/src/ShyForm/src/components/ApiModalSelect/Table.vue.d.ts +1213 -0
  422. package/lib/ui/src/ShyForm/src/components/ApiSelect.vue.d.ts +102 -0
  423. package/lib/ui/src/ShyForm/src/components/ApiTransfer.vue.d.ts +144 -0
  424. package/lib/ui/src/ShyForm/src/components/ApiTree.vue.d.ts +50 -0
  425. package/lib/ui/src/ShyForm/src/components/ApiTreeSelect.vue.d.ts +43 -0
  426. package/lib/ui/src/ShyForm/src/components/FormAction.vue.d.ts +111 -0
  427. package/lib/ui/src/ShyForm/src/components/FormItem.d.ts +70 -0
  428. package/lib/ui/src/ShyForm/src/components/FormWrapper.vue.d.ts +18 -0
  429. package/lib/ui/src/ShyForm/src/components/Group.d.ts +125 -0
  430. package/lib/ui/src/ShyForm/src/components/RadioButtonGroup.vue.d.ts +35 -0
  431. package/lib/ui/src/ShyForm/src/components/Table.d.ts +156 -0
  432. package/lib/ui/src/ShyForm/src/components/Tinymce.vue.d.ts +19 -0
  433. package/lib/ui/src/ShyForm/src/helper.d.ts +14 -0
  434. package/lib/ui/src/ShyForm/src/hooks/useAutoFocus.d.ts +10 -0
  435. package/lib/ui/src/ShyForm/src/hooks/useComponentRegister.d.ts +3 -0
  436. package/lib/ui/src/ShyForm/src/hooks/useFormContext.d.ts +10 -0
  437. package/lib/ui/src/ShyForm/src/hooks/useFormEvents.d.ts +28 -0
  438. package/lib/ui/src/ShyForm/src/hooks/useFormValues.d.ts +13 -0
  439. package/lib/ui/src/ShyForm/src/hooks/useLabelWidth.d.ts +310 -0
  440. package/lib/ui/src/ShyForm/src/hooks/useShyForm.d.ts +10 -0
  441. package/lib/ui/src/ShyForm/src/props.d.ts +430 -0
  442. package/lib/ui/src/ShyForm/src/types/form.d.ts +127 -0
  443. package/lib/ui/src/ShyForm/src/types/formItem.d.ts +82 -0
  444. package/lib/ui/src/ShyForm/src/types/hooks.d.ts +6 -0
  445. package/lib/ui/src/ShyForm/src/types/index.d.ts +90 -0
  446. package/lib/ui/src/ShyLayoutContainer/index.d.ts +2 -0
  447. package/lib/ui/src/ShyLayoutContainer/src/ShyLayoutContainer.d.ts +87 -0
  448. package/lib/ui/src/ShyLayoutContainer/src/props.d.ts +62 -0
  449. package/lib/ui/src/ShyLayoutContainer/src/types.d.ts +2 -0
  450. package/lib/ui/src/ShyTable/index.d.ts +10 -0
  451. package/lib/ui/src/ShyTable/src/ShyTable.d.ts +1200 -0
  452. package/lib/ui/src/ShyTable/src/componentMap.d.ts +6 -0
  453. package/lib/ui/src/ShyTable/src/components/EditTableHeaderIcon.vue.d.ts +14 -0
  454. package/lib/ui/src/ShyTable/src/components/HeaderCell.vue.d.ts +95 -0
  455. package/lib/ui/src/ShyTable/src/components/ShyInfo.d.ts +24 -0
  456. package/lib/ui/src/ShyTable/src/components/ShyTableAction.d.ts +109 -0
  457. package/lib/ui/src/ShyTable/src/components/ShyTableFooter.d.ts +57 -0
  458. package/lib/ui/src/ShyTable/src/components/ShyTableHeader.d.ts +63 -0
  459. package/lib/ui/src/ShyTable/src/components/ShyTableSettings/ShyShowMore.d.ts +2 -0
  460. package/lib/ui/src/ShyTable/src/components/ShyTableSettings/ShyShowSearch.d.ts +2 -0
  461. package/lib/ui/src/ShyTable/src/components/ShyTableSettings/ShyTableAdvancedSearch.d.ts +5 -0
  462. package/lib/ui/src/ShyTable/src/components/ShyTableSettings/ShyTableColumn.d.ts +5 -0
  463. package/lib/ui/src/ShyTable/src/components/ShyTableSettings/ShyTableFullScreen.d.ts +2 -0
  464. package/lib/ui/src/ShyTable/src/components/ShyTableSettings/ShyTableGlobalSearch.d.ts +5 -0
  465. package/lib/ui/src/ShyTable/src/components/ShyTableSettings/ShyTableSize.d.ts +10 -0
  466. package/lib/ui/src/ShyTable/src/components/ShyTableSettings/index.d.ts +7 -0
  467. package/lib/ui/src/ShyTable/src/components/TableImg.vue.d.ts +93 -0
  468. package/lib/ui/src/ShyTable/src/components/editable/CellComponent.d.ts +10 -0
  469. package/lib/ui/src/ShyTable/src/components/editable/EditableCell.d.ts +80 -0
  470. package/lib/ui/src/ShyTable/src/components/editable/helper.d.ts +5 -0
  471. package/lib/ui/src/ShyTable/src/components/editable/index.d.ts +23 -0
  472. package/lib/ui/src/ShyTable/src/const.d.ts +25 -0
  473. package/lib/ui/src/ShyTable/src/hooks/useColumns.d.ts +14 -0
  474. package/lib/ui/src/ShyTable/src/hooks/useCustomRow.d.ts +19 -0
  475. package/lib/ui/src/ShyTable/src/hooks/useDataSource.d.ts +29 -0
  476. package/lib/ui/src/ShyTable/src/hooks/useLoading.d.ts +6 -0
  477. package/lib/ui/src/ShyTable/src/hooks/usePagination.d.ts +10 -0
  478. package/lib/ui/src/ShyTable/src/hooks/useRowSelection.d.ts +12 -0
  479. package/lib/ui/src/ShyTable/src/hooks/useScrollTo.d.ts +4 -0
  480. package/lib/ui/src/ShyTable/src/hooks/useShyTable.d.ts +16 -0
  481. package/lib/ui/src/ShyTable/src/hooks/useShyTableContext.d.ts +16 -0
  482. package/lib/ui/src/ShyTable/src/hooks/useShyTableForm.d.ts +9 -0
  483. package/lib/ui/src/ShyTable/src/hooks/useTableExpand.d.ts +14 -0
  484. package/lib/ui/src/ShyTable/src/hooks/useTableHeader.d.ts +5 -0
  485. package/lib/ui/src/ShyTable/src/hooks/useTableScroll.d.ts +11 -0
  486. package/lib/ui/src/ShyTable/src/hooks/useTableStyle.d.ts +5 -0
  487. package/lib/ui/src/ShyTable/src/props.d.ts +577 -0
  488. package/lib/ui/src/ShyTable/src/types/pagination.d.ts +93 -0
  489. package/lib/ui/src/ShyTable/src/types/table.d.ts +422 -0
  490. package/lib/ui/src/ShyTable/src/types/tableAction.d.ts +26 -0
  491. package/lib/ui/src/ShyTag/index.d.ts +3 -0
  492. package/lib/ui/src/ShyTag/src/ShyTag.d.ts +85 -0
  493. package/lib/ui/src/ShyTag/src/props.d.ts +40 -0
  494. package/lib/ui/src/StrengthMeter/index.d.ts +2 -0
  495. package/lib/ui/src/StrengthMeter/src/StrengthMeter.vue.d.ts +35 -0
  496. package/lib/ui/src/TablePlus/TableColGroup.vue.d.ts +52 -0
  497. package/lib/ui/src/TablePlus/TablePlus.vue.d.ts +1977 -0
  498. package/lib/ui/src/TablePlus/componentMap.d.ts +6 -0
  499. package/lib/ui/src/TablePlus/components/ButtonGroupEdit.vue.d.ts +105 -0
  500. package/lib/ui/src/TablePlus/components/Icon/Sort.vue.d.ts +28 -0
  501. package/lib/ui/src/TablePlus/components/editable/CellComponent.d.ts +10 -0
  502. package/lib/ui/src/TablePlus/hooks/index.d.ts +2 -0
  503. package/lib/ui/src/TablePlus/hooks/useColumns.d.ts +8 -0
  504. package/lib/ui/src/TablePlus/hooks/usePagination.d.ts +9 -0
  505. package/lib/ui/src/TablePlus/hooks/useSort.d.ts +4 -0
  506. package/lib/ui/src/TablePlus/hooks/useTableData.d.ts +11 -0
  507. package/lib/ui/src/TablePlus/hooks/useTablePlus.d.ts +1 -0
  508. package/lib/ui/src/TablePlus/index.d.ts +3 -0
  509. package/lib/ui/src/TablePlus/props.d.ts +6 -0
  510. package/lib/ui/src/TablePlus/types/componentType.d.ts +1 -0
  511. package/lib/ui/src/Transition/index.d.ts +368 -0
  512. package/lib/ui/src/Transition/src/CollapseTransition.vue.d.ts +11 -0
  513. package/lib/ui/src/Transition/src/CreateTransition.d.ts +47 -0
  514. package/lib/ui/src/Transition/src/ExpandTransition.d.ts +23 -0
  515. package/lib/ui/src/Tree/index.d.ts +12 -0
  516. package/lib/ui/src/Tree/src/BasicTree.d.ts +97 -0
  517. package/lib/ui/src/Tree/src/TreeIcon.d.ts +2 -0
  518. package/lib/ui/src/Tree/src/hooks/useTree.d.ts +14 -0
  519. package/lib/ui/src/Tree/src/types/tree.d.ts +123 -0
  520. package/lib/ui/src/Tree/style/index.d.ts +0 -0
  521. package/lib/ui/src/Upload/src/components/FileList.d.ts +254 -0
  522. package/lib/ui/src/Upload/src/components/UploadPreviewModal.vue.d.ts +912 -0
  523. package/lib/ui/src/Upload/src/components/data.d.ts +9 -0
  524. package/lib/ui/src/Upload/src/helper.d.ts +7 -0
  525. package/lib/ui/src/Upload/src/hooks/useUpload.d.ts +11 -0
  526. package/lib/ui/src/Upload/src/props.d.ts +153 -0
  527. package/lib/ui/src/Upload/src/types/typing.d.ts +45 -0
  528. package/lib/ui/src/directives/clickOutside.d.ts +3 -0
  529. package/lib/ui/src/directives/index.d.ts +1 -0
  530. package/lib/ui/src/enums/sizeEnum.d.ts +11 -0
  531. package/lib/ui/types/global.d.ts +102 -0
  532. package/lib/ui/types/index.d.ts +36 -0
  533. package/package.json +7 -6
@@ -0,0 +1,430 @@
1
+ import type { FormActionType, FieldMapToTime, FormSchema, FormProps } from './types/form';
2
+ import { type CSSProperties, type PropType } from 'vue';
3
+ import type { ColEx } from './types';
4
+ import type { TableActionType as ShyTableActionType } from '../../ShyTable';
5
+ type SizeType = 'small' | 'middle' | 'large' | undefined;
6
+ type ButtonShape = 'default' | 'circle' | 'round';
7
+ type ButtonHTMLType = 'submit' | 'button' | 'reset';
8
+ type ButtonProps = {
9
+ htmlType?: ButtonHTMLType | undefined;
10
+ loading?: boolean | {
11
+ delay?: number | undefined;
12
+ } | undefined;
13
+ ghost?: boolean | undefined;
14
+ prefixCls?: string | undefined;
15
+ disabled?: boolean;
16
+ block?: boolean;
17
+ danger: boolean;
18
+ icon: any;
19
+ href: string;
20
+ target: string;
21
+ title: string;
22
+ shape: ButtonShape;
23
+ size: SizeType;
24
+ onClick: (event: MouseEvent) => void;
25
+ onMousedown?: ((event: MouseEvent) => void) | undefined;
26
+ };
27
+ export declare const ROW_SLICE: number, RANGE_PICKER_COL: number, OTHER_COL: number, ACTION_COL: number;
28
+ export declare const tableSearchColRef: {
29
+ ROW_SLICE: number;
30
+ RANGE_PICKER_COL: number;
31
+ OTHER_COL: number;
32
+ ACTION_COL: number;
33
+ };
34
+ export declare const tableSearchColKeys: readonly ["ROW_SLICE", "RANGE_PICKER_COL", "OTHER_COL", "ACTION_COL"];
35
+ export declare const shyFormBasicProps: {
36
+ gap: {
37
+ type: NumberConstructor;
38
+ default: number;
39
+ };
40
+ formLabelInInput: {
41
+ type: BooleanConstructor;
42
+ default: boolean;
43
+ };
44
+ model: {
45
+ type: ((new (...args: any[]) => Recordable<any>) | (() => Recordable<any>)) | ((new (...args: any[]) => Recordable<any>) | (() => Recordable<any>))[];
46
+ default: () => PropType<Recordable<any>>;
47
+ };
48
+ labelWidth: {
49
+ type: ((new (...args: any[]) => string | number) | (() => string | number)) | ((new (...args: any[]) => string | number) | (() => string | number))[];
50
+ default: number;
51
+ };
52
+ fieldMapToTime: {
53
+ type: ((new (...args: any[]) => FieldMapToTime) | (() => FieldMapToTime)) | ((new (...args: any[]) => FieldMapToTime) | (() => FieldMapToTime))[];
54
+ default: () => PropType<FieldMapToTime>;
55
+ };
56
+ compact: {
57
+ type: BooleanConstructor;
58
+ };
59
+ schemas: {
60
+ type: ((new (...args: any[]) => FormSchema[]) | (() => FormSchema[])) | ((new (...args: any[]) => FormSchema[]) | (() => FormSchema[]))[];
61
+ default: () => PropType<FormSchema[]>;
62
+ };
63
+ mergeDynamicData: {
64
+ type: ((new (...args: any[]) => Recordable<any>) | (() => Recordable<any>)) | ((new (...args: any[]) => Recordable<any>) | (() => Recordable<any>))[];
65
+ default: any;
66
+ };
67
+ baseRowStyle: {
68
+ type: ((new (...args: any[]) => CSSProperties) | (() => CSSProperties)) | ((new (...args: any[]) => CSSProperties) | (() => CSSProperties))[];
69
+ };
70
+ baseColProps: {
71
+ type: ((new (...args: any[]) => Partial<ColEx>) | (() => Partial<ColEx>)) | ((new (...args: any[]) => Partial<ColEx>) | (() => Partial<ColEx>))[];
72
+ };
73
+ autoSetPlaceHolder: {
74
+ type: BooleanConstructor;
75
+ default: boolean;
76
+ };
77
+ autoSubmitOnEnter: {
78
+ type: BooleanConstructor;
79
+ default: boolean;
80
+ };
81
+ submitOnReset: {
82
+ type: BooleanConstructor;
83
+ };
84
+ submitOnChange: {
85
+ type: BooleanConstructor;
86
+ };
87
+ size: {
88
+ type: ((new (...args: any[]) => "small" | "large" | "middle") | (() => "small" | "large" | "middle")) | ((new (...args: any[]) => "small" | "large" | "middle") | (() => "small" | "large" | "middle"))[];
89
+ default: any;
90
+ };
91
+ disabled: {
92
+ type: BooleanConstructor;
93
+ };
94
+ emptySpan: {
95
+ type: ((new (...args: any[]) => number | Partial<ColEx>) | (() => number | Partial<ColEx>)) | ((new (...args: any[]) => number | Partial<ColEx>) | (() => number | Partial<ColEx>))[];
96
+ default: number;
97
+ };
98
+ showAdvancedButton: {
99
+ type: BooleanConstructor;
100
+ };
101
+ transformDateFunc: {
102
+ type: ((new (...args: any[]) => Fn<any, any>) | (() => Fn<any, any>) | {
103
+ (): Fn<any, any>;
104
+ new (): any;
105
+ readonly prototype: any;
106
+ }) | ((new (...args: any[]) => Fn<any, any>) | (() => Fn<any, any>) | {
107
+ (): Fn<any, any>;
108
+ new (): any;
109
+ readonly prototype: any;
110
+ })[];
111
+ default: (date: any) => any;
112
+ };
113
+ rulesMessageJoinLabel: {
114
+ type: BooleanConstructor;
115
+ default: boolean;
116
+ };
117
+ autoAdvancedLine: {
118
+ type: NumberConstructor;
119
+ default: number;
120
+ };
121
+ alwaysShowLines: {
122
+ type: NumberConstructor;
123
+ default: number;
124
+ };
125
+ showActionButtonGroup: {
126
+ type: BooleanConstructor;
127
+ default: boolean;
128
+ };
129
+ actionColOptions: {
130
+ type: ((new (...args: any[]) => Partial<ColEx>) | (() => Partial<ColEx>)) | ((new (...args: any[]) => Partial<ColEx>) | (() => Partial<ColEx>))[];
131
+ };
132
+ showResetButton: {
133
+ type: BooleanConstructor;
134
+ default: boolean;
135
+ };
136
+ autoFocusFirstItem: {
137
+ type: BooleanConstructor;
138
+ };
139
+ resetButtonOptions: {
140
+ type: ((new (...args: any[]) => Partial<ButtonProps>) | (() => Partial<ButtonProps>)) | ((new (...args: any[]) => Partial<ButtonProps>) | (() => Partial<ButtonProps>))[];
141
+ };
142
+ showSubmitButton: {
143
+ type: BooleanConstructor;
144
+ default: boolean;
145
+ };
146
+ submitButtonOptions: {
147
+ type: ((new (...args: any[]) => Partial<ButtonProps>) | (() => Partial<ButtonProps>)) | ((new (...args: any[]) => Partial<ButtonProps>) | (() => Partial<ButtonProps>))[];
148
+ };
149
+ resetFunc: {
150
+ type: ((new (...args: any[]) => () => Promise<void>) | (() => () => Promise<void>) | {
151
+ (): () => Promise<void>;
152
+ new (): any;
153
+ readonly prototype: any;
154
+ }) | ((new (...args: any[]) => () => Promise<void>) | (() => () => Promise<void>) | {
155
+ (): () => Promise<void>;
156
+ new (): any;
157
+ readonly prototype: any;
158
+ })[];
159
+ };
160
+ submitFunc: {
161
+ type: ((new (...args: any[]) => () => Promise<void>) | (() => () => Promise<void>) | {
162
+ (): () => Promise<void>;
163
+ new (): any;
164
+ readonly prototype: any;
165
+ }) | ((new (...args: any[]) => () => Promise<void>) | (() => () => Promise<void>) | {
166
+ (): () => Promise<void>;
167
+ new (): any;
168
+ readonly prototype: any;
169
+ })[];
170
+ };
171
+ hideRequiredMark: {
172
+ type: BooleanConstructor;
173
+ };
174
+ labelCol: {
175
+ type: ((new (...args: any[]) => Partial<ColEx>) | (() => Partial<ColEx>)) | ((new (...args: any[]) => Partial<ColEx>) | (() => Partial<ColEx>))[];
176
+ };
177
+ layout: {
178
+ type: ((new (...args: any[]) => "vertical" | "horizontal" | "inline") | (() => "vertical" | "horizontal" | "inline")) | ((new (...args: any[]) => "vertical" | "horizontal" | "inline") | (() => "vertical" | "horizontal" | "inline"))[];
179
+ default: string;
180
+ };
181
+ tableAction: {
182
+ type: ((new (...args: any[]) => ShyTableActionType) | (() => ShyTableActionType)) | ((new (...args: any[]) => ShyTableActionType) | (() => ShyTableActionType))[];
183
+ };
184
+ wrapperCol: {
185
+ type: ((new (...args: any[]) => Partial<ColEx>) | (() => Partial<ColEx>)) | ((new (...args: any[]) => Partial<ColEx>) | (() => Partial<ColEx>))[];
186
+ };
187
+ colon: {
188
+ type: BooleanConstructor;
189
+ };
190
+ labelAlign: {
191
+ type: ((new (...args: any[]) => "left" | "right") | (() => "left" | "right")) | ((new (...args: any[]) => "left" | "right") | (() => "left" | "right"))[];
192
+ };
193
+ rowProps: {
194
+ type: ((new (...args: any[]) => Partial<import("vue").ExtractPropTypes<{
195
+ align: {
196
+ type: PropType<"top" | "bottom" | "middle" | "stretch" | {
197
+ xxl?: "top" | "bottom" | "middle" | "stretch";
198
+ xl?: "top" | "bottom" | "middle" | "stretch";
199
+ lg?: "top" | "bottom" | "middle" | "stretch";
200
+ md?: "top" | "bottom" | "middle" | "stretch";
201
+ sm?: "top" | "bottom" | "middle" | "stretch";
202
+ xs?: "top" | "bottom" | "middle" | "stretch";
203
+ }>;
204
+ default: "top" | "bottom" | "middle" | "stretch" | {
205
+ xxl?: "top" | "bottom" | "middle" | "stretch";
206
+ xl?: "top" | "bottom" | "middle" | "stretch";
207
+ lg?: "top" | "bottom" | "middle" | "stretch";
208
+ md?: "top" | "bottom" | "middle" | "stretch";
209
+ sm?: "top" | "bottom" | "middle" | "stretch";
210
+ xs?: "top" | "bottom" | "middle" | "stretch";
211
+ };
212
+ };
213
+ justify: {
214
+ type: PropType<"start" | "end" | "center" | "space-around" | "space-between" | "space-evenly" | {
215
+ xxl?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
216
+ xl?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
217
+ lg?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
218
+ md?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
219
+ sm?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
220
+ xs?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
221
+ }>;
222
+ default: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly" | {
223
+ xxl?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
224
+ xl?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
225
+ lg?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
226
+ md?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
227
+ sm?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
228
+ xs?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
229
+ };
230
+ };
231
+ prefixCls: StringConstructor;
232
+ gutter: {
233
+ 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]>;
234
+ 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];
235
+ };
236
+ wrap: {
237
+ type: BooleanConstructor;
238
+ default: any;
239
+ };
240
+ }>>) | (() => Partial<import("vue").ExtractPropTypes<{
241
+ align: {
242
+ type: PropType<"top" | "bottom" | "middle" | "stretch" | {
243
+ xxl?: "top" | "bottom" | "middle" | "stretch";
244
+ xl?: "top" | "bottom" | "middle" | "stretch";
245
+ lg?: "top" | "bottom" | "middle" | "stretch";
246
+ md?: "top" | "bottom" | "middle" | "stretch";
247
+ sm?: "top" | "bottom" | "middle" | "stretch";
248
+ xs?: "top" | "bottom" | "middle" | "stretch";
249
+ }>;
250
+ default: "top" | "bottom" | "middle" | "stretch" | {
251
+ xxl?: "top" | "bottom" | "middle" | "stretch";
252
+ xl?: "top" | "bottom" | "middle" | "stretch";
253
+ lg?: "top" | "bottom" | "middle" | "stretch";
254
+ md?: "top" | "bottom" | "middle" | "stretch";
255
+ sm?: "top" | "bottom" | "middle" | "stretch";
256
+ xs?: "top" | "bottom" | "middle" | "stretch";
257
+ };
258
+ };
259
+ justify: {
260
+ type: PropType<"start" | "end" | "center" | "space-around" | "space-between" | "space-evenly" | {
261
+ xxl?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
262
+ xl?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
263
+ lg?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
264
+ md?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
265
+ sm?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
266
+ xs?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
267
+ }>;
268
+ default: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly" | {
269
+ xxl?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
270
+ xl?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
271
+ lg?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
272
+ md?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
273
+ sm?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
274
+ xs?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
275
+ };
276
+ };
277
+ prefixCls: StringConstructor;
278
+ gutter: {
279
+ 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]>;
280
+ 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];
281
+ };
282
+ wrap: {
283
+ type: BooleanConstructor;
284
+ default: any;
285
+ };
286
+ }>>)) | ((new (...args: any[]) => Partial<import("vue").ExtractPropTypes<{
287
+ align: {
288
+ type: PropType<"top" | "bottom" | "middle" | "stretch" | {
289
+ xxl?: "top" | "bottom" | "middle" | "stretch";
290
+ xl?: "top" | "bottom" | "middle" | "stretch";
291
+ lg?: "top" | "bottom" | "middle" | "stretch";
292
+ md?: "top" | "bottom" | "middle" | "stretch";
293
+ sm?: "top" | "bottom" | "middle" | "stretch";
294
+ xs?: "top" | "bottom" | "middle" | "stretch";
295
+ }>;
296
+ default: "top" | "bottom" | "middle" | "stretch" | {
297
+ xxl?: "top" | "bottom" | "middle" | "stretch";
298
+ xl?: "top" | "bottom" | "middle" | "stretch";
299
+ lg?: "top" | "bottom" | "middle" | "stretch";
300
+ md?: "top" | "bottom" | "middle" | "stretch";
301
+ sm?: "top" | "bottom" | "middle" | "stretch";
302
+ xs?: "top" | "bottom" | "middle" | "stretch";
303
+ };
304
+ };
305
+ justify: {
306
+ type: PropType<"start" | "end" | "center" | "space-around" | "space-between" | "space-evenly" | {
307
+ xxl?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
308
+ xl?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
309
+ lg?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
310
+ md?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
311
+ sm?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
312
+ xs?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
313
+ }>;
314
+ default: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly" | {
315
+ xxl?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
316
+ xl?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
317
+ lg?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
318
+ md?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
319
+ sm?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
320
+ xs?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
321
+ };
322
+ };
323
+ prefixCls: StringConstructor;
324
+ gutter: {
325
+ 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]>;
326
+ 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];
327
+ };
328
+ wrap: {
329
+ type: BooleanConstructor;
330
+ default: any;
331
+ };
332
+ }>>) | (() => Partial<import("vue").ExtractPropTypes<{
333
+ align: {
334
+ type: PropType<"top" | "bottom" | "middle" | "stretch" | {
335
+ xxl?: "top" | "bottom" | "middle" | "stretch";
336
+ xl?: "top" | "bottom" | "middle" | "stretch";
337
+ lg?: "top" | "bottom" | "middle" | "stretch";
338
+ md?: "top" | "bottom" | "middle" | "stretch";
339
+ sm?: "top" | "bottom" | "middle" | "stretch";
340
+ xs?: "top" | "bottom" | "middle" | "stretch";
341
+ }>;
342
+ default: "top" | "bottom" | "middle" | "stretch" | {
343
+ xxl?: "top" | "bottom" | "middle" | "stretch";
344
+ xl?: "top" | "bottom" | "middle" | "stretch";
345
+ lg?: "top" | "bottom" | "middle" | "stretch";
346
+ md?: "top" | "bottom" | "middle" | "stretch";
347
+ sm?: "top" | "bottom" | "middle" | "stretch";
348
+ xs?: "top" | "bottom" | "middle" | "stretch";
349
+ };
350
+ };
351
+ justify: {
352
+ type: PropType<"start" | "end" | "center" | "space-around" | "space-between" | "space-evenly" | {
353
+ xxl?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
354
+ xl?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
355
+ lg?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
356
+ md?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
357
+ sm?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
358
+ xs?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
359
+ }>;
360
+ default: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly" | {
361
+ xxl?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
362
+ xl?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
363
+ lg?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
364
+ md?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
365
+ sm?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
366
+ xs?: "start" | "end" | "center" | "space-around" | "space-between" | "space-evenly";
367
+ };
368
+ };
369
+ prefixCls: StringConstructor;
370
+ gutter: {
371
+ 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]>;
372
+ 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];
373
+ };
374
+ wrap: {
375
+ type: BooleanConstructor;
376
+ default: any;
377
+ };
378
+ }>>))[];
379
+ };
380
+ rangePickerField: {
381
+ type: ArrayConstructor;
382
+ default: () => any[];
383
+ };
384
+ onFieldValueChange: {
385
+ type: ((new (...args: any[]) => (...args: any[]) => void) | (() => (...args: any[]) => void) | {
386
+ (): (...args: any[]) => void;
387
+ new (): any;
388
+ readonly prototype: any;
389
+ }) | ((new (...args: any[]) => (...args: any[]) => void) | (() => (...args: any[]) => void) | {
390
+ (): (...args: any[]) => void;
391
+ new (): any;
392
+ readonly prototype: any;
393
+ })[];
394
+ };
395
+ };
396
+ export declare const FormItemProps: {
397
+ schema: {
398
+ type: PropType<FormSchema>;
399
+ default: () => {};
400
+ };
401
+ formProps: {
402
+ type: PropType<FormProps>;
403
+ default: () => {};
404
+ };
405
+ allDefaultValues: {
406
+ type: PropType<Recordable<any>>;
407
+ default: () => {};
408
+ };
409
+ formModel: {
410
+ type: PropType<Recordable<any>>;
411
+ default: () => {};
412
+ };
413
+ setFormModel: {
414
+ type: PropType<(key: string, value: any) => void>;
415
+ default: any;
416
+ };
417
+ tableAction: {
418
+ type: PropType<ShyTableActionType>;
419
+ };
420
+ formActionType: {
421
+ type: PropType<FormActionType>;
422
+ };
423
+ isAdvanced: {
424
+ type: BooleanConstructor;
425
+ };
426
+ };
427
+ export declare const defaultAntConfig: {
428
+ layout: string;
429
+ };
430
+ export {};
@@ -0,0 +1,127 @@
1
+ import type { NamePath, RuleObject } from 'ant-design-vue/lib/form/interface';
2
+ import type { JSXComponent, VNode } from 'vue';
3
+ import type { ButtonProps as AntdButtonProps } from '../../../Button';
4
+ import type { FormItem } from './formItem';
5
+ import type { ColEx, ComponentType } from './index';
6
+ import type { TableActionType as ShyTableActionType } from '../../../ShyTable';
7
+ import type { CSSProperties } from 'vue';
8
+ import type { RowProps } from 'ant-design-vue/lib/grid/Row';
9
+ import { TooltipProps } from 'ant-design-vue';
10
+ export type FieldMapToTime = [
11
+ string,
12
+ [
13
+ string,
14
+ string
15
+ ],
16
+ (string | [string, string])?
17
+ ][];
18
+ export type Rule = RuleObject & {
19
+ trigger?: 'blur' | 'change' | ['change', 'blur'];
20
+ };
21
+ export interface RenderCallbackParams {
22
+ schema: FormSchema;
23
+ values: Recordable;
24
+ model: Recordable;
25
+ field: string;
26
+ }
27
+ interface ButtonProps extends AntdButtonProps {
28
+ text?: string;
29
+ }
30
+ export type ComponentProps = ((opt: {
31
+ schema: FormSchema;
32
+ tableAction: ShyTableActionType | ShyTableActionType | undefined;
33
+ formActionType: FormActionType;
34
+ formModel: Recordable;
35
+ }) => Recordable) | Recordable;
36
+ export interface FormActionType {
37
+ submit: () => Promise<void>;
38
+ setFieldsValue: (values: Recordable) => Promise<void>;
39
+ resetFields: () => Promise<void>;
40
+ getFieldsValue: () => Recordable;
41
+ clearValidate: (name?: string | string[]) => Promise<void>;
42
+ updateSchema: (data: Partial<FormSchema> | Partial<FormSchema>[]) => Promise<void>;
43
+ resetSchema: (data: Partial<FormSchema> | Partial<FormSchema>[]) => Promise<void>;
44
+ setProps: (formProps: Partial<FormProps>) => Promise<void>;
45
+ removeSchemaByField: (field: string | string[]) => Promise<void>;
46
+ appendSchemaByField: (schema: FormSchema, prefixField: string | undefined, first?: boolean | undefined) => Promise<void>;
47
+ validateFields: (nameList?: NamePath[]) => Promise<any>;
48
+ validate: (nameList?: NamePath[]) => Promise<any>;
49
+ scrollToField: (name: NamePath, options?: ScrollOptions) => Promise<void>;
50
+ }
51
+ export type RegisterFormFn = (formInstance: FormActionType) => void;
52
+ export type UseFormReturnType = [RegisterFormFn, FormActionType];
53
+ export interface FormProps {
54
+ formLabelInInput?: boolean;
55
+ name?: string;
56
+ layout?: 'vertical' | 'inline' | 'horizontal';
57
+ model?: Recordable;
58
+ labelWidth?: number | string;
59
+ labelAlign?: 'left' | 'right';
60
+ rowProps?: RowProps;
61
+ submitOnReset?: boolean;
62
+ submitOnChange?: boolean;
63
+ labelCol?: Partial<ColEx>;
64
+ wrapperCol?: Partial<ColEx>;
65
+ baseRowStyle?: CSSProperties;
66
+ baseColProps?: Partial<ColEx>;
67
+ schemas?: FormSchema[];
68
+ mergeDynamicData?: Recordable;
69
+ compact?: boolean;
70
+ emptySpan?: number | Partial<ColEx>;
71
+ size?: 'middle' | 'small' | 'large' | undefined;
72
+ disabled?: boolean;
73
+ fieldMapToTime?: FieldMapToTime;
74
+ autoSetPlaceHolder?: boolean;
75
+ autoSubmitOnEnter?: boolean;
76
+ rulesMessageJoinLabel?: boolean;
77
+ showAdvancedButton?: boolean;
78
+ autoFocusFirstItem?: boolean;
79
+ autoAdvancedLine?: number;
80
+ alwaysShowLines?: number;
81
+ showActionButtonGroup?: boolean;
82
+ resetButtonOptions?: Partial<ButtonProps>;
83
+ submitButtonOptions?: Partial<ButtonProps>;
84
+ actionColOptions?: Partial<ColEx>;
85
+ showResetButton?: boolean;
86
+ showSubmitButton?: boolean;
87
+ resetFunc?: () => Promise<void>;
88
+ submitFunc?: () => Promise<void>;
89
+ transformDateFunc?: (date: any) => string;
90
+ colon?: boolean;
91
+ rangePickerField: any[];
92
+ onFieldValueChange?: (key: string, value: any) => void;
93
+ }
94
+ export interface FormSchema {
95
+ field: string;
96
+ changeEvent?: string;
97
+ valueField?: string;
98
+ label: string | VNode;
99
+ subLabel?: string;
100
+ helpMessage?: string | string[] | ((renderCallbackParams: RenderCallbackParams) => string | string[] | JSXComponent | JSX.Element);
101
+ helpComponentProps?: Partial<HelpComponentProps>;
102
+ labelWidth?: string | number;
103
+ disabledLabelWidth?: boolean;
104
+ component: ComponentType;
105
+ componentProps?: ComponentProps;
106
+ required?: boolean | ((renderCallbackParams: RenderCallbackParams) => boolean);
107
+ suffix?: string | number | ((values: RenderCallbackParams) => string | number);
108
+ rules?: Rule[];
109
+ rulesMessageJoinLabel?: boolean;
110
+ itemProps?: Partial<FormItem>;
111
+ colProps?: Partial<ColEx>;
112
+ defaultValue?: any;
113
+ isHandleDateDefaultValue?: boolean;
114
+ isAdvanced?: boolean;
115
+ span?: number;
116
+ ifShow?: boolean | ((renderCallbackParams: RenderCallbackParams) => boolean);
117
+ show?: boolean | ((renderCallbackParams: RenderCallbackParams) => boolean);
118
+ render?: (renderCallbackParams: RenderCallbackParams) => VNode | VNode[] | string;
119
+ renderColContent?: (renderCallbackParams: RenderCallbackParams) => VNode | VNode[] | string;
120
+ renderComponentContent?: ((renderCallbackParams: RenderCallbackParams) => any) | VNode | VNode[] | string;
121
+ slot?: string;
122
+ colSlot?: string;
123
+ dynamicDisabled?: boolean | ((renderCallbackParams: RenderCallbackParams, globDisabled?: boolean) => boolean);
124
+ dynamicRules?: (renderCallbackParams: RenderCallbackParams) => Rule[];
125
+ }
126
+ export type HelpComponentProps = TooltipProps;
127
+ export {};
@@ -0,0 +1,82 @@
1
+ import type { NamePath } from 'ant-design-vue/lib/form/interface';
2
+ import type { ColProps } from 'ant-design-vue/lib/grid/Col';
3
+ import type { HTMLAttributes, VNodeChild } from 'vue';
4
+ export interface FormItem {
5
+ /**
6
+ * Used with label, whether to display : after label text.
7
+ * @default true
8
+ * @type boolean
9
+ */
10
+ colon?: boolean;
11
+ /**
12
+ * The extra prompt message. It is similar to help. Usage example: to display error message and prompt message at the same time.
13
+ * @type any (string | slot)
14
+ */
15
+ extra?: string | VNodeChild | JSX.Element;
16
+ /**
17
+ * Used with validateStatus, this option specifies the validation status icon. Recommended to be used only with Input.
18
+ * @default false
19
+ * @type boolean
20
+ */
21
+ hasFeedback?: boolean;
22
+ /**
23
+ * The prompt message. If not provided, the prompt message will be generated by the validation rule.
24
+ * @type any (string | slot)
25
+ */
26
+ help?: string | VNodeChild | JSX.Element;
27
+ /**
28
+ * Label test
29
+ * @type any (string | slot)
30
+ */
31
+ label?: string | VNodeChild | JSX.Element;
32
+ /**
33
+ * The layout of label. You can set span offset to something like {span: 3, offset: 12} or sm: {span: 3, offset: 12} same as with <Col>
34
+ * @type Col
35
+ */
36
+ labelCol?: ColProps & HTMLAttributes;
37
+ /**
38
+ * Whether provided or not, it will be generated by the validation rule.
39
+ * @default false
40
+ * @type boolean
41
+ */
42
+ required?: boolean;
43
+ /**
44
+ * The validation status. If not provided, it will be generated by validation rule. options: 'success' 'warning' 'error' 'validating'
45
+ * @type string
46
+ */
47
+ validateStatus?: '' | 'success' | 'warning' | 'error' | 'validating';
48
+ /**
49
+ * The layout for input controls, same as labelCol
50
+ * @type Col
51
+ */
52
+ wrapperCol?: ColProps;
53
+ /**
54
+ * Set sub label htmlFor.
55
+ */
56
+ htmlFor?: string;
57
+ /**
58
+ * text align of label
59
+ */
60
+ labelAlign?: 'left' | 'right';
61
+ /**
62
+ * a key of model. In the setting of validate and resetFields method, the attribute is required
63
+ */
64
+ name?: NamePath;
65
+ /**
66
+ * validation rules of form
67
+ */
68
+ rules?: object | object[];
69
+ /**
70
+ * Whether to automatically associate form fields. In most cases, you can setting automatic association.
71
+ * If the conditions for automatic association are not met, you can manually associate them. See the notes below.
72
+ */
73
+ autoLink?: boolean;
74
+ /**
75
+ * Whether stop validate on first rule of error for this field.
76
+ */
77
+ validateFirst?: boolean;
78
+ /**
79
+ * When to validate the value of children node
80
+ */
81
+ validateTrigger?: string | string[] | false;
82
+ }
@@ -0,0 +1,6 @@
1
+ export interface AdvanceState {
2
+ isAdvanced: boolean;
3
+ hideAdvanceBtn: boolean;
4
+ isLoad: boolean;
5
+ actionSpan: number;
6
+ }