@pisell/materials 1.8.9 → 1.8.10

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 (323) 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 +2 -2
  6. package/build/lowcode/preview.js +8 -8
  7. package/build/lowcode/render/default/view.js +18 -18
  8. package/build/lowcode/view.js +19 -19
  9. package/es/components/Pagination/index.d.ts +1 -1
  10. package/es/components/PisellCards/components/GraphicTextCard/types.d.ts +290 -0
  11. package/es/components/PisellCards/components/MultilevelCard/components/PanelWrapper.d.ts +7 -0
  12. package/es/components/PisellCards/components/TextCard/TextCard.d.ts +8 -0
  13. package/es/components/PisellCards/components/TextCard/components/BadgeWrapper.d.ts +26 -0
  14. package/es/components/PisellCards/components/TextCard/components/TextContent.d.ts +21 -0
  15. package/es/components/PisellCards/components/TextCard/types.d.ts +270 -0
  16. package/es/components/PisellCards/index.d.ts +0 -1
  17. package/es/components/PisellFields/index.d.ts +0 -1
  18. package/es/components/PisellLayouts/index.d.ts +0 -1
  19. package/es/components/PisellMetrics/index.d.ts +0 -1
  20. package/es/components/PisellSteps/PisellSteps.d.ts +14 -0
  21. package/es/components/PisellSuperTabs/PisellSuperTabs.d.ts +8 -0
  22. package/es/components/PisellSuperTabs/hooks/useTabsState.d.ts +7 -0
  23. package/es/components/PisellSuperTabs/types.d.ts +212 -0
  24. package/es/components/PisellTabbar/PisellTabbar.d.ts +20 -0
  25. package/es/components/PisellTabbar/constants.d.ts +47 -0
  26. package/es/components/PisellTabbar/hooks/useActiveKey.d.ts +55 -0
  27. package/es/components/PisellTabbar/hooks/useExpand.d.ts +42 -0
  28. package/es/components/PisellTabbar/locales.d.ts +8 -0
  29. package/es/components/PisellTabbar/locales.js +8 -0
  30. package/es/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +5 -0
  31. package/es/components/PisellTabbar/template/Template1/constants.d.ts +10 -0
  32. package/es/components/PisellTabbar/types.d.ts +90 -0
  33. package/es/components/PisellTabbar/utils/index.d.ts +69 -0
  34. package/es/components/PisellTabbar2/locales.d.ts +8 -0
  35. package/es/components/PisellTabbar2/locales.js +8 -0
  36. package/es/components/PisellTabbar3/locales.d.ts +8 -0
  37. package/es/components/PisellTabbar3/locales.js +8 -0
  38. package/es/components/appVersionControl/index.d.ts +5 -0
  39. package/es/components/cardPro/index.d.ts +4 -0
  40. package/es/components/config-provider/index.d.ts +2 -0
  41. package/es/components/config-provider/index.js +6 -0
  42. package/es/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +3 -0
  43. package/es/components/dataSourceComponents/dataSourceForm/serve.d.ts +179 -0
  44. package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +39 -0
  45. package/es/components/dataSourceComponents/dataSourceForm/urlUtils.d.ts +24 -0
  46. package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +56 -0
  47. package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +3 -0
  48. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +4 -0
  49. package/es/components/dataSourceComponents/dataSourceTable/hooks/useFormat.d.ts +48 -0
  50. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +100 -0
  51. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +84 -0
  52. package/es/components/dataSourceComponents/fields/DatePicker/WithMode.d.ts +4 -0
  53. package/es/components/dataSourceComponents/fields/DatePicker/index.d.ts +3 -0
  54. package/es/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +26 -0
  55. package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +2 -0
  56. package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  57. package/es/components/dataSourceComponents/fields/Translation/BaseTranslation.d.ts +5 -0
  58. package/es/components/dataSourceComponents/fields/Translation/BaseTranslation.js +8 -0
  59. package/es/components/dataSourceComponents/fields/Translation/type.d.ts +19 -0
  60. package/es/components/dataSourceComponents/fields/Upload/constants.d.ts +1 -1
  61. package/es/components/dataSourceComponents/fields/Upload/constants.js +1 -1
  62. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  63. package/es/components/dataSourceComponents/fields/Upload/utils.js +1 -1
  64. package/es/components/dataSourceComponents/fields/index.d.ts +8 -8
  65. package/es/components/dataSourceComponents/hooks/useActions.d.ts +18 -0
  66. package/es/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +15 -0
  67. package/es/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +4 -0
  68. package/es/components/date-picker/index.d.ts +0 -1
  69. package/es/components/drag-sort-tree/TreeItem/index.d.ts +19 -0
  70. package/es/components/drag-sort-tree/index.d.ts +5 -0
  71. package/es/components/iconfont/index.d.ts +8 -0
  72. package/es/components/login-and-register/index.d.ts +82 -0
  73. package/es/components/page/index.d.ts +9 -0
  74. package/es/components/page/index.js +11 -1
  75. package/es/components/pisell-config-provider/context.d.ts +22 -0
  76. package/es/components/pisell-config-provider/index.d.ts +13 -0
  77. package/es/components/pisellAdjustPrice/index.d.ts +5 -0
  78. package/es/components/pisellAdjustPrice/status.d.ts +32 -0
  79. package/es/components/pisellAdjustPrice/type.d.ts +22 -0
  80. package/es/components/pisellCheckboxGroup/index.d.ts +40 -0
  81. package/es/components/pisellDataSourceContainer/components/ColumnsSetting/index.d.ts +28 -0
  82. package/es/components/pisellDataSourceContainer/components/ColumnsSetting/utils.d.ts +22 -0
  83. package/es/components/pisellDataSourceContainer/components/Table/index.d.ts +9 -0
  84. package/es/components/pisellDataSourceContainer/components/Table/useColumns.d.ts +14 -0
  85. package/es/components/pisellDatePicker/index.d.ts +0 -1
  86. package/es/components/pisellEmpty/index.d.ts +19 -0
  87. package/es/components/pisellModal/components/index.d.ts +0 -1
  88. package/es/components/pisellNavigationMenu/PisellNavigationMenu.d.ts +5 -0
  89. package/es/components/pisellStatisticList/index.d.ts +21 -0
  90. package/es/components/pisellText/components/Amount/index.d.ts +20 -0
  91. package/es/components/pisellText/components/Editable/index.d.ts +3 -0
  92. package/es/components/pisellToast/index.d.ts +17 -0
  93. package/es/components/pisellToast/squareToast/index.d.ts +15 -0
  94. package/es/components/pisellToast/squareToast/methods.d.ts +13 -0
  95. package/es/components/pisellToast/squareToast/renderImperatively.d.ts +28 -0
  96. package/es/components/pisellToast/squareToast/toast.d.ts +25 -0
  97. package/es/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +14 -0
  98. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +20 -0
  99. package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +46 -0
  100. package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +2 -0
  101. package/es/components/productCard/cartSkuCard/components/timeRange/index.js +5 -1
  102. package/es/components/productCard/cartSkuCard/locales.d.ts +64 -0
  103. package/es/components/productCard/cartSkuCard/locales.js +16 -0
  104. package/es/components/productCard/components/Action/index.d.ts +4 -0
  105. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +4 -0
  106. package/es/components/productCard/components/Packages/utils.d.ts +1 -1
  107. package/es/components/productCard/components/Sales/index.d.ts +4 -0
  108. package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +4 -0
  109. package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +14 -0
  110. package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +19 -0
  111. package/es/components/productCard/components/Time/index.d.ts +4 -0
  112. package/es/components/productCard/locales.d.ts +138 -0
  113. package/es/components/productCard/locales.js +84 -0
  114. package/es/components/productCard/utils.d.ts +33 -0
  115. package/es/components/productCard/utils.js +8 -2
  116. package/es/components/table/Actions/component/ExportImport/index.d.ts +8 -0
  117. package/es/components/table/BasicTable/index.d.ts +4 -0
  118. package/es/components/table/Gallery/components/GalleryItem/index.d.ts +14 -0
  119. package/es/components/table/Gallery/index.d.ts +5 -0
  120. package/es/components/table/Table/AddFieldModal/index.d.ts +4 -0
  121. package/es/components/table/Table/fields/date/index.d.ts +0 -1
  122. package/es/components/table/Table/fields/image/index.d.ts +0 -1
  123. package/es/components/table/Table/fields/index.d.ts +2 -2
  124. package/es/components/table/Table/fields/link/index.d.ts +0 -1
  125. package/es/components/table/Table/fields/number/index.d.ts +0 -1
  126. package/es/components/table/Table/fields/numberRange/index.d.ts +0 -1
  127. package/es/components/table/Table/fields/oldRangePicker/index.d.ts +0 -1
  128. package/es/components/table/Table/fields/pSwitch/index.d.ts +0 -1
  129. package/es/components/table/Table/fields/rangePicker/index.d.ts +0 -1
  130. package/es/components/table/Table/fields/search/index.d.ts +0 -1
  131. package/es/components/table/Table/fields/select/index.d.ts +0 -1
  132. package/es/components/table/Table/fields/treeSelect/index.d.ts +0 -1
  133. package/es/components/table/Table/index.d.ts +4 -0
  134. package/es/components/table/Table/utils.d.ts +161 -0
  135. package/es/components/table/hooks/useTableSetting.d.ts +21 -0
  136. package/es/components/table/hooks/useTransDataSource.d.ts +11 -0
  137. package/es/components/table/index.d.ts +4 -0
  138. package/es/components/table/types.d.ts +268 -0
  139. package/es/components/translation/index.d.ts +17 -0
  140. package/es/components/translation/index.js +12 -0
  141. package/es/components/translation/utils.d.ts +2 -0
  142. package/es/components/translation/utils.js +3 -1
  143. package/es/components/versionModal/index.d.ts +23 -0
  144. package/es/components/virtual-keyboard/Amount/index.d.ts +6 -0
  145. package/es/components/virtual-keyboard/Amount/themeConfig.d.ts +32 -0
  146. package/es/components/virtual-keyboard/Amount/types.d.ts +44 -0
  147. package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +15 -0
  148. package/es/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +25 -0
  149. package/es/components/virtual-keyboard/Keyboard/index.d.ts +21 -0
  150. package/es/components/virtual-keyboard/Number/index.d.ts +6 -0
  151. package/es/components/virtual-keyboard/Number/themeConfig.d.ts +32 -0
  152. package/es/components/virtual-keyboard/Number/types.d.ts +26 -0
  153. package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +13 -0
  154. package/es/components/virtual-keyboard/index.d.ts +25 -0
  155. package/es/components/virtualInput/index.d.ts +24 -0
  156. package/es/components/walletCard/index.d.ts +2 -0
  157. package/es/components/walletCard/index.js +11 -3
  158. package/es/locales/en-US.d.ts +347 -0
  159. package/es/locales/index.js +6 -2
  160. package/es/locales/ja.d.ts +310 -0
  161. package/es/locales/ja.js +382 -0
  162. package/es/locales/pt.d.ts +310 -0
  163. package/es/locales/pt.js +382 -0
  164. package/es/locales/zh-CN.d.ts +342 -0
  165. package/es/locales/zh-TW.d.ts +342 -0
  166. package/lib/components/Pagination/index.d.ts +1 -1
  167. package/lib/components/PisellCards/components/GraphicTextCard/types.d.ts +290 -0
  168. package/lib/components/PisellCards/components/MultilevelCard/components/PanelWrapper.d.ts +7 -0
  169. package/lib/components/PisellCards/components/TextCard/TextCard.d.ts +8 -0
  170. package/lib/components/PisellCards/components/TextCard/components/BadgeWrapper.d.ts +26 -0
  171. package/lib/components/PisellCards/components/TextCard/components/TextContent.d.ts +21 -0
  172. package/lib/components/PisellCards/components/TextCard/types.d.ts +270 -0
  173. package/lib/components/PisellCards/index.d.ts +0 -1
  174. package/lib/components/PisellFields/index.d.ts +0 -1
  175. package/lib/components/PisellLayouts/index.d.ts +0 -1
  176. package/lib/components/PisellMetrics/index.d.ts +0 -1
  177. package/lib/components/PisellSteps/PisellSteps.d.ts +14 -0
  178. package/lib/components/PisellSuperTabs/PisellSuperTabs.d.ts +8 -0
  179. package/lib/components/PisellSuperTabs/hooks/useTabsState.d.ts +7 -0
  180. package/lib/components/PisellSuperTabs/types.d.ts +212 -0
  181. package/lib/components/PisellTabbar/PisellTabbar.d.ts +20 -0
  182. package/lib/components/PisellTabbar/constants.d.ts +47 -0
  183. package/lib/components/PisellTabbar/hooks/useActiveKey.d.ts +55 -0
  184. package/lib/components/PisellTabbar/hooks/useExpand.d.ts +42 -0
  185. package/lib/components/PisellTabbar/locales.d.ts +8 -0
  186. package/lib/components/PisellTabbar/locales.js +8 -0
  187. package/lib/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +5 -0
  188. package/lib/components/PisellTabbar/template/Template1/constants.d.ts +10 -0
  189. package/lib/components/PisellTabbar/types.d.ts +90 -0
  190. package/lib/components/PisellTabbar/utils/index.d.ts +69 -0
  191. package/lib/components/PisellTabbar2/locales.d.ts +8 -0
  192. package/lib/components/PisellTabbar2/locales.js +8 -0
  193. package/lib/components/PisellTabbar3/locales.d.ts +8 -0
  194. package/lib/components/PisellTabbar3/locales.js +8 -0
  195. package/lib/components/appVersionControl/index.d.ts +5 -0
  196. package/lib/components/cardPro/index.d.ts +4 -0
  197. package/lib/components/config-provider/index.d.ts +2 -0
  198. package/lib/components/config-provider/index.js +6 -0
  199. package/lib/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +3 -0
  200. package/lib/components/dataSourceComponents/dataSourceForm/serve.d.ts +179 -0
  201. package/lib/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +39 -0
  202. package/lib/components/dataSourceComponents/dataSourceForm/urlUtils.d.ts +24 -0
  203. package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +56 -0
  204. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +3 -0
  205. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +4 -0
  206. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useFormat.d.ts +48 -0
  207. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +100 -0
  208. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +84 -0
  209. package/lib/components/dataSourceComponents/fields/DatePicker/WithMode.d.ts +4 -0
  210. package/lib/components/dataSourceComponents/fields/DatePicker/index.d.ts +3 -0
  211. package/lib/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +26 -0
  212. package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +2 -0
  213. package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  214. package/lib/components/dataSourceComponents/fields/Translation/BaseTranslation.d.ts +5 -0
  215. package/lib/components/dataSourceComponents/fields/Translation/BaseTranslation.js +5 -1
  216. package/lib/components/dataSourceComponents/fields/Translation/type.d.ts +19 -0
  217. package/lib/components/dataSourceComponents/fields/Upload/constants.d.ts +1 -1
  218. package/lib/components/dataSourceComponents/fields/Upload/constants.js +1 -1
  219. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  220. package/lib/components/dataSourceComponents/fields/Upload/utils.js +1 -1
  221. package/lib/components/dataSourceComponents/fields/index.d.ts +8 -8
  222. package/lib/components/dataSourceComponents/hooks/useActions.d.ts +18 -0
  223. package/lib/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +15 -0
  224. package/lib/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +4 -0
  225. package/lib/components/date-picker/index.d.ts +0 -1
  226. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +19 -0
  227. package/lib/components/drag-sort-tree/index.d.ts +5 -0
  228. package/lib/components/iconfont/index.d.ts +8 -0
  229. package/lib/components/login-and-register/index.d.ts +82 -0
  230. package/lib/components/page/index.d.ts +9 -0
  231. package/lib/components/page/index.js +11 -1
  232. package/lib/components/pisell-config-provider/context.d.ts +22 -0
  233. package/lib/components/pisell-config-provider/index.d.ts +13 -0
  234. package/lib/components/pisellAdjustPrice/index.d.ts +5 -0
  235. package/lib/components/pisellAdjustPrice/status.d.ts +32 -0
  236. package/lib/components/pisellAdjustPrice/type.d.ts +22 -0
  237. package/lib/components/pisellCheckboxGroup/index.d.ts +40 -0
  238. package/lib/components/pisellDataSourceContainer/components/ColumnsSetting/index.d.ts +28 -0
  239. package/lib/components/pisellDataSourceContainer/components/ColumnsSetting/utils.d.ts +22 -0
  240. package/lib/components/pisellDataSourceContainer/components/Table/index.d.ts +9 -0
  241. package/lib/components/pisellDataSourceContainer/components/Table/useColumns.d.ts +14 -0
  242. package/lib/components/pisellDatePicker/index.d.ts +0 -1
  243. package/lib/components/pisellEmpty/index.d.ts +19 -0
  244. package/lib/components/pisellModal/components/index.d.ts +0 -1
  245. package/lib/components/pisellNavigationMenu/PisellNavigationMenu.d.ts +5 -0
  246. package/lib/components/pisellStatisticList/index.d.ts +21 -0
  247. package/lib/components/pisellText/components/Amount/index.d.ts +20 -0
  248. package/lib/components/pisellText/components/Editable/index.d.ts +3 -0
  249. package/lib/components/pisellToast/index.d.ts +17 -0
  250. package/lib/components/pisellToast/squareToast/index.d.ts +15 -0
  251. package/lib/components/pisellToast/squareToast/methods.d.ts +13 -0
  252. package/lib/components/pisellToast/squareToast/renderImperatively.d.ts +28 -0
  253. package/lib/components/pisellToast/squareToast/toast.d.ts +25 -0
  254. package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +14 -0
  255. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +20 -0
  256. package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +46 -0
  257. package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +2 -0
  258. package/lib/components/productCard/cartSkuCard/components/timeRange/index.js +5 -1
  259. package/lib/components/productCard/cartSkuCard/locales.d.ts +64 -0
  260. package/lib/components/productCard/cartSkuCard/locales.js +18 -0
  261. package/lib/components/productCard/components/Action/index.d.ts +4 -0
  262. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +4 -0
  263. package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
  264. package/lib/components/productCard/components/Sales/index.d.ts +4 -0
  265. package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +4 -0
  266. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +14 -0
  267. package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +19 -0
  268. package/lib/components/productCard/components/Time/index.d.ts +4 -0
  269. package/lib/components/productCard/locales.d.ts +138 -0
  270. package/lib/components/productCard/locales.js +60 -0
  271. package/lib/components/productCard/utils.d.ts +33 -0
  272. package/lib/components/productCard/utils.js +8 -2
  273. package/lib/components/table/Actions/component/ExportImport/index.d.ts +8 -0
  274. package/lib/components/table/BasicTable/index.d.ts +4 -0
  275. package/lib/components/table/Gallery/components/GalleryItem/index.d.ts +14 -0
  276. package/lib/components/table/Gallery/index.d.ts +5 -0
  277. package/lib/components/table/Table/AddFieldModal/index.d.ts +4 -0
  278. package/lib/components/table/Table/fields/date/index.d.ts +0 -1
  279. package/lib/components/table/Table/fields/image/index.d.ts +0 -1
  280. package/lib/components/table/Table/fields/index.d.ts +2 -2
  281. package/lib/components/table/Table/fields/link/index.d.ts +0 -1
  282. package/lib/components/table/Table/fields/number/index.d.ts +0 -1
  283. package/lib/components/table/Table/fields/numberRange/index.d.ts +0 -1
  284. package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +0 -1
  285. package/lib/components/table/Table/fields/pSwitch/index.d.ts +0 -1
  286. package/lib/components/table/Table/fields/rangePicker/index.d.ts +0 -1
  287. package/lib/components/table/Table/fields/search/index.d.ts +0 -1
  288. package/lib/components/table/Table/fields/select/index.d.ts +0 -1
  289. package/lib/components/table/Table/fields/treeSelect/index.d.ts +0 -1
  290. package/lib/components/table/Table/index.d.ts +4 -0
  291. package/lib/components/table/Table/utils.d.ts +161 -0
  292. package/lib/components/table/hooks/useTableSetting.d.ts +21 -0
  293. package/lib/components/table/hooks/useTransDataSource.d.ts +11 -0
  294. package/lib/components/table/index.d.ts +4 -0
  295. package/lib/components/table/types.d.ts +268 -0
  296. package/lib/components/translation/index.d.ts +17 -0
  297. package/lib/components/translation/index.js +14 -0
  298. package/lib/components/translation/utils.d.ts +2 -0
  299. package/lib/components/translation/utils.js +3 -1
  300. package/lib/components/versionModal/index.d.ts +23 -0
  301. package/lib/components/virtual-keyboard/Amount/index.d.ts +6 -0
  302. package/lib/components/virtual-keyboard/Amount/themeConfig.d.ts +32 -0
  303. package/lib/components/virtual-keyboard/Amount/types.d.ts +44 -0
  304. package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +15 -0
  305. package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +25 -0
  306. package/lib/components/virtual-keyboard/Keyboard/index.d.ts +21 -0
  307. package/lib/components/virtual-keyboard/Number/index.d.ts +6 -0
  308. package/lib/components/virtual-keyboard/Number/themeConfig.d.ts +32 -0
  309. package/lib/components/virtual-keyboard/Number/types.d.ts +26 -0
  310. package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +13 -0
  311. package/lib/components/virtual-keyboard/index.d.ts +25 -0
  312. package/lib/components/virtualInput/index.d.ts +24 -0
  313. package/lib/components/walletCard/index.d.ts +2 -0
  314. package/lib/components/walletCard/index.js +11 -3
  315. package/lib/locales/en-US.d.ts +347 -0
  316. package/lib/locales/index.js +6 -2
  317. package/lib/locales/ja.d.ts +310 -0
  318. package/lib/locales/ja.js +366 -0
  319. package/lib/locales/pt.d.ts +310 -0
  320. package/lib/locales/pt.js +366 -0
  321. package/lib/locales/zh-CN.d.ts +342 -0
  322. package/lib/locales/zh-TW.d.ts +342 -0
  323. package/package.json +2 -2
