@mindful-web/marko-web-theme-monorail 1.65.2 → 1.67.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/ads/fixed-ad-bottom.marko.js +2 -2
- package/components/ads/reveal-ad-handler.marko.js +2 -2
- package/components/blocks/author-bios.marko.js +2 -2
- package/components/blocks/callout-cards.marko.js +2 -2
- package/components/blocks/company-inquiry-form.marko.js +2 -2
- package/components/blocks/company-search.marko.js +2 -2
- package/components/blocks/content-card-deck.marko.js +2 -2
- package/components/blocks/content-meter.marko.js +2 -2
- package/components/blocks/full-width-native-ad.marko.js +2 -2
- package/components/blocks/header-announcement.marko.js +2 -2
- package/components/blocks/hero-card.marko.js +2 -2
- package/components/blocks/latest-content-list.marko.js +2 -2
- package/components/blocks/latest-podcast.marko.js +2 -2
- package/components/blocks/latest-products-feed.marko.js +2 -2
- package/components/blocks/more-products.marko.js +2 -2
- package/components/blocks/most-popular-list.marko.js +2 -2
- package/components/blocks/most-popular.marko.js +2 -2
- package/components/blocks/native-x-card-deck.marko.js +2 -2
- package/components/blocks/native-x-promo-card.marko.js +2 -2
- package/components/blocks/newsletter-signup-banner-external.marko.js +2 -2
- package/components/blocks/newsletter-signup-banner-large.marko.js +2 -2
- package/components/blocks/newsletter-signup-banner.marko.js +2 -2
- package/components/blocks/opinion.marko.js +2 -2
- package/components/blocks/primary-image.marko.js +2 -2
- package/components/blocks/products.marko.js +2 -2
- package/components/blocks/read-next.marko.js +2 -2
- package/components/blocks/related-stories.marko.js +2 -2
- package/components/blocks/resource-library.marko.js +2 -2
- package/components/blocks/section-body-feed.marko.js +2 -2
- package/components/blocks/section-card-deck-featured.marko.js +2 -2
- package/components/blocks/section-card-deck.marko.js +2 -2
- package/components/blocks/section-card-list.marko.js +2 -2
- package/components/blocks/section-feed.marko.js +2 -2
- package/components/blocks/section-forbes.marko.js +2 -2
- package/components/blocks/section-list-deck.marko.js +2 -2
- package/components/blocks/section-list.marko.js +2 -2
- package/components/blocks/section-search.marko.js +2 -2
- package/components/blocks/section-title-feed.marko.js +2 -2
- package/components/blocks/top-stories-menu.marko.js +2 -2
- package/components/blocks/top-stories.marko.js +2 -2
- package/components/blocks/white-papers.marko.js +2 -2
- package/components/breadcrumbs/content-page.marko.js +2 -2
- package/components/breadcrumbs/index.marko.js +2 -2
- package/components/breadcrumbs/website-section.marko.js +2 -2
- package/components/breadcrumbs/with-home.marko.js +2 -2
- package/components/client-side-block-loader.marko.js +2 -2
- package/components/client-side-blocks/most-popular-list.marko.js +2 -2
- package/components/client-side-blocks/most-popular.marko.js +2 -2
- package/components/content/body-with-injection.marko.js +2 -2
- package/components/content/contact-details/index.marko.js +2 -2
- package/components/content/contact-details/section.marko.js +2 -2
- package/components/content/download/form-dot-com.marko.js +2 -2
- package/components/content/download/identity-x.marko.js +2 -2
- package/components/content/download/index.marko.js +2 -2
- package/components/content/download/link.marko.js +2 -2
- package/components/content/download/wufoo.marko.js +2 -2
- package/components/content/link-url/index.marko.js +2 -2
- package/components/content/sections-listed-in.marko.js +2 -2
- package/components/content-attribution/attribution.marko.js +2 -2
- package/components/content-attribution/components/authors.marko.js +2 -2
- package/components/content-attribution/components/byline.marko.js +2 -2
- package/components/content-attribution/components/company.marko.js +2 -2
- package/components/content-attribution/components/contributors.marko.js +2 -2
- package/components/content-attribution/components/photographers.marko.js +2 -2
- package/components/content-attribution/components/source.marko.js +2 -2
- package/components/content-attribution/components/speakers.marko.js +2 -2
- package/components/content-attribution/components/sponsors.marko.js +2 -2
- package/components/content-attribution/index.marko.js +2 -2
- package/components/directory-facets/facet-container/facet-container.marko.js +2 -2
- package/components/directory-facets/facet-list/facet-list.marko.js +2 -2
- package/components/directory-facets/facet.marko.js +2 -2
- package/components/directory-facets/index.marko.js +2 -2
- package/components/facebook-connect.marko.js +2 -2
- package/components/flows/card-deck.marko.js +2 -2
- package/components/flows/content/card-deck-col.marko.js +2 -2
- package/components/flows/content/directory-section.marko.js +2 -2
- package/components/flows/content/list.marko.js +2 -2
- package/components/flows/section-feed.marko.js +2 -2
- package/components/gam/components/define-display-ad.marko.js +2 -2
- package/components/gam/define-display-ad.marko.js +2 -2
- package/components/gam/inject-ads.marko.js +2 -2
- package/components/gam/wallpaper-ad.marko.js +2 -2
- package/components/identity-x/comment-stream.marko.js +2 -2
- package/components/identity-x/content-page-gate.marko.js +2 -2
- package/components/identity-x/newsletter-footer.marko.js +2 -2
- package/components/identity-x/newsletter-inline.marko.js +2 -2
- package/components/identity-x/newsletter-modal.marko.js +2 -2
- package/components/identity-x/newsletter-pushdown.marko.js +2 -2
- package/components/layouts/ad-preview.marko.js +2 -2
- package/components/menu-toggle-button.marko.js +2 -2
- package/components/native-x/render.marko.js +2 -2
- package/components/nodes/author-bio.marko.js +2 -2
- package/components/nodes/author-card.marko.js +2 -2
- package/components/nodes/author-published.marko.js +2 -2
- package/components/nodes/author.marko.js +2 -2
- package/components/nodes/components/attribution.marko.js +2 -2
- package/components/nodes/components/authors.marko.js +2 -2
- package/components/nodes/components/company-name.marko.js +2 -2
- package/components/nodes/components/dates.marko.js +2 -2
- package/components/nodes/components/section-sponsor.marko.js +2 -2
- package/components/nodes/content-published.marko.js +2 -2
- package/components/nodes/content.marko.js +2 -2
- package/components/nodes/directory-section-feed-content.marko.js +2 -2
- package/components/nodes/featured-products-card.marko.js +2 -2
- package/components/nodes/product-feed-content.marko.js +2 -2
- package/components/nodes/section-feed-content.marko.js +2 -2
- package/components/nodes/standard-promo.marko.js +2 -2
- package/components/nodes/youtube-card.marko.js +2 -2
- package/components/page/attribution.marko.js +2 -2
- package/components/page/contact-details.marko.js +2 -2
- package/components/page/content.marko.js +2 -2
- package/components/page/contents.marko.js +2 -2
- package/components/page/dates.marko.js +2 -2
- package/components/page/default.marko.js +2 -2
- package/components/page/website-section.marko.js +2 -2
- package/components/pagination-controls.marko.js +2 -2
- package/components/query-total-count.marko.js +2 -2
- package/components/reveal-ad-handler.marko.js +2 -2
- package/components/site-footer/container.marko.js +2 -2
- package/components/site-footer/copyright.marko.js +2 -2
- package/components/site-footer/index.marko.js +2 -2
- package/components/site-footer/social-icons.marko.js +2 -2
- package/components/site-header.marko.js +2 -2
- package/components/site-menu/components/search.marko.js +2 -2
- package/components/site-menu/components/social-icons.marko.js +2 -2
- package/components/site-menu/header.marko.js +2 -2
- package/components/site-menu/index.marko.js +2 -2
- package/components/site-menu/section.marko.js +2 -2
- package/components/site-navbar/brand.marko.js +2 -2
- package/components/site-navbar/index.marko.js +2 -2
- package/components/site-navbar/item.marko.js +2 -2
- package/components/site-navbar/items.marko.js +2 -2
- package/components/site-navbar/logo.marko.js +2 -2
- package/components/site-navbar/search.marko.js +2 -2
- package/components/site-newsletter-menu.marko.js +2 -2
- package/components/social/icon-link.marko.js +2 -2
- package/components/social/icons.marko.js +2 -2
- package/components/social-follow.marko.js +2 -2
- package/components/ssr-html-inject.marko.js +2 -2
- package/config/mindful-namespace-map.js +32 -0
- package/graphql/fragments/company-search.js +5 -0
- package/package.json +4 -4
- package/routes/company-search.js +18 -32
- package/routes/search.js +8 -7
- package/templates/ad-preview.marko.js +2 -2
- package/templates/content/components/presented-by.marko.js +2 -2
- package/templates/content/native-x-story.marko.js +2 -2
- package/templates/content/print.marko.js +2 -2
- package/templates/email-preview.marko.js +2 -2
- package/templates/search.marko.js +2 -2
- package/templates/taxonomy.marko.js +2 -2
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.67.0/components/site-navbar/brand.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
marko_dynamicTag = require("marko/dist/runtime/helpers/dynamic-tag"),
|
|
8
8
|
marko_web_link_template = require("@mindful-web/marko-web/components/element/link.marko"),
|
|
@@ -36,7 +36,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
36
36
|
});
|
|
37
37
|
|
|
38
38
|
marko_template.meta = {
|
|
39
|
-
id: "/@mindful-web/marko-web-theme-monorail$1.
|
|
39
|
+
id: "/@mindful-web/marko-web-theme-monorail$1.67.0/components/site-navbar/brand.marko",
|
|
40
40
|
tags: [
|
|
41
41
|
"@mindful-web/marko-web/components/element/link.marko"
|
|
42
42
|
]
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.67.0/components/site-navbar/index.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
marko_dynamicTag = require("marko/dist/runtime/helpers/dynamic-tag"),
|
|
8
8
|
marko_web_element_template = require("@mindful-web/marko-web/components/element/index.marko"),
|
|
@@ -41,7 +41,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
41
41
|
});
|
|
42
42
|
|
|
43
43
|
marko_template.meta = {
|
|
44
|
-
id: "/@mindful-web/marko-web-theme-monorail$1.
|
|
44
|
+
id: "/@mindful-web/marko-web-theme-monorail$1.67.0/components/site-navbar/index.marko",
|
|
45
45
|
tags: [
|
|
46
46
|
"@mindful-web/marko-web/components/element/index.marko",
|
|
47
47
|
"@mindful-web/marko-web/components/element/block.marko"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.67.0/components/site-navbar/item.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
module_objectPath_module = require("@mindful-web/object-path"),
|
|
8
8
|
objectPath_module = module_objectPath_module.default || module_objectPath_module,
|
|
@@ -175,7 +175,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
175
175
|
});
|
|
176
176
|
|
|
177
177
|
marko_template.meta = {
|
|
178
|
-
id: "/@mindful-web/marko-web-theme-monorail$1.
|
|
178
|
+
id: "/@mindful-web/marko-web-theme-monorail$1.67.0/components/site-navbar/item.marko",
|
|
179
179
|
tags: [
|
|
180
180
|
"@mindful-web/marko-web-icons/components/icon.marko",
|
|
181
181
|
"@mindful-web/marko-web/components/element/link.marko",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.67.0/components/site-navbar/items.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
module_objectPath_module = require("@mindful-web/object-path"),
|
|
8
8
|
objectPath_module = module_objectPath_module.default || module_objectPath_module,
|
|
@@ -73,7 +73,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
73
73
|
});
|
|
74
74
|
|
|
75
75
|
marko_template.meta = {
|
|
76
|
-
id: "/@mindful-web/marko-web-theme-monorail$1.
|
|
76
|
+
id: "/@mindful-web/marko-web-theme-monorail$1.67.0/components/site-navbar/items.marko",
|
|
77
77
|
tags: [
|
|
78
78
|
"./item.marko",
|
|
79
79
|
"@mindful-web/marko-web/components/element/index.marko"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.67.0/components/site-navbar/logo.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
marko_classAttr = require("marko/dist/runtime/html/helpers/class-attr"),
|
|
8
8
|
marko_attr = require("marko/dist/runtime/html/helpers/attr");
|
|
@@ -37,5 +37,5 @@ marko_template._ = marko_renderer(render, {
|
|
|
37
37
|
});
|
|
38
38
|
|
|
39
39
|
marko_template.meta = {
|
|
40
|
-
id: "/@mindful-web/marko-web-theme-monorail$1.
|
|
40
|
+
id: "/@mindful-web/marko-web-theme-monorail$1.67.0/components/site-navbar/logo.marko"
|
|
41
41
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.67.0/components/site-navbar/search.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
module_utils_module = require("@mindful-web/utils"),
|
|
8
8
|
utils_module = module_utils_module.default || module_utils_module,
|
|
@@ -64,7 +64,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
64
64
|
});
|
|
65
65
|
|
|
66
66
|
marko_template.meta = {
|
|
67
|
-
id: "/@mindful-web/marko-web-theme-monorail$1.
|
|
67
|
+
id: "/@mindful-web/marko-web-theme-monorail$1.67.0/components/site-navbar/search.marko",
|
|
68
68
|
tags: [
|
|
69
69
|
"@mindful-web/marko-web-icons/components/icon.marko",
|
|
70
70
|
"@mindful-web/marko-web/components/element/img.marko",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.67.0/components/site-newsletter-menu.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
module_buildProps = require("@mindful-web/marko-web-theme-monorail/utils/site-newsletter-menu-props"),
|
|
8
8
|
buildProps = module_buildProps.default || module_buildProps,
|
|
@@ -30,7 +30,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
30
30
|
});
|
|
31
31
|
|
|
32
32
|
marko_template.meta = {
|
|
33
|
-
id: "/@mindful-web/marko-web-theme-monorail$1.
|
|
33
|
+
id: "/@mindful-web/marko-web-theme-monorail$1.67.0/components/site-newsletter-menu.marko",
|
|
34
34
|
tags: [
|
|
35
35
|
"@mindful-web/marko-web/components/browser-component.marko"
|
|
36
36
|
]
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.67.0/components/social/icon-link.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
module_objectPath_module = require("@mindful-web/object-path"),
|
|
8
8
|
objectPath_module = module_objectPath_module.default || module_objectPath_module,
|
|
@@ -55,7 +55,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
55
55
|
});
|
|
56
56
|
|
|
57
57
|
marko_template.meta = {
|
|
58
|
-
id: "/@mindful-web/marko-web-theme-monorail$1.
|
|
58
|
+
id: "/@mindful-web/marko-web-theme-monorail$1.67.0/components/social/icon-link.marko",
|
|
59
59
|
tags: [
|
|
60
60
|
"@mindful-web/marko-web-icons/components/icon.marko",
|
|
61
61
|
"@mindful-web/marko-web/components/element/link.marko"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.67.0/components/social/icons.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
module_objectPath_module = require("@mindful-web/object-path"),
|
|
8
8
|
objectPath_module = module_objectPath_module.default || module_objectPath_module,
|
|
@@ -54,7 +54,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
54
54
|
});
|
|
55
55
|
|
|
56
56
|
marko_template.meta = {
|
|
57
|
-
id: "/@mindful-web/marko-web-theme-monorail$1.
|
|
57
|
+
id: "/@mindful-web/marko-web-theme-monorail$1.67.0/components/social/icons.marko",
|
|
58
58
|
tags: [
|
|
59
59
|
"./icon-link.marko",
|
|
60
60
|
"@mindful-web/marko-web/components/element/block.marko"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.67.0/components/social-follow.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
module_utils_module = require("@mindful-web/utils"),
|
|
8
8
|
utils_module = module_utils_module.default || module_utils_module,
|
|
@@ -86,7 +86,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
86
86
|
});
|
|
87
87
|
|
|
88
88
|
marko_template.meta = {
|
|
89
|
-
id: "/@mindful-web/marko-web-theme-monorail$1.
|
|
89
|
+
id: "/@mindful-web/marko-web-theme-monorail$1.67.0/components/social-follow.marko",
|
|
90
90
|
tags: [
|
|
91
91
|
"@mindful-web/marko-web/components/element/index.marko",
|
|
92
92
|
"./social/icon-link.marko",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.67.0/components/ssr-html-inject.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
module_cheerio = require("cheerio"),
|
|
8
8
|
cheerio = module_cheerio.default || module_cheerio,
|
|
@@ -129,5 +129,5 @@ marko_template._ = marko_renderer(render, {
|
|
|
129
129
|
});
|
|
130
130
|
|
|
131
131
|
marko_template.meta = {
|
|
132
|
-
id: "/@mindful-web/marko-web-theme-monorail$1.
|
|
132
|
+
id: "/@mindful-web/marko-web-theme-monorail$1.67.0/components/ssr-html-inject.marko"
|
|
133
133
|
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Maps tenant keys (e.g. `acbm_fcp`) to Mindful API namespace and optional view.
|
|
3
|
+
* Used as a fallback when `mindful.namespace` is not present in site config.
|
|
4
|
+
*
|
|
5
|
+
* @type {Map<string, { namespace: string, view?: string }>}
|
|
6
|
+
*/
|
|
7
|
+
module.exports = new Map([
|
|
8
|
+
['abmedia_all', { namespace: 'abmedia/default' }],
|
|
9
|
+
['acbm_fcp', { namespace: 'acbm/default', view: 'construction' }],
|
|
10
|
+
['acbm_gip', { namespace: 'acbm/default', view: 'green-industry' }],
|
|
11
|
+
['acbm_ooh', { namespace: 'acbm/default', view: 'oem' }],
|
|
12
|
+
['acbm_scn', { namespace: 'acbm/default', view: 'supply-chain' }],
|
|
13
|
+
['allured_all', { namespace: 'allured/default' }],
|
|
14
|
+
['arizent_all', { namespace: 'arizent/default' }],
|
|
15
|
+
['ascend_hh', { namespace: 'ascend/default' }],
|
|
16
|
+
['diverse_all', { namespace: 'cma/default' }],
|
|
17
|
+
['datia_all', { namespace: 'datia/default' }],
|
|
18
|
+
['encore360_all', { namespace: 'encore360/default' }],
|
|
19
|
+
['indm_multi', { namespace: 'im/default' }],
|
|
20
|
+
['lbm_all', { namespace: 'lbm/default' }],
|
|
21
|
+
['lessiter_all', { namespace: 'lessiter/default' }],
|
|
22
|
+
['mm_all', { namespace: 'media-matters/default' }],
|
|
23
|
+
['p1_sandbox', { namespace: 'parameter1/default' }],
|
|
24
|
+
['pmmi_all', { namespace: 'pmmi/default' }],
|
|
25
|
+
['pmmi_mundo', { namespace: 'pmmi/default', view: 'mundo' }],
|
|
26
|
+
['roguemonkeymedia_all', { namespace: 'rmm/default' }],
|
|
27
|
+
['randallreilly_all', { namespace: 'rr/default' }],
|
|
28
|
+
['randallreilly_talent', { namespace: 'rr-talent/default' }],
|
|
29
|
+
['smg_all', { namespace: 'smg/default' }],
|
|
30
|
+
['transpire_all', { namespace: 'transpire/default' }],
|
|
31
|
+
['wattglobalmedia_all', { namespace: 'watt/default' }],
|
|
32
|
+
]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mindful-web/marko-web-theme-monorail",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.67.0",
|
|
4
4
|
"author": "Brian Miller <brian@parameter1.com>",
|
|
5
5
|
"repository": "https://github.com/parameter1/mindful-web/tree/main/packages/marko-web-theme-monorail",
|
|
6
6
|
"license": "MIT",
|
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
"@mindful-web/marko-web-gtm": "^1.57.0",
|
|
21
21
|
"@mindful-web/marko-web-html-sitemap": "^1.57.0",
|
|
22
22
|
"@mindful-web/marko-web-icons": "^1.59.2",
|
|
23
|
-
"@mindful-web/marko-web-identity-x": "^1.
|
|
23
|
+
"@mindful-web/marko-web-identity-x": "^1.66.0",
|
|
24
24
|
"@mindful-web/marko-web-inquiry": "^1.60.0",
|
|
25
25
|
"@mindful-web/marko-web-native-x": "^1.57.0",
|
|
26
26
|
"@mindful-web/marko-web-omeda": "^1.57.0",
|
|
27
|
-
"@mindful-web/marko-web-omeda-identity-x": "^1.
|
|
27
|
+
"@mindful-web/marko-web-omeda-identity-x": "^1.66.0",
|
|
28
28
|
"@mindful-web/marko-web-p1-events": "^1.64.3",
|
|
29
29
|
"@mindful-web/marko-web-recaptcha": "^1.26.1",
|
|
30
30
|
"@mindful-web/marko-web-reveal-ad": "^1.57.0",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"publishConfig": {
|
|
54
54
|
"access": "public"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "828c82702e215be136b673aff1c3bbafa9750b06"
|
|
57
57
|
}
|
package/routes/company-search.js
CHANGED
|
@@ -3,44 +3,30 @@ const { getAsObject } = require('@mindful-web/object-path');
|
|
|
3
3
|
const { MindfulApiClient } = require('@mindful-web/mindful/api-client');
|
|
4
4
|
const { MindfulMarkoWebService } = require('@mindful-web/mindful/marko-web/service');
|
|
5
5
|
const jsonErrorHandler = require('@mindful-web/marko-web/express/json-error-handler');
|
|
6
|
-
const
|
|
6
|
+
const mindfulNamespaceMap = require('../config/mindful-namespace-map');
|
|
7
7
|
|
|
8
8
|
const queryFragment = require('../graphql/fragments/company-search');
|
|
9
9
|
|
|
10
|
-
module.exports = (app) => {
|
|
10
|
+
module.exports = (app, siteConfig) => {
|
|
11
|
+
const { namespace: configNamespace, view: configView } = getAsObject(siteConfig, 'mindful');
|
|
12
|
+
const { namespace, view } = configNamespace
|
|
13
|
+
? { namespace: configNamespace, view: configView }
|
|
14
|
+
: (mindfulNamespaceMap.get(app.locals.tenantKey) || {});
|
|
15
|
+
const mindful = new MindfulMarkoWebService({
|
|
16
|
+
client: new MindfulApiClient({ namespace, view }),
|
|
17
|
+
});
|
|
18
|
+
|
|
11
19
|
app.get('/__company-search', asyncRoute(async (req, res) => {
|
|
12
20
|
const { searchQuery } = req.query;
|
|
13
|
-
const { apollo
|
|
14
|
-
|
|
15
|
-
const { useMindful } = getAsObject(req.app.locals.site, 'search');
|
|
16
|
-
const { namespace, view } = getAsObject(req.app.locals.site, 'mindful');
|
|
17
|
-
|
|
18
|
-
if (useMindful && !namespace) {
|
|
19
|
-
throw new Error('A Mindful namespace must be configured in order to use Mindful native search.');
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
const response = await (async () => {
|
|
23
|
-
const common = {
|
|
24
|
-
assignedToWebsiteSiteIds: [req.app.locals.config.websiteContext.id],
|
|
25
|
-
contentTypes: ['COMPANY'],
|
|
26
|
-
queryFragment,
|
|
27
|
-
searchQuery,
|
|
28
|
-
};
|
|
21
|
+
const { apollo } = res.locals;
|
|
29
22
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
return loader({
|
|
40
|
-
apolloBaseBrowse: $baseBrowse,
|
|
41
|
-
apolloMindfulWebCMS: apollo,
|
|
42
|
-
}, common);
|
|
43
|
-
})();
|
|
23
|
+
const response = await mindful.searchPostsAsContentUsingLegacyParams({
|
|
24
|
+
assignedToWebsiteSiteIds: [req.app.locals.config.websiteContext.id],
|
|
25
|
+
apolloMindfulWebCMS: apollo,
|
|
26
|
+
contentTypes: ['COMPANY'],
|
|
27
|
+
queryFragment,
|
|
28
|
+
searchQuery,
|
|
29
|
+
});
|
|
44
30
|
|
|
45
31
|
res.json(response);
|
|
46
32
|
}), jsonErrorHandler());
|
package/routes/search.js
CHANGED
|
@@ -3,6 +3,7 @@ const { MindfulApiClient } = require('@mindful-web/mindful/api-client');
|
|
|
3
3
|
const { MindfulMarkoWebService } = require('@mindful-web/mindful/marko-web/service');
|
|
4
4
|
const MarkoWebSearchConfig = require('@mindful-web/marko-web-search/config');
|
|
5
5
|
const middleware = require('@mindful-web/marko-web-search/middleware');
|
|
6
|
+
const mindfulNamespaceMap = require('../config/mindful-namespace-map');
|
|
6
7
|
|
|
7
8
|
const template = require('../templates/search');
|
|
8
9
|
|
|
@@ -11,20 +12,20 @@ module.exports = (app, siteConfig) => {
|
|
|
11
12
|
assignedToWebsiteSectionIds,
|
|
12
13
|
contentTypes = ['Article', 'Blog', 'Company', 'Podcast', 'Product', 'Video', 'Whitepaper'],
|
|
13
14
|
defaultSortField,
|
|
14
|
-
useMindful,
|
|
15
15
|
} = getAsObject(siteConfig, 'search');
|
|
16
|
-
const { namespace, view } = getAsObject(siteConfig, 'mindful');
|
|
16
|
+
const { namespace: configNamespace, view: configView } = getAsObject(siteConfig, 'mindful');
|
|
17
|
+
const { namespace, view } = configNamespace
|
|
18
|
+
? { namespace: configNamespace, view: configView }
|
|
19
|
+
: (mindfulNamespaceMap.get(app.locals.tenantKey) || {});
|
|
17
20
|
const config = new MarkoWebSearchConfig({
|
|
18
21
|
assignedToWebsiteSectionIds,
|
|
19
22
|
contentTypes,
|
|
20
23
|
defaultSortField,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
client: new MindfulApiClient({ namespace, view }),
|
|
24
|
-
}),
|
|
24
|
+
mindful: new MindfulMarkoWebService({
|
|
25
|
+
client: new MindfulApiClient({ namespace, view }),
|
|
25
26
|
}),
|
|
26
27
|
resultsPerPage: { default: 18 },
|
|
27
|
-
useMindful,
|
|
28
|
+
useMindful: true,
|
|
28
29
|
});
|
|
29
30
|
app.get('/search', (req, res, next) => {
|
|
30
31
|
if (!get(req, 'query.searchQuery') && get(req, 'query.sortField')) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.67.0/templates/ad-preview.marko",
|
|
6
6
|
marko_component = require("./ad-preview.marko"),
|
|
7
7
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
8
8
|
module_objectPath_module = require("@mindful-web/object-path"),
|
|
@@ -139,7 +139,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
139
139
|
}, marko_component);
|
|
140
140
|
|
|
141
141
|
marko_template.meta = {
|
|
142
|
-
id: "/@mindful-web/marko-web-theme-monorail$1.
|
|
142
|
+
id: "/@mindful-web/marko-web-theme-monorail$1.67.0/templates/ad-preview.marko",
|
|
143
143
|
component: "./ad-preview.marko",
|
|
144
144
|
tags: [
|
|
145
145
|
"../components/flows/section-feed.marko",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.67.0/templates/content/components/presented-by.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
module_image_module = require("@mindful-web/image"),
|
|
8
8
|
image_module = module_image_module.default || module_image_module,
|
|
@@ -63,7 +63,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
63
63
|
});
|
|
64
64
|
|
|
65
65
|
marko_template.meta = {
|
|
66
|
-
id: "/@mindful-web/marko-web-theme-monorail$1.
|
|
66
|
+
id: "/@mindful-web/marko-web-theme-monorail$1.67.0/templates/content/components/presented-by.marko",
|
|
67
67
|
tags: [
|
|
68
68
|
"@mindful-web/marko-web/components/element/index.marko",
|
|
69
69
|
"@mindful-web/marko-web/components/element/img.marko",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.67.0/templates/content/native-x-story.marko",
|
|
6
6
|
marko_component = require("./native-x-story.marko"),
|
|
7
7
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
8
8
|
module_convert = require("@mindful-web/marko-web-native-x/utils/convert-story-to-content"),
|
|
@@ -223,7 +223,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
223
223
|
}, marko_component);
|
|
224
224
|
|
|
225
225
|
marko_template.meta = {
|
|
226
|
-
id: "/@mindful-web/marko-web-theme-monorail$1.
|
|
226
|
+
id: "/@mindful-web/marko-web-theme-monorail$1.67.0/templates/content/native-x-story.marko",
|
|
227
227
|
component: "./native-x-story.marko",
|
|
228
228
|
tags: [
|
|
229
229
|
"@mindful-web/marko-web-native-x/components/gtm-init.marko",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.67.0/templates/content/print.marko",
|
|
6
6
|
marko_component = require("./print.marko"),
|
|
7
7
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
8
8
|
module_objectPath_module = require("@mindful-web/object-path"),
|
|
@@ -402,7 +402,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
402
402
|
}, marko_component);
|
|
403
403
|
|
|
404
404
|
marko_template.meta = {
|
|
405
|
-
id: "/@mindful-web/marko-web-theme-monorail$1.
|
|
405
|
+
id: "/@mindful-web/marko-web-theme-monorail$1.67.0/templates/content/print.marko",
|
|
406
406
|
component: "./print.marko",
|
|
407
407
|
tags: [
|
|
408
408
|
"@mindful-web/marko-web/components/page/metadata/content.marko",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.67.0/templates/email-preview.marko",
|
|
6
6
|
marko_component = require("./email-preview.marko"),
|
|
7
7
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
8
8
|
marko_web_gtm_push_template = require("@mindful-web/marko-web-gtm/components/push.marko"),
|
|
@@ -86,7 +86,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
86
86
|
}, marko_component);
|
|
87
87
|
|
|
88
88
|
marko_template.meta = {
|
|
89
|
-
id: "/@mindful-web/marko-web-theme-monorail$1.
|
|
89
|
+
id: "/@mindful-web/marko-web-theme-monorail$1.67.0/templates/email-preview.marko",
|
|
90
90
|
component: "./email-preview.marko",
|
|
91
91
|
tags: [
|
|
92
92
|
"@mindful-web/marko-web-gtm/components/push.marko",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.67.0/templates/search.marko",
|
|
6
6
|
marko_component = require("./search.marko"),
|
|
7
7
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
8
8
|
module_queryFragment = require("../graphql/fragments/section-feed-block"),
|
|
@@ -324,7 +324,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
324
324
|
}, marko_component);
|
|
325
325
|
|
|
326
326
|
marko_template.meta = {
|
|
327
|
-
id: "/@mindful-web/marko-web-theme-monorail$1.
|
|
327
|
+
id: "/@mindful-web/marko-web-theme-monorail$1.67.0/templates/search.marko",
|
|
328
328
|
component: "./search.marko",
|
|
329
329
|
tags: [
|
|
330
330
|
"@mindful-web/marko-web-p1-events/components/track-search.marko",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.67.0/templates/taxonomy.marko",
|
|
6
6
|
marko_component = require("./taxonomy.marko"),
|
|
7
7
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
8
8
|
module_hierarchyAliases = require("@mindful-web/marko-web/utils/hierarchy-aliases"),
|
|
@@ -178,7 +178,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
178
178
|
}, marko_component);
|
|
179
179
|
|
|
180
180
|
marko_template.meta = {
|
|
181
|
-
id: "/@mindful-web/marko-web-theme-monorail$1.
|
|
181
|
+
id: "/@mindful-web/marko-web-theme-monorail$1.67.0/templates/taxonomy.marko",
|
|
182
182
|
component: "./taxonomy.marko",
|
|
183
183
|
tags: [
|
|
184
184
|
"../components/gam/define-display-ad.marko",
|