@pisell/materials 2.2.105 → 2.2.107

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 (319) 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 +148 -156
  7. package/build/lowcode/render/default/view.js +23 -37
  8. package/build/lowcode/view.js +23 -37
  9. package/es/components/TimeResourceSelector/index.d.ts +21 -0
  10. package/es/components/badge/index.d.ts +7 -0
  11. package/es/components/buttonGroupEdit/index.d.ts +8 -0
  12. package/es/components/buttonGroupPreview/index.d.ts +19 -0
  13. package/es/components/cardMetricItem/index.d.ts +12 -0
  14. package/es/components/collapse/index.d.ts +15 -0
  15. package/es/components/cropPhoto/index.d.ts +3 -0
  16. package/es/components/dataSourceComponents/dataSourceMenu/Basic.d.ts +8 -0
  17. package/es/components/dataSourceComponents/dataSourceMenu/index.d.ts +8 -0
  18. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
  19. package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -0
  20. package/es/components/dataSourceComponents/fields/DatePicker/ReadPretty.d.ts +5 -0
  21. package/es/components/dataSourceComponents/fields/Upload/serve.d.ts +20 -0
  22. package/es/components/dataSourceComponents/fields/Upload/shopUploadServe.d.ts +56 -0
  23. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +18 -0
  24. package/es/components/dataSourceComponents/fields/index.d.ts +20 -20
  25. package/es/components/dataSourceComponents/hooks/usePlatform.d.ts +3 -0
  26. package/es/components/date-picker/datePickerCpt.d.ts +8 -0
  27. package/es/components/date-picker/index.d.ts +0 -1
  28. package/es/components/div/index.d.ts +19 -0
  29. package/es/components/drag-sort-tree/TreeItem/index.d.ts +18 -0
  30. package/es/components/page/index.d.ts +0 -1
  31. package/es/components/pisell-config-provider/context.d.ts +22 -0
  32. package/es/components/pisellAdjustPrice/index.d.ts +4 -0
  33. package/es/components/pisellAdjustPrice/status.d.ts +32 -0
  34. package/es/components/pisellAdjustPrice/type.d.ts +22 -0
  35. package/es/components/pisellAnchor/index.d.ts +23 -0
  36. package/es/components/pisellAvatar/index.d.ts +19 -0
  37. package/es/components/pisellCard/index.d.ts +19 -0
  38. package/es/components/pisellCheckboxGroup/index.d.ts +40 -0
  39. package/es/components/pisellCustomCheckboxGroup/index.d.ts +16 -0
  40. package/es/components/pisellDraggable/components/TreeItem/SortableTreeItem.d.ts +9 -0
  41. package/es/components/pisellDraggable/components/TreeItem/TreeItem.d.ts +24 -0
  42. package/es/components/pisellDraggable/components/TreeItem/index.d.ts +2 -0
  43. package/es/components/pisellDraggable/index.d.ts +35 -0
  44. package/es/components/pisellDropSort/PisellDropSort.d.ts +5 -0
  45. package/es/components/pisellDropSort/components/SortableItem/index.d.ts +26 -0
  46. package/es/components/pisellDropSort/types.d.ts +58 -0
  47. package/es/components/pisellDropdown/index.d.ts +20 -0
  48. package/es/components/pisellHeaderProgressBar/index.d.ts +29 -0
  49. package/es/components/pisellImageCarousels/index.d.ts +18 -0
  50. package/es/components/pisellInformationEntry/hooks/useNativeScanner.d.ts +4 -0
  51. package/es/components/pisellInformationEntry/index.d.ts +33 -0
  52. package/es/components/pisellMenu/PisellMenu.d.ts +11 -0
  53. package/es/components/pisellMenu/types.d.ts +27 -0
  54. package/es/components/pisellNavigationMenu/types.d.ts +85 -0
  55. package/es/components/pisellQrcode/index.d.ts +10 -0
  56. package/es/components/pisellSectionHeaders/index.d.ts +21 -0
  57. package/es/components/pisellStatisticList/index.d.ts +21 -0
  58. package/es/components/pisellText/components/Amount/index.d.ts +20 -0
  59. package/es/components/pisellToast/index.d.ts +17 -0
  60. package/es/components/pisellToast/squareToast/index.d.ts +15 -0
  61. package/es/components/pisellToast/squareToast/methods.d.ts +13 -0
  62. package/es/components/pisellToast/squareToast/methods.js +12 -14
  63. package/es/components/pisellToast/squareToast/renderImperatively.js +14 -16
  64. package/es/components/pisellToast/squareToast/toast.d.ts +25 -0
  65. package/es/components/pisellToast/squareToast/toast.js +9 -21
  66. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +3 -0
  67. package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +3 -0
  68. package/es/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +14 -0
  69. package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +3 -0
  70. package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +27 -0
  71. package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +2 -0
  72. package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +3 -0
  73. package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +10 -0
  74. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +20 -0
  75. package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +3 -0
  76. package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +12 -0
  77. package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +3 -0
  78. package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +45 -0
  79. package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +6 -0
  80. package/es/components/productCard/cartSkuCard/index.d.ts +10 -0
  81. package/es/components/productCard/cartSkuCard/locales.d.ts +96 -0
  82. package/es/components/productCard/components/Action/index.d.ts +3 -0
  83. package/es/components/productCard/components/AmountFooter/index.d.ts +3 -0
  84. package/es/components/productCard/components/Divider/index.d.ts +3 -0
  85. package/es/components/productCard/components/Header/EditButton/index.d.ts +3 -0
  86. package/es/components/productCard/components/MultiDay/index.d.ts +3 -0
  87. package/es/components/productCard/components/MultiDay/utils.d.ts +14 -0
  88. package/es/components/productCard/components/Note/index.d.ts +3 -0
  89. package/es/components/productCard/components/Packages/components/collapsibleList/index.d.ts +10 -0
  90. package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +1 -0
  91. package/es/components/productCard/components/Packages/components/options/index.d.ts +3 -0
  92. package/es/components/productCard/components/Packages/index.d.ts +3 -0
  93. package/es/components/productCard/components/Packages/utils.d.ts +20 -0
  94. package/es/components/productCard/components/Sales/index.d.ts +3 -0
  95. package/es/components/productCard/components/Time/components/Like/index.d.ts +9 -0
  96. package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +13 -0
  97. package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +2 -0
  98. package/es/components/productCard/components/Warning/index.d.ts +7 -0
  99. package/es/components/productCard/locales.d.ts +84 -0
  100. package/es/components/productCard/status.d.ts +32 -0
  101. package/es/components/productCard/types.d.ts +84 -0
  102. package/es/components/productCard/utils.d.ts +31 -0
  103. package/es/components/section-footers/index.d.ts +9 -0
  104. package/es/components/table/Actions/component/ExportImport/utils/index.d.ts +9 -0
  105. package/es/components/table/Actions/component/GallerySetting/index.d.ts +0 -1
  106. package/es/components/table/Actions/component/Group/index.d.ts +0 -1
  107. package/es/components/table/Actions/index.d.ts +0 -1
  108. package/es/components/table/BasicTable/index.d.ts +0 -1
  109. package/es/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  110. package/es/components/table/Table/fields/date/index.d.ts +0 -1
  111. package/es/components/table/Table/fields/oldRangePicker/index.d.ts +0 -1
  112. package/es/components/table/Table/fields/rangePicker/index.d.ts +0 -1
  113. package/es/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  114. package/es/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  115. package/es/components/table/Table/tableConfig/SortRow/index.d.ts +0 -1
  116. package/es/components/tabs/index.d.ts +16 -0
  117. package/es/components/virtual-keyboard/Amount/index.d.ts +5 -0
  118. package/es/components/virtual-keyboard/Amount/themeConfig.d.ts +32 -0
  119. package/es/components/virtual-keyboard/Amount/types.d.ts +44 -0
  120. package/es/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +21 -0
  121. package/es/components/virtual-keyboard/Keyboard/index.d.ts +21 -0
  122. package/es/components/virtual-keyboard/Number/index.d.ts +5 -0
  123. package/es/components/virtual-keyboard/Number/themeConfig.d.ts +32 -0
  124. package/es/components/virtual-keyboard/Number/types.d.ts +26 -0
  125. package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +13 -0
  126. package/es/components/virtual-keyboard/index.d.ts +25 -0
  127. package/es/components/walletCard/Guest/index.d.ts +3 -0
  128. package/es/components/walletCard/Guide/index.d.ts +3 -0
  129. package/es/utils/index.d.ts +4 -0
  130. package/lib/components/TimeResourceSelector/index.d.ts +21 -0
  131. package/lib/components/badge/index.d.ts +7 -0
  132. package/lib/components/buttonGroupEdit/index.d.ts +8 -0
  133. package/lib/components/buttonGroupPreview/index.d.ts +19 -0
  134. package/lib/components/cardMetricItem/index.d.ts +12 -0
  135. package/lib/components/collapse/index.d.ts +15 -0
  136. package/lib/components/cropPhoto/index.d.ts +3 -0
  137. package/lib/components/dataSourceComponents/dataSourceMenu/Basic.d.ts +8 -0
  138. package/lib/components/dataSourceComponents/dataSourceMenu/index.d.ts +8 -0
  139. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
  140. package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -0
  141. package/lib/components/dataSourceComponents/fields/DatePicker/ReadPretty.d.ts +5 -0
  142. package/lib/components/dataSourceComponents/fields/Upload/serve.d.ts +20 -0
  143. package/lib/components/dataSourceComponents/fields/Upload/shopUploadServe.d.ts +56 -0
  144. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +18 -0
  145. package/lib/components/dataSourceComponents/fields/index.d.ts +20 -20
  146. package/lib/components/dataSourceComponents/hooks/usePlatform.d.ts +3 -0
  147. package/lib/components/date-picker/datePickerCpt.d.ts +8 -0
  148. package/lib/components/date-picker/index.d.ts +0 -1
  149. package/lib/components/div/index.d.ts +19 -0
  150. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +18 -0
  151. package/lib/components/page/index.d.ts +0 -1
  152. package/lib/components/pisell-config-provider/context.d.ts +22 -0
  153. package/lib/components/pisellAdjustPrice/index.d.ts +4 -0
  154. package/lib/components/pisellAdjustPrice/status.d.ts +32 -0
  155. package/lib/components/pisellAdjustPrice/type.d.ts +22 -0
  156. package/lib/components/pisellAnchor/index.d.ts +23 -0
  157. package/lib/components/pisellAvatar/index.d.ts +19 -0
  158. package/lib/components/pisellCard/index.d.ts +19 -0
  159. package/lib/components/pisellCheckboxGroup/index.d.ts +40 -0
  160. package/lib/components/pisellCustomCheckboxGroup/index.d.ts +16 -0
  161. package/lib/components/pisellDraggable/components/TreeItem/SortableTreeItem.d.ts +9 -0
  162. package/lib/components/pisellDraggable/components/TreeItem/TreeItem.d.ts +24 -0
  163. package/lib/components/pisellDraggable/components/TreeItem/index.d.ts +2 -0
  164. package/lib/components/pisellDraggable/index.d.ts +35 -0
  165. package/lib/components/pisellDropSort/PisellDropSort.d.ts +5 -0
  166. package/lib/components/pisellDropSort/components/SortableItem/index.d.ts +26 -0
  167. package/lib/components/pisellDropSort/types.d.ts +58 -0
  168. package/lib/components/pisellDropdown/index.d.ts +20 -0
  169. package/lib/components/pisellHeaderProgressBar/index.d.ts +29 -0
  170. package/lib/components/pisellImageCarousels/index.d.ts +18 -0
  171. package/lib/components/pisellInformationEntry/hooks/useNativeScanner.d.ts +4 -0
  172. package/lib/components/pisellInformationEntry/index.d.ts +33 -0
  173. package/lib/components/pisellMenu/PisellMenu.d.ts +11 -0
  174. package/lib/components/pisellMenu/types.d.ts +27 -0
  175. package/lib/components/pisellNavigationMenu/types.d.ts +85 -0
  176. package/lib/components/pisellQrcode/index.d.ts +10 -0
  177. package/lib/components/pisellSectionHeaders/index.d.ts +21 -0
  178. package/lib/components/pisellStatisticList/index.d.ts +21 -0
  179. package/lib/components/pisellText/components/Amount/index.d.ts +20 -0
  180. package/lib/components/pisellToast/index.d.ts +17 -0
  181. package/lib/components/pisellToast/squareToast/index.d.ts +15 -0
  182. package/lib/components/pisellToast/squareToast/methods.d.ts +13 -0
  183. package/lib/components/pisellToast/squareToast/methods.js +11 -13
  184. package/lib/components/pisellToast/squareToast/renderImperatively.js +9 -9
  185. package/lib/components/pisellToast/squareToast/toast.d.ts +25 -0
  186. package/lib/components/pisellToast/squareToast/toast.js +5 -9
  187. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +3 -0
  188. package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +3 -0
  189. package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +14 -0
  190. package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +3 -0
  191. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +27 -0
  192. package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +2 -0
  193. package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +3 -0
  194. package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +10 -0
  195. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +20 -0
  196. package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +3 -0
  197. package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +12 -0
  198. package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +3 -0
  199. package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +45 -0
  200. package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +6 -0
  201. package/lib/components/productCard/cartSkuCard/index.d.ts +10 -0
  202. package/lib/components/productCard/cartSkuCard/locales.d.ts +96 -0
  203. package/lib/components/productCard/components/Action/index.d.ts +3 -0
  204. package/lib/components/productCard/components/AmountFooter/index.d.ts +3 -0
  205. package/lib/components/productCard/components/Divider/index.d.ts +3 -0
  206. package/lib/components/productCard/components/Header/EditButton/index.d.ts +3 -0
  207. package/lib/components/productCard/components/MultiDay/index.d.ts +3 -0
  208. package/lib/components/productCard/components/MultiDay/utils.d.ts +14 -0
  209. package/lib/components/productCard/components/Note/index.d.ts +3 -0
  210. package/lib/components/productCard/components/Packages/components/collapsibleList/index.d.ts +10 -0
  211. package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +1 -0
  212. package/lib/components/productCard/components/Packages/components/options/index.d.ts +3 -0
  213. package/lib/components/productCard/components/Packages/index.d.ts +3 -0
  214. package/lib/components/productCard/components/Packages/utils.d.ts +20 -0
  215. package/lib/components/productCard/components/Sales/index.d.ts +3 -0
  216. package/lib/components/productCard/components/Time/components/Like/index.d.ts +9 -0
  217. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +13 -0
  218. package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +2 -0
  219. package/lib/components/productCard/components/Warning/index.d.ts +7 -0
  220. package/lib/components/productCard/locales.d.ts +84 -0
  221. package/lib/components/productCard/status.d.ts +32 -0
  222. package/lib/components/productCard/types.d.ts +84 -0
  223. package/lib/components/productCard/utils.d.ts +31 -0
  224. package/lib/components/section-footers/index.d.ts +9 -0
  225. package/lib/components/table/Actions/component/ExportImport/utils/index.d.ts +9 -0
  226. package/lib/components/table/Actions/component/GallerySetting/index.d.ts +0 -1
  227. package/lib/components/table/Actions/component/Group/index.d.ts +0 -1
  228. package/lib/components/table/Actions/index.d.ts +0 -1
  229. package/lib/components/table/BasicTable/index.d.ts +0 -1
  230. package/lib/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  231. package/lib/components/table/Table/fields/date/index.d.ts +0 -1
  232. package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +0 -1
  233. package/lib/components/table/Table/fields/rangePicker/index.d.ts +0 -1
  234. package/lib/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  235. package/lib/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  236. package/lib/components/table/Table/tableConfig/SortRow/index.d.ts +0 -1
  237. package/lib/components/tabs/index.d.ts +16 -0
  238. package/lib/components/virtual-keyboard/Amount/index.d.ts +5 -0
  239. package/lib/components/virtual-keyboard/Amount/themeConfig.d.ts +32 -0
  240. package/lib/components/virtual-keyboard/Amount/types.d.ts +44 -0
  241. package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +21 -0
  242. package/lib/components/virtual-keyboard/Keyboard/index.d.ts +21 -0
  243. package/lib/components/virtual-keyboard/Number/index.d.ts +5 -0
  244. package/lib/components/virtual-keyboard/Number/themeConfig.d.ts +32 -0
  245. package/lib/components/virtual-keyboard/Number/types.d.ts +26 -0
  246. package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +13 -0
  247. package/lib/components/virtual-keyboard/index.d.ts +25 -0
  248. package/lib/components/walletCard/Guest/index.d.ts +3 -0
  249. package/lib/components/walletCard/Guide/index.d.ts +3 -0
  250. package/lib/utils/index.d.ts +4 -0
  251. package/package.json +1 -1
  252. package/es/components/appVersionControl/index.d.ts +0 -4
  253. package/es/components/cardPro/index.d.ts +0 -3
  254. package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +0 -56
  255. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -38
  256. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +0 -98
  257. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -79
  258. package/es/components/dataSourceComponents/fields/Input.Mobile/WithMode.d.ts +0 -10
  259. package/es/components/dataSourceComponents/fields/Input.Phone/WithMode.d.ts +0 -10
  260. package/es/components/dataSourceComponents/fields/Upload/BaseUpload.d.ts +0 -5
  261. package/es/components/dataSourceComponents/fields/Upload/type.d.ts +0 -37
  262. package/es/components/drag-sort-tree/index.d.ts +0 -4
  263. package/es/components/login-and-register/index.d.ts +0 -82
  264. package/es/components/pisell-config-provider/index.d.ts +0 -13
  265. package/es/components/pisellEmpty/index.d.ts +0 -19
  266. package/es/components/pisellWalletPassCard/index.d.ts +0 -136
  267. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +0 -3
  268. package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -3
  269. package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -18
  270. package/es/components/productCard/components/Time/index.d.ts +0 -3
  271. package/es/components/table/Actions/component/ExportImport/index.d.ts +0 -7
  272. package/es/components/table/Gallery/components/GalleryItem/index.d.ts +0 -14
  273. package/es/components/table/Gallery/index.d.ts +0 -5
  274. package/es/components/table/Table/index.d.ts +0 -4
  275. package/es/components/table/Table/utils.d.ts +0 -161
  276. package/es/components/table/hooks/useTableSetting.d.ts +0 -22
  277. package/es/components/table/hooks/useTransDataSource.d.ts +0 -11
  278. package/es/components/table/types.d.ts +0 -251
  279. package/es/components/translation/index.d.ts +0 -14
  280. package/es/components/versionModal/index.d.ts +0 -23
  281. package/es/index.d.ts +0 -141
  282. package/es/locales/en-US.d.ts +0 -286
  283. package/es/locales/zh-CN.d.ts +0 -281
  284. package/es/locales/zh-TW.d.ts +0 -281
  285. package/lib/components/appVersionControl/index.d.ts +0 -4
  286. package/lib/components/cardPro/index.d.ts +0 -3
  287. package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +0 -56
  288. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -38
  289. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +0 -98
  290. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -79
  291. package/lib/components/dataSourceComponents/fields/Input.Mobile/WithMode.d.ts +0 -10
  292. package/lib/components/dataSourceComponents/fields/Input.Phone/WithMode.d.ts +0 -10
  293. package/lib/components/dataSourceComponents/fields/Upload/BaseUpload.d.ts +0 -5
  294. package/lib/components/dataSourceComponents/fields/Upload/type.d.ts +0 -37
  295. package/lib/components/drag-sort-tree/index.d.ts +0 -4
  296. package/lib/components/login-and-register/index.d.ts +0 -82
  297. package/lib/components/pisell-config-provider/index.d.ts +0 -13
  298. package/lib/components/pisellEmpty/index.d.ts +0 -19
  299. package/lib/components/pisellWalletPassCard/index.d.ts +0 -136
  300. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +0 -3
  301. package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -3
  302. package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -18
  303. package/lib/components/productCard/components/Time/index.d.ts +0 -3
  304. package/lib/components/table/Actions/component/ExportImport/index.d.ts +0 -7
  305. package/lib/components/table/Gallery/components/GalleryItem/index.d.ts +0 -14
  306. package/lib/components/table/Gallery/index.d.ts +0 -5
  307. package/lib/components/table/Table/index.d.ts +0 -4
  308. package/lib/components/table/Table/utils.d.ts +0 -161
  309. package/lib/components/table/hooks/useTableSetting.d.ts +0 -22
  310. package/lib/components/table/hooks/useTransDataSource.d.ts +0 -11
  311. package/lib/components/table/types.d.ts +0 -251
  312. package/lib/components/translation/index.d.ts +0 -14
  313. package/lib/components/versionModal/index.d.ts +0 -23
  314. package/lib/index.d.ts +0 -141
  315. package/lib/locales/en-US.d.ts +0 -286
  316. package/lib/locales/zh-CN.d.ts +0 -281
  317. package/lib/locales/zh-TW.d.ts +0 -281
  318. /package/es/components/dataSourceComponents/fields/{Input.Phone → Input.Mobile}/serve.d.ts +0 -0
  319. /package/lib/components/dataSourceComponents/fields/{Input.Phone → Input.Mobile}/serve.d.ts +0 -0
