@pisell/private-materials 6.11.49 → 6.11.51

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 (563) 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/utils.d.ts +68 -0
  8. package/es/components/Sales/Checkout/utils.d.ts +41 -0
  9. package/es/components/Sales/Summary/index.d.ts +37 -0
  10. package/es/components/Sales/Summary/utils.d.ts +58 -0
  11. package/es/components/appointmentBooking/locales.d.ts +606 -0
  12. package/es/components/booking/addons/model.d.ts +10 -1
  13. package/es/components/booking/components/voucher/utils.d.ts +4 -0
  14. package/es/components/booking/dashboard/serve.d.ts +2 -0
  15. package/es/components/booking/editBookingModal/utils.d.ts +12 -0
  16. package/es/components/booking/forms/model.d.ts +10 -1
  17. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
  18. package/es/components/booking/forms/serve.d.ts +18 -0
  19. package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  20. package/es/components/booking/hooks/usePromotion.js +25 -20
  21. package/es/components/booking/info/client/serve.d.ts +2 -0
  22. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
  23. package/es/components/booking/info/hooks/useHolderConfig.d.ts +10 -0
  24. package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  25. package/es/components/booking/info/model.d.ts +10 -1
  26. package/es/components/booking/info/pet/serve.d.ts +1 -0
  27. package/es/components/booking/info/service/Lists.js +11 -1
  28. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  29. package/es/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
  30. package/es/components/booking/info/service/editService/constants.d.ts +1 -0
  31. package/es/components/booking/info/service/serve.d.ts +34 -0
  32. package/es/components/booking/info/service/serviceManager/distributeDiscount.d.ts +0 -5
  33. package/es/components/booking/info/service/serviceManager/distributeDiscount.js +3 -26
  34. package/es/components/booking/info/service2/Group/utils.js +0 -8
  35. package/es/components/booking/info/service2/utils.d.ts +1 -1
  36. package/es/components/booking/info2/cartClientCard/locales.d.ts +33 -0
  37. package/es/components/booking/info2/cartClientCard/types.d.ts +19 -0
  38. package/es/components/booking/info2/cartClientCard/utils.d.ts +3 -0
  39. package/es/components/booking/info2/model/index.d.ts +1 -0
  40. package/es/components/booking/info2/model/strategy/adapter/index.d.ts +7 -0
  41. package/es/components/booking/info2/model/strategy/adapter/promotion/evaluator.d.ts +185 -0
  42. package/es/components/booking/info2/model/strategy/adapter/promotion/type.d.ts +420 -0
  43. package/es/components/booking/info2/model/strategy/adapter/type.d.ts +28 -0
  44. package/es/components/booking/info2/model/strategy/adapter/walletPass/evaluator.d.ts +84 -0
  45. package/es/components/booking/info2/model/strategy/adapter/walletPass/example.d.ts +4 -0
  46. package/es/components/booking/info2/model/strategy/adapter/walletPass/index.d.ts +32 -0
  47. package/es/components/booking/info2/model/strategy/adapter/walletPass/locales.d.ts +1 -0
  48. package/es/components/booking/info2/model/strategy/adapter/walletPass/type.d.ts +165 -0
  49. package/es/components/booking/info2/model/strategy/adapter/walletPass/utils.d.ts +50 -0
  50. package/es/components/booking/info2/model/strategy/index.d.ts +107 -0
  51. package/es/components/booking/info2/model/strategy/strategy-example.d.ts +5 -0
  52. package/es/components/booking/info2/model/strategy/type.d.ts +228 -0
  53. package/es/components/booking/info2/serve.d.ts +6 -0
  54. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  55. package/es/components/booking/info2/service/editService/index.js +23 -2
  56. package/es/components/booking/info2/service/openNormalService.d.ts +37 -0
  57. package/es/components/booking/locales.d.ts +1586 -0
  58. package/es/components/booking/model.d.ts +9 -1
  59. package/es/components/booking/notes/model.d.ts +10 -1
  60. package/es/components/booking/payments/model.d.ts +10 -1
  61. package/es/components/checkout/components/AdditionalModule/locales.d.ts +58 -0
  62. package/es/components/checkout/components/PaymentResultToast/types.d.ts +59 -0
  63. package/es/components/checkout/components/PaymentResultToast/utils.d.ts +44 -0
  64. package/es/components/checkout/components/ScrollableList/index.d.ts +5 -0
  65. package/es/components/checkout/components/ScrollableList/types.d.ts +53 -0
  66. package/es/components/checkout/components/WalletPassModule/types.d.ts +134 -0
  67. package/es/components/checkout/constants.d.ts +2 -0
  68. package/es/components/checkout/hooks/usePaymentLogger.d.ts +2 -0
  69. package/es/components/checkout/locales.d.ts +856 -0
  70. package/es/components/checkout/styles.d.ts +67 -0
  71. package/es/components/checkout/types.d.ts +130 -0
  72. package/es/components/checkout/utils.d.ts +3 -0
  73. package/es/components/ecocup/components/CupActionModal/hooks.d.ts +5 -0
  74. package/es/components/ecocup/components/CupStatusModal/hooks.d.ts +36 -0
  75. package/es/components/ecocup/components/CustomerAndCupModal/hooks.d.ts +14 -0
  76. package/es/components/ecocup/components/SearchBar/const.d.ts +4 -0
  77. package/es/components/ecocup/components/SettingModal/const.d.ts +6 -0
  78. package/es/components/ecocup/cupList/const.d.ts +144 -0
  79. package/es/components/ecocup/cupProject/const.d.ts +7 -0
  80. package/es/components/ecocup/customerList/const.d.ts +44 -0
  81. package/es/components/ecocup/customerList/hooks/index.d.ts +3 -0
  82. package/es/components/ecocup/customerList/hooks/useColumns.d.ts +15 -0
  83. package/es/components/ecocup/customerList/hooks/useCustomerApi.d.ts +15 -0
  84. package/es/components/ecocup/hooks.d.ts +57 -0
  85. package/es/components/ecocup/locales.d.ts +653 -0
  86. package/es/components/ecocup/types.d.ts +103 -0
  87. package/es/components/ecocup/utils/download.d.ts +7 -0
  88. package/es/components/ecocup/utils/index.d.ts +2 -0
  89. package/es/components/ecocup/utils/scanListener.d.ts +20 -0
  90. package/es/components/eftpos/const.d.ts +64 -0
  91. package/es/components/eftpos/hooks.d.ts +34 -0
  92. package/es/components/eftpos/locales.d.ts +163 -0
  93. package/es/components/eftposPay/aggregatePayment/index.d.ts +3 -0
  94. package/es/components/eftposPay/aggregatePayment/types.d.ts +106 -0
  95. package/es/components/eftposPay/aggregatePayment/utils/payment.d.ts +139 -0
  96. package/es/components/eftposPay/amount.d.ts +1 -1
  97. package/es/components/eftposPay/const.d.ts +195 -0
  98. package/es/components/eftposPay/device.d.ts +1 -1
  99. package/es/components/eftposPay/hooks.d.ts +2 -2
  100. package/es/components/eftposPay/huifu/hooks.d.ts +25 -0
  101. package/es/components/eftposPay/huifu/types.d.ts +14 -0
  102. package/es/components/eftposPay/locales.d.ts +608 -0
  103. package/es/components/eftposPay/manufacturer.d.ts +8 -0
  104. package/es/components/eftposPay/store/index.d.ts +362 -0
  105. package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
  106. package/es/components/eventBooking/components/Voucher/components/locales.d.ts +61 -0
  107. package/es/components/eventBooking/components/Voucher/hooks.d.ts +7 -0
  108. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  109. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  110. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
  111. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
  112. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  113. package/es/components/kioskSkuDetail/locales.d.ts +43 -0
  114. package/es/components/list/TestResponsiveWrapper.d.ts +8 -0
  115. package/es/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +13 -0
  116. package/es/components/list/components/ListItemSkeleton/index.d.ts +2 -0
  117. package/es/components/list/components/ScrollLoader/ScrollLoader.d.ts +18 -0
  118. package/es/components/list/components/ScrollLoader/index.d.ts +2 -0
  119. package/es/components/list/components/Tab/Tab.d.ts +5 -0
  120. package/es/components/list/components/Tab/index.d.ts +2 -0
  121. package/es/components/list/components/Tab/types.d.ts +14 -0
  122. package/es/components/list/components/TabSkeleton/TabSkeleton.d.ts +11 -0
  123. package/es/components/list/components/TabSkeleton/index.d.ts +2 -0
  124. package/es/components/list/components/WaterfallList/WaterfallList.d.ts +33 -0
  125. package/es/components/list/components/WaterfallList/index.d.ts +2 -0
  126. package/es/components/list/hooks/useDevice.d.ts +24 -0
  127. package/es/components/list/hooks/useWaterfall.d.ts +34 -0
  128. package/es/components/list/locales.d.ts +108 -0
  129. package/es/components/list/types.d.ts +181 -0
  130. package/es/components/list/utils/getText.d.ts +53 -0
  131. package/es/components/list/utils/index.d.ts +19 -0
  132. package/es/components/pay/toB/components/Content/utils.d.ts +16 -0
  133. package/es/components/pay/toB/components/MX51/index.d.ts +3 -0
  134. package/es/components/pay/toB/hooks.d.ts +12 -0
  135. package/es/components/pay/toB/locales.d.ts +88 -0
  136. package/es/components/pay/toB/store/context.d.ts +3 -0
  137. package/es/components/pay/toB/store/hooks.d.ts +15 -0
  138. package/es/components/pay/toB/store/index.d.ts +3 -0
  139. package/es/components/pay/toB/store/provider.d.ts +4 -0
  140. package/es/components/pay/toB/types/index.d.ts +81 -0
  141. package/es/components/pay/toB/types/storeTypes.d.ts +143 -0
  142. package/es/components/pay/toC/PaymentList/utils.d.ts +36 -0
  143. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +7 -0
  144. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +3 -0
  145. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
  146. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +3 -0
  147. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +4 -0
  148. package/es/components/pay/toC/PaymentMethods/StripePay/index.d.ts +10 -0
  149. package/es/components/pay/toC/locales.d.ts +511 -0
  150. package/es/components/pay/toC/model.d.ts +9 -1
  151. package/es/components/pay/toC/utils.d.ts +2 -2
  152. package/es/components/pisellSelectCustomerModal/locales.d.ts +133 -0
  153. package/es/components/ruleSetting/locales.d.ts +78 -0
  154. package/es/components/schedules/locales.d.ts +143 -0
  155. package/es/components/schedules/model.d.ts +9 -1
  156. package/es/components/shoppingCart/Provider.d.ts +3 -0
  157. package/es/components/shoppingCart/locales.d.ts +93 -0
  158. package/es/components/shoppingCart/mock.d.ts +54 -0
  159. package/es/components/shoppingCart/type.d.ts +58 -0
  160. package/es/components/subTotal/locales.d.ts +71 -0
  161. package/es/components/systemSettings/registry/locales.d.ts +525 -0
  162. package/es/components/systemSettings/registry/services.d.ts +97 -0
  163. package/es/components/systemSettings/registry/types.d.ts +139 -0
  164. package/es/components/taxSelect/locales.d.ts +38 -0
  165. package/es/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +115 -0
  166. package/es/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +6 -0
  167. package/es/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
  168. package/es/components/ticketBooking/context/IsActiveContext.d.ts +26 -0
  169. package/es/components/ticketBooking/context/OsKeyContext.d.ts +29 -0
  170. package/es/components/ticketBooking/context/index.d.ts +2 -0
  171. package/es/components/ticketBooking/hooks/pisellos/index.d.ts +4 -0
  172. package/es/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +21 -0
  173. package/es/components/ticketBooking/hooks/pisellos/useCartChangeEffect.d.ts +5 -0
  174. package/es/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +25 -0
  175. package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +16 -0
  176. package/es/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +6 -0
  177. package/es/components/ticketBooking/locales.d.ts +340 -0
  178. package/es/components/ticketBooking/utils/edit.d.ts +1 -0
  179. package/es/components/ticketBooking/utils/productCache.d.ts +75 -0
  180. package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
  181. package/es/components/workSpaceList/components/Card/constants.d.ts +2 -0
  182. package/es/hooks/printer.d.ts +4 -0
  183. package/es/hooks/useEngineContext.d.ts +4 -0
  184. package/es/hooks/useLocale.d.ts +2 -0
  185. package/es/hooks/useLogger.d.ts +2 -0
  186. package/es/hooks/usePaymentLogger.d.ts +1 -0
  187. package/es/hooks/useThemeTokens.d.ts +7 -0
  188. package/es/hooks/useToast.d.ts +2 -0
  189. package/es/hooks/useWindowSize.d.ts +5 -0
  190. package/es/plus/clientCard/types.d.ts +135 -0
  191. package/es/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
  192. package/es/plus/noteModal/locales.d.ts +53 -0
  193. package/es/plus/noteModal/types.d.ts +19 -0
  194. package/es/plus/orderList/config.d.ts +2 -2
  195. package/es/plus/orderList/locales.d.ts +618 -0
  196. package/es/plus/pisellSalesGrid/locales.d.ts +9 -0
  197. package/es/plus/pisellSalesGrid/types.d.ts +170 -0
  198. package/es/plus/pisellSalesManagement/config/booking.d.ts +7 -6
  199. package/es/plus/pisellSalesManagement/hooks/perspectiveUtils.d.ts +15 -0
  200. package/es/plus/pisellSalesManagement/locales.d.ts +303 -0
  201. package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
  202. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +7 -0
  203. package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
  204. package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +6 -0
  205. package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
  206. package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +6 -0
  207. package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
  208. package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +7 -0
  209. package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +6 -0
  210. package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +7 -0
  211. package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +7 -0
  212. package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +4 -0
  213. package/es/plus/productSelect/ProductCard/SkuCard/locales.d.ts +68 -0
  214. package/es/plus/productSelect/ProductCard/SkuCard/status.d.ts +173 -0
  215. package/es/plus/productSelect/ProductCard/SkuCard/type.d.ts +298 -0
  216. package/es/plus/productSelect/ProductCard/SkuCard/utils.d.ts +9 -0
  217. package/es/plus/productSelect/ProductCard/utils.d.ts +49 -0
  218. package/es/plus/productSelect/ProductList/gridComponents.d.ts +46 -0
  219. package/es/plus/productSelect/ProductList/index.d.ts +22 -0
  220. package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
  221. package/es/plus/saasAttendance/locales.d.ts +591 -0
  222. package/es/plus/saasAttendance/settings/types.d.ts +136 -0
  223. package/es/plus/saasTeamMembers/locales.d.ts +546 -0
  224. package/es/plus/selectHolder/locales.d.ts +38 -0
  225. package/es/plus/skuOptionsSelection/hooks/index.d.ts +3 -0
  226. package/es/plus/skuOptionsSelection/hooks/useLanguage.d.ts +2 -0
  227. package/es/plus/skuOptionsSelection/hooks/useStore.d.ts +2 -0
  228. package/es/plus/skuOptionsSelection/hooks/useSymbol.d.ts +2 -0
  229. package/es/plus/skuOptionsSelection/locales.d.ts +53 -0
  230. package/es/plus/skuOptionsSelection/store/actions.d.ts +22 -0
  231. package/es/plus/skuOptionsSelection/store/createStore.d.ts +15 -0
  232. package/es/plus/skuOptionsSelection/store/index.d.ts +2 -0
  233. package/es/plus/skuOptionsSelection/store/store.d.ts +4 -0
  234. package/es/plus/skuOptionsSelection/types.d.ts +445 -0
  235. package/es/plus/skuOptionsSelection/utils/calculateOption.d.ts +6 -0
  236. package/es/plus/skuOptionsSelection/utils/checkSkuStatus.d.ts +37 -0
  237. package/es/plus/skuOptionsSelection/utils/index.d.ts +7 -0
  238. package/es/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
  239. package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
  240. package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
  241. package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
  242. package/es/plus/webPosLogin/components/MediaDisplay/type.d.ts +54 -0
  243. package/es/plus/webPosLogin/locales.d.ts +92 -0
  244. package/es/plus/webPosLogin/types.d.ts +288 -0
  245. package/es/pro/Cards/components/SKUCard/locales.d.ts +12 -0
  246. package/es/pro/Cards/components/SKUCard/types.d.ts +73 -0
  247. package/es/pro/Login2.0/locales.d.ts +903 -0
  248. package/es/pro/Login2.0/shared/types.d.ts +234 -0
  249. package/es/pro/NumberKeyboardPopover/types.d.ts +31 -0
  250. package/es/pro/Selector/BatchSelectorDemo.d.ts +3 -0
  251. package/es/pro/Selector/Selector.d.ts +1 -1
  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 +20 -0
  256. package/es/pro/Selector/components/IntersectionObserver.d.ts +105 -0
  257. package/es/pro/Selector/components/LayoutContainer/index.d.ts +18 -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 +3 -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/locales.d.ts +58 -0
  265. package/es/pro/Selector/types.d.ts +223 -0
  266. package/es/pro/Selector/utils/index.d.ts +49 -0
  267. package/es/pro/keyboards/locales.d.ts +38 -0
  268. package/es/pro/keyboards/numberKeyboard/types.d.ts +63 -0
  269. package/es/pro/multiDayTimeSelect/types.d.ts +28 -0
  270. package/es/pro/pisellPriceKeyboardModal/types.d.ts +25 -0
  271. package/es/pro/pisellPriceKeyboardPopover/index.d.ts +2 -0
  272. package/es/pro/pisellPriceKeyboardPopover/types.d.ts +33 -0
  273. package/es/pro/pisellSimplePriceKeyboardPopover/types.d.ts +33 -0
  274. package/es/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +63 -0
  275. package/es/pro/priceKeyboard/components/cashKeyboard/types.d.ts +98 -0
  276. package/es/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +68 -0
  277. package/es/pro/priceKeyboard/components/discountKeyboard/types.d.ts +17 -0
  278. package/es/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +73 -0
  279. package/es/pro/priceKeyboard/components/paymentKeyboard/types.d.ts +39 -0
  280. package/es/pro/priceKeyboard/components/shortcuts/index.d.ts +18 -0
  281. package/es/pro/skuDetailModal/locales.d.ts +159 -0
  282. package/es/pro/skuDetailModal/types.d.ts +395 -0
  283. package/es/pro/skuDetailModal/utils.d.ts +4 -0
  284. package/es/test/setup.d.ts +1 -0
  285. package/lib/components/Sales/Cart/utils.d.ts +68 -0
  286. package/lib/components/Sales/Checkout/utils.d.ts +41 -0
  287. package/lib/components/Sales/Summary/index.d.ts +37 -0
  288. package/lib/components/Sales/Summary/utils.d.ts +58 -0
  289. package/lib/components/appointmentBooking/locales.d.ts +606 -0
  290. package/lib/components/booking/addons/model.d.ts +10 -1
  291. package/lib/components/booking/components/voucher/utils.d.ts +4 -0
  292. package/lib/components/booking/dashboard/serve.d.ts +2 -0
  293. package/lib/components/booking/editBookingModal/utils.d.ts +12 -0
  294. package/lib/components/booking/forms/model.d.ts +10 -1
  295. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
  296. package/lib/components/booking/forms/serve.d.ts +18 -0
  297. package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  298. package/lib/components/booking/hooks/usePromotion.js +16 -13
  299. package/lib/components/booking/info/client/serve.d.ts +2 -0
  300. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
  301. package/lib/components/booking/info/hooks/useHolderConfig.d.ts +10 -0
  302. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  303. package/lib/components/booking/info/model.d.ts +10 -1
  304. package/lib/components/booking/info/pet/serve.d.ts +1 -0
  305. package/lib/components/booking/info/service/Lists.js +11 -3
  306. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  307. package/lib/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
  308. package/lib/components/booking/info/service/editService/constants.d.ts +1 -0
  309. package/lib/components/booking/info/service/serve.d.ts +34 -0
  310. package/lib/components/booking/info/service/serviceManager/distributeDiscount.d.ts +0 -5
  311. package/lib/components/booking/info/service/serviceManager/distributeDiscount.js +6 -29
  312. package/lib/components/booking/info/service2/Group/utils.js +0 -8
  313. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  314. package/lib/components/booking/info2/cartClientCard/locales.d.ts +33 -0
  315. package/lib/components/booking/info2/cartClientCard/types.d.ts +19 -0
  316. package/lib/components/booking/info2/cartClientCard/utils.d.ts +3 -0
  317. package/lib/components/booking/info2/model/index.d.ts +1 -0
  318. package/lib/components/booking/info2/model/strategy/adapter/index.d.ts +7 -0
  319. package/lib/components/booking/info2/model/strategy/adapter/promotion/evaluator.d.ts +185 -0
  320. package/lib/components/booking/info2/model/strategy/adapter/promotion/type.d.ts +420 -0
  321. package/lib/components/booking/info2/model/strategy/adapter/type.d.ts +28 -0
  322. package/lib/components/booking/info2/model/strategy/adapter/walletPass/evaluator.d.ts +84 -0
  323. package/lib/components/booking/info2/model/strategy/adapter/walletPass/example.d.ts +4 -0
  324. package/lib/components/booking/info2/model/strategy/adapter/walletPass/index.d.ts +32 -0
  325. package/lib/components/booking/info2/model/strategy/adapter/walletPass/locales.d.ts +1 -0
  326. package/lib/components/booking/info2/model/strategy/adapter/walletPass/type.d.ts +165 -0
  327. package/lib/components/booking/info2/model/strategy/adapter/walletPass/utils.d.ts +50 -0
  328. package/lib/components/booking/info2/model/strategy/index.d.ts +107 -0
  329. package/lib/components/booking/info2/model/strategy/strategy-example.d.ts +5 -0
  330. package/lib/components/booking/info2/model/strategy/type.d.ts +228 -0
  331. package/lib/components/booking/info2/serve.d.ts +6 -0
  332. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  333. package/lib/components/booking/info2/service/editService/index.js +22 -8
  334. package/lib/components/booking/info2/service/openNormalService.d.ts +37 -0
  335. package/lib/components/booking/locales.d.ts +1586 -0
  336. package/lib/components/booking/model.d.ts +9 -1
  337. package/lib/components/booking/notes/model.d.ts +10 -1
  338. package/lib/components/booking/payments/model.d.ts +10 -1
  339. package/lib/components/checkout/components/AdditionalModule/locales.d.ts +58 -0
  340. package/lib/components/checkout/components/PaymentResultToast/types.d.ts +59 -0
  341. package/lib/components/checkout/components/PaymentResultToast/utils.d.ts +44 -0
  342. package/lib/components/checkout/components/ScrollableList/index.d.ts +5 -0
  343. package/lib/components/checkout/components/ScrollableList/types.d.ts +53 -0
  344. package/lib/components/checkout/components/WalletPassModule/types.d.ts +134 -0
  345. package/lib/components/checkout/constants.d.ts +2 -0
  346. package/lib/components/checkout/hooks/usePaymentLogger.d.ts +2 -0
  347. package/lib/components/checkout/locales.d.ts +856 -0
  348. package/lib/components/checkout/styles.d.ts +67 -0
  349. package/lib/components/checkout/types.d.ts +130 -0
  350. package/lib/components/checkout/utils.d.ts +3 -0
  351. package/lib/components/ecocup/components/CupActionModal/hooks.d.ts +5 -0
  352. package/lib/components/ecocup/components/CupStatusModal/hooks.d.ts +36 -0
  353. package/lib/components/ecocup/components/CustomerAndCupModal/hooks.d.ts +14 -0
  354. package/lib/components/ecocup/components/SearchBar/const.d.ts +4 -0
  355. package/lib/components/ecocup/components/SettingModal/const.d.ts +6 -0
  356. package/lib/components/ecocup/cupList/const.d.ts +144 -0
  357. package/lib/components/ecocup/cupProject/const.d.ts +7 -0
  358. package/lib/components/ecocup/customerList/const.d.ts +44 -0
  359. package/lib/components/ecocup/customerList/hooks/index.d.ts +3 -0
  360. package/lib/components/ecocup/customerList/hooks/useColumns.d.ts +15 -0
  361. package/lib/components/ecocup/customerList/hooks/useCustomerApi.d.ts +15 -0
  362. package/lib/components/ecocup/hooks.d.ts +57 -0
  363. package/lib/components/ecocup/locales.d.ts +653 -0
  364. package/lib/components/ecocup/types.d.ts +103 -0
  365. package/lib/components/ecocup/utils/download.d.ts +7 -0
  366. package/lib/components/ecocup/utils/index.d.ts +2 -0
  367. package/lib/components/ecocup/utils/scanListener.d.ts +20 -0
  368. package/lib/components/eftpos/const.d.ts +64 -0
  369. package/lib/components/eftpos/hooks.d.ts +34 -0
  370. package/lib/components/eftpos/locales.d.ts +163 -0
  371. package/lib/components/eftposPay/aggregatePayment/index.d.ts +3 -0
  372. package/lib/components/eftposPay/aggregatePayment/types.d.ts +106 -0
  373. package/lib/components/eftposPay/aggregatePayment/utils/payment.d.ts +139 -0
  374. package/lib/components/eftposPay/amount.d.ts +1 -1
  375. package/lib/components/eftposPay/const.d.ts +195 -0
  376. package/lib/components/eftposPay/device.d.ts +1 -1
  377. package/lib/components/eftposPay/hooks.d.ts +2 -2
  378. package/lib/components/eftposPay/huifu/hooks.d.ts +25 -0
  379. package/lib/components/eftposPay/huifu/types.d.ts +14 -0
  380. package/lib/components/eftposPay/locales.d.ts +608 -0
  381. package/lib/components/eftposPay/manufacturer.d.ts +8 -0
  382. package/lib/components/eftposPay/store/index.d.ts +362 -0
  383. package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
  384. package/lib/components/eventBooking/components/Voucher/components/locales.d.ts +61 -0
  385. package/lib/components/eventBooking/components/Voucher/hooks.d.ts +7 -0
  386. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  387. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  388. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
  389. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
  390. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  391. package/lib/components/kioskSkuDetail/locales.d.ts +43 -0
  392. package/lib/components/list/TestResponsiveWrapper.d.ts +8 -0
  393. package/lib/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +13 -0
  394. package/lib/components/list/components/ListItemSkeleton/index.d.ts +2 -0
  395. package/lib/components/list/components/ScrollLoader/ScrollLoader.d.ts +18 -0
  396. package/lib/components/list/components/ScrollLoader/index.d.ts +2 -0
  397. package/lib/components/list/components/Tab/Tab.d.ts +5 -0
  398. package/lib/components/list/components/Tab/index.d.ts +2 -0
  399. package/lib/components/list/components/Tab/types.d.ts +14 -0
  400. package/lib/components/list/components/TabSkeleton/TabSkeleton.d.ts +11 -0
  401. package/lib/components/list/components/TabSkeleton/index.d.ts +2 -0
  402. package/lib/components/list/components/WaterfallList/WaterfallList.d.ts +33 -0
  403. package/lib/components/list/components/WaterfallList/index.d.ts +2 -0
  404. package/lib/components/list/hooks/useDevice.d.ts +24 -0
  405. package/lib/components/list/hooks/useWaterfall.d.ts +34 -0
  406. package/lib/components/list/locales.d.ts +108 -0
  407. package/lib/components/list/types.d.ts +181 -0
  408. package/lib/components/list/utils/getText.d.ts +53 -0
  409. package/lib/components/list/utils/index.d.ts +19 -0
  410. package/lib/components/pay/toB/components/Content/utils.d.ts +16 -0
  411. package/lib/components/pay/toB/components/MX51/index.d.ts +3 -0
  412. package/lib/components/pay/toB/hooks.d.ts +12 -0
  413. package/lib/components/pay/toB/locales.d.ts +88 -0
  414. package/lib/components/pay/toB/store/context.d.ts +3 -0
  415. package/lib/components/pay/toB/store/hooks.d.ts +15 -0
  416. package/lib/components/pay/toB/store/index.d.ts +3 -0
  417. package/lib/components/pay/toB/store/provider.d.ts +4 -0
  418. package/lib/components/pay/toB/types/index.d.ts +81 -0
  419. package/lib/components/pay/toB/types/storeTypes.d.ts +143 -0
  420. package/lib/components/pay/toC/PaymentList/utils.d.ts +36 -0
  421. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +7 -0
  422. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +3 -0
  423. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
  424. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +3 -0
  425. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +4 -0
  426. package/lib/components/pay/toC/PaymentMethods/StripePay/index.d.ts +10 -0
  427. package/lib/components/pay/toC/locales.d.ts +511 -0
  428. package/lib/components/pay/toC/model.d.ts +9 -1
  429. package/lib/components/pay/toC/utils.d.ts +2 -2
  430. package/lib/components/pisellSelectCustomerModal/locales.d.ts +133 -0
  431. package/lib/components/ruleSetting/locales.d.ts +78 -0
  432. package/lib/components/schedules/locales.d.ts +143 -0
  433. package/lib/components/schedules/model.d.ts +9 -1
  434. package/lib/components/shoppingCart/Provider.d.ts +3 -0
  435. package/lib/components/shoppingCart/locales.d.ts +93 -0
  436. package/lib/components/shoppingCart/mock.d.ts +54 -0
  437. package/lib/components/shoppingCart/type.d.ts +58 -0
  438. package/lib/components/subTotal/locales.d.ts +71 -0
  439. package/lib/components/systemSettings/registry/locales.d.ts +525 -0
  440. package/lib/components/systemSettings/registry/services.d.ts +97 -0
  441. package/lib/components/systemSettings/registry/types.d.ts +139 -0
  442. package/lib/components/taxSelect/locales.d.ts +38 -0
  443. package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +115 -0
  444. package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +6 -0
  445. package/lib/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
  446. package/lib/components/ticketBooking/context/IsActiveContext.d.ts +26 -0
  447. package/lib/components/ticketBooking/context/OsKeyContext.d.ts +29 -0
  448. package/lib/components/ticketBooking/context/index.d.ts +2 -0
  449. package/lib/components/ticketBooking/hooks/pisellos/index.d.ts +4 -0
  450. package/lib/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +21 -0
  451. package/lib/components/ticketBooking/hooks/pisellos/useCartChangeEffect.d.ts +5 -0
  452. package/lib/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +25 -0
  453. package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +16 -0
  454. package/lib/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +6 -0
  455. package/lib/components/ticketBooking/locales.d.ts +340 -0
  456. package/lib/components/ticketBooking/utils/edit.d.ts +1 -0
  457. package/lib/components/ticketBooking/utils/productCache.d.ts +75 -0
  458. package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
  459. package/lib/components/workSpaceList/components/Card/constants.d.ts +2 -0
  460. package/lib/hooks/printer.d.ts +4 -0
  461. package/lib/hooks/useEngineContext.d.ts +4 -0
  462. package/lib/hooks/useLocale.d.ts +2 -0
  463. package/lib/hooks/useLogger.d.ts +2 -0
  464. package/lib/hooks/usePaymentLogger.d.ts +1 -0
  465. package/lib/hooks/useThemeTokens.d.ts +7 -0
  466. package/lib/hooks/useToast.d.ts +2 -0
  467. package/lib/hooks/useWindowSize.d.ts +5 -0
  468. package/lib/plus/clientCard/types.d.ts +135 -0
  469. package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
  470. package/lib/plus/noteModal/locales.d.ts +53 -0
  471. package/lib/plus/noteModal/types.d.ts +19 -0
  472. package/lib/plus/orderList/config.d.ts +2 -2
  473. package/lib/plus/orderList/locales.d.ts +618 -0
  474. package/lib/plus/pisellSalesGrid/locales.d.ts +9 -0
  475. package/lib/plus/pisellSalesGrid/types.d.ts +170 -0
  476. package/lib/plus/pisellSalesManagement/config/booking.d.ts +7 -6
  477. package/lib/plus/pisellSalesManagement/hooks/perspectiveUtils.d.ts +15 -0
  478. package/lib/plus/pisellSalesManagement/locales.d.ts +303 -0
  479. package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
  480. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +7 -0
  481. package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
  482. package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +6 -0
  483. package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
  484. package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +6 -0
  485. package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
  486. package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +7 -0
  487. package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +6 -0
  488. package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +7 -0
  489. package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +7 -0
  490. package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +4 -0
  491. package/lib/plus/productSelect/ProductCard/SkuCard/locales.d.ts +68 -0
  492. package/lib/plus/productSelect/ProductCard/SkuCard/status.d.ts +173 -0
  493. package/lib/plus/productSelect/ProductCard/SkuCard/type.d.ts +298 -0
  494. package/lib/plus/productSelect/ProductCard/SkuCard/utils.d.ts +9 -0
  495. package/lib/plus/productSelect/ProductCard/utils.d.ts +49 -0
  496. package/lib/plus/productSelect/ProductList/gridComponents.d.ts +46 -0
  497. package/lib/plus/productSelect/ProductList/index.d.ts +22 -0
  498. package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
  499. package/lib/plus/saasAttendance/locales.d.ts +591 -0
  500. package/lib/plus/saasAttendance/settings/types.d.ts +136 -0
  501. package/lib/plus/saasTeamMembers/locales.d.ts +546 -0
  502. package/lib/plus/selectHolder/locales.d.ts +38 -0
  503. package/lib/plus/skuOptionsSelection/hooks/index.d.ts +3 -0
  504. package/lib/plus/skuOptionsSelection/hooks/useLanguage.d.ts +2 -0
  505. package/lib/plus/skuOptionsSelection/hooks/useStore.d.ts +2 -0
  506. package/lib/plus/skuOptionsSelection/hooks/useSymbol.d.ts +2 -0
  507. package/lib/plus/skuOptionsSelection/locales.d.ts +53 -0
  508. package/lib/plus/skuOptionsSelection/store/actions.d.ts +22 -0
  509. package/lib/plus/skuOptionsSelection/store/createStore.d.ts +15 -0
  510. package/lib/plus/skuOptionsSelection/store/index.d.ts +2 -0
  511. package/lib/plus/skuOptionsSelection/store/store.d.ts +4 -0
  512. package/lib/plus/skuOptionsSelection/types.d.ts +445 -0
  513. package/lib/plus/skuOptionsSelection/utils/calculateOption.d.ts +6 -0
  514. package/lib/plus/skuOptionsSelection/utils/checkSkuStatus.d.ts +37 -0
  515. package/lib/plus/skuOptionsSelection/utils/index.d.ts +7 -0
  516. package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
  517. package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
  518. package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
  519. package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
  520. package/lib/plus/webPosLogin/components/MediaDisplay/type.d.ts +54 -0
  521. package/lib/plus/webPosLogin/locales.d.ts +92 -0
  522. package/lib/plus/webPosLogin/types.d.ts +288 -0
  523. package/lib/pro/Cards/components/SKUCard/locales.d.ts +12 -0
  524. package/lib/pro/Cards/components/SKUCard/types.d.ts +73 -0
  525. package/lib/pro/Login2.0/locales.d.ts +903 -0
  526. package/lib/pro/Login2.0/shared/types.d.ts +234 -0
  527. package/lib/pro/NumberKeyboardPopover/types.d.ts +31 -0
  528. package/lib/pro/Selector/BatchSelectorDemo.d.ts +3 -0
  529. package/lib/pro/Selector/Selector.d.ts +1 -1
  530. package/lib/pro/Selector/Selector.stories.d.ts +78 -0
  531. package/lib/pro/Selector/components/Card/index.d.ts +57 -0
  532. package/lib/pro/Selector/components/Card/types.d.ts +1 -0
  533. package/lib/pro/Selector/components/Indicator/index.d.ts +20 -0
  534. package/lib/pro/Selector/components/IntersectionObserver.d.ts +105 -0
  535. package/lib/pro/Selector/components/LayoutContainer/index.d.ts +18 -0
  536. package/lib/pro/Selector/components/Media/index.d.ts +6 -0
  537. package/lib/pro/Selector/components/Media/types.d.ts +47 -0
  538. package/lib/pro/Selector/components/index.d.ts +4 -0
  539. package/lib/pro/Selector/demo.d.ts +3 -0
  540. package/lib/pro/Selector/hooks/usePresetItemProps.d.ts +43 -0
  541. package/lib/pro/Selector/hooks/usePresetProps.d.ts +24 -0
  542. package/lib/pro/Selector/locales.d.ts +58 -0
  543. package/lib/pro/Selector/types.d.ts +223 -0
  544. package/lib/pro/Selector/utils/index.d.ts +49 -0
  545. package/lib/pro/keyboards/locales.d.ts +38 -0
  546. package/lib/pro/keyboards/numberKeyboard/types.d.ts +63 -0
  547. package/lib/pro/multiDayTimeSelect/types.d.ts +28 -0
  548. package/lib/pro/pisellPriceKeyboardModal/types.d.ts +25 -0
  549. package/lib/pro/pisellPriceKeyboardPopover/index.d.ts +2 -0
  550. package/lib/pro/pisellPriceKeyboardPopover/types.d.ts +33 -0
  551. package/lib/pro/pisellSimplePriceKeyboardPopover/types.d.ts +33 -0
  552. package/lib/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +63 -0
  553. package/lib/pro/priceKeyboard/components/cashKeyboard/types.d.ts +98 -0
  554. package/lib/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +68 -0
  555. package/lib/pro/priceKeyboard/components/discountKeyboard/types.d.ts +17 -0
  556. package/lib/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +73 -0
  557. package/lib/pro/priceKeyboard/components/paymentKeyboard/types.d.ts +39 -0
  558. package/lib/pro/priceKeyboard/components/shortcuts/index.d.ts +18 -0
  559. package/lib/pro/skuDetailModal/locales.d.ts +159 -0
  560. package/lib/pro/skuDetailModal/types.d.ts +395 -0
  561. package/lib/pro/skuDetailModal/utils.d.ts +4 -0
  562. package/lib/test/setup.d.ts +1 -0
  563. package/package.json +3 -3
