@pisell/materials 6.0.21 → 6.1.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 (449) 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 +5 -5
  6. package/build/lowcode/preview.js +34 -14
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +35 -25
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +35 -25
  11. package/dist/umd/materials.min.css +1 -0
  12. package/dist/umd/materials.min.js +1 -0
  13. package/dist/umd/static/DotsSix.57d66266.svg +1 -0
  14. package/dist/umd/static/arrow-left.e542294f.svg +1 -0
  15. package/dist/umd/static/arrow-right.763f03e0.svg +1 -0
  16. package/dist/umd/static/filter-lines.04a54ae9.svg +1 -0
  17. package/dist/umd/static/help-circle.31c9be40.svg +1 -0
  18. package/dist/umd/static/switch-vertical-01.7ebe3ba8.svg +1 -0
  19. package/es/components/DragSortList/index.js +6 -6
  20. package/es/components/TimeResourceSelector/index.js +115 -0
  21. package/es/components/TimeResourceSelector/index.less +59 -0
  22. package/es/components/cardMetricItem/index.less +0 -1
  23. package/es/components/classicLayout/index.js +5 -4
  24. package/es/components/collapse/index.js +103 -0
  25. package/es/components/collapse/index.less +0 -0
  26. package/es/components/dataSourceComponents/dataSourceMenu/Basic.js +6 -2
  27. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.js +1 -1
  28. package/es/components/dataSourceComponents/fields/DatePicker/ReadPretty.js +12 -4
  29. package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  30. package/es/components/dataSourceComponents/fields/index.d.ts +4 -4
  31. package/es/components/dataSourceComponents/fields/utils.js +5 -0
  32. package/es/components/date-picker/datePickerCpt.js +1 -1
  33. package/es/components/div/index.d.ts +13 -2
  34. package/es/components/div/index.js +45 -8
  35. package/es/components/icon/index.js +5 -5
  36. package/es/components/iconfont/index.js +1 -1
  37. package/es/components/list/index.js +6 -6
  38. package/es/components/pisell-config-provider/index.js +3 -1
  39. package/es/components/pisellAnchor/index.js +109 -199
  40. package/es/components/pisellAnchor/index.less +3 -6
  41. package/es/components/pisellAvatar/index.js +3 -2
  42. package/es/components/pisellAvatar/index.less +2 -1
  43. package/es/components/pisellCard/index.js +34 -5
  44. package/es/components/pisellCard/index.less +31 -4
  45. package/es/components/pisellCardList/index.d.ts +31 -1
  46. package/es/components/pisellCardList/index.js +29 -19
  47. package/es/components/pisellCardList/index.less +75 -75
  48. package/es/components/pisellCheckboxGroup/index.d.ts +3 -1
  49. package/es/components/pisellCheckboxGroup/index.js +32 -8
  50. package/es/components/pisellCheckboxGroup/index.less +1 -0
  51. package/es/components/pisellCustomCheckboxGroup/index.js +75 -0
  52. package/es/components/pisellCustomCheckboxGroup/index.less +0 -0
  53. package/es/components/pisellDraggable/components/TreeItem/SortableTreeItem.d.ts +3 -3
  54. package/es/components/pisellDraggable/components/TreeItem/SortableTreeItem.js +4 -3
  55. package/es/components/pisellDraggable/components/TreeItem/TreeItem.d.ts +1 -0
  56. package/es/components/pisellDraggable/components/TreeItem/index.d.ts +1 -1
  57. package/es/components/pisellDraggable/components/TreeItem/index.js +1 -1
  58. package/es/components/pisellDraggable/index.d.ts +5 -2
  59. package/es/components/pisellDraggable/index.js +165 -127
  60. package/es/components/pisellDropSort/PisellDropSort.js +10 -3
  61. package/es/components/pisellDropSort/components/SortableItem/index.d.ts +1 -0
  62. package/es/components/pisellDropSort/components/SortableItem/index.js +6 -1
  63. package/es/components/pisellDropSort/components/SortableItem/index.less +0 -1
  64. package/es/components/pisellDropSort/types.d.ts +6 -0
  65. package/es/components/pisellDropdown/index.js +51 -0
  66. package/es/components/pisellDropdown/index.less +44 -0
  67. package/es/components/pisellGoodPassCard/index.d.ts +49 -0
  68. package/es/components/pisellGoodPassCard/index.js +122 -0
  69. package/es/components/pisellGoodPassCard/index.less +58 -0
  70. package/es/components/pisellHeaderProgressBar/index.js +76 -0
  71. package/es/components/pisellHeaderProgressBar/index.less +18 -0
  72. package/es/components/pisellImageCarousels/index.js +108 -0
  73. package/es/components/pisellImageCarousels/index.less +92 -0
  74. package/es/components/pisellInformationEntry/hooks/useNativeScanner.js +35 -0
  75. package/es/components/pisellInformationEntry/index.js +16 -2
  76. package/es/components/pisellList01/index.js +105 -0
  77. package/es/components/pisellList01/index.less +53 -0
  78. package/es/components/pisellMenu/PisellMenu.d.ts +6 -4
  79. package/es/components/pisellMenu/PisellMenu.js +1 -0
  80. package/es/components/pisellMenu/types.d.ts +1 -0
  81. package/es/components/pisellModal/components/MobileModal/index.less +4 -0
  82. package/es/components/pisellNavigationMenu/PisellNavigationMenu.js +79 -11
  83. package/es/components/pisellNavigationMenu/PisellNavigationMenu.less +14 -0
  84. package/es/components/pisellNavigationMenu/types.d.ts +21 -0
  85. package/es/components/pisellQrcode/index.less +0 -2
  86. package/es/components/pisellSectionHeaders/index.js +35 -0
  87. package/es/components/pisellSectionHeaders/index.less +46 -0
  88. package/es/components/pisellText/components/Amount/index.js +1 -1
  89. package/es/components/pisellWalletPassCard/index.d.ts +31 -1
  90. package/es/components/pisellWalletPassCard/index.js +452 -47
  91. package/es/components/pisellWalletPassCard/index.less +154 -28
  92. package/es/components/productCard/components/Action/index.js +21 -0
  93. package/es/components/productCard/components/Action/index.less +14 -0
  94. package/es/components/productCard/components/AmountFooter/index.d.ts +3 -0
  95. package/es/components/productCard/components/AmountFooter/index.js +58 -0
  96. package/es/components/productCard/components/AmountFooter/index.less +50 -0
  97. package/es/components/productCard/components/Divider/index.js +11 -0
  98. package/es/components/productCard/components/Divider/index.less +13 -0
  99. package/es/components/productCard/components/Header/DeleteButton/index.js +21 -0
  100. package/es/components/productCard/components/Header/DeleteButton/index.less +15 -0
  101. package/es/components/productCard/components/Header/EditButton/index.d.ts +3 -0
  102. package/es/components/productCard/components/Header/EditButton/index.js +22 -0
  103. package/es/components/productCard/components/Header/EditButton/index.less +26 -0
  104. package/es/components/productCard/components/Header/index.d.ts +3 -0
  105. package/es/components/productCard/components/Header/index.js +94 -0
  106. package/es/components/productCard/components/Header/index.less +57 -0
  107. package/es/components/productCard/components/MultiDay/index.js +80 -0
  108. package/es/components/productCard/components/MultiDay/index.less +34 -0
  109. package/es/components/productCard/components/MultiDay/utils.js +56 -0
  110. package/es/components/productCard/components/Note/index.d.ts +3 -0
  111. package/es/components/productCard/components/Note/index.js +25 -0
  112. package/es/components/productCard/components/Note/index.less +20 -0
  113. package/es/components/productCard/components/Packages/components/collapsibleList/index.d.ts +10 -0
  114. package/es/components/productCard/components/Packages/components/collapsibleList/index.js +96 -0
  115. package/es/components/productCard/components/Packages/components/collapsibleList/index.less +52 -0
  116. package/es/components/productCard/components/Packages/components/collapsibleList/utils.js +40 -0
  117. package/es/components/productCard/components/Packages/components/options/index.js +23 -0
  118. package/es/components/productCard/components/Packages/components/options/index.less +29 -0
  119. package/es/components/productCard/components/Packages/index.d.ts +3 -0
  120. package/es/components/productCard/components/Packages/index.js +31 -0
  121. package/es/components/productCard/components/Packages/index.less +17 -0
  122. package/es/components/productCard/components/Packages/utils.d.ts +20 -0
  123. package/es/components/productCard/components/Packages/utils.js +40 -0
  124. package/es/components/productCard/components/Sales/index.d.ts +3 -0
  125. package/es/components/productCard/components/Sales/index.js +40 -0
  126. package/es/components/productCard/components/Sales/index.less +18 -0
  127. package/es/components/productCard/components/Time/components/Like/index.js +30 -0
  128. package/es/components/productCard/components/Time/components/Like/index.less +27 -0
  129. package/es/components/productCard/components/Time/components/Like/like-heart.png +0 -0
  130. package/es/components/productCard/components/Time/components/Like/like-hide-heart.png +0 -0
  131. package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +3 -0
  132. package/es/components/productCard/components/Time/components/SelectHolder/index.js +143 -0
  133. package/es/components/productCard/components/Time/components/SelectHolder/index.less +62 -0
  134. package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +13 -0
  135. package/es/components/productCard/components/Time/components/SelectHolderModal/index.js +157 -0
  136. package/es/components/productCard/components/Time/components/SelectHolderModal/index.less +39 -0
  137. package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +2 -0
  138. package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.js +144 -0
  139. package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +18 -0
  140. package/es/components/productCard/components/Time/components/SelectResource/index.js +119 -0
  141. package/es/components/productCard/components/Time/components/SelectResource/index.less +20 -0
  142. package/es/components/productCard/components/Time/index.js +140 -0
  143. package/es/components/productCard/components/Time/index.less +56 -0
  144. package/es/components/productCard/hooks/useOpenNote.d.ts +3 -0
  145. package/es/components/productCard/hooks/useOpenNote.js +67 -0
  146. package/es/components/productCard/index.d.ts +5 -0
  147. package/es/components/productCard/index.js +176 -0
  148. package/es/components/productCard/index.less +82 -0
  149. package/es/components/productCard/locales.js +122 -0
  150. package/es/components/productCard/status.js +68 -0
  151. package/es/components/productCard/types.js +1 -0
  152. package/es/components/productCard/utils.d.ts +31 -0
  153. package/es/components/productCard/utils.js +147 -0
  154. package/es/components/profileMenu/index.less +2 -5
  155. package/es/components/qrcode/index.js +1 -1
  156. package/es/components/record-view/index.less +0 -2
  157. package/es/components/section-footers/index.js +17 -0
  158. package/es/components/section-footers/index.less +5 -0
  159. package/es/components/sort/components/InlineMenu/index.js +1 -1
  160. package/es/components/table/Actions/component/ButtonIcon/index.js +5 -5
  161. package/es/components/table/Actions/component/ExportImport/utils/index.js +11 -0
  162. package/es/components/table/Actions/component/ViewMode/index.js +1 -1
  163. package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.js +5 -4
  164. package/es/components/table/Header/Buttons/index.js +5 -5
  165. package/es/components/table/Table/AddFieldModal/index.js +6 -6
  166. package/es/components/table/Table/SelectField/index.js +4 -4
  167. package/es/components/table/Table/fields/date/Edit/index.js +1 -1
  168. package/es/components/table/Table/fields/link/Edit/index.js +5 -5
  169. package/es/components/table/Table/fields/rangePicker/filterUtil/index.js +1 -1
  170. package/es/components/table/Table/fields/search/filterUtil/index.js +1 -0
  171. package/es/components/table/Table/fields/text/Show/index.js +4 -4
  172. package/es/components/table/Table/fields/text/filterUtil/index.js +1 -0
  173. package/es/components/table/Table/tableConfig/SortRow/index.js +2 -2
  174. package/es/components/table/Table/tableConfig/body/CellContent/index.js +3 -3
  175. package/es/components/table/Table/tableConfig/body/CellProvider/index.js +8 -8
  176. package/es/components/table/Table/utils.d.ts +1 -1
  177. package/es/components/table/hooks/useMergeColumnSetting.js +2 -1
  178. package/es/components/table/hooks/useTransDataSourceGroupSetting.js +5 -5
  179. package/es/components/table/hooks/useTransFilterSetting.js +5 -5
  180. package/es/components/tabs/index.js +6 -1
  181. package/es/components/translation/index.js +10 -10
  182. package/es/components/translation/utils.js +5 -5
  183. package/es/components/walletCard/Guide/index.js +87 -0
  184. package/es/components/walletCard/Guide/index.less +71 -0
  185. package/es/components/walletCard/index.js +87 -50
  186. package/es/components/walletCard/index.less +3 -5
  187. package/es/hooks/useResponsive.js +2 -2
  188. package/es/index.d.ts +11 -1
  189. package/es/index.js +14 -2
  190. package/es/locales/en-US.d.ts +16 -1
  191. package/es/locales/en-US.js +18 -2
  192. package/es/locales/zh-CN.d.ts +16 -1
  193. package/es/locales/zh-CN.js +18 -2
  194. package/es/locales/zh-TW.d.ts +16 -1
  195. package/es/locales/zh-TW.js +17 -2
  196. package/es/utils/hoc.js +1 -1
  197. package/es/utils/miniRedux.js +9 -8
  198. package/lib/components/TimeResourceSelector/index.js +109 -0
  199. package/lib/components/TimeResourceSelector/index.less +59 -0
  200. package/lib/components/cardMetricItem/index.less +0 -1
  201. package/lib/components/collapse/index.js +109 -0
  202. package/lib/components/collapse/index.less +0 -0
  203. package/lib/components/dataSourceComponents/dataSourceMenu/Basic.js +6 -2
  204. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.js +1 -1
  205. package/lib/components/dataSourceComponents/fields/DatePicker/ReadPretty.js +15 -7
  206. package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  207. package/lib/components/dataSourceComponents/fields/index.d.ts +4 -4
  208. package/lib/components/dataSourceComponents/fields/utils.js +5 -0
  209. package/lib/components/date-picker/datePickerCpt.js +1 -1
  210. package/lib/components/div/index.d.ts +13 -2
  211. package/lib/components/div/index.js +33 -3
  212. package/lib/components/iconfont/index.js +1 -1
  213. package/lib/components/lowCodePage/index.js +2 -1
  214. package/lib/components/pisell-config-provider/index.js +3 -1
  215. package/lib/components/pisellAnchor/index.js +64 -131
  216. package/lib/components/pisellAnchor/index.less +3 -6
  217. package/lib/components/pisellAvatar/index.js +2 -2
  218. package/lib/components/pisellAvatar/index.less +2 -1
  219. package/lib/components/pisellCard/index.js +30 -7
  220. package/lib/components/pisellCard/index.less +31 -4
  221. package/lib/components/pisellCardList/index.d.ts +31 -1
  222. package/lib/components/pisellCardList/index.js +48 -43
  223. package/lib/components/pisellCardList/index.less +75 -75
  224. package/lib/components/pisellCheckboxGroup/index.d.ts +3 -1
  225. package/lib/components/pisellCheckboxGroup/index.js +30 -7
  226. package/lib/components/pisellCheckboxGroup/index.less +1 -0
  227. package/lib/components/pisellCustomCheckboxGroup/index.js +71 -0
  228. package/lib/components/pisellCustomCheckboxGroup/index.less +0 -0
  229. package/lib/components/pisellDraggable/components/TreeItem/SortableTreeItem.d.ts +3 -3
  230. package/lib/components/pisellDraggable/components/TreeItem/SortableTreeItem.js +4 -7
  231. package/lib/components/pisellDraggable/components/TreeItem/TreeItem.d.ts +1 -0
  232. package/lib/components/pisellDraggable/components/TreeItem/index.d.ts +1 -1
  233. package/lib/components/pisellDraggable/components/TreeItem/index.js +12 -2
  234. package/lib/components/pisellDraggable/index.d.ts +5 -2
  235. package/lib/components/pisellDraggable/index.js +114 -80
  236. package/lib/components/pisellDropSort/PisellDropSort.js +9 -3
  237. package/lib/components/pisellDropSort/components/SortableItem/index.d.ts +1 -0
  238. package/lib/components/pisellDropSort/components/SortableItem/index.js +5 -0
  239. package/lib/components/pisellDropSort/components/SortableItem/index.less +0 -1
  240. package/lib/components/pisellDropSort/types.d.ts +6 -0
  241. package/lib/components/pisellDropdown/index.js +72 -0
  242. package/lib/components/pisellDropdown/index.less +44 -0
  243. package/lib/components/pisellEmpty/index.js +9 -1
  244. package/lib/components/pisellGoodPassCard/index.d.ts +49 -0
  245. package/lib/components/pisellGoodPassCard/index.js +111 -0
  246. package/lib/components/pisellGoodPassCard/index.less +58 -0
  247. package/lib/components/pisellHeaderProgressBar/index.js +88 -0
  248. package/lib/components/pisellHeaderProgressBar/index.less +18 -0
  249. package/lib/components/pisellImageCarousels/index.js +108 -0
  250. package/lib/components/pisellImageCarousels/index.less +92 -0
  251. package/lib/components/pisellInformationEntry/hooks/useNativeScanner.js +75 -0
  252. package/lib/components/pisellInformationEntry/index.js +14 -9
  253. package/lib/components/pisellList01/index.js +113 -0
  254. package/lib/components/pisellList01/index.less +53 -0
  255. package/lib/components/pisellMenu/PisellMenu.d.ts +6 -4
  256. package/lib/components/pisellMenu/PisellMenu.js +1 -0
  257. package/lib/components/pisellMenu/types.d.ts +1 -0
  258. package/lib/components/pisellModal/components/MobileModal/index.less +4 -0
  259. package/lib/components/pisellNavigationMenu/PisellNavigationMenu.js +64 -9
  260. package/lib/components/pisellNavigationMenu/PisellNavigationMenu.less +14 -0
  261. package/lib/components/pisellNavigationMenu/types.d.ts +21 -0
  262. package/lib/components/pisellQrcode/index.less +0 -2
  263. package/lib/components/pisellSectionHeaders/index.js +52 -0
  264. package/lib/components/pisellSectionHeaders/index.less +46 -0
  265. package/lib/components/pisellText/components/Amount/index.js +2 -1
  266. package/lib/components/pisellWalletPassCard/index.d.ts +31 -1
  267. package/lib/components/pisellWalletPassCard/index.js +397 -23
  268. package/lib/components/pisellWalletPassCard/index.less +154 -28
  269. package/lib/components/productCard/components/Action/index.js +55 -0
  270. package/lib/components/productCard/components/Action/index.less +14 -0
  271. package/lib/components/productCard/components/AmountFooter/index.d.ts +3 -0
  272. package/lib/components/productCard/components/AmountFooter/index.js +84 -0
  273. package/lib/components/productCard/components/AmountFooter/index.less +50 -0
  274. package/lib/components/productCard/components/Divider/index.js +50 -0
  275. package/lib/components/productCard/components/Divider/index.less +13 -0
  276. package/lib/components/productCard/components/Header/DeleteButton/index.js +53 -0
  277. package/lib/components/productCard/components/Header/DeleteButton/index.less +15 -0
  278. package/lib/components/productCard/components/Header/EditButton/index.d.ts +3 -0
  279. package/lib/components/productCard/components/Header/EditButton/index.js +62 -0
  280. package/lib/components/productCard/components/Header/EditButton/index.less +26 -0
  281. package/lib/components/productCard/components/Header/index.d.ts +3 -0
  282. package/lib/components/productCard/components/Header/index.js +103 -0
  283. package/lib/components/productCard/components/Header/index.less +57 -0
  284. package/lib/components/productCard/components/MultiDay/index.js +72 -0
  285. package/lib/components/productCard/components/MultiDay/index.less +34 -0
  286. package/lib/components/productCard/components/MultiDay/utils.js +77 -0
  287. package/lib/components/productCard/components/Note/index.d.ts +3 -0
  288. package/lib/components/productCard/components/Note/index.js +56 -0
  289. package/lib/components/productCard/components/Note/index.less +20 -0
  290. package/lib/components/productCard/components/Packages/components/collapsibleList/index.d.ts +10 -0
  291. package/lib/components/productCard/components/Packages/components/collapsibleList/index.js +93 -0
  292. package/lib/components/productCard/components/Packages/components/collapsibleList/index.less +52 -0
  293. package/lib/components/productCard/components/Packages/components/collapsibleList/utils.js +54 -0
  294. package/lib/components/productCard/components/Packages/components/options/index.js +73 -0
  295. package/lib/components/productCard/components/Packages/components/options/index.less +29 -0
  296. package/lib/components/productCard/components/Packages/index.d.ts +3 -0
  297. package/lib/components/productCard/components/Packages/index.js +56 -0
  298. package/lib/components/productCard/components/Packages/index.less +17 -0
  299. package/lib/components/productCard/components/Packages/utils.d.ts +20 -0
  300. package/lib/components/productCard/components/Packages/utils.js +44 -0
  301. package/lib/components/productCard/components/Sales/index.d.ts +3 -0
  302. package/lib/components/productCard/components/Sales/index.js +61 -0
  303. package/lib/components/productCard/components/Sales/index.less +18 -0
  304. package/lib/components/productCard/components/Time/components/Like/index.js +72 -0
  305. package/lib/components/productCard/components/Time/components/Like/index.less +27 -0
  306. package/lib/components/productCard/components/Time/components/Like/like-heart.png +0 -0
  307. package/lib/components/productCard/components/Time/components/Like/like-hide-heart.png +0 -0
  308. package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +3 -0
  309. package/lib/components/productCard/components/Time/components/SelectHolder/index.js +162 -0
  310. package/lib/components/productCard/components/Time/components/SelectHolder/index.less +62 -0
  311. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +13 -0
  312. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.js +177 -0
  313. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.less +39 -0
  314. package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +2 -0
  315. package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.js +152 -0
  316. package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +18 -0
  317. package/lib/components/productCard/components/Time/components/SelectResource/index.js +124 -0
  318. package/lib/components/productCard/components/Time/components/SelectResource/index.less +20 -0
  319. package/lib/components/productCard/components/Time/index.js +203 -0
  320. package/lib/components/productCard/components/Time/index.less +56 -0
  321. package/lib/components/productCard/hooks/useOpenNote.d.ts +3 -0
  322. package/lib/components/productCard/hooks/useOpenNote.js +85 -0
  323. package/lib/components/productCard/index.d.ts +5 -0
  324. package/lib/components/productCard/index.js +207 -0
  325. package/lib/components/productCard/index.less +82 -0
  326. package/lib/components/productCard/locales.js +104 -0
  327. package/lib/components/productCard/status.js +72 -0
  328. package/lib/components/productCard/types.js +17 -0
  329. package/lib/components/productCard/utils.d.ts +31 -0
  330. package/lib/components/productCard/utils.js +142 -0
  331. package/lib/components/profileMenu/index.less +2 -5
  332. package/lib/components/record-view/index.less +0 -2
  333. package/lib/components/section-footers/index.js +44 -0
  334. package/lib/components/section-footers/index.less +5 -0
  335. package/lib/components/table/Actions/component/ExportImport/utils/index.js +31 -0
  336. package/lib/components/table/Table/fields/date/filterUtil/index.js +6 -3
  337. package/lib/components/table/Table/fields/rangePicker/filterUtil/index.js +8 -4
  338. package/lib/components/table/Table/fields/utils/index.js +2 -1
  339. package/lib/components/table/Table/utils.d.ts +1 -1
  340. package/lib/components/tabs/index.js +1 -0
  341. package/lib/components/walletCard/Guide/index.js +136 -0
  342. package/lib/components/walletCard/Guide/index.less +71 -0
  343. package/lib/components/walletCard/index.js +46 -7
  344. package/lib/components/walletCard/index.less +3 -5
  345. package/lib/hooks/useResponsive.js +6 -3
  346. package/lib/index.d.ts +11 -1
  347. package/lib/index.js +29 -1
  348. package/lib/locales/en-US.d.ts +16 -1
  349. package/lib/locales/en-US.js +18 -2
  350. package/lib/locales/zh-CN.d.ts +16 -1
  351. package/lib/locales/zh-CN.js +18 -2
  352. package/lib/locales/zh-TW.d.ts +16 -1
  353. package/lib/locales/zh-TW.js +17 -2
  354. package/lowcode/collapse/meta.ts +85 -1
  355. package/lowcode/date-picker.range-picker/meta.ts +20 -0
  356. package/lowcode/div/meta.ts +39 -4
  357. package/lowcode/pisell-card-list/meta.ts +222 -136
  358. package/lowcode/pisell-custom-checkbox-group/__screenshots__/card-1.png +0 -0
  359. package/lowcode/pisell-custom-checkbox-group/meta.ts +204 -0
  360. package/lowcode/pisell-custom-checkbox-group/snippets.ts +56 -0
  361. package/lowcode/pisell-dropdown/__screenshots__/dropdown-1.png +0 -0
  362. package/lowcode/pisell-dropdown/meta.ts +180 -0
  363. package/lowcode/pisell-dropdown/snippets.ts +69 -0
  364. package/lowcode/pisell-good-pass-card/meta.ts +38 -0
  365. package/lowcode/pisell-good-pass-card/snippets.ts +9 -0
  366. package/lowcode/pisell-header-progress-bar/meta.ts +116 -0
  367. package/lowcode/pisell-header-progress-bar/snippets.ts +24 -0
  368. package/lowcode/pisell-image-carousels/meta.ts +143 -0
  369. package/lowcode/pisell-image-carousels/snippets.ts +20 -0
  370. package/lowcode/pisell-list01/meta.ts +74 -0
  371. package/lowcode/pisell-list01/snippets.ts +35 -0
  372. package/lowcode/pisell-navigation-menu/meta.ts +12 -0
  373. package/lowcode/pisell-section-headers/meta.ts +91 -0
  374. package/lowcode/pisell-section-headers/snippets.ts +22 -0
  375. package/lowcode/pisell-wallet-pass-card/actionsMeta.ts +217 -0
  376. package/lowcode/pisell-wallet-pass-card/meta.ts +178 -129
  377. package/lowcode/product-card/meta.ts +145 -0
  378. package/lowcode/product-card/snippets.ts +36 -0
  379. package/package.json +3 -3
  380. package/es/components/appVersionControl/index.d.ts +0 -4
  381. package/es/components/badge/index.d.ts +0 -7
  382. package/es/components/buttonGroupEdit/index.d.ts +0 -8
  383. package/es/components/buttonGroupPreview/index.d.ts +0 -19
  384. package/es/components/cardPro/index.d.ts +0 -3
  385. package/es/components/cropPhoto/index.d.ts +0 -3
  386. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -38
  387. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -32
  388. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -78
  389. package/es/components/dataSourceComponents/fields/DatePicker/ReadPretty.d.ts +0 -5
  390. package/es/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -24
  391. package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -24
  392. package/es/components/dataSourceComponents/fields/Upload/serve.d.ts +0 -20
  393. package/es/components/dataSourceComponents/fields/Upload/type.d.ts +0 -37
  394. package/es/components/dataSourceComponents/hooks/usePlatform.d.ts +0 -3
  395. package/es/components/drag-sort-tree/index.d.ts +0 -4
  396. package/es/components/iconfont/index.d.ts +0 -8
  397. package/es/components/login-and-register/index.d.ts +0 -82
  398. package/es/components/page/index.d.ts +0 -5
  399. package/es/components/pisell-config-provider/index.d.ts +0 -12
  400. package/es/components/pisellAnchor/index.d.ts +0 -23
  401. package/es/components/pisellAvatar/index.d.ts +0 -19
  402. package/es/components/pisellCard/index.d.ts +0 -11
  403. package/es/components/pisellEmpty/index.d.ts +0 -18
  404. package/es/components/pisellInformationEntry/index.d.ts +0 -31
  405. package/es/components/pisellQrcode/index.d.ts +0 -10
  406. package/es/components/pisellStatisticList/index.d.ts +0 -21
  407. package/es/components/table/Actions/component/ExportImport/index.d.ts +0 -7
  408. package/es/components/table/Table/index.d.ts +0 -4
  409. package/es/components/table/hooks/useTableSetting.d.ts +0 -22
  410. package/es/components/table/types.d.ts +0 -251
  411. package/es/components/tabs/index.d.ts +0 -16
  412. package/es/components/versionModal/index.d.ts +0 -23
  413. package/es/components/walletCard/Guest/index.d.ts +0 -3
  414. package/es/components/walletCard/index.d.ts +0 -65
  415. package/lib/components/appVersionControl/index.d.ts +0 -4
  416. package/lib/components/badge/index.d.ts +0 -7
  417. package/lib/components/buttonGroupEdit/index.d.ts +0 -8
  418. package/lib/components/buttonGroupPreview/index.d.ts +0 -19
  419. package/lib/components/cardPro/index.d.ts +0 -3
  420. package/lib/components/cropPhoto/index.d.ts +0 -3
  421. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -38
  422. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -32
  423. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -78
  424. package/lib/components/dataSourceComponents/fields/DatePicker/ReadPretty.d.ts +0 -5
  425. package/lib/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -24
  426. package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -24
  427. package/lib/components/dataSourceComponents/fields/Upload/serve.d.ts +0 -20
  428. package/lib/components/dataSourceComponents/fields/Upload/type.d.ts +0 -37
  429. package/lib/components/dataSourceComponents/hooks/usePlatform.d.ts +0 -3
  430. package/lib/components/drag-sort-tree/index.d.ts +0 -4
  431. package/lib/components/iconfont/index.d.ts +0 -8
  432. package/lib/components/login-and-register/index.d.ts +0 -82
  433. package/lib/components/page/index.d.ts +0 -5
  434. package/lib/components/pisell-config-provider/index.d.ts +0 -12
  435. package/lib/components/pisellAnchor/index.d.ts +0 -23
  436. package/lib/components/pisellAvatar/index.d.ts +0 -19
  437. package/lib/components/pisellCard/index.d.ts +0 -11
  438. package/lib/components/pisellEmpty/index.d.ts +0 -18
  439. package/lib/components/pisellInformationEntry/index.d.ts +0 -31
  440. package/lib/components/pisellQrcode/index.d.ts +0 -10
  441. package/lib/components/pisellStatisticList/index.d.ts +0 -21
  442. package/lib/components/table/Actions/component/ExportImport/index.d.ts +0 -7
  443. package/lib/components/table/Table/index.d.ts +0 -4
  444. package/lib/components/table/hooks/useTableSetting.d.ts +0 -22
  445. package/lib/components/table/types.d.ts +0 -251
  446. package/lib/components/tabs/index.d.ts +0 -16
  447. package/lib/components/versionModal/index.d.ts +0 -23
  448. package/lib/components/walletCard/Guest/index.d.ts +0 -3
  449. package/lib/components/walletCard/index.d.ts +0 -65
