@pisell/private-materials 3.3.10 → 3.3.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.js +3 -3
- package/build/lowcode/view.js +3 -3
- package/es/components/appointmentBooking/components/Cart/ContinueButton/index.d.ts +1 -2
- package/es/components/appointmentBooking/components/Cart/ContinueButton/index.js +42 -242
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -1
- package/es/components/appointmentBooking/components/Cart/Item/index.js +13 -5
- package/es/components/appointmentBooking/components/Cart/index.d.ts +1 -1
- package/es/components/appointmentBooking/components/Cart/index.js +5 -2
- package/es/components/appointmentBooking/components/Cart/utils.d.ts +0 -41
- package/es/components/appointmentBooking/components/Cart/utils.js +4 -308
- package/es/components/appointmentBooking/components/ConfirmInformation/index.d.ts +2 -1
- package/es/components/appointmentBooking/components/ConfirmInformation/index.js +145 -4
- package/es/components/appointmentBooking/components/Content/index.js +35 -28
- package/es/components/appointmentBooking/components/Date/index.d.ts +3 -2
- package/es/components/appointmentBooking/components/Date/index.js +67 -34
- package/es/components/appointmentBooking/components/Footer/index.d.ts +1 -1
- package/es/components/appointmentBooking/components/Footer/index.js +12 -10
- package/es/components/appointmentBooking/components/Form/index.js +40 -13
- package/es/components/appointmentBooking/components/Guest/index.d.ts +2 -1
- package/es/components/appointmentBooking/components/Guest/index.js +10 -3
- package/es/components/appointmentBooking/components/Header/index.js +31 -23
- package/es/components/appointmentBooking/components/Resource/index.d.ts +5 -1
- package/es/components/appointmentBooking/components/Resource/index.js +138 -47
- package/es/components/appointmentBooking/components/Resource/utils.d.ts +5 -0
- package/es/components/appointmentBooking/components/Resource/utils.js +16 -0
- package/es/components/appointmentBooking/components/Services/index.d.ts +2 -1
- package/es/components/appointmentBooking/components/Services/index.js +17 -72
- package/es/components/appointmentBooking/components/TimeSlicing/index.d.ts +3 -2
- package/es/components/appointmentBooking/components/TimeSlicing/index.js +17 -4
- package/es/components/appointmentBooking/context.js +13 -2
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.js +12 -9
- package/es/components/appointmentBooking/hooks.d.ts +2 -1
- package/es/components/appointmentBooking/hooks.js +71 -22
- package/es/components/appointmentBooking/utils.d.ts +23 -60
- package/es/components/appointmentBooking/utils.js +157 -175
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
- package/es/components/booking/info/utils.js +1 -1
- package/es/components/ticketBooking/components/ticketBooking/index.js +4 -2
- package/lib/components/appointmentBooking/components/Cart/ContinueButton/index.d.ts +1 -2
- package/lib/components/appointmentBooking/components/Cart/ContinueButton/index.js +10 -123
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -1
- package/lib/components/appointmentBooking/components/Cart/Item/index.js +4 -5
- package/lib/components/appointmentBooking/components/Cart/index.d.ts +1 -1
- package/lib/components/appointmentBooking/components/Cart/index.js +2 -2
- package/lib/components/appointmentBooking/components/Cart/utils.d.ts +0 -41
- package/lib/components/appointmentBooking/components/Cart/utils.js +6 -184
- package/lib/components/appointmentBooking/components/ConfirmInformation/index.d.ts +2 -1
- package/lib/components/appointmentBooking/components/ConfirmInformation/index.js +65 -3
- package/lib/components/appointmentBooking/components/Content/index.js +36 -22
- package/lib/components/appointmentBooking/components/Date/index.d.ts +3 -2
- package/lib/components/appointmentBooking/components/Date/index.js +13 -3
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -1
- package/lib/components/appointmentBooking/components/Footer/index.js +16 -12
- package/lib/components/appointmentBooking/components/Form/index.js +17 -11
- package/lib/components/appointmentBooking/components/Guest/index.d.ts +2 -1
- package/lib/components/appointmentBooking/components/Guest/index.js +7 -2
- package/lib/components/appointmentBooking/components/Header/index.js +10 -10
- package/lib/components/appointmentBooking/components/Resource/index.d.ts +5 -1
- package/lib/components/appointmentBooking/components/Resource/index.js +83 -30
- package/lib/components/appointmentBooking/components/Resource/utils.d.ts +5 -0
- package/lib/components/appointmentBooking/components/Resource/utils.js +36 -0
- package/lib/components/appointmentBooking/components/Services/index.d.ts +2 -1
- package/lib/components/appointmentBooking/components/Services/index.js +7 -6
- package/lib/components/appointmentBooking/components/TimeSlicing/index.d.ts +3 -2
- package/lib/components/appointmentBooking/components/TimeSlicing/index.js +14 -3
- package/lib/components/appointmentBooking/context.js +7 -2
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.js +3 -1
- package/lib/components/appointmentBooking/hooks.d.ts +2 -1
- package/lib/components/appointmentBooking/hooks.js +29 -8
- package/lib/components/appointmentBooking/utils.d.ts +23 -60
- package/lib/components/appointmentBooking/utils.js +84 -82
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
- package/lib/components/booking/info/utils.js +1 -1
- package/lib/components/ticketBooking/components/ticketBooking/index.js +4 -2
- package/package.json +3 -3
- package/es/businessModel/SalesModel/Sales/index.d.ts +0 -24
- package/es/businessModel/SalesModel/hooks/index.d.ts +0 -1
- package/es/businessModel/SalesModel/index.d.ts +0 -3
- package/es/businessModel/index.d.ts +0 -0
- package/es/components/Sales/Cart/index.d.ts +0 -53
- package/es/components/Sales/Cart/serve.d.ts +0 -2
- package/es/components/Sales/Cart/types.d.ts +0 -19
- package/es/components/Sales/Checkout/index.d.ts +0 -33
- package/es/components/Sales/Checkout/serve.d.ts +0 -2
- package/es/components/Sales/Checkout/utils.d.ts +0 -27
- package/es/components/Sales/Customer/index.d.ts +0 -24
- package/es/components/Sales/Event/Detail.d.ts +0 -27
- package/es/components/Sales/Event/index.d.ts +0 -30
- package/es/components/Sales/Event/serve.d.ts +0 -26
- package/es/components/Sales/Holder/index.d.ts +0 -33
- package/es/components/Sales/Holder/serve.d.ts +0 -8
- package/es/components/Sales/Init/index.d.ts +0 -24
- package/es/components/Sales/Init/serve.d.ts +0 -3
- package/es/components/Sales/Resource/index.d.ts +0 -26
- package/es/components/Sales/Resource/serve.d.ts +0 -5
- package/es/components/Sales/Step/index.d.ts +0 -37
- package/es/components/Sales/Summary/index.d.ts +0 -25
- package/es/components/Sales/Summary/serve.d.ts +0 -0
- package/es/components/Sales/Summary/utils.d.ts +0 -36
- package/es/components/Sales/hooks/index.d.ts +0 -1
- package/es/components/Sales/index.d.ts +0 -20
- package/es/components/Sales/utils/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Date/state.d.ts +0 -62
- package/es/components/appointmentBooking/locales.d.ts +0 -345
- package/es/components/appointmentBooking/mock.d.ts +0 -627
- package/es/components/appointmentBooking/status.d.ts +0 -21
- package/es/components/appointmentBooking/type.d.ts +0 -17
- package/es/components/booking/addons/index.d.ts +0 -17
- package/es/components/booking/components/customSelect/index.d.ts +0 -38
- package/es/components/booking/components/footer/amount.d.ts +0 -23
- package/es/components/booking/components/footer/index.d.ts +0 -11
- package/es/components/booking/components/footer/serve.d.ts +0 -3
- package/es/components/booking/components/footer/utils.d.ts +0 -30
- package/es/components/booking/forms/index.d.ts +0 -9
- package/es/components/booking/forms/serve.d.ts +0 -18
- package/es/components/booking/hooks/useCreateBookingPageHeader.d.ts +0 -6
- package/es/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
- package/es/components/booking/info/Provider.d.ts +0 -0
- package/es/components/booking/info/addServiceVariant/index.d.ts +0 -6
- package/es/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +0 -25
- package/es/components/booking/info/clientVariant/vertical/index.d.ts +0 -8
- package/es/components/booking/info/hooks/useAddHolder.d.ts +0 -2
- package/es/components/booking/info/hooks/useHolderConfig.d.ts +0 -9
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -9
- package/es/components/booking/info/index.d.ts +0 -3
- package/es/components/booking/info/main.d.ts +0 -12
- package/es/components/booking/info/model.d.ts +0 -14
- package/es/components/booking/info/pet/index.d.ts +0 -14
- package/es/components/booking/info/service/Lists.d.ts +0 -2
- package/es/components/booking/info/service/addService/index.d.ts +0 -11
- package/es/components/booking/info/service/addService/utils.d.ts +0 -71
- package/es/components/booking/info/service/editService/EditTabs/index.d.ts +0 -3
- package/es/components/booking/info/service/index.d.ts +0 -4
- package/es/components/booking/info/service/serve.d.ts +0 -11
- package/es/components/booking/info/service/serviceList/index.d.ts +0 -5
- package/es/components/booking/info/service/serviceManager/distributeDiscount.d.ts +0 -11
- package/es/components/booking/info/service/serviceManager/index.d.ts +0 -20
- package/es/components/booking/info/service/serviceManager/utils.d.ts +0 -0
- package/es/components/booking/info/service2/Group/utils.d.ts +0 -14
- package/es/components/booking/info/service2/Lists.d.ts +0 -2
- package/es/components/booking/info/service2/hooks/useSelectPet.d.ts +0 -6
- package/es/components/booking/info/service2/index.d.ts +0 -6
- package/es/components/booking/info/service2/status.d.ts +0 -31
- package/es/components/booking/info/service2/utils.d.ts +0 -241
- package/es/components/booking/info2/index.d.ts +0 -12
- package/es/components/booking/info2/serve.d.ts +0 -6
- package/es/components/booking/info2/service/addService/index.d.ts +0 -11
- package/es/components/booking/info2/service/addService/utils.d.ts +0 -88
- package/es/components/booking/info2/service/addTimeModal/index.d.ts +0 -3
- package/es/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.d.ts +0 -7
- package/es/components/booking/info2/service/editService/Resources/index.d.ts +0 -4
- package/es/components/booking/info2/service/editService/utils.d.ts +0 -13
- package/es/components/booking/info2/service/index.d.ts +0 -4
- package/es/components/booking/info2/utils.d.ts +0 -4
- package/es/components/booking/info2/utilsByBooking.d.ts +0 -34
- package/es/components/booking/locales.d.ts +0 -786
- package/es/components/booking/materiels/contacts/index.d.ts +0 -15
- package/es/components/booking/materiels/holder/index.d.ts +0 -6
- package/es/components/booking/model.d.ts +0 -115
- package/es/components/booking/notes/addNote/index.d.ts +0 -3
- package/es/components/booking/payments/index.d.ts +0 -9
- package/es/components/booking/utils.d.ts +0 -172
- package/es/components/eftpos/index.d.ts +0 -46
- package/es/components/eftposPay/index.d.ts +0 -4
- package/es/components/eftposPay/windcave/windcave.d.ts +0 -6
- package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -3
- package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -3
- package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -2
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -3
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -3
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -4
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -3
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.d.ts +0 -63
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/index.d.ts +0 -14
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/utils.d.ts +0 -34
- package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -2
- package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -2
- package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -9
- package/es/components/eventBooking/components/scheduleCalendar/index.d.ts +0 -13
- package/es/components/eventBooking/index.d.ts +0 -3
- package/es/components/eventBooking/locales.d.ts +0 -216
- package/es/components/eventBooking/mock.d.ts +0 -627
- package/es/components/eventBooking/status.d.ts +0 -21
- package/es/components/eventBooking/type.d.ts +0 -17
- package/es/components/eventBooking/utils.d.ts +0 -45
- package/es/components/index.d.ts +0 -18
- package/es/components/login/index.d.ts +0 -8
- package/es/components/login/locales.d.ts +0 -24
- package/es/components/pay/toC/PaymentList/serve.d.ts +0 -28
- package/es/components/pay/toC/serve.d.ts +0 -34
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -2
- package/es/components/productExtension/index.d.ts +0 -7
- package/es/components/productSelect/hooks/useToken.d.ts +0 -18
- package/es/components/productSelect/locales.d.ts +0 -18
- package/es/components/productSelect/mock.d.ts +0 -134
- package/es/components/productSelect/theme/token.d.ts +0 -17
- package/es/components/ruleSetting/index.d.ts +0 -9
- package/es/components/schedules/index.d.ts +0 -3
- package/es/components/shoppingCart/Provider.d.ts +0 -3
- package/es/components/shoppingCart/components/Empty/index.d.ts +0 -3
- package/es/components/shoppingCart/components/Render/index.d.ts +0 -3
- package/es/components/shoppingCart/hooks/useContext.d.ts +0 -1
- package/es/components/shoppingCart/index.d.ts +0 -3
- package/es/components/shoppingCart/locales.d.ts +0 -33
- package/es/components/shoppingCart/mock.d.ts +0 -40
- package/es/components/shoppingCart/status.d.ts +0 -2
- package/es/components/shoppingCart/type.d.ts +0 -48
- package/es/components/shoppingCart/utils.d.ts +0 -63
- package/es/components/subTotal/locales.d.ts +0 -42
- package/es/components/taxSelect/index.d.ts +0 -11
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -6
- package/es/components/ticketBooking/components/menuBar/index.d.ts +0 -3
- package/es/components/ticketBooking/data.d.ts +0 -58
- package/es/components/ticketBooking/hooks/useNetworkStatus.d.ts +0 -11
- package/es/components/ticketBooking/index.d.ts +0 -3
- package/es/components/ticketBooking/locales.d.ts +0 -144
- package/es/components/ticketBooking/miniRedux.d.ts +0 -22
- package/es/components/ticketBooking/serve.d.ts +0 -282
- package/es/components/ticketBooking/utils/index.d.ts +0 -14
- package/es/components/wallet/Detail/locales.d.ts +0 -96
- package/es/components/wallet/Detail/model.d.ts +0 -13
- package/es/components/wallet/Detail/serve.d.ts +0 -39
- package/es/components/wallet/DetailContext.d.ts +0 -25
- package/es/components/wallet/DiscountCard/model.d.ts +0 -14
- package/es/components/wallet/PointCard/model.d.ts +0 -13
- package/es/components/wallet/RechargeableCard/model.d.ts +0 -29
- package/es/components/wallet/RechargeableCard/serve.d.ts +0 -23
- package/es/components/wallet/Voucher/locales.d.ts +0 -21
- package/es/components/wallet/Voucher/model.d.ts +0 -13
- package/es/components/wallet/components/FooterButtons/index.d.ts +0 -18
- package/es/components/wallet/components/index.d.ts +0 -2
- package/es/components/wallet/hooks/useWalletCard.d.ts +0 -33
- package/es/components/wallet/locales.d.ts +0 -132
- package/es/components/wallet/model.d.ts +0 -37
- package/es/components/wallet/serve.d.ts +0 -143
- package/es/components/wallet/utils/formatUtils.d.ts +0 -36
- package/es/components/walletList/model.d.ts +0 -6
- package/es/components/walletList/serve.d.ts +0 -12
- package/es/components/walletList/types/index.d.ts +0 -194
- package/es/components/workSpaceList/components/WorkspaceItem/index.d.ts +0 -22
- package/es/hooks/useEngineContext.d.ts +0 -10
- package/es/index.d.ts +0 -45
- package/es/utils/locales.d.ts +0 -1
- package/es/utils/tasks/index.d.ts +0 -16
- package/es/utils/tasks/type.d.ts +0 -4
- package/lib/businessModel/SalesModel/Sales/index.d.ts +0 -24
- package/lib/businessModel/SalesModel/hooks/index.d.ts +0 -1
- package/lib/businessModel/SalesModel/index.d.ts +0 -3
- package/lib/businessModel/index.d.ts +0 -0
- package/lib/components/Sales/Cart/index.d.ts +0 -53
- package/lib/components/Sales/Cart/serve.d.ts +0 -2
- package/lib/components/Sales/Cart/types.d.ts +0 -19
- package/lib/components/Sales/Checkout/index.d.ts +0 -33
- package/lib/components/Sales/Checkout/serve.d.ts +0 -2
- package/lib/components/Sales/Checkout/utils.d.ts +0 -27
- package/lib/components/Sales/Customer/index.d.ts +0 -24
- package/lib/components/Sales/Event/Detail.d.ts +0 -27
- package/lib/components/Sales/Event/index.d.ts +0 -30
- package/lib/components/Sales/Event/serve.d.ts +0 -26
- package/lib/components/Sales/Holder/index.d.ts +0 -33
- package/lib/components/Sales/Holder/serve.d.ts +0 -8
- package/lib/components/Sales/Init/index.d.ts +0 -24
- package/lib/components/Sales/Init/serve.d.ts +0 -3
- package/lib/components/Sales/Resource/index.d.ts +0 -26
- package/lib/components/Sales/Resource/serve.d.ts +0 -5
- package/lib/components/Sales/Step/index.d.ts +0 -37
- package/lib/components/Sales/Summary/index.d.ts +0 -25
- package/lib/components/Sales/Summary/serve.d.ts +0 -0
- package/lib/components/Sales/Summary/utils.d.ts +0 -36
- package/lib/components/Sales/hooks/index.d.ts +0 -1
- package/lib/components/Sales/index.d.ts +0 -20
- package/lib/components/Sales/utils/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Date/state.d.ts +0 -62
- package/lib/components/appointmentBooking/locales.d.ts +0 -345
- package/lib/components/appointmentBooking/mock.d.ts +0 -627
- package/lib/components/appointmentBooking/status.d.ts +0 -21
- package/lib/components/appointmentBooking/type.d.ts +0 -17
- package/lib/components/booking/addons/index.d.ts +0 -17
- package/lib/components/booking/components/customSelect/index.d.ts +0 -38
- package/lib/components/booking/components/footer/amount.d.ts +0 -23
- package/lib/components/booking/components/footer/index.d.ts +0 -11
- package/lib/components/booking/components/footer/serve.d.ts +0 -3
- package/lib/components/booking/components/footer/utils.d.ts +0 -30
- package/lib/components/booking/forms/index.d.ts +0 -9
- package/lib/components/booking/forms/serve.d.ts +0 -18
- package/lib/components/booking/hooks/useCreateBookingPageHeader.d.ts +0 -6
- package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
- package/lib/components/booking/info/Provider.d.ts +0 -0
- package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -6
- package/lib/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +0 -25
- package/lib/components/booking/info/clientVariant/vertical/index.d.ts +0 -8
- package/lib/components/booking/info/hooks/useAddHolder.d.ts +0 -2
- package/lib/components/booking/info/hooks/useHolderConfig.d.ts +0 -9
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -9
- package/lib/components/booking/info/index.d.ts +0 -3
- package/lib/components/booking/info/main.d.ts +0 -12
- package/lib/components/booking/info/model.d.ts +0 -14
- package/lib/components/booking/info/pet/index.d.ts +0 -14
- package/lib/components/booking/info/service/Lists.d.ts +0 -2
- package/lib/components/booking/info/service/addService/index.d.ts +0 -11
- package/lib/components/booking/info/service/addService/utils.d.ts +0 -71
- package/lib/components/booking/info/service/editService/EditTabs/index.d.ts +0 -3
- package/lib/components/booking/info/service/index.d.ts +0 -4
- package/lib/components/booking/info/service/serve.d.ts +0 -11
- package/lib/components/booking/info/service/serviceList/index.d.ts +0 -5
- package/lib/components/booking/info/service/serviceManager/distributeDiscount.d.ts +0 -11
- package/lib/components/booking/info/service/serviceManager/index.d.ts +0 -20
- package/lib/components/booking/info/service/serviceManager/utils.d.ts +0 -0
- package/lib/components/booking/info/service2/Group/utils.d.ts +0 -14
- package/lib/components/booking/info/service2/Lists.d.ts +0 -2
- package/lib/components/booking/info/service2/hooks/useSelectPet.d.ts +0 -6
- package/lib/components/booking/info/service2/index.d.ts +0 -6
- package/lib/components/booking/info/service2/status.d.ts +0 -31
- package/lib/components/booking/info/service2/utils.d.ts +0 -241
- package/lib/components/booking/info2/index.d.ts +0 -12
- package/lib/components/booking/info2/serve.d.ts +0 -6
- package/lib/components/booking/info2/service/addService/index.d.ts +0 -11
- package/lib/components/booking/info2/service/addService/utils.d.ts +0 -88
- package/lib/components/booking/info2/service/addTimeModal/index.d.ts +0 -3
- package/lib/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.d.ts +0 -7
- package/lib/components/booking/info2/service/editService/Resources/index.d.ts +0 -4
- package/lib/components/booking/info2/service/editService/utils.d.ts +0 -13
- package/lib/components/booking/info2/service/index.d.ts +0 -4
- package/lib/components/booking/info2/utils.d.ts +0 -4
- package/lib/components/booking/info2/utilsByBooking.d.ts +0 -34
- package/lib/components/booking/locales.d.ts +0 -786
- package/lib/components/booking/materiels/contacts/index.d.ts +0 -15
- package/lib/components/booking/materiels/holder/index.d.ts +0 -6
- package/lib/components/booking/model.d.ts +0 -115
- package/lib/components/booking/notes/addNote/index.d.ts +0 -3
- package/lib/components/booking/payments/index.d.ts +0 -9
- package/lib/components/booking/utils.d.ts +0 -172
- package/lib/components/eftpos/index.d.ts +0 -46
- package/lib/components/eftposPay/index.d.ts +0 -4
- package/lib/components/eftposPay/windcave/windcave.d.ts +0 -6
- package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -3
- package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -3
- package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -2
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -3
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -3
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -4
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -3
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.d.ts +0 -63
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/index.d.ts +0 -14
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/utils.d.ts +0 -34
- package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -2
- package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -2
- package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -9
- package/lib/components/eventBooking/components/scheduleCalendar/index.d.ts +0 -13
- package/lib/components/eventBooking/index.d.ts +0 -3
- package/lib/components/eventBooking/locales.d.ts +0 -216
- package/lib/components/eventBooking/mock.d.ts +0 -627
- package/lib/components/eventBooking/status.d.ts +0 -21
- package/lib/components/eventBooking/type.d.ts +0 -17
- package/lib/components/eventBooking/utils.d.ts +0 -45
- package/lib/components/index.d.ts +0 -18
- package/lib/components/login/index.d.ts +0 -8
- package/lib/components/login/locales.d.ts +0 -24
- package/lib/components/pay/toC/PaymentList/serve.d.ts +0 -28
- package/lib/components/pay/toC/serve.d.ts +0 -34
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -2
- package/lib/components/productExtension/index.d.ts +0 -7
- package/lib/components/productSelect/hooks/useToken.d.ts +0 -18
- package/lib/components/productSelect/locales.d.ts +0 -18
- package/lib/components/productSelect/mock.d.ts +0 -134
- package/lib/components/productSelect/theme/token.d.ts +0 -17
- package/lib/components/ruleSetting/index.d.ts +0 -9
- package/lib/components/schedules/index.d.ts +0 -3
- package/lib/components/shoppingCart/Provider.d.ts +0 -3
- package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -3
- package/lib/components/shoppingCart/components/Render/index.d.ts +0 -3
- package/lib/components/shoppingCart/hooks/useContext.d.ts +0 -1
- package/lib/components/shoppingCart/index.d.ts +0 -3
- package/lib/components/shoppingCart/locales.d.ts +0 -33
- package/lib/components/shoppingCart/mock.d.ts +0 -40
- package/lib/components/shoppingCart/status.d.ts +0 -2
- package/lib/components/shoppingCart/type.d.ts +0 -48
- package/lib/components/shoppingCart/utils.d.ts +0 -63
- package/lib/components/subTotal/locales.d.ts +0 -42
- package/lib/components/taxSelect/index.d.ts +0 -11
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -6
- package/lib/components/ticketBooking/components/menuBar/index.d.ts +0 -3
- package/lib/components/ticketBooking/data.d.ts +0 -58
- package/lib/components/ticketBooking/hooks/useNetworkStatus.d.ts +0 -11
- package/lib/components/ticketBooking/index.d.ts +0 -3
- package/lib/components/ticketBooking/locales.d.ts +0 -144
- package/lib/components/ticketBooking/miniRedux.d.ts +0 -22
- package/lib/components/ticketBooking/serve.d.ts +0 -282
- package/lib/components/ticketBooking/utils/index.d.ts +0 -14
- package/lib/components/wallet/Detail/locales.d.ts +0 -96
- package/lib/components/wallet/Detail/model.d.ts +0 -13
- package/lib/components/wallet/Detail/serve.d.ts +0 -39
- package/lib/components/wallet/DetailContext.d.ts +0 -25
- package/lib/components/wallet/DiscountCard/model.d.ts +0 -14
- package/lib/components/wallet/PointCard/model.d.ts +0 -13
- package/lib/components/wallet/RechargeableCard/model.d.ts +0 -29
- package/lib/components/wallet/RechargeableCard/serve.d.ts +0 -23
- package/lib/components/wallet/Voucher/locales.d.ts +0 -21
- package/lib/components/wallet/Voucher/model.d.ts +0 -13
- package/lib/components/wallet/components/FooterButtons/index.d.ts +0 -18
- package/lib/components/wallet/components/index.d.ts +0 -2
- package/lib/components/wallet/hooks/useWalletCard.d.ts +0 -33
- package/lib/components/wallet/locales.d.ts +0 -132
- package/lib/components/wallet/model.d.ts +0 -37
- package/lib/components/wallet/serve.d.ts +0 -143
- package/lib/components/wallet/utils/formatUtils.d.ts +0 -36
- package/lib/components/walletList/model.d.ts +0 -6
- package/lib/components/walletList/serve.d.ts +0 -12
- package/lib/components/walletList/types/index.d.ts +0 -194
- package/lib/components/workSpaceList/components/WorkspaceItem/index.d.ts +0 -22
- package/lib/hooks/useEngineContext.d.ts +0 -10
- package/lib/index.d.ts +0 -45
- package/lib/utils/locales.d.ts +0 -1
- package/lib/utils/tasks/index.d.ts +0 -16
- package/lib/utils/tasks/type.d.ts +0 -4
|
@@ -1,194 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
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;
|
|
@@ -1,10 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
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';
|
package/es/utils/locales.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getLocale: () => string;
|
|
@@ -1,16 +0,0 @@
|
|
|
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
|
-
}
|
package/es/utils/tasks/type.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
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 {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useHooks: () => any;
|
|
File without changes
|
|
@@ -1,53 +0,0 @@
|
|
|
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;
|
|
@@ -1,19 +0,0 @@
|
|
|
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;
|
|
@@ -1,33 +0,0 @@
|
|
|
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;
|
|
@@ -1,27 +0,0 @@
|
|
|
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) => any;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface CustomerData {
|
|
3
|
-
}
|
|
4
|
-
interface CustomerContextType {
|
|
5
|
-
appUtils: any;
|
|
6
|
-
isLogin: () => boolean;
|
|
7
|
-
openLoginModal: (params: any) => void;
|
|
8
|
-
getUserInfo: () => any;
|
|
9
|
-
}
|
|
10
|
-
interface CustomerProviderProps {
|
|
11
|
-
children: React.ReactNode;
|
|
12
|
-
}
|
|
13
|
-
export declare const CustomerContext: React.Context<CustomerContextType | undefined>;
|
|
14
|
-
export declare const CustomerProvider: React.FC<CustomerProviderProps>;
|
|
15
|
-
/**
|
|
16
|
-
* 使用步骤管理的Hook
|
|
17
|
-
* @throws {Error} 如果在StepProvider外部使用会抛出错误
|
|
18
|
-
* @returns {StepContextType} 步骤管理上下文
|
|
19
|
-
*/
|
|
20
|
-
export declare const useCustomer: () => CustomerContextType;
|
|
21
|
-
declare const _default: {
|
|
22
|
-
defaultState: CustomerData;
|
|
23
|
-
};
|
|
24
|
-
export default _default;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface EventDetailContextType {
|
|
3
|
-
detail: any;
|
|
4
|
-
open: boolean;
|
|
5
|
-
onOpenEventDetail: (eventItem: any) => void;
|
|
6
|
-
onCloseEventDetail: () => void;
|
|
7
|
-
onSelectEventDetail: () => void;
|
|
8
|
-
selectEventDetailBookingOptions: (v: any) => void;
|
|
9
|
-
getEventDetailSelectDate: {
|
|
10
|
-
run: (id: number, params: any) => void;
|
|
11
|
-
loading: boolean;
|
|
12
|
-
data?: any;
|
|
13
|
-
};
|
|
14
|
-
currentBookingOption: any;
|
|
15
|
-
}
|
|
16
|
-
interface EventDetailProviderProps {
|
|
17
|
-
children: React.ReactNode;
|
|
18
|
-
}
|
|
19
|
-
export declare const EventDetailContext: React.Context<EventDetailContextType | undefined>;
|
|
20
|
-
export declare const EventDetailProvider: React.FC<EventDetailProviderProps>;
|
|
21
|
-
/**
|
|
22
|
-
* 使用步骤管理的Hook
|
|
23
|
-
* @throws {Error} 如果在StepProvider外部使用会抛出错误
|
|
24
|
-
* @returns {StepContextType} 步骤管理上下文
|
|
25
|
-
*/
|
|
26
|
-
export declare const useEventDetail: () => EventDetailContextType;
|
|
27
|
-
export {};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface EventData {
|
|
3
|
-
currentEventItem: any;
|
|
4
|
-
eventList: any[];
|
|
5
|
-
}
|
|
6
|
-
interface EventContextType {
|
|
7
|
-
eventData: EventData;
|
|
8
|
-
getEventList: {
|
|
9
|
-
run: (params: any) => void;
|
|
10
|
-
loading: boolean;
|
|
11
|
-
data?: EventData['eventList'];
|
|
12
|
-
};
|
|
13
|
-
getEventListByTitle: (title: string) => any;
|
|
14
|
-
selectEvent: (eventItem: any) => void;
|
|
15
|
-
}
|
|
16
|
-
interface EventProviderProps {
|
|
17
|
-
children: React.ReactNode;
|
|
18
|
-
}
|
|
19
|
-
export declare const EventContext: React.Context<EventContextType | undefined>;
|
|
20
|
-
export declare const EventProvider: React.FC<EventProviderProps>;
|
|
21
|
-
/**
|
|
22
|
-
* 使用步骤管理的Hook
|
|
23
|
-
* @throws {Error} 如果在StepProvider外部使用会抛出错误
|
|
24
|
-
* @returns {StepContextType} 步骤管理上下文
|
|
25
|
-
*/
|
|
26
|
-
export declare const useEvent: () => EventContextType;
|
|
27
|
-
declare const _default: {
|
|
28
|
-
defaultState: EventData;
|
|
29
|
-
};
|
|
30
|
-
export default _default;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @title: 获取活动列表
|
|
3
|
-
* @description: https://menutech.w.eolink.com/home/api-studio/inside/K2bI3n465fe7244b3dbd6679d87caedfbb0636bf8c29eda/api/3102494/detail/55349999?spaceKey=menutech
|
|
4
|
-
* @param {any} params
|
|
5
|
-
* @return {*}
|
|
6
|
-
* @Author: zhiwei.Wang
|
|
7
|
-
*/
|
|
8
|
-
export declare const getEventListApi: (params: {
|
|
9
|
-
event_item_resource_id: number | string;
|
|
10
|
-
title?: string;
|
|
11
|
-
skip?: number;
|
|
12
|
-
num?: number;
|
|
13
|
-
}) => Promise<any>;
|
|
14
|
-
export declare const getEventDetailIntroductionApi: (eventItemId: number | string) => Promise<any>;
|
|
15
|
-
export declare const getEventDetailTeacherApi: (params: {
|
|
16
|
-
event_item_id: number | string;
|
|
17
|
-
}) => Promise<any>;
|
|
18
|
-
export declare const getEventDetailBookingOptionsApi: (params: {
|
|
19
|
-
ids: number | string;
|
|
20
|
-
num: number;
|
|
21
|
-
skip: number;
|
|
22
|
-
}) => Promise<any>;
|
|
23
|
-
export declare const getEventDetailSelectDateApi: (id: number | string, params: {
|
|
24
|
-
days: number;
|
|
25
|
-
start_date?: string;
|
|
26
|
-
}) => Promise<any>;
|
|
@@ -1,33 +0,0 @@
|
|
|
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;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface InitData {
|
|
3
|
-
boardSetting?: any;
|
|
4
|
-
form_id?: number;
|
|
5
|
-
shop_id?: number;
|
|
6
|
-
shop?: any;
|
|
7
|
-
}
|
|
8
|
-
interface InitContextType {
|
|
9
|
-
getBoardSetting: any;
|
|
10
|
-
initData: InitData;
|
|
11
|
-
resetInitPartData: () => void;
|
|
12
|
-
}
|
|
13
|
-
interface InitProviderProps {
|
|
14
|
-
children: React.ReactNode;
|
|
15
|
-
}
|
|
16
|
-
export declare const InitContext: React.Context<InitContextType | undefined>;
|
|
17
|
-
export declare const InitProvider: React.FC<InitProviderProps>;
|
|
18
|
-
/**
|
|
19
|
-
* 使用步骤管理的Hook
|
|
20
|
-
* @throws {Error} 如果在StepProvider外部使用会抛出错误
|
|
21
|
-
* @returns {StepContextType} 步骤管理上下文
|
|
22
|
-
*/
|
|
23
|
-
export declare const useInit: () => InitContextType;
|
|
24
|
-
export {};
|