@pisell/private-materials 6.3.75 → 6.3.76

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 (569) 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/meta.js +1 -1
  5. package/build/lowcode/render/default/view.js +1 -1
  6. package/build/lowcode/view.js +1 -1
  7. package/es/components/Sales/Cart/index.d.ts +53 -0
  8. package/es/components/Sales/Cart/utils.d.ts +68 -0
  9. package/es/components/Sales/Event/Detail.d.ts +30 -0
  10. package/es/components/Sales/Summary/index.d.ts +35 -0
  11. package/es/components/Sales/Summary/utils.d.ts +51 -0
  12. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +3 -0
  13. package/es/components/appointmentBooking/components/ConfirmInformation/index.d.ts +4 -0
  14. package/es/components/appointmentBooking/components/Content/index.d.ts +3 -0
  15. package/es/components/appointmentBooking/components/Date/index.d.ts +4 -0
  16. package/es/components/appointmentBooking/components/Header/index.d.ts +3 -0
  17. package/es/components/appointmentBooking/components/Header/index.js +12 -12
  18. package/es/components/appointmentBooking/components/Services/index.d.ts +4 -0
  19. package/es/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +2 -0
  20. package/es/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.js +82 -0
  21. package/es/components/appointmentBooking/components/TimeSlicing/index.js +46 -5
  22. package/es/components/appointmentBooking/hooks.d.ts +107 -0
  23. package/es/components/appointmentBooking/hooks.js +6 -13
  24. package/es/components/appointmentBooking/index.d.ts +3 -0
  25. package/es/components/appointmentBooking/locales.d.ts +363 -0
  26. package/es/components/appointmentBooking/utils.d.ts +23 -0
  27. package/es/components/appointmentBooking/utils.js +159 -0
  28. package/es/components/authentication/admin/AuthMethods/SettingList.d.ts +5 -0
  29. package/es/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +22 -0
  30. package/es/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
  31. package/es/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +13 -0
  32. package/es/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
  33. package/es/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +14 -0
  34. package/es/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +13 -0
  35. package/es/components/authentication/admin/AuthMethods/components/index.d.ts +10 -0
  36. package/es/components/authentication/admin/AuthMethods/constants.d.ts +22 -0
  37. package/es/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
  38. package/es/components/authentication/admin/AuthMethods/types.d.ts +76 -0
  39. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
  40. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
  41. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
  42. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
  43. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
  44. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
  45. package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  46. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/index.d.ts +8 -0
  47. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
  48. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
  49. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
  50. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
  51. package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  52. package/es/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
  53. package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
  54. package/es/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
  55. package/es/components/authentication/admin/CustomerAuth/index.d.ts +6 -0
  56. package/es/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
  57. package/es/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
  58. package/es/components/authentication/admin/CustomerOAuthConfig/index.d.ts +6 -0
  59. package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
  60. package/es/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
  61. package/es/components/authentication/admin/DeviceAuth/index.d.ts +6 -0
  62. package/es/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
  63. package/es/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
  64. package/es/components/authentication/admin/OAuthConfig/index.d.ts +6 -0
  65. package/es/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
  66. package/es/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
  67. package/es/components/authentication/admin/OrgAdminAuth/index.d.ts +6 -0
  68. package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
  69. package/es/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
  70. package/es/components/authentication/admin/POSOperatorAuth/index.d.ts +6 -0
  71. package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
  72. package/es/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
  73. package/es/components/authentication/admin/SaaSAdminAuth/index.d.ts +6 -0
  74. package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
  75. package/es/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
  76. package/es/components/authentication/admin/index.d.ts +26 -0
  77. package/es/components/authentication/index.d.ts +0 -0
  78. package/es/components/booking/addons/index.d.ts +17 -0
  79. package/es/components/booking/components/customSelect/index.d.ts +38 -0
  80. package/es/components/booking/components/reloadResourceModal/index.d.ts +8 -0
  81. package/es/components/booking/components/tabPane/index.d.ts +4 -0
  82. package/es/components/booking/dashboard/serve.d.ts +1 -0
  83. package/es/components/booking/deposit/ClientItem/index.d.ts +18 -0
  84. package/es/components/booking/deposit/DepositItem/index.d.ts +25 -0
  85. package/es/components/booking/deposit/index.d.ts +2 -0
  86. package/es/components/booking/editBookingModal/utils.d.ts +12 -0
  87. package/es/components/booking/forms/forms.d.ts +30 -0
  88. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  89. package/es/components/booking/forms/serve.d.ts +18 -0
  90. package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  91. package/es/components/booking/info/addServiceVariant/index.d.ts +6 -0
  92. package/es/components/booking/info/client/index.d.ts +4 -0
  93. package/es/components/booking/info/client/serve.d.ts +2 -0
  94. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +43 -0
  95. package/es/components/booking/info/clientVariant/utils.d.ts +1 -0
  96. package/es/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +25 -0
  97. package/es/components/booking/info/date/index.d.ts +4 -0
  98. package/es/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
  99. package/es/components/booking/info/hooks/useInfoHolder.d.ts +9 -0
  100. package/es/components/booking/info/index.d.ts +3 -0
  101. package/es/components/booking/info/model.d.ts +5 -0
  102. package/es/components/booking/info/pet/serve.d.ts +1 -0
  103. package/es/components/booking/info/service/addTimeModal/index.d.ts +3 -0
  104. package/es/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
  105. package/es/components/booking/info/service/addTimeModal/utils.d.ts +31 -0
  106. package/es/components/booking/info/service/editService/constants.d.ts +1 -0
  107. package/es/components/booking/info/service/serve.d.ts +20 -0
  108. package/es/components/booking/info/service/serviceList/index.d.ts +5 -0
  109. package/es/components/booking/info/service2/utils.d.ts +1 -1
  110. package/es/components/booking/info2/index.d.ts +12 -0
  111. package/es/components/booking/info2/serve.d.ts +6 -0
  112. package/es/components/booking/info2/service/addService/utils.d.ts +98 -0
  113. package/es/components/booking/info2/service/addTimeModal/index.d.ts +3 -0
  114. package/es/components/booking/info2/service/contactInfoMode/index.d.ts +2 -0
  115. package/es/components/booking/info2/service/editService/utils.d.ts +13 -0
  116. package/es/components/booking/info2/service/index.d.ts +4 -0
  117. package/es/components/booking/info2/service/serviceList/index.d.ts +5 -0
  118. package/es/components/booking/info2/utilsByBooking.d.ts +35 -0
  119. package/es/components/booking/locales.d.ts +843 -0
  120. package/es/components/booking/model.d.ts +112 -0
  121. package/es/components/booking/notes/addNote/index.d.ts +3 -0
  122. package/es/components/booking/utils.d.ts +2 -2
  123. package/es/components/eftposPay/app.d.ts +10 -0
  124. package/es/components/eftposPay/component/fail/failCustom.d.ts +3 -0
  125. package/es/components/eftposPay/component/fail/index.d.ts +3 -0
  126. package/es/components/eftposPay/component/fail/unknow.d.ts +9 -0
  127. package/es/components/eftposPay/const.d.ts +184 -0
  128. package/es/components/eftposPay/device.d.ts +23 -0
  129. package/es/components/eftposPay/hooks.d.ts +35 -0
  130. package/es/components/eftposPay/index.d.ts +4 -0
  131. package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
  132. package/es/components/eftposPay/linkly/index.d.ts +2 -0
  133. package/es/components/eftposPay/locales.d.ts +330 -0
  134. package/es/components/eftposPay/manufacturer.d.ts +7 -0
  135. package/es/components/eftposPay/pay.d.ts +20 -0
  136. package/es/components/eftposPay/payo/config.d.ts +12 -0
  137. package/es/components/eftposPay/payo/payment.d.ts +66 -0
  138. package/es/components/eftposPay/store/index.d.ts +355 -0
  139. package/es/components/eftposPay/tyro/index.d.ts +9 -0
  140. package/es/components/eftposPay/utils/log/index.d.ts +110 -0
  141. package/es/components/eftposPay/windcave/helper.d.ts +23 -0
  142. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +2 -0
  143. package/es/components/eventBooking/components/Provider/Content/index.d.ts +3 -0
  144. package/es/components/eventBooking/components/Voucher/components/locales.d.ts +39 -0
  145. package/es/components/eventBooking/components/Voucher/hooks.d.ts +7 -0
  146. package/es/components/eventBooking/index.d.ts +3 -0
  147. package/es/components/index.d.ts +24 -0
  148. package/es/components/kioskSkuDetail/locales.d.ts +27 -0
  149. package/es/components/pay/toC/PaymentList/serve.d.ts +28 -0
  150. package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +2 -0
  151. package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +2 -0
  152. package/es/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +2 -0
  153. package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +2 -0
  154. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
  155. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +2 -0
  156. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +2 -0
  157. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +2 -0
  158. package/es/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +2 -0
  159. package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +2 -0
  160. package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +2 -0
  161. package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +155 -0
  162. package/es/components/pay/toC/PaymentMethods/hooks/index.d.ts +19 -0
  163. package/es/components/pay/toC/PaymentMethods/index.d.ts +9 -0
  164. package/es/components/pay/toC/locales.d.ts +307 -0
  165. package/es/components/pay/toC/model.d.ts +32 -0
  166. package/es/components/pay/toC/serve.d.ts +62 -0
  167. package/es/components/pay/toC/status.d.ts +13 -0
  168. package/es/components/pay/toC/utils.d.ts +57 -0
  169. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +2 -0
  170. package/es/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
  171. package/es/components/ruleSetting/index.d.ts +9 -0
  172. package/es/components/ruleSetting/locales.d.ts +48 -0
  173. package/es/components/ruleSetting/server.d.ts +4 -0
  174. package/es/components/shoppingCart/locales.d.ts +33 -0
  175. package/es/components/shoppingCart/type.d.ts +48 -0
  176. package/es/components/subTotal/locales.d.ts +42 -0
  177. package/es/components/systemSettings/registry/components/ModuleList.d.ts +4 -0
  178. package/es/components/systemSettings/registry/components/SectionList.d.ts +4 -0
  179. package/es/components/systemSettings/registry/components/index.d.ts +4 -0
  180. package/es/components/systemSettings/registry/locales.d.ts +272 -0
  181. package/es/components/systemSettings/registry/services.d.ts +77 -0
  182. package/es/components/systemSettings/registry/types.d.ts +126 -0
  183. package/es/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
  184. package/es/components/systemSettings/registry/utils/validators.d.ts +8 -0
  185. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +6 -0
  186. package/es/components/ticketBooking/index.d.ts +7 -0
  187. package/es/components/ticketBooking/locales.d.ts +174 -0
  188. package/es/components/ticketBooking/serve.d.ts +287 -0
  189. package/es/components/wallet/utils.d.ts +48 -0
  190. package/es/components/walletList/locales.d.ts +27 -0
  191. package/es/components/walletList/serve.d.ts +43 -0
  192. package/es/components/walletList/types/index.d.ts +194 -0
  193. package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
  194. package/es/components/workSpaceList/components/Card/constants.d.ts +2 -0
  195. package/es/components/workSpaceList/components/WorkspaceItem/index.d.ts +22 -0
  196. package/es/hooks/useEngineContext.d.ts +10 -0
  197. package/es/hooks/useWindowSize.d.ts +5 -0
  198. package/es/index.d.ts +66 -0
  199. package/es/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
  200. package/es/plus/contactInfo/locales.d.ts +15 -0
  201. package/es/plus/contactInfo/types.d.ts +91 -0
  202. package/es/plus/contactInfo/utils.d.ts +7 -0
  203. package/es/plus/contactInfoModal/locales.d.ts +66 -0
  204. package/es/plus/productSelect/CategoryTabs/index.d.ts +21 -0
  205. package/es/plus/productSelect/ProductCard/index.d.ts +47 -0
  206. package/es/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
  207. package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
  208. package/es/plus/productSelect/utils.d.ts +39 -0
  209. package/es/plus/selectHolder/locales.d.ts +21 -0
  210. package/es/plus/selectHolder/types.d.ts +104 -0
  211. package/es/plus/selectHolder/utils.d.ts +9 -0
  212. package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +5 -0
  213. package/es/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +3 -0
  214. package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +3 -0
  215. package/es/plus/skuOptionsSelection/hooks/index.d.ts +3 -0
  216. package/es/plus/skuOptionsSelection/hooks/useLanguage.d.ts +2 -0
  217. package/es/plus/skuOptionsSelection/hooks/useStore.d.ts +2 -0
  218. package/es/plus/skuOptionsSelection/hooks/useSymbol.d.ts +2 -0
  219. package/es/plus/skuOptionsSelection/index.d.ts +5 -0
  220. package/es/plus/skuOptionsSelection/locales.d.ts +33 -0
  221. package/es/plus/skuOptionsSelection/store/actions.d.ts +22 -0
  222. package/es/plus/skuOptionsSelection/store/createStore.d.ts +15 -0
  223. package/es/plus/skuOptionsSelection/store/index.d.ts +2 -0
  224. package/es/plus/skuOptionsSelection/store/store.d.ts +4 -0
  225. package/es/plus/skuOptionsSelection/types.d.ts +429 -0
  226. package/es/plus/skuOptionsSelection/utils/calculateOption.d.ts +6 -0
  227. package/es/plus/skuOptionsSelection/utils/checkSkuStatus.d.ts +37 -0
  228. package/es/plus/skuOptionsSelection/utils/index.d.ts +7 -0
  229. package/es/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
  230. package/es/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
  231. package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
  232. package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
  233. package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
  234. package/es/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
  235. package/es/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
  236. package/es/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
  237. package/es/plus/walletEditor/components/relationProduct/index.d.ts +6 -0
  238. package/es/plus/walletEditor/index.d.ts +3 -0
  239. package/es/plus/walletEditor/locales.d.ts +135 -0
  240. package/es/plus/walletEditor/types.d.ts +52 -0
  241. package/es/plus/walletPassGallery/locales.d.ts +285 -0
  242. package/es/plus/walletPassGallery/serve.d.ts +243 -0
  243. package/es/plus/walletPassGallery/utils.d.ts +48 -0
  244. package/es/pro/Cards/index.d.ts +1 -0
  245. package/es/pro/Login2.0/components/LegalTerms.d.ts +8 -0
  246. package/es/pro/Login2.0/components/PhoneInput.d.ts +53 -0
  247. package/es/pro/Login2.0/components/phoneValidation.d.ts +17 -0
  248. package/es/pro/Login2.0/hooks/index.d.ts +2 -0
  249. package/es/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +24 -0
  250. package/es/pro/Login2.0/hooks/useRegisterFlow.d.ts +39 -0
  251. package/es/pro/Login2.0/hooks/useRegistrationMethods.d.ts +9 -0
  252. package/es/pro/Login2.0/locales.d.ts +543 -0
  253. package/es/pro/Login2.0/shared/Header.d.ts +11 -0
  254. package/es/pro/Login2.0/shared/registerFlow.d.ts +116 -0
  255. package/es/pro/Login2.0/shared/types.d.ts +232 -0
  256. package/es/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +12 -0
  257. package/es/pro/Login2.0/steps/VerificationSuccess.d.ts +8 -0
  258. package/es/pro/Login2.0/steps/VerifyingEmailLink.d.ts +7 -0
  259. package/es/pro/Login2.0/steps/WaitEmailLink.d.ts +18 -0
  260. package/es/pro/Login2.0/steps/index.d.ts +19 -0
  261. package/es/pro/Login2.0/types.d.ts +167 -0
  262. package/es/pro/NumericStepper/index.d.ts +43 -0
  263. package/es/pro/Selector/BatchSelectorDemo.d.ts +3 -0
  264. package/es/pro/Selector/Item.d.ts +14 -0
  265. package/es/pro/Selector/Selector.d.ts +14 -0
  266. package/es/pro/Selector/Selector.stories.d.ts +78 -0
  267. package/es/pro/Selector/SelectorGroup.d.ts +11 -0
  268. package/es/pro/Selector/components/Card/index.d.ts +57 -0
  269. package/es/pro/Selector/components/Card/types.d.ts +1 -0
  270. package/es/pro/Selector/components/Indicator/index.d.ts +19 -0
  271. package/es/pro/Selector/components/IntersectionObserver.d.ts +105 -0
  272. package/es/pro/Selector/components/LayoutContainer/index.d.ts +16 -0
  273. package/es/pro/Selector/components/Media/index.d.ts +6 -0
  274. package/es/pro/Selector/components/Media/types.d.ts +47 -0
  275. package/es/pro/Selector/components/index.d.ts +4 -0
  276. package/es/pro/Selector/demo.d.ts +2 -0
  277. package/es/pro/Selector/hooks/usePresetItemProps.d.ts +43 -0
  278. package/es/pro/Selector/hooks/usePresetProps.d.ts +24 -0
  279. package/es/pro/Selector/hooks/useSelectionController.d.ts +49 -0
  280. package/es/pro/Selector/index.d.ts +11 -0
  281. package/es/pro/Selector/locales.d.ts +36 -0
  282. package/es/pro/Selector/types.d.ts +173 -0
  283. package/es/pro/Selector/utils/index.d.ts +49 -0
  284. package/es/pro/numberKeyboard/locales.d.ts +12 -0
  285. package/es/pro/pisellNumberSelector/example.d.ts +3 -0
  286. package/es/pro/pisellPaymentList/example.d.ts +19 -0
  287. package/es/test/setup.d.ts +1 -0
  288. package/lib/components/Sales/Cart/index.d.ts +53 -0
  289. package/lib/components/Sales/Cart/utils.d.ts +68 -0
  290. package/lib/components/Sales/Event/Detail.d.ts +30 -0
  291. package/lib/components/Sales/Summary/index.d.ts +35 -0
  292. package/lib/components/Sales/Summary/utils.d.ts +51 -0
  293. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +3 -0
  294. package/lib/components/appointmentBooking/components/ConfirmInformation/index.d.ts +4 -0
  295. package/lib/components/appointmentBooking/components/Content/index.d.ts +3 -0
  296. package/lib/components/appointmentBooking/components/Date/index.d.ts +4 -0
  297. package/lib/components/appointmentBooking/components/Header/index.d.ts +3 -0
  298. package/lib/components/appointmentBooking/components/Header/index.js +3 -8
  299. package/lib/components/appointmentBooking/components/Services/index.d.ts +4 -0
  300. package/lib/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +2 -0
  301. package/lib/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.js +89 -0
  302. package/lib/components/appointmentBooking/components/TimeSlicing/index.js +27 -7
  303. package/lib/components/appointmentBooking/hooks.d.ts +107 -0
  304. package/lib/components/appointmentBooking/hooks.js +6 -11
  305. package/lib/components/appointmentBooking/index.d.ts +3 -0
  306. package/lib/components/appointmentBooking/locales.d.ts +363 -0
  307. package/lib/components/appointmentBooking/utils.d.ts +23 -0
  308. package/lib/components/appointmentBooking/utils.js +103 -0
  309. package/lib/components/authentication/admin/AuthMethods/SettingList.d.ts +5 -0
  310. package/lib/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +22 -0
  311. package/lib/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
  312. package/lib/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +13 -0
  313. package/lib/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
  314. package/lib/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +14 -0
  315. package/lib/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +13 -0
  316. package/lib/components/authentication/admin/AuthMethods/components/index.d.ts +10 -0
  317. package/lib/components/authentication/admin/AuthMethods/constants.d.ts +22 -0
  318. package/lib/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
  319. package/lib/components/authentication/admin/AuthMethods/types.d.ts +76 -0
  320. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
  321. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
  322. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
  323. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
  324. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
  325. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
  326. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  327. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/index.d.ts +8 -0
  328. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
  329. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
  330. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
  331. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
  332. package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  333. package/lib/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
  334. package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
  335. package/lib/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
  336. package/lib/components/authentication/admin/CustomerAuth/index.d.ts +6 -0
  337. package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
  338. package/lib/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
  339. package/lib/components/authentication/admin/CustomerOAuthConfig/index.d.ts +6 -0
  340. package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
  341. package/lib/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
  342. package/lib/components/authentication/admin/DeviceAuth/index.d.ts +6 -0
  343. package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
  344. package/lib/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
  345. package/lib/components/authentication/admin/OAuthConfig/index.d.ts +6 -0
  346. package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
  347. package/lib/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
  348. package/lib/components/authentication/admin/OrgAdminAuth/index.d.ts +6 -0
  349. package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
  350. package/lib/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
  351. package/lib/components/authentication/admin/POSOperatorAuth/index.d.ts +6 -0
  352. package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
  353. package/lib/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
  354. package/lib/components/authentication/admin/SaaSAdminAuth/index.d.ts +6 -0
  355. package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
  356. package/lib/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
  357. package/lib/components/authentication/admin/index.d.ts +26 -0
  358. package/lib/components/authentication/index.d.ts +0 -0
  359. package/lib/components/booking/addons/index.d.ts +17 -0
  360. package/lib/components/booking/components/customSelect/index.d.ts +38 -0
  361. package/lib/components/booking/components/reloadResourceModal/index.d.ts +8 -0
  362. package/lib/components/booking/components/tabPane/index.d.ts +4 -0
  363. package/lib/components/booking/dashboard/serve.d.ts +1 -0
  364. package/lib/components/booking/deposit/ClientItem/index.d.ts +18 -0
  365. package/lib/components/booking/deposit/DepositItem/index.d.ts +25 -0
  366. package/lib/components/booking/deposit/index.d.ts +2 -0
  367. package/lib/components/booking/editBookingModal/utils.d.ts +12 -0
  368. package/lib/components/booking/forms/forms.d.ts +30 -0
  369. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  370. package/lib/components/booking/forms/serve.d.ts +18 -0
  371. package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  372. package/lib/components/booking/info/addServiceVariant/index.d.ts +6 -0
  373. package/lib/components/booking/info/client/index.d.ts +4 -0
  374. package/lib/components/booking/info/client/serve.d.ts +2 -0
  375. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +43 -0
  376. package/lib/components/booking/info/clientVariant/utils.d.ts +1 -0
  377. package/lib/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +25 -0
  378. package/lib/components/booking/info/date/index.d.ts +4 -0
  379. package/lib/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
  380. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +9 -0
  381. package/lib/components/booking/info/index.d.ts +3 -0
  382. package/lib/components/booking/info/model.d.ts +5 -0
  383. package/lib/components/booking/info/pet/serve.d.ts +1 -0
  384. package/lib/components/booking/info/service/addTimeModal/index.d.ts +3 -0
  385. package/lib/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
  386. package/lib/components/booking/info/service/addTimeModal/utils.d.ts +31 -0
  387. package/lib/components/booking/info/service/editService/constants.d.ts +1 -0
  388. package/lib/components/booking/info/service/serve.d.ts +20 -0
  389. package/lib/components/booking/info/service/serviceList/index.d.ts +5 -0
  390. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  391. package/lib/components/booking/info2/index.d.ts +12 -0
  392. package/lib/components/booking/info2/serve.d.ts +6 -0
  393. package/lib/components/booking/info2/service/addService/utils.d.ts +98 -0
  394. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +3 -0
  395. package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +2 -0
  396. package/lib/components/booking/info2/service/editService/utils.d.ts +13 -0
  397. package/lib/components/booking/info2/service/index.d.ts +4 -0
  398. package/lib/components/booking/info2/service/serviceList/index.d.ts +5 -0
  399. package/lib/components/booking/info2/utilsByBooking.d.ts +35 -0
  400. package/lib/components/booking/locales.d.ts +843 -0
  401. package/lib/components/booking/model.d.ts +112 -0
  402. package/lib/components/booking/notes/addNote/index.d.ts +3 -0
  403. package/lib/components/booking/utils.d.ts +2 -2
  404. package/lib/components/eftposPay/app.d.ts +10 -0
  405. package/lib/components/eftposPay/component/fail/failCustom.d.ts +3 -0
  406. package/lib/components/eftposPay/component/fail/index.d.ts +3 -0
  407. package/lib/components/eftposPay/component/fail/unknow.d.ts +9 -0
  408. package/lib/components/eftposPay/const.d.ts +184 -0
  409. package/lib/components/eftposPay/device.d.ts +23 -0
  410. package/lib/components/eftposPay/hooks.d.ts +35 -0
  411. package/lib/components/eftposPay/index.d.ts +4 -0
  412. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
  413. package/lib/components/eftposPay/linkly/index.d.ts +2 -0
  414. package/lib/components/eftposPay/locales.d.ts +330 -0
  415. package/lib/components/eftposPay/manufacturer.d.ts +7 -0
  416. package/lib/components/eftposPay/pay.d.ts +20 -0
  417. package/lib/components/eftposPay/payo/config.d.ts +12 -0
  418. package/lib/components/eftposPay/payo/payment.d.ts +66 -0
  419. package/lib/components/eftposPay/store/index.d.ts +355 -0
  420. package/lib/components/eftposPay/tyro/index.d.ts +9 -0
  421. package/lib/components/eftposPay/utils/log/index.d.ts +110 -0
  422. package/lib/components/eftposPay/windcave/helper.d.ts +23 -0
  423. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +2 -0
  424. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +3 -0
  425. package/lib/components/eventBooking/components/Voucher/components/locales.d.ts +39 -0
  426. package/lib/components/eventBooking/components/Voucher/hooks.d.ts +7 -0
  427. package/lib/components/eventBooking/index.d.ts +3 -0
  428. package/lib/components/index.d.ts +24 -0
  429. package/lib/components/kioskSkuDetail/locales.d.ts +27 -0
  430. package/lib/components/pay/toC/PaymentList/serve.d.ts +28 -0
  431. package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +2 -0
  432. package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +2 -0
  433. package/lib/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +2 -0
  434. package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +2 -0
  435. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
  436. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +2 -0
  437. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +2 -0
  438. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +2 -0
  439. package/lib/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +2 -0
  440. package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +2 -0
  441. package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +2 -0
  442. package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +155 -0
  443. package/lib/components/pay/toC/PaymentMethods/hooks/index.d.ts +19 -0
  444. package/lib/components/pay/toC/PaymentMethods/index.d.ts +9 -0
  445. package/lib/components/pay/toC/locales.d.ts +307 -0
  446. package/lib/components/pay/toC/model.d.ts +32 -0
  447. package/lib/components/pay/toC/serve.d.ts +62 -0
  448. package/lib/components/pay/toC/status.d.ts +13 -0
  449. package/lib/components/pay/toC/utils.d.ts +57 -0
  450. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +2 -0
  451. package/lib/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
  452. package/lib/components/ruleSetting/index.d.ts +9 -0
  453. package/lib/components/ruleSetting/locales.d.ts +48 -0
  454. package/lib/components/ruleSetting/server.d.ts +4 -0
  455. package/lib/components/shoppingCart/locales.d.ts +33 -0
  456. package/lib/components/shoppingCart/type.d.ts +48 -0
  457. package/lib/components/subTotal/locales.d.ts +42 -0
  458. package/lib/components/systemSettings/registry/components/ModuleList.d.ts +4 -0
  459. package/lib/components/systemSettings/registry/components/SectionList.d.ts +4 -0
  460. package/lib/components/systemSettings/registry/components/index.d.ts +4 -0
  461. package/lib/components/systemSettings/registry/locales.d.ts +272 -0
  462. package/lib/components/systemSettings/registry/services.d.ts +77 -0
  463. package/lib/components/systemSettings/registry/types.d.ts +126 -0
  464. package/lib/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
  465. package/lib/components/systemSettings/registry/utils/validators.d.ts +8 -0
  466. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +6 -0
  467. package/lib/components/ticketBooking/index.d.ts +7 -0
  468. package/lib/components/ticketBooking/locales.d.ts +174 -0
  469. package/lib/components/ticketBooking/serve.d.ts +287 -0
  470. package/lib/components/wallet/utils.d.ts +48 -0
  471. package/lib/components/walletList/locales.d.ts +27 -0
  472. package/lib/components/walletList/serve.d.ts +43 -0
  473. package/lib/components/walletList/types/index.d.ts +194 -0
  474. package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
  475. package/lib/components/workSpaceList/components/Card/constants.d.ts +2 -0
  476. package/lib/components/workSpaceList/components/WorkspaceItem/index.d.ts +22 -0
  477. package/lib/hooks/useEngineContext.d.ts +10 -0
  478. package/lib/hooks/useWindowSize.d.ts +5 -0
  479. package/lib/index.d.ts +66 -0
  480. package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
  481. package/lib/plus/contactInfo/locales.d.ts +15 -0
  482. package/lib/plus/contactInfo/types.d.ts +91 -0
  483. package/lib/plus/contactInfo/utils.d.ts +7 -0
  484. package/lib/plus/contactInfoModal/locales.d.ts +66 -0
  485. package/lib/plus/productSelect/CategoryTabs/index.d.ts +21 -0
  486. package/lib/plus/productSelect/ProductCard/index.d.ts +47 -0
  487. package/lib/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
  488. package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
  489. package/lib/plus/productSelect/utils.d.ts +39 -0
  490. package/lib/plus/selectHolder/locales.d.ts +21 -0
  491. package/lib/plus/selectHolder/types.d.ts +104 -0
  492. package/lib/plus/selectHolder/utils.d.ts +9 -0
  493. package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +5 -0
  494. package/lib/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +3 -0
  495. package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +3 -0
  496. package/lib/plus/skuOptionsSelection/hooks/index.d.ts +3 -0
  497. package/lib/plus/skuOptionsSelection/hooks/useLanguage.d.ts +2 -0
  498. package/lib/plus/skuOptionsSelection/hooks/useStore.d.ts +2 -0
  499. package/lib/plus/skuOptionsSelection/hooks/useSymbol.d.ts +2 -0
  500. package/lib/plus/skuOptionsSelection/index.d.ts +5 -0
  501. package/lib/plus/skuOptionsSelection/locales.d.ts +33 -0
  502. package/lib/plus/skuOptionsSelection/store/actions.d.ts +22 -0
  503. package/lib/plus/skuOptionsSelection/store/createStore.d.ts +15 -0
  504. package/lib/plus/skuOptionsSelection/store/index.d.ts +2 -0
  505. package/lib/plus/skuOptionsSelection/store/store.d.ts +4 -0
  506. package/lib/plus/skuOptionsSelection/types.d.ts +429 -0
  507. package/lib/plus/skuOptionsSelection/utils/calculateOption.d.ts +6 -0
  508. package/lib/plus/skuOptionsSelection/utils/checkSkuStatus.d.ts +37 -0
  509. package/lib/plus/skuOptionsSelection/utils/index.d.ts +7 -0
  510. package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
  511. package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
  512. package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
  513. package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
  514. package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
  515. package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
  516. package/lib/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
  517. package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
  518. package/lib/plus/walletEditor/components/relationProduct/index.d.ts +6 -0
  519. package/lib/plus/walletEditor/index.d.ts +3 -0
  520. package/lib/plus/walletEditor/locales.d.ts +135 -0
  521. package/lib/plus/walletEditor/types.d.ts +52 -0
  522. package/lib/plus/walletPassGallery/locales.d.ts +285 -0
  523. package/lib/plus/walletPassGallery/serve.d.ts +243 -0
  524. package/lib/plus/walletPassGallery/utils.d.ts +48 -0
  525. package/lib/pro/Cards/index.d.ts +1 -0
  526. package/lib/pro/Login2.0/components/LegalTerms.d.ts +8 -0
  527. package/lib/pro/Login2.0/components/PhoneInput.d.ts +53 -0
  528. package/lib/pro/Login2.0/components/phoneValidation.d.ts +17 -0
  529. package/lib/pro/Login2.0/hooks/index.d.ts +2 -0
  530. package/lib/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +24 -0
  531. package/lib/pro/Login2.0/hooks/useRegisterFlow.d.ts +39 -0
  532. package/lib/pro/Login2.0/hooks/useRegistrationMethods.d.ts +9 -0
  533. package/lib/pro/Login2.0/locales.d.ts +543 -0
  534. package/lib/pro/Login2.0/shared/Header.d.ts +11 -0
  535. package/lib/pro/Login2.0/shared/registerFlow.d.ts +116 -0
  536. package/lib/pro/Login2.0/shared/types.d.ts +232 -0
  537. package/lib/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +12 -0
  538. package/lib/pro/Login2.0/steps/VerificationSuccess.d.ts +8 -0
  539. package/lib/pro/Login2.0/steps/VerifyingEmailLink.d.ts +7 -0
  540. package/lib/pro/Login2.0/steps/WaitEmailLink.d.ts +18 -0
  541. package/lib/pro/Login2.0/steps/index.d.ts +19 -0
  542. package/lib/pro/Login2.0/types.d.ts +167 -0
  543. package/lib/pro/NumericStepper/index.d.ts +43 -0
  544. package/lib/pro/Selector/BatchSelectorDemo.d.ts +3 -0
  545. package/lib/pro/Selector/Item.d.ts +14 -0
  546. package/lib/pro/Selector/Selector.d.ts +14 -0
  547. package/lib/pro/Selector/Selector.stories.d.ts +78 -0
  548. package/lib/pro/Selector/SelectorGroup.d.ts +11 -0
  549. package/lib/pro/Selector/components/Card/index.d.ts +57 -0
  550. package/lib/pro/Selector/components/Card/types.d.ts +1 -0
  551. package/lib/pro/Selector/components/Indicator/index.d.ts +19 -0
  552. package/lib/pro/Selector/components/IntersectionObserver.d.ts +105 -0
  553. package/lib/pro/Selector/components/LayoutContainer/index.d.ts +16 -0
  554. package/lib/pro/Selector/components/Media/index.d.ts +6 -0
  555. package/lib/pro/Selector/components/Media/types.d.ts +47 -0
  556. package/lib/pro/Selector/components/index.d.ts +4 -0
  557. package/lib/pro/Selector/demo.d.ts +2 -0
  558. package/lib/pro/Selector/hooks/usePresetItemProps.d.ts +43 -0
  559. package/lib/pro/Selector/hooks/usePresetProps.d.ts +24 -0
  560. package/lib/pro/Selector/hooks/useSelectionController.d.ts +49 -0
  561. package/lib/pro/Selector/index.d.ts +11 -0
  562. package/lib/pro/Selector/locales.d.ts +36 -0
  563. package/lib/pro/Selector/types.d.ts +173 -0
  564. package/lib/pro/Selector/utils/index.d.ts +49 -0
  565. package/lib/pro/numberKeyboard/locales.d.ts +12 -0
  566. package/lib/pro/pisellNumberSelector/example.d.ts +3 -0
  567. package/lib/pro/pisellPaymentList/example.d.ts +19 -0
  568. package/lib/test/setup.d.ts +1 -0
  569. package/package.json +4 -4
