@pisell/materials 6.4.19 → 6.4.20

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 (355) 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 +7 -7
  6. package/build/lowcode/preview.js +143 -143
  7. package/build/lowcode/render/default/view.js +21 -21
  8. package/build/lowcode/view.js +22 -22
  9. package/es/components/appVersionControl/index.d.ts +5 -0
  10. package/es/components/auto-complete-number/index.d.ts +0 -1
  11. package/es/components/auto-resize-text/auto-text-size-standalone.d.ts +20 -0
  12. package/es/components/auto-resize-text/index.d.ts +6 -0
  13. package/es/components/badge/index.d.ts +0 -1
  14. package/es/components/batch-editor/fields/index.d.ts +0 -1
  15. package/es/components/calendar/index.d.ts +0 -1
  16. package/es/components/cardPro/index.d.ts +3 -0
  17. package/es/components/checkbox/index.d.ts +0 -1
  18. package/es/components/classicLayout/index.d.ts +0 -1
  19. package/es/components/colorPicker/index.d.ts +0 -1
  20. package/es/components/config-provider/index.d.ts +0 -1
  21. package/es/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +3 -0
  22. package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +39 -0
  23. package/es/components/dataSourceComponents/dataSourceTable/BaseTable.d.ts +8 -0
  24. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
  25. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +39 -0
  26. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +100 -0
  27. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +84 -0
  28. package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  29. package/es/components/dataSourceComponents/fields/index.d.ts +11 -11
  30. package/es/components/dataSourceComponents/hooks/useActions.d.ts +18 -0
  31. package/es/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +12 -0
  32. package/es/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +4 -0
  33. package/es/components/drag-sort-tree/index.d.ts +4 -0
  34. package/es/components/dropdown/index.d.ts +0 -1
  35. package/es/components/filter/components/items/index.d.ts +0 -1
  36. package/es/components/filter/components/items/text/Editor/index.d.ts +0 -1
  37. package/es/components/filter/components/items/text/Preview/index.d.ts +0 -1
  38. package/es/components/filter/components/items/text/index.d.ts +0 -1
  39. package/es/components/iconfont/index.js +1 -1
  40. package/es/components/keyboard/index.d.ts +22 -0
  41. package/es/components/login-and-register/index.d.ts +82 -0
  42. package/es/components/page/index.d.ts +5 -0
  43. package/es/components/pisell-config-provider/context.d.ts +22 -0
  44. package/es/components/pisell-config-provider/index.d.ts +13 -0
  45. package/es/components/pisell-config-provider/index.js +0 -1
  46. package/es/components/pisellAdjustPrice/type.d.ts +22 -0
  47. package/es/components/pisellCard/index.d.ts +0 -1
  48. package/es/components/pisellCardList/index.d.ts +4 -0
  49. package/es/components/pisellCardList/index.js +5 -1
  50. package/es/components/pisellCheckboxGroup/index.d.ts +40 -0
  51. package/es/components/pisellDatePicker/datePickerCpt.d.ts +0 -1
  52. package/es/components/pisellInformationEntry/Scan/index.d.ts +0 -1
  53. package/es/components/pisellInput/components/BankCard/index.d.ts +0 -1
  54. package/es/components/pisellInput/components/Copy/index.d.ts +0 -1
  55. package/es/components/pisellInput/components/SecurityCode/index.d.ts +0 -1
  56. package/es/components/pisellInput/index.d.ts +0 -1
  57. package/es/components/pisellQrcode/index.d.ts +10 -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/renderImperatively.d.ts +29 -0
  63. package/es/components/pisellToast/squareToast/toast.d.ts +25 -0
  64. package/es/components/pisellTooltip/index.d.ts +0 -1
  65. package/es/components/pisellUpload/index.d.ts +0 -1
  66. package/es/components/pisellWalletPassCard/index.d.ts +4 -0
  67. package/es/components/pisellWalletPassCard/index.js +17 -4
  68. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +3 -0
  69. package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +3 -0
  70. package/es/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +14 -0
  71. package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +3 -0
  72. package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +27 -0
  73. package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +2 -0
  74. package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +3 -0
  75. package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +10 -0
  76. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +20 -0
  77. package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +3 -0
  78. package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +12 -0
  79. package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +3 -0
  80. package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +46 -0
  81. package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +6 -0
  82. package/es/components/productCard/cartSkuCard/index.d.ts +10 -0
  83. package/es/components/productCard/cartSkuCard/locales.d.ts +96 -0
  84. package/es/components/productCard/components/Action/index.d.ts +3 -0
  85. package/es/components/productCard/components/Divider/index.d.ts +0 -1
  86. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +3 -0
  87. package/es/components/productCard/components/Header/index.d.ts +3 -0
  88. package/es/components/productCard/components/Packages/utils.d.ts +1 -1
  89. package/es/components/productCard/components/Sales/index.d.ts +3 -0
  90. package/es/components/productCard/components/Time/components/Like/index.d.ts +0 -1
  91. package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +4 -0
  92. package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +13 -0
  93. package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +1 -0
  94. package/es/components/productCard/components/Time/index.d.ts +4 -0
  95. package/es/components/productCard/locales.d.ts +84 -0
  96. package/es/components/productCard/status.d.ts +32 -0
  97. package/es/components/productCard/types.d.ts +84 -0
  98. package/es/components/radio/index.d.ts +0 -1
  99. package/es/components/segmented/index.d.ts +0 -1
  100. package/es/components/select-time/RightPanel/index.d.ts +0 -1
  101. package/es/components/skeleton/index.d.ts +0 -1
  102. package/es/components/slider/index.d.ts +0 -1
  103. package/es/components/sort/components/InlineMenu/index.d.ts +0 -1
  104. package/es/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +0 -1
  105. package/es/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +0 -1
  106. package/es/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +0 -1
  107. package/es/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +0 -1
  108. package/es/components/table/Actions/component/ExportImport/index.d.ts +1 -0
  109. package/es/components/table/Actions/component/Group/index.d.ts +1 -0
  110. package/es/components/table/Actions/component/ViewMode/index.d.ts +0 -1
  111. package/es/components/table/Gallery/components/GalleryItem/index.d.ts +14 -0
  112. package/es/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  113. package/es/components/table/Gallery/index.d.ts +5 -0
  114. package/es/components/table/Summary/index.d.ts +0 -1
  115. package/es/components/table/Table/AddFieldModal/index.d.ts +4 -0
  116. package/es/components/table/Table/fields/date/Config/index.d.ts +0 -1
  117. package/es/components/table/Table/fields/date/Sort/index.d.ts +0 -1
  118. package/es/components/table/Table/fields/image/Config/index.d.ts +0 -1
  119. package/es/components/table/Table/fields/image/Sort/index.d.ts +0 -1
  120. package/es/components/table/Table/fields/index.d.ts +2 -2
  121. package/es/components/table/Table/fields/link/Config/index.d.ts +0 -1
  122. package/es/components/table/Table/fields/link/Sort/index.d.ts +0 -1
  123. package/es/components/table/Table/fields/number/Config/index.d.ts +0 -1
  124. package/es/components/table/Table/fields/number/Sort/index.d.ts +0 -1
  125. package/es/components/table/Table/fields/numberRange/Config/index.d.ts +0 -1
  126. package/es/components/table/Table/fields/numberRange/Sort/index.d.ts +0 -1
  127. package/es/components/table/Table/fields/oldRangePicker/Config/index.d.ts +0 -1
  128. package/es/components/table/Table/fields/oldRangePicker/Show/index.d.ts +0 -1
  129. package/es/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +0 -1
  130. package/es/components/table/Table/fields/pSwitch/Config/index.d.ts +0 -1
  131. package/es/components/table/Table/fields/pSwitch/Sort/index.d.ts +0 -1
  132. package/es/components/table/Table/fields/rangePicker/Config/index.d.ts +0 -1
  133. package/es/components/table/Table/fields/rangePicker/Show/index.d.ts +0 -1
  134. package/es/components/table/Table/fields/rangePicker/Sort/index.d.ts +0 -1
  135. package/es/components/table/Table/fields/search/Config/index.d.ts +0 -1
  136. package/es/components/table/Table/fields/search/Sort/index.d.ts +0 -1
  137. package/es/components/table/Table/fields/select/Config/index.d.ts +0 -1
  138. package/es/components/table/Table/fields/select/Show/index.d.ts +0 -1
  139. package/es/components/table/Table/fields/select/Sort/index.d.ts +0 -1
  140. package/es/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  141. package/es/components/table/Table/fields/text/Config/index.d.ts +0 -1
  142. package/es/components/table/Table/fields/text/Sort/index.d.ts +0 -1
  143. package/es/components/table/Table/fields/treeSelect/Config/index.d.ts +0 -1
  144. package/es/components/table/Table/fields/treeSelect/Show/index.d.ts +0 -1
  145. package/es/components/table/Table/fields/treeSelect/Sort/index.d.ts +0 -1
  146. package/es/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  147. package/es/components/table/Table/tableConfig/summary/index.d.ts +0 -1
  148. package/es/components/table/Table/utils.d.ts +161 -0
  149. package/es/components/table/hooks/useTableSetting.d.ts +21 -0
  150. package/es/components/table/hooks/useTransDataSource.d.ts +11 -0
  151. package/es/components/table/types.d.ts +268 -0
  152. package/es/components/time-picker/index.d.ts +0 -1
  153. package/es/components/translation/index.d.ts +14 -0
  154. package/es/components/upload/index.d.ts +0 -1
  155. package/es/components/versionModal/index.d.ts +23 -0
  156. package/es/components/virtual-keyboard/Amount/index.d.ts +1 -0
  157. package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +15 -0
  158. package/es/components/virtual-keyboard/Number/index.d.ts +0 -1
  159. package/es/components/virtual-keyboard/Number/types.d.ts +26 -0
  160. package/es/components/virtual-keyboard/Time/utils.d.ts +0 -1
  161. package/es/components/virtual-keyboard/index.d.ts +25 -0
  162. package/es/components/virtualInput/BaseVirtualInput/index.d.ts +40 -0
  163. package/es/components/virtualInput/index.d.ts +24 -0
  164. package/es/components/walletCard/Guest/index.d.ts +0 -1
  165. package/es/components/walletCard/Guide/index.d.ts +0 -1
  166. package/es/locales/en-US.d.ts +1 -0
  167. package/es/locales/en-US.js +1 -0
  168. package/es/locales/zh-CN.d.ts +1 -0
  169. package/es/locales/zh-CN.js +1 -0
  170. package/es/locales/zh-TW.d.ts +1 -0
  171. package/es/locales/zh-TW.js +1 -0
  172. package/es/utils/index.d.ts +1 -1
  173. package/es/utils/platform.d.ts +1 -1
  174. package/lib/components/appVersionControl/index.d.ts +5 -0
  175. package/lib/components/auto-complete-number/index.d.ts +0 -1
  176. package/lib/components/auto-resize-text/auto-text-size-standalone.d.ts +20 -0
  177. package/lib/components/auto-resize-text/index.d.ts +6 -0
  178. package/lib/components/badge/index.d.ts +0 -1
  179. package/lib/components/batch-editor/fields/index.d.ts +0 -1
  180. package/lib/components/calendar/index.d.ts +0 -1
  181. package/lib/components/cardPro/index.d.ts +3 -0
  182. package/lib/components/checkbox/index.d.ts +0 -1
  183. package/lib/components/classicLayout/index.d.ts +0 -1
  184. package/lib/components/colorPicker/index.d.ts +0 -1
  185. package/lib/components/config-provider/index.d.ts +0 -1
  186. package/lib/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +3 -0
  187. package/lib/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +39 -0
  188. package/lib/components/dataSourceComponents/dataSourceTable/BaseTable.d.ts +8 -0
  189. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
  190. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +39 -0
  191. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +100 -0
  192. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +84 -0
  193. package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  194. package/lib/components/dataSourceComponents/fields/index.d.ts +11 -11
  195. package/lib/components/dataSourceComponents/hooks/useActions.d.ts +18 -0
  196. package/lib/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +12 -0
  197. package/lib/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +4 -0
  198. package/lib/components/drag-sort-tree/index.d.ts +4 -0
  199. package/lib/components/dropdown/index.d.ts +0 -1
  200. package/lib/components/filter/components/items/index.d.ts +0 -1
  201. package/lib/components/filter/components/items/text/Editor/index.d.ts +0 -1
  202. package/lib/components/filter/components/items/text/Preview/index.d.ts +0 -1
  203. package/lib/components/filter/components/items/text/index.d.ts +0 -1
  204. package/lib/components/iconfont/index.js +1 -1
  205. package/lib/components/keyboard/index.d.ts +22 -0
  206. package/lib/components/login-and-register/index.d.ts +82 -0
  207. package/lib/components/page/index.d.ts +5 -0
  208. package/lib/components/pisell-config-provider/context.d.ts +22 -0
  209. package/lib/components/pisell-config-provider/index.d.ts +13 -0
  210. package/lib/components/pisell-config-provider/index.js +0 -1
  211. package/lib/components/pisellAdjustPrice/type.d.ts +22 -0
  212. package/lib/components/pisellCard/index.d.ts +0 -1
  213. package/lib/components/pisellCardList/index.d.ts +4 -0
  214. package/lib/components/pisellCardList/index.js +5 -1
  215. package/lib/components/pisellCheckboxGroup/index.d.ts +40 -0
  216. package/lib/components/pisellDatePicker/datePickerCpt.d.ts +0 -1
  217. package/lib/components/pisellInformationEntry/Scan/index.d.ts +0 -1
  218. package/lib/components/pisellInput/components/BankCard/index.d.ts +0 -1
  219. package/lib/components/pisellInput/components/Copy/index.d.ts +0 -1
  220. package/lib/components/pisellInput/components/SecurityCode/index.d.ts +0 -1
  221. package/lib/components/pisellInput/index.d.ts +0 -1
  222. package/lib/components/pisellQrcode/index.d.ts +10 -0
  223. package/lib/components/pisellText/components/Amount/index.d.ts +20 -0
  224. package/lib/components/pisellToast/index.d.ts +17 -0
  225. package/lib/components/pisellToast/squareToast/index.d.ts +15 -0
  226. package/lib/components/pisellToast/squareToast/methods.d.ts +13 -0
  227. package/lib/components/pisellToast/squareToast/renderImperatively.d.ts +29 -0
  228. package/lib/components/pisellToast/squareToast/toast.d.ts +25 -0
  229. package/lib/components/pisellTooltip/index.d.ts +0 -1
  230. package/lib/components/pisellUpload/index.d.ts +0 -1
  231. package/lib/components/pisellWalletPassCard/index.d.ts +4 -0
  232. package/lib/components/pisellWalletPassCard/index.js +12 -2
  233. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +3 -0
  234. package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +3 -0
  235. package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +14 -0
  236. package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +3 -0
  237. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +27 -0
  238. package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +2 -0
  239. package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +3 -0
  240. package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +10 -0
  241. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +20 -0
  242. package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +3 -0
  243. package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +12 -0
  244. package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +3 -0
  245. package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +46 -0
  246. package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +6 -0
  247. package/lib/components/productCard/cartSkuCard/index.d.ts +10 -0
  248. package/lib/components/productCard/cartSkuCard/locales.d.ts +96 -0
  249. package/lib/components/productCard/components/Action/index.d.ts +3 -0
  250. package/lib/components/productCard/components/Divider/index.d.ts +0 -1
  251. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +3 -0
  252. package/lib/components/productCard/components/Header/index.d.ts +3 -0
  253. package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
  254. package/lib/components/productCard/components/Sales/index.d.ts +3 -0
  255. package/lib/components/productCard/components/Time/components/Like/index.d.ts +0 -1
  256. package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +4 -0
  257. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +13 -0
  258. package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +1 -0
  259. package/lib/components/productCard/components/Time/index.d.ts +4 -0
  260. package/lib/components/productCard/locales.d.ts +84 -0
  261. package/lib/components/productCard/status.d.ts +32 -0
  262. package/lib/components/productCard/types.d.ts +84 -0
  263. package/lib/components/radio/index.d.ts +0 -1
  264. package/lib/components/segmented/index.d.ts +0 -1
  265. package/lib/components/select-time/RightPanel/index.d.ts +0 -1
  266. package/lib/components/skeleton/index.d.ts +0 -1
  267. package/lib/components/slider/index.d.ts +0 -1
  268. package/lib/components/sort/components/InlineMenu/index.d.ts +0 -1
  269. package/lib/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +0 -1
  270. package/lib/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +0 -1
  271. package/lib/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +0 -1
  272. package/lib/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +0 -1
  273. package/lib/components/table/Actions/component/ExportImport/index.d.ts +1 -0
  274. package/lib/components/table/Actions/component/Group/index.d.ts +1 -0
  275. package/lib/components/table/Actions/component/ViewMode/index.d.ts +0 -1
  276. package/lib/components/table/Gallery/components/GalleryItem/index.d.ts +14 -0
  277. package/lib/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  278. package/lib/components/table/Gallery/index.d.ts +5 -0
  279. package/lib/components/table/Summary/index.d.ts +0 -1
  280. package/lib/components/table/Table/AddFieldModal/index.d.ts +4 -0
  281. package/lib/components/table/Table/fields/date/Config/index.d.ts +0 -1
  282. package/lib/components/table/Table/fields/date/Sort/index.d.ts +0 -1
  283. package/lib/components/table/Table/fields/image/Config/index.d.ts +0 -1
  284. package/lib/components/table/Table/fields/image/Sort/index.d.ts +0 -1
  285. package/lib/components/table/Table/fields/index.d.ts +2 -2
  286. package/lib/components/table/Table/fields/link/Config/index.d.ts +0 -1
  287. package/lib/components/table/Table/fields/link/Sort/index.d.ts +0 -1
  288. package/lib/components/table/Table/fields/number/Config/index.d.ts +0 -1
  289. package/lib/components/table/Table/fields/number/Sort/index.d.ts +0 -1
  290. package/lib/components/table/Table/fields/numberRange/Config/index.d.ts +0 -1
  291. package/lib/components/table/Table/fields/numberRange/Sort/index.d.ts +0 -1
  292. package/lib/components/table/Table/fields/oldRangePicker/Config/index.d.ts +0 -1
  293. package/lib/components/table/Table/fields/oldRangePicker/Show/index.d.ts +0 -1
  294. package/lib/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +0 -1
  295. package/lib/components/table/Table/fields/pSwitch/Config/index.d.ts +0 -1
  296. package/lib/components/table/Table/fields/pSwitch/Sort/index.d.ts +0 -1
  297. package/lib/components/table/Table/fields/rangePicker/Config/index.d.ts +0 -1
  298. package/lib/components/table/Table/fields/rangePicker/Show/index.d.ts +0 -1
  299. package/lib/components/table/Table/fields/rangePicker/Sort/index.d.ts +0 -1
  300. package/lib/components/table/Table/fields/search/Config/index.d.ts +0 -1
  301. package/lib/components/table/Table/fields/search/Sort/index.d.ts +0 -1
  302. package/lib/components/table/Table/fields/select/Config/index.d.ts +0 -1
  303. package/lib/components/table/Table/fields/select/Show/index.d.ts +0 -1
  304. package/lib/components/table/Table/fields/select/Sort/index.d.ts +0 -1
  305. package/lib/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  306. package/lib/components/table/Table/fields/text/Config/index.d.ts +0 -1
  307. package/lib/components/table/Table/fields/text/Sort/index.d.ts +0 -1
  308. package/lib/components/table/Table/fields/treeSelect/Config/index.d.ts +0 -1
  309. package/lib/components/table/Table/fields/treeSelect/Show/index.d.ts +0 -1
  310. package/lib/components/table/Table/fields/treeSelect/Sort/index.d.ts +0 -1
  311. package/lib/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  312. package/lib/components/table/Table/tableConfig/summary/index.d.ts +0 -1
  313. package/lib/components/table/Table/utils.d.ts +161 -0
  314. package/lib/components/table/hooks/useTableSetting.d.ts +21 -0
  315. package/lib/components/table/hooks/useTransDataSource.d.ts +11 -0
  316. package/lib/components/table/types.d.ts +268 -0
  317. package/lib/components/time-picker/index.d.ts +0 -1
  318. package/lib/components/translation/index.d.ts +14 -0
  319. package/lib/components/upload/index.d.ts +0 -1
  320. package/lib/components/versionModal/index.d.ts +23 -0
  321. package/lib/components/virtual-keyboard/Amount/index.d.ts +1 -0
  322. package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +15 -0
  323. package/lib/components/virtual-keyboard/Number/index.d.ts +0 -1
  324. package/lib/components/virtual-keyboard/Number/types.d.ts +26 -0
  325. package/lib/components/virtual-keyboard/Time/utils.d.ts +0 -1
  326. package/lib/components/virtual-keyboard/index.d.ts +25 -0
  327. package/lib/components/virtualInput/BaseVirtualInput/index.d.ts +40 -0
  328. package/lib/components/virtualInput/index.d.ts +24 -0
  329. package/lib/components/walletCard/Guest/index.d.ts +0 -1
  330. package/lib/components/walletCard/Guide/index.d.ts +0 -1
  331. package/lib/locales/en-US.d.ts +1 -0
  332. package/lib/locales/en-US.js +1 -0
  333. package/lib/locales/zh-CN.d.ts +1 -0
  334. package/lib/locales/zh-CN.js +1 -0
  335. package/lib/locales/zh-TW.d.ts +1 -0
  336. package/lib/locales/zh-TW.js +1 -0
  337. package/lib/utils/index.d.ts +1 -1
  338. package/lib/utils/platform.d.ts +1 -1
  339. package/package.json +3 -3
  340. package/es/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -24
  341. package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -25
  342. package/es/components/dataSourceComponents/hooks/usePlatform.d.ts +0 -5
  343. package/es/components/pisellQRScanner/index.d.ts +0 -24
  344. package/es/components/sortableList/index.d.ts +0 -11
  345. package/es/components/table/Actions/component/ExportImport/components/ExportTable/function.d.ts +0 -7
  346. package/es/components/table/serve.d.ts +0 -13
  347. package/es/components/tabs/index.d.ts +0 -17
  348. package/lib/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -24
  349. package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -25
  350. package/lib/components/dataSourceComponents/hooks/usePlatform.d.ts +0 -5
  351. package/lib/components/pisellQRScanner/index.d.ts +0 -24
  352. package/lib/components/sortableList/index.d.ts +0 -11
  353. package/lib/components/table/Actions/component/ExportImport/components/ExportTable/function.d.ts +0 -7
  354. package/lib/components/table/serve.d.ts +0 -13
  355. package/lib/components/tabs/index.d.ts +0 -17
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { AppVersionControlProps } from './types';
3
+ import './index.less';
4
+ declare const AppVersionControl: (props: AppVersionControlProps) => JSX.Element;
5
+ export default AppVersionControl;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { AutoCompleteProps, InputNumberProps } from "antd";
3
2
  interface AutoCompleteNumberProps {
4
3
  autoCompleteProps: AutoCompleteProps;
@@ -0,0 +1,20 @@
1
+ export declare type Options = {
2
+ mode?: 'oneline' | 'multiline' | 'box' | 'boxoneline' | undefined;
3
+ minFontSizePx?: number | undefined;
4
+ maxFontSizePx?: number | undefined;
5
+ fontSizePrecisionPx?: number | undefined;
6
+ scrollToEnd?: boolean | undefined;
7
+ };
8
+ export declare function updateTextSize({ innerEl, containerEl, mode, minFontSizePx, maxFontSizePx, fontSizePrecisionPx, scrollToEnd, }: Options & {
9
+ innerEl: HTMLElement;
10
+ containerEl: HTMLElement;
11
+ }): void;
12
+ declare type DisconnectableFunction = {
13
+ (): void;
14
+ disconnect: () => void;
15
+ };
16
+ export declare function autoTextSize({ innerEl, containerEl, mode, minFontSizePx, maxFontSizePx, fontSizePrecisionPx, scrollToEnd, }: Options & {
17
+ innerEl: HTMLElement;
18
+ containerEl: HTMLElement;
19
+ }): DisconnectableFunction;
20
+ export {};
@@ -0,0 +1,6 @@
1
+ import React, { DetailedHTMLProps, HTMLAttributes, ReactElement, ReactHTML } from 'react';
2
+ import { Options } from './auto-text-size-standalone';
3
+ export default function AutoResizeText({ mode, minFontSizePx, maxFontSizePx, fontSizePrecisionPx, scrollToEnd, as: Comp, children, ...rest }: Options & {
4
+ as?: keyof ReactHTML | React.ComponentType<any>;
5
+ children?: React.ReactNode;
6
+ } & DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>): ReactElement;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { BadgeProps as OriginalBadgeprops } from 'antd';
3
2
  import './index.less';
4
3
  export interface Badgeprops extends OriginalBadgeprops {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: {
3
2
  price: import("react").FC<import("./Price").PriceProps>;
4
3
  image: (props: import("./Image").ImageProps) => JSX.Element | null;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Calendar: (props: any) => JSX.Element;
3
2
  export default Calendar;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const _default: (props: any) => JSX.Element;
3
+ export default _default;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Checkbox: (props: any) => JSX.Element;
3
2
  export default Checkbox;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const ClassicLayout: (props: any) => JSX.Element;
4
3
  export default ClassicLayout;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ColorPickerProps } from 'antd';
3
2
  declare const ColorPicker: (props: ColorPickerProps) => JSX.Element;
4
3
  export default ColorPicker;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ConfigProviderProps as OriginalConfigProviderProps } from "antd/es/config-provider";
3
2
  import "dayjs/locale/zh-cn";
4
3
  export interface ConfigProviderProps extends OriginalConfigProviderProps {
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const _default: any;
3
+ export default _default;
@@ -0,0 +1,39 @@
1
+ import React from 'react';
2
+ import { ButtonProps } from 'antd';
3
+ import './index.less';
4
+ export interface SubmitButtonProps extends ButtonProps {
5
+ status: 'normal' | 'disabled' | 'hidden';
6
+ children: React.ReactNode;
7
+ childrenString?: string;
8
+ confirmConfig?: {
9
+ enable: boolean;
10
+ title: string;
11
+ content: string;
12
+ icon: React.ReactNode;
13
+ okText: string;
14
+ cancelText: string;
15
+ };
16
+ toastConfig?: {
17
+ enable: boolean;
18
+ icon: React.ReactNode;
19
+ title: string;
20
+ showAfterSubmit?: boolean;
21
+ };
22
+ refreshData?: boolean;
23
+ afterSubmitType?: 'none' | 'close' | 'showModal' | 'showNotification';
24
+ afterSubmitModalConfig?: {
25
+ title: string;
26
+ content: string;
27
+ okText: string;
28
+ onOk?: () => void;
29
+ };
30
+ afterSubmitNotificationConfig?: {
31
+ title: string;
32
+ content: string;
33
+ icon: React.ReactNode;
34
+ duration: number;
35
+ placement: 'top' | 'topLeft' | 'topRight' | 'bottom' | 'bottomLeft' | 'bottomRight';
36
+ };
37
+ }
38
+ declare const SubmitButton: (props: SubmitButtonProps) => JSX.Element | null;
39
+ export default SubmitButton;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { DataSourceTableProps } from './type';
3
+ export interface TableRef {
4
+ refreshCurrentPage: () => void;
5
+ refreshData: () => void;
6
+ }
7
+ declare const _default: React.ForwardRefExoticComponent<DataSourceTableProps & React.RefAttributes<TableRef>>;
8
+ export default _default;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  declare const useDataSourceKey: () => {
3
- dataSourceKey: string | import("../../provider/dataSource/DataSourceContext").DataSourceType | undefined;
4
- dataSourceKeyRef: import("react").MutableRefObject<string | import("../../provider/dataSource/DataSourceContext").DataSourceType | undefined>;
3
+ dataSourceKey: string | undefined;
4
+ dataSourceKeyRef: import("react").MutableRefObject<string | undefined>;
5
5
  };
6
6
  export default useDataSourceKey;
@@ -0,0 +1,39 @@
1
+ /// <reference types="react" />
2
+ import { Drawer } from 'antd';
3
+ import { OperationItem } from '../type';
4
+ declare const useDrawerState: (operationContent?: {
5
+ [key: string]: import("react").ReactNode;
6
+ } | undefined) => {
7
+ drawerVisible: boolean;
8
+ setDrawerVisible: import("react").Dispatch<import("react").SetStateAction<boolean>>;
9
+ openDrawer: (item: OperationItem) => void;
10
+ closeDrawer: () => void;
11
+ drawerContent: import("react").ReactNode;
12
+ Container: {
13
+ (props: import("../../../pisellModal").PisellModalProps): JSX.Element;
14
+ confirm: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
15
+ destroy: () => void;
16
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
17
+ };
18
+ info: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
19
+ destroy: () => void;
20
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
21
+ };
22
+ error: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
23
+ destroy: () => void;
24
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
25
+ };
26
+ warn: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => any;
27
+ warning: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
28
+ destroy: () => void;
29
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
30
+ };
31
+ success: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
32
+ destroy: () => void;
33
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
34
+ };
35
+ Information: (props: import("../../../pisellModal/components/Information").InformationProps) => JSX.Element;
36
+ } | typeof Drawer;
37
+ containerProps: {};
38
+ };
39
+ export default useDrawerState;
@@ -0,0 +1,100 @@
1
+ import React from 'react';
2
+ import { DataSourceTableProps } from '../type';
3
+ import { OperationItem } from '../type';
4
+ interface UseTablePropsProps {
5
+ data: any;
6
+ originProps: DataSourceTableProps;
7
+ openDrawer: (type: OperationItem) => void;
8
+ closeDrawer: () => void;
9
+ refreshData: () => void;
10
+ handleFilterChange: (changedFields: any, allFields: any) => void;
11
+ tableRef: any;
12
+ getInitialValues: () => Record<string, any>;
13
+ }
14
+ /**
15
+ * 处理table的props
16
+ * 转换title
17
+ * @param props
18
+ * @returns
19
+ */
20
+ declare const useTableProps: (props: UseTablePropsProps) => {
21
+ currentComponentId: any;
22
+ title: number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
23
+ pagination: {
24
+ total: number;
25
+ current: number;
26
+ pageSize: number;
27
+ size: string;
28
+ showSizeChanger: boolean;
29
+ };
30
+ columns: import("./useColumns").Column[];
31
+ subTitle: number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
32
+ buttons: any[] | null;
33
+ filter: {
34
+ dom: any;
35
+ items: any;
36
+ } | null;
37
+ onRow: (record: any) => any;
38
+ actionButtons: any[] | null;
39
+ __id?: string | undefined;
40
+ currentSettingKey?: string | undefined;
41
+ titleButtons?: {
42
+ show: boolean;
43
+ maxCount: number;
44
+ items: OperationItem[];
45
+ } | undefined;
46
+ tableButtons?: {
47
+ show: boolean;
48
+ maxCount: number;
49
+ items: OperationItem[];
50
+ } | undefined;
51
+ operation?: {
52
+ show: boolean;
53
+ title: string;
54
+ width: number;
55
+ align: "center" | "left" | "right";
56
+ fixed: false | "left" | "right";
57
+ type: "link" | "button";
58
+ items: OperationItem[];
59
+ } | undefined;
60
+ operationContent?: {
61
+ [key: string]: React.ReactNode;
62
+ } | undefined;
63
+ dataSource: import("../../provider/dataSource/DataSourceContext").DataSourceType;
64
+ search?: {
65
+ show: boolean;
66
+ placeholder: string;
67
+ } | undefined;
68
+ __designMode: string;
69
+ componentId: string;
70
+ clickToDetail?: {
71
+ show: boolean;
72
+ useCustomAction: boolean;
73
+ actionType: string;
74
+ openMode: "modal" | "drawer";
75
+ openContentSize: "small" | "middle" | "large";
76
+ openTitle: string;
77
+ key: string;
78
+ } | undefined;
79
+ filterBy?: Record<string, any> | undefined;
80
+ sortBy: string;
81
+ tabs?: {
82
+ show: boolean;
83
+ type: string;
84
+ items: {
85
+ name: string;
86
+ filterBy: Record<string, any>;
87
+ sortBy: string;
88
+ }[];
89
+ } | undefined;
90
+ onValuesChange?: ((changedValues: any, values: any) => void) | undefined;
91
+ extraParams?: {
92
+ list?: Record<string, any> | undefined;
93
+ get?: Record<string, any> | undefined;
94
+ update?: Record<string, any> | undefined;
95
+ create?: Record<string, any> | undefined;
96
+ destroy?: Record<string, any> | undefined;
97
+ } | undefined;
98
+ localSettings?: import("../../../table/types").LocalSettingsType | undefined;
99
+ };
100
+ export default useTableProps;
@@ -0,0 +1,84 @@
1
+ /// <reference types="react" />
2
+ import { ColumnType } from 'antd/es/table';
3
+ import { LocalSettingsType } from '../../table/types';
4
+ import { DataSourceType } from '../provider/dataSource/DataSourceContext';
5
+ export declare type OperationItem = {
6
+ label?: string;
7
+ openMode: 'modal' | 'drawer' | 'custom';
8
+ openContentSize: 'small' | 'middle' | 'large';
9
+ openTitle: string;
10
+ actionType: 'detail' | 'edit' | 'delete' | 'custom';
11
+ key: string;
12
+ buttonProps?: any;
13
+ onClick?: (record: any) => void;
14
+ afterClose?: () => void;
15
+ };
16
+ export interface DataSourceTableProps {
17
+ __id?: string;
18
+ currentComponentId?: string;
19
+ currentSettingKey?: string;
20
+ title?: string | React.ReactNode | (() => React.ReactNode);
21
+ subTitle?: string | React.ReactNode | (() => React.ReactNode);
22
+ titleButtons?: {
23
+ show: boolean;
24
+ maxCount: number;
25
+ items: OperationItem[];
26
+ };
27
+ tableButtons?: {
28
+ show: boolean;
29
+ maxCount: number;
30
+ items: OperationItem[];
31
+ };
32
+ buttons?: any[];
33
+ operation?: {
34
+ show: boolean;
35
+ title: string;
36
+ width: number;
37
+ align: 'left' | 'center' | 'right';
38
+ fixed: 'left' | 'right' | false;
39
+ type: 'link' | 'button';
40
+ items: OperationItem[];
41
+ };
42
+ operationContent?: {
43
+ [key: string]: React.ReactNode;
44
+ };
45
+ dataSource: DataSourceType;
46
+ columns: ColumnType<any>[];
47
+ filter: any;
48
+ search?: {
49
+ show: boolean;
50
+ placeholder: string;
51
+ };
52
+ __designMode: string;
53
+ componentId: string;
54
+ clickToDetail?: {
55
+ show: boolean;
56
+ useCustomAction: boolean;
57
+ actionType: string;
58
+ openMode: 'modal' | 'drawer';
59
+ openContentSize: 'small' | 'middle' | 'large';
60
+ openTitle: string;
61
+ key: string;
62
+ };
63
+ onRow?: any;
64
+ filterBy?: Record<string, any>;
65
+ sortBy: string;
66
+ tabs?: {
67
+ show: boolean;
68
+ type: string;
69
+ items: {
70
+ name: string;
71
+ filterBy: Record<string, any>;
72
+ sortBy: string;
73
+ }[];
74
+ };
75
+ onValuesChange?: (changedValues: any, values: any) => void;
76
+ extraParams?: {
77
+ list?: Record<string, any>;
78
+ get?: Record<string, any>;
79
+ update?: Record<string, any>;
80
+ create?: Record<string, any>;
81
+ destroy?: Record<string, any>;
82
+ };
83
+ localSettings?: LocalSettingsType;
84
+ }
@@ -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" | "saas" | "xzero";
5
+ rootDomain: "custom" | "xzero" | "saas";
6
6
  customDomain?: string | undefined;
