@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
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
en: {
|
|
3
|
-
'pisell2.text.leave-empty-for-walk-in': string;
|
|
4
|
-
'pisell2.text.date-year-text': string;
|
|
5
|
-
'pisell2.text.date-month-text': string;
|
|
6
|
-
'pisell2.text.date-day-text': string;
|
|
7
|
-
'pisell2.text.gender': string;
|
|
8
|
-
'pisell2.text.gender.male': string;
|
|
9
|
-
'pisell2.text.gender.female': string;
|
|
10
|
-
'pisell2.text.birthday': string;
|
|
11
|
-
'pisell2.text.phone': string;
|
|
12
|
-
'pisell2.text.email': string;
|
|
13
|
-
'pisell2.text.lastname': string;
|
|
14
|
-
'pisell2.text.firstname': string;
|
|
15
|
-
'pisell2.text.email-error-message': string;
|
|
16
|
-
'pisell2.text.notes': string;
|
|
17
|
-
'pisell2.text.save': string;
|
|
18
|
-
'pisell2.text.save-and-select': string;
|
|
19
|
-
'pisell2.text.no-results-found': string;
|
|
20
|
-
'pisell2.text.create-new-client': string;
|
|
21
|
-
'pisell2.text.result-found': string;
|
|
22
|
-
'pisell2.text.personnel-list': string;
|
|
23
|
-
'pisell2.text.load-more': string;
|
|
24
|
-
'pisell2.text.add-client.confirm': string;
|
|
25
|
-
'pisell2.text.search-customer-by-phone-number': string;
|
|
26
|
-
'pisell2.text.create': string;
|
|
27
|
-
'pisell2.text.loading': string;
|
|
28
|
-
'pisell2.text.no-more-data': string;
|
|
29
|
-
'pisell2.text.client-search.name': string;
|
|
30
|
-
'pisell2.text.client-search.register-time': string;
|
|
31
|
-
'pisell2.text.client-search.phone': string;
|
|
32
|
-
'pisell2.text.client-search.email': string;
|
|
33
|
-
'pisell2.text.client-search.membership': string;
|
|
34
|
-
};
|
|
35
|
-
'zh-CN': {
|
|
36
|
-
'pisell2.text.leave-empty-for-walk-in': string;
|
|
37
|
-
'pisell2.text.date-year-text': string;
|
|
38
|
-
'pisell2.text.date-month-text': string;
|
|
39
|
-
'pisell2.text.date-day-text': string;
|
|
40
|
-
'pisell2.text.gender': string;
|
|
41
|
-
'pisell2.text.gender.male': string;
|
|
42
|
-
'pisell2.text.gender.female': string;
|
|
43
|
-
'pisell2.text.birthday': string;
|
|
44
|
-
'pisell2.text.phone': string;
|
|
45
|
-
'pisell2.text.email': string;
|
|
46
|
-
'pisell2.text.lastname': string;
|
|
47
|
-
'pisell2.text.firstname': string;
|
|
48
|
-
'pisell2.text.email-error-message': string;
|
|
49
|
-
'pisell2.text.notes': string;
|
|
50
|
-
'pisell2.text.save': string;
|
|
51
|
-
'pisell2.text.save-and-select': string;
|
|
52
|
-
'pisell2.text.no-results-found': string;
|
|
53
|
-
'pisell2.text.create-new-client': string;
|
|
54
|
-
'pisell2.text.result-found': string;
|
|
55
|
-
'pisell2.text.personnel-list': string;
|
|
56
|
-
'pisell2.text.add-client.confirm': string;
|
|
57
|
-
'pisell2.text.load-more': string;
|
|
58
|
-
'pisell2.text.search-customer-by-phone-number': string;
|
|
59
|
-
'pisell2.text.create': string;
|
|
60
|
-
'pisell2.text.loading': string;
|
|
61
|
-
'pisell2.text.no-more-data': string;
|
|
62
|
-
'pisell2.text.client-search.name': string;
|
|
63
|
-
'pisell2.text.client-search.register-time': string;
|
|
64
|
-
'pisell2.text.client-search.phone': string;
|
|
65
|
-
'pisell2.text.client-search.email': string;
|
|
66
|
-
'pisell2.text.client-search.membership': string;
|
|
67
|
-
};
|
|
68
|
-
'zh-HK': {
|
|
69
|
-
'pisell2.text.leave-empty-for-walk-in': string;
|
|
70
|
-
'pisell2.text.date-year-text': string;
|
|
71
|
-
'pisell2.text.date-month-text': string;
|
|
72
|
-
'pisell2.text.date-day-text': string;
|
|
73
|
-
'pisell2.text.gender': string;
|
|
74
|
-
'pisell2.text.gender.male': string;
|
|
75
|
-
'pisell2.text.gender.female': string;
|
|
76
|
-
'pisell2.text.birthday': string;
|
|
77
|
-
'pisell2.text.phone': string;
|
|
78
|
-
'pisell2.text.email': string;
|
|
79
|
-
'pisell2.text.lastname': string;
|
|
80
|
-
'pisell2.text.firstname': string;
|
|
81
|
-
'pisell2.text.email-error-message': string;
|
|
82
|
-
'pisell2.text.notes': string;
|
|
83
|
-
'pisell2.text.save': string;
|
|
84
|
-
'pisell2.text.save-and-select': string;
|
|
85
|
-
'pisell2.text.no-results-found': string;
|
|
86
|
-
'pisell2.text.create-new-client': string;
|
|
87
|
-
'pisell2.text.result-found': string;
|
|
88
|
-
'pisell2.text.personnel-list': string;
|
|
89
|
-
'pisell2.text.add-client.confirm': string;
|
|
90
|
-
'pisell2.text.load-more': string;
|
|
91
|
-
'pisell2.text.search-customer-by-phone-number': string;
|
|
92
|
-
'pisell2.text.create': string;
|
|
93
|
-
'pisell2.text.loading': string;
|
|
94
|
-
'pisell2.text.no-more-data': string;
|
|
95
|
-
'pisell2.text.client-search.name': string;
|
|
96
|
-
'pisell2.text.client-search.register-time': string;
|
|
97
|
-
'pisell2.text.client-search.phone': string;
|
|
98
|
-
'pisell2.text.client-search.email': string;
|
|
99
|
-
'pisell2.text.client-search.membership': string;
|
|
100
|
-
};
|
|
101
|
-
};
|
|
102
|
-
export default _default;
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface ClientData {
|
|
3
|
-
id: number;
|
|
4
|
-
display_name: string;
|
|
5
|
-
created_at: string;
|
|
6
|
-
phone: string;
|
|
7
|
-
email: string;
|
|
8
|
-
channel: string;
|
|
9
|
-
country_calling_code: string;
|
|
10
|
-
nickname: string;
|
|
11
|
-
shop_id: number;
|
|
12
|
-
updated_at: string;
|
|
13
|
-
}
|
|
14
|
-
export interface ClientSearchProps {
|
|
15
|
-
dataSource?: any;
|
|
16
|
-
isShowScanner?: boolean;
|
|
17
|
-
isShowCamera?: boolean;
|
|
18
|
-
isShowNFC?: boolean;
|
|
19
|
-
isShowNewButton?: boolean;
|
|
20
|
-
newButtonAlign?: 'left' | 'center' | 'right';
|
|
21
|
-
newButtonText?: string;
|
|
22
|
-
renderType?: 'modal' | 'drawer' | 'portal' | '';
|
|
23
|
-
containerProps?: Record<string, any>;
|
|
24
|
-
isShowSearch?: boolean;
|
|
25
|
-
isShowSearchCamera?: boolean;
|
|
26
|
-
searchIcon?: string;
|
|
27
|
-
placeholder?: string;
|
|
28
|
-
isShowSearchButton?: boolean;
|
|
29
|
-
resultSort?: 'asc' | 'desc' | 'custom';
|
|
30
|
-
sortBy?: string;
|
|
31
|
-
style?: React.CSSProperties;
|
|
32
|
-
onChange?: (value: string) => void;
|
|
33
|
-
onSearch?: (value: string) => void;
|
|
34
|
-
onAdd?: () => void;
|
|
35
|
-
onDataChange?: (data: any) => void;
|
|
36
|
-
onRowClick?: (record: ClientData, index: number) => void;
|
|
37
|
-
}
|
|
38
|
-
export interface ClientFormData {
|
|
39
|
-
display_name: string;
|
|
40
|
-
phone?: string;
|
|
41
|
-
email?: string;
|
|
42
|
-
nickname?: string;
|
|
43
|
-
}
|
|
44
|
-
export interface ClientSearchState {
|
|
45
|
-
modalVisible: boolean;
|
|
46
|
-
loading: boolean;
|
|
47
|
-
searchResults: ClientData[];
|
|
48
|
-
searchValue: string;
|
|
49
|
-
}
|
|
@@ -1,218 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 钱包列表查询参数接口
|
|
3
|
-
*/
|
|
4
|
-
export interface IWalletListParmsProps {
|
|
5
|
-
tags?: string[];
|
|
6
|
-
sales_status?: 1 | 0 | -1;
|
|
7
|
-
machine_search?: string;
|
|
8
|
-
createdDate?: string;
|
|
9
|
-
limit_status?: string;
|
|
10
|
-
relation_id?: string;
|
|
11
|
-
relation_type?: string;
|
|
12
|
-
customer_id?: number;
|
|
13
|
-
sort?: 'desc' | 'asc';
|
|
14
|
-
order_by?: string;
|
|
15
|
-
used_status?: string;
|
|
16
|
-
num?: number;
|
|
17
|
-
skip?: number;
|
|
18
|
-
filter_wallet_id?: string;
|
|
19
|
-
available: 0 | 1;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* 钱包列表项属性接口
|
|
23
|
-
*/
|
|
24
|
-
export interface IWalletListItemProps {
|
|
25
|
-
id?: number | string;
|
|
26
|
-
encoded?: string;
|
|
27
|
-
code?: string;
|
|
28
|
-
limit_status?: string;
|
|
29
|
-
customer_id?: number;
|
|
30
|
-
generate_method?: 'not_settable' | 'before_order' | 'after_order';
|
|
31
|
-
created_at?: string;
|
|
32
|
-
product_id?: number;
|
|
33
|
-
sales_status?: 1 | 0;
|
|
34
|
-
tag?: string;
|
|
35
|
-
status?: string;
|
|
36
|
-
redeemed_at?: string;
|
|
37
|
-
collection_time?: string;
|
|
38
|
-
order_id?: number;
|
|
39
|
-
par_value?: string;
|
|
40
|
-
write_status?: number;
|
|
41
|
-
expire_date?: string;
|
|
42
|
-
balance?: string;
|
|
43
|
-
extension_id?: string;
|
|
44
|
-
product_title?: string;
|
|
45
|
-
product_cover?: string;
|
|
46
|
-
product?: IProductProps;
|
|
47
|
-
unified_available_status?: 0 | 1;
|
|
48
|
-
unified_error_code?: number;
|
|
49
|
-
shop: IShop;
|
|
50
|
-
unified_messages: any;
|
|
51
|
-
machinecode_config?: {
|
|
52
|
-
hide_recharge?: number;
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* 商店信息接口
|
|
57
|
-
*/
|
|
58
|
-
export interface IShop {
|
|
59
|
-
name: string;
|
|
60
|
-
id: number;
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* 商品属性接口
|
|
64
|
-
*/
|
|
65
|
-
export interface IProductProps {
|
|
66
|
-
id?: number;
|
|
67
|
-
title?: string;
|
|
68
|
-
description?: string;
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* API响应接口
|
|
72
|
-
*/
|
|
73
|
-
export interface ApiResponse<T> {
|
|
74
|
-
data: T;
|
|
75
|
-
code?: number;
|
|
76
|
-
message?: string;
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
* 错误处理函数类型
|
|
80
|
-
*/
|
|
81
|
-
export declare type ErrorCallback = () => void;
|
|
82
|
-
/**
|
|
83
|
-
* 获取钱包列表
|
|
84
|
-
* @param params 查询参数
|
|
85
|
-
* @returns Promise<{list: IWalletListItemProps[], count: number}> 钱包列表和总数
|
|
86
|
-
* @throws 请求失败时抛出错误
|
|
87
|
-
*/
|
|
88
|
-
export declare const getWalletList: (params?: IWalletListParmsProps) => Promise<{
|
|
89
|
-
list: IWalletListItemProps[];
|
|
90
|
-
count: number;
|
|
91
|
-
}>;
|
|
92
|
-
/**
|
|
93
|
-
* 通过code绑定客户
|
|
94
|
-
* @param params 请求参数,包含code
|
|
95
|
-
* @param errCallback 错误回调
|
|
96
|
-
* @returns Promise<any> 绑定结果
|
|
97
|
-
*/
|
|
98
|
-
export declare const bindCodeToCustomer: (params: {
|
|
99
|
-
code: string;
|
|
100
|
-
}) => Promise<any>;
|
|
101
|
-
/**
|
|
102
|
-
* 用户根据code查询待绑定识别码列表
|
|
103
|
-
* @param params 请求参数,包含code和tag
|
|
104
|
-
* @param errCallback 错误回调函数
|
|
105
|
-
* @returns Promise<IWalletListItemProps[] | null> 未绑定的钱包卡列表
|
|
106
|
-
*/
|
|
107
|
-
export declare const getUnbindList: (params: {
|
|
108
|
-
code: string;
|
|
109
|
-
tag?: string;
|
|
110
|
-
}) => Promise<IWalletListItemProps[] | null>;
|
|
111
|
-
/**
|
|
112
|
-
* 下单请求参数接口
|
|
113
|
-
*/
|
|
114
|
-
export interface IOrderParams {
|
|
115
|
-
voucher_id: string;
|
|
116
|
-
product_id: string;
|
|
117
|
-
product_variant_id: string;
|
|
118
|
-
quantity: number;
|
|
119
|
-
type: string;
|
|
120
|
-
platform: string;
|
|
121
|
-
currency_code: {
|
|
122
|
-
currency_code: string;
|
|
123
|
-
currency_symbol: string;
|
|
124
|
-
currency_format: string;
|
|
125
|
-
};
|
|
126
|
-
}
|
|
127
|
-
/**
|
|
128
|
-
* 下单
|
|
129
|
-
* @param params 下单参数
|
|
130
|
-
* @returns Promise<any> 下单结果
|
|
131
|
-
* @throws 请求失败时抛出错误
|
|
132
|
-
*/
|
|
133
|
-
export declare const goOrder: (params: IOrderParams) => Promise<any>;
|
|
134
|
-
/**
|
|
135
|
-
* 设置请求对象
|
|
136
|
-
* @param req 请求对象
|
|
137
|
-
*/
|
|
138
|
-
export declare const setRequest: (req: any) => void;
|
|
139
|
-
interface IAssetListProps {
|
|
140
|
-
skip?: string;
|
|
141
|
-
num?: string;
|
|
142
|
-
card_id?: string;
|
|
143
|
-
sourceType?: string;
|
|
144
|
-
business_object?: string;
|
|
145
|
-
tag?: string;
|
|
146
|
-
}
|
|
147
|
-
export interface IAssetItem {
|
|
148
|
-
id?: string;
|
|
149
|
-
tag?: 'gift_card' | 'product_voucher' | 'point_card' | 'product_discount_card';
|
|
150
|
-
shop_id?: string;
|
|
151
|
-
transaction_id?: string;
|
|
152
|
-
title?: string;
|
|
153
|
-
created_at?: string;
|
|
154
|
-
amount?: string;
|
|
155
|
-
balance?: string;
|
|
156
|
-
currency_symbol?: string;
|
|
157
|
-
action?: 'recharge' | 'order_expend' | 'order_refund' | 'expire';
|
|
158
|
-
}
|
|
159
|
-
/**
|
|
160
|
-
* 资产明细列表
|
|
161
|
-
* @param params 接口请求参数
|
|
162
|
-
* @returns 资产明细列表
|
|
163
|
-
*/
|
|
164
|
-
export declare const getAssetList: (params: IAssetListProps) => Promise<{
|
|
165
|
-
list: IAssetItem[];
|
|
166
|
-
}>;
|
|
167
|
-
/**
|
|
168
|
-
* 获取资产详情
|
|
169
|
-
* @param params 接口请求参数
|
|
170
|
-
* @returns 资产详情
|
|
171
|
-
*/
|
|
172
|
-
export declare const getDetailApi: (params: {
|
|
173
|
-
id: string;
|
|
174
|
-
}) => Promise<IDetailResponse>;
|
|
175
|
-
/**
|
|
176
|
-
* 详情响应数据结构,供组件消费
|
|
177
|
-
*/
|
|
178
|
-
export interface IDetailResponse {
|
|
179
|
-
detailId?: string;
|
|
180
|
-
productId?: string;
|
|
181
|
-
gift_option?: Array<{
|
|
182
|
-
id: string;
|
|
183
|
-
name: string;
|
|
184
|
-
gift_price: number;
|
|
185
|
-
price: number;
|
|
186
|
-
variant_id?: string;
|
|
187
|
-
}>;
|
|
188
|
-
[key: string]: any;
|
|
189
|
-
}
|
|
190
|
-
interface OrderParams {
|
|
191
|
-
voucher_id: string;
|
|
192
|
-
product_id: string;
|
|
193
|
-
product_variant_id: string;
|
|
194
|
-
quantity: number;
|
|
195
|
-
type: string;
|
|
196
|
-
platform: string;
|
|
197
|
-
currency_code: {
|
|
198
|
-
currency_code: string;
|
|
199
|
-
currency_symbol: string;
|
|
200
|
-
currency_format: string;
|
|
201
|
-
};
|
|
202
|
-
}
|
|
203
|
-
interface OrderResponse {
|
|
204
|
-
order_id: string;
|
|
205
|
-
}
|
|
206
|
-
/**
|
|
207
|
-
* 下单接口
|
|
208
|
-
* @param params - 订单参数
|
|
209
|
-
* @returns 订单响应数据
|
|
210
|
-
*/
|
|
211
|
-
export declare const orderRechargeProduct: (params: OrderParams) => Promise<OrderResponse>;
|
|
212
|
-
/**
|
|
213
|
-
* @desc: 获取钱包信息
|
|
214
|
-
* @author: Arthur
|
|
215
|
-
* @date: 2025-11-03 15:30
|
|
216
|
-
*/
|
|
217
|
-
export declare const getWalletDetail: (id: string | number) => Promise<any>;
|
|
218
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
en: {
|
|
3
|
-
'pisell2.comprehensive-search.placeholder': string;
|
|
4
|
-
'pisell2.text.search': string;
|
|
5
|
-
};
|
|
6
|
-
'zh-CN': {
|
|
7
|
-
'pisell2.comprehensive-search.placeholder': string;
|
|
8
|
-
'pisell2.text.search': string;
|
|
9
|
-
};
|
|
10
|
-
'zh-HK': {
|
|
11
|
-
'pisell2.comprehensive-search.placeholder': string;
|
|
12
|
-
'pisell2.text.search': string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export default _default;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
en: {
|
|
3
|
-
'pisell2.text.new-client': string;
|
|
4
|
-
'pisell2.comprehensive-search.empty': string;
|
|
5
|
-
};
|
|
6
|
-
'zh-CN': {
|
|
7
|
-
'pisell2.text.new-client': string;
|
|
8
|
-
'pisell2.comprehensive-search.empty': string;
|
|
9
|
-
};
|
|
10
|
-
'zh-HK': {
|
|
11
|
-
'pisell2.text.new-client': string;
|
|
12
|
-
'pisell2.comprehensive-search.empty': string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export default _default;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { CashKeyboardBaseProps } from './types';
|
|
2
|
-
export interface CashKeyboardProps extends CashKeyboardBaseProps {
|
|
3
|
-
containerProps?: {
|
|
4
|
-
renderType: 'modal' | 'popover';
|
|
5
|
-
open: boolean;
|
|
6
|
-
[key: string]: any;
|
|
7
|
-
};
|
|
8
|
-
variant?: 'intact' | 'simple';
|
|
9
|
-
}
|
|
10
|
-
declare const CashKeyboard: (props: CashKeyboardProps) => JSX.Element;
|
|
11
|
-
export default CashKeyboard;
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface RightItemsStyleProps {
|
|
3
|
-
buttonBackgroundColor?: string;
|
|
4
|
-
textColor?: string;
|
|
5
|
-
resetButtonBackgroundColor?: string;
|
|
6
|
-
resetButtonTextColor?: string;
|
|
7
|
-
isDoneButtonFollowTheme?: boolean;
|
|
8
|
-
doneButtonBackgroundColor?: string;
|
|
9
|
-
doneButtonTextColor?: string;
|
|
10
|
-
}
|
|
11
|
-
export declare type ItemValue = string | number;
|
|
12
|
-
export interface Item {
|
|
13
|
-
value: ItemValue;
|
|
14
|
-
label: React.ReactNode;
|
|
15
|
-
disabled: boolean;
|
|
16
|
-
type: 'text' | 'primary';
|
|
17
|
-
style?: React.CSSProperties;
|
|
18
|
-
size?: number;
|
|
19
|
-
}
|
|
20
|
-
export interface KeyboardProps {
|
|
21
|
-
className?: string;
|
|
22
|
-
style?: React.CSSProperties;
|
|
23
|
-
onChange?: (value?: ItemValue) => void;
|
|
24
|
-
items?: Item[];
|
|
25
|
-
rightItems?: Item[];
|
|
26
|
-
keydown?: boolean;
|
|
27
|
-
}
|
|
28
|
-
export interface TitleAreaConfig {
|
|
29
|
-
visible?: boolean;
|
|
30
|
-
title?: {
|
|
31
|
-
visible?: boolean;
|
|
32
|
-
text?: string;
|
|
33
|
-
fontSize?: string | number;
|
|
34
|
-
color?: string;
|
|
35
|
-
fontWeight?: string | number;
|
|
36
|
-
};
|
|
37
|
-
subtitle?: {
|
|
38
|
-
visible?: boolean;
|
|
39
|
-
text?: string;
|
|
40
|
-
fontSize?: string | number;
|
|
41
|
-
color?: string;
|
|
42
|
-
fontWeight?: string | number;
|
|
43
|
-
};
|
|
44
|
-
alignment?: 'left' | 'right' | 'center' | 'space-between';
|
|
45
|
-
spacing?: string | number;
|
|
46
|
-
}
|
|
47
|
-
export interface DisplayFieldConfig {
|
|
48
|
-
cashReceived?: {
|
|
49
|
-
visible?: boolean;
|
|
50
|
-
};
|
|
51
|
-
balanceDue?: {
|
|
52
|
-
visible?: boolean;
|
|
53
|
-
};
|
|
54
|
-
changeDue?: {
|
|
55
|
-
visible?: boolean;
|
|
56
|
-
};
|
|
57
|
-
gridRatio?: number[];
|
|
58
|
-
}
|
|
59
|
-
export interface CashKeyboardBaseProps {
|
|
60
|
-
amountSymbol?: string;
|
|
61
|
-
value?: string;
|
|
62
|
-
/** 默认值,非受控模式 */
|
|
63
|
-
defaultValue?: string;
|
|
64
|
-
/** 原始值,多用于重置, 当前对应 Balance Due */
|
|
65
|
-
originalValue?: string;
|
|
66
|
-
placeholder?: string;
|
|
67
|
-
max?: number;
|
|
68
|
-
min?: number;
|
|
69
|
-
disabled?: boolean;
|
|
70
|
-
doneText?: string;
|
|
71
|
-
resetText?: string;
|
|
72
|
-
presets?: any;
|
|
73
|
-
hiddenChangeDue?: boolean;
|
|
74
|
-
onChange?: (val: string) => void;
|
|
75
|
-
onEnter?: (val: string) => void;
|
|
76
|
-
onReset?: () => void;
|
|
77
|
-
onPay?: () => void;
|
|
78
|
-
rightItemsStyle?: RightItemsStyleProps;
|
|
79
|
-
titleArea?: TitleAreaConfig;
|
|
80
|
-
displayField?: DisplayFieldConfig;
|
|
81
|
-
keyboardProps?: KeyboardProps;
|
|
82
|
-
style?: React.CSSProperties;
|
|
83
|
-
selectType?: 'light' | 'dark';
|
|
84
|
-
backgroundColor?: string;
|
|
85
|
-
containerBackgroundColor?: string;
|
|
86
|
-
buttonBackgroundColor?: string;
|
|
87
|
-
textColor?: string;
|
|
88
|
-
resetButtonBackgroundColor?: string;
|
|
89
|
-
resetButtonTextColor?: string;
|
|
90
|
-
isDoneButtonFollowTheme?: boolean;
|
|
91
|
-
doneButtonBackgroundColor?: string;
|
|
92
|
-
doneButtonTextColor?: string;
|
|
93
|
-
keyboardBackgroundColor?: string;
|
|
94
|
-
keyboardButtonBackgroundColor?: string;
|
|
95
|
-
keyboardButtonTextColor?: string;
|
|
96
|
-
keyboardButtonHoverColor?: string;
|
|
97
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
export declare type ShortcutsItem = {
|
|
4
|
-
label: string;
|
|
5
|
-
value: number | string;
|
|
6
|
-
style?: React.CSSProperties;
|
|
7
|
-
onClick?: (item: ShortcutsItem, _next: () => void) => void;
|
|
8
|
-
render?: (item: ShortcutsItem) => React.ReactNode;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
};
|
|
11
|
-
export interface ShortcutsProps {
|
|
12
|
-
presets?: ShortcutsItem[];
|
|
13
|
-
onChange?: (val: string) => void;
|
|
14
|
-
disabled?: boolean;
|
|
15
|
-
}
|
|
16
|
-
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<ShortcutsProps & React.RefAttributes<HTMLDivElement>>>;
|
|
17
|
-
export default _default;
|
|
@@ -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;
|