@pisell/materials 6.3.4 → 6.4.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 +4 -4
  6. package/build/lowcode/preview.js +150 -150
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +28 -24
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +34 -30
  11. package/es/components/DragSortList/index.js +6 -6
  12. package/es/components/classicLayout/index.js +4 -5
  13. package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
  14. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
  15. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
  16. package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  17. package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
  18. package/es/components/dataSourceComponents/fields/index.d.ts +10 -10
  19. package/es/components/filter/index.d.ts +1 -0
  20. package/es/components/icon/index.js +5 -5
  21. package/es/components/iconfont/index.js +1 -1
  22. package/es/components/list/index.d.ts +1 -0
  23. package/es/components/list/index.js +6 -6
  24. package/es/components/pisell-config-provider/context.d.ts +2 -0
  25. package/es/components/pisell-config-provider/index.d.ts +1 -0
  26. package/es/components/pisellAdjustPrice/index.js +5 -1
  27. package/es/components/pisellAdjustPrice/type.d.ts +2 -0
  28. package/es/components/pisellCardList/index.d.ts +32 -2
  29. package/es/components/pisellCardList/index.js +42 -3
  30. package/es/components/pisellCardList/index.less +9 -1
  31. package/es/components/pisellCheckboxGroup/index.d.ts +4 -0
  32. package/es/components/pisellCheckboxGroup/index.js +23 -4
  33. package/es/components/pisellCheckboxGroup/index.less +28 -1
  34. package/es/components/pisellGoodPassCard/index.d.ts +1 -0
  35. package/es/components/pisellGoodPassCard/index.js +17 -5
  36. package/es/components/pisellText/components/Amount/index.js +2 -1
  37. package/es/components/pisellToast/index.js +3 -0
  38. package/es/components/pisellWalletPassCard/index.d.ts +53 -1
  39. package/es/components/pisellWalletPassCard/index.js +333 -75
  40. package/es/components/pisellWalletPassCard/index.less +48 -11
  41. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +3 -0
  42. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.js +80 -0
  43. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.less +75 -0
  44. package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +3 -0
  45. package/es/components/productCard/cartSkuCard/components/MultiDay/index.js +82 -0
  46. package/es/components/productCard/cartSkuCard/components/MultiDay/index.less +31 -0
  47. package/es/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +14 -0
  48. package/es/components/productCard/cartSkuCard/components/MultiDay/utils.js +56 -0
  49. package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +3 -0
  50. package/es/components/productCard/cartSkuCard/components/Note/index.js +29 -0
  51. package/es/components/productCard/cartSkuCard/components/Note/index.less +27 -0
  52. package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +27 -0
  53. package/es/components/productCard/cartSkuCard/components/basicInfo/index.js +93 -0
  54. package/es/components/productCard/cartSkuCard/components/basicInfo/index.less +117 -0
  55. package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +2 -0
  56. package/es/components/productCard/cartSkuCard/components/discountReason/index.js +51 -0
  57. package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +3 -0
  58. package/es/components/productCard/cartSkuCard/components/holders/index.js +32 -0
  59. package/es/components/productCard/cartSkuCard/components/holders/index.less +32 -0
  60. package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +10 -0
  61. package/es/components/productCard/cartSkuCard/components/packages/index.js +52 -0
  62. package/es/components/productCard/cartSkuCard/components/packages/index.less +22 -0
  63. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +20 -0
  64. package/es/components/productCard/cartSkuCard/components/packages/utils.js +40 -0
  65. package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +3 -0
  66. package/es/components/productCard/cartSkuCard/components/resources/index.js +39 -0
  67. package/es/components/productCard/cartSkuCard/components/resources/index.less +19 -0
  68. package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +12 -0
  69. package/es/components/productCard/cartSkuCard/components/sales/index.js +57 -0
  70. package/es/components/productCard/cartSkuCard/components/sales/index.less +22 -0
  71. package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +3 -0
  72. package/es/components/productCard/cartSkuCard/components/specs/index.js +44 -0
  73. package/es/components/productCard/cartSkuCard/components/specs/index.less +34 -0
  74. package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +45 -0
  75. package/es/components/productCard/cartSkuCard/components/swipeAction/index.js +292 -0
  76. package/es/components/productCard/cartSkuCard/components/swipeAction/index.less +35 -0
  77. package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +6 -0
  78. package/es/components/productCard/cartSkuCard/components/timeRange/index.js +54 -0
  79. package/es/components/productCard/cartSkuCard/components/timeRange/index.less +38 -0
  80. package/es/components/productCard/cartSkuCard/index.d.ts +10 -0
  81. package/es/components/productCard/cartSkuCard/index.js +201 -0
  82. package/es/components/productCard/cartSkuCard/index.less +33 -0
  83. package/es/components/productCard/cartSkuCard/locales.d.ts +96 -0
  84. package/es/components/productCard/cartSkuCard/locales.js +30 -0
  85. package/es/components/productCard/components/Action/index.js +14 -1
  86. package/es/components/productCard/components/Action/index.less +3 -0
  87. package/es/components/productCard/components/Header/index.js +23 -8
  88. package/es/components/productCard/components/Header/index.less +16 -1
  89. package/es/components/productCard/components/Sales/index.js +2 -2
  90. package/es/components/productCard/components/Time/components/SelectHolderModal/index.js +3 -1
  91. package/es/components/productCard/components/Time/components/SelectHolderModal/index.less +3 -0
  92. package/es/components/productCard/index.d.ts +3 -1
  93. package/es/components/productCard/index.js +5 -2
  94. package/es/components/productCard/index.less +6 -0
  95. package/es/components/productCard/locales.js +3 -0
  96. package/es/components/qrcode/index.js +1 -1
  97. package/es/components/sort/components/InlineMenu/index.js +1 -1
  98. package/es/components/table/Actions/component/ButtonIcon/index.js +5 -5
  99. package/es/components/table/Actions/component/ViewMode/index.js +1 -1
  100. package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.js +4 -5
  101. package/es/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  102. package/es/components/table/Header/Buttons/index.js +5 -5
  103. package/es/components/table/Table/AddFieldModal/index.d.ts +1 -0
  104. package/es/components/table/Table/AddFieldModal/index.js +13 -13
  105. package/es/components/table/Table/AddFieldModal/index.less +11 -11
  106. package/es/components/table/Table/SelectField/index.d.ts +1 -0
  107. package/es/components/table/Table/SelectField/index.js +4 -4
  108. package/es/components/table/Table/fields/date/Edit/index.js +1 -1
  109. package/es/components/table/Table/fields/index.d.ts +3 -2
  110. package/es/components/table/Table/fields/link/Edit/index.js +5 -5
  111. package/es/components/table/Table/fields/rangePicker/filterUtil/index.js +1 -1
  112. package/es/components/table/Table/fields/search/filterUtil/index.js +0 -1
  113. package/es/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  114. package/es/components/table/Table/fields/text/Show/index.d.ts +1 -0
  115. package/es/components/table/Table/fields/text/Show/index.js +4 -4
  116. package/es/components/table/Table/fields/text/filterUtil/index.js +0 -1
  117. package/es/components/table/Table/fields/text/index.d.ts +1 -0
  118. package/es/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  119. package/es/components/table/Table/tableConfig/SortRow/index.js +2 -2
  120. package/es/components/table/Table/tableConfig/body/CellContent/index.js +3 -3
  121. package/es/components/table/Table/tableConfig/body/CellProvider/index.js +8 -8
  122. package/es/components/table/Table/utils.d.ts +1 -1
  123. package/es/components/table/hooks/useMergeColumnSetting.js +1 -2
  124. package/es/components/table/hooks/useTransDataSourceGroupSetting.js +5 -5
  125. package/es/components/table/hooks/useTransFilterSetting.js +5 -5
  126. package/es/components/translation/utils.js +5 -5
  127. package/es/components/virtual-keyboard/Number/index.js +4 -1
  128. package/es/components/virtual-keyboard/Number/types.d.ts +1 -0
  129. package/es/components/virtual-keyboard/index.d.ts +11 -0
  130. package/es/components/virtual-keyboard/index.js +88 -3
  131. package/es/components/virtual-keyboard/index.less +33 -1
  132. package/es/components/walletCard/Guide/index.js +12 -1
  133. package/es/hooks/useResponsive.js +2 -2
  134. package/es/index.d.ts +1 -0
  135. package/es/locales/en-US.d.ts +6 -0
  136. package/es/locales/en-US.js +9 -2
  137. package/es/locales/zh-CN.d.ts +6 -0
  138. package/es/locales/zh-CN.js +9 -2
  139. package/es/locales/zh-TW.d.ts +6 -0
  140. package/es/locales/zh-TW.js +9 -2
  141. package/es/utils/hoc.js +1 -1
  142. package/es/utils/index.d.ts +1 -1
  143. package/es/utils/miniRedux.js +8 -9
  144. package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
  145. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
  146. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
  147. package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  148. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
  149. package/lib/components/dataSourceComponents/fields/index.d.ts +10 -10
  150. package/lib/components/filter/index.d.ts +1 -0
  151. package/lib/components/iconfont/index.js +1 -1
  152. package/lib/components/list/index.d.ts +1 -0
  153. package/lib/components/lowCodePage/index.js +1 -2
  154. package/lib/components/pisell-config-provider/context.d.ts +2 -0
  155. package/lib/components/pisell-config-provider/index.d.ts +1 -0
  156. package/lib/components/pisellAdjustPrice/index.js +4 -0
  157. package/lib/components/pisellAdjustPrice/type.d.ts +2 -0
  158. package/lib/components/pisellCardList/index.d.ts +32 -2
  159. package/lib/components/pisellCardList/index.js +42 -3
  160. package/lib/components/pisellCardList/index.less +9 -1
  161. package/lib/components/pisellCheckboxGroup/index.d.ts +4 -0
  162. package/lib/components/pisellCheckboxGroup/index.js +22 -1
  163. package/lib/components/pisellCheckboxGroup/index.less +28 -1
  164. package/lib/components/pisellGoodPassCard/index.d.ts +1 -0
  165. package/lib/components/pisellGoodPassCard/index.js +31 -4
  166. package/lib/components/pisellText/components/Amount/index.js +2 -1
  167. package/lib/components/pisellToast/index.js +3 -0
  168. package/lib/components/pisellWalletPassCard/index.d.ts +53 -1
  169. package/lib/components/pisellWalletPassCard/index.js +253 -59
  170. package/lib/components/pisellWalletPassCard/index.less +48 -11
  171. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +3 -0
  172. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.js +80 -0
  173. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.less +75 -0
  174. package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +3 -0
  175. package/lib/components/productCard/cartSkuCard/components/MultiDay/index.js +71 -0
  176. package/lib/components/productCard/cartSkuCard/components/MultiDay/index.less +31 -0
  177. package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +14 -0
  178. package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.js +77 -0
  179. package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +3 -0
  180. package/lib/components/productCard/cartSkuCard/components/Note/index.js +56 -0
  181. package/lib/components/productCard/cartSkuCard/components/Note/index.less +27 -0
  182. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +27 -0
  183. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.js +82 -0
  184. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.less +117 -0
  185. package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +2 -0
  186. package/lib/components/productCard/cartSkuCard/components/discountReason/index.js +70 -0
  187. package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +3 -0
  188. package/lib/components/productCard/cartSkuCard/components/holders/index.js +52 -0
  189. package/lib/components/productCard/cartSkuCard/components/holders/index.less +32 -0
  190. package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +10 -0
  191. package/lib/components/productCard/cartSkuCard/components/packages/index.js +73 -0
  192. package/lib/components/productCard/cartSkuCard/components/packages/index.less +22 -0
  193. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +20 -0
  194. package/lib/components/productCard/cartSkuCard/components/packages/utils.js +44 -0
  195. package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +3 -0
  196. package/lib/components/productCard/cartSkuCard/components/resources/index.js +71 -0
  197. package/lib/components/productCard/cartSkuCard/components/resources/index.less +19 -0
  198. package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +12 -0
  199. package/lib/components/productCard/cartSkuCard/components/sales/index.js +77 -0
  200. package/lib/components/productCard/cartSkuCard/components/sales/index.less +22 -0
  201. package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +3 -0
  202. package/lib/components/productCard/cartSkuCard/components/specs/index.js +66 -0
  203. package/lib/components/productCard/cartSkuCard/components/specs/index.less +34 -0
  204. package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +45 -0
  205. package/lib/components/productCard/cartSkuCard/components/swipeAction/index.js +339 -0
  206. package/lib/components/productCard/cartSkuCard/components/swipeAction/index.less +35 -0
  207. package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +6 -0
  208. package/lib/components/productCard/cartSkuCard/components/timeRange/index.js +68 -0
  209. package/lib/components/productCard/cartSkuCard/components/timeRange/index.less +38 -0
  210. package/lib/components/productCard/cartSkuCard/index.d.ts +10 -0
  211. package/lib/components/productCard/cartSkuCard/index.js +239 -0
  212. package/lib/components/productCard/cartSkuCard/index.less +33 -0
  213. package/lib/components/productCard/cartSkuCard/locales.d.ts +96 -0
  214. package/lib/components/productCard/cartSkuCard/locales.js +61 -0
  215. package/lib/components/productCard/components/Action/index.js +9 -0
  216. package/lib/components/productCard/components/Action/index.less +3 -0
  217. package/lib/components/productCard/components/Header/index.js +21 -11
  218. package/lib/components/productCard/components/Header/index.less +16 -1
  219. package/lib/components/productCard/components/Sales/index.js +2 -2
  220. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.js +1 -1
  221. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.less +3 -0
  222. package/lib/components/productCard/index.d.ts +3 -1
  223. package/lib/components/productCard/index.js +6 -2
  224. package/lib/components/productCard/index.less +6 -0
  225. package/lib/components/productCard/locales.js +12 -3
  226. package/lib/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  227. package/lib/components/table/Table/AddFieldModal/index.d.ts +1 -0
  228. package/lib/components/table/Table/AddFieldModal/index.js +9 -9
  229. package/lib/components/table/Table/AddFieldModal/index.less +11 -11
  230. package/lib/components/table/Table/SelectField/index.d.ts +1 -0
  231. package/lib/components/table/Table/fields/date/filterUtil/index.js +3 -6
  232. package/lib/components/table/Table/fields/index.d.ts +3 -2
  233. package/lib/components/table/Table/fields/rangePicker/filterUtil/index.js +4 -8
  234. package/lib/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  235. package/lib/components/table/Table/fields/text/Show/index.d.ts +1 -0
  236. package/lib/components/table/Table/fields/text/index.d.ts +1 -0
  237. package/lib/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  238. package/lib/components/table/Table/fields/utils/index.js +1 -2
  239. package/lib/components/table/Table/utils.d.ts +1 -1
  240. package/lib/components/virtual-keyboard/Number/index.js +3 -0
  241. package/lib/components/virtual-keyboard/Number/types.d.ts +1 -0
  242. package/lib/components/virtual-keyboard/index.d.ts +11 -0
  243. package/lib/components/virtual-keyboard/index.js +60 -2
  244. package/lib/components/virtual-keyboard/index.less +33 -1
  245. package/lib/components/walletCard/Guide/index.js +11 -1
  246. package/lib/hooks/useResponsive.js +3 -6
  247. package/lib/index.d.ts +1 -0
  248. package/lib/locales/en-US.d.ts +6 -0
  249. package/lib/locales/en-US.js +9 -2
  250. package/lib/locales/zh-CN.d.ts +6 -0
  251. package/lib/locales/zh-CN.js +9 -2
  252. package/lib/locales/zh-TW.d.ts +6 -0
  253. package/lib/locales/zh-TW.js +9 -2
  254. package/lib/utils/index.d.ts +1 -1
  255. package/lowcode/_setters/antd-icon-setter/index.tsx +3 -2
  256. package/lowcode/pisell-card-list/meta.ts +50 -1
  257. package/lowcode/pisell-wallet-pass-card/actionsMeta.ts +7 -0
  258. package/lowcode/virtual-keyboard/meta.ts +131 -0
  259. package/package.json +7 -4
  260. package/dist/umd/materials.min.css +0 -1
  261. package/dist/umd/materials.min.js +0 -1
  262. package/dist/umd/static/DotsSix.57d66266.svg +0 -1
  263. package/dist/umd/static/arrow-left.e542294f.svg +0 -1
  264. package/dist/umd/static/arrow-right.763f03e0.svg +0 -1
  265. package/dist/umd/static/filter-lines.04a54ae9.svg +0 -1
  266. package/dist/umd/static/help-circle.31c9be40.svg +0 -1
  267. package/dist/umd/static/switch-vertical-01.7ebe3ba8.svg +0 -1