@@ -19,7 +19,7 @@ declare const formFieldMap: {
19
19
  Subdomain: import("react").FC<import("antd").InputProps & {
20
20
  onChange: (value: string) => void;
21
21
  onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
22
- rootDomain: "custom" | "xzero" | "saas";
22
+ rootDomain: "custom" | "saas" | "xzero";
23
23
  customDomain?: string | undefined;
24
24
  value?: string | undefined;
25
25
  tenantId: string;
@@ -59,11 +59,13 @@ declare const formFieldMap: {
59
59
  FormItemTranslation: import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
60
60
  FormItemIconSelect: import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
61
61
  };
62
- declare const getFieldComponent: (fieldComponent: string) => import("react").FC<any> | (import("react").FC<{}> & {
62
+ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<any> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
63
63
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
64
64
  } & {
65
65
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
66
- }) | 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("./Input/type").InputProps> & {
66
+ }) | 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 & {
67
+ onChange: (value: string) => void;
68
+ } & 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> & {
67
69
  JSON: import("react").FC<any>;
68
70
  Password: import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
69
71
  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>;
@@ -76,14 +78,14 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
76
78
  Subdomain: import("react").FC<import("antd").InputProps & {
77
79
  onChange: (value: string) => void;
78
80
  onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
79
- rootDomain: "custom" | "xzero" | "saas";
81
+ rootDomain: "custom" | "saas" | "xzero";
80
82
  customDomain?: string | undefined;
81
83
  value?: string | undefined;
82
84
  tenantId: string;
83
85
  name?: string | undefined;
84
86
  fieldKey?: string | undefined;
85
87
  } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
86
- }) | (import("react").FC<{}> & {
88
+ }) | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
87
89
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
88
90
  } & {
89
91
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
@@ -95,7 +97,5 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
95
97
  extraParams?: Record<string, any> | undefined;
96
98
  } & {
97
99
  dataSource?: any;
98
- }) => import("react").JSX.Element) | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & {
99
- onChange: (value: string) => void;
100
- } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
100
+ }) => import("react").JSX.Element) | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
101
101
  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: (this: unknown, values: Record<string, any>) => Promise<any>;
