@pisell/private-materials 3.2.12 → 3.2.14
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 +14 -18
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +9 -9
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +9 -9
- package/es/businessModel/SalesModel/index.d.ts +0 -1
- package/es/components/booking/addons/index.js +7 -5
- package/es/components/booking/addons/model.d.ts +1 -10
- package/es/components/booking/components/footer/index.d.ts +0 -1
- package/es/components/booking/components/footer/utils.js +1 -3
- package/es/components/booking/deposit/index.d.ts +0 -1
- package/es/components/booking/forms/footer.d.ts +7 -0
- package/es/components/booking/forms/footer.js +88 -0
- package/es/components/booking/forms/index.d.ts +1 -1
- package/es/components/booking/forms/index.js +25 -20
- package/es/components/booking/forms/index.less +7 -0
- package/es/components/booking/forms/model.d.ts +1 -10
- package/es/components/booking/forms/sendModal/index.d.ts +27 -0
- package/es/components/booking/forms/sendModal/index.js +82 -0
- package/es/components/booking/forms/sendModal/index.less +9 -0
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +9 -0
- package/es/components/{parallelResourceBooking/components/Provider/Cart/ContinueButton/index.js → booking/forms/sendModal/useSendModal.js} +50 -245
- package/es/components/booking/forms/serve.d.ts +9 -0
- package/es/components/booking/forms/serve.js +20 -0
- 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/model.d.ts +1 -10
- package/es/components/booking/info/service/addService/index.d.ts +0 -1
- package/es/components/booking/info/service/addService/index.js +3 -3
- package/es/components/booking/info/service/addTimeModal/index.d.ts +0 -1
- package/es/components/booking/info/service/editService/index.js +58 -48
- package/es/components/booking/info/service2/utils.d.ts +1 -1
- package/es/components/booking/info2/service/addService/index.d.ts +0 -1
- package/es/components/booking/info2/service/addService/index.js +3 -2
- package/es/components/booking/info2/service/addService/utils.js +57 -5
- package/es/components/booking/info2/service/addTimeModal/index.d.ts +0 -1
- package/es/components/booking/info2/service/editService/Resources/index.js +20 -2
- package/es/components/booking/info2/service/editService/index.js +4 -3
- package/es/components/booking/info2/service/editService/utils.d.ts +4 -2
- package/es/components/booking/info2/service/editService/utils.js +18 -0
- package/es/components/booking/locales.d.ts +39 -0
- package/es/components/booking/locales.js +42 -3
- package/es/components/booking/model.d.ts +1 -9
- package/es/components/booking/notes/model.d.ts +1 -10
- package/es/components/booking/payments/model.d.ts +1 -10
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/eftpos/surcharge/index.d.ts +0 -1
- package/es/components/eftposPay/amount.d.ts +1 -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/unknow.d.ts +0 -1
- package/es/components/eftposPay/device.d.ts +1 -1
- package/es/components/eftposPay/hooks.d.ts +2 -2
- package/es/components/eftposPay/index.d.ts +0 -1
- package/es/components/eftposPay/pay.d.ts +0 -1
- package/es/components/eftposPay/payo/config.d.ts +0 -1
- package/es/components/eftposPay/store/index.d.ts +5 -5
- package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Information/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/StripeSDK/SDK.d.ts +0 -1
- package/es/components/pay/toC/model.d.ts +1 -9
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.js +4 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/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/model.d.ts +1 -9
- 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/shoppingCart/components/Cart/Product.d.ts +0 -1
- package/es/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
- package/es/components/taxSelect/index.d.ts +0 -1
- package/es/components/wallet/Detail/model.d.ts +1 -13
- package/es/components/wallet/DiscountCard/model.d.ts +1 -14
- package/es/components/wallet/PointCard/model.d.ts +1 -13
- package/es/components/wallet/RechargeableCard/model.d.ts +1 -29
- package/es/components/wallet/Voucher/model.d.ts +1 -13
- package/es/components/wallet/model.d.ts +1 -9
- package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
- package/es/index.d.ts +0 -1
- package/es/index.js +1 -2
- package/lib/businessModel/SalesModel/index.d.ts +0 -1
- package/lib/components/booking/addons/index.js +7 -5
- package/lib/components/booking/addons/model.d.ts +1 -10
- package/lib/components/booking/components/footer/index.d.ts +0 -1
- package/lib/components/booking/components/footer/utils.js +1 -3
- package/lib/components/booking/deposit/index.d.ts +0 -1
- package/lib/components/booking/forms/footer.d.ts +7 -0
- package/lib/components/booking/forms/footer.js +81 -0
- package/lib/components/booking/forms/index.d.ts +1 -1
- package/lib/components/booking/forms/index.js +4 -2
- package/lib/components/booking/forms/index.less +7 -0
- package/lib/components/booking/forms/model.d.ts +1 -10
- package/lib/components/booking/forms/sendModal/index.d.ts +27 -0
- package/lib/components/booking/forms/sendModal/index.js +128 -0
- package/lib/components/booking/forms/sendModal/index.less +9 -0
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +9 -0
- package/lib/components/booking/forms/sendModal/useSendModal.js +70 -0
- package/lib/components/booking/forms/serve.d.ts +9 -0
- package/lib/components/booking/forms/serve.js +5 -2
- 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/model.d.ts +1 -10
- package/lib/components/booking/info/service/addService/index.d.ts +0 -1
- package/lib/components/booking/info/service/addService/index.js +2 -2
- package/lib/components/booking/info/service/addTimeModal/index.d.ts +0 -1
- package/lib/components/booking/info/service/editService/index.js +3 -2
- package/lib/components/booking/info/service2/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/addService/index.d.ts +0 -1
- package/lib/components/booking/info2/service/addService/index.js +3 -2
- package/lib/components/booking/info2/service/addService/utils.js +36 -1
- package/lib/components/booking/info2/service/addTimeModal/index.d.ts +0 -1
- package/lib/components/booking/info2/service/editService/Resources/index.js +16 -1
- package/lib/components/booking/info2/service/editService/index.js +3 -2
- package/lib/components/booking/info2/service/editService/utils.d.ts +4 -2
- package/lib/components/booking/info2/service/editService/utils.js +48 -0
- package/lib/components/booking/locales.d.ts +39 -0
- package/lib/components/booking/locales.js +42 -3
- package/lib/components/booking/model.d.ts +1 -9
- package/lib/components/booking/notes/model.d.ts +1 -10
- package/lib/components/booking/payments/model.d.ts +1 -10
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/eftpos/surcharge/index.d.ts +0 -1
- package/lib/components/eftposPay/amount.d.ts +1 -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/unknow.d.ts +0 -1
- package/lib/components/eftposPay/device.d.ts +1 -1
- package/lib/components/eftposPay/hooks.d.ts +2 -2
- package/lib/components/eftposPay/index.d.ts +0 -1
- package/lib/components/eftposPay/pay.d.ts +0 -1
- package/lib/components/eftposPay/payo/config.d.ts +0 -1
- package/lib/components/eftposPay/store/index.d.ts +5 -5
- package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Information/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/StripeSDK/SDK.d.ts +0 -1
- package/lib/components/pay/toC/model.d.ts +1 -9
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.js +4 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/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/model.d.ts +1 -9
- 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/shoppingCart/components/Cart/Product.d.ts +0 -1
- package/lib/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
- package/lib/components/taxSelect/index.d.ts +0 -1
- package/lib/components/wallet/Detail/model.d.ts +1 -13
- package/lib/components/wallet/DiscountCard/model.d.ts +1 -14
- package/lib/components/wallet/PointCard/model.d.ts +1 -13
- package/lib/components/wallet/RechargeableCard/model.d.ts +1 -29
- package/lib/components/wallet/Voucher/model.d.ts +1 -13
- package/lib/components/wallet/model.d.ts +1 -9
- package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
- package/lib/index.d.ts +0 -1
- package/lib/index.js +0 -3
- package/package.json +4 -4
- package/es/components/eventBooking/components/Provider/SelectProduct/index.d.ts +0 -4
- package/es/components/eventBooking/components/Provider/SelectProduct/index.js +0 -77
- package/es/components/eventBooking/components/Provider/SelectProduct/index.less +0 -131
- package/es/components/parallelResourceBooking/assets/alert-circle.png +0 -0
- package/es/components/parallelResourceBooking/assets/calendar-heart.svg +0 -5
- package/es/components/parallelResourceBooking/assets/compass.svg +0 -13
- package/es/components/parallelResourceBooking/assets/image.svg +0 -5
- package/es/components/parallelResourceBooking/assets/phone.svg +0 -5
- package/es/components/parallelResourceBooking/assets/shopping-cart.svg +0 -10
- package/es/components/parallelResourceBooking/components/ErrorTip/index.d.ts +0 -3
- package/es/components/parallelResourceBooking/components/ErrorTip/index.js +0 -14
- package/es/components/parallelResourceBooking/components/ErrorTip/index.less +0 -51
- package/es/components/parallelResourceBooking/components/OpenCard/index.d.ts +0 -4
- package/es/components/parallelResourceBooking/components/OpenCard/index.js +0 -65
- package/es/components/parallelResourceBooking/components/OpenCard/index.less +0 -52
- package/es/components/parallelResourceBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -3
- package/es/components/parallelResourceBooking/components/Provider/Cart/ContinueButton/index.less +0 -0
- package/es/components/parallelResourceBooking/components/Provider/Cart/Item/Total.d.ts +0 -3
- package/es/components/parallelResourceBooking/components/Provider/Cart/Item/Total.js +0 -46
- package/es/components/parallelResourceBooking/components/Provider/Cart/Item/index.d.ts +0 -3
- package/es/components/parallelResourceBooking/components/Provider/Cart/Item/index.js +0 -63
- package/es/components/parallelResourceBooking/components/Provider/Cart/Item/index.less +0 -87
- package/es/components/parallelResourceBooking/components/Provider/Cart/index.d.ts +0 -3
- package/es/components/parallelResourceBooking/components/Provider/Cart/index.js +0 -30
- package/es/components/parallelResourceBooking/components/Provider/Cart/index.less +0 -2
- package/es/components/parallelResourceBooking/components/Provider/Content/index.d.ts +0 -3
- package/es/components/parallelResourceBooking/components/Provider/Content/index.js +0 -65
- package/es/components/parallelResourceBooking/components/Provider/Content/index.less +0 -31
- package/es/components/parallelResourceBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -3
- package/es/components/parallelResourceBooking/components/Provider/EmptyHolderModal/index.js +0 -34
- package/es/components/parallelResourceBooking/components/Provider/EmptyHolderModal/index.less +0 -17
- package/es/components/parallelResourceBooking/components/Provider/Event/index.d.ts +0 -3
- package/es/components/parallelResourceBooking/components/Provider/Event/index.js +0 -93
- package/es/components/parallelResourceBooking/components/Provider/Event/index.less +0 -20
- package/es/components/parallelResourceBooking/components/Provider/Footer/index.d.ts +0 -3
- package/es/components/parallelResourceBooking/components/Provider/Footer/index.js +0 -76
- package/es/components/parallelResourceBooking/components/Provider/Footer/index.less +0 -64
- package/es/components/parallelResourceBooking/components/Provider/Header/index.d.ts +0 -3
- package/es/components/parallelResourceBooking/components/Provider/Header/index.js +0 -75
- package/es/components/parallelResourceBooking/components/Provider/Header/index.less +0 -2
- package/es/components/parallelResourceBooking/components/Provider/Information/index.d.ts +0 -3
- package/es/components/parallelResourceBooking/components/Provider/Information/index.js +0 -178
- package/es/components/parallelResourceBooking/components/Provider/Information/index.less +0 -92
- package/es/components/parallelResourceBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -3
- package/es/components/parallelResourceBooking/components/Provider/InformationOptionsModal/index.js +0 -34
- package/es/components/parallelResourceBooking/components/Provider/InformationOptionsModal/index.less +0 -27
- package/es/components/parallelResourceBooking/components/Provider/OrderProductModal/index.d.ts +0 -3
- package/es/components/parallelResourceBooking/components/Provider/OrderProductModal/index.js +0 -27
- package/es/components/parallelResourceBooking/components/Provider/OrderProductModal/index.less +0 -32
- package/es/components/parallelResourceBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -2
- package/es/components/parallelResourceBooking/components/Provider/RemoveOptionConfirmModal.js +0 -31
- package/es/components/parallelResourceBooking/components/Provider/Resource/index.d.ts +0 -3
- package/es/components/parallelResourceBooking/components/Provider/Resource/index.js +0 -79
- package/es/components/parallelResourceBooking/components/Provider/Resource/index.less +0 -46
- package/es/components/parallelResourceBooking/components/Provider/SelectHolderModal.d.ts +0 -2
- package/es/components/parallelResourceBooking/components/Provider/SelectHolderModal.js +0 -90
- package/es/components/parallelResourceBooking/components/Provider/SelectProduct/index.d.ts +0 -4
- package/es/components/parallelResourceBooking/components/Provider/SelectProduct/index.js +0 -77
- package/es/components/parallelResourceBooking/components/Provider/SelectProduct/index.less +0 -131
- package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -3
- package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.js +0 -26
- package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.less +0 -25
- package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -10
- package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.js +0 -65
- package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.less +0 -32
- package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -3
- package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.js +0 -69
- package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.less +0 -12
- package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -12
- package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.js +0 -152
- package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.less +0 -35
- package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -3
- package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.js +0 -20
- package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.less +0 -28
- package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -4
- package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.js +0 -38
- package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.less +0 -87
- package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -3
- package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.js +0 -28
- package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.less +0 -25
- package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.d.ts +0 -4
- package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.js +0 -269
- package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.less +0 -119
- package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.d.ts +0 -63
- package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.js +0 -256
- package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.d.ts +0 -4
- package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.js +0 -173
- package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.less +0 -4
- package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/index.d.ts +0 -14
- package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/index.js +0 -36
- package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/index.less +0 -2
- package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/utils.d.ts +0 -34
- package/es/components/parallelResourceBooking/components/bookingAvailabilityCalendar/utils.js +0 -70
- package/es/components/parallelResourceBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -2
- package/es/components/parallelResourceBooking/components/bookingDetailModal/components/BookingOptions.js +0 -38
- package/es/components/parallelResourceBooking/components/bookingDetailModal/components/Resource.d.ts +0 -2
- package/es/components/parallelResourceBooking/components/bookingDetailModal/components/Resource.js +0 -33
- package/es/components/parallelResourceBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -2
- package/es/components/parallelResourceBooking/components/bookingDetailModal/components/Schedule.js +0 -30
- package/es/components/parallelResourceBooking/components/bookingDetailModal/index.d.ts +0 -7
- package/es/components/parallelResourceBooking/components/bookingDetailModal/index.js +0 -337
- package/es/components/parallelResourceBooking/components/bookingDetailModal/index.less +0 -82
- package/es/components/parallelResourceBooking/components/bookingServiceList/index.d.ts +0 -17
- package/es/components/parallelResourceBooking/components/bookingServiceList/index.js +0 -52
- package/es/components/parallelResourceBooking/components/bookingServiceList/index.less +0 -6
- package/es/components/parallelResourceBooking/components/eventCard/index.d.ts +0 -14
- package/es/components/parallelResourceBooking/components/eventCard/index.js +0 -116
- package/es/components/parallelResourceBooking/components/eventCard/index.less +0 -81
- package/es/components/parallelResourceBooking/components/productCard/index.d.ts +0 -16
- package/es/components/parallelResourceBooking/components/productCard/index.js +0 -79
- package/es/components/parallelResourceBooking/components/productCard/index.less +0 -60
- package/es/components/parallelResourceBooking/components/progressBar/index.d.ts +0 -16
- package/es/components/parallelResourceBooking/components/progressBar/index.js +0 -93
- package/es/components/parallelResourceBooking/components/progressBar/index.less +0 -15
- package/es/components/parallelResourceBooking/components/resourceDisplay/index.d.ts +0 -23
- package/es/components/parallelResourceBooking/components/resourceDisplay/index.js +0 -148
- package/es/components/parallelResourceBooking/components/resourceDisplay/index.less +0 -95
- package/es/components/parallelResourceBooking/components/resourceUsability/index.d.ts +0 -12
- package/es/components/parallelResourceBooking/components/resourceUsability/index.js +0 -44
- package/es/components/parallelResourceBooking/components/resourceUsability/index.less +0 -40
- package/es/components/parallelResourceBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -9
- package/es/components/parallelResourceBooking/components/scheduleCalendar/ProductItem/index.js +0 -37
- package/es/components/parallelResourceBooking/components/scheduleCalendar/ProductItem/index.less +0 -58
- package/es/components/parallelResourceBooking/components/scheduleCalendar/calendarItem.d.ts +0 -11
- package/es/components/parallelResourceBooking/components/scheduleCalendar/calendarItem.js +0 -127
- package/es/components/parallelResourceBooking/components/scheduleCalendar/index.d.ts +0 -13
- package/es/components/parallelResourceBooking/components/scheduleCalendar/index.js +0 -142
- package/es/components/parallelResourceBooking/components/scheduleCalendar/index.less +0 -222
- package/es/components/parallelResourceBooking/components/selectHolder/index.d.ts +0 -22
- package/es/components/parallelResourceBooking/components/selectHolder/index.js +0 -118
- package/es/components/parallelResourceBooking/components/selectHolder/index.less +0 -70
- package/es/components/parallelResourceBooking/components/timeResourceSelector/index.d.ts +0 -20
- package/es/components/parallelResourceBooking/components/timeResourceSelector/index.js +0 -168
- package/es/components/parallelResourceBooking/components/timeResourceSelector/index.less +0 -74
- package/es/components/parallelResourceBooking/index.d.ts +0 -3
- package/es/components/parallelResourceBooking/index.js +0 -58
- package/es/components/parallelResourceBooking/index.less +0 -22
- package/es/components/parallelResourceBooking/locales.d.ts +0 -216
- package/es/components/parallelResourceBooking/locales.js +0 -251
- package/es/components/parallelResourceBooking/mock.d.ts +0 -627
- package/es/components/parallelResourceBooking/mock.js +0 -1172
- package/es/components/parallelResourceBooking/status.d.ts +0 -21
- package/es/components/parallelResourceBooking/status.js +0 -51
- package/es/components/parallelResourceBooking/type.d.ts +0 -17
- package/es/components/parallelResourceBooking/type.js +0 -1
- package/es/components/parallelResourceBooking/utils.d.ts +0 -45
- package/es/components/parallelResourceBooking/utils.js +0 -99
- package/lib/components/eventBooking/components/Provider/SelectProduct/index.d.ts +0 -4
- package/lib/components/eventBooking/components/Provider/SelectProduct/index.js +0 -69
- package/lib/components/eventBooking/components/Provider/SelectProduct/index.less +0 -131
- package/lib/components/parallelResourceBooking/assets/alert-circle.png +0 -0
- package/lib/components/parallelResourceBooking/assets/calendar-heart.svg +0 -5
- package/lib/components/parallelResourceBooking/assets/compass.svg +0 -13
- package/lib/components/parallelResourceBooking/assets/image.svg +0 -5
- package/lib/components/parallelResourceBooking/assets/phone.svg +0 -5
- package/lib/components/parallelResourceBooking/assets/shopping-cart.svg +0 -10
- package/lib/components/parallelResourceBooking/components/ErrorTip/index.d.ts +0 -3
- package/lib/components/parallelResourceBooking/components/ErrorTip/index.js +0 -30
- package/lib/components/parallelResourceBooking/components/ErrorTip/index.less +0 -51
- package/lib/components/parallelResourceBooking/components/OpenCard/index.d.ts +0 -4
- package/lib/components/parallelResourceBooking/components/OpenCard/index.js +0 -90
- package/lib/components/parallelResourceBooking/components/OpenCard/index.less +0 -52
- package/lib/components/parallelResourceBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -3
- package/lib/components/parallelResourceBooking/components/Provider/Cart/ContinueButton/index.js +0 -158
- package/lib/components/parallelResourceBooking/components/Provider/Cart/ContinueButton/index.less +0 -0
- package/lib/components/parallelResourceBooking/components/Provider/Cart/Item/Total.d.ts +0 -3
- package/lib/components/parallelResourceBooking/components/Provider/Cart/Item/Total.js +0 -82
- package/lib/components/parallelResourceBooking/components/Provider/Cart/Item/index.d.ts +0 -3
- package/lib/components/parallelResourceBooking/components/Provider/Cart/Item/index.js +0 -92
- package/lib/components/parallelResourceBooking/components/Provider/Cart/Item/index.less +0 -87
- package/lib/components/parallelResourceBooking/components/Provider/Cart/index.d.ts +0 -3
- package/lib/components/parallelResourceBooking/components/Provider/Cart/index.js +0 -59
- package/lib/components/parallelResourceBooking/components/Provider/Cart/index.less +0 -2
- package/lib/components/parallelResourceBooking/components/Provider/Content/index.d.ts +0 -3
- package/lib/components/parallelResourceBooking/components/Provider/Content/index.js +0 -90
- package/lib/components/parallelResourceBooking/components/Provider/Content/index.less +0 -31
- package/lib/components/parallelResourceBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -3
- package/lib/components/parallelResourceBooking/components/Provider/EmptyHolderModal/index.js +0 -60
- package/lib/components/parallelResourceBooking/components/Provider/EmptyHolderModal/index.less +0 -17
- package/lib/components/parallelResourceBooking/components/Provider/Event/index.d.ts +0 -3
- package/lib/components/parallelResourceBooking/components/Provider/Event/index.js +0 -100
- package/lib/components/parallelResourceBooking/components/Provider/Event/index.less +0 -20
- package/lib/components/parallelResourceBooking/components/Provider/Footer/index.d.ts +0 -3
- package/lib/components/parallelResourceBooking/components/Provider/Footer/index.js +0 -87
- package/lib/components/parallelResourceBooking/components/Provider/Footer/index.less +0 -64
- package/lib/components/parallelResourceBooking/components/Provider/Header/index.d.ts +0 -3
- package/lib/components/parallelResourceBooking/components/Provider/Header/index.js +0 -80
- package/lib/components/parallelResourceBooking/components/Provider/Header/index.less +0 -2
- package/lib/components/parallelResourceBooking/components/Provider/Information/index.d.ts +0 -3
- package/lib/components/parallelResourceBooking/components/Provider/Information/index.js +0 -151
- package/lib/components/parallelResourceBooking/components/Provider/Information/index.less +0 -92
- package/lib/components/parallelResourceBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -3
- package/lib/components/parallelResourceBooking/components/Provider/InformationOptionsModal/index.js +0 -67
- package/lib/components/parallelResourceBooking/components/Provider/InformationOptionsModal/index.less +0 -27
- package/lib/components/parallelResourceBooking/components/Provider/OrderProductModal/index.d.ts +0 -3
- package/lib/components/parallelResourceBooking/components/Provider/OrderProductModal/index.js +0 -57
- package/lib/components/parallelResourceBooking/components/Provider/OrderProductModal/index.less +0 -32
- package/lib/components/parallelResourceBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -2
- package/lib/components/parallelResourceBooking/components/Provider/RemoveOptionConfirmModal.js +0 -62
- package/lib/components/parallelResourceBooking/components/Provider/Resource/index.d.ts +0 -3
- package/lib/components/parallelResourceBooking/components/Provider/Resource/index.js +0 -90
- package/lib/components/parallelResourceBooking/components/Provider/Resource/index.less +0 -46
- package/lib/components/parallelResourceBooking/components/Provider/SelectHolderModal.d.ts +0 -2
- package/lib/components/parallelResourceBooking/components/Provider/SelectHolderModal.js +0 -97
- package/lib/components/parallelResourceBooking/components/Provider/SelectProduct/index.d.ts +0 -4
- package/lib/components/parallelResourceBooking/components/Provider/SelectProduct/index.js +0 -69
- package/lib/components/parallelResourceBooking/components/Provider/SelectProduct/index.less +0 -131
- package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -3
- package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.js +0 -55
- package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.less +0 -25
- package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -10
- package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.js +0 -78
- package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.less +0 -32
- package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -3
- package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.js +0 -86
- package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.less +0 -12
- package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -12
- package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.js +0 -121
- package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.less +0 -35
- package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -3
- package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.js +0 -37
- package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.less +0 -28
- package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -4
- package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.js +0 -58
- package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.less +0 -87
- package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -3
- package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.js +0 -55
- package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.less +0 -25
- package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.d.ts +0 -4
- package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.js +0 -196
- package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.less +0 -119
- package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.d.ts +0 -63
- package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.js +0 -198
- package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.d.ts +0 -4
- package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.js +0 -122
- package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.less +0 -4
- package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/index.d.ts +0 -14
- package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/index.js +0 -70
- package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/index.less +0 -2
- package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/utils.d.ts +0 -34
- package/lib/components/parallelResourceBooking/components/bookingAvailabilityCalendar/utils.js +0 -70
- package/lib/components/parallelResourceBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -2
- package/lib/components/parallelResourceBooking/components/bookingDetailModal/components/BookingOptions.js +0 -75
- package/lib/components/parallelResourceBooking/components/bookingDetailModal/components/Resource.d.ts +0 -2
- package/lib/components/parallelResourceBooking/components/bookingDetailModal/components/Resource.js +0 -66
- package/lib/components/parallelResourceBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -2
- package/lib/components/parallelResourceBooking/components/bookingDetailModal/components/Schedule.js +0 -69
- package/lib/components/parallelResourceBooking/components/bookingDetailModal/index.d.ts +0 -7
- package/lib/components/parallelResourceBooking/components/bookingDetailModal/index.js +0 -248
- package/lib/components/parallelResourceBooking/components/bookingDetailModal/index.less +0 -82
- package/lib/components/parallelResourceBooking/components/bookingServiceList/index.d.ts +0 -17
- package/lib/components/parallelResourceBooking/components/bookingServiceList/index.js +0 -79
- package/lib/components/parallelResourceBooking/components/bookingServiceList/index.less +0 -6
- package/lib/components/parallelResourceBooking/components/eventCard/index.d.ts +0 -14
- package/lib/components/parallelResourceBooking/components/eventCard/index.js +0 -124
- package/lib/components/parallelResourceBooking/components/eventCard/index.less +0 -81
- package/lib/components/parallelResourceBooking/components/productCard/index.d.ts +0 -16
- package/lib/components/parallelResourceBooking/components/productCard/index.js +0 -77
- package/lib/components/parallelResourceBooking/components/productCard/index.less +0 -60
- package/lib/components/parallelResourceBooking/components/progressBar/index.d.ts +0 -16
- package/lib/components/parallelResourceBooking/components/progressBar/index.js +0 -100
- package/lib/components/parallelResourceBooking/components/progressBar/index.less +0 -15
- package/lib/components/parallelResourceBooking/components/resourceDisplay/index.d.ts +0 -23
- package/lib/components/parallelResourceBooking/components/resourceDisplay/index.js +0 -116
- package/lib/components/parallelResourceBooking/components/resourceDisplay/index.less +0 -95
- package/lib/components/parallelResourceBooking/components/resourceUsability/index.d.ts +0 -12
- package/lib/components/parallelResourceBooking/components/resourceUsability/index.js +0 -76
- package/lib/components/parallelResourceBooking/components/resourceUsability/index.less +0 -40
- package/lib/components/parallelResourceBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -9
- package/lib/components/parallelResourceBooking/components/scheduleCalendar/ProductItem/index.js +0 -73
- package/lib/components/parallelResourceBooking/components/scheduleCalendar/ProductItem/index.less +0 -58
- package/lib/components/parallelResourceBooking/components/scheduleCalendar/calendarItem.d.ts +0 -11
- package/lib/components/parallelResourceBooking/components/scheduleCalendar/calendarItem.js +0 -135
- package/lib/components/parallelResourceBooking/components/scheduleCalendar/index.d.ts +0 -13
- package/lib/components/parallelResourceBooking/components/scheduleCalendar/index.js +0 -125
- package/lib/components/parallelResourceBooking/components/scheduleCalendar/index.less +0 -222
- package/lib/components/parallelResourceBooking/components/selectHolder/index.d.ts +0 -22
- package/lib/components/parallelResourceBooking/components/selectHolder/index.js +0 -106
- package/lib/components/parallelResourceBooking/components/selectHolder/index.less +0 -70
- package/lib/components/parallelResourceBooking/components/timeResourceSelector/index.d.ts +0 -20
- package/lib/components/parallelResourceBooking/components/timeResourceSelector/index.js +0 -146
- package/lib/components/parallelResourceBooking/components/timeResourceSelector/index.less +0 -74
- package/lib/components/parallelResourceBooking/index.d.ts +0 -3
- package/lib/components/parallelResourceBooking/index.js +0 -78
- package/lib/components/parallelResourceBooking/index.less +0 -22
- package/lib/components/parallelResourceBooking/locales.d.ts +0 -216
- package/lib/components/parallelResourceBooking/locales.js +0 -239
- package/lib/components/parallelResourceBooking/mock.d.ts +0 -627
- package/lib/components/parallelResourceBooking/mock.js +0 -1352
- package/lib/components/parallelResourceBooking/status.d.ts +0 -21
- package/lib/components/parallelResourceBooking/status.js +0 -70
- package/lib/components/parallelResourceBooking/type.d.ts +0 -17
- package/lib/components/parallelResourceBooking/type.js +0 -17
- package/lib/components/parallelResourceBooking/utils.d.ts +0 -45
- package/lib/components/parallelResourceBooking/utils.js +0 -90
- package/lowcode/parallel-resource-booking/meta.ts +0 -69
package/es/components/parallelResourceBooking/components/Provider/InformationOptionsModal/index.less
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
.information-options-wrap {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
gap: 16px;
|
|
5
|
-
.information-options-wrap-item {
|
|
6
|
-
color: var(--Gray-900, #101828);
|
|
7
|
-
font-size: 16px;
|
|
8
|
-
font-weight: 600;
|
|
9
|
-
line-height: 24px;
|
|
10
|
-
display: flex;
|
|
11
|
-
padding: 9px 10px;
|
|
12
|
-
align-items: center;
|
|
13
|
-
flex: 1 0 0;
|
|
14
|
-
&:last-child {
|
|
15
|
-
color: var(--Error-700, #b42318);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.information-option-modal {
|
|
21
|
-
.pisell-lowcode-modal-header {
|
|
22
|
-
border: none;
|
|
23
|
-
}
|
|
24
|
-
.pisell-lowcode-modal-body {
|
|
25
|
-
height: max-content;
|
|
26
|
-
}
|
|
27
|
-
}
|
package/es/components/parallelResourceBooking/components/Provider/OrderProductModal/index.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PisellModal } from '@pisell/materials';
|
|
3
|
-
import { locales } from '@pisell/utils';
|
|
4
|
-
import "./index.less";
|
|
5
|
-
var OrderProductModal = function OrderProductModal(props) {
|
|
6
|
-
var open = props.open,
|
|
7
|
-
_onCancel = props.onCancel,
|
|
8
|
-
_props$type = props.type,
|
|
9
|
-
type = _props$type === void 0 ? 'cart' : _props$type;
|
|
10
|
-
return /*#__PURE__*/React.createElement(PisellModal.Information, {
|
|
11
|
-
open: open,
|
|
12
|
-
title: type === 'cart' ? locales.getText('pisell2.event.event.full.title') : locales.getText('pisell2.event.capacity.limit.reached.title'),
|
|
13
|
-
describe: type === 'cart' ? locales.getText('pisell2.event.event.full.tip') : locales.getText('pisell2.event.capacity.limit.reached.tip'),
|
|
14
|
-
okText: locales.getText('pisell2.event.event.full.ok'),
|
|
15
|
-
cancelText: "",
|
|
16
|
-
cancelVisible: false,
|
|
17
|
-
closable: true,
|
|
18
|
-
onCancel: function onCancel() {
|
|
19
|
-
return _onCancel();
|
|
20
|
-
},
|
|
21
|
-
onOk: function onOk() {
|
|
22
|
-
return _onCancel();
|
|
23
|
-
},
|
|
24
|
-
zIndex: 1001
|
|
25
|
-
});
|
|
26
|
-
};
|
|
27
|
-
export default OrderProductModal;
|
package/es/components/parallelResourceBooking/components/Provider/OrderProductModal/index.less
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
.event-booking-order-product-modal {
|
|
2
|
-
.event-booking-order-product-modal-content {
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
gap: 4px;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.event-booking-order-product-modal-content-title {
|
|
9
|
-
color: var(--Gray-900, #101828);
|
|
10
|
-
font-size: 24px;
|
|
11
|
-
font-weight: 600;
|
|
12
|
-
line-height: 32px;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.event-booking-order-product-modal-content-describe {
|
|
16
|
-
color: var(--Gray-900, #101828);
|
|
17
|
-
font-size: 16px;
|
|
18
|
-
font-weight: 400;
|
|
19
|
-
line-height: 24px;
|
|
20
|
-
display: flex;
|
|
21
|
-
flex-direction: column;
|
|
22
|
-
gap: 4px;
|
|
23
|
-
|
|
24
|
-
ul {
|
|
25
|
-
list-style-type: disc !important;
|
|
26
|
-
padding-left: 20px;
|
|
27
|
-
li {
|
|
28
|
-
list-style-type: disc !important;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
package/es/components/parallelResourceBooking/components/Provider/RemoveOptionConfirmModal.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PisellModal } from '@pisell/materials';
|
|
3
|
-
import { locales } from '@pisell/utils';
|
|
4
|
-
var RemoveOptionConfirmModal = function RemoveOptionConfirmModal(props) {
|
|
5
|
-
var removeOpen = props.removeOpen,
|
|
6
|
-
_onCancel = props.onCancel,
|
|
7
|
-
_onOk = props.onOk;
|
|
8
|
-
return /*#__PURE__*/React.createElement(PisellModal.Information, {
|
|
9
|
-
open: removeOpen,
|
|
10
|
-
title: locales.getText('pisell2.event.remove.title'),
|
|
11
|
-
describe: locales.getText('pisell2.event.remove.tip'),
|
|
12
|
-
okText: locales.getText('pisell2.event.remove'),
|
|
13
|
-
cancelText: locales.getText('pisell2.event.remove.cancel'),
|
|
14
|
-
closable: true,
|
|
15
|
-
onCancel: function onCancel() {
|
|
16
|
-
return _onCancel();
|
|
17
|
-
},
|
|
18
|
-
zIndex: 1001,
|
|
19
|
-
okButtonProps: {
|
|
20
|
-
style: {
|
|
21
|
-
border: '1px solid var(--Error-600, #D92D20)',
|
|
22
|
-
background: 'var(--Error-600, #D92D20)',
|
|
23
|
-
boxShadow: '0px 1px 2px 0px rgba(16, 24, 40, 0.05)'
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
onOk: function onOk() {
|
|
27
|
-
return _onOk();
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
};
|
|
31
|
-
export default RemoveOptionConfirmModal;
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PisellViewGrid } from '@pisell/materials';
|
|
3
|
-
import { isMobile, locales } from '@pisell/utils';
|
|
4
|
-
import { useResource, useSales, useCart, useStep } from "../../../../Sales";
|
|
5
|
-
import ResourceDisplay from "../../resourceDisplay";
|
|
6
|
-
import { resourceTitle } from "../../../utils";
|
|
7
|
-
import "./index.less";
|
|
8
|
-
var Resource = function Resource() {
|
|
9
|
-
var _data$resourceData;
|
|
10
|
-
var _useSales = useSales(),
|
|
11
|
-
data = _useSales.data;
|
|
12
|
-
var _useResource = useResource(),
|
|
13
|
-
getResourceList = _useResource.getResourceList,
|
|
14
|
-
selectResource = _useResource.selectResource;
|
|
15
|
-
var _useCart = useCart(),
|
|
16
|
-
createCartItem = _useCart.createCartItem;
|
|
17
|
-
var _useStep = useStep(),
|
|
18
|
-
nextStep = _useStep.nextStep;
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* @title: 选择资源
|
|
22
|
-
* @description:
|
|
23
|
-
* @param {any} item
|
|
24
|
-
* @return {*}
|
|
25
|
-
* @Author: WangHan
|
|
26
|
-
* @Date: 2025-01-15 18:08
|
|
27
|
-
*/
|
|
28
|
-
var handleClick = function handleClick(item) {
|
|
29
|
-
createCartItem();
|
|
30
|
-
selectResource(item);
|
|
31
|
-
nextStep();
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* @title: 渲染内容
|
|
36
|
-
* @description:
|
|
37
|
-
* @param {any} item
|
|
38
|
-
* @return {*}
|
|
39
|
-
* @Author: WangHan
|
|
40
|
-
* @Date: 2025-01-15 11:30
|
|
41
|
-
*/
|
|
42
|
-
var renderItem = function renderItem(item) {
|
|
43
|
-
return /*#__PURE__*/React.createElement(ResourceDisplay, {
|
|
44
|
-
mode: "campus",
|
|
45
|
-
dataSource: item,
|
|
46
|
-
direction: "vertical",
|
|
47
|
-
shape: "square",
|
|
48
|
-
bordered: false,
|
|
49
|
-
borderRadius: 8,
|
|
50
|
-
padding: 8,
|
|
51
|
-
onClick: function onClick() {
|
|
52
|
-
return handleClick(item);
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
};
|
|
56
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
57
|
-
className: "event-interface-resource-wrap ".concat(isMobile() ? 'event-interface-resource-mobile-wrap' : '')
|
|
58
|
-
}, /*#__PURE__*/React.createElement("span", {
|
|
59
|
-
className: "title"
|
|
60
|
-
}, locales.getText('pisell2.event.select.campus')(resourceTitle(data))), /*#__PURE__*/React.createElement("div", {
|
|
61
|
-
className: "content"
|
|
62
|
-
}, data === null || data === void 0 || (_data$resourceData = data.resourceData) === null || _data$resourceData === void 0 || (_data$resourceData = _data$resourceData.resourceList) === null || _data$resourceData === void 0 ? void 0 : _data$resourceData.map(function (item, index) {
|
|
63
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
64
|
-
key: index,
|
|
65
|
-
className: "content-item"
|
|
66
|
-
}, /*#__PURE__*/React.createElement("span", {
|
|
67
|
-
className: "content-title"
|
|
68
|
-
}, item === null || item === void 0 ? void 0 : item.title), /*#__PURE__*/React.createElement(PisellViewGrid, {
|
|
69
|
-
dataSource: item === null || item === void 0 ? void 0 : item.children,
|
|
70
|
-
columns: isMobile() ? 1 : 3,
|
|
71
|
-
verticalGap: 20,
|
|
72
|
-
horizontalGap: 20,
|
|
73
|
-
loading: getResourceList.loading,
|
|
74
|
-
renderItem: renderItem,
|
|
75
|
-
className: "content-grid"
|
|
76
|
-
}));
|
|
77
|
-
})));
|
|
78
|
-
};
|
|
79
|
-
export default Resource;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
.event-interface-resource-wrap {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
margin-bottom: 24px;
|
|
5
|
-
|
|
6
|
-
.title {
|
|
7
|
-
color: var(--Gray-900, #101828);
|
|
8
|
-
font-size: 20px;
|
|
9
|
-
font-weight: 600;
|
|
10
|
-
line-height: 30px;
|
|
11
|
-
text-align: center;
|
|
12
|
-
margin: 8px 0;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.content {
|
|
16
|
-
display: flex;
|
|
17
|
-
flex-direction: column;
|
|
18
|
-
gap: 24px;
|
|
19
|
-
.pisell-card-wrap {
|
|
20
|
-
background: transparent;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.content-item {
|
|
24
|
-
display: flex;
|
|
25
|
-
flex-direction: column;
|
|
26
|
-
gap: 8px;
|
|
27
|
-
|
|
28
|
-
.content-title {
|
|
29
|
-
color: var(--Gray-900, #101828);
|
|
30
|
-
font-size: 16px;
|
|
31
|
-
font-weight: 600;
|
|
32
|
-
line-height: 24px;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.content-grid {
|
|
37
|
-
padding: 20px 12px;
|
|
38
|
-
border-radius: 8px;
|
|
39
|
-
border: 1px solid var(--Gray-300, #d0d5dd);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.event-interface-resource-mobile-wrap {
|
|
45
|
-
padding: 0 20px 20px;
|
|
46
|
-
}
|
|
@@ -1,90 +0,0 @@
|
|
|
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, { useEffect, useState } from 'react';
|
|
8
|
-
import SelectHolder from "../selectHolder";
|
|
9
|
-
import { locales } from '@pisell/utils';
|
|
10
|
-
import { useHolder, useSales, useStep, useCart } from "../../../Sales";
|
|
11
|
-
var SelectHolderModal = function SelectHolderModal(props) {
|
|
12
|
-
var _holderData$holderLis;
|
|
13
|
-
var open = props.open;
|
|
14
|
-
var _useSales = useSales(),
|
|
15
|
-
data = _useSales.data;
|
|
16
|
-
var _useHolder = useHolder(),
|
|
17
|
-
onHolderClose = _useHolder.onHolderClose,
|
|
18
|
-
onOpenCreateHolder = _useHolder.onOpenCreateHolder,
|
|
19
|
-
selectHolder = _useHolder.selectHolder,
|
|
20
|
-
holderData = _useHolder.holderData,
|
|
21
|
-
updateHolderList = _useHolder.updateHolderList,
|
|
22
|
-
defaultSelectedHolder = _useHolder.defaultSelectedHolder;
|
|
23
|
-
var _useStep = useStep(),
|
|
24
|
-
nextStep = _useStep.nextStep,
|
|
25
|
-
prevStep = _useStep.prevStep,
|
|
26
|
-
currentStepData = _useStep.currentStepData;
|
|
27
|
-
var _useState = useState(defaultSelectedHolder),
|
|
28
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
29
|
-
selectedHolder = _useState2[0],
|
|
30
|
-
setSelectedHolder = _useState2[1];
|
|
31
|
-
var _useCart = useCart(),
|
|
32
|
-
onCloseCart = _useCart.onCloseCart;
|
|
33
|
-
useEffect(function () {
|
|
34
|
-
setSelectedHolder(defaultSelectedHolder);
|
|
35
|
-
}, [defaultSelectedHolder]);
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* @title: 点击holder卡片
|
|
39
|
-
* @description:
|
|
40
|
-
* @param {any} e
|
|
41
|
-
* @return {*}
|
|
42
|
-
* @Author: WangHan
|
|
43
|
-
* @Date: 2025-01-16 22:29
|
|
44
|
-
*/
|
|
45
|
-
var handleHolder = function handleHolder(e) {
|
|
46
|
-
var _data$initData;
|
|
47
|
-
// 当前选中的holder
|
|
48
|
-
if (!(e !== null && e !== void 0 && e.isAddCard)) {
|
|
49
|
-
setSelectedHolder(e);
|
|
50
|
-
// return onSelect(e);
|
|
51
|
-
return;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
// 添加holder
|
|
55
|
-
onOpenCreateHolder({
|
|
56
|
-
form_id: (_data$initData = data.initData) === null || _data$initData === void 0 || (_data$initData = _data$initData.boardSetting) === null || _data$initData === void 0 || (_data$initData = _data$initData.config) === null || _data$initData === void 0 || (_data$initData = _data$initData.basic) === null || _data$initData === void 0 || (_data$initData = _data$initData.appointment_subject) === null || _data$initData === void 0 ? void 0 : _data$initData.form_id,
|
|
57
|
-
form_title: locales.getText('pisell2.event.create.form'),
|
|
58
|
-
callback: function callback(res) {
|
|
59
|
-
updateHolderList(res === null || res === void 0 ? void 0 : res.values);
|
|
60
|
-
}
|
|
61
|
-
});
|
|
62
|
-
};
|
|
63
|
-
return /*#__PURE__*/React.createElement(SelectHolder, {
|
|
64
|
-
open: open,
|
|
65
|
-
options: (holderData === null || holderData === void 0 ? void 0 : holderData.holderList) || [],
|
|
66
|
-
onCancel: function onCancel() {
|
|
67
|
-
return onHolderClose();
|
|
68
|
-
},
|
|
69
|
-
value: selectedHolder === null || selectedHolder === void 0 ? void 0 : selectedHolder.id,
|
|
70
|
-
title: locales.getText('pisell2.event.holder.modal.title'),
|
|
71
|
-
okText: locales.getText('pisell2.event.confirm'),
|
|
72
|
-
onClick: function onClick(e) {
|
|
73
|
-
return handleHolder(e);
|
|
74
|
-
},
|
|
75
|
-
disabled: !(holderData !== null && holderData !== void 0 && (_holderData$holderLis = holderData.holderList) !== null && _holderData$holderLis !== void 0 && _holderData$holderLis.length) || !(selectedHolder !== null && selectedHolder !== void 0 && selectedHolder.id),
|
|
76
|
-
errorTipText: locales.getText('pisell2.event.error.holder'),
|
|
77
|
-
onOk: function onOk() {
|
|
78
|
-
onCloseCart();
|
|
79
|
-
var isEvent = (currentStepData === null || currentStepData === void 0 ? void 0 : currentStepData.key) === 'select-event';
|
|
80
|
-
selectHolder(selectedHolder, isEvent ? 'addToCart' : 'createCartItem');
|
|
81
|
-
if (isEvent) {
|
|
82
|
-
nextStep();
|
|
83
|
-
} else {
|
|
84
|
-
prevStep();
|
|
85
|
-
}
|
|
86
|
-
onHolderClose();
|
|
87
|
-
}
|
|
88
|
-
});
|
|
89
|
-
};
|
|
90
|
-
export default SelectHolderModal;
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { useCart, useSales } from "../../../Sales";
|
|
3
|
-
import { locales } from '@pisell/utils';
|
|
4
|
-
import { PisellCard } from '@pisell/materials';
|
|
5
|
-
import "./index.less";
|
|
6
|
-
var SelectProduct = function SelectProduct() {
|
|
7
|
-
var _cartData$cartItems2;
|
|
8
|
-
var _useSales = useSales(),
|
|
9
|
-
data = _useSales.data;
|
|
10
|
-
var _useCart = useCart(),
|
|
11
|
-
addToCart = _useCart.addToCart,
|
|
12
|
-
cartData = _useCart.cartData;
|
|
13
|
-
var handleAddToCart = function handleAddToCart(product) {
|
|
14
|
-
addToCart(product);
|
|
15
|
-
};
|
|
16
|
-
var renderProductCard = function renderProductCard(product) {
|
|
17
|
-
var _cartData$cartItems;
|
|
18
|
-
var isSelected = cartData === null || cartData === void 0 || (_cartData$cartItems = cartData.cartItems) === null || _cartData$cartItems === void 0 ? void 0 : _cartData$cartItems.some(function (item) {
|
|
19
|
-
return item.id === product.id;
|
|
20
|
-
});
|
|
21
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
22
|
-
key: product.id,
|
|
23
|
-
className: "product-card ".concat(isSelected ? 'product-card-selected' : ''),
|
|
24
|
-
onClick: function onClick() {
|
|
25
|
-
return handleAddToCart(product);
|
|
26
|
-
}
|
|
27
|
-
}, /*#__PURE__*/React.createElement(PisellCard, {
|
|
28
|
-
bodyStyle: {
|
|
29
|
-
padding: '16px'
|
|
30
|
-
}
|
|
31
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
32
|
-
className: "product-content"
|
|
33
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
34
|
-
className: "product-title"
|
|
35
|
-
}, product.title), /*#__PURE__*/React.createElement("div", {
|
|
36
|
-
className: "product-price"
|
|
37
|
-
}, product.price, " ", product.currency))));
|
|
38
|
-
};
|
|
39
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
40
|
-
className: "select-product-container"
|
|
41
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
42
|
-
className: "step-header"
|
|
43
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
44
|
-
className: "step-number"
|
|
45
|
-
}, "Step 1"), /*#__PURE__*/React.createElement("div", {
|
|
46
|
-
className: "step-title"
|
|
47
|
-
}, "Select Product")), /*#__PURE__*/React.createElement("div", {
|
|
48
|
-
className: "category-section"
|
|
49
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
50
|
-
className: "category-title"
|
|
51
|
-
}, "Other"), /*#__PURE__*/React.createElement("div", {
|
|
52
|
-
className: "product-list"
|
|
53
|
-
}, renderProductCard({
|
|
54
|
-
id: '1',
|
|
55
|
-
title: 'appointment',
|
|
56
|
-
price: '1.00',
|
|
57
|
-
currency: 'AUD'
|
|
58
|
-
}))), /*#__PURE__*/React.createElement("div", {
|
|
59
|
-
className: "cart-section"
|
|
60
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
61
|
-
className: "cart-title"
|
|
62
|
-
}, "Your cart"), cartData !== null && cartData !== void 0 && (_cartData$cartItems2 = cartData.cartItems) !== null && _cartData$cartItems2 !== void 0 && _cartData$cartItems2.length ? /*#__PURE__*/React.createElement("div", {
|
|
63
|
-
className: "cart-items"
|
|
64
|
-
}, cartData.cartItems.map(function (item) {
|
|
65
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
66
|
-
key: item.id,
|
|
67
|
-
className: "cart-item"
|
|
68
|
-
}, item.title);
|
|
69
|
-
})) : /*#__PURE__*/React.createElement("div", {
|
|
70
|
-
className: "cart-empty"
|
|
71
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
72
|
-
className: "cart-empty-icon"
|
|
73
|
-
}, "\uD83D\uDED2"), /*#__PURE__*/React.createElement("div", {
|
|
74
|
-
className: "cart-empty-text"
|
|
75
|
-
}, locales.getText('pisell2.event.cart.empty')))));
|
|
76
|
-
};
|
|
77
|
-
export default SelectProduct;
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
.select-product-container {
|
|
2
|
-
padding: 24px;
|
|
3
|
-
background: #fff;
|
|
4
|
-
|
|
5
|
-
.step-header {
|
|
6
|
-
margin-bottom: 24px;
|
|
7
|
-
|
|
8
|
-
.step-number {
|
|
9
|
-
font-size: 14px;
|
|
10
|
-
color: #666;
|
|
11
|
-
margin-bottom: 8px;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.step-title {
|
|
15
|
-
font-size: 24px;
|
|
16
|
-
font-weight: 500;
|
|
17
|
-
color: #333;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.category-section {
|
|
22
|
-
margin-bottom: 24px;
|
|
23
|
-
|
|
24
|
-
.category-title {
|
|
25
|
-
font-size: 16px;
|
|
26
|
-
font-weight: 500;
|
|
27
|
-
color: #333;
|
|
28
|
-
margin-bottom: 16px;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.product-list {
|
|
32
|
-
display: grid;
|
|
33
|
-
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
|
34
|
-
gap: 16px;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.product-card {
|
|
39
|
-
cursor: pointer;
|
|
40
|
-
transition: all 0.3s;
|
|
41
|
-
|
|
42
|
-
&:hover {
|
|
43
|
-
transform: translateY(-2px);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
&.product-card-selected {
|
|
47
|
-
.pisell-card {
|
|
48
|
-
border-color: #1890ff;
|
|
49
|
-
background: rgba(24, 144, 255, 0.05);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.product-content {
|
|
54
|
-
text-align: center;
|
|
55
|
-
|
|
56
|
-
.product-title {
|
|
57
|
-
font-size: 16px;
|
|
58
|
-
color: #333;
|
|
59
|
-
margin-bottom: 8px;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.product-price {
|
|
63
|
-
font-size: 14px;
|
|
64
|
-
color: #666;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.cart-section {
|
|
70
|
-
background: #f5f5f5;
|
|
71
|
-
border-radius: 4px;
|
|
72
|
-
padding: 24px;
|
|
73
|
-
|
|
74
|
-
.cart-title {
|
|
75
|
-
font-size: 18px;
|
|
76
|
-
font-weight: 500;
|
|
77
|
-
color: #333;
|
|
78
|
-
margin-bottom: 16px;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.cart-empty {
|
|
82
|
-
text-align: center;
|
|
83
|
-
padding: 32px 0;
|
|
84
|
-
|
|
85
|
-
.cart-empty-icon {
|
|
86
|
-
font-size: 24px;
|
|
87
|
-
margin-bottom: 8px;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.cart-empty-text {
|
|
91
|
-
color: #999;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.cart-items {
|
|
96
|
-
.cart-item {
|
|
97
|
-
padding: 12px;
|
|
98
|
-
background: #fff;
|
|
99
|
-
border-radius: 4px;
|
|
100
|
-
margin-bottom: 8px;
|
|
101
|
-
|
|
102
|
-
&:last-child {
|
|
103
|
-
margin-bottom: 0;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
// 移动端适配
|
|
111
|
-
@media screen and (max-width: 768px) {
|
|
112
|
-
.select-product-container {
|
|
113
|
-
padding: 16px;
|
|
114
|
-
|
|
115
|
-
.step-header {
|
|
116
|
-
margin-bottom: 16px;
|
|
117
|
-
|
|
118
|
-
.step-title {
|
|
119
|
-
font-size: 20px;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.product-list {
|
|
124
|
-
grid-template-columns: 1fr !important;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.cart-section {
|
|
128
|
-
padding: 16px;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import dayjs from 'dayjs';
|
|
2
|
-
import isSameOrBefore from 'dayjs/plugin/isSameOrBefore';
|
|
3
|
-
import { statusList, statusMessage } from "../../../../../status";
|
|
4
|
-
import "./index.less";
|
|
5
|
-
dayjs.extend(isSameOrBefore);
|
|
6
|
-
var Status = function Status(props) {
|
|
7
|
-
var _props$type = props.type,
|
|
8
|
-
type = _props$type === void 0 ? 'call_to_book' : _props$type;
|
|
9
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
10
|
-
className: "event-calendar-status"
|
|
11
|
-
}, statusList.map(function (i) {
|
|
12
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
13
|
-
className: "item",
|
|
14
|
-
key: i.status
|
|
15
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
16
|
-
style: {
|
|
17
|
-
height: i.status == 0 ? '28px' : '4px',
|
|
18
|
-
background: i.color
|
|
19
|
-
},
|
|
20
|
-
className: "item-icon"
|
|
21
|
-
}), /*#__PURE__*/React.createElement("span", {
|
|
22
|
-
className: "item-text"
|
|
23
|
-
}, i.status === 2 ? statusMessage(type) : i.text));
|
|
24
|
-
}));
|
|
25
|
-
};
|
|
26
|
-
export default Status;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
.event-calendar-status {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-wrap: wrap;
|
|
4
|
-
|
|
5
|
-
.item {
|
|
6
|
-
display: flex;
|
|
7
|
-
align-items: center;
|
|
8
|
-
flex-shrink: 1;
|
|
9
|
-
width: 50%;
|
|
10
|
-
margin-bottom: 12px;
|
|
11
|
-
.item-icon {
|
|
12
|
-
margin-right: 10px;
|
|
13
|
-
width: 28px;
|
|
14
|
-
border-radius: 4px;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.item-text {
|
|
18
|
-
color: #344054;
|
|
19
|
-
font-size: 14px;
|
|
20
|
-
font-style: normal;
|
|
21
|
-
font-weight: 400;
|
|
22
|
-
line-height: 20px; /* 142.857% */
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
declare type CallToBookProps = {
|
|
2
|
-
show: boolean;
|
|
3
|
-
type: string;
|
|
4
|
-
shop: any;
|
|
5
|
-
};
|
|
6
|
-
export declare const defaultBookingConfig: {
|
|
7
|
-
booking_mode_after_cut_off: string;
|
|
8
|
-
};
|
|
9
|
-
declare const CallToBook: (props: CallToBookProps) => JSX.Element | null;
|
|
10
|
-
export default CallToBook;
|