@@ -44,10 +44,10 @@ var Sales = ({ item, isShowNote }) => {
44
44
  return {
45
45
  ...p,
46
46
  title: p == null ? void 0 : p.product_title,
47
- price: p == null ? void 0 : p.payment_price,
47
+ price: p == null ? void 0 : p.selling_price,
48
48
  symbol: item.symbol,
49
49
  num: p == null ? void 0 : p.product_quantity,
50
- total: p == null ? void 0 : p.payment_price
50
+ total: p == null ? void 0 : p.selling_price
51
51
  };
52
52
  });
53
53
  return (other_products == null ? void 0 : other_products.length) > 0 ? /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("div", { className: `${prefix}product-sales-wrap` }, /* @__PURE__ */ import_react.default.createElement("div", { className: `${prefix}product-sales-title` }, import_utils2.locales.getText("pisell2.product.card.sales")), /* @__PURE__ */ import_react.default.createElement(
@@ -154,7 +154,7 @@ var SelectHolderModal = (props) => {
154
154
  import_utils.locales.getText(
155
155
  "pisell2.product.card.add.holder.modal.cancel"
156
156
  )
157
- )), /* @__PURE__ */ import_react.default.createElement("div", null, /* @__PURE__ */ import_react.default.createElement(
157
+ )), /* @__PURE__ */ import_react.default.createElement("div", { className: "select-holder-modal-footer-right" }, /* @__PURE__ */ import_react.default.createElement(
158
158
  import_antd.Button,
159
159
  {
160
160
  size: "large",
@@ -35,5 +35,8 @@
35
35
  .select-holder-modal-clear-button {
36
36
  width: 132px;
37
37
  }
38
+ .select-holder-modal-footer-right {
39
+ display: flex;
40
+ }
38
41
  }
39
42
  }
@@ -1,5 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ProductCardTypes } from './types';
3
3
  import './index.less';
4
- declare const ProductCard: React.FC<ProductCardTypes>;
4
+ declare const ProductCard: React.FC<ProductCardTypes> & {
5
+ V2: any;
6
+ };
5
7
  export default ProductCard;
@@ -51,6 +51,7 @@ var import_status = require("./status");
51
51
  var import_useEngineContext = __toESM(require("../../hooks/useEngineContext"));
52
52
  var import_Warning = __toESM(require("./components/Warning"));
53
53
  var import_index = require("./index.less");
54
+ var import_cartSkuCard = __toESM(require("./cartSkuCard"));
54
55
  var ProductCard = (props) => {
55
56
  var _a, _b;
56
57
  const context = (0, import_useEngineContext.default)();
@@ -63,6 +64,7 @@ var ProductCard = (props) => {
63
64
  isShowDelete = import_status.defaultValue.isShowDelete,
64
65
  isShowPackageNote = import_status.defaultValue.isShowPackageNote,
65
66
  isShowEditProduct = import_status.defaultValue.isShowEditProduct,
67
+ scenario,
66
68
  onEditProduct,
67
69
  onAction,
68
70
  onDelete,
@@ -106,8 +108,9 @@ var ProductCard = (props) => {
106
108
  import_cardPro.default,
107
109
  {
108
110
  className: (0, import_classnames.default)("pisell-lowcode-product-card", {
109
- ["pisell-lowcode-product-card-image"]: !showImage,
110
- ["pisell-lowcode-normal-product-card"]: !showImage && isNormalProduct
111
+ ["pisell-lowcode-product-card-image"]: !showImage && scenario !== "booking2",
112
+ ["pisell-lowcode-normal-product-card"]: !showImage && isNormalProduct && scenario !== "booking2",
113
+ ["pisell-lowcode-product-card-image-booking2"]: scenario === "booking2"
111
114
  }),
112
115
  key: _id
113
116
  },
@@ -197,4 +200,5 @@ var ProductCard = (props) => {
197
200
  )
198
201
  );
199
202
  };
203
+ ProductCard.V2 = import_cartSkuCard.default;
200
204
  var productCard_default = ProductCard;
@@ -47,6 +47,12 @@
47
47
  }
48
48
  }