7
7
  value?: string | undefined;
8
8
  tenantId: string;
@@ -20,7 +20,7 @@ declare const formFieldMap: {
20
20
  Subdomain: import("react").FC<import("antd").InputProps & {
21
21
  onChange: (value: string) => void;
22
22
  onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
23
- rootDomain: "custom" | "saas" | "xzero";
23
+ rootDomain: "custom" | "xzero" | "saas";
24
24
  customDomain?: string | undefined;
25
25
  value?: string | undefined;
26
26
  tenantId: string;
@@ -60,13 +60,7 @@ declare const formFieldMap: {
60
60
  FormItemTranslation: import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
61
61
  FormItemIconSelect: import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
62
62
  };
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
+ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<any> | (import("react").FC<import("./Input/type").InputProps> & {
70
64
  JSON: import("react").FC<any>;
71
65
  Password: import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
72
66
  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>;
@@ -79,14 +73,18 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
79
73
  Subdomain: import("react").FC<import("antd").InputProps & {
80
74
  onChange: (value: string) => void;
81
75
  onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
82
- rootDomain: "custom" | "saas" | "xzero";
76
+ rootDomain: "custom" | "xzero" | "saas";
83
77
  customDomain?: string | undefined;
84
78
  value?: string | undefined;
85
79
  tenantId: string;
86
80
  name?: string | undefined;
87
81
  fieldKey?: string | undefined;
88
82
  } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
89
- }) | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
83
+ }) | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<{}> & {
84
+ Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
85
+ } & {
86
+ Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
87
+ }) | 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<{}> & {
90
88
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
91
89
  } & {
92
90
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
@@ -98,5 +96,7 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
98
96
  extraParams?: Record<string, any> | undefined;
99
97
  } & {
100
98
  dataSource?: any;
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>;
99
+ }) => JSX.Element) | import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & {
100
+ onChange: (value: string) => void;
101
+ } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
102
102
  export { getFieldComponent, formFieldMap };
