@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,18 +0,0 @@
|
|
|
1
|
-
import Login from './login';
|
|
2
|
-
import BookingInfo from './booking/info/index';
|
|
3
|
-
import Booking from './booking';
|
|
4
|
-
import BookingNotes from './booking/notes';
|
|
5
|
-
import BookingAddons from './booking/addons';
|
|
6
|
-
import BookingForms from './booking/forms';
|
|
7
|
-
import Schedules from './schedules';
|
|
8
|
-
import ProductExtension from './productExtension';
|
|
9
|
-
import RuleSetting from './ruleSetting';
|
|
10
|
-
import TaxSelect from './taxSelect';
|
|
11
|
-
import ToCPay from './pay/toC';
|
|
12
|
-
import Wallet from './wallet';
|
|
13
|
-
import WalletList from './walletList';
|
|
14
|
-
import WorkspaceListDetail from './workSpaceListDetail/';
|
|
15
|
-
import WorkspaceList from './workSpaceList';
|
|
16
|
-
import PisellSelectCustomerModal from './pisellSelectCustomerModal';
|
|
17
|
-
import SubTotal from './subTotal';
|
|
18
|
-
export { Login, BookingInfo, Booking, BookingNotes, BookingAddons, BookingForms, Schedules, ProductExtension, RuleSetting, TaxSelect, ToCPay, PisellSelectCustomerModal, Wallet, WalletList, WorkspaceList, WorkspaceListDetail, SubTotal, };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
en: {
|
|
3
|
-
'pisell2.text.login': string;
|
|
4
|
-
"pisell2.text.email-placeholder": string;
|
|
5
|
-
"pisell2.text.password-placeholder": string;
|
|
6
|
-
"pisell2.text.password-error": string;
|
|
7
|
-
"pisell2.text.email-error": string;
|
|
8
|
-
};
|
|
9
|
-
'zh-CN': {
|
|
10
|
-
'pisell2.text.login': string;
|
|
11
|
-
"pisell2.text.email-placeholder": string;
|
|
12
|
-
"pisell2.text.password-placeholder": string;
|
|
13
|
-
"pisell2.text.password-error": string;
|
|
14
|
-
"pisell2.text.email-error": string;
|
|
15
|
-
};
|
|
16
|
-
'zh-HK': {
|
|
17
|
-
'pisell2.text.login': string;
|
|
18
|
-
"pisell2.text.email-placeholder": string;
|
|
19
|
-
"pisell2.text.password-placeholder": string;
|
|
20
|
-
"pisell2.text.password-error": string;
|
|
21
|
-
"pisell2.text.email-error": string;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
export default _default;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @title: 获取支付列表
|
|
3
|
-
* @description:
|
|
4
|
-
* @param {any} values
|
|
5
|
-
* @return {*}
|
|
6
|
-
* @Author: zhiwei.Wang
|
|
7
|
-
* @Date: 2024-08-16 10:57
|
|
8
|
-
*/
|
|
9
|
-
export declare const getPaymentList: (values: any) => Promise<{
|
|
10
|
-
message: string;
|
|
11
|
-
status: string;
|
|
12
|
-
paymentList: any[];
|
|
13
|
-
walletPass: any;
|
|
14
|
-
}>;
|
|
15
|
-
/**
|
|
16
|
-
* @title: 过滤支付列表
|
|
17
|
-
* @description:
|
|
18
|
-
* @param {any} list
|
|
19
|
-
* @return {*}
|
|
20
|
-
* @Author: zhiwei.Wang
|
|
21
|
-
* @Date: 2024-08-16 10:57
|
|
22
|
-
*/
|
|
23
|
-
export declare const filterPaymentList: (list: any[], platform?: string) => {
|
|
24
|
-
message: string;
|
|
25
|
-
status: string;
|
|
26
|
-
paymentList: any[];
|
|
27
|
-
walletPass: any;
|
|
28
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export declare const getPaymentList: (values: any) => Promise<{
|
|
2
|
-
message: string;
|
|
3
|
-
status: string;
|
|
4
|
-
paymentList?: undefined;
|
|
5
|
-
} | {
|
|
6
|
-
message: string;
|
|
7
|
-
status: string;
|
|
8
|
-
paymentList: any;
|
|
9
|
-
}>;
|
|
10
|
-
/**
|
|
11
|
-
* @title: 聚合接口, 根据订单 返回支付列表和钱包
|
|
12
|
-
* @description:
|
|
13
|
-
* @param {object} values
|
|
14
|
-
* @return {*}
|
|
15
|
-
* @Author: zhiwei.Wang
|
|
16
|
-
* @Date: 2024-08-15 11:52
|
|
17
|
-
*/
|
|
18
|
-
export declare const getPaymentsAndWalletPass: (values: {
|
|
19
|
-
order_id: string;
|
|
20
|
-
total_amount: number;
|
|
21
|
-
sale_channel: string;
|
|
22
|
-
}) => Promise<any>;
|
|
23
|
-
/**
|
|
24
|
-
* @title: 初始化交易组
|
|
25
|
-
* @description:
|
|
26
|
-
* @param {object} values
|
|
27
|
-
* @return {*}
|
|
28
|
-
* @Author: zhiwei.Wang
|
|
29
|
-
* @Date: 2024-08-16 10:42
|
|
30
|
-
*/
|
|
31
|
-
export declare const getPaymentInit: (values: {
|
|
32
|
-
order_id?: string;
|
|
33
|
-
amount?: number;
|
|
34
|
-
}) => Promise<any>;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ProductSelectToken } from '../theme/token';
|
|
2
|
-
export declare function useToken(customToken?: Partial<ProductSelectToken>): {
|
|
3
|
-
colorPrimary: string;
|
|
4
|
-
colorText: string;
|
|
5
|
-
colorTextSecondary: string;
|
|
6
|
-
searchInputColor: string;
|
|
7
|
-
containerBg: string;
|
|
8
|
-
tabItemBg: string;
|
|
9
|
-
tabItemHoverBg: string;
|
|
10
|
-
tabItemActiveBg: string;
|
|
11
|
-
categoryTextColor: string;
|
|
12
|
-
cardBg: string;
|
|
13
|
-
cardHoverBg: string;
|
|
14
|
-
cardSelectedBg: string;
|
|
15
|
-
cardSelectedTextColor: string;
|
|
16
|
-
cardSelectedSecondaryTextColor: string;
|
|
17
|
-
};
|
|
18
|
-
export declare function genCSSVars(token: ProductSelectToken): Record<string, string>;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
en: {
|
|
3
|
-
'pisell2.product-select.search': string;
|
|
4
|
-
'pisell2.product-select.stock': string;
|
|
5
|
-
'pisell2.product-select.empty': string;
|
|
6
|
-
};
|
|
7
|
-
'zh-CN': {
|
|
8
|
-
'pisell2.product-select.search': string;
|
|
9
|
-
'pisell2.product-select.stock': string;
|
|
10
|
-
'pisell2.product-select.empty': string;
|
|
11
|
-
};
|
|
12
|
-
'zh-HK': {
|
|
13
|
-
'pisell2.product-select.search': string;
|
|
14
|
-
'pisell2.product-select.stock': string;
|
|
15
|
-
'pisell2.product-select.empty': string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
export default _default;
|
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
declare const products: {
|
|
2
|
-
id: number;
|
|
3
|
-
extension_id: number;
|
|
4
|
-
extension_type: string;
|
|
5
|
-
shop_id: number;
|
|
6
|
-
title: string;
|
|
7
|
-
slug: string;
|
|
8
|
-
status: string;
|
|
9
|
-
stock_quantity: number;
|
|
10
|
-
sales_quantity: number;
|
|
11
|
-
sum_stock: number;
|
|
12
|
-
price: string;
|
|
13
|
-
original_price: string;
|
|
14
|
-
cost_price: string;
|
|
15
|
-
cover: string;
|
|
16
|
-
channel_application: string[];
|
|
17
|
-
is_track: number;
|
|
18
|
-
over_sold: number;
|
|
19
|
-
is_gst: number;
|
|
20
|
-
code: string;
|
|
21
|
-
barcode: string;
|
|
22
|
-
is_delivery: number;
|
|
23
|
-
weight_unit: string;
|
|
24
|
-
weight_value: string;
|
|
25
|
-
type: string;
|
|
26
|
-
unit: string;
|
|
27
|
-
sort: number;
|
|
28
|
-
bundle_group_count: number;
|
|
29
|
-
option_group_count: number;
|
|
30
|
-
is_variant: number;
|
|
31
|
-
variant_count: number;
|
|
32
|
-
cut_off_time: {
|
|
33
|
-
unit: number;
|
|
34
|
-
unit_type: string;
|
|
35
|
-
future_day: number;
|
|
36
|
-
type: string;
|
|
37
|
-
ongoing: {
|
|
38
|
-
type: string;
|
|
39
|
-
unit: number;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
policy: number;
|
|
43
|
-
machine_code: {
|
|
44
|
-
make_over: number;
|
|
45
|
-
beforehand: number;
|
|
46
|
-
limit_count: number;
|
|
47
|
-
customer: number;
|
|
48
|
-
send_action: string;
|
|
49
|
-
hide_recharge: number;
|
|
50
|
-
distributor_automatic: number;
|
|
51
|
-
};
|
|
52
|
-
duration: {
|
|
53
|
-
type: string;
|
|
54
|
-
value: number;
|
|
55
|
-
};
|
|
56
|
-
product_resource: {
|
|
57
|
-
resources: ({
|
|
58
|
-
id: number;
|
|
59
|
-
title: string;
|
|
60
|
-
status: number;
|
|
61
|
-
code: string;
|
|
62
|
-
created_at: string;
|
|
63
|
-
updated_at: string;
|
|
64
|
-
type: string;
|
|
65
|
-
optional_resource: number[];
|
|
66
|
-
default_resource: never[];
|
|
67
|
-
select_type: {
|
|
68
|
-
type: string;
|
|
69
|
-
min: number;
|
|
70
|
-
max: number;
|
|
71
|
-
};
|
|
72
|
-
resource_type_id: number;
|
|
73
|
-
} | {
|
|
74
|
-
id: number;
|
|
75
|
-
title: string;
|
|
76
|
-
status: number;
|
|
77
|
-
code: string;
|
|
78
|
-
created_at: string;
|
|
79
|
-
updated_at: null;
|
|
80
|
-
type: string;
|
|
81
|
-
optional_resource: never[];
|
|
82
|
-
default_resource: never[];
|
|
83
|
-
select_type: {
|
|
84
|
-
type: string;
|
|
85
|
-
min: number;
|
|
86
|
-
max: number;
|
|
87
|
-
};
|
|
88
|
-
resource_type_id: number;
|
|
89
|
-
})[];
|
|
90
|
-
};
|
|
91
|
-
capacity: {
|
|
92
|
-
type: string;
|
|
93
|
-
custom: {
|
|
94
|
-
name: {
|
|
95
|
-
en: string;
|
|
96
|
-
"zh-CN": string;
|
|
97
|
-
"zh-HK": string;
|
|
98
|
-
original: string;
|
|
99
|
-
};
|
|
100
|
-
min: number;
|
|
101
|
-
max: number;
|
|
102
|
-
id: string;
|
|
103
|
-
}[];
|
|
104
|
-
package: never[];
|
|
105
|
-
};
|
|
106
|
-
product_display_setting: {
|
|
107
|
-
kiosk: {
|
|
108
|
-
use_display_mode: number;
|
|
109
|
-
product_option_mode: null;
|
|
110
|
-
product_option_mode_paging: null;
|
|
111
|
-
product_bundle_mode: null;
|
|
112
|
-
product_bundle_mode_paging: null;
|
|
113
|
-
};
|
|
114
|
-
};
|
|
115
|
-
shelf_product_datas: never[];
|
|
116
|
-
step_value: number;
|
|
117
|
-
min_num_unit: number;
|
|
118
|
-
is_charge_tax: number;
|
|
119
|
-
base_price: string;
|
|
120
|
-
variant: never[];
|
|
121
|
-
category: {
|
|
122
|
-
id: number;
|
|
123
|
-
name: string;
|
|
124
|
-
icon: string;
|
|
125
|
-
slug: string;
|
|
126
|
-
sort: number;
|
|
127
|
-
}[];
|
|
128
|
-
collection: {
|
|
129
|
-
id: number;
|
|
130
|
-
title: string;
|
|
131
|
-
cover: string;
|
|
132
|
-
}[];
|
|
133
|
-
}[];
|
|
134
|
-
export default products;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export interface ProductSelectToken {
|
|
2
|
-
colorPrimary: string;
|
|
3
|
-
colorText: string;
|
|
4
|
-
colorTextSecondary: string;
|
|
5
|
-
searchInputColor: string;
|
|
6
|
-
containerBg: string;
|
|
7
|
-
tabItemBg: string;
|
|
8
|
-
tabItemHoverBg: string;
|
|
9
|
-
tabItemActiveBg: string;
|
|
10
|
-
categoryTextColor: string;
|
|
11
|
-
cardBg: string;
|
|
12
|
-
cardHoverBg: string;
|
|
13
|
-
cardSelectedBg: string;
|
|
14
|
-
cardSelectedTextColor: string;
|
|
15
|
-
cardSelectedSecondaryTextColor: string;
|
|
16
|
-
}
|
|
17
|
-
export declare const defaultToken: ProductSelectToken;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useContext: () => any;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
en: {
|
|
3
|
-
'pisell2.text.shopping-cart.item': (num: number) => string;
|
|
4
|
-
'pisell2.text.shopping-cart.clear.cart': string;
|
|
5
|
-
'pisell2.text.shopping-cart.add.service': string;
|
|
6
|
-
'pisell2.text.shopping-cart.add.more': string;
|
|
7
|
-
'pisell2.text.shopping-cart.no.selected': string;
|
|
8
|
-
'pisell2.text.shopping-cart.confirm': string;
|
|
9
|
-
'pisell2.text.shopping-cart.cancel': string;
|
|
10
|
-
'pisell2.text.shopping-cart.select.holder.modal.title': string;
|
|
11
|
-
};
|
|
12
|
-
'zh-CN': {
|
|
13
|
-
'pisell2.text.shopping-cart.item': (num: number) => string;
|
|
14
|
-
'pisell2.text.shopping-cart.clear.cart': string;
|
|
15
|
-
'pisell2.text.shopping-cart.add.service': string;
|
|
16
|
-
'pisell2.text.shopping-cart.add.more': string;
|
|
17
|
-
'pisell2.text.shopping-cart.no.selected': string;
|
|
18
|
-
'pisell2.text.shopping-cart.confirm': string;
|
|
19
|
-
'pisell2.text.shopping-cart.cancel': string;
|
|
20
|
-
'pisell2.text.shopping-cart.select.holder.modal.title': string;
|
|
21
|
-
};
|
|
22
|
-
'zh-HK': {
|
|
23
|
-
'pisell2.text.shopping-cart.item': (num: number) => string;
|
|
24
|
-
'pisell2.text.shopping-cart.clear.cart': string;
|
|
25
|
-
'pisell2.text.shopping-cart.add.service': string;
|
|
26
|
-
'pisell2.text.shopping-cart.add.more': string;
|
|
27
|
-
'pisell2.text.shopping-cart.no.selected': string;
|
|
28
|
-
'pisell2.text.shopping-cart.confirm': string;
|
|
29
|
-
'pisell2.text.shopping-cart.cancel': string;
|
|
30
|
-
'pisell2.text.shopping-cart.select.holder.modal.title': string;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
export default _default;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
export declare const holder: {
|
|
2
|
-
key: number;
|
|
3
|
-
label: string;
|
|
4
|
-
tip: string;
|
|
5
|
-
img: string;
|
|
6
|
-
}[];
|
|
7
|
-
export declare const products: ({
|
|
8
|
-
id: number;
|
|
9
|
-
title: string;
|
|
10
|
-
from_id: number;
|
|
11
|
-
holder: string;
|
|
12
|
-
price: number;
|
|
13
|
-
total: number;
|
|
14
|
-
num: number;
|
|
15
|
-
origin_price: number;
|
|
16
|
-
symbol: string;
|
|
17
|
-
relation_form_name: string;
|
|
18
|
-
like_status: string;
|
|
19
|
-
_extend: {
|
|
20
|
-
start_time: string;
|
|
21
|
-
duration: number;
|
|
22
|
-
date: string;
|
|
23
|
-
like_status: string;
|
|
24
|
-
};
|
|
25
|
-
product_cover: string;
|
|
26
|
-
} | {
|
|
27
|
-
id: number;
|
|
28
|
-
title: string;
|
|
29
|
-
from_id: number;
|
|
30
|
-
holder: string;
|
|
31
|
-
price: number;
|
|
32
|
-
total: number;
|
|
33
|
-
num: number;
|
|
34
|
-
symbol: string;
|
|
35
|
-
origin_price?: undefined;
|
|
36
|
-
relation_form_name?: undefined;
|
|
37
|
-
like_status?: undefined;
|
|
38
|
-
_extend?: undefined;
|
|
39
|
-
product_cover?: undefined;
|
|
40
|
-
})[];
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { CollapseProps } from 'antd';
|
|
2
|
-
export interface productProps {
|
|
3
|
-
hideAddBtn?: boolean;
|
|
4
|
-
isShowNote?: boolean;
|
|
5
|
-
isShowPackageNote?: boolean;
|
|
6
|
-
products?: any[];
|
|
7
|
-
holders?: any[];
|
|
8
|
-
isEdit?: boolean;
|
|
9
|
-
disabledEdit?: boolean;
|
|
10
|
-
isShowChangeResource?: boolean;
|
|
11
|
-
isShowDelete?: boolean;
|
|
12
|
-
isShowChangeHolder?: boolean;
|
|
13
|
-
isShowHolder?: boolean;
|
|
14
|
-
isShowAddHolderButton?: boolean;
|
|
15
|
-
}
|
|
16
|
-
export interface shoppingCartProps {
|
|
17
|
-
isOpenGroup?: boolean;
|
|
18
|
-
carts?: any[];
|
|
19
|
-
platform?: 'shop' | 'h5';
|
|
20
|
-
emptyText?: string;
|
|
21
|
-
activeKey?: string[] | number[];
|
|
22
|
-
defaultActiveKey?: string[] | number[];
|
|
23
|
-
className?: string;
|
|
24
|
-
onCard?: (e: any) => void;
|
|
25
|
-
onAction?: (e: any) => void;
|
|
26
|
-
onChange?: (items: any, type?: string, other?: any) => void;
|
|
27
|
-
onAddProduct?: (e?: any) => void;
|
|
28
|
-
onActiveKey?: (e: any) => void;
|
|
29
|
-
isShowImage?: boolean;
|
|
30
|
-
isShowHolder?: boolean;
|
|
31
|
-
isShowDelete?: boolean;
|
|
32
|
-
collapseParams?: CollapseProps;
|
|
33
|
-
productParams?: productProps;
|
|
34
|
-
isHideClearCart?: boolean;
|
|
35
|
-
isParallelResource?: boolean;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* @title: 商品卡片
|
|
39
|
-
* @description:
|
|
40
|
-
* @return {*}
|
|
41
|
-
* @Author: WangHan
|
|
42
|
-
* @Date: 2024-11-29 09:52
|
|
43
|
-
*/
|
|
44
|
-
export interface ProductProps {
|
|
45
|
-
id?: any;
|
|
46
|
-
lists: any[];
|
|
47
|
-
isAdd?: boolean;
|
|
48
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @title: 格式化购物车列表
|
|
3
|
-
* @description:
|
|
4
|
-
* @param {any} state
|
|
5
|
-
* @return {*}
|
|
6
|
-
* @Author: WangHan
|
|
7
|
-
* @Date: 2024-11-28 16:52
|
|
8
|
-
*/
|
|
9
|
-
export declare const formatCartList: (state: any) => any;
|
|
10
|
-
/**
|
|
11
|
-
* @title: 是否是空页面
|
|
12
|
-
* @description:
|
|
13
|
-
* @param {any} state
|
|
14
|
-
* @return {*}
|
|
15
|
-
* @Author: WangHan
|
|
16
|
-
* @Date: 2024-11-28 16:47
|
|
17
|
-
*/
|
|
18
|
-
export declare const isEmptyStatus: (state: any) => boolean;
|
|
19
|
-
/**
|
|
20
|
-
* @title: 是否是商品列表页面
|
|
21
|
-
* @description:
|
|
22
|
-
* @param {any} state
|
|
23
|
-
* @return {*}
|
|
24
|
-
* @Author: WangHan
|
|
25
|
-
* @Date: 2024-11-28 17:23
|
|
26
|
-
*/
|
|
27
|
-
export declare const isProductList: (state: any) => boolean;
|
|
28
|
-
/**
|
|
29
|
-
* @title: 格式化数据最终结果
|
|
30
|
-
* @description:
|
|
31
|
-
* @param {any} state
|
|
32
|
-
* @return {*}
|
|
33
|
-
* @Author: WangHan
|
|
34
|
-
* @Date: 2024-11-28 18:35
|
|
35
|
-
*/
|
|
36
|
-
export declare const formatState: (state: any) => {
|
|
37
|
-
isEmpty: boolean;
|
|
38
|
-
isProductList: boolean;
|
|
39
|
-
carts: any;
|
|
40
|
-
};
|
|
41
|
-
/**
|
|
42
|
-
* @title: 更新商品
|
|
43
|
-
* @description:
|
|
44
|
-
* @param {any} newState
|
|
45
|
-
* @param {any} state
|
|
46
|
-
* @return {*}
|
|
47
|
-
* @Author: WangHan
|
|
48
|
-
* @Date: 2024-11-28 22:30
|
|
49
|
-
*/
|
|
50
|
-
export declare const updateProduct: (state: any, newProducts: any[]) => {
|
|
51
|
-
products: any[];
|
|
52
|
-
carts: any;
|
|
53
|
-
};
|
|
54
|
-
/**
|
|
55
|
-
* @title: 格式化服务
|
|
56
|
-
* @description:
|
|
57
|
-
* @param {any} service
|
|
58
|
-
* @param {number} id holder_id
|
|
59
|
-
* @return {*}
|
|
60
|
-
* @Author: WangHan
|
|
61
|
-
* @Date: 2024-12-09 22:47
|
|
62
|
-
*/
|
|
63
|
-
export declare const formatService: (service: any[], id: number) => any[];
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
en: {
|
|
3
|
-
'pisell2.subtotal.deposit': string;
|
|
4
|
-
'pisell2.subtotal.total': string;
|
|
5
|
-
'pisell2.subtotal.subtotal': string;
|
|
6
|
-
'pisell2.subtotal.tax': string;
|
|
7
|
-
'pisell2.subtotal.delivery-fee': string;
|
|
8
|
-
'pisell2.subtotal.discount': string;
|
|
9
|
-
'pisell2.subtotal.point-deduction': string;
|
|
10
|
-
'pisell2.subtotal.member-deduction': string;
|
|
11
|
-
'pisell2.subtotal.items': string;
|
|
12
|
-
'pisell2.subtotal.not-contain': string;
|
|
13
|
-
'pisell2.subtotal.included': string;
|
|
14
|
-
};
|
|
15
|
-
'zh-CN': {
|
|
16
|
-
'pisell2.subtotal.deposit': string;
|
|
17
|
-
'pisell2.subtotal.total': string;
|
|
18
|
-
'pisell2.subtotal.subtotal': string;
|
|
19
|
-
'pisell2.subtotal.tax': string;
|
|
20
|
-
'pisell2.subtotal.delivery-fee': string;
|
|
21
|
-
'pisell2.subtotal.discount': string;
|
|
22
|
-
'pisell2.subtotal.point-deduction': string;
|
|
23
|
-
'pisell2.subtotal.member-deduction': string;
|
|
24
|
-
'pisell2.subtotal.items': string;
|
|
25
|
-
'pisell2.subtotal.not-contain': string;
|
|
26
|
-
'pisell2.subtotal.included': string;
|
|
27
|
-
};
|
|
28
|
-
'zh-HK': {
|
|
29
|
-
'pisell2.subtotal.deposit': string;
|
|
30
|
-
'pisell2.subtotal.total': string;
|
|
31
|
-
'pisell2.subtotal.subtotal': string;
|
|
32
|
-
'pisell2.subtotal.tax': string;
|
|
33
|
-
'pisell2.subtotal.delivery-fee': string;
|
|
34
|
-
'pisell2.subtotal.discount': string;
|
|
35
|
-
'pisell2.subtotal.point-deduction': string;
|
|
36
|
-
'pisell2.subtotal.member-deduction': string;
|
|
37
|
-
'pisell2.subtotal.items': string;
|
|
38
|
-
'pisell2.subtotal.not-contain': string;
|
|
39
|
-
'pisell2.subtotal.included': string;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
export default _default;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { SelectProps } from "antd";
|
|
2
|
-
import "./index.less";
|
|
3
|
-
interface TaxSelectProps {
|
|
4
|
-
selectProps?: SelectProps;
|
|
5
|
-
value: string;
|
|
6
|
-
tax_rate?: string;
|
|
7
|
-
tax_title?: string;
|
|
8
|
-
onChange: (value: string) => void;
|
|
9
|
-
}
|
|
10
|
-
declare const TaxSelect: (props: TaxSelectProps) => JSX.Element;
|
|
11
|
-
export default TaxSelect;
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
declare const mockProduct: {
|
|
2
|
-
order_id: number;
|
|
3
|
-
shop_id: number;
|
|
4
|
-
product_id: number;
|
|
5
|
-
product_variant_id: number;
|
|
6
|
-
product_unique_string: string;
|
|
7
|
-
product_title: string;
|
|
8
|
-
product_cover: string;
|
|
9
|
-
product_sku: {
|
|
10
|
-
code: string;
|
|
11
|
-
name: string;
|
|
12
|
-
barcode: string;
|
|
13
|
-
sku_ids: string;
|
|
14
|
-
variant: never[];
|
|
15
|
-
variant_id: string;
|
|
16
|
-
generate_voucher: never[];
|
|
17
|
-
};
|
|
18
|
-
product_bundle: never[];
|
|
19
|
-
gift_card: number;
|
|
20
|
-
selling_price: string;
|
|
21
|
-
original_price: string;
|
|
22
|
-
cost_price: string;
|
|
23
|
-
product_quantity: number;
|
|
24
|
-
payment_price: string;
|
|
25
|
-
deposit_price: string;
|
|
26
|
-
tax_fee: string;
|
|
27
|
-
is_charge_tax: number;
|
|
28
|
-
refund_quantity: number;
|
|
29
|
-
refund_status: string;
|
|
30
|
-
shipping_status: string;
|
|
31
|
-
payment_status: string;
|
|
32
|
-
commission: number;
|
|
33
|
-
commission_tax: number;
|
|
34
|
-
rebate_type: string;
|
|
35
|
-
rebate_value: string;
|
|
36
|
-
commission_percent: string;
|
|
37
|
-
channel: string;
|
|
38
|
-
channel_id: number;
|
|
39
|
-
item_relation_id: number;
|
|
40
|
-
schedule_event_id: number;
|
|
41
|
-
note: string;
|
|
42
|
-
extension_type: string;
|
|
43
|
-
before_product_quantity: number;
|
|
44
|
-
remove_product_quantity: number;
|
|
45
|
-
deleted_at: null;
|
|
46
|
-
created_at: string;
|
|
47
|
-
updated_at: string;
|
|
48
|
-
order_detail_id: number;
|
|
49
|
-
product_option_string: string;
|
|
50
|
-
product_subtitle: string;
|
|
51
|
-
source_product_price: string;
|
|
52
|
-
discount_amount: number;
|
|
53
|
-
product_discount_reason: string;
|
|
54
|
-
discount_type: string;
|
|
55
|
-
discountway: string;
|
|
56
|
-
discount_per: string;
|
|
57
|
-
single_discount: null;
|
|
58
|
-
};
|