1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 | const signIn = {
|
17 | section: 'sign-in-section',
|
18 | headerSection: 'sign-in-header-section',
|
19 | bodySection: 'sign-in-body-section',
|
20 | footerSection: 'sign-in-footer-section',
|
21 | usernameInput: 'username-input',
|
22 | passwordInput: 'sign-in-password-input',
|
23 | forgotPasswordLink: 'sign-in-forgot-password-link',
|
24 | signInButton: 'sign-in-sign-in-button',
|
25 | createAccountLink: 'sign-in-create-account-link',
|
26 | signInError: 'authenticator-error',
|
27 | };
|
28 |
|
29 | const signOut = {
|
30 | button: 'sign-out-button',
|
31 | section: 'sign-out-section',
|
32 | };
|
33 |
|
34 | const signUp = {
|
35 | section: 'sign-up-section',
|
36 | headerSection: 'sign-up-header-section',
|
37 | bodySection: 'sign-up-body-section',
|
38 | nonPhoneNumberInput: 'sign-up-non-phone-number-input',
|
39 | phoneNumberInput: 'sign-up-phone-number-input',
|
40 | dialCodeSelect: 'sign-up-dial-code-select',
|
41 | footerSection: 'sign-up-footer-section',
|
42 | createAccountButton: 'sign-up-create-account-button',
|
43 | signInLink: 'sign-up-sign-in-link',
|
44 | signUpButton: 'sign-up-sign-up-button',
|
45 | signInButton: 'sign-up-sign-in-button',
|
46 | confirmButton: 'sign-up-confirm-button',
|
47 | };
|
48 |
|
49 | const verifyContact = {
|
50 | section: 'verify-contact-section',
|
51 | headerSection: 'verify-contact-header-section',
|
52 | bodySection: 'verify-contact-body-section',
|
53 | submitButton: 'verify-contact-submit-button',
|
54 | verifyButton: 'verify-contact-verify-button',
|
55 | skipLink: 'verify-contact-skip-link',
|
56 | };
|
57 |
|
58 | const TOTPSetup = {
|
59 | component: 'totp-setup-component',
|
60 | };
|
61 |
|
62 | const requireNewPassword = {
|
63 | section: 'require-new-password-section',
|
64 | headerSection: 'require-new-password-header-section',
|
65 | footerSection: 'require-new-password-footer-section',
|
66 | bodySection: 'require-new-password-body-section',
|
67 | newPasswordInput: 'require-new-password-new-password-input',
|
68 | backToSignInLink: 'require-new-password-back-to-sign-in-link',
|
69 | submitButton: 'require-new-password-submit-button',
|
70 | };
|
71 |
|
72 | const loading = {
|
73 | section: 'loading-secton',
|
74 | };
|
75 |
|
76 | const greetings = {
|
77 | navBar: 'greetings-nav-bar',
|
78 | nav: 'greetings-nav',
|
79 | navRight: 'greetings-nav-right',
|
80 | };
|
81 |
|
82 |
|
83 | const greeting = {
|
84 | signOutButton: 'sign-out-button',
|
85 | signOutLink: 'greeting-sign-out-link',
|
86 | navRight: 'greetings-nav-right',
|
87 | };
|
88 |
|
89 | const federatedSignIn = {
|
90 | section: 'federated-sign-in-section',
|
91 | bodySection: 'federated-sign-in-body-section',
|
92 | signInButtons: 'federated-sign-in-buttons',
|
93 | };
|
94 |
|
95 | const confirmSignUp = {
|
96 | section: 'confirm-sign-up-section',
|
97 | headerSection: 'confirm-sign-up-header-section',
|
98 | bodySection: 'confirm-sign-up-body-section',
|
99 | usernameInput: 'confirm-sign-up-username-input',
|
100 | confirmationCodeInput: 'confirm-sign-up-confirmation-code-input',
|
101 | resendCodeLink: 'confirm-sign-up-resend-code-link',
|
102 | confirmButton: 'confirm-sign-up-confirm-button',
|
103 | backToSignInLink: 'confirm-sign-up-back-to-sign-in-link',
|
104 | };
|
105 |
|
106 | const confirmSignIn = {
|
107 | section: 'confirm-sign-in-section',
|
108 | headerSection: 'confirm-sign-in-header-section',
|
109 | bodySection: 'confirm-sign-in-body-section',
|
110 | codeInput: 'confirm-sign-in-code-input',
|
111 | confirmButton: 'confirm-sign-in-confirm-button',
|
112 | backToSignInLink: 'confirm-sign-in-back-to-sign-in-link',
|
113 | };
|
114 |
|
115 | const setMFAComp = {
|
116 | section: 'set-mfa-section',
|
117 | headerSection: 'set-mfa-header-section',
|
118 | bodySection: 'set-mfa-header-body-section',
|
119 | smsInput: 'set-mfa-sms-input',
|
120 | totpInput: 'set-mfa-totp-input',
|
121 | noMfaInput: 'set-mfa-nomfa-input',
|
122 | verificationCodeInput: 'set-mfa-verification-code-input',
|
123 | setMfaButton: 'set-mfa-set-mfa-button',
|
124 | verifyTotpTokenButton: 'set-mfa-verify-totp-token-button',
|
125 | cancelButton: 'set-mfa-cancel-button',
|
126 | };
|
127 |
|
128 | const forgotPassword = {
|
129 | section: 'forgot-password-section',
|
130 | headerSection: 'forgot-password-header-section',
|
131 | bodySection: 'forgot-password-body-section',
|
132 | submitButton: 'forgot-password-submit-button',
|
133 | sendCodeButton: 'forgot-password-send-code-button',
|
134 | resendCodeLink: 'forgot-password-resend-code-link',
|
135 | backToSignInLink: 'forgot-password-back-to-sign-in-link',
|
136 | usernameInput: 'username-input',
|
137 | codeInput: 'forgot-password-code-input',
|
138 | newPasswordInput: 'forgot-password-new-password-input',
|
139 | };
|
140 |
|
141 | export const sumerianScene = {
|
142 | container: 'sumerian-scene-container',
|
143 | sumerianScene: 'sumerian-scene',
|
144 | loading: 'sumerian-scene-loading',
|
145 | loadingLogo: 'sumerian-scene-loading-logo',
|
146 | loadingSceneName: 'sumerian-scene-loading-scene-name',
|
147 | loadingBar: 'sumerian-scene-loading-bar',
|
148 | errorText: 'sumerian-scene-error-text',
|
149 | bar: 'sumerian-scene-bar',
|
150 | actions: 'sumerian-scene-actions',
|
151 | };
|
152 |
|
153 | export const genericAttrs = {
|
154 | usernameInput: 'username-input',
|
155 | emailInput: 'email-input',
|
156 | phoneNumberInput: 'phone-number-input',
|
157 | dialCodeSelect: 'dial-code-select',
|
158 | };
|
159 |
|
160 | export const chatBot = {
|
161 | title: 'chatbot-title',
|
162 | dialog: 'chatbot-dialog',
|
163 | messageInput: 'chatbot-message-input',
|
164 | sendMessageButton: 'chatbot-send-message-button',
|
165 | };
|
166 |
|
167 | export const auth = {
|
168 | signIn,
|
169 | signOut,
|
170 | signUp,
|
171 | verifyContact,
|
172 | TOTPSetup,
|
173 | requireNewPassword,
|
174 | loading,
|
175 | genericAttrs,
|
176 | greetings,
|
177 | greeting,
|
178 | federatedSignIn,
|
179 | confirmSignUp,
|
180 | confirmSignIn,
|
181 | setMFAComp,
|
182 | forgotPassword,
|
183 | };
|