@pisell/materials 2.2.13 → 2.2.14

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 (342) hide show
  1. package/build/lowcode/assets-daily.json +13 -13
  2. package/build/lowcode/assets-dev.json +4 -4
  3. package/build/lowcode/assets-prod.json +13 -13
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +2 -2
  6. package/build/lowcode/preview.js +142 -142
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +29 -27
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +22 -20
  11. package/es/components/button/index.d.ts +4 -3
  12. package/es/components/button/index.js +14 -3
  13. package/es/components/iconfont/index.d.ts +2 -1
  14. package/es/components/iconfont/index.js +1 -1
  15. package/es/components/page/index.css +0 -0
  16. package/es/components/page/index.d.ts +2 -2
  17. package/es/components/page/index.js +226 -186
  18. package/es/components/pisell-config-provider/context.d.ts +20 -0
  19. package/es/components/pisell-config-provider/context.js +36 -0
  20. package/es/components/pisell-config-provider/hooks/usePisellConfig.d.ts +5 -0
  21. package/es/components/pisell-config-provider/hooks/usePisellConfig.js +11 -0
  22. package/es/components/pisell-config-provider/index.d.ts +12 -0
  23. package/es/components/pisell-config-provider/index.js +36 -0
  24. package/es/components/pisellAlert/index.d.ts +22 -0
  25. package/es/components/pisellAlert/index.js +73 -0
  26. package/es/components/pisellAlert/index.less +149 -0
  27. package/es/components/pisellCard/index.d.ts +12 -0
  28. package/es/components/pisellCard/index.js +16 -0
  29. package/es/components/pisellCard/index.less +9 -0
  30. package/es/components/pisellCardList/index.d.ts +43 -0
  31. package/es/components/pisellCardList/index.js +72 -0
  32. package/es/components/pisellCardList/index.less +75 -0
  33. package/es/components/pisellCheckboxGroup/index.d.ts +34 -0
  34. package/es/components/pisellCheckboxGroup/index.js +173 -0
  35. package/es/components/pisellCheckboxGroup/index.less +36 -0
  36. package/es/components/pisellCheckboxGroup/mock.d.ts +4 -0
  37. package/es/components/pisellCheckboxGroup/mock.js +16 -0
  38. package/es/components/pisellContainer/components/Portal/index.d.ts +10 -0
  39. package/es/components/pisellContainer/components/Portal/index.js +7 -0
  40. package/es/components/pisellContainer/containers.d.ts +1 -0
  41. package/es/components/pisellContainer/containers.js +8 -0
  42. package/es/components/pisellContainer/index.d.ts +22 -0
  43. package/es/components/pisellContainer/index.js +19 -0
  44. package/es/components/pisellCountdown/index.d.ts +24 -0
  45. package/es/components/pisellCountdown/index.js +44 -0
  46. package/es/components/pisellCountdown/utils.d.ts +7 -0
  47. package/es/components/pisellCountdown/utils.js +50 -0
  48. package/es/components/pisellDatePicker/datePickerCpt.d.ts +22 -0
  49. package/es/components/pisellDatePicker/datePickerCpt.js +191 -0
  50. package/es/components/pisellDatePicker/detePickerCpt.less +22 -0
  51. package/es/components/pisellDatePicker/index.d.ts +3 -0
  52. package/es/components/pisellDatePicker/index.js +17 -0
  53. package/es/components/pisellEmpty/index.d.ts +16 -0
  54. package/es/components/pisellEmpty/index.js +38 -0
  55. package/es/components/pisellEmpty/index.less +34 -0
  56. package/es/components/pisellInformationEntry/Input/index.d.ts +8 -0
  57. package/es/components/pisellInformationEntry/Input/index.js +50 -0
  58. package/es/components/pisellInformationEntry/Input/index.less +14 -0
  59. package/es/components/pisellInformationEntry/Scan/index.d.ts +8 -0
  60. package/es/components/pisellInformationEntry/Scan/index.js +25 -0
  61. package/es/components/pisellInformationEntry/Scan/index.less +8 -0
  62. package/es/components/pisellInformationEntry/constants.d.ts +3 -0
  63. package/es/components/pisellInformationEntry/constants.js +21 -0
  64. package/es/components/pisellInformationEntry/index.d.ts +31 -0
  65. package/es/components/pisellInformationEntry/index.js +188 -0
  66. package/es/components/pisellInformationEntry/index.less +40 -0
  67. package/es/components/pisellInformationEntry/utils.d.ts +4 -0
  68. package/es/components/pisellInformationEntry/utils.js +38 -0
  69. package/es/components/pisellInput/components/BankCard/cardPng/AMEX.png +0 -0
  70. package/es/components/pisellInput/components/BankCard/cardPng/Discover.png +0 -0
  71. package/es/components/pisellInput/components/BankCard/cardPng/JCB.png +0 -0
  72. package/es/components/pisellInput/components/BankCard/cardPng/MasterCard.png +0 -0
  73. package/es/components/pisellInput/components/BankCard/cardPng/UnionPay.png +0 -0
  74. package/es/components/pisellInput/components/BankCard/cardPng/VISA.png +0 -0
  75. package/es/components/pisellInput/components/BankCard/index.d.ts +11 -0
  76. package/es/components/pisellInput/components/BankCard/index.js +82 -0
  77. package/es/components/pisellInput/components/BankCard/index.less +4 -0
  78. package/es/components/pisellInput/components/BankCard/utils.d.ts +11 -0
  79. package/es/components/pisellInput/components/BankCard/utils.js +65 -0
  80. package/es/components/pisellInput/components/Copy/index.d.ts +11 -0
  81. package/es/components/pisellInput/components/Copy/index.js +53 -0
  82. package/es/components/pisellInput/components/SecurityCode/card.png +0 -0
  83. package/es/components/pisellInput/components/SecurityCode/index.d.ts +12 -0
  84. package/es/components/pisellInput/components/SecurityCode/index.js +46 -0
  85. package/es/components/pisellInput/components/SecurityCode/index.less +4 -0
  86. package/es/components/pisellInput/index.d.ts +13 -0
  87. package/es/components/pisellInput/index.js +15 -0
  88. package/es/components/pisellLoading/index.d.ts +18 -0
  89. package/es/components/pisellLoading/index.js +45 -0
  90. package/es/components/pisellLoading/index.less +35 -0
  91. package/es/components/pisellMessage/index.d.ts +4 -0
  92. package/es/components/pisellMessage/index.js +5 -0
  93. package/es/components/pisellModal/components/Information/index.d.ts +21 -0
  94. package/es/components/pisellModal/components/Information/index.js +25 -0
  95. package/es/components/pisellModal/components/Information/index.less +16 -0
  96. package/es/components/pisellModal/components/IpadModal/index.d.ts +6 -0
  97. package/es/components/pisellModal/components/IpadModal/index.js +6 -0
  98. package/es/components/pisellModal/components/MobileModal/index.d.ts +9 -0
  99. package/es/components/pisellModal/components/MobileModal/index.js +27 -0
  100. package/es/components/pisellModal/components/MobileModal/index.less +60 -0
  101. package/es/components/pisellModal/components/PcModal/index.d.ts +30 -0
  102. package/es/components/pisellModal/components/PcModal/index.js +129 -0
  103. package/es/components/pisellModal/components/PcModal/index.less +105 -0
  104. package/es/components/pisellModal/components/functions/index.d.ts +12 -0
  105. package/es/components/pisellModal/components/functions/index.js +44 -0
  106. package/es/components/pisellModal/components/functions/index.less +25 -0
  107. package/es/components/pisellModal/components/index.d.ts +10 -0
  108. package/es/components/pisellModal/components/index.js +9 -0
  109. package/es/components/pisellModal/constants.d.ts +6 -0
  110. package/es/components/pisellModal/constants.js +6 -0
  111. package/es/components/pisellModal/index.d.ts +43 -0
  112. package/es/components/pisellModal/index.js +30 -0
  113. package/es/components/pisellRow/index.d.ts +22 -0
  114. package/es/components/pisellRow/index.js +67 -0
  115. package/es/components/pisellRow/index.less +13 -0
  116. package/es/components/pisellScan/index.d.ts +21 -0
  117. package/es/components/pisellScan/index.js +80 -0
  118. package/es/components/pisellScan/index.less +12 -0
  119. package/es/components/pisellText/components/Amount/index.d.ts +18 -0
  120. package/es/components/pisellText/components/Amount/index.js +25 -0
  121. package/es/components/pisellText/index.d.ts +8 -0
  122. package/es/components/pisellText/index.js +7 -0
  123. package/es/components/pisellToast/index.d.ts +16 -0
  124. package/es/components/pisellToast/index.js +32 -0
  125. package/es/components/pisellToast/index.less +26 -0
  126. package/es/components/pisellTooltip/index.d.ts +10 -0
  127. package/es/components/pisellTooltip/index.js +15 -0
  128. package/es/components/pisellTooltip/index.less +5 -0
  129. package/es/components/pisellWalletPassCard/bg.jpeg +0 -0
  130. package/es/components/pisellWalletPassCard/index.d.ts +54 -0
  131. package/es/components/pisellWalletPassCard/index.js +93 -0
  132. package/es/components/pisellWalletPassCard/index.less +100 -0
  133. package/es/hooks/useCssVariables.d.ts +8 -0
  134. package/es/hooks/useCssVariables.js +21 -0
  135. package/es/index.d.ts +23 -0
  136. package/es/index.js +26 -1
  137. package/es/locales/en-US.d.ts +9 -0
  138. package/es/locales/en-US.js +13 -1
  139. package/es/locales/index.js +3 -1
  140. package/es/locales/zh-CN.d.ts +9 -0
  141. package/es/locales/zh-CN.js +13 -1
  142. package/es/locales/zh-TW.d.ts +9 -0
  143. package/es/locales/zh-TW.js +13 -1
  144. package/es/utils/index.d.ts +1 -0
  145. package/es/utils/index.js +15 -1
  146. package/es/utils/locale.js +2 -1
  147. package/lib/components/button/index.d.ts +4 -3
  148. package/lib/components/button/index.js +13 -9
  149. package/lib/components/iconfont/index.d.ts +2 -1
  150. package/lib/components/iconfont/index.js +1 -1
  151. package/lib/components/page/index.css +0 -0
  152. package/lib/components/page/index.d.ts +2 -2
  153. package/lib/components/page/index.js +201 -161
  154. package/lib/components/pisell-config-provider/context.d.ts +20 -0
  155. package/lib/components/pisell-config-provider/context.js +49 -0
  156. package/lib/components/pisell-config-provider/hooks/usePisellConfig.d.ts +5 -0
  157. package/lib/components/pisell-config-provider/hooks/usePisellConfig.js +31 -0
  158. package/lib/components/pisell-config-provider/index.d.ts +12 -0
  159. package/lib/components/pisell-config-provider/index.js +69 -0
  160. package/lib/components/pisellAlert/index.d.ts +22 -0
  161. package/lib/components/pisellAlert/index.js +95 -0
  162. package/lib/components/pisellAlert/index.less +149 -0
  163. package/lib/components/pisellCard/index.d.ts +12 -0
  164. package/lib/components/pisellCard/index.js +48 -0
  165. package/lib/components/pisellCard/index.less +9 -0
  166. package/lib/components/pisellCardList/index.d.ts +43 -0
  167. package/lib/components/pisellCardList/index.js +108 -0
  168. package/lib/components/pisellCardList/index.less +75 -0
  169. package/lib/components/pisellCheckboxGroup/index.d.ts +34 -0
  170. package/lib/components/pisellCheckboxGroup/index.js +150 -0
  171. package/lib/components/pisellCheckboxGroup/index.less +36 -0
  172. package/lib/components/pisellCheckboxGroup/mock.d.ts +4 -0
  173. package/lib/components/pisellCheckboxGroup/mock.js +35 -0
  174. package/lib/components/pisellContainer/components/Portal/index.d.ts +10 -0
  175. package/lib/components/pisellContainer/components/Portal/index.js +40 -0
  176. package/lib/components/pisellContainer/containers.d.ts +1 -0
  177. package/lib/components/pisellContainer/containers.js +46 -0
  178. package/lib/components/pisellContainer/index.d.ts +22 -0
  179. package/lib/components/pisellContainer/index.js +49 -0
  180. package/lib/components/pisellCountdown/index.d.ts +24 -0
  181. package/lib/components/pisellCountdown/index.js +63 -0
  182. package/lib/components/pisellCountdown/utils.d.ts +7 -0
  183. package/lib/components/pisellCountdown/utils.js +60 -0
  184. package/lib/components/pisellDatePicker/datePickerCpt.d.ts +22 -0
  185. package/lib/components/pisellDatePicker/datePickerCpt.js +157 -0
  186. package/lib/components/pisellDatePicker/detePickerCpt.less +22 -0
  187. package/lib/components/pisellDatePicker/index.d.ts +3 -0
  188. package/lib/components/pisellDatePicker/index.js +48 -0
  189. package/lib/components/pisellEmpty/index.d.ts +16 -0
  190. package/lib/components/pisellEmpty/index.js +61 -0
  191. package/lib/components/pisellEmpty/index.less +34 -0
  192. package/lib/components/pisellInformationEntry/Input/index.d.ts +8 -0
  193. package/lib/components/pisellInformationEntry/Input/index.js +56 -0
  194. package/lib/components/pisellInformationEntry/Input/index.less +14 -0
  195. package/lib/components/pisellInformationEntry/Scan/index.d.ts +8 -0
  196. package/lib/components/pisellInformationEntry/Scan/index.js +64 -0
  197. package/lib/components/pisellInformationEntry/Scan/index.less +8 -0
  198. package/lib/components/pisellInformationEntry/constants.d.ts +3 -0
  199. package/lib/components/pisellInformationEntry/constants.js +49 -0
  200. package/lib/components/pisellInformationEntry/index.d.ts +31 -0
  201. package/lib/components/pisellInformationEntry/index.js +162 -0
  202. package/lib/components/pisellInformationEntry/index.less +40 -0
  203. package/lib/components/pisellInformationEntry/utils.d.ts +4 -0
  204. package/lib/components/pisellInformationEntry/utils.js +40 -0
  205. package/lib/components/pisellInput/components/BankCard/cardPng/AMEX.png +0 -0
  206. package/lib/components/pisellInput/components/BankCard/cardPng/Discover.png +0 -0
  207. package/lib/components/pisellInput/components/BankCard/cardPng/JCB.png +0 -0
  208. package/lib/components/pisellInput/components/BankCard/cardPng/MasterCard.png +0 -0
  209. package/lib/components/pisellInput/components/BankCard/cardPng/UnionPay.png +0 -0
  210. package/lib/components/pisellInput/components/BankCard/cardPng/VISA.png +0 -0
  211. package/lib/components/pisellInput/components/BankCard/index.d.ts +11 -0
  212. package/lib/components/pisellInput/components/BankCard/index.js +98 -0
  213. package/lib/components/pisellInput/components/BankCard/index.less +4 -0
  214. package/lib/components/pisellInput/components/BankCard/utils.d.ts +11 -0
  215. package/lib/components/pisellInput/components/BankCard/utils.js +103 -0
  216. package/lib/components/pisellInput/components/Copy/index.d.ts +11 -0
  217. package/lib/components/pisellInput/components/Copy/index.js +61 -0
  218. package/lib/components/pisellInput/components/SecurityCode/card.png +0 -0
  219. package/lib/components/pisellInput/components/SecurityCode/index.d.ts +12 -0
  220. package/lib/components/pisellInput/components/SecurityCode/index.js +74 -0
  221. package/lib/components/pisellInput/components/SecurityCode/index.less +4 -0
  222. package/lib/components/pisellInput/index.d.ts +13 -0
  223. package/lib/components/pisellInput/index.js +46 -0
  224. package/lib/components/pisellLoading/index.d.ts +18 -0
  225. package/lib/components/pisellLoading/index.js +69 -0
  226. package/lib/components/pisellLoading/index.less +35 -0
  227. package/lib/components/pisellMessage/index.d.ts +4 -0
  228. package/lib/components/pisellMessage/index.js +34 -0
  229. package/lib/components/pisellModal/components/Information/index.d.ts +21 -0
  230. package/lib/components/pisellModal/components/Information/index.js +54 -0
  231. package/lib/components/pisellModal/components/Information/index.less +16 -0
  232. package/lib/components/pisellModal/components/IpadModal/index.d.ts +6 -0
  233. package/lib/components/pisellModal/components/IpadModal/index.js +40 -0
  234. package/lib/components/pisellModal/components/MobileModal/index.d.ts +9 -0
  235. package/lib/components/pisellModal/components/MobileModal/index.js +67 -0
  236. package/lib/components/pisellModal/components/MobileModal/index.less +60 -0
  237. package/lib/components/pisellModal/components/PcModal/index.d.ts +30 -0
  238. package/lib/components/pisellModal/components/PcModal/index.js +143 -0
  239. package/lib/components/pisellModal/components/PcModal/index.less +105 -0
  240. package/lib/components/pisellModal/components/functions/index.d.ts +12 -0
  241. package/lib/components/pisellModal/components/functions/index.js +90 -0
  242. package/lib/components/pisellModal/components/functions/index.less +25 -0
  243. package/lib/components/pisellModal/components/index.d.ts +10 -0
  244. package/lib/components/pisellModal/components/index.js +52 -0
  245. package/lib/components/pisellModal/constants.d.ts +6 -0
  246. package/lib/components/pisellModal/constants.js +33 -0
  247. package/lib/components/pisellModal/index.d.ts +43 -0
  248. package/lib/components/pisellModal/index.js +63 -0
  249. package/lib/components/pisellRow/index.d.ts +22 -0
  250. package/lib/components/pisellRow/index.js +82 -0
  251. package/lib/components/pisellRow/index.less +13 -0
  252. package/lib/components/pisellScan/index.d.ts +21 -0
  253. package/lib/components/pisellScan/index.js +100 -0
  254. package/lib/components/pisellScan/index.less +12 -0
  255. package/lib/components/pisellText/components/Amount/index.d.ts +18 -0
  256. package/lib/components/pisellText/components/Amount/index.js +64 -0
  257. package/lib/components/pisellText/index.d.ts +8 -0
  258. package/lib/components/pisellText/index.js +41 -0
  259. package/lib/components/pisellToast/index.d.ts +16 -0
  260. package/lib/components/pisellToast/index.js +59 -0
  261. package/lib/components/pisellToast/index.less +26 -0
  262. package/lib/components/pisellTooltip/index.d.ts +10 -0
  263. package/lib/components/pisellTooltip/index.js +53 -0
  264. package/lib/components/pisellTooltip/index.less +5 -0
  265. package/lib/components/pisellWalletPassCard/bg.jpeg +0 -0
  266. package/lib/components/pisellWalletPassCard/index.d.ts +54 -0
  267. package/lib/components/pisellWalletPassCard/index.js +101 -0
  268. package/lib/components/pisellWalletPassCard/index.less +100 -0
  269. package/lib/hooks/useCssVariables.d.ts +8 -0
  270. package/lib/hooks/useCssVariables.js +36 -0
  271. package/lib/index.d.ts +23 -0
  272. package/lib/index.js +71 -0
  273. package/lib/locales/en-US.d.ts +9 -0
  274. package/lib/locales/en-US.js +13 -1
  275. package/lib/locales/index.js +3 -1
  276. package/lib/locales/zh-CN.d.ts +9 -0
  277. package/lib/locales/zh-CN.js +13 -1
  278. package/lib/locales/zh-TW.d.ts +9 -0
  279. package/lib/locales/zh-TW.js +13 -1
  280. package/lib/utils/index.d.ts +1 -0
  281. package/lib/utils/index.js +16 -0
  282. package/lib/utils/locale.js +2 -1
  283. package/lowcode/_utils/transform-meta.ts +31 -10
  284. package/lowcode/button/__screenshots__/pisell-modal-information.png +0 -0
  285. package/lowcode/button/meta.ts +30 -0
  286. package/lowcode/button/snippets.ts +28 -0
  287. package/lowcode/information-modal/meta.ts +1931 -0
  288. package/lowcode/modal/meta.ts +1 -1
  289. package/lowcode/page/meta.ts +8 -1
  290. package/lowcode/pisell-alert/meta.ts +117 -0
  291. package/lowcode/pisell-alert/snippets.ts +50 -0
  292. package/lowcode/pisell-card/__screenshots__/card-1.png +0 -0
  293. package/lowcode/pisell-card/meta.ts +100 -0
  294. package/lowcode/pisell-card/snippets.ts +10 -0
  295. package/lowcode/pisell-card-list/meta.ts +145 -0
  296. package/lowcode/pisell-card-list/snippets.ts +9 -0
  297. package/lowcode/pisell-checkbox-group/meta.ts +112 -0
  298. package/lowcode/pisell-checkbox-group/snippets.ts +13 -0
  299. package/lowcode/pisell-container/meta.ts +71 -0
  300. package/lowcode/pisell-container/snippets.ts +14 -0
  301. package/lowcode/pisell-countdown/meta.ts +71 -0
  302. package/lowcode/pisell-countdown/snippets.ts +12 -0
  303. package/lowcode/pisell-date-picker/meta.ts +76 -0
  304. package/lowcode/pisell-date-picker/snippets.ts +9 -0
  305. package/lowcode/pisell-empty/__screenshots__/empty-1.png +0 -0
  306. package/lowcode/pisell-empty/meta.ts +85 -0
  307. package/lowcode/pisell-empty/snippets.ts +10 -0
  308. package/lowcode/pisell-information-entry/meta.ts +131 -0
  309. package/lowcode/pisell-information-entry/snippets.ts +17 -0
  310. package/lowcode/pisell-input/__screenshots__/input-1.png +0 -0
  311. package/lowcode/pisell-input/meta.ts +193 -0
  312. package/lowcode/pisell-input/snippets.ts +11 -0
  313. package/lowcode/pisell-input.bank-card-input/__screenshots__/pisell-input.bank-card-input.png +0 -0
  314. package/lowcode/pisell-input.bank-card-input/meta.ts +62 -0
  315. package/lowcode/pisell-input.bank-card-input/snippets.ts +11 -0
  316. package/lowcode/pisell-input.copy/meta.ts +73 -0
  317. package/lowcode/pisell-input.copy/snippets.ts +10 -0
  318. package/lowcode/pisell-input.security-code/__screenshots__/pisell-input.security-code.png +0 -0
  319. package/lowcode/pisell-input.security-code/meta.ts +92 -0
  320. package/lowcode/pisell-input.security-code/snippets.ts +11 -0
  321. package/lowcode/pisell-loading/meta.ts +98 -0
  322. package/lowcode/pisell-loading/snippets.ts +11 -0
  323. package/lowcode/pisell-modal/__screenshots__/modal-1.png +0 -0
  324. package/lowcode/pisell-modal/__screenshots__/modal-2.png +0 -0
  325. package/lowcode/pisell-modal/meta.ts +200 -0
  326. package/lowcode/pisell-modal/snippets.ts +38 -0
  327. package/lowcode/pisell-modal.information/__screenshots__/pisell-modal.information.png +0 -0
  328. package/lowcode/pisell-modal.information/meta.ts +116 -0
  329. package/lowcode/pisell-modal.information/snippets.ts +17 -0
  330. package/lowcode/pisell-row/meta.ts +127 -0
  331. package/lowcode/pisell-row/snippets.ts +24 -0
  332. package/lowcode/pisell-scan/meta.ts +53 -0
  333. package/lowcode/pisell-scan/snippets.ts +13 -0
  334. package/lowcode/pisell-text/meta.ts +8117 -0
  335. package/lowcode/pisell-text.amount/meta.ts +61 -0
  336. package/lowcode/pisell-text.amount/snippets.ts +15 -0
  337. package/lowcode/pisell-tooltip/__screenshots__/tooltip-1.jpg +0 -0
  338. package/lowcode/pisell-tooltip/meta.ts +306 -0
  339. package/lowcode/pisell-tooltip/snippets.ts +12 -0
  340. package/lowcode/pisell-wallet-pass-card/meta.ts +189 -0
  341. package/lowcode/pisell-wallet-pass-card/snippets.ts +20 -0
  342. package/package.json +4 -3