@@ -0,0 +1,133 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.text.leave-empty-for-walk-in': string;
4
+ 'pisell2.text.date-year-text': string;
5
+ 'pisell2.text.date-month-text': string;
6
+ 'pisell2.text.date-day-text': string;
7
+ 'pisell2.text.gender': string;
8
+ 'pisell2.text.gender.male': string;
9
+ 'pisell2.text.gender.female': string;
10
+ 'pisell2.text.birthday': string;
11
+ 'pisell2.text.phone': string;
12
+ 'pisell2.text.email': string;
13
+ 'pisell2.text.lastname': string;
14
+ 'pisell2.text.firstname': string;
15
+ 'pisell2.text.email-error-message': string;
16
+ 'pisell2.text.notes': string;
17
+ 'pisell2.text.save': string;
18
+ 'pisell2.text.save-and-select': string;
19
+ 'pisell2.text.no-results-found': string;
20
+ 'pisell2.text.create-new-client': string;
21
+ 'pisell2.text.result-found': string;
22
+ 'pisell2.text.personnel-list': string;
23
+ 'pisell2.text.load-more': string;
24
+ 'pisell2.text.add-client.confirm': string;
25
+ 'pisell2.text.search-customer-by-phone-number': string;
26
+ 'pisell2.text.create': string;
27
+ };
28
+ 'zh-CN': {
29
+ 'pisell2.text.leave-empty-for-walk-in': string;
30
+ 'pisell2.text.date-year-text': string;
31
+ 'pisell2.text.date-month-text': string;
32
+ 'pisell2.text.date-day-text': string;
33
+ 'pisell2.text.gender': string;
34
+ 'pisell2.text.gender.male': string;
35
+ 'pisell2.text.gender.female': string;
36
+ 'pisell2.text.birthday': string;
37
+ 'pisell2.text.phone': string;
38
+ 'pisell2.text.email': string;
39
+ 'pisell2.text.lastname': string;
40
+ 'pisell2.text.firstname': string;
41
+ 'pisell2.text.email-error-message': string;
42
+ 'pisell2.text.notes': string;
43
+ 'pisell2.text.save': string;
44
+ 'pisell2.text.save-and-select': string;
45
+ 'pisell2.text.no-results-found': string;
46
+ 'pisell2.text.create-new-client': string;
47
+ 'pisell2.text.result-found': string;
48
+ 'pisell2.text.personnel-list': string;
49
+ 'pisell2.text.add-client.confirm': string;
50
+ 'pisell2.text.load-more': string;
51
+ 'pisell2.text.search-customer-by-phone-number': string;
52
+ 'pisell2.text.create': string;
53
+ };
54
+ 'zh-HK': {
55
+ 'pisell2.text.leave-empty-for-walk-in': string;
56
+ 'pisell2.text.date-year-text': string;
57
+ 'pisell2.text.date-month-text': string;
58
+ 'pisell2.text.date-day-text': string;
59
+ 'pisell2.text.gender': string;
60
+ 'pisell2.text.gender.male': string;
61
+ 'pisell2.text.gender.female': string;
62
+ 'pisell2.text.birthday': string;
63
+ 'pisell2.text.phone': string;
64
+ 'pisell2.text.email': string;
65
+ 'pisell2.text.lastname': string;
66
+ 'pisell2.text.firstname': string;
67
+ 'pisell2.text.email-error-message': string;
68
+ 'pisell2.text.notes': string;
69
+ 'pisell2.text.save': string;
70
+ 'pisell2.text.save-and-select': string;
71
+ 'pisell2.text.no-results-found': string;
72
+ 'pisell2.text.create-new-client': string;
73
+ 'pisell2.text.result-found': string;
74
+ 'pisell2.text.personnel-list': string;
75
+ 'pisell2.text.add-client.confirm': string;
76
+ 'pisell2.text.load-more': string;
77
+ 'pisell2.text.search-customer-by-phone-number': string;
78
+ 'pisell2.text.create': string;
79
+ };
80
+ ja: {
81
+ 'pisell2.text.leave-empty-for-walk-in': string;
82
+ 'pisell2.text.date-year-text': string;
83
+ 'pisell2.text.date-month-text': string;
84
+ 'pisell2.text.date-day-text': string;
85
+ 'pisell2.text.gender': string;
86
+ 'pisell2.text.gender.male': string;
87
+ 'pisell2.text.gender.female': string;
88
+ 'pisell2.text.birthday': string;
89
+ 'pisell2.text.phone': string;
90
+ 'pisell2.text.email': string;
91
+ 'pisell2.text.lastname': string;
92
+ 'pisell2.text.firstname': string;
93
+ 'pisell2.text.email-error-message': string;
94
+ 'pisell2.text.notes': string;
95
+ 'pisell2.text.save': string;
96
+ 'pisell2.text.save-and-select': string;
97
+ 'pisell2.text.no-results-found': string;
98
+ 'pisell2.text.create-new-client': string;
99
+ 'pisell2.text.result-found': string;
100
+ 'pisell2.text.personnel-list': string;
101
+ 'pisell2.text.load-more': string;
102
+ 'pisell2.text.add-client.confirm': string;
103
+ 'pisell2.text.search-customer-by-phone-number': string;
104
+ 'pisell2.text.create': string;
105
+ };
106
+ pt: {
107
+ 'pisell2.text.leave-empty-for-walk-in': string;
108
+ 'pisell2.text.date-year-text': string;
109
+ 'pisell2.text.date-month-text': string;
110
+ 'pisell2.text.date-day-text': string;
111
+ 'pisell2.text.gender': string;
112
+ 'pisell2.text.gender.male': string;
113
+ 'pisell2.text.gender.female': string;
114
+ 'pisell2.text.birthday': string;
115
+ 'pisell2.text.phone': string;
116
+ 'pisell2.text.email': string;
117
+ 'pisell2.text.lastname': string;
118
+ 'pisell2.text.firstname': string;
119
+ 'pisell2.text.email-error-message': string;
120
+ 'pisell2.text.notes': string;
121
+ 'pisell2.text.save': string;
122
+ 'pisell2.text.save-and-select': string;
123
+ 'pisell2.text.no-results-found': string;
124
+ 'pisell2.text.create-new-client': string;
125
+ 'pisell2.text.result-found': string;
126
+ 'pisell2.text.personnel-list': string;
127
+ 'pisell2.text.load-more': string;
128
+ 'pisell2.text.add-client.confirm': string;
129
+ 'pisell2.text.search-customer-by-phone-number': string;
130
+ 'pisell2.text.create': string;
131
+ };
132
+ };
133
+ export default _default;
@@ -0,0 +1,78 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.text.satisfy_any_condition': string;
4
+ 'pisell2.text.add': string;
5
+ 'pisell2.text.and': string;
6
+ 'pisell2.text.or': string;
7
+ 'pisell2.text.all': string;
8
+ 'pisell2.text.rule-setting.Contain': string;
9
+ 'pisell2.text.rule-setting.Exclude': string;
10
+ 'pisell2.text.rule-setting.order_type': string;
11
+ 'pisell2.text.rule-setting.sales_channel': string;
12
+ 'pisell2.text.rule-setting.staff': string;
13
+ 'pisell2.text.rule-setting.payment_method': string;
14
+ 'pisell2.text.rule-setting.pisell_terminal_device': string;
15
+ 'pisell2.text.rule-setting.current_device': string;
16
+ };
17
+ 'zh-CN': {
18
+ 'pisell2.text.satisfy_any_condition': string;
19
+ 'pisell2.text.and': string;
20
+ 'pisell2.text.or': string;
21
+ 'pisell2.text.all': string;
22
+ 'pisell2.text.add': string;
23
+ 'pisell2.text.rule-setting.Contain': string;
24
+ 'pisell2.text.rule-setting.Exclude': string;
25
+ 'pisell2.text.rule-setting.order_type': string;
26
+ 'pisell2.text.rule-setting.sales_channel': string;
27
+ 'pisell2.text.rule-setting.staff': string;
28
+ 'pisell2.text.rule-setting.payment_method': string;
29
+ 'pisell2.text.rule-setting.pisell_terminal_device': string;
30
+ 'pisell2.text.rule-setting.current_device': string;
31
+ };
32
+ 'zh-HK': {
33
+ 'pisell2.text.satisfy_any_condition': string;
34
+ 'pisell2.text.and': string;
35
+ 'pisell2.text.or': string;
36
+ 'pisell2.text.all': string;
37
+ 'pisell2.text.add': string;
38
+ 'pisell2.text.rule-setting.Contain': string;
39
+ 'pisell2.text.rule-setting.Exclude': string;
40
+ 'pisell2.text.rule-setting.order_type': string;
41
+ 'pisell2.text.rule-setting.sales_channel': string;
42
+ 'pisell2.text.rule-setting.staff': string;
43
+ 'pisell2.text.rule-setting.payment_method': string;
44
+ 'pisell2.text.rule-setting.pisell_terminal_device': string;
45
+ 'pisell2.text.rule-setting.current_device': string;
46
+ };
47
+ ja: {
48
+ 'pisell2.text.satisfy_any_condition': string;
49
+ 'pisell2.text.add': string;
50
+ 'pisell2.text.and': string;
51
+ 'pisell2.text.or': string;
52
+ 'pisell2.text.all': string;
53
+ 'pisell2.text.rule-setting.Contain': string;
54
+ 'pisell2.text.rule-setting.Exclude': string;
55
+ 'pisell2.text.rule-setting.order_type': string;
56
+ 'pisell2.text.rule-setting.sales_channel': string;
57
+ 'pisell2.text.rule-setting.staff': string;
58
+ 'pisell2.text.rule-setting.payment_method': string;
59
+ 'pisell2.text.rule-setting.pisell_terminal_device': string;
60
+ 'pisell2.text.rule-setting.current_device': string;
61
+ };
62
+ pt: {
63
+ 'pisell2.text.satisfy_any_condition': string;
64
+ 'pisell2.text.add': string;
65
+ 'pisell2.text.and': string;
66
+ 'pisell2.text.or': string;
67
+ 'pisell2.text.all': string;
68
+ 'pisell2.text.rule-setting.Contain': string;
69
+ 'pisell2.text.rule-setting.Exclude': string;
70
+ 'pisell2.text.rule-setting.order_type': string;
71
+ 'pisell2.text.rule-setting.sales_channel': string;
72
+ 'pisell2.text.rule-setting.staff': string;
73
+ 'pisell2.text.rule-setting.payment_method': string;
74
+ 'pisell2.text.rule-setting.pisell_terminal_device': string;
75
+ 'pisell2.text.rule-setting.current_device': string;
76
+ };
77
+ };
78
+ export default _default;
@@ -0,0 +1,143 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.text.schedules.all-day': string;
4
+ 'pisell2.text.schedules.save': string;
5
+ 'pisell2.text.schedules.delete-schedules-text1': string;
6
+ 'pisell2.text.schedules.delete-schedules-text2': string;
7
+ 'pisell2.text.schedules.delete-schedules-text3': string;
8
+ 'pisell2.text.schedules.add': string;
9
+ 'pisell2.text.schedules.edit-schedule': string;
10
+ 'pisell2.text.schedules.products-title': string;
11
+ 'pisell2.text.schedules.schedules-title': string;
12
+ 'pisell2.text.schedules.resources-title': string;
13
+ 'pisell2.text.schedules.open-hours-title': string;
14
+ 'pisell2.text.schedules.cancel': string;
15
+ 'pisell2.text.products.no-current-schedule': string;
16
+ 'pisell2.text.schedules.save-success': string;
17
+ 'pisell2.text.schedules.no-schedules': string;
18
+ 'pisell2.text.schedules.assign-schedule': string;
19
+ 'pisell2.text.schedules.max-participants': string;
20
+ 'pisell2.text.products.edit-resource-message': string;
21
+ 'pisell2.text.products.no-products': string;
22
+ 'pisell2.text.products.no-resources': string;
23
+ 'pisell2.text.products.unsaved-title': string;
24
+ 'pisell2.text.products.unsaved-content': string;
25
+ 'pisell2.text.products.unsaved-back': string;
26
+ 'pisell2.text.products.unsaved-yes': string;
27
+ 'pisell2.text.products.max-participants-error': string;
28
+ 'pisell2.text.schedules.create-new-schedule': string;
29
+ };
30
+ 'zh-CN': {
31
+ 'pisell2.text.schedules.all-day': string;
32
+ 'pisell2.text.schedules.save': string;
33
+ 'pisell2.text.schedules.delete-schedules-text1': string;
34
+ 'pisell2.text.schedules.delete-schedules-text2': string;
35
+ 'pisell2.text.schedules.delete-schedules-text3': string;
36
+ 'pisell2.text.schedules.add': string;
37
+ 'pisell2.text.schedules.edit-schedule': string;
38
+ 'pisell2.text.schedules.products-title': string;
39
+ 'pisell2.text.schedules.schedules-title': string;
40
+ 'pisell2.text.schedules.resources-title': string;
41
+ 'pisell2.text.schedules.open-hours-title': string;
42
+ 'pisell2.text.schedules.cancel': string;
43
+ 'pisell2.text.products.no-current-schedule': string;
44
+ 'pisell2.text.schedules.save-success': string;
45
+ 'pisell2.text.schedules.no-schedules': string;
46
+ 'pisell2.text.schedules.assign-schedule': string;
47
+ 'pisell2.text.schedules.max-participants': string;
48
+ 'pisell2.text.products.edit-resource-message': string;
49
+ 'pisell2.text.products.no-products': string;
50
+ 'pisell2.text.products.no-resources': string;
51
+ 'pisell2.text.products.unsaved-title': string;
52
+ 'pisell2.text.products.unsaved-content': string;
53
+ 'pisell2.text.products.unsaved-back': string;
54
+ 'pisell2.text.products.unsaved-yes': string;
55
+ 'pisell2.text.products.max-participants-error': string;
56
+ 'pisell2.text.schedules.create-new-schedule': string;
57
+ };
58
+ 'zh-HK': {
59
+ 'pisell2.text.schedules.all-day': string;
60
+ 'pisell2.text.schedules.save': string;
61
+ 'pisell2.text.schedules.delete-schedules-text1': string;
62
+ 'pisell2.text.schedules.delete-schedules-text2': string;
63
+ 'pisell2.text.schedules.delete-schedules-text3': string;
64
+ 'pisell2.text.schedules.add': string;
65
+ 'pisell2.text.schedules.edit-schedule': string;
66
+ 'pisell2.text.schedules.products-title': string;
67
+ 'pisell2.text.schedules.schedules-title': string;
68
+ 'pisell2.text.schedules.resources-title': string;
69
+ 'pisell2.text.schedules.open-hours-title': string;
70
+ 'pisell2.text.schedules.cancel': string;
71
+ 'pisell2.text.products.no-current-schedule': string;
72
+ 'pisell2.text.schedules.save-success': string;
73
+ 'pisell2.text.schedules.no-schedules': string;
74
+ 'pisell2.text.schedules.assign-schedule': string;
75
+ 'pisell2.text.schedules.max-participants': string;
76
+ 'pisell2.text.products.edit-resource-message': string;
77
+ 'pisell2.text.products.no-products': string;
78
+ 'pisell2.text.products.no-resources': string;
79
+ 'pisell2.text.products.unsaved-title': string;
80
+ 'pisell2.text.products.unsaved-content': string;
81
+ 'pisell2.text.products.unsaved-back': string;
82
+ 'pisell2.text.products.unsaved-yes': string;
83
+ 'pisell2.text.products.max-participants-error': string;
84
+ 'pisell2.text.schedules.create-new-schedule': string;
85
+ };
86
+ ja: {
87
+ 'pisell2.text.schedules.all-day': string;
88
+ 'pisell2.text.schedules.save': string;
89
+ 'pisell2.text.schedules.delete-schedules-text1': string;
90
+ 'pisell2.text.schedules.delete-schedules-text2': string;
91
+ 'pisell2.text.schedules.delete-schedules-text3': string;
92
+ 'pisell2.text.schedules.add': string;
93
+ 'pisell2.text.schedules.edit-schedule': string;
94
+ 'pisell2.text.schedules.products-title': string;
95
+ 'pisell2.text.schedules.schedules-title': string;
96
+ 'pisell2.text.schedules.resources-title': string;
97
+ 'pisell2.text.schedules.open-hours-title': string;
98
+ 'pisell2.text.schedules.cancel': string;
99
+ 'pisell2.text.products.no-current-schedule': string;
100
+ 'pisell2.text.schedules.save-success': string;
101
+ 'pisell2.text.schedules.no-schedules': string;
102
+ 'pisell2.text.schedules.assign-schedule': string;
103
+ 'pisell2.text.schedules.max-participants': string;
104
+ 'pisell2.text.products.edit-resource-message': string;
105
+ 'pisell2.text.products.no-products': string;
106
+ 'pisell2.text.products.no-resources': string;
107
+ 'pisell2.text.products.unsaved-title': string;
108
+ 'pisell2.text.products.unsaved-content': string;
109
+ 'pisell2.text.products.unsaved-back': string;
110
+ 'pisell2.text.products.unsaved-yes': string;
111
+ 'pisell2.text.products.max-participants-error': string;
112
+ 'pisell2.text.schedules.create-new-schedule': string;
113
+ };
114
+ pt: {
115
+ 'pisell2.text.schedules.all-day': string;
116
+ 'pisell2.text.schedules.save': string;
117
+ 'pisell2.text.schedules.delete-schedules-text1': string;
118
+ 'pisell2.text.schedules.delete-schedules-text2': string;
119
+ 'pisell2.text.schedules.delete-schedules-text3': string;
120
+ 'pisell2.text.schedules.add': string;
121
+ 'pisell2.text.schedules.edit-schedule': string;
122
+ 'pisell2.text.schedules.products-title': string;
123
+ 'pisell2.text.schedules.schedules-title': string;
124
+ 'pisell2.text.schedules.resources-title': string;
125
+ 'pisell2.text.schedules.open-hours-title': string;
126
+ 'pisell2.text.schedules.cancel': string;
127
+ 'pisell2.text.products.no-current-schedule': string;
128
+ 'pisell2.text.schedules.save-success': string;
129
+ 'pisell2.text.schedules.no-schedules': string;
130
+ 'pisell2.text.schedules.assign-schedule': string;
131
+ 'pisell2.text.schedules.max-participants': string;
132
+ 'pisell2.text.products.edit-resource-message': string;
133
+ 'pisell2.text.products.no-products': string;
134
+ 'pisell2.text.products.no-resources': string;
135
+ 'pisell2.text.products.unsaved-title': string;
136
+ 'pisell2.text.products.unsaved-content': string;
137
+ 'pisell2.text.products.unsaved-back': string;
138
+ 'pisell2.text.products.unsaved-yes': string;
139
+ 'pisell2.text.products.max-participants-error': string;
140
+ 'pisell2.text.schedules.create-new-schedule': string;
141
+ };
142
+ };
143
+ export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { CalendarDataItem, ScheduleItem } from "./type";
2
3
  import dayjs from "dayjs";
