@pisell/private-materials 6.6.5 → 6.6.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 +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/Footer/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Services/index.js +25 -22
- package/es/components/appointmentBooking/components/Voucher/index.js +15 -1
- package/es/components/booking/addons/index.js +25 -17
- package/es/components/booking/components/actionButtons/index.js +3 -1
- 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 +36 -33
- package/es/components/booking/components/footer/utils.d.ts +19 -0
- package/es/components/booking/components/footer/utils.js +166 -67
- package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
- package/es/components/booking/components/voucher/index.js +53 -15
- package/es/components/booking/forms/table/index.d.ts +0 -1
- 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/dateRange/index.d.ts +0 -1
- package/es/components/booking/info/service/like/index.d.ts +0 -1
- package/es/components/booking/info/service2/utils.js +1 -0
- package/es/components/booking/info2/cartClientCard/index.js +5 -3
- package/es/components/booking/info2/service/addService/index.js +9 -9
- package/es/components/booking/info2/service/editNormalService/index.js +6 -0
- package/es/components/booking/info2/service/editService/index.js +27 -17
- 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/materiels/startTime/index.d.ts +0 -1
- package/es/components/booking/utils.d.ts +1 -0
- package/es/components/booking/utils.js +15 -2
- package/es/components/checkout/components/AmountSummary/index.less +4 -5
- package/es/components/eftpos/deviceList/index.d.ts +0 -1
- package/es/components/eftpos/form/index.d.ts +0 -1
- package/es/components/eftpos/group/index.d.ts +0 -1
- package/es/components/eftpos/hooks.d.ts +0 -1
- package/es/components/eftpos/icon/apiKey.d.ts +0 -1
- package/es/components/eftpos/icon/device.d.ts +0 -1
- package/es/components/eftpos/receipt/index.d.ts +0 -1
- package/es/components/eftposPay/component/alert/warn.d.ts +0 -1
- package/es/components/eftposPay/component/header/titlebar.d.ts +0 -1
- package/es/components/eftposPay/component/step/index.d.ts +0 -1
- package/es/components/eftposPay/component/step/step.d.ts +0 -1
- package/es/components/eftposPay/linkly/hooks/useTimeQuery.js +14 -6
- package/es/components/eftposPay/payo/config.d.ts +1 -0
- 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 +1 -1
- package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
- 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/Provider/InformationOptionsModal/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/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 -2
- package/es/components/index.js +2 -2
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +13 -11
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
- 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/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
- 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/productExtension/fields/Forms/index.d.ts +0 -1
- package/es/components/schedules/calendar/calendarItem.d.ts +0 -1
- package/es/components/schedules/components/CurrentDay/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
- package/es/components/schedules/products/index.d.ts +0 -1
- package/es/components/schedules/resources/relationProduct/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/{wallet/serve.js → systemSettings/registry/components/GroupModal.js} +145 -190
- 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/addServiceVariant/addService.js +7 -5
- package/es/components/ticketBooking/utils/index.d.ts +5 -1
- package/es/components/ticketBooking/utils/index.js +37 -17
- package/es/components/walletList/index.d.ts +0 -25
- package/es/components/walletList/index.js +173 -41
- package/es/components/walletList/locales.d.ts +9 -0
- package/es/components/walletList/locales.js +12 -3
- package/es/components/walletList/serve.d.ts +19 -0
- package/es/components/walletList/serve.js +94 -5
- package/es/components/walletList/tempHolderSelector/index.d.ts +14 -0
- package/es/components/walletList/tempHolderSelector/index.js +196 -0
- package/es/components/walletList/tempHolderSelector/index.less +63 -0
- package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
- package/es/index.d.ts +3 -2
- package/es/index.js +4 -3
- package/es/plus/clientName/index.d.ts +0 -1
- package/es/plus/walletEditor/WalletEditor.js +60 -2
- package/es/plus/walletEditor/locales.d.ts +9 -0
- package/es/plus/walletEditor/locales.js +12 -3
- 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.js +5 -1
- package/es/plus/walletPassGallery/components/passDetail/index.less +4 -0
- package/es/plus/walletPassGallery/components/passList/index.d.ts +1 -0
- package/es/plus/walletPassGallery/components/passList/index.js +17 -5
- package/es/plus/walletPassGallery/components/recharge/index.js +19 -8
- package/es/plus/walletPassGallery/index.js +226 -42
- package/es/plus/walletPassGallery/locales.d.ts +15 -0
- package/es/plus/walletPassGallery/locales.js +29 -5
- package/es/plus/walletPassGallery/serve.d.ts +15 -1
- package/es/plus/walletPassGallery/serve.js +59 -2
- package/es/plus/walletPassGallery/utils.d.ts +48 -0
- package/es/plus/walletPassGallery/utils.js +342 -0
- package/es/pro/Login2.0/index.less +15 -8
- package/es/pro/pisellPaymentList/example.d.ts +0 -1
- package/es/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.js +35 -30
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Services/index.js +5 -2
- package/lib/components/appointmentBooking/components/Voucher/index.js +13 -1
- package/lib/components/booking/addons/index.js +15 -7
- package/lib/components/booking/components/actionButtons/index.js +4 -2
- 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 +5 -2
- package/lib/components/booking/components/footer/utils.d.ts +19 -0
- package/lib/components/booking/components/footer/utils.js +111 -35
- package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
- package/lib/components/booking/components/voucher/index.js +56 -16
- package/lib/components/booking/forms/table/index.d.ts +0 -1
- 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/dateRange/index.d.ts +0 -1
- package/lib/components/booking/info/service/like/index.d.ts +0 -1
- package/lib/components/booking/info/service2/utils.js +1 -0
- package/lib/components/booking/info2/cartClientCard/index.js +4 -2
- package/lib/components/booking/info2/service/addService/index.js +1 -1
- package/lib/components/booking/info2/service/editNormalService/index.js +6 -0
- package/lib/components/booking/info2/service/editService/index.js +30 -8
- 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/materiels/startTime/index.d.ts +0 -1
- package/lib/components/booking/utils.d.ts +1 -0
- package/lib/components/booking/utils.js +11 -0
- package/lib/components/checkout/components/AmountSummary/index.less +4 -5
- package/lib/components/eftpos/deviceList/index.d.ts +0 -1
- package/lib/components/eftpos/form/index.d.ts +0 -1
- package/lib/components/eftpos/group/index.d.ts +0 -1
- package/lib/components/eftpos/hooks.d.ts +0 -1
- package/lib/components/eftpos/icon/apiKey.d.ts +0 -1
- package/lib/components/eftpos/icon/device.d.ts +0 -1
- package/lib/components/eftpos/receipt/index.d.ts +0 -1
- package/lib/components/eftposPay/component/alert/warn.d.ts +0 -1
- package/lib/components/eftposPay/component/header/titlebar.d.ts +0 -1
- package/lib/components/eftposPay/component/step/index.d.ts +0 -1
- package/lib/components/eftposPay/component/step/step.d.ts +0 -1
- package/lib/components/eftposPay/linkly/hooks/useTimeQuery.js +12 -6
- package/lib/components/eftposPay/payo/config.d.ts +1 -0
- 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 +1 -1
- package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
- 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/Provider/InformationOptionsModal/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/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 -2
- package/lib/components/index.js +3 -3
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +13 -11
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
- 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/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
- 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/productExtension/fields/Forms/index.d.ts +0 -1
- package/lib/components/schedules/calendar/calendarItem.d.ts +0 -1
- package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
- package/lib/components/schedules/products/index.d.ts +0 -1
- package/lib/components/schedules/resources/relationProduct/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/{wallet → systemSettings/registry}/components/index.js +13 -10
- 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/{wallet/RechargeableCard/serve.js → systemSettings/registry/types.js} +3 -19
- 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/addServiceVariant/addService.js +9 -7
- package/lib/components/ticketBooking/utils/index.d.ts +5 -1
- package/lib/components/ticketBooking/utils/index.js +21 -6
- package/lib/components/walletList/index.d.ts +0 -25
- package/lib/components/walletList/index.js +100 -4
- package/lib/components/walletList/locales.d.ts +9 -0
- package/lib/components/walletList/locales.js +12 -3
- package/lib/components/walletList/serve.d.ts +19 -0
- package/lib/components/walletList/serve.js +26 -3
- package/lib/components/walletList/tempHolderSelector/index.d.ts +14 -0
- package/lib/components/walletList/tempHolderSelector/index.js +166 -0
- package/lib/components/walletList/tempHolderSelector/index.less +63 -0
- package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
- package/lib/index.d.ts +3 -2
- package/lib/index.js +5 -2
- package/lib/plus/clientName/index.d.ts +0 -1
- package/lib/plus/walletEditor/WalletEditor.js +53 -0
- package/lib/plus/walletEditor/locales.d.ts +9 -0
- package/lib/plus/walletEditor/locales.js +12 -3
- 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.js +4 -1
- package/lib/plus/walletPassGallery/components/passDetail/index.less +4 -0
- package/lib/plus/walletPassGallery/components/passList/index.d.ts +1 -0
- package/lib/plus/walletPassGallery/components/passList/index.js +16 -4
- package/lib/plus/walletPassGallery/components/recharge/index.js +7 -1
- package/lib/plus/walletPassGallery/index.js +157 -28
- package/lib/plus/walletPassGallery/locales.d.ts +15 -0
- package/lib/plus/walletPassGallery/locales.js +32 -5
- package/lib/plus/walletPassGallery/serve.d.ts +15 -1
- package/lib/plus/walletPassGallery/serve.js +17 -5
- package/lib/plus/walletPassGallery/utils.d.ts +48 -0
- package/lib/plus/walletPassGallery/utils.js +287 -0
- package/lib/pro/Login2.0/index.less +15 -8
- package/lib/pro/pisellPaymentList/example.d.ts +0 -1
- package/lib/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.js +34 -39
- package/lowcode/settings-registry/meta.ts +29 -0
- package/package.json +3 -3
- package/es/components/wallet/Detail/index.d.ts +0 -42
- package/es/components/wallet/Detail/index.js +0 -1182
- package/es/components/wallet/Detail/index.less +0 -386
- package/es/components/wallet/Detail/locales.d.ts +0 -153
- package/es/components/wallet/Detail/locales.js +0 -170
- package/es/components/wallet/Detail/model.d.ts +0 -13
- package/es/components/wallet/Detail/model.js +0 -22
- package/es/components/wallet/Detail/serve.d.ts +0 -39
- package/es/components/wallet/Detail/serve.js +0 -64
- package/es/components/wallet/DetailContext.d.ts +0 -25
- package/es/components/wallet/DetailContext.js +0 -162
- package/es/components/wallet/DiscountCard/index.d.ts +0 -3
- package/es/components/wallet/DiscountCard/index.js +0 -218
- package/es/components/wallet/DiscountCard/index.less +0 -9
- package/es/components/wallet/DiscountCard/model.d.ts +0 -14
- package/es/components/wallet/DiscountCard/model.js +0 -22
- package/es/components/wallet/PointCard/index.d.ts +0 -3
- package/es/components/wallet/PointCard/index.js +0 -169
- package/es/components/wallet/PointCard/index.less +0 -9
- package/es/components/wallet/PointCard/model.d.ts +0 -13
- package/es/components/wallet/PointCard/model.js +0 -22
- package/es/components/wallet/RechargeableCard/index.d.ts +0 -13
- package/es/components/wallet/RechargeableCard/index.js +0 -463
- package/es/components/wallet/RechargeableCard/index.less +0 -108
- package/es/components/wallet/RechargeableCard/model.d.ts +0 -29
- package/es/components/wallet/RechargeableCard/model.js +0 -28
- package/es/components/wallet/RechargeableCard/serve.d.ts +0 -23
- package/es/components/wallet/RechargeableCard/serve.js +0 -32
- package/es/components/wallet/Voucher/index.d.ts +0 -12
- package/es/components/wallet/Voucher/index.js +0 -131
- package/es/components/wallet/Voucher/index.less +0 -9
- package/es/components/wallet/Voucher/locales.d.ts +0 -21
- package/es/components/wallet/Voucher/locales.js +0 -20
- package/es/components/wallet/Voucher/model.d.ts +0 -13
- package/es/components/wallet/Voucher/model.js +0 -22
- package/es/components/wallet/carouselArrow.png +0 -0
- package/es/components/wallet/components/FooterButtons/index.d.ts +0 -18
- package/es/components/wallet/components/FooterButtons/index.js +0 -81
- package/es/components/wallet/components/FooterButtons/index.less +0 -91
- package/es/components/wallet/components/UsageRules/index.d.ts +0 -23
- package/es/components/wallet/components/UsageRules/index.js +0 -147
- package/es/components/wallet/components/UsageRules/index.less +0 -157
- package/es/components/wallet/components/WalletBar/index.d.ts +0 -8
- package/es/components/wallet/components/WalletBar/index.js +0 -19
- package/es/components/wallet/components/WalletBar/index.less +0 -36
- package/es/components/wallet/components/WalletCard.d.ts +0 -11
- package/es/components/wallet/components/WalletCard.js +0 -91
- package/es/components/wallet/components/index.d.ts +0 -3
- package/es/components/wallet/components/index.js +0 -4
- package/es/components/wallet/hooks/useWalletCard.d.ts +0 -34
- package/es/components/wallet/hooks/useWalletCard.js +0 -147
- package/es/components/wallet/index.d.ts +0 -10
- package/es/components/wallet/index.js +0 -807
- package/es/components/wallet/index.less +0 -151
- package/es/components/wallet/locales.d.ts +0 -132
- package/es/components/wallet/locales.js +0 -139
- package/es/components/wallet/model.d.ts +0 -37
- package/es/components/wallet/model.js +0 -86
- package/es/components/wallet/serve.d.ts +0 -150
- package/es/components/wallet/utils/formatUtils.d.ts +0 -36
- package/es/components/wallet/utils/formatUtils.js +0 -73
- package/lib/components/wallet/Detail/index.d.ts +0 -42
- package/lib/components/wallet/Detail/index.js +0 -874
- package/lib/components/wallet/Detail/index.less +0 -386
- package/lib/components/wallet/Detail/locales.d.ts +0 -153
- package/lib/components/wallet/Detail/locales.js +0 -194
- package/lib/components/wallet/Detail/model.d.ts +0 -13
- package/lib/components/wallet/Detail/model.js +0 -43
- package/lib/components/wallet/Detail/serve.d.ts +0 -39
- package/lib/components/wallet/Detail/serve.js +0 -44
- package/lib/components/wallet/DetailContext.d.ts +0 -25
- package/lib/components/wallet/DetailContext.js +0 -118
- package/lib/components/wallet/DiscountCard/index.d.ts +0 -3
- package/lib/components/wallet/DiscountCard/index.js +0 -209
- package/lib/components/wallet/DiscountCard/index.less +0 -9
- package/lib/components/wallet/DiscountCard/model.d.ts +0 -14
- package/lib/components/wallet/DiscountCard/model.js +0 -43
- package/lib/components/wallet/PointCard/index.d.ts +0 -3
- package/lib/components/wallet/PointCard/index.js +0 -190
- package/lib/components/wallet/PointCard/index.less +0 -9
- package/lib/components/wallet/PointCard/model.d.ts +0 -13
- package/lib/components/wallet/PointCard/model.js +0 -43
- package/lib/components/wallet/RechargeableCard/index.d.ts +0 -13
- package/lib/components/wallet/RechargeableCard/index.js +0 -380
- package/lib/components/wallet/RechargeableCard/index.less +0 -108
- package/lib/components/wallet/RechargeableCard/model.d.ts +0 -29
- package/lib/components/wallet/RechargeableCard/model.js +0 -49
- package/lib/components/wallet/RechargeableCard/serve.d.ts +0 -23
- package/lib/components/wallet/Voucher/index.d.ts +0 -12
- package/lib/components/wallet/Voucher/index.js +0 -146
- package/lib/components/wallet/Voucher/index.less +0 -9
- package/lib/components/wallet/Voucher/locales.d.ts +0 -21
- package/lib/components/wallet/Voucher/locales.js +0 -44
- package/lib/components/wallet/Voucher/model.d.ts +0 -13
- package/lib/components/wallet/Voucher/model.js +0 -43
- package/lib/components/wallet/carouselArrow.png +0 -0
- package/lib/components/wallet/components/FooterButtons/index.d.ts +0 -18
- package/lib/components/wallet/components/FooterButtons/index.js +0 -109
- package/lib/components/wallet/components/FooterButtons/index.less +0 -91
- package/lib/components/wallet/components/UsageRules/index.d.ts +0 -23
- package/lib/components/wallet/components/UsageRules/index.js +0 -113
- package/lib/components/wallet/components/UsageRules/index.less +0 -157
- package/lib/components/wallet/components/WalletBar/index.d.ts +0 -8
- package/lib/components/wallet/components/WalletBar/index.js +0 -49
- package/lib/components/wallet/components/WalletBar/index.less +0 -36
- package/lib/components/wallet/components/WalletCard.d.ts +0 -11
- package/lib/components/wallet/components/WalletCard.js +0 -97
- package/lib/components/wallet/components/index.d.ts +0 -3
- package/lib/components/wallet/hooks/useWalletCard.d.ts +0 -34
- package/lib/components/wallet/hooks/useWalletCard.js +0 -111
- package/lib/components/wallet/index.d.ts +0 -10
- package/lib/components/wallet/index.js +0 -580
- package/lib/components/wallet/index.less +0 -151
- package/lib/components/wallet/locales.d.ts +0 -132
- package/lib/components/wallet/locales.js +0 -163
- package/lib/components/wallet/model.d.ts +0 -37
- package/lib/components/wallet/model.js +0 -91
- package/lib/components/wallet/serve.d.ts +0 -150
- package/lib/components/wallet/serve.js +0 -85
- package/lib/components/wallet/utils/formatUtils.d.ts +0 -36
- package/lib/components/wallet/utils/formatUtils.js +0 -73
|
@@ -0,0 +1,324 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
|
|
19
|
+
// src/components/systemSettings/registry/locales.ts
|
|
20
|
+
var locales_exports = {};
|
|
21
|
+
__export(locales_exports, {
|
|
22
|
+
default: () => locales_default
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(locales_exports);
|
|
25
|
+
var locales_default = {
|
|
26
|
+
en: {
|
|
27
|
+
// 页面标题
|
|
28
|
+
"registry.title": "Settings Registry",
|
|
29
|
+
"registry.sections.title": "Sections",
|
|
30
|
+
"registry.sections.empty": "No sections configured",
|
|
31
|
+
"registry.sections.loadMore": "Scroll to load more",
|
|
32
|
+
"registry.sections.noMore": "No more data",
|
|
33
|
+
// 表格表头
|
|
34
|
+
"registry.table.title": "Title",
|
|
35
|
+
"registry.table.name": "Name",
|
|
36
|
+
"registry.table.key": "Key",
|
|
37
|
+
"registry.table.type": "Type",
|
|
38
|
+
"registry.table.interface": "Interface",
|
|
39
|
+
"registry.table.scopes": "Scopes",
|
|
40
|
+
"registry.table.default": "Default",
|
|
41
|
+
"registry.table.description": "Description",
|
|
42
|
+
"registry.table.actions": "Actions",
|
|
43
|
+
// 层级标签
|
|
44
|
+
"registry.level.group": "Group",
|
|
45
|
+
"registry.level.item": "Item",
|
|
46
|
+
// 操作按钮
|
|
47
|
+
"registry.action.add.group": "Add Group",
|
|
48
|
+
"registry.action.add.item": "Add Field",
|
|
49
|
+
"registry.action.edit": "Edit",
|
|
50
|
+
"registry.action.delete": "Delete",
|
|
51
|
+
"registry.action.expand": "Expand",
|
|
52
|
+
"registry.action.collapse": "Collapse",
|
|
53
|
+
// 模态框
|
|
54
|
+
"registry.modal.add.group": "Create Group",
|
|
55
|
+
"registry.modal.edit.group": "Edit Group",
|
|
56
|
+
"registry.modal.add.item": "Add Setting Item",
|
|
57
|
+
"registry.modal.edit.item": "Edit Setting Item",
|
|
58
|
+
"registry.modal.delete.title": "Confirm Delete",
|
|
59
|
+
"registry.modal.delete.group.content": "Are you sure you want to delete this group and all its items?",
|
|
60
|
+
"registry.modal.delete.group.hasItems.title": "Cannot Delete Group",
|
|
61
|
+
"registry.modal.delete.group.hasItems.content": "Cannot delete a group that contains fields. Remove or move all fields first.",
|
|
62
|
+
"registry.modal.delete.item.content": "Are you sure you want to delete this setting item?",
|
|
63
|
+
// 表单字段
|
|
64
|
+
"registry.form.title": "Title",
|
|
65
|
+
"registry.form.name": "Name",
|
|
66
|
+
"registry.form.name.placeholder": "Please enter name",
|
|
67
|
+
"registry.form.code": "Code",
|
|
68
|
+
"registry.form.code.placeholder": "Please enter code",
|
|
69
|
+
"registry.form.key": "Key",
|
|
70
|
+
"registry.form.key.placeholder": "Please enter key",
|
|
71
|
+
"registry.form.fieldType": "Field Type",
|
|
72
|
+
"registry.form.fieldType.placeholder": "Please select field type",
|
|
73
|
+
"registry.form.interfaceType": "Interface Type",
|
|
74
|
+
"registry.form.interfaceType.placeholder": "Please select interface type",
|
|
75
|
+
"registry.form.scopes": "Scopes",
|
|
76
|
+
"registry.form.scopes.placeholder": "Please select scopes",
|
|
77
|
+
"registry.form.description": "Description",
|
|
78
|
+
"registry.form.description.placeholder": "Please enter description",
|
|
79
|
+
"registry.form.systemDefaultValue": "System Default Value",
|
|
80
|
+
"registry.form.systemDefaultValue.placeholder": "Please enter system default value",
|
|
81
|
+
"registry.form.uiSchema": "UI Schema (JSON)",
|
|
82
|
+
"registry.form.uiSchema.placeholder": "Please enter UI schema in JSON format",
|
|
83
|
+
// 按钮
|
|
84
|
+
"registry.button.ok": "OK",
|
|
85
|
+
"registry.button.cancel": "Cancel",
|
|
86
|
+
"registry.button.save": "Save",
|
|
87
|
+
// 消息提示
|
|
88
|
+
"registry.message.save.success": "Saved successfully",
|
|
89
|
+
"registry.message.delete.success": "Deleted successfully",
|
|
90
|
+
"registry.message.required": "This field is required",
|
|
91
|
+
"registry.message.code.exists": "Code already exists",
|
|
92
|
+
"registry.message.key.exists": "Key already exists",
|
|
93
|
+
"registry.message.code.pattern": "Code can only contain letters, numbers, dots, underscores and hyphens",
|
|
94
|
+
"registry.message.key.pattern": "Key can only contain lowercase letters, numbers, dots, underscores",
|
|
95
|
+
"registry.message.code.format": "Can only contain lowercase letters, numbers, dots, and underscores",
|
|
96
|
+
"registry.message.code.start": "Must start with a letter",
|
|
97
|
+
"registry.message.code.end": "Cannot end with a dot or underscore",
|
|
98
|
+
"registry.message.code.consecutive": "Cannot contain consecutive dots or underscores",
|
|
99
|
+
"registry.message.name.maxLength": "Name maximum length is 100 characters",
|
|
100
|
+
"registry.message.key.maxLength": "Key maximum length is 100 characters",
|
|
101
|
+
"registry.message.description.maxLength": "Description maximum length is 500 characters",
|
|
102
|
+
"registry.message.uiSchema.invalid": "Please enter valid JSON format",
|
|
103
|
+
"registry.message.select.section": "Please select a section",
|
|
104
|
+
"registry.message.loading.groups": "Loading group data...",
|
|
105
|
+
"registry.message.no.settings": "No settings available",
|
|
106
|
+
"registry.message.load.failed": "Failed to load data",
|
|
107
|
+
"registry.message.create.group.error": "Failed to create",
|
|
108
|
+
// 拖拽相关
|
|
109
|
+
"registry.drag.drop.here": "Drop item here",
|
|
110
|
+
"registry.empty.container.placeholder": "Drag setting items to this group",
|
|
111
|
+
"registry.message.update.group.error": "Failed to update",
|
|
112
|
+
"registry.message.delete.group.error": "Failed to delete",
|
|
113
|
+
"registry.message.create.item.error": "Failed to create",
|
|
114
|
+
"registry.message.update.item.error": "Failed to update",
|
|
115
|
+
"registry.message.delete.item.error": "Failed to delete",
|
|
116
|
+
"registry.message.reorder.success": "Updated successfully",
|
|
117
|
+
"registry.message.reorder.error": "Failed to update",
|
|
118
|
+
"registry.message.move.success": "Updated successfully",
|
|
119
|
+
"registry.message.move.error": "Failed to update",
|
|
120
|
+
// 作用域选项
|
|
121
|
+
"registry.scope.systemDefault": "System Default",
|
|
122
|
+
"registry.scope.saasDefault": "SaaS Default",
|
|
123
|
+
"registry.scope.organization": "Organization",
|
|
124
|
+
"registry.scope.business": "Business",
|
|
125
|
+
"registry.scope.channel": "Channel",
|
|
126
|
+
"registry.scope.board": "Board"
|
|
127
|
+
},
|
|
128
|
+
"zh-CN": {
|
|
129
|
+
// 页面标题
|
|
130
|
+
"registry.title": "设置注册表",
|
|
131
|
+
"registry.sections.title": "版块",
|
|
132
|
+
"registry.sections.empty": "暂无配置版块",
|
|
133
|
+
"registry.sections.loadMore": "滚动加载更多",
|
|
134
|
+
"registry.sections.noMore": "没有更多数据",
|
|
135
|
+
// 表格表头
|
|
136
|
+
"registry.table.title": "标题",
|
|
137
|
+
"registry.table.name": "名称",
|
|
138
|
+
"registry.table.key": "键",
|
|
139
|
+
"registry.table.type": "类型",
|
|
140
|
+
"registry.table.interface": "界面",
|
|
141
|
+
"registry.table.scopes": "作用域",
|
|
142
|
+
"registry.table.default": "默认值",
|
|
143
|
+
"registry.table.description": "描述",
|
|
144
|
+
"registry.table.actions": "操作",
|
|
145
|
+
// 层级标签
|
|
146
|
+
"registry.level.group": "组",
|
|
147
|
+
"registry.level.item": "设置项",
|
|
148
|
+
// 操作按钮
|
|
149
|
+
"registry.action.add.group": "添加组",
|
|
150
|
+
"registry.action.add.item": "添加字段",
|
|
151
|
+
"registry.action.edit": "编辑",
|
|
152
|
+
"registry.action.delete": "删除",
|
|
153
|
+
"registry.action.expand": "展开",
|
|
154
|
+
"registry.action.collapse": "收起",
|
|
155
|
+
// 模态框
|
|
156
|
+
"registry.modal.add.group": "创建组",
|
|
157
|
+
"registry.modal.edit.group": "编辑组",
|
|
158
|
+
"registry.modal.add.item": "添加设置项",
|
|
159
|
+
"registry.modal.edit.item": "编辑设置项",
|
|
160
|
+
"registry.modal.delete.title": "确认删除",
|
|
161
|
+
"registry.modal.delete.group.content": "确定要删除此组及其所有设置项吗?",
|
|
162
|
+
"registry.modal.delete.group.hasItems.title": "无法删除组",
|
|
163
|
+
"registry.modal.delete.group.hasItems.content": "分组下存在字段,无法删除。请先移除或迁移所有字段。",
|
|
164
|
+
"registry.modal.delete.item.content": "确定要删除此设置项吗?",
|
|
165
|
+
// 表单字段
|
|
166
|
+
"registry.form.title": "标题",
|
|
167
|
+
"registry.form.name": "名称",
|
|
168
|
+
"registry.form.name.placeholder": "请输入名称",
|
|
169
|
+
"registry.form.code": "代码",
|
|
170
|
+
"registry.form.code.placeholder": "请输入代码",
|
|
171
|
+
"registry.form.key": "键",
|
|
172
|
+
"registry.form.key.placeholder": "请输入键",
|
|
173
|
+
"registry.form.fieldType": "字段类型",
|
|
174
|
+
"registry.form.fieldType.placeholder": "请选择字段类型",
|
|
175
|
+
"registry.form.interfaceType": "界面类型",
|
|
176
|
+
"registry.form.interfaceType.placeholder": "请选择界面类型",
|
|
177
|
+
"registry.form.scopes": "作用域",
|
|
178
|
+
"registry.form.scopes.placeholder": "请选择作用域",
|
|
179
|
+
"registry.form.description": "描述",
|
|
180
|
+
"registry.form.description.placeholder": "请输入描述",
|
|
181
|
+
"registry.form.systemDefaultValue": "系统默认值",
|
|
182
|
+
"registry.form.systemDefaultValue.placeholder": "请输入系统默认值",
|
|
183
|
+
"registry.form.uiSchema": "UI Schema (JSON)",
|
|
184
|
+
"registry.form.uiSchema.placeholder": "请输入JSON格式的UI配置",
|
|
185
|
+
// 按钮
|
|
186
|
+
"registry.button.ok": "确定",
|
|
187
|
+
"registry.button.cancel": "取消",
|
|
188
|
+
"registry.button.save": "保存",
|
|
189
|
+
// 消息提示
|
|
190
|
+
"registry.message.save.success": "保存成功",
|
|
191
|
+
"registry.message.delete.success": "删除成功",
|
|
192
|
+
"registry.message.required": "此字段为必填项",
|
|
193
|
+
"registry.message.code.exists": "代码已存在",
|
|
194
|
+
"registry.message.key.exists": "键已存在",
|
|
195
|
+
"registry.message.code.pattern": "代码只能包含字母、数字、点、下划线和横线",
|
|
196
|
+
"registry.message.key.pattern": "键只能包含小写字母、数字、点、下划线",
|
|
197
|
+
"registry.message.code.format": "只能包含小写字母、数字、点和下划线",
|
|
198
|
+
"registry.message.code.start": "必须以字母开头",
|
|
199
|
+
"registry.message.code.end": "不能以点或下划线结尾",
|
|
200
|
+
"registry.message.code.consecutive": "不能包含连续的点或下划线",
|
|
201
|
+
"registry.message.name.maxLength": "名称最大长度为100个字符",
|
|
202
|
+
"registry.message.key.maxLength": "键最大长度为100个字符",
|
|
203
|
+
"registry.message.description.maxLength": "描述最大长度为500个字符",
|
|
204
|
+
"registry.message.uiSchema.invalid": "请输入有效的JSON格式",
|
|
205
|
+
"registry.message.select.section": "请选择一个版块",
|
|
206
|
+
"registry.message.loading.groups": "加载组数据中...",
|
|
207
|
+
"registry.message.no.settings": "暂无设置项",
|
|
208
|
+
"registry.message.load.failed": "加载数据失败",
|
|
209
|
+
"registry.message.create.group.error": "创建失败",
|
|
210
|
+
"registry.message.update.group.error": "更新失败",
|
|
211
|
+
"registry.message.delete.group.error": "删除失败",
|
|
212
|
+
"registry.message.create.item.error": "创建失败",
|
|
213
|
+
"registry.message.update.item.error": "更新失败",
|
|
214
|
+
"registry.message.delete.item.error": "删除失败",
|
|
215
|
+
"registry.message.reorder.success": "更新成功",
|
|
216
|
+
"registry.message.reorder.error": "更新失败",
|
|
217
|
+
"registry.message.move.success": "更新成功",
|
|
218
|
+
"registry.message.move.error": "更新失败",
|
|
219
|
+
// 拖拽相关
|
|
220
|
+
"registry.drag.drop.here": "拖放到此处",
|
|
221
|
+
"registry.empty.container.placeholder": "拖放设置项到此组",
|
|
222
|
+
// 作用域选项
|
|
223
|
+
"registry.scope.systemDefault": "系统默认",
|
|
224
|
+
"registry.scope.saasDefault": "SaaS默认",
|
|
225
|
+
"registry.scope.organization": "企业租户",
|
|
226
|
+
"registry.scope.business": "业务级",
|
|
227
|
+
"registry.scope.channel": "渠道级",
|
|
228
|
+
"registry.scope.board": "业务×渠道"
|
|
229
|
+
},
|
|
230
|
+
"zh-HK": {
|
|
231
|
+
// 页面标题
|
|
232
|
+
"registry.title": "設置註冊表",
|
|
233
|
+
"registry.sections.title": "版塊",
|
|
234
|
+
"registry.sections.empty": "暫無配置版塊",
|
|
235
|
+
"registry.sections.loadMore": "滾動加載更多",
|
|
236
|
+
"registry.sections.noMore": "沒有更多數據",
|
|
237
|
+
// 表格表头
|
|
238
|
+
"registry.table.title": "標題",
|
|
239
|
+
"registry.table.name": "名稱",
|
|
240
|
+
"registry.table.key": "鍵",
|
|
241
|
+
"registry.table.scopes": "作用域",
|
|
242
|
+
"registry.table.actions": "操作",
|
|
243
|
+
// 层级标签
|
|
244
|
+
"registry.level.group": "組",
|
|
245
|
+
"registry.level.item": "設置項",
|
|
246
|
+
// 操作按钮
|
|
247
|
+
"registry.action.add.group": "添加組",
|
|
248
|
+
"registry.action.add.item": "添加字段",
|
|
249
|
+
"registry.action.edit": "編輯",
|
|
250
|
+
"registry.action.delete": "刪除",
|
|
251
|
+
"registry.action.expand": "展開",
|
|
252
|
+
"registry.action.collapse": "收起",
|
|
253
|
+
// 模态框
|
|
254
|
+
"registry.modal.add.group": "創建組",
|
|
255
|
+
"registry.modal.edit.group": "編輯組",
|
|
256
|
+
"registry.modal.add.item": "添加設置項",
|
|
257
|
+
"registry.modal.edit.item": "編輯設置項",
|
|
258
|
+
"registry.modal.delete.title": "確認刪除",
|
|
259
|
+
"registry.modal.delete.group.content": "確定要刪除此組及其所有設置項嗎?",
|
|
260
|
+
"registry.modal.delete.group.hasItems.title": "無法刪除組",
|
|
261
|
+
"registry.modal.delete.group.hasItems.content": "分組下存在字段,無法刪除。請先移除或遷移所有字段。",
|
|
262
|
+
"registry.modal.delete.item.content": "確定要刪除此設置項嗎?",
|
|
263
|
+
// 表单字段
|
|
264
|
+
"registry.form.title": "標題",
|
|
265
|
+
"registry.form.name": "名稱",
|
|
266
|
+
"registry.form.name.placeholder": "請輸入名稱",
|
|
267
|
+
"registry.form.code": "代碼",
|
|
268
|
+
"registry.form.code.placeholder": "請輸入代碼",
|
|
269
|
+
"registry.form.key": "鍵",
|
|
270
|
+
"registry.form.key.placeholder": "請輸入鍵",
|
|
271
|
+
"registry.form.fieldType": "字段類型",
|
|
272
|
+
"registry.form.fieldType.placeholder": "請選擇字段類型",
|
|
273
|
+
"registry.form.interfaceType": "界面類型",
|
|
274
|
+
"registry.form.interfaceType.placeholder": "請選擇界面類型",
|
|
275
|
+
"registry.form.scopes": "作用域",
|
|
276
|
+
"registry.form.scopes.placeholder": "請選擇作用域",
|
|
277
|
+
"registry.form.description": "描述",
|
|
278
|
+
"registry.form.description.placeholder": "請輸入描述",
|
|
279
|
+
"registry.form.systemDefaultValue": "系統默認值",
|
|
280
|
+
"registry.form.systemDefaultValue.placeholder": "請輸入系統默認值",
|
|
281
|
+
"registry.form.uiSchema": "UI Schema (JSON)",
|
|
282
|
+
"registry.form.uiSchema.placeholder": "請輸入JSON格式的UI配置",
|
|
283
|
+
// 按钮
|
|
284
|
+
"registry.button.ok": "確定",
|
|
285
|
+
"registry.button.cancel": "取消",
|
|
286
|
+
"registry.button.save": "保存",
|
|
287
|
+
// 消息提示
|
|
288
|
+
"registry.message.save.success": "保存成功",
|
|
289
|
+
"registry.message.delete.success": "刪除成功",
|
|
290
|
+
"registry.message.required": "此字段為必填項",
|
|
291
|
+
"registry.message.code.exists": "代碼已存在",
|
|
292
|
+
"registry.message.key.exists": "鍵已存在",
|
|
293
|
+
"registry.message.code.pattern": "代碼只能包含字母、數字、點、下劃線和橫線",
|
|
294
|
+
"registry.message.key.pattern": "鍵只能包含小寫字母、數字、點、下劃線",
|
|
295
|
+
"registry.message.code.format": "只能包含小寫字母、數字、點和下劃線",
|
|
296
|
+
"registry.message.code.start": "必須以字母開頭",
|
|
297
|
+
"registry.message.code.end": "不能以點或下劃線結尾",
|
|
298
|
+
"registry.message.code.consecutive": "不能包含連續的點或下劃線",
|
|
299
|
+
"registry.message.name.maxLength": "名稱最大長度為100個字符",
|
|
300
|
+
"registry.message.key.maxLength": "鍵最大長度為100個字符",
|
|
301
|
+
"registry.message.description.maxLength": "描述最大長度為500個字符",
|
|
302
|
+
"registry.message.select.section": "請選擇一個版塊",
|
|
303
|
+
"registry.message.loading.groups": "加載組數據中...",
|
|
304
|
+
"registry.message.no.settings": "暫無設置項",
|
|
305
|
+
"registry.message.load.failed": "加載數據失敗",
|
|
306
|
+
"registry.message.create.group.error": "創建失敗",
|
|
307
|
+
"registry.message.update.group.error": "更新失敗",
|
|
308
|
+
"registry.message.delete.group.error": "刪除失敗",
|
|
309
|
+
"registry.message.create.item.error": "創建失敗",
|
|
310
|
+
"registry.message.update.item.error": "更新失敗",
|
|
311
|
+
"registry.message.delete.item.error": "刪除失敗",
|
|
312
|
+
"registry.message.reorder.success": "更新成功",
|
|
313
|
+
"registry.message.reorder.error": "更新失敗",
|
|
314
|
+
"registry.message.move.success": "更新成功",
|
|
315
|
+
"registry.message.move.error": "更新失敗",
|
|
316
|
+
// 作用域选项
|
|
317
|
+
"registry.scope.systemDefault": "系統默認",
|
|
318
|
+
"registry.scope.saasDefault": "SaaS默認",
|
|
319
|
+
"registry.scope.organization": "企業租戶",
|
|
320
|
+
"registry.scope.business": "業務級",
|
|
321
|
+
"registry.scope.channel": "渠道級",
|
|
322
|
+
"registry.scope.board": "業務×渠道"
|
|
323
|
+
}
|
|
324
|
+
};
|
|
@@ -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>>;
|