@pisell/materials 1.0.950 → 1.0.952

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 (309) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/preview.js +160 -144
  7. package/build/lowcode/render/default/view.js +38 -24
  8. package/build/lowcode/view.js +43 -29
  9. package/es/components/appVersionControl/index.d.ts +4 -0
  10. package/es/components/auto-resize-text/auto-text-size-standalone.d.ts +20 -0
  11. package/es/components/auto-resize-text/index.d.ts +6 -0
  12. package/es/components/batch-editor/index.d.ts +0 -1
  13. package/es/components/cardPro/index.d.ts +3 -0
  14. package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +56 -0
  15. package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -1
  16. package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +0 -1
  17. package/es/components/dataSourceComponents/dataSourceTable/BaseTable.d.ts +8 -0
  18. package/es/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +27 -0
  19. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
  20. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +39 -0
  21. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +101 -0
  22. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +33 -0
  23. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +85 -0
  24. package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +0 -1
  25. package/es/components/dataSourceComponents/fields/Input.Mobile/WithMode.d.ts +16 -0
  26. package/es/components/dataSourceComponents/fields/Input.Phone/WithMode.d.ts +16 -0
  27. package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +25 -0
  28. package/es/components/dataSourceComponents/fields/Select/index.d.ts +0 -1
  29. package/es/components/dataSourceComponents/fields/Upload/BaseUpload.d.ts +5 -0
  30. package/es/components/dataSourceComponents/fields/Upload/CameraPopover.d.ts +5 -0
  31. package/es/components/dataSourceComponents/fields/Upload/type.d.ts +38 -0
  32. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  33. package/es/components/dataSourceComponents/fields/index.d.ts +2 -2
  34. package/es/components/date-picker/index.d.ts +0 -1
  35. package/es/components/drag-sort-tree/TreeItem/index.d.ts +18 -0
  36. package/es/components/drag-sort-tree/index.d.ts +3 -0
  37. package/es/components/filter/types.d.ts +46 -0
  38. package/es/components/hardwareErrorTip/demo.d.ts +3 -0
  39. package/es/components/hardwareErrorTip/errorCard/index.d.ts +28 -0
  40. package/es/components/hardwareErrorTip/errorTipStatistics/index.d.ts +12 -0
  41. package/es/components/hardwareErrorTip/index.d.ts +19 -0
  42. package/es/components/hardwareErrorTip/logCard/index.d.ts +27 -0
  43. package/es/components/hardwareErrorTip/types.d.ts +28 -0
  44. package/es/components/iconfont/index.js +1 -1
  45. package/es/components/keyboard/index.d.ts +22 -0
  46. package/es/components/login-and-register/index.d.ts +82 -0
  47. package/es/components/page/index.d.ts +0 -1
  48. package/es/components/pisell-config-provider/context.d.ts +22 -0
  49. package/es/components/pisell-config-provider/index.d.ts +13 -0
  50. package/es/components/pisellAdjustPrice/index.d.ts +4 -0
  51. package/es/components/pisellAdjustPrice/status.d.ts +32 -0
  52. package/es/components/pisellAdjustPrice/type.d.ts +22 -0
  53. package/es/components/pisellCamera/index.d.ts +4 -0
  54. package/es/components/pisellCardList/index.d.ts +107 -0
  55. package/es/components/pisellCheckboxGroup/index.d.ts +40 -0
  56. package/es/components/pisellEmpty/index.d.ts +19 -0
  57. package/es/components/pisellGoodPassCard/index.d.ts +50 -0
  58. package/es/components/pisellInformationEntry/Scan/index.d.ts +0 -1
  59. package/es/components/pisellInput/index.d.ts +1 -0
  60. package/es/components/pisellModal/components/IpadModal/index.d.ts +0 -1
  61. package/es/components/pisellModal/components/MobileModal/index.d.ts +0 -1
  62. package/es/components/pisellModal/components/index.d.ts +0 -1
  63. package/es/components/pisellText/components/Amount/index.d.ts +20 -0
  64. package/es/components/pisellToast/index.d.ts +17 -0
  65. package/es/components/pisellToast/squareToast/index.d.ts +15 -0
  66. package/es/components/pisellToast/squareToast/methods.d.ts +13 -0
  67. package/es/components/pisellToast/squareToast/renderImperatively.d.ts +29 -0
  68. package/es/components/pisellToast/squareToast/toast.d.ts +25 -0
  69. package/es/components/pisellWalletPassCard/index.d.ts +140 -0
  70. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +3 -0
  71. package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +3 -0
  72. package/es/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +14 -0
  73. package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +3 -0
  74. package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +27 -0
  75. package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +2 -0
  76. package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +4 -0
  77. package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +10 -0
  78. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +20 -0
  79. package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +4 -0
  80. package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +12 -0
  81. package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +3 -0
  82. package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +46 -0
  83. package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +6 -0
  84. package/es/components/productCard/cartSkuCard/index.d.ts +10 -0
  85. package/es/components/productCard/cartSkuCard/locales.d.ts +96 -0
  86. package/es/components/productCard/components/Action/index.d.ts +3 -0
  87. package/es/components/productCard/components/Header/Actions/index.d.ts +3 -0
  88. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +3 -0
  89. package/es/components/productCard/components/Header/index.d.ts +3 -0
  90. package/es/components/productCard/components/MultiDay/index.d.ts +0 -1
  91. package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -1
  92. package/es/components/productCard/components/Packages/components/options/index.d.ts +0 -1
  93. package/es/components/productCard/components/Packages/utils.d.ts +1 -1
  94. package/es/components/productCard/components/Sales/index.d.ts +3 -0
  95. package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +3 -0
  96. package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +13 -0
  97. package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +18 -0
  98. package/es/components/productCard/components/Time/index.d.ts +3 -0
  99. package/es/components/productCard/index.d.ts +7 -0
  100. package/es/components/productCard/locales.d.ts +84 -0
  101. package/es/components/table/Actions/component/ColumnsSetting/index.d.ts +0 -1
  102. package/es/components/table/Actions/component/ExportImport/components/ExportTable/function.js +2 -1
  103. package/es/components/table/Actions/component/Group/PopoverContent.d.ts +0 -1
  104. package/es/components/table/Actions/index.d.ts +17 -0
  105. package/es/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +0 -1
  106. package/es/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +0 -1
  107. package/es/components/table/Gallery/components/GalleryItem/index.d.ts +14 -0
  108. package/es/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  109. package/es/components/table/Gallery/index.d.ts +5 -0
  110. package/es/components/table/Table/AddFieldModal/index.d.ts +4 -0
  111. package/es/components/table/Table/fields/date/index.d.ts +0 -1
  112. package/es/components/table/Table/fields/image/Show/index.d.ts +0 -1
  113. package/es/components/table/Table/fields/image/index.d.ts +0 -1
  114. package/es/components/table/Table/fields/link/index.d.ts +0 -1
  115. package/es/components/table/Table/fields/number/Show/index.d.ts +0 -1
  116. package/es/components/table/Table/fields/number/index.d.ts +0 -1
  117. package/es/components/table/Table/fields/numberRange/Show/index.d.ts +0 -1
  118. package/es/components/table/Table/fields/numberRange/index.d.ts +0 -1
  119. package/es/components/table/Table/fields/oldRangePicker/index.d.ts +0 -1
  120. package/es/components/table/Table/fields/pSwitch/Show/index.d.ts +0 -1
  121. package/es/components/table/Table/fields/pSwitch/index.d.ts +0 -1
  122. package/es/components/table/Table/fields/rangePicker/index.d.ts +0 -1
  123. package/es/components/table/Table/fields/search/Show/index.d.ts +0 -1
  124. package/es/components/table/Table/fields/search/index.d.ts +0 -1
  125. package/es/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  126. package/es/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  127. package/es/components/table/Table/index.d.ts +4 -0
  128. package/es/components/table/Table/utils.d.ts +167 -0
  129. package/es/components/table/hooks/useTableSetting.d.ts +21 -0
  130. package/es/components/table/hooks/useTransDataSource.d.ts +12 -0
  131. package/es/components/table/index.d.ts +4 -0
  132. package/es/components/table/types.d.ts +270 -0
  133. package/es/components/translation/index.d.ts +15 -0
  134. package/es/components/versionModal/index.d.ts +24 -0
  135. package/es/components/virtual-keyboard/Amount/index.d.ts +5 -0
  136. package/es/components/virtual-keyboard/Amount/themeConfig.d.ts +32 -0
  137. package/es/components/virtual-keyboard/Amount/types.d.ts +44 -0
  138. package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +15 -0
  139. package/es/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +25 -0
  140. package/es/components/virtual-keyboard/Keyboard/index.d.ts +21 -0
  141. package/es/components/virtual-keyboard/Number/index.d.ts +5 -0
  142. package/es/components/virtual-keyboard/Number/themeConfig.d.ts +32 -0
  143. package/es/components/virtual-keyboard/Number/types.d.ts +26 -0
  144. package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +13 -0
  145. package/es/components/virtual-keyboard/index.d.ts +25 -0
  146. package/es/components/virtualInput/BaseVirtualInput/index.d.ts +40 -0
  147. package/es/components/virtualInput/index.d.ts +24 -0
  148. package/es/components/walletCard/index.d.ts +71 -0
  149. package/es/index.d.ts +146 -0
  150. package/es/locales/en-US.d.ts +342 -0
  151. package/es/locales/en-US.js +10 -2
  152. package/es/locales/zh-CN.d.ts +337 -0
  153. package/es/locales/zh-CN.js +10 -2
  154. package/es/locales/zh-TW.d.ts +337 -0
  155. package/es/locales/zh-TW.js +10 -2
  156. package/es/utils/index.d.ts +1 -1
  157. package/es/utils/platform.d.ts +1 -1
  158. package/lib/components/appVersionControl/index.d.ts +4 -0
  159. package/lib/components/auto-resize-text/auto-text-size-standalone.d.ts +20 -0
  160. package/lib/components/auto-resize-text/index.d.ts +6 -0
  161. package/lib/components/batch-editor/index.d.ts +0 -1
  162. package/lib/components/cardPro/index.d.ts +3 -0
  163. package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +56 -0
  164. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -1
  165. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +0 -1
  166. package/lib/components/dataSourceComponents/dataSourceTable/BaseTable.d.ts +8 -0
  167. package/lib/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +27 -0
  168. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
  169. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +39 -0
  170. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +101 -0
  171. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +33 -0
  172. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +85 -0
  173. package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +0 -1
  174. package/lib/components/dataSourceComponents/fields/Input.Mobile/WithMode.d.ts +16 -0
  175. package/lib/components/dataSourceComponents/fields/Input.Phone/WithMode.d.ts +16 -0
  176. package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +25 -0
  177. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +0 -1
  178. package/lib/components/dataSourceComponents/fields/Upload/BaseUpload.d.ts +5 -0
  179. package/lib/components/dataSourceComponents/fields/Upload/CameraPopover.d.ts +5 -0
  180. package/lib/components/dataSourceComponents/fields/Upload/type.d.ts +38 -0
  181. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  182. package/lib/components/dataSourceComponents/fields/index.d.ts +2 -2
  183. package/lib/components/date-picker/index.d.ts +0 -1
  184. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +18 -0
  185. package/lib/components/drag-sort-tree/index.d.ts +3 -0
  186. package/lib/components/filter/types.d.ts +46 -0
  187. package/lib/components/hardwareErrorTip/demo.d.ts +3 -0
  188. package/lib/components/hardwareErrorTip/errorCard/index.d.ts +28 -0
  189. package/lib/components/hardwareErrorTip/errorTipStatistics/index.d.ts +12 -0
  190. package/lib/components/hardwareErrorTip/index.d.ts +19 -0
  191. package/lib/components/hardwareErrorTip/logCard/index.d.ts +27 -0
  192. package/lib/components/hardwareErrorTip/types.d.ts +28 -0
  193. package/lib/components/iconfont/index.js +1 -1
  194. package/lib/components/keyboard/index.d.ts +22 -0
  195. package/lib/components/login-and-register/index.d.ts +82 -0
  196. package/lib/components/page/index.d.ts +0 -1
  197. package/lib/components/pisell-config-provider/context.d.ts +22 -0
  198. package/lib/components/pisell-config-provider/index.d.ts +13 -0
  199. package/lib/components/pisellAdjustPrice/index.d.ts +4 -0
  200. package/lib/components/pisellAdjustPrice/status.d.ts +32 -0
  201. package/lib/components/pisellAdjustPrice/type.d.ts +22 -0
  202. package/lib/components/pisellCamera/index.d.ts +4 -0
  203. package/lib/components/pisellCardList/index.d.ts +107 -0
  204. package/lib/components/pisellCheckboxGroup/index.d.ts +40 -0
  205. package/lib/components/pisellEmpty/index.d.ts +19 -0
  206. package/lib/components/pisellGoodPassCard/index.d.ts +50 -0
  207. package/lib/components/pisellInformationEntry/Scan/index.d.ts +0 -1
  208. package/lib/components/pisellInput/index.d.ts +1 -0
  209. package/lib/components/pisellModal/components/IpadModal/index.d.ts +0 -1
  210. package/lib/components/pisellModal/components/MobileModal/index.d.ts +0 -1
  211. package/lib/components/pisellModal/components/index.d.ts +0 -1
  212. package/lib/components/pisellText/components/Amount/index.d.ts +20 -0
  213. package/lib/components/pisellToast/index.d.ts +17 -0
  214. package/lib/components/pisellToast/squareToast/index.d.ts +15 -0
  215. package/lib/components/pisellToast/squareToast/methods.d.ts +13 -0
  216. package/lib/components/pisellToast/squareToast/renderImperatively.d.ts +29 -0
  217. package/lib/components/pisellToast/squareToast/toast.d.ts +25 -0
  218. package/lib/components/pisellWalletPassCard/index.d.ts +140 -0
  219. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +3 -0
  220. package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +3 -0
  221. package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +14 -0
  222. package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +3 -0
  223. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +27 -0
  224. package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +2 -0
  225. package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +4 -0
  226. package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +10 -0
  227. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +20 -0
  228. package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +4 -0
  229. package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +12 -0
  230. package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +3 -0
  231. package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +46 -0
  232. package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +6 -0
  233. package/lib/components/productCard/cartSkuCard/index.d.ts +10 -0
  234. package/lib/components/productCard/cartSkuCard/locales.d.ts +96 -0
  235. package/lib/components/productCard/components/Action/index.d.ts +3 -0
  236. package/lib/components/productCard/components/Header/Actions/index.d.ts +3 -0
  237. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +3 -0
  238. package/lib/components/productCard/components/Header/index.d.ts +3 -0
  239. package/lib/components/productCard/components/MultiDay/index.d.ts +0 -1
  240. package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -1
  241. package/lib/components/productCard/components/Packages/components/options/index.d.ts +0 -1
  242. package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
  243. package/lib/components/productCard/components/Sales/index.d.ts +3 -0
  244. package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +3 -0
  245. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +13 -0
  246. package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +18 -0
  247. package/lib/components/productCard/components/Time/index.d.ts +3 -0
  248. package/lib/components/productCard/index.d.ts +7 -0
  249. package/lib/components/productCard/locales.d.ts +84 -0
  250. package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +0 -1
  251. package/lib/components/table/Actions/component/ExportImport/components/ExportTable/function.js +1 -1
  252. package/lib/components/table/Actions/component/Group/PopoverContent.d.ts +0 -1
  253. package/lib/components/table/Actions/index.d.ts +17 -0
  254. package/lib/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +0 -1
  255. package/lib/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +0 -1
  256. package/lib/components/table/Gallery/components/GalleryItem/index.d.ts +14 -0
  257. package/lib/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  258. package/lib/components/table/Gallery/index.d.ts +5 -0
  259. package/lib/components/table/Table/AddFieldModal/index.d.ts +4 -0
  260. package/lib/components/table/Table/fields/date/index.d.ts +0 -1
  261. package/lib/components/table/Table/fields/image/Show/index.d.ts +0 -1
  262. package/lib/components/table/Table/fields/image/index.d.ts +0 -1
  263. package/lib/components/table/Table/fields/link/index.d.ts +0 -1
  264. package/lib/components/table/Table/fields/number/Show/index.d.ts +0 -1
  265. package/lib/components/table/Table/fields/number/index.d.ts +0 -1
  266. package/lib/components/table/Table/fields/numberRange/Show/index.d.ts +0 -1
  267. package/lib/components/table/Table/fields/numberRange/index.d.ts +0 -1
  268. package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +0 -1
  269. package/lib/components/table/Table/fields/pSwitch/Show/index.d.ts +0 -1
  270. package/lib/components/table/Table/fields/pSwitch/index.d.ts +0 -1
  271. package/lib/components/table/Table/fields/rangePicker/index.d.ts +0 -1
  272. package/lib/components/table/Table/fields/search/Show/index.d.ts +0 -1
  273. package/lib/components/table/Table/fields/search/index.d.ts +0 -1
  274. package/lib/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  275. package/lib/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  276. package/lib/components/table/Table/index.d.ts +4 -0
  277. package/lib/components/table/Table/utils.d.ts +167 -0
  278. package/lib/components/table/hooks/useTableSetting.d.ts +21 -0
  279. package/lib/components/table/hooks/useTransDataSource.d.ts +12 -0
  280. package/lib/components/table/index.d.ts +4 -0
  281. package/lib/components/table/types.d.ts +270 -0
  282. package/lib/components/translation/index.d.ts +15 -0
  283. package/lib/components/versionModal/index.d.ts +24 -0
  284. package/lib/components/virtual-keyboard/Amount/index.d.ts +5 -0
  285. package/lib/components/virtual-keyboard/Amount/themeConfig.d.ts +32 -0
  286. package/lib/components/virtual-keyboard/Amount/types.d.ts +44 -0
  287. package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +15 -0
  288. package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +25 -0
  289. package/lib/components/virtual-keyboard/Keyboard/index.d.ts +21 -0
  290. package/lib/components/virtual-keyboard/Number/index.d.ts +5 -0
  291. package/lib/components/virtual-keyboard/Number/themeConfig.d.ts +32 -0
  292. package/lib/components/virtual-keyboard/Number/types.d.ts +26 -0
  293. package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +13 -0
  294. package/lib/components/virtual-keyboard/index.d.ts +25 -0
  295. package/lib/components/virtualInput/BaseVirtualInput/index.d.ts +40 -0
  296. package/lib/components/virtualInput/index.d.ts +24 -0
  297. package/lib/components/walletCard/index.d.ts +71 -0
  298. package/lib/index.d.ts +146 -0
  299. package/lib/locales/en-US.d.ts +342 -0
  300. package/lib/locales/en-US.js +12 -1
  301. package/lib/locales/zh-CN.d.ts +337 -0
  302. package/lib/locales/zh-CN.js +12 -1
  303. package/lib/locales/zh-TW.d.ts +337 -0
  304. package/lib/locales/zh-TW.js +12 -1
  305. package/lib/utils/index.d.ts +1 -1
  306. package/lib/utils/platform.d.ts +1 -1
  307. package/package.json +3 -3
  308. package/es/components/iconfont/index.d.ts +0 -8
  309. package/lib/components/iconfont/index.d.ts +0 -8