@@ -0,0 +1,84 @@
1
+ export declare type bundleType = {
2
+ id: number;
3
+ name: string;
4
+ num: number;
5
+ price: number;
6
+ total: number;
7
+ origin_total?: number;
8
+ price_type?: string;
9
+ options?: optionType[];
10
+ };
11
+ /**
12
+ * @description:
13
+ * @return {*}
14
+ * @Author: WangHan
15
+ * @Date: 2025-01-02 23:00
16
+ */
17
+ export declare type optionType = {
18
+ id: number;
19
+ name: string;
20
+ num: number;
21
+ price: number;
22
+ total: number;
23
+ origin_total?: number;
24
+ };
25
+ /**
26
+ * @title: 商品商品类型
27
+ * @description:
28
+ * @return {*}
29
+ * @Author: WangHan
30
+ * @Date: 2025-01-02 22:48
31
+ */
32
+ export declare type productType = {
33
+ _id: string | number;
34
+ id: number;
35
+ name: string;
36
+ price: number;
37
+ total: number;
38
+ num: number;
39
+ origin_total?: number;
40
+ image?: string;
41
+ isShowNote?: boolean;
42
+ note?: string;
43
+ like_status?: string;
44
+ bundle?: bundleType[];
45
+ options?: optionType[];
46
+ isShowAction?: boolean;
47
+ actionText?: string;
48
+ errorMessage?: string;
49
+ product_option_string?: string;
50
+ discount_reason?: string;
51
+ relation_products?: any[];
52
+ resource_id?: string | number;
53
+ relation_form_name?: string;
54
+ holder_title?: string;
55
+ start_date?: string;
56
+ end_date?: string;
57
+ is_show_duration?: boolean;
58
+ is_show_week?: boolean;
59
+ };
60
+ /**
61
+ * 排序总配置
62
+ */
63
+ export declare type ProductCardTypes = {
64
+ dataSource: productType;
65
+ isShowImage?: boolean;
66
+ isShowHolder?: boolean;
67
+ isShowNote?: boolean;
68
+ isShowPackageNote?: boolean;
69
+ isShowDelete?: boolean;
70
+ disabledEdit?: boolean;
71
+ locale?: string;
72
+ symbol?: string;
73
+ isShowChangeHolder?: boolean;
74
+ isShowChangeResource?: boolean;
75
+ isShowChangeDate?: boolean;
76
+ onAction?: (val: any) => void;
77
+ onDelete?: (val: any) => void;
78
+ onNote?: (val: any) => void;
79
+ onLike?: (val: any) => void;
80
+ onCard?: (val: any) => void;
81
+ onChangeResource?: (val: any) => void;
82
+ osWarnTips?: Array<string>;
83
+ [key: string]: any;
84
+ };
@@ -0,0 +1,31 @@
1
+ import 'dayjs/locale/zh-cn';
2
+ import 'dayjs/locale/en';
3
+ import 'dayjs/locale/zh-tw';
4
+ /**
5
+ * @title: 是否英文
6
+ * @description:
7
+ * @param {any} item
8
+ * @return {*}
9
+ * @Author: WangHan
10
+ * @Date: 2024-12-28 22:49
11
+ */
12
+ export declare const isEn: (item: any) => boolean;
13
+ /**
14
+ * @title: 跨日预约时间
15
+ * @description:
16
+ * @param {any} item
17
+ * @return {*}
18
+ * @Author: WangHan
19
+ * @Date: 2024-12-28 22:50
20
+ */
21
+ export declare const formatMultiDayDate: (item: any) => string;
22
+ /**
23
+ * @title: 格式化服务的 开始时间-结束时间-时长, 用于展示
24
+ * @description:
25
+ * @param {any} item
26
+ * @param {any} currentDate
27
+ * @return {*}
28
+ * @Author: zhiwei.Wang
29
+ * @Date: 2024-04-26 14:04
30
+ */
31
+ export declare const getServiceTime: (item: any, currentDate: any) => string;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ interface SectionFooterProps {
3
+ left?: React.ReactNode;
4
+ middle?: React.ReactNode;
5
+ right?: React.ReactNode;
6
+ className?: string;
7
+ }
8
+ declare const SectionFooters: (props: SectionFooterProps) => JSX.Element;
9
+ export default SectionFooters;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @title: 格式化导出导入接口地址
3
+ * @description:
4
+ * @param {string} url
5
+ * @return {*}
6
+ * @Author: WangHan
7
+ * @Date: 2024-09-05 11:39
8
+ */
9
+ export declare const formatApiUrl: (url: string) => string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { GallerySettingType, ModeType } from "../../../types";
3
2
  import "./index.less";
