@pisell/materials 6.1.8 → 6.1.9

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 (367) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/preview.js +6 -6
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +10 -10
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +10 -10
  11. package/es/components/auto-complete-number/index.d.ts +0 -1
  12. package/es/components/badge/index.d.ts +0 -1
  13. package/es/components/batch-editor/fields/index.d.ts +0 -1
  14. package/es/components/batch-editor/index.d.ts +0 -1
  15. package/es/components/calendar/index.d.ts +0 -1
  16. package/es/components/cardPro/index.d.ts +0 -1
  17. package/es/components/checkbox/index.d.ts +0 -1
  18. package/es/components/classicLayout/index.d.ts +0 -1
  19. package/es/components/colorPicker/index.d.ts +0 -1
  20. package/es/components/config-provider/index.d.ts +0 -1
  21. package/es/components/dataSourceComponents/dataSourceForm/formItem.d.ts +0 -1
  22. package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -1
  23. package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +0 -1
  24. package/es/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +0 -1
  25. package/es/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +0 -1
  26. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -3
  27. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +4 -4
  28. package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +0 -1
  29. package/es/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +0 -1
  30. package/es/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +0 -1
  31. package/es/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +0 -1
  32. package/es/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +0 -1
  33. package/es/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +0 -1
  34. package/es/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +0 -1
  35. package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +0 -1
  36. package/es/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +0 -1
  37. package/es/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +0 -1
  38. package/es/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +0 -1
  39. package/es/components/dataSourceComponents/fields/Select/index.d.ts +0 -1
  40. package/es/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +0 -1
  41. package/es/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +0 -1
  42. package/es/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +0 -1
  43. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  44. package/es/components/dataSourceComponents/fields/index.d.ts +2 -3
  45. package/es/components/date-picker/datePickerCpt.d.ts +0 -1
  46. package/es/components/date-picker/index.d.ts +0 -1
  47. package/es/components/drag-sort-tree/TreeItem/index.d.ts +18 -0
  48. package/es/components/dropdown/index.d.ts +0 -1
  49. package/es/components/filter/components/items/index.d.ts +0 -1
  50. package/es/components/filter/components/items/text/Editor/index.d.ts +0 -1
  51. package/es/components/filter/components/items/text/Preview/index.d.ts +0 -1
  52. package/es/components/filter/components/items/text/index.d.ts +0 -1
  53. package/es/components/filter/index.d.ts +0 -1
  54. package/es/components/list/index.d.ts +0 -1
  55. package/es/components/lowCodePage/index.d.ts +0 -1
  56. package/es/components/page/index.d.ts +0 -1
  57. package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +0 -1
  58. package/es/components/pisellAdjustPrice/index.d.ts +0 -1
  59. package/es/components/pisellCard/index.d.ts +0 -1
  60. package/es/components/pisellCardList/index.d.ts +12 -0
  61. package/es/components/pisellCardList/index.js +14 -1
  62. package/es/components/pisellCheckboxGroup/index.d.ts +1 -0
  63. package/es/components/pisellCheckboxGroup/index.js +2 -2
  64. package/es/components/pisellCheckboxGroup/index.less +12 -1
  65. package/es/components/pisellDatePicker/datePickerCpt.d.ts +0 -1
  66. package/es/components/pisellDatePicker/index.d.ts +0 -1
  67. package/es/components/pisellInformationEntry/Scan/index.d.ts +0 -1
  68. package/es/components/pisellInput/components/BankCard/index.d.ts +0 -1
  69. package/es/components/pisellInput/components/Copy/index.d.ts +0 -1
  70. package/es/components/pisellInput/components/SecurityCode/index.d.ts +0 -1
  71. package/es/components/pisellInput/index.d.ts +0 -1
  72. package/es/components/pisellLoading/index.d.ts +0 -1
  73. package/es/components/pisellModal/components/IpadModal/index.d.ts +0 -1
  74. package/es/components/pisellModal/components/MobileModal/index.d.ts +0 -1
  75. package/es/components/pisellModal/components/index.d.ts +0 -1
  76. package/es/components/pisellTooltip/index.d.ts +0 -1
  77. package/es/components/pisellUpload/index.d.ts +0 -1
  78. package/es/components/pisellWalletPassCard/index.d.ts +18 -1
  79. package/es/components/pisellWalletPassCard/index.js +169 -41
  80. package/es/components/pisellWalletPassCard/index.less +36 -7
  81. package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -1
  82. package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -1
  83. package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +45 -0
  84. package/es/components/productCard/components/AmountFooter/index.d.ts +0 -1
  85. package/es/components/productCard/components/Divider/index.d.ts +0 -1
  86. package/es/components/productCard/components/Header/EditButton/index.d.ts +0 -1
  87. package/es/components/productCard/components/MultiDay/index.d.ts +0 -1
  88. package/es/components/productCard/components/Note/index.d.ts +0 -1
  89. package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -1
  90. package/es/components/productCard/components/Packages/components/options/index.d.ts +0 -1
  91. package/es/components/productCard/components/Packages/index.d.ts +0 -1
  92. package/es/components/productCard/components/Sales/index.d.ts +0 -1
  93. package/es/components/productCard/components/Time/components/Like/index.d.ts +0 -1
  94. package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -1
  95. package/es/components/qrcode/index.d.ts +0 -1
  96. package/es/components/radio/index.d.ts +0 -1
  97. package/es/components/segmented/index.d.ts +0 -1
  98. package/es/components/select-time/RightPanel/index.d.ts +0 -1
  99. package/es/components/select-time/index.d.ts +0 -1
  100. package/es/components/skeleton/index.d.ts +0 -1
  101. package/es/components/slider/index.d.ts +0 -1
  102. package/es/components/sort/components/InlineMenu/index.d.ts +0 -1
  103. package/es/components/table/Actions/component/ColumnsSetting/index.d.ts +0 -1
  104. package/es/components/table/Actions/component/GallerySetting/index.d.ts +0 -1
  105. package/es/components/table/Actions/component/Group/PopoverContent.d.ts +0 -1
  106. package/es/components/table/Actions/component/Group/index.d.ts +0 -1
  107. package/es/components/table/Actions/index.d.ts +0 -1
  108. package/es/components/table/BasicTable/index.d.ts +0 -1
  109. package/es/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +0 -1
  110. package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +0 -1
  111. package/es/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +0 -1
  112. package/es/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  113. package/es/components/table/Summary/index.d.ts +0 -1
  114. package/es/components/table/Table/SelectField/index.d.ts +0 -1
  115. package/es/components/table/Table/fields/date/Config/index.d.ts +0 -1
  116. package/es/components/table/Table/fields/date/Show/index.d.ts +0 -1
  117. package/es/components/table/Table/fields/date/Sort/index.d.ts +0 -1
  118. package/es/components/table/Table/fields/date/index.d.ts +0 -1
  119. package/es/components/table/Table/fields/image/Config/index.d.ts +0 -1
  120. package/es/components/table/Table/fields/image/Show/index.d.ts +0 -1
  121. package/es/components/table/Table/fields/image/Sort/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 -3
  124. package/es/components/table/Table/fields/link/Config/index.d.ts +0 -1
  125. package/es/components/table/Table/fields/link/Show/index.d.ts +0 -1
  126. package/es/components/table/Table/fields/link/Sort/index.d.ts +0 -1
  127. package/es/components/table/Table/fields/link/index.d.ts +0 -1
  128. package/es/components/table/Table/fields/number/Config/index.d.ts +0 -1
  129. package/es/components/table/Table/fields/number/Show/index.d.ts +0 -1
  130. package/es/components/table/Table/fields/number/Sort/index.d.ts +0 -1
  131. package/es/components/table/Table/fields/number/index.d.ts +0 -1
  132. package/es/components/table/Table/fields/numberRange/Config/index.d.ts +0 -1
  133. package/es/components/table/Table/fields/numberRange/Show/index.d.ts +0 -1
  134. package/es/components/table/Table/fields/numberRange/Sort/index.d.ts +0 -1
  135. package/es/components/table/Table/fields/numberRange/index.d.ts +0 -1
  136. package/es/components/table/Table/fields/oldRangePicker/Config/index.d.ts +0 -1
  137. package/es/components/table/Table/fields/oldRangePicker/Show/index.d.ts +0 -1
  138. package/es/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +0 -1
  139. package/es/components/table/Table/fields/oldRangePicker/index.d.ts +0 -1
  140. package/es/components/table/Table/fields/pSwitch/Config/index.d.ts +0 -1
  141. package/es/components/table/Table/fields/pSwitch/Show/index.d.ts +0 -1
  142. package/es/components/table/Table/fields/pSwitch/Sort/index.d.ts +0 -1
  143. package/es/components/table/Table/fields/pSwitch/index.d.ts +0 -1
  144. package/es/components/table/Table/fields/rangePicker/Config/index.d.ts +0 -1
  145. package/es/components/table/Table/fields/rangePicker/Show/index.d.ts +0 -1
  146. package/es/components/table/Table/fields/rangePicker/Sort/index.d.ts +0 -1
  147. package/es/components/table/Table/fields/rangePicker/index.d.ts +0 -1
  148. package/es/components/table/Table/fields/search/Config/index.d.ts +0 -1
  149. package/es/components/table/Table/fields/search/Show/index.d.ts +0 -1
  150. package/es/components/table/Table/fields/search/Sort/index.d.ts +0 -1
  151. package/es/components/table/Table/fields/search/index.d.ts +0 -1
  152. package/es/components/table/Table/fields/select/Config/index.d.ts +0 -1
  153. package/es/components/table/Table/fields/select/Show/index.d.ts +0 -1
  154. package/es/components/table/Table/fields/select/Sort/index.d.ts +0 -1
  155. package/es/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  156. package/es/components/table/Table/fields/select/index.d.ts +0 -1
  157. package/es/components/table/Table/fields/text/Config/index.d.ts +0 -1
  158. package/es/components/table/Table/fields/text/Show/index.d.ts +0 -1
  159. package/es/components/table/Table/fields/text/Sort/index.d.ts +0 -1
  160. package/es/components/table/Table/fields/text/index.d.ts +0 -1
  161. package/es/components/table/Table/fields/treeSelect/Config/index.d.ts +0 -1
  162. package/es/components/table/Table/fields/treeSelect/Show/index.d.ts +0 -1
  163. package/es/components/table/Table/fields/treeSelect/Sort/index.d.ts +0 -1
  164. package/es/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  165. package/es/components/table/Table/fields/treeSelect/index.d.ts +0 -1
  166. package/es/components/table/Table/tableConfig/SortRow/index.d.ts +0 -1
  167. package/es/components/table/Table/tableConfig/summary/index.d.ts +0 -1
  168. package/es/components/table/Table/utils.d.ts +1 -1
  169. package/es/components/table/TableFilter/SortIcon.d.ts +0 -1
  170. package/es/components/table/View/index.d.ts +0 -1
  171. package/es/components/time-picker/index.d.ts +0 -1
  172. package/es/components/upload/index.d.ts +0 -1
  173. package/es/components/versionSelect/index.d.ts +0 -1
  174. package/es/components/virtual-keyboard/Amount/index.d.ts +0 -1
  175. package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -1
  176. package/es/components/virtual-keyboard/Number/index.d.ts +0 -1
  177. package/es/components/virtual-keyboard/Time/utils.d.ts +0 -1
  178. package/es/components/walletCard/Guest/index.d.ts +0 -1
  179. package/es/components/walletCard/Guide/index.d.ts +0 -1
  180. package/es/locales/en-US.d.ts +3 -0
  181. package/es/locales/en-US.js +6 -2
  182. package/es/locales/zh-CN.d.ts +3 -0
  183. package/es/locales/zh-CN.js +6 -2
  184. package/es/locales/zh-TW.d.ts +3 -0
  185. package/es/locales/zh-TW.js +6 -2
  186. package/es/utils/index.d.ts +1 -1
  187. package/lib/components/auto-complete-number/index.d.ts +0 -1
  188. package/lib/components/badge/index.d.ts +0 -1
  189. package/lib/components/batch-editor/fields/index.d.ts +0 -1
  190. package/lib/components/batch-editor/index.d.ts +0 -1
  191. package/lib/components/calendar/index.d.ts +0 -1
  192. package/lib/components/cardPro/index.d.ts +0 -1
  193. package/lib/components/checkbox/index.d.ts +0 -1
  194. package/lib/components/classicLayout/index.d.ts +0 -1
  195. package/lib/components/colorPicker/index.d.ts +0 -1
  196. package/lib/components/config-provider/index.d.ts +0 -1
  197. package/lib/components/dataSourceComponents/dataSourceForm/formItem.d.ts +0 -1
  198. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -1
  199. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +0 -1
  200. package/lib/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +0 -1
  201. package/lib/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +0 -1
  202. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -3
  203. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +4 -4
  204. package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +0 -1
  205. package/lib/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +0 -1
  206. package/lib/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +0 -1
  207. package/lib/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +0 -1
  208. package/lib/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +0 -1
  209. package/lib/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +0 -1
  210. package/lib/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +0 -1
  211. package/lib/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +0 -1
  212. package/lib/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +0 -1
  213. package/lib/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +0 -1
  214. package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +0 -1
  215. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +0 -1
  216. package/lib/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +0 -1
  217. package/lib/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +0 -1
  218. package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +0 -1
  219. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  220. package/lib/components/dataSourceComponents/fields/index.d.ts +2 -3
  221. package/lib/components/date-picker/datePickerCpt.d.ts +0 -1
  222. package/lib/components/date-picker/index.d.ts +0 -1
  223. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +18 -0
  224. package/lib/components/dropdown/index.d.ts +0 -1
  225. package/lib/components/filter/components/items/index.d.ts +0 -1
  226. package/lib/components/filter/components/items/text/Editor/index.d.ts +0 -1
  227. package/lib/components/filter/components/items/text/Preview/index.d.ts +0 -1
  228. package/lib/components/filter/components/items/text/index.d.ts +0 -1
  229. package/lib/components/filter/index.d.ts +0 -1
  230. package/lib/components/list/index.d.ts +0 -1
  231. package/lib/components/lowCodePage/index.d.ts +0 -1
  232. package/lib/components/page/index.d.ts +0 -1
  233. package/lib/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +0 -1
  234. package/lib/components/pisellAdjustPrice/index.d.ts +0 -1
  235. package/lib/components/pisellCard/index.d.ts +0 -1
  236. package/lib/components/pisellCardList/index.d.ts +12 -0
  237. package/lib/components/pisellCardList/index.js +14 -1
  238. package/lib/components/pisellCheckboxGroup/index.d.ts +1 -0
  239. package/lib/components/pisellCheckboxGroup/index.js +2 -1
  240. package/lib/components/pisellCheckboxGroup/index.less +12 -1
  241. package/lib/components/pisellDatePicker/datePickerCpt.d.ts +0 -1
  242. package/lib/components/pisellDatePicker/index.d.ts +0 -1
  243. package/lib/components/pisellInformationEntry/Scan/index.d.ts +0 -1
  244. package/lib/components/pisellInput/components/BankCard/index.d.ts +0 -1
  245. package/lib/components/pisellInput/components/Copy/index.d.ts +0 -1
  246. package/lib/components/pisellInput/components/SecurityCode/index.d.ts +0 -1
  247. package/lib/components/pisellInput/index.d.ts +0 -1
  248. package/lib/components/pisellLoading/index.d.ts +0 -1
  249. package/lib/components/pisellModal/components/IpadModal/index.d.ts +0 -1
  250. package/lib/components/pisellModal/components/MobileModal/index.d.ts +0 -1
  251. package/lib/components/pisellModal/components/index.d.ts +0 -1
  252. package/lib/components/pisellTooltip/index.d.ts +0 -1
  253. package/lib/components/pisellUpload/index.d.ts +0 -1
  254. package/lib/components/pisellWalletPassCard/index.d.ts +18 -1
  255. package/lib/components/pisellWalletPassCard/index.js +112 -26
  256. package/lib/components/pisellWalletPassCard/index.less +36 -7
  257. package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -1
  258. package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -1
  259. package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +45 -0
  260. package/lib/components/productCard/components/AmountFooter/index.d.ts +0 -1
  261. package/lib/components/productCard/components/Divider/index.d.ts +0 -1
  262. package/lib/components/productCard/components/Header/EditButton/index.d.ts +0 -1
  263. package/lib/components/productCard/components/MultiDay/index.d.ts +0 -1
  264. package/lib/components/productCard/components/Note/index.d.ts +0 -1
  265. package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -1
  266. package/lib/components/productCard/components/Packages/components/options/index.d.ts +0 -1
  267. package/lib/components/productCard/components/Packages/index.d.ts +0 -1
  268. package/lib/components/productCard/components/Sales/index.d.ts +0 -1
  269. package/lib/components/productCard/components/Time/components/Like/index.d.ts +0 -1
  270. package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -1
  271. package/lib/components/qrcode/index.d.ts +0 -1
  272. package/lib/components/radio/index.d.ts +0 -1
  273. package/lib/components/segmented/index.d.ts +0 -1
  274. package/lib/components/select-time/RightPanel/index.d.ts +0 -1
  275. package/lib/components/select-time/index.d.ts +0 -1
  276. package/lib/components/skeleton/index.d.ts +0 -1
  277. package/lib/components/slider/index.d.ts +0 -1
  278. package/lib/components/sort/components/InlineMenu/index.d.ts +0 -1
  279. package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +0 -1
  280. package/lib/components/table/Actions/component/GallerySetting/index.d.ts +0 -1
  281. package/lib/components/table/Actions/component/Group/PopoverContent.d.ts +0 -1
  282. package/lib/components/table/Actions/component/Group/index.d.ts +0 -1
  283. package/lib/components/table/Actions/index.d.ts +0 -1
  284. package/lib/components/table/BasicTable/index.d.ts +0 -1
  285. package/lib/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +0 -1
  286. package/lib/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +0 -1
  287. package/lib/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +0 -1
  288. package/lib/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  289. package/lib/components/table/Summary/index.d.ts +0 -1
  290. package/lib/components/table/Table/SelectField/index.d.ts +0 -1
  291. package/lib/components/table/Table/fields/date/Config/index.d.ts +0 -1
  292. package/lib/components/table/Table/fields/date/Show/index.d.ts +0 -1
  293. package/lib/components/table/Table/fields/date/Sort/index.d.ts +0 -1
  294. package/lib/components/table/Table/fields/date/index.d.ts +0 -1
  295. package/lib/components/table/Table/fields/image/Config/index.d.ts +0 -1
  296. package/lib/components/table/Table/fields/image/Show/index.d.ts +0 -1
  297. package/lib/components/table/Table/fields/image/Sort/index.d.ts +0 -1
  298. package/lib/components/table/Table/fields/image/index.d.ts +0 -1
  299. package/lib/components/table/Table/fields/index.d.ts +2 -3
  300. package/lib/components/table/Table/fields/link/Config/index.d.ts +0 -1
  301. package/lib/components/table/Table/fields/link/Show/index.d.ts +0 -1
  302. package/lib/components/table/Table/fields/link/Sort/index.d.ts +0 -1
  303. package/lib/components/table/Table/fields/link/index.d.ts +0 -1
  304. package/lib/components/table/Table/fields/number/Config/index.d.ts +0 -1
  305. package/lib/components/table/Table/fields/number/Show/index.d.ts +0 -1
  306. package/lib/components/table/Table/fields/number/Sort/index.d.ts +0 -1
  307. package/lib/components/table/Table/fields/number/index.d.ts +0 -1
  308. package/lib/components/table/Table/fields/numberRange/Config/index.d.ts +0 -1
  309. package/lib/components/table/Table/fields/numberRange/Show/index.d.ts +0 -1
  310. package/lib/components/table/Table/fields/numberRange/Sort/index.d.ts +0 -1
  311. package/lib/components/table/Table/fields/numberRange/index.d.ts +0 -1
  312. package/lib/components/table/Table/fields/oldRangePicker/Config/index.d.ts +0 -1
  313. package/lib/components/table/Table/fields/oldRangePicker/Show/index.d.ts +0 -1
  314. package/lib/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +0 -1
  315. package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +0 -1
  316. package/lib/components/table/Table/fields/pSwitch/Config/index.d.ts +0 -1
  317. package/lib/components/table/Table/fields/pSwitch/Show/index.d.ts +0 -1
  318. package/lib/components/table/Table/fields/pSwitch/Sort/index.d.ts +0 -1
  319. package/lib/components/table/Table/fields/pSwitch/index.d.ts +0 -1
  320. package/lib/components/table/Table/fields/rangePicker/Config/index.d.ts +0 -1
  321. package/lib/components/table/Table/fields/rangePicker/Show/index.d.ts +0 -1
  322. package/lib/components/table/Table/fields/rangePicker/Sort/index.d.ts +0 -1
  323. package/lib/components/table/Table/fields/rangePicker/index.d.ts +0 -1
  324. package/lib/components/table/Table/fields/search/Config/index.d.ts +0 -1
  325. package/lib/components/table/Table/fields/search/Show/index.d.ts +0 -1
  326. package/lib/components/table/Table/fields/search/Sort/index.d.ts +0 -1
  327. package/lib/components/table/Table/fields/search/index.d.ts +0 -1
  328. package/lib/components/table/Table/fields/select/Config/index.d.ts +0 -1
  329. package/lib/components/table/Table/fields/select/Show/index.d.ts +0 -1
  330. package/lib/components/table/Table/fields/select/Sort/index.d.ts +0 -1
  331. package/lib/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  332. package/lib/components/table/Table/fields/select/index.d.ts +0 -1
  333. package/lib/components/table/Table/fields/text/Config/index.d.ts +0 -1
  334. package/lib/components/table/Table/fields/text/Show/index.d.ts +0 -1
  335. package/lib/components/table/Table/fields/text/Sort/index.d.ts +0 -1
  336. package/lib/components/table/Table/fields/text/index.d.ts +0 -1
  337. package/lib/components/table/Table/fields/treeSelect/Config/index.d.ts +0 -1
  338. package/lib/components/table/Table/fields/treeSelect/Show/index.d.ts +0 -1
  339. package/lib/components/table/Table/fields/treeSelect/Sort/index.d.ts +0 -1
  340. package/lib/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  341. package/lib/components/table/Table/fields/treeSelect/index.d.ts +0 -1
  342. package/lib/components/table/Table/tableConfig/SortRow/index.d.ts +0 -1
  343. package/lib/components/table/Table/tableConfig/summary/index.d.ts +0 -1
  344. package/lib/components/table/Table/utils.d.ts +1 -1
  345. package/lib/components/table/TableFilter/SortIcon.d.ts +0 -1
  346. package/lib/components/table/View/index.d.ts +0 -1
  347. package/lib/components/time-picker/index.d.ts +0 -1
  348. package/lib/components/upload/index.d.ts +0 -1
  349. package/lib/components/versionSelect/index.d.ts +0 -1
  350. package/lib/components/virtual-keyboard/Amount/index.d.ts +0 -1
  351. package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -1
  352. package/lib/components/virtual-keyboard/Number/index.d.ts +0 -1
  353. package/lib/components/virtual-keyboard/Time/utils.d.ts +0 -1
  354. package/lib/components/walletCard/Guest/index.d.ts +0 -1
  355. package/lib/components/walletCard/Guide/index.d.ts +0 -1
  356. package/lib/locales/en-US.d.ts +3 -0
  357. package/lib/locales/en-US.js +6 -2
  358. package/lib/locales/zh-CN.d.ts +3 -0
  359. package/lib/locales/zh-CN.js +6 -2
  360. package/lib/locales/zh-TW.d.ts +3 -0
  361. package/lib/locales/zh-TW.js +6 -2
  362. package/lib/utils/index.d.ts +1 -1
  363. package/lowcode/pisell-card-list/meta.ts +50 -1
  364. package/lowcode/pisell-wallet-pass-card/actionsMeta.ts +7 -0
  365. package/package.json +11 -11
  366. package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
  367. package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