@@ -0,0 +1,4 @@
1
+ import { AppVersionControlProps } from './types';
2
+ import './index.less';
3
+ declare const AppVersionControl: (props: AppVersionControlProps) => JSX.Element;
4
+ export default AppVersionControl;
@@ -0,0 +1,20 @@
1
+ export declare type Options = {
2
+ mode?: 'oneline' | 'multiline' | 'box' | 'boxoneline' | undefined;
3
+ minFontSizePx?: number | undefined;
4
+ maxFontSizePx?: number | undefined;
5
+ fontSizePrecisionPx?: number | undefined;
6
+ scrollToEnd?: boolean | undefined;
7
+ };
8
+ export declare function updateTextSize({ innerEl, containerEl, mode, minFontSizePx, maxFontSizePx, fontSizePrecisionPx, scrollToEnd, }: Options & {
9
+ innerEl: HTMLElement;
10
+ containerEl: HTMLElement;
11
+ }): void;
12
+ declare type DisconnectableFunction = {
13
+ (): void;
14
+ disconnect: () => void;
15
+ };
16
+ export declare function autoTextSize({ innerEl, containerEl, mode, minFontSizePx, maxFontSizePx, fontSizePrecisionPx, scrollToEnd, }: Options & {
17
+ innerEl: HTMLElement;
18
+ containerEl: HTMLElement;
19
+ }): DisconnectableFunction;
20
+ export {};
@@ -0,0 +1,6 @@
1
+ import React, { DetailedHTMLProps, HTMLAttributes, ReactElement, ReactHTML } from 'react';
2
+ import { Options } from './auto-text-size-standalone';
3
+ export default function AutoResizeText({ mode, minFontSizePx, maxFontSizePx, fontSizePrecisionPx, scrollToEnd, as: Comp, children, ...rest }: Options & {
4
+ as?: keyof ReactHTML | React.ComponentType<any>;
5
+ children?: React.ReactNode;
6
+ } & DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>): ReactElement;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  interface BatchEditorProps {
4
3
  columns: any[];
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const _default: (props: any) => JSX.Element;
3
+ export default _default;
@@ -0,0 +1,56 @@
1
+ import React from 'react';
2
+ import { FormInstance } from 'antd';
3
+ import { ModeType } from './type';
4
+ import './style.less';
5
+ export interface WithModeProps {
6
+ renderMode?: ModeType;
7
+ value?: any;
8
+ onChange?: (value: any) => void;
9
+ [key: string]: any;
10
+ }
11
+ /**
12
+ * @title: 增加renderMode属性
13
+ * @description: 基于renderMode属性控制渲染模式
14
+ * @return: *
15
+ * @Author: shengjie.zuo
16
+ * @Date: 2024-11-23 17:13:18
17
+ */
18
+ export declare const withMode: <P extends object>(FieldComponent: React.ComponentType<P>, ReadPrettyComponent?: React.ComponentType<P & {
19
+ renderMode: ModeType;
20
+ }> | undefined, transformProps?: ((props: P, renderMode: ModeType) => P) | undefined) => React.FC<P & WithModeProps>;
21
+ export interface WithFormItemProps {
22
+ name: string;
23
+ label?: string;
24
+ mode?: ModeType;
25
+ [key: string]: any;
26
+ }
27
+ export declare const formItemNameReplace: (name: string) => string;
28
+ export declare const formItemNameReverse: (name: string) => string;
29
+ export declare const isValidDomain: (value: string) => boolean;
30
+ /**
31
+ * @title: 追加formItem层
32
+ * @description:
33
+ * @return: *
34
+ * @Author: shengjie.zuo
35
+ * @Date: 2024-11-23 17:14:25
36
+ */
37
+ export declare const withFormItem: <P extends object>(WrappedComponent: React.ComponentType<P>, overlayProps?: {
38
+ otherFormItemProps?: Record<string, any> | ((props: Record<string, any>, others?: Record<string, any>) => Record<string, any>) | undefined;
39
+ innerProps?: Record<string, any> | undefined;
40
+ } | undefined) => React.FC<P & WithFormItemProps>;
41
+ export declare const withDataSource: <P extends unknown>(WrappedComponent: React.ComponentType<P>) => (props: P & {
42
+ dataSource?: any;
43
+ }) => JSX.Element;
44
+ export declare const withOptions: <P extends unknown>(WrappedComponent: React.ComponentType<P>) => (props: P & {
45
+ options?: any;
46
+ optionSourceType?: "default" | "custom" | "api" | undefined;
47
+ labelField: string;
48
+ valueField: string;
49
+ extraParams?: Record<string, any> | undefined;
50
+ }) => JSX.Element;
51
+ export declare const getNestedValue: (obj: Record<string, any>, path: string) => Record<string, any>;
52
+ export declare const renderValueWithMap: (value: any, valueMap?: Record<string, string>, renderMode?: ModeType) => JSX.Element | null;
53
+ export declare function toArr(str: string | number | (string | number)[]): (string | number)[];
54
+ export declare const filterSystemFields: (params: Record<string, any>) => Record<string, any>;
55
+ export declare const transformFormObjToArrayWithUntouched: (obj: Record<string, any>) => any[];
56
+ export declare const setFormFieldsUntouched: (form: FormInstance) => void;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const DataSourceImage: (props: import("../utils").ParsedProps) => JSX.Element;
3
2
  export default DataSourceImage;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const DataSourceQRCode: (props: any) => JSX.Element;
3
2
  export default DataSourceQRCode;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { DataSourceTableProps } from './type';
3
+ export interface TableRef {
4
+ refreshCurrentPage: () => void;
5
+ refreshData: () => void;
6
+ }
7
+ declare const _default: React.ForwardRefExoticComponent<DataSourceTableProps & React.RefAttributes<TableRef>>;
8
+ export default _default;
@@ -0,0 +1,27 @@
1
+ import './index.less';
2
+ interface BaseFilterItem {
3
+ name?: string;
4
+ value: string;
5
+ label?: string;
6
+ type?: string;
7
+ isHidden: boolean;
8
+ isCustom?: boolean;
9
+ }
10
+ interface FilterProps {
11
+ componentId: string;
12
+ filterBy: Record<string, any>;
13
+ quickFilterMaxLength?: number;
14
+ sortButtonShow?: boolean;
15
+ mode?: 'simple' | 'complex';
16
+ items: BaseFilterItem[];
17
+ handleValuesChange: (changedFields: any, allFields: any) => void;
18
+ show: boolean;
19
+ search: {
20
+ show: boolean;
21
+ placeholder: string;
22
+ key: string;
23
+ };
24
+ getInitialValues?: () => Record<string, any>;
25
+ }
26
+ declare const Filter: (props: FilterProps) => JSX.Element;
27
+ export default Filter;
@@ -1,5 +1,5 @@
1
1
  declare const useDataSourceKey: () => {
2
- dataSourceKey: string | import("../../provider/dataSource/DataSourceContext").DataSourceType | undefined;
3
- dataSourceKeyRef: import("react").MutableRefObject<string | import("../../provider/dataSource/DataSourceContext").DataSourceType | undefined>;
2
+ dataSourceKey: string | undefined;
3
+ dataSourceKeyRef: import("react").MutableRefObject<string | undefined>;
4
4
  };
5
5
  export default useDataSourceKey;
@@ -0,0 +1,39 @@
1
+ import { Drawer } from 'antd';
2
+ import React from 'react';
3
+ import { OperationItem } from '../type';
4
+ declare const useDrawerState: (operationContent?: {
5
+ [key: string]: React.ReactNode;
6
+ } | undefined) => {
7
+ drawerVisible: boolean;
8
+ setDrawerVisible: React.Dispatch<React.SetStateAction<boolean>>;
9
+ openDrawer: (item: OperationItem) => void;
10
+ closeDrawer: () => void;
11
+ drawerContent: React.ReactNode;
12
+ Container: {
13
+ (props: import("../../../pisellModal").PisellModalProps): JSX.Element;
14
+ confirm: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
15
+ destroy: () => void;
16
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
17
+ };
18
+ info: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
19
+ destroy: () => void;
20
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
21
+ };
22
+ error: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
23
+ destroy: () => void;
24
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
25
+ };
26
+ warn: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => any;
27
+ warning: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
28
+ destroy: () => void;
29
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
30
+ };
31
+ success: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
32
+ destroy: () => void;
33
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
34
+ };
35
+ Information: (props: import("../../../pisellModal/components/Information").InformationProps) => JSX.Element;
36
+ } | typeof Drawer;
37
+ containerProps: {};
38
+ };
39
+ export default useDrawerState;
@@ -0,0 +1,101 @@
1
+ import React from 'react';
2
+ import { DataSourceTableProps } from '../type';
3
+ import { OperationItem } from '../type';
4
+ interface UseTablePropsProps {
5
+ data: any;
6
+ originProps: DataSourceTableProps;
7
+ openDrawer: (type: OperationItem) => void;
8
+ closeDrawer: () => void;
9
+ refreshData: () => void;
10
+ handleFilterChange: (changedFields: any, allFields: any) => void;
11
+ tableRef: any;
12
+ getInitialValues: () => Record<string, any>;
13
+ }
14
+ /**
15
+ * 处理table的props
16
+ * 转换title
17
+ * @param props
18
+ * @returns
19
+ */
20
+ declare const useTableProps: (props: UseTablePropsProps) => {
21
+ currentComponentId: any;
22
+ title: number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
23
+ pagination: {
24
+ total: number;
25
+ current: number;
26
+ pageSize: number;
27
+ size: string;
28
+ showSizeChanger: boolean;
29
+ };
30
+ columns: import("./useColumns").Column[];
31
+ subTitle: number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
32
+ buttons: any[] | null;
33
+ filter: {
34
+ dom: any;
35
+ items: any;
36
+ } | null;
37
+ onRow: (record: any) => any;
38
+ actionButtons: any[] | null;
39
+ __id?: string | undefined;
40
+ currentSettingKey?: string | undefined;
41
+ titleButtons?: {
42
+ show: boolean;
43
+ maxCount: number;
44
+ items: OperationItem[];
45
+ } | undefined;
46
+ tableButtons?: {
47
+ show: boolean;
48
+ maxCount: number;
49
+ items: OperationItem[];
50
+ } | undefined;
51
+ operation?: {
52
+ show: boolean;
53
+ title: string;
54
+ width: number;
55
+ align: "center" | "left" | "right";
56
+ fixed: false | "left" | "right";
57
+ type: "link" | "button";
58
+ items: OperationItem[];
59
+ } | undefined;
60
+ operationContent?: {
61
+ [key: string]: React.ReactNode;
62
+ } | undefined;
63
+ dataSource: import("../../provider/dataSource/DataSourceContext").DataSourceType;
64
+ search?: {
65
+ show: boolean;
66
+ placeholder: string;
67
+ } | undefined;
68
+ __designMode: string;
69
+ componentId: string;
70
+ clickToDetail?: {
71
+ show: boolean;
72
+ useCustomAction: boolean;
73
+ actionType: string;
74
+ openMode: "modal" | "drawer";
75
+ openContentSize: "small" | "middle" | "large";
76
+ openTitle: string;
77
+ key: string;
78
+ } | undefined;
79
+ filterBy?: Record<string, any> | undefined;
80
+ sortBy: string;
81
+ tabs?: {
82
+ show: boolean;
83
+ type: string;
84
+ items: {
85
+ name: string;
86
+ filterBy: Record<string, any>;
87
+ sortBy: string;
88
+ }[];
89
+ } | undefined;
90
+ onValuesChange?: ((changedValues: any, values: any) => void) | undefined;
91
+ onDeleteFinish?: ((record: Record<string, any>) => void) | undefined;
92
+ extraParams?: {
93
+ list?: Record<string, any> | undefined;
94
+ get?: Record<string, any> | undefined;
95
+ update?: Record<string, any> | undefined;
96
+ create?: Record<string, any> | undefined;
97
+ destroy?: Record<string, any> | undefined;
98
+ } | undefined;
99
+ localSettings?: import("../../../table/types").LocalSettingsType | undefined;
100
+ };
101
+ export default useTableProps;
@@ -0,0 +1,33 @@
1
+ import { DataSourceTableProps } from '../type';
2
+ declare type Params = {
3
+ pagination?: {
4
+ page: number;
5
+ size: number;
6
+ };
7
+ order_by?: string;
8
+ tabs?: {
9
+ name: string;
10
+ filterBy: Record<string, any>;
11
+ sortBy: string;
12
+ };
13
+ };
14
+ declare const useTableQuery: (props: DataSourceTableProps, currentSettingHash: string) => {
15
+ queryPageConfig: {
16
+ page: number;
17
+ pageSize: number;
18
+ filter: Record<string, any>;
19
+ sort: string;
20
+ };
21
+ setQueryPageConfig: import("react").Dispatch<import("react").SetStateAction<{
22
+ page: number;
23
+ pageSize: number;
24
+ filter: Record<string, any>;
25
+ sort: string;
26
+ }>>;
27
+ handleValuesChange: (params: Params, allParams: Params) => void;
28
+ refreshData: () => void;
29
+ handleFilterChange: (changedFields: any, allFields: any) => void;
30
+ refreshCurrentPage: () => void;
31
+ getInitialValues: () => Record<string, any>;
32
+ };
33
+ export default useTableQuery;
@@ -0,0 +1,85 @@
1
+ /// <reference types="react" />
2
+ import { ColumnType } from 'antd/es/table';
3
+ import { LocalSettingsType } from '../../table/types';
4
+ import { DataSourceType } from '../provider/dataSource/DataSourceContext';
5
+ export declare type OperationItem = {
6
+ label?: string;
7
+ openMode: 'modal' | 'drawer' | 'custom';
8
+ openContentSize: 'small' | 'middle' | 'large';
9
+ openTitle: string;
10
+ actionType: 'detail' | 'edit' | 'delete' | 'custom';
11
+ key: string;
12
+ buttonProps?: any;
13
+ onClick?: (record: any) => void;
14
+ afterClose?: () => void;
15
+ };
16
+ export interface DataSourceTableProps {
17
+ __id?: string;
18
+ currentComponentId?: string;
19
+ currentSettingKey?: string;
20
+ title?: string | React.ReactNode | (() => React.ReactNode);
21
+ subTitle?: string | React.ReactNode | (() => React.ReactNode);
22
+ titleButtons?: {
23
+ show: boolean;
24
+ maxCount: number;
25
+ items: OperationItem[];
26
+ };
27
+ tableButtons?: {
28
+ show: boolean;
29
+ maxCount: number;
30
+ items: OperationItem[];
31
+ };
32
+ buttons?: any[];
33
+ operation?: {
34
+ show: boolean;
35
+ title: string;
36
+ width: number;
37
+ align: 'left' | 'center' | 'right';
38
+ fixed: 'left' | 'right' | false;
39
+ type: 'link' | 'button';
40
+ items: OperationItem[];
41
+ };
42
+ operationContent?: {
43
+ [key: string]: React.ReactNode;
44
+ };
45
+ dataSource: DataSourceType;
46
+ columns: ColumnType<any>[];
47
+ filter: any;
48
+ search?: {
49
+ show: boolean;
50
+ placeholder: string;
51
+ };
52
+ __designMode: string;
53
+ componentId: string;
54
+ clickToDetail?: {
55
+ show: boolean;
56
+ useCustomAction: boolean;
57
+ actionType: string;
58
+ openMode: 'modal' | 'drawer';
59
+ openContentSize: 'small' | 'middle' | 'large';
60
+ openTitle: string;
61
+ key: string;
62
+ };
63
+ onRow?: any;
64
+ filterBy?: Record<string, any>;
65
+ sortBy: string;
66
+ tabs?: {
67
+ show: boolean;
68
+ type: string;
69
+ items: {
70
+ name: string;
71
+ filterBy: Record<string, any>;
72
+ sortBy: string;
73
+ }[];
74
+ };
75
+ onValuesChange?: (changedValues: any, values: any) => void;
76
+ onDeleteFinish?: (record: Record<string, any>) => void;
77
+ extraParams?: {
78
+ list?: Record<string, any>;
79
+ get?: Record<string, any>;
80
+ update?: Record<string, any>;
81
+ create?: Record<string, any>;
82
+ destroy?: Record<string, any>;
83
+ };
84
+ localSettings?: LocalSettingsType;
85
+ }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DataSourceContextProps } from '../provider/dataSource/DataSourceContext';
3
2
  declare const DataSourceWrapper: (props: DataSourceContextProps) => JSX.Element;
