@pisell/private-materials 6.6.46 → 6.6.48

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 (285) 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/appointmentBooking/components/Date/state.d.ts +63 -0
  8. package/es/components/appointmentBooking/locales.d.ts +603 -0
  9. package/es/components/authentication/admin/AuthMethods/locales.d.ts +413 -0
  10. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
  11. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +138 -0
  12. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +43 -0
  13. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
  14. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +118 -0
  15. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +35 -0
  16. package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  17. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +43 -0
  18. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +8 -0
  19. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +108 -0
  20. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +28 -0
  21. package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  22. package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +63 -0
  23. package/es/components/authentication/admin/CustomerAuth/locales.d.ts +108 -0
  24. package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +178 -0
  25. package/es/components/authentication/admin/DeviceAuth/locales.d.ts +93 -0
  26. package/es/components/authentication/admin/OAuthConfig/locales.d.ts +148 -0
  27. package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +88 -0
  28. package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +78 -0
  29. package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +88 -0
  30. package/es/components/booking/addons/model.d.ts +1 -10
  31. package/es/components/booking/components/actionButtons/index.d.ts +31 -0
  32. package/es/components/booking/components/footer/amount.js +5 -0
  33. package/es/components/booking/components/voucher/utils.d.ts +5 -0
  34. package/es/components/booking/editBookingModal/locales.d.ts +33 -0
  35. package/es/components/booking/editBookingModal/mock.d.ts +991 -0
  36. package/es/components/booking/forms/model.d.ts +1 -10
  37. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  38. package/es/components/booking/hooks/useQuotation.js +2 -2
  39. package/es/components/booking/info/model.d.ts +1 -10
  40. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  41. package/es/components/booking/info2/cartClientCard/locales.d.ts +33 -0
  42. package/es/components/booking/info2/service/addService/mock.d.ts +216 -0
  43. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  44. package/es/components/booking/info2/service/editService/DiscountChangeModal/index.d.ts +25 -0
  45. package/es/components/booking/locales.d.ts +1619 -0
  46. package/es/components/booking/model.d.ts +1 -9
  47. package/es/components/booking/notes/model.d.ts +1 -10
  48. package/es/components/booking/payments/model.d.ts +1 -10
  49. package/es/components/booking/utils.d.ts +2 -2
  50. package/es/components/checkout/PaymentModal.d.ts +31 -0
  51. package/es/components/checkout/components/AdditionalModule/locales.d.ts +58 -0
  52. package/es/components/checkout/locales.d.ts +853 -0
  53. package/es/components/eftpos/locales.d.ts +163 -0
  54. package/es/components/eftposPay/locales.d.ts +608 -0
  55. package/es/components/eventBooking/locales.d.ts +408 -0
  56. package/es/components/list/locales.d.ts +108 -0
  57. package/es/components/list/utils/getText.d.ts +53 -0
  58. package/es/components/login/locales.d.ts +38 -0
  59. package/es/components/pay/toB/locales.d.ts +88 -0
  60. package/es/components/pay/toC/locales.d.ts +511 -0
  61. package/es/components/pay/toC/model.d.ts +1 -9
  62. package/es/components/pinModal/locales.d.ts +43 -0
  63. package/es/components/pinVerifyModal/locales.d.ts +38 -0
  64. package/es/components/pisellSelectCustomerModal/locales.d.ts +133 -0
  65. package/es/components/productExtension/locales.d.ts +78 -0
  66. package/es/components/productSelect/components/pisellPriceText/index.d.ts +11 -0
  67. package/es/components/productSelect/locales.d.ts +38 -0
  68. package/es/components/ruleSetting/locales.d.ts +78 -0
  69. package/es/components/schedules/locales.d.ts +143 -0
  70. package/es/components/schedules/model.d.ts +1 -9
  71. package/es/components/shoppingCart/locales.d.ts +58 -0
  72. package/es/components/stepController/locales.d.ts +43 -0
  73. package/es/components/subTotal/locales.d.ts +68 -0
  74. package/es/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
  75. package/es/components/systemSettings/registry/locales.d.ts +456 -0
  76. package/es/components/systemSettings/registry/types.d.ts +128 -0
  77. package/es/components/taxSelect/locales.d.ts +38 -0
  78. package/es/components/ticketBooking/locales.d.ts +328 -0
  79. package/es/components/ticketBooking/utils/formatTime.d.ts +33 -0
  80. package/es/components/ticketBooking/utils/index.d.ts +1 -1
  81. package/es/components/wallet/utils.d.ts +48 -0
  82. package/es/components/walletList/index.d.ts +4 -0
  83. package/es/components/walletList/locales.d.ts +43 -0
  84. package/es/components/walletList/types/index.d.ts +196 -0
  85. package/es/plus/clientCard/index.d.ts +7 -0
  86. package/es/plus/clientCard/locales.d.ts +28 -0
  87. package/es/plus/clientCard/types.d.ts +135 -0
  88. package/es/plus/clinetSearch/locales.d.ts +178 -0
  89. package/es/plus/contactInfo/locales.d.ts +23 -0
  90. package/es/plus/contactInfoModal/locales.d.ts +108 -0
  91. package/es/plus/noteModal/locales.d.ts +53 -0
  92. package/es/plus/productSelect/ProductCard/SkuCard/locales.d.ts +68 -0
  93. package/es/plus/productSelect/ProductCard/SkuCard/status.d.ts +164 -0
  94. package/es/plus/productSelect/components/pisellPriceText/index.d.ts +14 -0
  95. package/es/plus/productSelect/locales.d.ts +38 -0
  96. package/es/plus/saasAttendance/index.d.ts +6 -0
  97. package/es/plus/saasAttendance/locales.d.ts +528 -0
  98. package/es/plus/saasAttendance/settings/BasicInfoTab.d.ts +5 -0
  99. package/es/plus/saasAttendance/settings/ClockInMethodTab.d.ts +8 -0
  100. package/es/plus/saasAttendance/settings/CorrectionPolicyTab.d.ts +8 -0
  101. package/es/plus/saasAttendance/settings/ShiftScheduleTab.d.ts +5 -0
  102. package/es/plus/saasAttendance/settings/components/MapField.d.ts +78 -0
  103. package/es/plus/saasAttendance/settings/components/index.d.ts +3 -0
  104. package/es/plus/saasAttendance/settings/components/membersField/index.d.ts +8 -0
  105. package/es/plus/saasAttendance/settings/components/shiftModal/index.d.ts +18 -0
  106. package/es/plus/saasAttendance/settings/index.d.ts +18 -0
  107. package/es/plus/saasAttendance/settings/serve.d.ts +27 -0
  108. package/es/plus/saasAttendance/settings/types.d.ts +130 -0
  109. package/es/plus/saasCreateOrganization/locales.d.ts +23 -0
  110. package/es/plus/saasLogin/locales.d.ts +83 -0
  111. package/es/plus/saasRegister/locales.d.ts +193 -0
  112. package/es/plus/saasRole/components/PermissionManager/index.d.ts +19 -0
  113. package/es/plus/saasRole/index.d.ts +14 -0
  114. package/es/plus/saasRole/locales.d.ts +319 -0
  115. package/es/plus/saasRole/serve.d.ts +72 -0
  116. package/es/plus/saasRole/types.d.ts +177 -0
  117. package/es/plus/saasRole/utils.d.ts +0 -0
  118. package/es/plus/saasTeamMembers/components/MemberDrawer/ExtensionFormTabContent.d.ts +31 -0
  119. package/es/plus/saasTeamMembers/components/MemberDrawer/index.d.ts +23 -0
  120. package/es/plus/saasTeamMembers/index.d.ts +5 -0
  121. package/es/plus/saasTeamMembers/locales.d.ts +546 -0
  122. package/es/plus/saasTeamMembers/serve.d.ts +95 -0
  123. package/es/plus/saasTeamMembers/type.d.ts +158 -0
  124. package/es/plus/selectHolder/locales.d.ts +38 -0
  125. package/es/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +39 -0
  126. package/es/plus/walletEditor/locales.d.ts +223 -0
  127. package/es/plus/walletEditor/types.d.ts +54 -0
  128. package/es/plus/walletPassGallery/components/passDetail/index.d.ts +11 -0
  129. package/es/plus/walletPassGallery/components/passList/index.d.ts +13 -0
  130. package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +12 -0
  131. package/es/plus/walletPassGallery/index.d.ts +11 -0
  132. package/es/plus/walletPassGallery/locales.d.ts +473 -0
  133. package/es/plus/walletPassGallery/serve.d.ts +245 -0
  134. package/es/plus/walletPassGallery/utils.d.ts +48 -0
  135. package/es/pro/Login2.0/locales.d.ts +903 -0
  136. package/es/pro/Login2.0/shared/types.d.ts +234 -0
  137. package/es/pro/comprehensiveSearch/components/searchSection/locales.d.ts +23 -0
  138. package/es/pro/comprehensiveSearch/locales.d.ts +23 -0
  139. package/es/pro/numberKeyboard/locales.d.ts +18 -0
  140. package/es/pro/pisellPhoneKeyboard/locales.d.ts +18 -0
  141. package/es/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +63 -0
  142. package/es/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +68 -0
  143. package/es/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +73 -0
  144. package/es/pro/skuDetailModal/locales.d.ts +78 -0
  145. package/es/pro/skuDetailModal/types.d.ts +352 -0
  146. package/lib/components/appointmentBooking/components/Date/state.d.ts +63 -0
  147. package/lib/components/appointmentBooking/locales.d.ts +603 -0
  148. package/lib/components/authentication/admin/AuthMethods/locales.d.ts +413 -0
  149. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
  150. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +138 -0
  151. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +43 -0
  152. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
  153. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +118 -0
  154. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +35 -0
  155. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  156. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +43 -0
  157. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +8 -0
  158. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +108 -0
  159. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +28 -0
  160. package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  161. package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +63 -0
  162. package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +108 -0
  163. package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +178 -0
  164. package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +93 -0
  165. package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +148 -0
  166. package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +88 -0
  167. package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +78 -0
  168. package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +88 -0
  169. package/lib/components/booking/addons/model.d.ts +1 -10
  170. package/lib/components/booking/components/actionButtons/index.d.ts +31 -0
  171. package/lib/components/booking/components/footer/amount.js +5 -0
  172. package/lib/components/booking/components/voucher/utils.d.ts +5 -0
  173. package/lib/components/booking/editBookingModal/locales.d.ts +33 -0
  174. package/lib/components/booking/editBookingModal/mock.d.ts +991 -0
  175. package/lib/components/booking/forms/model.d.ts +1 -10
  176. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  177. package/lib/components/booking/hooks/useQuotation.js +2 -2
  178. package/lib/components/booking/info/model.d.ts +1 -10
  179. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  180. package/lib/components/booking/info2/cartClientCard/locales.d.ts +33 -0
  181. package/lib/components/booking/info2/service/addService/mock.d.ts +216 -0
  182. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  183. package/lib/components/booking/info2/service/editService/DiscountChangeModal/index.d.ts +25 -0
  184. package/lib/components/booking/locales.d.ts +1619 -0
  185. package/lib/components/booking/model.d.ts +1 -9
  186. package/lib/components/booking/notes/model.d.ts +1 -10
  187. package/lib/components/booking/payments/model.d.ts +1 -10
  188. package/lib/components/booking/utils.d.ts +2 -2
  189. package/lib/components/checkout/PaymentModal.d.ts +31 -0
  190. package/lib/components/checkout/components/AdditionalModule/locales.d.ts +58 -0
  191. package/lib/components/checkout/locales.d.ts +853 -0
  192. package/lib/components/eftpos/locales.d.ts +163 -0
  193. package/lib/components/eftposPay/locales.d.ts +608 -0
  194. package/lib/components/eventBooking/locales.d.ts +408 -0
  195. package/lib/components/list/locales.d.ts +108 -0
  196. package/lib/components/list/utils/getText.d.ts +53 -0
  197. package/lib/components/login/locales.d.ts +38 -0
  198. package/lib/components/pay/toB/locales.d.ts +88 -0
  199. package/lib/components/pay/toC/locales.d.ts +511 -0
  200. package/lib/components/pay/toC/model.d.ts +1 -9
  201. package/lib/components/pinModal/locales.d.ts +43 -0
  202. package/lib/components/pinVerifyModal/locales.d.ts +38 -0
  203. package/lib/components/pisellSelectCustomerModal/locales.d.ts +133 -0
  204. package/lib/components/productExtension/locales.d.ts +78 -0
  205. package/lib/components/productSelect/components/pisellPriceText/index.d.ts +11 -0
  206. package/lib/components/productSelect/locales.d.ts +38 -0
  207. package/lib/components/ruleSetting/locales.d.ts +78 -0
  208. package/lib/components/schedules/locales.d.ts +143 -0
  209. package/lib/components/schedules/model.d.ts +1 -9
  210. package/lib/components/shoppingCart/locales.d.ts +58 -0
  211. package/lib/components/stepController/locales.d.ts +43 -0
  212. package/lib/components/subTotal/locales.d.ts +68 -0
  213. package/lib/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
  214. package/lib/components/systemSettings/registry/locales.d.ts +456 -0
  215. package/lib/components/systemSettings/registry/types.d.ts +128 -0
  216. package/lib/components/taxSelect/locales.d.ts +38 -0
  217. package/lib/components/ticketBooking/locales.d.ts +328 -0
  218. package/lib/components/ticketBooking/utils/formatTime.d.ts +33 -0
  219. package/lib/components/ticketBooking/utils/index.d.ts +1 -1
  220. package/lib/components/wallet/utils.d.ts +48 -0
  221. package/lib/components/walletList/index.d.ts +4 -0
  222. package/lib/components/walletList/locales.d.ts +43 -0
  223. package/lib/components/walletList/types/index.d.ts +196 -0
  224. package/lib/plus/clientCard/index.d.ts +7 -0
  225. package/lib/plus/clientCard/locales.d.ts +28 -0
  226. package/lib/plus/clientCard/types.d.ts +135 -0
  227. package/lib/plus/clinetSearch/locales.d.ts +178 -0
  228. package/lib/plus/contactInfo/locales.d.ts +23 -0
  229. package/lib/plus/contactInfoModal/locales.d.ts +108 -0
  230. package/lib/plus/noteModal/locales.d.ts +53 -0
  231. package/lib/plus/productSelect/ProductCard/SkuCard/locales.d.ts +68 -0
  232. package/lib/plus/productSelect/ProductCard/SkuCard/status.d.ts +164 -0
  233. package/lib/plus/productSelect/components/pisellPriceText/index.d.ts +14 -0
  234. package/lib/plus/productSelect/locales.d.ts +38 -0
  235. package/lib/plus/saasAttendance/index.d.ts +6 -0
  236. package/lib/plus/saasAttendance/locales.d.ts +528 -0
  237. package/lib/plus/saasAttendance/settings/BasicInfoTab.d.ts +5 -0
  238. package/lib/plus/saasAttendance/settings/ClockInMethodTab.d.ts +8 -0
  239. package/lib/plus/saasAttendance/settings/CorrectionPolicyTab.d.ts +8 -0
  240. package/lib/plus/saasAttendance/settings/ShiftScheduleTab.d.ts +5 -0
  241. package/lib/plus/saasAttendance/settings/components/MapField.d.ts +78 -0
  242. package/lib/plus/saasAttendance/settings/components/index.d.ts +3 -0
  243. package/lib/plus/saasAttendance/settings/components/membersField/index.d.ts +8 -0
  244. package/lib/plus/saasAttendance/settings/components/shiftModal/index.d.ts +18 -0
  245. package/lib/plus/saasAttendance/settings/index.d.ts +18 -0
  246. package/lib/plus/saasAttendance/settings/serve.d.ts +27 -0
  247. package/lib/plus/saasAttendance/settings/types.d.ts +130 -0
  248. package/lib/plus/saasCreateOrganization/locales.d.ts +23 -0
  249. package/lib/plus/saasLogin/locales.d.ts +83 -0
  250. package/lib/plus/saasRegister/locales.d.ts +193 -0
  251. package/lib/plus/saasRole/components/PermissionManager/index.d.ts +19 -0
  252. package/lib/plus/saasRole/index.d.ts +14 -0
  253. package/lib/plus/saasRole/locales.d.ts +319 -0
  254. package/lib/plus/saasRole/serve.d.ts +72 -0
  255. package/lib/plus/saasRole/types.d.ts +177 -0
  256. package/lib/plus/saasRole/utils.d.ts +0 -0
  257. package/lib/plus/saasTeamMembers/components/MemberDrawer/ExtensionFormTabContent.d.ts +31 -0
  258. package/lib/plus/saasTeamMembers/components/MemberDrawer/index.d.ts +23 -0
  259. package/lib/plus/saasTeamMembers/index.d.ts +5 -0
  260. package/lib/plus/saasTeamMembers/locales.d.ts +546 -0
  261. package/lib/plus/saasTeamMembers/serve.d.ts +95 -0
  262. package/lib/plus/saasTeamMembers/type.d.ts +158 -0
  263. package/lib/plus/selectHolder/locales.d.ts +38 -0
  264. package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +39 -0
  265. package/lib/plus/walletEditor/locales.d.ts +223 -0
  266. package/lib/plus/walletEditor/types.d.ts +54 -0
  267. package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +11 -0
  268. package/lib/plus/walletPassGallery/components/passList/index.d.ts +13 -0
  269. package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +12 -0
  270. package/lib/plus/walletPassGallery/index.d.ts +11 -0
  271. package/lib/plus/walletPassGallery/locales.d.ts +473 -0
  272. package/lib/plus/walletPassGallery/serve.d.ts +245 -0
  273. package/lib/plus/walletPassGallery/utils.d.ts +48 -0
  274. package/lib/pro/Login2.0/locales.d.ts +903 -0
  275. package/lib/pro/Login2.0/shared/types.d.ts +234 -0
  276. package/lib/pro/comprehensiveSearch/components/searchSection/locales.d.ts +23 -0
  277. package/lib/pro/comprehensiveSearch/locales.d.ts +23 -0
  278. package/lib/pro/numberKeyboard/locales.d.ts +18 -0
  279. package/lib/pro/pisellPhoneKeyboard/locales.d.ts +18 -0
  280. package/lib/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +63 -0
  281. package/lib/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +68 -0
  282. package/lib/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +73 -0
  283. package/lib/pro/skuDetailModal/locales.d.ts +78 -0
  284. package/lib/pro/skuDetailModal/types.d.ts +352 -0
  285. package/package.json +4 -4