@@ -0,0 +1,429 @@
1
+ /// <reference types="react" />
2
+ /**
3
+ * SKU Card 文本样式配置
4
+ */
5
+ export interface SkuCardTextConfig {
6
+ /** 是否显示 */
7
+ visible?: boolean;
8
+ /** 字体大小 */
9
+ fontSize?: number;
10
+ /** 颜色 */
11
+ color?: string;
12
+ /** 字体粗细 */
13
+ fontWeight?: 'normal' | 'bold' | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
14
+ /** 展示行数 */
15
+ lineClamp?: number;
16
+ }
17
+ /**
18
+ * SKU Card 图片配置
19
+ */
20
+ export interface SkuCardImageConfig {
21
+ /** 是否显示 */
22
+ visible?: boolean;
23
+ /** 宽度 */
24
+ width?: number;
25
+ /** 高度 */
26
+ height?: number;
27
+ /** 圆角 */
28
+ borderRadius?: number | string;
29
+ /** 边框 */
30
+ border?: string;
31
+ }
32
+ /**
33
+ * SKU Card 配置
34
+ */
35
+ export interface SkuCardConfig {
36
+ /** 主标题配置 */
37
+ title?: SkuCardTextConfig;
38
+ /** 副标题配置 */
39
+ subTitle?: SkuCardTextConfig;
40
+ /** 价格配置 */
41
+ price?: Omit<SkuCardTextConfig, 'lineClamp'>;
42
+ /** 图片配置 */
43
+ image?: SkuCardImageConfig;
44
+ /**
45
+ * @description 是否在「组合规格选项卡片(VariantCard)」展示价格
46
+ * - 默认不展示,避免影响现有业务 UI
47
+ */
48
+ variantPriceVisible?: boolean;
49
+ }
50
+ /**
51
+ * SKU store状态类型
52
+ */
53
+ export interface SkuSelectionState {
54
+ /** 数据源 */
55
+ dataSource: any;
56
+ /** 原始值 */
57
+ value: Record<string | number, any>;
58
+ /** 配置 */
59
+ config: {
60
+ overSold?: boolean;
61
+ };
62
+ /** 货币符号 */
63
+ symbol: string;
64
+ /** Selector数据源 */
65
+ selectorDataSource: any[];
66
+ /** Selector识别的值 */
67
+ selectorValue: Record<string | number, any>;
68
+ /** SKU Card 配置 */
69
+ skuCardConfig: SkuCardConfig;
70
+ style?: React.CSSProperties;
71
+ /** 样式配置 */
72
+ customConfig?: {
73
+ /** 弹窗宽度 */
74
+ modalWidth?: number | string;
75
+ };
76
+ }
77
+ /** SKU Card 默认配置 */
78
+ export declare const defaultSkuCardConfig: SkuCardConfig;
79
+ export interface IProps {
80
+ /** 数据源 */
81
+ dataSource: DataSource;
82
+ /** 原始值 */
83
+ value: SkuValue;
84
+ /** 配置 */
85
+ config?: {
86
+ /** 是否禁用 */
87
+ overSold?: 0 | 1;
88
+ };
89
+ /** SKU Card 配置 */
90
+ skuCardConfig?: SkuCardConfig;
91
+ /** 选中变更回调 */
92
+ onChange: (value: SkuValue) => void;
93
+ /** 自定义滚动容器 */
94
+ customScrollParent?: HTMLElement | string;
95
+ /** 自定义样式 */
96
+ style?: React.CSSProperties;
97
+ /** 自定义配置 */
98
+ customConfig?: {
99
+ /** 弹窗宽度 */
100
+ modalWidth?: number | string;
101
+ };
102
+ }
103
+ export interface DataSource {
104
+ /** 单规格组数据 */
105
+ option_group?: Array<OptionGroupItem>;
106
+ /** 组合规格组装后的数据 */
107
+ variant?: Array<VariantProductItem>;
108
+ /** 组合规格组数据 */
109
+ variant_group?: Array<VariantGroupItem>;
110
+ /** 套餐商品组数据 */
111
+ bundle_group?: Array<BundleItem>;
112
+ }
113
+ /**
114
+ * 单规格组数据
115
+ */
116
+ export interface OptionGroupItem {
117
+ /** 创建者id */
118
+ create_account_id?: number;
119
+ /** 创建时间 */
120
+ created_at?: string;
121
+ /** 删除时间 */
122
+ deleted_at?: string | null;
123
+ /** 模板id */
124
+ template_id?: number;
125
+ /** 更新者id */
126
+ update_account_id?: number;
127
+ /** 更新时间 */
128
+ updated_at?: string;
129
+ /** 单规格组id */
130
+ id?: number;
131
+ /** 是否启用 */
132
+ is_enabled?: 0 | 1;
133
+ /** 是否多选 */
134
+ is_multiple?: 0 | 1;
135
+ /** 最大选择数量 */
136
+ max_quantity?: number;
137
+ /** 最小选择数量 */
138
+ min_quantity?: number;
139
+ /** 单规格组名称 */
140
+ name?: string;
141
+ /** 单规格组下规格数据 */
142
+ option_item?: Array<OptionItem>;
143
+ /** 商品id */
144
+ product_id?: number;
145
+ /** 是否必选 */
146
+ required?: 0 | 1;
147
+ /** 店铺id */
148
+ shop_id?: number;
149
+ /** 排序 */
150
+ sort?: number;
151
+ /** 状态 */
152
+ status?: 0 | 1;
153
+ }
154
+ /**
155
+ * 单规格组下选项数据
156
+ */
157
+ export interface OptionItem {
158
+ /** 创建者id */
159
+ create_account_id?: number;
160
+ /** 创建时间 */
161
+ created_at?: string;
162
+ /** 删除时间 */
163
+ deleted_at?: string | null;
164
+ /** 模板id */
165
+ template_id?: number;
166
+ /** 更新者id */
167
+ update_account_id?: number;
168
+ /** 更新时间 */
169
+ updated_at?: string;
170
+ /** 加价 */
171
+ add_price?: string;
172
+ /** 封面 */
173
+ cover?: string;
174
+ /** 描述 */
175
+ description?: string;
176
+ /** 规格id */
177
+ id?: number;
178
+ /** 是否启用 */
179
+ is_enabled?: 0 | 1;
180
+ /** 最大选择数量 */
181
+ max_quantity?: number;
182
+ /** 规格名称 */
183
+ name?: string;
184
+ /** 规格组id */
185
+ option_group_id?: number;
186
+ /** 原价 */
187
+ original_price?: string;
188
+ /** 商品id */
189
+ product_id?: number;
190
+ /** 店铺id */
191
+ shop_id?: number;
192
+ /** 排序 */
193
+ sort?: number;
194
+ /** 状态 */
195
+ status?: 0 | 1;
196
+ }
197
+ /**
198
+ * 组合规格组数据
199
+ */
200
+ export interface VariantGroupItem {
201
+ /** 创建者id */
202
+ create_account_id?: number;
203
+ /** 创建时间 */
204
+ created_at?: string;
205
+ /** 删除时间 */
206
+ deleted_at?: string | null;
207
+ /** 更新者id */
208
+ update_account_id?: number;
209
+ /** 更新时间 */
210
+ updated_at?: string;
211
+ /** 组合规格组id */
212
+ id?: number;
213
+ /** 组合规格组名称 */
214
+ name?: string;
215
+ /** 位置id */
216
+ position_id?: number;
217
+ /** 商品id */
218
+ product_id?: number;
219
+ /** 店铺id */
220
+ shop_id?: number;
221
+ /** 排序 */
222
+ sort?: number;
223
+ /** 状态 */
224
+ status?: 0 | 1;
225
+ /** 组合规格组下选项数据 */
226
+ variant_item?: Array<VariantItem>;
227
+ }
228
+ /**
229
+ * 组合规格组下选项数据
230
+ */
231
+ export interface VariantItem {
232
+ /** 创建者id */
233
+ create_account_id?: number;
234
+ /** 创建时间 */
235
+ created_at?: string;
236
+ /** 删除时间 */
237
+ deleted_at?: string | null;
238
+ /** 更新者id */
239
+ update_account_id?: number;
240
+ /** 更新时间 */
241
+ updated_at?: string;
242
+ /** 店铺id */
243
+ shop_id?: number;
244
+ /** 排序 */
245
+ sort?: number;
246
+ /** 规格id */
247
+ id?: number;
248
+ /** 是否默认 */
249
+ is_default?: 0 | 1;
250
+ /** 变体名称 */
251
+ name?: string;
252
+ /** 位置id */
253
+ position_id?: number;
254
+ /** 商品id */
255
+ product_id?: number;
256
+ /** 状态 */
257
+ status?: 0 | 1;
258
+ /** 组合规格组id */
259
+ variant_group_id?: number;
260
+ }
261
+ /**
262
+ * 组合规格商品数据
263
+ */
264
+ export interface VariantProductItem {
265
+ /** 创建者id */
266
+ create_account_id?: number;
267
+ /** 创建时间 */
268
+ created_at?: string;
269
+ /** 更新者id */
270
+ update_account_id?: number;
271
+ /** 更新时间 */
272
+ updated_at?: string;
273
+ /** 条形码 */
274
+ barcode?: string;
275
+ /** 基础价格 */
276
+ base_price?: string;
277
+ /** 箱规数量 */
278
+ box_specification_quantity?: number;
279
+ /** 编码 */
280
+ code?: string;
281
+ /** 成本价格 */
282
+ cost_price?: string;
283
+ /** 封面 */
284
+ cover?: string;
285
+ /** 描述 */
286
+ description?: string | null;
287
+ /** 是否禁用 */
288
+ disabled?: 0 | 1;
289
+ /** 组合规格商品id */
290
+ id?: number;
291
+ /** 是否收税 */
292
+ is_charge_tax?: 0 | 1;
293
+ /** 是否发货 */
294
+ is_delivery?: 0 | 1;
295
+ /** 是否收税 */
296
+ is_gst?: 0 | 1;
297
+ /** 是否跟踪库存 */
298
+ is_track?: 0 | 1;
299
+ /** 名称 */
300
+ name?: Record<string, string>;
301
+ /** 开售重量 */
302
+ open_sold_weight?: number;
303
+ /** 原价 */
304
+ original_price?: string;
305
+ /** 是否超卖 */
306
+ over_sold?: 0 | 1;
307
+ /** 价格 */
308
+ price?: string;
309
+ /** 商品id */
310
+ product_id?: number;
311
+ /** 折扣类型 */
312
+ rebate_type?: string;
313
+ /** 折扣值 */
314
+ rebate_value?: number;
315
+ /** 标题 */
316
+ title?: Record<string, string>;
317
+ /** 单位 */
318
+ unit?: string;
319
+ /** 单位值 */
320
+ unit_value?: number;
321
+ /** 重量单位 */
322
+ weight_unit?: string;
323
+ /** 重量值 */
324
+ weight_value?: string;
325
+ }
326
+ /**
327
+ * 套餐商品组数据
328
+ */
329
+ export interface BundleGroupItem {
330
+ /** 店铺id */
331
+ shop_id?: number;
332
+ /** 排序 */
333
+ sort?: number;
334
+ /** 套餐id */
335
+ id?: number;
336
+ /** 最大选择数量 */
337
+ max_quantity?: number;
338
+ /** 最小选择数量 */
339
+ min_quantity?: number;
340
+ /** 套餐名称 */
341
+ name?: string;
342
+ /** 商品id */
343
+ product_id?: number;
344
+ /** 套餐商品组数据 */
345
+ bundle_item?: Array<BundleItem>;
346
+ }
347
+ /**
348
+ * 套餐商品组下选项数据
349
+ */
350
+ export interface BundleItem {
351
+ /** 店铺id */
352
+ shop_id?: number;
353
+ /** 排序 */
354
+ sort?: number;
355
+ /** 条形码 */
356
+ barcode?: string;
357
+ /** 套餐商品id */
358
+ bundle_product_id?: number;
359
+ /** 套餐商品变体id */
360
+ bundle_variant_id?: number;
361
+ /** 编码 */
362
+ code?: string;
363
+ /** 封面 */
364
+ cover?: string;
365
+ /** 扩展id */
366
+ extension_id?: number;
367
+ /** 扩展类型 */
368
+ extension_type?: string;
369
+ /** 套餐商品组id */
370
+ group_id?: number;
371
+ /** 套餐商品id */
372
+ id: string | number;
373
+ /** 是否跟踪库存 */
374
+ is_track?: 0 | 1;
375
+ /** 最大选择数量 */
376
+ max_quantity?: number;
377
+ /** 单规格组数据 */
378
+ option_group?: Array<OptionGroupItem>;
379
+ /** 是否允许超卖 */
380
+ over_sold?: 0 | 1;
381
+ /** 价格 */
382
+ price?: string;
383
+ /** 价格类型: mark_up==>加价 | mark_down==>减价 */
384
+ price_type?: 'mark_up' | 'mark_down';
385
+ /** 价格类型扩展: product_price==>商品价格 */
386
+ price_type_ext?: '' | 'product_price';
387
+ /** 商品id */
388
+ product_id?: number;
389
+ /** 商品价格 */
390
+ product_price?: string;
391
+ /** 商品副标题 */
392
+ product_subtitle?: string;
393
+ /** 库存数量 */
394
+ stock_quantity?: number;
395
+ /** 标题 */
396
+ title?: string;
397
+ }
398
+ /**
399
+ * sku value
400
+ */
401
+ export interface SkuValue {
402
+ /** 商品id */
403
+ product_id: number;
404
+ /** 多规格商品id */
405
+ product_variant_id: number;
406
+ /** 多规格商品选项字符串 */
407
+ product_option_string?: string;
408
+ /** 套餐商品组数据 */
409
+ bundle: Array<any>;
410
+ /** 单规格组数据 */
411
+ option: Array<OptionItem & {
412
+ num: number;
413
+ price: string;
414
+ product_option_item_id: number;
415
+ }>;
416
+ }
417
+ /**
418
+ * Selector值原子类型
419
+ */
420
+ export interface SelectorValueAtom {
421
+ /** 数据 */
422
+ data: Record<string, any>;
423
+ /** 数量 */
424
+ quantity: number;
425
+ /** 总价 */
426
+ totalPrice: string | number;
427
+ /** 值 */
428
+ value: number | string;
429
+ }
@@ -0,0 +1,6 @@
1
+ export declare const calculateOptionItem: (params: {
2
+ editIndex: number;
3
+ optionItemValue: any;
4
+ optionItemDataSource: any;
5
+ data: any;
6
+ }) => any[];
@@ -0,0 +1,37 @@
1
+ /**
2
+ * @title 检查SKU库存是否可以售卖
3
+ * @description
4
+ * 首先受到 SKU 的 is_track 字段的影响,如果 is_track 为 0,表示不跟踪库存,则不检查库存
5
+ * 其次受到 SKU 的 over_sold 字段 和 config.overSold 配置的影响,如果 over_sold 为 1 或 config.overSold 为 true,表示允许超卖,则不检查库存
6
+ * 最后受到 SKU 的 stock_quantity 字段的影响,如果 stock_quantity 小于等于 0,表示库存不足
7
+ */
8
+ export declare const checkSkuStockCanSell: (sku: any) => {
9
+ canSell: boolean;
10
+ hasStock: boolean;
11
+ };
12
+ /**
13
+ * @title 检查SKU是否禁用
14
+ * @description 如果SKU被禁用,或者库存不足不能售卖,则返回 true
15
+ */
16
+ export declare const checkSkuDisabled: (sku: any, canSell?: boolean) => boolean;
17
+ /**
18
+ * @title 组合规格库存检查(初始化时使用)
19
+ * @description 检查包含该规格选项的所有组合商品的库存状态
20
+ */
21
+ export declare const checkVariantStockCanSell: (sku: any) => {
22
+ canSell: any;
23
+ hasStock: any;
24
+ };
25
+ /**
26
+ * @title 根据已经选择的规格选项,筛选出包含对应规格的商品并进行库存检查
27
+ * @description
28
+ * 1. 收集当前判断的规格 + 其他规格组已选的规格(排除当前规格组)
29
+ * 2. 根据收集的规格,筛选出包含对应规格的组合商品
30
+ * 3. 对筛选出的商品进行库存检查
31
+ * 4. 只要有一个匹配商品能售卖,则该选项可选
32
+ * 5. 只要有一个匹配商品有库存,则显示有库存
33
+ */
34
+ export declare const checkVariantStockByValue: (sku: any) => {
35
+ canSell: boolean;
36
+ hasStock: boolean;
37
+ };
@@ -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[];
@@ -3,6 +3,6 @@ export interface ImageUploadProps {
3
3
  value?: string;
4
4
  onChange?: (val: string) => void;
5
5
  }