4
3
  export default DataSourceWrapper;
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import { InputProps } from 'antd';
3
+ import { ModeType } from "../../dataSourceForm/type";
4
+ declare type PhoneValue = string | {
5
+ phone: string;
6
+ countryCallingCode: string;
7
+ };
8
+ export interface PhoneInputProps extends Omit<InputProps, 'value' | 'onChange'> {
9
+ renderMode: ModeType;
10
+ value?: PhoneValue;
11
+ onChange?: (value: PhoneValue) => void;
12
+ returnFormat?: 'string' | 'object';
13
+ inputRef?: any;
14
+ }
15
+ declare const MobileNumberInputWithMode: React.FC<PhoneInputProps & import("../../dataSourceForm/utils").WithModeProps>;
16
+ export default MobileNumberInputWithMode;
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import { InputProps } from 'antd';
3
+ import { ModeType } from "../../dataSourceForm/type";
4
+ declare type PhoneValue = string | {
5
+ phone: string;
6
+ countryCallingCode: string;
7
+ };
8
+ export interface PhoneInputProps extends Omit<InputProps, 'value' | 'onChange'> {
9
+ renderMode: ModeType;
10
+ value?: PhoneValue;
11
+ onChange?: (value: PhoneValue) => void;
12
+ returnFormat?: 'string' | 'object';
13
+ inputRef?: any;
14
+ }
15
+ declare const PhoneNumberInputWithMode: React.FC<PhoneInputProps & import("../../dataSourceForm/utils").WithModeProps>;
16
+ export default PhoneNumberInputWithMode;
@@ -0,0 +1,25 @@
1
+ /**
2
+ * 获取nocobase数据列表
3
+ */
4
+ export declare const getCountryDataList: () => Promise<any>;
5
+ export declare const getShopCountryDataList: (locale?: any) => Promise<any>;
6
+ export interface Country {
7
+ id: number;
8
+ name: {
9
+ en: string;
10
+ "zh-CN": string;
11
+ "zh-HK": string;
12
+ original: string;
13
+ };
14
+ code: string;
15
+ calling_code: string;
16
+ currency_code: string;
17
+ sort: number;
18
+ status: string;
19
+ created_at: string;
20
+ updated_at: string;
21
+ prefix: string;
22
+ }
23
+ export declare const useCountries: () => {
24
+ data: Country[];
25
+ };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const SelectWithDataSource: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps & {
3
2
  options?: any;
4
3
  optionSourceType?: "default" | "custom" | "api" | undefined;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { UploadProps } from './type';
3
+ import './index.less';
4
+ declare const BaseUpload: React.FC<UploadProps>;
5
+ export default BaseUpload;
@@ -0,0 +1,5 @@
1
+ declare const CameraPopover: (props: {
2
+ onLocalFileClick: () => void;
3
+ onCameraChange: (file: any) => void;
4
+ }) => JSX.Element;
5
+ export default CameraPopover;
@@ -0,0 +1,38 @@
1
+ import { UploadFile as AntdUploadFile } from 'antd/es/upload/interface';
2
+ import type { UploadValue, UploadChangeHandler } from './types';
3
+ export interface UploadFile extends AntdUploadFile {
4
+ metadata?: {
5
+ width?: number;
6
+ height?: number;
7
+ duration?: number;
8
+ bitrate?: number;
9
+ };
10
+ }
11
+ export interface UploadProps {
12
+ renderMode?: string;
13
+ fieldKey: string;
14
+ maxSize?: number;
15
+ minCount?: number;
16
+ maxCount?: number;
17
+ multiple?: boolean;
18
+ presetType?: string[];
19
+ presetTypeString?: string[];
20
+ customType?: string[];
21
+ enablePresetType?: boolean;
22
+ enableCustomType?: boolean;
23
+ allowPreview?: boolean;
24
+ value?: UploadValue;
25
+ typeMaxSizeMap?: Record<string, number>;
26
+ enableMultilingual?: boolean;
27
+ onChange?: UploadChangeHandler;
28
+ disabled?: boolean;
29
+ mediaUploadUrl?: string;
30
+ getHeaders?: () => Record<string, string>;
31
+ mediaConfig?: {
32
+ data: {
33
+ upload_onetime_limit: number;
34
+ upload_maxsize: number;
35
+ };
36
+ };
37
+ allowCamera?: boolean;
38
+ }
@@ -15,4 +15,4 @@ export declare const getFileMetadataParams: (file: RcFile & {
15
15
  metadata?: MediaMetadata;
16
16
  }) => Record<string, any>;
17
17
  export declare const isValueEqual: (value: any, fileListValue: any) => boolean;
18
- export declare const getBaseTime: (size: number) => 2000 | 1000 | 4000 | 8000;
18
+ export declare const getBaseTime: (size: number) => 1000 | 2000 | 4000 | 8000;
@@ -59,7 +59,7 @@ declare const formFieldMap: {
59
59
  FormItemTranslation: import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
60
60
  FormItemIconSelect: import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
61
61
  };
62
- declare const getFieldComponent: (fieldComponent: string) => import("react").FC<any> | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<{}> & {
62
+ declare const getFieldComponent: (fieldComponent: string) => (import("react").FC<{}> & {
63
63
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
64
64
  } & {
65
65
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
@@ -95,7 +95,7 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
95
95
  extraParams?: Record<string, any> | undefined;
96
96
  } & {
97
97
  dataSource?: any;
98
- }) => JSX.Element) | import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & {
98
+ }) => JSX.Element) | import("react").FC<any> | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & {
99
99
  onChange: (value: string) => void;
100
100
  } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
