@pisell/private-materials 6.8.93 → 6.8.94
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/meta.js +1 -1
- package/build/lowcode/render/default/view.js +7 -7
- package/build/lowcode/view.js +1 -1
- package/es/components/Sales/Summary/utils.d.ts +1 -1
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Content/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Header/index.d.ts +1 -0
- package/es/components/appointmentBooking/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/reloadResourceModal/index.d.ts +1 -0
- package/es/components/booking/dashboard/index.js +71 -93
- package/es/components/booking/dashboard/serve.d.ts +1 -0
- package/es/components/booking/dashboard/serve.js +22 -0
- package/es/components/booking/deposit/index.d.ts +1 -0
- package/es/components/booking/forms/single/index.d.ts +1 -0
- package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
- package/es/components/booking/info/header/index.d.ts +1 -0
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
- package/es/components/booking/info/service/Lists.d.ts +1 -0
- package/es/components/booking/info/service/actions/index.d.ts +1 -0
- package/es/components/booking/info/service/addService/index.d.ts +1 -0
- package/es/components/booking/info/service/addTimeModal/index.d.ts +1 -0
- package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
- package/es/components/booking/info/service/serviceList/index.d.ts +1 -0
- package/es/components/booking/info/service2/utils.js +41 -39
- package/es/components/booking/info2/service/actions/index.d.ts +1 -0
- package/es/components/booking/info2/service/addService/index.d.ts +1 -0
- package/es/components/booking/materiels/contacts/index.d.ts +1 -0
- package/es/components/booking/materiels/duration/index.d.ts +1 -0
- package/es/components/booking/materiels/startTime/index.d.ts +1 -0
- package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
- package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
- package/es/components/booking/notes/addNote/index.d.ts +1 -0
- package/es/components/checkout/components/ScrollableList/index.d.ts +5 -0
- package/es/components/checkout/utils/PaymentResultToastUtils.d.ts +32 -0
- package/es/components/eftpos/index.d.ts +1 -0
- package/es/components/eftpos/pos.d.ts +1 -0
- package/es/components/eftposPay/aggregatePayment/service.d.ts +24 -0
- package/es/components/eftposPay/aggregatePayment/utils/logs.d.ts +110 -0
- package/es/components/eftposPay/amount.d.ts +2 -1
- 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/component/step/index.d.ts +1 -0
- package/es/components/eftposPay/device.d.ts +1 -1
- package/es/components/eftposPay/hooks.d.ts +1 -1
- package/es/components/eftposPay/index.d.ts +1 -0
- package/es/components/eftposPay/linkly/index.d.ts +1 -0
- package/es/components/eftposPay/pay.d.ts +1 -0
- package/es/components/eftposPay/payo/config.d.ts +1 -0
- package/es/components/eftposPay/store/index.d.ts +5 -5
- package/es/components/eftposPay/tip.d.ts +1 -0
- package/es/components/eftposPay/windcave/receiptAction.d.ts +1 -0
- package/es/components/eftposPay/windcave/windcave.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
- package/es/components/eventBooking/index.d.ts +1 -0
- package/es/components/kioskSkuDetail/locales.d.ts +27 -0
- package/es/components/list/hooks/useListState.d.ts +45 -0
- package/es/components/list/types.d.ts +178 -0
- package/es/components/list/utils/index.d.ts +19 -0
- package/es/components/login/index.d.ts +1 -0
- package/es/components/pay/toB/components/Cache/index.d.ts +0 -1
- 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/PaymentList/index.d.ts +19 -0
- package/es/components/pay/toC/PaymentList/serve.d.ts +28 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
- package/es/components/pay/toC/locales.d.ts +307 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
- package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
- package/es/components/productExtension/index.d.ts +1 -0
- package/es/components/productSelect/components/productGroup/index.d.ts +1 -0
- package/es/components/ruleSetting/index.d.ts +1 -0
- package/es/components/ruleSetting/ruleBorder/index.d.ts +1 -0
- package/es/components/schedules/calendar/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/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
- package/es/components/schedules/products/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/index.d.ts +1 -0
- package/es/components/systemSettings/registry/components/SectionList.d.ts +4 -0
- package/es/components/taxSelect/index.d.ts +1 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +115 -0
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
- package/es/components/ticketBooking/components/bookingDataPanel/index.js +2 -1
- package/es/components/ticketBooking/components/timeBar/index.d.ts +14 -0
- package/es/components/ticketBooking/index.d.ts +1 -0
- package/es/components/ticketBooking/locales.d.ts +201 -0
- package/es/components/ticketBooking/utils/index.d.ts +1 -1
- package/es/hooks/printer.d.ts +4 -0
- package/es/hooks/useEngineContext.d.ts +4 -0
- package/es/hooks/usePaymentLogger.d.ts +1 -0
- 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/index.d.ts +18 -0
- package/es/plus/clinetSearch/locales.d.ts +108 -0
- package/es/plus/clinetSearch/types.d.ts +70 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +1 -1
- 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/Resource/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +1 -1
- package/es/plus/saasCreateOrganization/components/Header.d.ts +1 -0
- package/es/plus/saasCreateOrganization/index.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/skuOptionsSelection/components/TitleExtra/index.d.ts +1 -0
- package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +4 -0
- package/es/plus/skuOptionsSelection/locales.d.ts +33 -0
- package/es/plus/walletEditor/components/relationProduct/index.d.ts +1 -0
- package/es/pro/Login2.0/components/LoginCodeInput.d.ts +27 -0
- package/es/pro/Login2.0/steps/CodeInput.d.ts +24 -0
- package/es/pro/comprehensiveSearch/components/searchSection/locales.d.ts +15 -0
- package/es/pro/pisellPaymentList/example.d.ts +1 -0
- package/es/pro/priceKeyboard/components/cashKeyboard/index.d.ts +1 -0
- package/lib/components/Sales/Summary/utils.d.ts +1 -1
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Content/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Header/index.d.ts +1 -0
- package/lib/components/appointmentBooking/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/reloadResourceModal/index.d.ts +1 -0
- package/lib/components/booking/dashboard/index.js +38 -60
- package/lib/components/booking/dashboard/serve.d.ts +1 -0
- package/lib/components/booking/dashboard/serve.js +8 -2
- package/lib/components/booking/deposit/index.d.ts +1 -0
- package/lib/components/booking/forms/single/index.d.ts +1 -0
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
- package/lib/components/booking/info/header/index.d.ts +1 -0
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
- package/lib/components/booking/info/service/Lists.d.ts +1 -0
- package/lib/components/booking/info/service/actions/index.d.ts +1 -0
- package/lib/components/booking/info/service/addService/index.d.ts +1 -0
- package/lib/components/booking/info/service/addTimeModal/index.d.ts +1 -0
- package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
- package/lib/components/booking/info/service/serviceList/index.d.ts +1 -0
- package/lib/components/booking/info/service2/utils.js +3 -1
- package/lib/components/booking/info2/service/actions/index.d.ts +1 -0
- package/lib/components/booking/info2/service/addService/index.d.ts +1 -0
- package/lib/components/booking/materiels/contacts/index.d.ts +1 -0
- package/lib/components/booking/materiels/duration/index.d.ts +1 -0
- package/lib/components/booking/materiels/startTime/index.d.ts +1 -0
- package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
- package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
- package/lib/components/booking/notes/addNote/index.d.ts +1 -0
- package/lib/components/checkout/components/ScrollableList/index.d.ts +5 -0
- package/lib/components/checkout/utils/PaymentResultToastUtils.d.ts +32 -0
- package/lib/components/eftpos/index.d.ts +1 -0
- package/lib/components/eftpos/pos.d.ts +1 -0
- package/lib/components/eftposPay/aggregatePayment/service.d.ts +24 -0
- package/lib/components/eftposPay/aggregatePayment/utils/logs.d.ts +110 -0
- package/lib/components/eftposPay/amount.d.ts +2 -1
- 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/component/step/index.d.ts +1 -0
- package/lib/components/eftposPay/device.d.ts +1 -1
- package/lib/components/eftposPay/hooks.d.ts +1 -1
- package/lib/components/eftposPay/index.d.ts +1 -0
- package/lib/components/eftposPay/linkly/index.d.ts +1 -0
- package/lib/components/eftposPay/pay.d.ts +1 -0
- package/lib/components/eftposPay/payo/config.d.ts +1 -0
- package/lib/components/eftposPay/store/index.d.ts +5 -5
- package/lib/components/eftposPay/tip.d.ts +1 -0
- package/lib/components/eftposPay/windcave/receiptAction.d.ts +1 -0
- package/lib/components/eftposPay/windcave/windcave.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
- package/lib/components/eventBooking/index.d.ts +1 -0
- package/lib/components/kioskSkuDetail/locales.d.ts +27 -0
- package/lib/components/list/hooks/useListState.d.ts +45 -0
- package/lib/components/list/types.d.ts +178 -0
- package/lib/components/list/utils/index.d.ts +19 -0
- package/lib/components/login/index.d.ts +1 -0
- package/lib/components/pay/toB/components/Cache/index.d.ts +0 -1
- 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/PaymentList/index.d.ts +19 -0
- package/lib/components/pay/toC/PaymentList/serve.d.ts +28 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
- package/lib/components/pay/toC/locales.d.ts +307 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
- package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
- package/lib/components/productExtension/index.d.ts +1 -0
- package/lib/components/productSelect/components/productGroup/index.d.ts +1 -0
- package/lib/components/ruleSetting/index.d.ts +1 -0
- package/lib/components/ruleSetting/ruleBorder/index.d.ts +1 -0
- package/lib/components/schedules/calendar/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/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
- package/lib/components/schedules/products/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/index.d.ts +1 -0
- package/lib/components/systemSettings/registry/components/SectionList.d.ts +4 -0
- package/lib/components/taxSelect/index.d.ts +1 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +115 -0
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
- package/lib/components/ticketBooking/components/bookingDataPanel/index.js +3 -2
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +14 -0
- package/lib/components/ticketBooking/index.d.ts +1 -0
- package/lib/components/ticketBooking/locales.d.ts +201 -0
- package/lib/components/ticketBooking/utils/index.d.ts +1 -1
- package/lib/hooks/printer.d.ts +4 -0
- package/lib/hooks/useEngineContext.d.ts +4 -0
- package/lib/hooks/usePaymentLogger.d.ts +1 -0
- 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/index.d.ts +18 -0
- package/lib/plus/clinetSearch/locales.d.ts +108 -0
- package/lib/plus/clinetSearch/types.d.ts +70 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +1 -1
- 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/Resource/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +1 -1
- package/lib/plus/saasCreateOrganization/components/Header.d.ts +1 -0
- package/lib/plus/saasCreateOrganization/index.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/skuOptionsSelection/components/TitleExtra/index.d.ts +1 -0
- package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +4 -0
- package/lib/plus/skuOptionsSelection/locales.d.ts +33 -0
- package/lib/plus/walletEditor/components/relationProduct/index.d.ts +1 -0
- package/lib/pro/Login2.0/components/LoginCodeInput.d.ts +27 -0
- package/lib/pro/Login2.0/steps/CodeInput.d.ts +24 -0
- package/lib/pro/comprehensiveSearch/components/searchSection/locales.d.ts +15 -0
- package/lib/pro/pisellPaymentList/example.d.ts +1 -0
- package/lib/pro/priceKeyboard/components/cashKeyboard/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
export interface LogEntry {
|
|
2
|
+
/** 日志标题 */
|
|
3
|
+
title: string;
|
|
4
|
+
/** 日志内容 */
|
|
5
|
+
content?: any;
|
|
6
|
+
/** 支付时间(精确到毫秒) */
|
|
7
|
+
time: string;
|
|
8
|
+
}
|
|
9
|
+
interface PaymentLogRecord {
|
|
10
|
+
/** 交易记录号 */
|
|
11
|
+
number: string;
|
|
12
|
+
/** 订单ID */
|
|
13
|
+
orderId?: string | number;
|
|
14
|
+
/** 设备ID */
|
|
15
|
+
deviceId?: string | number;
|
|
16
|
+
/** 支付类型 */
|
|
17
|
+
paymentCode?: string;
|
|
18
|
+
/** 创建时间 */
|
|
19
|
+
createdAt: string;
|
|
20
|
+
/** 日志条目列表 */
|
|
21
|
+
logs: LogEntry[];
|
|
22
|
+
}
|
|
23
|
+
declare class PaymentLogInstance {
|
|
24
|
+
private static instance;
|
|
25
|
+
/** 当前交易记录号 */
|
|
26
|
+
private currentNumber;
|
|
27
|
+
/** 当前日志记录 */
|
|
28
|
+
private currentRecord;
|
|
29
|
+
private constructor();
|
|
30
|
+
/**
|
|
31
|
+
* 获取单例实例
|
|
32
|
+
*/
|
|
33
|
+
static getInstance(): PaymentLogInstance;
|
|
34
|
+
/**
|
|
35
|
+
* 初始化支付日志
|
|
36
|
+
* @param number 交易记录号
|
|
37
|
+
* @param options 初始化选项
|
|
38
|
+
*/
|
|
39
|
+
init(number: string, options?: {
|
|
40
|
+
orderId?: string | number;
|
|
41
|
+
deviceId?: string | number;
|
|
42
|
+
paymentCode?: string;
|
|
43
|
+
[key: string]: any;
|
|
44
|
+
}): void;
|
|
45
|
+
/**
|
|
46
|
+
* 添加日志条目
|
|
47
|
+
* @param title 日志标题
|
|
48
|
+
* @param content 日志内容
|
|
49
|
+
*/
|
|
50
|
+
addLog(params: {
|
|
51
|
+
title: string;
|
|
52
|
+
content?: any;
|
|
53
|
+
}): void;
|
|
54
|
+
/**
|
|
55
|
+
* 构建日志内容
|
|
56
|
+
* @param record 日志记录
|
|
57
|
+
* @returns 格式化的日志内容数组
|
|
58
|
+
*/
|
|
59
|
+
private buildLogContent;
|
|
60
|
+
/**
|
|
61
|
+
* 发送单条日志记录到飞书
|
|
62
|
+
* @param record 日志记录
|
|
63
|
+
* @param isRestore 是否是恢复上传
|
|
64
|
+
*/
|
|
65
|
+
private sendLogRecord;
|
|
66
|
+
/**
|
|
67
|
+
* 发送日志到飞书
|
|
68
|
+
* @param title 日志标题(可选,仅在需要自定义标题时使用)
|
|
69
|
+
*/
|
|
70
|
+
sendLogs(title?: string): void;
|
|
71
|
+
/**
|
|
72
|
+
* 清除当前日志
|
|
73
|
+
* @param shouldSend 清除前是否发送到飞书,默认为 true
|
|
74
|
+
*/
|
|
75
|
+
clearLogs(shouldSend?: boolean): void;
|
|
76
|
+
/**
|
|
77
|
+
* 检查并上传旧日志
|
|
78
|
+
*/
|
|
79
|
+
private checkAndUploadOldLogs;
|
|
80
|
+
/**
|
|
81
|
+
* 获取所有支付日志对象
|
|
82
|
+
*/
|
|
83
|
+
private getAllLogsObject;
|
|
84
|
+
/**
|
|
85
|
+
* 保存所有支付日志对象
|
|
86
|
+
*/
|
|
87
|
+
private saveAllLogsObject;
|
|
88
|
+
/**
|
|
89
|
+
* 保存到 localStorage
|
|
90
|
+
*/
|
|
91
|
+
private saveToLocalStorage;
|
|
92
|
+
/**
|
|
93
|
+
* 从 localStorage 中删除
|
|
94
|
+
*/
|
|
95
|
+
private removeFromLocalStorage;
|
|
96
|
+
/**
|
|
97
|
+
* 获取所有旧日志
|
|
98
|
+
*/
|
|
99
|
+
private getOldLogsFromLocalStorage;
|
|
100
|
+
/**
|
|
101
|
+
* 获取当前日志记录(用于调试)
|
|
102
|
+
*/
|
|
103
|
+
getCurrentRecord(): PaymentLogRecord | null;
|
|
104
|
+
/**
|
|
105
|
+
* 获取当前交易号(用于调试)
|
|
106
|
+
*/
|
|
107
|
+
getCurrentNumber(): string | null;
|
|
108
|
+
}
|
|
109
|
+
declare const paymentLog: PaymentLogInstance;
|
|
110
|
+
export default paymentLog;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { PosProps } from './const';
|
|
2
3
|
/**
|
|
3
4
|
* @title: 支付金额信息配置页
|
|
@@ -8,7 +9,7 @@ import { PosProps } from './const';
|
|
|
8
9
|
*/
|
|
9
10
|
declare const _default: ({ className, onChange, onClose, formatAmount, isMobile, net, client }: {
|
|
10
11
|
className?: string | undefined;
|
|
11
|
-
onChange?: ((status: "
|
|
12
|
+
onChange?: ((status: "page" | "success" | "print" | "fail" | "mark_tx_processed", params?: string | {
|
|
12
13
|
[keys: string]: unknown;
|
|
13
14
|
} | undefined, other?: any) => void) | undefined;
|
|
14
15
|
onClose: () => void;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { PosProps, RouteType } from './const';
|
|
2
3
|
declare const App: ({ action, api, device_number, terminal, tyroUrl, tyroVersion, onChangeParams, isMobile, channel, formatAmount, ...props }: Omit<PosProps, "type" | "mode" | "getApi"> & {
|
|
3
4
|
action: RouteType;
|
|
@@ -11,7 +11,7 @@ import './device.less';
|
|
|
11
11
|
declare const _default: ({ api, onChange, onClose, className, device_number, isMobile, net, client, formatAmount, containerStyle, }: {
|
|
12
12
|
api: PayProps['api'];
|
|
13
13
|
className?: string | undefined;
|
|
14
|
-
onChange?: ((status: "
|
|
14
|
+
onChange?: ((status: "page" | "success" | "print" | "fail" | "mark_tx_processed", params?: string | {
|
|
15
15
|
[keys: string]: unknown;
|
|
16
16
|
} | undefined, other?: any) => void) | undefined;
|
|
17
17
|
onClose: () => void;
|
|
@@ -15,7 +15,7 @@ export declare const useStoreRef: <T extends {
|
|
|
15
15
|
readonly numRef: React.MutableRefObject<string | number | undefined>;
|
|
16
16
|
readonly orderIdRef: React.MutableRefObject<string | number>;
|
|
17
17
|
readonly modeRef: React.MutableRefObject<ModeEnum>;
|
|
18
|
-
readonly statusRef: React.MutableRefObject<"loading" | "
|
|
18
|
+
readonly statusRef: React.MutableRefObject<"loading" | "warn" | "success" | "init" | "fail" | "pedding" | "resove" | "reject" | "question">;
|
|
19
19
|
readonly netRef: React.MutableRefObject<boolean | undefined>;
|
|
20
20
|
readonly symbolRef: React.MutableRefObject<string>;
|
|
21
21
|
readonly amountRef: React.MutableRefObject<string | number>;
|
|
@@ -178,7 +178,7 @@ export declare const updateCustom: (payload: {
|
|
|
178
178
|
export declare const updateStatus: (status: 'loading' | 'warn' | 'fail' | 'success' | 'question') => {
|
|
179
179
|
type: EActionTypes;
|
|
180
180
|
payload: {
|
|
181
|
-
status: "loading" | "
|
|
181
|
+
status: "loading" | "warn" | "success" | "fail" | "question";
|
|
182
182
|
};
|
|
183
183
|
};
|
|
184
184
|
/**
|
|
@@ -299,20 +299,20 @@ export declare const backUpFree: (payload: Partial<State>) => {
|
|
|
299
299
|
name?: string | undefined;
|
|
300
300
|
symbol?: string | undefined;
|
|
301
301
|
amount?: string | number | undefined;
|
|
302
|
-
mode?: "refund" | "
|
|
302
|
+
mode?: "refund" | "fullPay" | "pay" | "query" | undefined;
|
|
303
303
|
order_id?: string | number | undefined;
|
|
304
304
|
eftpos?: "payo" | "tyro" | "windcave" | "stripe" | "linkly" | "huifu" | undefined;
|
|
305
|
-
action?: "amount" | "
|
|
305
|
+
action?: "amount" | "deviceList" | "pay" | undefined;
|
|
306
306
|
key?: number | undefined;
|
|
307
307
|
step?: number | undefined;
|
|
308
308
|
title?: string | undefined;
|
|
309
309
|
subTitle?: string | undefined;
|
|
310
|
-
type?: "
|
|
310
|
+
type?: "step" | "unset" | undefined;
|
|
311
311
|
render?: boolean | undefined;
|
|
312
312
|
net?: boolean | undefined;
|
|
313
313
|
component?: string | undefined;
|
|
314
314
|
form?: string | undefined;
|
|
315
|
-
status?: "loading" | "
|
|
315
|
+
status?: "loading" | "warn" | "success" | "init" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
|
|
316
316
|
warn?: string | undefined;
|
|
317
317
|
steps?: {
|
|
318
318
|
/** 用于重置当前步骤 */
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.text.kiosk.sku.detail.btn.back': string;
|
|
4
|
+
'pisell2.text.kiosk.sku.detail.item.total': string;
|
|
5
|
+
'pisell2.text.kiosk.sku.detail.btn.add.to.cart': string;
|
|
6
|
+
'pisell2.text.kiosk.sku.detail.btn.update': string;
|
|
7
|
+
'pisell2.text.kiosk.sku.detail.loading.options': string;
|
|
8
|
+
'pisell2.text.kiosk.sku.detail.toast.select.variant': string;
|
|
9
|
+
};
|
|
10
|
+
'zh-CN': {
|
|
11
|
+
'pisell2.text.kiosk.sku.detail.btn.back': string;
|
|
12
|
+
'pisell2.text.kiosk.sku.detail.item.total': string;
|
|
13
|
+
'pisell2.text.kiosk.sku.detail.btn.add.to.cart': string;
|
|
14
|
+
'pisell2.text.kiosk.sku.detail.btn.update': string;
|
|
15
|
+
'pisell2.text.kiosk.sku.detail.loading.options': string;
|
|
16
|
+
'pisell2.text.kiosk.sku.detail.toast.select.variant': string;
|
|
17
|
+
};
|
|
18
|
+
'zh-TW': {
|
|
19
|
+
'pisell2.text.kiosk.sku.detail.btn.back': string;
|
|
20
|
+
'pisell2.text.kiosk.sku.detail.item.total': string;
|
|
21
|
+
'pisell2.text.kiosk.sku.detail.btn.add.to.cart': string;
|
|
22
|
+
'pisell2.text.kiosk.sku.detail.btn.update': string;
|
|
23
|
+
'pisell2.text.kiosk.sku.detail.loading.options': string;
|
|
24
|
+
'pisell2.text.kiosk.sku.detail.toast.select.variant': string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export default _default;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { TabItem, LoadDataParams } from '../types';
|
|
2
|
+
export interface ListState {
|
|
3
|
+
activeTab: string;
|
|
4
|
+
currentPage: number;
|
|
5
|
+
isStickyActive: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare type ListAction = {
|
|
8
|
+
type: 'SET_ACTIVE_TAB';
|
|
9
|
+
payload: string[] | string;
|
|
10
|
+
} | {
|
|
11
|
+
type: 'SET_CURRENT_PAGE';
|
|
12
|
+
payload: number;
|
|
13
|
+
} | {
|
|
14
|
+
type: 'SET_STICKY_ACTIVE';
|
|
15
|
+
payload: boolean;
|
|
16
|
+
} | {
|
|
17
|
+
type: 'RESET_PAGE';
|
|
18
|
+
};
|
|
19
|
+
export interface UseListStateProps {
|
|
20
|
+
/** 外部传入的当前页码 */
|
|
21
|
+
externalCurrentPage?: number;
|
|
22
|
+
/** tab数据 */
|
|
23
|
+
tabItems: TabItem[];
|
|
24
|
+
/** 默认页面大小 */
|
|
25
|
+
defaultPageSize: number;
|
|
26
|
+
/** 数据加载回调 */
|
|
27
|
+
onLoadData?: (params: LoadDataParams) => void;
|
|
28
|
+
/** tab样式 */
|
|
29
|
+
tabStyle: 'anchor' | 'switch' | 'none';
|
|
30
|
+
}
|
|
31
|
+
export interface UseListStateReturn {
|
|
32
|
+
state: ListState;
|
|
33
|
+
setActiveTab: (tab: string) => void;
|
|
34
|
+
setCurrentPage: (page: number) => void;
|
|
35
|
+
setStickyActive: (active: boolean) => void;
|
|
36
|
+
resetPage: () => void;
|
|
37
|
+
handleTabChange: (key: string[] | string) => void;
|
|
38
|
+
handlePageChange: (page: number, size?: number) => void;
|
|
39
|
+
handleShowSizeChange: (current: number, size: number) => void;
|
|
40
|
+
handleLoadMore: () => void;
|
|
41
|
+
handleViewLess: () => void;
|
|
42
|
+
handleScrollLoad: () => void;
|
|
43
|
+
actualCurrentPage: number;
|
|
44
|
+
}
|
|
45
|
+
export declare const useListState: ({ externalCurrentPage, tabItems, defaultPageSize, onLoadData, tabStyle, }: UseListStateProps) => UseListStateReturn;
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import { ReactNode, CSSProperties } from 'react';
|
|
2
|
+
/** 设备类型 */
|
|
3
|
+
export declare type DeviceType = 'pc' | 'pad' | 'mobile';
|
|
4
|
+
/** 设备信息 */
|
|
5
|
+
export interface DeviceInfo {
|
|
6
|
+
type: DeviceType;
|
|
7
|
+
isMobile: boolean;
|
|
8
|
+
isPad: boolean;
|
|
9
|
+
isPc: boolean;
|
|
10
|
+
width: number;
|
|
11
|
+
height: number;
|
|
12
|
+
}
|
|
13
|
+
/** 响应式配置接口 */
|
|
14
|
+
export interface ResponsiveConfig {
|
|
15
|
+
/** PC端特定配置 */
|
|
16
|
+
pc?: Partial<ListProps>;
|
|
17
|
+
/** 平板端特定配置 */
|
|
18
|
+
pad?: Partial<ListProps>;
|
|
19
|
+
/** 移动端特定配置 */
|
|
20
|
+
mobile?: Partial<ListProps>;
|
|
21
|
+
}
|
|
22
|
+
/** 响应式Props接口 - 继承ListProps并添加responsive属性 */
|
|
23
|
+
export interface ResponsiveProps extends ListProps {
|
|
24
|
+
/** 响应式配置 */
|
|
25
|
+
responsive?: ResponsiveConfig;
|
|
26
|
+
}
|
|
27
|
+
/** ResponsiveWrapper 组件属性 */
|
|
28
|
+
export interface ResponsiveWrapperProps extends ResponsiveProps {
|
|
29
|
+
/** 子元素 */
|
|
30
|
+
children?: ReactNode;
|
|
31
|
+
}
|
|
32
|
+
/** 基础列表项接口 */
|
|
33
|
+
export interface BaseListItem {
|
|
34
|
+
/** 唯一标识 */
|
|
35
|
+
id: string | number;
|
|
36
|
+
/** 预设高度(瀑布流模式) */
|
|
37
|
+
height?: number;
|
|
38
|
+
/** 预设宽度(瀑布流模式) */
|
|
39
|
+
width?: number;
|
|
40
|
+
/** 其他任意属性,可以包含用于分组的字段 */
|
|
41
|
+
[key: string]: any;
|
|
42
|
+
}
|
|
43
|
+
/** 空状态配置接口 */
|
|
44
|
+
export interface EmptyStateConfig {
|
|
45
|
+
/** 是否显示空状态 */
|
|
46
|
+
show?: boolean;
|
|
47
|
+
/** 空状态文本 */
|
|
48
|
+
text?: string;
|
|
49
|
+
/** 空状态图标 */
|
|
50
|
+
icon?: ReactNode;
|
|
51
|
+
/** 空状态描述 */
|
|
52
|
+
description?: string;
|
|
53
|
+
}
|
|
54
|
+
/** 分页信息接口 */
|
|
55
|
+
export interface PaginationInfo {
|
|
56
|
+
/** 当前页数 */
|
|
57
|
+
current?: number;
|
|
58
|
+
/** 总页数 */
|
|
59
|
+
total?: number;
|
|
60
|
+
/** 总数据条数 */
|
|
61
|
+
totalCount?: number;
|
|
62
|
+
}
|
|
63
|
+
/** 布局配置接口 */
|
|
64
|
+
export interface LayoutConfig {
|
|
65
|
+
/** 显示样式 */
|
|
66
|
+
displayStyle?: 'grid' | 'waterfall';
|
|
67
|
+
/** 排版方式 */
|
|
68
|
+
layoutDirection?: 'horizontal' | 'vertical';
|
|
69
|
+
/** 列数 */
|
|
70
|
+
columns?: number;
|
|
71
|
+
/** 行数 */
|
|
72
|
+
rows?: number;
|
|
73
|
+
/** 列间距 */
|
|
74
|
+
columnGap?: number;
|
|
75
|
+
/** 行间距 */
|
|
76
|
+
rowGap?: number;
|
|
77
|
+
/** 缩放倍率 */
|
|
78
|
+
zoom?: number;
|
|
79
|
+
}
|
|
80
|
+
/** Tab配置接口 */
|
|
81
|
+
export interface TabConfig {
|
|
82
|
+
/** tab样式 */
|
|
83
|
+
tabStyle?: 'anchor' | 'switch' | 'none';
|
|
84
|
+
/** 指定用于分组的数据字段名,例如 'category'、'type' 等 */
|
|
85
|
+
tabGroup?: string;
|
|
86
|
+
/** Tab数据源 */
|
|
87
|
+
tabData?: TabItem[];
|
|
88
|
+
/** 顶部固定 */
|
|
89
|
+
stickyTop?: boolean;
|
|
90
|
+
}
|
|
91
|
+
/** 分页配置接口 */
|
|
92
|
+
export interface PaginationConfig {
|
|
93
|
+
/** 分页方式 */
|
|
94
|
+
paginationType?: 'all' | 'scroll' | 'pager' | 'more';
|
|
95
|
+
/** 默认显示个数 */
|
|
96
|
+
defaultPageSize?: number;
|
|
97
|
+
/** 每次加载个数 */
|
|
98
|
+
pageSize?: number;
|
|
99
|
+
/** 分页信息 */
|
|
100
|
+
pagination?: PaginationInfo;
|
|
101
|
+
}
|
|
102
|
+
/** 泛型List组件Props接口 */
|
|
103
|
+
export interface ListProps<TItem extends BaseListItem = BaseListItem> {
|
|
104
|
+
/** 基础属性 */
|
|
105
|
+
className?: string;
|
|
106
|
+
style?: CSSProperties;
|
|
107
|
+
width?: string | number;
|
|
108
|
+
height?: string | number;
|
|
109
|
+
/** 布局配置 */
|
|
110
|
+
displayStyle?: LayoutConfig['displayStyle'];
|
|
111
|
+
layoutDirection?: LayoutConfig['layoutDirection'];
|
|
112
|
+
columns?: LayoutConfig['columns'];
|
|
113
|
+
rows?: LayoutConfig['rows'];
|
|
114
|
+
columnGap?: LayoutConfig['columnGap'];
|
|
115
|
+
rowGap?: LayoutConfig['rowGap'];
|
|
116
|
+
zoom?: LayoutConfig['zoom'];
|
|
117
|
+
/** Tab配置 */
|
|
118
|
+
tabStyle?: TabConfig['tabStyle'];
|
|
119
|
+
tabGroup?: TabConfig['tabGroup'];
|
|
120
|
+
tabData?: TabConfig['tabData'];
|
|
121
|
+
stickyTop?: TabConfig['stickyTop'];
|
|
122
|
+
/** 分页配置 */
|
|
123
|
+
paginationType?: PaginationConfig['paginationType'];
|
|
124
|
+
defaultPageSize?: PaginationConfig['defaultPageSize'];
|
|
125
|
+
pageSize?: PaginationConfig['pageSize'];
|
|
126
|
+
pagination?: PaginationConfig['pagination'];
|
|
127
|
+
/** 数据和渲染 */
|
|
128
|
+
data?: TItem[];
|
|
129
|
+
children?: ReactNode;
|
|
130
|
+
renderItem?: (item: TItem, index: number) => ReactNode;
|
|
131
|
+
/** 回调函数 */
|
|
132
|
+
onLoadData?: (params: LoadDataParams) => void;
|
|
133
|
+
/** 状态配置 */
|
|
134
|
+
emptyConfig?: EmptyStateConfig;
|
|
135
|
+
loading?: boolean;
|
|
136
|
+
renderSearch?: () => ReactNode;
|
|
137
|
+
}
|
|
138
|
+
/** 向后兼容的非泛型版本 */
|
|
139
|
+
export interface LegacyListProps extends ListProps<any> {
|
|
140
|
+
/** 兼容旧的any[]类型 */
|
|
141
|
+
data?: any[];
|
|
142
|
+
renderItem?: (item: any, index: number) => ReactNode;
|
|
143
|
+
}
|
|
144
|
+
export interface TabItem {
|
|
145
|
+
/** 唯一标识,同时用作anchor模式下的锚点标识 */
|
|
146
|
+
key: string;
|
|
147
|
+
/** 显示文本 */
|
|
148
|
+
label: string;
|
|
149
|
+
/** 分组值,对应数据项中 tabGroup 指定字段的值 */
|
|
150
|
+
group?: string;
|
|
151
|
+
/** 是否禁用 */
|
|
152
|
+
disabled?: boolean;
|
|
153
|
+
}
|
|
154
|
+
export interface LoadMoreParams {
|
|
155
|
+
/** 当前页码 */
|
|
156
|
+
currentPage: number;
|
|
157
|
+
/** 每页数量 */
|
|
158
|
+
pageSize: number;
|
|
159
|
+
/** 当前tab */
|
|
160
|
+
activeTab?: string;
|
|
161
|
+
}
|
|
162
|
+
/** 数据加载触发类型 */
|
|
163
|
+
export declare type LoadDataTrigger = 'tabChange' | 'pagination' | 'pageSize' | 'loadMore' | 'scroll';
|
|
164
|
+
/** 统一的数据加载参数 */
|
|
165
|
+
export interface LoadDataParams {
|
|
166
|
+
/** 触发类型 */
|
|
167
|
+
trigger: LoadDataTrigger;
|
|
168
|
+
/** 当前页码 */
|
|
169
|
+
currentPage: number;
|
|
170
|
+
/** 每页数量 */
|
|
171
|
+
pageSize: number;
|
|
172
|
+
/** 当前激活的tab */
|
|
173
|
+
activeTab?: string;
|
|
174
|
+
/** 上一页页码(分页变化时提供) */
|
|
175
|
+
previousPage?: number;
|
|
176
|
+
/** 上一页大小(页大小变化时提供) */
|
|
177
|
+
previousPageSize?: number;
|
|
178
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* List 组件工具函数导出
|
|
3
|
+
*/
|
|
4
|
+
export { useGetText, createGetText, default as createGetTextDefault, type SupportedLanguage, type LocalesObject, type GetTextFunctions, } from './getText';
|
|
5
|
+
/**
|
|
6
|
+
* 根据层级路径数组递归查找对应节点的 productIds
|
|
7
|
+
* @param nodes 当前层级的节点列表
|
|
8
|
+
* @param levelPath 层级路径数组,每个元素是对应层级的分类 ID
|
|
9
|
+
* @param currentLevel 当前遍历的层级索引
|
|
10
|
+
* @returns 找到的节点的 productIds,找不到返回空数组
|
|
11
|
+
*
|
|
12
|
+
* @description
|
|
13
|
+
* 特殊逻辑:如果 levelPath 末尾有连续的 0,则去掉所有末尾的 0
|
|
14
|
+
* 例如:
|
|
15
|
+
* - [1, 2, 0] -> 取 id=2 节点的 productIds
|
|
16
|
+
* - [1, 0, 0] -> 取 id=1 节点的 productIds
|
|
17
|
+
* - [3, 0, 0, 0] -> 取 id=3 节点的 productIds
|
|
18
|
+
*/
|
|
19
|
+
export declare const findProductIdsByPath: (nodes: any[], levelPath: (string | number)[], currentLevel?: number) => number[];
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
export declare type OnChangeTypeKey = 'paymentType' | 'paymentListInit';
|
|
4
|
+
export interface PaymentListProps {
|
|
5
|
+
store?: {
|
|
6
|
+
paymentList?: any[];
|
|
7
|
+
paymentType?: string;
|
|
8
|
+
};
|
|
9
|
+
handlePayment: (res: any) => void;
|
|
10
|
+
paymentTypeChange: (res: any) => void;
|
|
11
|
+
hide?: boolean;
|
|
12
|
+
renderTitle?: () => React.ReactNode;
|
|
13
|
+
}
|
|
14
|
+
export interface PaymentListRef {
|
|
15
|
+
init: (props: any, amount?: number) => {};
|
|
16
|
+
calculateSurcharge: (amount: number) => any;
|
|
17
|
+
}
|
|
18
|
+
declare const _default: React.ForwardRefExoticComponent<PaymentListProps & React.RefAttributes<unknown>>;
|
|
19
|
+
export default _default;
|