@@ -1,25 +1,27 @@
1
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
+ function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
3
+ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
4
+ function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
2
5
  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; }
3
6
  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; }
4
7
  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; }
5
8
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
6
9
  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); }
7
- function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
8
- function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
9
- function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
10
10
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
11
11
  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."); }
12
12
  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); }
13
13
  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; }
14
14
  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; } }
15
15
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
16
- import React, { useEffect, useMemo } from 'react';
16
+ import React, { useEffect, useMemo, useRef } from 'react';
17
+ import { useSize } from 'ahooks';
17
18
  import classNames from 'classnames';
18
19
  import { CheckCircleFilled, EditOutlined, ExclamationCircleOutlined, MoreOutlined } from '@ant-design/icons';
19
- import { Dropdown, Form, Input, InputNumber, DatePicker } from 'antd';
20
+ import { Dropdown, Form, Input, InputNumber, DatePicker, Radio } from 'antd';
20
21
  import dayjs from 'dayjs';
21
22
  import Iconfont from "../iconfont";
22
- import { PisellModal } from "../../index";
23
+ import { PisellModal, PisellNumberKeyboard } from "../../index";
24
+ import PisellTag from "../pisellTags";
23
25
  import Amount from "../pisellText/components/Amount";
24
26
 
25
27
  // @ts-ignore
