@pisell/private-materials 3.2.11 → 3.2.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +8 -8
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +8 -8
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +8 -8
- package/es/businessModel/SalesModel/index.d.ts +0 -1
- package/{lib/components/parallelResourcBooking/components/Provider → es/components/appointmentBooking/components}/Content/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Content/index.js +78 -0
- package/es/components/appointmentBooking/components/Content/index.less +51 -0
- package/es/components/appointmentBooking/components/Date/index.d.ts +3 -0
- package/es/components/appointmentBooking/components/Date/index.js +168 -0
- package/es/components/{parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate → appointmentBooking/components/Date}/index.less +27 -16
- package/{lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate → es/components/appointmentBooking/components/Date}/state.d.ts +0 -1
- package/es/components/{parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate → appointmentBooking/components/Date}/state.js +4 -42
- package/es/components/{parallelResourcBooking/components/Provider → appointmentBooking/components}/Footer/index.d.ts +0 -1
- package/es/components/{parallelResourcBooking/components/Provider → appointmentBooking/components}/Footer/index.js +20 -39
- package/es/components/{parallelResourcBooking/components/Provider → appointmentBooking/components}/Header/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Header/index.js +44 -0
- package/es/components/{parallelResourcBooking/components/Provider → appointmentBooking/components}/Information/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Information/index.js +178 -0
- package/{lib/components/parallelResourcBooking → es/components/appointmentBooking}/components/Provider/Cart/ContinueButton/index.d.ts +0 -1
- package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Cart/ContinueButton/index.js +75 -107
- package/{lib/components/parallelResourcBooking → es/components/appointmentBooking}/components/Provider/Cart/Item/Total.d.ts +0 -1
- package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Cart/Item/Total.js +18 -8
- package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Cart/Item/index.d.ts +0 -1
- package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Cart/Item/index.js +27 -22
- package/{lib/components/parallelResourcBooking → es/components/appointmentBooking}/components/Provider/Cart/index.d.ts +0 -1
- package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Content/index.d.ts +0 -1
- package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Content/index.js +7 -8
- package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/EmptyHolderModal/index.d.ts +0 -1
- package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Event/index.d.ts +0 -1
- package/{lib/components/parallelResourcBooking → es/components/appointmentBooking}/components/Provider/Information/index.d.ts +0 -1
- package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/InformationOptionsModal/index.d.ts +0 -1
- package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/OrderProductModal/index.d.ts +0 -1
- package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
- package/{lib/components/parallelResourcBooking → es/components/appointmentBooking}/components/Provider/Resource/index.d.ts +0 -1
- package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/SelectHolderModal.d.ts +0 -1
- package/es/components/{parallelResourcBooking/components/Provider → appointmentBooking/components}/Resource/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Resource/index.js +68 -0
- package/es/components/appointmentBooking/components/Resource/index.less +0 -0
- package/es/components/appointmentBooking/components/Services/index.d.ts +3 -0
- package/es/components/appointmentBooking/components/Services/index.js +205 -0
- package/es/components/appointmentBooking/components/Services/index.less +17 -0
- package/es/components/appointmentBooking/components/TimeSlicing/index.d.ts +3 -0
- package/es/components/appointmentBooking/components/TimeSlicing/index.js +780 -0
- package/es/components/appointmentBooking/components/TimeSlicing/index.less +23 -0
- package/es/components/appointmentBooking/hooks.d.ts +25 -0
- package/es/components/appointmentBooking/hooks.js +191 -0
- package/es/components/appointmentBooking/index.d.ts +3 -0
- package/es/components/appointmentBooking/index.js +25 -0
- package/{lib/components/parallelResourcBooking → es/components/appointmentBooking}/index.less +5 -4
- package/{lib/components/parallelResourcBooking → es/components/appointmentBooking}/locales.d.ts +3 -0
- package/es/components/{parallelResourcBooking → appointmentBooking}/locales.js +6 -3
- package/es/components/booking/components/TabProduct/index.d.ts +0 -1
- package/es/components/booking/components/footer/index.d.ts +0 -1
- package/es/components/booking/deposit/index.d.ts +0 -1
- package/es/components/booking/forms/single/index.d.ts +0 -1
- package/es/components/booking/info/addServiceVariant/index.d.ts +0 -1
- package/es/components/booking/info/header/index.d.ts +0 -1
- package/es/components/booking/info/index.d.ts +0 -1
- package/es/components/booking/info/service/addService/index.d.ts +0 -1
- package/es/components/booking/info/service/addTimeModal/index.d.ts +0 -1
- package/es/components/booking/info2/service/addService/index.d.ts +0 -1
- package/es/components/booking/info2/service/addTimeModal/index.d.ts +0 -1
- package/es/components/booking/materiels/contacts/index.d.ts +0 -1
- package/es/components/eftpos/form/index.d.ts +0 -1
- package/es/components/eftpos/hooks.d.ts +0 -1
- package/es/components/eftpos/index.d.ts +0 -1
- package/es/components/eftpos/pos.d.ts +0 -1
- package/es/components/eftpos/surcharge/index.d.ts +0 -1
- package/es/components/eftposPay/amount.d.ts +1 -1
- package/es/components/eftposPay/app.d.ts +0 -1
- package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -1
- package/es/components/eftposPay/component/fail/index.d.ts +0 -1
- package/es/components/eftposPay/component/fail/network.d.ts +0 -1
- package/es/components/eftposPay/component/fail/unknow.d.ts +0 -1
- package/es/components/eftposPay/component/manual/index.d.ts +0 -1
- package/es/components/eftposPay/component/signature/index.d.ts +0 -1
- package/es/components/eftposPay/device.d.ts +1 -1
- package/es/components/eftposPay/hooks.d.ts +1 -1
- package/es/components/eftposPay/index.d.ts +0 -1
- package/es/components/eftposPay/pay.d.ts +0 -1
- package/es/components/eftposPay/store/index.d.ts +1 -1
- package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
- package/es/components/eventBooking/components/resourceDisplay/index.js +2 -2
- package/es/components/eventBooking/components/resourceDisplay/index.less +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
- package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
- package/es/components/eventBooking/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/index.d.ts +0 -1
- package/es/components/productExtension/fields/Forms/index.d.ts +0 -1
- package/es/components/productExtension/index.d.ts +0 -1
- package/es/components/ruleSetting/index.d.ts +0 -1
- package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
- package/es/components/schedules/components/ScheduleList/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
- package/es/components/schedules/products/index.d.ts +0 -1
- package/es/components/schedules/resources/index.d.ts +0 -1
- package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
- package/es/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
- package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
- package/es/components/schedules/schedules/index.d.ts +0 -1
- package/es/components/taxSelect/index.d.ts +0 -1
- package/es/components/wallet/hooks/useWalletCard.d.ts +0 -1
- package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
- package/es/hooks/useEngineContext.d.ts +1 -0
- package/es/hooks/useEngineContext.js +7 -0
- package/es/index.d.ts +1 -0
- package/es/index.js +2 -1
- package/lib/businessModel/SalesModel/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Content/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Content/index.js +94 -0
- package/lib/components/appointmentBooking/components/Content/index.less +51 -0
- package/lib/components/appointmentBooking/components/Date/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Date/index.js +141 -0
- package/lib/components/{parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate → appointmentBooking/components/Date}/index.less +27 -16
- package/{es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate → lib/components/appointmentBooking/components/Date}/state.d.ts +0 -1
- package/lib/components/{parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate → appointmentBooking/components/Date}/state.js +5 -8
- package/lib/components/{parallelResourcBooking/components/Provider → appointmentBooking/components}/Footer/index.d.ts +0 -1
- package/lib/components/{parallelResourcBooking/components/Provider → appointmentBooking/components}/Footer/index.js +15 -33
- package/lib/components/{parallelResourcBooking/components/Provider → appointmentBooking/components}/Header/index.d.ts +0 -1
- package/lib/components/{parallelResourcBooking/components/Provider → appointmentBooking/components}/Header/index.js +11 -31
- package/lib/components/appointmentBooking/components/Header/index.less +0 -0
- package/lib/components/appointmentBooking/components/Information/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Information/index.js +151 -0
- package/lib/components/appointmentBooking/components/Information/index.less +92 -0
- package/{es/components/parallelResourcBooking → lib/components/appointmentBooking}/components/Provider/Cart/ContinueButton/index.d.ts +0 -1
- package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Cart/ContinueButton/index.js +24 -65
- package/lib/components/appointmentBooking/components/Provider/Cart/ContinueButton/index.less +0 -0
- package/{es/components/parallelResourcBooking → lib/components/appointmentBooking}/components/Provider/Cart/Item/Total.d.ts +0 -1
- package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Cart/Item/Total.js +10 -13
- package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Cart/Item/index.d.ts +0 -1
- package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Cart/Item/index.js +18 -17
- package/{es/components/parallelResourcBooking → lib/components/appointmentBooking}/components/Provider/Cart/index.d.ts +0 -1
- package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Cart/index.js +1 -1
- package/lib/components/appointmentBooking/components/Provider/Content/index.d.ts +3 -0
- package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Content/index.js +6 -6
- package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/EmptyHolderModal/index.d.ts +0 -1
- package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/EmptyHolderModal/index.js +1 -1
- package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Event/index.d.ts +0 -1
- package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Event/index.js +1 -1
- package/lib/components/appointmentBooking/components/Provider/Information/index.d.ts +3 -0
- package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Information/index.js +1 -1
- package/lib/components/appointmentBooking/components/Provider/Information/index.less +92 -0
- package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/InformationOptionsModal/index.d.ts +0 -1
- package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/InformationOptionsModal/index.js +1 -1
- package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/OrderProductModal/index.d.ts +0 -1
- package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/OrderProductModal/index.js +1 -1
- package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
- package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/RemoveOptionConfirmModal.js +1 -1
- package/lib/components/appointmentBooking/components/Provider/Resource/index.d.ts +3 -0
- package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Resource/index.js +1 -1
- package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/SelectHolderModal.d.ts +0 -1
- package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/SelectHolderModal.js +1 -1
- package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/SelectProduct/index.js +1 -1
- package/lib/components/appointmentBooking/components/Resource/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Resource/index.js +99 -0
- package/lib/components/appointmentBooking/components/Resource/index.less +0 -0
- package/lib/components/appointmentBooking/components/Services/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Services/index.js +255 -0
- package/lib/components/appointmentBooking/components/Services/index.less +17 -0
- package/lib/components/appointmentBooking/components/TimeSlicing/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/TimeSlicing/index.js +990 -0
- package/lib/components/appointmentBooking/components/TimeSlicing/index.less +23 -0
- package/lib/components/appointmentBooking/hooks.d.ts +25 -0
- package/lib/components/appointmentBooking/hooks.js +154 -0
- package/lib/components/appointmentBooking/index.d.ts +3 -0
- package/lib/components/{parallelResourcBooking → appointmentBooking}/index.js +19 -32
- package/{es/components/parallelResourcBooking → lib/components/appointmentBooking}/index.less +5 -4
- package/{es/components/parallelResourcBooking → lib/components/appointmentBooking}/locales.d.ts +3 -0
- package/lib/components/{parallelResourcBooking → appointmentBooking}/locales.js +7 -4
- package/lib/components/{parallelResourcBooking → appointmentBooking}/mock.js +1 -1
- package/lib/components/{parallelResourcBooking → appointmentBooking}/status.js +1 -1
- package/lib/components/{parallelResourcBooking → appointmentBooking}/type.js +1 -1
- package/lib/components/{parallelResourcBooking → appointmentBooking}/utils.js +1 -1
- package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
- package/lib/components/booking/components/footer/index.d.ts +0 -1
- package/lib/components/booking/deposit/index.d.ts +0 -1
- package/lib/components/booking/forms/single/index.d.ts +0 -1
- package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -1
- package/lib/components/booking/info/header/index.d.ts +0 -1
- package/lib/components/booking/info/index.d.ts +0 -1
- package/lib/components/booking/info/service/addService/index.d.ts +0 -1
- package/lib/components/booking/info/service/addTimeModal/index.d.ts +0 -1
- package/lib/components/booking/info2/service/addService/index.d.ts +0 -1
- package/lib/components/booking/info2/service/addTimeModal/index.d.ts +0 -1
- package/lib/components/booking/materiels/contacts/index.d.ts +0 -1
- package/lib/components/eftpos/form/index.d.ts +0 -1
- package/lib/components/eftpos/hooks.d.ts +0 -1
- package/lib/components/eftpos/index.d.ts +0 -1
- package/lib/components/eftpos/pos.d.ts +0 -1
- package/lib/components/eftpos/surcharge/index.d.ts +0 -1
- package/lib/components/eftposPay/amount.d.ts +1 -1
- package/lib/components/eftposPay/app.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/index.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/network.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -1
- package/lib/components/eftposPay/component/manual/index.d.ts +0 -1
- package/lib/components/eftposPay/component/signature/index.d.ts +0 -1
- package/lib/components/eftposPay/device.d.ts +1 -1
- package/lib/components/eftposPay/hooks.d.ts +1 -1
- package/lib/components/eftposPay/index.d.ts +0 -1
- package/lib/components/eftposPay/pay.d.ts +0 -1
- package/lib/components/eftposPay/store/index.d.ts +1 -1
- package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
- package/lib/components/eventBooking/components/resourceDisplay/index.js +2 -2
- package/lib/components/eventBooking/components/resourceDisplay/index.less +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
- package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
- package/lib/components/eventBooking/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/index.d.ts +0 -1
- package/lib/components/productExtension/fields/Forms/index.d.ts +0 -1
- package/lib/components/productExtension/index.d.ts +0 -1
- package/lib/components/ruleSetting/index.d.ts +0 -1
- package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
- package/lib/components/schedules/components/ScheduleList/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
- package/lib/components/schedules/products/index.d.ts +0 -1
- package/lib/components/schedules/resources/index.d.ts +0 -1
- package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
- package/lib/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
- package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
- package/lib/components/schedules/schedules/index.d.ts +0 -1
- package/lib/components/taxSelect/index.d.ts +0 -1
- package/lib/components/wallet/hooks/useWalletCard.d.ts +0 -1
- package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
- package/lib/hooks/useEngineContext.d.ts +1 -0
- package/lib/hooks/useEngineContext.js +14 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +3 -0
- package/lowcode/parallel-resource-booking/meta.ts +69 -0
- package/package.json +2 -2
- package/es/components/parallelResourcBooking/components/ErrorTip/index.d.ts +0 -4
- package/es/components/parallelResourcBooking/components/ErrorTip/index.js +0 -14
- package/es/components/parallelResourcBooking/components/ErrorTip/index.less +0 -51
- package/es/components/parallelResourcBooking/components/OpenCard/index.d.ts +0 -4
- package/es/components/parallelResourcBooking/components/OpenCard/index.js +0 -65
- package/es/components/parallelResourcBooking/components/OpenCard/index.less +0 -52
- package/es/components/parallelResourcBooking/components/Provider/Header/index.js +0 -75
- package/es/components/parallelResourcBooking/components/Provider/Header/index.less +0 -2
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -4
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.js +0 -26
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.less +0 -25
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -11
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.js +0 -65
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.less +0 -32
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -4
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.js +0 -69
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.less +0 -12
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -13
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.js +0 -152
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.less +0 -35
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -4
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.js +0 -20
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.less +0 -28
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -5
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.js +0 -38
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.less +0 -87
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -4
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.js +0 -28
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.less +0 -25
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.d.ts +0 -4
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.js +0 -269
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.d.ts +0 -4
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.js +0 -173
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.less +0 -4
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/index.d.ts +0 -14
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/index.js +0 -36
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/index.less +0 -2
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/utils.d.ts +0 -34
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/utils.js +0 -70
- package/es/components/parallelResourcBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -3
- package/es/components/parallelResourcBooking/components/bookingDetailModal/components/BookingOptions.js +0 -38
- package/es/components/parallelResourcBooking/components/bookingDetailModal/components/Resource.d.ts +0 -3
- package/es/components/parallelResourcBooking/components/bookingDetailModal/components/Resource.js +0 -33
- package/es/components/parallelResourcBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -3
- package/es/components/parallelResourcBooking/components/bookingDetailModal/components/Schedule.js +0 -30
- package/es/components/parallelResourcBooking/components/bookingDetailModal/index.d.ts +0 -7
- package/es/components/parallelResourcBooking/components/bookingDetailModal/index.js +0 -337
- package/es/components/parallelResourcBooking/components/bookingDetailModal/index.less +0 -82
- package/es/components/parallelResourcBooking/components/bookingServiceList/index.d.ts +0 -17
- package/es/components/parallelResourcBooking/components/bookingServiceList/index.js +0 -52
- package/es/components/parallelResourcBooking/components/bookingServiceList/index.less +0 -6
- package/es/components/parallelResourcBooking/components/eventCard/index.d.ts +0 -14
- package/es/components/parallelResourcBooking/components/eventCard/index.js +0 -116
- package/es/components/parallelResourcBooking/components/eventCard/index.less +0 -81
- package/es/components/parallelResourcBooking/components/productCard/index.d.ts +0 -16
- package/es/components/parallelResourcBooking/components/productCard/index.js +0 -79
- package/es/components/parallelResourcBooking/components/productCard/index.less +0 -60
- package/es/components/parallelResourcBooking/components/progressBar/index.d.ts +0 -16
- package/es/components/parallelResourcBooking/components/progressBar/index.js +0 -93
- package/es/components/parallelResourcBooking/components/progressBar/index.less +0 -15
- package/es/components/parallelResourcBooking/components/resourceDisplay/index.d.ts +0 -23
- package/es/components/parallelResourcBooking/components/resourceDisplay/index.js +0 -148
- package/es/components/parallelResourcBooking/components/resourceDisplay/index.less +0 -95
- package/es/components/parallelResourcBooking/components/resourceUsability/index.d.ts +0 -12
- package/es/components/parallelResourcBooking/components/resourceUsability/index.js +0 -44
- package/es/components/parallelResourcBooking/components/resourceUsability/index.less +0 -40
- package/es/components/parallelResourcBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -10
- package/es/components/parallelResourcBooking/components/scheduleCalendar/ProductItem/index.js +0 -37
- package/es/components/parallelResourcBooking/components/scheduleCalendar/ProductItem/index.less +0 -58
- package/es/components/parallelResourcBooking/components/scheduleCalendar/calendarItem.d.ts +0 -12
- package/es/components/parallelResourcBooking/components/scheduleCalendar/calendarItem.js +0 -127
- package/es/components/parallelResourcBooking/components/scheduleCalendar/index.d.ts +0 -13
- package/es/components/parallelResourcBooking/components/scheduleCalendar/index.js +0 -142
- package/es/components/parallelResourcBooking/components/scheduleCalendar/index.less +0 -222
- package/es/components/parallelResourcBooking/components/selectHolder/index.d.ts +0 -22
- package/es/components/parallelResourcBooking/components/selectHolder/index.js +0 -118
- package/es/components/parallelResourcBooking/components/selectHolder/index.less +0 -70
- package/es/components/parallelResourcBooking/components/timeResourceSelector/index.d.ts +0 -20
- package/es/components/parallelResourcBooking/components/timeResourceSelector/index.js +0 -168
- package/es/components/parallelResourcBooking/components/timeResourceSelector/index.less +0 -74
- package/es/components/parallelResourcBooking/index.d.ts +0 -4
- package/es/components/parallelResourcBooking/index.js +0 -58
- package/lib/components/parallelResourcBooking/components/ErrorTip/index.d.ts +0 -4
- package/lib/components/parallelResourcBooking/components/ErrorTip/index.js +0 -30
- package/lib/components/parallelResourcBooking/components/ErrorTip/index.less +0 -51
- package/lib/components/parallelResourcBooking/components/OpenCard/index.d.ts +0 -4
- package/lib/components/parallelResourcBooking/components/OpenCard/index.js +0 -90
- package/lib/components/parallelResourcBooking/components/OpenCard/index.less +0 -52
- package/lib/components/parallelResourcBooking/components/Provider/Header/index.less +0 -2
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -4
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.js +0 -55
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.less +0 -25
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -11
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.js +0 -78
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.less +0 -32
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -4
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.js +0 -86
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.less +0 -12
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -13
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.js +0 -121
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.less +0 -35
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -4
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.js +0 -37
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.less +0 -28
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -5
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.js +0 -58
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.less +0 -87
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -4
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.js +0 -55
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.less +0 -25
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.d.ts +0 -4
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.js +0 -196
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.d.ts +0 -4
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.js +0 -122
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.less +0 -4
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/index.d.ts +0 -14
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/index.js +0 -70
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/index.less +0 -2
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/utils.d.ts +0 -34
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/utils.js +0 -70
- package/lib/components/parallelResourcBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -3
- package/lib/components/parallelResourcBooking/components/bookingDetailModal/components/BookingOptions.js +0 -75
- package/lib/components/parallelResourcBooking/components/bookingDetailModal/components/Resource.d.ts +0 -3
- package/lib/components/parallelResourcBooking/components/bookingDetailModal/components/Resource.js +0 -66
- package/lib/components/parallelResourcBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -3
- package/lib/components/parallelResourcBooking/components/bookingDetailModal/components/Schedule.js +0 -69
- package/lib/components/parallelResourcBooking/components/bookingDetailModal/index.d.ts +0 -7
- package/lib/components/parallelResourcBooking/components/bookingDetailModal/index.js +0 -248
- package/lib/components/parallelResourcBooking/components/bookingDetailModal/index.less +0 -82
- package/lib/components/parallelResourcBooking/components/bookingServiceList/index.d.ts +0 -17
- package/lib/components/parallelResourcBooking/components/bookingServiceList/index.js +0 -79
- package/lib/components/parallelResourcBooking/components/bookingServiceList/index.less +0 -6
- package/lib/components/parallelResourcBooking/components/eventCard/index.d.ts +0 -14
- package/lib/components/parallelResourcBooking/components/eventCard/index.js +0 -124
- package/lib/components/parallelResourcBooking/components/eventCard/index.less +0 -81
- package/lib/components/parallelResourcBooking/components/productCard/index.d.ts +0 -16
- package/lib/components/parallelResourcBooking/components/productCard/index.js +0 -77
- package/lib/components/parallelResourcBooking/components/productCard/index.less +0 -60
- package/lib/components/parallelResourcBooking/components/progressBar/index.d.ts +0 -16
- package/lib/components/parallelResourcBooking/components/progressBar/index.js +0 -100
- package/lib/components/parallelResourcBooking/components/progressBar/index.less +0 -15
- package/lib/components/parallelResourcBooking/components/resourceDisplay/index.d.ts +0 -23
- package/lib/components/parallelResourcBooking/components/resourceDisplay/index.js +0 -116
- package/lib/components/parallelResourcBooking/components/resourceDisplay/index.less +0 -95
- package/lib/components/parallelResourcBooking/components/resourceUsability/index.d.ts +0 -12
- package/lib/components/parallelResourcBooking/components/resourceUsability/index.js +0 -76
- package/lib/components/parallelResourcBooking/components/resourceUsability/index.less +0 -40
- package/lib/components/parallelResourcBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -10
- package/lib/components/parallelResourcBooking/components/scheduleCalendar/ProductItem/index.js +0 -73
- package/lib/components/parallelResourcBooking/components/scheduleCalendar/ProductItem/index.less +0 -58
- package/lib/components/parallelResourcBooking/components/scheduleCalendar/calendarItem.d.ts +0 -12
- package/lib/components/parallelResourcBooking/components/scheduleCalendar/calendarItem.js +0 -135
- package/lib/components/parallelResourcBooking/components/scheduleCalendar/index.d.ts +0 -13
- package/lib/components/parallelResourcBooking/components/scheduleCalendar/index.js +0 -125
- package/lib/components/parallelResourcBooking/components/scheduleCalendar/index.less +0 -222
- package/lib/components/parallelResourcBooking/components/selectHolder/index.d.ts +0 -22
- package/lib/components/parallelResourcBooking/components/selectHolder/index.js +0 -106
- package/lib/components/parallelResourcBooking/components/selectHolder/index.less +0 -70
- package/lib/components/parallelResourcBooking/components/timeResourceSelector/index.d.ts +0 -20
- package/lib/components/parallelResourcBooking/components/timeResourceSelector/index.js +0 -146
- package/lib/components/parallelResourcBooking/components/timeResourceSelector/index.less +0 -74
- package/lib/components/parallelResourcBooking/index.d.ts +0 -4
- /package/es/components/{parallelResourcBooking → appointmentBooking}/assets/alert-circle.png +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/assets/calendar-heart.svg +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/assets/compass.svg +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/assets/image.svg +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/assets/phone.svg +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/assets/shopping-cart.svg +0 -0
- /package/es/components/{parallelResourcBooking/components/Provider → appointmentBooking/components}/Footer/index.less +0 -0
- /package/es/components/{parallelResourcBooking/components/Provider/Cart/ContinueButton → appointmentBooking/components/Header}/index.less +0 -0
- /package/es/components/{parallelResourcBooking/components/Provider → appointmentBooking/components}/Information/index.less +0 -0
- /package/{lib/components/parallelResourcBooking → es/components/appointmentBooking}/components/Provider/Cart/ContinueButton/index.less +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Cart/Item/index.less +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Cart/index.js +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Cart/index.less +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Content/index.less +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/EmptyHolderModal/index.js +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/EmptyHolderModal/index.less +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Event/index.js +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Event/index.less +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Information/index.js +0 -0
- /package/{lib/components/parallelResourcBooking → es/components/appointmentBooking}/components/Provider/Information/index.less +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/InformationOptionsModal/index.js +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/InformationOptionsModal/index.less +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/OrderProductModal/index.js +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/OrderProductModal/index.less +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/RemoveOptionConfirmModal.js +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Resource/index.js +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Resource/index.less +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/SelectHolderModal.js +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/SelectProduct/index.d.ts +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/SelectProduct/index.js +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/components/Provider/SelectProduct/index.less +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/mock.d.ts +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/mock.js +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/status.d.ts +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/status.js +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/type.d.ts +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/type.js +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/utils.d.ts +0 -0
- /package/es/components/{parallelResourcBooking → appointmentBooking}/utils.js +0 -0
- /package/lib/components/{parallelResourcBooking → appointmentBooking}/assets/alert-circle.png +0 -0
- /package/lib/components/{parallelResourcBooking → appointmentBooking}/assets/calendar-heart.svg +0 -0
- /package/lib/components/{parallelResourcBooking → appointmentBooking}/assets/compass.svg +0 -0
- /package/lib/components/{parallelResourcBooking → appointmentBooking}/assets/image.svg +0 -0
- /package/lib/components/{parallelResourcBooking → appointmentBooking}/assets/phone.svg +0 -0
- /package/lib/components/{parallelResourcBooking → appointmentBooking}/assets/shopping-cart.svg +0 -0
- /package/lib/components/{parallelResourcBooking/components/Provider → appointmentBooking/components}/Footer/index.less +0 -0
- /package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Cart/Item/index.less +0 -0
- /package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Cart/index.less +0 -0
- /package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Content/index.less +0 -0
- /package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/EmptyHolderModal/index.less +0 -0
- /package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Event/index.less +0 -0
- /package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/InformationOptionsModal/index.less +0 -0
- /package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/OrderProductModal/index.less +0 -0
- /package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/Resource/index.less +0 -0
- /package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/SelectProduct/index.d.ts +0 -0
- /package/lib/components/{parallelResourcBooking → appointmentBooking}/components/Provider/SelectProduct/index.less +0 -0
- /package/lib/components/{parallelResourcBooking → appointmentBooking}/mock.d.ts +0 -0
- /package/lib/components/{parallelResourcBooking → appointmentBooking}/status.d.ts +0 -0
- /package/lib/components/{parallelResourcBooking → appointmentBooking}/type.d.ts +0 -0
- /package/lib/components/{parallelResourcBooking → appointmentBooking}/utils.d.ts +0 -0
|
@@ -1,124 +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/parallelResourcBooking/components/eventCard/index.tsx
|
|
30
|
-
var eventCard_exports = {};
|
|
31
|
-
__export(eventCard_exports, {
|
|
32
|
-
default: () => eventCard_default
|
|
33
|
-
});
|
|
34
|
-
module.exports = __toCommonJS(eventCard_exports);
|
|
35
|
-
var import_react = __toESM(require("react"));
|
|
36
|
-
var import_materials = require("@pisell/materials");
|
|
37
|
-
var import_materials2 = require("@pisell/materials");
|
|
38
|
-
var import_utils = require("@pisell/utils");
|
|
39
|
-
var import_classnames = __toESM(require("classnames"));
|
|
40
|
-
var import_mock = require("../../mock");
|
|
41
|
-
var import_index = require("./index.less");
|
|
42
|
-
var EventCard = ({
|
|
43
|
-
data,
|
|
44
|
-
showTitle = true,
|
|
45
|
-
showSubtitle = true,
|
|
46
|
-
showDescription = true,
|
|
47
|
-
showPrice = true,
|
|
48
|
-
showOriginalPrice = true,
|
|
49
|
-
className,
|
|
50
|
-
style
|
|
51
|
-
}) => {
|
|
52
|
-
const [expanded, setExpanded] = (0, import_react.useState)(false);
|
|
53
|
-
const [showToggle, setShowToggle] = (0, import_react.useState)(false);
|
|
54
|
-
const descriptionRef = (0, import_react.useRef)(null);
|
|
55
|
-
const { event_card } = import_mock.mock;
|
|
56
|
-
const { title, subtitle, description, price, origin_price } = data || event_card;
|
|
57
|
-
(0, import_react.useEffect)(() => {
|
|
58
|
-
const element = descriptionRef.current;
|
|
59
|
-
const checkLineCount = () => {
|
|
60
|
-
var _a;
|
|
61
|
-
if (element) {
|
|
62
|
-
const lineHeight = parseInt(
|
|
63
|
-
(_a = window.getComputedStyle(element)) == null ? void 0 : _a.lineHeight
|
|
64
|
-
);
|
|
65
|
-
const height = element == null ? void 0 : element.scrollHeight;
|
|
66
|
-
const lines = Math.floor(height / lineHeight);
|
|
67
|
-
setShowToggle(lines > 2);
|
|
68
|
-
}
|
|
69
|
-
};
|
|
70
|
-
checkLineCount();
|
|
71
|
-
window.addEventListener("resize", checkLineCount);
|
|
72
|
-
return () => window.removeEventListener("resize", checkLineCount);
|
|
73
|
-
}, [description]);
|
|
74
|
-
return /* @__PURE__ */ import_react.default.createElement(
|
|
75
|
-
import_materials.PisellCard,
|
|
76
|
-
{
|
|
77
|
-
className: (0, import_classnames.default)("pisell-event-card", className),
|
|
78
|
-
style,
|
|
79
|
-
borderRadius: 10,
|
|
80
|
-
isClickable: false
|
|
81
|
-
},
|
|
82
|
-
/* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-event-card-content" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-event-card-title-wrapper" }, showTitle && /* @__PURE__ */ import_react.default.createElement(import_materials2.PisellText, { className: "pisell-event-card-title" }, title), showSubtitle && /* @__PURE__ */ import_react.default.createElement(import_materials2.PisellText, { className: "pisell-event-card-subtitle" }, subtitle)), showPrice && /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-event-card-price-wrapper" }, /* @__PURE__ */ import_react.default.createElement(
|
|
83
|
-
import_materials2.PisellText.Amount,
|
|
84
|
-
{
|
|
85
|
-
className: "pisell-event-card-price",
|
|
86
|
-
value: price,
|
|
87
|
-
precision: 2,
|
|
88
|
-
showCurrencySymbol: true
|
|
89
|
-
}
|
|
90
|
-
), showOriginalPrice && origin_price && price !== origin_price && /* @__PURE__ */ import_react.default.createElement(
|
|
91
|
-
import_materials2.PisellText.Amount,
|
|
92
|
-
{
|
|
93
|
-
className: "pisell-event-card-original-price",
|
|
94
|
-
value: origin_price,
|
|
95
|
-
precision: 2,
|
|
96
|
-
showCurrencySymbol: true
|
|
97
|
-
}
|
|
98
|
-
)), showDescription && description && /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-event-card-line" }), /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-event-card-description" }, /* @__PURE__ */ import_react.default.createElement(import_materials2.PisellText, { className: "pisell-event-card-description-title" }, import_utils.locales.getText("pisell2.event.description")), /* @__PURE__ */ import_react.default.createElement(
|
|
99
|
-
"div",
|
|
100
|
-
{
|
|
101
|
-
ref: descriptionRef,
|
|
102
|
-
className: (0, import_classnames.default)("pisell-event-card-description-content", {
|
|
103
|
-
"pisell-event-card-description-collapsed": !expanded && showToggle
|
|
104
|
-
})
|
|
105
|
-
},
|
|
106
|
-
/* @__PURE__ */ import_react.default.createElement(
|
|
107
|
-
"div",
|
|
108
|
-
{
|
|
109
|
-
dangerouslySetInnerHTML: {
|
|
110
|
-
__html: description
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
)
|
|
114
|
-
), showToggle && /* @__PURE__ */ import_react.default.createElement(
|
|
115
|
-
import_materials2.PisellText,
|
|
116
|
-
{
|
|
117
|
-
className: "pisell-event-card-description-toggle",
|
|
118
|
-
onClick: () => setExpanded(!expanded)
|
|
119
|
-
},
|
|
120
|
-
expanded ? import_utils.locales.getText("pisell2.event.view.less") : import_utils.locales.getText("pisell2.event.view.more")
|
|
121
|
-
))))
|
|
122
|
-
);
|
|
123
|
-
};
|
|
124
|
-
var eventCard_default = EventCard;
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
.pisell-event-card {
|
|
2
|
-
&-content {
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
color: var(--Gray-900, #101828);
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
&-title-wrapper {
|
|
9
|
-
display: flex;
|
|
10
|
-
flex-direction: column;
|
|
11
|
-
gap: 4px;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
&-title {
|
|
15
|
-
font-size: 28px;
|
|
16
|
-
font-weight: 600;
|
|
17
|
-
line-height: 36px;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
&-subtitle {
|
|
21
|
-
font-size: 16px;
|
|
22
|
-
font-weight: 500;
|
|
23
|
-
line-height: 24px;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
&-price-wrapper {
|
|
27
|
-
margin-top: 14px;
|
|
28
|
-
display: flex;
|
|
29
|
-
flex-direction: column;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&-price {
|
|
33
|
-
font-size: 28px;
|
|
34
|
-
font-weight: 400;
|
|
35
|
-
line-height: 36px;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
&-original-price {
|
|
39
|
-
color: var(--Gray-500, #667085);
|
|
40
|
-
font-size: 18px;
|
|
41
|
-
font-weight: 400;
|
|
42
|
-
line-height: 24px;
|
|
43
|
-
text-decoration-line: line-through;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
&-line {
|
|
47
|
-
margin: 14px 0;
|
|
48
|
-
height: 1px;
|
|
49
|
-
background: #f2f2f2;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
&-description-title {
|
|
53
|
-
font-size: 16px;
|
|
54
|
-
font-weight: 600;
|
|
55
|
-
line-height: 22px;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
&-description {
|
|
59
|
-
display: flex;
|
|
60
|
-
flex-direction: column;
|
|
61
|
-
gap: 4px;
|
|
62
|
-
|
|
63
|
-
&-collapsed {
|
|
64
|
-
display: -webkit-box;
|
|
65
|
-
-webkit-line-clamp: 2;
|
|
66
|
-
-webkit-box-orient: vertical;
|
|
67
|
-
overflow: hidden;
|
|
68
|
-
font-size: 14px;
|
|
69
|
-
font-weight: 400;
|
|
70
|
-
line-height: 20px;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
&-toggle {
|
|
74
|
-
color: var(--Blue-600, #1570ef);
|
|
75
|
-
font-size: 14px;
|
|
76
|
-
font-weight: 500;
|
|
77
|
-
line-height: 20px;
|
|
78
|
-
cursor: pointer;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
export interface PisellProductCardProps {
|
|
4
|
-
item: any;
|
|
5
|
-
showImage?: boolean;
|
|
6
|
-
showName?: boolean;
|
|
7
|
-
showPrice?: boolean;
|
|
8
|
-
showArrow?: boolean;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
selected?: boolean;
|
|
11
|
-
className?: string;
|
|
12
|
-
style?: React.CSSProperties;
|
|
13
|
-
onClick?: () => void;
|
|
14
|
-
}
|
|
15
|
-
declare const PisellProductCard: React.FC<PisellProductCardProps>;
|
|
16
|
-
export default PisellProductCard;
|
|
@@ -1,77 +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/parallelResourcBooking/components/productCard/index.tsx
|
|
30
|
-
var productCard_exports = {};
|
|
31
|
-
__export(productCard_exports, {
|
|
32
|
-
default: () => productCard_default
|
|
33
|
-
});
|
|
34
|
-
module.exports = __toCommonJS(productCard_exports);
|
|
35
|
-
var import_react = __toESM(require("react"));
|
|
36
|
-
var import_materials = require("@pisell/materials");
|
|
37
|
-
var import_utils = require("@pisell/utils");
|
|
38
|
-
var import_useEngineContext = __toESM(require("../../../../hooks/useEngineContext"));
|
|
39
|
-
var import_mock = require("../../mock");
|
|
40
|
-
var import_classnames = __toESM(require("classnames"));
|
|
41
|
-
var import_index = require("./index.less");
|
|
42
|
-
var PisellProductCard = ({
|
|
43
|
-
item,
|
|
44
|
-
showImage = true,
|
|
45
|
-
showName = true,
|
|
46
|
-
showPrice = true,
|
|
47
|
-
showArrow = true,
|
|
48
|
-
disabled = false,
|
|
49
|
-
selected = false,
|
|
50
|
-
className,
|
|
51
|
-
style,
|
|
52
|
-
onClick
|
|
53
|
-
}) => {
|
|
54
|
-
var _a;
|
|
55
|
-
const context = (0, import_useEngineContext.default)();
|
|
56
|
-
const utils = context.appHelper.utils || {};
|
|
57
|
-
const isEn = ((_a = utils == null ? void 0 : utils.storage) == null ? void 0 : _a.get("umi_locale")) === "en-US";
|
|
58
|
-
const { product_card } = import_mock.mock;
|
|
59
|
-
const { image, title, price, currency, isMultiPrice } = item || product_card;
|
|
60
|
-
const fromText = (0, import_react.useMemo)(() => {
|
|
61
|
-
if (!isMultiPrice) return "";
|
|
62
|
-
return import_utils.locales.getText("pisell2.event.price.from");
|
|
63
|
-
}, [isMultiPrice]);
|
|
64
|
-
return /* @__PURE__ */ import_react.default.createElement(
|
|
65
|
-
import_materials.PisellCard,
|
|
66
|
-
{
|
|
67
|
-
className: (0, import_classnames.default)("pisell-product-card", className),
|
|
68
|
-
style,
|
|
69
|
-
onClick,
|
|
70
|
-
borderRadius: 8,
|
|
71
|
-
disabled,
|
|
72
|
-
selected
|
|
73
|
-
},
|
|
74
|
-
/* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-product-card-content" }, showImage && /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-product-card-image" }, image ? /* @__PURE__ */ import_react.default.createElement("img", { src: image }) : /* @__PURE__ */ import_react.default.createElement("div", { className: "image" })), /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-product-card-info" }, showName && /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-product-card-name" }, title), showPrice && /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-product-card-price" }, isEn ? fromText : "", /* @__PURE__ */ import_react.default.createElement(import_materials.PisellText.Amount, { value: price, showCurrencySymbol: true }), !isEn ? fromText : "")), showArrow && /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-product-card-arrow" }, /* @__PURE__ */ import_react.default.createElement(import_materials.Iconfont, { type: "pisell2-chevron-right" })))
|
|
75
|
-
);
|
|
76
|
-
};
|
|
77
|
-
var productCard_default = PisellProductCard;
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
.pisell-product-card {
|
|
2
|
-
&-content {
|
|
3
|
-
display: flex;
|
|
4
|
-
align-items: center;
|
|
5
|
-
justify-content: space-between;
|
|
6
|
-
gap: 16px;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
&-image {
|
|
10
|
-
width: 80px;
|
|
11
|
-
height: 80px;
|
|
12
|
-
border-radius: 8px;
|
|
13
|
-
overflow: hidden;
|
|
14
|
-
flex-shrink: 0;
|
|
15
|
-
|
|
16
|
-
img,
|
|
17
|
-
.image {
|
|
18
|
-
width: 100%;
|
|
19
|
-
height: 100%;
|
|
20
|
-
object-fit: cover;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.image {
|
|
24
|
-
border-radius: 8px;
|
|
25
|
-
background: rgba(172, 172, 172, 0.2);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&-info {
|
|
30
|
-
flex: 1;
|
|
31
|
-
min-width: 0;
|
|
32
|
-
color: var(--Text-Text_1, #1b1b1b);
|
|
33
|
-
font-size: 14px;
|
|
34
|
-
font-weight: 600;
|
|
35
|
-
line-height: 20px;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
&-name {
|
|
39
|
-
display: -webkit-box;
|
|
40
|
-
-webkit-line-clamp: 2;
|
|
41
|
-
-webkit-box-orient: vertical;
|
|
42
|
-
overflow: hidden;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
&-price {
|
|
46
|
-
color: var(--Text-Text_1, #1b1b1b);
|
|
47
|
-
font-weight: 400;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&-arrow {
|
|
51
|
-
display: flex;
|
|
52
|
-
padding: 10px;
|
|
53
|
-
flex-direction: column;
|
|
54
|
-
align-items: center;
|
|
55
|
-
border-radius: 4px;
|
|
56
|
-
border: 1px solid var(--Gray-200, #eaecf0);
|
|
57
|
-
background: var(--Base-White, #fff);
|
|
58
|
-
font-size: 16px;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
export interface ProgressBarProps {
|
|
4
|
-
title?: string | number;
|
|
5
|
-
description?: string;
|
|
6
|
-
isConfirmClose?: boolean;
|
|
7
|
-
showClose?: boolean;
|
|
8
|
-
showStep?: boolean;
|
|
9
|
-
showBack?: boolean;
|
|
10
|
-
className?: string;
|
|
11
|
-
style?: React.CSSProperties;
|
|
12
|
-
onBack?: () => void;
|
|
13
|
-
onClose?: () => void;
|
|
14
|
-
}
|
|
15
|
-
declare const ProgressBar: React.FC<ProgressBarProps>;
|
|
16
|
-
export default ProgressBar;
|
|
@@ -1,100 +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/parallelResourcBooking/components/progressBar/index.tsx
|
|
30
|
-
var progressBar_exports = {};
|
|
31
|
-
__export(progressBar_exports, {
|
|
32
|
-
default: () => progressBar_default
|
|
33
|
-
});
|
|
34
|
-
module.exports = __toCommonJS(progressBar_exports);
|
|
35
|
-
var import_react = __toESM(require("react"));
|
|
36
|
-
var import_materials = require("@pisell/materials");
|
|
37
|
-
var import_Sales = require("../../../Sales");
|
|
38
|
-
var import_utils = require("@pisell/utils");
|
|
39
|
-
var import_index = require("./index.less");
|
|
40
|
-
var ProgressBar = ({
|
|
41
|
-
title,
|
|
42
|
-
description,
|
|
43
|
-
showClose = true,
|
|
44
|
-
isConfirmClose = true,
|
|
45
|
-
showStep = true,
|
|
46
|
-
showBack = true,
|
|
47
|
-
style,
|
|
48
|
-
onBack,
|
|
49
|
-
onClose
|
|
50
|
-
}) => {
|
|
51
|
-
const [open, setOpen] = (0, import_react.useState)(false);
|
|
52
|
-
const { removeSessionStorage } = (0, import_Sales.useSales)();
|
|
53
|
-
const handleClose = () => {
|
|
54
|
-
if (isConfirmClose) {
|
|
55
|
-
setOpen(true);
|
|
56
|
-
} else {
|
|
57
|
-
onClose == null ? void 0 : onClose();
|
|
58
|
-
}
|
|
59
|
-
};
|
|
60
|
-
const handleOk = () => {
|
|
61
|
-
onClose == null ? void 0 : onClose();
|
|
62
|
-
setOpen(false);
|
|
63
|
-
removeSessionStorage();
|
|
64
|
-
};
|
|
65
|
-
return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(
|
|
66
|
-
import_materials.PisellHeaderProgressBar,
|
|
67
|
-
{
|
|
68
|
-
className: "event-progress-bar",
|
|
69
|
-
style,
|
|
70
|
-
stepText: showStep ? title : "",
|
|
71
|
-
title: description,
|
|
72
|
-
showClose,
|
|
73
|
-
onBack,
|
|
74
|
-
onClose: handleClose,
|
|
75
|
-
enableBorder: true,
|
|
76
|
-
borderColor: "#EAECF0",
|
|
77
|
-
showBack
|
|
78
|
-
}
|
|
79
|
-
), /* @__PURE__ */ import_react.default.createElement(
|
|
80
|
-
import_materials.PisellModal.Information,
|
|
81
|
-
{
|
|
82
|
-
open,
|
|
83
|
-
title: import_utils.locales.getText("pisell2.event.close.title"),
|
|
84
|
-
describe: import_utils.locales.getText("pisell2.event.close.tip"),
|
|
85
|
-
okText: import_utils.locales.getText("pisell2.event.close.exit"),
|
|
86
|
-
cancelText: import_utils.locales.getText("pisell2.event.close.continue"),
|
|
87
|
-
closable: true,
|
|
88
|
-
okButtonProps: {
|
|
89
|
-
style: {
|
|
90
|
-
backgroundColor: "#D92D20"
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
onCancel: () => {
|
|
94
|
-
setOpen(false);
|
|
95
|
-
},
|
|
96
|
-
onOk: () => handleOk()
|
|
97
|
-
}
|
|
98
|
-
));
|
|
99
|
-
};
|
|
100
|
-
var progressBar_default = ProgressBar;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
.event-progress-bar {
|
|
2
|
-
.pisell-section-headers-main {
|
|
3
|
-
color: var(--Gray-900, #101828);
|
|
4
|
-
font-size: 14px;
|
|
5
|
-
font-weight: 400;
|
|
6
|
-
line-height: 20px;
|
|
7
|
-
justify-content: start;
|
|
8
|
-
|
|
9
|
-
.select-text {
|
|
10
|
-
font-size: 18px;
|
|
11
|
-
font-weight: 600;
|
|
12
|
-
line-height: 24px;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
export declare type ResourceMode = 'normal' | 'rule' | 'campus';
|
|
4
|
-
export declare type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
|
|
5
|
-
export interface PisellResourceCardProps {
|
|
6
|
-
dataSource?: any;
|
|
7
|
-
mode?: ResourceMode;
|
|
8
|
-
showImage?: boolean;
|
|
9
|
-
showTitle?: boolean;
|
|
10
|
-
showSubtitle?: boolean;
|
|
11
|
-
showLocation?: boolean;
|
|
12
|
-
showContact?: boolean;
|
|
13
|
-
direction?: 'horizontal' | 'vertical';
|
|
14
|
-
shape?: 'circle' | 'square';
|
|
15
|
-
size?: AvatarSize;
|
|
16
|
-
useTextAvatar?: boolean;
|
|
17
|
-
className?: string;
|
|
18
|
-
style?: React.CSSProperties;
|
|
19
|
-
onClick?: () => void;
|
|
20
|
-
[key: string]: any;
|
|
21
|
-
}
|
|
22
|
-
declare const PisellResourceCard: React.FC<PisellResourceCardProps>;
|
|
23
|
-
export default PisellResourceCard;
|
|
@@ -1,116 +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/parallelResourcBooking/components/resourceDisplay/index.tsx
|
|
30
|
-
var resourceDisplay_exports = {};
|
|
31
|
-
__export(resourceDisplay_exports, {
|
|
32
|
-
default: () => resourceDisplay_default
|
|
33
|
-
});
|
|
34
|
-
module.exports = __toCommonJS(resourceDisplay_exports);
|
|
35
|
-
var import_react = __toESM(require("react"));
|
|
36
|
-
var import_materials = require("@pisell/materials");
|
|
37
|
-
var import_classnames = __toESM(require("classnames"));
|
|
38
|
-
var import_image = __toESM(require("../../assets/image.svg"));
|
|
39
|
-
var import_calendar_heart = __toESM(require("../../assets/calendar-heart.svg"));
|
|
40
|
-
var import_compass = __toESM(require("../../assets/compass.svg"));
|
|
41
|
-
var import_phone = __toESM(require("../../assets/phone.svg"));
|
|
42
|
-
var import_mock = require("../../mock");
|
|
43
|
-
var import_index = require("./index.less");
|
|
44
|
-
var PisellResourceCard = ({
|
|
45
|
-
dataSource,
|
|
46
|
-
mode = "normal",
|
|
47
|
-
showImage = true,
|
|
48
|
-
showTitle = true,
|
|
49
|
-
showSubtitle = true,
|
|
50
|
-
showLocation = true,
|
|
51
|
-
showContact = true,
|
|
52
|
-
direction = "horizontal",
|
|
53
|
-
shape = "circle",
|
|
54
|
-
size = "xxl",
|
|
55
|
-
useTextAvatar = false,
|
|
56
|
-
className,
|
|
57
|
-
style,
|
|
58
|
-
onClick,
|
|
59
|
-
...rest
|
|
60
|
-
}) => {
|
|
61
|
-
const { resource_display } = import_mock.mock;
|
|
62
|
-
const { image, title, subtitle, location, contact } = dataSource || resource_display;
|
|
63
|
-
const renderAvatar = () => {
|
|
64
|
-
if (!showImage) return null;
|
|
65
|
-
return /* @__PURE__ */ import_react.default.createElement(
|
|
66
|
-
import_materials.PisellAvatar,
|
|
67
|
-
{
|
|
68
|
-
src: image,
|
|
69
|
-
shape,
|
|
70
|
-
size,
|
|
71
|
-
useTextAvatar: !image,
|
|
72
|
-
children: /* @__PURE__ */ import_react.default.createElement(import_materials.Image, { src: import_image.default, preview: false }),
|
|
73
|
-
className: (0, import_classnames.default)({
|
|
74
|
-
"pisell-resource-card-campus-avatar": mode === "campus",
|
|
75
|
-
"pisell-resource-card-empty-avatar": !image
|
|
76
|
-
})
|
|
77
|
-
}
|
|
78
|
-
);
|
|
79
|
-
};
|
|
80
|
-
const campusLists = () => {
|
|
81
|
-
let lists = [];
|
|
82
|
-
if (showTitle && title) {
|
|
83
|
-
lists.push({ key: "title", value: title, icon: import_calendar_heart.default });
|
|
84
|
-
}
|
|
85
|
-
if (showLocation && location) {
|
|
86
|
-
lists.push({ key: "location", value: location, icon: import_compass.default });
|
|
87
|
-
}
|
|
88
|
-
if (showContact && contact) {
|
|
89
|
-
lists.push({ key: "contact", value: contact, icon: import_phone.default });
|
|
90
|
-
}
|
|
91
|
-
return lists;
|
|
92
|
-
};
|
|
93
|
-
const renderContent = () => {
|
|
94
|
-
if (mode !== "campus") {
|
|
95
|
-
return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, showTitle && title && /* @__PURE__ */ import_react.default.createElement(import_materials.PisellText, { className: "pisell-resource-card-name" }, title), showSubtitle && subtitle && /* @__PURE__ */ import_react.default.createElement(import_materials.PisellText, { className: "pisell-resource-card-subtitle" }, subtitle));
|
|
96
|
-
}
|
|
97
|
-
return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-resource-card-campus-wrap" }, campusLists().map(({ key, value, icon }) => {
|
|
98
|
-
return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-resource-card-campus-item", key }, /* @__PURE__ */ import_react.default.createElement(import_materials.Image, { src: icon, preview: false }), /* @__PURE__ */ import_react.default.createElement(import_materials.PisellText, null, value));
|
|
99
|
-
}));
|
|
100
|
-
};
|
|
101
|
-
return /* @__PURE__ */ import_react.default.createElement(
|
|
102
|
-
import_materials.PisellCard,
|
|
103
|
-
{
|
|
104
|
-
className: (0, import_classnames.default)(
|
|
105
|
-
"pisell-resource-card",
|
|
106
|
-
`pisell-resource-card-${direction}`,
|
|
107
|
-
className
|
|
108
|
-
),
|
|
109
|
-
style,
|
|
110
|
-
onClick,
|
|
111
|
-
...rest
|
|
112
|
-
},
|
|
113
|
-
/* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-resource-card-content" }, renderAvatar(), /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-resource-card-info" }, renderContent()))
|
|
114
|
-
);
|
|
115
|
-
};
|
|
116
|
-
var resourceDisplay_default = PisellResourceCard;
|