4
3
  declare type GallerySettingProps = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DataSourceGroupType } from "../../../types";
3
2
  declare type GroupProps = {
4
3
  setting: DataSourceGroupType;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FilterType } from "../../filter/types";
3
2
  import { ColumnSettingType, DataSourceGroupType, ExportImportType, GallerySettingType, GridViewType, SortType } from "../types";
4
3
  import "./index.less";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TableProps } from 'antd';
3
2
  declare const BasicTable: (props: TableProps<any>) => JSX.Element;
4
3
  export default BasicTable;
@@ -1,5 +1,5 @@
1
1
  declare const useGapSize: (gap: number | number[]) => {
2
- horizontal: any;
3
- vertical: any;
2
+ horizontal: number;
3
+ vertical: number;
4
4
  };
5
5
  export default useGapSize;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -2,4 +2,4 @@ export default function ({ value, key, item, }: {
2
2
  value: string | string[];
3
3
  key: string | string[];
4
4
  item: Record<string, any>;
5
- }): any;
5
+ }): boolean;
@@ -2,4 +2,4 @@ export default function ({ value, key, item, }: {
2
2
  value: string | string[] | Record<string, any>[];
3
3
  key: string | string[];
4
4
  item: Record<string, any>;
5
- }): any;
5
+ }): boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const SortRow: ({ children, rowKey, onSortChange }: any) => JSX.Element;
4
3
  export default SortRow;
