@mindful-web/marko-web-identity-x 1.13.0 → 1.16.0

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.
@@ -11,7 +11,7 @@
11
11
  >
12
12
  <p :class="element('login-message')">
13
13
  <span :class="element(`login-message--cta`)">
14
- Post a Comment
14
+ {{ postACommentMessage }}
15
15
  </span>
16
16
  </p>
17
17
  <div v-if="archived" :class="element('archived')">
@@ -27,11 +27,9 @@
27
27
  <div v-else :class="element('login-form-wrapper')">
28
28
  <p v-if="showLoginMessage" :class="element('login-message')">
29
29
  <span :class="element(`login-message--cta`)">
30
- Post a Comment
30
+ {{ postACommentMessage }}
31
31
  </span>
32
- You must be signed in to leave a comment.
33
- To sign in or create an account,
34
- enter your email address and we'll send you a one-click sign-in link.
32
+ {{ notSignedInMessage }}
35
33
  </p>
36
34
  <login
37
35
  :class="element('login-form')"
@@ -45,6 +43,7 @@
45
43
  :button-labels="loginButtonLabels"
46
44
  :required-create-fields="requiredCreateFields"
47
45
  :default-field-labels="defaultFieldLabels"
46
+ :login-email-label="defaultFieldLabels.email"
48
47
  @login-link-sent="showLoginMessage = false"
49
48
  />
50
49
  </div>
@@ -173,6 +172,14 @@ export default {
173
172
  type: String,
174
173
  default: 'This article hasn’t received any comments yet. Want to start the conversation?',
175
174
  },
