@pisell/private-materials 6.7.5 → 6.7.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +5 -5
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +9 -9
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +9 -9
- package/es/businessModel/SalesModel/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Cart/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Content/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Footer/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Header/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Voucher/index.d.ts +1 -0
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +1 -0
- package/es/components/appointmentBooking/deposit/index.d.ts +1 -0
- package/es/components/appointmentBooking/index.d.ts +1 -0
- package/es/components/booking/addons/index.js +1 -1
- package/es/components/booking/components/footer/amount.d.ts +37 -0
- package/es/components/booking/components/footer/amount.js +48 -34
- package/es/components/booking/components/footer/index.d.ts +1 -0
- package/es/components/booking/components/footer/utils.js +38 -38
- package/es/components/booking/components/voucher/index.d.ts +1 -0
- package/es/components/booking/components/voucher/index.js +3 -1
- package/es/components/booking/deposit/index.d.ts +1 -0
- package/es/components/booking/forms/footer.d.ts +1 -0
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
- package/es/components/booking/hooks/useClearCart.d.ts +1 -0
- package/es/components/booking/hooks/useQuotation.d.ts +1 -0
- package/es/components/booking/hooks/useQuotation.js +4 -1
- package/es/components/booking/info/addServiceVariant/index.d.ts +1 -0
- package/es/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
- package/es/components/booking/info/dateRange/index.d.ts +1 -0
- package/es/components/booking/info/header/index.d.ts +1 -0
- package/es/components/booking/info/index.d.ts +1 -0
- package/es/components/booking/info/service/Lists.d.ts +1 -0
- package/es/components/booking/info/service/addService/index.d.ts +1 -0
- package/es/components/booking/info/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
- package/es/components/booking/info/service/serviceItem/index.d.ts +1 -0
- package/es/components/booking/info/service2/utils.d.ts +251 -0
- package/es/components/booking/info2/service/addService/index.d.ts +12 -0
- package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info2/service/editNormalService/index.js +6 -0
- package/es/components/booking/info2/service/editService/index.js +16 -6
- package/es/components/booking/info2/service/editService/utils.d.ts +15 -0
- package/es/components/booking/info2/service/editService/utils.js +66 -0
- package/es/components/booking/info2/service/serviceItem/index.d.ts +1 -0
- package/es/components/booking/utils.d.ts +174 -0
- package/es/components/checkout/components/CashPaymentModule/index.d.ts +26 -0
- package/es/components/checkout/components/PaymentOptionsModule/index.d.ts +16 -0
- package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +85 -0
- package/es/components/checkout/components/SearchAndClientModule/index.d.ts +1 -0
- package/es/components/checkout/components/WalletPassModule/components/ConflictModal/index.d.ts +1 -0
- package/es/components/checkout/components/WalletPassModule/components/DiscountWallet/index.d.ts +1 -0
- package/es/components/checkout/hooks/useWalletPass.d.ts +1 -1
- package/es/components/checkout/locales.d.ts +513 -0
- package/es/components/checkout/utils/PaymentResultToastUtils.d.ts +32 -0
- package/es/components/eftpos/surcharge/index.d.ts +1 -0
- package/es/components/eftposPay/amount.d.ts +1 -1
- package/es/components/eftposPay/device.d.ts +1 -1
- package/es/components/eftposPay/hooks.d.ts +2 -2
- package/es/components/eftposPay/index.d.ts +1 -0
- package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
- package/es/components/eftposPay/linkly/index.d.ts +1 -0
- package/es/components/eftposPay/payo/config.d.ts +13 -0
- package/es/components/eftposPay/payo/payment.d.ts +66 -0
- package/es/components/eftposPay/store/index.d.ts +4 -4
- package/es/components/eftposPay/tyro/index.d.ts +9 -0
- package/es/components/eftposPay/utils/log/index.d.ts +110 -0
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
- package/es/components/eventBooking/index.d.ts +1 -0
- package/es/components/index.d.ts +24 -0
- package/es/components/list/List.js +56 -40
- package/es/components/list/hooks/useListState.d.ts +5 -3
- package/es/components/list/hooks/useListState.js +17 -2
- package/es/components/list/styles/header.less +3 -3
- package/es/components/list/utils/index.d.ts +13 -1
- package/es/components/list/utils/index.js +43 -1
- package/es/components/pay/toB/components/Cache/index.d.ts +1 -0
- package/es/components/pay/toB/components/Card/index.d.ts +1 -0
- package/es/components/pay/toB/components/ConfirmedPayment/index.d.ts +1 -0
- package/es/components/pay/toB/components/Content/Footer.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +1 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +155 -0
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
- package/es/components/pay/toC/locales.d.ts +301 -0
- package/es/components/pay/toC/status.d.ts +13 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/index.d.ts +1 -0
- package/es/components/productExtension/index.d.ts +1 -0
- package/es/components/productSelect/components/TabProduct/index.d.ts +1 -0
- package/es/components/ruleSetting/index.d.ts +1 -0
- package/es/components/schedules/components/ScheduleList/RenderScheduleItem/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/shoppingCart/components/Cart/Product.d.ts +1 -0
- package/es/components/shoppingCart/components/Cart/index.d.ts +1 -0
- package/es/components/shoppingCart/hooks/useAddService.d.ts +1 -0
- package/es/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
- package/es/components/systemSettings/registry/components/ModuleList.d.ts +4 -0
- package/es/components/systemSettings/registry/components/SectionList.d.ts +4 -0
- package/es/components/systemSettings/registry/components/index.d.ts +4 -0
- package/es/components/systemSettings/registry/locales.d.ts +272 -0
- package/es/components/systemSettings/registry/services.d.ts +77 -0
- package/es/components/systemSettings/registry/types.d.ts +126 -0
- package/es/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
- package/es/components/systemSettings/registry/utils/validators.d.ts +8 -0
- package/es/components/taxSelect/index.d.ts +1 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.js +1 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +33 -2
- package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.js +139 -36
- package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +1 -0
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
- package/es/components/ticketBooking/components/menuBar/index.d.ts +1 -0
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +1 -0
- package/es/components/ticketBooking/components/timeBar/index.d.ts +1 -0
- package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +16 -0
- package/es/components/ticketBooking/index.d.ts +1 -0
- package/es/components/ticketBooking/locales.d.ts +198 -0
- package/es/components/ticketBooking/utils/index.d.ts +93 -0
- package/es/components/wallet/Detail/locales.d.ts +153 -0
- package/es/components/wallet/hooks/useWalletCard.d.ts +1 -0
- package/es/components/wallet/serve.d.ts +150 -0
- package/es/components/wallet/utils.d.ts +48 -0
- package/es/components/workSpaceList/components/Modal/index.d.ts +1 -0
- package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
- package/es/plus/clientCard/locales.d.ts +18 -0
- package/es/plus/clinetSearch/index.d.ts +17 -0
- package/es/plus/clinetSearch/locales.d.ts +105 -0
- package/es/plus/clinetSearch/types.d.ts +61 -0
- package/es/plus/contactInfoModal/ContactInfoContent.d.ts +1 -0
- package/es/plus/noteModal/AddTempModal.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +1 -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/CardMoreText/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Promotions/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/SubTitle/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +1 -0
- package/es/plus/saasCreateOrganization/index.d.ts +1 -0
- package/es/plus/saasRegister/components/VertifyEmail.d.ts +1 -0
- package/es/plus/walletPassGallery/components/passDetail/index.d.ts +1 -0
- package/es/plus/walletPassGallery/components/passList/index.d.ts +1 -0
- package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +1 -0
- package/es/plus/walletPassGallery/index.d.ts +1 -0
- package/es/plus/walletPassGallery/serve.d.ts +221 -0
- package/es/pro/comprehensiveSearch/components/searchSection/locales.d.ts +15 -0
- package/es/pro/comprehensiveSearch/locales.d.ts +15 -0
- package/es/pro/pisellPhoneKeyboard/index.d.ts +1 -0
- package/es/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.d.ts +1 -0
- package/es/pro/priceKeyboard/components/cashKeyboard/index.d.ts +13 -0
- package/es/pro/priceKeyboard/components/cashKeyboard/types.d.ts +98 -0
- package/es/pro/priceKeyboard/components/paymentKeyboard/index.d.ts +1 -0
- package/es/pro/priceKeyboard/components/shortcuts/index.d.ts +18 -0
- package/es/pro/priceKeyboard/hooks/rightItems.d.ts +1 -0
- package/lib/businessModel/SalesModel/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Cart/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Content/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Header/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Voucher/index.d.ts +1 -0
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +1 -0
- package/lib/components/appointmentBooking/deposit/index.d.ts +1 -0
- package/lib/components/appointmentBooking/index.d.ts +1 -0
- package/lib/components/booking/components/footer/amount.d.ts +37 -0
- package/lib/components/booking/components/footer/amount.js +29 -15
- package/lib/components/booking/components/footer/index.d.ts +1 -0
- package/lib/components/booking/components/footer/utils.js +8 -8
- package/lib/components/booking/components/voucher/index.d.ts +1 -0
- package/lib/components/booking/components/voucher/index.js +4 -2
- package/lib/components/booking/deposit/index.d.ts +1 -0
- package/lib/components/booking/forms/footer.d.ts +1 -0
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
- package/lib/components/booking/hooks/useClearCart.d.ts +1 -0
- package/lib/components/booking/hooks/useQuotation.d.ts +1 -0
- package/lib/components/booking/hooks/useQuotation.js +2 -1
- package/lib/components/booking/info/addServiceVariant/index.d.ts +1 -0
- package/lib/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
- package/lib/components/booking/info/dateRange/index.d.ts +1 -0
- package/lib/components/booking/info/header/index.d.ts +1 -0
- package/lib/components/booking/info/index.d.ts +1 -0
- package/lib/components/booking/info/service/Lists.d.ts +1 -0
- package/lib/components/booking/info/service/addService/index.d.ts +1 -0
- package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
- package/lib/components/booking/info/service/serviceItem/index.d.ts +1 -0
- package/lib/components/booking/info/service2/utils.d.ts +251 -0
- package/lib/components/booking/info2/service/addService/index.d.ts +12 -0
- package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/editNormalService/index.js +6 -0
- package/lib/components/booking/info2/service/editService/index.js +12 -3
- package/lib/components/booking/info2/service/editService/utils.d.ts +15 -0
- package/lib/components/booking/info2/service/editService/utils.js +40 -3
- package/lib/components/booking/info2/service/serviceItem/index.d.ts +1 -0
- package/lib/components/booking/utils.d.ts +174 -0
- package/lib/components/checkout/components/CashPaymentModule/index.d.ts +26 -0
- package/lib/components/checkout/components/PaymentOptionsModule/index.d.ts +16 -0
- package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +85 -0
- package/lib/components/checkout/components/SearchAndClientModule/index.d.ts +1 -0
- package/lib/components/checkout/components/WalletPassModule/components/ConflictModal/index.d.ts +1 -0
- package/lib/components/checkout/components/WalletPassModule/components/DiscountWallet/index.d.ts +1 -0
- package/lib/components/checkout/hooks/useWalletPass.d.ts +1 -1
- package/lib/components/checkout/locales.d.ts +513 -0
- package/lib/components/checkout/utils/PaymentResultToastUtils.d.ts +32 -0
- package/lib/components/eftpos/surcharge/index.d.ts +1 -0
- package/lib/components/eftposPay/amount.d.ts +1 -1
- package/lib/components/eftposPay/device.d.ts +1 -1
- package/lib/components/eftposPay/hooks.d.ts +2 -2
- package/lib/components/eftposPay/index.d.ts +1 -0
- package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
- package/lib/components/eftposPay/linkly/index.d.ts +1 -0
- package/lib/components/eftposPay/payo/config.d.ts +13 -0
- package/lib/components/eftposPay/payo/payment.d.ts +66 -0
- package/lib/components/eftposPay/store/index.d.ts +4 -4
- package/lib/components/eftposPay/tyro/index.d.ts +9 -0
- package/lib/components/eftposPay/utils/log/index.d.ts +110 -0
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
- package/lib/components/eventBooking/index.d.ts +1 -0
- package/lib/components/index.d.ts +24 -0
- package/lib/components/list/List.js +34 -16
- package/lib/components/list/hooks/useListState.d.ts +5 -3
- package/lib/components/list/hooks/useListState.js +14 -1
- package/lib/components/list/styles/header.less +3 -3
- package/lib/components/list/utils/index.d.ts +13 -1
- package/lib/components/list/utils/index.js +27 -0
- package/lib/components/pay/toB/components/Cache/index.d.ts +1 -0
- package/lib/components/pay/toB/components/Card/index.d.ts +1 -0
- package/lib/components/pay/toB/components/ConfirmedPayment/index.d.ts +1 -0
- package/lib/components/pay/toB/components/Content/Footer.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +1 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +155 -0
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
- package/lib/components/pay/toC/locales.d.ts +301 -0
- package/lib/components/pay/toC/status.d.ts +13 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/index.d.ts +1 -0
- package/lib/components/productExtension/index.d.ts +1 -0
- package/lib/components/productSelect/components/TabProduct/index.d.ts +1 -0
- package/lib/components/ruleSetting/index.d.ts +1 -0
- package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/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/shoppingCart/components/Cart/Product.d.ts +1 -0
- package/lib/components/shoppingCart/components/Cart/index.d.ts +1 -0
- package/lib/components/shoppingCart/hooks/useAddService.d.ts +1 -0
- package/lib/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
- package/lib/components/systemSettings/registry/components/ModuleList.d.ts +4 -0
- package/lib/components/systemSettings/registry/components/SectionList.d.ts +4 -0
- package/lib/components/systemSettings/registry/components/index.d.ts +4 -0
- package/lib/components/systemSettings/registry/locales.d.ts +272 -0
- package/lib/components/systemSettings/registry/services.d.ts +77 -0
- package/lib/components/systemSettings/registry/types.d.ts +126 -0
- package/lib/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
- package/lib/components/systemSettings/registry/utils/validators.d.ts +8 -0
- package/lib/components/taxSelect/index.d.ts +1 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.js +1 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +33 -2
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.js +84 -24
- package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +1 -0
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
- package/lib/components/ticketBooking/components/menuBar/index.d.ts +1 -0
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +1 -0
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +1 -0
- package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +16 -0
- package/lib/components/ticketBooking/index.d.ts +1 -0
- package/lib/components/ticketBooking/locales.d.ts +198 -0
- package/lib/components/ticketBooking/utils/index.d.ts +93 -0
- package/lib/components/wallet/Detail/locales.d.ts +153 -0
- package/lib/components/wallet/hooks/useWalletCard.d.ts +1 -0
- package/lib/components/wallet/serve.d.ts +150 -0
- package/lib/components/wallet/utils.d.ts +48 -0
- package/lib/components/workSpaceList/components/Modal/index.d.ts +1 -0
- package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
- package/lib/plus/clientCard/locales.d.ts +18 -0
- package/lib/plus/clinetSearch/index.d.ts +17 -0
- package/lib/plus/clinetSearch/locales.d.ts +105 -0
- package/lib/plus/clinetSearch/types.d.ts +61 -0
- package/lib/plus/contactInfoModal/ContactInfoContent.d.ts +1 -0
- package/lib/plus/noteModal/AddTempModal.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +1 -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/CardMoreText/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Promotions/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/SubTitle/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +1 -0
- package/lib/plus/saasCreateOrganization/index.d.ts +1 -0
- package/lib/plus/saasRegister/components/VertifyEmail.d.ts +1 -0
- package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +1 -0
- package/lib/plus/walletPassGallery/components/passList/index.d.ts +1 -0
- package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +1 -0
- package/lib/plus/walletPassGallery/index.d.ts +1 -0
- package/lib/plus/walletPassGallery/serve.d.ts +221 -0
- package/lib/pro/comprehensiveSearch/components/searchSection/locales.d.ts +15 -0
- package/lib/pro/comprehensiveSearch/locales.d.ts +15 -0
- package/lib/pro/pisellPhoneKeyboard/index.d.ts +1 -0
- package/lib/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.d.ts +1 -0
- package/lib/pro/priceKeyboard/components/cashKeyboard/index.d.ts +13 -0
- package/lib/pro/priceKeyboard/components/cashKeyboard/types.d.ts +98 -0
- package/lib/pro/priceKeyboard/components/paymentKeyboard/index.d.ts +1 -0
- package/lib/pro/priceKeyboard/components/shortcuts/index.d.ts +18 -0
- package/lib/pro/priceKeyboard/hooks/rightItems.d.ts +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'registry.title': string;
|
|
4
|
+
'registry.sections.title': string;
|
|
5
|
+
'registry.sections.empty': string;
|
|
6
|
+
'registry.sections.loadMore': string;
|
|
7
|
+
'registry.sections.noMore': string;
|
|
8
|
+
'registry.table.title': string;
|
|
9
|
+
'registry.table.name': string;
|
|
10
|
+
'registry.table.key': string;
|
|
11
|
+
'registry.table.type': string;
|
|
12
|
+
'registry.table.interface': string;
|
|
13
|
+
'registry.table.scopes': string;
|
|
14
|
+
'registry.table.default': string;
|
|
15
|
+
'registry.table.description': string;
|
|
16
|
+
'registry.table.actions': string;
|
|
17
|
+
'registry.level.group': string;
|
|
18
|
+
'registry.level.item': string;
|
|
19
|
+
'registry.action.add.group': string;
|
|
20
|
+
'registry.action.add.item': string;
|
|
21
|
+
'registry.action.edit': string;
|
|
22
|
+
'registry.action.delete': string;
|
|
23
|
+
'registry.action.expand': string;
|
|
24
|
+
'registry.action.collapse': string;
|
|
25
|
+
'registry.modal.add.group': string;
|
|
26
|
+
'registry.modal.edit.group': string;
|
|
27
|
+
'registry.modal.add.item': string;
|
|
28
|
+
'registry.modal.edit.item': string;
|
|
29
|
+
'registry.modal.delete.title': string;
|
|
30
|
+
'registry.modal.delete.group.content': string;
|
|
31
|
+
'registry.modal.delete.group.hasItems.title': string;
|
|
32
|
+
'registry.modal.delete.group.hasItems.content': string;
|
|
33
|
+
'registry.modal.delete.item.content': string;
|
|
34
|
+
'registry.form.title': string;
|
|
35
|
+
'registry.form.name': string;
|
|
36
|
+
'registry.form.name.placeholder': string;
|
|
37
|
+
'registry.form.code': string;
|
|
38
|
+
'registry.form.code.placeholder': string;
|
|
39
|
+
'registry.form.key': string;
|
|
40
|
+
'registry.form.key.placeholder': string;
|
|
41
|
+
'registry.form.fieldType': string;
|
|
42
|
+
'registry.form.fieldType.placeholder': string;
|
|
43
|
+
'registry.form.interfaceType': string;
|
|
44
|
+
'registry.form.interfaceType.placeholder': string;
|
|
45
|
+
'registry.form.scopes': string;
|
|
46
|
+
'registry.form.scopes.placeholder': string;
|
|
47
|
+
'registry.form.description': string;
|
|
48
|
+
'registry.form.description.placeholder': string;
|
|
49
|
+
'registry.form.systemDefaultValue': string;
|
|
50
|
+
'registry.form.systemDefaultValue.placeholder': string;
|
|
51
|
+
'registry.form.uiSchema': string;
|
|
52
|
+
'registry.form.uiSchema.placeholder': string;
|
|
53
|
+
'registry.button.ok': string;
|
|
54
|
+
'registry.button.cancel': string;
|
|
55
|
+
'registry.button.save': string;
|
|
56
|
+
'registry.message.save.success': string;
|
|
57
|
+
'registry.message.delete.success': string;
|
|
58
|
+
'registry.message.required': string;
|
|
59
|
+
'registry.message.code.exists': string;
|
|
60
|
+
'registry.message.key.exists': string;
|
|
61
|
+
'registry.message.code.pattern': string;
|
|
62
|
+
'registry.message.key.pattern': string;
|
|
63
|
+
'registry.message.code.format': string;
|
|
64
|
+
'registry.message.code.start': string;
|
|
65
|
+
'registry.message.code.end': string;
|
|
66
|
+
'registry.message.code.consecutive': string;
|
|
67
|
+
'registry.message.name.maxLength': string;
|
|
68
|
+
'registry.message.key.maxLength': string;
|
|
69
|
+
'registry.message.description.maxLength': string;
|
|
70
|
+
'registry.message.uiSchema.invalid': string;
|
|
71
|
+
'registry.message.select.section': string;
|
|
72
|
+
'registry.message.loading.groups': string;
|
|
73
|
+
'registry.message.no.settings': string;
|
|
74
|
+
'registry.message.load.failed': string;
|
|
75
|
+
'registry.message.create.group.error': string;
|
|
76
|
+
'registry.drag.drop.here': string;
|
|
77
|
+
'registry.empty.container.placeholder': string;
|
|
78
|
+
'registry.message.update.group.error': string;
|
|
79
|
+
'registry.message.delete.group.error': string;
|
|
80
|
+
'registry.message.create.item.error': string;
|
|
81
|
+
'registry.message.update.item.error': string;
|
|
82
|
+
'registry.message.delete.item.error': string;
|
|
83
|
+
'registry.message.reorder.success': string;
|
|
84
|
+
'registry.message.reorder.error': string;
|
|
85
|
+
'registry.message.move.success': string;
|
|
86
|
+
'registry.message.move.error': string;
|
|
87
|
+
'registry.scope.systemDefault': string;
|
|
88
|
+
'registry.scope.saasDefault': string;
|
|
89
|
+
'registry.scope.organization': string;
|
|
90
|
+
'registry.scope.business': string;
|
|
91
|
+
'registry.scope.channel': string;
|
|
92
|
+
'registry.scope.board': string;
|
|
93
|
+
};
|
|
94
|
+
'zh-CN': {
|
|
95
|
+
'registry.title': string;
|
|
96
|
+
'registry.sections.title': string;
|
|
97
|
+
'registry.sections.empty': string;
|
|
98
|
+
'registry.sections.loadMore': string;
|
|
99
|
+
'registry.sections.noMore': string;
|
|
100
|
+
'registry.table.title': string;
|
|
101
|
+
'registry.table.name': string;
|
|
102
|
+
'registry.table.key': string;
|
|
103
|
+
'registry.table.type': string;
|
|
104
|
+
'registry.table.interface': string;
|
|
105
|
+
'registry.table.scopes': string;
|
|
106
|
+
'registry.table.default': string;
|
|
107
|
+
'registry.table.description': string;
|
|
108
|
+
'registry.table.actions': string;
|
|
109
|
+
'registry.level.group': string;
|
|
110
|
+
'registry.level.item': string;
|
|
111
|
+
'registry.action.add.group': string;
|
|
112
|
+
'registry.action.add.item': string;
|
|
113
|
+
'registry.action.edit': string;
|
|
114
|
+
'registry.action.delete': string;
|
|
115
|
+
'registry.action.expand': string;
|
|
116
|
+
'registry.action.collapse': string;
|
|
117
|
+
'registry.modal.add.group': string;
|
|
118
|
+
'registry.modal.edit.group': string;
|
|
119
|
+
'registry.modal.add.item': string;
|
|
120
|
+
'registry.modal.edit.item': string;
|
|
121
|
+
'registry.modal.delete.title': string;
|
|
122
|
+
'registry.modal.delete.group.content': string;
|
|
123
|
+
'registry.modal.delete.group.hasItems.title': string;
|
|
124
|
+
'registry.modal.delete.group.hasItems.content': string;
|
|
125
|
+
'registry.modal.delete.item.content': string;
|
|
126
|
+
'registry.form.title': string;
|
|
127
|
+
'registry.form.name': string;
|
|
128
|
+
'registry.form.name.placeholder': string;
|
|
129
|
+
'registry.form.code': string;
|
|
130
|
+
'registry.form.code.placeholder': string;
|
|
131
|
+
'registry.form.key': string;
|
|
132
|
+
'registry.form.key.placeholder': string;
|
|
133
|
+
'registry.form.fieldType': string;
|
|
134
|
+
'registry.form.fieldType.placeholder': string;
|
|
135
|
+
'registry.form.interfaceType': string;
|
|
136
|
+
'registry.form.interfaceType.placeholder': string;
|
|
137
|
+
'registry.form.scopes': string;
|
|
138
|
+
'registry.form.scopes.placeholder': string;
|
|
139
|
+
'registry.form.description': string;
|
|
140
|
+
'registry.form.description.placeholder': string;
|
|
141
|
+
'registry.form.systemDefaultValue': string;
|
|
142
|
+
'registry.form.systemDefaultValue.placeholder': string;
|
|
143
|
+
'registry.form.uiSchema': string;
|
|
144
|
+
'registry.form.uiSchema.placeholder': string;
|
|
145
|
+
'registry.button.ok': string;
|
|
146
|
+
'registry.button.cancel': string;
|
|
147
|
+
'registry.button.save': string;
|
|
148
|
+
'registry.message.save.success': string;
|
|
149
|
+
'registry.message.delete.success': string;
|
|
150
|
+
'registry.message.required': string;
|
|
151
|
+
'registry.message.code.exists': string;
|
|
152
|
+
'registry.message.key.exists': string;
|
|
153
|
+
'registry.message.code.pattern': string;
|
|
154
|
+
'registry.message.key.pattern': string;
|
|
155
|
+
'registry.message.code.format': string;
|
|
156
|
+
'registry.message.code.start': string;
|
|
157
|
+
'registry.message.code.end': string;
|
|
158
|
+
'registry.message.code.consecutive': string;
|
|
159
|
+
'registry.message.name.maxLength': string;
|
|
160
|
+
'registry.message.key.maxLength': string;
|
|
161
|
+
'registry.message.description.maxLength': string;
|
|
162
|
+
'registry.message.uiSchema.invalid': string;
|
|
163
|
+
'registry.message.select.section': string;
|
|
164
|
+
'registry.message.loading.groups': string;
|
|
165
|
+
'registry.message.no.settings': string;
|
|
166
|
+
'registry.message.load.failed': string;
|
|
167
|
+
'registry.message.create.group.error': string;
|
|
168
|
+
'registry.message.update.group.error': string;
|
|
169
|
+
'registry.message.delete.group.error': string;
|
|
170
|
+
'registry.message.create.item.error': string;
|
|
171
|
+
'registry.message.update.item.error': string;
|
|
172
|
+
'registry.message.delete.item.error': string;
|
|
173
|
+
'registry.message.reorder.success': string;
|
|
174
|
+
'registry.message.reorder.error': string;
|
|
175
|
+
'registry.message.move.success': string;
|
|
176
|
+
'registry.message.move.error': string;
|
|
177
|
+
'registry.drag.drop.here': string;
|
|
178
|
+
'registry.empty.container.placeholder': string;
|
|
179
|
+
'registry.scope.systemDefault': string;
|
|
180
|
+
'registry.scope.saasDefault': string;
|
|
181
|
+
'registry.scope.organization': string;
|
|
182
|
+
'registry.scope.business': string;
|
|
183
|
+
'registry.scope.channel': string;
|
|
184
|
+
'registry.scope.board': string;
|
|
185
|
+
};
|
|
186
|
+
'zh-HK': {
|
|
187
|
+
'registry.title': string;
|
|
188
|
+
'registry.sections.title': string;
|
|
189
|
+
'registry.sections.empty': string;
|
|
190
|
+
'registry.sections.loadMore': string;
|
|
191
|
+
'registry.sections.noMore': string;
|
|
192
|
+
'registry.table.title': string;
|
|
193
|
+
'registry.table.name': string;
|
|
194
|
+
'registry.table.key': string;
|
|
195
|
+
'registry.table.scopes': string;
|
|
196
|
+
'registry.table.actions': string;
|
|
197
|
+
'registry.level.group': string;
|
|
198
|
+
'registry.level.item': string;
|
|
199
|
+
'registry.action.add.group': string;
|
|
200
|
+
'registry.action.add.item': string;
|
|
201
|
+
'registry.action.edit': string;
|
|
202
|
+
'registry.action.delete': string;
|
|
203
|
+
'registry.action.expand': string;
|
|
204
|
+
'registry.action.collapse': string;
|
|
205
|
+
'registry.modal.add.group': string;
|
|
206
|
+
'registry.modal.edit.group': string;
|
|
207
|
+
'registry.modal.add.item': string;
|
|
208
|
+
'registry.modal.edit.item': string;
|
|
209
|
+
'registry.modal.delete.title': string;
|
|
210
|
+
'registry.modal.delete.group.content': string;
|
|
211
|
+
'registry.modal.delete.group.hasItems.title': string;
|
|
212
|
+
'registry.modal.delete.group.hasItems.content': string;
|
|
213
|
+
'registry.modal.delete.item.content': string;
|
|
214
|
+
'registry.form.title': string;
|
|
215
|
+
'registry.form.name': string;
|
|
216
|
+
'registry.form.name.placeholder': string;
|
|
217
|
+
'registry.form.code': string;
|
|
218
|
+
'registry.form.code.placeholder': string;
|
|
219
|
+
'registry.form.key': string;
|
|
220
|
+
'registry.form.key.placeholder': string;
|
|
221
|
+
'registry.form.fieldType': string;
|
|
222
|
+
'registry.form.fieldType.placeholder': string;
|
|
223
|
+
'registry.form.interfaceType': string;
|
|
224
|
+
'registry.form.interfaceType.placeholder': string;
|
|
225
|
+
'registry.form.scopes': string;
|
|
226
|
+
'registry.form.scopes.placeholder': string;
|
|
227
|
+
'registry.form.description': string;
|
|
228
|
+
'registry.form.description.placeholder': string;
|
|
229
|
+
'registry.form.systemDefaultValue': string;
|
|
230
|
+
'registry.form.systemDefaultValue.placeholder': string;
|
|
231
|
+
'registry.form.uiSchema': string;
|
|
232
|
+
'registry.form.uiSchema.placeholder': string;
|
|
233
|
+
'registry.button.ok': string;
|
|
234
|
+
'registry.button.cancel': string;
|
|
235
|
+
'registry.button.save': string;
|
|
236
|
+
'registry.message.save.success': string;
|
|
237
|
+
'registry.message.delete.success': string;
|
|
238
|
+
'registry.message.required': string;
|
|
239
|
+
'registry.message.code.exists': string;
|
|
240
|
+
'registry.message.key.exists': string;
|
|
241
|
+
'registry.message.code.pattern': string;
|
|
242
|
+
'registry.message.key.pattern': string;
|
|
243
|
+
'registry.message.code.format': string;
|
|
244
|
+
'registry.message.code.start': string;
|
|
245
|
+
'registry.message.code.end': string;
|
|
246
|
+
'registry.message.code.consecutive': string;
|
|
247
|
+
'registry.message.name.maxLength': string;
|
|
248
|
+
'registry.message.key.maxLength': string;
|
|
249
|
+
'registry.message.description.maxLength': string;
|
|
250
|
+
'registry.message.select.section': string;
|
|
251
|
+
'registry.message.loading.groups': string;
|
|
252
|
+
'registry.message.no.settings': string;
|
|
253
|
+
'registry.message.load.failed': string;
|
|
254
|
+
'registry.message.create.group.error': string;
|
|
255
|
+
'registry.message.update.group.error': string;
|
|
256
|
+
'registry.message.delete.group.error': string;
|
|
257
|
+
'registry.message.create.item.error': string;
|
|
258
|
+
'registry.message.update.item.error': string;
|
|
259
|
+
'registry.message.delete.item.error': string;
|
|
260
|
+
'registry.message.reorder.success': string;
|
|
261
|
+
'registry.message.reorder.error': string;
|
|
262
|
+
'registry.message.move.success': string;
|
|
263
|
+
'registry.message.move.error': string;
|
|
264
|
+
'registry.scope.systemDefault': string;
|
|
265
|
+
'registry.scope.saasDefault': string;
|
|
266
|
+
'registry.scope.organization': string;
|
|
267
|
+
'registry.scope.business': string;
|
|
268
|
+
'registry.scope.channel': string;
|
|
269
|
+
'registry.scope.board': string;
|
|
270
|
+
};
|
|
271
|
+
};
|
|
272
|
+
export default _default;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { ApiResponse, MultiLanguageText, SettingGroup, Section, SettingItem } from './types';
|
|
2
|
+
export interface CreateGroupParams {
|
|
3
|
+
section_code: string;
|
|
4
|
+
code: string;
|
|
5
|
+
title: MultiLanguageText;
|
|
6
|
+
sort: number;
|
|
7
|
+
}
|
|
8
|
+
export interface UpdateGroupParams {
|
|
9
|
+
id: number;
|
|
10
|
+
code: string;
|
|
11
|
+
title: MultiLanguageText;
|
|
12
|
+
}
|
|
13
|
+
export interface DeleteGroupParams {
|
|
14
|
+
id: number;
|
|
15
|
+
}
|
|
16
|
+
export interface SortGroupParams {
|
|
17
|
+
section_code: string;
|
|
18
|
+
group_ids: number[];
|
|
19
|
+
}
|
|
20
|
+
export declare const createGroup: (request: any, params: CreateGroupParams) => Promise<ApiResponse<SettingGroup>>;
|
|
21
|
+
export declare const updateGroup: (request: any, params: UpdateGroupParams) => Promise<ApiResponse<SettingGroup>>;
|
|
22
|
+
export declare const deleteGroup: (request: any, params: DeleteGroupParams) => Promise<any>;
|
|
23
|
+
export declare const sortGroups: (request: any, params: SortGroupParams) => Promise<any>;
|
|
24
|
+
export declare const getSectionList: (request: any, params: {
|
|
25
|
+
page?: number;
|
|
26
|
+
pageSize?: number;
|
|
27
|
+
filter?: Record<string, any>;
|
|
28
|
+
}) => Promise<ApiResponse<Section>>;
|
|
29
|
+
export declare const getGroupList: (request: any, params: {
|
|
30
|
+
page?: number;
|
|
31
|
+
pageSize?: number;
|
|
32
|
+
filter?: Record<string, any>;
|
|
33
|
+
}) => Promise<ApiResponse<SettingGroup>>;
|
|
34
|
+
export interface CreateItemParams {
|
|
35
|
+
section_code: string;
|
|
36
|
+
group_id: number;
|
|
37
|
+
code: string;
|
|
38
|
+
title: MultiLanguageText;
|
|
39
|
+
description?: MultiLanguageText;
|
|
40
|
+
type: string;
|
|
41
|
+
interface?: string;
|
|
42
|
+
default?: string | null;
|
|
43
|
+
scopes?: string[];
|
|
44
|
+
schema?: any;
|
|
45
|
+
sort?: number;
|
|
46
|
+
}
|
|
47
|
+
export interface UpdateItemParams {
|
|
48
|
+
id: number;
|
|
49
|
+
section_code: string;
|
|
50
|
+
group_id: number;
|
|
51
|
+
code: string;
|
|
52
|
+
title: MultiLanguageText;
|
|
53
|
+
description?: MultiLanguageText;
|
|
54
|
+
type: string;
|
|
55
|
+
interface?: string;
|
|
56
|
+
default?: string | null;
|
|
57
|
+
scopes?: string[];
|
|
58
|
+
schema?: any;
|
|
59
|
+
sort?: number;
|
|
60
|
+
}
|
|
61
|
+
export interface DeleteItemParams {
|
|
62
|
+
id: number;
|
|
63
|
+
}
|
|
64
|
+
export interface SortItemParams {
|
|
65
|
+
id: number;
|
|
66
|
+
group_id: string;
|
|
67
|
+
item_ids: number[];
|
|
68
|
+
}
|
|
69
|
+
export declare const createItem: (request: any, params: CreateItemParams) => Promise<ApiResponse<SettingItem>>;
|
|
70
|
+
export declare const updateItem: (request: any, params: UpdateItemParams) => Promise<ApiResponse<SettingItem>>;
|
|
71
|
+
export declare const deleteItem: (request: any, params: DeleteItemParams) => Promise<any>;
|
|
72
|
+
export declare const sortItems: (request: any, params: SortItemParams) => Promise<any>;
|
|
73
|
+
export declare const getItemList: (request: any, params: {
|
|
74
|
+
page?: number;
|
|
75
|
+
pageSize?: number;
|
|
76
|
+
filter?: Record<string, any>;
|
|
77
|
+
}) => Promise<ApiResponse<SettingItem>>;
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
export interface MultiLanguageText {
|
|
3
|
+
en: string;
|
|
4
|
+
'zh-CN': string;
|
|
5
|
+
'zh-HK': string;
|
|
6
|
+
original: string;
|
|
7
|
+
}
|
|
8
|
+
export interface BaseItem {
|
|
9
|
+
id: number;
|
|
10
|
+
name: string | MultiLanguageText;
|
|
11
|
+
code: string;
|
|
12
|
+
order?: number;
|
|
13
|
+
}
|
|
14
|
+
export interface SettingItem extends BaseItem {
|
|
15
|
+
key?: string;
|
|
16
|
+
scopes?: string[];
|
|
17
|
+
groupId?: number;
|
|
18
|
+
group_id?: number;
|
|
19
|
+
fieldType?: string;
|
|
20
|
+
type?: string;
|
|
21
|
+
interfaceType?: string;
|
|
22
|
+
interface?: string;
|
|
23
|
+
description?: string | MultiLanguageText;
|
|
24
|
+
systemDefaultValue?: string;
|
|
25
|
+
default?: string;
|
|
26
|
+
uiSchema?: string;
|
|
27
|
+
schema?: any;
|
|
28
|
+
title?: string | MultiLanguageText;
|
|
29
|
+
sort: number;
|
|
30
|
+
created_at?: string | null;
|
|
31
|
+
updated_at?: string | null;
|
|
32
|
+
deleted_at?: string | null;
|
|
33
|
+
}
|
|
34
|
+
export interface SettingGroup extends BaseItem {
|
|
35
|
+
items: SettingItem[];
|
|
36
|
+
expanded?: boolean;
|
|
37
|
+
sort: number;
|
|
38
|
+
}
|
|
39
|
+
export interface Section extends BaseItem {
|
|
40
|
+
icon?: string;
|
|
41
|
+
description?: string | MultiLanguageText;
|
|
42
|
+
groups: SettingGroup[];
|
|
43
|
+
created_at?: string | null;
|
|
44
|
+
updated_at?: string | null;
|
|
45
|
+
deleted_at?: string | null;
|
|
46
|
+
}
|
|
47
|
+
export interface TreeNode {
|
|
48
|
+
key: string;
|
|
49
|
+
type: 'group' | 'item';
|
|
50
|
+
data: SettingGroup | SettingItem;
|
|
51
|
+
children?: TreeNode[];
|
|
52
|
+
parentKey?: string;
|
|
53
|
+
}
|
|
54
|
+
export declare type OperationType = 'add' | 'edit' | 'delete';
|
|
55
|
+
export interface DragItem {
|
|
56
|
+
id: number;
|
|
57
|
+
type: 'group' | 'item';
|
|
58
|
+
groupId?: number;
|
|
59
|
+
}
|
|
60
|
+
export interface RegistryProps {
|
|
61
|
+
className?: string;
|
|
62
|
+
style?: CSSProperties;
|
|
63
|
+
sections?: Section[];
|
|
64
|
+
selectedSectionId?: number;
|
|
65
|
+
onSectionSelect?: (sectionId: number) => void;
|
|
66
|
+
onDataChange?: (sections: Section[]) => void;
|
|
67
|
+
}
|
|
68
|
+
export interface SectionListProps {
|
|
69
|
+
sections: Section[];
|
|
70
|
+
selectedSectionId?: number;
|
|
71
|
+
onSectionSelect: (sectionId: number) => void;
|
|
72
|
+
loading?: boolean;
|
|
73
|
+
hasMore?: boolean;
|
|
74
|
+
onLoadMore?: () => void;
|
|
75
|
+
}
|
|
76
|
+
export interface SettingsTableProps {
|
|
77
|
+
section?: Section;
|
|
78
|
+
groupList?: SettingGroup[];
|
|
79
|
+
groupLoading?: boolean;
|
|
80
|
+
onDataChange?: (section: Section) => void;
|
|
81
|
+
onEditGroup?: (group: SettingGroup) => void;
|
|
82
|
+
onDeleteGroup?: (groupId: number) => void;
|
|
83
|
+
onAddItem?: (groupId: number) => void;
|
|
84
|
+
onEditItem?: (item: SettingItem) => void;
|
|
85
|
+
onDeleteItem?: (itemId: number) => void;
|
|
86
|
+
onGroupReorder?: (groupIds: number[]) => void;
|
|
87
|
+
onItemMove?: (itemId: number, targetGroupId: number, newOrder: number) => void;
|
|
88
|
+
}
|
|
89
|
+
export interface GroupFormData {
|
|
90
|
+
title: MultiLanguageText;
|
|
91
|
+
code: string;
|
|
92
|
+
}
|
|
93
|
+
export interface ItemFormData {
|
|
94
|
+
name: MultiLanguageText;
|
|
95
|
+
key: string;
|
|
96
|
+
fieldType: string;
|
|
97
|
+
interfaceType?: string;
|
|
98
|
+
scopes: string[];
|
|
99
|
+
description?: MultiLanguageText;
|
|
100
|
+
default?: string | null;
|
|
101
|
+
uiSchema?: string;
|
|
102
|
+
}
|
|
103
|
+
export interface GroupModalProps {
|
|
104
|
+
open: boolean;
|
|
105
|
+
type: OperationType;
|
|
106
|
+
data?: SettingGroup;
|
|
107
|
+
onOk: (data: GroupFormData) => void | Promise<void>;
|
|
108
|
+
onCancel: () => void;
|
|
109
|
+
}
|
|
110
|
+
export interface ItemModalProps {
|
|
111
|
+
open: boolean;
|
|
112
|
+
type: OperationType;
|
|
113
|
+
data?: SettingItem;
|
|
114
|
+
section?: Section;
|
|
115
|
+
onOk: (data: ItemFormData) => void | Promise<void>;
|
|
116
|
+
onCancel: () => void;
|
|
117
|
+
}
|
|
118
|
+
export interface ApiResponse<T> {
|
|
119
|
+
data: T[];
|
|
120
|
+
meta: {
|
|
121
|
+
count: number;
|
|
122
|
+
page: number;
|
|
123
|
+
pageSize: number;
|
|
124
|
+
totalPage: number;
|
|
125
|
+
};
|
|
126
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 类型验证工具函数
|
|
3
|
+
* 用于验证默认值是否符合指定的字段类型
|
|
4
|
+
*/
|
|
5
|
+
export interface ValidationResult {
|
|
6
|
+
isValid: boolean;
|
|
7
|
+
error?: string;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* 根据字段类型验证默认值
|
|
11
|
+
*/
|
|
12
|
+
export declare const validateDefaultValue: (fieldType: string, defaultValue: any) => ValidationResult;
|
|
13
|
+
/**
|
|
14
|
+
* 解析默认值为对应的类型
|
|
15
|
+
*/
|
|
16
|
+
export declare const parseDefaultValue: (fieldType: string, defaultValue: any) => any;
|
package/lib/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.js
CHANGED
|
@@ -107,6 +107,7 @@ var ProductDisplayAdapter = (props) => {
|
|
|
107
107
|
category: ((_b = (_a = item.category) == null ? void 0 : _a.map) == null ? void 0 : _b.call(_a, (category) => `${category.id}`)) || []
|
|
108
108
|
};
|
|
109
109
|
});
|
|
110
|
+
console.log(tabData, "tabData123");
|
|
110
111
|
return /* @__PURE__ */ import_react.default.createElement(
|
|
111
112
|
"div",
|
|
112
113
|
{
|
|
@@ -28,6 +28,8 @@ interface ProductCategory {
|
|
|
28
28
|
icon?: string;
|
|
29
29
|
slug?: string;
|
|
30
30
|
sort?: number;
|
|
31
|
+
/** 父级分类 ID,0 或 null/undefined 表示一级分类 */
|
|
32
|
+
parent_id?: number | null;
|
|
31
33
|
}
|
|
32
34
|
/**
|
|
33
35
|
* 产品项接口
|
|
@@ -38,13 +40,42 @@ interface Product {
|
|
|
38
40
|
category?: ProductCategory[];
|
|
39
41
|
[key: string]: any;
|
|
40
42
|
}
|
|
43
|
+
/**
|
|
44
|
+
* 分类树节点接口(Switch 模式返回值)
|
|
45
|
+
*/
|
|
46
|
+
export interface CategoryTreeNode {
|
|
47
|
+
/** 分类 ID,All 节点为 '{父级路径}_all' 格式 */
|
|
48
|
+
id: number | string;
|
|
49
|
+
/** 分类唯一标识 兼容 List 组件的 key 字段 */
|
|
50
|
+
key: number | string;
|
|
51
|
+
/** 分类名称 兼容 List 组件的 label 字段 */
|
|
52
|
+
label: string;
|
|
53
|
+
/** 分类分组 兼容 List 组件的 group 字段 */
|
|
54
|
+
group: number | string;
|
|
55
|
+
/** 分类名称 */
|
|
56
|
+
name: string;
|
|
57
|
+
/** 分类图标 */
|
|
58
|
+
icon?: string;
|
|
59
|
+
/**
|
|
60
|
+
* 路径式父级标识
|
|
61
|
+
* - 一级分类:无此字段
|
|
62
|
+
* - 二级分类:'1'(父级 id)
|
|
63
|
+
* - 三级分类:'1_2'(路径格式)
|
|
64
|
+
* - 以此类推
|
|
65
|
+
*/
|
|
66
|
+
pid?: string;
|
|
67
|
+
/** 该分类下所有商品的 ID 数组(包含子分类的商品) */
|
|
68
|
+
productIds: number[];
|
|
69
|
+
/** 子分类列表,如果有子分类,第一个为 All 节点 */
|
|
70
|
+
children?: CategoryTreeNode[];
|
|
71
|
+
}
|
|
41
72
|
/**
|
|
42
73
|
* 根据产品数据生成分类 Tabs(Switch 模式)
|
|
43
74
|
* 参考 TestResponsiveWrapper 的 generateSimpleTabItems 函数
|
|
44
75
|
*
|
|
45
76
|
* @param products 产品列表
|
|
46
77
|
* @param tabStyle tab 样式类型
|
|
47
|
-
* @returns TabItem
|
|
78
|
+
* @returns Switch 模式返回 CategoryTreeNode[],Anchor 模式返回 TabItem[]
|
|
48
79
|
*/
|
|
49
|
-
export declare const generateProductTabs: (products: Product[], tabStyle?: 'switch' | 'anchor') => TabItem[];
|
|
80
|
+
export declare const generateProductTabs: (products: Product[], tabStyle?: 'switch' | 'anchor') => CategoryTreeNode[] | TabItem[];
|
|
50
81
|
export {};
|