@pisell/private-materials 3.3.50 → 3.3.53
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 +7 -7
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +6 -6
- 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/index.d.ts +53 -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 +23 -0
- package/es/components/Sales/Checkout/index.d.ts +33 -0
- package/es/components/Sales/Checkout/serve.d.ts +2 -0
- package/es/components/Sales/Checkout/utils.d.ts +35 -0
- package/es/components/Sales/Customer/index.d.ts +24 -0
- package/es/components/Sales/Event/Detail.d.ts +29 -0
- package/es/components/Sales/Event/index.d.ts +30 -0
- package/es/components/Sales/Event/serve.d.ts +39 -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 +5 -0
- package/es/components/Sales/Step/index.d.ts +39 -0
- package/es/components/Sales/Summary/index.d.ts +25 -0
- package/es/components/Sales/Summary/serve.d.ts +0 -0
- package/es/components/Sales/Summary/utils.d.ts +36 -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/assets/resource.svg +1 -0
- package/es/components/appointmentBooking/components/Cart/ContinueButton/index.d.ts +7 -0
- package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +4 -0
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Cart/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Cart/utils.d.ts +56 -0
- package/es/components/appointmentBooking/components/ConfirmInformation/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/ConfirmInformation/utils.d.ts +12 -0
- package/es/components/appointmentBooking/components/Content/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Date/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Date/state.d.ts +63 -0
- package/es/components/appointmentBooking/components/Deposit/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Footer/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Form/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Form/utils.d.ts +8 -0
- package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Guest/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Header/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Resource/index.d.ts +7 -0
- package/es/components/appointmentBooking/components/Resource/index.js +44 -5
- package/es/components/appointmentBooking/components/Resource/utils.d.ts +5 -0
- package/es/components/appointmentBooking/components/Services/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/TimeSlicing/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Voucher/index.d.ts +5 -0
- package/es/components/appointmentBooking/context.d.ts +35 -0
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +4 -0
- package/es/components/appointmentBooking/deposit/index.d.ts +4 -0
- package/es/components/appointmentBooking/hooks.d.ts +106 -0
- package/es/components/appointmentBooking/hooks.js +218 -177
- package/es/components/appointmentBooking/index.d.ts +3 -0
- package/es/components/appointmentBooking/locales.d.ts +357 -0
- package/es/components/appointmentBooking/locales.js +9 -0
- package/es/components/appointmentBooking/mock.d.ts +627 -0
- package/es/components/appointmentBooking/status.d.ts +21 -0
- package/es/components/appointmentBooking/type.d.ts +17 -0
- package/es/components/appointmentBooking/utils.d.ts +203 -0
- package/es/components/booking/addons/index.d.ts +17 -0
- package/es/components/booking/components/TabProduct/index.d.ts +1 -0
- package/es/components/booking/components/TabProduct/productItem/index.js +14 -2
- 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/customSelect/index.d.ts +38 -0
- package/es/components/booking/components/drawer/index.js +4 -2
- package/es/components/booking/components/emptyBooking/index.d.ts +1 -0
- package/es/components/booking/components/footer/AppointmentProductModal/index.d.ts +3 -0
- package/es/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
- package/es/components/booking/components/footer/amount.d.ts +24 -0
- package/es/components/booking/components/footer/utils.d.ts +40 -0
- package/es/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
- package/es/components/booking/components/voucher/index.d.ts +3 -0
- package/es/components/booking/components/voucher/index.js +25 -17
- package/es/components/booking/deposit/DepositItem/index.d.ts +25 -0
- package/es/components/booking/deposit/index.d.ts +1 -0
- package/es/components/booking/forms/footer.d.ts +7 -0
- package/es/components/booking/forms/sendModal/index.d.ts +27 -0
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +10 -0
- package/es/components/booking/forms/single/index.d.ts +11 -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/useCreateBookingPageHeader.d.ts +6 -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 +6 -0
- package/es/components/booking/info/client/index.js +2 -1
- package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/es/components/booking/info/clientVariant/utils.d.ts +1 -0
- package/es/components/booking/info/dateRange/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 +9 -0
- package/es/components/booking/info/index.d.ts +3 -0
- package/es/components/booking/info/model.d.ts +14 -0
- package/es/components/booking/info/pet/ChangePetModal/index.d.ts +4 -0
- package/es/components/booking/info/pet/index.js +3 -0
- package/es/components/booking/info/service/addService/index.d.ts +11 -0
- package/es/components/booking/info/service/editService/EditTabs/index.d.ts +3 -0
- package/es/components/booking/info/service/index.d.ts +4 -0
- package/es/components/booking/info/service/like/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/index.d.ts +6 -0
- package/es/components/booking/info/service2/status.d.ts +31 -0
- package/es/components/booking/info/service2/utils.d.ts +247 -0
- package/es/components/booking/info/service2/utils.js +27 -27
- package/es/components/booking/info2/index.js +3 -3
- package/es/components/booking/info2/service/addService/index.d.ts +11 -0
- package/es/components/booking/info2/service/addService/utils.d.ts +3 -3
- package/es/components/booking/info2/service/addService/utils.js +48 -52
- package/es/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.d.ts +7 -0
- package/es/components/booking/info2/service/editService/Resources/index.d.ts +4 -0
- package/es/components/booking/info2/service/editService/index.d.ts +7 -0
- package/es/components/booking/info2/service/editService/index.js +1 -0
- package/es/components/booking/info2/service/editService/utils.d.ts +13 -0
- package/es/components/booking/info2/service/index.d.ts +4 -0
- package/es/components/booking/info2/utils.d.ts +4 -0
- package/es/components/booking/locales.d.ts +813 -0
- package/es/components/booking/materiels/contacts/index.d.ts +16 -0
- package/es/components/booking/materiels/duration/index.d.ts +1 -0
- package/es/components/booking/materiels/holder/index.d.ts +6 -0
- package/es/components/booking/materiels/startTime/index.d.ts +1 -0
- package/es/components/booking/model.d.ts +115 -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/booking/notes/addNote/index.d.ts +4 -0
- package/es/components/booking/payments/index.d.ts +9 -0
- package/es/components/booking/utils.d.ts +173 -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 +47 -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 +1 -0
- 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 +4 -0
- package/es/components/eftposPay/component/fail/index.d.ts +4 -0
- package/es/components/eftposPay/component/fail/network.d.ts +1 -0
- package/es/components/eftposPay/component/fail/unknow.d.ts +10 -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/device.d.ts +1 -0
- package/es/components/eftposPay/hooks.d.ts +35 -0
- package/es/components/eftposPay/index.d.ts +5 -0
- package/es/components/eftposPay/locales.d.ts +330 -0
- package/es/components/eftposPay/pay.d.ts +21 -0
- package/es/components/eftposPay/payo/config.d.ts +13 -0
- package/es/components/eftposPay/payo/hooks.d.ts +10 -0
- package/es/components/eftposPay/store/index.d.ts +4 -4
- package/es/components/eftposPay/tip.d.ts +1 -0
- package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/es/components/eftposPay/tyro/index.d.ts +9 -0
- package/es/components/eftposPay/windcave/helper.d.ts +23 -0
- package/es/components/eftposPay/windcave/receiptAction.d.ts +1 -0
- package/es/components/eftposPay/windcave/windcave.d.ts +7 -0
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +4 -0
- package/es/components/eventBooking/components/OpenCard/index.d.ts +4 -0
- package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +4 -0
- package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +4 -0
- package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +4 -0
- package/es/components/eventBooking/components/Provider/Cart/index.d.ts +4 -0
- package/es/components/eventBooking/components/Provider/Content/index.d.ts +4 -0
- package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +4 -0
- package/es/components/eventBooking/components/Provider/Event/index.d.ts +4 -0
- package/es/components/eventBooking/components/Provider/Footer/index.d.ts +4 -0
- package/es/components/eventBooking/components/Provider/Header/index.d.ts +4 -0
- package/es/components/eventBooking/components/Provider/Information/index.d.ts +4 -0
- package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +4 -0
- package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +4 -0
- package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +3 -0
- package/es/components/eventBooking/components/Provider/Resource/index.d.ts +4 -0
- package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +3 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +4 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +11 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +4 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +13 -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/index.d.ts +4 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.d.ts +63 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.d.ts +4 -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 +4 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.js +23 -4
- package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +3 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +3 -0
- package/es/components/eventBooking/components/bookingDetailModal/index.d.ts +7 -0
- package/es/components/eventBooking/components/bookingServiceList/index.d.ts +17 -0
- package/es/components/eventBooking/components/eventCard/index.d.ts +14 -0
- package/es/components/eventBooking/components/productCard/index.d.ts +16 -0
- package/es/components/eventBooking/components/progressBar/index.d.ts +16 -0
- package/es/components/eventBooking/components/resourceDisplay/index.d.ts +23 -0
- package/es/components/eventBooking/components/resourceUsability/index.d.ts +12 -0
- package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +10 -0
- package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +13 -0
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +4 -0
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimes/index.d.ts +9 -0
- package/es/components/eventBooking/components/scheduleCalendar/index.d.ts +14 -0
- package/es/components/eventBooking/components/selectHolder/index.d.ts +22 -0
- package/es/components/eventBooking/components/timeResourceSelector/index.d.ts +20 -0
- package/es/components/eventBooking/index.d.ts +4 -0
- package/es/components/eventBooking/locales.d.ts +222 -0
- package/es/components/eventBooking/mock.d.ts +627 -0
- package/es/components/eventBooking/status.d.ts +21 -0
- package/es/components/eventBooking/type.d.ts +17 -0
- package/es/components/eventBooking/utils.d.ts +45 -0
- package/es/components/index.d.ts +18 -0
- package/es/components/login/index.d.ts +9 -0
- package/es/components/login/locales.d.ts +24 -0
- package/es/components/pay/toC/PaymentList/index.d.ts +19 -0
- package/es/components/pay/toC/PaymentList/serve.d.ts +28 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +10 -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/index.d.ts +10 -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/components/SetupForm/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +18 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +25 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +113 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +3 -0
- package/es/components/pay/toC/PaymentMethods/index.d.ts +9 -0
- package/es/components/pay/toC/WalletPassBlock/components/WalletAvailable/index.d.ts +16 -0
- package/es/components/pay/toC/WalletPassBlock/components/WalletBestValueFound/index.d.ts +17 -0
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +8 -0
- package/es/components/pay/toC/WalletPassBlock/index.d.ts +21 -0
- package/es/components/pay/toC/index.d.ts +3 -0
- package/es/components/pay/toC/locales.d.ts +286 -0
- package/es/components/pay/toC/model.d.ts +39 -0
- package/es/components/pay/toC/serve.d.ts +57 -0
- package/es/components/pay/toC/utils.d.ts +51 -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 +16 -0
- package/es/components/productExtension/fields/Forms/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -1
- package/es/components/productExtension/fields/SelectProducts/ProductItem/index.js +18 -6
- package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
- package/es/components/productExtension/index.d.ts +7 -0
- package/es/components/productSelect/components/TabProduct/index.d.ts +2 -0
- package/es/components/productSelect/components/TabProduct/index.js +28 -10
- package/es/components/productSelect/components/TabProduct/tabs/index.d.ts +21 -0
- package/es/components/productSelect/components/TabProduct/tabs/index.js +243 -0
- package/es/components/productSelect/components/TabProduct/tabs/index.less +126 -0
- package/es/components/productSelect/components/gridLayout/index.d.ts +9 -0
- package/es/components/productSelect/components/pisellPriceText/index.d.ts +11 -0
- package/es/components/productSelect/components/pisellPriceText/index.js +43 -0
- package/es/components/productSelect/components/productGroup/index.d.ts +38 -0
- package/es/components/productSelect/components/productGroup/index.js +20 -7
- package/es/components/productSelect/components/productGroup/index.less +14 -1
- package/es/components/productSelect/hooks/useToken.d.ts +18 -0
- package/es/components/productSelect/index.d.ts +24 -0
- package/es/components/productSelect/index.less +1 -2
- 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 +10 -0
- package/es/components/ruleSetting/ruleBorder/index.d.ts +1 -0
- package/es/components/ruleSetting/server.d.ts +4 -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/index.d.ts +3 -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/ProductDetail/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/index.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/schedules/schedules/utils.d.ts +72 -0
- package/es/components/shoppingCart/Provider.d.ts +3 -0
- package/es/components/shoppingCart/components/Cart/Product.d.ts +4 -0
- package/es/components/shoppingCart/components/Cart/index.d.ts +4 -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/components/SelectHolderModal/index.d.ts +4 -0
- package/es/components/shoppingCart/hooks/useAddService.d.ts +3 -0
- package/es/components/shoppingCart/hooks/useClearCart.d.ts +3 -0
- package/es/components/shoppingCart/hooks/useContext.d.ts +1 -0
- package/es/components/shoppingCart/index.d.ts +4 -0
- package/es/components/shoppingCart/locales.d.ts +33 -0
- package/es/components/shoppingCart/mock.d.ts +40 -0
- package/es/components/shoppingCart/status.d.ts +2 -0
- package/es/components/shoppingCart/type.d.ts +48 -0
- package/es/components/shoppingCart/utils.d.ts +63 -0
- package/es/components/subTotal/index.d.ts +22 -0
- package/es/components/subTotal/locales.d.ts +42 -0
- package/es/components/taxSelect/index.d.ts +12 -0
- package/es/components/ticketBooking/components/addServiceVariant/addService.js +16 -10
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +7 -0
- package/es/components/ticketBooking/components/addServiceVariant/index.less +10 -0
- package/es/components/ticketBooking/components/menuBar/index.d.ts +4 -0
- package/es/components/ticketBooking/components/notAvailable/index.d.ts +3 -0
- package/es/components/ticketBooking/components/ticketBooking/index.js +3 -1
- package/es/components/ticketBooking/components/timeBar/index.d.ts +13 -0
- package/es/components/ticketBooking/data.d.ts +58 -0
- package/es/components/ticketBooking/hooks/useNetworkStatus.d.ts +11 -0
- package/es/components/ticketBooking/index.d.ts +7 -0
- package/es/components/ticketBooking/index.js +2 -1
- package/es/components/ticketBooking/locales.d.ts +153 -0
- package/es/components/ticketBooking/locales.js +12 -3
- package/es/components/ticketBooking/miniRedux.d.ts +22 -0
- package/es/components/ticketBooking/serve.d.ts +282 -0
- package/es/components/ticketBooking/utils/index.d.ts +19 -0
- package/es/components/ticketBooking/utils/index.js +35 -3
- package/es/components/wallet/Detail/index.d.ts +42 -0
- package/es/components/wallet/Detail/locales.d.ts +96 -0
- package/es/components/wallet/Detail/model.d.ts +13 -0
- package/es/components/wallet/Detail/serve.d.ts +39 -0
- package/es/components/wallet/DetailContext.d.ts +25 -0
- package/es/components/wallet/DiscountCard/index.d.ts +3 -0
- package/es/components/wallet/DiscountCard/model.d.ts +14 -0
- package/es/components/wallet/PointCard/index.d.ts +3 -0
- package/es/components/wallet/PointCard/model.d.ts +13 -0
- package/es/components/wallet/RechargeableCard/index.d.ts +13 -0
- package/es/components/wallet/RechargeableCard/model.d.ts +29 -0
- package/es/components/wallet/RechargeableCard/serve.d.ts +23 -0
- package/es/components/wallet/Voucher/index.d.ts +12 -0
- package/es/components/wallet/Voucher/locales.d.ts +21 -0
- package/es/components/wallet/Voucher/model.d.ts +13 -0
- package/es/components/wallet/components/FooterButtons/index.d.ts +18 -0
- package/es/components/wallet/components/WalletBar/index.d.ts +8 -0
- package/es/components/wallet/components/WalletCard.d.ts +11 -0
- package/es/components/wallet/components/index.d.ts +2 -0
- package/es/components/wallet/hooks/useWalletCard.d.ts +34 -0
- package/es/components/wallet/index.d.ts +10 -0
- package/es/components/wallet/locales.d.ts +132 -0
- package/es/components/wallet/model.d.ts +37 -0
- package/es/components/wallet/serve.d.ts +143 -0
- package/es/components/wallet/utils/formatUtils.d.ts +36 -0
- package/es/components/walletList/index.d.ts +28 -0
- package/es/components/walletList/model.d.ts +6 -0
- package/es/components/walletList/serve.d.ts +12 -0
- package/es/components/walletList/types/index.d.ts +194 -0
- package/es/components/workSpaceList/components/AppearanceEdit/IconPanel.d.ts +11 -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/EditableString/index.d.ts +21 -0
- package/es/components/workSpaceList/components/Modal/index.d.ts +1 -0
- package/es/components/workSpaceList/components/SearchBar/index.d.ts +17 -0
- package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +4 -0
- package/es/components/workSpaceList/components/Sort/index.d.ts +7 -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/index.d.ts +45 -0
- package/es/utils/date.d.ts +11 -0
- package/es/utils/index.d.ts +23 -0
- package/es/utils/locales.d.ts +1 -0
- package/es/utils/tasks/index.d.ts +16 -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/index.d.ts +53 -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 +23 -0
- package/lib/components/Sales/Checkout/index.d.ts +33 -0
- package/lib/components/Sales/Checkout/serve.d.ts +2 -0
- package/lib/components/Sales/Checkout/utils.d.ts +35 -0
- package/lib/components/Sales/Customer/index.d.ts +24 -0
- package/lib/components/Sales/Event/Detail.d.ts +29 -0
- package/lib/components/Sales/Event/index.d.ts +30 -0
- package/lib/components/Sales/Event/serve.d.ts +39 -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 +5 -0
- package/lib/components/Sales/Step/index.d.ts +39 -0
- package/lib/components/Sales/Summary/index.d.ts +25 -0
- package/lib/components/Sales/Summary/serve.d.ts +0 -0
- package/lib/components/Sales/Summary/utils.d.ts +36 -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/assets/resource.svg +1 -0
- package/lib/components/appointmentBooking/components/Cart/ContinueButton/index.d.ts +7 -0
- package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Cart/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Cart/utils.d.ts +56 -0
- package/lib/components/appointmentBooking/components/ConfirmInformation/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/ConfirmInformation/utils.d.ts +12 -0
- package/lib/components/appointmentBooking/components/Content/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Date/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Date/state.d.ts +63 -0
- package/lib/components/appointmentBooking/components/Deposit/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Form/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Form/utils.d.ts +8 -0
- package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Guest/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Header/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Resource/index.d.ts +7 -0
- package/lib/components/appointmentBooking/components/Resource/index.js +44 -5
- package/lib/components/appointmentBooking/components/Resource/utils.d.ts +5 -0
- package/lib/components/appointmentBooking/components/Services/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/TimeSlicing/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Voucher/index.d.ts +5 -0
- package/lib/components/appointmentBooking/context.d.ts +35 -0
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +4 -0
- package/lib/components/appointmentBooking/deposit/index.d.ts +4 -0
- package/lib/components/appointmentBooking/hooks.d.ts +106 -0
- package/lib/components/appointmentBooking/hooks.js +12 -3
- package/lib/components/appointmentBooking/index.d.ts +3 -0
- package/lib/components/appointmentBooking/locales.d.ts +357 -0
- package/lib/components/appointmentBooking/locales.js +3 -0
- package/lib/components/appointmentBooking/mock.d.ts +627 -0
- package/lib/components/appointmentBooking/status.d.ts +21 -0
- package/lib/components/appointmentBooking/type.d.ts +17 -0
- package/lib/components/appointmentBooking/utils.d.ts +203 -0
- package/lib/components/booking/addons/index.d.ts +17 -0
- package/lib/components/booking/components/TabProduct/index.d.ts +1 -0
- package/lib/components/booking/components/TabProduct/productItem/index.js +8 -1
- 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/customSelect/index.d.ts +38 -0
- package/lib/components/booking/components/drawer/index.js +2 -2
- package/lib/components/booking/components/emptyBooking/index.d.ts +1 -0
- package/lib/components/booking/components/footer/AppointmentProductModal/index.d.ts +3 -0
- package/lib/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
- package/lib/components/booking/components/footer/amount.d.ts +24 -0
- package/lib/components/booking/components/footer/utils.d.ts +40 -0
- package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
- package/lib/components/booking/components/voucher/index.d.ts +3 -0
- package/lib/components/booking/components/voucher/index.js +31 -27
- package/lib/components/booking/deposit/DepositItem/index.d.ts +25 -0
- package/lib/components/booking/deposit/index.d.ts +1 -0
- package/lib/components/booking/forms/footer.d.ts +7 -0
- package/lib/components/booking/forms/sendModal/index.d.ts +27 -0
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +10 -0
- package/lib/components/booking/forms/single/index.d.ts +11 -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/useCreateBookingPageHeader.d.ts +6 -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 +6 -0
- package/lib/components/booking/info/client/index.js +2 -1
- package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/lib/components/booking/info/clientVariant/utils.d.ts +1 -0
- package/lib/components/booking/info/dateRange/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 +9 -0
- package/lib/components/booking/info/index.d.ts +3 -0
- package/lib/components/booking/info/model.d.ts +14 -0
- package/lib/components/booking/info/pet/ChangePetModal/index.d.ts +4 -0
- package/lib/components/booking/info/pet/index.js +3 -0
- package/lib/components/booking/info/service/addService/index.d.ts +11 -0
- package/lib/components/booking/info/service/editService/EditTabs/index.d.ts +3 -0
- package/lib/components/booking/info/service/index.d.ts +4 -0
- package/lib/components/booking/info/service/like/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/index.d.ts +6 -0
- package/lib/components/booking/info/service2/status.d.ts +31 -0
- package/lib/components/booking/info/service2/utils.d.ts +247 -0
- package/lib/components/booking/info/service2/utils.js +2 -2
- package/lib/components/booking/info2/index.js +7 -4
- package/lib/components/booking/info2/service/addService/index.d.ts +11 -0
- package/lib/components/booking/info2/service/addService/utils.d.ts +3 -3
- package/lib/components/booking/info2/service/addService/utils.js +20 -13
- package/lib/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.d.ts +7 -0
- package/lib/components/booking/info2/service/editService/Resources/index.d.ts +4 -0
- package/lib/components/booking/info2/service/editService/index.d.ts +7 -0
- package/lib/components/booking/info2/service/editService/index.js +1 -0
- package/lib/components/booking/info2/service/editService/utils.d.ts +13 -0
- package/lib/components/booking/info2/service/index.d.ts +4 -0
- package/lib/components/booking/info2/utils.d.ts +4 -0
- package/lib/components/booking/locales.d.ts +813 -0
- package/lib/components/booking/materiels/contacts/index.d.ts +16 -0
- package/lib/components/booking/materiels/duration/index.d.ts +1 -0
- package/lib/components/booking/materiels/holder/index.d.ts +6 -0
- package/lib/components/booking/materiels/startTime/index.d.ts +1 -0
- package/lib/components/booking/model.d.ts +115 -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/booking/notes/addNote/index.d.ts +4 -0
- package/lib/components/booking/payments/index.d.ts +9 -0
- package/lib/components/booking/utils.d.ts +173 -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 +47 -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 +1 -0
- 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 +4 -0
- package/lib/components/eftposPay/component/fail/index.d.ts +4 -0
- package/lib/components/eftposPay/component/fail/network.d.ts +1 -0
- package/lib/components/eftposPay/component/fail/unknow.d.ts +10 -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/device.d.ts +1 -0
- package/lib/components/eftposPay/hooks.d.ts +35 -0
- package/lib/components/eftposPay/index.d.ts +5 -0
- package/lib/components/eftposPay/locales.d.ts +330 -0
- package/lib/components/eftposPay/pay.d.ts +21 -0
- package/lib/components/eftposPay/payo/config.d.ts +13 -0
- package/lib/components/eftposPay/payo/hooks.d.ts +10 -0
- package/lib/components/eftposPay/store/index.d.ts +4 -4
- package/lib/components/eftposPay/tip.d.ts +1 -0
- package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/lib/components/eftposPay/tyro/index.d.ts +9 -0
- package/lib/components/eftposPay/windcave/helper.d.ts +23 -0
- package/lib/components/eftposPay/windcave/receiptAction.d.ts +1 -0
- package/lib/components/eftposPay/windcave/windcave.d.ts +7 -0
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +4 -0
- package/lib/components/eventBooking/components/OpenCard/index.d.ts +4 -0
- package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +4 -0
- package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +4 -0
- package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +4 -0
- package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +4 -0
- package/lib/components/eventBooking/components/Provider/Content/index.d.ts +4 -0
- package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +4 -0
- package/lib/components/eventBooking/components/Provider/Event/index.d.ts +4 -0
- package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +4 -0
- package/lib/components/eventBooking/components/Provider/Header/index.d.ts +4 -0
- package/lib/components/eventBooking/components/Provider/Information/index.d.ts +4 -0
- package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +4 -0
- package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +4 -0
- package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +3 -0
- package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +4 -0
- package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +3 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +4 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +11 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +4 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +13 -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/index.d.ts +4 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.d.ts +63 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.d.ts +4 -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 +4 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.js +18 -8
- package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +3 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +3 -0
- package/lib/components/eventBooking/components/bookingDetailModal/index.d.ts +7 -0
- package/lib/components/eventBooking/components/bookingServiceList/index.d.ts +17 -0
- package/lib/components/eventBooking/components/eventCard/index.d.ts +14 -0
- package/lib/components/eventBooking/components/productCard/index.d.ts +16 -0
- package/lib/components/eventBooking/components/progressBar/index.d.ts +16 -0
- package/lib/components/eventBooking/components/resourceDisplay/index.d.ts +23 -0
- package/lib/components/eventBooking/components/resourceUsability/index.d.ts +12 -0
- package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +10 -0
- package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +13 -0
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +4 -0
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimes/index.d.ts +9 -0
- package/lib/components/eventBooking/components/scheduleCalendar/index.d.ts +14 -0
- package/lib/components/eventBooking/components/selectHolder/index.d.ts +22 -0
- package/lib/components/eventBooking/components/timeResourceSelector/index.d.ts +20 -0
- package/lib/components/eventBooking/index.d.ts +4 -0
- package/lib/components/eventBooking/locales.d.ts +222 -0
- package/lib/components/eventBooking/mock.d.ts +627 -0
- package/lib/components/eventBooking/status.d.ts +21 -0
- package/lib/components/eventBooking/type.d.ts +17 -0
- package/lib/components/eventBooking/utils.d.ts +45 -0
- package/lib/components/index.d.ts +18 -0
- package/lib/components/login/index.d.ts +9 -0
- package/lib/components/login/locales.d.ts +24 -0
- package/lib/components/pay/toC/PaymentList/index.d.ts +19 -0
- package/lib/components/pay/toC/PaymentList/serve.d.ts +28 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +10 -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/index.d.ts +10 -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/components/SetupForm/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +18 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +25 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +113 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +3 -0
- package/lib/components/pay/toC/PaymentMethods/index.d.ts +9 -0
- package/lib/components/pay/toC/WalletPassBlock/components/WalletAvailable/index.d.ts +16 -0
- package/lib/components/pay/toC/WalletPassBlock/components/WalletBestValueFound/index.d.ts +17 -0
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +8 -0
- package/lib/components/pay/toC/WalletPassBlock/index.d.ts +21 -0
- package/lib/components/pay/toC/index.d.ts +3 -0
- package/lib/components/pay/toC/locales.d.ts +286 -0
- package/lib/components/pay/toC/model.d.ts +39 -0
- package/lib/components/pay/toC/serve.d.ts +57 -0
- package/lib/components/pay/toC/utils.d.ts +51 -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 +16 -0
- package/lib/components/productExtension/fields/Forms/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -1
- package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.js +8 -1
- package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
- package/lib/components/productExtension/index.d.ts +7 -0
- package/lib/components/productSelect/components/TabProduct/index.d.ts +2 -0
- package/lib/components/productSelect/components/TabProduct/index.js +19 -6
- package/lib/components/productSelect/components/TabProduct/tabs/index.d.ts +21 -0
- package/lib/components/productSelect/components/TabProduct/tabs/index.js +202 -0
- package/lib/components/productSelect/components/TabProduct/tabs/index.less +126 -0
- package/lib/components/productSelect/components/gridLayout/index.d.ts +9 -0
- package/lib/components/productSelect/components/pisellPriceText/index.d.ts +11 -0
- package/lib/components/productSelect/components/pisellPriceText/index.js +72 -0
- package/lib/components/productSelect/components/productGroup/index.d.ts +38 -0
- package/lib/components/productSelect/components/productGroup/index.js +24 -4
- package/lib/components/productSelect/components/productGroup/index.less +14 -1
- package/lib/components/productSelect/hooks/useToken.d.ts +18 -0
- package/lib/components/productSelect/index.d.ts +24 -0
- package/lib/components/productSelect/index.less +1 -2
- 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 +10 -0
- package/lib/components/ruleSetting/ruleBorder/index.d.ts +1 -0
- package/lib/components/ruleSetting/server.d.ts +4 -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/index.d.ts +3 -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/ProductDetail/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/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/schedules/schedules/utils.d.ts +72 -0
- package/lib/components/shoppingCart/Provider.d.ts +3 -0
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +4 -0
- package/lib/components/shoppingCart/components/Cart/index.d.ts +4 -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/components/SelectHolderModal/index.d.ts +4 -0
- package/lib/components/shoppingCart/hooks/useAddService.d.ts +3 -0
- package/lib/components/shoppingCart/hooks/useClearCart.d.ts +3 -0
- package/lib/components/shoppingCart/hooks/useContext.d.ts +1 -0
- package/lib/components/shoppingCart/index.d.ts +4 -0
- package/lib/components/shoppingCart/locales.d.ts +33 -0
- package/lib/components/shoppingCart/mock.d.ts +40 -0
- package/lib/components/shoppingCart/status.d.ts +2 -0
- package/lib/components/shoppingCart/type.d.ts +48 -0
- package/lib/components/shoppingCart/utils.d.ts +63 -0
- package/lib/components/subTotal/index.d.ts +22 -0
- package/lib/components/subTotal/locales.d.ts +42 -0
- package/lib/components/taxSelect/index.d.ts +12 -0
- package/lib/components/ticketBooking/components/addServiceVariant/addService.js +25 -14
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +7 -0
- package/lib/components/ticketBooking/components/addServiceVariant/index.less +10 -0
- package/lib/components/ticketBooking/components/menuBar/index.d.ts +4 -0
- package/lib/components/ticketBooking/components/notAvailable/index.d.ts +3 -0
- package/lib/components/ticketBooking/components/ticketBooking/index.js +3 -1
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +13 -0
- package/lib/components/ticketBooking/data.d.ts +58 -0
- package/lib/components/ticketBooking/hooks/useNetworkStatus.d.ts +11 -0
- package/lib/components/ticketBooking/index.d.ts +7 -0
- package/lib/components/ticketBooking/index.js +2 -1
- package/lib/components/ticketBooking/locales.d.ts +153 -0
- package/lib/components/ticketBooking/locales.js +6 -3
- package/lib/components/ticketBooking/miniRedux.d.ts +22 -0
- package/lib/components/ticketBooking/serve.d.ts +282 -0
- package/lib/components/ticketBooking/utils/index.d.ts +19 -0
- package/lib/components/ticketBooking/utils/index.js +35 -3
- package/lib/components/wallet/Detail/index.d.ts +42 -0
- package/lib/components/wallet/Detail/locales.d.ts +96 -0
- package/lib/components/wallet/Detail/model.d.ts +13 -0
- package/lib/components/wallet/Detail/serve.d.ts +39 -0
- package/lib/components/wallet/DetailContext.d.ts +25 -0
- package/lib/components/wallet/DiscountCard/index.d.ts +3 -0
- package/lib/components/wallet/DiscountCard/model.d.ts +14 -0
- package/lib/components/wallet/PointCard/index.d.ts +3 -0
- package/lib/components/wallet/PointCard/model.d.ts +13 -0
- package/lib/components/wallet/RechargeableCard/index.d.ts +13 -0
- package/lib/components/wallet/RechargeableCard/model.d.ts +29 -0
- package/lib/components/wallet/RechargeableCard/serve.d.ts +23 -0
- package/lib/components/wallet/Voucher/index.d.ts +12 -0
- package/lib/components/wallet/Voucher/locales.d.ts +21 -0
- package/lib/components/wallet/Voucher/model.d.ts +13 -0
- package/lib/components/wallet/components/FooterButtons/index.d.ts +18 -0
- package/lib/components/wallet/components/WalletBar/index.d.ts +8 -0
- package/lib/components/wallet/components/WalletCard.d.ts +11 -0
- package/lib/components/wallet/components/index.d.ts +2 -0
- package/lib/components/wallet/hooks/useWalletCard.d.ts +34 -0
- package/lib/components/wallet/index.d.ts +10 -0
- package/lib/components/wallet/locales.d.ts +132 -0
- package/lib/components/wallet/model.d.ts +37 -0
- package/lib/components/wallet/serve.d.ts +143 -0
- package/lib/components/wallet/utils/formatUtils.d.ts +36 -0
- package/lib/components/walletList/index.d.ts +28 -0
- package/lib/components/walletList/model.d.ts +6 -0
- package/lib/components/walletList/serve.d.ts +12 -0
- package/lib/components/walletList/types/index.d.ts +194 -0
- package/lib/components/workSpaceList/components/AppearanceEdit/IconPanel.d.ts +11 -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/EditableString/index.d.ts +21 -0
- package/lib/components/workSpaceList/components/Modal/index.d.ts +1 -0
- package/lib/components/workSpaceList/components/SearchBar/index.d.ts +17 -0
- package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +4 -0
- package/lib/components/workSpaceList/components/Sort/index.d.ts +7 -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/index.d.ts +45 -0
- package/lib/utils/date.d.ts +11 -0
- package/lib/utils/index.d.ts +23 -0
- package/lib/utils/locales.d.ts +1 -0
- package/lib/utils/tasks/index.d.ts +16 -0
- package/lib/utils/tasks/type.d.ts +4 -0
- package/package.json +4 -4
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface MultiLanguageName {
|
|
3
|
+
original: string;
|
|
4
|
+
'zh-CN': string;
|
|
5
|
+
'zh-HK': string;
|
|
6
|
+
en: string;
|
|
7
|
+
[key: string]: string;
|
|
8
|
+
}
|
|
9
|
+
export interface WalletMetadata {
|
|
10
|
+
name: MultiLanguageName;
|
|
11
|
+
welcomeText?: string | MultiLanguageName;
|
|
12
|
+
customerName?: string;
|
|
13
|
+
coverImage?: string;
|
|
14
|
+
icon?: string;
|
|
15
|
+
barcodetype: 'barCode' | 'orCode';
|
|
16
|
+
showcaseWalletPass?: ('rechargeable' | 'piont' | 'voucher' | 'discount')[];
|
|
17
|
+
}
|
|
18
|
+
export interface Shop {
|
|
19
|
+
id: number;
|
|
20
|
+
name: string;
|
|
21
|
+
default_url: string;
|
|
22
|
+
}
|
|
23
|
+
export interface Wallet {
|
|
24
|
+
id: string | null;
|
|
25
|
+
shop_id: string | null;
|
|
26
|
+
shop?: Shop;
|
|
27
|
+
status: string | null;
|
|
28
|
+
name: MultiLanguageName;
|
|
29
|
+
valid_for: {
|
|
30
|
+
type: string;
|
|
31
|
+
unit?: string;
|
|
32
|
+
unit_type?: string;
|
|
33
|
+
custom_date?: string;
|
|
34
|
+
};
|
|
35
|
+
metadata: WalletMetadata;
|
|
36
|
+
created_at: string | null;
|
|
37
|
+
}
|
|
38
|
+
export interface WalletPass {
|
|
39
|
+
id: string | null;
|
|
40
|
+
shop_id: string | null;
|
|
41
|
+
code: string;
|
|
42
|
+
status: string | null;
|
|
43
|
+
wallet_id: string | null;
|
|
44
|
+
customer_id: string | null;
|
|
45
|
+
expired_at: string | null;
|
|
46
|
+
created_at: string;
|
|
47
|
+
shop: Shop;
|
|
48
|
+
wallet: Wallet;
|
|
49
|
+
icon?: string;
|
|
50
|
+
isLogin?: boolean;
|
|
51
|
+
showIcon?: boolean;
|
|
52
|
+
}
|
|
53
|
+
export interface WalletBalance {
|
|
54
|
+
gift_card_balance: number;
|
|
55
|
+
point_card_balance: number;
|
|
56
|
+
voucher_count: number;
|
|
57
|
+
discount_card_count: number;
|
|
58
|
+
}
|
|
59
|
+
export interface WalletBalanceItem {
|
|
60
|
+
key: string;
|
|
61
|
+
label: string;
|
|
62
|
+
value: number;
|
|
63
|
+
}
|
|
64
|
+
export interface WalletCardItem {
|
|
65
|
+
key: string;
|
|
66
|
+
label: string;
|
|
67
|
+
hidden: boolean;
|
|
68
|
+
value?: number;
|
|
69
|
+
}
|
|
70
|
+
export interface State {
|
|
71
|
+
list: WalletPass[];
|
|
72
|
+
balance: WalletBalance | null;
|
|
73
|
+
loading: boolean;
|
|
74
|
+
error: Error | null;
|
|
75
|
+
authError?: boolean;
|
|
76
|
+
hasAttempted: boolean;
|
|
77
|
+
isLoggedIn?: boolean;
|
|
78
|
+
}
|
|
79
|
+
export interface Action {
|
|
80
|
+
type: string;
|
|
81
|
+
payload: Partial<State>;
|
|
82
|
+
}
|
|
83
|
+
export interface Balance {
|
|
84
|
+
gift_card_balance: number;
|
|
85
|
+
point_card_balance: number;
|
|
86
|
+
voucher_count: number;
|
|
87
|
+
discount_card_count: number;
|
|
88
|
+
}
|
|
89
|
+
export interface IWallList {
|
|
90
|
+
tag?: string;
|
|
91
|
+
sales_status?: string;
|
|
92
|
+
machine_search?: string;
|
|
93
|
+
createdDate?: string;
|
|
94
|
+
limit_status?: string;
|
|
95
|
+
relation_id?: string;
|
|
96
|
+
relation_type?: string;
|
|
97
|
+
customer_id?: string;
|
|
98
|
+
sort?: string;
|
|
99
|
+
order_by?: string;
|
|
100
|
+
used_status?: string;
|
|
101
|
+
num?: number;
|
|
102
|
+
skip?: number;
|
|
103
|
+
}
|
|
104
|
+
export interface WalletListProps {
|
|
105
|
+
globalState?: {
|
|
106
|
+
platform?: 'pc' | 'h5' | 'ipad';
|
|
107
|
+
mode?: 'dark' | 'light';
|
|
108
|
+
cardStyle?: 'normal' | 'full';
|
|
109
|
+
codeType?: 'barCode' | 'orCode';
|
|
110
|
+
codeDirection?: 'bottom' | 'top';
|
|
111
|
+
shopName?: boolean;
|
|
112
|
+
showWalletName?: boolean;
|
|
113
|
+
showShopName?: boolean;
|
|
114
|
+
cardNo?: string;
|
|
115
|
+
showCardNo?: boolean;
|
|
116
|
+
showCode?: boolean;
|
|
117
|
+
points?: boolean;
|
|
118
|
+
balance?: boolean;
|
|
119
|
+
coupon?: boolean;
|
|
120
|
+
pointsValue?: number;
|
|
121
|
+
balanceValue?: number;
|
|
122
|
+
couponValue?: number;
|
|
123
|
+
symbol?: string;
|
|
124
|
+
showIcon?: boolean;
|
|
125
|
+
iconImg?: string;
|
|
126
|
+
customBackgroundImage?: string;
|
|
127
|
+
walletName?: string;
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
export interface WalletCardProps {
|
|
131
|
+
platform?: 'pc' | 'h5' | 'ipad';
|
|
132
|
+
mode?: 'dark' | 'light';
|
|
133
|
+
cardStyle?: 'normal' | 'full';
|
|
134
|
+
codeType?: 'barCode' | 'orCode';
|
|
135
|
+
codeDirection?: 'bottom' | 'top';
|
|
136
|
+
shopName?: boolean;
|
|
137
|
+
showIcon?: boolean;
|
|
138
|
+
iconImg?: string;
|
|
139
|
+
showWalletName?: boolean;
|
|
140
|
+
showShopName?: boolean;
|
|
141
|
+
cardNo?: string;
|
|
142
|
+
showCardNo?: boolean;
|
|
143
|
+
showCode?: boolean;
|
|
144
|
+
points?: boolean;
|
|
145
|
+
balance?: boolean;
|
|
146
|
+
coupon?: boolean;
|
|
147
|
+
pointsValue?: number;
|
|
148
|
+
balanceValue?: number;
|
|
149
|
+
couponValue?: number;
|
|
150
|
+
isLogin?: boolean;
|
|
151
|
+
items: WalletCardItem[];
|
|
152
|
+
}
|
|
153
|
+
export interface DivProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
154
|
+
children?: React.ReactNode;
|
|
155
|
+
}
|
|
156
|
+
export interface WalletListContextType {
|
|
157
|
+
state: State;
|
|
158
|
+
dispatch: React.Dispatch<Action>;
|
|
159
|
+
}
|
|
160
|
+
export declare const DEFAULT_CARD_CONFIG: {
|
|
161
|
+
readonly mode: "light";
|
|
162
|
+
readonly cardStyle: "normal";
|
|
163
|
+
readonly codeDirection: "bottom";
|
|
164
|
+
readonly showShopName: true;
|
|
165
|
+
readonly showWalletName: true;
|
|
166
|
+
readonly showIcon: true;
|
|
167
|
+
readonly iconImg: "";
|
|
168
|
+
readonly showCardNo: true;
|
|
169
|
+
readonly showCode: true;
|
|
170
|
+
readonly points: true;
|
|
171
|
+
readonly balance: true;
|
|
172
|
+
readonly coupon: true;
|
|
173
|
+
};
|
|
174
|
+
export interface CarouselSettings {
|
|
175
|
+
className: string;
|
|
176
|
+
arrows: boolean;
|
|
177
|
+
infinite: boolean;
|
|
178
|
+
slidesToShow: number;
|
|
179
|
+
slidesToScroll: number;
|
|
180
|
+
centerMode: boolean;
|
|
181
|
+
centerPadding: string;
|
|
182
|
+
autoplay: boolean;
|
|
183
|
+
autoplaySpeed: number;
|
|
184
|
+
dots: boolean;
|
|
185
|
+
appendDots?: (dots: React.ReactNode) => React.ReactNode;
|
|
186
|
+
responsive?: Array<{
|
|
187
|
+
breakpoint: number;
|
|
188
|
+
settings: {
|
|
189
|
+
slidesToShow: number;
|
|
190
|
+
slidesToScroll: number;
|
|
191
|
+
centerPadding: string;
|
|
192
|
+
};
|
|
193
|
+
}>;
|
|
194
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import './IconPanel.less';
|
|
3
|
+
interface IconPanel {
|
|
4
|
+
name: string;
|
|
5
|
+
color?: string;
|
|
6
|
+
value?: string;
|
|
7
|
+
defaultValue?: string;
|
|
8
|
+
onChange?: (val: string) => void;
|
|
9
|
+
}
|
|
10
|
+
declare const IconPanel: React.FC<IconPanel>;
|
|
11
|
+
export default IconPanel;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
interface EditableString {
|
|
4
|
+
text: string;
|
|
5
|
+
style?: React.CSSProperties;
|
|
6
|
+
onChange?: (value: string) => void;
|
|
7
|
+
editable?: boolean;
|
|
8
|
+
editing?: boolean;
|
|
9
|
+
maxLength?: number;
|
|
10
|
+
className?: string;
|
|
11
|
+
ellipsis?: {
|
|
12
|
+
row: number;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* 可编辑string
|
|
17
|
+
* @param props
|
|
18
|
+
* @constructor
|
|
19
|
+
*/
|
|
20
|
+
declare const EditableString: React.FC<EditableString>;
|
|
21
|
+
export default EditableString;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CreateBaseModalProps } from './../CreateBaseModal';
|
|
2
|
+
import { SortProps } from './../../../workSpaceList/components/Sort';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import './index.less';
|
|
5
|
+
export interface SearchBarProps {
|
|
6
|
+
title: string;
|
|
7
|
+
describe?: string;
|
|
8
|
+
onTitleChange?: (value: string) => void;
|
|
9
|
+
onDescribeChange?: (value: string) => void;
|
|
10
|
+
onDelete?: () => void;
|
|
11
|
+
onSort?: SortProps['onChange'];
|
|
12
|
+
isDetail?: boolean;
|
|
13
|
+
onAddBase: CreateBaseModalProps['onAddBase'];
|
|
14
|
+
editingTitle?: boolean;
|
|
15
|
+
}
|
|
16
|
+
declare const SearchBar: React.FC<SearchBarProps>;
|
|
17
|
+
export default SearchBar;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { CardListProps } from './../CardList';
|
|
2
|
+
import { SearchBarProps } from './../SearchBar';
|
|
3
|
+
import { FC } from 'react';
|
|
4
|
+
import './index.less';
|
|
5
|
+
export interface WorkspaceItemProps {
|
|
6
|
+
title: string;
|
|
7
|
+
describe?: string;
|
|
8
|
+
data: any[];
|
|
9
|
+
isDetail?: boolean;
|
|
10
|
+
id: number;
|
|
11
|
+
onSort?: SearchBarProps['onSort'];
|
|
12
|
+
onAddBase: SearchBarProps['onAddBase'];
|
|
13
|
+
onRefresh?: () => void;
|
|
14
|
+
onDelete?: () => void;
|
|
15
|
+
onDeleteBase?: (id: number) => void;
|
|
16
|
+
onUpdateBase?: CardListProps['onUpdateBase'];
|
|
17
|
+
loading?: boolean;
|
|
18
|
+
scrollRef?: any;
|
|
19
|
+
baseCount?: number;
|
|
20
|
+
}
|
|
21
|
+
declare const WorkspaceItem: FC<WorkspaceItemProps>;
|
|
22
|
+
export default WorkspaceItem;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare type IEngineContext = {
|
|
2
|
+
appHelper: any;
|
|
3
|
+
engine: any;
|
|
4
|
+
blockContext: any;
|
|
5
|
+
components: any;
|
|
6
|
+
pageContext: any;
|
|
7
|
+
};
|
|
8
|
+
declare const useEngineContext: () => IEngineContext;
|
|
9
|
+
export declare const usePisellOS: () => any;
|
|
10
|
+
export default useEngineContext;
|
package/es/index.d.ts
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export { default as Login } from './components/login';
|
|
2
|
+
export type { LoginProps } from './components/login';
|
|
3
|
+
export { default as BookingInfo } from './components/booking/info/index';
|
|
4
|
+
export { default as BookingNotes } from './components/booking/notes';
|
|
5
|
+
export { default as BookingAddons } from './components/booking/addons';
|
|
6
|
+
export { default as BookingForms } from './components/booking/forms';
|
|
7
|
+
export { default as BookingPayment } from './components/booking/payments';
|
|
8
|
+
export { default as Booking } from './components/booking';
|
|
9
|
+
export { default as Schedules } from './components/schedules';
|
|
10
|
+
export { default as BookingResources } from './components/booking/materiels/resources';
|
|
11
|
+
export { default as BookingStartTime } from './components/booking/materiels/startTime';
|
|
12
|
+
export { default as BookingDuration } from './components/booking/materiels/duration';
|
|
13
|
+
export { default as BookingContacts } from './components/booking/materiels/contacts';
|
|
14
|
+
export { VerticalClient } from './components/booking/info/clientVariant';
|
|
15
|
+
export { default as VerticalAddService } from './components/booking/info/addServiceVariant';
|
|
16
|
+
export { default as ProductExtension } from './components/productExtension';
|
|
17
|
+
export { default as BookingDeposit } from './components/booking/deposit';
|
|
18
|
+
export { default as WorkspaceList } from './components/workSpaceList';
|
|
19
|
+
export { default as WorkspaceListDetail } from './components/workSpaceListDetail';
|
|
20
|
+
export { default as RuleSetting } from './components/ruleSetting';
|
|
21
|
+
export { default as TaxSelect } from './components/taxSelect';
|
|
22
|
+
export { default as EftposPay } from './components/eftposPay';
|
|
23
|
+
export { default as ToCPay } from './components/pay/toC';
|
|
24
|
+
export { default as Eftpos } from './components/eftpos';
|
|
25
|
+
export { default as Wallet } from './components/wallet';
|
|
26
|
+
export { default as WalletList } from './components/walletList';
|
|
27
|
+
export { default as BookingDashboard } from './components/booking/dashboard';
|
|
28
|
+
export { default as PisellSelectCustomerModal } from './components/pisellSelectCustomerModal';
|
|
29
|
+
export { default as EventBooking } from './components/eventBooking';
|
|
30
|
+
export { default as EventCard } from './components/eventBooking/components/eventCard';
|
|
31
|
+
export { default as EventResourceDisplay } from './components/eventBooking/components/resourceDisplay';
|
|
32
|
+
export { default as EventResourceUsability } from './components/eventBooking/components/resourceUsability';
|
|
33
|
+
export { default as EventProductCard } from './components/eventBooking/components/productCard';
|
|
34
|
+
export { default as EventTimeResourceSelector } from './components/eventBooking/components/timeResourceSelector';
|
|
35
|
+
export { default as EventSelectHolder } from './components/eventBooking/components/selectHolder';
|
|
36
|
+
export { default as EventBookingServiceList } from './components/eventBooking/components/bookingServiceList';
|
|
37
|
+
export { default as EventBookingAvailabilityCalendar } from './components/eventBooking/components/bookingAvailabilityCalendar';
|
|
38
|
+
export { default as EventScheduleCalendar } from './components/eventBooking/components/scheduleCalendar';
|
|
39
|
+
export { default as EventBookingDetailModal } from './components/eventBooking/components/bookingDetailModal';
|
|
40
|
+
export { default as EventProgressBar } from './components/eventBooking/components/progressBar';
|
|
41
|
+
export { default as ShoppingCart } from './components/shoppingCart';
|
|
42
|
+
export { default as AppointmentBooking } from './components/appointmentBooking';
|
|
43
|
+
export { default as AppointmentDeposit } from './components/appointmentBooking/deposit';
|
|
44
|
+
export { default as TicketBooking } from './components/ticketBooking';
|
|
45
|
+
export { default as SubTotal } from './components/subTotal';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @title: 格式化时间
|
|
3
|
+
* @description:
|
|
4
|
+
* @param {Moment} date 时间
|
|
5
|
+
* @param {string} cnFormat 中文
|
|
6
|
+
* @param {string} enFormat 英文
|
|
7
|
+
* @return {*}
|
|
8
|
+
* @Author: Wzw
|
|
9
|
+
* @Date: 2022-07-28 11:57
|
|
10
|
+
*/
|
|
11
|
+
export declare const formatDate: (date: any, cnFormat?: string, enFormat?: string) => string;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { ModalStaticFunctions } from 'antd/es/modal/confirm';
|
|
2
|
+
declare type RType = (url: string, data?: {} | undefined, config?: {} | undefined) => Promise<any>;
|
|
3
|
+
declare class Request {
|
|
4
|
+
private request;
|
|
5
|
+
constructor();
|
|
6
|
+
setRequest(val: any): void;
|
|
7
|
+
withCustomToast(config?: any): any;
|
|
8
|
+
getRequest(): {
|
|
9
|
+
get: (url: string, params: any, config?: any) => Promise<any>;
|
|
10
|
+
post: (url: string, params: any, config?: any) => Promise<any>;
|
|
11
|
+
put: RType;
|
|
12
|
+
remove: RType;
|
|
13
|
+
custom: RType;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
export declare const request: Request;
|
|
17
|
+
declare let modal: Omit<ModalStaticFunctions, 'warn'>;
|
|
18
|
+
export declare const setModal: (m: Omit<ModalStaticFunctions, 'warn'>) => void;
|
|
19
|
+
export declare const saveConfirm: () => Promise<{
|
|
20
|
+
destroy: () => void;
|
|
21
|
+
update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
|
|
22
|
+
}>;
|
|
23
|
+
export { modal };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getLocale: () => string;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Task } from './type';
|
|
2
|
+
/**
|
|
3
|
+
* 任务管理器
|
|
4
|
+
* 可以添加任务到数组
|
|
5
|
+
* 每次调用runTask, 取第一个执行,执行完毕后删除此任务
|
|
6
|
+
*/
|
|
7
|
+
export declare class TasksManager {
|
|
8
|
+
private tasks;
|
|
9
|
+
constructor();
|
|
10
|
+
add(code: Task['code']): void;
|
|
11
|
+
addTasks(codes: Task['code'][]): void;
|
|
12
|
+
getTasks(): Task[];
|
|
13
|
+
run(): Promise<void>;
|
|
14
|
+
delete(id: string): void;
|
|
15
|
+
clear(): void;
|
|
16
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface SalesProviderProps {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
hooks?: any;
|
|
5
|
+
config?: {
|
|
6
|
+
useSessionStorage?: boolean;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
interface SalesContextProps {
|
|
10
|
+
data: {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
};
|
|
13
|
+
setData: any;
|
|
14
|
+
hooks: any;
|
|
15
|
+
setHooks: any;
|
|
16
|
+
getCurrentData: any;
|
|
17
|
+
setSessionStorage: () => void;
|
|
18
|
+
getSessionStorage: () => any;
|
|
19
|
+
removeSessionStorage: () => void;
|
|
20
|
+
}
|
|
21
|
+
export declare const SalesContext: React.Context<SalesContextProps>;
|
|
22
|
+
export declare const SalesProvider: React.FC<SalesProviderProps>;
|
|
23
|
+
export declare const useSales: () => SalesContextProps;
|
|
24
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useHooks: () => any;
|
|
File without changes
|
|
@@ -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) => 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;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* available_capacity(容量)、deadline_day(截止日期)、future_day(预定天数)
|
|
3
|
+
*/
|
|
4
|
+
export declare type TCartItemUnavailableType = 'available_capacity' | 'deadline_day' | 'future_day';
|
|
5
|
+
/**
|
|
6
|
+
* 商品不可用原因
|
|
7
|
+
*/
|
|
8
|
+
export interface IUnavailableResult {
|
|
9
|
+
event_unique_identifier: number;
|
|
10
|
+
relation_id: number;
|
|
11
|
+
product_id: number;
|
|
12
|
+
details?: Array<{
|
|
13
|
+
type: TCartItemUnavailableType;
|
|
14
|
+
}>;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* 更新失效的购物车商品
|
|
18
|
+
*/
|
|
19
|
+
export declare type TUpdateDisabledCartItem = (list: Array<IUnavailableResult>) => void;
|
|
20
|
+
export interface ICalculatePriceParams {
|
|
21
|
+
/** 商品 */
|
|
22
|
+
product: any;
|
|
23
|
+
/** 规格 */
|
|
24
|
+
variant?: any;
|
|
25
|
+
/** 套餐 */
|
|
26
|
+
bundle?: any[];
|
|
27
|
+
/** 规格 */
|
|
28
|
+
options?: any[];
|
|
29
|
+
/** 数量 */
|
|
30
|
+
num?: number;
|
|
31
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ICalculatePriceParams } from './types';
|
|
2
|
+
export declare const handleProductInfo: (eventDetail: any, num: number) => {
|
|
3
|
+
totalPrice: number;
|
|
4
|
+
originTotal: any;
|
|
5
|
+
is_charge_tax: any;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* 获取商品总价
|
|
9
|
+
* @description 当前总价计算基于商品数量为1
|
|
10
|
+
* @param item 商品
|
|
11
|
+
* @returns 商品总价
|
|
12
|
+
*/
|
|
13
|
+
export declare const getTotalPrice: (params: ICalculatePriceParams) => number;
|
|
14
|
+
/**
|
|
15
|
+
* 获取商品原始总价
|
|
16
|
+
* @description 当前总价计算基于商品数量为1
|
|
17
|
+
* @param item 商品
|
|
18
|
+
* @returns 商品原始总价
|
|
19
|
+
*/
|
|
20
|
+
export declare const getOriginTotalPrice: (params: ICalculatePriceParams) => number | undefined;
|
|
21
|
+
export declare const handleCartItemOrigin: (cartItem: any, eventDetail: any) => any;
|
|
22
|
+
export declare const formatBundleToOrigin: (bundle: any) => any;
|
|
23
|
+
export declare const formatOptionsToOrigin: (options: any) => any;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface CheckoutData {
|
|
3
|
+
}
|
|
4
|
+
interface PayProps {
|
|
5
|
+
order_id: string;
|
|
6
|
+
amount: number;
|
|
7
|
+
sale_channel?: string;
|
|
8
|
+
}
|
|
9
|
+
interface CheckoutContextType {
|
|
10
|
+
onCheckBeforeBooking: (data: any) => Promise<{
|
|
11
|
+
result: boolean;
|
|
12
|
+
num: number;
|
|
13
|
+
}>;
|
|
14
|
+
onCheckout: (data: any) => Promise<any>;
|
|
15
|
+
onPay: (payProps: PayProps) => void;
|
|
16
|
+
createBooking: any;
|
|
17
|
+
checkBeforeBooking: any;
|
|
18
|
+
}
|
|
19
|
+
interface CheckoutProviderProps {
|
|
20
|
+
children: React.ReactNode;
|
|
21
|
+
}
|
|
22
|
+
export declare const CheckoutContext: React.Context<CheckoutContextType | undefined>;
|
|
23
|
+
export declare const CheckoutProvider: React.FC<CheckoutProviderProps>;
|
|
24
|
+
/**
|
|
25
|
+
* 使用步骤管理的Hook
|
|
26
|
+
* @throws {Error} 如果在StepProvider外部使用会抛出错误
|
|
27
|
+
* @returns {StepContextType} 步骤管理上下文
|
|
28
|
+
*/
|
|
29
|
+
export declare const useCheckout: () => CheckoutContextType;
|
|
30
|
+
declare const _default: {
|
|
31
|
+
defaultState: CheckoutData;
|
|
32
|
+
};
|
|
33
|
+
export default _default;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @title: 套餐单规格信息
|
|
3
|
+
* @description:
|
|
4
|
+
* @param {any} option
|
|
5
|
+
* @return {*}
|
|
6
|
+
* @Author: zhiwei.Wang
|
|
7
|
+
* @Date: 2024-02-19 09:26
|
|
8
|
+
*/
|
|
9
|
+
export declare const formatProductOption: (option: any) => any;
|
|
10
|
+
/**
|
|
11
|
+
* @title: 套餐信息
|
|
12
|
+
* @description:
|
|
13
|
+
* @param {any} bundle
|
|
14
|
+
* @return {*}
|
|
15
|
+
* @Author: zhiwei.Wang
|
|
16
|
+
* @Date: 2024-02-19 09:26
|
|
17
|
+
*/
|
|
18
|
+
export declare const formatProductBundle: (bundle: any) => any;
|
|
19
|
+
/**
|
|
20
|
+
* @title: 格式化下单接口数据
|
|
21
|
+
* @description:
|
|
22
|
+
* @param {any} state saledModel数据源
|
|
23
|
+
* @param {boolean} excludeDisabled 是否需要排除购物车中失效商品
|
|
24
|
+
* @Author: xiangfeng.xue
|
|
25
|
+
* @Date: 2025-01-21 17:57
|
|
26
|
+
*/
|
|
27
|
+
export declare const formatValues: (state: any, excludeDisabled?: boolean, otherValue?: Record<string, any>) => any;
|
|
28
|
+
/**
|
|
29
|
+
* @title: 获取拉开表单弹窗参数
|
|
30
|
+
* @param state
|
|
31
|
+
*/
|
|
32
|
+
export declare const getFormParams: (state: any) => {
|
|
33
|
+
product_id: any;
|
|
34
|
+
appointment_type: string;
|
|
35
|
+
};
|