@parameter1/base-cms-marko-web 2.95.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. package/components/browser-component.marko.js +2 -2
  2. package/components/document/components/body-wrapper.marko.js +2 -2
  3. package/components/document/components/error.marko.js +2 -2
  4. package/components/document/components/live-reload.marko.js +2 -2
  5. package/components/document/container.marko.js +2 -2
  6. package/components/document/index.marko.js +3 -3
  7. package/components/element/array.marko.js +2 -2
  8. package/components/element/block.marko.js +2 -2
  9. package/components/element/clear.marko.js +2 -2
  10. package/components/element/components/image.marko.js +3 -3
  11. package/components/element/components/text.marko.js +2 -2
  12. package/components/element/content/authors.marko.js +3 -4
  13. package/components/element/content/body.marko.js +4 -5
  14. package/components/element/content/embed-code.marko.js +3 -4
  15. package/components/element/content/end-date.marko.js +3 -4
  16. package/components/element/content/name.marko.js +3 -4
  17. package/components/element/content/published.marko.js +3 -4
  18. package/components/element/content/short-name.marko.js +3 -4
  19. package/components/element/content/start-date.marko.js +3 -4
  20. package/components/element/content/teaser.marko.js +3 -4
  21. package/components/element/content/title.marko.js +3 -4
  22. package/components/element/date.marko.js +3 -4
  23. package/components/element/image/caption.marko.js +3 -4
  24. package/components/element/image/credit.marko.js +3 -4
  25. package/components/element/image/display-name.marko.js +3 -4
  26. package/components/element/img.marko.js +4 -5
  27. package/components/element/index.marko.js +2 -2
  28. package/components/element/link.marko.js +5 -4
  29. package/components/element/magazine-publication/cancel-url.marko +22 -0
  30. package/components/element/magazine-publication/change-address-url.marko +22 -0
  31. package/components/element/magazine-publication/marko.json +20 -0
  32. package/components/element/obj-date.marko.js +4 -5
  33. package/components/element/obj-nodes.marko.js +4 -5
  34. package/components/element/obj-text.marko.js +4 -5
  35. package/components/element/obj.marko.js +2 -2
  36. package/components/element/picture.marko.js +83 -0
  37. package/components/element/text.marko.js +4 -5
  38. package/components/element/website-section/name.marko.js +5 -5
  39. package/components/load-more/index.marko.js +2 -2
  40. package/components/load-more/trigger.marko.js +2 -2
  41. package/components/node/body.marko.js +5 -6
  42. package/components/node/element.marko.js +4 -5
  43. package/components/node/footer.marko.js +3 -4
  44. package/components/node/header.marko.js +3 -4
  45. package/components/node/image-inner-wrapper.marko.js +4 -5
  46. package/components/node/image-wrapper.marko.js +6 -7
  47. package/components/node/image.marko.js +3 -4
  48. package/components/node/index.marko.js +7 -8
  49. package/components/node-list/body.marko.js +3 -4
  50. package/components/node-list/element.marko.js +4 -5
  51. package/components/node-list/footer.marko.js +3 -4
  52. package/components/node-list/header.marko.js +3 -4
  53. package/components/node-list/index.marko.js +6 -7
  54. package/components/node-list/node.marko.js +3 -4
  55. package/components/node-list/nodes.marko.js +4 -5
  56. package/components/page/container.marko.js +2 -2
  57. package/components/page/description.marko.js +2 -2
  58. package/components/page/layouts/content.marko.js +8 -6
  59. package/components/page/layouts/default.marko.js +2 -2
  60. package/components/page/layouts/website-section.marko.js +5 -5
  61. package/components/page/metadata/components/common.marko.js +2 -2
  62. package/components/page/metadata/content.marko.js +79 -7
  63. package/components/page/metadata/default.marko.js +2 -2
  64. package/components/page/metadata/website-section.marko.js +4 -5
  65. package/components/page/rel-canonical.marko.js +2 -2
  66. package/components/page/title.marko.js +2 -2
  67. package/components/page/wrapper.marko.js +2 -2
  68. package/components/resolve/page.marko.js +3 -4
  69. package/components/rss/website-section.marko.js +2 -2
  70. package/package.json +13 -13
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/src/html").t(__filename),
5
- marko_componentType = "/@parameter1/base-cms-marko-web$1.49.0/components/element/link.marko",
5
+ marko_componentType = "/@parameter1/base-cms-marko-web$2.98.0/components/element/link.marko",
6
6
  marko_renderer = require("marko/src/runtime/components/renderer"),
7
7
  marko_dynamicTag = require("marko/src/runtime/helpers/dynamic-tag"),
8
8
  marko_mergeAttrs = require("marko/src/runtime/html/helpers/merge-attrs");