10
+ get: (this: unknown) => Promise<any>;
11
+ update: (this: unknown, values: Record<string, any>) => Promise<any>;
12
+ list: (this: unknown, params: {
13
+ page: number;
14
+ pageSize: number;
15
+ }) => Promise<any>;
16
+ destroy: (this: unknown, id: string) => Promise<any>;
17
+ };
18
+ export default useActions;
@@ -0,0 +1,15 @@
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
+ config?: {
11
+ disabledHistoryListener?: boolean;
12
+ };
13
+ }
14
+ export declare const VariablesContext: import("react").Context<VariablesContextType>;
15
+ 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;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const DatePicker: (props: any) => import("react").JSX.Element;
3
2
  export default DatePicker;
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ import { ValueProps, SortType } from '../types';
4
+ declare type IdType = string | number;
5
+ declare type TreeItemProps = {
6
+ id: string | number;
7
+ key: string | number;
8
+ item: ValueProps | any;
9
+ depth: number;
10
+ lists: any[];
11
+ childrenProps?: SortType;
12
+ sensors?: any;
13
+ expandedKeys?: IdType[];
14
+ setExpandedKeys?: any;
15
+ onSelectKeys?: (ids: IdType) => void;
16
+ onChange?: (value: any[]) => void;
17
+ };
18
+ declare const TreeItem: (props: TreeItemProps) => React.JSX.Element;
19
+ export default TreeItem;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ import { SortType } from './types';
4
+ declare const DragSortTree: (props: SortType) => React.JSX.Element;
5
+ export default DragSortTree;
@@ -0,0 +1,8 @@
1
+ import { IconComponentProps } from '@ant-design/icons/es/components/Icon';
2
+ import React from 'react';
3
+ interface IconFontProps extends IconComponentProps {
4
+ type: string;
5
+ onClick?: React.MouseEventHandler<HTMLSpanElement>;
6
+ }
7
+ declare const IconFont: React.FC<IconFontProps>;
8
+ export default IconFont;
@@ -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;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { ConfigProviderProps } from '../config-provider';
3
+ interface PageProps extends ConfigProviderProps {
4
+ variablesConfig?: {
5
+ disabledHistoryListener?: boolean;
6
+ };
7
+ }
8
+ declare const Page: (props: PageProps) => React.JSX.Element;
9
+ export default Page;
@@ -18,6 +18,8 @@ import enUS from 'antd/es/locale/en_US';
18
18
  import zhCN from 'antd/es/locale/zh_CN';
