@pisell/private-materials 3.2.12 → 3.2.13
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/deposit/index.d.ts +0 -1
- package/es/components/booking/forms/model.d.ts +1 -10
- 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 +3 -0
- package/es/components/booking/locales.js +3 -0
- 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/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/deposit/index.d.ts +0 -1
- package/lib/components/booking/forms/model.d.ts +1 -10
- 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 +3 -0
- package/lib/components/booking/locales.js +3 -0
- 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/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.js +0 -274
- 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
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @title: 日历状态列表
|
|
3
|
-
* @description:
|
|
4
|
-
* @return {*}
|
|
5
|
-
* @Author: WangHan
|
|
6
|
-
* @Date: 2025-01-14 10:24
|
|
7
|
-
*/
|
|
8
|
-
export declare const statusList: {
|
|
9
|
-
status: number;
|
|
10
|
-
text: any;
|
|
11
|
-
color: string;
|
|
12
|
-
}[];
|
|
13
|
-
/**
|
|
14
|
-
* @title: 日历状态文案
|
|
15
|
-
* @description:
|
|
16
|
-
* @param {string} type
|
|
17
|
-
* @return {*}
|
|
18
|
-
* @Author: WangHan
|
|
19
|
-
* @Date: 2025-01-14 11:25
|
|
20
|
-
*/
|
|
21
|
-
export declare const statusMessage: (type: string) => any;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { locales } from '@pisell/utils';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @title: 日历状态列表
|
|
5
|
-
* @description:
|
|
6
|
-
* @return {*}
|
|
7
|
-
* @Author: WangHan
|
|
8
|
-
* @Date: 2025-01-14 10:24
|
|
9
|
-
*/
|
|
10
|
-
export var statusList = [{
|
|
11
|
-
status: 0,
|
|
12
|
-
text: locales.getText('pisell2.event.calendar.limit.unavailable'),
|
|
13
|
-
color: '#EAECF0'
|
|
14
|
-
}, {
|
|
15
|
-
status: 1,
|
|
16
|
-
text: locales.getText('pisell2.event.calendar.limit.sold.out'),
|
|
17
|
-
color: '#D92D20'
|
|
18
|
-
}, {
|
|
19
|
-
status: 2,
|
|
20
|
-
text: locales.getText('pisell2.event.calendar.limit.call.to.book'),
|
|
21
|
-
color: '#444CE7'
|
|
22
|
-
}, {
|
|
23
|
-
status: 3,
|
|
24
|
-
text: locales.getText('pisell2.event.calendar.limit.filling.up.fast'),
|
|
25
|
-
color: '#CA8504'
|
|
26
|
-
}, {
|
|
27
|
-
status: 4,
|
|
28
|
-
text: locales.getText('pisell2.event.calendar.limit.lots.of.space'),
|
|
29
|
-
color: '#079455'
|
|
30
|
-
}];
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* @title: 日历状态文案
|
|
34
|
-
* @description:
|
|
35
|
-
* @param {string} type
|
|
36
|
-
* @return {*}
|
|
37
|
-
* @Author: WangHan
|
|
38
|
-
* @Date: 2025-01-14 11:25
|
|
39
|
-
*/
|
|
40
|
-
export var statusMessage = function statusMessage(type) {
|
|
41
|
-
switch (type) {
|
|
42
|
-
case 'booking_closed':
|
|
43
|
-
return locales.getText('pisell2.event.calendar.booking-closed');
|
|
44
|
-
case 'call_to_book':
|
|
45
|
-
return locales.getText('pisell2.event.calendar.call-to-book');
|
|
46
|
-
case 'email_to_book':
|
|
47
|
-
return locales.getText('pisell2.event.calendar.email-to-book');
|
|
48
|
-
default:
|
|
49
|
-
return '';
|
|
50
|
-
}
|
|
51
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare type CalendarDataItem = {
|
|
2
|
-
date: string;
|
|
3
|
-
color: string[];
|
|
4
|
-
isExcluded: boolean;
|
|
5
|
-
schedule_ids?: number[];
|
|
6
|
-
[key: string]: any;
|
|
7
|
-
};
|
|
8
|
-
export declare type CalendarItemProps = {
|
|
9
|
-
date: string;
|
|
10
|
-
status?: string | null;
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
select?: boolean;
|
|
13
|
-
onClick?: (date: string) => void;
|
|
14
|
-
showMonth?: boolean;
|
|
15
|
-
dateText: string;
|
|
16
|
-
week?: string;
|
|
17
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @title: 获取背景色
|
|
3
|
-
* @description:
|
|
4
|
-
* @param {string} colors
|
|
5
|
-
* @return {*}
|
|
6
|
-
* @Author: WangHan
|
|
7
|
-
* @Date: 2025-01-11 22:44
|
|
8
|
-
*/
|
|
9
|
-
export declare const formatBackgroundColors: (colors: string[]) => string;
|
|
10
|
-
/**
|
|
11
|
-
* @title: 获取可用的 schedule
|
|
12
|
-
* @description:
|
|
13
|
-
* @param {any} schedule
|
|
14
|
-
* @return {*}
|
|
15
|
-
* @Author: zhiwei.Wang
|
|
16
|
-
* @Date: 2024-03-05 18:05
|
|
17
|
-
*/
|
|
18
|
-
export declare const getUsableSchedules: (schedule: any) => boolean;
|
|
19
|
-
/**
|
|
20
|
-
* @title: 获取 schedules 的所有颜色
|
|
21
|
-
* @description:
|
|
22
|
-
* @param {any} schedules
|
|
23
|
-
* @return {*}
|
|
24
|
-
* @Author: zhiwei.Wang
|
|
25
|
-
* @Date: 2024-03-05 18:02
|
|
26
|
-
*/
|
|
27
|
-
export declare const getScheduleColors: (schedules: any[]) => string;
|
|
28
|
-
/**
|
|
29
|
-
* @title: 格式化日期头部日期显示
|
|
30
|
-
* @description:
|
|
31
|
-
* @param {string} dateString
|
|
32
|
-
* @return {*}
|
|
33
|
-
* @Author: WangHan
|
|
34
|
-
* @Date: 2025-01-12 11:55
|
|
35
|
-
*/
|
|
36
|
-
export declare const formatMonthDisplay: (dateString: string) => string;
|
|
37
|
-
/**
|
|
38
|
-
* @title: 资源名称
|
|
39
|
-
* @description:
|
|
40
|
-
* @param {any} data
|
|
41
|
-
* @return {*}
|
|
42
|
-
* @Author: WangHan
|
|
43
|
-
* @Date: 2025-02-11 13:39
|
|
44
|
-
*/
|
|
45
|
-
export declare const resourceTitle: (data: any) => any;
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import dayjs from 'dayjs';
|
|
2
|
-
import useEngineContext from "../../hooks/useEngineContext";
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* @title: 获取背景色
|
|
6
|
-
* @description:
|
|
7
|
-
* @param {string} colors
|
|
8
|
-
* @return {*}
|
|
9
|
-
* @Author: WangHan
|
|
10
|
-
* @Date: 2025-01-11 22:44
|
|
11
|
-
*/
|
|
12
|
-
export var formatBackgroundColors = function formatBackgroundColors(colors) {
|
|
13
|
-
var _colors = Array.from(new Set(colors.map(function (color) {
|
|
14
|
-
return color === null || color === void 0 ? void 0 : color.toLocaleLowerCase();
|
|
15
|
-
}) || [])).filter(function (d) {
|
|
16
|
-
return !!d;
|
|
17
|
-
});
|
|
18
|
-
var colorStr = _colors.map(function (color, index) {
|
|
19
|
-
return "".concat(color, " ").concat(index * 100 / _colors.length, "% ").concat((index + 1) * 100 / _colors.length, "%");
|
|
20
|
-
}).join(", ");
|
|
21
|
-
if (colorStr) {
|
|
22
|
-
return "conic-gradient(".concat(colorStr, ")");
|
|
23
|
-
}
|
|
24
|
-
return '';
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* @title: 获取可用的 schedule
|
|
29
|
-
* @description:
|
|
30
|
-
* @param {any} schedule
|
|
31
|
-
* @return {*}
|
|
32
|
-
* @Author: zhiwei.Wang
|
|
33
|
-
* @Date: 2024-03-05 18:05
|
|
34
|
-
*/
|
|
35
|
-
export var getUsableSchedules = function getUsableSchedules(schedule) {
|
|
36
|
-
if (!schedule) {
|
|
37
|
-
return true;
|
|
38
|
-
}
|
|
39
|
-
if (!schedule.minTime || !schedule.maxTime) {
|
|
40
|
-
return false;
|
|
41
|
-
}
|
|
42
|
-
var currentDate = dayjs();
|
|
43
|
-
// 如果最大时间在当前时间之前, 代表没有可用的日程
|
|
44
|
-
if (currentDate.isAfter(schedule.maxTime)) {
|
|
45
|
-
return false;
|
|
46
|
-
}
|
|
47
|
-
return true;
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* @title: 获取 schedules 的所有颜色
|
|
52
|
-
* @description:
|
|
53
|
-
* @param {any} schedules
|
|
54
|
-
* @return {*}
|
|
55
|
-
* @Author: zhiwei.Wang
|
|
56
|
-
* @Date: 2024-03-05 18:02
|
|
57
|
-
*/
|
|
58
|
-
export var getScheduleColors = function getScheduleColors(schedules) {
|
|
59
|
-
return formatBackgroundColors(schedules.map(function (d) {
|
|
60
|
-
return d.color;
|
|
61
|
-
}));
|
|
62
|
-
};
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* @title: 格式化日期头部日期显示
|
|
66
|
-
* @description:
|
|
67
|
-
* @param {string} dateString
|
|
68
|
-
* @return {*}
|
|
69
|
-
* @Author: WangHan
|
|
70
|
-
* @Date: 2025-01-12 11:55
|
|
71
|
-
*/
|
|
72
|
-
export var formatMonthDisplay = function formatMonthDisplay(dateString) {
|
|
73
|
-
var _utils$storage;
|
|
74
|
-
var context = useEngineContext();
|
|
75
|
-
var utils = context.appHelper.utils || {};
|
|
76
|
-
var locale = (utils === null || utils === void 0 || (_utils$storage = utils.storage) === null || _utils$storage === void 0 ? void 0 : _utils$storage.get('umi_locale')) || 'en-US';
|
|
77
|
-
var date = new Date(dateString + '-01');
|
|
78
|
-
return date.toLocaleString(locale, {
|
|
79
|
-
month: 'long',
|
|
80
|
-
year: 'numeric'
|
|
81
|
-
});
|
|
82
|
-
};
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* @title: 资源名称
|
|
86
|
-
* @description:
|
|
87
|
-
* @param {any} data
|
|
88
|
-
* @return {*}
|
|
89
|
-
* @Author: WangHan
|
|
90
|
-
* @Date: 2025-02-11 13:39
|
|
91
|
-
*/
|
|
92
|
-
export var resourceTitle = function resourceTitle(data) {
|
|
93
|
-
var _data$initData, _form$setting, _context$appHelper, _translation;
|
|
94
|
-
var context = useEngineContext();
|
|
95
|
-
var form = data === null || data === void 0 || (_data$initData = data.initData) === null || _data$initData === void 0 || (_data$initData = _data$initData.boardSetting) === null || _data$initData === void 0 || (_data$initData = _data$initData.event_v2_form) === null || _data$initData === void 0 ? void 0 : _data$initData.form;
|
|
96
|
-
var title = (form === null || form === void 0 || (_form$setting = form.setting) === null || _form$setting === void 0 ? void 0 : _form$setting.title) || (form === null || form === void 0 ? void 0 : form.title);
|
|
97
|
-
var translation = context === null || context === void 0 || (_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 || (_context$appHelper = _context$appHelper.utils) === null || _context$appHelper === void 0 ? void 0 : _context$appHelper.translation;
|
|
98
|
-
return (_translation = translation(title)) === null || _translation === void 0 ? void 0 : _translation.toLowerCase();
|
|
99
|
-
};
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __export = (target, all) => {
|
|
8
|
-
for (var name in all)
|
|
9
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
-
};
|
|
11
|
-
var __copyProps = (to, from, except, desc) => {
|
|
12
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
-
for (let key of __getOwnPropNames(from))
|
|
14
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
-
}
|
|
17
|
-
return to;
|
|
18
|
-
};
|
|
19
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
-
mod
|
|
26
|
-
));
|
|
27
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
-
|
|
29
|
-
// src/components/eventBooking/components/Provider/SelectProduct/index.tsx
|
|
30
|
-
var SelectProduct_exports = {};
|
|
31
|
-
__export(SelectProduct_exports, {
|
|
32
|
-
default: () => SelectProduct_default
|
|
33
|
-
});
|
|
34
|
-
module.exports = __toCommonJS(SelectProduct_exports);
|
|
35
|
-
var import_react = __toESM(require("react"));
|
|
36
|
-
var import_Sales = require("../../../Sales");
|
|
37
|
-
var import_utils = require("@pisell/utils");
|
|
38
|
-
var import_materials = require("@pisell/materials");
|
|
39
|
-
var import_index = require("./index.less");
|
|
40
|
-
var SelectProduct = () => {
|
|
41
|
-
var _a;
|
|
42
|
-
const { data } = (0, import_Sales.useSales)();
|
|
43
|
-
const { addToCart, cartData } = (0, import_Sales.useCart)();
|
|
44
|
-
const handleAddToCart = (product) => {
|
|
45
|
-
addToCart(product);
|
|
46
|
-
};
|
|
47
|
-
const renderProductCard = (product) => {
|
|
48
|
-
var _a2;
|
|
49
|
-
const isSelected = (_a2 = cartData == null ? void 0 : cartData.cartItems) == null ? void 0 : _a2.some(
|
|
50
|
-
(item) => item.id === product.id
|
|
51
|
-
);
|
|
52
|
-
return /* @__PURE__ */ import_react.default.createElement(
|
|
53
|
-
"div",
|
|
54
|
-
{
|
|
55
|
-
key: product.id,
|
|
56
|
-
className: `product-card ${isSelected ? "product-card-selected" : ""}`,
|
|
57
|
-
onClick: () => handleAddToCart(product)
|
|
58
|
-
},
|
|
59
|
-
/* @__PURE__ */ import_react.default.createElement(import_materials.PisellCard, { bodyStyle: { padding: "16px" } }, /* @__PURE__ */ import_react.default.createElement("div", { className: "product-content" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "product-title" }, product.title), /* @__PURE__ */ import_react.default.createElement("div", { className: "product-price" }, product.price, " ", product.currency)))
|
|
60
|
-
);
|
|
61
|
-
};
|
|
62
|
-
return /* @__PURE__ */ import_react.default.createElement("div", { className: "select-product-container" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "step-header" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "step-number" }, "Step 1"), /* @__PURE__ */ import_react.default.createElement("div", { className: "step-title" }, "Select Product")), /* @__PURE__ */ import_react.default.createElement("div", { className: "category-section" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "category-title" }, "Other"), /* @__PURE__ */ import_react.default.createElement("div", { className: "product-list" }, renderProductCard({
|
|
63
|
-
id: "1",
|
|
64
|
-
title: "appointment",
|
|
65
|
-
price: "1.00",
|
|
66
|
-
currency: "AUD"
|
|
67
|
-
}))), /* @__PURE__ */ import_react.default.createElement("div", { className: "cart-section" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "cart-title" }, "Your cart"), ((_a = cartData == null ? void 0 : cartData.cartItems) == null ? void 0 : _a.length) ? /* @__PURE__ */ import_react.default.createElement("div", { className: "cart-items" }, cartData.cartItems.map((item) => /* @__PURE__ */ import_react.default.createElement("div", { key: item.id, className: "cart-item" }, item.title))) : /* @__PURE__ */ import_react.default.createElement("div", { className: "cart-empty" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "cart-empty-icon" }, "🛒"), /* @__PURE__ */ import_react.default.createElement("div", { className: "cart-empty-text" }, import_utils.locales.getText("pisell2.event.cart.empty")))));
|
|
68
|
-
};
|
|
69
|
-
var SelectProduct_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
|
-
}
|
|
Binary file
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g id="calendar-heart-01">
|
|
3
|
-
<path id="Icon" d="M14 5.33333H2M10.6667 1.33333V3.33333M5.33333 1.33333V3.33333M5.2 14.6667H10.8C11.9201 14.6667 12.4802 14.6667 12.908 14.4487C13.2843 14.2569 13.5903 13.951 13.782 13.5746C14 13.1468 14 12.5868 14 11.4667V5.86666C14 4.74656 14 4.1865 13.782 3.75868C13.5903 3.38236 13.2843 3.0764 12.908 2.88465C12.4802 2.66666 11.9201 2.66666 10.8 2.66666H5.2C4.0799 2.66666 3.51984 2.66666 3.09202 2.88465C2.71569 3.0764 2.40973 3.38236 2.21799 3.75868C2 4.1865 2 4.74656 2 5.86666V11.4667C2 12.5868 2 13.1468 2.21799 13.5746C2.40973 13.951 2.71569 14.2569 3.09202 14.4487C3.51984 14.6667 4.0799 14.6667 5.2 14.6667ZM7.99817 8.22039C7.46501 7.6144 6.57593 7.45138 5.90792 8.0063C5.23991 8.56121 5.14586 9.48899 5.67045 10.1453C6.05133 10.6218 7.10618 11.5598 7.65555 12.0379C7.77465 12.1416 7.8342 12.1934 7.90398 12.214C7.96442 12.2318 8.03192 12.2318 8.09237 12.214C8.16215 12.1934 8.2217 12.1416 8.34079 12.0379C8.89017 11.5598 9.94502 10.6218 10.3259 10.1453C10.8505 9.48899 10.7679 8.55537 10.0884 8.0063C9.40893 7.45722 8.53133 7.6144 7.99817 8.22039Z" stroke="#101828" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
-
</g>
|
|
5
|
-
</svg>
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g id="compass-03" clip-path="url(#clip0_4360_1258)">
|
|
3
|
-
<g id="Icon">
|
|
4
|
-
<path d="M8.00004 14.6667C11.6819 14.6667 14.6667 11.6819 14.6667 8C14.6667 4.3181 11.6819 1.33334 8.00004 1.33334C4.31814 1.33334 1.33337 4.3181 1.33337 8C1.33337 11.6819 4.31814 14.6667 8.00004 14.6667Z" stroke="#101828" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5
|
-
<path d="M9.81478 5.51065C10.1405 5.40208 10.3033 5.3478 10.4116 5.38641C10.5059 5.42002 10.58 5.49418 10.6136 5.58842C10.6522 5.69672 10.598 5.85957 10.4894 6.18527L9.4977 9.16035C9.46678 9.25311 9.45132 9.29949 9.42497 9.33801C9.40164 9.37212 9.37216 9.4016 9.33805 9.42494C9.29953 9.45128 9.25315 9.46674 9.16039 9.49766L6.1853 10.4894C5.85961 10.5979 5.69676 10.6522 5.58846 10.6136C5.49422 10.58 5.42006 10.5058 5.38645 10.4116C5.34783 10.3033 5.40212 10.1404 5.51068 9.81474L6.50238 6.83965C6.5333 6.74689 6.54876 6.70051 6.57511 6.662C6.59844 6.62788 6.62792 6.5984 6.66203 6.57507C6.70055 6.54872 6.74693 6.53326 6.83969 6.50234L9.81478 5.51065Z" stroke="#101828" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"/>
|
|
6
|
-
</g>
|
|
7
|
-
</g>
|
|
8
|
-
<defs>
|
|
9
|
-
<clipPath id="clip0_4360_1258">
|
|
10
|
-
<rect width="16" height="16" fill="white"/>
|
|
11
|
-
</clipPath>
|
|
12
|
-
</defs>
|
|
13
|
-
</svg>
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g id="image-03">
|
|
3
|
-
<path id="Icon" d="M6.40814 31.0919L16.3029 21.1971C16.897 20.603 17.194 20.306 17.5365 20.1947C17.8377 20.0968 18.1623 20.0968 18.4635 20.1947C18.806 20.306 19.103 20.603 19.6971 21.1971L29.5259 31.0259M21 22.5L25.3029 18.1971C25.897 17.603 26.194 17.306 26.5365 17.1947C26.8377 17.0968 27.1623 17.0968 27.4635 17.1947C27.806 17.306 28.103 17.603 28.6971 18.1971L33 22.5M15 13.5C15 15.1569 13.6569 16.5 12 16.5C10.3431 16.5 9 15.1569 9 13.5C9 11.8431 10.3431 10.5 12 10.5C13.6569 10.5 15 11.8431 15 13.5ZM10.2 31.5H25.8C28.3202 31.5 29.5804 31.5 30.543 31.0095C31.3897 30.5781 32.0781 29.8897 32.5095 29.043C33 28.0804 33 26.8202 33 24.3V11.7C33 9.17976 33 7.91965 32.5095 6.95704C32.0781 6.11031 31.3897 5.4219 30.543 4.99047C29.5804 4.5 28.3202 4.5 25.8 4.5H10.2C7.67976 4.5 6.41965 4.5 5.45704 4.99047C4.61031 5.4219 3.9219 6.11031 3.49047 6.95704C3 7.91965 3 9.17976 3 11.7V24.3C3 26.8202 3 28.0804 3.49047 29.043C3.9219 29.8897 4.61031 30.5781 5.45704 31.0095C6.41965 31.5 7.67976 31.5 10.2 31.5Z" stroke="#98A2B3" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
-
</g>
|
|
5
|
-
</svg>
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g id="phone">
|
|
3
|
-
<path id="Icon" d="M5.58685 5.90215C6.05085 6.86856 6.68338 7.77433 7.48443 8.57538C8.28548 9.37643 9.19124 10.009 10.1577 10.473C10.2408 10.5129 10.2823 10.5328 10.3349 10.5482C10.5218 10.6026 10.7513 10.5635 10.9096 10.4502C10.9542 10.4183 10.9923 10.3802 11.0685 10.304C11.3016 10.0709 11.4181 9.95435 11.5353 9.87816C11.9772 9.59083 12.5469 9.59083 12.9889 9.87816C13.106 9.95435 13.2226 10.0709 13.4556 10.304L13.5856 10.4339C13.9399 10.7882 14.117 10.9653 14.2132 11.1556C14.4046 11.5339 14.4046 11.9808 14.2132 12.3592C14.117 12.5494 13.9399 12.7266 13.5856 13.0809L13.4805 13.1859C13.1274 13.539 12.9508 13.7156 12.7108 13.8504C12.4445 14 12.0308 14.1076 11.7253 14.1067C11.45 14.1059 11.2619 14.0525 10.8856 13.9456C8.86333 13.3717 6.95509 12.2887 5.36311 10.6967C3.77112 9.10471 2.68814 7.19647 2.11416 5.17421C2.00735 4.79791 1.95395 4.60976 1.95313 4.33446C1.95222 4.02898 2.0598 3.61532 2.20941 3.34898C2.34424 3.10896 2.52078 2.93242 2.87386 2.57934L2.97895 2.47425C3.33325 2.11995 3.5104 1.94281 3.70065 1.84658C4.07903 1.6552 4.52587 1.6552 4.90424 1.84658C5.0945 1.94281 5.27164 2.11995 5.62594 2.47425L5.75585 2.60416C5.98892 2.83723 6.10546 2.95377 6.18165 3.07095C6.46898 3.51288 6.46898 4.0826 6.18165 4.52453C6.10546 4.64171 5.98892 4.75825 5.75585 4.99132C5.67964 5.06753 5.64154 5.10563 5.60965 5.15017C5.49631 5.30846 5.45717 5.53796 5.51165 5.72487C5.52698 5.77746 5.54694 5.81902 5.58685 5.90215Z" stroke="#101828" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
-
</g>
|
|
5
|
-
</svg>
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g id="shopping-cart-01" clip-path="url(#clip0_12002_1017)">
|
|
3
|
-
<path id="Icon" d="M1.6665 1.66663H2.75497C2.95999 1.66663 3.0625 1.66663 3.14499 1.70433C3.21769 1.73755 3.27929 1.79098 3.32246 1.85825C3.37145 1.93458 3.38595 2.03606 3.41494 2.23901L3.80936 4.99996M3.80936 4.99996L4.68594 11.4428C4.79718 12.2604 4.85279 12.6692 5.04825 12.9769C5.22049 13.2481 5.46741 13.4637 5.7593 13.5978C6.09056 13.75 6.50312 13.75 7.32826 13.75H14.4598C15.2453 13.75 15.638 13.75 15.959 13.6086C16.242 13.484 16.4847 13.2832 16.6601 13.0285C16.8589 12.7396 16.9324 12.3538 17.0794 11.5823L18.1824 5.79137C18.2342 5.5198 18.26 5.38401 18.2225 5.27788C18.1897 5.18477 18.1248 5.10636 18.0395 5.05664C17.9422 4.99996 17.804 4.99996 17.5275 4.99996H3.80936ZM8.33317 17.5C8.33317 17.9602 7.96007 18.3333 7.49984 18.3333C7.0396 18.3333 6.6665 17.9602 6.6665 17.5C6.6665 17.0397 7.0396 16.6666 7.49984 16.6666C7.96007 16.6666 8.33317 17.0397 8.33317 17.5ZM14.9998 17.5C14.9998 17.9602 14.6267 18.3333 14.1665 18.3333C13.7063 18.3333 13.3332 17.9602 13.3332 17.5C13.3332 17.0397 13.7063 16.6666 14.1665 16.6666C14.6267 16.6666 14.9998 17.0397 14.9998 17.5Z" stroke="#344054" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
-
</g>
|
|
5
|
-
<defs>
|
|
6
|
-
<clipPath id="clip0_12002_1017">
|
|
7
|
-
<rect width="20" height="20" fill="white"/>
|
|
8
|
-
</clipPath>
|
|
9
|
-
</defs>
|
|
10
|
-
</svg>
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
|
|
19
|
-
// src/components/parallelResourceBooking/components/ErrorTip/index.tsx
|
|
20
|
-
var ErrorTip_exports = {};
|
|
21
|
-
__export(ErrorTip_exports, {
|
|
22
|
-
default: () => ErrorTip_default
|
|
23
|
-
});
|
|
24
|
-
module.exports = __toCommonJS(ErrorTip_exports);
|
|
25
|
-
var import_materials = require("@pisell/materials");
|
|
26
|
-
var import_index = require("./index.less");
|
|
27
|
-
var ErrorTip = ({ text }) => {
|
|
28
|
-
return /* @__PURE__ */ React.createElement("div", { className: "event-booking-error-tip" }, /* @__PURE__ */ React.createElement("div", { className: "error-icon-wrapper" }, /* @__PURE__ */ React.createElement(import_materials.Iconfont, { type: "pisell2-alert-circle", className: "icon-warning" })), /* @__PURE__ */ React.createElement("span", null, text));
|
|
29
|
-
};
|
|
30
|
-
var ErrorTip_default = ErrorTip;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
.event-booking-error-tip {
|
|
2
|
-
margin-bottom: 16px;
|
|
3
|
-
display: flex;
|
|
4
|
-
align-items: center;
|
|
5
|
-
padding: 6px 16px 6px 6px;
|
|
6
|
-
gap: 16px;
|
|
7
|
-
align-self: stretch;
|
|
8
|
-
border-radius: 12px;
|
|
9
|
-
border: 1px solid var(--Error-300, #fda29b);
|
|
10
|
-
background: var(--Error-25, #fffbfa);
|
|
11
|
-
box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
|
|
12
|
-
color: var(--Error-700, #b42318);
|
|
13
|
-
font-size: 14px;
|
|
14
|
-
font-weight: 600;
|
|
15
|
-
|
|
16
|
-
.error-icon-wrapper {
|
|
17
|
-
position: relative;
|
|
18
|
-
width: 38px;
|
|
19
|
-
height: 38px;
|
|
20
|
-
display: flex;
|
|
21
|
-
align-items: center;
|
|
22
|
-
justify-content: center;
|
|
23
|
-
|
|
24
|
-
&::before {
|
|
25
|
-
content: '';
|
|
26
|
-
position: absolute;
|
|
27
|
-
width: 38px;
|
|
28
|
-
height: 38px;
|
|
29
|
-
border-radius: 50%;
|
|
30
|
-
border: 2px solid var(--Error-600, #d92d20);
|
|
31
|
-
opacity: 0.1;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
&::after {
|
|
35
|
-
content: '';
|
|
36
|
-
position: absolute;
|
|
37
|
-
width: 28px;
|
|
38
|
-
height: 28px;
|
|
39
|
-
border-radius: 50%;
|
|
40
|
-
border: 2px solid var(--Error-600, #d92d20);
|
|
41
|
-
opacity: 0.3;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.icon-warning {
|
|
45
|
-
position: relative;
|
|
46
|
-
z-index: 1;
|
|
47
|
-
font-size: 20px;
|
|
48
|
-
color: #ff4d4f;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|