@pisell/private-materials 3.3.9 → 3.3.11
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.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.js +3 -3
- package/build/lowcode/view.js +3 -3
- package/es/components/appointmentBooking/components/Cart/ContinueButton/index.d.ts +1 -2
- package/es/components/appointmentBooking/components/Cart/ContinueButton/index.js +42 -242
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -1
- package/es/components/appointmentBooking/components/Cart/Item/index.js +13 -5
- package/es/components/appointmentBooking/components/Cart/index.d.ts +1 -1
- package/es/components/appointmentBooking/components/Cart/index.js +5 -2
- package/es/components/appointmentBooking/components/Cart/utils.d.ts +0 -41
- package/es/components/appointmentBooking/components/Cart/utils.js +4 -308
- package/es/components/appointmentBooking/components/ConfirmInformation/index.d.ts +2 -1
- package/es/components/appointmentBooking/components/ConfirmInformation/index.js +145 -4
- package/es/components/appointmentBooking/components/Content/index.js +35 -28
- package/es/components/appointmentBooking/components/Date/index.d.ts +3 -2
- package/es/components/appointmentBooking/components/Date/index.js +67 -34
- package/es/components/appointmentBooking/components/Footer/index.d.ts +1 -1
- package/es/components/appointmentBooking/components/Footer/index.js +12 -10
- package/es/components/appointmentBooking/components/Form/index.js +40 -13
- package/es/components/appointmentBooking/components/Guest/index.d.ts +2 -1
- package/es/components/appointmentBooking/components/Guest/index.js +10 -3
- package/es/components/appointmentBooking/components/Header/index.js +31 -23
- package/es/components/appointmentBooking/components/Resource/index.d.ts +5 -1
- package/es/components/appointmentBooking/components/Resource/index.js +140 -46
- package/es/components/appointmentBooking/components/Resource/utils.d.ts +5 -0
- package/es/components/appointmentBooking/components/Resource/utils.js +16 -0
- package/es/components/appointmentBooking/components/Services/index.d.ts +2 -1
- package/es/components/appointmentBooking/components/Services/index.js +17 -72
- package/es/components/appointmentBooking/components/TimeSlicing/index.d.ts +3 -2
- package/es/components/appointmentBooking/components/TimeSlicing/index.js +17 -4
- package/es/components/appointmentBooking/context.js +13 -2
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.js +12 -9
- package/es/components/appointmentBooking/hooks.d.ts +2 -1
- package/es/components/appointmentBooking/hooks.js +71 -22
- package/es/components/appointmentBooking/utils.d.ts +114 -0
- package/es/components/appointmentBooking/utils.js +155 -175
- package/es/components/booking/components/TabProduct/index.d.ts +0 -1
- package/es/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
- package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
- package/es/components/booking/components/collapsibleList/utils.d.ts +0 -1
- package/es/components/booking/components/emptyBooking/index.d.ts +0 -1
- package/es/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
- package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
- package/es/components/booking/deposit/index.d.ts +0 -1
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
- package/es/components/booking/forms/single/index.d.ts +0 -1
- package/es/components/booking/forms/table/index.d.ts +0 -1
- package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
- package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
- package/es/components/booking/info/date/index.d.ts +0 -1
- package/es/components/booking/info/header/index.d.ts +0 -1
- package/es/components/booking/info/notes/index.d.ts +0 -1
- package/es/components/booking/info/service/actions/index.d.ts +0 -1
- package/es/components/booking/info/service/addTimeModal/index.d.ts +0 -1
- package/es/components/booking/info/service/editService/index.d.ts +7 -0
- package/es/components/booking/info/service/like/index.d.ts +0 -1
- package/es/components/booking/info/utils.js +1 -1
- package/es/components/booking/info2/service/actions/index.d.ts +0 -1
- package/es/components/booking/info2/service/editService/index.d.ts +7 -0
- package/es/components/booking/info2/service/serviceList/index.d.ts +0 -1
- package/es/components/booking/materiels/duration/index.d.ts +0 -1
- package/es/components/booking/materiels/startTime/index.d.ts +0 -1
- package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
- package/es/components/booking/notes/NoteBlock/index.d.ts +0 -1
- package/es/components/booking/payments/index.js +1 -1
- package/es/components/eftpos/deviceList/index.d.ts +0 -1
- package/es/components/eftpos/form/index.d.ts +0 -1
- package/es/components/eftpos/group/index.d.ts +0 -1
- package/es/components/eftpos/hooks.d.ts +0 -1
- package/es/components/eftpos/icon/apiKey.d.ts +0 -1
- package/es/components/eftpos/icon/device.d.ts +0 -1
- package/es/components/eftpos/pos.d.ts +0 -1
- package/es/components/eftpos/receipt/index.d.ts +0 -1
- package/es/components/eftpos/surcharge/index.d.ts +0 -1
- package/es/components/eftposPay/amount.d.ts +1 -2
- package/es/components/eftposPay/app.d.ts +0 -1
- package/es/components/eftposPay/component/alert/warn.d.ts +0 -1
- package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -1
- package/es/components/eftposPay/component/fail/index.d.ts +0 -1
- package/es/components/eftposPay/component/fail/network.d.ts +0 -1
- package/es/components/eftposPay/component/fail/unknow.d.ts +0 -1
- package/es/components/eftposPay/component/header/titlebar.d.ts +0 -1
- package/es/components/eftposPay/component/manual/index.d.ts +0 -1
- package/es/components/eftposPay/component/signature/index.d.ts +0 -1
- package/es/components/eftposPay/component/step/index.d.ts +0 -1
- package/es/components/eftposPay/component/step/step.d.ts +0 -1
- package/es/components/eftposPay/device.d.ts +1 -2
- package/es/components/eftposPay/hooks.d.ts +2 -2
- package/es/components/eftposPay/pay.d.ts +0 -1
- package/es/components/eftposPay/payo/config.d.ts +0 -1
- package/es/components/eftposPay/store/index.d.ts +4 -4
- package/es/components/eftposPay/tip.d.ts +0 -1
- package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
- package/es/components/eftposPay/windcave/receiptAction.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
- package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
- package/es/components/productExtension/fields/Forms/index.d.ts +0 -1
- package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
- package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
- package/es/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
- package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
- package/es/components/productSelect/components/TabProduct/index.d.ts +2 -0
- package/es/components/productSelect/components/gridLayout/index.d.ts +9 -0
- package/es/components/productSelect/components/productGroup/index.d.ts +34 -0
- package/es/components/productSelect/index.d.ts +23 -0
- package/es/components/ruleSetting/ruleBorder/index.d.ts +0 -1
- package/es/components/schedules/calendar/calendarItem.d.ts +0 -1
- package/es/components/schedules/calendar/index.d.ts +0 -1
- package/es/components/schedules/components/CurrentDay/index.d.ts +0 -1
- package/es/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
- package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
- package/es/components/schedules/components/ScheduleList/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
- package/es/components/schedules/products/index.d.ts +0 -1
- package/es/components/schedules/products/list/ProductItem/index.d.ts +0 -1
- package/es/components/schedules/products/list/index.d.ts +0 -1
- package/es/components/schedules/resources/index.d.ts +0 -1
- package/es/components/schedules/resources/list/index.d.ts +0 -1
- package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
- package/es/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
- package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
- package/es/components/schedules/schedules/index.d.ts +0 -1
- package/es/components/shoppingCart/components/Cart/Product.d.ts +3 -0
- package/es/components/shoppingCart/hooks/useAddService.d.ts +2 -0
- package/es/components/subTotal/index.d.ts +22 -0
- package/es/components/ticketBooking/components/ticketBooking/index.js +4 -2
- package/es/components/wallet/Detail/index.d.ts +42 -0
- package/es/components/wallet/components/WalletCard.d.ts +11 -0
- package/es/utils/tasks/index.js +114 -0
- package/es/utils/tasks/type.js +1 -0
- package/lib/components/appointmentBooking/components/Cart/ContinueButton/index.d.ts +1 -2
- package/lib/components/appointmentBooking/components/Cart/ContinueButton/index.js +10 -123
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -1
- package/lib/components/appointmentBooking/components/Cart/Item/index.js +4 -5
- package/lib/components/appointmentBooking/components/Cart/index.d.ts +1 -1
- package/lib/components/appointmentBooking/components/Cart/index.js +2 -2
- package/lib/components/appointmentBooking/components/Cart/utils.d.ts +0 -41
- package/lib/components/appointmentBooking/components/Cart/utils.js +6 -184
- package/lib/components/appointmentBooking/components/ConfirmInformation/index.d.ts +2 -1
- package/lib/components/appointmentBooking/components/ConfirmInformation/index.js +65 -3
- package/lib/components/appointmentBooking/components/Content/index.js +36 -22
- package/lib/components/appointmentBooking/components/Date/index.d.ts +3 -2
- package/lib/components/appointmentBooking/components/Date/index.js +13 -3
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -1
- package/lib/components/appointmentBooking/components/Footer/index.js +16 -12
- package/lib/components/appointmentBooking/components/Form/index.js +17 -11
- package/lib/components/appointmentBooking/components/Guest/index.d.ts +2 -1
- package/lib/components/appointmentBooking/components/Guest/index.js +7 -2
- package/lib/components/appointmentBooking/components/Header/index.js +10 -10
- package/lib/components/appointmentBooking/components/Resource/index.d.ts +5 -1
- package/lib/components/appointmentBooking/components/Resource/index.js +86 -30
- package/lib/components/appointmentBooking/components/Resource/utils.d.ts +5 -0
- package/lib/components/appointmentBooking/components/Resource/utils.js +36 -0
- package/lib/components/appointmentBooking/components/Services/index.d.ts +2 -1
- package/lib/components/appointmentBooking/components/Services/index.js +7 -6
- package/lib/components/appointmentBooking/components/TimeSlicing/index.d.ts +3 -2
- package/lib/components/appointmentBooking/components/TimeSlicing/index.js +14 -3
- package/lib/components/appointmentBooking/context.js +7 -2
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.js +3 -1
- package/lib/components/appointmentBooking/hooks.d.ts +2 -1
- package/lib/components/appointmentBooking/hooks.js +29 -8
- package/lib/components/appointmentBooking/utils.d.ts +114 -0
- package/lib/components/appointmentBooking/utils.js +82 -82
- package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
- package/lib/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
- package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
- package/lib/components/booking/components/collapsibleList/utils.d.ts +0 -1
- package/lib/components/booking/components/emptyBooking/index.d.ts +0 -1
- package/lib/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
- package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
- package/lib/components/booking/deposit/index.d.ts +0 -1
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
- package/lib/components/booking/forms/single/index.d.ts +0 -1
- package/lib/components/booking/forms/table/index.d.ts +0 -1
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
- package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
- package/lib/components/booking/info/date/index.d.ts +0 -1
- package/lib/components/booking/info/header/index.d.ts +0 -1
- package/lib/components/booking/info/notes/index.d.ts +0 -1
- package/lib/components/booking/info/service/actions/index.d.ts +0 -1
- package/lib/components/booking/info/service/addTimeModal/index.d.ts +0 -1
- package/lib/components/booking/info/service/editService/index.d.ts +7 -0
- package/lib/components/booking/info/service/like/index.d.ts +0 -1
- package/lib/components/booking/info/utils.js +1 -1
- package/lib/components/booking/info2/service/actions/index.d.ts +0 -1
- package/lib/components/booking/info2/service/editService/index.d.ts +7 -0
- package/lib/components/booking/info2/service/serviceList/index.d.ts +0 -1
- package/lib/components/booking/materiels/duration/index.d.ts +0 -1
- package/lib/components/booking/materiels/startTime/index.d.ts +0 -1
- package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
- package/lib/components/booking/notes/NoteBlock/index.d.ts +0 -1
- package/lib/components/booking/payments/index.js +1 -1
- package/lib/components/eftpos/deviceList/index.d.ts +0 -1
- package/lib/components/eftpos/form/index.d.ts +0 -1
- package/lib/components/eftpos/group/index.d.ts +0 -1
- package/lib/components/eftpos/hooks.d.ts +0 -1
- package/lib/components/eftpos/icon/apiKey.d.ts +0 -1
- package/lib/components/eftpos/icon/device.d.ts +0 -1
- package/lib/components/eftpos/pos.d.ts +0 -1
- package/lib/components/eftpos/receipt/index.d.ts +0 -1
- package/lib/components/eftpos/surcharge/index.d.ts +0 -1
- package/lib/components/eftposPay/amount.d.ts +1 -2
- package/lib/components/eftposPay/app.d.ts +0 -1
- package/lib/components/eftposPay/component/alert/warn.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/index.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/network.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -1
- package/lib/components/eftposPay/component/header/titlebar.d.ts +0 -1
- package/lib/components/eftposPay/component/manual/index.d.ts +0 -1
- package/lib/components/eftposPay/component/signature/index.d.ts +0 -1
- package/lib/components/eftposPay/component/step/index.d.ts +0 -1
- package/lib/components/eftposPay/component/step/step.d.ts +0 -1
- package/lib/components/eftposPay/device.d.ts +1 -2
- package/lib/components/eftposPay/hooks.d.ts +2 -2
- package/lib/components/eftposPay/pay.d.ts +0 -1
- package/lib/components/eftposPay/payo/config.d.ts +0 -1
- package/lib/components/eftposPay/store/index.d.ts +4 -4
- package/lib/components/eftposPay/tip.d.ts +0 -1
- package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
- package/lib/components/eftposPay/windcave/receiptAction.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
- package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
- package/lib/components/productExtension/fields/Forms/index.d.ts +0 -1
- package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
- package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
- package/lib/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
- package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
- package/lib/components/productSelect/components/TabProduct/index.d.ts +2 -0
- package/lib/components/productSelect/components/gridLayout/index.d.ts +9 -0
- package/lib/components/productSelect/components/productGroup/index.d.ts +34 -0
- package/lib/components/productSelect/index.d.ts +23 -0
- package/lib/components/ruleSetting/ruleBorder/index.d.ts +0 -1
- package/lib/components/schedules/calendar/calendarItem.d.ts +0 -1
- package/lib/components/schedules/calendar/index.d.ts +0 -1
- package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
- package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
- package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
- package/lib/components/schedules/components/ScheduleList/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
- package/lib/components/schedules/products/index.d.ts +0 -1
- package/lib/components/schedules/products/list/ProductItem/index.d.ts +0 -1
- package/lib/components/schedules/products/list/index.d.ts +0 -1
- package/lib/components/schedules/resources/index.d.ts +0 -1
- package/lib/components/schedules/resources/list/index.d.ts +0 -1
- package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
- package/lib/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
- package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
- package/lib/components/schedules/schedules/index.d.ts +0 -1
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +3 -0
- package/lib/components/shoppingCart/hooks/useAddService.d.ts +2 -0
- package/lib/components/subTotal/index.d.ts +22 -0
- package/lib/components/ticketBooking/components/ticketBooking/index.js +4 -2
- package/lib/components/wallet/Detail/index.d.ts +42 -0
- package/lib/components/wallet/components/WalletCard.d.ts +11 -0
- package/lib/utils/tasks/index.js +63 -0
- package/lib/utils/tasks/type.js +17 -0
- package/package.json +1 -1
- package/es/businessModel/SalesModel/Sales/index.d.ts +0 -24
- package/es/businessModel/SalesModel/hooks/index.d.ts +0 -1
- package/es/businessModel/SalesModel/index.d.ts +0 -4
- package/es/businessModel/index.d.ts +0 -0
- package/es/components/Sales/Cart/index.d.ts +0 -53
- package/es/components/Sales/Cart/serve.d.ts +0 -2
- package/es/components/Sales/Cart/types.d.ts +0 -19
- package/es/components/Sales/Checkout/index.d.ts +0 -33
- package/es/components/Sales/Checkout/serve.d.ts +0 -2
- package/es/components/Sales/Checkout/utils.d.ts +0 -27
- package/es/components/Sales/Customer/index.d.ts +0 -24
- package/es/components/Sales/Event/Detail.d.ts +0 -27
- package/es/components/Sales/Event/serve.d.ts +0 -26
- package/es/components/Sales/Holder/index.d.ts +0 -33
- package/es/components/Sales/Holder/serve.d.ts +0 -8
- package/es/components/Sales/Init/index.d.ts +0 -24
- package/es/components/Sales/Init/serve.d.ts +0 -3
- package/es/components/Sales/Resource/index.d.ts +0 -26
- package/es/components/Sales/Resource/serve.d.ts +0 -5
- package/es/components/Sales/Step/index.d.ts +0 -37
- package/es/components/Sales/Summary/index.d.ts +0 -25
- package/es/components/Sales/Summary/serve.d.ts +0 -0
- package/es/components/Sales/Summary/utils.d.ts +0 -36
- package/es/components/Sales/hooks/index.d.ts +0 -1
- package/es/components/Sales/index.d.ts +0 -20
- package/es/components/Sales/utils/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Date/state.d.ts +0 -62
- package/es/components/appointmentBooking/locales.d.ts +0 -345
- package/es/components/appointmentBooking/mock.d.ts +0 -627
- package/es/components/appointmentBooking/status.d.ts +0 -21
- package/es/components/appointmentBooking/type.d.ts +0 -17
- package/es/components/booking/components/customSelect/index.d.ts +0 -38
- package/es/components/booking/components/footer/amount.d.ts +0 -23
- package/es/components/booking/components/footer/serve.d.ts +0 -3
- package/es/components/booking/forms/index.d.ts +0 -9
- package/es/components/booking/forms/serve.d.ts +0 -18
- package/es/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
- package/es/components/booking/info/Provider.d.ts +0 -0
- package/es/components/booking/info/addServiceVariant/index.d.ts +0 -7
- package/es/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +0 -25
- package/es/components/booking/info/clientVariant/vertical/index.d.ts +0 -8
- package/es/components/booking/info/model.d.ts +0 -14
- package/es/components/booking/info/service/addService/utils.d.ts +0 -71
- package/es/components/booking/info/service/editService/EditTabs/index.d.ts +0 -3
- package/es/components/booking/info/service/serve.d.ts +0 -11
- package/es/components/booking/info/service/serviceManager/distributeDiscount.d.ts +0 -11
- package/es/components/booking/info/service/serviceManager/utils.d.ts +0 -0
- package/es/components/booking/info/service2/Lists.d.ts +0 -3
- package/es/components/booking/info/service2/index.d.ts +0 -6
- package/es/components/booking/info/service2/status.d.ts +0 -31
- package/es/components/booking/info/service2/utils.d.ts +0 -241
- package/es/components/booking/info2/service/editService/utils.d.ts +0 -13
- package/es/components/booking/locales.d.ts +0 -786
- package/es/components/booking/materiels/contacts/index.d.ts +0 -16
- package/es/components/booking/model.d.ts +0 -115
- package/es/components/booking/payments/index.d.ts +0 -9
- package/es/components/eftpos/index.d.ts +0 -47
- package/es/components/eftposPay/index.d.ts +0 -5
- package/es/components/eftposPay/windcave/windcave.d.ts +0 -7
- package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -4
- package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -4
- package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -3
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -4
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -4
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -5
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -4
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.d.ts +0 -63
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/index.d.ts +0 -14
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/utils.d.ts +0 -34
- package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -3
- package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -3
- package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -10
- package/es/components/eventBooking/components/scheduleCalendar/index.d.ts +0 -13
- package/es/components/eventBooking/index.d.ts +0 -4
- package/es/components/eventBooking/locales.d.ts +0 -216
- package/es/components/eventBooking/mock.d.ts +0 -627
- package/es/components/eventBooking/status.d.ts +0 -21
- package/es/components/eventBooking/type.d.ts +0 -17
- package/es/components/eventBooking/utils.d.ts +0 -45
- package/es/components/login/index.d.ts +0 -9
- package/es/components/login/locales.d.ts +0 -24
- package/es/components/pay/toC/PaymentList/serve.d.ts +0 -28
- package/es/components/pay/toC/serve.d.ts +0 -34
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -3
- package/es/components/productExtension/index.d.ts +0 -8
- package/es/components/ruleSetting/index.d.ts +0 -10
- package/es/components/schedules/index.d.ts +0 -3
- package/es/components/shoppingCart/components/Empty/index.d.ts +0 -4
- package/es/components/shoppingCart/components/Render/index.d.ts +0 -4
- package/es/components/shoppingCart/hooks/useContext.d.ts +0 -1
- package/es/components/shoppingCart/locales.d.ts +0 -33
- package/es/components/shoppingCart/mock.d.ts +0 -40
- package/es/components/shoppingCart/status.d.ts +0 -2
- package/es/components/shoppingCart/utils.d.ts +0 -63
- package/es/components/taxSelect/index.d.ts +0 -12
- package/es/components/wallet/Detail/locales.d.ts +0 -96
- package/es/components/wallet/Detail/model.d.ts +0 -13
- package/es/components/wallet/Detail/serve.d.ts +0 -39
- package/es/components/wallet/DetailContext.d.ts +0 -25
- package/es/components/wallet/DiscountCard/model.d.ts +0 -14
- package/es/components/wallet/PointCard/model.d.ts +0 -13
- package/es/components/wallet/RechargeableCard/model.d.ts +0 -29
- package/es/components/wallet/RechargeableCard/serve.d.ts +0 -23
- package/es/components/wallet/Voucher/locales.d.ts +0 -21
- package/es/components/wallet/Voucher/model.d.ts +0 -13
- package/es/components/wallet/components/FooterButtons/index.d.ts +0 -18
- package/es/components/wallet/components/index.d.ts +0 -2
- package/es/components/wallet/hooks/useWalletCard.d.ts +0 -34
- package/es/components/wallet/locales.d.ts +0 -132
- package/es/components/wallet/model.d.ts +0 -37
- package/es/components/wallet/serve.d.ts +0 -143
- package/es/components/wallet/utils/formatUtils.d.ts +0 -36
- package/es/components/walletList/model.d.ts +0 -6
- package/es/components/walletList/serve.d.ts +0 -12
- package/es/components/walletList/types/index.d.ts +0 -194
- package/es/components/workSpaceList/components/WorkspaceItem/index.d.ts +0 -22
- package/es/hooks/useEngineContext.d.ts +0 -10
- package/es/utils/locales.d.ts +0 -1
- package/lib/businessModel/SalesModel/Sales/index.d.ts +0 -24
- package/lib/businessModel/SalesModel/hooks/index.d.ts +0 -1
- package/lib/businessModel/SalesModel/index.d.ts +0 -4
- package/lib/businessModel/index.d.ts +0 -0
- package/lib/components/Sales/Cart/index.d.ts +0 -53
- package/lib/components/Sales/Cart/serve.d.ts +0 -2
- package/lib/components/Sales/Cart/types.d.ts +0 -19
- package/lib/components/Sales/Checkout/index.d.ts +0 -33
- package/lib/components/Sales/Checkout/serve.d.ts +0 -2
- package/lib/components/Sales/Checkout/utils.d.ts +0 -27
- package/lib/components/Sales/Customer/index.d.ts +0 -24
- package/lib/components/Sales/Event/Detail.d.ts +0 -27
- package/lib/components/Sales/Event/serve.d.ts +0 -26
- package/lib/components/Sales/Holder/index.d.ts +0 -33
- package/lib/components/Sales/Holder/serve.d.ts +0 -8
- package/lib/components/Sales/Init/index.d.ts +0 -24
- package/lib/components/Sales/Init/serve.d.ts +0 -3
- package/lib/components/Sales/Resource/index.d.ts +0 -26
- package/lib/components/Sales/Resource/serve.d.ts +0 -5
- package/lib/components/Sales/Step/index.d.ts +0 -37
- package/lib/components/Sales/Summary/index.d.ts +0 -25
- package/lib/components/Sales/Summary/serve.d.ts +0 -0
- package/lib/components/Sales/Summary/utils.d.ts +0 -36
- package/lib/components/Sales/hooks/index.d.ts +0 -1
- package/lib/components/Sales/index.d.ts +0 -20
- package/lib/components/Sales/utils/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Date/state.d.ts +0 -62
- package/lib/components/appointmentBooking/locales.d.ts +0 -345
- package/lib/components/appointmentBooking/mock.d.ts +0 -627
- package/lib/components/appointmentBooking/status.d.ts +0 -21
- package/lib/components/appointmentBooking/type.d.ts +0 -17
- package/lib/components/booking/components/customSelect/index.d.ts +0 -38
- package/lib/components/booking/components/footer/amount.d.ts +0 -23
- package/lib/components/booking/components/footer/serve.d.ts +0 -3
- package/lib/components/booking/forms/index.d.ts +0 -9
- package/lib/components/booking/forms/serve.d.ts +0 -18
- package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
- package/lib/components/booking/info/Provider.d.ts +0 -0
- package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -7
- package/lib/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +0 -25
- package/lib/components/booking/info/clientVariant/vertical/index.d.ts +0 -8
- package/lib/components/booking/info/model.d.ts +0 -14
- package/lib/components/booking/info/service/addService/utils.d.ts +0 -71
- package/lib/components/booking/info/service/editService/EditTabs/index.d.ts +0 -3
- package/lib/components/booking/info/service/serve.d.ts +0 -11
- package/lib/components/booking/info/service/serviceManager/distributeDiscount.d.ts +0 -11
- package/lib/components/booking/info/service/serviceManager/utils.d.ts +0 -0
- package/lib/components/booking/info/service2/Lists.d.ts +0 -3
- package/lib/components/booking/info/service2/index.d.ts +0 -6
- package/lib/components/booking/info/service2/status.d.ts +0 -31
- package/lib/components/booking/info/service2/utils.d.ts +0 -241
- package/lib/components/booking/info2/service/editService/utils.d.ts +0 -13
- package/lib/components/booking/locales.d.ts +0 -786
- package/lib/components/booking/materiels/contacts/index.d.ts +0 -16
- package/lib/components/booking/model.d.ts +0 -115
- package/lib/components/booking/payments/index.d.ts +0 -9
- package/lib/components/eftpos/index.d.ts +0 -47
- package/lib/components/eftposPay/index.d.ts +0 -5
- package/lib/components/eftposPay/windcave/windcave.d.ts +0 -7
- package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -4
- package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -4
- package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -3
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -4
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -4
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -5
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -4
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.d.ts +0 -63
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/index.d.ts +0 -14
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/utils.d.ts +0 -34
- package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -3
- package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -3
- package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -10
- package/lib/components/eventBooking/components/scheduleCalendar/index.d.ts +0 -13
- package/lib/components/eventBooking/index.d.ts +0 -4
- package/lib/components/eventBooking/locales.d.ts +0 -216
- package/lib/components/eventBooking/mock.d.ts +0 -627
- package/lib/components/eventBooking/status.d.ts +0 -21
- package/lib/components/eventBooking/type.d.ts +0 -17
- package/lib/components/eventBooking/utils.d.ts +0 -45
- package/lib/components/login/index.d.ts +0 -9
- package/lib/components/login/locales.d.ts +0 -24
- package/lib/components/pay/toC/PaymentList/serve.d.ts +0 -28
- package/lib/components/pay/toC/serve.d.ts +0 -34
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -3
- package/lib/components/productExtension/index.d.ts +0 -8
- package/lib/components/ruleSetting/index.d.ts +0 -10
- package/lib/components/schedules/index.d.ts +0 -3
- package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -4
- package/lib/components/shoppingCart/components/Render/index.d.ts +0 -4
- package/lib/components/shoppingCart/hooks/useContext.d.ts +0 -1
- package/lib/components/shoppingCart/locales.d.ts +0 -33
- package/lib/components/shoppingCart/mock.d.ts +0 -40
- package/lib/components/shoppingCart/status.d.ts +0 -2
- package/lib/components/shoppingCart/utils.d.ts +0 -63
- package/lib/components/taxSelect/index.d.ts +0 -12
- package/lib/components/wallet/Detail/locales.d.ts +0 -96
- package/lib/components/wallet/Detail/model.d.ts +0 -13
- package/lib/components/wallet/Detail/serve.d.ts +0 -39
- package/lib/components/wallet/DetailContext.d.ts +0 -25
- package/lib/components/wallet/DiscountCard/model.d.ts +0 -14
- package/lib/components/wallet/PointCard/model.d.ts +0 -13
- package/lib/components/wallet/RechargeableCard/model.d.ts +0 -29
- package/lib/components/wallet/RechargeableCard/serve.d.ts +0 -23
- package/lib/components/wallet/Voucher/locales.d.ts +0 -21
- package/lib/components/wallet/Voucher/model.d.ts +0 -13
- package/lib/components/wallet/components/FooterButtons/index.d.ts +0 -18
- package/lib/components/wallet/components/index.d.ts +0 -2
- package/lib/components/wallet/hooks/useWalletCard.d.ts +0 -34
- package/lib/components/wallet/locales.d.ts +0 -132
- package/lib/components/wallet/model.d.ts +0 -37
- package/lib/components/wallet/serve.d.ts +0 -143
- package/lib/components/wallet/utils/formatUtils.d.ts +0 -36
- package/lib/components/walletList/model.d.ts +0 -6
- package/lib/components/walletList/serve.d.ts +0 -12
- package/lib/components/walletList/types/index.d.ts +0 -194
- package/lib/components/workSpaceList/components/WorkspaceItem/index.d.ts +0 -22
- package/lib/hooks/useEngineContext.d.ts +0 -10
- package/lib/utils/locales.d.ts +0 -1
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import "./index.less";
|
|
3
|
-
export interface LoginProps {
|
|
4
|
-
title: string;
|
|
5
|
-
style: any;
|
|
6
|
-
onLogin: (values: any, callback: (status: any) => void) => void;
|
|
7
|
-
}
|
|
8
|
-
declare const Login: (props: LoginProps) => JSX.Element;
|
|
9
|
-
export default Login;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
en: {
|
|
3
|
-
'pisell2.text.login': string;
|
|
4
|
-
"pisell2.text.email-placeholder": string;
|
|
5
|
-
"pisell2.text.password-placeholder": string;
|
|
6
|
-
"pisell2.text.password-error": string;
|
|
7
|
-
"pisell2.text.email-error": string;
|
|
8
|
-
};
|
|
9
|
-
'zh-CN': {
|
|
10
|
-
'pisell2.text.login': string;
|
|
11
|
-
"pisell2.text.email-placeholder": string;
|
|
12
|
-
"pisell2.text.password-placeholder": string;
|
|
13
|
-
"pisell2.text.password-error": string;
|
|
14
|
-
"pisell2.text.email-error": string;
|
|
15
|
-
};
|
|
16
|
-
'zh-HK': {
|
|
17
|
-
'pisell2.text.login': string;
|
|
18
|
-
"pisell2.text.email-placeholder": string;
|
|
19
|
-
"pisell2.text.password-placeholder": string;
|
|
20
|
-
"pisell2.text.password-error": string;
|
|
21
|
-
"pisell2.text.email-error": string;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
export default _default;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @title: 获取支付列表
|
|
3
|
-
* @description:
|
|
4
|
-
* @param {any} values
|
|
5
|
-
* @return {*}
|
|
6
|
-
* @Author: zhiwei.Wang
|
|
7
|
-
* @Date: 2024-08-16 10:57
|
|
8
|
-
*/
|
|
9
|
-
export declare const getPaymentList: (values: any) => Promise<{
|
|
10
|
-
message: string;
|
|
11
|
-
status: string;
|
|
12
|
-
paymentList: any[];
|
|
13
|
-
walletPass: any;
|
|
14
|
-
}>;
|
|
15
|
-
/**
|
|
16
|
-
* @title: 过滤支付列表
|
|
17
|
-
* @description:
|
|
18
|
-
* @param {any} list
|
|
19
|
-
* @return {*}
|
|
20
|
-
* @Author: zhiwei.Wang
|
|
21
|
-
* @Date: 2024-08-16 10:57
|
|
22
|
-
*/
|
|
23
|
-
export declare const filterPaymentList: (list: any[], platform?: string) => {
|
|
24
|
-
message: string;
|
|
25
|
-
status: string;
|
|
26
|
-
paymentList: any[];
|
|
27
|
-
walletPass: any;
|
|
28
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export declare const getPaymentList: (values: any) => Promise<{
|
|
2
|
-
message: string;
|
|
3
|
-
status: string;
|
|
4
|
-
paymentList?: undefined;
|
|
5
|
-
} | {
|
|
6
|
-
message: string;
|
|
7
|
-
status: string;
|
|
8
|
-
paymentList: any;
|
|
9
|
-
}>;
|
|
10
|
-
/**
|
|
11
|
-
* @title: 聚合接口, 根据订单 返回支付列表和钱包
|
|
12
|
-
* @description:
|
|
13
|
-
* @param {object} values
|
|
14
|
-
* @return {*}
|
|
15
|
-
* @Author: zhiwei.Wang
|
|
16
|
-
* @Date: 2024-08-15 11:52
|
|
17
|
-
*/
|
|
18
|
-
export declare const getPaymentsAndWalletPass: (values: {
|
|
19
|
-
order_id: string;
|
|
20
|
-
total_amount: number;
|
|
21
|
-
sale_channel: string;
|
|
22
|
-
}) => Promise<any>;
|
|
23
|
-
/**
|
|
24
|
-
* @title: 初始化交易组
|
|
25
|
-
* @description:
|
|
26
|
-
* @param {object} values
|
|
27
|
-
* @return {*}
|
|
28
|
-
* @Author: zhiwei.Wang
|
|
29
|
-
* @Date: 2024-08-16 10:42
|
|
30
|
-
*/
|
|
31
|
-
export declare const getPaymentInit: (values: {
|
|
32
|
-
order_id?: string;
|
|
33
|
-
amount?: number;
|
|
34
|
-
}) => Promise<any>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import "./index.less";
|
|
3
|
-
interface ProductExtensionProps {
|
|
4
|
-
onDataChange: any;
|
|
5
|
-
type: "all" | "once" | "batch";
|
|
6
|
-
}
|
|
7
|
-
declare const ProductExtension: ({ onDataChange, type }: ProductExtensionProps) => JSX.Element;
|
|
8
|
-
export default ProductExtension;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useContext: () => any;
|
|
@@ -1,33 +0,0 @@
|
|
|
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
|
-
};
|
|
12
|
-
'zh-CN': {
|
|
13
|
-
'pisell2.text.shopping-cart.item': (num: number) => string;
|
|
14
|
-
'pisell2.text.shopping-cart.clear.cart': string;
|
|
15
|
-
'pisell2.text.shopping-cart.add.service': string;
|
|
16
|
-
'pisell2.text.shopping-cart.add.more': string;
|
|
17
|
-
'pisell2.text.shopping-cart.no.selected': string;
|
|
18
|
-
'pisell2.text.shopping-cart.confirm': string;
|
|
19
|
-
'pisell2.text.shopping-cart.cancel': string;
|
|
20
|
-
'pisell2.text.shopping-cart.select.holder.modal.title': string;
|
|
21
|
-
};
|
|
22
|
-
'zh-HK': {
|
|
23
|
-
'pisell2.text.shopping-cart.item': (num: number) => string;
|
|
24
|
-
'pisell2.text.shopping-cart.clear.cart': string;
|
|
25
|
-
'pisell2.text.shopping-cart.add.service': string;
|
|
26
|
-
'pisell2.text.shopping-cart.add.more': string;
|
|
27
|
-
'pisell2.text.shopping-cart.no.selected': string;
|
|
28
|
-
'pisell2.text.shopping-cart.confirm': string;
|
|
29
|
-
'pisell2.text.shopping-cart.cancel': string;
|
|
30
|
-
'pisell2.text.shopping-cart.select.holder.modal.title': string;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
export default _default;
|
|
@@ -1,40 +0,0 @@
|
|
|
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
|
-
})[];
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @title: 格式化购物车列表
|
|
3
|
-
* @description:
|
|
4
|
-
* @param {any} state
|
|
5
|
-
* @return {*}
|
|
6
|
-
* @Author: WangHan
|
|
7
|
-
* @Date: 2024-11-28 16:52
|
|
8
|
-
*/
|
|
9
|
-
export declare const formatCartList: (state: any) => any;
|
|
10
|
-
/**
|
|
11
|
-
* @title: 是否是空页面
|
|
12
|
-
* @description:
|
|
13
|
-
* @param {any} state
|
|
14
|
-
* @return {*}
|
|
15
|
-
* @Author: WangHan
|
|
16
|
-
* @Date: 2024-11-28 16:47
|
|
17
|
-
*/
|
|
18
|
-
export declare const isEmptyStatus: (state: any) => boolean;
|
|
19
|
-
/**
|
|
20
|
-
* @title: 是否是商品列表页面
|
|
21
|
-
* @description:
|
|
22
|
-
* @param {any} state
|
|
23
|
-
* @return {*}
|
|
24
|
-
* @Author: WangHan
|
|
25
|
-
* @Date: 2024-11-28 17:23
|
|
26
|
-
*/
|
|
27
|
-
export declare const isProductList: (state: any) => boolean;
|
|
28
|
-
/**
|
|
29
|
-
* @title: 格式化数据最终结果
|
|
30
|
-
* @description:
|
|
31
|
-
* @param {any} state
|
|
32
|
-
* @return {*}
|
|
33
|
-
* @Author: WangHan
|
|
34
|
-
* @Date: 2024-11-28 18:35
|
|
35
|
-
*/
|
|
36
|
-
export declare const formatState: (state: any) => {
|
|
37
|
-
isEmpty: boolean;
|
|
38
|
-
isProductList: boolean;
|
|
39
|
-
carts: any;
|
|
40
|
-
};
|
|
41
|
-
/**
|
|
42
|
-
* @title: 更新商品
|
|
43
|
-
* @description:
|
|
44
|
-
* @param {any} newState
|
|
45
|
-
* @param {any} state
|
|
46
|
-
* @return {*}
|
|
47
|
-
* @Author: WangHan
|
|
48
|
-
* @Date: 2024-11-28 22:30
|
|
49
|
-
*/
|
|
50
|
-
export declare const updateProduct: (state: any, newProducts: any[]) => {
|
|
51
|
-
products: any[];
|
|
52
|
-
carts: any;
|
|
53
|
-
};
|
|
54
|
-
/**
|
|
55
|
-
* @title: 格式化服务
|
|
56
|
-
* @description:
|
|
57
|
-
* @param {any} service
|
|
58
|
-
* @param {number} id holder_id
|
|
59
|
-
* @return {*}
|
|
60
|
-
* @Author: WangHan
|
|
61
|
-
* @Date: 2024-12-09 22:47
|
|
62
|
-
*/
|
|
63
|
-
export declare const formatService: (service: any[], id: number) => any[];
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { SelectProps } from "antd";
|
|
3
|
-
import "./index.less";
|
|
4
|
-
interface TaxSelectProps {
|
|
5
|
-
selectProps?: SelectProps;
|
|
6
|
-
value: string;
|
|
7
|
-
tax_rate?: string;
|
|
8
|
-
tax_title?: string;
|
|
9
|
-
onChange: (value: string) => void;
|
|
10
|
-
}
|
|
11
|
-
declare const TaxSelect: (props: TaxSelectProps) => JSX.Element;
|
|
12
|
-
export default TaxSelect;
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
en: {
|
|
3
|
-
'page.wallet.copyTitle': string;
|
|
4
|
-
'page.wallet.copyButton': string;
|
|
5
|
-
'page.wallet.copySuccess': string;
|
|
6
|
-
'page.wallet.detail': string;
|
|
7
|
-
'page.wallet.activelog': string;
|
|
8
|
-
'page.wallet.copyText': string;
|
|
9
|
-
'page.wallet.spendingDetails': string;
|
|
10
|
-
'page.wallet.rechargeDetails': string;
|
|
11
|
-
'page.wallet.date': string;
|
|
12
|
-
'page.wallet.spending': string;
|
|
13
|
-
'page.wallet.recharge': string;
|
|
14
|
-
'page.wallet.pointsEarned': string;
|
|
15
|
-
'page.wallet.pointsRedeemed': string;
|
|
16
|
-
'page.wallet.refund': string;
|
|
17
|
-
'page.wallet.expire': string;
|
|
18
|
-
'page.wallet.viewOrder': string;
|
|
19
|
-
'page.wallet.done': string;
|
|
20
|
-
'page.wallet.addIos': string;
|
|
21
|
-
'page.wallet.addGoogle': string;
|
|
22
|
-
'page.wallet.viewDetails': string;
|
|
23
|
-
'page.wallet.expireDate': string;
|
|
24
|
-
'page.wallet.urlEmpty': string;
|
|
25
|
-
'page.wallet.notIOS': string;
|
|
26
|
-
'page.wallet.addSuccess': string;
|
|
27
|
-
'page.wallet.addFailed': string;
|
|
28
|
-
'page.wallet.useAppleInstead': string;
|
|
29
|
-
'page.wallet.openedInBrowser': string;
|
|
30
|
-
'page.wallet.openFailed': string;
|
|
31
|
-
'page.wallet.loading': string;
|
|
32
|
-
};
|
|
33
|
-
'zh-CN': {
|
|
34
|
-
'page.wallet.copyTitle': string;
|
|
35
|
-
'page.wallet.copyButton': string;
|
|
36
|
-
'page.wallet.copySuccess': string;
|
|
37
|
-
'page.wallet.detail': string;
|
|
38
|
-
'page.wallet.activelog': string;
|
|
39
|
-
'page.wallet.copyText': string;
|
|
40
|
-
'page.wallet.spendingDetails': string;
|
|
41
|
-
'page.wallet.rechargeDetails': string;
|
|
42
|
-
'page.wallet.date': string;
|
|
43
|
-
'page.wallet.spending': string;
|
|
44
|
-
'page.wallet.recharge': string;
|
|
45
|
-
'page.wallet.pointsEarned': string;
|
|
46
|
-
'page.wallet.pointsRedeemed': string;
|
|
47
|
-
'page.wallet.refund': string;
|
|
48
|
-
'page.wallet.expire': string;
|
|
49
|
-
'page.wallet.viewOrder': string;
|
|
50
|
-
'page.wallet.done': string;
|
|
51
|
-
'page.wallet.addIos': string;
|
|
52
|
-
'page.wallet.addGoogle': string;
|
|
53
|
-
'page.wallet.viewDetails': string;
|
|
54
|
-
'page.wallet.expireDate': string;
|
|
55
|
-
'page.wallet.urlEmpty': string;
|
|
56
|
-
'page.wallet.notIOS': string;
|
|
57
|
-
'page.wallet.addSuccess': string;
|
|
58
|
-
'page.wallet.addFailed': string;
|
|
59
|
-
'page.wallet.useAppleInstead': string;
|
|
60
|
-
'page.wallet.openedInBrowser': string;
|
|
61
|
-
'page.wallet.openFailed': string;
|
|
62
|
-
'page.wallet.loading': string;
|
|
63
|
-
};
|
|
64
|
-
'zh-HK': {
|
|
65
|
-
'page.wallet.copyTitle': string;
|
|
66
|
-
'page.wallet.copyButton': string;
|
|
67
|
-
'page.wallet.copySuccess': string;
|
|
68
|
-
'page.wallet.detail': string;
|
|
69
|
-
'page.wallet.activelog': string;
|
|
70
|
-
'page.wallet.copyText': string;
|
|
71
|
-
'page.wallet.spendingDetails': string;
|
|
72
|
-
'page.wallet.rechargeDetails': string;
|
|
73
|
-
'page.wallet.date': string;
|
|
74
|
-
'page.wallet.spending': string;
|
|
75
|
-
'page.wallet.recharge': string;
|
|
76
|
-
'page.wallet.pointsEarned': string;
|
|
77
|
-
'page.wallet.pointsRedeemed': string;
|
|
78
|
-
'page.wallet.refund': string;
|
|
79
|
-
'page.wallet.expire': string;
|
|
80
|
-
'page.wallet.viewOrder': string;
|
|
81
|
-
'page.wallet.done': string;
|
|
82
|
-
'page.wallet.addIos': string;
|
|
83
|
-
'page.wallet.addGoogle': string;
|
|
84
|
-
'page.wallet.viewDetails': string;
|
|
85
|
-
'page.wallet.expireDate': string;
|
|
86
|
-
'page.wallet.urlEmpty': string;
|
|
87
|
-
'page.wallet.notIOS': string;
|
|
88
|
-
'page.wallet.addSuccess': string;
|
|
89
|
-
'page.wallet.addFailed': string;
|
|
90
|
-
'page.wallet.useAppleInstead': string;
|
|
91
|
-
'page.wallet.openedInBrowser': string;
|
|
92
|
-
'page.wallet.openFailed': string;
|
|
93
|
-
'page.wallet.loading': string;
|
|
94
|
-
};
|
|
95
|
-
};
|
|
96
|
-
export default _default;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
interface RechargeState {
|
|
3
|
-
addWalletCard: any;
|
|
4
|
-
}
|
|
5
|
-
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
6
|
-
walletDetailState: RechargeState;
|
|
7
|
-
} & {
|
|
8
|
-
dispatch: (params: {
|
|
9
|
-
type: string;
|
|
10
|
-
payload: any;
|
|
11
|
-
}) => void;
|
|
12
|
-
}>;
|
|
13
|
-
export {};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
interface IAssetListProps {
|
|
2
|
-
skip?: string;
|
|
3
|
-
num?: string;
|
|
4
|
-
card_id?: string;
|
|
5
|
-
sourceType?: string;
|
|
6
|
-
business_object?: string;
|
|
7
|
-
tag?: string;
|
|
8
|
-
}
|
|
9
|
-
export interface IAssetItem {
|
|
10
|
-
id?: string;
|
|
11
|
-
tag?: 'gift_card' | 'product_voucher' | 'point_card' | 'product_discount_card';
|
|
12
|
-
shop_id?: string;
|
|
13
|
-
transaction_id?: string;
|
|
14
|
-
title?: string;
|
|
15
|
-
created_at?: string;
|
|
16
|
-
amount?: string;
|
|
17
|
-
balance?: string;
|
|
18
|
-
currency_symbol?: string;
|
|
19
|
-
action?: 'recharge' | 'order_expend' | 'order_refund' | 'expire';
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* 资产明细列表
|
|
23
|
-
* @param params 接口请求参数
|
|
24
|
-
* @returns 资产明细列表
|
|
25
|
-
*/
|
|
26
|
-
export declare const getAssetList: (params: IAssetListProps) => Promise<{
|
|
27
|
-
list: IAssetItem[];
|
|
28
|
-
}>;
|
|
29
|
-
/**
|
|
30
|
-
* 获取资产详情
|
|
31
|
-
* @param params 接口请求参数
|
|
32
|
-
* @returns 资产详情
|
|
33
|
-
*/
|
|
34
|
-
export declare const getDetailApi: (params: {
|
|
35
|
-
id: string;
|
|
36
|
-
}) => Promise<{
|
|
37
|
-
data: any;
|
|
38
|
-
}>;
|
|
39
|
-
export {};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
2
|
-
export interface DetailContextType {
|
|
3
|
-
openDetail: (detail: any) => void;
|
|
4
|
-
closeDetail: () => void;
|
|
5
|
-
addWalletCard: () => void;
|
|
6
|
-
setShowModal: (show: boolean) => void;
|
|
7
|
-
renderDetail: (detail: any) => React.ReactNode;
|
|
8
|
-
currentDetail: any;
|
|
9
|
-
isOpen: boolean;
|
|
10
|
-
isInitialized: boolean;
|
|
11
|
-
}
|
|
12
|
-
export interface DetailProviderProps {
|
|
13
|
-
children: ReactNode;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* 详情提供者组件
|
|
17
|
-
* 管理钱包详情的显示状态和数据
|
|
18
|
-
*/
|
|
19
|
-
export declare const DetailProvider: React.FC<DetailProviderProps>;
|
|
20
|
-
/**
|
|
21
|
-
* 使用详情上下文的钩子
|
|
22
|
-
* @returns DetailContext上下文值
|
|
23
|
-
* @throws 如果不在DetailProvider内部使用,将抛出错误
|
|
24
|
-
*/
|
|
25
|
-
export declare const useDetail: () => DetailContextType;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
interface RechargeState {
|
|
3
|
-
total: number;
|
|
4
|
-
setup?: 'menu' | 'list' | 'detail' | string;
|
|
5
|
-
}
|
|
6
|
-
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
7
|
-
state: RechargeState;
|
|
8
|
-
} & {
|
|
9
|
-
dispatch: (params: {
|
|
10
|
-
type: string;
|
|
11
|
-
payload: any;
|
|
12
|
-
}) => void;
|
|
13
|
-
}>;
|
|
14
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
interface RechargeState {
|
|
3
|
-
total: number;
|
|
4
|
-
}
|
|
5
|
-
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
6
|
-
state: RechargeState;
|
|
7
|
-
} & {
|
|
8
|
-
dispatch: (params: {
|
|
9
|
-
type: string;
|
|
10
|
-
payload: any;
|
|
11
|
-
}) => void;
|
|
12
|
-
}>;
|
|
13
|
-
export {};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
interface RechargeState {
|
|
3
|
-
selectedGiftOptionId: string | null;
|
|
4
|
-
cardList: Array<{
|
|
5
|
-
id: string;
|
|
6
|
-
name: string;
|
|
7
|
-
price: number;
|
|
8
|
-
}>;
|
|
9
|
-
selectedItem: {
|
|
10
|
-
id?: string;
|
|
11
|
-
gift_price?: number;
|
|
12
|
-
price?: number;
|
|
13
|
-
name?: string;
|
|
14
|
-
variant_id?: string;
|
|
15
|
-
};
|
|
16
|
-
productId?: string;
|
|
17
|
-
detailId?: string;
|
|
18
|
-
total: string | number;
|
|
19
|
-
rechargeModalOpen: boolean;
|
|
20
|
-
}
|
|
21
|
-
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
22
|
-
state: RechargeState;
|
|
23
|
-
} & {
|
|
24
|
-
dispatch: (params: {
|
|
25
|
-
type: string;
|
|
26
|
-
payload: any;
|
|
27
|
-
}) => void;
|
|
28
|
-
}>;
|
|
29
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
interface OrderParams {
|
|
2
|
-
voucher_id: string;
|
|
3
|
-
product_id: string;
|
|
4
|
-
product_variant_id: string;
|
|
5
|
-
quantity: number;
|
|
6
|
-
type: string;
|
|
7
|
-
platform: string;
|
|
8
|
-
currency_code: {
|
|
9
|
-
currency_code: string;
|
|
10
|
-
currency_symbol: string;
|
|
11
|
-
currency_format: string;
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
interface OrderResponse {
|
|
15
|
-
order_id: string;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* 下单接口
|
|
19
|
-
* @param params - 订单参数
|
|
20
|
-
* @returns 订单响应数据
|
|
21
|
-
*/
|
|
22
|
-
export declare const goOrder: (params: OrderParams) => Promise<OrderResponse>;
|
|
23
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
en: {
|
|
3
|
-
'page.wallet.rechargeOptions': string;
|
|
4
|
-
'page.wallet.available': string;
|
|
5
|
-
'page.wallet.unavailable': string;
|
|
6
|
-
'page.wallet.recharge': string;
|
|
7
|
-
};
|
|
8
|
-
'zh-CN': {
|
|
9
|
-
'page.wallet.rechargeOptions': string;
|
|
10
|
-
'page.wallet.available': string;
|
|
11
|
-
'page.wallet.unavailable': string;
|
|
12
|
-
'page.wallet.recharge': string;
|
|
13
|
-
};
|
|
14
|
-
'zh-HK': {
|
|
15
|
-
'page.wallet.rechargeOptions': string;
|
|
16
|
-
'page.wallet.available': string;
|
|
17
|
-
'page.wallet.unavailable': string;
|
|
18
|
-
'page.wallet.recharge': string;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
export default _default;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
interface RechargeState {
|
|
3
|
-
total: 0;
|
|
4
|
-
}
|
|
5
|
-
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
6
|
-
state: RechargeState;
|
|
7
|
-
} & {
|
|
8
|
-
dispatch: (params: {
|
|
9
|
-
type: string;
|
|
10
|
-
payload: any;
|
|
11
|
-
}) => void;
|
|
12
|
-
}>;
|
|
13
|
-
export {};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
export interface FooterButtonsProps {
|
|
4
|
-
step: string;
|
|
5
|
-
onAppleWalletClick?: () => void;
|
|
6
|
-
onRechargeClick?: () => void;
|
|
7
|
-
onAddClick?: () => void;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
platform?: 'pc' | 'h5';
|
|
10
|
-
isIOS?: boolean;
|
|
11
|
-
addWalletLoading?: boolean;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* 通用底部按钮组件
|
|
15
|
-
* 根据step不同显示不同的按钮组
|
|
16
|
-
*/
|
|
17
|
-
declare const FooterButtons: React.FC<FooterButtonsProps>;
|
|
18
|
-
export default FooterButtons;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { IWalletListItemProps } from '../serve';
|
|
3
|
-
/**
|
|
4
|
-
* 钱包卡片Hook的参数
|
|
5
|
-
*/
|
|
6
|
-
export interface UseWalletCardParams {
|
|
7
|
-
globalState: any;
|
|
8
|
-
setGlobalState: (state: any) => void;
|
|
9
|
-
walletContext: any;
|
|
10
|
-
cardList: IWalletListItemProps[];
|
|
11
|
-
cardType: string;
|
|
12
|
-
isDiscountCard?: boolean;
|
|
13
|
-
valueField?: string;
|
|
14
|
-
setupValue?: 'menu' | 'list' | 'detail';
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* 钱包卡片Hook
|
|
18
|
-
* 封装了钱包卡片组件的通用逻辑
|
|
19
|
-
*/
|
|
20
|
-
export declare function useWalletCard({ globalState, setGlobalState, walletContext, cardList, cardType, isDiscountCard, valueField, setupValue }: UseWalletCardParams): {
|
|
21
|
-
platform: string;
|
|
22
|
-
currentId: any;
|
|
23
|
-
currentDetail: any;
|
|
24
|
-
isEmpty: boolean;
|
|
25
|
-
state: any;
|
|
26
|
-
dispatch: any;
|
|
27
|
-
handleRowClick: (detail: IWalletListItemProps) => void;
|
|
28
|
-
renderCardDetail: () => import("react").ReactNode;
|
|
29
|
-
formatData: () => {
|
|
30
|
-
title: any;
|
|
31
|
-
dataSource: IWalletListItemProps[];
|
|
32
|
-
}[];
|
|
33
|
-
};
|
|
34
|
-
export default useWalletCard;
|