19
19
  import zhTW from 'antd/es/locale/zh_TW';
20
20
  import zhHK from 'antd/es/locale/zh_HK';
21
+ import jaJP from 'antd/es/locale/ja_JP';
22
+ import ptPT from 'antd/es/locale/pt_PT';
21
23
  import PisellConfigProvider from "../pisell-config-provider";
22
24
  import useEngineContext from "../../hooks/useEngineContext";
23
25
  import { getThemeConfig } from "../../theme/tokens";
@@ -26,7 +28,9 @@ var localMap = {
26
28
  'zh-CN': zhCN,
27
29
  'zh-HK': zhHK,
28
30
  'en-US': enUS,
29
- en: enUS
31
+ en: enUS,
32
+ 'ja': jaJP,
33
+ 'pt': ptPT
30
34
  };
31
35
  var localeDateMap = {
32
36
  'en-US': {
@@ -43,6 +47,12 @@ var localeDateMap = {
43
47
  },
44
48
  'zh-CN': {
45
49
  adapterLocale: 'zh-cn'
50
+ },
51
+ 'ja': {
52
+ adapterLocale: 'ja'
53
+ },
54
+ 'pt': {
55
+ adapterLocale: 'pt'
46
56
  }
47
57
  };
48
58
  var Page = function Page(props) {
@@ -0,0 +1,22 @@
1
+ /// <reference types="react" />
2
+ export interface PisellContextType {
3
+ platform: 'h5' | 'pc' | 'ipad';
4
+ /** 货币符号 */
5
+ symbol?: string;
6
+ /** 当前语言环境 */
7
+ locale?: string;
8
+ /** 获取货币符号 */
9
+ getSymbolic?: () => string;
10
+ }
11
+ export declare const PisellContext: import("react").Context<PisellContextType>;
12
+ /**
13
+ * provider外获取当前全局配置
14
+ */
15
+ declare class GlobalConfig {
16
+ private config;
17
+ constructor();
18
+ setConfig(config: PisellContextType): void;
19
+ getConfig(): PisellContextType;
20
+ }
21
+ export declare const globalConfig: GlobalConfig;
22
+ export default PisellContext;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { PisellContextType } from './context';
3
+ interface PisellConfigProviderType {
4
+ platform?: PisellContextType['platform'];
5
+ children: React.ReactNode;
6
+ /** 货币符号 */
7
+ symbol?: string;
8
+ /** 当前语言环境 */
9
+ locale?: string;
10
+ getSymbolic?: () => string;
11
+ }
12
+ declare const PisellConfigProvider: React.FC<PisellConfigProviderType>;
13
+ export default PisellConfigProvider;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ import { PisellAdjustPriceProps } from './type';
4
+ declare const PisellAdjustPrice: (props: PisellAdjustPriceProps) => React.JSX.Element;
5
+ export default PisellAdjustPrice;
@@ -0,0 +1,32 @@
1
+ export declare const defaultConfig: {
2
+ dark: {
3
+ backgroundColor: string;
4
+ containerBackgroundColor: string;
5
+ buttonBackgroundColor: string;
6
+ textColor: string;
7
+ resetButtonBackgroundColor: string;
8
+ resetButtonTextColor: string;
9
+ isDoneButtonFollowTheme: boolean;
10
+ doneButtonBackgroundColor: string;
11
+ doneButtonTextColor: string;
12
+ isShowMainText: boolean;
13
+ mainTextColor: string;
14
+ isShowSubText: boolean;
15
+ subTextColor: string;
16
+ };
17
+ light: {
18
+ backgroundColor: string;
19
+ containerBackgroundColor: string;
20
+ buttonBackgroundColor: string;
21
+ textColor: string;
22
+ resetButtonBackgroundColor: string;
23
+ resetButtonTextColor: string;
24
+ isDoneButtonFollowTheme: boolean;
25
+ doneButtonBackgroundColor: string;
26
+ doneButtonTextColor: string;
27
+ isShowMainText: boolean;
28
+ mainTextColor: string;
29
+ isShowSubText: boolean;
30
+ subTextColor: string;
31
+ };
32
+ };
@@ -0,0 +1,22 @@
1
+ export interface PisellAdjustPriceProps {
2
+ value?: number;
3
+ originValue: number;
4
+ defaultValue?: number;
5
+ onChange?: (val: number) => void;
6
+ selectType?: 'light' | 'dark';
7
+ backgroundColor?: string;
8
+ containerBackgroundColor?: string;
9
+ buttonBackgroundColor?: string;
10
+ textColor?: string;
11
+ resetButtonBackgroundColor?: string;
12
+ resetButtonTextColor?: string;
13
+ isDoneButtonFollowTheme?: boolean;
14
+ doneButtonBackgroundColor?: string;
15
+ doneButtonTextColor?: string;
16
+ isShowMainText?: boolean;
17
+ mainTextColor?: string;
18
+ isShowSubText?: boolean;
19
+ subTextColor?: string;
20
+ resetText?: string;
21
+ doneText?: string;
22
+ }
@@ -0,0 +1,40 @@
1
+ import React from 'react';
2
+ import { PisellContextType } from '../pisell-config-provider/context';
3
+ import './index.less';
4
+ export interface PisellCheckboxGroupOption {
5
+ label: string;
6
+ value: string;
7
+ disabled?: boolean;
8
+ error?: boolean;
9
+ [key: string]: any;
10
+ }
11
+ declare type PisellCheckboxGroupValue = string | string[] | any;
12
+ export interface PisellCheckboxGroupProps extends React.HTMLAttributes<HTMLDivElement> {
13
+ platform?: PisellContextType['platform'];
14
+ direction?: 'horizontal' | 'vertical';
15
+ fullWidth?: boolean;
16
+ gap?: number;
17
+ padding?: number;
18
+ options: PisellCheckboxGroupOption[];
19
+ onChange?: (value: PisellCheckboxGroupValue, item: PisellCheckboxGroupOption) => void;
20
+ value?: PisellCheckboxGroupValue;
21
+ renderOption?: (option: PisellCheckboxGroupOption, active: boolean, index: number) => React.ReactNode;
22
+ rowKey?: string;
23
+ mode?: 'multiple' | 'single';
24
+ iconPosition?: 'left' | 'right' | 'hide';
25
+ optionClassName?: string;
26
+ optionActiveClassName?: string;
27
+ onChangeDebounce?: boolean;
28
+ onItemClick?: (e: React.MouseEvent<HTMLDivElement>, option: PisellCheckboxGroupOption) => void;
29
+ showActiveBackground?: boolean;
30
+ }
31
+ /**
32
+ * @title: PisellCheckboxGroup
33
+ * @description: 选中组件
34
+ * @param {PisellCheckboxGroupProps} props
35
+ * @return {*}
36
+ * @Author: zhiwei.Wang
37
+ * @Date: 2024-08-16 10:34
38
+ */
39
+ declare const PisellCheckboxGroup: (props: PisellCheckboxGroupProps) => React.JSX.Element;
40
+ export default PisellCheckboxGroup;
@@ -0,0 +1,28 @@
1
+ import React from 'react';
2
+ import { DataSourceContainerContextType } from '../../type';
3
+ export declare const COLUMNS_SHARED_STATE_KEYS: {
4
+ readonly columnsValue: (instanceId: string) => string;
5
+ readonly columnsChange: (instanceId: string) => string;
6
+ };
7
+ export interface ColumnsSettingProps {
8
+ scopeId?: string;
9
+ __id?: string;
10
+ }
11
+ export interface ColumnSettingItem {
12
+ key: string;
13
+ title: React.ReactNode;
14
+ titleString?: string;
15
+ dataIndex: string;
16
+ isShow: boolean;
17
+ sortIndex?: number;
18
+ fixed?: 'left' | 'right' | boolean;
19
+ }
20
+ /**
21
+ * 暴露给父组件的 ref 方法
22
+ */
23
+ export interface ColumnsSettingRef {
24
+ }
25
+ declare const _default: React.ForwardRefExoticComponent<Omit<ColumnsSettingProps & DataSourceContainerContextType & React.RefAttributes<ColumnsSettingRef> & {
26
+ refId?: string | undefined;
27
+ }, "ref"> & React.RefAttributes<any>>;
28
+ export default _default;
@@ -0,0 +1,22 @@
1
+ import React from 'react';
2
+ export declare const saveColumnSettingToLocal: ({ componentId, columnSetting, }: {
3
+ componentId: string;
4
+ columnSetting: Array<{
5
+ key: string;
6
+ dataIndex: string;
7
+ title?: React.ReactNode;
8
+ titleString?: string;
9
+ isShow: boolean;
10
+ sortIndex?: number;
11
+ fixed?: 'left' | 'right' | boolean;
12
+ }>;
13
+ }) => void;
14
+ export declare const getColumnSettingFromLocal: (componentId?: string) => any;
15
+ export declare const mergeColumnSettingSimple: ({ columns, componentId, }: {
16
+ columns: Record<string, any>[];
17
+ componentId?: string | undefined;
18
+ }) => {
19
+ isShow: any;
20
+ sortIndex: any;
21
+ }[];
22
+ export declare const clearColumnSettingFromLocal: (componentId?: string) => void;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { DataSourceContainerContextType } from '../../type';
3
+ declare const _default: React.ForwardRefExoticComponent<Omit<Partial<import("antd").TableProps<any>> & DataSourceContainerContextType & {
4
+ scopeId?: string | undefined;
5
+ __id?: string | undefined;
6
+ } & React.RefAttributes<unknown> & {
7
+ refId?: string | undefined;
8
+ }, "ref"> & React.RefAttributes<any>>;
9
+ export default _default;
@@ -0,0 +1,14 @@
1
+ import { RefManagerContextType } from '../../type';
2
+ /**
3
+ * useColumns Hook 参数
4
+ */
5
+ interface UseColumnsParams {
6
+ columns: any[];
7
+ scopeId: string;
8
+ refManager: RefManagerContextType;
9
+ __id?: string;
10
+ }
11
+ declare const useColumns: (params: UseColumnsParams) => {
12
+ visibleColumns: any[];
13
+ };
14
+ export default useColumns;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const PisellDatePicker: (props: any) => import("react").JSX.Element;
3
2
  export default PisellDatePicker;
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import { EmptyProps } from 'antd';
3
+ import { PisellContextType } from '../pisell-config-provider/context';
4
+ import './index.less';
5
+ export interface PisellEmptyProps extends EmptyProps {
6
+ /** 平台 */
7
+ platform?: PisellContextType['platform'];
8
+ /** 额外内容描述 */
9
+ extraDescription?: React.ReactNode;
10
+ /** 额外内容描述 */
11
+ icon?: React.ReactNode;
12
+ /** 自定义底部额外操作区域 */
13
+ footer?: React.ReactNode;
14
+ [key: string]: any;
15
+ /** 最大宽度 */
16
+ maxWidth?: number;
17
+ }
18
+ declare const PisellEmpty: (props: PisellEmptyProps) => React.JSX.Element;
19
+ export default PisellEmpty;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import IpadModal from './IpadModal';
3
2
  import MobileModal from './MobileModal';
4
3
  import PcModal from './PcModal';
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import type { PisellNavigationMenuProps } from './types';
3
+ import './PisellNavigationMenu.less';
4
+ declare const PisellNavigationMenu: React.FC<PisellNavigationMenuProps>;
5
+ export default PisellNavigationMenu;
@@ -0,0 +1,21 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export interface PisellStatisticListProps extends React.HTMLAttributes<HTMLDivElement> {
4
+ isHasBorder?: boolean;
5
+ backgroundColors?: string[];
6
+ labelColor?: string;
7
+ valueColor?: string;
8
+ data: {
9
+ label: string;
10
+ value: string;
11
+ isLink?: boolean;
12
+ link?: string;
13
+ tip?: string;
14
+ children?: {
15
+ label: string;
16
+ value: string;
17
+ }[];
18
+ }[];
19
+ }
20
+ declare const PisellStatisticList: (props: PisellStatisticListProps) => React.JSX.Element;
21
+ export default PisellStatisticList;
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ import { PisellContextType } from '../../../pisell-config-provider/context';
3
+ export interface AmountProps extends React.HTMLAttributes<HTMLSpanElement> {
4
+ /** 平台 */
5
+ platform?: PisellContextType['platform'];
6
+ /** 当前数值 */
7
+ value?: number | string;
8
+ /** 小数点后位数 默认是小数点后2位 */
9
+ precision?: number;
10
+ /** 显示货币符号 指的是 ¥$ 等货币符号等显隐,默认是展示 */
11
+ showCurrencySymbol?: boolean;
12
+ /** 千分位 指的是长金额的千分位逗号隔开,比如“123, 245, 315” 这种展现形式,默认是关闭 */
13
+ useThousandsSeparator?: boolean;
14
+ /** 整数位隐藏小数 指的是如果价格为整数,后面的".00" 将被省略以节省页面空间 */
15
+ hideDecimalForWholeNumbers?: boolean;
16
+ /** 货币符号 */
17
+ symbol?: string;
18
+ }
19
+ declare const Amount: (props: AmountProps) => React.JSX.Element;
20
+ export default Amount;
@@ -4,6 +4,9 @@ export declare type MultiLanguageValue = {
4
4
  en: string;
5
5
  'zh-CN': string;
6
6
  'zh-HK': string;
7
+ 'ja': string;
8
+ 'pt': string;
9
+ original: string;
7
10
  };
8
11
  export interface EditableConfig {
9
12
  /** 是否禁用编辑 */
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export interface PisellToastProps {
4
+ /** 提示内容 */
5
+ content: React.ReactNode;
6
+ /** 自动关闭的延时,单位秒。设为 0 时不自动关闭 */
7
+ duration?: number;
8
+ /** 是否展示action */
9
+ showAction?: boolean;
10
+ /** action文案 */
11
+ actionText?: string;
12
+ /** 关闭时触发的回调函数 */
13
+ onClose?: () => void;
14
+ }
15
+ declare const PisellToast: (props: PisellToastProps) => void;
16
+ export { useToast } from './squareToast';
17
+ export default PisellToast;
@@ -0,0 +1,15 @@
1
+ import { clear, show, success, info, loading, fail, hide } from './methods';
2
+ import './index.less';
3
+ interface ToastInstance {
4
+ show: typeof show;
5
+ clear: typeof clear;
6
+ success: typeof success;
7
+ info: typeof info;
8
+ loading: typeof loading;
9
+ fail: typeof fail;
10
+ error: typeof fail;
11
+ hide: typeof hide;
12
+ }
13
+ declare const Toast: ToastInstance;
14
+ export declare const useToast: () => ToastInstance;
15
+ export default Toast;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { ToastProps } from './toast';
3
+ interface ToastInstance {
4
+ close: () => void;
5
+ }
6
+ declare const show: (configOrContent: Partial<ToastProps> | React.ReactNode, duration?: number, afterClose?: () => void) => ToastInstance;
7
+ declare const clear: () => void;
8
+ declare const success: (content: React.ReactNode, duration?: number, afterClose?: () => void) => ToastInstance;
9
+ declare const info: (content: React.ReactNode, duration?: number, afterClose?: () => void) => ToastInstance;
10
+ declare const loading: (content: React.ReactNode, duration?: number, afterClose?: () => void) => ToastInstance;
11
+ declare const fail: (content: React.ReactNode, duration?: number, afterClose?: () => void) => ToastInstance;
12
+ declare const hide: () => void;
13
+ export { show, clear, success, info, loading, fail, hide };