@pisell/private-materials 6.7.4 → 6.7.5
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 +2 -2
- package/build/lowcode/preview.js +7 -7
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +10 -10
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +10 -10
- package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Voucher/index.js +2 -1
- package/es/components/booking/addons/index.js +25 -17
- package/es/components/booking/addons/model.d.ts +1 -10
- 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.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.js +529 -79
- package/es/components/booking/components/footer/index.js +77 -56
- package/es/components/booking/components/footer/utils.d.ts +19 -0
- package/es/components/booking/components/footer/utils.js +151 -52
- package/es/components/booking/components/reloadResourceModal/index.d.ts +1 -0
- package/es/components/booking/components/voucher/index.js +20 -6
- package/es/components/booking/forms/model.d.ts +1 -10
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
- 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/info/clientVariant/hooks/useClientFn.d.ts +1 -0
- package/es/components/booking/info/date/index.d.ts +1 -0
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
- package/es/components/booking/info/model.d.ts +1 -10
- package/es/components/booking/info/notes/index.d.ts +1 -0
- 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/addTimeModal/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.js +1 -0
- package/es/components/booking/info2/cartClientCard/index.js +30 -6
- package/es/components/booking/info2/index.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 -3
- package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
- package/es/components/booking/info2/service/serviceList/index.d.ts +1 -0
- 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/model.d.ts +1 -9
- 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/booking/notes/model.d.ts +1 -10
- package/es/components/booking/payments/model.d.ts +1 -10
- package/es/components/booking/utils.js +16 -3
- package/es/components/checkout/PaymentModal.d.ts +7 -5
- package/es/components/checkout/PaymentModal.js +257 -213
- package/es/components/checkout/components/AdditionalModule/index.d.ts +3 -1
- package/es/components/checkout/components/AdditionalModule/index.js +52 -12
- package/es/components/checkout/components/AmountSummary/index.js +9 -76
- package/es/components/checkout/components/AmountSummary/index.less +5 -6
- package/es/components/checkout/components/CashPaymentModule/index.js +5 -2
- package/es/components/checkout/components/PaymentOptionsModule/PaymentMethodItem.d.ts +2 -0
- package/es/components/checkout/components/PaymentOptionsModule/PaymentMethodItem.js +6 -1
- package/es/components/checkout/components/PaymentOptionsModule/index.js +2 -1
- package/es/components/checkout/components/PaymentOptionsModule/index.less +4 -0
- package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.js +31 -8
- package/es/components/checkout/components/PaymentResultToast/index.js +6 -6
- package/es/components/checkout/components/PaymentResultToast/index.less +94 -33
- package/es/components/checkout/hooks/useWalletPass.d.ts +1 -1
- package/es/components/checkout/index.less +1 -1
- package/es/components/checkout/locales.js +6 -0
- package/es/components/checkout/utils/PaymentResultToastUtils.js +11 -1
- 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 +1 -0
- package/es/components/eftposPay/app.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/manual/index.d.ts +1 -0
- package/es/components/eftposPay/component/signature/index.d.ts +1 -0
- package/es/components/eftposPay/linkly/hooks/useTimeQuery.js +14 -6
- package/es/components/eftposPay/pay.d.ts +1 -0
- package/es/components/eftposPay/payo/config.js +70 -32
- package/es/components/eftposPay/payo/payment.js +579 -0
- package/es/components/eftposPay/store/index.d.ts +1 -1
- package/es/components/eftposPay/tip.d.ts +1 -0
- package/es/components/eftposPay/tyro/index.js +12 -0
- package/es/components/eftposPay/utils/log/index.js +371 -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 +0 -1
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
- package/es/components/index.js +2 -1
- package/es/components/login/index.d.ts +1 -0
- package/es/components/pay/toB/components/CardGroup/index.d.ts +1 -0
- package/es/components/pay/toB/components/Content/Header.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +13 -11
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/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 +0 -1
- package/es/components/pay/toC/PaymentMethods/WalletPass/utils.js +4 -2
- package/es/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.js +2 -0
- package/es/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.less +13 -3
- package/es/components/pay/toC/index.js +7 -4
- package/es/components/pay/toC/locales.js +6 -3
- package/es/components/pay/toC/model.d.ts +1 -9
- package/es/components/pay/toC/status.js +3 -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/productExtension/fields/Actor/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/productSelect/components/productGroup/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/index.d.ts +1 -0
- package/es/components/schedules/model.d.ts +1 -9
- 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/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/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/Empty/index.d.ts +1 -0
- package/es/components/shoppingCart/components/Render/index.d.ts +1 -0
- package/es/components/shoppingCart/index.d.ts +1 -0
- package/es/components/subTotal/index.js +1 -1
- package/es/components/systemSettings/registry/components/GroupModal.d.ts +4 -0
- package/es/components/{checkout/PaymentPlugin.js → systemSettings/registry/components/GroupModal.js} +132 -171
- package/es/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
- package/es/components/systemSettings/registry/components/ItemModal.js +547 -0
- package/es/components/systemSettings/registry/components/ModuleList.js +54 -0
- package/es/components/systemSettings/registry/components/SectionList.js +174 -0
- package/es/components/systemSettings/registry/components/SettingsTable.d.ts +4 -0
- package/es/components/systemSettings/registry/components/SettingsTable.js +765 -0
- package/es/components/systemSettings/registry/components/index.js +4 -0
- package/es/components/systemSettings/registry/index.d.ts +5 -0
- package/es/components/systemSettings/registry/index.js +1059 -0
- package/es/components/systemSettings/registry/index.less +410 -0
- package/es/components/systemSettings/registry/locales.js +300 -0
- package/es/components/systemSettings/registry/services.js +472 -0
- package/es/components/systemSettings/registry/types.js +1 -0
- package/es/components/systemSettings/registry/utils/typeValidation.js +284 -0
- package/es/components/systemSettings/registry/utils/validators.js +44 -0
- package/es/components/ticketBooking/components/addServiceVariant/addService.js +2 -86
- package/es/components/ticketBooking/components/menuBar/index.js +109 -12
- package/es/components/ticketBooking/components/ticketBooking/index.js +2 -2
- package/es/components/ticketBooking/components/timeBar/index.js +112 -7
- package/es/components/ticketBooking/components/timeBar/index.less +59 -0
- package/es/components/ticketBooking/hooks/pisellos/useProducts.js +29 -18
- package/es/components/ticketBooking/locales.js +9 -3
- package/es/components/ticketBooking/utils/index.js +36 -13
- package/es/components/wallet/Detail/index.js +34 -2
- package/es/components/wallet/Detail/index.less +11 -0
- package/es/components/wallet/Detail/locales.js +14 -2
- package/es/components/wallet/Detail/model.d.ts +1 -13
- package/es/components/wallet/DiscountCard/model.d.ts +1 -14
- package/es/components/wallet/PointCard/model.d.ts +1 -13
- package/es/components/wallet/RechargeableCard/model.d.ts +1 -29
- package/es/components/wallet/Voucher/index.js +11 -10
- package/es/components/wallet/Voucher/model.d.ts +1 -13
- package/es/components/wallet/components/WalletCard.js +5 -1
- package/es/components/wallet/index.js +4 -2
- package/es/components/wallet/model.d.ts +1 -9
- package/es/components/wallet/utils.js +342 -0
- package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
- package/es/hooks/usePaymentLogger.d.ts +1 -0
- package/es/index.d.ts +4 -0
- package/es/index.js +4 -0
- package/es/plus/clientCard/locales.js +3 -3
- package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -0
- package/es/plus/clinetSearch/Add/GenderField/index.d.ts +1 -0
- package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
- package/es/plus/clinetSearch/index.js +28 -30
- package/es/plus/clinetSearch/locales.js +7 -4
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/index.d.ts +1 -0
- package/es/plus/saasCreateOrganization/components/Header.d.ts +1 -0
- package/es/plus/saasRegister/components/EntryEmail.d.ts +1 -0
- package/es/plus/saasRegister/components/EntryInfo.d.ts +1 -0
- package/es/plus/saasRegister/components/GoLogin.d.ts +1 -0
- package/es/plus/saasRegister/components/Header.d.ts +1 -0
- package/es/plus/saasRegister/components/VerifyError.d.ts +1 -0
- package/es/plus/saasRegister/components/VerifyingLink.d.ts +1 -0
- package/es/plus/walletEditor/components/relationProduct/index.d.ts +1 -0
- package/es/plus/walletPassGallery/components/footerButton/index.js +2 -4
- package/es/plus/walletPassGallery/components/footerButton/index.less +14 -59
- package/es/plus/walletPassGallery/components/passDetail/index.d.ts +1 -0
- package/es/plus/walletPassGallery/components/passDetail/index.js +84 -31
- package/es/plus/walletPassGallery/components/passDetail/index.less +4 -0
- package/es/plus/walletPassGallery/components/recharge/index.js +19 -8
- package/es/plus/walletPassGallery/index.js +7 -3
- package/es/plus/walletPassGallery/serve.js +4 -2
- package/es/pro/Login2.0/index.less +15 -8
- package/es/pro/comprehensiveSearch/components/searchSection/locales.js +3 -3
- package/es/pro/comprehensiveSearch/locales.js +1 -1
- package/es/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.js +45 -36
- package/es/pro/priceKeyboard/components/cashKeyboard/index.js +4 -2
- package/es/pro/priceKeyboard/components/discountKeyboard/index.js +10 -1
- package/es/pro/priceKeyboard/components/discountKeyboard/index.less +14 -0
- package/es/pro/priceKeyboard/components/shortcuts/index.js +5 -2
- package/es/pro/priceKeyboard/components/shortcuts/index.less +4 -0
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Voucher/index.js +2 -1
- package/lib/components/booking/addons/index.js +15 -7
- package/lib/components/booking/addons/model.d.ts +1 -10
- 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.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.js +276 -38
- package/lib/components/booking/components/footer/index.js +30 -11
- package/lib/components/booking/components/footer/utils.d.ts +19 -0
- package/lib/components/booking/components/footer/utils.js +97 -21
- package/lib/components/booking/components/reloadResourceModal/index.d.ts +1 -0
- package/lib/components/booking/components/voucher/index.js +21 -7
- package/lib/components/booking/forms/model.d.ts +1 -10
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
- 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/info/clientVariant/hooks/useClientFn.d.ts +1 -0
- package/lib/components/booking/info/date/index.d.ts +1 -0
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
- package/lib/components/booking/info/model.d.ts +1 -10
- package/lib/components/booking/info/notes/index.d.ts +1 -0
- 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/addTimeModal/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.js +1 -0
- package/lib/components/booking/info2/cartClientCard/index.js +25 -5
- package/lib/components/booking/info2/index.js +7 -2
- package/lib/components/booking/info2/service/actions/index.d.ts +1 -0
- package/lib/components/booking/info2/service/addService/index.js +1 -2
- package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
- package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -0
- 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/model.d.ts +1 -9
- 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/booking/notes/model.d.ts +1 -10
- package/lib/components/booking/payments/model.d.ts +1 -10
- package/lib/components/booking/utils.js +11 -0
- package/lib/components/checkout/PaymentModal.d.ts +7 -5
- package/lib/components/checkout/PaymentModal.js +171 -135
- package/lib/components/checkout/components/AdditionalModule/index.d.ts +3 -1
- package/lib/components/checkout/components/AdditionalModule/index.js +52 -11
- package/lib/components/checkout/components/AmountSummary/index.js +5 -46
- package/lib/components/checkout/components/AmountSummary/index.less +5 -6
- package/lib/components/checkout/components/CashPaymentModule/index.js +5 -2
- package/lib/components/checkout/components/PaymentOptionsModule/PaymentMethodItem.d.ts +2 -0
- package/lib/components/checkout/components/PaymentOptionsModule/PaymentMethodItem.js +5 -1
- package/lib/components/checkout/components/PaymentOptionsModule/index.js +6 -0
- package/lib/components/checkout/components/PaymentOptionsModule/index.less +4 -0
- package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.js +23 -5
- package/lib/components/checkout/components/PaymentResultToast/index.js +4 -4
- package/lib/components/checkout/components/PaymentResultToast/index.less +94 -33
- package/lib/components/checkout/hooks/useWalletPass.d.ts +1 -1
- package/lib/components/checkout/index.less +1 -1
- package/lib/components/checkout/locales.js +6 -0
- package/lib/components/checkout/utils/PaymentResultToastUtils.js +11 -1
- 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 +1 -0
- package/lib/components/eftposPay/app.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/manual/index.d.ts +1 -0
- package/lib/components/eftposPay/component/signature/index.d.ts +1 -0
- package/lib/components/eftposPay/linkly/hooks/useTimeQuery.js +12 -6
- package/lib/components/eftposPay/pay.d.ts +1 -0
- package/lib/components/eftposPay/payo/config.js +98 -73
- package/lib/components/eftposPay/payo/payment.js +357 -0
- package/lib/components/eftposPay/store/index.d.ts +1 -1
- package/lib/components/eftposPay/tip.d.ts +1 -0
- package/lib/components/eftposPay/tyro/index.js +12 -0
- package/lib/components/eftposPay/utils/log/index.js +294 -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 +0 -1
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
- package/lib/components/index.js +3 -0
- package/lib/components/login/index.d.ts +1 -0
- package/lib/components/pay/toB/components/CardGroup/index.d.ts +1 -0
- package/lib/components/pay/toB/components/Content/Header.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +13 -11
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/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 +0 -1
- package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.js +4 -2
- package/lib/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.js +1 -1
- package/lib/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.less +13 -3
- package/lib/components/pay/toC/index.js +4 -1
- package/lib/components/pay/toC/locales.js +6 -3
- package/lib/components/pay/toC/model.d.ts +1 -9
- package/lib/components/pay/toC/status.js +5 -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/productExtension/fields/Actor/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/productSelect/components/productGroup/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/index.d.ts +1 -0
- package/lib/components/schedules/model.d.ts +1 -9
- 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/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/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/Empty/index.d.ts +1 -0
- package/lib/components/shoppingCart/components/Render/index.d.ts +1 -0
- package/lib/components/shoppingCart/index.d.ts +1 -0
- package/lib/components/subTotal/index.js +1 -1
- package/lib/components/systemSettings/registry/components/GroupModal.d.ts +4 -0
- package/lib/components/systemSettings/registry/components/GroupModal.js +177 -0
- package/lib/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
- package/lib/components/systemSettings/registry/components/ItemModal.js +508 -0
- package/lib/components/systemSettings/registry/components/ModuleList.js +71 -0
- package/lib/components/systemSettings/registry/components/SectionList.js +181 -0
- package/lib/components/systemSettings/registry/components/SettingsTable.d.ts +4 -0
- package/lib/components/systemSettings/registry/components/SettingsTable.js +575 -0
- package/lib/components/systemSettings/registry/components/index.js +48 -0
- package/lib/components/systemSettings/registry/index.d.ts +5 -0
- package/lib/components/systemSettings/registry/index.js +529 -0
- package/lib/components/systemSettings/registry/index.less +410 -0
- package/lib/components/systemSettings/registry/locales.js +324 -0
- package/lib/components/systemSettings/registry/services.js +290 -0
- package/lib/components/systemSettings/registry/types.js +17 -0
- package/lib/components/systemSettings/registry/utils/typeValidation.js +228 -0
- package/lib/components/systemSettings/registry/utils/validators.js +54 -0
- package/lib/components/ticketBooking/components/addServiceVariant/addService.js +0 -1
- package/lib/components/ticketBooking/components/menuBar/index.js +42 -6
- package/lib/components/ticketBooking/components/ticketBooking/index.js +2 -2
- package/lib/components/ticketBooking/components/timeBar/index.js +105 -4
- package/lib/components/ticketBooking/components/timeBar/index.less +59 -0
- package/lib/components/ticketBooking/hooks/pisellos/useProducts.js +17 -13
- package/lib/components/ticketBooking/locales.js +9 -3
- package/lib/components/ticketBooking/utils/index.js +20 -6
- package/lib/components/wallet/Detail/index.js +31 -3
- package/lib/components/wallet/Detail/index.less +11 -0
- package/lib/components/wallet/Detail/locales.js +14 -2
- package/lib/components/wallet/Detail/model.d.ts +1 -13
- package/lib/components/wallet/DiscountCard/model.d.ts +1 -14
- package/lib/components/wallet/PointCard/model.d.ts +1 -13
- package/lib/components/wallet/RechargeableCard/model.d.ts +1 -29
- package/lib/components/wallet/Voucher/index.js +8 -8
- package/lib/components/wallet/Voucher/model.d.ts +1 -13
- package/lib/components/wallet/components/WalletCard.js +4 -0
- package/lib/components/wallet/index.js +2 -2
- package/lib/components/wallet/model.d.ts +1 -9
- package/lib/components/wallet/utils.js +287 -0
- package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
- package/lib/hooks/usePaymentLogger.d.ts +1 -0
- package/lib/index.d.ts +4 -0
- package/lib/index.js +12 -0
- package/lib/plus/clientCard/locales.js +3 -3
- package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -0
- package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +1 -0
- package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
- package/lib/plus/clinetSearch/index.js +17 -8
- package/lib/plus/clinetSearch/locales.js +7 -4
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/index.d.ts +1 -0
- package/lib/plus/saasCreateOrganization/components/Header.d.ts +1 -0
- package/lib/plus/saasRegister/components/EntryEmail.d.ts +1 -0
- package/lib/plus/saasRegister/components/EntryInfo.d.ts +1 -0
- package/lib/plus/saasRegister/components/GoLogin.d.ts +1 -0
- package/lib/plus/saasRegister/components/Header.d.ts +1 -0
- package/lib/plus/saasRegister/components/VerifyError.d.ts +1 -0
- package/lib/plus/saasRegister/components/VerifyingLink.d.ts +1 -0
- package/lib/plus/walletEditor/components/relationProduct/index.d.ts +1 -0
- package/lib/plus/walletPassGallery/components/footerButton/index.js +2 -2
- package/lib/plus/walletPassGallery/components/footerButton/index.less +14 -59
- package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +1 -0
- package/lib/plus/walletPassGallery/components/passDetail/index.js +54 -15
- package/lib/plus/walletPassGallery/components/passDetail/index.less +4 -0
- package/lib/plus/walletPassGallery/components/recharge/index.js +7 -1
- package/lib/plus/walletPassGallery/index.js +7 -3
- package/lib/plus/walletPassGallery/serve.js +3 -2
- package/lib/pro/Login2.0/index.less +15 -8
- package/lib/pro/comprehensiveSearch/components/searchSection/locales.js +3 -3
- package/lib/pro/comprehensiveSearch/locales.js +1 -1
- package/lib/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.js +42 -43
- package/lib/pro/priceKeyboard/components/cashKeyboard/index.js +3 -2
- package/lib/pro/priceKeyboard/components/discountKeyboard/index.js +8 -1
- package/lib/pro/priceKeyboard/components/discountKeyboard/index.less +14 -0
- package/lib/pro/priceKeyboard/components/shortcuts/index.js +3 -2
- package/lib/pro/priceKeyboard/components/shortcuts/index.less +4 -0
- package/lowcode/settings-registry/meta.ts +29 -0
- package/lowcode/wallet-pass-detail/meta.ts +89 -0
- package/package.json +4 -4
- package/es/components/booking/components/footer/amount.d.ts +0 -36
- package/es/components/booking/info/clientVariant/vertical/index.d.ts +0 -8
- package/es/components/booking/info/service2/utils.d.ts +0 -251
- package/es/components/booking/info2/service/addService/index.d.ts +0 -11
- package/es/components/booking/utils.d.ts +0 -173
- package/es/components/checkout/PaymentPlugin.d.ts +0 -2
- package/es/components/checkout/components/CashPaymentModule/index.d.ts +0 -24
- package/es/components/checkout/components/PaymentOptionsModule/index.d.ts +0 -15
- package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +0 -81
- package/es/components/checkout/locales.d.ts +0 -507
- package/es/components/checkout/utils/PaymentResultToastUtils.d.ts +0 -33
- package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
- package/es/components/eftposPay/payo/config.d.ts +0 -12
- package/es/components/eftposPay/tyro/index.d.ts +0 -9
- package/es/components/index.d.ts +0 -23
- package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -149
- package/es/components/pay/toC/locales.d.ts +0 -298
- package/es/components/pay/toC/status.d.ts +0 -12
- package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +0 -16
- package/es/components/ticketBooking/locales.d.ts +0 -192
- package/es/components/ticketBooking/utils/index.d.ts +0 -90
- package/es/components/wallet/Detail/locales.d.ts +0 -147
- package/es/components/wallet/serve.d.ts +0 -143
- package/es/plus/clientCard/locales.d.ts +0 -18
- package/es/plus/clinetSearch/index.d.ts +0 -17
- package/es/plus/clinetSearch/locales.d.ts +0 -102
- package/es/plus/clinetSearch/types.d.ts +0 -49
- package/es/plus/walletPassGallery/serve.d.ts +0 -218
- package/es/pro/comprehensiveSearch/components/searchSection/locales.d.ts +0 -15
- package/es/pro/comprehensiveSearch/locales.d.ts +0 -15
- package/es/pro/priceKeyboard/components/cashKeyboard/index.d.ts +0 -11
- package/es/pro/priceKeyboard/components/cashKeyboard/types.d.ts +0 -97
- package/es/pro/priceKeyboard/components/shortcuts/index.d.ts +0 -17
- package/lib/components/booking/components/footer/amount.d.ts +0 -36
- package/lib/components/booking/info/clientVariant/vertical/index.d.ts +0 -8
- package/lib/components/booking/info/service2/utils.d.ts +0 -251
- package/lib/components/booking/info2/service/addService/index.d.ts +0 -11
- package/lib/components/booking/utils.d.ts +0 -173
- package/lib/components/checkout/PaymentPlugin.d.ts +0 -2
- package/lib/components/checkout/PaymentPlugin.js +0 -181
- package/lib/components/checkout/components/CashPaymentModule/index.d.ts +0 -24
- package/lib/components/checkout/components/PaymentOptionsModule/index.d.ts +0 -15
- package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +0 -81
- package/lib/components/checkout/locales.d.ts +0 -507
- package/lib/components/checkout/utils/PaymentResultToastUtils.d.ts +0 -33
- package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
- package/lib/components/eftposPay/payo/config.d.ts +0 -12
- package/lib/components/eftposPay/tyro/index.d.ts +0 -9
- package/lib/components/index.d.ts +0 -23
- package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -149
- package/lib/components/pay/toC/locales.d.ts +0 -298
- package/lib/components/pay/toC/status.d.ts +0 -12
- package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +0 -16
- package/lib/components/ticketBooking/locales.d.ts +0 -192
- package/lib/components/ticketBooking/utils/index.d.ts +0 -90
- package/lib/components/wallet/Detail/locales.d.ts +0 -147
- package/lib/components/wallet/serve.d.ts +0 -143
- package/lib/plus/clientCard/locales.d.ts +0 -18
- package/lib/plus/clinetSearch/index.d.ts +0 -17
- package/lib/plus/clinetSearch/locales.d.ts +0 -102
- package/lib/plus/clinetSearch/types.d.ts +0 -49
- package/lib/plus/walletPassGallery/serve.d.ts +0 -218
- package/lib/pro/comprehensiveSearch/components/searchSection/locales.d.ts +0 -15
- package/lib/pro/comprehensiveSearch/locales.d.ts +0 -15
- package/lib/pro/priceKeyboard/components/cashKeyboard/index.d.ts +0 -11
- package/lib/pro/priceKeyboard/components/cashKeyboard/types.d.ts +0 -97
- package/lib/pro/priceKeyboard/components/shortcuts/index.d.ts +0 -17
|
@@ -7,6 +7,20 @@
|
|
|
7
7
|
gap: 10px;
|
|
8
8
|
background-color: var(--pisell-pro-price-keyboard-bg-color, #ffffff);
|
|
9
9
|
|
|
10
|
+
.pisell-pro-price-keyboard-tips {
|
|
11
|
+
background-color: var(
|
|
12
|
+
--pisell-pro-price-keyboard-bg-color-gray-200,
|
|
13
|
+
#eaecf0
|
|
14
|
+
);
|
|
15
|
+
color: #ffffff;
|
|
16
|
+
font-size: 14px;
|
|
17
|
+
font-weight: 600;
|
|
18
|
+
height: 36px;
|
|
19
|
+
line-height: 36px;
|
|
20
|
+
text-align: center;
|
|
21
|
+
border-radius: 8px;
|
|
22
|
+
}
|
|
23
|
+
|
|
10
24
|
.ellipsis {
|
|
11
25
|
overflow: hidden;
|
|
12
26
|
text-overflow: ellipsis;
|
|
@@ -36,7 +36,7 @@ var import_react = __toESM(require("react"));
|
|
|
36
36
|
var import_classnames = __toESM(require("classnames"));
|
|
37
37
|
var import_index = require("./index.less");
|
|
38
38
|
var Shortcuts = (0, import_react.forwardRef)((props, ref) => {
|
|
39
|
-
const { presets, onChange, disabled } = props;
|
|
39
|
+
const { presets, onChange, disabled, size = "default" } = props;
|
|
40
40
|
const handleItemClick = (item) => {
|
|
41
41
|
if (disabled || item.disabled) {
|
|
42
42
|
return;
|
|
@@ -65,7 +65,8 @@ var Shortcuts = (0, import_react.forwardRef)((props, ref) => {
|
|
|
65
65
|
const itemProps = {
|
|
66
66
|
key: index,
|
|
67
67
|
className: (0, import_classnames.default)("pisell-virtual-keyboard-shortcut", {
|
|
68
|
-
disabled: item.disabled
|
|
68
|
+
disabled: item.disabled,
|
|
69
|
+
large: size === "large"
|
|
69
70
|
}),
|
|
70
71
|
style: item.style,
|
|
71
72
|
onClick: () => handleItemClick(item)
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ComponentMetadata } from '@alilc/lowcode-types';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
const SettingsRegistryMeta: ComponentMetadata = {
|
|
5
|
+
componentName: 'SettingsRegistry',
|
|
6
|
+
title: 'SettingsRegistry',
|
|
7
|
+
docUrl: '',
|
|
8
|
+
screenshot: '',
|
|
9
|
+
category: '表单',
|
|
10
|
+
devMode: 'proCode',
|
|
11
|
+
npm: {
|
|
12
|
+
package: '@pisell/private-materials',
|
|
13
|
+
version: '1.0.0',
|
|
14
|
+
exportName: 'SettingsRegistry',
|
|
15
|
+
main: 'src/index.ts',
|
|
16
|
+
destructuring: true,
|
|
17
|
+
subName: '',
|
|
18
|
+
},
|
|
19
|
+
props: [],
|
|
20
|
+
configure: {
|
|
21
|
+
component: {
|
|
22
|
+
isContainer: false,
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
export default {
|
|
28
|
+
...SettingsRegistryMeta,
|
|
29
|
+
};
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
const Meta = {
|
|
2
|
+
componentName: 'WalletPassDetail',
|
|
3
|
+
title: 'WalletPassDetail',
|
|
4
|
+
docUrl: '',
|
|
5
|
+
screenshot: '',
|
|
6
|
+
devMode: 'proCode',
|
|
7
|
+
npm: {
|
|
8
|
+
package: '@pisell/private-materials',
|
|
9
|
+
version: '1.1.558',
|
|
10
|
+
exportName: 'WalletPassDetail',
|
|
11
|
+
main: 'src/index.ts',
|
|
12
|
+
destructuring: true,
|
|
13
|
+
subName: '',
|
|
14
|
+
},
|
|
15
|
+
configure: {
|
|
16
|
+
props: [
|
|
17
|
+
{
|
|
18
|
+
"title": {
|
|
19
|
+
"label": {
|
|
20
|
+
"type": "i18n",
|
|
21
|
+
"en-US": "详情数据",
|
|
22
|
+
"zh-CN": "详情数据"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"name": "dataSource",
|
|
26
|
+
"setter": ["JsonSetter", "VariableSetter"],
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"title": {
|
|
30
|
+
"label": {
|
|
31
|
+
"type": "i18n",
|
|
32
|
+
"en-US": "平台",
|
|
33
|
+
"zh-CN": "平台"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"name": "platform",
|
|
37
|
+
"setter": "StringSetter",
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
name: 'buttonGroupList',
|
|
41
|
+
"title": {
|
|
42
|
+
"label": {
|
|
43
|
+
"type": "i18n",
|
|
44
|
+
"en-US": "按钮组列表",
|
|
45
|
+
"zh-CN": "按钮组列表"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
type: 'array',
|
|
49
|
+
default: [],
|
|
50
|
+
setter: 'ArraySetter',
|
|
51
|
+
itemSetter: {
|
|
52
|
+
componentName: 'ObjectSetter',
|
|
53
|
+
props: {
|
|
54
|
+
itemSetter: {
|
|
55
|
+
componentName: 'ObjectSetter',
|
|
56
|
+
props: {
|
|
57
|
+
itemSetter: 'StringSetter',
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
name: 'showTimeLine',
|
|
65
|
+
title: { label: '显示时间轴', tip: 'showTimeLine | 显示时间轴' },
|
|
66
|
+
setter: 'BoolSetter',
|
|
67
|
+
},
|
|
68
|
+
],
|
|
69
|
+
supports: {},
|
|
70
|
+
component: {},
|
|
71
|
+
},
|
|
72
|
+
};
|
|
73
|
+
const snippets = [
|
|
74
|
+
{
|
|
75
|
+
title: 'wallet详情',
|
|
76
|
+
screenshot: '',
|
|
77
|
+
schema: {
|
|
78
|
+
componentName: 'WalletPassDetail',
|
|
79
|
+
props: {
|
|
80
|
+
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
];
|
|
85
|
+
|
|
86
|
+
export default {
|
|
87
|
+
...Meta,
|
|
88
|
+
snippets,
|
|
89
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/private-materials",
|
|
3
|
-
"version": "6.7.
|
|
3
|
+
"version": "6.7.5",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -62,9 +62,9 @@
|
|
|
62
62
|
"@react-spring/web": "^9.6.1",
|
|
63
63
|
"@use-gesture/react": "^10.3.1",
|
|
64
64
|
"@pisell/utils": "3.0.2",
|
|
65
|
-
"@pisell/materials": "6.7.
|
|
66
|
-
"@pisell/
|
|
67
|
-
"@pisell/
|
|
65
|
+
"@pisell/materials": "6.7.2",
|
|
66
|
+
"@pisell/icon": "0.0.11",
|
|
67
|
+
"@pisell/date-picker": "3.0.7"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
70
70
|
"react": "^18.0.0",
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export declare const getRelationDetailsTotal: (relation_details: any) => number;
|
|
2
|
-
export declare const getIsPriceIncludeTax: (state: any) => any;
|
|
3
|
-
/**
|
|
4
|
-
* 总金额
|
|
5
|
-
* @param state
|
|
6
|
-
* @param options isEdit: 预约信息是否发生变动
|
|
7
|
-
* @returns
|
|
8
|
-
*/
|
|
9
|
-
export declare const getSumTotal: (state: any, options: {
|
|
10
|
-
[key: string]: any;
|
|
11
|
-
isEdit: boolean;
|
|
12
|
-
ScheduleModule: any;
|
|
13
|
-
}) => {
|
|
14
|
-
productAmount: number;
|
|
15
|
-
duration: string;
|
|
16
|
-
tax: number;
|
|
17
|
-
taxInfo: {
|
|
18
|
-
title: any;
|
|
19
|
-
rate: any;
|
|
20
|
-
is_price_include_tax: any;
|
|
21
|
-
};
|
|
22
|
-
shopDiscount: number;
|
|
23
|
-
surcharge: any;
|
|
24
|
-
otherAmount: any;
|
|
25
|
-
sumTotalAmount: number;
|
|
26
|
-
paidAmount: any;
|
|
27
|
-
notPaidAmount: number;
|
|
28
|
-
paySurchargeFee: number;
|
|
29
|
-
expectAmount: number;
|
|
30
|
-
actualPaidAmount: any;
|
|
31
|
-
orderPaidAmount: any;
|
|
32
|
-
totalRefundAmount: number;
|
|
33
|
-
dueAmount: number;
|
|
34
|
-
roundingAmount: number;
|
|
35
|
-
originExpectAmount: number;
|
|
36
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
interface VerticalClientProps {
|
|
4
|
-
globalState: any;
|
|
5
|
-
setGlobalState: any;
|
|
6
|
-
}
|
|
7
|
-
declare const VerticalClient: React.ForwardRefExoticComponent<VerticalClientProps & React.RefAttributes<unknown>>;
|
|
8
|
-
export default VerticalClient;
|
|
@@ -1,251 +0,0 @@
|
|
|
1
|
-
import dayjs from 'dayjs';
|
|
2
|
-
export declare const formatActiveKey: (lists: any[], platform: string, isEdit: boolean) => any[];
|
|
3
|
-
/**
|
|
4
|
-
* @title: 获取资源名称
|
|
5
|
-
* @description:
|
|
6
|
-
* @param {any} id
|
|
7
|
-
* @param {any} state
|
|
8
|
-
* @return {*}
|
|
9
|
-
* @Author: WangHan
|
|
10
|
-
* @Date: 2024-11-29 18:02
|
|
11
|
-
*/
|
|
12
|
-
export declare const getResourceItem: (id: any, state: any) => any;
|
|
13
|
-
/**
|
|
14
|
-
* @title: 错误提示
|
|
15
|
-
* @description:
|
|
16
|
-
* @param {any} service
|
|
17
|
-
* @param {any} resourceItem
|
|
18
|
-
* @return {*}
|
|
19
|
-
* @Author: WangHan
|
|
20
|
-
* @Date: 2024-11-29 18:41
|
|
21
|
-
*/
|
|
22
|
-
export declare const getErrorMessage: (service: any, resourceItem: any, isDay?: boolean) => any;
|
|
23
|
-
/**
|
|
24
|
-
* @title: 格式化主体列表
|
|
25
|
-
* @description:
|
|
26
|
-
* @param {any} lists
|
|
27
|
-
* @param {boolean} isOpenGroup
|
|
28
|
-
* @return {*}
|
|
29
|
-
* @Author: WangHan
|
|
30
|
-
* @Date: 2024-12-04 11:27
|
|
31
|
-
*/
|
|
32
|
-
export declare const formatHolderLists: (lists: any) => any;
|
|
33
|
-
export declare const isBookingProduct: (extension_type: any, bol?: boolean) => boolean | undefined;
|
|
34
|
-
/**
|
|
35
|
-
* @title: 是否是预约商品
|
|
36
|
-
* @description:
|
|
37
|
-
* @return {*}
|
|
38
|
-
* @Author: WangHan
|
|
39
|
-
* @Date: 2024-12-06 11:24
|
|
40
|
-
*/
|
|
41
|
-
export declare const isDayBookingProduct: (item: any, state: any) => boolean | undefined;
|
|
42
|
-
export declare const handleChangeHolder: (products: any[], currentItem: any, other: any) => any[];
|
|
43
|
-
/**
|
|
44
|
-
* @title: 更新商品数据
|
|
45
|
-
* @description:
|
|
46
|
-
* @param {any} state
|
|
47
|
-
* @param currentItem
|
|
48
|
-
* @param {string} type
|
|
49
|
-
* @param {any} other
|
|
50
|
-
* @param actions
|
|
51
|
-
* @return {*}
|
|
52
|
-
* @Author: WangHan
|
|
53
|
-
* @Date: 2025-01-03 15:00
|
|
54
|
-
*/
|
|
55
|
-
export declare const updateServices: (state: any, currentItem: any, type?: string, other?: any, actions?: any) => any;
|
|
56
|
-
export declare const formItems: (items: any[]) => any[];
|
|
57
|
-
export declare const getIsSubjectRequire: (state: any) => boolean;
|
|
58
|
-
export declare const isNormalProductByDurationSchedule: (item: any) => boolean;
|
|
59
|
-
export declare const isAllNormalProduct: (items: any[]) => boolean;
|
|
60
|
-
export declare const isAllNormalProductByState: (state: any) => boolean;
|
|
61
|
-
export declare const genRowKey: (key: string) => string;
|
|
62
|
-
/**
|
|
63
|
-
* @title: 格式化商品数据
|
|
64
|
-
* @description:
|
|
65
|
-
* @param {any} lists
|
|
66
|
-
* @return {*}
|
|
67
|
-
* @Author: WangHan
|
|
68
|
-
* @Date: 2024-11-29 17:36
|
|
69
|
-
*/
|
|
70
|
-
export declare const formatProducts: (lists: any[], state: any, isRenderGroup?: boolean, isGeneral?: boolean, isParallelResource?: boolean) => {
|
|
71
|
-
_origin: any;
|
|
72
|
-
id: any;
|
|
73
|
-
_id: any;
|
|
74
|
-
name: any;
|
|
75
|
-
title: any;
|
|
76
|
-
price: any;
|
|
77
|
-
total: number;
|
|
78
|
-
origin_total: number;
|
|
79
|
-
num: any;
|
|
80
|
-
image: any;
|
|
81
|
-
isShowNote: boolean;
|
|
82
|
-
note: any;
|
|
83
|
-
like_status: any;
|
|
84
|
-
bundle: any;
|
|
85
|
-
options: any;
|
|
86
|
-
errorMessage: string;
|
|
87
|
-
product_option_string: any;
|
|
88
|
-
discount_reason: any;
|
|
89
|
-
resource_id: any;
|
|
90
|
-
relation_form_name: any;
|
|
91
|
-
holder_title: any;
|
|
92
|
-
start_date: any;
|
|
93
|
-
end_date: any;
|
|
94
|
-
holder_id: any;
|
|
95
|
-
isNormalProduct: boolean;
|
|
96
|
-
isCustomItem: any;
|
|
97
|
-
vouchersApplicable: any;
|
|
98
|
-
locale: any;
|
|
99
|
-
symbol: any;
|
|
100
|
-
relation_products: any;
|
|
101
|
-
items: any[];
|
|
102
|
-
}[];
|
|
103
|
-
/**
|
|
104
|
-
* @title: 禁用日期
|
|
105
|
-
* @description:
|
|
106
|
-
* @param {any} current
|
|
107
|
-
* @param {string} position
|
|
108
|
-
* @param {any} startDate
|
|
109
|
-
* @return {*}
|
|
110
|
-
* @Author: WangHan
|
|
111
|
-
* @Date: 2024-12-03 17:51
|
|
112
|
-
*/
|
|
113
|
-
export declare const disabledDate: (current: any, position: string, currentDate: any) => any;
|
|
114
|
-
/**
|
|
115
|
-
* @title: 是否是跨日预约
|
|
116
|
-
* @description:
|
|
117
|
-
* @param {any} state
|
|
118
|
-
* @return {*}
|
|
119
|
-
* @Author: WangHan
|
|
120
|
-
* @Date: 2024-12-04 09:49
|
|
121
|
-
*/
|
|
122
|
-
export declare const isDayBooking: (state: any) => boolean;
|
|
123
|
-
export declare const isDaysBooking: (state: any) => boolean;
|
|
124
|
-
export declare const isEventBooking: (state: any) => boolean;
|
|
125
|
-
export declare const isAppointmentProduct: (item: any) => boolean;
|
|
126
|
-
/**
|
|
127
|
-
* @title: 是否是terminal上的跨日预约
|
|
128
|
-
* @description:
|
|
129
|
-
* @param {any} state
|
|
130
|
-
* @return {*}
|
|
131
|
-
* @Author: WangHan
|
|
132
|
-
* @Date: 2024-12-04 15:31
|
|
133
|
-
*/
|
|
134
|
-
export declare const isTerminalDayBooking: (state: any) => any;
|
|
135
|
-
export declare const formatDayDate: (_extend: any) => any;
|
|
136
|
-
/**
|
|
137
|
-
* @title: 根据营业日时间格式化时间
|
|
138
|
-
* @description:
|
|
139
|
-
* @param {any} state
|
|
140
|
-
* @return {*}
|
|
141
|
-
* @Author: WangHan
|
|
142
|
-
* @Date: 2024-12-04 12:07
|
|
143
|
-
*/
|
|
144
|
-
export declare const formatDayTime: ({ startDate, endDate }: any) => {
|
|
145
|
-
startDateTime: dayjs.Dayjs;
|
|
146
|
-
endDateTime: dayjs.Dayjs;
|
|
147
|
-
};
|
|
148
|
-
export declare const formatDateTime: (start_date: any, end_date: any) => {
|
|
149
|
-
value: dayjs.Dayjs;
|
|
150
|
-
end_date: dayjs.Dayjs;
|
|
151
|
-
};
|
|
152
|
-
/**
|
|
153
|
-
* @title: 初始化日期
|
|
154
|
-
* @description:
|
|
155
|
-
* @return {*}
|
|
156
|
-
* @Author: WangHan
|
|
157
|
-
* @Date: 2024-12-06 17:24
|
|
158
|
-
*/
|
|
159
|
-
export declare const initDate: () => {
|
|
160
|
-
value: dayjs.Dayjs;
|
|
161
|
-
end_date: dayjs.Dayjs;
|
|
162
|
-
};
|
|
163
|
-
/**
|
|
164
|
-
* @title: 是否有预约商品
|
|
165
|
-
* @description:
|
|
166
|
-
* @return {*}
|
|
167
|
-
* @Author: WangHan
|
|
168
|
-
* @Date: 2024-12-12 15:47
|
|
169
|
-
*/
|
|
170
|
-
export declare const isHasDayAppointmentProduct: (state: any) => boolean;
|
|
171
|
-
/**
|
|
172
|
-
* @title: 过滤出如果是预约商品,则只获取跨日的预约商品
|
|
173
|
-
* @description:
|
|
174
|
-
* @param {any} lists
|
|
175
|
-
* @return {*}
|
|
176
|
-
* @Author: WangHan
|
|
177
|
-
* @Date: 2024-12-13 16:44
|
|
178
|
-
*/
|
|
179
|
-
export declare const getDayProducts: (holderId: number, lists: any, isTerminal?: boolean) => any;
|
|
180
|
-
/**
|
|
181
|
-
* @title: 格式化表单数据
|
|
182
|
-
* @description:
|
|
183
|
-
* @param {any} state
|
|
184
|
-
* @return {*}
|
|
185
|
-
* @Author: WangHan
|
|
186
|
-
* @Date: 2024-12-30 22:19
|
|
187
|
-
*/
|
|
188
|
-
export declare const getPets: (state: any) => any;
|
|
189
|
-
/**
|
|
190
|
-
* @title: 得出预约商品
|
|
191
|
-
* @description:
|
|
192
|
-
* @param {any} state
|
|
193
|
-
* @return {*}
|
|
194
|
-
* @Author: WangHan
|
|
195
|
-
* @Date: 2024-12-30 22:26
|
|
196
|
-
*/
|
|
197
|
-
export declare const getAppointmentService: (state: any) => any;
|
|
198
|
-
/**
|
|
199
|
-
* @title: 判断是否打开删除宠物弹窗
|
|
200
|
-
* @description:
|
|
201
|
-
* @param {any} state
|
|
202
|
-
* @param {any} newVal
|
|
203
|
-
* @return {*}
|
|
204
|
-
* @Author: WangHan
|
|
205
|
-
* @Date: 2024-12-16 16:12
|
|
206
|
-
*/
|
|
207
|
-
export declare const isOpenDeletePet: (state: any, newVal: any) => {
|
|
208
|
-
ids: any;
|
|
209
|
-
lists: any;
|
|
210
|
-
};
|
|
211
|
-
/**
|
|
212
|
-
* @title: 当前选中的表单id
|
|
213
|
-
* @description:
|
|
214
|
-
* @param {any} state
|
|
215
|
-
* @return {*}
|
|
216
|
-
* @Author: WangHan
|
|
217
|
-
* @Date: 2024-12-17 14:40
|
|
218
|
-
*/
|
|
219
|
-
export declare const holderId: (state: any) => number;
|
|
220
|
-
/**
|
|
221
|
-
* @title: 更新套餐的价格
|
|
222
|
-
* @description:
|
|
223
|
-
* @param {any} currentValue
|
|
224
|
-
* @param {any} newBundleData
|
|
225
|
-
* @return {*}
|
|
226
|
-
* @Author: WangHan
|
|
227
|
-
* @Date: 2024-12-31 15:16
|
|
228
|
-
*/
|
|
229
|
-
export declare function updateNormalBundlePrice(currentValue: any, newBundleData: any): any[];
|
|
230
|
-
/**
|
|
231
|
-
* @title: 更新预约商品报价单
|
|
232
|
-
* @description:
|
|
233
|
-
* @param {any} state
|
|
234
|
-
* @param {any} cacheItem
|
|
235
|
-
* @return {*}
|
|
236
|
-
* @Author: WangHan
|
|
237
|
-
* @Date: 2024-12-25 16:41
|
|
238
|
-
*/
|
|
239
|
-
export declare const updateAppointmentServicePrice: (state: any, { start_date, end_date, product_id }: any) => Promise<{
|
|
240
|
-
multiDayPrices: any;
|
|
241
|
-
price: number;
|
|
242
|
-
}>;
|
|
243
|
-
/**
|
|
244
|
-
* @title: 更新普通商品报价单价格
|
|
245
|
-
* @description:
|
|
246
|
-
* @param {any} state
|
|
247
|
-
* @return {*}
|
|
248
|
-
* @Author: WangHan
|
|
249
|
-
* @Date: 2024-12-24 11:32
|
|
250
|
-
*/
|
|
251
|
-
export declare const updateServicePrice: (state: any) => never[] | Promise<any>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { PisellDrawerProps } from '../../../components/drawer';
|
|
2
|
-
import '../../../info/service/addService/index.less';
|
|
3
|
-
interface AddServiceProps {
|
|
4
|
-
onEdit: any;
|
|
5
|
-
dispatch?: any;
|
|
6
|
-
state?: any;
|
|
7
|
-
drawerProps?: PisellDrawerProps;
|
|
8
|
-
renderMode?: 'current' | 'drawer';
|
|
9
|
-
}
|
|
10
|
-
declare const Info: (props: AddServiceProps) => JSX.Element;
|
|
11
|
-
export default Info;
|
|
@@ -1,173 +0,0 @@
|
|
|
1
|
-
import dayjs from 'dayjs';
|
|
2
|
-
/**
|
|
3
|
-
* @title: 高阶函数结果缓存(Memoization)
|
|
4
|
-
*/
|
|
5
|
-
export declare function memoize<T extends (...args: any[]) => any>(fn: T): T;
|
|
6
|
-
declare type RType = (url: string, data?: {} | undefined, config?: {} | undefined) => Promise<any>;
|
|
7
|
-
declare class Request {
|
|
8
|
-
private request;
|
|
9
|
-
constructor();
|
|
10
|
-
setRequest(val: any): void;
|
|
11
|
-
getRequest(): {
|
|
12
|
-
get: RType;
|
|
13
|
-
post: RType;
|
|
14
|
-
put: RType;
|
|
15
|
-
remove: RType;
|
|
16
|
-
custom: RType;
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
export declare const request: Request;
|
|
20
|
-
/**
|
|
21
|
-
* @title: 格式化持续时长用于展示
|
|
22
|
-
* @description:
|
|
23
|
-
* @param {number} service_times
|
|
24
|
-
* @return {*}
|
|
25
|
-
* @Author: zhiwei.Wang
|
|
26
|
-
* @Date: 2024-04-26 14:00
|
|
27
|
-
*/
|
|
28
|
-
export declare const getDiscountTime: (service_times: number, isDay?: boolean) => string;
|
|
29
|
-
/**
|
|
30
|
-
* @title: 时间切片(带缓存版本)
|
|
31
|
-
* @description: 使用 memoize 高阶函数包裹 sliceDayIntoFiveMinutes,相同参数时直接返回缓存结果
|
|
32
|
-
*/
|
|
33
|
-
export declare const sliceDayIntoFiveMinutes: (config: any, locale: string, isDay?: boolean) => {
|
|
34
|
-
timeSlices: {
|
|
35
|
-
label: string;
|
|
36
|
-
value: string;
|
|
37
|
-
}[];
|
|
38
|
-
durationSlicesBasedOnTime: {
|
|
39
|
-
label: string;
|
|
40
|
-
value: number;
|
|
41
|
-
}[];
|
|
42
|
-
};
|
|
43
|
-
export declare const getNowTime: () => string;
|
|
44
|
-
export declare const isNowTime: (time: string) => boolean;
|
|
45
|
-
/**
|
|
46
|
-
* @title: 获取服务的开始时间, 如果是now 转换为当前的时间
|
|
47
|
-
* @description:
|
|
48
|
-
* @param {string} start_time
|
|
49
|
-
* @return {*}
|
|
50
|
-
* @Author: zhiwei.Wang
|
|
51
|
-
* @Date: 2024-04-26 14:03
|
|
52
|
-
*/
|
|
53
|
-
export declare const getServeStartTime: (start_time: string) => string;
|
|
54
|
-
/**
|
|
55
|
-
* @title: 格式化服务的 开始时间-结束时间-时长, 用于展示
|
|
56
|
-
* @description:
|
|
57
|
-
* @param {any} item
|
|
58
|
-
* @param {any} currentDate
|
|
59
|
-
* @return {*}
|
|
60
|
-
* @Author: zhiwei.Wang
|
|
61
|
-
* @Date: 2024-04-26 14:04
|
|
62
|
-
*/
|
|
63
|
-
export declare const getServiceTime: (item: any, currentDate: any) => string;
|
|
64
|
-
export declare const findNextSlice: ({ timeSlices, index, date, }: {
|
|
65
|
-
timeSlices: any[];
|
|
66
|
-
index?: number | undefined;
|
|
67
|
-
date?: string | undefined;
|
|
68
|
-
}) => any;
|
|
69
|
-
export declare const findNextDuration: (current: any, array: any, defaultValue?: any) => any;
|
|
70
|
-
export declare const formatProductListByCategory: (list: any, filterItem: any) => unknown[];
|
|
71
|
-
export declare const getResourceTimeIsUsable: (item: any, cacheItem: any) => any;
|
|
72
|
-
/**
|
|
73
|
-
* @title: 查找是否有可用的time
|
|
74
|
-
* @description:
|
|
75
|
-
* @param {any} resourceItem
|
|
76
|
-
* @return {*}
|
|
77
|
-
* @Author: zhiwei.Wang
|
|
78
|
-
* @Date: 2024-01-09 13:57
|
|
79
|
-
*/
|
|
80
|
-
export declare const formatTimes: (resourceItem: any, cacheItem: any) => any;
|
|
81
|
-
/**
|
|
82
|
-
* @title: 获取店铺的营业结束时间
|
|
83
|
-
* @description:
|
|
84
|
-
* @return {*}
|
|
85
|
-
* @Author: zhiwei.Wang
|
|
86
|
-
* @Date: 2024-02-23 10:00
|
|
87
|
-
*/
|
|
88
|
-
export declare const getShopOpeningHours: () => string;
|
|
89
|
-
/**
|
|
90
|
-
* @title: 对灵活时长进行处理
|
|
91
|
-
* @description:
|
|
92
|
-
* @return {*}
|
|
93
|
-
* @Author: zhiwei.Wang
|
|
94
|
-
* @Date: 2024-02-23 10:00
|
|
95
|
-
*/
|
|
96
|
-
export declare const flexibleObj: {
|
|
97
|
-
create: (num: number) => any;
|
|
98
|
-
getValue: (str: string | number) => number;
|
|
99
|
-
isFlexible: (str: string | number) => boolean;
|
|
100
|
-
add: (current: number | string, duration: number) => any;
|
|
101
|
-
};
|
|
102
|
-
/**
|
|
103
|
-
* @title: 获取结束时间
|
|
104
|
-
* @description: 取 endDate | 店铺营业时间 最小的那一个
|
|
105
|
-
* @param {any} startDate
|
|
106
|
-
* @param {string} duration
|
|
107
|
-
* @param {any} endDate
|
|
108
|
-
* @return {*}
|
|
109
|
-
* @Author: zhiwei.Wang
|
|
110
|
-
* @Date: 2024-02-23 10:01
|
|
111
|
-
*/
|
|
112
|
-
export declare const getEndDate: (startDate: any, duration: string | number, endDate: any) => any;
|
|
113
|
-
export declare const getServiceTimes: (service: any) => {
|
|
114
|
-
startDate: dayjs.Dayjs;
|
|
115
|
-
endDate: dayjs.Dayjs;
|
|
116
|
-
};
|
|
117
|
-
export declare const getErrorList: (resource: any, cacheItem: any, isDay?: boolean) => {
|
|
118
|
-
label: any;
|
|
119
|
-
type: string;
|
|
120
|
-
}[];
|
|
121
|
-
/**
|
|
122
|
-
* @title: 格式化资源, 添加自定义参数
|
|
123
|
-
* @description:
|
|
124
|
-
* @param {any} resourceItem
|
|
125
|
-
* @return {*}
|
|
126
|
-
* @Author: zhiwei.Wang
|
|
127
|
-
* @Date: 2024-01-09 13:40
|
|
128
|
-
*/
|
|
129
|
-
export declare const formatResource: (resourceItem: any, cacheItem?: any, formatLabel?: any) => any;
|
|
130
|
-
export declare const getLastServer: (list: any) => any;
|
|
131
|
-
export declare const getCacheParams: () => any;
|
|
132
|
-
export declare const deleteCacheParams: () => void;
|
|
133
|
-
/**
|
|
134
|
-
* @title: 获取跨日预约的时长
|
|
135
|
-
* @description:
|
|
136
|
-
* @param {any} cacheItem
|
|
137
|
-
* @return {*}
|
|
138
|
-
* @Author: WangHan
|
|
139
|
-
* @Date: 2024-12-01 22:43
|
|
140
|
-
*/
|
|
141
|
-
export declare const getDays: (cacheItem: any, type: 'minutes' | 'days') => any;
|
|
142
|
-
export declare const isSessionProduct: (cacheItem: any) => boolean;
|
|
143
|
-
export declare const getIsEject: (item: any, type: 'select' | 'detail') => boolean;
|
|
144
|
-
export declare const getIsOnlySession: (item: any) => boolean;
|
|
145
|
-
/**
|
|
146
|
-
* @title: 创建一个服务商品
|
|
147
|
-
* @description:
|
|
148
|
-
* @param {any} state
|
|
149
|
-
* @param {any} item
|
|
150
|
-
* @return {*}
|
|
151
|
-
* @Author: zhiwei.Wang
|
|
152
|
-
* @Date: 2024-01-26 14:09
|
|
153
|
-
*/
|
|
154
|
-
export declare const getServerItemExtend: (state: any, cacheItem: any, timeObj: any) => any;
|
|
155
|
-
export declare const getProductTotalPrice: (item: any) => number;
|
|
156
|
-
/**
|
|
157
|
-
* @title: 判断 duration
|
|
158
|
-
* @description: 用于处理不同格式的duration
|
|
159
|
-
* @param {number} duration
|
|
160
|
-
* @return {*}
|
|
161
|
-
* @Author: zhiwei.Wang
|
|
162
|
-
* @Date: 2024-02-23 10:02
|
|
163
|
-
*/
|
|
164
|
-
export declare const getDuration: (duration: number | {
|
|
165
|
-
type: string;
|
|
166
|
-
value: number;
|
|
167
|
-
}) => number | "flexible" | {
|
|
168
|
-
type: string;
|
|
169
|
-
value: number;
|
|
170
|
-
};
|
|
171
|
-
export declare const isWalkIn: (customer_id?: number | string) => boolean;
|
|
172
|
-
export declare const getIsEdit: (state: any) => boolean;
|
|
173
|
-
export {};
|