@designcrowd/fe-shared-lib 1.0.8-ml-82-27 → 1.0.8-ml-82-1a
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/package.json
CHANGED
|
@@ -38,13 +38,13 @@
|
|
|
38
38
|
<p class="tw-mb-8 tw-text-grayscale-600">{{ description }}</p>
|
|
39
39
|
<form id="forgotPassword" ref="forgotPasswordForm" method="post" @submit="validate">
|
|
40
40
|
<input type="hidden" name="__RequestVerificationToken" :value="antiForgeryToken" />
|
|
41
|
-
<label for="email" class="tw-sr-only">
|
|
41
|
+
<label for="email" class="tw-sr-only"> {{ emailLabel }} </label>
|
|
42
42
|
<input
|
|
43
43
|
v-model="aEmail"
|
|
44
44
|
name="email"
|
|
45
45
|
:class="{ 'tw-border-error-500': !!emailError }"
|
|
46
46
|
type="email"
|
|
47
|
-
placeholder="
|
|
47
|
+
:placeholder="emailAddressPlaceholderLabel"
|
|
48
48
|
class="email-input tw-mb-3 tw-h-12 tw-bg-no-repeat tw-w-full tw-rounded tw-shadow-inner tw-outline-none tw-py-4 tw-pl-10-important tw-pr-2 tw-text-grayscale-600 tw-border tw-border-grayscale-500 focus:tw-border-grayscale-700"
|
|
49
49
|
/>
|
|
50
50
|
<p v-if="!!emailError" class="tw-text-error-500 tw-text-sm tw-text-left">
|
|
@@ -81,16 +81,6 @@ export default {
|
|
|
81
81
|
SubmissionButton,
|
|
82
82
|
},
|
|
83
83
|
props: {
|
|
84
|
-
title: {
|
|
85
|
-
type: String,
|
|
86
|
-
required: false,
|
|
87
|
-
default: undefined,
|
|
88
|
-
},
|
|
89
|
-
description: {
|
|
90
|
-
type: String,
|
|
91
|
-
required: false,
|
|
92
|
-
default: 'Enter your email below. We will then send a reset-password link to your email address.',
|
|
93
|
-
},
|
|
94
84
|
email: {
|
|
95
85
|
type: String,
|
|
96
86
|
required: false,
|
|
@@ -135,10 +125,14 @@ export default {
|
|
|
135
125
|
isLoading: false,
|
|
136
126
|
aEmail: this.email,
|
|
137
127
|
emailError: undefined,
|
|
138
|
-
resendPasswordEmailLabel: this.forgotPasswordContent
|
|
139
|
-
resetPasswordLabel: this.forgotPasswordContent
|
|
140
|
-
rememberedPasswordLabel: this.forgotPasswordContent
|
|
141
|
-
goBackToLoginLabel: this.forgotPasswordContent
|
|
128
|
+
resendPasswordEmailLabel: this.forgotPasswordContent?.resendPasswordEmailLabel ?? 'RESEND EMAIL',
|
|
129
|
+
resetPasswordLabel: this.forgotPasswordContent?.resetPasswordLabel ?? 'RESET PASSWORD',
|
|
130
|
+
rememberedPasswordLabel: this.forgotPasswordContent?.rememberedPasswordLabel ?? 'It\'s ok, I remembered my password',
|
|
131
|
+
goBackToLoginLabel: this.forgotPasswordContent?.goBackToLoginLabel ?? 'Go back to login',
|
|
132
|
+
emailAddressPlaceholderLabel: this.forgotPasswordContent?.emailAddressPlaceholderLabel ?? 'Email address',
|
|
133
|
+
emailLabel: this.forgotPasswordContent?.emailLabel ?? 'Email',
|
|
134
|
+
description: this.forgotPasswordContent?.description ?? 'Enter your email below. We will then send a reset-password link to your email address.',
|
|
135
|
+
title: this.forgotPasswordContent?.title ?? 'Forgot your password?',
|
|
142
136
|
};
|
|
143
137
|
},
|
|
144
138
|
computed: {
|