@mindful-web/marko-web-identity-x 1.17.5 → 1.17.6
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/authenticate.vue +5 -0
- package/browser/login.vue +6 -6
- 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 +3 -1
- package/components/form-authenticate.marko.js +6 -3
- package/components/form-change-email.marko.js +2 -2
- package/components/form-login.marko.js +2 -2
- package/components/form-logout.marko.js +2 -2
- package/components/form-profile.marko.js +2 -2
- package/components/form-register.marko.js +2 -2
- package/components/identify.marko.js +2 -2
- package/components/non-auth-identify.marko.js +2 -2
- package/package.json +2 -2
package/browser/authenticate.vue
CHANGED
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
:call-to-action="callToAction"
|
|
27
27
|
:default-field-labels="defaultFieldLabels"
|
|
28
28
|
:enable-change-email="enableChangeEmail"
|
|
29
|
+
:lang="lang"
|
|
29
30
|
@profile-updated="redirect"
|
|
30
31
|
/>
|
|
31
32
|
</div>
|
|
@@ -140,6 +141,10 @@ export default {
|
|
|
140
141
|
type: Boolean,
|
|
141
142
|
default: false,
|
|
142
143
|
},
|
|
144
|
+
lang: {
|
|
145
|
+
type: String,
|
|
146
|
+
default: 'en',
|
|
147
|
+
},
|
|
143
148
|
},
|
|
144
149
|
|
|
145
150
|
/**
|
package/browser/login.vue
CHANGED
|
@@ -242,15 +242,15 @@ export default {
|
|
|
242
242
|
}
|
|
243
243
|
|
|
244
244
|
if (this.lang === 'pt') {
|
|
245
|
-
return `<h4>Quase
|
|
245
|
+
return `<h4>Quase lá!</h4>
|
|
246
246
|
<p>
|
|
247
|
-
Acabamos de enviar um e-mail para
|
|
248
|
-
Para
|
|
247
|
+
Acabamos de enviar um e-mail para <em>${this.email}</em> com o link de login único (que expira em uma hora).
|
|
248
|
+
Para concluir ${this.actionText || 'o login'}, abra o e-mail e clique no link.
|
|
249
249
|
</p>
|
|
250
250
|
<p>
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
Adicione ${this.senderEmailAddress} à sua lista de
|
|
251
|
+
Nota: verifique também a pasta de spam ou lixo eletrônico.
|
|
252
|
+
Caso não receba o e-mail, é possível que seu firewall ou provedor de internet tenha bloqueado.
|
|
253
|
+
Adicione ${this.senderEmailAddress} à sua lista de remetentes confiáveis e tente se registrar novamente.
|
|
254
254
|
</p>`;
|
|
255
255
|
}
|
|
256
256
|
|
|
@@ -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.6/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.6/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.6/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.6/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.6/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.6/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.6/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.6/components/form-access.marko",
|
|
111
111
|
tags: [
|
|
112
112
|
"@mindful-web/marko-web/components/browser-component.marko"
|
|
113
113
|
]
|
|
@@ -5,6 +5,7 @@ $ const { req } = out.global;
|
|
|
5
5
|
$ const { identityX, query } = req;
|
|
6
6
|
$ const isEnabled = Boolean(req.identityX);
|
|
7
7
|
$ const additionalEventData = defaultValue(input.additionalEventData, {});
|
|
8
|
+
$ const lang = site.config.lang || "en";
|
|
8
9
|
|
|
9
10
|
<if(isEnabled)>
|
|
10
11
|
<marko-web-identity-x-context|{ application }|>
|
|
@@ -25,7 +26,8 @@ $ const additionalEventData = defaultValue(input.additionalEventData, {});
|
|
|
25
26
|
consentPolicy: get(application, "organization.consentPolicy"),
|
|
26
27
|
emailConsentRequest: get(application, "organization.emailConsentRequest"),
|
|
27
28
|
regionalConsentPolicies: get(application, "organization.regionalConsentPolicies"),
|
|
28
|
-
enableChangeEmail: identityX.config.get("enableChangeEmail")
|
|
29
|
+
enableChangeEmail: identityX.config.get("enableChangeEmail"),
|
|
30
|
+
lang
|
|
29
31
|
};
|
|
30
32
|
<marko-web-browser-component name="IdentityXAuthenticate" props=props />
|
|
31
33
|
</marko-web-identity-x-context>
|
|
@@ -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.6/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"),
|
|
@@ -27,6 +27,8 @@ function render(input, out, __component, component, state) {
|
|
|
27
27
|
|
|
28
28
|
const additionalEventData = defaultValue(input.additionalEventData, {});
|
|
29
29
|
|
|
30
|
+
const lang = site.config.lang || "en";
|
|
31
|
+
|
|
30
32
|
if (isEnabled) {
|
|
31
33
|
marko_web_identity_x_context_tag({
|
|
32
34
|
renderBody: function(out, { application }) {
|
|
@@ -47,7 +49,8 @@ function render(input, out, __component, component, state) {
|
|
|
47
49
|
consentPolicy: get(application, "organization.consentPolicy"),
|
|
48
50
|
emailConsentRequest: get(application, "organization.emailConsentRequest"),
|
|
49
51
|
regionalConsentPolicies: get(application, "organization.regionalConsentPolicies"),
|
|
50
|
-
enableChangeEmail: identityX.config.get("enableChangeEmail")
|
|
52
|
+
enableChangeEmail: identityX.config.get("enableChangeEmail"),
|
|
53
|
+
lang
|
|
51
54
|
};
|
|
52
55
|
|
|
53
56
|
marko_web_browser_component_tag({
|
|
@@ -64,7 +67,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
64
67
|
}, marko_component);
|
|
65
68
|
|
|
66
69
|
marko_template.meta = {
|
|
67
|
-
id: "/@mindful-web/marko-web-identity-x$1.17.
|
|
70
|
+
id: "/@mindful-web/marko-web-identity-x$1.17.6/components/form-authenticate.marko",
|
|
68
71
|
component: "./form-authenticate.marko",
|
|
69
72
|
tags: [
|
|
70
73
|
"@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.6/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.6/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",
|
|
@@ -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.6/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"),
|
|
@@ -62,7 +62,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
62
62
|
}, marko_component);
|
|
63
63
|
|
|
64
64
|
marko_template.meta = {
|
|
65
|
-
id: "/@mindful-web/marko-web-identity-x$1.17.
|
|
65
|
+
id: "/@mindful-web/marko-web-identity-x$1.17.6/components/form-login.marko",
|
|
66
66
|
component: "./form-login.marko",
|
|
67
67
|
tags: [
|
|
68
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.6/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.6/components/form-logout.marko",
|
|
33
33
|
tags: [
|
|
34
34
|
"@mindful-web/marko-web/components/browser-component.marko"
|
|
35
35
|
]
|
|
@@ -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.6/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"),
|
|
@@ -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.6/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.6/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.6/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.6/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.6/components/identify.marko",
|
|
54
54
|
component: "./identify.marko",
|
|
55
55
|
tags: [
|
|
56
56
|
"@mindful-web/marko-web-gtm/components/push.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.6/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.6/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.6",
|
|
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": "bd4df472732ebe26dde6ededd3e559eba04cb5e0"
|
|
40
40
|
}
|