@@ -0,0 +1,101 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+
29
+ // src/components/pisellWalletPassCard/index.tsx
30
+ var pisellWalletPassCard_exports = {};
31
+ __export(pisellWalletPassCard_exports, {
32
+ default: () => pisellWalletPassCard_default
33
+ });
34
+ module.exports = __toCommonJS(pisellWalletPassCard_exports);
35
+ var import_react = __toESM(require("react"));
36
+ var import_classnames = __toESM(require("classnames"));
37
+ var import_qrcode = __toESM(require("../qrcode"));
38
+ var import_iconfont = __toESM(require("../iconfont"));
39
+ var import_Amount = __toESM(require("../pisellText/components/Amount"));
40
+ var import_index = require("./index.less");
41
+ var import_locales = require("../../locales");
42
+ var PisellWalletPassCard = (props) => {
43
+ const {
44
+ id,
45
+ code,
46
+ qrCode,
47
+ balance,
48
+ disabledReason,
49
+ name,
50
+ storeName,
51
+ redeem,
52
+ validDate,
53
+ disabled,
54
+ active,
55
+ cover,
56
+ balanceTitle,
57
+ redeemTitle,
58
+ showCover = true,
59
+ showDetail = true,
60
+ showBalance = true,
61
+ showRedeem = true,
62
+ showName = true,
63
+ showCode = true,
64
+ showStoreName = true,
65
+ showValidDate = true,
66
+ showQrCode = true,
67
+ showBalanceSymbol = true
68
+ } = props;
69
+ return /* @__PURE__ */ import_react.default.createElement(
70
+ "div",
71
+ {
72
+ className: (0, import_classnames.default)("pisell-wallet-pass-card", {
73
+ "pisell-card-disabled": disabled
74
+ }),
75
+ style: showCover ? {
76
+ backgroundImage: `url('${cover || "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/4gHYSUNDX1BST0ZJTEUAAQEAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAAAAAAAAAAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAACRyWFlaAAABFAAAABRnWFlaAAABKAAAABRiWFlaAAABPAAAABR3dHB0AAABUAAAABRyVFJDAAABZAAAAChnVFJDAAABZAAAAChiVFJDAAABZAAAAChjcHJ0AAABjAAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAHMAUgBHAEJYWVogAAAAAAAAb6IAADj1AAADkFhZWiAAAAAAAABimQAAt4UAABjaWFlaIAAAAAAAACSgAAAPhAAAts9YWVogAAAAAAAA9tYAAQAAAADTLXBhcmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9AAAApbAAAAAAAAAABtbHVjAAAAAAAAAAEAAAAMZW5VUwAAACAAAAAcAEcAbwBvAGcAbABlACAASQBuAGMALgAgADIAMAAxADb/2wBDAAIBAQEBAQIBAQECAgICAgQDAgICAgUEBAMEBgUGBgYFBgYGBwkIBgcJBwYGCAsICQoKCgoKBggLDAsKDAkKCgr/2wBDAQICAgICAgUDAwUKBwYHCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgo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ervMSuWgAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAh/wARRP8AlWS9etLVtHwmF1Zi1YtE8pjkm4zWLcK1ET+qmWmitNtFhtPWcVZn5LwagIAAI+P45ycIzxXrWsW+UxKrDkjLirlj71Ynkz4hWL6DPW3ScVv4S54TabcMwTb9VEfuXgoAQAATcZxd9wvPSP1cz8uf5NNDl7/RYc2+/axVn9zTJWt8dqWjlMTEo/8AD1ptwbBNp8Jj/tK8FoCAADPWYfpGky4Ijft47RHv2Y8Ezd/wrBfyx9mfhy/JUg4D6OLUYa+rj1d61jyheC8BAAAmItExMbxMc4QcBmcelyaG0+lp81qfDfeJ/evQaee7/wAQajHTlGTBW9o9sTsvBeAgAAILT9A43Fp5Y9XXaZ8IvH9YXov8QUi3C75d5i2KYvS0eExKwWjjTZLZtNjy262pEzt7naAAAAAAAAAAAAAAAAAAAgrP0/jk233x6Om0e29v7LNTkth02TLXrWkzG/uS8Ax1pwymXnNsszfJaeszMqLQEAABDx+05NNj0NZ56jNWnw33mVyDUfWf4gwUvzjHgtese2Z2WC+IiI2iIiNuWwCAAAl41mjBwrPffrSaxt5zy/NUh4/zw6fFPq5NXSto845/0WbFWjw/R9JiwbbdjHWJ98Q0BAAAZa7L3OizZd9uzjtMfJqi/wAQ2tTg+eaz4RHzmIWbGnBsXc8LwU8e7ifnzUvMdYpjrSvSIiIep0AAHObJGLFbJP3azO7pPxa004ZqLVnn3Nv4EGfAKTj4RhiZ6xMz8ZmVjHh9YpoMFaxyjFX+ENigAA8tMVrNp6RHN6y10zXRZrRPOMVtvkCb/DsT/lOO9ut5taf/AOpXJeDRFeFaeI/VwqW7ABAAAAAAAAAAAAAAAAAAB//Z"}')`
77
+ } : {}
78
+ },
79
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-card-name-wrap" }, /* @__PURE__ */ import_react.default.createElement("span", null, showName && name), showDetail && /* @__PURE__ */ import_react.default.createElement("span", null, (0, import_locales.getText)("pisell-wallet-pass-card-detail"))),
80
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-card-store-name" }, showStoreName && storeName),
81
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-card-amount-wrap" }, showRedeem && !disabled && /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-card-amount-item" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-card-amount-item-label" }, redeemTitle || (0, import_locales.getText)("pisell-wallet-pass-card-redeem")), /* @__PURE__ */ import_react.default.createElement(
82
+ import_Amount.default,
83
+ {
84
+ className: "pisell-card-amount-item-value",
85
+ useThousandsSeparator: true,
86
+ value: redeem
87
+ }
88
+ )), showBalance && /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-card-amount-item" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-card-amount-item-label" }, balanceTitle || (0, import_locales.getText)("pisell-wallet-pass-card-balance"), disabled ? ": " : ""), /* @__PURE__ */ import_react.default.createElement(
89
+ import_Amount.default,
90
+ {
91
+ className: "pisell-card-amount-item-value",
92
+ useThousandsSeparator: true,
93
+ value: balance,
94
+ showCurrencySymbol: showBalanceSymbol
95
+ }
96
+ ))),
97
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-card-code-wrap" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-card-code" }, showCode && /* @__PURE__ */ import_react.default.createElement("div", null, code), showValidDate && /* @__PURE__ */ import_react.default.createElement("div", null, (0, import_locales.getText)("pisell-wallet-pass-card-valid-to"), " ", validDate)), showQrCode && /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-card-qr-code" }, /* @__PURE__ */ import_react.default.createElement(import_qrcode.default, { value: qrCode, preview: true, size: 60 }))),
98
+ (disabled || disabledReason) && /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-card-warn-message" }, /* @__PURE__ */ import_react.default.createElement(import_iconfont.default, { className: "pisell-card-icon", type: "pisell2-alert-circle" }), /* @__PURE__ */ import_react.default.createElement("span", null, disabledReason))
99
+ );
100
+ };
101
+ var pisellWalletPassCard_default = PisellWalletPassCard;
@@ -0,0 +1,100 @@
1
+ .pisell-wallet-pass-card {
2
+ padding: 16px;
3
+ color: var(--Gray-900, #101828);
4
+ font-size: 14px;
5
+ font-style: normal;
6
+ position: relative;
7
+ overflow: hidden;
8
+ border-radius: 12px;
9
+ background-size: cover;
10
+ height: 190px;
11
+ .pisell-card-name-wrap {
12
+ display: flex;
13
+ justify-content: space-between;
14
+ font-weight: 500;
15
+ line-height: 20px;
16
+ }
17
+ .pisell-card-store-name {
18
+ height: 20px;
19
+ font-size: 12px;
20
+ font-weight: 400;
21
+ line-height: 18px; /* 150% */
22
+ margin-bottom: 22px;
23
+ }
24
+ .pisell-card-amount-wrap {
25
+ display: flex;
26
+ margin-bottom: 4px;
27
+ .pisell-card-amount-item {
28
+ display: flex;
29
+ flex-direction: column;
30
+ margin-right: 16px;
31
+ .pisell-card-amount-item-label {
32
+ color: var(--Gray-500, #667085);
33
+ font-weight: 400;
34
+ line-height: 20px;
35
+ height: 20px;
36
+ }
37
+ .pisell-card-amount-item-value {
38
+ font-size: 20px;
39
+ font-weight: 600;
40
+ line-height: 30px;
41
+ }
42
+ }
43
+ }
44
+ .pisell-card-code-wrap {
45
+ display: flex;
46
+ justify-content: space-between;
47
+ position: relative;
48
+ .pisell-card-code {
49
+ line-height: 20px;
50
+ display: flex;
51
+ flex-direction: column;
52
+ gap: 2px;
53
+ }
54
+ .pisell-card-qr-code {
55
+ position: absolute;
56
+ top: -16px;
57
+ right: -6px;
58
+ .pisell-lowcode-qrcode-wrap {
59
+ .pisell-lowcode-qrcode {
60
+ background: rgba(255,255,255,0.8) !important;
61
+ }
62
+ }
63
+ }
64
+ }
65
+ .pisell-lowcode-qrcode {
66
+ padding: 6px;
67
+ }
68
+ .pisell-card-warn-message {
69
+ position: absolute;
70
+ bottom: 0;
71
+ width: 100%;
72
+ left: 0;
73
+ background: var(--Warning-200, #FEDF89);
74
+ display: flex;
75
+ padding: 10px 16px;
76
+ color: var(--Gray-900, #101828);
77
+ font-weight: 600;
78
+ line-height: 20px;
79
+ .pisell-card-icon {
80
+ font-size: 20px;
81
+ color: #DC6803;
82
+ margin-right: 6px;
83
+ }
84
+ }
85
+ }
86
+ .pisell-card-disabled {
87
+ color: var(--Gray-500, #667085);
88
+ padding-bottom: 36px;
89
+ .pisell-card-amount-wrap {
90
+ .pisell-card-amount-item {
91
+ flex-direction: row;
92
+ align-items: center;
93
+ .pisell-card-amount-item-value {
94
+ font-size: 14px;
95
+ font-weight: 400;
96
+ line-height: 20px;
97
+ }
98
+ }
99
+ }
100
+ }
@@ -0,0 +1,8 @@
1
+ interface Props {
2
+ variables: {
3
+ [key: string]: string;
4
+ };
5
+ ref: any;
6
+ }
7
+ declare const useCssVariables: (props: Props) => void;
8
+ export default useCssVariables;
@@ -0,0 +1,36 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+
19
+ // src/hooks/useCssVariables.ts
20
+ var useCssVariables_exports = {};
21
+ __export(useCssVariables_exports, {
22
+ default: () => useCssVariables_default
23
+ });
24
+ module.exports = __toCommonJS(useCssVariables_exports);
25
+ var import_react = require("react");
26
+ var useCssVariables = (props) => {
27
+ const { variables, ref } = props;
28
+ (0, import_react.useEffect)(() => {
29
+ if (!ref)
30
+ return;
31
+ Object.entries(variables).forEach(([key, value]) => {
32
+ ref.current.style.setProperty(key, value);
33
+ });
34
+ }, [variables, ref]);
35
+ };
36
+ var useCssVariables_default = useCssVariables;
package/lib/index.d.ts CHANGED
@@ -79,3 +79,26 @@ export { default as SelectTime } from './components/select-time';
79
79
  export { default as AutoCompleteNumber } from './components/auto-complete-number';
80
80
  export { default as BatchEditor } from './components/batch-editor';
81
81
  export { default as DragSortTree } from './components/drag-sort-tree';
82
+ export { default as PisellModal } from './components/pisellModal';
83
+ export { default as PisellRow } from './components/pisellRow';
84
+ export { default as PisellConfigProvider } from './components/pisell-config-provider';
85
+ export { default as PisellCountdown } from './components/pisellCountdown';
86
+ export { default as PisellInput } from './components/pisellInput';
87
+ export { getBankCardTypeImg } from './components/pisellInput/components/BankCard/utils';
88
+ export { default as PisellCheckboxGroup } from './components/pisellCheckboxGroup';
89
+ export { default as PisellDatePicker } from './components/pisellDatePicker';
90
+ export { default as PisellTooltip } from './components/pisellTooltip';
91
+ export { default as PisellEmpty } from './components/pisellEmpty';
92
+ export { default as Iconfont } from './components/iconfont';
93
+ export { default as PisellContainer } from './components/pisellContainer';
94
+ export { default as PisellText } from './components/pisellText';
95
+ export { default as PisellLoading } from './components/pisellLoading';
96
+ export { default as PisellCardList } from './components/pisellCardList';
97
+ export { default as PisellToast } from './components/pisellToast';
98
+ export { default as PisellWalletPassCard } from './components/pisellWalletPassCard';
99
+ export { default as PisellScan } from './components/pisellScan';
100
+ export { default as PisellAlert } from './components/pisellAlert';
101
+ export { default as PisellCard } from './components/pisellCard';
102
+ export { default as PisellInformationEntry } from './components/pisellInformationEntry';
103
+ export { default as usePisellConfig } from './components/pisell-config-provider/hooks/usePisellConfig';
104
+ export { globalConfig, default as PisellContext } from './components/pisell-config-provider/context';
package/lib/index.js CHANGED
@@ -61,6 +61,7 @@ __export(src_exports, {
61
61
  Form: () => import_form.default,
62
62
  Grid: () => import_antd14.Grid,
63
63
  Icon: () => import_icon.default,
64
+ Iconfont: () => import_iconfont.default,
64
65
  Image: () => import_antd15.Image,
65
66
  Input: () => import_input.default,
66
67
  InputNumber: () => import_antd16.InputNumber,
@@ -72,6 +73,26 @@ __export(src_exports, {
72
73
  Modal: () => import_modal.default,
73
74
  Page: () => import_page.default,
74
75
  Pagination: () => import_antd22.Pagination,
76
+ PisellAlert: () => import_pisellAlert.default,
77
+ PisellCard: () => import_pisellCard.default,
78
+ PisellCardList: () => import_pisellCardList.default,
79
+ PisellCheckboxGroup: () => import_pisellCheckboxGroup.default,
80
+ PisellConfigProvider: () => import_pisell_config_provider.default,
81
+ PisellContainer: () => import_pisellContainer.default,
82
+ PisellContext: () => import_context.default,
83
+ PisellCountdown: () => import_pisellCountdown.default,
84
+ PisellDatePicker: () => import_pisellDatePicker.default,
85
+ PisellEmpty: () => import_pisellEmpty.default,
86
+ PisellInformationEntry: () => import_pisellInformationEntry.default,
87
+ PisellInput: () => import_pisellInput.default,
88
+ PisellLoading: () => import_pisellLoading.default,
89
+ PisellModal: () => import_pisellModal.default,
90
+ PisellRow: () => import_pisellRow.default,
91
+ PisellScan: () => import_pisellScan.default,
92
+ PisellText: () => import_pisellText.default,
93
+ PisellToast: () => import_pisellToast.default,
94
+ PisellTooltip: () => import_pisellTooltip.default,
95
+ PisellWalletPassCard: () => import_pisellWalletPassCard.default,
75
96
  Popconfirm: () => import_antd23.Popconfirm,
76
97
  Popover: () => import_antd24.Popover,
77
98
  Progress: () => import_antd25.Progress,
@@ -107,8 +128,11 @@ __export(src_exports, {
107
128
  Upload: () => import_upload.default,
108
129
  VirtualKeyboard: () => import_virtual_keyboard.default,
109
130
  VirtualKeyboardTime: () => import_Time.default,
131
+ getBankCardTypeImg: () => import_utils.getBankCardTypeImg,
132
+ globalConfig: () => import_context.globalConfig,
110
133
  message: () => import_antd17.message,
111
134
  notification: () => import_antd21.notification,
135
+ usePisellConfig: () => import_usePisellConfig.default,
112
136
  version: () => import_antd38.version
113
137
  });
114
138
  module.exports = __toCommonJS(src_exports);
@@ -193,6 +217,29 @@ var import_select_time = __toESM(require("./components/select-time"));
193
217
  var import_auto_complete_number = __toESM(require("./components/auto-complete-number"));
194
218
  var import_batch_editor = __toESM(require("./components/batch-editor"));
195
219
  var import_drag_sort_tree = __toESM(require("./components/drag-sort-tree"));
220
+ var import_pisellModal = __toESM(require("./components/pisellModal"));
221
+ var import_pisellRow = __toESM(require("./components/pisellRow"));
222
+ var import_pisell_config_provider = __toESM(require("./components/pisell-config-provider"));
223
+ var import_pisellCountdown = __toESM(require("./components/pisellCountdown"));
224
+ var import_pisellInput = __toESM(require("./components/pisellInput"));
225
+ var import_utils = require("./components/pisellInput/components/BankCard/utils");
226
+ var import_pisellCheckboxGroup = __toESM(require("./components/pisellCheckboxGroup"));
227
+ var import_pisellDatePicker = __toESM(require("./components/pisellDatePicker"));
228
+ var import_pisellTooltip = __toESM(require("./components/pisellTooltip"));
229
+ var import_pisellEmpty = __toESM(require("./components/pisellEmpty"));
230
+ var import_iconfont = __toESM(require("./components/iconfont"));
231
+ var import_pisellContainer = __toESM(require("./components/pisellContainer"));
232
+ var import_pisellText = __toESM(require("./components/pisellText"));
233
+ var import_pisellLoading = __toESM(require("./components/pisellLoading"));
234
+ var import_pisellCardList = __toESM(require("./components/pisellCardList"));
235
+ var import_pisellToast = __toESM(require("./components/pisellToast"));
236
+ var import_pisellWalletPassCard = __toESM(require("./components/pisellWalletPassCard"));
237
+ var import_pisellScan = __toESM(require("./components/pisellScan"));
238
+ var import_pisellAlert = __toESM(require("./components/pisellAlert"));
239
+ var import_pisellCard = __toESM(require("./components/pisellCard"));
240
+ var import_pisellInformationEntry = __toESM(require("./components/pisellInformationEntry"));
241
+ var import_usePisellConfig = __toESM(require("./components/pisell-config-provider/hooks/usePisellConfig"));
242
+ var import_context = __toESM(require("./components/pisell-config-provider/context"));
196
243
  // Annotate the CommonJS export names for ESM import in node:
197
244
  0 && (module.exports = {
198
245
  Affix,
@@ -227,6 +274,7 @@ var import_drag_sort_tree = __toESM(require("./components/drag-sort-tree"));
227
274
  Form,
228
275
  Grid,
229
276
  Icon,
277
+ Iconfont,
230
278
  Image,
231
279
  Input,
232
280
  InputNumber,
@@ -238,6 +286,26 @@ var import_drag_sort_tree = __toESM(require("./components/drag-sort-tree"));
238
286
  Modal,
239
287
  Page,
240
288
  Pagination,
289
+ PisellAlert,
290
+ PisellCard,
291
+ PisellCardList,
292
+ PisellCheckboxGroup,
293
+ PisellConfigProvider,
294
+ PisellContainer,
295
+ PisellContext,
296
+ PisellCountdown,
297
+ PisellDatePicker,
298
+ PisellEmpty,
299
+ PisellInformationEntry,
300
+ PisellInput,
301
+ PisellLoading,
302
+ PisellModal,
303
+ PisellRow,
304
+ PisellScan,
305
+ PisellText,
306
+ PisellToast,
307
+ PisellTooltip,
308
+ PisellWalletPassCard,
241
309
  Popconfirm,
242
310
  Popover,
243
311
  Progress,
@@ -273,7 +341,10 @@ var import_drag_sort_tree = __toESM(require("./components/drag-sort-tree"));
273
341
  Upload,
274
342
  VirtualKeyboard,
275
343
  VirtualKeyboardTime,
344
+ getBankCardTypeImg,
345
+ globalConfig,
276
346
  message,
277
347
  notification,
348
+ usePisellConfig,
278
349
  version
279
350
  });
@@ -97,5 +97,14 @@ declare const _default: {
97
97
  'table-action-export-import-log-copy': string;
98
98
  'table-action-export-import-table-success-copy': string;
99
99
  'drag-sort-tree-unavailable-today-tip': string;
100
+ 'pisell-input-copy-success': string;
101
+ 'pisell-input-copy': string;
102
+ 'pisell-empty-description-no-data': string;
103
+ 'pisell-information-entry-input-search': string;
104
+ 'pisell-information-entry-scan-exit': string;
105
+ 'pisell-wallet-pass-card-detail': string;
106
+ 'pisell-wallet-pass-card-redeem': string;
107
+ 'pisell-wallet-pass-card-balance': string;
108
+ 'pisell-wallet-pass-card-valid-to': string;
100
109
  };
101
110
  export default _default;
@@ -124,5 +124,17 @@ var en_US_default = {
124
124
  "table-action-export-import-log-err-log": "Failure Log",
125
125
  "table-action-export-import-log-copy": "Copy",
126
126
  "table-action-export-import-table-success-copy": "Copy Success",
127
- "drag-sort-tree-unavailable-today-tip": "Unavailable today"
127
+ "drag-sort-tree-unavailable-today-tip": "Unavailable today",
128
+ "pisell-input-copy-success": "Copy Success",
129
+ "pisell-input-copy": "Copy",
130
+ // 空状态
131
+ "pisell-empty-description-no-data": "No Data",
132
+ // 信息录入组件
133
+ "pisell-information-entry-input-search": "Search",
134
+ "pisell-information-entry-scan-exit": "Exit",
135
+ // 钱包卡片组件
136
+ "pisell-wallet-pass-card-detail": "Detail",
137
+ "pisell-wallet-pass-card-redeem": "Redeem",
138
+ "pisell-wallet-pass-card-balance": "Balance",
139
+ "pisell-wallet-pass-card-valid-to": "Valid to"
128
140
  };
@@ -39,7 +39,9 @@ var import_locale = require("../utils/locale");
39
39
  var langMap = {
40
40
  "zh-CN": import_zh_CN.default,
41
41
  "en-US": import_en_US.default,
42
- "zh-TW": import_zh_TW.default
42
+ "zh-TW": import_zh_TW.default,
43
+ "zh-HK": import_zh_TW.default,
44
+ "en": import_en_US.default
43
45
  };
44
46
  var getText = (id) => {
45
47
  if (!id) {
@@ -97,5 +97,14 @@ declare const _default: {
97
97
  'table-action-export-import-log-copy': string;
98
98
  'table-action-export-import-table-success-copy': string;
99
99
  'drag-sort-tree-unavailable-today-tip': string;
100
+ 'pisell-input-copy-success': string;
101
+ 'pisell-input-copy': string;
102
+ 'pisell-empty-description-no-data': string;
103
+ 'pisell-information-entry-input-search': string;
104
+ 'pisell-information-entry-scan-exit': string;
105
+ 'pisell-wallet-pass-card-detail': string;
106
+ 'pisell-wallet-pass-card-redeem': string;
107
+ 'pisell-wallet-pass-card-balance': string;
108
+ 'pisell-wallet-pass-card-valid-to': string;
100
109
  };
101
110
  export default _default;
@@ -124,5 +124,17 @@ var zh_CN_default = {
124
124
  "table-action-export-import-log-err-log": "失败日志",
125
125
  "table-action-export-import-log-copy": "复制",
126
126
  "table-action-export-import-table-success-copy": "复制成功",
127
- "drag-sort-tree-unavailable-today-tip": "今日不可用"
127
+ "drag-sort-tree-unavailable-today-tip": "今日不可用",
128
+ "pisell-input-copy-success": "复制成功",
129
+ "pisell-input-copy": "复制",
130
+ // 空状态
131
+ "pisell-empty-description-no-data": "暂无数据",
132
+ // 信息录入组件
133
+ "pisell-information-entry-input-search": "搜索",
134
+ "pisell-information-entry-scan-exit": "退出",
135
+ // 钱包卡片组件
136
+ "pisell-wallet-pass-card-detail": "详情",
137
+ "pisell-wallet-pass-card-redeem": "兑换",
138
+ "pisell-wallet-pass-card-balance": "余额",
139
+ "pisell-wallet-pass-card-valid-to": "有效期至"
128
140
  };
@@ -97,5 +97,14 @@ declare const _default: {
97
97
  'table-action-export-import-log-copy': string;
98
98
  'table-action-export-import-table-success-copy': string;
99
99
  'drag-sort-tree-unavailable-today-tip': string;
100
+ 'pisell-input-copy-success': string;
101
+ 'pisell-input-copy': string;
102
+ 'pisell-empty-description-no-data': string;
103
+ 'pisell-information-entry-input-search': string;
104
+ 'pisell-information-entry-scan-exit': string;
105
+ 'pisell-wallet-pass-card-detail': string;
106
+ 'pisell-wallet-pass-card-redeem': string;
107
+ 'pisell-wallet-pass-card-balance': string;
108
+ 'pisell-wallet-pass-card-valid-to': string;
100
109
  };
101
110
  export default _default;
@@ -124,5 +124,17 @@ var zh_TW_default = {
124
124
  "table-action-export-import-log-err-log": "失敗日誌",
125
125
  "table-action-export-import-log-copy": "復製",
126
126
  "table-action-export-import-table-success-copy": "復製成功",
127
- "drag-sort-tree-unavailable-today-tip": "今日不可用"
127
+ "drag-sort-tree-unavailable-today-tip": "今日不可用",
128
+ "pisell-input-copy-success": "復製成功",
129
+ "pisell-input-copy": "復製",
130
+ // 空状态
131
+ "pisell-empty-description-no-data": "暫無數據",
132
+ // 信息录入组件
133
+ "pisell-information-entry-input-search": "搜索",
134
+ "pisell-information-entry-scan-exit": "退出",
135
+ // 钱包卡片组件
136
+ "pisell-wallet-pass-card-detail": "詳情",
137
+ "pisell-wallet-pass-card-redeem": "兌換",
138
+ "pisell-wallet-pass-card-balance": "餘額",
139
+ "pisell-wallet-pass-card-valid-to": "有效期至"
128
140
  };
@@ -1 +1,2 @@
1
1
  export declare const isBrowser: boolean;
2
+ export declare const getCssNumber: (val: string | number) => string;
@@ -19,11 +19,27 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
19
19
  // src/utils/index.ts
20
20
  var utils_exports = {};
21
21
  __export(utils_exports, {
22
+ getCssNumber: () => getCssNumber,
22
23
  isBrowser: () => isBrowser
23
24
  });
24
25
  module.exports = __toCommonJS(utils_exports);
26
+ var import_utils = require("@pisell/utils");
25
27
  var isBrowser = !!(typeof window !== "undefined" && window.document && window.document.createElement);
28
+ var getCssNumber = (val) => {
29
+ if ((0, import_utils.isNumber)(val)) {
30
+ return `${val}px`;
31
+ } else if ((0, import_utils.isString)(val)) {
32
+ const trimVal = val.trim();
33
+ if (!Number.isNaN(Number(trimVal))) {
34
+ return `${val}px`;
35
+ }
36
+ return val;
37
+ } else {
38
+ return val;
39
+ }
40
+ };
26
41
  // Annotate the CommonJS export names for ESM import in node:
27
42
  0 && (module.exports = {
43
+ getCssNumber,
28
44
  isBrowser
29
45
  });
@@ -22,8 +22,9 @@ __export(locale_exports, {
22
22
  getCurrentLocale: () => getCurrentLocale
23
23
  });
24
24
  module.exports = __toCommonJS(locale_exports);
25
+ var import_context = require("../components/pisell-config-provider/context");
25
26
  var getCurrentLocale = () => {
26
- const locale = localStorage.getItem("umi_locale") || "en-US";
27
+ const locale = import_context.globalConfig.getConfig().locale || localStorage.getItem("umi_locale") || "en-US";
27
28
  return locale;
28
29
  };
29
30
  // Annotate the CommonJS export names for ESM import in node: