@pisell/materials 1.0.931 → 1.0.933

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 (328) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/preview.js +8 -8
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +14 -14
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +14 -14
  11. package/es/components/auto-complete-number/index.d.ts +0 -1
  12. package/es/components/auto-resize-text/auto-text-size-standalone.d.ts +20 -0
  13. package/es/components/auto-resize-text/auto-text-size-standalone.js +258 -0
  14. package/es/components/auto-resize-text/index.d.ts +6 -0
  15. package/es/components/auto-resize-text/index.js +40 -0
  16. package/es/components/badge/index.d.ts +0 -1
  17. package/es/components/batch-editor/fields/index.d.ts +0 -1
  18. package/es/components/batch-editor/index.d.ts +1 -0
  19. package/es/components/calendar/index.d.ts +0 -1
  20. package/es/components/checkbox/index.d.ts +0 -1
  21. package/es/components/classicLayout/index.d.ts +0 -1
  22. package/es/components/colorPicker/index.d.ts +0 -1
  23. package/es/components/config-provider/index.d.ts +0 -1
  24. package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
  25. package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -1
  26. package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +0 -1
  27. package/es/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +0 -1
  28. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +0 -1
  29. package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -0
  30. package/es/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +0 -1
  31. package/es/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +0 -1
  32. package/es/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +0 -1
  33. package/es/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +0 -1
  34. package/es/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +0 -1
  35. package/es/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +0 -1
  36. package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +0 -1
  37. package/es/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +0 -1
  38. package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  39. package/es/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +0 -1
  40. package/es/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +0 -1
  41. package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
  42. package/es/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +0 -1
  43. package/es/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +0 -1
  44. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  45. package/es/components/dataSourceComponents/fields/index.d.ts +8 -8
  46. package/es/components/dropdown/index.d.ts +0 -1
  47. package/es/components/filter/components/items/index.d.ts +0 -1
  48. package/es/components/filter/components/items/text/Editor/index.d.ts +0 -1
  49. package/es/components/filter/components/items/text/Preview/index.d.ts +0 -1
  50. package/es/components/filter/components/items/text/index.d.ts +0 -1
  51. package/es/components/keyboard/index.d.ts +22 -0
  52. package/es/components/keyboard/index.js +159 -0
  53. package/es/components/keyboard/index.less +43 -0
  54. package/es/components/list/index.d.ts +1 -0
  55. package/es/components/lowCodePage/index.d.ts +0 -1
  56. package/es/components/pisellCard/index.d.ts +0 -1
  57. package/es/components/pisellDatePicker/index.d.ts +0 -1
  58. package/es/components/pisellLoading/index.d.ts +0 -1
  59. package/es/components/pisellModal/components/IpadModal/index.d.ts +0 -1
  60. package/es/components/pisellModal/components/MobileModal/index.d.ts +0 -1
  61. package/es/components/pisellModal/components/index.d.ts +0 -1
  62. package/es/components/pisellQRScanner/index.d.ts +0 -13
  63. package/es/components/pisellQRScanner/index.js +0 -8
  64. package/es/components/pisellUpload/index.d.ts +0 -1
  65. package/es/components/pisellWalletPassCard/index.d.ts +1 -1
  66. package/es/components/pisellWalletPassCard/index.js +2 -1
  67. package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -1
  68. package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -1
  69. package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -1
  70. package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -1
  71. package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -1
  72. package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -1
  73. package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -1
  74. package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -1
  75. package/es/components/productCard/components/Action/index.d.ts +0 -1
  76. package/es/components/productCard/components/AmountFooter/index.d.ts +0 -1
  77. package/es/components/productCard/components/Divider/index.d.ts +0 -1
  78. package/es/components/productCard/components/Header/EditButton/index.d.ts +0 -1
  79. package/es/components/productCard/components/MultiDay/index.d.ts +0 -1
  80. package/es/components/productCard/components/Note/index.d.ts +0 -1
  81. package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -1
  82. package/es/components/productCard/components/Packages/components/options/index.d.ts +0 -1
  83. package/es/components/productCard/components/Packages/index.d.ts +0 -1
  84. package/es/components/productCard/components/Sales/index.d.ts +0 -1
  85. package/es/components/productCard/components/Time/components/Like/index.d.ts +0 -1
  86. package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -1
  87. package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -1
  88. package/es/components/qrcode/index.d.ts +0 -1
  89. package/es/components/radio/index.d.ts +0 -1
  90. package/es/components/segmented/index.d.ts +0 -1
  91. package/es/components/select-time/RightPanel/index.d.ts +0 -1
  92. package/es/components/skeleton/index.d.ts +0 -1
  93. package/es/components/slider/index.d.ts +0 -1
  94. package/es/components/sort/components/InlineMenu/index.d.ts +0 -1
  95. package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +0 -1
  96. package/es/components/table/Summary/index.d.ts +0 -1
  97. package/es/components/table/Table/SelectField/index.d.ts +1 -0
  98. package/es/components/table/Table/fields/date/Config/index.d.ts +0 -1
  99. package/es/components/table/Table/fields/date/Show/index.d.ts +0 -1
  100. package/es/components/table/Table/fields/date/Sort/index.d.ts +0 -1
  101. package/es/components/table/Table/fields/image/Config/index.d.ts +0 -1
  102. package/es/components/table/Table/fields/image/Show/index.d.ts +0 -1
  103. package/es/components/table/Table/fields/image/Sort/index.d.ts +0 -1
  104. package/es/components/table/Table/fields/image/index.d.ts +0 -1
  105. package/es/components/table/Table/fields/index.d.ts +1 -0
  106. package/es/components/table/Table/fields/link/Config/index.d.ts +0 -1
  107. package/es/components/table/Table/fields/link/Show/index.d.ts +0 -1
  108. package/es/components/table/Table/fields/link/Sort/index.d.ts +0 -1
  109. package/es/components/table/Table/fields/link/index.d.ts +0 -1
  110. package/es/components/table/Table/fields/number/Config/index.d.ts +0 -1
  111. package/es/components/table/Table/fields/number/Show/index.d.ts +0 -1
  112. package/es/components/table/Table/fields/number/Sort/index.d.ts +0 -1
  113. package/es/components/table/Table/fields/number/index.d.ts +0 -1
  114. package/es/components/table/Table/fields/numberRange/Config/index.d.ts +0 -1
  115. package/es/components/table/Table/fields/numberRange/Show/index.d.ts +0 -1
  116. package/es/components/table/Table/fields/numberRange/Sort/index.d.ts +0 -1
  117. package/es/components/table/Table/fields/numberRange/index.d.ts +0 -1
  118. package/es/components/table/Table/fields/oldRangePicker/Config/index.d.ts +0 -1
  119. package/es/components/table/Table/fields/oldRangePicker/Show/index.d.ts +0 -1
  120. package/es/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +0 -1
  121. package/es/components/table/Table/fields/pSwitch/Config/index.d.ts +0 -1
  122. package/es/components/table/Table/fields/pSwitch/Show/index.d.ts +0 -1
  123. package/es/components/table/Table/fields/pSwitch/Sort/index.d.ts +0 -1
  124. package/es/components/table/Table/fields/pSwitch/index.d.ts +0 -1
  125. package/es/components/table/Table/fields/rangePicker/Config/index.d.ts +0 -1
  126. package/es/components/table/Table/fields/rangePicker/Show/index.d.ts +0 -1
  127. package/es/components/table/Table/fields/rangePicker/Sort/index.d.ts +0 -1
  128. package/es/components/table/Table/fields/search/Config/index.d.ts +0 -1
  129. package/es/components/table/Table/fields/search/Show/index.d.ts +0 -1
  130. package/es/components/table/Table/fields/search/Sort/index.d.ts +0 -1
  131. package/es/components/table/Table/fields/search/index.d.ts +0 -1
  132. package/es/components/table/Table/fields/select/Config/index.d.ts +0 -1
  133. package/es/components/table/Table/fields/select/Show/index.d.ts +0 -1
  134. package/es/components/table/Table/fields/select/Sort/index.d.ts +0 -1
  135. package/es/components/table/Table/fields/text/Config/index.d.ts +0 -1
  136. package/es/components/table/Table/fields/text/Show/index.d.ts +1 -0
  137. package/es/components/table/Table/fields/text/Sort/index.d.ts +0 -1
  138. package/es/components/table/Table/fields/text/index.d.ts +1 -0
  139. package/es/components/table/Table/fields/treeSelect/Config/index.d.ts +0 -1
  140. package/es/components/table/Table/fields/treeSelect/Show/index.d.ts +0 -1
  141. package/es/components/table/Table/fields/treeSelect/Sort/index.d.ts +0 -1
  142. package/es/components/table/Table/fields/treeSelect/index.d.ts +0 -1
  143. package/es/components/table/Table/tableConfig/summary/index.d.ts +0 -1
  144. package/es/components/table/Table/utils.d.ts +1 -1
  145. package/es/components/table/TableFilter/SortIcon.d.ts +0 -1
  146. package/es/components/time-picker/index.d.ts +0 -1
  147. package/es/components/upload/index.d.ts +0 -1
  148. package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +5 -1
  149. package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.js +21 -7
  150. package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.less +9 -5
  151. package/es/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +4 -0
  152. package/es/components/virtual-keyboard/BaseNumberKeyboard/index.js +44 -25
  153. package/es/components/virtual-keyboard/Time/utils.d.ts +0 -1
  154. package/es/components/virtualInput/BaseVirtualInput/index.d.ts +40 -0
  155. package/es/components/virtualInput/BaseVirtualInput/index.js +163 -0
  156. package/es/components/virtualInput/BaseVirtualInput/index.less +78 -0
  157. package/es/components/virtualInput/index.d.ts +24 -0
  158. package/es/components/virtualInput/index.js +60 -0
  159. package/es/components/virtualInput/index.less +42 -0
  160. package/es/components/walletCard/Guest/index.d.ts +0 -1
  161. package/es/components/walletCard/Guide/index.d.ts +0 -1
  162. package/es/index.d.ts +2 -0
  163. package/es/index.js +3 -1
  164. package/es/locales/en-US.d.ts +1 -0
  165. package/es/locales/en-US.js +1 -0
  166. package/es/locales/zh-CN.d.ts +1 -0
  167. package/es/locales/zh-CN.js +1 -0
  168. package/es/locales/zh-TW.d.ts +1 -0
  169. package/es/locales/zh-TW.js +1 -0
  170. package/lib/components/auto-complete-number/index.d.ts +0 -1
  171. package/lib/components/auto-resize-text/auto-text-size-standalone.d.ts +20 -0
  172. package/lib/components/auto-resize-text/auto-text-size-standalone.js +273 -0
  173. package/lib/components/auto-resize-text/index.d.ts +6 -0
  174. package/lib/components/auto-resize-text/index.js +71 -0
  175. package/lib/components/badge/index.d.ts +0 -1
  176. package/lib/components/batch-editor/fields/index.d.ts +0 -1
  177. package/lib/components/batch-editor/index.d.ts +1 -0
  178. package/lib/components/calendar/index.d.ts +0 -1
  179. package/lib/components/checkbox/index.d.ts +0 -1
  180. package/lib/components/classicLayout/index.d.ts +0 -1
  181. package/lib/components/colorPicker/index.d.ts +0 -1
  182. package/lib/components/config-provider/index.d.ts +0 -1
  183. package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
  184. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -1
  185. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +0 -1
  186. package/lib/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +0 -1
  187. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +0 -1
  188. package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -0
  189. package/lib/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +0 -1
  190. package/lib/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +0 -1
  191. package/lib/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +0 -1
  192. package/lib/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +0 -1
  193. package/lib/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +0 -1
  194. package/lib/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +0 -1
  195. package/lib/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +0 -1
  196. package/lib/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +0 -1
  197. package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  198. package/lib/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +0 -1
  199. package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +0 -1
  200. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
  201. package/lib/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +0 -1
  202. package/lib/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +0 -1
  203. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  204. package/lib/components/dataSourceComponents/fields/index.d.ts +8 -8
  205. package/lib/components/dropdown/index.d.ts +0 -1
  206. package/lib/components/filter/components/items/index.d.ts +0 -1
  207. package/lib/components/filter/components/items/text/Editor/index.d.ts +0 -1
  208. package/lib/components/filter/components/items/text/Preview/index.d.ts +0 -1
  209. package/lib/components/filter/components/items/text/index.d.ts +0 -1
  210. package/lib/components/keyboard/index.d.ts +22 -0
  211. package/lib/components/keyboard/index.js +223 -0
  212. package/lib/components/keyboard/index.less +43 -0
  213. package/lib/components/list/index.d.ts +1 -0
  214. package/lib/components/lowCodePage/index.d.ts +0 -1
  215. package/lib/components/pisellCard/index.d.ts +0 -1
  216. package/lib/components/pisellDatePicker/index.d.ts +0 -1
  217. package/lib/components/pisellLoading/index.d.ts +0 -1
  218. package/lib/components/pisellModal/components/IpadModal/index.d.ts +0 -1
  219. package/lib/components/pisellModal/components/MobileModal/index.d.ts +0 -1
  220. package/lib/components/pisellModal/components/index.d.ts +0 -1
  221. package/lib/components/pisellQRScanner/index.d.ts +0 -13
  222. package/lib/components/pisellUpload/index.d.ts +0 -1
  223. package/lib/components/pisellWalletPassCard/index.d.ts +1 -1
  224. package/lib/components/pisellWalletPassCard/index.js +2 -1
  225. package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -1
  226. package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -1
  227. package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -1
  228. package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -1
  229. package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -1
  230. package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -1
  231. package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -1
  232. package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -1
  233. package/lib/components/productCard/components/Action/index.d.ts +0 -1
  234. package/lib/components/productCard/components/AmountFooter/index.d.ts +0 -1
  235. package/lib/components/productCard/components/Divider/index.d.ts +0 -1
  236. package/lib/components/productCard/components/Header/EditButton/index.d.ts +0 -1
  237. package/lib/components/productCard/components/MultiDay/index.d.ts +0 -1
  238. package/lib/components/productCard/components/Note/index.d.ts +0 -1
  239. package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -1
  240. package/lib/components/productCard/components/Packages/components/options/index.d.ts +0 -1
  241. package/lib/components/productCard/components/Packages/index.d.ts +0 -1
  242. package/lib/components/productCard/components/Sales/index.d.ts +0 -1
  243. package/lib/components/productCard/components/Time/components/Like/index.d.ts +0 -1
  244. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -1
  245. package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -1
  246. package/lib/components/qrcode/index.d.ts +0 -1
  247. package/lib/components/radio/index.d.ts +0 -1
  248. package/lib/components/segmented/index.d.ts +0 -1
  249. package/lib/components/select-time/RightPanel/index.d.ts +0 -1
  250. package/lib/components/skeleton/index.d.ts +0 -1
  251. package/lib/components/slider/index.d.ts +0 -1
  252. package/lib/components/sort/components/InlineMenu/index.d.ts +0 -1
  253. package/lib/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +0 -1
  254. package/lib/components/table/Summary/index.d.ts +0 -1
  255. package/lib/components/table/Table/SelectField/index.d.ts +1 -0
  256. package/lib/components/table/Table/fields/date/Config/index.d.ts +0 -1
  257. package/lib/components/table/Table/fields/date/Show/index.d.ts +0 -1
  258. package/lib/components/table/Table/fields/date/Sort/index.d.ts +0 -1
  259. package/lib/components/table/Table/fields/image/Config/index.d.ts +0 -1
  260. package/lib/components/table/Table/fields/image/Show/index.d.ts +0 -1
  261. package/lib/components/table/Table/fields/image/Sort/index.d.ts +0 -1
  262. package/lib/components/table/Table/fields/image/index.d.ts +0 -1
  263. package/lib/components/table/Table/fields/index.d.ts +1 -0
  264. package/lib/components/table/Table/fields/link/Config/index.d.ts +0 -1
  265. package/lib/components/table/Table/fields/link/Show/index.d.ts +0 -1
  266. package/lib/components/table/Table/fields/link/Sort/index.d.ts +0 -1
  267. package/lib/components/table/Table/fields/link/index.d.ts +0 -1
  268. package/lib/components/table/Table/fields/number/Config/index.d.ts +0 -1
  269. package/lib/components/table/Table/fields/number/Show/index.d.ts +0 -1
  270. package/lib/components/table/Table/fields/number/Sort/index.d.ts +0 -1
  271. package/lib/components/table/Table/fields/number/index.d.ts +0 -1
  272. package/lib/components/table/Table/fields/numberRange/Config/index.d.ts +0 -1
  273. package/lib/components/table/Table/fields/numberRange/Show/index.d.ts +0 -1
  274. package/lib/components/table/Table/fields/numberRange/Sort/index.d.ts +0 -1
  275. package/lib/components/table/Table/fields/numberRange/index.d.ts +0 -1
  276. package/lib/components/table/Table/fields/oldRangePicker/Config/index.d.ts +0 -1
  277. package/lib/components/table/Table/fields/oldRangePicker/Show/index.d.ts +0 -1
  278. package/lib/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +0 -1
  279. package/lib/components/table/Table/fields/pSwitch/Config/index.d.ts +0 -1
  280. package/lib/components/table/Table/fields/pSwitch/Show/index.d.ts +0 -1
  281. package/lib/components/table/Table/fields/pSwitch/Sort/index.d.ts +0 -1
  282. package/lib/components/table/Table/fields/pSwitch/index.d.ts +0 -1
  283. package/lib/components/table/Table/fields/rangePicker/Config/index.d.ts +0 -1
  284. package/lib/components/table/Table/fields/rangePicker/Show/index.d.ts +0 -1
  285. package/lib/components/table/Table/fields/rangePicker/Sort/index.d.ts +0 -1
  286. package/lib/components/table/Table/fields/search/Config/index.d.ts +0 -1
  287. package/lib/components/table/Table/fields/search/Show/index.d.ts +0 -1
  288. package/lib/components/table/Table/fields/search/Sort/index.d.ts +0 -1
  289. package/lib/components/table/Table/fields/search/index.d.ts +0 -1
  290. package/lib/components/table/Table/fields/select/Config/index.d.ts +0 -1
  291. package/lib/components/table/Table/fields/select/Show/index.d.ts +0 -1
  292. package/lib/components/table/Table/fields/select/Sort/index.d.ts +0 -1
  293. package/lib/components/table/Table/fields/text/Config/index.d.ts +0 -1
  294. package/lib/components/table/Table/fields/text/Show/index.d.ts +1 -0
  295. package/lib/components/table/Table/fields/text/Sort/index.d.ts +0 -1
  296. package/lib/components/table/Table/fields/text/index.d.ts +1 -0
  297. package/lib/components/table/Table/fields/treeSelect/Config/index.d.ts +0 -1
  298. package/lib/components/table/Table/fields/treeSelect/Show/index.d.ts +0 -1
  299. package/lib/components/table/Table/fields/treeSelect/Sort/index.d.ts +0 -1
  300. package/lib/components/table/Table/fields/treeSelect/index.d.ts +0 -1
  301. package/lib/components/table/Table/tableConfig/summary/index.d.ts +0 -1
  302. package/lib/components/table/Table/utils.d.ts +1 -1
  303. package/lib/components/table/TableFilter/SortIcon.d.ts +0 -1
  304. package/lib/components/time-picker/index.d.ts +0 -1
  305. package/lib/components/upload/index.d.ts +0 -1
  306. package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +5 -1
  307. package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.js +19 -2
  308. package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.less +9 -5
  309. package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +4 -0
  310. package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.js +45 -27
  311. package/lib/components/virtual-keyboard/Time/utils.d.ts +0 -1
  312. package/lib/components/virtualInput/BaseVirtualInput/index.d.ts +40 -0
  313. package/lib/components/virtualInput/BaseVirtualInput/index.js +179 -0
  314. package/lib/components/virtualInput/BaseVirtualInput/index.less +78 -0
  315. package/lib/components/virtualInput/index.d.ts +24 -0
  316. package/lib/components/virtualInput/index.js +102 -0
  317. package/lib/components/virtualInput/index.less +42 -0
  318. package/lib/components/walletCard/Guest/index.d.ts +0 -1
  319. package/lib/components/walletCard/Guide/index.d.ts +0 -1
  320. package/lib/index.d.ts +2 -0
  321. package/lib/index.js +6 -0
  322. package/lib/locales/en-US.d.ts +1 -0
  323. package/lib/locales/en-US.js +1 -0
  324. package/lib/locales/zh-CN.d.ts +1 -0
  325. package/lib/locales/zh-CN.js +1 -0
  326. package/lib/locales/zh-TW.d.ts +1 -0
  327. package/lib/locales/zh-TW.js +1 -0
  328. package/package.json +3 -3