3
4
  export interface FormState {
@@ -68,4 +69,11 @@ export interface FormState {
68
69
  };
69
70
  setGlobalState: Function | null;
70
71
  }
71
- export declare const Provider: any, Context: any;
72
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
73
+ state: FormState;
74
+ } & {
75
+ dispatch: (params: {
76
+ type: string;
77
+ payload: any;
78
+ }) => void;
79
+ }>;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare const CartContext: React.Context<any>;
3
+ export declare const CartProvider: ({ children, props, onCard, onAction, onChange, onAddProduct, onActiveKey, }: any) => React.JSX.Element;
@@ -0,0 +1,93 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.text.shopping-cart.item': (num: number) => string;
4
+ 'pisell2.text.shopping-cart.clear.cart': string;
5
+ 'pisell2.text.shopping-cart.add.service': string;
6
+ 'pisell2.text.shopping-cart.add.more': string;
7
+ 'pisell2.text.shopping-cart.no.selected': string;
8
+ 'pisell2.text.shopping-cart.confirm': string;
9
+ 'pisell2.text.shopping-cart.cancel': string;
10
+ 'pisell2.text.shopping-cart.select.holder.modal.title': string;
11
+ 'pisell2.text.shopping-cart.save.items': (num: number) => string;
12
+ 'pisell2.text.shopping-cart.marketing.alert': (num: number, name: string) => string;
13
+ 'pisell2.text.shopping-cart.marketing.browse.items': string;
14
+ 'pisell2.text.shopping-cart.marketing.modal.title': string;
15
+ 'pisell2.text.shopping-cart.marketing.modal.tip': (num: number) => string;
16
+ 'pisell2.text.shopping-cart.marketing.modal.product.tip': (num: number) => string;
17
+ 'pisell2.text.shopping-cart.marketing.modal.confirm': string;
18
+ 'pisell2.text.shopping-cart.sku.modal.title': string;
19
+ };
20
+ 'zh-CN': {
21
+ 'pisell2.text.shopping-cart.item': (num: number) => string;
22
+ 'pisell2.text.shopping-cart.clear.cart': string;
23
+ 'pisell2.text.shopping-cart.add.service': string;
24
+ 'pisell2.text.shopping-cart.add.more': string;
25
+ 'pisell2.text.shopping-cart.no.selected': string;
26
+ 'pisell2.text.shopping-cart.confirm': string;
27
+ 'pisell2.text.shopping-cart.cancel': string;
28
+ 'pisell2.text.shopping-cart.select.holder.modal.title': string;
29
+ 'pisell2.text.shopping-cart.save.items': (num: number) => string;
30
+ 'pisell2.text.shopping-cart.marketing.alert': (num: number, name: string) => string;
31
+ 'pisell2.text.shopping-cart.marketing.browse.items': string;
32
+ 'pisell2.text.shopping-cart.marketing.modal.title': string;
33
+ 'pisell2.text.shopping-cart.marketing.modal.tip': (num: number) => string;
34
+ 'pisell2.text.shopping-cart.marketing.modal.product.tip': (num: number) => string;
35
+ 'pisell2.text.shopping-cart.marketing.modal.confirm': string;
36
+ 'pisell2.text.shopping-cart.sku.modal.title': string;
37
+ };
38
+ 'zh-HK': {
39
+ 'pisell2.text.shopping-cart.item': (num: number) => string;
40
+ 'pisell2.text.shopping-cart.clear.cart': string;
41
+ 'pisell2.text.shopping-cart.add.service': string;
42
+ 'pisell2.text.shopping-cart.add.more': string;
43
+ 'pisell2.text.shopping-cart.no.selected': string;
44
+ 'pisell2.text.shopping-cart.confirm': string;
45
+ 'pisell2.text.shopping-cart.cancel': string;
46
+ 'pisell2.text.shopping-cart.select.holder.modal.title': string;
47
+ 'pisell2.text.shopping-cart.save.items': (num: number) => string;
48
+ 'pisell2.text.shopping-cart.marketing.alert': (num: number, name: string) => string;
49
+ 'pisell2.text.shopping-cart.marketing.browse.items': string;
50
+ 'pisell2.text.shopping-cart.marketing.modal.title': string;
51
+ 'pisell2.text.shopping-cart.marketing.modal.tip': (num: number) => string;
52
+ 'pisell2.text.shopping-cart.marketing.modal.product.tip': (num: number) => string;
53
+ 'pisell2.text.shopping-cart.marketing.modal.confirm': string;
54
+ 'pisell2.text.shopping-cart.sku.modal.title': string;
55
+ };
56
+ ja: {
57
+ 'pisell2.text.shopping-cart.item': (num: number) => string;
58
+ 'pisell2.text.shopping-cart.clear.cart': string;
59
+ 'pisell2.text.shopping-cart.add.service': string;
60
+ 'pisell2.text.shopping-cart.add.more': string;
61
+ 'pisell2.text.shopping-cart.no.selected': string;
62
+ 'pisell2.text.shopping-cart.confirm': string;
63
+ 'pisell2.text.shopping-cart.cancel': string;
64
+ 'pisell2.text.shopping-cart.select.holder.modal.title': string;
65
+ 'pisell2.text.shopping-cart.save.items': (num: number) => string;
66
+ 'pisell2.text.shopping-cart.marketing.alert': (num: number, name: string) => string;
67
+ 'pisell2.text.shopping-cart.marketing.browse.items': string;
68
+ 'pisell2.text.shopping-cart.marketing.modal.title': string;
69
+ 'pisell2.text.shopping-cart.marketing.modal.tip': (num: number) => string;
70
+ 'pisell2.text.shopping-cart.marketing.modal.product.tip': (num: number) => string;
71
+ 'pisell2.text.shopping-cart.marketing.modal.confirm': string;
72
+ 'pisell2.text.shopping-cart.sku.modal.title': string;
73
+ };
74
+ pt: {
75
+ 'pisell2.text.shopping-cart.item': (num: number) => string;
76
+ 'pisell2.text.shopping-cart.clear.cart': string;
77
+ 'pisell2.text.shopping-cart.add.service': string;
78
+ 'pisell2.text.shopping-cart.add.more': string;
79
+ 'pisell2.text.shopping-cart.no.selected': string;
80
+ 'pisell2.text.shopping-cart.confirm': string;
81
+ 'pisell2.text.shopping-cart.cancel': string;
82
+ 'pisell2.text.shopping-cart.select.holder.modal.title': string;
83
+ 'pisell2.text.shopping-cart.save.items': (num: number) => string;
84
+ 'pisell2.text.shopping-cart.marketing.alert': (num: number, name: string) => string;
85
+ 'pisell2.text.shopping-cart.marketing.browse.items': string;
86
+ 'pisell2.text.shopping-cart.marketing.modal.title': string;
87
+ 'pisell2.text.shopping-cart.marketing.modal.tip': (num: number) => string;
88
+ 'pisell2.text.shopping-cart.marketing.modal.product.tip': (num: number) => string;
89
+ 'pisell2.text.shopping-cart.marketing.modal.confirm': string;
90
+ 'pisell2.text.shopping-cart.sku.modal.title': string;
91
+ };
92
+ };
93
+ export default _default;
@@ -0,0 +1,54 @@
1
+ export declare const holder: {
2
+ key: number;
3
+ label: string;
4
+ tip: string;
5
+ img: string;
6
+ }[];
7
+ export declare const products: ({
8
+ id: number;
9
+ title: string;
10
+ from_id: number;
11
+ holder: string;
12
+ price: number;
13
+ total: number;
14
+ num: number;
15
+ origin_price: number;
16
+ symbol: string;
17
+ relation_form_name: string;
18
+ like_status: string;
19
+ _extend: {
20
+ start_time: string;
21
+ duration: number;
22
+ date: string;
23
+ like_status: string;
24
+ };
25
+ product_cover: string;
26
+ } | {
27
+ id: number;
28
+ title: string;
29
+ from_id: number;
30
+ holder: string;
31
+ price: number;
32
+ total: number;
33
+ num: number;
34
+ symbol: string;
35
+ origin_price?: undefined;
36
+ relation_form_name?: undefined;
37
+ like_status?: undefined;
38
+ _extend?: undefined;
39
+ product_cover?: undefined;
40
+ })[];
41
+ export declare const marketingProduct: {
42
+ strategyId: string;
43
+ strategyName: {
44
+ en: string;
45
+ "zh-CN": string;
46
+ "zh-HK": string;
47
+ };
48
+ giftOptions: {
49
+ product_id: number;
50
+ product_variant_id: number;
51
+ }[];
52
+ giftCount: number;
53
+ sourceProductIds: string[];
54
+ };
@@ -0,0 +1,58 @@
1
+ import { CollapseProps } from 'antd';
2
+ export interface productProps {
3
+ hideAddBtn?: boolean;
4
+ isShowNote?: boolean;
5
+ isShowPackageNote?: boolean;
6
+ products?: any[];
7
+ holders?: any[];
8
+ isEdit?: boolean;
9
+ disabledEdit?: boolean;
10
+ isShowChangeResource?: boolean;
11
+ isShowDelete?: boolean;
12
+ isShowChangeHolder?: boolean;
13
+ isShowHolder?: boolean;
14
+ isShowAddHolderButton?: boolean;
15
+ }
16
+ interface cartInfoProps {
17
+ promotions?: any[];
18
+ isShowPromotionAlert?: boolean;
19
+ }
20
+ export interface shoppingCartProps {
21
+ isOpenGroup?: boolean;
22
+ carts?: any[];
23
+ platform?: 'shop' | 'h5';
24
+ emptyText?: string;
25
+ activeKey?: string[] | number[];
26
+ defaultActiveKey?: string[] | number[];
27
+ className?: string;
28
+ onCard?: (e: any) => void;
29
+ onAction?: (e: any) => void;
30
+ onChange?: (items: any, type?: string, other?: any) => void;
31
+ onAddProduct?: (e?: any) => void;
32
+ onActiveKey?: (e: any) => void;
33
+ isShowImage?: boolean;
34
+ isShowHolder?: boolean;
35
+ isShowDelete?: boolean;
36
+ isShowAmountFooter?: boolean;
37
+ collapseParams?: CollapseProps;
38
+ productParams?: productProps;
39
+ isHideClearCart?: boolean;
40
+ isParallelResource?: boolean;
41
+ scenario?: 'booking2';
42
+ cartInfo?: cartInfoProps;
43
+ }
44
+ /**
45
+ * @title: 商品卡片
46
+ * @description:
47
+ * @return {*}
48
+ * @Author: WangHan
49
+ * @Date: 2024-11-29 09:52
50
+ */
51
+ export interface ProductProps {
52
+ id?: any;
53
+ lists: any[];
54
+ isAdd?: boolean;
55
+ openPromotionModal?: (products: any[]) => void;
56
+ promotionProducts?: any[];
57
+ }
58
+ export {};
@@ -0,0 +1,71 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.subtotal.deposit': string;
4
+ 'pisell2.subtotal.total': string;
5
+ 'pisell2.subtotal.subtotal': string;
6
+ 'pisell2.subtotal.tax': string;
7
+ 'pisell2.subtotal.marketing': string;
8
+ 'pisell2.subtotal.delivery-fee': string;
9
+ 'pisell2.subtotal.discount': string;
10
+ 'pisell2.subtotal.point-deduction': string;
11
+ 'pisell2.subtotal.member-deduction': string;
12
+ 'pisell2.subtotal.items': string;
13
+ 'pisell2.subtotal.not-contain': string;
14
+ 'pisell2.subtotal.included': string;
15
+ };
16
+ 'zh-CN': {
17
+ 'pisell2.subtotal.deposit': string;
18
+ 'pisell2.subtotal.total': string;
19
+ 'pisell2.subtotal.subtotal': string;
20
+ 'pisell2.subtotal.tax': string;
21
+ 'pisell2.subtotal.marketing': string;
22
+ 'pisell2.subtotal.delivery-fee': string;
23
+ 'pisell2.subtotal.discount': string;
24
+ 'pisell2.subtotal.point-deduction': string;
25
+ 'pisell2.subtotal.member-deduction': string;
26
+ 'pisell2.subtotal.items': string;
27
+ 'pisell2.subtotal.not-contain': string;
28
+ 'pisell2.subtotal.included': string;
29
+ };
30
+ 'zh-HK': {
31
+ 'pisell2.subtotal.deposit': string;
32
+ 'pisell2.subtotal.total': string;
33
+ 'pisell2.subtotal.subtotal': string;
34
+ 'pisell2.subtotal.tax': string;
35
+ 'pisell2.subtotal.marketing': string;
36
+ 'pisell2.subtotal.delivery-fee': string;
37
+ 'pisell2.subtotal.discount': string;
38
+ 'pisell2.subtotal.point-deduction': string;
39
+ 'pisell2.subtotal.member-deduction': string;
40
+ 'pisell2.subtotal.items': string;
41
+ 'pisell2.subtotal.not-contain': string;
42
+ 'pisell2.subtotal.included': string;
43
+ };
44
+ ja: {
45
+ 'pisell2.subtotal.deposit': string;
46
+ 'pisell2.subtotal.total': string;
47
+ 'pisell2.subtotal.subtotal': string;
48
+ 'pisell2.subtotal.tax': string;
49
+ 'pisell2.subtotal.delivery-fee': string;
50
+ 'pisell2.subtotal.discount': string;
51
+ 'pisell2.subtotal.point-deduction': string;
52
+ 'pisell2.subtotal.member-deduction': string;
53
+ 'pisell2.subtotal.items': string;
54
+ 'pisell2.subtotal.not-contain': string;
55
+ 'pisell2.subtotal.included': string;
56
+ };
57
+ pt: {
58
+ 'pisell2.subtotal.deposit': string;
59
+ 'pisell2.subtotal.total': string;
60
+ 'pisell2.subtotal.subtotal': string;
61
+ 'pisell2.subtotal.tax': string;
62
+ 'pisell2.subtotal.delivery-fee': string;
63
+ 'pisell2.subtotal.discount': string;
64
+ 'pisell2.subtotal.point-deduction': string;
65
+ 'pisell2.subtotal.member-deduction': string;
66
+ 'pisell2.subtotal.items': string;
67
+ 'pisell2.subtotal.not-contain': string;
68
+ 'pisell2.subtotal.included': string;
69
+ };
70
+ };
71
+ export default _default;