@pisell/materials 6.2.36 → 6.3.2

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 (267) 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 +3 -3
  6. package/build/lowcode/preview.js +164 -148
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +39 -25
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +39 -25
  11. package/es/components/batch-editor/index.d.ts +1 -0
  12. package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +1 -0
  13. package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -0
  14. package/es/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +1 -0
  15. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +2 -2
  16. package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -0
  17. package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  18. package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -0
  19. package/es/components/dataSourceComponents/fields/index.d.ts +11 -10
  20. package/es/components/date-picker/index.d.ts +1 -0
  21. package/es/components/filter/index.d.ts +1 -0
  22. package/es/components/iconfont/index.js +1 -1
  23. package/es/components/page/index.d.ts +1 -0
  24. package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +1 -0
  25. package/es/components/pisellCardList/index.js +3 -1
  26. package/es/components/pisellCheckboxGroup/index.d.ts +1 -0
  27. package/es/components/pisellCheckboxGroup/index.js +15 -1
  28. package/es/components/pisellGoodPassCard/index.d.ts +0 -1
  29. package/es/components/pisellGoodPassCard/index.js +5 -17
  30. package/es/components/pisellInput/index.d.ts +1 -0
  31. package/es/components/pisellModal/components/IpadModal/index.d.ts +1 -0
  32. package/es/components/pisellModal/components/MobileModal/index.d.ts +1 -0
  33. package/es/components/pisellModal/components/index.d.ts +1 -0
  34. package/es/components/pisellToast/index.js +0 -3
  35. package/es/components/pisellWalletPassCard/index.d.ts +1 -0
  36. package/es/components/productCard/components/Action/index.js +1 -14
  37. package/es/components/productCard/components/Action/index.less +0 -3
  38. package/es/components/productCard/components/Header/index.js +8 -23
  39. package/es/components/productCard/components/Header/index.less +1 -16
  40. package/es/components/productCard/components/MultiDay/index.d.ts +1 -0
  41. package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +1 -0
  42. package/es/components/productCard/components/Packages/components/options/index.d.ts +1 -0
  43. package/es/components/productCard/components/Sales/index.js +2 -2
  44. package/es/components/productCard/components/Time/components/SelectHolderModal/index.js +1 -3
  45. package/es/components/productCard/components/Time/components/SelectHolderModal/index.less +0 -3
  46. package/es/components/productCard/index.d.ts +1 -3
  47. package/es/components/productCard/index.js +2 -5
  48. package/es/components/productCard/index.less +0 -6
  49. package/es/components/productCard/locales.js +0 -3
  50. package/es/components/table/Actions/component/ColumnsSetting/index.d.ts +1 -0
  51. package/es/components/table/Actions/component/GallerySetting/index.d.ts +1 -0
  52. package/es/components/table/Actions/component/Group/index.d.ts +1 -0
  53. package/es/components/table/Actions/index.d.ts +1 -0
  54. package/es/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +1 -0
  55. package/es/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +1 -0
  56. package/es/components/table/Table/SelectField/index.d.ts +1 -0
  57. package/es/components/table/Table/fields/date/index.d.ts +1 -0
  58. package/es/components/table/Table/fields/image/Show/index.d.ts +1 -0
  59. package/es/components/table/Table/fields/image/index.d.ts +1 -0
  60. package/es/components/table/Table/fields/index.d.ts +3 -2
  61. package/es/components/table/Table/fields/link/index.d.ts +1 -0
  62. package/es/components/table/Table/fields/number/Show/index.d.ts +1 -0
  63. package/es/components/table/Table/fields/number/index.d.ts +1 -0
  64. package/es/components/table/Table/fields/numberRange/Show/index.d.ts +1 -0
  65. package/es/components/table/Table/fields/numberRange/index.d.ts +1 -0
  66. package/es/components/table/Table/fields/oldRangePicker/index.d.ts +1 -0
  67. package/es/components/table/Table/fields/pSwitch/Show/index.d.ts +1 -0
  68. package/es/components/table/Table/fields/pSwitch/index.d.ts +1 -0
  69. package/es/components/table/Table/fields/rangePicker/index.d.ts +1 -0
  70. package/es/components/table/Table/fields/search/Show/index.d.ts +1 -0
  71. package/es/components/table/Table/fields/search/index.d.ts +1 -0
  72. package/es/components/table/Table/fields/text/Show/index.d.ts +1 -0
  73. package/es/components/table/Table/fields/text/index.d.ts +1 -0
  74. package/es/components/table/Table/utils.d.ts +1 -1
  75. package/es/components/table/View/index.d.ts +1 -0
  76. package/es/components/versionSelect/index.d.ts +1 -0
  77. package/es/components/virtual-keyboard/index.d.ts +0 -11
  78. package/es/components/virtual-keyboard/index.js +3 -88
  79. package/es/components/virtual-keyboard/index.less +1 -33
  80. package/es/components/walletCard/Guide/index.js +12 -1
  81. package/lib/components/batch-editor/index.d.ts +1 -0
  82. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +1 -0
  83. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -0
  84. package/lib/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +1 -0
  85. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +2 -2
  86. package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -0
  87. package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  88. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -0
  89. package/lib/components/dataSourceComponents/fields/index.d.ts +11 -10
  90. package/lib/components/date-picker/index.d.ts +1 -0
  91. package/lib/components/filter/index.d.ts +1 -0
  92. package/lib/components/iconfont/index.js +1 -1
  93. package/lib/components/page/index.d.ts +1 -0
  94. package/lib/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +1 -0
  95. package/lib/components/pisellCardList/index.js +3 -1
  96. package/lib/components/pisellCheckboxGroup/index.d.ts +1 -0
  97. package/lib/components/pisellCheckboxGroup/index.js +16 -0
  98. package/lib/components/pisellGoodPassCard/index.d.ts +0 -1
  99. package/lib/components/pisellGoodPassCard/index.js +4 -31
  100. package/lib/components/pisellInput/index.d.ts +1 -0
  101. package/lib/components/pisellModal/components/IpadModal/index.d.ts +1 -0
  102. package/lib/components/pisellModal/components/MobileModal/index.d.ts +1 -0
  103. package/lib/components/pisellModal/components/index.d.ts +1 -0
  104. package/lib/components/pisellToast/index.js +0 -3
  105. package/lib/components/pisellWalletPassCard/index.d.ts +1 -0
  106. package/lib/components/productCard/components/Action/index.js +0 -9
  107. package/lib/components/productCard/components/Action/index.less +0 -3
  108. package/lib/components/productCard/components/Header/index.js +11 -21
  109. package/lib/components/productCard/components/Header/index.less +1 -16
  110. package/lib/components/productCard/components/MultiDay/index.d.ts +1 -0
  111. package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +1 -0
  112. package/lib/components/productCard/components/Packages/components/options/index.d.ts +1 -0
  113. package/lib/components/productCard/components/Sales/index.js +2 -2
  114. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.js +1 -1
  115. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.less +0 -3
  116. package/lib/components/productCard/index.d.ts +1 -3
  117. package/lib/components/productCard/index.js +2 -6
  118. package/lib/components/productCard/index.less +0 -6
  119. package/lib/components/productCard/locales.js +3 -12
  120. package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +1 -0
  121. package/lib/components/table/Actions/component/GallerySetting/index.d.ts +1 -0
  122. package/lib/components/table/Actions/component/Group/index.d.ts +1 -0
  123. package/lib/components/table/Actions/index.d.ts +1 -0
  124. package/lib/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +1 -0
  125. package/lib/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +1 -0
  126. package/lib/components/table/Table/SelectField/index.d.ts +1 -0
  127. package/lib/components/table/Table/fields/date/index.d.ts +1 -0
  128. package/lib/components/table/Table/fields/image/Show/index.d.ts +1 -0
  129. package/lib/components/table/Table/fields/image/index.d.ts +1 -0
  130. package/lib/components/table/Table/fields/index.d.ts +3 -2
  131. package/lib/components/table/Table/fields/link/index.d.ts +1 -0
  132. package/lib/components/table/Table/fields/number/Show/index.d.ts +1 -0
  133. package/lib/components/table/Table/fields/number/index.d.ts +1 -0
  134. package/lib/components/table/Table/fields/numberRange/Show/index.d.ts +1 -0
  135. package/lib/components/table/Table/fields/numberRange/index.d.ts +1 -0
  136. package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +1 -0
  137. package/lib/components/table/Table/fields/pSwitch/Show/index.d.ts +1 -0
  138. package/lib/components/table/Table/fields/pSwitch/index.d.ts +1 -0
  139. package/lib/components/table/Table/fields/rangePicker/index.d.ts +1 -0
  140. package/lib/components/table/Table/fields/search/Show/index.d.ts +1 -0
  141. package/lib/components/table/Table/fields/search/index.d.ts +1 -0
  142. package/lib/components/table/Table/fields/text/Show/index.d.ts +1 -0
  143. package/lib/components/table/Table/fields/text/index.d.ts +1 -0
  144. package/lib/components/table/Table/utils.d.ts +1 -1
  145. package/lib/components/table/View/index.d.ts +1 -0
  146. package/lib/components/versionSelect/index.d.ts +1 -0
  147. package/lib/components/virtual-keyboard/index.d.ts +0 -11
  148. package/lib/components/virtual-keyboard/index.js +2 -60
  149. package/lib/components/virtual-keyboard/index.less +1 -33
  150. package/lib/components/walletCard/Guide/index.js +11 -1
  151. package/lowcode/_setters/antd-icon-setter/index.tsx +2 -3
  152. package/lowcode/virtual-keyboard/meta.ts +0 -131
  153. package/package.json +4 -6
  154. package/dist/umd/materials.min.css +0 -1
  155. package/dist/umd/materials.min.js +0 -1
  156. package/dist/umd/static/DotsSix.57d66266.svg +0 -1
  157. package/dist/umd/static/arrow-left.e542294f.svg +0 -1
  158. package/dist/umd/static/arrow-right.763f03e0.svg +0 -1
  159. package/dist/umd/static/filter-lines.04a54ae9.svg +0 -1
  160. package/dist/umd/static/help-circle.31c9be40.svg +0 -1
  161. package/dist/umd/static/switch-vertical-01.7ebe3ba8.svg +0 -1
  162. package/es/components/pisellAdjustPrice/status.d.ts +0 -32
  163. package/es/components/pisellAdjustPrice/type.d.ts +0 -20
  164. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -3
  165. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.js +0 -76
  166. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.less +0 -75
  167. package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -3
  168. package/es/components/productCard/cartSkuCard/components/MultiDay/index.js +0 -82
  169. package/es/components/productCard/cartSkuCard/components/MultiDay/index.less +0 -31
  170. package/es/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +0 -14
  171. package/es/components/productCard/cartSkuCard/components/MultiDay/utils.js +0 -56
  172. package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -3
  173. package/es/components/productCard/cartSkuCard/components/Note/index.js +0 -29
  174. package/es/components/productCard/cartSkuCard/components/Note/index.less +0 -27
  175. package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -27
  176. package/es/components/productCard/cartSkuCard/components/basicInfo/index.js +0 -93
  177. package/es/components/productCard/cartSkuCard/components/basicInfo/index.less +0 -117
  178. package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -2
  179. package/es/components/productCard/cartSkuCard/components/discountReason/index.js +0 -51
  180. package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -3
  181. package/es/components/productCard/cartSkuCard/components/holders/index.js +0 -32
  182. package/es/components/productCard/cartSkuCard/components/holders/index.less +0 -32
  183. package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -10
  184. package/es/components/productCard/cartSkuCard/components/packages/index.js +0 -52
  185. package/es/components/productCard/cartSkuCard/components/packages/index.less +0 -22
  186. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
  187. package/es/components/productCard/cartSkuCard/components/packages/utils.js +0 -40
  188. package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -3
  189. package/es/components/productCard/cartSkuCard/components/resources/index.js +0 -39
  190. package/es/components/productCard/cartSkuCard/components/resources/index.less +0 -19
  191. package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -12
  192. package/es/components/productCard/cartSkuCard/components/sales/index.js +0 -57
  193. package/es/components/productCard/cartSkuCard/components/sales/index.less +0 -22
  194. package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -3
  195. package/es/components/productCard/cartSkuCard/components/specs/index.js +0 -44
  196. package/es/components/productCard/cartSkuCard/components/specs/index.less +0 -34
  197. package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +0 -45
  198. package/es/components/productCard/cartSkuCard/components/swipeAction/index.js +0 -292
  199. package/es/components/productCard/cartSkuCard/components/swipeAction/index.less +0 -35
  200. package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -6
  201. package/es/components/productCard/cartSkuCard/components/timeRange/index.js +0 -54
  202. package/es/components/productCard/cartSkuCard/components/timeRange/index.less +0 -38
  203. package/es/components/productCard/cartSkuCard/index.d.ts +0 -10
  204. package/es/components/productCard/cartSkuCard/index.js +0 -203
  205. package/es/components/productCard/cartSkuCard/index.less +0 -33
  206. package/es/components/productCard/cartSkuCard/locales.d.ts +0 -96
  207. package/es/components/productCard/cartSkuCard/locales.js +0 -30
  208. package/es/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
  209. package/es/components/virtual-keyboard/Amount/types.d.ts +0 -44
  210. package/es/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
  211. package/es/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
  212. package/es/components/virtual-keyboard/Number/types.d.ts +0 -25
  213. package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
  214. package/es/components/walletCard/Guide/index.d.ts +0 -3
  215. package/lib/components/pisellAdjustPrice/status.d.ts +0 -32
  216. package/lib/components/pisellAdjustPrice/type.d.ts +0 -20
  217. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -3
  218. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.js +0 -80
  219. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.less +0 -75
  220. package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -3
  221. package/lib/components/productCard/cartSkuCard/components/MultiDay/index.js +0 -71
  222. package/lib/components/productCard/cartSkuCard/components/MultiDay/index.less +0 -31
  223. package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +0 -14
  224. package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.js +0 -77
  225. package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -3
  226. package/lib/components/productCard/cartSkuCard/components/Note/index.js +0 -56
  227. package/lib/components/productCard/cartSkuCard/components/Note/index.less +0 -27
  228. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -27
  229. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.js +0 -82
  230. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.less +0 -117
  231. package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -2
  232. package/lib/components/productCard/cartSkuCard/components/discountReason/index.js +0 -70
  233. package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -3
  234. package/lib/components/productCard/cartSkuCard/components/holders/index.js +0 -52
  235. package/lib/components/productCard/cartSkuCard/components/holders/index.less +0 -32
  236. package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -10
  237. package/lib/components/productCard/cartSkuCard/components/packages/index.js +0 -73
  238. package/lib/components/productCard/cartSkuCard/components/packages/index.less +0 -22
  239. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
  240. package/lib/components/productCard/cartSkuCard/components/packages/utils.js +0 -44
  241. package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -3
  242. package/lib/components/productCard/cartSkuCard/components/resources/index.js +0 -71
  243. package/lib/components/productCard/cartSkuCard/components/resources/index.less +0 -19
  244. package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -12
  245. package/lib/components/productCard/cartSkuCard/components/sales/index.js +0 -77
  246. package/lib/components/productCard/cartSkuCard/components/sales/index.less +0 -22
  247. package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -3
  248. package/lib/components/productCard/cartSkuCard/components/specs/index.js +0 -66
  249. package/lib/components/productCard/cartSkuCard/components/specs/index.less +0 -34
  250. package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +0 -45
  251. package/lib/components/productCard/cartSkuCard/components/swipeAction/index.js +0 -339
  252. package/lib/components/productCard/cartSkuCard/components/swipeAction/index.less +0 -35
  253. package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -6
  254. package/lib/components/productCard/cartSkuCard/components/timeRange/index.js +0 -68
  255. package/lib/components/productCard/cartSkuCard/components/timeRange/index.less +0 -38
  256. package/lib/components/productCard/cartSkuCard/index.d.ts +0 -10
  257. package/lib/components/productCard/cartSkuCard/index.js +0 -239
  258. package/lib/components/productCard/cartSkuCard/index.less +0 -33
  259. package/lib/components/productCard/cartSkuCard/locales.d.ts +0 -96
  260. package/lib/components/productCard/cartSkuCard/locales.js +0 -61
  261. package/lib/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
  262. package/lib/components/virtual-keyboard/Amount/types.d.ts +0 -44
  263. package/lib/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
  264. package/lib/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
  265. package/lib/components/virtual-keyboard/Number/types.d.ts +0 -25
  266. package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
  267. package/lib/components/walletCard/Guide/index.d.ts +0 -3