@@ -128,7 +128,9 @@ var BaseNumberKeyboard = (props) => {
128
128
  onEnter,
129
129
  presets,
130
130
  defaultSelect,
131
- rightItemsStyle
131
+ rightItemsStyle,
132
+ customDisplay,
133
+ style
132
134
  } = props;
133
135
  const [value, setValue] = (0, import_ahooks.useControllableValue)(props, {
134
136
  defaultValue
@@ -200,6 +202,8 @@ var BaseNumberKeyboard = (props) => {
200
202
  }
201
203
  };
202
204
  const handleChangeValue = (val) => {
205
+ var _a;
206
+ val = typeof val === "string" ? val : ((_a = val == null ? void 0 : val.target) == null ? void 0 : _a.value) || "";
203
207
  const detail = checkValue(val);
204
208
  if (detail) return;
205
209
  setValue(val);
@@ -228,38 +232,52 @@ var BaseNumberKeyboard = (props) => {
228
232
  const handleKeyboardChange = (0, import_ahooks.useMemoizedFn)((val) => {
229
233
  return (actions[val] || actions.default)(val);
230
234
  });
231
- return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-virtual-keyboard-base" }, /* @__PURE__ */ import_react.default.createElement(
232
- import_VirtualKeyInput.default,
233
- {
234
- value,
235
- onChange: (e) => handleChangeValue(e.target.value),
236
- renderInput: (props2) => {
237
- if ((0, import_utils.isUndefined)(props2.value) || props2.value === "") {
238
- return /* @__PURE__ */ import_react.default.createElement(
239
- import_VirtualInput.default,
240
- {
241
- autoFocus: true,
242
- placeholder,
243
- value: props2.value
244
- }
245
- );
246
- }
247
- return (format == null ? void 0 : format(props2.value)) || props2.value;
248
- },
249
- showDelete: false,
250
- onValueSelect: setSelect,
251
- defaultSelect,
252
- style: {
253
- backgroundColor: (rightItemsStyle == null ? void 0 : rightItemsStyle.buttonBackgroundColor) || "#fff",
254
- color: (rightItemsStyle == null ? void 0 : rightItemsStyle.textColor) || "#000000"
235
+ const renderDisplayField = () => {
236
+ if (customDisplay) {
237
+ if (typeof customDisplay === "function") {
238
+ return customDisplay({
239
+ value,
240
+ onChange: handleChangeValue,
241
+ onValueSelect: setSelect
242
+ });
255
243
  }
244
+ return customDisplay;
256
245
  }
257
- ), /* @__PURE__ */ import_react.default.createElement(import_Presets.default, { presets, onChange: handleChangeValue }), /* @__PURE__ */ import_react.default.createElement(
246
+ return /* @__PURE__ */ import_react.default.createElement(
247
+ import_VirtualKeyInput.default,
248
+ {
249
+ value,
250
+ onChange: (e) => handleChangeValue(e.target.value),
251
+ renderInput: (props2) => {
252
+ if ((0, import_utils.isUndefined)(props2.value) || props2.value === "") {
253
+ return /* @__PURE__ */ import_react.default.createElement(
254
+ import_VirtualInput.default,
255
+ {
256
+ autoFocus: true,
257
+ placeholder,
258
+ value: props2.value
259
+ }
260
+ );
261
+ }
262
+ return (format == null ? void 0 : format(props2.value)) || props2.value;
263
+ },
264
+ showDelete: false,
265
+ onValueSelect: setSelect,
266
+ defaultSelect,
267
+ style: {
268
+ backgroundColor: (rightItemsStyle == null ? void 0 : rightItemsStyle.buttonBackgroundColor) || "#fff",
269
+ color: (rightItemsStyle == null ? void 0 : rightItemsStyle.textColor) || "#000000"
270
+ }
271
+ }
272
+ );
273
+ };
274
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-virtual-keyboard-base", style }, renderDisplayField(), /* @__PURE__ */ import_react.default.createElement(import_Presets.default, { presets, onChange: handleChangeValue }), /* @__PURE__ */ import_react.default.createElement(
258
275
  import_Keyboard.default,
259
276
  {
260
277
  items: itemsWithStyle,
261
278
  rightItems,
262
- onChange: handleKeyboardChange
279
+ onChange: handleKeyboardChange,
280
+ ...props.keyboardProps || {}
263
281
  }
264
282
  ));
265
283
  };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const formatStringToTime: (value: string) => {
3
2
  valueArray: string[];
4
3
  valueString: string;
@@ -0,0 +1,40 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export interface BaseVirtualInputProps {
4
+ /** 输入值 */
5
+ value?: string | React.ReactNode;
6
+ /** 占位符 */
7
+ placeholder?: string;
8
+ /** 是否自动聚焦 */
9
+ autoFocus?: boolean;
10
+ /** 是否禁用 */
11
+ disabled?: boolean;
12
+ /** 组件高度,默认60px */
13
+ height?: number | string;
14
+ /** 字体大小,默认48px,如果不设置会根据高度自动计算 */
15
+ fontSize?: number | string;
16
+ /** 聚焦回调 */
17
+ onFocus?: () => void;
18
+ /** 失焦回调 */
19
+ onBlur?: () => void;
20
+ /** 文字位置 */
21
+ textAlign?: 'start' | 'center' | 'end';
22
+ /** 自定义样式 */
23
+ style?: React.CSSProperties;
24
+ /** 自定义类名 */
25
+ className?: string;
26
+ /** showCursor */
27
+ showCursor?: boolean;
28
+ /** 防止失焦的元素选择器或ref */
29
+ preventBlurElements?: Array<string | React.RefObject<HTMLElement>>;
30
+ /** 是否聚焦(受控模式) */
31
+ focused?: boolean;
32
+ }
33
+ export interface BaseVirtualInputRef {
34
+ /** 手动聚焦 */
35
+ focus: () => void;
36
+ /** 手动失焦 */
37
+ blur: () => void;
38
+ }
39
+ declare const BaseVirtualInput: React.ForwardRefExoticComponent<BaseVirtualInputProps & React.RefAttributes<BaseVirtualInputRef>>;
40
+ export default BaseVirtualInput;
@@ -0,0 +1,179 @@
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/virtualInput/BaseVirtualInput/index.tsx
30
+ var BaseVirtualInput_exports = {};
31
+ __export(BaseVirtualInput_exports, {
32
+ default: () => BaseVirtualInput_default
33
+ });
34
+ module.exports = __toCommonJS(BaseVirtualInput_exports);
35
+ var import_react = __toESM(require("react"));
36
+ var import_classnames = __toESM(require("classnames"));
37
+ var import_auto_resize_text = __toESM(require("../../auto-resize-text"));
38
+ var import_index = require("./index.less");
39
+ var BaseVirtualInput = (0, import_react.forwardRef)(
40
+ (props, ref) => {
41
+ const {
42
+ value = "",
43
+ placeholder = "",
44
+ autoFocus = false,
45
+ disabled = false,
46
+ height = 60,
47
+ fontSize,
48
+ onFocus,
49
+ onBlur,
50
+ style,
51
+ className,
52
+ preventBlurElements = [],
53
+ focused,
54
+ showCursor = true
55
+ } = props;
56
+ const [localFocused, setLocalFocused] = (0, import_react.useState)(focused ?? autoFocus);
57
+ const internalFocused = "focused" in props ? props.focused : localFocused;
58
+ const containerRef = (0, import_react.useRef)(null);
59
+ const handleFocus = (0, import_react.useCallback)(() => {
60
+ if (disabled) return;
61
+ setLocalFocused(true);
62
+ onFocus == null ? void 0 : onFocus();
63
+ }, [disabled, onFocus]);
64
+ const handleBlur = (0, import_react.useCallback)(() => {
65
+ setLocalFocused(false);
66
+ onBlur == null ? void 0 : onBlur();
67
+ }, [onBlur]);
68
+ const shouldPreventBlur = (0, import_react.useCallback)(
69
+ (target) => {
70
+ if (!target || !(target instanceof Element)) return false;
71
+ return preventBlurElements.some((element) => {
72
+ if (typeof element === "string") {
73
+ const matchedElements = document.querySelectorAll(element);
74
+ return Array.from(matchedElements).some(
75
+ (el) => el.contains(target) || el === target
76
+ );
77
+ } else if (element && "current" in element && element.current) {
78
+ return element.current.contains(target);
79
+ }
80
+ return false;
81
+ });
82
+ },
83
+ [preventBlurElements]
84
+ );
85
+ (0, import_react.useEffect)(() => {
86
+ const handleGlobalClick = (event) => {
87
+ if (!internalFocused) return;
88
+ const target = event.target;
89
+ if (containerRef.current && containerRef.current.contains(target)) {
90
+ return;
91
+ }
92
+ if (shouldPreventBlur(target)) {
93
+ return;
94
+ }
95
+ handleBlur();
96
+ };
97
+ if (internalFocused) {
98
+ document.addEventListener("mousedown", handleGlobalClick);
99
+ }
100
+ return () => {
101
+ document.removeEventListener("mousedown", handleGlobalClick);
102
+ };
103
+ }, [internalFocused, handleBlur, shouldPreventBlur]);
104
+ const handleClick = (0, import_react.useCallback)(
105
+ (event) => {
106
+ handleFocus();
107
+ },
108
+ [handleFocus]
109
+ );
110
+ (0, import_react.useImperativeHandle)(
111
+ ref,
112
+ () => ({
113
+ focus: handleFocus,
114
+ blur: handleBlur
115
+ }),
116
+ [handleFocus, handleBlur]
117
+ );
118
+ const componentHeight = typeof height === "number" ? `${height}px` : height;
119
+ const getBaseFontSize = (0, import_react.useCallback)(() => {
120
+ if (fontSize) {
121
+ return typeof fontSize === "number" ? fontSize : parseFloat(fontSize);
122
+ }
123
+ return typeof height === "number" ? height * 0.8 : 48;
124
+ }, [fontSize, height]);
125
+ const baseFontSize = getBaseFontSize();
126
+ const minFontSize = Math.max(10, baseFontSize * 0.2);
127
+ const maxFontSize = baseFontSize;
128
+ const caretHeight = `calc(${componentHeight} * 0.67)`;
129
+ const mergedStyle = {
130
+ ...style,
131
+ "--virtual-input-height": componentHeight,
132
+ "--virtual-input-caret-height": caretHeight,
133
+ "--virtual-input-font-size": `${baseFontSize}px`
134
+ };
135
+ const showPlaceholder = value === void 0 || value === "";
136
+ return /* @__PURE__ */ import_react.default.createElement(
137
+ "div",
138
+ {
139
+ ref: containerRef,
140
+ className: (0, import_classnames.default)(
141
+ "pisell-base-virtual-input",
142
+ {
143
+ "pisell-base-virtual-input--focused": internalFocused,
144
+ "pisell-base-virtual-input--disabled": disabled
145
+ },
146
+ className
147
+ ),
148
+ style: mergedStyle,
149
+ onClick: handleClick
150
+ },
151
+ showPlaceholder && /* @__PURE__ */ import_react.default.createElement(
152
+ import_auto_resize_text.default,
153
+ {
154
+ className: "pisell-base-virtual-input-placeholder",
155
+ mode: "oneline",
156
+ minFontSizePx: minFontSize,
157
+ maxFontSizePx: maxFontSize,
158
+ fontSizePrecisionPx: 0.5
159
+ },
160
+ placeholder
161
+ ),
162
+ !!value && /* @__PURE__ */ import_react.default.createElement(
163
+ import_auto_resize_text.default,
164
+ {
165
+ className: "pisell-base-virtual-input-value",
166
+ mode: "oneline",
167
+ minFontSizePx: minFontSize,
168
+ maxFontSizePx: maxFontSize,
169
+ fontSizePrecisionPx: 0.5,
170
+ scrollToEnd: true
171
+ },
172
+ value
173
+ ),
174
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-base-virtual-input-caret-container" }, internalFocused && !disabled && showCursor && /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-base-virtual-input-caret" }))
175
+ );
176
+ }
177
+ );
178
+ BaseVirtualInput.displayName = "BaseVirtualInput";
179
+ var BaseVirtualInput_default = BaseVirtualInput;
@@ -0,0 +1,78 @@
1
+ .pisell-base-virtual-input {
2
+ width: 100%;
3
+ display: flex;
4
+ align-items: center;
5
+ background-color: transparent;
6
+ cursor: pointer;
7
+ transition: all 0.2s ease;
8
+ outline: none;
9
+ position: relative;
10
+ height: var(--virtual-input-height);
11
+
12
+ &--disabled {
13
+ cursor: not-allowed;
14
+ opacity: 0.6;
15
+ }
16
+ }
17
+
18
+ .pisell-base-virtual-input-placeholder {
19
+ color: #98a2b3;
20
+ font-weight: 400;
21
+ user-select: none;
22
+ position: absolute;
23
+ left: 0;
24
+ top: 0;
25
+ width: 100%;
26
+ max-width: 100%;
27
+ overflow: hidden;
28
+ pointer-events: none;
29
+ font-size: var(--virtual-input-font-size);
30
+ height: var(--virtual-input-height);
31
+ line-height: var(--virtual-input-height);
32
+ }
33
+
34
+ .pisell-base-virtual-input-value {
35
+ color: #101828;
36
+ font-weight: 600;
37
+ white-space: nowrap;
38
+ flex-shrink: 0;
39
+ // width: 100%;
40
+ max-width: 100%;
41
+ overflow-y: hidden;
42
+ overflow-x: auto;
43
+ font-size: var(--virtual-input-font-size);
44
+ line-height: var(--virtual-input-height);
45
+ height: var(--virtual-input-height);
46
+
47
+ -ms-overflow-style: none; /* IE 和 Edge */
48
+ scrollbar-width: none; /* Firefox */
49
+ &::-webkit-scrollbar {
50
+ display: none; /* Chrome, Safari 和 Opera */
51
+ }
52
+ }
53
+
54
+ .pisell-base-virtual-input-caret-container {
55
+ height: 100%;
56
+ display: flex;
57
+ align-items: center;
58
+ flex-shrink: 0;
59
+ }
60
+
61
+ .pisell-base-virtual-input-caret {
62
+ width: 2px;
63
+ height: var(--virtual-input-caret-height);
64
+ background-color: #1570ef;
65
+ border-radius: 1px;
66
+ animation: pisell-base-virtual-input-caret-blink 1s infinite;
67
+ }
68
+
69
+ @keyframes pisell-base-virtual-input-caret-blink {
70
+ 0%,
71
+ 50% {
72
+ opacity: 1;
73
+ }
74
+ 51%,
75
+ 100% {
76
+ opacity: 0;
77
+ }
78
+ }
@@ -0,0 +1,24 @@
1
+ import React from 'react';
2
+ import { BaseVirtualInputProps, BaseVirtualInputRef } from './BaseVirtualInput';
3
+ import './index.less';
4
+ export { BaseVirtualInputProps, BaseVirtualInputRef } from './BaseVirtualInput';
5
+ export interface VirtualInputProps extends BaseVirtualInputProps {
6
+ /** 在VirtualInput上方显示的额外内容 */
7
+ topContent?: React.ReactNode;
8
+ /** 在VirtualInput下方显示的额外内容 */
9
+ bottomContent?: React.ReactNode;
10
+ /** wrapper class */
11
+ wrapperClassName?: string;
12
+ /** 虚拟输入框包装器的样式 */
13
+ wrapperStyle?: React.CSSProperties;
14
+ /** 是否允许清除输入框中的内容 */
15
+ allowClear?: boolean;
16
+ /** 清除输入框内容的回调函数 */
17
+ onClear?: () => void;
18
+ /** 自定义清除按钮的样式 */
19
+ clearButtonStyle?: React.CSSProperties;
20
+ }
21
+ export interface VirtualInputRef extends BaseVirtualInputRef {
22
+ }
23
+ declare const VirtualInput: React.ForwardRefExoticComponent<VirtualInputProps & React.RefAttributes<VirtualInputRef>>;
24
+ export default VirtualInput;
@@ -0,0 +1,102 @@
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/virtualInput/index.tsx
30
+ var virtualInput_exports = {};
31
+ __export(virtualInput_exports, {
32
+ BaseVirtualInputProps: () => import_BaseVirtualInput2.BaseVirtualInputProps,
33
+ BaseVirtualInputRef: () => import_BaseVirtualInput2.BaseVirtualInputRef,
34
+ default: () => virtualInput_default
35
+ });
36
+ module.exports = __toCommonJS(virtualInput_exports);
37
+ var import_react = __toESM(require("react"));
38
+ var import_classnames = __toESM(require("classnames"));
39
+ var import_icon = __toESM(require("../icon"));
40
+ var import_BaseVirtualInput = __toESM(require("./BaseVirtualInput"));
41
+ var import_index = require("./index.less");
42
+ var import_BaseVirtualInput2 = require("./BaseVirtualInput");
43
+ var VirtualInput = (0, import_react.forwardRef)(
44
+ ({
45
+ topContent,
46
+ bottomContent,
47
+ wrapperStyle,
48
+ wrapperClassName,
49
+ allowClear = false,
50
+ onClear,
51
+ value,
52
+ clearButtonStyle,
53
+ ...virtualInputProps
54
+ }, ref) => {
55
+ const baseInputRef = (0, import_react.useRef)(null);
56
+ const handleClear = () => {
57
+ onClear == null ? void 0 : onClear();
58
+ };
59
+ (0, import_react.useImperativeHandle)(ref, () => ({
60
+ focus: () => {
61
+ var _a;
62
+ return (_a = baseInputRef.current) == null ? void 0 : _a.focus();
63
+ },
64
+ blur: () => {
65
+ var _a;
66
+ return (_a = baseInputRef.current) == null ? void 0 : _a.blur();
67
+ }
68
+ }));
69
+ return /* @__PURE__ */ import_react.default.createElement(
70
+ "div",
71
+ {
72
+ className: (0, import_classnames.default)("pisell-virtual-input-wrapper", wrapperClassName),
73
+ style: wrapperStyle
74
+ },
75
+ topContent,
76
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-virtual-input-container" }, /* @__PURE__ */ import_react.default.createElement(
77
+ import_BaseVirtualInput.default,
78
+ {
79
+ ref: baseInputRef,
80
+ value,
81
+ ...virtualInputProps
82
+ }
83
+ ), allowClear && /* @__PURE__ */ import_react.default.createElement(
84
+ "div",
85
+ {
86
+ className: "pisell-virtual-input-clear-button",
87
+ onClick: handleClear,
88
+ style: clearButtonStyle
89
+ },
90
+ /* @__PURE__ */ import_react.default.createElement(import_icon.default, { type: "pisell2-delete" })
91
+ )),
92
+ bottomContent
93
+ );
94
+ }
95
+ );
96
+ VirtualInput.displayName = "VirtualInput";
97
+ var virtualInput_default = VirtualInput;
98
+ // Annotate the CommonJS export names for ESM import in node:
99
+ 0 && (module.exports = {
100
+ BaseVirtualInputProps,
101
+ BaseVirtualInputRef
102
+ });
@@ -0,0 +1,42 @@
1
+ .pisell-virtual-input-wrapper {
2
+ overflow: hidden;
3
+ }
4
+
5
+ .pisell-virtual-input-container {
6
+ position: relative;
7
+ display: flex;
8
+ align-items: center;
9
+ width: 100%;
10
+ }
11
+
12
+ .pisell-virtual-input-clear-button {
13
+ position: absolute;
14
+ right: 8px;
15
+ top: 50%;
16
+ transform: translateY(-50%);
17
+ display: flex;
18
+ align-items: center;
19
+ justify-content: center;
20
+ width: 24px;
21
+ height: 24px;
22
+ cursor: pointer;
23
+ border-radius: 4px;
24
+ transition: all 0.2s ease;
25
+ color: #667085;
26
+ background-color: transparent;
27
+ z-index: 1;
28
+
29
+ &:hover {
30
+ background-color: #f2f4f7;
31
+ color: #344054;
32
+ }
33
+
34
+ &:active {
35
+ background-color: #e4e7ec;
36
+ }
37
+
38
+ svg {
39
+ width: 16px;
40
+ height: 16px;
41
+ }
42
+ }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Guest: (props: any) => JSX.Element;
4
3
  export default Guest;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Guide: (props: any) => JSX.Element;
