@joelbarron/react-web-dev-kit 0.1.8 → 0.1.9
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/README.md +65 -160
- package/package.json +9 -2
- package/dist/auth/client.d.ts +0 -46
- package/dist/auth/client.d.ts.map +0 -1
- package/dist/auth/client.js +0 -379
- package/dist/auth/constants/countryCallingCodes.d.ts +0 -9
- package/dist/auth/constants/countryCallingCodes.d.ts.map +0 -1
- package/dist/auth/constants/countryCallingCodes.js +0 -209
- package/dist/auth/constants/gender.d.ts +0 -9
- package/dist/auth/constants/gender.d.ts.map +0 -1
- package/dist/auth/constants/gender.js +0 -12
- package/dist/auth/constants/index.d.ts +0 -3
- package/dist/auth/constants/index.d.ts.map +0 -1
- package/dist/auth/constants/index.js +0 -2
- package/dist/auth/forms/account/AuthAccountConfirmationForm.d.ts +0 -18
- package/dist/auth/forms/account/AuthAccountConfirmationForm.d.ts.map +0 -1
- package/dist/auth/forms/account/AuthAccountConfirmationForm.js +0 -167
- package/dist/auth/forms/account/index.d.ts +0 -2
- package/dist/auth/forms/account/index.d.ts.map +0 -1
- package/dist/auth/forms/account/index.js +0 -1
- package/dist/auth/forms/errorParser.d.ts +0 -7
- package/dist/auth/forms/errorParser.d.ts.map +0 -1
- package/dist/auth/forms/errorParser.js +0 -65
- package/dist/auth/forms/index.d.ts +0 -6
- package/dist/auth/forms/index.d.ts.map +0 -1
- package/dist/auth/forms/index.js +0 -5
- package/dist/auth/forms/password/AuthForgotPasswordForm.d.ts +0 -16
- package/dist/auth/forms/password/AuthForgotPasswordForm.d.ts.map +0 -1
- package/dist/auth/forms/password/AuthForgotPasswordForm.js +0 -109
- package/dist/auth/forms/password/AuthPasswordResetConfirmForm.d.ts +0 -17
- package/dist/auth/forms/password/AuthPasswordResetConfirmForm.d.ts.map +0 -1
- package/dist/auth/forms/password/AuthPasswordResetConfirmForm.js +0 -163
- package/dist/auth/forms/password/AuthResetPasswordForm.d.ts +0 -12
- package/dist/auth/forms/password/AuthResetPasswordForm.d.ts.map +0 -1
- package/dist/auth/forms/password/AuthResetPasswordForm.js +0 -22
- package/dist/auth/forms/password/index.d.ts +0 -4
- package/dist/auth/forms/password/index.d.ts.map +0 -1
- package/dist/auth/forms/password/index.js +0 -3
- package/dist/auth/forms/password/passwordValidation.d.ts +0 -3
- package/dist/auth/forms/password/passwordValidation.d.ts.map +0 -1
- package/dist/auth/forms/password/passwordValidation.js +0 -45
- package/dist/auth/forms/sign-in/AuthOtpSignInForm.d.ts +0 -24
- package/dist/auth/forms/sign-in/AuthOtpSignInForm.d.ts.map +0 -1
- package/dist/auth/forms/sign-in/AuthOtpSignInForm.js +0 -227
- package/dist/auth/forms/sign-in/AuthPasswordSignInForm.d.ts +0 -22
- package/dist/auth/forms/sign-in/AuthPasswordSignInForm.d.ts.map +0 -1
- package/dist/auth/forms/sign-in/AuthPasswordSignInForm.js +0 -148
- package/dist/auth/forms/sign-in/index.d.ts +0 -3
- package/dist/auth/forms/sign-in/index.d.ts.map +0 -1
- package/dist/auth/forms/sign-in/index.js +0 -2
- package/dist/auth/forms/sign-up/AuthSignUpForm.d.ts +0 -37
- package/dist/auth/forms/sign-up/AuthSignUpForm.d.ts.map +0 -1
- package/dist/auth/forms/sign-up/AuthSignUpForm.js +0 -193
- package/dist/auth/forms/sign-up/index.d.ts +0 -2
- package/dist/auth/forms/sign-up/index.d.ts.map +0 -1
- package/dist/auth/forms/sign-up/index.js +0 -1
- package/dist/auth/fuse/createFuseAuthViews.d.ts +0 -25
- package/dist/auth/fuse/createFuseAuthViews.d.ts.map +0 -1
- package/dist/auth/fuse/createFuseAuthViews.js +0 -510
- package/dist/auth/fuse/fuseAdapter.d.ts +0 -42
- package/dist/auth/fuse/fuseAdapter.d.ts.map +0 -1
- package/dist/auth/fuse/fuseAdapter.js +0 -291
- package/dist/auth/fuse/fuseIntegration.d.ts +0 -61
- package/dist/auth/fuse/fuseIntegration.d.ts.map +0 -1
- package/dist/auth/fuse/fuseIntegration.js +0 -103
- package/dist/auth/fuse/index.d.ts +0 -4
- package/dist/auth/fuse/index.d.ts.map +0 -1
- package/dist/auth/fuse/index.js +0 -3
- package/dist/auth/index.d.ts +0 -11
- package/dist/auth/index.d.ts.map +0 -1
- package/dist/auth/index.js +0 -10
- package/dist/auth/provider.d.ts +0 -35
- package/dist/auth/provider.d.ts.map +0 -1
- package/dist/auth/provider.js +0 -133
- package/dist/auth/query.d.ts +0 -23
- package/dist/auth/query.d.ts.map +0 -1
- package/dist/auth/query.js +0 -103
- package/dist/auth/routes.d.ts +0 -37
- package/dist/auth/routes.d.ts.map +0 -1
- package/dist/auth/routes.js +0 -75
- package/dist/auth/social/providerAuth.d.ts +0 -101
- package/dist/auth/social/providerAuth.d.ts.map +0 -1
- package/dist/auth/social/providerAuth.js +0 -207
- package/dist/auth/storage.d.ts +0 -3
- package/dist/auth/storage.d.ts.map +0 -1
- package/dist/auth/storage.js +0 -20
- package/dist/auth/types.d.ts +0 -238
- package/dist/auth/types.d.ts.map +0 -1
- package/dist/auth/types.js +0 -1
- package/dist/auth/ui/AuthPageTitle.d.ts +0 -7
- package/dist/auth/ui/AuthPageTitle.d.ts.map +0 -1
- package/dist/auth/ui/AuthPageTitle.js +0 -7
- package/dist/auth/ui/AuthPagesMessageSection.d.ts +0 -3
- package/dist/auth/ui/AuthPagesMessageSection.d.ts.map +0 -1
- package/dist/auth/ui/AuthPagesMessageSection.js +0 -39
- package/dist/auth/ui/AuthPrimaryButton.d.ts +0 -9
- package/dist/auth/ui/AuthPrimaryButton.d.ts.map +0 -1
- package/dist/auth/ui/AuthPrimaryButton.js +0 -19
- package/dist/auth/ui/AuthRoleSelectionDialog.d.ts +0 -14
- package/dist/auth/ui/AuthRoleSelectionDialog.d.ts.map +0 -1
- package/dist/auth/ui/AuthRoleSelectionDialog.js +0 -39
- package/dist/auth/ui/AuthRoutePageWrapper.d.ts +0 -12
- package/dist/auth/ui/AuthRoutePageWrapper.d.ts.map +0 -1
- package/dist/auth/ui/AuthRoutePageWrapper.js +0 -61
- package/dist/auth/ui/AuthSecondaryButton.d.ts +0 -7
- package/dist/auth/ui/AuthSecondaryButton.d.ts.map +0 -1
- package/dist/auth/ui/AuthSecondaryButton.js +0 -18
- package/dist/auth/ui/AuthSocialProviderButton.d.ts +0 -11
- package/dist/auth/ui/AuthSocialProviderButton.d.ts.map +0 -1
- package/dist/auth/ui/AuthSocialProviderButton.js +0 -33
- package/dist/auth/ui/index.d.ts +0 -9
- package/dist/auth/ui/index.d.ts.map +0 -1
- package/dist/auth/ui/index.js +0 -8
- package/dist/auth/ui/types.d.ts +0 -15
- package/dist/auth/ui/types.d.ts.map +0 -1
- package/dist/auth/ui/types.js +0 -1
- package/dist/config/createConfig.d.ts +0 -14
- package/dist/config/createConfig.d.ts.map +0 -1
- package/dist/config/createConfig.js +0 -179
- package/dist/config/defaults.d.ts +0 -3
- package/dist/config/defaults.d.ts.map +0 -1
- package/dist/config/defaults.js +0 -39
- package/dist/config/index.d.ts +0 -5
- package/dist/config/index.d.ts.map +0 -1
- package/dist/config/index.js +0 -4
- package/dist/config/merge.d.ts +0 -2
- package/dist/config/merge.d.ts.map +0 -1
- package/dist/config/merge.js +0 -18
- package/dist/config/types.d.ts +0 -53
- package/dist/config/types.d.ts.map +0 -1
- package/dist/config/types.js +0 -1
- package/dist/core/buttons/JBButton.d.ts +0 -8
- package/dist/core/buttons/JBButton.d.ts.map +0 -1
- package/dist/core/buttons/JBButton.js +0 -55
- package/dist/core/buttons/index.d.ts +0 -2
- package/dist/core/buttons/index.d.ts.map +0 -1
- package/dist/core/buttons/index.js +0 -1
- package/dist/core/dialogs/JBConfirmDialog.d.ts +0 -15
- package/dist/core/dialogs/JBConfirmDialog.d.ts.map +0 -1
- package/dist/core/dialogs/JBConfirmDialog.js +0 -6
- package/dist/core/dialogs/index.d.ts +0 -2
- package/dist/core/dialogs/index.d.ts.map +0 -1
- package/dist/core/dialogs/index.js +0 -1
- package/dist/core/index.d.ts +0 -5
- package/dist/core/index.d.ts.map +0 -1
- package/dist/core/index.js +0 -4
- package/dist/core/layout/JBContentContainer.d.ts +0 -31
- package/dist/core/layout/JBContentContainer.d.ts.map +0 -1
- package/dist/core/layout/JBContentContainer.js +0 -50
- package/dist/core/layout/JBFormHeader.d.ts +0 -3
- package/dist/core/layout/JBFormHeader.d.ts.map +0 -1
- package/dist/core/layout/JBFormHeader.js +0 -131
- package/dist/core/layout/index.d.ts +0 -3
- package/dist/core/layout/index.d.ts.map +0 -1
- package/dist/core/layout/index.js +0 -2
- package/dist/core/skeletons/JBFormContentSkeleton.d.ts +0 -5
- package/dist/core/skeletons/JBFormContentSkeleton.d.ts.map +0 -1
- package/dist/core/skeletons/JBFormContentSkeleton.js +0 -12
- package/dist/core/skeletons/JBFormHeaderSkeleton.d.ts +0 -6
- package/dist/core/skeletons/JBFormHeaderSkeleton.d.ts.map +0 -1
- package/dist/core/skeletons/JBFormHeaderSkeleton.js +0 -19
- package/dist/core/skeletons/index.d.ts +0 -3
- package/dist/core/skeletons/index.d.ts.map +0 -1
- package/dist/core/skeletons/index.js +0 -2
- package/dist/forms/JBAutocompleteField.d.ts +0 -12
- package/dist/forms/JBAutocompleteField.d.ts.map +0 -1
- package/dist/forms/JBAutocompleteField.js +0 -20
- package/dist/forms/JBCheckboxField.d.ts +0 -12
- package/dist/forms/JBCheckboxField.d.ts.map +0 -1
- package/dist/forms/JBCheckboxField.js +0 -36
- package/dist/forms/JBDatePickerField.d.ts +0 -13
- package/dist/forms/JBDatePickerField.d.ts.map +0 -1
- package/dist/forms/JBDatePickerField.js +0 -49
- package/dist/forms/JBRadioGroupField.d.ts +0 -10
- package/dist/forms/JBRadioGroupField.d.ts.map +0 -1
- package/dist/forms/JBRadioGroupField.js +0 -8
- package/dist/forms/JBSelectField.d.ts +0 -9
- package/dist/forms/JBSelectField.d.ts.map +0 -1
- package/dist/forms/JBSelectField.js +0 -8
- package/dist/forms/JBSwitchField.d.ts +0 -11
- package/dist/forms/JBSwitchField.d.ts.map +0 -1
- package/dist/forms/JBSwitchField.js +0 -10
- package/dist/forms/JBTextField.d.ts +0 -6
- package/dist/forms/JBTextField.d.ts.map +0 -1
- package/dist/forms/JBTextField.js +0 -8
- package/dist/forms/JBTimePickerField.d.ts +0 -12
- package/dist/forms/JBTimePickerField.d.ts.map +0 -1
- package/dist/forms/JBTimePickerField.js +0 -17
- package/dist/forms/index.d.ts +0 -13
- package/dist/forms/index.d.ts.map +0 -1
- package/dist/forms/index.js +0 -12
- package/dist/forms/rules.d.ts +0 -16
- package/dist/forms/rules.d.ts.map +0 -1
- package/dist/forms/rules.js +0 -21
- package/dist/forms/types.d.ts +0 -12
- package/dist/forms/types.d.ts.map +0 -1
- package/dist/forms/types.js +0 -1
- package/dist/forms/utils.d.ts +0 -5
- package/dist/forms/utils.d.ts.map +0 -1
- package/dist/forms/utils.js +0 -7
- package/dist/forms/zod.d.ts +0 -4
- package/dist/forms/zod.d.ts.map +0 -1
- package/dist/forms/zod.js +0 -9
- package/dist/grid/JBGrid.d.ts +0 -3
- package/dist/grid/JBGrid.d.ts.map +0 -1
- package/dist/grid/JBGrid.js +0 -338
- package/dist/grid/JBGridHeader.d.ts +0 -3
- package/dist/grid/JBGridHeader.d.ts.map +0 -1
- package/dist/grid/JBGridHeader.js +0 -93
- package/dist/grid/JBGridLoading.d.ts +0 -9
- package/dist/grid/JBGridLoading.d.ts.map +0 -1
- package/dist/grid/JBGridLoading.js +0 -14
- package/dist/grid/JBGridProviders.d.ts +0 -13
- package/dist/grid/JBGridProviders.d.ts.map +0 -1
- package/dist/grid/JBGridProviders.js +0 -54
- package/dist/grid/JBGridSkeleton.d.ts +0 -7
- package/dist/grid/JBGridSkeleton.d.ts.map +0 -1
- package/dist/grid/JBGridSkeleton.js +0 -6
- package/dist/grid/defaults.d.ts +0 -4
- package/dist/grid/defaults.d.ts.map +0 -1
- package/dist/grid/defaults.js +0 -29
- package/dist/grid/index.d.ts +0 -8
- package/dist/grid/index.d.ts.map +0 -1
- package/dist/grid/index.js +0 -7
- package/dist/grid/types.d.ts +0 -197
- package/dist/grid/types.d.ts.map +0 -1
- package/dist/grid/types.js +0 -1
- package/dist/hooks/index.d.ts +0 -4
- package/dist/hooks/index.d.ts.map +0 -1
- package/dist/hooks/index.js +0 -3
- package/dist/hooks/useJBDebouncedValue.d.ts +0 -2
- package/dist/hooks/useJBDebouncedValue.d.ts.map +0 -1
- package/dist/hooks/useJBDebouncedValue.js +0 -11
- package/dist/hooks/useJBEntityFormController.d.ts +0 -54
- package/dist/hooks/useJBEntityFormController.d.ts.map +0 -1
- package/dist/hooks/useJBEntityFormController.js +0 -156
- package/dist/hooks/useJBRedirect.d.ts +0 -10
- package/dist/hooks/useJBRedirect.d.ts.map +0 -1
- package/dist/hooks/useJBRedirect.js +0 -11
- package/dist/index.d.ts +0 -9
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -8
- package/dist/query/createQueryClient.d.ts +0 -8
- package/dist/query/createQueryClient.d.ts.map +0 -1
- package/dist/query/createQueryClient.js +0 -25
- package/dist/query/http.d.ts +0 -3
- package/dist/query/http.d.ts.map +0 -1
- package/dist/query/http.js +0 -12
- package/dist/query/index.d.ts +0 -4
- package/dist/query/index.d.ts.map +0 -1
- package/dist/query/index.js +0 -3
- package/dist/query/types.d.ts +0 -7
- package/dist/query/types.d.ts.map +0 -1
- package/dist/query/types.js +0 -1
- package/dist/utils/errors.d.ts +0 -10
- package/dist/utils/errors.d.ts.map +0 -1
- package/dist/utils/errors.js +0 -55
- package/dist/utils/format.d.ts +0 -4
- package/dist/utils/format.d.ts.map +0 -1
- package/dist/utils/format.js +0 -28
- package/dist/utils/geo.d.ts +0 -9
- package/dist/utils/geo.d.ts.map +0 -1
- package/dist/utils/geo.js +0 -186
- package/dist/utils/index.d.ts +0 -6
- package/dist/utils/index.d.ts.map +0 -1
- package/dist/utils/index.js +0 -5
- package/dist/utils/query.d.ts +0 -2
- package/dist/utils/query.d.ts.map +0 -1
- package/dist/utils/query.js +0 -4
- package/dist/utils/regex.d.ts +0 -7
- package/dist/utils/regex.d.ts.map +0 -1
- package/dist/utils/regex.js +0 -6
package/dist/auth/types.d.ts
DELETED
|
@@ -1,238 +0,0 @@
|
|
|
1
|
-
import { AxiosRequestConfig } from 'axios';
|
|
2
|
-
import { Gender } from './constants';
|
|
3
|
-
export type TokenPair = {
|
|
4
|
-
accessToken: string;
|
|
5
|
-
refreshToken: string;
|
|
6
|
-
};
|
|
7
|
-
export type TokenStorage = {
|
|
8
|
-
getAccessToken: () => string | null;
|
|
9
|
-
setAccessToken: (token: string) => void;
|
|
10
|
-
removeAccessToken: () => void;
|
|
11
|
-
};
|
|
12
|
-
export type JbDrfAuthEndpoints = {
|
|
13
|
-
loginBasic: string;
|
|
14
|
-
loginSocial: string;
|
|
15
|
-
loginSocialPrecheck: string;
|
|
16
|
-
loginSocialLink: string;
|
|
17
|
-
loginSocialUnlink: string;
|
|
18
|
-
loginMagicLinkConsume: string;
|
|
19
|
-
loginOtpVerify: string;
|
|
20
|
-
otpRequest: string;
|
|
21
|
-
register: string;
|
|
22
|
-
accountConfirmation: string;
|
|
23
|
-
accountConfirmationResend: string;
|
|
24
|
-
me: string;
|
|
25
|
-
profilePicture: string;
|
|
26
|
-
refresh: string;
|
|
27
|
-
switchProfile: string;
|
|
28
|
-
profiles: string;
|
|
29
|
-
accountUpdate: string;
|
|
30
|
-
accountDelete: string;
|
|
31
|
-
passwordResetRequest: string;
|
|
32
|
-
passwordResetConfirm: string;
|
|
33
|
-
passwordResetChange: string;
|
|
34
|
-
adminCreateSuperuser: string;
|
|
35
|
-
adminCreateStaff: string;
|
|
36
|
-
};
|
|
37
|
-
export type JbDrfAuthConfig = {
|
|
38
|
-
apiBaseUrl: string;
|
|
39
|
-
apiBasePath?: string;
|
|
40
|
-
endpoints?: Partial<JbDrfAuthEndpoints>;
|
|
41
|
-
tokenStorageKey?: string;
|
|
42
|
-
refreshTokenStorageKey?: string;
|
|
43
|
-
tokenStorage?: TokenStorage;
|
|
44
|
-
defaultClient?: 'web' | 'mobile';
|
|
45
|
-
onUnauthorized?: () => void;
|
|
46
|
-
};
|
|
47
|
-
export type LoginBasicPayload = {
|
|
48
|
-
login: string;
|
|
49
|
-
password: string;
|
|
50
|
-
client?: 'web' | 'mobile';
|
|
51
|
-
device?: {
|
|
52
|
-
platform?: string;
|
|
53
|
-
name?: string;
|
|
54
|
-
token?: string;
|
|
55
|
-
notificationToken?: string;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
export type SocialProvider = 'google' | 'facebook' | 'apple';
|
|
59
|
-
export type SocialDevicePayload = {
|
|
60
|
-
platform?: string;
|
|
61
|
-
name?: string;
|
|
62
|
-
token?: string;
|
|
63
|
-
notificationToken?: string;
|
|
64
|
-
};
|
|
65
|
-
export type LoginSocialPayload = {
|
|
66
|
-
provider: SocialProvider;
|
|
67
|
-
idToken?: string;
|
|
68
|
-
accessToken?: string;
|
|
69
|
-
authorizationCode?: string;
|
|
70
|
-
redirectUri?: string;
|
|
71
|
-
codeVerifier?: string;
|
|
72
|
-
clientId?: string;
|
|
73
|
-
role?: string;
|
|
74
|
-
client?: 'web' | 'mobile';
|
|
75
|
-
termsAndConditionsAccepted?: boolean;
|
|
76
|
-
device?: SocialDevicePayload;
|
|
77
|
-
};
|
|
78
|
-
export type LoginSocialPrecheckResponse = {
|
|
79
|
-
provider?: SocialProvider;
|
|
80
|
-
email?: string;
|
|
81
|
-
emailVerified?: boolean;
|
|
82
|
-
email_verified?: boolean;
|
|
83
|
-
socialAccountExists?: boolean;
|
|
84
|
-
social_account_exists?: boolean;
|
|
85
|
-
linkedExistingUser?: boolean;
|
|
86
|
-
linked_existing_user?: boolean;
|
|
87
|
-
userExists?: boolean;
|
|
88
|
-
user_exists?: boolean;
|
|
89
|
-
wouldCreateUser?: boolean;
|
|
90
|
-
would_create_user?: boolean;
|
|
91
|
-
canLogin?: boolean;
|
|
92
|
-
can_login?: boolean;
|
|
93
|
-
[key: string]: unknown;
|
|
94
|
-
};
|
|
95
|
-
export type LinkSocialPayload = {
|
|
96
|
-
provider: SocialProvider;
|
|
97
|
-
idToken?: string;
|
|
98
|
-
accessToken?: string;
|
|
99
|
-
authorizationCode?: string;
|
|
100
|
-
redirectUri?: string;
|
|
101
|
-
codeVerifier?: string;
|
|
102
|
-
clientId?: string;
|
|
103
|
-
};
|
|
104
|
-
export type UnlinkSocialPayload = {
|
|
105
|
-
provider: SocialProvider;
|
|
106
|
-
};
|
|
107
|
-
export type SwitchProfilePayload = {
|
|
108
|
-
profile: number;
|
|
109
|
-
client?: 'web' | 'mobile';
|
|
110
|
-
device?: {
|
|
111
|
-
platform?: string;
|
|
112
|
-
name?: string;
|
|
113
|
-
token?: string;
|
|
114
|
-
notificationToken?: string;
|
|
115
|
-
};
|
|
116
|
-
};
|
|
117
|
-
export type ProfilePicturePayload = {
|
|
118
|
-
profile?: number;
|
|
119
|
-
picture: string;
|
|
120
|
-
};
|
|
121
|
-
export type RefreshPayload = {
|
|
122
|
-
refreshToken?: string;
|
|
123
|
-
};
|
|
124
|
-
export type OtpChannel = 'sms' | 'email';
|
|
125
|
-
export type RequestOtpPayload = {
|
|
126
|
-
channel: OtpChannel;
|
|
127
|
-
email?: string;
|
|
128
|
-
phone?: string;
|
|
129
|
-
};
|
|
130
|
-
export type VerifyOtpPayload = {
|
|
131
|
-
channel: OtpChannel;
|
|
132
|
-
code: string;
|
|
133
|
-
client?: 'web' | 'mobile';
|
|
134
|
-
role?: string;
|
|
135
|
-
email?: string;
|
|
136
|
-
phone?: string;
|
|
137
|
-
device?: {
|
|
138
|
-
platform?: string;
|
|
139
|
-
name?: string;
|
|
140
|
-
token?: string;
|
|
141
|
-
notificationToken?: string;
|
|
142
|
-
};
|
|
143
|
-
};
|
|
144
|
-
export type MagicLinkConsumePayload = {
|
|
145
|
-
token: string;
|
|
146
|
-
role?: string;
|
|
147
|
-
client?: 'web' | 'mobile';
|
|
148
|
-
device?: {
|
|
149
|
-
platform?: string;
|
|
150
|
-
name?: string;
|
|
151
|
-
token?: string;
|
|
152
|
-
notificationToken?: string;
|
|
153
|
-
};
|
|
154
|
-
};
|
|
155
|
-
export type RegisterPayload = {
|
|
156
|
-
email: string;
|
|
157
|
-
phone?: string | null;
|
|
158
|
-
username?: string | null;
|
|
159
|
-
password: string;
|
|
160
|
-
passwordConfirm?: string;
|
|
161
|
-
firstName?: string;
|
|
162
|
-
lastName1?: string;
|
|
163
|
-
lastName2?: string;
|
|
164
|
-
birthday?: string;
|
|
165
|
-
gender?: Gender;
|
|
166
|
-
role?: string;
|
|
167
|
-
termsAndConditionsAccepted?: boolean;
|
|
168
|
-
};
|
|
169
|
-
export type PasswordResetRequestPayload = {
|
|
170
|
-
email: string;
|
|
171
|
-
};
|
|
172
|
-
export type PasswordResetConfirmPayload = {
|
|
173
|
-
uid: string;
|
|
174
|
-
token: string;
|
|
175
|
-
newPassword: string;
|
|
176
|
-
newPasswordConfirm: string;
|
|
177
|
-
};
|
|
178
|
-
export type PasswordChangePayload = {
|
|
179
|
-
oldPassword: string;
|
|
180
|
-
newPassword: string;
|
|
181
|
-
newPasswordConfirm: string;
|
|
182
|
-
};
|
|
183
|
-
export type AccountUpdatePayload = {
|
|
184
|
-
email?: string;
|
|
185
|
-
username?: string;
|
|
186
|
-
phone?: string;
|
|
187
|
-
termsAndConditions?: boolean;
|
|
188
|
-
language?: string;
|
|
189
|
-
timezone?: string;
|
|
190
|
-
[key: string]: unknown;
|
|
191
|
-
};
|
|
192
|
-
export type DeleteAccountPayload = {
|
|
193
|
-
confirmation: boolean;
|
|
194
|
-
};
|
|
195
|
-
export type CreateProfilePayload = Record<string, unknown>;
|
|
196
|
-
export type UpdateProfilePayload = Record<string, unknown>;
|
|
197
|
-
export type CreateAdminUserPayload = {
|
|
198
|
-
email: string;
|
|
199
|
-
password: string;
|
|
200
|
-
};
|
|
201
|
-
export type AccountConfirmationPayload = {
|
|
202
|
-
uid: string;
|
|
203
|
-
token: string;
|
|
204
|
-
};
|
|
205
|
-
export type AccountConfirmationResendPayload = {
|
|
206
|
-
email: string;
|
|
207
|
-
};
|
|
208
|
-
export type JbDrfWebAuthUser = {
|
|
209
|
-
data: {
|
|
210
|
-
displayName: string;
|
|
211
|
-
photoUrl: string;
|
|
212
|
-
email: string;
|
|
213
|
-
username: string;
|
|
214
|
-
birthday: string | null;
|
|
215
|
-
shortcuts: string[];
|
|
216
|
-
};
|
|
217
|
-
loginRedirectUrl: string;
|
|
218
|
-
role: string[];
|
|
219
|
-
status: string;
|
|
220
|
-
};
|
|
221
|
-
export type JbDrfWebAuthResponse = {
|
|
222
|
-
user: JbDrfWebAuthUser;
|
|
223
|
-
activeProfile: Record<string, unknown>;
|
|
224
|
-
termsAndConditions?: string | null;
|
|
225
|
-
tokens?: TokenPair;
|
|
226
|
-
};
|
|
227
|
-
export type ApiDetailResponse = {
|
|
228
|
-
detail?: string;
|
|
229
|
-
emailSent?: boolean;
|
|
230
|
-
[key: string]: unknown;
|
|
231
|
-
};
|
|
232
|
-
export type ProfilesResponse = {
|
|
233
|
-
results?: Record<string, unknown>[];
|
|
234
|
-
} | Record<string, unknown>[];
|
|
235
|
-
export type CreateAuthenticatedAxiosOptions = {
|
|
236
|
-
requestConfig?: AxiosRequestConfig;
|
|
237
|
-
};
|
|
238
|
-
//# sourceMappingURL=types.d.ts.map
|
package/dist/auth/types.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/auth/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,MAAM,MAAM,SAAS,GAAG;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,cAAc,EAAE,MAAM,MAAM,GAAG,IAAI,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AAO,CAAC,EAAE,CAAC;AAE9B,MAAM,MAAM,+BAA+B,GAAG;IAC5C,aAAa,CAAC,EAAE,kBAAkB,CAAC;CACpC,CAAC"}
|
package/dist/auth/types.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AuthPageTitle.d.ts","sourceRoot":"","sources":["../../../src/auth/ui/AuthPageTitle.tsx"],"names":[],"mappings":"AAGA,KAAK,kBAAkB,GAAG;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,2CAiBtD"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import Box from '@mui/material/Box';
|
|
3
|
-
import Typography from '@mui/material/Typography';
|
|
4
|
-
export function AuthPageTitle(props) {
|
|
5
|
-
const { title, logoSrc = '/assets/images/logo/logo.svg' } = props;
|
|
6
|
-
return (_jsxs(Box, { sx: { width: '100%', display: 'flex', flexDirection: 'column', alignItems: 'center' }, children: [_jsx("img", { style: { width: 48 }, src: logoSrc, alt: "logo" }), _jsx(Typography, { sx: { mt: 4, textAlign: 'center', fontSize: 36, lineHeight: 1.25, fontWeight: 800, letterSpacing: '-0.02em' }, children: title })] }));
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AuthPagesMessageSection.d.ts","sourceRoot":"","sources":["../../../src/auth/ui/AuthPagesMessageSection.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAalD,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,uBAAuB,2CAoHrE"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import Avatar from '@mui/material/Avatar';
|
|
3
|
-
import AvatarGroup from '@mui/material/AvatarGroup';
|
|
4
|
-
import Box from '@mui/material/Box';
|
|
5
|
-
const defaultTitleLines = ['Bienvenido a', 'nuestra comunidad'];
|
|
6
|
-
const defaultDescription = 'Fuse ayuda a desarrolladores a construir paneles organizados, bien estructurados y con módulos visuales de alta calidad. Únete y empieza a construir tu aplicación hoy.';
|
|
7
|
-
const defaultFooterText = 'Más de 17k personas ya se unieron, ahora te toca a ti.';
|
|
8
|
-
const defaultAvatarUrls = [
|
|
9
|
-
'/assets/images/avatars/female-18.jpg',
|
|
10
|
-
'/assets/images/avatars/female-11.jpg',
|
|
11
|
-
'/assets/images/avatars/male-09.jpg',
|
|
12
|
-
'/assets/images/avatars/male-16.jpg'
|
|
13
|
-
];
|
|
14
|
-
export function AuthPagesMessageSection(props) {
|
|
15
|
-
const { titleLines = defaultTitleLines, description = defaultDescription, footerText = defaultFooterText, avatarUrls = defaultAvatarUrls } = props;
|
|
16
|
-
return (_jsxs(Box, { sx: {
|
|
17
|
-
position: 'relative',
|
|
18
|
-
display: { xs: 'none', md: 'flex' },
|
|
19
|
-
height: '100%',
|
|
20
|
-
flex: '1 1 auto',
|
|
21
|
-
alignItems: 'center',
|
|
22
|
-
justifyContent: 'center',
|
|
23
|
-
overflow: 'hidden',
|
|
24
|
-
p: 6,
|
|
25
|
-
px: { lg: 10 },
|
|
26
|
-
backgroundColor: 'primary.dark',
|
|
27
|
-
color: 'primary.contrastText'
|
|
28
|
-
}, children: [_jsx("svg", { style: { pointerEvents: 'none', position: 'absolute', inset: 0 }, viewBox: "0 0 960 540", width: "100%", height: "100%", preserveAspectRatio: "xMidYMax slice", xmlns: "http://www.w3.org/2000/svg", children: _jsxs(Box, { component: "g", sx: { opacity: 0.05 }, fill: "none", stroke: "currentColor", strokeWidth: "100", children: [_jsx("circle", { r: "234", cx: "196", cy: "23" }), _jsx("circle", { r: "234", cx: "790", cy: "491" })] }) }), _jsxs(Box, { component: "svg", sx: {
|
|
29
|
-
position: 'absolute',
|
|
30
|
-
top: -64,
|
|
31
|
-
right: -64,
|
|
32
|
-
opacity: 0.2,
|
|
33
|
-
color: 'primary.light'
|
|
34
|
-
}, viewBox: "0 0 220 192", width: "220px", height: "192px", fill: "none", children: [_jsx("defs", { children: _jsx("pattern", { id: "jb-auth-message-pattern", x: "0", y: "0", width: "20", height: "20", patternUnits: "userSpaceOnUse", children: _jsx("rect", { x: "0", y: "0", width: "4", height: "4", fill: "currentColor" }) }) }), _jsx("rect", { width: "220", height: "192", fill: "url(#jb-auth-message-pattern)" })] }), _jsxs(Box, { sx: { position: 'relative', zIndex: 10, width: '100%', maxWidth: 896 }, children: [_jsx(Box, { sx: { fontSize: 64, lineHeight: 1, fontWeight: 700, color: 'grey.100' }, children: titleLines.map((line) => (_jsx(Box, { children: line }, line))) }), _jsx(Box, { sx: { mt: 3, fontSize: 18, lineHeight: 1.5, letterSpacing: '-0.01em', color: 'grey.400' }, children: description }), _jsxs(Box, { sx: { mt: 4, display: 'flex', alignItems: 'center' }, children: [_jsx(AvatarGroup, { sx: {
|
|
35
|
-
'& .MuiAvatar-root': {
|
|
36
|
-
borderColor: 'primary.main'
|
|
37
|
-
}
|
|
38
|
-
}, children: avatarUrls.map((avatarUrl) => (_jsx(Avatar, { src: avatarUrl }, avatarUrl))) }), _jsx(Box, { sx: { ml: 2, fontWeight: 500, letterSpacing: '-0.01em', color: 'grey.400' }, children: footerText })] })] })] }));
|
|
39
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ButtonProps } from '@mui/material/Button';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
|
-
type AuthPrimaryButtonProps = Omit<ButtonProps, 'variant' | 'color'> & {
|
|
4
|
-
loading?: boolean;
|
|
5
|
-
loadingLabel?: ReactNode;
|
|
6
|
-
};
|
|
7
|
-
export declare function AuthPrimaryButton(props: AuthPrimaryButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=AuthPrimaryButton.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AuthPrimaryButton.d.ts","sourceRoot":"","sources":["../../../src/auth/ui/AuthPrimaryButton.tsx"],"names":[],"mappings":"AAAA,OAAe,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,KAAK,sBAAsB,GAAG,IAAI,CAAC,WAAW,EAAE,SAAS,GAAG,OAAO,CAAC,GAAG;IACrE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,SAAS,CAAC;CAC1B,CAAC;AAEF,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,2CAiC9D"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import Button from '@mui/material/Button';
|
|
3
|
-
import CircularProgress from '@mui/material/CircularProgress';
|
|
4
|
-
export function AuthPrimaryButton(props) {
|
|
5
|
-
const { loading = false, loadingLabel, children, disabled, sx, startIcon, ...rest } = props;
|
|
6
|
-
return (_jsx(Button, { ...rest, variant: "contained", color: "primary", disabled: Boolean(disabled) || loading, startIcon: loading ? (_jsx(CircularProgress, { size: 16, color: "inherit" })) : startIcon, sx: {
|
|
7
|
-
width: '100%',
|
|
8
|
-
minHeight: 38,
|
|
9
|
-
'&.Mui-disabled': {
|
|
10
|
-
opacity: 1,
|
|
11
|
-
color: 'common.white',
|
|
12
|
-
backgroundColor: 'primary.main'
|
|
13
|
-
},
|
|
14
|
-
'&.Mui-disabled.MuiButton-contained': {
|
|
15
|
-
opacity: 0.6
|
|
16
|
-
},
|
|
17
|
-
...(sx ?? {})
|
|
18
|
-
}, children: loading ? loadingLabel ?? children : children }));
|
|
19
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { SelectOption } from '../../forms';
|
|
2
|
-
export type AuthRoleSelectionDialogProps = {
|
|
3
|
-
open: boolean;
|
|
4
|
-
options: SelectOption<string>[];
|
|
5
|
-
initialRole?: string;
|
|
6
|
-
title?: string;
|
|
7
|
-
description?: string;
|
|
8
|
-
confirmLabel?: string;
|
|
9
|
-
cancelLabel?: string;
|
|
10
|
-
onCancel: () => void;
|
|
11
|
-
onConfirm: (role: string) => void;
|
|
12
|
-
};
|
|
13
|
-
export declare function AuthRoleSelectionDialog(props: AuthRoleSelectionDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
//# sourceMappingURL=AuthRoleSelectionDialog.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AuthRoleSelectionDialog.d.ts","sourceRoot":"","sources":["../../../src/auth/ui/AuthRoleSelectionDialog.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAqB,YAAY,EAAE,MAAM,aAAa,CAAC;AAQ9D,MAAM,MAAM,4BAA4B,GAAG;IACzC,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,YAAY,CAAC,MAAM,CAAC,EAAE,CAAC;IAChC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC,CAAC;AAMF,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,4BAA4B,2CAuE1E"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { zodResolver } from '@hookform/resolvers/zod';
|
|
3
|
-
import Dialog from '@mui/material/Dialog';
|
|
4
|
-
import DialogActions from '@mui/material/DialogActions';
|
|
5
|
-
import DialogContent from '@mui/material/DialogContent';
|
|
6
|
-
import DialogContentText from '@mui/material/DialogContentText';
|
|
7
|
-
import DialogTitle from '@mui/material/DialogTitle';
|
|
8
|
-
import { useEffect } from 'react';
|
|
9
|
-
import { useForm } from 'react-hook-form';
|
|
10
|
-
import { z } from 'zod';
|
|
11
|
-
import { JBRadioGroupField } from '../../forms';
|
|
12
|
-
import { AuthPrimaryButton } from './AuthPrimaryButton';
|
|
13
|
-
import { AuthSecondaryButton } from './AuthSecondaryButton';
|
|
14
|
-
const roleSelectionSchema = z.object({
|
|
15
|
-
role: z.string().nonempty('Selecciona un rol para continuar.')
|
|
16
|
-
});
|
|
17
|
-
export function AuthRoleSelectionDialog(props) {
|
|
18
|
-
const { open, options, initialRole, title = 'Selecciona tu rol', description = 'Elige el tipo de perfil con el que deseas continuar.', confirmLabel = 'Continuar', cancelLabel = 'Cancelar', onCancel, onConfirm } = props;
|
|
19
|
-
const fallbackRole = initialRole ?? options[0]?.value ?? '';
|
|
20
|
-
const { control, handleSubmit, reset, formState } = useForm({
|
|
21
|
-
mode: 'onSubmit',
|
|
22
|
-
resolver: zodResolver(roleSelectionSchema),
|
|
23
|
-
defaultValues: {
|
|
24
|
-
role: fallbackRole
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
const { isSubmitting } = formState;
|
|
28
|
-
useEffect(() => {
|
|
29
|
-
if (!open) {
|
|
30
|
-
return;
|
|
31
|
-
}
|
|
32
|
-
reset({
|
|
33
|
-
role: initialRole ?? options[0]?.value ?? ''
|
|
34
|
-
});
|
|
35
|
-
}, [open, initialRole, options, reset]);
|
|
36
|
-
return (_jsxs(Dialog, { open: open, onClose: onCancel, fullWidth: true, maxWidth: 'xs', children: [_jsx(DialogTitle, { children: title }), _jsxs(DialogContent, { children: [_jsx(DialogContentText, { sx: { mb: 2 }, children: description }), _jsx(JBRadioGroupField, { control: control, name: 'role', options: options, formControlProps: { fullWidth: true } })] }), _jsxs(DialogActions, { children: [_jsx(AuthSecondaryButton, { sx: { mt: 0 }, type: 'button', onClick: onCancel, disabled: isSubmitting, children: cancelLabel }), _jsx(AuthPrimaryButton, { sx: { mt: 0 }, type: 'button', onClick: () => {
|
|
37
|
-
void handleSubmit((values) => onConfirm(values.role))();
|
|
38
|
-
}, loading: isSubmitting, loadingLabel: 'Guardando...', children: confirmLabel })] })] }));
|
|
39
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ComponentType, ReactNode } from 'react';
|
|
2
|
-
import { AuthPageWrapperProps } from '../routes';
|
|
3
|
-
import { AuthMessageSectionProps, AuthPageLayoutVariant } from './types';
|
|
4
|
-
type AuthRoutePageWrapperProps = AuthPageWrapperProps & {
|
|
5
|
-
children: ReactNode;
|
|
6
|
-
layoutVariant?: AuthPageLayoutVariant;
|
|
7
|
-
messageSectionProps?: AuthMessageSectionProps;
|
|
8
|
-
MessageSectionComponent?: ComponentType<AuthMessageSectionProps>;
|
|
9
|
-
};
|
|
10
|
-
export declare function AuthRoutePageWrapper(props: AuthRoutePageWrapperProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export {};
|
|
12
|
-
//# sourceMappingURL=AuthRoutePageWrapper.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AuthRoutePageWrapper.d.ts","sourceRoot":"","sources":["../../../src/auth/ui/AuthRoutePageWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIjD,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEjD,OAAO,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAEzE,KAAK,yBAAyB,GAAG,oBAAoB,GAAG;IACtD,QAAQ,EAAE,SAAS,CAAC;IACpB,aAAa,CAAC,EAAE,qBAAqB,CAAC;IACtC,mBAAmB,CAAC,EAAE,uBAAuB,CAAC;IAC9C,uBAAuB,CAAC,EAAE,aAAa,CAAC,uBAAuB,CAAC,CAAC;CAClE,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,yBAAyB,2CAuFpE"}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import Box from '@mui/material/Box';
|
|
3
|
-
import Paper from '@mui/material/Paper';
|
|
4
|
-
import { AuthPagesMessageSection } from './AuthPagesMessageSection';
|
|
5
|
-
export function AuthRoutePageWrapper(props) {
|
|
6
|
-
const { children, routeKey, layoutVariant = 'split', messageSectionProps, MessageSectionComponent = AuthPagesMessageSection } = props;
|
|
7
|
-
const isSignOut = routeKey === 'signOut';
|
|
8
|
-
if (layoutVariant === 'modern') {
|
|
9
|
-
return (_jsx(Box, { sx: {
|
|
10
|
-
display: 'flex',
|
|
11
|
-
minWidth: 0,
|
|
12
|
-
flex: '1 1 auto',
|
|
13
|
-
flexDirection: 'column',
|
|
14
|
-
alignItems: 'center',
|
|
15
|
-
justifyContent: 'center',
|
|
16
|
-
width: '100%',
|
|
17
|
-
p: { xs: 0, sm: 2, md: 4 }
|
|
18
|
-
}, children: _jsxs(Paper, { sx: {
|
|
19
|
-
display: 'flex',
|
|
20
|
-
flexDirection: { xs: 'column', lg: 'row' },
|
|
21
|
-
minHeight: { xs: '100dvh', sm: 'auto' },
|
|
22
|
-
width: '100%',
|
|
23
|
-
maxWidth: { lg: 1280 },
|
|
24
|
-
overflow: 'hidden',
|
|
25
|
-
borderRadius: { xs: 0, sm: 3 },
|
|
26
|
-
boxShadow: { xs: 'none', lg: 1 }
|
|
27
|
-
}, children: [_jsx(Box, { sx: {
|
|
28
|
-
width: { xs: '100%', lg: '50%' },
|
|
29
|
-
px: { xs: 2, sm: 4, md: 8 },
|
|
30
|
-
py: { xs: 3, sm: 5, md: 8 },
|
|
31
|
-
borderRight: (theme) => ({ xs: 0, lg: theme.direction === 'ltr' ? 1 : 0 }),
|
|
32
|
-
borderLeft: (theme) => ({ xs: 0, lg: theme.direction === 'rtl' ? 1 : 0 }),
|
|
33
|
-
borderColor: 'divider',
|
|
34
|
-
display: 'flex',
|
|
35
|
-
alignItems: 'center',
|
|
36
|
-
justifyContent: 'center'
|
|
37
|
-
}, children: children }), _jsx(Box, { sx: { display: { xs: 'none', lg: 'flex' }, width: '50%', minWidth: 0 }, children: _jsx(MessageSectionComponent, { ...(messageSectionProps ?? {}) }) })] }) }));
|
|
38
|
-
}
|
|
39
|
-
return (_jsxs(Box, { sx: {
|
|
40
|
-
display: 'flex',
|
|
41
|
-
minWidth: 0,
|
|
42
|
-
flex: '1 1 auto',
|
|
43
|
-
flexDirection: { xs: 'column', sm: 'row' },
|
|
44
|
-
alignItems: { xs: 'center', md: 'flex-start' },
|
|
45
|
-
justifyContent: { sm: 'center', md: 'flex-start' }
|
|
46
|
-
}, children: [_jsx(Paper, { sx: {
|
|
47
|
-
height: { xs: '100%', sm: 'auto', md: '100%' },
|
|
48
|
-
width: { xs: '100%', sm: 'auto', md: layoutVariant === 'split' ? '50%' : '100%' },
|
|
49
|
-
px: { xs: 2, sm: 6, md: 8 },
|
|
50
|
-
py: { xs: layoutVariant === 'fullScreen' ? 2 : 1, sm: 6, md: layoutVariant === 'fullScreen' ? 12 : 8 },
|
|
51
|
-
borderRadius: { xs: 0, sm: 3, md: 0 },
|
|
52
|
-
boxShadow: { xs: 'none', sm: 1, md: 'none' },
|
|
53
|
-
display: { md: 'flex' },
|
|
54
|
-
alignItems: { md: 'center' },
|
|
55
|
-
justifyContent: { md: 'flex-end' },
|
|
56
|
-
borderRight: (theme) => (theme.direction === 'ltr' ? 1 : 0),
|
|
57
|
-
borderLeft: (theme) => (theme.direction === 'rtl' ? 1 : 0),
|
|
58
|
-
borderColor: 'divider',
|
|
59
|
-
...(isSignOut ? { alignItems: { xs: 'center', md: 'center' } } : null)
|
|
60
|
-
}, children: children }), _jsx(MessageSectionComponent, { ...(messageSectionProps ?? {}) })] }));
|
|
61
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ButtonProps } from "@mui/material/Button";
|
|
2
|
-
type AuthSecondaryButtonProps = Omit<ButtonProps, "variant"> & {
|
|
3
|
-
to?: string;
|
|
4
|
-
};
|
|
5
|
-
export declare function AuthSecondaryButton(props: AuthSecondaryButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export {};
|
|
7
|
-
//# sourceMappingURL=AuthSecondaryButton.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AuthSecondaryButton.d.ts","sourceRoot":"","sources":["../../../src/auth/ui/AuthSecondaryButton.tsx"],"names":[],"mappings":"AAAA,OAAe,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAE3D,KAAK,wBAAwB,GAAG,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC,GAAG;IAC7D,EAAE,CAAC,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,2CAsBlE"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import Button from "@mui/material/Button";
|
|
3
|
-
export function AuthSecondaryButton(props) {
|
|
4
|
-
const { sx, ...rest } = props;
|
|
5
|
-
return (_jsx(Button, { ...rest, variant: "outlined", sx: {
|
|
6
|
-
width: "100%",
|
|
7
|
-
minHeight: 38,
|
|
8
|
-
borderWidth: 1,
|
|
9
|
-
borderColor: "rgba(15, 23, 42, 0.28)",
|
|
10
|
-
color: "text.primary",
|
|
11
|
-
fontWeight: 600,
|
|
12
|
-
"&:hover": {
|
|
13
|
-
borderWidth: 1,
|
|
14
|
-
borderColor: "rgba(15, 23, 42, 0.45)",
|
|
15
|
-
},
|
|
16
|
-
...(sx ?? {}),
|
|
17
|
-
} }));
|
|
18
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ButtonProps } from '@mui/material/Button';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
|
-
import { SocialProvider } from '../types';
|
|
4
|
-
type AuthSocialProviderButtonProps = Omit<ButtonProps, 'variant' | 'color'> & {
|
|
5
|
-
provider: SocialProvider | 'sms';
|
|
6
|
-
loading?: boolean;
|
|
7
|
-
loadingLabel?: ReactNode;
|
|
8
|
-
};
|
|
9
|
-
export declare function AuthSocialProviderButton(props: AuthSocialProviderButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=AuthSocialProviderButton.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AuthSocialProviderButton.d.ts","sourceRoot":"","sources":["../../../src/auth/ui/AuthSocialProviderButton.tsx"],"names":[],"mappings":"AAIA,OAAe,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE1C,KAAK,6BAA6B,GAAG,IAAI,CAAC,WAAW,EAAE,SAAS,GAAG,OAAO,CAAC,GAAG;IAC5E,QAAQ,EAAE,cAAc,GAAG,KAAK,CAAC;IACjC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,SAAS,CAAC;CAC1B,CAAC;AAgBF,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,6BAA6B,2CAkC5E"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import AppleIcon from '@mui/icons-material/Apple';
|
|
3
|
-
import FacebookIcon from '@mui/icons-material/Facebook';
|
|
4
|
-
import GoogleIcon from '@mui/icons-material/Google';
|
|
5
|
-
import PhoneIphoneIcon from "@mui/icons-material/PhoneIphone";
|
|
6
|
-
import Button from '@mui/material/Button';
|
|
7
|
-
import CircularProgress from '@mui/material/CircularProgress';
|
|
8
|
-
const providerIcon = {
|
|
9
|
-
google: _jsx(GoogleIcon, { fontSize: 'small' }),
|
|
10
|
-
facebook: _jsx(FacebookIcon, { fontSize: 'small' }),
|
|
11
|
-
apple: _jsx(AppleIcon, { fontSize: 'small' }),
|
|
12
|
-
sms: _jsx(PhoneIphoneIcon, { fontSize: 'small' })
|
|
13
|
-
};
|
|
14
|
-
const providerLabel = {
|
|
15
|
-
google: 'Google',
|
|
16
|
-
facebook: 'Facebook',
|
|
17
|
-
apple: 'Apple',
|
|
18
|
-
sms: 'SMS'
|
|
19
|
-
};
|
|
20
|
-
export function AuthSocialProviderButton(props) {
|
|
21
|
-
const { provider, loading = false, loadingLabel, children, disabled, sx, ...rest } = props;
|
|
22
|
-
const label = children ?? providerLabel[provider];
|
|
23
|
-
return (_jsx(Button, { ...rest, variant: 'outlined', color: 'inherit', disabled: Boolean(disabled) || loading, "aria-label": providerLabel[provider], startIcon: loading ? (_jsx(CircularProgress, { size: 16, color: 'inherit' })) : (providerIcon[provider]), sx: {
|
|
24
|
-
width: '100%',
|
|
25
|
-
minWidth: 0,
|
|
26
|
-
minHeight: 38,
|
|
27
|
-
justifyContent: 'center',
|
|
28
|
-
'& .MuiButton-startIcon': {
|
|
29
|
-
marginRight: 1
|
|
30
|
-
},
|
|
31
|
-
...(sx ?? {})
|
|
32
|
-
}, children: loading ? loadingLabel ?? label : label }));
|
|
33
|
-
}
|
package/dist/auth/ui/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from './types';
|
|
2
|
-
export * from './AuthPagesMessageSection';
|
|
3
|
-
export * from './AuthRoutePageWrapper';
|
|
4
|
-
export * from './AuthPrimaryButton';
|
|
5
|
-
export * from './AuthSecondaryButton';
|
|
6
|
-
export * from './AuthSocialProviderButton';
|
|
7
|
-
export * from './AuthRoleSelectionDialog';
|
|
8
|
-
export * from './AuthPageTitle';
|
|
9
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/auth/ui/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iBAAiB,CAAC"}
|
package/dist/auth/ui/index.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export * from './types';
|
|
2
|
-
export * from './AuthPagesMessageSection';
|
|
3
|
-
export * from './AuthRoutePageWrapper';
|
|
4
|
-
export * from './AuthPrimaryButton';
|
|
5
|
-
export * from './AuthSecondaryButton';
|
|
6
|
-
export * from './AuthSocialProviderButton';
|
|
7
|
-
export * from './AuthRoleSelectionDialog';
|
|
8
|
-
export * from './AuthPageTitle';
|
package/dist/auth/ui/types.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ComponentType, ReactNode } from 'react';
|
|
2
|
-
export type AuthLinkComponentProps = {
|
|
3
|
-
to: string;
|
|
4
|
-
className?: string;
|
|
5
|
-
children?: ReactNode;
|
|
6
|
-
};
|
|
7
|
-
export type AuthLinkComponent = ComponentType<AuthLinkComponentProps>;
|
|
8
|
-
export type AuthPageLayoutVariant = 'split' | 'fullScreen' | 'modern';
|
|
9
|
-
export type AuthMessageSectionProps = {
|
|
10
|
-
titleLines?: string[];
|
|
11
|
-
description?: string;
|
|
12
|
-
footerText?: string;
|
|
13
|
-
avatarUrls?: string[];
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/auth/ui/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEjD,MAAM,MAAM,sBAAsB,GAAG;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,aAAa,CAAC,sBAAsB,CAAC,CAAC;AAEtE,MAAM,MAAM,qBAAqB,GAAG,OAAO,GAAG,YAAY,GAAG,QAAQ,CAAC;AAEtE,MAAM,MAAM,uBAAuB,GAAG;IACpC,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;CACvB,CAAC"}
|
package/dist/auth/ui/types.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|