@pisell/private-materials 6.3.66 → 6.3.68

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 (529) 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 +7 -7
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +9 -9
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +9 -9
  11. package/es/businessModel/SalesModel/index.d.ts +0 -1
  12. package/es/components/Sales/Summary/utils.d.ts +51 -0
  13. package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  14. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  15. package/es/components/appointmentBooking/locales.d.ts +363 -0
  16. package/es/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
  17. package/es/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
  18. package/es/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
  19. package/es/components/authentication/admin/AuthMethods/types.d.ts +76 -0
  20. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
  21. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
  22. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
  23. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
  24. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
  25. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
  26. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
  27. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
  28. package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
  29. package/es/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
  30. package/es/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
  31. package/es/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
  32. package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
  33. package/es/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
  34. package/es/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
  35. package/es/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
  36. package/es/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
  37. package/es/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
  38. package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
  39. package/es/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
  40. package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
  41. package/es/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
  42. package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
  43. package/es/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
  44. package/es/components/authentication/index.d.ts +0 -0
  45. package/es/components/booking/addons/model.d.ts +10 -1
  46. package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  47. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  48. package/es/components/booking/components/collapsibleList/utils.d.ts +1 -0
  49. package/es/components/booking/components/emptyBooking/index.d.ts +1 -0
  50. package/es/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  51. package/es/components/booking/components/reloadResourceModal/index.d.ts +1 -0
  52. package/es/components/booking/components/tabPane/index.d.ts +4 -0
  53. package/es/components/booking/dashboard/serve.d.ts +1 -0
  54. package/es/components/booking/editBookingModal/utils.d.ts +12 -0
  55. package/es/components/booking/forms/model.d.ts +10 -1
  56. package/es/components/booking/forms/serve.d.ts +18 -0
  57. package/es/components/booking/forms/single/index.d.ts +1 -0
  58. package/es/components/booking/forms/table/index.d.ts +1 -0
  59. package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  60. package/es/components/booking/info/addServiceVariant/index.d.ts +0 -1
  61. package/es/components/booking/info/client/serve.d.ts +2 -0
  62. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  63. package/es/components/booking/info/date/index.d.ts +1 -0
  64. package/es/components/booking/info/dateRange/index.d.ts +0 -1
  65. package/es/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
  66. package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  67. package/es/components/booking/info/index.d.ts +0 -1
  68. package/es/components/booking/info/model.d.ts +10 -1
  69. package/es/components/booking/info/notes/index.d.ts +1 -0
  70. package/es/components/booking/info/pet/serve.d.ts +1 -0
  71. package/es/components/booking/info/service/Lists.d.ts +0 -1
  72. package/es/components/booking/info/service/actions/index.d.ts +1 -0
  73. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  74. package/es/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
  75. package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  76. package/es/components/booking/info/service/editService/constants.d.ts +1 -0
  77. package/es/components/booking/info/service/serve.d.ts +20 -0
  78. package/es/components/booking/info/service2/Lists.d.ts +0 -1
  79. package/es/components/booking/info/service2/utils.d.ts +1 -1
  80. package/es/components/booking/info2/service/actions/index.d.ts +1 -0
  81. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  82. package/es/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
  83. package/es/components/booking/locales.d.ts +843 -0
  84. package/es/components/booking/materiels/contacts/index.d.ts +1 -0
  85. package/es/components/booking/materiels/duration/index.d.ts +1 -0
  86. package/es/components/booking/materiels/holder/index.d.ts +1 -0
  87. package/es/components/booking/model.d.ts +9 -1
  88. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  89. package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
  90. package/es/components/booking/notes/model.d.ts +10 -1
  91. package/es/components/booking/payments/model.d.ts +10 -1
  92. package/es/components/eftpos/index.d.ts +1 -0
  93. package/es/components/eftpos/pos.d.ts +1 -0
  94. package/es/components/eftposPay/amount.d.ts +2 -1
  95. package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  96. package/es/components/eftposPay/component/fail/network.d.ts +1 -0
  97. package/es/components/eftposPay/component/fail/unknow.d.ts +1 -0
  98. package/es/components/eftposPay/component/manual/index.d.ts +1 -0
  99. package/es/components/eftposPay/component/signature/index.d.ts +1 -0
  100. package/es/components/eftposPay/const.d.ts +184 -0
  101. package/es/components/eftposPay/device.d.ts +1 -1
  102. package/es/components/eftposPay/hooks.d.ts +1 -1
  103. package/es/components/eftposPay/locales.d.ts +330 -0
  104. package/es/components/eftposPay/pay.d.ts +1 -0
  105. package/es/components/eftposPay/payo/config.d.ts +1 -0
  106. package/es/components/eftposPay/tip.d.ts +1 -0
  107. package/es/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  108. package/es/components/eftposPay/windcave/windcave.d.ts +1 -0
  109. package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  110. package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  111. package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  112. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  113. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  114. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  115. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  116. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  117. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  118. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  119. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  120. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  121. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
  122. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  123. package/es/components/login/index.d.ts +1 -0
  124. package/es/components/pay/toC/PaymentList/index.d.ts +1 -1
  125. package/es/components/pay/toC/PaymentList/index.js +54 -5
  126. package/es/components/pay/toC/PaymentList/index.less +58 -1
  127. package/es/components/pay/toC/PaymentList/payment/credit_card.png +0 -0
  128. package/es/components/pay/toC/PaymentList/payment/visa.png +0 -0
  129. package/es/components/pay/toC/PaymentList/serve.d.ts +1 -1
  130. package/es/components/pay/toC/PaymentList/serve.js +8 -0
  131. package/es/components/pay/toC/PaymentList/utils.d.ts +36 -0
  132. package/es/components/pay/toC/PaymentList/utils.js +187 -6
  133. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
  134. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +2 -0
  135. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +2 -0
  136. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +2 -0
  137. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  138. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  139. package/es/components/pay/toC/index.js +2 -1
  140. package/es/components/pay/toC/locales.d.ts +307 -0
  141. package/es/components/pay/toC/locales.js +9 -3
  142. package/es/components/pay/toC/model.d.ts +9 -1
  143. package/es/components/pay/toC/status.d.ts +13 -0
  144. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  145. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  146. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  147. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  148. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  149. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  150. package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  151. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  152. package/es/components/ruleSetting/locales.d.ts +48 -0
  153. package/es/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  154. package/es/components/schedules/calendar/calendarItem.d.ts +1 -0
  155. package/es/components/schedules/calendar/index.d.ts +1 -0
  156. package/es/components/schedules/components/CurrentDay/index.d.ts +1 -0
  157. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  158. package/es/components/schedules/components/ScheduleList/index.d.ts +1 -0
  159. package/es/components/schedules/model.d.ts +9 -1
  160. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  161. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  162. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  163. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
  164. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  165. package/es/components/schedules/products/index.d.ts +1 -0
  166. package/es/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  167. package/es/components/schedules/products/list/index.d.ts +1 -0
  168. package/es/components/schedules/resources/index.d.ts +1 -0
  169. package/es/components/schedules/resources/list/index.d.ts +1 -0
  170. package/es/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  171. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  172. package/es/components/schedules/schedules/index.d.ts +1 -0
  173. package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -1
  174. package/es/components/shoppingCart/index.d.ts +1 -0
  175. package/es/components/shoppingCart/locales.d.ts +33 -0
  176. package/es/components/shoppingCart/type.d.ts +48 -0
  177. package/es/components/subTotal/locales.d.ts +42 -0
  178. package/es/components/systemSettings/registry/locales.d.ts +272 -0
  179. package/es/components/systemSettings/registry/services.d.ts +77 -0
  180. package/es/components/systemSettings/registry/types.d.ts +126 -0
  181. package/es/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
  182. package/es/components/systemSettings/registry/utils/validators.d.ts +8 -0
  183. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
  184. package/es/components/ticketBooking/locales.d.ts +174 -0
  185. package/es/components/wallet/utils.d.ts +48 -0
  186. package/es/components/walletList/locales.d.ts +27 -0
  187. package/es/components/walletList/types/index.d.ts +194 -0
  188. package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
  189. package/es/components/workSpaceList/components/Card/constants.d.ts +2 -0
  190. package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
  191. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
  192. package/es/hooks/useEngineContext.d.ts +10 -0
  193. package/es/hooks/usePaymentLogger.d.ts +1 -0
  194. package/es/hooks/useWindowSize.d.ts +5 -0
  195. package/es/plus/clientName/index.d.ts +4 -0
  196. package/es/plus/clientName/type.d.ts +13 -0
  197. package/es/plus/clientName/utils.d.ts +2 -0
  198. package/es/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
  199. package/es/plus/contactInfo/locales.d.ts +15 -0
  200. package/es/plus/contactInfo/types.d.ts +91 -0
  201. package/es/plus/contactInfo/utils.d.ts +7 -0
  202. package/es/plus/contactInfoModal/locales.d.ts +66 -0
  203. package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
  204. package/es/plus/productSelect/index.js +5 -1
  205. package/es/plus/saasCreateOrganization/components/Header.d.ts +1 -0
  206. package/es/plus/saasRegister/components/EntryEmail.d.ts +1 -0
  207. package/es/plus/saasRegister/components/EntryInfo.d.ts +1 -0
  208. package/es/plus/saasRegister/components/GoLogin.d.ts +1 -0
  209. package/es/plus/saasRegister/components/Header.d.ts +1 -0
  210. package/es/plus/saasRegister/components/VerifyError.d.ts +1 -0
  211. package/es/plus/saasRegister/components/VerifyingLink.d.ts +1 -0
  212. package/es/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
  213. package/es/plus/selectHolder/locales.d.ts +21 -0
  214. package/es/plus/selectHolder/types.d.ts +104 -0
  215. package/es/plus/selectHolder/utils.d.ts +9 -0
  216. package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -1
  217. package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -1
  218. package/es/plus/skuOptionsSelection/hooks/index.d.ts +3 -0
  219. package/es/plus/skuOptionsSelection/hooks/useLanguage.d.ts +2 -0
  220. package/es/plus/skuOptionsSelection/hooks/useStore.d.ts +2 -0
  221. package/es/plus/skuOptionsSelection/hooks/useSymbol.d.ts +2 -0
  222. package/es/plus/skuOptionsSelection/locales.d.ts +30 -0
  223. package/es/plus/skuOptionsSelection/store/actions.d.ts +22 -0
  224. package/es/plus/skuOptionsSelection/store/createStore.d.ts +15 -0
  225. package/es/plus/skuOptionsSelection/store/index.d.ts +2 -0
  226. package/es/plus/skuOptionsSelection/store/store.d.ts +4 -0
  227. package/es/plus/skuOptionsSelection/types.d.ts +424 -0
  228. package/es/plus/skuOptionsSelection/utils/calculateOption.d.ts +6 -0
  229. package/es/plus/skuOptionsSelection/utils/checkSkuStatus.d.ts +37 -0
  230. package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
  231. package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
  232. package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
  233. package/es/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
  234. package/es/plus/walletEditor/components/relationProduct/index.d.ts +1 -0
  235. package/es/plus/walletEditor/locales.d.ts +135 -0
  236. package/es/plus/walletEditor/types.d.ts +52 -0
  237. package/es/plus/walletPassGallery/locales.d.ts +285 -0
  238. package/es/plus/walletPassGallery/utils.d.ts +48 -0
  239. package/es/pro/Login2.0/hooks/index.d.ts +2 -0
  240. package/es/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +24 -0
  241. package/es/pro/Login2.0/hooks/useRegisterFlow.d.ts +39 -0
  242. package/es/pro/Login2.0/hooks/useRegistrationMethods.d.ts +9 -0
  243. package/es/pro/Login2.0/locales.d.ts +543 -0
  244. package/es/pro/Login2.0/shared/Header.d.ts +11 -0
  245. package/es/pro/Login2.0/shared/registerFlow.d.ts +116 -0
  246. package/es/pro/Login2.0/shared/types.d.ts +232 -0
  247. package/es/pro/Login2.0/steps/CodeInput.js +37 -7
  248. package/es/pro/Login2.0/types.d.ts +167 -0
  249. package/es/pro/NumericStepper/index.d.ts +43 -0
  250. package/es/pro/Selector/BatchSelectorDemo.d.ts +3 -0
  251. package/es/pro/Selector/Item.d.ts +14 -0
  252. package/es/pro/Selector/Selector.stories.d.ts +78 -0
  253. package/es/pro/Selector/components/Card/index.d.ts +57 -0
  254. package/es/pro/Selector/components/Card/types.d.ts +1 -0
  255. package/es/pro/Selector/components/Indicator/index.d.ts +19 -0
  256. package/es/pro/Selector/components/IntersectionObserver.d.ts +105 -0
  257. package/es/pro/Selector/components/LayoutContainer/index.d.ts +16 -0
  258. package/es/pro/Selector/components/Media/index.d.ts +6 -0
  259. package/es/pro/Selector/components/Media/types.d.ts +47 -0
  260. package/es/pro/Selector/components/index.d.ts +4 -0
  261. package/es/pro/Selector/demo.d.ts +2 -0
  262. package/es/pro/Selector/hooks/usePresetItemProps.d.ts +43 -0
  263. package/es/pro/Selector/hooks/usePresetProps.d.ts +24 -0
  264. package/es/pro/Selector/index.d.ts +11 -0
  265. package/es/pro/Selector/locales.d.ts +36 -0
  266. package/es/pro/Selector/types.d.ts +173 -0
  267. package/es/pro/Selector/utils/index.d.ts +49 -0
  268. package/es/pro/pisellPaymentList/example.d.ts +19 -0
  269. package/es/test/setup.d.ts +1 -0
  270. package/lib/businessModel/SalesModel/index.d.ts +0 -1
  271. package/lib/components/Sales/Summary/utils.d.ts +51 -0
  272. package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  273. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  274. package/lib/components/appointmentBooking/locales.d.ts +363 -0
  275. package/lib/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
  276. package/lib/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
  277. package/lib/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
  278. package/lib/components/authentication/admin/AuthMethods/types.d.ts +76 -0
  279. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
  280. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
  281. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
  282. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
  283. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
  284. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
  285. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
  286. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
  287. package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
  288. package/lib/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
  289. package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
  290. package/lib/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
  291. package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
  292. package/lib/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
  293. package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
  294. package/lib/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
  295. package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
  296. package/lib/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
  297. package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
  298. package/lib/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
  299. package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
  300. package/lib/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
  301. package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
  302. package/lib/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
  303. package/lib/components/authentication/index.d.ts +0 -0
  304. package/lib/components/booking/addons/model.d.ts +10 -1
  305. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  306. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  307. package/lib/components/booking/components/collapsibleList/utils.d.ts +1 -0
  308. package/lib/components/booking/components/emptyBooking/index.d.ts +1 -0
  309. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  310. package/lib/components/booking/components/reloadResourceModal/index.d.ts +1 -0
  311. package/lib/components/booking/components/tabPane/index.d.ts +4 -0
  312. package/lib/components/booking/dashboard/serve.d.ts +1 -0
  313. package/lib/components/booking/editBookingModal/utils.d.ts +12 -0
  314. package/lib/components/booking/forms/model.d.ts +10 -1
  315. package/lib/components/booking/forms/serve.d.ts +18 -0
  316. package/lib/components/booking/forms/single/index.d.ts +1 -0
  317. package/lib/components/booking/forms/table/index.d.ts +1 -0
  318. package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  319. package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -1
  320. package/lib/components/booking/info/client/serve.d.ts +2 -0
  321. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  322. package/lib/components/booking/info/date/index.d.ts +1 -0
  323. package/lib/components/booking/info/dateRange/index.d.ts +0 -1
  324. package/lib/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
  325. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  326. package/lib/components/booking/info/index.d.ts +0 -1
  327. package/lib/components/booking/info/model.d.ts +10 -1
  328. package/lib/components/booking/info/notes/index.d.ts +1 -0
  329. package/lib/components/booking/info/pet/serve.d.ts +1 -0
  330. package/lib/components/booking/info/service/Lists.d.ts +0 -1
  331. package/lib/components/booking/info/service/actions/index.d.ts +1 -0
  332. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  333. package/lib/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
  334. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  335. package/lib/components/booking/info/service/editService/constants.d.ts +1 -0
  336. package/lib/components/booking/info/service/serve.d.ts +20 -0
  337. package/lib/components/booking/info/service2/Lists.d.ts +0 -1
  338. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  339. package/lib/components/booking/info2/service/actions/index.d.ts +1 -0
  340. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  341. package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
  342. package/lib/components/booking/locales.d.ts +843 -0
  343. package/lib/components/booking/materiels/contacts/index.d.ts +1 -0
  344. package/lib/components/booking/materiels/duration/index.d.ts +1 -0
  345. package/lib/components/booking/materiels/holder/index.d.ts +1 -0
  346. package/lib/components/booking/model.d.ts +9 -1
  347. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  348. package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
  349. package/lib/components/booking/notes/model.d.ts +10 -1
  350. package/lib/components/booking/payments/model.d.ts +10 -1
  351. package/lib/components/eftpos/index.d.ts +1 -0
  352. package/lib/components/eftpos/pos.d.ts +1 -0
  353. package/lib/components/eftposPay/amount.d.ts +2 -1
  354. package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  355. package/lib/components/eftposPay/component/fail/network.d.ts +1 -0
  356. package/lib/components/eftposPay/component/fail/unknow.d.ts +1 -0
  357. package/lib/components/eftposPay/component/manual/index.d.ts +1 -0
  358. package/lib/components/eftposPay/component/signature/index.d.ts +1 -0
  359. package/lib/components/eftposPay/const.d.ts +184 -0
  360. package/lib/components/eftposPay/device.d.ts +1 -1
  361. package/lib/components/eftposPay/hooks.d.ts +1 -1
  362. package/lib/components/eftposPay/locales.d.ts +330 -0
  363. package/lib/components/eftposPay/pay.d.ts +1 -0
  364. package/lib/components/eftposPay/payo/config.d.ts +1 -0
  365. package/lib/components/eftposPay/tip.d.ts +1 -0
  366. package/lib/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  367. package/lib/components/eftposPay/windcave/windcave.d.ts +1 -0
  368. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  369. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  370. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  371. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  372. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  373. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  374. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  375. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  376. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  377. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  378. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  379. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  380. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
  381. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  382. package/lib/components/login/index.d.ts +1 -0
  383. package/lib/components/pay/toC/PaymentList/index.d.ts +1 -1
  384. package/lib/components/pay/toC/PaymentList/index.js +36 -5
  385. package/lib/components/pay/toC/PaymentList/index.less +58 -1
  386. package/lib/components/pay/toC/PaymentList/payment/credit_card.png +0 -0
  387. package/lib/components/pay/toC/PaymentList/payment/visa.png +0 -0
  388. package/lib/components/pay/toC/PaymentList/serve.d.ts +1 -1
  389. package/lib/components/pay/toC/PaymentList/serve.js +6 -1
  390. package/lib/components/pay/toC/PaymentList/utils.d.ts +36 -0
  391. package/lib/components/pay/toC/PaymentList/utils.js +155 -7
  392. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
  393. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +2 -0
  394. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +2 -0
  395. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +2 -0
  396. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  397. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  398. package/lib/components/pay/toC/index.js +2 -1
  399. package/lib/components/pay/toC/locales.d.ts +307 -0
  400. package/lib/components/pay/toC/locales.js +9 -3
  401. package/lib/components/pay/toC/model.d.ts +9 -1
  402. package/lib/components/pay/toC/status.d.ts +13 -0
  403. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  404. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  405. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  406. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  407. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  408. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  409. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  410. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  411. package/lib/components/ruleSetting/locales.d.ts +48 -0
  412. package/lib/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  413. package/lib/components/schedules/calendar/calendarItem.d.ts +1 -0
  414. package/lib/components/schedules/calendar/index.d.ts +1 -0
  415. package/lib/components/schedules/components/CurrentDay/index.d.ts +1 -0
  416. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  417. package/lib/components/schedules/components/ScheduleList/index.d.ts +1 -0
  418. package/lib/components/schedules/model.d.ts +9 -1
  419. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  420. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  421. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  422. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
  423. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  424. package/lib/components/schedules/products/index.d.ts +1 -0
  425. package/lib/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  426. package/lib/components/schedules/products/list/index.d.ts +1 -0
  427. package/lib/components/schedules/resources/index.d.ts +1 -0
  428. package/lib/components/schedules/resources/list/index.d.ts +1 -0
  429. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  430. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  431. package/lib/components/schedules/schedules/index.d.ts +1 -0
  432. package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -1
  433. package/lib/components/shoppingCart/index.d.ts +1 -0
  434. package/lib/components/shoppingCart/locales.d.ts +33 -0
  435. package/lib/components/shoppingCart/type.d.ts +48 -0
  436. package/lib/components/subTotal/locales.d.ts +42 -0
  437. package/lib/components/systemSettings/registry/locales.d.ts +272 -0
  438. package/lib/components/systemSettings/registry/services.d.ts +77 -0
  439. package/lib/components/systemSettings/registry/types.d.ts +126 -0
  440. package/lib/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
  441. package/lib/components/systemSettings/registry/utils/validators.d.ts +8 -0
  442. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
  443. package/lib/components/ticketBooking/locales.d.ts +174 -0
  444. package/lib/components/wallet/utils.d.ts +48 -0
  445. package/lib/components/walletList/locales.d.ts +27 -0
  446. package/lib/components/walletList/types/index.d.ts +194 -0
  447. package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
  448. package/lib/components/workSpaceList/components/Card/constants.d.ts +2 -0
  449. package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
  450. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
  451. package/lib/hooks/useEngineContext.d.ts +10 -0
  452. package/lib/hooks/usePaymentLogger.d.ts +1 -0
  453. package/lib/hooks/useWindowSize.d.ts +5 -0
  454. package/lib/plus/clientName/index.d.ts +4 -0
  455. package/lib/plus/clientName/type.d.ts +13 -0
  456. package/lib/plus/clientName/utils.d.ts +2 -0
  457. package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
  458. package/lib/plus/contactInfo/locales.d.ts +15 -0
  459. package/lib/plus/contactInfo/types.d.ts +91 -0
  460. package/lib/plus/contactInfo/utils.d.ts +7 -0
  461. package/lib/plus/contactInfoModal/locales.d.ts +66 -0
  462. package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
  463. package/lib/plus/productSelect/index.js +4 -1
  464. package/lib/plus/saasCreateOrganization/components/Header.d.ts +1 -0
  465. package/lib/plus/saasRegister/components/EntryEmail.d.ts +1 -0
  466. package/lib/plus/saasRegister/components/EntryInfo.d.ts +1 -0
  467. package/lib/plus/saasRegister/components/GoLogin.d.ts +1 -0
  468. package/lib/plus/saasRegister/components/Header.d.ts +1 -0
  469. package/lib/plus/saasRegister/components/VerifyError.d.ts +1 -0
  470. package/lib/plus/saasRegister/components/VerifyingLink.d.ts +1 -0
  471. package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
  472. package/lib/plus/selectHolder/locales.d.ts +21 -0
  473. package/lib/plus/selectHolder/types.d.ts +104 -0
  474. package/lib/plus/selectHolder/utils.d.ts +9 -0
  475. package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -1
  476. package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -1
  477. package/lib/plus/skuOptionsSelection/hooks/index.d.ts +3 -0
  478. package/lib/plus/skuOptionsSelection/hooks/useLanguage.d.ts +2 -0
  479. package/lib/plus/skuOptionsSelection/hooks/useStore.d.ts +2 -0
  480. package/lib/plus/skuOptionsSelection/hooks/useSymbol.d.ts +2 -0
  481. package/lib/plus/skuOptionsSelection/locales.d.ts +30 -0
  482. package/lib/plus/skuOptionsSelection/store/actions.d.ts +22 -0
  483. package/lib/plus/skuOptionsSelection/store/createStore.d.ts +15 -0
  484. package/lib/plus/skuOptionsSelection/store/index.d.ts +2 -0
  485. package/lib/plus/skuOptionsSelection/store/store.d.ts +4 -0
  486. package/lib/plus/skuOptionsSelection/types.d.ts +424 -0
  487. package/lib/plus/skuOptionsSelection/utils/calculateOption.d.ts +6 -0
  488. package/lib/plus/skuOptionsSelection/utils/checkSkuStatus.d.ts +37 -0
  489. package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
  490. package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
  491. package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
  492. package/lib/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
  493. package/lib/plus/walletEditor/components/relationProduct/index.d.ts +1 -0
  494. package/lib/plus/walletEditor/locales.d.ts +135 -0
  495. package/lib/plus/walletEditor/types.d.ts +52 -0
  496. package/lib/plus/walletPassGallery/locales.d.ts +285 -0
  497. package/lib/plus/walletPassGallery/utils.d.ts +48 -0
  498. package/lib/pro/Login2.0/hooks/index.d.ts +2 -0
  499. package/lib/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +24 -0
  500. package/lib/pro/Login2.0/hooks/useRegisterFlow.d.ts +39 -0
  501. package/lib/pro/Login2.0/hooks/useRegistrationMethods.d.ts +9 -0
  502. package/lib/pro/Login2.0/locales.d.ts +543 -0
  503. package/lib/pro/Login2.0/shared/Header.d.ts +11 -0
  504. package/lib/pro/Login2.0/shared/registerFlow.d.ts +116 -0
  505. package/lib/pro/Login2.0/shared/types.d.ts +232 -0
  506. package/lib/pro/Login2.0/steps/CodeInput.js +27 -5
  507. package/lib/pro/Login2.0/types.d.ts +167 -0
  508. package/lib/pro/NumericStepper/index.d.ts +43 -0
  509. package/lib/pro/Selector/BatchSelectorDemo.d.ts +3 -0
  510. package/lib/pro/Selector/Item.d.ts +14 -0
  511. package/lib/pro/Selector/Selector.stories.d.ts +78 -0
  512. package/lib/pro/Selector/components/Card/index.d.ts +57 -0
  513. package/lib/pro/Selector/components/Card/types.d.ts +1 -0
  514. package/lib/pro/Selector/components/Indicator/index.d.ts +19 -0
  515. package/lib/pro/Selector/components/IntersectionObserver.d.ts +105 -0
  516. package/lib/pro/Selector/components/LayoutContainer/index.d.ts +16 -0
  517. package/lib/pro/Selector/components/Media/index.d.ts +6 -0
  518. package/lib/pro/Selector/components/Media/types.d.ts +47 -0
  519. package/lib/pro/Selector/components/index.d.ts +4 -0
  520. package/lib/pro/Selector/demo.d.ts +2 -0
  521. package/lib/pro/Selector/hooks/usePresetItemProps.d.ts +43 -0
  522. package/lib/pro/Selector/hooks/usePresetProps.d.ts +24 -0
  523. package/lib/pro/Selector/index.d.ts +11 -0
  524. package/lib/pro/Selector/locales.d.ts +36 -0
  525. package/lib/pro/Selector/types.d.ts +173 -0
  526. package/lib/pro/Selector/utils/index.d.ts +49 -0
  527. package/lib/pro/pisellPaymentList/example.d.ts +19 -0
  528. package/lib/test/setup.d.ts +1 -0
  529. package/package.json +1 -1