49
49
 
50
+ .pisell-lowcode-product-card-image-booking2 {
51
+ .pisell-cardPro-content {
52
+ padding: 4px;
53
+ }
54
+ }
55
+
50
56
  .pisell-lowcode-product-card-wrap {
51
57
  position: relative;
52
58
  }
@@ -42,7 +42,10 @@ var locales_default = {
42
42
  "pisell2.product.card.add.holder.placeholder": (val) => `Please select ${val || ""}`,
43
43
  "pisell2.product.card.add.holder.placeholder.multiple": (num, val) => `Please Select ${num} ${val || ""}`,
44
44
  "pisell2.product.card.add.holder.modal.title.1": `Please Select`,
45
- "pisell2.product.card.hour.minute": (hour, minute) => `${hour > 0 ? `${hour}h` : ""}${hour > 0 && minute > 0 ? " " : ""}${minute > 0 ? `${minute}min` : ""}`,
45
+ "pisell2.product.card.hour.minute": (hour, minute) => {
46
+ if (hour <= 0 && minute <= 0) return `${0}min`;
47
+ return `${hour > 0 ? `${hour}h` : ""}${hour > 0 && minute > 0 ? " " : ""}${minute > 0 ? `${minute}min` : ""}`;
48
+ },
46
49
  "pisell2.product.card.sales": "Sales",
47
50
  "pisell2.product.card.add.holder.modal.cancel": "Cancel",
48
51
  "pisell2.product.card.add.holder.modal.clear": "Clear",
@@ -69,7 +72,10 @@ var locales_default = {
69
72
  "pisell2.product.card.add.holder.placeholder": (val) => `请选择${val || ""}`,
70
73
  "pisell2.product.card.add.holder.placeholder.multiple": (num, val) => `请选择${num}${val || ""}`,
71
74
  "pisell2.product.card.add.holder.modal.title.1": `请选择`,
72
- "pisell2.product.card.hour.minute": (hour, minute) => `${hour > 0 ? `${hour}小时` : ""}${minute > 0 ? `${minute}分钟` : ""}`,
75
+ "pisell2.product.card.hour.minute": (hour, minute) => {
76
+ if (hour <= 0 && minute <= 0) return `${0}分钟`;
77
+ return `${hour > 0 ? `${hour}小时` : ""}${minute > 0 ? `${minute}分钟` : ""}`;
78
+ },
73
79
  "pisell2.product.card.sales": "销售",
74
80
  "pisell2.product.card.add.holder.modal.cancel": "取消",
75
81
  "pisell2.product.card.add.holder.modal.clear": "清除",
@@ -96,7 +102,10 @@ var locales_default = {
96
102
  "pisell2.product.card.add.holder.placeholder": (val) => `請選擇${val || ""}`,
97
103
  "pisell2.product.card.add.holder.placeholder.multiple": (num, val) => `請選擇${num}${val || ""}`,
98
104
  "pisell2.product.card.add.holder.modal.title.1": `請選擇`,
99
- "pisell2.product.card.hour.minute": (hour, minute) => `${hour > 0 ? `${hour}小時` : ""}${minute > 0 ? `${minute}分鐘` : ""}`,
105
+ "pisell2.product.card.hour.minute": (hour, minute) => {
106
+ if (hour <= 0 && minute <= 0) return `${0}分鐘`;
107
+ return `${hour > 0 ? `${hour}小時` : ""}${minute > 0 ? `${minute}分鐘` : ""}`;
108
+ },
100
109
  "pisell2.product.card.sales": "銷售",
101
110
  "pisell2.product.card.add.holder.modal.cancel": "取消",
102
111
  "pisell2.product.card.add.holder.modal.clear": "清除",
@@ -1,5 +1,5 @@
1
1
  declare const useGapSize: (gap: number | number[]) => {
2
- horizontal: any;
3
- vertical: any;
2
+ horizontal: number;
3
+ vertical: number;
4
4
  };
5
5
  export default useGapSize;
@@ -1,3 +1,4 @@
1
1
  import React from "react";
2
+ import "./index.less";
2
3
  declare const AddFieldModal: React.FC;
3
4
  export default AddFieldModal;
@@ -36,7 +36,7 @@ var import_iconfont = __toESM(require("../../../iconfont"));
36
36
  var import_antd = require("antd");
37
37
  var import_react = __toESM(require("react"));
38
38
  var import_SelectField = __toESM(require("../SelectField"));
39
- var import_index = __toESM(require("./index.less"));
39
+ var import_index = require("./index.less");
40
40
  var import_hooks = require("../../../../hooks");
41
41
  var import_model = require("../../model");
42
42
  var AddFieldModal = () => {
@@ -85,7 +85,7 @@ var AddFieldModal = () => {
85
85
  },
86
86
  onFinish: addField
87
87
  },
88
- /* @__PURE__ */ import_react.default.createElement("div", { className: import_index.default["add-field-modal"] }, /* @__PURE__ */ import_react.default.createElement(
88
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode-add-field-modal" }, /* @__PURE__ */ import_react.default.createElement(
89
89
  import_antd.Form.Item,
90
90
  {
91
91
  label: "Field Name",
@@ -101,13 +101,13 @@ var AddFieldModal = () => {
101
101
  import_antd.Input,
102
102
  {
103
103
  placeholder: "Field name (optional)",
104
- className: import_index.default["header-search"]
104
+ className: "pisell-lowcode-header-search"
105
105
  }
106
106
  )
107
- ), /* @__PURE__ */ import_react.default.createElement(import_SelectField.default, null), /* @__PURE__ */ import_react.default.createElement("div", { className: import_index.default["modal-footer"] }, /* @__PURE__ */ import_react.default.createElement("div", { className: import_index.default["add-describe"] }, /* @__PURE__ */ import_react.default.createElement(import_iconfont.default, { type: "pi-Plus", className: import_index.default["icon"] }), /* @__PURE__ */ import_react.default.createElement("span", { className: import_index.default["label"] }, "Add description")), /* @__PURE__ */ import_react.default.createElement("div", { className: import_index.default["btns"] }, /* @__PURE__ */ import_react.default.createElement(
107
+ ), /* @__PURE__ */ import_react.default.createElement(import_SelectField.default, null), /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode-modal-footer" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode-add-describe" }, /* @__PURE__ */ import_react.default.createElement(import_iconfont.default, { type: "pi-Plus", className: "pisell-lowcode-icon" }), /* @__PURE__ */ import_react.default.createElement("span", { className: "pisell-lowcode-label" }, "Add description")), /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode-btns" }, /* @__PURE__ */ import_react.default.createElement(
108
108
  "div",
109
109
  {
110
- className: import_index.default["cancel"],
110
+ className: "pisell-lowcode-cancel",
111
111
  onClick: () => {
112
112
  onCloseModal();
113
113
  }
@@ -116,7 +116,7 @@ var AddFieldModal = () => {
116
116
  ), /* @__PURE__ */ import_react.default.createElement(
117
117
  "div",
118
118
  {
119
- className: import_index.default["submit"],
119
+ className: "pisell-lowcode-submit",
120
120
  onClick: () => {
121
121
  form.submit();
122
122
  }
@@ -136,7 +136,7 @@ var AddFieldModal = () => {
136
136
  placement: "bottomRight",
137
137
  overlayInnerStyle: { padding: 0 },
138
138
  trigger: "click",
139
- overlayClassName: import_index.default["popover-wrap"],
139
+ overlayClassName: "pisell-lowcode-popover-wrap",
140
140
  onOpenChange: (e) => {
141
141
  if (!e) {
142
142
  onCloseModal();
@@ -146,11 +146,11 @@ var AddFieldModal = () => {
146
146
  },
147
147
  open: openModal
148
148
  },
149
- /* @__PURE__ */ import_react.default.createElement("div", { className: import_index.default["add-field-btn"] }, /* @__PURE__ */ import_react.default.createElement(
149
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode-add-field-btn" }, /* @__PURE__ */ import_react.default.createElement(
150
150
  import_iconfont.default,
151
151
  {
152
152
  type: "pi-a-Property3Add",
153
- className: import_index.default["add-field-icon"]
153
+ className: "pisell-lowcode-add-field-icon"
154
154
  }
155
155
  ))
156
156
  );
@@ -1,4 +1,4 @@
1
- .add-field-btn {
1
+ .pisell-lowcode-add-field-btn {
2
2
  position: absolute;
3
3
  right: 0;
4
4
  top: 0;
@@ -11,10 +11,10 @@
11
11
  box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -1px rgba(0, 0, 0, 0.06);
12
12
  cursor: pointer;
13
13
 
14
- .add-field-icon {}
14
+ .pisell-lowcode-add-field-icon {}
15
15
  }
16
16
 
17
- .popover-wrap {
17
+ .pisell-lowcode-popover-wrap {
18
18
  :global {
19
19
  .pisell-lowcode-popover-arrow {
20
20
  display: none;
@@ -22,11 +22,11 @@
22
22
  }
23
23
  }
24
24
 
25
- .add-field-modal {
25
+ .pisell-lowcode-add-field-modal {
26
26
  width: 360px;
27
27
  padding: 16px 16px 0 16px;
28
28
 
29
- .modal-footer {
29
+ .pisell-lowcode-modal-footer {
30
30
  display: flex;
31
31
  align-items: center;
32
32
  justify-content: space-between;
@@ -35,13 +35,13 @@
35
35
  padding: 0 16px;
36
36
  border-top: 1px solid #F1F1F1;
37
37
 
38
- .add-describe {
38
+ .pisell-lowcode-add-describe {
39
39
  cursor: pointer;
40
40
  display: flex;
41
41
  align-items: center;
42
42
  justify-content: center;
43
43
 
44
- .icon {
44
+ .pisell-lowcode-icon {
45
45
  width: 24px;
46
46
  height: 24px;
47
47
  display: flex;
@@ -51,27 +51,27 @@
51
51
  color: #1B1B1B;
52
52
  }
53
53
 
54
- .label {
54
+ .pisell-lowcode-label {
55
55
  margin-left: 2px;
56
56
  font-size: 14px;
57
57
  color: #777777;
58
58
  }
59
59
  }
60
60
 
61
- .btns {
61
+ .pisell-lowcode-btns {
62
62
  display: flex;
63
63
  align-items: center;
64
64
  justify-content: center;
65
65
  gap: 16px;
66
66
 
67
- .cancel {
67
+ .pisell-lowcode-cancel {
68
68
  cursor: pointer;
69
69
  font-weight: 400;
70
70
  font-size: 14px;
71
71
  color: #1B1B1B;
72
72
  }
73
73
 
74
- .submit {
74
+ .pisell-lowcode-submit {
75
75
  cursor: pointer;
76
76
  font-weight: 400;
77
77
  font-size: 14px;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const SelectField: () => JSX.Element;
2
3
  export default SelectField;
@@ -40,17 +40,14 @@ function filterUtil_default({
40
40
  key,
41
41
  item
42
42
  }) {
43
- if (!value)
44
- return true;
43
+ if (!value) return true;
45
44
  const valueDayjsObj = (0, import_dayjs.default)(value);
46
45
  if (!valueDayjsObj.isValid()) {
47
46
  return true;
48
47
  }
49
48
  const dataValue = (0, import_utils2.getValueByKeys)(item, key);
50
- if ((0, import_utils.isUndefined)(dataValue))
51
- return false;
49
+ if ((0, import_utils.isUndefined)(dataValue)) return false;
52
50
  const dataDayjsObj = (0, import_dayjs.default)(dataValue);
53
- if (!dataDayjsObj.isValid())
54
- return false;
51
+ if (!dataDayjsObj.isValid()) return false;
55
52
  return dataDayjsObj.isSame(valueDayjsObj, "day");
56
53
  }
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const fieldMaps: {
2
3
  text: {
3
4
  field: {
@@ -197,12 +198,12 @@ export declare const fieldList: ({
197
198
  field_icon: string;
198
199
  field_name: string;
199
200
  field_type: string;
200
- default_value: string;
201
+ default_value: boolean;
201
202
  } | {
202
203
  field_icon: string;
203
204
  field_name: string;
204
205
  field_type: string;
205
- default_value: boolean;
206
+ default_value: string;
206
207
  } | {
207
208
  field_icon: string;
208
209
  field_name: string;
@@ -43,19 +43,15 @@ function filterUtil_default({
43
43
  key,
44
44
  item
45
45
  }) {
46
- if (!value)
47
- return true;
48
- if ((value == null ? void 0 : value.length) !== 2)
49
- return true;
46
+ if (!value) return true;
47
+ if ((value == null ? void 0 : value.length) !== 2) return true;
50
48
  const valueDayjsObj = value.map((item2) => (0, import_dayjs.default)(item2 || ""));
51
49
  if (valueDayjsObj.some((item2) => !item2.isValid())) {
52
50
  return true;
53
51
  }
54
52
  const dataValue = (0, import_utils2.getValueByKeys)(item, key);
55
- if ((0, import_utils.isUndefined)(dataValue))
56
- return false;
53
+ if ((0, import_utils.isUndefined)(dataValue)) return false;
57
54
  const dataDayjsObj = (0, import_dayjs.default)(dataValue);
58
- if (!dataDayjsObj.isValid())
59
- return false;
55
+ if (!dataDayjsObj.isValid()) return false;
60
56
  return isDateInRange(dataDayjsObj, valueDayjsObj);
61
57
  }
@@ -2,4 +2,4 @@ export default function ({ value, key, item, }: {
2
2
  value: string | string[];
3
3
  key: string | string[];
4
4
  item: Record<string, any>;
5
- }): any;
5
+ }): boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FieldPropsType } from "../../types";
2
3
  import "./index.less";
3
4
  declare const Show: (props: FieldPropsType) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import filter from "./filterUtil";
2
3
  declare const _default: {
3
4
  field: {
@@ -2,4 +2,4 @@ export default function ({ value, key, item, }: {
2
2
  value: string | string[] | Record<string, any>[];
3
3
  key: string | string[];
4
4
  item: Record<string, any>;
5
- }): any;
5
+ }): boolean;
@@ -25,8 +25,7 @@ module.exports = __toCommonJS(utils_exports);
25
25
  var import_utils = require("@pisell/utils");
26
26
  var getValueByKeys = (obj, keys) => {
27
27
  var _a;
28
- if (!keys)
29
- return keys;
28
+ if (!keys) return keys;
30
29
  if ((0, import_utils.isString)(keys)) {
31
30
  keys = [keys];
32
31
  }
@@ -155,7 +155,7 @@ export declare const getSettingKeyArrByMode: ({ filter, columnSetting, dataSourc
155
155
  sort?: SortType | undefined;
156
156
  mode: "" | "localStorage" | "remote";
157
157
  currentViewMode: ModeType;
158
- }) => ("filter_setting" | "column_setting" | "gallery_setting" | "view_mode" | "group_by" | "order_by")[];
158
+ }) => ("order_by" | "group_by" | "column_setting" | "gallery_setting" | "filter_setting" | "view_mode")[];
159
159
  export declare const omit: (obj: Record<string, any>, keys: string[]) => Record<string, any>;
160
160
  export declare const stringify: (obj: Record<string, any>) => string;
161
161
  export {};
@@ -50,6 +50,7 @@ var Number = (props) => {
50
50
  placeholder,
51
51
  onEnter,
52
52
  selectType = "light",
53
+ defaultSelect,
53
54
  ...others
54
55
  } = props;
55
56
  const config = (0, import_usePisellConfig.default)();
@@ -98,11 +99,13 @@ var Number = (props) => {
98
99
  max,
99
100
  min,
100
101
  value,
102
+ defaultValue,
101
103
  onChange: setValue,
102
104
  placeholder,
103
105
  doneText,
104
106
  resetText,
105
107
  onEnter,
108
+ defaultSelect,
106
109
  rightItemsStyle: {
107
110
  buttonBackgroundColor: configColor.buttonBackgroundColor,
108
111
  textColor: configColor.textColor,
@@ -8,6 +8,7 @@ export interface NumberProps {
8
8
  value?: string | number;
9
9
  onChange?: (val: string | number) => void;
10
10
  onEnter?: (val: string | number) => void;
11
+ defaultSelect?: boolean;
11
12
  selectType?: 'light' | 'dark';
12
13
  backgroundColor?: string;
13
14
  containerBackgroundColor?: string;
@@ -9,6 +9,17 @@ interface VirtualKeyboardProps extends React.HTMLAttributes<HTMLDivElement> {
9
9
  style?: React.CSSProperties;
10
10
  onChange?: (value?: any) => void;
11
11
  value?: string;
12
+ selectType?: 'light' | 'dark';
13
+ backgroundColor?: string;
14
+ containerBackgroundColor?: string;
15
+ buttonBackgroundColor?: string;
16
+ textColor?: string;
17
+ keyboardBackgroundColor?: string;
18
+ keyboardButtonBackgroundColor?: string;
19
+ keyboardButtonTextColor?: string;
20
+ keyboardButtonHoverColor?: string;
21
+ primaryButtonBackgroundColor?: string;
22
+ primaryButtonTextColor?: string;
12
23
  }
13
24
  declare const VirtualKeyboard: (props: VirtualKeyboardProps) => JSX.Element;
14
25
  export default VirtualKeyboard;
@@ -37,6 +37,8 @@ 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"));
40
42
  var items = [
41
43
  {
42
44
  value: 1,
@@ -105,6 +107,32 @@ var items = [
105
107
  type: "primary"
106
108
  }
107
109
  ];
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
+ };
108
136
  var VirtualKeyboard = (props) => {
109
137
  const {
110
138
  virtualKeyInputProps,
@@ -113,15 +141,45 @@ var VirtualKeyboard = (props) => {
113
141
  keyboardProps,
114
142
  onChange,
115
143
  value,
116
- rightPanel
144
+ rightPanel,
145
+ selectType = "light",
146
+ ...others
117
147
  } = props;
148
+ const config = (0, import_usePisellConfig.default)();
118
149
  (0, import_react.useEffect)(() => {
119
150
  document.body.id = "body";
120
151
  }, []);
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]);
121
176
  return /* @__PURE__ */ import_react.default.createElement(
122
177
  "div",
123
178
  {
124
- className: (0, import_classnames.default)("virtual-keyboard-component", className),
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
+ }),
125
183
  style
126
184
  },
127
185
  /* @__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,14 +2,46 @@
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
+ }
5
14
  }
6
15
 
7
16
  .virtual-keyboard-component-left {
8
17
  padding: 10px;
9
18
  width: 380px;
10
19
  border-radius: 10px;
11
- background: var(--Gray-300, #D0D5DD);
20
+ background: var(--virtual-keyboard-container-background-color, #D0D5DD);
12
21
  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
+ }
13
45
  }
14
46
 
15
47
  .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(
@@ -35,8 +35,7 @@ var responsiveConfig = {
35
35
  function handleResize() {
36
36
  const oldInfo = info;
37
37
  calculate();
38
- if (oldInfo === info)
39
- return;
38
+ if (oldInfo === info) return;
40
39
  for (const subscriber of subscribers) {
41
40
  subscriber();
42
41
  }
@@ -58,8 +57,7 @@ function calculate() {
58
57
  }
59
58
  function configResponsive(config) {
60
59
  responsiveConfig = config;
61
- if (info)
62
- calculate();
60
+ if (info) calculate();
63
61
  }
64
62
  function useResponsive() {
65
63
  if (import_utils.isBrowser && !listening) {
@@ -70,8 +68,7 @@ function useResponsive() {
70
68
  }
71
69
  const [state, setState] = (0, import_react.useState)(info);
72
70
  (0, import_react.useEffect)(() => {
73
- if (!import_utils.isBrowser)
74
- return;
71
+ if (!import_utils.isBrowser) return;
75
72
  if (!listening) {
76
73
  window.addEventListener("resize", handleResize);
77
74
  }