101
101
  export { getFieldComponent, formFieldMap };
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const DatePicker: (props: any) => JSX.Element;
3
2
  export default DatePicker;
@@ -0,0 +1,18 @@
1
+ import './index.less';
2
+ import { ValueProps, SortType } from '../types';
3
+ declare type IdType = string | number;
4
+ declare type TreeItemProps = {
5
+ id: string | number;
6
+ key: string | number;
7
+ item: ValueProps | any;
8
+ depth: number;
9
+ lists: any[];
10
+ childrenProps?: SortType;
11
+ sensors?: any;
12
+ expandedKeys?: IdType[];
13
+ setExpandedKeys?: any;
14
+ onSelectKeys?: (ids: IdType) => void;
15
+ onChange?: (value: any[]) => void;
16
+ };
17
+ declare const TreeItem: (props: TreeItemProps) => JSX.Element;
18
+ export default TreeItem;
@@ -0,0 +1,3 @@
1
+ import { SortType } from './types';
2
+ declare const DragSortTree: (props: SortType) => JSX.Element;
3
+ export default DragSortTree;
@@ -0,0 +1,46 @@
1
+ import { ModeType } from "../table/types";
2
+ /**
3
+ * 筛选总配置
4
+ */
5
+ export declare type FilterType = {
6
+ /** 筛选是否展示 */
7
+ show: boolean;
8
+ /** 筛选项排序按钮是否展示 */
9
+ sortButtonShow: boolean;
10
+ /** 筛选列表 */
11
+ list: FilterItemProps[];
12
+ items?: string[];
13
+ /** 快速筛选最大长度 */
14
+ quickFilterMaxLength: number;
15
+ /** 配置存储模式 */
16
+ storageMode: "" | "localStorage";
17
+ /** 筛选列表项dom */
18
+ dom?: any;
19
+ };
20
+ /**
21
+ * 筛选列表项配置
22
+ */
23
+ export declare type FilterItemProps = {
24
+ type: "single" | "input" | "datePicker" | "rangePicker" | "search";
25
+ name?: string | string[];
26
+ key: string;
27
+ props: object;
28
+ label?: string;
29
+ sort?: boolean;
30
+ localFilter?: boolean;
31
+ other: Record<string, any>;
32
+ isCustom?: boolean;
33
+ columnKey?: string;
34
+ isHidden?: boolean;
35
+ };
36
+ /**
37
+ * 筛选组件属性
38
+ */
39
+ export interface FilterProps {
40
+ filter: FilterType;
41
+ isRenderFormContent: boolean;
42
+ onValuesChange?: () => void;
43
+ tableId?: string;
44
+ viewMode?: ModeType;
45
+ isMobile?: boolean;
46
+ }