@pisell/private-materials 6.2.32 → 6.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -9
- package/build/lowcode/preview.js +13 -13
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +9 -9
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +9 -9
- package/es/components/Sales/Cart/index.js +0 -1
- package/es/components/Sales/Summary/utils.d.ts +1 -1
- package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
- package/es/components/appointmentBooking/components/Cart/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Header/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Voucher/index.d.ts +1 -0
- package/es/components/appointmentBooking/deposit/index.d.ts +1 -0
- package/es/components/booking/addons/index.js +1 -4
- package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
- package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
- package/es/components/booking/components/collapsibleList/utils.d.ts +1 -0
- package/es/components/booking/components/emptyBooking/index.d.ts +1 -0
- package/es/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
- package/es/components/booking/components/footer/amount.d.ts +0 -1
- package/es/components/booking/components/footer/amount.js +3 -15
- package/es/components/booking/components/footer/index.js +42 -113
- package/es/components/booking/components/footer/index.less +2 -3
- package/es/components/booking/components/footer/utils.js +23 -51
- package/es/components/booking/components/reloadResourceModal/index.d.ts +1 -0
- package/es/components/booking/components/tabPane/index.js +5 -72
- package/es/components/booking/components/tabPane/index.less +1 -75
- package/es/components/booking/components/voucher/index.js +12 -26
- package/es/components/booking/components/voucher/index.less +1 -1
- package/es/components/booking/dashboard/index.d.ts +1 -1
- package/es/components/booking/dashboard/index.js +3 -10
- package/es/components/booking/deposit/index.d.ts +1 -0
- package/es/components/booking/forms/forms.js +1 -1
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
- package/es/components/booking/forms/single/index.d.ts +1 -0
- package/es/components/booking/hooks/useClearCart.d.ts +1 -0
- package/es/components/booking/hooks/useQuotation.js +8 -18
- package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
- package/es/components/booking/info/date/index.d.ts +1 -0
- package/es/components/booking/info/header/index.d.ts +1 -0
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -2
- package/es/components/booking/info/hooks/useInfoHolder.js +12 -13
- package/es/components/booking/info/index.less +3 -19
- package/es/components/booking/info/main.js +15 -14
- package/es/components/booking/info/notes/index.d.ts +1 -0
- package/es/components/booking/info/pet/index.less +1 -1
- package/es/components/booking/info/service/Lists.d.ts +0 -1
- package/es/components/booking/info/service/Lists.js +2 -5
- package/es/components/booking/info/service/actions/index.d.ts +1 -0
- package/es/components/booking/info/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info/service/index.less +1 -1
- package/es/components/booking/info/service/serviceItem/index.js +2 -2
- package/es/components/booking/info/service/serviceList/index.d.ts +1 -0
- package/es/components/booking/info/service2/utils.d.ts +1 -5
- package/es/components/booking/info/service2/utils.js +2 -21
- package/es/components/booking/info2/index.js +18 -40
- package/es/components/booking/info2/service/actions/index.d.ts +1 -0
- package/es/components/booking/info2/service/addService/index.d.ts +1 -0
- package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info2/service/addService/utils.js +2 -1
- package/es/components/booking/info2/service/addTimeModal/index.js +1 -2
- package/es/components/booking/info2/service/editService/index.js +4 -4
- package/es/components/booking/info2/service/index.js +6 -11
- package/es/components/booking/info2/service/serviceItem/index.js +2 -2
- package/es/components/booking/info2/service/serviceList/index.d.ts +1 -0
- package/es/components/booking/info2/utilsByBooking.d.ts +0 -1
- package/es/components/booking/info2/utilsByBooking.js +6 -29
- package/es/components/booking/locales.d.ts +0 -78
- package/es/components/booking/locales.js +4 -106
- package/es/components/booking/materiels/contacts/index.d.ts +1 -0
- package/es/components/booking/materiels/duration/index.js +1 -1
- package/es/components/booking/materiels/startTime/index.d.ts +0 -1
- package/es/components/booking/materiels/startTime/index.js +1 -1
- package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
- package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
- package/es/components/booking/notes/addNote/index.d.ts +1 -1
- package/es/components/booking/notes/addNote/index.js +32 -52
- package/es/components/booking/notes/addNote/index.less +0 -53
- package/es/components/booking/utils.js +3 -3
- package/es/components/eftpos/index.d.ts +1 -0
- package/es/components/eftpos/pos.d.ts +1 -0
- package/es/components/eftposPay/amount.d.ts +2 -1
- package/es/components/eftposPay/component/fail/network.d.ts +1 -0
- package/es/components/eftposPay/component/manual/index.d.ts +1 -0
- package/es/components/eftposPay/component/signature/index.d.ts +1 -0
- package/es/components/eftposPay/device.d.ts +2 -1
- package/es/components/eftposPay/hooks.d.ts +1 -1
- package/es/components/eftposPay/payo/config.d.ts +1 -0
- package/es/components/eftposPay/store/index.d.ts +5 -5
- package/es/components/eftposPay/tip.d.ts +1 -0
- package/es/components/eftposPay/windcave/receiptAction.d.ts +1 -0
- package/es/components/eftposPay/windcave/windcave.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
- package/es/components/login/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
- package/es/components/productExtension/index.d.ts +1 -0
- package/es/components/productSelect/components/TabProduct/index.d.ts +1 -0
- package/es/components/productSelect/components/productGroup/index.js +4 -20
- package/es/components/productSelect/components/productGroup/index.less +0 -17
- package/es/components/ruleSetting/ruleBorder/index.d.ts +1 -0
- package/es/components/schedules/calendar/index.d.ts +1 -0
- package/es/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
- package/es/components/schedules/components/ScheduleList/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
- package/es/components/schedules/products/list/ProductItem/index.d.ts +1 -0
- package/es/components/schedules/products/list/index.d.ts +1 -0
- package/es/components/schedules/resources/index.d.ts +1 -0
- package/es/components/schedules/resources/list/index.d.ts +1 -0
- package/es/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
- package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
- package/es/components/schedules/schedules/index.d.ts +1 -0
- package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -1
- package/es/components/shoppingCart/components/Cart/Product.js +7 -46
- package/es/components/shoppingCart/components/Cart/index.d.ts +1 -0
- package/es/components/shoppingCart/components/Cart/index.less +1 -15
- package/es/components/shoppingCart/hooks/useAddService.d.ts +1 -0
- package/es/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
- package/es/components/shoppingCart/index.d.ts +1 -0
- package/es/components/shoppingCart/type.d.ts +0 -1
- package/es/components/subTotal/index.less +1 -1
- package/es/components/taxSelect/index.d.ts +1 -0
- package/es/components/ticketBooking/components/addServiceVariant/addService.js +291 -158
- package/es/components/ticketBooking/components/menuBar/index.d.ts +1 -0
- package/es/components/ticketBooking/components/ticketBooking/index.js +34 -214
- package/es/components/ticketBooking/components/ticketBooking/index.less +1 -29
- package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -1
- package/es/components/ticketBooking/components/timeBar/index.js +15 -19
- package/es/components/ticketBooking/index.js +3 -21
- package/es/components/ticketBooking/index.less +1 -1
- package/es/components/ticketBooking/locales.d.ts +3 -9
- package/es/components/ticketBooking/locales.js +3 -9
- package/es/components/ticketBooking/serve.js +11 -11
- package/es/components/ticketBooking/utils/index.d.ts +4 -39
- package/es/components/ticketBooking/utils/index.js +28 -109
- package/es/components/wallet/hooks/useWalletCard.d.ts +1 -0
- package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
- package/es/index.d.ts +0 -4
- package/es/index.js +1 -5
- package/lib/components/Sales/Cart/index.js +0 -1
- package/lib/components/Sales/Summary/utils.d.ts +1 -1
- package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Cart/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Header/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Voucher/index.d.ts +1 -0
- package/lib/components/appointmentBooking/deposit/index.d.ts +1 -0
- package/lib/components/booking/addons/index.js +1 -4
- package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
- package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
- package/lib/components/booking/components/collapsibleList/utils.d.ts +1 -0
- package/lib/components/booking/components/emptyBooking/index.d.ts +1 -0
- package/lib/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
- package/lib/components/booking/components/footer/amount.d.ts +0 -1
- package/lib/components/booking/components/footer/amount.js +3 -5
- package/lib/components/booking/components/footer/index.js +23 -96
- package/lib/components/booking/components/footer/index.less +2 -3
- package/lib/components/booking/components/footer/utils.js +12 -37
- package/lib/components/booking/components/reloadResourceModal/index.d.ts +1 -0
- package/lib/components/booking/components/tabPane/index.js +4 -57
- package/lib/components/booking/components/tabPane/index.less +1 -75
- package/lib/components/booking/components/voucher/index.js +11 -23
- package/lib/components/booking/components/voucher/index.less +1 -1
- package/lib/components/booking/dashboard/index.d.ts +1 -1
- package/lib/components/booking/dashboard/index.js +2 -7
- package/lib/components/booking/deposit/index.d.ts +1 -0
- package/lib/components/booking/forms/forms.js +1 -1
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
- package/lib/components/booking/forms/single/index.d.ts +1 -0
- package/lib/components/booking/hooks/useClearCart.d.ts +1 -0
- package/lib/components/booking/hooks/useQuotation.js +2 -4
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
- package/lib/components/booking/info/date/index.d.ts +1 -0
- package/lib/components/booking/info/header/index.d.ts +1 -0
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -2
- package/lib/components/booking/info/hooks/useInfoHolder.js +6 -12
- package/lib/components/booking/info/index.less +3 -19
- package/lib/components/booking/info/main.js +5 -12
- package/lib/components/booking/info/notes/index.d.ts +1 -0
- package/lib/components/booking/info/pet/index.less +1 -1
- package/lib/components/booking/info/service/Lists.d.ts +0 -1
- package/lib/components/booking/info/service/Lists.js +2 -6
- package/lib/components/booking/info/service/actions/index.d.ts +1 -0
- package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info/service/index.less +1 -1
- package/lib/components/booking/info/service/serviceItem/index.js +2 -2
- package/lib/components/booking/info/service/serviceList/index.d.ts +1 -0
- package/lib/components/booking/info/service2/utils.d.ts +1 -5
- package/lib/components/booking/info/service2/utils.js +2 -23
- package/lib/components/booking/info2/index.js +9 -30
- package/lib/components/booking/info2/service/actions/index.d.ts +1 -0
- package/lib/components/booking/info2/service/addService/index.d.ts +1 -0
- package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/addService/utils.js +3 -3
- package/lib/components/booking/info2/service/addTimeModal/index.js +0 -1
- package/lib/components/booking/info2/service/editService/index.js +3 -3
- package/lib/components/booking/info2/service/index.js +6 -6
- package/lib/components/booking/info2/service/serviceItem/index.js +2 -2
- package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -0
- package/lib/components/booking/info2/utilsByBooking.d.ts +0 -1
- package/lib/components/booking/info2/utilsByBooking.js +4 -24
- package/lib/components/booking/locales.d.ts +0 -78
- package/lib/components/booking/locales.js +4 -100
- package/lib/components/booking/materiels/contacts/index.d.ts +1 -0
- package/lib/components/booking/materiels/duration/index.js +1 -1
- package/lib/components/booking/materiels/startTime/index.d.ts +0 -1
- package/lib/components/booking/materiels/startTime/index.js +1 -1
- package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
- package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
- package/lib/components/booking/notes/addNote/index.d.ts +1 -1
- package/lib/components/booking/notes/addNote/index.js +23 -41
- package/lib/components/booking/notes/addNote/index.less +0 -53
- package/lib/components/booking/utils.js +3 -3
- package/lib/components/eftpos/index.d.ts +1 -0
- package/lib/components/eftpos/pos.d.ts +1 -0
- package/lib/components/eftposPay/amount.d.ts +2 -1
- package/lib/components/eftposPay/component/fail/network.d.ts +1 -0
- package/lib/components/eftposPay/component/manual/index.d.ts +1 -0
- package/lib/components/eftposPay/component/signature/index.d.ts +1 -0
- package/lib/components/eftposPay/device.d.ts +2 -1
- package/lib/components/eftposPay/hooks.d.ts +1 -1
- package/lib/components/eftposPay/payo/config.d.ts +1 -0
- package/lib/components/eftposPay/store/index.d.ts +5 -5
- package/lib/components/eftposPay/tip.d.ts +1 -0
- package/lib/components/eftposPay/windcave/receiptAction.d.ts +1 -0
- package/lib/components/eftposPay/windcave/windcave.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
- package/lib/components/login/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
- package/lib/components/productExtension/index.d.ts +1 -0
- package/lib/components/productSelect/components/TabProduct/index.d.ts +1 -0
- package/lib/components/productSelect/components/productGroup/index.js +3 -16
- package/lib/components/productSelect/components/productGroup/index.less +0 -17
- package/lib/components/ruleSetting/ruleBorder/index.d.ts +1 -0
- package/lib/components/schedules/calendar/index.d.ts +1 -0
- package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
- package/lib/components/schedules/components/ScheduleList/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
- package/lib/components/schedules/products/list/ProductItem/index.d.ts +1 -0
- package/lib/components/schedules/products/list/index.d.ts +1 -0
- package/lib/components/schedules/resources/index.d.ts +1 -0
- package/lib/components/schedules/resources/list/index.d.ts +1 -0
- package/lib/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
- package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
- package/lib/components/schedules/schedules/index.d.ts +1 -0
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -1
- package/lib/components/shoppingCart/components/Cart/Product.js +9 -45
- package/lib/components/shoppingCart/components/Cart/index.d.ts +1 -0
- package/lib/components/shoppingCart/components/Cart/index.less +1 -15
- package/lib/components/shoppingCart/hooks/useAddService.d.ts +1 -0
- package/lib/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
- package/lib/components/shoppingCart/index.d.ts +1 -0
- package/lib/components/shoppingCart/type.d.ts +0 -1
- package/lib/components/subTotal/index.less +1 -1
- package/lib/components/taxSelect/index.d.ts +1 -0
- package/lib/components/ticketBooking/components/addServiceVariant/addService.js +185 -45
- package/lib/components/ticketBooking/components/menuBar/index.d.ts +1 -0
- package/lib/components/ticketBooking/components/ticketBooking/index.js +81 -233
- package/lib/components/ticketBooking/components/ticketBooking/index.less +1 -29
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -1
- package/lib/components/ticketBooking/components/timeBar/index.js +8 -15
- package/lib/components/ticketBooking/index.js +4 -31
- package/lib/components/ticketBooking/index.less +1 -1
- package/lib/components/ticketBooking/locales.d.ts +3 -9
- package/lib/components/ticketBooking/locales.js +3 -9
- package/lib/components/ticketBooking/serve.js +11 -11
- package/lib/components/ticketBooking/utils/index.d.ts +4 -39
- package/lib/components/ticketBooking/utils/index.js +30 -69
- package/lib/components/wallet/hooks/useWalletCard.d.ts +1 -0
- package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
- package/lib/index.d.ts +0 -4
- package/lib/index.js +0 -12
- package/package.json +26 -26
- package/es/components/booking/components/actionButtons/index.d.ts +0 -31
- package/es/components/booking/components/actionButtons/index.js +0 -486
- package/es/components/booking/components/actionButtons/index.less +0 -215
- package/es/components/booking/components/clearCartModal/index.d.ts +0 -10
- package/es/components/booking/components/clearCartModal/index.js +0 -50
- package/es/components/booking/components/clearCartModal/index.less +0 -109
- package/es/components/booking/components/customiseItemModal/index.d.ts +0 -28
- package/es/components/booking/components/customiseItemModal/index.js +0 -298
- package/es/components/booking/components/customiseItemModal/index.less +0 -606
- package/es/components/booking/components/voucherModal/index.d.ts +0 -19
- package/es/components/booking/components/voucherModal/index.js +0 -47
- package/es/components/booking/components/voucherModal/index.less +0 -23
- package/es/components/booking/info2/cartClientCard/index.d.ts +0 -6
- package/es/components/booking/info2/cartClientCard/index.js +0 -343
- package/es/components/booking/info2/cartClientCard/index.less +0 -6
- package/es/components/booking/info2/cartClientCard/locales.d.ts +0 -21
- package/es/components/booking/info2/cartClientCard/locales.js +0 -26
- package/es/components/booking/info2/cartClientCard/types.d.ts +0 -13
- package/es/components/booking/info2/cartClientCard/types.js +0 -1
- package/es/components/booking/info2/cartClientCard/utils.d.ts +0 -3
- package/es/components/booking/info2/cartClientCard/utils.js +0 -7
- package/es/components/booking/info2/service/editNormalService/index.d.ts +0 -3
- package/es/components/booking/info2/service/editNormalService/index.js +0 -67
- package/es/components/ticketBooking/components/addServiceVariant/utils.d.ts +0 -8
- package/es/components/ticketBooking/components/addServiceVariant/utils.js +0 -191
- package/es/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.d.ts +0 -7
- package/es/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.js +0 -33
- package/es/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.less +0 -5
- package/es/components/ticketBooking/components/bookingDataPanel/bookingList/index.d.ts +0 -12
- package/es/components/ticketBooking/components/bookingDataPanel/bookingList/index.js +0 -213
- package/es/components/ticketBooking/components/bookingDataPanel/bookingList/index.less +0 -69
- package/es/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +0 -6
- package/es/components/ticketBooking/components/bookingDataPanel/bookingList/utils.js +0 -79
- package/es/components/ticketBooking/components/bookingDataPanel/constants.d.ts +0 -22
- package/es/components/ticketBooking/components/bookingDataPanel/constants.js +0 -25
- package/es/components/ticketBooking/components/bookingDataPanel/index.d.ts +0 -9
- package/es/components/ticketBooking/components/bookingDataPanel/index.js +0 -74
- package/es/components/ticketBooking/components/bookingDataPanel/index.less +0 -61
- package/es/components/ticketBooking/components/bookingDataPanel/pisellFloatingPanel/index.d.ts +0 -14
- package/es/components/ticketBooking/components/bookingDataPanel/pisellFloatingPanel/index.js +0 -71
- package/es/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
- package/es/components/ticketBooking/components/bookingDataPanel/serve.js +0 -0
- package/es/components/ticketBooking/components/floatButtons/index.d.ts +0 -11
- package/es/components/ticketBooking/components/floatButtons/index.js +0 -19
- package/es/components/ticketBooking/components/floatButtons/index.less +0 -17
- package/es/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +0 -1
- package/es/components/ticketBooking/hooks/pisellos/bookingTicket.js +0 -5
- package/es/components/ticketBooking/hooks/pisellos/index.d.ts +0 -3
- package/es/components/ticketBooking/hooks/pisellos/index.js +0 -3
- package/es/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +0 -25
- package/es/components/ticketBooking/hooks/pisellos/useCustomer.js +0 -247
- package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +0 -12
- package/es/components/ticketBooking/hooks/pisellos/useProducts.js +0 -52
- package/es/components/ticketBooking/hooks/pisellos/useScanCustomer.d.ts +0 -5
- package/es/components/ticketBooking/hooks/pisellos/useScanCustomer.js +0 -30
- package/es/components/ticketBooking/hooks/pisellos/useScanGlobal.d.ts +0 -5
- package/es/components/ticketBooking/hooks/pisellos/useScanGlobal.js +0 -29
- package/es/components/ticketBooking/hooks/pisellos/useScanGlobalHandle.d.ts +0 -2
- package/es/components/ticketBooking/hooks/pisellos/useScanGlobalHandle.js +0 -49
- package/es/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +0 -6
- package/es/components/ticketBooking/hooks/pisellos/useScanManager.js +0 -20
- package/es/hooks/useToast.d.ts +0 -2
- package/es/hooks/useToast.js +0 -9
- package/es/hooks/useTranslationOriginal.d.ts +0 -1
- package/es/hooks/useTranslationOriginal.js +0 -10
- package/es/plus/clientCard/index.d.ts +0 -7
- package/es/plus/clientCard/index.js +0 -452
- package/es/plus/clientCard/index.less +0 -536
- package/es/plus/clientCard/line/index.d.ts +0 -9
- package/es/plus/clientCard/line/index.js +0 -157
- package/es/plus/clientCard/line/index.less +0 -142
- package/es/plus/clientCard/locales.d.ts +0 -18
- package/es/plus/clientCard/locales.js +0 -17
- package/es/plus/clientCard/types.d.ts +0 -126
- package/es/plus/clientCard/types.js +0 -1
- package/es/plus/clientCard/utils.d.ts +0 -8
- package/es/plus/clientCard/utils.js +0 -59
- package/es/plus/clientName/index.d.ts +0 -5
- package/es/plus/clientName/index.js +0 -18
- package/es/plus/clientName/index.less +0 -10
- package/es/plus/clientName/type.d.ts +0 -13
- package/es/plus/clientName/type.js +0 -1
- package/es/plus/clientName/utils.d.ts +0 -2
- package/es/plus/clientName/utils.js +0 -18
- package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -2
- package/es/plus/clinetSearch/Add/BirthdayField/index.js +0 -277
- package/es/plus/clinetSearch/Add/GenderField/index.d.ts +0 -2
- package/es/plus/clinetSearch/Add/GenderField/index.js +0 -18
- package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -3
- package/es/plus/clinetSearch/Add/PhoneField/index.js +0 -52
- package/es/plus/clinetSearch/Add/PhoneField/serve.d.ts +0 -2
- package/es/plus/clinetSearch/Add/PhoneField/serve.js +0 -166
- package/es/plus/clinetSearch/Add/index.d.ts +0 -18
- package/es/plus/clinetSearch/Add/index.js +0 -212
- package/es/plus/clinetSearch/Add/index.less +0 -30
- package/es/plus/clinetSearch/InfiniteScroll/InfiniteScroll.d.ts +0 -5
- package/es/plus/clinetSearch/InfiniteScroll/InfiniteScroll.js +0 -265
- package/es/plus/clinetSearch/InfiniteScroll/index.d.ts +0 -2
- package/es/plus/clinetSearch/InfiniteScroll/index.js +0 -1
- package/es/plus/clinetSearch/InfiniteScroll/types.d.ts +0 -46
- package/es/plus/clinetSearch/InfiniteScroll/types.js +0 -1
- package/es/plus/clinetSearch/index.d.ts +0 -18
- package/es/plus/clinetSearch/index.js +0 -214
- package/es/plus/clinetSearch/index.less +0 -91
- package/es/plus/clinetSearch/locales.d.ts +0 -102
- package/es/plus/clinetSearch/locales.js +0 -101
- package/es/plus/clinetSearch/serve.d.ts +0 -1
- package/es/plus/clinetSearch/serve.js +0 -31
- package/es/plus/clinetSearch/types.d.ts +0 -49
- package/es/plus/clinetSearch/types.js +0 -1
- package/es/plus/noteModal/AddTempModal.d.ts +0 -7
- package/es/plus/noteModal/AddTempModal.js +0 -64
- package/es/plus/noteModal/index.d.ts +0 -4
- package/es/plus/noteModal/index.js +0 -199
- package/es/plus/noteModal/index.less +0 -168
- package/es/plus/noteModal/locales.d.ts +0 -33
- package/es/plus/noteModal/locales.js +0 -32
- package/es/plus/noteModal/types.d.ts +0 -17
- package/es/plus/noteModal/types.js +0 -1
- package/es/pro/comprehensiveSearch/camera.svg +0 -4
- package/es/pro/comprehensiveSearch/hooks/useNativeScanner.d.ts +0 -5
- package/es/pro/comprehensiveSearch/hooks/useNativeScanner.js +0 -24
- package/es/pro/comprehensiveSearch/hooks/useTerminalPeripherals.d.ts +0 -9
- package/es/pro/comprehensiveSearch/hooks/useTerminalPeripherals.js +0 -44
- package/es/pro/comprehensiveSearch/index.d.ts +0 -9
- package/es/pro/comprehensiveSearch/index.js +0 -342
- package/es/pro/comprehensiveSearch/index.less +0 -323
- package/es/pro/comprehensiveSearch/locales.d.ts +0 -18
- package/es/pro/comprehensiveSearch/locales.js +0 -17
- package/es/pro/comprehensiveSearch/types.d.ts +0 -31
- package/es/pro/comprehensiveSearch/types.js +0 -1
- package/es/pro/numberKeyboard/index.d.ts +0 -28
- package/es/pro/numberKeyboard/index.js +0 -155
- package/es/pro/numberKeyboard/index.less +0 -25
- package/es/pro/numberKeyboard/locales.d.ts +0 -12
- package/es/pro/numberKeyboard/locales.js +0 -11
- package/es/pro/pisellNumberSelector/example.d.ts +0 -3
- package/es/pro/pisellNumberSelector/example.js +0 -68
- package/es/pro/pisellNumberSelector/index.d.ts +0 -26
- package/es/pro/pisellNumberSelector/index.js +0 -250
- package/es/pro/pisellNumberSelector/index.less +0 -193
- package/es/pro/pisellPhoneKeyboard/index.d.ts +0 -12
- package/es/pro/pisellPhoneKeyboard/index.js +0 -210
- package/es/pro/pisellPhoneKeyboard/index.less +0 -157
- package/es/pro/pisellPhoneKeyboard/locales.d.ts +0 -12
- package/es/pro/pisellPhoneKeyboard/locales.js +0 -11
- package/es/pro/pisellPriceKeyboardModal/PisellPriceKeyboardModal.d.ts +0 -5
- package/es/pro/pisellPriceKeyboardModal/PisellPriceKeyboardModal.js +0 -158
- package/es/pro/pisellPriceKeyboardModal/PisellPriceKeyboardModal.less +0 -13
- package/es/pro/pisellPriceKeyboardModal/index.d.ts +0 -2
- package/es/pro/pisellPriceKeyboardModal/index.js +0 -1
- package/es/pro/pisellPriceKeyboardModal/types.d.ts +0 -25
- package/es/pro/pisellPriceKeyboardModal/types.js +0 -1
- package/es/pro/pisellPriceRadio/index.d.ts +0 -26
- package/es/pro/pisellPriceRadio/index.js +0 -113
- package/es/pro/pisellPriceRadio/index.less +0 -158
- package/es/pro/skuDetailModal/index.d.ts +0 -5
- package/es/pro/skuDetailModal/index.js +0 -352
- package/es/pro/skuDetailModal/index.less +0 -236
- package/es/pro/skuDetailModal/locales.d.ts +0 -48
- package/es/pro/skuDetailModal/locales.js +0 -47
- package/es/pro/skuDetailModal/types.d.ts +0 -347
- package/es/pro/skuDetailModal/types.js +0 -1
- package/lib/components/booking/components/actionButtons/index.d.ts +0 -31
- package/lib/components/booking/components/actionButtons/index.js +0 -386
- package/lib/components/booking/components/actionButtons/index.less +0 -215
- package/lib/components/booking/components/clearCartModal/index.d.ts +0 -10
- package/lib/components/booking/components/clearCartModal/index.js +0 -80
- package/lib/components/booking/components/clearCartModal/index.less +0 -109
- package/lib/components/booking/components/customiseItemModal/index.d.ts +0 -28
- package/lib/components/booking/components/customiseItemModal/index.js +0 -285
- package/lib/components/booking/components/customiseItemModal/index.less +0 -606
- package/lib/components/booking/components/voucherModal/index.d.ts +0 -19
- package/lib/components/booking/components/voucherModal/index.js +0 -83
- package/lib/components/booking/components/voucherModal/index.less +0 -23
- package/lib/components/booking/info2/cartClientCard/index.d.ts +0 -6
- package/lib/components/booking/info2/cartClientCard/index.js +0 -298
- package/lib/components/booking/info2/cartClientCard/index.less +0 -6
- package/lib/components/booking/info2/cartClientCard/locales.d.ts +0 -21
- package/lib/components/booking/info2/cartClientCard/locales.js +0 -50
- package/lib/components/booking/info2/cartClientCard/types.d.ts +0 -13
- package/lib/components/booking/info2/cartClientCard/types.js +0 -17
- package/lib/components/booking/info2/cartClientCard/utils.d.ts +0 -3
- package/lib/components/booking/info2/cartClientCard/utils.js +0 -37
- package/lib/components/booking/info2/service/editNormalService/index.d.ts +0 -3
- package/lib/components/booking/info2/service/editNormalService/index.js +0 -100
- package/lib/components/ticketBooking/components/addServiceVariant/utils.d.ts +0 -8
- package/lib/components/ticketBooking/components/addServiceVariant/utils.js +0 -174
- package/lib/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.d.ts +0 -7
- package/lib/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.js +0 -75
- package/lib/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.less +0 -5
- package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/index.d.ts +0 -12
- package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/index.js +0 -210
- package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/index.less +0 -69
- package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +0 -6
- package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/utils.js +0 -105
- package/lib/components/ticketBooking/components/bookingDataPanel/constants.d.ts +0 -22
- package/lib/components/ticketBooking/components/bookingDataPanel/constants.js +0 -57
- package/lib/components/ticketBooking/components/bookingDataPanel/index.d.ts +0 -9
- package/lib/components/ticketBooking/components/bookingDataPanel/index.js +0 -113
- package/lib/components/ticketBooking/components/bookingDataPanel/index.less +0 -61
- package/lib/components/ticketBooking/components/bookingDataPanel/pisellFloatingPanel/index.d.ts +0 -14
- package/lib/components/ticketBooking/components/bookingDataPanel/pisellFloatingPanel/index.js +0 -84
- package/lib/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
- package/lib/components/ticketBooking/components/bookingDataPanel/serve.js +0 -0
- package/lib/components/ticketBooking/components/floatButtons/index.d.ts +0 -11
- package/lib/components/ticketBooking/components/floatButtons/index.js +0 -52
- package/lib/components/ticketBooking/components/floatButtons/index.less +0 -17
- package/lib/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +0 -1
- package/lib/components/ticketBooking/hooks/pisellos/bookingTicket.js +0 -33
- package/lib/components/ticketBooking/hooks/pisellos/index.d.ts +0 -3
- package/lib/components/ticketBooking/hooks/pisellos/index.js +0 -27
- package/lib/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +0 -25
- package/lib/components/ticketBooking/hooks/pisellos/useCustomer.js +0 -147
- package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +0 -12
- package/lib/components/ticketBooking/hooks/pisellos/useProducts.js +0 -47
- package/lib/components/ticketBooking/hooks/pisellos/useScanCustomer.d.ts +0 -5
- package/lib/components/ticketBooking/hooks/pisellos/useScanCustomer.js +0 -64
- package/lib/components/ticketBooking/hooks/pisellos/useScanGlobal.d.ts +0 -5
- package/lib/components/ticketBooking/hooks/pisellos/useScanGlobal.js +0 -65
- package/lib/components/ticketBooking/hooks/pisellos/useScanGlobalHandle.d.ts +0 -2
- package/lib/components/ticketBooking/hooks/pisellos/useScanGlobalHandle.js +0 -83
- package/lib/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +0 -6
- package/lib/components/ticketBooking/hooks/pisellos/useScanManager.js +0 -44
- package/lib/hooks/useToast.d.ts +0 -2
- package/lib/hooks/useToast.js +0 -42
- package/lib/hooks/useTranslationOriginal.d.ts +0 -1
- package/lib/hooks/useTranslationOriginal.js +0 -42
- package/lib/plus/clientCard/index.d.ts +0 -7
- package/lib/plus/clientCard/index.js +0 -442
- package/lib/plus/clientCard/index.less +0 -536
- package/lib/plus/clientCard/line/index.d.ts +0 -9
- package/lib/plus/clientCard/line/index.js +0 -153
- package/lib/plus/clientCard/line/index.less +0 -142
- package/lib/plus/clientCard/locales.d.ts +0 -18
- package/lib/plus/clientCard/locales.js +0 -41
- package/lib/plus/clientCard/types.d.ts +0 -126
- package/lib/plus/clientCard/types.js +0 -17
- package/lib/plus/clientCard/utils.d.ts +0 -8
- package/lib/plus/clientCard/utils.js +0 -75
- package/lib/plus/clientName/index.d.ts +0 -5
- package/lib/plus/clientName/index.js +0 -53
- package/lib/plus/clientName/index.less +0 -10
- package/lib/plus/clientName/type.d.ts +0 -13
- package/lib/plus/clientName/type.js +0 -17
- package/lib/plus/clientName/utils.d.ts +0 -2
- package/lib/plus/clientName/utils.js +0 -43
- package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -2
- package/lib/plus/clinetSearch/Add/BirthdayField/index.js +0 -256
- package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +0 -2
- package/lib/plus/clinetSearch/Add/GenderField/index.js +0 -52
- package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -3
- package/lib/plus/clinetSearch/Add/PhoneField/index.js +0 -78
- package/lib/plus/clinetSearch/Add/PhoneField/serve.d.ts +0 -2
- package/lib/plus/clinetSearch/Add/PhoneField/serve.js +0 -193
- package/lib/plus/clinetSearch/Add/index.d.ts +0 -18
- package/lib/plus/clinetSearch/Add/index.js +0 -243
- package/lib/plus/clinetSearch/Add/index.less +0 -30
- package/lib/plus/clinetSearch/InfiniteScroll/InfiniteScroll.d.ts +0 -5
- package/lib/plus/clinetSearch/InfiniteScroll/InfiniteScroll.js +0 -235
- package/lib/plus/clinetSearch/InfiniteScroll/index.d.ts +0 -2
- package/lib/plus/clinetSearch/InfiniteScroll/index.js +0 -35
- package/lib/plus/clinetSearch/InfiniteScroll/types.d.ts +0 -46
- package/lib/plus/clinetSearch/InfiniteScroll/types.js +0 -17
- package/lib/plus/clinetSearch/index.d.ts +0 -18
- package/lib/plus/clinetSearch/index.js +0 -205
- package/lib/plus/clinetSearch/index.less +0 -91
- package/lib/plus/clinetSearch/locales.d.ts +0 -102
- package/lib/plus/clinetSearch/locales.js +0 -125
- package/lib/plus/clinetSearch/serve.d.ts +0 -1
- package/lib/plus/clinetSearch/serve.js +0 -33
- package/lib/plus/clinetSearch/types.d.ts +0 -49
- package/lib/plus/clinetSearch/types.js +0 -17
- package/lib/plus/noteModal/AddTempModal.d.ts +0 -7
- package/lib/plus/noteModal/AddTempModal.js +0 -95
- package/lib/plus/noteModal/index.d.ts +0 -4
- package/lib/plus/noteModal/index.js +0 -199
- package/lib/plus/noteModal/index.less +0 -168
- package/lib/plus/noteModal/locales.d.ts +0 -33
- package/lib/plus/noteModal/locales.js +0 -56
- package/lib/plus/noteModal/types.d.ts +0 -17
- package/lib/plus/noteModal/types.js +0 -17
- package/lib/pro/comprehensiveSearch/camera.svg +0 -4
- package/lib/pro/comprehensiveSearch/hooks/useNativeScanner.d.ts +0 -5
- package/lib/pro/comprehensiveSearch/hooks/useNativeScanner.js +0 -56
- package/lib/pro/comprehensiveSearch/hooks/useTerminalPeripherals.d.ts +0 -9
- package/lib/pro/comprehensiveSearch/hooks/useTerminalPeripherals.js +0 -70
- package/lib/pro/comprehensiveSearch/index.d.ts +0 -9
- package/lib/pro/comprehensiveSearch/index.js +0 -259
- package/lib/pro/comprehensiveSearch/index.less +0 -323
- package/lib/pro/comprehensiveSearch/locales.d.ts +0 -18
- package/lib/pro/comprehensiveSearch/locales.js +0 -41
- package/lib/pro/comprehensiveSearch/types.d.ts +0 -31
- package/lib/pro/comprehensiveSearch/types.js +0 -17
- package/lib/pro/numberKeyboard/index.d.ts +0 -28
- package/lib/pro/numberKeyboard/index.js +0 -182
- package/lib/pro/numberKeyboard/index.less +0 -25
- package/lib/pro/numberKeyboard/locales.d.ts +0 -12
- package/lib/pro/numberKeyboard/locales.js +0 -35
- package/lib/pro/pisellNumberSelector/example.d.ts +0 -3
- package/lib/pro/pisellNumberSelector/example.js +0 -93
- package/lib/pro/pisellNumberSelector/index.d.ts +0 -26
- package/lib/pro/pisellNumberSelector/index.js +0 -270
- package/lib/pro/pisellNumberSelector/index.less +0 -193
- package/lib/pro/pisellPhoneKeyboard/index.d.ts +0 -12
- package/lib/pro/pisellPhoneKeyboard/index.js +0 -219
- package/lib/pro/pisellPhoneKeyboard/index.less +0 -157
- package/lib/pro/pisellPhoneKeyboard/locales.d.ts +0 -12
- package/lib/pro/pisellPhoneKeyboard/locales.js +0 -35
- package/lib/pro/pisellPriceKeyboardModal/PisellPriceKeyboardModal.d.ts +0 -5
- package/lib/pro/pisellPriceKeyboardModal/PisellPriceKeyboardModal.js +0 -158
- package/lib/pro/pisellPriceKeyboardModal/PisellPriceKeyboardModal.less +0 -13
- package/lib/pro/pisellPriceKeyboardModal/index.d.ts +0 -2
- package/lib/pro/pisellPriceKeyboardModal/index.js +0 -35
- package/lib/pro/pisellPriceKeyboardModal/types.d.ts +0 -25
- package/lib/pro/pisellPriceKeyboardModal/types.js +0 -17
- package/lib/pro/pisellPriceRadio/index.d.ts +0 -26
- package/lib/pro/pisellPriceRadio/index.js +0 -130
- package/lib/pro/pisellPriceRadio/index.less +0 -158
- package/lib/pro/skuDetailModal/index.d.ts +0 -5
- package/lib/pro/skuDetailModal/index.js +0 -311
- package/lib/pro/skuDetailModal/index.less +0 -236
- package/lib/pro/skuDetailModal/locales.d.ts +0 -48
- package/lib/pro/skuDetailModal/locales.js +0 -71
- package/lib/pro/skuDetailModal/types.d.ts +0 -347
- package/lib/pro/skuDetailModal/types.js +0 -17
- package/lowcode/client-card/fragments/cardStyle.ts +0 -63
- package/lowcode/client-card/fragments/nameStyle.ts +0 -34
- package/lowcode/client-card/fragments/pisellAvatar.ts +0 -87
- package/lowcode/client-card/fragments/tagConfig.ts +0 -88
- package/lowcode/client-card/meta.ts +0 -337
- package/lowcode/comprehensive-search/meta.ts +0 -261
@@ -2,7 +2,6 @@ declare const _default: {
|
|
2
2
|
en: {
|
3
3
|
'pisell2.ticket-booking.info': string;
|
4
4
|
'pisell2.ticket-booking.notes': string;
|
5
|
-
'pisell2.ticket-booking.note': string;
|
6
5
|
'pisell2.ticket-booking.forms': string;
|
7
6
|
'pisell2.ticket-booking.sales': string;
|
8
7
|
'pisell2.ticket-booking.payment': string;
|
@@ -55,13 +54,11 @@ declare const _default: {
|
|
55
54
|
'pisell2.product.card.day': (val: number) => string;
|
56
55
|
'pisell2.product.card.day.event': (val: number) => string;
|
57
56
|
'pisell2.product.card.minute': (val: number) => string;
|
58
|
-
|
59
|
-
'pisell2.text.scan-global-failed': string;
|
57
|
+
"pisell2.ticket-booking.reload": string;
|
60
58
|
};
|
61
59
|
'zh-CN': {
|
62
60
|
'pisell2.ticket-booking.info': string;
|
63
61
|
'pisell2.ticket-booking.notes': string;
|
64
|
-
'pisell2.ticket-booking.note': string;
|
65
62
|
'pisell2.ticket-booking.forms': string;
|
66
63
|
'pisell2.ticket-booking.sales': string;
|
67
64
|
'pisell2.ticket-booking.payment': string;
|
@@ -114,13 +111,11 @@ declare const _default: {
|
|
114
111
|
'pisell2.product.card.day': (val: number) => string;
|
115
112
|
'pisell2.product.card.day.event': (val: number) => string;
|
116
113
|
'pisell2.product.card.minute': (val: number) => string;
|
117
|
-
|
118
|
-
'pisell2.text.scan-global-failed': string;
|
114
|
+
"pisell2.ticket-booking.reload": string;
|
119
115
|
};
|
120
116
|
'zh-HK': {
|
121
117
|
'pisell2.ticket-booking.info': string;
|
122
118
|
'pisell2.ticket-booking.notes': string;
|
123
|
-
'pisell2.ticket-booking.note': string;
|
124
119
|
'pisell2.ticket-booking.forms': string;
|
125
120
|
'pisell2.ticket-booking.sales': string;
|
126
121
|
'pisell2.ticket-booking.payment': string;
|
@@ -173,8 +168,7 @@ declare const _default: {
|
|
173
168
|
'pisell2.product.card.day': (val: number) => string;
|
174
169
|
'pisell2.product.card.day.event': (val: number) => string;
|
175
170
|
'pisell2.product.card.minute': (val: number) => string;
|
176
|
-
|
177
|
-
'pisell2.text.scan-global-failed': string;
|
171
|
+
"pisell2.ticket-booking.reload": string;
|
178
172
|
};
|
179
173
|
};
|
180
174
|
export default _default;
|
@@ -2,7 +2,6 @@ export default {
|
|
2
2
|
en: {
|
3
3
|
'pisell2.ticket-booking.info': 'Info',
|
4
4
|
'pisell2.ticket-booking.notes': 'Notes',
|
5
|
-
'pisell2.ticket-booking.note': 'Note',
|
6
5
|
'pisell2.ticket-booking.forms': 'Forms',
|
7
6
|
'pisell2.ticket-booking.sales': 'Sales',
|
8
7
|
'pisell2.ticket-booking.payment': 'Payment',
|
@@ -67,13 +66,11 @@ export default {
|
|
67
66
|
'pisell2.product.card.minute': function pisell2ProductCardMinute(val) {
|
68
67
|
return "".concat(val > 1 ? ' minutes' : ' minute');
|
69
68
|
},
|
70
|
-
|
71
|
-
'pisell2.text.scan-global-failed': 'No matching results'
|
69
|
+
"pisell2.ticket-booking.reload": 'Reload'
|
72
70
|
},
|
73
71
|
'zh-CN': {
|
74
72
|
'pisell2.ticket-booking.info': '信息',
|
75
73
|
'pisell2.ticket-booking.notes': '备注',
|
76
|
-
'pisell2.ticket-booking.note': '备注',
|
77
74
|
'pisell2.ticket-booking.forms': '表单',
|
78
75
|
'pisell2.ticket-booking.sales': '销售',
|
79
76
|
'pisell2.ticket-booking.payment': '付款',
|
@@ -138,13 +135,11 @@ export default {
|
|
138
135
|
'pisell2.product.card.minute': function pisell2ProductCardMinute(val) {
|
139
136
|
return '分钟';
|
140
137
|
},
|
141
|
-
|
142
|
-
'pisell2.text.scan-global-failed': '无搜索结果'
|
138
|
+
"pisell2.ticket-booking.reload": '重新加载'
|
143
139
|
},
|
144
140
|
'zh-HK': {
|
145
141
|
'pisell2.ticket-booking.info': '資訊',
|
146
142
|
'pisell2.ticket-booking.notes': '備註',
|
147
|
-
'pisell2.ticket-booking.note': '備註',
|
148
143
|
'pisell2.ticket-booking.forms': '表单',
|
149
144
|
'pisell2.ticket-booking.sales': '銷售',
|
150
145
|
'pisell2.ticket-booking.payment': '付款',
|
@@ -209,7 +204,6 @@ export default {
|
|
209
204
|
'pisell2.product.card.minute': function pisell2ProductCardMinute(val) {
|
210
205
|
return '分鐘';
|
211
206
|
},
|
212
|
-
|
213
|
-
'pisell2.text.scan-global-failed': '無搜索結果'
|
207
|
+
"pisell2.ticket-booking.reload": '重新載入'
|
214
208
|
}
|
215
209
|
};
|
@@ -314,7 +314,7 @@ export var getAddonsByOrderId = /*#__PURE__*/function () {
|
|
314
314
|
while (1) switch (_context10.prev = _context10.next) {
|
315
315
|
case 0:
|
316
316
|
_context10.next = 2;
|
317
|
-
return request.getRequest().get("
|
317
|
+
return request.getRequest().get("/order/appointment/addons/".concat(bookingId), params);
|
318
318
|
case 2:
|
319
319
|
_yield$request$getReq9 = _context10.sent;
|
320
320
|
data = _yield$request$getReq9.data;
|
@@ -346,7 +346,7 @@ export var saveAddonsByOrderId = /*#__PURE__*/function () {
|
|
346
346
|
while (1) switch (_context11.prev = _context11.next) {
|
347
347
|
case 0:
|
348
348
|
_context11.next = 2;
|
349
|
-
return request.getRequest().put("
|
349
|
+
return request.getRequest().put("/order/appointment/addons/".concat(bookingId), params);
|
350
350
|
case 2:
|
351
351
|
_yield$request$getReq10 = _context11.sent;
|
352
352
|
data = _yield$request$getReq10.data;
|
@@ -378,7 +378,7 @@ export var getBookingDetail = /*#__PURE__*/function () {
|
|
378
378
|
while (1) switch (_context12.prev = _context12.next) {
|
379
379
|
case 0:
|
380
380
|
_context12.next = 2;
|
381
|
-
return request.getRequest().get("
|
381
|
+
return request.getRequest().get("/order/appointment/".concat(bookingId), params);
|
382
382
|
case 2:
|
383
383
|
_yield$request$getReq11 = _context12.sent;
|
384
384
|
data = _yield$request$getReq11.data;
|
@@ -410,7 +410,7 @@ export var editBookingStatus = /*#__PURE__*/function () {
|
|
410
410
|
while (1) switch (_context13.prev = _context13.next) {
|
411
411
|
case 0:
|
412
412
|
_context13.next = 2;
|
413
|
-
return request.getRequest().put("
|
413
|
+
return request.getRequest().put("/schedule/booking/appointment-status/".concat(bookingId), params);
|
414
414
|
case 2:
|
415
415
|
_yield$request$getReq12 = _context13.sent;
|
416
416
|
data = _yield$request$getReq12.data;
|
@@ -442,7 +442,7 @@ export var editBooking = /*#__PURE__*/function () {
|
|
442
442
|
while (1) switch (_context14.prev = _context14.next) {
|
443
443
|
case 0:
|
444
444
|
_context14.next = 2;
|
445
|
-
return request.getRequest().put("
|
445
|
+
return request.getRequest().put("/order/appointment/".concat(bookingId), params);
|
446
446
|
case 2:
|
447
447
|
_yield$request$getReq13 = _context14.sent;
|
448
448
|
data = _yield$request$getReq13.data;
|
@@ -536,7 +536,7 @@ export var editNoteByOrder = /*#__PURE__*/function () {
|
|
536
536
|
while (1) switch (_context17.prev = _context17.next) {
|
537
537
|
case 0:
|
538
538
|
_context17.next = 2;
|
539
|
-
return request.getRequest().put("
|
539
|
+
return request.getRequest().put("/schedule/event-note/".concat(bookingId), params);
|
540
540
|
case 2:
|
541
541
|
_yield$request$getReq16 = _context17.sent;
|
542
542
|
data = _yield$request$getReq16.data;
|
@@ -568,7 +568,7 @@ export var removeNoteByOrder = /*#__PURE__*/function () {
|
|
568
568
|
while (1) switch (_context18.prev = _context18.next) {
|
569
569
|
case 0:
|
570
570
|
_context18.next = 2;
|
571
|
-
return request.getRequest().remove("
|
571
|
+
return request.getRequest().remove("/schedule/event-note/".concat(bookingId), params);
|
572
572
|
case 2:
|
573
573
|
_yield$request$getReq17 = _context18.sent;
|
574
574
|
data = _yield$request$getReq17.data;
|
@@ -662,7 +662,7 @@ export var editOrderNote = /*#__PURE__*/function () {
|
|
662
662
|
while (1) switch (_context21.prev = _context21.next) {
|
663
663
|
case 0:
|
664
664
|
_context21.next = 2;
|
665
|
-
return request.getRequest().put("
|
665
|
+
return request.getRequest().put("/order/order/".concat(bookingId, "/note"), params);
|
666
666
|
case 2:
|
667
667
|
_yield$request$getReq20 = _context21.sent;
|
668
668
|
data = _yield$request$getReq20.data;
|
@@ -694,7 +694,7 @@ export var getRefundInfo = /*#__PURE__*/function () {
|
|
694
694
|
while (1) switch (_context22.prev = _context22.next) {
|
695
695
|
case 0:
|
696
696
|
_context22.next = 2;
|
697
|
-
return request.getRequest().get("
|
697
|
+
return request.getRequest().get("/order/refund-info/".concat(bookingId), params);
|
698
698
|
case 2:
|
699
699
|
_yield$request$getReq21 = _context22.sent;
|
700
700
|
data = _yield$request$getReq21.data;
|
@@ -757,7 +757,7 @@ export var getEventBookingDetail = /*#__PURE__*/function () {
|
|
757
757
|
while (1) switch (_context24.prev = _context24.next) {
|
758
758
|
case 0:
|
759
759
|
_context24.next = 2;
|
760
|
-
return request.getRequest().get("
|
760
|
+
return request.getRequest().get("/eventbookingv2/order/".concat(bookingId), params);
|
761
761
|
case 2:
|
762
762
|
_yield$request$getReq23 = _context24.sent;
|
763
763
|
data = _yield$request$getReq23.data;
|
@@ -789,7 +789,7 @@ export var editEventBooking = /*#__PURE__*/function () {
|
|
789
789
|
while (1) switch (_context25.prev = _context25.next) {
|
790
790
|
case 0:
|
791
791
|
_context25.next = 2;
|
792
|
-
return request.getRequest().put("
|
792
|
+
return request.getRequest().put("/eventbookingv2/order/".concat(bookingId), params);
|
793
793
|
case 2:
|
794
794
|
_yield$request$getReq24 = _context25.sent;
|
795
795
|
data = _yield$request$getReq24.data;
|
@@ -5,15 +5,14 @@ export declare const getDefaultStartParam: () => string | string[];
|
|
5
5
|
export declare const formatBookingList: (bookingList: any[]) => any[];
|
6
6
|
export declare const getNextTimeSlice: (sliceMinutes: number) => Dayjs;
|
7
7
|
export declare const getDisabledEdit: ({ shop_discount, bookings, payment_status }: any) => boolean;
|
8
|
-
export declare const formatOptions: (detail: any) => any;
|
9
|
-
export declare const formatHolder: (detail: any) => any;
|
10
8
|
export declare const restoreProductOtherData: (data: any) => {
|
11
9
|
product_id: any;
|
12
|
-
option:
|
10
|
+
option: never[];
|
13
11
|
bundle: any;
|
14
|
-
product_variant_id:
|
12
|
+
product_variant_id: number;
|
15
13
|
quantity: number;
|
16
14
|
} | undefined;
|
15
|
+
export declare const isSameProduct: (a: any, b: any) => boolean;
|
17
16
|
export declare const addService: (list: any[], addItem: any, state: any) => {
|
18
17
|
list: any[];
|
19
18
|
quantity: any;
|
@@ -23,38 +22,4 @@ export declare const getCartProductOverlay: (state: any) => any;
|
|
23
22
|
export declare const getIsOverlayProduct: (item: any, state: any) => any;
|
24
23
|
export declare const getIsShowNumber: (item: any, state: any) => any;
|
25
24
|
export declare const genServiceKey: (item: any) => string;
|
26
|
-
export declare const
|
27
|
-
declare type ScanData = {
|
28
|
-
type: string;
|
29
|
-
status: 'success' | 'failed';
|
30
|
-
scanType: 'nfc' | 'scanner';
|
31
|
-
scanCode: string;
|
32
|
-
result: {
|
33
|
-
searchType: 'customer' | 'wallet' | 'walletPass' | 'product' | 'local_product';
|
34
|
-
response: {
|
35
|
-
status: boolean;
|
36
|
-
code: number;
|
37
|
-
message: string;
|
38
|
-
data: any;
|
39
|
-
};
|
40
|
-
};
|
41
|
-
};
|
42
|
-
export declare const formatScanCustomer: (data: ScanData) => {
|
43
|
-
searchType: "customer" | "wallet" | "product" | "walletPass" | "local_product";
|
44
|
-
data: any;
|
45
|
-
scanCode: string;
|
46
|
-
} | null;
|
47
|
-
export declare const formatScanGlobal: (data: ScanData) => {
|
48
|
-
searchType: "wallet";
|
49
|
-
data: any;
|
50
|
-
scanCode: string;
|
51
|
-
} | {
|
52
|
-
searchType: "walletPass";
|
53
|
-
data: any;
|
54
|
-
scanCode: string;
|
55
|
-
} | {
|
56
|
-
searchType: "product" | "local_product";
|
57
|
-
data: any;
|
58
|
-
scanCode: string;
|
59
|
-
} | null | undefined;
|
60
|
-
export {};
|
25
|
+
export declare const createSimpleCacheItem: (item: any, e: any, state: any) => any;
|
@@ -1,11 +1,5 @@
|
|
1
1
|
var _excluded = ["detail"];
|
2
2
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
3
|
-
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
4
|
-
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
5
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
6
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
7
|
-
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
8
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
9
3
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
10
4
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
11
5
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
@@ -15,7 +9,7 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
15
9
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
16
10
|
import dayjs from 'dayjs';
|
17
11
|
import { isNormalProductByDurationSchedule } from "../../booking/info/service2/utils";
|
18
|
-
import {
|
12
|
+
import { getUniqueId } from "@pisell/utils";
|
19
13
|
|
20
14
|
/** dayjs对象格式化为字符串时间 */
|
21
15
|
export var formatDateToStr = function formatDateToStr(date) {
|
@@ -65,11 +59,10 @@ export var getDisabledEdit = function getDisabledEdit(_ref) {
|
|
65
59
|
return true;
|
66
60
|
}
|
67
61
|
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
62
|
+
//有整单折扣 不可编辑
|
63
|
+
if (shop_discount && Number(shop_discount)) {
|
64
|
+
return true;
|
65
|
+
}
|
73
66
|
var list = ['unfulfilled', 'paid', 'partially_paid', 'unpaid', 'payment_processing'];
|
74
67
|
// (支付状态 = 已支付 || 部分付款 || 未付款 || 支付处理中) && 预约状态 !== 已取消
|
75
68
|
if (bookings.appointment_status === 'cancelled' || !list.includes(payment_status)) {
|
@@ -77,18 +70,6 @@ export var getDisabledEdit = function getDisabledEdit(_ref) {
|
|
77
70
|
}
|
78
71
|
return false;
|
79
72
|
};
|
80
|
-
export var formatOptions = function formatOptions(detail) {
|
81
|
-
var _detail$product_sku;
|
82
|
-
return ((detail === null || detail === void 0 || (_detail$product_sku = detail.product_sku) === null || _detail$product_sku === void 0 ? void 0 : _detail$product_sku.option) || []).map(function (item) {
|
83
|
-
return _objectSpread(_objectSpread({}, item), {}, {
|
84
|
-
price: item.price || item.add_price
|
85
|
-
});
|
86
|
-
});
|
87
|
-
};
|
88
|
-
export var formatHolder = function formatHolder(detail) {
|
89
|
-
var _detail$holder;
|
90
|
-
return detail === null || detail === void 0 || (_detail$holder = detail.holder) === null || _detail$holder === void 0 || (_detail$holder = _detail$holder.form_record) === null || _detail$holder === void 0 ? void 0 : _detail$holder[0];
|
91
|
-
};
|
92
73
|
|
93
74
|
// 还原商品other数据
|
94
75
|
export var restoreProductOtherData = function restoreProductOtherData(data) {
|
@@ -99,14 +80,13 @@ export var restoreProductOtherData = function restoreProductOtherData(data) {
|
|
99
80
|
}
|
100
81
|
return {
|
101
82
|
product_id: detail.product_id,
|
102
|
-
option:
|
83
|
+
option: [],
|
103
84
|
bundle: (detail.product_bundle || []).map(function (bundleItem) {
|
104
85
|
return _objectSpread(_objectSpread({}, bundleItem), {}, {
|
105
86
|
title: bundleItem.bundle_title,
|
106
87
|
group_id: bundleItem.bundle_group_id,
|
107
88
|
id: bundleItem.bundle_id,
|
108
89
|
product_id: bundleItem.bundle_product_id,
|
109
|
-
_bundle_product_id: bundleItem.bundle_product_id,
|
110
90
|
bundle_variant_id: bundleItem.bundle_variant_id,
|
111
91
|
quantity: bundleItem.num,
|
112
92
|
option: bundleItem.option.map(function (optionItem) {
|
@@ -119,13 +99,13 @@ export var restoreProductOtherData = function restoreProductOtherData(data) {
|
|
119
99
|
price: (bundleItem === null || bundleItem === void 0 ? void 0 : bundleItem.bundle_sum_type) === 'markdown' ? "-".concat(Number(bundleItem.bundle_sum_price)) : Number(bundleItem.bundle_sum_price)
|
120
100
|
});
|
121
101
|
}),
|
122
|
-
product_variant_id:
|
102
|
+
product_variant_id: 0,
|
123
103
|
quantity: Number(detail.product_quantity)
|
124
104
|
};
|
125
105
|
};
|
126
106
|
|
127
107
|
// 是相同的商品
|
128
|
-
var isSameProduct = function isSameProduct(a, b) {
|
108
|
+
export var isSameProduct = function isSameProduct(a, b) {
|
129
109
|
var _a$_extend2, _b$_extend2;
|
130
110
|
if (isNormalProductByDurationSchedule(a) && isNormalProductByDurationSchedule(b)) {
|
131
111
|
var _a$_extend, _b$_extend;
|
@@ -138,7 +118,7 @@ export var addService = function addService(list, addItem, state) {
|
|
138
118
|
var count;
|
139
119
|
// 预约商品 并且配置商品卡片不叠加 直接添加
|
140
120
|
if (!isNormalProductByDurationSchedule(addItem) && !getIsOverlayProduct(addItem, state)) {
|
141
|
-
value.
|
121
|
+
value.push(addItem);
|
142
122
|
count = addItem._extend.quantity;
|
143
123
|
} else {
|
144
124
|
// 非预约商品判断是否相同,相同合并
|
@@ -167,18 +147,8 @@ export var addService = function addService(list, addItem, state) {
|
|
167
147
|
}
|
168
148
|
return item;
|
169
149
|
});
|
170
|
-
var _idx = value.findIndex(function (item) {
|
171
|
-
return item.id === addItem.id;
|
172
|
-
});
|
173
|
-
if (_idx !== -1) {
|
174
|
-
var _value$splice = value.splice(_idx, 1),
|
175
|
-
_value$splice2 = _slicedToArray(_value$splice, 1),
|
176
|
-
removed = _value$splice2[0];
|
177
|
-
// 再添加到数组开头
|
178
|
-
value.unshift(removed);
|
179
|
-
}
|
180
150
|
if (isNotSame) {
|
181
|
-
value.
|
151
|
+
value.push(addItem);
|
182
152
|
count = addItem._extend.quantity;
|
183
153
|
}
|
184
154
|
}
|
@@ -197,10 +167,10 @@ export var addServiceScroll = function addServiceScroll(rowKey, cacheItem) {
|
|
197
167
|
});
|
198
168
|
} else {
|
199
169
|
setTimeout(function () {
|
200
|
-
var bookingWrap = document.querySelectorAll(".
|
170
|
+
var bookingWrap = document.querySelectorAll(".booking-info-warp");
|
201
171
|
if (bookingWrap.length) {
|
202
172
|
bookingWrap[0].scrollTo({
|
203
|
-
top:
|
173
|
+
top: 99999,
|
204
174
|
behavior: 'smooth'
|
205
175
|
});
|
206
176
|
}
|
@@ -242,77 +212,26 @@ export var genServiceKey = function genServiceKey(item) {
|
|
242
212
|
var start_time = (_item$_extend4 = item._extend) === null || _item$_extend4 === void 0 ? void 0 : _item$_extend4.start_time;
|
243
213
|
var total = (_item$_extend5 = item._extend) === null || _item$_extend5 === void 0 ? void 0 : _item$_extend5.total;
|
244
214
|
var resourceKey = '';
|
245
|
-
Object.values(item._extend.resource
|
215
|
+
Object.values(item._extend.resource).forEach(function (resources) {
|
246
216
|
resources.forEach(function (resource) {
|
247
217
|
resourceKey += "".concat(resource.relation_id);
|
248
218
|
});
|
249
219
|
});
|
250
220
|
return "".concat(product_id, "-").concat(durationKey, "-").concat(resourceKey, "-").concat(start_time, "-").concat(total);
|
251
221
|
};
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
if (code !== 200) {
|
268
|
-
return null;
|
269
|
-
}
|
270
|
-
if (isArr(customerData)) {
|
271
|
-
var _customerData$;
|
272
|
-
return {
|
273
|
-
searchType: searchType,
|
274
|
-
data: (_customerData$ = customerData[0]) === null || _customerData$ === void 0 ? void 0 : _customerData$.customer,
|
275
|
-
scanCode: scanCode
|
276
|
-
};
|
277
|
-
}
|
278
|
-
return {
|
279
|
-
searchType: searchType,
|
280
|
-
data: customerData === null || customerData === void 0 ? void 0 : customerData.customer,
|
281
|
-
scanCode: scanCode
|
282
|
-
};
|
283
|
-
};
|
284
|
-
export var formatScanGlobal = function formatScanGlobal(data) {
|
285
|
-
var result = data.result,
|
286
|
-
scanCode = data.scanCode;
|
287
|
-
var _ref4 = result || {},
|
288
|
-
response = _ref4.response,
|
289
|
-
searchType = _ref4.searchType;
|
290
|
-
var _ref5 = response || {},
|
291
|
-
resultData = _ref5.data,
|
292
|
-
code = _ref5.code;
|
293
|
-
if (code !== 200 && searchType !== 'local_product') {
|
294
|
-
return null;
|
295
|
-
}
|
296
|
-
if (searchType === 'wallet') {
|
297
|
-
return {
|
298
|
-
searchType: searchType,
|
299
|
-
data: resultData.customer,
|
300
|
-
scanCode: scanCode
|
301
|
-
};
|
302
|
-
}
|
303
|
-
if (searchType === 'walletPass') {
|
304
|
-
var _resultData$;
|
305
|
-
return {
|
306
|
-
searchType: searchType,
|
307
|
-
data: resultData === null || resultData === void 0 || (_resultData$ = resultData[0]) === null || _resultData$ === void 0 ? void 0 : _resultData$.customer,
|
308
|
-
scanCode: scanCode
|
309
|
-
};
|
310
|
-
}
|
311
|
-
if (searchType === 'product' || searchType === 'local_product') {
|
312
|
-
return {
|
313
|
-
searchType: searchType,
|
314
|
-
data: resultData,
|
315
|
-
scanCode: scanCode
|
316
|
-
};
|
317
|
-
}
|
222
|
+
export var createSimpleCacheItem = function createSimpleCacheItem(item, e, state) {
|
223
|
+
var cacheItem = _objectSpread(_objectSpread({}, item), {}, {
|
224
|
+
product_id: item.id,
|
225
|
+
_id: getUniqueId(),
|
226
|
+
_key: e.key,
|
227
|
+
_extend: {
|
228
|
+
start_date: state.date.value,
|
229
|
+
quantity: (e === null || e === void 0 ? void 0 : e.quantity) || 1,
|
230
|
+
price: item.price,
|
231
|
+
product_name: item.title,
|
232
|
+
other: e
|
233
|
+
},
|
234
|
+
new: 1
|
235
|
+
});
|
236
|
+
return cacheItem;
|
318
237
|
};
|
package/es/index.d.ts
CHANGED
@@ -45,7 +45,3 @@ export { default as TicketBooking } from './components/ticketBooking';
|
|
45
45
|
export { default as SubTotal } from './components/subTotal';
|
46
46
|
export { default as EditBookingModal } from './components/booking/editBookingModal';
|
47
47
|
export { default as StepController } from './components/stepController';
|
48
|
-
export { default as ClientCard } from './plus/clientCard';
|
49
|
-
export { default as ClientSearch } from './plus/clinetSearch';
|
50
|
-
export { default as ComprehensiveSearch } from './pro/comprehensiveSearch';
|
51
|
-
export { default as NoteModal } from './plus/noteModal';
|
package/es/index.js
CHANGED
@@ -48,8 +48,4 @@ export { default as AppointmentDeposit } from "./components/appointmentBooking/d
|
|
48
48
|
export { default as TicketBooking } from "./components/ticketBooking";
|
49
49
|
export { default as SubTotal } from "./components/subTotal";
|
50
50
|
export { default as EditBookingModal } from "./components/booking/editBookingModal";
|
51
|
-
export { default as StepController } from "./components/stepController";
|
52
|
-
export { default as ClientCard } from "./plus/clientCard";
|
53
|
-
export { default as ClientSearch } from "./plus/clinetSearch";
|
54
|
-
export { default as ComprehensiveSearch } from "./pro/comprehensiveSearch";
|
55
|
-
export { default as NoteModal } from "./plus/noteModal";
|
51
|
+
export { default as StepController } from "./components/stepController";
|
@@ -433,7 +433,6 @@ var CartProvider = ({ children }) => {
|
|
433
433
|
const productId = (_b = (_a = item._originData) == null ? void 0 : _a.product) == null ? void 0 : _b.product_id;
|
434
434
|
const relationId = (_c = item._originData) == null ? void 0 : _c.relation_id;
|
435
435
|
const eventUniqueIdentifier = (_d = item._originData) == null ? void 0 : _d.event_unique_identifier;
|
436
|
-
debugger;
|
437
436
|
return list.find((res) => {
|
438
437
|
var _a2;
|
439
438
|
const checkType = ["available_capacity"];
|
@@ -30,7 +30,7 @@ export declare const calculateSubtotal: (items: CartItem[]) => string;
|
|
30
30
|
* @return {*}
|
31
31
|
* @Author: xiangfeng.xue
|
32
32
|
*/
|
33
|
-
export declare const calculateTaxFee: (shopInfo: any, items: CartItem[]) =>
|
33
|
+
export declare const calculateTaxFee: (shopInfo: any, items: CartItem[]) => "0.00" | Decimal;
|
34
34
|
/**
|
35
35
|
* 计算所有价格明细
|
36
36
|
* @param items - 购物车商品数组
|
@@ -433,10 +433,7 @@ var Addons = (0, import_model.Provider)((props) => {
|
|
433
433
|
{
|
434
434
|
loading,
|
435
435
|
header: import_utils3.locales.getText("pisell2.text.addons"),
|
436
|
-
footer
|
437
|
-
state,
|
438
|
-
dispatch,
|
439
|
-
source: "addons"
|
436
|
+
footer
|
440
437
|
},
|
441
438
|
!state.bookingId ? /* @__PURE__ */ import_react.default.createElement(import_emptyBooking.default, null) : /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, state.addons.value.length ? /* @__PURE__ */ import_react.default.createElement("div", { className: "", style: { margin: "0 -32px" } }, state.addons.value.map((d) => {
|
442
439
|
return /* @__PURE__ */ import_react.default.createElement(
|
@@ -31,7 +31,7 @@ var getRelationDetailsTotal = (relation_details) => {
|
|
31
31
|
let total = 0;
|
32
32
|
for (let item of relation_details) {
|
33
33
|
const number = item.product_quantity || item.num;
|
34
|
-
const price = item.
|
34
|
+
const price = item.payment_price || item.price;
|
35
35
|
total += Number(price) * Number(number);
|
36
36
|
}
|
37
37
|
return total;
|
@@ -169,7 +169,7 @@ var getTotalRefundAmount = (state) => {
|
|
169
169
|
};
|
170
170
|
var getShopDiscount = (state) => {
|
171
171
|
var _a;
|
172
|
-
return Number(
|
172
|
+
return Number((_a = state.bookingDetail) == null ? void 0 : _a.shop_discount) || 0;
|
173
173
|
};
|
174
174
|
var getRoundingAmount = (state) => {
|
175
175
|
var _a;
|
@@ -189,7 +189,6 @@ var getSumTotal = (state, isEdit) => {
|
|
189
189
|
const totalRefundAmount = getTotalRefundAmount(state);
|
190
190
|
const shopDiscount = getShopDiscount(state);
|
191
191
|
const expectAmount = getExpectAmount({ price, tax, otherAmount, shopDiscount, state, isEdit });
|
192
|
-
const originExpectAmount = getExpectAmount({ price, tax, shopDiscount: 0, otherAmount, state, isEdit });
|
193
192
|
const sumTotalAmount = getSumTotalAmount({ expectAmount, roundingAmount });
|
194
193
|
const notPaidAmount = Number((0, import_utils2.formatAmount)(sumTotalAmount, 2, "")) - orderPaidAmount;
|
195
194
|
const actualPaidAmount = paidAmount;
|
@@ -210,8 +209,7 @@ var getSumTotal = (state, isEdit) => {
|
|
210
209
|
orderPaidAmount,
|
211
210
|
totalRefundAmount,
|
212
211
|
dueAmount,
|
213
|
-
roundingAmount
|
214
|
-
originExpectAmount
|
212
|
+
roundingAmount
|
215
213
|
};
|
216
214
|
};
|
217
215
|
// Annotate the CommonJS export names for ESM import in node:
|