@pisell/materials 1.0.685 → 1.0.686

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 (448) 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/render/default/view.js +2 -2
  7. package/build/lowcode/view.js +2 -2
  8. package/es/components/Pagination/index.d.ts +1 -1
  9. package/es/components/TimeResourceSelector/index.d.ts +21 -0
  10. package/es/components/appVersionControl/index.d.ts +1 -0
  11. package/es/components/auto-complete-number/index.d.ts +1 -0
  12. package/es/components/badge/index.d.ts +8 -0
  13. package/es/components/batch-editor/fields/index.d.ts +1 -0
  14. package/es/components/batch-editor/index.d.ts +1 -0
  15. package/es/components/buttonGroupEdit/index.d.ts +8 -0
  16. package/es/components/buttonGroupPreview/index.d.ts +19 -0
  17. package/es/components/calendar/index.d.ts +1 -0
  18. package/es/components/cardMetricItem/index.d.ts +12 -0
  19. package/es/components/cardPro/index.d.ts +4 -0
  20. package/es/components/checkbox/index.d.ts +1 -0
  21. package/es/components/classicLayout/index.d.ts +1 -0
  22. package/es/components/collapse/index.d.ts +15 -0
  23. package/es/components/config-provider/index.d.ts +1 -0
  24. package/es/components/cropPhoto/index.d.ts +3 -0
  25. package/es/components/dataSourceComponents/dataSourceForm/formItem.d.ts +1 -0
  26. package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +1 -0
  27. package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -0
  28. package/es/components/dataSourceComponents/dataSourceTable/BaseTable.d.ts +8 -0
  29. package/es/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +1 -0
  30. package/es/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +1 -0
  31. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +1 -0
  32. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +1 -0
  33. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +98 -0
  34. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
  35. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +79 -0
  36. package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -0
  37. package/es/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +1 -0
  38. package/es/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +1 -0
  39. package/es/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +1 -0
  40. package/es/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +1 -0
  41. package/es/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +1 -0
  42. package/es/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +1 -0
  43. package/es/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +24 -0
  44. package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +1 -0
  45. package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +24 -0
  46. package/es/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +1 -0
  47. package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  48. package/es/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +1 -0
  49. package/es/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +1 -0
  50. package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -0
  51. package/es/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +1 -0
  52. package/es/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +1 -0
  53. package/es/components/dataSourceComponents/fields/Upload/BaseUpload.d.ts +5 -0
  54. package/es/components/dataSourceComponents/fields/Upload/BaseUpload.js +0 -1
  55. package/es/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +1 -0
  56. package/es/components/dataSourceComponents/fields/Upload/WithMode.d.ts +4 -0
  57. package/es/components/dataSourceComponents/fields/Upload/serve.d.ts +20 -0
  58. package/es/components/dataSourceComponents/fields/Upload/shopUploadServe.d.ts +56 -0
  59. package/es/components/dataSourceComponents/fields/Upload/type.d.ts +37 -0
  60. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +18 -0
  61. package/es/components/dataSourceComponents/fields/index.d.ts +12 -11
  62. package/es/components/dataSourceComponents/hooks/usePlatform.d.ts +3 -0
  63. package/es/components/date-picker/datePickerCpt.d.ts +1 -0
  64. package/es/components/date-picker/index.d.ts +1 -0
  65. package/es/components/drag-sort-tree/TreeItem/index.d.ts +1 -0
  66. package/es/components/drag-sort-tree/index.d.ts +4 -0
  67. package/es/components/dropdown/index.d.ts +1 -0
  68. package/es/components/filter/index.d.ts +1 -0
  69. package/es/components/list/index.d.ts +1 -0
  70. package/es/components/lowCodePage/index.d.ts +1 -0
  71. package/es/components/page/index.d.ts +1 -0
  72. package/es/components/picker-view/index.d.ts +2 -0
  73. package/es/components/pisell-config-provider/index.d.ts +12 -0
  74. package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +1 -0
  75. package/es/components/pisellAdjustPrice/index.d.ts +1 -0
  76. package/es/components/pisellAnchor/index.d.ts +23 -0
  77. package/es/components/pisellAvatar/index.d.ts +19 -0
  78. package/es/components/pisellCard/index.d.ts +20 -0
  79. package/es/components/pisellCustomCheckboxGroup/index.d.ts +16 -0
  80. package/es/components/pisellDatePicker/datePickerCpt.d.ts +1 -0
  81. package/es/components/pisellDatePicker/index.d.ts +1 -0
  82. package/es/components/pisellDropdown/index.d.ts +20 -0
  83. package/es/components/pisellEmpty/index.d.ts +19 -0
  84. package/es/components/pisellHeaderProgressBar/index.d.ts +29 -0
  85. package/es/components/pisellImageCarousels/index.d.ts +18 -0
  86. package/es/components/pisellInformationEntry/Scan/index.d.ts +1 -0
  87. package/es/components/pisellInformationEntry/index.d.ts +33 -0
  88. package/es/components/pisellInput/components/BankCard/index.d.ts +1 -0
  89. package/es/components/pisellInput/components/Copy/index.d.ts +1 -0
  90. package/es/components/pisellInput/components/SecurityCode/index.d.ts +1 -0
  91. package/es/components/pisellInput/index.d.ts +1 -0
  92. package/es/components/pisellList01/index.d.ts +17 -0
  93. package/es/components/pisellLoading/index.d.ts +1 -0
  94. package/es/components/pisellModal/components/IpadModal/index.d.ts +1 -0
  95. package/es/components/pisellModal/components/MobileModal/index.d.ts +1 -0
  96. package/es/components/pisellModal/components/index.d.ts +1 -0
  97. package/es/components/pisellQrcode/index.d.ts +10 -0
  98. package/es/components/pisellSectionHeaders/index.d.ts +21 -0
  99. package/es/components/pisellStatisticList/index.d.ts +21 -0
  100. package/es/components/pisellText/components/Amount/index.d.ts +20 -0
  101. package/es/components/pisellTooltip/index.d.ts +1 -0
  102. package/es/components/pisellUpload/index.d.ts +1 -0
  103. package/es/components/pisellWalletPassCard/index.d.ts +56 -0
  104. package/es/components/productCard/components/Action/index.d.ts +4 -0
  105. package/es/components/productCard/components/AmountFooter/index.d.ts +4 -0
  106. package/es/components/productCard/components/Divider/index.d.ts +4 -0
  107. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +4 -0
  108. package/es/components/productCard/components/Header/index.d.ts +4 -0
  109. package/es/components/productCard/components/MultiDay/index.d.ts +4 -0
  110. package/es/components/productCard/components/MultiDay/utils.d.ts +14 -0
  111. package/es/components/productCard/components/Note/index.d.ts +4 -0
  112. package/es/components/productCard/components/Packages/components/collapsibleList/index.d.ts +10 -0
  113. package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +2 -0
  114. package/es/components/productCard/components/Packages/components/options/index.d.ts +4 -0
  115. package/es/components/productCard/components/Packages/index.d.ts +4 -0
  116. package/es/components/productCard/components/Packages/utils.d.ts +20 -0
  117. package/es/components/productCard/components/Sales/index.d.ts +4 -0
  118. package/es/components/productCard/components/Time/components/Like/index.d.ts +9 -0
  119. package/es/components/productCard/components/Time/index.d.ts +4 -0
  120. package/es/components/productCard/hooks/useOpenNote.d.ts +3 -0
  121. package/es/components/productCard/index.d.ts +5 -0
  122. package/es/components/productCard/locales.d.ts +45 -0
  123. package/es/components/productCard/status.d.ts +32 -0
  124. package/es/components/productCard/types.d.ts +78 -0
  125. package/es/components/productCard/utils.d.ts +31 -0
  126. package/es/components/qrcode/index.d.ts +1 -0
  127. package/es/components/radio/index.d.ts +1 -0
  128. package/es/components/record-view/index.d.ts +37 -0
  129. package/es/components/section-footers/index.d.ts +9 -0
  130. package/es/components/segmented/index.d.ts +1 -0
  131. package/es/components/select-time/RightPanel/index.d.ts +1 -0
  132. package/es/components/select-time/index.d.ts +1 -0
  133. package/es/components/skeleton/index.d.ts +1 -0
  134. package/es/components/slider/index.d.ts +1 -0
  135. package/es/components/sort/components/InlineMenu/index.d.ts +1 -0
  136. package/es/components/table/Actions/component/ColumnsSetting/index.d.ts +1 -0
  137. package/es/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +1 -0
  138. package/es/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +1 -0
  139. package/es/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +1 -0
  140. package/es/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +1 -0
  141. package/es/components/table/Actions/component/ExportImport/index.d.ts +8 -0
  142. package/es/components/table/Actions/component/ExportImport/utils/index.d.ts +9 -0
  143. package/es/components/table/Actions/component/GallerySetting/index.d.ts +1 -0
  144. package/es/components/table/Actions/component/Group/PopoverContent.d.ts +1 -0
  145. package/es/components/table/Actions/component/Group/index.d.ts +1 -0
  146. package/es/components/table/Actions/component/ViewMode/index.d.ts +1 -0
  147. package/es/components/table/Actions/index.d.ts +1 -0
  148. package/es/components/table/BasicTable/index.d.ts +1 -0
  149. package/es/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +1 -0
  150. package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +1 -0
  151. package/es/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +1 -0
  152. package/es/components/table/Gallery/components/GalleryItem/index.d.ts +14 -0
  153. package/es/components/table/Gallery/index.d.ts +5 -0
  154. package/es/components/table/Summary/index.d.ts +1 -0
  155. package/es/components/table/Table/fields/date/Config/index.d.ts +1 -0
  156. package/es/components/table/Table/fields/date/Show/index.d.ts +1 -0
  157. package/es/components/table/Table/fields/date/Sort/index.d.ts +1 -0
  158. package/es/components/table/Table/fields/date/index.d.ts +1 -0
  159. package/es/components/table/Table/fields/image/Config/index.d.ts +1 -0
  160. package/es/components/table/Table/fields/image/Show/index.d.ts +1 -0
  161. package/es/components/table/Table/fields/image/Sort/index.d.ts +1 -0
  162. package/es/components/table/Table/fields/image/index.d.ts +1 -0
  163. package/es/components/table/Table/fields/index.d.ts +1 -0
  164. package/es/components/table/Table/fields/link/Config/index.d.ts +1 -0
  165. package/es/components/table/Table/fields/link/Show/index.d.ts +1 -0
  166. package/es/components/table/Table/fields/link/Sort/index.d.ts +1 -0
  167. package/es/components/table/Table/fields/link/index.d.ts +1 -0
  168. package/es/components/table/Table/fields/number/Config/index.d.ts +1 -0
  169. package/es/components/table/Table/fields/number/Show/index.d.ts +1 -0
  170. package/es/components/table/Table/fields/number/Sort/index.d.ts +1 -0
  171. package/es/components/table/Table/fields/number/index.d.ts +1 -0
  172. package/es/components/table/Table/fields/numberRange/Config/index.d.ts +1 -0
  173. package/es/components/table/Table/fields/numberRange/Show/index.d.ts +1 -0
  174. package/es/components/table/Table/fields/numberRange/Sort/index.d.ts +1 -0
  175. package/es/components/table/Table/fields/numberRange/index.d.ts +1 -0
  176. package/es/components/table/Table/fields/oldRangePicker/Config/index.d.ts +1 -0
  177. package/es/components/table/Table/fields/oldRangePicker/Show/index.d.ts +1 -0
  178. package/es/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +1 -0
  179. package/es/components/table/Table/fields/oldRangePicker/index.d.ts +1 -0
  180. package/es/components/table/Table/fields/pSwitch/Config/index.d.ts +1 -0
  181. package/es/components/table/Table/fields/pSwitch/Show/index.d.ts +1 -0
  182. package/es/components/table/Table/fields/pSwitch/Sort/index.d.ts +1 -0
  183. package/es/components/table/Table/fields/pSwitch/index.d.ts +1 -0
  184. package/es/components/table/Table/fields/rangePicker/Config/index.d.ts +1 -0
  185. package/es/components/table/Table/fields/rangePicker/Show/index.d.ts +1 -0
  186. package/es/components/table/Table/fields/rangePicker/Sort/index.d.ts +1 -0
  187. package/es/components/table/Table/fields/rangePicker/index.d.ts +1 -0
  188. package/es/components/table/Table/fields/search/Config/index.d.ts +1 -0
  189. package/es/components/table/Table/fields/search/Show/index.d.ts +1 -0
  190. package/es/components/table/Table/fields/search/Sort/index.d.ts +1 -0
  191. package/es/components/table/Table/fields/search/index.d.ts +1 -0
  192. package/es/components/table/Table/fields/select/Config/index.d.ts +1 -0
  193. package/es/components/table/Table/fields/select/Show/index.d.ts +1 -0
  194. package/es/components/table/Table/fields/select/Sort/index.d.ts +1 -0
  195. package/es/components/table/Table/fields/select/index.d.ts +1 -0
  196. package/es/components/table/Table/fields/text/Config/index.d.ts +1 -0
  197. package/es/components/table/Table/fields/text/Show/index.d.ts +1 -0
  198. package/es/components/table/Table/fields/text/Sort/index.d.ts +1 -0
  199. package/es/components/table/Table/fields/text/index.d.ts +1 -0
  200. package/es/components/table/Table/fields/treeSelect/Config/index.d.ts +1 -0
  201. package/es/components/table/Table/fields/treeSelect/Show/index.d.ts +1 -0
  202. package/es/components/table/Table/fields/treeSelect/Sort/index.d.ts +1 -0
  203. package/es/components/table/Table/fields/treeSelect/index.d.ts +1 -0
  204. package/es/components/table/Table/index.d.ts +4 -0
  205. package/es/components/table/Table/tableConfig/SortRow/index.d.ts +1 -0
  206. package/es/components/table/Table/utils.d.ts +173 -0
  207. package/es/components/table/TableFilter/SortIcon.d.ts +1 -0
  208. package/es/components/table/View/index.d.ts +1 -0
  209. package/es/components/table/hooks/useTableSetting.d.ts +22 -0
  210. package/es/components/table/hooks/useTransDataSource.d.ts +12 -0
  211. package/es/components/table/types.d.ts +253 -0
  212. package/es/components/tabs/index.d.ts +16 -0
  213. package/es/components/time-picker/index.d.ts +1 -0
  214. package/es/components/upload/index.d.ts +1 -0
  215. package/es/components/versionSelect/index.d.ts +1 -0
  216. package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +1 -0
  217. package/es/components/virtual-keyboard/Number/index.d.ts +1 -0
  218. package/es/components/virtual-keyboard/Time/utils.d.ts +1 -0
  219. package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +1 -0
  220. package/es/components/walletCard/index.d.ts +58 -0
  221. package/es/index.d.ts +141 -0
  222. package/es/locales/en-US.d.ts +239 -0
  223. package/es/locales/index.d.ts +1 -0
  224. package/es/locales/zh-CN.d.ts +234 -0
  225. package/es/locales/zh-TW.d.ts +234 -0
  226. package/es/locales/zh-TW.js +37 -10
  227. package/es/utils/index.d.ts +4 -0
  228. package/lib/components/Pagination/index.d.ts +1 -1
  229. package/lib/components/TimeResourceSelector/index.d.ts +21 -0
  230. package/lib/components/appVersionControl/index.d.ts +1 -0
  231. package/lib/components/auto-complete-number/index.d.ts +1 -0
  232. package/lib/components/badge/index.d.ts +8 -0
  233. package/lib/components/batch-editor/fields/index.d.ts +1 -0
  234. package/lib/components/batch-editor/index.d.ts +1 -0
  235. package/lib/components/buttonGroupEdit/index.d.ts +8 -0
  236. package/lib/components/buttonGroupPreview/index.d.ts +19 -0
  237. package/lib/components/calendar/index.d.ts +1 -0
  238. package/lib/components/cardMetricItem/index.d.ts +12 -0
  239. package/lib/components/cardPro/index.d.ts +4 -0
  240. package/lib/components/checkbox/index.d.ts +1 -0
  241. package/lib/components/classicLayout/index.d.ts +1 -0
  242. package/lib/components/collapse/index.d.ts +15 -0
  243. package/lib/components/config-provider/index.d.ts +1 -0
  244. package/lib/components/cropPhoto/index.d.ts +3 -0
  245. package/lib/components/dataSourceComponents/dataSourceForm/formItem.d.ts +1 -0
  246. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +1 -0
  247. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -0
  248. package/lib/components/dataSourceComponents/dataSourceTable/BaseTable.d.ts +8 -0
  249. package/lib/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +1 -0
  250. package/lib/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +1 -0
  251. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +1 -0
  252. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +1 -0
  253. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +98 -0
  254. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
  255. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +79 -0
  256. package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -0
  257. package/lib/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +1 -0
  258. package/lib/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +1 -0
  259. package/lib/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +1 -0
  260. package/lib/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +1 -0
  261. package/lib/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +1 -0
  262. package/lib/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +1 -0
  263. package/lib/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +24 -0
  264. package/lib/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +1 -0
  265. package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +24 -0
  266. package/lib/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +1 -0
  267. package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  268. package/lib/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +1 -0
  269. package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +1 -0
  270. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -0
  271. package/lib/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +1 -0
  272. package/lib/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +1 -0
  273. package/lib/components/dataSourceComponents/fields/Upload/BaseUpload.d.ts +5 -0
  274. package/lib/components/dataSourceComponents/fields/Upload/BaseUpload.js +0 -1
  275. package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +1 -0
  276. package/lib/components/dataSourceComponents/fields/Upload/WithMode.d.ts +4 -0
  277. package/lib/components/dataSourceComponents/fields/Upload/serve.d.ts +20 -0
  278. package/lib/components/dataSourceComponents/fields/Upload/shopUploadServe.d.ts +56 -0
  279. package/lib/components/dataSourceComponents/fields/Upload/type.d.ts +37 -0
  280. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +18 -0
  281. package/lib/components/dataSourceComponents/fields/index.d.ts +12 -11
  282. package/lib/components/dataSourceComponents/hooks/usePlatform.d.ts +3 -0
  283. package/lib/components/date-picker/datePickerCpt.d.ts +1 -0
  284. package/lib/components/date-picker/index.d.ts +1 -0
  285. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +1 -0
  286. package/lib/components/drag-sort-tree/index.d.ts +4 -0
  287. package/lib/components/dropdown/index.d.ts +1 -0
  288. package/lib/components/filter/index.d.ts +1 -0
  289. package/lib/components/list/index.d.ts +1 -0
  290. package/lib/components/lowCodePage/index.d.ts +1 -0
  291. package/lib/components/page/index.d.ts +1 -0
  292. package/lib/components/picker-view/index.d.ts +2 -0
  293. package/lib/components/pisell-config-provider/index.d.ts +12 -0
  294. package/lib/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +1 -0
  295. package/lib/components/pisellAdjustPrice/index.d.ts +1 -0
  296. package/lib/components/pisellAnchor/index.d.ts +23 -0
  297. package/lib/components/pisellAvatar/index.d.ts +19 -0
  298. package/lib/components/pisellCard/index.d.ts +20 -0
  299. package/lib/components/pisellCustomCheckboxGroup/index.d.ts +16 -0
  300. package/lib/components/pisellDatePicker/datePickerCpt.d.ts +1 -0
  301. package/lib/components/pisellDatePicker/index.d.ts +1 -0
  302. package/lib/components/pisellDropdown/index.d.ts +20 -0
  303. package/lib/components/pisellEmpty/index.d.ts +19 -0
  304. package/lib/components/pisellHeaderProgressBar/index.d.ts +29 -0
  305. package/lib/components/pisellImageCarousels/index.d.ts +18 -0
  306. package/lib/components/pisellInformationEntry/Scan/index.d.ts +1 -0
  307. package/lib/components/pisellInformationEntry/index.d.ts +33 -0
  308. package/lib/components/pisellInput/components/BankCard/index.d.ts +1 -0
  309. package/lib/components/pisellInput/components/Copy/index.d.ts +1 -0
  310. package/lib/components/pisellInput/components/SecurityCode/index.d.ts +1 -0
  311. package/lib/components/pisellInput/index.d.ts +1 -0
  312. package/lib/components/pisellList01/index.d.ts +17 -0
  313. package/lib/components/pisellLoading/index.d.ts +1 -0
  314. package/lib/components/pisellModal/components/IpadModal/index.d.ts +1 -0
  315. package/lib/components/pisellModal/components/MobileModal/index.d.ts +1 -0
  316. package/lib/components/pisellModal/components/index.d.ts +1 -0
  317. package/lib/components/pisellQrcode/index.d.ts +10 -0
  318. package/lib/components/pisellSectionHeaders/index.d.ts +21 -0
  319. package/lib/components/pisellStatisticList/index.d.ts +21 -0
  320. package/lib/components/pisellText/components/Amount/index.d.ts +20 -0
  321. package/lib/components/pisellTooltip/index.d.ts +1 -0
  322. package/lib/components/pisellUpload/index.d.ts +1 -0
  323. package/lib/components/pisellWalletPassCard/index.d.ts +56 -0
  324. package/lib/components/productCard/components/Action/index.d.ts +4 -0
  325. package/lib/components/productCard/components/AmountFooter/index.d.ts +4 -0
  326. package/lib/components/productCard/components/Divider/index.d.ts +4 -0
  327. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +4 -0
  328. package/lib/components/productCard/components/Header/index.d.ts +4 -0
  329. package/lib/components/productCard/components/MultiDay/index.d.ts +4 -0
  330. package/lib/components/productCard/components/MultiDay/utils.d.ts +14 -0
  331. package/lib/components/productCard/components/Note/index.d.ts +4 -0
  332. package/lib/components/productCard/components/Packages/components/collapsibleList/index.d.ts +10 -0
  333. package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +2 -0
  334. package/lib/components/productCard/components/Packages/components/options/index.d.ts +4 -0
  335. package/lib/components/productCard/components/Packages/index.d.ts +4 -0
  336. package/lib/components/productCard/components/Packages/utils.d.ts +20 -0
  337. package/lib/components/productCard/components/Sales/index.d.ts +4 -0
  338. package/lib/components/productCard/components/Time/components/Like/index.d.ts +9 -0
  339. package/lib/components/productCard/components/Time/index.d.ts +4 -0
  340. package/lib/components/productCard/hooks/useOpenNote.d.ts +3 -0
  341. package/lib/components/productCard/index.d.ts +5 -0
  342. package/lib/components/productCard/locales.d.ts +45 -0
  343. package/lib/components/productCard/status.d.ts +32 -0
  344. package/lib/components/productCard/types.d.ts +78 -0
  345. package/lib/components/productCard/utils.d.ts +31 -0
  346. package/lib/components/qrcode/index.d.ts +1 -0
  347. package/lib/components/radio/index.d.ts +1 -0
  348. package/lib/components/record-view/index.d.ts +37 -0
  349. package/lib/components/section-footers/index.d.ts +9 -0
  350. package/lib/components/segmented/index.d.ts +1 -0
  351. package/lib/components/select-time/RightPanel/index.d.ts +1 -0
  352. package/lib/components/select-time/index.d.ts +1 -0
  353. package/lib/components/skeleton/index.d.ts +1 -0
  354. package/lib/components/slider/index.d.ts +1 -0
  355. package/lib/components/sort/components/InlineMenu/index.d.ts +1 -0
  356. package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +1 -0
  357. package/lib/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +1 -0
  358. package/lib/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +1 -0
  359. package/lib/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +1 -0
  360. package/lib/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +1 -0
  361. package/lib/components/table/Actions/component/ExportImport/index.d.ts +8 -0
  362. package/lib/components/table/Actions/component/ExportImport/utils/index.d.ts +9 -0
  363. package/lib/components/table/Actions/component/GallerySetting/index.d.ts +1 -0
  364. package/lib/components/table/Actions/component/Group/PopoverContent.d.ts +1 -0
  365. package/lib/components/table/Actions/component/Group/index.d.ts +1 -0
  366. package/lib/components/table/Actions/component/ViewMode/index.d.ts +1 -0
  367. package/lib/components/table/Actions/index.d.ts +1 -0
  368. package/lib/components/table/BasicTable/index.d.ts +1 -0
  369. package/lib/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +1 -0
  370. package/lib/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +1 -0
  371. package/lib/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +1 -0
  372. package/lib/components/table/Gallery/components/GalleryItem/index.d.ts +14 -0
  373. package/lib/components/table/Gallery/index.d.ts +5 -0
  374. package/lib/components/table/Summary/index.d.ts +1 -0
  375. package/lib/components/table/Table/fields/date/Config/index.d.ts +1 -0
  376. package/lib/components/table/Table/fields/date/Show/index.d.ts +1 -0
  377. package/lib/components/table/Table/fields/date/Sort/index.d.ts +1 -0
  378. package/lib/components/table/Table/fields/date/index.d.ts +1 -0
  379. package/lib/components/table/Table/fields/image/Config/index.d.ts +1 -0
  380. package/lib/components/table/Table/fields/image/Show/index.d.ts +1 -0
  381. package/lib/components/table/Table/fields/image/Sort/index.d.ts +1 -0
  382. package/lib/components/table/Table/fields/image/index.d.ts +1 -0
  383. package/lib/components/table/Table/fields/index.d.ts +1 -0
  384. package/lib/components/table/Table/fields/link/Config/index.d.ts +1 -0
  385. package/lib/components/table/Table/fields/link/Show/index.d.ts +1 -0
  386. package/lib/components/table/Table/fields/link/Sort/index.d.ts +1 -0
  387. package/lib/components/table/Table/fields/link/index.d.ts +1 -0
  388. package/lib/components/table/Table/fields/number/Config/index.d.ts +1 -0
  389. package/lib/components/table/Table/fields/number/Show/index.d.ts +1 -0
  390. package/lib/components/table/Table/fields/number/Sort/index.d.ts +1 -0
  391. package/lib/components/table/Table/fields/number/index.d.ts +1 -0
  392. package/lib/components/table/Table/fields/numberRange/Config/index.d.ts +1 -0
  393. package/lib/components/table/Table/fields/numberRange/Show/index.d.ts +1 -0
  394. package/lib/components/table/Table/fields/numberRange/Sort/index.d.ts +1 -0
  395. package/lib/components/table/Table/fields/numberRange/index.d.ts +1 -0
  396. package/lib/components/table/Table/fields/oldRangePicker/Config/index.d.ts +1 -0
  397. package/lib/components/table/Table/fields/oldRangePicker/Show/index.d.ts +1 -0
  398. package/lib/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +1 -0
  399. package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +1 -0
  400. package/lib/components/table/Table/fields/pSwitch/Config/index.d.ts +1 -0
  401. package/lib/components/table/Table/fields/pSwitch/Show/index.d.ts +1 -0
  402. package/lib/components/table/Table/fields/pSwitch/Sort/index.d.ts +1 -0
  403. package/lib/components/table/Table/fields/pSwitch/index.d.ts +1 -0
  404. package/lib/components/table/Table/fields/rangePicker/Config/index.d.ts +1 -0
  405. package/lib/components/table/Table/fields/rangePicker/Show/index.d.ts +1 -0
  406. package/lib/components/table/Table/fields/rangePicker/Sort/index.d.ts +1 -0
  407. package/lib/components/table/Table/fields/rangePicker/index.d.ts +1 -0
  408. package/lib/components/table/Table/fields/search/Config/index.d.ts +1 -0
  409. package/lib/components/table/Table/fields/search/Show/index.d.ts +1 -0
  410. package/lib/components/table/Table/fields/search/Sort/index.d.ts +1 -0
  411. package/lib/components/table/Table/fields/search/index.d.ts +1 -0
  412. package/lib/components/table/Table/fields/select/Config/index.d.ts +1 -0
  413. package/lib/components/table/Table/fields/select/Show/index.d.ts +1 -0
  414. package/lib/components/table/Table/fields/select/Sort/index.d.ts +1 -0
  415. package/lib/components/table/Table/fields/select/index.d.ts +1 -0
  416. package/lib/components/table/Table/fields/text/Config/index.d.ts +1 -0
  417. package/lib/components/table/Table/fields/text/Show/index.d.ts +1 -0
  418. package/lib/components/table/Table/fields/text/Sort/index.d.ts +1 -0
  419. package/lib/components/table/Table/fields/text/index.d.ts +1 -0
  420. package/lib/components/table/Table/fields/treeSelect/Config/index.d.ts +1 -0
  421. package/lib/components/table/Table/fields/treeSelect/Show/index.d.ts +1 -0
  422. package/lib/components/table/Table/fields/treeSelect/Sort/index.d.ts +1 -0
  423. package/lib/components/table/Table/fields/treeSelect/index.d.ts +1 -0
  424. package/lib/components/table/Table/index.d.ts +4 -0
  425. package/lib/components/table/Table/tableConfig/SortRow/index.d.ts +1 -0
  426. package/lib/components/table/Table/utils.d.ts +173 -0
  427. package/lib/components/table/TableFilter/SortIcon.d.ts +1 -0
  428. package/lib/components/table/View/index.d.ts +1 -0
  429. package/lib/components/table/hooks/useTableSetting.d.ts +22 -0
  430. package/lib/components/table/hooks/useTransDataSource.d.ts +12 -0
  431. package/lib/components/table/types.d.ts +253 -0
  432. package/lib/components/tabs/index.d.ts +16 -0
  433. package/lib/components/time-picker/index.d.ts +1 -0
  434. package/lib/components/upload/index.d.ts +1 -0
  435. package/lib/components/versionSelect/index.d.ts +1 -0
  436. package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +1 -0
  437. package/lib/components/virtual-keyboard/Number/index.d.ts +1 -0
  438. package/lib/components/virtual-keyboard/Time/utils.d.ts +1 -0
  439. package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +1 -0
  440. package/lib/components/walletCard/index.d.ts +58 -0
  441. package/lib/index.d.ts +141 -0
  442. package/lib/locales/en-US.d.ts +239 -0
  443. package/lib/locales/index.d.ts +1 -0
  444. package/lib/locales/zh-CN.d.ts +234 -0
  445. package/lib/locales/zh-TW.d.ts +234 -0
  446. package/lib/locales/zh-TW.js +0 -7
  447. package/lib/utils/index.d.ts +4 -0
  448. package/package.json +3 -3