@@ -37,8 +37,6 @@ var import_Keyboard = __toESM(require("./Keyboard"));
37
37
  var import_VirtualKeyInput = __toESM(require("./VirtualKeyInput"));
38
38
  var import_index = require("./index.less");
39
39
  var import_classnames = __toESM(require("classnames"));
40
- var import_utils = require("@pisell/utils");
41
- var import_usePisellConfig = __toESM(require("../pisell-config-provider/hooks/usePisellConfig"));
42
40
  var items = [
43
41
  {
44
42
  value: 1,
@@ -107,32 +105,6 @@ var items = [
107
105
  type: "primary"
108
106
  }
109
107
  ];
110
- var virtualKeyboardThemeConfig = {
111
- dark: {
112
- backgroundColor: "rgba(0, 0, 0, 0.70)",
113
- containerBackgroundColor: "rgba(0, 0, 0, 0.40)",
114
- buttonBackgroundColor: "#ffffff",
115
- textColor: "#000000",
116
- keyboardBackgroundColor: "rgba(0, 0, 0, 0.40)",
117
- keyboardButtonBackgroundColor: "#ffffff",
118
- keyboardButtonTextColor: "#000000",
119
- keyboardButtonHoverColor: "#f5f5f5",
120
- primaryButtonBackgroundColor: "#4ca30d",
121
- primaryButtonTextColor: "#ffffff"
122
- },
123
- light: {
124
- backgroundColor: "#ffffff",
125
- containerBackgroundColor: "#d0d5dd",
126
- buttonBackgroundColor: "#ffffff",
127
- textColor: "#000000",
128
- keyboardBackgroundColor: "#f9f9f9",
129
- keyboardButtonBackgroundColor: "#ffffff",
130
- keyboardButtonTextColor: "#000000",
131
- keyboardButtonHoverColor: "#f5f5f5",
132
- primaryButtonBackgroundColor: "#4ca30d",
133
- primaryButtonTextColor: "#ffffff"
134
- }
135
- };
136
108
  var VirtualKeyboard = (props) => {
137
109
  const {
138
110
  virtualKeyInputProps,
@@ -141,45 +113,15 @@ var VirtualKeyboard = (props) => {
141
113
  keyboardProps,
142
114
  onChange,
143
115
  value,
144
- rightPanel,
145
- selectType = "light",
146
- ...others
116
+ rightPanel
147
117
  } = props;
148
- const config = (0, import_usePisellConfig.default)();
149
118
  (0, import_react.useEffect)(() => {
150
119
  document.body.id = "body";
151
120
  }, []);
152
- const configColor = (0, import_react.useMemo)(() => {
153
- const currentConfig = virtualKeyboardThemeConfig[selectType];
154
- const validProps = Object.entries(props).reduce((acc, [key, value2]) => {
155
- if (value2 !== void 0 && key in currentConfig) {
156
- acc[key] = value2;
157
- }
158
- return acc;
159
- }, {});
160
- return { ...currentConfig, ...validProps };
161
- }, [selectType, props]);
162
- (0, import_react.useEffect)(() => {
163
- (0, import_utils.setTheme)({
164
- "--virtual-keyboard-background-color": configColor.backgroundColor,
165
- "--virtual-keyboard-container-background-color": configColor.containerBackgroundColor,
166
- "--virtual-keyboard-button-background-color": configColor.buttonBackgroundColor,
167
- "--virtual-keyboard-text-color": configColor.textColor,
168
- "--virtual-keyboard-keyboard-background-color": configColor.keyboardBackgroundColor,
169
- "--virtual-keyboard-keyboard-button-background-color": configColor.keyboardButtonBackgroundColor,
170
- "--virtual-keyboard-keyboard-button-text-color": configColor.keyboardButtonTextColor,
171
- "--virtual-keyboard-keyboard-button-hover-color": configColor.keyboardButtonHoverColor,
172
- "--virtual-keyboard-primary-button-background-color": configColor.primaryButtonBackgroundColor,
173
- "--virtual-keyboard-primary-button-text-color": configColor.primaryButtonTextColor
174
- });
175
- }, [configColor]);
176
121
  return /* @__PURE__ */ import_react.default.createElement(
177
122
  "div",
178
123
  {
179
- className: (0, import_classnames.default)("virtual-keyboard-component", className, {
180
- "virtual-keyboard-component-dark": selectType === "dark",
181
- "virtual-keyboard-component-light": selectType === "light"
182
- }),
124
+ className: (0, import_classnames.default)("virtual-keyboard-component", className),
183
125
  style
184
126
  },
185
127
  /* @__PURE__ */ import_react.default.createElement("div", { className: (0, import_classnames.default)("virtual-keyboard-component-left") }, /* @__PURE__ */ import_react.default.createElement(import_VirtualKeyInput.default, { ...virtualKeyInputProps }), /* @__PURE__ */ import_react.default.createElement(import_Keyboard.default, { items, ...keyboardProps })),
@@ -2,46 +2,14 @@
2
2
  display: flex;
3
3
  align-items: center;
4
4
  gap: 20px;
5
- background-color: var(--virtual-keyboard-background-color, #ffffff);
6
-
7
- &.virtual-keyboard-component-dark {
8
- background-color: var(--virtual-keyboard-background-color, rgba(0, 0, 0, 0.70));
9
- }
10
-
11
- &.virtual-keyboard-component-light {
12
- background-color: var(--virtual-keyboard-background-color, #ffffff);
13
- }
14
5
  }
15
6
 
16
7
  .virtual-keyboard-component-left {
17
8
  padding: 10px;
18
9
  width: 380px;
19
10
  border-radius: 10px;
20
- background: var(--virtual-keyboard-container-background-color, #D0D5DD);
11
+ background: var(--Gray-300, #D0D5DD);
21
12
  backdrop-filter: blur(50px);
22
-
23
- .pisell-virtual-keyboard-input {
24
- background-color: var(--virtual-keyboard-button-background-color, #ffffff);
25
- color: var(--virtual-keyboard-text-color, #000000);
26
- }
27
-
28
- .pisell-keyboard {
29
- background-color: var(--virtual-keyboard-keyboard-background-color, #f9f9f9);
30
-
31
- .pisell-keyboard-item {
32
- background-color: var(--virtual-keyboard-keyboard-button-background-color, #ffffff);
33
- color: var(--virtual-keyboard-keyboard-button-text-color, #000000);
34
-
35
- &:hover {
36
- background-color: var(--virtual-keyboard-keyboard-button-hover-color, #f5f5f5);
37
- }
38
-
39
- &.pisell-keyboard-item-primary {
40
- background-color: var(--virtual-keyboard-primary-button-background-color, #4ca30d);
41
- color: var(--virtual-keyboard-primary-button-text-color, #ffffff);
42
- }
43
- }
44
- }
45
13
  }
46
14
 
47
15
  .virtual-keyboard-component-right {
@@ -51,9 +51,19 @@ var Guide = (props) => {
51
51
  return (setting == null ? void 0 : setting.walletGuideConfig) || {};
52
52
  }, [setting == null ? void 0 : setting.walletGuideConfig]);
53
53
  const handleClick = (e) => {
54
- var _a2;
54
+ var _a2, _b2, _c2, _d2, _e2, _f2, _g2;
55
55
  e.stopPropagation();
56
56
  if (!((_a2 = _setting == null ? void 0 : _setting.skipLink) == null ? void 0 : _a2.page)) return;
57
+ if ((_d2 = (_c2 = (_b2 = utils == null ? void 0 : utils.interaction) == null ? void 0 : _b2.utils) == null ? void 0 : _c2.isAppEnv) == null ? void 0 : _d2.call(_c2)) {
58
+ (_g2 = (_f2 = (_e2 = utils == null ? void 0 : utils.interaction) == null ? void 0 : _e2.utils) == null ? void 0 : _f2.postMessageToApp) == null ? void 0 : _g2.call(_f2, {
59
+ module: "global",
60
+ key: "openNative",
61
+ data: {
62
+ link: _setting == null ? void 0 : _setting.skipLink
63
+ }
64
+ });
65
+ return;
66
+ }
57
67
  utils == null ? void 0 : utils.jumpPageByLink(_setting == null ? void 0 : _setting.skipLink);
58
68
  };
59
69
  return /* @__PURE__ */ import_react.default.createElement(
@@ -226,12 +226,11 @@ const AntdIconSetter = (props: AntdIconSetterProps) => {
226
226
  <Balloon
227
227
  className="lc-antd-icon-setter-balloon"
228
228
  trigger={triggerNode}
229
- autoAdjust
229
+ needAdjust
230
230
  triggerType="click"
231
231
  closable={false}
232
232
  alignEdge
233
- align="l"
234
- v2
233
+ align="lt"
235
234
  style={{ width: 300 }}
236
235
  >
237
236
  <div className="lc-antd-icon-setter-header">
@@ -21,137 +21,6 @@ const VirtualKeyboardMeta: ComponentMetadata = {
21
21
  name: "others",
22
22
  setter: ["JsonSetter", "VariableSetter"],
23
23
  },
24
- {
25
- name: 'selectType',
26
- title: { label: '选择类型', tip: 'selectType | 选择类型' },
27
- setter: {
28
- componentName: 'RadioGroupSetter',
29
- props: {
30
- options: [
31
- { title: 'Light', value: 'light' },
32
- { title: 'Dark', value: 'dark' },
33
- ],
34
- },
35
- },
36
- defaultValue: 'light',
37
- extraProps: {
38
- onChange: (value: string, target: any) => {
39
- // 根据主题切换自动设置颜色
40
- const isLight = value === 'light';
41
-
42
- target.getProps().setPropValue('backgroundColor', isLight ? '#ffffff' : 'rgba(0, 0, 0, 0.70)');
43
- target.getProps().setPropValue('containerBackgroundColor', isLight ? '#d0d5dd' : 'rgba(0, 0, 0, 0.40)');
44
- target.getProps().setPropValue('buttonBackgroundColor', '#ffffff');
45
- target.getProps().setPropValue('textColor', "#000000");
46
- target.getProps().setPropValue('keyboardBackgroundColor', isLight ? '#f9f9f9' : 'rgba(0, 0, 0, 0.40)');
47
- target.getProps().setPropValue('keyboardButtonBackgroundColor', '#ffffff');
48
- target.getProps().setPropValue('keyboardButtonTextColor', '#000000');
49
- target.getProps().setPropValue('keyboardButtonHoverColor', '#f5f5f5');
50
- target.getProps().setPropValue('primaryButtonBackgroundColor', '#4ca30d');
51
- target.getProps().setPropValue('primaryButtonTextColor', '#ffffff');
52
- }
53
- }
54
- },
55
- {
56
- name: "backgroundColor",
57
- title: {
58
- label: "背景色",
59
- tip: "backgroundColor | 背景色",
60
- },
61
- propType: "string",
62
- setter: "ColorSetter",
63
- defaultValue: "#ffffff",
64
- },
65
- {
66
- name: "containerBackgroundColor",
67
- title: {
68
- label: "容器背景色",
69
- tip: "containerBackgroundColor | 容器背景色",
70
- },
71
- propType: "string",
72
- setter: "ColorSetter",
73
- defaultValue: "#d0d5dd",
74
- },
75
- {
76
- name: "buttonBackgroundColor",
77
- title: {
78
- label: "按钮背景色",
79
- tip: "buttonBackgroundColor | 按钮背景色",
80
- },
81
- propType: "string",
82
- setter: "ColorSetter",
83
- defaultValue: "#ffffff",
84
- },
85
- {
86
- name: "textColor",
87
- title: {
88
- label: "文本颜色",
89
- tip: "textColor | 文本颜色",
90
- },
91
- propType: "string",
92
- setter: "ColorSetter",
93
- defaultValue: "#000000",
94
- },
95
- {
96
- name: "keyboardBackgroundColor",
97
- title: {
98
- label: "键盘背景色",
99
- tip: "keyboardBackgroundColor | 键盘背景色",
100
- },
101
- propType: "string",
102
- setter: "ColorSetter",
103
- defaultValue: "#f9f9f9",
104
- },
105
- {
106
- name: "keyboardButtonBackgroundColor",
107
- title: {
108
- label: "键盘按钮背景色",
109
- tip: "keyboardButtonBackgroundColor | 键盘按钮背景色",
110
- },
111
- propType: "string",
112
- setter: "ColorSetter",
113
- defaultValue: "#ffffff",
114
- },
115
- {
116
- name: "keyboardButtonTextColor",
117
- title: {
118
- label: "键盘按钮文本颜色",
119
- tip: "keyboardButtonTextColor | 键盘按钮文本颜色",
120
- },
121
- propType: "string",
122
- setter: "ColorSetter",
123
- defaultValue: "#000000",
124
- },
125
- {
126
- name: "keyboardButtonHoverColor",
127
- title: {
128
- label: "键盘按钮悬停颜色",
129
- tip: "keyboardButtonHoverColor | 键盘按钮悬停颜色",
130
- },
131
- propType: "string",
132
- setter: "ColorSetter",
133
- defaultValue: "#f5f5f5",
134
- },
135
- {
136
- name: "primaryButtonBackgroundColor",
137
- title: {
138
- label: "主要按钮背景色",
139
- tip: "primaryButtonBackgroundColor | 主要按钮背景色",
140
- },
141
- propType: "string",
142
- setter: "ColorSetter",
143
- defaultValue: "#4ca30d",
144
- },
145
- {
146
- name: "primaryButtonTextColor",
147
- title: {
148
- label: "主要按钮文本颜色",
149
- tip: "primaryButtonTextColor | 主要按钮文本颜色",
150
- },
151
- propType: "string",
152
- setter: "ColorSetter",
153
- defaultValue: "#ffffff",
154
- },
155
24
  ],
156
25
  configure: {
157
26
  supports: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/materials",
3
- "version": "6.2.36",
3
+ "version": "6.3.2",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -55,8 +55,6 @@
55
55
  "@dnd-kit/modifiers": "^6.0.1",
56
56
  "@dnd-kit/sortable": "^7.0.2",
57
57
  "@dnd-kit/utilities": "^3.2.1",
58
- "@react-spring/web": "^9.6.1",
59
- "@use-gesture/react": "^10.3.1",
60
58
  "@zxing/library": "0.21.2",
61
59
  "ahooks": "^3.7.6",
62
60
  "antd": "^5.6.3",
@@ -65,17 +63,17 @@
65
63
  "crypto-js": "^4.2.0",
66
64
  "dayjs": "^1.11.8",
67
65
  "libphonenumber-js": "^1.11.17",
68
- "react-barcode": "^1.5.3",
69
66
  "react-infinite-scroll-component": "^6.1.0",
70
67
  "react-resizable": "^3.0.5",
71
68
  "react-virtualized-auto-sizer": "^1.0.20",
72
69
  "react-window": "^1.8.10",
73
70
  "styled-components": "^6.0.0-rc.3",
74
71
  "swiper": "^8.4.7",
72
+ "react-barcode": "^1.5.3",
75
73
  "vod-js-sdk-v6": "^1.4.11",
76
74
  "@pisell/date-picker": "3.0.4",
77
- "@pisell/utils": "3.0.0",
78
- "@pisell/icon": "0.0.11"
75
+ "@pisell/icon": "0.0.11",
76
+ "@pisell/utils": "3.0.0"
79
77
  },
80
78
  "peerDependencies": {
81
79
  "react": "^18.0.0",
@@ -1 +0,0 @@
1
- .materials-grid{display:flex;flex-direction:column;height:100%;width:100%}.materials-grid-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.materials-grid-header .right-wrap{align-items:center;display:flex;gap:8px}.materials-grid-actions{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.materials-grid-actions .left-wrap{align-items:center;display:flex;flex:1 1}.materials-grid-actions .left-wrap .pisell-lowcode-form-item{margin-bottom:0}.materials-grid-actions .right-wrap{align-items:center;display:flex;gap:8px}.materials-grid-actions .right-wrap .icon{cursor:pointer;transition:.2s}.materials-grid-actions .right-wrap .icon:hover{color:var(--theme-color)}.materials-grid-actions .right-wrap .button{align-items:center;display:flex;font-size:12px;height:28px;justify-content:center}.filter-dropdown-wrap{display:flex;flex-direction:column;max-height:400px;max-width:calc(100vw - 24px);min-width:250px;padding:4px;width:400px}.filter-dropdown-wrap .filter-dropdown-wrap-content{flex:1 1;overflow:auto}.filter-dropdown-wrap .filter-dropdown-drag-item{align-items:center;background:#f9fafb;background:var(--gray-50,#f9fafb);border-radius:8px;display:flex;margin-bottom:12px;padding:8px 12px 12px}.filter-dropdown-wrap .filter-dropdown-drag-item .dots-six-icon{color:#98a2b3;cursor:pointer;font-size:24px}.filter-dropdown-wrap .filter-dropdown-drag-item .pisell-lowcode-form-item{margin-bottom:0}.filter-dropdown-wrap .filter-dropdown-drag-item .filter-dropdown-drag-item-right{flex:1 1;margin-left:16px}.filter-dropdown-wrap .filter-dropdown-drag-item .filter-dropdown-drag-item-right .filter-dropdown-drag-item-title{color:#777;color:var(--text-text-2,#777);font-size:14px;font-style:normal;font-weight:600;line-height:20px}.filter-dropdown-container-wrap{border-bottom:1px solid #e2e2e2;border-bottom:1px solid var(--surface-surface-4,#e2e2e2);margin-bottom:20px;min-height:70px}.filter-dropdown-container-wrap:last-child{border:none}.filter-dropdown-container-wrap .filter-dropdown-container-title-wrap{align-items:center;color:#919191;color:var(--text-text-3,#919191);display:flex;font-size:16px;font-style:normal;font-weight:600;line-height:22px;margin-bottom:12px}.filter-dropdown-container-wrap .filter-dropdown-container-title-wrap .filter-dropdown-container-title{color:#101828;color:var(--gray-900,#101828);font-size:16px;font-style:normal;font-weight:600;line-height:24px;margin-right:6px}.filter-dropdown-container-wrap .filter-dropdown-container-title-wrap .filter-dropdown-container-icon-help{color:#98a2b3;color:var(--gray-400,#98a2b3);font-size:20px}.filter-dropdown-container-wrap .filter-dropdown-container-filter-wrap{min-height:80px}.materials-sort-list-empty{color:#5a5a5a;display:block;padding-top:22px;text-align:center}.materials-grid-summary{margin-bottom:16px}.grid-view-table-wrap{position:relative}.materials-grid-paginator{align-items:center;background-color:#fff;border:1px solid #f0f0f0;border-radius:0 0 8px 8px;border-top:none;display:flex;height:50px;justify-content:center;margin:0!important;padding:0 20px;width:100%}.materials-grid-paginator .pisell-lowcode-pagination-total-text{color:#667085;color:var(--gray-500,#667085);font-size:14px;font-style:normal;font-weight:500;margin-right:auto}.materials-grid-paginator .pisell-lowcode-pagination-item{border:1px solid #d0d5dd;border-radius:0;border-right:0;margin:0;position:relative}.materials-grid-paginator .pisell-lowcode-pagination-jump-next,.materials-grid-paginator .pisell-lowcode-pagination-jump-prev{border:1px solid #d0d5dd;border-radius:0;border-right:none;margin:0}.materials-grid-paginator .pisell-lowcode-pagination-item-link:hover{color:rgba(0,0,0,.88)!important;font-weight:450!important}.materials-grid-paginator .pisell-lowcode-pagination-item-link:hover .pisell-lowcode-pagination-item-link-icon{color:rgba(0,0,0,.88)!important;font-weight:450!important}.materials-grid-paginator .pisell-lowcode-pagination-item-active:hover{border-color:#d0d5dd!important}.materials-grid-paginator .pisell-lowcode-pagination-item-active{background-color:rgba(0,0,0,.06)}.materials-grid-paginator .pisell-lowcode-pagination-item-active a{color:rgba(0,0,0,.88)!important;font-weight:450!important}.materials-grid-paginator .pisell-lowcode-pagination-prev{align-items:center;border:1px solid #d0d5dd;border-radius:8px 0 0 8px;border-right:none;display:flex;justify-content:center;margin:0;min-width:auto}.materials-grid-paginator .pisell-lowcode-pagination-next{align-items:center;border:1px solid #d0d5dd;border-radius:0 8px 8px 0;display:flex;justify-content:center;margin:0;min-width:auto}.paginator-page-btn{align-items:center;border-radius:4px 4px 4px 4px;color:#344054;color:var(--gray-700,#344054);cursor:pointer;display:flex;font-size:12px;font-weight:400;justify-content:center;padding:10px 16px;transition:.2s;-ms-user-select:none;user-select:none}.paginator-page-btn .paginator-page-btn-text{font-weight:600}.paginator-page-btn .paginator-page-btn-left-icon,.paginator-page-btn .paginator-page-btn-right-icon{font-size:20px}.paginator-page-btn .paginator-page-btn-left-icon{margin-right:8px}.paginator-page-btn .paginator-page-btn-right-icon{margin-left:8px}.paginator-page-btn.left{margin-right:auto}.paginator-page-btn.left .icon{font-size:18px;margin-right:8px}.paginator-page-btn.right{margin-left:auto}.paginator-page-btn.right .icon{font-size:18px;margin-left:8px;transform:rotate(180deg)}.materials-grid-paginator-mini{align-items:center;background-color:#fff;border:1px solid #f0f0f0;border-radius:0 0 8px 8px;border-top:none;display:flex;height:50px;justify-content:space-between;margin:0!important;overflow:hidden;padding:0 20px;width:100%}.materials-grid-paginator-mini .paginator-page-btn{padding:8px}.materials-grid-paginator-mini .materials-grid-paginator-center{align-items:center;display:flex;gap:4px;justify-content:center}.materials-grid-paginator-mini .materials-grid-paginator-center .materials-grid-paginator-center-text{color:#344054;color:var(--gray-700,#344054);font-size:14px;font-style:normal;font-weight:400}.materials-grid-paginator-mini .materials-grid-paginator-center .materials-grid-paginator-center-value{color:#344054;color:var(--gray-700,#344054);font-size:14px;font-style:normal;font-weight:500}.materials-grid-paginator-mini .pisell-lowcode-pagination-next,.materials-grid-paginator-mini .pisell-lowcode-pagination-prev{border:1px solid #d0d5dd;border-radius:8px;margin:0}.materials-grid-paginator-mini .pisell-lowcode-pagination-next .paginator-page-btn-left-icon,.materials-grid-paginator-mini .pisell-lowcode-pagination-prev .paginator-page-btn-left-icon{margin-right:0}.materials-grid-paginator-mini .pisell-lowcode-pagination-next .paginator-page-btn-right-icon,.materials-grid-paginator-mini .pisell-lowcode-pagination-prev .paginator-page-btn-right-icon{margin-left:0}.react-resizable{position:relative}.react-resizable-handle{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgd2lkdGg9IjYiIGhlaWdodD0iNiI+PHBhdGggZD0iTTYgNkgwVjQuMmg0LjJWMEg2djZaIiBvcGFjaXR5PSIuMzAyIi8+PC9zdmc+);background-origin:content-box;background-position:100% 100%;background-repeat:no-repeat;box-sizing:border-box;height:20px;padding:0 3px 3px 0;position:absolute;width:20px}.react-resizable-handle-sw{bottom:0;cursor:sw-resize;left:0;transform:rotate(90deg)}.react-resizable-handle-se{bottom:0;cursor:se-resize;right:0}.react-resizable-handle-nw{cursor:nw-resize;left:0;top:0;transform:rotate(180deg)}.react-resizable-handle-ne{cursor:ne-resize;right:0;top:0;transform:rotate(270deg)}.react-resizable-handle-e,.react-resizable-handle-w{cursor:ew-resize;margin-top:-10px;top:50%}.react-resizable-handle-w{left:0;transform:rotate(135deg)}.react-resizable-handle-e{right:0;transform:rotate(315deg)}.react-resizable-handle-n,.react-resizable-handle-s{cursor:ns-resize;left:50%;margin-left:-10px}.react-resizable-handle-n{top:0;transform:rotate(225deg)}.react-resizable-handle-s{bottom:0;transform:rotate(45deg)}.materials-grid-table-header-cell{align-items:center;display:flex;height:44px;padding:0 14px}.materials-grid-table-header-cell .field-icon{color:#777;font-size:18px}.materials-grid-table-header-cell .materials-grid-table-header-cell-content{color:#1b1b1b;flex:auto;font-size:14px;font-weight:600;overflow:hidden;padding-right:10px;text-overflow:ellipsis;white-space:nowrap;word-break:break-all}.materials-grid-table-header-cell .actions{align-items:center;display:flex;gap:8px}.materials-grid-table-header-cell .actions .action{color:#ababab;cursor:pointer;font-size:14px}.editable-cell-value-wrap{height:100%;width:100%}.materials-grid-table-cell{height:1px;padding:0!important}.cell-provider{align-items:center;border-radius:4px;cursor:pointer;display:flex;height:100%;justify-content:center;padding:12px;position:relative;width:100%}.cell-provider.focus{box-shadow:var(--theme-color) 0 0 0 1px!important}