@forjacms/sections 1.7.5 → 1.7.7
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/dist/cjs/altcha-J8QlF6y1.js +36 -0
- package/dist/cjs/forja-contact.cjs.entry.js +25 -2
- package/dist/cjs/forja-newsletter.cjs.entry.js +16 -1
- package/dist/cjs/forja-portfolio.cjs.entry.js +1 -1
- package/dist/cjs/forja-pricing.cjs.entry.js +1 -1
- package/dist/cjs/forja-projects.cjs.entry.js +1 -1
- package/dist/cjs/forja-sections.cjs.js +1 -1
- package/dist/cjs/forja-stats.cjs.entry.js +1 -1
- package/dist/cjs/forja-tag-cloud.cjs.entry.js +1 -1
- package/dist/cjs/forja-team.cjs.entry.js +1 -1
- package/dist/cjs/forja-testimonials.cjs.entry.js +1 -1
- package/dist/cjs/forja-text-block.cjs.entry.js +1 -1
- package/dist/cjs/forja-timeline.cjs.entry.js +1 -1
- package/dist/cjs/forja-video.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/forja-contact/forja-contact.js +69 -2
- package/dist/collection/components/forja-newsletter/forja-newsletter.js +60 -1
- package/dist/collection/components/forja-portfolio/forja-portfolio.js +1 -1
- package/dist/collection/components/forja-pricing/forja-pricing.js +1 -1
- package/dist/collection/components/forja-projects/forja-projects.js +1 -1
- package/dist/collection/components/forja-stats/forja-stats.js +1 -1
- package/dist/collection/components/forja-tag-cloud/forja-tag-cloud.js +1 -1
- package/dist/collection/components/forja-team/forja-team.js +1 -1
- package/dist/collection/components/forja-testimonials/forja-testimonials.js +1 -1
- package/dist/collection/components/forja-text-block/forja-text-block.js +1 -1
- package/dist/collection/components/forja-timeline/forja-timeline.js +1 -1
- package/dist/collection/components/forja-video/forja-video.js +1 -1
- package/dist/collection/utils/altcha.js +30 -0
- package/dist/components/forja-contact.js +1 -1
- package/dist/components/forja-newsletter.js +1 -1
- package/dist/components/forja-portfolio.js +1 -1
- package/dist/components/forja-pricing.js +1 -1
- package/dist/components/forja-projects.js +1 -1
- package/dist/components/forja-stats.js +1 -1
- package/dist/components/forja-tag-cloud.js +1 -1
- package/dist/components/forja-team.js +1 -1
- package/dist/components/forja-testimonials.js +1 -1
- package/dist/components/forja-text-block.js +1 -1
- package/dist/components/forja-timeline.js +1 -1
- package/dist/components/forja-video.js +1 -1
- package/dist/components/p-B8qlvoCH.js +1 -0
- package/dist/esm/altcha-BaQIumM3.js +33 -0
- package/dist/esm/forja-contact.entry.js +25 -2
- package/dist/esm/forja-newsletter.entry.js +16 -1
- package/dist/esm/forja-portfolio.entry.js +1 -1
- package/dist/esm/forja-pricing.entry.js +1 -1
- package/dist/esm/forja-projects.entry.js +1 -1
- package/dist/esm/forja-sections.js +1 -1
- package/dist/esm/forja-stats.entry.js +1 -1
- package/dist/esm/forja-tag-cloud.entry.js +1 -1
- package/dist/esm/forja-team.entry.js +1 -1
- package/dist/esm/forja-testimonials.entry.js +1 -1
- package/dist/esm/forja-text-block.entry.js +1 -1
- package/dist/esm/forja-timeline.entry.js +1 -1
- package/dist/esm/forja-video.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/forja-sections/forja-sections.esm.js +1 -1
- package/dist/forja-sections/p-0ZAX27KB.js +1 -0
- package/dist/forja-sections/{p-082156fb.entry.js → p-2374ab45.entry.js} +1 -1
- package/dist/forja-sections/{p-8caea1c1.entry.js → p-28d89696.entry.js} +1 -1
- package/dist/forja-sections/p-44c37ec0.entry.js +1 -0
- package/dist/forja-sections/{p-89b5326c.entry.js → p-52608627.entry.js} +1 -1
- package/dist/forja-sections/p-53d27751.entry.js +1 -0
- package/dist/forja-sections/p-680fe800.entry.js +1 -0
- package/dist/forja-sections/p-73d4139c.entry.js +1 -0
- package/dist/forja-sections/{p-a37a69c8.entry.js → p-7cd82cee.entry.js} +1 -1
- package/dist/forja-sections/p-7dff4916.entry.js +1 -0
- package/dist/forja-sections/{p-d763435e.entry.js → p-a4cc2ee9.entry.js} +1 -1
- package/dist/forja-sections/p-da58a406.entry.js +1 -0
- package/dist/forja-sections/p-df44677a.entry.js +1 -0
- package/dist/types/components/forja-contact/forja-contact.d.ts +18 -0
- package/dist/types/components/forja-newsletter/forja-newsletter.d.ts +8 -0
- package/dist/types/components.d.ts +40 -0
- package/dist/types/utils/altcha.d.ts +16 -0
- package/package.json +1 -1
- package/dist/forja-sections/p-37f0e324.entry.js +0 -1
- package/dist/forja-sections/p-450084d2.entry.js +0 -1
- package/dist/forja-sections/p-5d5eea44.entry.js +0 -1
- package/dist/forja-sections/p-8513ce7a.entry.js +0 -1
- package/dist/forja-sections/p-86732956.entry.js +0 -1
- package/dist/forja-sections/p-b37e7f5c.entry.js +0 -1
- package/dist/forja-sections/p-c61df346.entry.js +0 -1
|
@@ -17,5 +17,5 @@ var patchBrowser = () => {
|
|
|
17
17
|
|
|
18
18
|
patchBrowser().then(async (options) => {
|
|
19
19
|
await globalScripts();
|
|
20
|
-
return bootstrapLazy([["forja-blog",[[260,"forja-blog",{"sectionTitle":[1,"section-title"],"text":[1],"posts":[16],"columns":[2],"buttonText":[1,"button-text"],"buttonHref":[1,"button-href"]}]]],["forja-contact",[[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",[[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",[[0,"forja-divider",{"dividerStyle":[1,"divider-style"],"label":[1]}]]],["forja-faq",[[260,"forja-faq",{"sectionTitle":[1,"section-title"],"text":[1],"items":[16]}]]],["forja-features",[[260,"forja-features",{"sectionTitle":[1,"section-title"],"text":[1],"items":[16],"columns":[2]}]]],["forja-footer",[[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",[[260,"forja-gallery",{"sectionTitle":[1,"section-title"],"text":[1],"items":[16],"columns":[2]}]]],["forja-hero",[[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",[[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",[[260,"forja-logo-cloud",{"sectionTitle":[1,"section-title"],"text":[1],"logos":[16],"columns":[2],"grayscale":[4]}]]],["forja-nav",[[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",[[260,"forja-newsletter",{"sectionTitle":[1,"section-title"],"text":[1],"buttonText":[1,"button-text"],"formAction":[1,"form-action"],"showName":[4,"show-name"]}]]],["forja-portfolio",[[260,"forja-portfolio",{"sectionTitle":[1,"section-title"],"text":[1],"experiences":[16],"education":[16],"skills":[16],"columns":[2]}]]],["forja-pricing",[[260,"forja-pricing",{"sectionTitle":[1,"section-title"],"text":[1],"tiers":[16],"columns":[2]}]]],["forja-projects",[[260,"forja-projects",{"sectionTitle":[1,"section-title"],"text":[1],"items":[16],"columns":[2]}]]],["forja-section-renderer",[[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",[[260,"forja-stats",{"sectionTitle":[1,"section-title"],"text":[1],"items":[16],"columns":[2],"statsStyle":[1,"stats-style"]}]]],["forja-tag-cloud",[[260,"forja-tag-cloud",{"sectionTitle":[1,"section-title"],"text":[1],"tags":[16]}]]],["forja-team",[[260,"forja-team",{"sectionTitle":[1,"section-title"],"text":[1],"members":[16],"columns":[2],"showRole":[4,"show-role"],"showBio":[4,"show-bio"]}]]],["forja-testimonials",[[260,"forja-testimonials",{"sectionTitle":[1,"section-title"],"text":[1],"items":[16],"columns":[2]}]]],["forja-text-block",[[260,"forja-text-block",{"sectionTitle":[1,"section-title"],"text":[1],"width":[1],"alignment":[1]}]]],["forja-timeline",[[260,"forja-timeline",{"sectionTitle":[1,"section-title"],"text":[1],"events":[16],"layout":[1],"showDates":[4,"show-dates"]}]]],["forja-video",[[260,"forja-video",{"sectionTitle":[1,"section-title"],"text":[1],"videoUrl":[1,"video-url"],"provider":[1],"autoplay":[4],"aspectRatio":[1,"aspect-ratio"]}]]]], options);
|
|
20
|
+
return bootstrapLazy([["forja-blog",[[260,"forja-blog",{"sectionTitle":[1,"section-title"],"text":[1],"posts":[16],"columns":[2],"buttonText":[1,"button-text"],"buttonHref":[1,"button-href"]}]]],["forja-contact",[[260,"forja-contact",{"sectionTitle":[1,"section-title"],"text":[1],"buttonText":[1,"button-text"],"buttonHref":[1,"button-href"],"fields":[16],"formAction":[1,"form-action"],"botProtection":[1,"bot-protection"],"altchaChallengeUrl":[1,"altcha-challenge-url"],"botProtectionUnsolved":[32]}]]],["forja-cta",[[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",[[0,"forja-divider",{"dividerStyle":[1,"divider-style"],"label":[1]}]]],["forja-faq",[[260,"forja-faq",{"sectionTitle":[1,"section-title"],"text":[1],"items":[16]}]]],["forja-features",[[260,"forja-features",{"sectionTitle":[1,"section-title"],"text":[1],"items":[16],"columns":[2]}]]],["forja-footer",[[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",[[260,"forja-gallery",{"sectionTitle":[1,"section-title"],"text":[1],"items":[16],"columns":[2]}]]],["forja-hero",[[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",[[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",[[260,"forja-logo-cloud",{"sectionTitle":[1,"section-title"],"text":[1],"logos":[16],"columns":[2],"grayscale":[4]}]]],["forja-nav",[[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",[[260,"forja-newsletter",{"sectionTitle":[1,"section-title"],"text":[1],"buttonText":[1,"button-text"],"formAction":[1,"form-action"],"showName":[4,"show-name"],"botProtection":[1,"bot-protection"],"altchaChallengeUrl":[1,"altcha-challenge-url"],"botProtectionUnsolved":[32]}]]],["forja-portfolio",[[260,"forja-portfolio",{"sectionTitle":[1,"section-title"],"text":[1],"experiences":[16],"education":[16],"skills":[16],"columns":[2]}]]],["forja-pricing",[[260,"forja-pricing",{"sectionTitle":[1,"section-title"],"text":[1],"tiers":[16],"columns":[2]}]]],["forja-projects",[[260,"forja-projects",{"sectionTitle":[1,"section-title"],"text":[1],"items":[16],"columns":[2]}]]],["forja-section-renderer",[[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",[[260,"forja-stats",{"sectionTitle":[1,"section-title"],"text":[1],"items":[16],"columns":[2],"statsStyle":[1,"stats-style"]}]]],["forja-tag-cloud",[[260,"forja-tag-cloud",{"sectionTitle":[1,"section-title"],"text":[1],"tags":[16]}]]],["forja-team",[[260,"forja-team",{"sectionTitle":[1,"section-title"],"text":[1],"members":[16],"columns":[2],"showRole":[4,"show-role"],"showBio":[4,"show-bio"]}]]],["forja-testimonials",[[260,"forja-testimonials",{"sectionTitle":[1,"section-title"],"text":[1],"items":[16],"columns":[2]}]]],["forja-text-block",[[260,"forja-text-block",{"sectionTitle":[1,"section-title"],"text":[1],"width":[1],"alignment":[1]}]]],["forja-timeline",[[260,"forja-timeline",{"sectionTitle":[1,"section-title"],"text":[1],"events":[16],"layout":[1],"showDates":[4,"show-dates"]}]]],["forja-video",[[260,"forja-video",{"sectionTitle":[1,"section-title"],"text":[1],"videoUrl":[1,"video-url"],"provider":[1],"autoplay":[4],"aspectRatio":[1,"aspect-ratio"]}]]]], options);
|
|
21
21
|
});
|
|
@@ -11,7 +11,7 @@ const ForjaStats = class {
|
|
|
11
11
|
'forja-stats',
|
|
12
12
|
this.statsStyle && `forja-stats--${this.statsStyle}`,
|
|
13
13
|
].filter(Boolean).join(' ');
|
|
14
|
-
return (h("section", { key: '
|
|
14
|
+
return (h("section", { key: 'cf1a9139a3b18e099e66f5abcfdcf7f5c90cdf74', class: classes, "aria-label": sectionLabel(this.sectionTitle, 'Statistics') }, h("slot", { key: 'fc61e06e592f1cc1d1f36d47b2b8fd33b520f421', name: "before" }), this.sectionTitle && h("h2", { key: '42026c0e7b55f0f7b185d969ca1219b1c44f7632', class: "forja-stats__title" }, this.sectionTitle), this.text && h("div", { key: 'd6f9d119958786dbef4aa39e6bae82a22465e21a', class: "forja-stats__text", innerHTML: this.text }), hasItems ? (h("dl", { class: "forja-stats__list", "data-columns": this.columns }, this.items.map(item => (h("div", { class: "forja-stats__item" }, h("dd", { class: "forja-stats__value" }, item.value), h("dt", { class: "forja-stats__label" }, item.label)))))) : (h("slot", null)), h("slot", { key: '468c62818cee963c316c57891964bac3d4f793a6', name: "after" })));
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
|
|
@@ -7,7 +7,7 @@ const ForjaTagCloud = class {
|
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
9
|
const hasTags = this.tags && this.tags.length > 0;
|
|
10
|
-
return (h("section", { key: '
|
|
10
|
+
return (h("section", { key: 'eb6d00e49fa790e23e2397f4927e20d545222217', class: "forja-tag-cloud", "aria-label": sectionLabel(this.sectionTitle, 'Tags') }, h("slot", { key: '8a34fd949d2f96dd8fd92d6479a052373fc09d00', name: "before" }), this.sectionTitle && h("h2", { key: '90fd03b82e40b74a16c91ba8c86100e9868239bb', class: "forja-tag-cloud__title" }, this.sectionTitle), this.text && h("div", { key: '7cf8c4c19943defa0e23f852ab27372307fa45b8', class: "forja-tag-cloud__text", innerHTML: this.text }), hasTags ? (h("nav", { class: "forja-tag-cloud__nav", "aria-label": "Tags" }, h("ul", { class: "forja-tag-cloud__list", role: "list" }, this.tags.map(tag => (h("li", { class: "forja-tag-cloud__item" }, tag.href ? (h("a", { href: tag.href, class: "forja-tag-cloud__tag" }, h("span", { class: "forja-tag-cloud__label" }, tag.label), tag.count != null && (h("span", { class: "forja-tag-cloud__count", "aria-label": `${tag.count} items` }, "(", tag.count, ")")))) : (h("span", { class: "forja-tag-cloud__tag" }, h("span", { class: "forja-tag-cloud__label" }, tag.label), tag.count != null && (h("span", { class: "forja-tag-cloud__count", "aria-label": `${tag.count} items` }, "(", tag.count, ")")))))))))) : (h("slot", null)), h("slot", { key: '9d24cb03b6ea67f87f11dd97410ae25ae389276b', name: "after" })));
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
|
|
@@ -9,7 +9,7 @@ const ForjaTeam = class {
|
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
11
|
const hasMembers = this.members && this.members.length > 0;
|
|
12
|
-
return (h("section", { key: '
|
|
12
|
+
return (h("section", { key: '65ab08dab0a410e178ce2b0a010987533b575bcd', class: "forja-team", "aria-label": sectionLabel(this.sectionTitle, 'Team') }, h("slot", { key: 'daa75a84eb8bf43d21057b9f3620f96407d65007', name: "before" }), this.sectionTitle && h("h2", { key: '682f5ee8cf15e378cdb6b33cc80e078886ca29ce', class: "forja-team__title" }, this.sectionTitle), this.text && h("div", { key: '4ce99703de2127a6637bd7e86c3bc0944c6b5960', class: "forja-team__text", innerHTML: this.text }), hasMembers ? (h("ul", { class: "forja-team__grid", role: "list", "data-columns": this.columns }, this.members.map(member => (h("li", { class: "forja-team__member" }, member.imageUrl && (h("figure", { class: "forja-team__photo" }, h("img", { src: member.imageUrl, alt: member.name, class: "forja-team__image", loading: "lazy" }))), h("h3", { class: "forja-team__name" }, member.name), this.showRole && member.role && h("p", { class: "forja-team__role" }, member.role), this.showBio && member.bio && h("p", { class: "forja-team__bio" }, member.bio)))))) : (h("slot", null)), h("slot", { key: '97fff600c6ed995066a34008edee4a73a9c954d2', name: "after" })));
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
|
|
@@ -7,7 +7,7 @@ const ForjaTestimonials = class {
|
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
9
|
const hasItems = this.items && this.items.length > 0;
|
|
10
|
-
return (h("section", { key: '
|
|
10
|
+
return (h("section", { key: '348a3aea6d842d43dcbb8506111d2146347ecf65', class: "forja-testimonials", "aria-label": sectionLabel(this.sectionTitle, 'Testimonials') }, h("slot", { key: '4d372a82bb34fc2408cb168f349550f5213c1152', name: "before" }), this.sectionTitle && h("h2", { key: '52323f5e292192065b3ab8a54efb76bc2cb9247f', class: "forja-testimonials__title" }, this.sectionTitle), this.text && h("div", { key: 'f285a90d384919c0a6221b02ef2bdddf584c8636', class: "forja-testimonials__text", innerHTML: this.text }), hasItems ? (h("div", { class: "forja-testimonials__list", role: "list", "data-columns": this.columns }, this.items.map(item => (h("blockquote", { class: "forja-testimonials__item", role: "listitem" }, h("p", { class: "forja-testimonials__quote" }, item.quote), h("footer", { class: "forja-testimonials__attribution" }, item.avatarUrl && (h("img", { src: item.avatarUrl, alt: "", class: "forja-testimonials__avatar", loading: "lazy" })), h("cite", { class: "forja-testimonials__author" }, h("span", { class: "forja-testimonials__name" }, item.author), item.role && h("span", { class: "forja-testimonials__role" }, item.role)))))))) : (h("div", { class: "forja-testimonials__list", role: "list", "data-columns": this.columns }, h("slot", null))), h("slot", { key: '5c88e789b532b1039e2b0c74ec0afc4fb63185fb', name: "after" })));
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
|
|
@@ -13,7 +13,7 @@ const ForjaTextBlock = class {
|
|
|
13
13
|
`forja-text--${this.width}`,
|
|
14
14
|
`forja-text--${this.alignment}`,
|
|
15
15
|
].join(' ');
|
|
16
|
-
return (h("section", { key: '
|
|
16
|
+
return (h("section", { key: '797f9ac88c3c03e2c41e7b8b3bf54b4d43dc3fd9', class: classes, "aria-label": sectionLabel(this.sectionTitle, 'Content') }, h("slot", { key: 'dc6cc88ac6fde0dc315651f0d7372c3fb44527fc', name: "before" }), this.sectionTitle && h("h2", { key: 'c3e5c0b9bbd3037a9c54db36027928b67a14318f', class: "forja-text__title" }, this.sectionTitle), this.text ? (h("div", { class: "forja-text__content", innerHTML: this.text })) : (h("div", { class: "forja-text__content" }, h("slot", null))), h("slot", { key: '8fe560073c81469ef6669ff945df4d102699152c', name: "after" })));
|
|
17
17
|
}
|
|
18
18
|
};
|
|
19
19
|
|
|
@@ -10,7 +10,7 @@ const ForjaTimeline = class {
|
|
|
10
10
|
render() {
|
|
11
11
|
const hasEvents = this.events && this.events.length > 0;
|
|
12
12
|
const classes = ['forja-timeline', `forja-timeline--${this.layout}`].join(' ');
|
|
13
|
-
return (h("section", { key: '
|
|
13
|
+
return (h("section", { key: '2dce62c902a967d64dd5b6a611a177335db92965', class: classes, "aria-label": sectionLabel(this.sectionTitle, 'Timeline') }, h("slot", { key: 'a68408fe55ac0b4ff1717d90abf94df9744395e8', name: "before" }), this.sectionTitle && h("h2", { key: '59f55ce9bc8783f510050851f19d124e1e10c869', class: "forja-timeline__title" }, this.sectionTitle), this.text && h("div", { key: '16c053110be832993154c4e88b9f29370d3b66e0', class: "forja-timeline__text", innerHTML: this.text }), hasEvents ? (h("ol", { class: "forja-timeline__list" }, this.events.map(event => (h("li", { class: "forja-timeline__item" }, this.showDates && event.date && (h("time", { class: "forja-timeline__date" }, event.date)), h("h3", { class: "forja-timeline__event-title" }, event.title), event.text && h("div", { class: "forja-timeline__event-text", innerHTML: event.text })))))) : (h("slot", null)), h("slot", { key: '112addeae24306716d65f4500fb6a2dbafb8a977', name: "after" })));
|
|
14
14
|
}
|
|
15
15
|
};
|
|
16
16
|
|
|
@@ -21,7 +21,7 @@ const ForjaVideo = class {
|
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
23
|
const classes = ['forja-video', this.getAspectClass()].join(' ');
|
|
24
|
-
return (h("section", { key: '
|
|
24
|
+
return (h("section", { key: '3243f9bd00cd257d706cf6ca3ee463fc2f1de542', class: classes, "aria-label": sectionLabel(this.sectionTitle, 'Video') }, h("slot", { key: 'a95a30fcd2ce9e696a614b3e5614c32f23bb887c', name: "before" }), this.sectionTitle && h("h2", { key: 'd43d21c2d9e78ac33670d6c7073180d813c2d868', class: "forja-video__title" }, this.sectionTitle), this.text && h("div", { key: '98a11b54335f07c79f8ed7a0576378d223f91bfb', class: "forja-video__text", innerHTML: this.text }), this.videoUrl && (h("figure", { key: 'b6e4b9436e7c4f0040b00d8173ac2cf417acd575', class: "forja-video__container" }, this.isSelfHosted() ? (h("video", { class: "forja-video__player", src: this.videoUrl, controls: true, autoplay: this.autoplay }, h("track", { kind: "captions" }))) : (h("iframe", { class: "forja-video__embed", src: this.autoplay ? `${this.videoUrl}?autoplay=1` : this.videoUrl, title: this.sectionTitle || 'Embedded video', allowFullScreen: true, loading: "lazy" })))), h("slot", { key: '788a8b32e8e0e524cf681995cd25f3b4ed565371', name: "after" })));
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
27
|
|
package/dist/esm/loader.js
CHANGED
|
@@ -5,7 +5,7 @@ import { g as globalScripts } from './app-globals-DQuL1Twl.js';
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
6
6
|
if (typeof window === 'undefined') return undefined;
|
|
7
7
|
await globalScripts();
|
|
8
|
-
return bootstrapLazy([["forja-blog",[[260,"forja-blog",{"sectionTitle":[1,"section-title"],"text":[1],"posts":[16],"columns":[2],"buttonText":[1,"button-text"],"buttonHref":[1,"button-href"]}]]],["forja-contact",[[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",[[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",[[0,"forja-divider",{"dividerStyle":[1,"divider-style"],"label":[1]}]]],["forja-faq",[[260,"forja-faq",{"sectionTitle":[1,"section-title"],"text":[1],"items":[16]}]]],["forja-features",[[260,"forja-features",{"sectionTitle":[1,"section-title"],"text":[1],"items":[16],"columns":[2]}]]],["forja-footer",[[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",[[260,"forja-gallery",{"sectionTitle":[1,"section-title"],"text":[1],"items":[16],"columns":[2]}]]],["forja-hero",[[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",[[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",[[260,"forja-logo-cloud",{"sectionTitle":[1,"section-title"],"text":[1],"logos":[16],"columns":[2],"grayscale":[4]}]]],["forja-nav",[[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",[[260,"forja-newsletter",{"sectionTitle":[1,"section-title"],"text":[1],"buttonText":[1,"button-text"],"formAction":[1,"form-action"],"showName":[4,"show-name"]}]]],["forja-portfolio",[[260,"forja-portfolio",{"sectionTitle":[1,"section-title"],"text":[1],"experiences":[16],"education":[16],"skills":[16],"columns":[2]}]]],["forja-pricing",[[260,"forja-pricing",{"sectionTitle":[1,"section-title"],"text":[1],"tiers":[16],"columns":[2]}]]],["forja-projects",[[260,"forja-projects",{"sectionTitle":[1,"section-title"],"text":[1],"items":[16],"columns":[2]}]]],["forja-section-renderer",[[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",[[260,"forja-stats",{"sectionTitle":[1,"section-title"],"text":[1],"items":[16],"columns":[2],"statsStyle":[1,"stats-style"]}]]],["forja-tag-cloud",[[260,"forja-tag-cloud",{"sectionTitle":[1,"section-title"],"text":[1],"tags":[16]}]]],["forja-team",[[260,"forja-team",{"sectionTitle":[1,"section-title"],"text":[1],"members":[16],"columns":[2],"showRole":[4,"show-role"],"showBio":[4,"show-bio"]}]]],["forja-testimonials",[[260,"forja-testimonials",{"sectionTitle":[1,"section-title"],"text":[1],"items":[16],"columns":[2]}]]],["forja-text-block",[[260,"forja-text-block",{"sectionTitle":[1,"section-title"],"text":[1],"width":[1],"alignment":[1]}]]],["forja-timeline",[[260,"forja-timeline",{"sectionTitle":[1,"section-title"],"text":[1],"events":[16],"layout":[1],"showDates":[4,"show-dates"]}]]],["forja-video",[[260,"forja-video",{"sectionTitle":[1,"section-title"],"text":[1],"videoUrl":[1,"video-url"],"provider":[1],"autoplay":[4],"aspectRatio":[1,"aspect-ratio"]}]]]], options);
|
|
8
|
+
return bootstrapLazy([["forja-blog",[[260,"forja-blog",{"sectionTitle":[1,"section-title"],"text":[1],"posts":[16],"columns":[2],"buttonText":[1,"button-text"],"buttonHref":[1,"button-href"]}]]],["forja-contact",[[260,"forja-contact",{"sectionTitle":[1,"section-title"],"text":[1],"buttonText":[1,"button-text"],"buttonHref":[1,"button-href"],"fields":[16],"formAction":[1,"form-action"],"botProtection":[1,"bot-protection"],"altchaChallengeUrl":[1,"altcha-challenge-url"],"botProtectionUnsolved":[32]}]]],["forja-cta",[[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",[[0,"forja-divider",{"dividerStyle":[1,"divider-style"],"label":[1]}]]],["forja-faq",[[260,"forja-faq",{"sectionTitle":[1,"section-title"],"text":[1],"items":[16]}]]],["forja-features",[[260,"forja-features",{"sectionTitle":[1,"section-title"],"text":[1],"items":[16],"columns":[2]}]]],["forja-footer",[[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",[[260,"forja-gallery",{"sectionTitle":[1,"section-title"],"text":[1],"items":[16],"columns":[2]}]]],["forja-hero",[[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",[[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",[[260,"forja-logo-cloud",{"sectionTitle":[1,"section-title"],"text":[1],"logos":[16],"columns":[2],"grayscale":[4]}]]],["forja-nav",[[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",[[260,"forja-newsletter",{"sectionTitle":[1,"section-title"],"text":[1],"buttonText":[1,"button-text"],"formAction":[1,"form-action"],"showName":[4,"show-name"],"botProtection":[1,"bot-protection"],"altchaChallengeUrl":[1,"altcha-challenge-url"],"botProtectionUnsolved":[32]}]]],["forja-portfolio",[[260,"forja-portfolio",{"sectionTitle":[1,"section-title"],"text":[1],"experiences":[16],"education":[16],"skills":[16],"columns":[2]}]]],["forja-pricing",[[260,"forja-pricing",{"sectionTitle":[1,"section-title"],"text":[1],"tiers":[16],"columns":[2]}]]],["forja-projects",[[260,"forja-projects",{"sectionTitle":[1,"section-title"],"text":[1],"items":[16],"columns":[2]}]]],["forja-section-renderer",[[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",[[260,"forja-stats",{"sectionTitle":[1,"section-title"],"text":[1],"items":[16],"columns":[2],"statsStyle":[1,"stats-style"]}]]],["forja-tag-cloud",[[260,"forja-tag-cloud",{"sectionTitle":[1,"section-title"],"text":[1],"tags":[16]}]]],["forja-team",[[260,"forja-team",{"sectionTitle":[1,"section-title"],"text":[1],"members":[16],"columns":[2],"showRole":[4,"show-role"],"showBio":[4,"show-bio"]}]]],["forja-testimonials",[[260,"forja-testimonials",{"sectionTitle":[1,"section-title"],"text":[1],"items":[16],"columns":[2]}]]],["forja-text-block",[[260,"forja-text-block",{"sectionTitle":[1,"section-title"],"text":[1],"width":[1],"alignment":[1]}]]],["forja-timeline",[[260,"forja-timeline",{"sectionTitle":[1,"section-title"],"text":[1],"events":[16],"layout":[1],"showDates":[4,"show-dates"]}]]],["forja-video",[[260,"forja-video",{"sectionTitle":[1,"section-title"],"text":[1],"videoUrl":[1,"video-url"],"provider":[1],"autoplay":[4],"aspectRatio":[1,"aspect-ratio"]}]]]], options);
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
export { defineCustomElements };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,b as e}from"./p-CJAmAUMU.js";export{s as setNonce}from"./p-CJAmAUMU.js";import{g as o}from"./p-DQuL1Twl.js";(()=>{const e=import.meta.url,o={};return""!==e&&(o.resourcesUrl=new URL(".",e).href),t(o)})().then((async t=>(await o(),e([["p-4a64fd63",[[260,"forja-blog",{sectionTitle:[1,"section-title"],text:[1],posts:[16],columns:[2],buttonText:[1,"button-text"],buttonHref:[1,"button-href"]}]]],["p-
|
|
1
|
+
import{p as t,b as e}from"./p-CJAmAUMU.js";export{s as setNonce}from"./p-CJAmAUMU.js";import{g as o}from"./p-DQuL1Twl.js";(()=>{const e=import.meta.url,o={};return""!==e&&(o.resourcesUrl=new URL(".",e).href),t(o)})().then((async t=>(await o(),e([["p-4a64fd63",[[260,"forja-blog",{sectionTitle:[1,"section-title"],text:[1],posts:[16],columns:[2],buttonText:[1,"button-text"],buttonHref:[1,"button-href"]}]]],["p-44c37ec0",[[260,"forja-contact",{sectionTitle:[1,"section-title"],text:[1],buttonText:[1,"button-text"],buttonHref:[1,"button-href"],fields:[16],formAction:[1,"form-action"],botProtection:[1,"bot-protection"],altchaChallengeUrl:[1,"altcha-challenge-url"],botProtectionUnsolved:[32]}]]],["p-f39766f7",[[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"]}]]],["p-3ce9384a",[[0,"forja-divider",{dividerStyle:[1,"divider-style"],label:[1]}]]],["p-a1b4e383",[[260,"forja-faq",{sectionTitle:[1,"section-title"],text:[1],items:[16]}]]],["p-d312478c",[[260,"forja-features",{sectionTitle:[1,"section-title"],text:[1],items:[16],columns:[2]}]]],["p-19cb5c13",[[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]}]]],["p-7835a30d",[[260,"forja-gallery",{sectionTitle:[1,"section-title"],text:[1],items:[16],columns:[2]}]]],["p-66dee454",[[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]}]]],["p-b79ab033",[[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"]}]]],["p-b4bf78b2",[[260,"forja-logo-cloud",{sectionTitle:[1,"section-title"],text:[1],logos:[16],columns:[2],grayscale:[4]}]]],["p-4b27f8f1",[[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]}]]],["p-53d27751",[[260,"forja-newsletter",{sectionTitle:[1,"section-title"],text:[1],buttonText:[1,"button-text"],formAction:[1,"form-action"],showName:[4,"show-name"],botProtection:[1,"bot-protection"],altchaChallengeUrl:[1,"altcha-challenge-url"],botProtectionUnsolved:[32]}]]],["p-52608627",[[260,"forja-portfolio",{sectionTitle:[1,"section-title"],text:[1],experiences:[16],education:[16],skills:[16],columns:[2]}]]],["p-680fe800",[[260,"forja-pricing",{sectionTitle:[1,"section-title"],text:[1],tiers:[16],columns:[2]}]]],["p-28d89696",[[260,"forja-projects",{sectionTitle:[1,"section-title"],text:[1],items:[16],columns:[2]}]]],["p-dbc78819",[[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]}]]],["p-da58a406",[[260,"forja-stats",{sectionTitle:[1,"section-title"],text:[1],items:[16],columns:[2],statsStyle:[1,"stats-style"]}]]],["p-a4cc2ee9",[[260,"forja-tag-cloud",{sectionTitle:[1,"section-title"],text:[1],tags:[16]}]]],["p-73d4139c",[[260,"forja-team",{sectionTitle:[1,"section-title"],text:[1],members:[16],columns:[2],showRole:[4,"show-role"],showBio:[4,"show-bio"]}]]],["p-2374ab45",[[260,"forja-testimonials",{sectionTitle:[1,"section-title"],text:[1],items:[16],columns:[2]}]]],["p-7dff4916",[[260,"forja-text-block",{sectionTitle:[1,"section-title"],text:[1],width:[1],alignment:[1]}]]],["p-7cd82cee",[[260,"forja-timeline",{sectionTitle:[1,"section-title"],text:[1],events:[16],layout:[1],showDates:[4,"show-dates"]}]]],["p-df44677a",[[260,"forja-video",{sectionTitle:[1,"section-title"],text:[1],videoUrl:[1,"video-url"],provider:[1],autoplay:[4],aspectRatio:[1,"aspect-ratio"]}]]]],t))));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as a}from"./p-CJAmAUMU.js";function t(a){const t=a.querySelector('input[name="altcha"]');return!!t&&t.value.length>0}function n(t,n){return a("altcha-widget",{class:{"forja-altcha":!0},name:"altcha",challenge:t,"data-testid":n})}export{t as a,n as r}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,h as a}from"./p-CJAmAUMU.js";import{s as t}from"./p-CTbyYfdB.js";const
|
|
1
|
+
import{r as s,h as a}from"./p-CJAmAUMU.js";import{s as t}from"./p-CTbyYfdB.js";const i=class{constructor(a){s(this,a)}render(){const s=this.items&&this.items.length>0;return a("section",{key:"348a3aea6d842d43dcbb8506111d2146347ecf65",class:"forja-testimonials","aria-label":t(this.sectionTitle,"Testimonials")},a("slot",{key:"4d372a82bb34fc2408cb168f349550f5213c1152",name:"before"}),this.sectionTitle&&a("h2",{key:"52323f5e292192065b3ab8a54efb76bc2cb9247f",class:"forja-testimonials__title"},this.sectionTitle),this.text&&a("div",{key:"f285a90d384919c0a6221b02ef2bdddf584c8636",class:"forja-testimonials__text",innerHTML:this.text}),a("div",{class:"forja-testimonials__list",role:"list","data-columns":this.columns},s?this.items.map((s=>a("blockquote",{class:"forja-testimonials__item",role:"listitem"},a("p",{class:"forja-testimonials__quote"},s.quote),a("footer",{class:"forja-testimonials__attribution"},s.avatarUrl&&a("img",{src:s.avatarUrl,alt:"",class:"forja-testimonials__avatar",loading:"lazy"}),a("cite",{class:"forja-testimonials__author"},a("span",{class:"forja-testimonials__name"},s.author),s.role&&a("span",{class:"forja-testimonials__role"},s.role)))))):a("slot",null)),a("slot",{key:"5c88e789b532b1039e2b0c74ec0afc4fb63185fb",name:"after"}))}};export{i as forja_testimonials}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,h as a}from"./p-CJAmAUMU.js";import{s as
|
|
1
|
+
import{r as s,h as a}from"./p-CJAmAUMU.js";import{s as c}from"./p-CTbyYfdB.js";const e=class{constructor(a){s(this,a)}render(){const s=this.items&&this.items.length>0;return a("section",{key:"4fddb0d0031673c60d81741111e6fff5ebbb20a6",class:"forja-projects","aria-label":c(this.sectionTitle,"Projects")},a("slot",{key:"0a295eabcbfa33f584f1538b84b70cb85fd012ae",name:"before"}),this.sectionTitle&&a("h2",{key:"3792ed7f5e6e86dc9fd36274a361bffcc1267d8e",class:"forja-projects__title"},this.sectionTitle),this.text&&a("div",{key:"246daa3ff95477f019d70c1d2c3c24ccade0ecb1",class:"forja-projects__text",innerHTML:this.text}),s?a("div",{class:"forja-projects__grid",role:"list","data-columns":this.columns},this.items.map((s=>a("article",{class:"forja-projects__card",role:"listitem"},s.imageUrl&&a("img",{src:s.imageUrl,alt:"",class:"forja-projects__image",loading:"lazy"}),a("div",{class:"forja-projects__content"},a("div",{class:"forja-projects__header"},a("h3",{class:"forja-projects__name"},s.href?a("a",{href:s.href,class:"forja-projects__link"},s.title):s.title),s.status&&a("span",{class:"forja-projects__status"},s.status)),s.description&&a("div",{class:"forja-projects__description",innerHTML:s.description}),s.tags&&s.tags.length>0&&a("ul",{class:"forja-projects__tags"},s.tags.map((s=>a("li",{class:"forja-projects__tag"},s))))))))):a("slot",null),a("slot",{key:"605aa0a889bdc8199dca6895248f3cf19d8d4c83",name:"after"}))}};export{e as forja_projects}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as a,h as e}from"./p-CJAmAUMU.js";import{a as c,s}from"./p-CTbyYfdB.js";import{a as r,r as o}from"./p-0ZAX27KB.js";const i=class{constructor(e){t(this,e),this.forjaSubmit=a(this,"forjaSubmit"),this.botProtection="none",this.botProtectionUnsolved=!1,this.handleSubmit=t=>{t.preventDefault();const a=t.target;!this.requiresAltcha||r(a)?(this.botProtectionUnsolved=!1,this.forjaSubmit.emit(new FormData(a))):this.botProtectionUnsolved=!0}}get requiresAltcha(){return"mandatory"===this.botProtection}render(){const t=this.fields&&this.fields.length>0;return e("section",{key:"f5fa0e767bf2ed4abf6cf716b170fba8ac8fc569",class:"forja-contact","aria-label":s(this.sectionTitle,"Contact")},e("slot",{key:"ee7559a984260125a9f7bbece28a3383e5b8d383",name:"before"}),e("div",{key:"0ed33ac797e6f9e540d8b62a81f060b3d94f3303",class:"forja-contact__content"},this.sectionTitle&&e("h2",{key:"40d2850b9d1add8cd37b0238818c9bd351db2c0f",class:"forja-contact__title"},this.sectionTitle),this.text&&e("div",{key:"03487d7fdd10dfc55044eb320a26bc9ba69e122e",class:"forja-contact__text",innerHTML:this.text}),this.buttonText&&this.buttonHref&&e("a",{key:"7836f8b9458ce0a90309ccca829fb5a452d2eeec",href:this.buttonHref,class:"forja-contact__cta"},this.buttonText)),t?e("form",{class:"forja-contact__form",action:this.formAction,method:this.formAction?"post":void 0,onSubmit:this.handleSubmit},this.fields.map((t=>{const a=c(t.name,"contact");return e("div",{class:"forja-contact__field"},e("label",{class:"forja-contact__label",htmlFor:a},t.label,t.required&&e("span",{"aria-hidden":"true"}," *")),"textarea"===t.type?e("textarea",{id:a,name:t.name,class:"forja-contact__input forja-contact__input--textarea",required:t.required,"aria-required":t.required?"true":void 0,placeholder:t.placeholder}):e("input",{id:a,name:t.name,type:t.type,class:"forja-contact__input",required:t.required,"aria-required":t.required?"true":void 0,placeholder:t.placeholder}))})),this.requiresAltcha&&o(this.altchaChallengeUrl,"forja-contact-altcha"),this.botProtectionUnsolved&&e("p",{class:"forja-contact__error",role:"alert","data-testid":"forja-contact-altcha-error"},"Please complete the verification before submitting."),e("button",{type:"submit",class:"forja-contact__submit"},this.buttonText||"Send")):e("slot",null),e("slot",{key:"71b4d6ede8b21c3e841a74477c1093a5e8fc33fa",name:"after"}))}};export{i as forja_contact}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,h as r}from"./p-CJAmAUMU.js";import{s}from"./p-CTbyYfdB.js";const l=class{constructor(r){o(this,r)}renderExperiences(){return this.experiences&&0!==this.experiences.length?r("div",{class:"forja-portfolio__experiences"},r("h3",{class:"forja-portfolio__group-title"},"Experience"),r("ol",{class:"forja-portfolio__list"},this.experiences.map((o=>r("li",{class:"forja-portfolio__entry"},r("article",{class:"forja-portfolio__card"},o.logoUrl&&r("img",{src:o.logoUrl,alt:"",class:"forja-portfolio__logo",loading:"lazy"}),r("div",{class:"forja-portfolio__details"},r("h4",{class:"forja-portfolio__role"},o.role),r("p",{class:"forja-portfolio__company"},o.company),o.period&&r("time",{class:"forja-portfolio__period"},o.period),o.description&&r("div",{class:"forja-portfolio__description",innerHTML:o.description})))))))):null}renderEducation(){return this.education&&0!==this.education.length?r("div",{class:"forja-portfolio__education"},r("h3",{class:"forja-portfolio__group-title"},"Education"),r("ol",{class:"forja-portfolio__list"},this.education.map((o=>r("li",{class:"forja-portfolio__entry"},r("article",{class:"forja-portfolio__card"},r("div",{class:"forja-portfolio__details"},r("h4",{class:"forja-portfolio__role"},o.degree),r("p",{class:"forja-portfolio__company"},o.institution),o.period&&r("time",{class:"forja-portfolio__period"},o.period),o.description&&r("div",{class:"forja-portfolio__description",innerHTML:o.description})))))))):null}renderSkills(){if(!this.skills||0===this.skills.length)return null;const o=this.skills.reduce(((o,r)=>{const s=r.category||"General";return o[s]||(o[s]=[]),o[s].push(r),o}),{});return r("div",{class:"forja-portfolio__skills"},r("h3",{class:"forja-portfolio__group-title"},"Skills"),Object.entries(o).map((([s,l])=>r("div",{class:"forja-portfolio__skill-group"},Object.keys(o).length>1&&r("h4",{class:"forja-portfolio__skill-category"},s),r("ul",{class:"forja-portfolio__skill-list","data-columns":this.columns},l.map((o=>r("li",{class:"forja-portfolio__skill"},o.name))))))))}render(){return r("section",{key:"
|
|
1
|
+
import{r as o,h as r}from"./p-CJAmAUMU.js";import{s}from"./p-CTbyYfdB.js";const l=class{constructor(r){o(this,r)}renderExperiences(){return this.experiences&&0!==this.experiences.length?r("div",{class:"forja-portfolio__experiences"},r("h3",{class:"forja-portfolio__group-title"},"Experience"),r("ol",{class:"forja-portfolio__list"},this.experiences.map((o=>r("li",{class:"forja-portfolio__entry"},r("article",{class:"forja-portfolio__card"},o.logoUrl&&r("img",{src:o.logoUrl,alt:"",class:"forja-portfolio__logo",loading:"lazy"}),r("div",{class:"forja-portfolio__details"},r("h4",{class:"forja-portfolio__role"},o.role),r("p",{class:"forja-portfolio__company"},o.company),o.period&&r("time",{class:"forja-portfolio__period"},o.period),o.description&&r("div",{class:"forja-portfolio__description",innerHTML:o.description})))))))):null}renderEducation(){return this.education&&0!==this.education.length?r("div",{class:"forja-portfolio__education"},r("h3",{class:"forja-portfolio__group-title"},"Education"),r("ol",{class:"forja-portfolio__list"},this.education.map((o=>r("li",{class:"forja-portfolio__entry"},r("article",{class:"forja-portfolio__card"},r("div",{class:"forja-portfolio__details"},r("h4",{class:"forja-portfolio__role"},o.degree),r("p",{class:"forja-portfolio__company"},o.institution),o.period&&r("time",{class:"forja-portfolio__period"},o.period),o.description&&r("div",{class:"forja-portfolio__description",innerHTML:o.description})))))))):null}renderSkills(){if(!this.skills||0===this.skills.length)return null;const o=this.skills.reduce(((o,r)=>{const s=r.category||"General";return o[s]||(o[s]=[]),o[s].push(r),o}),{});return r("div",{class:"forja-portfolio__skills"},r("h3",{class:"forja-portfolio__group-title"},"Skills"),Object.entries(o).map((([s,l])=>r("div",{class:"forja-portfolio__skill-group"},Object.keys(o).length>1&&r("h4",{class:"forja-portfolio__skill-category"},s),r("ul",{class:"forja-portfolio__skill-list","data-columns":this.columns},l.map((o=>r("li",{class:"forja-portfolio__skill"},o.name))))))))}render(){return r("section",{key:"506011a5c845a8cbee32a77a2081a269efa3c2d4",class:"forja-portfolio","aria-label":s(this.sectionTitle,"Portfolio")},r("slot",{key:"f4c91d111a4e49a2492a5056376b1c2245d7db1f",name:"before"}),this.sectionTitle&&r("h2",{key:"801b3d72f636ed6e5d51f37748ad980970acc72c",class:"forja-portfolio__title"},this.sectionTitle),this.text&&r("div",{key:"2770e9835554376f00a46ad670cc2530651e6dfc",class:"forja-portfolio__text",innerHTML:this.text}),this.renderExperiences(),this.renderEducation(),this.renderSkills(),r("slot",{key:"48ded21e8a2ac6d279ea1e39d6fa6eaec32ef7aa",name:"after"}))}};export{l as forja_portfolio}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,c as t,h as a}from"./p-CJAmAUMU.js";import{a as s,s as r}from"./p-CTbyYfdB.js";import{a as i,r as f}from"./p-0ZAX27KB.js";const c=class{constructor(a){e(this,a),this.forjaSubmit=t(this,"forjaSubmit"),this.buttonText="Subscribe",this.botProtection="none",this.botProtectionUnsolved=!1,this.handleSubmit=e=>{e.preventDefault();const t=e.target;!this.requiresAltcha||i(t)?(this.botProtectionUnsolved=!1,this.forjaSubmit.emit(new FormData(t))):this.botProtectionUnsolved=!0}}get requiresAltcha(){return"mandatory"===this.botProtection}render(){const e=s(this.sectionTitle,"newsletter-email"),t=s(this.sectionTitle,"newsletter-name");return a("section",{key:"0d15c9d013c2f1250999ad86d853cbb5126bbddc",class:"forja-newsletter","aria-label":r(this.sectionTitle,"Newsletter")},a("slot",{key:"aba062b799c952a6936267573bf841fb7403a350",name:"before"}),this.sectionTitle&&a("h2",{key:"f00db5dd8b536dca31d1f39453753e4e9126f97f",class:"forja-newsletter__title"},this.sectionTitle),this.text&&a("div",{key:"857102c1929b0615a5782d97ffc969d12bb3bec6",class:"forja-newsletter__text",innerHTML:this.text}),a("form",{key:"9ac77419043d02719d05c949e8ac6e13f411affe",class:"forja-newsletter__form",action:this.formAction,method:this.formAction?"post":void 0,onSubmit:this.handleSubmit},this.showName&&a("div",{key:"073625ebadd2dd040dc19e48f136adb4919d428b",class:"forja-newsletter__field"},a("label",{key:"3133a36ccdf1c7f8a7204e2e83c71b16b1e4dcf2",class:"forja-newsletter__label",htmlFor:t},"Name"),a("input",{key:"f49b6e4e3b7f1037e6b7aaa18a6a4b10cb15d730",id:t,name:"name",type:"text",class:"forja-newsletter__input"})),a("div",{key:"59b5408e884026f6351b1397e536fc184ac2c1de",class:"forja-newsletter__field"},a("label",{key:"436373562856e04f27addcacba5083805155c913",class:"forja-newsletter__label",htmlFor:e},"Email"),a("input",{key:"042c434c7fab15fd4235e1fe2d6b509db81d1e43",id:e,name:"email",type:"email",class:"forja-newsletter__input",required:!0,"aria-required":"true"})),this.requiresAltcha&&f(this.altchaChallengeUrl,"forja-newsletter-altcha"),this.botProtectionUnsolved&&a("p",{key:"4375ea4a0f67a9dad1b6e1797e898c4b90125dfb",class:"forja-newsletter__error",role:"alert","data-testid":"forja-newsletter-altcha-error"},"Please complete the verification before submitting."),a("button",{key:"7eddc2c91799598f71af799af6c46159d688195a",type:"submit",class:"forja-newsletter__submit"},this.buttonText)),a("slot",{key:"f13a320d972bbb402cb218ee6d4d2650f5f15161",name:"after"}))}};export{c as forja_newsletter}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as i,h as s}from"./p-CJAmAUMU.js";import{s as a}from"./p-CTbyYfdB.js";const r=class{constructor(s){i(this,s)}render(){const i=this.tiers&&this.tiers.length>0;return s("section",{key:"ecb73e364f3f4892d3d937fc7fa5df7b1f1a338e",class:"forja-pricing","aria-label":a(this.sectionTitle,"Pricing")},s("slot",{key:"08905beca81a6eb6afb74d161f47bc7e0f5b69c4",name:"before"}),(this.sectionTitle||this.text)&&s("div",{key:"fa94236ab6731c6e2f7401075bba874ed39206b9",class:"forja-pricing__header"},this.sectionTitle&&s("h2",{key:"8ced20c10ac8235fd2525c6cbbc4b5689c10fe18",class:"forja-pricing__title"},this.sectionTitle),this.text&&s("div",{key:"bf6f79ee461263f8e5bd9af2c2233683fe6cf110",class:"forja-pricing__text",innerHTML:this.text})),s("div",{class:"forja-pricing__tiers",role:"list","data-columns":this.columns},i?this.tiers.map((i=>s("div",{class:"forja-pricing__tier"+(i.highlighted?" forja-pricing__tier--highlighted":""),role:"listitem"},s("h3",{class:"forja-pricing__tier-name"},i.name),s("div",{class:"forja-pricing__price"},s("span",{class:"forja-pricing__amount"},i.price),i.period&&s("span",{class:"forja-pricing__period"},i.period)),i.description&&s("p",{class:"forja-pricing__description"},i.description),i.features&&i.features.length>0&&s("ul",{class:"forja-pricing__features"},i.features.map((i=>s("li",{class:"forja-pricing__feature"},i)))),i.buttonText&&i.buttonHref&&s("a",{href:i.buttonHref,class:"forja-pricing__cta"},i.buttonText)))):s("slot",null)),s("slot",{key:"138c32c758745fc0c225c981e15da56557659395",name:"after"}))}};export{r as forja_pricing}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as a,h as e}from"./p-CJAmAUMU.js";import{s}from"./p-CTbyYfdB.js";const t=class{constructor(e){a(this,e),this.showRole=!0,this.showBio=!0}render(){const a=this.members&&this.members.length>0;return e("section",{key:"65ab08dab0a410e178ce2b0a010987533b575bcd",class:"forja-team","aria-label":s(this.sectionTitle,"Team")},e("slot",{key:"daa75a84eb8bf43d21057b9f3620f96407d65007",name:"before"}),this.sectionTitle&&e("h2",{key:"682f5ee8cf15e378cdb6b33cc80e078886ca29ce",class:"forja-team__title"},this.sectionTitle),this.text&&e("div",{key:"4ce99703de2127a6637bd7e86c3bc0944c6b5960",class:"forja-team__text",innerHTML:this.text}),a?e("ul",{class:"forja-team__grid",role:"list","data-columns":this.columns},this.members.map((a=>e("li",{class:"forja-team__member"},a.imageUrl&&e("figure",{class:"forja-team__photo"},e("img",{src:a.imageUrl,alt:a.name,class:"forja-team__image",loading:"lazy"})),e("h3",{class:"forja-team__name"},a.name),this.showRole&&a.role&&e("p",{class:"forja-team__role"},a.role),this.showBio&&a.bio&&e("p",{class:"forja-team__bio"},a.bio))))):e("slot",null),e("slot",{key:"97fff600c6ed995066a34008edee4a73a9c954d2",name:"after"}))}};export{t as forja_team}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as t}from"./p-CJAmAUMU.js";import{s as i}from"./p-CTbyYfdB.js";const s=class{constructor(t){e(this,t),this.layout="vertical",this.showDates=!0}render(){const e=this.events&&this.events.length>0,s=["forja-timeline",`forja-timeline--${this.layout}`].join(" ");return t("section",{key:"
|
|
1
|
+
import{r as e,h as t}from"./p-CJAmAUMU.js";import{s as i}from"./p-CTbyYfdB.js";const s=class{constructor(t){e(this,t),this.layout="vertical",this.showDates=!0}render(){const e=this.events&&this.events.length>0,s=["forja-timeline",`forja-timeline--${this.layout}`].join(" ");return t("section",{key:"2dce62c902a967d64dd5b6a611a177335db92965",class:s,"aria-label":i(this.sectionTitle,"Timeline")},t("slot",{key:"a68408fe55ac0b4ff1717d90abf94df9744395e8",name:"before"}),this.sectionTitle&&t("h2",{key:"59f55ce9bc8783f510050851f19d124e1e10c869",class:"forja-timeline__title"},this.sectionTitle),this.text&&t("div",{key:"16c053110be832993154c4e88b9f29370d3b66e0",class:"forja-timeline__text",innerHTML:this.text}),e?t("ol",{class:"forja-timeline__list"},this.events.map((e=>t("li",{class:"forja-timeline__item"},this.showDates&&e.date&&t("time",{class:"forja-timeline__date"},e.date),t("h3",{class:"forja-timeline__event-title"},e.title),e.text&&t("div",{class:"forja-timeline__event-text",innerHTML:e.text}))))):t("slot",null),t("slot",{key:"112addeae24306716d65f4500fb6a2dbafb8a977",name:"after"}))}};export{s as forja_timeline}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as e}from"./p-CJAmAUMU.js";import{s}from"./p-CTbyYfdB.js";const c=class{constructor(e){t(this,e),this.width="default",this.alignment="left"}render(){const t=["forja-text",`forja-text--${this.width}`,`forja-text--${this.alignment}`].join(" ");return e("section",{key:"797f9ac88c3c03e2c41e7b8b3bf54b4d43dc3fd9",class:t,"aria-label":s(this.sectionTitle,"Content")},e("slot",{key:"dc6cc88ac6fde0dc315651f0d7372c3fb44527fc",name:"before"}),this.sectionTitle&&e("h2",{key:"c3e5c0b9bbd3037a9c54db36027928b67a14318f",class:"forja-text__title"},this.sectionTitle),this.text?e("div",{class:"forja-text__content",innerHTML:this.text}):e("div",{class:"forja-text__content"},e("slot",null)),e("slot",{key:"8fe560073c81469ef6669ff945df4d102699152c",name:"after"}))}};export{c as forja_text_block}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as a,h as s}from"./p-CJAmAUMU.js";import{s as l}from"./p-CTbyYfdB.js";const t=class{constructor(s){a(this,s)}render(){const a=this.tags&&this.tags.length>0;return s("section",{key:"
|
|
1
|
+
import{r as a,h as s}from"./p-CJAmAUMU.js";import{s as l}from"./p-CTbyYfdB.js";const t=class{constructor(s){a(this,s)}render(){const a=this.tags&&this.tags.length>0;return s("section",{key:"eb6d00e49fa790e23e2397f4927e20d545222217",class:"forja-tag-cloud","aria-label":l(this.sectionTitle,"Tags")},s("slot",{key:"8a34fd949d2f96dd8fd92d6479a052373fc09d00",name:"before"}),this.sectionTitle&&s("h2",{key:"90fd03b82e40b74a16c91ba8c86100e9868239bb",class:"forja-tag-cloud__title"},this.sectionTitle),this.text&&s("div",{key:"7cf8c4c19943defa0e23f852ab27372307fa45b8",class:"forja-tag-cloud__text",innerHTML:this.text}),a?s("nav",{class:"forja-tag-cloud__nav","aria-label":"Tags"},s("ul",{class:"forja-tag-cloud__list",role:"list"},this.tags.map((a=>s("li",{class:"forja-tag-cloud__item"},a.href?s("a",{href:a.href,class:"forja-tag-cloud__tag"},s("span",{class:"forja-tag-cloud__label"},a.label),null!=a.count&&s("span",{class:"forja-tag-cloud__count","aria-label":`${a.count} items`},"(",a.count,")")):s("span",{class:"forja-tag-cloud__tag"},s("span",{class:"forja-tag-cloud__label"},a.label),null!=a.count&&s("span",{class:"forja-tag-cloud__count","aria-label":`${a.count} items`},"(",a.count,")"))))))):s("slot",null),s("slot",{key:"9d24cb03b6ea67f87f11dd97410ae25ae389276b",name:"after"}))}};export{t as forja_tag_cloud}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as t}from"./p-CJAmAUMU.js";import{s as a}from"./p-CTbyYfdB.js";const e=class{constructor(t){s(this,t)}render(){const s=this.items&&this.items.length>0,e=["forja-stats",this.statsStyle&&`forja-stats--${this.statsStyle}`].filter(Boolean).join(" ");return t("section",{key:"cf1a9139a3b18e099e66f5abcfdcf7f5c90cdf74",class:e,"aria-label":a(this.sectionTitle,"Statistics")},t("slot",{key:"fc61e06e592f1cc1d1f36d47b2b8fd33b520f421",name:"before"}),this.sectionTitle&&t("h2",{key:"42026c0e7b55f0f7b185d969ca1219b1c44f7632",class:"forja-stats__title"},this.sectionTitle),this.text&&t("div",{key:"d6f9d119958786dbef4aa39e6bae82a22465e21a",class:"forja-stats__text",innerHTML:this.text}),s?t("dl",{class:"forja-stats__list","data-columns":this.columns},this.items.map((s=>t("div",{class:"forja-stats__item"},t("dd",{class:"forja-stats__value"},s.value),t("dt",{class:"forja-stats__label"},s.label))))):t("slot",null),t("slot",{key:"468c62818cee963c316c57891964bac3d4f793a6",name:"after"}))}};export{e as forja_stats}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as s}from"./p-CJAmAUMU.js";import{s as t}from"./p-CTbyYfdB.js";const a=class{constructor(s){e(this,s),this.provider="youtube",this.autoplay=!1,this.aspectRatio="16:9"}getAspectClass(){return{"16:9":"forja-video--16-9","4:3":"forja-video--4-3","1:1":"forja-video--1-1"}[this.aspectRatio]||"forja-video--16-9"}isSelfHosted(){return"self-hosted"===this.provider}render(){const e=["forja-video",this.getAspectClass()].join(" ");return s("section",{key:"3243f9bd00cd257d706cf6ca3ee463fc2f1de542",class:e,"aria-label":t(this.sectionTitle,"Video")},s("slot",{key:"a95a30fcd2ce9e696a614b3e5614c32f23bb887c",name:"before"}),this.sectionTitle&&s("h2",{key:"d43d21c2d9e78ac33670d6c7073180d813c2d868",class:"forja-video__title"},this.sectionTitle),this.text&&s("div",{key:"98a11b54335f07c79f8ed7a0576378d223f91bfb",class:"forja-video__text",innerHTML:this.text}),this.videoUrl&&s("figure",{key:"b6e4b9436e7c4f0040b00d8173ac2cf417acd575",class:"forja-video__container"},this.isSelfHosted()?s("video",{class:"forja-video__player",src:this.videoUrl,controls:!0,autoplay:this.autoplay},s("track",{kind:"captions"})):s("iframe",{class:"forja-video__embed",src:this.autoplay?`${this.videoUrl}?autoplay=1`:this.videoUrl,title:this.sectionTitle||"Embedded video",allowFullScreen:!0,loading:"lazy"})),s("slot",{key:"788a8b32e8e0e524cf681995cd25f3b4ed565371",name:"after"}))}};export{a as forja_video}
|
|
@@ -7,7 +7,25 @@ export declare class ForjaContact {
|
|
|
7
7
|
buttonHref?: string;
|
|
8
8
|
fields?: ContactField[];
|
|
9
9
|
formAction?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Bot-protection requirement for this form (#773). When `'mandatory'`, a
|
|
12
|
+
* self-hosted ALTCHA widget is rendered and submission is blocked until the
|
|
13
|
+
* visitor's browser has solved the proof-of-work. The open-source
|
|
14
|
+
* `<altcha-widget>` element must be registered by the host page (e.g.
|
|
15
|
+
* `import 'altcha'`) — no Sentinel/paid features are used.
|
|
16
|
+
*/
|
|
17
|
+
botProtection: 'none' | 'mandatory';
|
|
18
|
+
/**
|
|
19
|
+
* Endpoint the ALTCHA widget fetches a fresh challenge from — typically the
|
|
20
|
+
* SDK's `/public/forms/{slug}/altcha-challenge`. The widget injects the
|
|
21
|
+
* solved payload into the form as a hidden `altcha` field, which is emitted
|
|
22
|
+
* with the submission for the consumer to forward as `botProtectionToken`.
|
|
23
|
+
*/
|
|
24
|
+
altchaChallengeUrl?: string;
|
|
25
|
+
/** Set when a Mandatory form is submitted before ALTCHA is solved. */
|
|
26
|
+
private botProtectionUnsolved;
|
|
10
27
|
forjaSubmit: EventEmitter<FormData>;
|
|
28
|
+
private get requiresAltcha();
|
|
11
29
|
private handleSubmit;
|
|
12
30
|
render(): any;
|
|
13
31
|
}
|
|
@@ -5,7 +5,15 @@ export declare class ForjaNewsletter {
|
|
|
5
5
|
buttonText?: string;
|
|
6
6
|
formAction?: string;
|
|
7
7
|
showName?: boolean;
|
|
8
|
+
/** Bot-protection requirement (#773). When `'mandatory'`, renders a
|
|
9
|
+
* self-hosted ALTCHA widget and gates submission until it is solved. */
|
|
10
|
+
botProtection: 'none' | 'mandatory';
|
|
11
|
+
/** Challenge endpoint the ALTCHA widget fetches from (#770). */
|
|
12
|
+
altchaChallengeUrl?: string;
|
|
13
|
+
/** Set when a Mandatory form is submitted before ALTCHA is solved. */
|
|
14
|
+
private botProtectionUnsolved;
|
|
8
15
|
forjaSubmit: EventEmitter<FormData>;
|
|
16
|
+
private get requiresAltcha();
|
|
9
17
|
private handleSubmit;
|
|
10
18
|
render(): any;
|
|
11
19
|
}
|
|
@@ -17,6 +17,15 @@ export namespace Components {
|
|
|
17
17
|
"text"?: string;
|
|
18
18
|
}
|
|
19
19
|
interface ForjaContact {
|
|
20
|
+
/**
|
|
21
|
+
* Endpoint the ALTCHA widget fetches a fresh challenge from — typically the SDK's `/public/forms/{slug}/altcha-challenge`. The widget injects the solved payload into the form as a hidden `altcha` field, which is emitted with the submission for the consumer to forward as `botProtectionToken`.
|
|
22
|
+
*/
|
|
23
|
+
"altchaChallengeUrl"?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Bot-protection requirement for this form (#773). When `'mandatory'`, a self-hosted ALTCHA widget is rendered and submission is blocked until the visitor's browser has solved the proof-of-work. The open-source `<altcha-widget>` element must be registered by the host page (e.g. `import 'altcha'`) — no Sentinel/paid features are used.
|
|
26
|
+
* @default 'none'
|
|
27
|
+
*/
|
|
28
|
+
"botProtection": 'none' | 'mandatory';
|
|
20
29
|
"buttonHref"?: string;
|
|
21
30
|
"buttonText"?: string;
|
|
22
31
|
"fields"?: ContactField[];
|
|
@@ -168,6 +177,15 @@ export namespace Components {
|
|
|
168
177
|
"siteName"?: string;
|
|
169
178
|
}
|
|
170
179
|
interface ForjaNewsletter {
|
|
180
|
+
/**
|
|
181
|
+
* Challenge endpoint the ALTCHA widget fetches from (#770).
|
|
182
|
+
*/
|
|
183
|
+
"altchaChallengeUrl"?: string;
|
|
184
|
+
/**
|
|
185
|
+
* Bot-protection requirement (#773). When `'mandatory'`, renders a self-hosted ALTCHA widget and gates submission until it is solved.
|
|
186
|
+
* @default 'none'
|
|
187
|
+
*/
|
|
188
|
+
"botProtection": 'none' | 'mandatory';
|
|
171
189
|
/**
|
|
172
190
|
* @default 'Subscribe'
|
|
173
191
|
*/
|
|
@@ -518,6 +536,15 @@ declare namespace LocalJSX {
|
|
|
518
536
|
"text"?: string;
|
|
519
537
|
}
|
|
520
538
|
interface ForjaContact {
|
|
539
|
+
/**
|
|
540
|
+
* Endpoint the ALTCHA widget fetches a fresh challenge from — typically the SDK's `/public/forms/{slug}/altcha-challenge`. The widget injects the solved payload into the form as a hidden `altcha` field, which is emitted with the submission for the consumer to forward as `botProtectionToken`.
|
|
541
|
+
*/
|
|
542
|
+
"altchaChallengeUrl"?: string;
|
|
543
|
+
/**
|
|
544
|
+
* Bot-protection requirement for this form (#773). When `'mandatory'`, a self-hosted ALTCHA widget is rendered and submission is blocked until the visitor's browser has solved the proof-of-work. The open-source `<altcha-widget>` element must be registered by the host page (e.g. `import 'altcha'`) — no Sentinel/paid features are used.
|
|
545
|
+
* @default 'none'
|
|
546
|
+
*/
|
|
547
|
+
"botProtection"?: 'none' | 'mandatory';
|
|
521
548
|
"buttonHref"?: string;
|
|
522
549
|
"buttonText"?: string;
|
|
523
550
|
"fields"?: ContactField[];
|
|
@@ -672,6 +699,15 @@ declare namespace LocalJSX {
|
|
|
672
699
|
"siteName"?: string;
|
|
673
700
|
}
|
|
674
701
|
interface ForjaNewsletter {
|
|
702
|
+
/**
|
|
703
|
+
* Challenge endpoint the ALTCHA widget fetches from (#770).
|
|
704
|
+
*/
|
|
705
|
+
"altchaChallengeUrl"?: string;
|
|
706
|
+
/**
|
|
707
|
+
* Bot-protection requirement (#773). When `'mandatory'`, renders a self-hosted ALTCHA widget and gates submission until it is solved.
|
|
708
|
+
* @default 'none'
|
|
709
|
+
*/
|
|
710
|
+
"botProtection"?: 'none' | 'mandatory';
|
|
675
711
|
/**
|
|
676
712
|
* @default 'Subscribe'
|
|
677
713
|
*/
|
|
@@ -801,6 +837,8 @@ declare namespace LocalJSX {
|
|
|
801
837
|
"buttonText": string;
|
|
802
838
|
"buttonHref": string;
|
|
803
839
|
"formAction": string;
|
|
840
|
+
"botProtection": 'none' | 'mandatory';
|
|
841
|
+
"altchaChallengeUrl": string;
|
|
804
842
|
}
|
|
805
843
|
interface ForjaCtaAttributes {
|
|
806
844
|
"sectionTitle": string;
|
|
@@ -877,6 +915,8 @@ declare namespace LocalJSX {
|
|
|
877
915
|
"buttonText": string;
|
|
878
916
|
"formAction": string;
|
|
879
917
|
"showName": boolean;
|
|
918
|
+
"botProtection": 'none' | 'mandatory';
|
|
919
|
+
"altchaChallengeUrl": string;
|
|
880
920
|
}
|
|
881
921
|
interface ForjaPortfolioAttributes {
|
|
882
922
|
"sectionTitle": string;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Self-hosted ALTCHA helpers shared by the form sections (#773).
|
|
3
|
+
*
|
|
4
|
+
* The open-source `<altcha-widget>` custom element solves a server-issued
|
|
5
|
+
* proof-of-work challenge and injects a hidden `altcha` input carrying the
|
|
6
|
+
* solved payload. Forms forward that payload to the API as the submission's
|
|
7
|
+
* `bot_protection_token`. No Sentinel / paid features are involved; the host
|
|
8
|
+
* page registers the widget (e.g. `import 'altcha'`).
|
|
9
|
+
*/
|
|
10
|
+
/** True once the widget has injected a non-empty solved `altcha` input. */
|
|
11
|
+
export declare function altchaSolved(form: HTMLFormElement): boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Render the ALTCHA widget bound to a per-form challenge endpoint. `testId`
|
|
14
|
+
* lets each section namespace its widget for e2e targeting.
|
|
15
|
+
*/
|
|
16
|
+
export declare function renderAltchaWidget(challengeUrl: string | undefined, testId: string): import("@stencil/core").VNode;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forjacms/sections",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.7",
|
|
4
4
|
"description": "Framework-agnostic Web Components for rendering Forja page sections. Zero CSS — bring your own styles via BEM class hooks.",
|
|
5
5
|
"author": "Dominik Dorfstetter <dominik@dorfstetter.at>",
|
|
6
6
|
"type": "module",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as e}from"./p-CJAmAUMU.js";import{s}from"./p-CTbyYfdB.js";const a=class{constructor(e){t(this,e),this.width="default",this.alignment="left"}render(){const t=["forja-text",`forja-text--${this.width}`,`forja-text--${this.alignment}`].join(" ");return e("section",{key:"2cc7f40271cc449ec8b4fc88576398a0b0763aca",class:t,"aria-label":s(this.sectionTitle,"Content")},e("slot",{key:"7da4597bc3dde56e4ae4179ae871f08f332c1c7f",name:"before"}),this.sectionTitle&&e("h2",{key:"ba03ee398659bf8926d6c434012b553e430a9413",class:"forja-text__title"},this.sectionTitle),this.text?e("div",{class:"forja-text__content",innerHTML:this.text}):e("div",{class:"forja-text__content"},e("slot",null)),e("slot",{key:"138eeef4fa534fd22772da123bbd6b7b30c20078",name:"after"}))}};export{a as forja_text_block}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as a}from"./p-CJAmAUMU.js";import{s}from"./p-CTbyYfdB.js";const t=class{constructor(a){e(this,a),this.provider="youtube",this.autoplay=!1,this.aspectRatio="16:9"}getAspectClass(){return{"16:9":"forja-video--16-9","4:3":"forja-video--4-3","1:1":"forja-video--1-1"}[this.aspectRatio]||"forja-video--16-9"}isSelfHosted(){return"self-hosted"===this.provider}render(){const e=["forja-video",this.getAspectClass()].join(" ");return a("section",{key:"8f7dd28af86bfa7a3a1418bef19e6f9658d49cc6",class:e,"aria-label":s(this.sectionTitle,"Video")},a("slot",{key:"7b34145bcee01a80095725a5adba5266dc1af703",name:"before"}),this.sectionTitle&&a("h2",{key:"4959dd55b6c5e146482c14057ebeffd39c45bedd",class:"forja-video__title"},this.sectionTitle),this.text&&a("div",{key:"42af3c36bad0c44ae1194f17217e969d46a01e8d",class:"forja-video__text",innerHTML:this.text}),this.videoUrl&&a("figure",{key:"da0c9136b339b00f4f699deb077daff0bcc48715",class:"forja-video__container"},this.isSelfHosted()?a("video",{class:"forja-video__player",src:this.videoUrl,controls:!0,autoplay:this.autoplay},a("track",{kind:"captions"})):a("iframe",{class:"forja-video__embed",src:this.autoplay?`${this.videoUrl}?autoplay=1`:this.videoUrl,title:this.sectionTitle||"Embedded video",allowFullScreen:!0,loading:"lazy"})),a("slot",{key:"9c6b4f1345c7470b773c265a9884b799218a6d5f",name:"after"}))}};export{t as forja_video}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,c as a,h as t}from"./p-CJAmAUMU.js";import{a as s,s as f}from"./p-CTbyYfdB.js";const r=class{constructor(t){e(this,t),this.forjaSubmit=a(this,"forjaSubmit"),this.buttonText="Subscribe",this.handleSubmit=e=>{e.preventDefault(),this.forjaSubmit.emit(new FormData(e.target))}}render(){const e=s(this.sectionTitle,"newsletter-email"),a=s(this.sectionTitle,"newsletter-name");return t("section",{key:"2b01646d3aa10d12c9568551edc2f8836a1e6199",class:"forja-newsletter","aria-label":f(this.sectionTitle,"Newsletter")},t("slot",{key:"020fd3a2e10a86f6bec4f9499e217818c534885f",name:"before"}),this.sectionTitle&&t("h2",{key:"e540517a30deb49e8d3b1271b8099fe2c5167f02",class:"forja-newsletter__title"},this.sectionTitle),this.text&&t("div",{key:"c31f0ad333733992f426ca1b564a609603ce7f43",class:"forja-newsletter__text",innerHTML:this.text}),t("form",{key:"08ba3a98b082670794797a08048ab1cc683aaef4",class:"forja-newsletter__form",action:this.formAction,method:this.formAction?"post":void 0,onSubmit:this.handleSubmit},this.showName&&t("div",{key:"9537213f04bdd4d2e2008a783bc70a7e7a268865",class:"forja-newsletter__field"},t("label",{key:"8feb551b009eb8f288cbcb54b18360c9fe09a694",class:"forja-newsletter__label",htmlFor:a},"Name"),t("input",{key:"b2df119a4d000e46a8e1cfb1ab2a2514be2f28a4",id:a,name:"name",type:"text",class:"forja-newsletter__input"})),t("div",{key:"7fff741fe589ee3bc7f5eb278f07dfb78a4363c1",class:"forja-newsletter__field"},t("label",{key:"2dda48f90d5303de371101b1da09e0402291a704",class:"forja-newsletter__label",htmlFor:e},"Email"),t("input",{key:"7c913bcd86483511926cd2c6df3b2d8fae202a3b",id:e,name:"email",type:"email",class:"forja-newsletter__input",required:!0,"aria-required":"true"})),t("button",{key:"374357cafdc13172944199b9537f32fa252fa274",type:"submit",class:"forja-newsletter__submit"},this.buttonText)),t("slot",{key:"253f3650ec3839083c2ef1a768c78627fef141b3",name:"after"}))}};export{r as forja_newsletter}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as a,c as t,h as c}from"./p-CJAmAUMU.js";import{a as e,s}from"./p-CTbyYfdB.js";const o=class{constructor(c){a(this,c),this.forjaSubmit=t(this,"forjaSubmit"),this.handleSubmit=a=>{a.preventDefault(),this.forjaSubmit.emit(new FormData(a.target))}}render(){const a=this.fields&&this.fields.length>0;return c("section",{key:"15bb71d6aa6d3d73c85ab4cdd7346696f3145074",class:"forja-contact","aria-label":s(this.sectionTitle,"Contact")},c("slot",{key:"63820a89dd1c9812dc0b931fd8ce7b17a7b1782e",name:"before"}),c("div",{key:"b74c9c884de525c6a08a92c982f0a1c8a2235c02",class:"forja-contact__content"},this.sectionTitle&&c("h2",{key:"53014e550127a34a191adcef4b8eaa3b01dfec7a",class:"forja-contact__title"},this.sectionTitle),this.text&&c("div",{key:"38d9ff63e255d33328da1113a3b7f2fe82871a23",class:"forja-contact__text",innerHTML:this.text}),this.buttonText&&this.buttonHref&&c("a",{key:"15ebb06b95b3cb6d58fb3d4caaa1e713126a201a",href:this.buttonHref,class:"forja-contact__cta"},this.buttonText)),a?c("form",{class:"forja-contact__form",action:this.formAction,method:this.formAction?"post":void 0,onSubmit:this.handleSubmit},this.fields.map((a=>{const t=e(a.name,"contact");return c("div",{class:"forja-contact__field"},c("label",{class:"forja-contact__label",htmlFor:t},a.label,a.required&&c("span",{"aria-hidden":"true"}," *")),"textarea"===a.type?c("textarea",{id:t,name:a.name,class:"forja-contact__input forja-contact__input--textarea",required:a.required,"aria-required":a.required?"true":void 0,placeholder:a.placeholder}):c("input",{id:t,name:a.name,type:a.type,class:"forja-contact__input",required:a.required,"aria-required":a.required?"true":void 0,placeholder:a.placeholder}))})),c("button",{type:"submit",class:"forja-contact__submit"},this.buttonText||"Send")):c("slot",null),c("slot",{key:"7ec1b5c2ee966906cbd6fa05a2c8a5a2ca13d7e2",name:"after"}))}};export{o as forja_contact}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,h as a}from"./p-CJAmAUMU.js";import{s as t}from"./p-CTbyYfdB.js";const e=class{constructor(a){s(this,a)}render(){const s=this.items&&this.items.length>0,e=["forja-stats",this.statsStyle&&`forja-stats--${this.statsStyle}`].filter(Boolean).join(" ");return a("section",{key:"3aa6f2f843bb0e295dcb84740af6c9fda39d8309",class:e,"aria-label":t(this.sectionTitle,"Statistics")},a("slot",{key:"9565f67c2e7192f8b965be5555eb7f43e271692c",name:"before"}),this.sectionTitle&&a("h2",{key:"cbf15bf5bc0e62702590a1725a6e188bea96639c",class:"forja-stats__title"},this.sectionTitle),this.text&&a("div",{key:"0beb283e6387a04c20a2ba853266b12769ac9725",class:"forja-stats__text",innerHTML:this.text}),s?a("dl",{class:"forja-stats__list","data-columns":this.columns},this.items.map((s=>a("div",{class:"forja-stats__item"},a("dd",{class:"forja-stats__value"},s.value),a("dt",{class:"forja-stats__label"},s.label))))):a("slot",null),a("slot",{key:"7a2ffd297dd37c72d0c16a42b268e8a6f607ad40",name:"after"}))}};export{e as forja_stats}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as i,h as a}from"./p-CJAmAUMU.js";import{s}from"./p-CTbyYfdB.js";const c=class{constructor(a){i(this,a)}render(){const i=this.tiers&&this.tiers.length>0;return a("section",{key:"bae1df3d72dc351c1e55506fdfaad535f45814f6",class:"forja-pricing","aria-label":s(this.sectionTitle,"Pricing")},a("slot",{key:"343e7d5490dfc07cc2024661d404b1c2a44c46a9",name:"before"}),(this.sectionTitle||this.text)&&a("div",{key:"e91c8e1945da57bc28bbc6ee09b72dca1dd03d22",class:"forja-pricing__header"},this.sectionTitle&&a("h2",{key:"81000892bb72e034613283df85928c1c667a4f95",class:"forja-pricing__title"},this.sectionTitle),this.text&&a("div",{key:"56363c268fb40a5512ab90005463bf43402e8c2f",class:"forja-pricing__text",innerHTML:this.text})),a("div",{class:"forja-pricing__tiers",role:"list","data-columns":this.columns},i?this.tiers.map((i=>a("div",{class:"forja-pricing__tier"+(i.highlighted?" forja-pricing__tier--highlighted":""),role:"listitem"},a("h3",{class:"forja-pricing__tier-name"},i.name),a("div",{class:"forja-pricing__price"},a("span",{class:"forja-pricing__amount"},i.price),i.period&&a("span",{class:"forja-pricing__period"},i.period)),i.description&&a("p",{class:"forja-pricing__description"},i.description),i.features&&i.features.length>0&&a("ul",{class:"forja-pricing__features"},i.features.map((i=>a("li",{class:"forja-pricing__feature"},i)))),i.buttonText&&i.buttonHref&&a("a",{href:i.buttonHref,class:"forja-pricing__cta"},i.buttonText)))):a("slot",null)),a("slot",{key:"d4ed110c1c8ab8a865ba7c1066caf5867c36494c",name:"after"}))}};export{c as forja_pricing}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as a,h as s}from"./p-CJAmAUMU.js";import{s as t}from"./p-CTbyYfdB.js";const e=class{constructor(s){a(this,s),this.showRole=!0,this.showBio=!0}render(){const a=this.members&&this.members.length>0;return s("section",{key:"b5d2dcb808386048367cfa97b31c6075732ba828",class:"forja-team","aria-label":t(this.sectionTitle,"Team")},s("slot",{key:"df3d484b90a7d755eda0a784f21edbd921e71401",name:"before"}),this.sectionTitle&&s("h2",{key:"2818b057df2f2c6319af8d17a43537714a62db34",class:"forja-team__title"},this.sectionTitle),this.text&&s("div",{key:"265903df6beaae84ff4d6cc1a9d11ae3f51f15d5",class:"forja-team__text",innerHTML:this.text}),a?s("ul",{class:"forja-team__grid",role:"list","data-columns":this.columns},this.members.map((a=>s("li",{class:"forja-team__member"},a.imageUrl&&s("figure",{class:"forja-team__photo"},s("img",{src:a.imageUrl,alt:a.name,class:"forja-team__image",loading:"lazy"})),s("h3",{class:"forja-team__name"},a.name),this.showRole&&a.role&&s("p",{class:"forja-team__role"},a.role),this.showBio&&a.bio&&s("p",{class:"forja-team__bio"},a.bio))))):s("slot",null),s("slot",{key:"81263f35ba229207c4978b65890c527590dfdae5",name:"after"}))}};export{e as forja_team}
|