@pisell/private-materials 3.3.93 → 3.3.95
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/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +8 -8
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +11 -11
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +11 -11
- package/es/businessModel/SalesModel/index.d.ts +1 -0
- package/es/components/Sales/Cart/index.js +1 -5
- package/es/components/Sales/Cart/utils.d.ts +0 -40
- package/es/components/Sales/Cart/utils.js +0 -167
- package/es/components/Sales/Checkout/index.d.ts +0 -4
- package/es/components/Sales/Checkout/index.js +8 -52
- package/es/components/Sales/Checkout/serve.d.ts +0 -13
- package/es/components/Sales/Checkout/serve.js +2 -16
- package/es/components/Sales/Checkout/utils.js +1 -7
- package/es/components/Sales/Summary/index.d.ts +0 -10
- package/es/components/Sales/Summary/index.js +2 -17
- package/es/components/Sales/Summary/serve.d.ts +0 -1
- package/es/components/Sales/Summary/serve.js +0 -6
- package/es/components/Sales/Summary/utils.d.ts +1 -16
- package/es/components/Sales/Summary/utils.js +1 -43
- package/es/components/appointmentBooking/components/Cart/Item/index.less +3 -3
- package/es/components/appointmentBooking/components/Content/index.less +1 -1
- package/es/components/appointmentBooking/components/Deposit/index.d.ts +0 -6
- package/es/components/appointmentBooking/components/Deposit/index.js +7 -27
- package/es/components/appointmentBooking/components/Services/index.js +27 -23
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.js +20 -25
- package/es/components/appointmentBooking/deposit/index.js +2 -4
- package/es/components/appointmentBooking/index.js +0 -14
- package/es/components/appointmentBooking/index.less +1 -1
- package/es/components/booking/addons/model.d.ts +10 -1
- package/es/components/booking/components/TabProduct/index.d.ts +1 -0
- package/es/components/booking/components/TabProduct/tabs/index.js +1 -5
- package/es/components/booking/components/browserSelect/index.js +1 -1
- package/es/components/booking/components/footer/utils.js +46 -17
- package/es/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
- package/es/components/booking/components/voucher/index.js +2 -2
- package/es/components/booking/forms/model.d.ts +10 -1
- package/es/components/booking/forms/model.js +5 -5
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
- package/es/components/booking/forms/table/index.d.ts +1 -0
- package/es/components/booking/info/addServiceVariant/index.d.ts +1 -0
- package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
- package/es/components/booking/info/index.d.ts +1 -0
- package/es/components/booking/info/model.d.ts +10 -1
- package/es/components/booking/info/service/like/index.d.ts +1 -0
- package/es/components/booking/info/service/like/index.js +1 -1
- package/es/components/booking/info/service2/utils.js +3 -2
- package/es/components/booking/materiels/startTime/index.js +1 -1
- package/es/components/booking/model.d.ts +9 -1
- package/es/components/booking/notes/NoteBlock/NoteItem/index.js +1 -1
- package/es/components/booking/notes/NoteBlock/index.js +11 -11
- package/es/components/booking/notes/model.d.ts +10 -1
- package/es/components/booking/notes/model.js +5 -5
- package/es/components/booking/payments/model.d.ts +10 -1
- package/es/components/booking/payments/model.js +5 -5
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/eftpos/deviceList/index.d.ts +1 -0
- package/es/components/eftpos/form/index.d.ts +1 -0
- package/es/components/eftpos/group/index.d.ts +1 -0
- package/es/components/eftpos/hooks.d.ts +1 -0
- package/es/components/eftpos/icon/apiKey.d.ts +1 -0
- package/es/components/eftpos/icon/device.d.ts +1 -0
- package/es/components/eftpos/receipt/index.d.ts +1 -0
- package/es/components/eftpos/surcharge/index.d.ts +1 -0
- package/es/components/eftposPay/amount.d.ts +1 -1
- package/es/components/eftposPay/component/alert/warn.d.ts +1 -0
- package/es/components/eftposPay/component/header/titlebar.d.ts +1 -0
- package/es/components/eftposPay/component/step/step.d.ts +1 -0
- package/es/components/eftposPay/const.d.ts +1 -4
- package/es/components/eftposPay/const.js +1 -3
- package/es/components/eftposPay/device.d.ts +1 -1
- package/es/components/eftposPay/hooks.d.ts +2 -2
- package/es/components/eftposPay/hooks.js +1 -3
- package/es/components/eftposPay/index.js +1 -1
- package/es/components/eftposPay/manufacturer.d.ts +0 -1
- package/es/components/eftposPay/manufacturer.js +0 -4
- package/es/components/eftposPay/pay.d.ts +1 -1
- package/es/components/eftposPay/pay.js +2 -6
- package/es/components/eftposPay/store/index.d.ts +4 -4
- package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.js +17 -29
- package/es/components/eventBooking/components/Provider/Cart/Item/Total.js +6 -10
- package/es/components/eventBooking/components/Provider/Cart/Item/index.js +2 -4
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/index.js +1 -3
- package/es/components/eventBooking/locales.d.ts +0 -24
- package/es/components/eventBooking/locales.js +3 -27
- package/es/components/index.d.ts +2 -2
- package/es/components/index.js +2 -2
- package/es/components/listComponent/index.js +5 -5
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/index.js +4 -5
- package/es/components/pay/toC/model.d.ts +9 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
- package/es/components/productExtension/card/index.js +3 -3
- package/es/components/productExtension/fields/Actor/CutOffTime/index.js +1 -1
- package/es/components/productExtension/fields/Actor/index.d.ts +1 -0
- package/es/components/productExtension/fields/Forms/index.d.ts +1 -0
- package/es/components/productExtension/fields/Forms/index.js +12 -12
- package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.js +1 -1
- package/es/components/productExtension/fields/SelectProducts/server.js +2 -2
- package/es/components/productExtension/fields/SelectResourcesTable/server.js +2 -2
- package/es/components/productExtension/server.js +2 -2
- package/es/components/ruleSetting/ruleBorder/index.js +1 -1
- package/es/components/schedules/calendar/calendarItem.d.ts +1 -0
- package/es/components/schedules/calendar/index.js +4 -4
- package/es/components/schedules/calendar/serve.js +2 -2
- package/es/components/schedules/components/CurrentDay/index.js +5 -5
- package/es/components/schedules/components/CurrentDay/serve.js +2 -2
- package/es/components/schedules/components/DropdownSort/index.js +1 -1
- package/es/components/schedules/components/ResourceList/index.js +1 -1
- package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
- package/es/components/schedules/components/Search/index.js +5 -5
- package/es/components/schedules/model.d.ts +9 -1
- package/es/components/schedules/model.js +5 -5
- package/es/components/schedules/openHours/index.js +1 -1
- package/es/components/schedules/openHours/serve.js +2 -2
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.js +1 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.js +5 -5
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.js +4 -4
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/index.js +3 -3
- package/es/components/schedules/products/serve.js +2 -2
- package/es/components/schedules/products/utils.js +5 -5
- package/es/components/schedules/resources/detail/detailContent.js +2 -2
- package/es/components/schedules/resources/detail/index.js +10 -10
- package/es/components/schedules/resources/list/index.js +2 -2
- package/es/components/schedules/resources/relationProduct/index.d.ts +1 -0
- package/es/components/schedules/resources/relationProduct/index.js +1 -1
- package/es/components/schedules/resources/serve.js +2 -2
- package/es/components/schedules/schedules/ScheduleDetailDrawer/index.js +9 -9
- package/es/components/schedules/utils.js +4 -4
- package/es/components/selectModal/index.js +2 -2
- package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
- package/es/components/shoppingCart/components/Render/index.d.ts +1 -0
- package/es/components/ticketBooking/components/addServiceVariant/addService.js +1 -1
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
- package/es/components/ticketBooking/components/menuBar/index.d.ts +1 -0
- package/es/components/ticketBooking/components/ticketBooking/index.js +1 -120
- package/es/components/ticketBooking/locales.d.ts +146 -164
- package/es/components/ticketBooking/locales.js +147 -195
- package/es/components/ticketBooking/utils/index.js +2 -1
- package/es/components/wallet/Detail/model.d.ts +13 -1
- package/es/components/wallet/DiscountCard/model.d.ts +14 -1
- package/es/components/wallet/PointCard/model.d.ts +13 -1
- package/es/components/wallet/RechargeableCard/model.d.ts +29 -1
- package/es/components/wallet/Voucher/model.d.ts +13 -1
- package/es/components/wallet/model.d.ts +9 -1
- package/es/hooks/useComponents.js +1 -1
- package/es/index.d.ts +1 -1
- package/es/index.js +2 -2
- package/lib/businessModel/SalesModel/index.d.ts +1 -0
- package/lib/components/Sales/Cart/index.js +0 -1
- package/lib/components/Sales/Cart/utils.d.ts +0 -40
- package/lib/components/Sales/Cart/utils.js +0 -117
- package/lib/components/Sales/Checkout/index.d.ts +0 -4
- package/lib/components/Sales/Checkout/index.js +7 -39
- package/lib/components/Sales/Checkout/serve.d.ts +0 -13
- package/lib/components/Sales/Checkout/serve.js +2 -7
- package/lib/components/Sales/Checkout/utils.js +0 -2
- package/lib/components/Sales/Summary/index.d.ts +0 -10
- package/lib/components/Sales/Summary/index.js +1 -7
- package/lib/components/Sales/Summary/serve.d.ts +0 -1
- package/lib/components/Sales/Summary/serve.js +0 -32
- package/lib/components/Sales/Summary/utils.d.ts +1 -16
- package/lib/components/Sales/Summary/utils.js +1 -30
- package/lib/components/appointmentBooking/components/Cart/Item/index.less +3 -3
- package/lib/components/appointmentBooking/components/Content/index.less +1 -1
- package/lib/components/appointmentBooking/components/Deposit/index.d.ts +0 -6
- package/lib/components/appointmentBooking/components/Deposit/index.js +4 -36
- package/lib/components/appointmentBooking/components/Services/index.js +11 -6
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.js +4 -8
- package/lib/components/appointmentBooking/deposit/index.js +2 -4
- package/lib/components/appointmentBooking/index.js +0 -11
- package/lib/components/appointmentBooking/index.less +1 -1
- package/lib/components/booking/addons/model.d.ts +10 -1
- package/lib/components/booking/components/TabProduct/index.d.ts +1 -0
- package/lib/components/booking/components/footer/utils.js +25 -7
- package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
- package/lib/components/booking/components/voucher/index.js +2 -2
- package/lib/components/booking/forms/model.d.ts +10 -1
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
- package/lib/components/booking/forms/table/index.d.ts +1 -0
- package/lib/components/booking/info/addServiceVariant/index.d.ts +1 -0
- package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
- package/lib/components/booking/info/index.d.ts +1 -0
- package/lib/components/booking/info/model.d.ts +10 -1
- package/lib/components/booking/info/service/like/index.d.ts +1 -0
- package/lib/components/booking/info/service2/utils.js +3 -2
- package/lib/components/booking/model.d.ts +9 -1
- package/lib/components/booking/notes/model.d.ts +10 -1
- package/lib/components/booking/payments/model.d.ts +10 -1
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/eftpos/deviceList/index.d.ts +1 -0
- package/lib/components/eftpos/form/index.d.ts +1 -0
- package/lib/components/eftpos/group/index.d.ts +1 -0
- package/lib/components/eftpos/hooks.d.ts +1 -0
- package/lib/components/eftpos/icon/apiKey.d.ts +1 -0
- package/lib/components/eftpos/icon/device.d.ts +1 -0
- package/lib/components/eftpos/receipt/index.d.ts +1 -0
- package/lib/components/eftpos/surcharge/index.d.ts +1 -0
- package/lib/components/eftposPay/amount.d.ts +1 -1
- package/lib/components/eftposPay/component/alert/warn.d.ts +1 -0
- package/lib/components/eftposPay/component/header/titlebar.d.ts +1 -0
- package/lib/components/eftposPay/component/step/step.d.ts +1 -0
- package/lib/components/eftposPay/const.d.ts +1 -4
- package/lib/components/eftposPay/const.js +0 -2
- package/lib/components/eftposPay/device.d.ts +1 -1
- package/lib/components/eftposPay/hooks.d.ts +2 -2
- package/lib/components/eftposPay/hooks.js +4 -11
- package/lib/components/eftposPay/index.js +1 -1
- package/lib/components/eftposPay/manufacturer.d.ts +0 -1
- package/lib/components/eftposPay/manufacturer.js +0 -6
- package/lib/components/eftposPay/pay.d.ts +1 -1
- package/lib/components/eftposPay/pay.js +2 -13
- package/lib/components/eftposPay/store/index.d.ts +4 -4
- package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.js +3 -16
- package/lib/components/eventBooking/components/Provider/Cart/Item/Total.js +5 -8
- package/lib/components/eventBooking/components/Provider/Cart/Item/index.js +2 -4
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/index.js +1 -1
- package/lib/components/eventBooking/locales.d.ts +0 -24
- package/lib/components/eventBooking/locales.js +3 -27
- package/lib/components/index.d.ts +2 -2
- package/lib/components/index.js +1 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/index.js +9 -10
- package/lib/components/pay/toC/model.d.ts +9 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
- package/lib/components/productExtension/fields/Actor/index.d.ts +1 -0
- package/lib/components/productExtension/fields/Forms/index.d.ts +1 -0
- package/lib/components/schedules/calendar/calendarItem.d.ts +1 -0
- package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
- package/lib/components/schedules/model.d.ts +9 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
- package/lib/components/schedules/resources/relationProduct/index.d.ts +1 -0
- package/lib/components/schedules/utils.js +1 -1
- package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
- package/lib/components/shoppingCart/components/Render/index.d.ts +1 -0
- package/lib/components/ticketBooking/components/addServiceVariant/addService.js +1 -1
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
- package/lib/components/ticketBooking/components/menuBar/index.d.ts +1 -0
- package/lib/components/ticketBooking/components/ticketBooking/index.js +1 -120
- package/lib/components/ticketBooking/locales.d.ts +146 -164
- package/lib/components/ticketBooking/locales.js +4 -22
- package/lib/components/ticketBooking/utils/index.js +2 -1
- package/lib/components/wallet/Detail/model.d.ts +13 -1
- package/lib/components/wallet/DiscountCard/model.d.ts +14 -1
- package/lib/components/wallet/PointCard/model.d.ts +13 -1
- package/lib/components/wallet/RechargeableCard/model.d.ts +29 -1
- package/lib/components/wallet/Voucher/model.d.ts +13 -1
- package/lib/components/wallet/model.d.ts +9 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/package.json +4 -4
- package/es/components/eftposPay/linkly/const.d.ts +0 -23
- package/es/components/eftposPay/linkly/const.js +0 -82
- package/es/components/eftposPay/linkly/hooks/index.d.ts +0 -2
- package/es/components/eftposPay/linkly/hooks/index.js +0 -2
- package/es/components/eftposPay/linkly/hooks/normal.d.ts +0 -30
- package/es/components/eftposPay/linkly/hooks/normal.js +0 -321
- package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
- package/es/components/eftposPay/linkly/hooks/useTimeQuery.js +0 -273
- package/es/components/eftposPay/linkly/index.d.ts +0 -2
- package/es/components/eftposPay/linkly/index.js +0 -197
- package/es/components/eftposPay/linkly/service.d.ts +0 -32
- package/es/components/eftposPay/linkly/service.js +0 -81
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -2
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.js +0 -17
- package/es/components/ticketBooking/utils/formatProductMessage.d.ts +0 -2
- package/es/components/ticketBooking/utils/formatProductMessage.js +0 -62
- package/es/components/ticketBooking/utils/formatTime.d.ts +0 -31
- package/es/components/ticketBooking/utils/formatTime.js +0 -144
- package/lib/components/eftposPay/linkly/const.d.ts +0 -23
- package/lib/components/eftposPay/linkly/const.js +0 -102
- package/lib/components/eftposPay/linkly/hooks/index.d.ts +0 -2
- package/lib/components/eftposPay/linkly/hooks/index.js +0 -25
- package/lib/components/eftposPay/linkly/hooks/normal.d.ts +0 -30
- package/lib/components/eftposPay/linkly/hooks/normal.js +0 -242
- package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
- package/lib/components/eftposPay/linkly/hooks/useTimeQuery.js +0 -222
- package/lib/components/eftposPay/linkly/index.d.ts +0 -2
- package/lib/components/eftposPay/linkly/index.js +0 -208
- package/lib/components/eftposPay/linkly/service.d.ts +0 -32
- package/lib/components/eftposPay/linkly/service.js +0 -55
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -2
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.js +0 -55
- package/lib/components/ticketBooking/utils/formatProductMessage.d.ts +0 -2
- package/lib/components/ticketBooking/utils/formatProductMessage.js +0 -84
- package/lib/components/ticketBooking/utils/formatTime.d.ts +0 -31
- package/lib/components/ticketBooking/utils/formatTime.js +0 -139
|
@@ -43,7 +43,6 @@ var import_serve = require("../../../../../Sales/Event/serve");
|
|
|
43
43
|
var import_ahooks = require("ahooks");
|
|
44
44
|
var import_useEngineContext = __toESM(require("../../../../../../hooks/useEngineContext"));
|
|
45
45
|
var import_index = require("./index.less");
|
|
46
|
-
var import_utils3 = require("../../../../../appointmentBooking/utils");
|
|
47
46
|
var ContinueButton = () => {
|
|
48
47
|
var _a, _b;
|
|
49
48
|
const { data } = (0, import_Sales.useSales)();
|
|
@@ -54,11 +53,9 @@ var ContinueButton = () => {
|
|
|
54
53
|
onCheckout,
|
|
55
54
|
createBooking,
|
|
56
55
|
onCheckBeforeBooking,
|
|
57
|
-
checkBeforeBooking
|
|
58
|
-
freePay
|
|
56
|
+
checkBeforeBooking
|
|
59
57
|
} = (0, import_Sales.useCheckout)();
|
|
60
58
|
const { openLoginModal, isLogin } = (0, import_Sales.useCustomer)();
|
|
61
|
-
const { deposit, isAgreeDepositPolicy } = (0, import_Sales.useSummary)();
|
|
62
59
|
const [openCheckout, setOpenCheckout] = (0, import_react.useState)(false);
|
|
63
60
|
const [checkedNumber, setCheckedNumber] = (0, import_react.useState)(0);
|
|
64
61
|
const [openEmptyHolder, setOpenEmptyHolder] = (0, import_react.useState)(false);
|
|
@@ -229,13 +226,8 @@ var ContinueButton = () => {
|
|
|
229
226
|
handleNextStep();
|
|
230
227
|
};
|
|
231
228
|
const handleContinue = async () => {
|
|
232
|
-
var _a2;
|
|
233
229
|
if (isLastStep) {
|
|
234
230
|
const value = (0, import_utils2.formatValues)(data);
|
|
235
|
-
if ((deposit == null ? void 0 : deposit.hasDeposit) && ((_a2 = deposit == null ? void 0 : deposit.protocols) == null ? void 0 : _a2.length) > 0 && !isAgreeDepositPolicy) {
|
|
236
|
-
(0, import_utils3.Toast)(import_utils.locales.getText("pisell2.appointment.deposit.agree.policy"));
|
|
237
|
-
return;
|
|
238
|
-
}
|
|
239
231
|
const checkRes = await onCheckBeforeBooking(value);
|
|
240
232
|
if ((checkRes == null ? void 0 : checkRes.result) === false) {
|
|
241
233
|
setCheckedNumber(checkRes == null ? void 0 : checkRes.num);
|
|
@@ -271,13 +263,8 @@ var ContinueButton = () => {
|
|
|
271
263
|
}, [currentStepData == null ? void 0 : currentStepData.key]);
|
|
272
264
|
const confirmLoading = (0, import_react.useMemo)(() => {
|
|
273
265
|
if (!isLastStep) return false;
|
|
274
|
-
return (createBooking == null ? void 0 : createBooking.loading) || (checkBeforeBooking == null ? void 0 : checkBeforeBooking.loading)
|
|
275
|
-
}, [
|
|
276
|
-
isLastStep,
|
|
277
|
-
createBooking == null ? void 0 : createBooking.loading,
|
|
278
|
-
checkBeforeBooking == null ? void 0 : checkBeforeBooking.loading,
|
|
279
|
-
freePay == null ? void 0 : freePay.loading
|
|
280
|
-
]);
|
|
266
|
+
return (createBooking == null ? void 0 : createBooking.loading) || (checkBeforeBooking == null ? void 0 : checkBeforeBooking.loading);
|
|
267
|
+
}, [isLastStep, createBooking == null ? void 0 : createBooking.loading, checkBeforeBooking == null ? void 0 : checkBeforeBooking.loading]);
|
|
281
268
|
return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(
|
|
282
269
|
import_materials.Button,
|
|
283
270
|
{
|
|
@@ -40,9 +40,8 @@ var import_useEngineContext = __toESM(require("../../../../../../hooks/useEngine
|
|
|
40
40
|
var import_index = require("./index.less");
|
|
41
41
|
var import_classnames = __toESM(require("classnames"));
|
|
42
42
|
var Total = ({ className, isFooter }) => {
|
|
43
|
-
var _a, _b, _c, _d, _e, _f
|
|
44
|
-
const {
|
|
45
|
-
const { taxTitle, totalTaxFee, isPriceIncludeTax, total, deposit } = (0, import_Sales.useSummary)();
|
|
43
|
+
var _a, _b, _c, _d, _e, _f;
|
|
44
|
+
const { taxTitle, totalTaxFee, isPriceIncludeTax, total } = (0, import_Sales.useSummary)();
|
|
46
45
|
const context = (0, import_useEngineContext.default)();
|
|
47
46
|
console.log(
|
|
48
47
|
taxTitle,
|
|
@@ -50,10 +49,8 @@ var Total = ({ className, isFooter }) => {
|
|
|
50
49
|
totalTaxFee,
|
|
51
50
|
total,
|
|
52
51
|
(_c = (_b = (_a = context == null ? void 0 : context.appHelper) == null ? void 0 : _a.utils) == null ? void 0 : _b.getSymbolic) == null ? void 0 : _c.call(_b),
|
|
53
|
-
deposit,
|
|
54
52
|
"wh97978"
|
|
55
53
|
);
|
|
56
|
-
const showDeposit = ((_d = cartData == null ? void 0 : cartData.cartItems) == null ? void 0 : _d.length) > 0 && (deposit == null ? void 0 : deposit.hasDeposit);
|
|
57
54
|
return /* @__PURE__ */ import_react.default.createElement("div", { className: `event-total-wrap ${className}` }, !isPriceIncludeTax && Number(totalTaxFee) > 0 ? /* @__PURE__ */ import_react.default.createElement("div", { className: "gst-wrap" }, /* @__PURE__ */ import_react.default.createElement("span", null, taxTitle, isFooter ? ": " : ""), /* @__PURE__ */ import_react.default.createElement(import_materials.PisellText.Amount, { value: totalTaxFee, showCurrencySymbol: true })) : null, /* @__PURE__ */ import_react.default.createElement(
|
|
58
55
|
"div",
|
|
59
56
|
{
|
|
@@ -61,16 +58,16 @@ var Total = ({ className, isFooter }) => {
|
|
|
61
58
|
[["total-gst-wrap"]]: !isPriceIncludeTax && Number(totalTaxFee) > 0
|
|
62
59
|
})
|
|
63
60
|
},
|
|
64
|
-
/* @__PURE__ */ import_react.default.createElement("div", { className: "left" }, /* @__PURE__ */ import_react.default.createElement("div", null, /* @__PURE__ */ import_react.default.createElement("span", null,
|
|
61
|
+
/* @__PURE__ */ import_react.default.createElement("div", { className: "left" }, /* @__PURE__ */ import_react.default.createElement("div", null, /* @__PURE__ */ import_react.default.createElement("span", null, import_utils.locales.getText("pisell2.event.total"), isFooter ? ": " : ""), isFooter ? /* @__PURE__ */ import_react.default.createElement(
|
|
65
62
|
import_materials.PisellText.Amount,
|
|
66
63
|
{
|
|
67
|
-
value:
|
|
64
|
+
value: total,
|
|
68
65
|
showCurrencySymbol: true,
|
|
69
66
|
className: "event-amount"
|
|
70
67
|
}
|
|
71
68
|
) : null), isPriceIncludeTax && Number(totalTaxFee) > 0 ? /* @__PURE__ */ import_react.default.createElement("span", { className: "gst" }, import_utils.locales.getText("pisell2.event.total.gst")(
|
|
72
69
|
`${isFooter ? `${taxTitle}: ` : taxTitle}`,
|
|
73
|
-
`${(
|
|
70
|
+
`${(_f = (_e = (_d = context == null ? void 0 : context.appHelper) == null ? void 0 : _d.utils) == null ? void 0 : _e.getSymbolic) == null ? void 0 : _f.call(_e)}${totalTaxFee}`
|
|
74
71
|
)) : null),
|
|
75
72
|
!isFooter ? /* @__PURE__ */ import_react.default.createElement(
|
|
76
73
|
import_materials.PisellText.Amount,
|
|
@@ -39,10 +39,8 @@ var import_Sales = require("../../../../../Sales");
|
|
|
39
39
|
var import_SelectHolderModal = __toESM(require("../../SelectHolderModal"));
|
|
40
40
|
var import_ContinueButton = __toESM(require("../ContinueButton"));
|
|
41
41
|
var import_Total = __toESM(require("./Total"));
|
|
42
|
-
var import_Deposit = __toESM(require("../Deposit"));
|
|
43
42
|
var import_index = require("./index.less");
|
|
44
43
|
var CartItem = () => {
|
|
45
|
-
var _a;
|
|
46
44
|
const { open, holderData, selectedHolderIds } = (0, import_Sales.useHolder)();
|
|
47
45
|
const {
|
|
48
46
|
deleteCartItem,
|
|
@@ -50,7 +48,7 @@ var CartItem = () => {
|
|
|
50
48
|
cartData,
|
|
51
49
|
addNoteToCartItem
|
|
52
50
|
} = (0, import_Sales.useCart)();
|
|
53
|
-
const {
|
|
51
|
+
const { subtotal } = (0, import_Sales.useSummary)();
|
|
54
52
|
const { isLastStep } = (0, import_Sales.useStep)();
|
|
55
53
|
const handleClickCard = (e, type, key) => {
|
|
56
54
|
if (type === "note") {
|
|
@@ -88,7 +86,7 @@ var CartItem = () => {
|
|
|
88
86
|
onChange: (e, type, key) => handleClickCard(e, type, key)
|
|
89
87
|
}
|
|
90
88
|
)),
|
|
91
|
-
/* @__PURE__ */ import_react.default.createElement("div", { className: "event-footer" }, /* @__PURE__ */ import_react.default.createElement(import_Total.default, null),
|
|
89
|
+
/* @__PURE__ */ import_react.default.createElement("div", { className: "event-footer" }, /* @__PURE__ */ import_react.default.createElement(import_Total.default, null), /* @__PURE__ */ import_react.default.createElement(import_ContinueButton.default, null))
|
|
92
90
|
), /* @__PURE__ */ import_react.default.createElement(import_SelectHolderModal.default, { open }));
|
|
93
91
|
};
|
|
94
92
|
var Item_default = CartItem;
|
|
@@ -239,7 +239,7 @@ var BookingDetailModal = (props) => {
|
|
|
239
239
|
utils == null ? void 0 : utils.action({
|
|
240
240
|
type: "pisell1.productDetail",
|
|
241
241
|
data: {
|
|
242
|
-
detail: { ...(bookingOption == null ? void 0 : bookingOption._originData) || {}
|
|
242
|
+
detail: { ...(bookingOption == null ? void 0 : bookingOption._originData) || {} },
|
|
243
243
|
isOS: false
|
|
244
244
|
},
|
|
245
245
|
callback: (data) => {
|
|
@@ -71,14 +71,6 @@ declare const _default: {
|
|
|
71
71
|
'pisell2.event.capacity.limit.reached.tip': string;
|
|
72
72
|
'pisell2.event.schedule.item.expand': string;
|
|
73
73
|
'pisell2.event.schedule.item.collapse': string;
|
|
74
|
-
'pisell2.appointment.deposit': string;
|
|
75
|
-
'pisell2.appointment.deposit.agreed': string;
|
|
76
|
-
'pisell2.appointment.deposit.agree.policy': string;
|
|
77
|
-
'pisell2.appointment.deposit.and': string;
|
|
78
|
-
'pisell2.appointment.deposit.amount.tip1': string;
|
|
79
|
-
'pisell2.appointment.deposit.amount.tip2': string;
|
|
80
|
-
'pisell2.appointment.deposit.close': string;
|
|
81
|
-
'pisell2.appointment.booking.empty.data': string;
|
|
82
74
|
};
|
|
83
75
|
'zh-CN': {
|
|
84
76
|
'pisell2.event.calendar.limit.unavailable': string;
|
|
@@ -152,14 +144,6 @@ declare const _default: {
|
|
|
152
144
|
'pisell2.event.capacity.limit.reached.tip': string;
|
|
153
145
|
'pisell2.event.schedule.item.expand': string;
|
|
154
146
|
'pisell2.event.schedule.item.collapse': string;
|
|
155
|
-
'pisell2.appointment.deposit': string;
|
|
156
|
-
'pisell2.appointment.deposit.agreed': string;
|
|
157
|
-
'pisell2.appointment.deposit.agree.policy': string;
|
|
158
|
-
'pisell2.appointment.deposit.and': string;
|
|
159
|
-
'pisell2.appointment.deposit.amount.tip1': string;
|
|
160
|
-
'pisell2.appointment.deposit.amount.tip2': string;
|
|
161
|
-
'pisell2.appointment.deposit.close': string;
|
|
162
|
-
'pisell2.appointment.booking.empty.data': string;
|
|
163
147
|
};
|
|
164
148
|
'zh-HK': {
|
|
165
149
|
'pisell2.event.calendar.limit.unavailable': string;
|
|
@@ -233,14 +217,6 @@ declare const _default: {
|
|
|
233
217
|
'pisell2.event.capacity.limit.reached.tip': string;
|
|
234
218
|
'pisell2.event.schedule.item.expand': string;
|
|
235
219
|
'pisell2.event.schedule.item.collapse': string;
|
|
236
|
-
'pisell2.appointment.deposit': string;
|
|
237
|
-
'pisell2.appointment.deposit.agreed': string;
|
|
238
|
-
'pisell2.appointment.deposit.agree.policy': string;
|
|
239
|
-
'pisell2.appointment.deposit.and': string;
|
|
240
|
-
'pisell2.appointment.deposit.amount.tip1': string;
|
|
241
|
-
'pisell2.appointment.deposit.amount.tip2': string;
|
|
242
|
-
'pisell2.appointment.deposit.close': string;
|
|
243
|
-
'pisell2.appointment.booking.empty.data': string;
|
|
244
220
|
};
|
|
245
221
|
};
|
|
246
222
|
export default _default;
|
|
@@ -94,15 +94,7 @@ var locales_default = {
|
|
|
94
94
|
"pisell2.event.capacity.limit.reached.title": "Capacity limit reached",
|
|
95
95
|
"pisell2.event.capacity.limit.reached.tip": "One or more events in your cart are no longer available due to full capacity. Please remove unavailable events from your cart to complete checkout.",
|
|
96
96
|
"pisell2.event.schedule.item.expand": "See more",
|
|
97
|
-
"pisell2.event.schedule.item.collapse": "See less"
|
|
98
|
-
"pisell2.appointment.deposit": "Deposit",
|
|
99
|
-
"pisell2.appointment.deposit.agreed": "I have read and agree to the ",
|
|
100
|
-
"pisell2.appointment.deposit.agree.policy": "You need to agree the policy to proceed",
|
|
101
|
-
"pisell2.appointment.deposit.and": " & ",
|
|
102
|
-
"pisell2.appointment.deposit.amount.tip1": " needs to be paid as deposit.",
|
|
103
|
-
"pisell2.appointment.deposit.amount.tip2": " ",
|
|
104
|
-
"pisell2.appointment.deposit.close": "Close",
|
|
105
|
-
"pisell2.appointment.booking.empty.data": "No data"
|
|
97
|
+
"pisell2.event.schedule.item.collapse": "See less"
|
|
106
98
|
},
|
|
107
99
|
"zh-CN": {
|
|
108
100
|
"pisell2.event.calendar.limit.unavailable": "不可预约",
|
|
@@ -175,15 +167,7 @@ var locales_default = {
|
|
|
175
167
|
"pisell2.event.capacity.limit.reached.title": "活动名额已满",
|
|
176
168
|
"pisell2.event.capacity.limit.reached.tip": "购物车中有一个或多个活动已达预约上限,请将已满额的活动从购物车中移除后再完成结算。",
|
|
177
169
|
"pisell2.event.schedule.item.expand": "查看更多",
|
|
178
|
-
"pisell2.event.schedule.item.collapse": "收起"
|
|
179
|
-
"pisell2.appointment.deposit": "定金",
|
|
180
|
-
"pisell2.appointment.deposit.agreed": "我已阅读并同意 ",
|
|
181
|
-
"pisell2.appointment.deposit.agree.policy": "您需要同意协议才能继续",
|
|
182
|
-
"pisell2.appointment.deposit.and": " 和 ",
|
|
183
|
-
"pisell2.appointment.deposit.amount.tip1": "请支付 ",
|
|
184
|
-
"pisell2.appointment.deposit.amount.tip2": " 定金。",
|
|
185
|
-
"pisell2.appointment.deposit.close": "关闭",
|
|
186
|
-
"pisell2.appointment.booking.empty.data": "暂无数据"
|
|
170
|
+
"pisell2.event.schedule.item.collapse": "收起"
|
|
187
171
|
},
|
|
188
172
|
"zh-HK": {
|
|
189
173
|
"pisell2.event.calendar.limit.unavailable": "不可預約",
|
|
@@ -256,14 +240,6 @@ var locales_default = {
|
|
|
256
240
|
"pisell2.event.capacity.limit.reached.title": "活動名額已滿",
|
|
257
241
|
"pisell2.event.capacity.limit.reached.tip": "購物車中有一個或多個活動已達預約上限,請將已滿額的活動從購物車中移除後再完成結算。",
|
|
258
242
|
"pisell2.event.schedule.item.expand": "查看更多",
|
|
259
|
-
"pisell2.event.schedule.item.collapse": "收起"
|
|
260
|
-
"pisell2.appointment.deposit": "定金",
|
|
261
|
-
"pisell2.appointment.deposit.agreed": "我已閱讀並同意 ",
|
|
262
|
-
"pisell2.appointment.deposit.agree.policy": "您需要同意協議才能繼續",
|
|
263
|
-
"pisell2.appointment.deposit.and": " 和 ",
|
|
264
|
-
"pisell2.appointment.deposit.amount.tip1": "請支付 ",
|
|
265
|
-
"pisell2.appointment.deposit.amount.tip2": " 定金。",
|
|
266
|
-
"pisell2.appointment.deposit.close": "关闭",
|
|
267
|
-
"pisell2.appointment.booking.empty.data": "暫無數據"
|
|
243
|
+
"pisell2.event.schedule.item.collapse": "收起"
|
|
268
244
|
}
|
|
269
245
|
};
|
|
@@ -15,6 +15,6 @@ import WorkspaceListDetail from './workSpaceListDetail/';
|
|
|
15
15
|
import WorkspaceList from './workSpaceList';
|
|
16
16
|
import PisellSelectCustomerModal from './pisellSelectCustomerModal';
|
|
17
17
|
import SubTotal from './subTotal';
|
|
18
|
-
import StepController from './stepController';
|
|
19
18
|
import EditBookingModal from './booking/editBookingModal';
|
|
20
|
-
|
|
19
|
+
import StepController from './stepController';
|
|
20
|
+
export { Login, BookingInfo, Booking, BookingNotes, BookingAddons, BookingForms, Schedules, ProductExtension, RuleSetting, TaxSelect, ToCPay, PisellSelectCustomerModal, Wallet, WalletList, WorkspaceList, WorkspaceListDetail, SubTotal, EditBookingModal, StepController };
|
package/lib/components/index.js
CHANGED
|
@@ -67,8 +67,8 @@ var import_workSpaceListDetail = __toESM(require("./workSpaceListDetail/"));
|
|
|
67
67
|
var import_workSpaceList = __toESM(require("./workSpaceList"));
|
|
68
68
|
var import_pisellSelectCustomerModal = __toESM(require("./pisellSelectCustomerModal"));
|
|
69
69
|
var import_subTotal = __toESM(require("./subTotal"));
|
|
70
|
-
var import_stepController = __toESM(require("./stepController"));
|
|
71
70
|
var import_editBookingModal = __toESM(require("./booking/editBookingModal"));
|
|
71
|
+
var import_stepController = __toESM(require("./stepController"));
|
|
72
72
|
// Annotate the CommonJS export names for ESM import in node:
|
|
73
73
|
0 && (module.exports = {
|
|
74
74
|
Booking,
|
|
@@ -65,7 +65,7 @@ var isOfflinePayment = (type) => {
|
|
|
65
65
|
].includes(type);
|
|
66
66
|
};
|
|
67
67
|
var PaymentMethods = (props, ref) => {
|
|
68
|
-
var _a
|
|
68
|
+
var _a;
|
|
69
69
|
const MWCreditCardRef2 = (0, import_react.useRef)(null);
|
|
70
70
|
const SuperPayAliPayH5Ref2 = (0, import_react.useRef)(null);
|
|
71
71
|
const StripePayRef2 = (0, import_react.useRef)(null);
|
|
@@ -83,9 +83,9 @@ var PaymentMethods = (props, ref) => {
|
|
|
83
83
|
const context = (0, import_useEngineContext.default)();
|
|
84
84
|
const { interaction } = (_a = context.appHelper) == null ? void 0 : _a.utils;
|
|
85
85
|
const init = async ({ type, payGroup }) => {
|
|
86
|
-
var _a2,
|
|
86
|
+
var _a2, _b;
|
|
87
87
|
const waitAmount = (payGroup == null ? void 0 : payGroup.wait_amount) || 0;
|
|
88
|
-
const cards = (
|
|
88
|
+
const cards = (_b = (_a2 = payGroup == null ? void 0 : payGroup.walletPass) == null ? void 0 : _a2.cards) == null ? void 0 : _b.length;
|
|
89
89
|
if (cards && (waitAmount <= 0 || isOfflinePayment(type))) {
|
|
90
90
|
try {
|
|
91
91
|
await (0, import_serve.walletPassPay)((0, import_utils.formatWalletPassParams)(payGroup));
|
|
@@ -115,11 +115,10 @@ var PaymentMethods = (props, ref) => {
|
|
|
115
115
|
}
|
|
116
116
|
await onPayByType({ type, payGroup });
|
|
117
117
|
};
|
|
118
|
-
console.log("paymentResult isAppEnv", (_c = (_b = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _b.isAppEnv) == null ? void 0 : _c.call(_b), interaction, context);
|
|
119
118
|
(0, import_react.useEffect)(() => {
|
|
120
|
-
var _a2,
|
|
121
|
-
console.log("paymentResult isAppEnv", (
|
|
122
|
-
if ((_d = (
|
|
119
|
+
var _a2, _b, _c, _d;
|
|
120
|
+
console.log("paymentResult isAppEnv", (_b = (_a2 = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _a2.isAppEnv) == null ? void 0 : _b.call(_a2));
|
|
121
|
+
if ((_d = (_c = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _c.isAppEnv) == null ? void 0 : _d.call(_c)) {
|
|
123
122
|
interaction.utils.mountFunction("global", "paymentResult", (strResult) => {
|
|
124
123
|
console.log("paymentResult", strResult);
|
|
125
124
|
if (!(0, import_utils2.isJson)(strResult)) return;
|
|
@@ -135,18 +134,18 @@ var PaymentMethods = (props, ref) => {
|
|
|
135
134
|
}
|
|
136
135
|
}, []);
|
|
137
136
|
const onPayByType = async ({ type, payGroup }) => {
|
|
138
|
-
var _a2,
|
|
137
|
+
var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
|
|
139
138
|
console.log(type, payGroup);
|
|
140
139
|
if (type === "mw.apple") {
|
|
141
140
|
await ((_a2 = ApplePayRef2.current) == null ? void 0 : _a2.init({ payGroup }));
|
|
142
141
|
return;
|
|
143
142
|
}
|
|
144
143
|
if (type === "mw.google") {
|
|
145
|
-
await ((
|
|
144
|
+
await ((_b = GooglePayRef2.current) == null ? void 0 : _b.init({ payGroup }));
|
|
146
145
|
return;
|
|
147
146
|
}
|
|
148
147
|
if (type === "mw.credit_card") {
|
|
149
|
-
(
|
|
148
|
+
(_c = MWCreditCardRef2.current) == null ? void 0 : _c.init({ payGroup });
|
|
150
149
|
return;
|
|
151
150
|
}
|
|
152
151
|
if (type === "superpay.alipay.h5") {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export interface FormState {
|
|
2
3
|
platform: 'pc' | 'h5' | '' | undefined;
|
|
3
4
|
order: any;
|
|
@@ -28,4 +29,11 @@ export interface PayGroup {
|
|
|
28
29
|
pay_number?: string;
|
|
29
30
|
_order: any;
|
|
30
31
|
}
|
|
31
|
-
export declare const Provider: any, Context:
|
|
32
|
+
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
33
|
+
state: FormState;
|
|
34
|
+
} & {
|
|
35
|
+
dispatch: (params: {
|
|
36
|
+
type: string;
|
|
37
|
+
payload: any;
|
|
38
|
+
}) => void;
|
|
39
|
+
}>;
|
|
@@ -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:
|
|
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
|
+
}>;
|