@@ -1,9 +1,9 @@
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 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
- 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; }
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); }
2
+ 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; }
3
+ 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; }
4
4
  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
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
6
- 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); }
5
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
6
+ 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); }
7
7
  import { useMemo } from "react";
8
8
  import { isMobile } from "../../../utils/platform";
9
9
  var useTransFilterSetting = function useTransFilterSetting(params) {
@@ -78,7 +78,12 @@ var Tabs = /*#__PURE__*/function (_Component) {
78
78
  onClick: function onClick(e) {
79
79
  return props.onTabClick(item.key, e);
80
80
  }
81
- }, /*#__PURE__*/React.createElement("span", {
81
+ }, /*#__PURE__*/React.createElement(Badge, {
82
+ count: item.badge,
83
+ offset: [0, 6]
84
+ }, /*#__PURE__*/React.createElement("div", {
85
+ className: "".concat(prefix, "tab-bar-icon-wrap")
86
+ }, item.icon)), /*#__PURE__*/React.createElement("span", {
82
87
  className: "".concat(prefix, "tab-bar-label")
83
88
  }, item.label));
84
89
  }), props.extra);
@@ -1,16 +1,16 @@
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); }
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); }
2
2
  var _excluded = ["value", "onChange"];
3
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); }
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; }
4
+ 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; }
5
+ 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; }
6
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); }
7
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
8
+ 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); }
9
9
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
10
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
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
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; } }
13
+ 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; } }
14
14
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
15
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
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; }
@@ -63,8 +63,8 @@ var Translation = function Translation(props) {
63
63
  _useState4 = _slicedToArray(_useState3, 2),
64
64
  _value = _useState4[0],
65
65
  set_value = _useState4[1];
66
- var store = context === null || context === void 0 || (_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 ? void 0 : _context$appHelper.store;
67
- var _ref = (store === null || store === void 0 || (_store$getState = store.getState()) === null || _store$getState === void 0 ? void 0 : _store$getState.global) || defaultGlobal,
66
+ var store = context === null || context === void 0 ? void 0 : (_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 ? void 0 : _context$appHelper.store;
67
+ var _ref = (store === null || store === void 0 ? void 0 : (_store$getState = store.getState()) === null || _store$getState === void 0 ? void 0 : _store$getState.global) || defaultGlobal,
68
68
  shopLanguages = _ref.shopLanguages;
69
69
  useEffect(function () {
70
70
  var _newValue = _objectSpread({}, value);
@@ -101,7 +101,7 @@ var Translation = function Translation(props) {
101
101
  } else {
102
102
  newValue[currentLocale] = e || "";
103
103
  }
104
- onChange === null || onChange === void 0 || onChange(newValue);
104
+ onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
105
105
  };
106
106
  var isActive = useMemo(function () {
107
107
  var bol = false;
@@ -113,7 +113,7 @@ var Translation = function Translation(props) {
113
113
  return bol;
114
114
  }, [value, currentLocale]);
115
115
  var _onOk = function _onOk() {
116
- onChange === null || onChange === void 0 || onChange(_value);
116
+ onChange === null || onChange === void 0 ? void 0 : onChange(_value);
117
117
  setOpen(false);
118
118
  };
119
119
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Input, _extends({}, others, {
@@ -1,9 +1,9 @@
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 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
- 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; }
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); }
2
+ 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; }
3
+ 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; }
4
4
  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
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
6
- 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); }
5
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
6
+ 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); }
7
7
  export var locales = {
8
8
  en: "",
9
9
  "zh-CN": "",
@@ -0,0 +1,87 @@
1
+ import React, { useMemo } from 'react';
2
+ import useEngineContext from "../../../hooks/useEngineContext";
3
+ import Button from "../../button";
4
+ import "./index.less";
5
+ var Guide = function Guide(props) {
6
+ var _utils$translation, _utils$translation2, _utils$translation3, _utils$translation4, _utils$translation5, _setting$titleConfig, _utils$translation6, _setting$subtitleConf, _utils$translation7, _setting$buttonConfig, _utils$translation8, _setting$buttonConfig2;
7
+ var setting = props.setting;
8
+ var context = useEngineContext();
9
+ var _ref = context.appHelper || {},
10
+ utils = _ref.utils;
11
+
12
+ /**
13
+ * @title: 样式处理
14
+ * @description:
15
+ * @param {any} config
16
+ * @return {*}
17
+ * @Author: WangHan
18
+ * @Date: 2025-03-13 15:39
19
+ */
20
+ var getTextStyle = function getTextStyle(config, otherConfig) {
21
+ return {
22
+ color: (config === null || config === void 0 ? void 0 : config.color) || (otherConfig === null || otherConfig === void 0 ? void 0 : otherConfig.color) || '#fff',
23
+ fontSize: (config === null || config === void 0 ? void 0 : config.size) || (otherConfig === null || otherConfig === void 0 ? void 0 : otherConfig.size) || 14,
24
+ fontWeight: (config === null || config === void 0 ? void 0 : config.weight) || (otherConfig === null || otherConfig === void 0 ? void 0 : otherConfig.weight) || 400,
25
+ fontStyle: (config === null || config === void 0 ? void 0 : config.style) || 'normal'
26
+ };
27
+ };
28
+ var _setting = useMemo(function () {
29
+ return (setting === null || setting === void 0 ? void 0 : setting.walletGuideConfig) || {};
30
+ }, [setting === null || setting === void 0 ? void 0 : setting.walletGuideConfig]);
31
+
32
+ /**
33
+ * @title: 跳转链接
34
+ * @description:
35
+ * @return {*}
36
+ * @Author: WangHan
37
+ * @Date: 2025-06-09 14:36
38
+ */
39
+ var handleClick = function handleClick(e) {
40
+ var _setting$skipLink;
41
+ e.stopPropagation();
42
+ if (!(_setting !== null && _setting !== void 0 && (_setting$skipLink = _setting.skipLink) !== null && _setting$skipLink !== void 0 && _setting$skipLink.page)) return;
43
+ utils === null || utils === void 0 || utils.jumpPageByLink(_setting === null || _setting === void 0 ? void 0 : _setting.skipLink);
44
+ };
45
+ return /*#__PURE__*/React.createElement("div", {
46
+ className: "pisell-wallet-guide-wrap",
47
+ style: {
48
+ backgroundColor: _setting === null || _setting === void 0 ? void 0 : _setting.backgroundColor
49
+ },
50
+ onClick: function onClick(e) {
51
+ return handleClick(e);
52
+ }
53
+ }, utils !== null && utils !== void 0 && (_utils$translation = utils.translation) !== null && _utils$translation !== void 0 && _utils$translation.call(utils, _setting === null || _setting === void 0 ? void 0 : _setting.backgroundImage) ? /*#__PURE__*/React.createElement("img", {
54
+ className: "pisell-wallet-guide-bg",
55
+ src: (utils === null || utils === void 0 || (_utils$translation2 = utils.translation) === null || _utils$translation2 === void 0 ? void 0 : _utils$translation2.call(utils, _setting.backgroundImage)) || '',
56
+ alt: (utils === null || utils === void 0 || (_utils$translation3 = utils.translation) === null || _utils$translation3 === void 0 ? void 0 : _utils$translation3.call(utils, _setting === null || _setting === void 0 ? void 0 : _setting.backgroundImageAlt)) || '',
57
+ title: (utils === null || utils === void 0 || (_utils$translation4 = utils.translation) === null || _utils$translation4 === void 0 ? void 0 : _utils$translation4.call(utils, _setting === null || _setting === void 0 ? void 0 : _setting.backgroundImageAlt)) || ''
58
+ }) : null, /*#__PURE__*/React.createElement("div", {
59
+ className: "pisell-wallet-guide-content ".concat(_setting.align === 'center' ? 'pisell-wallet-guide-center' : '')
60
+ }, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
61
+ className: "pisell-wallet-guide-title",
62
+ style: getTextStyle(_setting === null || _setting === void 0 ? void 0 : _setting.titleConfig, {
63
+ size: 18,
64
+ weight: 600
65
+ })
66
+ }, (utils === null || utils === void 0 || (_utils$translation5 = utils.translation) === null || _utils$translation5 === void 0 ? void 0 : _utils$translation5.call(utils, (_setting === null || _setting === void 0 ? void 0 : _setting.title) || (_setting === null || _setting === void 0 || (_setting$titleConfig = _setting.titleConfig) === null || _setting$titleConfig === void 0 ? void 0 : _setting$titleConfig.text))) || ''), /*#__PURE__*/React.createElement("div", {
67
+ className: "pisell-wallet-guide-subtitle",
68
+ style: getTextStyle(_setting === null || _setting === void 0 ? void 0 : _setting.subtitleConfig, {
69
+ color: '#D0D5DD'
70
+ })
71
+ }, (utils === null || utils === void 0 || (_utils$translation6 = utils.translation) === null || _utils$translation6 === void 0 ? void 0 : _utils$translation6.call(utils, (_setting === null || _setting === void 0 ? void 0 : _setting.subtitle) || (_setting === null || _setting === void 0 || (_setting$subtitleConf = _setting.subtitleConfig) === null || _setting$subtitleConf === void 0 ? void 0 : _setting$subtitleConf.text))) || '')), utils !== null && utils !== void 0 && (_utils$translation7 = utils.translation) !== null && _utils$translation7 !== void 0 && _utils$translation7.call(utils, (_setting === null || _setting === void 0 ? void 0 : _setting.buttonText) || (_setting === null || _setting === void 0 || (_setting$buttonConfig = _setting.buttonConfig) === null || _setting$buttonConfig === void 0 ? void 0 : _setting$buttonConfig.text)) ? /*#__PURE__*/React.createElement("div", {
72
+ className: "pisell-wallet-guide-button-wrap"
73
+ }, /*#__PURE__*/React.createElement(Button, {
74
+ style: {
75
+ backgroundColor: (_setting === null || _setting === void 0 ? void 0 : _setting.buttonColor) || '#7F56D9',
76
+ borderColor: (_setting === null || _setting === void 0 ? void 0 : _setting.buttonBorderColor) || '#7F56D9'
77
+ },
78
+ onClick: function onClick(e) {
79
+ return handleClick(e);
80
+ }
81
+ }, /*#__PURE__*/React.createElement("div", {
82
+ style: getTextStyle(_setting === null || _setting === void 0 ? void 0 : _setting.buttonConfig, {
83
+ weight: 600
84
+ })
85
+ }, (utils === null || utils === void 0 || (_utils$translation8 = utils.translation) === null || _utils$translation8 === void 0 ? void 0 : _utils$translation8.call(utils, (_setting === null || _setting === void 0 ? void 0 : _setting.buttonText) || (_setting === null || _setting === void 0 || (_setting$buttonConfig2 = _setting.buttonConfig) === null || _setting$buttonConfig2 === void 0 ? void 0 : _setting$buttonConfig2.text))) || ''))) : null));
86
+ };
87
+ export default Guide;
@@ -0,0 +1,71 @@
1
+ .pisell-wallet-guide-wrap {
2
+ background-repeat: no-repeat;
3
+ background-position: center center;
4
+ background-size: contain;
5
+ overflow: hidden;
6
+ position: relative;
7
+ min-height: 136px;
8
+ display: flex;
9
+ padding: 16px 18px;
10
+
11
+ .pisell-wallet-guide-bg {
12
+ position: absolute;
13
+ top: 50%;
14
+ left: 50%;
15
+ transform: translate(-50%, -50%);
16
+ width: 100%;
17
+ height: 100%;
18
+ object-fit: contain;
19
+ }
20
+
21
+ .pisell-wallet-guide-content {
22
+ position: relative;
23
+ text-align: left;
24
+ display: flex;
25
+ justify-content: space-between;
26
+ flex-direction: column;
27
+ flex: 1;
28
+ width: 100%;
29
+
30
+ &.pisell-wallet-guide-center {
31
+ text-align: center;
32
+ align-items: center;
33
+ }
34
+
35
+ .pisell-wallet-guide-title {
36
+ line-height: 28px;
37
+ }
38
+
39
+ .pisell-wallet-guide-subtitle {
40
+ line-height: 20px;
41
+ }
42
+
43
+ .pisell-wallet-guide-button-wrap {
44
+ display: flex;
45
+ width: fit-content;
46
+ max-width: 100%;
47
+ }
48
+
49
+ .pisell-lowcode-btn-default {
50
+ margin-top: 8px;
51
+ display: flex;
52
+ padding: 10px 16px;
53
+ justify-content: center;
54
+ align-items: center;
55
+ background: transparent;
56
+ border-color: transparent;
57
+ border-radius: 8px;
58
+ border: 1px solid var(--Primary-600, #7f56d9);
59
+ background: var(--Primary-600, #7f56d9);
60
+ box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
61
+ max-width: 100%;
62
+ width: auto;
63
+ > div {
64
+ max-width: 100%;
65
+ white-space: nowrap;
66
+ overflow: hidden;
67
+ text-overflow: ellipsis;
68
+ }
69
+ }
70
+ }
71
+ }
@@ -24,6 +24,7 @@ import PisellModal from "./../pisellModal";
24
24
  import Amount from "./../pisellText/components/Amount";
25
25
  import useEngineContext from "../../hooks/useEngineContext";
26
26
  import Guest from "./Guest";
27
+ import Guide from "./Guide";
27
28
  import "./index.less";
28
29
 
29
30
  // 添加JSX类型声明
@@ -76,13 +77,34 @@ var toBooleanValue = function toBooleanValue(value) {
76
77
  };
77
78
 
78
79
  // 自定义钩子:处理二维码/条形码模态框
79
- var useCodeModal = function useCodeModal(cardNo, onCodeClick) {
80
+ var useCodeModal = function useCodeModal(cardNo, onCodeClick, codeType) {
81
+ var _context$appHelper;
80
82
  var _useState = useState(false),
81
83
  _useState2 = _slicedToArray(_useState, 2),
82
84
  isModalOpen = _useState2[0],
83
85
  setIsModalOpen = _useState2[1];
86
+ var context = useEngineContext();
87
+ var _ref = ((_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 ? void 0 : _context$appHelper.utils) || {},
88
+ interaction = _ref.interaction;
84
89
  var handleCodeClick = function handleCodeClick(e) {
90
+ var _interaction$utils, _interaction$utils$is;
85
91
  e.stopPropagation();
92
+ if (interaction !== null && interaction !== void 0 && (_interaction$utils = interaction.utils) !== null && _interaction$utils !== void 0 && (_interaction$utils$is = _interaction$utils.isAppEnv) !== null && _interaction$utils$is !== void 0 && _interaction$utils$is.call(_interaction$utils)) {
93
+ var _interaction$utils2, _interaction$utils2$p;
94
+ var typeMap = {
95
+ orCode: 'qrCode',
96
+ barCode: 'barCode'
97
+ };
98
+ interaction === null || interaction === void 0 || (_interaction$utils2 = interaction.utils) === null || _interaction$utils2 === void 0 || (_interaction$utils2$p = _interaction$utils2.postMessageToApp) === null || _interaction$utils2$p === void 0 || _interaction$utils2$p.call(_interaction$utils2, {
99
+ module: 'global',
100
+ key: 'openCodeModal',
101
+ data: {
102
+ type: typeMap[codeType] || codeType,
103
+ value: cardNo
104
+ }
105
+ });
106
+ return;
107
+ }
86
108
  if (onCodeClick) {
87
109
  onCodeClick();
88
110
  } else {
@@ -101,32 +123,32 @@ var useCodeModal = function useCodeModal(cardNo, onCodeClick) {
101
123
  };
102
124
 
103
125
  // 子组件:卡片头部
104
- var CardHeader = function CardHeader(_ref) {
105
- var _ref$showIcon = _ref.showIcon,
106
- showIcon = _ref$showIcon === void 0 ? true : _ref$showIcon,
107
- _ref$showWalletName = _ref.showWalletName,
108
- showWalletName = _ref$showWalletName === void 0 ? true : _ref$showWalletName,
109
- _ref$showShopName = _ref.showShopName,
110
- showShopName = _ref$showShopName === void 0 ? true : _ref$showShopName,
111
- _ref$showCardNo = _ref.showCardNo,
112
- showCardNo = _ref$showCardNo === void 0 ? true : _ref$showCardNo,
113
- _ref$showCode = _ref.showCode,
114
- showCode = _ref$showCode === void 0 ? true : _ref$showCode,
115
- iconImg = _ref.iconImg,
116
- mode = _ref.mode,
117
- _ref$walletName = _ref.walletName,
118
- walletName = _ref$walletName === void 0 ? 'Level' : _ref$walletName,
119
- _ref$shopName = _ref.shopName,
120
- shopName = _ref$shopName === void 0 ? 'Store name' : _ref$shopName,
121
- _ref$cardNo = _ref.cardNo,
122
- cardNo = _ref$cardNo === void 0 ? 'Wallet number' : _ref$cardNo,
123
- _ref$cardStyle = _ref.cardStyle,
124
- cardStyle = _ref$cardStyle === void 0 ? 'normal' : _ref$cardStyle,
125
- _ref$codeType = _ref.codeType,
126
- codeType = _ref$codeType === void 0 ? 'barCode' : _ref$codeType,
127
- onCodeClick = _ref.onCodeClick,
128
- _ref$isLogin = _ref.isLogin,
129
- isLogin = _ref$isLogin === void 0 ? false : _ref$isLogin;
126
+ var CardHeader = function CardHeader(_ref2) {
127
+ var _ref2$showIcon = _ref2.showIcon,
128
+ showIcon = _ref2$showIcon === void 0 ? true : _ref2$showIcon,
129
+ _ref2$showWalletName = _ref2.showWalletName,
130
+ showWalletName = _ref2$showWalletName === void 0 ? true : _ref2$showWalletName,
131
+ _ref2$showShopName = _ref2.showShopName,
132
+ showShopName = _ref2$showShopName === void 0 ? true : _ref2$showShopName,
133
+ _ref2$showCardNo = _ref2.showCardNo,
134
+ showCardNo = _ref2$showCardNo === void 0 ? true : _ref2$showCardNo,
135
+ _ref2$showCode = _ref2.showCode,
136
+ showCode = _ref2$showCode === void 0 ? true : _ref2$showCode,
137
+ iconImg = _ref2.iconImg,
138
+ mode = _ref2.mode,
139
+ _ref2$walletName = _ref2.walletName,
140
+ walletName = _ref2$walletName === void 0 ? 'Level' : _ref2$walletName,
141
+ _ref2$shopName = _ref2.shopName,
142
+ shopName = _ref2$shopName === void 0 ? 'Store name' : _ref2$shopName,
143
+ _ref2$cardNo = _ref2.cardNo,
144
+ cardNo = _ref2$cardNo === void 0 ? 'Wallet number' : _ref2$cardNo,
145
+ _ref2$cardStyle = _ref2.cardStyle,
146
+ cardStyle = _ref2$cardStyle === void 0 ? 'normal' : _ref2$cardStyle,
147
+ _ref2$codeType = _ref2.codeType,
148
+ codeType = _ref2$codeType === void 0 ? 'barCode' : _ref2$codeType,
149
+ onCodeClick = _ref2.onCodeClick,
150
+ _ref2$isLogin = _ref2.isLogin,
151
+ isLogin = _ref2$isLogin === void 0 ? false : _ref2$isLogin;
130
152
  // 处理可能为0/1的布尔值
131
153
  var processedShowIcon = toBooleanValue(showIcon);
132
154
  var processedShowWalletName = toBooleanValue(showWalletName);
@@ -165,9 +187,9 @@ var CardHeader = function CardHeader(_ref) {
165
187
  };
166
188
 
167
189
  // 子组件:卡片内容项
168
- var CardItem = function CardItem(_ref2) {
169
- var item = _ref2.item,
170
- symbol = _ref2.symbol;
190
+ var CardItem = function CardItem(_ref3) {
191
+ var item = _ref3.item,
192
+ symbol = _ref3.symbol;
171
193
  var key = item.key,
172
194
  label = item.label,
173
195
  value = item.value;
@@ -188,9 +210,9 @@ var CardItem = function CardItem(_ref2) {
188
210
  };
189
211
 
190
212
  // 子组件:卡片内容
191
- var CardContent = function CardContent(_ref3) {
192
- var items = _ref3.items,
193
- symbol = _ref3.symbol;
213
+ var CardContent = function CardContent(_ref4) {
214
+ var items = _ref4.items,
215
+ symbol = _ref4.symbol;
194
216
  // 定义期望的顺序
195
217
  var expectedOrder = ['piont', 'balance', 'discount', 'voucher'];
196
218
 
@@ -218,9 +240,9 @@ var CardContent = function CardContent(_ref3) {
218
240
  };
219
241
 
220
242
  // 子组件:二维码/条形码显示
221
- var CodeDisplay = function CodeDisplay(_ref4) {
222
- var codeType = _ref4.codeType,
223
- cardNo = _ref4.cardNo;
243
+ var CodeDisplay = function CodeDisplay(_ref5) {
244
+ var codeType = _ref5.codeType,
245
+ cardNo = _ref5.cardNo;
224
246
  if (!cardNo) return null;
225
247
  return /*#__PURE__*/React.createElement("div", {
226
248
  className: "pisell-wallet-card-code"
@@ -250,12 +272,12 @@ var blockEvent = function blockEvent(e) {
250
272
  };
251
273
 
252
274
  // 子组件:二维码/条形码模态框
253
- var CodeModal = function CodeModal(_ref5) {
254
- var isOpen = _ref5.isOpen,
255
- onClose = _ref5.onClose,
256
- codeType = _ref5.codeType,
257
- cardNo = _ref5.cardNo,
258
- platform = _ref5.platform;
275
+ var CodeModal = function CodeModal(_ref6) {
276
+ var isOpen = _ref6.isOpen,
277
+ onClose = _ref6.onClose,
278
+ codeType = _ref6.codeType,
279
+ cardNo = _ref6.cardNo,
280
+ platform = _ref6.platform;
259
281
  return /*#__PURE__*/React.createElement(PisellModal, {
260
282
  title: getText(codeType === 'barCode' ? 'walletCard-barcode' : 'walletCard-qrcode'),
261
283
  platform: platform,
@@ -290,6 +312,7 @@ var CodeModal = function CodeModal(_ref5) {
290
312
 
291
313
  // 主组件
292
314
  var WalletCard = function WalletCard(props) {
315
+ var _props$walletGuideCon2;
293
316
  var mergedProps = _objectSpread(_objectSpread({}, DEFAULT_PROPS), props);
294
317
  var symbol = mergedProps.symbol,
295
318
  mode = mergedProps.mode,
@@ -306,7 +329,8 @@ var WalletCard = function WalletCard(props) {
306
329
  onCodeClick = mergedProps.onCodeClick,
307
330
  onClick = mergedProps.onClick,
308
331
  className = mergedProps.className,
309
- style = mergedProps.style;
332
+ style = mergedProps.style,
333
+ isGuide = mergedProps.isGuide;
310
334
 
311
335
  // 处理可能为0/1的布尔值props
312
336
  var showIcon = toBooleanValue(mergedProps.showIcon);
@@ -316,10 +340,10 @@ var WalletCard = function WalletCard(props) {
316
340
  var showCode = toBooleanValue(mergedProps.showCode);
317
341
  var isLogin = toBooleanValue(mergedProps.isLogin);
318
342
  var context = useEngineContext();
319
- var _ref6 = context.appHelper || {},
320
- utils = _ref6.utils;
343
+ var _ref7 = context.appHelper || {},
344
+ utils = _ref7.utils;
321
345
  // 使用自定义钩子处理模态框逻辑
322
- var _useCodeModal = useCodeModal(cardNo, onCodeClick),
346
+ var _useCodeModal = useCodeModal(cardNo, onCodeClick, codeType),
323
347
  isModalOpen = _useCodeModal.isModalOpen,
324
348
  handleCodeClick = _useCodeModal.handleCodeClick,
325
349
  closeModal = _useCodeModal.closeModal;
@@ -331,12 +355,23 @@ var WalletCard = function WalletCard(props) {
331
355
  backgroundImage: "url(".concat(props.customBackgroundImage, ")")
332
356
  };
333
357
  } else {
358
+ var _props$walletGuideCon;
359
+ // 如果游客和引导页设置了背景色,则不展示背景图
360
+ if (props !== null && props !== void 0 && (_props$walletGuideCon = props.walletGuideConfig) !== null && _props$walletGuideCon !== void 0 && _props$walletGuideCon.backgroundColor && isGuide || props !== null && props !== void 0 && props.backgroundColor && !isLogin) {
361
+ return {
362
+ backgroundImage: 'none'
363
+ };
364
+ }
334
365
  return {
335
366
  backgroundImage: "url(https://file.mypisell-dev.com/pisel/image/9/".concat(mode === 'dark' ? '3d039c83ff5b84fadafb8a23c33d6cc42025_02_26_00_42_53_288_08413160975__720_456__' : '61dcbe950c9451164a6bb1d17d5bc5f02025_02_26_00_43_42_741_04853453608__720_456__', ".png)")
336
367
  };
337
368
  }
338
- }, [props.customBackgroundImage, mode]);
369
+ }, [props.customBackgroundImage, mode, props === null || props === void 0 || (_props$walletGuideCon2 = props.walletGuideConfig) === null || _props$walletGuideCon2 === void 0 ? void 0 : _props$walletGuideCon2.backgroundColor, props === null || props === void 0 ? void 0 : props.backgroundColor, isLogin, isGuide]);
339
370
  var goWallet = function goWallet() {
371
+ // 未开启任何一个wallet pass展示,则不跳转
372
+ if (!(items !== null && items !== void 0 && items.length)) {
373
+ return;
374
+ }
340
375
  utils === null || utils === void 0 || utils.action({
341
376
  type: 'pisell1.goWallet',
342
377
  data: {},
@@ -360,9 +395,9 @@ var WalletCard = function WalletCard(props) {
360
395
  flexDirection: codeDirection === 'top' ? 'column-reverse' : 'column'
361
396
  }
362
397
  }, /*#__PURE__*/React.createElement("div", {
363
- className: classNames('pisell-wallet-card-content', mode, !isLogin && 'pisell-wallet-card-guest-content'),
398
+ className: classNames('pisell-wallet-card-content', mode, (!isLogin || isGuide) && 'pisell-wallet-card-guest-content'),
364
399
  style: backgroundStyle
365
- }, isLogin ? /*#__PURE__*/React.createElement("div", {
400
+ }, isLogin ? !isGuide ? /*#__PURE__*/React.createElement("div", {
366
401
  onClick: function onClick() {
367
402
  goWallet();
368
403
  }
@@ -384,7 +419,9 @@ var WalletCard = function WalletCard(props) {
384
419
  }), /*#__PURE__*/React.createElement(CardContent, {
385
420
  items: items,
386
421
  symbol: symbol
387
- })) : /*#__PURE__*/React.createElement(Guest, {
422
+ })) : /*#__PURE__*/React.createElement(Guide, {
423
+ setting: props
424
+ }) : /*#__PURE__*/React.createElement(Guest, {
388
425
  setting: props
389
426
  })), cardStyle === 'full' && isLogin && /*#__PURE__*/React.createElement("div", {
390
427
  className: classNames('pisell-wallet-card-showCode', codeDirection === 'top' ? 'code-top' : 'code-bottom')
@@ -20,7 +20,7 @@
20
20
 
21
21
  // 暗色主题
22
22
  &.dark {
23
- background-color: #000;
23
+ background-color: transparent;
24
24
 
25
25
  .pisell-wallet-card-header-left {
26
26
  color: #fff;
@@ -39,7 +39,7 @@
39
39
 
40
40
  // 亮色主题
41
41
  &.light {
42
- background-color: #fff;
42
+ background-color: transparent;
43
43
 
44
44
  .pisell-wallet-card-header-left {
45
45
  color: #101828;
@@ -210,7 +210,6 @@
210
210
 
211
211
  text {
212
212
  fill: #000;
213
- font-family: Inter;
214
213
  font-size: 12px;
215
214
  font-style: normal;
216
215
  font-weight: 400;
@@ -223,7 +222,6 @@
223
222
  // 二维码下方文本样式
224
223
  .pisell-wallet-card-code-qrcode-value {
225
224
  color: #000;
226
- font-family: Inter;
227
225
  font-size: 12px;
228
226
  text-align: center;
229
227
  font-style: normal;
@@ -240,7 +238,7 @@
240
238
 
241
239
  // 二维码模态框
242
240
  .pisell-qrcode-modal {
243
- .pisell-qrcode-modal-content{
241
+ .pisell-qrcode-modal-content {
244
242
  pointer-events: auto;
245
243
  touch-action: none;
246
244
  overscroll-behavior: none;
@@ -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(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; } }
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; } }
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(_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; } } }; }
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; } } }; }
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
@@ -1,4 +1,4 @@
1
- export { Affix, Alert, Anchor, Avatar, Breadcrumb, Card, Carousel, Col, Collapse, ColorPicker, Descriptions, Divider, Empty, Grid, InputNumber, Mentions, Menu, Pagination, Popconfirm, Popover, Progress, Rate, Result, Row, Space, Spin, Statistic, Steps, Switch, Tag, Timeline, Tooltip, Transfer, Tree, message, notification, version, } from 'antd';
1
+ export { Affix, Alert, Anchor, Avatar, Breadcrumb, Card, Carousel, Col, ColorPicker, Descriptions, Divider, Empty, Grid, InputNumber, Mentions, Menu, Pagination, Popconfirm, Popover, Progress, Rate, Result, Row, Space, Spin, Statistic, Steps, Switch, Tag, Timeline, Tooltip, Transfer, Tree, message, notification, version, } from 'antd';
2
2
  export { default as AutoComplete } from './components/auto-complete';
3
3
  export { default as AutoCompleteNumber } from './components/auto-complete-number';
4
4
  export { default as Badge } from './components/badge';
@@ -129,3 +129,13 @@ export { default as PisellNavigationMenu } from './components/pisellNavigationMe
129
129
  export { default as PisellAppCard } from './components/pisellAppCard';
130
130
  export type { PisellAppCardProps } from './components/pisellAppCard/types';
131
131
  export { default as BaseTranslation } from './components/dataSourceComponents/fields/Translation/BaseTranslation';
132
+ export { default as PisellCustomCheckboxGroup } from './components/pisellCustomCheckboxGroup';
133
+ export { default as PisellDropdown } from './components/pisellDropdown';
134
+ export { default as PisellSectionHeaders } from './components/pisellSectionHeaders';
135
+ export { default as PisellImageCarousels } from './components/pisellImageCarousels';
136
+ export { default as PisellHeaderProgressBar } from './components/pisellHeaderProgressBar';
137
+ export { default as PisellList01 } from './components/pisellList01';
138
+ export { default as SectionFooters } from './components/section-footers';
139
+ export { default as ProductCard } from './components/productCard';
140
+ export { default as Collapse } from './components/collapse';
141
+ export { default as PisellGoodPassCard } from './components/pisellGoodPassCard';