@parameter1/base-cms-marko-web 3.4.0 → 3.7.2
Sign up to get free protection for your applications and to get access to all the features.
- package/middleware/disabled-features.js +15 -0
- package/package.json +2 -2
- package/start-server.js +3 -0
- package/components/browser-component.marko.js +0 -81
- package/components/document/components/body-wrapper.marko.js +0 -33
- package/components/document/components/error.marko.js +0 -85
- package/components/document/components/lazysizes.marko.js +0 -21
- package/components/document/components/live-reload.marko.js +0 -30
- package/components/document/components/polyfill.marko.js +0 -33
- package/components/document/container.marko.js +0 -54
- package/components/document/index.marko.js +0 -118
- package/components/element/array.marko.js +0 -67
- package/components/element/audio.marko.js +0 -33
- package/components/element/block.marko.js +0 -44
- package/components/element/clear.marko.js +0 -32
- package/components/element/components/image.marko.js +0 -57
- package/components/element/components/text.marko.js +0 -37
- package/components/element/content/address1.marko.js +0 -40
- package/components/element/content/address2.marko.js +0 -40
- package/components/element/content/audio.marko.js +0 -40
- package/components/element/content/authors.marko.js +0 -43
- package/components/element/content/body.marko.js +0 -62
- package/components/element/content/byline.marko.js +0 -41
- package/components/element/content/city-state-zip.marko.js +0 -40
- package/components/element/content/contributors.marko.js +0 -43
- package/components/element/content/country.marko.js +0 -40
- package/components/element/content/embed-code.marko.js +0 -41
- package/components/element/content/end-date.marko.js +0 -42
- package/components/element/content/ends.marko.js +0 -41
- package/components/element/content/fax.marko.js +0 -40
- package/components/element/content/images.marko.js +0 -44
- package/components/element/content/mobile.marko.js +0 -40
- package/components/element/content/name.marko.js +0 -41
- package/components/element/content/phone.marko.js +0 -40
- package/components/element/content/photographers.marko.js +0 -43
- package/components/element/content/public-email.marko.js +0 -47
- package/components/element/content/published.marko.js +0 -42
- package/components/element/content/short-name.marko.js +0 -41
- package/components/element/content/sidebars.marko.js +0 -63
- package/components/element/content/source.marko.js +0 -40
- package/components/element/content/sponsors.marko.js +0 -43
- package/components/element/content/start-date.marko.js +0 -42
- package/components/element/content/starts.marko.js +0 -41
- package/components/element/content/teaser.marko.js +0 -41
- package/components/element/content/title.marko.js +0 -40
- package/components/element/content/tollfree.marko.js +0 -40
- package/components/element/content/website.marko.js +0 -51
- package/components/element/date.marko.js +0 -27
- package/components/element/image/caption.marko.js +0 -41
- package/components/element/image/credit.marko.js +0 -41
- package/components/element/image/display-name.marko.js +0 -40
- package/components/element/img.marko.js +0 -43
- package/components/element/index.marko.js +0 -47
- package/components/element/link.marko.js +0 -54
- package/components/element/magazine-issue/description.marko.js +0 -41
- package/components/element/magazine-issue/digital-edition-url.marko.js +0 -52
- package/components/element/magazine-issue/name.marko.js +0 -41
- package/components/element/magazine-publication/description.marko.js +0 -41
- package/components/element/magazine-publication/einquiry-url.marko.js +0 -52
- package/components/element/magazine-publication/name.marko.js +0 -41
- package/components/element/magazine-publication/renewal-url.marko.js +0 -52
- package/components/element/magazine-publication/reprints-url.marko.js +0 -52
- package/components/element/magazine-publication/subscribe-url.marko.js +0 -52
- package/components/element/obj-array.marko.js +0 -56
- package/components/element/obj-audio.marko.js +0 -51
- package/components/element/obj-date.marko.js +0 -54
- package/components/element/obj-nodes.marko.js +0 -62
- package/components/element/obj-text.marko.js +0 -53
- package/components/element/obj.marko.js +0 -61
- package/components/element/picture.marko.js +0 -83
- package/components/element/text.marko.js +0 -76
- package/components/element/website-section/description.marko.js +0 -45
- package/components/element/website-section/hierarchy.marko.js +0 -61
- package/components/element/website-section/name.marko.js +0 -46
- package/components/load-more/index.marko.js +0 -119
- package/components/load-more/trigger.marko.js +0 -40
- package/components/node/body.marko.js +0 -112
- package/components/node/element.marko.js +0 -39
- package/components/node/footer.marko.js +0 -63
- package/components/node/header.marko.js +0 -63
- package/components/node/image-inner-wrapper.marko.js +0 -116
- package/components/node/image-wrapper.marko.js +0 -98
- package/components/node/image.marko.js +0 -77
- package/components/node/index.marko.js +0 -100
- package/components/node-list/body.marko.js +0 -50
- package/components/node-list/element.marko.js +0 -35
- package/components/node-list/footer.marko.js +0 -50
- package/components/node-list/header.marko.js +0 -50
- package/components/node-list/index.marko.js +0 -93
- package/components/node-list/node.marko.js +0 -49
- package/components/node-list/nodes.marko.js +0 -126
- package/components/page/container.marko.js +0 -46
- package/components/page/description.marko.js +0 -26
- package/components/page/image.marko.js +0 -122
- package/components/page/layouts/content.marko.js +0 -63
- package/components/page/layouts/default.marko.js +0 -61
- package/components/page/layouts/dynamic-page.marko.js +0 -59
- package/components/page/layouts/magazine-issue.marko.js +0 -59
- package/components/page/layouts/magazine-publication.marko.js +0 -59
- package/components/page/layouts/website-section.marko.js +0 -78
- package/components/page/metadata/components/common.marko.js +0 -108
- package/components/page/metadata/content.marko.js +0 -201
- package/components/page/metadata/default.marko.js +0 -29
- package/components/page/metadata/dynamic-page.marko.js +0 -83
- package/components/page/metadata/magazine-issue.marko.js +0 -84
- package/components/page/metadata/magazine-publication.marko.js +0 -80
- package/components/page/metadata/website-section.marko.js +0 -79
- package/components/page/rel-canonical.marko.js +0 -42
- package/components/page/title.marko.js +0 -46
- package/components/page/wrapper.marko.js +0 -63
- package/components/resolve/page.marko.js +0 -49
- package/components/rss/website-section.marko.js +0 -46
@@ -1,44 +0,0 @@
|
|
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$3.0.0/components/element/block.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_dynamicTag = require("marko/src/runtime/helpers/dynamic-tag"),
|
11
|
-
marko_assign = require("marko/src/runtime/helpers/assign");
|
12
|
-
|
13
|
-
function render(input, out, __component, component, state) {
|
14
|
-
var data = input;
|
15
|
-
|
16
|
-
const tag = input.tag || "div";
|
17
|
-
|
18
|
-
const blockName = input.name || "block";
|
19
|
-
|
20
|
-
const classNames = [blockName, ...getAsArray(input, "modifiers").map(mod => `${blockName}--${mod}`), input.class];
|
21
|
-
|
22
|
-
if (input.renderBody) {
|
23
|
-
marko_dynamicTag(out, tag, function() {
|
24
|
-
return marko_assign({}, input.attrs, {
|
25
|
-
class: classNames
|
26
|
-
});
|
27
|
-
}, function(out) {
|
28
|
-
marko_dynamicTag(out, input.renderBody, function() {
|
29
|
-
return {
|
30
|
-
"block-name": blockName
|
31
|
-
};
|
32
|
-
}, null, null, null, __component, "1");
|
33
|
-
}, null, null, __component, "0");
|
34
|
-
}
|
35
|
-
}
|
36
|
-
|
37
|
-
marko_template._ = marko_renderer(render, {
|
38
|
-
___implicit: true,
|
39
|
-
___type: marko_componentType
|
40
|
-
});
|
41
|
-
|
42
|
-
marko_template.meta = {
|
43
|
-
id: "/@parameter1/base-cms-marko-web$3.0.0/components/element/block.marko"
|
44
|
-
};
|
@@ -1,32 +0,0 @@
|
|
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$3.0.0/components/element/clear.marko",
|
6
|
-
marko_renderer = require("marko/src/runtime/components/renderer"),
|
7
|
-
marko_styleAttr = require("marko/src/runtime/html/helpers/style-attr");
|
8
|
-
|
9
|
-
function render(input, out, __component, component, state) {
|
10
|
-
var data = input;
|
11
|
-
|
12
|
-
const { value } = input;
|
13
|
-
|
14
|
-
if ([
|
15
|
-
"left",
|
16
|
-
"right",
|
17
|
-
"both"
|
18
|
-
].includes(value)) {
|
19
|
-
out.w("<div" +
|
20
|
-
marko_styleAttr(("clear: " + value) + ";") +
|
21
|
-
"></div>");
|
22
|
-
}
|
23
|
-
}
|
24
|
-
|
25
|
-
marko_template._ = marko_renderer(render, {
|
26
|
-
___implicit: true,
|
27
|
-
___type: marko_componentType
|
28
|
-
});
|
29
|
-
|
30
|
-
marko_template.meta = {
|
31
|
-
id: "/@parameter1/base-cms-marko-web$3.0.0/components/element/clear.marko"
|
32
|
-
};
|
@@ -1,57 +0,0 @@
|
|
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$3.0.0/components/element/components/image.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_mergeAttrs = require("marko/src/runtime/html/helpers/merge-attrs");
|
11
|
-
|
12
|
-
function render(input, out, __component, component, state) {
|
13
|
-
var data = input;
|
14
|
-
|
15
|
-
const { config } = out.global;
|
16
|
-
|
17
|
-
const { src, alt } = input;
|
18
|
-
|
19
|
-
const lazyload = config.lazyloadImages() && input.lazyload !== false
|
20
|
-
|
21
|
-
const srcset = getAsArray(input.srcset).join(", ") || null;
|
22
|
-
|
23
|
-
const classNames = [input.class];
|
24
|
-
|
25
|
-
if (lazyload) classNames.push("lazyload");
|
26
|
-
|
27
|
-
if (lazyload) {
|
28
|
-
out.w("<img" +
|
29
|
-
marko_mergeAttrs(input.attrs, {
|
30
|
-
src: "data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",
|
31
|
-
srcset: null,
|
32
|
-
"data-src": src,
|
33
|
-
"data-srcset": srcset,
|
34
|
-
class: classNames,
|
35
|
-
alt: alt
|
36
|
-
}) +
|
37
|
-
">");
|
38
|
-
} else {
|
39
|
-
out.w("<img" +
|
40
|
-
marko_mergeAttrs(input.attrs, {
|
41
|
-
src: src,
|
42
|
-
srcset: srcset,
|
43
|
-
class: classNames,
|
44
|
-
alt: alt
|
45
|
-
}) +
|
46
|
-
">");
|
47
|
-
}
|
48
|
-
}
|
49
|
-
|
50
|
-
marko_template._ = marko_renderer(render, {
|
51
|
-
___implicit: true,
|
52
|
-
___type: marko_componentType
|
53
|
-
});
|
54
|
-
|
55
|
-
marko_template.meta = {
|
56
|
-
id: "/@parameter1/base-cms-marko-web$3.0.0/components/element/components/image.marko"
|
57
|
-
};
|
@@ -1,37 +0,0 @@
|
|
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$3.0.0/components/element/components/text.marko",
|
6
|
-
marko_renderer = require("marko/src/runtime/components/renderer"),
|
7
|
-
marko_dynamicTag = require("marko/src/runtime/helpers/dynamic-tag"),
|
8
|
-
marko_str = require("marko/src/runtime/helpers/to-string"),
|
9
|
-
helpers_escape_xml = require("marko/src/runtime/html/helpers/escape-xml"),
|
10
|
-
marko_escapeXml = helpers_escape_xml.x;
|
11
|
-
|
12
|
-
function render(input, out, __component, component, state) {
|
13
|
-
var data = input;
|
14
|
-
|
15
|
-
const { value, renderBody, html } = input;
|
16
|
-
|
17
|
-
if (renderBody) {
|
18
|
-
marko_dynamicTag(out, renderBody, function() {
|
19
|
-
return {
|
20
|
-
value: value
|
21
|
-
};
|
22
|
-
}, null, null, null, __component, "0");
|
23
|
-
} else if (html) {
|
24
|
-
out.w(marko_str(value));
|
25
|
-
} else {
|
26
|
-
out.w(marko_escapeXml(value));
|
27
|
-
}
|
28
|
-
}
|
29
|
-
|
30
|
-
marko_template._ = marko_renderer(render, {
|
31
|
-
___implicit: true,
|
32
|
-
___type: marko_componentType
|
33
|
-
});
|
34
|
-
|
35
|
-
marko_template.meta = {
|
36
|
-
id: "/@parameter1/base-cms-marko-web$3.0.0/components/element/components/text.marko"
|
37
|
-
};
|
@@ -1,40 +0,0 @@
|
|
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$3.0.0/components/element/content/address1.marko",
|
6
|
-
marko_renderer = require("marko/src/runtime/components/renderer"),
|
7
|
-
module_extractRender = require("../extract-render"),
|
8
|
-
extractRender = module_extractRender.default || module_extractRender,
|
9
|
-
marko_assign = require("marko/src/runtime/helpers/assign"),
|
10
|
-
marko_web_obj_text_template = require("../obj-text.marko"),
|
11
|
-
marko_loadTag = require("marko/src/runtime/helpers/load-tag"),
|
12
|
-
marko_web_obj_text_tag = marko_loadTag(marko_web_obj_text_template);
|
13
|
-
|
14
|
-
function render(input, out, __component, component, state) {
|
15
|
-
var data = input;
|
16
|
-
|
17
|
-
marko_web_obj_text_tag(marko_assign({
|
18
|
-
type: "content",
|
19
|
-
blockName: input.blockName,
|
20
|
-
obj: input.obj,
|
21
|
-
field: "address1",
|
22
|
-
tag: input.tag,
|
23
|
-
class: input.class,
|
24
|
-
modifiers: input.modifiers,
|
25
|
-
attrs: input.attrs,
|
26
|
-
link: input.link
|
27
|
-
}, extractRender(input)), out, __component, "0");
|
28
|
-
}
|
29
|
-
|
30
|
-
marko_template._ = marko_renderer(render, {
|
31
|
-
___implicit: true,
|
32
|
-
___type: marko_componentType
|
33
|
-
});
|
34
|
-
|
35
|
-
marko_template.meta = {
|
36
|
-
id: "/@parameter1/base-cms-marko-web$3.0.0/components/element/content/address1.marko",
|
37
|
-
tags: [
|
38
|
-
"../obj-text.marko"
|
39
|
-
]
|
40
|
-
};
|
@@ -1,40 +0,0 @@
|
|
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$3.0.0/components/element/content/address2.marko",
|
6
|
-
marko_renderer = require("marko/src/runtime/components/renderer"),
|
7
|
-
module_extractRender = require("../extract-render"),
|
8
|
-
extractRender = module_extractRender.default || module_extractRender,
|
9
|
-
marko_assign = require("marko/src/runtime/helpers/assign"),
|
10
|
-
marko_web_obj_text_template = require("../obj-text.marko"),
|
11
|
-
marko_loadTag = require("marko/src/runtime/helpers/load-tag"),
|
12
|
-
marko_web_obj_text_tag = marko_loadTag(marko_web_obj_text_template);
|
13
|
-
|
14
|
-
function render(input, out, __component, component, state) {
|
15
|
-
var data = input;
|
16
|
-
|
17
|
-
marko_web_obj_text_tag(marko_assign({
|
18
|
-
type: "content",
|
19
|
-
blockName: input.blockName,
|
20
|
-
obj: input.obj,
|
21
|
-
field: "address2",
|
22
|
-
tag: input.tag,
|
23
|
-
class: input.class,
|
24
|
-
modifiers: input.modifiers,
|
25
|
-
attrs: input.attrs,
|
26
|
-
link: input.link
|
27
|
-
}, extractRender(input)), out, __component, "0");
|
28
|
-
}
|
29
|
-
|
30
|
-
marko_template._ = marko_renderer(render, {
|
31
|
-
___implicit: true,
|
32
|
-
___type: marko_componentType
|
33
|
-
});
|
34
|
-
|
35
|
-
marko_template.meta = {
|
36
|
-
id: "/@parameter1/base-cms-marko-web$3.0.0/components/element/content/address2.marko",
|
37
|
-
tags: [
|
38
|
-
"../obj-text.marko"
|
39
|
-
]
|
40
|
-
};
|
@@ -1,40 +0,0 @@
|
|
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$1.49.0/components/element/content/audio.marko",
|
6
|
-
marko_renderer = require("marko/src/runtime/components/renderer"),
|
7
|
-
module_extractRender = require("../extract-render"),
|
8
|
-
extractRender = module_extractRender.default || module_extractRender,
|
9
|
-
marko_assign = require("marko/src/runtime/helpers/assign"),
|
10
|
-
marko_loadTemplate = require("marko/src/runtime/helpers/load-template"),
|
11
|
-
marko_web_obj_audio_template = marko_loadTemplate(require.resolve("../obj-audio.marko")),
|
12
|
-
marko_loadTag = require("marko/src/runtime/helpers/load-tag"),
|
13
|
-
marko_web_obj_audio_tag = marko_loadTag(marko_web_obj_audio_template);
|
14
|
-
|
15
|
-
function render(input, out, __component, component, state) {
|
16
|
-
var data = input;
|
17
|
-
|
18
|
-
marko_web_obj_audio_tag(marko_assign({
|
19
|
-
type: "content",
|
20
|
-
blockName: input.blockName,
|
21
|
-
obj: input.obj,
|
22
|
-
field: "fileSrc",
|
23
|
-
tag: input.tag,
|
24
|
-
class: input.class,
|
25
|
-
modifiers: input.modifiers,
|
26
|
-
attrs: input.attrs
|
27
|
-
}, extractRender(input)), out, __component, "0");
|
28
|
-
}
|
29
|
-
|
30
|
-
marko_template._ = marko_renderer(render, {
|
31
|
-
___implicit: true,
|
32
|
-
___type: marko_componentType
|
33
|
-
});
|
34
|
-
|
35
|
-
marko_template.meta = {
|
36
|
-
id: "/@parameter1/base-cms-marko-web$1.49.0/components/element/content/audio.marko",
|
37
|
-
tags: [
|
38
|
-
"../obj-audio.marko"
|
39
|
-
]
|
40
|
-
};
|
@@ -1,43 +0,0 @@
|
|
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$3.0.0/components/element/content/authors.marko",
|
6
|
-
marko_component = require("./authors.marko"),
|
7
|
-
marko_renderer = require("marko/src/runtime/components/renderer"),
|
8
|
-
marko_dynamicTag = require("marko/src/runtime/helpers/dynamic-tag"),
|
9
|
-
marko_web_obj_nodes_template = require("../obj-nodes.marko"),
|
10
|
-
marko_loadTag = require("marko/src/runtime/helpers/load-tag"),
|
11
|
-
marko_web_obj_nodes_tag = marko_loadTag(marko_web_obj_nodes_template);
|
12
|
-
|
13
|
-
function render(input, out, __component, component, state) {
|
14
|
-
var data = input;
|
15
|
-
|
16
|
-
marko_web_obj_nodes_tag({
|
17
|
-
type: "content",
|
18
|
-
blockName: input.blockName,
|
19
|
-
obj: input.obj,
|
20
|
-
field: "authors",
|
21
|
-
tag: input.tag,
|
22
|
-
class: input.class,
|
23
|
-
modifiers: input.modifiers,
|
24
|
-
attrs: input.attrs,
|
25
|
-
renderBody: function(out, result) {
|
26
|
-
marko_dynamicTag(out, input.renderBody, function() {
|
27
|
-
return result;
|
28
|
-
}, null, null, null, __component, "1");
|
29
|
-
}
|
30
|
-
}, out, __component, "0");
|
31
|
-
}
|
32
|
-
|
33
|
-
marko_template._ = marko_renderer(render, {
|
34
|
-
___type: marko_componentType
|
35
|
-
}, marko_component);
|
36
|
-
|
37
|
-
marko_template.meta = {
|
38
|
-
id: "/@parameter1/base-cms-marko-web$3.0.0/components/element/content/authors.marko",
|
39
|
-
component: "./authors.marko",
|
40
|
-
tags: [
|
41
|
-
"../obj-nodes.marko"
|
42
|
-
]
|
43
|
-
};
|
@@ -1,62 +0,0 @@
|
|
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$3.0.0/components/element/content/body.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
|
-
get = module_baseCmsObjectPath_module.get,
|
10
|
-
getAsObject = module_baseCmsObjectPath_module.getAsObject,
|
11
|
-
module_extractRender = require("../extract-render"),
|
12
|
-
extractRender = module_extractRender.default || module_extractRender,
|
13
|
-
marko_assign = require("marko/src/runtime/helpers/assign"),
|
14
|
-
marko_web_obj_text_template = require("../obj-text.marko"),
|
15
|
-
marko_loadTag = require("marko/src/runtime/helpers/load-tag"),
|
16
|
-
marko_web_obj_text_tag = marko_loadTag(marko_web_obj_text_template),
|
17
|
-
marko_web_clear_template = require("../clear.marko"),
|
18
|
-
marko_web_clear_tag = marko_loadTag(marko_web_clear_template);
|
19
|
-
|
20
|
-
function render(input, out, __component, component, state) {
|
21
|
-
var data = input;
|
22
|
-
|
23
|
-
const { parseEmbeddedMedia, res } = out.global;
|
24
|
-
|
25
|
-
const body = get(input.obj, "body");
|
26
|
-
|
27
|
-
const v = body == null ? "" : `${body}`.trim();
|
28
|
-
|
29
|
-
const embedOptions = getAsObject(input, "embedOptions")
|
30
|
-
|
31
|
-
const obj = { body: parseEmbeddedMedia(v, res, embedOptions) };
|
32
|
-
|
33
|
-
marko_web_obj_text_tag(marko_assign({
|
34
|
-
type: "content",
|
35
|
-
blockName: input.blockName,
|
36
|
-
obj: obj,
|
37
|
-
field: "body",
|
38
|
-
html: true,
|
39
|
-
tag: input.tag,
|
40
|
-
class: input.class,
|
41
|
-
modifiers: input.modifiers,
|
42
|
-
attrs: input.attrs,
|
43
|
-
link: input.link
|
44
|
-
}, extractRender(input)), out, __component, "0");
|
45
|
-
|
46
|
-
marko_web_clear_tag({
|
47
|
-
value: "both"
|
48
|
-
}, out, __component, "1");
|
49
|
-
}
|
50
|
-
|
51
|
-
marko_template._ = marko_renderer(render, {
|
52
|
-
___implicit: true,
|
53
|
-
___type: marko_componentType
|
54
|
-
});
|
55
|
-
|
56
|
-
marko_template.meta = {
|
57
|
-
id: "/@parameter1/base-cms-marko-web$3.0.0/components/element/content/body.marko",
|
58
|
-
tags: [
|
59
|
-
"../obj-text.marko",
|
60
|
-
"../clear.marko"
|
61
|
-
]
|
62
|
-
};
|
@@ -1,41 +0,0 @@
|
|
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$3.0.0/components/element/content/byline.marko",
|
6
|
-
marko_renderer = require("marko/src/runtime/components/renderer"),
|
7
|
-
module_extractRender = require("../extract-render"),
|
8
|
-
extractRender = module_extractRender.default || module_extractRender,
|
9
|
-
marko_assign = require("marko/src/runtime/helpers/assign"),
|
10
|
-
marko_web_obj_text_template = require("../obj-text.marko"),
|
11
|
-
marko_loadTag = require("marko/src/runtime/helpers/load-tag"),
|
12
|
-
marko_web_obj_text_tag = marko_loadTag(marko_web_obj_text_template);
|
13
|
-
|
14
|
-
function render(input, out, __component, component, state) {
|
15
|
-
var data = input;
|
16
|
-
|
17
|
-
marko_web_obj_text_tag(marko_assign({
|
18
|
-
type: "content",
|
19
|
-
blockName: input.blockName,
|
20
|
-
obj: input.obj,
|
21
|
-
field: "byline",
|
22
|
-
tag: input.tag,
|
23
|
-
class: input.class,
|
24
|
-
modifiers: input.modifiers,
|
25
|
-
attrs: input.attrs,
|
26
|
-
link: input.link,
|
27
|
-
html: true
|
28
|
-
}, extractRender(input)), out, __component, "0");
|
29
|
-
}
|
30
|
-
|
31
|
-
marko_template._ = marko_renderer(render, {
|
32
|
-
___implicit: true,
|
33
|
-
___type: marko_componentType
|
34
|
-
});
|
35
|
-
|
36
|
-
marko_template.meta = {
|
37
|
-
id: "/@parameter1/base-cms-marko-web$3.0.0/components/element/content/byline.marko",
|
38
|
-
tags: [
|
39
|
-
"../obj-text.marko"
|
40
|
-
]
|
41
|
-
};
|
@@ -1,40 +0,0 @@
|
|
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$3.0.0/components/element/content/city-state-zip.marko",
|
6
|
-
marko_renderer = require("marko/src/runtime/components/renderer"),
|
7
|
-
module_extractRender = require("../extract-render"),
|
8
|
-
extractRender = module_extractRender.default || module_extractRender,
|
9
|
-
marko_assign = require("marko/src/runtime/helpers/assign"),
|
10
|
-
marko_web_obj_text_template = require("../obj-text.marko"),
|
11
|
-
marko_loadTag = require("marko/src/runtime/helpers/load-tag"),
|
12
|
-
marko_web_obj_text_tag = marko_loadTag(marko_web_obj_text_template);
|
13
|
-
|
14
|
-
function render(input, out, __component, component, state) {
|
15
|
-
var data = input;
|
16
|
-
|
17
|
-
marko_web_obj_text_tag(marko_assign({
|
18
|
-
type: "content",
|
19
|
-
blockName: input.blockName,
|
20
|
-
obj: input.obj,
|
21
|
-
field: "cityStateZip",
|
22
|
-
tag: input.tag,
|
23
|
-
class: input.class,
|
24
|
-
modifiers: input.modifiers,
|
25
|
-
attrs: input.attrs,
|
26
|
-
link: input.link
|
27
|
-
}, extractRender(input)), out, __component, "0");
|
28
|
-
}
|
29
|
-
|
30
|
-
marko_template._ = marko_renderer(render, {
|
31
|
-
___implicit: true,
|
32
|
-
___type: marko_componentType
|
33
|
-
});
|
34
|
-
|
35
|
-
marko_template.meta = {
|
36
|
-
id: "/@parameter1/base-cms-marko-web$3.0.0/components/element/content/city-state-zip.marko",
|
37
|
-
tags: [
|
38
|
-
"../obj-text.marko"
|
39
|
-
]
|
40
|
-
};
|
@@ -1,43 +0,0 @@
|
|
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$3.0.0/components/element/content/contributors.marko",
|
6
|
-
marko_component = require("./contributors.marko"),
|
7
|
-
marko_renderer = require("marko/src/runtime/components/renderer"),
|
8
|
-
marko_dynamicTag = require("marko/src/runtime/helpers/dynamic-tag"),
|
9
|
-
marko_web_obj_nodes_template = require("../obj-nodes.marko"),
|
10
|
-
marko_loadTag = require("marko/src/runtime/helpers/load-tag"),
|
11
|
-
marko_web_obj_nodes_tag = marko_loadTag(marko_web_obj_nodes_template);
|
12
|
-
|
13
|
-
function render(input, out, __component, component, state) {
|
14
|
-
var data = input;
|
15
|
-
|
16
|
-
marko_web_obj_nodes_tag({
|
17
|
-
type: "content",
|
18
|
-
blockName: input.blockName,
|
19
|
-
obj: input.obj,
|
20
|
-
field: "contributors",
|
21
|
-
tag: input.tag,
|
22
|
-
class: input.class,
|
23
|
-
modifiers: input.modifiers,
|
24
|
-
attrs: input.attrs,
|
25
|
-
renderBody: function(out, result) {
|
26
|
-
marko_dynamicTag(out, input.renderBody, function() {
|
27
|
-
return result;
|
28
|
-
}, null, null, null, __component, "1");
|
29
|
-
}
|
30
|
-
}, out, __component, "0");
|
31
|
-
}
|
32
|
-
|
33
|
-
marko_template._ = marko_renderer(render, {
|
34
|
-
___type: marko_componentType
|
35
|
-
}, marko_component);
|
36
|
-
|
37
|
-
marko_template.meta = {
|
38
|
-
id: "/@parameter1/base-cms-marko-web$3.0.0/components/element/content/contributors.marko",
|
39
|
-
component: "./contributors.marko",
|
40
|
-
tags: [
|
41
|
-
"../obj-nodes.marko"
|
42
|
-
]
|
43
|
-
};
|
@@ -1,40 +0,0 @@
|
|
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$3.0.0/components/element/content/country.marko",
|
6
|
-
marko_renderer = require("marko/src/runtime/components/renderer"),
|
7
|
-
module_extractRender = require("../extract-render"),
|
8
|
-
extractRender = module_extractRender.default || module_extractRender,
|
9
|
-
marko_assign = require("marko/src/runtime/helpers/assign"),
|
10
|
-
marko_web_obj_text_template = require("../obj-text.marko"),
|
11
|
-
marko_loadTag = require("marko/src/runtime/helpers/load-tag"),
|
12
|
-
marko_web_obj_text_tag = marko_loadTag(marko_web_obj_text_template);
|
13
|
-
|
14
|
-
function render(input, out, __component, component, state) {
|
15
|
-
var data = input;
|
16
|
-
|
17
|
-
marko_web_obj_text_tag(marko_assign({
|
18
|
-
type: "content",
|
19
|
-
blockName: input.blockName,
|
20
|
-
obj: input.obj,
|
21
|
-
field: "country",
|
22
|
-
tag: input.tag,
|
23
|
-
class: input.class,
|
24
|
-
modifiers: input.modifiers,
|
25
|
-
attrs: input.attrs,
|
26
|
-
link: input.link
|
27
|
-
}, extractRender(input)), out, __component, "0");
|
28
|
-
}
|
29
|
-
|
30
|
-
marko_template._ = marko_renderer(render, {
|
31
|
-
___implicit: true,
|
32
|
-
___type: marko_componentType
|
33
|
-
});
|
34
|
-
|
35
|
-
marko_template.meta = {
|
36
|
-
id: "/@parameter1/base-cms-marko-web$3.0.0/components/element/content/country.marko",
|
37
|
-
tags: [
|
38
|
-
"../obj-text.marko"
|
39
|
-
]
|
40
|
-
};
|
@@ -1,41 +0,0 @@
|
|
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$3.0.0/components/element/content/embed-code.marko",
|
6
|
-
marko_renderer = require("marko/src/runtime/components/renderer"),
|
7
|
-
module_extractRender = require("../extract-render"),
|
8
|
-
extractRender = module_extractRender.default || module_extractRender,
|
9
|
-
marko_assign = require("marko/src/runtime/helpers/assign"),
|
10
|
-
marko_web_obj_text_template = require("../obj-text.marko"),
|
11
|
-
marko_loadTag = require("marko/src/runtime/helpers/load-tag"),
|
12
|
-
marko_web_obj_text_tag = marko_loadTag(marko_web_obj_text_template);
|
13
|
-
|
14
|
-
function render(input, out, __component, component, state) {
|
15
|
-
var data = input;
|
16
|
-
|
17
|
-
marko_web_obj_text_tag(marko_assign({
|
18
|
-
type: "content",
|
19
|
-
blockName: input.blockName,
|
20
|
-
obj: input.obj,
|
21
|
-
field: "embedCode",
|
22
|
-
html: true,
|
23
|
-
tag: input.tag,
|
24
|
-
class: input.class,
|
25
|
-
modifiers: input.modifiers,
|
26
|
-
attrs: input.attrs,
|
27
|
-
link: input.link
|
28
|
-
}, extractRender(input)), out, __component, "0");
|
29
|
-
}
|
30
|
-
|
31
|
-
marko_template._ = marko_renderer(render, {
|
32
|
-
___implicit: true,
|
33
|
-
___type: marko_componentType
|
34
|
-
});
|
35
|
-
|
36
|
-
marko_template.meta = {
|
37
|
-
id: "/@parameter1/base-cms-marko-web$3.0.0/components/element/content/embed-code.marko",
|
38
|
-
tags: [
|
39
|
-
"../obj-text.marko"
|
40
|
-
]
|
41
|
-
};
|
@@ -1,42 +0,0 @@
|
|
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$3.0.0/components/element/content/end-date.marko",
|
6
|
-
marko_renderer = require("marko/src/runtime/components/renderer"),
|
7
|
-
module_extractRender = require("../extract-render"),
|
8
|
-
extractRender = module_extractRender.default || module_extractRender,
|
9
|
-
marko_assign = require("marko/src/runtime/helpers/assign"),
|
10
|
-
marko_web_obj_date_template = require("../obj-date.marko"),
|
11
|
-
marko_loadTag = require("marko/src/runtime/helpers/load-tag"),
|
12
|
-
marko_web_obj_date_tag = marko_loadTag(marko_web_obj_date_template);
|
13
|
-
|
14
|
-
function render(input, out, __component, component, state) {
|
15
|
-
var data = input;
|
16
|
-
|
17
|
-
marko_web_obj_date_tag(marko_assign({
|
18
|
-
type: "content",
|
19
|
-
blockName: input.blockName,
|
20
|
-
obj: input.obj,
|
21
|
-
field: "endDate",
|
22
|
-
format: input.format,
|
23
|
-
locale: input.locale,
|
24
|
-
tag: input.tag,
|
25
|
-
class: input.class,
|
26
|
-
modifiers: input.modifiers,
|
27
|
-
attrs: input.attrs,
|
28
|
-
link: input.link
|
29
|
-
}, extractRender(input)), out, __component, "0");
|
30
|
-
}
|
31
|
-
|
32
|
-
marko_template._ = marko_renderer(render, {
|
33
|
-
___implicit: true,
|
34
|
-
___type: marko_componentType
|
35
|
-
});
|
36
|
-
|
37
|
-
marko_template.meta = {
|
38
|
-
id: "/@parameter1/base-cms-marko-web$3.0.0/components/element/content/end-date.marko",
|
39
|
-
tags: [
|
40
|
-
"../obj-date.marko"
|
41
|
-
]
|
42
|
-
};
|