@@ -27,6 +29,11 @@ import Amount from "../pisellText/components/Amount";
27
29
  import "./index.less";
28
30
  import { getText } from "../../locales";
29
31
  import PisellQrcode from "./../pisellQrcode";
32
+ var cardStatusMap = {
33
+ used: 'warning',
34
+ expired: 'error',
35
+ disabled: 'gray'
36
+ };
30
37
  var PisellWalletPassCard = function PisellWalletPassCard(props) {
31
38
  var _React$useState = React.useState(false),
32
39
  _React$useState2 = _slicedToArray(_React$useState, 2),
@@ -42,16 +49,24 @@ var PisellWalletPassCard = function PisellWalletPassCard(props) {
42
49
  var _Form$useForm3 = Form.useForm(),
43
50
  _Form$useForm4 = _slicedToArray(_Form$useForm3, 1),
44
51
  form2 = _Form$useForm4[0];
45
- // 双击
46
- var _React$useState5 = React.useState(0),
52
+ var _React$useState5 = React.useState(''),
47
53
  _React$useState6 = _slicedToArray(_React$useState5, 2),
48
- lastTap = _React$useState6[0],
49
- setLastTap = _React$useState6[1];
50
- // 长按
51
- var _React$useState7 = React.useState(null),
54
+ tempAmount = _React$useState6[0],
55
+ setTempAmount = _React$useState6[1];
56
+ var _React$useState7 = React.useState(false),
52
57
  _React$useState8 = _slicedToArray(_React$useState7, 2),
53
- pressTimer = _React$useState8[0],
54
- setPressTimer = _React$useState8[1];
58
+ isKeyboardOpen = _React$useState8[0],
59
+ setIsKeyboardOpen = _React$useState8[1];
60
+ // 双击
61
+ var _React$useState9 = React.useState(0),
62
+ _React$useState10 = _slicedToArray(_React$useState9, 2),
63
+ lastTap = _React$useState10[0],
64
+ setLastTap = _React$useState10[1];
65
+ // 长按
66
+ var _React$useState11 = React.useState(null),
67
+ _React$useState12 = _slicedToArray(_React$useState11, 2),
68
+ pressTimer = _React$useState12[0],
69
+ setPressTimer = _React$useState12[1];
55
70
 
56
71
  // 添加 useEffect 清理定时器
57
72
  useEffect(function () {
@@ -106,15 +121,41 @@ var PisellWalletPassCard = function PisellWalletPassCard(props) {
106
121
  actions = props.actions,
107
122
  beforeEdit = props.beforeEdit,
108
123
  onConfirmEdit = props.onConfirmEdit,
124
+ onConfirmEditAmount = props.onConfirmEditAmount,
109
125
  originData = props.originData,
110
126
  _props$style = props.style,
111
- style = _props$style === void 0 ? {} : _props$style;
127
+ style = _props$style === void 0 ? {} : _props$style,
128
+ _props$mode = props.mode,
129
+ mode = _props$mode === void 0 ? 'multiple' : _props$mode,
130
+ showActiveIcon = props.showActiveIcon,
131
+ enableEditAmount = props.enableEditAmount,
132
+ showStatus = props.showStatus,
133
+ cardStatus = props.cardStatus,
134
+ nameTitleStyle = props.nameTitleStyle;
112
135
  useEffect(function () {
113
136
  document.body.id = 'body';
114
137
  }, []);
138
+
139
+ // 创建ref来获取actions-btn-wrapper的尺寸
140
+ var actionsWrapperRef = useRef(null);
141
+ var actionsWrapperSize = useSize(actionsWrapperRef);
115
142
  var isMini = useMemo(function () {
116
143
  return 'mini' === type;
117
144
  }, [type]);
145
+
146
+ // 动态计算pisell-card-name-wrap的宽度
147
+ var dynamicNameWrapStyle = useMemo(function () {
148
+ var actionsWidth = (actionsWrapperSize === null || actionsWrapperSize === void 0 ? void 0 : actionsWrapperSize.width) || 0;
149
+ var baseStyle = nameTitleStyle || {};
150
+ if (actionsWidth > 0) {
151
+ return _objectSpread(_objectSpread({}, baseStyle), {}, {
152
+ width: "calc(100% - ".concat(actionsWidth + 8, "px)") // 添加8px的边距
153
+ });
154
+ }
155
+ return _objectSpread(_objectSpread({}, baseStyle), {}, {
156
+ width: isMini ? 'calc(100% - 96px)' : 'calc(100% - 80px)' // 使用默认宽度
157
+ });
158
+ }, [nameTitleStyle, actionsWrapperSize === null || actionsWrapperSize === void 0 ? void 0 : actionsWrapperSize.width, isMini]);
118
159
  var onDetail = function onDetail() {
119
160
  var _actions$detail;
120
161
  if (disabled || disabledReason || !(actions !== null && actions !== void 0 && (_actions$detail = actions.detail) !== null && _actions$detail !== void 0 && _actions$detail.visible)) return;
@@ -254,10 +295,11 @@ var PisellWalletPassCard = function PisellWalletPassCard(props) {
254
295
  };
255
296
  var renderActions = function renderActions() {
256
297
  if (disabled || disabledReason) return null;
257
- if (!showActions || !actions) return null;
258
- if ('collapsed' === actions.layout) {
298
+ if ((!showActions || !actions) && !showStatus) return null;
299
+ if ('collapsed' === (actions === null || actions === void 0 ? void 0 : actions.layout)) {
300
+ var _actions$detail2, _actions$edit4;
259
301
  var items = [];
260
- if (actions.detail && actions.detail.visible) {
302
+ if (actions !== null && actions !== void 0 && actions.detail && actions !== null && actions !== void 0 && (_actions$detail2 = actions.detail) !== null && _actions$detail2 !== void 0 && _actions$detail2.visible) {
261
303
  items.push({
262
304
  key: 'detail',
263
305
  label: /*#__PURE__*/React.createElement("div", {
@@ -269,7 +311,7 @@ var PisellWalletPassCard = function PisellWalletPassCard(props) {
269
311
  }, /*#__PURE__*/React.createElement("span", null, getText('pisell-wallet-pass-card-detail')))
270
312
  });
271
313
  }
272
- if (actions.edit && actions.edit.visible) {
314
+ if (actions !== null && actions !== void 0 && actions.edit && actions !== null && actions !== void 0 && (_actions$edit4 = actions.edit) !== null && _actions$edit4 !== void 0 && _actions$edit4.visible) {
273
315
  items.push({
274
316
  key: 'edit',
275
317
  label: /*#__PURE__*/React.createElement("div", {
@@ -299,10 +341,21 @@ var PisellWalletPassCard = function PisellWalletPassCard(props) {
299
341
  }
300
342
  })));
301
343
  }
302
- if ('expanded' === actions.layout) {
344
+ if ('expanded' === (actions === null || actions === void 0 ? void 0 : actions.layout) || showStatus) {
345
+ var _actions$detail3, _actions$edit5;
303
346
  return /*#__PURE__*/React.createElement("div", {
304
- className: "actions-btn-wrapper"
305
- }, actions.detail && actions.detail.visible && /*#__PURE__*/React.createElement("div", {
347
+ className: "actions-btn-wrapper",
348
+ ref: actionsWrapperRef
349
+ }, showStatus && cardStatus && /*#__PURE__*/React.createElement("div", {
350
+ className: "pisell-card-status-icon"
351
+ }, /*#__PURE__*/React.createElement(PisellTag, {
352
+ style: {
353
+ borderRadius: '6px',
354
+ padding: '2px 8px'
355
+ },
356
+ type: "pill_color",
357
+ color: cardStatusMap[cardStatus]
358
+ }, getText("pisell-wallet-pass-card-status-".concat(cardStatus)))), (actions === null || actions === void 0 ? void 0 : actions.detail) && (actions === null || actions === void 0 || (_actions$detail3 = actions.detail) === null || _actions$detail3 === void 0 ? void 0 : _actions$detail3.visible) && /*#__PURE__*/React.createElement("div", {
306
359
  className: "pisell-card-actions-detail-btn",
307
360
  onClick: function onClick(e) {
308
361
  stop(e);
@@ -313,7 +366,7 @@ var PisellWalletPassCard = function PisellWalletPassCard(props) {
313
366
  fontSize: 24,
314
367
  color: actions.detail.iconColor || '#1570EF'
315
368
  }
316
- })), actions.edit && actions.edit.visible && /*#__PURE__*/React.createElement("div", {
369
+ })), (actions === null || actions === void 0 ? void 0 : actions.edit) && (actions === null || actions === void 0 || (_actions$edit5 = actions.edit) === null || _actions$edit5 === void 0 ? void 0 : _actions$edit5.visible) && /*#__PURE__*/React.createElement("div", {
317
370
  className: "pisell-card-actions-edit-btn",
318
371
  onClick: function onClick(e) {
319
372
  stop(e);
@@ -329,22 +382,37 @@ var PisellWalletPassCard = function PisellWalletPassCard(props) {
329
382
  };
330
383
  var renderNameInfo = function renderNameInfo() {
331
384
  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
332
- className: "pisell-card-name-wrap"
385
+ className: "pisell-card-name-wrap",
386
+ style: dynamicNameWrapStyle
333
387
  }, showName && name), /*#__PURE__*/React.createElement("div", {
334
388
  className: "pisell-card-store-name"
335
389
  }, showStoreName && storeName));
336
390
  };
391
+ var handleEditAmount = function handleEditAmount(e) {
392
+ e.stopPropagation();
393
+ if (enableEditAmount && !disabled) {
394
+ setIsKeyboardOpen(true);
395
+ setTempAmount((redeem === null || redeem === void 0 ? void 0 : redeem.toString()) || '');
396
+ }
397
+ };
337
398
  var renderBalanceInfo = function renderBalanceInfo() {
338
399
  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
339
400
  className: "pisell-card-amount-wrap"
340
401
  }, showRedeem && !disabled && /*#__PURE__*/React.createElement("div", {
341
402
  className: "pisell-card-amount-item pisell-wallet-pass-card-redeem"
342
403
  }, /*#__PURE__*/React.createElement("div", {
343
- className: "pisell-card-amount-item-label"
344
- }, redeemTitle || getText('pisell-wallet-pass-card-redeem'), isMini ? ': ' : ''), /*#__PURE__*/React.createElement(Amount, {
404
+ className: "pisell-card-amount-item-label",
405
+ onClick: handleEditAmount
406
+ }, enableEditAmount && /*#__PURE__*/React.createElement(Iconfont, {
407
+ type: "pisell2-edit-05",
408
+ className: "pisell-card-amount-item-label-icon"
409
+ }), /*#__PURE__*/React.createElement("span", {
410
+ className: "pisell-card-amount-item-label-text"
411
+ }, redeemTitle || getText('pisell-wallet-pass-card-redeem'), isMini ? ': ' : '')), /*#__PURE__*/React.createElement(Amount, {
345
412
  className: "pisell-card-amount-item-value",
346
413
  useThousandsSeparator: true,
347
- value: redeem
414
+ value: redeem,
415
+ onClick: handleEditAmount
348
416
  })), showBalance && /*#__PURE__*/React.createElement("div", {
349
417
  className: "pisell-card-amount-item pisell-wallet-pass-card-balance"
350
418
  }, /*#__PURE__*/React.createElement("div", {
@@ -395,9 +463,9 @@ var PisellWalletPassCard = function PisellWalletPassCard(props) {
395
463
  });
396
464
  };
397
465
  var renderEditModal = function renderEditModal() {
398
- var _actions$edit4, _actions$edit5;
466
+ var _actions$edit6, _actions$edit7;
399
467
  return /*#__PURE__*/React.createElement(PisellModal, {
400
- title: (actions === null || actions === void 0 || (_actions$edit4 = actions.edit) === null || _actions$edit4 === void 0 ? void 0 : _actions$edit4.dialogTitle) || getText('pisell-wallet-pass-card-edit'),
468
+ title: (actions === null || actions === void 0 || (_actions$edit6 = actions.edit) === null || _actions$edit6 === void 0 ? void 0 : _actions$edit6.dialogTitle) || getText('pisell-wallet-pass-card-edit'),
401
469
  open: isShowEdit,
402
470
  className: "pisell-wallet-pass-card-edit-modal",
403
471
  onCancel: function onCancel() {
@@ -414,7 +482,7 @@ var PisellWalletPassCard = function PisellWalletPassCard(props) {
414
482
  style: {
415
483
  padding: '16px 0'
416
484
  }
417
- }, Array.isArray(actions === null || actions === void 0 || (_actions$edit5 = actions.edit) === null || _actions$edit5 === void 0 ? void 0 : _actions$edit5.fields) && actions.edit.fields.map(function (item) {
485
+ }, Array.isArray(actions === null || actions === void 0 || (_actions$edit7 = actions.edit) === null || _actions$edit7 === void 0 ? void 0 : _actions$edit7.fields) && actions.edit.fields.map(function (item) {
418
486
  return /*#__PURE__*/React.createElement(Form.Item, {
419
487
  key: item.name,
420
488
  name: item.name,
@@ -478,6 +546,42 @@ var PisellWalletPassCard = function PisellWalletPassCard(props) {
478
546
  label: getText('pisell-wallet-pass-card-valid-to')
479
547
  }, /*#__PURE__*/React.createElement(Input, null))));
480
548
  };
549
+ var checkedDom = useMemo(function () {
550
+ if (!isMini) return null;
551
+ if (showActiveIcon && !active) {
552
+ return /*#__PURE__*/React.createElement("div", {
553
+ className: "pisell-card-checked-icon"
554
+ }, /*#__PURE__*/React.createElement(Radio, {
555
+ checked: false
556
+ }));
557
+ }
558
+ // mini卡片选中模式
559
+ return active && /*#__PURE__*/React.createElement("div", {
560
+ className: "pisell-card-checked-icon"
561
+ }, mode === 'multiple' ? /*#__PURE__*/React.createElement(CheckCircleFilled, {
562
+ style: {
563
+ fontSize: 20,
564
+ color: 'var(--Primary-600, #7F56D9)'
565
+ }
566
+ }) : /*#__PURE__*/React.createElement(Radio, {
567
+ checked: true
568
+ }));
569
+ }, [showActiveIcon, isMini, active]);
570
+ var handleKeyboardClose = function handleKeyboardClose() {
571
+ setIsKeyboardOpen(false);
572
+ // 清空临时值
573
+ setTempAmount("");
574
+ };
575
+
576
+ // 处理键盘输入变化
577
+ var handleKeyboardChange = function handleKeyboardChange(value) {
578
+ // 暂存输入值,不立即更新显示
579
+ setTempAmount(value.toString() || "");
580
+ };
581
+ var handleKeyboardEnter = function handleKeyboardEnter() {
582
+ setIsKeyboardOpen(false);
583
+ onConfirmEditAmount === null || onConfirmEditAmount === void 0 || onConfirmEditAmount(tempAmount);
584
+ };
481
585
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
482
586
  onClick: function onClick(e) {
483
587
  return e.stopPropagation();
@@ -507,20 +611,44 @@ var PisellWalletPassCard = function PisellWalletPassCard(props) {
507
611
  }, /*#__PURE__*/React.createElement(PisellQrcode, {
508
612
  value: qrCode,
509
613
  size: 60
510
- })),
511
- // mini卡片选中模式
512
- isMini && active && /*#__PURE__*/React.createElement("div", {
513
- className: "pisell-card-checked-icon"
514
- }, /*#__PURE__*/React.createElement(CheckCircleFilled, {
515
- style: {
516
- fontSize: 20,
517
- color: 'var(--Primary-600, #7F56D9)'
518
- }
519
- }))), (disabled || disabledReason) && showDisabledReason && /*#__PURE__*/React.createElement("div", {
614
+ })), checkedDom), (disabled || disabledReason) && showDisabledReason && /*#__PURE__*/React.createElement("div", {
520
615
  className: "pisell-card-warn-message"
521
616
  }, /*#__PURE__*/React.createElement(Iconfont, {
522
617
  className: "pisell-card-icon",
523
618
  type: "pisell2-alert-circle"
524
- }), /*#__PURE__*/React.createElement("span", null, disabledReason))));
619
+ }), /*#__PURE__*/React.createElement("span", null, disabledReason)), /*#__PURE__*/React.createElement(PisellModal, {
620
+ open: isKeyboardOpen,
621
+ onCancel: handleKeyboardClose,
622
+ title: null,
623
+ footer: null,
624
+ header: null,
625
+ closable: false,
626
+ mask: false,
627
+ maskClosable: true,
628
+ centered: true,
629
+ width: "auto",
630
+ wrapClassName: "keyboard-modal-wrapper",
631
+ bodyStyle: {
632
+ padding: 0
633
+ },
634
+ styles: {
635
+ content: {
636
+ padding: 0,
637
+ boxShadow: "none",
638
+ background: "transparent"
639
+ },
640
+ body: {
641
+ padding: 0
642
+ }
643
+ }
644
+ }, /*#__PURE__*/React.createElement(PisellNumberKeyboard, {
645
+ value: tempAmount,
646
+ defaultValue: redeem,
647
+ onChange: handleKeyboardChange,
648
+ onEnter: handleKeyboardEnter,
649
+ allowDecimal: true,
650
+ decimalPlaces: 2,
651
+ selectType: "dark"
652
+ }))));
525
653
  };
526
654
  export default PisellWalletPassCard;
@@ -25,15 +25,25 @@
25
25
 
26
26
  .actions-btn-wrapper {
27
27
  position: absolute;
28
- top: 16px;
29
- right: 16px;
28
+ top: 0px;
29
+ right: 0px;
30
30
  z-index: 2;
31
31
  display: flex;
32
- gap: 16px;
32
+ gap: 0px;
33
+ z-index: 3;
33
34
 
34
35
  & > div {
35
36
  cursor: pointer;
36
37
  }
38
+ .pisell-card-status-icon {
39
+ padding: 12px 8px;
40
+ }
41
+ .pisell-card-actions-edit-btn {
42
+ padding: 12px 8px 20px;
43
+ }
44
+ .pisell-card-actions-detail-btn {
45
+ padding: 12px 8px 20px;
46
+ }
37
47
  }
38
48
 
39
49
  .pisell-wallet-pass-card-body {
@@ -47,12 +57,13 @@
47
57
  display: flex;
48
58
  flex-direction: column;
49
59
  justify-content: space-between;
60
+ position: relative;
61
+ z-index: 2;
50
62
  }
51
63
 
52
64
  .pisell-card-name-wrap {
53
65
  font-weight: 500;
54
66
  line-height: 20px;
55
-
56
67
  white-space: nowrap;
57
68
  overflow: hidden;
58
69
  text-overflow: ellipsis;
@@ -95,7 +106,7 @@
95
106
  .pisell-card-amount-item-value {
96
107
  font-size: 20px;
97
108
  font-weight: 600;
98
- line-height: 30px;
109
+ line-height: 20px;
99
110
  overflow: hidden;
100
111
  text-overflow: ellipsis;
101
112
  }
@@ -188,7 +199,6 @@
188
199
  .pisell-card-name-wrap {
189
200
  font-weight: 600;
190
201
  font-size: 16px;
191
- max-width: calc(100% - 96px);
192
202
  white-space: nowrap;
193
203
  overflow: hidden;
194
204
  text-overflow: ellipsis;
@@ -208,14 +218,26 @@
208
218
  visibility: hidden;
209
219
  flex-direction: row;
210
220
  align-items: center;
221
+ margin-bottom: 4px;
222
+
223
+ .pisell-card-amount-item-label-icon {
224
+ font-size: 20px;
225
+ margin-right: 8px;
226
+ }
211
227
 
212
228
  .pisell-card-amount-item-label,
213
229
  .pisell-card-amount-item-value {
214
230
  color: var(--Primary-600, #7f56d9);
215
- font-size: 20px;
216
231
  font-style: normal;
217
232
  font-weight: 600;
218
233
  }
234
+ .pisell-card-amount-item-label {
235
+ font-size: 14px;
236
+ }
237
+ .pisell-card-amount-item-value {
238
+ font-size: 20px;
239
+ text-decoration: underline;
240
+ }
219
241
  }
220
242
 
221
243
  &.active {
@@ -241,6 +263,13 @@
241
263
  position: absolute;
242
264
  bottom: 16px;
243
265
  right: 16px;
266
+ .pisell-lowcode-radio-wrapper {
267
+ margin: 0;
268
+ }
269
+ .pisell-lowcode-radio-inner {
270
+ width: 20px;
271
+ height: 20px;
272
+ }
244
273
  }
245
274
  }
246
275
 
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const DiscountReason: (props: any) => JSX.Element;
3
2
  export default DiscountReason;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Holders: (props: any) => JSX.Element | null;
4
3
  export default Holders;
@@ -0,0 +1,45 @@
1
+ import type { ReactNode } from 'react';
2
+ import React from 'react';
3
+ declare type NativeProps<S extends string = never> = {
4
+ className?: string;
5
+ style?: React.CSSProperties & Partial<Record<S, string>>;
6
+ };
7
+ declare type PropagationEvent = 'click';
8
+ import './index.less';
9
+ declare type SideType = 'left' | 'right';
10
+ export declare type SwipeActionRef = {
11
+ close: () => void;
12
+ show: (side?: SideType) => void;
13
+ };
14
+ declare type ActionColor = 'light' | 'weak' | 'primary' | 'success' | 'warning' | 'danger';
15
+ export declare type Action = {
16
+ key: string | number;
17
+ text: ReactNode;
18
+ color?: ActionColor | string;
19
+ onClick?: (e: React.MouseEvent) => void;
20
+ };
21
+ export declare type SwipeActionProps = {
22
+ rightActions?: Action[];
23
+ leftActions?: Action[];
24
+ onAction?: (action: Action, e: React.MouseEvent) => void;
25
+ closeOnTouchOutside?: boolean;
26
+ closeOnAction?: boolean;
27
+ children: ReactNode;
28
+ stopPropagation?: PropagationEvent[];
29
+ onActionsReveal?: (side: SideType) => void;
30
+ onClose?: () => void;
31
+ escapeDom?: string;
32
+ } & NativeProps<'--background'>;
33
+ export declare const SwipeAction: React.ForwardRefExoticComponent<{
34
+ rightActions?: Action[] | undefined;
35
+ leftActions?: Action[] | undefined;
36
+ onAction?: ((action: Action, e: React.MouseEvent) => void) | undefined;
37
+ closeOnTouchOutside?: boolean | undefined;
38
+ closeOnAction?: boolean | undefined;
39
+ children: ReactNode;
40
+ stopPropagation?: "click"[] | undefined;
41
+ onActionsReveal?: ((side: SideType) => void) | undefined;
42
+ onClose?: (() => void) | undefined;
43
+ escapeDom?: string | undefined;
44
+ } & NativeProps<"--background"> & React.RefAttributes<SwipeActionRef>>;
45
+ export {};
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Footer: ({ item, hideDivider, type, isOnlyTotal }: any) => JSX.Element;
4
3
  export default Footer;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Divider: ({ type }: any) => JSX.Element;
4
3
  export default Divider;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const EditButton: ({ onEdit }: any) => JSX.Element;
4
3
  export default EditButton;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const MultiDay: ({ dataSource, hideDivider }: any) => JSX.Element;
4
3
  export default MultiDay;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Note: (props: any) => JSX.Element | null;
4
3
  export default Note;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const renderBundles: (item: any, hidePrice?: boolean, isShowPackageNote?: boolean) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Options: ({ options, amountSymbol }: any) => JSX.Element | null;
4
3
  export default Options;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Packages: ({ item, isShowPackageNote }: any) => JSX.Element | null;
4
3
  export default Packages;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Sales: ({ item, isShowNote }: any) => JSX.Element | null;
4
3
  export default Sales;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Like: ({ status, onLike, className, style, isShowChangeResource, }: {
4
3
  style?: any;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const SelectHolderMultiple: ({ lists, value, onChange, holderMode, isShowAddHolderButton, onAddHolder, addHolderButtonText, onClearHolder, isErrorHolder, allowClear, holderMaxCount, }: any) => JSX.Element;
3
2
  export default SelectHolderMultiple;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const QRCode: (props: any) => JSX.Element;
3
2
  export default QRCode;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Radio: (props: any) => JSX.Element;
3
2
  export default Radio;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SegmentedProps } from "antd";
3
2
  import "./index.less";
4
3
  declare const Segmented: (props: SegmentedProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface RightPanelProps {
4
3
  value: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { VirtualKeyboardTimeProps } from "../virtual-keyboard/Time";
3
2
  import { PopoverProps, TimePickerProps } from "antd";
4
3
  import "./index.less";
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Skeleton: (props: any) => JSX.Element;
3
2
  export default Skeleton;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const SliderOuter: (props: any) => JSX.Element;
3
2
  export default SliderOuter;