@pisell/private-materials 6.7.9 → 6.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +2 -2
- package/build/lowcode/preview.js +7 -7
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +9 -9
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +9 -9
- package/es/components/appointmentBooking/components/Voucher/index.js +2 -1
- package/es/components/booking/addons/index.js +25 -17
- package/es/components/booking/components/footer/amount.d.ts +1 -0
- package/es/components/booking/components/footer/amount.js +548 -84
- package/es/components/booking/components/footer/index.js +77 -56
- package/es/components/booking/components/footer/utils.d.ts +19 -0
- package/es/components/booking/components/footer/utils.js +194 -73
- package/es/components/booking/components/voucher/index.js +23 -7
- package/es/components/booking/hooks/useQuotation.js +4 -1
- package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
- package/es/components/booking/info/service2/utils.js +1 -0
- package/es/components/booking/info2/cartClientCard/index.js +30 -6
- package/es/components/booking/info2/index.js +1 -1
- package/es/components/booking/info2/service/addService/index.js +2 -3
- 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/utils.d.ts +1 -0
- package/es/components/booking/utils.js +16 -3
- package/es/components/checkout/PaymentModal.d.ts +13 -5
- package/es/components/checkout/PaymentModal.js +304 -252
- package/es/components/checkout/components/AdditionalModule/index.d.ts +3 -1
- package/es/components/checkout/components/AdditionalModule/index.js +52 -12
- package/es/components/checkout/components/AmountSummary/index.js +9 -76
- package/es/components/checkout/components/AmountSummary/index.less +5 -6
- package/es/components/checkout/components/CashPaymentModule/index.d.ts +3 -1
- package/es/components/checkout/components/CashPaymentModule/index.js +5 -2
- package/es/components/checkout/components/PaymentDetailModal/index.js +2 -2
- package/es/components/checkout/components/PaymentOptionsModule/PaymentMethodItem.d.ts +2 -0
- package/es/components/checkout/components/PaymentOptionsModule/PaymentMethodItem.js +6 -1
- package/es/components/checkout/components/PaymentOptionsModule/index.d.ts +1 -0
- package/es/components/checkout/components/PaymentOptionsModule/index.js +2 -1
- package/es/components/checkout/components/PaymentOptionsModule/index.less +4 -0
- package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +4 -0
- package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.js +31 -8
- package/es/components/checkout/components/PaymentResultToast/index.js +6 -6
- package/es/components/checkout/components/PaymentResultToast/index.less +94 -33
- package/es/components/checkout/components/SearchAndClientModule/index.js +39 -40
- package/es/components/checkout/index.less +1 -1
- package/es/components/checkout/locales.d.ts +6 -0
- package/es/components/checkout/locales.js +6 -0
- package/es/components/checkout/plugin.d.ts +2 -0
- package/es/components/checkout/plugin.js +303 -0
- package/es/components/checkout/utils/PaymentResultToastUtils.d.ts +0 -1
- package/es/components/checkout/utils/PaymentResultToastUtils.js +11 -1
- package/es/components/eftpos/hooks.d.ts +0 -1
- package/es/components/eftposPay/hooks.d.ts +1 -1
- package/es/components/eftposPay/linkly/hooks/useTimeQuery.js +14 -6
- package/es/components/eftposPay/payo/config.js +70 -32
- package/es/components/eftposPay/payo/payment.d.ts +66 -0
- package/es/components/eftposPay/payo/payment.js +579 -0
- package/es/components/eftposPay/store/index.d.ts +4 -4
- package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
- package/es/components/eftposPay/tyro/index.js +12 -0
- package/es/components/eftposPay/utils/log/index.d.ts +110 -0
- package/es/components/eftposPay/utils/log/index.js +371 -0
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
- package/es/components/index.d.ts +2 -1
- package/es/components/index.js +2 -1
- package/es/components/list/List.js +99 -56
- package/es/components/list/hooks/useListState.d.ts +5 -3
- package/es/components/list/hooks/useListState.js +10 -2
- package/es/components/list/styles/base.less +4 -0
- package/es/components/list/styles/content.less +1 -1
- package/es/components/list/styles/header.less +4 -4
- package/es/components/list/types.d.ts +1 -0
- package/es/components/list/utils/index.d.ts +13 -1
- package/es/components/list/utils/index.js +43 -1
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +14 -12
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +6 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/utils.js +4 -2
- package/es/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.js +2 -0
- package/es/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.less +13 -3
- package/es/components/pay/toC/index.js +7 -4
- package/es/components/pay/toC/locales.d.ts +3 -0
- package/es/components/pay/toC/locales.js +6 -3
- package/es/components/pay/toC/status.d.ts +1 -0
- package/es/components/pay/toC/status.js +3 -0
- package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
- package/es/components/subTotal/index.js +1 -1
- package/es/components/systemSettings/registry/components/GroupModal.d.ts +4 -0
- package/es/components/{checkout/PaymentPlugin.js → systemSettings/registry/components/GroupModal.js} +132 -171
- package/es/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
- package/es/components/systemSettings/registry/components/ItemModal.js +547 -0
- package/es/components/systemSettings/registry/components/ModuleList.d.ts +4 -0
- package/es/components/systemSettings/registry/components/ModuleList.js +54 -0
- package/es/components/systemSettings/registry/components/SectionList.d.ts +4 -0
- package/es/components/systemSettings/registry/components/SectionList.js +174 -0
- package/es/components/systemSettings/registry/components/SettingsTable.d.ts +4 -0
- package/es/components/systemSettings/registry/components/SettingsTable.js +765 -0
- package/es/components/systemSettings/registry/components/index.d.ts +4 -0
- package/es/components/systemSettings/registry/components/index.js +4 -0
- package/es/components/systemSettings/registry/index.d.ts +5 -0
- package/es/components/systemSettings/registry/index.js +1059 -0
- package/es/components/systemSettings/registry/index.less +410 -0
- package/es/components/systemSettings/registry/locales.d.ts +272 -0
- package/es/components/systemSettings/registry/locales.js +300 -0
- package/es/components/systemSettings/registry/services.d.ts +77 -0
- package/es/components/systemSettings/registry/services.js +472 -0
- package/es/components/systemSettings/registry/types.d.ts +126 -0
- package/es/components/systemSettings/registry/types.js +1 -0
- package/es/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
- package/es/components/systemSettings/registry/utils/typeValidation.js +284 -0
- package/es/components/systemSettings/registry/utils/validators.d.ts +8 -0
- package/es/components/systemSettings/registry/utils/validators.js +44 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.js +58 -11
- package/es/components/ticketBooking/components/ProductDisplayAdapter/index.less +28 -1
- package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +35 -2
- package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.js +149 -36
- package/es/components/ticketBooking/components/addServiceVariant/addService.js +2 -86
- package/es/components/ticketBooking/components/menuBar/index.js +109 -12
- package/es/components/ticketBooking/components/ticketBooking/index.js +2 -2
- package/es/components/ticketBooking/components/timeBar/index.js +112 -7
- package/es/components/ticketBooking/components/timeBar/index.less +59 -0
- package/es/components/ticketBooking/hooks/pisellos/useProducts.js +29 -18
- package/es/components/ticketBooking/locales.d.ts +9 -0
- package/es/components/ticketBooking/locales.js +12 -3
- package/es/components/ticketBooking/utils/index.d.ts +3 -0
- package/es/components/ticketBooking/utils/index.js +36 -13
- package/es/components/wallet/Detail/index.js +34 -2
- package/es/components/wallet/Detail/index.less +11 -0
- package/es/components/wallet/Detail/locales.d.ts +6 -0
- package/es/components/wallet/Detail/locales.js +14 -2
- package/es/components/wallet/Voucher/index.js +11 -10
- package/es/components/wallet/components/WalletCard.js +5 -1
- package/es/components/wallet/index.js +4 -2
- package/es/components/wallet/serve.d.ts +7 -0
- package/es/components/wallet/utils.d.ts +48 -0
- package/es/components/wallet/utils.js +342 -0
- package/es/index.d.ts +5 -0
- package/es/index.js +6 -1
- package/es/plus/clientCard/locales.js +3 -3
- package/es/plus/clinetSearch/index.js +28 -30
- package/es/plus/clinetSearch/locales.d.ts +3 -0
- package/es/plus/clinetSearch/locales.js +7 -4
- package/es/plus/clinetSearch/types.d.ts +12 -0
- package/es/plus/productSelect/CategoryTabs/index.d.ts +1 -0
- package/es/plus/productSelect/CategoryTabs/index.js +2 -1
- package/es/plus/walletPassGallery/components/footerButton/index.js +2 -4
- package/es/plus/walletPassGallery/components/footerButton/index.less +14 -59
- package/es/plus/walletPassGallery/components/passDetail/index.d.ts +1 -0
- package/es/plus/walletPassGallery/components/passDetail/index.js +84 -31
- package/es/plus/walletPassGallery/components/passDetail/index.less +4 -0
- package/es/plus/walletPassGallery/components/recharge/index.js +19 -8
- package/es/plus/walletPassGallery/index.js +7 -3
- package/es/plus/walletPassGallery/serve.d.ts +3 -0
- package/es/plus/walletPassGallery/serve.js +4 -2
- package/es/pro/Login2.0/index.less +15 -8
- package/es/pro/Selector/BatchSelectorDemo.d.ts +3 -0
- package/es/pro/Selector/BatchSelectorDemo.js +470 -0
- package/es/pro/Selector/Selector.d.ts +5 -0
- package/es/pro/Selector/Selector.js +283 -0
- package/es/pro/Selector/SelectorGroup.d.ts +11 -0
- package/es/pro/Selector/SelectorGroup.js +537 -0
- package/es/pro/Selector/components/Card/index.d.ts +27 -0
- package/es/pro/Selector/components/Card/index.js +96 -0
- package/es/pro/Selector/components/Card/index.less +132 -0
- package/es/pro/Selector/components/IntersectionObserver.d.ts +105 -0
- package/es/pro/Selector/components/IntersectionObserver.js +384 -0
- package/es/pro/Selector/components/NumericStepper/index.d.ts +41 -0
- package/es/pro/Selector/components/NumericStepper/index.js +198 -0
- package/es/pro/Selector/components/NumericStepper/index.less +221 -0
- package/es/pro/Selector/components/index.d.ts +2 -0
- package/es/pro/Selector/components/index.js +2 -0
- package/es/pro/Selector/demo.d.ts +3 -0
- package/es/pro/Selector/demo.js +158 -0
- package/es/pro/Selector/hooks/useSelectionController.d.ts +42 -0
- package/es/pro/Selector/hooks/useSelectionController.js +414 -0
- package/es/pro/Selector/index.d.ts +8 -0
- package/es/pro/Selector/index.js +5 -0
- package/es/pro/Selector/locales.d.ts +42 -0
- package/es/pro/Selector/locales.js +80 -0
- package/es/pro/Selector/selector.less +3 -0
- package/es/pro/Selector/selectorGroup.less +8 -0
- package/es/pro/Selector/types.d.ts +114 -0
- package/es/pro/Selector/types.js +1 -0
- package/es/pro/Selector/utils/index.d.ts +49 -0
- package/es/pro/Selector/utils/index.js +229 -0
- package/es/pro/comprehensiveSearch/components/searchSection/locales.js +3 -3
- package/es/pro/comprehensiveSearch/locales.js +1 -1
- package/es/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.js +45 -36
- package/es/pro/priceKeyboard/components/cashKeyboard/index.d.ts +1 -0
- package/es/pro/priceKeyboard/components/cashKeyboard/index.js +4 -2
- package/es/pro/priceKeyboard/components/cashKeyboard/types.d.ts +1 -0
- package/es/pro/priceKeyboard/components/discountKeyboard/index.js +10 -1
- package/es/pro/priceKeyboard/components/discountKeyboard/index.less +14 -0
- package/es/pro/priceKeyboard/components/shortcuts/index.d.ts +1 -0
- package/es/pro/priceKeyboard/components/shortcuts/index.js +5 -2
- package/es/pro/priceKeyboard/components/shortcuts/index.less +4 -0
- package/lib/components/appointmentBooking/components/Voucher/index.js +2 -1
- package/lib/components/booking/addons/index.js +15 -7
- package/lib/components/booking/components/footer/amount.d.ts +1 -0
- package/lib/components/booking/components/footer/amount.js +293 -41
- package/lib/components/booking/components/footer/index.js +30 -11
- package/lib/components/booking/components/footer/utils.d.ts +19 -0
- package/lib/components/booking/components/footer/utils.js +138 -41
- package/lib/components/booking/components/voucher/index.js +25 -9
- package/lib/components/booking/hooks/useQuotation.js +2 -1
- package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
- package/lib/components/booking/info/service2/utils.js +1 -0
- package/lib/components/booking/info2/cartClientCard/index.js +25 -5
- package/lib/components/booking/info2/index.js +7 -2
- package/lib/components/booking/info2/service/addService/index.js +1 -2
- 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/utils.d.ts +1 -0
- package/lib/components/booking/utils.js +11 -0
- package/lib/components/checkout/PaymentModal.d.ts +13 -5
- package/lib/components/checkout/PaymentModal.js +190 -147
- package/lib/components/checkout/components/AdditionalModule/index.d.ts +3 -1
- package/lib/components/checkout/components/AdditionalModule/index.js +52 -11
- package/lib/components/checkout/components/AmountSummary/index.js +5 -46
- package/lib/components/checkout/components/AmountSummary/index.less +5 -6
- package/lib/components/checkout/components/CashPaymentModule/index.d.ts +3 -1
- package/lib/components/checkout/components/CashPaymentModule/index.js +5 -2
- package/lib/components/checkout/components/PaymentDetailModal/index.js +2 -2
- package/lib/components/checkout/components/PaymentOptionsModule/PaymentMethodItem.d.ts +2 -0
- package/lib/components/checkout/components/PaymentOptionsModule/PaymentMethodItem.js +5 -1
- package/lib/components/checkout/components/PaymentOptionsModule/index.d.ts +1 -0
- package/lib/components/checkout/components/PaymentOptionsModule/index.js +6 -0
- package/lib/components/checkout/components/PaymentOptionsModule/index.less +4 -0
- package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +4 -0
- package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.js +23 -5
- package/lib/components/checkout/components/PaymentResultToast/index.js +4 -4
- package/lib/components/checkout/components/PaymentResultToast/index.less +94 -33
- package/lib/components/checkout/components/SearchAndClientModule/index.js +29 -3
- package/lib/components/checkout/index.less +1 -1
- package/lib/components/checkout/locales.d.ts +6 -0
- package/lib/components/checkout/locales.js +6 -0
- package/lib/components/checkout/plugin.d.ts +2 -0
- package/lib/components/checkout/plugin.js +263 -0
- package/lib/components/checkout/utils/PaymentResultToastUtils.d.ts +0 -1
- package/lib/components/checkout/utils/PaymentResultToastUtils.js +11 -1
- package/lib/components/eftpos/hooks.d.ts +0 -1
- package/lib/components/eftposPay/hooks.d.ts +1 -1
- package/lib/components/eftposPay/linkly/hooks/useTimeQuery.js +12 -6
- package/lib/components/eftposPay/payo/config.js +98 -73
- package/lib/components/eftposPay/payo/payment.d.ts +66 -0
- package/lib/components/eftposPay/payo/payment.js +357 -0
- package/lib/components/eftposPay/store/index.d.ts +4 -4
- package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
- package/lib/components/eftposPay/tyro/index.js +12 -0
- package/lib/components/eftposPay/utils/log/index.d.ts +110 -0
- package/lib/components/eftposPay/utils/log/index.js +294 -0
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
- package/lib/components/index.d.ts +2 -1
- package/lib/components/index.js +3 -0
- package/lib/components/list/List.js +58 -36
- package/lib/components/list/hooks/useListState.d.ts +5 -3
- package/lib/components/list/hooks/useListState.js +9 -1
- package/lib/components/list/styles/base.less +4 -0
- package/lib/components/list/styles/content.less +1 -1
- package/lib/components/list/styles/header.less +4 -4
- package/lib/components/list/types.d.ts +1 -0
- package/lib/components/list/utils/index.d.ts +13 -1
- package/lib/components/list/utils/index.js +27 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +14 -12
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +6 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.js +4 -2
- package/lib/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.js +1 -1
- package/lib/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.less +13 -3
- package/lib/components/pay/toC/index.js +4 -1
- package/lib/components/pay/toC/locales.d.ts +3 -0
- package/lib/components/pay/toC/locales.js +6 -3
- package/lib/components/pay/toC/status.d.ts +1 -0
- package/lib/components/pay/toC/status.js +5 -0
- package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
- package/lib/components/subTotal/index.js +1 -1
- package/lib/components/systemSettings/registry/components/GroupModal.d.ts +4 -0
- package/lib/components/systemSettings/registry/components/GroupModal.js +177 -0
- package/lib/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
- package/lib/components/systemSettings/registry/components/ItemModal.js +508 -0
- package/lib/components/systemSettings/registry/components/ModuleList.d.ts +4 -0
- package/lib/components/systemSettings/registry/components/ModuleList.js +71 -0
- package/lib/components/systemSettings/registry/components/SectionList.d.ts +4 -0
- package/lib/components/systemSettings/registry/components/SectionList.js +181 -0
- package/lib/components/systemSettings/registry/components/SettingsTable.d.ts +4 -0
- package/lib/components/systemSettings/registry/components/SettingsTable.js +575 -0
- package/lib/components/systemSettings/registry/components/index.d.ts +4 -0
- package/lib/components/systemSettings/registry/components/index.js +48 -0
- package/lib/components/systemSettings/registry/index.d.ts +5 -0
- package/lib/components/systemSettings/registry/index.js +529 -0
- package/lib/components/systemSettings/registry/index.less +410 -0
- package/lib/components/systemSettings/registry/locales.d.ts +272 -0
- package/lib/components/systemSettings/registry/locales.js +324 -0
- package/lib/components/systemSettings/registry/services.d.ts +77 -0
- package/lib/components/systemSettings/registry/services.js +290 -0
- package/lib/components/systemSettings/registry/types.d.ts +126 -0
- package/lib/components/systemSettings/registry/types.js +17 -0
- package/lib/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
- package/lib/components/systemSettings/registry/utils/typeValidation.js +228 -0
- package/lib/components/systemSettings/registry/utils/validators.d.ts +8 -0
- package/lib/components/systemSettings/registry/utils/validators.js +54 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.js +40 -5
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/index.less +28 -1
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +35 -2
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.js +93 -24
- package/lib/components/ticketBooking/components/addServiceVariant/addService.js +0 -1
- package/lib/components/ticketBooking/components/menuBar/index.js +42 -6
- package/lib/components/ticketBooking/components/ticketBooking/index.js +2 -2
- package/lib/components/ticketBooking/components/timeBar/index.js +105 -4
- package/lib/components/ticketBooking/components/timeBar/index.less +59 -0
- package/lib/components/ticketBooking/hooks/pisellos/useProducts.js +17 -13
- package/lib/components/ticketBooking/locales.d.ts +9 -0
- package/lib/components/ticketBooking/locales.js +12 -3
- package/lib/components/ticketBooking/utils/index.d.ts +3 -0
- package/lib/components/ticketBooking/utils/index.js +20 -6
- package/lib/components/wallet/Detail/index.js +31 -3
- package/lib/components/wallet/Detail/index.less +11 -0
- package/lib/components/wallet/Detail/locales.d.ts +6 -0
- package/lib/components/wallet/Detail/locales.js +14 -2
- package/lib/components/wallet/Voucher/index.js +8 -8
- package/lib/components/wallet/components/WalletCard.js +4 -0
- package/lib/components/wallet/index.js +2 -2
- package/lib/components/wallet/serve.d.ts +7 -0
- package/lib/components/wallet/utils.d.ts +48 -0
- package/lib/components/wallet/utils.js +287 -0
- package/lib/index.d.ts +5 -0
- package/lib/index.js +15 -0
- package/lib/plus/clientCard/locales.js +3 -3
- package/lib/plus/clinetSearch/index.js +17 -8
- package/lib/plus/clinetSearch/locales.d.ts +3 -0
- package/lib/plus/clinetSearch/locales.js +7 -4
- package/lib/plus/clinetSearch/types.d.ts +12 -0
- package/lib/plus/productSelect/CategoryTabs/index.d.ts +1 -0
- package/lib/plus/productSelect/CategoryTabs/index.js +2 -1
- package/lib/plus/walletPassGallery/components/footerButton/index.js +2 -2
- package/lib/plus/walletPassGallery/components/footerButton/index.less +14 -59
- package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +1 -0
- package/lib/plus/walletPassGallery/components/passDetail/index.js +54 -15
- package/lib/plus/walletPassGallery/components/passDetail/index.less +4 -0
- package/lib/plus/walletPassGallery/components/recharge/index.js +7 -1
- package/lib/plus/walletPassGallery/index.js +7 -3
- package/lib/plus/walletPassGallery/serve.d.ts +3 -0
- package/lib/plus/walletPassGallery/serve.js +3 -2
- package/lib/pro/Login2.0/index.less +15 -8
- package/lib/pro/Selector/BatchSelectorDemo.d.ts +3 -0
- package/lib/pro/Selector/BatchSelectorDemo.js +376 -0
- package/lib/pro/Selector/Selector.d.ts +5 -0
- package/lib/pro/Selector/Selector.js +264 -0
- package/lib/pro/Selector/SelectorGroup.d.ts +11 -0
- package/lib/pro/Selector/SelectorGroup.js +463 -0
- package/lib/pro/Selector/components/Card/index.d.ts +27 -0
- package/lib/pro/Selector/components/Card/index.js +114 -0
- package/lib/pro/Selector/components/Card/index.less +132 -0
- package/lib/pro/Selector/components/IntersectionObserver.d.ts +105 -0
- package/lib/pro/Selector/components/IntersectionObserver.js +281 -0
- package/lib/pro/Selector/components/NumericStepper/index.d.ts +41 -0
- package/lib/pro/Selector/components/NumericStepper/index.js +221 -0
- package/lib/pro/Selector/components/NumericStepper/index.less +221 -0
- package/lib/pro/Selector/components/index.d.ts +2 -0
- package/lib/pro/Selector/components/index.js +42 -0
- package/lib/pro/Selector/demo.d.ts +3 -0
- package/lib/pro/Selector/demo.js +102 -0
- package/lib/pro/Selector/hooks/useSelectionController.d.ts +42 -0
- package/lib/pro/Selector/hooks/useSelectionController.js +338 -0
- package/lib/pro/Selector/index.d.ts +8 -0
- package/lib/pro/Selector/index.js +39 -0
- package/lib/pro/Selector/locales.d.ts +42 -0
- package/lib/pro/Selector/locales.js +80 -0
- package/lib/pro/Selector/selector.less +3 -0
- package/lib/pro/Selector/selectorGroup.less +8 -0
- package/lib/pro/Selector/types.d.ts +114 -0
- package/lib/pro/Selector/types.js +17 -0
- package/lib/pro/Selector/utils/index.d.ts +49 -0
- package/lib/pro/Selector/utils/index.js +221 -0
- package/lib/pro/comprehensiveSearch/components/searchSection/locales.js +3 -3
- package/lib/pro/comprehensiveSearch/locales.js +1 -1
- package/lib/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.js +42 -43
- package/lib/pro/priceKeyboard/components/cashKeyboard/index.d.ts +1 -0
- package/lib/pro/priceKeyboard/components/cashKeyboard/index.js +3 -2
- package/lib/pro/priceKeyboard/components/cashKeyboard/types.d.ts +1 -0
- package/lib/pro/priceKeyboard/components/discountKeyboard/index.js +8 -1
- package/lib/pro/priceKeyboard/components/discountKeyboard/index.less +14 -0
- package/lib/pro/priceKeyboard/components/shortcuts/index.d.ts +1 -0
- package/lib/pro/priceKeyboard/components/shortcuts/index.js +3 -2
- package/lib/pro/priceKeyboard/components/shortcuts/index.less +4 -0
- package/lowcode/payment-modal/meta.ts +135 -0
- package/lowcode/selector/meta.ts +352 -0
- package/lowcode/selector.group/meta.ts +200 -0
- package/lowcode/settings-registry/meta.ts +29 -0
- package/lowcode/wallet-pass-detail/meta.ts +89 -0
- package/package.json +4 -4
- package/es/components/checkout/PaymentPlugin.d.ts +0 -3
- package/lib/components/checkout/PaymentPlugin.d.ts +0 -3
- package/lib/components/checkout/PaymentPlugin.js +0 -181
|
@@ -0,0 +1,300 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
en: {
|
|
3
|
+
// 页面标题
|
|
4
|
+
'registry.title': 'Settings Registry',
|
|
5
|
+
'registry.sections.title': 'Sections',
|
|
6
|
+
'registry.sections.empty': 'No sections configured',
|
|
7
|
+
'registry.sections.loadMore': 'Scroll to load more',
|
|
8
|
+
'registry.sections.noMore': 'No more data',
|
|
9
|
+
// 表格表头
|
|
10
|
+
'registry.table.title': 'Title',
|
|
11
|
+
'registry.table.name': 'Name',
|
|
12
|
+
'registry.table.key': 'Key',
|
|
13
|
+
'registry.table.type': 'Type',
|
|
14
|
+
'registry.table.interface': 'Interface',
|
|
15
|
+
'registry.table.scopes': 'Scopes',
|
|
16
|
+
'registry.table.default': 'Default',
|
|
17
|
+
'registry.table.description': 'Description',
|
|
18
|
+
'registry.table.actions': 'Actions',
|
|
19
|
+
// 层级标签
|
|
20
|
+
'registry.level.group': 'Group',
|
|
21
|
+
'registry.level.item': 'Item',
|
|
22
|
+
// 操作按钮
|
|
23
|
+
'registry.action.add.group': 'Add Group',
|
|
24
|
+
'registry.action.add.item': 'Add Field',
|
|
25
|
+
'registry.action.edit': 'Edit',
|
|
26
|
+
'registry.action.delete': 'Delete',
|
|
27
|
+
'registry.action.expand': 'Expand',
|
|
28
|
+
'registry.action.collapse': 'Collapse',
|
|
29
|
+
// 模态框
|
|
30
|
+
'registry.modal.add.group': 'Create Group',
|
|
31
|
+
'registry.modal.edit.group': 'Edit Group',
|
|
32
|
+
'registry.modal.add.item': 'Add Setting Item',
|
|
33
|
+
'registry.modal.edit.item': 'Edit Setting Item',
|
|
34
|
+
'registry.modal.delete.title': 'Confirm Delete',
|
|
35
|
+
'registry.modal.delete.group.content': 'Are you sure you want to delete this group and all its items?',
|
|
36
|
+
'registry.modal.delete.group.hasItems.title': 'Cannot Delete Group',
|
|
37
|
+
'registry.modal.delete.group.hasItems.content': 'Cannot delete a group that contains fields. Remove or move all fields first.',
|
|
38
|
+
'registry.modal.delete.item.content': 'Are you sure you want to delete this setting item?',
|
|
39
|
+
// 表单字段
|
|
40
|
+
'registry.form.title': 'Title',
|
|
41
|
+
'registry.form.name': 'Name',
|
|
42
|
+
'registry.form.name.placeholder': 'Please enter name',
|
|
43
|
+
'registry.form.code': 'Code',
|
|
44
|
+
'registry.form.code.placeholder': 'Please enter code',
|
|
45
|
+
'registry.form.key': 'Key',
|
|
46
|
+
'registry.form.key.placeholder': 'Please enter key',
|
|
47
|
+
'registry.form.fieldType': 'Field Type',
|
|
48
|
+
'registry.form.fieldType.placeholder': 'Please select field type',
|
|
49
|
+
'registry.form.interfaceType': 'Interface Type',
|
|
50
|
+
'registry.form.interfaceType.placeholder': 'Please select interface type',
|
|
51
|
+
'registry.form.scopes': 'Scopes',
|
|
52
|
+
'registry.form.scopes.placeholder': 'Please select scopes',
|
|
53
|
+
'registry.form.description': 'Description',
|
|
54
|
+
'registry.form.description.placeholder': 'Please enter description',
|
|
55
|
+
'registry.form.systemDefaultValue': 'System Default Value',
|
|
56
|
+
'registry.form.systemDefaultValue.placeholder': 'Please enter system default value',
|
|
57
|
+
'registry.form.uiSchema': 'UI Schema (JSON)',
|
|
58
|
+
'registry.form.uiSchema.placeholder': 'Please enter UI schema in JSON format',
|
|
59
|
+
// 按钮
|
|
60
|
+
'registry.button.ok': 'OK',
|
|
61
|
+
'registry.button.cancel': 'Cancel',
|
|
62
|
+
'registry.button.save': 'Save',
|
|
63
|
+
// 消息提示
|
|
64
|
+
'registry.message.save.success': 'Saved successfully',
|
|
65
|
+
'registry.message.delete.success': 'Deleted successfully',
|
|
66
|
+
'registry.message.required': 'This field is required',
|
|
67
|
+
'registry.message.code.exists': 'Code already exists',
|
|
68
|
+
'registry.message.key.exists': 'Key already exists',
|
|
69
|
+
'registry.message.code.pattern': 'Code can only contain letters, numbers, dots, underscores and hyphens',
|
|
70
|
+
'registry.message.key.pattern': 'Key can only contain lowercase letters, numbers, dots, underscores',
|
|
71
|
+
'registry.message.code.format': 'Can only contain lowercase letters, numbers, dots, and underscores',
|
|
72
|
+
'registry.message.code.start': 'Must start with a letter',
|
|
73
|
+
'registry.message.code.end': 'Cannot end with a dot or underscore',
|
|
74
|
+
'registry.message.code.consecutive': 'Cannot contain consecutive dots or underscores',
|
|
75
|
+
'registry.message.name.maxLength': 'Name maximum length is 100 characters',
|
|
76
|
+
'registry.message.key.maxLength': 'Key maximum length is 100 characters',
|
|
77
|
+
'registry.message.description.maxLength': 'Description maximum length is 500 characters',
|
|
78
|
+
'registry.message.uiSchema.invalid': 'Please enter valid JSON format',
|
|
79
|
+
'registry.message.select.section': 'Please select a section',
|
|
80
|
+
'registry.message.loading.groups': 'Loading group data...',
|
|
81
|
+
'registry.message.no.settings': 'No settings available',
|
|
82
|
+
'registry.message.load.failed': 'Failed to load data',
|
|
83
|
+
'registry.message.create.group.error': 'Failed to create',
|
|
84
|
+
// 拖拽相关
|
|
85
|
+
'registry.drag.drop.here': 'Drop item here',
|
|
86
|
+
'registry.empty.container.placeholder': 'Drag setting items to this group',
|
|
87
|
+
'registry.message.update.group.error': 'Failed to update',
|
|
88
|
+
'registry.message.delete.group.error': 'Failed to delete',
|
|
89
|
+
'registry.message.create.item.error': 'Failed to create',
|
|
90
|
+
'registry.message.update.item.error': 'Failed to update',
|
|
91
|
+
'registry.message.delete.item.error': 'Failed to delete',
|
|
92
|
+
'registry.message.reorder.success': 'Updated successfully',
|
|
93
|
+
'registry.message.reorder.error': 'Failed to update',
|
|
94
|
+
'registry.message.move.success': 'Updated successfully',
|
|
95
|
+
'registry.message.move.error': 'Failed to update',
|
|
96
|
+
// 作用域选项
|
|
97
|
+
'registry.scope.systemDefault': 'System Default',
|
|
98
|
+
'registry.scope.saasDefault': 'SaaS Default',
|
|
99
|
+
'registry.scope.organization': 'Organization',
|
|
100
|
+
'registry.scope.business': 'Business',
|
|
101
|
+
'registry.scope.channel': 'Channel',
|
|
102
|
+
'registry.scope.board': 'Board'
|
|
103
|
+
},
|
|
104
|
+
'zh-CN': {
|
|
105
|
+
// 页面标题
|
|
106
|
+
'registry.title': '设置注册表',
|
|
107
|
+
'registry.sections.title': '版块',
|
|
108
|
+
'registry.sections.empty': '暂无配置版块',
|
|
109
|
+
'registry.sections.loadMore': '滚动加载更多',
|
|
110
|
+
'registry.sections.noMore': '没有更多数据',
|
|
111
|
+
// 表格表头
|
|
112
|
+
'registry.table.title': '标题',
|
|
113
|
+
'registry.table.name': '名称',
|
|
114
|
+
'registry.table.key': '键',
|
|
115
|
+
'registry.table.type': '类型',
|
|
116
|
+
'registry.table.interface': '界面',
|
|
117
|
+
'registry.table.scopes': '作用域',
|
|
118
|
+
'registry.table.default': '默认值',
|
|
119
|
+
'registry.table.description': '描述',
|
|
120
|
+
'registry.table.actions': '操作',
|
|
121
|
+
// 层级标签
|
|
122
|
+
'registry.level.group': '组',
|
|
123
|
+
'registry.level.item': '设置项',
|
|
124
|
+
// 操作按钮
|
|
125
|
+
'registry.action.add.group': '添加组',
|
|
126
|
+
'registry.action.add.item': '添加字段',
|
|
127
|
+
'registry.action.edit': '编辑',
|
|
128
|
+
'registry.action.delete': '删除',
|
|
129
|
+
'registry.action.expand': '展开',
|
|
130
|
+
'registry.action.collapse': '收起',
|
|
131
|
+
// 模态框
|
|
132
|
+
'registry.modal.add.group': '创建组',
|
|
133
|
+
'registry.modal.edit.group': '编辑组',
|
|
134
|
+
'registry.modal.add.item': '添加设置项',
|
|
135
|
+
'registry.modal.edit.item': '编辑设置项',
|
|
136
|
+
'registry.modal.delete.title': '确认删除',
|
|
137
|
+
'registry.modal.delete.group.content': '确定要删除此组及其所有设置项吗?',
|
|
138
|
+
'registry.modal.delete.group.hasItems.title': '无法删除组',
|
|
139
|
+
'registry.modal.delete.group.hasItems.content': '分组下存在字段,无法删除。请先移除或迁移所有字段。',
|
|
140
|
+
'registry.modal.delete.item.content': '确定要删除此设置项吗?',
|
|
141
|
+
// 表单字段
|
|
142
|
+
'registry.form.title': '标题',
|
|
143
|
+
'registry.form.name': '名称',
|
|
144
|
+
'registry.form.name.placeholder': '请输入名称',
|
|
145
|
+
'registry.form.code': '代码',
|
|
146
|
+
'registry.form.code.placeholder': '请输入代码',
|
|
147
|
+
'registry.form.key': '键',
|
|
148
|
+
'registry.form.key.placeholder': '请输入键',
|
|
149
|
+
'registry.form.fieldType': '字段类型',
|
|
150
|
+
'registry.form.fieldType.placeholder': '请选择字段类型',
|
|
151
|
+
'registry.form.interfaceType': '界面类型',
|
|
152
|
+
'registry.form.interfaceType.placeholder': '请选择界面类型',
|
|
153
|
+
'registry.form.scopes': '作用域',
|
|
154
|
+
'registry.form.scopes.placeholder': '请选择作用域',
|
|
155
|
+
'registry.form.description': '描述',
|
|
156
|
+
'registry.form.description.placeholder': '请输入描述',
|
|
157
|
+
'registry.form.systemDefaultValue': '系统默认值',
|
|
158
|
+
'registry.form.systemDefaultValue.placeholder': '请输入系统默认值',
|
|
159
|
+
'registry.form.uiSchema': 'UI Schema (JSON)',
|
|
160
|
+
'registry.form.uiSchema.placeholder': '请输入JSON格式的UI配置',
|
|
161
|
+
// 按钮
|
|
162
|
+
'registry.button.ok': '确定',
|
|
163
|
+
'registry.button.cancel': '取消',
|
|
164
|
+
'registry.button.save': '保存',
|
|
165
|
+
// 消息提示
|
|
166
|
+
'registry.message.save.success': '保存成功',
|
|
167
|
+
'registry.message.delete.success': '删除成功',
|
|
168
|
+
'registry.message.required': '此字段为必填项',
|
|
169
|
+
'registry.message.code.exists': '代码已存在',
|
|
170
|
+
'registry.message.key.exists': '键已存在',
|
|
171
|
+
'registry.message.code.pattern': '代码只能包含字母、数字、点、下划线和横线',
|
|
172
|
+
'registry.message.key.pattern': '键只能包含小写字母、数字、点、下划线',
|
|
173
|
+
'registry.message.code.format': '只能包含小写字母、数字、点和下划线',
|
|
174
|
+
'registry.message.code.start': '必须以字母开头',
|
|
175
|
+
'registry.message.code.end': '不能以点或下划线结尾',
|
|
176
|
+
'registry.message.code.consecutive': '不能包含连续的点或下划线',
|
|
177
|
+
'registry.message.name.maxLength': '名称最大长度为100个字符',
|
|
178
|
+
'registry.message.key.maxLength': '键最大长度为100个字符',
|
|
179
|
+
'registry.message.description.maxLength': '描述最大长度为500个字符',
|
|
180
|
+
'registry.message.uiSchema.invalid': '请输入有效的JSON格式',
|
|
181
|
+
'registry.message.select.section': '请选择一个版块',
|
|
182
|
+
'registry.message.loading.groups': '加载组数据中...',
|
|
183
|
+
'registry.message.no.settings': '暂无设置项',
|
|
184
|
+
'registry.message.load.failed': '加载数据失败',
|
|
185
|
+
'registry.message.create.group.error': '创建失败',
|
|
186
|
+
'registry.message.update.group.error': '更新失败',
|
|
187
|
+
'registry.message.delete.group.error': '删除失败',
|
|
188
|
+
'registry.message.create.item.error': '创建失败',
|
|
189
|
+
'registry.message.update.item.error': '更新失败',
|
|
190
|
+
'registry.message.delete.item.error': '删除失败',
|
|
191
|
+
'registry.message.reorder.success': '更新成功',
|
|
192
|
+
'registry.message.reorder.error': '更新失败',
|
|
193
|
+
'registry.message.move.success': '更新成功',
|
|
194
|
+
'registry.message.move.error': '更新失败',
|
|
195
|
+
// 拖拽相关
|
|
196
|
+
'registry.drag.drop.here': '拖放到此处',
|
|
197
|
+
'registry.empty.container.placeholder': '拖放设置项到此组',
|
|
198
|
+
// 作用域选项
|
|
199
|
+
'registry.scope.systemDefault': '系统默认',
|
|
200
|
+
'registry.scope.saasDefault': 'SaaS默认',
|
|
201
|
+
'registry.scope.organization': '企业租户',
|
|
202
|
+
'registry.scope.business': '业务级',
|
|
203
|
+
'registry.scope.channel': '渠道级',
|
|
204
|
+
'registry.scope.board': '业务×渠道'
|
|
205
|
+
},
|
|
206
|
+
'zh-HK': {
|
|
207
|
+
// 页面标题
|
|
208
|
+
'registry.title': '設置註冊表',
|
|
209
|
+
'registry.sections.title': '版塊',
|
|
210
|
+
'registry.sections.empty': '暫無配置版塊',
|
|
211
|
+
'registry.sections.loadMore': '滾動加載更多',
|
|
212
|
+
'registry.sections.noMore': '沒有更多數據',
|
|
213
|
+
// 表格表头
|
|
214
|
+
'registry.table.title': '標題',
|
|
215
|
+
'registry.table.name': '名稱',
|
|
216
|
+
'registry.table.key': '鍵',
|
|
217
|
+
'registry.table.scopes': '作用域',
|
|
218
|
+
'registry.table.actions': '操作',
|
|
219
|
+
// 层级标签
|
|
220
|
+
'registry.level.group': '組',
|
|
221
|
+
'registry.level.item': '設置項',
|
|
222
|
+
// 操作按钮
|
|
223
|
+
'registry.action.add.group': '添加組',
|
|
224
|
+
'registry.action.add.item': '添加字段',
|
|
225
|
+
'registry.action.edit': '編輯',
|
|
226
|
+
'registry.action.delete': '刪除',
|
|
227
|
+
'registry.action.expand': '展開',
|
|
228
|
+
'registry.action.collapse': '收起',
|
|
229
|
+
// 模态框
|
|
230
|
+
'registry.modal.add.group': '創建組',
|
|
231
|
+
'registry.modal.edit.group': '編輯組',
|
|
232
|
+
'registry.modal.add.item': '添加設置項',
|
|
233
|
+
'registry.modal.edit.item': '編輯設置項',
|
|
234
|
+
'registry.modal.delete.title': '確認刪除',
|
|
235
|
+
'registry.modal.delete.group.content': '確定要刪除此組及其所有設置項嗎?',
|
|
236
|
+
'registry.modal.delete.group.hasItems.title': '無法刪除組',
|
|
237
|
+
'registry.modal.delete.group.hasItems.content': '分組下存在字段,無法刪除。請先移除或遷移所有字段。',
|
|
238
|
+
'registry.modal.delete.item.content': '確定要刪除此設置項嗎?',
|
|
239
|
+
// 表单字段
|
|
240
|
+
'registry.form.title': '標題',
|
|
241
|
+
'registry.form.name': '名稱',
|
|
242
|
+
'registry.form.name.placeholder': '請輸入名稱',
|
|
243
|
+
'registry.form.code': '代碼',
|
|
244
|
+
'registry.form.code.placeholder': '請輸入代碼',
|
|
245
|
+
'registry.form.key': '鍵',
|
|
246
|
+
'registry.form.key.placeholder': '請輸入鍵',
|
|
247
|
+
'registry.form.fieldType': '字段類型',
|
|
248
|
+
'registry.form.fieldType.placeholder': '請選擇字段類型',
|
|
249
|
+
'registry.form.interfaceType': '界面類型',
|
|
250
|
+
'registry.form.interfaceType.placeholder': '請選擇界面類型',
|
|
251
|
+
'registry.form.scopes': '作用域',
|
|
252
|
+
'registry.form.scopes.placeholder': '請選擇作用域',
|
|
253
|
+
'registry.form.description': '描述',
|
|
254
|
+
'registry.form.description.placeholder': '請輸入描述',
|
|
255
|
+
'registry.form.systemDefaultValue': '系統默認值',
|
|
256
|
+
'registry.form.systemDefaultValue.placeholder': '請輸入系統默認值',
|
|
257
|
+
'registry.form.uiSchema': 'UI Schema (JSON)',
|
|
258
|
+
'registry.form.uiSchema.placeholder': '請輸入JSON格式的UI配置',
|
|
259
|
+
// 按钮
|
|
260
|
+
'registry.button.ok': '確定',
|
|
261
|
+
'registry.button.cancel': '取消',
|
|
262
|
+
'registry.button.save': '保存',
|
|
263
|
+
// 消息提示
|
|
264
|
+
'registry.message.save.success': '保存成功',
|
|
265
|
+
'registry.message.delete.success': '刪除成功',
|
|
266
|
+
'registry.message.required': '此字段為必填項',
|
|
267
|
+
'registry.message.code.exists': '代碼已存在',
|
|
268
|
+
'registry.message.key.exists': '鍵已存在',
|
|
269
|
+
'registry.message.code.pattern': '代碼只能包含字母、數字、點、下劃線和橫線',
|
|
270
|
+
'registry.message.key.pattern': '鍵只能包含小寫字母、數字、點、下劃線',
|
|
271
|
+
'registry.message.code.format': '只能包含小寫字母、數字、點和下劃線',
|
|
272
|
+
'registry.message.code.start': '必須以字母開頭',
|
|
273
|
+
'registry.message.code.end': '不能以點或下劃線結尾',
|
|
274
|
+
'registry.message.code.consecutive': '不能包含連續的點或下劃線',
|
|
275
|
+
'registry.message.name.maxLength': '名稱最大長度為100個字符',
|
|
276
|
+
'registry.message.key.maxLength': '鍵最大長度為100個字符',
|
|
277
|
+
'registry.message.description.maxLength': '描述最大長度為500個字符',
|
|
278
|
+
'registry.message.select.section': '請選擇一個版塊',
|
|
279
|
+
'registry.message.loading.groups': '加載組數據中...',
|
|
280
|
+
'registry.message.no.settings': '暫無設置項',
|
|
281
|
+
'registry.message.load.failed': '加載數據失敗',
|
|
282
|
+
'registry.message.create.group.error': '創建失敗',
|
|
283
|
+
'registry.message.update.group.error': '更新失敗',
|
|
284
|
+
'registry.message.delete.group.error': '刪除失敗',
|
|
285
|
+
'registry.message.create.item.error': '創建失敗',
|
|
286
|
+
'registry.message.update.item.error': '更新失敗',
|
|
287
|
+
'registry.message.delete.item.error': '刪除失敗',
|
|
288
|
+
'registry.message.reorder.success': '更新成功',
|
|
289
|
+
'registry.message.reorder.error': '更新失敗',
|
|
290
|
+
'registry.message.move.success': '更新成功',
|
|
291
|
+
'registry.message.move.error': '更新失敗',
|
|
292
|
+
// 作用域选项
|
|
293
|
+
'registry.scope.systemDefault': '系統默認',
|
|
294
|
+
'registry.scope.saasDefault': 'SaaS默認',
|
|
295
|
+
'registry.scope.organization': '企業租戶',
|
|
296
|
+
'registry.scope.business': '業務級',
|
|
297
|
+
'registry.scope.channel': '渠道級',
|
|
298
|
+
'registry.scope.board': '業務×渠道'
|
|
299
|
+
}
|
|
300
|
+
};
|
|
@@ -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>>;
|