@@ -26,11 +26,12 @@ function render(input, out, __component, component, state) {
26
26
 
27
27
  if (hasHref) {
28
28
  out.w("<a" +
29
- marko_mergeAttrs(input.attrs, {
29
+ marko_mergeAttrs({
30
+ rel: rel
31
+ }, input.attrs, {
30
32
  href: href,
31
33
  title: input.title,
32
34
  target: target,
33
- rel: rel,
34
35
  class: classNames
35
36
  }) +
36
37
  ">");
@@ -49,5 +50,5 @@ marko_template._ = marko_renderer(render, {
49
50
  });
50
51
 
51
52
  marko_template.meta = {
52
- id: "/@parameter1/base-cms-marko-web$1.49.0/components/element/link.marko"
53
+ id: "/@parameter1/base-cms-marko-web$2.98.0/components/element/link.marko"
53
54
  };
@@ -0,0 +1,22 @@
1
+ import { isObject } from "@parameter1/base-cms-utils";
2
+ import extractRender from "../extract-render";
3
+
4
+ $ const linkInput = { field: "cancelUrl" };
5
+ $ if (input.link === true) {
6
+ input.link = linkInput;
7
+ } else if (isObject(input.link)) {
8
+ input.link = { ...input.link, ...linkInput };
9
+ }
10
+
11
+ <marko-web-obj-text
12
+ type="magazine-publication"
13
+ block-name=input.blockName
14
+ obj=input.obj
15
+ field="cancelUrl"
16
+ tag=input.tag
17
+ class=input.class
18
+ modifiers=input.modifiers
19
+ attrs=input.attrs
20
+ link=input.link
21
+ ...extractRender(input)
22
+ />
@@ -0,0 +1,22 @@
1
+ import { isObject } from "@parameter1/base-cms-utils";
2
+ import extractRender from "../extract-render";
3
+
4
+ $ const linkInput = { field: "changeAddressUrl" };
5
+ $ if (input.link === true) {
6
+ input.link = linkInput;
7
+ } else if (isObject(input.link)) {
8
+ input.link = { ...input.link, ...linkInput };
9
+ }
10
+
11
+ <marko-web-obj-text
12
+ type="magazine-publication"
13
+ block-name=input.blockName
14
+ obj=input.obj
15
+ field="changeAddressUrl"
16
+ tag=input.tag
17
+ class=input.class
18
+ modifiers=input.modifiers
19
+ attrs=input.attrs
20
+ link=input.link
21
+ ...extractRender(input)
22
+ />
@@ -39,6 +39,26 @@
39
39
  "@attrs": "object",
40
40
  "@link": "expression"
41
41
  },
42
+ "<marko-web-magazine-publication-change-address-url>": {
43
+ "template": "./change-address-url.marko",
44
+ "@block-name": "string",
45
+ "@obj": "object",
46
+ "@tag": "string",
47
+ "@class": "string",
48
+ "@modifiers": "string",
49
+ "@attrs": "object",
50
+ "@link": "expression"
51
+ },
52
+ "<marko-web-magazine-publication-cancel-url>": {
53
+ "template": "./cancel-url.marko",
54
+ "@block-name": "string",
55
+ "@obj": "object",
56
+ "@tag": "string",
57
+ "@class": "string",
58
+ "@modifiers": "string",
59
+ "@attrs": "object",
60
+ "@link": "expression"
61
+ },
42
62
  "<marko-web-magazine-publication-reprints-url>": {
43
63
  "template": "./reprints-url.marko",
44
64
  "@block-name": "string",
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/src/html").t(__filename),
5
- marko_componentType = "/@parameter1/base-cms-marko-web$1.49.0/components/element/obj-date.marko",
5
+ marko_componentType = "/@parameter1/base-cms-marko-web$2.98.0/components/element/obj-date.marko",
6
6
  marko_component = require("./obj-date.marko"),
7
7
  marko_renderer = require("marko/src/runtime/components/renderer"),
8
8
  module_objectLink = require("./object-link"),
@@ -10,11 +10,10 @@ var marko_template = module.exports = require("marko/src/html").t(__filename),
10
10
  module_extractRender = require("./extract-render"),
11
11
  extractRender = module_extractRender.default || module_extractRender,
12
12
  marko_assign = require("marko/src/runtime/helpers/assign"),
13
- marko_loadTemplate = require("marko/src/runtime/helpers/load-template"),
14
- marko_web_date_template = marko_loadTemplate(require.resolve("./date.marko")),
13
+ marko_web_date_template = require("./date.marko"),
15
14
  marko_loadTag = require("marko/src/runtime/helpers/load-tag"),
16
15
  marko_web_date_tag = marko_loadTag(marko_web_date_template),
17
- marko_web_obj_template = marko_loadTemplate(require.resolve("./obj.marko")),
16
+ marko_web_obj_template = require("./obj.marko"),
18
17
  marko_web_obj_tag = marko_loadTag(marko_web_obj_template);
19
18
 
20
19
  function render(input, out, __component, component, state) {
@@ -46,7 +45,7 @@ marko_template._ = marko_renderer(render, {
46
45
  }, marko_component);
47
46
 
48
47
  marko_template.meta = {
49
- id: "/@parameter1/base-cms-marko-web$1.49.0/components/element/obj-date.marko",
48
+ id: "/@parameter1/base-cms-marko-web$2.98.0/components/element/obj-date.marko",
50
49
  component: "./obj-date.marko",
51
50
  tags: [
52
51
  "./date.marko",
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/src/html").t(__filename),
5
- marko_componentType = "/@parameter1/base-cms-marko-web$1.49.0/components/element/obj-nodes.marko",
5
+ marko_componentType = "/@parameter1/base-cms-marko-web$2.98.0/components/element/obj-nodes.marko",
6
6
  marko_component = require("./obj-nodes.marko"),
7
7
  marko_renderer = require("marko/src/runtime/components/renderer"),
8
8
  module_baseCmsObjectPath_module = require("@parameter1/base-cms-object-path"),
@@ -10,11 +10,10 @@ var marko_template = module.exports = require("marko/src/html").t(__filename),
10
10
  getAsArray = module_baseCmsObjectPath_module.getAsArray,
11
11
  getAsObject = module_baseCmsObjectPath_module.getAsObject,
12
12
  marko_dynamicTag = require("marko/src/runtime/helpers/dynamic-tag"),
13
- marko_loadTemplate = require("marko/src/runtime/helpers/load-template"),
14
- marko_web_array_template = marko_loadTemplate(require.resolve("./array.marko")),
13
+ marko_web_array_template = require("./array.marko"),
15
14
  marko_loadTag = require("marko/src/runtime/helpers/load-tag"),
16
15
  marko_web_array_tag = marko_loadTag(marko_web_array_template),
17
- marko_web_obj_template = marko_loadTemplate(require.resolve("./obj.marko")),
16
+ marko_web_obj_template = require("./obj.marko"),
18
17
  marko_web_obj_tag = marko_loadTag(marko_web_obj_template);
19
18
 
20
19
  function render(input, out, __component, component, state) {
@@ -54,7 +53,7 @@ marko_template._ = marko_renderer(render, {
54
53
  }, marko_component);
55
54
 
56
55
  marko_template.meta = {
57
- id: "/@parameter1/base-cms-marko-web$1.49.0/components/element/obj-nodes.marko",
56
+ id: "/@parameter1/base-cms-marko-web$2.98.0/components/element/obj-nodes.marko",
58
57
  component: "./obj-nodes.marko",
59
58
  tags: [
60
59
  "./array.marko",
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/src/html").t(__filename),
5
- marko_componentType = "/@parameter1/base-cms-marko-web$1.49.0/components/element/obj-text.marko",
5
+ marko_componentType = "/@parameter1/base-cms-marko-web$2.98.0/components/element/obj-text.marko",
6
6
  marko_component = require("./obj-text.marko"),
7
7
  marko_renderer = require("marko/src/runtime/components/renderer"),
8
8
  module_objectLink = require("./object-link"),
@@ -10,11 +10,10 @@ var marko_template = module.exports = require("marko/src/html").t(__filename),
10
10
  module_extractRender = require("./extract-render"),
11
11
  extractRender = module_extractRender.default || module_extractRender,
12
12
  marko_assign = require("marko/src/runtime/helpers/assign"),
13
- marko_loadTemplate = require("marko/src/runtime/helpers/load-template"),
14
- marko_web_text_template = marko_loadTemplate(require.resolve("./text.marko")),
13
+ marko_web_text_template = require("./text.marko"),
15
14
  marko_loadTag = require("marko/src/runtime/helpers/load-tag"),
16
15
  marko_web_text_tag = marko_loadTag(marko_web_text_template),
17
- marko_web_obj_template = marko_loadTemplate(require.resolve("./obj.marko")),
16
+ marko_web_obj_template = require("./obj.marko"),
18
17
  marko_web_obj_tag = marko_loadTag(marko_web_obj_template);
19
18
 
20
19
  function render(input, out, __component, component, state) {
@@ -45,7 +44,7 @@ marko_template._ = marko_renderer(render, {
45
44
  }, marko_component);
46
45
 
47
46
  marko_template.meta = {
48
- id: "/@parameter1/base-cms-marko-web$1.49.0/components/element/obj-text.marko",
47
+ id: "/@parameter1/base-cms-marko-web$2.98.0/components/element/obj-text.marko",
49
48
  component: "./obj-text.marko",
50
49
  tags: [
51
50
  "./text.marko",
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/src/html").t(__filename),
5
- marko_componentType = "/@parameter1/base-cms-marko-web$1.49.0/components/element/obj.marko",
5
+ marko_componentType = "/@parameter1/base-cms-marko-web$2.98.0/components/element/obj.marko",
6
6
  marko_renderer = require("marko/src/runtime/components/renderer"),
7
7
  module_baseCmsObjectPath_module = require("@parameter1/base-cms-object-path"),
8
8
  baseCmsObjectPath_module = module_baseCmsObjectPath_module.default || module_baseCmsObjectPath_module,
@@ -57,5 +57,5 @@ marko_template._ = marko_renderer(render, {
57
57
  });
58
58
 
59
59
  marko_template.meta = {
60
- id: "/@parameter1/base-cms-marko-web$1.49.0/components/element/obj.marko"
60
+ id: "/@parameter1/base-cms-marko-web$2.98.0/components/element/obj.marko"
61
61
  };
@@ -0,0 +1,83 @@
1
+ // Compiled using marko@4.20.2 - DO NOT EDIT
2
+ "use strict";
3
+
4
+ var marko_template = module.exports = require("marko/src/html").t(__filename),
5
+ marko_componentType = "/@parameter1/base-cms-marko-web$2.98.0/components/element/picture.marko",
6
+ marko_renderer = require("marko/src/runtime/components/renderer"),
7
+ module_baseCmsObjectPath_module = require("@parameter1/base-cms-object-path"),
8
+ baseCmsObjectPath_module = module_baseCmsObjectPath_module.default || module_baseCmsObjectPath_module,
9
+ getAsArray = module_baseCmsObjectPath_module.getAsArray,
10
+ marko_web_picture_template = require("./picture.marko"),
11
+ marko_loadTag = require("marko/src/runtime/helpers/load-tag"),
12
+ marko_web_picture_tag = marko_loadTag(marko_web_picture_template),
13
+ marko_core_link_template = require("@parameter1/base-cms-marko-core/components/elements/link.marko"),
14
+ marko_core_link_tag = marko_loadTag(marko_core_link_template),
15
+ marko_forOf = require("marko/src/runtime/helpers/for-of"),
16
+ marko_attr = require("marko/src/runtime/html/helpers/attr"),
17
+ image_template = require("./components/image.marko"),
18
+ image_tag = marko_loadTag(image_template);
19
+
20
+ function render(input, out, __component, component, state) {
21
+ var data = input;
22
+
23
+ const { link, sources = [], image } = input;
24
+
25
+ const hasImage = Boolean(image.src);
26
+
27
+ if (hasImage) {
28
+ if (link) {
29
+ marko_core_link_tag({
30
+ before: link.before,
31
+ after: link.after,
32
+ href: link.href,
33
+ target: link.target,
34
+ title: link.title,
35
+ rel: link.rel,
36
+ class: link.class,
37
+ attrs: link.attrs,
38
+ renderBody: function(out) {
39
+ marko_web_picture_tag({
40
+ image: image,
41
+ sources: sources
42
+ }, out, __component, "1");
43
+ }
44
+ }, out, __component, "0");
45
+ } else {
46
+ out.w("<picture>");
47
+
48
+ var $for$0 = 0;
49
+
50
+ marko_forOf(sources, function(s) {
51
+ const srcset = image.lazyload ? null : s.srcset.join(", ");
52
+
53
+ const dataSrcset = image.lazyload ? s.srcset.join(", ") : null;
54
+
55
+ var $keyScope$0 = "[" + (($for$0++) + "]");
56
+
57
+ out.w("<source" +
58
+ marko_attr("srcset", srcset) +
59
+ marko_attr("data-srcset", dataSrcset) +
60
+ marko_attr("media", s.media) +
61
+ ">");
62
+ });
63
+
64
+ image_tag(image, out, __component, "4");
65
+
66
+ out.w("</picture>");
67
+ }
68
+ }
69
+ }
70
+
71
+ marko_template._ = marko_renderer(render, {
72
+ ___implicit: true,
73
+ ___type: marko_componentType
74
+ });
75
+
76
+ marko_template.meta = {
77
+ id: "/@parameter1/base-cms-marko-web$2.98.0/components/element/picture.marko",
78
+ tags: [
79
+ "./picture.marko",
80
+ "@parameter1/base-cms-marko-core/components/elements/link.marko",
81
+ "./components/image.marko"
82
+ ]
83
+ };
@@ -2,14 +2,13 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/src/html").t(__filename),
5
- marko_componentType = "/@parameter1/base-cms-marko-web$1.49.0/components/element/text.marko",
5
+ marko_componentType = "/@parameter1/base-cms-marko-web$2.98.0/components/element/text.marko",
6
6
  marko_renderer = require("marko/src/runtime/components/renderer"),
7
- marko_loadTemplate = require("marko/src/runtime/helpers/load-template"),
8
- text_template = marko_loadTemplate(require.resolve("./components/text.marko")),
7
+ text_template = require("./components/text.marko"),
9
8
  marko_loadTag = require("marko/src/runtime/helpers/load-tag"),
10
9
  text_tag = marko_loadTag(text_template),
11
10
  marko_assign = require("marko/src/runtime/helpers/assign"),
12
- marko_web_link_template = marko_loadTemplate(require.resolve("./link.marko")),
11
+ marko_web_link_template = require("./link.marko"),
13
12
  marko_web_link_tag = marko_loadTag(marko_web_link_template),
14
13
  marko_dynamicTag = require("marko/src/runtime/helpers/dynamic-tag");
15
14
 
@@ -69,7 +68,7 @@ marko_template._ = marko_renderer(render, {
69
68
  });
70
69
 
71
70
  marko_template.meta = {
72
- id: "/@parameter1/base-cms-marko-web$1.49.0/components/element/text.marko",
71
+ id: "/@parameter1/base-cms-marko-web$2.98.0/components/element/text.marko",
73
72
  tags: [
74
73
  "./components/text.marko",
75
74
  "./link.marko"
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/src/html").t(__filename),
5
- marko_componentType = "/@parameter1/base-cms-marko-web$1.49.0/components/element/website-section/name.marko",
5
+ marko_componentType = "/@parameter1/base-cms-marko-web$2.98.0/components/element/website-section/name.marko",
6
6
  marko_renderer = require("marko/src/runtime/components/renderer"),
7
7
  module_baseCmsObjectPath_module = require("@parameter1/base-cms-object-path"),
8
8
  baseCmsObjectPath_module = module_baseCmsObjectPath_module.default || module_baseCmsObjectPath_module,
@@ -10,8 +10,7 @@ var marko_template = module.exports = require("marko/src/html").t(__filename),
10
10
  module_extractRender = require("../extract-render"),
11
11
  extractRender = module_extractRender.default || module_extractRender,
12
12
  marko_assign = require("marko/src/runtime/helpers/assign"),
13
- marko_loadTemplate = require("marko/src/runtime/helpers/load-template"),
14
- marko_web_obj_text_template = marko_loadTemplate(require.resolve("../obj-text.marko")),
13
+ marko_web_obj_text_template = require("../obj-text.marko"),
15
14
  marko_loadTag = require("marko/src/runtime/helpers/load-tag"),
16
15
  marko_web_obj_text_tag = marko_loadTag(marko_web_obj_text_template);
17
16
 
@@ -29,7 +28,8 @@ function render(input, out, __component, component, state) {
29
28
  class: input.class,
30
29
  modifiers: input.modifiers,
31
30
  attrs: attrs,
32
- link: input.link
31
+ link: input.link,
32
+ html: true
33
33
  }, extractRender(input)), out, __component, "0");
34
34
  }
35
35
 
@@ -39,7 +39,7 @@ marko_template._ = marko_renderer(render, {
39
39
  });
40
40
 
41
41
  marko_template.meta = {
42
- id: "/@parameter1/base-cms-marko-web$1.49.0/components/element/website-section/name.marko",
42
+ id: "/@parameter1/base-cms-marko-web$2.98.0/components/element/website-section/name.marko",
43
43
  tags: [
44
44
  "../obj-text.marko"
45
45
  ]
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/src/html").t(__filename),
5
- marko_componentType = "/@parameter1/base-cms-marko-web$2.81.0/components/load-more/index.marko",
5
+ marko_componentType = "/@parameter1/base-cms-marko-web$2.98.0/components/load-more/index.marko",
6
6
  marko_component = require("./index.marko"),
7
7
  marko_renderer = require("marko/src/runtime/components/renderer"),
8
8
  module_baseCmsObjectPath_module = require("@parameter1/base-cms-object-path"),
@@ -108,7 +108,7 @@ marko_template._ = marko_renderer(render, {
108
108
  }, marko_component);
109
109
 
110
110
  marko_template.meta = {
111
- id: "/@parameter1/base-cms-marko-web$2.81.0/components/load-more/index.marko",
111
+ id: "/@parameter1/base-cms-marko-web$2.98.0/components/load-more/index.marko",
112
112
  component: "./",
113
113
  tags: [
114
114
  "../browser-component.marko",
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/src/html").t(__filename),
5
- marko_componentType = "/@parameter1/base-cms-marko-web$2.81.0/components/load-more/trigger.marko",
5
+ marko_componentType = "/@parameter1/base-cms-marko-web$2.98.0/components/load-more/trigger.marko",
6
6
  marko_renderer = require("marko/src/runtime/components/renderer"),
7
7
  marko_web_browser_component_template = require("../browser-component.marko"),
8
8
  marko_loadTag = require("marko/src/runtime/helpers/load-tag"),
@@ -33,7 +33,7 @@ marko_template._ = marko_renderer(render, {
33
33
  });
34
34
 
35
35
  marko_template.meta = {
36
- id: "/@parameter1/base-cms-marko-web$2.81.0/components/load-more/trigger.marko",
36
+ id: "/@parameter1/base-cms-marko-web$2.98.0/components/load-more/trigger.marko",
37
37
  tags: [
38
38
  "../browser-component.marko"
39
39
  ]
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/src/html").t(__filename),
5
- marko_componentType = "/@parameter1/base-cms-marko-web$1.49.0/components/node/body.marko",
5
+ marko_componentType = "/@parameter1/base-cms-marko-web$2.98.0/components/node/body.marko",
6
6
  marko_renderer = require("marko/src/runtime/components/renderer"),
7
7
  module_baseCmsObjectPath_module = require("@parameter1/base-cms-object-path"),
8
8
  baseCmsObjectPath_module = module_baseCmsObjectPath_module.default || module_baseCmsObjectPath_module,
@@ -11,14 +11,13 @@ var marko_template = module.exports = require("marko/src/html").t(__filename),
11
11
  module_showElement = require("../element/show-element"),
12
12
  showElement = module_showElement.default || module_showElement,
13
13
  marko_assign = require("marko/src/runtime/helpers/assign"),
14
- marko_loadTemplate = require("marko/src/runtime/helpers/load-template"),
15
- marko_web_node_header_template = marko_loadTemplate(require.resolve("./header.marko")),
14
+ marko_web_node_header_template = require("./header.marko"),
16
15
  marko_loadTag = require("marko/src/runtime/helpers/load-tag"),
17
16
  marko_web_node_header_tag = marko_loadTag(marko_web_node_header_template),
18
- marko_web_node_element_template = marko_loadTemplate(require.resolve("./element.marko")),
17
+ marko_web_node_element_template = require("./element.marko"),
19
18
  marko_web_node_element_tag = marko_loadTag(marko_web_node_element_template),
20
19
  marko_forOf = require("marko/src/runtime/helpers/for-of"),
21
- marko_web_node_footer_template = marko_loadTemplate(require.resolve("./footer.marko")),
20
+ marko_web_node_footer_template = require("./footer.marko"),
22
21
  marko_web_node_footer_tag = marko_loadTag(marko_web_node_footer_template);
23
22
 
24
23
  function render(input, out, __component, component, state) {
@@ -104,7 +103,7 @@ marko_template._ = marko_renderer(render, {
104
103
  });
105
104
 
106
105
  marko_template.meta = {
107
- id: "/@parameter1/base-cms-marko-web$1.49.0/components/node/body.marko",
106
+ id: "/@parameter1/base-cms-marko-web$2.98.0/components/node/body.marko",
108
107
  tags: [
109
108
  "./header.marko",
110
109
  "./element.marko",
@@ -2,11 +2,10 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/src/html").t(__filename),
5
- marko_componentType = "/@parameter1/base-cms-marko-web$1.49.0/components/node/element.marko",
5
+ marko_componentType = "/@parameter1/base-cms-marko-web$2.98.0/components/node/element.marko",
6
6
  marko_renderer = require("marko/src/runtime/components/renderer"),
7
7
  marko_assign = require("marko/src/runtime/helpers/assign"),
8
- marko_loadTemplate = require("marko/src/runtime/helpers/load-template"),
9
- marko_web_element_template = marko_loadTemplate(require.resolve("../element/index.marko")),
8
+ marko_web_element_template = require("../element"),
10
9
  marko_loadTag = require("marko/src/runtime/helpers/load-tag"),
11
10
  marko_web_element_tag = marko_loadTag(marko_web_element_template);
12
11
 
@@ -33,8 +32,8 @@ marko_template._ = marko_renderer(render, {
33
32
  });
34
33
 
35
34
  marko_template.meta = {
36
- id: "/@parameter1/base-cms-marko-web$1.49.0/components/node/element.marko",
35
+ id: "/@parameter1/base-cms-marko-web$2.98.0/components/node/element.marko",
37
36
  tags: [
38
- "../element/index.marko"
37
+ "../element"
39
38
  ]
40
39
  };
@@ -2,14 +2,13 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/src/html").t(__filename),
5
- marko_componentType = "/@parameter1/base-cms-marko-web$1.49.0/components/node/footer.marko",
5
+ marko_componentType = "/@parameter1/base-cms-marko-web$2.98.0/components/node/footer.marko",
6
6
  marko_renderer = require("marko/src/runtime/components/renderer"),
7
7
  module_baseCmsObjectPath_module = require("@parameter1/base-cms-object-path"),
8
8
  baseCmsObjectPath_module = module_baseCmsObjectPath_module.default || module_baseCmsObjectPath_module,
9
9
  getAsObject = module_baseCmsObjectPath_module.getAsObject,
10
10
  marko_assign = require("marko/src/runtime/helpers/assign"),
11
- marko_loadTemplate = require("marko/src/runtime/helpers/load-template"),
12
- marko_web_node_element_template = marko_loadTemplate(require.resolve("./element.marko")),
11
+ marko_web_node_element_template = require("./element.marko"),
13
12
  marko_loadTag = require("marko/src/runtime/helpers/load-tag"),
14
13
  marko_web_node_element_tag = marko_loadTag(marko_web_node_element_template);
15
14
 
@@ -57,7 +56,7 @@ marko_template._ = marko_renderer(render, {
57
56
  });
58
57
 
59
58
  marko_template.meta = {
60
- id: "/@parameter1/base-cms-marko-web$1.49.0/components/node/footer.marko",
59
+ id: "/@parameter1/base-cms-marko-web$2.98.0/components/node/footer.marko",
61
60
  tags: [
62
61
  "./element.marko"
63
62
  ]
@@ -2,14 +2,13 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/src/html").t(__filename),
5
- marko_componentType = "/@parameter1/base-cms-marko-web$1.49.0/components/node/header.marko",
5
+ marko_componentType = "/@parameter1/base-cms-marko-web$2.98.0/components/node/header.marko",
6
6
  marko_renderer = require("marko/src/runtime/components/renderer"),
7
7
  module_baseCmsObjectPath_module = require("@parameter1/base-cms-object-path"),
8
8
  baseCmsObjectPath_module = module_baseCmsObjectPath_module.default || module_baseCmsObjectPath_module,
9
9
  getAsObject = module_baseCmsObjectPath_module.getAsObject,
10
10
  marko_assign = require("marko/src/runtime/helpers/assign"),
11
- marko_loadTemplate = require("marko/src/runtime/helpers/load-template"),
12
- marko_web_node_element_template = marko_loadTemplate(require.resolve("./element.marko")),
11
+ marko_web_node_element_template = require("./element.marko"),
13
12
  marko_loadTag = require("marko/src/runtime/helpers/load-tag"),
14
13
  marko_web_node_element_tag = marko_loadTag(marko_web_node_element_template);
15
14
 
@@ -57,7 +56,7 @@ marko_template._ = marko_renderer(render, {
57
56
  });
58
57
 
59
58
  marko_template.meta = {
60
- id: "/@parameter1/base-cms-marko-web$1.49.0/components/node/header.marko",
59
+ id: "/@parameter1/base-cms-marko-web$2.98.0/components/node/header.marko",
61
60
  tags: [
62
61
  "./element.marko"
63
62
  ]
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/src/html").t(__filename),
5
- marko_componentType = "/@parameter1/base-cms-marko-web$1.49.0/components/node/image-inner-wrapper.marko",
5
+ marko_componentType = "/@parameter1/base-cms-marko-web$2.98.0/components/node/image-inner-wrapper.marko",
6
6
  marko_renderer = require("marko/src/runtime/components/renderer"),
7
7
  module_baseCmsObjectPath_module = require("@parameter1/base-cms-object-path"),
8
8
  baseCmsObjectPath_module = module_baseCmsObjectPath_module.default || module_baseCmsObjectPath_module,
@@ -13,11 +13,10 @@ var marko_template = module.exports = require("marko/src/html").t(__filename),
13
13
  module_imageHeight = require("./utils/image-height"),
14
14
  imageHeight = module_imageHeight.default || module_imageHeight,
15
15
  marko_assign = require("marko/src/runtime/helpers/assign"),
16
- marko_loadTemplate = require("marko/src/runtime/helpers/load-template"),
17
- marko_web_node_image_template = marko_loadTemplate(require.resolve("./image.marko")),
16
+ marko_web_node_image_template = require("./image.marko"),
18
17
  marko_loadTag = require("marko/src/runtime/helpers/load-tag"),
19
18
  marko_web_node_image_tag = marko_loadTag(marko_web_node_image_template),
20
- marko_web_link_template = marko_loadTemplate(require.resolve("../element/link.marko")),
19
+ marko_web_link_template = require("../element/link.marko"),
21
20
  marko_web_link_tag = marko_loadTag(marko_web_link_template),
22
21
  marko_mergeAttrs = require("marko/src/runtime/html/helpers/merge-attrs");
23
22
 
@@ -109,7 +108,7 @@ marko_template._ = marko_renderer(render, {
109
108
  });
110
109
 
111
110
  marko_template.meta = {
112
- id: "/@parameter1/base-cms-marko-web$1.49.0/components/node/image-inner-wrapper.marko",
111
+ id: "/@parameter1/base-cms-marko-web$2.98.0/components/node/image-inner-wrapper.marko",
113
112
  tags: [
114
113
  "./image.marko",
115
114
  "../element/link.marko"
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/src/html").t(__filename),
5
- marko_componentType = "/@parameter1/base-cms-marko-web$1.49.0/components/node/image-wrapper.marko",
5
+ marko_componentType = "/@parameter1/base-cms-marko-web$2.98.0/components/node/image-wrapper.marko",
6
6
  marko_renderer = require("marko/src/runtime/components/renderer"),
7
7
  module_baseCmsObjectPath_module = require("@parameter1/base-cms-object-path"),
8
8
  baseCmsObjectPath_module = module_baseCmsObjectPath_module.default || module_baseCmsObjectPath_module,
@@ -10,15 +10,14 @@ var marko_template = module.exports = require("marko/src/html").t(__filename),
10
10
  module_imageValues = require("./utils/image-values"),
11
11
  imageValues = module_imageValues.default || module_imageValues,
12
12
  marko_assign = require("marko/src/runtime/helpers/assign"),
13
- marko_loadTemplate = require("marko/src/runtime/helpers/load-template"),
14
- marko_web_node_image_inner_wrapper_template = marko_loadTemplate(require.resolve("./image-inner-wrapper.marko")),
13
+ marko_web_node_image_inner_wrapper_template = require("./image-inner-wrapper.marko"),
15
14
  marko_loadTag = require("marko/src/runtime/helpers/load-tag"),
16
15
  marko_web_node_image_inner_wrapper_tag = marko_loadTag(marko_web_node_image_inner_wrapper_template),
17
- marko_web_node_header_template = marko_loadTemplate(require.resolve("./header.marko")),
16
+ marko_web_node_header_template = require("./header.marko"),
18
17
  marko_web_node_header_tag = marko_loadTag(marko_web_node_header_template),
19
- marko_web_node_body_template = marko_loadTemplate(require.resolve("./body.marko")),
18
+ marko_web_node_body_template = require("./body.marko"),
20
19
  marko_web_node_body_tag = marko_loadTag(marko_web_node_body_template),
21
- marko_web_node_element_template = marko_loadTemplate(require.resolve("./element.marko")),
20
+ marko_web_node_element_template = require("./element.marko"),
22
21
  marko_web_node_element_tag = marko_loadTag(marko_web_node_element_template);
23
22
 
24
23
  function render(input, out, __component, component, state) {
@@ -89,7 +88,7 @@ marko_template._ = marko_renderer(render, {
89
88
  });
90
89
 
91
90
  marko_template.meta = {
92
- id: "/@parameter1/base-cms-marko-web$1.49.0/components/node/image-wrapper.marko",
91
+ id: "/@parameter1/base-cms-marko-web$2.98.0/components/node/image-wrapper.marko",
93
92
  tags: [
94
93
  "./image-inner-wrapper.marko",
95
94
  "./header.marko",
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/src/html").t(__filename),
5
- marko_componentType = "/@parameter1/base-cms-marko-web$1.49.0/components/node/image.marko",
5
+ marko_componentType = "/@parameter1/base-cms-marko-web$2.98.0/components/node/image.marko",
6
6
  marko_renderer = require("marko/src/runtime/components/renderer"),
7
7
  module_baseCmsImage_module = require("@parameter1/base-cms-image"),
8
8
  baseCmsImage_module = module_baseCmsImage_module.default || module_baseCmsImage_module,
@@ -10,8 +10,7 @@ var marko_template = module.exports = require("marko/src/html").t(__filename),
10
10
  module_baseCmsObjectPath_module = require("@parameter1/base-cms-object-path"),
11
11
  baseCmsObjectPath_module = module_baseCmsObjectPath_module.default || module_baseCmsObjectPath_module,
12
12
  get = module_baseCmsObjectPath_module.get,
13
- marko_loadTemplate = require("marko/src/runtime/helpers/load-template"),
14
- marko_web_img_template = marko_loadTemplate(require.resolve("../element/img.marko")),
13
+ marko_web_img_template = require("../element/img.marko"),
15
14
  marko_loadTag = require("marko/src/runtime/helpers/load-tag"),
16
15
  marko_web_img_tag = marko_loadTag(marko_web_img_template),
17
16
  marko_mergeAttrs = require("marko/src/runtime/html/helpers/merge-attrs");
@@ -71,7 +70,7 @@ marko_template._ = marko_renderer(render, {
71
70
  });
72
71
 
73
72
  marko_template.meta = {
74
- id: "/@parameter1/base-cms-marko-web$1.49.0/components/node/image.marko",
73
+ id: "/@parameter1/base-cms-marko-web$2.98.0/components/node/image.marko",
75
74
  tags: [
76
75
  "../element/img.marko"
77
76
  ]