@pisell/private-materials 3.4.99 → 3.4.101
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/meta.js +1 -1
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/businessModel/SalesModel/index.d.ts +0 -1
- package/es/components/Sales/Cart/index.d.ts +53 -0
- package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +3 -0
- package/es/components/appointmentBooking/components/Cart/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Content/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Footer/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Header/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Services/index.d.ts +4 -0
- package/es/components/appointmentBooking/hooks.js +20 -27
- package/es/components/appointmentBooking/index.d.ts +3 -0
- package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
- package/es/components/booking/addons/index.d.ts +17 -0
- package/es/components/booking/components/customSelect/index.d.ts +38 -0
- package/es/components/booking/components/footer/amount.d.ts +25 -0
- package/es/components/booking/components/footer/index.d.ts +11 -0
- package/es/components/booking/components/tabPane/index.d.ts +4 -0
- package/es/components/booking/dashboard/serve.d.ts +1 -0
- package/es/components/booking/deposit/ClientItem/index.d.ts +18 -0
- package/es/components/booking/deposit/DepositItem/index.d.ts +25 -0
- package/es/components/booking/deposit/index.d.ts +2 -0
- package/es/components/booking/editBookingModal/utils.d.ts +12 -0
- package/es/components/booking/forms/footer.d.ts +1 -0
- package/es/components/booking/forms/forms.d.ts +30 -0
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +2 -1
- package/es/components/booking/forms/serve.d.ts +18 -0
- 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/serve.d.ts +2 -0
- package/es/components/booking/info/clientVariant/utils.d.ts +1 -0
- package/es/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
- package/es/components/booking/info/date/index.d.ts +5 -0
- package/es/components/booking/info/dateRange/index.d.ts +1 -0
- package/es/components/booking/info/header/index.d.ts +3 -0
- package/es/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +10 -0
- package/es/components/booking/info/index.d.ts +3 -0
- package/es/components/booking/info/main.d.ts +12 -0
- package/es/components/booking/info/model.d.ts +5 -0
- package/es/components/booking/info/pet/index.d.ts +14 -0
- package/es/components/booking/info/pet/serve.d.ts +1 -0
- package/es/components/booking/info/service/Lists.d.ts +3 -0
- package/es/components/booking/info/service/addService/index.d.ts +11 -0
- package/es/components/booking/info/service/addTimeModal/index.d.ts +0 -1
- package/es/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
- package/es/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
- package/es/components/booking/info/service/serve.d.ts +20 -0
- package/es/components/booking/info/service/serviceItem/index.d.ts +1 -0
- package/es/components/booking/info/service/serviceList/index.d.ts +6 -0
- package/es/components/booking/info/service/serviceManager/index.d.ts +20 -0
- package/es/components/booking/info/service2/Group/utils.d.ts +14 -0
- package/es/components/booking/info/service2/Lists.d.ts +3 -0
- package/es/components/booking/info/service2/utils.d.ts +248 -0
- 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/serve.d.ts +6 -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/addTimeModal/index.d.ts +3 -0
- package/es/components/booking/info2/service/editService/Capacity/index.d.ts +4 -0
- package/es/components/booking/info2/service/editService/utils.d.ts +28 -0
- package/es/components/booking/info2/service/index.d.ts +4 -0
- package/es/components/booking/info2/service/serviceItem/index.d.ts +1 -0
- package/es/components/booking/info2/service/serviceList/index.d.ts +6 -0
- package/es/components/booking/info2/utilsByBooking.d.ts +35 -0
- package/es/components/booking/locales.d.ts +1485 -0
- package/es/components/booking/model.d.ts +111 -0
- package/es/components/booking/notes/addNote/index.d.ts +4 -0
- package/es/components/booking/utils.d.ts +175 -0
- package/es/components/ecocup/components/CupInfoCard/index.d.ts +0 -1
- package/es/components/ecocup/components/CustomerCard/index.d.ts +0 -1
- package/es/components/ecocup/cupList/const.d.ts +140 -0
- package/es/components/eftpos/hooks.d.ts +0 -1
- package/es/components/eftpos/index.d.ts +0 -1
- package/es/components/eftpos/surcharge/index.d.ts +0 -1
- package/es/components/eftposPay/amount.d.ts +20 -0
- package/es/components/eftposPay/app.d.ts +10 -0
- package/es/components/eftposPay/component/fail/failCustom.d.ts +3 -0
- package/es/components/eftposPay/component/fail/index.d.ts +3 -0
- package/es/components/eftposPay/component/fail/network.d.ts +8 -0
- package/es/components/eftposPay/component/fail/unknow.d.ts +9 -0
- package/es/components/eftposPay/component/manual/index.d.ts +9 -0
- package/es/components/eftposPay/component/signature/index.d.ts +8 -0
- package/es/components/eftposPay/const.d.ts +186 -0
- package/es/components/eftposPay/device.d.ts +23 -0
- package/es/components/eftposPay/index.d.ts +4 -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/locales.d.ts +572 -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/payo/hooks.d.ts +10 -0
- package/es/components/eftposPay/payo/payment.d.ts +66 -0
- package/es/components/eftposPay/tip.d.ts +9 -0
- package/es/components/eftposPay/tyro/index.d.ts +9 -0
- package/es/components/eftposPay/utils/payLog.d.ts +81 -0
- package/es/components/eftposPay/windcave/receiptAction.d.ts +22 -0
- package/es/components/eftposPay/windcave/windcave.d.ts +6 -0
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Resource/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/bookingDetailModal/components/BookingOptions.d.ts +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
- package/es/components/eventBooking/index.d.ts +0 -1
- package/es/components/index.d.ts +23 -0
- package/es/components/pay/toC/PaymentList/serve.d.ts +28 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +23 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +3 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +3 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +3 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +155 -0
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
- package/es/components/pay/toC/locales.d.ts +631 -0
- package/es/components/pay/toC/model.d.ts +32 -0
- package/es/components/pay/toC/payGroup.d.ts +59 -0
- package/es/components/pay/toC/serve.d.ts +87 -0
- package/es/components/pay/toC/utils.d.ts +65 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +2 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
- package/es/components/productExtension/index.d.ts +0 -1
- package/es/components/productSelect/components/TabProduct/index.d.ts +1 -0
- package/es/components/productSelect/components/productGroup/index.d.ts +1 -0
- package/es/components/ruleSetting/index.d.ts +0 -1
- package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
- package/es/components/shoppingCart/Provider.d.ts +3 -0
- package/es/components/shoppingCart/components/Cart/Product.d.ts +1 -0
- package/es/components/shoppingCart/components/Cart/index.d.ts +1 -0
- package/es/components/shoppingCart/hooks/useAddService.d.ts +1 -0
- package/es/components/shoppingCart/locales.d.ts +53 -0
- package/es/components/shoppingCart/mock.d.ts +40 -0
- package/es/components/shoppingCart/type.d.ts +48 -0
- package/es/components/shoppingCart/utils.d.ts +63 -0
- package/es/components/subTotal/locales.d.ts +68 -0
- package/es/components/systemSettings/registry/locales.d.ts +544 -0
- package/es/components/systemSettings/registry/services.d.ts +99 -0
- package/es/components/systemSettings/registry/types.d.ts +145 -0
- package/es/components/taxSelect/index.d.ts +0 -1
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +6 -0
- package/es/components/ticketBooking/components/menuBar/index.d.ts +1 -0
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
- package/es/components/ticketBooking/index.d.ts +7 -0
- package/es/components/ticketBooking/locales.d.ts +304 -0
- package/es/components/ticketBooking/miniRedux.d.ts +22 -0
- package/es/components/ticketBooking/serve.d.ts +287 -0
- package/es/components/ticketBooking/utils/formatProductMessage.d.ts +2 -0
- package/es/components/ticketBooking/utils/index.d.ts +25 -0
- package/es/components/workSpaceList/components/Modal/index.d.ts +1 -0
- package/es/hooks/useEngineContext.d.ts +11 -0
- package/es/hooks/useWindowSize.d.ts +5 -0
- package/es/index.d.ts +83 -0
- package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -1
- package/es/plus/clinetSearch/Add/GenderField/index.d.ts +0 -1
- package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -1
- package/es/plus/clinetSearch/index.d.ts +18 -0
- package/es/plus/orderList/config.d.ts +2 -2
- package/es/plus/orderList/locales.d.ts +618 -0
- package/es/plus/pisellSalesGrid/PisellSalesGrid.stories.d.ts +14 -0
- package/es/plus/pisellSalesGrid/serve.d.ts +19 -0
- package/es/plus/pisellSalesGrid/types.d.ts +170 -0
- package/es/plus/pisellSalesManagement/components/ResourceSelector.d.ts +9 -0
- package/es/plus/pisellSalesManagement/config/booking.d.ts +185 -0
- package/es/plus/pisellSalesManagement/config/order.d.ts +172 -0
- package/es/plus/productSelect/CategoryTabs/index.d.ts +21 -0
- package/es/plus/productSelect/ProductCard/ProductCardSkeleton.d.ts +10 -0
- package/es/plus/productSelect/ProductCard/index.d.ts +47 -0
- package/es/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
- package/es/plus/productSelect/ProductList/index.d.ts +22 -0
- package/es/plus/saasCreateOrganization/index.d.ts +0 -1
- package/es/plus/saasDevice/devicePlanning/components/DeviceTable/index.js +4 -0
- package/es/plus/saasDevice/devicePlanning/components/DeviceTable/index.less +1 -1
- package/es/plus/saasDevice/devicePlanning/constants.d.ts +9 -0
- package/es/plus/saasDevice/devicePlanning/hooks.d.ts +1 -0
- package/es/plus/saasDevice/devicePlanning/locales.d.ts +483 -0
- package/es/plus/saasDevice/devicePlanning/serve.d.ts +19 -0
- package/es/plus/saasDevice/devicePlanning/types.d.ts +138 -0
- package/es/plus/saasDevice/deviceProfile/components/ProfileSetting/utils.d.ts +1 -0
- package/es/plus/saasDevice/deviceProfile/components/TwoColumnPageLayout/index.less +5 -1
- package/es/plus/saasDevice/deviceProfile/components/UnsavedConfirmModal/index.d.ts +2 -0
- package/es/plus/saasDevice/deviceProfile/hooks.d.ts +1 -0
- package/es/plus/saasDevice/deviceProfile/index.js +4 -0
- package/es/plus/saasDevice/deviceProfile/locales.d.ts +383 -0
- package/es/plus/saasDevice/deviceProfile/serve.d.ts +38 -0
- package/es/plus/saasDevice/deviceProfile/types.d.ts +190 -0
- package/es/plus/saasDevice/index.d.ts +0 -0
- package/es/plus/saasRegister/components/VertifyEmail.d.ts +1 -0
- package/es/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
- package/es/plus/selectHolder/locales.d.ts +35 -0
- package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +5 -0
- package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +4 -0
- package/es/plus/skuOptionsSelection/index.d.ts +5 -0
- package/es/plus/skuOptionsSelection/locales.d.ts +53 -0
- package/es/plus/skuOptionsSelection/types.d.ts +443 -0
- package/es/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
- package/es/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
- package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
- package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
- package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
- package/es/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
- package/es/plus/walletPassGallery/components/passDetail/index.js +8 -1
- package/es/plus/walletPassGallery/locales.d.ts +488 -0
- package/es/plus/walletPassGallery/locales.js +14 -5
- package/es/pro/Login2.0/components/phoneValidation.d.ts +17 -0
- package/es/pro/NumericStepper/index.d.ts +73 -0
- package/es/pro/Selector/demo.d.ts +0 -1
- package/es/pro/Selector/hooks/usePresetProps.d.ts +24 -0
- package/es/pro/pisellNumberSelector/example.d.ts +3 -0
- package/lib/businessModel/SalesModel/index.d.ts +0 -1
- package/lib/components/Sales/Cart/index.d.ts +53 -0
- package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Cart/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Content/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Header/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Services/index.d.ts +4 -0
- package/lib/components/appointmentBooking/hooks.js +1 -8
- package/lib/components/appointmentBooking/index.d.ts +3 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
- package/lib/components/booking/addons/index.d.ts +17 -0
- package/lib/components/booking/components/customSelect/index.d.ts +38 -0
- package/lib/components/booking/components/footer/amount.d.ts +25 -0
- package/lib/components/booking/components/footer/index.d.ts +11 -0
- package/lib/components/booking/components/tabPane/index.d.ts +4 -0
- package/lib/components/booking/dashboard/serve.d.ts +1 -0
- package/lib/components/booking/deposit/ClientItem/index.d.ts +18 -0
- package/lib/components/booking/deposit/DepositItem/index.d.ts +25 -0
- package/lib/components/booking/deposit/index.d.ts +2 -0
- package/lib/components/booking/editBookingModal/utils.d.ts +12 -0
- package/lib/components/booking/forms/footer.d.ts +1 -0
- package/lib/components/booking/forms/forms.d.ts +30 -0
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +2 -1
- package/lib/components/booking/forms/serve.d.ts +18 -0
- 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/serve.d.ts +2 -0
- package/lib/components/booking/info/clientVariant/utils.d.ts +1 -0
- package/lib/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
- package/lib/components/booking/info/date/index.d.ts +5 -0
- package/lib/components/booking/info/dateRange/index.d.ts +1 -0
- package/lib/components/booking/info/header/index.d.ts +3 -0
- package/lib/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +10 -0
- package/lib/components/booking/info/index.d.ts +3 -0
- package/lib/components/booking/info/main.d.ts +12 -0
- package/lib/components/booking/info/model.d.ts +5 -0
- package/lib/components/booking/info/pet/index.d.ts +14 -0
- package/lib/components/booking/info/pet/serve.d.ts +1 -0
- package/lib/components/booking/info/service/Lists.d.ts +3 -0
- package/lib/components/booking/info/service/addService/index.d.ts +11 -0
- package/lib/components/booking/info/service/addTimeModal/index.d.ts +0 -1
- package/lib/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
- package/lib/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
- package/lib/components/booking/info/service/serve.d.ts +20 -0
- package/lib/components/booking/info/service/serviceItem/index.d.ts +1 -0
- package/lib/components/booking/info/service/serviceList/index.d.ts +6 -0
- package/lib/components/booking/info/service/serviceManager/index.d.ts +20 -0
- package/lib/components/booking/info/service2/Group/utils.d.ts +14 -0
- package/lib/components/booking/info/service2/Lists.d.ts +3 -0
- package/lib/components/booking/info/service2/utils.d.ts +248 -0
- 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/serve.d.ts +6 -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/addTimeModal/index.d.ts +3 -0
- package/lib/components/booking/info2/service/editService/Capacity/index.d.ts +4 -0
- package/lib/components/booking/info2/service/editService/utils.d.ts +28 -0
- package/lib/components/booking/info2/service/index.d.ts +4 -0
- package/lib/components/booking/info2/service/serviceItem/index.d.ts +1 -0
- package/lib/components/booking/info2/service/serviceList/index.d.ts +6 -0
- package/lib/components/booking/info2/utilsByBooking.d.ts +35 -0
- package/lib/components/booking/locales.d.ts +1485 -0
- package/lib/components/booking/model.d.ts +111 -0
- package/lib/components/booking/notes/addNote/index.d.ts +4 -0
- package/lib/components/booking/utils.d.ts +175 -0
- package/lib/components/ecocup/components/CupInfoCard/index.d.ts +0 -1
- package/lib/components/ecocup/components/CustomerCard/index.d.ts +0 -1
- package/lib/components/ecocup/cupList/const.d.ts +140 -0
- package/lib/components/eftpos/hooks.d.ts +0 -1
- package/lib/components/eftpos/index.d.ts +0 -1
- package/lib/components/eftpos/surcharge/index.d.ts +0 -1
- package/lib/components/eftposPay/amount.d.ts +20 -0
- package/lib/components/eftposPay/app.d.ts +10 -0
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +3 -0
- package/lib/components/eftposPay/component/fail/index.d.ts +3 -0
- package/lib/components/eftposPay/component/fail/network.d.ts +8 -0
- package/lib/components/eftposPay/component/fail/unknow.d.ts +9 -0
- package/lib/components/eftposPay/component/manual/index.d.ts +9 -0
- package/lib/components/eftposPay/component/signature/index.d.ts +8 -0
- package/lib/components/eftposPay/const.d.ts +186 -0
- package/lib/components/eftposPay/device.d.ts +23 -0
- package/lib/components/eftposPay/index.d.ts +4 -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/locales.d.ts +572 -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/payo/hooks.d.ts +10 -0
- package/lib/components/eftposPay/payo/payment.d.ts +66 -0
- package/lib/components/eftposPay/tip.d.ts +9 -0
- package/lib/components/eftposPay/tyro/index.d.ts +9 -0
- package/lib/components/eftposPay/utils/payLog.d.ts +81 -0
- package/lib/components/eftposPay/windcave/receiptAction.d.ts +22 -0
- package/lib/components/eftposPay/windcave/windcave.d.ts +6 -0
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Resource/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/bookingDetailModal/components/BookingOptions.d.ts +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
- package/lib/components/eventBooking/index.d.ts +0 -1
- package/lib/components/index.d.ts +23 -0
- package/lib/components/pay/toC/PaymentList/serve.d.ts +28 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +23 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +3 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +3 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +3 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +155 -0
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
- package/lib/components/pay/toC/locales.d.ts +631 -0
- package/lib/components/pay/toC/model.d.ts +32 -0
- package/lib/components/pay/toC/payGroup.d.ts +59 -0
- package/lib/components/pay/toC/serve.d.ts +87 -0
- package/lib/components/pay/toC/utils.d.ts +65 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +2 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
- package/lib/components/productExtension/index.d.ts +0 -1
- package/lib/components/productSelect/components/TabProduct/index.d.ts +1 -0
- package/lib/components/productSelect/components/productGroup/index.d.ts +1 -0
- package/lib/components/ruleSetting/index.d.ts +0 -1
- package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
- package/lib/components/shoppingCart/Provider.d.ts +3 -0
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +1 -0
- package/lib/components/shoppingCart/components/Cart/index.d.ts +1 -0
- package/lib/components/shoppingCart/hooks/useAddService.d.ts +1 -0
- package/lib/components/shoppingCart/locales.d.ts +53 -0
- package/lib/components/shoppingCart/mock.d.ts +40 -0
- package/lib/components/shoppingCart/type.d.ts +48 -0
- package/lib/components/shoppingCart/utils.d.ts +63 -0
- package/lib/components/subTotal/locales.d.ts +68 -0
- package/lib/components/systemSettings/registry/locales.d.ts +544 -0
- package/lib/components/systemSettings/registry/services.d.ts +99 -0
- package/lib/components/systemSettings/registry/types.d.ts +145 -0
- package/lib/components/taxSelect/index.d.ts +0 -1
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +6 -0
- package/lib/components/ticketBooking/components/menuBar/index.d.ts +1 -0
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
- package/lib/components/ticketBooking/index.d.ts +7 -0
- package/lib/components/ticketBooking/locales.d.ts +304 -0
- package/lib/components/ticketBooking/miniRedux.d.ts +22 -0
- package/lib/components/ticketBooking/serve.d.ts +287 -0
- package/lib/components/ticketBooking/utils/formatProductMessage.d.ts +2 -0
- package/lib/components/ticketBooking/utils/index.d.ts +25 -0
- package/lib/components/workSpaceList/components/Modal/index.d.ts +1 -0
- package/lib/hooks/useEngineContext.d.ts +11 -0
- package/lib/hooks/useWindowSize.d.ts +5 -0
- package/lib/index.d.ts +83 -0
- package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -1
- package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +0 -1
- package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -1
- package/lib/plus/clinetSearch/index.d.ts +18 -0
- package/lib/plus/orderList/config.d.ts +2 -2
- package/lib/plus/orderList/locales.d.ts +618 -0
- package/lib/plus/pisellSalesGrid/PisellSalesGrid.stories.d.ts +14 -0
- package/lib/plus/pisellSalesGrid/serve.d.ts +19 -0
- package/lib/plus/pisellSalesGrid/types.d.ts +170 -0
- package/lib/plus/pisellSalesManagement/components/ResourceSelector.d.ts +9 -0
- package/lib/plus/pisellSalesManagement/config/booking.d.ts +185 -0
- package/lib/plus/pisellSalesManagement/config/order.d.ts +172 -0
- package/lib/plus/productSelect/CategoryTabs/index.d.ts +21 -0
- package/lib/plus/productSelect/ProductCard/ProductCardSkeleton.d.ts +10 -0
- package/lib/plus/productSelect/ProductCard/index.d.ts +47 -0
- package/lib/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
- package/lib/plus/productSelect/ProductList/index.d.ts +22 -0
- package/lib/plus/saasCreateOrganization/index.d.ts +0 -1
- package/lib/plus/saasDevice/devicePlanning/components/DeviceTable/index.js +4 -0
- package/lib/plus/saasDevice/devicePlanning/components/DeviceTable/index.less +1 -1
- package/lib/plus/saasDevice/devicePlanning/constants.d.ts +9 -0
- package/lib/plus/saasDevice/devicePlanning/hooks.d.ts +1 -0
- package/lib/plus/saasDevice/devicePlanning/locales.d.ts +483 -0
- package/lib/plus/saasDevice/devicePlanning/serve.d.ts +19 -0
- package/lib/plus/saasDevice/devicePlanning/types.d.ts +138 -0
- package/lib/plus/saasDevice/deviceProfile/components/ProfileSetting/utils.d.ts +1 -0
- package/lib/plus/saasDevice/deviceProfile/components/TwoColumnPageLayout/index.less +5 -1
- package/lib/plus/saasDevice/deviceProfile/components/UnsavedConfirmModal/index.d.ts +2 -0
- package/lib/plus/saasDevice/deviceProfile/hooks.d.ts +1 -0
- package/lib/plus/saasDevice/deviceProfile/index.js +4 -0
- package/lib/plus/saasDevice/deviceProfile/locales.d.ts +383 -0
- package/lib/plus/saasDevice/deviceProfile/serve.d.ts +38 -0
- package/lib/plus/saasDevice/deviceProfile/types.d.ts +190 -0
- package/lib/plus/saasDevice/index.d.ts +0 -0
- package/lib/plus/saasRegister/components/VertifyEmail.d.ts +1 -0
- package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
- package/lib/plus/selectHolder/locales.d.ts +35 -0
- package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +5 -0
- package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +4 -0
- package/lib/plus/skuOptionsSelection/index.d.ts +5 -0
- package/lib/plus/skuOptionsSelection/locales.d.ts +53 -0
- package/lib/plus/skuOptionsSelection/types.d.ts +443 -0
- package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
- package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
- package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
- package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
- package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
- package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
- package/lib/plus/walletPassGallery/components/passDetail/index.js +4 -0
- package/lib/plus/walletPassGallery/locales.d.ts +488 -0
- package/lib/plus/walletPassGallery/locales.js +14 -5
- package/lib/pro/Login2.0/components/phoneValidation.d.ts +17 -0
- package/lib/pro/NumericStepper/index.d.ts +73 -0
- package/lib/pro/Selector/demo.d.ts +0 -1
- package/lib/pro/Selector/hooks/usePresetProps.d.ts +24 -0
- package/lib/pro/pisellNumberSelector/example.d.ts +3 -0
- package/package.json +2 -2
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TUpdateDisabledCartItem } from './types';
|
|
3
|
+
interface CartItem {
|
|
4
|
+
_id: string;
|
|
5
|
+
[key: string]: any;
|
|
6
|
+
}
|
|
7
|
+
interface CartData {
|
|
8
|
+
cartItems: CartItem[];
|
|
9
|
+
currentCartItem: CartItem | null;
|
|
10
|
+
}
|
|
11
|
+
interface CartContextType {
|
|
12
|
+
createCartItem: () => CartItem;
|
|
13
|
+
createCartItemFromEvent: (eventItem: any) => CartItem;
|
|
14
|
+
createCartItemFromHolder: (holderItem: any) => CartItem;
|
|
15
|
+
addToCart: () => void;
|
|
16
|
+
updateCartItem: (cartItem: CartItem, updateType?: 'deposit') => CartItem;
|
|
17
|
+
deleteCartItem: (cartItem: CartItem) => void;
|
|
18
|
+
clickCartItem: (cartItem: CartItem) => void;
|
|
19
|
+
updateCurrentCartItem: (cartItem: Partial<CartItem>) => void;
|
|
20
|
+
clearCurrentCartItem: () => void;
|
|
21
|
+
currentCartItem: CartItem | null;
|
|
22
|
+
checkHolder: () => boolean;
|
|
23
|
+
cartData: CartData;
|
|
24
|
+
openCart: boolean;
|
|
25
|
+
onOpenCart: any;
|
|
26
|
+
onCloseCart: any;
|
|
27
|
+
deleteCartItemByHolder: (holder_id: number) => void;
|
|
28
|
+
addHolderToCartItem: (holderItem: any) => void;
|
|
29
|
+
cartDataHolderList: any;
|
|
30
|
+
addNoteToCartItem: (cartItem: CartItem) => void;
|
|
31
|
+
updateDisabledCartItem: TUpdateDisabledCartItem;
|
|
32
|
+
getWithoutCartItemsHolderNames: () => Array<string>;
|
|
33
|
+
checkBeforeAddToCartResquest: any;
|
|
34
|
+
checkBeforeAddToCart: () => Promise<{
|
|
35
|
+
result: boolean;
|
|
36
|
+
num: number;
|
|
37
|
+
}>;
|
|
38
|
+
}
|
|
39
|
+
interface CartProviderProps {
|
|
40
|
+
children: React.ReactNode;
|
|
41
|
+
}
|
|
42
|
+
export declare const CartContext: React.Context<CartContextType | undefined>;
|
|
43
|
+
export declare const CartProvider: React.FC<CartProviderProps>;
|
|
44
|
+
/**
|
|
45
|
+
* 使用步骤管理的Hook
|
|
46
|
+
* @throws {Error} 如果在StepProvider外部使用会抛出错误
|
|
47
|
+
* @returns {StepContextType} 步骤管理上下文
|
|
48
|
+
*/
|
|
49
|
+
export declare const useCart: () => CartContextType;
|
|
50
|
+
declare const _default: {
|
|
51
|
+
defaultState: CartData;
|
|
52
|
+
};
|
|
53
|
+
export default _default;
|
|
@@ -823,25 +823,18 @@ export var useAppointmentBookingResource = function useAppointmentBookingResourc
|
|
|
823
823
|
// 设置时间切片
|
|
824
824
|
var getResourceTimeSlot = /*#__PURE__*/function () {
|
|
825
825
|
var _ref25 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee12(index) {
|
|
826
|
-
var
|
|
827
|
-
var _getResourceList, resourceCodes, split, _ref26, basic, serviceTime, code, data;
|
|
826
|
+
var _getResourceList, resourceCodes, code, data;
|
|
828
827
|
return _regeneratorRuntime().wrap(function _callee12$(_context12) {
|
|
829
828
|
while (1) switch (_context12.prev = _context12.next) {
|
|
830
829
|
case 0:
|
|
831
|
-
_getResourceList = getResourceList(), resourceCodes = _getResourceList.resourceCodes;
|
|
832
|
-
split = 10;
|
|
833
|
-
_ref26 = (appointmentBooking === null || appointmentBooking === void 0 || (_appointmentBooking$o4 = appointmentBooking.otherParams) === null || _appointmentBooking$o4 === void 0 ? void 0 : _appointmentBooking$o4.appointmentBoard) || {}, basic = _ref26.basic;
|
|
834
|
-
serviceTime = basic === null || basic === void 0 || (_basic$service_time = basic.service_time) === null || _basic$service_time === void 0 ? void 0 : _basic$service_time.value;
|
|
835
|
-
if (serviceTime) {
|
|
836
|
-
split = serviceTime;
|
|
837
|
-
}
|
|
830
|
+
_getResourceList = getResourceList(), resourceCodes = _getResourceList.resourceCodes;
|
|
838
831
|
code = resourceCodes === null || resourceCodes === void 0 ? void 0 : resourceCodes[index || 0];
|
|
839
|
-
_context12.next =
|
|
840
|
-
return appointmentBooking.getTimeSlotByAllResources(code
|
|
841
|
-
case
|
|
832
|
+
_context12.next = 4;
|
|
833
|
+
return appointmentBooking.getTimeSlotByAllResources(code);
|
|
834
|
+
case 4:
|
|
842
835
|
data = _context12.sent;
|
|
843
836
|
setTimes(data || []);
|
|
844
|
-
case
|
|
837
|
+
case 6:
|
|
845
838
|
case "end":
|
|
846
839
|
return _context12.stop();
|
|
847
840
|
}
|
|
@@ -865,8 +858,8 @@ export var useAppointmentBookingResource = function useAppointmentBookingResourc
|
|
|
865
858
|
* @Date: 2025-04-21 11:47
|
|
866
859
|
*/
|
|
867
860
|
export var useIsSkipResourceStep = function useIsSkipResourceStep() {
|
|
868
|
-
var
|
|
869
|
-
currentStepParams =
|
|
861
|
+
var _ref26 = useAppointmentBookingContext(),
|
|
862
|
+
currentStepParams = _ref26.currentStepParams;
|
|
870
863
|
var _useAppointmentBookin5 = useAppointmentBookingResource(),
|
|
871
864
|
getResourceList = _useAppointmentBookin5.getResourceList;
|
|
872
865
|
var _useAppointmentBookin6 = useAppointmentBookingSetting(),
|
|
@@ -875,7 +868,7 @@ export var useIsSkipResourceStep = function useIsSkipResourceStep() {
|
|
|
875
868
|
var _useAppointmentBookin7 = useAppointmentBookingStep(),
|
|
876
869
|
nextStep = _useAppointmentBookin7.nextStep;
|
|
877
870
|
var checkSkipResourceStep = /*#__PURE__*/function () {
|
|
878
|
-
var
|
|
871
|
+
var _ref27 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee13() {
|
|
879
872
|
var _getResourceList2, resources, accountLists, _currentAppointmentBo, isSystem, isSkip, form_code, renderLists, _isSkip;
|
|
880
873
|
return _regeneratorRuntime().wrap(function _callee13$(_context13) {
|
|
881
874
|
while (1) switch (_context13.prev = _context13.next) {
|
|
@@ -931,7 +924,7 @@ export var useIsSkipResourceStep = function useIsSkipResourceStep() {
|
|
|
931
924
|
}, _callee13, null, [[0, 22]]);
|
|
932
925
|
}));
|
|
933
926
|
return function checkSkipResourceStep() {
|
|
934
|
-
return
|
|
927
|
+
return _ref27.apply(this, arguments);
|
|
935
928
|
};
|
|
936
929
|
}();
|
|
937
930
|
return {
|
|
@@ -947,15 +940,15 @@ export var useIsSkipResourceStep = function useIsSkipResourceStep() {
|
|
|
947
940
|
* @Date: 2025-04-24 18:15
|
|
948
941
|
*/
|
|
949
942
|
export var useAppointmentBookingSetting = function useAppointmentBookingSetting() {
|
|
950
|
-
var _appointmentBooking$
|
|
943
|
+
var _appointmentBooking$o4, _appointmentBooking$o5, _appointmentBooking$o6;
|
|
951
944
|
var utils = contextUtils();
|
|
952
|
-
var
|
|
953
|
-
appointmentBooking =
|
|
954
|
-
var
|
|
955
|
-
bookingProcess =
|
|
956
|
-
bookingSubject =
|
|
957
|
-
customPageId =
|
|
958
|
-
channel =
|
|
945
|
+
var _ref28 = useAppointmentBookingContext(),
|
|
946
|
+
appointmentBooking = _ref28.appointmentBooking;
|
|
947
|
+
var _ref29 = (appointmentBooking === null || appointmentBooking === void 0 || (_appointmentBooking$o4 = appointmentBooking.otherParams) === null || _appointmentBooking$o4 === void 0 ? void 0 : _appointmentBooking$o4.productModuleParams) || {},
|
|
948
|
+
bookingProcess = _ref29.bookingProcess,
|
|
949
|
+
bookingSubject = _ref29.bookingSubject,
|
|
950
|
+
customPageId = _ref29.customPageId,
|
|
951
|
+
channel = _ref29.channel;
|
|
959
952
|
|
|
960
953
|
// 设置缓存
|
|
961
954
|
var setOtherData = function setOtherData(key, val) {
|
|
@@ -975,13 +968,13 @@ export var useAppointmentBookingSetting = function useAppointmentBookingSetting(
|
|
|
975
968
|
// 主体是否是表单
|
|
976
969
|
isFormSubject: (bookingSubject === null || bookingSubject === void 0 ? void 0 : bookingSubject.type) === 'form',
|
|
977
970
|
// 是否是零售模版
|
|
978
|
-
isRetailTemplate: (appointmentBooking === null || appointmentBooking === void 0 || (_appointmentBooking$
|
|
971
|
+
isRetailTemplate: (appointmentBooking === null || appointmentBooking === void 0 || (_appointmentBooking$o5 = appointmentBooking.otherParams) === null || _appointmentBooking$o5 === void 0 ? void 0 : _appointmentBooking$o5.isRetailTemplate) || false,
|
|
979
972
|
customPageId: customPageId,
|
|
980
973
|
channel: channel,
|
|
981
974
|
bookingSubject: bookingSubject,
|
|
982
975
|
setOtherData: setOtherData,
|
|
983
976
|
getOtherData: getOtherData,
|
|
984
977
|
formName: formName,
|
|
985
|
-
bookingSetting: (appointmentBooking === null || appointmentBooking === void 0 || (_appointmentBooking$
|
|
978
|
+
bookingSetting: (appointmentBooking === null || appointmentBooking === void 0 || (_appointmentBooking$o6 = appointmentBooking.otherParams) === null || _appointmentBooking$o6 === void 0 ? void 0 : _appointmentBooking$o6.bookingSetting) || {}
|
|
986
979
|
};
|
|
987
980
|
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ChannelAuthSettingProps } from '../types';
|
|
3
|
+
import './index.less';
|
|
4
|
+
declare const Onlineshopauth: React.FC<ChannelAuthSettingProps>;
|
|
5
|
+
export default Onlineshopauth;
|
|
6
|
+
export type { ChannelAuthSettingProps, ChannelAuthSettingValue, ChannelAuthSettingSaveParams, TabKey } from '../types';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ChannelAuthSettingProps } from '../types';
|
|
3
|
+
import './index.less';
|
|
4
|
+
declare const SaaSManagermentAuth: React.FC<ChannelAuthSettingProps>;
|
|
5
|
+
export default SaaSManagermentAuth;
|
|
6
|
+
export type { ChannelAuthSettingProps, ChannelAuthSettingValue, ChannelAuthSettingSaveParams, TabKey } from '../types';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ChannelAuthSettingProps } from './types';
|
|
3
|
+
import './ChannelAuthSetting.less';
|
|
4
|
+
declare const ChannelAuthSetting: React.FC<ChannelAuthSettingProps>;
|
|
5
|
+
export default ChannelAuthSetting;
|
|
6
|
+
export type { ChannelAuthSettingProps, ChannelAuthSettingValue, ChannelAuthSettingSaveParams, TabKey } from './types';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @title: 添加额外商品
|
|
3
|
+
* @description:
|
|
4
|
+
* @return {*}
|
|
5
|
+
* @Author: zhiwei.Wang
|
|
6
|
+
* @Date: 2024-01-30 16:33
|
|
7
|
+
*/
|
|
8
|
+
import './index.less';
|
|
9
|
+
export interface InfoProps {
|
|
10
|
+
title?: string;
|
|
11
|
+
style?: any;
|
|
12
|
+
globalState: any;
|
|
13
|
+
setGlobalState: any;
|
|
14
|
+
}
|
|
15
|
+
export declare const formatProducts: (values: any) => any;
|
|
16
|
+
declare const Addons: any;
|
|
17
|
+
export default Addons;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
interface CustomSelectProps {
|
|
4
|
+
options: any[];
|
|
5
|
+
onValueChange: (value: any[]) => void;
|
|
6
|
+
value: any[];
|
|
7
|
+
rowKey: string;
|
|
8
|
+
previewItemRender?: (item: any) => React.ReactNode;
|
|
9
|
+
previewItemTitleRender?: (item: any, index: number, values: any[]) => React.ReactNode;
|
|
10
|
+
addButtonRender?: () => React.ReactNode;
|
|
11
|
+
optionRender: (item: any) => React.ReactNode;
|
|
12
|
+
addButtonProps?: any;
|
|
13
|
+
drawerProps?: any;
|
|
14
|
+
createItemText?: string;
|
|
15
|
+
loading?: boolean;
|
|
16
|
+
previewItemClassName?: string;
|
|
17
|
+
optionClassName?: string;
|
|
18
|
+
mode?: 'single' | 'multiple' | 'form';
|
|
19
|
+
filterItem?: (item: any, search: string) => boolean;
|
|
20
|
+
isPreview?: boolean;
|
|
21
|
+
name?: string;
|
|
22
|
+
handleCreateItem?: () => void;
|
|
23
|
+
handleViewItem?: (item: any) => void;
|
|
24
|
+
searchChange?: (e: string) => void;
|
|
25
|
+
loadMore?: any;
|
|
26
|
+
virtualListHeight?: number;
|
|
27
|
+
disabled?: boolean;
|
|
28
|
+
searchValue?: string;
|
|
29
|
+
onVirtualListScroll?: any;
|
|
30
|
+
modalOpen?: boolean;
|
|
31
|
+
closeCallback?: () => any;
|
|
32
|
+
autoFocus?: boolean;
|
|
33
|
+
showDropDown?: boolean;
|
|
34
|
+
handleOpenModal?: () => void;
|
|
35
|
+
handleDayChange?: (value: any) => void;
|
|
36
|
+
}
|
|
37
|
+
declare const _default: React.ForwardRefExoticComponent<CustomSelectProps & React.RefAttributes<unknown>>;
|
|
38
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare const getRelationDetailsTotal: (relation_details: any) => number;
|
|
2
|
+
export declare const getProductDiscountProductDiscountDifference: (product: any) => any;
|
|
3
|
+
export declare const is_price_include_tax: (state: any) => any;
|
|
4
|
+
/**
|
|
5
|
+
* 总金额
|
|
6
|
+
* @param state
|
|
7
|
+
* @returns
|
|
8
|
+
*/
|
|
9
|
+
export declare const getSumTotal: (state: any, isEdit: boolean) => {
|
|
10
|
+
productAmount: number;
|
|
11
|
+
duration: string;
|
|
12
|
+
tax: number;
|
|
13
|
+
shopDiscount: number;
|
|
14
|
+
otherAmount: number;
|
|
15
|
+
sumTotalAmount: number;
|
|
16
|
+
paidAmount: number;
|
|
17
|
+
notPaidAmount: number;
|
|
18
|
+
paySurchargeFee: number;
|
|
19
|
+
expectAmount: number;
|
|
20
|
+
actualPaidAmount: number;
|
|
21
|
+
orderPaidAmount: number;
|
|
22
|
+
totalRefundAmount: number;
|
|
23
|
+
dueAmount: number;
|
|
24
|
+
roundingAmount: number;
|
|
25
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getBookingList: (params: any) => Promise<any>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./index.less";
|
|
3
|
+
declare type ClientItemProps = {
|
|
4
|
+
data: {
|
|
5
|
+
cover: string;
|
|
6
|
+
name: string;
|
|
7
|
+
display_name: string;
|
|
8
|
+
nickname: string;
|
|
9
|
+
email: string;
|
|
10
|
+
phone: string;
|
|
11
|
+
};
|
|
12
|
+
coverSize?: number;
|
|
13
|
+
style?: React.CSSProperties;
|
|
14
|
+
className?: string;
|
|
15
|
+
walkInName?: string;
|
|
16
|
+
};
|
|
17
|
+
declare const ClientItem: (props: ClientItemProps) => JSX.Element;
|
|
18
|
+
export default ClientItem;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
declare type DepositItemProps = {
|
|
4
|
+
status: 'paid' | 'unpaid' | 'partially_paid';
|
|
5
|
+
onEdit: React.MouseEventHandler<HTMLSpanElement>;
|
|
6
|
+
customer: any;
|
|
7
|
+
totalAmountStr: string;
|
|
8
|
+
totalAmount: number;
|
|
9
|
+
orderId: number;
|
|
10
|
+
orderNumber: number;
|
|
11
|
+
handleGoOrderDetail: () => void;
|
|
12
|
+
generatePaymentLink: (orderId: number) => void;
|
|
13
|
+
sendEmail: (orderId: number) => void;
|
|
14
|
+
depositAmount: number;
|
|
15
|
+
depositUnPaidAmount: number;
|
|
16
|
+
depositPaidAmount: number;
|
|
17
|
+
depositOriginPaidAmount: number;
|
|
18
|
+
amountSymbol: string;
|
|
19
|
+
createdTime: string;
|
|
20
|
+
isPaid: boolean;
|
|
21
|
+
isBookingCancelled: boolean;
|
|
22
|
+
hideOrderDetail?: boolean;
|
|
23
|
+
};
|
|
24
|
+
declare const DepositItem: (props: DepositItemProps) => JSX.Element;
|
|
25
|
+
export default DepositItem;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface ResourceItem {
|
|
2
|
+
[key: string]: any;
|
|
3
|
+
}
|
|
4
|
+
/**
|
|
5
|
+
* @title: 传入资源,如果有子资源,会根据组合资源的 capacity 计算修改子资源的 capacity
|
|
6
|
+
* @description:
|
|
7
|
+
* @param {object} resource
|
|
8
|
+
* @return {*}
|
|
9
|
+
* @Author: jinglin.tan
|
|
10
|
+
*/
|
|
11
|
+
export declare const checkSubResourcesCapacity: (resource: ResourceItem) => void;
|
|
12
|
+
export declare const formatValues: (data: any, values: any) => any;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import './index.less';
|
|
2
|
+
export interface InfoProps {
|
|
3
|
+
forms: any[];
|
|
4
|
+
value: any;
|
|
5
|
+
onChange: any;
|
|
6
|
+
modalOpen: boolean;
|
|
7
|
+
action: any;
|
|
8
|
+
customSelectProps: any;
|
|
9
|
+
optionRender: any;
|
|
10
|
+
hideTitle?: boolean;
|
|
11
|
+
addCallback?: any;
|
|
12
|
+
client: any;
|
|
13
|
+
loading?: boolean;
|
|
14
|
+
addButtonProps?: any;
|
|
15
|
+
drawerProps?: any;
|
|
16
|
+
isMinorAndWaiver?: boolean;
|
|
17
|
+
waiverForm?: any;
|
|
18
|
+
addCallbackService?: () => void;
|
|
19
|
+
getHolders?: () => void;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* @title: 表单模块
|
|
23
|
+
* @description:
|
|
24
|
+
* @param {*} Provider
|
|
25
|
+
* @return {*}
|
|
26
|
+
* @Author: zhiwei.Wang
|
|
27
|
+
* @Date: 2024-01-30 17:10
|
|
28
|
+
*/
|
|
29
|
+
declare const Forms: any;
|
|
30
|
+
export default Forms;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { SendModalValues } from './index';
|
|
2
3
|
declare const useSendModal: (bookingId?: number) => {
|
|
3
4
|
open: boolean;
|
|
4
5
|
setOpen: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
5
6
|
handleOpen: () => void;
|
|
6
7
|
handleValuesChange: (val: any) => void;
|
|
7
|
-
handleOk: (values: SendModalValues) => Promise<
|
|
8
|
+
handleOk: (values: SendModalValues) => Promise<boolean | undefined>;
|
|
8
9
|
};
|
|
9
10
|
export default useSendModal;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 获取表单数据
|
|
3
|
+
*/
|
|
4
|
+
export declare const getFormData: (params: {
|
|
5
|
+
form_id: number;
|
|
6
|
+
form_record_ids: number[];
|
|
7
|
+
num: number;
|
|
8
|
+
skip: number;
|
|
9
|
+
}) => Promise<any>;
|
|
10
|
+
/**
|
|
11
|
+
* 发送表单填写提醒
|
|
12
|
+
*/
|
|
13
|
+
export declare const sendFormReminder: (params: {
|
|
14
|
+
email?: string;
|
|
15
|
+
phone?: string;
|
|
16
|
+
order_id: number;
|
|
17
|
+
country_calling_code?: string;
|
|
18
|
+
}) => Promise<any>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useIsBooking4Shop: (state: any) => any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getWaiverTitle: (waiverForm: any[]) => string;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
interface VerticalClientProps {
|
|
4
|
+
globalState: any;
|
|
5
|
+
setGlobalState: any;
|
|
6
|
+
}
|
|
7
|
+
declare const VerticalClient: React.ForwardRefExoticComponent<VerticalClientProps & React.RefAttributes<unknown>>;
|
|
8
|
+
export default VerticalClient;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { EditServiceRef } from "../service/editService";
|
|
3
|
+
declare const useInfoHolder: (state: any, dispatch: any) => {
|
|
4
|
+
detailRef: import("react").MutableRefObject<EditServiceRef | undefined>;
|
|
5
|
+
handleEdit: (cacheItem: any, type?: string) => void;
|
|
6
|
+
dispatchService: (type: string, payload: any) => void;
|
|
7
|
+
handleAction: (dataSource: any) => void;
|
|
8
|
+
showAddTimeModal: boolean;
|
|
9
|
+
};
|
|
10
|
+
export default useInfoHolder;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { InfoProps } from '../../forms/forms';
|
|
3
|
+
import './index.less';
|
|
4
|
+
interface PetProps {
|
|
5
|
+
state?: any;
|
|
6
|
+
dispatch?: any;
|
|
7
|
+
hideTitle?: boolean;
|
|
8
|
+
addButtonProps?: InfoProps['addButtonProps'];
|
|
9
|
+
handleOpenModal?: () => void;
|
|
10
|
+
clientChangeNotSetPet?: boolean;
|
|
11
|
+
previewItemTitleRender?: (item: any, index: number, values: any[]) => React.ReactNode;
|
|
12
|
+
}
|
|
13
|
+
declare const Pet: (props: PetProps) => JSX.Element;
|
|
14
|
+
export default Pet;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getFormDetail: (id: number) => Promise<any>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PisellDrawerProps } from '../../../components/drawer';
|
|
2
|
+
import './index.less';
|
|
3
|
+
interface AddServiceProps {
|
|
4
|
+
onEdit?: any;
|
|
5
|
+
dispatch?: any;
|
|
6
|
+
state?: any;
|
|
7
|
+
drawerProps?: PisellDrawerProps;
|
|
8
|
+
renderMode?: 'current' | 'drawer';
|
|
9
|
+
}
|
|
10
|
+
declare const Info: (props: AddServiceProps) => JSX.Element;
|
|
11
|
+
export default Info;
|