@mindful-web/marko-web-identity-x 1.17.2 → 1.17.4
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/browser/login.vue +25 -1
- package/browser/profile.vue +54 -13
- package/components/access.marko.js +2 -2
- package/components/comment-stream.marko.js +2 -2
- package/components/context.marko.js +2 -2
- package/components/form-access.marko.js +2 -2
- package/components/form-authenticate.marko.js +2 -2
- package/components/form-change-email.marko.js +2 -2
- package/components/form-login.marko +1 -2
- package/components/form-login.marko.js +3 -4
- package/components/form-logout.marko.js +2 -2
- package/components/form-profile.marko +1 -1
- package/components/form-profile.marko.js +3 -3
- package/components/form-register.marko.js +2 -2
- package/components/identify.marko.js +2 -2
- package/components/marko.json +2 -0
- package/components/non-auth-identify.marko.js +2 -2
- package/package.json +2 -2
package/browser/login.vue
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div v-if="hasActiveUser">
|
|
3
|
-
<p>
|
|
3
|
+
<p>{{ youAreCurrentlyLoggedInAs }} {{ activeUser.email }}.</p>
|
|
4
4
|
<a
|
|
5
5
|
:href="endpoints.profile"
|
|
6
6
|
class="btn btn-secondary mb-2 mr-2"
|
|
@@ -240,6 +240,20 @@ export default {
|
|
|
240
240
|
Agregue ${this.senderEmailAddress} a su lista blanca e intente registrarse nuevamente.
|
|
241
241
|
</p>`;
|
|
242
242
|
}
|
|
243
|
+
|
|
244
|
+
if (this.lang === 'pt') {
|
|
245
|
+
return `<h4>Quase pronto!</h4>
|
|
246
|
+
<p>
|
|
247
|
+
Acabamos de enviar um e-mail para <em>${this.email}</em> seu link de login único (expira em uma hora).
|
|
248
|
+
Para finalizar ${this.actionText || 'o login'}, abra a mensagem de e-mail e clique no link contido nela.
|
|
249
|
+
</p>
|
|
250
|
+
<p>
|
|
251
|
+
Observação: verifique suas pastas de spam/lixo eletrônico.
|
|
252
|
+
Se você não receber este e-mail, é provável que seu firewall ou ISP o tenha bloqueado.
|
|
253
|
+
Adicione ${this.senderEmailAddress} à sua lista de permissões e tente se registrar novamente.
|
|
254
|
+
</p>`;
|
|
255
|
+
}
|
|
256
|
+
|
|
243
257
|
return `<h4>Almost Done!</h4>
|
|
244
258
|
<p>
|
|
245
259
|
We just sent an email to <em>${this.email}</em> with your one-time login link (expires in one hour).
|
|
@@ -252,6 +266,16 @@ export default {
|
|
|
252
266
|
</p>`;
|
|
253
267
|
},
|
|
254
268
|
|
|
269
|
+
youAreCurrentlyLoggedInAs() {
|
|
270
|
+
if (this.lang === 'es') {
|
|
271
|
+
return 'Actualmente estás conectado como';
|
|
272
|
+
}
|
|
273
|
+
if (this.lang === 'pt') {
|
|
274
|
+
return 'Você está atualmente conectado como';
|
|
275
|
+
}
|
|
276
|
+
return 'You are currently logged in as';
|
|
277
|
+
},
|
|
278
|
+
|
|
255
279
|
/**
|
|
256
280
|
*
|
|
257
281
|
*/
|
package/browser/profile.vue
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<fieldset :disabled="isLoading">
|
|
8
8
|
<div v-if="enableChangeEmail" class="row">
|
|
9
9
|
<div class="col-12">
|
|
10
|
-
<label>
|
|
10
|
+
<label>{{ defaultFieldLabels.emailAddress }}</label>
|
|
11
11
|
<div class="form-group">
|
|
12
12
|
<div class="input-group">
|
|
13
13
|
<input disabled :value="user.email" class="form-control">
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
class="btn btn-outline-secondary d-flex justify-content-center flex-column"
|
|
18
18
|
title="Change your login email address"
|
|
19
19
|
>
|
|
20
|
-
|
|
20
|
+
{{ defaultFieldLabels.changeEmailAddress }}
|
|
21
21
|
</a>
|
|
22
22
|
</div>
|
|
23
23
|
</div>
|
|
@@ -197,39 +197,41 @@
|
|
|
197
197
|
</div>
|
|
198
198
|
</fieldset>
|
|
199
199
|
<p v-if="error" class="mt-3 text-danger">
|
|
200
|
-
|
|
200
|
+
{{ translate({ key: 'You must be logged in to modify your user profile.' }) }} {{ error }}
|
|
201
201
|
</p>
|
|
202
202
|
</form>
|
|
203
203
|
<div v-else>
|
|
204
204
|
<div class="success-message">
|
|
205
205
|
<div class="success-message__title">
|
|
206
|
-
Your profile has been saved.
|
|
206
|
+
{{ translate({ key: 'Your profile has been saved.' }) }}
|
|
207
207
|
</div>
|
|
208
208
|
<div v-if="returnTo" class="success-message__message">
|
|
209
209
|
<p>
|
|
210
|
-
You will be automatically redirected in
|
|
210
|
+
{{ translate({ key: 'You will be automatically redirected in ' }) }}
|
|
211
|
+
{{ returnToDelay / 1000 }} {{ translate({ key: 'seconds.' }) }}
|
|
211
212
|
</p>
|
|
212
213
|
<p>
|
|
213
|
-
To continue now,
|
|
214
|
-
<a :href="returnTo">click here</a>.
|
|
214
|
+
{{ translate({ key: 'To continue now,' }) }}
|
|
215
|
+
<a :href="returnTo">{{ translate({ key: 'click here' }) }}</a>.
|
|
215
216
|
</p>
|
|
216
217
|
</div>
|
|
217
218
|
<div v-else class="success-message__message">
|
|
218
219
|
<p>
|
|
219
|
-
To continue modifying your profile,
|
|
220
|
+
{{ translate({ key: 'To continue modifying your profile,' }) }}
|
|
220
221
|
<button class="" type="button" @click="handleReload()">
|
|
221
|
-
click here
|
|
222
|
+
{{ translate({ key: 'click here' }) }}
|
|
222
223
|
</button>.
|
|
223
224
|
</p>
|
|
224
225
|
<p>
|
|
225
|
-
To return to the home page,
|
|
226
|
+
{{ translate({ key: 'To return to the home page, ' }) }}
|
|
227
|
+
<a href="/">{{ translate({ key: 'click here' }) }}</a>.
|
|
226
228
|
</p>
|
|
227
229
|
</div>
|
|
228
230
|
</div>
|
|
229
231
|
</div>
|
|
230
232
|
</div>
|
|
231
233
|
<div v-else>
|
|
232
|
-
|
|
234
|
+
{{ translate({ key: 'You must be logged in to modify your user profile.'}) }}
|
|
233
235
|
<login
|
|
234
236
|
:additional-event-data="additionalEventData"
|
|
235
237
|
:source="loginSource"
|
|
@@ -612,6 +614,47 @@ export default {
|
|
|
612
614
|
this.user.customBooleanFieldAnswers = this.customBooleanFieldAnswers;
|
|
613
615
|
},
|
|
614
616
|
|
|
617
|
+
translate({ key }) {
|
|
618
|
+
const { lang } = this;
|
|
619
|
+
const i18n = {
|
|
620
|
+
pt: {
|
|
621
|
+
'An error occurred': 'Ocorreu um erro: ',
|
|
622
|
+
'Your profile has been saved.': 'Seu perfil foi salvo.',
|
|
623
|
+
'You will be automatically redirected in ': 'Você será redirecionado automaticamente em ',
|
|
624
|
+
'seconds.': 'segundas.',
|
|
625
|
+
'To continue now,': 'Para continuar agora,',
|
|
626
|
+
'click here': 'clique aqui',
|
|
627
|
+
'To continue modifying your profile,': 'Para continuar modificando seu perfil,',
|
|
628
|
+
'To return to the home page, ': 'Para retornar à página inicial, ',
|
|
629
|
+
'You must be logged in to modify your user profile.': 'Você precisa estar logado para modificar seu perfil de usuário.',
|
|
630
|
+
},
|
|
631
|
+
es: {
|
|
632
|
+
'An error occurred': 'Se produjo un error:',
|
|
633
|
+
'Your profile has been saved.': 'Su perfil ha sido guardado.',
|
|
634
|
+
'You will be automatically redirected in ': 'Serás redirigido automáticamente en',
|
|
635
|
+
'seconds.': 'segundos',
|
|
636
|
+
'To continue now,': 'Para continuar ahora,',
|
|
637
|
+
'click here': 'haga clic aquí',
|
|
638
|
+
'To continue modifying your profile,': 'Para continuar modificando tu perfil, ',
|
|
639
|
+
'To return to the home page, ': 'Para volver a la página de inicio, ',
|
|
640
|
+
'You must be logged in to modify your user profile.': 'Você precisa estar logado para modificar seu perfil de usuário.',
|
|
641
|
+
},
|
|
642
|
+
en: {
|
|
643
|
+
'An error occurred: ': 'An error occurred: ',
|
|
644
|
+
'You will be automatically redirected in ': 'You will be automatically redirected in ',
|
|
645
|
+
'seconds.': 'seconds.',
|
|
646
|
+
'To continue now,': 'To continue now,',
|
|
647
|
+
'click here': 'click here',
|
|
648
|
+
'To return to the home page, ': 'To return to the home page, ',
|
|
649
|
+
'To continue modifying your profile,': 'To continue modifying your profile,',
|
|
650
|
+
'Your profile has been saved.': 'Your profile has been saved.',
|
|
651
|
+
'You must be logged in to modify your user profile.': '<p>You must be logged in to modify your user profile.</p>',
|
|
652
|
+
},
|
|
653
|
+
};
|
|
654
|
+
const value = (i18n[lang] && i18n[lang][key]) ? i18n[lang][key] : i18n.en[key] || '';
|
|
655
|
+
return value;
|
|
656
|
+
},
|
|
657
|
+
|
|
615
658
|
onCustomSelectChange(answers, $event) {
|
|
616
659
|
const ids = Array.isArray($event) ? [...$event] : [...($event ? [$event] : [])];
|
|
617
660
|
answers.splice(0);
|
|
@@ -669,12 +712,10 @@ export default {
|
|
|
669
712
|
...(data.additionalEventData || {}),
|
|
670
713
|
},
|
|
671
714
|
}, data.entity);
|
|
672
|
-
|
|
673
715
|
if (this.reloadPageOnSubmit) {
|
|
674
716
|
this.isReloadingPage = true;
|
|
675
717
|
window.location.reload(true);
|
|
676
718
|
}
|
|
677
|
-
|
|
678
719
|
if (this.returnTo) {
|
|
679
720
|
this.isRedirectingPage = true;
|
|
680
721
|
setTimeout(() => {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-identity-x$1.17.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-identity-x$1.17.4/components/access.marko",
|
|
6
6
|
marko_component = require("./access.marko"),
|
|
7
7
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
8
8
|
module_objectPath_module = require("@mindful-web/object-path"),
|
|
@@ -53,7 +53,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
53
53
|
}, marko_component);
|
|
54
54
|
|
|
55
55
|
marko_template.meta = {
|
|
56
|
-
id: "/@mindful-web/marko-web-identity-x$1.17.
|
|
56
|
+
id: "/@mindful-web/marko-web-identity-x$1.17.4/components/access.marko",
|
|
57
57
|
component: "./access.marko",
|
|
58
58
|
tags: [
|
|
59
59
|
"@mindful-web/marko-core/components/resolve.marko"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-identity-x$1.17.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-identity-x$1.17.4/components/comment-stream.marko",
|
|
6
6
|
marko_component = require("./comment-stream.marko"),
|
|
7
7
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
8
8
|
module_objectPath_module = require("@mindful-web/object-path"),
|
|
@@ -68,7 +68,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
68
68
|
}, marko_component);
|
|
69
69
|
|
|
70
70
|
marko_template.meta = {
|
|
71
|
-
id: "/@mindful-web/marko-web-identity-x$1.17.
|
|
71
|
+
id: "/@mindful-web/marko-web-identity-x$1.17.4/components/comment-stream.marko",
|
|
72
72
|
component: "./comment-stream.marko",
|
|
73
73
|
tags: [
|
|
74
74
|
"@mindful-web/marko-web/components/browser-component.marko",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-identity-x$1.17.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-identity-x$1.17.4/components/context.marko",
|
|
6
6
|
marko_component = require("./context.marko"),
|
|
7
7
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
8
8
|
marko_dynamicTag = require("marko/dist/runtime/helpers/dynamic-tag"),
|
|
@@ -44,7 +44,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
44
44
|
}, marko_component);
|
|
45
45
|
|
|
46
46
|
marko_template.meta = {
|
|
47
|
-
id: "/@mindful-web/marko-web-identity-x$1.17.
|
|
47
|
+
id: "/@mindful-web/marko-web-identity-x$1.17.4/components/context.marko",
|
|
48
48
|
component: "./context.marko",
|
|
49
49
|
tags: [
|
|
50
50
|
"@mindful-web/marko-core/components/resolve.marko"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-identity-x$1.17.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-identity-x$1.17.4/components/form-access.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
module_defaultValue = require("@mindful-web/marko-core/utils/default-value"),
|
|
8
8
|
defaultValue = module_defaultValue.default || module_defaultValue,
|
|
@@ -107,7 +107,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
107
107
|
});
|
|
108
108
|
|
|
109
109
|
marko_template.meta = {
|
|
110
|
-
id: "/@mindful-web/marko-web-identity-x$1.17.
|
|
110
|
+
id: "/@mindful-web/marko-web-identity-x$1.17.4/components/form-access.marko",
|
|
111
111
|
tags: [
|
|
112
112
|
"@mindful-web/marko-web/components/browser-component.marko"
|
|
113
113
|
]
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-identity-x$1.17.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-identity-x$1.17.4/components/form-authenticate.marko",
|
|
6
6
|
marko_component = require("./form-authenticate.marko"),
|
|
7
7
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
8
8
|
module_objectPath_module = require("@mindful-web/object-path"),
|
|
@@ -64,7 +64,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
64
64
|
}, marko_component);
|
|
65
65
|
|
|
66
66
|
marko_template.meta = {
|
|
67
|
-
id: "/@mindful-web/marko-web-identity-x$1.17.
|
|
67
|
+
id: "/@mindful-web/marko-web-identity-x$1.17.4/components/form-authenticate.marko",
|
|
68
68
|
component: "./form-authenticate.marko",
|
|
69
69
|
tags: [
|
|
70
70
|
"@mindful-web/marko-web/components/browser-component.marko",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-identity-x$1.17.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-identity-x$1.17.4/components/form-change-email.marko",
|
|
6
6
|
marko_component = require("./form-change-email.marko"),
|
|
7
7
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
8
8
|
module_objectPath_module = require("@mindful-web/object-path"),
|
|
@@ -59,7 +59,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
59
59
|
}, marko_component);
|
|
60
60
|
|
|
61
61
|
marko_template.meta = {
|
|
62
|
-
id: "/@mindful-web/marko-web-identity-x$1.17.
|
|
62
|
+
id: "/@mindful-web/marko-web-identity-x$1.17.4/components/form-change-email.marko",
|
|
63
63
|
component: "./form-change-email.marko",
|
|
64
64
|
tags: [
|
|
65
65
|
"@mindful-web/marko-web/components/browser-component.marko",
|
|
@@ -19,8 +19,7 @@ $ const additionalEventData = defaultValue(input.additionalEventData, {});
|
|
|
19
19
|
loginEmailPlaceholder: input.loginEmailPlaceholder,
|
|
20
20
|
defaultFieldLabels: identityX.config.get("defaultFieldLabels"),
|
|
21
21
|
requiredCreateFields: identityX.config.getRequiredCreateFields(),
|
|
22
|
-
consentPolicy: get(application, "organization.consentPolicy"),
|
|
23
|
-
emailConsentRequest: get(application, "organization.emailConsentRequest"),
|
|
22
|
+
consentPolicy: identityX.config.get("consentPolicy") || get(application, "organization.consentPolicy"),
|
|
24
23
|
regionalConsentPolicies: get(application, "organization.regionalConsentPolicies"),
|
|
25
24
|
appContextId: identityX.config.get("appContextId"),
|
|
26
25
|
lang: defaultValue(input.lang, "en"),
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-identity-x$1.17.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-identity-x$1.17.4/components/form-login.marko",
|
|
6
6
|
marko_component = require("./form-login.marko"),
|
|
7
7
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
8
8
|
module_objectPath_module = require("@mindful-web/object-path"),
|
|
@@ -40,8 +40,7 @@ function render(input, out, __component, component, state) {
|
|
|
40
40
|
loginEmailPlaceholder: input.loginEmailPlaceholder,
|
|
41
41
|
defaultFieldLabels: identityX.config.get("defaultFieldLabels"),
|
|
42
42
|
requiredCreateFields: identityX.config.getRequiredCreateFields(),
|
|
43
|
-
consentPolicy: get(application, "organization.consentPolicy"),
|
|
44
|
-
emailConsentRequest: get(application, "organization.emailConsentRequest"),
|
|
43
|
+
consentPolicy: identityX.config.get("consentPolicy") || get(application, "organization.consentPolicy"),
|
|
45
44
|
regionalConsentPolicies: get(application, "organization.regionalConsentPolicies"),
|
|
46
45
|
appContextId: identityX.config.get("appContextId"),
|
|
47
46
|
lang: defaultValue(input.lang, "en"),
|
|
@@ -63,7 +62,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
63
62
|
}, marko_component);
|
|
64
63
|
|
|
65
64
|
marko_template.meta = {
|
|
66
|
-
id: "/@mindful-web/marko-web-identity-x$1.17.
|
|
65
|
+
id: "/@mindful-web/marko-web-identity-x$1.17.4/components/form-login.marko",
|
|
67
66
|
component: "./form-login.marko",
|
|
68
67
|
tags: [
|
|
69
68
|
"@mindful-web/marko-web/components/browser-component.marko",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-identity-x$1.17.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-identity-x$1.17.4/components/form-logout.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
module_defaultValue = require("@mindful-web/marko-core/utils/default-value"),
|
|
8
8
|
defaultValue = module_defaultValue.default || module_defaultValue,
|
|
@@ -29,7 +29,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
29
29
|
});
|
|
30
30
|
|
|
31
31
|
marko_template.meta = {
|
|
32
|
-
id: "/@mindful-web/marko-web-identity-x$1.17.
|
|
32
|
+
id: "/@mindful-web/marko-web-identity-x$1.17.4/components/form-logout.marko",
|
|
33
33
|
tags: [
|
|
34
34
|
"@mindful-web/marko-web/components/browser-component.marko"
|
|
35
35
|
]
|
|
@@ -24,7 +24,7 @@ $ const lang = site.config.lang || "en";
|
|
|
24
24
|
reloadPageOnSubmit: input.reloadPageOnSubmit,
|
|
25
25
|
buttonLabel: input.buttonLabel,
|
|
26
26
|
endpoints: identityX.config.getEndpoints(),
|
|
27
|
-
consentPolicy: get(application, "organization.consentPolicy"),
|
|
27
|
+
consentPolicy: identityX.config.get("consentPolicy") || get(application, "organization.consentPolicy"),
|
|
28
28
|
emailConsentRequest: get(application, "organization.emailConsentRequest"),
|
|
29
29
|
appContextId: identityX.config.get("appContextId"),
|
|
30
30
|
regionalConsentPolicies: get(application, "organization.regionalConsentPolicies"),
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-identity-x$1.17.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-identity-x$1.17.4/components/form-profile.marko",
|
|
6
6
|
marko_component = require("./form-profile.marko"),
|
|
7
7
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
8
8
|
module_objectPath_module = require("@mindful-web/object-path"),
|
|
@@ -46,7 +46,7 @@ function render(input, out, __component, component, state) {
|
|
|
46
46
|
reloadPageOnSubmit: input.reloadPageOnSubmit,
|
|
47
47
|
buttonLabel: input.buttonLabel,
|
|
48
48
|
endpoints: identityX.config.getEndpoints(),
|
|
49
|
-
consentPolicy: get(application, "organization.consentPolicy"),
|
|
49
|
+
consentPolicy: identityX.config.get("consentPolicy") || get(application, "organization.consentPolicy"),
|
|
50
50
|
emailConsentRequest: get(application, "organization.emailConsentRequest"),
|
|
51
51
|
appContextId: identityX.config.get("appContextId"),
|
|
52
52
|
regionalConsentPolicies: get(application, "organization.regionalConsentPolicies"),
|
|
@@ -72,7 +72,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
72
72
|
}, marko_component);
|
|
73
73
|
|
|
74
74
|
marko_template.meta = {
|
|
75
|
-
id: "/@mindful-web/marko-web-identity-x$1.17.
|
|
75
|
+
id: "/@mindful-web/marko-web-identity-x$1.17.4/components/form-profile.marko",
|
|
76
76
|
component: "./form-profile.marko",
|
|
77
77
|
tags: [
|
|
78
78
|
"@mindful-web/marko-web/components/browser-component.marko",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-identity-x$1.17.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-identity-x$1.17.4/components/form-register.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
marko_assign = require("marko/dist/runtime/helpers/assign"),
|
|
8
8
|
marko_web_identity_x_form_login_template = require("./form-login.marko"),
|
|
@@ -25,7 +25,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
25
25
|
});
|
|
26
26
|
|
|
27
27
|
marko_template.meta = {
|
|
28
|
-
id: "/@mindful-web/marko-web-identity-x$1.17.
|
|
28
|
+
id: "/@mindful-web/marko-web-identity-x$1.17.4/components/form-register.marko",
|
|
29
29
|
tags: [
|
|
30
30
|
"./form-login.marko"
|
|
31
31
|
]
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-identity-x$1.17.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-identity-x$1.17.4/components/identify.marko",
|
|
6
6
|
marko_component = require("./identify.marko"),
|
|
7
7
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
8
8
|
module_objectPath_module = require("@mindful-web/object-path"),
|
|
@@ -50,7 +50,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
50
50
|
}, marko_component);
|
|
51
51
|
|
|
52
52
|
marko_template.meta = {
|
|
53
|
-
id: "/@mindful-web/marko-web-identity-x$1.17.
|
|
53
|
+
id: "/@mindful-web/marko-web-identity-x$1.17.4/components/identify.marko",
|
|
54
54
|
component: "./identify.marko",
|
|
55
55
|
tags: [
|
|
56
56
|
"@mindful-web/marko-web-gtm/components/push.marko",
|
package/components/marko.json
CHANGED
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
},
|
|
33
33
|
"@action-text": "string",
|
|
34
34
|
"@button-labels": "object",
|
|
35
|
+
"@consent-policy": "string",
|
|
35
36
|
"@login-email-placeholder": "string",
|
|
36
37
|
"@redirect": "string",
|
|
37
38
|
"@login-email-label": "string",
|
|
@@ -57,6 +58,7 @@
|
|
|
57
58
|
"<marko-web-identity-x-form-profile>": {
|
|
58
59
|
"template": "./form-profile.marko",
|
|
59
60
|
"@additional-event-data": "object",
|
|
61
|
+
"@consent-policy": "string",
|
|
60
62
|
"@login-source": {
|
|
61
63
|
"type": "string",
|
|
62
64
|
"default-value": "default"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-identity-x$1.17.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-identity-x$1.17.4/components/non-auth-identify.marko",
|
|
6
6
|
marko_component = require("./non-auth-identify.marko"),
|
|
7
7
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
8
8
|
marko_dynamicTag = require("marko/dist/runtime/helpers/dynamic-tag"),
|
|
@@ -45,7 +45,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
45
45
|
}, marko_component);
|
|
46
46
|
|
|
47
47
|
marko_template.meta = {
|
|
48
|
-
id: "/@mindful-web/marko-web-identity-x$1.17.
|
|
48
|
+
id: "/@mindful-web/marko-web-identity-x$1.17.4/components/non-auth-identify.marko",
|
|
49
49
|
component: "./non-auth-identify.marko",
|
|
50
50
|
tags: [
|
|
51
51
|
"@mindful-web/marko-core/components/resolve.marko"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mindful-web/marko-web-identity-x",
|
|
3
|
-
"version": "1.17.
|
|
3
|
+
"version": "1.17.4",
|
|
4
4
|
"description": "Marko Wrapper for IdentityX",
|
|
5
5
|
"repository": "https://github.com/parameter1/mindful-web/tree/main/packages/marko-web-identity-x",
|
|
6
6
|
"author": "Josh Worden <josh@parameter1.com>",
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"publishConfig": {
|
|
37
37
|
"access": "public"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "bcf9a32a51bc4bdef9e1c3c762d70a359f6dcfa9"
|
|
40
40
|
}
|