@forjacms/sections 1.2.6
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/README.md +185 -0
- package/dist/cjs/a11y-IAJPjMwx.js +27 -0
- package/dist/cjs/app-globals-V2Kpy_OQ.js +5 -0
- package/dist/cjs/forja-blog.cjs.entry.js +16 -0
- package/dist/cjs/forja-contact.cjs.entry.js +25 -0
- package/dist/cjs/forja-cta.cjs.entry.js +15 -0
- package/dist/cjs/forja-divider.cjs.entry.js +19 -0
- package/dist/cjs/forja-faq.cjs.entry.js +16 -0
- package/dist/cjs/forja-features.cjs.entry.js +16 -0
- package/dist/cjs/forja-footer.cjs.entry.js +38 -0
- package/dist/cjs/forja-gallery.cjs.entry.js +16 -0
- package/dist/cjs/forja-hero.cjs.entry.js +20 -0
- package/dist/cjs/forja-legal.cjs.entry.js +46 -0
- package/dist/cjs/forja-logo-cloud.cjs.entry.js +20 -0
- package/dist/cjs/forja-nav.cjs.entry.js +53 -0
- package/dist/cjs/forja-newsletter.cjs.entry.js +24 -0
- package/dist/cjs/forja-portfolio.cjs.entry.js +37 -0
- package/dist/cjs/forja-pricing.cjs.entry.js +16 -0
- package/dist/cjs/forja-projects.cjs.entry.js +16 -0
- package/dist/cjs/forja-section-renderer.cjs.entry.js +42 -0
- package/dist/cjs/forja-sections.cjs.js +25 -0
- package/dist/cjs/forja-stats.cjs.entry.js +20 -0
- package/dist/cjs/forja-tag-cloud.cjs.entry.js +16 -0
- package/dist/cjs/forja-team.cjs.entry.js +18 -0
- package/dist/cjs/forja-testimonials.cjs.entry.js +16 -0
- package/dist/cjs/forja-text-block.cjs.entry.js +22 -0
- package/dist/cjs/forja-timeline.cjs.entry.js +19 -0
- package/dist/cjs/forja-video.cjs.entry.js +30 -0
- package/dist/cjs/index-Bp-SZu2Y.js +1754 -0
- package/dist/cjs/index.cjs.js +15 -0
- package/dist/cjs/loader.cjs.js +13 -0
- package/dist/collection/collection-manifest.json +36 -0
- package/dist/collection/components/forja-blog/forja-blog.js +132 -0
- package/dist/collection/components/forja-contact/forja-contact.js +165 -0
- package/dist/collection/components/forja-cta/forja-cta.js +126 -0
- package/dist/collection/components/forja-divider/forja-divider.js +57 -0
- package/dist/collection/components/forja-faq/forja-faq.js +75 -0
- package/dist/collection/components/forja-features/forja-features.js +94 -0
- package/dist/collection/components/forja-footer/forja-footer.js +184 -0
- package/dist/collection/components/forja-gallery/forja-gallery.js +94 -0
- package/dist/collection/components/forja-hero/forja-hero.js +169 -0
- package/dist/collection/components/forja-legal/forja-legal.js +289 -0
- package/dist/collection/components/forja-logo-cloud/forja-logo-cloud.js +117 -0
- package/dist/collection/components/forja-nav/forja-nav.js +215 -0
- package/dist/collection/components/forja-newsletter/forja-newsletter.js +141 -0
- package/dist/collection/components/forja-portfolio/forja-portfolio.js +163 -0
- package/dist/collection/components/forja-pricing/forja-pricing.js +94 -0
- package/dist/collection/components/forja-projects/forja-projects.js +94 -0
- package/dist/collection/components/forja-section-renderer/forja-section-renderer.js +218 -0
- package/dist/collection/components/forja-stats/forja-stats.js +117 -0
- package/dist/collection/components/forja-tag-cloud/forja-tag-cloud.js +75 -0
- package/dist/collection/components/forja-team/forja-team.js +138 -0
- package/dist/collection/components/forja-testimonials/forja-testimonials.js +94 -0
- package/dist/collection/components/forja-text-block/forja-text-block.js +99 -0
- package/dist/collection/components/forja-timeline/forja-timeline.js +120 -0
- package/dist/collection/components/forja-video/forja-video.js +146 -0
- package/dist/collection/index.js +4 -0
- package/dist/collection/types.js +7 -0
- package/dist/collection/utils/a11y.js +22 -0
- package/dist/collection/utils/a11y.unit.js +46 -0
- package/dist/components/forja-blog.d.ts +11 -0
- package/dist/components/forja-blog.js +1 -0
- package/dist/components/forja-contact.d.ts +11 -0
- package/dist/components/forja-contact.js +1 -0
- package/dist/components/forja-cta.d.ts +11 -0
- package/dist/components/forja-cta.js +1 -0
- package/dist/components/forja-divider.d.ts +11 -0
- package/dist/components/forja-divider.js +1 -0
- package/dist/components/forja-faq.d.ts +11 -0
- package/dist/components/forja-faq.js +1 -0
- package/dist/components/forja-features.d.ts +11 -0
- package/dist/components/forja-features.js +1 -0
- package/dist/components/forja-footer.d.ts +11 -0
- package/dist/components/forja-footer.js +1 -0
- package/dist/components/forja-gallery.d.ts +11 -0
- package/dist/components/forja-gallery.js +1 -0
- package/dist/components/forja-hero.d.ts +11 -0
- package/dist/components/forja-hero.js +1 -0
- package/dist/components/forja-legal.d.ts +11 -0
- package/dist/components/forja-legal.js +1 -0
- package/dist/components/forja-logo-cloud.d.ts +11 -0
- package/dist/components/forja-logo-cloud.js +1 -0
- package/dist/components/forja-nav.d.ts +11 -0
- package/dist/components/forja-nav.js +1 -0
- package/dist/components/forja-newsletter.d.ts +11 -0
- package/dist/components/forja-newsletter.js +1 -0
- package/dist/components/forja-portfolio.d.ts +11 -0
- package/dist/components/forja-portfolio.js +1 -0
- package/dist/components/forja-pricing.d.ts +11 -0
- package/dist/components/forja-pricing.js +1 -0
- package/dist/components/forja-projects.d.ts +11 -0
- package/dist/components/forja-projects.js +1 -0
- package/dist/components/forja-section-renderer.d.ts +11 -0
- package/dist/components/forja-section-renderer.js +1 -0
- package/dist/components/forja-stats.d.ts +11 -0
- package/dist/components/forja-stats.js +1 -0
- package/dist/components/forja-tag-cloud.d.ts +11 -0
- package/dist/components/forja-tag-cloud.js +1 -0
- package/dist/components/forja-team.d.ts +11 -0
- package/dist/components/forja-team.js +1 -0
- package/dist/components/forja-testimonials.d.ts +11 -0
- package/dist/components/forja-testimonials.js +1 -0
- package/dist/components/forja-text-block.d.ts +11 -0
- package/dist/components/forja-text-block.js +1 -0
- package/dist/components/forja-timeline.d.ts +11 -0
- package/dist/components/forja-timeline.js +1 -0
- package/dist/components/forja-video.d.ts +11 -0
- package/dist/components/forja-video.js +1 -0
- package/dist/components/index.d.ts +35 -0
- package/dist/components/index.js +1 -0
- package/dist/components/p-CTbyYfdB.js +1 -0
- package/dist/components/p-DTKnQcqm.js +1 -0
- package/dist/define-all.d.ts +2 -0
- package/dist/define-all.js +24 -0
- package/dist/esm/a11y-CTbyYfdB.js +24 -0
- package/dist/esm/app-globals-DQuL1Twl.js +3 -0
- package/dist/esm/forja-blog.entry.js +14 -0
- package/dist/esm/forja-contact.entry.js +23 -0
- package/dist/esm/forja-cta.entry.js +13 -0
- package/dist/esm/forja-divider.entry.js +17 -0
- package/dist/esm/forja-faq.entry.js +14 -0
- package/dist/esm/forja-features.entry.js +14 -0
- package/dist/esm/forja-footer.entry.js +36 -0
- package/dist/esm/forja-gallery.entry.js +14 -0
- package/dist/esm/forja-hero.entry.js +18 -0
- package/dist/esm/forja-legal.entry.js +44 -0
- package/dist/esm/forja-logo-cloud.entry.js +18 -0
- package/dist/esm/forja-nav.entry.js +51 -0
- package/dist/esm/forja-newsletter.entry.js +22 -0
- package/dist/esm/forja-portfolio.entry.js +35 -0
- package/dist/esm/forja-pricing.entry.js +14 -0
- package/dist/esm/forja-projects.entry.js +14 -0
- package/dist/esm/forja-section-renderer.entry.js +40 -0
- package/dist/esm/forja-sections.js +21 -0
- package/dist/esm/forja-stats.entry.js +18 -0
- package/dist/esm/forja-tag-cloud.entry.js +14 -0
- package/dist/esm/forja-team.entry.js +16 -0
- package/dist/esm/forja-testimonials.entry.js +14 -0
- package/dist/esm/forja-text-block.entry.js +20 -0
- package/dist/esm/forja-timeline.entry.js +17 -0
- package/dist/esm/forja-video.entry.js +28 -0
- package/dist/esm/index-WdE4YutY.js +1747 -0
- package/dist/esm/index.js +11 -0
- package/dist/esm/loader.js +11 -0
- package/dist/forja-sections/forja-sections.esm.js +1 -0
- package/dist/forja-sections/index.esm.js +1 -0
- package/dist/forja-sections/p-0a820467.entry.js +1 -0
- package/dist/forja-sections/p-1b0b71f5.entry.js +1 -0
- package/dist/forja-sections/p-1e7249c1.entry.js +1 -0
- package/dist/forja-sections/p-27f014b1.entry.js +1 -0
- package/dist/forja-sections/p-2834de40.entry.js +1 -0
- package/dist/forja-sections/p-2a7f54c6.entry.js +1 -0
- package/dist/forja-sections/p-2b3d6388.entry.js +1 -0
- package/dist/forja-sections/p-4180bd91.entry.js +1 -0
- package/dist/forja-sections/p-57c10a67.entry.js +1 -0
- package/dist/forja-sections/p-6e48a255.entry.js +1 -0
- package/dist/forja-sections/p-6fa65e05.entry.js +1 -0
- package/dist/forja-sections/p-732e854c.entry.js +1 -0
- package/dist/forja-sections/p-8787f878.entry.js +1 -0
- package/dist/forja-sections/p-9b242e13.entry.js +1 -0
- package/dist/forja-sections/p-CTbyYfdB.js +1 -0
- package/dist/forja-sections/p-DQuL1Twl.js +1 -0
- package/dist/forja-sections/p-WdE4YutY.js +2 -0
- package/dist/forja-sections/p-a2cdb548.entry.js +1 -0
- package/dist/forja-sections/p-aa20264b.entry.js +1 -0
- package/dist/forja-sections/p-b5280312.entry.js +1 -0
- package/dist/forja-sections/p-c2c2e0ba.entry.js +1 -0
- package/dist/forja-sections/p-c4bccd7e.entry.js +1 -0
- package/dist/forja-sections/p-d1b739dd.entry.js +1 -0
- package/dist/forja-sections/p-d762878f.entry.js +1 -0
- package/dist/forja-sections/p-de808791.entry.js +1 -0
- package/dist/forja-sections/p-f24d6578.entry.js +1 -0
- package/dist/forja-sections/p-fd969566.entry.js +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/components/forja-blog/forja-blog.d.ts +10 -0
- package/dist/types/components/forja-contact/forja-contact.d.ts +13 -0
- package/dist/types/components/forja-cta/forja-cta.d.ts +9 -0
- package/dist/types/components/forja-divider/forja-divider.d.ts +5 -0
- package/dist/types/components/forja-faq/forja-faq.d.ts +7 -0
- package/dist/types/components/forja-features/forja-features.d.ts +8 -0
- package/dist/types/components/forja-footer/forja-footer.d.ts +11 -0
- package/dist/types/components/forja-gallery/forja-gallery.d.ts +8 -0
- package/dist/types/components/forja-hero/forja-hero.d.ts +11 -0
- package/dist/types/components/forja-legal/forja-legal.d.ts +35 -0
- package/dist/types/components/forja-logo-cloud/forja-logo-cloud.d.ts +9 -0
- package/dist/types/components/forja-nav/forja-nav.d.ts +23 -0
- package/dist/types/components/forja-newsletter/forja-newsletter.d.ts +11 -0
- package/dist/types/components/forja-portfolio/forja-portfolio.d.ts +13 -0
- package/dist/types/components/forja-pricing/forja-pricing.d.ts +8 -0
- package/dist/types/components/forja-projects/forja-projects.d.ts +8 -0
- package/dist/types/components/forja-section-renderer/forja-section-renderer.d.ts +13 -0
- package/dist/types/components/forja-stats/forja-stats.d.ts +9 -0
- package/dist/types/components/forja-tag-cloud/forja-tag-cloud.d.ts +7 -0
- package/dist/types/components/forja-team/forja-team.d.ts +10 -0
- package/dist/types/components/forja-testimonials/forja-testimonials.d.ts +8 -0
- package/dist/types/components/forja-text-block/forja-text-block.d.ts +7 -0
- package/dist/types/components/forja-timeline/forja-timeline.d.ts +9 -0
- package/dist/types/components/forja-video/forja-video.d.ts +11 -0
- package/dist/types/components.d.ts +1010 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/stencil-public-runtime.d.ts +1860 -0
- package/dist/types/types.d.ts +235 -0
- package/dist/types/utils/a11y.d.ts +11 -0
- package/dist/types/utils/a11y.unit.d.ts +1 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/package.json +66 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-Bp-SZu2Y.js');
|
|
4
|
+
var a11y = require('./a11y-IAJPjMwx.js');
|
|
5
|
+
|
|
6
|
+
const ForjaPortfolio = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
index.registerInstance(this, hostRef);
|
|
9
|
+
}
|
|
10
|
+
renderExperiences() {
|
|
11
|
+
if (!this.experiences || this.experiences.length === 0)
|
|
12
|
+
return null;
|
|
13
|
+
return (index.h("div", { class: "forja-portfolio__experiences" }, index.h("h3", { class: "forja-portfolio__group-title" }, "Experience"), index.h("ol", { class: "forja-portfolio__list" }, this.experiences.map(exp => (index.h("li", { class: "forja-portfolio__entry" }, index.h("article", { class: "forja-portfolio__card" }, exp.logoUrl && (index.h("img", { src: exp.logoUrl, alt: "", class: "forja-portfolio__logo", loading: "lazy" })), index.h("div", { class: "forja-portfolio__details" }, index.h("h4", { class: "forja-portfolio__role" }, exp.role), index.h("p", { class: "forja-portfolio__company" }, exp.company), exp.period && index.h("time", { class: "forja-portfolio__period" }, exp.period), exp.description && (index.h("div", { class: "forja-portfolio__description", innerHTML: exp.description }))))))))));
|
|
14
|
+
}
|
|
15
|
+
renderEducation() {
|
|
16
|
+
if (!this.education || this.education.length === 0)
|
|
17
|
+
return null;
|
|
18
|
+
return (index.h("div", { class: "forja-portfolio__education" }, index.h("h3", { class: "forja-portfolio__group-title" }, "Education"), index.h("ol", { class: "forja-portfolio__list" }, this.education.map(edu => (index.h("li", { class: "forja-portfolio__entry" }, index.h("article", { class: "forja-portfolio__card" }, index.h("div", { class: "forja-portfolio__details" }, index.h("h4", { class: "forja-portfolio__role" }, edu.degree), index.h("p", { class: "forja-portfolio__company" }, edu.institution), edu.period && index.h("time", { class: "forja-portfolio__period" }, edu.period), edu.description && (index.h("div", { class: "forja-portfolio__description", innerHTML: edu.description }))))))))));
|
|
19
|
+
}
|
|
20
|
+
renderSkills() {
|
|
21
|
+
if (!this.skills || this.skills.length === 0)
|
|
22
|
+
return null;
|
|
23
|
+
const grouped = this.skills.reduce((acc, skill) => {
|
|
24
|
+
const cat = skill.category || 'General';
|
|
25
|
+
if (!acc[cat])
|
|
26
|
+
acc[cat] = [];
|
|
27
|
+
acc[cat].push(skill);
|
|
28
|
+
return acc;
|
|
29
|
+
}, {});
|
|
30
|
+
return (index.h("div", { class: "forja-portfolio__skills" }, index.h("h3", { class: "forja-portfolio__group-title" }, "Skills"), Object.entries(grouped).map(([category, items]) => (index.h("div", { class: "forja-portfolio__skill-group" }, Object.keys(grouped).length > 1 && (index.h("h4", { class: "forja-portfolio__skill-category" }, category)), index.h("ul", { class: "forja-portfolio__skill-list", "data-columns": this.columns }, items.map(skill => (index.h("li", { class: "forja-portfolio__skill" }, skill.name)))))))));
|
|
31
|
+
}
|
|
32
|
+
render() {
|
|
33
|
+
return (index.h("section", { key: '96e2ad1a4250c58f0785ccf1dcf38c7ac5b8d53a', class: "forja-portfolio", "aria-label": a11y.sectionLabel(this.sectionTitle, 'Portfolio') }, index.h("slot", { key: 'a4f4d1379d09a2019e5e92de5bf0f65d8a78bf62', name: "before" }), this.sectionTitle && index.h("h2", { key: '3419d7e33cda89d94ad2166c02df2b5451715ca7', class: "forja-portfolio__title" }, this.sectionTitle), this.text && index.h("div", { key: '1dc200413658bde80829bd57b166772e6e27b8be', class: "forja-portfolio__text", innerHTML: this.text }), this.renderExperiences(), this.renderEducation(), this.renderSkills(), index.h("slot", { key: '4ea0373f8e21524b516dd3f4b5a967acd3c7d7cf', name: "after" })));
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
exports.forja_portfolio = ForjaPortfolio;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-Bp-SZu2Y.js');
|
|
4
|
+
var a11y = require('./a11y-IAJPjMwx.js');
|
|
5
|
+
|
|
6
|
+
const ForjaPricing = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
index.registerInstance(this, hostRef);
|
|
9
|
+
}
|
|
10
|
+
render() {
|
|
11
|
+
const hasTiers = this.tiers && this.tiers.length > 0;
|
|
12
|
+
return (index.h("section", { key: 'bae1df3d72dc351c1e55506fdfaad535f45814f6', class: "forja-pricing", "aria-label": a11y.sectionLabel(this.sectionTitle, 'Pricing') }, index.h("slot", { key: '343e7d5490dfc07cc2024661d404b1c2a44c46a9', name: "before" }), (this.sectionTitle || this.text) && (index.h("div", { key: 'e91c8e1945da57bc28bbc6ee09b72dca1dd03d22', class: "forja-pricing__header" }, this.sectionTitle && index.h("h2", { key: '81000892bb72e034613283df85928c1c667a4f95', class: "forja-pricing__title" }, this.sectionTitle), this.text && index.h("div", { key: '56363c268fb40a5512ab90005463bf43402e8c2f', class: "forja-pricing__text", innerHTML: this.text }))), hasTiers ? (index.h("div", { class: "forja-pricing__tiers", role: "list", "data-columns": this.columns }, this.tiers.map(tier => (index.h("div", { class: `forja-pricing__tier${tier.highlighted ? ' forja-pricing__tier--highlighted' : ''}`, role: "listitem" }, index.h("h3", { class: "forja-pricing__tier-name" }, tier.name), index.h("div", { class: "forja-pricing__price" }, index.h("span", { class: "forja-pricing__amount" }, tier.price), tier.period && index.h("span", { class: "forja-pricing__period" }, tier.period)), tier.description && index.h("p", { class: "forja-pricing__description" }, tier.description), tier.features && tier.features.length > 0 && (index.h("ul", { class: "forja-pricing__features" }, tier.features.map(feature => (index.h("li", { class: "forja-pricing__feature" }, feature))))), tier.buttonText && tier.buttonHref && (index.h("a", { href: tier.buttonHref, class: "forja-pricing__cta" }, tier.buttonText))))))) : (index.h("div", { class: "forja-pricing__tiers", role: "list", "data-columns": this.columns }, index.h("slot", null))), index.h("slot", { key: 'd4ed110c1c8ab8a865ba7c1066caf5867c36494c', name: "after" })));
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
exports.forja_pricing = ForjaPricing;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-Bp-SZu2Y.js');
|
|
4
|
+
var a11y = require('./a11y-IAJPjMwx.js');
|
|
5
|
+
|
|
6
|
+
const ForjaProjects = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
index.registerInstance(this, hostRef);
|
|
9
|
+
}
|
|
10
|
+
render() {
|
|
11
|
+
const hasItems = this.items && this.items.length > 0;
|
|
12
|
+
return (index.h("section", { key: '15db32b9f5878409c28debb36ded1047f657ce2a', class: "forja-projects", "aria-label": a11y.sectionLabel(this.sectionTitle, 'Projects') }, index.h("slot", { key: 'f5dd2f0ca808fcfeaa11c4006dfaa88723ea4a47', name: "before" }), this.sectionTitle && index.h("h2", { key: 'fd5e121eb42bba78d4dc5b2719c1129182ebc030', class: "forja-projects__title" }, this.sectionTitle), this.text && index.h("div", { key: 'dd82836aaf6934f7420fa2cce02e9574e27b4781', class: "forja-projects__text", innerHTML: this.text }), hasItems ? (index.h("div", { class: "forja-projects__grid", role: "list", "data-columns": this.columns }, this.items.map(item => (index.h("article", { class: "forja-projects__card", role: "listitem" }, item.imageUrl && (index.h("img", { src: item.imageUrl, alt: "", class: "forja-projects__image", loading: "lazy" })), index.h("div", { class: "forja-projects__content" }, index.h("div", { class: "forja-projects__header" }, index.h("h3", { class: "forja-projects__name" }, item.href ? (index.h("a", { href: item.href, class: "forja-projects__link" }, item.title)) : (item.title)), item.status && (index.h("span", { class: "forja-projects__status" }, item.status))), item.description && (index.h("div", { class: "forja-projects__description", innerHTML: item.description })), item.tags && item.tags.length > 0 && (index.h("ul", { class: "forja-projects__tags" }, item.tags.map(tag => (index.h("li", { class: "forja-projects__tag" }, tag))))))))))) : (index.h("slot", null)), index.h("slot", { key: 'b7772bead8f5c04f3b3e857bc9da18adc29e38b7', name: "after" })));
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
exports.forja_projects = ForjaProjects;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-Bp-SZu2Y.js');
|
|
4
|
+
|
|
5
|
+
const TAG_MAP = {
|
|
6
|
+
Hero: 'forja-hero',
|
|
7
|
+
Features: 'forja-features',
|
|
8
|
+
Cta: 'forja-cta',
|
|
9
|
+
Gallery: 'forja-gallery',
|
|
10
|
+
Testimonials: 'forja-testimonials',
|
|
11
|
+
Pricing: 'forja-pricing',
|
|
12
|
+
Faq: 'forja-faq',
|
|
13
|
+
Contact: 'forja-contact',
|
|
14
|
+
Stats: 'forja-stats',
|
|
15
|
+
Team: 'forja-team',
|
|
16
|
+
Timeline: 'forja-timeline',
|
|
17
|
+
LogoCloud: 'forja-logo-cloud',
|
|
18
|
+
Newsletter: 'forja-newsletter',
|
|
19
|
+
Video: 'forja-video',
|
|
20
|
+
Divider: 'forja-divider',
|
|
21
|
+
Text: 'forja-text-block',
|
|
22
|
+
Portfolio: 'forja-portfolio',
|
|
23
|
+
TagCloud: 'forja-tag-cloud',
|
|
24
|
+
Projects: 'forja-projects',
|
|
25
|
+
Blog: 'forja-blog',
|
|
26
|
+
Legal: 'forja-legal',
|
|
27
|
+
};
|
|
28
|
+
const ForjaSectionRenderer = class {
|
|
29
|
+
constructor(hostRef) {
|
|
30
|
+
index.registerInstance(this, hostRef);
|
|
31
|
+
}
|
|
32
|
+
render() {
|
|
33
|
+
const tag = TAG_MAP[this.sectionType];
|
|
34
|
+
if (!tag) {
|
|
35
|
+
return (index.h("section", { class: "forja-custom" }, this.sectionTitle && index.h("h2", { class: "forja-custom__title" }, this.sectionTitle), this.text && index.h("div", { class: "forja-custom__text", innerHTML: this.text }), index.h("slot", null)));
|
|
36
|
+
}
|
|
37
|
+
const Tag = tag;
|
|
38
|
+
return (index.h(Tag, { sectionTitle: this.sectionTitle, text: this.text, imageUrl: this.imageUrl, imageAlt: this.imageAlt, buttonText: this.buttonText, buttonHref: this.buttonHref, items: this.items }, index.h("slot", null)));
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
exports.forja_section_renderer = ForjaSectionRenderer;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-Bp-SZu2Y.js');
|
|
4
|
+
var appGlobals = require('./app-globals-V2Kpy_OQ.js');
|
|
5
|
+
|
|
6
|
+
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
|
|
7
|
+
/*
|
|
8
|
+
Stencil Client Patch Browser v4.43.3 | MIT Licensed | https://stenciljs.com
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
var patchBrowser = () => {
|
|
12
|
+
const importMeta = (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('forja-sections.cjs.js', document.baseURI).href));
|
|
13
|
+
const opts = {};
|
|
14
|
+
if (importMeta !== "") {
|
|
15
|
+
opts.resourcesUrl = new URL(".", importMeta).href;
|
|
16
|
+
}
|
|
17
|
+
return index.promiseResolve(opts);
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
patchBrowser().then(async (options) => {
|
|
21
|
+
await appGlobals.globalScripts();
|
|
22
|
+
return index.bootstrapLazy([["forja-blog.cjs",[[260,"forja-blog",{"sectionTitle":[1,"section-title"],"text":[1],"posts":[16],"columns":[2],"buttonText":[1,"button-text"],"buttonHref":[1,"button-href"]}]]],["forja-contact.cjs",[[260,"forja-contact",{"sectionTitle":[1,"section-title"],"text":[1],"buttonText":[1,"button-text"],"buttonHref":[1,"button-href"],"fields":[16],"formAction":[1,"form-action"]}]]],["forja-cta.cjs",[[260,"forja-cta",{"sectionTitle":[1,"section-title"],"text":[1],"buttonText":[1,"button-text"],"buttonHref":[1,"button-href"],"imageUrl":[1,"image-url"],"imageAlt":[1,"image-alt"]}]]],["forja-divider.cjs",[[0,"forja-divider",{"dividerStyle":[1,"divider-style"],"label":[1]}]]],["forja-faq.cjs",[[260,"forja-faq",{"sectionTitle":[1,"section-title"],"text":[1],"items":[16]}]]],["forja-features.cjs",[[260,"forja-features",{"sectionTitle":[1,"section-title"],"text":[1],"items":[16],"columns":[2]}]]],["forja-footer.cjs",[[0,"forja-footer",{"siteName":[1,"site-name"],"homeHref":[1,"home-href"],"items":[16],"socialLinks":[16],"showRss":[4,"show-rss"],"showSitemap":[4,"show-sitemap"],"tagline":[1]}]]],["forja-gallery.cjs",[[260,"forja-gallery",{"sectionTitle":[1,"section-title"],"text":[1],"items":[16],"columns":[2]}]]],["forja-hero.cjs",[[260,"forja-hero",{"sectionTitle":[1,"section-title"],"text":[1],"imageUrl":[1,"image-url"],"imageAlt":[1,"image-alt"],"buttonText":[1,"button-text"],"buttonHref":[1,"button-href"],"fullWidth":[4,"full-width"],"gradient":[4]}]]],["forja-legal.cjs",[[260,"forja-legal",{"sectionTitle":[1,"section-title"],"intro":[1],"body":[1],"documentType":[1,"document-type"],"version":[2],"createdAt":[1,"created-at"],"updatedAt":[1,"updated-at"],"effectiveDate":[1,"effective-date"],"showDocumentType":[4,"show-document-type"],"showVersion":[4,"show-version"],"showDates":[4,"show-dates"],"showIntro":[4,"show-intro"]}]]],["forja-logo-cloud.cjs",[[260,"forja-logo-cloud",{"sectionTitle":[1,"section-title"],"text":[1],"logos":[16],"columns":[2],"grayscale":[4]}]]],["forja-nav.cjs",[[0,"forja-nav",{"siteName":[1,"site-name"],"homeHref":[1,"home-href"],"items":[16],"locales":[16],"currentLocale":[1,"current-locale"],"showThemeToggle":[4,"show-theme-toggle"],"mobileOpen":[32],"localeDropdownOpen":[32]}]]],["forja-newsletter.cjs",[[260,"forja-newsletter",{"sectionTitle":[1,"section-title"],"text":[1],"buttonText":[1,"button-text"],"formAction":[1,"form-action"],"showName":[4,"show-name"]}]]],["forja-portfolio.cjs",[[260,"forja-portfolio",{"sectionTitle":[1,"section-title"],"text":[1],"experiences":[16],"education":[16],"skills":[16],"columns":[2]}]]],["forja-pricing.cjs",[[260,"forja-pricing",{"sectionTitle":[1,"section-title"],"text":[1],"tiers":[16],"columns":[2]}]]],["forja-projects.cjs",[[260,"forja-projects",{"sectionTitle":[1,"section-title"],"text":[1],"items":[16],"columns":[2]}]]],["forja-section-renderer.cjs",[[260,"forja-section-renderer",{"sectionType":[1,"section-type"],"sectionTitle":[1,"section-title"],"text":[1],"imageUrl":[1,"image-url"],"imageAlt":[1,"image-alt"],"buttonText":[1,"button-text"],"buttonHref":[1,"button-href"],"items":[16],"settings":[16]}]]],["forja-stats.cjs",[[260,"forja-stats",{"sectionTitle":[1,"section-title"],"text":[1],"items":[16],"columns":[2],"statsStyle":[1,"stats-style"]}]]],["forja-tag-cloud.cjs",[[260,"forja-tag-cloud",{"sectionTitle":[1,"section-title"],"text":[1],"tags":[16]}]]],["forja-team.cjs",[[260,"forja-team",{"sectionTitle":[1,"section-title"],"text":[1],"members":[16],"columns":[2],"showRole":[4,"show-role"],"showBio":[4,"show-bio"]}]]],["forja-testimonials.cjs",[[260,"forja-testimonials",{"sectionTitle":[1,"section-title"],"text":[1],"items":[16],"columns":[2]}]]],["forja-text-block.cjs",[[260,"forja-text-block",{"sectionTitle":[1,"section-title"],"text":[1],"width":[1],"alignment":[1]}]]],["forja-timeline.cjs",[[260,"forja-timeline",{"sectionTitle":[1,"section-title"],"text":[1],"events":[16],"layout":[1],"showDates":[4,"show-dates"]}]]],["forja-video.cjs",[[260,"forja-video",{"sectionTitle":[1,"section-title"],"text":[1],"videoUrl":[1,"video-url"],"provider":[1],"autoplay":[4],"aspectRatio":[1,"aspect-ratio"]}]]]], options);
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
exports.setNonce = index.setNonce;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-Bp-SZu2Y.js');
|
|
4
|
+
var a11y = require('./a11y-IAJPjMwx.js');
|
|
5
|
+
|
|
6
|
+
const ForjaStats = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
index.registerInstance(this, hostRef);
|
|
9
|
+
}
|
|
10
|
+
render() {
|
|
11
|
+
const hasItems = this.items && this.items.length > 0;
|
|
12
|
+
const classes = [
|
|
13
|
+
'forja-stats',
|
|
14
|
+
this.statsStyle && `forja-stats--${this.statsStyle}`,
|
|
15
|
+
].filter(Boolean).join(' ');
|
|
16
|
+
return (index.h("section", { key: '3aa6f2f843bb0e295dcb84740af6c9fda39d8309', class: classes, "aria-label": a11y.sectionLabel(this.sectionTitle, 'Statistics') }, index.h("slot", { key: '9565f67c2e7192f8b965be5555eb7f43e271692c', name: "before" }), this.sectionTitle && index.h("h2", { key: 'cbf15bf5bc0e62702590a1725a6e188bea96639c', class: "forja-stats__title" }, this.sectionTitle), this.text && index.h("div", { key: '0beb283e6387a04c20a2ba853266b12769ac9725', class: "forja-stats__text", innerHTML: this.text }), hasItems ? (index.h("dl", { class: "forja-stats__list", "data-columns": this.columns }, this.items.map(item => (index.h("div", { class: "forja-stats__item" }, index.h("dd", { class: "forja-stats__value" }, item.value), index.h("dt", { class: "forja-stats__label" }, item.label)))))) : (index.h("slot", null)), index.h("slot", { key: '7a2ffd297dd37c72d0c16a42b268e8a6f607ad40', name: "after" })));
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
exports.forja_stats = ForjaStats;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-Bp-SZu2Y.js');
|
|
4
|
+
var a11y = require('./a11y-IAJPjMwx.js');
|
|
5
|
+
|
|
6
|
+
const ForjaTagCloud = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
index.registerInstance(this, hostRef);
|
|
9
|
+
}
|
|
10
|
+
render() {
|
|
11
|
+
const hasTags = this.tags && this.tags.length > 0;
|
|
12
|
+
return (index.h("section", { key: 'dc9015d823c69a88c8252115948517887e7ce400', class: "forja-tag-cloud", "aria-label": a11y.sectionLabel(this.sectionTitle, 'Tags') }, index.h("slot", { key: '4a860c211a75f97d67755a1811db76c20840740f', name: "before" }), this.sectionTitle && index.h("h2", { key: 'bfae3b68ba76c7ce14d01d52ee47a5b5b6f04f89', class: "forja-tag-cloud__title" }, this.sectionTitle), this.text && index.h("div", { key: '7175c987bfadf8e4bb433e2cb8b856412818c0d0', class: "forja-tag-cloud__text", innerHTML: this.text }), hasTags ? (index.h("nav", { class: "forja-tag-cloud__nav", "aria-label": "Tags" }, index.h("ul", { class: "forja-tag-cloud__list", role: "list" }, this.tags.map(tag => (index.h("li", { class: "forja-tag-cloud__item" }, tag.href ? (index.h("a", { href: tag.href, class: "forja-tag-cloud__tag" }, index.h("span", { class: "forja-tag-cloud__label" }, tag.label), tag.count != null && (index.h("span", { class: "forja-tag-cloud__count", "aria-label": `${tag.count} items` }, "(", tag.count, ")")))) : (index.h("span", { class: "forja-tag-cloud__tag" }, index.h("span", { class: "forja-tag-cloud__label" }, tag.label), tag.count != null && (index.h("span", { class: "forja-tag-cloud__count", "aria-label": `${tag.count} items` }, "(", tag.count, ")")))))))))) : (index.h("slot", null)), index.h("slot", { key: '673878f83e689016cf1a001e87774fe66c4c7baa', name: "after" })));
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
exports.forja_tag_cloud = ForjaTagCloud;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-Bp-SZu2Y.js');
|
|
4
|
+
var a11y = require('./a11y-IAJPjMwx.js');
|
|
5
|
+
|
|
6
|
+
const ForjaTeam = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
index.registerInstance(this, hostRef);
|
|
9
|
+
this.showRole = true;
|
|
10
|
+
this.showBio = true;
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
const hasMembers = this.members && this.members.length > 0;
|
|
14
|
+
return (index.h("section", { key: 'b5d2dcb808386048367cfa97b31c6075732ba828', class: "forja-team", "aria-label": a11y.sectionLabel(this.sectionTitle, 'Team') }, index.h("slot", { key: 'df3d484b90a7d755eda0a784f21edbd921e71401', name: "before" }), this.sectionTitle && index.h("h2", { key: '2818b057df2f2c6319af8d17a43537714a62db34', class: "forja-team__title" }, this.sectionTitle), this.text && index.h("div", { key: '265903df6beaae84ff4d6cc1a9d11ae3f51f15d5', class: "forja-team__text", innerHTML: this.text }), hasMembers ? (index.h("ul", { class: "forja-team__grid", role: "list", "data-columns": this.columns }, this.members.map(member => (index.h("li", { class: "forja-team__member" }, member.imageUrl && (index.h("figure", { class: "forja-team__photo" }, index.h("img", { src: member.imageUrl, alt: member.name, class: "forja-team__image", loading: "lazy" }))), index.h("h3", { class: "forja-team__name" }, member.name), this.showRole && member.role && index.h("p", { class: "forja-team__role" }, member.role), this.showBio && member.bio && index.h("p", { class: "forja-team__bio" }, member.bio)))))) : (index.h("slot", null)), index.h("slot", { key: '81263f35ba229207c4978b65890c527590dfdae5', name: "after" })));
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
exports.forja_team = ForjaTeam;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-Bp-SZu2Y.js');
|
|
4
|
+
var a11y = require('./a11y-IAJPjMwx.js');
|
|
5
|
+
|
|
6
|
+
const ForjaTestimonials = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
index.registerInstance(this, hostRef);
|
|
9
|
+
}
|
|
10
|
+
render() {
|
|
11
|
+
const hasItems = this.items && this.items.length > 0;
|
|
12
|
+
return (index.h("section", { key: '608ac151afb59df61bf99ea38f5eba2d819ef6ac', class: "forja-testimonials", "aria-label": a11y.sectionLabel(this.sectionTitle, 'Testimonials') }, index.h("slot", { key: '016f3b316cec3979efaee8dd4e19497a623ca292', name: "before" }), this.sectionTitle && index.h("h2", { key: '5d0f9dac43cbd4e6d7ded6236c98a4d428d3723a', class: "forja-testimonials__title" }, this.sectionTitle), this.text && index.h("div", { key: '8d5bd0fd2c9b39aba0a461bef14df16a4b8197ba', class: "forja-testimonials__text", innerHTML: this.text }), hasItems ? (index.h("div", { class: "forja-testimonials__list", role: "list", "data-columns": this.columns }, this.items.map(item => (index.h("blockquote", { class: "forja-testimonials__item", role: "listitem" }, index.h("p", { class: "forja-testimonials__quote" }, item.quote), index.h("footer", { class: "forja-testimonials__attribution" }, item.avatarUrl && (index.h("img", { src: item.avatarUrl, alt: "", class: "forja-testimonials__avatar", loading: "lazy" })), index.h("cite", { class: "forja-testimonials__author" }, index.h("span", { class: "forja-testimonials__name" }, item.author), item.role && index.h("span", { class: "forja-testimonials__role" }, item.role)))))))) : (index.h("div", { class: "forja-testimonials__list", role: "list", "data-columns": this.columns }, index.h("slot", null))), index.h("slot", { key: 'f5079a207668e548632b607f174e630a46854cc8', name: "after" })));
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
exports.forja_testimonials = ForjaTestimonials;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-Bp-SZu2Y.js');
|
|
4
|
+
var a11y = require('./a11y-IAJPjMwx.js');
|
|
5
|
+
|
|
6
|
+
const ForjaTextBlock = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
index.registerInstance(this, hostRef);
|
|
9
|
+
this.width = 'default';
|
|
10
|
+
this.alignment = 'left';
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
const classes = [
|
|
14
|
+
'forja-text',
|
|
15
|
+
`forja-text--${this.width}`,
|
|
16
|
+
`forja-text--${this.alignment}`,
|
|
17
|
+
].join(' ');
|
|
18
|
+
return (index.h("section", { key: '2cc7f40271cc449ec8b4fc88576398a0b0763aca', class: classes, "aria-label": a11y.sectionLabel(this.sectionTitle, 'Content') }, index.h("slot", { key: '7da4597bc3dde56e4ae4179ae871f08f332c1c7f', name: "before" }), this.sectionTitle && index.h("h2", { key: 'ba03ee398659bf8926d6c434012b553e430a9413', class: "forja-text__title" }, this.sectionTitle), this.text ? (index.h("div", { class: "forja-text__content", innerHTML: this.text })) : (index.h("div", { class: "forja-text__content" }, index.h("slot", null))), index.h("slot", { key: '138eeef4fa534fd22772da123bbd6b7b30c20078', name: "after" })));
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
exports.forja_text_block = ForjaTextBlock;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-Bp-SZu2Y.js');
|
|
4
|
+
var a11y = require('./a11y-IAJPjMwx.js');
|
|
5
|
+
|
|
6
|
+
const ForjaTimeline = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
index.registerInstance(this, hostRef);
|
|
9
|
+
this.layout = 'vertical';
|
|
10
|
+
this.showDates = true;
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
const hasEvents = this.events && this.events.length > 0;
|
|
14
|
+
const classes = ['forja-timeline', `forja-timeline--${this.layout}`].join(' ');
|
|
15
|
+
return (index.h("section", { key: 'cebf45a5dea290fa21d427394db4916b4224df54', class: classes, "aria-label": a11y.sectionLabel(this.sectionTitle, 'Timeline') }, index.h("slot", { key: 'cf344c1df40eb02608a4255ec4b176f9efcd0ada', name: "before" }), this.sectionTitle && index.h("h2", { key: 'fab8e6c374c2e57fa345d092fc9453b0e4fc16ec', class: "forja-timeline__title" }, this.sectionTitle), this.text && index.h("div", { key: '0282811543111b55001d8b4fbe7e02cb7d944a7e', class: "forja-timeline__text", innerHTML: this.text }), hasEvents ? (index.h("ol", { class: "forja-timeline__list" }, this.events.map(event => (index.h("li", { class: "forja-timeline__item" }, this.showDates && event.date && (index.h("time", { class: "forja-timeline__date" }, event.date)), index.h("h3", { class: "forja-timeline__event-title" }, event.title), event.text && index.h("div", { class: "forja-timeline__event-text", innerHTML: event.text })))))) : (index.h("slot", null)), index.h("slot", { key: 'b56de78fa2dee0850de2ef5c0ca48243f8cf6e2c', name: "after" })));
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
exports.forja_timeline = ForjaTimeline;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-Bp-SZu2Y.js');
|
|
4
|
+
var a11y = require('./a11y-IAJPjMwx.js');
|
|
5
|
+
|
|
6
|
+
const ForjaVideo = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
index.registerInstance(this, hostRef);
|
|
9
|
+
this.provider = 'youtube';
|
|
10
|
+
this.autoplay = false;
|
|
11
|
+
this.aspectRatio = '16:9';
|
|
12
|
+
}
|
|
13
|
+
getAspectClass() {
|
|
14
|
+
const ratioMap = {
|
|
15
|
+
'16:9': 'forja-video--16-9',
|
|
16
|
+
'4:3': 'forja-video--4-3',
|
|
17
|
+
'1:1': 'forja-video--1-1',
|
|
18
|
+
};
|
|
19
|
+
return ratioMap[this.aspectRatio] || 'forja-video--16-9';
|
|
20
|
+
}
|
|
21
|
+
isSelfHosted() {
|
|
22
|
+
return this.provider === 'self-hosted';
|
|
23
|
+
}
|
|
24
|
+
render() {
|
|
25
|
+
const classes = ['forja-video', this.getAspectClass()].join(' ');
|
|
26
|
+
return (index.h("section", { key: '8f7dd28af86bfa7a3a1418bef19e6f9658d49cc6', class: classes, "aria-label": a11y.sectionLabel(this.sectionTitle, 'Video') }, index.h("slot", { key: '7b34145bcee01a80095725a5adba5266dc1af703', name: "before" }), this.sectionTitle && index.h("h2", { key: '4959dd55b6c5e146482c14057ebeffd39c45bedd', class: "forja-video__title" }, this.sectionTitle), this.text && index.h("div", { key: '42af3c36bad0c44ae1194f17217e969d46a01e8d', class: "forja-video__text", innerHTML: this.text }), this.videoUrl && (index.h("figure", { key: 'da0c9136b339b00f4f699deb077daff0bcc48715', class: "forja-video__container" }, this.isSelfHosted() ? (index.h("video", { class: "forja-video__player", src: this.videoUrl, controls: true, autoplay: this.autoplay }, index.h("track", { kind: "captions" }))) : (index.h("iframe", { class: "forja-video__embed", src: this.autoplay ? `${this.videoUrl}?autoplay=1` : this.videoUrl, title: this.sectionTitle || 'Embedded video', allowFullScreen: true, loading: "lazy" })))), index.h("slot", { key: '9c6b4f1345c7470b773c265a9884b799218a6d5f', name: "after" })));
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
exports.forja_video = ForjaVideo;
|