@pisell/private-materials 3.2.11 → 3.2.17
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 +8 -8
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +8 -8
- package/es/businessModel/SalesModel/index.d.ts +0 -1
- package/{lib/components/parallelResourcBooking/components/Provider → es/components/appointmentBooking/components}/Content/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Content/index.js +78 -0
- package/es/components/appointmentBooking/components/Content/index.less +51 -0
- package/es/components/appointmentBooking/components/Date/index.d.ts +3 -0
- package/es/components/appointmentBooking/components/Date/index.js +168 -0
- package/es/components/{parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate → appointmentBooking/components/Date}/index.less +27 -16
- package/{lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate → es/components/appointmentBooking/components/Date}/state.d.ts +0 -1
- package/es/components/{parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate → appointmentBooking/components/Date}/state.js +4 -42
- package/es/components/{parallelResourcBooking/components/Provider → appointmentBooking/components}/Footer/index.d.ts +0 -1
- package/es/components/{parallelResourcBooking/components/Provider → appointmentBooking/components}/Footer/index.js +20 -39
- package/es/components/{parallelResourcBooking/components/Provider → appointmentBooking/components}/Header/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Header/index.js +44 -0
- package/es/components/{parallelResourcBooking/components/Provider → appointmentBooking/components}/Information/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Information/index.js +178 -0
- package/{lib/components/parallelResourcBooking → es/components/appointmentBooking}/components/Provider/Cart/ContinueButton/index.d.ts +0 -1
- package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Cart/ContinueButton/index.js +75 -107
- package/{lib/components/parallelResourcBooking → es/components/appointmentBooking}/components/Provider/Cart/Item/Total.d.ts +0 -1
- package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Cart/Item/Total.js +18 -8
- package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Cart/Item/index.d.ts +0 -1
- package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Cart/Item/index.js +27 -22
- package/{lib/components/parallelResourcBooking → es/components/appointmentBooking}/components/Provider/Cart/index.d.ts +0 -1
- package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Content/index.d.ts +0 -1
- package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Content/index.js +7 -8
- package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/EmptyHolderModal/index.d.ts +0 -1
- package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Event/index.d.ts +0 -1
- package/{lib/components/parallelResourcBooking → es/components/appointmentBooking}/components/Provider/Information/index.d.ts +0 -1
- package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/InformationOptionsModal/index.d.ts +0 -1
- package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/OrderProductModal/index.d.ts +0 -1
- package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
- package/{lib/components/parallelResourcBooking → es/components/appointmentBooking}/components/Provider/Resource/index.d.ts +0 -1
- package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/SelectHolderModal.d.ts +0 -1
- package/es/components/{parallelResourcBooking/components/Provider → appointmentBooking/components}/Resource/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Resource/index.js +68 -0
- package/es/components/appointmentBooking/components/Resource/index.less +0 -0
- package/es/components/appointmentBooking/components/Services/index.d.ts +3 -0
- package/es/components/appointmentBooking/components/Services/index.js +205 -0
- package/es/components/appointmentBooking/components/Services/index.less +17 -0
- package/es/components/appointmentBooking/components/TimeSlicing/index.d.ts +3 -0
- package/es/components/appointmentBooking/components/TimeSlicing/index.js +780 -0
- package/es/components/appointmentBooking/components/TimeSlicing/index.less +23 -0
- package/es/components/appointmentBooking/hooks.d.ts +25 -0
- package/es/components/appointmentBooking/hooks.js +191 -0
- package/es/components/appointmentBooking/index.d.ts +3 -0
- package/es/components/appointmentBooking/index.js +25 -0
- package/{lib/components/parallelResourcBooking → es/components/appointmentBooking}/index.less +5 -4
- package/{lib/components/parallelResourcBooking → es/components/appointmentBooking}/locales.d.ts +3 -0
- package/es/components/{parallelResourcBooking → appointmentBooking}/locales.js +6 -3
- package/es/components/booking/components/TabProduct/index.d.ts +0 -1
- package/es/components/booking/components/footer/index.d.ts +0 -1
- package/es/components/booking/deposit/index.d.ts +0 -1
- package/es/components/booking/forms/single/index.d.ts +0 -1
- package/es/components/booking/info/addServiceVariant/index.d.ts +0 -1
- package/es/components/booking/info/header/index.d.ts +0 -1
- package/es/components/booking/info/index.d.ts +0 -1
- package/es/components/booking/info/service/addService/index.d.ts +0 -1
- package/es/components/booking/info/service/addTimeModal/index.d.ts +0 -1
- package/es/components/booking/info2/service/addService/index.d.ts +0 -1
- package/es/components/booking/info2/service/addTimeModal/index.d.ts +0 -1
- package/es/components/booking/materiels/contacts/index.d.ts +0 -1
- package/es/components/eftpos/form/index.d.ts +0 -1
- package/es/components/eftpos/hooks.d.ts +0 -1
- package/es/components/eftpos/index.d.ts +0 -1
- package/es/components/eftpos/pos.d.ts +0 -1
- package/es/components/eftpos/surcharge/index.d.ts +0 -1
- package/es/components/eftposPay/amount.d.ts +1 -1
- package/es/components/eftposPay/app.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/manual/index.d.ts +0 -1
- package/es/components/eftposPay/component/signature/index.d.ts +0 -1
- package/es/components/eftposPay/device.d.ts +1 -1
- package/es/components/eftposPay/hooks.d.ts +1 -1
- package/es/components/eftposPay/index.d.ts +0 -1
- package/es/components/eftposPay/pay.d.ts +0 -1
- package/es/components/eftposPay/store/index.d.ts +1 -1
- package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
- package/es/components/eventBooking/components/resourceDisplay/index.js +2 -2
- package/es/components/eventBooking/components/resourceDisplay/index.less +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
- package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
- package/es/components/eventBooking/index.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/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/pisellSelectCustomerModal/index.d.ts +0 -1
- package/es/components/productExtension/fields/Forms/index.d.ts +0 -1
- package/es/components/productExtension/index.d.ts +0 -1
- package/es/components/ruleSetting/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/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/index.d.ts +0 -1
- package/es/components/schedules/products/index.d.ts +0 -1
- package/es/components/schedules/resources/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/taxSelect/index.d.ts +0 -1
- package/es/components/wallet/hooks/useWalletCard.d.ts +0 -1
- package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
- package/es/hooks/useEngineContext.d.ts +1 -0
- package/es/hooks/useEngineContext.js +7 -0
- package/es/index.d.ts +1 -0
- package/es/index.js +2 -1
- package/lib/businessModel/SalesModel/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Content/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Content/index.js +94 -0
- package/lib/components/appointmentBooking/components/Content/index.less +51 -0
- package/lib/components/appointmentBooking/components/Date/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Date/index.js +141 -0
- package/lib/components/{parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate → appointmentBooking/components/Date}/index.less +27 -16
- package/{es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate → lib/components/appointmentBooking/components/Date}/state.d.ts +0 -1
- package/lib/components/{parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate → appointmentBooking/components/Date}/state.js +5 -8
- package/lib/components/{parallelResourcBooking/components/Provider → appointmentBooking/components}/Footer/index.d.ts +0 -1
- package/lib/components/{parallelResourcBooking/components/Provider → appointmentBooking/components}/Footer/index.js +15 -33
- package/lib/components/{parallelResourcBooking/components/Provider → appointmentBooking/components}/Header/index.d.ts +0 -1
- package/lib/components/{parallelResourcBooking/components/Provider → appointmentBooking/components}/Header/index.js +11 -31
- package/lib/components/appointmentBooking/components/Header/index.less +0 -0
- package/lib/components/appointmentBooking/components/Information/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Information/index.js +151 -0
- package/lib/components/appointmentBooking/components/Information/index.less +92 -0
- package/{es/components/parallelResourcBooking → lib/components/appointmentBooking}/components/Provider/Cart/ContinueButton/index.d.ts +0 -1
- package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Cart/ContinueButton/index.js +24 -65
- package/lib/components/appointmentBooking/components/Provider/Cart/ContinueButton/index.less +0 -0
- package/{es/components/parallelResourcBooking → lib/components/appointmentBooking}/components/Provider/Cart/Item/Total.d.ts +0 -1
- package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Cart/Item/Total.js +10 -13
- package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Cart/Item/index.d.ts +0 -1
- package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Cart/Item/index.js +18 -17
- package/{es/components/parallelResourcBooking → lib/components/appointmentBooking}/components/Provider/Cart/index.d.ts +0 -1
- package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Cart/index.js +1 -1
- package/lib/components/appointmentBooking/components/Provider/Content/index.d.ts +3 -0
- package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Content/index.js +6 -6
- package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/EmptyHolderModal/index.d.ts +0 -1
- package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/EmptyHolderModal/index.js +1 -1
- package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Event/index.d.ts +0 -1
- package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Event/index.js +1 -1
- package/lib/components/appointmentBooking/components/Provider/Information/index.d.ts +3 -0
- package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Information/index.js +1 -1
- package/lib/components/appointmentBooking/components/Provider/Information/index.less +92 -0
- package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/InformationOptionsModal/index.d.ts +0 -1
- package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/InformationOptionsModal/index.js +1 -1
- package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/OrderProductModal/index.d.ts +0 -1
- package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/OrderProductModal/index.js +1 -1
- package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
- package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/RemoveOptionConfirmModal.js +1 -1
- package/lib/components/appointmentBooking/components/Provider/Resource/index.d.ts +3 -0
- package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Resource/index.js +1 -1
- package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/SelectHolderModal.d.ts +0 -1
- package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/SelectHolderModal.js +1 -1
- package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/SelectProduct/index.js +1 -1
- package/lib/components/appointmentBooking/components/Resource/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Resource/index.js +99 -0
- package/lib/components/appointmentBooking/components/Resource/index.less +0 -0
- package/lib/components/appointmentBooking/components/Services/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Services/index.js +255 -0
- package/lib/components/appointmentBooking/components/Services/index.less +17 -0
- package/lib/components/appointmentBooking/components/TimeSlicing/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/TimeSlicing/index.js +990 -0
- package/lib/components/appointmentBooking/components/TimeSlicing/index.less +23 -0
- package/lib/components/appointmentBooking/hooks.d.ts +25 -0
- package/lib/components/appointmentBooking/hooks.js +154 -0
- package/lib/components/appointmentBooking/index.d.ts +3 -0
- package/lib/components/{parallelResourcBooking → appointmentBooking}/index.js +19 -32
- package/{es/components/parallelResourcBooking → lib/components/appointmentBooking}/index.less +5 -4
- package/{es/components/parallelResourcBooking → lib/components/appointmentBooking}/locales.d.ts +3 -0
- package/lib/components/{parallelResourcBooking → appointmentBooking}/locales.js +7 -4
- package/lib/components/{parallelResourcBooking → appointmentBooking}/mock.js +1 -1
- package/lib/components/{parallelResourcBooking → appointmentBooking}/status.js +1 -1
- package/lib/components/{parallelResourcBooking → appointmentBooking}/type.js +1 -1
- package/lib/components/{parallelResourcBooking → appointmentBooking}/utils.js +1 -1
- package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
- package/lib/components/booking/components/footer/index.d.ts +0 -1
- package/lib/components/booking/deposit/index.d.ts +0 -1
- package/lib/components/booking/forms/single/index.d.ts +0 -1
- package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -1
- package/lib/components/booking/info/header/index.d.ts +0 -1
- package/lib/components/booking/info/index.d.ts +0 -1
- package/lib/components/booking/info/service/addService/index.d.ts +0 -1
- package/lib/components/booking/info/service/addTimeModal/index.d.ts +0 -1
- package/lib/components/booking/info2/service/addService/index.d.ts +0 -1
- package/lib/components/booking/info2/service/addTimeModal/index.d.ts +0 -1
- package/lib/components/booking/materiels/contacts/index.d.ts +0 -1
- package/lib/components/eftpos/form/index.d.ts +0 -1
- package/lib/components/eftpos/hooks.d.ts +0 -1
- package/lib/components/eftpos/index.d.ts +0 -1
- package/lib/components/eftpos/pos.d.ts +0 -1
- package/lib/components/eftpos/surcharge/index.d.ts +0 -1
- package/lib/components/eftposPay/amount.d.ts +1 -1
- package/lib/components/eftposPay/app.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/manual/index.d.ts +0 -1
- package/lib/components/eftposPay/component/signature/index.d.ts +0 -1
- package/lib/components/eftposPay/device.d.ts +1 -1
- package/lib/components/eftposPay/hooks.d.ts +1 -1
- package/lib/components/eftposPay/index.d.ts +0 -1
- package/lib/components/eftposPay/pay.d.ts +0 -1
- package/lib/components/eftposPay/store/index.d.ts +1 -1
- package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
- package/lib/components/eventBooking/components/resourceDisplay/index.js +2 -2
- package/lib/components/eventBooking/components/resourceDisplay/index.less +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
- package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
- package/lib/components/eventBooking/index.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/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/pisellSelectCustomerModal/index.d.ts +0 -1
- package/lib/components/productExtension/fields/Forms/index.d.ts +0 -1
- package/lib/components/productExtension/index.d.ts +0 -1
- package/lib/components/ruleSetting/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/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/index.d.ts +0 -1
- package/lib/components/schedules/products/index.d.ts +0 -1
- package/lib/components/schedules/resources/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/taxSelect/index.d.ts +0 -1
- package/lib/components/wallet/hooks/useWalletCard.d.ts +0 -1
- package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
- package/lib/hooks/useEngineContext.d.ts +1 -0
- package/lib/hooks/useEngineContext.js +14 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +3 -0
- package/lowcode/parallel-resource-booking/meta.ts +69 -0
- package/package.json +2 -2
- package/es/components/parallelResourcBooking/components/ErrorTip/index.d.ts +0 -4
- package/es/components/parallelResourcBooking/components/ErrorTip/index.js +0 -14
- package/es/components/parallelResourcBooking/components/ErrorTip/index.less +0 -51
- package/es/components/parallelResourcBooking/components/OpenCard/index.d.ts +0 -4
- package/es/components/parallelResourcBooking/components/OpenCard/index.js +0 -65
- package/es/components/parallelResourcBooking/components/OpenCard/index.less +0 -52
- package/es/components/parallelResourcBooking/components/Provider/Header/index.js +0 -75
- package/es/components/parallelResourcBooking/components/Provider/Header/index.less +0 -2
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -4
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.js +0 -26
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.less +0 -25
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -11
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.js +0 -65
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.less +0 -32
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -4
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.js +0 -69
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.less +0 -12
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -13
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.js +0 -152
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.less +0 -35
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -4
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.js +0 -20
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.less +0 -28
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -5
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.js +0 -38
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.less +0 -87
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -4
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.js +0 -28
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.less +0 -25
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.d.ts +0 -4
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.js +0 -269
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.d.ts +0 -4
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.js +0 -173
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.less +0 -4
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/index.d.ts +0 -14
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/index.js +0 -36
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/index.less +0 -2
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/utils.d.ts +0 -34
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/utils.js +0 -70
- package/es/components/parallelResourcBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -3
- package/es/components/parallelResourcBooking/components/bookingDetailModal/components/BookingOptions.js +0 -38
- package/es/components/parallelResourcBooking/components/bookingDetailModal/components/Resource.d.ts +0 -3
- package/es/components/parallelResourcBooking/components/bookingDetailModal/components/Resource.js +0 -33
- package/es/components/parallelResourcBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -3
- package/es/components/parallelResourcBooking/components/bookingDetailModal/components/Schedule.js +0 -30
- package/es/components/parallelResourcBooking/components/bookingDetailModal/index.d.ts +0 -7
- package/es/components/parallelResourcBooking/components/bookingDetailModal/index.js +0 -337
- package/es/components/parallelResourcBooking/components/bookingDetailModal/index.less +0 -82
- package/es/components/parallelResourcBooking/components/bookingServiceList/index.d.ts +0 -17
- package/es/components/parallelResourcBooking/components/bookingServiceList/index.js +0 -52
- package/es/components/parallelResourcBooking/components/bookingServiceList/index.less +0 -6
- package/es/components/parallelResourcBooking/components/eventCard/index.d.ts +0 -14
- package/es/components/parallelResourcBooking/components/eventCard/index.js +0 -116
- package/es/components/parallelResourcBooking/components/eventCard/index.less +0 -81
- package/es/components/parallelResourcBooking/components/productCard/index.d.ts +0 -16
- package/es/components/parallelResourcBooking/components/productCard/index.js +0 -79
- package/es/components/parallelResourcBooking/components/productCard/index.less +0 -60
- package/es/components/parallelResourcBooking/components/progressBar/index.d.ts +0 -16
- package/es/components/parallelResourcBooking/components/progressBar/index.js +0 -93
- package/es/components/parallelResourcBooking/components/progressBar/index.less +0 -15
- package/es/components/parallelResourcBooking/components/resourceDisplay/index.d.ts +0 -23
- package/es/components/parallelResourcBooking/components/resourceDisplay/index.js +0 -148
- package/es/components/parallelResourcBooking/components/resourceDisplay/index.less +0 -95
- package/es/components/parallelResourcBooking/components/resourceUsability/index.d.ts +0 -12
- package/es/components/parallelResourcBooking/components/resourceUsability/index.js +0 -44
- package/es/components/parallelResourcBooking/components/resourceUsability/index.less +0 -40
- package/es/components/parallelResourcBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -10
- package/es/components/parallelResourcBooking/components/scheduleCalendar/ProductItem/index.js +0 -37
- package/es/components/parallelResourcBooking/components/scheduleCalendar/ProductItem/index.less +0 -58
- package/es/components/parallelResourcBooking/components/scheduleCalendar/calendarItem.d.ts +0 -12
- package/es/components/parallelResourcBooking/components/scheduleCalendar/calendarItem.js +0 -127
- package/es/components/parallelResourcBooking/components/scheduleCalendar/index.d.ts +0 -13
- package/es/components/parallelResourcBooking/components/scheduleCalendar/index.js +0 -142
- package/es/components/parallelResourcBooking/components/scheduleCalendar/index.less +0 -222
- package/es/components/parallelResourcBooking/components/selectHolder/index.d.ts +0 -22
- package/es/components/parallelResourcBooking/components/selectHolder/index.js +0 -118
- package/es/components/parallelResourcBooking/components/selectHolder/index.less +0 -70
- package/es/components/parallelResourcBooking/components/timeResourceSelector/index.d.ts +0 -20
- package/es/components/parallelResourcBooking/components/timeResourceSelector/index.js +0 -168
- package/es/components/parallelResourcBooking/components/timeResourceSelector/index.less +0 -74
- package/es/components/parallelResourcBooking/index.d.ts +0 -4
- package/es/components/parallelResourcBooking/index.js +0 -58
- package/lib/components/parallelResourcBooking/components/ErrorTip/index.d.ts +0 -4
- package/lib/components/parallelResourcBooking/components/ErrorTip/index.js +0 -30
- package/lib/components/parallelResourcBooking/components/ErrorTip/index.less +0 -51
- package/lib/components/parallelResourcBooking/components/OpenCard/index.d.ts +0 -4
- package/lib/components/parallelResourcBooking/components/OpenCard/index.js +0 -90
- package/lib/components/parallelResourcBooking/components/OpenCard/index.less +0 -52
- package/lib/components/parallelResourcBooking/components/Provider/Header/index.less +0 -2
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -4
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.js +0 -55
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.less +0 -25
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -11
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.js +0 -78
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.less +0 -32
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -4
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.js +0 -86
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.less +0 -12
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -13
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.js +0 -121
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.less +0 -35
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -4
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.js +0 -37
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.less +0 -28
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -5
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.js +0 -58
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.less +0 -87
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -4
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.js +0 -55
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.less +0 -25
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.d.ts +0 -4
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.js +0 -196
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.d.ts +0 -4
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.js +0 -122
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.less +0 -4
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/index.d.ts +0 -14
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/index.js +0 -70
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/index.less +0 -2
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/utils.d.ts +0 -34
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/utils.js +0 -70
- package/lib/components/parallelResourcBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -3
- package/lib/components/parallelResourcBooking/components/bookingDetailModal/components/BookingOptions.js +0 -75
- package/lib/components/parallelResourcBooking/components/bookingDetailModal/components/Resource.d.ts +0 -3
- package/lib/components/parallelResourcBooking/components/bookingDetailModal/components/Resource.js +0 -66
- package/lib/components/parallelResourcBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -3
- package/lib/components/parallelResourcBooking/components/bookingDetailModal/components/Schedule.js +0 -69
- package/lib/components/parallelResourcBooking/components/bookingDetailModal/index.d.ts +0 -7
- package/lib/components/parallelResourcBooking/components/bookingDetailModal/index.js +0 -248
- package/lib/components/parallelResourcBooking/components/bookingDetailModal/index.less +0 -82
- package/lib/components/parallelResourcBooking/components/bookingServiceList/index.d.ts +0 -17
- package/lib/components/parallelResourcBooking/components/bookingServiceList/index.js +0 -79
- package/lib/components/parallelResourcBooking/components/bookingServiceList/index.less +0 -6
- package/lib/components/parallelResourcBooking/components/eventCard/index.d.ts +0 -14
- package/lib/components/parallelResourcBooking/components/eventCard/index.js +0 -124
- package/lib/components/parallelResourcBooking/components/eventCard/index.less +0 -81
- package/lib/components/parallelResourcBooking/components/productCard/index.d.ts +0 -16
- package/lib/components/parallelResourcBooking/components/productCard/index.js +0 -77
- package/lib/components/parallelResourcBooking/components/productCard/index.less +0 -60
- package/lib/components/parallelResourcBooking/components/progressBar/index.d.ts +0 -16
- package/lib/components/parallelResourcBooking/components/progressBar/index.js +0 -100
- package/lib/components/parallelResourcBooking/components/progressBar/index.less +0 -15
- package/lib/components/parallelResourcBooking/components/resourceDisplay/index.d.ts +0 -23
- package/lib/components/parallelResourcBooking/components/resourceDisplay/index.js +0 -116
- package/lib/components/parallelResourcBooking/components/resourceDisplay/index.less +0 -95
- package/lib/components/parallelResourcBooking/components/resourceUsability/index.d.ts +0 -12
- package/lib/components/parallelResourcBooking/components/resourceUsability/index.js +0 -76
- package/lib/components/parallelResourcBooking/components/resourceUsability/index.less +0 -40
- package/lib/components/parallelResourcBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -10
- package/lib/components/parallelResourcBooking/components/scheduleCalendar/ProductItem/index.js +0 -73
- package/lib/components/parallelResourcBooking/components/scheduleCalendar/ProductItem/index.less +0 -58
- package/lib/components/parallelResourcBooking/components/scheduleCalendar/calendarItem.d.ts +0 -12
- package/lib/components/parallelResourcBooking/components/scheduleCalendar/calendarItem.js +0 -135
- package/lib/components/parallelResourcBooking/components/scheduleCalendar/index.d.ts +0 -13
- package/lib/components/parallelResourcBooking/components/scheduleCalendar/index.js +0 -125
- package/lib/components/parallelResourcBooking/components/scheduleCalendar/index.less +0 -222
- package/lib/components/parallelResourcBooking/components/selectHolder/index.d.ts +0 -22
- package/lib/components/parallelResourcBooking/components/selectHolder/index.js +0 -106
- package/lib/components/parallelResourcBooking/components/selectHolder/index.less +0 -70
- package/lib/components/parallelResourcBooking/components/timeResourceSelector/index.d.ts +0 -20
- package/lib/components/parallelResourcBooking/components/timeResourceSelector/index.js +0 -146
- package/lib/components/parallelResourcBooking/components/timeResourceSelector/index.less +0 -74
- package/lib/components/parallelResourcBooking/index.d.ts +0 -4
- /package/es/components/{parallelResourcBooking → appointmentBooking}/assets/alert-circle.png +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/assets/calendar-heart.svg +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/assets/compass.svg +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/assets/image.svg +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/assets/phone.svg +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/assets/shopping-cart.svg +0 -0
- /package/es/components/{parallelResourcBooking/components/Provider → appointmentBooking/components}/Footer/index.less +0 -0
- /package/es/components/{parallelResourcBooking/components/Provider/Cart/ContinueButton → appointmentBooking/components/Header}/index.less +0 -0
- /package/es/components/{parallelResourcBooking/components/Provider → appointmentBooking/components}/Information/index.less +0 -0
- /package/{lib/components/parallelResourcBooking → es/components/appointmentBooking}/components/Provider/Cart/ContinueButton/index.less +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Cart/Item/index.less +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Cart/index.js +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Cart/index.less +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Content/index.less +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/EmptyHolderModal/index.js +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/EmptyHolderModal/index.less +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Event/index.js +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Event/index.less +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Information/index.js +0 -0
- /package/{lib/components/parallelResourcBooking → es/components/appointmentBooking}/components/Provider/Information/index.less +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/InformationOptionsModal/index.js +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/InformationOptionsModal/index.less +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/OrderProductModal/index.js +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/OrderProductModal/index.less +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/RemoveOptionConfirmModal.js +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Resource/index.js +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Resource/index.less +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/SelectHolderModal.js +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/SelectProduct/index.d.ts +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/SelectProduct/index.js +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/SelectProduct/index.less +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/mock.d.ts +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/mock.js +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/status.d.ts +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/status.js +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/type.d.ts +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/type.js +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/utils.d.ts +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/utils.js +0 -0
- /package/lib/components/{parallelResourcBooking → appointmentBooking}/assets/alert-circle.png +0 -0
- /package/lib/components/{parallelResourcBooking → appointmentBooking}/assets/calendar-heart.svg +0 -0
- /package/lib/components/{parallelResourcBooking → appointmentBooking}/assets/compass.svg +0 -0
- /package/lib/components/{parallelResourcBooking → appointmentBooking}/assets/image.svg +0 -0
- /package/lib/components/{parallelResourcBooking → appointmentBooking}/assets/phone.svg +0 -0
- /package/lib/components/{parallelResourcBooking → appointmentBooking}/assets/shopping-cart.svg +0 -0
- /package/lib/components/{parallelResourcBooking/components/Provider → appointmentBooking/components}/Footer/index.less +0 -0
- /package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Cart/Item/index.less +0 -0
- /package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Cart/index.less +0 -0
- /package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Content/index.less +0 -0
- /package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/EmptyHolderModal/index.less +0 -0
- /package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Event/index.less +0 -0
- /package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/InformationOptionsModal/index.less +0 -0
- /package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/OrderProductModal/index.less +0 -0
- /package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Resource/index.less +0 -0
- /package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/SelectProduct/index.d.ts +0 -0
- /package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/SelectProduct/index.less +0 -0
- /package/lib/components/{parallelResourcBooking → appointmentBooking}/mock.d.ts +0 -0
- /package/lib/components/{parallelResourcBooking → appointmentBooking}/status.d.ts +0 -0
- /package/lib/components/{parallelResourcBooking → appointmentBooking}/type.d.ts +0 -0
- /package/lib/components/{parallelResourcBooking → appointmentBooking}/utils.d.ts +0 -0
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
2
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
3
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
4
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
5
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
6
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
7
|
+
import React, { useState } from 'react';
|
|
8
|
+
import { Dropdown } from 'antd';
|
|
9
|
+
import { Button, Iconfont, PisellCard, PisellAvatar } from '@pisell/materials';
|
|
10
|
+
import { locales, isMobile } from '@pisell/utils';
|
|
11
|
+
import { useCart, useHolder, useStep } from "../../../Sales";
|
|
12
|
+
import SelectHolderModal from "../Provider/SelectHolderModal";
|
|
13
|
+
import InformationOptionsModal from "../Provider/InformationOptionsModal/index";
|
|
14
|
+
import RemoveOptionConfirmModal from "../Provider/RemoveOptionConfirmModal";
|
|
15
|
+
import "./index.less";
|
|
16
|
+
var Information = function Information() {
|
|
17
|
+
var _useHolder = useHolder(),
|
|
18
|
+
onHolderOpen = _useHolder.onHolderOpen,
|
|
19
|
+
open = _useHolder.open;
|
|
20
|
+
var _useCart = useCart(),
|
|
21
|
+
cartDataHolderList = _useCart.cartDataHolderList;
|
|
22
|
+
var _useHolder2 = useHolder(),
|
|
23
|
+
selectHolder = _useHolder2.selectHolder,
|
|
24
|
+
deleteHolderById = _useHolder2.deleteHolderById;
|
|
25
|
+
var _useStep = useStep(),
|
|
26
|
+
prevStep = _useStep.prevStep;
|
|
27
|
+
var _useState = useState(false),
|
|
28
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
29
|
+
openOption = _useState2[0],
|
|
30
|
+
setOpenOption = _useState2[1];
|
|
31
|
+
// 编辑哪个holder
|
|
32
|
+
var _useState3 = useState(null),
|
|
33
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
34
|
+
holderItem = _useState4[0],
|
|
35
|
+
setHolderItem = _useState4[1];
|
|
36
|
+
// 移除确认
|
|
37
|
+
var _useState5 = useState(false),
|
|
38
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
39
|
+
removeOpen = _useState6[0],
|
|
40
|
+
setRemoveOpen = _useState6[1];
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* @title: 选项
|
|
44
|
+
* @description:
|
|
45
|
+
* @return {*}
|
|
46
|
+
* @Author: WangHan
|
|
47
|
+
* @Date: 2025-01-19 10:44
|
|
48
|
+
*/
|
|
49
|
+
var options = [{
|
|
50
|
+
key: 'edit',
|
|
51
|
+
label: /*#__PURE__*/React.createElement("span", {
|
|
52
|
+
className: "dropdown-menu-item"
|
|
53
|
+
}, locales.getText('pisell2.event.edit.event'))
|
|
54
|
+
}, {
|
|
55
|
+
key: 'remove',
|
|
56
|
+
label: /*#__PURE__*/React.createElement("span", {
|
|
57
|
+
className: 'dropdown-menu-item dropdown-menu-remove-item'
|
|
58
|
+
}, locales.getText('pisell2.event.remove'))
|
|
59
|
+
}];
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @title: 点击item触发
|
|
63
|
+
* @description:
|
|
64
|
+
* @param {string} key
|
|
65
|
+
* @return {*}
|
|
66
|
+
* @Author: WangHan
|
|
67
|
+
* @Date: 2025-01-18 16:14
|
|
68
|
+
*/
|
|
69
|
+
var handleClick = function handleClick(_ref, item) {
|
|
70
|
+
var key = _ref.key;
|
|
71
|
+
// 编辑holder
|
|
72
|
+
if (key === 'edit') {
|
|
73
|
+
selectHolder(item || holderItem, 'createCartItem');
|
|
74
|
+
prevStep();
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
// 移除holder
|
|
79
|
+
setRemoveOpen(true);
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* @title: 渲染options
|
|
84
|
+
* @description:
|
|
85
|
+
* @param {any} item
|
|
86
|
+
* @return {*}
|
|
87
|
+
* @Author: WangHan
|
|
88
|
+
* @Date: 2025-01-19 11:44
|
|
89
|
+
*/
|
|
90
|
+
var renderOptionButton = function renderOptionButton(item) {
|
|
91
|
+
if (isMobile()) {
|
|
92
|
+
return /*#__PURE__*/React.createElement(Button, {
|
|
93
|
+
size: "large",
|
|
94
|
+
onClick: function onClick() {
|
|
95
|
+
setHolderItem(item);
|
|
96
|
+
setOpenOption(true);
|
|
97
|
+
}
|
|
98
|
+
}, locales.getText('pisell2.event.option'));
|
|
99
|
+
}
|
|
100
|
+
return /*#__PURE__*/React.createElement(Dropdown, {
|
|
101
|
+
menu: {
|
|
102
|
+
items: options,
|
|
103
|
+
onClick: function onClick(e) {
|
|
104
|
+
setHolderItem(item);
|
|
105
|
+
handleClick(e, item);
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
placement: "bottomRight",
|
|
109
|
+
overlayClassName: "provider-information-custom-dropdown-menu"
|
|
110
|
+
}, /*#__PURE__*/React.createElement(Button, null, locales.getText('pisell2.event.option')));
|
|
111
|
+
};
|
|
112
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
113
|
+
className: "provider-information-wrap"
|
|
114
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
115
|
+
className: "title"
|
|
116
|
+
}, locales.getText('pisell2.event.confirm.information.tip')), cartDataHolderList === null || cartDataHolderList === void 0 ? void 0 : cartDataHolderList.map(function (item) {
|
|
117
|
+
var _item$children;
|
|
118
|
+
return /*#__PURE__*/React.createElement(PisellCard, {
|
|
119
|
+
key: item.id,
|
|
120
|
+
padding: 20,
|
|
121
|
+
className: "information-card",
|
|
122
|
+
isClickable: false
|
|
123
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
124
|
+
className: "information-header"
|
|
125
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
126
|
+
className: "information-left"
|
|
127
|
+
}, /*#__PURE__*/React.createElement(PisellAvatar, {
|
|
128
|
+
src: item.avatar,
|
|
129
|
+
size: "md"
|
|
130
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
131
|
+
className: "information-title"
|
|
132
|
+
}, /*#__PURE__*/React.createElement("span", null, item.name), /*#__PURE__*/React.createElement("span", {
|
|
133
|
+
className: "subtitle"
|
|
134
|
+
}, "".concat(locales.getText('pisell2.event.title')((_item$children = item.children) === null || _item$children === void 0 ? void 0 : _item$children.length))))), renderOptionButton(item)), item.children.map(function (child) {
|
|
135
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
136
|
+
className: "child-wrap"
|
|
137
|
+
}, child.name);
|
|
138
|
+
}));
|
|
139
|
+
}), /*#__PURE__*/React.createElement("span", {
|
|
140
|
+
className: "add-tip"
|
|
141
|
+
}, locales.getText('pisell2.event.confirm.information.other')), /*#__PURE__*/React.createElement(Button, {
|
|
142
|
+
size: "large",
|
|
143
|
+
style: {
|
|
144
|
+
width: 'max-content'
|
|
145
|
+
},
|
|
146
|
+
onClick: function onClick() {
|
|
147
|
+
onHolderOpen();
|
|
148
|
+
},
|
|
149
|
+
className: "provider-information-add-button"
|
|
150
|
+
}, /*#__PURE__*/React.createElement(Iconfont, {
|
|
151
|
+
type: "pisell2-plus",
|
|
152
|
+
style: {
|
|
153
|
+
fontSize: '20px'
|
|
154
|
+
}
|
|
155
|
+
}), locales.getText('pisell2.event.add.others'))), /*#__PURE__*/React.createElement(SelectHolderModal, {
|
|
156
|
+
open: open,
|
|
157
|
+
type: "create"
|
|
158
|
+
}), /*#__PURE__*/React.createElement(InformationOptionsModal, {
|
|
159
|
+
options: options,
|
|
160
|
+
open: openOption,
|
|
161
|
+
holderItem: holderItem,
|
|
162
|
+
onCancel: function onCancel() {
|
|
163
|
+
return setOpenOption(false);
|
|
164
|
+
},
|
|
165
|
+
onClick: handleClick
|
|
166
|
+
}), /*#__PURE__*/React.createElement(RemoveOptionConfirmModal, {
|
|
167
|
+
removeOpen: removeOpen,
|
|
168
|
+
onCancel: function onCancel() {
|
|
169
|
+
return setRemoveOpen(false);
|
|
170
|
+
},
|
|
171
|
+
onOk: function onOk() {
|
|
172
|
+
deleteHolderById(holderItem.id);
|
|
173
|
+
setRemoveOpen(false);
|
|
174
|
+
setOpenOption(false);
|
|
175
|
+
}
|
|
176
|
+
}));
|
|
177
|
+
};
|
|
178
|
+
export default Information;
|
|
@@ -11,34 +11,41 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
|
11
11
|
import React, { useMemo, useState } from 'react';
|
|
12
12
|
import { locales } from '@pisell/utils';
|
|
13
13
|
import { Button, PisellToast } from '@pisell/materials';
|
|
14
|
-
import {
|
|
14
|
+
// import {
|
|
15
|
+
// useCart,
|
|
16
|
+
// useHolder,
|
|
17
|
+
// useStep,
|
|
18
|
+
// useCheckout,
|
|
19
|
+
// useSales,
|
|
20
|
+
// useCustomer,
|
|
21
|
+
// } from '../../../../../Sales';
|
|
15
22
|
import { formatValues } from "../../../../../Sales/Checkout/utils";
|
|
16
|
-
import
|
|
17
|
-
import
|
|
23
|
+
import useEngineContext from "../../../../../../hooks/useEngineContext";
|
|
24
|
+
import { useAppointmentBooking, useAppointmentBookingStep, useAppointmentBookingLogin } from "../../../../hooks";
|
|
18
25
|
import "./index.less";
|
|
19
26
|
var ContinueButton = function ContinueButton() {
|
|
20
27
|
var _cartData$cartItems;
|
|
21
|
-
var
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
var
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
var
|
|
40
|
-
|
|
41
|
-
|
|
28
|
+
var context = useEngineContext();
|
|
29
|
+
// const { data } = useSales();
|
|
30
|
+
// const { onHolderOpen } = useHolder();
|
|
31
|
+
// const { checkHolder, onCloseCart, cartData, getWithoutCartItemsHolderNames } =
|
|
32
|
+
// useCart();
|
|
33
|
+
// const { currentStepData, nextStep, isLastStep } = useStep();
|
|
34
|
+
// const {
|
|
35
|
+
// onCheckout,
|
|
36
|
+
// createBooking,
|
|
37
|
+
// onCheckBeforeBooking,
|
|
38
|
+
// checkBeforeBooking,
|
|
39
|
+
// } = useCheckout();
|
|
40
|
+
// const { openLoginModal, isLogin } = useCustomer();
|
|
41
|
+
var utils = context.appHelper.utils || {};
|
|
42
|
+
var appointmentBooking = useAppointmentBooking();
|
|
43
|
+
var _useAppointmentBookin = useAppointmentBookingLogin(),
|
|
44
|
+
isLogin = _useAppointmentBookin.isLogin,
|
|
45
|
+
openLoginModal = _useAppointmentBookin.openLoginModal;
|
|
46
|
+
var _useAppointmentBookin2 = useAppointmentBookingStep(),
|
|
47
|
+
currentStep = _useAppointmentBookin2.currentStep,
|
|
48
|
+
isLastStep = _useAppointmentBookin2.isLastStep;
|
|
42
49
|
|
|
43
50
|
// 下单之前是否检测失败
|
|
44
51
|
var _useState = useState(false),
|
|
@@ -54,8 +61,19 @@ var ContinueButton = function ContinueButton() {
|
|
|
54
61
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
55
62
|
openEmptyHolder = _useState6[0],
|
|
56
63
|
setOpenEmptyHolder = _useState6[1];
|
|
57
|
-
|
|
58
|
-
|
|
64
|
+
// const { removeSessionStorage } = useSales();
|
|
65
|
+
|
|
66
|
+
var data = {};
|
|
67
|
+
var currentStepData = {
|
|
68
|
+
key: 'select-event'
|
|
69
|
+
};
|
|
70
|
+
var createBooking = {
|
|
71
|
+
loading: false
|
|
72
|
+
};
|
|
73
|
+
var checkBeforeBooking = {
|
|
74
|
+
loading: false
|
|
75
|
+
};
|
|
76
|
+
var cartData = {};
|
|
59
77
|
|
|
60
78
|
/**
|
|
61
79
|
* @title: 下单
|
|
@@ -71,19 +89,18 @@ var ContinueButton = function ContinueButton() {
|
|
|
71
89
|
while (1) switch (_context.prev = _context.next) {
|
|
72
90
|
case 0:
|
|
73
91
|
value = formatValues(data); // 如果检测成功,则直接下单
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
// 清空数据
|
|
92
|
+
// const result = await onCheckout(value);
|
|
93
|
+
result = {
|
|
94
|
+
success: true
|
|
95
|
+
}; // 清空数据
|
|
79
96
|
if (result !== null && result !== void 0 && result.success) {
|
|
80
|
-
removeSessionStorage();
|
|
97
|
+
// removeSessionStorage();
|
|
81
98
|
} else {
|
|
82
99
|
PisellToast({
|
|
83
100
|
content: (result === null || result === void 0 || (_result$err = result.err) === null || _result$err === void 0 ? void 0 : _result$err.message) || ''
|
|
84
101
|
});
|
|
85
102
|
}
|
|
86
|
-
case
|
|
103
|
+
case 3:
|
|
87
104
|
case "end":
|
|
88
105
|
return _context.stop();
|
|
89
106
|
}
|
|
@@ -106,18 +123,14 @@ var ContinueButton = function ContinueButton() {
|
|
|
106
123
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
107
124
|
while (1) switch (_context2.prev = _context2.next) {
|
|
108
125
|
case 0:
|
|
109
|
-
onCloseCart();
|
|
110
|
-
setOpenEmptyHolder(false);
|
|
111
|
-
|
|
112
|
-
// 如果当前是确认信息页面,则到结算页面
|
|
113
126
|
if (!isLastStep) {
|
|
114
|
-
_context2.next =
|
|
127
|
+
_context2.next = 2;
|
|
115
128
|
break;
|
|
116
129
|
}
|
|
117
130
|
return _context2.abrupt("return", handleCheckout());
|
|
118
|
-
case
|
|
119
|
-
|
|
120
|
-
case
|
|
131
|
+
case 2:
|
|
132
|
+
return _context2.abrupt("return", appointmentBooking.next());
|
|
133
|
+
case 3:
|
|
121
134
|
case "end":
|
|
122
135
|
return _context2.stop();
|
|
123
136
|
}
|
|
@@ -136,19 +149,18 @@ var ContinueButton = function ContinueButton() {
|
|
|
136
149
|
* @Date: 2025-02-08 14:00
|
|
137
150
|
*/
|
|
138
151
|
var handleHolder = function handleHolder() {
|
|
139
|
-
|
|
140
|
-
// 如果没有绑定holder,则打开绑定holder弹窗
|
|
141
|
-
if (!isHolder) {
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
//
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
handleNextStep();
|
|
152
|
+
// const isHolder = checkHolder();
|
|
153
|
+
// // 如果没有绑定holder,则打开绑定holder弹窗
|
|
154
|
+
// if (!isHolder) {
|
|
155
|
+
// onHolderOpen();
|
|
156
|
+
// return;
|
|
157
|
+
// }
|
|
158
|
+
// // 验证holder是否为空
|
|
159
|
+
// const emptyHolders = getWithoutCartItemsHolderNames();
|
|
160
|
+
// if (emptyHolders?.length > 0) {
|
|
161
|
+
// return setOpenEmptyHolder(true);
|
|
162
|
+
// }
|
|
163
|
+
// handleNextStep();
|
|
152
164
|
};
|
|
153
165
|
|
|
154
166
|
/**
|
|
@@ -160,54 +172,25 @@ var ContinueButton = function ContinueButton() {
|
|
|
160
172
|
*/
|
|
161
173
|
var handleContinue = /*#__PURE__*/function () {
|
|
162
174
|
var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
|
|
163
|
-
var value, checkRes, emptyHolders;
|
|
164
175
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
165
176
|
while (1) switch (_context3.prev = _context3.next) {
|
|
166
177
|
case 0:
|
|
167
|
-
if (
|
|
168
|
-
_context3.next =
|
|
169
|
-
break;
|
|
170
|
-
}
|
|
171
|
-
value = formatValues(data); // 检测商品是否可以下单
|
|
172
|
-
_context3.next = 4;
|
|
173
|
-
return onCheckBeforeBooking(value);
|
|
174
|
-
case 4:
|
|
175
|
-
checkRes = _context3.sent;
|
|
176
|
-
if (!((checkRes === null || checkRes === void 0 ? void 0 : checkRes.result) === false)) {
|
|
177
|
-
_context3.next = 9;
|
|
178
|
+
if (isLogin) {
|
|
179
|
+
_context3.next = 2;
|
|
178
180
|
break;
|
|
179
181
|
}
|
|
180
|
-
setCheckedNumber(checkRes === null || checkRes === void 0 ? void 0 : checkRes.num);
|
|
181
|
-
setOpenCheckout(true);
|
|
182
|
-
return _context3.abrupt("return");
|
|
183
|
-
case 9:
|
|
184
|
-
// 验证holder是否为空
|
|
185
|
-
emptyHolders = getWithoutCartItemsHolderNames();
|
|
186
|
-
if (!((emptyHolders === null || emptyHolders === void 0 ? void 0 : emptyHolders.length) > 0)) {
|
|
187
|
-
_context3.next = 12;
|
|
188
|
-
break;
|
|
189
|
-
}
|
|
190
|
-
return _context3.abrupt("return", setOpenEmptyHolder(true));
|
|
191
|
-
case 12:
|
|
192
|
-
// 关闭购物车弹窗
|
|
193
|
-
onCloseCart();
|
|
194
|
-
return _context3.abrupt("return", handleCheckout());
|
|
195
|
-
case 14:
|
|
196
|
-
if (isLogin()) {
|
|
197
|
-
_context3.next = 17;
|
|
198
|
-
break;
|
|
199
|
-
}
|
|
200
|
-
onCloseCart();
|
|
201
182
|
return _context3.abrupt("return", openLoginModal({
|
|
202
183
|
callback: function callback(status) {
|
|
203
184
|
if (status === 'success') {
|
|
204
|
-
handleHolder();
|
|
185
|
+
// handleHolder();
|
|
186
|
+
handleNextStep();
|
|
205
187
|
}
|
|
206
188
|
}
|
|
207
189
|
}));
|
|
208
|
-
case
|
|
209
|
-
|
|
210
|
-
|
|
190
|
+
case 2:
|
|
191
|
+
handleNextStep();
|
|
192
|
+
// handleHolder();
|
|
193
|
+
case 3:
|
|
211
194
|
case "end":
|
|
212
195
|
return _context3.stop();
|
|
213
196
|
}
|
|
@@ -254,21 +237,6 @@ var ContinueButton = function ContinueButton() {
|
|
|
254
237
|
return handleContinue();
|
|
255
238
|
},
|
|
256
239
|
loading: confirmLoading
|
|
257
|
-
}, continueText)
|
|
258
|
-
open: openCheckout,
|
|
259
|
-
type: "checkout",
|
|
260
|
-
onCancel: function onCancel() {
|
|
261
|
-
return setOpenCheckout(false);
|
|
262
|
-
}
|
|
263
|
-
}), /*#__PURE__*/React.createElement(EmptyHolderModal, {
|
|
264
|
-
open: openEmptyHolder,
|
|
265
|
-
lists: getWithoutCartItemsHolderNames(),
|
|
266
|
-
onCancel: function onCancel() {
|
|
267
|
-
return setOpenEmptyHolder(false);
|
|
268
|
-
},
|
|
269
|
-
onOk: function onOk() {
|
|
270
|
-
return handleNextStep();
|
|
271
|
-
}
|
|
272
|
-
}));
|
|
240
|
+
}, continueText));
|
|
273
241
|
};
|
|
274
242
|
export default ContinueButton;
|
|
@@ -5,21 +5,31 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { locales } from '@pisell/utils';
|
|
7
7
|
import { PisellText } from '@pisell/materials';
|
|
8
|
-
import { useSummary } from
|
|
8
|
+
// import { useCart, useHolder, useSummary, useStep } from '../../../../../Sales';
|
|
9
9
|
import useEngineContext from "../../../../../../hooks/useEngineContext";
|
|
10
|
+
import { useAppointmentBooking } from "../../../../hooks";
|
|
10
11
|
import "./index.less";
|
|
11
12
|
import classNames from 'classnames';
|
|
12
13
|
var Total = function Total(_ref) {
|
|
13
|
-
var _context$appHelper, _context$
|
|
14
|
+
var _context$appHelper, _context$appHelper2, _context$appHelper2$g;
|
|
14
15
|
var className = _ref.className,
|
|
15
16
|
isFooter = _ref.isFooter;
|
|
16
|
-
|
|
17
|
-
taxTitle = _useSummary.taxTitle,
|
|
18
|
-
totalTaxFee = _useSummary.totalTaxFee,
|
|
19
|
-
isPriceIncludeTax = _useSummary.isPriceIncludeTax,
|
|
20
|
-
total = _useSummary.total;
|
|
17
|
+
// const { taxTitle, totalTaxFee, isPriceIncludeTax, total } = useSummary();
|
|
21
18
|
var context = useEngineContext();
|
|
22
|
-
|
|
19
|
+
var appointmentBooking = useAppointmentBooking();
|
|
20
|
+
// console.log(
|
|
21
|
+
// taxTitle,
|
|
22
|
+
// isPriceIncludeTax,
|
|
23
|
+
// totalTaxFee,
|
|
24
|
+
// total,
|
|
25
|
+
// context?.appHelper?.utils?.getSymbolic?.(),
|
|
26
|
+
// 'wh97978'
|
|
27
|
+
// );
|
|
28
|
+
var taxTitle = 'GST';
|
|
29
|
+
var totalTaxFee = 0;
|
|
30
|
+
var isPriceIncludeTax = true;
|
|
31
|
+
var total = 0;
|
|
32
|
+
console.log(context === null || context === void 0 || (_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 ? void 0 : _context$appHelper.utils, 'wh978976');
|
|
23
33
|
return /*#__PURE__*/React.createElement("div", {
|
|
24
34
|
className: "event-total-wrap ".concat(className)
|
|
25
35
|
}, !isPriceIncludeTax && Number(totalTaxFee) > 0 ? /*#__PURE__*/React.createElement("div", {
|
|
@@ -1,36 +1,43 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { isMobile, locales } from '@pisell/utils';
|
|
3
3
|
import ShoppingCart from "../../../../../shoppingCart";
|
|
4
|
-
import { useCart, useHolder, useSummary, useStep } from
|
|
5
|
-
|
|
4
|
+
// import { useCart, useHolder, useSummary, useStep } from '../../../../../Sales';
|
|
5
|
+
|
|
6
6
|
import ContinueButton from "../ContinueButton";
|
|
7
|
+
import { useAppointmentBookingCart, useAppointmentBookingAccount, useAppointmentBookingStep } from "../../../../hooks";
|
|
7
8
|
import Total from "./Total";
|
|
8
9
|
import "./index.less";
|
|
9
10
|
var CartItem = function CartItem() {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
var
|
|
20
|
-
|
|
21
|
-
var
|
|
22
|
-
|
|
11
|
+
// const { open, holderData, selectedHolderIds } = useHolder();
|
|
12
|
+
// const {
|
|
13
|
+
// deleteCartItem,
|
|
14
|
+
// deleteCartItemByHolder,
|
|
15
|
+
// cartData,
|
|
16
|
+
// addNoteToCartItem,
|
|
17
|
+
// } = useCart();
|
|
18
|
+
// const { subtotal } = useSummary();
|
|
19
|
+
// const { isLastStep } = useStep();
|
|
20
|
+
var open = false;
|
|
21
|
+
var holderData = {};
|
|
22
|
+
var selectedHolderIds = [];
|
|
23
|
+
var cartData = {};
|
|
24
|
+
var appointmentBookingCart = useAppointmentBookingCart();
|
|
25
|
+
var appointmentBookingAccount = useAppointmentBookingAccount();
|
|
26
|
+
var appointmentBookingStep = useAppointmentBookingStep();
|
|
27
|
+
var products = appointmentBookingCart.products;
|
|
28
|
+
var isLastStep = appointmentBookingStep.isLastStep;
|
|
29
|
+
console.log(appointmentBookingCart, appointmentBookingAccount, 'whappointmentBookingCart');
|
|
23
30
|
var handleClickCard = function handleClickCard(e, type, key) {
|
|
24
31
|
if (type === 'note') {
|
|
25
|
-
return addNoteToCartItem(e);
|
|
32
|
+
// return addNoteToCartItem(e);
|
|
26
33
|
}
|
|
27
34
|
console.log(e, type, key, 'wh9988767');
|
|
28
35
|
// 删除
|
|
29
36
|
if (type === 'delete') {
|
|
30
|
-
return deleteCartItem(e);
|
|
37
|
+
// return deleteCartItem(e);
|
|
31
38
|
}
|
|
32
39
|
if (type === 'delete_holders') {
|
|
33
|
-
return deleteCartItemByHolder(key);
|
|
40
|
+
// return deleteCartItemByHolder(key);
|
|
34
41
|
}
|
|
35
42
|
};
|
|
36
43
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
@@ -39,7 +46,7 @@ var CartItem = function CartItem() {
|
|
|
39
46
|
className: "content"
|
|
40
47
|
}, /*#__PURE__*/React.createElement(ShoppingCart, {
|
|
41
48
|
productParams: {
|
|
42
|
-
products:
|
|
49
|
+
products: products,
|
|
43
50
|
hideAddBtn: false,
|
|
44
51
|
holders: (holderData === null || holderData === void 0 ? void 0 : holderData.selectedHolderItems) || [],
|
|
45
52
|
disabledEdit: isLastStep
|
|
@@ -56,8 +63,6 @@ var CartItem = function CartItem() {
|
|
|
56
63
|
}
|
|
57
64
|
})), /*#__PURE__*/React.createElement("div", {
|
|
58
65
|
className: "event-footer"
|
|
59
|
-
}, /*#__PURE__*/React.createElement(Total, null), /*#__PURE__*/React.createElement(ContinueButton, null)))
|
|
60
|
-
open: open
|
|
61
|
-
}));
|
|
66
|
+
}, /*#__PURE__*/React.createElement(Total, null), /*#__PURE__*/React.createElement(ContinueButton, null))));
|
|
62
67
|
};
|
|
63
68
|
export default CartItem;
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import React, { useMemo, useEffect } from 'react';
|
|
2
|
-
import { useStep } from
|
|
2
|
+
// import { useStep } from '../../../../Sales';
|
|
3
3
|
import { isMobile } from '@pisell/utils';
|
|
4
|
-
import CartItem from "../Cart/Item";
|
|
5
4
|
import Resource from "../Resource";
|
|
6
5
|
import Event from "../Event";
|
|
7
6
|
import Information from "../Information";
|
|
8
7
|
import "./index.less";
|
|
9
8
|
var Layout = function Layout() {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
// const { currentStepData, isFirstStep } = useStep();
|
|
10
|
+
var currentStepData = {
|
|
11
|
+
key: 'select-event'
|
|
12
|
+
};
|
|
13
|
+
var isFirstStep = false;
|
|
13
14
|
useEffect(function () {
|
|
14
15
|
window.scrollTo({
|
|
15
16
|
top: 0,
|
|
@@ -58,8 +59,6 @@ var Layout = function Layout() {
|
|
|
58
59
|
className: "event-content-wrap ".concat(isMobile() ? 'event-content-mobile-wrap' : '')
|
|
59
60
|
}, /*#__PURE__*/React.createElement("div", {
|
|
60
61
|
className: "event-content-left"
|
|
61
|
-
},
|
|
62
|
-
className: "event-content-right"
|
|
63
|
-
}, /*#__PURE__*/React.createElement(CartItem, null)) : null);
|
|
62
|
+
}, "content"));
|
|
64
63
|
};
|
|
65
64
|
export default Layout;
|