@@ -1,10 +1 @@
1
- /// <reference types="react" />
2
- import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
- state: FormState;
5
- } & {
6
- dispatch: (params: {
7
- type: string;
8
- payload: any;
9
- }) => void;
10
- }>;
1
+ export declare const Provider: any, Context: any;
@@ -4,6 +4,6 @@ declare const useSendModal: (bookingId?: number) => {
4
4
  setOpen: import("react").Dispatch<import("react").SetStateAction<boolean>>;
5
5
  handleOpen: () => void;
6
6
  handleValuesChange: (val: any) => void;
7
- handleOk: (values: SendModalValues) => Promise<any>;
7
+ handleOk: (values: SendModalValues) => Promise<boolean | undefined>;
8
8
  };
9
9
  export default useSendModal;
@@ -31,7 +31,7 @@ var formatBundleItemMap = function formatBundleItemMap(product) {
31
31
  }, {});
32
32
  };
33
33
  var formatVariantItemMap = function formatVariantItemMap(product) {
34
- return ((product === null || product === void 0 ? void 0 : product.variants) || []).reduce(function (pre, cur) {
34
+ return ((product === null || product === void 0 ? void 0 : product.variant) || (product === null || product === void 0 ? void 0 : product.variants) || []).reduce(function (pre, cur) {
35
35
  pre[cur.id] = cur;
36
36
  return pre;
37
37
  }, {});
@@ -165,7 +165,7 @@ var setNewCartValue = function setNewCartValue(cartValue, newProducts) {
165
165
  price: price,
166
166
  base_price: newProduct.base_price,
167
167
  _extend: _objectSpread(_objectSpread({}, item._extend), {}, {
168
- price: newProduct.price,
168
+ price: price,
169
169
  // total: newProduct.total,
170
170
  bundle_edit: isBundleChange ? 1 : item._extend.bundle_edit,
171
171
  other: _objectSpread(_objectSpread({}, item._extend.other), {}, {
@@ -1,14 +1,5 @@
1
- /// <reference types="react" />
2
- import { FormState } from '../model';
3
1
  export declare const walkInData: {
4
2
  id: number;
5
3
  nickname: string;
6
4
  };
7
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
8
- state: FormState;
9
- } & {
10
- dispatch: (params: {
11
- type: string;
12
- payload: any;
13
- }) => void;
14
- }>;
5
+ export declare const Provider: any, Context: any;
@@ -6,7 +6,7 @@ export declare const getDurationProps: ({ cacheItem, useStartTime, currentResour
6
6
  type: string;
7
7
  value: number;
8
8
  };
9
- locale: any;
9
+ locale: string;
10
10
  slice: any;
11
11
  selectProps: {
12
12
  size: string;
@@ -0,0 +1,33 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.text.switch-account': string;
4
+ 'pisell2.text.cancel': string;
5
+ 'pisell2.text.cart-client-card': (name: string) => string;
6
+ 'pisell2.text.add-client-success': string;
7
+ };
8
+ 'zh-CN': {
9
+ 'pisell2.text.switch-account': string;
10
+ 'pisell2.text.cancel': string;
11
+ 'pisell2.text.cart-client-card': (name: string) => string;
12
+ 'pisell2.text.add-client-success': string;
13
+ };
14
+ 'zh-HK': {
15
+ 'pisell2.text.switch-account': string;
16
+ 'pisell2.text.cancel': string;
17
+ 'pisell2.text.cart-client-card': (name: string) => string;
18
+ 'pisell2.text.add-client-success': string;
19
+ };
20
+ ja: {
21
+ 'pisell2.text.switch-account': string;
22
+ 'pisell2.text.cancel': string;
23
+ 'pisell2.text.cart-client-card': (name: string) => string;
24
+ 'pisell2.text.add-client-success': string;
25
+ };
26
+ pt: {
27
+ 'pisell2.text.switch-account': string;
28
+ 'pisell2.text.cancel': string;
29
+ 'pisell2.text.cart-client-card': (name: string) => string;
30
+ 'pisell2.text.add-client-success': string;
31
+ };
32
+ };
33
+ export default _default;
@@ -0,0 +1,216 @@
1
+ declare const _default: {
2
+ id: number;
3
+ shop_id: number;
4
+ source_shop_id: number;
5
+ extension_id: number;
6
+ extension_type: string;
7
+ title: string;
8
+ slug: string;
9
+ title_letter: string;
10
+ category_letter: string;
11
+ vendor_letter: string;
12
+ tag_letter: string;
13
+ subtitle: string;
14
+ description: string;
15
+ cover: string;
16
+ price: string;
17
+ original_price: string;
18
+ cost_price: string;
19
+ sort_price: string;
20
+ is_gst: number;
21
+ is_delivery: number;
22
+ weight_unit: string;
23
+ weight_value: string;
24
+ code: string;
25
+ barcode: string;
26
+ unit: string;
27
+ is_track: number;
28
+ stock_quantity: number;
29
+ sum_stock: number;
30
+ sales_quantity: number;
31
+ order_sales_quantity: number;
32
+ over_sold: number;
33
+ status: string;
34
+ sell_status: number;
35
+ published_time: string;
36
+ shop_update_time: string;
37
+ audit_time: null;
38
+ is_recommend: number;
39
+ audit_status: string;
40
+ shop_status: string;
41
+ weight: number;
42
+ sort: number;
43
+ type: string;
44
+ channel_application: string[];
45
+ channel_id: number;
46
+ rebate_type: string;
47
+ rebate_value: string;
48
+ create_account_id: number;
49
+ update_account_id: number;
50
+ source_product_id: number;
51
+ start_at: null;
52
+ created_at: string;
53
+ updated_at: string;
54
+ deleted_at: null;
55
+ seo: {
56
+ title: string;
57
+ is_set_title: number;
58
+ description: string;
59
+ is_set_desc: number;
60
+ keywords: string;
61
+ is_set_keywords: number;
62
+ };
63
+ service_times: number;
64
+ product_resource: {
65
+ resources: ({
66
+ id: number;
67
+ title: string;
68
+ status: number;
69
+ code: string;
70
+ created_at: string;
71
+ updated_at: string;
72
+ type: string;
73
+ optional_resource: number[];
74
+ default_resource: number[];
75
+ select_type: {
76
+ type: string;
77
+ min: number;
78
+ max: number;
79
+ };
80
+ resource_type_id: number;
81
+ } | {
82
+ id: number;
83
+ title: string;
84
+ status: number;
85
+ code: string;
86
+ created_at: string;
87
+ updated_at: null;
88
+ type: string;
89
+ optional_resource: never[];
90
+ default_resource: never[];
91
+ select_type: {
92
+ type: string;
93
+ min: number;
94
+ max: number;
95
+ };
96
+ resource_type_id: number;
97
+ })[];
98
+ };
99
+ capacity: {
100
+ type: string;
101
+ custom: {
102
+ name: {
103
+ en: string;
104
+ "zh-CN": string;
105
+ "zh-HK": string;
106
+ ja: string;
107
+ pt: string;
108
+ original: string;
109
+ };
110
+ id: number;
111
+ min: number;
112
+ max: number;
113
+ }[];
114
+ package: {
115
+ product_ids: never[];
116
+ };
117
+ };
118
+ is_grey: number;
119
+ is_eject: number;
120
+ share_url: string;
121
+ token_check_msg: string;
122
+ is_charge_tax: number;
123
+ media: never[];
124
+ tag: never[];
125
+ vendor: never[];
126
+ category: {
127
+ id: number;
128
+ shop_id: number;
129
+ parent_id: number;
130
+ name: string;
131
+ slug: string;
132
+ icon: string;
133
+ status: string;
134
+ last_applicable_time: number;
135
+ sort: number;
136
+ create_account_id: number;
137
+ update_account_id: number;
138
+ created_at: string;
139
+ updated_at: string;
140
+ }[];
141
+ collection: ({
142
+ id: number;
143
+ shop_id: number;
144
+ title: string;
145
+ title_letter: string;
146
+ description: null;
147
+ cover: string;
148
+ rule_type: string;
149
+ rule: {
150
+ class: string;
151
+ value: number;
152
+ operator: string;
153
+ }[];
154
+ product_quantity: number;
155
+ type: string;
156
+ order_type: string;
157
+ disabled: number;
158
+ create_account_id: number;
159
+ update_account_id: number;
160
+ created_at: string;
161
+ updated_at: string;
162
+ } | {
163
+ id: number;
164
+ shop_id: number;
165
+ title: string;
166
+ title_letter: string;
167
+ description: string;
168
+ cover: string;
169
+ rule_type: string;
170
+ rule: {
171
+ class: string;
172
+ value: string;
173
+ operator: string;
174
+ }[];
175
+ product_quantity: number;
176
+ type: string;
177
+ order_type: string;
178
+ disabled: number;
179
+ create_account_id: number;
180
+ update_account_id: number;
181
+ created_at: string;
182
+ updated_at: string;
183
+ } | {
184
+ id: number;
185
+ shop_id: number;
186
+ title: string;
187
+ title_letter: string;
188
+ description: null;
189
+ cover: string;
190
+ rule_type: string;
191
+ rule: {
192
+ class: string;
193
+ value: string;
194
+ operator: string;
195
+ }[];
196
+ product_quantity: number;
197
+ type: string;
198
+ order_type: string;
199
+ disabled: number;
200
+ create_account_id: number;
201
+ update_account_id: number;
202
+ created_at: string;
203
+ updated_at: string;
204
+ })[];
205
+ variant_group: never[];
206
+ option_group: never[];
207
+ variant: never[];
208
+ shop: {
209
+ id: number;
210
+ name: string;
211
+ default_domain: string;
212
+ default_url: string;
213
+ };
214
+ bundle_group: never[];
215
+ };
216
+ export default _default;
@@ -7,7 +7,7 @@ export declare const getDurationProps: ({ cacheItem, useStartTime, currentResour
7
7
  type: string;
8
8
  value: number;
9
9
  };
10
- locale: any;
10
+ locale: string;
11
11
  slice: any;
12
12
  selectProps: {
13
13
  size: string;
@@ -0,0 +1,25 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ /**
4
+ * 折扣变更弹窗 Props
5
+ */
6
+ export interface DiscountChangeModalProps {
7
+ /** 弹窗是否可见 */
8
+ open: boolean;
9
+ /** 保留原折扣回调 */
10
+ onKeepOriginal?: () => void;
11
+ /** 延续折扣回调 */
12
+ onContinue?: () => void;
13
+ /** 移除折扣回调 */
14
+ onRemove?: () => void;
15
+ /** 取消回调 */
16
+ onCancel?: () => void;
17
+ }
18
+ /**
19
+ * 折扣变更弹窗组件
20
+ *
21
+ * @description 当订单中使用的商品折扣已失效时,弹出此弹窗让用户选择处理方式
22
+ * @author Pisell Team
23
+ */
24
+ declare const DiscountChangeModal: React.FC<DiscountChangeModalProps>;
25
+ export default DiscountChangeModal;