@designcrowd/fe-shared-lib 1.0.8-ml-82-1 → 1.0.8-ml-82-3
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
|
@@ -11,16 +11,16 @@
|
|
|
11
11
|
</a>
|
|
12
12
|
</span>
|
|
13
13
|
<span v-if="isPartnerTheme"> and BrandCrowd's </span>
|
|
14
|
-
<span v-else>By proceeding you accept our </span>
|
|
14
|
+
<span v-else>{{ termsAndConditions.byProceeding ?? 'By proceeding you accept our' }}</span>
|
|
15
15
|
<a :href="termsOfUseUrl" target="_blank" class="tw-text-info-500" :class="{ 'hover:tw-underline': isDesignCom }"
|
|
16
|
-
>Terms of Use</a
|
|
16
|
+
>{{ termsAndConditions.termsOfUse ?? 'Terms of Use' }}</a
|
|
17
17
|
>
|
|
18
|
-
and
|
|
18
|
+
{{ termsAndConditions.and ?? and }}
|
|
19
19
|
<a :href="privacyPolicyUrl" target="_blank" class="tw-text-info-500" :class="{ 'hover:tw-underline': isDesignCom }"
|
|
20
|
-
>Privacy Policy</a
|
|
20
|
+
>{{ termsAndConditions.privacyPolicy ?? 'Privacy Policy' }}</a
|
|
21
21
|
>
|
|
22
22
|
<span>
|
|
23
|
-
and agree to receive future updates from {{ isDesignCom ? 'Design.com' : 'BrandCrowd' }}.</span
|
|
23
|
+
({{ termsAndConditions.agreeToFutureUpdates ?? 'and agree to receive future updates from' }}){{ isDesignCom ? 'Design.com' : 'BrandCrowd' }}.</span
|
|
24
24
|
>
|
|
25
25
|
</p>
|
|
26
26
|
</template>
|
|
@@ -44,6 +44,11 @@ export default {
|
|
|
44
44
|
type: Boolean,
|
|
45
45
|
default: false,
|
|
46
46
|
},
|
|
47
|
+
termsAndConditions: {
|
|
48
|
+
type: Object,
|
|
49
|
+
required: false,
|
|
50
|
+
default: undefined,
|
|
51
|
+
},
|
|
47
52
|
},
|
|
48
53
|
data() {
|
|
49
54
|
return {
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
aria-required="true"
|
|
86
86
|
:aria-invalid="!!passwordError"
|
|
87
87
|
autocomplete="current-password"
|
|
88
|
-
placeholder="
|
|
88
|
+
:placeholder="passwordPlaceholderLabel"
|
|
89
89
|
class="password-input tw-h-12 tw-mb-4 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"
|
|
90
90
|
:class="{ 'tw-border-error-500': !!passwordError }"
|
|
91
91
|
/>
|
|
@@ -114,6 +114,7 @@
|
|
|
114
114
|
:theme="theme"
|
|
115
115
|
:available-themes="availableThemes"
|
|
116
116
|
:is-design-com="isDesignCom"
|
|
117
|
+
:terms-and-conditions="termsAndConditions"
|
|
117
118
|
/>
|
|
118
119
|
</div>
|
|
119
120
|
|
|
@@ -319,7 +320,12 @@ export default {
|
|
|
319
320
|
type: String,
|
|
320
321
|
requiured: false,
|
|
321
322
|
default: 'Sign In'
|
|
322
|
-
}
|
|
323
|
+
},
|
|
324
|
+
termsAndConditions: {
|
|
325
|
+
type: Object,
|
|
326
|
+
required: false,
|
|
327
|
+
default: undefined,
|
|
328
|
+
},
|
|
323
329
|
},
|
|
324
330
|
data() {
|
|
325
331
|
return {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
</h2>
|
|
35
35
|
<form id="signup" method="post" @submit="validate">
|
|
36
36
|
<input name="__RequestVerificationToken" type="hidden" :value="antiForgeryToken" />
|
|
37
|
-
<label for="userName" class="tw-sr-only"> {{
|
|
37
|
+
<label for="userName" class="tw-sr-only"> {{ emailLabel }} </label>
|
|
38
38
|
<input
|
|
39
39
|
v-model="aUserName"
|
|
40
40
|
name="userName"
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
aria-required="true"
|
|
43
43
|
:aria-invalid="!!userNameError"
|
|
44
44
|
autocomplete="”email”"
|
|
45
|
-
placeholder="
|
|
45
|
+
:placeholder="emailPlaceholderLabel"
|
|
46
46
|
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"
|
|
47
47
|
:class="{ 'tw-border-error-500': !!userNameError }"
|
|
48
48
|
/>
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
aria-required="true"
|
|
58
58
|
:aria-invalid="!!passwordError"
|
|
59
59
|
autocomplete="new-password"
|
|
60
|
-
placeholder="
|
|
60
|
+
:placeholder="passwordPlaceholderLabel"
|
|
61
61
|
class="password-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"
|
|
62
62
|
:class="{ 'tw-border-error-500': !!passwordError }"
|
|
63
63
|
/>
|
|
@@ -80,6 +80,7 @@
|
|
|
80
80
|
:theme="theme"
|
|
81
81
|
:available-themes="availableThemes"
|
|
82
82
|
:is-design-com="isDesignCom"
|
|
83
|
+
:terms-and-conditions="termsAndConditions"
|
|
83
84
|
/>
|
|
84
85
|
<div v-if="!!loginWithFacebookUrl || !!loginWithGoogleUrl" class="tw-text-center tw-text-grayscale-600">
|
|
85
86
|
<div class="tw-w-full tw-inline-flex tw-items-center tw-mb-4">
|
|
@@ -177,6 +178,11 @@ export default {
|
|
|
177
178
|
type: Boolean,
|
|
178
179
|
default: false,
|
|
179
180
|
},
|
|
181
|
+
emailLabel: {
|
|
182
|
+
type: String,
|
|
183
|
+
requiured: false,
|
|
184
|
+
default: 'Email'
|
|
185
|
+
},
|
|
180
186
|
emailPlaceholderLabel: {
|
|
181
187
|
type: String,
|
|
182
188
|
requiured: false,
|
|
@@ -196,7 +202,12 @@ export default {
|
|
|
196
202
|
type: String,
|
|
197
203
|
requiured: false,
|
|
198
204
|
default: 'Login'
|
|
199
|
-
}
|
|
205
|
+
},
|
|
206
|
+
termsAndConditions: {
|
|
207
|
+
type: Object,
|
|
208
|
+
required: false,
|
|
209
|
+
default: undefined,
|
|
210
|
+
},
|
|
200
211
|
},
|
|
201
212
|
data() {
|
|
202
213
|
return {
|