@pisell/materials 6.3.4 → 6.4.1

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 (347) 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 +4 -4
  6. package/build/lowcode/preview.js +150 -150
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +28 -24
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +34 -30
  11. package/es/components/DragSortList/index.js +6 -6
  12. package/es/components/batch-editor/index.d.ts +1 -0
  13. package/es/components/classicLayout/index.js +4 -5
  14. package/es/components/dataSourceComponents/dataSourceForm/formItem.d.ts +1 -0
  15. package/es/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +1 -0
  16. package/es/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +1 -0
  17. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +3 -2
  18. package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -0
  19. package/es/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +1 -0
  20. package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +1 -0
  21. package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  22. package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
  23. package/es/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +1 -0
  24. package/es/components/dataSourceComponents/fields/index.d.ts +21 -20
  25. package/es/components/date-picker/datePickerCpt.d.ts +1 -0
  26. package/es/components/filter/index.d.ts +1 -0
  27. package/es/components/icon/index.js +5 -5
  28. package/es/components/iconfont/index.js +1 -1
  29. package/es/components/list/index.d.ts +1 -0
  30. package/es/components/list/index.js +6 -6
  31. package/es/components/lowCodePage/index.d.ts +1 -0
  32. package/es/components/page/index.d.ts +1 -0
  33. package/es/components/pisellAdjustPrice/index.js +5 -1
  34. package/es/components/pisellCardList/index.js +42 -3
  35. package/es/components/pisellCardList/index.less +9 -1
  36. package/es/components/pisellCheckboxGroup/index.js +23 -4
  37. package/es/components/pisellCheckboxGroup/index.less +28 -1
  38. package/es/components/pisellGoodPassCard/index.d.ts +1 -0
  39. package/es/components/pisellGoodPassCard/index.js +17 -5
  40. package/es/components/pisellInput/components/Copy/index.d.ts +1 -0
  41. package/es/components/pisellText/components/Amount/index.js +2 -1
  42. package/es/components/pisellToast/index.js +3 -0
  43. package/es/components/pisellWalletPassCard/index.d.ts +53 -1
  44. package/es/components/pisellWalletPassCard/index.js +333 -75
  45. package/es/components/pisellWalletPassCard/index.less +48 -11
  46. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.js +80 -0
  47. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.less +75 -0
  48. package/es/components/productCard/cartSkuCard/components/MultiDay/index.js +82 -0
  49. package/es/components/productCard/cartSkuCard/components/MultiDay/index.less +31 -0
  50. package/es/components/productCard/cartSkuCard/components/MultiDay/utils.js +56 -0
  51. package/es/components/productCard/cartSkuCard/components/Note/index.js +29 -0
  52. package/es/components/productCard/cartSkuCard/components/Note/index.less +27 -0
  53. package/es/components/productCard/cartSkuCard/components/basicInfo/index.js +93 -0
  54. package/es/components/productCard/cartSkuCard/components/basicInfo/index.less +117 -0
  55. package/es/components/productCard/cartSkuCard/components/discountReason/index.js +51 -0
  56. package/es/components/productCard/cartSkuCard/components/holders/index.js +32 -0
  57. package/es/components/productCard/cartSkuCard/components/holders/index.less +32 -0
  58. package/es/components/productCard/cartSkuCard/components/packages/index.js +52 -0
  59. package/es/components/productCard/cartSkuCard/components/packages/index.less +22 -0
  60. package/es/components/productCard/cartSkuCard/components/packages/utils.js +40 -0
  61. package/es/components/productCard/cartSkuCard/components/resources/index.js +39 -0
  62. package/es/components/productCard/cartSkuCard/components/resources/index.less +19 -0
  63. package/es/components/productCard/cartSkuCard/components/sales/index.js +57 -0
  64. package/es/components/productCard/cartSkuCard/components/sales/index.less +22 -0
  65. package/es/components/productCard/cartSkuCard/components/specs/index.js +44 -0
  66. package/es/components/productCard/cartSkuCard/components/specs/index.less +34 -0
  67. package/es/components/productCard/cartSkuCard/components/swipeAction/index.js +292 -0
  68. package/es/components/productCard/cartSkuCard/components/swipeAction/index.less +35 -0
  69. package/es/components/productCard/cartSkuCard/components/timeRange/index.js +54 -0
  70. package/es/components/productCard/cartSkuCard/components/timeRange/index.less +38 -0
  71. package/es/components/productCard/cartSkuCard/index.js +201 -0
  72. package/es/components/productCard/cartSkuCard/index.less +33 -0
  73. package/es/components/productCard/cartSkuCard/locales.js +30 -0
  74. package/es/components/productCard/components/Action/index.js +14 -1
  75. package/es/components/productCard/components/Action/index.less +3 -0
  76. package/es/components/productCard/components/AmountFooter/index.d.ts +1 -0
  77. package/es/components/productCard/components/Header/EditButton/index.d.ts +1 -0
  78. package/es/components/productCard/components/Header/index.js +23 -8
  79. package/es/components/productCard/components/Header/index.less +16 -1
  80. package/es/components/productCard/components/Note/index.d.ts +1 -0
  81. package/es/components/productCard/components/Packages/index.d.ts +1 -0
  82. package/es/components/productCard/components/Sales/index.js +2 -2
  83. package/es/components/productCard/components/Time/components/SelectHolderModal/index.js +3 -1
  84. package/es/components/productCard/components/Time/components/SelectHolderModal/index.less +3 -0
  85. package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +1 -0
  86. package/es/components/productCard/index.d.ts +3 -1
  87. package/es/components/productCard/index.js +5 -2
  88. package/es/components/productCard/index.less +6 -0
  89. package/es/components/productCard/locales.js +3 -0
  90. package/es/components/qrcode/index.d.ts +1 -0
  91. package/es/components/qrcode/index.js +1 -1
  92. package/es/components/sort/components/InlineMenu/index.js +1 -1
  93. package/es/components/table/Actions/component/ButtonIcon/index.js +5 -5
  94. package/es/components/table/Actions/component/ViewMode/index.js +1 -1
  95. package/es/components/table/BasicTable/index.d.ts +1 -0
  96. package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +1 -0
  97. package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.js +4 -5
  98. package/es/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  99. package/es/components/table/Header/Buttons/index.js +5 -5
  100. package/es/components/table/Table/AddFieldModal/index.js +13 -13
  101. package/es/components/table/Table/AddFieldModal/index.less +11 -11
  102. package/es/components/table/Table/SelectField/index.js +4 -4
  103. package/es/components/table/Table/fields/date/Edit/index.js +1 -1
  104. package/es/components/table/Table/fields/date/Show/index.d.ts +1 -0
  105. package/es/components/table/Table/fields/index.d.ts +2 -2
  106. package/es/components/table/Table/fields/link/Edit/index.js +5 -5
  107. package/es/components/table/Table/fields/link/Show/index.d.ts +1 -0
  108. package/es/components/table/Table/fields/rangePicker/filterUtil/index.js +1 -1
  109. package/es/components/table/Table/fields/search/filterUtil/index.js +0 -1
  110. package/es/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  111. package/es/components/table/Table/fields/text/Show/index.d.ts +1 -0
  112. package/es/components/table/Table/fields/text/Show/index.js +4 -4
  113. package/es/components/table/Table/fields/text/filterUtil/index.js +0 -1
  114. package/es/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  115. package/es/components/table/Table/tableConfig/SortRow/index.d.ts +1 -0
  116. package/es/components/table/Table/tableConfig/SortRow/index.js +2 -2
  117. package/es/components/table/Table/tableConfig/body/CellContent/index.js +3 -3
  118. package/es/components/table/Table/tableConfig/body/CellProvider/index.js +8 -8
  119. package/es/components/table/hooks/useMergeColumnSetting.js +1 -2
  120. package/es/components/table/hooks/useTransDataSourceGroupSetting.js +5 -5
  121. package/es/components/table/hooks/useTransFilterSetting.js +5 -5
  122. package/es/components/translation/utils.js +5 -5
  123. package/es/components/virtual-keyboard/Amount/index.d.ts +1 -0
  124. package/es/components/virtual-keyboard/Number/index.js +4 -1
  125. package/es/components/virtual-keyboard/index.js +88 -3
  126. package/es/components/virtual-keyboard/index.less +33 -1
  127. package/es/components/walletCard/Guide/index.js +12 -1
  128. package/es/hooks/useResponsive.js +2 -2
  129. package/es/index.d.ts +1 -0
  130. package/es/locales/en-US.js +9 -2
  131. package/es/locales/zh-CN.js +9 -2
  132. package/es/locales/zh-TW.js +9 -2
  133. package/es/utils/hoc.js +1 -1
  134. package/es/utils/index.d.ts +1 -1
  135. package/es/utils/miniRedux.js +8 -9
  136. package/lib/components/batch-editor/index.d.ts +1 -0
  137. package/lib/components/dataSourceComponents/dataSourceForm/formItem.d.ts +1 -0
  138. package/lib/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +1 -0
  139. package/lib/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +1 -0
  140. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +3 -2
  141. package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -0
  142. package/lib/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +1 -0
  143. package/lib/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +1 -0
  144. package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  145. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
  146. package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +1 -0
  147. package/lib/components/dataSourceComponents/fields/index.d.ts +21 -20
  148. package/lib/components/date-picker/datePickerCpt.d.ts +1 -0
  149. package/lib/components/filter/index.d.ts +1 -0
  150. package/lib/components/iconfont/index.js +1 -1
  151. package/lib/components/list/index.d.ts +1 -0
  152. package/lib/components/lowCodePage/index.d.ts +1 -0
  153. package/lib/components/lowCodePage/index.js +1 -2
  154. package/lib/components/page/index.d.ts +1 -0
  155. package/lib/components/pisellAdjustPrice/index.js +4 -0
  156. package/lib/components/pisellCardList/index.js +42 -3
  157. package/lib/components/pisellCardList/index.less +9 -1
  158. package/lib/components/pisellCheckboxGroup/index.js +22 -1
  159. package/lib/components/pisellCheckboxGroup/index.less +28 -1
  160. package/lib/components/pisellGoodPassCard/index.d.ts +1 -0
  161. package/lib/components/pisellGoodPassCard/index.js +31 -4
  162. package/lib/components/pisellInput/components/Copy/index.d.ts +1 -0
  163. package/lib/components/pisellText/components/Amount/index.js +2 -1
  164. package/lib/components/pisellToast/index.js +3 -0
  165. package/lib/components/pisellWalletPassCard/index.d.ts +53 -1
  166. package/lib/components/pisellWalletPassCard/index.js +253 -59
  167. package/lib/components/pisellWalletPassCard/index.less +48 -11
  168. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.js +80 -0
  169. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.less +75 -0
  170. package/lib/components/productCard/cartSkuCard/components/MultiDay/index.js +71 -0
  171. package/lib/components/productCard/cartSkuCard/components/MultiDay/index.less +31 -0
  172. package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.js +77 -0
  173. package/lib/components/productCard/cartSkuCard/components/Note/index.js +56 -0
  174. package/lib/components/productCard/cartSkuCard/components/Note/index.less +27 -0
  175. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.js +82 -0
  176. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.less +117 -0
  177. package/lib/components/productCard/cartSkuCard/components/discountReason/index.js +70 -0
  178. package/lib/components/productCard/cartSkuCard/components/holders/index.js +52 -0
  179. package/lib/components/productCard/cartSkuCard/components/holders/index.less +32 -0
  180. package/lib/components/productCard/cartSkuCard/components/packages/index.js +73 -0
  181. package/lib/components/productCard/cartSkuCard/components/packages/index.less +22 -0
  182. package/lib/components/productCard/cartSkuCard/components/packages/utils.js +44 -0
  183. package/lib/components/productCard/cartSkuCard/components/resources/index.js +71 -0
  184. package/lib/components/productCard/cartSkuCard/components/resources/index.less +19 -0
  185. package/lib/components/productCard/cartSkuCard/components/sales/index.js +77 -0
  186. package/lib/components/productCard/cartSkuCard/components/sales/index.less +22 -0
  187. package/lib/components/productCard/cartSkuCard/components/specs/index.js +66 -0
  188. package/lib/components/productCard/cartSkuCard/components/specs/index.less +34 -0
  189. package/lib/components/productCard/cartSkuCard/components/swipeAction/index.js +339 -0
  190. package/lib/components/productCard/cartSkuCard/components/swipeAction/index.less +35 -0
  191. package/lib/components/productCard/cartSkuCard/components/timeRange/index.js +68 -0
  192. package/lib/components/productCard/cartSkuCard/components/timeRange/index.less +38 -0
  193. package/lib/components/productCard/cartSkuCard/index.js +239 -0
  194. package/lib/components/productCard/cartSkuCard/index.less +33 -0
  195. package/lib/components/productCard/cartSkuCard/locales.js +61 -0
  196. package/lib/components/productCard/components/Action/index.js +9 -0
  197. package/lib/components/productCard/components/Action/index.less +3 -0
  198. package/lib/components/productCard/components/AmountFooter/index.d.ts +1 -0
  199. package/lib/components/productCard/components/Header/EditButton/index.d.ts +1 -0
  200. package/lib/components/productCard/components/Header/index.js +21 -11
  201. package/lib/components/productCard/components/Header/index.less +16 -1
  202. package/lib/components/productCard/components/Note/index.d.ts +1 -0
  203. package/lib/components/productCard/components/Packages/index.d.ts +1 -0
  204. package/lib/components/productCard/components/Sales/index.js +2 -2
  205. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.js +1 -1
  206. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.less +3 -0
  207. package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +1 -0
  208. package/lib/components/productCard/index.d.ts +3 -1
  209. package/lib/components/productCard/index.js +6 -2
  210. package/lib/components/productCard/index.less +6 -0
  211. package/lib/components/productCard/locales.js +12 -3
  212. package/lib/components/qrcode/index.d.ts +1 -0
  213. package/lib/components/table/BasicTable/index.d.ts +1 -0
  214. package/lib/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +1 -0
  215. package/lib/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  216. package/lib/components/table/Table/AddFieldModal/index.js +9 -9
  217. package/lib/components/table/Table/AddFieldModal/index.less +11 -11
  218. package/lib/components/table/Table/fields/date/Show/index.d.ts +1 -0
  219. package/lib/components/table/Table/fields/date/filterUtil/index.js +3 -6
  220. package/lib/components/table/Table/fields/index.d.ts +2 -2
  221. package/lib/components/table/Table/fields/link/Show/index.d.ts +1 -0
  222. package/lib/components/table/Table/fields/rangePicker/filterUtil/index.js +4 -8
  223. package/lib/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  224. package/lib/components/table/Table/fields/text/Show/index.d.ts +1 -0
  225. package/lib/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  226. package/lib/components/table/Table/fields/utils/index.js +1 -2
  227. package/lib/components/table/Table/tableConfig/SortRow/index.d.ts +1 -0
  228. package/lib/components/virtual-keyboard/Amount/index.d.ts +1 -0
  229. package/lib/components/virtual-keyboard/Number/index.js +3 -0
  230. package/lib/components/virtual-keyboard/index.js +60 -2
  231. package/lib/components/virtual-keyboard/index.less +33 -1
  232. package/lib/components/walletCard/Guide/index.js +11 -1
  233. package/lib/hooks/useResponsive.js +3 -6
  234. package/lib/index.d.ts +1 -0
  235. package/lib/locales/en-US.js +9 -2
  236. package/lib/locales/zh-CN.js +9 -2
  237. package/lib/locales/zh-TW.js +9 -2
  238. package/lib/utils/index.d.ts +1 -1
  239. package/lowcode/_setters/antd-icon-setter/index.tsx +3 -2
  240. package/lowcode/pisell-card-list/meta.ts +50 -1
  241. package/lowcode/pisell-wallet-pass-card/actionsMeta.ts +7 -0
  242. package/lowcode/virtual-keyboard/meta.ts +131 -0
  243. package/package.json +14 -11
  244. package/dist/umd/materials.min.css +0 -1
  245. package/dist/umd/materials.min.js +0 -1
  246. package/dist/umd/static/DotsSix.57d66266.svg +0 -1
  247. package/dist/umd/static/arrow-left.e542294f.svg +0 -1
  248. package/dist/umd/static/arrow-right.763f03e0.svg +0 -1
  249. package/dist/umd/static/filter-lines.04a54ae9.svg +0 -1
  250. package/dist/umd/static/help-circle.31c9be40.svg +0 -1
  251. package/dist/umd/static/switch-vertical-01.7ebe3ba8.svg +0 -1
  252. package/es/components/appVersionControl/index.d.ts +0 -4
  253. package/es/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +0 -3
  254. package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +0 -56
  255. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -38
  256. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +0 -98
  257. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -79
  258. package/es/components/dataSourceComponents/fields/Input.Mobile/WithMode.d.ts +0 -10
  259. package/es/components/dataSourceComponents/fields/Input.Phone/WithMode.d.ts +0 -10
  260. package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -24
  261. package/es/components/drag-sort-tree/index.d.ts +0 -4
  262. package/es/components/iconfont/index.d.ts +0 -8
  263. package/es/components/login-and-register/index.d.ts +0 -82
  264. package/es/components/pisell-config-provider/context.d.ts +0 -20
  265. package/es/components/pisell-config-provider/index.d.ts +0 -12
  266. package/es/components/pisellAdjustPrice/index.d.ts +0 -4
  267. package/es/components/pisellAdjustPrice/type.d.ts +0 -20
  268. package/es/components/pisellCardList/index.d.ts +0 -73
  269. package/es/components/pisellCheckboxGroup/index.d.ts +0 -36
  270. package/es/components/pisellEmpty/index.d.ts +0 -19
  271. package/es/components/pisellText/components/Amount/index.d.ts +0 -20
  272. package/es/components/pisellToast/index.d.ts +0 -16
  273. package/es/components/productCard/components/Action/index.d.ts +0 -3
  274. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +0 -3
  275. package/es/components/productCard/components/Header/index.d.ts +0 -3
  276. package/es/components/productCard/components/Sales/index.d.ts +0 -3
  277. package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -3
  278. package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -13
  279. package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -18
  280. package/es/components/productCard/components/Time/index.d.ts +0 -3
  281. package/es/components/productCard/locales.d.ts +0 -84
  282. package/es/components/table/Gallery/components/GalleryItem/index.d.ts +0 -14
  283. package/es/components/table/Gallery/index.d.ts +0 -5
  284. package/es/components/table/Table/AddFieldModal/index.d.ts +0 -3
  285. package/es/components/table/Table/index.d.ts +0 -4
  286. package/es/components/table/Table/utils.d.ts +0 -161
  287. package/es/components/table/hooks/useTableSetting.d.ts +0 -22
  288. package/es/components/table/hooks/useTransDataSource.d.ts +0 -11
  289. package/es/components/table/types.d.ts +0 -251
  290. package/es/components/translation/index.d.ts +0 -14
  291. package/es/components/versionModal/index.d.ts +0 -23
  292. package/es/components/virtual-keyboard/Number/index.d.ts +0 -5
  293. package/es/components/virtual-keyboard/Number/types.d.ts +0 -25
  294. package/es/components/virtual-keyboard/index.d.ts +0 -14
  295. package/es/components/walletCard/Guide/index.d.ts +0 -3
  296. package/es/components/walletCard/index.d.ts +0 -67
  297. package/es/locales/en-US.d.ts +0 -278
  298. package/es/locales/zh-CN.d.ts +0 -273
  299. package/es/locales/zh-TW.d.ts +0 -273
  300. package/lib/components/appVersionControl/index.d.ts +0 -4
  301. package/lib/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +0 -3
  302. package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +0 -56
  303. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -38
  304. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +0 -98
  305. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -79
  306. package/lib/components/dataSourceComponents/fields/Input.Mobile/WithMode.d.ts +0 -10
  307. package/lib/components/dataSourceComponents/fields/Input.Phone/WithMode.d.ts +0 -10
  308. package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -24
  309. package/lib/components/drag-sort-tree/index.d.ts +0 -4
  310. package/lib/components/iconfont/index.d.ts +0 -8
  311. package/lib/components/login-and-register/index.d.ts +0 -82
  312. package/lib/components/pisell-config-provider/context.d.ts +0 -20
  313. package/lib/components/pisell-config-provider/index.d.ts +0 -12
  314. package/lib/components/pisellAdjustPrice/index.d.ts +0 -4
  315. package/lib/components/pisellAdjustPrice/type.d.ts +0 -20
  316. package/lib/components/pisellCardList/index.d.ts +0 -73
  317. package/lib/components/pisellCheckboxGroup/index.d.ts +0 -36
  318. package/lib/components/pisellEmpty/index.d.ts +0 -19
  319. package/lib/components/pisellText/components/Amount/index.d.ts +0 -20
  320. package/lib/components/pisellToast/index.d.ts +0 -16
  321. package/lib/components/productCard/components/Action/index.d.ts +0 -3
  322. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +0 -3
  323. package/lib/components/productCard/components/Header/index.d.ts +0 -3
  324. package/lib/components/productCard/components/Sales/index.d.ts +0 -3
  325. package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -3
  326. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -13
  327. package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -18
  328. package/lib/components/productCard/components/Time/index.d.ts +0 -3
  329. package/lib/components/productCard/locales.d.ts +0 -84
  330. package/lib/components/table/Gallery/components/GalleryItem/index.d.ts +0 -14
  331. package/lib/components/table/Gallery/index.d.ts +0 -5
  332. package/lib/components/table/Table/AddFieldModal/index.d.ts +0 -3
  333. package/lib/components/table/Table/index.d.ts +0 -4
  334. package/lib/components/table/Table/utils.d.ts +0 -161
  335. package/lib/components/table/hooks/useTableSetting.d.ts +0 -22
  336. package/lib/components/table/hooks/useTransDataSource.d.ts +0 -11
  337. package/lib/components/table/types.d.ts +0 -251
  338. package/lib/components/translation/index.d.ts +0 -14
  339. package/lib/components/versionModal/index.d.ts +0 -23
  340. package/lib/components/virtual-keyboard/Number/index.d.ts +0 -5
  341. package/lib/components/virtual-keyboard/Number/types.d.ts +0 -25
  342. package/lib/components/virtual-keyboard/index.d.ts +0 -14
  343. package/lib/components/walletCard/Guide/index.d.ts +0 -3
  344. package/lib/components/walletCard/index.d.ts +0 -67
  345. package/lib/locales/en-US.d.ts +0 -278
  346. package/lib/locales/zh-CN.d.ts +0 -273
  347. package/lib/locales/zh-TW.d.ts +0 -273
