@pisell/private-materials 3.3.79 → 3.3.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +8 -8
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +5 -5
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +6 -6
- package/es/businessModel/SalesModel/Sales/index.js +4 -37
- package/es/businessModel/SalesModel/index.d.ts +1 -0
- package/es/components/Sales/Resource/index.js +2 -2
- package/es/components/Sales/Resource/serve.d.ts +0 -7
- package/es/components/Sales/Resource/serve.js +0 -10
- package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
- package/es/components/appointmentBooking/components/Cart/Item/index.js +2 -4
- package/es/components/appointmentBooking/components/Cart/Item/index.less +3 -3
- package/es/components/appointmentBooking/components/Cart/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Content/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Content/index.less +1 -1
- package/es/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Footer/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Header/index.js +14 -8
- package/es/components/appointmentBooking/components/Services/index.js +36 -38
- package/es/components/appointmentBooking/components/Voucher/index.js +0 -13
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.js +7 -6
- package/es/components/appointmentBooking/deposit/index.d.ts +1 -0
- package/es/components/appointmentBooking/index.js +0 -14
- package/es/components/appointmentBooking/index.less +1 -1
- package/es/components/appointmentBooking/locales.js +3 -3
- package/es/components/booking/addons/index.js +2 -9
- package/es/components/booking/addons/model.js +0 -5
- package/es/components/booking/components/TabProduct/index.d.ts +1 -0
- package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
- package/es/components/booking/components/TabProduct/selectProductItem/index.js +1 -3
- package/es/components/booking/components/TabProduct/selectProductItem/index.less +0 -6
- 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.js +1 -2
- package/es/components/booking/components/footer/index.js +3 -9
- package/es/components/booking/components/footer/utils.d.ts +0 -1
- package/es/components/booking/components/footer/utils.js +37 -75
- package/es/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
- package/es/components/booking/components/voucher/index.js +66 -110
- package/es/components/booking/deposit/index.d.ts +1 -0
- package/es/components/booking/forms/footer.d.ts +1 -0
- 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/forms/table/index.d.ts +1 -0
- package/es/components/booking/hooks/useClearCart.d.ts +1 -0
- package/es/components/booking/info/addServiceVariant/index.d.ts +1 -0
- package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
- package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/es/components/booking/info/date/index.d.ts +1 -0
- package/es/components/booking/info/dateRange/index.d.ts +1 -0
- package/es/components/booking/info/header/index.d.ts +1 -0
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
- package/es/components/booking/info/index.d.ts +1 -0
- package/es/components/booking/info/notes/index.d.ts +1 -0
- package/es/components/booking/info/service/Lists.d.ts +1 -0
- package/es/components/booking/info/service/actions/index.d.ts +1 -0
- package/es/components/booking/info/service/addService/index.d.ts +1 -0
- package/es/components/booking/info/service/addTimeModal/index.d.ts +1 -0
- package/es/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
- package/es/components/booking/info/service/like/index.d.ts +1 -0
- package/es/components/booking/info/service/serviceItem/index.d.ts +1 -0
- package/es/components/booking/info/service/serviceList/index.d.ts +1 -0
- package/es/components/booking/info/service2/Lists.d.ts +1 -0
- package/es/components/booking/info/service2/utils.d.ts +1 -1
- package/es/components/booking/info/service2/utils.js +4 -9
- package/es/components/booking/info/utils.js +1 -1
- package/es/components/booking/info2/service/actions/index.d.ts +1 -0
- package/es/components/booking/info2/service/addService/index.js +2 -2
- package/es/components/booking/info2/service/addService/utils.d.ts +0 -10
- package/es/components/booking/info2/service/addService/utils.js +13 -43
- package/es/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
- package/es/components/booking/info2/service/editService/Resources/index.js +8 -22
- package/es/components/booking/info2/service/editService/Resources/index.less +0 -6
- package/es/components/booking/info2/service/editService/index.js +2 -5
- package/es/components/booking/info2/service/serviceItem/index.d.ts +1 -0
- package/es/components/booking/info2/service/serviceList/index.d.ts +1 -0
- package/es/components/booking/info2/utilsByBooking.d.ts +1 -1
- package/es/components/booking/info2/utilsByBooking.js +3 -14
- package/es/components/booking/locales.d.ts +0 -6
- package/es/components/booking/locales.js +3 -9
- package/es/components/booking/materiels/contacts/index.d.ts +1 -0
- package/es/components/booking/materiels/duration/index.d.ts +1 -0
- package/es/components/booking/materiels/holder/index.d.ts +1 -0
- package/es/components/booking/materiels/startTime/index.d.ts +1 -0
- package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
- package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
- package/es/components/booking/notes/addNote/index.d.ts +1 -0
- package/es/components/eftpos/deviceList/index.d.ts +1 -0
- package/es/components/eftpos/form/index.d.ts +1 -0
- package/es/components/eftpos/group/index.d.ts +1 -0
- package/es/components/eftpos/hooks.d.ts +1 -0
- package/es/components/eftpos/icon/apiKey.d.ts +1 -0
- package/es/components/eftpos/icon/device.d.ts +1 -0
- package/es/components/eftpos/index.d.ts +1 -0
- package/es/components/eftpos/pos.d.ts +1 -0
- package/es/components/eftpos/receipt/index.d.ts +1 -0
- package/es/components/eftpos/surcharge/index.d.ts +1 -0
- package/es/components/eftposPay/amount.d.ts +2 -1
- package/es/components/eftposPay/app.d.ts +1 -0
- package/es/components/eftposPay/component/alert/warn.d.ts +1 -0
- package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -0
- package/es/components/eftposPay/component/fail/index.d.ts +1 -0
- package/es/components/eftposPay/component/fail/network.d.ts +1 -0
- package/es/components/eftposPay/component/fail/unknow.d.ts +1 -0
- package/es/components/eftposPay/component/header/titlebar.d.ts +1 -0
- package/es/components/eftposPay/component/manual/index.d.ts +1 -0
- package/es/components/eftposPay/component/signature/index.d.ts +1 -0
- package/es/components/eftposPay/component/step/index.d.ts +1 -0
- package/es/components/eftposPay/component/step/step.d.ts +1 -0
- package/es/components/eftposPay/device.d.ts +2 -1
- package/es/components/eftposPay/hooks.d.ts +2 -2
- package/es/components/eftposPay/index.d.ts +1 -0
- package/es/components/eftposPay/pay.d.ts +1 -0
- 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/tyro/hooks.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/ErrorTip/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.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.js +4 -13
- 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/Information/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/InformationOptionsModal/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/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.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/bookingDetailModal/index.js +3 -19
- package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
- package/es/components/eventBooking/index.js +7 -21
- package/es/components/eventBooking/locales.js +3 -3
- package/es/components/index.d.ts +1 -3
- package/es/components/index.js +1 -3
- 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/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/index.js +4 -5
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/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/PhoneField/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/Actor/index.d.ts +1 -0
- package/es/components/productExtension/fields/Forms/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.d.ts +1 -0
- package/es/components/ruleSetting/index.d.ts +1 -0
- package/es/components/ruleSetting/ruleBorder/index.d.ts +1 -0
- package/es/components/schedules/calendar/calendarItem.d.ts +1 -0
- package/es/components/schedules/calendar/index.d.ts +1 -0
- package/es/components/schedules/components/CurrentDay/index.d.ts +1 -0
- package/es/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
- package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
- package/es/components/schedules/components/ScheduleList/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
- package/es/components/schedules/products/index.d.ts +1 -0
- package/es/components/schedules/products/list/ProductItem/index.d.ts +1 -0
- package/es/components/schedules/products/list/index.d.ts +1 -0
- package/es/components/schedules/resources/index.d.ts +1 -0
- package/es/components/schedules/resources/list/index.d.ts +1 -0
- package/es/components/schedules/resources/relationProduct/index.d.ts +1 -0
- package/es/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
- package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
- package/es/components/schedules/schedules/index.d.ts +1 -0
- package/es/components/shoppingCart/components/Cart/Product.d.ts +1 -0
- package/es/components/shoppingCart/components/Cart/index.d.ts +1 -0
- package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
- package/es/components/shoppingCart/components/Render/index.d.ts +1 -0
- 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/taxSelect/index.d.ts +1 -0
- package/es/components/ticketBooking/components/addServiceVariant/addService.js +5 -6
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
- package/es/components/ticketBooking/components/menuBar/index.d.ts +1 -0
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +0 -1
- package/es/components/ticketBooking/components/ticketBooking/index.js +140 -261
- package/es/components/ticketBooking/components/timeBar/index.d.ts +1 -0
- package/es/components/ticketBooking/index.d.ts +1 -0
- package/es/components/ticketBooking/locales.d.ts +146 -164
- package/es/components/ticketBooking/locales.js +147 -195
- package/es/components/ticketBooking/utils/index.d.ts +1 -5
- package/es/components/ticketBooking/utils/index.js +6 -58
- package/es/components/wallet/hooks/useWalletCard.d.ts +1 -0
- package/es/components/workSpaceList/components/Modal/index.d.ts +1 -0
- package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
- package/es/index.d.ts +0 -2
- package/es/index.js +1 -3
- package/lib/businessModel/SalesModel/Sales/index.js +8 -22
- package/lib/businessModel/SalesModel/index.d.ts +1 -0
- package/lib/components/Sales/Resource/index.js +1 -1
- package/lib/components/Sales/Resource/serve.d.ts +0 -7
- package/lib/components/Sales/Resource/serve.js +2 -9
- package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Cart/Item/index.js +4 -5
- package/lib/components/appointmentBooking/components/Cart/Item/index.less +3 -3
- package/lib/components/appointmentBooking/components/Cart/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Content/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Content/index.less +1 -1
- package/lib/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Header/index.js +3 -2
- package/lib/components/appointmentBooking/components/Services/index.js +18 -19
- package/lib/components/appointmentBooking/components/Voucher/index.js +0 -9
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.js +1 -0
- package/lib/components/appointmentBooking/deposit/index.d.ts +1 -0
- package/lib/components/appointmentBooking/index.js +0 -11
- package/lib/components/appointmentBooking/index.less +1 -1
- package/lib/components/appointmentBooking/locales.js +3 -3
- package/lib/components/booking/addons/index.js +2 -10
- package/lib/components/booking/addons/model.js +0 -3
- package/lib/components/booking/components/TabProduct/index.d.ts +1 -0
- package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
- package/lib/components/booking/components/TabProduct/selectProductItem/index.js +1 -5
- package/lib/components/booking/components/TabProduct/selectProductItem/index.less +0 -6
- 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.js +1 -2
- package/lib/components/booking/components/footer/index.js +5 -10
- package/lib/components/booking/components/footer/utils.d.ts +0 -1
- package/lib/components/booking/components/footer/utils.js +12 -50
- package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
- package/lib/components/booking/components/voucher/index.js +67 -111
- package/lib/components/booking/deposit/index.d.ts +1 -0
- package/lib/components/booking/forms/footer.d.ts +1 -0
- 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/forms/table/index.d.ts +1 -0
- package/lib/components/booking/hooks/useClearCart.d.ts +1 -0
- package/lib/components/booking/info/addServiceVariant/index.d.ts +1 -0
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
- package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/lib/components/booking/info/date/index.d.ts +1 -0
- package/lib/components/booking/info/dateRange/index.d.ts +1 -0
- package/lib/components/booking/info/header/index.d.ts +1 -0
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
- package/lib/components/booking/info/index.d.ts +1 -0
- package/lib/components/booking/info/notes/index.d.ts +1 -0
- package/lib/components/booking/info/service/Lists.d.ts +1 -0
- package/lib/components/booking/info/service/actions/index.d.ts +1 -0
- package/lib/components/booking/info/service/addService/index.d.ts +1 -0
- package/lib/components/booking/info/service/addTimeModal/index.d.ts +1 -0
- package/lib/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
- package/lib/components/booking/info/service/like/index.d.ts +1 -0
- package/lib/components/booking/info/service/serviceItem/index.d.ts +1 -0
- package/lib/components/booking/info/service/serviceList/index.d.ts +1 -0
- package/lib/components/booking/info/service2/Lists.d.ts +1 -0
- package/lib/components/booking/info/service2/utils.d.ts +1 -1
- package/lib/components/booking/info/service2/utils.js +3 -5
- package/lib/components/booking/info/utils.js +3 -1
- package/lib/components/booking/info2/service/actions/index.d.ts +1 -0
- package/lib/components/booking/info2/service/addService/index.js +2 -2
- package/lib/components/booking/info2/service/addService/utils.d.ts +0 -10
- package/lib/components/booking/info2/service/addService/utils.js +4 -26
- package/lib/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
- package/lib/components/booking/info2/service/editService/Resources/index.js +10 -54
- package/lib/components/booking/info2/service/editService/Resources/index.less +0 -6
- package/lib/components/booking/info2/service/editService/index.js +2 -5
- package/lib/components/booking/info2/service/serviceItem/index.d.ts +1 -0
- package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -0
- package/lib/components/booking/info2/utilsByBooking.d.ts +1 -1
- package/lib/components/booking/info2/utilsByBooking.js +2 -9
- package/lib/components/booking/locales.d.ts +0 -6
- package/lib/components/booking/locales.js +3 -9
- package/lib/components/booking/materiels/contacts/index.d.ts +1 -0
- package/lib/components/booking/materiels/duration/index.d.ts +1 -0
- package/lib/components/booking/materiels/holder/index.d.ts +1 -0
- package/lib/components/booking/materiels/startTime/index.d.ts +1 -0
- package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
- package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
- package/lib/components/booking/notes/addNote/index.d.ts +1 -0
- package/lib/components/eftpos/deviceList/index.d.ts +1 -0
- package/lib/components/eftpos/form/index.d.ts +1 -0
- package/lib/components/eftpos/group/index.d.ts +1 -0
- package/lib/components/eftpos/hooks.d.ts +1 -0
- package/lib/components/eftpos/icon/apiKey.d.ts +1 -0
- package/lib/components/eftpos/icon/device.d.ts +1 -0
- package/lib/components/eftpos/index.d.ts +1 -0
- package/lib/components/eftpos/pos.d.ts +1 -0
- package/lib/components/eftpos/receipt/index.d.ts +1 -0
- package/lib/components/eftpos/surcharge/index.d.ts +1 -0
- package/lib/components/eftposPay/amount.d.ts +2 -1
- package/lib/components/eftposPay/app.d.ts +1 -0
- package/lib/components/eftposPay/component/alert/warn.d.ts +1 -0
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -0
- package/lib/components/eftposPay/component/fail/index.d.ts +1 -0
- package/lib/components/eftposPay/component/fail/network.d.ts +1 -0
- package/lib/components/eftposPay/component/fail/unknow.d.ts +1 -0
- package/lib/components/eftposPay/component/header/titlebar.d.ts +1 -0
- package/lib/components/eftposPay/component/manual/index.d.ts +1 -0
- package/lib/components/eftposPay/component/signature/index.d.ts +1 -0
- package/lib/components/eftposPay/component/step/index.d.ts +1 -0
- package/lib/components/eftposPay/component/step/step.d.ts +1 -0
- package/lib/components/eftposPay/device.d.ts +2 -1
- package/lib/components/eftposPay/hooks.d.ts +2 -2
- package/lib/components/eftposPay/index.d.ts +1 -0
- package/lib/components/eftposPay/pay.d.ts +1 -0
- 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/tyro/hooks.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/ErrorTip/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.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.js +3 -10
- 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/Information/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/InformationOptionsModal/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/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.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/bookingDetailModal/index.js +3 -9
- package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
- package/lib/components/eventBooking/index.js +7 -11
- package/lib/components/eventBooking/locales.js +3 -3
- package/lib/components/index.d.ts +1 -3
- package/lib/components/index.js +0 -6
- 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/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/index.js +9 -10
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/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/PhoneField/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/Actor/index.d.ts +1 -0
- package/lib/components/productExtension/fields/Forms/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.d.ts +1 -0
- package/lib/components/ruleSetting/index.d.ts +1 -0
- package/lib/components/ruleSetting/ruleBorder/index.d.ts +1 -0
- package/lib/components/schedules/calendar/calendarItem.d.ts +1 -0
- package/lib/components/schedules/calendar/index.d.ts +1 -0
- package/lib/components/schedules/components/CurrentDay/index.d.ts +1 -0
- package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
- package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
- package/lib/components/schedules/components/ScheduleList/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
- package/lib/components/schedules/products/index.d.ts +1 -0
- package/lib/components/schedules/products/list/ProductItem/index.d.ts +1 -0
- package/lib/components/schedules/products/list/index.d.ts +1 -0
- package/lib/components/schedules/resources/index.d.ts +1 -0
- package/lib/components/schedules/resources/list/index.d.ts +1 -0
- package/lib/components/schedules/resources/relationProduct/index.d.ts +1 -0
- package/lib/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
- package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
- package/lib/components/schedules/schedules/index.d.ts +1 -0
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +1 -0
- package/lib/components/shoppingCart/components/Cart/index.d.ts +1 -0
- package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
- package/lib/components/shoppingCart/components/Render/index.d.ts +1 -0
- 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/taxSelect/index.d.ts +1 -0
- package/lib/components/ticketBooking/components/addServiceVariant/addService.js +4 -6
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
- package/lib/components/ticketBooking/components/menuBar/index.d.ts +1 -0
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +0 -1
- package/lib/components/ticketBooking/components/ticketBooking/index.js +141 -267
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +1 -0
- package/lib/components/ticketBooking/index.d.ts +1 -0
- package/lib/components/ticketBooking/locales.d.ts +146 -164
- package/lib/components/ticketBooking/locales.js +4 -22
- package/lib/components/ticketBooking/utils/index.d.ts +1 -5
- package/lib/components/ticketBooking/utils/index.js +5 -48
- package/lib/components/wallet/hooks/useWalletCard.d.ts +1 -0
- package/lib/components/workSpaceList/components/Modal/index.d.ts +1 -0
- package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
- package/lib/index.d.ts +0 -2
- package/lib/index.js +0 -6
- package/package.json +3 -3
- package/es/components/booking/components/voucher/utils.d.ts +0 -4
- package/es/components/booking/components/voucher/utils.js +0 -15
- package/es/components/booking/editBookingModal/index.d.ts +0 -5
- package/es/components/booking/editBookingModal/index.js +0 -386
- package/es/components/booking/editBookingModal/index.less +0 -8
- package/es/components/booking/editBookingModal/locales.d.ts +0 -21
- package/es/components/booking/editBookingModal/locales.js +0 -20
- package/es/components/booking/editBookingModal/mock.d.ts +0 -807
- package/es/components/booking/editBookingModal/mock.js +0 -2993
- package/es/components/booking/editBookingModal/serve.d.ts +0 -51
- package/es/components/booking/editBookingModal/serve.js +0 -288
- package/es/components/booking/editBookingModal/type.d.ts +0 -12
- package/es/components/booking/editBookingModal/type.js +0 -1
- package/es/components/booking/editBookingModal/utils.d.ts +0 -12
- package/es/components/booking/editBookingModal/utils.js +0 -157
- package/es/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.d.ts +0 -7
- package/es/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.js +0 -26
- package/es/components/booking/info2/service/editService/ResourcesV2/index.d.ts +0 -10
- package/es/components/booking/info2/service/editService/ResourcesV2/index.js +0 -308
- package/es/components/booking/info2/service/editService/ResourcesV2/index.less +0 -44
- package/es/components/stepController/components/Content/index.d.ts +0 -7
- package/es/components/stepController/components/Content/index.js +0 -9
- package/es/components/stepController/components/Content/index.less +0 -8
- package/es/components/stepController/components/Footer/index.d.ts +0 -8
- package/es/components/stepController/components/Footer/index.js +0 -15
- package/es/components/stepController/components/Footer/index.less +0 -39
- package/es/components/stepController/components/Header/index.d.ts +0 -20
- package/es/components/stepController/components/Header/index.js +0 -97
- package/es/components/stepController/components/Header/index.less +0 -21
- package/es/components/stepController/index.d.ts +0 -5
- package/es/components/stepController/index.js +0 -64
- package/es/components/stepController/index.less +0 -11
- package/es/components/stepController/locales.d.ts +0 -27
- package/es/components/stepController/locales.js +0 -32
- package/es/components/stepController/types.d.ts +0 -23
- package/es/components/stepController/types.js +0 -1
- package/es/components/ticketBooking/utils/formatProductMessage.d.ts +0 -2
- package/es/components/ticketBooking/utils/formatProductMessage.js +0 -62
- package/es/components/ticketBooking/utils/formatTime.d.ts +0 -31
- package/es/components/ticketBooking/utils/formatTime.js +0 -144
- package/es/hooks/useWindowSize.d.ts +0 -5
- package/es/hooks/useWindowSize.js +0 -26
- package/lib/components/booking/components/voucher/utils.d.ts +0 -4
- package/lib/components/booking/components/voucher/utils.js +0 -43
- package/lib/components/booking/editBookingModal/index.d.ts +0 -5
- package/lib/components/booking/editBookingModal/index.js +0 -363
- package/lib/components/booking/editBookingModal/index.less +0 -8
- package/lib/components/booking/editBookingModal/locales.d.ts +0 -21
- package/lib/components/booking/editBookingModal/locales.js +0 -44
- package/lib/components/booking/editBookingModal/mock.d.ts +0 -807
- package/lib/components/booking/editBookingModal/mock.js +0 -3314
- package/lib/components/booking/editBookingModal/serve.d.ts +0 -51
- package/lib/components/booking/editBookingModal/serve.js +0 -178
- package/lib/components/booking/editBookingModal/type.d.ts +0 -12
- package/lib/components/booking/editBookingModal/type.js +0 -17
- package/lib/components/booking/editBookingModal/utils.d.ts +0 -12
- package/lib/components/booking/editBookingModal/utils.js +0 -158
- package/lib/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.d.ts +0 -7
- package/lib/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.js +0 -53
- package/lib/components/booking/info2/service/editService/ResourcesV2/index.d.ts +0 -10
- package/lib/components/booking/info2/service/editService/ResourcesV2/index.js +0 -311
- package/lib/components/booking/info2/service/editService/ResourcesV2/index.less +0 -44
- package/lib/components/stepController/components/Content/index.d.ts +0 -7
- package/lib/components/stepController/components/Content/index.js +0 -40
- package/lib/components/stepController/components/Content/index.less +0 -8
- package/lib/components/stepController/components/Footer/index.d.ts +0 -8
- package/lib/components/stepController/components/Footer/index.js +0 -49
- package/lib/components/stepController/components/Footer/index.less +0 -39
- package/lib/components/stepController/components/Header/index.d.ts +0 -20
- package/lib/components/stepController/components/Header/index.js +0 -104
- package/lib/components/stepController/components/Header/index.less +0 -21
- package/lib/components/stepController/index.d.ts +0 -5
- package/lib/components/stepController/index.js +0 -89
- package/lib/components/stepController/index.less +0 -11
- package/lib/components/stepController/locales.d.ts +0 -27
- package/lib/components/stepController/locales.js +0 -50
- package/lib/components/stepController/types.d.ts +0 -23
- package/lib/components/stepController/types.js +0 -17
- package/lib/components/ticketBooking/utils/formatProductMessage.d.ts +0 -2
- package/lib/components/ticketBooking/utils/formatProductMessage.js +0 -84
- package/lib/components/ticketBooking/utils/formatTime.d.ts +0 -31
- package/lib/components/ticketBooking/utils/formatTime.js +0 -139
- package/lib/hooks/useWindowSize.d.ts +0 -5
- package/lib/hooks/useWindowSize.js +0 -51
- package/lowcode/edit-booking-modal/meta.ts +0 -53
- package/lowcode/step-controller/meta.ts +0 -88
|
@@ -183,18 +183,10 @@ export var formatResources = function formatResources(_ref5) {
|
|
|
183
183
|
className: "resource-option"
|
|
184
184
|
}, /*#__PURE__*/React.createElement("div", {
|
|
185
185
|
className: "like-wrap"
|
|
186
|
-
}), /*#__PURE__*/React.createElement(
|
|
187
|
-
className: "resource-option-label-text"
|
|
188
|
-
}, newData.labelText), (!newData.usable || !item.optional_resource.includes(newData.id)) && newData.id !== 0 && /*#__PURE__*/React.createElement(AlertTriangle, {
|
|
186
|
+
}), newData.labelText, !newData.usable && /*#__PURE__*/React.createElement(AlertTriangle, {
|
|
189
187
|
className: "resource-option-alert-icon"
|
|
190
188
|
}));
|
|
191
189
|
});
|
|
192
|
-
// 平行资源日历拖拽需求
|
|
193
|
-
// 当拖入为绑定的资源中时,为了展示,会临时创建目标资源对应的resourceItem
|
|
194
|
-
// 但是在 item.optional_resource 中并不包含目标资源id
|
|
195
|
-
if (!item.optional_resource.includes(d.id) && d.id !== 0) {
|
|
196
|
-
res.unbound = true;
|
|
197
|
-
}
|
|
198
190
|
renderListMaps[res.id] = res;
|
|
199
191
|
return res;
|
|
200
192
|
}).sort(function (a, b) {
|
|
@@ -364,12 +356,10 @@ export var setDefaultCapacitys = function setDefaultCapacitys(_ref7) {
|
|
|
364
356
|
* @Author: zhiwei.Wang
|
|
365
357
|
* @Date: 2024-09-19 20:23
|
|
366
358
|
*/
|
|
367
|
-
|
|
359
|
+
var getResourceByIds = function getResourceByIds(resourcesOriginMap, cacheItem) {
|
|
368
360
|
var _cacheItem$product_re;
|
|
369
361
|
var _resources = _toConsumableArray((cacheItem === null || cacheItem === void 0 || (_cacheItem$product_re = cacheItem.product_resource) === null || _cacheItem$product_re === void 0 ? void 0 : _cacheItem$product_re.resources) || []);
|
|
370
|
-
|
|
371
|
-
_ref8$extraResources = _ref8.extraResources,
|
|
372
|
-
extraResources = _ref8$extraResources === void 0 ? [] : _ref8$extraResources;
|
|
362
|
+
|
|
373
363
|
// 过滤出开启的资源
|
|
374
364
|
_resources = _resources.filter(function (d) {
|
|
375
365
|
return d.status == 1;
|
|
@@ -381,14 +371,6 @@ export var getResourceByIds = function getResourceByIds(resourcesOriginMap, cach
|
|
|
381
371
|
var item = _step2.value;
|
|
382
372
|
var form_id = item.id;
|
|
383
373
|
|
|
384
|
-
// 将未绑定的资源,也放入 SelectOption 列表,避免出现仅展示id的情况
|
|
385
|
-
var extraResourceIds = extraResources.filter(function (_extraItem) {
|
|
386
|
-
return _extraItem.form_id === form_id && !item.optional_resource.includes(_extraItem.id);
|
|
387
|
-
}).map(function (_extraItem) {
|
|
388
|
-
return _extraItem.id;
|
|
389
|
-
});
|
|
390
|
-
extraResourceIds = Array.from(new Set(extraResourceIds));
|
|
391
|
-
|
|
392
374
|
// 去重
|
|
393
375
|
item.optional_resource = (item.optional_resource || []).filter(function (d) {
|
|
394
376
|
return item.default_resource.indexOf(d) == -1;
|
|
@@ -411,7 +393,7 @@ export var getResourceByIds = function getResourceByIds(resourcesOriginMap, cach
|
|
|
411
393
|
};
|
|
412
394
|
|
|
413
395
|
// 可选项
|
|
414
|
-
var optional_resource =
|
|
396
|
+
var optional_resource = item.optional_resource.map(function (d) {
|
|
415
397
|
if (!resourcesOriginMap[d]) {
|
|
416
398
|
return null;
|
|
417
399
|
}
|
|
@@ -472,10 +454,10 @@ var getIsAutoClose = function getIsAutoClose(cacheItem) {
|
|
|
472
454
|
}
|
|
473
455
|
}
|
|
474
456
|
}
|
|
475
|
-
return Object.entries(cacheItem._extend.resource).every(function (
|
|
476
|
-
var
|
|
477
|
-
key =
|
|
478
|
-
value =
|
|
457
|
+
return Object.entries(cacheItem._extend.resource).every(function (_ref8) {
|
|
458
|
+
var _ref9 = _slicedToArray(_ref8, 2),
|
|
459
|
+
key = _ref9[0],
|
|
460
|
+
value = _ref9[1];
|
|
479
461
|
return getAutoAllocationStorage(key) && (value === null || value === void 0 ? void 0 : value.length);
|
|
480
462
|
});
|
|
481
463
|
};
|
|
@@ -488,10 +470,10 @@ var getIsAutoClose = function getIsAutoClose(cacheItem) {
|
|
|
488
470
|
* @Author: zhiwei.Wang
|
|
489
471
|
* @Date: 2024-06-01 13:25
|
|
490
472
|
*/
|
|
491
|
-
export var getProductExtend = function getProductExtend(
|
|
492
|
-
var cacheItem =
|
|
493
|
-
state =
|
|
494
|
-
isDisabledTime =
|
|
473
|
+
export var getProductExtend = function getProductExtend(_ref10) {
|
|
474
|
+
var cacheItem = _ref10.cacheItem,
|
|
475
|
+
state = _ref10.state,
|
|
476
|
+
isDisabledTime = _ref10.isDisabledTime;
|
|
495
477
|
// 有endDate 说明是在编辑已经保存过的商品, 没有则是编辑还没保存过的商品
|
|
496
478
|
var isNew = cacheItem.new || !cacheItem._extend.endDate;
|
|
497
479
|
var _cacheItem = _objectSpread({}, cacheItem);
|
|
@@ -588,19 +570,7 @@ export var getProductExtend = function getProductExtend(_ref11) {
|
|
|
588
570
|
_cacheItem._data.capacitys = cacheItem.capacity;
|
|
589
571
|
}
|
|
590
572
|
if (!_cacheItem._data.resourcesOrigin) {
|
|
591
|
-
|
|
592
|
-
// 日历中可以将预约拖入未绑定的资源中,需要兼容未绑定资源的 selectOption展示
|
|
593
|
-
if (Array.isArray(_cacheItem._extend.event_resources)) {
|
|
594
|
-
_cacheItem._extend.event_resources.forEach(function (_item) {
|
|
595
|
-
extraResources.push({
|
|
596
|
-
form_id: _item.form_id,
|
|
597
|
-
id: _item.relation_id
|
|
598
|
-
});
|
|
599
|
-
});
|
|
600
|
-
}
|
|
601
|
-
_cacheItem._data.resourcesOrigin = getResourceByIds(resourcesOriginMap, cacheItem, {
|
|
602
|
-
extraResources: extraResources
|
|
603
|
-
});
|
|
573
|
+
_cacheItem._data.resourcesOrigin = getResourceByIds(resourcesOriginMap, cacheItem);
|
|
604
574
|
}
|
|
605
575
|
if (!_cacheItem._data.resources) {
|
|
606
576
|
// 资源
|
|
@@ -22,22 +22,14 @@ import { getErrorList } from "../../../utilsByBooking";
|
|
|
22
22
|
import { isArray } from 'lodash';
|
|
23
23
|
import { getAutoAllocationStorage, setAutoAllocationStorage } from "../utils";
|
|
24
24
|
import { useUpdate } from 'ahooks';
|
|
25
|
-
import { QuestionCircleOutlined } from
|
|
25
|
+
import { QuestionCircleOutlined } from "@ant-design/icons";
|
|
26
26
|
var Resources = function Resources(_ref, ref) {
|
|
27
27
|
var _cacheItem$_data2, _cacheItem$_data4;
|
|
28
28
|
var state = _ref.state,
|
|
29
29
|
cacheItem = _ref.cacheItem,
|
|
30
30
|
getCurrentCacheItem = _ref.getCurrentCacheItem,
|
|
31
31
|
onChange = _ref.onChange,
|
|
32
|
-
value = _ref.value
|
|
33
|
-
_ref$config = _ref.config,
|
|
34
|
-
config = _ref$config === void 0 ? {
|
|
35
|
-
// 是否显示自动分配
|
|
36
|
-
autoAllocation: true,
|
|
37
|
-
// 是否显示资源错误图标
|
|
38
|
-
resourceErrorIcon: true,
|
|
39
|
-
disabled: false
|
|
40
|
-
} : _ref$config;
|
|
32
|
+
value = _ref.value;
|
|
41
33
|
var _useState = useState(false),
|
|
42
34
|
_useState2 = _slicedToArray(_useState, 2),
|
|
43
35
|
showError = _useState2[0],
|
|
@@ -152,7 +144,7 @@ var Resources = function Resources(_ref, ref) {
|
|
|
152
144
|
relation_type: d.relation_type
|
|
153
145
|
}), d[label]);
|
|
154
146
|
});
|
|
155
|
-
}, [
|
|
147
|
+
}, []);
|
|
156
148
|
|
|
157
149
|
/**
|
|
158
150
|
* @title: 检查当前资源最小选择数量
|
|
@@ -201,7 +193,6 @@ var Resources = function Resources(_ref, ref) {
|
|
|
201
193
|
}, /*#__PURE__*/React.createElement(Form.Item, {
|
|
202
194
|
label: item.title,
|
|
203
195
|
required: true,
|
|
204
|
-
labelCol: config === null || config === void 0 ? void 0 : config.labelCol,
|
|
205
196
|
extra: showError && item.select_type.min > (cur === null || cur === void 0 ? void 0 : cur.length) ? /*#__PURE__*/React.createElement("span", {
|
|
206
197
|
style: {
|
|
207
198
|
color: '#ff4d4f'
|
|
@@ -210,17 +201,13 @@ var Resources = function Resources(_ref, ref) {
|
|
|
210
201
|
}, /*#__PURE__*/React.createElement("div", {
|
|
211
202
|
className: "resource-col"
|
|
212
203
|
}, item.select_type.type === 'multiple' ? null : /*#__PURE__*/React.createElement(Button, {
|
|
213
|
-
className: "resource-col-like-wrap
|
|
204
|
+
className: "resource-col-like-wrap",
|
|
214
205
|
onClick: function onClick() {
|
|
215
206
|
var _cur$;
|
|
216
|
-
if (config !== null && config !== void 0 && config.disabled) {
|
|
217
|
-
return;
|
|
218
|
-
}
|
|
219
207
|
setLikeStatus((cur === null || cur === void 0 || (_cur$ = cur[0]) === null || _cur$ === void 0 ? void 0 : _cur$.like_status) === 'like' ? 'common' : 'like', item.form_id, 'like_status');
|
|
220
208
|
}
|
|
221
209
|
}, /*#__PURE__*/React.createElement(Like, {
|
|
222
|
-
status: cur === null || cur === void 0 || (_cur$2 = cur[0]) === null || _cur$2 === void 0 ? void 0 : _cur$2.like_status
|
|
223
|
-
className: "".concat(config !== null && config !== void 0 && config.disabled ? 'like-icon-disabled' : '')
|
|
210
|
+
status: cur === null || cur === void 0 || (_cur$2 = cur[0]) === null || _cur$2 === void 0 ? void 0 : _cur$2.like_status
|
|
224
211
|
})), /*#__PURE__*/React.createElement(MaxLengthSelect, {
|
|
225
212
|
className: "resource-col-select",
|
|
226
213
|
size: "large",
|
|
@@ -241,16 +228,15 @@ var Resources = function Resources(_ref, ref) {
|
|
|
241
228
|
showSearch: true,
|
|
242
229
|
filterOption: function filterOption(str, option) {
|
|
243
230
|
return ((option === null || option === void 0 ? void 0 : option.labelText) || '').toLowerCase().includes((str || '').toLowerCase());
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
}, renderOptions(item.renderList, 'id', config !== null && config !== void 0 && config.resourceErrorIcon ? 'label' : 'labelText', 'resource')), config !== null && config !== void 0 && config.autoAllocation ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Checkbox, {
|
|
231
|
+
}
|
|
232
|
+
}, renderOptions(item.renderList, 'id', 'label', 'resource')), /*#__PURE__*/React.createElement(Checkbox, {
|
|
247
233
|
checked: getIsAutoAllocation(item.form_id),
|
|
248
234
|
onChange: function onChange(e) {
|
|
249
235
|
handleCheckAutoAllocation(item.form_id, e.target.checked);
|
|
250
236
|
}
|
|
251
237
|
}), /*#__PURE__*/React.createElement(Tooltip, {
|
|
252
238
|
title: locales.getText('page.booking.text.resource.check-auto-allocation-tip')
|
|
253
|
-
}, /*#__PURE__*/React.createElement(QuestionCircleOutlined, null)))
|
|
239
|
+
}, /*#__PURE__*/React.createElement(QuestionCircleOutlined, null)))), state.renderType !== 'eventBooking' && (errors || []).map(function (d) {
|
|
254
240
|
return /*#__PURE__*/React.createElement(Alert, {
|
|
255
241
|
key: d.type,
|
|
256
242
|
message: d.label,
|
|
@@ -35,7 +35,6 @@ import { formatResources, getDurationProps, getFlexibleOption, getTimeObj, setDe
|
|
|
35
35
|
import { PisellAdjustPriceInputNumber } from '@pisell/materials';
|
|
36
36
|
import { editSessionProduct } from "../../../info/utils";
|
|
37
37
|
import { isNormalProductByDurationSchedule } from "../../../info/service2/utils";
|
|
38
|
-
import { addService, genServiceKey, getIsShowNumber } from "../../../../ticketBooking/utils";
|
|
39
38
|
var submitLock = false;
|
|
40
39
|
var Info = function Info(_, ref) {
|
|
41
40
|
var _state$service3, _state$bookingConfig2, _state$service$cacheI4, _state$service$cacheI5, _state$service6, _state$service8, _window$BaseMaterials, _state$service$cacheI6, _state$service9, _state$service$cacheI7, _state$service$cacheI8, _state$service$cacheI9, _state$service$cacheI10, _state$bookingConfig3, _state$service$resour;
|
|
@@ -245,15 +244,13 @@ var Info = function Info(_, ref) {
|
|
|
245
244
|
}
|
|
246
245
|
_item._extend = _extend;
|
|
247
246
|
_item._time = new Date().getTime();
|
|
248
|
-
_item._serviceKey = genServiceKey(_item);
|
|
249
247
|
var _id = _item === null || _item === void 0 ? void 0 : _item._id;
|
|
250
248
|
|
|
251
249
|
// 判断是新增还是编辑
|
|
252
250
|
if (!_list.some(function (d) {
|
|
253
251
|
return d._id === _id;
|
|
254
252
|
})) {
|
|
255
|
-
|
|
256
|
-
_list = detail.list;
|
|
253
|
+
_list.push(_item);
|
|
257
254
|
} else {
|
|
258
255
|
// 手动改价时移除优惠券使用
|
|
259
256
|
if (isChangeTotal.current) {
|
|
@@ -431,7 +428,7 @@ var Info = function Info(_, ref) {
|
|
|
431
428
|
session: isSession,
|
|
432
429
|
variant: true,
|
|
433
430
|
package: true,
|
|
434
|
-
number:
|
|
431
|
+
number: isNormalProductByDurationSchedule(item)
|
|
435
432
|
},
|
|
436
433
|
isOS: isSession,
|
|
437
434
|
customer_id: (_state$client = state.client) === null || _state$client === void 0 || (_state$client = _state$client.value) === null || _state$client === void 0 ? void 0 : _state$client.id,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const getResourceTimeIsUsable: (item: any, cacheItem: any, resourceItem: any) => any;
|
|
2
|
-
export declare const getSumCapacity: ({ cacheItem }: any
|
|
2
|
+
export declare const getSumCapacity: ({ cacheItem }: any) => number;
|
|
3
3
|
/**
|
|
4
4
|
* @title: 查找是否有可用的time
|
|
5
5
|
* @description:
|
|
@@ -162,9 +162,7 @@ export var getResourceTimeIsUsable = function getResourceTimeIsUsable(item, cach
|
|
|
162
162
|
return time;
|
|
163
163
|
};
|
|
164
164
|
export var getSumCapacity = function getSumCapacity(_ref) {
|
|
165
|
-
var _cacheItem$_extend;
|
|
166
165
|
var cacheItem = _ref.cacheItem;
|
|
167
|
-
var isCalcQuantity = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
168
166
|
var sum = 0;
|
|
169
167
|
var _iterator = _createForOfIteratorHelper(cacheItem._extend.capacity || []),
|
|
170
168
|
_step;
|
|
@@ -178,7 +176,7 @@ export var getSumCapacity = function getSumCapacity(_ref) {
|
|
|
178
176
|
} finally {
|
|
179
177
|
_iterator.f();
|
|
180
178
|
}
|
|
181
|
-
return sum
|
|
179
|
+
return sum;
|
|
182
180
|
};
|
|
183
181
|
|
|
184
182
|
/**
|
|
@@ -260,15 +258,6 @@ export var getErrorList = function getErrorList(resource, cacheItem) {
|
|
|
260
258
|
}
|
|
261
259
|
}
|
|
262
260
|
}
|
|
263
|
-
|
|
264
|
-
// 平行资源日历拖动优化需求
|
|
265
|
-
// 拖入到未绑定的资源中
|
|
266
|
-
if (resource.unbound) {
|
|
267
|
-
list.push({
|
|
268
|
-
label: locales.getText('pisell1.text.resource-error-message-unbound'),
|
|
269
|
-
type: "time"
|
|
270
|
-
});
|
|
271
|
-
}
|
|
272
261
|
return list;
|
|
273
262
|
};
|
|
274
263
|
|
|
@@ -313,7 +302,7 @@ export var getAppointmentTimingPreference = function getAppointmentTimingPrefere
|
|
|
313
302
|
* @Date: 2024-01-26 14:09
|
|
314
303
|
*/
|
|
315
304
|
export var getServiceStartTimeAndEndTime = function getServiceStartTimeAndEndTime(state, cacheItem, timeObj) {
|
|
316
|
-
var _cacheItem$duration, _cacheItem$
|
|
305
|
+
var _cacheItem$duration, _cacheItem$_extend;
|
|
317
306
|
var appointmentTimingPreference = getAppointmentTimingPreference(state);
|
|
318
307
|
|
|
319
308
|
// 获取上一个服务商品
|
|
@@ -381,7 +370,7 @@ export var getServiceStartTimeAndEndTime = function getServiceStartTimeAndEndTim
|
|
|
381
370
|
endDate = _getServiceTimes2.endDate;
|
|
382
371
|
_extend.startDate = startDate;
|
|
383
372
|
_extend.endDate = endDate;
|
|
384
|
-
var session = cacheItem === null || cacheItem === void 0 || (_cacheItem$
|
|
373
|
+
var session = cacheItem === null || cacheItem === void 0 || (_cacheItem$_extend = cacheItem._extend) === null || _cacheItem$_extend === void 0 || (_cacheItem$_extend = _cacheItem$_extend.other) === null || _cacheItem$_extend === void 0 ? void 0 : _cacheItem$_extend.session;
|
|
385
374
|
if (isSessionProduct(cacheItem) && session) {
|
|
386
375
|
_extend.start_date = session.start_at;
|
|
387
376
|
_extend.startDate = session.start_at;
|
|
@@ -110,7 +110,6 @@ declare const _default: {
|
|
|
110
110
|
'pisell1.text.resource-error-message-1': (x: string, y: string) => string;
|
|
111
111
|
'pisell1.text.resource-error-message-2': (x: string, y: string, z: string) => string;
|
|
112
112
|
'pisell1.text.resource-error-message-3': (x: string, y: string, z: string) => string;
|
|
113
|
-
'pisell1.text.resource-error-message-unbound': string;
|
|
114
113
|
'pisell1.text.no-addons': string;
|
|
115
114
|
'pisell1.text.no-resource': string;
|
|
116
115
|
'pisell1.text.no-payments': string;
|
|
@@ -262,7 +261,6 @@ declare const _default: {
|
|
|
262
261
|
'pisell2.text.goodpass.code': string;
|
|
263
262
|
'pisell2.text.goodpass.enter-code': string;
|
|
264
263
|
'pisell2.text.goodpass.code-invalid': string;
|
|
265
|
-
'pisell2.text.goodpass.code-invalid-cart': string;
|
|
266
264
|
'pisell2.text.status.valid': string;
|
|
267
265
|
'pisell2.text.status.expired': string;
|
|
268
266
|
'pisell2.text.validity.expired': (str: string) => string;
|
|
@@ -390,7 +388,6 @@ declare const _default: {
|
|
|
390
388
|
'pisell1.text.resource-error-message-1': (x: string, y: string) => string;
|
|
391
389
|
'pisell1.text.resource-error-message-2': (x: string, y: string, z: string) => string;
|
|
392
390
|
'pisell1.text.resource-error-message-3': (x: string, y: string, z: string) => string;
|
|
393
|
-
'pisell1.text.resource-error-message-unbound': string;
|
|
394
391
|
'pisell2.text.flexible': string;
|
|
395
392
|
'pisell2.text.order-discount': string;
|
|
396
393
|
'pisell2.text.no-product-added': string;
|
|
@@ -534,7 +531,6 @@ declare const _default: {
|
|
|
534
531
|
'pisell2.text.goodpass.code': string;
|
|
535
532
|
'pisell2.text.goodpass.enter-code': string;
|
|
536
533
|
'pisell2.text.goodpass.code-invalid': string;
|
|
537
|
-
'pisell2.text.goodpass.code-invalid-cart': string;
|
|
538
534
|
'pisell2.text.status.valid': string;
|
|
539
535
|
'pisell2.text.status.expired': string;
|
|
540
536
|
'pisell2.text.validity.expired': (str: string) => string;
|
|
@@ -662,7 +658,6 @@ declare const _default: {
|
|
|
662
658
|
'pisell1.text.resource-error-message-1': (x: string, y: string) => string;
|
|
663
659
|
'pisell1.text.resource-error-message-2': (x: string, y: string, z: string) => string;
|
|
664
660
|
'pisell1.text.resource-error-message-3': (x: string, y: string, z: string) => string;
|
|
665
|
-
'pisell1.text.resource-error-message-unbound': string;
|
|
666
661
|
'pisell2.text.flexible': string;
|
|
667
662
|
'pisell2.text.order-discount': string;
|
|
668
663
|
'pisell2.text.no-product-added': string;
|
|
@@ -806,7 +801,6 @@ declare const _default: {
|
|
|
806
801
|
'pisell2.text.goodpass.code': string;
|
|
807
802
|
'pisell2.text.goodpass.enter-code': string;
|
|
808
803
|
'pisell2.text.goodpass.code-invalid': string;
|
|
809
|
-
'pisell2.text.goodpass.code-invalid-cart': string;
|
|
810
804
|
'pisell2.text.status.valid': string;
|
|
811
805
|
'pisell2.text.status.expired': string;
|
|
812
806
|
'pisell2.text.validity.expired': (str: string) => string;
|
|
@@ -128,7 +128,6 @@ export default {
|
|
|
128
128
|
'pisell1.text.resource-error-message-3': function pisell1TextResourceErrorMessage3(x, y, z) {
|
|
129
129
|
return "".concat(x, " is fully booked between ").concat(y, " and ").concat(z, ", but your team member can still book appointments.");
|
|
130
130
|
},
|
|
131
|
-
'pisell1.text.resource-error-message-unbound': 'This booking product is not associated with the target resource.',
|
|
132
131
|
'pisell1.text.no-addons': 'No addons',
|
|
133
132
|
'pisell1.text.no-resource': 'No resource',
|
|
134
133
|
'pisell1.text.no-payments': 'No payments',
|
|
@@ -293,13 +292,12 @@ export default {
|
|
|
293
292
|
'pisell2.text.send-form-reminder-tooltip': 'Refresh forms',
|
|
294
293
|
'pisell2.text.send-form-reminder-refresh': 'Forms refreshed successfully',
|
|
295
294
|
'pisell2.text.send-form-reminder-error-message': 'Please select at least one reminder method',
|
|
296
|
-
'pisell2.text.goodpass': "
|
|
295
|
+
'pisell2.text.goodpass': "GoodPass",
|
|
297
296
|
'pisell2.text.goodpass.product-vouchers': "Product Vouchers",
|
|
298
297
|
'pisell2.text.goodpass.view-more': "View More",
|
|
299
298
|
'pisell2.text.goodpass.code': "Code",
|
|
300
299
|
'pisell2.text.goodpass.enter-code': "Enter Code",
|
|
301
300
|
'pisell2.text.goodpass.code-invalid': "Current code is invalid",
|
|
302
|
-
'pisell2.text.goodpass.code-invalid-cart': "No eligible items in the cart",
|
|
303
301
|
'pisell2.text.status.valid': 'Valid',
|
|
304
302
|
'pisell2.text.status.expired': 'Expired',
|
|
305
303
|
'pisell2.text.validity.expired': function pisell2TextValidityExpired(str) {
|
|
@@ -455,7 +453,6 @@ export default {
|
|
|
455
453
|
'pisell1.text.resource-error-message-3': function pisell1TextResourceErrorMessage3(x, y, z) {
|
|
456
454
|
return "".concat(x, "\u5728").concat(y, "\u5230").concat(z, "\u4E4B\u95F4\u5DF2\u7EA6\u6EE1\uFF0C\u4F46\u60A8\u7684\u56E2\u961F\u6210\u5458\u4ECD\u7136\u53EF\u4EE5\u9884\u7EA6\u3002");
|
|
457
455
|
},
|
|
458
|
-
'pisell1.text.resource-error-message-unbound': '该预约商品未关联目标资源。',
|
|
459
456
|
'pisell2.text.flexible': "灵活",
|
|
460
457
|
'pisell2.text.order-discount': "折扣",
|
|
461
458
|
'pisell2.text.no-product-added': '未添加商品',
|
|
@@ -612,13 +609,12 @@ export default {
|
|
|
612
609
|
'pisell2.text.send-form-reminder-tooltip': '刷新表单',
|
|
613
610
|
'pisell2.text.send-form-reminder-refresh': '已刷新表单',
|
|
614
611
|
'pisell2.text.send-form-reminder-error-message': '请至少选择一种提醒方式',
|
|
615
|
-
'pisell2.text.goodpass': "
|
|
612
|
+
'pisell2.text.goodpass': "商品券",
|
|
616
613
|
'pisell2.text.goodpass.product-vouchers': "商品兑换券",
|
|
617
614
|
'pisell2.text.goodpass.view-more': "查看更多",
|
|
618
615
|
'pisell2.text.goodpass.code': "券码",
|
|
619
616
|
'pisell2.text.goodpass.enter-code': "请输入券码",
|
|
620
617
|
'pisell2.text.goodpass.code-invalid': "当前券码不可用",
|
|
621
|
-
'pisell2.text.goodpass.code-invalid-cart': "当前购物车中无可用商品",
|
|
622
618
|
'pisell2.text.status.valid': '有效',
|
|
623
619
|
'pisell2.text.status.expired': '已过期',
|
|
624
620
|
'pisell2.text.validity.expired': function pisell2TextValidityExpired(str) {
|
|
@@ -774,7 +770,6 @@ export default {
|
|
|
774
770
|
'pisell1.text.resource-error-message-3': function pisell1TextResourceErrorMessage3(x, y, z) {
|
|
775
771
|
return "".concat(x, "\u5728").concat(y, "\u5230").concat(z, "\u4E4B\u9593\u5DF2\u7D04\u6EFF\uFF0C\u4F46\u60A8\u7684\u5718\u968A\u6210\u54E1\u4ECD\u7136\u53EF\u4EE5\u9810\u7D04\u3002");
|
|
776
772
|
},
|
|
777
|
-
'pisell1.text.resource-error-message-unbound': '該預約商品未關聯目標資源。',
|
|
778
773
|
'pisell2.text.flexible': "靈活",
|
|
779
774
|
'pisell2.text.order-discount': "折扣",
|
|
780
775
|
'pisell2.text.no-product-added': '未添加商品',
|
|
@@ -931,13 +926,12 @@ export default {
|
|
|
931
926
|
'pisell2.text.send-form-reminder-tooltip': '刷新表單',
|
|
932
927
|
'pisell2.text.send-form-reminder-refresh': '已刷新表單',
|
|
933
928
|
'pisell2.text.send-form-reminder-error-message': '請至少選擇一種提醒方式',
|
|
934
|
-
'pisell2.text.goodpass': "
|
|
929
|
+
'pisell2.text.goodpass': "商品券",
|
|
935
930
|
'pisell2.text.goodpass.product-vouchers': "商品兌換券",
|
|
936
931
|
'pisell2.text.goodpass.view-more': "查看更多",
|
|
937
932
|
'pisell2.text.goodpass.code': "券碼",
|
|
938
933
|
'pisell2.text.goodpass.enter-code': "請輸入券碼",
|
|
939
934
|
'pisell2.text.goodpass.code-invalid': "當前券碼不可用",
|
|
940
|
-
'pisell2.text.goodpass.code-invalid-cart': "當前購物車中無可用商品",
|
|
941
935
|
'pisell2.text.status.valid': '有效',
|
|
942
936
|
'pisell2.text.status.expired': '已過期',
|
|
943
937
|
'pisell2.text.validity.expired': function pisell2TextValidityExpired(str) {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { PosProps } from './const';
|
|
2
3
|
/**
|
|
3
4
|
* @title: 支付金额信息配置页
|
|
@@ -8,7 +9,7 @@ import { PosProps } from './const';
|
|
|
8
9
|
*/
|
|
9
10
|
declare const _default: ({ className, onChange, onClose, formatAmount, isMobile, net, client }: {
|
|
10
11
|
className?: string | undefined;
|
|
11
|
-
onChange?: ((status: "
|
|
12
|
+
onChange?: ((status: "page" | "success" | "print" | "fail" | "mark_tx_processed", params?: string | {
|
|
12
13
|
[keys: string]: unknown;
|
|
13
14
|
} | undefined, other?: any) => void) | undefined;
|
|
14
15
|
onClose: () => void;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { PosProps, RouteType } from './const';
|
|
2
3
|
declare const App: ({ action, api, device_number, terminal, tyroUrl, tyroVersion, onChangeParams, isMobile, channel, formatAmount, ...props }: Omit<PosProps, "type" | "mode" | "getApi"> & {
|
|
3
4
|
action: RouteType;
|