@pisell/private-materials 6.3.9 → 6.3.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.css +1 -1
- package/build/lowcode/render/default/view.js +9 -9
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +9 -9
- package/es/businessModel/SalesModel/Sales/index.d.ts +24 -0
- package/es/businessModel/SalesModel/hooks/index.d.ts +1 -0
- package/es/businessModel/SalesModel/index.d.ts +4 -0
- package/es/businessModel/index.d.ts +0 -0
- package/es/components/Sales/Cart/serve.d.ts +2 -0
- package/es/components/Sales/Cart/types.d.ts +31 -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 +41 -0
- package/es/components/Sales/Customer/index.d.ts +25 -0
- package/es/components/Sales/Event/Detail.d.ts +30 -0
- package/es/components/Sales/Event/index.d.ts +30 -0
- package/es/components/Sales/Event/serve.d.ts +49 -0
- package/es/components/Sales/Holder/index.d.ts +33 -0
- package/es/components/Sales/Holder/serve.d.ts +8 -0
- package/es/components/Sales/Init/index.d.ts +25 -0
- package/es/components/Sales/Init/serve.d.ts +3 -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/Step/index.d.ts +39 -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/Sales/hooks/index.d.ts +1 -0
- package/es/components/Sales/index.d.ts +20 -0
- package/es/components/Sales/utils/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Cart/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Cart/utils.d.ts +56 -0
- package/es/components/appointmentBooking/components/ConfirmInformation/utils.d.ts +12 -0
- package/es/components/appointmentBooking/components/Content/index.js +2 -2
- package/es/components/appointmentBooking/components/Date/state.d.ts +63 -0
- package/es/components/appointmentBooking/components/Deposit/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/Header/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Resource/utils.d.ts +5 -0
- package/es/components/appointmentBooking/components/Voucher/index.js +6 -5
- package/es/components/appointmentBooking/context.d.ts +35 -0
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +1 -0
- package/es/components/appointmentBooking/deposit/index.d.ts +1 -0
- package/es/components/appointmentBooking/hooks.js +4 -2
- package/es/components/appointmentBooking/index.d.ts +1 -0
- package/es/components/appointmentBooking/locales.d.ts +360 -0
- package/es/components/appointmentBooking/type.d.ts +17 -0
- package/es/components/booking/addons/index.js +12 -8
- package/es/components/booking/components/TabProduct/index.d.ts +1 -0
- package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
- package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
- package/es/components/booking/components/collapsibleList/utils.d.ts +1 -0
- package/es/components/booking/components/drawer/index.d.ts +19 -0
- package/es/components/booking/components/emptyBooking/index.d.ts +1 -0
- package/es/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
- package/es/components/booking/components/footer/index.js +19 -9
- package/es/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
- package/es/components/booking/components/reloadResourceModal/index.d.ts +1 -0
- package/es/components/booking/components/tabPane/index.d.ts +4 -0
- package/es/components/booking/components/voucher/index.js +8 -5
- package/es/components/booking/components/voucher/utils.d.ts +4 -0
- package/es/components/booking/deposit/index.d.ts +1 -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 +52 -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/footer.d.ts +1 -0
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
- package/es/components/booking/forms/single/index.d.ts +1 -0
- package/es/components/booking/forms/table/index.d.ts +1 -0
- package/es/components/booking/hooks/useClearCart.d.ts +1 -0
- package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
- package/es/components/booking/info/Provider.d.ts +0 -0
- package/es/components/booking/info/addServiceVariant/index.d.ts +7 -0
- package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
- package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/es/components/booking/info/date/index.d.ts +1 -0
- package/es/components/booking/info/header/index.d.ts +1 -0
- package/es/components/booking/info/hooks/useGetHolderList.d.ts +2 -0
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
- package/es/components/booking/info/index.d.ts +4 -0
- package/es/components/booking/info/notes/index.d.ts +1 -0
- package/es/components/booking/info/service/actions/index.d.ts +1 -0
- package/es/components/booking/info/service/addService/index.d.ts +1 -0
- package/es/components/booking/info/service/addTimeModal/index.d.ts +1 -0
- package/es/components/booking/info/service/editService/constants.d.ts +1 -0
- package/es/components/booking/info/service/like/index.d.ts +1 -0
- package/es/components/booking/info/service/serviceList/index.d.ts +1 -0
- package/es/components/booking/info/service/serviceManager/distributeDiscount.d.ts +11 -0
- package/es/components/booking/info/service/serviceManager/utils.d.ts +0 -0
- package/es/components/booking/info/service2/Lists.d.ts +1 -0
- package/es/components/booking/info/service2/hooks/useSelectPet.d.ts +6 -0
- package/es/components/booking/info/service2/utils.d.ts +1 -1
- package/es/components/booking/info2/service/actions/index.d.ts +1 -0
- package/es/components/booking/info2/service/addService/index.d.ts +1 -0
- package/es/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.d.ts +7 -0
- package/es/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.d.ts +7 -0
- package/es/components/booking/info2/service/serviceList/index.d.ts +1 -0
- package/es/components/booking/info2/utils.d.ts +4 -0
- package/es/components/booking/locales.d.ts +831 -0
- package/es/components/booking/materiels/contacts/index.d.ts +1 -0
- package/es/components/booking/materiels/duration/index.d.ts +1 -0
- package/es/components/booking/materiels/holder/index.d.ts +1 -0
- package/es/components/booking/materiels/startTime/index.d.ts +1 -0
- package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
- package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
- 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/index.d.ts +1 -0
- package/es/components/eftpos/pos.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/amount.d.ts +2 -1
- package/es/components/eftposPay/app.d.ts +1 -0
- package/es/components/eftposPay/component/alert/warn.d.ts +1 -0
- package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -0
- package/es/components/eftposPay/component/fail/index.d.ts +1 -0
- package/es/components/eftposPay/component/fail/network.d.ts +1 -0
- package/es/components/eftposPay/component/fail/unknow.d.ts +1 -0
- package/es/components/eftposPay/component/header/titlebar.d.ts +1 -0
- package/es/components/eftposPay/component/manual/index.d.ts +1 -0
- package/es/components/eftposPay/component/signature/index.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/device.d.ts +2 -1
- package/es/components/eftposPay/hooks.d.ts +1 -1
- package/es/components/eftposPay/index.d.ts +1 -0
- package/es/components/eftposPay/linkly/hooks/index.d.ts +2 -0
- package/es/components/eftposPay/linkly/index.d.ts +1 -0
- package/es/components/eftposPay/linkly/service.d.ts +32 -0
- package/es/components/eftposPay/locales.d.ts +330 -0
- package/es/components/eftposPay/manufacturer.d.ts +7 -0
- package/es/components/eftposPay/pay.d.ts +1 -0
- package/es/components/eftposPay/payo/config.d.ts +1 -0
- package/es/components/eftposPay/store/index.d.ts +355 -0
- package/es/components/eftposPay/tip.d.ts +1 -0
- package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/es/components/eftposPay/windcave/receiptAction.d.ts +1 -0
- package/es/components/eftposPay/windcave/windcave.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +3 -0
- package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Content/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/Header/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Information/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/Provider/SelectHolderModal.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +4 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +4 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +5 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +4 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.d.ts +63 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/index.d.ts +14 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/utils.d.ts +34 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/index.d.ts +14 -0
- package/es/components/eventBooking/index.d.ts +1 -0
- package/es/components/eventBooking/locales.d.ts +246 -0
- package/es/components/eventBooking/type.d.ts +17 -0
- package/es/components/eventBooking/utils.d.ts +45 -0
- package/es/components/login/index.d.ts +1 -0
- package/es/components/login/locales.d.ts +24 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -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/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +113 -0
- package/es/components/pay/toC/locales.d.ts +289 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +3 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/index.d.ts +1 -0
- 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/SelectProducts/ProductItem/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
- package/es/components/productExtension/index.d.ts +1 -0
- package/es/components/productSelect/components/TabProduct/tabs/index.d.ts +21 -0
- package/es/components/productSelect/hooks/useToken.d.ts +18 -0
- package/es/components/productSelect/locales.d.ts +18 -0
- package/es/components/productSelect/mock.d.ts +134 -0
- package/es/components/productSelect/theme/token.d.ts +17 -0
- package/es/components/ruleSetting/index.d.ts +1 -0
- package/es/components/ruleSetting/ruleBorder/index.d.ts +1 -0
- package/es/components/schedules/calendar/calendarItem.d.ts +1 -0
- package/es/components/schedules/calendar/index.d.ts +1 -0
- package/es/components/schedules/components/CurrentDay/index.d.ts +1 -0
- package/es/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
- package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
- package/es/components/schedules/components/ScheduleList/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
- package/es/components/schedules/products/index.d.ts +1 -0
- package/es/components/schedules/products/list/ProductItem/index.d.ts +1 -0
- package/es/components/schedules/products/list/index.d.ts +1 -0
- package/es/components/schedules/resources/index.d.ts +1 -0
- package/es/components/schedules/resources/list/index.d.ts +1 -0
- package/es/components/schedules/resources/relationProduct/index.d.ts +1 -0
- package/es/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
- package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
- package/es/components/schedules/schedules/index.d.ts +1 -0
- package/es/components/shoppingCart/Provider.d.ts +3 -0
- package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -1
- package/es/components/shoppingCart/components/Cart/index.d.ts +1 -0
- package/es/components/shoppingCart/components/Empty/index.d.ts +4 -0
- package/es/components/shoppingCart/components/Render/index.d.ts +4 -0
- package/es/components/shoppingCart/hooks/useAddService.d.ts +1 -0
- package/es/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
- package/es/components/shoppingCart/hooks/useContext.d.ts +1 -0
- package/es/components/shoppingCart/index.d.ts +1 -0
- package/es/components/shoppingCart/locales.d.ts +33 -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/stepController/components/Content/index.d.ts +7 -0
- package/es/components/stepController/components/Footer/index.d.ts +8 -0
- package/es/components/stepController/locales.d.ts +27 -0
- package/es/components/stepController/types.d.ts +23 -0
- package/es/components/subTotal/locales.d.ts +42 -0
- package/es/components/taxSelect/index.d.ts +1 -0
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +7 -0
- package/es/components/ticketBooking/components/menuBar/index.d.ts +1 -0
- package/es/components/ticketBooking/data.d.ts +58 -0
- package/es/components/ticketBooking/hooks/useNetworkStatus.d.ts +11 -0
- package/es/components/ticketBooking/locales.d.ts +174 -0
- package/es/components/ticketBooking/miniRedux.d.ts +22 -0
- package/es/components/ticketBooking/serve.d.ts +287 -0
- package/es/components/wallet/Detail/index.js +248 -62
- package/es/components/wallet/Detail/locales.d.ts +147 -0
- package/es/components/wallet/Detail/locales.js +57 -3
- package/es/components/wallet/Detail/serve.d.ts +39 -0
- package/es/components/wallet/Detail/serve.js +5 -1
- package/es/components/wallet/RechargeableCard/serve.d.ts +23 -0
- package/es/components/wallet/Voucher/locales.d.ts +21 -0
- package/es/components/wallet/components/UsageRules/index.d.ts +23 -0
- package/es/components/wallet/components/UsageRules/index.js +147 -0
- package/es/components/wallet/components/UsageRules/index.less +157 -0
- package/es/components/wallet/components/index.d.ts +3 -0
- package/es/components/wallet/components/index.js +2 -1
- package/es/components/wallet/hooks/useWalletCard.d.ts +1 -0
- package/es/components/wallet/locales.d.ts +132 -0
- package/es/components/walletList/locales.d.ts +18 -0
- package/es/components/walletList/model.d.ts +6 -0
- package/es/components/walletList/serve.d.ts +20 -0
- package/es/components/walletList/types/index.d.ts +194 -0
- package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
- package/es/components/workSpaceList/components/Card/constants.d.ts +2 -0
- package/es/components/workSpaceList/components/WorkspaceItem/index.d.ts +22 -0
- package/es/hooks/useEngineContext.d.ts +10 -0
- package/es/hooks/useLocale.d.ts +2 -0
- package/es/hooks/useLoginUser.d.ts +2 -0
- package/es/hooks/useWindowSize.d.ts +5 -0
- package/es/index.d.ts +3 -0
- package/es/index.js +4 -1
- package/es/plus/productSelect/CategoryTabs/CategorySkeleton.d.ts +10 -0
- package/es/plus/productSelect/CategoryTabs/index.d.ts +18 -0
- package/es/plus/productSelect/ProductCard/ProductCardSkeleton.d.ts +10 -0
- package/es/plus/productSelect/ProductCard/index.less +5 -22
- package/es/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
- package/es/plus/productSelect/ProductList/index.d.ts +22 -0
- package/es/plus/productSelect/components/IntersectionObserver.d.ts +42 -0
- package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
- package/es/plus/productSelect/components/TabsStructure/hooks.d.ts +22 -0
- package/es/plus/productSelect/components/TabsStructure/index.d.ts +5 -0
- package/es/plus/productSelect/components/TabsStructure/styles.d.ts +47 -0
- package/es/plus/productSelect/components/TabsStructure/types.d.ts +105 -0
- package/es/plus/productSelect/components/TabsStructure/utils.d.ts +12 -0
- package/es/plus/productSelect/components/pisellPriceText/index.d.ts +1 -0
- package/es/plus/productSelect/components/pisellPriceText/index.js +1 -0
- package/es/plus/productSelect/components/pisellPriceText/index.less +4 -0
- package/es/plus/productSelect/hooks/useToken.d.ts +18 -0
- package/es/plus/productSelect/locales.d.ts +18 -0
- package/es/plus/productSelect/theme/token.d.ts +17 -0
- package/es/plus/saasCreateOrganization/components/Header.d.ts +4 -0
- package/es/plus/saasCreateOrganization/components/Header.js +62 -0
- package/es/plus/saasCreateOrganization/index.d.ts +5 -0
- package/es/plus/saasCreateOrganization/index.js +15 -0
- package/es/plus/saasCreateOrganization/index.less +55 -0
- package/es/plus/saasCreateOrganization/locales.d.ts +15 -0
- package/es/plus/saasCreateOrganization/locales.js +14 -0
- package/es/plus/saasCreateOrganization/types.d.ts +69 -0
- package/es/plus/saasCreateOrganization/types.js +1 -0
- package/es/plus/saasLogin/index.d.ts +5 -0
- package/es/plus/saasLogin/index.js +165 -0
- package/es/plus/saasLogin/index.less +136 -0
- package/es/plus/saasLogin/locales.d.ts +51 -0
- package/es/plus/saasLogin/locales.js +50 -0
- package/es/plus/saasLogin/types.d.ts +62 -0
- package/es/plus/saasLogin/types.js +1 -0
- package/es/plus/saasLogin/utils.d.ts +35 -0
- package/es/plus/saasLogin/utils.js +31 -0
- package/es/plus/saasRegister/components/EntryEmail.d.ts +10 -0
- package/es/plus/saasRegister/components/EntryEmail.js +92 -0
- package/es/plus/saasRegister/components/EntryInfo.d.ts +10 -0
- package/es/plus/saasRegister/components/EntryInfo.js +145 -0
- package/es/plus/saasRegister/components/GoLogin.d.ts +5 -0
- package/es/plus/saasRegister/components/GoLogin.js +27 -0
- package/es/plus/saasRegister/components/Header.d.ts +4 -0
- package/es/plus/saasRegister/components/Header.js +62 -0
- package/es/plus/saasRegister/components/VerifyError.d.ts +9 -0
- package/es/plus/saasRegister/components/VerifyError.js +68 -0
- package/es/plus/saasRegister/components/VerifyingLink.d.ts +6 -0
- package/es/plus/saasRegister/components/VerifyingLink.js +16 -0
- package/es/plus/saasRegister/components/VertifyEmail.d.ts +8 -0
- package/es/plus/saasRegister/components/VertifyEmail.js +121 -0
- package/es/plus/saasRegister/index.d.ts +5 -0
- package/es/plus/saasRegister/index.js +246 -0
- package/es/plus/saasRegister/index.less +218 -0
- package/es/plus/saasRegister/locales.d.ts +117 -0
- package/es/plus/saasRegister/locales.js +116 -0
- package/es/plus/saasRegister/types.d.ts +114 -0
- package/es/plus/saasRegister/types.js +24 -0
- package/es/utils/date.d.ts +11 -0
- package/es/utils/locales.d.ts +1 -0
- package/es/utils/tasks/type.d.ts +4 -0
- package/lib/businessModel/SalesModel/Sales/index.d.ts +24 -0
- package/lib/businessModel/SalesModel/hooks/index.d.ts +1 -0
- package/lib/businessModel/SalesModel/index.d.ts +4 -0
- package/lib/businessModel/index.d.ts +0 -0
- package/lib/components/Sales/Cart/serve.d.ts +2 -0
- package/lib/components/Sales/Cart/types.d.ts +31 -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 +41 -0
- package/lib/components/Sales/Customer/index.d.ts +25 -0
- package/lib/components/Sales/Event/Detail.d.ts +30 -0
- package/lib/components/Sales/Event/index.d.ts +30 -0
- package/lib/components/Sales/Event/serve.d.ts +49 -0
- package/lib/components/Sales/Holder/index.d.ts +33 -0
- package/lib/components/Sales/Holder/serve.d.ts +8 -0
- package/lib/components/Sales/Init/index.d.ts +25 -0
- package/lib/components/Sales/Init/serve.d.ts +3 -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/Step/index.d.ts +39 -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/Sales/hooks/index.d.ts +1 -0
- package/lib/components/Sales/index.d.ts +20 -0
- package/lib/components/Sales/utils/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Cart/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Cart/utils.d.ts +56 -0
- package/lib/components/appointmentBooking/components/ConfirmInformation/utils.d.ts +12 -0
- package/lib/components/appointmentBooking/components/Content/index.js +1 -1
- package/lib/components/appointmentBooking/components/Date/state.d.ts +63 -0
- package/lib/components/appointmentBooking/components/Deposit/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/Header/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Resource/utils.d.ts +5 -0
- package/lib/components/appointmentBooking/components/Voucher/index.js +2 -1
- package/lib/components/appointmentBooking/context.d.ts +35 -0
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +1 -0
- package/lib/components/appointmentBooking/deposit/index.d.ts +1 -0
- package/lib/components/appointmentBooking/hooks.js +4 -2
- package/lib/components/appointmentBooking/index.d.ts +1 -0
- package/lib/components/appointmentBooking/locales.d.ts +360 -0
- package/lib/components/appointmentBooking/type.d.ts +17 -0
- package/lib/components/booking/addons/index.js +1 -11
- package/lib/components/booking/components/TabProduct/index.d.ts +1 -0
- package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
- package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
- package/lib/components/booking/components/collapsibleList/utils.d.ts +1 -0
- package/lib/components/booking/components/drawer/index.d.ts +19 -0
- package/lib/components/booking/components/emptyBooking/index.d.ts +1 -0
- package/lib/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
- package/lib/components/booking/components/footer/index.js +15 -8
- package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
- package/lib/components/booking/components/reloadResourceModal/index.d.ts +1 -0
- package/lib/components/booking/components/tabPane/index.d.ts +4 -0
- package/lib/components/booking/components/voucher/index.js +3 -1
- package/lib/components/booking/components/voucher/utils.d.ts +4 -0
- package/lib/components/booking/deposit/index.d.ts +1 -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 +52 -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/footer.d.ts +1 -0
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
- package/lib/components/booking/forms/single/index.d.ts +1 -0
- package/lib/components/booking/forms/table/index.d.ts +1 -0
- package/lib/components/booking/hooks/useClearCart.d.ts +1 -0
- package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
- package/lib/components/booking/info/Provider.d.ts +0 -0
- package/lib/components/booking/info/addServiceVariant/index.d.ts +7 -0
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
- package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/lib/components/booking/info/date/index.d.ts +1 -0
- package/lib/components/booking/info/header/index.d.ts +1 -0
- package/lib/components/booking/info/hooks/useGetHolderList.d.ts +2 -0
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
- package/lib/components/booking/info/index.d.ts +4 -0
- package/lib/components/booking/info/notes/index.d.ts +1 -0
- package/lib/components/booking/info/service/actions/index.d.ts +1 -0
- package/lib/components/booking/info/service/addService/index.d.ts +1 -0
- package/lib/components/booking/info/service/addTimeModal/index.d.ts +1 -0
- package/lib/components/booking/info/service/editService/constants.d.ts +1 -0
- package/lib/components/booking/info/service/like/index.d.ts +1 -0
- package/lib/components/booking/info/service/serviceList/index.d.ts +1 -0
- package/lib/components/booking/info/service/serviceManager/distributeDiscount.d.ts +11 -0
- package/lib/components/booking/info/service/serviceManager/utils.d.ts +0 -0
- package/lib/components/booking/info/service2/Lists.d.ts +1 -0
- package/lib/components/booking/info/service2/hooks/useSelectPet.d.ts +6 -0
- package/lib/components/booking/info/service2/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/actions/index.d.ts +1 -0
- package/lib/components/booking/info2/service/addService/index.d.ts +1 -0
- package/lib/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.d.ts +7 -0
- package/lib/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.d.ts +7 -0
- package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -0
- package/lib/components/booking/info2/utils.d.ts +4 -0
- package/lib/components/booking/locales.d.ts +831 -0
- package/lib/components/booking/materiels/contacts/index.d.ts +1 -0
- package/lib/components/booking/materiels/duration/index.d.ts +1 -0
- package/lib/components/booking/materiels/holder/index.d.ts +1 -0
- package/lib/components/booking/materiels/startTime/index.d.ts +1 -0
- package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
- package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -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/index.d.ts +1 -0
- package/lib/components/eftpos/pos.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/amount.d.ts +2 -1
- package/lib/components/eftposPay/app.d.ts +1 -0
- package/lib/components/eftposPay/component/alert/warn.d.ts +1 -0
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -0
- package/lib/components/eftposPay/component/fail/index.d.ts +1 -0
- package/lib/components/eftposPay/component/fail/network.d.ts +1 -0
- package/lib/components/eftposPay/component/fail/unknow.d.ts +1 -0
- package/lib/components/eftposPay/component/header/titlebar.d.ts +1 -0
- package/lib/components/eftposPay/component/manual/index.d.ts +1 -0
- package/lib/components/eftposPay/component/signature/index.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/device.d.ts +2 -1
- package/lib/components/eftposPay/hooks.d.ts +1 -1
- package/lib/components/eftposPay/index.d.ts +1 -0
- package/lib/components/eftposPay/linkly/hooks/index.d.ts +2 -0
- package/lib/components/eftposPay/linkly/index.d.ts +1 -0
- package/lib/components/eftposPay/linkly/service.d.ts +32 -0
- package/lib/components/eftposPay/locales.d.ts +330 -0
- package/lib/components/eftposPay/manufacturer.d.ts +7 -0
- package/lib/components/eftposPay/pay.d.ts +1 -0
- package/lib/components/eftposPay/payo/config.d.ts +1 -0
- package/lib/components/eftposPay/store/index.d.ts +355 -0
- package/lib/components/eftposPay/tip.d.ts +1 -0
- package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/lib/components/eftposPay/windcave/receiptAction.d.ts +1 -0
- package/lib/components/eftposPay/windcave/windcave.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +3 -0
- package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Content/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/Header/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Information/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/Provider/SelectHolderModal.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +4 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +4 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +5 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +4 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.d.ts +63 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/index.d.ts +14 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/utils.d.ts +34 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/index.d.ts +14 -0
- package/lib/components/eventBooking/index.d.ts +1 -0
- package/lib/components/eventBooking/locales.d.ts +246 -0
- package/lib/components/eventBooking/type.d.ts +17 -0
- package/lib/components/eventBooking/utils.d.ts +45 -0
- package/lib/components/login/index.d.ts +1 -0
- package/lib/components/login/locales.d.ts +24 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -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/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +113 -0
- package/lib/components/pay/toC/locales.d.ts +289 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +3 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/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/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
- package/lib/components/productExtension/index.d.ts +1 -0
- package/lib/components/productSelect/components/TabProduct/tabs/index.d.ts +21 -0
- package/lib/components/productSelect/hooks/useToken.d.ts +18 -0
- package/lib/components/productSelect/locales.d.ts +18 -0
- package/lib/components/productSelect/mock.d.ts +134 -0
- package/lib/components/productSelect/theme/token.d.ts +17 -0
- package/lib/components/ruleSetting/index.d.ts +1 -0
- package/lib/components/ruleSetting/ruleBorder/index.d.ts +1 -0
- package/lib/components/schedules/calendar/calendarItem.d.ts +1 -0
- package/lib/components/schedules/calendar/index.d.ts +1 -0
- package/lib/components/schedules/components/CurrentDay/index.d.ts +1 -0
- package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
- package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
- package/lib/components/schedules/components/ScheduleList/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
- package/lib/components/schedules/products/index.d.ts +1 -0
- package/lib/components/schedules/products/list/ProductItem/index.d.ts +1 -0
- package/lib/components/schedules/products/list/index.d.ts +1 -0
- package/lib/components/schedules/resources/index.d.ts +1 -0
- package/lib/components/schedules/resources/list/index.d.ts +1 -0
- package/lib/components/schedules/resources/relationProduct/index.d.ts +1 -0
- package/lib/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
- package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
- package/lib/components/schedules/schedules/index.d.ts +1 -0
- package/lib/components/shoppingCart/Provider.d.ts +3 -0
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -1
- package/lib/components/shoppingCart/components/Cart/index.d.ts +1 -0
- package/lib/components/shoppingCart/components/Empty/index.d.ts +4 -0
- package/lib/components/shoppingCart/components/Render/index.d.ts +4 -0
- package/lib/components/shoppingCart/hooks/useAddService.d.ts +1 -0
- package/lib/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
- package/lib/components/shoppingCart/hooks/useContext.d.ts +1 -0
- package/lib/components/shoppingCart/index.d.ts +1 -0
- package/lib/components/shoppingCart/locales.d.ts +33 -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/stepController/components/Content/index.d.ts +7 -0
- package/lib/components/stepController/components/Footer/index.d.ts +8 -0
- package/lib/components/stepController/locales.d.ts +27 -0
- package/lib/components/stepController/types.d.ts +23 -0
- package/lib/components/subTotal/locales.d.ts +42 -0
- package/lib/components/taxSelect/index.d.ts +1 -0
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +7 -0
- package/lib/components/ticketBooking/components/menuBar/index.d.ts +1 -0
- package/lib/components/ticketBooking/data.d.ts +58 -0
- package/lib/components/ticketBooking/hooks/useNetworkStatus.d.ts +11 -0
- package/lib/components/ticketBooking/locales.d.ts +174 -0
- package/lib/components/ticketBooking/miniRedux.d.ts +22 -0
- package/lib/components/ticketBooking/serve.d.ts +287 -0
- package/lib/components/wallet/Detail/index.js +125 -6
- package/lib/components/wallet/Detail/locales.d.ts +147 -0
- package/lib/components/wallet/Detail/locales.js +57 -3
- package/lib/components/wallet/Detail/serve.d.ts +39 -0
- package/lib/components/wallet/Detail/serve.js +6 -1
- package/lib/components/wallet/RechargeableCard/serve.d.ts +23 -0
- package/lib/components/wallet/Voucher/locales.d.ts +21 -0
- package/lib/components/wallet/components/UsageRules/index.d.ts +23 -0
- package/lib/components/wallet/components/UsageRules/index.js +113 -0
- package/lib/components/wallet/components/UsageRules/index.less +157 -0
- package/lib/components/wallet/components/index.d.ts +3 -0
- package/lib/components/wallet/components/index.js +3 -0
- package/lib/components/wallet/hooks/useWalletCard.d.ts +1 -0
- package/lib/components/wallet/locales.d.ts +132 -0
- package/lib/components/walletList/locales.d.ts +18 -0
- package/lib/components/walletList/model.d.ts +6 -0
- package/lib/components/walletList/serve.d.ts +20 -0
- package/lib/components/walletList/types/index.d.ts +194 -0
- package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
- package/lib/components/workSpaceList/components/Card/constants.d.ts +2 -0
- package/lib/components/workSpaceList/components/WorkspaceItem/index.d.ts +22 -0
- package/lib/hooks/useEngineContext.d.ts +10 -0
- package/lib/hooks/useLocale.d.ts +2 -0
- package/lib/hooks/useLoginUser.d.ts +2 -0
- package/lib/hooks/useWindowSize.d.ts +5 -0
- package/lib/index.d.ts +3 -0
- package/lib/index.js +9 -0
- package/lib/plus/productSelect/CategoryTabs/CategorySkeleton.d.ts +10 -0
- package/lib/plus/productSelect/CategoryTabs/index.d.ts +18 -0
- package/lib/plus/productSelect/ProductCard/ProductCardSkeleton.d.ts +10 -0
- package/lib/plus/productSelect/ProductCard/index.less +5 -22
- package/lib/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
- package/lib/plus/productSelect/ProductList/index.d.ts +22 -0
- package/lib/plus/productSelect/components/IntersectionObserver.d.ts +42 -0
- package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
- package/lib/plus/productSelect/components/TabsStructure/hooks.d.ts +22 -0
- package/lib/plus/productSelect/components/TabsStructure/index.d.ts +5 -0
- package/lib/plus/productSelect/components/TabsStructure/styles.d.ts +47 -0
- package/lib/plus/productSelect/components/TabsStructure/types.d.ts +105 -0
- package/lib/plus/productSelect/components/TabsStructure/utils.d.ts +12 -0
- package/lib/plus/productSelect/components/pisellPriceText/index.d.ts +1 -0
- package/lib/plus/productSelect/components/pisellPriceText/index.js +1 -0
- package/lib/plus/productSelect/components/pisellPriceText/index.less +4 -0
- package/lib/plus/productSelect/hooks/useToken.d.ts +18 -0
- package/lib/plus/productSelect/locales.d.ts +18 -0
- package/lib/plus/productSelect/theme/token.d.ts +17 -0
- package/lib/plus/saasCreateOrganization/components/Header.d.ts +4 -0
- package/lib/plus/saasCreateOrganization/components/Header.js +99 -0
- package/lib/plus/saasCreateOrganization/index.d.ts +5 -0
- package/lib/plus/saasCreateOrganization/index.js +47 -0
- package/lib/plus/saasCreateOrganization/index.less +55 -0
- package/lib/plus/saasCreateOrganization/locales.d.ts +15 -0
- package/lib/plus/saasCreateOrganization/locales.js +38 -0
- package/lib/plus/saasCreateOrganization/types.d.ts +69 -0
- package/lib/plus/saasCreateOrganization/types.js +17 -0
- package/lib/plus/saasLogin/index.d.ts +5 -0
- package/lib/plus/saasLogin/index.js +171 -0
- package/lib/plus/saasLogin/index.less +136 -0
- package/lib/plus/saasLogin/locales.d.ts +51 -0
- package/lib/plus/saasLogin/locales.js +74 -0
- package/lib/plus/saasLogin/types.d.ts +62 -0
- package/lib/plus/saasLogin/types.js +17 -0
- package/lib/plus/saasLogin/utils.d.ts +35 -0
- package/lib/plus/saasLogin/utils.js +50 -0
- package/lib/plus/saasRegister/components/EntryEmail.d.ts +10 -0
- package/lib/plus/saasRegister/components/EntryEmail.js +92 -0
- package/lib/plus/saasRegister/components/EntryInfo.d.ts +10 -0
- package/lib/plus/saasRegister/components/EntryInfo.js +128 -0
- package/lib/plus/saasRegister/components/GoLogin.d.ts +5 -0
- package/lib/plus/saasRegister/components/GoLogin.js +58 -0
- package/lib/plus/saasRegister/components/Header.d.ts +4 -0
- package/lib/plus/saasRegister/components/Header.js +99 -0
- package/lib/plus/saasRegister/components/VerifyError.d.ts +9 -0
- package/lib/plus/saasRegister/components/VerifyError.js +123 -0
- package/lib/plus/saasRegister/components/VerifyingLink.d.ts +6 -0
- package/lib/plus/saasRegister/components/VerifyingLink.js +44 -0
- package/lib/plus/saasRegister/components/VertifyEmail.d.ts +8 -0
- package/lib/plus/saasRegister/components/VertifyEmail.js +110 -0
- package/lib/plus/saasRegister/index.d.ts +5 -0
- package/lib/plus/saasRegister/index.js +205 -0
- package/lib/plus/saasRegister/index.less +218 -0
- package/lib/plus/saasRegister/locales.d.ts +117 -0
- package/lib/plus/saasRegister/locales.js +140 -0
- package/lib/plus/saasRegister/types.d.ts +114 -0
- package/lib/plus/saasRegister/types.js +54 -0
- package/lib/utils/date.d.ts +11 -0
- package/lib/utils/locales.d.ts +1 -0
- package/lib/utils/tasks/type.d.ts +4 -0
- package/lowcode/saas-create-organization/meta.ts +214 -0
- package/lowcode/saas-create-organization/snippets.ts +25 -0
- package/lowcode/saas-login/meta.ts +370 -0
- package/lowcode/saas-login/snippets.ts +38 -0
- package/lowcode/saas-register/meta.ts +386 -0
- package/lowcode/saas-register/snippets.ts +31 -0
- package/package.json +5 -5
@@ -0,0 +1,33 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
interface HolderData {
|
3
|
+
}
|
4
|
+
interface HolderContextType {
|
5
|
+
holderData: HolderData;
|
6
|
+
getHolderList: any;
|
7
|
+
selectHolder: any;
|
8
|
+
open: boolean;
|
9
|
+
onOpenCreateHolder: any;
|
10
|
+
onHolderOpen: any;
|
11
|
+
onHolderClose: any;
|
12
|
+
createHolder: any;
|
13
|
+
selectedHolderIds: any;
|
14
|
+
refreshHolder: () => void;
|
15
|
+
deleteHolderById: (holderId: number) => void;
|
16
|
+
updateHolderList: (holerItem: any) => void;
|
17
|
+
defaultSelectedHolder: any;
|
18
|
+
}
|
19
|
+
interface HolderProviderProps {
|
20
|
+
children: React.ReactNode;
|
21
|
+
}
|
22
|
+
export declare const HolderContext: React.Context<HolderContextType | undefined>;
|
23
|
+
export declare const HolderProvider: React.FC<HolderProviderProps>;
|
24
|
+
/**
|
25
|
+
* 使用步骤管理的Hook
|
26
|
+
* @throws {Error} 如果在StepProvider外部使用会抛出错误
|
27
|
+
* @returns {StepContextType} 步骤管理上下文
|
28
|
+
*/
|
29
|
+
export declare const useHolder: () => HolderContextType;
|
30
|
+
declare const _default: {
|
31
|
+
defaultState: HolderData;
|
32
|
+
};
|
33
|
+
export default _default;
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
interface InitData {
|
3
|
+
boardSetting?: any;
|
4
|
+
form_id?: number;
|
5
|
+
shop_id?: number;
|
6
|
+
shop?: any;
|
7
|
+
scheduleDisplayType?: 'calendarView' | 'textList';
|
8
|
+
}
|
9
|
+
interface InitContextType {
|
10
|
+
getBoardSetting: any;
|
11
|
+
initData: InitData;
|
12
|
+
resetInitPartData: () => void;
|
13
|
+
}
|
14
|
+
interface InitProviderProps {
|
15
|
+
children: React.ReactNode;
|
16
|
+
}
|
17
|
+
export declare const InitContext: React.Context<InitContextType | undefined>;
|
18
|
+
export declare const InitProvider: React.FC<InitProviderProps>;
|
19
|
+
/**
|
20
|
+
* 使用步骤管理的Hook
|
21
|
+
* @throws {Error} 如果在StepProvider外部使用会抛出错误
|
22
|
+
* @returns {StepContextType} 步骤管理上下文
|
23
|
+
*/
|
24
|
+
export declare const useInit: () => InitContextType;
|
25
|
+
export {};
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
interface ResourceData {
|
3
|
+
}
|
4
|
+
interface ResourceContextType {
|
5
|
+
getResourceList: {
|
6
|
+
run: (params: any) => void;
|
7
|
+
loading: boolean;
|
8
|
+
data?: any;
|
9
|
+
};
|
10
|
+
selectResource: (newResourceData: Partial<ResourceData>) => void;
|
11
|
+
}
|
12
|
+
interface ResourceProviderProps {
|
13
|
+
children: React.ReactNode;
|
14
|
+
}
|
15
|
+
export declare const ResourceContext: React.Context<ResourceContextType | undefined>;
|
16
|
+
export declare const ResourceProvider: React.FC<ResourceProviderProps>;
|
17
|
+
/**
|
18
|
+
* 使用步骤管理的Hook
|
19
|
+
* @throws {Error} 如果在StepProvider外部使用会抛出错误
|
20
|
+
* @returns {StepContextType} 步骤管理上下文
|
21
|
+
*/
|
22
|
+
export declare const useResource: () => ResourceContextType;
|
23
|
+
declare const _default: {
|
24
|
+
defaultState: ResourceData;
|
25
|
+
};
|
26
|
+
export default _default;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
export declare const getResourceListApi: (params: {
|
2
|
+
form_id: string;
|
3
|
+
shop_id: string;
|
4
|
+
form_data_status: string;
|
5
|
+
}) => Promise<any>;
|
6
|
+
/**
|
7
|
+
* @title: 获取特殊资源列表
|
8
|
+
* @Author: xiangfeng.xue
|
9
|
+
*/
|
10
|
+
export declare const getSpecialResourceListApi: (params: {
|
11
|
+
event_item_ids?: string | number[];
|
12
|
+
}) => Promise<any>;
|
@@ -0,0 +1,39 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
interface Step {
|
3
|
+
key: StepKey;
|
4
|
+
title: string;
|
5
|
+
description: string;
|
6
|
+
}
|
7
|
+
declare type StepKey = 'select-category' | 'select-event' | 'confirm-information';
|
8
|
+
interface StepData {
|
9
|
+
currentStep: StepKey;
|
10
|
+
isAutoOperate?: boolean;
|
11
|
+
}
|
12
|
+
interface StepContextType {
|
13
|
+
setStepData: (data: Partial<StepData>) => void;
|
14
|
+
currentStepData: Step;
|
15
|
+
nextStep: () => void;
|
16
|
+
prevStep: () => void;
|
17
|
+
closePage: () => void;
|
18
|
+
toFirstStep: () => void;
|
19
|
+
isLastStep: boolean;
|
20
|
+
isFirstStep: boolean;
|
21
|
+
isTwoStep: boolean;
|
22
|
+
changeAutoOperate: (newAutoOperate: boolean) => void;
|
23
|
+
}
|
24
|
+
interface StepProviderProps {
|
25
|
+
children: React.ReactNode;
|
26
|
+
}
|
27
|
+
export declare const steps: Step[];
|
28
|
+
export declare const StepContext: React.Context<StepContextType | undefined>;
|
29
|
+
export declare const StepProvider: React.FC<StepProviderProps>;
|
30
|
+
/**
|
31
|
+
* 使用步骤管理的Hook
|
32
|
+
* @throws {Error} 如果在StepProvider外部使用会抛出错误
|
33
|
+
* @returns {StepContextType} 步骤管理上下文
|
34
|
+
*/
|
35
|
+
export declare const useStep: () => StepContextType;
|
36
|
+
declare const _default: {
|
37
|
+
defaultState: StepData;
|
38
|
+
};
|
39
|
+
export default _default;
|
@@ -0,0 +1,35 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
interface SummaryData {
|
3
|
+
}
|
4
|
+
interface SummaryContextType {
|
5
|
+
subtotal: number | string;
|
6
|
+
total: number | string;
|
7
|
+
taxTitle?: string;
|
8
|
+
totalTaxFee?: string;
|
9
|
+
isPriceIncludeTax?: 0 | 1;
|
10
|
+
deposit?: {
|
11
|
+
total: string;
|
12
|
+
protocols: any[];
|
13
|
+
hasDeposit: boolean;
|
14
|
+
};
|
15
|
+
isAgreeDepositPolicy: boolean;
|
16
|
+
setIsAgreeDepositPolicy: (value: boolean) => void;
|
17
|
+
getDepositProtocol: (params: {
|
18
|
+
id: string;
|
19
|
+
}) => Promise<any>;
|
20
|
+
}
|
21
|
+
interface SummaryProviderProps {
|
22
|
+
children: React.ReactNode;
|
23
|
+
}
|
24
|
+
export declare const SummaryContext: React.Context<SummaryContextType | undefined>;
|
25
|
+
export declare const SummaryProvider: React.FC<SummaryProviderProps>;
|
26
|
+
/**
|
27
|
+
* 使用步骤管理的Hook
|
28
|
+
* @throws {Error} 如果在StepProvider外部使用会抛出错误
|
29
|
+
* @returns {StepContextType} 步骤管理上下文
|
30
|
+
*/
|
31
|
+
export declare const useSummary: () => SummaryContextType;
|
32
|
+
declare const _default: {
|
33
|
+
defaultState: SummaryData;
|
34
|
+
};
|
35
|
+
export default _default;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const getDepositProtocolApi: (id: string) => Promise<any>;
|
@@ -0,0 +1,51 @@
|
|
1
|
+
import Decimal from 'decimal.js';
|
2
|
+
interface CartItem {
|
3
|
+
price: number | string;
|
4
|
+
quantity?: number;
|
5
|
+
[k: string]: any;
|
6
|
+
}
|
7
|
+
interface PriceDetail {
|
8
|
+
subtotal: string;
|
9
|
+
total: string;
|
10
|
+
taxTitle?: string;
|
11
|
+
totalTaxFee?: string;
|
12
|
+
isPriceIncludeTax?: 0 | 1;
|
13
|
+
deposit?: {
|
14
|
+
total: string;
|
15
|
+
protocols: any[];
|
16
|
+
hasDeposit: boolean;
|
17
|
+
};
|
18
|
+
}
|
19
|
+
/**
|
20
|
+
* 计算商品小计(不含其他费用)
|
21
|
+
* @param items - 购物车商品数组
|
22
|
+
* @returns 商品总价字符串,保留2位小数
|
23
|
+
*/
|
24
|
+
export declare const calculateSubtotal: (items: CartItem[]) => string;
|
25
|
+
/**
|
26
|
+
* @title: 单个商品的税费
|
27
|
+
* @description:
|
28
|
+
* 单个商品的税费 = 商品销售单价(折扣后) * 税率 * is_charge_tax /( 1+ 税率 * is_price_include_tax)
|
29
|
+
* $taxFee = $price * $taxRate * $isChargeTax / (1 + $taxRate * $isPriceIncludeTax);
|
30
|
+
* @return {*}
|
31
|
+
* @Author: xiangfeng.xue
|
32
|
+
*/
|
33
|
+
export declare const calculateTaxFee: (shopInfo: any, items: CartItem[]) => Decimal | "0.00";
|
34
|
+
/**
|
35
|
+
* 计算所有价格明细
|
36
|
+
* @param items - 购物车商品数组
|
37
|
+
* @param options - 其他费用配置
|
38
|
+
* @returns 价格明细对象
|
39
|
+
*/
|
40
|
+
export declare const calculatePriceDetails: (shopInfo: any, items: CartItem[]) => PriceDetail;
|
41
|
+
/**
|
42
|
+
* @title: 计算定金
|
43
|
+
* @param items - 购物车商品数组
|
44
|
+
* @returns 定金字符串,保留2位小数
|
45
|
+
*/
|
46
|
+
export declare const calculateDeposit: (items: CartItem[]) => {
|
47
|
+
total: string;
|
48
|
+
protocols: any[];
|
49
|
+
hasDeposit: never;
|
50
|
+
} | undefined;
|
51
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const useCustomInit: () => {};
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { useSales } from '../../businessModel/SalesModel';
|
3
|
+
import { useStep } from './Step';
|
4
|
+
import { useCheckout } from './Checkout';
|
5
|
+
import { useSummary } from './Summary';
|
6
|
+
import { useCart } from './Cart';
|
7
|
+
import { useHolder } from './Holder';
|
8
|
+
import { useEvent } from './Event';
|
9
|
+
import { useEventDetail } from './Event/Detail';
|
10
|
+
import { useResource } from './Resource';
|
11
|
+
import { useCustomer } from './Customer';
|
12
|
+
import { useInit } from './Init';
|
13
|
+
declare const SalesPage: ({ config, children, }: {
|
14
|
+
children: React.ReactNode;
|
15
|
+
config?: {
|
16
|
+
useSessionStorage?: boolean | undefined;
|
17
|
+
} | undefined;
|
18
|
+
}) => JSX.Element;
|
19
|
+
export default SalesPage;
|
20
|
+
export { useCustomer, useInit, useSales, useStep, useResource, useEvent, useEventDetail, useHolder, useSummary, useCheckout, useCart, };
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const getIamgeFromMedia: (data: any, type?: 'findAll' | 'findOne') => any;
|
@@ -0,0 +1,56 @@
|
|
1
|
+
interface CheckLoginParams {
|
2
|
+
isLogin: boolean;
|
3
|
+
openLoginModal: (params: {
|
4
|
+
callback: (status: string) => void;
|
5
|
+
}) => void;
|
6
|
+
isFormSubject: boolean;
|
7
|
+
utils: any;
|
8
|
+
accountLists: any[];
|
9
|
+
appointmentBooking: any;
|
10
|
+
getHolders: () => void;
|
11
|
+
}
|
12
|
+
export declare const checkLogin: ({ isLogin, openLoginModal, isFormSubject, utils, accountLists, appointmentBooking, getHolders, }: CheckLoginParams) => Promise<boolean>;
|
13
|
+
interface CheckHolderParams {
|
14
|
+
isFormSubject: boolean;
|
15
|
+
checkAccount: (type: string) => boolean;
|
16
|
+
carts: any[];
|
17
|
+
}
|
18
|
+
export declare const checkHolder: ({ isFormSubject, checkAccount, carts }: CheckHolderParams) => false | any[];
|
19
|
+
interface CheckResourceParams {
|
20
|
+
carts: any[];
|
21
|
+
resources: any[];
|
22
|
+
}
|
23
|
+
/**
|
24
|
+
* @title: 检测资源数据
|
25
|
+
* @description:
|
26
|
+
* @param {CheckResourceParams} param1
|
27
|
+
* @return {*}
|
28
|
+
* @Author: WangHan
|
29
|
+
* @Date: 2025-04-29 18:02
|
30
|
+
*/
|
31
|
+
export declare const checkResource: ({ carts, resources }: CheckResourceParams) => false | any[];
|
32
|
+
interface CheckResourceParams {
|
33
|
+
carts: any[];
|
34
|
+
}
|
35
|
+
export declare type StepKey = 'select-resource' | 'fill-form' | 'select-time' | 'confirm-information' | 'select-service' | 'select-date' | 'select-guest';
|
36
|
+
interface AddHolderParams {
|
37
|
+
res: any;
|
38
|
+
bookingSubject: any;
|
39
|
+
accountLists: any[];
|
40
|
+
cartItem: any;
|
41
|
+
getHolders: () => void;
|
42
|
+
appointmentBooking: any;
|
43
|
+
}
|
44
|
+
/**
|
45
|
+
* @title: 添加holder
|
46
|
+
* @description:
|
47
|
+
* @param {any} res
|
48
|
+
* @param {any} bookingSubject
|
49
|
+
* @param {any} accountLists
|
50
|
+
* @param {any} e
|
51
|
+
* @return {*}
|
52
|
+
* @Author: WangHan
|
53
|
+
* @Date: 2025-05-10 18:25
|
54
|
+
*/
|
55
|
+
export declare const handleAddHolder: ({ res, bookingSubject, accountLists, cartItem, getHolders, appointmentBooking }: AddHolderParams) => Promise<any>;
|
56
|
+
export {};
|
@@ -84,7 +84,7 @@ var Layout = () => {
|
|
84
84
|
const context = (0, import_useEngineContext.default)();
|
85
85
|
const { pubsub } = context.appHelper.utils;
|
86
86
|
(0, import_react.useEffect)(() => {
|
87
|
-
const handleLoginSuccess = async () => {
|
87
|
+
const handleLoginSuccess = async (res) => {
|
88
88
|
var _a2;
|
89
89
|
if (!isFormSubject) {
|
90
90
|
const user = JSON.parse(((_a2 = utils == null ? void 0 : utils.storage) == null ? void 0 : _a2.get("customer")) || "{}");
|
@@ -0,0 +1,63 @@
|
|
1
|
+
/**
|
2
|
+
* @title: 获取包括今天的后七天日期
|
3
|
+
* @description:
|
4
|
+
* @param {*}
|
5
|
+
* @return {*}
|
6
|
+
* @Author: 严文强
|
7
|
+
* @Date: 2024-02-01 11:00
|
8
|
+
*/
|
9
|
+
export declare const getNextSevenDaysList: (defaultDay: string) => string[];
|
10
|
+
/**
|
11
|
+
* @title: 将年月日信息只展示为天
|
12
|
+
* @description: 如果为今天 则返回ToDay
|
13
|
+
* @param {*}
|
14
|
+
* @return {*}
|
15
|
+
* @Author: 严文强
|
16
|
+
* @Date: 2024-02-01 11:00
|
17
|
+
*/
|
18
|
+
export declare const ShowDayOnly: (date: string) => string;
|
19
|
+
/**
|
20
|
+
* @title: 日历星期多语言
|
21
|
+
* @description:
|
22
|
+
* @param {*}
|
23
|
+
* @return {*}
|
24
|
+
* @Author: 严文强
|
25
|
+
* @Date: 2024-02-01 18:42
|
26
|
+
*/
|
27
|
+
export declare const weekListText: string[];
|
28
|
+
/**
|
29
|
+
* @title: 不同状态颜色值
|
30
|
+
* @description:
|
31
|
+
* @param {*}
|
32
|
+
* @return {*}
|
33
|
+
* @Author: xiangxiang.shao
|
34
|
+
* @Date: 2024-02-19 11:35
|
35
|
+
*/
|
36
|
+
export declare const statusColor: {
|
37
|
+
call_to_book: string;
|
38
|
+
lots_of_space: string;
|
39
|
+
filling_up_fast: string;
|
40
|
+
sold_out: string;
|
41
|
+
};
|
42
|
+
/**
|
43
|
+
* @title: 根据预约量数据判断当前状态
|
44
|
+
* @description:
|
45
|
+
* @param {*}
|
46
|
+
* @return {*}
|
47
|
+
* @Author: xiangxiang.shao
|
48
|
+
* @Date: 2024-02-19 11:35
|
49
|
+
*/
|
50
|
+
export declare const getStatus: (dateLimit: any, currentDate: string, cutTime: any) => {
|
51
|
+
status: string;
|
52
|
+
disabled: boolean;
|
53
|
+
};
|
54
|
+
/**
|
55
|
+
* @title: 根据当前日期以设定判断当前是否是call_to_book状态
|
56
|
+
* @description:
|
57
|
+
* @param {*}
|
58
|
+
* @return {*}
|
59
|
+
* @Author: xiangxiang.shao
|
60
|
+
* @Date: 2024-02-21 10:10
|
61
|
+
*/
|
62
|
+
export declare const getCallToBookStatus: (currentDate: string, dateLimitData: any, cutTime: any) => boolean;
|
63
|
+
export declare const localeTypes: any;
|
@@ -133,7 +133,8 @@ var VoucherCard = (props) => {
|
|
133
133
|
);
|
134
134
|
}, []);
|
135
135
|
const onScanCode = async () => {
|
136
|
-
const
|
136
|
+
const customerId = currentUser.id;
|
137
|
+
const val = await shopDiscount.scanCode(code, customerId);
|
137
138
|
if (val == null ? void 0 : val.isAvailable) {
|
138
139
|
batchUpdateCart(val.productList);
|
139
140
|
setCode("");
|
@@ -0,0 +1,35 @@
|
|
1
|
+
import { ReactNode } from 'react';
|
2
|
+
import { TasksManager } from '../../utils/tasks';
|
3
|
+
interface AppointmentBookingContextType {
|
4
|
+
appointmentBooking: any;
|
5
|
+
times: any[];
|
6
|
+
resources: any[];
|
7
|
+
setTimes: (times: any[]) => void;
|
8
|
+
setResources: (lists: any[]) => void;
|
9
|
+
carts: any[];
|
10
|
+
summary: any;
|
11
|
+
setCarts: (val: any[]) => void;
|
12
|
+
setSummary: (val: any) => void;
|
13
|
+
currentStep: any;
|
14
|
+
setCurrentStep: (val: any) => void;
|
15
|
+
appHelper?: any;
|
16
|
+
symbolic?: any;
|
17
|
+
resourceOtherParams?: any;
|
18
|
+
setResourceOtherParams: (val: any) => void;
|
19
|
+
selectedTime: any;
|
20
|
+
setSelectedTime: (val: any) => void;
|
21
|
+
isAgreeDepositPolicy: boolean;
|
22
|
+
setIsAgreeDepositPolicy: (val: boolean) => void;
|
23
|
+
isLastStep: boolean;
|
24
|
+
tasksManager: TasksManager;
|
25
|
+
policyParams: any;
|
26
|
+
setPolicyParams: (val: any) => void;
|
27
|
+
openPolicy: (content: any, callback?: any) => void;
|
28
|
+
closePolicy: (val?: boolean) => void;
|
29
|
+
[key: string]: any;
|
30
|
+
}
|
31
|
+
export declare const AppointmentBookingProvider: ({ children, }: {
|
32
|
+
children: ReactNode;
|
33
|
+
}) => JSX.Element;
|
34
|
+
export declare const useAppointmentBookingContext: () => AppointmentBookingContextType | undefined;
|
35
|
+
export {};
|
@@ -266,8 +266,10 @@ var useAppointmentBookingStep = () => {
|
|
266
266
|
const checkLogin = async () => {
|
267
267
|
if (!isLogin) {
|
268
268
|
const { pubsub } = utils;
|
269
|
-
pubsub.once("pisell1.login.success", () => {
|
270
|
-
|
269
|
+
pubsub.once("pisell1.login.success", (res) => {
|
270
|
+
if (res === "success") {
|
271
|
+
checkHolder();
|
272
|
+
}
|
271
273
|
});
|
272
274
|
return openLoginModal({
|
273
275
|
callback: (status) => {
|