@pisell/private-materials 6.6.44 → 6.6.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/components/appointmentBooking/components/Voucher/index.js +22 -7
- package/es/components/booking/addons/index.js +3 -2
- package/es/components/booking/addons/model.d.ts +10 -1
- package/es/components/booking/components/footer/amount.js +1 -1
- package/es/components/booking/components/footer/index.js +7 -0
- package/es/components/booking/components/footer/utils.d.ts +1 -1
- package/es/components/booking/components/footer/utils.js +7 -5
- package/es/components/booking/components/voucher/index.js +6 -0
- package/es/components/booking/components/voucher/index.less +4 -1
- package/es/components/booking/components/voucherModal/index.less +1 -0
- package/es/components/booking/forms/model.d.ts +10 -1
- package/es/components/booking/info/model.d.ts +10 -1
- package/es/components/booking/info/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info2/service/editService/index.js +8 -2
- package/es/components/booking/model.d.ts +9 -1
- package/es/components/booking/notes/model.d.ts +10 -1
- package/es/components/booking/payments/model.d.ts +10 -1
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/checkout/components/WalletPassModule/index.js +1 -0
- package/es/components/checkout/components/WalletPassModule/utils.d.ts +1 -0
- package/es/components/checkout/components/WalletPassModule/utils.js +17 -3
- package/es/components/checkout/hooks/useWalletPass.d.ts +1 -1
- package/es/components/checkout/hooks/useWalletPass.js +316 -192
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +5 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.js +166 -145
- package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +6 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/utils.js +3 -3
- package/es/components/pay/toC/WalletPassBlock/index.js +3 -1
- package/es/components/pay/toC/index.js +66 -27
- package/es/components/pay/toC/model.d.ts +10 -1
- package/es/components/pay/toC/serve.d.ts +18 -0
- package/es/components/pay/toC/serve.js +29 -1
- package/es/components/pay/toC/utils.d.ts +2 -2
- package/es/components/pay/toC/utils.js +4 -0
- package/es/components/schedules/model.d.ts +9 -1
- package/es/components/ticketBooking/components/addServiceVariant/addService.js +7 -4
- package/es/components/ticketBooking/utils/index.d.ts +1 -1
- package/lib/components/appointmentBooking/components/Voucher/index.js +10 -2
- package/lib/components/booking/addons/index.js +3 -2
- package/lib/components/booking/addons/model.d.ts +10 -1
- package/lib/components/booking/components/footer/amount.js +1 -1
- package/lib/components/booking/components/footer/index.js +9 -0
- package/lib/components/booking/components/footer/utils.d.ts +1 -1
- package/lib/components/booking/components/footer/utils.js +5 -3
- package/lib/components/booking/components/voucher/index.js +6 -0
- package/lib/components/booking/components/voucher/index.less +4 -1
- package/lib/components/booking/components/voucherModal/index.less +1 -0
- package/lib/components/booking/forms/model.d.ts +10 -1
- package/lib/components/booking/info/model.d.ts +10 -1
- package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/editService/index.js +24 -18
- package/lib/components/booking/model.d.ts +9 -1
- package/lib/components/booking/notes/model.d.ts +10 -1
- package/lib/components/booking/payments/model.d.ts +10 -1
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/checkout/components/WalletPassModule/index.js +1 -0
- package/lib/components/checkout/components/WalletPassModule/utils.d.ts +1 -0
- package/lib/components/checkout/components/WalletPassModule/utils.js +18 -2
- package/lib/components/checkout/hooks/useWalletPass.d.ts +1 -1
- package/lib/components/checkout/hooks/useWalletPass.js +157 -108
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +5 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.js +90 -103
- package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +6 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.js +2 -2
- package/lib/components/pay/toC/WalletPassBlock/index.js +3 -1
- package/lib/components/pay/toC/index.js +52 -11
- package/lib/components/pay/toC/model.d.ts +10 -1
- package/lib/components/pay/toC/serve.d.ts +18 -0
- package/lib/components/pay/toC/serve.js +6 -0
- package/lib/components/pay/toC/utils.d.ts +2 -2
- package/lib/components/pay/toC/utils.js +4 -0
- package/lib/components/schedules/model.d.ts +9 -1
- package/lib/components/ticketBooking/components/addServiceVariant/addService.js +11 -7
- package/lib/components/ticketBooking/utils/index.d.ts +1 -1
- package/package.json +3 -3
- package/es/components/appointmentBooking/components/Date/state.d.ts +0 -63
- package/es/components/appointmentBooking/locales.d.ts +0 -603
- package/es/components/authentication/admin/AuthMethods/locales.d.ts +0 -413
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +0 -6
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +0 -138
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +0 -43
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +0 -6
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +0 -118
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +0 -35
- package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +0 -6
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +0 -43
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +0 -8
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +0 -108
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +0 -28
- package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +0 -6
- package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +0 -63
- package/es/components/authentication/admin/CustomerAuth/locales.d.ts +0 -108
- package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +0 -178
- package/es/components/authentication/admin/DeviceAuth/locales.d.ts +0 -93
- package/es/components/authentication/admin/OAuthConfig/locales.d.ts +0 -148
- package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +0 -88
- package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +0 -78
- package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +0 -88
- package/es/components/booking/components/actionButtons/index.d.ts +0 -31
- package/es/components/booking/components/voucher/utils.d.ts +0 -5
- package/es/components/booking/editBookingModal/locales.d.ts +0 -33
- package/es/components/booking/editBookingModal/mock.d.ts +0 -991
- package/es/components/booking/info2/cartClientCard/locales.d.ts +0 -33
- package/es/components/booking/info2/service/addService/mock.d.ts +0 -216
- package/es/components/booking/info2/service/editService/DiscountChangeModal/index.d.ts +0 -25
- package/es/components/booking/locales.d.ts +0 -1619
- package/es/components/checkout/PaymentModal.d.ts +0 -31
- package/es/components/checkout/components/AdditionalModule/locales.d.ts +0 -58
- package/es/components/checkout/locales.d.ts +0 -853
- package/es/components/eftpos/locales.d.ts +0 -163
- package/es/components/eftposPay/locales.d.ts +0 -608
- package/es/components/eventBooking/locales.d.ts +0 -408
- package/es/components/list/locales.d.ts +0 -108
- package/es/components/list/utils/getText.d.ts +0 -53
- package/es/components/login/locales.d.ts +0 -38
- package/es/components/pay/toB/locales.d.ts +0 -88
- package/es/components/pay/toC/locales.d.ts +0 -511
- package/es/components/pinModal/locales.d.ts +0 -43
- package/es/components/pinVerifyModal/locales.d.ts +0 -38
- package/es/components/pisellSelectCustomerModal/locales.d.ts +0 -133
- package/es/components/productExtension/locales.d.ts +0 -78
- package/es/components/productSelect/components/pisellPriceText/index.d.ts +0 -11
- package/es/components/productSelect/locales.d.ts +0 -38
- package/es/components/ruleSetting/locales.d.ts +0 -78
- package/es/components/schedules/locales.d.ts +0 -143
- package/es/components/shoppingCart/locales.d.ts +0 -58
- package/es/components/stepController/locales.d.ts +0 -43
- package/es/components/subTotal/locales.d.ts +0 -68
- package/es/components/systemSettings/registry/components/ItemModal.d.ts +0 -4
- package/es/components/systemSettings/registry/locales.d.ts +0 -456
- package/es/components/systemSettings/registry/types.d.ts +0 -128
- package/es/components/taxSelect/locales.d.ts +0 -38
- package/es/components/ticketBooking/locales.d.ts +0 -328
- package/es/components/ticketBooking/utils/formatTime.d.ts +0 -33
- package/es/components/wallet/utils.d.ts +0 -48
- package/es/components/walletList/index.d.ts +0 -4
- package/es/components/walletList/locales.d.ts +0 -43
- package/es/components/walletList/types/index.d.ts +0 -196
- package/es/plus/clientCard/index.d.ts +0 -7
- package/es/plus/clientCard/locales.d.ts +0 -28
- package/es/plus/clientCard/types.d.ts +0 -135
- package/es/plus/clinetSearch/locales.d.ts +0 -178
- package/es/plus/contactInfo/locales.d.ts +0 -23
- package/es/plus/contactInfoModal/locales.d.ts +0 -108
- package/es/plus/noteModal/locales.d.ts +0 -53
- package/es/plus/productSelect/ProductCard/SkuCard/locales.d.ts +0 -68
- package/es/plus/productSelect/ProductCard/SkuCard/status.d.ts +0 -164
- package/es/plus/productSelect/components/pisellPriceText/index.d.ts +0 -14
- package/es/plus/productSelect/locales.d.ts +0 -38
- package/es/plus/saasAttendance/index.d.ts +0 -6
- package/es/plus/saasAttendance/locales.d.ts +0 -528
- package/es/plus/saasAttendance/settings/BasicInfoTab.d.ts +0 -5
- package/es/plus/saasAttendance/settings/ClockInMethodTab.d.ts +0 -8
- package/es/plus/saasAttendance/settings/CorrectionPolicyTab.d.ts +0 -8
- package/es/plus/saasAttendance/settings/ShiftScheduleTab.d.ts +0 -5
- package/es/plus/saasAttendance/settings/components/MapField.d.ts +0 -78
- package/es/plus/saasAttendance/settings/components/index.d.ts +0 -3
- package/es/plus/saasAttendance/settings/components/membersField/index.d.ts +0 -8
- package/es/plus/saasAttendance/settings/components/shiftModal/index.d.ts +0 -18
- package/es/plus/saasAttendance/settings/index.d.ts +0 -18
- package/es/plus/saasAttendance/settings/serve.d.ts +0 -27
- package/es/plus/saasAttendance/settings/types.d.ts +0 -130
- package/es/plus/saasCreateOrganization/locales.d.ts +0 -23
- package/es/plus/saasLogin/locales.d.ts +0 -83
- package/es/plus/saasRegister/locales.d.ts +0 -193
- package/es/plus/saasRole/components/PermissionManager/index.d.ts +0 -19
- package/es/plus/saasRole/index.d.ts +0 -14
- package/es/plus/saasRole/locales.d.ts +0 -319
- package/es/plus/saasRole/serve.d.ts +0 -72
- package/es/plus/saasRole/types.d.ts +0 -177
- package/es/plus/saasRole/utils.d.ts +0 -0
- package/es/plus/saasTeamMembers/components/MemberDrawer/ExtensionFormTabContent.d.ts +0 -31
- package/es/plus/saasTeamMembers/components/MemberDrawer/index.d.ts +0 -23
- package/es/plus/saasTeamMembers/index.d.ts +0 -5
- package/es/plus/saasTeamMembers/locales.d.ts +0 -546
- package/es/plus/saasTeamMembers/serve.d.ts +0 -95
- package/es/plus/saasTeamMembers/type.d.ts +0 -158
- package/es/plus/selectHolder/locales.d.ts +0 -38
- package/es/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +0 -39
- package/es/plus/walletEditor/locales.d.ts +0 -223
- package/es/plus/walletEditor/types.d.ts +0 -54
- package/es/plus/walletPassGallery/components/passDetail/index.d.ts +0 -11
- package/es/plus/walletPassGallery/components/passList/index.d.ts +0 -13
- package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -12
- package/es/plus/walletPassGallery/index.d.ts +0 -11
- package/es/plus/walletPassGallery/locales.d.ts +0 -473
- package/es/plus/walletPassGallery/serve.d.ts +0 -245
- package/es/plus/walletPassGallery/utils.d.ts +0 -48
- package/es/pro/Login2.0/locales.d.ts +0 -903
- package/es/pro/Login2.0/shared/types.d.ts +0 -234
- package/es/pro/comprehensiveSearch/components/searchSection/locales.d.ts +0 -23
- package/es/pro/comprehensiveSearch/locales.d.ts +0 -23
- package/es/pro/numberKeyboard/locales.d.ts +0 -18
- package/es/pro/pisellPhoneKeyboard/locales.d.ts +0 -18
- package/es/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +0 -63
- package/es/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +0 -68
- package/es/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +0 -73
- package/es/pro/skuDetailModal/locales.d.ts +0 -78
- package/es/pro/skuDetailModal/types.d.ts +0 -352
- package/lib/components/appointmentBooking/components/Date/state.d.ts +0 -63
- package/lib/components/appointmentBooking/locales.d.ts +0 -603
- package/lib/components/authentication/admin/AuthMethods/locales.d.ts +0 -413
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +0 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +0 -138
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +0 -43
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +0 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +0 -118
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +0 -35
- package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +0 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +0 -43
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +0 -8
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +0 -108
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +0 -28
- package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +0 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +0 -63
- package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +0 -108
- package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +0 -178
- package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +0 -93
- package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +0 -148
- package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +0 -88
- package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +0 -78
- package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +0 -88
- package/lib/components/booking/components/actionButtons/index.d.ts +0 -31
- package/lib/components/booking/components/voucher/utils.d.ts +0 -5
- package/lib/components/booking/editBookingModal/locales.d.ts +0 -33
- package/lib/components/booking/editBookingModal/mock.d.ts +0 -991
- package/lib/components/booking/info2/cartClientCard/locales.d.ts +0 -33
- package/lib/components/booking/info2/service/addService/mock.d.ts +0 -216
- package/lib/components/booking/info2/service/editService/DiscountChangeModal/index.d.ts +0 -25
- package/lib/components/booking/locales.d.ts +0 -1619
- package/lib/components/checkout/PaymentModal.d.ts +0 -31
- package/lib/components/checkout/components/AdditionalModule/locales.d.ts +0 -58
- package/lib/components/checkout/locales.d.ts +0 -853
- package/lib/components/eftpos/locales.d.ts +0 -163
- package/lib/components/eftposPay/locales.d.ts +0 -608
- package/lib/components/eventBooking/locales.d.ts +0 -408
- package/lib/components/list/locales.d.ts +0 -108
- package/lib/components/list/utils/getText.d.ts +0 -53
- package/lib/components/login/locales.d.ts +0 -38
- package/lib/components/pay/toB/locales.d.ts +0 -88
- package/lib/components/pay/toC/locales.d.ts +0 -511
- package/lib/components/pinModal/locales.d.ts +0 -43
- package/lib/components/pinVerifyModal/locales.d.ts +0 -38
- package/lib/components/pisellSelectCustomerModal/locales.d.ts +0 -133
- package/lib/components/productExtension/locales.d.ts +0 -78
- package/lib/components/productSelect/components/pisellPriceText/index.d.ts +0 -11
- package/lib/components/productSelect/locales.d.ts +0 -38
- package/lib/components/ruleSetting/locales.d.ts +0 -78
- package/lib/components/schedules/locales.d.ts +0 -143
- package/lib/components/shoppingCart/locales.d.ts +0 -58
- package/lib/components/stepController/locales.d.ts +0 -43
- package/lib/components/subTotal/locales.d.ts +0 -68
- package/lib/components/systemSettings/registry/components/ItemModal.d.ts +0 -4
- package/lib/components/systemSettings/registry/locales.d.ts +0 -456
- package/lib/components/systemSettings/registry/types.d.ts +0 -128
- package/lib/components/taxSelect/locales.d.ts +0 -38
- package/lib/components/ticketBooking/locales.d.ts +0 -328
- package/lib/components/ticketBooking/utils/formatTime.d.ts +0 -33
- package/lib/components/wallet/utils.d.ts +0 -48
- package/lib/components/walletList/index.d.ts +0 -4
- package/lib/components/walletList/locales.d.ts +0 -43
- package/lib/components/walletList/types/index.d.ts +0 -196
- package/lib/plus/clientCard/index.d.ts +0 -7
- package/lib/plus/clientCard/locales.d.ts +0 -28
- package/lib/plus/clientCard/types.d.ts +0 -135
- package/lib/plus/clinetSearch/locales.d.ts +0 -178
- package/lib/plus/contactInfo/locales.d.ts +0 -23
- package/lib/plus/contactInfoModal/locales.d.ts +0 -108
- package/lib/plus/noteModal/locales.d.ts +0 -53
- package/lib/plus/productSelect/ProductCard/SkuCard/locales.d.ts +0 -68
- package/lib/plus/productSelect/ProductCard/SkuCard/status.d.ts +0 -164
- package/lib/plus/productSelect/components/pisellPriceText/index.d.ts +0 -14
- package/lib/plus/productSelect/locales.d.ts +0 -38
- package/lib/plus/saasAttendance/index.d.ts +0 -6
- package/lib/plus/saasAttendance/locales.d.ts +0 -528
- package/lib/plus/saasAttendance/settings/BasicInfoTab.d.ts +0 -5
- package/lib/plus/saasAttendance/settings/ClockInMethodTab.d.ts +0 -8
- package/lib/plus/saasAttendance/settings/CorrectionPolicyTab.d.ts +0 -8
- package/lib/plus/saasAttendance/settings/ShiftScheduleTab.d.ts +0 -5
- package/lib/plus/saasAttendance/settings/components/MapField.d.ts +0 -78
- package/lib/plus/saasAttendance/settings/components/index.d.ts +0 -3
- package/lib/plus/saasAttendance/settings/components/membersField/index.d.ts +0 -8
- package/lib/plus/saasAttendance/settings/components/shiftModal/index.d.ts +0 -18
- package/lib/plus/saasAttendance/settings/index.d.ts +0 -18
- package/lib/plus/saasAttendance/settings/serve.d.ts +0 -27
- package/lib/plus/saasAttendance/settings/types.d.ts +0 -130
- package/lib/plus/saasCreateOrganization/locales.d.ts +0 -23
- package/lib/plus/saasLogin/locales.d.ts +0 -83
- package/lib/plus/saasRegister/locales.d.ts +0 -193
- package/lib/plus/saasRole/components/PermissionManager/index.d.ts +0 -19
- package/lib/plus/saasRole/index.d.ts +0 -14
- package/lib/plus/saasRole/locales.d.ts +0 -319
- package/lib/plus/saasRole/serve.d.ts +0 -72
- package/lib/plus/saasRole/types.d.ts +0 -177
- package/lib/plus/saasRole/utils.d.ts +0 -0
- package/lib/plus/saasTeamMembers/components/MemberDrawer/ExtensionFormTabContent.d.ts +0 -31
- package/lib/plus/saasTeamMembers/components/MemberDrawer/index.d.ts +0 -23
- package/lib/plus/saasTeamMembers/index.d.ts +0 -5
- package/lib/plus/saasTeamMembers/locales.d.ts +0 -546
- package/lib/plus/saasTeamMembers/serve.d.ts +0 -95
- package/lib/plus/saasTeamMembers/type.d.ts +0 -158
- package/lib/plus/selectHolder/locales.d.ts +0 -38
- package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +0 -39
- package/lib/plus/walletEditor/locales.d.ts +0 -223
- package/lib/plus/walletEditor/types.d.ts +0 -54
- package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +0 -11
- package/lib/plus/walletPassGallery/components/passList/index.d.ts +0 -13
- package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -12
- package/lib/plus/walletPassGallery/index.d.ts +0 -11
- package/lib/plus/walletPassGallery/locales.d.ts +0 -473
- package/lib/plus/walletPassGallery/serve.d.ts +0 -245
- package/lib/plus/walletPassGallery/utils.d.ts +0 -48
- package/lib/pro/Login2.0/locales.d.ts +0 -903
- package/lib/pro/Login2.0/shared/types.d.ts +0 -234
- package/lib/pro/comprehensiveSearch/components/searchSection/locales.d.ts +0 -23
- package/lib/pro/comprehensiveSearch/locales.d.ts +0 -23
- package/lib/pro/numberKeyboard/locales.d.ts +0 -18
- package/lib/pro/pisellPhoneKeyboard/locales.d.ts +0 -18
- package/lib/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +0 -63
- package/lib/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +0 -68
- package/lib/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +0 -73
- package/lib/pro/skuDetailModal/locales.d.ts +0 -78
- package/lib/pro/skuDetailModal/types.d.ts +0 -352
|
@@ -1,319 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* SaasRole 组件国际化配置
|
|
3
|
-
*/
|
|
4
|
-
export declare const locales: {
|
|
5
|
-
en: {
|
|
6
|
-
'pisell2.saas.role.title': string;
|
|
7
|
-
'pisell2.saas.role.create': string;
|
|
8
|
-
'pisell2.saas.role.create-role': string;
|
|
9
|
-
'pisell2.saas.role.edit': string;
|
|
10
|
-
'pisell2.saas.role.edit-role': string;
|
|
11
|
-
'pisell2.saas.role.delete': string;
|
|
12
|
-
'pisell2.saas.role.delete-role': string;
|
|
13
|
-
'pisell2.saas.role.role-has-members': string;
|
|
14
|
-
'pisell2.saas.role.at-least-one-role': string;
|
|
15
|
-
'pisell2.saas.role.name': string;
|
|
16
|
-
'pisell2.saas.role.code': string;
|
|
17
|
-
'pisell2.saas.role.description': string;
|
|
18
|
-
'pisell2.saas.role.extension-table': string;
|
|
19
|
-
'pisell2.saas.role.members': string;
|
|
20
|
-
'pisell2.saas.role.permissions': string;
|
|
21
|
-
'pisell2.saas.role.fields': string;
|
|
22
|
-
'pisell2.saas.role.member-count': string;
|
|
23
|
-
'pisell2.saas.role.add-member': string;
|
|
24
|
-
'pisell2.saas.role.remove-member': string;
|
|
25
|
-
'pisell2.saas.role.confirm-remove': string;
|
|
26
|
-
'pisell2.saas.role.confirm-remove-member': string;
|
|
27
|
-
'pisell2.saas.role.confirm-delete-role': string;
|
|
28
|
-
'pisell2.saas.role.member-name': string;
|
|
29
|
-
'pisell2.saas.role.member-id': string;
|
|
30
|
-
'pisell2.saas.role.member-email': string;
|
|
31
|
-
'pisell2.saas.role.member-mobile': string;
|
|
32
|
-
'pisell2.saas.role.member-current-roles': string;
|
|
33
|
-
'pisell2.saas.role.actions': string;
|
|
34
|
-
'pisell2.saas.role.search': string;
|
|
35
|
-
'pisell2.saas.role.save': string;
|
|
36
|
-
'pisell2.saas.role.cancel': string;
|
|
37
|
-
'pisell2.saas.role.confirm': string;
|
|
38
|
-
'pisell2.saas.role.submit': string;
|
|
39
|
-
'pisell2.saas.role.add': string;
|
|
40
|
-
'pisell2.saas.role.enter-role-name': string;
|
|
41
|
-
'pisell2.saas.role.enter-role-code': string;
|
|
42
|
-
'pisell2.saas.role.enter-role-description': string;
|
|
43
|
-
'pisell2.saas.role.select-extension-table': string;
|
|
44
|
-
'pisell2.saas.role.role-core-format-error': string;
|
|
45
|
-
'pisell2.saas.role.role-code-format': string;
|
|
46
|
-
'pisell2.saas.role.add-members-to-role': string;
|
|
47
|
-
'pisell2.saas.role.select-members': string;
|
|
48
|
-
'pisell2.saas.role.create-success': string;
|
|
49
|
-
'pisell2.saas.role.update-success': string;
|
|
50
|
-
'pisell2.saas.role.delete-success': string;
|
|
51
|
-
'pisell2.saas.role.no-role-selected': string;
|
|
52
|
-
'pisell2.saas.role.no-permissions': string;
|
|
53
|
-
'pisell2.saas.role.members-text': string;
|
|
54
|
-
'pisell2.saas.role.no-members-in-role': string;
|
|
55
|
-
'pisell2.saas.role.select': string;
|
|
56
|
-
'pisell2.saas.role.all-members-in-role': string;
|
|
57
|
-
'pisell2.saas.role.channels': string;
|
|
58
|
-
'pisell2.saas.role.control-access-channels': string;
|
|
59
|
-
'pisell2.saas.role.page-types': string;
|
|
60
|
-
'pisell2.saas.role.control-access-page-types': string;
|
|
61
|
-
'pisell2.saas.role.apps': string;
|
|
62
|
-
'pisell2.saas.role.control-access-apps': string;
|
|
63
|
-
'pisell2.saas.role.system-management': string;
|
|
64
|
-
'pisell2.saas.role.control-system-operations': string;
|
|
65
|
-
'pisell2.saas.role.clear-all': string;
|
|
66
|
-
'pisell2.saas.role.select-all': string;
|
|
67
|
-
};
|
|
68
|
-
'zh-CN': {
|
|
69
|
-
'pisell2.saas.role.title': string;
|
|
70
|
-
'pisell2.saas.role.create': string;
|
|
71
|
-
'pisell2.saas.role.create-role': string;
|
|
72
|
-
'pisell2.saas.role.edit': string;
|
|
73
|
-
'pisell2.saas.role.edit-role': string;
|
|
74
|
-
'pisell2.saas.role.delete': string;
|
|
75
|
-
'pisell2.saas.role.delete-role': string;
|
|
76
|
-
'pisell2.saas.role.role-has-members': string;
|
|
77
|
-
'pisell2.saas.role.at-least-one-role': string;
|
|
78
|
-
'pisell2.saas.role.name': string;
|
|
79
|
-
'pisell2.saas.role.code': string;
|
|
80
|
-
'pisell2.saas.role.description': string;
|
|
81
|
-
'pisell2.saas.role.extension-table': string;
|
|
82
|
-
'pisell2.saas.role.members': string;
|
|
83
|
-
'pisell2.saas.role.permissions': string;
|
|
84
|
-
'pisell2.saas.role.fields': string;
|
|
85
|
-
'pisell2.saas.role.member-count': string;
|
|
86
|
-
'pisell2.saas.role.add-member': string;
|
|
87
|
-
'pisell2.saas.role.remove-member': string;
|
|
88
|
-
'pisell2.saas.role.confirm-remove': string;
|
|
89
|
-
'pisell2.saas.role.confirm-remove-member': string;
|
|
90
|
-
'pisell2.saas.role.confirm-delete-role': string;
|
|
91
|
-
'pisell2.saas.role.member-name': string;
|
|
92
|
-
'pisell2.saas.role.member-id': string;
|
|
93
|
-
'pisell2.saas.role.member-email': string;
|
|
94
|
-
'pisell2.saas.role.member-mobile': string;
|
|
95
|
-
'pisell2.saas.role.member-current-roles': string;
|
|
96
|
-
'pisell2.saas.role.actions': string;
|
|
97
|
-
'pisell2.saas.role.search': string;
|
|
98
|
-
'pisell2.saas.role.save': string;
|
|
99
|
-
'pisell2.saas.role.cancel': string;
|
|
100
|
-
'pisell2.saas.role.confirm': string;
|
|
101
|
-
'pisell2.saas.role.submit': string;
|
|
102
|
-
'pisell2.saas.role.add': string;
|
|
103
|
-
'pisell2.saas.role.enter-role-name': string;
|
|
104
|
-
'pisell2.saas.role.enter-role-code': string;
|
|
105
|
-
'pisell2.saas.role.enter-role-description': string;
|
|
106
|
-
'pisell2.saas.role.select-extension-table': string;
|
|
107
|
-
'pisell2.saas.role.role-code-format': string;
|
|
108
|
-
'pisell2.saas.role.add-members-to-role': string;
|
|
109
|
-
'pisell2.saas.role.select-members': string;
|
|
110
|
-
'pisell2.saas.role.create-success': string;
|
|
111
|
-
'pisell2.saas.role.update-success': string;
|
|
112
|
-
'pisell2.saas.role.delete-success': string;
|
|
113
|
-
'pisell2.saas.role.no-role-selected': string;
|
|
114
|
-
'pisell2.saas.role.no-permissions': string;
|
|
115
|
-
'pisell2.saas.role.members-text': string;
|
|
116
|
-
'pisell2.saas.role.no-members-in-role': string;
|
|
117
|
-
'pisell2.saas.role.select': string;
|
|
118
|
-
'pisell2.saas.role.all-members-in-role': string;
|
|
119
|
-
'pisell2.saas.role.channels': string;
|
|
120
|
-
'pisell2.saas.role.control-access-channels': string;
|
|
121
|
-
'pisell2.saas.role.page-types': string;
|
|
122
|
-
'pisell2.saas.role.control-access-page-types': string;
|
|
123
|
-
'pisell2.saas.role.apps': string;
|
|
124
|
-
'pisell2.saas.role.control-access-apps': string;
|
|
125
|
-
'pisell2.saas.role.system-management': string;
|
|
126
|
-
'pisell2.saas.role.control-system-operations': string;
|
|
127
|
-
'pisell2.saas.role.clear-all': string;
|
|
128
|
-
'pisell2.saas.role.select-all': string;
|
|
129
|
-
};
|
|
130
|
-
'zh-HK': {
|
|
131
|
-
'pisell2.saas.role.title': string;
|
|
132
|
-
'pisell2.saas.role.create': string;
|
|
133
|
-
'pisell2.saas.role.create-role': string;
|
|
134
|
-
'pisell2.saas.role.edit': string;
|
|
135
|
-
'pisell2.saas.role.edit-role': string;
|
|
136
|
-
'pisell2.saas.role.delete': string;
|
|
137
|
-
'pisell2.saas.role.delete-role': string;
|
|
138
|
-
'pisell2.saas.role.role-has-members': string;
|
|
139
|
-
'pisell2.saas.role.at-least-one-role': string;
|
|
140
|
-
'pisell2.saas.role.name': string;
|
|
141
|
-
'pisell2.saas.role.code': string;
|
|
142
|
-
'pisell2.saas.role.description': string;
|
|
143
|
-
'pisell2.saas.role.extension-table': string;
|
|
144
|
-
'pisell2.saas.role.members': string;
|
|
145
|
-
'pisell2.saas.role.permissions': string;
|
|
146
|
-
'pisell2.saas.role.fields': string;
|
|
147
|
-
'pisell2.saas.role.member-count': string;
|
|
148
|
-
'pisell2.saas.role.add-member': string;
|
|
149
|
-
'pisell2.saas.role.remove-member': string;
|
|
150
|
-
'pisell2.saas.role.confirm-remove': string;
|
|
151
|
-
'pisell2.saas.role.confirm-remove-member': string;
|
|
152
|
-
'pisell2.saas.role.confirm-delete-role': string;
|
|
153
|
-
'pisell2.saas.role.member-name': string;
|
|
154
|
-
'pisell2.saas.role.member-id': string;
|
|
155
|
-
'pisell2.saas.role.member-email': string;
|
|
156
|
-
'pisell2.saas.role.member-mobile': string;
|
|
157
|
-
'pisell2.saas.role.member-current-roles': string;
|
|
158
|
-
'pisell2.saas.role.actions': string;
|
|
159
|
-
'pisell2.saas.role.search': string;
|
|
160
|
-
'pisell2.saas.role.save': string;
|
|
161
|
-
'pisell2.saas.role.cancel': string;
|
|
162
|
-
'pisell2.saas.role.confirm': string;
|
|
163
|
-
'pisell2.saas.role.submit': string;
|
|
164
|
-
'pisell2.saas.role.add': string;
|
|
165
|
-
'pisell2.saas.role.enter-role-name': string;
|
|
166
|
-
'pisell2.saas.role.enter-role-code': string;
|
|
167
|
-
'pisell2.saas.role.enter-role-description': string;
|
|
168
|
-
'pisell2.saas.role.select-extension-table': string;
|
|
169
|
-
'pisell2.saas.role.role-code-format': string;
|
|
170
|
-
'pisell2.saas.role.add-members-to-role': string;
|
|
171
|
-
'pisell2.saas.role.select-members': string;
|
|
172
|
-
'pisell2.saas.role.create-success': string;
|
|
173
|
-
'pisell2.saas.role.update-success': string;
|
|
174
|
-
'pisell2.saas.role.delete-success': string;
|
|
175
|
-
'pisell2.saas.role.no-role-selected': string;
|
|
176
|
-
'pisell2.saas.role.no-permissions': string;
|
|
177
|
-
'pisell2.saas.role.members-text': string;
|
|
178
|
-
'pisell2.saas.role.no-members-in-role': string;
|
|
179
|
-
'pisell2.saas.role.select': string;
|
|
180
|
-
'pisell2.saas.role.all-members-in-role': string;
|
|
181
|
-
'pisell2.saas.role.channels': string;
|
|
182
|
-
'pisell2.saas.role.control-access-channels': string;
|
|
183
|
-
'pisell2.saas.role.page-types': string;
|
|
184
|
-
'pisell2.saas.role.control-access-page-types': string;
|
|
185
|
-
'pisell2.saas.role.apps': string;
|
|
186
|
-
'pisell2.saas.role.control-access-apps': string;
|
|
187
|
-
'pisell2.saas.role.system-management': string;
|
|
188
|
-
'pisell2.saas.role.control-system-operations': string;
|
|
189
|
-
'pisell2.saas.role.clear-all': string;
|
|
190
|
-
'pisell2.saas.role.select-all': string;
|
|
191
|
-
};
|
|
192
|
-
ja: {
|
|
193
|
-
'pisell2.saas.role.title': string;
|
|
194
|
-
'pisell2.saas.role.create': string;
|
|
195
|
-
'pisell2.saas.role.create-role': string;
|
|
196
|
-
'pisell2.saas.role.edit': string;
|
|
197
|
-
'pisell2.saas.role.edit-role': string;
|
|
198
|
-
'pisell2.saas.role.delete': string;
|
|
199
|
-
'pisell2.saas.role.delete-role': string;
|
|
200
|
-
'pisell2.saas.role.role-has-members': string;
|
|
201
|
-
'pisell2.saas.role.at-least-one-role': string;
|
|
202
|
-
'pisell2.saas.role.name': string;
|
|
203
|
-
'pisell2.saas.role.code': string;
|
|
204
|
-
'pisell2.saas.role.description': string;
|
|
205
|
-
'pisell2.saas.role.extension-table': string;
|
|
206
|
-
'pisell2.saas.role.members': string;
|
|
207
|
-
'pisell2.saas.role.permissions': string;
|
|
208
|
-
'pisell2.saas.role.fields': string;
|
|
209
|
-
'pisell2.saas.role.member-count': string;
|
|
210
|
-
'pisell2.saas.role.add-member': string;
|
|
211
|
-
'pisell2.saas.role.remove-member': string;
|
|
212
|
-
'pisell2.saas.role.confirm-remove': string;
|
|
213
|
-
'pisell2.saas.role.confirm-remove-member': string;
|
|
214
|
-
'pisell2.saas.role.confirm-delete-role': string;
|
|
215
|
-
'pisell2.saas.role.member-name': string;
|
|
216
|
-
'pisell2.saas.role.member-id': string;
|
|
217
|
-
'pisell2.saas.role.member-email': string;
|
|
218
|
-
'pisell2.saas.role.member-mobile': string;
|
|
219
|
-
'pisell2.saas.role.member-current-roles': string;
|
|
220
|
-
'pisell2.saas.role.actions': string;
|
|
221
|
-
'pisell2.saas.role.search': string;
|
|
222
|
-
'pisell2.saas.role.save': string;
|
|
223
|
-
'pisell2.saas.role.cancel': string;
|
|
224
|
-
'pisell2.saas.role.confirm': string;
|
|
225
|
-
'pisell2.saas.role.submit': string;
|
|
226
|
-
'pisell2.saas.role.add': string;
|
|
227
|
-
'pisell2.saas.role.enter-role-name': string;
|
|
228
|
-
'pisell2.saas.role.enter-role-code': string;
|
|
229
|
-
'pisell2.saas.role.enter-role-description': string;
|
|
230
|
-
'pisell2.saas.role.select-extension-table': string;
|
|
231
|
-
'pisell2.saas.role.role-core-format-error': string;
|
|
232
|
-
'pisell2.saas.role.role-code-format': string;
|
|
233
|
-
'pisell2.saas.role.add-members-to-role': string;
|
|
234
|
-
'pisell2.saas.role.select-members': string;
|
|
235
|
-
'pisell2.saas.role.create-success': string;
|
|
236
|
-
'pisell2.saas.role.update-success': string;
|
|
237
|
-
'pisell2.saas.role.delete-success': string;
|
|
238
|
-
'pisell2.saas.role.no-role-selected': string;
|
|
239
|
-
'pisell2.saas.role.no-permissions': string;
|
|
240
|
-
'pisell2.saas.role.members-text': string;
|
|
241
|
-
'pisell2.saas.role.no-members-in-role': string;
|
|
242
|
-
'pisell2.saas.role.select': string;
|
|
243
|
-
'pisell2.saas.role.all-members-in-role': string;
|
|
244
|
-
'pisell2.saas.role.channels': string;
|
|
245
|
-
'pisell2.saas.role.control-access-channels': string;
|
|
246
|
-
'pisell2.saas.role.page-types': string;
|
|
247
|
-
'pisell2.saas.role.control-access-page-types': string;
|
|
248
|
-
'pisell2.saas.role.apps': string;
|
|
249
|
-
'pisell2.saas.role.control-access-apps': string;
|
|
250
|
-
'pisell2.saas.role.system-management': string;
|
|
251
|
-
'pisell2.saas.role.control-system-operations': string;
|
|
252
|
-
'pisell2.saas.role.clear-all': string;
|
|
253
|
-
'pisell2.saas.role.select-all': string;
|
|
254
|
-
};
|
|
255
|
-
pt: {
|
|
256
|
-
'pisell2.saas.role.title': string;
|
|
257
|
-
'pisell2.saas.role.create': string;
|
|
258
|
-
'pisell2.saas.role.create-role': string;
|
|
259
|
-
'pisell2.saas.role.edit': string;
|
|
260
|
-
'pisell2.saas.role.edit-role': string;
|
|
261
|
-
'pisell2.saas.role.delete': string;
|
|
262
|
-
'pisell2.saas.role.delete-role': string;
|
|
263
|
-
'pisell2.saas.role.role-has-members': string;
|
|
264
|
-
'pisell2.saas.role.at-least-one-role': string;
|
|
265
|
-
'pisell2.saas.role.name': string;
|
|
266
|
-
'pisell2.saas.role.code': string;
|
|
267
|
-
'pisell2.saas.role.description': string;
|
|
268
|
-
'pisell2.saas.role.extension-table': string;
|
|
269
|
-
'pisell2.saas.role.members': string;
|
|
270
|
-
'pisell2.saas.role.permissions': string;
|
|
271
|
-
'pisell2.saas.role.fields': string;
|
|
272
|
-
'pisell2.saas.role.member-count': string;
|
|
273
|
-
'pisell2.saas.role.add-member': string;
|
|
274
|
-
'pisell2.saas.role.remove-member': string;
|
|
275
|
-
'pisell2.saas.role.confirm-remove': string;
|
|
276
|
-
'pisell2.saas.role.confirm-remove-member': string;
|
|
277
|
-
'pisell2.saas.role.confirm-delete-role': string;
|
|
278
|
-
'pisell2.saas.role.member-name': string;
|
|
279
|
-
'pisell2.saas.role.member-id': string;
|
|
280
|
-
'pisell2.saas.role.member-email': string;
|
|
281
|
-
'pisell2.saas.role.member-mobile': string;
|
|
282
|
-
'pisell2.saas.role.member-current-roles': string;
|
|
283
|
-
'pisell2.saas.role.actions': string;
|
|
284
|
-
'pisell2.saas.role.search': string;
|
|
285
|
-
'pisell2.saas.role.save': string;
|
|
286
|
-
'pisell2.saas.role.cancel': string;
|
|
287
|
-
'pisell2.saas.role.confirm': string;
|
|
288
|
-
'pisell2.saas.role.submit': string;
|
|
289
|
-
'pisell2.saas.role.add': string;
|
|
290
|
-
'pisell2.saas.role.enter-role-name': string;
|
|
291
|
-
'pisell2.saas.role.enter-role-code': string;
|
|
292
|
-
'pisell2.saas.role.enter-role-description': string;
|
|
293
|
-
'pisell2.saas.role.select-extension-table': string;
|
|
294
|
-
'pisell2.saas.role.role-core-format-error': string;
|
|
295
|
-
'pisell2.saas.role.role-code-format': string;
|
|
296
|
-
'pisell2.saas.role.add-members-to-role': string;
|
|
297
|
-
'pisell2.saas.role.select-members': string;
|
|
298
|
-
'pisell2.saas.role.create-success': string;
|
|
299
|
-
'pisell2.saas.role.update-success': string;
|
|
300
|
-
'pisell2.saas.role.delete-success': string;
|
|
301
|
-
'pisell2.saas.role.no-role-selected': string;
|
|
302
|
-
'pisell2.saas.role.no-permissions': string;
|
|
303
|
-
'pisell2.saas.role.members-text': string;
|
|
304
|
-
'pisell2.saas.role.no-members-in-role': string;
|
|
305
|
-
'pisell2.saas.role.select': string;
|
|
306
|
-
'pisell2.saas.role.all-members-in-role': string;
|
|
307
|
-
'pisell2.saas.role.channels': string;
|
|
308
|
-
'pisell2.saas.role.control-access-channels': string;
|
|
309
|
-
'pisell2.saas.role.page-types': string;
|
|
310
|
-
'pisell2.saas.role.control-access-page-types': string;
|
|
311
|
-
'pisell2.saas.role.apps': string;
|
|
312
|
-
'pisell2.saas.role.control-access-apps': string;
|
|
313
|
-
'pisell2.saas.role.system-management': string;
|
|
314
|
-
'pisell2.saas.role.control-system-operations': string;
|
|
315
|
-
'pisell2.saas.role.clear-all': string;
|
|
316
|
-
'pisell2.saas.role.select-all': string;
|
|
317
|
-
};
|
|
318
|
-
};
|
|
319
|
-
export default locales;
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import type { ExtensionFormInfo, RoleInfo, MemberInfo, RoleFormValues, PaginationData, AvailablePermissions } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* 获取扩展表单列表
|
|
4
|
-
* @returns
|
|
5
|
-
*/
|
|
6
|
-
export declare const getExtensionFormList: (params: {
|
|
7
|
-
skip?: number;
|
|
8
|
-
num?: number;
|
|
9
|
-
type?: string;
|
|
10
|
-
}) => Promise<PaginationData<ExtensionFormInfo>>;
|
|
11
|
-
/**
|
|
12
|
-
* 获取角色列表
|
|
13
|
-
* GET: /tenant/role
|
|
14
|
-
* Query: with_count[]=tenant_account
|
|
15
|
-
*/
|
|
16
|
-
export declare const getRoles: () => Promise<RoleInfo[]>;
|
|
17
|
-
/**
|
|
18
|
-
* 获取角色详情
|
|
19
|
-
* GET: /tenant/role/{id}
|
|
20
|
-
*/
|
|
21
|
-
export declare const getRoleDetail: (id: number) => Promise<RoleInfo>;
|
|
22
|
-
/**
|
|
23
|
-
* 创建角色
|
|
24
|
-
* POST: /tenant/role
|
|
25
|
-
*/
|
|
26
|
-
export declare const createRole: (role: RoleFormValues) => Promise<RoleInfo>;
|
|
27
|
-
/**
|
|
28
|
-
* 更新角色
|
|
29
|
-
* POST: /tenant/role/{id}
|
|
30
|
-
*/
|
|
31
|
-
export declare const updateRole: (id: number, updates: Partial<RoleFormValues>) => Promise<RoleInfo>;
|
|
32
|
-
/**
|
|
33
|
-
* 删除角色
|
|
34
|
-
* DELETE: /tenant/role/{id}
|
|
35
|
-
*/
|
|
36
|
-
export declare const deleteRole: (id: number) => Promise<void>;
|
|
37
|
-
/**
|
|
38
|
-
* 获取角色成员列表 (通过筛选租户账户列表实现)
|
|
39
|
-
* GET: /tenant/account
|
|
40
|
-
* Query: tenant_role_ids[]={roleId}, with[]=account, with[]=roles
|
|
41
|
-
*/
|
|
42
|
-
export declare const getRoleMembers: (params: {
|
|
43
|
-
tenant_role_ids: number[];
|
|
44
|
-
with?: string[];
|
|
45
|
-
page?: number;
|
|
46
|
-
size?: number;
|
|
47
|
-
}) => Promise<PaginationData<MemberInfo>>;
|
|
48
|
-
/**
|
|
49
|
-
* 获取角色permission
|
|
50
|
-
*/
|
|
51
|
-
export declare const getRolePermission: () => Promise<AvailablePermissions>;
|
|
52
|
-
/**
|
|
53
|
-
* 更新角色成员列表
|
|
54
|
-
* @param memberId
|
|
55
|
-
* @param roleIds
|
|
56
|
-
*/
|
|
57
|
-
export declare const updateRoleMembers: (roleId: number, accountIds: number[]) => Promise<void>;
|
|
58
|
-
/**
|
|
59
|
-
* 移除角色成员
|
|
60
|
-
* DELETE: /tenant/role/{roleId}/accounts
|
|
61
|
-
* Query: tenant_account_ids={tenantAccountId}
|
|
62
|
-
*/
|
|
63
|
-
export declare const removeRoleMember: (roleId: number, tenantAccountId: number) => Promise<void>;
|
|
64
|
-
/**
|
|
65
|
-
* 获取所有成员列表 (用于选择添加)
|
|
66
|
-
* GET: /tenant/account
|
|
67
|
-
*/
|
|
68
|
-
export declare const getAllMembers: (params?: {
|
|
69
|
-
page?: number;
|
|
70
|
-
size?: number;
|
|
71
|
-
search?: string;
|
|
72
|
-
}) => Promise<PaginationData<MemberInfo>>;
|
|
@@ -1,177 +0,0 @@
|
|
|
1
|
-
import type { CSSProperties } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* 通用响应结构
|
|
4
|
-
*/
|
|
5
|
-
export interface ApiResponse<T> {
|
|
6
|
-
status: boolean;
|
|
7
|
-
code: number;
|
|
8
|
-
message: string;
|
|
9
|
-
data: T;
|
|
10
|
-
}
|
|
11
|
-
export declare type ExtensionFormInfo = {
|
|
12
|
-
id: number;
|
|
13
|
-
title: string;
|
|
14
|
-
code: string;
|
|
15
|
-
status: string;
|
|
16
|
-
};
|
|
17
|
-
/**
|
|
18
|
-
* 分页数据结构
|
|
19
|
-
*/
|
|
20
|
-
export interface PaginationData<T> {
|
|
21
|
-
list: T[];
|
|
22
|
-
count: number;
|
|
23
|
-
page: number;
|
|
24
|
-
size: number;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* 多语言字段
|
|
28
|
-
*/
|
|
29
|
-
export interface MultiLanguage {
|
|
30
|
-
en?: string;
|
|
31
|
-
'zh-CN'?: string;
|
|
32
|
-
'zh-HK'?: string;
|
|
33
|
-
'ja'?: string;
|
|
34
|
-
'pt'?: string;
|
|
35
|
-
original?: string;
|
|
36
|
-
[key: string]: string | undefined;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* 角色元数据
|
|
40
|
-
*/
|
|
41
|
-
export interface RoleMetadata {
|
|
42
|
-
extension_form_id?: number;
|
|
43
|
-
[key: string]: any;
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* 角色信息接口
|
|
47
|
-
*/
|
|
48
|
-
export interface RoleInfo {
|
|
49
|
-
/** 角色ID */
|
|
50
|
-
id: number;
|
|
51
|
-
/** 租户ID */
|
|
52
|
-
tenant_id: number;
|
|
53
|
-
/** 角色代码 */
|
|
54
|
-
code: string;
|
|
55
|
-
/** 角色名称 (多语言) */
|
|
56
|
-
name: MultiLanguage;
|
|
57
|
-
/** 角色描述 (多语言) */
|
|
58
|
-
description?: MultiLanguage;
|
|
59
|
-
/** 角色权限列表 */
|
|
60
|
-
permission: string[];
|
|
61
|
-
/** 元数据 */
|
|
62
|
-
metadata?: RoleMetadata;
|
|
63
|
-
/** 排序 */
|
|
64
|
-
sort: number;
|
|
65
|
-
/** 创建时间 */
|
|
66
|
-
created_at: string;
|
|
67
|
-
/** 更新时间 */
|
|
68
|
-
updated_at: string;
|
|
69
|
-
/** 关联成员数量 (with_count[]=tenant_account) */
|
|
70
|
-
tenant_account_count?: number;
|
|
71
|
-
/** 中间表信息 (当作为成员关联角色返回时) */
|
|
72
|
-
pivot?: {
|
|
73
|
-
tenant_account_id: number;
|
|
74
|
-
tenant_role_id: number;
|
|
75
|
-
created_at: string;
|
|
76
|
-
updated_at: string;
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* 账户基础信息
|
|
81
|
-
*/
|
|
82
|
-
export interface AccountUser {
|
|
83
|
-
id: number;
|
|
84
|
-
tenant_id: number;
|
|
85
|
-
email: string | null;
|
|
86
|
-
phone: string | null;
|
|
87
|
-
avatar: string | null;
|
|
88
|
-
name: string | null;
|
|
89
|
-
first_name: string | null;
|
|
90
|
-
last_name: string | null;
|
|
91
|
-
nickname: string | null;
|
|
92
|
-
locale: string;
|
|
93
|
-
timezone: string;
|
|
94
|
-
status: string;
|
|
95
|
-
login_times: number;
|
|
96
|
-
login_ip: string | null;
|
|
97
|
-
login_at: string | null;
|
|
98
|
-
created_at: string;
|
|
99
|
-
updated_at: string;
|
|
100
|
-
}
|
|
101
|
-
/**
|
|
102
|
-
* 成员(租户账户)信息接口
|
|
103
|
-
*/
|
|
104
|
-
export interface MemberInfo {
|
|
105
|
-
/** 租户账户ID */
|
|
106
|
-
id: number;
|
|
107
|
-
/** 租户ID */
|
|
108
|
-
tenant_id: number;
|
|
109
|
-
/** 全局账户ID */
|
|
110
|
-
account_id: number;
|
|
111
|
-
/** 成员类型 */
|
|
112
|
-
type: string;
|
|
113
|
-
/** 昵称 */
|
|
114
|
-
nickname: string;
|
|
115
|
-
/** 员工编号 */
|
|
116
|
-
member_id: string | null;
|
|
117
|
-
/** 状态 */
|
|
118
|
-
status: string;
|
|
119
|
-
/** 创建时间 */
|
|
120
|
-
created_at: string;
|
|
121
|
-
/** 更新时间 */
|
|
122
|
-
updated_at: string;
|
|
123
|
-
/** 关联的账户详情 */
|
|
124
|
-
account: AccountUser;
|
|
125
|
-
/** 关联的角色列表 */
|
|
126
|
-
roles: RoleInfo[];
|
|
127
|
-
}
|
|
128
|
-
/**
|
|
129
|
-
* 权限信息接口 (保留,用于权限选择列表)
|
|
130
|
-
*/
|
|
131
|
-
export interface PermissionInfo {
|
|
132
|
-
id: string;
|
|
133
|
-
name: string;
|
|
134
|
-
code: string;
|
|
135
|
-
enabled: boolean;
|
|
136
|
-
}
|
|
137
|
-
/**
|
|
138
|
-
* 字段信息接口 (保留,用于扩展字段)
|
|
139
|
-
*/
|
|
140
|
-
export interface FieldInfo {
|
|
141
|
-
id: string;
|
|
142
|
-
name: string;
|
|
143
|
-
code: string;
|
|
144
|
-
type: string;
|
|
145
|
-
visible: boolean;
|
|
146
|
-
editable: boolean;
|
|
147
|
-
}
|
|
148
|
-
/**
|
|
149
|
-
* SaasRole 组件 Props 接口
|
|
150
|
-
*/
|
|
151
|
-
export interface SaasRoleProps {
|
|
152
|
-
/** 类名 */
|
|
153
|
-
className?: string;
|
|
154
|
-
/** 样式 */
|
|
155
|
-
style?: CSSProperties;
|
|
156
|
-
}
|
|
157
|
-
/**
|
|
158
|
-
* 创建/编辑角色表单值
|
|
159
|
-
*/
|
|
160
|
-
export interface RoleFormValues {
|
|
161
|
-
code: string;
|
|
162
|
-
name: MultiLanguage;
|
|
163
|
-
description?: MultiLanguage;
|
|
164
|
-
metadata?: RoleMetadata;
|
|
165
|
-
permission: string[];
|
|
166
|
-
sort?: number;
|
|
167
|
-
}
|
|
168
|
-
/**
|
|
169
|
-
* 权限结构
|
|
170
|
-
*/
|
|
171
|
-
export interface PermissionItem {
|
|
172
|
-
name: MultiLanguage;
|
|
173
|
-
code: string;
|
|
174
|
-
}
|
|
175
|
-
export interface AvailablePermissions {
|
|
176
|
-
[key: string]: PermissionItem[];
|
|
177
|
-
}
|
|
File without changes
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { FormRelationRecord } from '../../serve';
|
|
3
|
-
export interface ExtensionFormTabContentProps {
|
|
4
|
-
formId: number;
|
|
5
|
-
domain: string;
|
|
6
|
-
token: string;
|
|
7
|
-
locale: string;
|
|
8
|
-
tenantAccountId?: number;
|
|
9
|
-
onDirtyChange?: (isDirty: boolean) => void;
|
|
10
|
-
onLoad?: () => void;
|
|
11
|
-
onCancel?: () => void;
|
|
12
|
-
getText: (key: string) => string;
|
|
13
|
-
tabLabel: string;
|
|
14
|
-
prefix: string;
|
|
15
|
-
relationList: FormRelationRecord[];
|
|
16
|
-
refreshRelationList?: () => Promise<void> | void;
|
|
17
|
-
}
|
|
18
|
-
export declare type ExtensionFormTabContentRef = {
|
|
19
|
-
reset: () => void;
|
|
20
|
-
};
|
|
21
|
-
declare type MessageData = {
|
|
22
|
-
form_id: number;
|
|
23
|
-
form_record_id?: number;
|
|
24
|
-
[key: string]: any;
|
|
25
|
-
};
|
|
26
|
-
export interface IframeMessage {
|
|
27
|
-
type: string;
|
|
28
|
-
data?: MessageData;
|
|
29
|
-
}
|
|
30
|
-
declare const ExtensionFormTabContent: React.ForwardRefExoticComponent<ExtensionFormTabContentProps & React.RefAttributes<ExtensionFormTabContentRef>>;
|
|
31
|
-
export default ExtensionFormTabContent;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { DrawerMode, TeamMemberInfo, RoleInfo, TeamMemberFormValues } from '../../type';
|
|
3
|
-
import './index.less';
|
|
4
|
-
interface MemberDrawerProps {
|
|
5
|
-
visible: boolean;
|
|
6
|
-
mode: DrawerMode;
|
|
7
|
-
currentMember: TeamMemberInfo | null;
|
|
8
|
-
roleOptions: Array<{
|
|
9
|
-
label: string;
|
|
10
|
-
value: number;
|
|
11
|
-
}>;
|
|
12
|
-
roles: RoleInfo[];
|
|
13
|
-
onClose: () => void;
|
|
14
|
-
onSubmit: (values: TeamMemberFormValues) => Promise<void>;
|
|
15
|
-
loading?: boolean;
|
|
16
|
-
getText: (key: string) => string;
|
|
17
|
-
getLocaleText: (text: any) => string;
|
|
18
|
-
tenantId: number;
|
|
19
|
-
mypisellData: any;
|
|
20
|
-
locale: string;
|
|
21
|
-
}
|
|
22
|
-
declare const MemberDrawer: React.FC<MemberDrawerProps>;
|
|
23
|
-
export default MemberDrawer;
|