6
- export declare const getBaseTime: (size: number) => 1000 | 2000 | 4000 | 8000;
6
+ export declare const getBaseTime: (size: number) => 2000 | 1000 | 4000 | 8000;
7
7
  declare const ImageUpload: React.FC<ImageUploadProps>;
8
8
  export default ImageUpload;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ interface JsonEditorProps {
3
+ value?: any;
4
+ onChange?: (value: any) => void;
5
+ disabled?: boolean;
6
+ placeholder?: string;
7
+ rows?: number;
8
+ style?: React.CSSProperties;
9
+ }
10
+ declare const JsonEditor: React.FC<JsonEditorProps>;
11
+ export default JsonEditor;
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ export declare type ValidityPeriodValue = {
3
+ type: 'normal';
4
+ unit: string;
5
+ unit_type: 'day' | 'month' | 'year';
6
+ } | {
7
+ type: 'custom';
8
+ custom_date?: string;
9
+ } | {
10
+ type: 'forever';
11
+ };
12
+ export interface ValidityPeriodSelectorProps {
13
+ value?: ValidityPeriodValue;
14
+ onChange?: (value: ValidityPeriodValue) => void;
15
+ disabled?: boolean;
16
+ placeholder?: string;
17
+ options?: readonly ValidityPeriodValue[];
18
+ }
19
+ declare const ValidityPeriodSelector: React.FC<ValidityPeriodSelectorProps>;
20
+ export default ValidityPeriodSelector;
@@ -0,0 +1,6 @@
1
+ import './index.less';
2
+ declare const RelationProduct: ({ value, onChange, }: {
3
+ value?: string[] | undefined;
4
+ onChange?: ((val: string[]) => void) | undefined;
5
+ }) => JSX.Element | null;
6
+ export default RelationProduct;
@@ -0,0 +1,3 @@
1
+ import WalletEditor from './WalletEditor';
2
+ export default WalletEditor;
3
+ export * from './types';