@pisell/private-materials 6.6.46 → 6.6.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/components/appointmentBooking/components/Date/state.d.ts +63 -0
- package/es/components/appointmentBooking/locales.d.ts +603 -0
- package/es/components/authentication/admin/AuthMethods/locales.d.ts +413 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +138 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +43 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +118 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +35 -0
- package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +43 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +8 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +108 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +28 -0
- package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +63 -0
- package/es/components/authentication/admin/CustomerAuth/locales.d.ts +108 -0
- package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +178 -0
- package/es/components/authentication/admin/DeviceAuth/locales.d.ts +93 -0
- package/es/components/authentication/admin/OAuthConfig/locales.d.ts +148 -0
- package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +88 -0
- package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +78 -0
- package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +88 -0
- package/es/components/booking/components/actionButtons/index.d.ts +31 -0
- package/es/components/booking/components/voucher/utils.d.ts +5 -0
- package/es/components/booking/editBookingModal/locales.d.ts +33 -0
- package/es/components/booking/editBookingModal/mock.d.ts +991 -0
- package/es/components/booking/hooks/useQuotation.js +2 -2
- package/es/components/booking/info/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info2/cartClientCard/locales.d.ts +33 -0
- package/es/components/booking/info2/service/addService/mock.d.ts +216 -0
- package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info2/service/editService/DiscountChangeModal/index.d.ts +25 -0
- package/es/components/booking/locales.d.ts +1619 -0
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/checkout/PaymentModal.d.ts +31 -0
- package/es/components/checkout/components/AdditionalModule/locales.d.ts +58 -0
- package/es/components/checkout/locales.d.ts +853 -0
- package/es/components/eftpos/locales.d.ts +163 -0
- package/es/components/eftposPay/locales.d.ts +608 -0
- package/es/components/eventBooking/locales.d.ts +408 -0
- package/es/components/list/locales.d.ts +108 -0
- package/es/components/list/utils/getText.d.ts +53 -0
- package/es/components/login/locales.d.ts +38 -0
- package/es/components/pay/toB/locales.d.ts +88 -0
- package/es/components/pay/toC/locales.d.ts +511 -0
- package/es/components/pinModal/locales.d.ts +43 -0
- package/es/components/pinVerifyModal/locales.d.ts +38 -0
- package/es/components/pisellSelectCustomerModal/locales.d.ts +133 -0
- package/es/components/productExtension/locales.d.ts +78 -0
- package/es/components/productSelect/components/pisellPriceText/index.d.ts +11 -0
- package/es/components/productSelect/locales.d.ts +38 -0
- package/es/components/ruleSetting/locales.d.ts +78 -0
- package/es/components/schedules/locales.d.ts +143 -0
- package/es/components/shoppingCart/locales.d.ts +58 -0
- package/es/components/stepController/locales.d.ts +43 -0
- package/es/components/subTotal/locales.d.ts +68 -0
- package/es/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
- package/es/components/systemSettings/registry/locales.d.ts +456 -0
- package/es/components/systemSettings/registry/types.d.ts +128 -0
- package/es/components/taxSelect/locales.d.ts +38 -0
- package/es/components/ticketBooking/locales.d.ts +328 -0
- package/es/components/ticketBooking/utils/formatTime.d.ts +33 -0
- package/es/components/ticketBooking/utils/index.d.ts +1 -1
- package/es/components/wallet/utils.d.ts +48 -0
- package/es/components/walletList/index.d.ts +4 -0
- package/es/components/walletList/locales.d.ts +43 -0
- package/es/components/walletList/types/index.d.ts +196 -0
- package/es/plus/clientCard/index.d.ts +7 -0
- package/es/plus/clientCard/locales.d.ts +28 -0
- package/es/plus/clientCard/types.d.ts +135 -0
- package/es/plus/clinetSearch/locales.d.ts +178 -0
- package/es/plus/contactInfo/locales.d.ts +23 -0
- package/es/plus/contactInfoModal/locales.d.ts +108 -0
- package/es/plus/noteModal/locales.d.ts +53 -0
- package/es/plus/productSelect/ProductCard/SkuCard/locales.d.ts +68 -0
- package/es/plus/productSelect/ProductCard/SkuCard/status.d.ts +164 -0
- package/es/plus/productSelect/components/pisellPriceText/index.d.ts +14 -0
- package/es/plus/productSelect/locales.d.ts +38 -0
- package/es/plus/saasAttendance/index.d.ts +6 -0
- package/es/plus/saasAttendance/locales.d.ts +528 -0
- package/es/plus/saasAttendance/settings/BasicInfoTab.d.ts +5 -0
- package/es/plus/saasAttendance/settings/ClockInMethodTab.d.ts +8 -0
- package/es/plus/saasAttendance/settings/CorrectionPolicyTab.d.ts +8 -0
- package/es/plus/saasAttendance/settings/ShiftScheduleTab.d.ts +5 -0
- package/es/plus/saasAttendance/settings/components/MapField.d.ts +78 -0
- package/es/plus/saasAttendance/settings/components/index.d.ts +3 -0
- package/es/plus/saasAttendance/settings/components/membersField/index.d.ts +8 -0
- package/es/plus/saasAttendance/settings/components/shiftModal/index.d.ts +18 -0
- package/es/plus/saasAttendance/settings/index.d.ts +18 -0
- package/es/plus/saasAttendance/settings/serve.d.ts +27 -0
- package/es/plus/saasAttendance/settings/types.d.ts +130 -0
- package/es/plus/saasCreateOrganization/locales.d.ts +23 -0
- package/es/plus/saasLogin/locales.d.ts +83 -0
- package/es/plus/saasRegister/locales.d.ts +193 -0
- package/es/plus/saasRole/components/PermissionManager/index.d.ts +19 -0
- package/es/plus/saasRole/index.d.ts +14 -0
- package/es/plus/saasRole/locales.d.ts +319 -0
- package/es/plus/saasRole/serve.d.ts +72 -0
- package/es/plus/saasRole/types.d.ts +177 -0
- package/es/plus/saasRole/utils.d.ts +0 -0
- package/es/plus/saasTeamMembers/components/MemberDrawer/ExtensionFormTabContent.d.ts +31 -0
- package/es/plus/saasTeamMembers/components/MemberDrawer/index.d.ts +23 -0
- package/es/plus/saasTeamMembers/index.d.ts +5 -0
- package/es/plus/saasTeamMembers/locales.d.ts +546 -0
- package/es/plus/saasTeamMembers/serve.d.ts +95 -0
- package/es/plus/saasTeamMembers/type.d.ts +158 -0
- package/es/plus/selectHolder/locales.d.ts +38 -0
- package/es/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +39 -0
- package/es/plus/walletEditor/locales.d.ts +223 -0
- package/es/plus/walletEditor/types.d.ts +54 -0
- package/es/plus/walletPassGallery/components/passDetail/index.d.ts +11 -0
- package/es/plus/walletPassGallery/components/passList/index.d.ts +13 -0
- package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +12 -0
- package/es/plus/walletPassGallery/index.d.ts +11 -0
- package/es/plus/walletPassGallery/locales.d.ts +473 -0
- package/es/plus/walletPassGallery/serve.d.ts +245 -0
- package/es/plus/walletPassGallery/utils.d.ts +48 -0
- package/es/pro/Login2.0/locales.d.ts +903 -0
- package/es/pro/Login2.0/shared/types.d.ts +234 -0
- package/es/pro/comprehensiveSearch/components/searchSection/locales.d.ts +23 -0
- package/es/pro/comprehensiveSearch/locales.d.ts +23 -0
- package/es/pro/numberKeyboard/locales.d.ts +18 -0
- package/es/pro/pisellPhoneKeyboard/locales.d.ts +18 -0
- package/es/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +63 -0
- package/es/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +68 -0
- package/es/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +73 -0
- package/es/pro/skuDetailModal/locales.d.ts +78 -0
- package/es/pro/skuDetailModal/types.d.ts +352 -0
- package/lib/components/appointmentBooking/components/Date/state.d.ts +63 -0
- package/lib/components/appointmentBooking/locales.d.ts +603 -0
- package/lib/components/authentication/admin/AuthMethods/locales.d.ts +413 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +138 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +43 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +118 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +35 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +43 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +8 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +108 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +28 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +63 -0
- package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +108 -0
- package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +178 -0
- package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +93 -0
- package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +148 -0
- package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +88 -0
- package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +78 -0
- package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +88 -0
- package/lib/components/booking/components/actionButtons/index.d.ts +31 -0
- package/lib/components/booking/components/voucher/utils.d.ts +5 -0
- package/lib/components/booking/editBookingModal/locales.d.ts +33 -0
- package/lib/components/booking/editBookingModal/mock.d.ts +991 -0
- package/lib/components/booking/hooks/useQuotation.js +2 -2
- package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info2/cartClientCard/locales.d.ts +33 -0
- package/lib/components/booking/info2/service/addService/mock.d.ts +216 -0
- package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/editService/DiscountChangeModal/index.d.ts +25 -0
- package/lib/components/booking/locales.d.ts +1619 -0
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/checkout/PaymentModal.d.ts +31 -0
- package/lib/components/checkout/components/AdditionalModule/locales.d.ts +58 -0
- package/lib/components/checkout/locales.d.ts +853 -0
- package/lib/components/eftpos/locales.d.ts +163 -0
- package/lib/components/eftposPay/locales.d.ts +608 -0
- package/lib/components/eventBooking/locales.d.ts +408 -0
- package/lib/components/list/locales.d.ts +108 -0
- package/lib/components/list/utils/getText.d.ts +53 -0
- package/lib/components/login/locales.d.ts +38 -0
- package/lib/components/pay/toB/locales.d.ts +88 -0
- package/lib/components/pay/toC/locales.d.ts +511 -0
- package/lib/components/pinModal/locales.d.ts +43 -0
- package/lib/components/pinVerifyModal/locales.d.ts +38 -0
- package/lib/components/pisellSelectCustomerModal/locales.d.ts +133 -0
- package/lib/components/productExtension/locales.d.ts +78 -0
- package/lib/components/productSelect/components/pisellPriceText/index.d.ts +11 -0
- package/lib/components/productSelect/locales.d.ts +38 -0
- package/lib/components/ruleSetting/locales.d.ts +78 -0
- package/lib/components/schedules/locales.d.ts +143 -0
- package/lib/components/shoppingCart/locales.d.ts +58 -0
- package/lib/components/stepController/locales.d.ts +43 -0
- package/lib/components/subTotal/locales.d.ts +68 -0
- package/lib/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
- package/lib/components/systemSettings/registry/locales.d.ts +456 -0
- package/lib/components/systemSettings/registry/types.d.ts +128 -0
- package/lib/components/taxSelect/locales.d.ts +38 -0
- package/lib/components/ticketBooking/locales.d.ts +328 -0
- package/lib/components/ticketBooking/utils/formatTime.d.ts +33 -0
- package/lib/components/ticketBooking/utils/index.d.ts +1 -1
- package/lib/components/wallet/utils.d.ts +48 -0
- package/lib/components/walletList/index.d.ts +4 -0
- package/lib/components/walletList/locales.d.ts +43 -0
- package/lib/components/walletList/types/index.d.ts +196 -0
- package/lib/plus/clientCard/index.d.ts +7 -0
- package/lib/plus/clientCard/locales.d.ts +28 -0
- package/lib/plus/clientCard/types.d.ts +135 -0
- package/lib/plus/clinetSearch/locales.d.ts +178 -0
- package/lib/plus/contactInfo/locales.d.ts +23 -0
- package/lib/plus/contactInfoModal/locales.d.ts +108 -0
- package/lib/plus/noteModal/locales.d.ts +53 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/locales.d.ts +68 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/status.d.ts +164 -0
- package/lib/plus/productSelect/components/pisellPriceText/index.d.ts +14 -0
- package/lib/plus/productSelect/locales.d.ts +38 -0
- package/lib/plus/saasAttendance/index.d.ts +6 -0
- package/lib/plus/saasAttendance/locales.d.ts +528 -0
- package/lib/plus/saasAttendance/settings/BasicInfoTab.d.ts +5 -0
- package/lib/plus/saasAttendance/settings/ClockInMethodTab.d.ts +8 -0
- package/lib/plus/saasAttendance/settings/CorrectionPolicyTab.d.ts +8 -0
- package/lib/plus/saasAttendance/settings/ShiftScheduleTab.d.ts +5 -0
- package/lib/plus/saasAttendance/settings/components/MapField.d.ts +78 -0
- package/lib/plus/saasAttendance/settings/components/index.d.ts +3 -0
- package/lib/plus/saasAttendance/settings/components/membersField/index.d.ts +8 -0
- package/lib/plus/saasAttendance/settings/components/shiftModal/index.d.ts +18 -0
- package/lib/plus/saasAttendance/settings/index.d.ts +18 -0
- package/lib/plus/saasAttendance/settings/serve.d.ts +27 -0
- package/lib/plus/saasAttendance/settings/types.d.ts +130 -0
- package/lib/plus/saasCreateOrganization/locales.d.ts +23 -0
- package/lib/plus/saasLogin/locales.d.ts +83 -0
- package/lib/plus/saasRegister/locales.d.ts +193 -0
- package/lib/plus/saasRole/components/PermissionManager/index.d.ts +19 -0
- package/lib/plus/saasRole/index.d.ts +14 -0
- package/lib/plus/saasRole/locales.d.ts +319 -0
- package/lib/plus/saasRole/serve.d.ts +72 -0
- package/lib/plus/saasRole/types.d.ts +177 -0
- package/lib/plus/saasRole/utils.d.ts +0 -0
- package/lib/plus/saasTeamMembers/components/MemberDrawer/ExtensionFormTabContent.d.ts +31 -0
- package/lib/plus/saasTeamMembers/components/MemberDrawer/index.d.ts +23 -0
- package/lib/plus/saasTeamMembers/index.d.ts +5 -0
- package/lib/plus/saasTeamMembers/locales.d.ts +546 -0
- package/lib/plus/saasTeamMembers/serve.d.ts +95 -0
- package/lib/plus/saasTeamMembers/type.d.ts +158 -0
- package/lib/plus/selectHolder/locales.d.ts +38 -0
- package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +39 -0
- package/lib/plus/walletEditor/locales.d.ts +223 -0
- package/lib/plus/walletEditor/types.d.ts +54 -0
- package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +11 -0
- package/lib/plus/walletPassGallery/components/passList/index.d.ts +13 -0
- package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +12 -0
- package/lib/plus/walletPassGallery/index.d.ts +11 -0
- package/lib/plus/walletPassGallery/locales.d.ts +473 -0
- package/lib/plus/walletPassGallery/serve.d.ts +245 -0
- package/lib/plus/walletPassGallery/utils.d.ts +48 -0
- package/lib/pro/Login2.0/locales.d.ts +903 -0
- package/lib/pro/Login2.0/shared/types.d.ts +234 -0
- package/lib/pro/comprehensiveSearch/components/searchSection/locales.d.ts +23 -0
- package/lib/pro/comprehensiveSearch/locales.d.ts +23 -0
- package/lib/pro/numberKeyboard/locales.d.ts +18 -0
- package/lib/pro/pisellPhoneKeyboard/locales.d.ts +18 -0
- package/lib/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +63 -0
- package/lib/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +68 -0
- package/lib/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +73 -0
- package/lib/pro/skuDetailModal/locales.d.ts +78 -0
- package/lib/pro/skuDetailModal/types.d.ts +352 -0
- package/lowcode/eco-cup-list/meta.ts +63 -0
- package/lowcode/eco-customer-list/meta.ts +63 -0
- package/package.json +3 -3
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { AttendanceLocation } from '../types';
|
|
3
|
+
export declare type GoogleMapLatLng = {
|
|
4
|
+
lat: number;
|
|
5
|
+
lng: number;
|
|
6
|
+
};
|
|
7
|
+
export declare type GoogleMapConfig = {
|
|
8
|
+
center: GoogleMapLatLng;
|
|
9
|
+
zoom: number;
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
};
|
|
12
|
+
export declare type GoogleMapMarker = {
|
|
13
|
+
id?: string;
|
|
14
|
+
coordinate: GoogleMapLatLng;
|
|
15
|
+
title?: string;
|
|
16
|
+
snippet?: string;
|
|
17
|
+
iconUrl?: string;
|
|
18
|
+
iconSize?: {
|
|
19
|
+
width: number;
|
|
20
|
+
height: number;
|
|
21
|
+
};
|
|
22
|
+
iconAnchor?: {
|
|
23
|
+
x: number;
|
|
24
|
+
y: number;
|
|
25
|
+
};
|
|
26
|
+
draggable?: boolean;
|
|
27
|
+
};
|
|
28
|
+
export declare type GoogleMapCircle = {
|
|
29
|
+
id?: string;
|
|
30
|
+
center: GoogleMapLatLng;
|
|
31
|
+
radius: number;
|
|
32
|
+
strokeColor?: string;
|
|
33
|
+
strokeOpacity?: number;
|
|
34
|
+
strokeWeight?: number;
|
|
35
|
+
fillColor?: string;
|
|
36
|
+
fillOpacity?: number;
|
|
37
|
+
clickable?: boolean;
|
|
38
|
+
};
|
|
39
|
+
export declare type GoogleMapRef = {
|
|
40
|
+
getMap: () => any | null;
|
|
41
|
+
addMarker: (marker: GoogleMapMarker) => Promise<string | null>;
|
|
42
|
+
addMarkers: (markers: GoogleMapMarker[]) => Promise<string[]>;
|
|
43
|
+
removeMarker: (markerId: string) => Promise<void>;
|
|
44
|
+
removeMarkers: (markerIds: string[]) => Promise<void>;
|
|
45
|
+
addCircle: (circle: GoogleMapCircle) => Promise<string | null>;
|
|
46
|
+
addCircles: (circles: GoogleMapCircle[]) => Promise<string[]>;
|
|
47
|
+
removeCircle: (circleId: string) => Promise<void>;
|
|
48
|
+
removeCircles: (circleIds: string[]) => Promise<void>;
|
|
49
|
+
setCamera: (config: {
|
|
50
|
+
coordinate: GoogleMapLatLng;
|
|
51
|
+
zoom?: number;
|
|
52
|
+
animate?: boolean;
|
|
53
|
+
}) => Promise<void>;
|
|
54
|
+
fitBounds: (bounds: {
|
|
55
|
+
southwest: GoogleMapLatLng;
|
|
56
|
+
northeast: GoogleMapLatLng;
|
|
57
|
+
padding?: number;
|
|
58
|
+
}) => Promise<void>;
|
|
59
|
+
};
|
|
60
|
+
export interface MapFieldProps {
|
|
61
|
+
value?: AttendanceLocation[];
|
|
62
|
+
onChange?: (value: AttendanceLocation[]) => void;
|
|
63
|
+
defaultRadius?: number;
|
|
64
|
+
className?: string;
|
|
65
|
+
}
|
|
66
|
+
export interface MapFieldRef {
|
|
67
|
+
onAddLocation: () => void;
|
|
68
|
+
}
|
|
69
|
+
export interface LocationFormMapProps {
|
|
70
|
+
value?: any;
|
|
71
|
+
onChange?: (values: any) => void;
|
|
72
|
+
defaultRadius?: number;
|
|
73
|
+
}
|
|
74
|
+
export interface LocationFormMapRef {
|
|
75
|
+
validate: () => Promise<any>;
|
|
76
|
+
}
|
|
77
|
+
declare const MapField: React.ForwardRefExoticComponent<MapFieldProps & React.RefAttributes<MapFieldRef>>;
|
|
78
|
+
export default MapField;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare type ShiftScheduleTime = {
|
|
3
|
+
id: string;
|
|
4
|
+
start: string;
|
|
5
|
+
end: string;
|
|
6
|
+
};
|
|
7
|
+
export declare type ShiftScheduleItem = {
|
|
8
|
+
weekday: number;
|
|
9
|
+
times: ShiftScheduleTime[];
|
|
10
|
+
};
|
|
11
|
+
export interface ShiftModalProps {
|
|
12
|
+
open: boolean;
|
|
13
|
+
value?: ShiftScheduleItem[];
|
|
14
|
+
onCancel: () => void;
|
|
15
|
+
onOk: (value: ShiftScheduleItem[]) => void;
|
|
16
|
+
}
|
|
17
|
+
declare const ShiftModal: React.FC<ShiftModalProps>;
|
|
18
|
+
export default ShiftModal;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { AttendanceGroupSettingsValue, TenantAccount } from './types';
|
|
3
|
+
import './index.less';
|
|
4
|
+
export interface ISettingsProps {
|
|
5
|
+
value?: AttendanceGroupSettingsValue;
|
|
6
|
+
onValuesChange?: (value: AttendanceGroupSettingsValue) => void;
|
|
7
|
+
onFinish?: (value: AttendanceGroupSettingsValue) => void;
|
|
8
|
+
loading?: boolean;
|
|
9
|
+
className?: string;
|
|
10
|
+
style?: React.CSSProperties;
|
|
11
|
+
/** 自定义滚动容器,可以是选择器字符串或 HTMLElement */
|
|
12
|
+
customScrollParent?: string | HTMLElement;
|
|
13
|
+
}
|
|
14
|
+
export declare const settingsContext: React.Context<{
|
|
15
|
+
members: TenantAccount[];
|
|
16
|
+
}>;
|
|
17
|
+
declare const Settings: React.FC<ISettingsProps>;
|
|
18
|
+
export default Settings;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { TenantAccount } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* 获取时区列表
|
|
4
|
+
* @param params
|
|
5
|
+
* @returns
|
|
6
|
+
*/
|
|
7
|
+
export declare const getTimezoneList: (params: any) => Promise<any>;
|
|
8
|
+
/**
|
|
9
|
+
* 获取所有成员列表 (用于选择添加)
|
|
10
|
+
* GET: /tenant/account
|
|
11
|
+
*/
|
|
12
|
+
export declare const getAllMembers: (params?: {
|
|
13
|
+
page?: number;
|
|
14
|
+
size?: number;
|
|
15
|
+
search?: string;
|
|
16
|
+
with?: string[];
|
|
17
|
+
}) => Promise<{
|
|
18
|
+
list: TenantAccount[];
|
|
19
|
+
}>;
|
|
20
|
+
/**
|
|
21
|
+
* 根据id列表获取团队成员列表
|
|
22
|
+
* @param params
|
|
23
|
+
* @returns
|
|
24
|
+
*/
|
|
25
|
+
export declare const getGroupMembers: (params: {
|
|
26
|
+
ids: number[];
|
|
27
|
+
}) => Promise<any>;
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 多语言名称
|
|
3
|
+
*/
|
|
4
|
+
export interface MultiLangName {
|
|
5
|
+
en?: string;
|
|
6
|
+
'zh-CN'?: string;
|
|
7
|
+
'zh-HK'?: string;
|
|
8
|
+
'ja'?: string;
|
|
9
|
+
'pt'?: string;
|
|
10
|
+
original?: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* 未排班时的打卡规则
|
|
14
|
+
* - anytime: 随时打卡
|
|
15
|
+
* - business_hours: 正常上下班(按照店铺营业时间打卡)
|
|
16
|
+
* - select_shift: 自选班次(员工需先选班次后打卡)
|
|
17
|
+
*/
|
|
18
|
+
export declare type NoShiftPolicy = 'anytime' | 'business_hours' | 'select_shift';
|
|
19
|
+
/**
|
|
20
|
+
* 考勤规则
|
|
21
|
+
*/
|
|
22
|
+
export interface AttendanceRule {
|
|
23
|
+
no_shift_policy: NoShiftPolicy;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* 考勤地点
|
|
27
|
+
*/
|
|
28
|
+
export interface AttendanceLocation {
|
|
29
|
+
id: string;
|
|
30
|
+
name: MultiLangName;
|
|
31
|
+
radius?: number;
|
|
32
|
+
address: {
|
|
33
|
+
lat: number;
|
|
34
|
+
lng: number;
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* 考勤地点配置
|
|
39
|
+
*/
|
|
40
|
+
export interface AttendancePlace {
|
|
41
|
+
radius: number;
|
|
42
|
+
location: AttendanceLocation[];
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* 补卡类型
|
|
46
|
+
* - normal: 正常
|
|
47
|
+
* - late: 迟到
|
|
48
|
+
* - early_leave: 早退
|
|
49
|
+
* - missing: 缺卡
|
|
50
|
+
*/
|
|
51
|
+
export declare type CorrectionType = 'normal' | 'late' | 'early_leave' | 'missing';
|
|
52
|
+
/**
|
|
53
|
+
* 补卡周期类型
|
|
54
|
+
* - natural_month: 自然月
|
|
55
|
+
* - custom: 自定义周期
|
|
56
|
+
*/
|
|
57
|
+
export declare type FrequencyType = 'natural_month' | 'custom';
|
|
58
|
+
/**
|
|
59
|
+
* 补卡配置
|
|
60
|
+
*/
|
|
61
|
+
export interface AttendanceCorrection {
|
|
62
|
+
allow: boolean;
|
|
63
|
+
types: CorrectionType[];
|
|
64
|
+
approver_ids: number[];
|
|
65
|
+
days_limit: number;
|
|
66
|
+
monthly_times: number;
|
|
67
|
+
period_type: FrequencyType;
|
|
68
|
+
period_custom: number | null;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* 考勤组设置值 - 完整的API数据结构
|
|
72
|
+
*/
|
|
73
|
+
export interface AttendanceGroupSettingsValue {
|
|
74
|
+
id?: number;
|
|
75
|
+
name: MultiLangName;
|
|
76
|
+
timezone: string;
|
|
77
|
+
rule: AttendanceRule;
|
|
78
|
+
place: AttendancePlace;
|
|
79
|
+
member_ids: number[];
|
|
80
|
+
correction: AttendanceCorrection;
|
|
81
|
+
creator_type?: string;
|
|
82
|
+
creator_id?: number;
|
|
83
|
+
editor_type?: string;
|
|
84
|
+
editor_id?: number;
|
|
85
|
+
created_at?: string;
|
|
86
|
+
updated_at?: string;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* 基本信息Tab的值
|
|
90
|
+
*/
|
|
91
|
+
export interface BasicInfoTabValue {
|
|
92
|
+
name: MultiLangName;
|
|
93
|
+
timezone: string;
|
|
94
|
+
member_ids: number[];
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* 排班规则Tab的值
|
|
98
|
+
*/
|
|
99
|
+
export interface ShiftScheduleTabValue {
|
|
100
|
+
rule: AttendanceRule;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* 打卡方式Tab的值
|
|
104
|
+
*/
|
|
105
|
+
export interface ClockInMethodTabValue {
|
|
106
|
+
place: AttendancePlace;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* 补卡规则Tab的值
|
|
110
|
+
*/
|
|
111
|
+
export interface CorrectionPolicyTabValue {
|
|
112
|
+
correction: AttendanceCorrection;
|
|
113
|
+
}
|
|
114
|
+
export declare type AttendanceGroupSettingsSection = 'basic' | 'shift' | 'clock' | 'correction';
|
|
115
|
+
export interface TenantAccount {
|
|
116
|
+
account?: {
|
|
117
|
+
id: number;
|
|
118
|
+
email: string;
|
|
119
|
+
avatar: string;
|
|
120
|
+
};
|
|
121
|
+
account_id: number;
|
|
122
|
+
created_at: string;
|
|
123
|
+
id: number;
|
|
124
|
+
member_id: string;
|
|
125
|
+
nickname: string;
|
|
126
|
+
status: 'active' | 'inactive';
|
|
127
|
+
tenant_id: number;
|
|
128
|
+
type: 'founder' | 'staff';
|
|
129
|
+
updated_at: string;
|
|
130
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell-saas-create-org-welcome-message': string;
|
|
4
|
+
'pisell-saas-create-org-title': string;
|
|
5
|
+
};
|
|
6
|
+
'zh-CN': {
|
|
7
|
+
'pisell-saas-create-org-welcome-message': string;
|
|
8
|
+
'pisell-saas-create-org-title': string;
|
|
9
|
+
};
|
|
10
|
+
'zh-TW': {
|
|
11
|
+
'pisell-saas-create-org-welcome-message': string;
|
|
12
|
+
'pisell-saas-create-org-title': string;
|
|
13
|
+
};
|
|
14
|
+
ja: {
|
|
15
|
+
'pisell-saas-create-org-welcome-message': string;
|
|
16
|
+
'pisell-saas-create-org-title': string;
|
|
17
|
+
};
|
|
18
|
+
pt: {
|
|
19
|
+
'pisell-saas-create-org-welcome-message': string;
|
|
20
|
+
'pisell-saas-create-org-title': string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell-saas-login-welcome-message': string;
|
|
4
|
+
'pisell-saas-login-title': string;
|
|
5
|
+
'pisell-saas-login-subtitle': string;
|
|
6
|
+
'pisell-saas-login-email-label': string;
|
|
7
|
+
'pisell-saas-login-email-placeholder': string;
|
|
8
|
+
'pisell-saas-login-password-label': string;
|
|
9
|
+
'pisell-saas-login-password-placeholder': string;
|
|
10
|
+
'pisell-saas-login-email-error': string;
|
|
11
|
+
'pisell-saas-login-email-error-valid': string;
|
|
12
|
+
'pisell-saas-login-password-required': string;
|
|
13
|
+
'pisell-saas-login-password-error': string;
|
|
14
|
+
'pisell-saas-login-button': string;
|
|
15
|
+
'pisell-saas-login-register-text': string;
|
|
16
|
+
'pisell-saas-login-register-link': string;
|
|
17
|
+
};
|
|
18
|
+
'zh-CN': {
|
|
19
|
+
'pisell-saas-login-welcome-message': string;
|
|
20
|
+
'pisell-saas-login-title': string;
|
|
21
|
+
'pisell-saas-login-subtitle': string;
|
|
22
|
+
'pisell-saas-login-email-label': string;
|
|
23
|
+
'pisell-saas-login-email-placeholder': string;
|
|
24
|
+
'pisell-saas-login-password-label': string;
|
|
25
|
+
'pisell-saas-login-password-placeholder': string;
|
|
26
|
+
'pisell-saas-login-email-error': string;
|
|
27
|
+
'pisell-saas-login-email-error-valid': string;
|
|
28
|
+
'pisell-saas-login-password-required': string;
|
|
29
|
+
'pisell-saas-login-password-error': string;
|
|
30
|
+
'pisell-saas-login-button': string;
|
|
31
|
+
'pisell-saas-login-register-text': string;
|
|
32
|
+
'pisell-saas-login-register-link': string;
|
|
33
|
+
};
|
|
34
|
+
'zh-HK': {
|
|
35
|
+
'pisell-saas-login-welcome-message': string;
|
|
36
|
+
'pisell-saas-login-title': string;
|
|
37
|
+
'pisell-saas-login-subtitle': string;
|
|
38
|
+
'pisell-saas-login-email-label': string;
|
|
39
|
+
'pisell-saas-login-email-placeholder': string;
|
|
40
|
+
'pisell-saas-login-password-label': string;
|
|
41
|
+
'pisell-saas-login-password-placeholder': string;
|
|
42
|
+
'pisell-saas-login-email-error': string;
|
|
43
|
+
'pisell-saas-login-email-error-valid': string;
|
|
44
|
+
'pisell-saas-login-password-required': string;
|
|
45
|
+
'pisell-saas-login-password-error': string;
|
|
46
|
+
'pisell-saas-login-button': string;
|
|
47
|
+
'pisell-saas-login-register-text': string;
|
|
48
|
+
'pisell-saas-login-register-link': string;
|
|
49
|
+
};
|
|
50
|
+
ja: {
|
|
51
|
+
'pisell-saas-login-welcome-message': string;
|
|
52
|
+
'pisell-saas-login-title': string;
|
|
53
|
+
'pisell-saas-login-subtitle': string;
|
|
54
|
+
'pisell-saas-login-email-label': string;
|
|
55
|
+
'pisell-saas-login-email-placeholder': string;
|
|
56
|
+
'pisell-saas-login-password-label': string;
|
|
57
|
+
'pisell-saas-login-password-placeholder': string;
|
|
58
|
+
'pisell-saas-login-email-error': string;
|
|
59
|
+
'pisell-saas-login-email-error-valid': string;
|
|
60
|
+
'pisell-saas-login-password-required': string;
|
|
61
|
+
'pisell-saas-login-password-error': string;
|
|
62
|
+
'pisell-saas-login-button': string;
|
|
63
|
+
'pisell-saas-login-register-text': string;
|
|
64
|
+
'pisell-saas-login-register-link': string;
|
|
65
|
+
};
|
|
66
|
+
pt: {
|
|
67
|
+
'pisell-saas-login-welcome-message': string;
|
|
68
|
+
'pisell-saas-login-title': string;
|
|
69
|
+
'pisell-saas-login-subtitle': string;
|
|
70
|
+
'pisell-saas-login-email-label': string;
|
|
71
|
+
'pisell-saas-login-email-placeholder': string;
|
|
72
|
+
'pisell-saas-login-password-label': string;
|
|
73
|
+
'pisell-saas-login-password-placeholder': string;
|
|
74
|
+
'pisell-saas-login-email-error': string;
|
|
75
|
+
'pisell-saas-login-email-error-valid': string;
|
|
76
|
+
'pisell-saas-login-password-required': string;
|
|
77
|
+
'pisell-saas-login-password-error': string;
|
|
78
|
+
'pisell-saas-login-button': string;
|
|
79
|
+
'pisell-saas-login-register-text': string;
|
|
80
|
+
'pisell-saas-login-register-link': string;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
export default _default;
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell-saas-register-welcome-message': string;
|
|
4
|
+
'pisell-saas-register-title': string;
|
|
5
|
+
'pisell-saas-register-subtitle': string;
|
|
6
|
+
'pisell-saas-register-email-label': string;
|
|
7
|
+
'pisell-saas-register-email-placeholder': string;
|
|
8
|
+
'pisell-saas-register-email-error': string;
|
|
9
|
+
'pisell-saas-register-email-error-valid': string;
|
|
10
|
+
'pisell-saas-register-button': string;
|
|
11
|
+
'pisell-saas-register-login-text': string;
|
|
12
|
+
'pisell-saas-register-login-link-text': string;
|
|
13
|
+
'pisell-saas-register-failed-button-text': string;
|
|
14
|
+
'pisell-saas-register-failed-email-registered-title': string;
|
|
15
|
+
'pisell-saas-register-verify-email-title': string;
|
|
16
|
+
'pisell-saas-register-verify-email-subtitle': string;
|
|
17
|
+
'pisell-saas-register-resend-text': string;
|
|
18
|
+
'pisell-saas-register-resend-button-text': string;
|
|
19
|
+
'pisell-saas-register-verifying-email-title': string;
|
|
20
|
+
'pisell-saas-register-failed-link-expired-title': string;
|
|
21
|
+
'pisell-saas-register-failed-link-expired-subtitle': string;
|
|
22
|
+
'pisell-saas-register-failed-link-invalid-title': string;
|
|
23
|
+
'pisell-saas-register-failed-link-invalid-subtitle': string;
|
|
24
|
+
'pisell-saas-register-failed-link-email-registered-title': string;
|
|
25
|
+
'pisell-saas-register-failed-link-email-registered-subtitle': string;
|
|
26
|
+
'pisell-saas-register-failed-link-email-registered-button-text': string;
|
|
27
|
+
'pisell-saas-register-password-label': string;
|
|
28
|
+
'pisell-saas-register-password-placeholder': string;
|
|
29
|
+
'pisell-saas-register-password-required': string;
|
|
30
|
+
'pisell-saas-register-divider-text': string;
|
|
31
|
+
'pisell-saas-register-first-name-label': string;
|
|
32
|
+
'pisell-saas-register-first-name-placeholder': string;
|
|
33
|
+
'pisell-saas-register-last-name-label': string;
|
|
34
|
+
'pisell-saas-register-last-name-placeholder': string;
|
|
35
|
+
'pisell-saas-register-entry-info-title': string;
|
|
36
|
+
'pisell-saas-register-entry-info-subtitle': string;
|
|
37
|
+
'pisell-saas-register-entry-info-document-title': string;
|
|
38
|
+
'pisell-saas-register-entry-info-document-description': string;
|
|
39
|
+
};
|
|
40
|
+
'zh-CN': {
|
|
41
|
+
'pisell-saas-register-welcome-message': string;
|
|
42
|
+
'pisell-saas-register-title': string;
|
|
43
|
+
'pisell-saas-register-subtitle': string;
|
|
44
|
+
'pisell-saas-register-email-label': string;
|
|
45
|
+
'pisell-saas-register-email-placeholder': string;
|
|
46
|
+
'pisell-saas-register-email-error': string;
|
|
47
|
+
'pisell-saas-register-email-error-valid': string;
|
|
48
|
+
'pisell-saas-register-button': string;
|
|
49
|
+
'pisell-saas-register-login-text': string;
|
|
50
|
+
'pisell-saas-register-login-link-text': string;
|
|
51
|
+
'pisell-saas-register-failed-button-text': string;
|
|
52
|
+
'pisell-saas-register-failed-email-registered-title': string;
|
|
53
|
+
'pisell-saas-register-verify-email-title': string;
|
|
54
|
+
'pisell-saas-register-verify-email-subtitle': string;
|
|
55
|
+
'pisell-saas-register-resend-text': string;
|
|
56
|
+
'pisell-saas-register-resend-button-text': string;
|
|
57
|
+
'pisell-saas-register-verifying-email-title': string;
|
|
58
|
+
'pisell-saas-register-failed-link-expired-title': string;
|
|
59
|
+
'pisell-saas-register-failed-link-expired-subtitle': string;
|
|
60
|
+
'pisell-saas-register-failed-link-invalid-title': string;
|
|
61
|
+
'pisell-saas-register-failed-link-invalid-subtitle': string;
|
|
62
|
+
'pisell-saas-register-failed-link-email-registered-title': string;
|
|
63
|
+
'pisell-saas-register-failed-link-email-registered-subtitle': string;
|
|
64
|
+
'pisell-saas-register-failed-link-email-registered-button-text': string;
|
|
65
|
+
'pisell-saas-register-password-label': string;
|
|
66
|
+
'pisell-saas-register-password-placeholder': string;
|
|
67
|
+
'pisell-saas-register-password-required': string;
|
|
68
|
+
'pisell-saas-register-divider-text': string;
|
|
69
|
+
'pisell-saas-register-first-name-label': string;
|
|
70
|
+
'pisell-saas-register-first-name-placeholder': string;
|
|
71
|
+
'pisell-saas-register-last-name-label': string;
|
|
72
|
+
'pisell-saas-register-last-name-placeholder': string;
|
|
73
|
+
'pisell-saas-register-entry-info-title': string;
|
|
74
|
+
'pisell-saas-register-entry-info-subtitle': string;
|
|
75
|
+
'pisell-saas-register-entry-info-document-title': string;
|
|
76
|
+
'pisell-saas-register-entry-info-document-description': string;
|
|
77
|
+
};
|
|
78
|
+
'zh-HK': {
|
|
79
|
+
'pisell-saas-register-welcome-message': string;
|
|
80
|
+
'pisell-saas-register-title': string;
|
|
81
|
+
'pisell-saas-register-subtitle': string;
|
|
82
|
+
'pisell-saas-register-email-label': string;
|
|
83
|
+
'pisell-saas-register-email-placeholder': string;
|
|
84
|
+
'pisell-saas-register-email-error': string;
|
|
85
|
+
'pisell-saas-register-email-error-valid': string;
|
|
86
|
+
'pisell-saas-register-button': string;
|
|
87
|
+
'pisell-saas-register-login-text': string;
|
|
88
|
+
'pisell-saas-register-login-link-text': string;
|
|
89
|
+
'pisell-saas-register-failed-button-text': string;
|
|
90
|
+
'pisell-saas-register-failed-email-registered-title': string;
|
|
91
|
+
'pisell-saas-register-verify-email-title': string;
|
|
92
|
+
'pisell-saas-register-verify-email-subtitle': string;
|
|
93
|
+
'pisell-saas-register-resend-text': string;
|
|
94
|
+
'pisell-saas-register-resend-button-text': string;
|
|
95
|
+
'pisell-saas-register-verifying-email-title': string;
|
|
96
|
+
'pisell-saas-register-failed-link-expired-title': string;
|
|
97
|
+
'pisell-saas-register-failed-link-expired-subtitle': string;
|
|
98
|
+
'pisell-saas-register-failed-link-invalid-title': string;
|
|
99
|
+
'pisell-saas-register-failed-link-invalid-subtitle': string;
|
|
100
|
+
'pisell-saas-register-failed-link-email-registered-title': string;
|
|
101
|
+
'pisell-saas-register-failed-link-email-registered-subtitle': string;
|
|
102
|
+
'pisell-saas-register-failed-link-email-registered-button-text': string;
|
|
103
|
+
'pisell-saas-register-password-label': string;
|
|
104
|
+
'pisell-saas-register-password-placeholder': string;
|
|
105
|
+
'pisell-saas-register-password-required': string;
|
|
106
|
+
'pisell-saas-register-divider-text': string;
|
|
107
|
+
'pisell-saas-register-first-name-label': string;
|
|
108
|
+
'pisell-saas-register-first-name-placeholder': string;
|
|
109
|
+
'pisell-saas-register-last-name-label': string;
|
|
110
|
+
'pisell-saas-register-last-name-placeholder': string;
|
|
111
|
+
'pisell-saas-register-entry-info-title': string;
|
|
112
|
+
'pisell-saas-register-entry-info-subtitle': string;
|
|
113
|
+
'pisell-saas-register-entry-info-document-title': string;
|
|
114
|
+
'pisell-saas-register-entry-info-document-description': string;
|
|
115
|
+
};
|
|
116
|
+
ja: {
|
|
117
|
+
'pisell-saas-register-welcome-message': string;
|
|
118
|
+
'pisell-saas-register-title': string;
|
|
119
|
+
'pisell-saas-register-subtitle': string;
|
|
120
|
+
'pisell-saas-register-email-label': string;
|
|
121
|
+
'pisell-saas-register-email-placeholder': string;
|
|
122
|
+
'pisell-saas-register-email-error': string;
|
|
123
|
+
'pisell-saas-register-email-error-valid': string;
|
|
124
|
+
'pisell-saas-register-button': string;
|
|
125
|
+
'pisell-saas-register-login-text': string;
|
|
126
|
+
'pisell-saas-register-login-link-text': string;
|
|
127
|
+
'pisell-saas-register-failed-button-text': string;
|
|
128
|
+
'pisell-saas-register-failed-email-registered-title': string;
|
|
129
|
+
'pisell-saas-register-verify-email-title': string;
|
|
130
|
+
'pisell-saas-register-verify-email-subtitle': string;
|
|
131
|
+
'pisell-saas-register-resend-text': string;
|
|
132
|
+
'pisell-saas-register-resend-button-text': string;
|
|
133
|
+
'pisell-saas-register-verifying-email-title': string;
|
|
134
|
+
'pisell-saas-register-failed-link-expired-title': string;
|
|
135
|
+
'pisell-saas-register-failed-link-expired-subtitle': string;
|
|
136
|
+
'pisell-saas-register-failed-link-invalid-title': string;
|
|
137
|
+
'pisell-saas-register-failed-link-invalid-subtitle': string;
|
|
138
|
+
'pisell-saas-register-failed-link-email-registered-title': string;
|
|
139
|
+
'pisell-saas-register-failed-link-email-registered-subtitle': string;
|
|
140
|
+
'pisell-saas-register-failed-link-email-registered-button-text': string;
|
|
141
|
+
'pisell-saas-register-password-label': string;
|
|
142
|
+
'pisell-saas-register-password-placeholder': string;
|
|
143
|
+
'pisell-saas-register-password-required': string;
|
|
144
|
+
'pisell-saas-register-divider-text': string;
|
|
145
|
+
'pisell-saas-register-first-name-label': string;
|
|
146
|
+
'pisell-saas-register-first-name-placeholder': string;
|
|
147
|
+
'pisell-saas-register-last-name-label': string;
|
|
148
|
+
'pisell-saas-register-last-name-placeholder': string;
|
|
149
|
+
'pisell-saas-register-entry-info-title': string;
|
|
150
|
+
'pisell-saas-register-entry-info-subtitle': string;
|
|
151
|
+
'pisell-saas-register-entry-info-document-title': string;
|
|
152
|
+
'pisell-saas-register-entry-info-document-description': string;
|
|
153
|
+
};
|
|
154
|
+
pt: {
|
|
155
|
+
'pisell-saas-register-welcome-message': string;
|
|
156
|
+
'pisell-saas-register-title': string;
|
|
157
|
+
'pisell-saas-register-subtitle': string;
|
|
158
|
+
'pisell-saas-register-email-label': string;
|
|
159
|
+
'pisell-saas-register-email-placeholder': string;
|
|
160
|
+
'pisell-saas-register-email-error': string;
|
|
161
|
+
'pisell-saas-register-email-error-valid': string;
|
|
162
|
+
'pisell-saas-register-button': string;
|
|
163
|
+
'pisell-saas-register-login-text': string;
|
|
164
|
+
'pisell-saas-register-login-link-text': string;
|
|
165
|
+
'pisell-saas-register-failed-button-text': string;
|
|
166
|
+
'pisell-saas-register-failed-email-registered-title': string;
|
|
167
|
+
'pisell-saas-register-verify-email-title': string;
|
|
168
|
+
'pisell-saas-register-verify-email-subtitle': string;
|
|
169
|
+
'pisell-saas-register-resend-text': string;
|
|
170
|
+
'pisell-saas-register-resend-button-text': string;
|
|
171
|
+
'pisell-saas-register-verifying-email-title': string;
|
|
172
|
+
'pisell-saas-register-failed-link-expired-title': string;
|
|
173
|
+
'pisell-saas-register-failed-link-expired-subtitle': string;
|
|
174
|
+
'pisell-saas-register-failed-link-invalid-title': string;
|
|
175
|
+
'pisell-saas-register-failed-link-invalid-subtitle': string;
|
|
176
|
+
'pisell-saas-register-failed-link-email-registered-title': string;
|
|
177
|
+
'pisell-saas-register-failed-link-email-registered-subtitle': string;
|
|
178
|
+
'pisell-saas-register-failed-link-email-registered-button-text': string;
|
|
179
|
+
'pisell-saas-register-password-label': string;
|
|
180
|
+
'pisell-saas-register-password-placeholder': string;
|
|
181
|
+
'pisell-saas-register-password-required': string;
|
|
182
|
+
'pisell-saas-register-divider-text': string;
|
|
183
|
+
'pisell-saas-register-first-name-label': string;
|
|
184
|
+
'pisell-saas-register-first-name-placeholder': string;
|
|
185
|
+
'pisell-saas-register-last-name-label': string;
|
|
186
|
+
'pisell-saas-register-last-name-placeholder': string;
|
|
187
|
+
'pisell-saas-register-entry-info-title': string;
|
|
188
|
+
'pisell-saas-register-entry-info-subtitle': string;
|
|
189
|
+
'pisell-saas-register-entry-info-document-title': string;
|
|
190
|
+
'pisell-saas-register-entry-info-document-description': string;
|
|
191
|
+
};
|
|
192
|
+
};
|
|
193
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { AvailablePermissions, MultiLanguage } from '../../types';
|
|
3
|
+
import './index.less';
|
|
4
|
+
export interface PermissionManagerProps {
|
|
5
|
+
/** 可用的权限对象 (包含多种类型: channel, pageType, app, systemManagement等) */
|
|
6
|
+
availablePermissions: AvailablePermissions;
|
|
7
|
+
/** 当前角色的权限数组 */
|
|
8
|
+
currentPermissions: string[];
|
|
9
|
+
/** 权限改变回调 */
|
|
10
|
+
onChange: (permissions: string[]) => void;
|
|
11
|
+
/** 获取多语言文本 */
|
|
12
|
+
getLocaleText: (text: MultiLanguage | string | undefined) => string;
|
|
13
|
+
/** 获取翻译文本 */
|
|
14
|
+
getText: (key: string) => string;
|
|
15
|
+
/** 是否正在更新角色权限 */
|
|
16
|
+
updating: boolean;
|
|
17
|
+
}
|
|
18
|
+
declare const PermissionManager: React.FC<PermissionManagerProps>;
|
|
19
|
+
export default PermissionManager;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { SaasRoleProps } from './types';
|
|
3
|
+
import './index.less';
|
|
4
|
+
/**
|
|
5
|
+
* SaasRole 角色管理组件
|
|
6
|
+
*
|
|
7
|
+
* 提供完整的角色管理功能,包括:
|
|
8
|
+
* - 角色的创建、编辑、删除
|
|
9
|
+
* - 角色成员管理
|
|
10
|
+
* - 角色权限配置
|
|
11
|
+
* - 角色字段配置
|
|
12
|
+
*/
|
|
13
|
+
declare const SaasRole: React.FC<SaasRoleProps>;
|
|
14
|
+
export default SaasRole;
|