@@ -0,0 +1,424 @@
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
+ /**
46
+ * SKU store状态类型
47
+ */
48
+ export interface SkuSelectionState {
49
+ /** 数据源 */
50
+ dataSource: any;
51
+ /** 原始值 */
52
+ value: Record<string | number, any>;
53
+ /** 配置 */
54
+ config: {
55
+ overSold?: boolean;
56
+ };
57
+ /** 货币符号 */
58
+ symbol: string;
59
+ /** Selector数据源 */
60
+ selectorDataSource: any[];
61
+ /** Selector识别的值 */
62
+ selectorValue: Record<string | number, any>;
63
+ /** SKU Card 配置 */
64
+ skuCardConfig: SkuCardConfig;
65
+ style?: React.CSSProperties;
66
+ /** 样式配置 */
67
+ customConfig?: {
68
+ /** 弹窗宽度 */
69
+ modalWidth?: number | string;
70
+ };
71
+ }
72
+ /** SKU Card 默认配置 */
73
+ export declare const defaultSkuCardConfig: SkuCardConfig;
74
+ export interface IProps {
75
+ /** 数据源 */
76
+ dataSource: DataSource;
77
+ /** 原始值 */
78
+ value: SkuValue;
79
+ /** 配置 */
80
+ config?: {
81
+ /** 是否禁用 */
82
+ overSold?: 0 | 1;
83
+ };
84
+ /** SKU Card 配置 */
85
+ skuCardConfig?: SkuCardConfig;
86
+ /** 选中变更回调 */
87
+ onChange: (value: SkuValue) => void;
88
+ /** 自定义滚动容器 */
89
+ customScrollParent?: HTMLElement | string;
90
+ /** 自定义样式 */
91
+ style?: React.CSSProperties;
92
+ /** 自定义配置 */
93
+ customConfig?: {
94
+ /** 弹窗宽度 */
95
+ modalWidth?: number | string;
96
+ };
97
+ }
98
+ export interface DataSource {
99
+ /** 单规格组数据 */
100
+ option_group?: Array<OptionGroupItem>;
101
+ /** 组合规格组装后的数据 */
102
+ variant?: Array<VariantProductItem>;
103
+ /** 组合规格组数据 */
104
+ variant_group?: Array<VariantGroupItem>;
105
+ /** 套餐商品组数据 */
106
+ bundle_group?: Array<BundleItem>;
107
+ }
108
+ /**
109
+ * 单规格组数据
110
+ */
111
+ export interface OptionGroupItem {
112
+ /** 创建者id */
113
+ create_account_id?: number;
114
+ /** 创建时间 */
115
+ created_at?: string;
116
+ /** 删除时间 */
117
+ deleted_at?: string | null;
118
+ /** 模板id */
119
+ template_id?: number;
120
+ /** 更新者id */
121
+ update_account_id?: number;
122
+ /** 更新时间 */
123
+ updated_at?: string;
124
+ /** 单规格组id */
125
+ id?: number;
126
+ /** 是否启用 */
127
+ is_enabled?: 0 | 1;
128
+ /** 是否多选 */
129
+ is_multiple?: 0 | 1;
130
+ /** 最大选择数量 */
131
+ max_quantity?: number;
132
+ /** 最小选择数量 */
133
+ min_quantity?: number;
134
+ /** 单规格组名称 */
135
+ name?: string;
136
+ /** 单规格组下规格数据 */
137
+ option_item?: Array<OptionItem>;
138
+ /** 商品id */
139
+ product_id?: number;
140
+ /** 是否必选 */
141
+ required?: 0 | 1;
142
+ /** 店铺id */
143
+ shop_id?: number;
144
+ /** 排序 */
145
+ sort?: number;
146
+ /** 状态 */
147
+ status?: 0 | 1;
148
+ }
149
+ /**
150
+ * 单规格组下选项数据
151
+ */
152
+ export interface OptionItem {
153
+ /** 创建者id */
154
+ create_account_id?: number;
155
+ /** 创建时间 */
156
+ created_at?: string;
157
+ /** 删除时间 */
158
+ deleted_at?: string | null;
159
+ /** 模板id */
160
+ template_id?: number;
161
+ /** 更新者id */
162
+ update_account_id?: number;
163
+ /** 更新时间 */
164
+ updated_at?: string;
165
+ /** 加价 */
166
+ add_price?: string;
167
+ /** 封面 */
168
+ cover?: string;
169
+ /** 描述 */
170
+ description?: string;
171
+ /** 规格id */
172
+ id?: number;
173
+ /** 是否启用 */
174
+ is_enabled?: 0 | 1;
175
+ /** 最大选择数量 */
176
+ max_quantity?: number;
177
+ /** 规格名称 */
178
+ name?: string;
179
+ /** 规格组id */
180
+ option_group_id?: number;
181
+ /** 原价 */
182
+ original_price?: string;
183
+ /** 商品id */
184
+ product_id?: number;
185
+ /** 店铺id */
186
+ shop_id?: number;
187
+ /** 排序 */
188
+ sort?: number;
189
+ /** 状态 */
190
+ status?: 0 | 1;
191
+ }
192
+ /**
193
+ * 组合规格组数据
194
+ */
195
+ export interface VariantGroupItem {
196
+ /** 创建者id */
197
+ create_account_id?: number;
198
+ /** 创建时间 */
199
+ created_at?: string;
200
+ /** 删除时间 */
201
+ deleted_at?: string | null;
202
+ /** 更新者id */
203
+ update_account_id?: number;
204
+ /** 更新时间 */
205
+ updated_at?: string;
206
+ /** 组合规格组id */
207
+ id?: number;
208
+ /** 组合规格组名称 */
209
+ name?: string;
210
+ /** 位置id */
211
+ position_id?: number;
212
+ /** 商品id */
213
+ product_id?: number;
214
+ /** 店铺id */
215
+ shop_id?: number;
216
+ /** 排序 */
217
+ sort?: number;
218
+ /** 状态 */
219
+ status?: 0 | 1;
220
+ /** 组合规格组下选项数据 */
221
+ variant_item?: Array<VariantItem>;
222
+ }
223
+ /**
224
+ * 组合规格组下选项数据
225
+ */
226
+ export interface VariantItem {
227
+ /** 创建者id */
228
+ create_account_id?: number;
229
+ /** 创建时间 */
230
+ created_at?: string;
231
+ /** 删除时间 */
232
+ deleted_at?: string | null;
233
+ /** 更新者id */
234
+ update_account_id?: number;
235
+ /** 更新时间 */
236
+ updated_at?: string;
237
+ /** 店铺id */
238
+ shop_id?: number;
239
+ /** 排序 */
240
+ sort?: number;
241
+ /** 规格id */
242
+ id?: number;
243
+ /** 是否默认 */
244
+ is_default?: 0 | 1;
245
+ /** 变体名称 */
246
+ name?: string;
247
+ /** 位置id */
248
+ position_id?: number;
249
+ /** 商品id */
250
+ product_id?: number;
251
+ /** 状态 */
252
+ status?: 0 | 1;
253
+ /** 组合规格组id */
254
+ variant_group_id?: number;
255
+ }
256
+ /**
257
+ * 组合规格商品数据
258
+ */
259
+ export interface VariantProductItem {
260
+ /** 创建者id */
261
+ create_account_id?: number;
262
+ /** 创建时间 */
263
+ created_at?: string;
264
+ /** 更新者id */
265
+ update_account_id?: number;
266
+ /** 更新时间 */
267
+ updated_at?: string;
268
+ /** 条形码 */
269
+ barcode?: string;
270
+ /** 基础价格 */
271
+ base_price?: string;
272
+ /** 箱规数量 */
273
+ box_specification_quantity?: number;
274
+ /** 编码 */
275
+ code?: string;
276
+ /** 成本价格 */
277
+ cost_price?: string;
278
+ /** 封面 */
279
+ cover?: string;
280
+ /** 描述 */
281
+ description?: string | null;
282
+ /** 是否禁用 */
283
+ disabled?: 0 | 1;
284
+ /** 组合规格商品id */
285
+ id?: number;
286
+ /** 是否收税 */
287
+ is_charge_tax?: 0 | 1;
288
+ /** 是否发货 */
289
+ is_delivery?: 0 | 1;
290
+ /** 是否收税 */
291
+ is_gst?: 0 | 1;
292
+ /** 是否跟踪库存 */
293
+ is_track?: 0 | 1;
294
+ /** 名称 */
295
+ name?: Record<string, string>;
296
+ /** 开售重量 */
297
+ open_sold_weight?: number;
298
+ /** 原价 */
299
+ original_price?: string;
300
+ /** 是否超卖 */
301
+ over_sold?: 0 | 1;
302
+ /** 价格 */
303
+ price?: string;
304
+ /** 商品id */
305
+ product_id?: number;
306
+ /** 折扣类型 */
307
+ rebate_type?: string;
308
+ /** 折扣值 */
309
+ rebate_value?: number;
310
+ /** 标题 */
311
+ title?: Record<string, string>;
312
+ /** 单位 */
313
+ unit?: string;
314
+ /** 单位值 */
315
+ unit_value?: number;
316
+ /** 重量单位 */
317
+ weight_unit?: string;
318
+ /** 重量值 */
319
+ weight_value?: string;
320
+ }
321
+ /**
322
+ * 套餐商品组数据
323
+ */
324
+ export interface BundleGroupItem {
325
+ /** 店铺id */
326
+ shop_id?: number;
327
+ /** 排序 */
328
+ sort?: number;
329
+ /** 套餐id */
330
+ id?: number;
331
+ /** 最大选择数量 */
332
+ max_quantity?: number;
333
+ /** 最小选择数量 */
334
+ min_quantity?: number;
335
+ /** 套餐名称 */
336
+ name?: string;
337
+ /** 商品id */
338
+ product_id?: number;
339
+ /** 套餐商品组数据 */
340
+ bundle_item?: Array<BundleItem>;
341
+ }
342
+ /**
343
+ * 套餐商品组下选项数据
344
+ */
345
+ export interface BundleItem {
346
+ /** 店铺id */
347
+ shop_id?: number;
348
+ /** 排序 */
349
+ sort?: number;
350
+ /** 条形码 */
351
+ barcode?: string;
352
+ /** 套餐商品id */
353
+ bundle_product_id?: number;
354
+ /** 套餐商品变体id */
355
+ bundle_variant_id?: number;
356
+ /** 编码 */
357
+ code?: string;
358
+ /** 封面 */
359
+ cover?: string;
360
+ /** 扩展id */
361
+ extension_id?: number;
362
+ /** 扩展类型 */
363
+ extension_type?: string;
364
+ /** 套餐商品组id */
365
+ group_id?: number;
366
+ /** 套餐商品id */
367
+ id: string | number;
368
+ /** 是否跟踪库存 */
369
+ is_track?: 0 | 1;
370
+ /** 最大选择数量 */
371
+ max_quantity?: number;
372
+ /** 单规格组数据 */
373
+ option_group?: Array<OptionGroupItem>;
374
+ /** 是否允许超卖 */
375
+ over_sold?: 0 | 1;
376
+ /** 价格 */
377
+ price?: string;
378
+ /** 价格类型: mark_up==>加价 | mark_down==>减价 */
379
+ price_type?: 'mark_up' | 'mark_down';
380
+ /** 价格类型扩展: product_price==>商品价格 */
381
+ price_type_ext?: '' | 'product_price';
382
+ /** 商品id */
383
+ product_id?: number;
384
+ /** 商品价格 */
385
+ product_price?: string;
386
+ /** 商品副标题 */
387
+ product_subtitle?: string;
388
+ /** 库存数量 */
389
+ stock_quantity?: number;
390
+ /** 标题 */
391
+ title?: string;
392
+ }
393
+ /**
394
+ * sku value
395
+ */
396
+ export interface SkuValue {
397
+ /** 商品id */
398
+ product_id: number;
399
+ /** 多规格商品id */
400
+ product_variant_id: number;
401
+ /** 多规格商品选项字符串 */
402
+ product_option_string?: string;
403
+ /** 套餐商品组数据 */
404
+ bundle: Array<any>;
405
+ /** 单规格组数据 */
406
+ option: Array<OptionItem & {
407
+ num: number;
408
+ price: string;
409
+ product_option_item_id: number;
410
+ }>;
411
+ }
412
+ /**
413
+ * Selector值原子类型
414
+ */
415
+ export interface SelectorValueAtom {
416
+ /** 数据 */
417
+ data: Record<string, any>;
418
+ /** 数量 */
419
+ quantity: number;
420
+ /** 总价 */
421
+ totalPrice: string | number;
422
+ /** 值 */
423
+ value: number | string;
424
+ }
@@ -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,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,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;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const RelationProduct: ({ value, onChange, }: {
3
4
  value?: string[] | undefined;
@@ -0,0 +1,135 @@
1
+ declare const _default: {
2
+ en: {
3
+ walletName: string;
4
+ validityPeriod: string;
5
+ linkedPasses: string;
6
+ linkedPassesDesc: string;
7
+ sort: string;
8
+ status: string;
9
+ distributionConditions: string;
10
+ selectPasses: string;
11
+ backgroundImage: string;
12
+ advancedSettings: string;
13
+ sendConfig: string;
14
+ displaySettings: string;
15
+ viewPreview: string;
16
+ coverImage: string;
17
+ icon: string;
18
+ upload: string;
19
+ enable: string;
20
+ disable: string;
21
+ barCode: string;
22
+ qrCode: string;
23
+ day: string;
24
+ days: string;
25
+ month: string;
26
+ months: string;
27
+ year: string;
28
+ years: string;
29
+ forever: string;
30
+ custom: string;
31
+ balance: string;
32
+ point: string;
33
+ voucher: string;
34
+ discount: string;
35
+ rechargeable: string;
36
+ pleaseInputWalletName: string;
37
+ enterCoverImageURL: string;
38
+ enterJSONConfig: string;
39
+ selectValidityPeriod: string;
40
+ selectCustomDate: string;
41
+ registerToIssue: string;
42
+ 'pisell2.wallet-editor.holder': string;
43
+ 'pisell2.wallet-editor.holder.required': string;
44
+ 'pisell2.wallet-editor.holder.invalid': string;
45
+ };
46
+ 'zh-CN': {
47
+ walletName: string;
48
+ validityPeriod: string;
49
+ linkedPasses: string;
50
+ linkedPassesDesc: string;
51
+ sort: string;
52
+ status: string;
53
+ distributionConditions: string;
54
+ selectPasses: string;
55
+ backgroundImage: string;
56
+ advancedSettings: string;
57
+ sendConfig: string;
58
+ displaySettings: string;
59
+ viewPreview: string;
60
+ coverImage: string;
61
+ icon: string;
62
+ upload: string;
63
+ enable: string;
64
+ disable: string;
65
+ barCode: string;
66
+ qrCode: string;
67
+ day: string;
68
+ days: string;
69
+ month: string;
70
+ months: string;
71
+ year: string;
72
+ years: string;
73
+ forever: string;
74
+ custom: string;
75
+ balance: string;
76
+ point: string;
77
+ voucher: string;
78
+ discount: string;
79
+ rechargeable: string;
80
+ pleaseInputWalletName: string;
81
+ enterCoverImageURL: string;
82
+ enterJSONConfig: string;
83
+ selectValidityPeriod: string;
84
+ selectCustomDate: string;
85
+ registerToIssue: string;
86
+ 'pisell2.wallet-editor.holder': string;
87
+ 'pisell2.wallet-editor.holder.required': string;
88
+ 'pisell2.wallet-editor.holder.invalid': string;
89
+ };
90
+ 'zh-HK': {
91
+ walletName: string;
92
+ validityPeriod: string;
93
+ linkedPasses: string;
94
+ linkedPassesDesc: string;
95
+ sort: string;
96
+ status: string;
97
+ distributionConditions: string;
98
+ selectPasses: string;
99
+ backgroundImage: string;
100
+ advancedSettings: string;
101
+ sendConfig: string;
102
+ displaySettings: string;
103
+ viewPreview: string;
104
+ coverImage: string;
105
+ icon: string;
106
+ upload: string;
107
+ enable: string;
108
+ disable: string;
109
+ barCode: string;
110
+ qrCode: string;
111
+ day: string;
112
+ days: string;
113
+ month: string;
114
+ months: string;
115
+ year: string;
116
+ years: string;
117
+ forever: string;
118
+ custom: string;
119
+ balance: string;
120
+ point: string;
121
+ voucher: string;
122
+ discount: string;
123
+ rechargeable: string;
124
+ pleaseInputWalletName: string;
125
+ enterCoverImageURL: string;
126
+ enterJSONConfig: string;
127
+ selectValidityPeriod: string;
128
+ selectCustomDate: string;
129
+ registerToIssue: string;
130
+ 'pisell2.wallet-editor.holder': string;
131
+ 'pisell2.wallet-editor.holder.required': string;
132
+ 'pisell2.wallet-editor.holder.invalid': string;
133
+ };
134
+ };
135
+ export default _default;
@@ -0,0 +1,52 @@
1
+ /// <reference types="react" />
2
+ import { FormInstance } from 'antd';
3
+ export interface MultiLanguageTitle {
4
+ original?: string;
5
+ 'zh-CN'?: string;
6
+ 'zh-HK'?: string;
7
+ en?: string;
8
+ }
9
+ export interface ValidForConfig {
10
+ unit: string;
11
+ unit_type: 'day' | 'month' | 'year';
12
+ type: 'normal' | 'custom' | 'forever';
13
+ custom_date?: string;
14
+ }
15
+ export declare type WalletPassType = 'balance' | 'point' | 'voucher' | 'discount' | 'rechargeable';
16
+ export interface ShowcaseWalletPassItem {
17
+ type: WalletPassType;
18
+ display: 0 | 1;
19
+ name?: MultiLanguageTitle;
20
+ custom_title?: MultiLanguageTitle;
21
+ }
22
+ export interface SendConfig {
23
+ type: string;
24
+ [key: string]: any;
25
+ }
26
+ export interface WalletMetadata {
27
+ showcaseWalletPass?: string[];
28
+ showcaseWalletPassNew?: ShowcaseWalletPassItem[];
29
+ welcomeText?: string;
30
+ customerName?: string;
31
+ coverImage?: string;
32
+ send_config?: SendConfig;
33
+ }
34
+ export interface WalletEditorValue {
35
+ name?: MultiLanguageTitle;
36
+ status: 'enable' | 'disable';
37
+ valid_for: ValidForConfig;
38
+ metadata: WalletMetadata;
39
+ }
40
+ export interface WalletEditorRef {
41
+ form: FormInstance;
42
+ setInitialValues: (values: WalletEditorValue) => void;
43
+ getValues: () => WalletEditorValue;
44
+ }
45
+ export interface WalletEditorProps {
46
+ value?: WalletEditorValue;
47
+ onChange?: (value: WalletEditorValue) => void;
48
+ onValuesChange?: (changedValue: any, values: WalletEditorValue) => void;
49
+ disabled?: boolean;
50
+ className?: string;
51
+ style?: React.CSSProperties;
52
+ }