@pisell/private-materials 6.8.84 → 6.8.85

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 (295) 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 +150 -164
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +11 -11
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +11 -11
  11. package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  12. package/es/components/booking/addons/model.d.ts +10 -1
  13. package/es/components/booking/components/footer/index.d.ts +0 -1
  14. package/es/components/booking/dashboard/serve.d.ts +1 -0
  15. package/es/components/booking/forms/model.d.ts +10 -1
  16. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  17. package/es/components/booking/forms/serve.d.ts +18 -0
  18. package/es/components/booking/info/client/serve.d.ts +2 -0
  19. package/es/components/booking/info/hooks/useInfoHolder.d.ts +11 -0
  20. package/es/components/booking/info/model.d.ts +10 -1
  21. package/es/components/booking/info/pet/serve.d.ts +1 -0
  22. package/es/components/booking/info/service/Lists.d.ts +3 -0
  23. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  24. package/es/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
  25. package/es/components/booking/info/service/serve.d.ts +34 -0
  26. package/es/components/booking/info/service/serviceManager/index.d.ts +20 -0
  27. package/es/components/booking/info/service2/utils.d.ts +219 -0
  28. package/es/components/booking/info2/serve.d.ts +6 -0
  29. package/es/components/booking/info2/service/addService/utils.d.ts +106 -0
  30. package/es/components/booking/info2/service/editNormalService/index.d.ts +3 -0
  31. package/es/components/booking/info2/service/editService/utils.d.ts +28 -0
  32. package/es/components/booking/info2/service/openNormalService.d.ts +34 -0
  33. package/es/components/booking/info2/utilsByBooking.d.ts +36 -0
  34. package/es/components/booking/model.d.ts +121 -0
  35. package/es/components/booking/notes/model.d.ts +10 -1
  36. package/es/components/booking/payments/model.d.ts +10 -1
  37. package/es/components/booking/utils.d.ts +182 -0
  38. package/es/components/checkout/components/CashPaymentModule/index.d.ts +26 -0
  39. package/es/components/checkout/components/PaymentDetailModal/index.d.ts +38 -0
  40. package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +85 -0
  41. package/es/components/checkout/components/ScrollableList/index.d.ts +5 -0
  42. package/es/components/checkout/hooks/useWalletPass.d.ts +1 -1
  43. package/es/components/checkout/utils/PaymentResultToastUtils.d.ts +32 -0
  44. package/es/components/eftposPay/amount.d.ts +2 -1
  45. package/es/components/eftposPay/app.d.ts +2 -1
  46. package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  47. package/es/components/eftposPay/component/fail/index.d.ts +1 -0
  48. package/es/components/eftposPay/component/fail/network.d.ts +1 -0
  49. package/es/components/eftposPay/component/fail/unknow.d.ts +1 -0
  50. package/es/components/eftposPay/component/manual/index.d.ts +1 -0
  51. package/es/components/eftposPay/component/signature/index.d.ts +1 -0
  52. package/es/components/eftposPay/component/step/index.d.ts +1 -0
  53. package/es/components/eftposPay/device.d.ts +1 -1
  54. package/es/components/eftposPay/hooks.d.ts +1 -1
  55. package/es/components/eftposPay/index.d.ts +1 -0
  56. package/es/components/eftposPay/linkly/index.d.ts +1 -0
  57. package/es/components/eftposPay/pay.d.ts +1 -0
  58. package/es/components/eftposPay/payo/config.d.ts +1 -0
  59. package/es/components/eftposPay/store/index.d.ts +5 -5
  60. package/es/components/eftposPay/tip.d.ts +1 -0
  61. package/es/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  62. package/es/components/eftposPay/windcave/windcave.d.ts +1 -0
  63. package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  64. package/es/components/eventBooking/index.d.ts +1 -0
  65. package/es/components/list/types.d.ts +178 -0
  66. package/es/components/list/utils/index.d.ts +19 -0
  67. package/es/components/pay/toB/components/Cache/index.d.ts +0 -1
  68. package/es/components/pay/toB/components/CardGroup/index.d.ts +1 -0
  69. package/es/components/pay/toC/model.d.ts +9 -1
  70. package/es/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
  71. package/es/components/schedules/model.d.ts +9 -1
  72. package/es/components/shoppingCart/components/Cart/Product.js +1 -1
  73. package/es/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +115 -0
  74. package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +84 -0
  75. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +11 -0
  76. package/es/components/ticketBooking/components/addServiceVariant/utils.d.ts +9 -0
  77. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +0 -1
  78. package/es/components/ticketBooking/context/OsKeyContext.d.ts +26 -0
  79. package/es/components/ticketBooking/context/index.d.ts +2 -0
  80. package/es/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +25 -0
  81. package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +16 -0
  82. package/es/components/ticketBooking/locales.d.ts +201 -0
  83. package/es/components/ticketBooking/serve.d.ts +288 -0
  84. package/es/components/ticketBooking/utils/index.d.ts +101 -0
  85. package/es/hooks/printer.d.ts +4 -0
  86. package/es/hooks/useEngineContext.d.ts +4 -0
  87. package/es/plus/productSelect/CategoryTabs/index.d.ts +21 -0
  88. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +1 -0
  89. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +1 -0
  90. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +1 -0
  91. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +1 -0
  92. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +1 -0
  93. package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +1 -0
  94. package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
  95. package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +7 -0
  96. package/es/plus/productSelect/ProductCard/SkuCard/index.d.ts +1 -0
  97. package/es/plus/productSelect/ProductCard/index.d.ts +47 -0
  98. package/es/plus/productSelect/ProductList/gridComponents.d.ts +46 -0
  99. package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
  100. package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +6 -0
  101. package/es/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +4 -0
  102. package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +1 -0
  103. package/es/plus/skuOptionsSelection/hooks/index.d.ts +3 -0
  104. package/es/plus/skuOptionsSelection/hooks/useLanguage.d.ts +2 -0
  105. package/es/plus/skuOptionsSelection/hooks/useStore.d.ts +2 -0
  106. package/es/plus/skuOptionsSelection/hooks/useSymbol.d.ts +2 -0
  107. package/es/plus/skuOptionsSelection/store/actions.d.ts +22 -0
  108. package/es/plus/skuOptionsSelection/store/createStore.d.ts +15 -0
  109. package/es/plus/skuOptionsSelection/store/index.d.ts +2 -0
  110. package/es/plus/skuOptionsSelection/store/store.d.ts +4 -0
  111. package/es/plus/skuOptionsSelection/types.d.ts +431 -0
  112. package/es/plus/skuOptionsSelection/utils/calculateOption.d.ts +6 -0
  113. package/es/plus/skuOptionsSelection/utils/checkSkuStatus.d.ts +37 -0
  114. package/es/plus/skuOptionsSelection/utils/index.d.ts +7 -0
  115. package/es/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
  116. package/es/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
  117. package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
  118. package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
  119. package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
  120. package/es/plus/webPosLogin/WebPosLoginCpt.d.ts +9 -0
  121. package/es/plus/webPosLogin/components/BrandPanel/index.d.ts +9 -0
  122. package/es/plus/webPosLogin/components/LoginPanel/index.d.ts +21 -0
  123. package/es/plus/webPosLogin/components/MediaDisplay/type.d.ts +54 -0
  124. package/es/plus/webPosLogin/index.d.ts +12 -0
  125. package/es/plus/webPosLogin/locales.d.ts +49 -0
  126. package/es/plus/webPosLogin/types.d.ts +286 -0
  127. package/es/pro/Cards/index.d.ts +1 -0
  128. package/es/pro/Selector/BatchSelectorDemo.d.ts +3 -0
  129. package/es/pro/Selector/Item.d.ts +14 -0
  130. package/es/pro/Selector/Selector.d.ts +14 -0
  131. package/es/pro/Selector/Selector.stories.d.ts +78 -0
  132. package/es/pro/Selector/SelectorGroup.d.ts +11 -0
  133. package/es/pro/Selector/components/Card/index.d.ts +57 -0
  134. package/es/pro/Selector/components/Card/types.d.ts +1 -0
  135. package/es/pro/Selector/components/Indicator/index.d.ts +20 -0
  136. package/es/pro/Selector/components/IntersectionObserver.d.ts +105 -0
  137. package/es/pro/Selector/components/LayoutContainer/index.d.ts +18 -0
  138. package/es/pro/Selector/components/Media/index.d.ts +6 -0
  139. package/es/pro/Selector/components/Media/types.d.ts +47 -0
  140. package/es/pro/Selector/components/index.d.ts +4 -0
  141. package/es/pro/Selector/demo.d.ts +3 -0
  142. package/es/pro/Selector/hooks/usePresetItemProps.d.ts +43 -0
  143. package/es/pro/Selector/hooks/usePresetProps.d.ts +24 -0
  144. package/es/pro/Selector/hooks/useSelectionController.d.ts +49 -0
  145. package/es/pro/Selector/index.d.ts +11 -0
  146. package/es/pro/Selector/locales.d.ts +36 -0
  147. package/es/pro/Selector/types.d.ts +212 -0
  148. package/es/pro/Selector/utils/index.d.ts +49 -0
  149. package/es/pro/skuDetailModal/locales.d.ts +103 -0
  150. package/es/pro/skuDetailModal/types.d.ts +354 -0
  151. package/es/pro/skuDetailModal/utils.d.ts +4 -0
  152. package/es/test/setup.d.ts +1 -0
  153. package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  154. package/lib/components/booking/addons/model.d.ts +10 -1
  155. package/lib/components/booking/components/footer/index.d.ts +0 -1
  156. package/lib/components/booking/dashboard/serve.d.ts +1 -0
  157. package/lib/components/booking/forms/model.d.ts +10 -1
  158. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  159. package/lib/components/booking/forms/serve.d.ts +18 -0
  160. package/lib/components/booking/info/client/serve.d.ts +2 -0
  161. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +11 -0
  162. package/lib/components/booking/info/model.d.ts +10 -1
  163. package/lib/components/booking/info/pet/serve.d.ts +1 -0
  164. package/lib/components/booking/info/service/Lists.d.ts +3 -0
  165. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  166. package/lib/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
  167. package/lib/components/booking/info/service/serve.d.ts +34 -0
  168. package/lib/components/booking/info/service/serviceManager/index.d.ts +20 -0
  169. package/lib/components/booking/info/service2/utils.d.ts +219 -0
  170. package/lib/components/booking/info2/serve.d.ts +6 -0
  171. package/lib/components/booking/info2/service/addService/utils.d.ts +106 -0
  172. package/lib/components/booking/info2/service/editNormalService/index.d.ts +3 -0
  173. package/lib/components/booking/info2/service/editService/utils.d.ts +28 -0
  174. package/lib/components/booking/info2/service/openNormalService.d.ts +34 -0
  175. package/lib/components/booking/info2/utilsByBooking.d.ts +36 -0
  176. package/lib/components/booking/model.d.ts +121 -0
  177. package/lib/components/booking/notes/model.d.ts +10 -1
  178. package/lib/components/booking/payments/model.d.ts +10 -1
  179. package/lib/components/booking/utils.d.ts +182 -0
  180. package/lib/components/checkout/components/CashPaymentModule/index.d.ts +26 -0
  181. package/lib/components/checkout/components/PaymentDetailModal/index.d.ts +38 -0
  182. package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +85 -0
  183. package/lib/components/checkout/components/ScrollableList/index.d.ts +5 -0
  184. package/lib/components/checkout/hooks/useWalletPass.d.ts +1 -1
  185. package/lib/components/checkout/utils/PaymentResultToastUtils.d.ts +32 -0
  186. package/lib/components/eftposPay/amount.d.ts +2 -1
  187. package/lib/components/eftposPay/app.d.ts +2 -1
  188. package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  189. package/lib/components/eftposPay/component/fail/index.d.ts +1 -0
  190. package/lib/components/eftposPay/component/fail/network.d.ts +1 -0
  191. package/lib/components/eftposPay/component/fail/unknow.d.ts +1 -0
  192. package/lib/components/eftposPay/component/manual/index.d.ts +1 -0
  193. package/lib/components/eftposPay/component/signature/index.d.ts +1 -0
  194. package/lib/components/eftposPay/component/step/index.d.ts +1 -0
  195. package/lib/components/eftposPay/device.d.ts +1 -1
  196. package/lib/components/eftposPay/hooks.d.ts +1 -1
  197. package/lib/components/eftposPay/index.d.ts +1 -0
  198. package/lib/components/eftposPay/linkly/index.d.ts +1 -0
  199. package/lib/components/eftposPay/pay.d.ts +1 -0
  200. package/lib/components/eftposPay/payo/config.d.ts +1 -0
  201. package/lib/components/eftposPay/store/index.d.ts +5 -5
  202. package/lib/components/eftposPay/tip.d.ts +1 -0
  203. package/lib/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  204. package/lib/components/eftposPay/windcave/windcave.d.ts +1 -0
  205. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  206. package/lib/components/eventBooking/index.d.ts +1 -0
  207. package/lib/components/list/types.d.ts +178 -0
  208. package/lib/components/list/utils/index.d.ts +19 -0
  209. package/lib/components/pay/toB/components/Cache/index.d.ts +0 -1
  210. package/lib/components/pay/toB/components/CardGroup/index.d.ts +1 -0
  211. package/lib/components/pay/toC/model.d.ts +9 -1
  212. package/lib/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
  213. package/lib/components/schedules/model.d.ts +9 -1
  214. package/lib/components/shoppingCart/components/Cart/Product.js +1 -1
  215. package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +115 -0
  216. package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +84 -0
  217. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +11 -0
  218. package/lib/components/ticketBooking/components/addServiceVariant/utils.d.ts +9 -0
  219. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +0 -1
  220. package/lib/components/ticketBooking/context/OsKeyContext.d.ts +26 -0
  221. package/lib/components/ticketBooking/context/index.d.ts +2 -0
  222. package/lib/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +25 -0
  223. package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +16 -0
  224. package/lib/components/ticketBooking/locales.d.ts +201 -0
  225. package/lib/components/ticketBooking/serve.d.ts +288 -0
  226. package/lib/components/ticketBooking/utils/index.d.ts +101 -0
  227. package/lib/hooks/printer.d.ts +4 -0
  228. package/lib/hooks/useEngineContext.d.ts +4 -0
  229. package/lib/plus/productSelect/CategoryTabs/index.d.ts +21 -0
  230. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +1 -0
  231. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +1 -0
  232. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +1 -0
  233. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +1 -0
  234. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +1 -0
  235. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +1 -0
  236. package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
  237. package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +7 -0
  238. package/lib/plus/productSelect/ProductCard/SkuCard/index.d.ts +1 -0
  239. package/lib/plus/productSelect/ProductCard/index.d.ts +47 -0
  240. package/lib/plus/productSelect/ProductList/gridComponents.d.ts +46 -0
  241. package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
  242. package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +6 -0
  243. package/lib/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +4 -0
  244. package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +1 -0
  245. package/lib/plus/skuOptionsSelection/hooks/index.d.ts +3 -0
  246. package/lib/plus/skuOptionsSelection/hooks/useLanguage.d.ts +2 -0
  247. package/lib/plus/skuOptionsSelection/hooks/useStore.d.ts +2 -0
  248. package/lib/plus/skuOptionsSelection/hooks/useSymbol.d.ts +2 -0
  249. package/lib/plus/skuOptionsSelection/store/actions.d.ts +22 -0
  250. package/lib/plus/skuOptionsSelection/store/createStore.d.ts +15 -0
  251. package/lib/plus/skuOptionsSelection/store/index.d.ts +2 -0
  252. package/lib/plus/skuOptionsSelection/store/store.d.ts +4 -0
  253. package/lib/plus/skuOptionsSelection/types.d.ts +431 -0
  254. package/lib/plus/skuOptionsSelection/utils/calculateOption.d.ts +6 -0
  255. package/lib/plus/skuOptionsSelection/utils/checkSkuStatus.d.ts +37 -0
  256. package/lib/plus/skuOptionsSelection/utils/index.d.ts +7 -0
  257. package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
  258. package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
  259. package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
  260. package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
  261. package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
  262. package/lib/plus/webPosLogin/WebPosLoginCpt.d.ts +9 -0
  263. package/lib/plus/webPosLogin/components/BrandPanel/index.d.ts +9 -0
  264. package/lib/plus/webPosLogin/components/LoginPanel/index.d.ts +21 -0
  265. package/lib/plus/webPosLogin/components/MediaDisplay/type.d.ts +54 -0
  266. package/lib/plus/webPosLogin/index.d.ts +12 -0
  267. package/lib/plus/webPosLogin/locales.d.ts +49 -0
  268. package/lib/plus/webPosLogin/types.d.ts +286 -0
  269. package/lib/pro/Cards/index.d.ts +1 -0
  270. package/lib/pro/Selector/BatchSelectorDemo.d.ts +3 -0
  271. package/lib/pro/Selector/Item.d.ts +14 -0
  272. package/lib/pro/Selector/Selector.d.ts +14 -0
  273. package/lib/pro/Selector/Selector.stories.d.ts +78 -0
  274. package/lib/pro/Selector/SelectorGroup.d.ts +11 -0
  275. package/lib/pro/Selector/components/Card/index.d.ts +57 -0
  276. package/lib/pro/Selector/components/Card/types.d.ts +1 -0
  277. package/lib/pro/Selector/components/Indicator/index.d.ts +20 -0
  278. package/lib/pro/Selector/components/IntersectionObserver.d.ts +105 -0
  279. package/lib/pro/Selector/components/LayoutContainer/index.d.ts +18 -0
  280. package/lib/pro/Selector/components/Media/index.d.ts +6 -0
  281. package/lib/pro/Selector/components/Media/types.d.ts +47 -0
  282. package/lib/pro/Selector/components/index.d.ts +4 -0
  283. package/lib/pro/Selector/demo.d.ts +3 -0
  284. package/lib/pro/Selector/hooks/usePresetItemProps.d.ts +43 -0
  285. package/lib/pro/Selector/hooks/usePresetProps.d.ts +24 -0
  286. package/lib/pro/Selector/hooks/useSelectionController.d.ts +49 -0
  287. package/lib/pro/Selector/index.d.ts +11 -0
  288. package/lib/pro/Selector/locales.d.ts +36 -0
  289. package/lib/pro/Selector/types.d.ts +212 -0
  290. package/lib/pro/Selector/utils/index.d.ts +49 -0
  291. package/lib/pro/skuDetailModal/locales.d.ts +103 -0
  292. package/lib/pro/skuDetailModal/types.d.ts +354 -0
  293. package/lib/pro/skuDetailModal/utils.d.ts +4 -0
  294. package/lib/test/setup.d.ts +1 -0
  295. package/package.json +1 -1
