@pisell/private-materials 6.2.10 → 6.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 +8 -8
- package/build/lowcode/render/default/view.js +2 -2
- package/build/lowcode/view.js +8 -8
- package/es/businessModel/SalesModel/Sales/index.d.ts +24 -0
- package/es/businessModel/SalesModel/index.d.ts +1 -0
- package/es/components/Sales/Cart/index.d.ts +53 -0
- package/es/components/Sales/Cart/utils.d.ts +63 -0
- package/es/components/Sales/Checkout/index.d.ts +37 -0
- package/es/components/Sales/Checkout/serve.d.ts +15 -0
- package/es/components/Sales/Checkout/utils.d.ts +40 -0
- package/es/components/Sales/Customer/index.d.ts +25 -0
- package/es/components/Sales/Resource/index.d.ts +26 -0
- package/es/components/Sales/Resource/serve.d.ts +12 -0
- package/es/components/Sales/Summary/index.d.ts +35 -0
- package/es/components/Sales/Summary/serve.d.ts +1 -0
- package/es/components/Sales/Summary/utils.d.ts +51 -0
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +3 -0
- package/es/components/appointmentBooking/components/Deposit/index.d.ts +9 -0
- package/es/components/appointmentBooking/components/Footer/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Form/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Form/utils.d.ts +8 -0
- package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Header/index.d.ts +3 -0
- package/es/components/appointmentBooking/components/Resource/index.d.ts +7 -0
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
- package/es/components/appointmentBooking/deposit/index.d.ts +3 -0
- package/es/components/appointmentBooking/index.d.ts +3 -0
- package/es/components/booking/components/TabProduct/index.d.ts +1 -0
- 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/components/customSelect/index.d.ts +38 -0
- package/es/components/booking/components/customSelect/index.js +1 -0
- package/es/components/booking/components/footer/index.d.ts +11 -0
- package/es/components/booking/components/footer/utils.d.ts +41 -0
- package/es/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
- package/es/components/booking/components/reloadResourceModal/index.d.ts +8 -0
- package/es/components/booking/components/voucher/index.d.ts +3 -0
- package/es/components/booking/editBookingModal/index.d.ts +5 -0
- package/es/components/booking/editBookingModal/locales.d.ts +21 -0
- package/es/components/booking/editBookingModal/mock.d.ts +807 -0
- package/es/components/booking/editBookingModal/serve.d.ts +51 -0
- package/es/components/booking/editBookingModal/type.d.ts +12 -0
- package/es/components/booking/editBookingModal/utils.d.ts +12 -0
- package/es/components/booking/forms/model.js +5 -5
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
- package/es/components/booking/forms/table/index.d.ts +1 -0
- package/es/components/booking/hooks/useClearCart.d.ts +2 -0
- package/es/components/booking/hooks/useClearCart.js +11 -8
- package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
- package/es/components/booking/info/addServiceVariant/index.d.ts +6 -0
- package/es/components/booking/info/client/index.d.ts +4 -0
- package/es/components/booking/info/client/index.js +3 -2
- package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/es/components/booking/info/dateRange/index.d.ts +1 -0
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +9 -0
- package/es/components/booking/info/hooks/useInfoHolder.js +16 -9
- package/es/components/booking/info/index.d.ts +3 -0
- package/es/components/booking/info/model.d.ts +5 -0
- package/es/components/booking/info/service/Lists.d.ts +2 -0
- package/es/components/booking/info/service/Lists.js +36 -26
- package/es/components/booking/info/service/addService/index.d.ts +11 -0
- package/es/components/booking/info/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
- package/es/components/booking/info/service/editService/index.d.ts +7 -0
- package/es/components/booking/info/service/like/index.d.ts +1 -0
- package/es/components/booking/info/service/like/index.js +1 -1
- package/es/components/booking/info/service/serviceManager/index.d.ts +20 -0
- package/es/components/booking/info/service2/utils.d.ts +247 -0
- package/es/components/booking/info/service2/utils.js +20 -21
- package/es/components/booking/info/utils.d.ts +50 -0
- package/es/components/booking/info2/index.d.ts +12 -0
- package/es/components/booking/info2/index.js +1 -0
- package/es/components/booking/info2/service/addService/index.d.ts +11 -0
- package/es/components/booking/info2/service/addService/utils.d.ts +98 -0
- package/es/components/booking/info2/service/addService/utils.js +6 -3
- package/es/components/booking/info2/service/addTimeModal/index.d.ts +3 -0
- package/es/components/booking/info2/service/addTimeModal/index.js +3 -0
- package/es/components/booking/info2/service/editService/Resources/index.d.ts +4 -0
- package/es/components/booking/info2/service/editService/Resources/index.js +5 -0
- package/es/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.d.ts +7 -0
- package/es/components/booking/info2/service/editService/ResourcesV2/index.d.ts +10 -0
- package/es/components/booking/info2/service/editService/index.d.ts +7 -0
- package/es/components/booking/info2/service/editService/index.js +258 -165
- package/es/components/booking/info2/service/index.d.ts +4 -0
- package/es/components/booking/info2/service/index.js +19 -15
- package/es/components/booking/info2/utils.d.ts +4 -0
- package/es/components/booking/info2/utilsByBooking.d.ts +35 -0
- package/es/components/booking/locales.d.ts +828 -0
- package/es/components/booking/materiels/duration/index.d.ts +13 -0
- package/es/components/booking/materiels/duration/index.js +9 -2
- package/es/components/booking/materiels/holder/index.d.ts +1 -0
- package/es/components/booking/materiels/startTime/index.js +1 -1
- package/es/components/booking/model.d.ts +108 -0
- 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/model.js +5 -5
- package/es/components/booking/payments/model.js +5 -5
- package/es/components/eftpos/deviceList/index.d.ts +1 -0
- package/es/components/eftpos/form/index.d.ts +1 -0
- package/es/components/eftpos/group/index.d.ts +1 -0
- package/es/components/eftpos/hooks.d.ts +1 -0
- package/es/components/eftpos/icon/apiKey.d.ts +1 -0
- package/es/components/eftpos/icon/device.d.ts +1 -0
- package/es/components/eftpos/receipt/index.d.ts +1 -0
- package/es/components/eftpos/surcharge/index.d.ts +1 -0
- package/es/components/eftposPay/component/alert/warn.d.ts +1 -0
- package/es/components/eftposPay/component/header/titlebar.d.ts +1 -0
- package/es/components/eftposPay/component/step/index.d.ts +1 -0
- package/es/components/eftposPay/component/step/step.d.ts +1 -0
- package/es/components/eftposPay/const.d.ts +184 -0
- package/es/components/eftposPay/hooks.d.ts +35 -0
- package/es/components/eftposPay/index.d.ts +4 -0
- package/es/components/eftposPay/linkly/const.d.ts +23 -0
- package/es/components/eftposPay/linkly/hooks/index.d.ts +2 -0
- package/es/components/eftposPay/linkly/hooks/normal.d.ts +30 -0
- package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
- package/es/components/eftposPay/linkly/index.d.ts +2 -0
- package/es/components/eftposPay/linkly/service.d.ts +32 -0
- package/es/components/eftposPay/manufacturer.d.ts +7 -0
- package/es/components/eftposPay/pay.d.ts +20 -0
- package/es/components/eftposPay/payo/config.d.ts +12 -0
- package/es/components/eftposPay/store/index.d.ts +355 -0
- package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +3 -0
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +2 -0
- package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +3 -0
- package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +3 -0
- package/es/components/eventBooking/components/Provider/Event/index.d.ts +3 -0
- package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/index.d.ts +7 -0
- package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
- package/es/components/eventBooking/index.d.ts +3 -0
- package/es/components/eventBooking/locales.d.ts +246 -0
- package/es/components/index.d.ts +20 -0
- package/es/components/listComponent/index.js +5 -5
- package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +3 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +61 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/index.d.ts +9 -0
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
- package/es/components/pay/toC/index.d.ts +3 -0
- package/es/components/pay/toC/locales.d.ts +289 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
- 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/Actor/index.d.ts +1 -0
- package/es/components/productExtension/fields/Forms/index.d.ts +1 -0
- 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/productSelect/components/pisellPriceText/index.d.ts +11 -0
- package/es/components/ruleSetting/ruleBorder/index.js +1 -1
- package/es/components/schedules/calendar/calendarItem.d.ts +1 -0
- 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.d.ts +1 -0
- 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/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
- package/es/components/schedules/components/Search/index.js +5 -5
- 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/ProductDetail/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/index.js +3 -3
- package/es/components/schedules/products/index.d.ts +1 -0
- 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.d.ts +1 -0
- 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 +4 -0
- package/es/components/shoppingCart/components/Cart/Product.js +48 -41
- package/es/components/shoppingCart/components/Cart/index.d.ts +3 -0
- package/es/components/shoppingCart/components/Cart/index.js +21 -18
- package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
- package/es/components/shoppingCart/components/Render/index.d.ts +1 -0
- package/es/components/stepController/components/Content/index.d.ts +7 -0
- package/es/components/stepController/components/Footer/index.d.ts +8 -0
- package/es/components/stepController/components/Header/index.d.ts +20 -0
- package/es/components/stepController/index.d.ts +5 -0
- package/es/components/stepController/locales.d.ts +27 -0
- package/es/components/stepController/types.d.ts +23 -0
- package/es/components/ticketBooking/components/addServiceVariant/addService.js +175 -157
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
- package/es/components/ticketBooking/components/timeBar/index.js +78 -71
- package/es/components/ticketBooking/serve.d.ts +287 -0
- package/es/components/ticketBooking/utils/formatProductMessage.d.ts +2 -0
- package/es/components/ticketBooking/utils/formatTime.d.ts +31 -0
- package/es/components/ticketBooking/utils/index.d.ts +23 -0
- package/es/components/workSpaceList/components/Modal/index.d.ts +1 -0
- package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
- package/es/hooks/useComponents.js +1 -1
- package/es/hooks/useWindowSize.d.ts +5 -0
- package/es/index.d.ts +47 -0
- package/es/utils/index.d.ts +23 -0
- package/lib/businessModel/SalesModel/Sales/index.d.ts +24 -0
- package/lib/businessModel/SalesModel/index.d.ts +1 -0
- package/lib/components/Sales/Cart/index.d.ts +53 -0
- package/lib/components/Sales/Cart/utils.d.ts +63 -0
- package/lib/components/Sales/Checkout/index.d.ts +37 -0
- package/lib/components/Sales/Checkout/serve.d.ts +15 -0
- package/lib/components/Sales/Checkout/utils.d.ts +40 -0
- package/lib/components/Sales/Customer/index.d.ts +25 -0
- package/lib/components/Sales/Resource/index.d.ts +26 -0
- package/lib/components/Sales/Resource/serve.d.ts +12 -0
- package/lib/components/Sales/Summary/index.d.ts +35 -0
- package/lib/components/Sales/Summary/serve.d.ts +1 -0
- package/lib/components/Sales/Summary/utils.d.ts +51 -0
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Deposit/index.d.ts +9 -0
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Form/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Form/utils.d.ts +8 -0
- package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Header/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Resource/index.d.ts +7 -0
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
- package/lib/components/appointmentBooking/deposit/index.d.ts +3 -0
- package/lib/components/appointmentBooking/index.d.ts +3 -0
- package/lib/components/booking/components/TabProduct/index.d.ts +1 -0
- package/lib/components/booking/components/customSelect/index.d.ts +38 -0
- package/lib/components/booking/components/customSelect/index.js +1 -0
- package/lib/components/booking/components/footer/index.d.ts +11 -0
- package/lib/components/booking/components/footer/utils.d.ts +41 -0
- package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
- package/lib/components/booking/components/reloadResourceModal/index.d.ts +8 -0
- package/lib/components/booking/components/voucher/index.d.ts +3 -0
- package/lib/components/booking/editBookingModal/index.d.ts +5 -0
- package/lib/components/booking/editBookingModal/locales.d.ts +21 -0
- package/lib/components/booking/editBookingModal/mock.d.ts +807 -0
- package/lib/components/booking/editBookingModal/serve.d.ts +51 -0
- package/lib/components/booking/editBookingModal/type.d.ts +12 -0
- package/lib/components/booking/editBookingModal/utils.d.ts +12 -0
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
- package/lib/components/booking/forms/table/index.d.ts +1 -0
- package/lib/components/booking/hooks/useClearCart.d.ts +2 -0
- package/lib/components/booking/hooks/useClearCart.js +16 -13
- package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
- package/lib/components/booking/info/addServiceVariant/index.d.ts +6 -0
- package/lib/components/booking/info/client/index.d.ts +4 -0
- package/lib/components/booking/info/client/index.js +5 -4
- package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/lib/components/booking/info/dateRange/index.d.ts +1 -0
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +9 -0
- package/lib/components/booking/info/hooks/useInfoHolder.js +10 -9
- package/lib/components/booking/info/index.d.ts +3 -0
- package/lib/components/booking/info/model.d.ts +5 -0
- package/lib/components/booking/info/service/Lists.d.ts +2 -0
- package/lib/components/booking/info/service/Lists.js +35 -23
- package/lib/components/booking/info/service/addService/index.d.ts +11 -0
- package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
- package/lib/components/booking/info/service/editService/index.d.ts +7 -0
- package/lib/components/booking/info/service/like/index.d.ts +1 -0
- package/lib/components/booking/info/service/serviceManager/index.d.ts +20 -0
- package/lib/components/booking/info/service2/utils.d.ts +247 -0
- package/lib/components/booking/info/service2/utils.js +17 -17
- package/lib/components/booking/info/utils.d.ts +50 -0
- package/lib/components/booking/info2/index.d.ts +12 -0
- package/lib/components/booking/info2/service/addService/index.d.ts +11 -0
- package/lib/components/booking/info2/service/addService/utils.d.ts +98 -0
- package/lib/components/booking/info2/service/addService/utils.js +4 -2
- package/lib/components/booking/info2/service/addTimeModal/index.d.ts +3 -0
- package/lib/components/booking/info2/service/addTimeModal/index.js +3 -0
- package/lib/components/booking/info2/service/editService/Resources/index.d.ts +4 -0
- package/lib/components/booking/info2/service/editService/Resources/index.js +2 -0
- package/lib/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.d.ts +7 -0
- package/lib/components/booking/info2/service/editService/ResourcesV2/index.d.ts +10 -0
- package/lib/components/booking/info2/service/editService/index.d.ts +7 -0
- package/lib/components/booking/info2/service/editService/index.js +132 -70
- package/lib/components/booking/info2/service/index.d.ts +4 -0
- package/lib/components/booking/info2/service/index.js +13 -9
- package/lib/components/booking/info2/utils.d.ts +4 -0
- package/lib/components/booking/info2/utilsByBooking.d.ts +35 -0
- package/lib/components/booking/locales.d.ts +828 -0
- package/lib/components/booking/materiels/duration/index.d.ts +13 -0
- package/lib/components/booking/materiels/duration/index.js +7 -2
- package/lib/components/booking/materiels/holder/index.d.ts +1 -0
- package/lib/components/booking/model.d.ts +108 -0
- package/lib/components/eftpos/deviceList/index.d.ts +1 -0
- package/lib/components/eftpos/form/index.d.ts +1 -0
- package/lib/components/eftpos/group/index.d.ts +1 -0
- package/lib/components/eftpos/hooks.d.ts +1 -0
- package/lib/components/eftpos/icon/apiKey.d.ts +1 -0
- package/lib/components/eftpos/icon/device.d.ts +1 -0
- package/lib/components/eftpos/receipt/index.d.ts +1 -0
- package/lib/components/eftpos/surcharge/index.d.ts +1 -0
- package/lib/components/eftposPay/component/alert/warn.d.ts +1 -0
- package/lib/components/eftposPay/component/header/titlebar.d.ts +1 -0
- package/lib/components/eftposPay/component/step/index.d.ts +1 -0
- package/lib/components/eftposPay/component/step/step.d.ts +1 -0
- package/lib/components/eftposPay/const.d.ts +184 -0
- package/lib/components/eftposPay/hooks.d.ts +35 -0
- package/lib/components/eftposPay/index.d.ts +4 -0
- package/lib/components/eftposPay/linkly/const.d.ts +23 -0
- package/lib/components/eftposPay/linkly/hooks/index.d.ts +2 -0
- package/lib/components/eftposPay/linkly/hooks/normal.d.ts +30 -0
- package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
- package/lib/components/eftposPay/linkly/index.d.ts +2 -0
- package/lib/components/eftposPay/linkly/service.d.ts +32 -0
- package/lib/components/eftposPay/manufacturer.d.ts +7 -0
- package/lib/components/eftposPay/pay.d.ts +20 -0
- package/lib/components/eftposPay/payo/config.d.ts +12 -0
- package/lib/components/eftposPay/store/index.d.ts +355 -0
- package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +3 -0
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +2 -0
- package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +3 -0
- package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +3 -0
- package/lib/components/eventBooking/components/Provider/Event/index.d.ts +3 -0
- package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/index.d.ts +7 -0
- package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
- package/lib/components/eventBooking/index.d.ts +3 -0
- package/lib/components/eventBooking/locales.d.ts +246 -0
- package/lib/components/index.d.ts +20 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +3 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +61 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/index.d.ts +9 -0
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
- package/lib/components/pay/toC/index.d.ts +3 -0
- package/lib/components/pay/toC/locales.d.ts +289 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
- package/lib/components/productExtension/fields/Actor/index.d.ts +1 -0
- package/lib/components/productExtension/fields/Forms/index.d.ts +1 -0
- package/lib/components/productSelect/components/pisellPriceText/index.d.ts +11 -0
- package/lib/components/schedules/calendar/calendarItem.d.ts +1 -0
- package/lib/components/schedules/components/CurrentDay/index.d.ts +1 -0
- package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
- package/lib/components/schedules/products/index.d.ts +1 -0
- package/lib/components/schedules/resources/relationProduct/index.d.ts +1 -0
- package/lib/components/schedules/utils.js +1 -1
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +4 -0
- package/lib/components/shoppingCart/components/Cart/Product.js +31 -21
- package/lib/components/shoppingCart/components/Cart/index.d.ts +3 -0
- package/lib/components/shoppingCart/components/Cart/index.js +18 -15
- package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
- package/lib/components/shoppingCart/components/Render/index.d.ts +1 -0
- package/lib/components/stepController/components/Content/index.d.ts +7 -0
- package/lib/components/stepController/components/Footer/index.d.ts +8 -0
- package/lib/components/stepController/components/Header/index.d.ts +20 -0
- package/lib/components/stepController/index.d.ts +5 -0
- package/lib/components/stepController/locales.d.ts +27 -0
- package/lib/components/stepController/types.d.ts +23 -0
- package/lib/components/ticketBooking/components/addServiceVariant/addService.js +143 -127
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
- package/lib/components/ticketBooking/components/timeBar/index.js +95 -88
- package/lib/components/ticketBooking/serve.d.ts +287 -0
- package/lib/components/ticketBooking/utils/formatProductMessage.d.ts +2 -0
- package/lib/components/ticketBooking/utils/formatTime.d.ts +31 -0
- package/lib/components/ticketBooking/utils/index.d.ts +23 -0
- package/lib/components/workSpaceList/components/Modal/index.d.ts +1 -0
- package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
- package/lib/hooks/useWindowSize.d.ts +5 -0
- package/lib/index.d.ts +47 -0
- package/lib/utils/index.d.ts +23 -0
- package/package.json +3 -3
@@ -0,0 +1,287 @@
|
|
1
|
+
/**
|
2
|
+
* @title: 获取客户列表
|
3
|
+
* @description: 获取客户列表
|
4
|
+
* @param {any} params
|
5
|
+
* @return {*}
|
6
|
+
* @Author: cong.shao
|
7
|
+
* @Date: 2025-04-24 16:28
|
8
|
+
*/
|
9
|
+
export declare const getClients: (params: any) => Promise<any>;
|
10
|
+
/**
|
11
|
+
* @title: 获取服务列表
|
12
|
+
* @description: 查询服务列表
|
13
|
+
* @param {any} params
|
14
|
+
* @return {*}
|
15
|
+
* @Author: cong.shao
|
16
|
+
* @Date: 2025-04-24 16:28
|
17
|
+
*/
|
18
|
+
export declare const getServices: (params: any) => Promise<any>;
|
19
|
+
/**
|
20
|
+
* @title: 获取资源列表
|
21
|
+
* @description: 资源列表
|
22
|
+
* @param {any} params
|
23
|
+
* @return {*}
|
24
|
+
* @Author: cong.shao
|
25
|
+
* @Date: 2025-04-24 16:28
|
26
|
+
*/
|
27
|
+
export declare const getResources: (params: any) => Promise<any>;
|
28
|
+
/**
|
29
|
+
* @title: 获取产品列表
|
30
|
+
* @description: 查询产品列表
|
31
|
+
* @param {any} params
|
32
|
+
* @return {*}
|
33
|
+
* @Author: cong.shao
|
34
|
+
* @Date: 2025-04-24 16:28
|
35
|
+
*/
|
36
|
+
export declare const getProducts: (params: any) => Promise<any>;
|
37
|
+
/**
|
38
|
+
* @title: 获取表单列表
|
39
|
+
* @description: 获取关联记录表单列表
|
40
|
+
* @param {any} params
|
41
|
+
* @return {*}
|
42
|
+
* @Author: cong.shao
|
43
|
+
* @Date: 2025-04-24 16:28
|
44
|
+
*/
|
45
|
+
export declare const getForms: (params: any) => Promise<any>;
|
46
|
+
/**
|
47
|
+
* @title: 获取预约配置
|
48
|
+
* @description: 获取预约相关配置信息
|
49
|
+
* @param {any} params
|
50
|
+
* @return {*}
|
51
|
+
* @Author: cong.shao
|
52
|
+
* @Date: 2025-04-24 16:28
|
53
|
+
*/
|
54
|
+
export declare const getBookingConfig: (params: any) => Promise<any>;
|
55
|
+
/**
|
56
|
+
* @title: 获取宠物信息
|
57
|
+
* @description: 根据ID获取宠物信息
|
58
|
+
* @param {string} formId
|
59
|
+
* @param {any} params
|
60
|
+
* @return {*}
|
61
|
+
* @Author: cong.shao
|
62
|
+
* @Date: 2025-04-24 16:28
|
63
|
+
*/
|
64
|
+
export declare const getPets: (formId: string, params: any) => Promise<any>;
|
65
|
+
/**
|
66
|
+
* @title: 获取宠物数据
|
67
|
+
* @description: 获取宠物数据
|
68
|
+
* @param {any} params
|
69
|
+
* @return {*}
|
70
|
+
* @Author: cong.shao
|
71
|
+
* @Date: 2025-04-24 16:28
|
72
|
+
*/
|
73
|
+
export declare const getPetsData: (params: any) => Promise<any>;
|
74
|
+
/**
|
75
|
+
* @title: 创建预约
|
76
|
+
* @description: 创建新的预约记录
|
77
|
+
* @param {any} params
|
78
|
+
* @return {*}
|
79
|
+
* @Author: cong.shao
|
80
|
+
* @Date: 2025-04-24 16:28
|
81
|
+
*/
|
82
|
+
export declare const createBooking: (params: any) => Promise<any>;
|
83
|
+
/**
|
84
|
+
* @title: 获取预约附加服务
|
85
|
+
* @description: 根据预约ID获取附加服务信息
|
86
|
+
* @param {string} bookingId
|
87
|
+
* @param {any} params
|
88
|
+
* @return {*}
|
89
|
+
* @Author: cong.shao
|
90
|
+
* @Date: 2025-04-24 16:28
|
91
|
+
*/
|
92
|
+
export declare const getAddonsByOrderId: (bookingId: string, params: any) => Promise<any>;
|
93
|
+
/**
|
94
|
+
* @title: 保存预约附加服务
|
95
|
+
* @description: 保存预约的附加服务信息
|
96
|
+
* @param {string} bookingId
|
97
|
+
* @param {any} params
|
98
|
+
* @return {*}
|
99
|
+
* @Author: cong.shao
|
100
|
+
* @Date: 2025-04-24 16:28
|
101
|
+
*/
|
102
|
+
export declare const saveAddonsByOrderId: (bookingId: string, params: any) => Promise<any>;
|
103
|
+
/**
|
104
|
+
* @title: 获取预约详情
|
105
|
+
* @description: 获取预约详细信息
|
106
|
+
* @param {number} bookingId
|
107
|
+
* @param {any} params
|
108
|
+
* @return {*}
|
109
|
+
* @Author: cong.shao
|
110
|
+
* @Date: 2025-04-24 16:28
|
111
|
+
*/
|
112
|
+
export declare const getBookingDetail: (bookingId: number, params?: any) => Promise<any>;
|
113
|
+
/**
|
114
|
+
* @title: 编辑预约状态
|
115
|
+
* @description: 更新预约状态
|
116
|
+
* @param {string} bookingId
|
117
|
+
* @param {any} params
|
118
|
+
* @return {*}
|
119
|
+
* @Author: cong.shao
|
120
|
+
* @Date: 2025-04-24 16:28
|
121
|
+
*/
|
122
|
+
export declare const editBookingStatus: (bookingId: string, params: any) => Promise<any>;
|
123
|
+
/**
|
124
|
+
* @title: 编辑预约信息
|
125
|
+
* @description: 更新预约信息
|
126
|
+
* @param {string} bookingId
|
127
|
+
* @param {any} params
|
128
|
+
* @return {*}
|
129
|
+
* @Author: cong.shao
|
130
|
+
* @Date: 2025-04-24 16:28
|
131
|
+
*/
|
132
|
+
export declare const editBooking: (bookingId: string, params: any) => Promise<any>;
|
133
|
+
/**
|
134
|
+
* @title: 获取预约备注
|
135
|
+
* @description: 获取预约相关备注信息
|
136
|
+
* @param {any} params
|
137
|
+
* @return {*}
|
138
|
+
* @Author: cong.shao
|
139
|
+
* @Date: 2025-04-24 16:28
|
140
|
+
*/
|
141
|
+
export declare const getNotesByOrder: (params: any) => Promise<any>;
|
142
|
+
/**
|
143
|
+
* @title: 添加预约备注
|
144
|
+
* @description: 添加预约相关备注
|
145
|
+
* @param {any} params
|
146
|
+
* @return {*}
|
147
|
+
* @Author: cong.shao
|
148
|
+
* @Date: 2025-04-24 16:28
|
149
|
+
*/
|
150
|
+
export declare const addNotesByOrder: (params: any) => Promise<any>;
|
151
|
+
/**
|
152
|
+
* @title: 编辑预约备注
|
153
|
+
* @description: 更新预约备注信息
|
154
|
+
* @param {string} bookingId
|
155
|
+
* @param {any} params
|
156
|
+
* @return {*}
|
157
|
+
* @Author: cong.shao
|
158
|
+
* @Date: 2025-04-24 16:28
|
159
|
+
*/
|
160
|
+
export declare const editNoteByOrder: (bookingId: string, params: any) => Promise<any>;
|
161
|
+
/**
|
162
|
+
* @title: 删除预约备注
|
163
|
+
* @description: 删除预约相关备注
|
164
|
+
* @param {string} bookingId
|
165
|
+
* @param {any} params
|
166
|
+
* @return {*}
|
167
|
+
* @Author: cong.shao
|
168
|
+
* @Date: 2025-04-24 16:28
|
169
|
+
*/
|
170
|
+
export declare const removeNoteByOrder: (bookingId: string, params: any) => Promise<any>;
|
171
|
+
/**
|
172
|
+
* @title: 保存预约表单数据
|
173
|
+
* @description: 保存预约相关的表单数据
|
174
|
+
* @param {any} params
|
175
|
+
* @return {*}
|
176
|
+
* @Author: cong.shao
|
177
|
+
* @Date: 2025-04-24 16:28
|
178
|
+
*/
|
179
|
+
export declare const saveBookingFormData: (params: any) => Promise<any>;
|
180
|
+
/**
|
181
|
+
* @title: 获取支付列表
|
182
|
+
* @description: 获取支付相关列表数据
|
183
|
+
* @param {any} params
|
184
|
+
* @return {*}
|
185
|
+
* @Author: cong.shao
|
186
|
+
* @Date: 2025-04-24 16:28
|
187
|
+
*/
|
188
|
+
export declare const getPaymentList: (params: any) => Promise<any>;
|
189
|
+
/**
|
190
|
+
* @title: 编辑订单备注
|
191
|
+
* @description: 更新订单备注信息
|
192
|
+
* @param {string} bookingId
|
193
|
+
* @param {any} params
|
194
|
+
* @return {*}
|
195
|
+
* @Author: cong.shao
|
196
|
+
* @Date: 2025-04-24 16:28
|
197
|
+
*/
|
198
|
+
export declare const editOrderNote: (bookingId: string, params: any) => Promise<any>;
|
199
|
+
/**
|
200
|
+
* @title: 获取退款信息
|
201
|
+
* @description: 获取退款相关信息
|
202
|
+
* @param {string} bookingId
|
203
|
+
* @param {any} params
|
204
|
+
* @return {*}
|
205
|
+
* @Author: cong.shao
|
206
|
+
* @Date: 2025-04-24 16:28
|
207
|
+
*/
|
208
|
+
export declare const getRefundInfo: (bookingId: string, params: any) => Promise<any>;
|
209
|
+
/**
|
210
|
+
* @title: 创建活动预约
|
211
|
+
* @description: 创建新的活动预约记录
|
212
|
+
* @param {any} params
|
213
|
+
* @return {*}
|
214
|
+
* @Author: cong.shao
|
215
|
+
* @Date: 2025-04-24 16:28
|
216
|
+
*/
|
217
|
+
export declare const createEventBooking: (params: any) => Promise<any>;
|
218
|
+
/**
|
219
|
+
* @title: 获取活动预约详情
|
220
|
+
* @description: 获取活动预约详细信息
|
221
|
+
* @param {number} bookingId
|
222
|
+
* @param {any} params
|
223
|
+
* @return {*}
|
224
|
+
* @Author: cong.shao
|
225
|
+
* @Date: 2025-04-24 16:28
|
226
|
+
*/
|
227
|
+
export declare const getEventBookingDetail: (bookingId: number, params?: any) => Promise<any>;
|
228
|
+
/**
|
229
|
+
* @title: 编辑活动预约
|
230
|
+
* @description: 更新活动预约信息
|
231
|
+
* @param {string} bookingId
|
232
|
+
* @param {any} params
|
233
|
+
* @return {*}
|
234
|
+
* @Author: cong.shao
|
235
|
+
* @Date: 2025-04-24 16:28
|
236
|
+
*/
|
237
|
+
export declare const editEventBooking: (bookingId: string, params: any) => Promise<any>;
|
238
|
+
/**
|
239
|
+
* @title: 获取定金显示配置
|
240
|
+
* @description: 获取定金相关显示配置
|
241
|
+
* @param {any} params
|
242
|
+
* @return {*}
|
243
|
+
* @Author: cong.shao
|
244
|
+
* @Date: 2025-04-24 16:28
|
245
|
+
*/
|
246
|
+
export declare const getDepositShow: (params: any) => Promise<any>;
|
247
|
+
/**
|
248
|
+
* @title: 获取表单记录
|
249
|
+
* @description: 获取表单记录数据
|
250
|
+
* @param {any} params
|
251
|
+
* @return {*}
|
252
|
+
* @Author: cong.shao
|
253
|
+
* @Date: 2025-04-24 16:28
|
254
|
+
*/
|
255
|
+
export declare const getFormRecords: (params: any) => Promise<any>;
|
256
|
+
/**
|
257
|
+
* @title: 获取预约列表
|
258
|
+
* @description: 获取预约列表数据
|
259
|
+
* @param {any} params
|
260
|
+
* @return {*}
|
261
|
+
* @Author: cong.shao
|
262
|
+
* @Date: 2025-04-24 16:28
|
263
|
+
*/
|
264
|
+
export declare const getBookingList2: (params: any) => Promise<any>;
|
265
|
+
/**
|
266
|
+
* @title: 获取订单信息
|
267
|
+
* @description: 根据机器码获取订单信息
|
268
|
+
* @param {any} params
|
269
|
+
* @return {*}
|
270
|
+
* @Author: cong.shao
|
271
|
+
* @Date: 2025-04-24 16:28
|
272
|
+
*/
|
273
|
+
export declare const getOrderInfoByCode: (params: any) => Promise<any>;
|
274
|
+
/**
|
275
|
+
* @title: 获取ES客户数据
|
276
|
+
* @description: 从ES获取客户数据
|
277
|
+
* @param {any} params
|
278
|
+
* @return {*}
|
279
|
+
* @Author: cong.shao
|
280
|
+
* @Date: 2025-04-24 16:28
|
281
|
+
*/
|
282
|
+
export declare const getClientsEs: (params: any) => Promise<any>;
|
283
|
+
/**
|
284
|
+
* 作废2.0预约订单
|
285
|
+
* @param order_id
|
286
|
+
*/
|
287
|
+
export declare const voidAppointment: (order_id: number) => Promise<any>;
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import 'dayjs/locale/zh-cn';
|
2
|
+
import 'dayjs/locale/en';
|
3
|
+
import 'dayjs/locale/zh-tw';
|
4
|
+
/**
|
5
|
+
* @title: 是否英文
|
6
|
+
* @description:
|
7
|
+
* @param {any} item
|
8
|
+
* @return {*}
|
9
|
+
* @Author: WangHan
|
10
|
+
* @Date: 2024-12-28 22:49
|
11
|
+
*/
|
12
|
+
export declare const isEn: (item: any) => boolean;
|
13
|
+
/**
|
14
|
+
* @title: 跨日预约时间
|
15
|
+
* @description:
|
16
|
+
* @param {any} item
|
17
|
+
* @return {*}
|
18
|
+
* @Author: WangHan
|
19
|
+
* @Date: 2024-12-28 22:50
|
20
|
+
*/
|
21
|
+
export declare const formatMultiDayDate: (item: any) => string;
|
22
|
+
/**
|
23
|
+
* @title: 格式化服务的 开始时间-结束时间-时长, 用于展示
|
24
|
+
* @description:
|
25
|
+
* @param {any} item
|
26
|
+
* @param {any} currentDate
|
27
|
+
* @return {*}
|
28
|
+
* @Author: zhiwei.Wang
|
29
|
+
* @Date: 2024-04-26 14:04
|
30
|
+
*/
|
31
|
+
export declare const getServiceTime: (item: any, currentDate: any, utils: any) => string;
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import type { Dayjs } from 'dayjs';
|
2
|
+
/** dayjs对象格式化为字符串时间 */
|
3
|
+
export declare const formatDateToStr: (date: Dayjs[]) => string | string[];
|
4
|
+
export declare const getDefaultStartParam: () => string | string[];
|
5
|
+
export declare const formatBookingList: (bookingList: any[]) => any[];
|
6
|
+
export declare const getNextTimeSlice: (sliceMinutes: number) => Dayjs;
|
7
|
+
export declare const getDisabledEdit: ({ shop_discount, bookings, payment_status }: any) => boolean;
|
8
|
+
export declare const restoreProductOtherData: (data: any) => {
|
9
|
+
product_id: any;
|
10
|
+
option: never[];
|
11
|
+
bundle: any;
|
12
|
+
product_variant_id: number;
|
13
|
+
quantity: number;
|
14
|
+
} | undefined;
|
15
|
+
export declare const addService: (list: any[], addItem: any, state: any) => {
|
16
|
+
list: any[];
|
17
|
+
quantity: any;
|
18
|
+
};
|
19
|
+
export declare const addServiceScroll: (rowKey: string, cacheItem: any) => void;
|
20
|
+
export declare const getCartProductOverlay: (state: any) => any;
|
21
|
+
export declare const getIsOverlayProduct: (item: any, state: any) => any;
|
22
|
+
export declare const getIsShowNumber: (item: any, state: any) => any;
|
23
|
+
export declare const genServiceKey: (item: any) => string;
|
package/lib/index.d.ts
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
export { default as Login } from './components/login';
|
2
|
+
export type { LoginProps } from './components/login';
|
3
|
+
export { default as BookingInfo } from './components/booking/info/index';
|
4
|
+
export { default as BookingNotes } from './components/booking/notes';
|
5
|
+
export { default as BookingAddons } from './components/booking/addons';
|
6
|
+
export { default as BookingForms } from './components/booking/forms';
|
7
|
+
export { default as BookingPayment } from './components/booking/payments';
|
8
|
+
export { default as Booking } from './components/booking';
|
9
|
+
export { default as Schedules } from './components/schedules';
|
10
|
+
export { default as BookingResources } from './components/booking/materiels/resources';
|
11
|
+
export { default as BookingStartTime } from './components/booking/materiels/startTime';
|
12
|
+
export { default as BookingDuration } from './components/booking/materiels/duration';
|
13
|
+
export { default as BookingContacts } from './components/booking/materiels/contacts';
|
14
|
+
export { VerticalClient } from './components/booking/info/clientVariant';
|
15
|
+
export { default as VerticalAddService } from './components/booking/info/addServiceVariant';
|
16
|
+
export { default as ProductExtension } from './components/productExtension';
|
17
|
+
export { default as BookingDeposit } from './components/booking/deposit';
|
18
|
+
export { default as WorkspaceList } from './components/workSpaceList';
|
19
|
+
export { default as WorkspaceListDetail } from './components/workSpaceListDetail';
|
20
|
+
export { default as RuleSetting } from './components/ruleSetting';
|
21
|
+
export { default as TaxSelect } from './components/taxSelect';
|
22
|
+
export { default as EftposPay } from './components/eftposPay';
|
23
|
+
export { default as ToCPay } from './components/pay/toC';
|
24
|
+
export { default as Eftpos } from './components/eftpos';
|
25
|
+
export { default as Wallet } from './components/wallet';
|
26
|
+
export { default as WalletList } from './components/walletList';
|
27
|
+
export { default as BookingDashboard } from './components/booking/dashboard';
|
28
|
+
export { default as PisellSelectCustomerModal } from './components/pisellSelectCustomerModal';
|
29
|
+
export { default as EventBooking } from './components/eventBooking';
|
30
|
+
export { default as EventCard } from './components/eventBooking/components/eventCard';
|
31
|
+
export { default as EventResourceDisplay } from './components/eventBooking/components/resourceDisplay';
|
32
|
+
export { default as EventResourceUsability } from './components/eventBooking/components/resourceUsability';
|
33
|
+
export { default as EventProductCard } from './components/eventBooking/components/productCard';
|
34
|
+
export { default as EventTimeResourceSelector } from './components/eventBooking/components/timeResourceSelector';
|
35
|
+
export { default as EventSelectHolder } from './components/eventBooking/components/selectHolder';
|
36
|
+
export { default as EventBookingServiceList } from './components/eventBooking/components/bookingServiceList';
|
37
|
+
export { default as EventBookingAvailabilityCalendar } from './components/eventBooking/components/bookingAvailabilityCalendar';
|
38
|
+
export { default as EventScheduleCalendar } from './components/eventBooking/components/scheduleCalendar';
|
39
|
+
export { default as EventBookingDetailModal } from './components/eventBooking/components/bookingDetailModal';
|
40
|
+
export { default as EventProgressBar } from './components/eventBooking/components/progressBar';
|
41
|
+
export { default as ShoppingCart } from './components/shoppingCart';
|
42
|
+
export { default as AppointmentBooking } from './components/appointmentBooking';
|
43
|
+
export { default as AppointmentDeposit } from './components/appointmentBooking/deposit';
|
44
|
+
export { default as TicketBooking } from './components/ticketBooking';
|
45
|
+
export { default as SubTotal } from './components/subTotal';
|
46
|
+
export { default as EditBookingModal } from './components/booking/editBookingModal';
|
47
|
+
export { default as StepController } from './components/stepController';
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import type { ModalStaticFunctions } from 'antd/es/modal/confirm';
|
2
|
+
declare type RType = (url: string, data?: {} | undefined, config?: {} | undefined) => Promise<any>;
|
3
|
+
declare class Request {
|
4
|
+
private request;
|
5
|
+
constructor();
|
6
|
+
setRequest(val: any): void;
|
7
|
+
withCustomToast(config?: any): any;
|
8
|
+
getRequest(): {
|
9
|
+
get: (url: string, params: any, config?: any) => Promise<any>;
|
10
|
+
post: (url: string, params: any, config?: any) => Promise<any>;
|
11
|
+
put: RType;
|
12
|
+
remove: RType;
|
13
|
+
custom: RType;
|
14
|
+
};
|
15
|
+
}
|
16
|
+
export declare const request: Request;
|
17
|
+
declare let modal: Omit<ModalStaticFunctions, 'warn'>;
|
18
|
+
export declare const setModal: (m: Omit<ModalStaticFunctions, 'warn'>) => void;
|
19
|
+
export declare const saveConfirm: () => Promise<{
|
20
|
+
destroy: () => void;
|
21
|
+
update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
|
22
|
+
}>;
|
23
|
+
export { modal };
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@pisell/private-materials",
|
3
|
-
"version": "6.2.
|
3
|
+
"version": "6.2.11",
|
4
4
|
"main": "./lib/index.js",
|
5
5
|
"module": "./es/index.js",
|
6
6
|
"types": "./lib/index.d.ts",
|
@@ -59,9 +59,9 @@
|
|
59
59
|
"react-infinite-scroll-component": "^6.1.0",
|
60
60
|
"rc-virtual-list": "^3.11.3",
|
61
61
|
"decimal.js": "^10.4.3",
|
62
|
-
"@pisell/materials": "3.3.39",
|
63
|
-
"@pisell/icon": "0.0.11",
|
64
62
|
"@pisell/date-picker": "3.0.4",
|
63
|
+
"@pisell/icon": "0.0.11",
|
64
|
+
"@pisell/materials": "3.3.39",
|
65
65
|
"@pisell/utils": "3.0.0"
|
66
66
|
},
|
67
67
|
"peerDependencies": {
|