4
3
  export default Guide;
package/lib/index.d.ts CHANGED
@@ -141,3 +141,5 @@ export type { PisellAppCardProps } from './components/pisellAppCard/types';
141
141
  export { default as BaseTranslation } from './components/dataSourceComponents/fields/Translation/BaseTranslation';
142
142
  export { default as PisellGoodPassCard } from './components/pisellGoodPassCard';
143
143
  export { default as HardwareErrorTip } from './components/hardwareErrorTip';
144
+ export { default as Keyboard } from './components/keyboard';
145
+ export { default as VirtualInput } from './components/virtualInput';
package/lib/index.js CHANGED
@@ -97,6 +97,7 @@ __export(src_exports, {
97
97
  InputNumber: () => import_antd.InputNumber,
98
98
  InputNumberRange: () => import_input_number_range.default,
99
99
  JsonWrapper: () => import_JsonWrapperProvider.default,
100
+ Keyboard: () => import_keyboard.default,
100
101
  List: () => import_list.default,
101
102
  LowCodePage: () => import_lowCodePage.default,
102
103
  Mentions: () => import_antd.Mentions,
@@ -194,6 +195,7 @@ __export(src_exports, {
194
195
  TreeSelect: () => import_tree_select.default,
195
196
  Typography: () => import_typography.default,
196
197
  Upload: () => import_upload.default,
198
+ VirtualInput: () => import_virtualInput.default,
197
199
  VirtualKeyboard: () => import_virtual_keyboard.default,
198
200
  VirtualKeyboardTime: () => import_Time.default,
199
201
  WalletCard: () => import_walletCard.default,
@@ -346,6 +348,8 @@ var import_pisellAppCard = __toESM(require("./components/pisellAppCard"));
346
348
  var import_BaseTranslation = __toESM(require("./components/dataSourceComponents/fields/Translation/BaseTranslation"));
347
349
  var import_pisellGoodPassCard = __toESM(require("./components/pisellGoodPassCard"));
348
350
  var import_hardwareErrorTip = __toESM(require("./components/hardwareErrorTip"));
351
+ var import_keyboard = __toESM(require("./components/keyboard"));
352
+ var import_virtualInput = __toESM(require("./components/virtualInput"));
349
353
  // Annotate the CommonJS export names for ESM import in node:
350
354
  0 && (module.exports = {
351
355
  Affix,
@@ -416,6 +420,7 @@ var import_hardwareErrorTip = __toESM(require("./components/hardwareErrorTip"));
416
420
  InputNumber,
417
421
  InputNumberRange,
418
422
  JsonWrapper,
423
+ Keyboard,
419
424
  List,
420
425
  LowCodePage,
421
426
  Mentions,
@@ -513,6 +518,7 @@ var import_hardwareErrorTip = __toESM(require("./components/hardwareErrorTip"));
513
518
  TreeSelect,
514
519
  Typography,
515
520
  Upload,
521
+ VirtualInput,
516
522
  VirtualKeyboard,
517
523
  VirtualKeyboardTime,
518
524
  WalletCard,
@@ -314,6 +314,7 @@ declare const _default: {
314
314
  'pisell-wallet-pass-card-status-expired': string;
315
315
  'pisell-wallet-pass-card-status-disabled': string;
316
316
  'pisell-wallet-pass-card-status-conflict': string;
317
+ 'pisell-wallet-pass-card-status-lastPayment': string;
317
318
  'pisell-wallet-pass-card-reset': string;
318
319
  'pisell-wallet-pass-card-done': string;
319
320
  'pisell-list-tab-group-default': string;
@@ -372,6 +372,7 @@ var en_US_default = {
372
372
  "pisell-wallet-pass-card-status-expired": "Expired",
373
373
  "pisell-wallet-pass-card-status-disabled": "Disabled",
374
374
  "pisell-wallet-pass-card-status-conflict": "Conflict",
375
+ "pisell-wallet-pass-card-status-lastPayment": "Last Payment",
375
376
  "pisell-wallet-pass-card-reset": "Reset",
376
377
  "pisell-wallet-pass-card-done": "Done",
377
378
  // 列表组件
@@ -309,6 +309,7 @@ declare const _default: {
309
309
  'pisell-wallet-pass-card-status-expired': string;
310
310
  'pisell-wallet-pass-card-status-disabled': string;
311
311
  'pisell-wallet-pass-card-status-conflict': string;
312
+ 'pisell-wallet-pass-card-status-lastPayment': string;
312
313
  'pisell-wallet-pass-card-reset': string;
313
314
  'pisell-wallet-pass-card-done': string;
314
315
  'pisell-list-tab-group-default': string;
@@ -363,6 +363,7 @@ var zh_CN_default = {
363
363
  "pisell-wallet-pass-card-status-expired": "已过期",
364
364
  "pisell-wallet-pass-card-status-disabled": "已禁用",
365
365
  "pisell-wallet-pass-card-status-conflict": "冲突",
366
+ "pisell-wallet-pass-card-status-lastPayment": "上次结算",
366
367
  "pisell-wallet-pass-card-reset": "清空",
367
368
  "pisell-wallet-pass-card-done": "保存",
368
369
  // 列表组件
@@ -309,6 +309,7 @@ declare const _default: {
309
309
  'pisell-wallet-pass-card-status-expired': string;
310
310
  'pisell-wallet-pass-card-status-disabled': string;
311
311
  'pisell-wallet-pass-card-status-conflict': string;
312
+ 'pisell-wallet-pass-card-status-lastPayment': string;
312
313
  'pisell-wallet-pass-card-reset': string;
313
314
  'pisell-wallet-pass-card-done': string;
314
315
  'pisell-list-tab-group-default': string;