@@ -1,9 +1,26 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ var _excluded = ["virtualKeyInputProps", "style", "className", "keyboardProps", "onChange", "value", "rightPanel", "selectType"];
1
3
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
- import React, { useEffect } from "react";
4
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
6
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
7
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
8
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
9
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
10
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
11
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
12
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
13
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
14
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
15
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
16
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
17
+ import React, { useEffect, useMemo } from "react";
3
18
  import Keyboard from "./Keyboard";
4
19
  import VirtualKeyInput from "./VirtualKeyInput";
5
20
  import "./index.less";
6
21
  import classNames from "classnames";
22
+ import { setTheme } from '@pisell/utils';
23
+ import usePisellConfig from "../pisell-config-provider/hooks/usePisellConfig";
7
24
  var items = [{
8
25
  value: 1,
9
26
  label: "1",
@@ -60,6 +77,33 @@ var items = [{
60
77
  disabled: false,
61
78
  type: "primary"
62
79
  }];
80
+ // 默认主题配置
81
+ var virtualKeyboardThemeConfig = {
82
+ dark: {
83
+ backgroundColor: 'rgba(0, 0, 0, 0.70)',
84
+ containerBackgroundColor: 'rgba(0, 0, 0, 0.40)',
85
+ buttonBackgroundColor: '#ffffff',
86
+ textColor: '#000000',
87
+ keyboardBackgroundColor: 'rgba(0, 0, 0, 0.40)',
88
+ keyboardButtonBackgroundColor: '#ffffff',
89
+ keyboardButtonTextColor: '#000000',
90
+ keyboardButtonHoverColor: '#f5f5f5',
91
+ primaryButtonBackgroundColor: '#4ca30d',
92
+ primaryButtonTextColor: '#ffffff'
93
+ },
94
+ light: {
95
+ backgroundColor: '#ffffff',
96
+ containerBackgroundColor: '#d0d5dd',
97
+ buttonBackgroundColor: '#ffffff',
98
+ textColor: '#000000',
99
+ keyboardBackgroundColor: '#f9f9f9',
100
+ keyboardButtonBackgroundColor: '#ffffff',
101
+ keyboardButtonTextColor: '#000000',
102
+ keyboardButtonHoverColor: '#f5f5f5',
103
+ primaryButtonBackgroundColor: '#4ca30d',
104
+ primaryButtonTextColor: '#ffffff'
105
+ }
106
+ };
63
107
  var VirtualKeyboard = function VirtualKeyboard(props) {
64
108
  var virtualKeyInputProps = props.virtualKeyInputProps,
65
109
  style = props.style,
@@ -67,12 +111,53 @@ var VirtualKeyboard = function VirtualKeyboard(props) {
67
111
  keyboardProps = props.keyboardProps,
68
112
  onChange = props.onChange,
69
113
  value = props.value,
70
- rightPanel = props.rightPanel;
114
+ rightPanel = props.rightPanel,
115
+ _props$selectType = props.selectType,
116
+ selectType = _props$selectType === void 0 ? 'light' : _props$selectType,
117
+ others = _objectWithoutProperties(props, _excluded);
118
+ var config = usePisellConfig();
71
119
  useEffect(function () {
72
120
  document.body.id = "body";
73
121
  }, []);
122
+
123
+ /**
124
+ * 配置颜色
125
+ * 根据 props 和 selectType 生成最终的配置颜色
126
+ */
127
+ var configColor = useMemo(function () {
128
+ var currentConfig = virtualKeyboardThemeConfig[selectType];
129
+
130
+ // 过滤出有效的 props 并合并到默认配置中
131
+ var validProps = Object.entries(props).reduce(function (acc, _ref) {
132
+ var _ref2 = _slicedToArray(_ref, 2),
133
+ key = _ref2[0],
134
+ value = _ref2[1];
135
+ if (value !== undefined && key in currentConfig) {
136
+ acc[key] = value;
137
+ }
138
+ return acc;
139
+ }, {});
140
+ return _objectSpread(_objectSpread({}, currentConfig), validProps);
141
+ }, [selectType, props]);
142
+ useEffect(function () {
143
+ setTheme({
144
+ '--virtual-keyboard-background-color': configColor.backgroundColor,
145
+ '--virtual-keyboard-container-background-color': configColor.containerBackgroundColor,
146
+ '--virtual-keyboard-button-background-color': configColor.buttonBackgroundColor,
147
+ '--virtual-keyboard-text-color': configColor.textColor,
148
+ '--virtual-keyboard-keyboard-background-color': configColor.keyboardBackgroundColor,
149
+ '--virtual-keyboard-keyboard-button-background-color': configColor.keyboardButtonBackgroundColor,
150
+ '--virtual-keyboard-keyboard-button-text-color': configColor.keyboardButtonTextColor,
151
+ '--virtual-keyboard-keyboard-button-hover-color': configColor.keyboardButtonHoverColor,
152
+ '--virtual-keyboard-primary-button-background-color': configColor.primaryButtonBackgroundColor,
153
+ '--virtual-keyboard-primary-button-text-color': configColor.primaryButtonTextColor
154
+ });
155
+ }, [configColor]);
74
156
  return /*#__PURE__*/React.createElement("div", {
75
- className: classNames("virtual-keyboard-component", className),
157
+ className: classNames("virtual-keyboard-component", className, {
158
+ 'virtual-keyboard-component-dark': selectType === 'dark',
159
+ 'virtual-keyboard-component-light': selectType === 'light'
160
+ }),
76
161
  style: style
77
162
  }, /*#__PURE__*/React.createElement("div", {
78
163
  className: classNames("virtual-keyboard-component-left")
@@ -2,14 +2,46 @@
2
2
  display: flex;
3
3
  align-items: center;
4
4
  gap: 20px;
5
+ background-color: var(--virtual-keyboard-background-color, #ffffff);
6
+
7
+ &.virtual-keyboard-component-dark {
8
+ background-color: var(--virtual-keyboard-background-color, rgba(0, 0, 0, 0.70));
9
+ }
10
+
11
+ &.virtual-keyboard-component-light {
12
+ background-color: var(--virtual-keyboard-background-color, #ffffff);
13
+ }
5
14
  }
6
15
 
7
16
  .virtual-keyboard-component-left {
8
17
  padding: 10px;
9
18
  width: 380px;
10
19
  border-radius: 10px;
11
- background: var(--Gray-300, #D0D5DD);
20
+ background: var(--virtual-keyboard-container-background-color, #D0D5DD);
12
21
  backdrop-filter: blur(50px);
22
+
23
+ .pisell-virtual-keyboard-input {
24
+ background-color: var(--virtual-keyboard-button-background-color, #ffffff);
25
+ color: var(--virtual-keyboard-text-color, #000000);
26
+ }
27
+
28
+ .pisell-keyboard {
29
+ background-color: var(--virtual-keyboard-keyboard-background-color, #f9f9f9);
30
+
31
+ .pisell-keyboard-item {
32
+ background-color: var(--virtual-keyboard-keyboard-button-background-color, #ffffff);
33
+ color: var(--virtual-keyboard-keyboard-button-text-color, #000000);
34
+
35
+ &:hover {
36
+ background-color: var(--virtual-keyboard-keyboard-button-hover-color, #f5f5f5);
37
+ }
38
+
39
+ &.pisell-keyboard-item-primary {
40
+ background-color: var(--virtual-keyboard-primary-button-background-color, #4ca30d);
41
+ color: var(--virtual-keyboard-primary-button-text-color, #ffffff);
42
+ }
43
+ }
44
+ }
13
45
  }
14
46
 
15
47
  .virtual-keyboard-component-right {
@@ -37,9 +37,20 @@ var Guide = function Guide(props) {
37
37
  * @Date: 2025-06-09 14:36
38
38
  */
39
39
  var handleClick = function handleClick(e) {
40
- var _setting$skipLink;
40
+ var _setting$skipLink, _utils$interaction, _utils$interaction$is;
41
41
  e.stopPropagation();
42
42
  if (!(_setting !== null && _setting !== void 0 && (_setting$skipLink = _setting.skipLink) !== null && _setting$skipLink !== void 0 && _setting$skipLink.page)) return;
43
+ if (utils !== null && utils !== void 0 && (_utils$interaction = utils.interaction) !== null && _utils$interaction !== void 0 && (_utils$interaction = _utils$interaction.utils) !== null && _utils$interaction !== void 0 && (_utils$interaction$is = _utils$interaction.isAppEnv) !== null && _utils$interaction$is !== void 0 && _utils$interaction$is.call(_utils$interaction)) {
44
+ var _utils$interaction2, _utils$interaction2$p;
45
+ utils === null || utils === void 0 || (_utils$interaction2 = utils.interaction) === null || _utils$interaction2 === void 0 || (_utils$interaction2 = _utils$interaction2.utils) === null || _utils$interaction2 === void 0 || (_utils$interaction2$p = _utils$interaction2.postMessageToApp) === null || _utils$interaction2$p === void 0 || _utils$interaction2$p.call(_utils$interaction2, {
46
+ module: 'global',
47
+ key: 'openNative',
48
+ data: {
49
+ link: _setting === null || _setting === void 0 ? void 0 : _setting.skipLink
50
+ }
51
+ });
52
+ return;
53
+ }
43
54
  utils === null || utils === void 0 || utils.jumpPageByLink(_setting === null || _setting === void 0 ? void 0 : _setting.skipLink);
44
55
  };
45
56
  return /*#__PURE__*/React.createElement("div", {
@@ -1,8 +1,8 @@
1
1
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
2
2
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
3
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
3
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
4
4
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
5
- function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e2) { throw _e2; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e3) { didErr = true; err = _e3; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
5
+ function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
6
6
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
7
7
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
8
8
  import { useEffect, useState, useMemo } from 'react';
package/es/index.d.ts CHANGED
@@ -96,6 +96,7 @@ export { default as PisellTooltip } from './components/pisellTooltip';
96
96
  export { default as PisellUpload } from './components/pisellUpload';
97
97
  export { default as PisellViewGrid } from './components/pisellViewGrid';
98
98
  export { default as PisellWalletPassCard } from './components/pisellWalletPassCard';
99
+ export type { PisellWalletPassCardProps } from './components/pisellWalletPassCard';
99
100
  export { default as ProfileMenu } from './components/profileMenu';
100
101
  export { default as QRCode } from './components/qrcode';
101
102
  export { default as Radio } from './components/radio';
@@ -147,7 +147,7 @@ export default {
147
147
  'pisell-wallet-pass-card-name': 'Name',
148
148
  'pisell-wallet-pass-card-store-name': 'StoreName',
149
149
  'pisell-wallet-pass-card-balance': 'Balance',
150
- 'pisell-wallet-pass-card-redeem': 'Redeem',
150
+ 'pisell-wallet-pass-card-redeem': 'use',
151
151
  'pisell-wallet-pass-card-code': 'Code',
152
152
  'pisell-wallet-pass-card-valid-to': 'Valid to',
153
153
  'pisell-wallet-pass-card-confirm': 'Confirm',
@@ -338,5 +338,12 @@ export default {
338
338
  'pisell2.text.goodpass.product-vouchers': "Promotions & Vouchers",
339
339
  'pisell2.text.goodpass.last-settlement': "(Last payment)",
340
340
  'pisell2.text.goodpass.view-more': "View More",
341
- 'pisell2.text.goodpass.save': "Save"
341
+ 'pisell2.text.goodpass.save': "Save",
342
+ // 钱包卡片组件
343
+ 'pisell-wallet-pass-card-status-used': 'Used',
344
+ 'pisell-wallet-pass-card-status-expired': 'Expired',
345
+ 'pisell-wallet-pass-card-status-disabled': 'Disabled',
346
+ 'pisell-wallet-pass-card-status-conflict': 'Conflict',
347
+ 'pisell-wallet-pass-card-reset': 'Reset',
348
+ 'pisell-wallet-pass-card-done': 'Done'
342
349
  };
@@ -147,7 +147,7 @@ export default {
147
147
  'pisell-wallet-pass-card-name': '商品名称',
148
148
  'pisell-wallet-pass-card-store-name': '共享店铺名称',
149
149
  'pisell-wallet-pass-card-balance': '余额',
150
- 'pisell-wallet-pass-card-redeem': '兑换',
150
+ 'pisell-wallet-pass-card-redeem': '使用',
151
151
  'pisell-wallet-pass-card-code': '识别码编号',
152
152
  'pisell-wallet-pass-card-valid-to': '有效期至',
153
153
  'pisell-wallet-pass-card-confirm': '确认',
@@ -329,5 +329,12 @@ export default {
329
329
  'pisell2.text.goodpass.product-vouchers': "优惠促销",
330
330
  'pisell2.text.goodpass.last-settlement': "(上次结算)",
331
331
  'pisell2.text.goodpass.view-more': "查看更多",
332
- 'pisell2.text.goodpass.save': "节省"
332
+ 'pisell2.text.goodpass.save': "节省",
333
+ // 钱包卡片组件
334
+ 'pisell-wallet-pass-card-status-used': '已使用',
335
+ 'pisell-wallet-pass-card-status-expired': '已过期',
336
+ 'pisell-wallet-pass-card-status-disabled': '已禁用',
337
+ 'pisell-wallet-pass-card-status-conflict': '冲突',
338
+ 'pisell-wallet-pass-card-reset': '清空',
339
+ 'pisell-wallet-pass-card-done': '保存'
333
340
  };
@@ -147,7 +147,7 @@ export default {
147
147
  'pisell-wallet-pass-card-name': '商品名稱',
148
148
  'pisell-wallet-pass-card-store-name': '共享店鋪名稱',
149
149
  'pisell-wallet-pass-card-balance': '餘額',
150
- 'pisell-wallet-pass-card-redeem': '兌換',
150
+ 'pisell-wallet-pass-card-redeem': '使用',
151
151
  'pisell-wallet-pass-card-code': '識別碼編號',
152
152
  'pisell-wallet-pass-card-valid-to': '有效期至',
153
153
  'pisell-wallet-pass-card-confirm': '確認',
@@ -330,5 +330,12 @@ export default {
330
330
  'pisell2.text.goodpass.product-vouchers': "優惠促銷",
331
331
  'pisell2.text.goodpass.last-settlement': "(上次結算)",
332
332
  'pisell2.text.goodpass.view-more': "查看更多",
333
- 'pisell2.text.goodpass.save': "節省"
333
+ 'pisell2.text.goodpass.save': "節省",
334
+ // 钱包卡片组件
335
+ 'pisell-wallet-pass-card-status-used': '已使用',
336
+ 'pisell-wallet-pass-card-status-expired': '已過期',
337
+ 'pisell-wallet-pass-card-status-disabled': '已禁用',
338
+ 'pisell-wallet-pass-card-status-conflict': '衝突',
339
+ 'pisell-wallet-pass-card-reset': '清空',
340
+ 'pisell-wallet-pass-card-done': '保存'
334
341
  };
package/es/utils/hoc.js CHANGED
@@ -1,5 +1,5 @@
1
1
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
3
3
  import React from 'react';
4
4
  import { get, set, has } from 'lodash';
5
5
  import dayjs from "dayjs";
@@ -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,15 +1,15 @@
1
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
2
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
3
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
4
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
3
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
4
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
5
5
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
7
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
6
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
7
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
8
8
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
9
9
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
10
10
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
11
11
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
12
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
12
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
13
13
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
14
14
  import React, { createContext, useCallback, useReducer } from 'react';
15
15
  export default (function (_ref2) {
@@ -23,7 +23,6 @@ export default (function (_ref2) {
23
23
  var Context = /*#__PURE__*/createContext({});
24
24
  var Provider = function Provider(ComponentUi) {
25
25
  var Components = function Components(props, ref) {
26
- var _objectSpread2, _ref5;
27
26
  var _useReducer = useReducer(function (state, _ref3) {
28
27
  var type = _ref3.type,
29
28
  payload = _ref3.payload;
@@ -48,14 +47,14 @@ export default (function (_ref2) {
48
47
  });
49
48
  }
50
49
  }, []);
51
- var _props = _objectSpread(_objectSpread({}, props), {}, (_objectSpread2 = {}, _defineProperty(_objectSpread2, namespace, providerState), _defineProperty(_objectSpread2, "dispatch", _dispatch), _objectSpread2));
50
+ var _props = _objectSpread(_objectSpread({}, props), {}, _defineProperty(_defineProperty({}, namespace, providerState), "dispatch", _dispatch));
52
51
  var _ref = ref;
53
52
  // if (_props.forwardedRef) {
54
53
  // _ref = _props.forwardedRef;
55
54
  // delete _props.forwardedRef;
56
55
  // }
57
56
  return /*#__PURE__*/React.createElement(Context.Provider, {
58
- value: (_ref5 = {}, _defineProperty(_ref5, namespace, providerState), _defineProperty(_ref5, "dispatch", _dispatch), _ref5)
57
+ value: _defineProperty(_defineProperty({}, namespace, providerState), "dispatch", _dispatch)
59
58
  }, /*#__PURE__*/React.createElement(ComponentUi, _extends({}, _props, {
60
59
  ref: _ref
61
60
  })));
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  interface BatchEditorProps {
3
4
  columns: any[];
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const FormItem: (props: any) => JSX.Element;
2
3
  export default FormItem;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface BaseFilterItem {
3
4
  name?: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FilterItemProps } from '../../../filter/types';
2
3
  import { DataSourceType, Field } from '../../provider/dataSource/DataSourceContext';
3
4
  export declare const genGetField: (dataSource?: DataSourceType) => (key: string) => Field;
@@ -1,5 +1,6 @@
1
+ /// <reference types="react" />
1
2
  declare const useDataSourceKey: () => {
2
- dataSourceKey: string | import("../../provider/dataSource/DataSourceContext").DataSourceType | undefined;
3
- dataSourceKeyRef: import("react").MutableRefObject<string | import("../../provider/dataSource/DataSourceContext").DataSourceType | undefined>;
3
+ dataSourceKey: string | undefined;
4
+ dataSourceKeyRef: import("react").MutableRefObject<string | undefined>;
4
5
  };
5
6
  export default useDataSourceKey;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { DataSourceContextProps } from '../provider/dataSource/DataSourceContext';
2
3
  declare const DataSourceWrapper: (props: DataSourceContextProps) => JSX.Element;
3
4
  export default DataSourceWrapper;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { JsonProps } from "./type";
2
3
  import "./ReadPretty.less";
3
4
  declare const JsonReadPretty: (props: JsonProps) => JSX.Element | null;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PasswordProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const PasswordReadPretty: (props: PasswordProps) => JSX.Element;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  declare const Subdomain: React.FC<import("antd").InputProps & {
3
3
  onChange: (value: string) => void;
4
4
  onBlur?: ((e: React.FocusEvent<HTMLInputElement, Element>) => void) | undefined;
5
- rootDomain: "custom" | "saas" | "xzero";
5
+ rootDomain: "custom" | "xzero" | "saas";
6
6
  customDomain?: string | undefined;
7
7
  value?: string | undefined;
8
8
  tenantId: string;
@@ -1,6 +1,6 @@
1
1
  declare const SelectWithDataSource: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps & {
2
2
  options?: any;
3
- optionSourceType?: "default" | "custom" | "api" | undefined;
3
+ optionSourceType?: "custom" | "default" | "api" | undefined;
4
4
  labelField: string;
5
5
  valueField: string;
6
6
  extraParams?: Record<string, any> | undefined;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { UploadProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const UploadReadPretty: (props: UploadProps) => JSX.Element | null;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const formFieldMap: {
2
3
  FormItemCheckbox: import("react").FC<{}> & {
3
4
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
@@ -19,7 +20,7 @@ declare const formFieldMap: {
19
20
  Subdomain: import("react").FC<import("antd").InputProps & {
20
21
  onChange: (value: string) => void;
21
22
  onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
22
- rootDomain: "custom" | "saas" | "xzero";
23
+ rootDomain: "custom" | "xzero" | "saas";
23
24
  customDomain?: string | undefined;
24
25
  value?: string | undefined;
25
26
  tenantId: string;
@@ -34,7 +35,7 @@ declare const formFieldMap: {
34
35
  };
35
36
  FormItemSelect: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
36
37
  options?: any;
37
- optionSourceType?: "default" | "custom" | "api" | undefined;
38
+ optionSourceType?: "custom" | "default" | "api" | undefined;
38
39
  labelField: string;
39
40
  valueField: string;
40
41
  extraParams?: Record<string, any> | undefined;
@@ -59,13 +60,25 @@ declare const formFieldMap: {
59
60
  FormItemTranslation: import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
60
61
  FormItemIconSelect: import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
61
62
  };
62
- declare const getFieldComponent: (fieldComponent: string) => import("react").FC<any> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
63
+ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<any> | 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("./IconSelect/type").IconSelectProps & 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("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | ((props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
64
+ options?: any;
65
+ optionSourceType?: "custom" | "default" | "api" | undefined;
66
+ labelField: string;
67
+ valueField: string;
68
+ extraParams?: Record<string, any> | undefined;
69
+ } & {
70
+ dataSource?: any;
71
+ }) => JSX.Element) | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
72
+ Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
73
+ } & {
74
+ Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
75
+ }) | import("react").FC<import("antd").InputProps & {
76
+ onChange: (value: string) => void;
77
+ } & 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("antd").DatePickerProps & import("../dataSourceForm/utils").WithModeProps) & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
63
78
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
64
79
  } & {
65
80
  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("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> & {
81
+ }) | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<import("./Input/type").InputProps> & {
69
82
  JSON: import("react").FC<any>;
70
83
  Password: import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
71
84
  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>;
@@ -78,24 +91,12 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
78
91
  Subdomain: import("react").FC<import("antd").InputProps & {
79
92
  onChange: (value: string) => void;
80
93
  onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
81
- rootDomain: "custom" | "saas" | "xzero";
94
+ rootDomain: "custom" | "xzero" | "saas";
82
95
  customDomain?: string | undefined;
83
96
  value?: string | undefined;
84
97
  tenantId: string;
85
98
  name?: string | undefined;
86
99
  fieldKey?: string | undefined;
87
100
  } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
88
- }) | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
89
- Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
90
- } & {
91
- Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
92
- }) | ((props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
93
- options?: any;
94
- optionSourceType?: "default" | "custom" | "api" | undefined;
95
- labelField: string;
96
- valueField: string;
97
- extraParams?: Record<string, any> | undefined;
98
- } & {
99
- dataSource?: any;
100
- }) => 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
102
  export { getFieldComponent, formFieldMap };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PickerDateProps } from 'antd/es/date-picker/generatePicker';
2
3
  import { Dayjs } from 'dayjs';
3
4
  import './index.less';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FilterProps } from "./types";
2
3
  declare const Filter: (props: FilterProps) => JSX.Element | null;
3
4
  export default Filter;
@@ -35,7 +35,7 @@ module.exports = __toCommonJS(iconfont_exports);
35
35
  var import_icons = require("@ant-design/icons");
36
36
  var import_react = __toESM(require("react"));
37
37
  var MyIcon = (0, import_icons.createFromIconfontCN)({
38
- scriptUrl: "https://static.pisellcdn.com/pisell2iconfont1.4.js"
38
+ scriptUrl: "https://static.pisellcdn.com/pisell2iconfont1.11.js"
39
39
  // 在 iconfont.cn 上生成
40
40
  });
41
41
  var IconFont = (props) => {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const List: {
3
4
  (props: any): JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare type LowCodePageProps = {
2
3
  id: number;
3
4
  };
@@ -41,8 +41,7 @@ var LowCodePage = (props) => {
41
41
  const context = (0, import_useEngineContext.default)();
42
42
  const { RenderLowCodeByKey, getRenderLowCodeByKey } = ((_a = context.appHelper) == null ? void 0 : _a.utils) || {};
43
43
  const Com = (0, import_utils.isFunction)(getRenderLowCodeByKey) ? getRenderLowCodeByKey() : RenderLowCodeByKey;
44
- if (!Com)
45
- return /* @__PURE__ */ import_react.default.createElement("div", null, "RenderLowCodeByKey is not found");
44
+ if (!Com) return /* @__PURE__ */ import_react.default.createElement("div", null, "RenderLowCodeByKey is not found");
46
45
  return /* @__PURE__ */ import_react.default.createElement(Com, { ...others, id, key: id });
47
46
  };
48
47
  var lowCodePage_default = LowCodePage;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ConfigProviderProps } from '../config-provider';
2
3
  interface PageProps extends ConfigProviderProps {
3
4
  }
@@ -49,6 +49,8 @@ var PisellAdjustPrice = (props) => {
49
49
  defaultValue,
50
50
  originValue,
51
51
  selectType = "light",
52
+ resetText,
53
+ doneText,
52
54
  ...others
53
55
  } = props;
54
56
  const config = (0, import_usePisellConfig.default)();
@@ -180,6 +182,8 @@ var PisellAdjustPrice = (props) => {
180
182
  onChange: handleChange,
181
183
  onEnter: handleEnter,
182
184
  placeholder: discountMode === "amount" ? "0" : "%",
185
+ resetText,
186
+ doneText,
183
187
  rightItemsStyle: {
184
188
  buttonBackgroundColor: configColor.buttonBackgroundColor,
185
189
  textColor: configColor.textColor,