@parameter1/base-cms-marko-web 3.3.0 → 3.3.1
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +3 -3
- 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,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/title.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: "title",
|
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/title.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/tollfree.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: "tollfree",
|
22
|
-
tag: input.tag || "tel",
|
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/tollfree.marko",
|
37
|
-
tags: [
|
38
|
-
"../obj-text.marko"
|
39
|
-
]
|
40
|
-
};
|
@@ -1,51 +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/website.marko",
|
6
|
-
marko_renderer = require("marko/src/runtime/components/renderer"),
|
7
|
-
module_baseCmsUtils_module = require("@parameter1/base-cms-utils"),
|
8
|
-
baseCmsUtils_module = module_baseCmsUtils_module.default || module_baseCmsUtils_module,
|
9
|
-
isObject = module_baseCmsUtils_module.isObject,
|
10
|
-
module_extractRender = require("../extract-render"),
|
11
|
-
extractRender = module_extractRender.default || module_extractRender,
|
12
|
-
marko_assign = require("marko/src/runtime/helpers/assign"),
|
13
|
-
marko_web_obj_text_template = require("../obj-text.marko"),
|
14
|
-
marko_loadTag = require("marko/src/runtime/helpers/load-tag"),
|
15
|
-
marko_web_obj_text_tag = marko_loadTag(marko_web_obj_text_template);
|
16
|
-
|
17
|
-
function render(input, out, __component, component, state) {
|
18
|
-
var data = input;
|
19
|
-
|
20
|
-
const linkInput = { field: "website", target: "_blank" };
|
21
|
-
|
22
|
-
if (input.link === true) {
|
23
|
-
input.link = linkInput;
|
24
|
-
} else if (isObject(input.link)) {
|
25
|
-
input.link = { ...input.link, ...linkInput };
|
26
|
-
}
|
27
|
-
|
28
|
-
marko_web_obj_text_tag(marko_assign({
|
29
|
-
type: "content",
|
30
|
-
blockName: input.blockName,
|
31
|
-
obj: input.obj,
|
32
|
-
field: "website",
|
33
|
-
tag: input.tag,
|
34
|
-
class: input.class,
|
35
|
-
modifiers: input.modifiers,
|
36
|
-
attrs: input.attrs,
|
37
|
-
link: input.link
|
38
|
-
}, extractRender(input)), out, __component, "0");
|
39
|
-
}
|
40
|
-
|
41
|
-
marko_template._ = marko_renderer(render, {
|
42
|
-
___implicit: true,
|
43
|
-
___type: marko_componentType
|
44
|
-
});
|
45
|
-
|
46
|
-
marko_template.meta = {
|
47
|
-
id: "/@parameter1/base-cms-marko-web$3.0.0/components/element/content/website.marko",
|
48
|
-
tags: [
|
49
|
-
"../obj-text.marko"
|
50
|
-
]
|
51
|
-
};
|
@@ -1,27 +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/date.marko",
|
6
|
-
marko_renderer = require("marko/src/runtime/components/renderer"),
|
7
|
-
marko_core_date_template = require("@parameter1/base-cms-marko-core/components/elements/date.marko"),
|
8
|
-
marko_loadTag = require("marko/src/runtime/helpers/load-tag"),
|
9
|
-
marko_core_date_tag = marko_loadTag(marko_core_date_template);
|
10
|
-
|
11
|
-
function render(input, out, __component, component, state) {
|
12
|
-
var data = input;
|
13
|
-
|
14
|
-
marko_core_date_tag(input, out, __component, "0");
|
15
|
-
}
|
16
|
-
|
17
|
-
marko_template._ = marko_renderer(render, {
|
18
|
-
___implicit: true,
|
19
|
-
___type: marko_componentType
|
20
|
-
});
|
21
|
-
|
22
|
-
marko_template.meta = {
|
23
|
-
id: "/@parameter1/base-cms-marko-web$3.0.0/components/element/date.marko",
|
24
|
-
tags: [
|
25
|
-
"@parameter1/base-cms-marko-core/components/elements/date.marko"
|
26
|
-
]
|
27
|
-
};
|
@@ -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/image/caption.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: "image",
|
19
|
-
blockName: input.blockName,
|
20
|
-
obj: input.obj,
|
21
|
-
field: "caption",
|
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/image/caption.marko",
|
38
|
-
tags: [
|
39
|
-
"../obj-text.marko"
|
40
|
-
]
|
41
|
-
};
|
@@ -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/image/credit.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: "image",
|
19
|
-
blockName: input.blockName,
|
20
|
-
obj: input.obj,
|
21
|
-
field: "credit",
|
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/image/credit.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/image/display-name.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: "image",
|
19
|
-
blockName: input.blockName,
|
20
|
-
obj: input.obj,
|
21
|
-
field: "displayName",
|
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/image/display-name.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/img.marko",
|
6
|
-
marko_renderer = require("marko/src/runtime/components/renderer"),
|
7
|
-
image_template = require("./components/image.marko"),
|
8
|
-
marko_loadTag = require("marko/src/runtime/helpers/load-tag"),
|
9
|
-
image_tag = marko_loadTag(image_template),
|
10
|
-
marko_assign = require("marko/src/runtime/helpers/assign"),
|
11
|
-
marko_web_link_template = require("./link.marko"),
|
12
|
-
marko_web_link_tag = marko_loadTag(marko_web_link_template);
|
13
|
-
|
14
|
-
function render(input, out, __component, component, state) {
|
15
|
-
var data = input;
|
16
|
-
|
17
|
-
const hasImage = Boolean(input.src);
|
18
|
-
|
19
|
-
if (hasImage) {
|
20
|
-
if (input.link) {
|
21
|
-
marko_web_link_tag(marko_assign({}, input.link, {
|
22
|
-
renderBody: function(out) {
|
23
|
-
image_tag(input, out, __component, "1");
|
24
|
-
}
|
25
|
-
}), out, __component, "0");
|
26
|
-
} else {
|
27
|
-
image_tag(input, out, __component, "2");
|
28
|
-
}
|
29
|
-
}
|
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/img.marko",
|
39
|
-
tags: [
|
40
|
-
"./components/image.marko",
|
41
|
-
"./link.marko"
|
42
|
-
]
|
43
|
-
};
|
@@ -1,47 +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/index.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 block = input.blockName || "element";
|
19
|
-
|
20
|
-
const element = `${block}__${input.name || "default"}`;
|
21
|
-
|
22
|
-
const classNames = [element, ...getAsArray(input, "modifiers").map(mod => `${element}--${mod}`), input.class];
|
23
|
-
|
24
|
-
if (input.renderBody) {
|
25
|
-
marko_dynamicTag(out, tag, function() {
|
26
|
-
return marko_assign({}, input.attrs, {
|
27
|
-
class: classNames
|
28
|
-
});
|
29
|
-
}, function(out) {
|
30
|
-
marko_dynamicTag(out, input.renderBody, function() {
|
31
|
-
return {
|
32
|
-
"block-name": block,
|
33
|
-
"element-name": element
|
34
|
-
};
|
35
|
-
}, null, null, null, __component, "1");
|
36
|
-
}, null, null, __component, "0");
|
37
|
-
}
|
38
|
-
}
|
39
|
-
|
40
|
-
marko_template._ = marko_renderer(render, {
|
41
|
-
___implicit: true,
|
42
|
-
___type: marko_componentType
|
43
|
-
});
|
44
|
-
|
45
|
-
marko_template.meta = {
|
46
|
-
id: "/@parameter1/base-cms-marko-web$3.0.0/components/element/index.marko"
|
47
|
-
};
|
@@ -1,54 +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/link.marko",
|
6
|
-
marko_renderer = require("marko/src/runtime/components/renderer"),
|
7
|
-
marko_dynamicTag = require("marko/src/runtime/helpers/dynamic-tag"),
|
8
|
-
marko_mergeAttrs = require("marko/src/runtime/html/helpers/merge-attrs");
|
9
|
-
|
10
|
-
function render(input, out, __component, component, state) {
|
11
|
-
var data = input;
|
12
|
-
|
13
|
-
const { href, target } = input;
|
14
|
-
|
15
|
-
const classNames = input.class;
|
16
|
-
|
17
|
-
const hasHref = Boolean(href);
|
18
|
-
|
19
|
-
const rels = [];
|
20
|
-
|
21
|
-
if (input.rel) rels.push(input.rel);
|
22
|
-
|
23
|
-
if (target === "_blank") rels.push("noopener");
|
24
|
-
|
25
|
-
const rel = rels.length ? rels.join(" ") : null;
|
26
|
-
|
27
|
-
if (hasHref) {
|
28
|
-
out.w("<a" +
|
29
|
-
marko_mergeAttrs({
|
30
|
-
rel: rel
|
31
|
-
}, input.attrs, {
|
32
|
-
href: href,
|
33
|
-
title: input.title,
|
34
|
-
target: target,
|
35
|
-
class: classNames
|
36
|
-
}) +
|
37
|
-
">");
|
38
|
-
|
39
|
-
marko_dynamicTag(out, input.renderBody, null, null, null, null, __component, "1");
|
40
|
-
|
41
|
-
out.w("</a>");
|
42
|
-
} else {
|
43
|
-
marko_dynamicTag(out, input.renderBody, null, null, null, null, __component, "2");
|
44
|
-
}
|
45
|
-
}
|
46
|
-
|
47
|
-
marko_template._ = marko_renderer(render, {
|
48
|
-
___implicit: true,
|
49
|
-
___type: marko_componentType
|
50
|
-
});
|
51
|
-
|
52
|
-
marko_template.meta = {
|
53
|
-
id: "/@parameter1/base-cms-marko-web$3.0.0/components/element/link.marko"
|
54
|
-
};
|
@@ -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$1.49.0/components/element/magazine-issue/description.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_text_template = marko_loadTemplate(require.resolve("../obj-text.marko")),
|
12
|
-
marko_loadTag = require("marko/src/runtime/helpers/load-tag"),
|
13
|
-
marko_web_obj_text_tag = marko_loadTag(marko_web_obj_text_template);
|
14
|
-
|
15
|
-
function render(input, out, __component, component, state) {
|
16
|
-
var data = input;
|
17
|
-
|
18
|
-
marko_web_obj_text_tag(marko_assign({
|
19
|
-
type: "magazine-issue",
|
20
|
-
blockName: input.blockName,
|
21
|
-
obj: input.obj,
|
22
|
-
field: "description",
|
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$1.49.0/components/element/magazine-issue/description.marko",
|
38
|
-
tags: [
|
39
|
-
"../obj-text.marko"
|
40
|
-
]
|
41
|
-
};
|
@@ -1,52 +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/magazine-issue/digital-edition-url.marko",
|
6
|
-
marko_renderer = require("marko/src/runtime/components/renderer"),
|
7
|
-
module_baseCmsUtils_module = require("@parameter1/base-cms-utils"),
|
8
|
-
baseCmsUtils_module = module_baseCmsUtils_module.default || module_baseCmsUtils_module,
|
9
|
-
isObject = module_baseCmsUtils_module.isObject,
|
10
|
-
module_extractRender = require("../extract-render"),
|
11
|
-
extractRender = module_extractRender.default || module_extractRender,
|
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")),
|
15
|
-
marko_loadTag = require("marko/src/runtime/helpers/load-tag"),
|
16
|
-
marko_web_obj_text_tag = marko_loadTag(marko_web_obj_text_template);
|
17
|
-
|
18
|
-
function render(input, out, __component, component, state) {
|
19
|
-
var data = input;
|
20
|
-
|
21
|
-
const linkInput = { field: "digitalEditionUrl" };
|
22
|
-
|
23
|
-
if (input.link === true) {
|
24
|
-
input.link = linkInput;
|
25
|
-
} else if (isObject(input.link)) {
|
26
|
-
input.link = { ...input.link, ...linkInput };
|
27
|
-
}
|
28
|
-
|
29
|
-
marko_web_obj_text_tag(marko_assign({
|
30
|
-
type: "magazine-issue",
|
31
|
-
blockName: input.blockName,
|
32
|
-
obj: input.obj,
|
33
|
-
field: "digitalEditionUrl",
|
34
|
-
tag: input.tag,
|
35
|
-
class: input.class,
|
36
|
-
modifiers: input.modifiers,
|
37
|
-
attrs: input.attrs,
|
38
|
-
link: input.link
|
39
|
-
}, extractRender(input)), out, __component, "0");
|
40
|
-
}
|
41
|
-
|
42
|
-
marko_template._ = marko_renderer(render, {
|
43
|
-
___implicit: true,
|
44
|
-
___type: marko_componentType
|
45
|
-
});
|
46
|
-
|
47
|
-
marko_template.meta = {
|
48
|
-
id: "/@parameter1/base-cms-marko-web$1.49.0/components/element/magazine-issue/digital-edition-url.marko",
|
49
|
-
tags: [
|
50
|
-
"../obj-text.marko"
|
51
|
-
]
|
52
|
-
};
|
@@ -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$1.49.0/components/element/magazine-issue/name.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_text_template = marko_loadTemplate(require.resolve("../obj-text.marko")),
|
12
|
-
marko_loadTag = require("marko/src/runtime/helpers/load-tag"),
|
13
|
-
marko_web_obj_text_tag = marko_loadTag(marko_web_obj_text_template);
|
14
|
-
|
15
|
-
function render(input, out, __component, component, state) {
|
16
|
-
var data = input;
|
17
|
-
|
18
|
-
marko_web_obj_text_tag(marko_assign({
|
19
|
-
type: "magazine-issue",
|
20
|
-
blockName: input.blockName,
|
21
|
-
obj: input.obj,
|
22
|
-
field: "name",
|
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$1.49.0/components/element/magazine-issue/name.marko",
|
38
|
-
tags: [
|
39
|
-
"../obj-text.marko"
|
40
|
-
]
|
41
|
-
};
|
@@ -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$1.49.0/components/element/magazine-publication/description.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_text_template = marko_loadTemplate(require.resolve("../obj-text.marko")),
|
12
|
-
marko_loadTag = require("marko/src/runtime/helpers/load-tag"),
|
13
|
-
marko_web_obj_text_tag = marko_loadTag(marko_web_obj_text_template);
|
14
|
-
|
15
|
-
function render(input, out, __component, component, state) {
|
16
|
-
var data = input;
|
17
|
-
|
18
|
-
marko_web_obj_text_tag(marko_assign({
|
19
|
-
type: "magazine-publication",
|
20
|
-
blockName: input.blockName,
|
21
|
-
obj: input.obj,
|
22
|
-
field: "description",
|
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$1.49.0/components/element/magazine-publication/description.marko",
|
38
|
-
tags: [
|
39
|
-
"../obj-text.marko"
|
40
|
-
]
|
41
|
-
};
|
@@ -1,52 +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/magazine-publication/einquiry-url.marko",
|
6
|
-
marko_renderer = require("marko/src/runtime/components/renderer"),
|
7
|
-
module_baseCmsUtils_module = require("@parameter1/base-cms-utils"),
|
8
|
-
baseCmsUtils_module = module_baseCmsUtils_module.default || module_baseCmsUtils_module,
|
9
|
-
isObject = module_baseCmsUtils_module.isObject,
|
10
|
-
module_extractRender = require("../extract-render"),
|
11
|
-
extractRender = module_extractRender.default || module_extractRender,
|
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")),
|
15
|
-
marko_loadTag = require("marko/src/runtime/helpers/load-tag"),
|
16
|
-
marko_web_obj_text_tag = marko_loadTag(marko_web_obj_text_template);
|
17
|
-
|
18
|
-
function render(input, out, __component, component, state) {
|
19
|
-
var data = input;
|
20
|
-
|
21
|
-
const linkInput = { field: "einquiryUrl" };
|
22
|
-
|
23
|
-
if (input.link === true) {
|
24
|
-
input.link = linkInput;
|
25
|
-
} else if (isObject(input.link)) {
|
26
|
-
input.link = { ...input.link, ...linkInput };
|
27
|
-
}
|
28
|
-
|
29
|
-
marko_web_obj_text_tag(marko_assign({
|
30
|
-
type: "magazine-publication",
|
31
|
-
blockName: input.blockName,
|
32
|
-
obj: input.obj,
|
33
|
-
field: "einquiryUrl",
|
34
|
-
tag: input.tag,
|
35
|
-
class: input.class,
|
36
|
-
modifiers: input.modifiers,
|
37
|
-
attrs: input.attrs,
|
38
|
-
link: input.link
|
39
|
-
}, extractRender(input)), out, __component, "0");
|
40
|
-
}
|
41
|
-
|
42
|
-
marko_template._ = marko_renderer(render, {
|
43
|
-
___implicit: true,
|
44
|
-
___type: marko_componentType
|
45
|
-
});
|
46
|
-
|
47
|
-
marko_template.meta = {
|
48
|
-
id: "/@parameter1/base-cms-marko-web$1.49.0/components/element/magazine-publication/einquiry-url.marko",
|
49
|
-
tags: [
|
50
|
-
"../obj-text.marko"
|
51
|
-
]
|
52
|
-
};
|