@@ -0,0 +1,79 @@
1
+ /// <reference types="react" />
2
+ import { ColumnType } from 'antd/es/table';
3
+ import { DataSourceType } from '../provider/dataSource/DataSourceContext';
4
+ export declare type OperationItem = {
5
+ label?: string;
6
+ openMode: 'modal' | 'drawer' | 'custom';
7
+ openContentSize: 'small' | 'middle' | 'large';
8
+ openTitle: string;
9
+ actionType: 'detail' | 'edit' | 'delete' | 'custom';
10
+ key: string;
11
+ buttonProps?: any;
12
+ onClick?: (record: any) => void;
13
+ };
14
+ export interface DataSourceTableProps {
15
+ title?: string | React.ReactNode | (() => React.ReactNode);
16
+ subTitle?: string | React.ReactNode | (() => React.ReactNode);
17
+ titleButtons?: {
18
+ show: boolean;
19
+ maxCount: number;
20
+ items: OperationItem[];
21
+ };
22
+ tableButtons?: {
23
+ show: boolean;
24
+ maxCount: number;
25
+ items: OperationItem[];
26
+ };
27
+ buttons?: any[];
28
+ operation?: {
29
+ show: boolean;
30
+ title: string;
31
+ width: number;
32
+ align: 'left' | 'center' | 'right';
33
+ fixed: 'left' | 'right' | false;
34
+ type: 'link' | 'button';
35
+ items: OperationItem[];
36
+ };
37
+ operationContent?: {
38
+ [key: string]: React.ReactNode;
39
+ };
40
+ dataSource: DataSourceType;
41
+ columns: ColumnType<any>[];
42
+ filter: any;
43
+ search?: {
44
+ show: boolean;
45
+ placeholder: string;
46
+ };
47
+ __designMode: string;
48
+ componentId: string;
49
+ clickToDetail?: {
50
+ show: boolean;
51
+ useCustomAction: boolean;
52
+ actionType: string;
53
+ openMode: 'modal' | 'drawer';
54
+ openContentSize: 'small' | 'middle' | 'large';
55
+ openTitle: string;
56
+ key: string;
57
+ };
58
+ onRow?: any;
59
+ filterBy?: Record<string, any>;
60
+ sortBy: string;
61
+ tabs?: {
62
+ show: boolean;
63
+ type: string;
64
+ items: {
65
+ name: string;
66
+ filterBy: Record<string, any>;
67
+ sortBy: string;
68
+ }[];
69
+ };
70
+ onValuesChange?: (changedValues: any, values: any) => void;
71
+ onDeleteFinish?: (record: Record<string, any>) => void;
72
+ extraParams?: {
73
+ list?: Record<string, any>;
74
+ get?: Record<string, any>;
75
+ update?: Record<string, any>;
76
+ create?: Record<string, any>;
77
+ destroy?: Record<string, any>;
78
+ };
79
+ }
@@ -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;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ColorPickerProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const ColorPickerReadPretty: (props: ColorPickerProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { DateRangePickerProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const DateRangePickerReadPretty: (props: DateRangePickerProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { IconSelectProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const IconSelectReadPretty: (props: IconSelectProps) => JSX.Element | null;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InputProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const InputReadPretty: (props: InputProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InputProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const InputReadPretty: (props: InputProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { JsonProps } from "./type";
2
3
  import "./ReadPretty.less";
3
4
  declare const JsonReadPretty: (props: JsonProps) => JSX.Element | null;
@@ -0,0 +1,24 @@
1
+ /**
2
+ * 获取nocobase数据列表
3
+ */
4
+ export declare const getCountryDataList: () => Promise<any>;
5
+ export interface Country {
6
+ id: number;
7
+ name: {
8
+ en: string;
9
+ "zh-CN": string;
10
+ "zh-HK": string;
11
+ original: string;
12
+ };
13
+ code: string;
14
+ calling_code: string;
15
+ currency_code: string;
16
+ sort: number;
17
+ status: string;
18
+ created_at: string;
19
+ updated_at: string;
20
+ prefix: string;
21
+ }
22
+ export declare const useCountries: () => {
23
+ data: Country[];
24
+ };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PasswordProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const PasswordReadPretty: (props: PasswordProps) => JSX.Element;
@@ -0,0 +1,24 @@
1
+ /**
2
+ * 获取nocobase数据列表
3
+ */
4
+ export declare const getCountryDataList: () => Promise<any>;
5
+ export interface Country {
6
+ id: number;
7
+ name: {
8
+ en: string;
9
+ "zh-CN": string;
10
+ "zh-HK": string;
11
+ original: string;
12
+ };
13
+ code: string;
14
+ calling_code: string;
15
+ currency_code: string;
16
+ sort: number;
17
+ status: string;
18
+ created_at: string;
19
+ updated_at: string;
20
+ prefix: string;
21
+ }
22
+ export declare const useCountries: () => {
23
+ data: Country[];
24
+ };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InputProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const InputReadPretty: (props: InputProps) => JSX.Element;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  declare const Subdomain: React.FC<import("antd").InputProps & {
3
3
  onChange: (value: string) => void;
4
4
  onBlur?: ((e: React.FocusEvent<HTMLInputElement, Element>) => void) | undefined;
5
- rootDomain: "custom" | "xzero" | "saas";
5
+ rootDomain: "custom" | "saas" | "xzero";
6
6
  customDomain?: string | undefined;
7
7
  value?: string | undefined;
8
8
  tenantId: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { TextAreaProps } from "./type";
2
3
  import "./ReadPretty.less";
3
4
  declare const TextAreaReadPretty: (props: TextAreaProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { UrlProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  export declare const formatUrl: (url: string) => string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const SelectWithDataSource: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps & {
2
3
  options?: any;
3
4
  optionSourceType?: "default" | "custom" | "api" | undefined;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { TimePickerProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const TimePickerReadPretty: (props: TimePickerProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { TranslationProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const TranslationReadPretty: (props: TranslationProps) => JSX.Element;
@@ -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;
@@ -69,7 +69,6 @@ var BaseUpload = (props) => {
69
69
  getHeaders: propsGetHeaders,
70
70
  ...restProps
71
71
  } = props;
72
- console.log(typeMaxSizeMap, "typeMaxSizeMap");
73
72
  const isShop = (0, import_usePlatform.useIsShop)();
74
73
  const [fileList, setFileList] = (0, import_react.useState)([]);
75
74
  const [previewImage, setPreviewImage] = (0, import_react.useState)("");
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { UploadProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const UploadReadPretty: (props: UploadProps) => JSX.Element | null;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { UploadProps } from './type';
3
+ declare const UploadWithMode: React.FC<UploadProps & import("../../dataSourceForm/utils").WithModeProps>;
4
+ export default UploadWithMode;
@@ -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
+ };
@@ -0,0 +1,56 @@
1
+ import { RcFile } from 'antd/es/upload';
2
+ export declare const filetypes: Record<string, any>;
3
+ /**
4
+ * @Title: 获取 阿里云 Signature
5
+ * @Describe:
6
+ * @Author: Wzw
7
+ */
8
+ export declare const getPolicy: () => Promise<any>;
9
+ export declare const getPolicyFile: () => Promise<any>;
10
+ /**
11
+ * @Title: 获取图片尺寸
12
+ * @Describe:
13
+ * @Author: Wzw
14
+ * @param {*} async
15
+ */
16
+ export declare const getImageWidth: (file: any) => Promise<{
17
+ width: number;
18
+ height: number;
19
+ }>;
20
+ /**
21
+ * @Title: 重新生成文件名
22
+ * @Describe:
23
+ * @Author: Wzw
24
+ * @param {string} file
25
+ */
26
+ export declare const formatFileName: (file?: any) => Promise<string>;
27
+ export declare const uploadFileAli: (file: any) => Promise<any>;
28
+ /**
29
+ * @Title: base64转file
30
+ * @Describe:
31
+ * @Author: Wzw
32
+ * @param {any} dataurl
33
+ * @param {string} filename
34
+ */
35
+ export declare const dataURLtoFile: (dataurl: any, filename: string) => File;
36
+ /**
37
+ * @Title: 获取视频封面
38
+ * @Describe:
39
+ * @Author: Wzw
40
+ * @param {any} file
41
+ */
42
+ export declare const getVideoCover: (file: any) => Promise<unknown>;
43
+ /**
44
+ * @Title: 获取腾讯云 Signature
45
+ * @Describe:
46
+ * @Author: Wzw
47
+ */
48
+ export declare const getSignature: () => Promise<any>;
49
+ /**
50
+ * @Title: 上传到腾讯云
51
+ * @Describe:
52
+ * @Author: Wzw
53
+ * @param {any} file
54
+ */
55
+ export declare const uploadFileTencent: (file: any) => Promise<unknown>;
56
+ export declare const uploadFile: (file: RcFile) => Promise<any>;
@@ -0,0 +1,37 @@
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
+ }
@@ -0,0 +1,18 @@
1
+ import { RcFile, UploadFile } from 'antd/es/upload/interface';
2
+ import type { MediaMetadata, FileCountValidation, ValidationResult, MultilingualFile, FileListOptions, UploadValue, SingleMultilingualValue } from './types';
3
+ export declare const generateUid: () => string;
4
+ export declare const getSuffix: (name: string) => string;
5
+ export declare const getPointSuffix: (name: string) => string;
6
+ export declare const getFileType: (name: string) => string;
7
+ export declare const getFileName: (url: string) => string;
8
+ export declare const checkFileCount: ({ multiple, minCount, maxCount, valueLength, }: FileCountValidation) => ValidationResult;
9
+ export declare const getMediaMetadata: (file: RcFile) => Promise<MediaMetadata | null>;
10
+ export declare const genFileListByString: (value: string) => UploadFile[];
11
+ export declare const createMultilingualData: (value: string) => SingleMultilingualValue;
12
+ export declare const createMultilingualFileList: (value: string) => Record<string, UploadFile<any>[]>;
13
+ export declare const getDefaultFileList: (value: UploadValue | undefined, options: FileListOptions) => MultilingualFile[];
14
+ export declare const getFileMetadataParams: (file: RcFile & {
15
+ metadata?: MediaMetadata;
16
+ }) => Record<string, any>;
17
+ export declare const isValueEqual: (value: any, fileListValue: any) => boolean;
18
+ export declare const getBaseTime: (size: number) => 2000 | 1000 | 4000 | 8000;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const formFieldMap: {
2
3
  FormItemCheckbox: import("react").FC<{}> & {
3
4
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
@@ -19,7 +20,7 @@ declare const formFieldMap: {
19
20
  Subdomain: import("react").FC<import("antd").InputProps & {
20
21
  onChange: (value: string) => void;
21
22
  onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
22
- rootDomain: "custom" | "xzero" | "saas";
23
+ rootDomain: "custom" | "saas" | "xzero";
23
24
  customDomain?: string | undefined;
24
25
  value?: string | undefined;
25
26
  tenantId: string;
@@ -59,7 +60,13 @@ declare const formFieldMap: {
59
60
  FormItemTranslation: import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
60
61
  FormItemIconSelect: import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
61
62
  };
62
- declare const getFieldComponent: (fieldComponent: string) => (import("react").FC<import("./Input/type").InputProps> & {
63
+ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<any> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
64
+ Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
65
+ } & {
66
+ Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
67
+ }) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<(import("antd").DatePickerProps & 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("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & {
68
+ onChange: (value: string) => void;
69
+ } & 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("./Input/type").InputProps> & {
63
70
  JSON: import("react").FC<any>;
64
71
  Password: import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
65
72
  TextArea: import("react").FC<import("antd/es/input").TextAreaProps & import("react").RefAttributes<import("antd/es/input/TextArea").TextAreaRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
@@ -72,18 +79,14 @@ declare const getFieldComponent: (fieldComponent: string) => (import("react").FC
72
79
  Subdomain: import("react").FC<import("antd").InputProps & {
73
80
  onChange: (value: string) => void;
74
81
  onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
75
- rootDomain: "custom" | "xzero" | "saas";
82
+ rootDomain: "custom" | "saas" | "xzero";
76
83
  customDomain?: string | undefined;
77
84
  value?: string | undefined;
78
85
  tenantId: string;
79
86
  name?: string | undefined;
80
87
  fieldKey?: string | undefined;
81
88
  } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
82
- }) | import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<{}> & {
83
- Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
84
- } & {
85
- Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
86
- }) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<(import("antd").DatePickerProps & import("../dataSourceForm/utils").WithModeProps) & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<{}> & {
89
+ }) | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
87
90
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
88
91
  } & {
89
92
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
@@ -95,7 +98,5 @@ declare const getFieldComponent: (fieldComponent: string) => (import("react").FC
95
98
  extraParams?: Record<string, any> | undefined;
96
99
  } & {
97
100
  dataSource?: any;
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
- onChange: (value: string) => void;
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>;
101
+ }) => JSX.Element) | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | 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
102
  export { getFieldComponent, formFieldMap };
@@ -0,0 +1,3 @@
1
+ declare const usePlatform: () => any;
2
+ declare const useIsShop: () => boolean;
3
+ export { usePlatform, useIsShop };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PickerDateProps } from 'antd/es/date-picker/generatePicker';
2
3
  import { Dayjs } from 'dayjs';
3
4
  import './index.less';
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const DatePicker: (props: any) => JSX.Element;
2
3
  export default DatePicker;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  import { ValueProps, SortType } from '../types';
3
4
  declare type IdType = string | number;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { SortType } from './types';
3
+ declare const DragSortTree: (props: SortType) => JSX.Element;
4
+ export default DragSortTree;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Dropdown: (props: any) => JSX.Element;
2
3
  export default Dropdown;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FilterProps } from "./types";
2
3
  declare const Filter: (props: FilterProps) => JSX.Element | null;
3
4
  export default Filter;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const List: {
3
4
  (props: any): JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare type LowCodePageProps = {
2
3
  id: number;
3
4
  };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ConfigProviderProps } from '../config-provider';
2
3
  interface PageProps extends ConfigProviderProps {
3
4
  }
@@ -0,0 +1,2 @@
1
+ import { PickerView } from 'antd-mobile';
2
+ export default PickerView;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { PisellContextType } from './context';
3
+ interface PisellConfigProviderType {
4
+ platform?: PisellContextType['platform'];
5
+ children: React.ReactNode;
6
+ /** 货币符号 */
7
+ symbol?: string;
8
+ /** 当前语言环境 */
9
+ locale?: string;
10
+ }
11
+ declare const PisellConfigProvider: React.FC<PisellConfigProviderType>;
12
+ export default PisellConfigProvider;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InputNumberProps } from 'antd/es/input-number';
2
3
  export interface PisellAdjustPriceInputNumberProps extends Omit<InputNumberProps, 'onChange'> {
3
4
  value?: number;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  export interface PisellAdjustPriceProps {
3
4
  value?: number;
@@ -0,0 +1,23 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export interface Option {
4
+ id: string | number;
5
+ name: React.ReactNode;
6
+ }
7
+ export interface PisellAnchorProps {
8
+ options?: Option[];
9
+ tab?: string | number;
10
+ className?: string;
11
+ style?: React.CSSProperties;
12
+ onChange?: (key: string | number) => void;
13
+ onTabClick?: () => void;
14
+ containerRef?: React.RefObject<HTMLElement>;
15
+ /**
16
+ * 平台类型,仅用于样式调整,不再影响锚点滚动功能
17
+ * 无论pc还是h5模式,点击锚点都会自动滚动到对应内容
18
+ * @default 'pc'
19
+ */
20
+ platform?: 'pc' | 'h5';
21
+ }
22
+ declare const PisellAnchor: React.ForwardRefExoticComponent<PisellAnchorProps & React.RefAttributes<any>>;
23
+ export default PisellAnchor;
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import type { AvatarProps } from 'antd';
3
+ import './index.less';
4
+ export declare type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
5
+ export interface PisellAvatarProps extends Omit<AvatarProps, 'size' | 'shape'> {
6
+ shape?: 'circle' | 'square';
7
+ size?: AvatarSize;
8
+ src?: string;
9
+ alt?: string;
10
+ icon?: React.ReactNode;
11
+ children?: React.ReactNode;
12
+ className?: string;
13
+ style?: React.CSSProperties;
14
+ useTextAvatar?: boolean;
15
+ borderRadius?: number;
16
+ onError?: () => boolean;
17
+ }
18
+ declare const PisellAvatar: React.FC<PisellAvatarProps>;
19
+ export default PisellAvatar;
@@ -0,0 +1,20 @@
1
+ /// <reference types="react" />
2
+ import { CardProps } from 'antd';
3
+ import './index.less';
4
+ export interface PisellCardProps extends CardProps {
5
+ bordered?: boolean;
6
+ selected?: boolean;
7
+ loading?: boolean;
8
+ padding?: number;
9
+ borderRadius?: number;
10
+ disabled?: boolean;
11
+ onClick?: () => void;
12
+ isClickable?: boolean;
13
+ }
14
+ /**
15
+ * Pisell 卡片容器组件
16
+ * @param props
17
+ * @constructor
18
+ */
19
+ declare const PisellCard: (props: PisellCardProps) => JSX.Element;
20
+ export default PisellCard;
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export interface PisellCustomCheckboxGroupProps {
4
+ dataSource?: any[];
5
+ disabled?: boolean;
6
+ allowAdd?: boolean;
7
+ isMultiple?: boolean;
8
+ id?: string | string[];
9
+ onClick?: (value: any) => void;
10
+ onAdd?: () => void;
11
+ renderAddItem?: (item: any) => React.ReactNode;
12
+ [key: string]: any;
13
+ className?: string;
14
+ }
15
+ declare const PisellCustomCheckboxGroup: React.FC<PisellCustomCheckboxGroupProps>;
16
+ export default PisellCustomCheckboxGroup;