175
+ notSignedInMessage: {
176
+ type: String,
177
+ default: 'You must be signed in to leave a comment. To sign in or create an account, enter your email address and we\'ll send you a one-click sign-in link.',
178
+ },
179
+ postACommentMessage: {
180
+ type: String,
181
+ default: 'Post a Comment',
182
+ },
176
183
  modifiers: {
177
184
  type: Array,
178
185
  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.13.0/components/access.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-identity-x$1.16.0/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.13.0/components/access.marko",
56
+ id: "/@mindful-web/marko-web-identity-x$1.16.0/components/access.marko",
57
57
  component: "./access.marko",
58
58
  tags: [
59
59
  "@mindful-web/marko-core/components/resolve.marko"
@@ -1,7 +1,7 @@
1
1
  import { get } from "@mindful-web/object-path";
2
2
  import defaultValue from "@mindful-web/marko-core/utils/default-value";
3
3
 
4
- $ const { req } = out.global;
4
+ $ const { req, site } = out.global;
5
5
  $ const { identityX } = req;
6
6
  $ const additionalEventData = defaultValue(input.additionalEventData, {});
7
7
 
@@ -23,6 +23,12 @@ $ const additionalEventData = defaultValue(input.additionalEventData, {});
23
23
  appContextId: identityX.config.get("appContextId"),
24
24
  requiredCreateFields: identityX.config.getRequiredCreateFields(),
25
25
  defaultFieldLabels: identityX.config.get("defaultFieldLabels"),
26
+ headerText: get(site, 'config.comments.headerText'),
27
+ loadMoreCommentsMessage: get(site, 'config.comments.loadMoreCommentsMessage'),
28
+ latestCommentsHeader: get(site, 'config.comments.latestCommentsHeader'),
29
+ noCommentsMessage: get(site, 'config.comments.noCommentsMessage'),
30
+ notSignedInMessage: get(site, 'config.comments.notSignedInMessage'),
31
+ postACommentMessage: get(site, 'config.comments.postACommentMessage'),
26
32
  };
27
33
  <if(isEnabled && identityX.config.commentsEnabled())>
28
34
  <marko-web-browser-component name="IdentityXCommentStream" props=props />
@@ -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.13.0/components/comment-stream.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-identity-x$1.16.0/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"),
@@ -19,7 +19,7 @@ var marko_template = module.exports = require("marko/dist/html").t(__filename),
19
19
  function render(input, out, __component, component, state) {
20
20
  var data = input;
21
21
 
22
- const { req } = out.global;
22
+ const { req, site } = out.global;
23
23
 
24
24
  const { identityX } = req;
25
25
 
@@ -44,6 +44,12 @@ function render(input, out, __component, component, state) {
44
44
  appContextId: identityX.config.get("appContextId"),
45
45
  requiredCreateFields: identityX.config.getRequiredCreateFields(),
46
46
  defaultFieldLabels: identityX.config.get("defaultFieldLabels"),
47
+ headerText: get(site, 'config.comments.headerText'),
48
+ loadMoreCommentsMessage: get(site, 'config.comments.loadMoreCommentsMessage'),
49
+ latestCommentsHeader: get(site, 'config.comments.latestCommentsHeader'),
50
+ noCommentsMessage: get(site, 'config.comments.noCommentsMessage'),
51
+ notSignedInMessage: get(site, 'config.comments.notSignedInMessage'),
52
+ postACommentMessage: get(site, 'config.comments.postACommentMessage'),
47
53
  };
48
54
 
49
55
  if (isEnabled && identityX.config.commentsEnabled()) {
@@ -62,7 +68,7 @@ marko_template._ = marko_renderer(render, {
62
68
  }, marko_component);
63
69
 
64
70
  marko_template.meta = {
65
- id: "/@mindful-web/marko-web-identity-x$1.13.0/components/comment-stream.marko",
71
+ id: "/@mindful-web/marko-web-identity-x$1.16.0/components/comment-stream.marko",
66
72
  component: "./comment-stream.marko",
67
73
  tags: [
68
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.13.0/components/context.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-identity-x$1.16.0/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.13.0/components/context.marko",
47
+ id: "/@mindful-web/marko-web-identity-x$1.16.0/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.13.0/components/form-access.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-identity-x$1.16.0/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,
@@ -104,7 +104,7 @@ marko_template._ = marko_renderer(render, {
104
104
  });
105
105
 
106
106
  marko_template.meta = {
107
- id: "/@mindful-web/marko-web-identity-x$1.13.0/components/form-access.marko",
107
+ id: "/@mindful-web/marko-web-identity-x$1.16.0/components/form-access.marko",
108
108
  tags: [
109
109
  "@mindful-web/marko-web/components/browser-component.marko"
110
110
  ]
@@ -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.13.0/components/form-authenticate.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-identity-x$1.16.0/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.13.0/components/form-authenticate.marko",
67
+ id: "/@mindful-web/marko-web-identity-x$1.16.0/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.13.0/components/form-change-email.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-identity-x$1.16.0/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.13.0/components/form-change-email.marko",
62
+ id: "/@mindful-web/marko-web-identity-x$1.16.0/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.13.0/components/form-login.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-identity-x$1.16.0/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"),
@@ -63,7 +63,7 @@ marko_template._ = marko_renderer(render, {
63
63
  }, marko_component);
64
64
 
65
65
  marko_template.meta = {
66
- id: "/@mindful-web/marko-web-identity-x$1.13.0/components/form-login.marko",
66
+ id: "/@mindful-web/marko-web-identity-x$1.16.0/components/form-login.marko",
67
67
  component: "./form-login.marko",
68
68
  tags: [
69
69
  "@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.13.0/components/form-logout.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-identity-x$1.16.0/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.13.0/components/form-logout.marko",
32
+ id: "/@mindful-web/marko-web-identity-x$1.16.0/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.13.0/components/form-profile.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-identity-x$1.16.0/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"),
@@ -69,7 +69,7 @@ marko_template._ = marko_renderer(render, {
69
69
  }, marko_component);
70
70
 
71
71
  marko_template.meta = {
72
- id: "/@mindful-web/marko-web-identity-x$1.13.0/components/form-profile.marko",
72
+ id: "/@mindful-web/marko-web-identity-x$1.16.0/components/form-profile.marko",
73
73
  component: "./form-profile.marko",
74
74
  tags: [
75
75
  "@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.13.0/components/form-register.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-identity-x$1.16.0/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.13.0/components/form-register.marko",
28
+ id: "/@mindful-web/marko-web-identity-x$1.16.0/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.13.0/components/identify.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-identity-x$1.16.0/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.13.0/components/identify.marko",
53
+ id: "/@mindful-web/marko-web-identity-x$1.16.0/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.13.0/components/non-auth-identify.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-identity-x$1.16.0/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.13.0/components/non-auth-identify.marko",
48
+ id: "/@mindful-web/marko-web-identity-x$1.16.0/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.13.0",
3
+ "version": "1.16.0",
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": "358e16a280f47bf2ece8331f143bbcfbd2678d67"
39
+ "gitHead": "4fcb9626b1b1672525a358284d2c45dad3dc1526"
40
40
  }