@@ -0,0 +1,7 @@
1
+ export * from './transformBundleGroup';
2
+ export * from './transformOptionGroup';
3
+ export * from './transformVariantGroup';
4
+ export * from './calculateOption';
5
+ export * from './checkSkuStatus';
6
+ export * from './transformValueToSelectorValue';
7
+ export * from './transformSelectorValueToValue';
@@ -0,0 +1,19 @@
1
+ interface BundleItem {
2
+ id: string | number;
3
+ title?: string;
4
+ name?: string;
5
+ min_quantity?: number;
6
+ max_quantity?: number;
7
+ bundle_item?: Array<{
8
+ id: string | number;
9
+ title?: string;
10
+ cover?: string;
11
+ price?: number;
12
+ subtitle?: string;
13
+ [key: string]: any;
14
+ }>;
15
+ required?: 0 | 1;
16
+ is_enabled?: 0 | 1;
17
+ }
18
+ export declare const transformBundleGroup: (bundleGroup: BundleItem[]) => any[];
19
+ export {};
@@ -0,0 +1 @@
1
+ export declare const transformOptionGroup: (optionGroup: any[]) => any[];
@@ -0,0 +1,4 @@
1
+ /**
2
+ * 将SelectorValue转换为Value
3
+ */
4
+ export declare const transformSelectorValueToValue: (selectorValue: any) => {};
@@ -0,0 +1,4 @@
1
+ /**
2
+ * 将value转换为SelectorGroup需要的格式
3
+ */
4
+ export declare const transformValueToSelectorValue: (value: any, dataSource: any) => any;
@@ -0,0 +1 @@
1
+ export declare const transformVariantGroup: (variantGroup: any[]) => any[];
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { WebPosLoginCptProps } from './types';
3
+ import './WebPosLoginCpt.less';
4
+ /**
5
+ * WebPosLoginCpt 主组件
6
+ * @description WebPOS 登录流程组件,包含登录、店铺选择、设备选择三个步骤
7
+ */
8
+ declare const WebPosLoginCpt: React.FC<WebPosLoginCptProps>;
9
+ export default WebPosLoginCpt;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { BrandPanelProps } from '../../types';
3
+ import './index.less';
4
+ /**
5
+ * BrandPanel 品牌区组件
6
+ * @description 登录页面左侧品牌展示区域,支持轮播图片/视频(预留),当前仅展示 Logo
7
+ */
8
+ declare const BrandPanel: React.FC<BrandPanelProps>;
9
+ export default BrandPanel;
@@ -0,0 +1,21 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ /**
4
+ * LoginPanel 组件 Props
5
+ */
6
+ export interface LoginPanelProps {
7
+ /** 自定义类名 */
8
+ className?: string;
9
+ /** 子元素 */
10
+ children?: React.ReactNode;
11
+ /** 登录成功回调 */
12
+ onLoginSuccess?: (data: any) => void;
13
+ /** 登录配置 */
14
+ config?: any;
15
+ }
16
+ /**
17
+ * LoginPanel 登录面板组件
18
+ * @description 登录表单容器,由用户自行实现具体登录逻辑
19
+ */
20
+ declare const LoginPanel: React.FC<LoginPanelProps>;
21
+ export default LoginPanel;
@@ -0,0 +1,54 @@
1
+ /// <reference types="react" />
2
+ /**
3
+ * 媒体轮播项
4
+ * @description 媒体展示区的轮播内容配置
5
+ */
6
+ export interface CarouselItem {
7
+ /** 内容类型:图片或视频 */
8
+ type: 'image' | 'video' | 'logo';
9
+ /** 资源URL */
10
+ url: string;
11
+ /** 背景颜色 */
12
+ backgroundColor?: string;
13
+ /** logo样式 */
14
+ logoStyle?: React.CSSProperties;
15
+ }
16
+ /**
17
+ * 媒体配置
18
+ * @description 媒体展示区域的配置
19
+ */
20
+ export interface MediaConfig {
21
+ /** 轮播内容列表(图片/视频) */
22
+ carouselItems?: CarouselItem[];
23
+ /** 默认Logo(当无轮播时显示) */
24
+ logo?: string;
25
+ /** 品牌标语 */
26
+ slogan?: string;
27
+ }
28
+ /**
29
+ * 视频播放状态
30
+ */
31
+ export declare type VideoPlayState = 'idle' | 'playing' | 'paused' | 'ended' | 'error';
32
+ /**
33
+ * MediaDisplay 媒体展示组件 Props
34
+ */
35
+ export interface MediaDisplayProps {
36
+ /** 品牌配置 */
37
+ config?: MediaConfig;
38
+ /** 自定义类名 */
39
+ className?: string;
40
+ /** 是否全屏模式 */
41
+ fullscreen?: boolean;
42
+ /** 视频是否静音,默认 true */
43
+ muted?: boolean;
44
+ /** 视频是否循环播放,默认 false */
45
+ loop?: boolean;
46
+ /** 视频播放结束回调 */
47
+ onVideoEnded?: () => void;
48
+ /** 视频播放状态变化回调 */
49
+ onVideoStateChange?: (state: VideoPlayState) => void;
50
+ /** 是否可以关闭(用于控制视频结束后是否允许关闭) */
51
+ canClose?: boolean;
52
+ /** 关闭回调(视频结束且 canClose 为 true 时触发) */
53
+ onClose?: () => void;
54
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * WebPosLogin 组件导出
3
+ * @description WebPOS 登录流程组件
4
+ */
5
+ export { default } from './WebPosLogin';
6
+ export { default as WebPosLogin } from './WebPosLogin';
7
+ export { default as BrandPanel } from './components/BrandPanel';
8
+ export { default as LoginPanel } from './components/LoginPanel';
9
+ export { default as SelectStore } from './components/SelectStore';
10
+ export { default as SelectDevice } from './components/SelectDevice';
11
+ export { default as UserFooter } from './components/UserFooter';
12
+ export type { WebPosLoginCptProps, StoreItem, DeviceItem, DeviceClient, UserInfo, BrandConfig, CarouselItem, LoginStep, LocaleType, BrandPanelProps, SelectStoreProps, SelectDeviceProps, UserFooterProps, } from './types';
@@ -0,0 +1,49 @@
1
+ /**
2
+ * WebPosLogin 组件国际化文本
3
+ * @description 支持 en、zh-CN、zh-HK 三种语言
4
+ */
5
+ declare const _default: {
6
+ en: {
7
+ 'webpos-login-search': string;
8
+ 'webpos-login-back': string;
9
+ 'webpos-login-last-used': string;
10
+ 'webpos-login-select-store-title': string;
11
+ 'webpos-login-select-store-empty': string;
12
+ 'webpos-login-change-account': string;
13
+ 'webpos-login-store-data-missing': string;
14
+ 'webpos-login-select-device-title': string;
15
+ 'webpos-login-select-device-empty': string;
16
+ 'webpos-login-change-store': string;
17
+ 'webpos-login-device-not-in-use': string;
18
+ 'webpos-login-device-currently-used-by': string;
19
+ };
20
+ 'zh-CN': {
21
+ 'webpos-login-search': string;
22
+ 'webpos-login-back': string;
23
+ 'webpos-login-last-used': string;
24
+ 'webpos-login-select-store-title': string;
25
+ 'webpos-login-select-store-empty': string;
26
+ 'webpos-login-change-account': string;
27
+ 'webpos-login-store-data-missing': string;
28
+ 'webpos-login-select-device-title': string;
29
+ 'webpos-login-select-device-empty': string;
30
+ 'webpos-login-change-store': string;
31
+ 'webpos-login-device-not-in-use': string;
32
+ 'webpos-login-device-currently-used-by': string;
33
+ };
34
+ 'zh-HK': {
35
+ 'webpos-login-search': string;
36
+ 'webpos-login-back': string;
37
+ 'webpos-login-last-used': string;
38
+ 'webpos-login-select-store-title': string;
39
+ 'webpos-login-select-store-empty': string;
40
+ 'webpos-login-change-account': string;
41
+ 'webpos-login-store-data-missing': string;
42
+ 'webpos-login-select-device-title': string;
43
+ 'webpos-login-select-device-empty': string;
44
+ 'webpos-login-change-store': string;
45
+ 'webpos-login-device-not-in-use': string;
46
+ 'webpos-login-device-currently-used-by': string;
47
+ };
48
+ };
49
+ export default _default;
@@ -0,0 +1,286 @@
1
+ /**
2
+ * WebPosLogin 组件类型定义
3
+ * @description WebPOS 登录流程组件,包含登录、店铺选择、设备选择三个步骤
4
+ */
5
+ /// <reference types="react" />
6
+ /**
7
+ * 店铺数据结构
8
+ * @description 从租户列表接口返回的店铺信息
9
+ */
10
+ export interface StoreItem {
11
+ /** 店铺ID */
12
+ id: number;
13
+ /** 租户ID */
14
+ tenant_id: number;
15
+ /** 账户ID */
16
+ account_id: number;
17
+ /** 类型 */
18
+ type: string;
19
+ /** 昵称 */
20
+ nickname: string;
21
+ /** 状态 */
22
+ status: string;
23
+ /** 创建时间 */
24
+ created_at?: string;
25
+ /** 更新时间 */
26
+ updated_at?: string;
27
+ /** 租户详情 */
28
+ tenant: {
29
+ /** 租户ID */
30
+ id: number;
31
+ /** 父租户ID */
32
+ tenant_id?: number;
33
+ /** 账户ID */
34
+ account_id?: number;
35
+ /** 类型 */
36
+ type?: string;
37
+ /** 名称(多语言) */
38
+ name: {
39
+ en?: string | null;
40
+ 'zh-CN'?: string | null;
41
+ 'zh-HK'?: string | null;
42
+ original: string;
43
+ };
44
+ /** Logo图片 */
45
+ logo?: string;
46
+ /** 图标 */
47
+ icon?: string;
48
+ /** Favicon */
49
+ favicon?: string;
50
+ /** 默认域名 */
51
+ default_domain: string;
52
+ /** 私有域名 */
53
+ private_domain?: string | null;
54
+ /** 货币代码 */
55
+ currency_code?: string | null;
56
+ /** 国家代码 */
57
+ country_code?: string | null;
58
+ /** 语言 */
59
+ locale?: string;
60
+ /** 时区 */
61
+ timezone?: string;
62
+ /** 状态 */
63
+ status?: string;
64
+ };
65
+ }
66
+ /**
67
+ * 设备客户端信息
68
+ * @description 设备绑定的客户端详情
69
+ */
70
+ export interface DeviceClient {
71
+ /** 客户端ID */
72
+ id: number;
73
+ /** 店铺ID */
74
+ shop_id: number;
75
+ /** 设备ID */
76
+ device_id: number;
77
+ /** 客户端编号 */
78
+ number: string;
79
+ /** 客户端名称 */
80
+ name: string;
81
+ /** 客户端类型 */
82
+ type: string;
83
+ /** 设备型号 */
84
+ model?: string;
85
+ /** 系统版本 */
86
+ version?: string;
87
+ /** 设备详细数据 */
88
+ data?: {
89
+ battery?: {
90
+ is_charging?: boolean;
91
+ visible_percent?: string;
92
+ };
93
+ hardware?: {
94
+ country?: string;
95
+ datetime?: string;
96
+ language?: string;
97
+ timezone?: string;
98
+ };
99
+ application?: {
100
+ name?: string;
101
+ type?: string;
102
+ version?: string;
103
+ language?: string;
104
+ bundle_id?: string;
105
+ };
106
+ connectivity?: {
107
+ ip?: string;
108
+ type?: string;
109
+ wifi_details?: any[];
110
+ };
111
+ };
112
+ /** 最后刷新时间 */
113
+ refreshed_at?: string;
114
+ /** 创建时间 */
115
+ created_at?: string;
116
+ /** 更新时间 */
117
+ updated_at?: string;
118
+ }
119
+ /**
120
+ * 设备数据结构
121
+ * @description 从设备列表接口返回的设备信息
122
+ */
123
+ export interface DeviceItem {
124
+ /** 设备ID */
125
+ id: number;
126
+ /** 店铺ID */
127
+ shop_id: number;
128
+ /** 设备类型 */
129
+ type: string;
130
+ /** 设备编号 */
131
+ number: string;
132
+ /** 设备名称 */
133
+ name: string;
134
+ /** 设备描述 */
135
+ description?: string;
136
+ /** 设备设置 */
137
+ setting?: any[];
138
+ /** 创建时间 */
139
+ created_at?: string;
140
+ /** 更新时间 */
141
+ updated_at?: string;
142
+ /** 绑定的客户端信息(null 表示未被使用) */
143
+ client?: DeviceClient | null;
144
+ }
145
+ /**
146
+ * 用户信息
147
+ * @description 当前登录用户的基本信息
148
+ */
149
+ export interface UserInfo {
150
+ /** 用户名称 */
151
+ name: string;
152
+ /** 用户头像 */
153
+ avatar?: string;
154
+ }
155
+ /**
156
+ * 品牌区轮播项
157
+ * @description 左侧品牌区的轮播内容配置
158
+ */
159
+ export interface CarouselItem {
160
+ /** 内容类型:图片或视频 */
161
+ type: 'image' | 'video';
162
+ /** 资源URL */
163
+ url: string;
164
+ }
165
+ /**
166
+ * 品牌区配置
167
+ * @description 左侧品牌展示区域的配置
168
+ */
169
+ export interface BrandConfig {
170
+ /** 轮播内容列表(图片/视频) */
171
+ carouselItems?: CarouselItem[];
172
+ /** 默认Logo(当无轮播时显示) */
173
+ logo?: string;
174
+ /** 品牌标语 */
175
+ slogan?: string;
176
+ }
177
+ /**
178
+ * 登录流程步骤
179
+ */
180
+ export declare type LoginStep = 'login' | 'store' | 'device';
181
+ /**
182
+ * 支持的语言类型
183
+ */
184
+ export declare type LocaleType = 'en' | 'zh-CN' | 'zh-HK';
185
+ /**
186
+ * WebPosLogin 主组件 Props
187
+ * @description WebPOS 登录组件的所有配置项
188
+ */
189
+ export interface WebPosLoginCptProps {
190
+ /** 自定义类名 */
191
+ className?: string;
192
+ /** 自定义样式 */
193
+ style?: React.CSSProperties;
194
+ /** 背景图片URL */
195
+ backgroundImage?: string;
196
+ /** 品牌区配置 */
197
+ brandConfig?: BrandConfig;
198
+ /** 当前步骤:login-登录 | store-店铺选择 | device-设备选择 */
199
+ step?: LoginStep;
200
+ /** 是否显示返回按钮(默认 true) */
201
+ showBackButton?: boolean;
202
+ /** 店铺列表数据 */
203
+ storeList?: StoreItem[];
204
+ /** 设备列表数据 */
205
+ deviceList?: DeviceItem[];
206
+ /** 当前用户信息 */
207
+ userInfo?: UserInfo;
208
+ /** 当前选中的店铺 */
209
+ selectedStore?: StoreItem;
210
+ /** 上次使用的店铺ID(用于显示 Last used 标签) */
211
+ lastUsedStoreId?: number;
212
+ /** 上次使用的设备ID(用于显示 Last used 标签) */
213
+ lastUsedDeviceId?: number;
214
+ /** 语言设置 */
215
+ locale?: LocaleType;
216
+ /** 加载状态 */
217
+ loading?: boolean;
218
+ /** 登录配置 */
219
+ loginConfig?: any;
220
+ /** 店铺选择回调 */
221
+ onStoreSelect?: (store: StoreItem) => void;
222
+ /** 设备选择回调 */
223
+ onDeviceSelect?: (device: DeviceItem) => void;
224
+ /** 切换账号回调 */
225
+ onChangeAccount?: () => void;
226
+ /** 切换店铺回调 */
227
+ onChangeStore?: () => void;
228
+ /** 返回上一步回调 */
229
+ onBack?: () => void;
230
+ /** 登录成功回调 */
231
+ onLoginSuccess?: (data: any) => void;
232
+ }
233
+ /**
234
+ * BrandPanel 品牌区组件 Props
235
+ */
236
+ export interface BrandPanelProps {
237
+ /** 品牌配置 */
238
+ config?: BrandConfig;
239
+ /** 自定义类名 */
240
+ className?: string;
241
+ }
242
+ /**
243
+ * SelectStore 店铺选择组件 Props
244
+ */
245
+ export interface SelectStoreProps {
246
+ /** 店铺列表 */
247
+ storeList?: StoreItem[];
248
+ /** 语言 */
249
+ locale?: LocaleType;
250
+ /** 加载状态 */
251
+ loading?: boolean;
252
+ /** 上次使用的店铺ID */
253
+ lastUsedStoreId?: number;
254
+ /** 选择店铺回调 */
255
+ onSelect?: (store: StoreItem) => void;
256
+ }
257
+ /**
258
+ * SelectDevice 设备选择组件 Props
259
+ */
260
+ export interface SelectDeviceProps {
261
+ /** 设备列表 */
262
+ deviceList?: DeviceItem[];
263
+ /** 语言 */
264
+ locale?: LocaleType;
265
+ /** 加载状态 */
266
+ loading?: boolean;
267
+ /** 选择设备回调 */
268
+ onSelect?: (device: DeviceItem) => void;
269
+ }
270
+ /**
271
+ * UserFooter 底部用户信息组件 Props
272
+ */
273
+ export interface UserFooterProps {
274
+ /** 用户信息 */
275
+ userInfo?: UserInfo;
276
+ /** 当前选中的店铺 */
277
+ selectedStore?: StoreItem;
278
+ /** 当前步骤 */
279
+ step?: LoginStep;
280
+ /** 语言 */
281
+ locale?: LocaleType;
282
+ /** 切换账号回调 */
283
+ onChangeAccount?: () => void;
284
+ /** 切换店铺回调 */
285
+ onChangeStore?: () => void;
286
+ }
@@ -0,0 +1 @@
1
+ export { default as SKUCard } from './components/SKUCard';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare const BatchSelectorDemo: React.FC;
3
+ export default BatchSelectorDemo;
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import { OptionItem } from './types';
3
+ export interface IItemProps {
4
+ actions: any;
5
+ dataSource: OptionItem;
6
+ indicator: React.ReactNode;
7
+ numberSelector: React.ReactNode;
8
+ optionItemValue?: any;
9
+ quantityInfo: any;
10
+ values: any;
11
+ children?: React.ReactNode;
12
+ }
13
+ declare const Item: (props: IItemProps) => JSX.Element;
14
+ export default Item;
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import { ItemLayout, ItemProps, PresetConfig, SelectorProps, SelectorVariant } from './types';
3
+ import './selector.less';
4
+ export declare const SelectorContext: React.Context<{
5
+ disabled?: boolean | undefined;
6
+ mode?: "multiple" | "single" | undefined;
7
+ itemLayout?: ItemLayout | undefined;
8
+ valueType?: "object" | "primitive" | undefined;
9
+ variant?: SelectorVariant | undefined;
10
+ itemProps?: ItemProps | undefined;
11
+ preset?: PresetConfig | undefined;
12
+ }>;
13
+ declare const Selector: React.ForwardRefExoticComponent<SelectorProps<import("./types").OptionKey> & React.RefAttributes<unknown>>;
14
+ export default Selector;
@@ -0,0 +1,78 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import Selector from './index';
3
+ /**
4
+ * Selector 组件 - 高级选择器
5
+ *
6
+ * 支持单选/多选、数量控制、校验规则、互斥组等功能
7
+ *
8
+ * 查看文档:
9
+ * - [开发文档](https://studio.picoding-dev.com/pro-components/selector?tab=dev)
10
+ * - [需求文档](https://m1ed09stz4r.feishu.cn/wiki/NL5AwOs0ei5ZBekT4i6cuzIOnoM)
11
+ */
12
+ declare const meta: Meta<typeof Selector>;
13
+ export default meta;
14
+ declare type Story = StoryObj<typeof Selector>;
15
+ /**
16
+ * 默认单选模式 - 原始值类型
17
+ */
18
+ export declare const Default: Story;
19
+ /**
20
+ * 多选模式 - 原始值数组
21
+ */
22
+ export declare const Multiple: Story;
23
+ /**
24
+ * 单选 + 数量 - 对象值类型
25
+ */
26
+ export declare const SingleWithQuantity: Story;
27
+ /**
28
+ * 多选 + 数量 - 卡片样式
29
+ */
30
+ export declare const MultipleWithQuantity: Story;
31
+ /**
32
+ * 网格布局 - 2列
33
+ */
34
+ export declare const GridLayout2Columns: Story;
35
+ /**
36
+ * 网格布局 - 3列
37
+ */
38
+ export declare const GridLayout3Columns: Story;
39
+ /**
40
+ * 校验规则 - 必选、最小/最大数量
41
+ */
42
+ export declare const WithValidation: Story;
43
+ /**
44
+ * 互斥组 - 同组只能选一个
45
+ */
46
+ export declare const MutexGroups: Story;
47
+ /**
48
+ * 禁用状态
49
+ */
50
+ export declare const Disabled: Story;
51
+ /**
52
+ * Select 变体 - 下拉选择
53
+ */
54
+ export declare const SelectVariant: Story;
55
+ /**
56
+ * Select 变体 - 多选下拉
57
+ */
58
+ export declare const SelectVariantMultiple: Story;
59
+ /**
60
+ * 卡片样式变体 - 不同选中态
61
+ */
62
+ export declare const CardVariants: Story;
63
+ /**
64
+ * 自定义图标
65
+ */
66
+ export declare const CustomIcon: Story;
67
+ /**
68
+ * 自定义渲染
69
+ */
70
+ export declare const CustomRender: Story;
71
+ /**
72
+ * SelectorGroup 基础示例
73
+ */
74
+ export declare const SelectorGroupBasic: StoryObj;
75
+ /**
76
+ * SelectorGroup 联动规则示例
77
+ */
78
+ export declare const SelectorGroupWithLinkage: StoryObj;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { SelectionValue, SelectorGroupProps } from './types';
3
+ import './selectorGroup.less';
4
+ export declare type SelectorGroupRef = {
5
+ getValues: (includeHidden?: boolean) => Record<string, SelectionValue>;
6
+ setValues: (values: Record<string, SelectionValue>) => void;
7
+ validate: () => Promise<Record<string, never>>;
8
+ reset: () => void;
9
+ };
10
+ declare const SelectorGroup: React.ForwardRefExoticComponent<Omit<SelectorGroupProps, "ref"> & React.RefAttributes<SelectorGroupRef>>;
11
+ export default SelectorGroup;
@@ -0,0 +1,57 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export declare type CardVariant = 'outlined' | 'borderless';
4
+ export declare type CardLayout = 'vertical' | 'horizontal';
5
+ export declare type SelectedType = 'none' | 'outlined' | 'outlined-bold' | 'filled';
6
+ export declare type ActionsPosition = 'left' | 'right';
7
+ export interface CardStyles {
8
+ container?: React.CSSProperties | ((props: CardStyleProps) => React.CSSProperties);
9
+ content?: React.CSSProperties | ((props: CardStyleProps) => React.CSSProperties);
10
+ actions?: React.CSSProperties | ((props: CardStyleProps) => React.CSSProperties);
11
+ corner?: React.CSSProperties | ((props: CardStyleProps) => React.CSSProperties);
12
+ }
13
+ export interface CardStyleProps {
14
+ selected?: boolean;
15
+ disabled?: boolean;
16
+ hoverable?: boolean;
17
+ variant?: CardVariant;
18
+ layout?: CardLayout;
19
+ }
20
+ export interface CardProps {
21
+ /** 卡片变体样式 */
22
+ variant?: CardVariant;
23
+ /** 布局方向 */
24
+ layout?: CardLayout;
25
+ /** 操作按钮区域,水平模式在右侧,垂直模式在底部 */
26
+ actions?: React.ReactNode[];
27
+ /** 水平模式下,操作按钮的位置 */
28
+ actionsPosition?: ActionsPosition;
29
+ /** 垂直模式下,右上角绝对定位展示的组件 */
30
+ corner?: React.ReactNode;
31
+ /** 子内容 */
32
+ children?: React.ReactNode;
33
+ /** 选中状态 */
34
+ selected?: boolean;
35
+ /** 禁用状态 */
36
+ disabled?: boolean;
37
+ /** 是否可悬停 */
38
+ hoverable?: boolean;
39
+ /** 点击事件 */
40
+ onClick?: (e: React.MouseEvent<HTMLDivElement>) => void;
41
+ /** 自定义样式 */
42
+ styles?: CardStyles;
43
+ /**
44
+ * 选中时的样式类型
45
+ * - none: 无样式
46
+ * - outlined: 边框高亮
47
+ * - outlined-bold: 边框高亮 + 加粗(使用 outline 实现,不影响布局)
48
+ * - filled: 填充背景色
49
+ */
50
+ selectedType?: SelectedType;
51
+ /** 自定义类名 */
52
+ className?: string;
53
+ /** 自定义样式 */
54
+ style?: React.CSSProperties;
55
+ }
56
+ declare const Card: React.FC<CardProps>;
57
+ export default Card;
@@ -0,0 +1 @@
1
+ export type { CardVariant, CardLayout, SelectedType, ActionsPosition, CardStyles, CardStyleProps, CardProps, } from './index';