@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,15 @@
1
+ import React from 'react';
2
+ import './Presets.less';
3
+ export declare type PresetsItem = {
4
+ label: string;
5
+ value: number | string;
6
+ style?: React.CSSProperties;
7
+ onClick?: (item: PresetsItem, _next: () => void) => void;
8
+ render?: (item: PresetsItem) => React.ReactNode;
9
+ };
10
+ export interface PresetsProps {
11
+ presets?: PresetsItem[];
12
+ onChange: (val: string) => void;
13
+ }
14
+ declare const Presets: (props: PresetsProps) => JSX.Element | null;
15
+ export default Presets;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { NumberProps } from './types';
3
2
  import './index.less';
4
3
  export type { NumberProps };
@@ -0,0 +1,26 @@
1
+ export interface NumberProps {
2
+ max?: number;
3
+ min?: number;
4
+ doneText?: string;
5
+ resetText: string;
6
+ defaultValue?: string | number;
7
+ placeholder?: string;
8
+ value?: string | number;
9
+ onChange?: (val: string | number) => void;
10
+ onEnter?: (val: string | number) => void;
11
+ defaultSelect?: boolean;
12
+ selectType?: 'light' | 'dark';
13
+ backgroundColor?: string;
14
+ containerBackgroundColor?: string;
15
+ buttonBackgroundColor?: string;
16
+ textColor?: string;
17
+ resetButtonBackgroundColor?: string;
18
+ resetButtonTextColor?: string;
19
+ isDoneButtonFollowTheme?: boolean;
20
+ doneButtonBackgroundColor?: string;
21
+ doneButtonTextColor?: string;
22
+ keyboardBackgroundColor?: string;
23
+ keyboardButtonBackgroundColor?: string;
24
+ keyboardButtonTextColor?: string;
25
+ keyboardButtonHoverColor?: string;
26
+ }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const formatStringToTime: (value: string) => {
3
2
  valueArray: string[];
4
3
  valueString: string;
@@ -0,0 +1,25 @@
1
+ import React from "react";
2
+ import { KeyboardProps } from "./Keyboard";
3
+ import { VirtualKeyInputProps } from "./VirtualKeyInput";
4
+ import "./index.less";
5
+ interface VirtualKeyboardProps extends React.HTMLAttributes<HTMLDivElement> {
6
+ keyboardProps?: KeyboardProps;
7
+ virtualKeyInputProps?: VirtualKeyInputProps;
8
+ rightPanel?: React.ReactNode;
9
+ style?: React.CSSProperties;
10
+ onChange?: (value?: any) => void;
11
+ value?: string;
12
+ selectType?: 'light' | 'dark';
13
+ backgroundColor?: string;
14
+ containerBackgroundColor?: string;
15
+ buttonBackgroundColor?: string;
16
+ textColor?: string;
17
+ keyboardBackgroundColor?: string;
18
+ keyboardButtonBackgroundColor?: string;
19
+ keyboardButtonTextColor?: string;
20
+ keyboardButtonHoverColor?: string;
21
+ primaryButtonBackgroundColor?: string;
22
+ primaryButtonTextColor?: string;
23
+ }
24
+ declare const VirtualKeyboard: (props: VirtualKeyboardProps) => JSX.Element;
25
+ export default VirtualKeyboard;
@@ -0,0 +1,40 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export interface BaseVirtualInputProps {
4
+ /** 输入值 */
5
+ value?: string | React.ReactNode;
6
+ /** 占位符 */
7
+ placeholder?: string;
8
+ /** 是否自动聚焦 */
9
+ autoFocus?: boolean;
10
+ /** 是否禁用 */
11
+ disabled?: boolean;
12
+ /** 组件高度,默认60px */
13
+ height?: number | string;
14
+ /** 字体大小,默认48px,如果不设置会根据高度自动计算 */
15
+ fontSize?: number | string;
16
+ /** 聚焦回调 */
17
+ onFocus?: () => void;
18
+ /** 失焦回调 */
19
+ onBlur?: () => void;
20
+ /** 文字位置 */
21
+ textAlign?: 'start' | 'center' | 'end';
22
+ /** 自定义样式 */
23
+ style?: React.CSSProperties;
24
+ /** 自定义类名 */
25
+ className?: string;
26
+ /** showCursor */
27
+ showCursor?: boolean;
28
+ /** 防止失焦的元素选择器或ref */
29
+ preventBlurElements?: Array<string | React.RefObject<HTMLElement>>;
30
+ /** 是否聚焦(受控模式) */
31
+ focused?: boolean;
32
+ }
33
+ export interface BaseVirtualInputRef {
34
+ /** 手动聚焦 */
35
+ focus: () => void;
36
+ /** 手动失焦 */
37
+ blur: () => void;
38
+ }
39
+ declare const BaseVirtualInput: React.ForwardRefExoticComponent<BaseVirtualInputProps & React.RefAttributes<BaseVirtualInputRef>>;
40
+ export default BaseVirtualInput;
@@ -0,0 +1,24 @@
1
+ import React from 'react';
2
+ import { BaseVirtualInputProps, BaseVirtualInputRef } from './BaseVirtualInput';
3
+ import './index.less';
4
+ export { BaseVirtualInputProps, BaseVirtualInputRef } from './BaseVirtualInput';
5
+ export interface VirtualInputProps extends BaseVirtualInputProps {
6
+ /** 在VirtualInput上方显示的额外内容 */
7
+ topContent?: React.ReactNode;
8
+ /** 在VirtualInput下方显示的额外内容 */
9
+ bottomContent?: React.ReactNode;
10
+ /** wrapper class */
11
+ wrapperClassName?: string;
12
+ /** 虚拟输入框包装器的样式 */
13
+ wrapperStyle?: React.CSSProperties;
14
+ /** 是否允许清除输入框中的内容 */
15
+ allowClear?: boolean;
16
+ /** 清除输入框内容的回调函数 */
17
+ onClear?: () => void;
18
+ /** 自定义清除按钮的样式 */
19
+ clearButtonStyle?: React.CSSProperties;
20
+ }
21
+ export interface VirtualInputRef extends BaseVirtualInputRef {
22
+ }
23
+ declare const VirtualInput: React.ForwardRefExoticComponent<VirtualInputProps & React.RefAttributes<VirtualInputRef>>;
24
+ export default VirtualInput;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Guest: (props: any) => JSX.Element;
4
3
  export default Guest;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Guide: (props: any) => JSX.Element;
4
3
  export default Guide;
@@ -124,6 +124,7 @@ declare const _default: {
124
124
  'pisell-wallet-pass-card-redeem': string;
125
125
  'pisell-wallet-pass-card-code': string;
126
126
  'pisell-wallet-pass-card-valid-to': string;
127
+ 'pisell-wallet-pass-card-valid': string;
127
128
  'pisell-wallet-pass-card-confirm': string;
128
129
  'pisell-wallet-pass-card-cancel': string;
129
130
  'pisell-wallet-pass-card-required': string;
@@ -156,6 +156,7 @@ var en_US_default = {
156
156
  "pisell-wallet-pass-card-redeem": "use",
157
157
  "pisell-wallet-pass-card-code": "Code",
158
158
  "pisell-wallet-pass-card-valid-to": "Valid to",
159
+ "pisell-wallet-pass-card-valid": "Valid",
159
160
  "pisell-wallet-pass-card-confirm": "Confirm",
160
161
  "pisell-wallet-pass-card-cancel": "Cancel",
161
162
  "pisell-wallet-pass-card-required": "This field is required",
@@ -124,6 +124,7 @@ declare const _default: {
124
124
  'pisell-wallet-pass-card-redeem': string;
125
125
  'pisell-wallet-pass-card-code': string;
126
126
  'pisell-wallet-pass-card-valid-to': string;
127
+ 'pisell-wallet-pass-card-valid': string;
127
128
  'pisell-wallet-pass-card-confirm': string;
128
129
  'pisell-wallet-pass-card-cancel': string;
129
130
  'pisell-wallet-pass-card-required': string;
@@ -156,6 +156,7 @@ var zh_CN_default = {
156
156
  "pisell-wallet-pass-card-redeem": "使用",
157
157
  "pisell-wallet-pass-card-code": "识别码编号",
158
158
  "pisell-wallet-pass-card-valid-to": "有效期至",
159
+ "pisell-wallet-pass-card-valid": "有效期",
159
160
  "pisell-wallet-pass-card-confirm": "确认",
160
161
  "pisell-wallet-pass-card-cancel": "取消",
161
162
  "pisell-wallet-pass-card-required": "此字段必填",
@@ -124,6 +124,7 @@ declare const _default: {
124
124
  'pisell-wallet-pass-card-redeem': string;
125
125
  'pisell-wallet-pass-card-code': string;
126
126
  'pisell-wallet-pass-card-valid-to': string;
127
+ 'pisell-wallet-pass-card-valid': string;
127
128
  'pisell-wallet-pass-card-confirm': string;
128
129
  'pisell-wallet-pass-card-cancel': string;
129
130
  'pisell-wallet-pass-card-required': string;
@@ -156,6 +156,7 @@ var zh_TW_default = {
156
156
  "pisell-wallet-pass-card-redeem": "使用",
157
157
  "pisell-wallet-pass-card-code": "識別碼編號",
158
158
  "pisell-wallet-pass-card-valid-to": "有效期至",
159
+ "pisell-wallet-pass-card-valid": "有效期",
159
160
  "pisell-wallet-pass-card-confirm": "確認",
160
161
  "pisell-wallet-pass-card-cancel": "取消",
161
162
  "pisell-wallet-pass-card-required": "此欄位為必填",
@@ -1,4 +1,4 @@
1
1
  export declare const isBrowser: boolean;
2
- export declare const getCssNumber: (val: string | number) => string | number;
2
+ export declare const getCssNumber: (val: string | number) => string;
3
3
  export declare function uuid(): string;
4
4
  export * from './mergeWith';
@@ -1 +1 @@
1
- export declare const isMobile: () => any;
1
+ export declare const isMobile: () => boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/materials",
3
- "version": "6.4.19",
3
+ "version": "6.4.20",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -76,8 +76,8 @@
76
76
  "vod-js-sdk-v6": "^1.4.11",
77
77
  "react-camera-pro": "1.4.0",
78
78
  "@pisell/date-picker": "3.0.7",
79
- "@pisell/icon": "0.0.11",
80
- "@pisell/utils": "3.0.2"
79
+ "@pisell/utils": "3.0.2",
80
+ "@pisell/icon": "0.0.11"
81
81
  },
82
82
  "peerDependencies": {
83
83
  "react": "^18.0.0",
@@ -1,24 +0,0 @@
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,25 +0,0 @@
1
- /**
2
- * 获取nocobase数据列表
3
- */
4
- export declare const getCountryDataList: () => Promise<any>;
5
- export declare const getShopCountryDataList: (locale?: any) => Promise<any>;
6
- export interface Country {
7
- id: number;
8
- name: {
9
- en: string;
10
- 'zh-CN': string;
11
- 'zh-HK': string;
12
- original: string;
13
- };
14
- code: string;
15
- calling_code: string;
16
- currency_code: string;
17
- sort: number;
18
- status: string;
19
- created_at: string;
20
- updated_at: string;
21
- prefix: string;
22
- }
23
- export declare const useCountries: () => {
24
- data: Country[];
25
- };
@@ -1,5 +0,0 @@
1
- declare const usePlatform: () => any;
2
- declare const useIsShop: () => boolean;
3
- declare const useIsH5: () => boolean;
4
- declare const useIsPc: () => boolean;
5
- export { usePlatform, useIsShop, useIsH5, useIsPc };
@@ -1,24 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- export interface PisellQRScannerProps {
4
- /** 是否可见 */
5
- visible: boolean;
6
- /** 是否显示上传图片按钮 */
7
- showUpload?: boolean;
8
- /** 关闭回调 */
9
- onClose: () => void;
10
- /** 扫码成功回调 */
11
- onScan: (value: string) => void;
12
- /**
13
- * 样式属性,可选
14
- * 注意: 不应传入renderMode等不必要属性
15
- */
16
- style?: React.CSSProperties;
17
- /** 类名,可选 */
18
- className?: string;
19
- }
20
- /**
21
- * 二维码扫描组件
22
- */
23
- declare const PisellQRScanner: React.FC<PisellQRScannerProps>;
24
- export default PisellQRScanner;
@@ -1,11 +0,0 @@
1
- import React from "react";
2
- import { Props } from "../DragSortList";
3
- export interface SortableListProps<T> {
4
- dataSource: Props<T>["list"];
5
- onChange: Props<T>["onChange"];
6
- rowKey: Props<T>["rowKey"];
7
- renderItem?: (item: T, index: number) => React.ReactNode;
8
- activationConstraint?: Props<T>["activationConstraint"];
9
- }
10
- declare const SortableList: React.FC<SortableListProps<any>>;
11
- export default SortableList;
@@ -1,7 +0,0 @@
1
- interface IExportParams {
2
- type: string;
3
- originDataSource: any[];
4
- currentDataSource: any[];
5
- }
6
- export declare const batchExport: (exportParams: IExportParams, exportImport: any) => Promise<true | undefined>;
7
- export {};
@@ -1,13 +0,0 @@
1
- declare type exportParams = {
2
- ids?: Array<string | number>;
3
- file_name?: string;
4
- form_id?: string | number;
5
- code?: string;
6
- url?: string;
7
- };
8
- export declare const exportData: (params: exportParams) => Promise<any>;
9
- export declare const batchImport: (params: any) => Promise<any>;
10
- export declare const importTemplate: (params: exportParams) => Promise<any>;
11
- export declare const getExportFile: (params: any) => Promise<any>;
12
- export declare const getImportLog: (params: any) => Promise<any>;
13
- export {};
@@ -1,17 +0,0 @@
1
- import { Component } from 'react';
2
- import { TabsProps } from 'antd';
3
- import './index.less';
4
- declare class Tabs extends Component<any> {
5
- state: {
6
- activeKey: any;
7
- };
8
- componentDidMount(): void;
9
- componentDidUpdate(prevProps: Readonly<any>): void;
10
- private _handleChange;
11
- setActiveKey: (key: string) => void;
12
- getActiveKey: () => any;
13
- renderIconLabelTabBar: TabsProps['renderTabBar'];
14
- filterHiddenTabs: (tabs: any[]) => any[];
15
- render(): JSX.Element;
16
- }
17
- export default Tabs;
@@ -1,24 +0,0 @@
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,25 +0,0 @@
1
- /**
2
- * 获取nocobase数据列表
3
- */
4
- export declare const getCountryDataList: () => Promise<any>;
5
- export declare const getShopCountryDataList: (locale?: any) => Promise<any>;
6
- export interface Country {
7
- id: number;
8
- name: {
9
- en: string;
10
- 'zh-CN': string;
11
- 'zh-HK': string;
12
- original: string;
13
- };
14
- code: string;
15
- calling_code: string;
16
- currency_code: string;
17
- sort: number;
18
- status: string;
19
- created_at: string;
20
- updated_at: string;
21
- prefix: string;
22
- }
23
- export declare const useCountries: () => {
24
- data: Country[];
25
- };
@@ -1,5 +0,0 @@
1
- declare const usePlatform: () => any;
2
- declare const useIsShop: () => boolean;
3
- declare const useIsH5: () => boolean;
4
- declare const useIsPc: () => boolean;
5
- export { usePlatform, useIsShop, useIsH5, useIsPc };
@@ -1,24 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- export interface PisellQRScannerProps {
4
- /** 是否可见 */
5
- visible: boolean;
6
- /** 是否显示上传图片按钮 */
7
- showUpload?: boolean;
8
- /** 关闭回调 */
9
- onClose: () => void;
10
- /** 扫码成功回调 */
11
- onScan: (value: string) => void;
12
- /**
13
- * 样式属性,可选
14
- * 注意: 不应传入renderMode等不必要属性
15
- */
16
- style?: React.CSSProperties;
17
- /** 类名,可选 */
18
- className?: string;
19
- }
20
- /**
21
- * 二维码扫描组件
22
- */
23
- declare const PisellQRScanner: React.FC<PisellQRScannerProps>;
24
- export default PisellQRScanner;
@@ -1,11 +0,0 @@
1
- import React from "react";
2
- import { Props } from "../DragSortList";
3
- export interface SortableListProps<T> {
4
- dataSource: Props<T>["list"];
5
- onChange: Props<T>["onChange"];
6
- rowKey: Props<T>["rowKey"];
7
- renderItem?: (item: T, index: number) => React.ReactNode;
8
- activationConstraint?: Props<T>["activationConstraint"];
9
- }
10
- declare const SortableList: React.FC<SortableListProps<any>>;
11
- export default SortableList;
@@ -1,7 +0,0 @@
1
- interface IExportParams {
2
- type: string;
3
- originDataSource: any[];
4
- currentDataSource: any[];
5
- }
6
- export declare const batchExport: (exportParams: IExportParams, exportImport: any) => Promise<true | undefined>;
7
- export {};
@@ -1,13 +0,0 @@
1
- declare type exportParams = {
2
- ids?: Array<string | number>;
3
- file_name?: string;
4
- form_id?: string | number;
5
- code?: string;
6
- url?: string;
7
- };
8
- export declare const exportData: (params: exportParams) => Promise<any>;
9
- export declare const batchImport: (params: any) => Promise<any>;
10
- export declare const importTemplate: (params: exportParams) => Promise<any>;
11
- export declare const getExportFile: (params: any) => Promise<any>;
12
- export declare const getImportLog: (params: any) => Promise<any>;
13
- export {};
@@ -1,17 +0,0 @@
1
- import { Component } from 'react';
2
- import { TabsProps } from 'antd';
3
- import './index.less';
4
- declare class Tabs extends Component<any> {
5
- state: {
6
- activeKey: any;
7
- };
8
- componentDidMount(): void;
9
- componentDidUpdate(prevProps: Readonly<any>): void;
10
- private _handleChange;
11
- setActiveKey: (key: string) => void;
12
- getActiveKey: () => any;
13
- renderIconLabelTabBar: TabsProps['renderTabBar'];
14
- filterHiddenTabs: (tabs: any[]) => any[];
15
- render(): JSX.Element;
16
- }
17
- export default Tabs;