@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
@@ -33,4 +33,3 @@ export declare const getAppointmentTimingPreference: (state: any) => any;
|
|
33
33
|
* @Date: 2024-01-26 14:09
|
34
34
|
*/
|
35
35
|
export declare const getServiceStartTimeAndEndTime: (state: any, cacheItem: any, timeObj: any) => any;
|
36
|
-
export declare const getIsNoSpecAndPackage: (product: any) => boolean;
|
@@ -10,8 +10,6 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
10
10
|
import dayjs from 'dayjs';
|
11
11
|
import { locales } from "@pisell/utils";
|
12
12
|
import { getCacheParams, getServeStartTime, getLastServer, flexibleObj, getServiceTimes, findNextDuration, getDays, isSessionProduct } from "../utils";
|
13
|
-
import { isNormalProductByDurationSchedule } from "../info/service2/utils";
|
14
|
-
import { isOption } from "../../ticketBooking/components/addServiceVariant/utils";
|
15
13
|
|
16
14
|
// 获取当前剩余量
|
17
15
|
var getUseableEventCount = function getUseableEventCount(eventList, current) {
|
@@ -321,24 +319,16 @@ export var getAppointmentTimingPreference = function getAppointmentTimingPrefere
|
|
321
319
|
* @Date: 2024-01-26 14:09
|
322
320
|
*/
|
323
321
|
export var getServiceStartTimeAndEndTime = function getServiceStartTimeAndEndTime(state, cacheItem, timeObj) {
|
324
|
-
var
|
325
|
-
// 自定义商品不需要时间相关处理,直接返回基础扩展参数
|
326
|
-
if (cacheItem !== null && cacheItem !== void 0 && cacheItem.isCustomItem) {
|
327
|
-
return {
|
328
|
-
duration: null // 自定义商品没有时长概念
|
329
|
-
};
|
330
|
-
}
|
322
|
+
var _cacheItem$duration, _cacheItem$_extend2;
|
331
323
|
var appointmentTimingPreference = getAppointmentTimingPreference(state);
|
332
324
|
|
333
|
-
//
|
334
|
-
var lastServer = getLastServer(
|
335
|
-
return !item.isCustomItem;
|
336
|
-
}));
|
325
|
+
// 获取上一个服务商品
|
326
|
+
var lastServer = getLastServer(state.service.value);
|
337
327
|
|
338
328
|
// 下一个商品的扩展参数
|
339
329
|
var _extend = {
|
340
330
|
// 时长: 当前商品时长 > 第一个时长
|
341
|
-
duration: findNextDuration(cacheItem.duration, timeObj.durationSlicesBasedOnTime, cacheItem === null || cacheItem === void 0 || (_cacheItem$duration = cacheItem.duration) === null || _cacheItem$duration === void 0 ? void 0 : _cacheItem$duration.value)
|
331
|
+
duration: findNextDuration(cacheItem.duration, timeObj === null || timeObj === void 0 ? void 0 : timeObj.durationSlicesBasedOnTime, cacheItem === null || cacheItem === void 0 || (_cacheItem$duration = cacheItem.duration) === null || _cacheItem$duration === void 0 ? void 0 : _cacheItem$duration.value)
|
342
332
|
};
|
343
333
|
|
344
334
|
// 如果有上一个商品, 将上一个商品的某些参数 设置到新商品上
|
@@ -352,7 +342,8 @@ export var getServiceStartTimeAndEndTime = function getServiceStartTimeAndEndTim
|
|
352
342
|
} else {
|
353
343
|
// 如果上个服务商品的结束时间跨天, 那么设置为最后一个时间段, 不跨天则取上一个的结束时间
|
354
344
|
if (dayjs(lastServerEndDate).isAfter(lastServerStartDate, "day")) {
|
355
|
-
|
345
|
+
var _timeObj$timeSlices;
|
346
|
+
_extend.start_time = timeObj === null || timeObj === void 0 ? void 0 : timeObj.timeSlices[(timeObj === null || timeObj === void 0 || (_timeObj$timeSlices = timeObj.timeSlices) === null || _timeObj$timeSlices === void 0 ? void 0 : _timeObj$timeSlices.length) - 1].value;
|
356
347
|
} else {
|
357
348
|
_extend.start_time = lastServerEndDate.format("HH:mm");
|
358
349
|
}
|
@@ -409,18 +400,4 @@ export var getServiceStartTimeAndEndTime = function getServiceStartTimeAndEndTim
|
|
409
400
|
}, 'minutes');
|
410
401
|
}
|
411
402
|
return _extend;
|
412
|
-
};
|
413
|
-
|
414
|
-
// 是否是无规格无套餐商品的非预约商品
|
415
|
-
export var getIsNoSpecAndPackage = function getIsNoSpecAndPackage(product) {
|
416
|
-
var _product$variant;
|
417
|
-
if (!isNormalProductByDurationSchedule(product)) {
|
418
|
-
return false;
|
419
|
-
}
|
420
|
-
// 编辑状态参数判断
|
421
|
-
if (product !== null && product !== void 0 && product.isEditBooking) {
|
422
|
-
var _product$product_bund, _product$product_sku;
|
423
|
-
return (product === null || product === void 0 || (_product$product_bund = product.product_bundle) === null || _product$product_bund === void 0 ? void 0 : _product$product_bund.length) === 0 && (product === null || product === void 0 ? void 0 : product.product_variant_id) === 0 && ((product === null || product === void 0 || (_product$product_sku = product.product_sku) === null || _product$product_sku === void 0 || (_product$product_sku = _product$product_sku.option) === null || _product$product_sku === void 0 ? void 0 : _product$product_sku.length) || 0) === 0;
|
424
|
-
}
|
425
|
-
return (product === null || product === void 0 ? void 0 : product.is_bundle) === 0 && ((product === null || product === void 0 || (_product$variant = product.variant) === null || _product$variant === void 0 ? void 0 : _product$variant.length) || 0) === 0 && !isOption(product);
|
426
403
|
};
|
@@ -223,7 +223,6 @@ declare const _default: {
|
|
223
223
|
'pisell2.booking.dashboard.departed-visitors': string;
|
224
224
|
'pisell2.booking.dashboard.departed-visitors-tip': string;
|
225
225
|
'pisell2.booking.dashboard.default': string;
|
226
|
-
'pisell2.booking.info.text.clear': string;
|
227
226
|
'pisell2.booking.info.text.clear-cart': string;
|
228
227
|
'pisell2.booking.info.text.clear-all': string;
|
229
228
|
'pisell2.booking.info.text.create-new': string;
|
@@ -241,30 +240,6 @@ declare const _default: {
|
|
241
240
|
'pisell2.text.missing.reservation.content': string;
|
242
241
|
'pisell2.text.confirm': string;
|
243
242
|
'pisell2.text.cancel': string;
|
244
|
-
'pisell2.action-buttons.clear': string;
|
245
|
-
'pisell2.action-buttons.manuel-order': string;
|
246
|
-
'pisell2.action-buttons.customise-item': string;
|
247
|
-
'pisell2.action-buttons.no-items-to-adjust': string;
|
248
|
-
'pisell2.action-buttons.adjust-order-price': string;
|
249
|
-
'pisell2.action-buttons.price-adjusted-success': string;
|
250
|
-
'pisell2.action-buttons.clear-success': string;
|
251
|
-
'pisell2.text.manual-price-adjustment': string;
|
252
|
-
'pisell2.customise-item.modal-title': string;
|
253
|
-
'pisell2.customise-item.product-name': string;
|
254
|
-
'pisell2.customise-item.default-product-name': string;
|
255
|
-
'pisell2.customise-item.vouchers-applicable': string;
|
256
|
-
'pisell2.customise-item.sell-price': string;
|
257
|
-
'pisell2.customise-item.manual-deduction-price': string;
|
258
|
-
'pisell2.customise-item.amount-placeholder': string;
|
259
|
-
'pisell2.customise-item.save': string;
|
260
|
-
'pisell2.customise-item.save-success': string;
|
261
|
-
'pisell2.customise-item.price-required-error': (priceType: string) => string;
|
262
|
-
'pisell2.subtotal.total': string;
|
263
|
-
'pisell2.clear-cart-modal.title': string;
|
264
|
-
'pisell2.clear-cart-modal.clear-items-only': string;
|
265
|
-
'pisell2.clear-cart-modal.clear-all-reset': string;
|
266
|
-
'pisell2.clear-cart-modal.empty-cart-tip': string;
|
267
|
-
'pisell2.voucher-modal.title': string;
|
268
243
|
'pisell2.text.change.pet.title': string;
|
269
244
|
'pisell2.text.change.pet.content': string;
|
270
245
|
'pisell2.text.change.pet.content1': string;
|
@@ -298,7 +273,6 @@ declare const _default: {
|
|
298
273
|
'pisell2.text.validity.valid_through': (str: string) => string;
|
299
274
|
'pisell2.text.quotation.product.change.title': string;
|
300
275
|
'pisell2.text.quotation.product.change.describe': string;
|
301
|
-
'pisell2.booking.notes.placeholder': string;
|
302
276
|
};
|
303
277
|
'zh-CN': {
|
304
278
|
'pisell2.text.refunded-amount': string;
|
@@ -524,7 +498,6 @@ declare const _default: {
|
|
524
498
|
'pisell2.booking.dashboard.departed-visitors': string;
|
525
499
|
'pisell2.booking.dashboard.departed-visitors-tip': string;
|
526
500
|
'pisell2.booking.dashboard.default': string;
|
527
|
-
'pisell2.booking.info.text.clear': string;
|
528
501
|
'pisell2.booking.info.text.clear-cart': string;
|
529
502
|
'pisell2.booking.info.text.clear-all': string;
|
530
503
|
'pisell2.booking.info.text.create-new': string;
|
@@ -542,30 +515,6 @@ declare const _default: {
|
|
542
515
|
'pisell2.text.missing.reservation.content': string;
|
543
516
|
'pisell2.text.confirm': string;
|
544
517
|
'pisell2.text.cancel': string;
|
545
|
-
'pisell2.action-buttons.clear': string;
|
546
|
-
'pisell2.action-buttons.manuel-order': string;
|
547
|
-
'pisell2.action-buttons.customise-item': string;
|
548
|
-
'pisell2.action-buttons.no-items-to-adjust': string;
|
549
|
-
'pisell2.action-buttons.adjust-order-price': string;
|
550
|
-
'pisell2.action-buttons.price-adjusted-success': string;
|
551
|
-
'pisell2.action-buttons.clear-success': string;
|
552
|
-
'pisell2.text.manual-price-adjustment': string;
|
553
|
-
'pisell2.customise-item.modal-title': string;
|
554
|
-
'pisell2.customise-item.product-name': string;
|
555
|
-
'pisell2.customise-item.default-product-name': string;
|
556
|
-
'pisell2.customise-item.vouchers-applicable': string;
|
557
|
-
'pisell2.customise-item.sell-price': string;
|
558
|
-
'pisell2.customise-item.manual-deduction-price': string;
|
559
|
-
'pisell2.customise-item.amount-placeholder': string;
|
560
|
-
'pisell2.customise-item.save': string;
|
561
|
-
'pisell2.customise-item.save-success': string;
|
562
|
-
'pisell2.customise-item.price-required-error': (priceType: string) => string;
|
563
|
-
'pisell2.subtotal.total': string;
|
564
|
-
'pisell2.clear-cart-modal.title': string;
|
565
|
-
'pisell2.clear-cart-modal.clear-items-only': string;
|
566
|
-
'pisell2.clear-cart-modal.clear-all-reset': string;
|
567
|
-
'pisell2.clear-cart-modal.empty-cart-tip': string;
|
568
|
-
'pisell2.voucher-modal.title': string;
|
569
518
|
'pisell2.text.change.pet.title': string;
|
570
519
|
'pisell2.text.change.pet.content': string;
|
571
520
|
'pisell2.text.change.pet.content1': string;
|
@@ -599,7 +548,6 @@ declare const _default: {
|
|
599
548
|
'pisell2.text.validity.valid_through': (str: string) => string;
|
600
549
|
'pisell2.text.quotation.product.change.title': string;
|
601
550
|
'pisell2.text.quotation.product.change.describe': string;
|
602
|
-
'pisell2.booking.notes.placeholder': string;
|
603
551
|
};
|
604
552
|
'zh-HK': {
|
605
553
|
'pisell2.text.refunded-amount': string;
|
@@ -825,7 +773,6 @@ declare const _default: {
|
|
825
773
|
'pisell2.booking.dashboard.departed-visitors': string;
|
826
774
|
'pisell2.booking.dashboard.departed-visitors-tip': string;
|
827
775
|
'pisell2.booking.dashboard.default': string;
|
828
|
-
'pisell2.booking.info.text.clear': string;
|
829
776
|
'pisell2.booking.info.text.clear-cart': string;
|
830
777
|
'pisell2.booking.info.text.clear-all': string;
|
831
778
|
'pisell2.booking.info.text.create-new': string;
|
@@ -843,30 +790,6 @@ declare const _default: {
|
|
843
790
|
'pisell2.text.missing.reservation.content': string;
|
844
791
|
'pisell2.text.confirm': string;
|
845
792
|
'pisell2.text.cancel': string;
|
846
|
-
'pisell2.action-buttons.clear': string;
|
847
|
-
'pisell2.action-buttons.manuel-order': string;
|
848
|
-
'pisell2.action-buttons.customise-item': string;
|
849
|
-
'pisell2.action-buttons.no-items-to-adjust': string;
|
850
|
-
'pisell2.action-buttons.adjust-order-price': string;
|
851
|
-
'pisell2.action-buttons.price-adjusted-success': string;
|
852
|
-
'pisell2.action-buttons.clear-success': string;
|
853
|
-
'pisell2.text.manual-price-adjustment': string;
|
854
|
-
'pisell2.customise-item.modal-title': string;
|
855
|
-
'pisell2.customise-item.product-name': string;
|
856
|
-
'pisell2.customise-item.default-product-name': string;
|
857
|
-
'pisell2.customise-item.vouchers-applicable': string;
|
858
|
-
'pisell2.customise-item.sell-price': string;
|
859
|
-
'pisell2.customise-item.manual-deduction-price': string;
|
860
|
-
'pisell2.customise-item.amount-placeholder': string;
|
861
|
-
'pisell2.customise-item.save': string;
|
862
|
-
'pisell2.customise-item.save-success': string;
|
863
|
-
'pisell2.customise-item.price-required-error': (priceType: string) => string;
|
864
|
-
'pisell2.subtotal.total': string;
|
865
|
-
'pisell2.clear-cart-modal.title': string;
|
866
|
-
'pisell2.clear-cart-modal.clear-items-only': string;
|
867
|
-
'pisell2.clear-cart-modal.clear-all-reset': string;
|
868
|
-
'pisell2.clear-cart-modal.empty-cart-tip': string;
|
869
|
-
'pisell2.voucher-modal.title': string;
|
870
793
|
'pisell2.text.change.pet.title': string;
|
871
794
|
'pisell2.text.change.pet.content': string;
|
872
795
|
'pisell2.text.change.pet.content1': string;
|
@@ -900,7 +823,6 @@ declare const _default: {
|
|
900
823
|
'pisell2.text.validity.valid_through': (str: string) => string;
|
901
824
|
'pisell2.text.quotation.product.change.title': string;
|
902
825
|
'pisell2.text.quotation.product.change.describe': string;
|
903
|
-
'pisell2.booking.notes.placeholder': string;
|
904
826
|
};
|
905
827
|
};
|
906
828
|
export default _default;
|
@@ -43,7 +43,7 @@ export default {
|
|
43
43
|
'pisell2.text.holder': 'Holder',
|
44
44
|
'pisell2.text.warnings': 'Warnings',
|
45
45
|
'pisell2.text.order-notes': 'Order notes',
|
46
|
-
'pisell2.text.add-order-notes': 'Add Order
|
46
|
+
'pisell2.text.add-order-notes': 'Add Order note',
|
47
47
|
'pisell2.text.add-internal-notes': 'Add Internal note',
|
48
48
|
'pisell2.text.add-notes': 'Add Notes',
|
49
49
|
'pisell2.text.notes': 'Notes',
|
@@ -258,7 +258,6 @@ export default {
|
|
258
258
|
'pisell2.booking.dashboard.departed-visitors': "Departed visitors",
|
259
259
|
'pisell2.booking.dashboard.departed-visitors-tip': "Tip: Total number of visitors who checked in and have left the venue today",
|
260
260
|
'pisell2.booking.dashboard.default': "Default",
|
261
|
-
'pisell2.booking.info.text.clear': "Clear",
|
262
261
|
'pisell2.booking.info.text.clear-cart': "Clear cart",
|
263
262
|
'pisell2.booking.info.text.clear-all': "Clear all",
|
264
263
|
'pisell2.booking.info.text.create-new': "Create new",
|
@@ -278,37 +277,6 @@ export default {
|
|
278
277
|
'pisell2.text.missing.reservation.content': 'You have not selected a reservation type, Please select one before proceeding.',
|
279
278
|
'pisell2.text.confirm': 'Confirm',
|
280
279
|
'pisell2.text.cancel': 'Cancel',
|
281
|
-
// Action Buttons
|
282
|
-
'pisell2.action-buttons.clear': 'Clear',
|
283
|
-
'pisell2.action-buttons.manuel-order': "Manual\nOrder\xA0$",
|
284
|
-
'pisell2.action-buttons.customise-item': 'Cust.\nItem',
|
285
|
-
'pisell2.action-buttons.no-items-to-adjust': 'No items in cart to adjust price.',
|
286
|
-
'pisell2.action-buttons.adjust-order-price': 'Adjust Order Price',
|
287
|
-
'pisell2.action-buttons.price-adjusted-success': 'Order price adjusted successfully.',
|
288
|
-
'pisell2.action-buttons.clear-success': 'Clear Success',
|
289
|
-
'pisell2.text.manual-price-adjustment': 'Discount',
|
290
|
-
// Customise Item Modal
|
291
|
-
'pisell2.customise-item.modal-title': 'Create and Add Customise (Once-off) Item',
|
292
|
-
'pisell2.customise-item.product-name': 'Product Name',
|
293
|
-
'pisell2.customise-item.default-product-name': 'One-Off Item',
|
294
|
-
'pisell2.customise-item.vouchers-applicable': 'Vouchers/Discounts Applicable',
|
295
|
-
'pisell2.customise-item.sell-price': 'Sell Price',
|
296
|
-
'pisell2.customise-item.manual-deduction-price': 'Manual Deduction Price',
|
297
|
-
'pisell2.customise-item.amount-placeholder': 'Amount',
|
298
|
-
'pisell2.customise-item.save': 'Save',
|
299
|
-
'pisell2.customise-item.save-success': 'Custom item added successfully.',
|
300
|
-
'pisell2.customise-item.price-required-error': function pisell2CustomiseItemPriceRequiredError(priceType) {
|
301
|
-
return "Please complete the input for ".concat(priceType, ".");
|
302
|
-
},
|
303
|
-
// SubTotal
|
304
|
-
'pisell2.subtotal.total': 'Total',
|
305
|
-
// Clear Cart Modal
|
306
|
-
'pisell2.clear-cart-modal.title': 'Are you sure to clear cart?',
|
307
|
-
'pisell2.clear-cart-modal.clear-items-only': 'Clear Items Only',
|
308
|
-
'pisell2.clear-cart-modal.clear-all-reset': 'Clear All &\nReset Cart',
|
309
|
-
'pisell2.clear-cart-modal.empty-cart-tip': 'Cart is empty',
|
310
|
-
// Voucher Modal
|
311
|
-
'pisell2.voucher-modal.title': 'Vouchers & Discounts',
|
312
280
|
'pisell2.text.change.pet.title': 'You have changed the holder information. Do you want to keep the items under their name?',
|
313
281
|
'pisell2.text.change.pet.content': 'Selecting “Keep” will move the items to Open Items. Selecting “Discard” will clear all items under the holder’s name.',
|
314
282
|
'pisell2.text.change.pet.content1': 'Reservation-type items cannot be added to the Open Items cart and will be removed.',
|
@@ -347,9 +315,7 @@ export default {
|
|
347
315
|
return "Valid through ".concat(str);
|
348
316
|
},
|
349
317
|
'pisell2.text.quotation.product.change.title': "Notification",
|
350
|
-
'pisell2.text.quotation.product.change.describe': "Product updates available: Please refresh the following items to load the latest data."
|
351
|
-
// Notes
|
352
|
-
'pisell2.booking.notes.placeholder': 'Enter a note...'
|
318
|
+
'pisell2.text.quotation.product.change.describe': "Product updates available: Please refresh the following items to load the latest data."
|
353
319
|
},
|
354
320
|
'zh-CN': {
|
355
321
|
'pisell2.text.refunded-amount': '已退金额',
|
@@ -614,7 +580,6 @@ export default {
|
|
614
580
|
'pisell2.booking.dashboard.departed-visitors': "已离场的游客",
|
615
581
|
'pisell2.booking.dashboard.departed-visitors-tip': "提示:今日已检票并离场的游客总人数",
|
616
582
|
'pisell2.booking.dashboard.default': "默认",
|
617
|
-
'pisell2.booking.info.text.clear': "清空",
|
618
583
|
'pisell2.booking.info.text.clear-cart': "清空购物车",
|
619
584
|
'pisell2.booking.info.text.clear-all': "清空",
|
620
585
|
'pisell2.booking.info.text.create-new': "新建",
|
@@ -634,37 +599,6 @@ export default {
|
|
634
599
|
'pisell2.text.missing.reservation.content': '您尚未选择预约类型,请在继续操作前选择。',
|
635
600
|
'pisell2.text.confirm': '确定',
|
636
601
|
'pisell2.text.cancel': '取消',
|
637
|
-
// Action Buttons
|
638
|
-
'pisell2.action-buttons.clear': '清空',
|
639
|
-
'pisell2.action-buttons.manuel-order': "\u624B\u52A8\n\u8BA2\u5355\xA0$",
|
640
|
-
'pisell2.action-buttons.customise-item': '自定义\n商品',
|
641
|
-
'pisell2.action-buttons.no-items-to-adjust': '购物车中没有商品可调整价格。',
|
642
|
-
'pisell2.action-buttons.adjust-order-price': '调整订单价格',
|
643
|
-
'pisell2.action-buttons.price-adjusted-success': '订单价格调整成功。',
|
644
|
-
'pisell2.action-buttons.clear-success': '清空成功',
|
645
|
-
'pisell2.text.manual-price-adjustment': '折扣',
|
646
|
-
// Customise Item Modal
|
647
|
-
'pisell2.customise-item.modal-title': '创建并添加一次性商品',
|
648
|
-
'pisell2.customise-item.product-name': '商品名称',
|
649
|
-
'pisell2.customise-item.default-product-name': '一次性商品',
|
650
|
-
'pisell2.customise-item.vouchers-applicable': '应用所有优惠 / 折扣',
|
651
|
-
'pisell2.customise-item.sell-price': '售价',
|
652
|
-
'pisell2.customise-item.manual-deduction-price': '手动减价金额',
|
653
|
-
'pisell2.customise-item.amount-placeholder': '金额',
|
654
|
-
'pisell2.customise-item.save': '保存',
|
655
|
-
'pisell2.customise-item.save-success': '自定义商品添加成功。',
|
656
|
-
'pisell2.customise-item.price-required-error': function pisell2CustomiseItemPriceRequiredError(priceType) {
|
657
|
-
return "\u8BF7\u5B8C\u6210".concat(priceType, "\u7684\u8F93\u5165\u3002");
|
658
|
-
},
|
659
|
-
// SubTotal
|
660
|
-
'pisell2.subtotal.total': '总价',
|
661
|
-
// Clear Cart Modal
|
662
|
-
'pisell2.clear-cart-modal.title': '确定要清空购物车吗?',
|
663
|
-
'pisell2.clear-cart-modal.clear-items-only': '仅清空商品',
|
664
|
-
'pisell2.clear-cart-modal.clear-all-reset': '清空所有内容\n并重置购物车',
|
665
|
-
'pisell2.clear-cart-modal.empty-cart-tip': '当前购物车为空',
|
666
|
-
// Voucher Modal
|
667
|
-
'pisell2.voucher-modal.title': '券码管理',
|
668
602
|
'pisell2.text.change.pet.title': '您已变更持有人信息,是否保留该持有人名下的商品?',
|
669
603
|
'pisell2.text.change.pet.content': '选择“保留”将商品添加到未分配商品(公共购物车)中;选择“不保留”将清空该持有人名下的所有商品。',
|
670
604
|
'pisell2.text.change.pet.content1': '预约类商品无法添加到公共购物车,将会被删除。',
|
@@ -703,9 +637,7 @@ export default {
|
|
703
637
|
return "\u6709\u6548\u671F\u81F3 ".concat(str, " \uFF08\u542B\u5F53\u65E5\uFF09");
|
704
638
|
},
|
705
639
|
'pisell2.text.quotation.product.change.title': "提示",
|
706
|
-
'pisell2.text.quotation.product.change.describe': "以下商品信息已更新,请重新编辑相关商品以同步最新数据。"
|
707
|
-
// Notes
|
708
|
-
'pisell2.booking.notes.placeholder': '输入备注...'
|
640
|
+
'pisell2.text.quotation.product.change.describe': "以下商品信息已更新,请重新编辑相关商品以同步最新数据。"
|
709
641
|
},
|
710
642
|
'zh-HK': {
|
711
643
|
'pisell2.text.refunded-amount': '已退金額',
|
@@ -970,7 +902,6 @@ export default {
|
|
970
902
|
'pisell2.booking.dashboard.departed-visitors': "已離場的遊客",
|
971
903
|
'pisell2.booking.dashboard.departed-visitors-tip': "提示:今日已檢票並離場的遊客總人數",
|
972
904
|
'pisell2.booking.dashboard.default': "默认",
|
973
|
-
'pisell2.booking.info.text.clear': "清空",
|
974
905
|
'pisell2.booking.info.text.clear-cart': "清空購物車",
|
975
906
|
'pisell2.booking.info.text.clear-all': "清空",
|
976
907
|
'pisell2.booking.info.text.create-new': "新建",
|
@@ -990,37 +921,6 @@ export default {
|
|
990
921
|
'pisell2.text.missing.reservation.content': '您尚未選擇預約類型,請在繼續操作前選擇。',
|
991
922
|
'pisell2.text.confirm': '確定',
|
992
923
|
'pisell2.text.cancel': '取消',
|
993
|
-
// Action Buttons
|
994
|
-
'pisell2.action-buttons.clear': '清空',
|
995
|
-
'pisell2.action-buttons.manuel-order': "\u624B\u52D5\n\u8A02\u55AE\xA0$",
|
996
|
-
'pisell2.action-buttons.customise-item': '自定義\n商品',
|
997
|
-
'pisell2.action-buttons.no-items-to-adjust': '購物車中沒有商品可調整價格。',
|
998
|
-
'pisell2.action-buttons.adjust-order-price': '調整訂單價格',
|
999
|
-
'pisell2.action-buttons.price-adjusted-success': '訂單價格調整成功。',
|
1000
|
-
'pisell2.action-buttons.clear-success': '清空成功',
|
1001
|
-
'pisell2.text.manual-price-adjustment': '折扣',
|
1002
|
-
// Customise Item Modal
|
1003
|
-
'pisell2.customise-item.modal-title': '創建並添加一次性商品',
|
1004
|
-
'pisell2.customise-item.product-name': '商品名稱',
|
1005
|
-
'pisell2.customise-item.default-product-name': '一次性商品',
|
1006
|
-
'pisell2.customise-item.vouchers-applicable': '應用所有優惠 / 折扣',
|
1007
|
-
'pisell2.customise-item.sell-price': '售價',
|
1008
|
-
'pisell2.customise-item.manual-deduction-price': '手動減價金額',
|
1009
|
-
'pisell2.customise-item.amount-placeholder': '金額',
|
1010
|
-
'pisell2.customise-item.save': '保存',
|
1011
|
-
'pisell2.customise-item.save-success': '自定義商品添加成功。',
|
1012
|
-
'pisell2.customise-item.price-required-error': function pisell2CustomiseItemPriceRequiredError(priceType) {
|
1013
|
-
return "\u8ACB\u5B8C\u6210".concat(priceType, "\u7684\u8F38\u5165\u3002");
|
1014
|
-
},
|
1015
|
-
// SubTotal
|
1016
|
-
'pisell2.subtotal.total': '總價',
|
1017
|
-
// Clear Cart Modal
|
1018
|
-
'pisell2.clear-cart-modal.title': '確定要清空購物車嗎?',
|
1019
|
-
'pisell2.clear-cart-modal.clear-items-only': '僅清空商品',
|
1020
|
-
'pisell2.clear-cart-modal.clear-all-reset': '清空所有內容\n並重置購物車',
|
1021
|
-
'pisell2.clear-cart-modal.empty-cart-tip': '當前購物車為空',
|
1022
|
-
// Voucher Modal
|
1023
|
-
'pisell2.voucher-modal.title': '券碼管理',
|
1024
924
|
'pisell2.text.change.pet.title': '您已變更持有人信息,是否保留該持有人名下的商品?',
|
1025
925
|
'pisell2.text.change.pet.content': '選擇“保留”將商品添加到未分配商品(公共購物車)中;選擇“不保留”將清空該持有人名下的所有商品。',
|
1026
926
|
'pisell2.text.change.pet.content1': '預約類商品無法添加到公共購物車,將會被刪除。',
|
@@ -1059,8 +959,6 @@ export default {
|
|
1059
959
|
return "\u6709\u6548\u671F\u81F3 ".concat(str, " \uFF08\u542B\u7576\u65E5\uFF09");
|
1060
960
|
},
|
1061
961
|
'pisell2.text.quotation.product.change.title': "提示",
|
1062
|
-
'pisell2.text.quotation.product.change.describe': "以下商品信息已更新,请重新编辑相关商品以同步最新数据。"
|
1063
|
-
// Notes
|
1064
|
-
'pisell2.booking.notes.placeholder': '輸入備註...'
|
962
|
+
'pisell2.text.quotation.product.change.describe': "以下商品信息已更新,请重新编辑相关商品以同步最新数据。"
|
1065
963
|
}
|
1066
964
|
};
|
@@ -60,7 +60,7 @@ var Duration = function Duration(props) {
|
|
60
60
|
});
|
61
61
|
}
|
62
62
|
return durationSlicesBasedOnTime;
|
63
|
-
}, [timeObj.durationSlicesBasedOnTime, slice, locale, duration, startDateStr, usableTime === null || usableTime === void 0 ? void 0 : usableTime.end_at]);
|
63
|
+
}, [timeObj === null || timeObj === void 0 ? void 0 : timeObj.durationSlicesBasedOnTime, slice, locale, duration, startDateStr, usableTime === null || usableTime === void 0 ? void 0 : usableTime.end_at]);
|
64
64
|
useEffect(function () {
|
65
65
|
timeObjChange === null || timeObjChange === void 0 || timeObjChange(times);
|
66
66
|
}, [times]);
|
@@ -37,6 +37,6 @@ var StartTime = function StartTime(props) {
|
|
37
37
|
}, d[label]);
|
38
38
|
});
|
39
39
|
}, []);
|
40
|
-
return /*#__PURE__*/React.createElement(Select, _extends({}, selectProps, resetProps), renderOptions(timeObj.timeSlices));
|
40
|
+
return /*#__PURE__*/React.createElement(Select, _extends({}, selectProps, resetProps), renderOptions(timeObj === null || timeObj === void 0 ? void 0 : timeObj.timeSlices));
|
41
41
|
};
|
42
42
|
export default StartTime;
|
@@ -4,73 +4,53 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
4
4
|
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; }
|
5
5
|
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; } }
|
6
6
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
7
|
-
import React, { useState } from "react";
|
8
|
-
import {
|
9
|
-
import
|
7
|
+
import React, { useEffect, useState } from "react";
|
8
|
+
import { Input } from "antd";
|
9
|
+
import { useDebounce, useUpdateEffect } from "ahooks";
|
10
10
|
import "./index.less";
|
11
11
|
import { locales } from "@pisell/utils";
|
12
|
-
import NoteModal from "../../../../plus/noteModal";
|
13
12
|
var AddNote = function AddNote(_ref) {
|
14
13
|
var value = _ref.value,
|
15
14
|
onChange = _ref.onChange,
|
15
|
+
_ref$wait = _ref.wait,
|
16
|
+
wait = _ref$wait === void 0 ? 200 : _ref$wait,
|
16
17
|
title = _ref.title,
|
17
18
|
placeholder = _ref.placeholder;
|
18
|
-
var _useState = useState(
|
19
|
+
var _useState = useState(),
|
19
20
|
_useState2 = _slicedToArray(_useState, 2),
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
21
|
+
_value = _useState2[0],
|
22
|
+
_setValue = _useState2[1];
|
23
|
+
var debouncedValue = useDebounce(_value, {
|
24
|
+
wait: wait
|
25
|
+
});
|
26
|
+
useEffect(function () {
|
27
|
+
_setValue(value);
|
28
|
+
}, [value]);
|
29
|
+
var _onChange = function _onChange(e) {
|
30
|
+
_setValue(e.target.value);
|
26
31
|
};
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
// 删除回调
|
35
|
-
var handleDelete = function handleDelete() {
|
36
|
-
onChange === null || onChange === void 0 || onChange("");
|
37
|
-
setModalOpen(false);
|
38
|
-
};
|
39
|
-
|
40
|
-
// 取消回调
|
41
|
-
var handleCancel = function handleCancel() {
|
42
|
-
setModalOpen(false);
|
43
|
-
};
|
44
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
32
|
+
useUpdateEffect(function () {
|
33
|
+
if (value !== debouncedValue) {
|
34
|
+
onChange(debouncedValue);
|
35
|
+
}
|
36
|
+
}, [debouncedValue]);
|
37
|
+
return /*#__PURE__*/React.createElement("div", {
|
45
38
|
className: "pisell-lowcode__booking-notes"
|
46
39
|
}, /*#__PURE__*/React.createElement("div", {
|
47
40
|
className: "pisell-lowcode__booking-notes-label"
|
48
41
|
}, title), /*#__PURE__*/React.createElement("div", {
|
49
|
-
className: "pisell-lowcode__booking-notes-input
|
42
|
+
className: "pisell-lowcode__booking-notes-input",
|
50
43
|
style: {
|
51
44
|
marginTop: title ? 8 : 0
|
52
|
-
},
|
53
|
-
onClick: handleOpenModal
|
54
|
-
}, value ? /*#__PURE__*/React.createElement("div", {
|
55
|
-
className: "pisell-lowcode__booking-notes-content"
|
56
|
-
}, value) : /*#__PURE__*/React.createElement("div", {
|
57
|
-
className: "pisell-lowcode__booking-notes-placeholder"
|
58
|
-
}, placeholder || locales.getText("pisell2.text.add-order-notes")), /*#__PURE__*/React.createElement(Button, {
|
59
|
-
type: "text",
|
60
|
-
icon: /*#__PURE__*/React.createElement(Edit05, null),
|
61
|
-
size: "small",
|
62
|
-
className: "pisell-lowcode__booking-notes-edit-btn",
|
63
|
-
onClick: function onClick(e) {
|
64
|
-
e.stopPropagation();
|
65
|
-
handleOpenModal();
|
66
45
|
}
|
67
|
-
}
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
46
|
+
}, /*#__PURE__*/React.createElement(Input.TextArea, {
|
47
|
+
placeholder: placeholder || locales.getText("pisell2.text.add-order-notes"),
|
48
|
+
autoSize: {
|
49
|
+
minRows: 4
|
50
|
+
},
|
51
|
+
allowClear: true,
|
52
|
+
value: _value,
|
53
|
+
onChange: _onChange
|
54
|
+
})));
|
75
55
|
};
|
76
56
|
export default AddNote;
|
@@ -1,7 +1,6 @@
|
|
1
1
|
.pisell-lowcode__booking-notes {
|
2
2
|
padding: 20px 0;
|
3
3
|
}
|
4
|
-
|
5
4
|
.pisell-lowcode__booking-notes-label {
|
6
5
|
font-size: 16px;
|
7
6
|
font-weight: 500;
|
@@ -11,58 +10,6 @@
|
|
11
10
|
margin-top: 8px;
|
12
11
|
}
|
13
12
|
|
14
|
-
.pisell-lowcode__booking-notes-input-area {
|
15
|
-
position: relative;
|
16
|
-
min-height: 80px;
|
17
|
-
padding: 12px;
|
18
|
-
border: 1px solid #d9d9d9;
|
19
|
-
border-radius: 6px;
|
20
|
-
background-color: #ffffff;
|
21
|
-
cursor: pointer;
|
22
|
-
transition: all 0.2s;
|
23
|
-
|
24
|
-
&:hover {
|
25
|
-
border-color: #4096ff;
|
26
|
-
}
|
27
|
-
|
28
|
-
&:focus-within {
|
29
|
-
border-color: #4096ff;
|
30
|
-
box-shadow: 0 0 0 2px rgba(5, 145, 255, 0.1);
|
31
|
-
}
|
32
|
-
}
|
33
|
-
|
34
|
-
.pisell-lowcode__booking-notes-content {
|
35
|
-
font-size: 14px;
|
36
|
-
color: rgba(0, 0, 0, 0.88);
|
37
|
-
line-height: 1.5714285714285714;
|
38
|
-
white-space: pre-wrap;
|
39
|
-
word-break: break-word;
|
40
|
-
padding-right: 32px;
|
41
|
-
}
|
42
|
-
|
43
|
-
.pisell-lowcode__booking-notes-placeholder {
|
44
|
-
font-size: 14px;
|
45
|
-
color: rgba(0, 0, 0, 0.25);
|
46
|
-
line-height: 1.5714285714285714;
|
47
|
-
padding-right: 32px;
|
48
|
-
}
|
49
|
-
|
50
|
-
.pisell-lowcode__booking-notes-edit-btn {
|
51
|
-
position: absolute;
|
52
|
-
top: 8px;
|
53
|
-
right: 8px;
|
54
|
-
display: flex;
|
55
|
-
align-items: center;
|
56
|
-
justify-content: center;
|
57
|
-
width: 24px;
|
58
|
-
height: 24px;
|
59
|
-
color: rgba(0, 0, 0, 0.45);
|
60
|
-
|
61
|
-
&:hover {
|
62
|
-
color: #4096ff;
|
63
|
-
}
|
64
|
-
}
|
65
|
-
|
66
13
|
.pisell-lowcode__booking-notes-desc {
|
67
14
|
margin-top: 8px;
|
68
15
|
}
|
@@ -670,7 +670,7 @@ export var getServerItemExtend = function getServerItemExtend(state, cacheItem,
|
|
670
670
|
if (isSession) {
|
671
671
|
return getDays(cacheItem, 'minutes');
|
672
672
|
}
|
673
|
-
return findNextDuration(cacheItem.duration, timeObj.durationSlicesBasedOnTime, cacheItem === null || cacheItem === void 0 || (_cacheItem$duration = cacheItem.duration) === null || _cacheItem$duration === void 0 ? void 0 : _cacheItem$duration.value);
|
673
|
+
return findNextDuration(cacheItem.duration, timeObj === null || timeObj === void 0 ? void 0 : timeObj.durationSlicesBasedOnTime, cacheItem === null || cacheItem === void 0 || (_cacheItem$duration = cacheItem.duration) === null || _cacheItem$duration === void 0 ? void 0 : _cacheItem$duration.value);
|
674
674
|
};
|
675
675
|
|
676
676
|
// 获取上一个服务商品
|
@@ -694,7 +694,7 @@ export var getServerItemExtend = function getServerItemExtend(state, cacheItem,
|
|
694
694
|
} else {
|
695
695
|
// 如果上个服务商品的结束时间跨天, 那么设置为最后一个时间段, 不跨天则取上一个的结束时间
|
696
696
|
if (dayjs(lastServerEndDate).isAfter(lastServerStartDate, 'day')) {
|
697
|
-
_extend.start_time = timeObj.timeSlices[timeObj.timeSlices.length - 1].value;
|
697
|
+
_extend.start_time = timeObj === null || timeObj === void 0 ? void 0 : timeObj.timeSlices[(timeObj === null || timeObj === void 0 ? void 0 : timeObj.timeSlices.length) - 1].value;
|
698
698
|
} else {
|
699
699
|
_extend.start_time = lastServerEndDate.format("HH:mm");
|
700
700
|
}
|
@@ -704,7 +704,7 @@ export var getServerItemExtend = function getServerItemExtend(state, cacheItem,
|
|
704
704
|
// _extend.resource = 0;
|
705
705
|
|
706
706
|
var findNextSliceProps = {
|
707
|
-
timeSlices: timeObj.timeSlices,
|
707
|
+
timeSlices: timeObj === null || timeObj === void 0 ? void 0 : timeObj.timeSlices,
|
708
708
|
index: 0,
|
709
709
|
date: ''
|
710
710
|
};
|