@@ -0,0 +1,16 @@
1
+ import { Component } from 'react';
2
+ import { TabsProps } from 'antd';
3
+ import './index.less';
4
+ declare class Tabs extends Component<any> {
5
+ state: {
6
+ activeKey: any;
7
+ };
8
+ componentDidMount(): void;
9
+ private _handleChange;
10
+ setActiveKey: (key: string) => void;
11
+ getActiveKey: () => any;
12
+ renderIconLabelTabBar: TabsProps['renderTabBar'];
13
+ filterHiddenTabs: (tabs: any[]) => any[];
14
+ render(): JSX.Element;
15
+ }
16
+ export default Tabs;
@@ -0,0 +1,5 @@
1
+ import { AmountProps, RightItemsStyleProps } from './types';
2
+ import './index.less';
3
+ export type { AmountProps, RightItemsStyleProps };
4
+ declare const Amount: (props: AmountProps) => JSX.Element;
5
+ export default Amount;
@@ -0,0 +1,32 @@
1
+ export declare const amountThemeConfig: {
2
+ dark: {
3
+ backgroundColor: string;
4
+ containerBackgroundColor: string;
5
+ buttonBackgroundColor: string;
6
+ textColor: string;
7
+ resetButtonBackgroundColor: string;
8
+ resetButtonTextColor: string;
9
+ isDoneButtonFollowTheme: boolean;
10
+ doneButtonBackgroundColor: string;
11
+ doneButtonTextColor: string;
12
+ keyboardBackgroundColor: string;
13
+ keyboardButtonBackgroundColor: string;
14
+ keyboardButtonTextColor: string;
15
+ keyboardButtonHoverColor: string;
16
+ };
17
+ light: {
18
+ backgroundColor: string;
19
+ containerBackgroundColor: string;
20
+ buttonBackgroundColor: string;
21
+ textColor: string;
22
+ resetButtonBackgroundColor: string;
23
+ resetButtonTextColor: string;
24
+ isDoneButtonFollowTheme: boolean;
25
+ doneButtonBackgroundColor: string;
26
+ doneButtonTextColor: string;
27
+ keyboardBackgroundColor: string;
28
+ keyboardButtonBackgroundColor: string;
29
+ keyboardButtonTextColor: string;
30
+ keyboardButtonHoverColor: string;
31
+ };
32
+ };
@@ -0,0 +1,44 @@
1
+ /// <reference types="react" />
2
+ import { BaseNumberKeyboardProps } from '../BaseNumberKeyboard';
3
+ export interface RightItemsStyleProps {
4
+ buttonBackgroundColor?: string;
5
+ textColor?: string;
6
+ resetButtonBackgroundColor?: string;
7
+ resetButtonTextColor?: string;
8
+ isDoneButtonFollowTheme?: boolean;
9
+ doneButtonBackgroundColor?: string;
10
+ doneButtonTextColor?: string;
11
+ }
12
+ export interface AmountProps {
13
+ max?: number;
14
+ min?: number;
15
+ doneText?: string;
16
+ resetText?: string;
17
+ defaultValue?: string | number;
18
+ placeholder?: string;
19
+ amountProps?: {
20
+ showCurrencySymbol: boolean;
21
+ useThousandsSeparator: boolean;
22
+ };
23
+ presets?: BaseNumberKeyboardProps['presets'];
24
+ value?: string | number;
25
+ onChange?: (val: string | number) => void;
26
+ onEnter?: (val: string | number) => void;
27
+ defaultSelect?: boolean;
28
+ inputFormat?: (_v: string) => React.ReactNode | null;
29
+ rightItemsStyle?: RightItemsStyleProps;
30
+ selectType?: 'light' | 'dark';
31
+ backgroundColor?: string;
32
+ containerBackgroundColor?: string;
33
+ buttonBackgroundColor?: string;
34
+ textColor?: string;
35
+ resetButtonBackgroundColor?: string;
36
+ resetButtonTextColor?: string;
37
+ isDoneButtonFollowTheme?: boolean;
38
+ doneButtonBackgroundColor?: string;
39
+ doneButtonTextColor?: string;
40
+ keyboardBackgroundColor?: string;
41
+ keyboardButtonBackgroundColor?: string;
42
+ keyboardButtonTextColor?: string;
43
+ keyboardButtonHoverColor?: string;
44
+ }
@@ -0,0 +1,21 @@
1
+ import React from 'react';
2
+ import { PresetsProps } from './Presets';
3
+ import { RightItemsStyleProps } from '../Amount';
4
+ import './index.less';
5
+ export interface BaseNumberKeyboardProps {
6
+ placeholder?: string;
7
+ format?: (val: string) => React.ReactNode;
8
+ defaultValue?: string | number;
9
+ doneText?: string;
10
+ resetText?: string;
11
+ onChange?: (val: string) => void;
12
+ onEnter?: (val: string) => void;
13
+ value?: string | number;
14
+ max?: number;
15
+ min?: number;
16
+ presets?: PresetsProps['presets'];
17
+ defaultSelect?: boolean;
18
+ rightItemsStyle?: RightItemsStyleProps;
19
+ }
20
+ declare const BaseNumberKeyboard: (props: BaseNumberKeyboardProps) => JSX.Element;
21
+ export default BaseNumberKeyboard;
@@ -0,0 +1,21 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export declare type ItemValue = string | number;
4
+ export interface Item {
5
+ value: ItemValue;
6
+ label: React.ReactNode;
7
+ disabled: boolean;
8
+ type: 'text' | 'primary';
9
+ style?: React.CSSProperties;
10
+ size?: number;
11
+ }
12
+ export interface KeyboardProps {
13
+ className?: string;
14
+ style?: React.CSSProperties;
15
+ onChange?: (value?: ItemValue) => void;
16
+ items?: Item[];
17
+ rightItems?: Item[];
18
+ keydown?: boolean;
19
+ }
20
+ declare const _default: React.MemoExoticComponent<(props: KeyboardProps) => JSX.Element>;
21
+ export default _default;
@@ -0,0 +1,5 @@
1
+ import { NumberProps } from './types';
2
+ import './index.less';
3
+ export type { NumberProps };
4
+ declare const Number: (props: NumberProps) => JSX.Element;
5
+ export default Number;
@@ -0,0 +1,32 @@
1
+ export declare const numberThemeConfig: {
2
+ dark: {
3
+ backgroundColor: string;
4
+ containerBackgroundColor: string;
5
+ buttonBackgroundColor: string;
6
+ textColor: string;
7
+ resetButtonBackgroundColor: string;
8
+ resetButtonTextColor: string;
9
+ isDoneButtonFollowTheme: boolean;
10
+ doneButtonBackgroundColor: string;
11
+ doneButtonTextColor: string;
12
+ keyboardBackgroundColor: string;
13
+ keyboardButtonBackgroundColor: string;
14
+ keyboardButtonTextColor: string;
15
+ keyboardButtonHoverColor: string;
16
+ };
17
+ light: {
18
+ backgroundColor: string;
19
+ containerBackgroundColor: string;
20
+ buttonBackgroundColor: string;
21
+ textColor: string;
22
+ resetButtonBackgroundColor: string;
23
+ resetButtonTextColor: string;
24
+ isDoneButtonFollowTheme: boolean;
25
+ doneButtonBackgroundColor: string;
26
+ doneButtonTextColor: string;
27
+ keyboardBackgroundColor: string;
28
+ keyboardButtonBackgroundColor: string;
29
+ keyboardButtonTextColor: string;
30
+ keyboardButtonHoverColor: string;
31
+ };
32
+ };
@@ -0,0 +1,26 @@
1
+ export interface NumberProps {
2
+ max?: number;
3
+ min?: number;
4
+ doneText?: string;
5
+ resetText: string;
6
+ defaultValue?: string | number;
7
+ placeholder?: string;
8
+ value?: string | number;
9
+ onChange?: (val: string | number) => void;
10
+ onEnter?: (val: string | number) => void;
11
+ defaultSelect?: boolean;
12
+ selectType?: 'light' | 'dark';
13
+ backgroundColor?: string;
14
+ containerBackgroundColor?: string;
15
+ buttonBackgroundColor?: string;
16
+ textColor?: string;
17
+ resetButtonBackgroundColor?: string;
18
+ resetButtonTextColor?: string;
19
+ isDoneButtonFollowTheme?: boolean;
20
+ doneButtonBackgroundColor?: string;
21
+ doneButtonTextColor?: string;
22
+ keyboardBackgroundColor?: string;
23
+ keyboardButtonBackgroundColor?: string;
24
+ keyboardButtonTextColor?: string;
25
+ keyboardButtonHoverColor?: string;
26
+ }
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { InputProps } from 'antd';
3
+ import './index.less';
4
+ export interface VirtualKeyInputProps extends InputProps {
5
+ previewValue?: string;
6
+ renderInput?: (props: any) => any;
7
+ showDelete?: boolean;
8
+ onValueSelect?: (selected: boolean) => void;
9
+ defaultSelect?: boolean;
10
+ style?: React.CSSProperties;
11
+ }
12
+ declare const VirtualKeyInput: (props: VirtualKeyInputProps) => JSX.Element;
13
+ export default VirtualKeyInput;
@@ -0,0 +1,25 @@
1
+ import React from "react";
2
+ import { KeyboardProps } from "./Keyboard";
3
+ import { VirtualKeyInputProps } from "./VirtualKeyInput";
4
+ import "./index.less";
5
+ interface VirtualKeyboardProps extends React.HTMLAttributes<HTMLDivElement> {
6
+ keyboardProps?: KeyboardProps;
7
+ virtualKeyInputProps?: VirtualKeyInputProps;
8
+ rightPanel?: React.ReactNode;
9
+ style?: React.CSSProperties;
10
+ onChange?: (value?: any) => void;
11
+ value?: string;
12
+ selectType?: 'light' | 'dark';
13
+ backgroundColor?: string;
14
+ containerBackgroundColor?: string;
15
+ buttonBackgroundColor?: string;
16
+ textColor?: string;
17
+ keyboardBackgroundColor?: string;
18
+ keyboardButtonBackgroundColor?: string;
19
+ keyboardButtonTextColor?: string;
20
+ keyboardButtonHoverColor?: string;
21
+ primaryButtonBackgroundColor?: string;
22
+ primaryButtonTextColor?: string;
23
+ }
24
+ declare const VirtualKeyboard: (props: VirtualKeyboardProps) => JSX.Element;
25
+ export default VirtualKeyboard;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const Guest: (props: any) => JSX.Element;
3
+ export default Guest;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const Guide: (props: any) => JSX.Element;
3
+ export default Guide;
@@ -0,0 +1,4 @@
1
+ export declare const isBrowser: boolean;
2
+ export declare const getCssNumber: (val: string | number) => string;
3
+ export declare function uuid(): string;
4
+ export * from './mergeWith';
@@ -0,0 +1,21 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export interface TimeSlot {
4
+ value: string;
5
+ label: string;
6
+ time: string;
7
+ remainingCount: number;
8
+ disabled?: boolean;
9
+ }
10
+ export interface TimeResourceSelectorProps {
11
+ timeSlots?: TimeSlot[];
12
+ multiple?: boolean;
13
+ showUnavailable?: boolean;
14
+ defaultExpanded?: boolean;
15
+ defaultSelectFirst?: boolean;
16
+ onChange?: (values: string | string[]) => void;
17
+ className?: string;
18
+ style?: React.CSSProperties;
19
+ }
20
+ declare const TimeResourceSelector: React.FC<TimeResourceSelectorProps>;
21
+ export default TimeResourceSelector;
@@ -0,0 +1,7 @@
1
+ import { BadgeProps as OriginalBadgeprops } from 'antd';
2
+ import './index.less';
3
+ export interface Badgeprops extends OriginalBadgeprops {
4
+ styleType: 'default' | 'warning';
5
+ }
6
+ declare const Badge: (props: any) => JSX.Element;
7
+ export default Badge;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { ButtonGroupListItemProps } from './../buttonGroupPreview';
3
+ interface ButtonGroupEditProps {
4
+ buttonList: ButtonGroupListItemProps[];
5
+ buttonGroupList: ButtonGroupListItemProps[][];
6
+ }
7
+ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<ButtonGroupEditProps & React.RefAttributes<any>>>;
8
+ export default _default;
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import type { MenuProps, ButtonProps } from 'antd';
3
+ export interface ButtonGroupListItemProps {
4
+ id?: string;
5
+ isMore?: boolean;
6
+ menuData?: MenuProps['items'];
7
+ buttonProps?: ButtonProps;
8
+ }
9
+ interface ButtonConfigProps {
10
+ [id: string]: ButtonGroupListItemProps;
11
+ }
12
+ export declare type ButtonGroupListProps = ButtonGroupListItemProps[][];
13
+ interface ButtonGroupPreviewProps {
14
+ buttonConfig?: ButtonConfigProps;
15
+ buttonGroupList?: ButtonGroupListProps;
16
+ updateButtonProps?: ButtonGroupListItemProps;
17
+ }
18
+ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<ButtonGroupPreviewProps & React.RefAttributes<any>>>;
19
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ interface PisellStatisticProps {
4
+ title: string;
5
+ number: string | number;
6
+ hint?: React.ReactNode;
7
+ tags?: React.ReactNode;
8
+ showCurrencySymbol?: boolean;
9
+ style?: any;
10
+ }
11
+ declare const CardMetricItem: (props: PisellStatisticProps) => JSX.Element;
12
+ export default CardMetricItem;
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ interface CollapseProps {
4
+ panelBackground?: string;
5
+ panelMarginBottom?: string | 0;
6
+ panelBorderRadius?: string | 0;
7
+ items: any[];
8
+ showHeader?: boolean;
9
+ headerColor?: string | '#101828';
10
+ headerFontSize?: string | 14;
11
+ expandIcon?: any;
12
+ [key: string]: any;
13
+ }
14
+ declare const Collapse: React.FC<CollapseProps>;
15
+ export default Collapse;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const CropPhoto: React.FC;
3
+ export default CropPhoto;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { PisellMenuProps } from '../../pisellMenu/types';
3
+ /**
4
+ * @title: 数据源表单组件
5
+ * @description: 基于数据源动态生成表单,支持编辑、查看、禁用三种模式
6
+ */
7
+ declare const DataSourceMenu: React.ForwardRefExoticComponent<PisellMenuProps & React.RefAttributes<any>>;
8
+ export default DataSourceMenu;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { PisellMenuProps } from '../../pisellMenu/types';
3
+ /**
4
+ * @title: 数据源表单组件
5
+ * @description: 基于数据源动态生成表单,支持编辑、查看、禁用三种模式
6
+ */
7
+ declare const DataSourceMenu: (props: PisellMenuProps, ref: React.Ref<any>) => JSX.Element;
8
+ export default DataSourceMenu;
@@ -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;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { DataSourceContextProps } from '../provider/dataSource/DataSourceContext';
2
3
  declare const DataSourceWrapper: (props: DataSourceContextProps) => JSX.Element;
3
4
  export default DataSourceWrapper;
@@ -0,0 +1,5 @@
1
+ import type { FC } from 'react';
2
+ import { DatePickerProps } from './type';
3
+ import './ReadPretty.less';
4
+ declare const DatePickerReadPretty: FC<DatePickerProps>;
5
+ export default DatePickerReadPretty;
@@ -0,0 +1,20 @@
1
+ /**
2
+ * 获取nocobase媒体数据列表
3
+ */
4
+ export declare const getMediaTypeList: () => Promise<any>;
5
+ export interface MediaType {
6
+ id: number;
7
+ name: string;
8
+ maxsize: number;
9
+ }
10
+ export declare const useMediaConfig: (mediaConfig?: any) => {
11
+ data: {
12
+ upload_onetime_limit: any;
13
+ upload_maxsize: any;
14
+ };
15
+ };
16
+ export declare const useMediaTypes: () => {
17
+ data: MediaType[];
18
+ getExtensionsByIds: (ids: number[]) => string[];
19
+ getMaxSizeByIds: (ids: number[]) => Record<number, number>;
20
+ };