@@ -0,0 +1,18 @@
1
+ import { DataSourceType } from '../provider/dataSource/DataSourceContext';
2
+ export interface UseActionsParams {
3
+ dataSource?: DataSourceType;
4
+ currentValue?: 'server' | 'local';
5
+ __designMode?: string;
6
+ extraParams?: Record<string, any>;
7
+ }
8
+ declare const useActions: ({ dataSource: propsDataSource, currentValue: propsCurrentValue, __designMode, extraParams: propsExtraParams, }?: UseActionsParams) => {
9
+ create: (values: Record<string, any>) => Promise<any>;
10
+ get: () => Promise<any>;
11
+ update: (values: Record<string, any>) => Promise<any>;
12
+ list: (params: {
13
+ page: number;
14
+ pageSize: number;
15
+ }) => Promise<any>;
16
+ destroy: (id: string) => Promise<any>;
17
+ };
18
+ export default useActions;
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ export interface VariablesContextType {
3
+ children?: React.ReactNode;
4
+ variables?: Record<string, any>;
5
+ registerVariable?: (value: Record<string, any>) => void;
6
+ parseVariable?: (str: string, localVariables?: Record<string, any>) => any;
7
+ registerValueVariable?: (componentId: string, value: Record<string, any>) => void;
8
+ registerFunctionVariable?: (componentId: string, value: Record<string, any>) => void;
9
+ subscribeVariables?: (listener: (allVariables: Record<string, any>, updateVariables: Record<string, any>) => void) => () => void;
10
+ }
11
+ export declare const VariablesContext: import("react").Context<VariablesContextType>;
12
+ export default VariablesContext;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { VariablesContextType } from './VariablesContext';
3
+ declare const VariablesProvider: React.FC<VariablesContextType>;
4
+ export default VariablesProvider;
@@ -0,0 +1,4 @@
1
+ import './index.less';
2
+ import { SortType } from './types';
3
+ declare const DragSortTree: (props: SortType) => JSX.Element;
4
+ export default DragSortTree;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Dropdown: (props: any) => JSX.Element;
3
2
  export default Dropdown;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const fieldMaps: {
3
2
  text: {
4
3
  field: {
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Text: () => JSX.Element;
3
2
  export default Text;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Text: (props: any) => JSX.Element;
3
2
  export default Text;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: {
3
2
  field: {
4
3
  field_icon: string;
@@ -2,7 +2,7 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
2
2
  import { createFromIconfontCN } from '@ant-design/icons';
3
3
  import React from 'react';
4
4
  var MyIcon = createFromIconfontCN({
5
- scriptUrl: 'https://static.pisellcdn.com/pisell2iconfont1.18.js' // 在 iconfont.cn 上生成
5
+ scriptUrl: 'https://static.pisellcdn.com/pisell2iconfont1.20.js' // 在 iconfont.cn 上生成
6
6
  });
7
7
  var IconFont = function IconFont(props) {
8
8
  return /*#__PURE__*/React.createElement(MyIcon, _extends({}, props, {
@@ -0,0 +1,22 @@
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
+ id?: string;
14
+ className?: string;
15
+ style?: React.CSSProperties;
16
+ onChange?: (value?: ItemValue) => void;
17
+ items?: Item[];
18
+ rightItems?: Item[];
19
+ keydown?: boolean;
20
+ }
21
+ declare const _default: React.MemoExoticComponent<(props: KeyboardProps) => JSX.Element>;
22
+ export default _default;
@@ -0,0 +1,82 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ /**
4
+ * loginAndRegister组件的属性接口
5
+ */
6
+ export interface loginAndRegisterProps {
7
+ /** Logo相关配置 */
8
+ showLogo?: boolean;
9
+ logo?: string;
10
+ logoPosition?: 'left' | 'center' | 'right';
11
+ logoSize?: {
12
+ width?: number;
13
+ height?: number;
14
+ };
15
+ /** 标题相关配置 */
16
+ title?: string;
17
+ showTitle?: boolean;
18
+ titleAlign?: 'left' | 'center' | 'right';
19
+ /** 副标题相关配置 */
20
+ subtitle?: string;
21
+ showSubtitle?: boolean;
22
+ subtitleAlign?: 'left' | 'center' | 'right';
23
+ /** 登录方式配置 */
24
+ loginMethods?: ('email' | 'google' | 'facebook' | 'apple')[];
25
+ defaultLoginMethod?: 'email' | 'google' | 'facebook' | 'apple';
26
+ /** 表单配置 */
27
+ emailLabel?: string;
28
+ passwordLabel?: string;
29
+ emailPlaceholder?: string;
30
+ passwordPlaceholder?: string;
31
+ emailRules?: any[];
32
+ buttonText?: string;
33
+ rememberMeText?: string;
34
+ forgotPasswordText?: string;
35
+ showRememberMe?: boolean;
36
+ showForgotPassword?: boolean;
37
+ /** 社交登录配置 */
38
+ socialLoginTexts?: {
39
+ google?: string;
40
+ facebook?: string;
41
+ apple?: string;
42
+ };
43
+ /** 底部配置 */
44
+ showFooter?: boolean;
45
+ showSignUp?: boolean;
46
+ signUpText?: string;
47
+ signUpLink?: string;
48
+ signUpPosition?: 'left' | 'center' | 'right';
49
+ otherLinks?: Array<{
50
+ text: string;
51
+ url: string;
52
+ }>;
53
+ otherLinksPosition?: 'left' | 'center' | 'right';
54
+ /** 登录/注册切换配置 */
55
+ showTabs?: boolean;
56
+ loginTabText?: string;
57
+ registerTabText?: string;
58
+ /** 注册表单配置 */
59
+ registerEmailPlaceholder?: string;
60
+ registerPasswordPlaceholder?: string;
61
+ registerButtonText?: string;
62
+ /** 事件回调 */
63
+ onLogin?: (values: {
64
+ email: string;
65
+ loginMethod: string;
66
+ }) => void;
67
+ onSocialLogin?: (type: 'google' | 'facebook' | 'apple') => void;
68
+ onSignUp?: () => void;
69
+ onRegister?: (values: {
70
+ email: string;
71
+ password: string;
72
+ }) => void;
73
+ /** 新增背景图片属性 */
74
+ backgroundImage?: string;
75
+ }
76
+ /**
77
+ * Saas登录组件
78
+ * @param props - 组件属性
79
+ * @returns React组件
80
+ */
81
+ declare const loginAndRegister: React.FC<loginAndRegisterProps>;
82
+ export default loginAndRegister;