@pisell/private-materials 3.2.10 → 3.2.11
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 +34 -14
- package/build/lowcode/render/default/view.js +7 -7
- package/build/lowcode/view.js +7 -7
- package/es/components/booking/addons/model.d.ts +10 -1
- package/es/components/booking/addons/model.js +5 -5
- package/es/components/booking/components/TabProduct/selectProductItem/index.js +4 -4
- package/es/components/booking/components/TabProduct/tabs/index.js +5 -1
- package/es/components/booking/components/browserSelect/index.js +1 -1
- package/es/components/booking/forms/model.d.ts +10 -1
- package/es/components/booking/forms/model.js +5 -5
- package/es/components/booking/info/model.d.ts +10 -1
- package/es/components/booking/info/service/addService/index.d.ts +1 -0
- package/es/components/booking/info/service/addTimeModal/index.d.ts +1 -0
- package/es/components/booking/info/service/like/index.js +1 -1
- package/es/components/booking/info/service2/utils.d.ts +1 -1
- package/es/components/booking/materiels/startTime/index.js +1 -1
- package/es/components/booking/model.d.ts +9 -1
- package/es/components/booking/notes/NoteBlock/NoteItem/index.js +1 -1
- package/es/components/booking/notes/NoteBlock/index.js +11 -11
- package/es/components/booking/notes/addNote/index.js +1 -1
- package/es/components/booking/notes/model.d.ts +10 -1
- package/es/components/booking/notes/model.js +5 -5
- package/es/components/booking/payments/model.d.ts +10 -1
- package/es/components/booking/payments/model.js +5 -5
- package/es/components/eftposPay/amount.d.ts +1 -1
- package/es/components/eftposPay/app.d.ts +1 -1
- package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -0
- package/es/components/eftposPay/component/fail/index.d.ts +1 -0
- package/es/components/eftposPay/component/fail/unknow.d.ts +1 -0
- 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 +1 -0
- package/es/components/eftposPay/pay.d.ts +1 -0
- package/es/components/eftposPay/payo/config.d.ts +1 -0
- package/es/components/eftposPay/store/index.d.ts +4 -4
- package/es/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/SelectProduct/index.d.ts +4 -0
- package/es/components/eventBooking/components/Provider/SelectProduct/index.js +77 -0
- package/es/components/eventBooking/components/Provider/SelectProduct/index.less +131 -0
- package/es/components/listComponent/index.js +5 -5
- package/es/components/parallelResourcBooking/assets/alert-circle.png +0 -0
- package/es/components/parallelResourcBooking/assets/calendar-heart.svg +5 -0
- package/es/components/parallelResourcBooking/assets/compass.svg +13 -0
- package/es/components/parallelResourcBooking/assets/image.svg +5 -0
- package/es/components/parallelResourcBooking/assets/phone.svg +5 -0
- package/es/components/parallelResourcBooking/assets/shopping-cart.svg +10 -0
- package/es/components/parallelResourcBooking/components/ErrorTip/index.d.ts +4 -0
- package/es/components/parallelResourcBooking/components/ErrorTip/index.js +14 -0
- package/es/components/parallelResourcBooking/components/ErrorTip/index.less +51 -0
- package/es/components/parallelResourcBooking/components/OpenCard/index.d.ts +4 -0
- package/es/components/parallelResourcBooking/components/OpenCard/index.js +65 -0
- package/es/components/parallelResourcBooking/components/OpenCard/index.less +52 -0
- package/es/components/parallelResourcBooking/components/Provider/Cart/ContinueButton/index.d.ts +4 -0
- package/es/components/parallelResourcBooking/components/Provider/Cart/ContinueButton/index.js +274 -0
- package/es/components/parallelResourcBooking/components/Provider/Cart/ContinueButton/index.less +0 -0
- package/es/components/parallelResourcBooking/components/Provider/Cart/Item/Total.d.ts +4 -0
- package/es/components/parallelResourcBooking/components/Provider/Cart/Item/Total.js +46 -0
- package/es/components/parallelResourcBooking/components/Provider/Cart/Item/index.d.ts +4 -0
- package/es/components/parallelResourcBooking/components/Provider/Cart/Item/index.js +63 -0
- package/es/components/parallelResourcBooking/components/Provider/Cart/Item/index.less +87 -0
- package/es/components/parallelResourcBooking/components/Provider/Cart/index.d.ts +4 -0
- package/es/components/parallelResourcBooking/components/Provider/Cart/index.js +30 -0
- package/es/components/parallelResourcBooking/components/Provider/Cart/index.less +2 -0
- package/es/components/parallelResourcBooking/components/Provider/Content/index.d.ts +4 -0
- package/es/components/parallelResourcBooking/components/Provider/Content/index.js +65 -0
- package/es/components/parallelResourcBooking/components/Provider/Content/index.less +31 -0
- package/es/components/parallelResourcBooking/components/Provider/EmptyHolderModal/index.d.ts +4 -0
- package/es/components/parallelResourcBooking/components/Provider/EmptyHolderModal/index.js +34 -0
- package/es/components/parallelResourcBooking/components/Provider/EmptyHolderModal/index.less +17 -0
- package/es/components/parallelResourcBooking/components/Provider/Event/index.d.ts +4 -0
- package/es/components/parallelResourcBooking/components/Provider/Event/index.js +93 -0
- package/es/components/parallelResourcBooking/components/Provider/Event/index.less +20 -0
- package/es/components/parallelResourcBooking/components/Provider/Footer/index.d.ts +4 -0
- package/es/components/parallelResourcBooking/components/Provider/Footer/index.js +76 -0
- package/es/components/parallelResourcBooking/components/Provider/Footer/index.less +64 -0
- package/es/components/parallelResourcBooking/components/Provider/Header/index.d.ts +4 -0
- package/es/components/parallelResourcBooking/components/Provider/Header/index.js +75 -0
- package/es/components/parallelResourcBooking/components/Provider/Header/index.less +2 -0
- package/es/components/parallelResourcBooking/components/Provider/Information/index.d.ts +4 -0
- package/es/components/parallelResourcBooking/components/Provider/Information/index.js +178 -0
- package/es/components/parallelResourcBooking/components/Provider/Information/index.less +92 -0
- package/es/components/parallelResourcBooking/components/Provider/InformationOptionsModal/index.d.ts +4 -0
- package/es/components/parallelResourcBooking/components/Provider/InformationOptionsModal/index.js +34 -0
- package/es/components/parallelResourcBooking/components/Provider/InformationOptionsModal/index.less +27 -0
- package/es/components/parallelResourcBooking/components/Provider/OrderProductModal/index.d.ts +4 -0
- package/es/components/parallelResourcBooking/components/Provider/OrderProductModal/index.js +27 -0
- package/es/components/parallelResourcBooking/components/Provider/OrderProductModal/index.less +32 -0
- package/es/components/parallelResourcBooking/components/Provider/RemoveOptionConfirmModal.d.ts +3 -0
- package/es/components/parallelResourcBooking/components/Provider/RemoveOptionConfirmModal.js +31 -0
- package/es/components/parallelResourcBooking/components/Provider/Resource/index.d.ts +4 -0
- package/es/components/parallelResourcBooking/components/Provider/Resource/index.js +79 -0
- package/es/components/parallelResourcBooking/components/Provider/Resource/index.less +46 -0
- package/es/components/parallelResourcBooking/components/Provider/SelectHolderModal.d.ts +3 -0
- package/es/components/parallelResourcBooking/components/Provider/SelectHolderModal.js +90 -0
- package/es/components/parallelResourcBooking/components/Provider/SelectProduct/index.d.ts +4 -0
- package/es/components/parallelResourcBooking/components/Provider/SelectProduct/index.js +77 -0
- package/es/components/parallelResourcBooking/components/Provider/SelectProduct/index.less +131 -0
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +4 -0
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.js +26 -0
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.less +25 -0
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +11 -0
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.js +65 -0
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.less +32 -0
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +4 -0
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.js +69 -0
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.less +12 -0
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +13 -0
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.js +152 -0
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.less +35 -0
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +4 -0
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.js +20 -0
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.less +28 -0
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +5 -0
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.js +38 -0
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.less +87 -0
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +4 -0
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.js +28 -0
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.less +25 -0
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.d.ts +4 -0
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.js +269 -0
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.less +119 -0
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.d.ts +63 -0
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.js +256 -0
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.d.ts +4 -0
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.js +173 -0
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.less +4 -0
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/index.d.ts +14 -0
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/index.js +36 -0
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/index.less +2 -0
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/utils.d.ts +34 -0
- package/es/components/parallelResourcBooking/components/bookingAvailabilityCalendar/utils.js +70 -0
- package/es/components/parallelResourcBooking/components/bookingDetailModal/components/BookingOptions.d.ts +3 -0
- package/es/components/parallelResourcBooking/components/bookingDetailModal/components/BookingOptions.js +38 -0
- package/es/components/parallelResourcBooking/components/bookingDetailModal/components/Resource.d.ts +3 -0
- package/es/components/parallelResourcBooking/components/bookingDetailModal/components/Resource.js +33 -0
- package/es/components/parallelResourcBooking/components/bookingDetailModal/components/Schedule.d.ts +3 -0
- package/es/components/parallelResourcBooking/components/bookingDetailModal/components/Schedule.js +30 -0
- package/es/components/parallelResourcBooking/components/bookingDetailModal/index.d.ts +7 -0
- package/es/components/parallelResourcBooking/components/bookingDetailModal/index.js +337 -0
- package/es/components/parallelResourcBooking/components/bookingDetailModal/index.less +82 -0
- package/es/components/parallelResourcBooking/components/bookingServiceList/index.d.ts +17 -0
- package/es/components/parallelResourcBooking/components/bookingServiceList/index.js +52 -0
- package/es/components/parallelResourcBooking/components/bookingServiceList/index.less +6 -0
- package/es/components/parallelResourcBooking/components/eventCard/index.d.ts +14 -0
- package/es/components/parallelResourcBooking/components/eventCard/index.js +116 -0
- package/es/components/parallelResourcBooking/components/eventCard/index.less +81 -0
- package/es/components/parallelResourcBooking/components/productCard/index.d.ts +16 -0
- package/es/components/parallelResourcBooking/components/productCard/index.js +79 -0
- package/es/components/parallelResourcBooking/components/productCard/index.less +60 -0
- package/es/components/parallelResourcBooking/components/progressBar/index.d.ts +16 -0
- package/es/components/parallelResourcBooking/components/progressBar/index.js +93 -0
- package/es/components/parallelResourcBooking/components/progressBar/index.less +15 -0
- package/es/components/parallelResourcBooking/components/resourceDisplay/index.d.ts +23 -0
- package/es/components/parallelResourcBooking/components/resourceDisplay/index.js +148 -0
- package/es/components/parallelResourcBooking/components/resourceDisplay/index.less +95 -0
- package/es/components/parallelResourcBooking/components/resourceUsability/index.d.ts +12 -0
- package/es/components/parallelResourcBooking/components/resourceUsability/index.js +44 -0
- package/es/components/parallelResourcBooking/components/resourceUsability/index.less +40 -0
- package/es/components/parallelResourcBooking/components/scheduleCalendar/ProductItem/index.d.ts +10 -0
- package/es/components/parallelResourcBooking/components/scheduleCalendar/ProductItem/index.js +37 -0
- package/es/components/parallelResourcBooking/components/scheduleCalendar/ProductItem/index.less +58 -0
- package/es/components/parallelResourcBooking/components/scheduleCalendar/calendarItem.d.ts +12 -0
- package/es/components/parallelResourcBooking/components/scheduleCalendar/calendarItem.js +127 -0
- package/es/components/parallelResourcBooking/components/scheduleCalendar/index.d.ts +13 -0
- package/es/components/parallelResourcBooking/components/scheduleCalendar/index.js +142 -0
- package/es/components/parallelResourcBooking/components/scheduleCalendar/index.less +222 -0
- package/es/components/parallelResourcBooking/components/selectHolder/index.d.ts +22 -0
- package/es/components/parallelResourcBooking/components/selectHolder/index.js +118 -0
- package/es/components/parallelResourcBooking/components/selectHolder/index.less +70 -0
- package/es/components/parallelResourcBooking/components/timeResourceSelector/index.d.ts +20 -0
- package/es/components/parallelResourcBooking/components/timeResourceSelector/index.js +168 -0
- package/es/components/parallelResourcBooking/components/timeResourceSelector/index.less +74 -0
- package/es/components/parallelResourcBooking/index.d.ts +4 -0
- package/es/components/parallelResourcBooking/index.js +58 -0
- package/es/components/parallelResourcBooking/index.less +22 -0
- package/es/components/parallelResourcBooking/locales.d.ts +216 -0
- package/es/components/parallelResourcBooking/locales.js +251 -0
- package/es/components/parallelResourcBooking/mock.d.ts +627 -0
- package/es/components/parallelResourcBooking/mock.js +1172 -0
- package/es/components/parallelResourcBooking/status.d.ts +21 -0
- package/es/components/parallelResourcBooking/status.js +51 -0
- package/es/components/parallelResourcBooking/type.d.ts +17 -0
- package/es/components/parallelResourcBooking/type.js +1 -0
- package/es/components/parallelResourcBooking/utils.d.ts +45 -0
- package/es/components/parallelResourcBooking/utils.js +99 -0
- package/es/components/pay/toC/model.d.ts +9 -1
- package/es/components/productExtension/card/index.js +3 -3
- package/es/components/productExtension/fields/Actor/CutOffTime/index.js +1 -1
- package/es/components/productExtension/fields/Forms/index.js +12 -12
- package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.js +1 -1
- package/es/components/productExtension/fields/SelectProducts/server.js +2 -2
- package/es/components/productExtension/fields/SelectResourcesTable/server.js +2 -2
- package/es/components/productExtension/server.js +2 -2
- package/es/components/ruleSetting/index.d.ts +1 -0
- package/es/components/ruleSetting/ruleBorder/index.js +1 -1
- package/es/components/schedules/calendar/index.js +4 -4
- package/es/components/schedules/calendar/serve.js +2 -2
- package/es/components/schedules/components/CurrentDay/index.js +5 -5
- package/es/components/schedules/components/CurrentDay/serve.js +2 -2
- package/es/components/schedules/components/DropdownSort/index.js +1 -1
- package/es/components/schedules/components/ResourceList/index.js +1 -1
- package/es/components/schedules/components/Search/index.js +5 -5
- package/es/components/schedules/model.d.ts +9 -1
- package/es/components/schedules/model.js +5 -5
- package/es/components/schedules/openHours/index.js +1 -1
- package/es/components/schedules/openHours/serve.js +2 -2
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.js +1 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.js +5 -5
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.js +4 -4
- package/es/components/schedules/products/ProductDetailDrawer/index.js +3 -3
- package/es/components/schedules/products/serve.js +2 -2
- package/es/components/schedules/products/utils.js +5 -5
- package/es/components/schedules/resources/detail/detailContent.js +2 -2
- package/es/components/schedules/resources/detail/index.js +10 -10
- package/es/components/schedules/resources/list/index.js +2 -2
- package/es/components/schedules/resources/relationProduct/index.js +1 -1
- package/es/components/schedules/resources/serve.js +2 -2
- package/es/components/schedules/schedules/ScheduleDetailDrawer/index.js +9 -9
- package/es/components/schedules/utils.js +4 -4
- package/es/components/selectModal/index.js +2 -2
- package/es/components/shoppingCart/components/Cart/Product.d.ts +1 -0
- package/es/components/wallet/Detail/model.d.ts +13 -1
- package/es/components/wallet/DiscountCard/model.d.ts +14 -1
- package/es/components/wallet/PointCard/model.d.ts +13 -1
- package/es/components/wallet/RechargeableCard/model.d.ts +29 -1
- package/es/components/wallet/Voucher/model.d.ts +13 -1
- package/es/components/wallet/model.d.ts +9 -1
- package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
- package/es/hooks/useComponents.js +1 -1
- package/lib/components/booking/addons/model.d.ts +10 -1
- package/lib/components/booking/forms/model.d.ts +10 -1
- package/lib/components/booking/info/model.d.ts +10 -1
- package/lib/components/booking/info/service/addService/index.d.ts +1 -0
- package/lib/components/booking/info/service/addTimeModal/index.d.ts +1 -0
- package/lib/components/booking/info/service2/utils.d.ts +1 -1
- package/lib/components/booking/model.d.ts +9 -1
- package/lib/components/booking/notes/model.d.ts +10 -1
- package/lib/components/booking/payments/model.d.ts +10 -1
- package/lib/components/eftposPay/amount.d.ts +1 -1
- package/lib/components/eftposPay/app.d.ts +1 -1
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -0
- package/lib/components/eftposPay/component/fail/index.d.ts +1 -0
- package/lib/components/eftposPay/component/fail/unknow.d.ts +1 -0
- 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 +1 -0
- package/lib/components/eftposPay/pay.d.ts +1 -0
- package/lib/components/eftposPay/payo/config.d.ts +1 -0
- package/lib/components/eftposPay/store/index.d.ts +4 -4
- package/lib/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/SelectProduct/index.d.ts +4 -0
- package/lib/components/eventBooking/components/Provider/SelectProduct/index.js +69 -0
- package/lib/components/eventBooking/components/Provider/SelectProduct/index.less +131 -0
- package/lib/components/parallelResourcBooking/assets/alert-circle.png +0 -0
- package/lib/components/parallelResourcBooking/assets/calendar-heart.svg +5 -0
- package/lib/components/parallelResourcBooking/assets/compass.svg +13 -0
- package/lib/components/parallelResourcBooking/assets/image.svg +5 -0
- package/lib/components/parallelResourcBooking/assets/phone.svg +5 -0
- package/lib/components/parallelResourcBooking/assets/shopping-cart.svg +10 -0
- package/lib/components/parallelResourcBooking/components/ErrorTip/index.d.ts +4 -0
- package/lib/components/parallelResourcBooking/components/ErrorTip/index.js +30 -0
- package/lib/components/parallelResourcBooking/components/ErrorTip/index.less +51 -0
- package/lib/components/parallelResourcBooking/components/OpenCard/index.d.ts +4 -0
- package/lib/components/parallelResourcBooking/components/OpenCard/index.js +90 -0
- package/lib/components/parallelResourcBooking/components/OpenCard/index.less +52 -0
- package/lib/components/parallelResourcBooking/components/Provider/Cart/ContinueButton/index.d.ts +4 -0
- package/lib/components/parallelResourcBooking/components/Provider/Cart/ContinueButton/index.js +158 -0
- package/lib/components/parallelResourcBooking/components/Provider/Cart/ContinueButton/index.less +0 -0
- package/lib/components/parallelResourcBooking/components/Provider/Cart/Item/Total.d.ts +4 -0
- package/lib/components/parallelResourcBooking/components/Provider/Cart/Item/Total.js +82 -0
- package/lib/components/parallelResourcBooking/components/Provider/Cart/Item/index.d.ts +4 -0
- package/lib/components/parallelResourcBooking/components/Provider/Cart/Item/index.js +92 -0
- package/lib/components/parallelResourcBooking/components/Provider/Cart/Item/index.less +87 -0
- package/lib/components/parallelResourcBooking/components/Provider/Cart/index.d.ts +4 -0
- package/lib/components/parallelResourcBooking/components/Provider/Cart/index.js +59 -0
- package/lib/components/parallelResourcBooking/components/Provider/Cart/index.less +2 -0
- package/lib/components/parallelResourcBooking/components/Provider/Content/index.d.ts +4 -0
- package/lib/components/parallelResourcBooking/components/Provider/Content/index.js +90 -0
- package/lib/components/parallelResourcBooking/components/Provider/Content/index.less +31 -0
- package/lib/components/parallelResourcBooking/components/Provider/EmptyHolderModal/index.d.ts +4 -0
- package/lib/components/parallelResourcBooking/components/Provider/EmptyHolderModal/index.js +60 -0
- package/lib/components/parallelResourcBooking/components/Provider/EmptyHolderModal/index.less +17 -0
- package/lib/components/parallelResourcBooking/components/Provider/Event/index.d.ts +4 -0
- package/lib/components/parallelResourcBooking/components/Provider/Event/index.js +100 -0
- package/lib/components/parallelResourcBooking/components/Provider/Event/index.less +20 -0
- package/lib/components/parallelResourcBooking/components/Provider/Footer/index.d.ts +4 -0
- package/lib/components/parallelResourcBooking/components/Provider/Footer/index.js +87 -0
- package/lib/components/parallelResourcBooking/components/Provider/Footer/index.less +64 -0
- package/lib/components/parallelResourcBooking/components/Provider/Header/index.d.ts +4 -0
- package/lib/components/parallelResourcBooking/components/Provider/Header/index.js +80 -0
- package/lib/components/parallelResourcBooking/components/Provider/Header/index.less +2 -0
- package/lib/components/parallelResourcBooking/components/Provider/Information/index.d.ts +4 -0
- package/lib/components/parallelResourcBooking/components/Provider/Information/index.js +151 -0
- package/lib/components/parallelResourcBooking/components/Provider/Information/index.less +92 -0
- package/lib/components/parallelResourcBooking/components/Provider/InformationOptionsModal/index.d.ts +4 -0
- package/lib/components/parallelResourcBooking/components/Provider/InformationOptionsModal/index.js +67 -0
- package/lib/components/parallelResourcBooking/components/Provider/InformationOptionsModal/index.less +27 -0
- package/lib/components/parallelResourcBooking/components/Provider/OrderProductModal/index.d.ts +4 -0
- package/lib/components/parallelResourcBooking/components/Provider/OrderProductModal/index.js +57 -0
- package/lib/components/parallelResourcBooking/components/Provider/OrderProductModal/index.less +32 -0
- package/lib/components/parallelResourcBooking/components/Provider/RemoveOptionConfirmModal.d.ts +3 -0
- package/lib/components/parallelResourcBooking/components/Provider/RemoveOptionConfirmModal.js +62 -0
- package/lib/components/parallelResourcBooking/components/Provider/Resource/index.d.ts +4 -0
- package/lib/components/parallelResourcBooking/components/Provider/Resource/index.js +90 -0
- package/lib/components/parallelResourcBooking/components/Provider/Resource/index.less +46 -0
- package/lib/components/parallelResourcBooking/components/Provider/SelectHolderModal.d.ts +3 -0
- package/lib/components/parallelResourcBooking/components/Provider/SelectHolderModal.js +97 -0
- package/lib/components/parallelResourcBooking/components/Provider/SelectProduct/index.d.ts +4 -0
- package/lib/components/parallelResourcBooking/components/Provider/SelectProduct/index.js +69 -0
- package/lib/components/parallelResourcBooking/components/Provider/SelectProduct/index.less +131 -0
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +4 -0
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.js +55 -0
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.less +25 -0
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +11 -0
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.js +78 -0
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.less +32 -0
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +4 -0
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.js +86 -0
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.less +12 -0
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +13 -0
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.js +121 -0
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.less +35 -0
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +4 -0
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.js +37 -0
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.less +28 -0
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +5 -0
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.js +58 -0
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.less +87 -0
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +4 -0
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.js +55 -0
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.less +25 -0
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.d.ts +4 -0
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.js +196 -0
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.less +119 -0
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.d.ts +63 -0
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.js +198 -0
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.d.ts +4 -0
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.js +122 -0
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.less +4 -0
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/index.d.ts +14 -0
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/index.js +70 -0
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/index.less +2 -0
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/utils.d.ts +34 -0
- package/lib/components/parallelResourcBooking/components/bookingAvailabilityCalendar/utils.js +70 -0
- package/lib/components/parallelResourcBooking/components/bookingDetailModal/components/BookingOptions.d.ts +3 -0
- package/lib/components/parallelResourcBooking/components/bookingDetailModal/components/BookingOptions.js +75 -0
- package/lib/components/parallelResourcBooking/components/bookingDetailModal/components/Resource.d.ts +3 -0
- package/lib/components/parallelResourcBooking/components/bookingDetailModal/components/Resource.js +66 -0
- package/lib/components/parallelResourcBooking/components/bookingDetailModal/components/Schedule.d.ts +3 -0
- package/lib/components/parallelResourcBooking/components/bookingDetailModal/components/Schedule.js +69 -0
- package/lib/components/parallelResourcBooking/components/bookingDetailModal/index.d.ts +7 -0
- package/lib/components/parallelResourcBooking/components/bookingDetailModal/index.js +248 -0
- package/lib/components/parallelResourcBooking/components/bookingDetailModal/index.less +82 -0
- package/lib/components/parallelResourcBooking/components/bookingServiceList/index.d.ts +17 -0
- package/lib/components/parallelResourcBooking/components/bookingServiceList/index.js +79 -0
- package/lib/components/parallelResourcBooking/components/bookingServiceList/index.less +6 -0
- package/lib/components/parallelResourcBooking/components/eventCard/index.d.ts +14 -0
- package/lib/components/parallelResourcBooking/components/eventCard/index.js +124 -0
- package/lib/components/parallelResourcBooking/components/eventCard/index.less +81 -0
- package/lib/components/parallelResourcBooking/components/productCard/index.d.ts +16 -0
- package/lib/components/parallelResourcBooking/components/productCard/index.js +77 -0
- package/lib/components/parallelResourcBooking/components/productCard/index.less +60 -0
- package/lib/components/parallelResourcBooking/components/progressBar/index.d.ts +16 -0
- package/lib/components/parallelResourcBooking/components/progressBar/index.js +100 -0
- package/lib/components/parallelResourcBooking/components/progressBar/index.less +15 -0
- package/lib/components/parallelResourcBooking/components/resourceDisplay/index.d.ts +23 -0
- package/lib/components/parallelResourcBooking/components/resourceDisplay/index.js +116 -0
- package/lib/components/parallelResourcBooking/components/resourceDisplay/index.less +95 -0
- package/lib/components/parallelResourcBooking/components/resourceUsability/index.d.ts +12 -0
- package/lib/components/parallelResourcBooking/components/resourceUsability/index.js +76 -0
- package/lib/components/parallelResourcBooking/components/resourceUsability/index.less +40 -0
- package/lib/components/parallelResourcBooking/components/scheduleCalendar/ProductItem/index.d.ts +10 -0
- package/lib/components/parallelResourcBooking/components/scheduleCalendar/ProductItem/index.js +73 -0
- package/lib/components/parallelResourcBooking/components/scheduleCalendar/ProductItem/index.less +58 -0
- package/lib/components/parallelResourcBooking/components/scheduleCalendar/calendarItem.d.ts +12 -0
- package/lib/components/parallelResourcBooking/components/scheduleCalendar/calendarItem.js +135 -0
- package/lib/components/parallelResourcBooking/components/scheduleCalendar/index.d.ts +13 -0
- package/lib/components/parallelResourcBooking/components/scheduleCalendar/index.js +125 -0
- package/lib/components/parallelResourcBooking/components/scheduleCalendar/index.less +222 -0
- package/lib/components/parallelResourcBooking/components/selectHolder/index.d.ts +22 -0
- package/lib/components/parallelResourcBooking/components/selectHolder/index.js +106 -0
- package/lib/components/parallelResourcBooking/components/selectHolder/index.less +70 -0
- package/lib/components/parallelResourcBooking/components/timeResourceSelector/index.d.ts +20 -0
- package/lib/components/parallelResourcBooking/components/timeResourceSelector/index.js +146 -0
- package/lib/components/parallelResourcBooking/components/timeResourceSelector/index.less +74 -0
- package/lib/components/parallelResourcBooking/index.d.ts +4 -0
- package/lib/components/parallelResourcBooking/index.js +78 -0
- package/lib/components/parallelResourcBooking/index.less +22 -0
- package/lib/components/parallelResourcBooking/locales.d.ts +216 -0
- package/lib/components/parallelResourcBooking/locales.js +239 -0
- package/lib/components/parallelResourcBooking/mock.d.ts +627 -0
- package/lib/components/parallelResourcBooking/mock.js +1352 -0
- package/lib/components/parallelResourcBooking/status.d.ts +21 -0
- package/lib/components/parallelResourcBooking/status.js +70 -0
- package/lib/components/parallelResourcBooking/type.d.ts +17 -0
- package/lib/components/parallelResourcBooking/type.js +17 -0
- package/lib/components/parallelResourcBooking/utils.d.ts +45 -0
- package/lib/components/parallelResourcBooking/utils.js +90 -0
- package/lib/components/pay/toC/model.d.ts +9 -1
- package/lib/components/ruleSetting/index.d.ts +1 -0
- package/lib/components/schedules/model.d.ts +9 -1
- package/lib/components/schedules/utils.js +1 -1
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +1 -0
- package/lib/components/wallet/Detail/model.d.ts +13 -1
- package/lib/components/wallet/DiscountCard/model.d.ts +14 -1
- package/lib/components/wallet/PointCard/model.d.ts +13 -1
- package/lib/components/wallet/RechargeableCard/model.d.ts +29 -1
- package/lib/components/wallet/Voucher/model.d.ts +13 -1
- package/lib/components/wallet/model.d.ts +9 -1
- package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
.event-interface-service-wrap {
|
|
2
|
+
display: flex;
|
|
3
|
+
padding: 0;
|
|
4
|
+
margin: 16px auto;
|
|
5
|
+
|
|
6
|
+
.event-booking-service-list {
|
|
7
|
+
flex: 1;
|
|
8
|
+
background: #ffffff;
|
|
9
|
+
// min-height: calc(100vh - 93px);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.event-interface-service-mobile-wrap {
|
|
14
|
+
margin-top: 0;
|
|
15
|
+
width: 100%;
|
|
16
|
+
|
|
17
|
+
.event-booking-service-list {
|
|
18
|
+
width: 100%;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
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/Provider/Footer/index.tsx
|
|
30
|
+
var Footer_exports = {};
|
|
31
|
+
__export(Footer_exports, {
|
|
32
|
+
default: () => Footer_default
|
|
33
|
+
});
|
|
34
|
+
module.exports = __toCommonJS(Footer_exports);
|
|
35
|
+
var import_react = __toESM(require("react"));
|
|
36
|
+
var import_materials = require("@pisell/materials");
|
|
37
|
+
var import_react2 = require("react");
|
|
38
|
+
var import_Sales = require("../../../../Sales");
|
|
39
|
+
var import_SelectHolderModal = __toESM(require("../SelectHolderModal"));
|
|
40
|
+
var import_ContinueButton = __toESM(require("../Cart/ContinueButton"));
|
|
41
|
+
var import_shopping_cart = __toESM(require("../../../assets/shopping-cart.svg"));
|
|
42
|
+
var import_Cart = __toESM(require("../Cart"));
|
|
43
|
+
var import_Total = __toESM(require("../Cart/Item/Total"));
|
|
44
|
+
var import_index = require("./index.less");
|
|
45
|
+
var Footer = () => {
|
|
46
|
+
var _a;
|
|
47
|
+
const { open } = (0, import_Sales.useHolder)();
|
|
48
|
+
const { onOpenCart, openCart, onCloseCart, cartData } = (0, import_Sales.useCart)();
|
|
49
|
+
const { total } = (0, import_Sales.useSummary)();
|
|
50
|
+
const [selectedItem, setSelectedItem] = (0, import_react2.useState)(null);
|
|
51
|
+
return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(
|
|
52
|
+
import_materials.SectionFooters,
|
|
53
|
+
{
|
|
54
|
+
className: "section-footer-wrap",
|
|
55
|
+
left: (
|
|
56
|
+
// <div className="section-footer-left">
|
|
57
|
+
// {/* <PisellText>{locales.getText('pisell2.event.total')}: </PisellText>
|
|
58
|
+
// <PisellText.Amount
|
|
59
|
+
// value={total}
|
|
60
|
+
// showCurrencySymbol={true}
|
|
61
|
+
// className="amount"
|
|
62
|
+
// /> */}
|
|
63
|
+
// </div>
|
|
64
|
+
/* @__PURE__ */ import_react.default.createElement(import_Total.default, { className: "section-footer-left", isFooter: true })
|
|
65
|
+
),
|
|
66
|
+
right: /* @__PURE__ */ import_react.default.createElement("div", { className: "section-footer-right" }, /* @__PURE__ */ import_react.default.createElement(import_materials.Badge, { count: ((_a = cartData.cartItems) == null ? void 0 : _a.length) || 0 }, /* @__PURE__ */ import_react.default.createElement(
|
|
67
|
+
import_materials.Button,
|
|
68
|
+
{
|
|
69
|
+
size: "large",
|
|
70
|
+
onClick: () => onOpenCart(),
|
|
71
|
+
className: "section-footer-btn"
|
|
72
|
+
},
|
|
73
|
+
/* @__PURE__ */ import_react.default.createElement(import_materials.Image, { src: import_shopping_cart.default, preview: false })
|
|
74
|
+
)), /* @__PURE__ */ import_react.default.createElement(import_ContinueButton.default, null))
|
|
75
|
+
}
|
|
76
|
+
), /* @__PURE__ */ import_react.default.createElement(
|
|
77
|
+
import_SelectHolderModal.default,
|
|
78
|
+
{
|
|
79
|
+
open,
|
|
80
|
+
selectedItem,
|
|
81
|
+
onSelect: (e) => {
|
|
82
|
+
setSelectedItem(e);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
), /* @__PURE__ */ import_react.default.createElement(import_Cart.default, { open: openCart, onCancel: () => onCloseCart() }));
|
|
86
|
+
};
|
|
87
|
+
var Footer_default = Footer;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
.section-footer-wrap {
|
|
2
|
+
position: sticky;
|
|
3
|
+
bottom: 0;
|
|
4
|
+
width: 100%;
|
|
5
|
+
display: flex;
|
|
6
|
+
padding: 24px;
|
|
7
|
+
justify-content: space-between;
|
|
8
|
+
align-items: center;
|
|
9
|
+
align-self: stretch;
|
|
10
|
+
background: #ffffff;
|
|
11
|
+
border-top: 1px solid #eaecf0;
|
|
12
|
+
|
|
13
|
+
.section-footer-left {
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
color: var(--Gray-900, #101828);
|
|
17
|
+
font-size: 16px;
|
|
18
|
+
font-weight: 400;
|
|
19
|
+
line-height: 24px;
|
|
20
|
+
> div {
|
|
21
|
+
justify-content: flex-start;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.gst-wrap {
|
|
25
|
+
color: var(--Gray-500, #667085);
|
|
26
|
+
font-size: 14px;
|
|
27
|
+
font-weight: 400;
|
|
28
|
+
line-height: 20px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.event-total {
|
|
32
|
+
padding: 0;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.event-amount {
|
|
36
|
+
font-size: 16px;
|
|
37
|
+
font-weight: 500;
|
|
38
|
+
line-height: 24px;
|
|
39
|
+
color: var(--Gray-900, #101828) !important;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.section-footer-right {
|
|
44
|
+
display: flex;
|
|
45
|
+
justify-content: center;
|
|
46
|
+
align-items: center;
|
|
47
|
+
gap: 12px;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.section-footer-btn {
|
|
51
|
+
display: flex;
|
|
52
|
+
align-items: center;
|
|
53
|
+
gap: 8px;
|
|
54
|
+
padding: 0;
|
|
55
|
+
width: 40px;
|
|
56
|
+
height: 40px;
|
|
57
|
+
justify-content: center;
|
|
58
|
+
.pisell-lowcode-image {
|
|
59
|
+
width: 20px;
|
|
60
|
+
height: 20px;
|
|
61
|
+
line-height: 20px;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
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/Provider/Header/index.tsx
|
|
30
|
+
var Header_exports = {};
|
|
31
|
+
__export(Header_exports, {
|
|
32
|
+
default: () => Header_default
|
|
33
|
+
});
|
|
34
|
+
module.exports = __toCommonJS(Header_exports);
|
|
35
|
+
var import_react = __toESM(require("react"));
|
|
36
|
+
var import_utils = require("@pisell/utils");
|
|
37
|
+
var import_Sales = require("../../../../Sales");
|
|
38
|
+
var import_progressBar = __toESM(require("../../progressBar"));
|
|
39
|
+
var import_utils2 = require("../../../utils");
|
|
40
|
+
var import_index = require("./index.less");
|
|
41
|
+
var Header = () => {
|
|
42
|
+
var _a, _b;
|
|
43
|
+
const { currentStepData, closePage, prevStep, isFirstStep } = (0, import_Sales.useStep)();
|
|
44
|
+
const { removeSessionStorage, data } = (0, import_Sales.useSales)();
|
|
45
|
+
const steps = {
|
|
46
|
+
"select-category": {
|
|
47
|
+
title: import_utils.locales.getText("pisell2.event.step")(1),
|
|
48
|
+
description: import_utils.locales.getText("pisell2.event.select.category")(
|
|
49
|
+
(0, import_utils2.resourceTitle)(data)
|
|
50
|
+
)
|
|
51
|
+
},
|
|
52
|
+
"select-event": {
|
|
53
|
+
title: import_utils.locales.getText("pisell2.event.step")(2),
|
|
54
|
+
description: import_utils.locales.getText("pisell2.event.select.event")
|
|
55
|
+
},
|
|
56
|
+
"confirm-information": {
|
|
57
|
+
title: import_utils.locales.getText("pisell2.event.step")(3),
|
|
58
|
+
description: import_utils.locales.getText("pisell2.event.confirm.information")
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
const handleBack = () => {
|
|
62
|
+
prevStep();
|
|
63
|
+
};
|
|
64
|
+
const handleClose = () => {
|
|
65
|
+
closePage();
|
|
66
|
+
removeSessionStorage();
|
|
67
|
+
};
|
|
68
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
|
69
|
+
import_progressBar.default,
|
|
70
|
+
{
|
|
71
|
+
title: (_a = steps[currentStepData == null ? void 0 : currentStepData.key]) == null ? void 0 : _a.title,
|
|
72
|
+
description: (_b = steps[currentStepData == null ? void 0 : currentStepData.key]) == null ? void 0 : _b.description,
|
|
73
|
+
showBack: !isFirstStep,
|
|
74
|
+
onBack: () => handleBack(),
|
|
75
|
+
onClose: () => handleClose(),
|
|
76
|
+
className: "event-booking-header"
|
|
77
|
+
}
|
|
78
|
+
);
|
|
79
|
+
};
|
|
80
|
+
var Header_default = Header;
|
|
@@ -0,0 +1,151 @@
|
|
|
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/Provider/Information/index.tsx
|
|
30
|
+
var Information_exports = {};
|
|
31
|
+
__export(Information_exports, {
|
|
32
|
+
default: () => Information_default
|
|
33
|
+
});
|
|
34
|
+
module.exports = __toCommonJS(Information_exports);
|
|
35
|
+
var import_react = __toESM(require("react"));
|
|
36
|
+
var import_antd = require("antd");
|
|
37
|
+
var import_materials = require("@pisell/materials");
|
|
38
|
+
var import_utils = require("@pisell/utils");
|
|
39
|
+
var import_Sales = require("../../../../Sales");
|
|
40
|
+
var import_SelectHolderModal = __toESM(require("../SelectHolderModal"));
|
|
41
|
+
var import_InformationOptionsModal = __toESM(require("../InformationOptionsModal/index"));
|
|
42
|
+
var import_RemoveOptionConfirmModal = __toESM(require("../RemoveOptionConfirmModal"));
|
|
43
|
+
var import_index = require("./index.less");
|
|
44
|
+
var Information = () => {
|
|
45
|
+
const { onHolderOpen, open } = (0, import_Sales.useHolder)();
|
|
46
|
+
const { cartDataHolderList } = (0, import_Sales.useCart)();
|
|
47
|
+
const { selectHolder, deleteHolderById } = (0, import_Sales.useHolder)();
|
|
48
|
+
const { prevStep } = (0, import_Sales.useStep)();
|
|
49
|
+
const [openOption, setOpenOption] = (0, import_react.useState)(false);
|
|
50
|
+
const [holderItem, setHolderItem] = (0, import_react.useState)(null);
|
|
51
|
+
const [removeOpen, setRemoveOpen] = (0, import_react.useState)(false);
|
|
52
|
+
const options = [
|
|
53
|
+
{
|
|
54
|
+
key: "edit",
|
|
55
|
+
label: /* @__PURE__ */ import_react.default.createElement("span", { className: "dropdown-menu-item" }, import_utils.locales.getText("pisell2.event.edit.event"))
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
key: "remove",
|
|
59
|
+
label: /* @__PURE__ */ import_react.default.createElement("span", { className: "dropdown-menu-item dropdown-menu-remove-item" }, import_utils.locales.getText("pisell2.event.remove"))
|
|
60
|
+
}
|
|
61
|
+
];
|
|
62
|
+
const handleClick = ({ key }, item) => {
|
|
63
|
+
if (key === "edit") {
|
|
64
|
+
selectHolder(item || holderItem, "createCartItem");
|
|
65
|
+
prevStep();
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
setRemoveOpen(true);
|
|
69
|
+
};
|
|
70
|
+
const renderOptionButton = (item) => {
|
|
71
|
+
if ((0, import_utils.isMobile)()) {
|
|
72
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
|
73
|
+
import_materials.Button,
|
|
74
|
+
{
|
|
75
|
+
size: "large",
|
|
76
|
+
onClick: () => {
|
|
77
|
+
setHolderItem(item);
|
|
78
|
+
setOpenOption(true);
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
import_utils.locales.getText("pisell2.event.option")
|
|
82
|
+
);
|
|
83
|
+
}
|
|
84
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
|
85
|
+
import_antd.Dropdown,
|
|
86
|
+
{
|
|
87
|
+
menu: {
|
|
88
|
+
items: options,
|
|
89
|
+
onClick: (e) => {
|
|
90
|
+
setHolderItem(item);
|
|
91
|
+
handleClick(e, item);
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
placement: "bottomRight",
|
|
95
|
+
overlayClassName: "provider-information-custom-dropdown-menu"
|
|
96
|
+
},
|
|
97
|
+
/* @__PURE__ */ import_react.default.createElement(import_materials.Button, null, import_utils.locales.getText("pisell2.event.option"))
|
|
98
|
+
);
|
|
99
|
+
};
|
|
100
|
+
return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("div", { className: "provider-information-wrap" }, /* @__PURE__ */ import_react.default.createElement("span", { className: "title" }, import_utils.locales.getText("pisell2.event.confirm.information.tip")), cartDataHolderList == null ? void 0 : cartDataHolderList.map((item) => {
|
|
101
|
+
var _a;
|
|
102
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
|
103
|
+
import_materials.PisellCard,
|
|
104
|
+
{
|
|
105
|
+
key: item.id,
|
|
106
|
+
padding: 20,
|
|
107
|
+
className: "information-card",
|
|
108
|
+
isClickable: false
|
|
109
|
+
},
|
|
110
|
+
/* @__PURE__ */ import_react.default.createElement("div", { className: "information-header" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "information-left" }, /* @__PURE__ */ import_react.default.createElement(import_materials.PisellAvatar, { src: item.avatar, size: "md" }), /* @__PURE__ */ import_react.default.createElement("div", { className: "information-title" }, /* @__PURE__ */ import_react.default.createElement("span", null, item.name), /* @__PURE__ */ import_react.default.createElement("span", { className: "subtitle" }, `${import_utils.locales.getText(
|
|
111
|
+
"pisell2.event.title"
|
|
112
|
+
)((_a = item.children) == null ? void 0 : _a.length)}`))), renderOptionButton(item)),
|
|
113
|
+
item.children.map((child) => {
|
|
114
|
+
return /* @__PURE__ */ import_react.default.createElement("div", { className: "child-wrap" }, child.name);
|
|
115
|
+
})
|
|
116
|
+
);
|
|
117
|
+
}), /* @__PURE__ */ import_react.default.createElement("span", { className: "add-tip" }, import_utils.locales.getText("pisell2.event.confirm.information.other")), /* @__PURE__ */ import_react.default.createElement(
|
|
118
|
+
import_materials.Button,
|
|
119
|
+
{
|
|
120
|
+
size: "large",
|
|
121
|
+
style: { width: "max-content" },
|
|
122
|
+
onClick: () => {
|
|
123
|
+
onHolderOpen();
|
|
124
|
+
},
|
|
125
|
+
className: "provider-information-add-button"
|
|
126
|
+
},
|
|
127
|
+
/* @__PURE__ */ import_react.default.createElement(import_materials.Iconfont, { type: "pisell2-plus", style: { fontSize: "20px" } }),
|
|
128
|
+
import_utils.locales.getText("pisell2.event.add.others")
|
|
129
|
+
)), /* @__PURE__ */ import_react.default.createElement(import_SelectHolderModal.default, { open, type: "create" }), /* @__PURE__ */ import_react.default.createElement(
|
|
130
|
+
import_InformationOptionsModal.default,
|
|
131
|
+
{
|
|
132
|
+
options,
|
|
133
|
+
open: openOption,
|
|
134
|
+
holderItem,
|
|
135
|
+
onCancel: () => setOpenOption(false),
|
|
136
|
+
onClick: handleClick
|
|
137
|
+
}
|
|
138
|
+
), /* @__PURE__ */ import_react.default.createElement(
|
|
139
|
+
import_RemoveOptionConfirmModal.default,
|
|
140
|
+
{
|
|
141
|
+
removeOpen,
|
|
142
|
+
onCancel: () => setRemoveOpen(false),
|
|
143
|
+
onOk: () => {
|
|
144
|
+
deleteHolderById(holderItem.id);
|
|
145
|
+
setRemoveOpen(false);
|
|
146
|
+
setOpenOption(false);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
));
|
|
150
|
+
};
|
|
151
|
+
var Information_default = Information;
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
.provider-information-wrap {
|
|
2
|
+
padding: 16px;
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
gap: 16px;
|
|
6
|
+
background: #ffffff;
|
|
7
|
+
margin-top: 16px;
|
|
8
|
+
width: 100%;
|
|
9
|
+
|
|
10
|
+
.provider-information-add-button {
|
|
11
|
+
display: flex;
|
|
12
|
+
align-items: center;
|
|
13
|
+
.pisell-lowcode-image-mask-info {
|
|
14
|
+
padding: 0 !important;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.title,
|
|
19
|
+
.add-tip {
|
|
20
|
+
color: var(--Gray-900, #101828);
|
|
21
|
+
font-size: 18px;
|
|
22
|
+
font-weight: 600;
|
|
23
|
+
line-height: 28px;
|
|
24
|
+
}
|
|
25
|
+
.pisell-lowcode-card-body {
|
|
26
|
+
display: flex;
|
|
27
|
+
flex-direction: column;
|
|
28
|
+
// gap: 10px;
|
|
29
|
+
}
|
|
30
|
+
.information-card {
|
|
31
|
+
display: flex;
|
|
32
|
+
flex-direction: column;
|
|
33
|
+
gap: 10px;
|
|
34
|
+
.information-header {
|
|
35
|
+
display: flex;
|
|
36
|
+
align-items: center;
|
|
37
|
+
justify-content: space-between;
|
|
38
|
+
gap: 10px;
|
|
39
|
+
.information-left {
|
|
40
|
+
display: flex;
|
|
41
|
+
align-items: center;
|
|
42
|
+
gap: 10px;
|
|
43
|
+
.information-title {
|
|
44
|
+
color: var(--Text-Text_1, #1b1b1b);
|
|
45
|
+
font-size: 14px;
|
|
46
|
+
font-weight: 600;
|
|
47
|
+
line-height: 20px;
|
|
48
|
+
display: flex;
|
|
49
|
+
flex-direction: column;
|
|
50
|
+
flex: 1;
|
|
51
|
+
.subtitle {
|
|
52
|
+
font-weight: 400;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.child-wrap {
|
|
59
|
+
display: flex;
|
|
60
|
+
flex-direction: column;
|
|
61
|
+
gap: 10px;
|
|
62
|
+
margin-top: 10px;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.provider-information-custom-dropdown-menu {
|
|
68
|
+
.pisell-lowcode-dropdown-menu {
|
|
69
|
+
padding: 6px;
|
|
70
|
+
border-bottom: 1px solid var(--Gray-200, #eaecf0);
|
|
71
|
+
|
|
72
|
+
.pisell-lowcode-dropdown-menu-item {
|
|
73
|
+
padding: 9px 10px;
|
|
74
|
+
|
|
75
|
+
.dropdown-menu-item {
|
|
76
|
+
color: var(--Gray-700, #344054);
|
|
77
|
+
font-size: 14px;
|
|
78
|
+
font-weight: 500;
|
|
79
|
+
line-height: 20px;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.dropdown-menu-remove-item {
|
|
83
|
+
color: var(--Error-700, #b42318);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&:hover {
|
|
87
|
+
border-radius: 6px;
|
|
88
|
+
background: var(--Gray-50, #f9fafb);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
package/lib/components/parallelResourcBooking/components/Provider/InformationOptionsModal/index.js
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
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/Provider/InformationOptionsModal/index.tsx
|
|
30
|
+
var InformationOptionsModal_exports = {};
|
|
31
|
+
__export(InformationOptionsModal_exports, {
|
|
32
|
+
default: () => InformationOptionsModal_default
|
|
33
|
+
});
|
|
34
|
+
module.exports = __toCommonJS(InformationOptionsModal_exports);
|
|
35
|
+
var import_react = __toESM(require("react"));
|
|
36
|
+
var import_materials = require("@pisell/materials");
|
|
37
|
+
var import_index = require("./index.less");
|
|
38
|
+
var InformationOptionsModal = (props) => {
|
|
39
|
+
const { open, onCancel, options, onClick } = props;
|
|
40
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
|
41
|
+
import_materials.PisellModal,
|
|
42
|
+
{
|
|
43
|
+
open,
|
|
44
|
+
platform: "h5",
|
|
45
|
+
closable: true,
|
|
46
|
+
bodyStyle: { padding: "0 24px" },
|
|
47
|
+
destroyOnClose: true,
|
|
48
|
+
footer: null,
|
|
49
|
+
onCancel,
|
|
50
|
+
mobileModalHeight: "auto",
|
|
51
|
+
className: "information-option-modal",
|
|
52
|
+
headerDivider: false
|
|
53
|
+
},
|
|
54
|
+
/* @__PURE__ */ import_react.default.createElement("div", { className: "information-options-wrap" }, options.map((item) => {
|
|
55
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
|
56
|
+
"div",
|
|
57
|
+
{
|
|
58
|
+
key: item.key,
|
|
59
|
+
className: "information-options-wrap-item",
|
|
60
|
+
onClick: () => onClick(item)
|
|
61
|
+
},
|
|
62
|
+
item.label
|
|
63
|
+
);
|
|
64
|
+
}))
|
|
65
|
+
);
|
|
66
|
+
};
|
|
67
|
+
var InformationOptionsModal_default = InformationOptionsModal;
|
package/lib/components/parallelResourcBooking/components/Provider/InformationOptionsModal/index.less
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
.information-options-wrap {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
gap: 16px;
|
|
5
|
+
.information-options-wrap-item {
|
|
6
|
+
color: var(--Gray-900, #101828);
|
|
7
|
+
font-size: 16px;
|
|
8
|
+
font-weight: 600;
|
|
9
|
+
line-height: 24px;
|
|
10
|
+
display: flex;
|
|
11
|
+
padding: 9px 10px;
|
|
12
|
+
align-items: center;
|
|
13
|
+
flex: 1 0 0;
|
|
14
|
+
&:last-child {
|
|
15
|
+
color: var(--Error-700, #b42318);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.information-option-modal {
|
|
21
|
+
.pisell-lowcode-modal-header {
|
|
22
|
+
border: none;
|
|
23
|
+
}
|
|
24
|
+
.pisell-lowcode-modal-body {
|
|
25
|
+
height: max-content;
|
|
26
|
+
}
|
|
27
|
+
}
|